1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016, 2020 Eric Bavier <bavier@posteo.net>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018, 2021 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017, 2020 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019, 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020, 2021 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
58 ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
59 ;;; Copyright © 2020, 2021 Andy Tai <atai@atai.org>
60 ;;; Copyright © 2020, 2021 Sébastien Lerique <sl@eauchat.org>
61 ;;; Copyright © 2021 Trevor Hass <thass@okstate.edu>
62 ;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
64 ;;; This file is part of GNU Guix.
66 ;;; GNU Guix is free software; you can redistribute it and/or modify it
67 ;;; under the terms of the GNU General Public License as published by
68 ;;; the Free Software Foundation; either version 3 of the License, or (at
69 ;;; your option) any later version.
71 ;;; GNU Guix is distributed in the hope that it will be useful, but
72 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
73 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74 ;;; GNU General Public License for more details.
76 ;;; You should have received a copy of the GNU General Public License
77 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
79 (define-module (gnu packages gnome)
80 #:use-module (gnu packages)
81 #:use-module (gnu packages admin)
82 #:use-module (gnu packages aidc)
83 #:use-module (gnu packages aspell)
84 #:use-module (gnu packages autotools)
85 #:use-module (gnu packages avahi)
86 #:use-module (gnu packages backup)
87 #:use-module (gnu packages base)
88 #:use-module (gnu packages bash)
89 #:use-module (gnu packages bison)
90 #:use-module (gnu packages boost)
91 #:use-module (gnu packages build-tools)
92 #:use-module (gnu packages calendar)
93 #:use-module (gnu packages cdrom)
94 #:use-module (gnu packages check)
95 #:use-module (gnu packages cmake)
96 #:use-module (gnu packages compression)
97 #:use-module (gnu packages crates-io)
98 #:use-module (gnu packages crates-graphics)
99 #:use-module (gnu packages crates-gtk)
100 #:use-module (gnu packages cups)
101 #:use-module (gnu packages curl)
102 #:use-module (gnu packages cyrus-sasl)
103 #:use-module (gnu packages databases)
104 #:use-module (gnu packages dbm)
105 #:use-module (gnu packages djvu)
106 #:use-module (gnu packages dns)
107 #:use-module (gnu packages docbook)
108 #:use-module (gnu packages documentation)
109 #:use-module (gnu packages enchant)
110 #:use-module (gnu packages flex)
111 #:use-module (gnu packages fonts)
112 #:use-module (gnu packages file-systems)
113 #:use-module (gnu packages fontutils)
114 #:use-module (gnu packages freedesktop)
115 #:use-module (gnu packages game-development)
116 #:use-module (gnu packages gcc)
117 #:use-module (gnu packages gettext)
118 #:use-module (gnu packages ghostscript)
119 #:use-module (gnu packages gimp)
120 #:use-module (gnu packages gl)
121 #:use-module (gnu packages glib)
122 #:use-module (gnu packages gnupg)
123 #:use-module (gnu packages gnuzilla)
124 #:use-module (gnu packages geo)
125 #:use-module (gnu packages gperf)
126 #:use-module (gnu packages graphviz)
127 #:use-module (gnu packages gstreamer)
128 #:use-module (gnu packages gtk)
129 #:use-module (gnu packages guile)
130 #:use-module (gnu packages ibus)
131 #:use-module (gnu packages icu4c)
132 #:use-module (gnu packages image)
133 #:use-module (gnu packages imagemagick)
134 #:use-module (gnu packages inkscape)
135 #:use-module (gnu packages iso-codes)
136 #:use-module (gnu packages kerberos)
137 #:use-module (gnu packages libcanberra)
138 #:use-module (gnu packages libffi)
139 #:use-module (gnu packages libunistring)
140 #:use-module (gnu packages libunwind)
141 #:use-module (gnu packages libusb)
142 #:use-module (gnu packages linux)
143 #:use-module (gnu packages lirc)
144 #:use-module (gnu packages lua)
145 #:use-module (gnu packages mail)
146 #:use-module (gnu packages mp3)
147 #:use-module (gnu packages multiprecision)
148 #:use-module (gnu packages music)
149 #:use-module (gnu packages ncurses)
150 #:use-module (gnu packages nettle)
151 #:use-module (gnu packages networking)
152 #:use-module (gnu packages ninja)
153 #:use-module (gnu packages node)
154 #:use-module (gnu packages nss)
155 #:use-module (gnu packages ocr)
156 #:use-module (gnu packages openldap)
157 #:use-module (gnu packages package-management)
158 #:use-module (gnu packages password-utils)
159 #:use-module (gnu packages pcre)
160 #:use-module (gnu packages pdf)
161 #:use-module (gnu packages perl)
162 #:use-module (gnu packages photo)
163 #:use-module (gnu packages php)
164 #:use-module (gnu packages pkg-config)
165 #:use-module (gnu packages polkit)
166 #:use-module (gnu packages popt)
167 #:use-module (gnu packages pretty-print)
168 #:use-module (gnu packages protobuf)
169 #:use-module (gnu packages pulseaudio)
170 #:use-module (gnu packages python)
171 #:use-module (gnu packages python-compression)
172 #:use-module (gnu packages python-crypto)
173 #:use-module (gnu packages python-web)
174 #:use-module (gnu packages python-xyz)
175 #:use-module (gnu packages rdesktop)
176 #:use-module (gnu packages rdf)
177 #:use-module (gnu packages readline)
178 #:use-module (gnu packages ruby)
179 #:use-module (gnu packages rust)
180 #:use-module (gnu packages samba)
181 #:use-module (gnu packages scanner)
182 #:use-module (gnu packages sdl)
183 #:use-module (gnu packages search)
184 #:use-module (gnu packages selinux)
185 #:use-module (gnu packages slang)
186 #:use-module (gnu packages speech)
187 #:use-module (gnu packages spice)
188 #:use-module (gnu packages sqlite)
189 #:use-module (gnu packages ssh)
190 #:use-module (gnu packages swig)
191 #:use-module (gnu packages tex)
192 #:use-module (gnu packages time)
193 #:use-module (gnu packages tls)
194 #:use-module (gnu packages valgrind)
195 #:use-module (gnu packages version-control)
196 #:use-module (gnu packages video)
197 #:use-module (gnu packages virtualization)
198 #:use-module (gnu packages vpn)
199 #:use-module (gnu packages web)
200 #:use-module (gnu packages webkit)
201 #:use-module (gnu packages xdisorg)
202 #:use-module (gnu packages xiph)
203 #:use-module (gnu packages xml)
204 #:use-module (gnu packages xorg)
205 #:use-module (gnu artwork)
206 #:use-module (guix build-system cargo)
207 #:use-module (guix build-system cmake)
208 #:use-module (guix build-system glib-or-gtk)
209 #:use-module (guix build-system gnu)
210 #:use-module (guix build-system meson)
211 #:use-module (guix build-system python)
212 #:use-module (guix build-system trivial)
213 #:use-module (guix download)
214 #:use-module (guix git-download)
215 #:use-module ((guix licenses) #:prefix license:)
216 #:use-module (guix packages)
217 #:use-module (guix utils)
218 #:use-module (guix gexp)
219 #:use-module (ice-9 match)
220 #:use-module (srfi srfi-1))
222 (define-public gupnp-igd
230 (string-append "mirror://gnome/sources/" name "/"
231 (version-major+minor version) "/"
232 name "-" version ".tar.xz"))
234 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
235 (build-system meson-build-system)
236 (outputs '("out" "doc"))
238 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
239 #:configure-flags (list "-Dgtk_doc=true")
241 (modify-phases %standard-phases
242 (add-after 'unpack 'patch-docbook-xml
243 (lambda* (#:key inputs #:allow-other-keys)
244 (with-directory-excursion "doc"
245 (substitute* "gupnp-igd-docs.xml"
246 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
247 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
248 "/xml/dtd/docbook/"))))
250 (add-after 'install 'move-doc
251 (lambda* (#:key outputs #:allow-other-keys)
252 (let* ((out (assoc-ref outputs "out"))
253 (doc (assoc-ref outputs "doc")))
254 (mkdir-p (string-append doc "/share"))
256 (string-append out "/share/gtk-doc")
257 (string-append doc "/share/gtk-doc"))
260 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
261 ("docbook-xsl" ,docbook-xsl)
262 ("glib:bin" ,glib "bin")
263 ("gobject-introspection" ,gobject-introspection)
264 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
265 ("gtk-doc" ,gtk-doc/stable)
266 ("pkg-config" ,pkg-config)))
269 ("glib-networking" ,glib-networking)
272 ("libsoup" ,libsoup)))
273 (synopsis "UPnP IGD for GNOME")
274 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
275 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
276 (license license:lgpl2.1+)))
278 (define-public brasero
284 (uri (string-append "mirror://gnome/sources/brasero/"
285 (version-major+minor version) "/"
286 "brasero-" version ".tar.xz"))
289 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
290 (build-system glib-or-gtk-build-system)
292 `(#:configure-flags (list
293 (string-append "--with-girdir="
294 (assoc-ref %outputs "out")
296 (string-append "--with-typelibdir="
297 (assoc-ref %outputs "out")
298 "/lib/girepository-1.0"))
300 (modify-phases %standard-phases
301 (add-before 'configure 'embed-growisofs
302 (lambda* (#:key inputs #:allow-other-keys)
303 (substitute* "plugins/growisofs/burn-growisofs.c"
304 (("\"growisofs") (string-append "\"" (which "growisofs"))))
307 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
309 `(("intltool" ,intltool)
311 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
312 ("gobject-introspection" ,gobject-introspection)
313 ("pkg-config" ,pkg-config)))
315 `(("dvd+rw-tools" ,dvd+rw-tools)
317 ("gnome-doc-utils" ,gnome-doc-utils)
318 ("gstreamer" ,gstreamer)
319 ("gst-plugins-base" ,gst-plugins-base)
321 ("libcanberra" ,libcanberra)
323 ("libnotify" ,libnotify)
326 ("totem-pl-parser" ,totem-pl-parser)))
327 (home-page "https://wiki.gnome.org/Apps/Brasero")
328 (synopsis "CD/DVD burning tool for Gnome")
329 (description "Brasero is an application to burn CD/DVD for the Gnome
330 Desktop. It is designed to be as simple as possible and has some unique
331 features to enable users to create their discs easily and quickly.")
332 (license license:gpl2+)))
334 (define-public libcloudproviders
336 (name "libcloudproviders")
342 (string-append "mirror://gnome/sources/" name "/"
343 (version-major+minor version) "/"
344 name "-" version ".tar.xz"))
346 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
347 (build-system meson-build-system)
348 (outputs '("out" "doc"))
350 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
353 "-Denable-gtk-doc=true")
355 (modify-phases %standard-phases
356 (add-after 'install 'move-doc
357 (lambda* (#:key outputs #:allow-other-keys)
358 (let* ((out (assoc-ref outputs "out"))
359 (doc (assoc-ref outputs "doc")))
360 (mkdir-p (string-append doc "/share"))
362 (string-append out "/share/gtk-doc")
363 (string-append doc "/share/gtk-doc"))
366 `(("glib:bin" ,glib "bin")
367 ("gobject-introspection" ,gobject-introspection)
368 ("gtk-doc" ,gtk-doc/stable)
369 ("pkg-config" ,pkg-config)
373 ("glib-networking" ,glib-networking)))
374 (synopsis "Cloudproviders Integration API")
375 (description "Libcloudproviders is a DBus API that allows cloud storage sync
376 clients to expose their services. Clients such as file managers and desktop
377 environments can then provide integrated access to the cloud providers
379 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
380 (license license:lgpl3+)))
382 (define-public libgrss
390 (string-append "mirror://gnome/sources/" name "/"
391 (version-major+minor version) "/"
392 name "-" version ".tar.xz"))
394 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
395 (build-system glib-or-gtk-build-system)
396 (outputs '("out" "doc"))
401 (string-append "--with-html-dir="
402 (assoc-ref %outputs "doc")
403 "/share/gtk-doc/html"))
405 (modify-phases %standard-phases
406 (add-after 'unpack 'patch-docbook-xml
407 (lambda* (#:key inputs #:allow-other-keys)
408 (with-directory-excursion "doc/reference"
409 (substitute* "libgrss-docs.sgml"
410 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
411 (string-append (assoc-ref inputs "docbook-xml")
412 "/xml/dtd/docbook/"))))
415 `(("docbook-xml" ,docbook-xml-4.1.2)
416 ("gobject-introspection" ,gobject-introspection)
417 ("gtk-doc" ,gtk-doc/stable)
418 ("pkg-config" ,pkg-config)))
422 ("libxml2" ,libxml2)))
423 (synopsis "Glib library for feeds")
424 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
426 (home-page "https://wiki.gnome.org/Projects/Libgrss")
427 (license license:lgpl3+)))
429 (define-public gnome-js-common
431 (name "gnome-js-common")
437 (string-append "mirror://gnome/sources/" name "/"
438 (version-major+minor version) "/"
439 name "-" version ".tar.gz"))
441 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
442 (build-system glib-or-gtk-build-system)
446 "--disable-static")))
448 `(("gettext" ,gettext-minimal)
449 ("intltool" ,intltool)
450 ("pkg-config" ,pkg-config)))
451 (synopsis "Common JS Modules")
452 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
454 (home-page "https://wiki.gnome.org/Projects/Seed")
455 (license license:gpl3+)))
465 (string-append "mirror://gnome/sources/" name "/"
466 (version-major+minor version) "/"
467 name "-" version ".tar.xz"))
469 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
471 (search-patches "seed-webkit.patch"))))
472 (build-system glib-or-gtk-build-system)
473 (outputs '("out" "doc"))
478 "--enable-xorg-module"
479 (string-append "--with-html-dir="
480 (assoc-ref %outputs "doc")
481 "/share/gtk-doc/html")
484 (modify-phases %standard-phases
485 ;; The seed-webkit.patch patches configure.ac.
486 ;; So the source files need to be re-bootstrapped.
487 (add-after 'unpack 'trigger-bootstrap
489 (for-each delete-file
494 (add-after 'unpack 'patch-tests
495 (lambda* (#:key outputs #:allow-other-keys)
496 (substitute* (find-files "." "\\.js$")
497 (("#!/usr/bin/env seed")
498 (string-append "#!" (getcwd) "/src/seed")))
500 (add-before 'build 'patch-docbook-xml
501 (lambda* (#:key inputs #:allow-other-keys)
502 (with-directory-excursion "doc"
503 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
504 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
505 (string-append (assoc-ref inputs "docbook-xml")
506 "/xml/dtd/docbook/"))))
509 `(("autoconf" ,autoconf)
510 ("automake" ,automake)
511 ("docbook-xml" ,docbook-xml-4.1.2)
512 ("gettext" ,gettext-minimal)
513 ("gobject-introspection" ,gobject-introspection)
514 ("gtk-doc" ,gtk-doc/stable)
515 ("intltool" ,intltool)
517 ("pkg-config" ,pkg-config)))
521 ("dbus-glib" ,dbus-glib)
522 ("gnome-js-common" ,gnome-js-common)
528 ("readline" ,readline)
530 ("xscrnsaver" ,libxscrnsaver)))
533 ("webkit" ,webkitgtk)))
534 (synopsis "GObject JavaScriptCore bridge")
535 (description "Seed is a library and interpreter, dynamically bridging
536 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
537 GNOME platform. It serves as something which enables you to write standalone
538 applications in JavaScript, or easily enable your application to be extensible
540 (home-page "https://wiki.gnome.org/Projects/Seed")
541 (license license:lgpl2.0+)))
543 (define-public libdmapsharing
545 (name "libdmapsharing")
551 (string-append "https://www.flyn.org/projects/"
552 name "/" name "-" version ".tar.gz"))
554 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
555 (build-system glib-or-gtk-build-system)
556 (outputs '("out" "doc"))
558 `(#:tests? #f ; Tests require networking.
562 (string-append "--with-html-dir="
563 (assoc-ref %outputs "doc")
564 "/share/gtk-doc/html"))
566 (modify-phases %standard-phases
567 (add-after 'unpack 'patch-docbook-xml
568 (lambda* (#:key inputs #:allow-other-keys)
569 (with-directory-excursion "doc"
570 (substitute* "libdmapsharing-4.0-docs.xml"
571 (("http://www.oasis-open.org/docbook/xml/4.3/")
572 (string-append (assoc-ref inputs "docbook-xml")
573 "/xml/dtd/docbook/"))))
577 ("docbook-xml" ,docbook-xml-4.3)
578 ("gobject-introspection" ,gobject-introspection)
579 ("pedansee" ,pedansee)
580 ("pkg-config" ,pkg-config)
584 ("gdk-pixbuf" ,gdk-pixbuf+svg)
586 ("gst-plugins-base" ,gst-plugins-base)
590 ("glib-networking" ,glib-networking)
591 ("gstreamer" ,gstreamer)
592 ("libsoup" ,libsoup)))
593 (synopsis "Media management library")
594 (description "Libdmapsharing is a library which allows programs to access,
595 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
596 It is written in C using GObject and libsoup.")
597 (home-page "https://launchpad.net/gtx")
598 (license license:lgpl2.1+)))
608 (string-append "https://launchpad.net/gtx/trunk/"
609 version "/+download/gtx-" version ".tar.gz"))
611 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
612 (build-system glib-or-gtk-build-system)
613 (outputs '("out" "doc"))
619 (string-append "--with-html-dir="
620 (assoc-ref %outputs "doc")
621 "/share/gtk-doc/html"))))
623 `(("gobject-introspection" ,gobject-introspection)
624 ("gtk-doc" ,gtk-doc/stable)
625 ("pkg-config" ,pkg-config)))
628 (synopsis "GLib Testing Framework")
629 (description "GTX is a small collection of convenience functions intended to
630 enhance the GLib testing framework. With specific emphasis on easing the pain
631 of writing test cases for asynchronous interactions.")
632 (home-page "https://launchpad.net/gtx")
633 (license license:lgpl2.1+)))
643 (string-append "https://launchpad.net/dee/1.0/"
644 version "/+download/dee-" version ".tar.gz"))
646 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
648 (search-patches "dee-vapi.patch"))))
649 (build-system glib-or-gtk-build-system)
650 (outputs '("out" "doc"))
654 "--disable-maintainer-flags"
655 (string-append "--with-pygi-overrides-dir="
656 (assoc-ref %outputs "out")
658 ,(version-major+minor
659 (package-version python))
660 "/site-packages/gi/overrides")
661 (string-append "--with-html-dir="
662 (assoc-ref %outputs "doc")
663 "/share/gtk-doc/html"))
665 (modify-phases %standard-phases
666 (add-after 'unpack 'patch-docbook-xml
667 (lambda* (#:key inputs #:allow-other-keys)
668 (with-directory-excursion "doc/reference/dee-1.0"
669 (substitute* "dee-1.0-docs.sgml"
670 (("http://www.oasis-open.org/docbook/xml/4.3/")
671 (string-append (assoc-ref inputs "docbook-xml")
672 "/xml/dtd/docbook/"))))
674 (add-after 'patch-docbook-xml 'disable-failing-tests
676 (substitute* "tests/test-icu.c"
677 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
679 (("setup, test_ascii_folder, teardown\\);")
682 (add-before 'check 'pre-check
684 ;; Tests require a running dbus-daemon.
685 (system "dbus-daemon &")
686 ;; For missing '/etc/machine-id'.
687 (setenv "DBUS_FATAL_WARNINGS" "0")
691 ("dbus-test-runner" ,dbus-test-runner)
692 ("docbook-xml" ,docbook-xml-4.3)
693 ("gobject-introspection" ,gobject-introspection)
694 ("gtk-doc" ,gtk-doc/stable)
695 ;; Would only be required by configure flag "--enable-extended-tests".
697 ("pkg-config" ,pkg-config)
698 ("pygobject" ,python-pygobject)
699 ("python" ,python-wrapper)
705 (synopsis "Model to synchronize multiple instances over DBus")
706 (description "Dee is a library that uses DBus to provide objects allowing
707 you to create Model-View-Controller type programs across DBus. It also consists
708 of utility objects which extend DBus allowing for peer-to-peer discoverability
709 of known objects without needing a central registrar.")
710 (home-page "https://launchpad.net/dee")
717 (define-public zeitgeist
726 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
728 (string-append "v" version))))
730 (git-file-name name version))
732 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
733 (build-system glib-or-gtk-build-system)
737 "--enable-explain-queries"
741 (modify-phases %standard-phases
742 (add-after 'unpack 'patch-docbook-xml
743 (lambda* (#:key inputs #:allow-other-keys)
744 (with-directory-excursion "doc/libzeitgeist"
745 (substitute* "zeitgeist-gtkdoc-index.sgml"
746 (("http://www.oasis-open.org/docbook/xml/4.3/")
747 (string-append (assoc-ref inputs "docbook-xml")
748 "/xml/dtd/docbook/"))))
750 (add-after 'patch-docbook-xml 'disable-failing-tests
752 (substitute* "test/direct/Makefile.am"
755 (substitute* "test/c/Makefile.am"
759 (add-before 'bootstrap 'remove-autogen-script
761 ;; To honor `autoreconf -vif` by build-system.
762 (delete-file "autogen.sh")
765 `(("autoconf" ,autoconf)
766 ("automake" ,automake)
767 ("docbook-xml" ,docbook-xml-4.3)
768 ("gettext" ,gettext-minimal)
769 ("gobject-introspection" ,gobject-introspection)
770 ("gtk-doc" ,gtk-doc/stable)
772 ("pkg-config" ,pkg-config)
774 ("xorg-server-for-tests" ,xorg-server-for-tests)))
778 ("json-glib" ,json-glib)
780 ("telepathy-glib" ,telepathy-glib)
781 ("python" ,python-wrapper)
782 ("python-rdflib" ,python-rdflib)
783 ("xapian-config" ,xapian)))
786 (synopsis "Desktop Activity Logging")
787 (description "Zeitgeist is a service which logs the users’s activities and
788 events, anywhere from files opened to websites visited and conversations. It
789 makes this information readily available for other applications to use. It is
790 able to establish relationships between items based on similarity and usage
792 (home-page "https://zeitgeist.freedesktop.org/")
799 (define-public gnome-recipes
801 (name "gnome-recipes")
806 (url "https://gitlab.gnome.org/GNOME/recipes")
808 (file-name (git-file-name name version))
811 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
812 (build-system meson-build-system)
816 (modify-phases %standard-phases
817 (add-after 'unpack 'skip-gtk-update-icon-cache
819 (substitute* "meson_post_install.py"
820 (("gtk-update-icon-cache") (which "true")))
822 (add-after 'unpack 'unpack-libgd
823 (lambda* (#:key inputs #:allow-other-keys)
824 (let ((libgd (assoc-ref inputs "libgd")))
825 (copy-recursively libgd "subprojects/libgd")
829 ("gnome-autoar" ,gnome-autoar)
830 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
833 ("json-glib" ,json-glib)
834 ("libcanberra" ,libcanberra)
838 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
839 ("gettext" ,gettext-minimal)
840 ("glib:bin" ,glib "bin")
846 (url "https://gitlab.gnome.org/GNOME/libgd")
847 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
848 (file-name (git-file-name "libgd" version))
850 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
851 ("pkg-config" ,pkg-config)))
852 (home-page "https://wiki.gnome.org/Apps/Recipes")
853 (synopsis "Discover recipes for preparing food")
854 (description "GNOME Recipes helps you discover what to cook today,
855 tomorrow, the rest of the week and for special occasions.")
856 (license license:gpl3+)))
858 (define-public gnome-photos
860 (name "gnome-photos")
866 (string-append "mirror://gnome/sources/" name "/"
867 (version-major+minor version) "/"
868 name "-" version ".tar.xz"))
871 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
872 (build-system meson-build-system)
876 (list "-Ddogtail=false" ; Not available
877 ;; Required for RUNPATH validation.
878 (string-append "-Dc_link_args=-Wl,-rpath="
879 (assoc-ref %outputs "out") "/lib/gnome-photos"))
881 (modify-phases %standard-phases
882 (add-after 'install 'wrap-gnome-photos
883 (lambda* (#:key inputs outputs #:allow-other-keys)
885 ((out (assoc-ref outputs "out")))
886 (wrap-program (string-append out "/bin/gnome-photos")
887 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
891 ("desktop-file-utils" ,desktop-file-utils)
892 ("gettext" ,gettext-minimal)
894 ("glib:bin" ,glib "bin")
895 ("gobject-introspection" ,gobject-introspection)
896 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
897 ("gtk+:bin" ,gtk+ "bin")
899 ("pkg-config" ,pkg-config)))
903 ("gdk-pixbuf" ,gdk-pixbuf+svg)
905 ("geocode-glib" ,geocode-glib)
907 ("gnome-online-accounts" ,gnome-online-accounts)
908 ("gnome-online-miners" ,gnome-online-miners)
910 ("grilo-plugins" ,grilo-plugins)
912 ("libdazzle" ,libdazzle)
913 ("libgdata" ,libgdata)
914 ("libgfbgraph" ,gfbgraph)
915 ("libjpeg" ,libjpeg-turbo)
918 ("pygobject" ,python-pygobject)
920 ("tracker-miners" ,tracker-miners)))
921 (synopsis "Access, organize and share your photos on GNOME desktop")
922 (description "GNOME Photos is a simple and elegant replacement for using a
923 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
924 cloud integration is offered through GNOME Online Accounts.")
925 (home-page "https://wiki.gnome.org/Apps/Photos")
926 (license license:gpl3+)))
928 (define-public gnome-music
936 (string-append "mirror://gnome/sources/" name "/"
937 (version-major+minor version) "/"
938 name "-" version ".tar.xz"))
941 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
942 (build-system meson-build-system)
946 (modify-phases %standard-phases
947 (add-after 'install 'wrap-gnome-music
948 (lambda* (#:key inputs outputs #:allow-other-keys)
950 ((out (assoc-ref outputs "out"))
951 (pylib (string-append out "/lib/python"
952 ,(version-major+minor
953 (package-version python))
955 (wrap-program (string-append out "/bin/gnome-music")
956 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
957 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
958 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
959 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
962 `(("desktop-file-utils" ,desktop-file-utils)
963 ("gettext" ,gettext-minimal)
964 ("glib:bin" ,glib "bin")
965 ("gobject-introspection" ,gobject-introspection)
966 ("gtk+:bin" ,gtk+ "bin")
967 ("itstools" ,itstool)
968 ("pkg-config" ,pkg-config)))
970 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
972 ("grilo-plugins" ,grilo-plugins)
973 ("gst-plugins-base" ,gst-plugins-base)
974 ("gstreamer" ,gstreamer)
976 ("libdazzle" ,libdazzle)
977 ("libmediaart" ,libmediaart)
979 ("pycairo" ,python-pycairo)
980 ("pygobject" ,python-pygobject)
982 ("tracker-miners" ,tracker-miners)))
983 (synopsis "Simple music player for GNOME desktop")
984 (description "GNOME Music is the new GNOME music playing application that
985 aims to combine an elegant and immersive browsing experience with simple
986 and straightforward controls.")
987 (home-page "https://wiki.gnome.org/Apps/Music")
988 (license license:gpl2+)))
990 (define-public portablexdr
998 (string-append "https://people.redhat.com/~rjones/" name "/files/"
999 name "-" version ".tar.gz"))
1002 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1003 (build-system gnu-build-system)
1004 (synopsis "External Data Representation Library")
1005 (description "PortableXDR is an implementation of External Data
1006 Representation (XDR) Library. It is a standard data serialization format, for
1007 uses such as computer network protocols. It allows data to be transferred
1008 between different kinds of computer systems.")
1009 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1013 license:lgpl2.1+))))
1023 (string-append "mirror://gnome/sources/" name "/"
1024 (version-major+minor version) "/"
1025 name "-" version ".tar.xz"))
1028 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
1029 (build-system glib-or-gtk-build-system)
1031 `(#:tests? #f)) ; FIX-ME: Requires gvfs
1033 `(("gobject-introspection" ,gobject-introspection)
1034 ("pkg-config" ,pkg-config)))
1039 ("gtksourceview" ,gtksourceview)
1040 ("libxml2" ,libxml2)
1041 ("uchardet" ,uchardet)))
1042 (synopsis "Text editor product line")
1043 (description "Tepl is a library that eases the development of
1044 GtkSourceView-based text editors and IDEs.")
1045 (home-page "https://wiki.gnome.org/Projects/Tepl")
1046 (license license:lgpl2.1+)))
1048 (define-public krb5-auth-dialog
1050 (name "krb5-auth-dialog")
1056 (string-append "mirror://gnome/sources/" name "/"
1057 (version-major+minor version) "/"
1058 name "-" version ".tar.xz"))
1061 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1062 (build-system glib-or-gtk-build-system)
1064 `(("intltool" ,intltool)
1065 ("itstool" ,itstool)
1066 ("libxml2" ,libxml2)
1067 ("pkg-config" ,pkg-config)
1068 ("python-wrapper" ,python-wrapper)))
1072 ("libnotify" ,libnotify)
1073 ("mit-krb5" ,mit-krb5)
1074 ("network-manager" ,network-manager)))
1075 (synopsis "Popup dialogs for Kerberos 5")
1076 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1077 tickets, and pops up a dialog when they are about to expire.")
1078 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1079 (license license:gpl2+)))
1081 (define-public notification-daemon
1083 (name "notification-daemon")
1089 (string-append "mirror://gnome/sources/" name "/"
1090 (version-major+minor version) "/"
1091 name "-" version ".tar.xz"))
1094 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1095 (build-system glib-or-gtk-build-system)
1097 `(("intltool" ,intltool)
1098 ("pkg-config" ,pkg-config)))
1103 (synopsis "Notification Daemon for GNOME Desktop")
1104 (description "Notification-Daemon is the server implementation of the
1105 freedesktop.org desktop notification specification.")
1106 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1107 (license license:gpl2+)))
1109 (define-public mm-common
1115 (uri (string-append "mirror://gnome/sources/mm-common/"
1116 (version-major+minor version) "/"
1117 "mm-common-" version ".tar.xz"))
1120 "1x8yvjy0yg17qyhmqws8xh2k8dvzrhpwqz7j1cfwzalrb1i9c5g8"))))
1121 (build-system meson-build-system)
1123 `(#:meson ,meson-0.55
1125 (modify-phases %standard-phases
1126 (add-after 'unpack 'patch
1127 (lambda* (#:key inputs #:allow-other-keys)
1128 (substitute* "util/mm-common-prepare.in"
1129 (("ln") (string-append (assoc-ref inputs "coreutils")
1131 (("cp") (string-append (assoc-ref inputs "coreutils")
1133 (("sed") (string-append (assoc-ref inputs "sed")
1135 (("cat") (string-append (assoc-ref inputs "coreutils")
1139 `(("coreutils" ,coreutils)
1140 ("gettext" ,gettext-minimal)
1141 ("pkg-config" ,pkg-config)
1144 `(("python" ,python)))
1145 (synopsis "Module of GNOME C++ bindings")
1146 (description "The mm-common module provides the build infrastructure
1147 and utilities shared among the GNOME C++ binding libraries. Release
1148 archives of mm-common include the Doxygen tag file for the GNU C++
1149 Library reference documentation.")
1150 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1151 (license license:gpl2+)))
1153 (define-public phodav
1159 (uri (string-append "mirror://gnome/sources/" name "/"
1160 (version-major+minor version) "/"
1161 name "-" version ".tar.xz"))
1164 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1165 (build-system meson-build-system)
1168 (modify-phases %standard-phases
1169 (add-before 'check 'start-virtual-dir-server
1170 ;; The same server when started by tests/virtual-dir returns an
1171 ;; unexpected status (4 instead of 200) and fails a test. It is
1172 ;; unclear why starting it manually here makes it pass.
1174 (system "tests/virtual-dir-server &")
1177 `(("docbook-xml" ,docbook-xml-4.3)
1178 ("gettext" ,gettext-minimal)
1179 ("glib:bin" ,glib "bin")
1180 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1181 ("gtk-doc" ,gtk-doc/stable)
1182 ("pkg-config" ,pkg-config)))
1185 ("libgudev" ,libgudev)
1186 ("libsoup" ,libsoup)))
1187 (synopsis "WebDav server implementation using libsoup")
1188 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1189 but it is generic enough to be reused in other projects,
1190 in particular in the GNOME desktop.")
1191 (home-page "https://wiki.gnome.org/phodav")
1192 (license license:lgpl2.1+)))
1194 (define-public gnome-color-manager
1196 (name "gnome-color-manager")
1200 (uri (string-append "mirror://gnome/sources/" name "/"
1201 (version-major+minor version) "/"
1202 name "-" version ".tar.xz"))
1205 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1206 (build-system meson-build-system)
1210 (modify-phases %standard-phases
1214 ;; Tests require a running X server.
1215 (system "Xvfb :1 &")
1216 (setenv "DISPLAY" ":1")
1219 `(("desktop-file-utils" ,desktop-file-utils)
1220 ("gettext" ,gettext-minimal)
1221 ("glib:bin" ,glib "bin")
1222 ("gtk+:bin" ,gtk+ "bin")
1223 ("itstool" ,itstool)
1224 ("pkg-config" ,pkg-config)
1225 ("xorg-server" ,xorg-server-for-tests)))
1227 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1228 ("appstream-glib" ,appstream-glib)
1229 ("colord-gtk" ,colord-gtk)
1231 ("gnome-desktop" ,gnome-desktop)
1232 ("libcanberra" ,libcanberra)
1233 ("libexif" ,libexif)
1234 ("libtiff" ,libtiff)
1235 ("libxrandr" ,libxrandr)
1236 ("libxtst" ,libxtst)
1237 ("libxxf86vm" ,libxxf86vm)
1239 ("xorgproto" ,xorgproto)))
1240 (synopsis "Color profile manager for the GNOME desktop")
1241 (description "GNOME Color Manager is a session framework that makes
1242 it easy to manage, install and generate color profiles
1243 in the GNOME desktop.")
1244 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1245 (license license:gpl2+)))
1247 (define-public gnome-online-miners
1249 (name "gnome-online-miners")
1253 (uri (string-append "mirror://gnome/sources/" name "/"
1254 (version-major+minor version) "/"
1255 name "-" version ".tar.xz"))
1258 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1259 (build-system glib-or-gtk-build-system)
1261 `(("gettext" ,gettext-minimal)
1262 ("glib:bin" ,glib "bin")
1263 ("gobject-introspection" ,gobject-introspection)
1264 ("gtk+:bin" ,gtk+ "bin")
1265 ("pkg-config" ,pkg-config)))
1267 `(("gnome-online-accounts" ,gnome-online-accounts)
1268 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1270 ("libgdata" ,libgdata)
1271 ("libgfbgraph" ,gfbgraph)
1272 ("libzapojit" ,libzapojit)
1274 ("tracker" ,tracker)))
1275 (synopsis "Web Crawlers for GNOME")
1276 (description "GNOME Online Miners provides a set of crawlers that
1277 go through your online content and index them locally in Tracker.
1278 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1279 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1280 (license license:gpl2+)))
1282 (define-public gssdp
1288 (uri (string-append "mirror://gnome/sources/" name "/"
1289 (version-major+minor version) "/"
1290 name "-" version ".tar.xz"))
1293 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1294 (build-system meson-build-system)
1296 `(("gettext" ,gettext-minimal)
1297 ("glib:bin" ,glib "bin")
1298 ("gobject-introspection" ,gobject-introspection)
1299 ("gtk-doc" ,gtk-doc/stable)
1300 ("pkg-config" ,pkg-config)
1304 ("libsoup" ,libsoup)))
1305 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1306 Protocol} for GNOME")
1307 (description "This package provides a library to handle resource discovery
1308 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1309 a debugging tool, @command{gssdp-device-sniffer}.")
1310 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1311 (license license:lgpl2.0+)))
1313 (define-public gupnp
1319 (uri (string-append "mirror://gnome/sources/" name "/"
1320 (version-major+minor version) "/"
1321 name "-" version ".tar.xz"))
1324 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1325 (build-system meson-build-system)
1327 `(("gettext" ,gettext-minimal)
1328 ("glib:bin" ,glib "bin")
1329 ("gobject-introspection" ,gobject-introspection)
1330 ("gtk-doc" ,gtk-doc/stable)
1331 ("pkg-config" ,pkg-config)
1336 ("libsoup" ,libsoup)))
1338 `(;; For ‘org.gnome.system.proxy’.
1339 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
1340 (synopsis "PnP API for GNOME")
1341 (description "This package provides GUPnP, an object-oriented framework
1342 for creating UPnP devices and control points, written in C using
1343 @code{GObject} and @code{libsoup}.")
1344 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1345 (license license:lgpl2.0+)))
1347 (define-public gupnp-dlna
1353 (uri (string-append "mirror://gnome/sources/" name "/"
1354 (version-major+minor version) "/"
1355 name "-" version ".tar.xz"))
1358 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1359 (build-system gnu-build-system)
1361 `(("gettext" ,gettext-minimal)
1362 ("glib:bin" ,glib "bin")
1363 ("gobject-introspection" ,gobject-introspection)
1364 ("gtk-doc" ,gtk-doc/stable)
1366 ("pkg-config" ,pkg-config)
1369 `(("gstreamer" ,gstreamer)
1372 `(("gst-plugins-base" ,gst-plugins-base)
1373 ("gst-plugins-good" ,gst-plugins-good)))
1374 (synopsis "GUPnP DLNA for GNOME")
1375 (description "This package provides a small utility library to
1376 support DLNA-related tasks such as media profile guessing, transcoding to a
1377 given profile, etc. DLNA is a subset of UPnP A/V.")
1378 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1379 (license license:lgpl2.0+)))
1381 (define-public gupnp-av
1387 (uri (string-append "mirror://gnome/sources/" name "/"
1388 (version-major+minor version) "/"
1389 name "-" version ".tar.xz"))
1392 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1393 (build-system gnu-build-system)
1395 `(("gettext" ,gettext-minimal)
1396 ("glib:bin" ,glib "bin")
1397 ("gobject-introspection" ,gobject-introspection)
1398 ("gtk-doc" ,gtk-doc/stable)
1400 ("pkg-config" ,pkg-config)))
1404 (synopsis "GUPnP A/V for GNOME")
1405 (description "This package provides a small library for handling
1406 and implementation of UPnP A/V profiles.")
1407 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1408 (license license:lgpl2.0+)))
1410 (define-public libmediaart
1412 (name "libmediaart")
1416 (uri (string-append "mirror://gnome/sources/" name "/"
1417 (version-major+minor version) "/"
1418 name "-" version ".tar.xz"))
1421 "1mlw1qgj8nkd9ll6b6h54r1gfdy3zp8a8xqz7qfyfaj85jjgbph7"))))
1422 (build-system meson-build-system)
1424 `(#:meson ,meson-next))
1426 `(("glib:bin" ,glib "bin")
1427 ("pkg-config" ,pkg-config)))
1429 `(("gdk-pixbuf" ,gdk-pixbuf)
1430 ("gettext" ,gettext-minimal)
1431 ("gobject-introspection" ,gobject-introspection)
1432 ("gtk+:doc" ,gtk+ "doc")
1434 (synopsis "Media art library for the GNOME desktop")
1436 "The libmediaart library is the foundation for media art caching,
1437 extraction, and lookup for applications on the desktop.")
1438 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1439 (license license:lgpl2.1+)))
1441 (define-public gnome-initial-setup
1443 (name "gnome-initial-setup")
1447 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1448 (version-major+minor version)
1449 "/gnome-initial-setup-" version ".tar.xz"))
1452 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1453 (build-system meson-build-system)
1455 '(#:configure-flags '(;; Enable camera support for user selfie.
1458 #:phases (modify-phases %standard-phases
1459 (add-after 'unpack 'set-gkbd-file-name
1460 (lambda* (#:key inputs #:allow-other-keys)
1461 ;; Allow the "Preview" button in the keyboard layout
1462 ;; selection dialog to display the layout.
1463 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1464 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1465 (("\"gkbd-keyboard-display")
1466 (string-append "\"" libgnomekbd
1467 "/bin/gkbd-keyboard-display")))
1470 `(("gettext" ,gettext-minimal)
1471 ("glib:bin" ,glib "bin")
1472 ("gobject-introspection" ,gobject-introspection)
1473 ("gtk+:bin" ,gtk+ "bin")
1474 ("pkg-config" ,pkg-config)))
1476 `(("accountsservice" ,accountsservice)
1477 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1479 ("geoclue" ,geoclue)
1480 ("gnome-desktop" ,gnome-desktop)
1481 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1482 ("gnome-online-accounts" ,gnome-online-accounts)
1483 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1484 ("gstreamer" ,gstreamer)
1486 ("json-glib" ,json-glib)
1488 ("libgweather" ,libgweather)
1490 ("libsecret" ,libsecret)
1491 ("network-manager" ,network-manager)
1492 ("packagekit" ,packagekit)
1494 ("pwquality" ,libpwquality)
1497 ("webkitgtk" ,webkitgtk)
1498 ("libgnomekbd" ,libgnomekbd)))
1499 (synopsis "Initial setup wizard for GNOME desktop")
1500 (description "This package provides a set-up wizard when a
1501 user logs into GNOME for the first time. It typically provides a
1502 tour of all gnome components and allows the user to set them up.")
1503 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1504 (license license:gpl2)))
1506 (define-public gnome-user-share
1508 (name "gnome-user-share")
1512 (uri (string-append "mirror://gnome/sources/" name "/"
1513 (version-major+minor version) "/"
1514 name "-" version ".tar.xz"))
1517 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1518 (build-system meson-build-system)
1523 ;; Enable nautilus extension for file sharing.
1524 "-Dnautilus_extension=true")))
1526 `(("gettext" ,gettext-minimal)
1527 ("glib:bin" ,glib "bin")
1528 ("gobject-introspection" ,gobject-introspection)
1529 ("gtk+:bin" ,gtk+ "bin")
1530 ("pkg-config" ,pkg-config)
1531 ("yelp-tools" ,yelp-tools)))
1534 ("gnome-bluetooth" ,gnome-bluetooth)
1536 ("libcanberra" ,libcanberra)
1537 ("libnotify" ,libnotify)
1538 ("nautilus" ,nautilus))) ; For nautilus extension.
1539 (synopsis "File sharing for GNOME desktop")
1540 (description "GNOME User Share is a small package that binds together
1541 various free software projects to bring easy to use user-level file
1542 sharing to the masses.")
1543 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1544 (license license:gpl2+)))
1546 (define-public sushi
1552 (uri (string-append "mirror://gnome/sources/" name "/"
1553 (version-major+minor version) "/"
1554 name "-" version ".tar.xz"))
1557 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1558 (build-system meson-build-system)
1562 (modify-phases %standard-phases
1563 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1564 (lambda* (#:key outputs #:allow-other-keys)
1565 (let ((prog (string-append (assoc-ref outputs "out")
1567 ;; Put existing typelibs before sushi's deps, so as to correctly
1570 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1573 `(("glib:bin" ,glib "bin")
1574 ("gettext" ,gettext-minimal)
1575 ("gobject-introspection" ,gobject-introspection)
1576 ("pkg-config" ,pkg-config)))
1578 `(("clutter" ,clutter)
1579 ("clutter-gst" ,clutter-gst)
1580 ("clutter-gtk" ,clutter-gtk)
1581 ("evince" ,evince) ; For file previewing.
1582 ("freetype" ,freetype)
1583 ("gdk-pixbuf" ,gdk-pixbuf)
1585 ("gst-plugins-base" ,gst-plugins-base)
1586 ("gstreamer" ,gstreamer)
1587 ("gtksourceview" ,gtksourceview-3)
1588 ("harfbuzz" ,harfbuzz)
1589 ("libepoxy" ,libepoxy)
1590 ("libmusicbrainz" ,libmusicbrainz)
1591 ("libxml2" ,libxml2)
1593 ("webkitgtk" ,webkitgtk)))
1594 (synopsis "File previewer for the GNOME desktop")
1595 (description "Sushi is a DBus-activated service that allows applications to
1596 preview files on the GNOME desktop.")
1597 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1598 (license license:gpl2+)))
1600 (define-public rygel
1606 (uri (string-append "mirror://gnome/sources/" name "/"
1607 (version-major+minor version) "/"
1608 name "-" version ".tar.xz"))
1611 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1612 (build-system gnu-build-system)
1614 `(("gettext" ,gettext-minimal)
1615 ("gobject-introspection" ,gobject-introspection)
1616 ("gtk-doc" ,gtk-doc/stable)
1617 ("pkg-config" ,pkg-config)
1620 `(("gdk-pixbuf" ,gdk-pixbuf)
1622 ("gstreamer" ,gstreamer)
1623 ("gst-plugins-base" ,gst-plugins-base)
1626 ("gupnp-av" ,gupnp-av)
1627 ("gupnp-dlna" ,gupnp-dlna)
1629 ("libmediaart" ,libmediaart)
1630 ("libsoup" ,libsoup)
1631 ("libxslt" ,libxslt)
1632 ("libunistring" ,libunistring)
1633 ("tracker" ,tracker)))
1634 (synopsis "Share audio, video, and pictures with other devices")
1636 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1637 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1638 pictures, and to control a media player on your home network.
1640 Rygel achieves interoperability with other devices by trying to conform to the
1641 strict requirements of DLNA and by converting media on-the-fly to formats that
1642 client devices can handle.")
1643 (home-page "https://wiki.gnome.org/Projects/Rygel")
1645 ;; For logo (data/icons/*).
1648 license:lgpl2.1+))))
1650 (define-public libnma
1656 (uri (string-append "mirror://gnome/sources/" name "/"
1657 (version-major+minor version) "/"
1658 name "-" version ".tar.xz"))
1661 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1662 (build-system meson-build-system)
1665 (modify-phases %standard-phases
1666 (add-after 'unpack 'patch-docbook-xml
1667 (lambda* (#:key inputs #:allow-other-keys)
1668 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1669 "/xml/dtd/docbook")))
1670 (substitute* "libnma-docs.xml"
1671 (("http://.*/docbookx\\.dtd")
1672 (string-append xmldoc "/docbookx.dtd")))
1675 `(("docbook-xml" ,docbook-xml-4.3)
1676 ("gettext" ,gettext-minimal)
1677 ("glib:bin" ,glib "bin")
1678 ("gtk-doc" ,gtk-doc/stable)
1679 ("gobject-introspection" ,gobject-introspection)
1680 ("pkg-config" ,pkg-config)
1685 ("iso-codes" ,iso-codes)
1686 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1687 ("network-manager" ,network-manager)))
1688 (synopsis "Network Manager's applet library")
1689 (description "Libnma is an applet library for Network Manager. It was
1690 initially part of network-manager-applet and has now become a separate
1692 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1693 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1695 (license license:gpl2+)))
1697 (define-public gnome-menus
1699 (name "gnome-menus")
1703 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1704 (version-major+minor version) "/"
1705 name "-" version ".tar.xz"))
1708 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1709 (build-system gnu-build-system)
1711 `(("gettext" ,gettext-minimal)
1713 ("pkg-config" ,pkg-config)))
1714 (synopsis "Menu support for GNOME desktop")
1715 (description "GNOME Menus contains the libgnome-menu library, the layout
1716 configuration files for the GNOME menu, as well as a simple menu editor.")
1717 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1718 (license license:lgpl2.0+)))
1720 (define-public deja-dup
1726 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1727 version "/deja-dup-" version ".tar.bz2"))
1730 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1731 (build-system meson-build-system)
1736 ;; Otherwise, the RUNPATH will lack the final path component.
1737 (string-append "-Dc_link_args=-Wl,-rpath="
1738 (assoc-ref %outputs "out") "/lib/deja-dup"))
1740 (modify-phases %standard-phases
1741 (add-after 'unpack 'patch-paths
1742 (lambda* (#:key inputs #:allow-other-keys)
1743 (let ((python (assoc-ref inputs "python")))
1744 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1745 "libdeja/tests/scripts/instance-error.test")
1748 (substitute* "libdeja/tests/runner.vala"
1751 (substitute* "libdeja/tests/scripts/instance-error.test"
1752 (("`which python3`")
1753 (string-append python "/bin/python3"))))))
1754 (add-after 'unpack 'patch-libgpg-error
1755 (lambda* (#:key inputs #:allow-other-keys)
1756 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1757 (substitute* "meson.build"
1758 (("(gpgerror_libs = ).*" _ var)
1759 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1761 (add-after 'unpack 'skip-gtk-update-icon-cache
1762 ;; Don't create 'icon-theme.cache'.
1764 (substitute* "data/post-install.sh"
1765 (("gtk-update-icon-cache") "true"))
1768 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1769 ("duplicity" ,duplicity)
1771 ("python-pygobject" ,python-pygobject)
1773 ("json-glib" ,json-glib)
1774 ("libnotify" ,libnotify)
1775 ("libgpg-error" ,libgpg-error)
1776 ("libsecret" ,libsecret)
1777 ("libsoup" ,libsoup)
1778 ("packagekit" ,packagekit)))
1780 `(("appstream-glib" ,appstream-glib)
1781 ("desktop-file-utils" ,desktop-file-utils)
1782 ("gettext" ,gettext-minimal)
1783 ("glib" ,glib "bin") ; for glib-compile-schemas.
1784 ("gobject-introspection" ,gobject-introspection)
1785 ("itstool" ,itstool)
1786 ("pkg-config" ,pkg-config)
1788 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1789 (synopsis "Simple backup tool, for regular encrypted backups")
1791 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1792 uses duplicity as the backend, which supports incremental backups and storage
1793 either on a local, or remote machine via a number of methods.")
1794 (license license:gpl3+)))
1796 (define-public gnome-commander
1798 (name "gnome-commander")
1803 (uri (string-append "mirror://gnome/sources/" name "/"
1804 (version-major+minor version) "/"
1805 "gnome-commander-" version ".tar.xz"))
1807 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1808 (build-system glib-or-gtk-build-system)
1810 `(("desktop-file-utils" ,desktop-file-utils)
1811 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1812 ("gettext" ,gettext-minimal)
1813 ("glib:bin" ,glib "bin")
1814 ("gobject-introspection" ,gobject-introspection)
1815 ("googletest" ,googletest)
1816 ("intltool" ,intltool)
1817 ("itstool" ,itstool)
1818 ("libtool" ,libtool)
1819 ("pkg-config" ,pkg-config)))
1822 ("gnome-vfs" ,gnome-vfs)
1824 ("libxml2" ,libxml2)))
1825 (home-page "https://gcmd.github.io/")
1826 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1828 "GNOME Commander is a two-pane graphical file manager using GNOME
1829 libraries. It aims to fulfill the demands of more advanced users who
1830 like to focus on file management, their work through special applications
1831 and running smart commands.")
1832 (license license:gpl2+)))
1834 (define-public gnome-user-docs
1836 (name "gnome-user-docs")
1841 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1842 (version-major+minor version)
1843 "/gnome-user-docs-" version ".tar.xz"))
1845 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1846 (build-system gnu-build-system)
1848 `(("gettext" ,gettext-minimal)
1849 ("itstool" ,itstool)
1850 ("pkg-config" ,pkg-config)
1851 ("xmllint" ,libxml2)))
1852 (synopsis "User documentation for the GNOME desktop")
1854 "The GNOME User Documentation explains how to use the GNOME desktop and its
1855 components. It covers usage and setup of the core GNOME programs by end-users
1856 and system administrators.")
1857 (home-page "https://live.gnome.org/DocumentationProject")
1858 (license license:cc-by3.0)))
1860 (define-public gnome-getting-started-docs
1862 (name "gnome-getting-started-docs")
1867 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1868 (version-major+minor version)
1869 "/gnome-getting-started-docs-" version ".tar.xz"))
1871 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1872 (build-system gnu-build-system)
1874 `(("gettext" ,gettext-minimal)
1875 ("itstool" ,itstool)
1876 ("pkg-config" ,pkg-config)
1877 ("xmllint" ,libxml2)))
1878 (synopsis "Help to get new users started with the GNOME desktop")
1880 "The GNOME Getting Started Documentation contains GNOME's intuitive
1881 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1883 It is normally used together with @command{gnome-initial-setup}, but is also
1884 useful as a tutorial and users' guide for new or less experienced users.")
1885 (home-page "https://live.gnome.org/DocumentationProject")
1886 (license license:cc-by-sa3.0)))
1889 ;; This version from GNOME's repository includes fixes for compiling with
1890 ;; recent versions of the build tools. The latest activity on the
1891 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1893 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1897 (version (git-version "0.97.3" revision commit))
1901 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1903 (file-name (git-file-name name version))
1906 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1907 (build-system meson-build-system)
1909 `(("graphene" ,graphene)
1911 ("libxml2" ,libxml2)
1912 ("libxslt" ,libxslt)
1913 ("poppler" ,poppler)
1914 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1915 ;; ERROR: Unknown method "dependency" in object.
1916 ("python-2" ,python-2)))
1918 `(("appstream-glib" ,appstream-glib)
1919 ("docbook-xsl" ,docbook-xsl)
1920 ("glib" ,glib "bin")
1921 ("intltool" ,intltool)
1922 ("pkg-config" ,pkg-config)))
1923 (home-page "https://wiki.gnome.org/Apps/Dia")
1924 (synopsis "Diagram creation for GNOME")
1925 (description "Dia can be used to draw different types of diagrams, and
1926 includes support for UML static structure diagrams (class diagrams), entity
1927 relationship modeling, and network diagrams. The program supports various file
1928 formats like PNG, SVG, PDF and EPS.")
1929 (license license:gpl2+))))
1931 ;; This is the unstable release, but it is required for the current stable
1932 ;; release of gvfs (1.38.1).
1933 (define-public libgdata
1939 (uri (string-append "mirror://gnome/sources/" name "/"
1940 (version-major+minor version) "/"
1941 name "-" version ".tar.xz"))
1944 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1945 (build-system gnu-build-system)
1948 (modify-phases %standard-phases
1949 (add-before 'check 'disable-failing-tests
1951 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1952 ;; They have been removed in libgdata 0.17.6, so just do the same.
1953 (substitute* "gdata/tests/Makefile"
1954 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1957 `(("glib:bin" ,glib "bin")
1958 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1959 ("intltool" ,intltool)
1960 ("pkg-config" ,pkg-config)
1961 ("uhttpmock" ,uhttpmock)))
1963 `(("cyrus-sasl" ,cyrus-sasl)
1964 ("glib-networking" ,glib-networking)))
1968 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1969 ("json-glib" ,json-glib)
1970 ("liboauth" ,liboauth)
1971 ("libsoup" ,libsoup)
1972 ("libxml2" ,libxml2)))
1973 (home-page "https://wiki.gnome.org/Projects/libgdata")
1974 (synopsis "Library for accessing online service APIs")
1976 "libgdata is a GLib-based library for accessing online service APIs using
1977 the GData protocol — most notably, Google's services. It provides APIs to
1978 access the common Google services, and has full asynchronous support.")
1979 (license license:lgpl2.1+)))
1981 (define-public libgxps
1987 (uri (string-append "mirror://gnome/sources/" name "/"
1988 (version-major+minor version) "/"
1989 name "-" version ".tar.xz"))
1992 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
1993 (build-system meson-build-system)
1995 `(("gobject-introspection" ,gobject-introspection)
1996 ("pkg-config" ,pkg-config)))
1999 ("libjpeg" ,libjpeg-turbo)
2001 ("libtiff" ,libtiff)))
2003 ;; In Requires of libgxps.pc.
2006 ("libarchive" ,libarchive)))
2007 (home-page "https://wiki.gnome.org/Projects/libgxps")
2008 (synopsis "GObject-based library for handling and rendering XPS documents")
2010 "libgxps is a GObject-based library for handling and rendering XPS
2011 documents. This package also contains binaries that can convert XPS documents
2013 (license license:lgpl2.1+)))
2015 (define-public gnome-characters
2017 (name "gnome-characters")
2022 (uri (string-append "mirror://gnome/sources/"
2023 "gnome-characters/" (version-major+minor version)
2024 "/gnome-characters-" version ".tar.xz"))
2027 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2028 (build-system meson-build-system)
2031 #:phases (modify-phases %standard-phases
2032 (add-after 'install 'wrap
2033 (lambda* (#:key outputs #:allow-other-keys)
2034 ;; GNOME Characters needs Typelib files from GTK and
2036 (wrap-program (string-append (assoc-ref outputs "out")
2037 "/bin/gnome-characters")
2038 `("GI_TYPELIB_PATH" ":" prefix
2039 (,(getenv "GI_TYPELIB_PATH"))))
2042 `(("gettext" ,gettext-minimal)
2043 ("glib:bin" ,glib "bin")
2044 ("gtk+:bin" ,gtk+ "bin")
2045 ("pkg-config" ,pkg-config)
2046 ("python" ,python-minimal)))
2050 ("libunistring" ,libunistring)
2051 ("gnome-desktop" ,gnome-desktop)))
2052 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2053 (synopsis "Find and insert unusual characters")
2054 (description "Characters is a simple utility application to find
2055 and insert unusual characters. It allows you to quickly find the
2056 character you are looking for by searching for keywords.")
2057 (license license:bsd-3)))
2059 (define-public gnome-common
2061 (name "gnome-common")
2066 (uri (string-append "mirror://gnome/sources/" name "/"
2067 (version-major+minor version) "/"
2068 name "-" version ".tar.xz"))
2071 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2072 (build-system gnu-build-system)
2073 (home-page "https://www.gnome.org/")
2074 (synopsis "Bootstrap GNOME modules built from Git")
2075 (description "gnome-common contains various files needed to bootstrap
2076 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2077 can be used to configure a source directory checked out from Git and some
2078 commonly used macros.")
2079 (license license:gpl2+)))
2081 (define-public gnome-contacts
2083 (name "gnome-contacts")
2087 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2088 (version-major+minor version) "/"
2089 name "-" version ".tar.xz"))
2092 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2093 (build-system meson-build-system)
2095 `(#:configure-flags '("-Dcheese=false")
2097 (modify-phases %standard-phases
2098 (add-after 'unpack 'generate-vapis
2099 (lambda* (#:key inputs #:allow-other-keys)
2100 ;; To generate goa's missing .vapi file
2102 (assoc-ref inputs "gnome-online-accounts:lib"))
2104 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2106 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2108 (add-after 'unpack 'skip-gtk-update-icon-cache
2109 ;; Don't create 'icon-theme.cache'.
2111 (substitute* "build-aux/meson_post_install.py"
2112 (("gtk-update-icon-cache") "true"))
2115 `(("glib:bin" ,glib "bin")
2116 ("pkg-config" ,pkg-config)))
2118 `(("docbook-xml" ,docbook-xml)
2119 ("dockbook-xsl" ,docbook-xsl)
2120 ("evolution-data-server" ,evolution-data-server)
2121 ("gettext" ,gettext-minimal)
2122 ("gnome-desktop" ,gnome-desktop)
2123 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2124 ("gobject-introspection" ,gobject-introspection)
2125 ("gst-plugins-base" ,gst-plugins-base)
2128 ("libxslt" ,libxslt)
2129 ("telepathy-glib" ,telepathy-glib)
2133 ("telepathy-mission-control" ,telepathy-mission-control)))
2134 (synopsis "GNOME's integrated address book")
2136 "GNOME Contacts organizes your contact information from online and
2137 offline sources, providing a centralized place for managing your contacts.")
2138 (home-page "https://wiki.gnome.org/Apps/Contacts")
2139 (license license:gpl2+)))
2141 (define-public gnome-desktop
2143 (name "gnome-desktop")
2148 (uri (string-append "mirror://gnome/sources/" name "/"
2149 (version-major+minor version) "/"
2150 name "-" version ".tar.xz"))
2153 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2154 (build-system meson-build-system)
2157 (modify-phases %standard-phases
2158 (add-before 'configure 'patch-path
2159 (lambda* (#:key inputs #:allow-other-keys)
2160 (let ((libc (assoc-ref inputs "libc")))
2161 (substitute* "libgnome-desktop/gnome-languages.c"
2163 (string-append "\"" libc "/bin/locale\"")))
2165 (add-before 'configure 'patch-bubblewrap
2166 (lambda* (#:key inputs #:allow-other-keys)
2167 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2169 (string-append "\"" (which "bwrap") "\","))
2170 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2171 (string-append "\"--ro-bind\", \""
2176 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2178 (add-before 'check 'pre-check
2179 (lambda* (#:key inputs #:allow-other-keys)
2180 ;; Tests require a running X server and locales.
2181 (system "Xvfb :1 &")
2182 (setenv "DISPLAY" ":1")
2183 (setenv "GUIX_LOCPATH"
2184 (string-append (assoc-ref inputs "glibc-locales")
2188 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2189 ("glibc-locales" ,glibc-locales) ; for tests
2190 ("gobject-introspection" ,gobject-introspection)
2191 ("itstool" ,itstool)
2192 ("intltool" ,intltool)
2193 ("pkg-config" ,pkg-config)
2194 ("xmllint" ,libxml2)
2195 ("xorg-server" ,xorg-server-for-tests)))
2197 ;; Required by gnome-desktop-3.0.pc.
2198 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2200 ("iso-codes" ,iso-codes)
2201 ("libseccomp" ,libseccomp)
2203 ("xkeyboard-config" ,xkeyboard-config)))
2205 `(("gdk-pixbuf" ,gdk-pixbuf)
2207 ("bubblewrap" ,bubblewrap)
2208 ("libxext" ,libxext)
2209 ("libxkbfile" ,libxkbfile)
2210 ("libxrandr" ,libxrandr)))
2211 (home-page "https://www.gnome.org/")
2213 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2215 "The libgnome-desktop library provides API shared by several applications
2216 on the desktop, but that cannot live in the platform for various reasons.
2217 There is no API or ABI guarantee, although we are doing our best to provide
2218 stability. Documentation for the API is available with gtk-doc.
2220 The gnome-about program helps find which version of GNOME is installed.")
2221 ; Some bits under the LGPL.
2222 (license license:gpl2+)))
2224 (define-public gnome-doc-utils
2226 (name "gnome-doc-utils")
2231 (uri (string-append "mirror://gnome/sources/" name "/"
2232 (version-major+minor version) "/"
2233 name "-" version ".tar.xz"))
2236 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2237 (build-system gnu-build-system)
2239 `(("intltool" ,intltool)
2240 ("docbook-xml" ,docbook-xml-4.4)
2241 ("python2-libxml2" ,python2-libxml2)
2242 ("libxml2" ,libxml2)
2243 ("libxslt" ,libxslt)
2244 ("pkg-config" ,pkg-config)
2245 ("python-2" ,python-2)))
2246 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2248 "Documentation utilities for the Gnome project")
2250 "Gnome-doc-utils is a collection of documentation utilities for the
2251 Gnome project. It includes xml2po tool which makes it easier to translate
2252 and keep up to date translations of documentation.")
2253 (license license:gpl2+))) ; xslt under lgpl
2255 (define-public gnome-disk-utility
2257 (name "gnome-disk-utility")
2261 (uri (string-append "mirror://gnome/sources/" name "/"
2262 (version-major+minor version) "/"
2263 name "-" version ".tar.xz"))
2266 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2267 (build-system meson-build-system)
2269 '(#:configure-flags '("-Dlogind=libelogind")
2271 (modify-phases %standard-phases
2272 (add-after 'unpack 'skip-gtk-update-icon-cache
2273 ;; Don't create 'icon-theme.cache'.
2275 (substitute* "meson_post_install.py"
2276 (("gtk-update-icon-cache") "true"))
2279 `(("glib:bin" ,glib "bin")
2280 ("intltool" ,intltool)
2281 ("pkg-config" ,pkg-config)
2282 ("docbook-xml" ,docbook-xml)
2283 ("docbook-xsl" ,docbook-xsl)
2284 ("libxml2" ,libxml2)
2285 ("libxslt" ,libxslt)))
2287 `(("elogind" ,elogind)
2289 ("appstream-glib" ,appstream-glib)
2290 ("gnome-settings-daemon" ,gnome-settings-daemon)
2292 ("libcanberra" ,libcanberra)
2293 ("libdvdread" ,libdvdread)
2294 ("libnotify" ,libnotify)
2295 ("libpwquality" ,libpwquality)
2296 ("libsecret" ,libsecret)
2297 ("udisks" ,udisks)))
2298 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2299 (synopsis "Disk management utility for GNOME")
2300 (description "Disk management utility for GNOME.")
2301 (license license:gpl2+)))
2303 (define-public gnome-font-viewer
2305 (name "gnome-font-viewer")
2309 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2310 (version-major+minor version)
2311 "/gnome-font-viewer-" version ".tar.xz"))
2314 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2315 (build-system meson-build-system)
2318 (modify-phases %standard-phases
2319 (add-after 'unpack 'patch-post-install-script
2321 (substitute* "meson-postinstall.sh"
2322 (("update-desktop-database") (which "true")))
2324 (add-after 'install 'patch-thumbnailer
2325 (lambda* (#:key outputs #:allow-other-keys)
2326 (let ((out (assoc-ref outputs "out")))
2330 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2331 (("gnome-thumbnail-font")
2332 (string-append out "/bin/gnome-thumbnail-font"))))
2335 `(("gettext" ,gettext-minimal)
2336 ("glib:bin" ,glib "bin")
2337 ("pkg-config" ,pkg-config)))
2340 ("gnome-desktop" ,gnome-desktop)
2342 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2343 (synopsis "GNOME Fonts")
2344 (description "Application to show you the fonts installed on your computer
2345 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2346 the font would look under various sizes.")
2347 (license license:gpl2+)))
2355 (uri (string-append "mirror://gnome/sources/" name "/"
2356 (version-major+minor version) "/"
2357 name "-" version ".tar.xz"))
2360 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2361 (build-system gnu-build-system)
2364 (modify-phases %standard-phases
2365 ;; These fail because /var/lib/dbus/machine-id is not present in the
2366 ;; build environment.
2367 (add-after 'unpack 'disable-failing-tests
2369 (substitute* "Makefile.in"
2370 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2373 (add-before 'check 'pre-check
2375 ;; Some tests expect to write to $HOME.
2376 (setenv "HOME" "/tmp")
2380 ("gnupg" ,gnupg) ;called as a child process during tests
2381 ("libgcrypt" ,libgcrypt)))
2383 `(("python" ,python-wrapper) ;for tests
2384 ("pkg-config" ,pkg-config)
2385 ("gettext" ,gettext-minimal)
2386 ("glib" ,glib "bin")
2387 ("gobject-introspection" ,gobject-introspection)
2388 ("libxml2" ,libxml2)
2390 ("xsltproc" ,libxslt)))
2391 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2393 `(("p11-kit" ,p11-kit)
2396 (home-page "https://www.gnome.org")
2397 (synopsis "Libraries for displaying certificates and accessing key stores")
2399 "The GCR package contains libraries used for displaying certificates and
2400 accessing key stores. It also provides the viewer for crypto files on the
2402 (license license:lgpl2.1+)))
2411 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2412 (commit (string-append "GDL_" (string-map (match-lambda
2416 (file-name (git-file-name name version))
2419 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2420 (build-system gnu-build-system)
2422 `(("autoconf" ,autoconf)
2423 ("automake" ,automake)
2424 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2425 ("gnome-common" ,gnome-common)
2426 ("gtk-doc" ,gtk-doc/stable)
2427 ("intltool" ,intltool)
2428 ("pkg-config" ,pkg-config)
2429 ("libtool" ,libtool)
2432 `(("libxml2" ,libxml2)))
2434 ;; The gdl-3.0.pc file 'Requires' GTK+.
2436 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2437 (synopsis "GNOME docking library")
2438 (description "This library provides docking features for gtk+.")
2439 (license license:lgpl2.1+)))
2441 ;;; A minimal variant used to break a cycle with Inkscape.
2442 (define-public gdl-minimal
2443 (package/inherit gdl
2444 (name "gdl-minimal")
2447 (modify-phases %standard-phases
2448 (add-after 'unpack 'disable-doc-generation
2449 ;; XXX: There is no easy way to disable generating the
2452 (substitute* "configure.in"
2453 (("GTK_DOC_CHECK.*") "")
2455 (substitute* "Makefile.am"
2456 (("gdl docs po") "gdl po"))
2458 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2460 (define-public libgnome-keyring
2462 (name "libgnome-keyring")
2466 (uri (string-append "mirror://gnome/sources/" name "/"
2467 (version-major+minor version) "/"
2468 name "-" version ".tar.xz"))
2471 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2472 (build-system gnu-build-system)
2474 `(("libgcrypt" ,libgcrypt)
2477 `(("pkg-config" ,pkg-config)
2478 ("glib" ,glib "bin")
2479 ("intltool" ,intltool)))
2481 ;; Referred to in .h files and .pc.
2483 (home-page "https://www.gnome.org")
2484 (synopsis "Accessing passwords from the GNOME keyring")
2486 "Client library to access passwords from the GNOME keyring.")
2488 ;; Though a couple of files are LGPLv2.1+.
2489 (license license:lgpl2.0+)))
2491 (define-public gnome-keyring
2493 (name "gnome-keyring")
2497 (uri (string-append "mirror://gnome/sources/" name "/"
2498 (version-major+minor version) "/"
2499 name "-" version ".tar.xz"))
2502 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2503 (build-system gnu-build-system)
2505 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2509 (string-append "--with-pkcs11-config="
2510 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2511 (string-append "--with-pkcs11-modules="
2512 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2514 (modify-phases %standard-phases
2515 (add-after 'unpack 'fix-/bin/sh-reference
2517 (substitute* "po/Makefile.in.in"
2518 (("/bin/sh") (which "sh")))
2520 (add-after 'unpack 'fix-docbook
2521 (lambda* (#:key inputs #:allow-other-keys)
2522 (substitute* "docs/Makefile.am"
2523 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2524 (string-append (assoc-ref inputs "docbook-xsl")
2525 "/xml/xsl/docbook-xsl-"
2526 ,(package-version docbook-xsl)
2527 "/manpages/docbook.xsl")))
2528 (setenv "XML_CATALOG_FILES"
2529 (string-append (assoc-ref inputs "docbook-xml")
2530 "/xml/dtd/docbook/catalog.xml"))
2531 ;; Rerun the whole thing to avoid version mismatch ("This is
2532 ;; Automake 1.15.1, but the definition used by this
2533 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2534 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2537 (invoke "automake" "-ac"))))))
2539 `(("libgcrypt" ,libgcrypt)
2540 ("linux-pam" ,linux-pam)
2541 ("openssh" ,openssh)
2545 `(("pkg-config" ,pkg-config)
2546 ("glib" ,glib "bin")
2547 ("glib" ,glib) ; for m4 macros
2548 ("python" ,python-2) ;for tests
2549 ("intltool" ,intltool)
2550 ("autoconf" ,autoconf)
2551 ("automake" ,automake)
2552 ("libxslt" ,libxslt) ;for documentation
2553 ("docbook-xml" ,docbook-xml-4.2)
2554 ("docbook-xsl" ,docbook-xsl)))
2557 (home-page "https://www.gnome.org")
2558 (synopsis "Daemon to store passwords and encryption keys")
2560 "gnome-keyring is a program that keeps passwords and other secrets for
2561 users. It is run as a daemon in the session, similar to ssh-agent, and other
2562 applications locate it via an environment variable or D-Bus.
2564 The program can manage several keyrings, each with its own master password,
2565 and there is also a session keyring which is never stored to disk, but
2566 forgotten when the session ends.")
2567 (license license:lgpl2.1+)))
2569 (define-public evince
2575 (uri (string-append "mirror://gnome/sources/evince/"
2576 (version-major+minor version) "/"
2577 "evince-" version ".tar.xz"))
2580 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2581 (build-system glib-or-gtk-build-system)
2583 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2585 (modify-phases %standard-phases
2586 (add-before 'install 'skip-gtk-update-icon-cache
2587 ;; Don't create 'icon-theme.cache'.
2589 (substitute* "data/Makefile"
2590 (("gtk-update-icon-cache") "true"))
2593 `(("libarchive" ,libarchive)
2594 ("libgxps" ,libgxps)
2595 ("libspectre" ,libspectre)
2596 ("djvulibre" ,djvulibre)
2597 ("ghostscript" ,ghostscript)
2598 ("poppler" ,poppler)
2599 ("libtiff" ,libtiff)
2601 ;; Build libkpathsea as a shared library for DVI support.
2602 ;; ("libkpathsea" ,texlive-bin)
2603 ("gnome-desktop" ,gnome-desktop)
2604 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2606 ("libgnome-keyring" ,libgnome-keyring)
2607 ("adwaita-icon-theme" ,adwaita-icon-theme)
2608 ("gdk-pixbuf" ,gdk-pixbuf)
2613 ("libxml2" ,libxml2)
2616 ("shared-mime-info" ,shared-mime-info)
2618 ("libcanberra" ,libcanberra)
2619 ("libsecret" ,libsecret)
2622 ("dogtail" ,python2-dogtail)))
2624 `(("itstool" ,itstool)
2625 ("intltool" ,intltool)
2626 ("glib" ,glib "bin")
2627 ("gobject-introspection" ,gobject-introspection)
2628 ("pkg-config" ,pkg-config)
2629 ("xmllint" ,libxml2)))
2630 (home-page "https://www.gnome.org/projects/evince/")
2631 (synopsis "GNOME's document viewer")
2633 "Evince is a document viewer for multiple document formats. It
2634 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2635 of Evince is to replace the multiple document viewers that exist
2636 on the GNOME Desktop with a single simple application.")
2637 (license license:gpl2+)))
2639 (define-public gsettings-desktop-schemas
2641 (name "gsettings-desktop-schemas")
2646 (uri (string-append "mirror://gnome/sources/" name "/"
2647 (version-major+minor version) "/"
2648 name "-" version ".tar.xz"))
2651 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2652 (build-system meson-build-system)
2654 '(#:phases (modify-phases %standard-phases
2655 (add-after 'unpack 'patch-schemas
2656 (lambda* (#:key inputs #:allow-other-keys)
2657 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2658 (substitute* (find-files "schemas"
2659 "\\.gschema\\.xml\\.in$")
2660 ;; Provide the correct file name of the default GNOME
2661 ;; background, 'adwaita-timed.xml'.
2662 (("@datadir@/backgrounds/gnome")
2663 (string-append theme "/share/backgrounds/gnome"))
2664 ;; Do not reference fonts, that may not exist.
2665 (("'Source Code Pro 10'") "'Monospace 11'"))
2669 ("gnome-backgrounds" ,gnome-backgrounds)))
2671 `(("intltool" ,intltool)
2672 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2673 ("gobject-introspection" ,gobject-introspection)
2674 ("pkg-config" ,pkg-config)))
2675 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2677 "GNOME settings for various desktop components")
2679 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2680 for settings shared by various components of the GNOME desktop.")
2681 (license license:lgpl2.1+)))
2683 (define-public python-liblarch
2685 (name "python-liblarch")
2691 (url "https://github.com/getting-things-gnome/liblarch")
2692 (commit (string-append "v" version))))
2693 (file-name (git-file-name name version))
2695 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2696 (build-system python-build-system)
2699 (modify-phases %standard-phases
2700 (add-before 'check 'start-xserver
2701 (lambda* (#:key inputs #:allow-other-keys)
2702 (system (format #f "~a/bin/Xvfb :1 &"
2703 (assoc-ref inputs "xorg-server")))
2704 (setenv "DISPLAY" ":1")
2707 `(("xorg-server" ,xorg-server-for-tests)))
2711 `(("python-pygobject" ,python-pygobject)))
2712 (home-page "https://wiki.gnome.org/Projects/liblarch")
2713 (synopsis "Library to easily handle complex data structures")
2715 "Liblarch is a Python library built to easily handle data structures such
2716 as lists, trees and acyclic graphs. There's also a GTK binding that will
2717 allow you to use your data structure in a @code{Gtk.Treeview}.
2719 Liblarch support multiple views of one data structure and complex filtering.
2720 That way, you have a clear separation between your data themselves (Model)
2721 and how they are displayed (View).")
2722 (license license:lgpl3+)))
2732 (url "https://github.com/getting-things-gnome/gtg")
2733 (commit (string-append "v" version))))
2734 (file-name (git-file-name name version))
2736 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2737 (build-system meson-build-system)
2741 (modify-phases %standard-phases
2742 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2743 (lambda* (#:key outputs #:allow-other-keys)
2744 (let ((prog (string-append (assoc-ref outputs "out")
2746 (pylib (string-append (assoc-ref outputs "out")
2748 ,(version-major+minor
2749 (package-version python))
2752 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2753 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2756 `(("desktop-file-utils" ,desktop-file-utils)
2757 ("gettext" ,gettext-minimal)
2758 ("glib:bin" ,glib "bin")
2759 ("gobject-introspection" ,gobject-introspection)
2760 ("gtk+:bin" ,gtk+ "bin")
2761 ("pkg-config" ,pkg-config)))
2763 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2765 ("python-dbus" ,python-dbus)
2766 ("python-liblarch" ,python-liblarch)
2767 ("python-pycairo" ,python-pycairo)
2768 ("python-pygobject" ,python-pygobject)
2769 ("python-pyxdg" ,python-pyxdg)))
2770 (home-page "https://wiki.gnome.org/Apps/GTG")
2771 (synopsis "Personal organizer for the GNOME desktop")
2773 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2774 organizer for the GNOME desktop environment inspired by the Getting Things
2775 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2776 and ease of use in mind so it can be used as more than just GTD software.
2777 GTG is intended to help you track everything you need to do and need to
2778 know, from small tasks to large projects.")
2779 (license license:gpl3+)))
2781 (define-public icon-naming-utils
2783 (name "icon-naming-utils")
2788 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2789 version ".tar.bz2"))
2792 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2793 (build-system gnu-build-system)
2796 ("perl-xml-simple" ,perl-xml-simple)))
2799 (modify-phases %standard-phases
2800 (add-after 'install 'set-load-paths
2801 ;; Tell 'icon-name-mapping' where XML::Simple is.
2802 (lambda* (#:key outputs #:allow-other-keys)
2803 (let* ((out (assoc-ref outputs "out"))
2804 (prog (string-append out "/libexec/icon-name-mapping")))
2807 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2809 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2811 "Utility to implement the Freedesktop Icon Naming Specification")
2813 "To help with the transition to the Freedesktop Icon Naming
2814 Specification, the icon naming utility maps the icon names used by the
2815 GNOME and KDE desktops to the icon names proposed in the specification.")
2816 (license license:lgpl2.1+)))
2818 (define-public gnome-icon-theme
2820 (name "gnome-icon-theme")
2825 (uri (string-append "mirror://gnome/sources/" name "/"
2826 (version-major+minor version) "/"
2827 name "-" version ".tar.xz"))
2830 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2831 (build-system gnu-build-system)
2834 ;; Don't create 'icon-theme.cache'.
2835 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2836 (true (string-append coreutils "/bin/true")))
2837 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2839 `(("icon-naming-utils" ,icon-naming-utils)
2840 ("intltool" ,intltool)
2841 ("pkg-config" ,pkg-config)))
2842 (home-page "https://wiki.gnome.org/Personalization")
2843 (synopsis "GNOME icon theme")
2844 (description "Icons for the GNOME desktop.")
2845 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2847 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2848 (define-public adwaita-icon-theme
2849 (package (inherit gnome-icon-theme)
2850 (name "adwaita-icon-theme")
2854 (uri (string-append "mirror://gnome/sources/" name "/"
2855 (version-major+minor version) "/"
2856 name "-" version ".tar.xz"))
2859 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2861 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2863 (define-public tango-icon-theme
2865 (name "tango-icon-theme")
2869 (uri (string-append "http://tango.freedesktop.org/releases/"
2870 "tango-icon-theme-" version ".tar.bz2"))
2873 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2874 (build-system gnu-build-system)
2876 `(("icon-naming-utils" ,icon-naming-utils)
2877 ("intltool" ,intltool)
2878 ("imagemagick" ,imagemagick)
2879 ("pkg-config" ,pkg-config)))
2880 (home-page "http://tango-project.org/")
2881 (synopsis "Tango icon theme")
2882 (description "This is an icon theme that follows the Tango visual
2884 (license license:public-domain)))
2886 (define-public shared-mime-info
2888 (name "shared-mime-info")
2893 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2894 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2898 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2899 (build-system gnu-build-system)
2901 ;; The build system appears not to be parallel-safe.
2902 '(#:parallel-build? #f))
2905 ("libxml2" ,libxml2)))
2907 `(("gettext" ,gettext-minimal)
2908 ("itstool" ,itstool)
2909 ("pkg-config" ,pkg-config)))
2910 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2911 (synopsis "Database of common MIME types")
2913 "The shared-mime-info package contains the core database of common types
2914 and the update-mime-database command used to extend it. It requires glib2 to
2915 be installed for building the update command. Additionally, it uses intltool
2916 for translations, though this is only a dependency for the maintainers. This
2917 database is translated at Transifex.")
2918 (license license:gpl2+)))
2920 (define-public system-config-printer
2922 (name "system-config-printer")
2928 "https://github.com/OpenPrinting/system-config-printer/releases/"
2929 "download/v" version
2930 "/system-config-printer-" version ".tar.xz"))
2932 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2933 (build-system glib-or-gtk-build-system)
2935 `(#:imported-modules ((guix build python-build-system)
2936 ,@%glib-or-gtk-build-system-modules)
2938 (modify-phases %standard-phases
2939 (add-after 'unpack 'patch-Makefile.am
2941 ;; The Makefile generates some scripts, so set a valid shebang
2942 (substitute* "Makefile.am"
2943 (("/bin/bash") (which "bash")))
2944 (delete-file "configure")
2946 (add-after 'unpack 'patch-docbook-xml
2947 (lambda* (#:key inputs #:allow-other-keys)
2948 ;; Modify the man XML otherwise xmlto tries to access the network
2949 (substitute* "man/system-config-printer.xml"
2950 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2951 (string-append (assoc-ref inputs "docbook-xml")
2952 "/xml/dtd/docbook/")))
2954 (add-after 'install 'wrap-for-python
2955 (@@ (guix build python-build-system) wrap))
2956 (add-after 'install 'wrap
2957 (lambda* (#:key outputs #:allow-other-keys)
2958 (let ((out (assoc-ref outputs "out"))
2959 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2962 (wrap-program program
2963 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2965 (string-append out "/bin/" name))
2966 '("system-config-printer"
2967 "system-config-printer-applet"
2968 "install-printerdriver"
2969 "scp-dbus-service"))))
2972 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2973 ("gobject-introspection" ,gobject-introspection)
2977 ("python-dbus" ,python-dbus)
2978 ("python-pygobject" ,python-pygobject)
2979 ("python-pycups" ,python-pycups)
2980 ("python-requests" ,python-requests)
2981 ("python-pycairo" ,python-pycairo)
2982 ("libnotify" ,libnotify)
2983 ("packagekit" ,packagekit)))
2985 `(("pkg-config" ,pkg-config)
2986 ("desktop-file-utils" ,desktop-file-utils)
2988 ("autoconf" ,autoconf)
2989 ("automake" ,automake)
2990 ("intltool" ,intltool)
2992 ("docbook-xml" ,docbook-xml-4.1.2)
2993 ("docbook-xsl" ,docbook-xsl)
2994 ("libxml2" ,libxml2)))
2995 (home-page "https://github.com/zdohnal/system-config-printer")
2996 (synopsis "CUPS administration tool")
2998 "system-config-printer is a CUPS administration tool. It's written in
2999 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
3001 (license license:gpl2+)))
3003 (define-public hicolor-icon-theme
3005 (name "hicolor-icon-theme")
3010 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3011 "hicolor-icon-theme-" version ".tar.xz"))
3014 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3015 (build-system gnu-build-system)
3017 `(#:tests? #f)) ; no check target
3018 (home-page "https://icon-theme.freedesktop.org/releases/")
3020 "Freedesktop icon theme")
3022 "Freedesktop icon theme.")
3023 (license license:gpl2)))
3025 (define-public libnotify
3032 (uri (string-append "mirror://gnome/sources/" name "/"
3033 (version-major+minor version) "/"
3034 name "-" version ".tar.xz"))
3037 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3038 (build-system meson-build-system)
3041 (modify-phases %standard-phases
3042 (add-after 'unpack 'fix-docbook
3043 (lambda* (#:key inputs #:allow-other-keys)
3044 ;; Don't attempt to download XSL schema.
3045 (substitute* "meson.build"
3046 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3047 /manpages/docbook.xsl")
3048 (string-append (assoc-ref inputs "docbook-xsl")
3049 "/xml/xsl/docbook-xsl-"
3050 ,(package-version docbook-xsl)
3051 "/manpages/docbook.xsl")))
3054 `(;; In Requires of libnotify.pc.
3055 ("gdk-pixbuf" ,gdk-pixbuf)
3059 ("libpng" ,libpng)))
3061 `(("pkg-config" ,pkg-config)
3062 ("glib" ,glib "bin")
3063 ("gobject-introspection" ,gobject-introspection)
3065 ;; For the documentation.
3066 ("gtk-doc" ,gtk-doc/stable)
3067 ("xsltproc" ,libxslt)
3068 ("docbook-xsl" ,docbook-xsl)))
3069 (home-page "https://developer-next.gnome.org/libnotify/")
3071 "GNOME desktop notification library")
3073 "Libnotify is a library that sends desktop notifications to a
3074 notification daemon, as defined in the Desktop Notifications spec. These
3075 notifications can be used to inform the user about an event or display
3076 some form of information without getting in the user's way.")
3077 (license license:lgpl2.1+)))
3079 (define-public libpeas
3086 (uri (string-append "mirror://gnome/sources/" name "/"
3087 (version-major+minor version) "/"
3088 name "-" version ".tar.xz"))
3091 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3092 (build-system meson-build-system)
3095 (modify-phases %standard-phases
3096 (add-before 'check 'start-xserver
3097 (lambda* (#:key inputs #:allow-other-keys)
3098 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3100 (setenv "DISPLAY" disp)
3101 ;; Tests require a running X server.
3102 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3108 ("python-pygobject" ,python-pygobject)))
3110 `(("pkg-config" ,pkg-config)
3111 ("gettext" ,gettext-minimal)
3112 ("glib:bin" ,glib "bin")
3113 ("gobject-introspection" ,gobject-introspection)
3114 ("xorg-server" ,xorg-server-for-tests)))
3116 ;; The .pc file "Requires" gobject-introspection.
3117 `(("gobject-introspection" ,gobject-introspection)))
3118 (home-page "https://wiki.gnome.org/Libpeas")
3119 (synopsis "GObject plugin system")
3121 "Libpeas is a gobject-based plugin engine, targeted at giving every
3122 application the chance to assume its own extensibility. It also has a set of
3123 features including, but not limited to: multiple extension points; on-demand
3124 (lazy) programming language support for C, Python and JS; simplicity of the
3126 (license license:lgpl2.0+)))
3128 (define-public gtkglext
3134 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3135 version "/gtkglext-" version ".tar.gz"))
3137 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3138 (patches (search-patches
3139 "gtkglext-disable-disable-deprecated.patch"))))
3140 (build-system gnu-build-system)
3143 (modify-phases %standard-phases
3144 ;; Fix a collision between a local variable and a definition from
3145 ;; glibc's string.h.
3146 (add-after 'unpack 'fix-collision
3148 (substitute* "gdk/gdkglshapes.c"
3149 ((" index") " triangle_index"))
3151 (inputs `(("gtk+" ,gtk+-2)
3156 (native-inputs `(("pkg-config" ,pkg-config)
3157 ("glib" ,glib "bin")))
3158 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3159 (home-page "https://projects.gnome.org/gtkglext")
3160 (synopsis "OpenGL extension to GTK+")
3161 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3162 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3163 API add-ons to make GTK+ widgets OpenGL-capable.")
3164 (license license:lgpl2.1+)))
3166 (define-public glade3
3172 (uri (string-append "mirror://gnome/sources/" name "/"
3173 (version-major+minor version) "/"
3174 name "-" version ".tar.xz"))
3177 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3178 (build-system glib-or-gtk-build-system)
3181 (modify-phases %standard-phases
3182 (add-before 'configure 'fix-docbook
3183 (lambda* (#:key inputs #:allow-other-keys)
3184 (substitute* "man/Makefile.in"
3185 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3186 (string-append (assoc-ref inputs "docbook-xsl")
3187 "/xml/xsl/docbook-xsl-"
3188 ,(package-version docbook-xsl)
3189 "/manpages/docbook.xsl")))
3191 (add-before 'check 'pre-check
3193 (setenv "HOME" "/tmp")
3194 ;; Tests require a running X server.
3195 (system "Xvfb :1 &")
3196 (setenv "DISPLAY" ":1")
3200 ("libxml2" ,libxml2)))
3202 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3203 ("intltool" ,intltool)
3204 ("itstool" ,itstool)
3205 ("libxslt" ,libxslt) ;for xsltproc
3206 ("docbook-xml" ,docbook-xml-4.2)
3207 ("docbook-xsl" ,docbook-xsl)
3208 ("python" ,python-2)
3209 ("pkg-config" ,pkg-config)
3210 ("xorg-server" ,xorg-server-for-tests)))
3211 (home-page "https://glade.gnome.org")
3212 (synopsis "GTK+ rapid application development tool")
3213 (description "Glade is a rapid application development (RAD) tool to
3214 enable quick & easy development of user interfaces for the GTK+ toolkit and
3215 the GNOME desktop environment.")
3216 (license license:lgpl2.0+)
3217 (native-search-paths (list (search-path-specification
3218 (variable "GLADE_CATALOG_SEARCH_PATH")
3219 (files '("share/glade/catalogs")))
3220 (search-path-specification
3221 (variable "GLADE_MODULE_SEARCH_PATH")
3222 (files '("lib/glade/modules")))))))
3224 (define-public libcroco
3230 (uri (string-append "mirror://gnome/sources/" name "/"
3231 (version-major+minor version) "/"
3232 name "-" version ".tar.xz"))
3233 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3236 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3237 (build-system gnu-build-system)
3239 `(("pkg-config" ,pkg-config)))
3242 ("libxml2" ,libxml2)
3244 (home-page "https://github.com/GNOME/libcroco")
3245 (synopsis "CSS2 parsing and manipulation library")
3247 "Libcroco is a standalone CSS2 parsing and manipulation library.
3248 The parser provides a low level event driven SAC-like API and a CSS object
3249 model like API. Libcroco provides a CSS2 selection engine and an experimental
3250 XML/CSS rendering engine.")
3253 (license license:lgpl2.1)))
3255 (define-public libgsf
3261 (uri (string-append "mirror://gnome/sources/" name "/"
3262 (version-major+minor version) "/"
3263 name "-" version ".tar.xz"))
3266 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3267 (build-system gnu-build-system)
3269 '(#:configure-flags '("--disable-static")))
3271 `(("pkg-config" ,pkg-config)
3272 ("gettext" ,gettext-minimal)
3276 ("perl-xml-parser" ,perl-xml-parser)))
3281 `(("gdk-pixbuf" ,gdk-pixbuf)
3283 ("libxml2" ,libxml2)))
3284 (home-page "https://www.gnome.org/projects/libgsf")
3285 (synopsis "GNOME's Structured File Library")
3287 "Libgsf aims to provide an efficient extensible I/O abstraction for
3288 dealing with different structured file formats.")
3291 (license license:lgpl2.1)))
3293 (define-public librsvg
3299 (uri (string-append "mirror://gnome/sources/" name "/"
3300 (version-major+minor version) "/"
3301 name "-" version ".tar.xz"))
3304 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3305 (build-system gnu-build-system)
3308 (list "--disable-static"
3309 "--enable-vala") ; needed for e.g. gnome-mines
3311 (modify-phases %standard-phases
3312 (add-before 'configure 'pre-configure
3313 (lambda* (#:key inputs #:allow-other-keys)
3314 (substitute* "gdk-pixbuf-loader/Makefile.in"
3315 ;; By default the gdk-pixbuf loader is installed under
3316 ;; gdk-pixbuf's prefix. Work around that.
3317 (("gdk_pixbuf_moduledir = .*$")
3318 (string-append "gdk_pixbuf_moduledir = "
3319 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3321 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3322 (("gdk_pixbuf_cache_file = .*$")
3323 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3325 (add-before 'check 'remove-failing-tests
3327 (with-directory-excursion "tests/fixtures/reftests"
3328 (for-each delete-file
3329 '(;; This test fails on i686:
3330 "svg1.1/masking-path-04-b.svg"
3331 ;; This test fails on armhf:
3332 "svg1.1/masking-mask-01-b.svg"
3333 ;; This test fails on aarch64:
3334 "bugs/777834-empty-text-children.svg")))
3337 `(("pkg-config" ,pkg-config)
3339 ("glib" ,glib "bin") ; glib-mkenums, etc.
3340 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3342 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3343 ;; this ancient version of librsvg.
3344 ("pango" ,pango-1.42)
3345 ("libcroco" ,libcroco)
3348 ("libxml2" ,libxml2)))
3350 ;; librsvg-2.0.pc refers to all of that.
3352 ("gdk-pixbuf" ,gdk-pixbuf)
3354 (home-page "https://wiki.gnome.org/LibRsvg")
3355 (synopsis "Render SVG files using Cairo")
3357 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3359 (license license:lgpl2.0+)))
3361 (define-public librsvg-next
3367 (uri (string-append "mirror://gnome/sources/librsvg/"
3368 (version-major+minor version) "/"
3369 "librsvg-" version ".tar.xz"))
3372 "0n79i4wj9hm0d3bbn4xvknq5ylhqs16pvhaqr1rxspx9wfc8lad4"))
3373 (modules '((guix build utils)))
3375 '(begin (delete-file-recursively "vendor")
3377 (build-system cargo-build-system)
3378 (outputs '("out" "doc"))
3380 `(#:install-source? #f
3382 ((guix build cargo-build-system)
3384 ((guix build gnu-build-system) #:prefix gnu:))
3386 (("rust-bitflags" ,rust-bitflags-1)
3387 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3388 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3389 ("rust-cast" ,rust-cast-0.2)
3390 ("rust-cssparser" ,rust-cssparser-0.27)
3391 ("rust-data-url" ,rust-data-url-0.1)
3392 ("rust-encoding" ,rust-encoding-0.2)
3393 ("rust-float-cmp" ,rust-float-cmp-0.8)
3394 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3395 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3396 ("rust-gio" ,rust-gio-0.8)
3397 ("rust-gio-sys" ,rust-gio-sys-0.9)
3398 ("rust-glib" ,rust-glib-0.9)
3399 ("rust-glib-sys" ,rust-glib-sys-0.9)
3400 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3401 ("rust-itertools" ,rust-itertools-0.9)
3402 ("rust-language-tags" ,rust-language-tags-0.2)
3403 ("rust-libc" ,rust-libc-0.2)
3404 ("rust-locale-config" ,rust-locale-config-0.3)
3405 ("rust-markup5ever" ,rust-markup5ever-0.10)
3406 ("rust-nalgebra" ,rust-nalgebra-0.21)
3407 ("rust-num-traits" ,rust-num-traits-0.2)
3408 ("rust-once-cell" ,rust-once-cell-1)
3409 ("rust-pkg-config" ,rust-pkg-config-0.3)
3410 ("rust-pango" ,rust-pango-0.8)
3411 ("rust-pango-sys" ,rust-pango-sys-0.9)
3412 ("rust-pangocairo" ,rust-pangocairo-0.9)
3413 ("rust-rayon" ,rust-rayon-1)
3414 ("rust-rctree" ,rust-rctree-0.3)
3415 ("rust-rgb" ,rust-rgb-0.8)
3416 ("rust-regex" ,rust-regex-1)
3417 ("rust-selectors" ,rust-selectors-0.22)
3418 ("rust-string-cache" ,rust-string-cache-0.8)
3419 ("rust-tinyvec" ,rust-tinyvec-0.3)
3420 ("rust-url" ,rust-url-2)
3421 ("rust-xml5ever" ,rust-xml5ever-0.16))
3422 #:cargo-development-inputs
3423 (("rust-assert-cmd" ,rust-assert-cmd-1)
3424 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3425 ("rust-chrono" ,rust-chrono-0.4)
3426 ("rust-criterion" ,rust-criterion-0.3)
3427 ("rust-float-cmp" ,rust-float-cmp-0.8)
3428 ("rust-lopdf" ,rust-lopdf-0.26)
3429 ("rust-png" ,rust-png-0.16)
3430 ("rust-predicates" ,rust-predicates-1)
3431 ("rust-tempfile" ,rust-tempfile-3))
3433 (modify-phases %standard-phases
3434 (add-after 'unpack 'patch-docbook-xml
3435 (lambda* (#:key inputs #:allow-other-keys)
3436 (with-directory-excursion "doc"
3437 (substitute* "rsvg-docs.xml"
3438 (("http://www.oasis-open.org/docbook/xml/4.3/")
3439 (string-append (assoc-ref inputs "docbook-xml")
3440 "/xml/dtd/docbook/"))))
3442 (add-after 'unpack 'prepare-for-build
3444 ;; In lieu of #:make-flags
3445 (setenv "CC" ,(cc-for-target))
3446 ;; Something about the build environment resists building
3447 ;; successfully with the '--locked' flag.
3448 (substitute* '("Makefile.am" "Makefile.in")
3451 (add-before 'configure 'pre-configure
3453 (substitute* "gdk-pixbuf-loader/Makefile.in"
3454 ;; By default the gdk-pixbuf loader is installed under
3455 ;; gdk-pixbuf's prefix. Work around that.
3456 (("gdk_pixbuf_moduledir = .*$")
3457 (string-append "gdk_pixbuf_moduledir = "
3458 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3460 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3461 (("gdk_pixbuf_cache_file = .*$")
3462 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3464 (add-after 'configure 'gnu-configure
3465 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3466 ((assoc-ref gnu:%standard-phases 'configure)
3467 #:native-inputs native-inputs
3471 (list "--disable-static"
3473 (string-append "--with-html-dir="
3474 (assoc-ref %outputs "doc")
3475 "/share/gtk-doc/html")))))
3476 (add-after 'configure 'dont-vendor-self
3477 (lambda* (#:key vendor-dir #:allow-other-keys)
3478 ;; Don't keep the whole tarball in the vendor directory
3479 (delete-file-recursively
3480 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3483 (assoc-ref gnu:%standard-phases 'build))
3484 (add-before 'check 'ignore-failing-tests
3485 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3487 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3488 (("fn background_color_option_invalid_color_yields_error" all)
3489 (string-append "#[ignore] " all))
3490 (("fn empty_input_yields_error" all)
3491 (string-append "#[ignore] " all))
3492 (("fn empty_svg_yields_error" all)
3493 (string-append "#[ignore] " all))
3494 (("fn env_source_data_epoch_empty" all)
3495 (string-append "#[ignore] " all))
3496 (("fn env_source_data_epoch_no_digits" all)
3497 (string-append "#[ignore] " all))
3498 (("fn env_source_data_epoch_trailing_garbage" all)
3499 (string-append "#[ignore] " all))
3500 (("fn export_id_option_error" all)
3501 (string-append "#[ignore] " all))
3502 (("fn huge_zoom_factor_yields_error" all)
3503 (string-append "#[ignore] " all))
3504 (("fn multiple_input_files_not_allowed_for_png_output" all)
3505 (string-append "#[ignore] " all))
3506 (("fn stylesheet_option_error" all)
3507 (string-append "#[ignore] " all)))
3511 ((assoc-ref gnu:%standard-phases 'check)
3512 #:test-target "check")))
3514 (assoc-ref gnu:%standard-phases 'install)))))
3516 `(("docbook-xml" ,docbook-xml-4.3)
3517 ("glib" ,glib "bin")
3518 ("gobject-introspection" ,gobject-introspection)
3519 ("pkg-config" ,pkg-config)
3520 ("python" ,python-wrapper)
3525 ("fontconfig" ,fontconfig)
3526 ("freetype" ,freetype)
3527 ("harfbuzz" ,harfbuzz)
3528 ("libcroco" ,libcroco)
3530 ("libxml2" ,libxml2)
3534 ("gdk-pixbuf" ,gdk-pixbuf)
3536 (synopsis "SVG rendering library")
3537 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3538 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3539 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3541 (home-page "https://wiki.gnome.org/LibRsvg")
3542 (license license:lgpl2.1+)))
3544 (define-public libidl
3550 (uri (string-append "mirror://gnome/sources/libIDL/"
3551 (version-major+minor version) "/"
3552 "libIDL-" version ".tar.bz2"))
3555 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3556 (build-system gnu-build-system)
3557 (inputs `(("glib" ,glib)))
3559 `(("pkg-config" ,pkg-config)
3562 (home-page "http://freecode.com/projects/libidl")
3563 (synopsis "Create trees of CORBA Interface Definition Language files")
3564 (description "Libidl is a library for creating trees of CORBA Interface
3565 Definition Language (idl) files, which is a specification for defining
3566 portable interfaces. libidl was initially written for orbit (the orb from the
3567 GNOME project, and the primary means of libidl distribution). However, the
3568 functionality was designed to be as reusable and portable as possible.")
3569 (properties `((upstream-name . "libIDL")))
3570 (license license:lgpl2.0+)))
3573 (define-public orbit2
3579 (uri (let ((upstream-name "ORBit2"))
3580 (string-append "mirror://gnome/sources/" upstream-name "/"
3581 (version-major+minor version) "/"
3582 upstream-name "-" version ".tar.bz2")))
3585 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3586 (build-system gnu-build-system)
3588 `(;; The "timeout-server" test hangs when run in parallel.
3589 #:parallel-tests? #f
3591 '(;; We don't need static libraries, plus they don't build reproducibly
3592 ;; (non-deterministic ordering of .o files in the archive.)
3595 ;; The programmer kindly gives us a hook to turn off deprecation
3597 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3598 ;; ... which they then completly ignore !!
3600 (modify-phases %standard-phases
3601 (add-before 'configure 'ignore-deprecations
3603 (substitute* "linc2/src/Makefile.in"
3604 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3606 (inputs `(("glib" ,glib)
3607 ("libidl" ,libidl)))
3609 `(("pkg-config" ,pkg-config)))
3610 (home-page "https://projects.gnome.org/orbit2/")
3611 (synopsis "CORBA 2.4-compliant Object Request Broker")
3612 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3613 featuring mature C, C++ and Python bindings.")
3614 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3615 ;; a version. SOME of the code files have licence notices for GPLv2+.
3616 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3617 (license license:gpl2+)
3618 (properties `((upstream-name . "ORBit2")))))
3621 (define-public libbonobo
3627 (uri (string-append "mirror://gnome/sources/" name "/"
3628 (version-major+minor version)
3629 "/" name "-" version ".tar.bz2"))
3631 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3632 (patches (search-patches
3633 "libbonobo-activation-test-race.patch"))))
3634 (build-system gnu-build-system)
3636 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3638 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3639 ;; ... which they then completly ignore !!
3641 (modify-phases %standard-phases
3642 (add-before 'configure 'ignore-deprecations
3644 (substitute* "activation-server/Makefile.in"
3645 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3648 ;; There's apparently a race condition between the server stub
3649 ;; generation and linking of the example under 'samples/echo' that can
3650 ;; lead do undefined references when building in parallel, as reported
3651 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3652 ;; Thus, disable parallel builds.
3653 #:parallel-build? #f))
3654 (inputs `(("popt" ,popt)
3655 ("libxml2" ,libxml2)))
3656 ;; The following are Required by the .pc file
3659 ("orbit2" ,orbit2)))
3661 `(("intltool" ,intltool)
3662 ("pkg-config" ,pkg-config)
3663 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3666 (home-page "https://developer.gnome.org/libbonobo/")
3667 (synopsis "Framework for creating reusable components for use in GNOME applications")
3668 (description "Bonobo is a framework for creating reusable components for
3669 use in GNOME applications, built on top of CORBA.")
3670 ;; Licence not explicitly stated. Source files contain no licence notices.
3671 ;; Tarball contains text of both GPLv2 and LGPLv2
3672 ;; GPLv2 covers both conditions
3673 (license license:gpl2+)))
3676 (define-public gconf
3683 (let ((upstream-name "GConf"))
3684 (string-append "mirror://gnome/sources/" upstream-name "/"
3685 (version-major+minor version) "/"
3686 upstream-name "-" version ".tar.xz")))
3688 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3689 (build-system gnu-build-system)
3690 (inputs `(("dbus-glib" ,dbus-glib)
3691 ("libxml2" ,libxml2)))
3692 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3693 ("orbit2" ,orbit2)))
3695 `(("intltool" ,intltool)
3696 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3697 ("pkg-config" ,pkg-config)))
3698 (home-page "https://projects.gnome.org/gconf/")
3699 (synopsis "Store application preferences")
3700 (description "Gconf is a system for storing application preferences. It
3701 is intended for user preferences; not arbitrary data storage.")
3702 (license license:lgpl2.0+)
3703 (properties '((upstream-name . "GConf")))))
3706 (define-public gnome-mime-data
3708 (name "gnome-mime-data")
3712 (uri (string-append "mirror://gnome/sources/" name "/"
3713 (version-major+minor version) "/"
3714 name "-" version ".tar.bz2"))
3717 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3718 (build-system gnu-build-system)
3721 ("intltool" ,intltool)))
3723 '(#:phases (modify-phases %standard-phases
3724 (add-after 'configure 'use-our-intltool
3726 ;; Do not use the bundled intltool commands, which lack
3727 ;; the "dotless @INC" fixes of our 'intltool' package.
3728 (substitute* (find-files "." "^Makefile$")
3729 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3730 (string-append "INTLTOOL_" tool " = intltool-"
3731 (string-downcase tool) "\n")))
3733 (home-page "https://www.gnome.org")
3734 (synopsis "Base MIME and Application database for GNOME")
3735 (description "GNOME Mime Data is a module which contains the base MIME
3736 and Application database for GNOME. The data stored by this module is
3737 designed to be accessed through the MIME functions in GnomeVFS.")
3738 (license license:gpl2+)))
3741 (define-public gnome-vfs
3747 (uri (string-append "mirror://gnome/sources/" name "/"
3748 (version-major+minor version) "/"
3749 name "-" version ".tar.bz2"))
3752 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3753 (build-system gnu-build-system)
3756 (modify-phases %standard-phases
3757 (add-before 'configure 'ignore-deprecations
3759 (substitute* '("libgnomevfs/Makefile.in"
3760 "daemon/Makefile.in")
3761 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3763 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3765 (substitute* "test/test-async-cancel.c"
3766 (("EXIT_FAILURE") "77"))
3768 (inputs `(("libxml2" ,libxml2)
3769 ("dbus-glib" ,dbus-glib)
3771 ("gnome-mime-data" ,gnome-mime-data)
3774 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3775 ("intltool" ,intltool)
3776 ("pkg-config" ,pkg-config)))
3777 (home-page "https://developer.gnome.org/gnome-vfs/")
3778 (synopsis "Access files and folders in GNOME applications")
3780 "GnomeVFS is the core library used to access files and folders in GNOME
3781 applications. It provides a file system abstraction which allows applications
3782 to access local and remote files with a single consistent API.")
3783 (license license:lgpl2.0+)))
3787 (define-public libgnome
3793 (uri (string-append "mirror://gnome/sources/" name "/"
3794 (version-major+minor version) "/"
3795 name "-" version ".tar.bz2"))
3798 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3799 (patches (search-patches "libgnome-encoding.patch"))))
3800 (build-system gnu-build-system)
3803 (modify-phases %standard-phases
3804 (add-before 'configure 'enable-deprecated
3806 (substitute* "libgnome/Makefile.in"
3807 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3809 (inputs `(("libxml2" ,libxml2)))
3811 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3812 ("intltool" ,intltool)
3813 ("pkg-config" ,pkg-config)))
3814 ;; The following are listed as Required in the .pc file
3815 ;; (except for libcanberra -- which seems to be oversight on the part
3816 ;; of the upstream developers -- anything that links against libgnome,
3817 ;; must also link against libcanberra
3819 `(("libcanberra" ,libcanberra)
3820 ("libbonobo" ,libbonobo)
3822 ("gnome-vfs" ,gnome-vfs)
3823 ("popt" ,popt))) ;gnome-program.h includes popt.h
3824 (home-page "https://developer.gnome.org/libgnome/")
3825 (synopsis "Useful routines for building applications")
3826 (description "The libgnome library provides a number of useful routines
3827 for building modern applications, including session management, activation of
3828 files and URIs, and displaying help.")
3829 (license license:lgpl2.0+)))
3832 (define-public libart-lgpl
3834 (name "libart-lgpl")
3838 (uri (let ((upstream-name "libart_lgpl"))
3839 (string-append "mirror://gnome/sources/" upstream-name "/"
3840 (version-major+minor version) "/"
3841 upstream-name "-" version ".tar.bz2")))
3844 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3845 (build-system gnu-build-system)
3847 `(("pkg-config" ,pkg-config)))
3848 (home-page "https://people.gnome.org/~mathieu/libart")
3849 (synopsis "2D drawing library")
3850 (description "Libart is a 2D drawing library intended as a
3851 high-quality vector-based 2D library with antialiasing and alpha composition.")
3852 (license license:lgpl2.0+)))
3856 (define-public libgnomecanvas
3858 (name "libgnomecanvas")
3862 (uri (string-append "mirror://gnome/sources/" name "/"
3863 (version-major+minor version) "/"
3864 name "-" version ".tar.gz"))
3867 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3868 (build-system gnu-build-system)
3869 ;; Mentioned as Required in the .pc file
3870 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3873 `(("intltool" ,intltool)
3874 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3875 ("pkg-config" ,pkg-config)))
3876 (home-page "https://developer.gnome.org/libgnomecanvas/")
3877 (synopsis "Flexible widget for creating interactive structured graphics")
3878 (description "The GnomeCanvas widget provides a flexible widget for
3879 creating interactive structured graphics.")
3880 (license license:lgpl2.0+)))
3882 (define-public libgnomecanvasmm
3884 (name "libgnomecanvasmm")
3888 (uri (string-append "mirror://gnome/sources/" name "/"
3889 (version-major+minor version) "/"
3890 name "-" version ".tar.bz2"))
3893 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3894 (build-system gnu-build-system)
3895 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3897 `(("gtkmm-2" ,gtkmm-2)
3898 ("pkg-config" ,pkg-config)))
3899 (home-page "https://gtkmm.org")
3900 (synopsis "C++ bindings to the GNOME Canvas library")
3901 (description "C++ bindings to the GNOME Canvas library.")
3902 (license license:lgpl2.0+)))
3904 (define-public libgnomeui
3910 (uri (string-append "mirror://gnome/sources/" name "/"
3911 (version-major+minor version) "/"
3912 name "-" version ".tar.bz2"))
3913 (patches (search-patches "libgnomeui-utf8.patch"))
3916 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3917 (build-system gnu-build-system)
3918 ;; Mentioned as Required in the .pc file
3919 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3920 ("libgnome" ,libgnome)
3921 ("libgnomecanvas" ,libgnomecanvas)
3922 ("libgnome-keyring" ,libgnome-keyring)))
3923 (inputs `(("libjpeg" ,libjpeg-turbo)
3925 ("libbonobo" ,libbonobo)
3926 ("libxml2" ,libxml2)
3927 ("libglade" ,libglade)))
3929 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3930 ("intltool" ,intltool)
3931 ("pkg-config" ,pkg-config)))
3932 (home-page "https://developer.gnome.org/libgnomeui/")
3933 (synopsis "Additional widgets for applications")
3934 (description "The libgnomeui library provides additional widgets for
3935 applications. Many of the widgets from libgnomeui have already been
3937 (license license:lgpl2.0+)))
3939 (define-public libglade
3945 (uri (string-append "mirror://gnome/sources/" name "/"
3946 (version-major+minor version) "/"
3947 name "-" version ".tar.bz2"))
3950 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3951 (build-system gnu-build-system)
3953 `(("python" ,python))) ;; needed for the optional libglade-convert program
3955 `(("gtk+-2" ,gtk+-2)
3956 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3958 `(("pkg-config" ,pkg-config)))
3959 (home-page "https://developer.gnome.org/libglade")
3960 (synopsis "Load glade interfaces and access the glade built widgets")
3961 (description "Libglade is a library that provides interfaces for loading
3962 graphical interfaces described in glade files and for accessing the
3963 widgets built in the loading process.")
3964 (license license:gpl2+))) ; This is correct. GPL not LGPL
3966 (define-public libgnomeprint
3967 ;; This library has been deprecated since 2006; see
3968 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3970 (name "libgnomeprint")
3974 (uri (string-append "mirror://gnome/sources/" name "/"
3975 (version-major+minor version) "/"
3976 name "-" version ".tar.bz2"))
3979 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3980 (build-system gnu-build-system)
3983 ("libart-lgpl" ,libart-lgpl)
3985 ("libxml2" ,libxml2)))
3987 `(("intltool" ,intltool)
3988 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3989 ("pkg-config" ,pkg-config)))
3990 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3991 (synopsis "Printing framework for GNOME")
3993 "GNOME-print was a printing framework for GNOME. It has been deprecated
3994 since ca. 2006, when GTK+ itself incorporated printing support.")
3995 (license license:lgpl2.0+)))
3998 (define-public libgnomeprintui
3999 ;; Deprecated; see libgnomeprint.
4001 (name "libgnomeprintui")
4005 (uri (string-append "mirror://gnome/sources/" name "/"
4006 (version-major+minor version) "/"
4007 name "-" version ".tar.bz2"))
4010 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4011 (build-system gnu-build-system)
4012 ;; Mentioned as Required in the .pc file
4013 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4014 (inputs `(("gtk+" ,gtk+-2)
4016 ("gnome-icon-theme" ,gnome-icon-theme)
4017 ("libgnomecanvas" ,libgnomecanvas)
4018 ("libxml2" ,libxml2)))
4020 `(("intltool" ,intltool)
4021 ("pkg-config" ,pkg-config)))
4022 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4023 (synopsis "Printing framework for GNOME")
4024 (description (package-description libgnomeprint))
4025 (license license:lgpl2.0+)))
4027 (define-public libbonoboui
4029 (name "libbonoboui")
4033 (uri (string-append "mirror://gnome/sources/" name "/"
4034 (version-major+minor version) "/"
4035 name "-" version ".tar.bz2"))
4038 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4039 (build-system gnu-build-system)
4042 (modify-phases %standard-phases
4043 (add-before 'check 'start-xserver
4044 (lambda* (#:key inputs #:allow-other-keys)
4045 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4048 (setenv "HOME" (getcwd))
4049 (setenv "DISPLAY" disp)
4050 ;; There must be a running X server and make check doesn't start one.
4051 ;; Therefore we must do it.
4052 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4053 ;; Mentioned as Required by the .pc file
4054 (propagated-inputs `(("libxml2" ,libxml2)))
4057 ("pangox-compat" ,pangox-compat)
4058 ("libgnome" ,libgnome)
4059 ("libgnomecanvas" ,libgnomecanvas)
4060 ("libglade" ,libglade)))
4062 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4063 ("intltool" ,intltool)
4064 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4065 ("pkg-config" ,pkg-config)))
4066 (home-page "https://developer.gnome.org/libbonoboui/")
4067 (synopsis "Some user interface controls using Bonobo")
4068 (description "The Bonobo UI library provides a number of user interface
4069 controls using the Bonobo component framework.")
4070 (license license:lgpl2.0+)))
4072 (define-public libwnck
4078 (uri (string-append "mirror://gnome/sources/" name "/"
4079 (version-major+minor version) "/"
4080 name "-" version ".tar.xz"))
4083 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4084 (build-system meson-build-system)
4086 `(("pkg-config" ,pkg-config)
4087 ("glib" ,glib "bin") ; for glib-mkenums
4088 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4089 ("intltool" ,intltool)))
4092 ("libxres" ,libxres)
4093 ("startup-notification" ,startup-notification)))
4094 (home-page "https://developer.gnome.org/libwnck/")
4095 (synopsis "Window Navigator Construction Kit")
4097 "Libwnck is the Window Navigator Construction Kit, a library for use in
4098 writing pagers, tasklists, and more generally applications that are dealing
4099 with window management. It tries hard to respect the Extended Window Manager
4100 Hints specification (EWMH).")
4101 (license license:lgpl2.0+)))
4103 ;; stable version for gtk2, required by xfwm4.
4104 (define-public libwnck-2
4105 (package (inherit libwnck)
4110 (uri (string-append "mirror://gnome/sources/" name "/"
4111 (version-major+minor version) "/"
4112 name "-" version ".tar.xz"))
4115 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4116 (build-system gnu-build-system)
4118 `(("pkg-config" ,pkg-config)
4119 ("intltool" ,intltool)))
4122 ("libxres" ,libxres)
4123 ("startup-notification" ,startup-notification)))))
4125 (define-public goffice
4131 (uri (string-append "mirror://gnome/sources/goffice/"
4132 (version-major+minor version) "/"
4133 "goffice-" version ".tar.xz"))
4135 (base32 "1s87ngs3g3nfvcn96aq4lgzx5cscbfg4n9f6ns2zpvc5ngdiiz2z"))))
4136 (build-system gnu-build-system)
4138 "doc")) ; 4.0 MiB of gtk-doc
4140 '(#:configure-flags (list (string-append "--with-html-dir="
4141 (assoc-ref %outputs "doc")
4142 "/share/gtk-doc/html"))))
4146 ("librsvg" ,librsvg)
4147 ("libxslt" ,libxslt)
4148 ("libxml2" ,libxml2)))
4150 `(("intltool" ,intltool)
4151 ("glib" ,glib "bin")
4152 ("pkg-config" ,pkg-config)))
4153 (home-page "https://developer.gnome.org/goffice/")
4154 (synopsis "Document-centric objects and utilities")
4155 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4157 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4159 (list license:gpl2 license:gpl3))))
4161 (define-public goffice-0.8
4162 (package (inherit goffice)
4166 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4167 (version-major+minor version) "/"
4168 (package-name goffice) "-" version ".tar.xz"))
4170 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4173 (modify-phases %standard-phases
4174 (add-after 'unpack 'fix-pcre-check
4176 ;; Only glib.h can be included directly. See
4177 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4178 (substitute* "configure"
4179 (("glib/gregex\\.h") "glib.h")) #t)))
4181 ,@(package-arguments goffice)))
4183 ;; libgoffice-0.8.pc mentions libgsf-1
4184 `(("libgsf" ,libgsf)))
4187 ,@(alist-delete "gtk" (package-inputs goffice))))))
4189 (define-public gnumeric
4195 (uri (string-append "mirror://gnome/sources/gnumeric/"
4196 (version-major+minor version) "/"
4197 "gnumeric-" version ".tar.xz"))
4200 "0mzdhhpa7kwkc51l344g6vgqwaxkjdf03s7zasqh0bn3jpn75h4i"))))
4201 (build-system glib-or-gtk-build-system)
4203 `(;; The gnumeric developers don't worry much about failing tests.
4204 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4207 (modify-phases %standard-phases
4209 'configure 'pre-conf
4210 (lambda* (#:key outputs #:allow-other-keys)
4211 ;; Make install tries to write into the directory of goffice
4212 ;; I am informed that this only affects the possibility to embed a
4213 ;; spreadsheet inside an Abiword document. So presumably when we
4214 ;; package Abiword we'll have to refer it to this directory.
4215 (substitute* "configure"
4216 (("^GOFFICE_PLUGINS_DIR=.*")
4217 (string-append "GOFFICE_PLUGINS_DIR="
4218 (assoc-ref outputs "out")
4219 "/goffice/plugins"))))))))
4223 ("goffice" ,goffice)
4225 ("librsvg" ,librsvg)
4226 ("libxml2" ,libxml2)
4227 ("libxslt" ,libxslt)
4229 ("python-pygobject" ,python-pygobject)
4233 ("docbook-xml" ,docbook-xml)
4234 ("intltool" ,intltool)
4235 ("itstool" ,itstool)
4236 ("glib:bin" ,glib "bin")
4237 ("pkg-config" ,pkg-config)))
4238 (home-page "http://www.gnumeric.org")
4239 (synopsis "Spreadsheet application")
4241 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4242 interoperable with other spreadsheet applications. It has a vast array of
4243 features beyond typical spreadsheet functionality, such as support for linear
4244 and non-linear solvers, statistical analysis, and telecommunication
4247 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4248 (list license:gpl2 license:gpl3))))
4250 (define-public drawing
4258 (url "https://github.com/maoschanz/drawing")
4260 (file-name (git-file-name name version))
4262 (base32 "03cx6acb0ph7b3difshjfddi8ld79wp8d12bdp7dp1q1820j5mz0"))))
4263 (build-system meson-build-system)
4267 (modify-phases %standard-phases
4268 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4269 (lambda* (#:key outputs #:allow-other-keys)
4270 (let ((prog (string-append (assoc-ref outputs "out")
4272 (pylib (string-append (assoc-ref outputs "out")
4274 ,(version-major+minor
4275 (package-version python))
4278 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
4279 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4282 `(("desktop-file-utils" ,desktop-file-utils)
4283 ("gettext" ,gettext-minimal)
4284 ("glib:bin" ,glib "bin")
4285 ("gobject-introspection" ,gobject-introspection)
4286 ("gtk+:bin" ,gtk+ "bin")
4287 ("pkg-config" ,pkg-config)))
4289 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
4290 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4293 ("python-pycairo" ,python-pycairo)
4294 ("python-pygobject" ,python-pygobject)))
4295 (home-page "https://maoschanz.github.io/drawing/")
4296 (synopsis "Basic image editor for GNOME")
4298 "Drawing is a basic image editor aiming at the GNOME desktop.")
4299 (license license:gpl3+)))
4301 (define-public gnome-themes-standard
4303 (name "gnome-themes-standard")
4308 (uri (string-append "mirror://gnome/sources/" name "/"
4309 (version-major+minor version) "/" name "-"
4313 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4314 (build-system gnu-build-system)
4317 ;; Don't create 'icon-theme.cache'.
4318 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4319 (true (string-append coreutils "/bin/true")))
4320 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4324 ("librsvg" ,librsvg)
4325 ("libxml2" ,libxml2)
4328 `(("intltool" ,intltool)
4329 ("glib:bin" ,glib "bin")
4330 ("pkg-config" ,pkg-config)))
4331 (home-page "https://launchpad.net/gnome-themes-standard")
4332 (synopsis "Default GNOME 3 themes")
4334 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4335 (license license:lgpl2.1+)))
4337 (define-public seahorse
4344 (uri (string-append "mirror://gnome/sources/" name "/"
4345 (version-major+minor version) "/" name "-"
4348 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4349 (build-system meson-build-system)
4353 (modify-phases %standard-phases
4354 (add-after 'unpack 'skip-gtk-update-icon-cache
4355 ;; Don't create 'icon-theme.cache'.
4357 (substitute* "build-aux/meson_post_install.py"
4358 (("gtk-update-icon-cache") "true"))
4365 ("openldap" ,openldap)
4366 ("openssh" ,openssh)
4368 ("libhandy" ,libhandy-0.0)
4369 ("libpwquality" ,libpwquality)
4370 ("libsecret" ,libsecret)
4371 ("libsoup" ,libsoup)))
4373 `(("gettext" ,gettext-minimal)
4374 ("glib:bin" ,glib "bin")
4375 ("itstool" ,itstool)
4376 ("pkg-config" ,pkg-config)
4378 ("xmllint" ,libxml2)))
4379 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4380 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4382 "Seahorse is a GNOME application for managing encryption keys and
4383 passwords in the GNOME keyring.")
4384 (license license:gpl2+)))
4392 (uri (string-append "mirror://gnome/sources/" name "/"
4393 (version-major+minor version) "/"
4394 name "-" version ".tar.xz"))
4397 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4398 (build-system gnu-build-system)
4401 (modify-phases %standard-phases
4402 (add-before 'check 'pre-check
4405 (substitute* "valadoc/tests/testrunner.sh"
4406 (("export PKG_CONFIG_PATH=" m)
4407 (string-append m "$PKG_CONFIG_PATH:")))
4408 ;; For missing '/etc/machine-id'.
4409 (setenv "DBUS_FATAL_WARNINGS" "0")
4412 `(("pkg-config" ,pkg-config)
4415 ("xsltproc" ,libxslt)
4416 ("dbus" ,dbus) ; for dbus tests
4417 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4419 `(("graphviz" ,graphviz)))
4421 `(("glib" ,glib))) ; required by libvala-0.40.pc
4422 (home-page "https://wiki.gnome.org/Projects/Vala/")
4423 (synopsis "Compiler for the GObject type system")
4425 "Vala is a programming language that aims to bring modern programming
4426 language features to GNOME developers without imposing any additional runtime
4427 requirements and without using a different ABI compared to applications and
4428 libraries written in C.")
4429 (license license:lgpl2.1+)))
4431 (define-public vala-0.50
4437 (uri (string-append "mirror://gnome/sources/vala/"
4438 (version-major+minor version) "/"
4439 "vala-" version ".tar.xz"))
4442 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4450 (uri (string-append "mirror://gnome/sources/vte/"
4451 (version-major+minor version) "/"
4452 "vte-" version ".tar.xz"))
4455 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4456 (build-system meson-build-system)
4460 "-D_systemd=false")))
4462 `(("pkg-config" ,pkg-config)
4463 ("gettext" ,gettext-minimal)
4465 ("gobject-introspection" ,gobject-introspection)
4466 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4468 ("xmllint" ,libxml2)))
4470 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4471 ("gnutls" ,gnutls) ; ditto
4472 ("pcre2" ,pcre2))) ; ditto
4473 (home-page "https://www.gnome.org/")
4474 (synopsis "Virtual Terminal Emulator")
4476 "VTE is a library (libvte) implementing a terminal emulator widget for
4477 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4478 gnome-terminal, but can also be used to embed a console/terminal in games,
4479 editors, IDEs, etc.")
4480 (license license:lgpl2.1+)))
4482 (define-public vte-ng
4486 (version "0.58.2.a")
4487 (home-page "https://github.com/thestinger/vte-ng")
4490 (uri (git-reference (url home-page) (commit version)))
4491 (file-name (git-file-name name version))
4494 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4495 (build-system meson-build-system)
4497 `(("gtk-doc" ,gtk-doc/stable)
4498 ,@(package-native-inputs vte)))
4500 `(#:configure-flags '("-Ddocs=true")))
4501 (synopsis "Enhanced VTE terminal widget")
4503 "VTE is a library (libvte) implementing a terminal emulator widget for
4504 GTK+, this fork provides additional functions exposed for keyboard text
4505 selection and URL hints.")))
4507 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4508 (define-public vte/gtk+-2
4509 (package (inherit vte)
4514 (uri (string-append "mirror://gnome/sources/" name "/"
4515 (version-major+minor version) "/"
4516 name "-" version ".tar.xz"))
4519 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4520 (patches (search-patches
4521 "vte-CVE-2012-2738-pt1.patch"
4522 "vte-CVE-2012-2738-pt2.patch"))))
4523 (build-system gnu-build-system)
4525 '(#:configure-flags '("--disable-python")))
4527 `(("pkg-config" ,pkg-config)
4528 ("intltool" ,intltool)
4529 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4531 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4532 ("ncurses" ,ncurses))))) ; required by libvte.la
4534 (define-public vinagre
4540 (uri (string-append "mirror://gnome/sources/" name "/"
4541 (version-major+minor version) "/"
4542 name "-" version ".tar.xz"))
4543 (patches (search-patches "vinagre-newer-freerdp.patch"
4544 "vinagre-newer-rdp-parameters.patch"))
4547 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4548 (build-system glib-or-gtk-build-system)
4550 ;; Disable -Werror and such, to avoid build failures on compilation
4552 '(#:configure-flags '("--enable-compile-warnings=minimum")
4554 (modify-phases %standard-phases
4555 (add-before 'install 'skip-gtk-update-icon-cache
4557 ;; Don't create 'icon-theme.cache'
4558 (substitute* (find-files "." "^Makefile$")
4559 (("gtk-update-icon-cache") (which "true")))
4561 (add-after 'unpack 'patch-configure
4563 (substitute* "configure"
4564 (("freerdp") "freerdp2"))
4567 `(("pkg-config" ,pkg-config)
4568 ("intltool" ,intltool)
4569 ("itstool" ,itstool)
4570 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4572 `(("libxml2" ,libxml2)
4573 ("gtk-vnc" ,gtk-vnc)
4574 ("gnome-keyring" ,gnome-keyring)
4575 ("libsecret" ,libsecret)
4576 ("freerdp" ,freerdp)
4578 ("spice-gtk" ,spice-gtk)
4579 ("telepathy-glib" ,telepathy-glib)
4581 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4582 (synopsis "Remote desktop viewer for GNOME")
4583 (description "Vinagre is a remote display client supporting the VNC, SPICE
4584 and RDP protocols.")
4585 (license license:gpl3+)))
4587 (define-public dconf
4594 "mirror://gnome/sources/" name "/"
4595 (version-major+minor version) "/"
4596 name "-" version ".tar.xz"))
4599 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4600 (build-system meson-build-system)
4602 ;; In Requires of dconf.pc.
4608 `(("bash-completion" ,bash-completion)
4609 ("libxslt" ,libxslt) ;for xsltproc
4610 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4611 ("docbook-xml" ,docbook-xml-4.2)
4612 ("docbook-xsl" ,docbook-xsl)
4613 ("glib:bin" ,glib "bin")
4614 ("gtk-doc" ,gtk-doc/stable)
4615 ("pkg-config" ,pkg-config)
4619 #:configure-flags '("-Denable-gtk-doc=true")
4620 #:phases (modify-phases %standard-phases
4621 (add-after 'unpack 'increase-test-timeout
4623 ;; On big-memory systems, the engine test may take
4624 ;; much longer than the default of 30 seconds.
4625 (substitute* "tests/meson.build"
4626 (("test\\(unit_test\\[0\\], exe" all)
4627 (string-append all ", timeout : 90")))
4629 (home-page "https://developer.gnome.org/dconf/")
4630 (synopsis "Low-level GNOME configuration system")
4631 (description "Dconf is a low-level configuration system. Its main purpose
4632 is to provide a backend to GSettings on platforms that don't already have
4633 configuration storage systems.")
4634 (license license:lgpl2.1+)))
4636 (define-public json-glib
4642 (uri (string-append "mirror://gnome/sources/" name "/"
4643 (version-major+minor version) "/"
4644 name "-" version ".tar.xz"))
4647 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4648 (build-system meson-build-system)
4650 `(("gettext" ,gettext-minimal)
4651 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4652 ("gobject-introspection" ,gobject-introspection)
4653 ("pkg-config" ,pkg-config)))
4655 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4656 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4657 (synopsis "Compiler for the GObject type system")
4659 "JSON-GLib is a C library based on GLib providing serialization and
4660 deserialization support for the JavaScript Object Notation (JSON) format
4661 described by RFC 4627. It provides parser and generator GObject classes and
4662 various wrappers for the complex data types employed by JSON, such as arrays
4664 (license license:lgpl2.1+)))
4666 (define-public libxklavier
4668 (name "libxklavier")
4671 ;; Note: There's no tarball at ftp.gnome.org for this version.
4674 (url "https://anongit.freedesktop.org/git/libxklavier")
4675 (commit (string-append "libxklavier-" version))))
4678 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4679 (file-name (git-file-name name version))))
4680 (build-system gnu-build-system)
4683 (list (string-append "--with-xkb-base="
4684 (assoc-ref %build-inputs "xkeyboard-config")
4686 "--disable-xmodmap-support")))
4688 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4689 ("gobject-introspection" ,gobject-introspection)
4690 ("pkg-config" ,pkg-config)
4691 ("gtk-doc" ,gtk-doc/stable)
4692 ("intltool" ,intltool)
4694 ("autoconf" ,autoconf)
4695 ("automake" ,automake)
4696 ("libtool" ,libtool)))
4698 ;; Required by libxklavier.pc.
4700 ("libxml2" ,libxml2)))
4702 `(("iso-codes" ,iso-codes)
4704 ("libxkbfile" ,libxkbfile)
4705 ("xkbcomp" ,xkbcomp)
4706 ("xkeyboard-config" ,xkeyboard-config)))
4707 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4708 (synopsis "High-level API for X Keyboard Extension")
4710 "LibXklavier is a library providing high-level API for X Keyboard
4711 Extension known as XKB. This library is intended to support XFree86 and other
4712 commercial X servers. It is useful for creating XKB-related software (layout
4714 (license license:lgpl2.0+)))
4716 (define-public python2-rsvg
4717 ;; XXX: This is actually a subset of gnome-python-desktop.
4719 (name "python2-rsvg")
4725 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4726 version ".tar.bz2"))
4729 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4730 (build-system gnu-build-system)
4732 `(("pkg-config" ,pkg-config)))
4734 `(("python" ,python-2)
4735 ("python2-pygtk" ,python2-pygtk)
4736 ("librsvg" ,librsvg)))
4737 (home-page "https://www.gnome.org")
4738 (synopsis "Python bindings to librsvg")
4740 "This package provides Python bindings to librsvg, the SVG rendering
4743 ;; This is the license of the rsvg bindings. The license of each module
4744 ;; of gnome-python-desktop is given in 'COPYING'.
4745 (license license:lgpl2.1+)))
4747 (define-public glib-networking
4749 (name "glib-networking")
4753 (uri (string-append "mirror://gnome/sources/glib-networking/"
4754 (version-major+minor version) "/"
4755 "glib-networking-" version ".tar.xz"))
4758 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4759 (build-system meson-build-system)
4761 `(#:configure-flags '("-Dlibproxy_support=false")))
4763 `(("pkg-config" ,pkg-config)
4764 ("intltool" ,intltool)))
4768 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4769 (home-page "https://www.gnome.org")
4770 (synopsis "Network-related GIO modules")
4772 "This package contains various network related extensions for the GIO
4774 (license license:lgpl2.0+)))
4782 (uri (string-append "mirror://gnome/sources/rest/"
4783 (version-major+minor version) "/"
4784 name "-" version ".tar.xz"))
4787 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4788 (build-system gnu-build-system)
4790 '(#:tests? #f ; tests require internet connection
4792 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4794 `(("glib-mkenums" ,glib "bin")
4795 ("gobject-introspection" ,gobject-introspection)
4796 ("pkg-config" ,pkg-config)))
4798 ;; rest-0.7.pc refers to all these.
4800 ("libsoup" ,libsoup)
4801 ("libxml2" ,libxml2)))
4802 (home-page "https://www.gtk.org/")
4803 (synopsis "RESTful web api query library")
4805 "This library was designed to make it easier to access web services that
4806 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4807 libxml to ease remote use of the RESTful API.")
4808 (license license:lgpl2.1+)))
4810 (define-public libsoup
4816 (uri (string-append "mirror://gnome/sources/libsoup/"
4817 (version-major+minor version) "/"
4818 "libsoup-" version ".tar.xz"))
4821 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4822 (build-system meson-build-system)
4823 (outputs '("out" "doc"))
4825 `(#:modules ((guix build utils)
4826 (guix build meson-build-system)
4829 #:configure-flags '("-Dgtk_doc=true")
4831 (modify-phases %standard-phases
4832 (add-after 'unpack 'patch-docbook-xml
4833 (lambda* (#:key inputs #:allow-other-keys)
4834 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4835 "/xml/dtd/docbook")))
4836 (substitute* (find-files "docs/reference")
4837 (("http://.*/docbookx\\.dtd")
4838 (string-append xmldoc "/docbookx.dtd")))
4840 (add-after 'unpack 'adjust-tests
4842 ;; This test fails due to missing /etc/nsswitch.conf
4843 ;; in the build environment.
4844 (substitute* "tests/socket-test.c"
4845 ((".*/sockets/unconnected.*") ""))
4847 ;; These fail because "subdomain.localhost" does not resolve in
4848 ;; the build environment.
4849 (substitute* "tests/hsts-test.c"
4850 ((".*/hsts/basic.*") "")
4851 ((".*/hsts/subdomains.*") "")
4852 ((".*/hsts/superdomain.*") "")
4853 ((".*/hsts/utf8-address.*") ""))
4854 (substitute* "tests/hsts-db-test.c"
4855 ((".*/hsts-db/subdomains.*") ""))
4857 ;; Generate a self-signed certificate that has "localhost" as its
4858 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4859 ;; 3.5.12, tests such as "ssl-tests" fail:
4861 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4863 ;; 'certtool' is interactive so we have to pipe it the answers.
4864 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4865 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4866 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4867 (for-each (lambda (line)
4872 "Guix" ;Organizational unit name
4873 "GNU" ;Organization name
4875 "" ;State or province
4877 "" ;subject's domain component (DC)
4880 "-1" ;expiration time
4881 "N" ;belong to authority?
4882 "N" ;web client certificate?
4884 "Y" ;web server certificate?
4885 "localhost" ;dnsName of subject
4886 "" ;dnsName of subject (end)
4888 "127.0.0.1" ;IP address of subject
4890 "" ;encryption (RSA)?
4891 "" ;data encryption?
4892 "" ;sign OCSP requests?
4895 "" ;email protection?
4896 "" ;URI of the CRL distribution point
4901 (add-after 'install 'move-doc
4902 (lambda* (#:key outputs #:allow-other-keys)
4903 (let ((out (assoc-ref outputs "out"))
4904 (doc (assoc-ref outputs "doc")))
4905 (mkdir-p (string-append doc "/share"))
4906 (copy-recursively (string-append out "/share/gtk-doc")
4907 (string-append doc "/share/gtk-doc"))
4908 (delete-file-recursively (string-append out "/share/gtk-doc"))
4911 `(("docbook-xml" ,docbook-xml-4.1.2)
4912 ("glib:bin" ,glib "bin") ; for glib-mkenums
4913 ("gobject-introspection" ,gobject-introspection)
4914 ("gtk-doc" ,gtk-doc/stable)
4915 ("intltool" ,intltool)
4916 ("pkg-config" ,pkg-config)
4917 ("python" ,python-wrapper)
4921 ("gnutls" ,gnutls) ;for 'certtool'
4924 ;; libsoup-2.4.pc refers to all of these (except where otherwise noted)
4925 `(("brotli" ,google-brotli)
4927 ("glib-networking" ,glib-networking) ; for GIO runtime modules
4929 ("libxml2" ,libxml2)
4933 `(("mit-krb5" ,mit-krb5)
4934 ("ntlm_auth" ,samba))) ; For ntlm_auth support
4935 (home-page "https://wiki.gnome.org/Projects/libsoup")
4936 (synopsis "GLib-based HTTP Library")
4938 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4939 and the GLib main loop, to integrate well with GNOME applications.")
4940 (license license:lgpl2.0+)))
4943 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4944 (define-public libsoup-minimal
4945 (package/inherit libsoup
4946 (name "libsoup-minimal")
4947 (outputs (delete "doc" (package-outputs libsoup)))
4949 (substitute-keyword-arguments (package-arguments libsoup)
4950 ((#:configure-flags configure-flags)
4951 `(delete "-Dgtk_doc=true" ,configure-flags))
4953 `(modify-phases ,phases
4954 (delete 'move-doc)))))
4955 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4957 (define-public libsecret
4964 "mirror://gnome/sources/libsecret/"
4965 (version-major+minor version) "/"
4966 "libsecret-" version ".tar.xz"))
4969 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4970 (build-system gnu-build-system)
4971 (outputs '("out" "doc"))
4973 `(#:tests? #f ; FIXME: Testing hangs.
4975 (list (string-append "--with-html-dir="
4976 (assoc-ref %outputs "doc")
4977 "/share/gtk-doc/html"))))
4979 `(("gettext" ,gettext-minimal)
4980 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4981 ("gobject-introspection" ,gobject-introspection)
4982 ("pkg-config" ,pkg-config)
4984 ("xsltproc" ,libxslt)))
4985 ;; These are needed for the tests.
4986 ;; FIXME: Add gjs once available.
4988 ;("python2" ,python-2)
4989 ;("python2-dbus" ,python2-dbus)
4990 ;("python2-pygobject" ,python2-pygobject)
4991 ;("python2-pygobject-2" ,python2-pygobject-2)))
4993 `(("glib" ,glib))) ; required by libsecret-1.pc
4995 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4996 ;; doesn't seem to affect the build result.
4997 `(("docbook-xsl" ,docbook-xsl)
4998 ("libgcrypt" ,libgcrypt)
4999 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
5000 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
5001 (synopsis "GObject bindings for \"Secret Service\" API")
5003 "Libsecret is a GObject based library for storing and retrieving passwords
5004 and other secrets. It communicates with the \"Secret Service\" using DBus.")
5005 (license license:lgpl2.1+)))
5007 (define-public five-or-more
5009 (name "five-or-more")
5014 (uri (string-append "mirror://gnome/sources/five-or-more/"
5015 (version-major+minor version) "/"
5016 "five-or-more-" version ".tar.xz"))
5018 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
5019 (build-system meson-build-system)
5023 (modify-phases %standard-phases
5024 (add-after 'unpack 'skip-gtk-update-icon-cache
5026 (substitute* "meson_post_install.py"
5027 (("gtk-update-icon-cache") (which "true")))
5030 `(("pkg-config" ,pkg-config)
5031 ("appstream-glib" ,appstream-glib)
5032 ("desktop-file-utils" ,desktop-file-utils)
5033 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5034 ("intltool" ,intltool)
5035 ("itstool" ,itstool)
5037 ("xmllint" ,libxml2)))
5040 ("libgnome-games-support" ,libgnome-games-support)
5041 ("librsvg" ,librsvg)))
5042 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5043 (synopsis "Logic puzzle game")
5044 (description "Five or More is a game where you try to align
5045 five or more objects of the same color and shape causing them to disappear.
5046 On every turn more objects will appear, until the board is full.
5047 Try to last as long as possible.")
5048 (license license:gpl2+)))
5050 (define-public gnome-mines
5052 (name "gnome-mines")
5057 (uri (string-append "mirror://gnome/sources/" name "/"
5058 (version-major+minor version) "/"
5059 name "-" version ".tar.xz"))
5061 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5062 (build-system meson-build-system)
5066 (modify-phases %standard-phases
5067 (add-after 'unpack 'skip-gtk-update-icon-cache
5069 (substitute* "build-aux/meson_post_install.py"
5070 (("gtk-update-icon-cache") (which "true")))
5073 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5074 ("pkg-config" ,pkg-config)
5075 ("desktop-file-utils" ,desktop-file-utils)
5076 ("intltool" ,intltool)
5077 ("itstool" ,itstool)
5080 ("appstream-glib" ,appstream-glib)))
5083 ("libgnome-games-support" ,libgnome-games-support)
5084 ("librsvg" ,librsvg)))
5085 (home-page "https://wiki.gnome.org/Apps/Mines")
5086 (synopsis "Minesweeper game")
5088 "Mines (previously gnomine) is a puzzle game where you locate mines
5089 floating in an ocean using only your brain and a little bit of luck.")
5090 (license license:gpl2+)))
5092 (define-public gnome-multi-writer
5094 (name "gnome-multi-writer")
5099 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5100 (version-major+minor version) "/"
5101 "gnome-multi-writer-" version ".tar.xz"))
5104 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5105 (build-system meson-build-system)
5109 (modify-phases %standard-phases
5110 (add-after 'unpack 'skip-post-install
5112 (substitute* "meson.build"
5113 (("meson.add_install_script" &) (string-append "# " &)))
5116 `(("glib:bin" ,glib "bin")
5117 ("pkg-config" ,pkg-config)))
5120 ("glib" ,glib) ; for gio
5123 ("libgudev" ,libgudev)
5124 ("libcanberra" ,libcanberra)
5125 ("polkit" ,polkit)))
5126 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5127 (synopsis "Write to multiple USB devices at once")
5129 "MultiWriter can be used to write an ISO file to multiple USB devices at
5131 (license license:gpl2+)))
5133 (define-public gnome-sudoku
5135 (name "gnome-sudoku")
5140 (uri (string-append "mirror://gnome/sources/" name "/"
5141 (version-major+minor version) "/"
5142 name "-" version ".tar.xz"))
5145 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5146 (build-system meson-build-system)
5150 (modify-phases %standard-phases
5151 (add-after 'unpack 'skip-gtk-update-icon-cache
5153 (substitute* "build-aux/post_install.py"
5154 (("gtk-update-icon-cache") (which "true")))
5157 `(("pkg-config" ,pkg-config)
5158 ("desktop-file-utils" ,desktop-file-utils)
5159 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5160 ("intltool" ,intltool)
5161 ("itstool" ,itstool)
5163 ("xmllint" ,libxml2)))
5166 ("json-glib" ,json-glib)
5168 ("librsvg" ,librsvg)
5169 ("qqwing" ,qqwing)))
5170 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5171 (synopsis "Japanese logic game")
5173 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5174 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5175 possible while still providing features that make playing difficult Sudoku
5177 (license license:gpl2+)))
5179 (define-public gnome-terminal
5181 (name "gnome-terminal")
5186 (uri (string-append "mirror://gnome/sources/" name "/"
5187 (version-major+minor version) "/"
5188 name "-" version ".tar.xz"))
5191 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5192 (build-system glib-or-gtk-build-system)
5195 (list "--disable-migration" "--disable-search-provider"
5196 "--without-nautilus-extension")
5198 (modify-phases %standard-phases
5199 (add-before 'configure 'patch-/bin/true
5201 (substitute* "configure"
5202 (("/bin/true") (which "true"))))))))
5204 `(("pkg-config" ,pkg-config)
5205 ("desktop-file-utils" ,desktop-file-utils)
5206 ("intltool" ,intltool)
5207 ("itstool" ,itstool)
5208 ("xmllint" ,libxml2)))
5210 `(("dconf" ,dconf)))
5215 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5216 ("util-linux" ,util-linux "lib")
5218 (home-page "https://wiki.gnome.org/Apps/Terminal")
5219 (synopsis "Terminal emulator")
5221 "GNOME Terminal is a terminal emulator application for accessing a
5222 UNIX shell environment which can be used to run programs available on
5225 It supports several profiles, multiple tabs and implements several
5226 keyboard shortcuts.")
5227 (license license:gpl3+)))
5229 (define-public colord
5236 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5237 "colord-" version ".tar.xz"))
5239 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5240 (build-system meson-build-system)
5242 '(;; FIXME: One test fails:
5243 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5244 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5245 ;; application/x-zerosize
5248 #:configure-flags (list "-Dlocalstatedir=/var"
5249 ;; No dep on systemd.
5251 ;; Wants to install to global completion dir;
5253 "-Dbash_completion=false"
5254 "-Ddaemon_user=colord"
5257 ;; Requires spotread.
5258 "-Dargyllcms_sensor=false"
5259 ;; TODO: Requires docbook2x.
5262 (modify-phases %standard-phases
5263 (add-before 'configure 'patch-build-system
5264 (lambda* (#:key outputs #:allow-other-keys)
5265 (substitute* "rules/meson.build"
5266 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5267 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5269 (add-before 'configure 'set-sqlite3-file-name
5270 (lambda* (#:key inputs #:allow-other-keys)
5271 ;; "colormgr dump" works by invoking the "sqlite3" command.
5272 ;; Record its absolute file name.
5273 (let ((sqlite (assoc-ref inputs "sqlite")))
5274 (substitute* "client/cd-util.c"
5276 (string-append "\"" sqlite "/bin/sqlite3\"")))
5279 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5280 ("gettext" ,gettext-minimal)
5281 ("gobject-introspection" ,gobject-introspection)
5282 ("gtk-doc" ,gtk-doc/stable)
5283 ("pkg-config" ,pkg-config)
5286 ;; colord.pc refers to all these.
5291 `(("dbus-glib" ,dbus-glib)
5293 ("libgudev" ,libgudev)
5296 ("python" ,python-wrapper)
5298 ("sane-backends" ,sane-backends)))
5299 (home-page "https://www.freedesktop.org/software/colord/")
5300 (synopsis "Color management service")
5301 (description "Colord is a system service that makes it easy to manage,
5302 install and generate color profiles to accurately color manage input and
5304 (license license:gpl2+)))
5306 (define-public geoclue
5314 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5315 version "/geoclue-" version ".tar.bz2"))
5317 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5318 (patches (search-patches "geoclue-config.patch"))))
5319 (build-system meson-build-system)
5321 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5323 `(("pkg-config" ,pkg-config)
5324 ("gobject-introspection" ,gobject-introspection)
5325 ("modem-manager" ,modem-manager)
5326 ("libnotify" ,libnotify)
5327 ("gtk-doc" ,gtk-doc/stable)
5328 ("intltool" ,intltool)))
5331 ("glib:bin" ,glib "bin")
5332 ("glib-networking" ,glib-networking)
5333 ("json-glib" ,json-glib)
5334 ("libsoup" ,libsoup)))
5335 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5336 (synopsis "Geolocation service")
5337 (description "Geoclue is a D-Bus service that provides location
5338 information. The primary goal of the Geoclue project is to make creating
5339 location-aware applications as simple as possible, while the secondary goal is
5340 to ensure that no application can access location information without explicit
5341 permission from user.")
5342 (license license:gpl2+)))
5344 (define-public geocode-glib
5346 (name "geocode-glib")
5350 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5351 (version-major+minor version) "/"
5352 "geocode-glib-" version ".tar.xz"))
5355 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5356 (build-system meson-build-system)
5359 (modify-phases %standard-phases
5360 ;; The tests require a bunch of locales.
5361 (add-before 'check 'set-locales
5362 (lambda* (#:key inputs #:allow-other-keys)
5363 (setenv "GUIX_LOCPATH"
5364 (string-append (assoc-ref inputs "glibc-locales")
5368 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5369 ("glibc-locales" ,glibc-locales) ; for tests
5370 ("gettext" ,gettext-minimal)
5371 ("gobject-introspection" ,gobject-introspection)
5372 ("gtk-doc" ,gtk-doc/stable)
5373 ("pkg-config" ,pkg-config)
5374 ("json-glib" ,json-glib)))
5376 ;; geocode-glib-1.0.pc refers to GIO.
5379 `(("libsoup" ,libsoup)))
5380 (home-page "https://github.com/GNOME/geocode-glib/")
5381 (synopsis "Geocoding and reverse-geocoding library")
5383 "geocode-glib is a convenience library for geocoding (finding longitude,
5384 and latitude from an address) and reverse geocoding (finding an address from
5385 coordinates) using the Nominatim service. geocode-glib caches requests for
5386 faster results and to avoid unnecessary server load.")
5387 (license license:lgpl2.0+)))
5389 (define-public upower
5395 (uri (string-append "https://upower.freedesktop.org/releases/"
5396 "upower-" version ".tar.xz"))
5399 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5400 (patches (search-patches "upower-builddir.patch"))
5401 (modules '((guix build utils)))
5405 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5406 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5407 ;; 'dbus-configuration-directory' in (gnu services dbus)
5408 ;; expects it in etc/. Thus, move it back to its previous
5410 (substitute* "src/Makefile.in"
5411 (("^dbusconfdir =.*$")
5412 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5414 (build-system glib-or-gtk-build-system)
5417 (modify-phases %standard-phases
5418 (add-before 'check 'pre-check
5419 (lambda* (#:key inputs #:allow-other-keys)
5420 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5422 (setenv "LD_LIBRARY_PATH" umockdev))
5424 #:configure-flags (list "--localstatedir=/var"
5425 (string-append "--with-udevrulesdir="
5426 (assoc-ref %outputs "out")
5427 "/lib/udev/rules.d"))))
5429 `(("gobject-introspection" ,gobject-introspection)
5430 ("pkg-config" ,pkg-config)
5431 ("intltool" ,intltool)
5435 ("python-dbus" ,python-dbus)
5436 ("python-dbusmock" ,python-dbusmock)
5437 ("python-pygobject" ,python-pygobject)
5438 ("umockdev" ,umockdev)
5441 ("libxslt" ,libxslt) ;for 'xsltproc'
5442 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5443 ("docbook-xsl" ,docbook-xsl)))
5445 `(("dbus-glib" ,dbus-glib)
5446 ("libgudev" ,libgudev)
5447 ("libusb" ,libusb)))
5449 ;; In Requires of upower-glib.pc.
5451 (home-page "https://upower.freedesktop.org/")
5452 (synopsis "System daemon for managing power devices")
5454 "UPower is an abstraction for enumerating power devices,
5455 listening to device events and querying history and statistics. Any
5456 application or service on the system can access the org.freedesktop.UPower
5457 service via the system message bus.")
5458 (license license:gpl2+)))
5460 (define-public libgweather
5462 (name "libgweather")
5466 (uri (string-append "mirror://gnome/sources/" name "/"
5467 (version-major+minor version) "/"
5468 name "-" version ".tar.xz"))
5471 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5472 (build-system meson-build-system)
5474 `(#:tests? #f ; one of two tests requires network access
5476 `(,(string-append "-Dzoneinfo_dir="
5477 (assoc-ref %build-inputs "tzdata")
5478 "/share/zoneinfo"))))
5480 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5481 ("gobject-introspection" ,gobject-introspection)
5482 ("pkg-config" ,pkg-config)
5484 ("intltool" ,intltool)))
5486 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5489 ("gdk-pixbuf" ,gdk-pixbuf)
5490 ("libxml2" ,libxml2)
5491 ("libsoup" ,libsoup)
5492 ("geocode-glib" ,geocode-glib)))
5494 `(("tzdata" ,tzdata)))
5495 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5496 (synopsis "Location, time zone, and weather library for GNOME")
5498 "libgweather is a library to access weather information from online
5499 services for numerous locations.")
5500 (license license:gpl2+)))
5502 (define-public gnome-settings-daemon
5504 (name "gnome-settings-daemon")
5509 (uri (string-append "mirror://gnome/sources/" name "/"
5510 (version-major+minor version) "/"
5511 name "-" version ".tar.xz"))
5514 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5515 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5516 (build-system meson-build-system)
5520 (list (string-append "-Dudev_dir="
5521 (assoc-ref %outputs "out")
5522 "/lib/udev/rules.d/")
5524 ;; Otherwise, the RUNPATH will lack the final path component.
5525 (string-append "-Dc_link_args=-Wl,-rpath="
5526 (assoc-ref %outputs "out")
5527 "/lib/gnome-settings-daemon-3.0"))
5529 #:phases (modify-phases %standard-phases
5530 (add-before 'configure 'set-baobab-file-name
5531 (lambda* (#:key inputs #:allow-other-keys)
5532 ;; Hard-code the file name of Baobab instead of looking
5533 ;; it up in $PATH. This ensures users get the "Examine"
5534 ;; button in the low disk space notification of GDM even
5535 ;; if they don't have GNOME in their main profile.
5536 (let ((baobab (assoc-ref inputs "baobab")))
5537 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5538 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5539 (string-append "g_strdup (\"" baobab
5543 ;; Color management test can't reach the colord system service.
5546 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5547 ("pkg-config" ,pkg-config)
5548 ("intltool" ,intltool)
5549 ("xsltproc" ,libxslt)
5550 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5551 ("docbook-xml" ,docbook-xml-4.2)
5552 ("docbook-xsl" ,docbook-xsl)))
5554 `(("alsa-lib" ,alsa-lib)
5557 ("libgudev" ,libgudev)
5560 ("pulseaudio" ,pulseaudio)
5561 ("libcanberra" ,libcanberra)
5563 ("libxtst" ,libxtst)
5565 ("libnotify" ,libnotify)
5566 ("geoclue" ,geoclue)
5567 ("geocode-glib" ,geocode-glib)
5568 ("libgweather" ,libgweather)
5569 ("gnome-desktop" ,gnome-desktop)
5572 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5573 ("libwacom" ,libwacom)
5574 ("librsvg" ,librsvg)
5575 ("xf86-input-wacom" ,xf86-input-wacom)
5576 ("wayland" ,wayland)
5577 ("network-manager" ,network-manager)
5579 ("modem-manager" ,modem-manager)))
5580 (home-page "https://www.gnome.org")
5581 (synopsis "GNOME settings daemon")
5583 "This package contains the daemon responsible for setting the various
5584 parameters of a GNOME session and the applications that run under it. It
5585 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5586 settings, themes, mouse settings, and startup of other daemons.")
5587 (license license:gpl2+)))
5589 (define-public totem-pl-parser
5591 (name "totem-pl-parser")
5595 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5596 (version-major+minor version) "/"
5597 "totem-pl-parser-" version ".tar.xz"))
5600 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5601 (build-system meson-build-system)
5603 ;; FIXME: Tests require gvfs.
5606 `(("intltool" ,intltool)
5607 ("glib" ,glib "bin")
5608 ("gobject-introspection" ,gobject-introspection)
5609 ("pkg-config" ,pkg-config)))
5613 ("libarchive" ,libarchive)
5614 ("libgcrypt" ,libgcrypt)
5615 ("libxml2" ,libxml2)))
5617 `(("libsoup" ,libsoup)))
5618 (home-page "https://projects.gnome.org/totem")
5619 (synopsis "Library to parse and save media playlists for GNOME")
5620 (description "Totem-pl-parser is a GObjects-based library to parse and save
5621 playlists in a variety of formats.")
5622 (license license:lgpl2.0+)))
5624 (define-public aisleriot
5630 (uri (string-append "mirror://gnome/sources/aisleriot/"
5631 (version-major+minor version) "/"
5632 "aisleriot-" version ".tar.xz"))
5635 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5636 (build-system glib-or-gtk-build-system)
5639 '("--with-platform=gtk-only"
5640 "--with-card-theme-formats=svg")))
5642 `(("desktop-file-utils" ,desktop-file-utils)
5643 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5644 ("intltool" ,intltool)
5645 ("itstool" ,itstool)
5646 ("pkg-config" ,pkg-config)
5647 ("xmllint" ,libxml2)))
5650 ("guile" ,guile-2.2)
5651 ("libcanberra" ,libcanberra)
5652 ("librsvg" ,librsvg)))
5653 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5654 (synopsis "Solitaire card games")
5656 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5657 which are easy to play with the aid of a mouse.")
5658 (license license:gpl3+)))
5666 (uri (string-append "mirror://gnome/sources/amtk/"
5667 (version-major+minor version) "/"
5668 "amtk-" version ".tar.xz"))
5671 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5672 (build-system gnu-build-system)
5674 '(#:configure-flags '("--enable-gtk-doc")))
5676 `(("gobject-introspection" ,gobject-introspection)
5677 ("glib:bin" ,glib "bin") ; for glib-mkenums
5678 ("gtk-doc" ,gtk-doc/stable)
5679 ("pkg-config" ,pkg-config)))
5683 (home-page "https://wiki.gnome.org/Projects/Amtk")
5684 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5686 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5687 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5688 both a traditional UI or a modern UI with a GtkHeaderBar.")
5689 (license license:lgpl2.1+)))
5691 (define-public devhelp
5697 (uri (string-append "mirror://gnome/sources/" name "/"
5698 (version-major+minor version) "/"
5699 name "-" version ".tar.xz"))
5702 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5703 (build-system meson-build-system)
5707 (modify-phases %standard-phases
5708 (add-after 'unpack 'skip-gtk-update-icon-cache
5709 ;; Don't create 'icon-theme.cache'.
5711 (substitute* "meson_post_install.py"
5712 (("gtk-update-icon-cache") "true"))
5715 `(("intltool" ,intltool)
5716 ("itstool" ,itstool)
5717 ("gobject-introspection" ,gobject-introspection)
5718 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5719 ("pkg-config" ,pkg-config)))
5722 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5723 ("webkitgtk" ,webkitgtk)))
5724 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5725 (synopsis "API documentation browser for GNOME")
5727 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5728 natively with GTK-Doc (the API reference system developed for GTK+ and used
5729 throughout GNOME for API documentation).")
5730 (license license:gpl2+)))
5739 (uri (string-append "mirror://gnome/sources/cogl/"
5740 (version-major+minor version) "/"
5741 "cogl-" version ".tar.xz"))
5743 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5744 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5745 ;; cogl, corresponding changes may be appropriate in mutter as well.
5746 (build-system gnu-build-system)
5748 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5749 ("gobject-introspection" ,gobject-introspection)
5750 ("xorg-server" ,xorg-server-for-tests)
5751 ("pkg-config" ,pkg-config)))
5754 ("gdk-pixbuf" ,gdk-pixbuf)
5756 ("libxext" ,libxext)
5757 ("libxfixes" ,libxfixes)
5758 ("libxdamage" ,libxdamage)
5759 ("libxcomposite" ,libxcomposite)
5760 ("libxrandr" ,libxrandr)))
5765 ("gstreamer" ,gstreamer)
5766 ("gst-plugins-base" ,gst-plugins-base)
5767 ("wayland" ,wayland)))
5769 `(#:disallowed-references (,xorg-server-for-tests)
5770 #:configure-flags (list "--enable-cogl-gst"
5771 "--enable-wayland-egl-platform"
5772 "--enable-wayland-egl-server"
5774 ;; Arrange to pass an absolute file name to
5775 ;; dlopen for libGL.so.
5776 (string-append "--with-gl-libname="
5777 (assoc-ref %build-inputs "mesa")
5780 (modify-phases %standard-phases
5781 (add-after 'unpack 'fix-build-with-mesa-20
5783 ;; Work around a problem with Mesa 20 where some macros used by
5784 ;; Cogl went missing from eglext.h. This can likely be removed
5785 ;; for newer versions of Cogl or Mesa.
5786 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5787 (substitute* '("configure"
5788 "cogl/winsys/cogl-winsys-egl-kms.c")
5789 (("#include <EGL/eglext.h>" all)
5790 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5792 (add-before 'check 'start-xorg-server
5793 (lambda* (#:key tests? inputs #:allow-other-keys)
5796 ;; The test suite requires a running X server.
5797 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5798 (assoc-ref inputs "xorg-server")))
5799 (setenv "DISPLAY" ":1")
5801 (format #t "test suite not run~%"))
5803 (home-page "https://www.cogl3d.org")
5804 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5806 "Cogl is a small library for using 3D graphics hardware to draw pretty
5807 pictures. The API departs from the flat state machine style of OpenGL and is
5808 designed to make it easy to write orthogonal components that can render
5809 without stepping on each others toes.")
5810 (license (list license:expat ; most of the code
5811 license:bsd-3 ; cogl/cogl-point-in-poly.c
5812 license:sgifreeb2.0 ; cogl-path/tesselator/
5813 license:asl2.0)))) ; examples/android/
5815 (define-public clutter
5822 (uri (string-append "mirror://gnome/sources/" name "/"
5823 (version-major+minor version) "/"
5824 name "-" version ".tar.xz"))
5827 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5828 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5829 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5830 (build-system gnu-build-system)
5832 "doc")) ;9 MiB of gtk-doc HTML pages
5834 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5835 ("gobject-introspection" ,gobject-introspection)
5836 ("pkg-config" ,pkg-config)
5837 ("xsltproc" ,libxslt)))
5843 ("json-glib" ,json-glib)
5845 ("libxcomposite" ,libxcomposite)
5846 ("libxdamage" ,libxdamage)
5847 ("libxext" ,libxext)
5848 ("xinput" ,xinput)))
5850 `(("libxkbcommon" ,libxkbcommon)
5853 `(#:configure-flags (list "--enable-x11-backend=yes"
5855 ;; This produces share/doc/{clutter,cally}.
5856 (string-append "--with-html-dir="
5857 (assoc-ref %outputs "doc")
5859 ;; XXX FIXME: Get test suite working. It would probably fail in the
5860 ;; same way the cogl tests fail, since clutter is based on cogl.
5862 (home-page "http://www.clutter-project.org")
5863 (synopsis "OpenGL-based interactive canvas library")
5865 "Clutter is an OpenGL-based interactive canvas library, designed for
5866 creating fast, mainly 2D single window applications such as media box UIs,
5867 presentations, kiosk style applications and so on.")
5868 (license license:lgpl2.0+)))
5870 (define-public clutter-gtk
5872 (name "clutter-gtk")
5877 (uri (string-append "mirror://gnome/sources/" name "/"
5878 (version-major+minor version) "/"
5879 name "-" version ".tar.xz"))
5882 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5883 (build-system gnu-build-system)
5885 `(("pkg-config" ,pkg-config)
5886 ("gobject-introspection" ,gobject-introspection)))
5888 ;; clutter-gtk.pc refers to all these.
5889 `(("clutter" ,clutter)
5891 (home-page "http://www.clutter-project.org")
5892 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5894 "Clutter is an OpenGL-based interactive canvas library, designed for
5895 creating fast, mainly 2D single window applications such as media box UIs,
5896 presentations, kiosk style applications and so on.")
5897 (license license:lgpl2.0+)))
5899 (define-public clutter-gst
5901 (name "clutter-gst")
5906 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5907 (version-major+minor version) "/"
5908 "clutter-gst-" version ".tar.xz"))
5910 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5911 (build-system gnu-build-system)
5913 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5914 ("pkg-config" ,pkg-config)
5915 ("gobject-introspection" ,gobject-introspection)))
5917 `(("clutter" ,clutter)
5918 ("gstreamer" ,gstreamer)
5919 ("gst-plugins-base" ,gst-plugins-base)))
5920 (home-page "http://www.clutter-project.org")
5921 (synopsis "Integration library for using GStreamer with Clutter")
5923 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5924 It provides a GStreamer sink to upload frames to GL and an actor that
5925 implements the ClutterGstPlayer interface using playbin. Clutter is an
5926 OpenGL-based interactive canvas library.")
5927 (license license:lgpl2.0+)))
5929 (define-public libchamplain
5931 (name "libchamplain")
5936 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5940 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5941 (build-system gnu-build-system)
5942 (arguments '(#:configure-flags '("--enable-vala")))
5944 `(("gobject-introspection" ,gobject-introspection)
5945 ("pkg-config" ,pkg-config)
5948 `(("libsoup" ,libsoup)
5950 ("clutter" ,clutter)
5951 ("clutter-gtk" ,clutter-gtk)
5952 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5956 (home-page "https://projects.gnome.org/libchamplain/")
5957 (synopsis "C library providing a ClutterActor to display maps")
5959 "libchamplain is a C library providing a ClutterActor to display maps.
5960 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5961 and Perl bindings are also available. It supports numerous free map sources
5962 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5963 (license license:lgpl2.1+)))
5972 (uri (string-append "mirror://gnome/sources/gom/"
5973 (version-major+minor version) "/"
5974 "gom-" version ".tar.xz"))
5977 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5978 (build-system gnu-build-system)
5980 `(("intltool" ,intltool)
5981 ("pkg-config" ,pkg-config)
5982 ("gobject-introspection" ,gobject-introspection)))
5985 ("gdk-pixbuf" ,gdk-pixbuf)
5986 ("sqlite" ,sqlite)))
5987 ;; XXX TODO: Figure out how to run the test suite.
5988 (arguments `(#:tests? #f))
5989 (home-page "https://wiki.gnome.org/Projects/Gom")
5990 (synopsis "Object mapper from GObjects to SQLite")
5992 "Gom provides an object mapper from GObjects to SQLite. It helps you
5993 write applications that need to store structured data as well as make complex
5994 queries upon that data.")
5995 (license license:lgpl2.1+)))
5997 (define-public libgnome-games-support
5999 (name "libgnome-games-support")
6003 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6004 (version-major+minor version) "/"
6005 "libgnome-games-support-" version ".tar.xz"))
6008 "11g1r3ppb9v8m3anks9gxf7fv1x38vmjiya3lr7zjjv328pb69d6"))))
6009 (build-system meson-build-system)
6013 (modify-phases %standard-phases
6014 (add-before 'check 'pre-check
6016 ;; Tests require a writable HOME.
6017 (setenv "HOME" (getcwd))
6020 `(("intltool" ,intltool)
6021 ("pkg-config" ,pkg-config)
6024 ;; Required by libgnome-games-support-1.0.pc
6026 ("libgee" ,libgee)))
6027 (home-page "https://www.gnome.org/")
6028 (synopsis "Useful functionality shared among GNOME games")
6030 "libgnome-games-support is a small library intended for internal use by
6031 GNOME Games, but it may be used by others.")
6032 (license license:lgpl3+)))
6034 (define-public gnome-klotski
6036 (name "gnome-klotski")
6040 (uri (string-append "mirror://gnome/sources/" name "/"
6041 (version-major+minor version) "/"
6042 name "-" version ".tar.xz"))
6045 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
6046 (build-system meson-build-system)
6050 (modify-phases %standard-phases
6051 (add-after 'unpack 'skip-gtk-update-icon-cache
6052 ;; Don't create 'icon-theme.cache'.
6054 (substitute* "build-aux/meson_post_install.py"
6055 (("gtk-update-icon-cache") (which "true")))
6058 `(("desktop-file-utils" ,desktop-file-utils)
6059 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6060 ("intltool" ,intltool)
6061 ("itstool" ,itstool)
6062 ("pkg-config" ,pkg-config)
6064 ("xmllint" ,libxml2)))
6067 ("libgnome-games-support" ,libgnome-games-support)
6068 ("librsvg" ,librsvg)))
6069 (home-page "https://wiki.gnome.org/Apps/Klotski")
6070 (synopsis "Sliding block puzzles")
6072 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6073 the patterned block to the area bordered by green markers. To do so, you will
6074 need to slide other blocks out of the way. Complete each puzzle in as few moves
6076 (license license:gpl2+)))
6078 (define-public grilo
6085 (uri (string-append "mirror://gnome/sources/grilo/"
6086 (version-major+minor version) "/"
6087 "grilo-" version ".tar.xz"))
6089 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6090 (build-system meson-build-system)
6092 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6093 ("intltool" ,intltool)
6094 ("pkg-config" ,pkg-config)
6095 ("gobject-introspection" ,gobject-introspection)
6096 ("gtk-doc" ,gtk-doc/stable)
6099 `(("cyrus-sasl" ,cyrus-sasl)
6102 ("libxml2" ,libxml2)
6103 ("liboauth" ,liboauth)
6104 ("libsoup" ,libsoup)
6105 ("totem-pl-parser" ,totem-pl-parser)))
6106 (native-search-paths
6107 (list (search-path-specification
6108 (variable "GRL_PLUGIN_PATH")
6109 (files (list (string-append "lib/grilo-"
6110 (version-major+minor version)))))))
6111 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6112 (synopsis "Framework for discovering and browsing media")
6114 "Grilo is a framework focused on making media discovery and browsing easy
6115 for application developers.")
6116 (license license:lgpl2.1+)))
6118 (define-public grilo-plugins
6120 (name "grilo-plugins")
6125 (uri (string-append "mirror://gnome/sources/" name "/"
6126 (version-major+minor version) "/"
6127 name "-" version ".tar.xz"))
6129 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6130 (build-system meson-build-system)
6132 `(("gettext" ,gettext-minimal)
6133 ("glib:bin" ,glib "bin")
6134 ("gtk+:bin" ,gtk+ "bin")
6135 ("itstool" ,itstool)
6136 ("pkg-config" ,pkg-config)))
6137 ;; TODO: ahavi, gstreamer
6140 ;("gmime" ,gmime) ; unused
6141 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6143 ;("gssdp" ,gssdp) ; unused
6144 ;("gupnp" ,gupnp) ; unused
6145 ;("gupnp-av" ,gupnp-av) ; unused
6146 ("json-glib" ,json-glib)
6148 ("libgdata" ,libgdata)
6149 ("libmediaart" ,libmediaart)
6150 ;("librest" ,rest) ; unused
6151 ("libsoup" ,libsoup)
6152 ("totam-pl-parser" ,totem-pl-parser)
6153 ("tracker" ,tracker))) ; unused because it's too old
6156 ;;Disable lua-factory as it needs missing dependencies
6157 #:configure-flags '("-Denable-lua-factory=no")))
6158 (home-page "https://live.gnome.org/Grilo")
6159 (synopsis "Plugins for the Grilo media discovery library")
6161 "Grilo is a framework focused on making media discovery and browsing easy
6162 for application developers. This package provides plugins for common media
6163 discovery protocols.")
6164 (license license:lgpl2.1+)))
6166 (define-public totem
6173 (uri (string-append "mirror://gnome/sources/totem/"
6174 (version-major+minor version) "/"
6175 "totem-" version ".tar.xz"))
6178 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6179 (build-system meson-build-system)
6181 `(("pkg-config" ,pkg-config)
6182 ("desktop-file-utils" ,desktop-file-utils)
6183 ("gettext" ,gettext-minimal)
6184 ("gobject-introspection" ,gobject-introspection)
6185 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6186 ("itstool" ,itstool)
6187 ("xmllint" ,libxml2)
6188 ("xorg-server" ,xorg-server-for-tests)))
6190 `(("dconf" ,dconf)))
6193 ("gdk-pixbuf" ,gdk-pixbuf)
6196 ("dbus-glib" ,dbus-glib)
6197 ("clutter" ,clutter)
6198 ("clutter-gtk" ,clutter-gtk)
6199 ("clutter-gst" ,clutter-gst)
6200 ("xorgproto" ,xorgproto)
6201 ("libxxf86vm" ,libxxf86vm)
6202 ("libxtst" ,libxtst)
6203 ("libxrandr" ,libxrandr)
6204 ("libxml2" ,libxml2)
6205 ("libsoup" ,libsoup)
6206 ("libpeas" ,libpeas)
6207 ("librsvg" ,librsvg)
6209 ("gnome-desktop" ,gnome-desktop)
6210 ("gstreamer" ,gstreamer)
6211 ("gst-plugins-base" ,gst-plugins-base)
6212 ("gst-plugins-good" ,gst-plugins-good)
6213 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6214 ("adwaita-icon-theme" ,adwaita-icon-theme)
6216 ("python-pygobject" ,python-pygobject)
6217 ("totem-pl-parser" ,totem-pl-parser)
6219 ("grilo-plugins" ,grilo-plugins)
6224 ;; Disable automatic GStreamer plugin installation via PackageKit and
6226 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6228 ;; Do not build .a files for the plugins, it's
6229 ;; completely useless. This saves 2 MiB.
6230 "--default-library" "shared")
6232 (modify-phases %standard-phases
6233 (add-after 'unpack 'skip-gtk-update-icon-cache
6234 ;; Don't create 'icon-theme.cache'.
6236 (substitute* "meson_post_install.py"
6237 (("gtk-update-icon-cache") "true"))
6239 (add-after 'unpack 'patch-failing-test
6241 ;; Work around test failure with GStreamer 1.18, because the test
6242 ;; relies on "und" not being mapped to a particular language:
6243 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6244 (substitute* "src/test-totem.c"
6245 (("und") "nosuchlang"))
6248 'install 'disable-cache-generation
6250 (setenv "DESTDIR" "/")
6255 ;; Tests require a running X server.
6256 (system "Xvfb :1 &")
6257 (setenv "DISPLAY" ":1")
6260 'install 'wrap-totem
6261 (lambda* (#:key inputs outputs #:allow-other-keys)
6262 (let ((out (assoc-ref outputs "out"))
6263 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6264 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6265 (wrap-program (string-append out "/bin/totem")
6266 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6267 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6268 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6269 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6271 (home-page "https://wiki.gnome.org/Apps/Videos")
6272 (synopsis "Simple media player for GNOME based on GStreamer")
6273 (description "Totem is a simple yet featureful media player for GNOME
6274 which can read a large number of file formats.")
6275 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6276 ;; to be used and distributed together with GStreamer and Totem. See
6277 ;; file://COPYING in the source distribution for details.
6278 (license license:gpl2+)))
6280 (define-public rhythmbox
6286 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6287 (version-major+minor version) "/"
6288 "rhythmbox-" version ".tar.xz"))
6291 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6292 (build-system glib-or-gtk-build-system)
6295 (list "--enable-lirc"
6302 (modify-phases %standard-phases
6304 'install 'wrap-rhythmbox
6305 (lambda* (#:key inputs outputs #:allow-other-keys)
6306 (let ((out (assoc-ref outputs "out"))
6307 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6308 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6309 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6310 (python-path (getenv "PYTHONPATH")))
6311 (wrap-program (string-append out "/bin/rhythmbox")
6312 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6313 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6314 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6315 `("PYTHONPATH" ":" prefix (,python-path))))
6318 `(("dconf" ,dconf)))
6320 `(("itstool" ,itstool)
6321 ("intltool" ,intltool)
6322 ("glib" ,glib "bin")
6323 ("gobject-introspection" ,gobject-introspection)
6324 ("desktop-file-utils" ,desktop-file-utils)
6325 ("pkg-config" ,pkg-config)
6326 ("xmllint" ,libxml2)))
6328 `(("json-glib" ,json-glib)
6330 ("gnome-desktop" ,gnome-desktop)
6332 ("python-pygobject" ,python2-pygobject)
6335 ("adwaita-icon-theme" ,adwaita-icon-theme)
6337 ("grilo-plugins" ,grilo-plugins)
6338 ("gstreamer" ,gstreamer)
6339 ("gst-plugins-base" ,gst-plugins-base)
6340 ("gst-plugins-good" ,gst-plugins-good)
6341 ("totem-pl-parser" ,totem-pl-parser)
6342 ("libgudev" ,libgudev)
6343 ;;("libmtp" ,libmtp) FIXME: Not detected
6344 ("libsecret" ,libsecret)
6345 ("libsoup" ,libsoup)
6346 ("libnotify" ,libnotify)
6347 ("libpeas" ,libpeas)
6349 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6350 ;;("clutter" ,clutter)
6351 ;;("clutter-gtk" ,clutter-gtk)
6352 ;;("clutter-gst" ,clutter-gst)
6353 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6360 ("brasero" ,brasero)))
6361 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6362 (synopsis "Music player for GNOME")
6363 (description "Rhythmbox is a music playing application for GNOME. It
6364 supports playlists, song ratings, and any codecs installed through gstreamer.")
6365 (license license:gpl2+)))
6373 (uri (string-append "mirror://gnome/sources/" name "/"
6374 (version-major+minor version) "/"
6375 name "-" version ".tar.xz"))
6378 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6379 (build-system meson-build-system)
6382 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6383 (list (string-append "-Dc_link_args=-Wl,-rpath="
6384 (assoc-ref %outputs "out") "/lib/eog"))
6386 (modify-phases %standard-phases
6387 (add-after 'unpack 'skip-gtk-update-icon-cache
6388 ;; Don't create 'icon-theme.cache'.
6390 (substitute* "meson_post_install.py"
6391 (("gtk-update-icon-cache") "true"))
6393 (add-after 'install 'wrap-eog
6394 (lambda* (#:key outputs #:allow-other-keys)
6395 (let ((out (assoc-ref outputs "out"))
6396 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6397 (wrap-program (string-append out "/bin/eog")
6398 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6401 `(("dconf" ,dconf)))
6403 `(("intltool" ,intltool)
6404 ("itstool" ,itstool)
6405 ("glib" ,glib "bin")
6406 ("gobject-introspection" ,gobject-introspection)
6407 ("pkg-config" ,pkg-config)
6408 ("xmllint" ,libxml2)))
6410 `(("gnome-desktop" ,gnome-desktop)
6411 ("shared-mime-info" ,shared-mime-info)
6412 ("adwaita-icon-theme" ,adwaita-icon-theme)
6415 ("libexif" ,libexif)
6416 ("libpeas" ,libpeas)
6417 ("libjpeg" ,libjpeg-turbo)
6418 ("librsvg" ,librsvg-next)
6419 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6421 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6422 (synopsis "GNOME image viewer")
6423 (description "Eye of GNOME is the GNOME image viewer. It
6424 supports image conversion, rotation, and slideshows.")
6425 (license license:gpl2+)))
6427 (define-public eog-plugins
6428 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6429 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6430 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6431 ;; 'XDG_DATA_DIRS' appropriately set.
6433 (name "eog-plugins")
6437 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6438 (version-major+minor version) "/"
6439 "eog-plugins-" version ".tar.xz"))
6442 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6443 (build-system gnu-build-system)
6444 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6445 (synopsis "Extensions for the Eye of GNOME image viewer")
6447 `(("pkg-config" ,pkg-config)
6448 ("gettext" ,gettext-minimal)))
6453 ("libpeas" ,libpeas)
6454 ("libexif" ,libexif)
6455 ("libchamplain" ,libchamplain)))
6457 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6461 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6462 @item @dfn{Map}, which displays a map of where the picture was taken on the
6464 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6467 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6468 ;; long suspicious byte stream that goes to a
6469 ;; ".gresource.eog_postasa_plugin" ELF section.
6470 (license license:gpl2+)))
6472 (define-public libgudev
6478 (uri (string-append "mirror://gnome/sources/" name "/"
6479 version "/" name "-" version ".tar.xz"))
6482 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6483 (build-system gnu-build-system)
6486 ;; umockdev depends on libgudev.
6487 (list "--disable-umockdev")))
6489 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6490 ("gobject-introspection" ,gobject-introspection)
6491 ("pkg-config" ,pkg-config)))
6493 `(("glib" ,glib))) ; required by gudev-1.0.pc
6496 (home-page "https://wiki.gnome.org/Projects/libgudev")
6497 (synopsis "GObject bindings for libudev")
6499 "This library provides GObject bindings for libudev. It was originally
6500 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6501 (license license:lgpl2.1+)))
6509 (uri (string-append "mirror://gnome/sources/gvfs/"
6510 (version-major+minor version) "/"
6511 "gvfs-" version ".tar.xz"))
6514 "07lpcfric3h0302n9b1pwa38mjb76r9s98kg2867y2d1qvzfivxx"))
6515 ;; This patch may be removed when upgrading to version 1.46.x.
6517 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6518 (build-system meson-build-system)
6522 (list "-Dsystemduserunitdir=no"
6524 ;; Otherwise, the RUNPATH will lack the final path component.
6525 (string-append "-Dc_link_args=-Wl,-rpath="
6526 (assoc-ref %outputs "out") "/lib/gvfs"))))
6528 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6529 ("gettext" ,gettext-minimal)
6530 ("gtk-doc" ,gtk-doc/stable)
6531 ("pkg-config" ,pkg-config)
6532 ("xsltproc" ,libxslt)))
6535 ("docbook-xml" ,docbook-xml-4.2)
6536 ("docbook-xsl" ,docbook-xsl)
6538 ("elogind" ,elogind)
6542 ("gnome-online-accounts" ,gnome-online-accounts)
6543 ("libarchive" ,libarchive)
6544 ("libbluray" ,libbluray)
6546 ("libcdio-paranoia" ,libcdio-paranoia)
6547 ("libgcrypt" ,libgcrypt)
6548 ("libgdata" ,libgdata)
6549 ("libgphoto2" ,libgphoto2)
6550 ("libgudev" ,libgudev)
6551 ("libimobiledevice" ,libimobiledevice)
6554 ("libsecret" ,libsecret)
6555 ("libsmbclient" ,samba)
6556 ("libsoup" ,libsoup)
6557 ("libxml2" ,libxml2)
6558 ("openssh" ,openssh)
6560 ("udisks" ,udisks)))
6561 ;; CVE-2019-{12447,12448,12449} are fixed in the 1.40.2 release.
6562 (properties '((lint-hidden-cve . ("CVE-2019-12447"
6564 "CVE-2019-12449"))))
6565 (home-page "https://wiki.gnome.org/gvfs/")
6566 (synopsis "Userspace virtual file system for GIO")
6568 "GVFS is a userspace virtual file system designed to work with the I/O
6569 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6570 to all applications using the GIO API. It also supports exposing the GVFS
6571 mounts to non-GIO applications using FUSE.
6573 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6575 (license license:lgpl2.0+)))
6584 (url "https://github.com/hughsie/libgusb")
6586 (file-name (git-file-name name version))
6589 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6590 (build-system meson-build-system)
6592 `(("gobject-introspection" ,gobject-introspection)
6593 ("pkg-config" ,pkg-config)
6595 ("gtk-doc" ,gtk-doc/stable)))
6597 ;; Both of these are required by gusb.pc.
6599 ("libusb" ,libusb)))
6601 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6602 (home-page "https://github.com/hughsie/libgusb")
6603 (synopsis "GLib binding for libusb1")
6605 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6606 asynchronous control, bulk and interrupt transfers with proper cancellation
6607 and integration into a mainloop. This makes it easy to integrate low level
6608 USB transfers with your high-level application or system daemon.")
6609 (license license:lgpl2.1+)))
6611 (define-public simple-scan
6613 (name "simple-scan")
6618 (uri (string-append "mirror://gnome/sources/simple-scan/"
6619 (version-major+minor version) "/"
6620 "simple-scan-" version ".tar.xz"))
6622 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6623 (build-system meson-build-system)
6624 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6626 '(#:glib-or-gtk? #t))
6632 ("gdk-pixbuf" ,gdk-pixbuf)
6634 ("libsane" ,sane-backends)))
6636 `(("gettext" ,gettext-minimal)
6637 ("itstool" ,itstool)
6638 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6639 ("pkg-config" ,pkg-config)
6641 ("xmllint" ,libxml2)))
6642 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6643 (synopsis "Document and image scanner")
6645 "Document Scanner is an easy-to-use application that lets you connect your
6646 scanner and quickly capture images and documents in an appropriate format. It
6647 supports any scanner for which a suitable SANE driver is available, which is
6648 almost all of them.")
6649 (license license:gpl3+)))
6651 (define-public eolie
6657 (uri (string-append "https://adishatz.org/eolie/eolie-"
6661 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6662 (build-system meson-build-system)
6666 (modify-phases %standard-phases
6667 (add-after 'unpack 'skip-gtk-update-icon-cache
6668 ;; Don't create 'icon-theme.cache'.
6670 (substitute* "meson_post_install.py"
6671 (("gtk-update-icon-cache") "true"))
6673 (add-after 'wrap 'wrap-more
6674 (lambda* (#:key inputs outputs #:allow-other-keys)
6675 (let* ((out (assoc-ref outputs "out"))
6676 ;; These libraries must be on LD_LIBRARY_PATH.
6677 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6678 "atk" "gtk+" "gsettings-desktop-schemas"
6679 "gobject-introspection"))
6682 (string-append (assoc-ref inputs lib) "/lib"))
6685 (wrap-program (string-append out "/bin/eolie")
6686 `("LD_LIBRARY_PATH" ":" prefix (,path))
6687 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6688 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6691 `(("intltool" ,intltool)
6692 ("itstool" ,itstool)
6693 ("pkg-config" ,pkg-config)
6695 ("glib:bin" ,glib "bin")))
6697 `(("gobject-introspection" ,gobject-introspection)
6698 ("glib-networking" ,glib-networking)
6701 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6702 ("python" ,python-wrapper)
6703 ("python-dateutil" ,python-dateutil)
6704 ("python-pyfxa" ,python-pyfxa)
6705 ("python-pygobject" ,python-pygobject)
6706 ("python-pycairo" ,python-pycairo)
6707 ("python-pycrypto" ,python-pycrypto)
6708 ("libhandy" ,libhandy)
6709 ("libsecret" ,libsecret)
6710 ("gtkspell3" ,gtkspell3)
6711 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6712 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
6713 ("webkitgtk" ,webkitgtk)))
6714 (home-page "https://wiki.gnome.org/Apps/Eolie")
6715 (synopsis "Web browser for GNOME")
6717 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6718 a secret password store, an adblocker, and a modern UI.")
6719 (license license:gpl3+)))
6721 (define-public epiphany
6727 (uri (string-append "mirror://gnome/sources/epiphany/"
6728 (version-major+minor version) "/"
6729 "epiphany-" version ".tar.xz"))
6732 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6734 (build-system meson-build-system)
6738 (modify-phases %standard-phases
6739 (add-after 'unpack 'skip-gtk-update-icon-cache
6740 ;; Don't create 'icon-theme.cache'.
6742 (substitute* "post_install.py"
6743 (("gtk-update-icon-cache") "true"))
6745 (add-after 'unpack 'disable-failing-tests
6747 (substitute* "tests/meson.build"
6748 ;; embed_shell fails, because webkitgtk apparently no longer supports
6749 ;; overriding the ftp schema
6750 ;; web_app_utils fails due to missing network access
6751 (("(embed_shell|web_app_utils)_test,")
6752 "find_program('sh'), args: ['-c', 'exit 77'],"))
6754 (add-before 'check 'pre-check
6756 ;; Tests require a running X server.
6757 (system "Xvfb :1 &")
6758 (setenv "DISPLAY" ":1")
6761 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6762 (list (string-append "-Dc_link_args=-Wl,-rpath="
6763 (assoc-ref %outputs "out") "/lib/epiphany"))))
6765 `(("dconf" ,dconf)))
6767 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6768 ("glib:bin" ,glib "bin") ; for glib-mkenums
6769 ("intltool" ,intltool)
6770 ("itstool" ,itstool)
6771 ("pkg-config" ,pkg-config)
6772 ("xmllint" ,libxml2)
6773 ("xorg-server" ,xorg-server-for-tests)))
6777 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6778 ("glib-networking" ,glib-networking)
6779 ("gnome-desktop" ,gnome-desktop)
6780 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6781 ("json-glib" ,json-glib)
6782 ("iso-codes" ,iso-codes)
6783 ("libdazzle" ,libdazzle)
6784 ("libnotify" ,libnotify)
6785 ("libsecret" ,libsecret)
6786 ("libxslt" ,libxslt)
6787 ("nettle" ,nettle) ; for hogweed
6789 ("webkitgtk" ,webkitgtk)))
6790 (home-page "https://wiki.gnome.org/Apps/Web")
6791 (synopsis "GNOME web browser")
6793 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6794 principles are simplicity and standards compliance.")
6795 (license license:gpl2+)))
6797 (define-public d-feet
6803 (uri (string-append "mirror://gnome/sources/" name "/"
6804 (version-major+minor version) "/"
6805 name "-" version ".tar.xz"))
6808 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6809 (build-system glib-or-gtk-build-system)
6811 '(#:out-of-source? #f ; tests need to run in the source directory.
6813 (modify-phases %standard-phases
6817 ;; The test suite requires a running X server.
6818 (system "Xvfb :1 &")
6819 (setenv "DISPLAY" ":1")
6820 ;; Don't fail on missing '/etc/machine-id'.
6821 (setenv "DBUS_FATAL_WARNINGS" "0")
6822 ;; tests.py and window.py don't meet E402:
6823 ;; E402 module level import not at top of file
6824 (substitute* "src/tests/Makefile"
6825 (("--ignore=E123") "--ignore=E123,E402"))
6828 'install 'wrap-program
6829 (lambda* (#:key outputs #:allow-other-keys)
6830 (let ((prog (string-append (assoc-ref outputs "out")
6833 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6834 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6837 `(("intltool" ,intltool)
6838 ("itstool" ,itstool)
6839 ("pkg-config" ,pkg-config)
6840 ("python-pep8" ,python-pep8)
6841 ("xmllint" ,libxml2)
6842 ("xorg-server" ,xorg-server-for-tests)))
6844 `(("gobject-introspection" ,gobject-introspection)
6846 ("python" ,python-wrapper)
6847 ("hicolor-icon-theme" ,hicolor-icon-theme)
6848 ("python-pygobject" ,python-pygobject)))
6849 (home-page "https://wiki.gnome.org/Apps/DFeet")
6850 (synopsis "D-Bus debugger")
6852 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6853 of running programs and invoke methods on those interfaces.")
6854 (license license:gpl2+)))
6856 (define-public yelp-xsl
6864 (string-append "mirror://gnome/sources/" name "/"
6865 (version-major+minor version) "/"
6866 name "-" version ".tar.xz"))
6868 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6869 (build-system gnu-build-system)
6871 `(("gettext-minimal" ,gettext-minimal)
6872 ("itstool" ,itstool)
6873 ("xmllint" ,libxml2)))
6874 (synopsis "XSL stylesheets for Yelp")
6875 (description "Yelp-XSL is a collection of programs and data files to help
6876 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6877 that can be built upon for help viewers and publishing systems. These
6878 stylesheets output JavaScript and CSS content, and reference images
6879 provided by yelp-xsl. It also redistributes copies of the jQuery and
6880 jQuery.Syntax JavaScript libraries.")
6881 (home-page "https://wiki.gnome.org/Apps/Yelp")
6897 (uri (string-append "mirror://gnome/sources/" name "/"
6898 (version-major+minor version) "/"
6899 name "-" version ".tar.xz"))
6902 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6903 (build-system glib-or-gtk-build-system)
6905 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6906 ("intltool" ,intltool)
6907 ("itstool" ,itstool)
6908 ("pkg-config" ,pkg-config)))
6910 `(("dconf" ,dconf)))
6912 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6913 ("libxslt" ,libxslt)
6915 ("webkitgtk" ,webkitgtk)
6916 ("yelp-xsl" ,yelp-xsl)))
6917 (home-page "https://wiki.gnome.org/Apps/Yelp")
6918 (synopsis "GNOME help browser")
6920 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6921 man, info, and HTML documents. It can locate documents according to the
6922 freedesktop.org help system specification.")
6923 (license license:gpl2+)))
6925 (define-public yelp-tools
6933 (string-append "mirror://gnome/sources/" name "/"
6934 (version-major+minor version) "/"
6935 name "-" version ".tar.xz"))
6937 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6938 (build-system gnu-build-system)
6940 `(("pkg-config" ,pkg-config)))
6942 `(("yelp-xsl" ,yelp-xsl)))
6944 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6945 `(("itstool" ,itstool)
6946 ("xmllint" ,libxml2)
6947 ("xsltproc" ,libxslt)))
6948 (synopsis "Yelp documentation tools")
6950 "Yelp-tools is a collection of scripts and build utilities to help create,
6951 manage, and publish documentation for Yelp and the web. Most of the heavy
6952 lifting is done by packages like yelp-xsl and itstool. This package just
6953 wraps things up in a developer-friendly way.")
6954 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6955 (license license:gpl2+)))
6957 (define-public libgee
6963 (uri (string-append "mirror://gnome/sources/libgee/"
6964 (version-major+minor version) "/"
6965 "libgee-" version ".tar.xz"))
6968 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6969 (build-system gnu-build-system)
6972 (modify-phases %standard-phases
6973 (add-after 'unpack 'fix-introspection-install-dir
6974 (lambda* (#:key outputs #:allow-other-keys)
6975 (let ((out (assoc-ref outputs "out")))
6976 (substitute* "gee/Makefile.in"
6977 (("@INTROSPECTION_GIRDIR@")
6978 (string-append out "/share/gir-1.0/"))
6979 (("@INTROSPECTION_TYPELIBDIR@")
6980 (string-append out "/lib/girepository-1.0/")))))))))
6982 `(("glib" ,glib "bin")
6983 ("pkg-config" ,pkg-config)))
6986 ("gobject-introspection" ,gobject-introspection)))
6987 (home-page "https://wiki.gnome.org/Projects/Libgee")
6988 (synopsis "GObject collection library")
6990 "Libgee is a utility library providing GObject-based interfaces and
6991 classes for commonly used data structures.")
6992 (license license:lgpl2.1+)))
6994 (define-public gexiv2
7000 (uri (string-append "mirror://gnome/sources/" name "/"
7001 (version-major+minor version) "/"
7002 name "-" version ".tar.xz"))
7005 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
7006 (build-system meson-build-system)
7009 ("glib" ,glib "bin")
7010 ("pkg-config" ,pkg-config)
7013 ;; Listed in "Requires" section of gexiv2.pc
7014 `(("exiv2" ,exiv2)))
7017 ("gobject-introspection" ,gobject-introspection)))
7018 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7019 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7021 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7022 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7023 metadata in photo and video files of various formats.")
7024 (license license:gpl2+)))
7026 (define-public shotwell
7032 (uri (string-append "mirror://gnome/sources/shotwell/"
7033 (version-major+minor version) "/"
7034 "shotwell-" version ".tar.xz"))
7037 "1h5crjq59lqi8f8mdkadzi8pc3i9i2ik4lsx2nrhzq486fzdfhw6"))))
7038 (build-system meson-build-system)
7042 (modify-phases %standard-phases
7043 (add-after 'unpack 'skip-gtk-update-icon-cache
7045 (substitute* "build-aux/meson/postinstall.py"
7046 (("gtk-update-icon-cache") (which "true"))
7047 (("update-desktop-database") (which "true")))
7050 `(("dconf" ,dconf)))
7052 `(("gettext" ,gettext-minimal)
7053 ("glib:bin" ,glib "bin")
7054 ("itstool" ,itstool)
7055 ("pkg-config" ,pkg-config)
7060 ("gst-plugins-base" ,gst-plugins-base)
7061 ("gstreamer" ,gstreamer)
7062 ("json-glib" ,json-glib)
7063 ("libgdata" ,libgdata)
7065 ("libgphoto2" ,libgphoto2)
7066 ("libgudev" ,libgudev)
7068 ("libsoup" ,libsoup)
7069 ("libxml2" ,libxml2)
7071 ("webkitgtk" ,webkitgtk)))
7072 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7073 (synopsis "Photo manager for GNOME 3")
7075 "Shotwell is a digital photo manager designed for the GNOME desktop
7076 environment. It allows you to import photos from disk or camera, organize
7077 them by keywords and events, view them in full-window or fullscreen mode, and
7078 share them with others via social networking and more.")
7079 (license license:lgpl2.1+)))
7081 (define-public file-roller
7083 (name "file-roller")
7087 (uri (string-append "mirror://gnome/sources/file-roller/"
7088 (version-major+minor version) "/"
7089 "file-roller-" version ".tar.xz"))
7092 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7093 (build-system meson-build-system)
7095 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7096 ("intltool" ,intltool)
7097 ("itstool" ,itstool)
7098 ("pkg-config" ,pkg-config)
7099 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7100 ("glib:bin" ,glib "bin")))
7101 ;; TODO: Add libnautilus.
7104 ("gdk-pixbuf" ,gdk-pixbuf)
7105 ("json-glib" ,json-glib)
7106 ("libarchive" ,libarchive)
7107 ("libnotify" ,libnotify)
7109 ("libxml2" ,libxml2)))
7110 (synopsis "Graphical archive manager for GNOME")
7111 (description "File Roller is an archive manager for the GNOME desktop
7112 environment that allows users to view, unpack, and create compressed archives
7113 such as gzip tarballs.")
7114 (home-page "http://fileroller.sourceforge.net/")
7115 (license license:gpl2+)))
7117 (define-public gnome-session
7119 (name "gnome-session")
7123 (uri (string-append "mirror://gnome/sources/" name "/"
7124 (version-major+minor version) "/"
7125 name "-" version ".tar.xz"))
7128 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7132 (modify-phases %standard-phases
7133 (add-before 'configure 'pre-configure
7134 (lambda* (#:key outputs #:allow-other-keys)
7135 ;; Use elogind instead of systemd.
7136 (substitute* "meson.build"
7137 (("libsystemd-login") "libelogind")
7138 (("and libsystemd_daemon_dep.found.*") ","))
7139 (substitute* "gnome-session/gsm-systemd.c"
7140 (("#include <systemd/sd-login.h>")
7141 "#include <elogind/sd-login.h>"))
7142 ;; Remove uses of the systemd daemon.
7143 (substitute* "gnome-session/gsm-autostart-app.c"
7144 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7146 (add-after 'install 'wrap-gnome-session
7147 (lambda* (#:key inputs outputs #:allow-other-keys)
7148 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7149 (let ((glib (assoc-ref inputs "glib:bin"))
7150 (out (assoc-ref outputs "out")))
7151 (wrap-program (string-append out "/bin/gnome-session")
7152 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7156 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7157 "-Dman=false" ; FIXME: disabled because of docbook validation error
7158 "-Dsystemd_journal=false")))
7159 (build-system meson-build-system)
7161 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7162 ("pkg-config" ,pkg-config)
7163 ("intltool" ,intltool)
7164 ("xsltproc" ,libxslt)
7165 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7166 ("docbook-xsl" ,docbook-xsl)
7167 ("docbook-xml" ,docbook-xml)
7170 `(("elogind" ,elogind)
7171 ("gnome-desktop" ,gnome-desktop)
7172 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7174 ("json-glib" ,json-glib)
7176 ("libxcomposite" ,libxcomposite)
7177 ("libxtst" ,libxtst)
7180 ("xtrans" ,xtrans)))
7181 (synopsis "Session manager for GNOME")
7183 "This package contains the GNOME session manager, as well as a
7184 configuration program to choose applications starting on login.")
7185 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7186 (license license:gpl2+)))
7194 (uri (string-append "mirror://gnome/sources/" name "/"
7195 (version-major+minor version) "/"
7196 name "-" version ".tar.xz"))
7199 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7200 (build-system gnu-build-system)
7203 (modify-phases %standard-phases
7207 ;; The test suite requires a running X server.
7208 (system "Xvfb :1 &")
7209 (setenv "DISPLAY" ":1")
7211 ;; For the missing /etc/machine-id.
7212 (setenv "DBUS_FATAL_WARNINGS" "0")
7214 ;; Our mozjs-38 package does not compile the required Intl API
7215 ;; support for these failing tests.
7216 (substitute* "installed-tests/js/testLocale.js"
7217 ((".*toBeDefined.*") "")
7218 ((".*expect\\(datestr\\).*") ""))
7219 (substitute* "installed-tests/scripts/testCommandLine.sh"
7224 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7225 ("pkg-config" ,pkg-config)
7226 ("xmllint" ,libxml2)
7228 ("dbus-launch" ,dbus)
7229 ("dconf" ,dconf) ; required to properly store settings
7230 ("uuidgen" ,util-linux)
7231 ("xvfb" ,xorg-server-for-tests)))
7233 ;; These are all in the Requires.private field of gjs-1.0.pc.
7235 ("gobject-introspection" ,gobject-introspection)
7236 ("mozjs" ,mozjs-60)))
7239 ("readline" ,readline)))
7240 (synopsis "Javascript bindings for GNOME")
7241 (home-page "https://live.gnome.org/Gjs")
7243 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7244 javascript engine and the GObject introspection framework.")
7245 (license license:gpl2+)))
7247 (define-public gedit
7253 (uri (string-append "mirror://gnome/sources/" name "/"
7254 (version-major+minor version) "/"
7255 name "-" version ".tar.xz"))
7258 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7259 (build-system meson-build-system)
7263 ;; Otherwise, the RUNPATH will lack the final path component.
7264 (list (string-append "-Dc_link_args=-Wl,-rpath="
7265 (assoc-ref %outputs "out") "/lib/gedit"))
7267 ;; XXX: Generated .h files are sometimes used before being built.
7268 #:parallel-build? #f
7271 (modify-phases %standard-phases
7272 (add-after 'unpack 'skip-gtk-update-icon-cache
7273 ;; Don't create 'icon-theme.cache'.
7275 (substitute* "build-aux/meson/post_install.py"
7276 (("gtk-update-icon-cache") (which "true")))
7278 (add-after 'unpack 'patch-libgd-fetch
7279 (lambda* (#:key inputs #:allow-other-keys)
7280 (let ((libgd (assoc-ref inputs "libgd")))
7281 ;; Calling git is unnecessary because libgd is fetched as a
7282 ;; native input to this package.
7283 (substitute* "meson.build"
7285 (copy-recursively libgd "subprojects/libgd")
7287 (add-after 'install 'wrap-gedit
7288 (lambda* (#:key inputs outputs #:allow-other-keys)
7289 (let ((out (assoc-ref outputs "out"))
7290 (gtksourceview (assoc-ref inputs "gtksourceview"))
7291 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7292 (python-path (getenv "PYTHONPATH")))
7293 (wrap-program (string-append out "/bin/gedit")
7295 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7296 `("PYTHONPATH" ":" prefix (,python-path))
7297 ;; For language-specs.
7298 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7302 `(("dconf" ,dconf)))
7304 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7305 ("intltool" ,intltool)
7306 ("itstool" ,itstool)
7307 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7308 ("gobject-introspection" ,gobject-introspection)
7313 (url "https://gitlab.gnome.org/GNOME/libgd")
7314 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7315 (file-name (git-file-name "libgd" version))
7317 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7318 ("pkg-config" ,pkg-config)))
7323 ("gtksourceview" ,gtksourceview)
7324 ("libpeas" ,libpeas)
7325 ("libxml2" ,libxml2)
7326 ("iso-codes" ,iso-codes)
7327 ("python-pygobject" ,python-pygobject)
7329 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7332 ("adwaita-icon-theme" ,adwaita-icon-theme)
7333 ("libsoup" ,libsoup)
7334 ("gnome-desktop" ,gnome-desktop)))
7335 (home-page "https://wiki.gnome.org/Apps/Gedit")
7336 (synopsis "GNOME text editor")
7337 (description "While aiming at simplicity and ease of use, gedit is a
7338 powerful general purpose text editor.")
7339 (license license:gpl2+)))
7341 (define-public zenity
7347 (uri (string-append "mirror://gnome/sources/zenity/"
7348 (version-major+minor version) "/"
7349 "zenity-" version ".tar.xz"))
7352 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7353 (build-system gnu-build-system)
7355 `(("gettext" ,gettext-minimal)
7356 ("itstool" ,itstool)
7357 ("pkg-config" ,pkg-config)))
7359 `(("libnotify" ,libnotify)
7360 ("webkitgtk" ,webkitgtk)))
7361 (synopsis "Display graphical dialog boxes from shell scripts")
7362 (home-page "https://www.gnome.org")
7364 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7365 to display dialog boxes from the commandline and shell scripts.")
7366 (license license:lgpl2.0+)))
7368 (define-public mutter
7374 (uri (string-append "mirror://gnome/sources/" name "/"
7375 (version-major+minor version) "/"
7376 name "-" version ".tar.xz"))
7379 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7380 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7381 ;; versions of cogl and clutter. As a result, many of the inputs,
7382 ;; propagated-inputs, and configure flags used in cogl and clutter are
7383 ;; needed here as well.
7384 (build-system meson-build-system)
7386 '(;; XXX: All mutter tests fail with the following error:
7387 ;; Settings schema 'org.gnome.mutter' is not installed
7391 ;; TODO: Enable profiler when Sysprof is packaged.
7392 (list "-Dprofiler=false"
7393 ;; Otherwise, the RUNPATH will lack the final path component.
7394 (string-append "-Dc_link_args=-Wl,-rpath="
7395 (assoc-ref %outputs "out") "/lib:"
7396 (assoc-ref %outputs "out") "/lib/mutter-5")
7398 ;; The following flags are needed for the bundled clutter
7399 (string-append "-Dxwayland_path="
7400 (assoc-ref %build-inputs "xorg-server-xwayland")
7403 ;; the remaining flags are needed for the bundled cogl
7404 (string-append "-Dopengl_libname="
7405 (assoc-ref %build-inputs "mesa")
7407 #:phases (modify-phases %standard-phases
7408 (add-after 'unpack 'fix-build-with-mesa-20
7410 ;; Mimic upstream commit a444a4c5f58ea516ad for
7411 ;; compatibility with Mesa 20. Remove for 3.36.
7412 (substitute* '("src/backends/meta-egl-ext.h"
7413 "src/backends/meta-egl.c"
7414 "src/backends/meta-egl.h")
7415 (("#include <EGL/eglext\\.h>" all)
7416 (string-append all "\n#include <EGL/eglmesaext.h>")))
7417 (substitute* "cogl/cogl/meson.build"
7418 (("#include <EGL/eglext\\.h>" all)
7419 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7422 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7423 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7424 ("gobject-introspection" ,gobject-introspection)
7425 ("intltool" ,intltool)
7426 ("pkg-config" ,pkg-config)
7427 ("xorg-server" ,xorg-server-for-tests)
7429 ("autoconf" ,autoconf)
7430 ("automake" ,automake)
7431 ("libtool" ,libtool)))
7433 `(;; libmutter.pc refers to these:
7434 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7436 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7439 ("gdk-pixbuf" ,gdk-pixbuf)
7441 ("json-glib" ,json-glib)
7442 ("libinput" ,libinput)
7444 ("libxcomposite" ,libxcomposite)
7445 ("libxdamage" ,libxdamage)
7446 ("libxext" ,libxext)
7447 ("libxfixes" ,libxfixes)
7448 ("libxkbcommon" ,libxkbcommon)
7449 ("libxrandr" ,libxrandr)
7453 ("xinput" ,xinput)))
7455 `(("elogind" ,elogind)
7456 ("gnome-desktop" ,gnome-desktop)
7457 ("gnome-settings-daemon" ,gnome-settings-daemon)
7458 ("libcanberra-gtk" ,libcanberra)
7459 ("libgudev" ,libgudev)
7462 ("libwacom" ,libwacom)
7463 ("libxkbfile" ,libxkbfile)
7464 ("libxrandr" ,libxrandr)
7465 ("libxtst" ,libxtst)
7466 ("pipewire" ,pipewire)
7467 ("startup-notification" ,startup-notification)
7468 ("upower-glib" ,upower)
7469 ("xkeyboard-config" ,xkeyboard-config)
7470 ("xorg-server-xwayland" ,xorg-server-xwayland)
7471 ("zenity" ,zenity)))
7472 (synopsis "Window and compositing manager")
7473 (home-page "https://www.gnome.org")
7475 "Mutter is a window and compositing manager that displays and manages your
7476 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7477 Clutter toolkit with solid window-management logic inherited from the Metacity
7479 (license license:gpl2+)))
7481 (define-public gnome-online-accounts
7483 (name "gnome-online-accounts")
7487 (uri (string-append "mirror://gnome/sources/" name "/"
7488 (version-major+minor version) "/"
7489 name "-" version ".tar.xz"))
7492 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7493 (outputs '("out" "lib"))
7494 (build-system glib-or-gtk-build-system)
7497 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7499 (modify-phases %standard-phases
7500 (add-before 'configure 'patch-libgoa-output
7501 (lambda* (#:key outputs #:allow-other-keys)
7502 (let ((lib (assoc-ref outputs "lib")))
7503 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7505 (("@exec_prefix@") lib)
7506 (("@libdir@") (string-append lib "/lib"))
7507 (("@includedir@") (string-append lib "/include"))
7508 (("@datadir@") (string-append lib "/share")))
7509 ;; Make sure gobject-introspection knows about the output
7510 ;; too (see <https://bugs.gnu.org/36535>).
7511 (setenv "outputs" "out lib")
7514 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7515 ("gobject-introspection" ,gobject-introspection)
7516 ("intltool" ,intltool)
7517 ("pkg-config" ,pkg-config)
7519 ("xsltproc" ,libxslt)))
7521 `(("glib" ,glib) ; required by goa-1.0.pc
7522 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7524 `(("docbook-xsl" ,docbook-xsl)
7525 ("json-glib" ,json-glib)
7526 ("libsecret" ,libsecret)
7528 ("webkitgtk" ,webkitgtk)))
7529 (synopsis "Single sign-on framework for GNOME")
7530 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7532 "GNOME Online Accounts provides interfaces so that applications and
7533 libraries in GNOME can access the user's online accounts. It has providers for
7534 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7535 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7536 (license license:lgpl2.0+)))
7538 (define-public evolution-data-server
7540 (name "evolution-data-server")
7544 (uri (string-append "mirror://gnome/sources/" name "/"
7545 (version-major+minor version) "/"
7546 name "-" version ".tar.xz"))
7547 (patches (search-patches "evolution-data-server-locales.patch"
7548 "evolution-data-server-libical-compat.patch"
7549 "evolution-data-server-CVE-2020-14928.patch"
7550 "evolution-data-server-CVE-2020-16117.patch"))
7553 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7554 (build-system cmake-build-system)
7557 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7558 (runpaths (map (lambda (s)
7559 (string-append lib "/evolution-data-server/" s))
7560 '("addressbook-backends" "calendar-backends"
7561 "camel-providers" "credential-modules"
7562 "registry-modules"))))
7563 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7564 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7565 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7566 "-DENABLE_VALA_BINDINGS=ON"
7567 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7568 (string-append lib "/evolution-data-server;")
7569 (string-join runpaths ";"))
7570 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7572 (modify-phases %standard-phases
7573 (add-after 'unpack 'disable-failing-tests
7575 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7576 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7577 (delete-file-recursively "tests/book-migration")
7578 (substitute* "tests/CMakeLists.txt"
7579 (("add_subdirectory\\(book-migration\\)") ""))
7581 (add-after 'unpack 'patch-paths
7583 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7584 "tests/libedata-book/data-test-utils.c"
7585 "tests/libedata-book/test-book-cache-utils.c"
7586 "tests/libedata-cal/test-cal-cache-utils.c")
7587 (("/bin/rm") (which "rm")))
7589 (add-before 'configure 'dont-override-rpath
7591 (substitute* "CMakeLists.txt"
7592 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7593 ;; Remove it so the configure flag is respected.
7594 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7597 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7598 ("gobject-introspection" ,gobject-introspection)
7600 ("intltool" ,intltool)
7601 ("pkg-config" ,pkg-config)
7603 ("python" ,python-wrapper)))
7605 ;; These are all in the Requires field of .pc files.
7607 ("libical" ,libical)
7608 ("libsecret" ,libsecret)
7609 ("libsoup" ,libsoup)
7611 ("sqlite" ,sqlite)))
7615 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7616 ("json-glib" ,json-glib)
7617 ("libcanberra" ,libcanberra)
7618 ("libgweather" ,libgweather)
7619 ("mit-krb5" ,mit-krb5)
7620 ("openldap" ,openldap)
7621 ("webkitgtk" ,webkitgtk)))
7622 (synopsis "Store address books and calendars")
7623 (home-page "https://wiki.gnome.org/Apps/Evolution")
7625 "This package provides a unified backend for programs that work with
7626 contacts, tasks, and calendar information. It was originally developed for
7627 Evolution (hence the name), but is now used by other packages as well.")
7628 (license license:lgpl2.0)))
7630 (define-public caribou
7636 (uri (string-append "mirror://gnome/sources/" name "/"
7637 (version-major+minor version) "/"
7638 name "-" version ".tar.xz"))
7641 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7642 (build-system glib-or-gtk-build-system)
7645 (modify-phases %standard-phases
7648 (lambda* (#:key outputs #:allow-other-keys)
7649 (let ((out (assoc-ref outputs "out")))
7650 ;; Use absolute shared library path in Caribou-1.0.typelib.
7651 (substitute* "libcaribou/Makefile"
7652 (("--shared-library=libcaribou.so")
7653 (string-append "--shared-library="
7654 out "/lib/libcaribou.so")))
7656 (add-after 'install 'wrap-programs
7657 (lambda* (#:key outputs #:allow-other-keys)
7658 (let* ((out (assoc-ref outputs "out"))
7659 (python-path (getenv "PYTHONPATH"))
7660 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7664 `("PYTHONPATH" ":" prefix (,python-path))
7665 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7666 (list (string-append out "/bin/caribou-preferences")
7667 (string-append out "/libexec/antler-keyboard"))))
7670 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7671 ("gobject-introspection" ,gobject-introspection)
7672 ("intltool" ,intltool)
7673 ("pkg-config" ,pkg-config)
7676 ("xsltproc" ,libxslt)))
7678 ;; caribou-1.0.pc refers to all these.
7679 `(("libgee" ,libgee)
7680 ("libxklavier" ,libxklavier)
7681 ("libxtst" ,libxtst)
7684 `(("clutter" ,clutter)
7687 ("python-pygobject" ,python-pygobject)))
7688 (synopsis "Text entry and UI navigation application")
7689 (home-page "https://wiki.gnome.org/Projects/Caribou")
7691 "Caribou is an input assistive technology intended for switch and pointer
7693 (license license:lgpl2.1)))
7695 (define-public network-manager
7697 (name "network-manager")
7701 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7702 (version-major+minor version) "/"
7703 "NetworkManager-" version ".tar.xz"))
7704 (patches (search-patches "network-manager-plugin-path.patch"))
7707 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7708 (modules '((guix build utils)))
7711 (substitute* "src/devices/wwan/nm-modem-manager.c"
7712 (("systemd") "elogind"))
7714 (build-system meson-build-system)
7716 "doc")) ; 8 MiB of gtk-doc HTML
7719 (let ((out (assoc-ref %outputs "out"))
7720 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7723 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7725 (string-append "-Dc_link_args=-Wl,-rpath="
7727 out "/lib/NetworkManager/" ,version)
7728 "-Dsystemd_journal=false"
7729 "-Dsession_tracking=elogind"
7730 "-Dsuspend_resume=elogind"
7731 "-Dsystemdsystemunitdir=no"
7732 "-Dsession_tracking_consolekit=false"
7741 "--localstatedir=/var"
7742 (string-append "-Dudev_dir="
7744 (string-append "-Ddbus_conf_dir="
7745 out "/etc/dbus-1/system.d")
7747 (string-append "-Ddhclient=" dhclient)))
7749 (modify-phases %standard-phases
7750 (add-before 'configure 'pre-configure
7752 ;; These tests try to test aspects of network-manager's
7753 ;; functionality within restricted containers, but they don't
7754 ;; cope with being already in the Guix build jail as that jail
7755 ;; lacks some features that they would like to proxy over (like
7757 (substitute* "src/platform/tests/meson.build"
7758 ((".*test-address-linux.*") "")
7759 ((".*test-cleanup-linux.*") "")
7760 ((".*test-link-linux.*") "")
7761 ((".*test-route-linux.*") ""))
7762 (substitute* "src/devices/tests/meson.build"
7763 ((".*test-acd.*") "")
7764 ((".*test-lldp.*") ""))
7766 (add-after 'unpack 'patch-docbook-xml
7767 (lambda* (#:key inputs #:allow-other-keys)
7768 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7769 "/xml/dtd/docbook")))
7770 (substitute* (find-files "." ".*\\.(xsl|xml)")
7771 (("http://.*/docbookx\\.dtd")
7772 (string-append xmldoc "/docbookx.dtd")))
7774 (add-before 'check 'pre-check
7776 ;; For the missing /etc/machine-id.
7777 (setenv "DBUS_FATAL_WARNINGS" "0")
7779 (add-before 'install 'no-polkit-magic
7780 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7782 (setenv "PKEXEC_UID" "something")
7784 (add-after 'install 'move-doc
7785 (lambda* (#:key outputs #:allow-other-keys)
7786 (let ((out (assoc-ref outputs "out"))
7787 (doc (assoc-ref outputs "doc")))
7788 (mkdir-p (string-append doc "/share"))
7789 (for-each (lambda (directory)
7790 (copy-recursively (string-append out directory)
7791 (string-append doc directory))
7792 (delete-file-recursively
7793 (string-append out directory)))
7794 '("/share/doc" "/share/gtk-doc"))
7799 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7800 ("gtk-doc" ,gtk-doc/stable)
7801 ("gobject-introspection" ,gobject-introspection)
7802 ("docbook-xml" ,docbook-xml)
7803 ("docbook-xsl" ,docbook-xsl)
7804 ("intltool" ,intltool)
7805 ("libxslt" ,libxslt)
7806 ("libxml2" ,libxml2)
7807 ("pkg-config" ,pkg-config)
7810 ("python" ,python-wrapper)
7811 ("python-dbus" ,python-dbus)
7812 ("python-pygobject" ,python-pygobject)))
7815 ("cyrus-sasl" ,cyrus-sasl)
7816 ("dbus-glib" ,dbus-glib)
7817 ("dnsmasq" ,dnsmasq)
7820 ("iptables" ,iptables)
7821 ("isc-dhcp" ,isc-dhcp)
7822 ("iwd" ,iwd) ; wpa_supplicant alternative
7823 ("jansson" ,jansson)
7825 ("libgcrypt" ,libgcrypt)
7826 ("libgudev" ,libgudev)
7829 ("libsoup" ,libsoup)
7830 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7831 ("modem-manager" ,modem-manager)
7832 ("newt" ,newt) ;for the 'nmtui' console interface
7833 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7836 ("readline" ,readline)
7837 ("util-linux" ,util-linux)
7838 ("elogind" ,elogind)))
7839 (synopsis "Network connection manager")
7840 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7842 "NetworkManager is a system network service that manages your network
7843 devices and connections, attempting to keep active network connectivity when
7844 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7845 devices, and provides VPN integration with a variety of different VPN
7847 ;; “This NetworkManager project consists of the daemon, client tools, and
7848 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7850 (license (list license:gpl2+
7852 (properties '((upstream-name . "NetworkManager")))))
7854 (define-public network-manager-openvpn
7856 (name "network-manager-openvpn")
7861 "mirror://gnome/sources/NetworkManager-openvpn/"
7862 (version-major+minor version)
7863 "/NetworkManager-openvpn-" version ".tar.xz"))
7866 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7867 (build-system gnu-build-system)
7869 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7871 (modify-phases %standard-phases
7872 (add-after 'configure 'patch-path
7873 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7874 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7876 (modprobe (string-append (assoc-ref inputs "kmod")
7878 (pretty-ovpn (string-append "\"" ovpn "\"")))
7882 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7883 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7884 (("\"/sbin/openvpn\"") pretty-ovpn)
7885 (("/sbin/modprobe") modprobe)))
7886 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7889 `(("pkg-config" ,pkg-config)
7890 ("intltool" ,intltool)))
7894 ("openvpn" ,openvpn)
7895 ("network-manager" ,network-manager)
7897 ("libsecret" ,libsecret)))
7898 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7899 (synopsis "OpenVPN plug-in for NetworkManager")
7901 "This extension of NetworkManager allows it to take care of connections
7902 to virtual private networks (VPNs) via OpenVPN.")
7903 (license license:gpl2+)
7904 (properties `((upstream-name . "NetworkManager-openvpn")))))
7906 (define-public network-manager-vpnc
7908 (name "network-manager-vpnc")
7913 "mirror://gnome/sources/NetworkManager-vpnc/"
7914 (version-major+minor version)
7915 "/NetworkManager-vpnc-" version ".tar.xz"))
7918 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7919 (build-system gnu-build-system)
7921 `(#:configure-flags '("--enable-absolute-paths"
7922 "--localstatedir=/var"
7923 ;; libnm-glib has been removed from network-manager
7924 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7925 "--with-libnm-glib=no")
7927 (modify-phases %standard-phases
7928 (add-after 'configure 'patch-path
7929 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7930 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7932 (modprobe (string-append (assoc-ref inputs "kmod")
7934 (pretty-ovpn (string-append "\"" vpnc "\"")))
7935 (substitute* "src/nm-vpnc-service.c"
7936 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7937 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7938 (("\"/sbin/vpnc\"") pretty-ovpn)
7939 (("/sbin/modprobe") modprobe)))
7942 `(("pkg-config" ,pkg-config)
7943 ("intltool" ,intltool)))
7948 ("network-manager" ,network-manager)
7950 ("libsecret" ,libsecret)))
7951 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7952 (synopsis "VPNC plug-in for NetworkManager")
7954 "Support for configuring virtual private networks based on VPNC.
7955 Compatible with Cisco VPN concentrators configured to use IPsec.")
7956 (license license:gpl2+)
7957 (properties `((upstream-name . "NetworkManager-vpnc")))))
7959 (define-public network-manager-openconnect
7961 (name "network-manager-openconnect")
7966 "mirror://gnome/sources/NetworkManager-openconnect/"
7967 (version-major+minor version)
7968 "/NetworkManager-openconnect-" version ".tar.xz"))
7971 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7972 (build-system gnu-build-system)
7974 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7976 (modify-phases %standard-phases
7977 (add-after 'configure 'patch-path
7978 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7979 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7980 "/sbin/openconnect"))
7981 (modprobe (string-append (assoc-ref inputs "kmod")
7983 (pretty-ovpn (string-append "\"" openconnect "\"")))
7984 (substitute* "src/nm-openconnect-service.c"
7985 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7986 (("/sbin/modprobe") modprobe)))
7989 `(("intltool" ,intltool)
7991 ("pkg-config" ,pkg-config)))
7996 ("libsecret" ,libsecret)
7997 ("libxml2" ,libxml2)
7999 ("network-manager" ,network-manager)
8000 ("openconnect" ,openconnect)))
8001 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8002 (synopsis "OpenConnect plug-in for NetworkManager")
8004 "This extension of NetworkManager allows it to take care of connections
8005 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
8006 Cisco's AnyConnect SSL VPN.")
8007 (license license:gpl2+)
8008 (properties `((upstream-name . "NetworkManager-openconnect")
8010 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8011 ;; file refers to account "nm-openconnect". Specify it here
8012 ;; so that 'network-manager-service-type' creates it.
8013 (user-accounts . ("nm-openconnect"))))))
8015 (define-public mobile-broadband-provider-info
8017 (name "mobile-broadband-provider-info")
8018 (version "20190116")
8022 "mirror://gnome/sources/"
8023 "mobile-broadband-provider-info/" version "/"
8024 "mobile-broadband-provider-info-" version ".tar.xz"))
8027 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
8028 (build-system gnu-build-system)
8030 `(#:tests? #f)) ; no tests
8031 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8032 (synopsis "Database of broadband connection configuration")
8033 (description "Database of broadband connection configuration.")
8034 (license license:public-domain)))
8036 (define-public network-manager-applet
8038 (name "network-manager-applet")
8042 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8043 (version-major+minor version) "/"
8044 "network-manager-applet-" version ".tar.xz"))
8047 "0lsjkbv66hn7acl2pg9h6hz4b700zzv4cjwrwjvy7043blw0bcla"))))
8048 (build-system meson-build-system)
8052 '("-Dappindicator=yes")))
8054 `(("intltool" ,intltool)
8055 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
8056 ("gobject-introspection" ,gobject-introspection)
8057 ("gtk-doc" ,gtk-doc/stable)
8058 ("pkg-config" ,pkg-config)))
8060 ;; libnm-gtk.pc refers to all these.
8061 `(("dbus-glib" ,dbus-glib)
8063 ("network-manager" ,network-manager)
8064 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8065 ("libnma" ,libnma)))
8068 ("libappindicator" ,libappindicator)
8069 ("libgudev" ,libgudev)
8070 ("libnotify" ,libnotify)
8071 ("libsecret" ,libsecret)
8072 ("libselinux" ,libselinux)
8073 ("jansson" ,jansson) ; for team support
8074 ("modem-manager" ,modem-manager)))
8075 (synopsis "Applet for managing network connections")
8076 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8078 "This package contains a systray applet for NetworkManager. It displays
8079 the available networks and allows users to easily switch between them.")
8080 (license license:gpl2+)))
8082 (define-public libxml++
8088 (uri (string-append "mirror://gnome/sources/" name "/"
8089 (version-major+minor version) "/"
8090 name "-" version ".tar.xz"))
8093 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8094 (build-system gnu-build-system)
8095 ;; libxml++-3.0.pc refers to all these.
8097 `(("libxml2" ,libxml2)
8098 ("glibmm" ,glibmm)))
8101 ("pkg-config" ,pkg-config)))
8102 (home-page "http://libxmlplusplus.sourceforge.net/")
8103 (synopsis "C++ wrapper for XML parser library libxml2")
8105 "This package provides a C++ wrapper for the XML parser library
8107 (license license:lgpl2.1+)))
8109 (define-public libxml++-2
8116 (uri (string-append "mirror://gnome/sources/" name "/"
8117 (version-major+minor version) "/"
8118 name "-" version ".tar.xz"))
8121 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8129 (uri (string-append "mirror://gnome/sources/" name "/"
8130 (version-major+minor version) "/"
8131 name "-" version ".tar.xz"))
8134 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8135 (patches (search-patches "gdm-default-session.patch"))))
8136 (build-system glib-or-gtk-build-system)
8139 `("--without-plymouth"
8140 "--disable-systemd-journal"
8142 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8143 ;; instead of having to replace it (i.e., stopping the mingetty
8144 ;; service for TTY 1 before starting GDM).
8145 "--with-initial-vt=7"
8147 ;; Use '/etc/environment' for locale settings instead of the
8148 ;; systemd-specific '/etc/locale.conf'.
8149 "--with-lang-file=/etc/environment"
8151 ,(string-append "--with-udevdir="
8152 (assoc-ref %outputs "out") "/lib/udev")
8154 "--localstatedir=/var"
8155 ,(string-append "--with-default-path="
8156 (string-join '("/run/setuid-programs"
8157 "/run/current-system/profile/bin"
8158 "/run/current-system/profile/sbin")
8160 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8161 ;; XDG_DATA_DIRS so that it finds its schemas.
8162 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8164 (modify-phases %standard-phases
8166 'configure 'pre-configure
8167 (lambda* (#:key inputs outputs #:allow-other-keys)
8168 ;; We don't have <systemd/sd-daemon.h>.
8169 (substitute* '("common/gdm-log.c"
8170 "daemon/gdm-server.c"
8171 "daemon/gdm-session-worker.c"
8172 "daemon/gdm-session-worker-job.c")
8173 (("#include <systemd/sd-daemon\\.h>") ""))
8174 ;; Use elogind for sd-login.
8175 (substitute* '("common/gdm-common.c"
8176 "daemon/gdm-local-display-factory.c"
8177 "daemon/gdm-manager.c"
8178 "libgdm/gdm-user-switching.c")
8179 (("#include <systemd/sd-login\\.h>")
8180 "#include <elogind/sd-login.h>"))
8181 ;; Check for elogind.
8182 (substitute* '("configure")
8185 ;; Look for system-installed sessions in
8186 ;; /run/current-system/profile/share.
8187 (substitute* '("libgdm/gdm-sessions.c"
8188 "daemon/gdm-session.c"
8189 "daemon/gdm-display.c"
8190 "daemon/gdm-launch-environment.c")
8192 "\"/run/current-system/profile/share/x")
8193 (("DATADIR \"/wayland")
8194 "\"/run/current-system/profile/share/wayland")
8195 (("DATADIR \"/gnome")
8196 "\"/run/current-system/profile/share/gnome"))
8197 (let ((propagate '("GDM_CUSTOM_CONF"
8201 ;; XXX: Remove this once GNOME Shell is
8202 ;; a dependency of GDM.
8204 (substitute* "daemon/gdm-session.c"
8205 (("set_up_session_environment \\(self\\);")
8206 (apply string-append
8207 "set_up_session_environment (self);\n"
8210 "gdm_session_set_environment_variable "
8211 "(self, \"" name "\","
8212 "g_getenv (\"" name "\"));\n"))
8214 ;; Find the configuration file using an environment variable.
8215 (substitute* '("common/gdm-settings.c")
8216 (("GDM_CUSTOM_CONF")
8217 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8218 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8219 " : GDM_CUSTOM_CONF)")))
8220 ;; Use service-supplied path to X.
8221 (substitute* '("daemon/gdm-server.c")
8222 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8223 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8224 (substitute* '("daemon/gdm-wayland-session.c"
8225 "daemon/gdm-x-session.c")
8226 (("\"dbus-daemon\"")
8227 "g_getenv (\"GDM_DBUS_DAEMON\")")
8229 "g_getenv (\"GDM_X_SERVER\")")
8230 (("GDMCONFDIR \"/Xsession\"")
8231 "g_getenv (\"GDM_X_SESSION\")"))
8232 ;; Use an absolute path for GNOME Session.
8233 (substitute* "daemon/gdm-launch-environment.c"
8234 (("\"gnome-session\"")
8235 (string-append "\"" (assoc-ref inputs "gnome-session")
8236 "/bin/gnome-session\"")))
8237 ;; Do not automatically select the placeholder session.
8238 (substitute* "daemon/gdm-session.c"
8239 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8240 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8241 "(g_strcmp0(search_dirs[i], \""
8242 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8244 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8245 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8246 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8248 ;; GDM requires that there be at least one desktop entry
8249 ;; file. This phase installs a hidden one that simply
8250 ;; fails. This enables users to use GDM with a
8251 ;; '~/.xsession' script with no other desktop entry files.
8252 ;; See <https://bugs.gnu.org/35068>.
8253 (add-after 'install 'install-placeholder-desktop-entry
8254 (lambda* (#:key inputs outputs #:allow-other-keys)
8255 (let* ((out (assoc-ref outputs "out"))
8256 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8257 (fail (string-append sessions "/fail.desktop")))
8259 (with-output-to-file fail
8263 '("[Desktop Entry]\n"
8265 "Type=Application\n"
8267 "Comment=This session fails immediately.\n"
8271 ;; GDM needs GNOME Session to run these applications. We link
8272 ;; their autostart files in `share/gdm/greeter/autostart'
8273 ;; because GDM explicitly tells GNOME Session to look there.
8275 ;; XXX: GNOME Shell should be linked here too, but currently
8276 ;; GNOME Shell depends on GDM.
8277 (add-after 'install 'link-autostart-files
8278 (lambda* (#:key inputs outputs #:allow-other-keys)
8279 (let* ((out (assoc-ref outputs "out"))
8280 (autostart (string-append out "/share/gdm/"
8281 "greeter/autostart"))
8282 (settings (assoc-ref inputs "gnome-settings-daemon")))
8284 (with-directory-excursion autostart
8285 (for-each (lambda (desktop)
8286 (symlink desktop (basename desktop)))
8287 (find-files (string-append settings "/etc/xdg"))))
8291 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8292 ("gobject-introspection" ,gobject-introspection)
8293 ("intltool" ,intltool)
8294 ("itstool" ,itstool)
8295 ("pkg-config" ,pkg-config)
8296 ("xmllint" ,libxml2)))
8298 `(("accountsservice" ,accountsservice)
8299 ("check" ,check-0.14) ;for testing
8300 ("elogind" ,elogind)
8301 ("gnome-session" ,gnome-session)
8302 ("gnome-settings-daemon" ,gnome-settings-daemon)
8304 ("iso-codes" ,iso-codes)
8305 ("libcanberra" ,libcanberra)
8306 ("linux-pam" ,linux-pam)))
8307 (synopsis "Display manager for GNOME")
8308 (home-page "https://wiki.gnome.org/Projects/GDM/")
8310 "GNOME Display Manager is a system service that is responsible for
8311 providing graphical log-ins and managing local and remote displays.")
8312 (license license:gpl2+)))
8314 (define-public libgtop
8320 (uri (string-append "mirror://gnome/sources/libgtop/"
8321 (version-major+minor version) "/"
8322 "libgtop-" version ".tar.xz"))
8325 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8326 (build-system gnu-build-system)
8328 `(("gobject-introspection" ,gobject-introspection)
8329 ("intltool" ,intltool)
8331 ("pkg-config" ,pkg-config)))
8333 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8334 (synopsis "Portable system access library")
8335 (home-page "https://www.gnome.org/")
8337 "LibGTop is a library to get system specific data such as CPU and memory
8338 usage and information about running processes.")
8339 (license license:gpl2+)))
8341 (define-public gnome-bluetooth
8343 (name "gnome-bluetooth")
8347 (uri (string-append "mirror://gnome/sources/" name "/"
8348 (version-major+minor version) "/"
8349 name "-" version ".tar.xz"))
8352 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8353 (build-system meson-build-system)
8355 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8356 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8357 ("gobject-introspection" ,gobject-introspection)
8358 ("intltool" ,intltool)
8359 ("pkg-config" ,pkg-config)
8360 ("xmllint" ,libxml2)))
8362 ;; gnome-bluetooth-1.0.pc refers to all these.
8367 ("libcanberra" ,libcanberra)
8368 ("libnotify" ,libnotify)))
8369 (synopsis "GNOME Bluetooth subsystem")
8370 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8372 "This package contains tools for managing and manipulating Bluetooth
8373 devices using the GNOME desktop.")
8374 (license license:lgpl2.1+)))
8376 (define-public gnome-control-center
8378 (name "gnome-control-center")
8382 (uri (string-append "mirror://gnome/sources/" name "/"
8383 (version-major+minor version) "/"
8384 name "-" version ".tar.xz"))
8387 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8388 (build-system meson-build-system)
8392 (list "-Dcheese=false"
8393 (string-append "-Dgnome_session_libexecdir="
8394 (assoc-ref %build-inputs "gnome-session")
8397 (modify-phases %standard-phases
8398 (add-before 'configure 'patch-paths
8399 (lambda* (#:key inputs #:allow-other-keys)
8400 (let ((libc (assoc-ref inputs "libc"))
8401 (tzdata (assoc-ref inputs "tzdata"))
8402 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8403 (nm-applet (assoc-ref inputs "network-manager-applet"))
8404 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8405 (substitute* "panels/datetime/tz.h"
8406 (("/usr/share/zoneinfo/zone.tab")
8407 (string-append tzdata "/share/zoneinfo/zone.tab")))
8408 (substitute* "tests/datetime/test-endianess.c"
8409 (("/usr/share/locale")
8410 (string-append libc "/share/locale")))
8411 (substitute* "panels/region/cc-region-panel.c"
8412 (("\"gkbd-keyboard-display")
8413 (string-append "\"" libgnomekbd
8414 "/bin/gkbd-keyboard-display")))
8415 (substitute* '("panels/network/net-device-wifi.c"
8416 "panels/network/net-device.c"
8417 "panels/network/connection-editor/net-connection-editor.c")
8418 (("\"nm-connection-editor")
8419 (string-append "\"" nm-applet
8420 "/bin/nm-connection-editor")))
8421 (substitute* '("panels/user-accounts/run-passwd.c")
8422 (("/usr/bin/passwd")
8423 "/run/setuid-programs/passwd"))
8424 (substitute* "panels/info/cc-info-overview-panel.c"
8425 (("DATADIR \"/gnome/gnome-version.xml\"")
8426 (string-append "\"" gnome-desktop
8427 "/share/gnome/gnome-version.xml\"")))
8429 (add-after 'unpack 'skip-gtk-update-icon-cache
8430 ;; Don't create 'icon-theme.cache'.
8432 (substitute* "build-aux/meson/meson_post_install.py"
8433 (("gtk-update-icon-cache") (which "true")))
8436 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8437 ("intltool" ,intltool)
8438 ("pkg-config" ,pkg-config)
8439 ("xsltproc" ,libxslt)
8441 ("hicolor-icon-theme" ,hicolor-icon-theme)
8442 ("python-dbusmock" ,python-dbusmock)
8443 ("xorg-server" ,xorg-server-for-tests)))
8445 `(("accountsservice" ,accountsservice)
8446 ("clutter-gtk" ,clutter-gtk)
8447 ("colord-gtk" ,colord-gtk)
8450 ("docbook-xsl" ,docbook-xsl)
8451 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8452 ("gnome-bluetooth" ,gnome-bluetooth)
8453 ("gnome-desktop" ,gnome-desktop)
8454 ("gnome-online-accounts" ,gnome-online-accounts)
8455 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8456 ("gnome-session" ,gnome-session)
8457 ("gnome-settings-daemon" ,gnome-settings-daemon)
8461 ("libcanberra" ,libcanberra)
8462 ("libgnomekbd" ,libgnomekbd)
8463 ("libgudev" ,libgudev)
8464 ("libgtop" ,libgtop)
8466 ("libpwquality" ,libpwquality)
8467 ("libsecret" ,libsecret)
8468 ("libsoup" ,libsoup)
8469 ("libxml2" ,libxml2)
8470 ("libwacom" ,libwacom)
8472 ("mit-krb5" ,mit-krb5)
8473 ("modem-manager" ,modem-manager)
8474 ("network-manager-applet" ,network-manager-applet)
8476 ("pulseaudio" ,pulseaudio)
8477 ("smbclient" ,samba)
8480 ("upower" ,upower)))
8481 (synopsis "Utilities to configure the GNOME desktop")
8482 (home-page "https://www.gnome.org/")
8484 "This package contains configuration applets for the GNOME desktop,
8485 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8486 properties, sound setup, desktop theme and background, user interface
8487 properties, screen resolution, and other GNOME parameters.")
8488 (license license:gpl2+)))
8490 (define-public gnome-shell
8492 (name "gnome-shell")
8496 (uri (string-append "mirror://gnome/sources/" name "/"
8497 (version-major+minor version) "/"
8498 name "-" version ".tar.xz"))
8501 "0l3mdn7g2c22mdhrqkxvvc1pk2w0v32f2v4a6n1phvaalwcg75nj"))
8502 (patches (search-patches "gnome-shell-CVE-2020-17489.patch"
8503 "gnome-shell-theme.patch"
8504 "gnome-shell-disable-test.patch"))
8505 (modules '((guix build utils)))
8508 ;; Copy images for use on the GDM log-in screen.
8509 (copy-file #$(file-append %artwork-repository
8510 "/slim/0.x/background.png")
8511 "data/theme/guix-background.png")
8512 (copy-file #$(file-append %artwork-repository
8513 "/logo/Guix-horizontal-white.svg")
8514 "data/theme/guix-logo.svg")
8516 (build-system meson-build-system)
8519 #:disallowed-references ((,glib "bin")
8523 (list "-Dsystemd=false"
8524 ;; Otherwise, the RUNPATH will lack the final path component.
8525 (string-append "-Dc_link_args=-Wl,-rpath="
8526 (assoc-ref %outputs "out")
8527 "/lib/gnome-shell"))
8529 #:modules ((guix build meson-build-system)
8534 (modify-phases %standard-phases
8535 (add-after 'unpack 'fix-keysdir
8536 (lambda* (#:key outputs #:allow-other-keys)
8537 (let* ((out (assoc-ref outputs "out"))
8538 (keysdir (string-append
8539 out "/share/gnome-control-center/keybindings")))
8540 (substitute* "meson.build"
8542 (string-append "keysdir = '" keysdir "'\n")))
8544 (add-before 'configure 'convert-logo-to-png
8545 (lambda* (#:key inputs #:allow-other-keys)
8546 ;; Convert the logo from SVG to PNG.
8547 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8548 "data/theme/guix-logo.svg")))
8549 (add-before 'configure 'record-absolute-file-names
8550 (lambda* (#:key inputs #:allow-other-keys)
8551 (substitute* "js/misc/ibusManager.js"
8553 (string-append "'" (assoc-ref inputs "ibus")
8554 "/bin/ibus-daemon'")))
8555 (substitute* "js/ui/status/keyboard.js"
8556 (("'gkbd-keyboard-display'")
8557 (string-append "'" (assoc-ref inputs "libgnomekbd")
8558 "/bin/gkbd-keyboard-display'")))
8560 (add-before 'check 'pre-check
8561 (lambda* (#:key inputs #:allow-other-keys)
8562 ;; Tests require a running X server.
8563 (system "Xvfb :1 &")
8564 (setenv "DISPLAY" ":1")
8566 (add-after 'install 'wrap-programs
8567 (lambda* (#:key inputs outputs #:allow-other-keys)
8568 (let ((out (assoc-ref outputs "out"))
8569 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8570 (python-path (getenv "PYTHONPATH")))
8571 (wrap-program (string-append out "/bin/gnome-shell")
8572 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8573 ;; FIXME: gnome-shell loads these libraries with unqualified
8574 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8575 ;; alternative might be to patch gnome-shell.
8576 `("LD_LIBRARY_PATH" ":" prefix
8578 (string-append (assoc-ref inputs pkg) "/lib"))
8580 "gnome-bluetooth" "librsvg" "libgweather"))))
8583 (wrap-program (string-append out "/bin/" prog)
8584 `("PYTHONPATH" ":" prefix (,python-path))
8585 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8586 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8588 (replace 'glib-or-gtk-wrap
8589 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8590 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8591 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8592 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8593 ;; phase. Fix that since we don't need these.
8594 (wrap #:inputs (fold alist-delete inputs
8595 '("inkscape" "intltool" "glib:bin"))
8596 #:outputs outputs)))))))
8598 `(("asciidoc" ,asciidoc)
8599 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8600 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8601 ("gobject-introspection" ,gobject-introspection)
8602 ("inkscape" ,inkscape)
8603 ("intltool" ,intltool)
8604 ("pkg-config" ,pkg-config)
8606 ("ruby-sass" ,ruby-sass)
8608 ("xsltproc" ,libxslt)
8610 ("xorg-server" ,xorg-server-for-tests)))
8612 `(("accountsservice" ,accountsservice)
8613 ("caribou" ,caribou)
8614 ("docbook-xsl" ,docbook-xsl)
8615 ("evolution-data-server" ,evolution-data-server)
8618 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8620 ("gnome-autoar" ,gnome-autoar)
8621 ("gnome-bluetooth" ,gnome-bluetooth)
8622 ("gnome-desktop" ,gnome-desktop)
8623 ("gnome-settings-daemon" ,gnome-settings-daemon)
8624 ("gst-plugins-base" ,gst-plugins-base)
8626 ("libcanberra" ,libcanberra)
8627 ("libcroco" ,libcroco)
8628 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8629 ("libgweather" ,libgweather)
8631 ("libsoup" ,libsoup)
8632 ("mesa-headers" ,mesa-headers)
8634 ("network-manager-applet" ,network-manager-applet)
8636 ("pulseaudio" ,pulseaudio)
8637 ("python-pygobject" ,python-pygobject)
8638 ("startup-notification" ,startup-notification)
8639 ("telepathy-logger" ,telepathy-logger)
8641 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8642 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8643 ("librsvg" ,librsvg)
8644 ("geoclue" ,geoclue)))
8645 ;; CVE-2019-3820 was fixed before GNOME 3.34 was released, in upstream
8646 ;; commit f0a7395b3006360905ccdc642982f9fc67378927.
8647 (properties '((lint-hidden-cve . ("CVE-2019-3820"))))
8648 (synopsis "Desktop shell for GNOME")
8649 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8651 "GNOME Shell provides core user interface functions for the GNOME desktop,
8652 like switching to windows and launching applications.")
8653 (license license:gpl2+)))
8655 (define-public gtk-vnc
8663 (string-append "mirror://gnome/sources/" name "/"
8664 (version-major+minor version) "/"
8665 name "-" version ".tar.xz"))
8667 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8668 (build-system meson-build-system)
8670 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8673 ("glib:bin" ,glib "bin")
8674 ("gobject-introspection" ,gobject-introspection)
8675 ("intltool" ,intltool)
8678 ("pkg-config" ,pkg-config)
8679 ("python" ,python-wrapper)
8683 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8686 ("libgcrypt" ,libgcrypt)
8687 ("libsasl" ,cyrus-sasl)
8688 ("pulseaudio" ,pulseaudio)
8693 (synopsis "VNC client viewer widget for GTK+")
8694 (description "GTK-VNC is a project providing client side APIs for the RFB
8695 protocol / VNC remote desktop technology. It is built using coroutines allowing
8696 it to be completely asynchronous while remaining single threaded. It provides a
8697 core C library, and bindings for Python (PyGTK).")
8698 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8699 (license license:lgpl2.1+)))
8701 (define-public gnome-autoar
8703 (name "gnome-autoar")
8707 (uri (string-append "mirror://gnome/sources/" name "/"
8708 (version-major+minor version) "/"
8709 name "-" version ".tar.xz"))
8712 "0wkwix44yg126xn1v4f2j60bv9yiyadfpzf8ifx0bvd9x5f4v354"))))
8713 (build-system glib-or-gtk-build-system)
8715 `(("gobject-introspection" ,gobject-introspection)
8716 ("pkg-config" ,pkg-config)))
8718 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8721 (synopsis "Archives integration support for GNOME")
8722 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8724 "GNOME Autoar is a library which makes creating and extracting archives
8725 easy, safe, and automatic.")
8726 (license license:lgpl2.1+)))
8728 (define-public tracker
8734 (uri (string-append "mirror://gnome/sources/tracker/"
8735 (version-major+minor version) "/"
8736 "tracker-" version ".tar.xz"))
8739 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8740 (build-system meson-build-system)
8744 ;; Otherwise, the RUNPATH will lack the final path component.
8745 (list (string-append "-Dc_link_args=-Wl,-rpath="
8746 (assoc-ref %outputs "out") "/lib:"
8747 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8749 (modify-phases %standard-phases
8750 (add-before 'check 'pre-check
8752 ;; Some tests expect to write to $HOME.
8753 (setenv "HOME" "/tmp")
8756 `(("glib:bin" ,glib "bin")
8757 ("gobject-introspection" ,gobject-introspection)
8758 ("python-pygobject" ,python-pygobject)
8759 ("intltool" ,intltool)
8760 ("pkg-config" ,pkg-config)
8765 ("libxml2" ,libxml2)
8766 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8767 ("json-glib" ,json-glib)
8768 ("libsoup" ,libsoup)))
8769 (synopsis "Metadata database, indexer and search tool")
8770 (home-page "https://wiki.gnome.org/Projects/Tracker")
8772 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8774 It is a middleware component aimed at desktop application developers who want
8775 their apps to browse and search user content. It's not designed to be used
8776 directly by desktop users, but it provides a commandline tool named
8777 @command{tracker} for the adventurous.
8779 Tracker allows your application to instantly perform full-text searches across
8780 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8781 example. This is achieved by indexing the user's home directory in the
8784 Tracker also allows your application to query and list content that the user
8785 has stored. For example, GNOME Music displays all the music files that are
8786 found by Tracker. This means that GNOME Music doesn't need to maintain a
8787 database of its own.
8789 If you need to go beyond simple searches, Tracker is also a linked data
8790 endpoint and it understands SPARQL. ")
8791 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8792 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8793 ;; libstemmer is bsd-3 and the rest is gpl2+.
8794 (license (list license:gpl2+
8796 license:lgpl2.1+))))
8798 (define-public tracker-miners
8800 (name "tracker-miners")
8804 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8805 (version-major+minor version)
8806 "/tracker-miners-" version ".tar.xz"))
8809 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8810 (build-system meson-build-system)
8814 (list "-Dminer_rss=false" ; libgrss is required.
8815 ;; Ensure the RUNPATH contains all installed library locations.
8816 (string-append "-Dc_link_args=-Wl,-rpath="
8817 (assoc-ref %outputs "out")
8818 "/lib/tracker-miners-2.0")
8819 ;; TODO: Enable functional tests. Currently, the following error
8821 ;; Exception: The functional tests require DConf to be the default
8822 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8823 "-Dfunctional_tests=false")))
8826 ("intltool" ,intltool)
8827 ("glib:bin" ,glib "bin")
8828 ("gobject-introspection" ,gobject-introspection)
8829 ("pkg-config" ,pkg-config)
8830 ("python-pygobject" ,python-pygobject)))
8832 `(("exempi" ,exempi)
8837 ("gstreamer" ,gstreamer)
8840 ("libexif" ,libexif)
8842 ("libgxps" ,libgxps)
8843 ("libiptcdata" ,libiptcdata)
8844 ("libjpeg" ,libjpeg-turbo)
8845 ("libosinfo" ,libosinfo)
8847 ("libseccomp" ,libseccomp)
8848 ("libtiff" ,libtiff)
8849 ("libvorbis" ,libvorbis)
8850 ("libxml2" ,libxml2)
8851 ("poppler" ,poppler)
8853 ("totem-pl-parser" ,totem-pl-parser)
8854 ("tracker" ,tracker)
8857 (synopsis "Metadata database, indexer and search tool")
8858 (home-page "https://wiki.gnome.org/Projects/Tracker")
8860 "Tracker is an advanced framework for first class objects with associated
8861 metadata and tags. It provides a one stop solution for all metadata, tags,
8862 shared object databases, search tools and indexing.")
8863 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8864 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8865 (license (list license:gpl2+
8867 license:lgpl2.0+))))
8869 (define-public nautilus
8875 (uri (string-append "mirror://gnome/sources/" name "/"
8876 (version-major+minor version) "/"
8877 name "-" version ".tar.xz"))
8880 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8881 (build-system meson-build-system)
8885 (modify-phases %standard-phases
8886 (add-after 'unpack 'skip-gtk-update-icon-cache
8887 ;; Don't create 'icon-theme.cache'.
8889 (substitute* "build-aux/meson/postinstall.py"
8890 (("gtk-update-icon-cache") "true"))
8892 ;; XXX: FAIL: check-nautilus
8893 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8896 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8897 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8898 ("gobject-introspection" ,gobject-introspection)
8899 ("intltool" ,intltool)
8900 ("pkg-config" ,pkg-config)))
8906 ("gnome-desktop" ,gnome-desktop)
8907 ("gnome-autoar" ,gnome-autoar)
8908 ("gst-plugins-base" ,gst-plugins-base)
8909 ("libseccomp" ,libseccomp)
8910 ("libselinux" ,libselinux)
8911 ("tracker" ,tracker)
8912 ("tracker-miners" ,tracker-miners)
8913 ;; XXX: gtk+ is required by libnautilus-extension.pc
8915 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8917 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8919 ("libexif" ,libexif)
8920 ("libxml2" ,libxml2)))
8921 (synopsis "File manager for GNOME")
8922 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8924 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8925 design and behaviour, giving the user a simple way to navigate and manage its
8927 (license license:gpl2+)))
8929 (define-public baobab
8936 "mirror://gnome/sources/" name "/"
8937 (version-major+minor version) "/"
8938 name "-" version ".tar.xz"))
8941 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8942 (build-system meson-build-system)
8944 '(#:glib-or-gtk? #t))
8946 `(("intltool" ,intltool)
8947 ("pkg-config" ,pkg-config)
8948 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8949 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8950 ("itstool" ,itstool)
8951 ("xmllint" ,libxml2)
8952 ("glib" ,glib "bin")
8956 (synopsis "Disk usage analyzer for GNOME")
8958 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8959 usage in the GNOME desktop environment. It can easily scan device volumes or
8960 a specific user-requested directory branch (local or remote). Once the scan
8961 is complete it provides a graphical representation of each selected folder.")
8962 (home-page "https://wiki.gnome.org/Apps/Baobab")
8963 (license license:gpl2+)))
8965 (define-public gnome-backgrounds
8967 (name "gnome-backgrounds")
8972 (uri (string-append "mirror://gnome/sources/" name "/"
8973 (version-major+minor version) "/"
8974 name "-" version ".tar.xz"))
8977 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8978 (build-system meson-build-system)
8980 `(("intltool" ,intltool)))
8981 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8982 (synopsis "Background images for the GNOME desktop")
8984 "GNOME backgrounds package contains a collection of graphics files which
8985 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8986 the package creates the proper framework and directory structure so that you
8987 can add your own files to the collection.")
8988 (license (list license:gpl2+
8991 license:cc-by-sa3.0))))
8993 (define-public gnome-screenshot
8995 (name "gnome-screenshot")
9000 (uri (string-append "mirror://gnome/sources/" name "/"
9001 (version-major+minor version) "/"
9002 name "-" version ".tar.xz"))
9005 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
9006 (build-system meson-build-system)
9009 (modify-phases %standard-phases
9010 (add-after 'unpack 'skip-gtk-update-icon-cache
9011 ;; Don't create 'icon-theme.cache'.
9013 (substitute* "build-aux/postinstall.py"
9014 (("gtk-update-icon-cache") "true"))
9017 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
9018 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9019 ("intltool" ,intltool)
9020 ("appstream-glib" ,appstream-glib)
9021 ("pkg-config" ,pkg-config)))
9024 ("libcanberra" ,libcanberra)
9026 ("libxext" ,libxext)))
9027 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9028 (synopsis "Take pictures of your screen")
9030 "GNOME Screenshot is a utility used for taking screenshots of the entire
9031 screen, a window or a user defined area of the screen, with optional
9032 beautifying border effects.")
9033 (license license:gpl2+)))
9035 (define-public dconf-editor
9037 (name "dconf-editor")
9042 (uri (string-append "mirror://gnome/sources/" name "/"
9043 (version-major+minor version) "/"
9044 name "-" version ".tar.xz"))
9047 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
9048 (build-system meson-build-system)
9050 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9051 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9052 ("intltool" ,intltool)
9053 ("pkg-config" ,pkg-config)
9058 ("libxml2" ,libxml2)))
9059 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9060 (synopsis "Graphical editor for GNOME's dconf configuration system")
9062 "Dconf-editor is a graphical tool for browsing and editing the dconf
9063 configuration system for GNOME. It allows users to configure desktop
9064 software that do not provide their own configuration interface.")
9065 (license license:lgpl2.1+)))
9067 (define-public gnome-default-applications
9069 (name "gnome-default-applications")
9071 (build-system trivial-build-system)
9074 `(("nautilus" ,nautilus)
9075 ("evince" ,evince)))
9077 `(#:modules ((guix build utils))
9080 (use-modules (guix build utils))
9081 (let* ((out (assoc-ref %outputs "out"))
9082 (apps (string-append out "/share/applications")))
9084 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9086 (format port "[Default Applications]\n")
9087 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9088 (format port "application/pdf=evince.desktop\n")
9089 (format port "application/postscript=evince.desktop\n")))
9091 (synopsis "Default MIME type associations for the GNOME desktop")
9093 "Given many installed packages which might handle a given MIME type, a
9094 user running the GNOME desktop probably has some preferences: for example,
9095 that folders be opened by default by the Nautilus file manager, not the Baobab
9096 disk usage analyzer. This package establishes that set of default MIME type
9097 associations for GNOME.")
9098 (license license:gpl3+)
9101 (define-public libgovirt
9107 (uri (string-append "mirror://gnome/sources/" name "/"
9108 (version-major+minor version) "/"
9109 name "-" version ".tar.xz"))
9112 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9113 (build-system glib-or-gtk-build-system)
9115 `(("gettext" ,gettext-minimal)
9116 ("glib:bin" ,glib "bin")
9117 ("gobject-introspection" ,gobject-introspection)
9118 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9119 ("gtk+:bin" ,gtk+ "bin")
9120 ("pkg-config" ,pkg-config)))
9122 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9124 (synopsis "GoVirt Library")
9125 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9126 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9127 (license license:gpl2+)))
9129 (define-public gnome-weather
9131 (name "gnome-weather")
9135 (uri (string-append "mirror://gnome/sources/" name "/"
9136 (version-major+minor version) "/"
9137 name "-" version ".tar.xz"))
9140 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9141 (build-system meson-build-system)
9143 `(("gettext" ,gettext-minimal)
9144 ("glib:bin" ,glib "bin")
9145 ("gobject-introspection" ,gobject-introspection)
9146 ("gtk+:bin" ,gtk+ "bin")
9147 ("pkg-config" ,pkg-config)))
9149 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9150 ("appstream-glib" ,appstream-glib)
9151 ("geoclue" ,geoclue)
9152 ("gdk-pixbuf" ,gdk-pixbuf)
9154 ("gnome-desktop" ,gnome-desktop)
9155 ("libgweather" ,libgweather)))
9159 (modify-phases %standard-phases
9160 (add-after 'install 'fix-desktop-file
9161 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9162 ;; See https://issues.guix.gnu.org/issue/39324.
9163 (lambda* (#:key outputs #:allow-other-keys)
9164 (let* ((out (assoc-ref outputs "out"))
9165 (applications (string-append out "/share/applications")))
9166 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9167 (("Exec=.*") "Exec=gnome-weather\n"))
9169 (add-after 'install 'wrap
9170 (lambda* (#:key inputs outputs #:allow-other-keys)
9171 (let ((out (assoc-ref outputs "out"))
9172 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9173 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9174 (wrap-program (string-append out "/bin/gnome-weather")
9175 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9177 (synopsis "Weather monitoring for GNOME desktop")
9178 (description "GNOME Weather is a small application that allows you to
9179 monitor the current weather conditions for your city, or anywhere in the
9181 (home-page "https://wiki.gnome.org/Apps/Weather")
9182 (license license:gpl2+)))
9184 (define-public gnome
9187 (version (package-version gnome-shell))
9189 (build-system trivial-build-system)
9190 (arguments '(#:builder (begin (mkdir %output) #t)))
9192 ;; TODO: Add or remove packages according to:
9193 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9195 ;; GNOME-Core-OS-Services
9196 ("accountsservice" ,accountsservice)
9197 ("network-manager" ,network-manager)
9198 ("packagekit" ,packagekit)
9201 ("adwaita-icon-theme" ,adwaita-icon-theme)
9203 ("glib-networking" ,glib-networking)
9204 ("gnome-backgrounds" ,gnome-backgrounds)
9205 ("gnome-bluetooth" ,gnome-bluetooth)
9206 ("gnome-color-manager" ,gnome-color-manager)
9207 ("gnome-control-center" ,gnome-control-center)
9208 ("gnome-desktop" ,gnome-desktop)
9209 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9210 ("gnome-initial-setup" ,gnome-initial-setup)
9211 ("gnome-keyring" ,gnome-keyring)
9212 ("gnome-menus" ,gnome-menus)
9213 ("gnome-session" ,gnome-session)
9214 ("gnome-settings-daemon" ,gnome-settings-daemon)
9215 ("gnome-shell-extensions" ,gnome-shell-extensions)
9216 ("gnome-shell" ,gnome-shell)
9217 ("gnome-themes-extra" ,gnome-themes-extra)
9218 ("gnome-user-docs" ,gnome-user-docs)
9219 ("gnome-user-share" ,gnome-user-share)
9220 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9226 ;; GNOME-Core-Utilities
9229 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9230 ;; only works on x86_64, so exclude it on other architectures.
9231 ,@(if (string-prefix? "x86_64" (%current-system))
9234 ("epiphany" ,epiphany)
9236 ("file-roller" ,file-roller)
9238 ("gnome-boxes" ,gnome-boxes)
9239 ("gnome-calculator" ,gnome-calculator)
9240 ("gnome-calendar" ,gnome-calendar)
9241 ("gnome-characters" ,gnome-characters)
9242 ("gnome-clocks" ,gnome-clocks)
9243 ("gnome-contacts" ,gnome-contacts)
9244 ("gnome-disk-utility" ,gnome-disk-utility)
9245 ("gnome-font-viewer" ,gnome-font-viewer)
9246 ("gnome-maps" ,gnome-maps)
9247 ; TODO: ("gnome-music" ,gnome-music)
9248 ; TODO: ("gnome-photos" ,gnome-photos)
9249 ("gnome-screenshot" ,gnome-screenshot)
9250 ("gnome-system-monitor" ,gnome-system-monitor)
9251 ("gnome-terminal" ,gnome-terminal)
9252 ("gnome-weather" ,gnome-weather)
9253 ("nautilus" ,nautilus)
9254 ("simple-scan" ,simple-scan)
9258 ("hicolor-icon-theme" ,hicolor-icon-theme)
9259 ("gnome-online-accounts" ,gnome-online-accounts)
9261 ;; Packages not part of GNOME proper but that are needed for a good
9262 ;; experience. See <https://bugs.gnu.org/39646>.
9263 ;; XXX: Find out exactly which ones are needed and why.
9264 ("font-cantarell" ,font-cantarell)
9265 ("font-dejavu" ,font-dejavu)
9266 ("at-spi2-core" ,at-spi2-core)
9269 ("desktop-file-utils" ,desktop-file-utils)
9270 ("gnome-default-applications" ,gnome-default-applications)
9271 ("gnome-themes-standard" ,gnome-themes-standard)
9272 ("gst-plugins-base" ,gst-plugins-base)
9273 ("gst-plugins-good" ,gst-plugins-good)
9274 ("gucharmap" ,gucharmap)
9275 ("pinentry-gnome3" ,pinentry-gnome3)
9276 ("pulseaudio" ,pulseaudio)
9277 ("shared-mime-info" ,shared-mime-info)
9278 ("system-config-printer" ,system-config-printer)
9279 ("xdg-user-dirs" ,xdg-user-dirs)
9281 ("zenity" ,zenity)))
9282 (synopsis "The GNU desktop environment")
9283 (home-page "https://www.gnome.org/")
9285 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9286 applications for browsing the web, editing text and images, creating
9287 documents and diagrams, playing media, scanning, and much more.")
9288 (license license:gpl2+)))
9290 (define-public byzanz
9291 ;; The last stable release of Byzanz was in 2011, but there have been many
9292 ;; useful commits made to the Byzanz repository since then that it would be
9293 ;; silly to use such an old release.
9294 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9297 (version (string-append "0.2-1." (string-take commit 7)))
9301 (url "https://git.gnome.org/browse/byzanz")
9303 (file-name (string-append name "-" version "-checkout"))
9306 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9307 (build-system glib-or-gtk-build-system)
9310 (modify-phases %standard-phases
9311 (add-before 'bootstrap 'build-without-Werror
9313 ;; The build system cleverly detects that we're not building from
9314 ;; a release tarball and turns on -Werror for GCC.
9315 ;; Unsurprisingly, there is a warning during compilation that
9316 ;; causes the build to fail unnecessarily, so we remove the flag.
9317 (substitute* '("configure.ac")
9321 `(("autoconf" ,autoconf)
9322 ("automake" ,automake)
9323 ("gnome-common" ,gnome-common)
9324 ("intltool" ,intltool)
9325 ("libtool" ,libtool)
9326 ("pkg-config" ,pkg-config)
9330 ("gstreamer" ,gstreamer)
9331 ("gst-plugins-base" ,gst-plugins-base)
9333 (synopsis "Desktop recording program")
9334 (description "Byzanz is a simple desktop recording program with a
9335 command-line interface. It can record part or all of an X display for a
9336 specified duration and save it as a GIF encoded animated image file.")
9337 (home-page "https://git.gnome.org/browse/byzanz")
9338 (license license:gpl2+))))
9340 (define-public authenticator
9342 (name "authenticator")
9348 (url "https://gitlab.gnome.org/World/Authenticator")
9350 (file-name (git-file-name name version))
9352 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9353 (build-system meson-build-system)
9357 (modify-phases %standard-phases
9358 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9359 (lambda* (#:key inputs outputs #:allow-other-keys)
9360 (let ((prog (string-append (assoc-ref outputs "out")
9361 "/bin/authenticator"))
9362 (pylib (string-append (assoc-ref outputs "out")
9364 ,(version-major+minor
9365 (package-version python))
9368 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9369 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9372 `(("desktop-file-utils" ,desktop-file-utils)
9373 ("gettext" ,gettext-minimal)
9374 ("glib:bin" ,glib "bin")
9375 ("gobject-introspection" ,gobject-introspection)
9376 ("gtk+:bin" ,gtk+ "bin")
9377 ("pkg-config" ,pkg-config)))
9379 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9381 ("libhandy" ,libhandy-0.0)
9382 ("libsecret" ,libsecret)
9383 ("python-beautifulsoup4" ,python-beautifulsoup4)
9384 ("python-pillow" ,python-pillow)
9385 ("python-pyfavicon" ,python-pyfavicon)
9386 ("python-pygobject" ,python-pygobject)
9387 ("python-pyotp" ,python-pyotp)
9388 ("python-pyzbar" ,python-pyzbar)
9389 ("yoyo-migrations" ,yoyo-migrations)
9391 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9392 (synopsis "Two-factor authentication application built for GNOME")
9394 "Authenticator is a two-factor authentication (2FA) application built for
9395 the GNOME desktop environment.
9400 @item QR code scanner
9402 @item Huge database of more than 560 supported services
9403 @item Keep your PIN tokens secure by locking the application with a password
9404 @item Automatically fetch an image for services using their favicon
9405 @item The possibility to add new services
9407 (license license:gpl3+)))
9409 (define-public gsound
9415 (uri (string-append "mirror://gnome/sources/" name "/"
9416 (version-major+minor version) "/"
9417 name "-" version ".tar.xz"))
9420 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9421 (build-system glib-or-gtk-build-system)
9423 `(("pkg-config" ,pkg-config)
9424 ("gobject-introspection" ,gobject-introspection)
9428 ("libcanberra" ,libcanberra)))
9429 (home-page "https://wiki.gnome.org/Projects/GSound")
9430 (synopsis "GObject wrapper for libcanberra")
9432 "GSound is a small library for playing system sounds. It's designed to be
9433 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9435 (license license:lgpl2.1+)))
9437 (define-public libzapojit
9443 (uri (string-append "mirror://gnome/sources/" name "/"
9444 (version-major+minor version) "/"
9445 name "-" version ".tar.xz"))
9448 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9449 (build-system gnu-build-system)
9451 `(("gobject-introspection" ,gobject-introspection)
9452 ("intltool" ,intltool)
9453 ("pkg-config" ,pkg-config)))
9455 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9456 ("json-glib" ,json-glib)
9458 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9459 (synopsis "Library for accessing SkyDrive and Hotmail")
9461 "Libzapojit is a GLib-based library for accessing online service APIs of
9462 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9463 (license license:lgpl2.1+)))
9465 (define-public gnome-clocks
9467 (name "gnome-clocks")
9471 (uri (string-append "mirror://gnome/sources/" name "/"
9472 (version-major+minor version) "/"
9473 name "-" version ".tar.xz"))
9476 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9477 (build-system meson-build-system)
9481 (modify-phases %standard-phases
9482 (add-after 'unpack 'skip-gtk-update-icon-cache
9483 ;; Don't create 'icon-theme.cache'.
9485 (substitute* "build-aux/post-install.py"
9486 (("gtk-update-icon-cache") "true"))
9490 ("pkg-config" ,pkg-config)
9491 ("glib" ,glib "bin") ; for glib-compile-resources
9492 ("desktop-file-utils" ,desktop-file-utils)
9493 ("gettext" ,gettext-minimal)
9494 ("itstool" ,itstool)))
9499 ("geoclue" ,geoclue)
9500 ("geocode-glib" ,geocode-glib)
9501 ("libgweather" ,libgweather)
9502 ("gnome-desktop" ,gnome-desktop)))
9503 (home-page "https://wiki.gnome.org/Apps/Clocks")
9504 (synopsis "GNOME's clock application")
9506 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9507 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9508 (license license:gpl3+)))
9510 (define-public gnome-calendar
9512 (name "gnome-calendar")
9516 (uri (string-append "mirror://gnome/sources/" name "/"
9517 (version-major+minor version) "/"
9518 name "-" version ".tar.xz"))
9521 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9522 (build-system meson-build-system)
9525 ;; gnome-calendar has to be installed before the tests can be run
9526 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9529 (modify-phases %standard-phases
9530 (add-after 'unpack 'skip-gtk-update-icon-cache
9531 ;; Don't create 'icon-theme.cache'.
9533 (substitute* "build-aux/meson/meson_post_install.py"
9534 (("gtk-update-icon-cache") "true"))
9537 `(("gettext" ,gettext-minimal)
9538 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9539 ("pkg-config" ,pkg-config)))
9541 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9542 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9543 ("libdazzle" ,libdazzle)
9544 ("libedataserverui" ,evolution-data-server)
9545 ("libgweather" ,libgweather)
9546 ("geoclue" ,geoclue)))
9548 `(("evolution-data-server" ,evolution-data-server)))
9549 (home-page "https://wiki.gnome.org/Apps/Calendar")
9550 (synopsis "GNOME's calendar application")
9552 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9553 desktop. It supports multiple calendars, month, week and year view.")
9554 (license license:gpl3+)))
9556 (define-public gnome-todo
9562 (uri (string-append "mirror://gnome/sources/" name "/"
9563 (version-major+minor version) "/"
9564 name "-" version ".tar.xz"))
9567 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9569 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9570 (build-system meson-build-system)
9573 #:phases (modify-phases %standard-phases
9575 'install 'wrap-gnome-todo
9576 (lambda* (#:key inputs outputs #:allow-other-keys)
9577 (let ((out (assoc-ref outputs "out"))
9578 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9579 (python-path (getenv "PYTHONPATH")))
9580 (wrap-program (string-append out "/bin/gnome-todo")
9581 ;; XXX: gi plugins are broken.
9582 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9584 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9585 `("PYTHONPATH" ":" prefix (,python-path))))
9588 `(("gettext" ,gettext-minimal)
9589 ("gobject-introspection" ,gobject-introspection)
9590 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9591 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9592 ("pkg-config" ,pkg-config)))
9594 `(("rest" ,rest) ; For Todoist plugin
9595 ("json-glib" ,json-glib) ; For Todoist plugin
9596 ("libedataserverui" ,evolution-data-server)
9597 ("libical" ,libical)
9598 ("libpeas" ,libpeas)
9599 ("python-pygobject" ,python-pygobject)
9600 ("evolution-data-server" ,evolution-data-server)
9601 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9602 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9603 (home-page "https://wiki.gnome.org/Apps/Todo")
9604 (synopsis "GNOME's ToDo Application")
9606 "GNOME To Do is a simplistic personal task manager designed to perfectly
9607 fit the GNOME desktop.")
9608 (license license:gpl3+)))
9610 (define-public gnome-dictionary
9612 (name "gnome-dictionary")
9616 (uri (string-append "mirror://gnome/sources/" name "/"
9617 (version-major+minor version) "/"
9618 name "-" version ".tar.xz"))
9621 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9622 (build-system meson-build-system)
9623 (arguments '(#:glib-or-gtk? #t
9624 #:phases (modify-phases %standard-phases
9625 (add-after 'unpack 'patch-install-script
9627 ;; This script attempts to compile glib schemas
9628 ;; and create an empty MIME database. We do
9629 ;; that elsewhere, so prevent it from running.
9630 (substitute* "build-aux/post-install.sh"
9631 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9634 `(("glib:bin" ,glib "bin")
9635 ("gobject-introspection" ,gobject-introspection)
9636 ("intltool" ,intltool)
9637 ("itstool" ,itstool)
9638 ("pkg-config" ,pkg-config)
9639 ("xmllint" ,libxml2)))
9641 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9643 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9644 (synopsis "Look up words in dictionary sources")
9646 "GNOME Dictionary can look for the definition or translation of a word in
9647 existing databases over the internet.")
9648 (license license:gpl3+)))
9650 (define-public gnome-tweaks
9652 (name "gnome-tweaks")
9656 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9657 (version-major+minor version) "/"
9658 "gnome-tweaks-" version ".tar.xz"))
9660 (list (search-patch "gnome-tweaks-search-paths.patch")))
9663 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9664 (build-system meson-build-system)
9667 #:configure-flags '("-Dlocalstatedir=/tmp"
9668 "-Dsysconfdir=/tmp")
9669 #:imported-modules ((guix build python-build-system)
9670 ,@%meson-build-system-modules)
9672 (modify-phases %standard-phases
9673 (add-after 'unpack 'skip-gtk-update-icon-cache
9674 ;; Don't create 'icon-theme.cache'.
9676 (substitute* "meson-postinstall.py"
9677 (("gtk-update-icon-cache") "true"))
9679 (add-after 'install 'wrap
9680 (@@ (guix build python-build-system) wrap))
9681 (add-after 'wrap 'wrap-gi-typelib
9682 (lambda* (#:key inputs outputs #:allow-other-keys)
9683 (let ((out (assoc-ref outputs "out"))
9684 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9685 (wrap-program (string-append out "/bin/gnome-tweaks")
9686 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9689 `(("intltool" ,intltool)
9690 ("pkg-config" ,pkg-config)))
9692 `(("gnome-desktop" ,gnome-desktop)
9694 ("gobject-introspection" ,gobject-introspection)
9695 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9696 ("libhandy" ,libhandy-0.0)
9697 ("libnotify" ,libnotify)
9698 ("libsoup" ,libsoup)
9699 ("nautilus" ,nautilus)
9701 ("python-pygobject" ,python-pygobject)))
9702 (synopsis "Customize advanced GNOME 3 options")
9703 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9705 "GNOME Tweaks allows adjusting advanced configuration settings in
9706 GNOME 3. This includes things like the fonts used in user interface elements,
9707 alternative user interface themes, changes in window management behavior,
9708 GNOME Shell appearance and extension, etc.")
9709 (license license:gpl3+)))
9711 (define-public gnome-shell-extensions
9713 (name "gnome-shell-extensions")
9717 (uri (string-append "mirror://gnome/sources/" name "/"
9718 (version-major+minor version) "/"
9719 name "-" version ".tar.xz"))
9722 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9723 (build-system meson-build-system)
9725 '(#:configure-flags '("-Dextension_set=all")))
9727 `(("glib:bin" ,glib "bin")
9728 ("intltool" ,intltool)
9729 ("pkg-config" ,pkg-config)))
9732 (synopsis "Extensions for GNOME Shell")
9733 (description "GNOME Shell extensions modify and extend GNOME Shell
9734 functionality and behavior.")
9735 (home-page "https://extensions.gnome.org/")
9736 (license license:gpl3+)))
9738 (define-public folks
9745 "mirror://gnome/sources/folks/"
9746 (version-major+minor version) "/"
9747 "folks-" version ".tar.xz"))
9750 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9751 (build-system meson-build-system)
9754 (modify-phases %standard-phases
9755 (add-after 'unpack 'skip-gtk-update-icon-cache
9756 ;; Don't create 'icon-theme.cache'.
9758 (substitute* "meson_post_install.py"
9759 (("gtk-update-icon-cache") "true"))
9763 ("dbus-glib" ,dbus-glib)
9764 ("evolution-data-server" ,evolution-data-server)
9767 ("readline" ,readline)
9768 ("telepathy-glib" ,telepathy-glib)))
9770 `(("glib:bin" ,glib "bin")
9771 ("gobject-introspection" ,gobject-introspection)
9772 ("intltool" ,intltool)
9773 ("pkg-config" ,pkg-config)
9775 (synopsis "Library to aggregate data about people")
9776 (description "Libfolks is a library that aggregates information about people
9777 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9778 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9779 etc.) to create metacontacts. It's written in Vala, which generates C code when
9781 (home-page "https://wiki.gnome.org/Projects/Folks")
9782 (license license:lgpl2.1+)))
9784 (define-public gfbgraph
9791 "mirror://gnome/sources/gfbgraph/"
9792 (version-major+minor version) "/"
9793 "gfbgraph-" version ".tar.xz"))
9796 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9797 (build-system glib-or-gtk-build-system)
9799 `(#:tests? #f ; tests appear to require the network
9800 #:configure-flags '("--disable-static"
9802 "--enable-introspection")))
9804 `(("gobject-introspection" ,gobject-introspection)
9805 ("gtk-doc" ,gtk-doc/stable)
9806 ("pkg-config" ,pkg-config)
9808 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9809 ("autoconf" ,autoconf)
9810 ("automake" ,automake)
9811 ("libtool" ,libtool)
9814 `(("json-glib" ,json-glib)
9815 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9817 (synopsis "GLib/GObject wrapper for the Facebook API")
9818 (description "This library allows you to use the Facebook API from
9819 GLib/GObject code.")
9820 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9821 (license license:lgpl2.1+)))
9823 (define-public libgnomekbd
9825 (name "libgnomekbd")
9829 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9830 (version-major+minor version) "/"
9831 "libgnomekbd-" version ".tar.xz"))
9834 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9835 (build-system gnu-build-system)
9837 `(("pkg-config" ,pkg-config)
9838 ("glib" ,glib "bin")
9839 ("intltool" ,intltool)))
9841 ;; Referred to in .h files and .pc.
9844 ("libxklavier" ,libxklavier)))
9845 (home-page "https://www.gnome.org")
9846 (synopsis "GNOME keyboard configuration library")
9848 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9849 environment, which can notably display keyboard layouts.")
9850 (license license:lgpl2.0+)))
9852 ;;; This package is no longer maintained:
9853 ;;; https://wiki.gnome.org/Attic/LibUnique
9854 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9855 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9856 (define-public libunique
9862 (uri (string-append "mirror://gnome/sources/" name "/"
9863 (version-major+minor version) "/"
9864 name "-" version ".tar.xz"))
9867 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9868 (build-system glib-or-gtk-build-system)
9870 `(#:configure-flags '("--disable-static"
9871 "--disable-dbus" ; use gdbus
9872 "--enable-introspection")))
9874 `(("pkg-config" ,pkg-config)
9875 ("gobject-introspection" ,gobject-introspection)
9876 ("glib:bin" ,glib "bin")
9877 ("gtk-doc" ,gtk-doc/stable)))
9879 ;; Referred to in .h files and .pc.
9881 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9882 (synopsis "Library for writing single instance applications")
9884 "Libunique is a library for writing single instance applications. If you
9885 launch a single instance application twice, the second instance will either just
9886 quit or will send a message to the running instance. Libunique makes it easy to
9887 write this kind of application, by providing a base class, taking care of all
9888 the IPC machinery needed to send messages to a running instance, and also
9889 handling the startup notification side.")
9890 (license license:lgpl2.1+)))
9892 (define-public gnome-calculator
9894 (name "gnome-calculator")
9899 (uri (string-append "mirror://gnome/sources/" name "/"
9900 (version-major+minor version) "/"
9901 name "-" version ".tar.xz"))
9904 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9905 (build-system meson-build-system)
9906 (arguments '(#:glib-or-gtk? #t))
9908 `(("gettext" ,gettext-minimal)
9909 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9910 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9911 ("itstool" ,itstool)
9913 ("pkg-config" ,pkg-config)))
9916 ("gtksourceview" ,gtksourceview)
9918 ("libsoup" ,libsoup)
9919 ("libxml2" ,libxml2)
9922 (home-page "https://wiki.gnome.org/Apps/Calculator")
9923 (synopsis "Desktop calculator")
9925 "Calculator is an application that solves mathematical equations and
9926 is suitable as a default application in a Desktop environment.")
9927 (license license:gpl3)))
9936 (uri (string-append "https://launchpad.net/xpad/trunk/"
9937 version "/+download/"
9938 name "-" version ".tar.bz2"))
9941 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9942 (build-system gnu-build-system)
9944 `(("autoconf" ,autoconf)
9945 ("automake" ,automake)
9946 ("gtk+:bin" ,gtk+ "bin")
9947 ("intltool" ,intltool)
9948 ("pkg-config" ,pkg-config)))
9950 `(("gtksourceview" ,gtksourceview-3)
9952 (home-page "https://wiki.gnome.org/Apps/Xpad")
9953 (synopsis "Virtual sticky note")
9955 "Xpad is a sticky note that strives to be simple, fault tolerant,
9956 and customizable. Xpad consists of independent pad windows, each is
9957 basically a text box in which notes can be written.")
9958 (license license:gpl3+)))
9960 (define-public gucharmap
9961 (let ((unicode-files
9963 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9965 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9967 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9969 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9971 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9973 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9980 (uri (string-append "mirror://gnome/sources/" name "/"
9981 (version-major+minor version) "/"
9982 name "-" version ".tar.xz"))
9985 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9986 (build-system glib-or-gtk-build-system)
9988 `(#:modules ((ice-9 match)
9989 (guix build glib-or-gtk-build-system)
9992 (list "--with-unicode-data=../unicode-data")
9994 (modify-phases %standard-phases
9995 (add-after 'unpack 'prepare-unicode-data
9996 (lambda* (#:key inputs #:allow-other-keys)
9997 (mkdir-p "../unicode-data")
9998 (with-directory-excursion "../unicode-data"
9999 (for-each (match-lambda
10001 (install-file (assoc-ref inputs file) ".")))
10005 `(("desktop-file-utils" ,desktop-file-utils)
10006 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
10007 ("gobject-introspection" ,gobject-introspection)
10008 ("intltool" ,intltool)
10009 ("itstool" ,itstool)
10010 ("pkg-config" ,pkg-config)
10011 ,@(map (match-lambda
10016 (uri (string-append
10017 "http://www.unicode.org/Public/12.0.0/ucd/"
10019 (sha256 (base32 hash))))))
10024 ("xmllint" ,libxml2)))
10025 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10026 (synopsis "Unicode character picker and font browser")
10028 "This program allows you to browse through all the available Unicode
10029 characters and categories for the installed fonts, and to examine their
10030 detailed properties. It is an easy way to find the character you might
10031 only know by its Unicode name or code point.")
10032 (license license:gpl3+))))
10034 (define-public bluefish
10041 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10042 "bluefish-" version ".tar.gz"))
10044 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10045 (build-system gnu-build-system)
10047 `(("desktop-file-utils" ,desktop-file-utils)
10048 ("intltool" ,intltool)
10049 ("pkg-config" ,pkg-config)))
10051 `(("enchant" ,enchant)
10053 ("python" ,python-wrapper)
10054 ("xmllint" ,libxml2)
10055 ("gucharmap" ,gucharmap)))
10056 (home-page "http://bluefish.openoffice.nl")
10057 (synopsis "Web development studio")
10059 "Bluefish is an editor aimed at programmers and web developers,
10060 with many options to write web sites, scripts and other code.
10061 Bluefish supports many programming and markup languages.")
10062 (license license:gpl3+)))
10064 (define-public gnome-system-monitor
10066 (name "gnome-system-monitor")
10071 (uri (string-append "mirror://gnome/sources/" name "/"
10072 (version-major+minor version) "/"
10073 name "-" version ".tar.xz"))
10076 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10077 (build-system meson-build-system)
10079 '(#:glib-or-gtk? #t
10080 #:configure-flags '("-Dsystemd=false")))
10082 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10083 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10084 ("intltool" ,intltool)
10085 ("itstool" ,itstool)
10086 ("libgtop" ,libgtop)
10088 ("pkg-config" ,pkg-config)))
10090 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10093 ("librsvg" ,librsvg)
10094 ("libxml2" ,libxml2)
10095 ("libwnck" ,libwnck)))
10096 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10097 (synopsis "Process viewer and system resource monitor for GNOME")
10099 "GNOME System Monitor is a GNOME process viewer and system monitor with
10100 an attractive, easy-to-use interface. It has features, such as a tree view
10101 for process dependencies, icons for processes, the ability to hide processes,
10102 graphical time histories of CPU/memory/swap usage and the ability to
10103 kill/reinice processes.")
10104 (license license:gpl2+)))
10106 (define-public python-pyatspi
10108 (name "python-pyatspi")
10112 (uri (string-append
10113 "mirror://gnome/sources/pyatspi/"
10114 (version-major+minor version)
10115 "/pyatspi-" version ".tar.xz"))
10118 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10119 (build-system gnu-build-system)
10122 (modify-phases %standard-phases
10123 (add-before 'build 'fix-atk-load
10125 (substitute* "pyatspi/__init__.py"
10126 (("from gi.repository import Atspi")
10127 "gi.require_version('Gtk', '3.0')
10128 from gi.repository import Gtk
10129 from gi.repository import Atspi"))
10132 `(("pkg-config" ,pkg-config)))
10134 `(("python" ,python)))
10136 `(("python-pygobject" ,python-pygobject)))
10137 (synopsis "Python client bindings for D-Bus AT-SPI")
10138 (home-page "https://wiki.linuxfoundation.org/accessibility\
10139 /atk/at-spi/at-spi_on_d-bus")
10141 "This package includes a python client library for the AT-SPI D-Bus
10142 accessibility infrastructure.")
10143 (license license:lgpl2.0)
10144 (properties '((upstream-name . "pyatspi")))))
10146 (define-public python2-pyatspi
10147 (package/inherit python-pyatspi
10148 (name "python2-pyatspi")
10150 `(("python" ,python-2)))
10152 `(("python-pygobject" ,python2-pygobject)))))
10154 (define-public orca
10160 (uri (string-append
10161 "mirror://gnome/sources/" name "/"
10162 (version-major+minor version) "/"
10163 name "-" version ".tar.xz"))
10166 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10167 (build-system glib-or-gtk-build-system)
10170 (modify-phases %standard-phases
10171 (add-before 'configure 'qualify-xkbcomp
10172 (lambda* (#:key inputs #:allow-other-keys)
10173 (let ((xkbcomp (string-append
10174 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10175 (substitute* "src/orca/orca.py"
10176 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10178 (add-after 'install 'wrap-orca
10179 (lambda* (#:key outputs #:allow-other-keys)
10180 (let* ((out (assoc-ref outputs "out"))
10181 (prog (string-append out "/bin/orca")))
10183 `("GI_TYPELIB_PATH" ":" prefix
10184 (,(getenv "GI_TYPELIB_PATH")))
10185 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10186 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10187 `("PYTHONPATH" ":" prefix
10188 (,(getenv "PYTHONPATH")))))
10191 `(("intltool" ,intltool)
10192 ("itstool" ,itstool)
10193 ("pkg-config" ,pkg-config)
10194 ("xmllint" ,libxml2)))
10196 `(("at-spi2-atk" ,at-spi2-atk)
10197 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10198 ("gstreamer" ,gstreamer)
10199 ("gst-plugins-base" ,gst-plugins-base)
10200 ("gst-plugins-good" ,gst-plugins-good)
10203 ("python-pygobject" ,python-pygobject)
10204 ("python-pyatspi" ,python-pyatspi)
10205 ("python-speechd" ,speech-dispatcher)
10206 ("xkbcomp" ,xkbcomp)))
10208 "Screen reader for individuals who are blind or visually impaired")
10209 (home-page "https://wiki.gnome.org/Projects/Orca")
10211 "Orca is a screen reader that provides access to the graphical desktop
10212 via speech and refreshable braille. Orca works with applications and toolkits
10213 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10214 (license license:lgpl2.1+)))
10216 (define-public gspell
10222 (uri (string-append "mirror://gnome/sources/" name "/"
10223 (version-major+minor version) "/"
10224 name "-" version ".tar.xz"))
10227 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10228 (patches (search-patches "gspell-dash-test.patch"))))
10229 (build-system glib-or-gtk-build-system)
10231 '(#:configure-flags (list "--enable-vala")
10233 (modify-phases %standard-phases
10234 (add-before 'check 'pre-check
10235 (lambda* (#:key inputs #:allow-other-keys)
10236 ;; Tests require a running X server.
10237 (system "Xvfb :1 &")
10238 (setenv "DISPLAY" ":1")
10240 ;; For the missing /etc/machine-id.
10241 (setenv "DBUS_FATAL_WARNINGS" "0")
10243 ;; Allow Enchant and its Aspell backend to find the en_US
10245 (setenv "ASPELL_DICT_DIR"
10246 (string-append (assoc-ref inputs "aspell-dict-en")
10252 ("iso-codes" ,iso-codes)))
10254 `(("glib" ,glib "bin")
10255 ("gobject-introspection" ,gobject-introspection)
10256 ("pkg-config" ,pkg-config)
10257 ("vala" ,vala) ;for VAPI, needed by Geary
10258 ("xmllint" ,libxml2)
10261 ("aspell-dict-en" ,aspell-dict-en)
10262 ("xorg-server" ,xorg-server-for-tests)))
10264 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10265 (home-page "https://wiki.gnome.org/Projects/gspell")
10266 (synopsis "GNOME's alternative spell checker")
10268 "gspell provides a flexible API to add spell-checking to a GTK+
10269 application. It provides a GObject API, spell-checking to text entries and
10270 text views, and buttons to choose the language.")
10271 (license license:gpl2+)))
10273 (define-public gnome-planner
10275 (name "gnome-planner")
10279 (uri (string-append "mirror://gnome/sources/planner/"
10280 (version-major+minor version) "/planner-"
10281 version ".tar.xz"))
10284 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10285 (build-system glib-or-gtk-build-system)
10287 ;; Disable the Python bindings because the Planner program functions
10288 ;; without them, and (as of 2017-06-13) we have not packaged all of
10289 ;; packages that are necessary for building the Python bindings.
10290 `(#:configure-flags
10291 (list "--disable-python"
10292 ,@(if (string=? "aarch64-linux" (%current-system))
10293 '("--build=aarch64-unknown-linux-gnu")
10296 `(("libgnomecanvas" ,libgnomecanvas)
10297 ("libgnomeui" ,libgnomeui)
10298 ("libglade" ,libglade)
10299 ("gnome-vfs" ,gnome-vfs)
10301 ("libxml2" ,libxml2)
10302 ("libxslt" ,libxslt)
10306 `(("intltool" ,intltool)
10307 ("scrollkeeper" ,scrollkeeper)
10308 ("pkg-config" ,pkg-config)))
10309 (home-page "https://wiki.gnome.org/Apps/Planner")
10310 (synopsis "Project management software for the GNOME desktop")
10312 "GNOME Planner is a project management tool based on the Work Breakdown
10313 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10314 the resources, tasks, and constraints that you define, Planner generates
10315 various views into a project. For example, Planner can show a Gantt chart of
10316 the project. It can show a detailed summary of tasks including their
10317 duration, cost, and current progress. It can also show a report of resource
10318 utilization that highlights under-utilized and over-utilized resources. These
10319 views can be printed as PDF or PostScript files, or exported to HTML.")
10320 (license license:gpl2+)))
10322 (define-public lollypop
10329 (uri (string-append "https://adishatz.org/lollypop/"
10330 "lollypop-" version ".tar.xz"))
10332 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10333 (build-system meson-build-system)
10335 `(#:imported-modules
10336 (,@%meson-build-system-modules
10337 (guix build python-build-system))
10339 ((guix build meson-build-system)
10340 ((guix build python-build-system) #:prefix python:)
10341 (guix build utils))
10343 #:tests? #f ; no test suite
10345 (modify-phases %standard-phases
10346 (add-after 'install 'wrap-program
10347 (lambda* (#:key outputs #:allow-other-keys)
10348 (let ((out (assoc-ref outputs "out"))
10349 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10350 (wrap-program (string-append out "/bin/lollypop")
10351 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10353 (add-after 'install 'wrap-python
10354 (assoc-ref python:%standard-phases 'wrap)))))
10356 `(("intltool" ,intltool)
10357 ("itstool" ,itstool)
10358 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10359 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10360 ("pkg-config" ,pkg-config)))
10362 `(("glib-networking" ,glib-networking)
10363 ("gobject-introspection" ,gobject-introspection)
10364 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10365 ("gst-plugins-base" ,gst-plugins-base)
10366 ("libnotify" ,libnotify)
10367 ("libsecret" ,libsecret)
10368 ("libhandy" ,libhandy)
10369 ("libsoup" ,libsoup)
10371 ("python-beautifulsoup4" ,python-beautifulsoup4)
10372 ("python-gst" ,python-gst)
10373 ("python-pil" ,python-pillow)
10374 ("python-pycairo" ,python-pycairo)
10375 ("python-pygobject" ,python-pygobject)
10376 ("python-pylast" ,python-pylast)
10377 ("totem-pl-parser" ,totem-pl-parser)
10378 ("webkitgtk" ,webkitgtk)))
10380 `(;; gst-plugins-base is required to start Lollypop,
10381 ;; the others are required to play streaming.
10382 ("gst-plugins-good" ,gst-plugins-good)
10383 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10384 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10385 (synopsis "GNOME music playing application")
10387 "Lollypop is a music player designed to play well with GNOME desktop.
10388 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10389 from artists and tracks from the web. It also fetches cover artworks
10390 automatically and it can stream songs from online music services and charts.")
10391 (license license:gpl3+)))
10393 (define-public gnome-video-effects
10395 (name "gnome-video-effects")
10399 (uri (string-append "mirror://gnome/sources/" name "/"
10400 (version-major+minor version) "/" name "-"
10401 version ".tar.xz"))
10404 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10405 (build-system meson-build-system)
10407 `(("gettext" ,gettext-minimal)
10408 ("pkg-config" ,pkg-config)))
10409 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10410 (synopsis "Video effects for Cheese and other GNOME applications")
10412 "A collection of GStreamer video filters and effects to be used in
10413 photo-booth-like software, such as Cheese.")
10414 (license license:gpl2+)))
10416 (define-public cheese
10422 (uri (string-append "mirror://gnome/sources/" name "/"
10423 (version-major+minor version) "/" name "-"
10424 version ".tar.xz"))
10427 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10429 `(#:glib-or-gtk? #t
10430 ;; Tests require GDK.
10433 (modify-phases %standard-phases
10434 (add-after 'unpack 'skip-gtk-update-icon-cache
10436 ;; Don't create 'icon-theme.cache'
10437 (substitute* "meson_post_install.py"
10438 (("gtk-update-icon-cache") (which "true")))
10440 (add-after 'unpack 'patch-docbook-xml
10441 (lambda* (#:key inputs #:allow-other-keys)
10442 ;; Avoid a network connection attempt during the build.
10443 (substitute* '("docs/reference/cheese.xml"
10444 "docs/reference/cheese-docs.xml")
10445 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10446 (string-append (assoc-ref inputs "docbook-xml")
10447 "/xml/dtd/docbook/docbookx.dtd")))
10449 (add-after 'install 'wrap-cheese
10450 (lambda* (#:key inputs outputs #:allow-other-keys)
10451 (let ((out (assoc-ref outputs "out"))
10452 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10453 (wrap-program (string-append out "/bin/cheese")
10454 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10456 (build-system meson-build-system)
10458 `(("docbook-xsl" ,docbook-xsl)
10459 ("docbook-xml" ,docbook-xml-4.3)
10460 ("gettext" ,gettext-minimal)
10461 ("glib:bin" ,glib "bin")
10462 ("gtk-doc" ,gtk-doc/stable)
10463 ("itstool" ,itstool)
10464 ("libxml2" ,libxml2)
10465 ("libxslt" ,libxslt)
10466 ("pkg-config" ,pkg-config)
10469 `(("gnome-video-effects" ,gnome-video-effects)
10470 ("clutter" ,clutter)
10471 ("clutter-gst" ,clutter-gst)
10472 ("clutter-gtk" ,clutter-gtk)
10473 ("libcanberra" ,libcanberra)
10474 ("gdk-pixbuf" ,gdk-pixbuf)
10476 ("gstreamer" ,gstreamer)))
10478 `(("gnome-desktop" ,gnome-desktop)
10479 ("gobject-introspection" ,gobject-introspection)
10480 ("gst-plugins-base" ,gst-plugins-base)
10481 ("gst-plugins-good" ,gst-plugins-good)
10482 ("gst-plugins-bad" ,gst-plugins-bad)
10485 ("libxtst" ,libxtst)))
10486 (home-page "https://wiki.gnome.org/Apps/Cheese")
10487 (synopsis "Webcam photo booth software for GNOME")
10489 "Cheese uses your webcam to take photos and videos. Cheese can also
10490 apply fancy special effects and lets you share the fun with others.")
10491 (license license:gpl2+)))
10493 (define-public passwordsafe
10495 (name "passwordsafe")
10500 (uri (git-reference
10501 (url "https://gitlab.gnome.org/World/PasswordSafe")
10503 (file-name (git-file-name name version))
10505 (base32 "1xh64bbg10gnfzlck5jvqy2zk6hbk9cyqgv85xc9kbdvs8n4lhgh"))))
10506 (build-system meson-build-system)
10508 `(#:glib-or-gtk? #t
10510 (modify-phases %standard-phases
10511 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10512 (lambda* (#:key outputs #:allow-other-keys)
10513 (let ((prog (string-append (assoc-ref outputs "out")
10514 "/bin/gnome-passwordsafe"))
10515 (pylib (string-append (assoc-ref outputs "out")
10517 ,(version-major+minor
10518 (package-version python))
10519 "/site-packages")))
10521 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10522 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10525 `(("desktop-file-utils" ,desktop-file-utils)
10526 ("gettext" ,gettext-minimal)
10527 ("glib:bin" ,glib "bin")
10528 ("gobject-introspection" ,gobject-introspection)
10529 ("gtk+:bin" ,gtk+ "bin")
10530 ("pkg-config" ,pkg-config)))
10533 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10535 ("libhandy" ,libhandy)
10536 ("libpwquality" ,libpwquality)
10537 ("python-pygobject" ,python-pygobject)
10538 ("python-pykeepass" ,python-pykeepass)))
10539 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10540 (synopsis "Password manager for the GNOME desktop")
10542 "Password Safe is a password manager which makes use of the KeePass v4
10543 format. It integrates perfectly with the GNOME desktop and provides an easy
10544 and uncluttered interface for the management of password databases.")
10545 (license license:gpl3+)))
10547 (define-public sound-juicer
10549 (name "sound-juicer")
10554 (uri (string-append "mirror://gnome/sources/" name "/"
10555 (version-major+minor version) "/"
10556 name "-" version ".tar.xz"))
10559 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10560 (build-system glib-or-gtk-build-system)
10562 `(("desktop-file-utils" ,desktop-file-utils)
10563 ("intltool" ,intltool)
10564 ("itstool" ,itstool)
10565 ("pkg-config" ,pkg-config)
10566 ("xmllint" ,libxml2)))
10569 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10570 ("gstreamer" ,gstreamer)
10571 ("gst-plugins-base" ,gst-plugins-base)
10572 ("gst-plugins-good" ,gst-plugins-good)
10573 ("iso-codes" ,iso-codes)
10574 ("libbrasero-media3" ,brasero)
10575 ("libcanberra" ,libcanberra)
10576 ("libdiscid" ,libdiscid)
10577 ("libmusicbrainz" ,libmusicbrainz)
10579 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10580 (synopsis "Audio music cd ripper")
10581 (description "Sound Juicer extracts audio from compact discs and convert it
10582 into audio files that a personal computer or digital audio player can play.
10583 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10584 mp3, Ogg Vorbis and FLAC")
10585 (license license:gpl2+)))
10587 (define-public soundconverter
10589 (name "soundconverter")
10594 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10595 version "/+download/"
10596 "soundconverter-" version ".tar.xz"))
10599 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10600 (build-system glib-or-gtk-build-system)
10602 `(#:imported-modules ((guix build python-build-system)
10603 (guix build glib-or-gtk-build-system)
10604 ,@%gnu-build-system-modules)
10606 #:modules ((guix build glib-or-gtk-build-system)
10608 ((guix build gnu-build-system) #:prefix gnu:)
10609 ((guix build python-build-system) #:prefix python:))
10612 (modify-phases %standard-phases
10613 (add-after 'install 'wrap-soundconverter-for-python
10614 (assoc-ref python:%standard-phases 'wrap))
10615 (add-after 'install 'wrap-soundconverter
10616 (lambda* (#:key inputs outputs #:allow-other-keys)
10617 (let ((out (assoc-ref outputs "out"))
10618 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10619 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10620 (wrap-program (string-append out "/bin/soundconverter")
10621 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10622 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10625 `(("intltool" ,intltool)
10626 ("pkg-config" ,pkg-config)
10627 ("glib:bin" ,glib "bin")))
10631 ("python-pygobject" ,python-pygobject)
10632 ("gstreamer" ,gstreamer)
10633 ("gst-plugins-base" ,gst-plugins-base)))
10634 (home-page "https://soundconverter.org/")
10635 (synopsis "Convert between audio formats with a graphical interface")
10637 "SoundConverter supports converting between many audio formats including
10638 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10639 configurable file renaming. ")
10640 (license license:gpl3)))
10642 (define-public workrave
10645 (version "1.10.43")
10649 (uri (git-reference
10650 (url "https://github.com/rcaelers/workrave")
10651 (commit (string-append "v" (string-map
10652 (match-lambda (#\. #\_) (chr chr))
10654 (file-name (git-file-name name version))
10656 (base32 "1baa9qjzd4b3q1zy5vhvyrx0hyz17mk237373ca48647897kw4cr"))))
10657 (build-system glib-or-gtk-build-system)
10659 ;; The only tests are maintainer tests (in po/), which fail.
10661 (inputs `(("glib" ,glib)
10663 ("gdk-pixbuf" ,gdk-pixbuf)
10667 ("libxtst" ,libxtst)
10671 ("libxscrnsaver" ,libxscrnsaver)))
10672 (native-inputs `(("boost" ,boost)
10673 ("pkg-config" ,pkg-config)
10674 ("gettext" ,gettext-minimal)
10675 ("autoconf" ,autoconf)
10676 ("autoconf-archive" , autoconf-archive)
10677 ("automake" ,automake)
10678 ("libtool" ,libtool)
10679 ("intltool" ,intltool)
10680 ("gobject-introspection" ,gobject-introspection)
10681 ("python3" ,python-3)
10682 ("python-jinja2" ,python-jinja2)))
10683 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10685 "Workrave is a program that assists in the recovery and prevention of
10686 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10687 micro-pauses and rest breaks, and restricts you to your daily limit.")
10688 (home-page "http://www.workrave.org")
10689 (license license:gpl3+)))
10691 (define-public ghex
10697 (uri (string-append "mirror://gnome/sources/ghex/"
10698 (version-major+minor version) "/"
10699 "ghex-" version ".tar.xz"))
10702 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10703 (build-system meson-build-system)
10705 '(#:glib-or-gtk? #t
10707 (modify-phases %standard-phases
10708 (add-after 'unpack 'skip-gtk-update-icon-cache
10709 ;; Don't create 'icon-theme.cache'.
10711 (substitute* "meson_post_install.py"
10712 (("gtk-update-icon-cache") (which "true")))
10715 `(("pkg-config" ,pkg-config)
10716 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10717 ("gnome-common" ,gnome-common)
10719 ("intltool" ,intltool)
10720 ("yelp-tools" ,yelp-tools)
10721 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10725 (synopsis "GNOME hexadecimal editor")
10726 (description "The GHex program can view and edit files in two ways:
10727 hexadecimal or ASCII. It is useful for editing binary files in general.")
10728 (home-page "https://wiki.gnome.org/Apps/Ghex")
10729 (license license:gpl2)))
10731 (define-public libdazzle
10737 (uri (string-append "mirror://gnome/sources/libdazzle/"
10738 (version-major+minor version) "/"
10739 "libdazzle-" version ".tar.xz"))
10742 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10743 (build-system meson-build-system)
10746 (modify-phases %standard-phases
10747 (add-before 'check 'pre-check
10749 ;; Tests require a running X server.
10750 (system "Xvfb :1 &")
10751 (setenv "DISPLAY" ":1")
10754 `(("glib" ,glib "bin") ; glib-compile-resources
10755 ("pkg-config" ,pkg-config)
10757 ("xorg-server" ,xorg-server-for-tests)))
10760 ("gobject-introspection" ,gobject-introspection)
10763 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10764 (synopsis "Companion library to GObject and Gtk+")
10765 (description "The libdazzle library is a companion library to GObject and
10766 Gtk+. It provides various features that the authors wish were in the
10767 underlying library but cannot for various reasons. In most cases, they are
10768 wildly out of scope for those libraries. In other cases, they are not quite
10769 generic enough to work for everyone.")
10770 (license license:gpl3+)))
10772 (define-public evolution
10778 (uri (string-append "mirror://gnome/sources/evolution/"
10779 (version-major+minor version) "/"
10780 "evolution-" version ".tar.xz"))
10783 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))
10784 (patches (search-patches "evolution-CVE-2020-11879.patch"))))
10785 (build-system cmake-build-system)
10787 `(#:imported-modules (,@%cmake-build-system-modules
10788 (guix build glib-or-gtk-build-system))
10789 #:modules ((guix build cmake-build-system)
10790 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10791 (guix build utils))
10793 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10794 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10795 ; in four years and cannot be built.
10797 (modify-phases %standard-phases
10798 ;; The build system attempts to install user interface modules to the
10799 ;; output directory of the "evolution-data-server" package. This
10800 ;; change redirects that change.
10801 (add-after 'unpack 'patch-ui-module-dir
10802 (lambda* (#:key outputs #:allow-other-keys)
10803 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10804 (("\\$\\{edsuimoduledir\\}")
10805 (string-append (assoc-ref outputs "out")
10806 "/lib/evolution-data-server/ui-modules")))
10808 (add-after 'install 'glib-or-gtk-compile-schemas
10809 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10810 (add-after 'install 'glib-or-gtk-wrap
10811 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10813 `(("glib" ,glib "bin") ; glib-mkenums
10814 ("pkg-config" ,pkg-config)
10815 ("intltool" ,intltool)
10816 ("itstool" ,itstool)))
10818 `(("enchant" ,enchant)
10819 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10821 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10822 ("gnome-autoar" ,gnome-autoar)
10823 ("gnome-desktop" ,gnome-desktop)
10825 ("highlight" ,highlight)
10826 ("libcanberra" ,libcanberra)
10827 ("libgweather" ,libgweather)
10828 ("libnotify" ,libnotify)
10829 ("libsoup" ,libsoup)
10831 ("openldap" ,openldap)
10832 ("webkitgtk" ,webkitgtk)
10834 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10835 (synopsis "Manage your email, contacts and schedule")
10836 (description "Evolution is a personal information management application
10837 that provides integrated mail, calendaring and address book
10839 ;; See COPYING for details.
10840 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10841 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10842 license:lgpl2.1+)))) ; smime/lib/*
10844 (define-public gthumb
10850 (uri (string-append "mirror://gnome/sources/gthumb/"
10851 (version-major+minor version) "/"
10852 "gthumb-" version ".tar.xz"))
10855 "04n2sgasc03kiczyzkq362pjilj12hq2r5qj07lynqr9rivkzdys"))))
10856 (build-system meson-build-system)
10858 `(#:glib-or-gtk? #t
10860 ;; Ensure the RUNPATH contains all installed library locations.
10861 (list (string-append "-Dc_link_args=-Wl,-rpath="
10862 (assoc-ref %outputs "out")
10863 "/lib/gthumb/extensions")
10864 (string-append "-Dcpp_link_args=-Wl,-rpath="
10865 (assoc-ref %outputs "out")
10866 "/lib/gthumb/extensions"))))
10868 `(("pkg-config" ,pkg-config)
10869 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10870 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10871 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10872 ("intltool" ,intltool)
10873 ("itstool" ,itstool)))
10877 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10878 ("gstreamer" ,gstreamer)
10879 ("clutter" ,clutter)
10880 ("clutter-gst" ,clutter-gst)
10881 ("clutter-gtk" ,clutter-gtk)
10882 ("libjpeg" ,libjpeg-turbo)
10883 ("libtiff" ,libtiff)
10884 ("libraw" ,libraw)))
10885 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10886 (synopsis "GNOME image viewer and browser")
10887 (description "GThumb is an image viewer, browser, organizer, editor and
10888 advanced image management tool")
10889 (license license:gpl2+)))
10891 (define-public terminator
10893 (name "terminator")
10898 (uri (string-append "https://github.com/gnome-terminator/terminator/"
10899 "releases/download/v" version "/"
10900 name "-" version ".tar.gz"))
10902 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
10903 (build-system python-build-system)
10905 `(("gettext" ,gettext-minimal)
10906 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10907 ("gobject-introspection" ,gobject-introspection)
10908 ("intltool" ,intltool)
10909 ("pkg-config" ,pkg-config)
10910 ("python-psutil" ,python-psutil)
10911 ("python-pytest-runner" ,python-pytest-runner)
10912 ("python-pytest" ,python-pytest)))
10915 ("dbus-glib" ,dbus-glib)
10916 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10918 ("python" ,python-wrapper)
10919 ("python-dbus" ,python-dbus)
10920 ("python-notify2" ,python-notify2)
10921 ("python-pycairo" ,python-pycairo)
10922 ("python-pygobject" ,python-pygobject)
10925 `(("python-configobj" ,python-configobj)))
10927 ;; One test out of 28 fails due to dbus-python and python-notify; skip
10930 #:imported-modules ((guix build glib-or-gtk-build-system)
10931 ,@%python-build-system-modules)
10932 #:modules ((guix build python-build-system)
10933 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10934 (guix build utils))
10936 (modify-phases %standard-phases
10937 (add-after 'unpack 'handle-dbus-python
10939 ;; python-dbus cannot be found but it's really there. See
10940 ;; https://github.com/SpotlightKid/jack-select/issues/2
10941 (substitute* "setup.py"
10942 (("'dbus-python',") ""))
10944 (add-after 'install 'wrap-program
10945 (lambda* (#:key outputs #:allow-other-keys)
10946 (let ((prog (string-append (assoc-ref outputs "out")
10947 "/bin/terminator"))
10948 (pylib (string-append (assoc-ref outputs "out")
10950 ,(version-major+minor
10951 (package-version python))
10952 "/site-packages")))
10954 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10955 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10957 (add-after 'wrap-program 'glib-or-gtk-wrap
10958 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10959 (home-page "https://gnome-terminator.org/")
10960 (synopsis "Store and run multiple GNOME terminals in one window")
10962 "Terminator allows you to run multiple GNOME terminals in a grid and
10963 tabs, and it supports drag and drop re-ordering of terminals.")
10964 (license license:gpl2)))
10966 (define-public libhandy
10973 (uri (git-reference
10974 (url "https://gitlab.gnome.org/GNOME/libhandy")
10976 (file-name (git-file-name name version))
10978 (base32 "0345x7gif6yjm95y62lww71lj84wfwsr2p32r3iww8shavb8scyk"))))
10979 (build-system meson-build-system)
10981 `(#:configure-flags
10982 '("-Dglade_catalog=enabled"
10985 (modify-phases %standard-phases
10986 (add-before 'check 'pre-check
10988 ;; Tests require a running X server.
10989 (system "Xvfb :1 &")
10990 (setenv "DISPLAY" ":1")
10995 ("libxml2" ,libxml2)))
10997 `(("glib:bin" ,glib "bin")
10998 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
11000 ("gtk-doc" ,gtk-doc/stable)
11001 ("pkg-config" ,pkg-config)
11002 ("gettext" ,gettext-minimal)
11004 ;; Test suite dependencies.
11005 ("xorg-server" ,xorg-server-for-tests)
11006 ("hicolor-icon-theme" ,hicolor-icon-theme)))
11007 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11008 (synopsis "Library full of GTK+ widgets for mobile phones")
11009 (description "The aim of the handy library is to help with developing user
11010 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11011 for usage on small and big screens.")
11012 (license license:lgpl2.1+)))
11014 (define-public libhandy-0.0
11021 (uri (git-reference
11022 (url "https://gitlab.gnome.org/GNOME/libhandy")
11023 (commit (string-append "v" version))))
11024 (file-name (git-file-name "libhandy" version))
11026 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11028 (substitute-keyword-arguments (package-arguments libhandy)
11029 ((#:configure-flags flags)
11030 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11032 (define-public libgit2-glib
11034 (name "libgit2-glib")
11035 (version "0.99.0.1")
11038 (uri (string-append "mirror://gnome/sources/" name "/"
11039 (version-major+minor version) "/"
11040 name "-" version ".tar.xz"))
11043 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
11044 (build-system meson-build-system)
11046 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
11047 ("gobject-introspection" ,gobject-introspection)
11048 ("pkg-config" ,pkg-config)
11049 ("python-pygobject" ,python-pygobject)
11050 ("python-wrapper" ,python-wrapper)
11054 ("libssh2" ,libssh2)))
11056 `(;; In Requires of libgit2-glib.pc.
11057 ("libgit2" ,libgit2)))
11058 (synopsis "GLib wrapper around the libgit2 Git access library")
11059 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11060 access library. It only implements the core plumbing functions, not really the
11061 higher level porcelain stuff.")
11062 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11063 (license license:gpl2+)))
11065 (define-public gitg
11071 (uri (string-append "mirror://gnome/sources/" name "/"
11072 (version-major+minor version) "/"
11073 name "-" version ".tar.xz"))
11076 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11077 (build-system meson-build-system)
11079 `(#:glib-or-gtk? #t
11081 (modify-phases %standard-phases
11082 (add-after 'unpack 'disable-post-install-partially
11084 (substitute* "meson_post_install.py"
11085 (("'python'") ; there are no python sources to compile
11086 (string-append "'" (which "true") "'"))
11087 (("gtk-update-icon-cache") (which "true")))
11089 (add-after 'unpack 'fix-test-sources
11091 (substitute* "tests/libgitg/test-commit.vala"
11092 (("/bin/bash") (which "bash")))
11094 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11095 (lambda* (#:key outputs #:allow-other-keys)
11096 (let ((prog (string-append (assoc-ref outputs "out")
11099 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11103 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11105 ("gtkspell3" ,gtkspell3)
11106 ("gtksourceview" ,gtksourceview-3)
11107 ("json-glib" ,json-glib)
11108 ("libdazzle" ,libdazzle)
11110 ("libgit2-glib" ,libgit2-glib)
11111 ("libpeas" ,libpeas)
11112 ("libsecret" ,libsecret)
11113 ("libsoup" ,libsoup)
11114 ("libxml2" ,libxml2)))
11116 `(("glib:bin" ,glib "bin")
11117 ("gtk+:bin" ,gtk+ "bin")
11118 ("gobject-introspection" ,gobject-introspection)
11119 ("intltool" ,intltool)
11120 ("pkg-config" ,pkg-config)
11122 (synopsis "Graphical user interface for git")
11124 "gitg is a graphical user interface for git. It aims at being a small,
11125 fast and convenient tool to visualize the history of git repositories.
11126 Besides visualization, gitg also provides several utilities to manage your
11127 repository and commit your work.")
11128 (home-page "https://wiki.gnome.org/Apps/Gitg")
11129 (license license:gpl2+)))
11131 (define-public gamin
11137 (uri (string-append "mirror://gnome/sources/" name "/"
11138 (version-major+minor version) "/"
11139 name "-" version ".tar.bz2"))
11142 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11143 (build-system gnu-build-system)
11146 (modify-phases %standard-phases
11147 (add-after 'unpack 'remove-deprecated-macro
11149 (substitute* '("server/gam_node.c"
11150 "server/gam_subscription.h"
11151 "server/gam_node.h"
11152 "server/gam_subscription.c")
11153 (("G_CONST_RETURN") "const"))
11158 `(("intltool" ,intltool)
11159 ("pkg-config" ,pkg-config)))
11160 (home-page "https://people.gnome.org/~veillard/gamin/")
11161 (synopsis "File alteration monitor")
11163 "Gamin is a file and directory monitoring system defined to be a subset
11164 of the FAM (File Alteration Monitor) system. This is a service provided by a
11165 library which detects when a file or a directory has been modified.")
11166 (license license:gpl2+)))
11168 (define-public gnome-mahjongg
11170 (name "gnome-mahjongg")
11174 (uri (git-reference
11175 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11177 (file-name (git-file-name name version))
11180 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11181 (build-system meson-build-system)
11183 `(#:glib-or-gtk? #t))
11185 `(("appstream-glib" ,appstream-glib)
11186 ("gettext" ,gettext-minimal)
11187 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11188 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11189 ("itstool" ,itstool)
11190 ("pkg-config" ,pkg-config)
11193 `(("dconf" ,dconf)))
11197 ("librsvg" ,librsvg)))
11198 (synopsis "Mahjongg tile-matching game")
11199 (description "GNOME Mahjongg is a game based on the classic Chinese
11200 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11201 and a high score table.")
11202 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11203 (license license:gpl2+)))
11205 (define-public gnome-themes-extra
11207 (name "gnome-themes-extra")
11212 (uri (string-append "mirror://gnome/sources/" name "/"
11213 (version-major+minor version) "/" name "-"
11214 version ".tar.xz"))
11217 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11218 (build-system gnu-build-system)
11220 '(#:configure-flags
11221 ;; Don't create 'icon-theme.cache'.
11222 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11223 (true (string-append coreutils "/bin/true")))
11224 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11226 `(("glib:bin" ,glib "bin")
11227 ("intltool" ,intltool)
11228 ("pkg-config" ,pkg-config)))
11233 ("librsvg" ,librsvg)
11234 ("libxml2" ,libxml2)))
11235 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11236 (synopsis "GNOME Extra Themes")
11237 (description "This package provides themes and related elements that don't
11238 really fit in other upstream packages. It offers legacy support for GTK+ 2
11239 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11240 index files needed for Adwaita to be used outside of GNOME.")
11241 (license license:lgpl2.1+)))
11243 (define-public gnote
11250 (uri (string-append "mirror://gnome/sources/" name "/"
11251 (version-major+minor version) "/"
11252 "gnote-" version ".tar.xz"))
11254 (base32 "1adjfjhmsm2d33999khjyzvli6kiz1jlzavn77jhd49kfzhxa9y4"))))
11255 (build-system glib-or-gtk-build-system)
11257 `(("desktop-file-utils" ,desktop-file-utils)
11258 ("glib:bin" ,glib "bin")
11259 ("gobject-introspection" ,gobject-introspection)
11260 ("intltool" ,intltool)
11261 ("itstool" ,itstool)
11262 ("pkg-config" ,pkg-config)
11263 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11265 `(("glibmm" ,glibmm)
11266 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11270 ("libsecret" ,libsecret)
11271 ("libuuid" ,util-linux "lib")
11272 ("libxml2" ,libxml2)
11273 ("libxslt" ,libxslt)))
11274 (synopsis "Note-taking application for the GNOME desktop")
11276 "Gnote is a note-taking application written for the GNOME desktop
11278 (home-page "https://wiki.gnome.org/Apps/Gnote")
11279 (license license:gpl3+)))
11281 (define-public polari
11287 (uri (string-append "mirror://gnome/sources/polari/"
11288 (version-major+minor version)
11289 "/polari-" version ".tar.xz"))
11292 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11293 (build-system meson-build-system)
11295 `(#:glib-or-gtk? #t
11297 (modify-phases %standard-phases
11298 (add-after 'unpack 'skip-gtk-update-icon-cache
11300 (substitute* "meson/meson-postinstall.sh"
11301 (("gtk-update-icon-cache") (which "true")))
11303 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11304 (lambda* (#:key outputs #:allow-other-keys)
11305 (let ((prog (string-append (assoc-ref outputs "out")
11308 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11312 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11316 ("libsecret" ,libsecret)
11317 ("libsoup" ,libsoup)
11318 ("telepathy-glib" ,telepathy-glib)
11319 ("telepathy-logger" ,telepathy-logger)))
11321 `(("glib:bin" ,glib "bin")
11322 ("gobject-introspection" ,gobject-introspection)
11323 ("intltool" ,intltool)
11324 ("pkg-config" ,pkg-config)
11325 ("yelp-tools" ,yelp-tools)))
11327 `(("telepathy-idle" ,telepathy-idle)
11328 ("telepathy-mission-control" ,telepathy-mission-control)))
11329 (synopsis "Simple IRC Client")
11331 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11332 integrate seamlessly with the GNOME desktop.")
11333 (home-page "https://wiki.gnome.org/Apps/Polari")
11334 (license license:gpl2+)))
11336 (define-public gnome-boxes
11338 (name "gnome-boxes")
11343 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11344 (version-major+minor version) "/"
11345 "gnome-boxes-" version ".tar.xz"))
11347 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11348 (build-system meson-build-system)
11350 '(#:glib-or-gtk? #t
11351 #:configure-flags (list "-Drdp=false"
11352 (string-append "-Dc_link_args=-Wl,-rpath="
11353 (assoc-ref %outputs "out")
11354 "/lib/gnome-boxes"))))
11356 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11357 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11358 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11359 ("itstool" ,itstool)
11360 ("intltool" ,intltool)
11362 ("pkg-config" ,pkg-config)))
11364 `(("libarchive" ,libarchive)
11365 ("glib-networking" ,glib-networking) ;for TLS support
11366 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11368 ("gtk-vnc" ,gtk-vnc)
11369 ("libosinfo" ,libosinfo)
11370 ("libsecret" ,libsecret)
11371 ("libsoup" ,libsoup)
11373 ("libvirt" ,libvirt)
11374 ("libvirt-glib" ,libvirt-glib)
11375 ("libxml" ,libxml2)
11376 ("spice-gtk" ,spice-gtk)
11377 ("sparql-query" ,sparql-query)
11379 ("webkitgtk" ,webkitgtk)
11380 ("tracker" ,tracker)
11381 ("libgudev" ,libgudev)))
11382 (home-page "https://wiki.gnome.org/Apps/Boxes")
11383 (synopsis "View, access, and manage remote and virtual systems")
11384 (description "GNOME Boxes is a simple application to view, access, and
11385 manage remote and virtual systems. Note that this application requires the
11386 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11387 @command{info '(guix) Virtualization Services'} to learn how to configure
11388 these services on the Guix System.")
11390 ;; For data/icons/empty-boxes.png.
11393 license:lgpl2.0+))))
11395 (define-public geary
11401 (uri (git-reference
11402 (url "https://gitlab.gnome.org/GNOME/geary")
11404 (file-name (git-file-name name version))
11407 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))
11408 (patches (search-patches "geary-CVE-2020-24661.patch"))))
11409 (build-system meson-build-system)
11411 `(#:glib-or-gtk? #t
11412 #:phases (modify-phases %standard-phases
11413 (add-after 'unpack 'disable-failing-tests
11415 (substitute* "test/meson.build"
11416 (("test\\('client-tests', geary_test_client_bin\\)")
11419 (add-after 'unpack 'disable-postinstall-script
11421 (substitute* "meson.build"
11422 (("meson.add_install_script\\(\
11423 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11426 (add-before 'check 'setup-xvfb
11428 (system "Xvfb :1 &")
11429 (setenv "DISPLAY" ":1")
11432 `(("enchant" ,enchant)
11436 ("gmime" ,gmime-2.6)
11437 ("gnome-online-accounts:lib"
11438 ,gnome-online-accounts "lib")
11441 ("iso-codes" ,iso-codes)
11442 ("json-glib" ,json-glib)
11443 ("libcanberra" ,libcanberra)
11445 ("libhandy" ,libhandy-0.0)
11446 ("libpeas" ,libpeas)
11447 ("libsecret" ,libsecret)
11448 ("libunwind" ,libunwind)
11450 ("webkitgtk" ,webkitgtk)
11453 `(("appstream-glib" ,appstream-glib)
11454 ("cmake-minimal" ,cmake-minimal)
11455 ("desktop-file-utils" ,desktop-file-utils)
11456 ("gettext" ,gettext-minimal)
11457 ("glib:bin" ,glib "bin")
11458 ("gobject-introspection" ,gobject-introspection)
11459 ("itstool" ,itstool)
11460 ("libarchive" ,libarchive)
11461 ("libxml2" ,libxml2)
11462 ("pkg-config" ,pkg-config)
11464 ("xvfb" ,xorg-server-for-tests)))
11465 (synopsis "GNOME email application built around conversations")
11467 "Geary collects related messages together into conversations,
11468 making it easy to find and follow your discussions. Full-text and keyword
11469 search makes it easy to find the email you are looking for. Geary's
11470 full-featured composer lets you send rich, styled text with images, links, and
11471 lists, but also send lightweight, easy to read text messages. Geary
11472 automatically picks up your existing GNOME Online Accounts, and adding more is
11473 easy. Geary has a clean, fast, modern interface that works like you want it
11475 (home-page "https://wiki.gnome.org/Apps/Geary")
11481 license:cc-by-sa3.0
11482 license:public-domain
11486 (define-public glabels
11493 (uri (string-append "mirror://gnome/sources/" name "/"
11494 (version-major+minor version) "/"
11495 "glabels-" version ".tar.xz"))
11497 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11498 (build-system glib-or-gtk-build-system)
11500 `(("gettext" ,gettext-minimal)
11501 ("glib:bin" ,glib "bin")
11502 ("intltool" ,intltool)
11503 ("itstool" ,itstool)
11504 ("pkg-config" ,pkg-config)))
11507 ("librsvg" ,librsvg)
11508 ("libxml2" ,libxml2)))
11509 (home-page "https://glabels.org/")
11510 (synopsis "Program for creating labels and business cards")
11512 "gLabels is a program for creating labels and business cards. It is
11513 designed to work with various laser/ink-jet peel-off label and business
11514 card sheets that you’ll find at most office supply stores.")
11515 (license license:gpl3+)))
11517 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11518 (define-public gnome-latex
11520 (name "gnome-latex")
11525 (uri (string-append "mirror://gnome/sources/" name "/"
11526 (version-major+minor version) "/"
11527 "gnome-latex-" version ".tar.xz"))
11529 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11530 (build-system glib-or-gtk-build-system)
11532 `(("gettext" ,gettext-minimal)
11533 ("glib:bin" ,glib "bin")
11534 ("gobject-introspection" ,gobject-introspection)
11535 ("gtk-doc" ,gtk-doc/stable)
11536 ("intltool" ,intltool)
11537 ("itstool" ,itstool)
11538 ("pkg-config" ,pkg-config)
11544 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11547 ("gtksourceview" ,gtksourceview)
11550 ("uchardet" ,uchardet)))
11551 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11552 (synopsis "LaTeX editor for the GNOME desktop")
11554 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11555 such as build tools, completion of LaTeX commands, structure navigation,
11556 symbol tables, document templates, project management, spell-checking, menus
11558 (license license:gpl3+)))
11560 (define-public setzer
11567 (uri (git-reference
11568 (url "https://github.com/cvfosammmm/Setzer")
11569 (commit (string-append "v" version))))
11570 (file-name (git-file-name name version))
11572 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11573 (build-system meson-build-system)
11575 `(#:glib-or-gtk? #t
11577 (modify-phases %standard-phases
11578 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11579 (lambda* (#:key outputs #:allow-other-keys)
11580 (let ((prog (string-append (assoc-ref outputs "out")
11582 (pylib (string-append (assoc-ref outputs "out")
11584 ,(version-major+minor
11585 (package-version python))
11586 "/site-packages")))
11588 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11589 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11592 `(("desktop-file-utils" ,desktop-file-utils)
11593 ("gettext" ,gettext-minimal)
11594 ("glib:bin" ,glib "bin")
11595 ("gobject-introspection" ,gobject-introspection)
11596 ("gtk+:bin" ,gtk+ "bin")))
11598 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11601 ("gtksourceview" ,gtksourceview)
11603 ("poppler" ,poppler)
11604 ("python-pdfminer" ,python-pdfminer-six)
11605 ("python-pycairo" ,python-pycairo)
11606 ("python-pygobject" ,python-pygobject)
11607 ("python-pyxdg" ,python-pyxdg)
11608 ("webkitgtk" ,webkitgtk)
11609 ("xdg-utils" ,xdg-utils)))
11610 (home-page "https://www.cvfosammmm.org/setzer/")
11611 (synopsis "LaTeX editor written in Python with GTK+")
11613 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11614 GTK+. It integrates well with the GNOME desktop environment.")
11615 (license license:gpl3+)))
11617 (define-public libratbag
11624 (uri (git-reference
11625 (url "https://github.com/libratbag/libratbag")
11626 (commit (string-append "v" version))))
11627 (file-name (git-file-name name version))
11629 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11630 (build-system meson-build-system)
11632 `(#:configure-flags
11633 (list "-Dsystemd=false"
11634 "-Dlogind-provider=elogind")
11636 (modify-phases %standard-phases
11637 (add-after 'install 'wrap
11638 (lambda* (#:key inputs outputs #:allow-other-keys)
11639 (let* ((out (assoc-ref outputs "out"))
11640 (site (string-append
11642 ,(version-major+minor (package-version python))
11644 (evdev (string-append
11645 (assoc-ref inputs "python-evdev") site))
11646 (pygo (string-append
11647 (assoc-ref inputs "python-pygobject") site))
11649 `("PYTHONPATH" = (,evdev ,pygo))))
11650 (wrap-program (string-append out "/bin/" "ratbagctl")
11655 ("pkg-config" ,pkg-config)
11657 ("valgrind" ,valgrind)))
11660 ("json-glib" ,json-glib)
11661 ("libevdev" ,libevdev)
11662 ("libsystemd" ,elogind)
11663 ("libunistring" ,libunistring)
11664 ("python-evdev" ,python-evdev)
11665 ("python-pygobject" ,python-pygobject)
11667 (home-page "https://github.com/libratbag/libratbag")
11668 (synopsis "DBus daemon and utility for configuring gaming mice")
11669 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11670 configure input devices, mainly gaming mice. The daemon provides a generic
11671 way to access the various features exposed by these mice and abstracts away
11672 hardware-specific and kernel-specific quirks. There is also the
11673 @command{ratbagctl} command line interface for configuring devices.
11675 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11678 The ratbagd DBus service can be enabled by adding the following service to
11679 your operating-system definition:
11681 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11682 (license license:expat)))
11684 (define-public piper
11691 (uri (git-reference
11692 (url "https://github.com/libratbag/piper")
11695 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11696 (file-name (git-file-name name version))))
11697 (build-system meson-build-system)
11699 `(("gettext" ,gettext-minimal)
11700 ("glib:bin" ,glib "bin")
11701 ("gobject-introspection" ,gobject-introspection)
11702 ("pkg-config" ,pkg-config)
11703 ("python-flake8" ,python-flake8)))
11705 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11707 ("gtk:bin" ,gtk+ "bin")
11708 ("librsvg" ,librsvg)
11709 ("python-evdev" ,python-evdev)
11710 ("python-lxml" ,python-lxml)
11711 ("python-pycairo" ,python-pycairo)
11712 ("python-pygobject" ,python-pygobject)))
11714 `(#:imported-modules ((guix build python-build-system)
11715 ,@%meson-build-system-modules)
11716 #:modules (((guix build python-build-system) #:prefix python:)
11717 (guix build meson-build-system)
11718 (guix build utils))
11719 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11721 (modify-phases %standard-phases
11722 (add-after 'unpack 'dont-update-gtk-icon-cache
11724 (substitute* "meson.build"
11725 (("meson.add_install_script('meson_install.sh')") ""))
11727 ;; TODO: Switch to wrap-script when it is fixed.
11728 (add-after 'install 'wrap-python
11729 (assoc-ref python:%standard-phases 'wrap))
11730 (add-after 'wrap-python 'wrap
11731 (lambda* (#:key outputs #:allow-other-keys)
11733 (string-append (assoc-ref outputs "out" )"/bin/piper")
11734 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11736 (home-page "https://github.com/libratbag/piper/")
11737 (synopsis "Configure bindings and LEDs on gaming mice")
11738 (description "Piper is a GTK+ application for configuring gaming mice with
11739 onboard configuration for key bindings via libratbag. Piper requires
11740 a @command{ratbagd} daemon running with root privileges. It can be run
11741 manually as root, but is preferably configured as a DBus service that can
11742 launch on demand. This can be configured by enabling the following service,
11743 provided there is a DBus service present:
11745 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11746 (license license:gpl2)))
11748 (define-public parlatype
11755 (uri (git-reference
11756 (url "https://github.com/gkarsay/parlatype")
11757 (commit (string-append "v" version))))
11758 (file-name (git-file-name name version))
11760 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11761 (build-system meson-build-system)
11763 `(#:glib-or-gtk? #t
11764 #:tests? #f ;require internet access
11766 (modify-phases %standard-phases
11767 (add-after 'install 'wrap-parlatype
11768 ;; Add gstreamer plugin provided in this package to system's
11770 (lambda* (#:key outputs #:allow-other-keys)
11771 (let* ((out (assoc-ref outputs "out"))
11772 (gst-plugin-path (string-append
11773 out "/lib/gstreamer-1.0/"
11775 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11776 (wrap-program (string-append out "/bin/parlatype")
11777 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11780 `(("appstream-glib" ,appstream-glib)
11781 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11782 ("gettext" ,gettext-minimal)
11783 ("glib" ,glib "bin") ;for glib-compile-resources
11784 ("pkg-config" ,pkg-config)
11785 ("yelp-tools" ,yelp-tools)))
11787 `(("gst-plugins-base" ,gst-plugins-base)
11788 ("gst-plugins-good" ,gst-plugins-good)
11789 ("gstreamer" ,gstreamer)
11791 ("pocketsphinx" ,pocketsphinx)
11792 ("pulseaudio" ,pulseaudio)
11793 ("sphinxbase" ,sphinxbase)))
11794 (home-page "http://gkarsay.github.io/parlatype/")
11795 (synopsis "GNOME audio player for transcription")
11796 (description "Parlatype is an audio player for the GNOME desktop
11797 environment. Its main purpose is the manual transcription of spoken
11799 (license license:gpl3+)))
11801 (define-public jsonrpc-glib
11803 (name "jsonrpc-glib")
11807 (uri (string-append "mirror://gnome/sources/" name "/"
11808 (version-major+minor version) "/"
11809 name "-" version ".tar.xz"))
11812 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11813 (build-system meson-build-system)
11815 `(("json-glib" ,json-glib)
11818 `(("pkg-config" ,pkg-config)
11819 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11820 ("gobject-introspection" ,gobject-introspection)
11822 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11823 (synopsis "JSON-RPC library for GLib")
11824 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11825 peers in either a synchronous or asynchronous fashion. It also allows
11826 communicating using the GVariant serialization format instead of JSON when
11827 both peers support it. You might want that when communicating on a single
11828 host to avoid parser overhead and memory-allocator fragmentation.")
11829 (license license:lgpl2.1+)))
11831 (define-public feedbackd
11834 (version "0.0.0+git20200527")
11837 (uri (git-reference
11838 (url "https://source.puri.sm/Librem5/feedbackd.git")
11839 (commit (string-append "v" version))))
11840 (file-name (git-file-name name version))
11843 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11844 (build-system meson-build-system)
11846 `(("glib:bin" ,glib "bin")
11847 ("gobject-introspection" ,gobject-introspection)
11848 ("pkg-config" ,pkg-config)
11853 ("json-glib" ,json-glib)
11854 ("libgudev" ,libgudev)))
11856 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11857 (synopsis "Haptic/visual/audio feedback via DBus")
11858 (description "Feedbackd provides a DBus daemon to act on events to provide
11859 haptic, visual and audio feedback. It offers the libfeedbackd library and
11860 GObject introspection bindings.")
11861 (home-page "https://source.puri.sm/Librem5/feedbackd")
11862 (license (list license:lgpl2.1+ ; libfeedbackd
11863 license:lgpl3+)))) ; the rest
11865 (define-public sysprof
11872 (uri (string-append "mirror://gnome/sources/sysprof/"
11873 (version-major+minor version) "/"
11874 "sysprof-" version ".tar.xz"))
11876 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11877 (build-system meson-build-system)
11879 `(#:configure-flags
11880 (list (string-append "-Dsystemdunitdir="
11883 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11885 (modify-phases %standard-phases
11886 (add-after 'unpack 'patch-install-script
11888 (substitute* "build-aux/meson/post_install.sh"
11889 (("gtk-update-icon-cache") "true")
11890 (("update-desktop-database") "true"))
11895 ("libdazzle" ,libdazzle)
11896 ("polkit" ,polkit)))
11898 `(("gettext" ,gettext-minimal)
11899 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11900 ("itstool" ,itstool)
11901 ("pkg-config" ,pkg-config)
11902 ("xmllint" ,libxml2)))
11903 ;; This home page is so woefully out of date as to be essentially useless.
11904 ;; (home-page "http://www.sysprof.com")
11905 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11906 (synopsis "System-wide performance profiler for GNU/Linux")
11908 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11909 GNU/Linux system including the kernel and all user-space applications. This
11910 helps find the function(s) in which a program spends most of its time.
11912 It uses the kernel's built-in @code{ptrace} feature and handles shared
11913 libraries. Applications do not need to be recompiled--or even restarted.")
11914 (license license:gpl3+)))
11916 (define-public gnome-builder
11918 (name "gnome-builder")
11922 (uri (string-append "mirror://gnome/sources/" name "/"
11923 (version-major+minor version) "/"
11924 name "-" version ".tar.xz"))
11927 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11928 (build-system meson-build-system)
11930 `(#:configure-flags (list "-Dnetwork_tests=false"
11931 ;; TODO: Enable all plugins...
11932 "-Dplugin_clang=false"
11933 "-Dplugin_flatpak=false"
11934 "-Dplugin_glade=false"
11935 ;; XXX: This one has been shown not to work in
11936 ;; <https://issues.guix.gnu.org/45272>
11937 "-Dplugin_jedi=false"
11938 ;; ... except this one.
11939 "-Dplugin_update_manager=false")
11941 (modify-phases %standard-phases
11942 (add-after 'unpack 'patch-meson
11943 (lambda* (#:key inputs #:allow-other-keys)
11944 (substitute* "build-aux/meson/post_install.py"
11945 (("gtk-update-icon-cache") "true")
11946 (("update-desktop-database") "true"))
11947 (substitute* "src/libide/meson.build"
11949 (string-append (assoc-ref inputs "python-pygobject")
11952 (add-after 'configure 'fix-ninja
11954 ;; #43296: meson(?) incorrectly assumes we want to link
11955 ;; this PIE against a static libselinux.
11956 (substitute* "build.ninja"
11957 (("libselinux\\.a") "libselinux.so"))
11959 (add-before 'check 'pre-check
11961 (system "Xvfb :1 &")
11962 (setenv "DISPLAY" ":1")
11965 `(("devhelp" ,devhelp)
11968 ("json-glib" ,json-glib)
11969 ("jsonrpc-glib" ,jsonrpc-glib)
11970 ("libdazzle" ,libdazzle)
11971 ("libgit2-glib" ,libgit2-glib)
11972 ("libpeas" ,libpeas)
11973 ("python-pygobject" ,python-pygobject)
11974 ("sysprof" ,sysprof)
11975 ("template-glib" ,template-glib)
11977 ("webkitgtk" ,webkitgtk)))
11979 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11981 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11982 ("glib:bin" ,glib "bin")
11983 ("gettext" ,gettext-minimal)
11984 ("pkg-config" ,pkg-config)
11986 ("xorg-server" ,xorg-server-for-tests)))
11987 (home-page "https://wiki.gnome.org/Apps/Builder")
11988 (synopsis "Toolsmith for GNOME-based applications")
11989 (description "Builder aims to be an integrated development
11990 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11991 auto-completion, a mini code map, documentation browsing, Git integration, an
11992 integrated profiler via Sysprof, debugging support, and more.")
11993 (license license:gpl3+)))
11995 (define-public komikku
12002 (uri (git-reference
12003 (url "https://gitlab.com/valos/Komikku/")
12004 (commit (string-append "v" version))))
12005 (file-name (git-file-name name version))
12008 "0cl1j28cmbwnfcbsqjqd466aysn71hdwzbrwy0jk0hfzyk0kjqi7"))))
12009 (build-system meson-build-system)
12011 `(#:glib-or-gtk? #t
12013 (modify-phases %standard-phases
12014 (add-after 'unpack 'patch-sources
12016 (substitute* "komikku/utils.py"
12017 (("from komikku\\.servers import get_servers_list")
12018 ;; code following that line should migrate old databases
12019 ;; but the line itself results in an import error
12020 "return data_dir_path"))))
12021 (add-after 'unpack 'skip-gtk-update-icon-cache
12023 (substitute* "meson_post_install.py"
12024 (("gtk-update-icon-cache") (which "true")))
12026 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12027 (lambda* (#:key outputs #:allow-other-keys)
12028 (let ((prog (string-append (assoc-ref outputs "out")
12031 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
12032 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12036 ("libhandy" ,libhandy)
12037 ("libnotify" ,libnotify)
12038 ("libsecret" ,libsecret)
12039 ("python-beautifulsoup4" ,python-beautifulsoup4)
12040 ("python-brotli" ,python-brotli)
12041 ("python-dateparser" ,python-dateparser)
12042 ("python-keyring" ,python-keyring)
12043 ("python-lxml" ,python-lxml)
12044 ("python-magic" ,python-magic)
12045 ("python-pillow" ,python-pillow)
12046 ("python-pure-protobuf" ,python-pure-protobuf)
12047 ("python-pycairo" ,python-pycairo)
12048 ("python-pygobject" ,python-pygobject)
12049 ("python-requests" ,python-requests)
12050 ("python-unidecode" ,python-unidecode)
12051 ("webkitgtk" ,webkitgtk)))
12053 `(("desktop-file-utils" ,desktop-file-utils)
12054 ("gettext" ,gettext-minimal)
12055 ("glib:bin" ,glib "bin")
12056 ("gobject-introspection" ,gobject-introspection)
12057 ("pkg-config" ,pkg-config)))
12058 (home-page "https://gitlab.com/valos/Komikku")
12059 (synopsis "Manga reader for GNOME")
12060 (description "Komikku is an online/offline manga reader for GNOME,
12061 developed with the aim of being used with the Librem 5 phone.")
12062 (license license:gpl3+)))
12064 (define-public libgda
12071 (uri (git-reference
12072 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12073 (commit (string-append "LIBGDA_" (string-replace-substring
12074 version "." "_")))))
12075 (file-name (git-file-name name version))
12077 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12078 (build-system gnu-build-system)
12080 `(#:configure-flags '("--enable-vala")
12081 ;; There's a race between check_cnc_lock and check_threaded_cnc
12082 ;; in tests/multi-threading.
12083 #:parallel-tests? #f
12085 (modify-phases %standard-phases
12086 (add-after 'unpack 'fix-glade-install
12088 (substitute* "configure.ac"
12089 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12090 "${datadir}/glade/catalogs")
12091 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12092 "${datadir}/glade/pixmaps"))
12094 (add-before 'check 'pre-check
12095 (lambda* (#:key inputs #:allow-other-keys)
12096 ;; Tests require a running X server.
12097 (system "Xvfb :1 &")
12098 (setenv "DISPLAY" ":1")
12100 (add-after 'install 'symlink-glade-module
12101 (lambda* (#:key outputs #:allow-other-keys)
12102 (let* ((shlib "libgda-ui-5.0.so")
12103 (out (assoc-ref outputs "out"))
12104 (out/lib (string-append out "/lib"))
12105 (moduledir (string-append out/lib "/glade/modules")))
12106 (mkdir-p moduledir)
12107 (symlink (string-append out/lib "/" shlib)
12108 (string-append moduledir "/" shlib))
12111 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12116 ("libsecret" ,libsecret)
12117 ("libxslt" ,libxslt)
12118 ("openssl" ,openssl)
12121 `(("autoconf" ,autoconf)
12122 ("autoconf-archive" ,autoconf-archive)
12123 ("automake" ,automake)
12124 ("glib:bin" ,glib "bin")
12125 ("gnome-common" ,gnome-common)
12126 ("gobject-introspection" ,gobject-introspection)
12127 ("gtk-doc" ,gtk-doc/stable)
12128 ("intltool" ,intltool)
12129 ("libtool" ,libtool)
12130 ("pkg-config" ,pkg-config)
12133 ("xorg-server" ,xorg-server-for-tests)
12134 ("yelp-tools" ,yelp-tools)))
12135 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12136 (synopsis "Uniform data access")
12138 "GNU Data Access (GDA) is an attempt to provide uniform access to
12139 different kinds of data sources (databases, information servers, mail spools,
12140 etc). It is a complete architecture that provides all you need to access
12142 (license license:lgpl2.1+)))
12144 (define-public gtranslator
12146 (name "gtranslator")
12150 (uri (string-append "mirror://gnome/sources/" name "/"
12151 (version-major+minor version) "/"
12152 name "-" version ".tar.xz"))
12155 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12156 (build-system meson-build-system)
12158 `(("json-glib" ,json-glib)
12159 ("jsonrpc-glib" ,jsonrpc-glib)
12160 ("gettext" ,gettext-minimal)
12163 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12165 ("libdazzle" ,libdazzle)
12167 ("libsoup" ,libsoup)))
12169 `(("glib:bin" ,glib "bin")
12170 ("itstool" ,itstool)
12171 ("pkg-config" ,pkg-config)))
12173 `(("gtksourceview" ,gtksourceview))) ; required for source view
12175 `(#:build-type "release"
12178 (modify-phases %standard-phases
12179 (add-after 'unpack 'skip-gtk-update-icon-cache
12181 (substitute* "build-aux/meson/meson_post_install.py"
12182 (("gtk-update-icon-cache") (which "true")))
12184 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12185 (synopsis "Translation making program")
12187 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12188 for the GNOME 3.x platform with many features. It aims to be a very complete
12189 editing environment for translation issues within the GNU gettext/GNOME desktop
12191 (license license:gpl3+)))
12194 (define-public ocrfeeder
12200 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12201 (version-major+minor version) "/"
12202 "ocrfeeder-" version ".tar.xz"))
12205 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12206 (build-system gnu-build-system)
12209 (modify-phases %standard-phases
12211 'install 'wrap-program
12212 (lambda* (#:key outputs #:allow-other-keys)
12213 (let ((prog (string-append (assoc-ref outputs "out")
12214 "/bin/" "ocrfeeder"))
12215 (pylib (string-append (assoc-ref outputs "out")
12217 ,(version-major+minor
12218 (package-version python))
12219 "/site-packages")))
12221 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
12222 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12225 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12226 ("gobject-introspection" ,gobject-introspection)
12227 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12228 ("intltool" ,intltool)
12229 ("itstool" ,itstool)
12230 ("pkg-config" ,pkg-config)
12231 ("xmllint" ,libxml2)))
12233 `(("enchant" ,enchant)
12235 ("goocanvas" ,goocanvas)
12237 ("gtkspell3" ,gtkspell3)
12238 ("libjpeg" ,libjpeg-turbo)
12239 ("libtiff" ,libtiff)
12242 ("python" ,python-wrapper)
12243 ("python-pygobject" ,python-pygobject)
12244 ("python-odfpy" ,python-odfpy)
12245 ("python-pillow" ,python-pillow)
12246 ("python-pyenchant" ,python-pyenchant)
12247 ("python-reportlab" ,python-reportlab)
12248 ("python-sane" ,python-sane)
12249 ("sane-backends" ,sane-backends)
12250 ("tesseract-ocr" ,tesseract-ocr)))
12251 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12252 (synopsis "Complete OCR Suite")
12253 (description "OCRFeeder is a complete Optical Character Recognition and
12254 Document Analysis and Recognition program.")
12255 (license license:gpl3+)))