Merge remote-tracking branch 'origin/wip-ungrafting' into HEAD
[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 ;;;
62 ;;; This file is part of GNU Guix.
63 ;;;
64 ;;; GNU Guix is free software; you can redistribute it and/or modify it
65 ;;; under the terms of the GNU General Public License as published by
66 ;;; the Free Software Foundation; either version 3 of the License, or (at
67 ;;; your option) any later version.
68 ;;;
69 ;;; GNU Guix is distributed in the hope that it will be useful, but
70 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
71 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
72 ;;; GNU General Public License for more details.
73 ;;;
74 ;;; You should have received a copy of the GNU General Public License
75 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
76
77 (define-module (gnu packages gnome)
78 #:use-module (gnu packages)
79 #:use-module (gnu packages admin)
80 #:use-module (gnu packages aidc)
81 #:use-module (gnu packages aspell)
82 #:use-module (gnu packages autotools)
83 #:use-module (gnu packages avahi)
84 #:use-module (gnu packages backup)
85 #:use-module (gnu packages base)
86 #:use-module (gnu packages bash)
87 #:use-module (gnu packages bison)
88 #:use-module (gnu packages boost)
89 #:use-module (gnu packages build-tools)
90 #:use-module (gnu packages calendar)
91 #:use-module (gnu packages cdrom)
92 #:use-module (gnu packages check)
93 #:use-module (gnu packages cmake)
94 #:use-module (gnu packages compression)
95 #:use-module (gnu packages crates-io)
96 #:use-module (gnu packages crates-graphics)
97 #:use-module (gnu packages crates-gtk)
98 #:use-module (gnu packages cups)
99 #:use-module (gnu packages curl)
100 #:use-module (gnu packages cyrus-sasl)
101 #:use-module (gnu packages databases)
102 #:use-module (gnu packages dbm)
103 #:use-module (gnu packages djvu)
104 #:use-module (gnu packages dns)
105 #:use-module (gnu packages docbook)
106 #:use-module (gnu packages documentation)
107 #:use-module (gnu packages enchant)
108 #:use-module (gnu packages flex)
109 #:use-module (gnu packages fonts)
110 #:use-module (gnu packages file-systems)
111 #:use-module (gnu packages fontutils)
112 #:use-module (gnu packages freedesktop)
113 #:use-module (gnu packages game-development)
114 #:use-module (gnu packages gcc)
115 #:use-module (gnu packages gettext)
116 #:use-module (gnu packages ghostscript)
117 #:use-module (gnu packages gimp)
118 #:use-module (gnu packages gl)
119 #:use-module (gnu packages glib)
120 #:use-module (gnu packages gnupg)
121 #:use-module (gnu packages gnuzilla)
122 #:use-module (gnu packages geo)
123 #:use-module (gnu packages gperf)
124 #:use-module (gnu packages graphviz)
125 #:use-module (gnu packages gstreamer)
126 #:use-module (gnu packages gtk)
127 #:use-module (gnu packages guile)
128 #:use-module (gnu packages ibus)
129 #:use-module (gnu packages icu4c)
130 #:use-module (gnu packages image)
131 #:use-module (gnu packages imagemagick)
132 #:use-module (gnu packages inkscape)
133 #:use-module (gnu packages iso-codes)
134 #:use-module (gnu packages kerberos)
135 #:use-module (gnu packages libcanberra)
136 #:use-module (gnu packages libffi)
137 #:use-module (gnu packages libunistring)
138 #:use-module (gnu packages libunwind)
139 #:use-module (gnu packages libusb)
140 #:use-module (gnu packages linux)
141 #:use-module (gnu packages lirc)
142 #:use-module (gnu packages lua)
143 #:use-module (gnu packages mail)
144 #:use-module (gnu packages mp3)
145 #:use-module (gnu packages multiprecision)
146 #:use-module (gnu packages music)
147 #:use-module (gnu packages ncurses)
148 #:use-module (gnu packages nettle)
149 #:use-module (gnu packages networking)
150 #:use-module (gnu packages ninja)
151 #:use-module (gnu packages node)
152 #:use-module (gnu packages nss)
153 #:use-module (gnu packages ocr)
154 #:use-module (gnu packages openldap)
155 #:use-module (gnu packages package-management)
156 #:use-module (gnu packages password-utils)
157 #:use-module (gnu packages pcre)
158 #:use-module (gnu packages pdf)
159 #:use-module (gnu packages perl)
160 #:use-module (gnu packages photo)
161 #:use-module (gnu packages php)
162 #:use-module (gnu packages pkg-config)
163 #:use-module (gnu packages polkit)
164 #:use-module (gnu packages popt)
165 #:use-module (gnu packages pretty-print)
166 #:use-module (gnu packages protobuf)
167 #:use-module (gnu packages pulseaudio)
168 #:use-module (gnu packages python)
169 #:use-module (gnu packages python-compression)
170 #:use-module (gnu packages python-crypto)
171 #:use-module (gnu packages python-web)
172 #:use-module (gnu packages python-xyz)
173 #:use-module (gnu packages rdesktop)
174 #:use-module (gnu packages rdf)
175 #:use-module (gnu packages readline)
176 #:use-module (gnu packages ruby)
177 #:use-module (gnu packages rust)
178 #:use-module (gnu packages samba)
179 #:use-module (gnu packages scanner)
180 #:use-module (gnu packages sdl)
181 #:use-module (gnu packages search)
182 #:use-module (gnu packages selinux)
183 #:use-module (gnu packages slang)
184 #:use-module (gnu packages speech)
185 #:use-module (gnu packages spice)
186 #:use-module (gnu packages sqlite)
187 #:use-module (gnu packages ssh)
188 #:use-module (gnu packages swig)
189 #:use-module (gnu packages tex)
190 #:use-module (gnu packages time)
191 #:use-module (gnu packages tls)
192 #:use-module (gnu packages valgrind)
193 #:use-module (gnu packages version-control)
194 #:use-module (gnu packages video)
195 #:use-module (gnu packages virtualization)
196 #:use-module (gnu packages vpn)
197 #:use-module (gnu packages web)
198 #:use-module (gnu packages webkit)
199 #:use-module (gnu packages xdisorg)
200 #:use-module (gnu packages xiph)
201 #:use-module (gnu packages xml)
202 #:use-module (gnu packages xorg)
203 #:use-module (gnu artwork)
204 #:use-module (guix build-system cargo)
205 #:use-module (guix build-system cmake)
206 #:use-module (guix build-system glib-or-gtk)
207 #:use-module (guix build-system gnu)
208 #:use-module (guix build-system meson)
209 #:use-module (guix build-system python)
210 #:use-module (guix build-system trivial)
211 #:use-module (guix download)
212 #:use-module (guix git-download)
213 #:use-module ((guix licenses) #:prefix license:)
214 #:use-module (guix packages)
215 #:use-module (guix utils)
216 #:use-module (guix gexp)
217 #:use-module (ice-9 match)
218 #:use-module (srfi srfi-1))
219
220 (define-public gupnp-igd
221 (package
222 (name "gupnp-igd")
223 (version "1.2.0")
224 (source
225 (origin
226 (method url-fetch)
227 (uri
228 (string-append "mirror://gnome/sources/" name "/"
229 (version-major+minor version) "/"
230 name "-" version ".tar.xz"))
231 (sha256
232 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
233 (build-system meson-build-system)
234 (outputs '("out" "doc"))
235 (arguments
236 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
237 #:configure-flags (list "-Dgtk_doc=true")
238 #:phases
239 (modify-phases %standard-phases
240 (add-after 'unpack 'patch-docbook-xml
241 (lambda* (#:key inputs #:allow-other-keys)
242 (with-directory-excursion "doc"
243 (substitute* "gupnp-igd-docs.xml"
244 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
245 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
246 "/xml/dtd/docbook/"))))
247 #t))
248 (add-after 'install 'move-doc
249 (lambda* (#:key outputs #:allow-other-keys)
250 (let* ((out (assoc-ref outputs "out"))
251 (doc (assoc-ref outputs "doc")))
252 (mkdir-p (string-append doc "/share"))
253 (rename-file
254 (string-append out "/share/gtk-doc")
255 (string-append doc "/share/gtk-doc"))
256 #t))))))
257 (native-inputs
258 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
259 ("docbook-xsl" ,docbook-xsl)
260 ("glib:bin" ,glib "bin")
261 ("gobject-introspection" ,gobject-introspection)
262 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
263 ("gtk-doc" ,gtk-doc/stable)
264 ("pkg-config" ,pkg-config)))
265 (propagated-inputs
266 `(("glib" ,glib)
267 ("glib-networking" ,glib-networking)
268 ("gssdp" ,gssdp)
269 ("gupnp" ,gupnp)
270 ("libsoup" ,libsoup)))
271 (synopsis "UPnP IGD for GNOME")
272 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
273 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
274 (license license:lgpl2.1+)))
275
276 (define-public brasero
277 (package
278 (name "brasero")
279 (version "3.12.2")
280 (source (origin
281 (method url-fetch)
282 (uri (string-append "mirror://gnome/sources/brasero/"
283 (version-major+minor version) "/"
284 "brasero-" version ".tar.xz"))
285 (sha256
286 (base32
287 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
288 (build-system glib-or-gtk-build-system)
289 (arguments
290 `(#:configure-flags (list
291 (string-append "--with-girdir="
292 (assoc-ref %outputs "out")
293 "/share/gir-1.0")
294 (string-append "--with-typelibdir="
295 (assoc-ref %outputs "out")
296 "/lib/girepository-1.0"))
297 #:phases
298 (modify-phases %standard-phases
299 (add-before 'configure 'embed-growisofs
300 (lambda* (#:key inputs #:allow-other-keys)
301 (substitute* "plugins/growisofs/burn-growisofs.c"
302 (("\"growisofs") (string-append "\"" (which "growisofs"))))
303 #t)))))
304 (propagated-inputs
305 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
306 (native-inputs
307 `(("intltool" ,intltool)
308 ("itstool" ,itstool)
309 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
310 ("gobject-introspection" ,gobject-introspection)
311 ("pkg-config" ,pkg-config)))
312 (inputs
313 `(("dvd+rw-tools" ,dvd+rw-tools)
314 ("glib" ,glib)
315 ("gnome-doc-utils" ,gnome-doc-utils)
316 ("gstreamer" ,gstreamer)
317 ("gst-plugins-base" ,gst-plugins-base)
318 ("gtk+" ,gtk+)
319 ("libcanberra" ,libcanberra)
320 ("libice" ,libice)
321 ("libnotify" ,libnotify)
322 ("libsm" ,libsm)
323 ("libxml2" ,libxml2)
324 ("totem-pl-parser" ,totem-pl-parser)))
325 (home-page "https://wiki.gnome.org/Apps/Brasero")
326 (synopsis "CD/DVD burning tool for Gnome")
327 (description "Brasero is an application to burn CD/DVD for the Gnome
328 Desktop. It is designed to be as simple as possible and has some unique
329 features to enable users to create their discs easily and quickly.")
330 (license license:gpl2+)))
331
332 (define-public libcloudproviders
333 (package
334 (name "libcloudproviders")
335 (version "0.3.1")
336 (source
337 (origin
338 (method url-fetch)
339 (uri
340 (string-append "mirror://gnome/sources/" name "/"
341 (version-major+minor version) "/"
342 name "-" version ".tar.xz"))
343 (sha256
344 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
345 (build-system meson-build-system)
346 (outputs '("out" "doc"))
347 (arguments
348 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
349 #:configure-flags
350 (list
351 "-Denable-gtk-doc=true")
352 #:phases
353 (modify-phases %standard-phases
354 (add-after 'install 'move-doc
355 (lambda* (#:key outputs #:allow-other-keys)
356 (let* ((out (assoc-ref outputs "out"))
357 (doc (assoc-ref outputs "doc")))
358 (mkdir-p (string-append doc "/share"))
359 (rename-file
360 (string-append out "/share/gtk-doc")
361 (string-append doc "/share/gtk-doc"))
362 #t))))))
363 (native-inputs
364 `(("glib:bin" ,glib "bin")
365 ("gobject-introspection" ,gobject-introspection)
366 ("gtk-doc" ,gtk-doc/stable)
367 ("pkg-config" ,pkg-config)
368 ("vala" ,vala)))
369 (inputs
370 `(("glib" ,glib)
371 ("glib-networking" ,glib-networking)))
372 (synopsis "Cloudproviders Integration API")
373 (description "Libcloudproviders is a DBus API that allows cloud storage sync
374 clients to expose their services. Clients such as file managers and desktop
375 environments can then provide integrated access to the cloud providers
376 services.")
377 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
378 (license license:lgpl3+)))
379
380 (define-public libgrss
381 (package
382 (name "libgrss")
383 (version "0.7.0")
384 (source
385 (origin
386 (method url-fetch)
387 (uri
388 (string-append "mirror://gnome/sources/" name "/"
389 (version-major+minor version) "/"
390 name "-" version ".tar.xz"))
391 (sha256
392 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
393 (build-system glib-or-gtk-build-system)
394 (outputs '("out" "doc"))
395 (arguments
396 `(#:configure-flags
397 (list
398 "--enable-gtk-doc"
399 (string-append "--with-html-dir="
400 (assoc-ref %outputs "doc")
401 "/share/gtk-doc/html"))
402 #:phases
403 (modify-phases %standard-phases
404 (add-after 'unpack 'patch-docbook-xml
405 (lambda* (#:key inputs #:allow-other-keys)
406 (with-directory-excursion "doc/reference"
407 (substitute* "libgrss-docs.sgml"
408 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
409 (string-append (assoc-ref inputs "docbook-xml")
410 "/xml/dtd/docbook/"))))
411 #t)))))
412 (native-inputs
413 `(("docbook-xml" ,docbook-xml-4.1.2)
414 ("gobject-introspection" ,gobject-introspection)
415 ("gtk-doc" ,gtk-doc/stable)
416 ("pkg-config" ,pkg-config)))
417 (propagated-inputs
418 `(("glib" ,glib)
419 ("libsoup" ,libsoup)
420 ("libxml2" ,libxml2)))
421 (synopsis "Glib library for feeds")
422 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
423 and other formats.")
424 (home-page "https://wiki.gnome.org/Projects/Libgrss")
425 (license license:lgpl3+)))
426
427 (define-public gnome-js-common
428 (package
429 (name "gnome-js-common")
430 (version "0.1.2")
431 (source
432 (origin
433 (method url-fetch)
434 (uri
435 (string-append "mirror://gnome/sources/" name "/"
436 (version-major+minor version) "/"
437 name "-" version ".tar.gz"))
438 (sha256
439 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
440 (build-system glib-or-gtk-build-system)
441 (arguments
442 `(#:configure-flags
443 (list
444 "--disable-static")))
445 (native-inputs
446 `(("gettext" ,gettext-minimal)
447 ("intltool" ,intltool)
448 ("pkg-config" ,pkg-config)))
449 (synopsis "Common JS Modules")
450 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
451 bindings.")
452 (home-page "https://wiki.gnome.org/Projects/Seed")
453 (license license:gpl3+)))
454
455 (define-public seed
456 (package
457 (name "seed")
458 (version "3.8.1")
459 (source
460 (origin
461 (method url-fetch)
462 (uri
463 (string-append "mirror://gnome/sources/" name "/"
464 (version-major+minor version) "/"
465 name "-" version ".tar.xz"))
466 (sha256
467 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
468 (patches
469 (search-patches "seed-webkit.patch"))))
470 (build-system glib-or-gtk-build-system)
471 (outputs '("out" "doc"))
472 (arguments
473 `(#:configure-flags
474 (list
475 "--disable-static"
476 "--enable-xorg-module"
477 (string-append "--with-html-dir="
478 (assoc-ref %outputs "doc")
479 "/share/gtk-doc/html")
480 "--with-webkit=4.0")
481 #:phases
482 (modify-phases %standard-phases
483 ;; The seed-webkit.patch patches configure.ac.
484 ;; So the source files need to be re-bootstrapped.
485 (add-after 'unpack 'trigger-bootstrap
486 (lambda _
487 (for-each delete-file
488 (list
489 "configure"
490 "Makefile.in"))
491 #t))
492 (add-after 'unpack 'patch-tests
493 (lambda* (#:key outputs #:allow-other-keys)
494 (substitute* (find-files "." "\\.js$")
495 (("#!/usr/bin/env seed")
496 (string-append "#!" (getcwd) "/src/seed")))
497 #t))
498 (add-before 'build 'patch-docbook-xml
499 (lambda* (#:key inputs #:allow-other-keys)
500 (with-directory-excursion "doc"
501 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
502 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
503 (string-append (assoc-ref inputs "docbook-xml")
504 "/xml/dtd/docbook/"))))
505 #t)))))
506 (native-inputs
507 `(("autoconf" ,autoconf)
508 ("automake" ,automake)
509 ("docbook-xml" ,docbook-xml-4.1.2)
510 ("gettext" ,gettext-minimal)
511 ("gobject-introspection" ,gobject-introspection)
512 ("gtk-doc" ,gtk-doc/stable)
513 ("intltool" ,intltool)
514 ("libtool" ,libtool)
515 ("pkg-config" ,pkg-config)))
516 (inputs
517 `(("cairo" ,cairo)
518 ("dbus" ,dbus)
519 ("dbus-glib" ,dbus-glib)
520 ("gnome-js-common" ,gnome-js-common)
521 ("gtk+" ,gtk+)
522 ("gtk+-2" ,gtk+-2)
523 ("libffi" ,libffi)
524 ("libxml2" ,libxml2)
525 ("mpfr" ,mpfr)
526 ("readline" ,readline)
527 ("sqlite" ,sqlite)
528 ("xscrnsaver" ,libxscrnsaver)))
529 (propagated-inputs
530 `(("glib" ,glib)
531 ("webkit" ,webkitgtk)))
532 (synopsis "GObject JavaScriptCore bridge")
533 (description "Seed is a library and interpreter, dynamically bridging
534 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
535 GNOME platform. It serves as something which enables you to write standalone
536 applications in JavaScript, or easily enable your application to be extensible
537 in JavaScript.")
538 (home-page "https://wiki.gnome.org/Projects/Seed")
539 (license license:lgpl2.0+)))
540
541 (define-public libdmapsharing
542 (package
543 (name "libdmapsharing")
544 (version "3.9.10")
545 (source
546 (origin
547 (method url-fetch)
548 (uri
549 (string-append "https://www.flyn.org/projects/"
550 name "/" name "-" version ".tar.gz"))
551 (sha256
552 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
553 (build-system glib-or-gtk-build-system)
554 (outputs '("out" "doc"))
555 (arguments
556 `(#:tests? #f ; Tests require networking.
557 #:configure-flags
558 (list
559 "--disable-static"
560 (string-append "--with-html-dir="
561 (assoc-ref %outputs "doc")
562 "/share/gtk-doc/html"))
563 #:phases
564 (modify-phases %standard-phases
565 (add-after 'unpack 'patch-docbook-xml
566 (lambda* (#:key inputs #:allow-other-keys)
567 (with-directory-excursion "doc"
568 (substitute* "libdmapsharing-4.0-docs.xml"
569 (("http://www.oasis-open.org/docbook/xml/4.3/")
570 (string-append (assoc-ref inputs "docbook-xml")
571 "/xml/dtd/docbook/"))))
572 #t)))))
573 (native-inputs
574 `(("check" ,check)
575 ("docbook-xml" ,docbook-xml-4.3)
576 ("gobject-introspection" ,gobject-introspection)
577 ("pedansee" ,pedansee)
578 ("pkg-config" ,pkg-config)
579 ("vala" ,vala)))
580 (inputs
581 `(("avahi" ,avahi)
582 ("gdk-pixbuf" ,gdk-pixbuf+svg)
583 ("gee" ,libgee)
584 ("gst-plugins-base" ,gst-plugins-base)
585 ("gtk+" ,gtk+)))
586 (propagated-inputs
587 `(("glib" ,glib)
588 ("glib-networking" ,glib-networking)
589 ("gstreamer" ,gstreamer)
590 ("libsoup" ,libsoup)))
591 (synopsis "Media management library")
592 (description "Libdmapsharing is a library which allows programs to access,
593 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
594 It is written in C using GObject and libsoup.")
595 (home-page "https://launchpad.net/gtx")
596 (license license:lgpl2.1+)))
597
598 (define-public gtx
599 (package
600 (name "gtx")
601 (version "0.2.2")
602 (source
603 (origin
604 (method url-fetch)
605 (uri
606 (string-append "https://launchpad.net/gtx/trunk/"
607 version "/+download/gtx-" version ".tar.gz"))
608 (sha256
609 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
610 (build-system glib-or-gtk-build-system)
611 (outputs '("out" "doc"))
612 (arguments
613 `(#:configure-flags
614 (list
615 "--disable-static"
616 "--enable-gtk-doc"
617 (string-append "--with-html-dir="
618 (assoc-ref %outputs "doc")
619 "/share/gtk-doc/html"))))
620 (native-inputs
621 `(("gobject-introspection" ,gobject-introspection)
622 ("gtk-doc" ,gtk-doc/stable)
623 ("pkg-config" ,pkg-config)))
624 (propagated-inputs
625 `(("glib" ,glib)))
626 (synopsis "GLib Testing Framework")
627 (description "GTX is a small collection of convenience functions intended to
628 enhance the GLib testing framework. With specific emphasis on easing the pain
629 of writing test cases for asynchronous interactions.")
630 (home-page "https://launchpad.net/gtx")
631 (license license:lgpl2.1+)))
632
633 (define-public dee
634 (package
635 (name "dee")
636 (version "1.2.7")
637 (source
638 (origin
639 (method url-fetch)
640 (uri
641 (string-append "https://launchpad.net/dee/1.0/"
642 version "/+download/dee-" version ".tar.gz"))
643 (sha256
644 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
645 (patches
646 (search-patches "dee-vapi.patch"))))
647 (build-system glib-or-gtk-build-system)
648 (outputs '("out" "doc"))
649 (arguments
650 `(#:configure-flags
651 (list
652 "--disable-maintainer-flags"
653 (string-append "--with-pygi-overrides-dir="
654 (assoc-ref %outputs "out")
655 "/lib/python"
656 ,(version-major+minor
657 (package-version python))
658 "/site-packages/gi/overrides")
659 (string-append "--with-html-dir="
660 (assoc-ref %outputs "doc")
661 "/share/gtk-doc/html"))
662 #:phases
663 (modify-phases %standard-phases
664 (add-after 'unpack 'patch-docbook-xml
665 (lambda* (#:key inputs #:allow-other-keys)
666 (with-directory-excursion "doc/reference/dee-1.0"
667 (substitute* "dee-1.0-docs.sgml"
668 (("http://www.oasis-open.org/docbook/xml/4.3/")
669 (string-append (assoc-ref inputs "docbook-xml")
670 "/xml/dtd/docbook/"))))
671 #t))
672 (add-after 'patch-docbook-xml 'disable-failing-tests
673 (lambda _
674 (substitute* "tests/test-icu.c"
675 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
676 "")
677 (("setup, test_ascii_folder, teardown\\);")
678 ""))
679 #t))
680 (add-before 'check 'pre-check
681 (lambda _
682 ;; Tests require a running dbus-daemon.
683 (system "dbus-daemon &")
684 ;; For missing '/etc/machine-id'.
685 (setenv "DBUS_FATAL_WARNINGS" "0")
686 #t)))))
687 (native-inputs
688 `(("dbus" ,dbus)
689 ("dbus-test-runner" ,dbus-test-runner)
690 ("docbook-xml" ,docbook-xml-4.3)
691 ("gobject-introspection" ,gobject-introspection)
692 ("gtk-doc" ,gtk-doc/stable)
693 ;; Would only be required by configure flag "--enable-extended-tests".
694 ;("gtx" ,gtx)
695 ("pkg-config" ,pkg-config)
696 ("pygobject" ,python-pygobject)
697 ("python" ,python-wrapper)
698 ("vala" ,vala)))
699 (inputs
700 `(("icu" ,icu4c)))
701 (propagated-inputs
702 `(("glib" ,glib)))
703 (synopsis "Model to synchronize multiple instances over DBus")
704 (description "Dee is a library that uses DBus to provide objects allowing
705 you to create Model-View-Controller type programs across DBus. It also consists
706 of utility objects which extend DBus allowing for peer-to-peer discoverability
707 of known objects without needing a central registrar.")
708 (home-page "https://launchpad.net/dee")
709 (license
710 ;; Dual-licensed
711 (list
712 license:lgpl3+
713 license:gpl3+))))
714
715 (define-public zeitgeist
716 (package
717 (name "zeitgeist")
718 (version "1.0.3")
719 (source
720 (origin
721 (method git-fetch)
722 (uri
723 (git-reference
724 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
725 (commit
726 (string-append "v" version))))
727 (file-name
728 (git-file-name name version))
729 (sha256
730 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
731 (build-system glib-or-gtk-build-system)
732 (arguments
733 `(#:configure-flags
734 (list
735 "--enable-explain-queries"
736 "--enable-fts"
737 "--enable-docs")
738 #:phases
739 (modify-phases %standard-phases
740 (add-after 'unpack 'patch-docbook-xml
741 (lambda* (#:key inputs #:allow-other-keys)
742 (with-directory-excursion "doc/libzeitgeist"
743 (substitute* "zeitgeist-gtkdoc-index.sgml"
744 (("http://www.oasis-open.org/docbook/xml/4.3/")
745 (string-append (assoc-ref inputs "docbook-xml")
746 "/xml/dtd/docbook/"))))
747 #t))
748 (add-after 'patch-docbook-xml 'disable-failing-tests
749 (lambda _
750 (substitute* "test/direct/Makefile.am"
751 ((" log-test ")
752 ""))
753 (substitute* "test/c/Makefile.am"
754 ((" test-log ")
755 ""))
756 #t))
757 (add-before 'bootstrap 'remove-autogen-script
758 (lambda _
759 ;; To honor `autoreconf -vif` by build-system.
760 (delete-file "autogen.sh")
761 #t)))))
762 (native-inputs
763 `(("autoconf" ,autoconf)
764 ("automake" ,automake)
765 ("docbook-xml" ,docbook-xml-4.3)
766 ("gettext" ,gettext-minimal)
767 ("gobject-introspection" ,gobject-introspection)
768 ("gtk-doc" ,gtk-doc/stable)
769 ("libtool" ,libtool)
770 ("pkg-config" ,pkg-config)
771 ("vala" ,vala)
772 ("xorg-server-for-tests" ,xorg-server-for-tests)))
773 (inputs
774 `(("dee-icu" ,dee)
775 ("gtk+" ,gtk+)
776 ("json-glib" ,json-glib)
777 ("sqlite" ,sqlite)
778 ("telepathy-glib" ,telepathy-glib)
779 ("python" ,python-wrapper)
780 ("python-rdflib" ,python-rdflib)
781 ("xapian-config" ,xapian)))
782 (propagated-inputs
783 `(("glib" ,glib)))
784 (synopsis "Desktop Activity Logging")
785 (description "Zeitgeist is a service which logs the users’s activities and
786 events, anywhere from files opened to websites visited and conversations. It
787 makes this information readily available for other applications to use. It is
788 able to establish relationships between items based on similarity and usage
789 patterns.")
790 (home-page "https://zeitgeist.freedesktop.org/")
791 (license
792 ;; Dual-licensed
793 (list
794 license:lgpl2.1+
795 license:gpl2+))))
796
797 (define-public gnome-recipes
798 (package
799 (name "gnome-recipes")
800 (version "2.0.4")
801 (source (origin
802 (method git-fetch)
803 (uri (git-reference
804 (url "https://gitlab.gnome.org/GNOME/recipes")
805 (commit version)))
806 (file-name (git-file-name name version))
807 (sha256
808 (base32
809 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
810 (build-system meson-build-system)
811 (arguments
812 `(#:glib-or-gtk? #t
813 #:phases
814 (modify-phases %standard-phases
815 (add-after 'unpack 'skip-gtk-update-icon-cache
816 (lambda _
817 (substitute* "meson_post_install.py"
818 (("gtk-update-icon-cache") (which "true")))
819 #t))
820 (add-after 'unpack 'unpack-libgd
821 (lambda* (#:key inputs #:allow-other-keys)
822 (let ((libgd (assoc-ref inputs "libgd")))
823 (copy-recursively libgd "subprojects/libgd")
824 #t))))))
825 (inputs
826 `(("glib" ,glib)
827 ("gnome-autoar" ,gnome-autoar)
828 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
829 ("gspell" ,gspell)
830 ("gtk+" ,gtk+)
831 ("json-glib" ,json-glib)
832 ("libcanberra" ,libcanberra)
833 ("libsoup" ,libsoup)
834 ("rest" ,rest)))
835 (native-inputs
836 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
837 ("gettext" ,gettext-minimal)
838 ("glib:bin" ,glib "bin")
839 ("itstool" ,itstool)
840 ("libgd"
841 ,(origin
842 (method git-fetch)
843 (uri (git-reference
844 (url "https://gitlab.gnome.org/GNOME/libgd")
845 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
846 (file-name (git-file-name "libgd" version))
847 (sha256
848 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
849 ("pkg-config" ,pkg-config)))
850 (home-page "https://wiki.gnome.org/Apps/Recipes")
851 (synopsis "Discover recipes for preparing food")
852 (description "GNOME Recipes helps you discover what to cook today,
853 tomorrow, the rest of the week and for special occasions.")
854 (license license:gpl3+)))
855
856 (define-public gnome-photos
857 (package
858 (name "gnome-photos")
859 (version "3.34.2")
860 (source
861 (origin
862 (method url-fetch)
863 (uri
864 (string-append "mirror://gnome/sources/" name "/"
865 (version-major+minor version) "/"
866 name "-" version ".tar.xz"))
867 (sha256
868 (base32
869 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
870 (build-system meson-build-system)
871 (arguments
872 `(#:glib-or-gtk? #t
873 #:configure-flags
874 (list "-Ddogtail=false" ; Not available
875 ;; Required for RUNPATH validation.
876 (string-append "-Dc_link_args=-Wl,-rpath="
877 (assoc-ref %outputs "out") "/lib/gnome-photos"))
878 #:phases
879 (modify-phases %standard-phases
880 (add-after 'install 'wrap-gnome-photos
881 (lambda* (#:key inputs outputs #:allow-other-keys)
882 (let*
883 ((out (assoc-ref outputs "out")))
884 (wrap-program (string-append out "/bin/gnome-photos")
885 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
886 #t)))))
887 (native-inputs
888 `(("dbus" ,dbus)
889 ("desktop-file-utils" ,desktop-file-utils)
890 ("gettext" ,gettext-minimal)
891 ("git" ,git-minimal)
892 ("glib:bin" ,glib "bin")
893 ("gobject-introspection" ,gobject-introspection)
894 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
895 ("gtk+:bin" ,gtk+ "bin")
896 ("itstool" ,itstool)
897 ("pkg-config" ,pkg-config)))
898 (inputs
899 `(("babl" ,babl)
900 ("cairo" ,cairo)
901 ("gdk-pixbuf" ,gdk-pixbuf+svg)
902 ("gegl" ,gegl)
903 ("geocode-glib" ,geocode-glib)
904 ("gexiv2" ,gexiv2)
905 ("gnome-online-accounts" ,gnome-online-accounts)
906 ("gnome-online-miners" ,gnome-online-miners)
907 ("grilo" ,grilo)
908 ("grilo-plugins" ,grilo-plugins)
909 ("gtk+" ,gtk+)
910 ("libdazzle" ,libdazzle)
911 ("libgdata" ,libgdata)
912 ("libgfbgraph" ,gfbgraph)
913 ("libjpeg" ,libjpeg-turbo)
914 ("libpng" ,libpng)
915 ("librest" ,rest)
916 ("pygobject" ,python-pygobject)
917 ("tracker" ,tracker)
918 ("tracker-miners" ,tracker-miners)))
919 (synopsis "Access, organize and share your photos on GNOME desktop")
920 (description "GNOME Photos is a simple and elegant replacement for using a
921 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
922 cloud integration is offered through GNOME Online Accounts.")
923 (home-page "https://wiki.gnome.org/Apps/Photos")
924 (license license:gpl3+)))
925
926 (define-public gnome-music
927 (package
928 (name "gnome-music")
929 (version "3.34.5")
930 (source
931 (origin
932 (method url-fetch)
933 (uri
934 (string-append "mirror://gnome/sources/" name "/"
935 (version-major+minor version) "/"
936 name "-" version ".tar.xz"))
937 (sha256
938 (base32
939 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
940 (build-system meson-build-system)
941 (arguments
942 `(#:glib-or-gtk? #t
943 #:phases
944 (modify-phases %standard-phases
945 (add-after 'install 'wrap-gnome-music
946 (lambda* (#:key inputs outputs #:allow-other-keys)
947 (let*
948 ((out (assoc-ref outputs "out"))
949 (pylib (string-append out "/lib/python"
950 ,(version-major+minor
951 (package-version python))
952 "/site-packages")))
953 (wrap-program (string-append out "/bin/gnome-music")
954 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
955 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
956 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
957 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
958 #t)))))
959 (native-inputs
960 `(("desktop-file-utils" ,desktop-file-utils)
961 ("gettext" ,gettext-minimal)
962 ("glib:bin" ,glib "bin")
963 ("gobject-introspection" ,gobject-introspection)
964 ("gtk+:bin" ,gtk+ "bin")
965 ("itstools" ,itstool)
966 ("pkg-config" ,pkg-config)))
967 (inputs
968 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
969 ("grilo" ,grilo)
970 ("grilo-plugins" ,grilo-plugins)
971 ("gst-plugins-base" ,gst-plugins-base)
972 ("gstreamer" ,gstreamer)
973 ("gvfs" ,gvfs)
974 ("libdazzle" ,libdazzle)
975 ("libmediaart" ,libmediaart)
976 ("libsoup" ,libsoup)
977 ("pycairo" ,python-pycairo)
978 ("pygobject" ,python-pygobject)
979 ("tracker" ,tracker)
980 ("tracker-miners" ,tracker-miners)))
981 (synopsis "Simple music player for GNOME desktop")
982 (description "GNOME Music is the new GNOME music playing application that
983 aims to combine an elegant and immersive browsing experience with simple
984 and straightforward controls.")
985 (home-page "https://wiki.gnome.org/Apps/Music")
986 (license license:gpl2+)))
987
988 (define-public portablexdr
989 (package
990 (name "portablexdr")
991 (version "4.9.1")
992 (source
993 (origin
994 (method url-fetch)
995 (uri
996 (string-append "https://people.redhat.com/~rjones/" name "/files/"
997 name "-" version ".tar.gz"))
998 (sha256
999 (base32
1000 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1001 (build-system gnu-build-system)
1002 (synopsis "External Data Representation Library")
1003 (description "PortableXDR is an implementation of External Data
1004 Representation (XDR) Library. It is a standard data serialization format, for
1005 uses such as computer network protocols. It allows data to be transferred
1006 between different kinds of computer systems.")
1007 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1008 (license
1009 (list
1010 license:gpl2+
1011 license:lgpl2.1+))))
1012
1013 (define-public tepl
1014 (package
1015 (name "tepl")
1016 (version "4.4.0")
1017 (source
1018 (origin
1019 (method url-fetch)
1020 (uri
1021 (string-append "mirror://gnome/sources/" name "/"
1022 (version-major+minor version) "/"
1023 name "-" version ".tar.xz"))
1024 (sha256
1025 (base32
1026 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
1027 (build-system glib-or-gtk-build-system)
1028 (arguments
1029 `(#:tests? #f)) ; FIX-ME: Requires gvfs
1030 (native-inputs
1031 `(("gobject-introspection" ,gobject-introspection)
1032 ("pkg-config" ,pkg-config)))
1033 (inputs
1034 `(("amtk" ,amtk)
1035 ("glib" ,glib)
1036 ("gtk+" ,gtk+)
1037 ("gtksourceview" ,gtksourceview)
1038 ("libxml2" ,libxml2)
1039 ("uchardet" ,uchardet)))
1040 (synopsis "Text editor product line")
1041 (description "Tepl is a library that eases the development of
1042 GtkSourceView-based text editors and IDEs.")
1043 (home-page "https://wiki.gnome.org/Projects/Tepl")
1044 (license license:lgpl2.1+)))
1045
1046 (define-public krb5-auth-dialog
1047 (package
1048 (name "krb5-auth-dialog")
1049 (version "3.26.1")
1050 (source
1051 (origin
1052 (method url-fetch)
1053 (uri
1054 (string-append "mirror://gnome/sources/" name "/"
1055 (version-major+minor version) "/"
1056 name "-" version ".tar.xz"))
1057 (sha256
1058 (base32
1059 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1060 (build-system glib-or-gtk-build-system)
1061 (native-inputs
1062 `(("intltool" ,intltool)
1063 ("itstool" ,itstool)
1064 ("libxml2" ,libxml2)
1065 ("pkg-config" ,pkg-config)
1066 ("python-wrapper" ,python-wrapper)))
1067 (inputs
1068 `(("glib" ,glib)
1069 ("gtk+" ,gtk+)
1070 ("libnotify" ,libnotify)
1071 ("mit-krb5" ,mit-krb5)
1072 ("network-manager" ,network-manager)))
1073 (synopsis "Popup dialogs for Kerberos 5")
1074 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1075 tickets, and pops up a dialog when they are about to expire.")
1076 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1077 (license license:gpl2+)))
1078
1079 (define-public notification-daemon
1080 (package
1081 (name "notification-daemon")
1082 (version "3.20.0")
1083 (source
1084 (origin
1085 (method url-fetch)
1086 (uri
1087 (string-append "mirror://gnome/sources/" name "/"
1088 (version-major+minor version) "/"
1089 name "-" version ".tar.xz"))
1090 (sha256
1091 (base32
1092 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1093 (build-system glib-or-gtk-build-system)
1094 (native-inputs
1095 `(("intltool" ,intltool)
1096 ("pkg-config" ,pkg-config)))
1097 (inputs
1098 `(("glib" ,glib)
1099 ("gtk+" ,gtk+)
1100 ("x11" ,libx11)))
1101 (synopsis "Notification Daemon for GNOME Desktop")
1102 (description "Notification-Daemon is the server implementation of the
1103 freedesktop.org desktop notification specification.")
1104 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1105 (license license:gpl2+)))
1106
1107 (define-public mm-common
1108 (package
1109 (name "mm-common")
1110 (version "1.0.2")
1111 (source (origin
1112 (method url-fetch)
1113 (uri (string-append "mirror://gnome/sources/mm-common/"
1114 (version-major+minor version) "/"
1115 "mm-common-" version ".tar.xz"))
1116 (sha256
1117 (base32
1118 "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2"))))
1119 (build-system meson-build-system)
1120 (arguments
1121 `(#:phases
1122 (modify-phases %standard-phases
1123 (add-after 'unpack 'patch
1124 (lambda* (#:key inputs #:allow-other-keys)
1125 (substitute* "util/mm-common-prepare.in"
1126 (("ln") (string-append (assoc-ref inputs "coreutils")
1127 "/bin/ln"))
1128 (("cp") (string-append (assoc-ref inputs "coreutils")
1129 "/bin/cp"))
1130 (("sed") (string-append (assoc-ref inputs "sed")
1131 "/bin/sed"))
1132 (("cat") (string-append (assoc-ref inputs "coreutils")
1133 "/bin/cat")))
1134 #t)))))
1135 (native-inputs
1136 `(("coreutils" ,coreutils)
1137 ("gettext" ,gettext-minimal)
1138 ("pkg-config" ,pkg-config)
1139 ("sed" ,sed)))
1140 (inputs
1141 `(("python" ,python)))
1142 (synopsis "Module of GNOME C++ bindings")
1143 (description "The mm-common module provides the build infrastructure
1144 and utilities shared among the GNOME C++ binding libraries. Release
1145 archives of mm-common include the Doxygen tag file for the GNU C++
1146 Library reference documentation.")
1147 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1148 (license license:gpl2+)))
1149
1150 (define-public phodav
1151 (package
1152 (name "phodav")
1153 (version "2.5")
1154 (source (origin
1155 (method url-fetch)
1156 (uri (string-append "mirror://gnome/sources/" name "/"
1157 (version-major+minor version) "/"
1158 name "-" version ".tar.xz"))
1159 (sha256
1160 (base32
1161 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1162 (build-system meson-build-system)
1163 (arguments
1164 `(#:phases
1165 (modify-phases %standard-phases
1166 (add-before 'check 'start-virtual-dir-server
1167 ;; The same server when started by tests/virtual-dir returns an
1168 ;; unexpected status (4 instead of 200) and fails a test. It is
1169 ;; unclear why starting it manually here makes it pass.
1170 (lambda _
1171 (system "tests/virtual-dir-server &")
1172 #t)))))
1173 (native-inputs
1174 `(("docbook-xml" ,docbook-xml-4.3)
1175 ("gettext" ,gettext-minimal)
1176 ("glib:bin" ,glib "bin")
1177 ("gtk-doc" ,gtk-doc/stable)
1178 ("pkg-config" ,pkg-config)))
1179 (inputs
1180 `(("avahi" ,avahi)
1181 ("libgudev" ,libgudev)
1182 ("libsoup" ,libsoup)))
1183 (synopsis "WebDav server implementation using libsoup")
1184 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1185 but it is generic enough to be reused in other projects,
1186 in particular in the GNOME desktop.")
1187 (home-page "https://wiki.gnome.org/phodav")
1188 (license license:lgpl2.1+)))
1189
1190 (define-public gnome-color-manager
1191 (package
1192 (name "gnome-color-manager")
1193 (version "3.32.0")
1194 (source (origin
1195 (method url-fetch)
1196 (uri (string-append "mirror://gnome/sources/" name "/"
1197 (version-major+minor version) "/"
1198 name "-" version ".tar.xz"))
1199 (sha256
1200 (base32
1201 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1202 (build-system meson-build-system)
1203 (arguments
1204 `(#:glib-or-gtk? #t
1205 #:phases
1206 (modify-phases %standard-phases
1207 (add-before
1208 'check 'pre-check
1209 (lambda _
1210 ;; Tests require a running X server.
1211 (system "Xvfb :1 &")
1212 (setenv "DISPLAY" ":1")
1213 #t)))))
1214 (native-inputs
1215 `(("desktop-file-utils" ,desktop-file-utils)
1216 ("gettext" ,gettext-minimal)
1217 ("glib:bin" ,glib "bin")
1218 ("gtk+:bin" ,gtk+ "bin")
1219 ("itstool" ,itstool)
1220 ("pkg-config" ,pkg-config)
1221 ("xorg-server" ,xorg-server-for-tests)))
1222 (inputs
1223 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1224 ("appstream-glib" ,appstream-glib)
1225 ("colord-gtk" ,colord-gtk)
1226 ("exiv2" ,exiv2)
1227 ("gnome-desktop" ,gnome-desktop)
1228 ("libcanberra" ,libcanberra)
1229 ("libexif" ,libexif)
1230 ("libtiff" ,libtiff)
1231 ("libxrandr" ,libxrandr)
1232 ("libxtst" ,libxtst)
1233 ("libxxf86vm" ,libxxf86vm)
1234 ("vte" ,vte)
1235 ("xorgproto" ,xorgproto)))
1236 (synopsis "Color profile manager for the GNOME desktop")
1237 (description "GNOME Color Manager is a session framework that makes
1238 it easy to manage, install and generate color profiles
1239 in the GNOME desktop.")
1240 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1241 (license license:gpl2+)))
1242
1243 (define-public gnome-online-miners
1244 (package
1245 (name "gnome-online-miners")
1246 (version "3.34.0")
1247 (source (origin
1248 (method url-fetch)
1249 (uri (string-append "mirror://gnome/sources/" name "/"
1250 (version-major+minor version) "/"
1251 name "-" version ".tar.xz"))
1252 (sha256
1253 (base32
1254 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1255 (build-system glib-or-gtk-build-system)
1256 (native-inputs
1257 `(("gettext" ,gettext-minimal)
1258 ("glib:bin" ,glib "bin")
1259 ("gobject-introspection" ,gobject-introspection)
1260 ("gtk+:bin" ,gtk+ "bin")
1261 ("pkg-config" ,pkg-config)))
1262 (inputs
1263 `(("gnome-online-accounts" ,gnome-online-accounts)
1264 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1265 ("grilo" ,grilo)
1266 ("libgdata" ,libgdata)
1267 ("libgfbgraph" ,gfbgraph)
1268 ("libzapojit" ,libzapojit)
1269 ("rest" ,rest)
1270 ("tracker" ,tracker)))
1271 (synopsis "Web Crawlers for GNOME")
1272 (description "GNOME Online Miners provides a set of crawlers that
1273 go through your online content and index them locally in Tracker.
1274 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1275 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1276 (license license:gpl2+)))
1277
1278 (define-public gssdp
1279 (package
1280 (name "gssdp")
1281 (version "1.2.3")
1282 (source (origin
1283 (method url-fetch)
1284 (uri (string-append "mirror://gnome/sources/" name "/"
1285 (version-major+minor version) "/"
1286 name "-" version ".tar.xz"))
1287 (sha256
1288 (base32
1289 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1290 (build-system meson-build-system)
1291 (native-inputs
1292 `(("gettext" ,gettext-minimal)
1293 ("glib:bin" ,glib "bin")
1294 ("gobject-introspection" ,gobject-introspection)
1295 ("gtk-doc" ,gtk-doc/stable)
1296 ("pkg-config" ,pkg-config)
1297 ("vala" ,vala)))
1298 (inputs
1299 `(("gtk+" ,gtk+)
1300 ("libsoup" ,libsoup)))
1301 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1302 Protocol} for GNOME")
1303 (description "This package provides a library to handle resource discovery
1304 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1305 a debugging tool, @command{gssdp-device-sniffer}.")
1306 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1307 (license license:lgpl2.0+)))
1308
1309 (define-public gupnp
1310 (package
1311 (name "gupnp")
1312 (version "1.2.4")
1313 (source (origin
1314 (method url-fetch)
1315 (uri (string-append "mirror://gnome/sources/" name "/"
1316 (version-major+minor version) "/"
1317 name "-" version ".tar.xz"))
1318 (sha256
1319 (base32
1320 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1321 (build-system meson-build-system)
1322 (native-inputs
1323 `(("gettext" ,gettext-minimal)
1324 ("glib:bin" ,glib "bin")
1325 ("gobject-introspection" ,gobject-introspection)
1326 ("gtk-doc" ,gtk-doc/stable)
1327 ("pkg-config" ,pkg-config)
1328 ("vala" ,vala)))
1329 (inputs
1330 `(("gssdp" ,gssdp)
1331 ("gtk+" ,gtk+)
1332 ("libsoup" ,libsoup)))
1333 (synopsis "PnP API for GNOME")
1334 (description "This package provides GUPnP, an object-oriented framework
1335 for creating UPnP devices and control points, written in C using
1336 @code{GObject} and @code{libsoup}.")
1337 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1338 (license license:lgpl2.0+)))
1339
1340 (define-public gupnp-dlna
1341 (package
1342 (name "gupnp-dlna")
1343 (version "0.10.5")
1344 (source (origin
1345 (method url-fetch)
1346 (uri (string-append "mirror://gnome/sources/" name "/"
1347 (version-major+minor version) "/"
1348 name "-" version ".tar.xz"))
1349 (sha256
1350 (base32
1351 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1352 (build-system gnu-build-system)
1353 (native-inputs
1354 `(("gettext" ,gettext-minimal)
1355 ("glib:bin" ,glib "bin")
1356 ("gobject-introspection" ,gobject-introspection)
1357 ("gtk-doc" ,gtk-doc/stable)
1358 ("libxml" ,libxml2)
1359 ("pkg-config" ,pkg-config)
1360 ("vala" ,vala)))
1361 (inputs
1362 `(("gstreamer" ,gstreamer)
1363 ("gupnp" ,gupnp)))
1364 (propagated-inputs
1365 `(("gst-plugins-base" ,gst-plugins-base)
1366 ("gst-plugins-good" ,gst-plugins-good)))
1367 (synopsis "GUPnP DLNA for GNOME")
1368 (description "This package provides a small utility library to
1369 support DLNA-related tasks such as media profile guessing, transcoding to a
1370 given profile, etc. DLNA is a subset of UPnP A/V.")
1371 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1372 (license license:lgpl2.0+)))
1373
1374 (define-public gupnp-av
1375 (package
1376 (name "gupnp-av")
1377 (version "0.12.11")
1378 (source (origin
1379 (method url-fetch)
1380 (uri (string-append "mirror://gnome/sources/" name "/"
1381 (version-major+minor version) "/"
1382 name "-" version ".tar.xz"))
1383 (sha256
1384 (base32
1385 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1386 (build-system gnu-build-system)
1387 (native-inputs
1388 `(("gettext" ,gettext-minimal)
1389 ("glib:bin" ,glib "bin")
1390 ("gobject-introspection" ,gobject-introspection)
1391 ("gtk-doc" ,gtk-doc/stable)
1392 ("libxml" ,libxml2)
1393 ("pkg-config" ,pkg-config)))
1394 (inputs
1395 `(("gtk+" ,gtk+)
1396 ("gupnp" ,gupnp)))
1397 (synopsis "GUPnP A/V for GNOME")
1398 (description "This package provides a small library for handling
1399 and implementation of UPnP A/V profiles.")
1400 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1401 (license license:lgpl2.0+)))
1402
1403 (define-public libmediaart
1404 (package
1405 (name "libmediaart")
1406 (version "1.9.4")
1407 (source (origin
1408 (method url-fetch)
1409 (uri (string-append "mirror://gnome/sources/" name "/"
1410 (version-major+minor version) "/"
1411 name "-" version ".tar.xz"))
1412 (sha256
1413 (base32
1414 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1415 (build-system gnu-build-system)
1416 (native-inputs
1417 `(("glib:bin" ,glib "bin")
1418 ("pkg-config" ,pkg-config)))
1419 (inputs
1420 `(("gdk-pixbuf" ,gdk-pixbuf)
1421 ("gettext" ,gettext-minimal)
1422 ("gobject-introspection" ,gobject-introspection)
1423 ("gtk+:doc" ,gtk+ "doc")
1424 ("vala" ,vala)))
1425 (synopsis "Media art library for the GNOME desktop")
1426 (description
1427 "The libmediaart library is the foundation for media art caching,
1428 extraction, and lookup for applications on the desktop.")
1429 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1430 (license license:lgpl2.1+)))
1431
1432 (define-public gnome-initial-setup
1433 (package
1434 (name "gnome-initial-setup")
1435 (version "3.32.1")
1436 (source (origin
1437 (method url-fetch)
1438 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1439 (version-major+minor version)
1440 "/gnome-initial-setup-" version ".tar.xz"))
1441 (sha256
1442 (base32
1443 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1444 (build-system meson-build-system)
1445 (arguments
1446 '(#:configure-flags '(;; Enable camera support for user selfie.
1447 "-Dcheese=auto"
1448 "-Dsystemd=false")
1449 #:phases (modify-phases %standard-phases
1450 (add-after 'unpack 'set-gkbd-file-name
1451 (lambda* (#:key inputs #:allow-other-keys)
1452 ;; Allow the "Preview" button in the keyboard layout
1453 ;; selection dialog to display the layout.
1454 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1455 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1456 (("\"gkbd-keyboard-display")
1457 (string-append "\"" libgnomekbd
1458 "/bin/gkbd-keyboard-display")))
1459 #t))))))
1460 (native-inputs
1461 `(("gettext" ,gettext-minimal)
1462 ("glib:bin" ,glib "bin")
1463 ("gobject-introspection" ,gobject-introspection)
1464 ("gtk+:bin" ,gtk+ "bin")
1465 ("pkg-config" ,pkg-config)))
1466 (inputs
1467 `(("accountsservice" ,accountsservice)
1468 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1469 ("gdm" ,gdm)
1470 ("geoclue" ,geoclue)
1471 ("gnome-desktop" ,gnome-desktop)
1472 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1473 ("gnome-online-accounts" ,gnome-online-accounts)
1474 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1475 ("gstreamer" ,gstreamer)
1476 ("ibus" ,ibus)
1477 ("json-glib" ,json-glib)
1478 ("krb5" ,mit-krb5)
1479 ("libgweather" ,libgweather)
1480 ("libnma" ,libnma)
1481 ("libsecret" ,libsecret)
1482 ("network-manager" ,network-manager)
1483 ("packagekit" ,packagekit)
1484 ("polkit" ,polkit)
1485 ("pwquality" ,libpwquality)
1486 ("rest" ,rest)
1487 ("upower" ,upower)
1488 ("webkitgtk" ,webkitgtk)
1489 ("libgnomekbd" ,libgnomekbd)))
1490 (synopsis "Initial setup wizard for GNOME desktop")
1491 (description "This package provides a set-up wizard when a
1492 user logs into GNOME for the first time. It typically provides a
1493 tour of all gnome components and allows the user to set them up.")
1494 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1495 (license license:gpl2)))
1496
1497 (define-public gnome-user-share
1498 (package
1499 (name "gnome-user-share")
1500 (version "3.33.1")
1501 (source (origin
1502 (method url-fetch)
1503 (uri (string-append "mirror://gnome/sources/" name "/"
1504 (version-major+minor version) "/"
1505 name "-" version ".tar.xz"))
1506 (sha256
1507 (base32
1508 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1509 (build-system meson-build-system)
1510 (arguments
1511 `(#:glib-or-gtk? #t
1512 #:configure-flags
1513 `("-Dsystemd=false"
1514 ;; Enable nautilus extension for file sharing.
1515 "-Dnautilus_extension=true")))
1516 (native-inputs
1517 `(("gettext" ,gettext-minimal)
1518 ("glib:bin" ,glib "bin")
1519 ("gobject-introspection" ,gobject-introspection)
1520 ("gtk+:bin" ,gtk+ "bin")
1521 ("pkg-config" ,pkg-config)
1522 ("yelp-tools" ,yelp-tools)))
1523 (inputs
1524 `(("glib" ,glib)
1525 ("gnome-bluetooth" ,gnome-bluetooth)
1526 ("gtk+" ,gtk+)
1527 ("libcanberra" ,libcanberra)
1528 ("libnotify" ,libnotify)
1529 ("nautilus" ,nautilus))) ; For nautilus extension.
1530 (synopsis "File sharing for GNOME desktop")
1531 (description "GNOME User Share is a small package that binds together
1532 various free software projects to bring easy to use user-level file
1533 sharing to the masses.")
1534 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1535 (license license:gpl2+)))
1536
1537 (define-public sushi
1538 (package
1539 (name "sushi")
1540 (version "3.32.1")
1541 (source (origin
1542 (method url-fetch)
1543 (uri (string-append "mirror://gnome/sources/" name "/"
1544 (version-major+minor version) "/"
1545 name "-" version ".tar.xz"))
1546 (sha256
1547 (base32
1548 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1549 (build-system meson-build-system)
1550 (arguments
1551 `(#:glib-or-gtk? #t
1552 #:phases
1553 (modify-phases %standard-phases
1554 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1555 (lambda* (#:key outputs #:allow-other-keys)
1556 (let ((prog (string-append (assoc-ref outputs "out")
1557 "/bin/sushi")))
1558 ;; Put existing typelibs before sushi's deps, so as to correctly
1559 ;; infer gdk-pixbuf
1560 (wrap-program prog
1561 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1562 #t))))))
1563 (native-inputs
1564 `(("glib:bin" ,glib "bin")
1565 ("gettext" ,gettext-minimal)
1566 ("gobject-introspection" ,gobject-introspection)
1567 ("pkg-config" ,pkg-config)))
1568 (inputs
1569 `(("clutter" ,clutter)
1570 ("clutter-gst" ,clutter-gst)
1571 ("clutter-gtk" ,clutter-gtk)
1572 ("evince" ,evince) ; For file previewing.
1573 ("freetype" ,freetype)
1574 ("gdk-pixbuf" ,gdk-pixbuf)
1575 ("gjs" ,gjs)
1576 ("gst-plugins-base" ,gst-plugins-base)
1577 ("gstreamer" ,gstreamer)
1578 ("gtksourceview" ,gtksourceview-3)
1579 ("harfbuzz" ,harfbuzz)
1580 ("libepoxy" ,libepoxy)
1581 ("libmusicbrainz" ,libmusicbrainz)
1582 ("libxml2" ,libxml2)
1583 ("neon" ,neon)
1584 ("webkitgtk" ,webkitgtk)))
1585 (synopsis "File previewer for the GNOME desktop")
1586 (description "Sushi is a DBus-activated service that allows applications to
1587 preview files on the GNOME desktop.")
1588 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1589 (license license:gpl2+)))
1590
1591 (define-public rygel
1592 (package
1593 (name "rygel")
1594 (version "0.38.3")
1595 (source (origin
1596 (method url-fetch)
1597 (uri (string-append "mirror://gnome/sources/" name "/"
1598 (version-major+minor version) "/"
1599 name "-" version ".tar.xz"))
1600 (sha256
1601 (base32
1602 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1603 (build-system gnu-build-system)
1604 (native-inputs
1605 `(("gettext" ,gettext-minimal)
1606 ("gobject-introspection" ,gobject-introspection)
1607 ("gtk-doc" ,gtk-doc/stable)
1608 ("pkg-config" ,pkg-config)
1609 ("vala" ,vala)))
1610 (inputs
1611 `(("gdk-pixbuf" ,gdk-pixbuf)
1612 ("gssdp" ,gssdp)
1613 ("gstreamer" ,gstreamer)
1614 ("gst-plugins-base" ,gst-plugins-base)
1615 ("gtk+" ,gtk+)
1616 ("gupnp" ,gupnp)
1617 ("gupnp-av" ,gupnp-av)
1618 ("gupnp-dlna" ,gupnp-dlna)
1619 ("libgee" ,libgee)
1620 ("libmediaart" ,libmediaart)
1621 ("libsoup" ,libsoup)
1622 ("libxslt" ,libxslt)
1623 ("libunistring" ,libunistring)
1624 ("tracker" ,tracker)))
1625 (synopsis "Share audio, video, and pictures with other devices")
1626 (description
1627 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1628 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1629 pictures, and to control a media player on your home network.
1630
1631 Rygel achieves interoperability with other devices by trying to conform to the
1632 strict requirements of DLNA and by converting media on-the-fly to formats that
1633 client devices can handle.")
1634 (home-page "https://wiki.gnome.org/Projects/Rygel")
1635 (license (list
1636 ;; For logo (data/icons/*).
1637 license:cc-by-sa3.0
1638 ;; For all others.
1639 license:lgpl2.1+))))
1640
1641 (define-public libnma
1642 (package
1643 (name "libnma")
1644 (version "1.8.28")
1645 (source (origin
1646 (method url-fetch)
1647 (uri (string-append "mirror://gnome/sources/" name "/"
1648 (version-major+minor version) "/"
1649 name "-" version ".tar.xz"))
1650 (sha256
1651 (base32
1652 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1653 (build-system meson-build-system)
1654 (arguments
1655 `(#:phases
1656 (modify-phases %standard-phases
1657 (add-after 'unpack 'patch-docbook-xml
1658 (lambda* (#:key inputs #:allow-other-keys)
1659 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1660 "/xml/dtd/docbook")))
1661 (substitute* "libnma-docs.xml"
1662 (("http://.*/docbookx\\.dtd")
1663 (string-append xmldoc "/docbookx.dtd")))
1664 #t))))))
1665 (native-inputs
1666 `(("docbook-xml" ,docbook-xml-4.3)
1667 ("gettext" ,gettext-minimal)
1668 ("glib:bin" ,glib "bin")
1669 ("gtk-doc" ,gtk-doc/stable)
1670 ("gobject-introspection" ,gobject-introspection)
1671 ("pkg-config" ,pkg-config)
1672 ("vala" ,vala)))
1673 (inputs
1674 `(("gcr" ,gcr)
1675 ("gtk+" ,gtk+)
1676 ("iso-codes" ,iso-codes)
1677 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1678 ("network-manager" ,network-manager)))
1679 (synopsis "Network Manager's applet library")
1680 (description "Libnma is an applet library for Network Manager. It was
1681 initially part of network-manager-applet and has now become a separate
1682 project.")
1683 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1684 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1685 ;; "LGPL-2.1+".
1686 (license license:gpl2+)))
1687
1688 (define-public gnome-menus
1689 (package
1690 (name "gnome-menus")
1691 (version "3.32.0")
1692 (source (origin
1693 (method url-fetch)
1694 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1695 (version-major+minor version) "/"
1696 name "-" version ".tar.xz"))
1697 (sha256
1698 (base32
1699 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1700 (build-system gnu-build-system)
1701 (native-inputs
1702 `(("gettext" ,gettext-minimal)
1703 ("glib" ,glib)
1704 ("pkg-config" ,pkg-config)))
1705 (synopsis "Menu support for GNOME desktop")
1706 (description "GNOME Menus contains the libgnome-menu library, the layout
1707 configuration files for the GNOME menu, as well as a simple menu editor.")
1708 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1709 (license license:lgpl2.0+)))
1710
1711 (define-public deja-dup
1712 (package
1713 (name "deja-dup")
1714 (version "40.6")
1715 (source (origin
1716 (method url-fetch)
1717 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1718 version "/deja-dup-" version ".tar.bz2"))
1719 (sha256
1720 (base32
1721 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1722 (build-system meson-build-system)
1723 (arguments
1724 `(#:glib-or-gtk? #t
1725 #:configure-flags
1726 (list
1727 ;; Otherwise, the RUNPATH will lack the final path component.
1728 (string-append "-Dc_link_args=-Wl,-rpath="
1729 (assoc-ref %outputs "out") "/lib/deja-dup"))
1730 #:phases
1731 (modify-phases %standard-phases
1732 (add-after 'unpack 'patch-paths
1733 (lambda* (#:key inputs #:allow-other-keys)
1734 (let ((python (assoc-ref inputs "python")))
1735 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1736 "libdeja/tests/scripts/instance-error.test")
1737 (("/bin/rm")
1738 (which "rm")))
1739 (substitute* "libdeja/tests/runner.vala"
1740 (("/bin/sh")
1741 (which "sh")))
1742 (substitute* "libdeja/tests/scripts/instance-error.test"
1743 (("`which python3`")
1744 (string-append python "/bin/python3"))))))
1745 (add-after 'unpack 'patch-libgpg-error
1746 (lambda* (#:key inputs #:allow-other-keys)
1747 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1748 (substitute* "meson.build"
1749 (("(gpgerror_libs = ).*" _ var)
1750 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1751 #t))
1752 (add-after 'unpack 'skip-gtk-update-icon-cache
1753 ;; Don't create 'icon-theme.cache'.
1754 (lambda _
1755 (substitute* "data/post-install.sh"
1756 (("gtk-update-icon-cache") "true"))
1757 #t)))))
1758 (inputs
1759 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1760 ("duplicity" ,duplicity)
1761 ("python" ,python)
1762 ("python-pygobject" ,python-pygobject)
1763 ("gtk+" ,gtk+)
1764 ("json-glib" ,json-glib)
1765 ("libnotify" ,libnotify)
1766 ("libgpg-error" ,libgpg-error)
1767 ("libsecret" ,libsecret)
1768 ("libsoup" ,libsoup)
1769 ("packagekit" ,packagekit)))
1770 (native-inputs
1771 `(("appstream-glib" ,appstream-glib)
1772 ("desktop-file-utils" ,desktop-file-utils)
1773 ("gettext" ,gettext-minimal)
1774 ("glib" ,glib "bin") ; for glib-compile-schemas.
1775 ("gobject-introspection" ,gobject-introspection)
1776 ("itstool" ,itstool)
1777 ("pkg-config" ,pkg-config)
1778 ("vala" ,vala)))
1779 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1780 (synopsis "Simple backup tool, for regular encrypted backups")
1781 (description
1782 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1783 uses duplicity as the backend, which supports incremental backups and storage
1784 either on a local, or remote machine via a number of methods.")
1785 (license license:gpl3+)))
1786
1787 (define-public gnome-commander
1788 (package
1789 (name "gnome-commander")
1790 (version "1.10.3")
1791 (source
1792 (origin
1793 (method url-fetch)
1794 (uri (string-append "mirror://gnome/sources/" name "/"
1795 (version-major+minor version) "/"
1796 "gnome-commander-" version ".tar.xz"))
1797 (sha256
1798 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1799 (build-system glib-or-gtk-build-system)
1800 (native-inputs
1801 `(("desktop-file-utils" ,desktop-file-utils)
1802 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1803 ("gettext" ,gettext-minimal)
1804 ("glib:bin" ,glib "bin")
1805 ("gobject-introspection" ,gobject-introspection)
1806 ("googletest" ,googletest)
1807 ("intltool" ,intltool)
1808 ("itstool" ,itstool)
1809 ("libtool" ,libtool)
1810 ("pkg-config" ,pkg-config)))
1811 (inputs
1812 `(("gconf" ,gconf)
1813 ("gnome-vfs" ,gnome-vfs)
1814 ("gtk+" ,gtk+-2)
1815 ("libxml2" ,libxml2)))
1816 (home-page "https://gcmd.github.io/")
1817 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1818 (description
1819 "GNOME Commander is a two-pane graphical file manager using GNOME
1820 libraries. It aims to fulfill the demands of more advanced users who
1821 like to focus on file management, their work through special applications
1822 and running smart commands.")
1823 (license license:gpl2+)))
1824
1825 (define-public gnome-user-docs
1826 (package
1827 (name "gnome-user-docs")
1828 (version "3.32.3")
1829 (source
1830 (origin
1831 (method url-fetch)
1832 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1833 (version-major+minor version)
1834 "/gnome-user-docs-" version ".tar.xz"))
1835 (sha256
1836 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1837 (build-system gnu-build-system)
1838 (native-inputs
1839 `(("gettext" ,gettext-minimal)
1840 ("itstool" ,itstool)
1841 ("pkg-config" ,pkg-config)
1842 ("xmllint" ,libxml2)))
1843 (synopsis "User documentation for the GNOME desktop")
1844 (description
1845 "The GNOME User Documentation explains how to use the GNOME desktop and its
1846 components. It covers usage and setup of the core GNOME programs by end-users
1847 and system administrators.")
1848 (home-page "https://live.gnome.org/DocumentationProject")
1849 (license license:cc-by3.0)))
1850
1851 (define-public gnome-getting-started-docs
1852 (package
1853 (name "gnome-getting-started-docs")
1854 (version "3.32.2")
1855 (source
1856 (origin
1857 (method url-fetch)
1858 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1859 (version-major+minor version)
1860 "/gnome-getting-started-docs-" version ".tar.xz"))
1861 (sha256
1862 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1863 (build-system gnu-build-system)
1864 (native-inputs
1865 `(("gettext" ,gettext-minimal)
1866 ("itstool" ,itstool)
1867 ("pkg-config" ,pkg-config)
1868 ("xmllint" ,libxml2)))
1869 (synopsis "Help to get new users started with the GNOME desktop")
1870 (description
1871 "The GNOME Getting Started Documentation contains GNOME's intuitive
1872 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1873
1874 It is normally used together with @command{gnome-initial-setup}, but is also
1875 useful as a tutorial and users' guide for new or less experienced users.")
1876 (home-page "https://live.gnome.org/DocumentationProject")
1877 (license license:cc-by-sa3.0)))
1878
1879 (define-public dia
1880 ;; This version from GNOME's repository includes fixes for compiling with
1881 ;; recent versions of the build tools. The latest activity on the
1882 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1883 ;; fixes since.
1884 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1885 (revision "2"))
1886 (package
1887 (name "dia")
1888 (version (git-version "0.97.3" revision commit))
1889 (source (origin
1890 (method git-fetch)
1891 (uri (git-reference
1892 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1893 (commit commit)))
1894 (file-name (git-file-name name version))
1895 (sha256
1896 (base32
1897 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1898 (build-system meson-build-system)
1899 (inputs
1900 `(("graphene" ,graphene)
1901 ("gtk+" ,gtk+-2)
1902 ("libxml2" ,libxml2)
1903 ("libxslt" ,libxslt)
1904 ("poppler" ,poppler)
1905 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1906 ;; ERROR: Unknown method "dependency" in object.
1907 ("python-2" ,python-2)))
1908 (native-inputs
1909 `(("appstream-glib" ,appstream-glib)
1910 ("docbook-xsl" ,docbook-xsl)
1911 ("glib" ,glib "bin")
1912 ("intltool" ,intltool)
1913 ("pkg-config" ,pkg-config)))
1914 (home-page "https://wiki.gnome.org/Apps/Dia")
1915 (synopsis "Diagram creation for GNOME")
1916 (description "Dia can be used to draw different types of diagrams, and
1917 includes support for UML static structure diagrams (class diagrams), entity
1918 relationship modeling, and network diagrams. The program supports various file
1919 formats like PNG, SVG, PDF and EPS.")
1920 (license license:gpl2+))))
1921
1922 ;; This is the unstable release, but it is required for the current stable
1923 ;; release of gvfs (1.38.1).
1924 (define-public libgdata
1925 (package
1926 (name "libgdata")
1927 (version "0.17.9")
1928 (source (origin
1929 (method url-fetch)
1930 (uri (string-append "mirror://gnome/sources/" name "/"
1931 (version-major+minor version) "/"
1932 name "-" version ".tar.xz"))
1933 (sha256
1934 (base32
1935 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1936 (build-system gnu-build-system)
1937 (arguments
1938 '(#:phases
1939 (modify-phases %standard-phases
1940 (add-before 'check 'disable-failing-tests
1941 (lambda _
1942 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1943 ;; They have been removed in libgdata 0.17.6, so just do the same.
1944 (substitute* "gdata/tests/Makefile"
1945 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1946 #t)))))
1947 (native-inputs
1948 `(("glib:bin" ,glib "bin")
1949 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1950 ("intltool" ,intltool)
1951 ("pkg-config" ,pkg-config)
1952 ("uhttpmock" ,uhttpmock)))
1953 (inputs
1954 `(("cyrus-sasl" ,cyrus-sasl)
1955 ("glib-networking" ,glib-networking)))
1956 (propagated-inputs
1957 `(("gcr" ,gcr)
1958 ("glib" ,glib)
1959 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1960 ("json-glib" ,json-glib)
1961 ("liboauth" ,liboauth)
1962 ("libsoup" ,libsoup)
1963 ("libxml2" ,libxml2)))
1964 (home-page "https://wiki.gnome.org/Projects/libgdata")
1965 (synopsis "Library for accessing online service APIs")
1966 (description
1967 "libgdata is a GLib-based library for accessing online service APIs using
1968 the GData protocol — most notably, Google's services. It provides APIs to
1969 access the common Google services, and has full asynchronous support.")
1970 (license license:lgpl2.1+)))
1971
1972 (define-public libgxps
1973 (package
1974 (name "libgxps")
1975 (version "0.3.2")
1976 (source (origin
1977 (method url-fetch)
1978 (uri (string-append "mirror://gnome/sources/" name "/"
1979 (version-major+minor version) "/"
1980 name "-" version ".tar.xz"))
1981 (sha256
1982 (base32
1983 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
1984 (build-system meson-build-system)
1985 (native-inputs
1986 `(("gobject-introspection" ,gobject-introspection)
1987 ("pkg-config" ,pkg-config)))
1988 (inputs
1989 `(("gtk+" ,gtk+)
1990 ("libjpeg" ,libjpeg-turbo)
1991 ("lcms" ,lcms)
1992 ("libtiff" ,libtiff)))
1993 (propagated-inputs
1994 ;; In Requires of libgxps.pc.
1995 `(("cairo" ,cairo)
1996 ("glib" ,glib)
1997 ("libarchive" ,libarchive)))
1998 (home-page "https://wiki.gnome.org/Projects/libgxps")
1999 (synopsis "GObject-based library for handling and rendering XPS documents")
2000 (description
2001 "libgxps is a GObject-based library for handling and rendering XPS
2002 documents. This package also contains binaries that can convert XPS documents
2003 to other formats.")
2004 (license license:lgpl2.1+)))
2005
2006 (define-public gnome-characters
2007 (package
2008 (name "gnome-characters")
2009 (version "3.30.0")
2010 (source
2011 (origin
2012 (method url-fetch)
2013 (uri (string-append "mirror://gnome/sources/"
2014 "gnome-characters/" (version-major+minor version)
2015 "/gnome-characters-" version ".tar.xz"))
2016 (sha256
2017 (base32
2018 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2019 (build-system meson-build-system)
2020 (arguments
2021 `(#:glib-or-gtk? #t
2022 #:phases (modify-phases %standard-phases
2023 (add-after 'install 'wrap
2024 (lambda* (#:key outputs #:allow-other-keys)
2025 ;; GNOME Characters needs Typelib files from GTK and
2026 ;; gnome-desktop.
2027 (wrap-program (string-append (assoc-ref outputs "out")
2028 "/bin/gnome-characters")
2029 `("GI_TYPELIB_PATH" ":" prefix
2030 (,(getenv "GI_TYPELIB_PATH"))))
2031 #t)))))
2032 (native-inputs
2033 `(("gettext" ,gettext-minimal)
2034 ("glib:bin" ,glib "bin")
2035 ("gtk+:bin" ,gtk+ "bin")
2036 ("pkg-config" ,pkg-config)
2037 ("python" ,python-minimal)))
2038 (inputs
2039 `(("gjs" ,gjs)
2040 ("gtk+" ,gtk+)
2041 ("libunistring" ,libunistring)
2042 ("gnome-desktop" ,gnome-desktop)))
2043 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2044 (synopsis "Find and insert unusual characters")
2045 (description "Characters is a simple utility application to find
2046 and insert unusual characters. It allows you to quickly find the
2047 character you are looking for by searching for keywords.")
2048 (license license:bsd-3)))
2049
2050 (define-public gnome-common
2051 (package
2052 (name "gnome-common")
2053 (version "3.18.0")
2054 (source
2055 (origin
2056 (method url-fetch)
2057 (uri (string-append "mirror://gnome/sources/" name "/"
2058 (version-major+minor version) "/"
2059 name "-" version ".tar.xz"))
2060 (sha256
2061 (base32
2062 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2063 (build-system gnu-build-system)
2064 (home-page "https://www.gnome.org/")
2065 (synopsis "Bootstrap GNOME modules built from Git")
2066 (description "gnome-common contains various files needed to bootstrap
2067 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2068 can be used to configure a source directory checked out from Git and some
2069 commonly used macros.")
2070 (license license:gpl2+)))
2071
2072 (define-public gnome-contacts
2073 (package
2074 (name "gnome-contacts")
2075 (version "3.34")
2076 (source (origin
2077 (method url-fetch)
2078 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2079 (version-major+minor version) "/"
2080 name "-" version ".tar.xz"))
2081 (sha256
2082 (base32
2083 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2084 (build-system meson-build-system)
2085 (arguments
2086 `(#:configure-flags '("-Dcheese=false")
2087 #:phases
2088 (modify-phases %standard-phases
2089 (add-after 'unpack 'generate-vapis
2090 (lambda* (#:key inputs #:allow-other-keys)
2091 ;; To generate goa's missing .vapi file
2092 (define goa
2093 (assoc-ref inputs "gnome-online-accounts:lib"))
2094
2095 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2096 "--library=goa-1.0"
2097 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2098 #t))
2099 (add-after 'unpack 'skip-gtk-update-icon-cache
2100 ;; Don't create 'icon-theme.cache'.
2101 (lambda _
2102 (substitute* "build-aux/meson_post_install.py"
2103 (("gtk-update-icon-cache") "true"))
2104 #t)))))
2105 (native-inputs
2106 `(("glib:bin" ,glib "bin")
2107 ("pkg-config" ,pkg-config)))
2108 (inputs
2109 `(("docbook-xml" ,docbook-xml)
2110 ("dockbook-xsl" ,docbook-xsl)
2111 ("evolution-data-server" ,evolution-data-server)
2112 ("gettext" ,gettext-minimal)
2113 ("gnome-desktop" ,gnome-desktop)
2114 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2115 ("gobject-introspection" ,gobject-introspection)
2116 ("gst-plugins-base" ,gst-plugins-base)
2117 ("gtk+" ,gtk+)
2118 ("libgee" ,libgee)
2119 ("libxslt" ,libxslt)
2120 ("telepathy-glib" ,telepathy-glib)
2121 ("vala" ,vala)))
2122 (propagated-inputs
2123 `(("folks" ,folks)
2124 ("telepathy-mission-control" ,telepathy-mission-control)))
2125 (synopsis "GNOME's integrated address book")
2126 (description
2127 "GNOME Contacts organizes your contact information from online and
2128 offline sources, providing a centralized place for managing your contacts.")
2129 (home-page "https://wiki.gnome.org/Apps/Contacts")
2130 (license license:gpl2+)))
2131
2132 (define-public gnome-desktop
2133 (package
2134 (name "gnome-desktop")
2135 (version "3.34.2")
2136 (source
2137 (origin
2138 (method url-fetch)
2139 (uri (string-append "mirror://gnome/sources/" name "/"
2140 (version-major+minor version) "/"
2141 name "-" version ".tar.xz"))
2142 (sha256
2143 (base32
2144 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2145 (build-system meson-build-system)
2146 (arguments
2147 '(#:phases
2148 (modify-phases %standard-phases
2149 (add-before 'configure 'patch-path
2150 (lambda* (#:key inputs #:allow-other-keys)
2151 (let ((libc (assoc-ref inputs "libc")))
2152 (substitute* "libgnome-desktop/gnome-languages.c"
2153 (("\"locale\"")
2154 (string-append "\"" libc "/bin/locale\"")))
2155 #t)))
2156 (add-before 'configure 'patch-bubblewrap
2157 (lambda* (#:key inputs #:allow-other-keys)
2158 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2159 (("\"bwrap\",")
2160 (string-append "\"" (which "bwrap") "\","))
2161 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2162 (string-append "\"--ro-bind\", \""
2163 (%store-directory)
2164 "\", \""
2165 (%store-directory)
2166 "\","))
2167 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2168 #t))
2169 (add-before 'check 'pre-check
2170 (lambda* (#:key inputs #:allow-other-keys)
2171 ;; Tests require a running X server and locales.
2172 (system "Xvfb :1 &")
2173 (setenv "DISPLAY" ":1")
2174 (setenv "GUIX_LOCPATH"
2175 (string-append (assoc-ref inputs "glibc-locales")
2176 "/lib/locale"))
2177 #t)))))
2178 (native-inputs
2179 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2180 ("glibc-locales" ,glibc-locales) ; for tests
2181 ("gobject-introspection" ,gobject-introspection)
2182 ("itstool" ,itstool)
2183 ("intltool" ,intltool)
2184 ("pkg-config" ,pkg-config)
2185 ("xmllint" ,libxml2)
2186 ("xorg-server" ,xorg-server-for-tests)))
2187 (propagated-inputs
2188 ;; Required by gnome-desktop-3.0.pc.
2189 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2190 ("gtk+" ,gtk+)
2191 ("iso-codes" ,iso-codes)
2192 ("libseccomp" ,libseccomp)
2193 ("libx11" ,libx11)
2194 ("xkeyboard-config" ,xkeyboard-config)))
2195 (inputs
2196 `(("gdk-pixbuf" ,gdk-pixbuf)
2197 ("glib" ,glib)
2198 ("bubblewrap" ,bubblewrap)
2199 ("libxext" ,libxext)
2200 ("libxkbfile" ,libxkbfile)
2201 ("libxrandr" ,libxrandr)))
2202 (home-page "https://www.gnome.org/")
2203 (synopsis
2204 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2205 (description
2206 "The libgnome-desktop library provides API shared by several applications
2207 on the desktop, but that cannot live in the platform for various reasons.
2208 There is no API or ABI guarantee, although we are doing our best to provide
2209 stability. Documentation for the API is available with gtk-doc.
2210
2211 The gnome-about program helps find which version of GNOME is installed.")
2212 ; Some bits under the LGPL.
2213 (license license:gpl2+)))
2214
2215 (define-public gnome-doc-utils
2216 (package
2217 (name "gnome-doc-utils")
2218 (version "0.20.10")
2219 (source
2220 (origin
2221 (method url-fetch)
2222 (uri (string-append "mirror://gnome/sources/" name "/"
2223 (version-major+minor version) "/"
2224 name "-" version ".tar.xz"))
2225 (sha256
2226 (base32
2227 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2228 (build-system gnu-build-system)
2229 (native-inputs
2230 `(("intltool" ,intltool)
2231 ("docbook-xml" ,docbook-xml-4.4)
2232 ("python2-libxml2" ,python2-libxml2)
2233 ("libxml2" ,libxml2)
2234 ("libxslt" ,libxslt)
2235 ("pkg-config" ,pkg-config)
2236 ("python-2" ,python-2)))
2237 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2238 (synopsis
2239 "Documentation utilities for the Gnome project")
2240 (description
2241 "Gnome-doc-utils is a collection of documentation utilities for the
2242 Gnome project. It includes xml2po tool which makes it easier to translate
2243 and keep up to date translations of documentation.")
2244 (license license:gpl2+))) ; xslt under lgpl
2245
2246 (define-public gnome-disk-utility
2247 (package
2248 (name "gnome-disk-utility")
2249 (version "3.34.0")
2250 (source (origin
2251 (method url-fetch)
2252 (uri (string-append "mirror://gnome/sources/" name "/"
2253 (version-major+minor version) "/"
2254 name "-" version ".tar.xz"))
2255 (sha256
2256 (base32
2257 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2258 (build-system meson-build-system)
2259 (arguments
2260 '(#:configure-flags '("-Dlogind=libelogind")
2261 #:phases
2262 (modify-phases %standard-phases
2263 (add-after 'unpack 'skip-gtk-update-icon-cache
2264 ;; Don't create 'icon-theme.cache'.
2265 (lambda _
2266 (substitute* "meson_post_install.py"
2267 (("gtk-update-icon-cache") "true"))
2268 #t)))))
2269 (native-inputs
2270 `(("glib:bin" ,glib "bin")
2271 ("intltool" ,intltool)
2272 ("pkg-config" ,pkg-config)
2273 ("docbook-xml" ,docbook-xml)
2274 ("docbook-xsl" ,docbook-xsl)
2275 ("libxml2" ,libxml2)
2276 ("libxslt" ,libxslt)))
2277 (inputs
2278 `(("elogind" ,elogind)
2279 ("glib" ,glib)
2280 ("appstream-glib" ,appstream-glib)
2281 ("gnome-settings-daemon" ,gnome-settings-daemon)
2282 ("gtk+" ,gtk+)
2283 ("libcanberra" ,libcanberra)
2284 ("libdvdread" ,libdvdread)
2285 ("libnotify" ,libnotify)
2286 ("libpwquality" ,libpwquality)
2287 ("libsecret" ,libsecret)
2288 ("udisks" ,udisks)))
2289 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2290 (synopsis "Disk management utility for GNOME")
2291 (description "Disk management utility for GNOME.")
2292 (license license:gpl2+)))
2293
2294 (define-public gnome-font-viewer
2295 (package
2296 (name "gnome-font-viewer")
2297 (version "3.30.0")
2298 (source (origin
2299 (method url-fetch)
2300 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2301 (version-major+minor version)
2302 "/gnome-font-viewer-" version ".tar.xz"))
2303 (sha256
2304 (base32
2305 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2306 (build-system meson-build-system)
2307 (arguments
2308 '(#:phases
2309 (modify-phases %standard-phases
2310 (add-after 'unpack 'patch-post-install-script
2311 (lambda _
2312 (substitute* "meson-postinstall.sh"
2313 (("update-desktop-database") (which "true")))
2314 #t))
2315 (add-after 'install 'patch-thumbnailer
2316 (lambda* (#:key outputs #:allow-other-keys)
2317 (let ((out (assoc-ref outputs "out")))
2318 (substitute*
2319 (string-append
2320 out
2321 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2322 (("gnome-thumbnail-font")
2323 (string-append out "/bin/gnome-thumbnail-font"))))
2324 #t)))))
2325 (native-inputs
2326 `(("gettext" ,gettext-minimal)
2327 ("glib:bin" ,glib "bin")
2328 ("pkg-config" ,pkg-config)))
2329 (inputs
2330 `(("glib" ,glib)
2331 ("gnome-desktop" ,gnome-desktop)
2332 ("gtk+" ,gtk+)))
2333 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2334 (synopsis "GNOME Fonts")
2335 (description "Application to show you the fonts installed on your computer
2336 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2337 the font would look under various sizes.")
2338 (license license:gpl2+)))
2339
2340 (define-public gcr
2341 (package
2342 (name "gcr")
2343 (version "3.34.0")
2344 (source (origin
2345 (method url-fetch)
2346 (uri (string-append "mirror://gnome/sources/" name "/"
2347 (version-major+minor version) "/"
2348 name "-" version ".tar.xz"))
2349 (sha256
2350 (base32
2351 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2352 (build-system gnu-build-system)
2353 (arguments
2354 '(#:phases
2355 (modify-phases %standard-phases
2356 ;; These fail because /var/lib/dbus/machine-id is not present in the
2357 ;; build environment.
2358 (add-after 'unpack 'disable-failing-tests
2359 (lambda _
2360 (substitute* "Makefile.in"
2361 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2362 ""))
2363 #t))
2364 (add-before 'check 'pre-check
2365 (lambda _
2366 ;; Some tests expect to write to $HOME.
2367 (setenv "HOME" "/tmp")
2368 #t)))))
2369 (inputs
2370 `(("dbus" ,dbus)
2371 ("gnupg" ,gnupg) ;called as a child process during tests
2372 ("libgcrypt" ,libgcrypt)))
2373 (native-inputs
2374 `(("python" ,python-wrapper) ;for tests
2375 ("pkg-config" ,pkg-config)
2376 ("gettext" ,gettext-minimal)
2377 ("glib" ,glib "bin")
2378 ("gobject-introspection" ,gobject-introspection)
2379 ("libxml2" ,libxml2)
2380 ("vala" ,vala)
2381 ("xsltproc" ,libxslt)))
2382 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2383 (propagated-inputs
2384 `(("p11-kit" ,p11-kit)
2385 ("glib" ,glib)
2386 ("gtk+" ,gtk+)))
2387 (home-page "https://www.gnome.org")
2388 (synopsis "Libraries for displaying certificates and accessing key stores")
2389 (description
2390 "The GCR package contains libraries used for displaying certificates and
2391 accessing key stores. It also provides the viewer for crypto files on the
2392 GNOME Desktop.")
2393 (license license:lgpl2.1+)))
2394
2395 (define-public gdl
2396 (package
2397 (name "gdl")
2398 (version "3.34.0")
2399 (source (origin
2400 (method git-fetch)
2401 (uri (git-reference
2402 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2403 (commit (string-append "GDL_" (string-map (match-lambda
2404 (#\. #\_)
2405 (c c))
2406 version)))))
2407 (file-name (git-file-name name version))
2408 (sha256
2409 (base32
2410 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2411 (build-system gnu-build-system)
2412 (native-inputs
2413 `(("autoconf" ,autoconf)
2414 ("automake" ,automake)
2415 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2416 ("gnome-common" ,gnome-common)
2417 ("gtk-doc" ,gtk-doc/stable)
2418 ("intltool" ,intltool)
2419 ("pkg-config" ,pkg-config)
2420 ("libtool" ,libtool)
2421 ("which" ,which)))
2422 (inputs
2423 `(("libxml2" ,libxml2)))
2424 (propagated-inputs
2425 ;; The gdl-3.0.pc file 'Requires' GTK+.
2426 `(("gtk+" ,gtk+)))
2427 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2428 (synopsis "GNOME docking library")
2429 (description "This library provides docking features for gtk+.")
2430 (license license:lgpl2.1+)))
2431
2432 ;;; A minimal variant used to break a cycle with Inkscape.
2433 (define-public gdl-minimal
2434 (package/inherit gdl
2435 (name "gdl-minimal")
2436 (arguments
2437 '(#:phases
2438 (modify-phases %standard-phases
2439 (add-after 'unpack 'disable-doc-generation
2440 ;; XXX: There is no easy way to disable generating the
2441 ;; documentation.
2442 (lambda _
2443 (substitute* "configure.in"
2444 (("GTK_DOC_CHECK.*") "")
2445 (("docs/.*") ""))
2446 (substitute* "Makefile.am"
2447 (("gdl docs po") "gdl po"))
2448 #t)))))
2449 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2450
2451 (define-public libgnome-keyring
2452 (package
2453 (name "libgnome-keyring")
2454 (version "3.12.0")
2455 (source (origin
2456 (method url-fetch)
2457 (uri (string-append "mirror://gnome/sources/" name "/"
2458 (version-major+minor version) "/"
2459 name "-" version ".tar.xz"))
2460 (sha256
2461 (base32
2462 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2463 (build-system gnu-build-system)
2464 (inputs
2465 `(("libgcrypt" ,libgcrypt)
2466 ("dbus" ,dbus)))
2467 (native-inputs
2468 `(("pkg-config" ,pkg-config)
2469 ("glib" ,glib "bin")
2470 ("intltool" ,intltool)))
2471 (propagated-inputs
2472 ;; Referred to in .h files and .pc.
2473 `(("glib" ,glib)))
2474 (home-page "https://www.gnome.org")
2475 (synopsis "Accessing passwords from the GNOME keyring")
2476 (description
2477 "Client library to access passwords from the GNOME keyring.")
2478
2479 ;; Though a couple of files are LGPLv2.1+.
2480 (license license:lgpl2.0+)))
2481
2482 (define-public gnome-keyring
2483 (package
2484 (name "gnome-keyring")
2485 (version "3.34.0")
2486 (source (origin
2487 (method url-fetch)
2488 (uri (string-append "mirror://gnome/sources/" name "/"
2489 (version-major+minor version) "/"
2490 name "-" version ".tar.xz"))
2491 (sha256
2492 (base32
2493 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2494 (build-system gnu-build-system)
2495 (arguments
2496 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2497 ;not exist
2498 #:configure-flags
2499 (list
2500 (string-append "--with-pkcs11-config="
2501 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2502 (string-append "--with-pkcs11-modules="
2503 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2504 #:phases
2505 (modify-phases %standard-phases
2506 (add-after 'unpack 'fix-/bin/sh-reference
2507 (lambda _
2508 (substitute* "po/Makefile.in.in"
2509 (("/bin/sh") (which "sh")))
2510 #t))
2511 (add-after 'unpack 'fix-docbook
2512 (lambda* (#:key inputs #:allow-other-keys)
2513 (substitute* "docs/Makefile.am"
2514 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2515 (string-append (assoc-ref inputs "docbook-xsl")
2516 "/xml/xsl/docbook-xsl-"
2517 ,(package-version docbook-xsl)
2518 "/manpages/docbook.xsl")))
2519 (setenv "XML_CATALOG_FILES"
2520 (string-append (assoc-ref inputs "docbook-xml")
2521 "/xml/dtd/docbook/catalog.xml"))
2522 ;; Rerun the whole thing to avoid version mismatch ("This is
2523 ;; Automake 1.15.1, but the definition used by this
2524 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2525 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2526 (invoke "autoconf")
2527 (invoke "aclocal")
2528 (invoke "automake" "-ac"))))))
2529 (inputs
2530 `(("libgcrypt" ,libgcrypt)
2531 ("linux-pam" ,linux-pam)
2532 ("openssh" ,openssh)
2533 ("dbus" ,dbus)
2534 ("gcr" ,gcr)))
2535 (native-inputs
2536 `(("pkg-config" ,pkg-config)
2537 ("glib" ,glib "bin")
2538 ("glib" ,glib) ; for m4 macros
2539 ("python" ,python-2) ;for tests
2540 ("intltool" ,intltool)
2541 ("autoconf" ,autoconf)
2542 ("automake" ,automake)
2543 ("libxslt" ,libxslt) ;for documentation
2544 ("docbook-xml" ,docbook-xml-4.2)
2545 ("docbook-xsl" ,docbook-xsl)))
2546 (propagated-inputs
2547 `(("gcr" ,gcr)))
2548 (home-page "https://www.gnome.org")
2549 (synopsis "Daemon to store passwords and encryption keys")
2550 (description
2551 "gnome-keyring is a program that keeps passwords and other secrets for
2552 users. It is run as a daemon in the session, similar to ssh-agent, and other
2553 applications locate it via an environment variable or D-Bus.
2554
2555 The program can manage several keyrings, each with its own master password,
2556 and there is also a session keyring which is never stored to disk, but
2557 forgotten when the session ends.")
2558 (license license:lgpl2.1+)))
2559
2560 (define-public evince
2561 (package
2562 (name "evince")
2563 (version "3.36.5")
2564 (source (origin
2565 (method url-fetch)
2566 (uri (string-append "mirror://gnome/sources/evince/"
2567 (version-major+minor version) "/"
2568 "evince-" version ".tar.xz"))
2569 (sha256
2570 (base32
2571 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2572 (build-system glib-or-gtk-build-system)
2573 (arguments
2574 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2575 #:phases
2576 (modify-phases %standard-phases
2577 (add-before 'install 'skip-gtk-update-icon-cache
2578 ;; Don't create 'icon-theme.cache'.
2579 (lambda _
2580 (substitute* "data/Makefile"
2581 (("gtk-update-icon-cache") "true"))
2582 #t)))))
2583 (inputs
2584 `(("libarchive" ,libarchive)
2585 ("libgxps" ,libgxps)
2586 ("libspectre" ,libspectre)
2587 ("djvulibre" ,djvulibre)
2588 ("ghostscript" ,ghostscript)
2589 ("poppler" ,poppler)
2590 ("libtiff" ,libtiff)
2591 ;; TODO:
2592 ;; Build libkpathsea as a shared library for DVI support.
2593 ;; ("libkpathsea" ,texlive-bin)
2594 ("gnome-desktop" ,gnome-desktop)
2595 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2596 ("gspell" ,gspell)
2597 ("libgnome-keyring" ,libgnome-keyring)
2598 ("adwaita-icon-theme" ,adwaita-icon-theme)
2599 ("gdk-pixbuf" ,gdk-pixbuf)
2600 ("atk" ,atk)
2601 ("pango" ,pango)
2602 ("gtk+" ,gtk+)
2603 ("glib" ,glib)
2604 ("libxml2" ,libxml2)
2605 ("libsm" ,libsm)
2606 ("libice" ,libice)
2607 ("shared-mime-info" ,shared-mime-info)
2608 ("dconf" ,dconf)
2609 ("libcanberra" ,libcanberra)
2610 ("libsecret" ,libsecret)
2611
2612 ;; For tests.
2613 ("dogtail" ,python2-dogtail)))
2614 (native-inputs
2615 `(("itstool" ,itstool)
2616 ("intltool" ,intltool)
2617 ("glib" ,glib "bin")
2618 ("gobject-introspection" ,gobject-introspection)
2619 ("pkg-config" ,pkg-config)
2620 ("xmllint" ,libxml2)))
2621 (home-page "https://www.gnome.org/projects/evince/")
2622 (synopsis "GNOME's document viewer")
2623 (description
2624 "Evince is a document viewer for multiple document formats. It
2625 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2626 of Evince is to replace the multiple document viewers that exist
2627 on the GNOME Desktop with a single simple application.")
2628 (license license:gpl2+)))
2629
2630 (define-public gsettings-desktop-schemas
2631 (package
2632 (name "gsettings-desktop-schemas")
2633 (version "3.34.0")
2634 (source
2635 (origin
2636 (method url-fetch)
2637 (uri (string-append "mirror://gnome/sources/" name "/"
2638 (version-major+minor version) "/"
2639 name "-" version ".tar.xz"))
2640 (sha256
2641 (base32
2642 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2643 (build-system meson-build-system)
2644 (arguments
2645 '(#:phases (modify-phases %standard-phases
2646 (add-after 'unpack 'patch-schemas
2647 (lambda* (#:key inputs #:allow-other-keys)
2648 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2649 (substitute* (find-files "schemas"
2650 "\\.gschema\\.xml\\.in$")
2651 ;; Provide the correct file name of the default GNOME
2652 ;; background, 'adwaita-timed.xml'.
2653 (("@datadir@/backgrounds/gnome")
2654 (string-append theme "/share/backgrounds/gnome"))
2655 ;; Do not reference fonts, that may not exist.
2656 (("'Source Code Pro 10'") "'Monospace 11'"))
2657 #t))))))
2658 (inputs
2659 `(("glib" ,glib)
2660 ("gnome-backgrounds" ,gnome-backgrounds)))
2661 (native-inputs
2662 `(("intltool" ,intltool)
2663 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2664 ("gobject-introspection" ,gobject-introspection)
2665 ("pkg-config" ,pkg-config)))
2666 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2667 (synopsis
2668 "GNOME settings for various desktop components")
2669 (description
2670 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2671 for settings shared by various components of the GNOME desktop.")
2672 (license license:lgpl2.1+)))
2673
2674 (define-public python-liblarch
2675 (package
2676 (name "python-liblarch")
2677 (version "3.0.1")
2678 (source
2679 (origin
2680 (method git-fetch)
2681 (uri (git-reference
2682 (url "https://github.com/getting-things-gnome/liblarch")
2683 (commit (string-append "v" version))))
2684 (file-name (git-file-name name version))
2685 (sha256
2686 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2687 (build-system python-build-system)
2688 (arguments
2689 `(#:phases
2690 (modify-phases %standard-phases
2691 (add-before 'check 'start-xserver
2692 (lambda* (#:key inputs #:allow-other-keys)
2693 (system (format #f "~a/bin/Xvfb :1 &"
2694 (assoc-ref inputs "xorg-server")))
2695 (setenv "DISPLAY" ":1")
2696 #t)))))
2697 (native-inputs
2698 `(("xorg-server" ,xorg-server-for-tests)))
2699 (inputs
2700 `(("gtk+" ,gtk+)))
2701 (propagated-inputs
2702 `(("python-pygobject" ,python-pygobject)))
2703 (home-page "https://wiki.gnome.org/Projects/liblarch")
2704 (synopsis "Library to easily handle complex data structures")
2705 (description
2706 "Liblarch is a Python library built to easily handle data structures such
2707 as lists, trees and acyclic graphs. There's also a GTK binding that will
2708 allow you to use your data structure in a @code{Gtk.Treeview}.
2709
2710 Liblarch support multiple views of one data structure and complex filtering.
2711 That way, you have a clear separation between your data themselves (Model)
2712 and how they are displayed (View).")
2713 (license license:lgpl3+)))
2714
2715 (define-public gtg
2716 (package
2717 (name "gtg")
2718 (version "0.4")
2719 (source
2720 (origin
2721 (method git-fetch)
2722 (uri (git-reference
2723 (url "https://github.com/getting-things-gnome/gtg")
2724 (commit (string-append "v" version))))
2725 (file-name (git-file-name name version))
2726 (sha256
2727 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2728 (build-system meson-build-system)
2729 (arguments
2730 `(#:glib-or-gtk? #t
2731 #:phases
2732 (modify-phases %standard-phases
2733 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2734 (lambda* (#:key outputs #:allow-other-keys)
2735 (let ((prog (string-append (assoc-ref outputs "out")
2736 "/bin/gtg"))
2737 (pylib (string-append (assoc-ref outputs "out")
2738 "/lib/python"
2739 ,(version-major+minor
2740 (package-version python))
2741 "/site-packages")))
2742 (wrap-program prog
2743 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2744 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2745 #t))))))
2746 (native-inputs
2747 `(("desktop-file-utils" ,desktop-file-utils)
2748 ("gettext" ,gettext-minimal)
2749 ("glib:bin" ,glib "bin")
2750 ("gobject-introspection" ,gobject-introspection)
2751 ("gtk+:bin" ,gtk+ "bin")
2752 ("pkg-config" ,pkg-config)))
2753 (inputs
2754 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2755 ("gtk+" ,gtk+)
2756 ("python-dbus" ,python-dbus)
2757 ("python-liblarch" ,python-liblarch)
2758 ("python-pycairo" ,python-pycairo)
2759 ("python-pygobject" ,python-pygobject)
2760 ("python-pyxdg" ,python-pyxdg)))
2761 (home-page "https://wiki.gnome.org/Apps/GTG")
2762 (synopsis "Personal organizer for the GNOME desktop")
2763 (description
2764 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2765 organizer for the GNOME desktop environment inspired by the Getting Things
2766 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2767 and ease of use in mind so it can be used as more than just GTD software.
2768 GTG is intended to help you track everything you need to do and need to
2769 know, from small tasks to large projects.")
2770 (license license:gpl3+)))
2771
2772 (define-public icon-naming-utils
2773 (package
2774 (name "icon-naming-utils")
2775 (version "0.8.90")
2776 (source
2777 (origin
2778 (method url-fetch)
2779 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2780 version ".tar.bz2"))
2781 (sha256
2782 (base32
2783 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2784 (build-system gnu-build-system)
2785 (inputs
2786 `(("perl" ,perl)
2787 ("perl-xml-simple" ,perl-xml-simple)))
2788 (arguments
2789 '(#:phases
2790 (modify-phases %standard-phases
2791 (add-after 'install 'set-load-paths
2792 ;; Tell 'icon-name-mapping' where XML::Simple is.
2793 (lambda* (#:key outputs #:allow-other-keys)
2794 (let* ((out (assoc-ref outputs "out"))
2795 (prog (string-append out "/libexec/icon-name-mapping")))
2796 (wrap-program
2797 prog
2798 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2799 #t)))))
2800 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2801 (synopsis
2802 "Utility to implement the Freedesktop Icon Naming Specification")
2803 (description
2804 "To help with the transition to the Freedesktop Icon Naming
2805 Specification, the icon naming utility maps the icon names used by the
2806 GNOME and KDE desktops to the icon names proposed in the specification.")
2807 (license license:lgpl2.1+)))
2808
2809 (define-public gnome-icon-theme
2810 (package
2811 (name "gnome-icon-theme")
2812 (version "3.12.0")
2813 (source
2814 (origin
2815 (method url-fetch)
2816 (uri (string-append "mirror://gnome/sources/" name "/"
2817 (version-major+minor version) "/"
2818 name "-" version ".tar.xz"))
2819 (sha256
2820 (base32
2821 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2822 (build-system gnu-build-system)
2823 (arguments
2824 '(#:configure-flags
2825 ;; Don't create 'icon-theme.cache'.
2826 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2827 (true (string-append coreutils "/bin/true")))
2828 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2829 (native-inputs
2830 `(("icon-naming-utils" ,icon-naming-utils)
2831 ("intltool" ,intltool)
2832 ("pkg-config" ,pkg-config)))
2833 (home-page "https://wiki.gnome.org/Personalization")
2834 (synopsis "GNOME icon theme")
2835 (description "Icons for the GNOME desktop.")
2836 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2837
2838 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2839 (define-public adwaita-icon-theme
2840 (package (inherit gnome-icon-theme)
2841 (name "adwaita-icon-theme")
2842 (version "3.34.3")
2843 (source (origin
2844 (method url-fetch)
2845 (uri (string-append "mirror://gnome/sources/" name "/"
2846 (version-major+minor version) "/"
2847 name "-" version ".tar.xz"))
2848 (sha256
2849 (base32
2850 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2851 (native-inputs
2852 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2853
2854 (define-public tango-icon-theme
2855 (package
2856 (name "tango-icon-theme")
2857 (version "0.8.90")
2858 (source (origin
2859 (method url-fetch)
2860 (uri (string-append "http://tango.freedesktop.org/releases/"
2861 "tango-icon-theme-" version ".tar.bz2"))
2862 (sha256
2863 (base32
2864 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2865 (build-system gnu-build-system)
2866 (native-inputs
2867 `(("icon-naming-utils" ,icon-naming-utils)
2868 ("intltool" ,intltool)
2869 ("imagemagick" ,imagemagick)
2870 ("pkg-config" ,pkg-config)))
2871 (home-page "http://tango-project.org/")
2872 (synopsis "Tango icon theme")
2873 (description "This is an icon theme that follows the Tango visual
2874 guidelines.")
2875 (license license:public-domain)))
2876
2877 (define-public shared-mime-info
2878 (package
2879 (name "shared-mime-info")
2880 (version "1.15")
2881 (source (origin
2882 (method url-fetch)
2883 (uri (string-append
2884 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2885 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2886 ".tar.xz"))
2887 (sha256
2888 (base32
2889 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2890 (build-system gnu-build-system)
2891 (arguments
2892 ;; The build system appears not to be parallel-safe.
2893 '(#:parallel-build? #f))
2894 (inputs
2895 `(("glib" ,glib)
2896 ("libxml2" ,libxml2)))
2897 (native-inputs
2898 `(("gettext" ,gettext-minimal)
2899 ("itstool" ,itstool)
2900 ("pkg-config" ,pkg-config)))
2901 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2902 (synopsis "Database of common MIME types")
2903 (description
2904 "The shared-mime-info package contains the core database of common types
2905 and the update-mime-database command used to extend it. It requires glib2 to
2906 be installed for building the update command. Additionally, it uses intltool
2907 for translations, though this is only a dependency for the maintainers. This
2908 database is translated at Transifex.")
2909 (license license:gpl2+)))
2910
2911 (define-public system-config-printer
2912 (package
2913 (name "system-config-printer")
2914 (version "1.5.15")
2915 (source
2916 (origin
2917 (method url-fetch)
2918 (uri (string-append
2919 "https://github.com/OpenPrinting/system-config-printer/releases/"
2920 "download/v" version
2921 "/system-config-printer-" version ".tar.xz"))
2922 (sha256
2923 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2924 (build-system glib-or-gtk-build-system)
2925 (arguments
2926 `(#:imported-modules ((guix build python-build-system)
2927 ,@%glib-or-gtk-build-system-modules)
2928 #:phases
2929 (modify-phases %standard-phases
2930 (add-after 'unpack 'patch-Makefile.am
2931 (lambda _
2932 ;; The Makefile generates some scripts, so set a valid shebang
2933 (substitute* "Makefile.am"
2934 (("/bin/bash") (which "bash")))
2935 (delete-file "configure")
2936 #t))
2937 (add-after 'unpack 'patch-docbook-xml
2938 (lambda* (#:key inputs #:allow-other-keys)
2939 ;; Modify the man XML otherwise xmlto tries to access the network
2940 (substitute* "man/system-config-printer.xml"
2941 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2942 (string-append (assoc-ref inputs "docbook-xml")
2943 "/xml/dtd/docbook/")))
2944 #t))
2945 (add-after 'install 'wrap-for-python
2946 (@@ (guix build python-build-system) wrap))
2947 (add-after 'install 'wrap
2948 (lambda* (#:key outputs #:allow-other-keys)
2949 (let ((out (assoc-ref outputs "out"))
2950 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2951 (for-each
2952 (lambda (program)
2953 (wrap-program program
2954 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2955 (map (lambda (name)
2956 (string-append out "/bin/" name))
2957 '("system-config-printer"
2958 "system-config-printer-applet"
2959 "install-printerdriver"
2960 "scp-dbus-service"))))
2961 #t)))))
2962 (inputs
2963 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2964 ("gobject-introspection" ,gobject-introspection)
2965 ("python" ,python)
2966 ("cups" ,cups)
2967 ("gtk+" ,gtk+)
2968 ("python-dbus" ,python-dbus)
2969 ("python-pygobject" ,python-pygobject)
2970 ("python-pycups" ,python-pycups)
2971 ("python-requests" ,python-requests)
2972 ("python-pycairo" ,python-pycairo)
2973 ("libnotify" ,libnotify)
2974 ("packagekit" ,packagekit)))
2975 (native-inputs
2976 `(("pkg-config" ,pkg-config)
2977 ("desktop-file-utils" ,desktop-file-utils)
2978 ("glib" ,glib)
2979 ("autoconf" ,autoconf)
2980 ("automake" ,automake)
2981 ("intltool" ,intltool)
2982 ("xmlto" ,xmlto)
2983 ("docbook-xml" ,docbook-xml-4.1.2)
2984 ("docbook-xsl" ,docbook-xsl)
2985 ("libxml2" ,libxml2)))
2986 (home-page "https://github.com/zdohnal/system-config-printer")
2987 (synopsis "CUPS administration tool")
2988 (description
2989 "system-config-printer is a CUPS administration tool. It's written in
2990 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2991 configuring CUPS.")
2992 (license license:gpl2+)))
2993
2994 (define-public hicolor-icon-theme
2995 (package
2996 (name "hicolor-icon-theme")
2997 (version "0.17")
2998 (source
2999 (origin
3000 (method url-fetch)
3001 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3002 "hicolor-icon-theme-" version ".tar.xz"))
3003 (sha256
3004 (base32
3005 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3006 (build-system gnu-build-system)
3007 (arguments
3008 `(#:tests? #f)) ; no check target
3009 (home-page "https://icon-theme.freedesktop.org/releases/")
3010 (synopsis
3011 "Freedesktop icon theme")
3012 (description
3013 "Freedesktop icon theme.")
3014 (license license:gpl2)))
3015
3016 (define-public libnotify
3017 (package
3018 (name "libnotify")
3019 (version "0.7.9")
3020 (source
3021 (origin
3022 (method url-fetch)
3023 (uri (string-append "mirror://gnome/sources/" name "/"
3024 (version-major+minor version) "/"
3025 name "-" version ".tar.xz"))
3026 (sha256
3027 (base32
3028 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3029 (build-system meson-build-system)
3030 (arguments
3031 `(#:phases
3032 (modify-phases %standard-phases
3033 (add-after 'unpack 'fix-docbook
3034 (lambda* (#:key inputs #:allow-other-keys)
3035 ;; Don't attempt to download XSL schema.
3036 (substitute* "meson.build"
3037 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3038 /manpages/docbook.xsl")
3039 (string-append (assoc-ref inputs "docbook-xsl")
3040 "/xml/xsl/docbook-xsl-"
3041 ,(package-version docbook-xsl)
3042 "/manpages/docbook.xsl")))
3043 #t)))))
3044 (propagated-inputs
3045 `(;; In Requires of libnotify.pc.
3046 ("gdk-pixbuf" ,gdk-pixbuf)
3047 ("glib" ,glib)))
3048 (inputs
3049 `(("gtk+" ,gtk+)
3050 ("libpng" ,libpng)))
3051 (native-inputs
3052 `(("pkg-config" ,pkg-config)
3053 ("glib" ,glib "bin")
3054 ("gobject-introspection" ,gobject-introspection)
3055
3056 ;; For the documentation.
3057 ("gtk-doc" ,gtk-doc/stable)
3058 ("xsltproc" ,libxslt)
3059 ("docbook-xsl" ,docbook-xsl)))
3060 (home-page "https://developer-next.gnome.org/libnotify/")
3061 (synopsis
3062 "GNOME desktop notification library")
3063 (description
3064 "Libnotify is a library that sends desktop notifications to a
3065 notification daemon, as defined in the Desktop Notifications spec. These
3066 notifications can be used to inform the user about an event or display
3067 some form of information without getting in the user's way.")
3068 (license license:lgpl2.1+)))
3069
3070 (define-public libpeas
3071 (package
3072 (name "libpeas")
3073 (version "1.28.0")
3074 (source
3075 (origin
3076 (method url-fetch)
3077 (uri (string-append "mirror://gnome/sources/" name "/"
3078 (version-major+minor version) "/"
3079 name "-" version ".tar.xz"))
3080 (sha256
3081 (base32
3082 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3083 (build-system meson-build-system)
3084 (arguments
3085 '(#:phases
3086 (modify-phases %standard-phases
3087 (add-before 'check 'start-xserver
3088 (lambda* (#:key inputs #:allow-other-keys)
3089 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3090 (disp ":1"))
3091 (setenv "DISPLAY" disp)
3092 ;; Tests require a running X server.
3093 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3094 #t))))))
3095 (inputs
3096 `(("gtk+" ,gtk+)
3097 ("glade" ,glade3)
3098 ("python" ,python)
3099 ("python-pygobject" ,python-pygobject)))
3100 (native-inputs
3101 `(("pkg-config" ,pkg-config)
3102 ("gettext" ,gettext-minimal)
3103 ("glib:bin" ,glib "bin")
3104 ("gobject-introspection" ,gobject-introspection)
3105 ("xorg-server" ,xorg-server-for-tests)))
3106 (propagated-inputs
3107 ;; The .pc file "Requires" gobject-introspection.
3108 `(("gobject-introspection" ,gobject-introspection)))
3109 (home-page "https://wiki.gnome.org/Libpeas")
3110 (synopsis "GObject plugin system")
3111 (description
3112 "Libpeas is a gobject-based plugin engine, targeted at giving every
3113 application the chance to assume its own extensibility. It also has a set of
3114 features including, but not limited to: multiple extension points; on-demand
3115 (lazy) programming language support for C, Python and JS; simplicity of the
3116 API.")
3117 (license license:lgpl2.0+)))
3118
3119 (define-public gtkglext
3120 (package
3121 (name "gtkglext")
3122 (version "1.2.0")
3123 (source (origin
3124 (method url-fetch)
3125 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3126 version "/gtkglext-" version ".tar.gz"))
3127 (sha256
3128 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3129 (patches (search-patches
3130 "gtkglext-disable-disable-deprecated.patch"))))
3131 (build-system gnu-build-system)
3132 (arguments
3133 `(#:phases
3134 (modify-phases %standard-phases
3135 ;; Fix a collision between a local variable and a definition from
3136 ;; glibc's string.h.
3137 (add-after 'unpack 'fix-collision
3138 (lambda _
3139 (substitute* "gdk/gdkglshapes.c"
3140 ((" index") " triangle_index"))
3141 #t)))))
3142 (inputs `(("gtk+" ,gtk+-2)
3143 ("mesa" ,mesa)
3144 ("glu" ,glu)
3145 ("libx11" ,libx11)
3146 ("libxt" ,libxt)))
3147 (native-inputs `(("pkg-config" ,pkg-config)
3148 ("glib" ,glib "bin")))
3149 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3150 (home-page "https://projects.gnome.org/gtkglext")
3151 (synopsis "OpenGL extension to GTK+")
3152 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3153 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3154 API add-ons to make GTK+ widgets OpenGL-capable.")
3155 (license license:lgpl2.1+)))
3156
3157 (define-public glade3
3158 (package
3159 (name "glade")
3160 (version "3.36.0")
3161 (source (origin
3162 (method url-fetch)
3163 (uri (string-append "mirror://gnome/sources/" name "/"
3164 (version-major+minor version) "/"
3165 name "-" version ".tar.xz"))
3166 (sha256
3167 (base32
3168 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3169 (build-system glib-or-gtk-build-system)
3170 (arguments
3171 `(#:phases
3172 (modify-phases %standard-phases
3173 (add-before 'configure 'fix-docbook
3174 (lambda* (#:key inputs #:allow-other-keys)
3175 (substitute* "man/Makefile.in"
3176 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3177 (string-append (assoc-ref inputs "docbook-xsl")
3178 "/xml/xsl/docbook-xsl-"
3179 ,(package-version docbook-xsl)
3180 "/manpages/docbook.xsl")))
3181 #t))
3182 (add-before 'check 'pre-check
3183 (lambda _
3184 (setenv "HOME" "/tmp")
3185 ;; Tests require a running X server.
3186 (system "Xvfb :1 &")
3187 (setenv "DISPLAY" ":1")
3188 #t)))))
3189 (inputs
3190 `(("gtk+" ,gtk+)
3191 ("libxml2" ,libxml2)))
3192 (native-inputs
3193 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3194 ("intltool" ,intltool)
3195 ("itstool" ,itstool)
3196 ("libxslt" ,libxslt) ;for xsltproc
3197 ("docbook-xml" ,docbook-xml-4.2)
3198 ("docbook-xsl" ,docbook-xsl)
3199 ("python" ,python-2)
3200 ("pkg-config" ,pkg-config)
3201 ("xorg-server" ,xorg-server-for-tests)))
3202 (home-page "https://glade.gnome.org")
3203 (synopsis "GTK+ rapid application development tool")
3204 (description "Glade is a rapid application development (RAD) tool to
3205 enable quick & easy development of user interfaces for the GTK+ toolkit and
3206 the GNOME desktop environment.")
3207 (license license:lgpl2.0+)
3208 (native-search-paths (list (search-path-specification
3209 (variable "GLADE_CATALOG_SEARCH_PATH")
3210 (files '("share/glade/catalogs")))
3211 (search-path-specification
3212 (variable "GLADE_MODULE_SEARCH_PATH")
3213 (files '("lib/glade/modules")))))))
3214
3215 (define-public libcroco
3216 (package
3217 (name "libcroco")
3218 (version "0.6.13")
3219 (source (origin
3220 (method url-fetch)
3221 (uri (string-append "mirror://gnome/sources/" name "/"
3222 (version-major+minor version) "/"
3223 name "-" version ".tar.xz"))
3224 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3225 (sha256
3226 (base32
3227 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3228 (build-system gnu-build-system)
3229 (native-inputs
3230 `(("pkg-config" ,pkg-config)))
3231 (inputs
3232 `(("glib" ,glib)
3233 ("libxml2" ,libxml2)
3234 ("zlib" ,zlib)))
3235 (home-page "https://github.com/GNOME/libcroco")
3236 (synopsis "CSS2 parsing and manipulation library")
3237 (description
3238 "Libcroco is a standalone CSS2 parsing and manipulation library.
3239 The parser provides a low level event driven SAC-like API and a CSS object
3240 model like API. Libcroco provides a CSS2 selection engine and an experimental
3241 XML/CSS rendering engine.")
3242
3243 ;; LGPLv2.1-only.
3244 (license license:lgpl2.1)))
3245
3246 (define-public libgsf
3247 (package
3248 (name "libgsf")
3249 (version "1.14.47")
3250 (source (origin
3251 (method url-fetch)
3252 (uri (string-append "mirror://gnome/sources/" name "/"
3253 (version-major+minor version) "/"
3254 name "-" version ".tar.xz"))
3255 (sha256
3256 (base32
3257 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3258 (build-system gnu-build-system)
3259 (arguments
3260 '(#:configure-flags '("--disable-static")))
3261 (native-inputs
3262 `(("pkg-config" ,pkg-config)
3263 ("gettext" ,gettext-minimal)
3264
3265 ;; For tests.
3266 ("perl" ,perl)
3267 ("perl-xml-parser" ,perl-xml-parser)))
3268 (inputs
3269 `(("zlib" ,zlib)
3270 ("bzip2" ,bzip2)))
3271 (propagated-inputs
3272 `(("gdk-pixbuf" ,gdk-pixbuf)
3273 ("glib" ,glib)
3274 ("libxml2" ,libxml2)))
3275 (home-page "https://www.gnome.org/projects/libgsf")
3276 (synopsis "GNOME's Structured File Library")
3277 (description
3278 "Libgsf aims to provide an efficient extensible I/O abstraction for
3279 dealing with different structured file formats.")
3280
3281 ;; LGPLv2.1-only.
3282 (license license:lgpl2.1)))
3283
3284 (define-public librsvg
3285 (package
3286 (name "librsvg")
3287 (version "2.40.21")
3288 (source (origin
3289 (method url-fetch)
3290 (uri (string-append "mirror://gnome/sources/" name "/"
3291 (version-major+minor version) "/"
3292 name "-" version ".tar.xz"))
3293 (sha256
3294 (base32
3295 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3296 (build-system gnu-build-system)
3297 (arguments
3298 `(#:configure-flags
3299 (list "--disable-static"
3300 "--enable-vala") ; needed for e.g. gnome-mines
3301 #:phases
3302 (modify-phases %standard-phases
3303 (add-before 'configure 'pre-configure
3304 (lambda* (#:key inputs #:allow-other-keys)
3305 (substitute* "gdk-pixbuf-loader/Makefile.in"
3306 ;; By default the gdk-pixbuf loader is installed under
3307 ;; gdk-pixbuf's prefix. Work around that.
3308 (("gdk_pixbuf_moduledir = .*$")
3309 (string-append "gdk_pixbuf_moduledir = "
3310 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3311 "loaders\n"))
3312 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3313 (("gdk_pixbuf_cache_file = .*$")
3314 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3315 #t))
3316 (add-before 'check 'remove-failing-tests
3317 (lambda _
3318 (with-directory-excursion "tests/fixtures/reftests"
3319 (for-each delete-file
3320 '(;; This test fails on i686:
3321 "svg1.1/masking-path-04-b.svg"
3322 ;; This test fails on armhf:
3323 "svg1.1/masking-mask-01-b.svg"
3324 ;; This test fails on aarch64:
3325 "bugs/777834-empty-text-children.svg")))
3326 #t)))))
3327 (native-inputs
3328 `(("pkg-config" ,pkg-config)
3329 ("vala" ,vala)
3330 ("glib" ,glib "bin") ; glib-mkenums, etc.
3331 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3332 (inputs
3333 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3334 ;; this ancient version of librsvg.
3335 ("pango" ,pango-1.42)
3336 ("libcroco" ,libcroco)
3337 ("bzip2" ,bzip2)
3338 ("libgsf" ,libgsf)
3339 ("libxml2" ,libxml2)))
3340 (propagated-inputs
3341 ;; librsvg-2.0.pc refers to all of that.
3342 `(("cairo" ,cairo)
3343 ("gdk-pixbuf" ,gdk-pixbuf)
3344 ("glib" ,glib)))
3345 (home-page "https://wiki.gnome.org/LibRsvg")
3346 (synopsis "Render SVG files using Cairo")
3347 (description
3348 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3349 library.")
3350 (license license:lgpl2.0+)))
3351
3352 (define-public librsvg-next
3353 (package
3354 (name "librsvg")
3355 (version "2.50.3")
3356 (source (origin
3357 (method url-fetch)
3358 (uri (string-append "mirror://gnome/sources/librsvg/"
3359 (version-major+minor version) "/"
3360 "librsvg-" version ".tar.xz"))
3361 (sha256
3362 (base32
3363 "0n79i4wj9hm0d3bbn4xvknq5ylhqs16pvhaqr1rxspx9wfc8lad4"))
3364 (modules '((guix build utils)))
3365 (snippet
3366 '(begin (delete-file-recursively "vendor")
3367 #t))))
3368 (build-system cargo-build-system)
3369 (outputs '("out" "doc"))
3370 (arguments
3371 `(#:install-source? #f
3372 #:modules
3373 ((guix build cargo-build-system)
3374 (guix build utils)
3375 ((guix build gnu-build-system) #:prefix gnu:))
3376 #:cargo-inputs
3377 (("rust-bitflags" ,rust-bitflags-1)
3378 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3379 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3380 ("rust-cast" ,rust-cast-0.2)
3381 ("rust-cssparser" ,rust-cssparser-0.27)
3382 ("rust-data-url" ,rust-data-url-0.1)
3383 ("rust-encoding" ,rust-encoding-0.2)
3384 ("rust-float-cmp" ,rust-float-cmp-0.8)
3385 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3386 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3387 ("rust-gio" ,rust-gio-0.8)
3388 ("rust-gio-sys" ,rust-gio-sys-0.9)
3389 ("rust-glib" ,rust-glib-0.9)
3390 ("rust-glib-sys" ,rust-glib-sys-0.9)
3391 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3392 ("rust-itertools" ,rust-itertools-0.9)
3393 ("rust-language-tags" ,rust-language-tags-0.2)
3394 ("rust-libc" ,rust-libc-0.2)
3395 ("rust-locale-config" ,rust-locale-config-0.3)
3396 ("rust-markup5ever" ,rust-markup5ever-0.10)
3397 ("rust-nalgebra" ,rust-nalgebra-0.21)
3398 ("rust-num-traits" ,rust-num-traits-0.2)
3399 ("rust-once-cell" ,rust-once-cell-1)
3400 ("rust-pkg-config" ,rust-pkg-config-0.3)
3401 ("rust-pango" ,rust-pango-0.8)
3402 ("rust-pango-sys" ,rust-pango-sys-0.9)
3403 ("rust-pangocairo" ,rust-pangocairo-0.9)
3404 ("rust-rayon" ,rust-rayon-1)
3405 ("rust-rctree" ,rust-rctree-0.3)
3406 ("rust-rgb" ,rust-rgb-0.8)
3407 ("rust-regex" ,rust-regex-1)
3408 ("rust-selectors" ,rust-selectors-0.22)
3409 ("rust-string-cache" ,rust-string-cache-0.8)
3410 ("rust-tinyvec" ,rust-tinyvec-0.3)
3411 ("rust-url" ,rust-url-2)
3412 ("rust-xml5ever" ,rust-xml5ever-0.16))
3413 #:cargo-development-inputs
3414 (("rust-assert-cmd" ,rust-assert-cmd-1)
3415 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3416 ("rust-chrono" ,rust-chrono-0.4)
3417 ("rust-criterion" ,rust-criterion-0.3)
3418 ("rust-float-cmp" ,rust-float-cmp-0.8)
3419 ("rust-lopdf" ,rust-lopdf-0.26)
3420 ("rust-png" ,rust-png-0.16)
3421 ("rust-predicates" ,rust-predicates-1)
3422 ("rust-tempfile" ,rust-tempfile-3))
3423 #:phases
3424 (modify-phases %standard-phases
3425 (add-after 'unpack 'patch-docbook-xml
3426 (lambda* (#:key inputs #:allow-other-keys)
3427 (with-directory-excursion "doc"
3428 (substitute* "rsvg-docs.xml"
3429 (("http://www.oasis-open.org/docbook/xml/4.3/")
3430 (string-append (assoc-ref inputs "docbook-xml")
3431 "/xml/dtd/docbook/"))))
3432 #t))
3433 (add-after 'unpack 'prepare-for-build
3434 (lambda _
3435 ;; In lieu of #:make-flags
3436 (setenv "CC" ,(cc-for-target))
3437 ;; Something about the build environment resists building
3438 ;; successfully with the '--locked' flag.
3439 (substitute* '("Makefile.am" "Makefile.in")
3440 (("--locked") ""))
3441 #t))
3442 (add-before 'configure 'pre-configure
3443 (lambda _
3444 (substitute* "gdk-pixbuf-loader/Makefile.in"
3445 ;; By default the gdk-pixbuf loader is installed under
3446 ;; gdk-pixbuf's prefix. Work around that.
3447 (("gdk_pixbuf_moduledir = .*$")
3448 (string-append "gdk_pixbuf_moduledir = "
3449 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3450 "loaders\n"))
3451 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3452 (("gdk_pixbuf_cache_file = .*$")
3453 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3454 #t))
3455 (add-after 'configure 'gnu-configure
3456 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3457 ((assoc-ref gnu:%standard-phases 'configure)
3458 #:native-inputs native-inputs
3459 #:inputs inputs
3460 #:outputs outputs
3461 #:configure-flags
3462 (list "--disable-static"
3463 "--enable-vala"
3464 (string-append "--with-html-dir="
3465 (assoc-ref %outputs "doc")
3466 "/share/gtk-doc/html")))))
3467 (add-after 'configure 'dont-vendor-self
3468 (lambda* (#:key vendor-dir #:allow-other-keys)
3469 ;; Don't keep the whole tarball in the vendor directory
3470 (delete-file-recursively
3471 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3472 #t))
3473 (replace 'build
3474 (assoc-ref gnu:%standard-phases 'build))
3475 (add-before 'check 'ignore-failing-tests
3476 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3477 (lambda _
3478 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3479 (("fn background_color_option_invalid_color_yields_error" all)
3480 (string-append "#[ignore] " all))
3481 (("fn empty_input_yields_error" all)
3482 (string-append "#[ignore] " all))
3483 (("fn empty_svg_yields_error" all)
3484 (string-append "#[ignore] " all))
3485 (("fn env_source_data_epoch_empty" all)
3486 (string-append "#[ignore] " all))
3487 (("fn env_source_data_epoch_no_digits" all)
3488 (string-append "#[ignore] " all))
3489 (("fn env_source_data_epoch_trailing_garbage" all)
3490 (string-append "#[ignore] " all))
3491 (("fn export_id_option_error" all)
3492 (string-append "#[ignore] " all))
3493 (("fn huge_zoom_factor_yields_error" all)
3494 (string-append "#[ignore] " all))
3495 (("fn multiple_input_files_not_allowed_for_png_output" all)
3496 (string-append "#[ignore] " all))
3497 (("fn stylesheet_option_error" all)
3498 (string-append "#[ignore] " all)))
3499 #t))
3500 (replace 'check
3501 (lambda* args
3502 ((assoc-ref gnu:%standard-phases 'check)
3503 #:test-target "check")))
3504 (replace 'install
3505 (assoc-ref gnu:%standard-phases 'install)))))
3506 (native-inputs
3507 `(("docbook-xml" ,docbook-xml-4.3)
3508 ("glib" ,glib "bin")
3509 ("gobject-introspection" ,gobject-introspection)
3510 ("pkg-config" ,pkg-config)
3511 ("python" ,python-wrapper)
3512 ("ruby" ,ruby)
3513 ("vala" ,vala)))
3514 (inputs
3515 `(("bzip2" ,bzip2)
3516 ("fontconfig" ,fontconfig)
3517 ("freetype" ,freetype)
3518 ("harfbuzz" ,harfbuzz)
3519 ("libcroco" ,libcroco)
3520 ("libgsf" ,libgsf)
3521 ("libxml2" ,libxml2)
3522 ("pango" ,pango)))
3523 (propagated-inputs
3524 `(("cairo" ,cairo)
3525 ("gdk-pixbuf" ,gdk-pixbuf)
3526 ("glib" ,glib)))
3527 (synopsis "SVG rendering library")
3528 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3529 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3530 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3531 diagrams.")
3532 (home-page "https://wiki.gnome.org/LibRsvg")
3533 (license license:lgpl2.1+)))
3534
3535 (define-public libidl
3536 (package
3537 (name "libidl")
3538 (version "0.8.14")
3539 (source (origin
3540 (method url-fetch)
3541 (uri (string-append "mirror://gnome/sources/libIDL/"
3542 (version-major+minor version) "/"
3543 "libIDL-" version ".tar.bz2"))
3544 (sha256
3545 (base32
3546 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3547 (build-system gnu-build-system)
3548 (inputs `(("glib" ,glib)))
3549 (native-inputs
3550 `(("pkg-config" ,pkg-config)
3551 ("flex" ,flex)
3552 ("bison" ,bison)))
3553 (home-page "http://freecode.com/projects/libidl")
3554 (synopsis "Create trees of CORBA Interface Definition Language files")
3555 (description "Libidl is a library for creating trees of CORBA Interface
3556 Definition Language (idl) files, which is a specification for defining
3557 portable interfaces. libidl was initially written for orbit (the orb from the
3558 GNOME project, and the primary means of libidl distribution). However, the
3559 functionality was designed to be as reusable and portable as possible.")
3560 (properties `((upstream-name . "libIDL")))
3561 (license license:lgpl2.0+)))
3562
3563
3564 (define-public orbit2
3565 (package
3566 (name "orbit2")
3567 (version "2.14.19")
3568 (source (origin
3569 (method url-fetch)
3570 (uri (let ((upstream-name "ORBit2"))
3571 (string-append "mirror://gnome/sources/" upstream-name "/"
3572 (version-major+minor version) "/"
3573 upstream-name "-" version ".tar.bz2")))
3574 (sha256
3575 (base32
3576 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3577 (build-system gnu-build-system)
3578 (arguments
3579 `(;; The "timeout-server" test hangs when run in parallel.
3580 #:parallel-tests? #f
3581 #:configure-flags
3582 '(;; We don't need static libraries, plus they don't build reproducibly
3583 ;; (non-deterministic ordering of .o files in the archive.)
3584 "--disable-static"
3585
3586 ;; The programmer kindly gives us a hook to turn off deprecation
3587 ;; warnings ...
3588 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3589 ;; ... which they then completly ignore !!
3590 #:phases
3591 (modify-phases %standard-phases
3592 (add-before 'configure 'ignore-deprecations
3593 (lambda _
3594 (substitute* "linc2/src/Makefile.in"
3595 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3596 #t)))))
3597 (inputs `(("glib" ,glib)
3598 ("libidl" ,libidl)))
3599 (native-inputs
3600 `(("pkg-config" ,pkg-config)))
3601 (home-page "https://projects.gnome.org/orbit2/")
3602 (synopsis "CORBA 2.4-compliant Object Request Broker")
3603 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3604 featuring mature C, C++ and Python bindings.")
3605 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3606 ;; a version. SOME of the code files have licence notices for GPLv2+.
3607 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3608 (license license:gpl2+)
3609 (properties `((upstream-name . "ORBit2")))))
3610
3611
3612 (define-public libbonobo
3613 (package
3614 (name "libbonobo")
3615 (version "2.32.1")
3616 (source (origin
3617 (method url-fetch)
3618 (uri (string-append "mirror://gnome/sources/" name "/"
3619 (version-major+minor version)
3620 "/" name "-" version ".tar.bz2"))
3621 (sha256
3622 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3623 (patches (search-patches
3624 "libbonobo-activation-test-race.patch"))))
3625 (build-system gnu-build-system)
3626 (arguments
3627 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3628 `(#:configure-flags
3629 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3630 ;; ... which they then completly ignore !!
3631 #:phases
3632 (modify-phases %standard-phases
3633 (add-before 'configure 'ignore-deprecations
3634 (lambda _
3635 (substitute* "activation-server/Makefile.in"
3636 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3637 #t)))
3638
3639 ;; There's apparently a race condition between the server stub
3640 ;; generation and linking of the example under 'samples/echo' that can
3641 ;; lead do undefined references when building in parallel, as reported
3642 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3643 ;; Thus, disable parallel builds.
3644 #:parallel-build? #f))
3645 (inputs `(("popt" ,popt)
3646 ("libxml2" ,libxml2)))
3647 ;; The following are Required by the .pc file
3648 (propagated-inputs
3649 `(("glib" ,glib)
3650 ("orbit2" ,orbit2)))
3651 (native-inputs
3652 `(("intltool" ,intltool)
3653 ("pkg-config" ,pkg-config)
3654 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3655 ("flex" ,flex)
3656 ("bison" ,bison)))
3657 (home-page "https://developer.gnome.org/libbonobo/")
3658 (synopsis "Framework for creating reusable components for use in GNOME applications")
3659 (description "Bonobo is a framework for creating reusable components for
3660 use in GNOME applications, built on top of CORBA.")
3661 ;; Licence not explicitly stated. Source files contain no licence notices.
3662 ;; Tarball contains text of both GPLv2 and LGPLv2
3663 ;; GPLv2 covers both conditions
3664 (license license:gpl2+)))
3665
3666
3667 (define-public gconf
3668 (package
3669 (name "gconf")
3670 (version "3.2.6")
3671 (source (origin
3672 (method url-fetch)
3673 (uri
3674 (let ((upstream-name "GConf"))
3675 (string-append "mirror://gnome/sources/" upstream-name "/"
3676 (version-major+minor version) "/"
3677 upstream-name "-" version ".tar.xz")))
3678 (sha256
3679 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3680 (build-system gnu-build-system)
3681 (inputs `(("dbus-glib" ,dbus-glib)
3682 ("libxml2" ,libxml2)))
3683 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3684 ("orbit2" ,orbit2)))
3685 (native-inputs
3686 `(("intltool" ,intltool)
3687 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3688 ("pkg-config" ,pkg-config)))
3689 (home-page "https://projects.gnome.org/gconf/")
3690 (synopsis "Store application preferences")
3691 (description "Gconf is a system for storing application preferences. It
3692 is intended for user preferences; not arbitrary data storage.")
3693 (license license:lgpl2.0+)
3694 (properties '((upstream-name . "GConf")))))
3695
3696
3697 (define-public gnome-mime-data
3698 (package
3699 (name "gnome-mime-data")
3700 (version "2.18.0")
3701 (source (origin
3702 (method url-fetch)
3703 (uri (string-append "mirror://gnome/sources/" name "/"
3704 (version-major+minor version) "/"
3705 name "-" version ".tar.bz2"))
3706 (sha256
3707 (base32
3708 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3709 (build-system gnu-build-system)
3710 (native-inputs
3711 `(("perl" ,perl)
3712 ("intltool" ,intltool)))
3713 (arguments
3714 '(#:phases (modify-phases %standard-phases
3715 (add-after 'configure 'use-our-intltool
3716 (lambda _
3717 ;; Do not use the bundled intltool commands, which lack
3718 ;; the "dotless @INC" fixes of our 'intltool' package.
3719 (substitute* (find-files "." "^Makefile$")
3720 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3721 (string-append "INTLTOOL_" tool " = intltool-"
3722 (string-downcase tool) "\n")))
3723 #t)))))
3724 (home-page "https://www.gnome.org")
3725 (synopsis "Base MIME and Application database for GNOME")
3726 (description "GNOME Mime Data is a module which contains the base MIME
3727 and Application database for GNOME. The data stored by this module is
3728 designed to be accessed through the MIME functions in GnomeVFS.")
3729 (license license:gpl2+)))
3730
3731
3732 (define-public gnome-vfs
3733 (package
3734 (name "gnome-vfs")
3735 (version "2.24.4")
3736 (source (origin
3737 (method url-fetch)
3738 (uri (string-append "mirror://gnome/sources/" name "/"
3739 (version-major+minor version) "/"
3740 name "-" version ".tar.bz2"))
3741 (sha256
3742 (base32
3743 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3744 (build-system gnu-build-system)
3745 (arguments
3746 `(#:phases
3747 (modify-phases %standard-phases
3748 (add-before 'configure 'ignore-deprecations
3749 (lambda _
3750 (substitute* '("libgnomevfs/Makefile.in"
3751 "daemon/Makefile.in")
3752 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3753 #t))
3754 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3755 (lambda _
3756 (substitute* "test/test-async-cancel.c"
3757 (("EXIT_FAILURE") "77"))
3758 #t)))))
3759 (inputs `(("libxml2" ,libxml2)
3760 ("dbus-glib" ,dbus-glib)
3761 ("gconf" ,gconf)
3762 ("gnome-mime-data" ,gnome-mime-data)
3763 ("zlib" ,zlib)))
3764 (native-inputs
3765 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3766 ("intltool" ,intltool)
3767 ("pkg-config" ,pkg-config)))
3768 (home-page "https://developer.gnome.org/gnome-vfs/")
3769 (synopsis "Access files and folders in GNOME applications")
3770 (description
3771 "GnomeVFS is the core library used to access files and folders in GNOME
3772 applications. It provides a file system abstraction which allows applications
3773 to access local and remote files with a single consistent API.")
3774 (license license:lgpl2.0+)))
3775
3776
3777
3778 (define-public libgnome
3779 (package
3780 (name "libgnome")
3781 (version "2.32.1")
3782 (source (origin
3783 (method url-fetch)
3784 (uri (string-append "mirror://gnome/sources/" name "/"
3785 (version-major+minor version) "/"
3786 name "-" version ".tar.bz2"))
3787 (sha256
3788 (base32
3789 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3790 (patches (search-patches "libgnome-encoding.patch"))))
3791 (build-system gnu-build-system)
3792 (arguments
3793 `(#:phases
3794 (modify-phases %standard-phases
3795 (add-before 'configure 'enable-deprecated
3796 (lambda _
3797 (substitute* "libgnome/Makefile.in"
3798 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3799 #t)))))
3800 (inputs `(("libxml2" ,libxml2)))
3801 (native-inputs
3802 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3803 ("intltool" ,intltool)
3804 ("pkg-config" ,pkg-config)))
3805 ;; The following are listed as Required in the .pc file
3806 ;; (except for libcanberra -- which seems to be oversight on the part
3807 ;; of the upstream developers -- anything that links against libgnome,
3808 ;; must also link against libcanberra
3809 (propagated-inputs
3810 `(("libcanberra" ,libcanberra)
3811 ("libbonobo" ,libbonobo)
3812 ("gconf" ,gconf)
3813 ("gnome-vfs" ,gnome-vfs)
3814 ("popt" ,popt))) ;gnome-program.h includes popt.h
3815 (home-page "https://developer.gnome.org/libgnome/")
3816 (synopsis "Useful routines for building applications")
3817 (description "The libgnome library provides a number of useful routines
3818 for building modern applications, including session management, activation of
3819 files and URIs, and displaying help.")
3820 (license license:lgpl2.0+)))
3821
3822
3823 (define-public libart-lgpl
3824 (package
3825 (name "libart-lgpl")
3826 (version "2.3.21")
3827 (source (origin
3828 (method url-fetch)
3829 (uri (let ((upstream-name "libart_lgpl"))
3830 (string-append "mirror://gnome/sources/" upstream-name "/"
3831 (version-major+minor version) "/"
3832 upstream-name "-" version ".tar.bz2")))
3833 (sha256
3834 (base32
3835 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3836 (build-system gnu-build-system)
3837 (native-inputs
3838 `(("pkg-config" ,pkg-config)))
3839 (home-page "https://people.gnome.org/~mathieu/libart")
3840 (synopsis "2D drawing library")
3841 (description "Libart is a 2D drawing library intended as a
3842 high-quality vector-based 2D library with antialiasing and alpha composition.")
3843 (license license:lgpl2.0+)))
3844
3845
3846
3847 (define-public libgnomecanvas
3848 (package
3849 (name "libgnomecanvas")
3850 (version "2.30.3")
3851 (source (origin
3852 (method url-fetch)
3853 (uri (string-append "mirror://gnome/sources/" name "/"
3854 (version-major+minor version) "/"
3855 name "-" version ".tar.gz"))
3856 (sha256
3857 (base32
3858 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3859 (build-system gnu-build-system)
3860 ;; Mentioned as Required in the .pc file
3861 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3862 ("gtk+" ,gtk+-2)))
3863 (native-inputs
3864 `(("intltool" ,intltool)
3865 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3866 ("pkg-config" ,pkg-config)))
3867 (home-page "https://developer.gnome.org/libgnomecanvas/")
3868 (synopsis "Flexible widget for creating interactive structured graphics")
3869 (description "The GnomeCanvas widget provides a flexible widget for
3870 creating interactive structured graphics.")
3871 (license license:lgpl2.0+)))
3872
3873 (define-public libgnomecanvasmm
3874 (package
3875 (name "libgnomecanvasmm")
3876 (version "2.26.0")
3877 (source (origin
3878 (method url-fetch)
3879 (uri (string-append "mirror://gnome/sources/" name "/"
3880 (version-major+minor version) "/"
3881 name "-" version ".tar.bz2"))
3882 (sha256
3883 (base32
3884 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3885 (build-system gnu-build-system)
3886 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3887 (native-inputs
3888 `(("gtkmm-2" ,gtkmm-2)
3889 ("pkg-config" ,pkg-config)))
3890 (home-page "https://gtkmm.org")
3891 (synopsis "C++ bindings to the GNOME Canvas library")
3892 (description "C++ bindings to the GNOME Canvas library.")
3893 (license license:lgpl2.0+)))
3894
3895 (define-public libgnomeui
3896 (package
3897 (name "libgnomeui")
3898 (version "2.24.5")
3899 (source (origin
3900 (method url-fetch)
3901 (uri (string-append "mirror://gnome/sources/" name "/"
3902 (version-major+minor version) "/"
3903 name "-" version ".tar.bz2"))
3904 (patches (search-patches "libgnomeui-utf8.patch"))
3905 (sha256
3906 (base32
3907 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3908 (build-system gnu-build-system)
3909 ;; Mentioned as Required in the .pc file
3910 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3911 ("libgnome" ,libgnome)
3912 ("libgnomecanvas" ,libgnomecanvas)
3913 ("libgnome-keyring" ,libgnome-keyring)))
3914 (inputs `(("libjpeg" ,libjpeg-turbo)
3915 ("popt" ,popt)
3916 ("libbonobo" ,libbonobo)
3917 ("libxml2" ,libxml2)
3918 ("libglade" ,libglade)))
3919 (native-inputs
3920 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3921 ("intltool" ,intltool)
3922 ("pkg-config" ,pkg-config)))
3923 (home-page "https://developer.gnome.org/libgnomeui/")
3924 (synopsis "Additional widgets for applications")
3925 (description "The libgnomeui library provides additional widgets for
3926 applications. Many of the widgets from libgnomeui have already been
3927 ported to GTK+.")
3928 (license license:lgpl2.0+)))
3929
3930 (define-public libglade
3931 (package
3932 (name "libglade")
3933 (version "2.6.4")
3934 (source (origin
3935 (method url-fetch)
3936 (uri (string-append "mirror://gnome/sources/" name "/"
3937 (version-major+minor version) "/"
3938 name "-" version ".tar.bz2"))
3939 (sha256
3940 (base32
3941 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3942 (build-system gnu-build-system)
3943 (inputs
3944 `(("python" ,python))) ;; needed for the optional libglade-convert program
3945 (propagated-inputs
3946 `(("gtk+-2" ,gtk+-2)
3947 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3948 (native-inputs
3949 `(("pkg-config" ,pkg-config)))
3950 (home-page "https://developer.gnome.org/libglade")
3951 (synopsis "Load glade interfaces and access the glade built widgets")
3952 (description "Libglade is a library that provides interfaces for loading
3953 graphical interfaces described in glade files and for accessing the
3954 widgets built in the loading process.")
3955 (license license:gpl2+))) ; This is correct. GPL not LGPL
3956
3957 (define-public libgnomeprint
3958 ;; This library has been deprecated since 2006; see
3959 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3960 (package
3961 (name "libgnomeprint")
3962 (version "2.18.8")
3963 (source (origin
3964 (method url-fetch)
3965 (uri (string-append "mirror://gnome/sources/" name "/"
3966 (version-major+minor version) "/"
3967 name "-" version ".tar.bz2"))
3968 (sha256
3969 (base32
3970 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3971 (build-system gnu-build-system)
3972 (inputs
3973 `(("popt" ,popt)
3974 ("libart-lgpl" ,libart-lgpl)
3975 ("gtk+" ,gtk+-2)
3976 ("libxml2" ,libxml2)))
3977 (native-inputs
3978 `(("intltool" ,intltool)
3979 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3980 ("pkg-config" ,pkg-config)))
3981 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3982 (synopsis "Printing framework for GNOME")
3983 (description
3984 "GNOME-print was a printing framework for GNOME. It has been deprecated
3985 since ca. 2006, when GTK+ itself incorporated printing support.")
3986 (license license:lgpl2.0+)))
3987
3988
3989 (define-public libgnomeprintui
3990 ;; Deprecated; see libgnomeprint.
3991 (package
3992 (name "libgnomeprintui")
3993 (version "2.18.6")
3994 (source (origin
3995 (method url-fetch)
3996 (uri (string-append "mirror://gnome/sources/" name "/"
3997 (version-major+minor version) "/"
3998 name "-" version ".tar.bz2"))
3999 (sha256
4000 (base32
4001 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4002 (build-system gnu-build-system)
4003 ;; Mentioned as Required in the .pc file
4004 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4005 (inputs `(("gtk+" ,gtk+-2)
4006 ("glib" ,glib)
4007 ("gnome-icon-theme" ,gnome-icon-theme)
4008 ("libgnomecanvas" ,libgnomecanvas)
4009 ("libxml2" ,libxml2)))
4010 (native-inputs
4011 `(("intltool" ,intltool)
4012 ("pkg-config" ,pkg-config)))
4013 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4014 (synopsis "Printing framework for GNOME")
4015 (description (package-description libgnomeprint))
4016 (license license:lgpl2.0+)))
4017
4018 (define-public libbonoboui
4019 (package
4020 (name "libbonoboui")
4021 (version "2.24.5")
4022 (source (origin
4023 (method url-fetch)
4024 (uri (string-append "mirror://gnome/sources/" name "/"
4025 (version-major+minor version) "/"
4026 name "-" version ".tar.bz2"))
4027 (sha256
4028 (base32
4029 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4030 (build-system gnu-build-system)
4031 (arguments
4032 `(#:phases
4033 (modify-phases %standard-phases
4034 (add-before 'check 'start-xserver
4035 (lambda* (#:key inputs #:allow-other-keys)
4036 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4037 (disp ":1"))
4038
4039 (setenv "HOME" (getcwd))
4040 (setenv "DISPLAY" disp)
4041 ;; There must be a running X server and make check doesn't start one.
4042 ;; Therefore we must do it.
4043 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4044 ;; Mentioned as Required by the .pc file
4045 (propagated-inputs `(("libxml2" ,libxml2)))
4046 (inputs
4047 `(("popt" ,popt)
4048 ("pangox-compat" ,pangox-compat)
4049 ("libgnome" ,libgnome)
4050 ("libgnomecanvas" ,libgnomecanvas)
4051 ("libglade" ,libglade)))
4052 (native-inputs
4053 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4054 ("intltool" ,intltool)
4055 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4056 ("pkg-config" ,pkg-config)))
4057 (home-page "https://developer.gnome.org/libbonoboui/")
4058 (synopsis "Some user interface controls using Bonobo")
4059 (description "The Bonobo UI library provides a number of user interface
4060 controls using the Bonobo component framework.")
4061 (license license:lgpl2.0+)))
4062
4063 (define-public libwnck
4064 (package
4065 (name "libwnck")
4066 (version "3.32.0")
4067 (source (origin
4068 (method url-fetch)
4069 (uri (string-append "mirror://gnome/sources/" name "/"
4070 (version-major+minor version) "/"
4071 name "-" version ".tar.xz"))
4072 (sha256
4073 (base32
4074 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4075 (build-system meson-build-system)
4076 (native-inputs
4077 `(("pkg-config" ,pkg-config)
4078 ("glib" ,glib "bin") ; for glib-mkenums
4079 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4080 ("intltool" ,intltool)))
4081 (propagated-inputs
4082 `(("gtk+" ,gtk+)
4083 ("libxres" ,libxres)
4084 ("startup-notification" ,startup-notification)))
4085 (home-page "https://developer.gnome.org/libwnck/")
4086 (synopsis "Window Navigator Construction Kit")
4087 (description
4088 "Libwnck is the Window Navigator Construction Kit, a library for use in
4089 writing pagers, tasklists, and more generally applications that are dealing
4090 with window management. It tries hard to respect the Extended Window Manager
4091 Hints specification (EWMH).")
4092 (license license:lgpl2.0+)))
4093
4094 ;; stable version for gtk2, required by xfwm4.
4095 (define-public libwnck-2
4096 (package (inherit libwnck)
4097 (name "libwnck")
4098 (version "2.30.7")
4099 (source (origin
4100 (method url-fetch)
4101 (uri (string-append "mirror://gnome/sources/" name "/"
4102 (version-major+minor version) "/"
4103 name "-" version ".tar.xz"))
4104 (sha256
4105 (base32
4106 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4107 (build-system gnu-build-system)
4108 (native-inputs
4109 `(("pkg-config" ,pkg-config)
4110 ("intltool" ,intltool)))
4111 (propagated-inputs
4112 `(("gtk+" ,gtk+-2)
4113 ("libxres" ,libxres)
4114 ("startup-notification" ,startup-notification)))))
4115
4116 (define-public goffice
4117 (package
4118 (name "goffice")
4119 (version "0.10.49")
4120 (source (origin
4121 (method url-fetch)
4122 (uri (string-append "mirror://gnome/sources/goffice/"
4123 (version-major+minor version) "/"
4124 "goffice-" version ".tar.xz"))
4125 (sha256
4126 (base32 "1s87ngs3g3nfvcn96aq4lgzx5cscbfg4n9f6ns2zpvc5ngdiiz2z"))))
4127 (build-system gnu-build-system)
4128 (outputs '("out"
4129 "doc")) ; 4.0 MiB of gtk-doc
4130 (arguments
4131 '(#:configure-flags (list (string-append "--with-html-dir="
4132 (assoc-ref %outputs "doc")
4133 "/share/gtk-doc/html"))))
4134 (inputs
4135 `(("gtk+" ,gtk+)
4136 ("libgsf" ,libgsf)
4137 ("librsvg" ,librsvg)
4138 ("libxslt" ,libxslt)
4139 ("libxml2" ,libxml2)))
4140 (native-inputs
4141 `(("intltool" ,intltool)
4142 ("glib" ,glib "bin")
4143 ("pkg-config" ,pkg-config)))
4144 (home-page "https://developer.gnome.org/goffice/")
4145 (synopsis "Document-centric objects and utilities")
4146 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4147 (license
4148 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4149 ;; Note: NOT LGPL
4150 (list license:gpl2 license:gpl3))))
4151
4152 (define-public goffice-0.8
4153 (package (inherit goffice)
4154 (version "0.8.17")
4155 (source (origin
4156 (method url-fetch)
4157 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4158 (version-major+minor version) "/"
4159 (package-name goffice) "-" version ".tar.xz"))
4160 (sha256
4161 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4162 (arguments
4163 `(#:phases
4164 (modify-phases %standard-phases
4165 (add-after 'unpack 'fix-pcre-check
4166 (lambda _
4167 ;; Only glib.h can be included directly. See
4168 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4169 (substitute* "configure"
4170 (("glib/gregex\\.h") "glib.h")) #t)))
4171
4172 ,@(package-arguments goffice)))
4173 (propagated-inputs
4174 ;; libgoffice-0.8.pc mentions libgsf-1
4175 `(("libgsf" ,libgsf)))
4176 (inputs
4177 `(("gtk" ,gtk+-2)
4178 ,@(alist-delete "gtk" (package-inputs goffice))))))
4179
4180 (define-public gnumeric
4181 (package
4182 (name "gnumeric")
4183 (version "1.12.49")
4184 (source (origin
4185 (method url-fetch)
4186 (uri (string-append "mirror://gnome/sources/gnumeric/"
4187 (version-major+minor version) "/"
4188 "gnumeric-" version ".tar.xz"))
4189 (sha256
4190 (base32
4191 "0mzdhhpa7kwkc51l344g6vgqwaxkjdf03s7zasqh0bn3jpn75h4i"))))
4192 (build-system glib-or-gtk-build-system)
4193 (arguments
4194 `(;; The gnumeric developers don't worry much about failing tests.
4195 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4196 #:tests? #f
4197 #:phases
4198 (modify-phases %standard-phases
4199 (add-before
4200 'configure 'pre-conf
4201 (lambda* (#:key outputs #:allow-other-keys)
4202 ;; Make install tries to write into the directory of goffice
4203 ;; I am informed that this only affects the possibility to embed a
4204 ;; spreadsheet inside an Abiword document. So presumably when we
4205 ;; package Abiword we'll have to refer it to this directory.
4206 (substitute* "configure"
4207 (("^GOFFICE_PLUGINS_DIR=.*")
4208 (string-append "GOFFICE_PLUGINS_DIR="
4209 (assoc-ref outputs "out")
4210 "/goffice/plugins"))))))))
4211 (inputs
4212 `(("glib" ,glib)
4213 ("gtk+" ,gtk+)
4214 ("goffice" ,goffice)
4215 ("libgsf" ,libgsf)
4216 ("librsvg" ,librsvg)
4217 ("libxml2" ,libxml2)
4218 ("libxslt" ,libxslt)
4219 ("python" ,python)
4220 ("python-pygobject" ,python-pygobject)
4221 ("zlib" ,zlib)))
4222 (native-inputs
4223 `(("bison" ,bison)
4224 ("docbook-xml" ,docbook-xml)
4225 ("intltool" ,intltool)
4226 ("itstool" ,itstool)
4227 ("glib:bin" ,glib "bin")
4228 ("pkg-config" ,pkg-config)))
4229 (home-page "http://www.gnumeric.org")
4230 (synopsis "Spreadsheet application")
4231 (description
4232 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4233 interoperable with other spreadsheet applications. It has a vast array of
4234 features beyond typical spreadsheet functionality, such as support for linear
4235 and non-linear solvers, statistical analysis, and telecommunication
4236 engineering.")
4237 (license
4238 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4239 (list license:gpl2 license:gpl3))))
4240
4241 (define-public drawing
4242 (package
4243 (name "drawing")
4244 (version "0.6.5")
4245 (source
4246 (origin
4247 (method git-fetch)
4248 (uri (git-reference
4249 (url "https://github.com/maoschanz/drawing")
4250 (commit version)))
4251 (file-name (git-file-name name version))
4252 (sha256
4253 (base32 "1kfgmalakifcvzhzss9zhmqjbdk24zr22c5xwkkahlvfcafp13wn"))))
4254 (build-system meson-build-system)
4255 (arguments
4256 `(#:glib-or-gtk? #t
4257 #:phases
4258 (modify-phases %standard-phases
4259 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4260 (lambda* (#:key outputs #:allow-other-keys)
4261 (let ((prog (string-append (assoc-ref outputs "out")
4262 "/bin/drawing"))
4263 (pylib (string-append (assoc-ref outputs "out")
4264 "/lib/python"
4265 ,(version-major+minor
4266 (package-version python))
4267 "/site-packages")))
4268 (wrap-program prog
4269 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
4270 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4271 #t))))))
4272 (native-inputs
4273 `(("desktop-file-utils" ,desktop-file-utils)
4274 ("gettext" ,gettext-minimal)
4275 ("glib:bin" ,glib "bin")
4276 ("gobject-introspection" ,gobject-introspection)
4277 ("gtk+:bin" ,gtk+ "bin")
4278 ("pkg-config" ,pkg-config)))
4279 (inputs
4280 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
4281 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4282 ("gtk+" ,gtk+)
4283 ("pango" ,pango)
4284 ("python-pycairo" ,python-pycairo)
4285 ("python-pygobject" ,python-pygobject)))
4286 (home-page "https://maoschanz.github.io/drawing/")
4287 (synopsis "Basic image editor for GNOME")
4288 (description
4289 "Drawing is a basic image editor aiming at the GNOME desktop.")
4290 (license license:gpl3+)))
4291
4292 (define-public gnome-themes-standard
4293 (package
4294 (name "gnome-themes-standard")
4295 (version "3.22.3")
4296 (source
4297 (origin
4298 (method url-fetch)
4299 (uri (string-append "mirror://gnome/sources/" name "/"
4300 (version-major+minor version) "/" name "-"
4301 version ".tar.xz"))
4302 (sha256
4303 (base32
4304 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4305 (build-system gnu-build-system)
4306 (arguments
4307 '(#:configure-flags
4308 ;; Don't create 'icon-theme.cache'.
4309 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4310 (true (string-append coreutils "/bin/true")))
4311 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4312 (inputs
4313 `(("gtk+" ,gtk+)
4314 ("gtk+-2" ,gtk+-2)
4315 ("librsvg" ,librsvg)
4316 ("libxml2" ,libxml2)
4317 ("glib" ,glib)))
4318 (native-inputs
4319 `(("intltool" ,intltool)
4320 ("glib:bin" ,glib "bin")
4321 ("pkg-config" ,pkg-config)))
4322 (home-page "https://launchpad.net/gnome-themes-standard")
4323 (synopsis "Default GNOME 3 themes")
4324 (description
4325 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4326 (license license:lgpl2.1+)))
4327
4328 (define-public seahorse
4329 (package
4330 (name "seahorse")
4331 (version "3.36.2")
4332 (source
4333 (origin
4334 (method url-fetch)
4335 (uri (string-append "mirror://gnome/sources/" name "/"
4336 (version-major+minor version) "/" name "-"
4337 version ".tar.xz"))
4338 (sha256
4339 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4340 (build-system meson-build-system)
4341 (arguments
4342 '(#:glib-or-gtk? #t
4343 #:phases
4344 (modify-phases %standard-phases
4345 (add-after 'unpack 'skip-gtk-update-icon-cache
4346 ;; Don't create 'icon-theme.cache'.
4347 (lambda _
4348 (substitute* "build-aux/meson_post_install.py"
4349 (("gtk-update-icon-cache") "true"))
4350 #t)))))
4351 (inputs
4352 `(("gtk+" ,gtk+)
4353 ("gcr" ,gcr)
4354 ("gnupg" ,gnupg)
4355 ("gpgme" ,gpgme)
4356 ("openldap" ,openldap)
4357 ("openssh" ,openssh)
4358 ("avahi" ,avahi)
4359 ("libhandy" ,libhandy-0.0)
4360 ("libpwquality" ,libpwquality)
4361 ("libsecret" ,libsecret)
4362 ("libsoup" ,libsoup)))
4363 (native-inputs
4364 `(("gettext" ,gettext-minimal)
4365 ("glib:bin" ,glib "bin")
4366 ("itstool" ,itstool)
4367 ("pkg-config" ,pkg-config)
4368 ("vala" ,vala)
4369 ("xmllint" ,libxml2)))
4370 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4371 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4372 (description
4373 "Seahorse is a GNOME application for managing encryption keys and
4374 passwords in the GNOME keyring.")
4375 (license license:gpl2+)))
4376
4377 (define-public vala
4378 (package
4379 (name "vala")
4380 (version "0.46.5")
4381 (source (origin
4382 (method url-fetch)
4383 (uri (string-append "mirror://gnome/sources/" name "/"
4384 (version-major+minor version) "/"
4385 name "-" version ".tar.xz"))
4386 (sha256
4387 (base32
4388 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4389 (build-system gnu-build-system)
4390 (arguments
4391 '(#:phases
4392 (modify-phases %standard-phases
4393 (add-before 'check 'pre-check
4394 (lambda _
4395 (setenv "CC" "gcc")
4396 (substitute* "valadoc/tests/testrunner.sh"
4397 (("export PKG_CONFIG_PATH=" m)
4398 (string-append m "$PKG_CONFIG_PATH:")))
4399 ;; For missing '/etc/machine-id'.
4400 (setenv "DBUS_FATAL_WARNINGS" "0")
4401 #t)))))
4402 (native-inputs
4403 `(("pkg-config" ,pkg-config)
4404 ("flex" ,flex)
4405 ("bison" ,bison)
4406 ("xsltproc" ,libxslt)
4407 ("dbus" ,dbus) ; for dbus tests
4408 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4409 (inputs
4410 `(("graphviz" ,graphviz)))
4411 (propagated-inputs
4412 `(("glib" ,glib))) ; required by libvala-0.40.pc
4413 (home-page "https://wiki.gnome.org/Projects/Vala/")
4414 (synopsis "Compiler for the GObject type system")
4415 (description
4416 "Vala is a programming language that aims to bring modern programming
4417 language features to GNOME developers without imposing any additional runtime
4418 requirements and without using a different ABI compared to applications and
4419 libraries written in C.")
4420 (license license:lgpl2.1+)))
4421
4422 (define-public vala-0.50
4423 (package
4424 (inherit vala)
4425 (version "0.50.2")
4426 (source (origin
4427 (method url-fetch)
4428 (uri (string-append "mirror://gnome/sources/vala/"
4429 (version-major+minor version) "/"
4430 "vala-" version ".tar.xz"))
4431 (sha256
4432 (base32
4433 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4434
4435 (define-public vte
4436 (package
4437 (name "vte")
4438 (version "0.60.3")
4439 (source (origin
4440 (method url-fetch)
4441 (uri (string-append "mirror://gnome/sources/vte/"
4442 (version-major+minor version) "/"
4443 "vte-" version ".tar.xz"))
4444 (sha256
4445 (base32
4446 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4447 (build-system meson-build-system)
4448 (arguments
4449 `(#:configure-flags
4450 '("-Dvapi=true"
4451 "-D_systemd=false")))
4452 (native-inputs
4453 `(("pkg-config" ,pkg-config)
4454 ("gettext" ,gettext-minimal)
4455 ("vala" ,vala)
4456 ("gobject-introspection" ,gobject-introspection)
4457 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4458 ("gperf" ,gperf)
4459 ("xmllint" ,libxml2)))
4460 (propagated-inputs
4461 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4462 ("gnutls" ,gnutls) ; ditto
4463 ("pcre2" ,pcre2))) ; ditto
4464 (home-page "https://www.gnome.org/")
4465 (synopsis "Virtual Terminal Emulator")
4466 (description
4467 "VTE is a library (libvte) implementing a terminal emulator widget for
4468 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4469 gnome-terminal, but can also be used to embed a console/terminal in games,
4470 editors, IDEs, etc.")
4471 (license license:lgpl2.1+)))
4472
4473 (define-public vte-ng
4474 (package
4475 (inherit vte)
4476 (name "vte-ng")
4477 (version "0.58.2.a")
4478 (home-page "https://github.com/thestinger/vte-ng")
4479 (source (origin
4480 (method git-fetch)
4481 (uri (git-reference (url home-page) (commit version)))
4482 (file-name (git-file-name name version))
4483 (sha256
4484 (base32
4485 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4486 (build-system meson-build-system)
4487 (native-inputs
4488 `(("gtk-doc" ,gtk-doc/stable)
4489 ,@(package-native-inputs vte)))
4490 (arguments
4491 `(#:configure-flags '("-Ddocs=true")))
4492 (synopsis "Enhanced VTE terminal widget")
4493 (description
4494 "VTE is a library (libvte) implementing a terminal emulator widget for
4495 GTK+, this fork provides additional functions exposed for keyboard text
4496 selection and URL hints.")))
4497
4498 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4499 (define-public vte/gtk+-2
4500 (package (inherit vte)
4501 (name "vte")
4502 (version "0.28.2")
4503 (source (origin
4504 (method url-fetch)
4505 (uri (string-append "mirror://gnome/sources/" name "/"
4506 (version-major+minor version) "/"
4507 name "-" version ".tar.xz"))
4508 (sha256
4509 (base32
4510 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4511 (patches (search-patches
4512 "vte-CVE-2012-2738-pt1.patch"
4513 "vte-CVE-2012-2738-pt2.patch"))))
4514 (build-system gnu-build-system)
4515 (arguments
4516 '(#:configure-flags '("--disable-python")))
4517 (native-inputs
4518 `(("pkg-config" ,pkg-config)
4519 ("intltool" ,intltool)
4520 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4521 (propagated-inputs
4522 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4523 ("ncurses" ,ncurses))))) ; required by libvte.la
4524
4525 (define-public vinagre
4526 (package
4527 (name "vinagre")
4528 (version "3.22.0")
4529 (source (origin
4530 (method url-fetch)
4531 (uri (string-append "mirror://gnome/sources/" name "/"
4532 (version-major+minor version) "/"
4533 name "-" version ".tar.xz"))
4534 (patches (search-patches "vinagre-newer-freerdp.patch"
4535 "vinagre-newer-rdp-parameters.patch"))
4536 (sha256
4537 (base32
4538 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4539 (build-system glib-or-gtk-build-system)
4540 (arguments
4541 ;; Disable -Werror and such, to avoid build failures on compilation
4542 ;; warnings.
4543 '(#:configure-flags '("--enable-compile-warnings=minimum")
4544 #:phases
4545 (modify-phases %standard-phases
4546 (add-before 'install 'skip-gtk-update-icon-cache
4547 (lambda _
4548 ;; Don't create 'icon-theme.cache'
4549 (substitute* (find-files "." "^Makefile$")
4550 (("gtk-update-icon-cache") (which "true")))
4551 #t))
4552 (add-after 'unpack 'patch-configure
4553 (lambda _
4554 (substitute* "configure"
4555 (("freerdp") "freerdp2"))
4556 #t)))))
4557 (native-inputs
4558 `(("pkg-config" ,pkg-config)
4559 ("intltool" ,intltool)
4560 ("itstool" ,itstool)
4561 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4562 (inputs
4563 `(("libxml2" ,libxml2)
4564 ("gtk-vnc" ,gtk-vnc)
4565 ("gnome-keyring" ,gnome-keyring)
4566 ("libsecret" ,libsecret)
4567 ("freerdp" ,freerdp)
4568 ("spice" ,spice)
4569 ("spice-gtk" ,spice-gtk)
4570 ("telepathy-glib" ,telepathy-glib)
4571 ("vte" ,vte)))
4572 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4573 (synopsis "Remote desktop viewer for GNOME")
4574 (description "Vinagre is a remote display client supporting the VNC, SPICE
4575 and RDP protocols.")
4576 (license license:gpl3+)))
4577
4578 (define-public dconf
4579 (package
4580 (name "dconf")
4581 (version "0.36.0")
4582 (source (origin
4583 (method url-fetch)
4584 (uri (string-append
4585 "mirror://gnome/sources/" name "/"
4586 (version-major+minor version) "/"
4587 name "-" version ".tar.xz"))
4588 (sha256
4589 (base32
4590 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4591 (build-system meson-build-system)
4592 (propagated-inputs
4593 ;; In Requires of dconf.pc.
4594 `(("glib" ,glib)))
4595 (inputs
4596 `(("gtk+" ,gtk+)
4597 ("dbus" ,dbus)))
4598 (native-inputs
4599 `(("bash-completion" ,bash-completion)
4600 ("libxslt" ,libxslt) ;for xsltproc
4601 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4602 ("docbook-xml" ,docbook-xml-4.2)
4603 ("docbook-xsl" ,docbook-xsl)
4604 ("glib:bin" ,glib "bin")
4605 ("gtk-doc" ,gtk-doc/stable)
4606 ("pkg-config" ,pkg-config)
4607 ("vala" ,vala)))
4608 (arguments
4609 `(#:glib-or-gtk? #t
4610 #:configure-flags '("-Denable-gtk-doc=true")
4611 #:phases (modify-phases %standard-phases
4612 (add-after 'unpack 'increase-test-timeout
4613 (lambda _
4614 ;; On big-memory systems, the engine test may take
4615 ;; much longer than the default of 30 seconds.
4616 (substitute* "tests/meson.build"
4617 (("test\\(unit_test\\[0\\], exe" all)
4618 (string-append all ", timeout : 90")))
4619 #t)))))
4620 (home-page "https://developer.gnome.org/dconf/")
4621 (synopsis "Low-level GNOME configuration system")
4622 (description "Dconf is a low-level configuration system. Its main purpose
4623 is to provide a backend to GSettings on platforms that don't already have
4624 configuration storage systems.")
4625 (license license:lgpl2.1+)))
4626
4627 (define-public json-glib
4628 (package
4629 (name "json-glib")
4630 (version "1.4.4")
4631 (source (origin
4632 (method url-fetch)
4633 (uri (string-append "mirror://gnome/sources/" name "/"
4634 (version-major+minor version) "/"
4635 name "-" version ".tar.xz"))
4636 (sha256
4637 (base32
4638 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4639 (build-system meson-build-system)
4640 (native-inputs
4641 `(("gettext" ,gettext-minimal)
4642 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4643 ("gobject-introspection" ,gobject-introspection)
4644 ("pkg-config" ,pkg-config)))
4645 (propagated-inputs
4646 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4647 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4648 (synopsis "Compiler for the GObject type system")
4649 (description
4650 "JSON-GLib is a C library based on GLib providing serialization and
4651 deserialization support for the JavaScript Object Notation (JSON) format
4652 described by RFC 4627. It provides parser and generator GObject classes and
4653 various wrappers for the complex data types employed by JSON, such as arrays
4654 and objects.")
4655 (license license:lgpl2.1+)))
4656
4657 (define-public libxklavier
4658 (package
4659 (name "libxklavier")
4660 (version "5.4")
4661 (source (origin
4662 ;; Note: There's no tarball at ftp.gnome.org for this version.
4663 (method git-fetch)
4664 (uri (git-reference
4665 (url "https://anongit.freedesktop.org/git/libxklavier")
4666 (commit (string-append "libxklavier-" version))))
4667 (sha256
4668 (base32
4669 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4670 (file-name (git-file-name name version))))
4671 (build-system gnu-build-system)
4672 (arguments
4673 '(#:configure-flags
4674 (list (string-append "--with-xkb-base="
4675 (assoc-ref %build-inputs "xkeyboard-config")
4676 "/share/X11/xkb")
4677 "--disable-xmodmap-support")))
4678 (native-inputs
4679 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4680 ("gobject-introspection" ,gobject-introspection)
4681 ("pkg-config" ,pkg-config)
4682 ("gtk-doc" ,gtk-doc/stable)
4683 ("intltool" ,intltool)
4684 ("which" ,which)
4685 ("autoconf" ,autoconf)
4686 ("automake" ,automake)
4687 ("libtool" ,libtool)))
4688 (propagated-inputs
4689 ;; Required by libxklavier.pc.
4690 `(("glib" ,glib)
4691 ("libxml2" ,libxml2)))
4692 (inputs
4693 `(("iso-codes" ,iso-codes)
4694 ("libxi" ,libxi)
4695 ("libxkbfile" ,libxkbfile)
4696 ("xkbcomp" ,xkbcomp)
4697 ("xkeyboard-config" ,xkeyboard-config)))
4698 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4699 (synopsis "High-level API for X Keyboard Extension")
4700 (description
4701 "LibXklavier is a library providing high-level API for X Keyboard
4702 Extension known as XKB. This library is intended to support XFree86 and other
4703 commercial X servers. It is useful for creating XKB-related software (layout
4704 indicators etc).")
4705 (license license:lgpl2.0+)))
4706
4707 (define-public python2-rsvg
4708 ;; XXX: This is actually a subset of gnome-python-desktop.
4709 (package
4710 (name "python2-rsvg")
4711 (version "2.32.0")
4712 (source
4713 (origin
4714 (method url-fetch)
4715 (uri (string-append
4716 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4717 version ".tar.bz2"))
4718 (sha256
4719 (base32
4720 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4721 (build-system gnu-build-system)
4722 (native-inputs
4723 `(("pkg-config" ,pkg-config)))
4724 (inputs
4725 `(("python" ,python-2)
4726 ("python2-pygtk" ,python2-pygtk)
4727 ("librsvg" ,librsvg)))
4728 (home-page "https://www.gnome.org")
4729 (synopsis "Python bindings to librsvg")
4730 (description
4731 "This package provides Python bindings to librsvg, the SVG rendering
4732 library.")
4733
4734 ;; This is the license of the rsvg bindings. The license of each module
4735 ;; of gnome-python-desktop is given in 'COPYING'.
4736 (license license:lgpl2.1+)))
4737
4738 (define-public glib-networking
4739 (package
4740 (name "glib-networking")
4741 (version "2.62.2")
4742 (source (origin
4743 (method url-fetch)
4744 (uri (string-append "mirror://gnome/sources/glib-networking/"
4745 (version-major+minor version) "/"
4746 "glib-networking-" version ".tar.xz"))
4747 (sha256
4748 (base32
4749 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4750 (build-system meson-build-system)
4751 (arguments
4752 `(#:configure-flags '("-Dlibproxy_support=false")))
4753 (native-inputs
4754 `(("pkg-config" ,pkg-config)
4755 ("intltool" ,intltool)))
4756 (inputs
4757 `(("glib" ,glib)
4758 ("gnutls" ,gnutls)
4759 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4760 (home-page "https://www.gnome.org")
4761 (synopsis "Network-related GIO modules")
4762 (description
4763 "This package contains various network related extensions for the GIO
4764 library.")
4765 (license license:lgpl2.0+)))
4766
4767 (define-public rest
4768 (package
4769 (name "rest")
4770 (version "0.8.1")
4771 (source (origin
4772 (method url-fetch)
4773 (uri (string-append "mirror://gnome/sources/rest/"
4774 (version-major+minor version) "/"
4775 name "-" version ".tar.xz"))
4776 (sha256
4777 (base32
4778 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4779 (build-system gnu-build-system)
4780 (arguments
4781 '(#:tests? #f ; tests require internet connection
4782 #:configure-flags
4783 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4784 (native-inputs
4785 `(("glib-mkenums" ,glib "bin")
4786 ("gobject-introspection" ,gobject-introspection)
4787 ("pkg-config" ,pkg-config)))
4788 (propagated-inputs
4789 ;; rest-0.7.pc refers to all these.
4790 `(("glib" ,glib)
4791 ("libsoup" ,libsoup)
4792 ("libxml2" ,libxml2)))
4793 (home-page "https://www.gtk.org/")
4794 (synopsis "RESTful web api query library")
4795 (description
4796 "This library was designed to make it easier to access web services that
4797 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4798 libxml to ease remote use of the RESTful API.")
4799 (license license:lgpl2.1+)))
4800
4801 (define-public libsoup
4802 (package
4803 (name "libsoup")
4804 (version "2.72.0")
4805 (source (origin
4806 (method url-fetch)
4807 (uri (string-append "mirror://gnome/sources/libsoup/"
4808 (version-major+minor version) "/"
4809 "libsoup-" version ".tar.xz"))
4810 (sha256
4811 (base32
4812 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4813 (build-system meson-build-system)
4814 (outputs '("out" "doc"))
4815 (arguments
4816 `(#:modules ((guix build utils)
4817 (guix build meson-build-system)
4818 (ice-9 popen))
4819
4820 #:configure-flags '("-Dgtk_doc=true")
4821 #:phases
4822 (modify-phases %standard-phases
4823 (add-after 'unpack 'patch-docbook-xml
4824 (lambda* (#:key inputs #:allow-other-keys)
4825 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4826 "/xml/dtd/docbook")))
4827 (substitute* (find-files "docs/reference")
4828 (("http://.*/docbookx\\.dtd")
4829 (string-append xmldoc "/docbookx.dtd")))
4830 #t)))
4831 (add-after 'unpack 'adjust-tests
4832 (lambda _
4833 ;; This test fails due to missing /etc/nsswitch.conf
4834 ;; in the build environment.
4835 (substitute* "tests/socket-test.c"
4836 ((".*/sockets/unconnected.*") ""))
4837
4838 ;; These fail because "subdomain.localhost" does not resolve in
4839 ;; the build environment.
4840 (substitute* "tests/hsts-test.c"
4841 ((".*/hsts/basic.*") "")
4842 ((".*/hsts/subdomains.*") "")
4843 ((".*/hsts/superdomain.*") "")
4844 ((".*/hsts/utf8-address.*") ""))
4845 (substitute* "tests/hsts-db-test.c"
4846 ((".*/hsts-db/subdomains.*") ""))
4847
4848 ;; Generate a self-signed certificate that has "localhost" as its
4849 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4850 ;; 3.5.12, tests such as "ssl-tests" fail:
4851 ;;
4852 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4853 ;;
4854 ;; 'certtool' is interactive so we have to pipe it the answers.
4855 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4856 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4857 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4858 (for-each (lambda (line)
4859 (display line pipe)
4860 (newline pipe))
4861 '("" ;Common name
4862 "" ;UID
4863 "Guix" ;Organizational unit name
4864 "GNU" ;Organization name
4865 "" ;Locality name
4866 "" ;State or province
4867 "" ;Country
4868 "" ;subject's domain component (DC)
4869 "" ;E-mail
4870 "" ;serial number
4871 "-1" ;expiration time
4872 "N" ;belong to authority?
4873 "N" ;web client certificate?
4874 "N" ;IPsec IKE?
4875 "Y" ;web server certificate?
4876 "localhost" ;dnsName of subject
4877 "" ;dnsName of subject (end)
4878 "" ;URI of subject
4879 "127.0.0.1" ;IP address of subject
4880 "" ;signing?
4881 "" ;encryption (RSA)?
4882 "" ;data encryption?
4883 "" ;sign OCSP requests?
4884 "" ;sign code?
4885 "" ;time stamping?
4886 "" ;email protection?
4887 "" ;URI of the CRL distribution point
4888 "y" ;above info OK?
4889 ))
4890 (close-pipe pipe))
4891 #t))
4892 (add-after 'install 'move-doc
4893 (lambda* (#:key outputs #:allow-other-keys)
4894 (let ((out (assoc-ref outputs "out"))
4895 (doc (assoc-ref outputs "doc")))
4896 (mkdir-p (string-append doc "/share"))
4897 (copy-recursively (string-append out "/share/gtk-doc")
4898 (string-append doc "/share/gtk-doc"))
4899 (delete-file-recursively (string-append out "/share/gtk-doc"))
4900 #t))))))
4901 (native-inputs
4902 `(("docbook-xml" ,docbook-xml-4.1.2)
4903 ("glib:bin" ,glib "bin") ; for glib-mkenums
4904 ("gobject-introspection" ,gobject-introspection)
4905 ("gtk-doc" ,gtk-doc/stable)
4906 ("intltool" ,intltool)
4907 ("pkg-config" ,pkg-config)
4908 ("python" ,python-wrapper)
4909 ("vala" ,vala)
4910 ("php" ,php)
4911 ("curl" ,curl)
4912 ("gnutls" ,gnutls) ;for 'certtool'
4913 ("httpd" ,httpd)))
4914 (propagated-inputs
4915 ;; libsoup-2.4.pc refers to all these.
4916 `(("brotli" ,google-brotli)
4917 ("glib" ,glib)
4918 ("libpsl" ,libpsl)
4919 ("libxml2" ,libxml2)
4920 ("sqlite" ,sqlite)
4921 ("zlib" ,zlib)))
4922 (inputs
4923 `(("glib-networking" ,glib-networking)
4924 ("mit-krb5" ,mit-krb5)))
4925 (home-page "https://live.gnome.org/LibSoup/")
4926 (synopsis "GLib-based HTTP Library")
4927 (description
4928 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4929 and the GLib main loop, to integrate well with GNOME applications.")
4930 (license license:lgpl2.0+)))
4931
4932
4933 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4934 (define-public libsoup-minimal
4935 (package/inherit libsoup
4936 (name "libsoup-minimal")
4937 (outputs (delete "doc" (package-outputs libsoup)))
4938 (arguments
4939 (substitute-keyword-arguments (package-arguments libsoup)
4940 ((#:configure-flags configure-flags)
4941 `(delete "-Dgtk_doc=true" ,configure-flags))
4942 ((#:phases phases)
4943 `(modify-phases ,phases
4944 (delete 'move-doc)))))
4945 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4946
4947 (define-public libsecret
4948 (package
4949 (name "libsecret")
4950 (version "0.20.4")
4951 (source (origin
4952 (method url-fetch)
4953 (uri (string-append
4954 "mirror://gnome/sources/libsecret/"
4955 (version-major+minor version) "/"
4956 "libsecret-" version ".tar.xz"))
4957 (sha256
4958 (base32
4959 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4960 (build-system gnu-build-system)
4961 (outputs '("out" "doc"))
4962 (arguments
4963 `(#:tests? #f ; FIXME: Testing hangs.
4964 #:configure-flags
4965 (list (string-append "--with-html-dir="
4966 (assoc-ref %outputs "doc")
4967 "/share/gtk-doc/html"))))
4968 (native-inputs
4969 `(("gettext" ,gettext-minimal)
4970 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4971 ("gobject-introspection" ,gobject-introspection)
4972 ("pkg-config" ,pkg-config)
4973 ("vala" ,vala)
4974 ("xsltproc" ,libxslt)))
4975 ;; These are needed for the tests.
4976 ;; FIXME: Add gjs once available.
4977 ;("dbus" ,dbus)
4978 ;("python2" ,python-2)
4979 ;("python2-dbus" ,python2-dbus)
4980 ;("python2-pygobject" ,python2-pygobject)
4981 ;("python2-pygobject-2" ,python2-pygobject-2)))
4982 (propagated-inputs
4983 `(("glib" ,glib))) ; required by libsecret-1.pc
4984 (inputs
4985 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4986 ;; doesn't seem to affect the build result.
4987 `(("docbook-xsl" ,docbook-xsl)
4988 ("libgcrypt" ,libgcrypt)
4989 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4990 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4991 (synopsis "GObject bindings for \"Secret Service\" API")
4992 (description
4993 "Libsecret is a GObject based library for storing and retrieving passwords
4994 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4995 (license license:lgpl2.1+)))
4996
4997 (define-public five-or-more
4998 (package
4999 (name "five-or-more")
5000 (version "3.32.2")
5001 (source
5002 (origin
5003 (method url-fetch)
5004 (uri (string-append "mirror://gnome/sources/five-or-more/"
5005 (version-major+minor version) "/"
5006 "five-or-more-" version ".tar.xz"))
5007 (sha256
5008 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
5009 (build-system meson-build-system)
5010 (arguments
5011 '(#:glib-or-gtk? #t
5012 #:phases
5013 (modify-phases %standard-phases
5014 (add-after 'unpack 'skip-gtk-update-icon-cache
5015 (lambda _
5016 (substitute* "meson_post_install.py"
5017 (("gtk-update-icon-cache") (which "true")))
5018 #t)))))
5019 (native-inputs
5020 `(("pkg-config" ,pkg-config)
5021 ("appstream-glib" ,appstream-glib)
5022 ("desktop-file-utils" ,desktop-file-utils)
5023 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5024 ("intltool" ,intltool)
5025 ("itstool" ,itstool)
5026 ("vala" ,vala)
5027 ("xmllint" ,libxml2)))
5028 (inputs
5029 `(("gtk+" ,gtk+)
5030 ("libgnome-games-support" ,libgnome-games-support)
5031 ("librsvg" ,librsvg)))
5032 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5033 (synopsis "Logic puzzle game")
5034 (description "Five or More is a game where you try to align
5035 five or more objects of the same color and shape causing them to disappear.
5036 On every turn more objects will appear, until the board is full.
5037 Try to last as long as possible.")
5038 (license license:gpl2+)))
5039
5040 (define-public gnome-mines
5041 (package
5042 (name "gnome-mines")
5043 (version "3.36.1")
5044 (source
5045 (origin
5046 (method url-fetch)
5047 (uri (string-append "mirror://gnome/sources/" name "/"
5048 (version-major+minor version) "/"
5049 name "-" version ".tar.xz"))
5050 (sha256
5051 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5052 (build-system meson-build-system)
5053 (arguments
5054 '(#:glib-or-gtk? #t
5055 #:phases
5056 (modify-phases %standard-phases
5057 (add-after 'unpack 'skip-gtk-update-icon-cache
5058 (lambda _
5059 (substitute* "build-aux/meson_post_install.py"
5060 (("gtk-update-icon-cache") (which "true")))
5061 #t)))))
5062 (native-inputs
5063 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5064 ("pkg-config" ,pkg-config)
5065 ("desktop-file-utils" ,desktop-file-utils)
5066 ("intltool" ,intltool)
5067 ("itstool" ,itstool)
5068 ("vala" ,vala)
5069 ("yelp" ,yelp)
5070 ("appstream-glib" ,appstream-glib)))
5071 (inputs
5072 `(("gtk+" ,gtk+)
5073 ("libgnome-games-support" ,libgnome-games-support)
5074 ("librsvg" ,librsvg)))
5075 (home-page "https://wiki.gnome.org/Apps/Mines")
5076 (synopsis "Minesweeper game")
5077 (description
5078 "Mines (previously gnomine) is a puzzle game where you locate mines
5079 floating in an ocean using only your brain and a little bit of luck.")
5080 (license license:gpl2+)))
5081
5082 (define-public gnome-multi-writer
5083 (package
5084 (name "gnome-multi-writer")
5085 (version "3.35.90")
5086 (source
5087 (origin
5088 (method url-fetch)
5089 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5090 (version-major+minor version) "/"
5091 "gnome-multi-writer-" version ".tar.xz"))
5092 (sha256
5093 (base32
5094 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5095 (build-system meson-build-system)
5096 (arguments
5097 '(#:glib-or-gtk? #t
5098 #:phases
5099 (modify-phases %standard-phases
5100 (add-after 'unpack 'skip-post-install
5101 (lambda _
5102 (substitute* "meson.build"
5103 (("meson.add_install_script" &) (string-append "# " &)))
5104 #t)))))
5105 (native-inputs
5106 `(("glib:bin" ,glib "bin")
5107 ("pkg-config" ,pkg-config)))
5108 (inputs
5109 `(("gtk+" ,gtk+)
5110 ("glib" ,glib) ; for gio
5111 ("gusb" ,gusb)
5112 ("udisks" ,udisks)
5113 ("libgudev" ,libgudev)
5114 ("libcanberra" ,libcanberra)
5115 ("polkit" ,polkit)))
5116 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5117 (synopsis "Write to multiple USB devices at once")
5118 (description
5119 "MultiWriter can be used to write an ISO file to multiple USB devices at
5120 once.")
5121 (license license:gpl2+)))
5122
5123 (define-public gnome-sudoku
5124 (package
5125 (name "gnome-sudoku")
5126 (version "3.34.1")
5127 (source
5128 (origin
5129 (method url-fetch)
5130 (uri (string-append "mirror://gnome/sources/" name "/"
5131 (version-major+minor version) "/"
5132 name "-" version ".tar.xz"))
5133 (sha256
5134 (base32
5135 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5136 (build-system meson-build-system)
5137 (arguments
5138 '(#:glib-or-gtk? #t
5139 #:phases
5140 (modify-phases %standard-phases
5141 (add-after 'unpack 'skip-gtk-update-icon-cache
5142 (lambda _
5143 (substitute* "build-aux/post_install.py"
5144 (("gtk-update-icon-cache") (which "true")))
5145 #t)))))
5146 (native-inputs
5147 `(("pkg-config" ,pkg-config)
5148 ("desktop-file-utils" ,desktop-file-utils)
5149 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5150 ("intltool" ,intltool)
5151 ("itstool" ,itstool)
5152 ("vala" ,vala)
5153 ("xmllint" ,libxml2)))
5154 (inputs
5155 `(("gtk+" ,gtk+)
5156 ("json-glib" ,json-glib)
5157 ("libgee" ,libgee)
5158 ("librsvg" ,librsvg)
5159 ("qqwing" ,qqwing)))
5160 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5161 (synopsis "Japanese logic game")
5162 (description
5163 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5164 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5165 possible while still providing features that make playing difficult Sudoku
5166 more fun.")
5167 (license license:gpl2+)))
5168
5169 (define-public gnome-terminal
5170 (package
5171 (name "gnome-terminal")
5172 (version "3.34.2")
5173 (source
5174 (origin
5175 (method url-fetch)
5176 (uri (string-append "mirror://gnome/sources/" name "/"
5177 (version-major+minor version) "/"
5178 name "-" version ".tar.xz"))
5179 (sha256
5180 (base32
5181 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5182 (build-system glib-or-gtk-build-system)
5183 (arguments
5184 '(#:configure-flags
5185 (list "--disable-migration" "--disable-search-provider"
5186 "--without-nautilus-extension")
5187 #:phases
5188 (modify-phases %standard-phases
5189 (add-before 'configure 'patch-/bin/true
5190 (lambda _
5191 (substitute* "configure"
5192 (("/bin/true") (which "true"))))))))
5193 (native-inputs
5194 `(("pkg-config" ,pkg-config)
5195 ("desktop-file-utils" ,desktop-file-utils)
5196 ("intltool" ,intltool)
5197 ("itstool" ,itstool)
5198 ("xmllint" ,libxml2)))
5199 (propagated-inputs
5200 `(("dconf" ,dconf)))
5201 (inputs
5202 `(("gtk+" ,gtk+)
5203 ("vte" ,vte)
5204 ("gnutls" ,gnutls)
5205 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5206 ("util-linux" ,util-linux "lib")
5207 ("vala" ,vala)))
5208 (home-page "https://wiki.gnome.org/Apps/Terminal")
5209 (synopsis "Terminal emulator")
5210 (description
5211 "GNOME Terminal is a terminal emulator application for accessing a
5212 UNIX shell environment which can be used to run programs available on
5213 your system.
5214
5215 It supports several profiles, multiple tabs and implements several
5216 keyboard shortcuts.")
5217 (license license:gpl3+)))
5218
5219 (define-public colord
5220 (package
5221 (name "colord")
5222 (version "1.4.5")
5223 (source
5224 (origin
5225 (method url-fetch)
5226 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5227 "colord-" version ".tar.xz"))
5228 (sha256
5229 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5230 (build-system meson-build-system)
5231 (arguments
5232 '(;; FIXME: One test fails:
5233 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5234 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5235 ;; application/x-zerosize
5236 #:tests? #f
5237 #:glib-or-gtk? #t
5238 #:configure-flags (list "-Dlocalstatedir=/var"
5239 ;; No dep on systemd.
5240 "-Dsystemd=false"
5241 ;; Wants to install to global completion dir;
5242 ;; punt.
5243 "-Dbash_completion=false"
5244 "-Ddaemon_user=colord"
5245 "-Dsane=true"
5246 "-Dvapi=true"
5247 ;; Requires spotread.
5248 "-Dargyllcms_sensor=false"
5249 ;; TODO: Requires docbook2x.
5250 "-Dman=false")
5251 #:phases
5252 (modify-phases %standard-phases
5253 (add-before 'configure 'patch-build-system
5254 (lambda* (#:key outputs #:allow-other-keys)
5255 (substitute* "rules/meson.build"
5256 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5257 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5258 #t))
5259 (add-before 'configure 'set-sqlite3-file-name
5260 (lambda* (#:key inputs #:allow-other-keys)
5261 ;; "colormgr dump" works by invoking the "sqlite3" command.
5262 ;; Record its absolute file name.
5263 (let ((sqlite (assoc-ref inputs "sqlite")))
5264 (substitute* "client/cd-util.c"
5265 (("\"sqlite3\"")
5266 (string-append "\"" sqlite "/bin/sqlite3\"")))
5267 #t))))))
5268 (native-inputs
5269 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5270 ("gettext" ,gettext-minimal)
5271 ("gobject-introspection" ,gobject-introspection)
5272 ("gtk-doc" ,gtk-doc/stable)
5273 ("pkg-config" ,pkg-config)
5274 ("vala" ,vala)))
5275 (propagated-inputs
5276 ;; colord.pc refers to all these.
5277 `(("glib" ,glib)
5278 ("lcms" ,lcms)
5279 ("udev" ,eudev)))
5280 (inputs
5281 `(("dbus-glib" ,dbus-glib)
5282 ("gusb" ,gusb)
5283 ("libgudev" ,libgudev)
5284 ("libusb" ,libusb)
5285 ("polkit" ,polkit)
5286 ("python" ,python-wrapper)
5287 ("sqlite" ,sqlite)
5288 ("sane-backends" ,sane-backends)))
5289 (home-page "https://www.freedesktop.org/software/colord/")
5290 (synopsis "Color management service")
5291 (description "Colord is a system service that makes it easy to manage,
5292 install and generate color profiles to accurately color manage input and
5293 output devices.")
5294 (license license:gpl2+)))
5295
5296 (define-public geoclue
5297 (package
5298 (name "geoclue")
5299 (version "2.5.7")
5300 (source
5301 (origin
5302 (method url-fetch)
5303 (uri
5304 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5305 version "/geoclue-" version ".tar.bz2"))
5306 (sha256
5307 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5308 (patches (search-patches "geoclue-config.patch"))))
5309 (build-system meson-build-system)
5310 (arguments
5311 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5312 (native-inputs
5313 `(("pkg-config" ,pkg-config)
5314 ("gobject-introspection" ,gobject-introspection)
5315 ("modem-manager" ,modem-manager)
5316 ("libnotify" ,libnotify)
5317 ("gtk-doc" ,gtk-doc/stable)
5318 ("intltool" ,intltool)))
5319 (inputs
5320 `(("avahi" ,avahi)
5321 ("glib:bin" ,glib "bin")
5322 ("glib-networking" ,glib-networking)
5323 ("json-glib" ,json-glib)
5324 ("libsoup" ,libsoup)))
5325 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5326 (synopsis "Geolocation service")
5327 (description "Geoclue is a D-Bus service that provides location
5328 information. The primary goal of the Geoclue project is to make creating
5329 location-aware applications as simple as possible, while the secondary goal is
5330 to ensure that no application can access location information without explicit
5331 permission from user.")
5332 (license license:gpl2+)))
5333
5334 (define-public geocode-glib
5335 (package
5336 (name "geocode-glib")
5337 (version "3.26.2")
5338 (source (origin
5339 (method url-fetch)
5340 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5341 (version-major+minor version) "/"
5342 "geocode-glib-" version ".tar.xz"))
5343 (sha256
5344 (base32
5345 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5346 (build-system meson-build-system)
5347 (arguments
5348 `(#:phases
5349 (modify-phases %standard-phases
5350 ;; The tests require a bunch of locales.
5351 (add-before 'check 'set-locales
5352 (lambda* (#:key inputs #:allow-other-keys)
5353 (setenv "GUIX_LOCPATH"
5354 (string-append (assoc-ref inputs "glibc-locales")
5355 "/lib/locale"))
5356 #t)))))
5357 (native-inputs
5358 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5359 ("glibc-locales" ,glibc-locales) ; for tests
5360 ("gettext" ,gettext-minimal)
5361 ("gobject-introspection" ,gobject-introspection)
5362 ("gtk-doc" ,gtk-doc/stable)
5363 ("pkg-config" ,pkg-config)
5364 ("json-glib" ,json-glib)))
5365 (propagated-inputs
5366 ;; geocode-glib-1.0.pc refers to GIO.
5367 `(("glib" ,glib)))
5368 (inputs
5369 `(("libsoup" ,libsoup)))
5370 (home-page "https://github.com/GNOME/geocode-glib/")
5371 (synopsis "Geocoding and reverse-geocoding library")
5372 (description
5373 "geocode-glib is a convenience library for geocoding (finding longitude,
5374 and latitude from an address) and reverse geocoding (finding an address from
5375 coordinates) using the Nominatim service. geocode-glib caches requests for
5376 faster results and to avoid unnecessary server load.")
5377 (license license:lgpl2.0+)))
5378
5379 (define-public upower
5380 (package
5381 (name "upower")
5382 (version "0.99.11")
5383 (source (origin
5384 (method url-fetch)
5385 (uri (string-append "https://upower.freedesktop.org/releases/"
5386 "upower-" version ".tar.xz"))
5387 (sha256
5388 (base32
5389 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5390 (patches (search-patches "upower-builddir.patch"))
5391 (modules '((guix build utils)))
5392 (snippet
5393 '(begin
5394 ;; Upstream commit
5395 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5396 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5397 ;; 'dbus-configuration-directory' in (gnu services dbus)
5398 ;; expects it in etc/. Thus, move it back to its previous
5399 ;; location.
5400 (substitute* "src/Makefile.in"
5401 (("^dbusconfdir =.*$")
5402 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5403 #t))))
5404 (build-system glib-or-gtk-build-system)
5405 (arguments
5406 '(#:phases
5407 (modify-phases %standard-phases
5408 (add-before 'check 'pre-check
5409 (lambda* (#:key inputs #:allow-other-keys)
5410 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5411 "/lib")))
5412 (setenv "LD_LIBRARY_PATH" umockdev))
5413 #t)))
5414 #:configure-flags (list "--localstatedir=/var"
5415 (string-append "--with-udevrulesdir="
5416 (assoc-ref %outputs "out")
5417 "/lib/udev/rules.d"))))
5418 (native-inputs
5419 `(("gobject-introspection" ,gobject-introspection)
5420 ("pkg-config" ,pkg-config)
5421 ("intltool" ,intltool)
5422 ("python" ,python)
5423
5424 ;; For tests.
5425 ("python-dbus" ,python-dbus)
5426 ("python-dbusmock" ,python-dbusmock)
5427 ("python-pygobject" ,python-pygobject)
5428 ("umockdev" ,umockdev)
5429
5430 ;; For man pages.
5431 ("libxslt" ,libxslt) ;for 'xsltproc'
5432 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5433 ("docbook-xsl" ,docbook-xsl)))
5434 (inputs
5435 `(("dbus-glib" ,dbus-glib)
5436 ("libgudev" ,libgudev)
5437 ("libusb" ,libusb)))
5438 (propagated-inputs
5439 ;; In Requires of upower-glib.pc.
5440 `(("glib" ,glib)))
5441 (home-page "https://upower.freedesktop.org/")
5442 (synopsis "System daemon for managing power devices")
5443 (description
5444 "UPower is an abstraction for enumerating power devices,
5445 listening to device events and querying history and statistics. Any
5446 application or service on the system can access the org.freedesktop.UPower
5447 service via the system message bus.")
5448 (license license:gpl2+)))
5449
5450 (define-public libgweather
5451 (package
5452 (name "libgweather")
5453 (version "3.34.0")
5454 (source (origin
5455 (method url-fetch)
5456 (uri (string-append "mirror://gnome/sources/" name "/"
5457 (version-major+minor version) "/"
5458 name "-" version ".tar.xz"))
5459 (sha256
5460 (base32
5461 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5462 (build-system meson-build-system)
5463 (arguments
5464 `(#:tests? #f ; one of two tests requires network access
5465 #:configure-flags
5466 `(,(string-append "-Dzoneinfo_dir="
5467 (assoc-ref %build-inputs "tzdata")
5468 "/share/zoneinfo"))))
5469 (native-inputs
5470 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5471 ("gobject-introspection" ,gobject-introspection)
5472 ("pkg-config" ,pkg-config)
5473 ("vala" ,vala)
5474 ("intltool" ,intltool)))
5475 (propagated-inputs
5476 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5477 ;; libsoup.
5478 `(("gtk+" ,gtk+)
5479 ("gdk-pixbuf" ,gdk-pixbuf)
5480 ("libxml2" ,libxml2)
5481 ("libsoup" ,libsoup)
5482 ("geocode-glib" ,geocode-glib)))
5483 (inputs
5484 `(("tzdata" ,tzdata)))
5485 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5486 (synopsis "Location, time zone, and weather library for GNOME")
5487 (description
5488 "libgweather is a library to access weather information from online
5489 services for numerous locations.")
5490 (license license:gpl2+)))
5491
5492 (define-public gnome-settings-daemon
5493 (package
5494 (name "gnome-settings-daemon")
5495 (version "3.34.1")
5496 (source
5497 (origin
5498 (method url-fetch)
5499 (uri (string-append "mirror://gnome/sources/" name "/"
5500 (version-major+minor version) "/"
5501 name "-" version ".tar.xz"))
5502 (sha256
5503 (base32
5504 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5505 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5506 (build-system meson-build-system)
5507 (arguments
5508 `(#:glib-or-gtk? #t
5509 #:configure-flags
5510 (list (string-append "-Dudev_dir="
5511 (assoc-ref %outputs "out")
5512 "/lib/udev/rules.d/")
5513 "-Dsystemd=false"
5514 ;; Otherwise, the RUNPATH will lack the final path component.
5515 (string-append "-Dc_link_args=-Wl,-rpath="
5516 (assoc-ref %outputs "out")
5517 "/lib/gnome-settings-daemon-3.0"))
5518
5519 #:phases (modify-phases %standard-phases
5520 (add-before 'configure 'set-baobab-file-name
5521 (lambda* (#:key inputs #:allow-other-keys)
5522 ;; Hard-code the file name of Baobab instead of looking
5523 ;; it up in $PATH. This ensures users get the "Examine"
5524 ;; button in the low disk space notification of GDM even
5525 ;; if they don't have GNOME in their main profile.
5526 (let ((baobab (assoc-ref inputs "baobab")))
5527 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5528 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5529 (string-append "g_strdup (\"" baobab
5530 "/bin/baobab\")")))
5531 #t))))
5532
5533 ;; Color management test can't reach the colord system service.
5534 #:tests? #f))
5535 (native-inputs
5536 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5537 ("pkg-config" ,pkg-config)
5538 ("intltool" ,intltool)
5539 ("xsltproc" ,libxslt)
5540 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5541 ("docbook-xml" ,docbook-xml-4.2)
5542 ("docbook-xsl" ,docbook-xsl)))
5543 (inputs
5544 `(("alsa-lib" ,alsa-lib)
5545 ("baobab" ,baobab)
5546 ("colord" ,colord)
5547 ("libgudev" ,libgudev)
5548 ("upower" ,upower)
5549 ("polkit" ,polkit)
5550 ("pulseaudio" ,pulseaudio)
5551 ("libcanberra" ,libcanberra)
5552 ("libx11" ,libx11)
5553 ("libxtst" ,libxtst)
5554 ("lcms" ,lcms)
5555 ("libnotify" ,libnotify)
5556 ("geoclue" ,geoclue)
5557 ("geocode-glib" ,geocode-glib)
5558 ("libgweather" ,libgweather)
5559 ("gnome-desktop" ,gnome-desktop)
5560 ("nss" ,nss)
5561 ("cups" ,cups)
5562 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5563 ("libwacom" ,libwacom)
5564 ("librsvg" ,librsvg)
5565 ("xf86-input-wacom" ,xf86-input-wacom)
5566 ("wayland" ,wayland)
5567 ("network-manager" ,network-manager)
5568 ("gcr" ,gcr)
5569 ("modem-manager" ,modem-manager)))
5570 (home-page "https://www.gnome.org")
5571 (synopsis "GNOME settings daemon")
5572 (description
5573 "This package contains the daemon responsible for setting the various
5574 parameters of a GNOME session and the applications that run under it. It
5575 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5576 settings, themes, mouse settings, and startup of other daemons.")
5577 (license license:gpl2+)))
5578
5579 (define-public totem-pl-parser
5580 (package
5581 (name "totem-pl-parser")
5582 (version "3.26.5")
5583 (source (origin
5584 (method url-fetch)
5585 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5586 (version-major+minor version) "/"
5587 "totem-pl-parser-" version ".tar.xz"))
5588 (sha256
5589 (base32
5590 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5591 (build-system meson-build-system)
5592 (arguments
5593 ;; FIXME: Tests require gvfs.
5594 `(#:tests? #f))
5595 (native-inputs
5596 `(("intltool" ,intltool)
5597 ("glib" ,glib "bin")
5598 ("gobject-introspection" ,gobject-introspection)
5599 ("pkg-config" ,pkg-config)))
5600 (propagated-inputs
5601 `(("glib" ,glib)
5602 ("gmime" ,gmime)
5603 ("libarchive" ,libarchive)
5604 ("libgcrypt" ,libgcrypt)
5605 ("libxml2" ,libxml2)))
5606 (inputs
5607 `(("libsoup" ,libsoup)))
5608 (home-page "https://projects.gnome.org/totem")
5609 (synopsis "Library to parse and save media playlists for GNOME")
5610 (description "Totem-pl-parser is a GObjects-based library to parse and save
5611 playlists in a variety of formats.")
5612 (license license:lgpl2.0+)))
5613
5614 (define-public aisleriot
5615 (package
5616 (name "aisleriot")
5617 (version "3.22.9")
5618 (source (origin
5619 (method url-fetch)
5620 (uri (string-append "mirror://gnome/sources/aisleriot/"
5621 (version-major+minor version) "/"
5622 "aisleriot-" version ".tar.xz"))
5623 (sha256
5624 (base32
5625 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5626 (build-system glib-or-gtk-build-system)
5627 (arguments
5628 '(#:configure-flags
5629 '("--with-platform=gtk-only"
5630 "--with-card-theme-formats=svg")))
5631 (native-inputs
5632 `(("desktop-file-utils" ,desktop-file-utils)
5633 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5634 ("intltool" ,intltool)
5635 ("itstool" ,itstool)
5636 ("pkg-config" ,pkg-config)
5637 ("xmllint" ,libxml2)))
5638 (inputs
5639 `(("gtk+" ,gtk+)
5640 ("guile" ,guile-2.2)
5641 ("libcanberra" ,libcanberra)
5642 ("librsvg" ,librsvg)))
5643 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5644 (synopsis "Solitaire card games")
5645 (description
5646 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5647 which are easy to play with the aid of a mouse.")
5648 (license license:gpl3+)))
5649
5650 (define-public amtk
5651 (package
5652 (name "amtk")
5653 (version "5.0.2")
5654 (source (origin
5655 (method url-fetch)
5656 (uri (string-append "mirror://gnome/sources/amtk/"
5657 (version-major+minor version) "/"
5658 "amtk-" version ".tar.xz"))
5659 (sha256
5660 (base32
5661 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5662 (build-system gnu-build-system)
5663 (arguments
5664 '(#:configure-flags '("--enable-gtk-doc")))
5665 (native-inputs
5666 `(("gobject-introspection" ,gobject-introspection)
5667 ("glib:bin" ,glib "bin") ; for glib-mkenums
5668 ("gtk-doc" ,gtk-doc/stable)
5669 ("pkg-config" ,pkg-config)))
5670 (inputs
5671 `(("glib" ,glib)
5672 ("gtk+" ,gtk+)))
5673 (home-page "https://wiki.gnome.org/Projects/Amtk")
5674 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5675 (description
5676 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5677 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5678 both a traditional UI or a modern UI with a GtkHeaderBar.")
5679 (license license:lgpl2.1+)))
5680
5681 (define-public devhelp
5682 (package
5683 (name "devhelp")
5684 (version "3.34.0")
5685 (source (origin
5686 (method url-fetch)
5687 (uri (string-append "mirror://gnome/sources/" name "/"
5688 (version-major+minor version) "/"
5689 name "-" version ".tar.xz"))
5690 (sha256
5691 (base32
5692 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5693 (build-system meson-build-system)
5694 (arguments
5695 '(#:glib-or-gtk? #t
5696 #:phases
5697 (modify-phases %standard-phases
5698 (add-after 'unpack 'skip-gtk-update-icon-cache
5699 ;; Don't create 'icon-theme.cache'.
5700 (lambda _
5701 (substitute* "meson_post_install.py"
5702 (("gtk-update-icon-cache") "true"))
5703 #t)))))
5704 (native-inputs
5705 `(("intltool" ,intltool)
5706 ("itstool" ,itstool)
5707 ("gobject-introspection" ,gobject-introspection)
5708 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5709 ("pkg-config" ,pkg-config)))
5710 (inputs
5711 `(("amtk" ,amtk)
5712 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5713 ("webkitgtk" ,webkitgtk)))
5714 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5715 (synopsis "API documentation browser for GNOME")
5716 (description
5717 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5718 natively with GTK-Doc (the API reference system developed for GTK+ and used
5719 throughout GNOME for API documentation).")
5720 (license license:gpl2+)))
5721
5722 (define-public cogl
5723 (package
5724 (name "cogl")
5725 (version "1.22.8")
5726 (source
5727 (origin
5728 (method url-fetch)
5729 (uri (string-append "mirror://gnome/sources/cogl/"
5730 (version-major+minor version) "/"
5731 "cogl-" version ".tar.xz"))
5732 (sha256
5733 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5734 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5735 ;; cogl, corresponding changes may be appropriate in mutter as well.
5736 (build-system gnu-build-system)
5737 (native-inputs
5738 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5739 ("gobject-introspection" ,gobject-introspection)
5740 ("xorg-server" ,xorg-server-for-tests)
5741 ("pkg-config" ,pkg-config)))
5742 (propagated-inputs
5743 `(("glib" ,glib)
5744 ("gdk-pixbuf" ,gdk-pixbuf)
5745 ("libx11" ,libx11)
5746 ("libxext" ,libxext)
5747 ("libxfixes" ,libxfixes)
5748 ("libxdamage" ,libxdamage)
5749 ("libxcomposite" ,libxcomposite)
5750 ("libxrandr" ,libxrandr)))
5751 (inputs
5752 `(("mesa" ,mesa)
5753 ("cairo" ,cairo)
5754 ("pango" ,pango)
5755 ("gstreamer" ,gstreamer)
5756 ("gst-plugins-base" ,gst-plugins-base)
5757 ("wayland" ,wayland)))
5758 (arguments
5759 `(#:disallowed-references (,xorg-server-for-tests)
5760 #:configure-flags (list "--enable-cogl-gst"
5761 "--enable-wayland-egl-platform"
5762 "--enable-wayland-egl-server"
5763
5764 ;; Arrange to pass an absolute file name to
5765 ;; dlopen for libGL.so.
5766 (string-append "--with-gl-libname="
5767 (assoc-ref %build-inputs "mesa")
5768 "/lib/libGL.so"))
5769 #:phases
5770 (modify-phases %standard-phases
5771 (add-after 'unpack 'fix-build-with-mesa-20
5772 (lambda _
5773 ;; Work around a problem with Mesa 20 where some macros used by
5774 ;; Cogl went missing from eglext.h. This can likely be removed
5775 ;; for newer versions of Cogl or Mesa.
5776 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5777 (substitute* '("configure"
5778 "cogl/winsys/cogl-winsys-egl-kms.c")
5779 (("#include <EGL/eglext.h>" all)
5780 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5781 #t))
5782 (add-before 'check 'start-xorg-server
5783 (lambda* (#:key tests? inputs #:allow-other-keys)
5784 (if tests?
5785 (begin
5786 ;; The test suite requires a running X server.
5787 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5788 (assoc-ref inputs "xorg-server")))
5789 (setenv "DISPLAY" ":1")
5790 #t)
5791 (format #t "test suite not run~%"))
5792 #t)))))
5793 (home-page "https://www.cogl3d.org")
5794 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5795 (description
5796 "Cogl is a small library for using 3D graphics hardware to draw pretty
5797 pictures. The API departs from the flat state machine style of OpenGL and is
5798 designed to make it easy to write orthogonal components that can render
5799 without stepping on each others toes.")
5800 (license (list license:expat ; most of the code
5801 license:bsd-3 ; cogl/cogl-point-in-poly.c
5802 license:sgifreeb2.0 ; cogl-path/tesselator/
5803 license:asl2.0)))) ; examples/android/
5804
5805 (define-public clutter
5806 (package
5807 (name "clutter")
5808 (version "1.26.2")
5809 (source
5810 (origin
5811 (method url-fetch)
5812 (uri (string-append "mirror://gnome/sources/" name "/"
5813 (version-major+minor version) "/"
5814 name "-" version ".tar.xz"))
5815 (sha256
5816 (base32
5817 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5818 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5819 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5820 (build-system gnu-build-system)
5821 (outputs '("out"
5822 "doc")) ;9 MiB of gtk-doc HTML pages
5823 (native-inputs
5824 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5825 ("gobject-introspection" ,gobject-introspection)
5826 ("pkg-config" ,pkg-config)
5827 ("xsltproc" ,libxslt)))
5828 (propagated-inputs
5829 `(("cogl" ,cogl)
5830 ("cairo" ,cairo)
5831 ("atk" ,atk)
5832 ("gtk+" ,gtk+)
5833 ("json-glib" ,json-glib)
5834 ("glib" ,glib)
5835 ("libxcomposite" ,libxcomposite)
5836 ("libxdamage" ,libxdamage)
5837 ("libxext" ,libxext)
5838 ("xinput" ,xinput)))
5839 (inputs
5840 `(("libxkbcommon" ,libxkbcommon)
5841 ("udev" ,eudev)))
5842 (arguments
5843 `(#:configure-flags (list "--enable-x11-backend=yes"
5844
5845 ;; This produces share/doc/{clutter,cally}.
5846 (string-append "--with-html-dir="
5847 (assoc-ref %outputs "doc")
5848 "/share/doc"))
5849 ;; XXX FIXME: Get test suite working. It would probably fail in the
5850 ;; same way the cogl tests fail, since clutter is based on cogl.
5851 #:tests? #f))
5852 (home-page "http://www.clutter-project.org")
5853 (synopsis "OpenGL-based interactive canvas library")
5854 (description
5855 "Clutter is an OpenGL-based interactive canvas library, designed for
5856 creating fast, mainly 2D single window applications such as media box UIs,
5857 presentations, kiosk style applications and so on.")
5858 (license license:lgpl2.0+)))
5859
5860 (define-public clutter-gtk
5861 (package
5862 (name "clutter-gtk")
5863 (version "1.8.4")
5864 (source
5865 (origin
5866 (method url-fetch)
5867 (uri (string-append "mirror://gnome/sources/" name "/"
5868 (version-major+minor version) "/"
5869 name "-" version ".tar.xz"))
5870 (sha256
5871 (base32
5872 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5873 (build-system gnu-build-system)
5874 (native-inputs
5875 `(("pkg-config" ,pkg-config)
5876 ("gobject-introspection" ,gobject-introspection)))
5877 (propagated-inputs
5878 ;; clutter-gtk.pc refers to all these.
5879 `(("clutter" ,clutter)
5880 ("gtk+" ,gtk+)))
5881 (home-page "http://www.clutter-project.org")
5882 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5883 (description
5884 "Clutter is an OpenGL-based interactive canvas library, designed for
5885 creating fast, mainly 2D single window applications such as media box UIs,
5886 presentations, kiosk style applications and so on.")
5887 (license license:lgpl2.0+)))
5888
5889 (define-public clutter-gst
5890 (package
5891 (name "clutter-gst")
5892 (version "3.0.27")
5893 (source
5894 (origin
5895 (method url-fetch)
5896 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5897 (version-major+minor version) "/"
5898 "clutter-gst-" version ".tar.xz"))
5899 (sha256
5900 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5901 (build-system gnu-build-system)
5902 (native-inputs
5903 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5904 ("pkg-config" ,pkg-config)
5905 ("gobject-introspection" ,gobject-introspection)))
5906 (inputs
5907 `(("clutter" ,clutter)
5908 ("gstreamer" ,gstreamer)
5909 ("gst-plugins-base" ,gst-plugins-base)))
5910 (home-page "http://www.clutter-project.org")
5911 (synopsis "Integration library for using GStreamer with Clutter")
5912 (description
5913 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5914 It provides a GStreamer sink to upload frames to GL and an actor that
5915 implements the ClutterGstPlayer interface using playbin. Clutter is an
5916 OpenGL-based interactive canvas library.")
5917 (license license:lgpl2.0+)))
5918
5919 (define-public libchamplain
5920 (package
5921 (name "libchamplain")
5922 (version "0.12.16")
5923 (source (origin
5924 (method url-fetch)
5925 (uri (string-append
5926 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5927 version ".tar.xz"))
5928 (sha256
5929 (base32
5930 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5931 (build-system gnu-build-system)
5932 (arguments '(#:configure-flags '("--enable-vala")))
5933 (native-inputs
5934 `(("gobject-introspection" ,gobject-introspection)
5935 ("pkg-config" ,pkg-config)
5936 ("vala" ,vala)))
5937 (propagated-inputs
5938 `(("libsoup" ,libsoup)
5939 ("sqlite" ,sqlite)
5940 ("clutter" ,clutter)
5941 ("clutter-gtk" ,clutter-gtk)
5942 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5943 ("cairo" ,cairo)
5944 ("gtk+3" ,gtk+)
5945 ("glib" ,glib)))
5946 (home-page "https://projects.gnome.org/libchamplain/")
5947 (synopsis "C library providing a ClutterActor to display maps")
5948 (description
5949 "libchamplain is a C library providing a ClutterActor to display maps.
5950 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5951 and Perl bindings are also available. It supports numerous free map sources
5952 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5953 (license license:lgpl2.1+)))
5954
5955 (define-public gom
5956 (package
5957 (name "gom")
5958 (version "0.3.2")
5959 (source
5960 (origin
5961 (method url-fetch)
5962 (uri (string-append "mirror://gnome/sources/gom/"
5963 (version-major+minor version) "/"
5964 "gom-" version ".tar.xz"))
5965 (sha256
5966 (base32
5967 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5968 (build-system gnu-build-system)
5969 (native-inputs
5970 `(("intltool" ,intltool)
5971 ("pkg-config" ,pkg-config)
5972 ("gobject-introspection" ,gobject-introspection)))
5973 (inputs
5974 `(("glib" ,glib)
5975 ("gdk-pixbuf" ,gdk-pixbuf)
5976 ("sqlite" ,sqlite)))
5977 ;; XXX TODO: Figure out how to run the test suite.
5978 (arguments `(#:tests? #f))
5979 (home-page "https://wiki.gnome.org/Projects/Gom")
5980 (synopsis "Object mapper from GObjects to SQLite")
5981 (description
5982 "Gom provides an object mapper from GObjects to SQLite. It helps you
5983 write applications that need to store structured data as well as make complex
5984 queries upon that data.")
5985 (license license:lgpl2.1+)))
5986
5987 (define-public libgnome-games-support
5988 (package
5989 (name "libgnome-games-support")
5990 (version "1.4.4")
5991 (source (origin
5992 (method url-fetch)
5993 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5994 (version-major+minor version) "/"
5995 "libgnome-games-support-" version ".tar.xz"))
5996 (sha256
5997 (base32
5998 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
5999 (build-system gnu-build-system)
6000 (arguments
6001 '(#:phases
6002 (modify-phases %standard-phases
6003 (add-before 'check 'pre-check
6004 (lambda _
6005 ;; Tests require a writable HOME.
6006 (setenv "HOME" (getcwd))
6007 #t)))))
6008 (native-inputs
6009 `(("intltool" ,intltool)
6010 ("pkg-config" ,pkg-config)
6011 ("vala" ,vala)))
6012 (propagated-inputs
6013 ;; Required by libgnome-games-support-1.0.pc
6014 `(("gtk+" ,gtk+)
6015 ("libgee" ,libgee)))
6016 (home-page "https://www.gnome.org/")
6017 (synopsis "Useful functionality shared among GNOME games")
6018 (description
6019 "libgnome-games-support is a small library intended for internal use by
6020 GNOME Games, but it may be used by others.")
6021 (license license:lgpl3+)))
6022
6023 (define-public gnome-klotski
6024 (package
6025 (name "gnome-klotski")
6026 (version "3.34.0")
6027 (source (origin
6028 (method url-fetch)
6029 (uri (string-append "mirror://gnome/sources/" name "/"
6030 (version-major+minor version) "/"
6031 name "-" version ".tar.xz"))
6032 (sha256
6033 (base32
6034 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
6035 (build-system meson-build-system)
6036 (arguments
6037 '(#:glib-or-gtk? #t
6038 #:phases
6039 (modify-phases %standard-phases
6040 (add-after 'unpack 'skip-gtk-update-icon-cache
6041 ;; Don't create 'icon-theme.cache'.
6042 (lambda _
6043 (substitute* "build-aux/meson_post_install.py"
6044 (("gtk-update-icon-cache") (which "true")))
6045 #t)))))
6046 (native-inputs
6047 `(("desktop-file-utils" ,desktop-file-utils)
6048 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6049 ("intltool" ,intltool)
6050 ("itstool" ,itstool)
6051 ("pkg-config" ,pkg-config)
6052 ("vala" ,vala)
6053 ("xmllint" ,libxml2)))
6054 (inputs
6055 `(("gtk+" ,gtk+)
6056 ("libgnome-games-support" ,libgnome-games-support)
6057 ("librsvg" ,librsvg)))
6058 (home-page "https://wiki.gnome.org/Apps/Klotski")
6059 (synopsis "Sliding block puzzles")
6060 (description
6061 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6062 the patterned block to the area bordered by green markers. To do so, you will
6063 need to slide other blocks out of the way. Complete each puzzle in as few moves
6064 as possible!")
6065 (license license:gpl2+)))
6066
6067 (define-public grilo
6068 (package
6069 (name "grilo")
6070 (version "0.3.12")
6071 (source
6072 (origin
6073 (method url-fetch)
6074 (uri (string-append "mirror://gnome/sources/grilo/"
6075 (version-major+minor version) "/"
6076 "grilo-" version ".tar.xz"))
6077 (sha256
6078 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6079 (build-system meson-build-system)
6080 (native-inputs
6081 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6082 ("intltool" ,intltool)
6083 ("pkg-config" ,pkg-config)
6084 ("gobject-introspection" ,gobject-introspection)
6085 ("gtk-doc" ,gtk-doc/stable)
6086 ("vala" ,vala)))
6087 (inputs
6088 `(("cyrus-sasl" ,cyrus-sasl)
6089 ("glib" ,glib)
6090 ("gtk+" ,gtk+)
6091 ("libxml2" ,libxml2)
6092 ("liboauth" ,liboauth)
6093 ("libsoup" ,libsoup)
6094 ("totem-pl-parser" ,totem-pl-parser)))
6095 (native-search-paths
6096 (list (search-path-specification
6097 (variable "GRL_PLUGIN_PATH")
6098 (files (list (string-append "lib/grilo-"
6099 (version-major+minor version)))))))
6100 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6101 (synopsis "Framework for discovering and browsing media")
6102 (description
6103 "Grilo is a framework focused on making media discovery and browsing easy
6104 for application developers.")
6105 (license license:lgpl2.1+)))
6106
6107 (define-public grilo-plugins
6108 (package
6109 (name "grilo-plugins")
6110 (version "0.3.11")
6111 (source
6112 (origin
6113 (method url-fetch)
6114 (uri (string-append "mirror://gnome/sources/" name "/"
6115 (version-major+minor version) "/"
6116 name "-" version ".tar.xz"))
6117 (sha256
6118 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6119 (build-system meson-build-system)
6120 (native-inputs
6121 `(("gettext" ,gettext-minimal)
6122 ("glib:bin" ,glib "bin")
6123 ("gtk+:bin" ,gtk+ "bin")
6124 ("itstool" ,itstool)
6125 ("pkg-config" ,pkg-config)))
6126 ;; TODO: ahavi, gstreamer
6127 (inputs
6128 `(("grilo" ,grilo)
6129 ;("gmime" ,gmime) ; unused
6130 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6131 ("gom" ,gom)
6132 ;("gssdp" ,gssdp) ; unused
6133 ;("gupnp" ,gupnp) ; unused
6134 ;("gupnp-av" ,gupnp-av) ; unused
6135 ("json-glib" ,json-glib)
6136 ("avahi" ,avahi)
6137 ("libgdata" ,libgdata)
6138 ("libmediaart" ,libmediaart)
6139 ;("librest" ,rest) ; unused
6140 ("libsoup" ,libsoup)
6141 ("totam-pl-parser" ,totem-pl-parser)
6142 ("tracker" ,tracker))) ; unused because it's too old
6143 (arguments
6144 `(#:glib-or-gtk? #t
6145 ;;Disable lua-factory as it needs missing dependencies
6146 #:configure-flags '("-Denable-lua-factory=no")))
6147 (home-page "https://live.gnome.org/Grilo")
6148 (synopsis "Plugins for the Grilo media discovery library")
6149 (description
6150 "Grilo is a framework focused on making media discovery and browsing easy
6151 for application developers. This package provides plugins for common media
6152 discovery protocols.")
6153 (license license:lgpl2.1+)))
6154
6155 (define-public totem
6156 (package
6157 (name "totem")
6158 (version "3.38.0")
6159 (source
6160 (origin
6161 (method url-fetch)
6162 (uri (string-append "mirror://gnome/sources/totem/"
6163 (version-major+minor version) "/"
6164 "totem-" version ".tar.xz"))
6165 (sha256
6166 (base32
6167 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6168 (build-system meson-build-system)
6169 (native-inputs
6170 `(("pkg-config" ,pkg-config)
6171 ("desktop-file-utils" ,desktop-file-utils)
6172 ("gettext" ,gettext-minimal)
6173 ("gobject-introspection" ,gobject-introspection)
6174 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6175 ("itstool" ,itstool)
6176 ("xmllint" ,libxml2)
6177 ("xorg-server" ,xorg-server-for-tests)))
6178 (propagated-inputs
6179 `(("dconf" ,dconf)))
6180 (inputs
6181 `(("gtk+" ,gtk+)
6182 ("gdk-pixbuf" ,gdk-pixbuf)
6183 ("atk" ,atk)
6184 ("cairo" ,cairo)
6185 ("dbus-glib" ,dbus-glib)
6186 ("clutter" ,clutter)
6187 ("clutter-gtk" ,clutter-gtk)
6188 ("clutter-gst" ,clutter-gst)
6189 ("xorgproto" ,xorgproto)
6190 ("libxxf86vm" ,libxxf86vm)
6191 ("libxtst" ,libxtst)
6192 ("libxrandr" ,libxrandr)
6193 ("libxml2" ,libxml2)
6194 ("libsoup" ,libsoup)
6195 ("libpeas" ,libpeas)
6196 ("librsvg" ,librsvg)
6197 ("lirc" ,lirc)
6198 ("gnome-desktop" ,gnome-desktop)
6199 ("gstreamer" ,gstreamer)
6200 ("gst-plugins-base" ,gst-plugins-base)
6201 ("gst-plugins-good" ,gst-plugins-good)
6202 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6203 ("adwaita-icon-theme" ,adwaita-icon-theme)
6204 ("python" ,python)
6205 ("python-pygobject" ,python-pygobject)
6206 ("totem-pl-parser" ,totem-pl-parser)
6207 ("grilo" ,grilo)
6208 ("grilo-plugins" ,grilo-plugins)
6209 ("vala" ,vala)))
6210 (arguments
6211 `(#:glib-or-gtk? #t
6212
6213 ;; Disable automatic GStreamer plugin installation via PackageKit and
6214 ;; all that.
6215 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6216
6217 ;; Do not build .a files for the plugins, it's
6218 ;; completely useless. This saves 2 MiB.
6219 "--default-library" "shared")
6220 #:phases
6221 (modify-phases %standard-phases
6222 (add-after 'unpack 'skip-gtk-update-icon-cache
6223 ;; Don't create 'icon-theme.cache'.
6224 (lambda _
6225 (substitute* "meson_post_install.py"
6226 (("gtk-update-icon-cache") "true"))
6227 #t))
6228 (add-after 'unpack 'patch-failing-test
6229 (lambda _
6230 ;; Work around test failure with GStreamer 1.18, because the test
6231 ;; relies on "und" not being mapped to a particular language:
6232 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6233 (substitute* "src/test-totem.c"
6234 (("und") "nosuchlang"))
6235 #t))
6236 (add-before
6237 'install 'disable-cache-generation
6238 (lambda _
6239 (setenv "DESTDIR" "/")
6240 #t))
6241 (add-before
6242 'check 'pre-check
6243 (lambda _
6244 ;; Tests require a running X server.
6245 (system "Xvfb :1 &")
6246 (setenv "DISPLAY" ":1")
6247 #t))
6248 (add-after
6249 'install 'wrap-totem
6250 (lambda* (#:key inputs outputs #:allow-other-keys)
6251 (let ((out (assoc-ref outputs "out"))
6252 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6253 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6254 (wrap-program (string-append out "/bin/totem")
6255 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6256 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6257 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6258 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6259 #t)))))
6260 (home-page "https://wiki.gnome.org/Apps/Videos")
6261 (synopsis "Simple media player for GNOME based on GStreamer")
6262 (description "Totem is a simple yet featureful media player for GNOME
6263 which can read a large number of file formats.")
6264 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6265 ;; to be used and distributed together with GStreamer and Totem. See
6266 ;; file://COPYING in the source distribution for details.
6267 (license license:gpl2+)))
6268
6269 (define-public rhythmbox
6270 (package
6271 (name "rhythmbox")
6272 (version "3.4.4")
6273 (source (origin
6274 (method url-fetch)
6275 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6276 (version-major+minor version) "/"
6277 "rhythmbox-" version ".tar.xz"))
6278 (sha256
6279 (base32
6280 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6281 (build-system glib-or-gtk-build-system)
6282 (arguments
6283 `(#:configure-flags
6284 (list "--enable-lirc"
6285 "--enable-python"
6286 "--enable-vala"
6287 "--with-brasero"
6288 "--with-gudev"
6289 "--with-libsecret")
6290 #:phases
6291 (modify-phases %standard-phases
6292 (add-after
6293 'install 'wrap-rhythmbox
6294 (lambda* (#:key inputs outputs #:allow-other-keys)
6295 (let ((out (assoc-ref outputs "out"))
6296 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6297 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6298 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6299 (python-path (getenv "PYTHONPATH")))
6300 (wrap-program (string-append out "/bin/rhythmbox")
6301 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6302 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6303 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6304 `("PYTHONPATH" ":" prefix (,python-path))))
6305 #t)))))
6306 (propagated-inputs
6307 `(("dconf" ,dconf)))
6308 (native-inputs
6309 `(("itstool" ,itstool)
6310 ("intltool" ,intltool)
6311 ("glib" ,glib "bin")
6312 ("gobject-introspection" ,gobject-introspection)
6313 ("desktop-file-utils" ,desktop-file-utils)
6314 ("pkg-config" ,pkg-config)
6315 ("xmllint" ,libxml2)))
6316 (inputs
6317 `(("json-glib" ,json-glib)
6318 ("tdb" ,tdb)
6319 ("gnome-desktop" ,gnome-desktop)
6320 ("python" ,python)
6321 ("python-pygobject" ,python2-pygobject)
6322 ("vala" ,vala)
6323 ("gmime" ,gmime)
6324 ("adwaita-icon-theme" ,adwaita-icon-theme)
6325 ("grilo" ,grilo)
6326 ("grilo-plugins" ,grilo-plugins)
6327 ("gstreamer" ,gstreamer)
6328 ("gst-plugins-base" ,gst-plugins-base)
6329 ("gst-plugins-good" ,gst-plugins-good)
6330 ("totem-pl-parser" ,totem-pl-parser)
6331 ("libgudev" ,libgudev)
6332 ;;("libmtp" ,libmtp) FIXME: Not detected
6333 ("libsecret" ,libsecret)
6334 ("libsoup" ,libsoup)
6335 ("libnotify" ,libnotify)
6336 ("libpeas" ,libpeas)
6337 ("lirc" ,lirc)
6338 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6339 ;;("clutter" ,clutter)
6340 ;;("clutter-gtk" ,clutter-gtk)
6341 ;;("clutter-gst" ,clutter-gst)
6342 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6343 ("atk" ,atk)
6344 ("pango" ,pango)
6345 ("gtk+" ,gtk+)
6346 ;; TODO:
6347 ;; * libgpod
6348 ;; * mx
6349 ("brasero" ,brasero)))
6350 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6351 (synopsis "Music player for GNOME")
6352 (description "Rhythmbox is a music playing application for GNOME. It
6353 supports playlists, song ratings, and any codecs installed through gstreamer.")
6354 (license license:gpl2+)))
6355
6356 (define-public eog
6357 (package
6358 (name "eog")
6359 (version "3.34.1")
6360 (source (origin
6361 (method url-fetch)
6362 (uri (string-append "mirror://gnome/sources/" name "/"
6363 (version-major+minor version) "/"
6364 name "-" version ".tar.xz"))
6365 (sha256
6366 (base32
6367 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6368 (build-system meson-build-system)
6369 (arguments
6370 `(#:configure-flags
6371 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6372 (list (string-append "-Dc_link_args=-Wl,-rpath="
6373 (assoc-ref %outputs "out") "/lib/eog"))
6374 #:phases
6375 (modify-phases %standard-phases
6376 (add-after 'unpack 'skip-gtk-update-icon-cache
6377 ;; Don't create 'icon-theme.cache'.
6378 (lambda _
6379 (substitute* "meson_post_install.py"
6380 (("gtk-update-icon-cache") "true"))
6381 #t))
6382 (add-after 'install 'wrap-eog
6383 (lambda* (#:key outputs #:allow-other-keys)
6384 (let ((out (assoc-ref outputs "out"))
6385 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6386 (wrap-program (string-append out "/bin/eog")
6387 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6388 #t)))))
6389 (propagated-inputs
6390 `(("dconf" ,dconf)))
6391 (native-inputs
6392 `(("intltool" ,intltool)
6393 ("itstool" ,itstool)
6394 ("glib" ,glib "bin")
6395 ("gobject-introspection" ,gobject-introspection)
6396 ("pkg-config" ,pkg-config)
6397 ("xmllint" ,libxml2)))
6398 (inputs
6399 `(("gnome-desktop" ,gnome-desktop)
6400 ("shared-mime-info" ,shared-mime-info)
6401 ("adwaita-icon-theme" ,adwaita-icon-theme)
6402 ("exempi" ,exempi)
6403 ("lcms" ,lcms)
6404 ("libexif" ,libexif)
6405 ("libpeas" ,libpeas)
6406 ("libjpeg" ,libjpeg-turbo)
6407 ("librsvg" ,librsvg-next)
6408 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6409 ("gtk+" ,gtk+)))
6410 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6411 (synopsis "GNOME image viewer")
6412 (description "Eye of GNOME is the GNOME image viewer. It
6413 supports image conversion, rotation, and slideshows.")
6414 (license license:gpl2+)))
6415
6416 (define-public eog-plugins
6417 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6418 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6419 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6420 ;; 'XDG_DATA_DIRS' appropriately set.
6421 (package
6422 (name "eog-plugins")
6423 (version "3.26.4")
6424 (source (origin
6425 (method url-fetch)
6426 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6427 (version-major+minor version) "/"
6428 "eog-plugins-" version ".tar.xz"))
6429 (sha256
6430 (base32
6431 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6432 (build-system gnu-build-system)
6433 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6434 (synopsis "Extensions for the Eye of GNOME image viewer")
6435 (native-inputs
6436 `(("pkg-config" ,pkg-config)
6437 ("gettext" ,gettext-minimal)))
6438 (inputs
6439 `(("eog" ,eog)
6440 ("glib" ,glib)
6441 ("gtk+" ,gtk+)
6442 ("libpeas" ,libpeas)
6443 ("libexif" ,libexif)
6444 ("libchamplain" ,libchamplain)))
6445 (description
6446 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6447 notably:
6448
6449 @itemize
6450 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6451 @item @dfn{Map}, which displays a map of where the picture was taken on the
6452 side panel;
6453 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6454 @end itemize\n")
6455
6456 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6457 ;; long suspicious byte stream that goes to a
6458 ;; ".gresource.eog_postasa_plugin" ELF section.
6459 (license license:gpl2+)))
6460
6461 (define-public libgudev
6462 (package
6463 (name "libgudev")
6464 (version "232")
6465 (source (origin
6466 (method url-fetch)
6467 (uri (string-append "mirror://gnome/sources/" name "/"
6468 version "/" name "-" version ".tar.xz"))
6469 (sha256
6470 (base32
6471 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6472 (build-system gnu-build-system)
6473 (arguments
6474 '(#:configure-flags
6475 ;; umockdev depends on libgudev.
6476 (list "--disable-umockdev")))
6477 (native-inputs
6478 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6479 ("gobject-introspection" ,gobject-introspection)
6480 ("pkg-config" ,pkg-config)))
6481 (propagated-inputs
6482 `(("glib" ,glib))) ; required by gudev-1.0.pc
6483 (inputs
6484 `(("udev" ,eudev)))
6485 (home-page "https://wiki.gnome.org/Projects/libgudev")
6486 (synopsis "GObject bindings for libudev")
6487 (description
6488 "This library provides GObject bindings for libudev. It was originally
6489 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6490 (license license:lgpl2.1+)))
6491
6492 (define-public gvfs
6493 (package
6494 (name "gvfs")
6495 (version "1.40.2")
6496 (source (origin
6497 (method url-fetch)
6498 (uri (string-append "mirror://gnome/sources/gvfs/"
6499 (version-major+minor version) "/"
6500 "gvfs-" version ".tar.xz"))
6501 (sha256
6502 (base32
6503 "07lpcfric3h0302n9b1pwa38mjb76r9s98kg2867y2d1qvzfivxx"))
6504 ;; This patch may be removed when upgrading to version 1.46.x.
6505 (patches
6506 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6507 (build-system meson-build-system)
6508 (arguments
6509 '(#:glib-or-gtk? #t
6510 #:configure-flags
6511 (list "-Dsystemduserunitdir=no"
6512 "-Dtmpfilesdir=no"
6513 ;; Otherwise, the RUNPATH will lack the final path component.
6514 (string-append "-Dc_link_args=-Wl,-rpath="
6515 (assoc-ref %outputs "out") "/lib/gvfs"))))
6516 (native-inputs
6517 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6518 ("gettext" ,gettext-minimal)
6519 ("gtk-doc" ,gtk-doc/stable)
6520 ("pkg-config" ,pkg-config)
6521 ("xsltproc" ,libxslt)))
6522 (inputs
6523 `(("avahi" ,avahi)
6524 ("docbook-xml" ,docbook-xml-4.2)
6525 ("docbook-xsl" ,docbook-xsl)
6526 ("dbus" ,dbus)
6527 ("elogind" ,elogind)
6528 ("fuse" ,fuse)
6529 ("gcr" ,gcr)
6530 ("glib" ,glib)
6531 ("gnome-online-accounts" ,gnome-online-accounts)
6532 ("libarchive" ,libarchive)
6533 ("libbluray" ,libbluray)
6534 ("libcap" ,libcap)
6535 ("libcdio-paranoia" ,libcdio-paranoia)
6536 ("libgcrypt" ,libgcrypt)
6537 ("libgdata" ,libgdata)
6538 ("libgphoto2" ,libgphoto2)
6539 ("libgudev" ,libgudev)
6540 ("libimobiledevice" ,libimobiledevice)
6541 ("libmtp" ,libmtp)
6542 ("libnfs" ,libnfs)
6543 ("libsecret" ,libsecret)
6544 ("libsmbclient" ,samba)
6545 ("libsoup" ,libsoup)
6546 ("libxml2" ,libxml2)
6547 ("openssh" ,openssh)
6548 ("polkit" ,polkit)
6549 ("udisks" ,udisks)))
6550 ;; CVE-2019-{12447,12448,12449} are fixed in the 1.40.2 release.
6551 (properties '((lint-hidden-cve . ("CVE-2019-12447"
6552 "CVE-2019-12448"
6553 "CVE-2019-12449"))))
6554 (home-page "https://wiki.gnome.org/gvfs/")
6555 (synopsis "Userspace virtual file system for GIO")
6556 (description
6557 "GVFS is a userspace virtual file system designed to work with the I/O
6558 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6559 to all applications using the GIO API. It also supports exposing the GVFS
6560 mounts to non-GIO applications using FUSE.
6561
6562 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6563 DAV, and others.")
6564 (license license:lgpl2.0+)))
6565
6566 (define-public gusb
6567 (package
6568 (name "gusb")
6569 (version "0.3.5")
6570 (source (origin
6571 (method git-fetch)
6572 (uri (git-reference
6573 (url "https://github.com/hughsie/libgusb")
6574 (commit version)))
6575 (file-name (git-file-name name version))
6576 (sha256
6577 (base32
6578 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6579 (build-system meson-build-system)
6580 (native-inputs
6581 `(("gobject-introspection" ,gobject-introspection)
6582 ("pkg-config" ,pkg-config)
6583 ("vala" ,vala)
6584 ("gtk-doc" ,gtk-doc/stable)))
6585 (propagated-inputs
6586 ;; Both of these are required by gusb.pc.
6587 `(("glib" ,glib)
6588 ("libusb" ,libusb)))
6589 (arguments
6590 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6591 (home-page "https://github.com/hughsie/libgusb")
6592 (synopsis "GLib binding for libusb1")
6593 (description
6594 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6595 asynchronous control, bulk and interrupt transfers with proper cancellation
6596 and integration into a mainloop. This makes it easy to integrate low level
6597 USB transfers with your high-level application or system daemon.")
6598 (license license:lgpl2.1+)))
6599
6600 (define-public simple-scan
6601 (package
6602 (name "simple-scan")
6603 (version "3.38.2")
6604 (source
6605 (origin
6606 (method url-fetch)
6607 (uri (string-append "mirror://gnome/sources/simple-scan/"
6608 (version-major+minor version) "/"
6609 "simple-scan-" version ".tar.xz"))
6610 (sha256
6611 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6612 (build-system meson-build-system)
6613 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6614 (arguments
6615 '(#:glib-or-gtk? #t))
6616 (inputs
6617 `(("gtk" ,gtk+)
6618 ("zlib" ,zlib)
6619 ("cairo" ,cairo)
6620 ("colord" ,colord)
6621 ("gdk-pixbuf" ,gdk-pixbuf)
6622 ("gusb" ,gusb)
6623 ("libsane" ,sane-backends)))
6624 (native-inputs
6625 `(("gettext" ,gettext-minimal)
6626 ("itstool" ,itstool)
6627 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6628 ("pkg-config" ,pkg-config)
6629 ("vala" ,vala)
6630 ("xmllint" ,libxml2)))
6631 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6632 (synopsis "Document and image scanner")
6633 (description
6634 "Document Scanner is an easy-to-use application that lets you connect your
6635 scanner and quickly capture images and documents in an appropriate format. It
6636 supports any scanner for which a suitable SANE driver is available, which is
6637 almost all of them.")
6638 (license license:gpl3+)))
6639
6640 (define-public eolie
6641 (package
6642 (name "eolie")
6643 (version "0.9.101")
6644 (source (origin
6645 (method url-fetch)
6646 (uri (string-append "https://adishatz.org/eolie/eolie-"
6647 version ".tar.xz"))
6648 (sha256
6649 (base32
6650 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6651 (build-system meson-build-system)
6652 (arguments
6653 `(#:glib-or-gtk? #t
6654 #:phases
6655 (modify-phases %standard-phases
6656 (add-after 'unpack 'skip-gtk-update-icon-cache
6657 ;; Don't create 'icon-theme.cache'.
6658 (lambda _
6659 (substitute* "meson_post_install.py"
6660 (("gtk-update-icon-cache") "true"))
6661 #t))
6662 (add-after 'wrap 'wrap-more
6663 (lambda* (#:key inputs outputs #:allow-other-keys)
6664 (let* ((out (assoc-ref outputs "out"))
6665 ;; These libraries must be on LD_LIBRARY_PATH.
6666 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6667 "atk" "gtk+" "gsettings-desktop-schemas"
6668 "gobject-introspection"))
6669 (path (string-join
6670 (map (lambda (lib)
6671 (string-append (assoc-ref inputs lib) "/lib"))
6672 libs)
6673 ":")))
6674 (wrap-program (string-append out "/bin/eolie")
6675 `("LD_LIBRARY_PATH" ":" prefix (,path))
6676 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6677 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6678 #t)))))
6679 (native-inputs
6680 `(("intltool" ,intltool)
6681 ("itstool" ,itstool)
6682 ("pkg-config" ,pkg-config)
6683 ("python" ,python)
6684 ("glib:bin" ,glib "bin")))
6685 (inputs
6686 `(("gobject-introspection" ,gobject-introspection)
6687 ("glib-networking" ,glib-networking)
6688 ("cairo" ,cairo)
6689 ("gtk+" ,gtk+)
6690 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6691 ("python" ,python-wrapper)
6692 ("python-dateutil" ,python-dateutil)
6693 ("python-pyfxa" ,python-pyfxa)
6694 ("python-pygobject" ,python-pygobject)
6695 ("python-pycairo" ,python-pycairo)
6696 ("python-pycrypto" ,python-pycrypto)
6697 ("libhandy" ,libhandy)
6698 ("libsecret" ,libsecret)
6699 ("gtkspell3" ,gtkspell3)
6700 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6701 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
6702 ("webkitgtk" ,webkitgtk)))
6703 (home-page "https://wiki.gnome.org/Apps/Eolie")
6704 (synopsis "Web browser for GNOME")
6705 (description
6706 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6707 a secret password store, an adblocker, and a modern UI.")
6708 (license license:gpl3+)))
6709
6710 (define-public epiphany
6711 (package
6712 (name "epiphany")
6713 (version "3.34.4")
6714 (source (origin
6715 (method url-fetch)
6716 (uri (string-append "mirror://gnome/sources/epiphany/"
6717 (version-major+minor version) "/"
6718 "epiphany-" version ".tar.xz"))
6719 (sha256
6720 (base32
6721 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6722
6723 (build-system meson-build-system)
6724 (arguments
6725 '(#:glib-or-gtk? #t
6726 #:phases
6727 (modify-phases %standard-phases
6728 (add-after 'unpack 'skip-gtk-update-icon-cache
6729 ;; Don't create 'icon-theme.cache'.
6730 (lambda _
6731 (substitute* "post_install.py"
6732 (("gtk-update-icon-cache") "true"))
6733 #t))
6734 (add-after 'unpack 'disable-failing-tests
6735 (lambda _
6736 (substitute* "tests/meson.build"
6737 ;; embed_shell fails, because webkitgtk apparently no longer supports
6738 ;; overriding the ftp schema
6739 ;; web_app_utils fails due to missing network access
6740 (("(embed_shell|web_app_utils)_test,")
6741 "find_program('sh'), args: ['-c', 'exit 77'],"))
6742 #t))
6743 (add-before 'check 'pre-check
6744 (lambda _
6745 ;; Tests require a running X server.
6746 (system "Xvfb :1 &")
6747 (setenv "DISPLAY" ":1")
6748 #t)))
6749 #:configure-flags
6750 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6751 (list (string-append "-Dc_link_args=-Wl,-rpath="
6752 (assoc-ref %outputs "out") "/lib/epiphany"))))
6753 (propagated-inputs
6754 `(("dconf" ,dconf)))
6755 (native-inputs
6756 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6757 ("glib:bin" ,glib "bin") ; for glib-mkenums
6758 ("intltool" ,intltool)
6759 ("itstool" ,itstool)
6760 ("pkg-config" ,pkg-config)
6761 ("xmllint" ,libxml2)
6762 ("xorg-server" ,xorg-server-for-tests)))
6763 (inputs
6764 `(("avahi" ,avahi)
6765 ("gcr" ,gcr)
6766 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6767 ("glib-networking" ,glib-networking)
6768 ("gnome-desktop" ,gnome-desktop)
6769 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6770 ("json-glib" ,json-glib)
6771 ("iso-codes" ,iso-codes)
6772 ("libdazzle" ,libdazzle)
6773 ("libnotify" ,libnotify)
6774 ("libsecret" ,libsecret)
6775 ("libxslt" ,libxslt)
6776 ("nettle" ,nettle) ; for hogweed
6777 ("sqlite" ,sqlite)
6778 ("webkitgtk" ,webkitgtk)))
6779 (home-page "https://wiki.gnome.org/Apps/Web")
6780 (synopsis "GNOME web browser")
6781 (description
6782 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6783 principles are simplicity and standards compliance.")
6784 (license license:gpl2+)))
6785
6786 (define-public d-feet
6787 (package
6788 (name "d-feet")
6789 (version "0.3.14")
6790 (source (origin
6791 (method url-fetch)
6792 (uri (string-append "mirror://gnome/sources/" name "/"
6793 (version-major+minor version) "/"
6794 name "-" version ".tar.xz"))
6795 (sha256
6796 (base32
6797 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6798 (build-system glib-or-gtk-build-system)
6799 (arguments
6800 '(#:out-of-source? #f ; tests need to run in the source directory.
6801 #:phases
6802 (modify-phases %standard-phases
6803 (add-before
6804 'check 'pre-check
6805 (lambda _
6806 ;; The test suite requires a running X server.
6807 (system "Xvfb :1 &")
6808 (setenv "DISPLAY" ":1")
6809 ;; Don't fail on missing '/etc/machine-id'.
6810 (setenv "DBUS_FATAL_WARNINGS" "0")
6811 ;; tests.py and window.py don't meet E402:
6812 ;; E402 module level import not at top of file
6813 (substitute* "src/tests/Makefile"
6814 (("--ignore=E123") "--ignore=E123,E402"))
6815 #t))
6816 (add-after
6817 'install 'wrap-program
6818 (lambda* (#:key outputs #:allow-other-keys)
6819 (let ((prog (string-append (assoc-ref outputs "out")
6820 "/bin/d-feet")))
6821 (wrap-program prog
6822 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6823 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6824 #t))))))
6825 (native-inputs
6826 `(("intltool" ,intltool)
6827 ("itstool" ,itstool)
6828 ("pkg-config" ,pkg-config)
6829 ("python-pep8" ,python-pep8)
6830 ("xmllint" ,libxml2)
6831 ("xorg-server" ,xorg-server-for-tests)))
6832 (inputs
6833 `(("gobject-introspection" ,gobject-introspection)
6834 ("gtk+" ,gtk+)
6835 ("python" ,python-wrapper)
6836 ("hicolor-icon-theme" ,hicolor-icon-theme)
6837 ("python-pygobject" ,python-pygobject)))
6838 (home-page "https://wiki.gnome.org/Apps/DFeet")
6839 (synopsis "D-Bus debugger")
6840 (description
6841 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6842 of running programs and invoke methods on those interfaces.")
6843 (license license:gpl2+)))
6844
6845 (define-public yelp-xsl
6846 (package
6847 (name "yelp-xsl")
6848 (version "3.34.2")
6849 (source
6850 (origin
6851 (method url-fetch)
6852 (uri
6853 (string-append "mirror://gnome/sources/" name "/"
6854 (version-major+minor version) "/"
6855 name "-" version ".tar.xz"))
6856 (sha256
6857 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6858 (build-system gnu-build-system)
6859 (native-inputs
6860 `(("gettext-minimal" ,gettext-minimal)
6861 ("itstool" ,itstool)
6862 ("xmllint" ,libxml2)))
6863 (synopsis "XSL stylesheets for Yelp")
6864 (description "Yelp-XSL is a collection of programs and data files to help
6865 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6866 that can be built upon for help viewers and publishing systems. These
6867 stylesheets output JavaScript and CSS content, and reference images
6868 provided by yelp-xsl. It also redistributes copies of the jQuery and
6869 jQuery.Syntax JavaScript libraries.")
6870 (home-page "https://wiki.gnome.org/Apps/Yelp")
6871 (license
6872 (list
6873 ;; XSLT
6874 license:gpl2+
6875 ;; Images
6876 license:lgpl2.1+
6877 ;; JavaScript
6878 license:expat))))
6879
6880 (define-public yelp
6881 (package
6882 (name "yelp")
6883 (version "3.32.2")
6884 (source (origin
6885 (method url-fetch)
6886 (uri (string-append "mirror://gnome/sources/" name "/"
6887 (version-major+minor version) "/"
6888 name "-" version ".tar.xz"))
6889 (sha256
6890 (base32
6891 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6892 (build-system glib-or-gtk-build-system)
6893 (native-inputs
6894 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6895 ("intltool" ,intltool)
6896 ("itstool" ,itstool)
6897 ("pkg-config" ,pkg-config)))
6898 (propagated-inputs
6899 `(("dconf" ,dconf)))
6900 (inputs
6901 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6902 ("libxslt" ,libxslt)
6903 ("sqlite" ,sqlite)
6904 ("webkitgtk" ,webkitgtk)
6905 ("yelp-xsl" ,yelp-xsl)))
6906 (home-page "https://wiki.gnome.org/Apps/Yelp")
6907 (synopsis "GNOME help browser")
6908 (description
6909 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6910 man, info, and HTML documents. It can locate documents according to the
6911 freedesktop.org help system specification.")
6912 (license license:gpl2+)))
6913
6914 (define-public yelp-tools
6915 (package
6916 (name "yelp-tools")
6917 (version "3.32.2")
6918 (source
6919 (origin
6920 (method url-fetch)
6921 (uri
6922 (string-append "mirror://gnome/sources/" name "/"
6923 (version-major+minor version) "/"
6924 name "-" version ".tar.xz"))
6925 (sha256
6926 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6927 (build-system gnu-build-system)
6928 (native-inputs
6929 `(("pkg-config" ,pkg-config)))
6930 (inputs
6931 `(("yelp-xsl" ,yelp-xsl)))
6932 (propagated-inputs
6933 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6934 `(("itstool" ,itstool)
6935 ("xmllint" ,libxml2)
6936 ("xsltproc" ,libxslt)))
6937 (synopsis "Yelp documentation tools")
6938 (description
6939 "Yelp-tools is a collection of scripts and build utilities to help create,
6940 manage, and publish documentation for Yelp and the web. Most of the heavy
6941 lifting is done by packages like yelp-xsl and itstool. This package just
6942 wraps things up in a developer-friendly way.")
6943 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6944 (license license:gpl2+)))
6945
6946 (define-public libgee
6947 (package
6948 (name "libgee")
6949 (version "0.20.3")
6950 (source (origin
6951 (method url-fetch)
6952 (uri (string-append "mirror://gnome/sources/libgee/"
6953 (version-major+minor version) "/"
6954 "libgee-" version ".tar.xz"))
6955 (sha256
6956 (base32
6957 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6958 (build-system gnu-build-system)
6959 (arguments
6960 `(#:phases
6961 (modify-phases %standard-phases
6962 (add-after 'unpack 'fix-introspection-install-dir
6963 (lambda* (#:key outputs #:allow-other-keys)
6964 (let ((out (assoc-ref outputs "out")))
6965 (substitute* "gee/Makefile.in"
6966 (("@INTROSPECTION_GIRDIR@")
6967 (string-append out "/share/gir-1.0/"))
6968 (("@INTROSPECTION_TYPELIBDIR@")
6969 (string-append out "/lib/girepository-1.0/")))))))))
6970 (native-inputs
6971 `(("glib" ,glib "bin")
6972 ("pkg-config" ,pkg-config)))
6973 (inputs
6974 `(("glib" ,glib)
6975 ("gobject-introspection" ,gobject-introspection)))
6976 (home-page "https://wiki.gnome.org/Projects/Libgee")
6977 (synopsis "GObject collection library")
6978 (description
6979 "Libgee is a utility library providing GObject-based interfaces and
6980 classes for commonly used data structures.")
6981 (license license:lgpl2.1+)))
6982
6983 (define-public gexiv2
6984 (package
6985 (name "gexiv2")
6986 (version "0.12.2")
6987 (source (origin
6988 (method url-fetch)
6989 (uri (string-append "mirror://gnome/sources/" name "/"
6990 (version-major+minor version) "/"
6991 name "-" version ".tar.xz"))
6992 (sha256
6993 (base32
6994 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
6995 (build-system meson-build-system)
6996 (native-inputs
6997 `(("gcr" ,gcr)
6998 ("glib" ,glib "bin")
6999 ("pkg-config" ,pkg-config)
7000 ("vala" ,vala)))
7001 (propagated-inputs
7002 ;; Listed in "Requires" section of gexiv2.pc
7003 `(("exiv2" ,exiv2)))
7004 (inputs
7005 `(("glib" ,glib)
7006 ("gobject-introspection" ,gobject-introspection)))
7007 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7008 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7009 (description
7010 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7011 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7012 metadata in photo and video files of various formats.")
7013 (license license:gpl2+)))
7014
7015 (define-public shotwell
7016 (package
7017 (name "shotwell")
7018 (version "0.30.11")
7019 (source (origin
7020 (method url-fetch)
7021 (uri (string-append "mirror://gnome/sources/shotwell/"
7022 (version-major+minor version) "/"
7023 "shotwell-" version ".tar.xz"))
7024 (sha256
7025 (base32
7026 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
7027 (build-system meson-build-system)
7028 (arguments
7029 '(#:glib-or-gtk? #t
7030 #:phases
7031 (modify-phases %standard-phases
7032 (add-after 'unpack 'skip-gtk-update-icon-cache
7033 (lambda _
7034 (substitute* "build-aux/meson/postinstall.py"
7035 (("gtk-update-icon-cache") (which "true"))
7036 (("update-desktop-database") (which "true")))
7037 #t)))))
7038 (propagated-inputs
7039 `(("dconf" ,dconf)))
7040 (native-inputs
7041 `(("gettext" ,gettext-minimal)
7042 ("glib:bin" ,glib "bin")
7043 ("itstool" ,itstool)
7044 ("pkg-config" ,pkg-config)
7045 ("vala" ,vala)))
7046 (inputs
7047 `(("gcr" ,gcr)
7048 ("gexiv2" ,gexiv2)
7049 ("gst-plugins-base" ,gst-plugins-base)
7050 ("gstreamer" ,gstreamer)
7051 ("json-glib" ,json-glib)
7052 ("libgdata" ,libgdata)
7053 ("libgee" ,libgee)
7054 ("libgphoto2" ,libgphoto2)
7055 ("libgudev" ,libgudev)
7056 ("libraw" ,libraw)
7057 ("libsoup" ,libsoup)
7058 ("libxml2" ,libxml2)
7059 ("sqlite" ,sqlite)
7060 ("webkitgtk" ,webkitgtk)))
7061 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7062 (synopsis "Photo manager for GNOME 3")
7063 (description
7064 "Shotwell is a digital photo manager designed for the GNOME desktop
7065 environment. It allows you to import photos from disk or camera, organize
7066 them by keywords and events, view them in full-window or fullscreen mode, and
7067 share them with others via social networking and more.")
7068 (license license:lgpl2.1+)))
7069
7070 (define-public file-roller
7071 (package
7072 (name "file-roller")
7073 (version "3.38.0")
7074 (source (origin
7075 (method url-fetch)
7076 (uri (string-append "mirror://gnome/sources/file-roller/"
7077 (version-major+minor version) "/"
7078 "file-roller-" version ".tar.xz"))
7079 (sha256
7080 (base32
7081 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7082 (build-system meson-build-system)
7083 (native-inputs
7084 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7085 ("intltool" ,intltool)
7086 ("itstool" ,itstool)
7087 ("pkg-config" ,pkg-config)
7088 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7089 ("glib:bin" ,glib "bin")))
7090 ;; TODO: Add libnautilus.
7091 (inputs
7092 `(("gtk+" ,gtk+)
7093 ("gdk-pixbuf" ,gdk-pixbuf)
7094 ("json-glib" ,json-glib)
7095 ("libarchive" ,libarchive)
7096 ("libnotify" ,libnotify)
7097 ("nettle" ,nettle)
7098 ("libxml2" ,libxml2)))
7099 (synopsis "Graphical archive manager for GNOME")
7100 (description "File Roller is an archive manager for the GNOME desktop
7101 environment that allows users to view, unpack, and create compressed archives
7102 such as gzip tarballs.")
7103 (home-page "http://fileroller.sourceforge.net/")
7104 (license license:gpl2+)))
7105
7106 (define-public gnome-session
7107 (package
7108 (name "gnome-session")
7109 (version "3.34.2")
7110 (source (origin
7111 (method url-fetch)
7112 (uri (string-append "mirror://gnome/sources/" name "/"
7113 (version-major+minor version) "/"
7114 name "-" version ".tar.xz"))
7115 (sha256
7116 (base32
7117 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7118 (arguments
7119 '(#:glib-or-gtk? #t
7120 #:phases
7121 (modify-phases %standard-phases
7122 (add-before 'configure 'pre-configure
7123 (lambda* (#:key outputs #:allow-other-keys)
7124 ;; Use elogind instead of systemd.
7125 (substitute* "meson.build"
7126 (("libsystemd-login") "libelogind")
7127 (("and libsystemd_daemon_dep.found.*") ","))
7128 (substitute* "gnome-session/gsm-systemd.c"
7129 (("#include <systemd/sd-login.h>")
7130 "#include <elogind/sd-login.h>"))
7131 ;; Remove uses of the systemd daemon.
7132 (substitute* "gnome-session/gsm-autostart-app.c"
7133 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7134 #t))
7135 (add-after 'install 'wrap-gnome-session
7136 (lambda* (#:key inputs outputs #:allow-other-keys)
7137 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7138 (let ((glib (assoc-ref inputs "glib:bin"))
7139 (out (assoc-ref outputs "out")))
7140 (wrap-program (string-append out "/bin/gnome-session")
7141 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7142 #t))))
7143
7144 #:configure-flags
7145 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7146 "-Dman=false" ; FIXME: disabled because of docbook validation error
7147 "-Dsystemd_journal=false")))
7148 (build-system meson-build-system)
7149 (native-inputs
7150 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7151 ("pkg-config" ,pkg-config)
7152 ("intltool" ,intltool)
7153 ("xsltproc" ,libxslt)
7154 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7155 ("docbook-xsl" ,docbook-xsl)
7156 ("docbook-xml" ,docbook-xml)
7157 ("xmlto" ,xmlto)))
7158 (inputs
7159 `(("elogind" ,elogind)
7160 ("gnome-desktop" ,gnome-desktop)
7161 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7162 ("gtk+" ,gtk+)
7163 ("json-glib" ,json-glib)
7164 ("libsm" ,libsm)
7165 ("libxcomposite" ,libxcomposite)
7166 ("libxtst" ,libxtst)
7167 ("mesa" ,mesa)
7168 ("upower" ,upower)
7169 ("xtrans" ,xtrans)))
7170 (synopsis "Session manager for GNOME")
7171 (description
7172 "This package contains the GNOME session manager, as well as a
7173 configuration program to choose applications starting on login.")
7174 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7175 (license license:gpl2+)))
7176
7177 (define-public gjs
7178 (package
7179 (name "gjs")
7180 (version "1.58.3")
7181 (source (origin
7182 (method url-fetch)
7183 (uri (string-append "mirror://gnome/sources/" name "/"
7184 (version-major+minor version) "/"
7185 name "-" version ".tar.xz"))
7186 (sha256
7187 (base32
7188 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7189 (build-system gnu-build-system)
7190 (arguments
7191 '(#:phases
7192 (modify-phases %standard-phases
7193 (add-before
7194 'check 'pre-check
7195 (lambda _
7196 ;; The test suite requires a running X server.
7197 (system "Xvfb :1 &")
7198 (setenv "DISPLAY" ":1")
7199
7200 ;; For the missing /etc/machine-id.
7201 (setenv "DBUS_FATAL_WARNINGS" "0")
7202
7203 ;; Our mozjs-38 package does not compile the required Intl API
7204 ;; support for these failing tests.
7205 (substitute* "installed-tests/js/testLocale.js"
7206 ((".*toBeDefined.*") "")
7207 ((".*expect\\(datestr\\).*") ""))
7208 (substitute* "installed-tests/scripts/testCommandLine.sh"
7209 (("Valentín") "")
7210 (("☭") ""))
7211 #t)))))
7212 (native-inputs
7213 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7214 ("pkg-config" ,pkg-config)
7215 ("xmllint" ,libxml2)
7216 ;; For testing
7217 ("dbus-launch" ,dbus)
7218 ("dconf" ,dconf) ; required to properly store settings
7219 ("uuidgen" ,util-linux)
7220 ("xvfb" ,xorg-server-for-tests)))
7221 (propagated-inputs
7222 ;; These are all in the Requires.private field of gjs-1.0.pc.
7223 `(("cairo" ,cairo)
7224 ("gobject-introspection" ,gobject-introspection)
7225 ("mozjs" ,mozjs-60)))
7226 (inputs
7227 `(("gtk+" ,gtk+)
7228 ("readline" ,readline)))
7229 (synopsis "Javascript bindings for GNOME")
7230 (home-page "https://live.gnome.org/Gjs")
7231 (description
7232 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7233 javascript engine and the GObject introspection framework.")
7234 (license license:gpl2+)))
7235
7236 (define-public gedit
7237 (package
7238 (name "gedit")
7239 (version "3.34.1")
7240 (source (origin
7241 (method url-fetch)
7242 (uri (string-append "mirror://gnome/sources/" name "/"
7243 (version-major+minor version) "/"
7244 name "-" version ".tar.xz"))
7245 (sha256
7246 (base32
7247 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7248 (build-system meson-build-system)
7249 (arguments
7250 `(#:glib-or-gtk? #t
7251 #:configure-flags
7252 ;; Otherwise, the RUNPATH will lack the final path component.
7253 (list (string-append "-Dc_link_args=-Wl,-rpath="
7254 (assoc-ref %outputs "out") "/lib/gedit"))
7255
7256 ;; XXX: Generated .h files are sometimes used before being built.
7257 #:parallel-build? #f
7258
7259 #:phases
7260 (modify-phases %standard-phases
7261 (add-after 'unpack 'skip-gtk-update-icon-cache
7262 ;; Don't create 'icon-theme.cache'.
7263 (lambda _
7264 (substitute* "build-aux/meson/post_install.py"
7265 (("gtk-update-icon-cache") (which "true")))
7266 #t))
7267 (add-after 'unpack 'patch-libgd-fetch
7268 (lambda* (#:key inputs #:allow-other-keys)
7269 (let ((libgd (assoc-ref inputs "libgd")))
7270 ;; Calling git is unnecessary because libgd is fetched as a
7271 ;; native input to this package.
7272 (substitute* "meson.build"
7273 ((".*git.*") ""))
7274 (copy-recursively libgd "subprojects/libgd")
7275 #t)))
7276 (add-after 'install 'wrap-gedit
7277 (lambda* (#:key inputs outputs #:allow-other-keys)
7278 (let ((out (assoc-ref outputs "out"))
7279 (gtksourceview (assoc-ref inputs "gtksourceview"))
7280 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7281 (python-path (getenv "PYTHONPATH")))
7282 (wrap-program (string-append out "/bin/gedit")
7283 ;; For plugins.
7284 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7285 `("PYTHONPATH" ":" prefix (,python-path))
7286 ;; For language-specs.
7287 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7288 "/share")))))
7289 #t)))))
7290 (propagated-inputs
7291 `(("dconf" ,dconf)))
7292 (native-inputs
7293 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7294 ("intltool" ,intltool)
7295 ("itstool" ,itstool)
7296 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7297 ("gobject-introspection" ,gobject-introspection)
7298 ("libgd"
7299 ,(origin
7300 (method git-fetch)
7301 (uri (git-reference
7302 (url "https://gitlab.gnome.org/GNOME/libgd")
7303 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7304 (file-name (git-file-name "libgd" version))
7305 (sha256
7306 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7307 ("pkg-config" ,pkg-config)))
7308 (inputs
7309 `(("glib" ,glib)
7310 ("gspell" ,gspell)
7311 ("gtk+" ,gtk+)
7312 ("gtksourceview" ,gtksourceview)
7313 ("libpeas" ,libpeas)
7314 ("libxml2" ,libxml2)
7315 ("iso-codes" ,iso-codes)
7316 ("python-pygobject" ,python-pygobject)
7317 ("python" ,python)
7318 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7319 ("libx11" ,libx11)
7320 ("vala" ,vala)
7321 ("adwaita-icon-theme" ,adwaita-icon-theme)
7322 ("libsoup" ,libsoup)
7323 ("gnome-desktop" ,gnome-desktop)))
7324 (home-page "https://wiki.gnome.org/Apps/Gedit")
7325 (synopsis "GNOME text editor")
7326 (description "While aiming at simplicity and ease of use, gedit is a
7327 powerful general purpose text editor.")
7328 (license license:gpl2+)))
7329
7330 (define-public zenity
7331 (package
7332 (name "zenity")
7333 (version "3.32.0")
7334 (source (origin
7335 (method url-fetch)
7336 (uri (string-append "mirror://gnome/sources/zenity/"
7337 (version-major+minor version) "/"
7338 "zenity-" version ".tar.xz"))
7339 (sha256
7340 (base32
7341 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7342 (build-system gnu-build-system)
7343 (native-inputs
7344 `(("gettext" ,gettext-minimal)
7345 ("itstool" ,itstool)
7346 ("pkg-config" ,pkg-config)))
7347 (inputs
7348 `(("libnotify" ,libnotify)
7349 ("webkitgtk" ,webkitgtk)))
7350 (synopsis "Display graphical dialog boxes from shell scripts")
7351 (home-page "https://www.gnome.org")
7352 (description
7353 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7354 to display dialog boxes from the commandline and shell scripts.")
7355 (license license:lgpl2.0+)))
7356
7357 (define-public mutter
7358 (package
7359 (name "mutter")
7360 (version "3.34.2")
7361 (source (origin
7362 (method url-fetch)
7363 (uri (string-append "mirror://gnome/sources/" name "/"
7364 (version-major+minor version) "/"
7365 name "-" version ".tar.xz"))
7366 (sha256
7367 (base32
7368 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7369 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7370 ;; versions of cogl and clutter. As a result, many of the inputs,
7371 ;; propagated-inputs, and configure flags used in cogl and clutter are
7372 ;; needed here as well.
7373 (build-system meson-build-system)
7374 (arguments
7375 '(;; XXX: All mutter tests fail with the following error:
7376 ;; Settings schema 'org.gnome.mutter' is not installed
7377 #:tests? #f
7378 #:glib-or-gtk? #t
7379 #:configure-flags
7380 ;; TODO: Enable profiler when Sysprof is packaged.
7381 (list "-Dprofiler=false"
7382 ;; Otherwise, the RUNPATH will lack the final path component.
7383 (string-append "-Dc_link_args=-Wl,-rpath="
7384 (assoc-ref %outputs "out") "/lib:"
7385 (assoc-ref %outputs "out") "/lib/mutter-5")
7386
7387 ;; The following flags are needed for the bundled clutter
7388 (string-append "-Dxwayland_path="
7389 (assoc-ref %build-inputs "xorg-server-xwayland")
7390 "/bin/Xwayland")
7391
7392 ;; the remaining flags are needed for the bundled cogl
7393 (string-append "-Dopengl_libname="
7394 (assoc-ref %build-inputs "mesa")
7395 "/lib/libGL.so"))
7396 #:phases (modify-phases %standard-phases
7397 (add-after 'unpack 'fix-build-with-mesa-20
7398 (lambda _
7399 ;; Mimic upstream commit a444a4c5f58ea516ad for
7400 ;; compatibility with Mesa 20. Remove for 3.36.
7401 (substitute* '("src/backends/meta-egl-ext.h"
7402 "src/backends/meta-egl.c"
7403 "src/backends/meta-egl.h")
7404 (("#include <EGL/eglext\\.h>" all)
7405 (string-append all "\n#include <EGL/eglmesaext.h>")))
7406 (substitute* "cogl/cogl/meson.build"
7407 (("#include <EGL/eglext\\.h>" all)
7408 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7409 #t)))))
7410 (native-inputs
7411 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7412 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7413 ("gobject-introspection" ,gobject-introspection)
7414 ("intltool" ,intltool)
7415 ("pkg-config" ,pkg-config)
7416 ("xorg-server" ,xorg-server-for-tests)
7417 ;; For git build
7418 ("autoconf" ,autoconf)
7419 ("automake" ,automake)
7420 ("libtool" ,libtool)))
7421 (propagated-inputs
7422 `(;; libmutter.pc refers to these:
7423 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7424 ("gtk+" ,gtk+)
7425 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7426 ("atk" ,atk)
7427 ("cairo" ,cairo)
7428 ("gdk-pixbuf" ,gdk-pixbuf)
7429 ("glib" ,glib)
7430 ("json-glib" ,json-glib)
7431 ("libinput" ,libinput)
7432 ("libx11" ,libx11)
7433 ("libxcomposite" ,libxcomposite)
7434 ("libxdamage" ,libxdamage)
7435 ("libxext" ,libxext)
7436 ("libxfixes" ,libxfixes)
7437 ("libxkbcommon" ,libxkbcommon)
7438 ("libxrandr" ,libxrandr)
7439 ("mesa" ,mesa)
7440 ("pango" ,pango)
7441 ("udev" ,eudev)
7442 ("xinput" ,xinput)))
7443 (inputs
7444 `(("elogind" ,elogind)
7445 ("gnome-desktop" ,gnome-desktop)
7446 ("gnome-settings-daemon" ,gnome-settings-daemon)
7447 ("libcanberra-gtk" ,libcanberra)
7448 ("libgudev" ,libgudev)
7449 ("libice" ,libice)
7450 ("libsm" ,libsm)
7451 ("libwacom" ,libwacom)
7452 ("libxkbfile" ,libxkbfile)
7453 ("libxrandr" ,libxrandr)
7454 ("libxtst" ,libxtst)
7455 ("pipewire" ,pipewire)
7456 ("startup-notification" ,startup-notification)
7457 ("upower-glib" ,upower)
7458 ("xkeyboard-config" ,xkeyboard-config)
7459 ("xorg-server-xwayland" ,xorg-server-xwayland)
7460 ("zenity" ,zenity)))
7461 (synopsis "Window and compositing manager")
7462 (home-page "https://www.gnome.org")
7463 (description
7464 "Mutter is a window and compositing manager that displays and manages your
7465 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7466 Clutter toolkit with solid window-management logic inherited from the Metacity
7467 window manager.")
7468 (license license:gpl2+)))
7469
7470 (define-public gnome-online-accounts
7471 (package
7472 (name "gnome-online-accounts")
7473 (version "3.36.0")
7474 (source (origin
7475 (method url-fetch)
7476 (uri (string-append "mirror://gnome/sources/" name "/"
7477 (version-major+minor version) "/"
7478 name "-" version ".tar.xz"))
7479 (sha256
7480 (base32
7481 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7482 (outputs '("out" "lib"))
7483 (build-system glib-or-gtk-build-system)
7484 (arguments
7485 `(#:configure-flags
7486 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7487 #:phases
7488 (modify-phases %standard-phases
7489 (add-before 'configure 'patch-libgoa-output
7490 (lambda* (#:key outputs #:allow-other-keys)
7491 (let ((lib (assoc-ref outputs "lib")))
7492 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7493 (("@prefix@") lib)
7494 (("@exec_prefix@") lib)
7495 (("@libdir@") (string-append lib "/lib"))
7496 (("@includedir@") (string-append lib "/include"))
7497 (("@datadir@") (string-append lib "/share")))
7498 ;; Make sure gobject-introspection knows about the output
7499 ;; too (see <https://bugs.gnu.org/36535>).
7500 (setenv "outputs" "out lib")
7501 #t))))))
7502 (native-inputs
7503 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7504 ("gobject-introspection" ,gobject-introspection)
7505 ("intltool" ,intltool)
7506 ("pkg-config" ,pkg-config)
7507 ("vala" ,vala)
7508 ("xsltproc" ,libxslt)))
7509 (propagated-inputs
7510 `(("glib" ,glib) ; required by goa-1.0.pc
7511 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7512 (inputs
7513 `(("docbook-xsl" ,docbook-xsl)
7514 ("json-glib" ,json-glib)
7515 ("libsecret" ,libsecret)
7516 ("rest" ,rest)
7517 ("webkitgtk" ,webkitgtk)))
7518 (synopsis "Single sign-on framework for GNOME")
7519 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7520 (description
7521 "GNOME Online Accounts provides interfaces so that applications and
7522 libraries in GNOME can access the user's online accounts. It has providers for
7523 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7524 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7525 (license license:lgpl2.0+)))
7526
7527 (define-public evolution-data-server
7528 (package
7529 (name "evolution-data-server")
7530 (version "3.34.2")
7531 (source (origin
7532 (method url-fetch)
7533 (uri (string-append "mirror://gnome/sources/" name "/"
7534 (version-major+minor version) "/"
7535 name "-" version ".tar.xz"))
7536 (patches (search-patches "evolution-data-server-locales.patch"
7537 "evolution-data-server-libical-compat.patch"
7538 "evolution-data-server-CVE-2020-14928.patch"
7539 "evolution-data-server-CVE-2020-16117.patch"))
7540 (sha256
7541 (base32
7542 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7543 (build-system cmake-build-system)
7544 (arguments
7545 '(#:configure-flags
7546 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7547 (runpaths (map (lambda (s)
7548 (string-append lib "/evolution-data-server/" s))
7549 '("addressbook-backends" "calendar-backends"
7550 "camel-providers" "credential-modules"
7551 "registry-modules"))))
7552 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7553 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7554 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7555 "-DENABLE_VALA_BINDINGS=ON"
7556 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7557 (string-append lib "/evolution-data-server;")
7558 (string-join runpaths ";"))
7559 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7560 #:phases
7561 (modify-phases %standard-phases
7562 (add-after 'unpack 'disable-failing-tests
7563 (lambda _
7564 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7565 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7566 (delete-file-recursively "tests/book-migration")
7567 (substitute* "tests/CMakeLists.txt"
7568 (("add_subdirectory\\(book-migration\\)") ""))
7569 #t))
7570 (add-after 'unpack 'patch-paths
7571 (lambda _
7572 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7573 "tests/libedata-book/data-test-utils.c"
7574 "tests/libedata-book/test-book-cache-utils.c"
7575 "tests/libedata-cal/test-cal-cache-utils.c")
7576 (("/bin/rm") (which "rm")))
7577 #t))
7578 (add-before 'configure 'dont-override-rpath
7579 (lambda _
7580 (substitute* "CMakeLists.txt"
7581 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7582 ;; Remove it so the configure flag is respected.
7583 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7584 #t)))))
7585 (native-inputs
7586 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7587 ("gobject-introspection" ,gobject-introspection)
7588 ("gperf" ,gperf)
7589 ("intltool" ,intltool)
7590 ("pkg-config" ,pkg-config)
7591 ("vala" ,vala)
7592 ("python" ,python-wrapper)))
7593 (propagated-inputs
7594 ;; These are all in the Requires field of .pc files.
7595 `(("gtk+" ,gtk+)
7596 ("libical" ,libical)
7597 ("libsecret" ,libsecret)
7598 ("libsoup" ,libsoup)
7599 ("nss" ,nss)
7600 ("sqlite" ,sqlite)))
7601 (inputs
7602 `(("bdb" ,bdb)
7603 ("gcr" ,gcr)
7604 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7605 ("json-glib" ,json-glib)
7606 ("libcanberra" ,libcanberra)
7607 ("libgweather" ,libgweather)
7608 ("mit-krb5" ,mit-krb5)
7609 ("openldap" ,openldap)
7610 ("webkitgtk" ,webkitgtk)))
7611 (synopsis "Store address books and calendars")
7612 (home-page "https://wiki.gnome.org/Apps/Evolution")
7613 (description
7614 "This package provides a unified backend for programs that work with
7615 contacts, tasks, and calendar information. It was originally developed for
7616 Evolution (hence the name), but is now used by other packages as well.")
7617 (license license:lgpl2.0)))
7618
7619 (define-public caribou
7620 (package
7621 (name "caribou")
7622 (version "0.4.21")
7623 (source (origin
7624 (method url-fetch)
7625 (uri (string-append "mirror://gnome/sources/" name "/"
7626 (version-major+minor version) "/"
7627 name "-" version ".tar.xz"))
7628 (sha256
7629 (base32
7630 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7631 (build-system glib-or-gtk-build-system)
7632 (arguments
7633 '(#:phases
7634 (modify-phases %standard-phases
7635 (add-before
7636 'build 'pre-build
7637 (lambda* (#:key outputs #:allow-other-keys)
7638 (let ((out (assoc-ref outputs "out")))
7639 ;; Use absolute shared library path in Caribou-1.0.typelib.
7640 (substitute* "libcaribou/Makefile"
7641 (("--shared-library=libcaribou.so")
7642 (string-append "--shared-library="
7643 out "/lib/libcaribou.so")))
7644 #t)))
7645 (add-after 'install 'wrap-programs
7646 (lambda* (#:key outputs #:allow-other-keys)
7647 (let* ((out (assoc-ref outputs "out"))
7648 (python-path (getenv "PYTHONPATH"))
7649 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7650 (for-each
7651 (lambda (prog)
7652 (wrap-program prog
7653 `("PYTHONPATH" ":" prefix (,python-path))
7654 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7655 (list (string-append out "/bin/caribou-preferences")
7656 (string-append out "/libexec/antler-keyboard"))))
7657 #t)))))
7658 (native-inputs
7659 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7660 ("gobject-introspection" ,gobject-introspection)
7661 ("intltool" ,intltool)
7662 ("pkg-config" ,pkg-config)
7663 ("python" ,python)
7664 ("vala" ,vala)
7665 ("xsltproc" ,libxslt)))
7666 (propagated-inputs
7667 ;; caribou-1.0.pc refers to all these.
7668 `(("libgee" ,libgee)
7669 ("libxklavier" ,libxklavier)
7670 ("libxtst" ,libxtst)
7671 ("gtk+" ,gtk+)))
7672 (inputs
7673 `(("clutter" ,clutter)
7674 ("dconf" ,dconf)
7675 ("gtk+-2" ,gtk+-2)
7676 ("python-pygobject" ,python-pygobject)))
7677 (synopsis "Text entry and UI navigation application")
7678 (home-page "https://wiki.gnome.org/Projects/Caribou")
7679 (description
7680 "Caribou is an input assistive technology intended for switch and pointer
7681 users.")
7682 (license license:lgpl2.1)))
7683
7684 (define-public network-manager
7685 (package
7686 (name "network-manager")
7687 (version "1.24.0")
7688 (source (origin
7689 (method url-fetch)
7690 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7691 (version-major+minor version) "/"
7692 "NetworkManager-" version ".tar.xz"))
7693 (patches (search-patches "network-manager-plugin-path.patch"))
7694 (sha256
7695 (base32
7696 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7697 (modules '((guix build utils)))
7698 (snippet
7699 '(begin
7700 (substitute* "src/devices/wwan/nm-modem-manager.c"
7701 (("systemd") "elogind"))
7702 #t))))
7703 (build-system meson-build-system)
7704 (outputs '("out"
7705 "doc")) ; 8 MiB of gtk-doc HTML
7706 (arguments
7707 `(#:configure-flags
7708 (let ((out (assoc-ref %outputs "out"))
7709 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7710 "/sbin/dhclient")))
7711 (list
7712 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7713 ;; component.
7714 (string-append "-Dc_link_args=-Wl,-rpath="
7715 out "/lib:"
7716 out "/lib/NetworkManager/" ,version)
7717 "-Dsystemd_journal=false"
7718 "-Dsession_tracking=elogind"
7719 "-Dsuspend_resume=elogind"
7720 "-Dsystemdsystemunitdir=no"
7721 "-Dsession_tracking_consolekit=false"
7722 "-Ddhcpcd=no"
7723 "-Ddhcpcanon=no"
7724 "-Dcrypto=gnutls"
7725 "-Diwd=true"
7726 "-Dlibaudit=yes"
7727 "-Dqt=false"
7728 "-Ddocs=true"
7729 "--sysconfdir=/etc"
7730 "--localstatedir=/var"
7731 (string-append "-Dudev_dir="
7732 out "/lib/udev")
7733 (string-append "-Ddbus_conf_dir="
7734 out "/etc/dbus-1/system.d")
7735
7736 (string-append "-Ddhclient=" dhclient)))
7737 #:phases
7738 (modify-phases %standard-phases
7739 (add-before 'configure 'pre-configure
7740 (lambda _
7741 ;; These tests try to test aspects of network-manager's
7742 ;; functionality within restricted containers, but they don't
7743 ;; cope with being already in the Guix build jail as that jail
7744 ;; lacks some features that they would like to proxy over (like
7745 ;; a /sys mount).
7746 (substitute* "src/platform/tests/meson.build"
7747 ((".*test-address-linux.*") "")
7748 ((".*test-cleanup-linux.*") "")
7749 ((".*test-link-linux.*") "")
7750 ((".*test-route-linux.*") ""))
7751 (substitute* "src/devices/tests/meson.build"
7752 ((".*test-acd.*") "")
7753 ((".*test-lldp.*") ""))
7754 #t))
7755 (add-after 'unpack 'patch-docbook-xml
7756 (lambda* (#:key inputs #:allow-other-keys)
7757 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7758 "/xml/dtd/docbook")))
7759 (substitute* (find-files "." ".*\\.(xsl|xml)")
7760 (("http://.*/docbookx\\.dtd")
7761 (string-append xmldoc "/docbookx.dtd")))
7762 #t)))
7763 (add-before 'check 'pre-check
7764 (lambda _
7765 ;; For the missing /etc/machine-id.
7766 (setenv "DBUS_FATAL_WARNINGS" "0")
7767 #t))
7768 (add-before 'install 'no-polkit-magic
7769 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7770 (lambda _
7771 (setenv "PKEXEC_UID" "something")
7772 #t))
7773 (add-after 'install 'move-doc
7774 (lambda* (#:key outputs #:allow-other-keys)
7775 (let ((out (assoc-ref outputs "out"))
7776 (doc (assoc-ref outputs "doc")))
7777 (mkdir-p (string-append doc "/share"))
7778 (for-each (lambda (directory)
7779 (copy-recursively (string-append out directory)
7780 (string-append doc directory))
7781 (delete-file-recursively
7782 (string-append out directory)))
7783 '("/share/doc" "/share/gtk-doc"))
7784 #t))))))
7785 (propagated-inputs
7786 `(("glib" ,glib)))
7787 (native-inputs
7788 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7789 ("gtk-doc" ,gtk-doc/stable)
7790 ("gobject-introspection" ,gobject-introspection)
7791 ("docbook-xml" ,docbook-xml)
7792 ("docbook-xsl" ,docbook-xsl)
7793 ("intltool" ,intltool)
7794 ("libxslt" ,libxslt)
7795 ("libxml2" ,libxml2)
7796 ("pkg-config" ,pkg-config)
7797 ("vala" ,vala)
7798 ;; For testing.
7799 ("python" ,python-wrapper)
7800 ("python-dbus" ,python-dbus)
7801 ("python-pygobject" ,python-pygobject)))
7802 (inputs
7803 `(("curl" ,curl)
7804 ("cyrus-sasl" ,cyrus-sasl)
7805 ("dbus-glib" ,dbus-glib)
7806 ("dnsmasq" ,dnsmasq)
7807 ("eudev" ,eudev)
7808 ("gnutls" ,gnutls)
7809 ("iptables" ,iptables)
7810 ("isc-dhcp" ,isc-dhcp)
7811 ("iwd" ,iwd) ; wpa_supplicant alternative
7812 ("jansson" ,jansson)
7813 ("libaudit" ,audit)
7814 ("libgcrypt" ,libgcrypt)
7815 ("libgudev" ,libgudev)
7816 ("libndp" ,libndp)
7817 ("libnl" ,libnl)
7818 ("libsoup" ,libsoup)
7819 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7820 ("modem-manager" ,modem-manager)
7821 ("newt" ,newt) ;for the 'nmtui' console interface
7822 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7823 ("polkit" ,polkit)
7824 ("ppp" ,ppp)
7825 ("readline" ,readline)
7826 ("util-linux" ,util-linux)
7827 ("elogind" ,elogind)))
7828 (synopsis "Network connection manager")
7829 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7830 (description
7831 "NetworkManager is a system network service that manages your network
7832 devices and connections, attempting to keep active network connectivity when
7833 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7834 devices, and provides VPN integration with a variety of different VPN
7835 services.")
7836 ;; “This NetworkManager project consists of the daemon, client tools, and
7837 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7838 ;; GPL-2.0+.”
7839 (license (list license:gpl2+
7840 license:lgpl2.1+))
7841 (properties '((upstream-name . "NetworkManager")))))
7842
7843 (define-public network-manager-openvpn
7844 (package
7845 (name "network-manager-openvpn")
7846 (version "1.8.12")
7847 (source (origin
7848 (method url-fetch)
7849 (uri (string-append
7850 "mirror://gnome/sources/NetworkManager-openvpn/"
7851 (version-major+minor version)
7852 "/NetworkManager-openvpn-" version ".tar.xz"))
7853 (sha256
7854 (base32
7855 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7856 (build-system gnu-build-system)
7857 (arguments
7858 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7859 #:phases
7860 (modify-phases %standard-phases
7861 (add-after 'configure 'patch-path
7862 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7863 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7864 "/sbin/openvpn"))
7865 (modprobe (string-append (assoc-ref inputs "kmod")
7866 "/bin/modprobe"))
7867 (pretty-ovpn (string-append "\"" ovpn "\"")))
7868 (for-each
7869 (lambda (file)
7870 (substitute* file
7871 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7872 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7873 (("\"/sbin/openvpn\"") pretty-ovpn)
7874 (("/sbin/modprobe") modprobe)))
7875 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7876 #t)))))
7877 (native-inputs
7878 `(("pkg-config" ,pkg-config)
7879 ("intltool" ,intltool)))
7880 (inputs
7881 `(("gtk+" ,gtk+)
7882 ("kmod" ,kmod)
7883 ("openvpn" ,openvpn)
7884 ("network-manager" ,network-manager)
7885 ("libnma" ,libnma)
7886 ("libsecret" ,libsecret)))
7887 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7888 (synopsis "OpenVPN plug-in for NetworkManager")
7889 (description
7890 "This extension of NetworkManager allows it to take care of connections
7891 to virtual private networks (VPNs) via OpenVPN.")
7892 (license license:gpl2+)
7893 (properties `((upstream-name . "NetworkManager-openvpn")))))
7894
7895 (define-public network-manager-vpnc
7896 (package
7897 (name "network-manager-vpnc")
7898 (version "1.2.6")
7899 (source (origin
7900 (method url-fetch)
7901 (uri (string-append
7902 "mirror://gnome/sources/NetworkManager-vpnc/"
7903 (version-major+minor version)
7904 "/NetworkManager-vpnc-" version ".tar.xz"))
7905 (sha256
7906 (base32
7907 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7908 (build-system gnu-build-system)
7909 (arguments
7910 `(#:configure-flags '("--enable-absolute-paths"
7911 "--localstatedir=/var"
7912 ;; libnm-glib has been removed from network-manager
7913 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7914 "--with-libnm-glib=no")
7915 #:phases
7916 (modify-phases %standard-phases
7917 (add-after 'configure 'patch-path
7918 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7919 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7920 "/sbin/vpnc"))
7921 (modprobe (string-append (assoc-ref inputs "kmod")
7922 "/bin/modprobe"))
7923 (pretty-ovpn (string-append "\"" vpnc "\"")))
7924 (substitute* "src/nm-vpnc-service.c"
7925 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7926 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7927 (("\"/sbin/vpnc\"") pretty-ovpn)
7928 (("/sbin/modprobe") modprobe)))
7929 #t)))))
7930 (native-inputs
7931 `(("pkg-config" ,pkg-config)
7932 ("intltool" ,intltool)))
7933 (inputs
7934 `(("gtk+" ,gtk+)
7935 ("kmod" ,kmod)
7936 ("vpnc" ,vpnc)
7937 ("network-manager" ,network-manager)
7938 ("libnma" ,libnma)
7939 ("libsecret" ,libsecret)))
7940 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7941 (synopsis "VPNC plug-in for NetworkManager")
7942 (description
7943 "Support for configuring virtual private networks based on VPNC.
7944 Compatible with Cisco VPN concentrators configured to use IPsec.")
7945 (license license:gpl2+)
7946 (properties `((upstream-name . "NetworkManager-vpnc")))))
7947
7948 (define-public network-manager-openconnect
7949 (package
7950 (name "network-manager-openconnect")
7951 (version "1.2.6")
7952 (source (origin
7953 (method url-fetch)
7954 (uri (string-append
7955 "mirror://gnome/sources/NetworkManager-openconnect/"
7956 (version-major+minor version)
7957 "/NetworkManager-openconnect-" version ".tar.xz"))
7958 (sha256
7959 (base32
7960 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7961 (build-system gnu-build-system)
7962 (arguments
7963 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7964 #:phases
7965 (modify-phases %standard-phases
7966 (add-after 'configure 'patch-path
7967 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7968 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7969 "/sbin/openconnect"))
7970 (modprobe (string-append (assoc-ref inputs "kmod")
7971 "/bin/modprobe"))
7972 (pretty-ovpn (string-append "\"" openconnect "\"")))
7973 (substitute* "src/nm-openconnect-service.c"
7974 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7975 (("/sbin/modprobe") modprobe)))
7976 #t)))))
7977 (native-inputs
7978 `(("intltool" ,intltool)
7979 ("libnma" ,libnma)
7980 ("pkg-config" ,pkg-config)))
7981 (inputs
7982 `(("gcr" ,gcr)
7983 ("gtk+" ,gtk+)
7984 ("kmod" ,kmod)
7985 ("libsecret" ,libsecret)
7986 ("libxml2" ,libxml2)
7987 ("lz4" ,lz4)
7988 ("network-manager" ,network-manager)
7989 ("openconnect" ,openconnect)))
7990 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7991 (synopsis "OpenConnect plug-in for NetworkManager")
7992 (description
7993 "This extension of NetworkManager allows it to take care of connections
7994 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7995 Cisco's AnyConnect SSL VPN.")
7996 (license license:gpl2+)
7997 (properties `((upstream-name . "NetworkManager-openconnect")
7998
7999 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8000 ;; file refers to account "nm-openconnect". Specify it here
8001 ;; so that 'network-manager-service-type' creates it.
8002 (user-accounts . ("nm-openconnect"))))))
8003
8004 (define-public mobile-broadband-provider-info
8005 (package
8006 (name "mobile-broadband-provider-info")
8007 (version "20190116")
8008 (source (origin
8009 (method url-fetch)
8010 (uri (string-append
8011 "mirror://gnome/sources/"
8012 "mobile-broadband-provider-info/" version "/"
8013 "mobile-broadband-provider-info-" version ".tar.xz"))
8014 (sha256
8015 (base32
8016 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
8017 (build-system gnu-build-system)
8018 (arguments
8019 `(#:tests? #f)) ; no tests
8020 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8021 (synopsis "Database of broadband connection configuration")
8022 (description "Database of broadband connection configuration.")
8023 (license license:public-domain)))
8024
8025 (define-public network-manager-applet
8026 (package
8027 (name "network-manager-applet")
8028 (version "1.20.0")
8029 (source (origin
8030 (method url-fetch)
8031 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8032 (version-major+minor version) "/"
8033 "network-manager-applet-" version ".tar.xz"))
8034 (sha256
8035 (base32
8036 "0lsjkbv66hn7acl2pg9h6hz4b700zzv4cjwrwjvy7043blw0bcla"))))
8037 (build-system meson-build-system)
8038 (arguments
8039 '(#:glib-or-gtk? #t
8040 #:configure-flags
8041 '("-Dappindicator=yes")))
8042 (native-inputs
8043 `(("intltool" ,intltool)
8044 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
8045 ("gobject-introspection" ,gobject-introspection)
8046 ("gtk-doc" ,gtk-doc/stable)
8047 ("pkg-config" ,pkg-config)))
8048 (propagated-inputs
8049 ;; libnm-gtk.pc refers to all these.
8050 `(("dbus-glib" ,dbus-glib)
8051 ("gtk+" ,gtk+)
8052 ("network-manager" ,network-manager)
8053 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8054 ("libnma" ,libnma)))
8055 (inputs
8056 `(("gcr" ,gcr)
8057 ("libappindicator" ,libappindicator)
8058 ("libgudev" ,libgudev)
8059 ("libnotify" ,libnotify)
8060 ("libsecret" ,libsecret)
8061 ("libselinux" ,libselinux)
8062 ("jansson" ,jansson) ; for team support
8063 ("modem-manager" ,modem-manager)))
8064 (synopsis "Applet for managing network connections")
8065 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8066 (description
8067 "This package contains a systray applet for NetworkManager. It displays
8068 the available networks and allows users to easily switch between them.")
8069 (license license:gpl2+)))
8070
8071 (define-public libxml++
8072 (package
8073 (name "libxml++")
8074 (version "3.0.1")
8075 (source (origin
8076 (method url-fetch)
8077 (uri (string-append "mirror://gnome/sources/" name "/"
8078 (version-major+minor version) "/"
8079 name "-" version ".tar.xz"))
8080 (sha256
8081 (base32
8082 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8083 (build-system gnu-build-system)
8084 ;; libxml++-3.0.pc refers to all these.
8085 (propagated-inputs
8086 `(("libxml2" ,libxml2)
8087 ("glibmm" ,glibmm)))
8088 (native-inputs
8089 `(("perl" ,perl)
8090 ("pkg-config" ,pkg-config)))
8091 (home-page "http://libxmlplusplus.sourceforge.net/")
8092 (synopsis "C++ wrapper for XML parser library libxml2")
8093 (description
8094 "This package provides a C++ wrapper for the XML parser library
8095 libxml2.")
8096 (license license:lgpl2.1+)))
8097
8098 (define-public libxml++-2
8099 (package
8100 (inherit libxml++)
8101 (name "libxml++")
8102 (version "2.40.1")
8103 (source (origin
8104 (method url-fetch)
8105 (uri (string-append "mirror://gnome/sources/" name "/"
8106 (version-major+minor version) "/"
8107 name "-" version ".tar.xz"))
8108 (sha256
8109 (base32
8110 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8111
8112 (define-public gdm
8113 (package
8114 (name "gdm")
8115 (version "3.34.1")
8116 (source (origin
8117 (method url-fetch)
8118 (uri (string-append "mirror://gnome/sources/" name "/"
8119 (version-major+minor version) "/"
8120 name "-" version ".tar.xz"))
8121 (sha256
8122 (base32
8123 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8124 (patches (search-patches "gdm-default-session.patch"))))
8125 (build-system glib-or-gtk-build-system)
8126 (arguments
8127 '(#:configure-flags
8128 `("--without-plymouth"
8129 "--disable-systemd-journal"
8130
8131 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8132 ;; instead of having to replace it (i.e., stopping the mingetty
8133 ;; service for TTY 1 before starting GDM).
8134 "--with-initial-vt=7"
8135
8136 ;; Use '/etc/environment' for locale settings instead of the
8137 ;; systemd-specific '/etc/locale.conf'.
8138 "--with-lang-file=/etc/environment"
8139
8140 ,(string-append "--with-udevdir="
8141 (assoc-ref %outputs "out") "/lib/udev")
8142
8143 "--localstatedir=/var"
8144 ,(string-append "--with-default-path="
8145 (string-join '("/run/setuid-programs"
8146 "/run/current-system/profile/bin"
8147 "/run/current-system/profile/sbin")
8148 ":"))
8149 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8150 ;; XDG_DATA_DIRS so that it finds its schemas.
8151 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8152 #:phases
8153 (modify-phases %standard-phases
8154 (add-before
8155 'configure 'pre-configure
8156 (lambda* (#:key inputs outputs #:allow-other-keys)
8157 ;; We don't have <systemd/sd-daemon.h>.
8158 (substitute* '("common/gdm-log.c"
8159 "daemon/gdm-server.c"
8160 "daemon/gdm-session-worker.c"
8161 "daemon/gdm-session-worker-job.c")
8162 (("#include <systemd/sd-daemon\\.h>") ""))
8163 ;; Use elogind for sd-login.
8164 (substitute* '("common/gdm-common.c"
8165 "daemon/gdm-local-display-factory.c"
8166 "daemon/gdm-manager.c"
8167 "libgdm/gdm-user-switching.c")
8168 (("#include <systemd/sd-login\\.h>")
8169 "#include <elogind/sd-login.h>"))
8170 ;; Check for elogind.
8171 (substitute* '("configure")
8172 (("libsystemd")
8173 "libelogind"))
8174 ;; Look for system-installed sessions in
8175 ;; /run/current-system/profile/share.
8176 (substitute* '("libgdm/gdm-sessions.c"
8177 "daemon/gdm-session.c"
8178 "daemon/gdm-display.c"
8179 "daemon/gdm-launch-environment.c")
8180 (("DATADIR \"/x")
8181 "\"/run/current-system/profile/share/x")
8182 (("DATADIR \"/wayland")
8183 "\"/run/current-system/profile/share/wayland")
8184 (("DATADIR \"/gnome")
8185 "\"/run/current-system/profile/share/gnome"))
8186 (let ((propagate '("GDM_CUSTOM_CONF"
8187 "GDM_DBUS_DAEMON"
8188 "GDM_X_SERVER"
8189 "GDM_X_SESSION"
8190 ;; XXX: Remove this once GNOME Shell is
8191 ;; a dependency of GDM.
8192 "XDG_DATA_DIRS")))
8193 (substitute* "daemon/gdm-session.c"
8194 (("set_up_session_environment \\(self\\);")
8195 (apply string-append
8196 "set_up_session_environment (self);\n"
8197 (map (lambda (name)
8198 (string-append
8199 "gdm_session_set_environment_variable "
8200 "(self, \"" name "\","
8201 "g_getenv (\"" name "\"));\n"))
8202 propagate)))))
8203 ;; Find the configuration file using an environment variable.
8204 (substitute* '("common/gdm-settings.c")
8205 (("GDM_CUSTOM_CONF")
8206 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8207 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8208 " : GDM_CUSTOM_CONF)")))
8209 ;; Use service-supplied path to X.
8210 (substitute* '("daemon/gdm-server.c")
8211 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8212 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8213 (substitute* '("daemon/gdm-wayland-session.c"
8214 "daemon/gdm-x-session.c")
8215 (("\"dbus-daemon\"")
8216 "g_getenv (\"GDM_DBUS_DAEMON\")")
8217 (("X_SERVER")
8218 "g_getenv (\"GDM_X_SERVER\")")
8219 (("GDMCONFDIR \"/Xsession\"")
8220 "g_getenv (\"GDM_X_SESSION\")"))
8221 ;; Use an absolute path for GNOME Session.
8222 (substitute* "daemon/gdm-launch-environment.c"
8223 (("\"gnome-session\"")
8224 (string-append "\"" (assoc-ref inputs "gnome-session")
8225 "/bin/gnome-session\"")))
8226 ;; Do not automatically select the placeholder session.
8227 (substitute* "daemon/gdm-session.c"
8228 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8229 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8230 "(g_strcmp0(search_dirs[i], \""
8231 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8232 "\") == 0 && "
8233 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8234 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8235 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8236 #t))
8237 ;; GDM requires that there be at least one desktop entry
8238 ;; file. This phase installs a hidden one that simply
8239 ;; fails. This enables users to use GDM with a
8240 ;; '~/.xsession' script with no other desktop entry files.
8241 ;; See <https://bugs.gnu.org/35068>.
8242 (add-after 'install 'install-placeholder-desktop-entry
8243 (lambda* (#:key inputs outputs #:allow-other-keys)
8244 (let* ((out (assoc-ref outputs "out"))
8245 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8246 (fail (string-append sessions "/fail.desktop")))
8247 (mkdir-p sessions)
8248 (with-output-to-file fail
8249 (lambda ()
8250 (for-each
8251 display
8252 '("[Desktop Entry]\n"
8253 "Encoding=UTF-8\n"
8254 "Type=Application\n"
8255 "Name=Fail\n"
8256 "Comment=This session fails immediately.\n"
8257 "NoDisplay=true\n"
8258 "Exec=false\n"))))
8259 #t)))
8260 ;; GDM needs GNOME Session to run these applications. We link
8261 ;; their autostart files in `share/gdm/greeter/autostart'
8262 ;; because GDM explicitly tells GNOME Session to look there.
8263 ;;
8264 ;; XXX: GNOME Shell should be linked here too, but currently
8265 ;; GNOME Shell depends on GDM.
8266 (add-after 'install 'link-autostart-files
8267 (lambda* (#:key inputs outputs #:allow-other-keys)
8268 (let* ((out (assoc-ref outputs "out"))
8269 (autostart (string-append out "/share/gdm/"
8270 "greeter/autostart"))
8271 (settings (assoc-ref inputs "gnome-settings-daemon")))
8272 (mkdir-p autostart)
8273 (with-directory-excursion autostart
8274 (for-each (lambda (desktop)
8275 (symlink desktop (basename desktop)))
8276 (find-files (string-append settings "/etc/xdg"))))
8277 #t))))))
8278 (native-inputs
8279 `(("dconf" ,dconf)
8280 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8281 ("gobject-introspection" ,gobject-introspection)
8282 ("intltool" ,intltool)
8283 ("itstool" ,itstool)
8284 ("pkg-config" ,pkg-config)
8285 ("xmllint" ,libxml2)))
8286 (inputs
8287 `(("accountsservice" ,accountsservice)
8288 ("check" ,check-0.14) ;for testing
8289 ("elogind" ,elogind)
8290 ("gnome-session" ,gnome-session)
8291 ("gnome-settings-daemon" ,gnome-settings-daemon)
8292 ("gtk+" ,gtk+)
8293 ("iso-codes" ,iso-codes)
8294 ("libcanberra" ,libcanberra)
8295 ("linux-pam" ,linux-pam)))
8296 (synopsis "Display manager for GNOME")
8297 (home-page "https://wiki.gnome.org/Projects/GDM/")
8298 (description
8299 "GNOME Display Manager is a system service that is responsible for
8300 providing graphical log-ins and managing local and remote displays.")
8301 (license license:gpl2+)))
8302
8303 (define-public libgtop
8304 (package
8305 (name "libgtop")
8306 (version "2.40.0")
8307 (source (origin
8308 (method url-fetch)
8309 (uri (string-append "mirror://gnome/sources/libgtop/"
8310 (version-major+minor version) "/"
8311 "libgtop-" version ".tar.xz"))
8312 (sha256
8313 (base32
8314 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8315 (build-system gnu-build-system)
8316 (native-inputs
8317 `(("gobject-introspection" ,gobject-introspection)
8318 ("intltool" ,intltool)
8319 ("perl" ,perl)
8320 ("pkg-config" ,pkg-config)))
8321 (propagated-inputs
8322 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8323 (synopsis "Portable system access library")
8324 (home-page "https://www.gnome.org/")
8325 (description
8326 "LibGTop is a library to get system specific data such as CPU and memory
8327 usage and information about running processes.")
8328 (license license:gpl2+)))
8329
8330 (define-public gnome-bluetooth
8331 (package
8332 (name "gnome-bluetooth")
8333 (version "3.34.2")
8334 (source (origin
8335 (method url-fetch)
8336 (uri (string-append "mirror://gnome/sources/" name "/"
8337 (version-major+minor version) "/"
8338 name "-" version ".tar.xz"))
8339 (sha256
8340 (base32
8341 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8342 (build-system meson-build-system)
8343 (native-inputs
8344 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8345 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8346 ("gobject-introspection" ,gobject-introspection)
8347 ("intltool" ,intltool)
8348 ("pkg-config" ,pkg-config)
8349 ("xmllint" ,libxml2)))
8350 (propagated-inputs
8351 ;; gnome-bluetooth-1.0.pc refers to all these.
8352 `(("glib" ,glib)
8353 ("gtk+" ,gtk+)))
8354 (inputs
8355 `(("eudev" ,eudev)
8356 ("libcanberra" ,libcanberra)
8357 ("libnotify" ,libnotify)))
8358 (synopsis "GNOME Bluetooth subsystem")
8359 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8360 (description
8361 "This package contains tools for managing and manipulating Bluetooth
8362 devices using the GNOME desktop.")
8363 (license license:lgpl2.1+)))
8364
8365 (define-public gnome-control-center
8366 (package
8367 (name "gnome-control-center")
8368 (version "3.34.2")
8369 (source (origin
8370 (method url-fetch)
8371 (uri (string-append "mirror://gnome/sources/" name "/"
8372 (version-major+minor version) "/"
8373 name "-" version ".tar.xz"))
8374 (sha256
8375 (base32
8376 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8377 (build-system meson-build-system)
8378 (arguments
8379 '(#:glib-or-gtk? #t
8380 #:configure-flags
8381 (list "-Dcheese=false"
8382 (string-append "-Dgnome_session_libexecdir="
8383 (assoc-ref %build-inputs "gnome-session")
8384 "/libexec"))
8385 #:phases
8386 (modify-phases %standard-phases
8387 (add-before 'configure 'patch-paths
8388 (lambda* (#:key inputs #:allow-other-keys)
8389 (let ((libc (assoc-ref inputs "libc"))
8390 (tzdata (assoc-ref inputs "tzdata"))
8391 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8392 (nm-applet (assoc-ref inputs "network-manager-applet"))
8393 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8394 (substitute* "panels/datetime/tz.h"
8395 (("/usr/share/zoneinfo/zone.tab")
8396 (string-append tzdata "/share/zoneinfo/zone.tab")))
8397 (substitute* "tests/datetime/test-endianess.c"
8398 (("/usr/share/locale")
8399 (string-append libc "/share/locale")))
8400 (substitute* "panels/region/cc-region-panel.c"
8401 (("\"gkbd-keyboard-display")
8402 (string-append "\"" libgnomekbd
8403 "/bin/gkbd-keyboard-display")))
8404 (substitute* '("panels/network/net-device-wifi.c"
8405 "panels/network/net-device.c"
8406 "panels/network/connection-editor/net-connection-editor.c")
8407 (("\"nm-connection-editor")
8408 (string-append "\"" nm-applet
8409 "/bin/nm-connection-editor")))
8410 (substitute* '("panels/user-accounts/run-passwd.c")
8411 (("/usr/bin/passwd")
8412 "/run/setuid-programs/passwd"))
8413 (substitute* "panels/info/cc-info-overview-panel.c"
8414 (("DATADIR \"/gnome/gnome-version.xml\"")
8415 (string-append "\"" gnome-desktop
8416 "/share/gnome/gnome-version.xml\"")))
8417 #t)))
8418 (add-after 'unpack 'skip-gtk-update-icon-cache
8419 ;; Don't create 'icon-theme.cache'.
8420 (lambda _
8421 (substitute* "build-aux/meson/meson_post_install.py"
8422 (("gtk-update-icon-cache") (which "true")))
8423 #t)))))
8424 (native-inputs
8425 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8426 ("intltool" ,intltool)
8427 ("pkg-config" ,pkg-config)
8428 ("xsltproc" ,libxslt)
8429 ;; For tests
8430 ("hicolor-icon-theme" ,hicolor-icon-theme)
8431 ("python-dbusmock" ,python-dbusmock)
8432 ("xorg-server" ,xorg-server-for-tests)))
8433 (inputs
8434 `(("accountsservice" ,accountsservice)
8435 ("clutter-gtk" ,clutter-gtk)
8436 ("colord-gtk" ,colord-gtk)
8437 ("cups" ,cups)
8438 ("dconf" ,dconf)
8439 ("docbook-xsl" ,docbook-xsl)
8440 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8441 ("gnome-bluetooth" ,gnome-bluetooth)
8442 ("gnome-desktop" ,gnome-desktop)
8443 ("gnome-online-accounts" ,gnome-online-accounts)
8444 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8445 ("gnome-session" ,gnome-session)
8446 ("gnome-settings-daemon" ,gnome-settings-daemon)
8447 ("grilo" ,grilo)
8448 ("gsound" ,gsound)
8449 ("ibus" ,ibus)
8450 ("libcanberra" ,libcanberra)
8451 ("libgnomekbd" ,libgnomekbd)
8452 ("libgudev" ,libgudev)
8453 ("libgtop" ,libgtop)
8454 ("libnma" ,libnma)
8455 ("libpwquality" ,libpwquality)
8456 ("libsecret" ,libsecret)
8457 ("libsoup" ,libsoup)
8458 ("libxml2" ,libxml2)
8459 ("libwacom" ,libwacom)
8460 ("mesa" ,mesa)
8461 ("mit-krb5" ,mit-krb5)
8462 ("modem-manager" ,modem-manager)
8463 ("network-manager-applet" ,network-manager-applet)
8464 ("polkit" ,polkit)
8465 ("pulseaudio" ,pulseaudio)
8466 ("smbclient" ,samba)
8467 ("tzdata" ,tzdata)
8468 ("udisks" ,udisks)
8469 ("upower" ,upower)))
8470 (synopsis "Utilities to configure the GNOME desktop")
8471 (home-page "https://www.gnome.org/")
8472 (description
8473 "This package contains configuration applets for the GNOME desktop,
8474 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8475 properties, sound setup, desktop theme and background, user interface
8476 properties, screen resolution, and other GNOME parameters.")
8477 (license license:gpl2+)))
8478
8479 (define-public gnome-shell
8480 (package
8481 (name "gnome-shell")
8482 (version "3.34.5")
8483 (source (origin
8484 (method url-fetch)
8485 (uri (string-append "mirror://gnome/sources/" name "/"
8486 (version-major+minor version) "/"
8487 name "-" version ".tar.xz"))
8488 (sha256
8489 (base32
8490 "0l3mdn7g2c22mdhrqkxvvc1pk2w0v32f2v4a6n1phvaalwcg75nj"))
8491 (patches (search-patches "gnome-shell-CVE-2020-17489.patch"
8492 "gnome-shell-theme.patch"
8493 "gnome-shell-disable-test.patch"))
8494 (modules '((guix build utils)))
8495 (snippet
8496 #~(begin
8497 ;; Copy images for use on the GDM log-in screen.
8498 (copy-file #$(file-append %artwork-repository
8499 "/slim/0.x/background.png")
8500 "data/theme/guix-background.png")
8501 (copy-file #$(file-append %artwork-repository
8502 "/logo/Guix-horizontal-white.svg")
8503 "data/theme/guix-logo.svg")
8504 #t))))
8505 (build-system meson-build-system)
8506 (arguments
8507 `(#:glib-or-gtk? #t
8508 #:disallowed-references ((,glib "bin")
8509 ,inkscape ,libxslt
8510 ,ruby-sass)
8511 #:configure-flags
8512 (list "-Dsystemd=false"
8513 ;; Otherwise, the RUNPATH will lack the final path component.
8514 (string-append "-Dc_link_args=-Wl,-rpath="
8515 (assoc-ref %outputs "out")
8516 "/lib/gnome-shell"))
8517
8518 #:modules ((guix build meson-build-system)
8519 (guix build utils)
8520 (srfi srfi-1))
8521
8522 #:phases
8523 (modify-phases %standard-phases
8524 (add-after 'unpack 'fix-keysdir
8525 (lambda* (#:key outputs #:allow-other-keys)
8526 (let* ((out (assoc-ref outputs "out"))
8527 (keysdir (string-append
8528 out "/share/gnome-control-center/keybindings")))
8529 (substitute* "meson.build"
8530 (("keysdir =.*")
8531 (string-append "keysdir = '" keysdir "'\n")))
8532 #t)))
8533 (add-before 'configure 'convert-logo-to-png
8534 (lambda* (#:key inputs #:allow-other-keys)
8535 ;; Convert the logo from SVG to PNG.
8536 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8537 "data/theme/guix-logo.svg")))
8538 (add-before 'configure 'record-absolute-file-names
8539 (lambda* (#:key inputs #:allow-other-keys)
8540 (substitute* "js/misc/ibusManager.js"
8541 (("'ibus-daemon'")
8542 (string-append "'" (assoc-ref inputs "ibus")
8543 "/bin/ibus-daemon'")))
8544 (substitute* "js/ui/status/keyboard.js"
8545 (("'gkbd-keyboard-display'")
8546 (string-append "'" (assoc-ref inputs "libgnomekbd")
8547 "/bin/gkbd-keyboard-display'")))
8548 #t))
8549 (add-before 'check 'pre-check
8550 (lambda* (#:key inputs #:allow-other-keys)
8551 ;; Tests require a running X server.
8552 (system "Xvfb :1 &")
8553 (setenv "DISPLAY" ":1")
8554 #t))
8555 (add-after 'install 'wrap-programs
8556 (lambda* (#:key inputs outputs #:allow-other-keys)
8557 (let ((out (assoc-ref outputs "out"))
8558 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8559 (python-path (getenv "PYTHONPATH")))
8560 (wrap-program (string-append out "/bin/gnome-shell")
8561 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8562 ;; FIXME: gnome-shell loads these libraries with unqualified
8563 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8564 ;; alternative might be to patch gnome-shell.
8565 `("LD_LIBRARY_PATH" ":" prefix
8566 ,(map (lambda (pkg)
8567 (string-append (assoc-ref inputs pkg) "/lib"))
8568 '("gdk-pixbuf"
8569 "gnome-bluetooth" "librsvg" "libgweather"))))
8570 (for-each
8571 (lambda (prog)
8572 (wrap-program (string-append out "/bin/" prog)
8573 `("PYTHONPATH" ":" prefix (,python-path))
8574 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8575 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8576 #t)))
8577 (replace 'glib-or-gtk-wrap
8578 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8579 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8580 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8581 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8582 ;; phase. Fix that since we don't need these.
8583 (wrap #:inputs (fold alist-delete inputs
8584 '("inkscape" "intltool" "glib:bin"))
8585 #:outputs outputs)))))))
8586 (native-inputs
8587 `(("asciidoc" ,asciidoc)
8588 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8589 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8590 ("gobject-introspection" ,gobject-introspection)
8591 ("inkscape" ,inkscape)
8592 ("intltool" ,intltool)
8593 ("pkg-config" ,pkg-config)
8594 ("python" ,python)
8595 ("ruby-sass" ,ruby-sass)
8596 ("sassc" ,sassc)
8597 ("xsltproc" ,libxslt)
8598 ;; For tests
8599 ("xorg-server" ,xorg-server-for-tests)))
8600 (inputs
8601 `(("accountsservice" ,accountsservice)
8602 ("caribou" ,caribou)
8603 ("docbook-xsl" ,docbook-xsl)
8604 ("evolution-data-server" ,evolution-data-server)
8605 ("gcr" ,gcr)
8606 ("gdm" ,gdm)
8607 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8608 ("gjs" ,gjs)
8609 ("gnome-autoar" ,gnome-autoar)
8610 ("gnome-bluetooth" ,gnome-bluetooth)
8611 ("gnome-desktop" ,gnome-desktop)
8612 ("gnome-settings-daemon" ,gnome-settings-daemon)
8613 ("gst-plugins-base" ,gst-plugins-base)
8614 ("ibus" ,ibus)
8615 ("libcanberra" ,libcanberra)
8616 ("libcroco" ,libcroco)
8617 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8618 ("libgweather" ,libgweather)
8619 ("libnma" ,libnma)
8620 ("libsoup" ,libsoup)
8621 ("mesa-headers" ,mesa-headers)
8622 ("mutter" ,mutter)
8623 ("network-manager-applet" ,network-manager-applet)
8624 ("polkit" ,polkit)
8625 ("pulseaudio" ,pulseaudio)
8626 ("python-pygobject" ,python-pygobject)
8627 ("startup-notification" ,startup-notification)
8628 ("telepathy-logger" ,telepathy-logger)
8629 ("upower" ,upower)
8630 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8631 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8632 ("librsvg" ,librsvg)
8633 ("geoclue" ,geoclue)))
8634 ;; CVE-2019-3820 was fixed before GNOME 3.34 was released, in upstream
8635 ;; commit f0a7395b3006360905ccdc642982f9fc67378927.
8636 (properties '((lint-hidden-cve . ("CVE-2019-3820"))))
8637 (synopsis "Desktop shell for GNOME")
8638 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8639 (description
8640 "GNOME Shell provides core user interface functions for the GNOME desktop,
8641 like switching to windows and launching applications.")
8642 (license license:gpl2+)))
8643
8644 (define-public gtk-vnc
8645 (package
8646 (name "gtk-vnc")
8647 (version "1.0.0")
8648 (source
8649 (origin
8650 (method url-fetch)
8651 (uri
8652 (string-append "mirror://gnome/sources/" name "/"
8653 (version-major+minor version) "/"
8654 name "-" version ".tar.xz"))
8655 (sha256
8656 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8657 (build-system meson-build-system)
8658 (arguments
8659 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8660 (native-inputs
8661 `(("gjs" ,gjs)
8662 ("glib:bin" ,glib "bin")
8663 ("gobject-introspection" ,gobject-introspection)
8664 ("intltool" ,intltool)
8665 ("node" ,node)
8666 ("perl" ,perl)
8667 ("pkg-config" ,pkg-config)
8668 ("python" ,python-wrapper)
8669 ("vala" ,vala)))
8670 (inputs
8671 `(("cairo" ,cairo)
8672 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8673 ("glib" ,glib)
8674 ("gnutls" ,gnutls)
8675 ("libgcrypt" ,libgcrypt)
8676 ("libsasl" ,cyrus-sasl)
8677 ("pulseaudio" ,pulseaudio)
8678 ("x11" ,libx11)
8679 ("zlib" ,zlib)))
8680 (propagated-inputs
8681 `(("gtk+" ,gtk+)))
8682 (synopsis "VNC client viewer widget for GTK+")
8683 (description "GTK-VNC is a project providing client side APIs for the RFB
8684 protocol / VNC remote desktop technology. It is built using coroutines allowing
8685 it to be completely asynchronous while remaining single threaded. It provides a
8686 core C library, and bindings for Python (PyGTK).")
8687 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8688 (license license:lgpl2.1+)))
8689
8690 (define-public gnome-autoar
8691 (package
8692 (name "gnome-autoar")
8693 (version "0.3.1")
8694 (source (origin
8695 (method url-fetch)
8696 (uri (string-append "mirror://gnome/sources/" name "/"
8697 (version-major+minor version) "/"
8698 name "-" version ".tar.xz"))
8699 (sha256
8700 (base32
8701 "1y6hh5dldhdq7mpbmd571zl0yadfackvifhnxvykkqqddwz72y0f"))))
8702 (build-system glib-or-gtk-build-system)
8703 (native-inputs
8704 `(("gobject-introspection" ,gobject-introspection)
8705 ("pkg-config" ,pkg-config)))
8706 (propagated-inputs
8707 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8708 (inputs
8709 `(("gtk+" ,gtk+)))
8710 (synopsis "Archives integration support for GNOME")
8711 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8712 (description
8713 "GNOME Autoar is a library which makes creating and extracting archives
8714 easy, safe, and automatic.")
8715 (license license:lgpl2.1+)))
8716
8717 (define-public tracker
8718 (package
8719 (name "tracker")
8720 (version "2.3.5")
8721 (source (origin
8722 (method url-fetch)
8723 (uri (string-append "mirror://gnome/sources/tracker/"
8724 (version-major+minor version) "/"
8725 "tracker-" version ".tar.xz"))
8726 (sha256
8727 (base32
8728 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8729 (build-system meson-build-system)
8730 (arguments
8731 `(#:glib-or-gtk? #t
8732 #:configure-flags
8733 ;; Otherwise, the RUNPATH will lack the final path component.
8734 (list (string-append "-Dc_link_args=-Wl,-rpath="
8735 (assoc-ref %outputs "out") "/lib:"
8736 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8737 #:phases
8738 (modify-phases %standard-phases
8739 (add-before 'check 'pre-check
8740 (lambda _
8741 ;; Some tests expect to write to $HOME.
8742 (setenv "HOME" "/tmp")
8743 #t)))))
8744 (native-inputs
8745 `(("glib:bin" ,glib "bin")
8746 ("gobject-introspection" ,gobject-introspection)
8747 ("python-pygobject" ,python-pygobject)
8748 ("intltool" ,intltool)
8749 ("pkg-config" ,pkg-config)
8750 ("vala" ,vala)))
8751 (inputs
8752 `(("dbus" ,dbus)
8753 ("sqlite" ,sqlite)
8754 ("libxml2" ,libxml2)
8755 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8756 ("json-glib" ,json-glib)
8757 ("libsoup" ,libsoup)))
8758 (synopsis "Metadata database, indexer and search tool")
8759 (home-page "https://wiki.gnome.org/Projects/Tracker")
8760 (description
8761 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8762
8763 It is a middleware component aimed at desktop application developers who want
8764 their apps to browse and search user content. It's not designed to be used
8765 directly by desktop users, but it provides a commandline tool named
8766 @command{tracker} for the adventurous.
8767
8768 Tracker allows your application to instantly perform full-text searches across
8769 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8770 example. This is achieved by indexing the user's home directory in the
8771 background.
8772
8773 Tracker also allows your application to query and list content that the user
8774 has stored. For example, GNOME Music displays all the music files that are
8775 found by Tracker. This means that GNOME Music doesn't need to maintain a
8776 database of its own.
8777
8778 If you need to go beyond simple searches, Tracker is also a linked data
8779 endpoint and it understands SPARQL. ")
8780 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8781 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8782 ;; libstemmer is bsd-3 and the rest is gpl2+.
8783 (license (list license:gpl2+
8784 license:bsd-3
8785 license:lgpl2.1+))))
8786
8787 (define-public tracker-miners
8788 (package
8789 (name "tracker-miners")
8790 (version "2.3.4")
8791 (source (origin
8792 (method url-fetch)
8793 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8794 (version-major+minor version)
8795 "/tracker-miners-" version ".tar.xz"))
8796 (sha256
8797 (base32
8798 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8799 (build-system meson-build-system)
8800 (arguments
8801 `(#:glib-or-gtk? #t
8802 #:configure-flags
8803 (list "-Dminer_rss=false" ; libgrss is required.
8804 ;; Ensure the RUNPATH contains all installed library locations.
8805 (string-append "-Dc_link_args=-Wl,-rpath="
8806 (assoc-ref %outputs "out")
8807 "/lib/tracker-miners-2.0")
8808 ;; TODO: Enable functional tests. Currently, the following error
8809 ;; appears:
8810 ;; Exception: The functional tests require DConf to be the default
8811 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8812 "-Dfunctional_tests=false")))
8813 (native-inputs
8814 `(("dbus" ,dbus)
8815 ("intltool" ,intltool)
8816 ("glib:bin" ,glib "bin")
8817 ("gobject-introspection" ,gobject-introspection)
8818 ("pkg-config" ,pkg-config)
8819 ("python-pygobject" ,python-pygobject)))
8820 (inputs
8821 `(("exempi" ,exempi)
8822 ("ffmpeg" ,ffmpeg)
8823 ("flac" ,flac)
8824 ("giflib" ,giflib)
8825 ("glib" ,glib)
8826 ("gstreamer" ,gstreamer)
8827 ("icu4c" ,icu4c)
8828 ("libcue" ,libcue)
8829 ("libexif" ,libexif)
8830 ("libgsf" ,libgsf)
8831 ("libgxps" ,libgxps)
8832 ("libiptcdata" ,libiptcdata)
8833 ("libjpeg" ,libjpeg-turbo)
8834 ("libosinfo" ,libosinfo)
8835 ("libpng" ,libpng)
8836 ("libseccomp" ,libseccomp)
8837 ("libtiff" ,libtiff)
8838 ("libvorbis" ,libvorbis)
8839 ("libxml2" ,libxml2)
8840 ("poppler" ,poppler)
8841 ("taglib" ,taglib)
8842 ("totem-pl-parser" ,totem-pl-parser)
8843 ("tracker" ,tracker)
8844 ("upower" ,upower)
8845 ("zlib" ,zlib)))
8846 (synopsis "Metadata database, indexer and search tool")
8847 (home-page "https://wiki.gnome.org/Projects/Tracker")
8848 (description
8849 "Tracker is an advanced framework for first class objects with associated
8850 metadata and tags. It provides a one stop solution for all metadata, tags,
8851 shared object databases, search tools and indexing.")
8852 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8853 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8854 (license (list license:gpl2+
8855 license:lgpl2.1+
8856 license:lgpl2.0+))))
8857
8858 (define-public nautilus
8859 (package
8860 (name "nautilus")
8861 (version "3.34.2")
8862 (source (origin
8863 (method url-fetch)
8864 (uri (string-append "mirror://gnome/sources/" name "/"
8865 (version-major+minor version) "/"
8866 name "-" version ".tar.xz"))
8867 (sha256
8868 (base32
8869 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8870 (build-system meson-build-system)
8871 (arguments
8872 '(#:glib-or-gtk? #t
8873 #:phases
8874 (modify-phases %standard-phases
8875 (add-after 'unpack 'skip-gtk-update-icon-cache
8876 ;; Don't create 'icon-theme.cache'.
8877 (lambda _
8878 (substitute* "build-aux/meson/postinstall.py"
8879 (("gtk-update-icon-cache") "true"))
8880 #t)))
8881 ;; XXX: FAIL: check-nautilus
8882 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8883 #:tests? #f))
8884 (native-inputs
8885 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8886 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8887 ("gobject-introspection" ,gobject-introspection)
8888 ("intltool" ,intltool)
8889 ("pkg-config" ,pkg-config)))
8890 (inputs
8891 `(("dconf" ,dconf)
8892 ("gexiv2" ,gexiv2)
8893 ("gvfs" ,gvfs)
8894 ("exempi" ,exempi)
8895 ("gnome-desktop" ,gnome-desktop)
8896 ("gnome-autoar" ,gnome-autoar)
8897 ("gst-plugins-base" ,gst-plugins-base)
8898 ("libseccomp" ,libseccomp)
8899 ("libselinux" ,libselinux)
8900 ("tracker" ,tracker)
8901 ("tracker-miners" ,tracker-miners)
8902 ;; XXX: gtk+ is required by libnautilus-extension.pc
8903 ;;
8904 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8905 ;; package. See:
8906 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8907 ("gtk+" ,gtk+)
8908 ("libexif" ,libexif)
8909 ("libxml2" ,libxml2)))
8910 (synopsis "File manager for GNOME")
8911 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8912 (description
8913 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8914 design and behaviour, giving the user a simple way to navigate and manage its
8915 files.")
8916 (license license:gpl2+)))
8917
8918 (define-public baobab
8919 (package
8920 (name "baobab")
8921 (version "3.38.0")
8922 (source (origin
8923 (method url-fetch)
8924 (uri (string-append
8925 "mirror://gnome/sources/" name "/"
8926 (version-major+minor version) "/"
8927 name "-" version ".tar.xz"))
8928 (sha256
8929 (base32
8930 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8931 (build-system meson-build-system)
8932 (arguments
8933 '(#:glib-or-gtk? #t))
8934 (native-inputs
8935 `(("intltool" ,intltool)
8936 ("pkg-config" ,pkg-config)
8937 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8938 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8939 ("itstool" ,itstool)
8940 ("xmllint" ,libxml2)
8941 ("glib" ,glib "bin")
8942 ("vala" ,vala)))
8943 (inputs
8944 `(("gtk+" ,gtk+)))
8945 (synopsis "Disk usage analyzer for GNOME")
8946 (description
8947 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8948 usage in the GNOME desktop environment. It can easily scan device volumes or
8949 a specific user-requested directory branch (local or remote). Once the scan
8950 is complete it provides a graphical representation of each selected folder.")
8951 (home-page "https://wiki.gnome.org/Apps/Baobab")
8952 (license license:gpl2+)))
8953
8954 (define-public gnome-backgrounds
8955 (package
8956 (name "gnome-backgrounds")
8957 (version "3.34.0")
8958 (source
8959 (origin
8960 (method url-fetch)
8961 (uri (string-append "mirror://gnome/sources/" name "/"
8962 (version-major+minor version) "/"
8963 name "-" version ".tar.xz"))
8964 (sha256
8965 (base32
8966 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8967 (build-system meson-build-system)
8968 (native-inputs
8969 `(("intltool" ,intltool)))
8970 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8971 (synopsis "Background images for the GNOME desktop")
8972 (description
8973 "GNOME backgrounds package contains a collection of graphics files which
8974 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8975 the package creates the proper framework and directory structure so that you
8976 can add your own files to the collection.")
8977 (license (list license:gpl2+
8978 license:cc-by2.0
8979 license:cc-by-sa2.0
8980 license:cc-by-sa3.0))))
8981
8982 (define-public gnome-screenshot
8983 (package
8984 (name "gnome-screenshot")
8985 (version "3.34.0")
8986 (source
8987 (origin
8988 (method url-fetch)
8989 (uri (string-append "mirror://gnome/sources/" name "/"
8990 (version-major+minor version) "/"
8991 name "-" version ".tar.xz"))
8992 (sha256
8993 (base32
8994 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8995 (build-system meson-build-system)
8996 (arguments
8997 '(#:phases
8998 (modify-phases %standard-phases
8999 (add-after 'unpack 'skip-gtk-update-icon-cache
9000 ;; Don't create 'icon-theme.cache'.
9001 (lambda _
9002 (substitute* "build-aux/postinstall.py"
9003 (("gtk-update-icon-cache") "true"))
9004 #t)))))
9005 (native-inputs
9006 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
9007 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9008 ("intltool" ,intltool)
9009 ("appstream-glib" ,appstream-glib)
9010 ("pkg-config" ,pkg-config)))
9011 (inputs
9012 `(("gtk+" ,gtk+)
9013 ("libcanberra" ,libcanberra)
9014 ("libx11" ,libx11)
9015 ("libxext" ,libxext)))
9016 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9017 (synopsis "Take pictures of your screen")
9018 (description
9019 "GNOME Screenshot is a utility used for taking screenshots of the entire
9020 screen, a window or a user defined area of the screen, with optional
9021 beautifying border effects.")
9022 (license license:gpl2+)))
9023
9024 (define-public dconf-editor
9025 (package
9026 (name "dconf-editor")
9027 (version "3.34.2")
9028 (source
9029 (origin
9030 (method url-fetch)
9031 (uri (string-append "mirror://gnome/sources/" name "/"
9032 (version-major+minor version) "/"
9033 name "-" version ".tar.xz"))
9034 (sha256
9035 (base32
9036 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
9037 (build-system meson-build-system)
9038 (native-inputs
9039 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9040 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9041 ("intltool" ,intltool)
9042 ("pkg-config" ,pkg-config)
9043 ("vala" ,vala)))
9044 (inputs
9045 `(("dconf" ,dconf)
9046 ("gtk+" ,gtk+)
9047 ("libxml2" ,libxml2)))
9048 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9049 (synopsis "Graphical editor for GNOME's dconf configuration system")
9050 (description
9051 "Dconf-editor is a graphical tool for browsing and editing the dconf
9052 configuration system for GNOME. It allows users to configure desktop
9053 software that do not provide their own configuration interface.")
9054 (license license:lgpl2.1+)))
9055
9056 (define-public gnome-default-applications
9057 (package
9058 (name "gnome-default-applications")
9059 (version "0")
9060 (build-system trivial-build-system)
9061 (source #f)
9062 (propagated-inputs
9063 `(("nautilus" ,nautilus)
9064 ("evince" ,evince)))
9065 (arguments
9066 `(#:modules ((guix build utils))
9067 #:builder
9068 (begin
9069 (use-modules (guix build utils))
9070 (let* ((out (assoc-ref %outputs "out"))
9071 (apps (string-append out "/share/applications")))
9072 (mkdir-p apps)
9073 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9074 (lambda (port)
9075 (format port "[Default Applications]\n")
9076 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9077 (format port "application/pdf=evince.desktop\n")
9078 (format port "application/postscript=evince.desktop\n")))
9079 #t))))
9080 (synopsis "Default MIME type associations for the GNOME desktop")
9081 (description
9082 "Given many installed packages which might handle a given MIME type, a
9083 user running the GNOME desktop probably has some preferences: for example,
9084 that folders be opened by default by the Nautilus file manager, not the Baobab
9085 disk usage analyzer. This package establishes that set of default MIME type
9086 associations for GNOME.")
9087 (license license:gpl3+)
9088 (home-page #f)))
9089
9090 (define-public libgovirt
9091 (package
9092 (name "libgovirt")
9093 (version "0.3.8")
9094 (source (origin
9095 (method url-fetch)
9096 (uri (string-append "mirror://gnome/sources/" name "/"
9097 (version-major+minor version) "/"
9098 name "-" version ".tar.xz"))
9099 (sha256
9100 (base32
9101 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9102 (build-system glib-or-gtk-build-system)
9103 (native-inputs
9104 `(("gettext" ,gettext-minimal)
9105 ("glib:bin" ,glib "bin")
9106 ("gobject-introspection" ,gobject-introspection)
9107 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9108 ("gtk+:bin" ,gtk+ "bin")
9109 ("pkg-config" ,pkg-config)))
9110 (inputs
9111 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9112 ("librest" ,rest)))
9113 (synopsis "GoVirt Library")
9114 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9115 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9116 (license license:gpl2+)))
9117
9118 (define-public gnome-weather
9119 (package
9120 (name "gnome-weather")
9121 (version "3.34.0")
9122 (source (origin
9123 (method url-fetch)
9124 (uri (string-append "mirror://gnome/sources/" name "/"
9125 (version-major+minor version) "/"
9126 name "-" version ".tar.xz"))
9127 (sha256
9128 (base32
9129 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9130 (build-system meson-build-system)
9131 (native-inputs
9132 `(("gettext" ,gettext-minimal)
9133 ("glib:bin" ,glib "bin")
9134 ("gobject-introspection" ,gobject-introspection)
9135 ("gtk+:bin" ,gtk+ "bin")
9136 ("pkg-config" ,pkg-config)))
9137 (inputs
9138 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9139 ("appstream-glib" ,appstream-glib)
9140 ("geoclue" ,geoclue)
9141 ("gdk-pixbuf" ,gdk-pixbuf)
9142 ("gjs" ,gjs)
9143 ("gnome-desktop" ,gnome-desktop)
9144 ("libgweather" ,libgweather)))
9145 (arguments
9146 `(#:glib-or-gtk? #t
9147 #:phases
9148 (modify-phases %standard-phases
9149 (add-after 'install 'fix-desktop-file
9150 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9151 ;; See https://issues.guix.gnu.org/issue/39324.
9152 (lambda* (#:key outputs #:allow-other-keys)
9153 (let* ((out (assoc-ref outputs "out"))
9154 (applications (string-append out "/share/applications")))
9155 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9156 (("Exec=.*") "Exec=gnome-weather\n"))
9157 #t)))
9158 (add-after 'install 'wrap
9159 (lambda* (#:key inputs outputs #:allow-other-keys)
9160 (let ((out (assoc-ref outputs "out"))
9161 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9162 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9163 (wrap-program (string-append out "/bin/gnome-weather")
9164 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9165 #t))))))
9166 (synopsis "Weather monitoring for GNOME desktop")
9167 (description "GNOME Weather is a small application that allows you to
9168 monitor the current weather conditions for your city, or anywhere in the
9169 world.")
9170 (home-page "https://wiki.gnome.org/Apps/Weather")
9171 (license license:gpl2+)))
9172
9173 (define-public gnome
9174 (package
9175 (name "gnome")
9176 (version (package-version gnome-shell))
9177 (source #f)
9178 (build-system trivial-build-system)
9179 (arguments '(#:builder (begin (mkdir %output) #t)))
9180 (propagated-inputs
9181 ;; TODO: Add or remove packages according to:
9182 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9183 `(
9184 ;; GNOME-Core-OS-Services
9185 ("accountsservice" ,accountsservice)
9186 ("network-manager" ,network-manager)
9187 ("packagekit" ,packagekit)
9188 ("upower" ,upower)
9189 ;; GNOME-Core-Shell
9190 ("adwaita-icon-theme" ,adwaita-icon-theme)
9191 ("gdm" ,gdm)
9192 ("glib-networking" ,glib-networking)
9193 ("gnome-backgrounds" ,gnome-backgrounds)
9194 ("gnome-bluetooth" ,gnome-bluetooth)
9195 ("gnome-color-manager" ,gnome-color-manager)
9196 ("gnome-control-center" ,gnome-control-center)
9197 ("gnome-desktop" ,gnome-desktop)
9198 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9199 ("gnome-initial-setup" ,gnome-initial-setup)
9200 ("gnome-keyring" ,gnome-keyring)
9201 ("gnome-menus" ,gnome-menus)
9202 ("gnome-session" ,gnome-session)
9203 ("gnome-settings-daemon" ,gnome-settings-daemon)
9204 ("gnome-shell-extensions" ,gnome-shell-extensions)
9205 ("gnome-shell" ,gnome-shell)
9206 ("gnome-themes-extra" ,gnome-themes-extra)
9207 ("gnome-user-docs" ,gnome-user-docs)
9208 ("gnome-user-share" ,gnome-user-share)
9209 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9210 ("gvfs" ,gvfs)
9211 ("mutter" ,mutter)
9212 ("orca" ,orca)
9213 ("rygel" ,rygel)
9214 ("sushi" ,sushi)
9215 ;; GNOME-Core-Utilities
9216 ("baobab" ,baobab)
9217 ("cheese" ,cheese)
9218 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9219 ;; only works on x86_64, so exclude it on other architectures.
9220 ,@(if (string-prefix? "x86_64" (%current-system))
9221 `(("eog" ,eog))
9222 '())
9223 ("epiphany" ,epiphany)
9224 ("evince" ,evince)
9225 ("file-roller" ,file-roller)
9226 ("gedit" ,gedit)
9227 ("gnome-boxes" ,gnome-boxes)
9228 ("gnome-calculator" ,gnome-calculator)
9229 ("gnome-calendar" ,gnome-calendar)
9230 ("gnome-characters" ,gnome-characters)
9231 ("gnome-clocks" ,gnome-clocks)
9232 ("gnome-contacts" ,gnome-contacts)
9233 ("gnome-disk-utility" ,gnome-disk-utility)
9234 ("gnome-font-viewer" ,gnome-font-viewer)
9235 ("gnome-maps" ,gnome-maps)
9236 ; TODO: ("gnome-music" ,gnome-music)
9237 ; TODO: ("gnome-photos" ,gnome-photos)
9238 ("gnome-screenshot" ,gnome-screenshot)
9239 ("gnome-system-monitor" ,gnome-system-monitor)
9240 ("gnome-terminal" ,gnome-terminal)
9241 ("gnome-weather" ,gnome-weather)
9242 ("nautilus" ,nautilus)
9243 ("simple-scan" ,simple-scan)
9244 ("totem" ,totem)
9245 ("yelp" ,yelp)
9246 ;; Others
9247 ("hicolor-icon-theme" ,hicolor-icon-theme)
9248 ("gnome-online-accounts" ,gnome-online-accounts)
9249
9250 ;; Packages not part of GNOME proper but that are needed for a good
9251 ;; experience. See <https://bugs.gnu.org/39646>.
9252 ;; XXX: Find out exactly which ones are needed and why.
9253 ("font-cantarell" ,font-cantarell)
9254 ("font-dejavu" ,font-dejavu)
9255 ("at-spi2-core" ,at-spi2-core)
9256 ("dbus" ,dbus)
9257 ("dconf" ,dconf)
9258 ("desktop-file-utils" ,desktop-file-utils)
9259 ("gnome-default-applications" ,gnome-default-applications)
9260 ("gnome-themes-standard" ,gnome-themes-standard)
9261 ("gst-plugins-base" ,gst-plugins-base)
9262 ("gst-plugins-good" ,gst-plugins-good)
9263 ("gucharmap" ,gucharmap)
9264 ("pinentry-gnome3" ,pinentry-gnome3)
9265 ("pulseaudio" ,pulseaudio)
9266 ("shared-mime-info" ,shared-mime-info)
9267 ("system-config-printer" ,system-config-printer)
9268 ("xdg-user-dirs" ,xdg-user-dirs)
9269 ("yelp" ,yelp)
9270 ("zenity" ,zenity)))
9271 (synopsis "The GNU desktop environment")
9272 (home-page "https://www.gnome.org/")
9273 (description
9274 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9275 applications for browsing the web, editing text and images, creating
9276 documents and diagrams, playing media, scanning, and much more.")
9277 (license license:gpl2+)))
9278
9279 (define-public byzanz
9280 ;; The last stable release of Byzanz was in 2011, but there have been many
9281 ;; useful commits made to the Byzanz repository since then that it would be
9282 ;; silly to use such an old release.
9283 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9284 (package
9285 (name "byzanz")
9286 (version (string-append "0.2-1." (string-take commit 7)))
9287 (source (origin
9288 (method git-fetch)
9289 (uri (git-reference
9290 (url "https://git.gnome.org/browse/byzanz")
9291 (commit commit)))
9292 (file-name (string-append name "-" version "-checkout"))
9293 (sha256
9294 (base32
9295 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9296 (build-system glib-or-gtk-build-system)
9297 (arguments
9298 '(#:phases
9299 (modify-phases %standard-phases
9300 (add-before 'bootstrap 'build-without-Werror
9301 (lambda _
9302 ;; The build system cleverly detects that we're not building from
9303 ;; a release tarball and turns on -Werror for GCC.
9304 ;; Unsurprisingly, there is a warning during compilation that
9305 ;; causes the build to fail unnecessarily, so we remove the flag.
9306 (substitute* '("configure.ac")
9307 (("-Werror") ""))
9308 #t)))))
9309 (native-inputs
9310 `(("autoconf" ,autoconf)
9311 ("automake" ,automake)
9312 ("gnome-common" ,gnome-common)
9313 ("intltool" ,intltool)
9314 ("libtool" ,libtool)
9315 ("pkg-config" ,pkg-config)
9316 ("which" ,which)))
9317 (inputs
9318 `(("glib" ,glib)
9319 ("gstreamer" ,gstreamer)
9320 ("gst-plugins-base" ,gst-plugins-base)
9321 ("gtk+" ,gtk+)))
9322 (synopsis "Desktop recording program")
9323 (description "Byzanz is a simple desktop recording program with a
9324 command-line interface. It can record part or all of an X display for a
9325 specified duration and save it as a GIF encoded animated image file.")
9326 (home-page "https://git.gnome.org/browse/byzanz")
9327 (license license:gpl2+))))
9328
9329 (define-public authenticator
9330 (package
9331 (name "authenticator")
9332 (version "3.32.2")
9333 (source
9334 (origin
9335 (method git-fetch)
9336 (uri (git-reference
9337 (url "https://gitlab.gnome.org/World/Authenticator")
9338 (commit version)))
9339 (file-name (git-file-name name version))
9340 (sha256
9341 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9342 (build-system meson-build-system)
9343 (arguments
9344 `(#:glib-or-gtk? #t
9345 #:phases
9346 (modify-phases %standard-phases
9347 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9348 (lambda* (#:key inputs outputs #:allow-other-keys)
9349 (let ((prog (string-append (assoc-ref outputs "out")
9350 "/bin/authenticator"))
9351 (pylib (string-append (assoc-ref outputs "out")
9352 "/lib/python"
9353 ,(version-major+minor
9354 (package-version python))
9355 "/site-packages")))
9356 (wrap-program prog
9357 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9358 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9359 #t))))))
9360 (native-inputs
9361 `(("desktop-file-utils" ,desktop-file-utils)
9362 ("gettext" ,gettext-minimal)
9363 ("glib:bin" ,glib "bin")
9364 ("gobject-introspection" ,gobject-introspection)
9365 ("gtk+:bin" ,gtk+ "bin")
9366 ("pkg-config" ,pkg-config)))
9367 (inputs
9368 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9369 ("gtk+" ,gtk+)
9370 ("libhandy" ,libhandy-0.0)
9371 ("libsecret" ,libsecret)
9372 ("python-beautifulsoup4" ,python-beautifulsoup4)
9373 ("python-pillow" ,python-pillow)
9374 ("python-pyfavicon" ,python-pyfavicon)
9375 ("python-pygobject" ,python-pygobject)
9376 ("python-pyotp" ,python-pyotp)
9377 ("python-pyzbar" ,python-pyzbar)
9378 ("yoyo-migrations" ,yoyo-migrations)
9379 ("zbar" ,zbar)))
9380 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9381 (synopsis "Two-factor authentication application built for GNOME")
9382 (description
9383 "Authenticator is a two-factor authentication (2FA) application built for
9384 the GNOME desktop environment.
9385
9386 Features:
9387
9388 @itemize
9389 @item QR code scanner
9390 @item Beautiful UI
9391 @item Huge database of more than 560 supported services
9392 @item Keep your PIN tokens secure by locking the application with a password
9393 @item Automatically fetch an image for services using their favicon
9394 @item The possibility to add new services
9395 @end itemize")
9396 (license license:gpl3+)))
9397
9398 (define-public gsound
9399 (package
9400 (name "gsound")
9401 (version "1.0.2")
9402 (source (origin
9403 (method url-fetch)
9404 (uri (string-append "mirror://gnome/sources/" name "/"
9405 (version-major+minor version) "/"
9406 name "-" version ".tar.xz"))
9407 (sha256
9408 (base32
9409 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9410 (build-system glib-or-gtk-build-system)
9411 (native-inputs
9412 `(("pkg-config" ,pkg-config)
9413 ("gobject-introspection" ,gobject-introspection)
9414 ("vala" ,vala)))
9415 (inputs
9416 `(("glib" ,glib)
9417 ("libcanberra" ,libcanberra)))
9418 (home-page "https://wiki.gnome.org/Projects/GSound")
9419 (synopsis "GObject wrapper for libcanberra")
9420 (description
9421 "GSound is a small library for playing system sounds. It's designed to be
9422 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9423 library.")
9424 (license license:lgpl2.1+)))
9425
9426 (define-public libzapojit
9427 (package
9428 (name "libzapojit")
9429 (version "0.0.3")
9430 (source (origin
9431 (method url-fetch)
9432 (uri (string-append "mirror://gnome/sources/" name "/"
9433 (version-major+minor version) "/"
9434 name "-" version ".tar.xz"))
9435 (sha256
9436 (base32
9437 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9438 (build-system gnu-build-system)
9439 (native-inputs
9440 `(("gobject-introspection" ,gobject-introspection)
9441 ("intltool" ,intltool)
9442 ("pkg-config" ,pkg-config)))
9443 (inputs
9444 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9445 ("json-glib" ,json-glib)
9446 ("rest" ,rest)))
9447 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9448 (synopsis "Library for accessing SkyDrive and Hotmail")
9449 (description
9450 "Libzapojit is a GLib-based library for accessing online service APIs of
9451 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9452 (license license:lgpl2.1+)))
9453
9454 (define-public gnome-clocks
9455 (package
9456 (name "gnome-clocks")
9457 (version "3.34.0")
9458 (source (origin
9459 (method url-fetch)
9460 (uri (string-append "mirror://gnome/sources/" name "/"
9461 (version-major+minor version) "/"
9462 name "-" version ".tar.xz"))
9463 (sha256
9464 (base32
9465 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9466 (build-system meson-build-system)
9467 (arguments
9468 '(#:glib-or-gtk? #t
9469 #:phases
9470 (modify-phases %standard-phases
9471 (add-after 'unpack 'skip-gtk-update-icon-cache
9472 ;; Don't create 'icon-theme.cache'.
9473 (lambda _
9474 (substitute* "build-aux/post-install.py"
9475 (("gtk-update-icon-cache") "true"))
9476 #t)))))
9477 (native-inputs
9478 `(("vala" ,vala)
9479 ("pkg-config" ,pkg-config)
9480 ("glib" ,glib "bin") ; for glib-compile-resources
9481 ("desktop-file-utils" ,desktop-file-utils)
9482 ("gettext" ,gettext-minimal)
9483 ("itstool" ,itstool)))
9484 (inputs
9485 `(("glib" ,glib)
9486 ("gtk+" ,gtk+)
9487 ("gsound" ,gsound)
9488 ("geoclue" ,geoclue)
9489 ("geocode-glib" ,geocode-glib)
9490 ("libgweather" ,libgweather)
9491 ("gnome-desktop" ,gnome-desktop)))
9492 (home-page "https://wiki.gnome.org/Apps/Clocks")
9493 (synopsis "GNOME's clock application")
9494 (description
9495 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9496 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9497 (license license:gpl3+)))
9498
9499 (define-public gnome-calendar
9500 (package
9501 (name "gnome-calendar")
9502 (version "3.34.2")
9503 (source (origin
9504 (method url-fetch)
9505 (uri (string-append "mirror://gnome/sources/" name "/"
9506 (version-major+minor version) "/"
9507 name "-" version ".tar.xz"))
9508 (sha256
9509 (base32
9510 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9511 (build-system meson-build-system)
9512 (arguments
9513 '(#:glib-or-gtk? #t
9514 ;; gnome-calendar has to be installed before the tests can be run
9515 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9516 #:tests? #f
9517 #:phases
9518 (modify-phases %standard-phases
9519 (add-after 'unpack 'skip-gtk-update-icon-cache
9520 ;; Don't create 'icon-theme.cache'.
9521 (lambda _
9522 (substitute* "build-aux/meson/meson_post_install.py"
9523 (("gtk-update-icon-cache") "true"))
9524 #t)))))
9525 (native-inputs
9526 `(("gettext" ,gettext-minimal)
9527 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9528 ("pkg-config" ,pkg-config)))
9529 (inputs
9530 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9531 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9532 ("libdazzle" ,libdazzle)
9533 ("libedataserverui" ,evolution-data-server)
9534 ("libgweather" ,libgweather)
9535 ("geoclue" ,geoclue)))
9536 (propagated-inputs
9537 `(("evolution-data-server" ,evolution-data-server)))
9538 (home-page "https://wiki.gnome.org/Apps/Calendar")
9539 (synopsis "GNOME's calendar application")
9540 (description
9541 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9542 desktop. It supports multiple calendars, month, week and year view.")
9543 (license license:gpl3+)))
9544
9545 (define-public gnome-todo
9546 (package
9547 (name "gnome-todo")
9548 (version "3.28.1")
9549 (source (origin
9550 (method url-fetch)
9551 (uri (string-append "mirror://gnome/sources/" name "/"
9552 (version-major+minor version) "/"
9553 name "-" version ".tar.xz"))
9554 (sha256
9555 (base32
9556 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9557 (patches
9558 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9559 (build-system meson-build-system)
9560 (arguments
9561 '(#:glib-or-gtk? #t
9562 #:phases (modify-phases %standard-phases
9563 (add-after
9564 'install 'wrap-gnome-todo
9565 (lambda* (#:key inputs outputs #:allow-other-keys)
9566 (let ((out (assoc-ref outputs "out"))
9567 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9568 (python-path (getenv "PYTHONPATH")))
9569 (wrap-program (string-append out "/bin/gnome-todo")
9570 ;; XXX: gi plugins are broken.
9571 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9572 ;; For plugins.
9573 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9574 `("PYTHONPATH" ":" prefix (,python-path))))
9575 #t)))))
9576 (native-inputs
9577 `(("gettext" ,gettext-minimal)
9578 ("gobject-introspection" ,gobject-introspection)
9579 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9580 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9581 ("pkg-config" ,pkg-config)))
9582 (inputs
9583 `(("rest" ,rest) ; For Todoist plugin
9584 ("json-glib" ,json-glib) ; For Todoist plugin
9585 ("libedataserverui" ,evolution-data-server)
9586 ("libical" ,libical)
9587 ("libpeas" ,libpeas)
9588 ("python-pygobject" ,python-pygobject)
9589 ("evolution-data-server" ,evolution-data-server)
9590 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9591 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9592 (home-page "https://wiki.gnome.org/Apps/Todo")
9593 (synopsis "GNOME's ToDo Application")
9594 (description
9595 "GNOME To Do is a simplistic personal task manager designed to perfectly
9596 fit the GNOME desktop.")
9597 (license license:gpl3+)))
9598
9599 (define-public gnome-dictionary
9600 (package
9601 (name "gnome-dictionary")
9602 (version "3.26.1")
9603 (source (origin
9604 (method url-fetch)
9605 (uri (string-append "mirror://gnome/sources/" name "/"
9606 (version-major+minor version) "/"
9607 name "-" version ".tar.xz"))
9608 (sha256
9609 (base32
9610 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9611 (build-system meson-build-system)
9612 (arguments '(#:glib-or-gtk? #t
9613 #:phases (modify-phases %standard-phases
9614 (add-after 'unpack 'patch-install-script
9615 (lambda _
9616 ;; This script attempts to compile glib schemas
9617 ;; and create an empty MIME database. We do
9618 ;; that elsewhere, so prevent it from running.
9619 (substitute* "build-aux/post-install.sh"
9620 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9621 #t)))))
9622 (native-inputs
9623 `(("glib:bin" ,glib "bin")
9624 ("gobject-introspection" ,gobject-introspection)
9625 ("intltool" ,intltool)
9626 ("itstool" ,itstool)
9627 ("pkg-config" ,pkg-config)
9628 ("xmllint" ,libxml2)))
9629 (inputs
9630 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9631 ("gtk+" ,gtk+)))
9632 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9633 (synopsis "Look up words in dictionary sources")
9634 (description
9635 "GNOME Dictionary can look for the definition or translation of a word in
9636 existing databases over the internet.")
9637 (license license:gpl3+)))
9638
9639 (define-public gnome-tweaks
9640 (package
9641 (name "gnome-tweaks")
9642 (version "3.34.1")
9643 (source (origin
9644 (method url-fetch)
9645 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9646 (version-major+minor version) "/"
9647 "gnome-tweaks-" version ".tar.xz"))
9648 (patches
9649 (list (search-patch "gnome-tweaks-search-paths.patch")))
9650 (sha256
9651 (base32
9652 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9653 (build-system meson-build-system)
9654 (arguments
9655 `(#:glib-or-gtk? #t
9656 #:configure-flags '("-Dlocalstatedir=/tmp"
9657 "-Dsysconfdir=/tmp")
9658 #:imported-modules ((guix build python-build-system)
9659 ,@%meson-build-system-modules)
9660 #:phases
9661 (modify-phases %standard-phases
9662 (add-after 'unpack 'skip-gtk-update-icon-cache
9663 ;; Don't create 'icon-theme.cache'.
9664 (lambda _
9665 (substitute* "meson-postinstall.py"
9666 (("gtk-update-icon-cache") "true"))
9667 #t))
9668 (add-after 'install 'wrap
9669 (@@ (guix build python-build-system) wrap))
9670 (add-after 'wrap 'wrap-gi-typelib
9671 (lambda* (#:key inputs outputs #:allow-other-keys)
9672 (let ((out (assoc-ref outputs "out"))
9673 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9674 (wrap-program (string-append out "/bin/gnome-tweaks")
9675 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9676 #t)))))
9677 (native-inputs
9678 `(("intltool" ,intltool)
9679 ("pkg-config" ,pkg-config)))
9680 (inputs
9681 `(("gnome-desktop" ,gnome-desktop)
9682 ("gtk+" ,gtk+)
9683 ("gobject-introspection" ,gobject-introspection)
9684 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9685 ("libhandy" ,libhandy-0.0)
9686 ("libnotify" ,libnotify)
9687 ("libsoup" ,libsoup)
9688 ("nautilus" ,nautilus)
9689 ("python" ,python)
9690 ("python-pygobject" ,python-pygobject)))
9691 (synopsis "Customize advanced GNOME 3 options")
9692 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9693 (description
9694 "GNOME Tweaks allows adjusting advanced configuration settings in
9695 GNOME 3. This includes things like the fonts used in user interface elements,
9696 alternative user interface themes, changes in window management behavior,
9697 GNOME Shell appearance and extension, etc.")
9698 (license license:gpl3+)))
9699
9700 (define-public gnome-shell-extensions
9701 (package
9702 (name "gnome-shell-extensions")
9703 (version "3.34.2")
9704 (source (origin
9705 (method url-fetch)
9706 (uri (string-append "mirror://gnome/sources/" name "/"
9707 (version-major+minor version) "/"
9708 name "-" version ".tar.xz"))
9709 (sha256
9710 (base32
9711 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9712 (build-system meson-build-system)
9713 (arguments
9714 '(#:configure-flags '("-Dextension_set=all")))
9715 (native-inputs
9716 `(("glib:bin" ,glib "bin")
9717 ("intltool" ,intltool)
9718 ("pkg-config" ,pkg-config)))
9719 (propagated-inputs
9720 `(("glib" ,glib)))
9721 (synopsis "Extensions for GNOME Shell")
9722 (description "GNOME Shell extensions modify and extend GNOME Shell
9723 functionality and behavior.")
9724 (home-page "https://extensions.gnome.org/")
9725 (license license:gpl3+)))
9726
9727 (define-public folks
9728 (package
9729 (name "folks")
9730 (version "0.13.1")
9731 (source (origin
9732 (method url-fetch)
9733 (uri (string-append
9734 "mirror://gnome/sources/folks/"
9735 (version-major+minor version) "/"
9736 "folks-" version ".tar.xz"))
9737 (sha256
9738 (base32
9739 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9740 (build-system meson-build-system)
9741 (arguments
9742 '(#:phases
9743 (modify-phases %standard-phases
9744 (add-after 'unpack 'skip-gtk-update-icon-cache
9745 ;; Don't create 'icon-theme.cache'.
9746 (lambda _
9747 (substitute* "meson_post_install.py"
9748 (("gtk-update-icon-cache") "true"))
9749 #t)))))
9750 (inputs
9751 `(("bdb" ,bdb)
9752 ("dbus-glib" ,dbus-glib)
9753 ("evolution-data-server" ,evolution-data-server)
9754 ("glib" ,glib)
9755 ("libgee" ,libgee)
9756 ("readline" ,readline)
9757 ("telepathy-glib" ,telepathy-glib)))
9758 (native-inputs
9759 `(("glib:bin" ,glib "bin")
9760 ("gobject-introspection" ,gobject-introspection)
9761 ("intltool" ,intltool)
9762 ("pkg-config" ,pkg-config)
9763 ("vala" ,vala)))
9764 (synopsis "Library to aggregate data about people")
9765 (description "Libfolks is a library that aggregates information about people
9766 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9767 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9768 etc.) to create metacontacts. It's written in Vala, which generates C code when
9769 compiled.")
9770 (home-page "https://wiki.gnome.org/Projects/Folks")
9771 (license license:lgpl2.1+)))
9772
9773 (define-public gfbgraph
9774 (package
9775 (name "gfbgraph")
9776 (version "0.2.4")
9777 (source (origin
9778 (method url-fetch)
9779 (uri (string-append
9780 "mirror://gnome/sources/gfbgraph/"
9781 (version-major+minor version) "/"
9782 "gfbgraph-" version ".tar.xz"))
9783 (sha256
9784 (base32
9785 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9786 (build-system glib-or-gtk-build-system)
9787 (arguments
9788 `(#:tests? #f ; tests appear to require the network
9789 #:configure-flags '("--disable-static"
9790 "--enable-gtk-doc"
9791 "--enable-introspection")))
9792 (native-inputs
9793 `(("gobject-introspection" ,gobject-introspection)
9794 ("gtk-doc" ,gtk-doc/stable)
9795 ("pkg-config" ,pkg-config)
9796
9797 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9798 ("autoconf" ,autoconf)
9799 ("automake" ,automake)
9800 ("libtool" ,libtool)
9801 ("which" ,which)))
9802 (inputs
9803 `(("json-glib" ,json-glib)
9804 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9805 ("rest" ,rest)))
9806 (synopsis "GLib/GObject wrapper for the Facebook API")
9807 (description "This library allows you to use the Facebook API from
9808 GLib/GObject code.")
9809 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9810 (license license:lgpl2.1+)))
9811
9812 (define-public libgnomekbd
9813 (package
9814 (name "libgnomekbd")
9815 (version "3.26.1")
9816 (source (origin
9817 (method url-fetch)
9818 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9819 (version-major+minor version) "/"
9820 "libgnomekbd-" version ".tar.xz"))
9821 (sha256
9822 (base32
9823 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9824 (build-system gnu-build-system)
9825 (native-inputs
9826 `(("pkg-config" ,pkg-config)
9827 ("glib" ,glib "bin")
9828 ("intltool" ,intltool)))
9829 (propagated-inputs
9830 ;; Referred to in .h files and .pc.
9831 `(("glib" ,glib)
9832 ("gtk+" ,gtk+)
9833 ("libxklavier" ,libxklavier)))
9834 (home-page "https://www.gnome.org")
9835 (synopsis "GNOME keyboard configuration library")
9836 (description
9837 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9838 environment, which can notably display keyboard layouts.")
9839 (license license:lgpl2.0+)))
9840
9841 ;;; This package is no longer maintained:
9842 ;;; https://wiki.gnome.org/Attic/LibUnique
9843 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9844 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9845 (define-public libunique
9846 (package
9847 (name "libunique")
9848 (version "3.0.2")
9849 (source (origin
9850 (method url-fetch)
9851 (uri (string-append "mirror://gnome/sources/" name "/"
9852 (version-major+minor version) "/"
9853 name "-" version ".tar.xz"))
9854 (sha256
9855 (base32
9856 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9857 (build-system glib-or-gtk-build-system)
9858 (arguments
9859 `(#:configure-flags '("--disable-static"
9860 "--disable-dbus" ; use gdbus
9861 "--enable-introspection")))
9862 (native-inputs
9863 `(("pkg-config" ,pkg-config)
9864 ("gobject-introspection" ,gobject-introspection)
9865 ("glib:bin" ,glib "bin")
9866 ("gtk-doc" ,gtk-doc/stable)))
9867 (propagated-inputs
9868 ;; Referred to in .h files and .pc.
9869 `(("gtk+" ,gtk+)))
9870 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9871 (synopsis "Library for writing single instance applications")
9872 (description
9873 "Libunique is a library for writing single instance applications. If you
9874 launch a single instance application twice, the second instance will either just
9875 quit or will send a message to the running instance. Libunique makes it easy to
9876 write this kind of application, by providing a base class, taking care of all
9877 the IPC machinery needed to send messages to a running instance, and also
9878 handling the startup notification side.")
9879 (license license:lgpl2.1+)))
9880
9881 (define-public gnome-calculator
9882 (package
9883 (name "gnome-calculator")
9884 (version "3.34.1")
9885 (source
9886 (origin
9887 (method url-fetch)
9888 (uri (string-append "mirror://gnome/sources/" name "/"
9889 (version-major+minor version) "/"
9890 name "-" version ".tar.xz"))
9891 (sha256
9892 (base32
9893 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9894 (build-system meson-build-system)
9895 (arguments '(#:glib-or-gtk? #t))
9896 (native-inputs
9897 `(("gettext" ,gettext-minimal)
9898 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9899 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9900 ("itstool" ,itstool)
9901 ("vala" ,vala)
9902 ("pkg-config" ,pkg-config)))
9903 (inputs
9904 `(("glib" ,glib)
9905 ("gtksourceview" ,gtksourceview)
9906 ("libgee" ,libgee)
9907 ("libsoup" ,libsoup)
9908 ("libxml2" ,libxml2)
9909 ("mpc" ,mpc)
9910 ("mpfr" ,mpfr)))
9911 (home-page "https://wiki.gnome.org/Apps/Calculator")
9912 (synopsis "Desktop calculator")
9913 (description
9914 "Calculator is an application that solves mathematical equations and
9915 is suitable as a default application in a Desktop environment.")
9916 (license license:gpl3)))
9917
9918 (define-public xpad
9919 (package
9920 (name "xpad")
9921 (version "5.1.0")
9922 (source
9923 (origin
9924 (method url-fetch)
9925 (uri (string-append "https://launchpad.net/xpad/trunk/"
9926 version "/+download/"
9927 name "-" version ".tar.bz2"))
9928 (sha256
9929 (base32
9930 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9931 (build-system gnu-build-system)
9932 (native-inputs
9933 `(("autoconf" ,autoconf)
9934 ("automake" ,automake)
9935 ("gtk+:bin" ,gtk+ "bin")
9936 ("intltool" ,intltool)
9937 ("pkg-config" ,pkg-config)))
9938 (inputs
9939 `(("gtksourceview" ,gtksourceview-3)
9940 ("libsm" ,libsm)))
9941 (home-page "https://wiki.gnome.org/Apps/Xpad")
9942 (synopsis "Virtual sticky note")
9943 (description
9944 "Xpad is a sticky note that strives to be simple, fault tolerant,
9945 and customizable. Xpad consists of independent pad windows, each is
9946 basically a text box in which notes can be written.")
9947 (license license:gpl3+)))
9948
9949 (define-public gucharmap
9950 (let ((unicode-files
9951 '(("Blocks.txt"
9952 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9953 ("DerivedAge.txt"
9954 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9955 ("NamesList.txt"
9956 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9957 ("Scripts.txt"
9958 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9959 ("UnicodeData.txt"
9960 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9961 ("Unihan.zip"
9962 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9963 (package
9964 (name "gucharmap")
9965 (version "12.0.1")
9966 (source
9967 (origin
9968 (method url-fetch)
9969 (uri (string-append "mirror://gnome/sources/" name "/"
9970 (version-major+minor version) "/"
9971 name "-" version ".tar.xz"))
9972 (sha256
9973 (base32
9974 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9975 (build-system glib-or-gtk-build-system)
9976 (arguments
9977 `(#:modules ((ice-9 match)
9978 (guix build glib-or-gtk-build-system)
9979 (guix build utils))
9980 #:configure-flags
9981 (list "--with-unicode-data=../unicode-data")
9982 #:phases
9983 (modify-phases %standard-phases
9984 (add-after 'unpack 'prepare-unicode-data
9985 (lambda* (#:key inputs #:allow-other-keys)
9986 (mkdir-p "../unicode-data")
9987 (with-directory-excursion "../unicode-data"
9988 (for-each (match-lambda
9989 ((file _)
9990 (install-file (assoc-ref inputs file) ".")))
9991 ',unicode-files))
9992 #t)))))
9993 (native-inputs
9994 `(("desktop-file-utils" ,desktop-file-utils)
9995 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9996 ("gobject-introspection" ,gobject-introspection)
9997 ("intltool" ,intltool)
9998 ("itstool" ,itstool)
9999 ("pkg-config" ,pkg-config)
10000 ,@(map (match-lambda
10001 ((file hash)
10002 `(,file
10003 ,(origin
10004 (method url-fetch)
10005 (uri (string-append
10006 "http://www.unicode.org/Public/12.0.0/ucd/"
10007 file))
10008 (sha256 (base32 hash))))))
10009 unicode-files)
10010 ("unzip" ,unzip)))
10011 (inputs
10012 `(("gtk+" ,gtk+)
10013 ("xmllint" ,libxml2)))
10014 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10015 (synopsis "Unicode character picker and font browser")
10016 (description
10017 "This program allows you to browse through all the available Unicode
10018 characters and categories for the installed fonts, and to examine their
10019 detailed properties. It is an easy way to find the character you might
10020 only know by its Unicode name or code point.")
10021 (license license:gpl3+))))
10022
10023 (define-public bluefish
10024 (package
10025 (name "bluefish")
10026 (version "2.2.12")
10027 (source
10028 (origin
10029 (method url-fetch)
10030 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10031 "bluefish-" version ".tar.gz"))
10032 (sha256
10033 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10034 (build-system gnu-build-system)
10035 (native-inputs
10036 `(("desktop-file-utils" ,desktop-file-utils)
10037 ("intltool" ,intltool)
10038 ("pkg-config" ,pkg-config)))
10039 (inputs
10040 `(("enchant" ,enchant)
10041 ("gtk+" ,gtk+)
10042 ("python" ,python-wrapper)
10043 ("xmllint" ,libxml2)
10044 ("gucharmap" ,gucharmap)))
10045 (home-page "http://bluefish.openoffice.nl")
10046 (synopsis "Web development studio")
10047 (description
10048 "Bluefish is an editor aimed at programmers and web developers,
10049 with many options to write web sites, scripts and other code.
10050 Bluefish supports many programming and markup languages.")
10051 (license license:gpl3+)))
10052
10053 (define-public gnome-system-monitor
10054 (package
10055 (name "gnome-system-monitor")
10056 (version "3.32.1")
10057 (source
10058 (origin
10059 (method url-fetch)
10060 (uri (string-append "mirror://gnome/sources/" name "/"
10061 (version-major+minor version) "/"
10062 name "-" version ".tar.xz"))
10063 (sha256
10064 (base32
10065 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10066 (build-system meson-build-system)
10067 (arguments
10068 '(#:glib-or-gtk? #t
10069 #:configure-flags '("-Dsystemd=false")))
10070 (native-inputs
10071 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10072 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10073 ("intltool" ,intltool)
10074 ("itstool" ,itstool)
10075 ("libgtop" ,libgtop)
10076 ("polkit" ,polkit)
10077 ("pkg-config" ,pkg-config)))
10078 (inputs
10079 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10080 ("gtk+" ,gtk+)
10081 ("gtkmm" ,gtkmm)
10082 ("librsvg" ,librsvg)
10083 ("libxml2" ,libxml2)
10084 ("libwnck" ,libwnck)))
10085 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10086 (synopsis "Process viewer and system resource monitor for GNOME")
10087 (description
10088 "GNOME System Monitor is a GNOME process viewer and system monitor with
10089 an attractive, easy-to-use interface. It has features, such as a tree view
10090 for process dependencies, icons for processes, the ability to hide processes,
10091 graphical time histories of CPU/memory/swap usage and the ability to
10092 kill/reinice processes.")
10093 (license license:gpl2+)))
10094
10095 (define-public python-pyatspi
10096 (package
10097 (name "python-pyatspi")
10098 (version "2.34.0")
10099 (source (origin
10100 (method url-fetch)
10101 (uri (string-append
10102 "mirror://gnome/sources/pyatspi/"
10103 (version-major+minor version)
10104 "/pyatspi-" version ".tar.xz"))
10105 (sha256
10106 (base32
10107 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10108 (build-system gnu-build-system)
10109 (arguments
10110 `(#:phases
10111 (modify-phases %standard-phases
10112 (add-before 'build 'fix-atk-load
10113 (lambda _
10114 (substitute* "pyatspi/__init__.py"
10115 (("from gi.repository import Atspi")
10116 "gi.require_version('Gtk', '3.0')
10117 from gi.repository import Gtk
10118 from gi.repository import Atspi"))
10119 #t)))))
10120 (native-inputs
10121 `(("pkg-config" ,pkg-config)))
10122 (inputs
10123 `(("python" ,python)))
10124 (propagated-inputs
10125 `(("python-pygobject" ,python-pygobject)))
10126 (synopsis "Python client bindings for D-Bus AT-SPI")
10127 (home-page "https://wiki.linuxfoundation.org/accessibility\
10128 /atk/at-spi/at-spi_on_d-bus")
10129 (description
10130 "This package includes a python client library for the AT-SPI D-Bus
10131 accessibility infrastructure.")
10132 (license license:lgpl2.0)
10133 (properties '((upstream-name . "pyatspi")))))
10134
10135 (define-public python2-pyatspi
10136 (package/inherit python-pyatspi
10137 (name "python2-pyatspi")
10138 (inputs
10139 `(("python" ,python-2)))
10140 (propagated-inputs
10141 `(("python-pygobject" ,python2-pygobject)))))
10142
10143 (define-public orca
10144 (package
10145 (name "orca")
10146 (version "3.34.1")
10147 (source (origin
10148 (method url-fetch)
10149 (uri (string-append
10150 "mirror://gnome/sources/" name "/"
10151 (version-major+minor version) "/"
10152 name "-" version ".tar.xz"))
10153 (sha256
10154 (base32
10155 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10156 (build-system glib-or-gtk-build-system)
10157 (arguments
10158 '(#:phases
10159 (modify-phases %standard-phases
10160 (add-before 'configure 'qualify-xkbcomp
10161 (lambda* (#:key inputs #:allow-other-keys)
10162 (let ((xkbcomp (string-append
10163 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10164 (substitute* "src/orca/orca.py"
10165 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10166 #t))
10167 (add-after 'install 'wrap-orca
10168 (lambda* (#:key outputs #:allow-other-keys)
10169 (let* ((out (assoc-ref outputs "out"))
10170 (prog (string-append out "/bin/orca")))
10171 (wrap-program prog
10172 `("GI_TYPELIB_PATH" ":" prefix
10173 (,(getenv "GI_TYPELIB_PATH")))
10174 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10175 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10176 `("PYTHONPATH" ":" prefix
10177 (,(getenv "PYTHONPATH")))))
10178 #t)))))
10179 (native-inputs
10180 `(("intltool" ,intltool)
10181 ("itstool" ,itstool)
10182 ("pkg-config" ,pkg-config)
10183 ("xmllint" ,libxml2)))
10184 (inputs
10185 `(("at-spi2-atk" ,at-spi2-atk)
10186 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10187 ("gstreamer" ,gstreamer)
10188 ("gst-plugins-base" ,gst-plugins-base)
10189 ("gst-plugins-good" ,gst-plugins-good)
10190 ("gtk+" ,gtk+)
10191 ("python" ,python)
10192 ("python-pygobject" ,python-pygobject)
10193 ("python-pyatspi" ,python-pyatspi)
10194 ("python-speechd" ,speech-dispatcher)
10195 ("xkbcomp" ,xkbcomp)))
10196 (synopsis
10197 "Screen reader for individuals who are blind or visually impaired")
10198 (home-page "https://wiki.gnome.org/Projects/Orca")
10199 (description
10200 "Orca is a screen reader that provides access to the graphical desktop
10201 via speech and refreshable braille. Orca works with applications and toolkits
10202 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10203 (license license:lgpl2.1+)))
10204
10205 (define-public gspell
10206 (package
10207 (name "gspell")
10208 (version "1.8.2")
10209 (source (origin
10210 (method url-fetch)
10211 (uri (string-append "mirror://gnome/sources/" name "/"
10212 (version-major+minor version) "/"
10213 name "-" version ".tar.xz"))
10214 (sha256
10215 (base32
10216 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10217 (patches (search-patches "gspell-dash-test.patch"))))
10218 (build-system glib-or-gtk-build-system)
10219 (arguments
10220 '(#:configure-flags (list "--enable-vala")
10221 #:phases
10222 (modify-phases %standard-phases
10223 (add-before 'check 'pre-check
10224 (lambda* (#:key inputs #:allow-other-keys)
10225 ;; Tests require a running X server.
10226 (system "Xvfb :1 &")
10227 (setenv "DISPLAY" ":1")
10228
10229 ;; For the missing /etc/machine-id.
10230 (setenv "DBUS_FATAL_WARNINGS" "0")
10231
10232 ;; Allow Enchant and its Aspell backend to find the en_US
10233 ;; dictionary.
10234 (setenv "ASPELL_DICT_DIR"
10235 (string-append (assoc-ref inputs "aspell-dict-en")
10236 "/lib/aspell"))
10237 #t)))))
10238 (inputs
10239 `(("gtk+" ,gtk+)
10240 ("glib" ,glib)
10241 ("iso-codes" ,iso-codes)))
10242 (native-inputs
10243 `(("glib" ,glib "bin")
10244 ("gobject-introspection" ,gobject-introspection)
10245 ("pkg-config" ,pkg-config)
10246 ("vala" ,vala) ;for VAPI, needed by Geary
10247 ("xmllint" ,libxml2)
10248
10249 ;; For tests.
10250 ("aspell-dict-en" ,aspell-dict-en)
10251 ("xorg-server" ,xorg-server-for-tests)))
10252 (propagated-inputs
10253 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10254 (home-page "https://wiki.gnome.org/Projects/gspell")
10255 (synopsis "GNOME's alternative spell checker")
10256 (description
10257 "gspell provides a flexible API to add spell-checking to a GTK+
10258 application. It provides a GObject API, spell-checking to text entries and
10259 text views, and buttons to choose the language.")
10260 (license license:gpl2+)))
10261
10262 (define-public gnome-planner
10263 (package
10264 (name "gnome-planner")
10265 (version "0.14.6")
10266 (source (origin
10267 (method url-fetch)
10268 (uri (string-append "mirror://gnome/sources/planner/"
10269 (version-major+minor version) "/planner-"
10270 version ".tar.xz"))
10271 (sha256
10272 (base32
10273 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10274 (build-system glib-or-gtk-build-system)
10275 (arguments
10276 ;; Disable the Python bindings because the Planner program functions
10277 ;; without them, and (as of 2017-06-13) we have not packaged all of
10278 ;; packages that are necessary for building the Python bindings.
10279 `(#:configure-flags
10280 (list "--disable-python"
10281 ,@(if (string=? "aarch64-linux" (%current-system))
10282 '("--build=aarch64-unknown-linux-gnu")
10283 '()))))
10284 (inputs
10285 `(("libgnomecanvas" ,libgnomecanvas)
10286 ("libgnomeui" ,libgnomeui)
10287 ("libglade" ,libglade)
10288 ("gnome-vfs" ,gnome-vfs)
10289 ("gconf" ,gconf)
10290 ("libxml2" ,libxml2)
10291 ("libxslt" ,libxslt)
10292 ("gtk+" ,gtk+)
10293 ("glib" ,glib)))
10294 (native-inputs
10295 `(("intltool" ,intltool)
10296 ("scrollkeeper" ,scrollkeeper)
10297 ("pkg-config" ,pkg-config)))
10298 (home-page "https://wiki.gnome.org/Apps/Planner")
10299 (synopsis "Project management software for the GNOME desktop")
10300 (description
10301 "GNOME Planner is a project management tool based on the Work Breakdown
10302 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10303 the resources, tasks, and constraints that you define, Planner generates
10304 various views into a project. For example, Planner can show a Gantt chart of
10305 the project. It can show a detailed summary of tasks including their
10306 duration, cost, and current progress. It can also show a report of resource
10307 utilization that highlights under-utilized and over-utilized resources. These
10308 views can be printed as PDF or PostScript files, or exported to HTML.")
10309 (license license:gpl2+)))
10310
10311 (define-public lollypop
10312 (package
10313 (name "lollypop")
10314 (version "1.4.6")
10315 (source
10316 (origin
10317 (method url-fetch)
10318 (uri (string-append "https://adishatz.org/lollypop/"
10319 "lollypop-" version ".tar.xz"))
10320 (sha256
10321 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10322 (build-system meson-build-system)
10323 (arguments
10324 `(#:imported-modules
10325 (,@%meson-build-system-modules
10326 (guix build python-build-system))
10327 #:modules
10328 ((guix build meson-build-system)
10329 ((guix build python-build-system) #:prefix python:)
10330 (guix build utils))
10331 #:glib-or-gtk? #t
10332 #:tests? #f ; no test suite
10333 #:phases
10334 (modify-phases %standard-phases
10335 (add-after 'install 'wrap-program
10336 (lambda* (#:key outputs #:allow-other-keys)
10337 (let ((out (assoc-ref outputs "out"))
10338 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10339 (wrap-program (string-append out "/bin/lollypop")
10340 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10341 #t))
10342 (add-after 'install 'wrap-python
10343 (assoc-ref python:%standard-phases 'wrap)))))
10344 (native-inputs
10345 `(("intltool" ,intltool)
10346 ("itstool" ,itstool)
10347 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10348 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10349 ("pkg-config" ,pkg-config)))
10350 (inputs
10351 `(("glib-networking" ,glib-networking)
10352 ("gobject-introspection" ,gobject-introspection)
10353 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10354 ("gst-plugins-base" ,gst-plugins-base)
10355 ("libnotify" ,libnotify)
10356 ("libsecret" ,libsecret)
10357 ("libhandy" ,libhandy)
10358 ("libsoup" ,libsoup)
10359 ("python" ,python)
10360 ("python-beautifulsoup4" ,python-beautifulsoup4)
10361 ("python-gst" ,python-gst)
10362 ("python-pil" ,python-pillow)
10363 ("python-pycairo" ,python-pycairo)
10364 ("python-pygobject" ,python-pygobject)
10365 ("python-pylast" ,python-pylast)
10366 ("totem-pl-parser" ,totem-pl-parser)
10367 ("webkitgtk" ,webkitgtk)))
10368 (propagated-inputs
10369 `(;; gst-plugins-base is required to start Lollypop,
10370 ;; the others are required to play streaming.
10371 ("gst-plugins-good" ,gst-plugins-good)
10372 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10373 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10374 (synopsis "GNOME music playing application")
10375 (description
10376 "Lollypop is a music player designed to play well with GNOME desktop.
10377 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10378 from artists and tracks from the web. It also fetches cover artworks
10379 automatically and it can stream songs from online music services and charts.")
10380 (license license:gpl3+)))
10381
10382 (define-public gnome-video-effects
10383 (package
10384 (name "gnome-video-effects")
10385 (version "0.5.0")
10386 (source (origin
10387 (method url-fetch)
10388 (uri (string-append "mirror://gnome/sources/" name "/"
10389 (version-major+minor version) "/" name "-"
10390 version ".tar.xz"))
10391 (sha256
10392 (base32
10393 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10394 (build-system meson-build-system)
10395 (native-inputs
10396 `(("gettext" ,gettext-minimal)
10397 ("pkg-config" ,pkg-config)))
10398 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10399 (synopsis "Video effects for Cheese and other GNOME applications")
10400 (description
10401 "A collection of GStreamer video filters and effects to be used in
10402 photo-booth-like software, such as Cheese.")
10403 (license license:gpl2+)))
10404
10405 (define-public cheese
10406 (package
10407 (name "cheese")
10408 (version "3.38.0")
10409 (source (origin
10410 (method url-fetch)
10411 (uri (string-append "mirror://gnome/sources/" name "/"
10412 (version-major+minor version) "/" name "-"
10413 version ".tar.xz"))
10414 (sha256
10415 (base32
10416 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10417 (arguments
10418 `(#:glib-or-gtk? #t
10419 ;; Tests require GDK.
10420 #:tests? #f
10421 #:phases
10422 (modify-phases %standard-phases
10423 (add-after 'unpack 'skip-gtk-update-icon-cache
10424 (lambda _
10425 ;; Don't create 'icon-theme.cache'
10426 (substitute* "meson_post_install.py"
10427 (("gtk-update-icon-cache") (which "true")))
10428 #t))
10429 (add-after 'unpack 'patch-docbook-xml
10430 (lambda* (#:key inputs #:allow-other-keys)
10431 ;; Avoid a network connection attempt during the build.
10432 (substitute* '("docs/reference/cheese.xml"
10433 "docs/reference/cheese-docs.xml")
10434 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10435 (string-append (assoc-ref inputs "docbook-xml")
10436 "/xml/dtd/docbook/docbookx.dtd")))
10437 #t))
10438 (add-after 'install 'wrap-cheese
10439 (lambda* (#:key inputs outputs #:allow-other-keys)
10440 (let ((out (assoc-ref outputs "out"))
10441 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10442 (wrap-program (string-append out "/bin/cheese")
10443 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10444 #t)))))
10445 (build-system meson-build-system)
10446 (native-inputs
10447 `(("docbook-xsl" ,docbook-xsl)
10448 ("docbook-xml" ,docbook-xml-4.3)
10449 ("gettext" ,gettext-minimal)
10450 ("glib:bin" ,glib "bin")
10451 ("gtk-doc" ,gtk-doc/stable)
10452 ("itstool" ,itstool)
10453 ("libxml2" ,libxml2)
10454 ("libxslt" ,libxslt)
10455 ("pkg-config" ,pkg-config)
10456 ("vala" ,vala)))
10457 (propagated-inputs
10458 `(("gnome-video-effects" ,gnome-video-effects)
10459 ("clutter" ,clutter)
10460 ("clutter-gst" ,clutter-gst)
10461 ("clutter-gtk" ,clutter-gtk)
10462 ("libcanberra" ,libcanberra)
10463 ("gdk-pixbuf" ,gdk-pixbuf)
10464 ("glib" ,glib)
10465 ("gstreamer" ,gstreamer)))
10466 (inputs
10467 `(("gnome-desktop" ,gnome-desktop)
10468 ("gobject-introspection" ,gobject-introspection)
10469 ("gst-plugins-base" ,gst-plugins-base)
10470 ("gst-plugins-good" ,gst-plugins-good)
10471 ("gst-plugins-bad" ,gst-plugins-bad)
10472 ("gtk+" ,gtk+)
10473 ("libx11" ,libx11)
10474 ("libxtst" ,libxtst)))
10475 (home-page "https://wiki.gnome.org/Apps/Cheese")
10476 (synopsis "Webcam photo booth software for GNOME")
10477 (description
10478 "Cheese uses your webcam to take photos and videos. Cheese can also
10479 apply fancy special effects and lets you share the fun with others.")
10480 (license license:gpl2+)))
10481
10482 (define-public passwordsafe
10483 (package
10484 (name "passwordsafe")
10485 (version "3.99.2")
10486 (source
10487 (origin
10488 (method git-fetch)
10489 (uri (git-reference
10490 (url "https://gitlab.gnome.org/World/PasswordSafe")
10491 (commit version)))
10492 (file-name (git-file-name name version))
10493 (sha256
10494 (base32 "0pi2l4gwf8paxm858mxrcsk5nr0c0zw5ycax40mghndb6b1qmmhf"))))
10495 (build-system meson-build-system)
10496 (arguments
10497 `(#:glib-or-gtk? #t
10498 #:phases
10499 (modify-phases %standard-phases
10500 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10501 (lambda* (#:key outputs #:allow-other-keys)
10502 (let ((prog (string-append (assoc-ref outputs "out")
10503 "/bin/gnome-passwordsafe"))
10504 (pylib (string-append (assoc-ref outputs "out")
10505 "/lib/python"
10506 ,(version-major+minor
10507 (package-version python))
10508 "/site-packages")))
10509 (wrap-program prog
10510 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10511 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10512 #t))))))
10513 (native-inputs
10514 `(("desktop-file-utils" ,desktop-file-utils)
10515 ("gettext" ,gettext-minimal)
10516 ("glib:bin" ,glib "bin")
10517 ("gobject-introspection" ,gobject-introspection)
10518 ("gtk+:bin" ,gtk+ "bin")
10519 ("pkg-config" ,pkg-config)))
10520 (inputs
10521 `(("glib" ,glib)
10522 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10523 ("gtk+" ,gtk+)
10524 ("libhandy" ,libhandy-0.0)
10525 ("libpwquality" ,libpwquality)
10526 ("python-pygobject" ,python-pygobject)
10527 ("python-pykeepass" ,python-pykeepass)))
10528 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10529 (synopsis "Password manager for the GNOME desktop")
10530 (description
10531 "Password Safe is a password manager which makes use of the KeePass v4
10532 format. It integrates perfectly with the GNOME desktop and provides an easy
10533 and uncluttered interface for the management of password databases.")
10534 (license license:gpl3+)))
10535
10536 (define-public sound-juicer
10537 (package
10538 (name "sound-juicer")
10539 (version "3.24.0")
10540 (source
10541 (origin
10542 (method url-fetch)
10543 (uri (string-append "mirror://gnome/sources/" name "/"
10544 (version-major+minor version) "/"
10545 name "-" version ".tar.xz"))
10546 (sha256
10547 (base32
10548 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10549 (build-system glib-or-gtk-build-system)
10550 (native-inputs
10551 `(("desktop-file-utils" ,desktop-file-utils)
10552 ("intltool" ,intltool)
10553 ("itstool" ,itstool)
10554 ("pkg-config" ,pkg-config)
10555 ("xmllint" ,libxml2)))
10556 (inputs
10557 `(("gtk+" ,gtk+)
10558 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10559 ("gstreamer" ,gstreamer)
10560 ("gst-plugins-base" ,gst-plugins-base)
10561 ("gst-plugins-good" ,gst-plugins-good)
10562 ("iso-codes" ,iso-codes)
10563 ("libbrasero-media3" ,brasero)
10564 ("libcanberra" ,libcanberra)
10565 ("libdiscid" ,libdiscid)
10566 ("libmusicbrainz" ,libmusicbrainz)
10567 ("neon" ,neon)))
10568 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10569 (synopsis "Audio music cd ripper")
10570 (description "Sound Juicer extracts audio from compact discs and convert it
10571 into audio files that a personal computer or digital audio player can play.
10572 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10573 mp3, Ogg Vorbis and FLAC")
10574 (license license:gpl2+)))
10575
10576 (define-public soundconverter
10577 (package
10578 (name "soundconverter")
10579 (version "3.0.2")
10580 (source
10581 (origin
10582 (method url-fetch)
10583 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10584 version "/+download/"
10585 "soundconverter-" version ".tar.xz"))
10586
10587 (sha256
10588 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10589 (build-system glib-or-gtk-build-system)
10590 (arguments
10591 `(#:imported-modules ((guix build python-build-system)
10592 (guix build glib-or-gtk-build-system)
10593 ,@%gnu-build-system-modules)
10594
10595 #:modules ((guix build glib-or-gtk-build-system)
10596 (guix build utils)
10597 ((guix build gnu-build-system) #:prefix gnu:)
10598 ((guix build python-build-system) #:prefix python:))
10599
10600 #:phases
10601 (modify-phases %standard-phases
10602 (add-after 'install 'wrap-soundconverter-for-python
10603 (assoc-ref python:%standard-phases 'wrap))
10604 (add-after 'install 'wrap-soundconverter
10605 (lambda* (#:key inputs outputs #:allow-other-keys)
10606 (let ((out (assoc-ref outputs "out"))
10607 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10608 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10609 (wrap-program (string-append out "/bin/soundconverter")
10610 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10611 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10612 #t)))))
10613 (native-inputs
10614 `(("intltool" ,intltool)
10615 ("pkg-config" ,pkg-config)
10616 ("glib:bin" ,glib "bin")))
10617 (inputs
10618 `(("gtk+" ,gtk+)
10619 ("python" ,python)
10620 ("python-pygobject" ,python-pygobject)
10621 ("gstreamer" ,gstreamer)
10622 ("gst-plugins-base" ,gst-plugins-base)))
10623 (home-page "https://soundconverter.org/")
10624 (synopsis "Convert between audio formats with a graphical interface")
10625 (description
10626 "SoundConverter supports converting between many audio formats including
10627 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10628 configurable file renaming. ")
10629 (license license:gpl3)))
10630
10631 (define-public workrave
10632 (package
10633 (name "workrave")
10634 (version "1.10.42")
10635 (source
10636 (origin
10637 (method git-fetch)
10638 (uri (git-reference
10639 (url "https://github.com/rcaelers/workrave")
10640 (commit (string-append "v" (string-map
10641 (match-lambda (#\. #\_) (chr chr))
10642 version)))))
10643 (file-name (git-file-name name version))
10644 (sha256
10645 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10646 (build-system glib-or-gtk-build-system)
10647 (arguments
10648 ;; The only tests are maintainer tests (in po/), which fail.
10649 `(#:tests? #f))
10650 (inputs `(("glib" ,glib)
10651 ("gtk+" ,gtk+)
10652 ("gdk-pixbuf" ,gdk-pixbuf)
10653 ("gtkmm" ,gtkmm)
10654 ("glibmm" ,glibmm)
10655 ("libx11" ,libx11)
10656 ("libxtst" ,libxtst)
10657 ("dconf" ,dconf)
10658 ("libice" ,libice)
10659 ("libsm" ,libsm)
10660 ("libxscrnsaver" ,libxscrnsaver)))
10661 (native-inputs `(("boost" ,boost)
10662 ("pkg-config" ,pkg-config)
10663 ("gettext" ,gettext-minimal)
10664 ("autoconf" ,autoconf)
10665 ("autoconf-archive" , autoconf-archive)
10666 ("automake" ,automake)
10667 ("libtool" ,libtool)
10668 ("intltool" ,intltool)
10669 ("gobject-introspection" ,gobject-introspection)
10670 ("python3" ,python-3)
10671 ("python-jinja2" ,python-jinja2)))
10672 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10673 (description
10674 "Workrave is a program that assists in the recovery and prevention of
10675 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10676 micro-pauses and rest breaks, and restricts you to your daily limit.")
10677 (home-page "http://www.workrave.org")
10678 (license license:gpl3+)))
10679
10680 (define-public ghex
10681 (package
10682 (name "ghex")
10683 (version "3.18.4")
10684 (source (origin
10685 (method url-fetch)
10686 (uri (string-append "mirror://gnome/sources/ghex/"
10687 (version-major+minor version) "/"
10688 "ghex-" version ".tar.xz"))
10689 (sha256
10690 (base32
10691 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10692 (build-system meson-build-system)
10693 (arguments
10694 '(#:glib-or-gtk? #t
10695 #:phases
10696 (modify-phases %standard-phases
10697 (add-after 'unpack 'skip-gtk-update-icon-cache
10698 ;; Don't create 'icon-theme.cache'.
10699 (lambda _
10700 (substitute* "meson_post_install.py"
10701 (("gtk-update-icon-cache") (which "true")))
10702 #t)))))
10703 (native-inputs
10704 `(("pkg-config" ,pkg-config)
10705 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10706 ("gnome-common" ,gnome-common)
10707 ("which" ,which)
10708 ("intltool" ,intltool)
10709 ("yelp-tools" ,yelp-tools)
10710 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10711 (inputs
10712 `(("atk" ,atk)
10713 ("gtk" ,gtk+)))
10714 (synopsis "GNOME hexadecimal editor")
10715 (description "The GHex program can view and edit files in two ways:
10716 hexadecimal or ASCII. It is useful for editing binary files in general.")
10717 (home-page "https://wiki.gnome.org/Apps/Ghex")
10718 (license license:gpl2)))
10719
10720 (define-public libdazzle
10721 (package
10722 (name "libdazzle")
10723 (version "3.37.1")
10724 (source (origin
10725 (method url-fetch)
10726 (uri (string-append "mirror://gnome/sources/libdazzle/"
10727 (version-major+minor version) "/"
10728 "libdazzle-" version ".tar.xz"))
10729 (sha256
10730 (base32
10731 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10732 (build-system meson-build-system)
10733 (arguments
10734 `(#:phases
10735 (modify-phases %standard-phases
10736 (add-before 'check 'pre-check
10737 (lambda _
10738 ;; Tests require a running X server.
10739 (system "Xvfb :1 &")
10740 (setenv "DISPLAY" ":1")
10741 #t)))))
10742 (native-inputs
10743 `(("glib" ,glib "bin") ; glib-compile-resources
10744 ("pkg-config" ,pkg-config)
10745 ;; For tests.
10746 ("xorg-server" ,xorg-server-for-tests)))
10747 (inputs
10748 `(("glib" ,glib)
10749 ("gobject-introspection" ,gobject-introspection)
10750 ("gtk+" ,gtk+)
10751 ("vala" ,vala)))
10752 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10753 (synopsis "Companion library to GObject and Gtk+")
10754 (description "The libdazzle library is a companion library to GObject and
10755 Gtk+. It provides various features that the authors wish were in the
10756 underlying library but cannot for various reasons. In most cases, they are
10757 wildly out of scope for those libraries. In other cases, they are not quite
10758 generic enough to work for everyone.")
10759 (license license:gpl3+)))
10760
10761 (define-public evolution
10762 (package
10763 (name "evolution")
10764 (version "3.34.2")
10765 (source (origin
10766 (method url-fetch)
10767 (uri (string-append "mirror://gnome/sources/evolution/"
10768 (version-major+minor version) "/"
10769 "evolution-" version ".tar.xz"))
10770 (sha256
10771 (base32
10772 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))
10773 (patches (search-patches "evolution-CVE-2020-11879.patch"))))
10774 (build-system cmake-build-system)
10775 (arguments
10776 `(#:imported-modules (,@%cmake-build-system-modules
10777 (guix build glib-or-gtk-build-system))
10778 #:modules ((guix build cmake-build-system)
10779 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10780 (guix build utils))
10781 #:configure-flags
10782 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10783 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10784 ; in four years and cannot be built.
10785 #:phases
10786 (modify-phases %standard-phases
10787 ;; The build system attempts to install user interface modules to the
10788 ;; output directory of the "evolution-data-server" package. This
10789 ;; change redirects that change.
10790 (add-after 'unpack 'patch-ui-module-dir
10791 (lambda* (#:key outputs #:allow-other-keys)
10792 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10793 (("\\$\\{edsuimoduledir\\}")
10794 (string-append (assoc-ref outputs "out")
10795 "/lib/evolution-data-server/ui-modules")))
10796 #t))
10797 (add-after 'install 'glib-or-gtk-compile-schemas
10798 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10799 (add-after 'install 'glib-or-gtk-wrap
10800 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10801 (native-inputs
10802 `(("glib" ,glib "bin") ; glib-mkenums
10803 ("pkg-config" ,pkg-config)
10804 ("intltool" ,intltool)
10805 ("itstool" ,itstool)))
10806 (inputs
10807 `(("enchant" ,enchant)
10808 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10809 ("gcr" ,gcr)
10810 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10811 ("gnome-autoar" ,gnome-autoar)
10812 ("gnome-desktop" ,gnome-desktop)
10813 ("gspell" ,gspell)
10814 ("highlight" ,highlight)
10815 ("libcanberra" ,libcanberra)
10816 ("libgweather" ,libgweather)
10817 ("libnotify" ,libnotify)
10818 ("libsoup" ,libsoup)
10819 ("nss" ,nss)
10820 ("openldap" ,openldap)
10821 ("webkitgtk" ,webkitgtk)
10822 ("ytnef" ,ytnef)))
10823 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10824 (synopsis "Manage your email, contacts and schedule")
10825 (description "Evolution is a personal information management application
10826 that provides integrated mail, calendaring and address book
10827 functionality.")
10828 ;; See COPYING for details.
10829 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10830 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10831 license:lgpl2.1+)))) ; smime/lib/*
10832
10833 (define-public gthumb
10834 (package
10835 (name "gthumb")
10836 (version "3.10.2")
10837 (source (origin
10838 (method url-fetch)
10839 (uri (string-append "mirror://gnome/sources/gthumb/"
10840 (version-major+minor version) "/"
10841 "gthumb-" version ".tar.xz"))
10842 (sha256
10843 (base32
10844 "14sw8d37g1lkp44dwsgyxjjsgh5pnpp4wq00mcy9p3rp30lf9spx"))))
10845 (build-system meson-build-system)
10846 (arguments
10847 `(#:glib-or-gtk? #t
10848 #:configure-flags
10849 ;; Ensure the RUNPATH contains all installed library locations.
10850 (list (string-append "-Dc_link_args=-Wl,-rpath="
10851 (assoc-ref %outputs "out")
10852 "/lib/gthumb/extensions")
10853 (string-append "-Dcpp_link_args=-Wl,-rpath="
10854 (assoc-ref %outputs "out")
10855 "/lib/gthumb/extensions"))))
10856 (native-inputs
10857 `(("pkg-config" ,pkg-config)
10858 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10859 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10860 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10861 ("intltool" ,intltool)
10862 ("itstool" ,itstool)))
10863 (inputs
10864 `(("exiv2" ,exiv2)
10865 ("gtk" ,gtk+)
10866 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10867 ("gstreamer" ,gstreamer)
10868 ("clutter" ,clutter)
10869 ("clutter-gst" ,clutter-gst)
10870 ("clutter-gtk" ,clutter-gtk)
10871 ("libjpeg" ,libjpeg-turbo)
10872 ("libtiff" ,libtiff)
10873 ("libraw" ,libraw)))
10874 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10875 (synopsis "GNOME image viewer and browser")
10876 (description "GThumb is an image viewer, browser, organizer, editor and
10877 advanced image management tool")
10878 (license license:gpl2+)))
10879
10880 (define-public terminator
10881 (package
10882 (name "terminator")
10883 (version "2.1.1")
10884 (source
10885 (origin
10886 (method url-fetch)
10887 (uri (string-append "https://github.com/gnome-terminator/terminator/"
10888 "releases/download/v" version "/"
10889 name "-" version ".tar.gz"))
10890 (sha256
10891 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
10892 (build-system python-build-system)
10893 (native-inputs
10894 `(("gettext" ,gettext-minimal)
10895 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10896 ("gobject-introspection" ,gobject-introspection)
10897 ("intltool" ,intltool)
10898 ("pkg-config" ,pkg-config)
10899 ("python-psutil" ,python-psutil)
10900 ("python-pytest-runner" ,python-pytest-runner)
10901 ("python-pytest" ,python-pytest)))
10902 (inputs
10903 `(("cairo" ,cairo)
10904 ("dbus-glib" ,dbus-glib)
10905 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10906 ("gtk+" ,gtk+)
10907 ("python" ,python-wrapper)
10908 ("python-dbus" ,python-dbus)
10909 ("python-notify2" ,python-notify2)
10910 ("python-pycairo" ,python-pycairo)
10911 ("python-pygobject" ,python-pygobject)
10912 ("vte" ,vte)))
10913 (propagated-inputs
10914 `(("python-configobj" ,python-configobj)))
10915 (arguments
10916 ;; One test out of 28 fails due to dbus-python and python-notify; skip
10917 ;; tests.
10918 `(#:tests? #f
10919 #:imported-modules ((guix build glib-or-gtk-build-system)
10920 ,@%python-build-system-modules)
10921 #:modules ((guix build python-build-system)
10922 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10923 (guix build utils))
10924 #:phases
10925 (modify-phases %standard-phases
10926 (add-after 'unpack 'handle-dbus-python
10927 (lambda _
10928 ;; python-dbus cannot be found but it's really there. See
10929 ;; https://github.com/SpotlightKid/jack-select/issues/2
10930 (substitute* "setup.py"
10931 (("'dbus-python',") ""))
10932 #t))
10933 (add-after 'install 'wrap-program
10934 (lambda* (#:key outputs #:allow-other-keys)
10935 (let ((prog (string-append (assoc-ref outputs "out")
10936 "/bin/terminator"))
10937 (pylib (string-append (assoc-ref outputs "out")
10938 "/lib/python"
10939 ,(version-major+minor
10940 (package-version python))
10941 "/site-packages")))
10942 (wrap-program prog
10943 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10944 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10945 #t)))
10946 (add-after 'wrap-program 'glib-or-gtk-wrap
10947 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10948 (home-page "https://gnome-terminator.org/")
10949 (synopsis "Store and run multiple GNOME terminals in one window")
10950 (description
10951 "Terminator allows you to run multiple GNOME terminals in a grid and
10952 tabs, and it supports drag and drop re-ordering of terminals.")
10953 (license license:gpl2)))
10954
10955 (define-public libhandy
10956 (package
10957 (name "libhandy")
10958 (version "1.2.0")
10959 (source
10960 (origin
10961 (method git-fetch)
10962 (uri (git-reference
10963 (url "https://gitlab.gnome.org/GNOME/libhandy")
10964 (commit version)))
10965 (file-name (git-file-name name version))
10966 (sha256
10967 (base32 "1a8wfgm2jd3gcbk1nzhq6f2xq7vkxdc9qky8p9k0za9gqi7xfg4v"))))
10968 (build-system meson-build-system)
10969 (arguments
10970 `(#:configure-flags
10971 '("-Dglade_catalog=enabled"
10972 "-Dgtk_doc=true")
10973 #:phases
10974 (modify-phases %standard-phases
10975 (add-before 'check 'pre-check
10976 (lambda _
10977 ;; Tests require a running X server.
10978 (system "Xvfb :1 &")
10979 (setenv "DISPLAY" ":1")
10980 #t)))))
10981 (inputs
10982 `(("gtk+" ,gtk+)
10983 ("glade" ,glade3)
10984 ("libxml2" ,libxml2)))
10985 (native-inputs
10986 `(("glib:bin" ,glib "bin")
10987 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10988 ("vala" ,vala)
10989 ("gtk-doc" ,gtk-doc/stable)
10990 ("pkg-config" ,pkg-config)
10991 ("gettext" ,gettext-minimal)
10992
10993 ;; Test suite dependencies.
10994 ("xorg-server" ,xorg-server-for-tests)
10995 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10996 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
10997 (synopsis "Library full of GTK+ widgets for mobile phones")
10998 (description "The aim of the handy library is to help with developing user
10999 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11000 for usage on small and big screens.")
11001 (license license:lgpl2.1+)))
11002
11003 (define-public libhandy-0.0
11004 (package
11005 (inherit libhandy)
11006 (version "0.0.13")
11007 (source
11008 (origin
11009 (method git-fetch)
11010 (uri (git-reference
11011 (url "https://gitlab.gnome.org/GNOME/libhandy")
11012 (commit (string-append "v" version))))
11013 (file-name (git-file-name "libhandy" version))
11014 (sha256
11015 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11016 (arguments
11017 (substitute-keyword-arguments (package-arguments libhandy)
11018 ((#:configure-flags flags)
11019 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11020
11021 (define-public libgit2-glib
11022 (package
11023 (name "libgit2-glib")
11024 (version "0.99.0.1")
11025 (source (origin
11026 (method url-fetch)
11027 (uri (string-append "mirror://gnome/sources/" name "/"
11028 (version-major+minor version) "/"
11029 name "-" version ".tar.xz"))
11030 (sha256
11031 (base32
11032 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
11033 (build-system meson-build-system)
11034 (native-inputs
11035 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
11036 ("gobject-introspection" ,gobject-introspection)
11037 ("pkg-config" ,pkg-config)
11038 ("python-pygobject" ,python-pygobject)
11039 ("python-wrapper" ,python-wrapper)
11040 ("vala" ,vala)))
11041 (inputs
11042 `(("glib" ,glib)
11043 ("libssh2" ,libssh2)))
11044 (propagated-inputs
11045 `(;; In Requires of libgit2-glib.pc.
11046 ("libgit2" ,libgit2)))
11047 (synopsis "GLib wrapper around the libgit2 Git access library")
11048 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11049 access library. It only implements the core plumbing functions, not really the
11050 higher level porcelain stuff.")
11051 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11052 (license license:gpl2+)))
11053
11054 (define-public gitg
11055 (package
11056 (name "gitg")
11057 (version "3.32.1")
11058 (source (origin
11059 (method url-fetch)
11060 (uri (string-append "mirror://gnome/sources/" name "/"
11061 (version-major+minor version) "/"
11062 name "-" version ".tar.xz"))
11063 (sha256
11064 (base32
11065 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11066 (build-system meson-build-system)
11067 (arguments
11068 `(#:glib-or-gtk? #t
11069 #:phases
11070 (modify-phases %standard-phases
11071 (add-after 'unpack 'disable-post-install-partially
11072 (lambda _
11073 (substitute* "meson_post_install.py"
11074 (("'python'") ; there are no python sources to compile
11075 (string-append "'" (which "true") "'"))
11076 (("gtk-update-icon-cache") (which "true")))
11077 #t))
11078 (add-after 'unpack 'fix-test-sources
11079 (lambda _
11080 (substitute* "tests/libgitg/test-commit.vala"
11081 (("/bin/bash") (which "bash")))
11082 #t))
11083 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11084 (lambda* (#:key outputs #:allow-other-keys)
11085 (let ((prog (string-append (assoc-ref outputs "out")
11086 "/bin/gitg")))
11087 (wrap-program prog
11088 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11089 #t))))))
11090 (inputs
11091 `(("glib" ,glib)
11092 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11093 ("gtk+" ,gtk+)
11094 ("gtkspell3" ,gtkspell3)
11095 ("gtksourceview" ,gtksourceview-3)
11096 ("json-glib" ,json-glib)
11097 ("libdazzle" ,libdazzle)
11098 ("libgee" ,libgee)
11099 ("libgit2-glib" ,libgit2-glib)
11100 ("libpeas" ,libpeas)
11101 ("libsecret" ,libsecret)
11102 ("libsoup" ,libsoup)
11103 ("libxml2" ,libxml2)))
11104 (native-inputs
11105 `(("glib:bin" ,glib "bin")
11106 ("gtk+:bin" ,gtk+ "bin")
11107 ("gobject-introspection" ,gobject-introspection)
11108 ("intltool" ,intltool)
11109 ("pkg-config" ,pkg-config)
11110 ("vala" ,vala)))
11111 (synopsis "Graphical user interface for git")
11112 (description
11113 "gitg is a graphical user interface for git. It aims at being a small,
11114 fast and convenient tool to visualize the history of git repositories.
11115 Besides visualization, gitg also provides several utilities to manage your
11116 repository and commit your work.")
11117 (home-page "https://wiki.gnome.org/Apps/Gitg")
11118 (license license:gpl2+)))
11119
11120 (define-public gamin
11121 (package
11122 (name "gamin")
11123 (version "0.1.10")
11124 (source (origin
11125 (method url-fetch)
11126 (uri (string-append "mirror://gnome/sources/" name "/"
11127 (version-major+minor version) "/"
11128 name "-" version ".tar.bz2"))
11129 (sha256
11130 (base32
11131 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11132 (build-system gnu-build-system)
11133 (arguments
11134 `(#:phases
11135 (modify-phases %standard-phases
11136 (add-after 'unpack 'remove-deprecated-macro
11137 (lambda _
11138 (substitute* '("server/gam_node.c"
11139 "server/gam_subscription.h"
11140 "server/gam_node.h"
11141 "server/gam_subscription.c")
11142 (("G_CONST_RETURN") "const"))
11143 #t)))))
11144 (inputs
11145 `(("glib" ,glib)))
11146 (native-inputs
11147 `(("intltool" ,intltool)
11148 ("pkg-config" ,pkg-config)))
11149 (home-page "https://people.gnome.org/~veillard/gamin/")
11150 (synopsis "File alteration monitor")
11151 (description
11152 "Gamin is a file and directory monitoring system defined to be a subset
11153 of the FAM (File Alteration Monitor) system. This is a service provided by a
11154 library which detects when a file or a directory has been modified.")
11155 (license license:gpl2+)))
11156
11157 (define-public gnome-mahjongg
11158 (package
11159 (name "gnome-mahjongg")
11160 (version "3.35.1")
11161 (source (origin
11162 (method git-fetch)
11163 (uri (git-reference
11164 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11165 (commit version)))
11166 (file-name (git-file-name name version))
11167 (sha256
11168 (base32
11169 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11170 (build-system meson-build-system)
11171 (arguments
11172 `(#:glib-or-gtk? #t))
11173 (native-inputs
11174 `(("appstream-glib" ,appstream-glib)
11175 ("gettext" ,gettext-minimal)
11176 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11177 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11178 ("itstool" ,itstool)
11179 ("pkg-config" ,pkg-config)
11180 ("vala" ,vala)))
11181 (propagated-inputs
11182 `(("dconf" ,dconf)))
11183 (inputs
11184 `(("glib" ,glib)
11185 ("gtk+" ,gtk+)
11186 ("librsvg" ,librsvg)))
11187 (synopsis "Mahjongg tile-matching game")
11188 (description "GNOME Mahjongg is a game based on the classic Chinese
11189 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11190 and a high score table.")
11191 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11192 (license license:gpl2+)))
11193
11194 (define-public gnome-themes-extra
11195 (package
11196 (name "gnome-themes-extra")
11197 (version "3.28")
11198 (source
11199 (origin
11200 (method url-fetch)
11201 (uri (string-append "mirror://gnome/sources/" name "/"
11202 (version-major+minor version) "/" name "-"
11203 version ".tar.xz"))
11204 (sha256
11205 (base32
11206 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11207 (build-system gnu-build-system)
11208 (arguments
11209 '(#:configure-flags
11210 ;; Don't create 'icon-theme.cache'.
11211 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11212 (true (string-append coreutils "/bin/true")))
11213 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11214 (native-inputs
11215 `(("glib:bin" ,glib "bin")
11216 ("intltool" ,intltool)
11217 ("pkg-config" ,pkg-config)))
11218 (inputs
11219 `(("glib" ,glib)
11220 ("gtk+" ,gtk+)
11221 ("gtk+-2" ,gtk+-2)
11222 ("librsvg" ,librsvg)
11223 ("libxml2" ,libxml2)))
11224 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11225 (synopsis "GNOME Extra Themes")
11226 (description "This package provides themes and related elements that don't
11227 really fit in other upstream packages. It offers legacy support for GTK+ 2
11228 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11229 index files needed for Adwaita to be used outside of GNOME.")
11230 (license license:lgpl2.1+)))
11231
11232 (define-public gnote
11233 (package
11234 (name "gnote")
11235 (version "3.38.1")
11236 (source
11237 (origin
11238 (method url-fetch)
11239 (uri (string-append "mirror://gnome/sources/" name "/"
11240 (version-major+minor version) "/"
11241 "gnote-" version ".tar.xz"))
11242 (sha256
11243 (base32 "1adjfjhmsm2d33999khjyzvli6kiz1jlzavn77jhd49kfzhxa9y4"))))
11244 (build-system glib-or-gtk-build-system)
11245 (native-inputs
11246 `(("desktop-file-utils" ,desktop-file-utils)
11247 ("glib:bin" ,glib "bin")
11248 ("gobject-introspection" ,gobject-introspection)
11249 ("intltool" ,intltool)
11250 ("itstool" ,itstool)
11251 ("pkg-config" ,pkg-config)
11252 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11253 (inputs
11254 `(("glibmm" ,glibmm)
11255 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11256 ("gspell" ,gspell)
11257 ("gtk+" ,gtk+)
11258 ("gtkmm" ,gtkmm)
11259 ("libsecret" ,libsecret)
11260 ("libuuid" ,util-linux "lib")
11261 ("libxml2" ,libxml2)
11262 ("libxslt" ,libxslt)))
11263 (synopsis "Note-taking application for the GNOME desktop")
11264 (description
11265 "Gnote is a note-taking application written for the GNOME desktop
11266 environment.")
11267 (home-page "https://wiki.gnome.org/Apps/Gnote")
11268 (license license:gpl3+)))
11269
11270 (define-public polari
11271 (package
11272 (name "polari")
11273 (version "3.36.3")
11274 (source (origin
11275 (method url-fetch)
11276 (uri (string-append "mirror://gnome/sources/polari/"
11277 (version-major+minor version)
11278 "/polari-" version ".tar.xz"))
11279 (sha256
11280 (base32
11281 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11282 (build-system meson-build-system)
11283 (arguments
11284 `(#:glib-or-gtk? #t
11285 #:phases
11286 (modify-phases %standard-phases
11287 (add-after 'unpack 'skip-gtk-update-icon-cache
11288 (lambda _
11289 (substitute* "meson/meson-postinstall.sh"
11290 (("gtk-update-icon-cache") (which "true")))
11291 #t))
11292 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11293 (lambda* (#:key outputs #:allow-other-keys)
11294 (let ((prog (string-append (assoc-ref outputs "out")
11295 "/bin/polari")))
11296 (wrap-program prog
11297 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11298 #t))))))
11299 (inputs
11300 `(("glib" ,glib)
11301 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11302 ("gspell" ,gspell)
11303 ("gtk+" ,gtk+)
11304 ("gjs" ,gjs)
11305 ("libsecret" ,libsecret)
11306 ("libsoup" ,libsoup)
11307 ("telepathy-glib" ,telepathy-glib)
11308 ("telepathy-logger" ,telepathy-logger)))
11309 (native-inputs
11310 `(("glib:bin" ,glib "bin")
11311 ("gobject-introspection" ,gobject-introspection)
11312 ("intltool" ,intltool)
11313 ("pkg-config" ,pkg-config)
11314 ("yelp-tools" ,yelp-tools)))
11315 (propagated-inputs
11316 `(("telepathy-idle" ,telepathy-idle)
11317 ("telepathy-mission-control" ,telepathy-mission-control)))
11318 (synopsis "Simple IRC Client")
11319 (description
11320 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11321 integrate seamlessly with the GNOME desktop.")
11322 (home-page "https://wiki.gnome.org/Apps/Polari")
11323 (license license:gpl2+)))
11324
11325 (define-public gnome-boxes
11326 (package
11327 (name "gnome-boxes")
11328 (version "3.36.6")
11329 (source
11330 (origin
11331 (method url-fetch)
11332 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11333 (version-major+minor version) "/"
11334 "gnome-boxes-" version ".tar.xz"))
11335 (sha256
11336 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11337 (build-system meson-build-system)
11338 (arguments
11339 '(#:glib-or-gtk? #t
11340 #:configure-flags (list "-Drdp=false"
11341 (string-append "-Dc_link_args=-Wl,-rpath="
11342 (assoc-ref %outputs "out")
11343 "/lib/gnome-boxes"))))
11344 (native-inputs
11345 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11346 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11347 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11348 ("itstool" ,itstool)
11349 ("intltool" ,intltool)
11350 ("vala" ,vala)
11351 ("pkg-config" ,pkg-config)))
11352 (inputs
11353 `(("libarchive" ,libarchive)
11354 ("glib-networking" ,glib-networking) ;for TLS support
11355 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11356 ("gtk" ,gtk+)
11357 ("gtk-vnc" ,gtk-vnc)
11358 ("libosinfo" ,libosinfo)
11359 ("libsecret" ,libsecret)
11360 ("libsoup" ,libsoup)
11361 ("libusb" ,libusb)
11362 ("libvirt" ,libvirt)
11363 ("libvirt-glib" ,libvirt-glib)
11364 ("libxml" ,libxml2)
11365 ("spice-gtk" ,spice-gtk)
11366 ("sparql-query" ,sparql-query)
11367 ("vte" ,vte)
11368 ("webkitgtk" ,webkitgtk)
11369 ("tracker" ,tracker)
11370 ("libgudev" ,libgudev)))
11371 (home-page "https://wiki.gnome.org/Apps/Boxes")
11372 (synopsis "View, access, and manage remote and virtual systems")
11373 (description "GNOME Boxes is a simple application to view, access, and
11374 manage remote and virtual systems. Note that this application requires the
11375 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11376 @command{info '(guix) Virtualization Services'} to learn how to configure
11377 these services on the Guix System.")
11378 (license (list
11379 ;; For data/icons/empty-boxes.png.
11380 license:cc-by2.0
11381 ;; For all others.
11382 license:lgpl2.0+))))
11383
11384 (define-public geary
11385 (package
11386 (name "geary")
11387 (version "3.34.1")
11388 (source (origin
11389 (method git-fetch)
11390 (uri (git-reference
11391 (url "https://gitlab.gnome.org/GNOME/geary")
11392 (commit version)))
11393 (file-name (git-file-name name version))
11394 (sha256
11395 (base32
11396 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))
11397 (patches (search-patches "geary-CVE-2020-24661.patch"))))
11398 (build-system meson-build-system)
11399 (arguments
11400 `(#:glib-or-gtk? #t
11401 #:phases (modify-phases %standard-phases
11402 (add-after 'unpack 'disable-failing-tests
11403 (lambda _
11404 (substitute* "test/meson.build"
11405 (("test\\('client-tests', geary_test_client_bin\\)")
11406 ""))
11407 #t))
11408 (add-after 'unpack 'disable-postinstall-script
11409 (lambda _
11410 (substitute* "meson.build"
11411 (("meson.add_install_script\\(\
11412 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11413 ""))
11414 #t))
11415 (add-before 'check 'setup-xvfb
11416 (lambda _
11417 (system "Xvfb :1 &")
11418 (setenv "DISPLAY" ":1")
11419 #t)))))
11420 (inputs
11421 `(("enchant" ,enchant)
11422 ("folks" ,folks)
11423 ("gcr" ,gcr)
11424 ("glib" ,glib)
11425 ("gmime" ,gmime-2.6)
11426 ("gnome-online-accounts:lib"
11427 ,gnome-online-accounts "lib")
11428 ("gspell" ,gspell)
11429 ("gtk+" ,gtk+)
11430 ("iso-codes" ,iso-codes)
11431 ("json-glib" ,json-glib)
11432 ("libcanberra" ,libcanberra)
11433 ("libgee" ,libgee)
11434 ("libhandy" ,libhandy-0.0)
11435 ("libpeas" ,libpeas)
11436 ("libsecret" ,libsecret)
11437 ("libunwind" ,libunwind)
11438 ("sqlite" ,sqlite)
11439 ("webkitgtk" ,webkitgtk)
11440 ("ytnef" ,ytnef)))
11441 (native-inputs
11442 `(("appstream-glib" ,appstream-glib)
11443 ("cmake-minimal" ,cmake-minimal)
11444 ("desktop-file-utils" ,desktop-file-utils)
11445 ("gettext" ,gettext-minimal)
11446 ("glib:bin" ,glib "bin")
11447 ("gobject-introspection" ,gobject-introspection)
11448 ("itstool" ,itstool)
11449 ("libarchive" ,libarchive)
11450 ("libxml2" ,libxml2)
11451 ("pkg-config" ,pkg-config)
11452 ("vala" ,vala)
11453 ("xvfb" ,xorg-server-for-tests)))
11454 (synopsis "GNOME email application built around conversations")
11455 (description
11456 "Geary collects related messages together into conversations,
11457 making it easy to find and follow your discussions. Full-text and keyword
11458 search makes it easy to find the email you are looking for. Geary's
11459 full-featured composer lets you send rich, styled text with images, links, and
11460 lists, but also send lightweight, easy to read text messages. Geary
11461 automatically picks up your existing GNOME Online Accounts, and adding more is
11462 easy. Geary has a clean, fast, modern interface that works like you want it
11463 to.")
11464 (home-page "https://wiki.gnome.org/Apps/Geary")
11465 (license (list
11466 ;; geary
11467 license:lgpl2.1+
11468 ;; icons
11469 license:cc-by3.0
11470 license:cc-by-sa3.0
11471 license:public-domain
11472 ;; snowball
11473 license:bsd-2))))
11474
11475 (define-public glabels
11476 (package
11477 (name "glabels")
11478 (version "3.4.1")
11479 (source
11480 (origin
11481 (method url-fetch)
11482 (uri (string-append "mirror://gnome/sources/" name "/"
11483 (version-major+minor version) "/"
11484 "glabels-" version ".tar.xz"))
11485 (sha256
11486 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11487 (build-system glib-or-gtk-build-system)
11488 (native-inputs
11489 `(("gettext" ,gettext-minimal)
11490 ("glib:bin" ,glib "bin")
11491 ("intltool" ,intltool)
11492 ("itstool" ,itstool)
11493 ("pkg-config" ,pkg-config)))
11494 (inputs
11495 `(("gtk+" ,gtk+)
11496 ("librsvg" ,librsvg)
11497 ("libxml2" ,libxml2)))
11498 (home-page "https://glabels.org/")
11499 (synopsis "Program for creating labels and business cards")
11500 (description
11501 "gLabels is a program for creating labels and business cards. It is
11502 designed to work with various laser/ink-jet peel-off label and business
11503 card sheets that you’ll find at most office supply stores.")
11504 (license license:gpl3+)))
11505
11506 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11507 (define-public gnome-latex
11508 (package
11509 (name "gnome-latex")
11510 (version "3.36.0")
11511 (source
11512 (origin
11513 (method url-fetch)
11514 (uri (string-append "mirror://gnome/sources/" name "/"
11515 (version-major+minor version) "/"
11516 "gnome-latex-" version ".tar.xz"))
11517 (sha256
11518 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11519 (build-system glib-or-gtk-build-system)
11520 (native-inputs
11521 `(("gettext" ,gettext-minimal)
11522 ("glib:bin" ,glib "bin")
11523 ("gobject-introspection" ,gobject-introspection)
11524 ("gtk-doc" ,gtk-doc/stable)
11525 ("intltool" ,intltool)
11526 ("itstool" ,itstool)
11527 ("pkg-config" ,pkg-config)
11528 ("vala" ,vala)))
11529 (inputs
11530 `(("amtk" ,amtk)
11531 ("dconf" ,dconf)
11532 ("glib" ,glib)
11533 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11534 ("gspell" ,gspell)
11535 ("gtk+" ,gtk+)
11536 ("gtksourceview" ,gtksourceview)
11537 ("libgee" ,libgee)
11538 ("tepl" ,tepl)
11539 ("uchardet" ,uchardet)))
11540 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11541 (synopsis "LaTeX editor for the GNOME desktop")
11542 (description
11543 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11544 such as build tools, completion of LaTeX commands, structure navigation,
11545 symbol tables, document templates, project management, spell-checking, menus
11546 and toolbars.")
11547 (license license:gpl3+)))
11548
11549 (define-public setzer
11550 (package
11551 (name "setzer")
11552 (version "0.4.1")
11553 (source
11554 (origin
11555 (method git-fetch)
11556 (uri (git-reference
11557 (url "https://github.com/cvfosammmm/Setzer")
11558 (commit (string-append "v" version))))
11559 (file-name (git-file-name name version))
11560 (sha256
11561 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11562 (build-system meson-build-system)
11563 (arguments
11564 `(#:glib-or-gtk? #t
11565 #:phases
11566 (modify-phases %standard-phases
11567 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11568 (lambda* (#:key outputs #:allow-other-keys)
11569 (let ((prog (string-append (assoc-ref outputs "out")
11570 "/bin/setzer"))
11571 (pylib (string-append (assoc-ref outputs "out")
11572 "/lib/python"
11573 ,(version-major+minor
11574 (package-version python))
11575 "/site-packages")))
11576 (wrap-program prog
11577 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11578 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11579 #t))))))
11580 (native-inputs
11581 `(("desktop-file-utils" ,desktop-file-utils)
11582 ("gettext" ,gettext-minimal)
11583 ("glib:bin" ,glib "bin")
11584 ("gobject-introspection" ,gobject-introspection)
11585 ("gtk+:bin" ,gtk+ "bin")))
11586 (inputs
11587 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11588 ("gspell" ,gspell)
11589 ("gtk+" ,gtk+)
11590 ("gtksourceview" ,gtksourceview)
11591 ("pango" ,pango)
11592 ("poppler" ,poppler)
11593 ("python-pdfminer" ,python-pdfminer-six)
11594 ("python-pycairo" ,python-pycairo)
11595 ("python-pygobject" ,python-pygobject)
11596 ("python-pyxdg" ,python-pyxdg)
11597 ("webkitgtk" ,webkitgtk)
11598 ("xdg-utils" ,xdg-utils)))
11599 (home-page "https://www.cvfosammmm.org/setzer/")
11600 (synopsis "LaTeX editor written in Python with GTK+")
11601 (description
11602 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11603 GTK+. It integrates well with the GNOME desktop environment.")
11604 (license license:gpl3+)))
11605
11606 (define-public libratbag
11607 (package
11608 (name "libratbag")
11609 (version "0.14")
11610 (source
11611 (origin
11612 (method git-fetch)
11613 (uri (git-reference
11614 (url "https://github.com/libratbag/libratbag")
11615 (commit (string-append "v" version))))
11616 (file-name (git-file-name name version))
11617 (sha256
11618 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11619 (build-system meson-build-system)
11620 (arguments
11621 `(#:configure-flags
11622 (list "-Dsystemd=false"
11623 "-Dlogind-provider=elogind")
11624 #:phases
11625 (modify-phases %standard-phases
11626 (add-after 'install 'wrap
11627 (lambda* (#:key inputs outputs #:allow-other-keys)
11628 (let* ((out (assoc-ref outputs "out"))
11629 (site (string-append
11630 "/lib/python"
11631 ,(version-major+minor (package-version python))
11632 "/site-packages"))
11633 (evdev (string-append
11634 (assoc-ref inputs "python-evdev") site))
11635 (pygo (string-append
11636 (assoc-ref inputs "python-pygobject") site))
11637 (python-wrap
11638 `("PYTHONPATH" = (,evdev ,pygo))))
11639 (wrap-program (string-append out "/bin/" "ratbagctl")
11640 python-wrap)
11641 #t))))))
11642 (native-inputs
11643 `(("check" ,check)
11644 ("pkg-config" ,pkg-config)
11645 ("swig" ,swig)
11646 ("valgrind" ,valgrind)))
11647 (inputs
11648 `(("glib" ,glib)
11649 ("json-glib" ,json-glib)
11650 ("libevdev" ,libevdev)
11651 ("libsystemd" ,elogind)
11652 ("libunistring" ,libunistring)
11653 ("python-evdev" ,python-evdev)
11654 ("python-pygobject" ,python-pygobject)
11655 ("udev" ,eudev)))
11656 (home-page "https://github.com/libratbag/libratbag")
11657 (synopsis "DBus daemon and utility for configuring gaming mice")
11658 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11659 configure input devices, mainly gaming mice. The daemon provides a generic
11660 way to access the various features exposed by these mice and abstracts away
11661 hardware-specific and kernel-specific quirks. There is also the
11662 @command{ratbagctl} command line interface for configuring devices.
11663
11664 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11665 Steelseries.
11666
11667 The ratbagd DBus service can be enabled by adding the following service to
11668 your operating-system definition:
11669
11670 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11671 (license license:expat)))
11672
11673 (define-public piper
11674 (package
11675 (name "piper")
11676 (version "0.5.1")
11677 (source
11678 (origin
11679 (method git-fetch)
11680 (uri (git-reference
11681 (url "https://github.com/libratbag/piper")
11682 (commit version)))
11683 (sha256
11684 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11685 (file-name (git-file-name name version))))
11686 (build-system meson-build-system)
11687 (native-inputs
11688 `(("gettext" ,gettext-minimal)
11689 ("glib:bin" ,glib "bin")
11690 ("gobject-introspection" ,gobject-introspection)
11691 ("pkg-config" ,pkg-config)
11692 ("python-flake8" ,python-flake8)))
11693 (inputs
11694 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11695 ("gtk" ,gtk+)
11696 ("gtk:bin" ,gtk+ "bin")
11697 ("librsvg" ,librsvg)
11698 ("python-evdev" ,python-evdev)
11699 ("python-lxml" ,python-lxml)
11700 ("python-pycairo" ,python-pycairo)
11701 ("python-pygobject" ,python-pygobject)))
11702 (arguments
11703 `(#:imported-modules ((guix build python-build-system)
11704 ,@%meson-build-system-modules)
11705 #:modules (((guix build python-build-system) #:prefix python:)
11706 (guix build meson-build-system)
11707 (guix build utils))
11708 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11709 #:phases
11710 (modify-phases %standard-phases
11711 (add-after 'unpack 'dont-update-gtk-icon-cache
11712 (lambda _
11713 (substitute* "meson.build"
11714 (("meson.add_install_script('meson_install.sh')") ""))
11715 #t))
11716 ;; TODO: Switch to wrap-script when it is fixed.
11717 (add-after 'install 'wrap-python
11718 (assoc-ref python:%standard-phases 'wrap))
11719 (add-after 'wrap-python 'wrap
11720 (lambda* (#:key outputs #:allow-other-keys)
11721 (wrap-program
11722 (string-append (assoc-ref outputs "out" )"/bin/piper")
11723 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11724 #t)))))
11725 (home-page "https://github.com/libratbag/piper/")
11726 (synopsis "Configure bindings and LEDs on gaming mice")
11727 (description "Piper is a GTK+ application for configuring gaming mice with
11728 onboard configuration for key bindings via libratbag. Piper requires
11729 a @command{ratbagd} daemon running with root privileges. It can be run
11730 manually as root, but is preferably configured as a DBus service that can
11731 launch on demand. This can be configured by enabling the following service,
11732 provided there is a DBus service present:
11733
11734 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11735 (license license:gpl2)))
11736
11737 (define-public parlatype
11738 (package
11739 (name "parlatype")
11740 (version "2.1")
11741 (source
11742 (origin
11743 (method git-fetch)
11744 (uri (git-reference
11745 (url "https://github.com/gkarsay/parlatype")
11746 (commit (string-append "v" version))))
11747 (file-name (git-file-name name version))
11748 (sha256
11749 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11750 (build-system meson-build-system)
11751 (arguments
11752 `(#:glib-or-gtk? #t
11753 #:tests? #f ;require internet access
11754 #:phases
11755 (modify-phases %standard-phases
11756 (add-after 'install 'wrap-parlatype
11757 ;; Add gstreamer plugin provided in this package to system's
11758 ;; plugins.
11759 (lambda* (#:key outputs #:allow-other-keys)
11760 (let* ((out (assoc-ref outputs "out"))
11761 (gst-plugin-path (string-append
11762 out "/lib/gstreamer-1.0/"
11763 ":"
11764 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11765 (wrap-program (string-append out "/bin/parlatype")
11766 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11767 #t)))))
11768 (native-inputs
11769 `(("appstream-glib" ,appstream-glib)
11770 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11771 ("gettext" ,gettext-minimal)
11772 ("glib" ,glib "bin") ;for glib-compile-resources
11773 ("pkg-config" ,pkg-config)
11774 ("yelp-tools" ,yelp-tools)))
11775 (inputs
11776 `(("gst-plugins-base" ,gst-plugins-base)
11777 ("gst-plugins-good" ,gst-plugins-good)
11778 ("gstreamer" ,gstreamer)
11779 ("gtk+" ,gtk+)
11780 ("pocketsphinx" ,pocketsphinx)
11781 ("pulseaudio" ,pulseaudio)
11782 ("sphinxbase" ,sphinxbase)))
11783 (home-page "http://gkarsay.github.io/parlatype/")
11784 (synopsis "GNOME audio player for transcription")
11785 (description "Parlatype is an audio player for the GNOME desktop
11786 environment. Its main purpose is the manual transcription of spoken
11787 audio files.")
11788 (license license:gpl3+)))
11789
11790 (define-public jsonrpc-glib
11791 (package
11792 (name "jsonrpc-glib")
11793 (version "3.34.0")
11794 (source (origin
11795 (method url-fetch)
11796 (uri (string-append "mirror://gnome/sources/" name "/"
11797 (version-major+minor version) "/"
11798 name "-" version ".tar.xz"))
11799 (sha256
11800 (base32
11801 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11802 (build-system meson-build-system)
11803 (inputs
11804 `(("json-glib" ,json-glib)
11805 ("glib" ,glib)))
11806 (native-inputs
11807 `(("pkg-config" ,pkg-config)
11808 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11809 ("gobject-introspection" ,gobject-introspection)
11810 ("vala" ,vala)))
11811 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11812 (synopsis "JSON-RPC library for GLib")
11813 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11814 peers in either a synchronous or asynchronous fashion. It also allows
11815 communicating using the GVariant serialization format instead of JSON when
11816 both peers support it. You might want that when communicating on a single
11817 host to avoid parser overhead and memory-allocator fragmentation.")
11818 (license license:lgpl2.1+)))
11819
11820 (define-public feedbackd
11821 (package
11822 (name "feedbackd")
11823 (version "0.0.0+git20200527")
11824 (source (origin
11825 (method git-fetch)
11826 (uri (git-reference
11827 (url "https://source.puri.sm/Librem5/feedbackd.git")
11828 (commit (string-append "v" version))))
11829 (file-name (git-file-name name version))
11830 (sha256
11831 (base32
11832 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11833 (build-system meson-build-system)
11834 (native-inputs
11835 `(("glib:bin" ,glib "bin")
11836 ("gobject-introspection" ,gobject-introspection)
11837 ("pkg-config" ,pkg-config)
11838 ("vala" ,vala)))
11839 (inputs
11840 `(("dbus" ,dbus)
11841 ("gsound" ,gsound)
11842 ("json-glib" ,json-glib)
11843 ("libgudev" ,libgudev)))
11844 (propagated-inputs
11845 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11846 (synopsis "Haptic/visual/audio feedback via DBus")
11847 (description "Feedbackd provides a DBus daemon to act on events to provide
11848 haptic, visual and audio feedback. It offers the libfeedbackd library and
11849 GObject introspection bindings.")
11850 (home-page "https://source.puri.sm/Librem5/feedbackd")
11851 (license (list license:lgpl2.1+ ; libfeedbackd
11852 license:lgpl3+)))) ; the rest
11853
11854 (define-public sysprof
11855 (package
11856 (name "sysprof")
11857 (version "3.36.0")
11858 (source
11859 (origin
11860 (method url-fetch)
11861 (uri (string-append "mirror://gnome/sources/sysprof/"
11862 (version-major+minor version) "/"
11863 "sysprof-" version ".tar.xz"))
11864 (sha256
11865 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11866 (build-system meson-build-system)
11867 (arguments
11868 `(#:configure-flags
11869 (list (string-append "-Dsystemdunitdir="
11870 %output
11871 "/share/systemd"))
11872 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11873 #:phases
11874 (modify-phases %standard-phases
11875 (add-after 'unpack 'patch-install-script
11876 (lambda _
11877 (substitute* "build-aux/meson/post_install.sh"
11878 (("gtk-update-icon-cache") "true")
11879 (("update-desktop-database") "true"))
11880 #t)))))
11881 (inputs
11882 `(("glib" ,glib)
11883 ("gtk+" ,gtk+)
11884 ("libdazzle" ,libdazzle)
11885 ("polkit" ,polkit)))
11886 (native-inputs
11887 `(("gettext" ,gettext-minimal)
11888 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11889 ("itstool" ,itstool)
11890 ("pkg-config" ,pkg-config)
11891 ("xmllint" ,libxml2)))
11892 ;; This home page is so woefully out of date as to be essentially useless.
11893 ;; (home-page "http://www.sysprof.com")
11894 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11895 (synopsis "System-wide performance profiler for GNU/Linux")
11896 (description
11897 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11898 GNU/Linux system including the kernel and all user-space applications. This
11899 helps find the function(s) in which a program spends most of its time.
11900
11901 It uses the kernel's built-in @code{ptrace} feature and handles shared
11902 libraries. Applications do not need to be recompiled--or even restarted.")
11903 (license license:gpl3+)))
11904
11905 (define-public gnome-builder
11906 (package
11907 (name "gnome-builder")
11908 (version "3.36.1")
11909 (source (origin
11910 (method url-fetch)
11911 (uri (string-append "mirror://gnome/sources/" name "/"
11912 (version-major+minor version) "/"
11913 name "-" version ".tar.xz"))
11914 (sha256
11915 (base32
11916 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11917 (build-system meson-build-system)
11918 (arguments
11919 `(#:configure-flags (list "-Dnetwork_tests=false"
11920 ;; TODO: Enable all plugins...
11921 "-Dplugin_clang=false"
11922 "-Dplugin_flatpak=false"
11923 "-Dplugin_glade=false"
11924 ;; XXX: This one has been shown not to work in
11925 ;; <https://issues.guix.gnu.org/45272>
11926 "-Dplugin_jedi=false"
11927 ;; ... except this one.
11928 "-Dplugin_update_manager=false")
11929 #:phases
11930 (modify-phases %standard-phases
11931 (add-after 'unpack 'patch-meson
11932 (lambda* (#:key inputs #:allow-other-keys)
11933 (substitute* "build-aux/meson/post_install.py"
11934 (("gtk-update-icon-cache") "true")
11935 (("update-desktop-database") "true"))
11936 (substitute* "src/libide/meson.build"
11937 (("/usr/lib")
11938 (string-append (assoc-ref inputs "python-pygobject")
11939 "/lib")))
11940 #t))
11941 (add-after 'configure 'fix-ninja
11942 (lambda _
11943 ;; #43296: meson(?) incorrectly assumes we want to link
11944 ;; this PIE against a static libselinux.
11945 (substitute* "build.ninja"
11946 (("libselinux\\.a") "libselinux.so"))
11947 #t))
11948 (add-before 'check 'pre-check
11949 (lambda _
11950 (system "Xvfb :1 &")
11951 (setenv "DISPLAY" ":1")
11952 #t)))))
11953 (inputs
11954 `(("devhelp" ,devhelp)
11955 ("gspell" ,gspell)
11956 ("gtk+" ,gtk+)
11957 ("json-glib" ,json-glib)
11958 ("jsonrpc-glib" ,jsonrpc-glib)
11959 ("libdazzle" ,libdazzle)
11960 ("libgit2-glib" ,libgit2-glib)
11961 ("libpeas" ,libpeas)
11962 ("python-pygobject" ,python-pygobject)
11963 ("sysprof" ,sysprof)
11964 ("template-glib" ,template-glib)
11965 ("vte" ,vte)
11966 ("webkitgtk" ,webkitgtk)))
11967 (propagated-inputs
11968 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11969 (native-inputs
11970 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11971 ("glib:bin" ,glib "bin")
11972 ("gettext" ,gettext-minimal)
11973 ("pkg-config" ,pkg-config)
11974 ("vala" ,vala)
11975 ("xorg-server" ,xorg-server-for-tests)))
11976 (home-page "https://wiki.gnome.org/Apps/Builder")
11977 (synopsis "Toolsmith for GNOME-based applications")
11978 (description "Builder aims to be an integrated development
11979 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11980 auto-completion, a mini code map, documentation browsing, Git integration, an
11981 integrated profiler via Sysprof, debugging support, and more.")
11982 (license license:gpl3+)))
11983
11984 (define-public komikku
11985 (package
11986 (name "komikku")
11987 (version "0.27.0")
11988 (source
11989 (origin
11990 (method git-fetch)
11991 (uri (git-reference
11992 (url "https://gitlab.com/valos/Komikku/")
11993 (commit (string-append "v" version))))
11994 (file-name (git-file-name name version))
11995 (sha256
11996 (base32
11997 "0mj4bsy7jp9wjj1dqz9zdq5aj0ib813wkz5k1481k80jp9dnlqnv"))))
11998 (build-system meson-build-system)
11999 (arguments
12000 `(#:glib-or-gtk? #t
12001 #:phases
12002 (modify-phases %standard-phases
12003 (add-after 'unpack 'patch-sources
12004 (lambda _
12005 (substitute* "komikku/utils.py"
12006 (("from komikku\\.servers import get_servers_list")
12007 ;; code following that line should migrate old databases
12008 ;; but the line itself results in an import error
12009 "return data_dir_path"))))
12010 (add-after 'unpack 'skip-gtk-update-icon-cache
12011 (lambda _
12012 (substitute* "meson_post_install.py"
12013 (("gtk-update-icon-cache") (which "true")))
12014 #t))
12015 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12016 (lambda* (#:key outputs #:allow-other-keys)
12017 (let ((prog (string-append (assoc-ref outputs "out")
12018 "/bin/komikku")))
12019 (wrap-program prog
12020 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
12021 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12022 #t))))))
12023 (inputs
12024 `(("gtk+" ,gtk+)
12025 ("libhandy" ,libhandy)
12026 ("libnotify" ,libnotify)
12027 ("libsecret" ,libsecret)
12028 ("python-beautifulsoup4" ,python-beautifulsoup4)
12029 ("python-brotli" ,python-brotli)
12030 ("python-dateparser" ,python-dateparser)
12031 ("python-keyring" ,python-keyring)
12032 ("python-lxml" ,python-lxml)
12033 ("python-magic" ,python-magic)
12034 ("python-pillow" ,python-pillow)
12035 ("python-pure-protobuf" ,python-pure-protobuf)
12036 ("python-pycairo" ,python-pycairo)
12037 ("python-pygobject" ,python-pygobject)
12038 ("python-requests" ,python-requests)
12039 ("python-unidecode" ,python-unidecode)
12040 ("webkitgtk" ,webkitgtk)))
12041 (native-inputs
12042 `(("desktop-file-utils" ,desktop-file-utils)
12043 ("gettext" ,gettext-minimal)
12044 ("glib:bin" ,glib "bin")
12045 ("gobject-introspection" ,gobject-introspection)
12046 ("pkg-config" ,pkg-config)))
12047 (home-page "https://gitlab.com/valos/Komikku")
12048 (synopsis "Manga reader for GNOME")
12049 (description "Komikku is an online/offline manga reader for GNOME,
12050 developed with the aim of being used with the Librem 5 phone.")
12051 (license license:gpl3+)))
12052
12053 (define-public libgda
12054 (package
12055 (name "libgda")
12056 (version "5.2.10")
12057 (source
12058 (origin
12059 (method git-fetch)
12060 (uri (git-reference
12061 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12062 (commit (string-append "LIBGDA_" (string-replace-substring
12063 version "." "_")))))
12064 (file-name (git-file-name name version))
12065 (sha256
12066 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12067 (build-system gnu-build-system)
12068 (arguments
12069 `(#:configure-flags '("--enable-vala")
12070 ;; There's a race between check_cnc_lock and check_threaded_cnc
12071 ;; in tests/multi-threading.
12072 #:parallel-tests? #f
12073 #:phases
12074 (modify-phases %standard-phases
12075 (add-after 'unpack 'fix-glade-install
12076 (lambda _
12077 (substitute* "configure.ac"
12078 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12079 "${datadir}/glade/catalogs")
12080 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12081 "${datadir}/glade/pixmaps"))
12082 #t))
12083 (add-before 'check 'pre-check
12084 (lambda* (#:key inputs #:allow-other-keys)
12085 ;; Tests require a running X server.
12086 (system "Xvfb :1 &")
12087 (setenv "DISPLAY" ":1")
12088 #t))
12089 (add-after 'install 'symlink-glade-module
12090 (lambda* (#:key outputs #:allow-other-keys)
12091 (let* ((shlib "libgda-ui-5.0.so")
12092 (out (assoc-ref outputs "out"))
12093 (out/lib (string-append out "/lib"))
12094 (moduledir (string-append out/lib "/glade/modules")))
12095 (mkdir-p moduledir)
12096 (symlink (string-append out/lib "/" shlib)
12097 (string-append moduledir "/" shlib))
12098 #t))))))
12099 (propagated-inputs
12100 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12101 (inputs
12102 `(("glib" ,glib)
12103 ("glade" ,glade3)
12104 ("gtk+" ,gtk+)
12105 ("libsecret" ,libsecret)
12106 ("libxslt" ,libxslt)
12107 ("openssl" ,openssl)
12108 ("vala" ,vala)))
12109 (native-inputs
12110 `(("autoconf" ,autoconf)
12111 ("autoconf-archive" ,autoconf-archive)
12112 ("automake" ,automake)
12113 ("glib:bin" ,glib "bin")
12114 ("gnome-common" ,gnome-common)
12115 ("gobject-introspection" ,gobject-introspection)
12116 ("gtk-doc" ,gtk-doc/stable)
12117 ("intltool" ,intltool)
12118 ("libtool" ,libtool)
12119 ("pkg-config" ,pkg-config)
12120 ("vala" ,vala)
12121 ("which" ,which)
12122 ("xorg-server" ,xorg-server-for-tests)
12123 ("yelp-tools" ,yelp-tools)))
12124 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12125 (synopsis "Uniform data access")
12126 (description
12127 "GNU Data Access (GDA) is an attempt to provide uniform access to
12128 different kinds of data sources (databases, information servers, mail spools,
12129 etc). It is a complete architecture that provides all you need to access
12130 your data.")
12131 (license license:lgpl2.1+)))
12132
12133 (define-public gtranslator
12134 (package
12135 (name "gtranslator")
12136 (version "3.36.0")
12137 (source (origin
12138 (method url-fetch)
12139 (uri (string-append "mirror://gnome/sources/" name "/"
12140 (version-major+minor version) "/"
12141 name "-" version ".tar.xz"))
12142 (sha256
12143 (base32
12144 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12145 (build-system meson-build-system)
12146 (inputs
12147 `(("json-glib" ,json-glib)
12148 ("jsonrpc-glib" ,jsonrpc-glib)
12149 ("gettext" ,gettext-minimal)
12150 ("glib" ,glib)
12151 ("gtk+" ,gtk+)
12152 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12153 ("gspell" ,gspell)
12154 ("libdazzle" ,libdazzle)
12155 ("libgda" ,libgda)
12156 ("libsoup" ,libsoup)))
12157 (native-inputs
12158 `(("glib:bin" ,glib "bin")
12159 ("itstool" ,itstool)
12160 ("pkg-config" ,pkg-config)))
12161 (propagated-inputs
12162 `(("gtksourceview" ,gtksourceview))) ; required for source view
12163 (arguments
12164 `(#:build-type "release"
12165 #:glib-or-gtk? #t
12166 #:phases
12167 (modify-phases %standard-phases
12168 (add-after 'unpack 'skip-gtk-update-icon-cache
12169 (lambda _
12170 (substitute* "build-aux/meson/meson_post_install.py"
12171 (("gtk-update-icon-cache") (which "true")))
12172 #t)))))
12173 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12174 (synopsis "Translation making program")
12175 (description
12176 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12177 for the GNOME 3.x platform with many features. It aims to be a very complete
12178 editing environment for translation issues within the GNU gettext/GNOME desktop
12179 world.")
12180 (license license:gpl3+)))
12181
12182
12183 (define-public ocrfeeder
12184 (package
12185 (name "ocrfeeder")
12186 (version "0.8.3")
12187 (source (origin
12188 (method url-fetch)
12189 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12190 (version-major+minor version) "/"
12191 "ocrfeeder-" version ".tar.xz"))
12192 (sha256
12193 (base32
12194 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12195 (build-system gnu-build-system)
12196 (arguments
12197 `(#:phases
12198 (modify-phases %standard-phases
12199 (add-after
12200 'install 'wrap-program
12201 (lambda* (#:key outputs #:allow-other-keys)
12202 (let ((prog (string-append (assoc-ref outputs "out")
12203 "/bin/" "ocrfeeder"))
12204 (pylib (string-append (assoc-ref outputs "out")
12205 "/lib/python"
12206 ,(version-major+minor
12207 (package-version python))
12208 "/site-packages")))
12209 (wrap-program prog
12210 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
12211 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12212 #t))))))
12213 (native-inputs
12214 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12215 ("gobject-introspection" ,gobject-introspection)
12216 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12217 ("intltool" ,intltool)
12218 ("itstool" ,itstool)
12219 ("pkg-config" ,pkg-config)
12220 ("xmllint" ,libxml2)))
12221 (inputs
12222 `(("enchant" ,enchant)
12223 ("glib" ,glib)
12224 ("goocanvas" ,goocanvas)
12225 ("gtk" ,gtk+)
12226 ("gtkspell3" ,gtkspell3)
12227 ("libjpeg" ,libjpeg-turbo)
12228 ("libtiff" ,libtiff)
12229 ("libraw" ,libraw)
12230 ("ocrad" ,ocrad)
12231 ("python" ,python-wrapper)
12232 ("python-pygobject" ,python-pygobject)
12233 ("python-odfpy" ,python-odfpy)
12234 ("python-pillow" ,python-pillow)
12235 ("python-pyenchant" ,python-pyenchant)
12236 ("python-reportlab" ,python-reportlab)
12237 ("python-sane" ,python-sane)
12238 ("sane-backends" ,sane-backends)
12239 ("tesseract-ocr" ,tesseract-ocr)))
12240 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12241 (synopsis "Complete OCR Suite")
12242 (description "OCRFeeder is a complete Optical Character Recognition and
12243 Document Analysis and Recognition program.")
12244 (license license:gpl3+)))