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, 2021 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, 2021 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 Liliana Marie Prikler <liliana.prikler@gmail.com>
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, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
58 ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
59 ;;; Copyright © 2020, 2021 Andy Tai <atai@atai.org>
60 ;;; Copyright © 2020, 2021 Sébastien Lerique <sl@eauchat.org>
61 ;;; Copyright © 2021 Trevor Hass <thass@okstate.edu>
62 ;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
63 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
64 ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
65 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
66 ;;; Copyright © 2021 Josselin Poiret <josselin.poiret@protonmail.ch>
67 ;;; Copyright © 2021 Mathieu Othacehe <othacehe@gnu.org>
69 ;;; This file is part of GNU Guix.
71 ;;; GNU Guix is free software; you can redistribute it and/or modify it
72 ;;; under the terms of the GNU General Public License as published by
73 ;;; the Free Software Foundation; either version 3 of the License, or (at
74 ;;; your option) any later version.
76 ;;; GNU Guix is distributed in the hope that it will be useful, but
77 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
78 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
79 ;;; GNU General Public License for more details.
81 ;;; You should have received a copy of the GNU General Public License
82 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
84 (define-module (gnu packages gnome)
85 #:use-module (gnu packages)
86 #:use-module (gnu packages admin)
87 #:use-module (gnu packages aidc)
88 #:use-module (gnu packages aspell)
89 #:use-module (gnu packages autotools)
90 #:use-module (gnu packages avahi)
91 #:use-module (gnu packages backup)
92 #:use-module (gnu packages base)
93 #:use-module (gnu packages bash)
94 #:use-module (gnu packages bison)
95 #:use-module (gnu packages boost)
96 #:use-module (gnu packages build-tools)
97 #:use-module (gnu packages calendar)
98 #:use-module (gnu packages cdrom)
99 #:use-module (gnu packages check)
100 #:use-module (gnu packages cmake)
101 #:use-module (gnu packages compression)
102 #:use-module (gnu packages crates-io)
103 #:use-module (gnu packages crates-graphics)
104 #:use-module (gnu packages crates-gtk)
105 #:use-module (gnu packages cups)
106 #:use-module (gnu packages curl)
107 #:use-module (gnu packages cyrus-sasl)
108 #:use-module (gnu packages databases)
109 #:use-module (gnu packages dbm)
110 #:use-module (gnu packages djvu)
111 #:use-module (gnu packages dns)
112 #:use-module (gnu packages docbook)
113 #:use-module (gnu packages docker)
114 #:use-module (gnu packages documentation)
115 #:use-module (gnu packages enchant)
116 #:use-module (gnu packages flex)
117 #:use-module (gnu packages fonts)
118 #:use-module (gnu packages file-systems)
119 #:use-module (gnu packages fontutils)
120 #:use-module (gnu packages freedesktop)
121 #:use-module (gnu packages game-development)
122 #:use-module (gnu packages gcc)
123 #:use-module (gnu packages gettext)
124 #:use-module (gnu packages ghostscript)
125 #:use-module (gnu packages gimp)
126 #:use-module (gnu packages gl)
127 #:use-module (gnu packages glib)
128 #:use-module (gnu packages gnupg)
129 #:use-module (gnu packages gnuzilla)
130 #:use-module (gnu packages geo)
131 #:use-module (gnu packages gperf)
132 #:use-module (gnu packages graphviz)
133 #:use-module (gnu packages gstreamer)
134 #:use-module (gnu packages gtk)
135 #:use-module (gnu packages guile)
136 #:use-module (gnu packages haskell-xyz)
137 #:use-module (gnu packages ibus)
138 #:use-module (gnu packages icu4c)
139 #:use-module (gnu packages image)
140 #:use-module (gnu packages imagemagick)
141 #:use-module (gnu packages inkscape)
142 #:use-module (gnu packages iso-codes)
143 #:use-module (gnu packages kerberos)
144 #:use-module (gnu packages language)
145 #:use-module (gnu packages libcanberra)
146 #:use-module (gnu packages libffi)
147 #:use-module (gnu packages libunistring)
148 #:use-module (gnu packages libunwind)
149 #:use-module (gnu packages libusb)
150 #:use-module (gnu packages linux)
151 #:use-module (gnu packages lirc)
152 #:use-module (gnu packages llvm)
153 #:use-module (gnu packages lua)
154 #:use-module (gnu packages mail)
155 #:use-module (gnu packages man)
156 #:use-module (gnu packages markup)
157 #:use-module (gnu packages mp3)
158 #:use-module (gnu packages multiprecision)
159 #:use-module (gnu packages music)
160 #:use-module (gnu packages ncurses)
161 #:use-module (gnu packages nettle)
162 #:use-module (gnu packages networking)
163 #:use-module (gnu packages ninja)
164 #:use-module (gnu packages node)
165 #:use-module (gnu packages nss)
166 #:use-module (gnu packages ocr)
167 #:use-module (gnu packages openldap)
168 #:use-module (gnu packages package-management)
169 #:use-module (gnu packages password-utils)
170 #:use-module (gnu packages pcre)
171 #:use-module (gnu packages pdf)
172 #:use-module (gnu packages perl)
173 #:use-module (gnu packages photo)
174 #:use-module (gnu packages php)
175 #:use-module (gnu packages pkg-config)
176 #:use-module (gnu packages polkit)
177 #:use-module (gnu packages popt)
178 #:use-module (gnu packages pretty-print)
179 #:use-module (gnu packages protobuf)
180 #:use-module (gnu packages pulseaudio)
181 #:use-module (gnu packages python)
182 #:use-module (gnu packages python-crypto)
183 #:use-module (gnu packages python-web)
184 #:use-module (gnu packages python-xyz)
185 #:use-module (gnu packages rdesktop)
186 #:use-module (gnu packages rdf)
187 #:use-module (gnu packages readline)
188 #:use-module (gnu packages ruby)
189 #:use-module (gnu packages rust)
190 #:use-module (gnu packages samba)
191 #:use-module (gnu packages scanner)
192 #:use-module (gnu packages sdl)
193 #:use-module (gnu packages search)
194 #:use-module (gnu packages selinux)
195 #:use-module (gnu packages slang)
196 #:use-module (gnu packages speech)
197 #:use-module (gnu packages spice)
198 #:use-module (gnu packages sqlite)
199 #:use-module (gnu packages ssh)
200 #:use-module (gnu packages swig)
201 #:use-module (gnu packages tex)
202 #:use-module (gnu packages time)
203 #:use-module (gnu packages tls)
204 #:use-module (gnu packages valgrind)
205 #:use-module (gnu packages version-control)
206 #:use-module (gnu packages video)
207 #:use-module (gnu packages virtualization)
208 #:use-module (gnu packages vpn)
209 #:use-module (gnu packages web)
210 #:use-module (gnu packages webkit)
211 #:use-module (gnu packages xdisorg)
212 #:use-module (gnu packages xiph)
213 #:use-module (gnu packages xml)
214 #:use-module (gnu packages xorg)
215 #:use-module (gnu artwork)
216 #:use-module (guix build-system cargo)
217 #:use-module (guix build-system cmake)
218 #:use-module (guix build-system glib-or-gtk)
219 #:use-module (guix build-system gnu)
220 #:use-module (guix build-system meson)
221 #:use-module (guix build-system python)
222 #:use-module (guix build-system trivial)
223 #:use-module (guix download)
224 #:use-module (guix git-download)
225 #:use-module ((guix licenses) #:prefix license:)
226 #:use-module (guix packages)
227 #:use-module (guix utils)
228 #:use-module (guix gexp)
229 #:use-module (ice-9 match)
230 #:use-module (srfi srfi-1))
232 (define-public gupnp-igd
240 (string-append "mirror://gnome/sources/" name "/"
241 (version-major+minor version) "/"
242 name "-" version ".tar.xz"))
244 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
245 (build-system meson-build-system)
246 (outputs '("out" "doc"))
248 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
249 #:configure-flags (list "-Dgtk_doc=true")
251 (modify-phases %standard-phases
252 (add-after 'unpack 'patch-docbook-xml
253 (lambda* (#:key inputs #:allow-other-keys)
254 (with-directory-excursion "doc"
255 (substitute* "gupnp-igd-docs.xml"
256 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
257 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
258 "/xml/dtd/docbook/"))))
260 (add-before 'check 'set-home
262 ;; A test using GIO expects ~/.config/glib-2.0/settings to be
264 (setenv "HOME" (getcwd))))
265 (add-after 'install 'move-doc
266 (lambda* (#:key outputs #:allow-other-keys)
267 (let* ((out (assoc-ref outputs "out"))
268 (doc (assoc-ref outputs "doc")))
269 (mkdir-p (string-append doc "/share"))
271 (string-append out "/share/gtk-doc")
272 (string-append doc "/share/gtk-doc"))
275 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
276 ("docbook-xsl" ,docbook-xsl)
277 ("glib:bin" ,glib "bin")
278 ("gobject-introspection" ,gobject-introspection)
279 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
280 ("gtk-doc" ,gtk-doc/stable)
281 ("pkg-config" ,pkg-config)))
284 ("glib-networking" ,glib-networking)
287 ("libsoup" ,libsoup)))
288 (synopsis "UPnP IGD for GNOME")
289 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
290 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
291 (license license:lgpl2.1+)))
293 (define-public brasero
299 (uri (string-append "mirror://gnome/sources/brasero/"
300 (version-major+minor version) "/"
301 "brasero-" version ".tar.xz"))
304 "05gabybkl7xfinwx97i4scp9hic0dlxj7gh03dyj0hd16fp9wx47"))))
305 (build-system glib-or-gtk-build-system)
307 `(#:configure-flags (list
308 (string-append "--with-girdir="
309 (assoc-ref %outputs "out")
311 (string-append "--with-typelibdir="
312 (assoc-ref %outputs "out")
313 "/lib/girepository-1.0"))
315 (modify-phases %standard-phases
316 (add-before 'configure 'embed-growisofs-reference
317 (lambda* (#:key inputs #:allow-other-keys)
318 (let ((dvd+rw-tools (assoc-ref inputs "dvd+rw-tools")))
319 (substitute* "plugins/growisofs/burn-growisofs.c"
320 (("(\")(growisofs)" _ prefix command)
321 (string-append prefix dvd+rw-tools "/bin/" command)))))))))
323 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
325 `(("intltool" ,intltool)
327 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
328 ("gobject-introspection" ,gobject-introspection)
329 ("pkg-config" ,pkg-config)))
331 `(("dvd+rw-tools" ,dvd+rw-tools)
333 ("gnome-doc-utils" ,gnome-doc-utils)
334 ("gstreamer" ,gstreamer)
335 ("gst-plugins-base" ,gst-plugins-base)
337 ("libcanberra" ,libcanberra)
339 ("libnotify" ,libnotify)
342 ("totem-pl-parser" ,totem-pl-parser)))
343 (home-page "https://wiki.gnome.org/Apps/Brasero")
344 (synopsis "CD/DVD burning tool for Gnome")
345 (description "Brasero is an application to burn CD/DVD for the Gnome
346 Desktop. It is designed to be as simple as possible and has some unique
347 features to enable users to create their discs easily and quickly.")
348 (license license:gpl2+)))
350 ;;; Minimal variant, used to break a cycle with Inkscape.
351 (define-public libcloudproviders-minimal
353 (name "libcloudproviders-minimal")
359 (string-append "mirror://gnome/sources/libcloudproviders/"
360 (version-major+minor version)
361 "/libcloudproviders-" version ".tar.xz"))
363 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
364 (build-system meson-build-system)
366 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
367 #:configure-flags (list "-Dintrospection=false"
368 "-Denable-gtk-doc=false"
371 `(("glib:bin" ,glib "bin")
372 ("pkg-config" ,pkg-config)
376 ("glib-networking" ,glib-networking)))
377 (synopsis "Cloudproviders Integration API")
378 (description "Libcloudproviders is a DBus API that allows cloud storage sync
379 clients to expose their services. Clients such as file managers and desktop
380 environments can then provide integrated access to the cloud providers
382 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
383 (license license:lgpl3+)))
385 (define-public libcloudproviders
386 (package/inherit libcloudproviders-minimal
387 (name "libcloudproviders")
389 (outputs (cons "doc" (package-outputs libcloudproviders-minimal)))
391 (substitute-keyword-arguments (package-arguments libcloudproviders-minimal)
392 ((#:configure-flags _)
393 '(list "-Denable-gtk-doc=true")) ;false by default
394 ((#:phases phases '%standard-phases)
395 `(modify-phases %standard-phases
396 (add-after 'install 'move-doc
397 (lambda* (#:key outputs #:allow-other-keys)
398 (let* ((out (assoc-ref outputs "out"))
399 (doc (assoc-ref outputs "doc")))
400 (mkdir-p (string-append doc "/share"))
402 (string-append out "/share/gtk-doc")
403 (string-append doc "/share/gtk-doc")))))))))
406 `(("gobject-introspection" ,gobject-introspection)
407 ("gtk-doc" ,gtk-doc/stable))
408 (package-native-inputs libcloudproviders-minimal)))))
410 (define-public libgrss
418 (string-append "mirror://gnome/sources/" name "/"
419 (version-major+minor version) "/"
420 name "-" version ".tar.xz"))
422 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))
424 (search-patches "libgrss-CVE-2016-2001.patch"))))
425 (build-system glib-or-gtk-build-system)
426 (outputs '("out" "doc"))
431 (string-append "--with-html-dir="
432 (assoc-ref %outputs "doc")
433 "/share/gtk-doc/html"))
435 (modify-phases %standard-phases
436 (add-after 'unpack 'patch-docbook-xml
437 (lambda* (#:key inputs #:allow-other-keys)
438 (with-directory-excursion "doc/reference"
439 (substitute* "libgrss-docs.sgml"
440 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
441 (string-append (assoc-ref inputs "docbook-xml")
442 "/xml/dtd/docbook/"))))
445 `(("docbook-xml" ,docbook-xml-4.1.2)
446 ("gobject-introspection" ,gobject-introspection)
447 ("gtk-doc" ,gtk-doc/stable)
448 ("pkg-config" ,pkg-config)))
452 ("libxml2" ,libxml2)))
453 (synopsis "Glib library for feeds")
454 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
456 (home-page "https://wiki.gnome.org/Projects/Libgrss")
457 (license license:lgpl3+)))
459 (define-public gnome-js-common
461 (name "gnome-js-common")
467 (string-append "mirror://gnome/sources/" name "/"
468 (version-major+minor version) "/"
469 name "-" version ".tar.gz"))
471 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
472 (build-system glib-or-gtk-build-system)
476 "--disable-static")))
478 `(("gettext" ,gettext-minimal)
479 ("intltool" ,intltool)
480 ("pkg-config" ,pkg-config)))
481 (synopsis "Common JS Modules")
482 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
484 (home-page "https://wiki.gnome.org/Projects/Seed")
485 (license license:gpl3+)))
495 (string-append "mirror://gnome/sources/" name "/"
496 (version-major+minor version) "/"
497 name "-" version ".tar.xz"))
499 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
501 (search-patches "seed-webkit.patch"))))
502 (build-system glib-or-gtk-build-system)
503 (outputs '("out" "doc"))
508 "--enable-xorg-module"
509 (string-append "--with-html-dir="
510 (assoc-ref %outputs "doc")
511 "/share/gtk-doc/html")
514 (modify-phases %standard-phases
515 ;; The seed-webkit.patch patches configure.ac.
516 ;; So the source files need to be re-bootstrapped.
517 (add-after 'unpack 'trigger-bootstrap
519 (for-each delete-file
524 (add-after 'unpack 'patch-tests
525 (lambda* (#:key outputs #:allow-other-keys)
526 (substitute* (find-files "." "\\.js$")
527 (("#!/usr/bin/env seed")
528 (string-append "#!" (getcwd) "/src/seed")))
530 (add-before 'build 'patch-docbook-xml
531 (lambda* (#:key inputs #:allow-other-keys)
532 (with-directory-excursion "doc"
533 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
534 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
535 (string-append (assoc-ref inputs "docbook-xml")
536 "/xml/dtd/docbook/"))))
539 `(("autoconf" ,autoconf)
540 ("automake" ,automake)
541 ("docbook-xml" ,docbook-xml-4.1.2)
542 ("gettext" ,gettext-minimal)
543 ("gobject-introspection" ,gobject-introspection)
544 ("gtk-doc" ,gtk-doc/stable)
545 ("intltool" ,intltool)
547 ("pkg-config" ,pkg-config)))
551 ("dbus-glib" ,dbus-glib)
552 ("gnome-js-common" ,gnome-js-common)
558 ("readline" ,readline)
560 ("xscrnsaver" ,libxscrnsaver)))
563 ("webkit" ,webkitgtk)))
564 (synopsis "GObject JavaScriptCore bridge")
565 (description "Seed is a library and interpreter, dynamically bridging
566 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
567 GNOME platform. It serves as something which enables you to write standalone
568 applications in JavaScript, or easily enable your application to be extensible
570 (home-page "https://wiki.gnome.org/Projects/Seed")
571 (license license:lgpl2.0+)))
573 (define-public libdmapsharing
575 (name "libdmapsharing")
581 (string-append "https://www.flyn.org/projects/"
582 name "/" name "-" version ".tar.gz"))
584 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
585 (build-system glib-or-gtk-build-system)
586 (outputs '("out" "doc"))
588 `(#:tests? #f ; Tests require networking.
592 (string-append "--with-html-dir="
593 (assoc-ref %outputs "doc")
594 "/share/gtk-doc/html"))
596 (modify-phases %standard-phases
597 (add-after 'unpack 'patch-docbook-xml
598 (lambda* (#:key inputs #:allow-other-keys)
599 (with-directory-excursion "doc"
600 (substitute* "libdmapsharing-4.0-docs.xml"
601 (("http://www.oasis-open.org/docbook/xml/4.3/")
602 (string-append (assoc-ref inputs "docbook-xml")
603 "/xml/dtd/docbook/"))))
607 ("docbook-xml" ,docbook-xml-4.3)
608 ("gobject-introspection" ,gobject-introspection)
609 ("pedansee" ,pedansee)
610 ("pkg-config" ,pkg-config)
616 ("gst-plugins-base" ,gst-plugins-base)
620 ("glib-networking" ,glib-networking)
621 ("gstreamer" ,gstreamer)
622 ("libsoup-minimal" ,libsoup-minimal-2)))
623 (synopsis "Media management library")
624 (description "Libdmapsharing is a library which allows programs to access,
625 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
626 It is written in C using GObject and libsoup.")
627 (home-page "https://launchpad.net/gtx")
628 (license license:lgpl2.1+)))
638 (string-append "https://launchpad.net/gtx/trunk/"
639 version "/+download/gtx-" version ".tar.gz"))
641 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
642 (build-system glib-or-gtk-build-system)
643 (outputs '("out" "doc"))
649 (string-append "--with-html-dir="
650 (assoc-ref %outputs "doc")
651 "/share/gtk-doc/html"))))
653 `(("gobject-introspection" ,gobject-introspection)
654 ("gtk-doc" ,gtk-doc/stable)
655 ("pkg-config" ,pkg-config)))
658 (synopsis "GLib Testing Framework")
659 (description "GTX is a small collection of convenience functions intended to
660 enhance the GLib testing framework. With specific emphasis on easing the pain
661 of writing test cases for asynchronous interactions.")
662 (home-page "https://launchpad.net/gtx")
663 (license license:lgpl2.1+)))
673 (string-append "https://launchpad.net/dee/1.0/"
674 version "/+download/dee-" version ".tar.gz"))
676 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
678 (search-patches "dee-vapi.patch"))))
679 (build-system glib-or-gtk-build-system)
680 (outputs '("out" "doc"))
684 "--disable-maintainer-flags"
685 (string-append "--with-pygi-overrides-dir="
686 (assoc-ref %outputs "out")
688 ,(version-major+minor
689 (package-version python))
690 "/site-packages/gi/overrides")
691 (string-append "--with-html-dir="
692 (assoc-ref %outputs "doc")
693 "/share/gtk-doc/html"))
695 (modify-phases %standard-phases
696 (add-after 'unpack 'patch-docbook-xml
697 (lambda* (#:key inputs #:allow-other-keys)
698 (with-directory-excursion "doc/reference/dee-1.0"
699 (substitute* "dee-1.0-docs.sgml"
700 (("http://www.oasis-open.org/docbook/xml/4.3/")
701 (string-append (assoc-ref inputs "docbook-xml")
702 "/xml/dtd/docbook/"))))
704 (add-after 'patch-docbook-xml 'disable-failing-tests
706 (substitute* "tests/test-icu.c"
707 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
709 (("setup, test_ascii_folder, teardown\\);")
712 (add-before 'check 'pre-check
714 ;; Tests require a running dbus-daemon.
715 (system "dbus-daemon &")
716 ;; For missing '/etc/machine-id'.
717 (setenv "DBUS_FATAL_WARNINGS" "0")
721 ("dbus-test-runner" ,dbus-test-runner)
722 ("docbook-xml" ,docbook-xml-4.3)
723 ("gobject-introspection" ,gobject-introspection)
724 ("gtk-doc" ,gtk-doc/stable)
725 ;; Would only be required by configure flag "--enable-extended-tests".
727 ("pkg-config" ,pkg-config)
728 ("pygobject" ,python-pygobject)
729 ("python" ,python-wrapper)
735 (synopsis "Model to synchronize multiple instances over DBus")
736 (description "Dee is a library that uses DBus to provide objects allowing
737 you to create Model-View-Controller type programs across DBus. It also consists
738 of utility objects which extend DBus allowing for peer-to-peer discoverability
739 of known objects without needing a central registrar.")
740 (home-page "https://launchpad.net/dee")
747 (define-public zeitgeist
756 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
758 (string-append "v" version))))
760 (git-file-name name version))
762 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
763 (build-system glib-or-gtk-build-system)
767 "--enable-explain-queries"
771 (modify-phases %standard-phases
772 (add-after 'unpack 'patch-docbook-xml
773 (lambda* (#:key inputs #:allow-other-keys)
774 (with-directory-excursion "doc/libzeitgeist"
775 (substitute* "zeitgeist-gtkdoc-index.sgml"
776 (("http://www.oasis-open.org/docbook/xml/4.3/")
777 (string-append (assoc-ref inputs "docbook-xml")
778 "/xml/dtd/docbook/"))))
780 (add-after 'patch-docbook-xml 'disable-failing-tests
782 (substitute* "test/direct/Makefile.am"
785 (substitute* "test/c/Makefile.am"
789 (add-before 'bootstrap 'remove-autogen-script
791 ;; To honor `autoreconf -vif` by build-system.
792 (delete-file "autogen.sh")
795 `(("autoconf" ,autoconf)
796 ("automake" ,automake)
797 ("docbook-xml" ,docbook-xml-4.3)
798 ("gettext" ,gettext-minimal)
799 ("gobject-introspection" ,gobject-introspection)
800 ("gtk-doc" ,gtk-doc/stable)
802 ("pkg-config" ,pkg-config)
804 ("xorg-server-for-tests" ,xorg-server-for-tests)))
808 ("json-glib" ,json-glib)
810 ("telepathy-glib" ,telepathy-glib)
811 ("python" ,python-wrapper)
812 ("python-rdflib" ,python-rdflib)
813 ("xapian-config" ,xapian)))
816 (synopsis "Desktop Activity Logging")
817 (description "Zeitgeist is a service which logs the users’s activities and
818 events, anywhere from files opened to websites visited and conversations. It
819 makes this information readily available for other applications to use. It is
820 able to establish relationships between items based on similarity and usage
822 (home-page "https://zeitgeist.freedesktop.org/")
829 (define-public gnome-recipes
831 (name "gnome-recipes")
836 (url "https://gitlab.gnome.org/GNOME/recipes")
838 (file-name (git-file-name name version))
841 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
842 (build-system meson-build-system)
846 (modify-phases %standard-phases
847 (add-after 'unpack 'skip-gtk-update-icon-cache
849 (substitute* "meson_post_install.py"
850 (("gtk-update-icon-cache") (which "true")))
852 (add-after 'unpack 'unpack-libgd
853 (lambda* (#:key inputs #:allow-other-keys)
854 (let ((libgd (assoc-ref inputs "libgd")))
855 (copy-recursively libgd "subprojects/libgd")
859 ("gnome-autoar" ,gnome-autoar)
860 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
863 ("json-glib" ,json-glib)
864 ("libcanberra" ,libcanberra)
868 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
869 ("gettext" ,gettext-minimal)
870 ("glib:bin" ,glib "bin")
876 (url "https://gitlab.gnome.org/GNOME/libgd")
877 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
878 (file-name (git-file-name "libgd" version))
880 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
881 ("pkg-config" ,pkg-config)))
882 (home-page "https://wiki.gnome.org/Apps/Recipes")
883 (synopsis "Discover recipes for preparing food")
884 (description "GNOME Recipes helps you discover what to cook today,
885 tomorrow, the rest of the week and for special occasions.")
886 (license license:gpl3+)))
888 (define-public gnome-photos
890 (name "gnome-photos")
896 (string-append "mirror://gnome/sources/" name "/"
897 (version-major version) "/"
898 name "-" version ".tar.xz"))
901 "1bzi79plw6ji6qlckhxnwfnswy6jpnhzmmyanml2i2xg73hp6bg0"))))
902 (build-system meson-build-system)
904 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
907 (list "-Ddogtail=false" ; Not available
908 ;; Required for RUNPATH validation.
909 (string-append "-Dc_link_args=-Wl,-rpath="
910 (assoc-ref %outputs "out") "/lib/gnome-photos"))
912 (modify-phases %standard-phases
913 (add-after 'install 'wrap-gnome-photos
914 (lambda* (#:key inputs outputs #:allow-other-keys)
916 ((out (assoc-ref outputs "out")))
917 (wrap-program (string-append out "/bin/gnome-photos")
918 `("GRL_PLUGIN_PATH" =
919 (,(getenv "GRL_PLUGIN_PATH"))))))))))
922 ("desktop-file-utils" ,desktop-file-utils)
923 ("gettext" ,gettext-minimal)
925 ("glib:bin" ,glib "bin")
926 ("gobject-introspection" ,gobject-introspection)
927 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
928 ("gtk+:bin" ,gtk+ "bin")
930 ("pkg-config" ,pkg-config)))
936 ("geocode-glib" ,geocode-glib)
938 ("gnome-online-accounts" ,gnome-online-accounts)
939 ("gnome-online-miners" ,gnome-online-miners)
941 ("grilo-plugins" ,grilo-plugins)
943 ("libdazzle" ,libdazzle)
944 ("libgdata" ,libgdata)
945 ("libgfbgraph" ,gfbgraph)
946 ("libhandy" ,libhandy)
947 ("libjpeg" ,libjpeg-turbo)
950 ("pygobject" ,python-pygobject)
952 ("tracker-miners" ,tracker-miners)))
953 (synopsis "Access, organize and share your photos on GNOME desktop")
954 (description "GNOME Photos is a simple and elegant replacement for using a
955 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
956 cloud integration is offered through GNOME Online Accounts.")
957 (home-page "https://wiki.gnome.org/Apps/Photos")
958 (license license:gpl3+)))
960 (define-public gnome-music
968 (string-append "mirror://gnome/sources/" name "/"
969 (version-major version) "/"
970 name "-" version ".tar.xz"))
973 "0lcdal4qdhclr8961p57xf010y92l6wwmkw86lyi9wy224z6gjr0"))))
974 (build-system meson-build-system)
976 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
979 (modify-phases %standard-phases
980 (add-after 'install 'wrap-gnome-music
981 (lambda* (#:key inputs outputs #:allow-other-keys)
983 ((out (assoc-ref outputs "out"))
984 (pylib (string-append out "/lib/python"
985 ,(version-major+minor
986 (package-version python))
988 (wrap-program (string-append out "/bin/gnome-music")
989 `("GI_TYPELIB_PATH" =
990 (,(getenv "GI_TYPELIB_PATH")))
991 `("GST_PLUGIN_SYSTEM_PATH" =
992 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
993 `("GRL_PLUGIN_PATH" =
994 (,(getenv "GRL_PLUGIN_PATH")))
995 `("GUIX_PYTHONPATH" =
996 (,(getenv "GUIX_PYTHONPATH") ,pylib)))))))))
998 `(("desktop-file-utils" ,desktop-file-utils)
999 ("gettext" ,gettext-minimal)
1000 ("glib:bin" ,glib "bin")
1001 ("gobject-introspection" ,gobject-introspection)
1002 ("gtk+:bin" ,gtk+ "bin")
1003 ("itstools" ,itstool)
1004 ("pkg-config" ,pkg-config)))
1006 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1008 ("grilo-plugins" ,grilo-plugins)
1009 ("gst-plugins-base" ,gst-plugins-base)
1010 ("gst-plugins-good" ,gst-plugins-good)
1011 ("gstreamer" ,gstreamer)
1013 ("json-glib" ,json-glib)
1014 ("libdazzle" ,libdazzle)
1015 ("libmediaart" ,libmediaart)
1016 ("libsoup" ,libsoup-minimal-2)
1017 ("pycairo" ,python-pycairo)
1018 ("pygobject" ,python-pygobject)
1019 ("tracker" ,tracker)
1020 ("tracker-miners" ,tracker-miners)))
1021 (synopsis "Simple music player for GNOME desktop")
1022 (description "GNOME Music is the new GNOME music playing application that
1023 aims to combine an elegant and immersive browsing experience with simple
1024 and straightforward controls.")
1025 (home-page "https://wiki.gnome.org/Apps/Music")
1026 (license license:gpl2+)))
1028 (define-public portablexdr
1030 (name "portablexdr")
1036 (string-append "https://people.redhat.com/~rjones/" name "/files/"
1037 name "-" version ".tar.gz"))
1040 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1041 (build-system gnu-build-system)
1042 (synopsis "External Data Representation Library")
1043 (description "PortableXDR is an implementation of External Data
1044 Representation (XDR) Library. It is a standard data serialization format, for
1045 uses such as computer network protocols. It allows data to be transferred
1046 between different kinds of computer systems.")
1047 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1051 license:lgpl2.1+))))
1061 (string-append "mirror://gnome/sources/" name "/"
1062 (version-major+minor version) "/"
1063 name "-" version ".tar.xz"))
1066 "0qvs7s86gqyyrzi0r5fbrj8zczlgv8xhdjswgbgc1afwjnl9fqx8"))))
1067 (build-system meson-build-system)
1070 #:tests? #f)) ; FIX-ME: Requires gvfs
1072 `(("glib" ,glib "bin")
1073 ("gobject-introspection" ,gobject-introspection)
1074 ("pkg-config" ,pkg-config)))
1079 ("gtksourceview" ,gtksourceview)
1080 ("libxml2" ,libxml2)
1081 ("uchardet" ,uchardet)))
1082 (synopsis "Text editor product line")
1083 (description "Tepl is a library that eases the development of
1084 GtkSourceView-based text editors and IDEs.")
1085 (home-page "https://wiki.gnome.org/Projects/Tepl")
1086 (license license:lgpl2.1+)))
1088 (define-public tepl-5
1097 (string-append "mirror://gnome/sources/" name "/"
1098 (version-major+minor version) "/"
1099 name "-" version ".tar.xz"))
1102 "0118j64s4fb350phbgda2rk6sv19rfgglxc7nf248llzc1klj9xi"))))))
1104 (define-public krb5-auth-dialog
1106 (name "krb5-auth-dialog")
1112 (string-append "mirror://gnome/sources/" name "/"
1113 (version-major+minor version) "/"
1114 name "-" version ".tar.xz"))
1117 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1118 (build-system glib-or-gtk-build-system)
1120 `(("intltool" ,intltool)
1121 ("itstool" ,itstool)
1122 ("libxml2" ,libxml2)
1123 ("pkg-config" ,pkg-config)
1124 ("python-wrapper" ,python-wrapper)))
1128 ("libnotify" ,libnotify)
1129 ("mit-krb5" ,mit-krb5)
1130 ("network-manager" ,network-manager)))
1131 (synopsis "Popup dialogs for Kerberos 5")
1132 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1133 tickets, and pops up a dialog when they are about to expire.")
1134 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1135 (license license:gpl2+)))
1137 (define-public notification-daemon
1139 (name "notification-daemon")
1145 (string-append "mirror://gnome/sources/" name "/"
1146 (version-major+minor version) "/"
1147 name "-" version ".tar.xz"))
1150 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1151 (build-system glib-or-gtk-build-system)
1153 `(("intltool" ,intltool)
1154 ("pkg-config" ,pkg-config)))
1159 (synopsis "Notification Daemon for GNOME Desktop")
1160 (description "Notification-Daemon is the server implementation of the
1161 freedesktop.org desktop notification specification.")
1162 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1163 (license license:gpl2+)))
1165 (define-public mm-common
1171 (uri (string-append "mirror://gnome/sources/mm-common/"
1172 (version-major+minor version) "/"
1173 "mm-common-" version ".tar.xz"))
1176 "1x8yvjy0yg17qyhmqws8xh2k8dvzrhpwqz7j1cfwzalrb1i9c5g8"))))
1177 (build-system meson-build-system)
1180 (modify-phases %standard-phases
1181 (add-after 'unpack 'patch
1182 (lambda* (#:key inputs #:allow-other-keys)
1183 (substitute* "util/mm-common-prepare.in"
1184 (("ln") (search-input-file inputs "/bin/ln"))
1185 (("cp") (search-input-file inputs "/bin/cp"))
1186 (("sed") (search-input-file inputs "/bin/sed"))
1187 (("cat") (search-input-file inputs "/bin/cat"))))))))
1189 `(("coreutils" ,coreutils)
1190 ("gettext" ,gettext-minimal)
1191 ("pkg-config" ,pkg-config)
1194 `(("python" ,python)))
1195 (synopsis "Module of GNOME C++ bindings")
1196 (description "The mm-common module provides the build infrastructure
1197 and utilities shared among the GNOME C++ binding libraries. Release
1198 archives of mm-common include the Doxygen tag file for the GNU C++
1199 Library reference documentation.")
1200 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1201 (license license:gpl2+)))
1203 (define-public phodav
1209 (uri (string-append "mirror://gnome/sources/" name "/"
1210 (version-major+minor version) "/"
1211 name "-" version ".tar.xz"))
1214 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1215 (build-system meson-build-system)
1218 (modify-phases %standard-phases
1219 (add-after 'unpack 'fix-udev-rules-directory
1220 (lambda* (#:key outputs #:allow-other-keys)
1221 (let* ((out (assoc-ref outputs "out"))
1222 (rules (string-append out "/lib/udev/rules.d")))
1223 (substitute* "data/meson.build"
1224 (("udev\\.get_pkgconfig_variable\\('udevdir'\\)")
1225 (format #f "'~a'" rules))))))
1226 (add-before 'check 'start-virtual-dir-server
1227 ;; The same server when started by tests/virtual-dir returns an
1228 ;; unexpected status (4 instead of 200) and fails a test. It is
1229 ;; unclear why starting it manually here makes it pass.
1231 (system "tests/virtual-dir-server &"))))))
1233 `(("docbook-xml" ,docbook-xml-4.3)
1234 ("gettext" ,gettext-minimal)
1235 ("glib:bin" ,glib "bin")
1236 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1237 ("gtk-doc" ,gtk-doc/stable)
1238 ("pkg-config" ,pkg-config)))
1241 ("libgudev" ,libgudev)
1242 ("libsoup" ,libsoup)))
1243 (synopsis "WebDav server implementation using libsoup")
1244 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1245 but it is generic enough to be reused in other projects,
1246 in particular in the GNOME desktop.")
1247 (home-page "https://wiki.gnome.org/phodav")
1248 (license license:lgpl2.1+)))
1250 (define-public gnome-color-manager
1252 (name "gnome-color-manager")
1256 (uri (string-append "mirror://gnome/sources/" name "/"
1257 (version-major+minor version) "/"
1258 name "-" version ".tar.xz"))
1261 "0fxdng74d8hwhfx1nwl1i4jx9h9f6c2hkyc12f01kqbjcimrxnwx"))))
1262 (build-system meson-build-system)
1266 (modify-phases %standard-phases
1270 ;; Tests require a running X server.
1271 (system "Xvfb :1 &")
1272 (setenv "DISPLAY" ":1")
1275 `(("desktop-file-utils" ,desktop-file-utils)
1276 ("gettext" ,gettext-minimal)
1277 ("glib:bin" ,glib "bin")
1278 ("gtk+:bin" ,gtk+ "bin")
1279 ("itstool" ,itstool)
1280 ("pkg-config" ,pkg-config)
1281 ("xorg-server" ,xorg-server-for-tests)))
1283 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1284 ("appstream-glib" ,appstream-glib)
1285 ("colord-gtk" ,colord-gtk)
1287 ("gnome-desktop" ,gnome-desktop)
1288 ("libcanberra" ,libcanberra)
1289 ("libexif" ,libexif)
1290 ("libtiff" ,libtiff)
1291 ("libxrandr" ,libxrandr)
1292 ("libxtst" ,libxtst)
1293 ("libxxf86vm" ,libxxf86vm)
1295 ("xorgproto" ,xorgproto)))
1296 (synopsis "Color profile manager for the GNOME desktop")
1297 (description "GNOME Color Manager is a session framework that makes
1298 it easy to manage, install and generate color profiles
1299 in the GNOME desktop.")
1300 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1301 (license license:gpl2+)))
1303 (define-public gnome-online-miners
1305 (name "gnome-online-miners")
1309 (uri (string-append "mirror://gnome/sources/" name "/"
1310 (version-major+minor version) "/"
1311 name "-" version ".tar.xz"))
1314 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))
1317 "gnome-online-miners-tracker-3.patch"))))
1318 (build-system glib-or-gtk-build-system)
1321 (modify-phases %standard-phases
1322 (add-after 'unpack 'fix-configure
1324 (substitute* "configure.ac"
1325 (("AX_CHECK_ENABLE_DEBUG.*")
1327 (add-after 'fix-configure 'autoreconf
1329 (invoke "autoreconf" "-vif"))))))
1331 `(("autoconf" ,autoconf)
1332 ("automake" ,automake)
1333 ("gettext" ,gettext-minimal)
1334 ("glib:bin" ,glib "bin")
1335 ("gobject-introspection" ,gobject-introspection)
1336 ("gtk+:bin" ,gtk+ "bin")
1337 ("libtool" ,libtool)
1338 ("pkg-config" ,pkg-config)))
1340 `(("gnome-online-accounts" ,gnome-online-accounts)
1341 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1343 ("libgdata" ,libgdata)
1344 ("libgfbgraph" ,gfbgraph)
1345 ("libzapojit" ,libzapojit)
1347 ("tracker" ,tracker)))
1348 (synopsis "Web Crawlers for GNOME")
1349 (description "GNOME Online Miners provides a set of crawlers that
1350 go through your online content and index them locally in Tracker.
1351 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1352 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1353 (license license:gpl2+)))
1355 (define-public gssdp
1361 (uri (string-append "mirror://gnome/sources/" name "/"
1362 (version-major+minor version) "/"
1363 name "-" version ".tar.xz"))
1366 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1367 (build-system meson-build-system)
1369 `(("gettext" ,gettext-minimal)
1370 ("glib:bin" ,glib "bin")
1371 ("gobject-introspection" ,gobject-introspection)
1372 ("gtk-doc" ,gtk-doc/stable)
1373 ("pkg-config" ,pkg-config)
1378 ;; The .pc file "Requires" libsoup-2.4.
1379 `(("libsoup" ,libsoup-minimal-2)))
1380 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1381 Protocol} for GNOME")
1382 (description "This package provides a library to handle resource discovery
1383 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1384 a debugging tool, @command{gssdp-device-sniffer}.")
1385 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1386 (license license:lgpl2.0+)))
1388 (define-public gupnp
1394 (uri (string-append "mirror://gnome/sources/" name "/"
1395 (version-major+minor version) "/"
1396 name "-" version ".tar.xz"))
1399 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1400 (build-system meson-build-system)
1403 (modify-phases %standard-phases
1404 (add-before 'check 'pre-check
1406 ;; Tests require a writable HOME.
1407 (setenv "HOME" (getcwd)))))))
1409 `(("gettext" ,gettext-minimal)
1410 ("glib:bin" ,glib "bin")
1411 ("gobject-introspection" ,gobject-introspection)
1412 ("gtk-doc" ,gtk-doc/stable)
1413 ("pkg-config" ,pkg-config)
1418 ("libsoup" ,libsoup)))
1420 `(;; For ‘org.gnome.system.proxy’.
1421 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
1422 (synopsis "PnP API for GNOME")
1423 (description "This package provides GUPnP, an object-oriented framework
1424 for creating UPnP devices and control points, written in C using
1425 @code{GObject} and @code{libsoup}.")
1426 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1427 (license license:lgpl2.0+)))
1429 (define-public gupnp-dlna
1435 (uri (string-append "mirror://gnome/sources/" name "/"
1436 (version-major+minor version) "/"
1437 name "-" version ".tar.xz"))
1440 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1441 (build-system gnu-build-system)
1443 `(("gettext" ,gettext-minimal)
1444 ("glib:bin" ,glib "bin")
1445 ("gobject-introspection" ,gobject-introspection)
1446 ("gtk-doc" ,gtk-doc/stable)
1448 ("pkg-config" ,pkg-config)
1451 `(("gstreamer" ,gstreamer)
1454 `(("gst-plugins-base" ,gst-plugins-base)
1455 ("gst-plugins-good" ,gst-plugins-good)))
1456 (synopsis "GUPnP DLNA for GNOME")
1457 (description "This package provides a small utility library to
1458 support DLNA-related tasks such as media profile guessing, transcoding to a
1459 given profile, etc. DLNA is a subset of UPnP A/V.")
1460 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1461 (license license:lgpl2.0+)))
1463 (define-public gupnp-av
1469 (uri (string-append "mirror://gnome/sources/" name "/"
1470 (version-major+minor version) "/"
1471 name "-" version ".tar.xz"))
1474 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1475 (build-system gnu-build-system)
1477 `(("gettext" ,gettext-minimal)
1478 ("glib:bin" ,glib "bin")
1479 ("gobject-introspection" ,gobject-introspection)
1480 ("gtk-doc" ,gtk-doc/stable)
1482 ("pkg-config" ,pkg-config)
1487 (synopsis "GUPnP A/V for GNOME")
1488 (description "This package provides a small library for handling
1489 and implementation of UPnP A/V profiles.")
1490 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1491 (license license:lgpl2.0+)))
1493 (define-public libmediaart
1495 (name "libmediaart")
1499 (uri (string-append "mirror://gnome/sources/" name "/"
1500 (version-major+minor version) "/"
1501 name "-" version ".tar.xz"))
1504 "1mlw1qgj8nkd9ll6b6h54r1gfdy3zp8a8xqz7qfyfaj85jjgbph7"))))
1505 (build-system meson-build-system)
1507 `(("glib:bin" ,glib "bin")
1508 ("pkg-config" ,pkg-config)))
1510 `(("gdk-pixbuf" ,gdk-pixbuf)
1511 ("gettext" ,gettext-minimal)
1512 ("gobject-introspection" ,gobject-introspection)
1513 ("gtk+:doc" ,gtk+ "doc")
1515 (synopsis "Media art library for the GNOME desktop")
1517 "The libmediaart library is the foundation for media art caching,
1518 extraction, and lookup for applications on the desktop.")
1519 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1520 (license license:lgpl2.1+)))
1522 (define-public gnome-initial-setup
1524 (name "gnome-initial-setup")
1528 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1529 (version-major version)
1530 "/gnome-initial-setup-" version ".tar.xz"))
1533 "06q3p4f8g9zr7a4mw3qr556mi0dg9qzrj8n46ybdz93fxs26aaj1"))))
1534 (build-system meson-build-system)
1536 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
1537 #:configure-flags '(;; Enable camera support for user selfie.
1540 #:phases (modify-phases %standard-phases
1541 (add-after 'unpack 'set-gkbd-file-name
1542 (lambda* (#:key inputs #:allow-other-keys)
1543 ;; Allow the "Preview" button in the keyboard layout
1544 ;; selection dialog to display the layout.
1545 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1546 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1547 (("\"gkbd-keyboard-display")
1548 (string-append "\"" libgnomekbd
1549 "/bin/gkbd-keyboard-display")))
1552 `(("gettext" ,gettext-minimal)
1553 ("glib:bin" ,glib "bin")
1554 ("gobject-introspection" ,gobject-introspection)
1555 ("gtk+:bin" ,gtk+ "bin")
1556 ("pkg-config" ,pkg-config)))
1558 `(("accountsservice" ,accountsservice)
1559 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1560 ("elogind" ,elogind)
1562 ("geoclue" ,geoclue)
1563 ("gnome-desktop" ,gnome-desktop)
1564 ("gnome-online-accounts" ,gnome-online-accounts)
1565 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1566 ("gstreamer" ,gstreamer)
1568 ("json-glib" ,json-glib)
1570 ("libgweather" ,libgweather)
1572 ("libsecret" ,libsecret)
1573 ("network-manager" ,network-manager)
1574 ("packagekit" ,packagekit)
1576 ("pwquality" ,libpwquality)
1579 ("webkitgtk" ,webkitgtk-with-libsoup2)
1580 ("libgnomekbd" ,libgnomekbd)))
1581 (synopsis "Initial setup wizard for GNOME desktop")
1582 (description "This package provides a set-up wizard when a
1583 user logs into GNOME for the first time. It typically provides a
1584 tour of all gnome components and allows the user to set them up.")
1585 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1586 (license license:gpl2)))
1588 (define-public gnome-user-share
1590 (name "gnome-user-share")
1594 (uri (string-append "mirror://gnome/sources/" name "/"
1595 (version-major+minor version) "/"
1596 name "-" version ".tar.xz"))
1599 "04r9ck9v4i0d31grbli1d4slw2d6dcsfkpaybkwbzi7wnj72l30x"))))
1600 (build-system meson-build-system)
1602 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
1605 `("-Dsystemduserunitdir=/tmp/empty"
1606 ;; Enable nautilus extension for file sharing.
1607 "-Dnautilus_extension=true")))
1609 `(("gettext" ,gettext-minimal)
1610 ("glib:bin" ,glib "bin")
1611 ("gobject-introspection" ,gobject-introspection)
1612 ("gtk+:bin" ,gtk+ "bin")
1613 ("pkg-config" ,pkg-config)
1614 ("yelp-tools" ,yelp-tools)))
1617 ("gnome-bluetooth" ,gnome-bluetooth)
1619 ("libcanberra" ,libcanberra)
1620 ("libnotify" ,libnotify)
1621 ("nautilus" ,nautilus))) ; For nautilus extension.
1622 (synopsis "File sharing for GNOME desktop")
1623 (description "GNOME User Share is a small package that binds together
1624 various free software projects to bring easy to use user-level file
1625 sharing to the masses.")
1626 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1627 (license license:gpl2+)))
1629 (define-public sushi
1635 (uri (string-append "mirror://gnome/sources/" name "/"
1636 (version-major+minor version) "/"
1637 name "-" version ".tar.xz"))
1640 "1sc8i0vrw6bn43rklnwp2fl1gq0r0xfd3bszcqxd0a2mh46d3rpk"))))
1641 (build-system meson-build-system)
1645 (modify-phases %standard-phases
1646 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1647 (lambda* (#:key outputs #:allow-other-keys)
1648 (let ((prog (string-append (assoc-ref outputs "out")
1650 ;; Put existing typelibs before sushi's deps, so as to
1651 ;; correctly infer gdk-pixbuf.
1653 `("GI_TYPELIB_PATH" suffix
1654 (,(getenv "GI_TYPELIB_PATH"))))))))))
1656 `(("glib:bin" ,glib "bin")
1657 ("gettext" ,gettext-minimal)
1658 ("gobject-introspection" ,gobject-introspection)
1659 ("pkg-config" ,pkg-config)))
1661 `(("clutter" ,clutter)
1662 ("clutter-gst" ,clutter-gst)
1663 ("clutter-gtk" ,clutter-gtk)
1664 ("evince" ,evince) ; For file previewing.
1665 ("freetype" ,freetype)
1666 ("gdk-pixbuf" ,gdk-pixbuf)
1668 ("gst-plugins-base" ,gst-plugins-base)
1669 ("gstreamer" ,gstreamer)
1670 ("gtksourceview" ,gtksourceview)
1671 ("harfbuzz" ,harfbuzz)
1672 ("libepoxy" ,libepoxy)
1673 ("libmusicbrainz" ,libmusicbrainz)
1674 ("libxml2" ,libxml2)
1676 ("webkitgtk" ,webkitgtk-with-libsoup2)))
1677 (synopsis "File previewer for the GNOME desktop")
1678 (description "Sushi is a DBus-activated service that allows applications
1679 to preview files on the GNOME desktop.")
1680 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1681 (license license:gpl2+)))
1683 (define-public rygel
1689 (uri (string-append "mirror://gnome/sources/" name "/"
1690 (version-major+minor version) "/"
1691 name "-" version ".tar.xz"))
1694 "0bd3d2swa8lq47b9r04x8xwdr9nhjnrwqi6scygd134wb5vxfh22"))))
1695 (build-system meson-build-system)
1697 ;; Disable the tracker plugin.
1699 (list "-Dplugins=external,gst-launch,lms,media-export,
1700 mpris,playbin,ruih,tracker3")))
1702 `(("gettext" ,gettext-minimal)
1703 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
1704 ("gobject-introspection" ,gobject-introspection)
1705 ("gtk-doc" ,gtk-doc/stable)
1706 ("pkg-config" ,pkg-config)
1708 ("docbook-xml" ,docbook-xml)
1709 ("dockbook-xsl" ,docbook-xsl)
1710 ("xsltproc" ,libxslt)))
1712 `(("gdk-pixbuf" ,gdk-pixbuf)
1714 ("gstreamer" ,gstreamer)
1715 ("gst-plugins-base" ,gst-plugins-base)
1716 ("gst-editing-services" ,gst-editing-services)
1719 ("gupnp-av" ,gupnp-av)
1720 ("gupnp-dlna" ,gupnp-dlna)
1721 ("json-glib" ,json-glib)
1723 ("libmediaart" ,libmediaart)
1724 ("libsoup" ,libsoup)
1725 ("libxslt" ,libxslt)
1726 ("libunistring" ,libunistring)
1727 ("tracker" ,tracker)))
1728 (synopsis "Share audio, video, and pictures with other devices")
1730 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1731 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1732 pictures, and to control a media player on your home network.
1734 Rygel achieves interoperability with other devices by trying to conform to the
1735 strict requirements of DLNA and by converting media on-the-fly to formats that
1736 client devices can handle.")
1737 (home-page "https://wiki.gnome.org/Projects/Rygel")
1739 ;; For logo (data/icons/*).
1742 license:lgpl2.1+))))
1744 (define-public libnma
1750 (uri (string-append "mirror://gnome/sources/" name "/"
1751 (version-major+minor version) "/"
1752 name "-" version ".tar.xz"))
1755 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1756 (build-system meson-build-system)
1759 (modify-phases %standard-phases
1760 (add-after 'unpack 'patch-docbook-xml
1761 (lambda* (#:key inputs #:allow-other-keys)
1762 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1763 "/xml/dtd/docbook")))
1764 (substitute* "libnma-docs.xml"
1765 (("http://.*/docbookx\\.dtd")
1766 (string-append xmldoc "/docbookx.dtd")))
1769 `(("docbook-xml" ,docbook-xml-4.3)
1770 ("gettext" ,gettext-minimal)
1771 ("glib:bin" ,glib "bin")
1772 ("gtk-doc" ,gtk-doc/stable)
1773 ("gobject-introspection" ,gobject-introspection)
1774 ("pkg-config" ,pkg-config)
1779 ("iso-codes" ,iso-codes)
1780 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1781 ("network-manager" ,network-manager)))
1782 (synopsis "Network Manager's applet library")
1783 (description "Libnma is an applet library for Network Manager. It was
1784 initially part of network-manager-applet and has now become a separate
1786 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1787 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1789 (license license:gpl2+)))
1791 (define-public gnome-menus
1793 (name "gnome-menus")
1797 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1798 (version-major+minor version) "/"
1799 name "-" version ".tar.xz"))
1802 "07xvaf8s0fiv0035nk8zpzymn5www76w2a1vflrgqmp9plw8yd6r"))))
1803 (build-system gnu-build-system)
1805 `(("gettext" ,gettext-minimal)
1807 ("pkg-config" ,pkg-config)))
1808 (synopsis "Menu support for GNOME desktop")
1809 (description "GNOME Menus contains the libgnome-menu library, the layout
1810 configuration files for the GNOME menu, as well as a simple menu editor.")
1811 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1812 (license license:lgpl2.0+)))
1814 (define-public deja-dup
1820 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1821 version "/deja-dup-" version ".tar.bz2"))
1824 "0d1jnlxpk52x56aqxz1g2xb4y4sm24h08p2di8mc1k8n8b52rpi4"))))
1825 (build-system meson-build-system)
1830 ;; Otherwise, the RUNPATH will lack the final path component.
1831 (string-append "-Dc_link_args=-Wl,-rpath="
1832 (assoc-ref %outputs "out") "/lib/deja-dup"))
1834 (modify-phases %standard-phases
1835 (add-after 'unpack 'patch-paths
1836 (lambda* (#:key inputs #:allow-other-keys)
1837 (let ((python (assoc-ref inputs "python")))
1838 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1839 "libdeja/tests/scripts/instance-error.test")
1842 (substitute* "libdeja/tests/runner.vala"
1845 (substitute* "libdeja/tests/scripts/instance-error.test"
1846 (("`which python3`")
1847 (string-append python "/bin/python3"))))))
1848 (add-after 'unpack 'patch-libgpg-error
1849 (lambda* (#:key inputs #:allow-other-keys)
1850 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1851 (substitute* "meson.build"
1852 (("(gpgerror_libs = ).*" _ var)
1853 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1855 (add-after 'unpack 'skip-gtk-update-icon-cache
1856 ;; Don't create 'icon-theme.cache'.
1858 (substitute* "data/post-install.sh"
1859 (("gtk-update-icon-cache") "true"))
1861 (add-after 'install 'wrap-program
1862 (lambda* (#:key inputs outputs #:allow-other-keys)
1863 ;; Add duplicity to the search path
1864 (wrap-program (string-append (assoc-ref outputs "out")
1867 (,(string-append (assoc-ref inputs "duplicity") "/bin")))))))))
1869 `(("bash-minimal" ,bash-minimal)
1870 ("duplicity" ,duplicity)
1871 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1873 ("json-glib" ,json-glib)
1874 ("libgpg-error" ,libgpg-error)
1875 ("libnotify" ,libnotify)
1876 ("libsecret" ,libsecret)
1877 ("libsoup" ,libsoup-minimal-2)
1878 ("libhandy" ,libhandy)
1879 ("packagekit" ,packagekit)
1881 ("python-pygobject" ,python-pygobject)))
1883 `(("appstream-glib" ,appstream-glib)
1884 ("desktop-file-utils" ,desktop-file-utils)
1885 ("gettext" ,gettext-minimal)
1886 ("glib" ,glib "bin") ; for glib-compile-schemas.
1887 ("gobject-introspection" ,gobject-introspection)
1888 ("itstool" ,itstool)
1889 ("pkg-config" ,pkg-config)
1891 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1892 (synopsis "Simple backup tool, for regular encrypted backups")
1894 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1895 uses duplicity as the backend, which supports incremental backups and storage
1896 either on a local, or remote machine via a number of methods.")
1897 (license license:gpl3+)))
1899 (define-public gnome-commander
1901 (name "gnome-commander")
1906 (uri (string-append "mirror://gnome/sources/" name "/"
1907 (version-major+minor version) "/"
1908 "gnome-commander-" version ".tar.xz"))
1910 (base32 "0f7l2pkyh3r1qk4hhavl7387l3bq5my3snpdppiavcpnji28dpa5"))))
1911 (build-system glib-or-gtk-build-system)
1913 `(("desktop-file-utils" ,desktop-file-utils)
1914 ("gettext" ,gettext-minimal)
1915 ("glib:bin" ,glib "bin")
1916 ("gobject-introspection" ,gobject-introspection)
1917 ("googletest" ,googletest)
1918 ("intltool" ,intltool)
1919 ("itstool" ,itstool)
1920 ("libtool" ,libtool)
1921 ("pkg-config" ,pkg-config)))
1924 ("gnome-vfs" ,gnome-vfs)
1926 ("libxml2" ,libxml2)))
1927 (home-page "https://gcmd.github.io/")
1928 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1930 "GNOME Commander is a two-pane graphical file manager using GNOME
1931 libraries. It aims to fulfill the demands of more advanced users who
1932 like to focus on file management, their work through special applications
1933 and running smart commands.")
1934 (license license:gpl2+)))
1936 (define-public gnome-user-docs
1938 (name "gnome-user-docs")
1943 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1944 (version-major version)
1945 "/gnome-user-docs-" version ".tar.xz"))
1947 (base32 "0p6ysdqlfc7vvzsrcanl9bhsc7666sv42xxzpbgsf5j55z3yrkpr"))))
1948 (build-system gnu-build-system)
1950 `(("gettext" ,gettext-minimal)
1951 ("itstool" ,itstool)
1952 ("pkg-config" ,pkg-config)
1953 ("xmllint" ,libxml2)))
1954 (synopsis "User documentation for the GNOME desktop")
1956 "The GNOME User Documentation explains how to use the GNOME desktop and its
1957 components. It covers usage and setup of the core GNOME programs by end-users
1958 and system administrators.")
1959 (home-page "https://live.gnome.org/DocumentationProject")
1960 (license license:cc-by3.0)))
1963 ;; This version from GNOME's repository includes fixes for compiling with
1964 ;; recent versions of the build tools. The latest activity on the
1965 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1967 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1971 (version (git-version "0.97.3" revision commit))
1975 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1977 (file-name (git-file-name name version))
1980 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1981 (build-system meson-build-system)
1983 `(("graphene" ,graphene)
1985 ("libxml2" ,libxml2)
1986 ("libxslt" ,libxslt)
1987 ("poppler" ,poppler)
1988 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1989 ;; ERROR: Unknown method "dependency" in object.
1990 ("python-2" ,python-2)))
1992 `(("appstream-glib" ,appstream-glib)
1993 ("docbook-xsl" ,docbook-xsl)
1994 ("glib" ,glib "bin")
1995 ("intltool" ,intltool)
1996 ("pkg-config" ,pkg-config)))
1997 (home-page "https://wiki.gnome.org/Apps/Dia")
1998 (synopsis "Diagram creation for GNOME")
1999 (description "Dia can be used to draw different types of diagrams, and
2000 includes support for UML static structure diagrams (class diagrams), entity
2001 relationship modeling, and network diagrams. The program supports various file
2002 formats like PNG, SVG, PDF and EPS.")
2003 (license license:gpl2+))))
2005 (define-public libgdata
2011 (uri (string-append "mirror://gnome/sources/" name "/"
2012 (version-major+minor version) "/"
2013 name "-" version ".tar.xz"))
2016 "1iq4d1qy0vkmy29xvr13dgz4pxvn5v3yi2swryld0ajinvp951fx"))))
2017 (build-system meson-build-system)
2020 (modify-phases %standard-phases
2021 (add-before 'check 'set-home-for-tests
2023 (setenv "HOME" "/tmp"))))))
2025 `(("glib:bin" ,glib "bin")
2026 ("gobject-introspection" ,gobject-introspection)
2027 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2028 ("intltool" ,intltool)
2029 ("pkg-config" ,pkg-config)
2030 ("uhttpmock" ,uhttpmock)))
2032 `(("cyrus-sasl" ,cyrus-sasl)
2033 ("glib-networking" ,glib-networking)
2038 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2039 ("json-glib" ,json-glib)
2040 ("liboauth" ,liboauth)
2041 ("libsoup" ,libsoup-minimal-2)
2042 ("libxml2" ,libxml2)))
2043 (home-page "https://wiki.gnome.org/Projects/libgdata")
2044 (synopsis "Library for accessing online service APIs")
2046 "libgdata is a GLib-based library for accessing online service APIs using
2047 the GData protocol — most notably, Google's services. It provides APIs to
2048 access the common Google services, and has full asynchronous support.")
2049 (license license:lgpl2.1+)))
2051 (define-public libgxps
2057 (uri (string-append "mirror://gnome/sources/" name "/"
2058 (version-major+minor version) "/"
2059 name "-" version ".tar.xz"))
2062 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
2063 (build-system meson-build-system)
2065 `(("gobject-introspection" ,gobject-introspection)
2066 ("pkg-config" ,pkg-config)))
2069 ("libjpeg" ,libjpeg-turbo)
2071 ("libtiff" ,libtiff)))
2073 ;; In Requires of libgxps.pc.
2076 ("libarchive" ,libarchive)))
2077 (home-page "https://wiki.gnome.org/Projects/libgxps")
2078 (synopsis "GObject-based library for handling and rendering XPS documents")
2080 "libgxps is a GObject-based library for handling and rendering XPS
2081 documents. This package also contains binaries that can convert XPS documents
2083 (license license:lgpl2.1+)))
2085 (define-public gnome-characters
2087 (name "gnome-characters")
2092 (uri (string-append "mirror://gnome/sources/"
2093 "gnome-characters/" (version-major version)
2094 "/gnome-characters-" version ".tar.xz"))
2097 "0z2xa4w921bzpzj6gv88pvbrijcnnwni6jxynwz0ybaravyzaqha"))))
2098 (build-system meson-build-system)
2100 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
2102 #:phases (modify-phases %standard-phases
2103 (add-after 'install 'wrap
2104 (lambda* (#:key outputs #:allow-other-keys)
2105 ;; GNOME Characters needs Typelib files from GTK and
2107 (wrap-program (string-append (assoc-ref outputs "out")
2108 "/bin/gnome-characters")
2109 `("GI_TYPELIB_PATH" ":" prefix
2110 (,(getenv "GI_TYPELIB_PATH")))))))))
2112 `(("gettext" ,gettext-minimal)
2113 ("glib:bin" ,glib "bin")
2114 ("gtk+:bin" ,gtk+ "bin")
2115 ("pkg-config" ,pkg-config)
2116 ("python" ,python-minimal)))
2120 ("libhandy" ,libhandy)
2121 ("libunistring" ,libunistring)
2122 ("gnome-desktop" ,gnome-desktop)))
2123 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2124 (synopsis "Find and insert unusual characters")
2125 (description "Characters is a simple utility application to find
2126 and insert unusual characters. It allows you to quickly find the
2127 character you are looking for by searching for keywords.")
2128 (license license:bsd-3)))
2130 (define-public gnome-common
2132 (name "gnome-common")
2137 (uri (string-append "mirror://gnome/sources/" name "/"
2138 (version-major+minor version) "/"
2139 name "-" version ".tar.xz"))
2142 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2143 (build-system gnu-build-system)
2144 (home-page "https://www.gnome.org/")
2145 (synopsis "Bootstrap GNOME modules built from Git")
2146 (description "gnome-common contains various files needed to bootstrap
2147 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2148 can be used to configure a source directory checked out from Git and some
2149 commonly used macros.")
2150 (license license:gpl2+)))
2152 (define-public gnome-contacts
2154 (name "gnome-contacts")
2158 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2159 (version-major version) "/"
2160 name "-" version ".tar.xz"))
2163 "0w2g5xhw65adzvwzakrj5kaim4sw1w7s8qqwm3nm6inq50znzpn9"))))
2164 (build-system meson-build-system)
2166 `(#:configure-flags '("-Dcheese=disabled")
2168 (modify-phases %standard-phases
2169 (add-after 'unpack 'generate-vapis
2170 (lambda* (#:key inputs #:allow-other-keys)
2171 ;; To generate goa's missing .vapi file
2173 (assoc-ref inputs "gnome-online-accounts:lib"))
2175 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2177 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))))
2178 (add-after 'unpack 'skip-gtk-update-icon-cache
2179 ;; Don't create 'icon-theme.cache'.
2181 (substitute* "build-aux/meson_post_install.py"
2182 (("gtk-update-icon-cache") "true")))))))
2184 `(("docbook-xml" ,docbook-xml-4.2)
2185 ("docbook-xsl" ,docbook-xsl)
2186 ("glib:bin" ,glib "bin")
2187 ("pkg-config" ,pkg-config)))
2189 `(("docbook-xml" ,docbook-xml)
2190 ("dockbook-xsl" ,docbook-xsl)
2191 ("evolution-data-server" ,evolution-data-server)
2192 ("gettext" ,gettext-minimal)
2193 ("gnome-desktop" ,gnome-desktop)
2194 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2195 ("gobject-introspection" ,gobject-introspection)
2196 ("gst-plugins-base" ,gst-plugins-base)
2199 ("libhandy" ,libhandy)
2200 ("libxslt" ,libxslt)
2201 ("telepathy-glib" ,telepathy-glib)
2205 ("telepathy-mission-control" ,telepathy-mission-control)))
2206 (synopsis "GNOME's integrated address book")
2208 "GNOME Contacts organizes your contact information from online and
2209 offline sources, providing a centralized place for managing your contacts.")
2210 (home-page "https://wiki.gnome.org/Apps/Contacts")
2211 (license license:gpl2+)))
2213 (define-public gnome-desktop
2215 (name "gnome-desktop")
2220 (uri (string-append "mirror://gnome/sources/" name "/"
2221 (version-major version) "/"
2222 name "-" version ".tar.xz"))
2225 "1vs5knn2yj6a449p9bn5w5407i1yvxfxg8xv844qgl70hpsrdbl8"))))
2226 (build-system meson-build-system)
2229 (modify-phases %standard-phases
2230 (add-before 'configure 'patch-path
2231 (lambda* (#:key inputs #:allow-other-keys)
2232 (let ((libc (assoc-ref inputs "libc")))
2233 (substitute* "libgnome-desktop/gnome-languages.c"
2235 (string-append "\"" libc "/bin/locale\"")))
2237 (add-before 'configure 'patch-bubblewrap
2238 (lambda* (#:key inputs #:allow-other-keys)
2239 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2241 (string-append "\"" (which "bwrap") "\","))
2242 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2243 (string-append "\"--ro-bind\", \""
2248 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2250 (add-before 'check 'pre-check
2251 (lambda* (#:key inputs #:allow-other-keys)
2252 ;; Tests require a running X server and locales.
2253 (system "Xvfb :1 &")
2254 (setenv "DISPLAY" ":1")
2255 (setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
2256 (setenv "XDG_CONFIG_HOME" "/tmp")
2257 (setenv "GUIX_LOCPATH"
2258 (search-input-directory inputs
2261 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2262 ("glibc-locales" ,glibc-locales) ; for tests
2263 ("gobject-introspection" ,gobject-introspection)
2264 ("itstool" ,itstool)
2265 ("intltool" ,intltool)
2266 ("pkg-config" ,pkg-config)
2267 ("xmllint" ,libxml2)
2268 ("xorg-server" ,xorg-server-for-tests)))
2270 ;; Required by gnome-desktop-3.0.pc.
2271 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2273 ("iso-codes" ,iso-codes)
2274 ("libseccomp" ,libseccomp)
2276 ("xkeyboard-config" ,xkeyboard-config)))
2278 `(("gdk-pixbuf" ,gdk-pixbuf)
2280 ("bubblewrap" ,bubblewrap)
2281 ("libxext" ,libxext)
2282 ("libxkbfile" ,libxkbfile)
2283 ("libxrandr" ,libxrandr)))
2284 (home-page "https://www.gnome.org/")
2286 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2288 "The libgnome-desktop library provides API shared by several applications
2289 on the desktop, but that cannot live in the platform for various reasons.
2290 There is no API or ABI guarantee, although we are doing our best to provide
2291 stability. Documentation for the API is available with gtk-doc.
2293 The gnome-about program helps find which version of GNOME is installed.")
2294 ; Some bits under the LGPL.
2295 (license license:gpl2+)))
2297 (define-public gnome-doc-utils
2299 (name "gnome-doc-utils")
2304 (uri (string-append "mirror://gnome/sources/" name "/"
2305 (version-major+minor version) "/"
2306 name "-" version ".tar.xz"))
2309 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2310 (build-system gnu-build-system)
2312 `(("intltool" ,intltool)
2313 ("docbook-xml" ,docbook-xml-4.4)
2314 ("python2-libxml2" ,python2-libxml2)
2315 ("libxml2" ,libxml2)
2316 ("libxslt" ,libxslt)
2317 ("pkg-config" ,pkg-config)
2318 ("python-2" ,python-2)))
2319 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2321 "Documentation utilities for the Gnome project")
2323 "Gnome-doc-utils is a collection of documentation utilities for the
2324 Gnome project. It includes xml2po tool which makes it easier to translate
2325 and keep up to date translations of documentation.")
2326 (license license:gpl2+))) ; xslt under lgpl
2328 (define-public gnome-disk-utility
2330 (name "gnome-disk-utility")
2334 (uri (string-append "mirror://gnome/sources/" name "/"
2335 (version-major version) "/"
2336 name "-" version ".tar.xz"))
2339 "1rr1ypb89p51b6428yqvczmpmylwjfnhnkgx78hzm3vxm3m15lff"))))
2340 (build-system meson-build-system)
2342 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
2343 #:configure-flags '("-Dlogind=libelogind")
2345 (modify-phases %standard-phases
2346 (add-after 'unpack 'skip-gtk-update-icon-cache
2347 ;; Don't create 'icon-theme.cache'.
2349 (substitute* "meson_post_install.py"
2350 (("gtk-update-icon-cache") "true"))
2353 `(("glib:bin" ,glib "bin")
2354 ("intltool" ,intltool)
2355 ("pkg-config" ,pkg-config)
2356 ("docbook-xml" ,docbook-xml)
2357 ("docbook-xsl" ,docbook-xsl)
2358 ("libxml2" ,libxml2)
2359 ("libxslt" ,libxslt)))
2361 `(("elogind" ,elogind)
2363 ("appstream-glib" ,appstream-glib)
2364 ("gnome-settings-daemon" ,gnome-settings-daemon)
2366 ("libcanberra" ,libcanberra)
2367 ("libdvdread" ,libdvdread)
2368 ("libhandy" ,libhandy)
2369 ("libnotify" ,libnotify)
2370 ("libpwquality" ,libpwquality)
2371 ("libsecret" ,libsecret)
2372 ("udisks" ,udisks)))
2373 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2374 (synopsis "Disk management utility for GNOME")
2375 (description "Disk management utility for GNOME.")
2376 (license license:gpl2+)))
2378 (define-public gnome-font-viewer
2380 (name "gnome-font-viewer")
2384 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2385 (version-major version)
2386 "/gnome-font-viewer-" version ".tar.xz"))
2389 "0hpyi0sz3gcqqs9lkwyk8b6hr39m3n27432x98kxr436jj37dk6j"))))
2390 (build-system meson-build-system)
2392 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
2394 (modify-phases %standard-phases
2395 (add-after 'unpack 'patch-post-install-script
2397 (substitute* "meson-postinstall.sh"
2398 (("update-desktop-database") (which "true")))
2400 (add-after 'install 'patch-thumbnailer
2401 (lambda* (#:key outputs #:allow-other-keys)
2402 (let ((out (assoc-ref outputs "out")))
2406 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2407 (("gnome-thumbnail-font")
2408 (string-append out "/bin/gnome-thumbnail-font"))))
2411 `(("gettext" ,gettext-minimal)
2412 ("glib:bin" ,glib "bin")
2413 ("pkg-config" ,pkg-config)))
2416 ("gnome-desktop" ,gnome-desktop)
2418 ("libhandy" ,libhandy)
2419 ("libxml2" ,libxml2)))
2420 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2421 (synopsis "GNOME Fonts")
2422 (description "Application to show you the fonts installed on your computer
2423 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2424 the font would look under various sizes.")
2425 (license license:gpl2+)))
2433 (uri (string-append "mirror://gnome/sources/" name "/"
2434 (version-major+minor version) "/"
2435 name "-" version ".tar.xz"))
2438 "00fsf82ycac8qi0kkiq759p6jrn63pyz4ksn4wnq7m4ax94zq289"))))
2439 (build-system meson-build-system)
2442 (modify-phases %standard-phases
2443 ;; These fail because /var/lib/dbus/machine-id is not present in the
2444 ;; build environment.
2445 (add-after 'unpack 'disable-failing-tests
2447 (substitute* "gcr/meson.build"
2448 (("[[:blank:]]+'system-prompt',")
2451 (add-after 'unpack 'skip-gtk-update-icon-cache
2452 ;; Don't create 'icon-theme.cache'.
2454 (substitute* "meson_post_install.py"
2455 (("gtk-update-icon-cache") "true"))
2457 (add-after 'unpack 'fix-systemd-detection
2459 (substitute* "gcr/gcr-ssh-agent-service.c"
2460 (("#ifdef WITH_SYSTEMD")
2461 "#if (WITH_SYSTEMD)"))))
2462 (add-before 'check 'pre-check
2464 ;; Some tests expect to write to $HOME.
2465 (setenv "HOME" "/tmp")
2469 ("gnupg" ,gnupg) ;called as a child process during tests
2470 ("libgcrypt" ,libgcrypt)
2471 ("libsecret" ,libsecret)))
2473 `(("python" ,python-wrapper) ;for tests
2474 ("openssh" ,openssh) ;for tests
2475 ("pkg-config" ,pkg-config)
2476 ("gettext" ,gettext-minimal)
2477 ("autoconf" ,autoconf)
2478 ("automake" ,automake)
2479 ("libtool" ,libtool)
2480 ("gtk-doc" ,gtk-doc)
2481 ("glib" ,glib "bin")
2482 ("gobject-introspection" ,gobject-introspection)
2483 ("libxml2" ,libxml2)
2485 ("xsltproc" ,libxslt)))
2486 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2488 `(("p11-kit" ,p11-kit)
2491 (home-page "https://www.gnome.org")
2492 (synopsis "Libraries for displaying certificates and accessing key stores")
2494 "The GCR package contains libraries used for displaying certificates and
2495 accessing key stores. It also provides the viewer for crypto files on the
2497 (license license:lgpl2.1+)))
2506 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2507 (commit (string-append "GDL_" (string-map (match-lambda
2511 (file-name (git-file-name name version))
2514 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2515 (build-system gnu-build-system)
2517 `(("autoconf" ,autoconf)
2518 ("automake" ,automake)
2519 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2520 ("gnome-common" ,gnome-common)
2521 ("gtk-doc" ,gtk-doc/stable)
2522 ("intltool" ,intltool)
2523 ("pkg-config" ,pkg-config)
2524 ("libtool" ,libtool)
2527 `(("libxml2" ,libxml2)))
2529 ;; The gdl-3.0.pc file 'Requires' GTK+.
2531 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2532 (synopsis "GNOME docking library")
2533 (description "This library provides docking features for gtk+.")
2534 (license license:lgpl2.1+)))
2536 ;;; A minimal variant used to break a cycle with Inkscape.
2537 (define-public gdl-minimal
2538 (package/inherit gdl
2539 (name "gdl-minimal")
2542 (modify-phases %standard-phases
2543 (add-after 'unpack 'disable-doc-generation
2544 ;; XXX: There is no easy way to disable generating the
2547 (substitute* "configure.in"
2548 (("GTK_DOC_CHECK.*") "")
2550 (substitute* "Makefile.am"
2551 (("gdl docs po") "gdl po"))
2553 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2555 (define-public libgnome-keyring
2557 (name "libgnome-keyring")
2561 (uri (string-append "mirror://gnome/sources/" name "/"
2562 (version-major+minor version) "/"
2563 name "-" version ".tar.xz"))
2566 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2567 (build-system gnu-build-system)
2569 `(("libgcrypt" ,libgcrypt)
2572 `(("pkg-config" ,pkg-config)
2573 ("glib" ,glib "bin")
2574 ("intltool" ,intltool)))
2576 ;; Referred to in .h files and .pc.
2578 (home-page "https://www.gnome.org")
2579 (synopsis "Accessing passwords from the GNOME keyring")
2581 "Client library to access passwords from the GNOME keyring.")
2583 ;; Though a couple of files are LGPLv2.1+.
2584 (license license:lgpl2.0+)))
2586 (define-public gnome-keyring
2588 (name "gnome-keyring")
2592 (uri (string-append "mirror://gnome/sources/" name "/"
2593 (version-major version) "/"
2594 name "-" version ".tar.xz"))
2597 "0cdrlcw814zayhvlaxqs1sm9bqlfijlp22dzzd0g5zg2isq4vlm3"))))
2598 (build-system gnu-build-system)
2600 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2604 (string-append "--with-pkcs11-config="
2605 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2606 (string-append "--with-pkcs11-modules="
2607 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2609 (modify-phases %standard-phases
2610 (add-after 'unpack 'fix-/bin/sh-reference
2612 (substitute* "po/Makefile.in.in"
2613 (("/bin/sh") (which "sh")))
2615 (add-after 'unpack 'fix-docbook
2616 (lambda* (#:key inputs #:allow-other-keys)
2617 (substitute* "docs/Makefile.am"
2618 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2619 (string-append (assoc-ref inputs "docbook-xsl")
2620 "/xml/xsl/docbook-xsl-"
2621 ,(package-version docbook-xsl)
2622 "/manpages/docbook.xsl")))
2623 (setenv "XML_CATALOG_FILES"
2624 (string-append (assoc-ref inputs "docbook-xml")
2625 "/xml/dtd/docbook/catalog.xml"))
2626 ;; Rerun the whole thing to avoid version mismatch ("This is
2627 ;; Automake 1.15.1, but the definition used by this
2628 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2629 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2632 (invoke "automake" "-ac"))))))
2634 `(("libgcrypt" ,libgcrypt)
2635 ("linux-pam" ,linux-pam)
2636 ("openssh" ,openssh)
2640 `(("pkg-config" ,pkg-config)
2641 ("glib" ,glib "bin")
2642 ("glib" ,glib) ; for m4 macros
2643 ("python" ,python-2) ;for tests
2644 ("intltool" ,intltool)
2645 ("autoconf" ,autoconf)
2646 ("automake" ,automake)
2647 ("libxslt" ,libxslt) ;for documentation
2648 ("docbook-xml" ,docbook-xml-4.3)
2649 ("docbook-xsl" ,docbook-xsl)))
2652 (home-page "https://www.gnome.org")
2653 (synopsis "Daemon to store passwords and encryption keys")
2655 "gnome-keyring is a program that keeps passwords and other secrets for
2656 users. It is run as a daemon in the session, similar to ssh-agent, and other
2657 applications locate it via an environment variable or D-Bus.
2659 The program can manage several keyrings, each with its own master password,
2660 and there is also a session keyring which is never stored to disk, but
2661 forgotten when the session ends.")
2662 (license license:lgpl2.1+)))
2664 (define-public evince
2670 (uri "mirror://gnome/sources/evince/40/evince-40.2.tar.xz")
2673 "0xrwls1bhvny8vvd7mfjy9p26zjch0pd6x6j9jn9g2ka6xwyrxqg"))))
2674 (build-system meson-build-system)
2676 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
2678 #:build-type "release"
2680 '("-Dnautilus=false"
2681 "-Dintrospection=true"
2682 ;; XXX: Generating the documentation fails because the
2683 ;; libevdocument.devhelp document cannot be created. This seems to be
2684 ;; caused by a problem during the XSL transformation.
2687 (modify-phases %standard-phases
2688 (add-after 'unpack 'skip-gtk-update-icon-cache
2689 ;; Don't create 'icon-theme.cache'.
2691 (substitute* "meson_post_install.py"
2692 (("gtk-update-icon-cache") "true"))
2695 `(("libarchive" ,libarchive)
2696 ("libgxps" ,libgxps)
2697 ("libspectre" ,libspectre)
2698 ("djvulibre" ,djvulibre)
2699 ("ghostscript" ,ghostscript)
2700 ("poppler" ,poppler)
2701 ("libtiff" ,libtiff)
2702 ("texlive-libkpathsea" ,texlive-libkpathsea) ; for DVI support
2703 ("gnome-desktop" ,gnome-desktop)
2704 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2706 ("libgnome-keyring" ,libgnome-keyring)
2707 ("adwaita-icon-theme" ,adwaita-icon-theme)
2708 ("gdk-pixbuf" ,gdk-pixbuf)
2713 ("libxml2" ,libxml2)
2716 ("shared-mime-info" ,shared-mime-info)
2718 ("libcanberra" ,libcanberra)
2719 ("libsecret" ,libsecret)
2720 ("libhandy" ,libhandy)))
2722 `(("itstool" ,itstool)
2723 ("intltool" ,intltool)
2724 ("glib" ,glib "bin")
2725 ("gobject-introspection" ,gobject-introspection)
2726 ("pkg-config" ,pkg-config)
2727 ("xmllint" ,libxml2)))
2728 (home-page "https://www.gnome.org/projects/evince/")
2729 (synopsis "GNOME's document viewer")
2731 "Evince is a document viewer for multiple document formats. It
2732 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2733 of Evince is to replace the multiple document viewers that exist
2734 on the GNOME Desktop with a single simple application.")
2735 (license license:gpl2+)))
2737 (define-public gsettings-desktop-schemas
2739 (name "gsettings-desktop-schemas")
2744 (uri (string-append "mirror://gnome/sources/" name "/"
2745 (version-major version) "/"
2746 name "-" version ".tar.xz"))
2749 "1v9jagk679m01nji0acirynxinziv036618c7xc49l4nwmr9ja3p"))))
2750 (build-system meson-build-system)
2752 '(#:phases (modify-phases %standard-phases
2753 (add-after 'unpack 'patch-schemas
2754 (lambda* (#:key inputs #:allow-other-keys)
2755 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2756 (substitute* (find-files "schemas"
2757 "\\.gschema\\.xml\\.in$")
2758 ;; Provide the correct file name of the default
2759 ;; GNOME background, 'adwaita-timed.xml'.
2760 (("@datadir@/backgrounds/gnome")
2761 (string-append theme "/share/backgrounds/gnome"))
2762 ;; Do not reference fonts, that may not exist.
2763 (("'Source Code Pro 10'") "'Monospace 11'"))))))))
2766 ("gnome-backgrounds" ,gnome-backgrounds)))
2768 `(("gettext" ,gettext-minimal)
2769 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2770 ("gobject-introspection" ,gobject-introspection)
2771 ("pkg-config" ,pkg-config)))
2772 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2773 (synopsis "GNOME settings for various desktop components")
2774 (description "Gsettings-desktop-schemas contains a collection of GSettings
2775 schemas for settings shared by various components of the GNOME desktop.")
2776 (license license:lgpl2.1+)))
2778 (define-public python-liblarch
2780 (name "python-liblarch")
2786 (url "https://github.com/getting-things-gnome/liblarch")
2787 (commit (string-append "v" version))))
2788 (file-name (git-file-name name version))
2790 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2791 (build-system python-build-system)
2794 (modify-phases %standard-phases
2795 (add-before 'check 'start-xserver
2796 (lambda* (#:key inputs #:allow-other-keys)
2797 (system (format #f "~a/bin/Xvfb :1 &"
2798 (assoc-ref inputs "xorg-server")))
2799 (setenv "DISPLAY" ":1")
2802 `(("xorg-server" ,xorg-server-for-tests)))
2806 `(("python-pygobject" ,python-pygobject)))
2807 (home-page "https://wiki.gnome.org/Projects/liblarch")
2808 (synopsis "Library to easily handle complex data structures")
2810 "Liblarch is a Python library built to easily handle data structures such
2811 as lists, trees and acyclic graphs. There's also a GTK binding that will
2812 allow you to use your data structure in a @code{Gtk.Treeview}.
2814 Liblarch support multiple views of one data structure and complex filtering.
2815 That way, you have a clear separation between your data themselves (Model)
2816 and how they are displayed (View).")
2817 (license license:lgpl3+)))
2827 (url "https://github.com/getting-things-gnome/gtg")
2828 (commit (string-append "v" version))))
2829 (file-name (git-file-name name version))
2831 (base32 "0b2slm7kjq6q8c7v4m7aqc8m1ynjxn3bl7445srpv1xc0dilq403"))))
2832 (build-system meson-build-system)
2836 (modify-phases %standard-phases
2837 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2838 (lambda* (#:key outputs #:allow-other-keys)
2839 (let ((prog (string-append (assoc-ref outputs "out")
2841 (pylib (string-append (assoc-ref outputs "out")
2843 ,(version-major+minor
2844 (package-version python))
2847 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
2848 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2851 `(("desktop-file-utils" ,desktop-file-utils)
2852 ("gettext" ,gettext-minimal)
2853 ("glib:bin" ,glib "bin")
2854 ("gobject-introspection" ,gobject-introspection)
2855 ("gtk+:bin" ,gtk+ "bin")
2856 ("pkg-config" ,pkg-config)))
2858 `(("librsvg" ,librsvg)
2859 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2862 ("python-dbus" ,python-dbus)
2863 ("python-liblarch" ,python-liblarch)
2864 ("python-lxml" ,python-lxml)
2865 ("python-pycairo" ,python-pycairo)
2866 ("python-pygobject" ,python-pygobject)
2867 ("python-pyxdg" ,python-pyxdg)))
2868 (home-page "https://wiki.gnome.org/Apps/GTG")
2869 (synopsis "Personal organizer for the GNOME desktop")
2871 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2872 organizer for the GNOME desktop environment inspired by the Getting Things
2873 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2874 and ease of use in mind so it can be used as more than just GTD software.
2875 GTG is intended to help you track everything you need to do and need to
2876 know, from small tasks to large projects.")
2877 (license license:gpl3+)))
2879 (define-public icon-naming-utils
2881 (name "icon-naming-utils")
2886 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2887 version ".tar.bz2"))
2890 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2891 (build-system gnu-build-system)
2894 ("perl-xml-simple" ,perl-xml-simple)))
2897 (modify-phases %standard-phases
2898 (add-after 'install 'set-load-paths
2899 ;; Tell 'icon-name-mapping' where XML::Simple is.
2900 (lambda* (#:key outputs #:allow-other-keys)
2901 (let* ((out (assoc-ref outputs "out"))
2902 (prog (string-append out "/libexec/icon-name-mapping")))
2905 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2907 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2909 "Utility to implement the Freedesktop Icon Naming Specification")
2911 "To help with the transition to the Freedesktop Icon Naming
2912 Specification, the icon naming utility maps the icon names used by the
2913 GNOME and KDE desktops to the icon names proposed in the specification.")
2914 (license license:lgpl2.1+)))
2916 (define-public gnome-icon-theme
2918 (name "gnome-icon-theme")
2923 (uri (string-append "mirror://gnome/sources/" name "/"
2924 (version-major+minor version) "/"
2925 name "-" version ".tar.xz"))
2928 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2929 (build-system gnu-build-system)
2932 ;; Don't create 'icon-theme.cache'.
2933 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2934 (true (string-append coreutils "/bin/true")))
2935 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2937 `(("icon-naming-utils" ,icon-naming-utils)
2938 ("intltool" ,intltool)
2939 ("pkg-config" ,pkg-config)))
2940 (home-page "https://wiki.gnome.org/Personalization")
2941 (synopsis "GNOME icon theme")
2942 (description "Icons for the GNOME desktop.")
2943 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2945 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2946 (define-public adwaita-icon-theme
2947 (package/inherit gnome-icon-theme
2948 (name "adwaita-icon-theme")
2952 (uri (string-append "mirror://gnome/sources/" name "/"
2953 (version-major version) "/"
2954 name "-" version ".tar.xz"))
2957 "1xpqa1rgmixlp953938d08xvf7kv36h747ysial8g65dsrp46v0b"))))
2959 ;; The following requires the SVG pixbuf loader, provided by librsvg,
2960 ;; available on x86_64 only.
2961 `(,@(if (target-64bit?)
2962 `(("gtk-encode-symbolic-svg" ,gtk+ "bin"))
2965 (define-public tango-icon-theme
2967 (name "tango-icon-theme")
2971 (uri (string-append "http://tango.freedesktop.org/releases/"
2972 "tango-icon-theme-" version ".tar.bz2"))
2975 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2976 (build-system gnu-build-system)
2978 `(("icon-naming-utils" ,icon-naming-utils)
2979 ("intltool" ,intltool)
2980 ("imagemagick" ,imagemagick)
2981 ("pkg-config" ,pkg-config)))
2982 (home-page "http://tango-project.org/")
2983 (synopsis "Tango icon theme")
2984 (description "This is an icon theme that follows the Tango visual
2986 (license license:public-domain)))
2988 (define-public shared-mime-info
2990 (name "shared-mime-info")
2995 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2996 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
3000 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
3001 (build-system gnu-build-system)
3003 ;; The build system appears not to be parallel-safe.
3004 '(#:parallel-build? #f))
3007 ("libxml2" ,libxml2)))
3009 `(("gettext" ,gettext-minimal)
3010 ("itstool" ,itstool)
3011 ("pkg-config" ,pkg-config)))
3012 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
3013 (synopsis "Database of common MIME types")
3015 "The shared-mime-info package contains the core database of common types
3016 and the update-mime-database command used to extend it. It requires glib2 to
3017 be installed for building the update command. Additionally, it uses intltool
3018 for translations, though this is only a dependency for the maintainers. This
3019 database is translated at Transifex.")
3020 (license license:gpl2+)))
3022 (define-public system-config-printer
3024 (name "system-config-printer")
3030 "https://github.com/OpenPrinting/system-config-printer/releases/"
3031 "download/v" version
3032 "/system-config-printer-" version ".tar.xz"))
3034 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
3035 (build-system glib-or-gtk-build-system)
3037 `(#:imported-modules ((guix build python-build-system)
3038 ,@%glib-or-gtk-build-system-modules)
3040 (modify-phases %standard-phases
3041 (add-after 'unpack 'patch-Makefile.am
3043 ;; The Makefile generates some scripts, so set a valid shebang
3044 (substitute* "Makefile.am"
3045 (("/bin/bash") (which "bash")))
3046 (delete-file "configure")
3048 (add-after 'unpack 'patch-docbook-xml
3049 (lambda* (#:key inputs #:allow-other-keys)
3050 ;; Modify the man XML otherwise xmlto tries to access the network
3051 (substitute* "man/system-config-printer.xml"
3052 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
3053 (string-append (assoc-ref inputs "docbook-xml")
3054 "/xml/dtd/docbook/")))
3056 (add-after 'install 'wrap-for-python
3057 (@@ (guix build python-build-system) wrap))
3058 (add-after 'install 'wrap
3059 (lambda* (#:key outputs #:allow-other-keys)
3060 (let ((out (assoc-ref outputs "out"))
3061 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
3064 (wrap-program program
3065 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
3067 (string-append out "/bin/" name))
3068 '("system-config-printer"
3069 "system-config-printer-applet"
3070 "install-printerdriver"
3071 "scp-dbus-service"))))
3074 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3075 ("gobject-introspection" ,gobject-introspection)
3079 ("python-dbus" ,python-dbus)
3080 ("python-pygobject" ,python-pygobject)
3081 ("python-pycups" ,python-pycups)
3082 ("python-requests" ,python-requests)
3083 ("python-pycairo" ,python-pycairo)
3084 ("libnotify" ,libnotify)
3085 ("packagekit" ,packagekit)))
3087 `(("pkg-config" ,pkg-config)
3088 ("desktop-file-utils" ,desktop-file-utils)
3090 ("autoconf" ,autoconf)
3091 ("automake" ,automake)
3092 ("intltool" ,intltool)
3094 ("docbook-xml" ,docbook-xml-4.1.2)
3095 ("docbook-xsl" ,docbook-xsl)
3096 ("libxml2" ,libxml2)))
3097 (home-page "https://github.com/zdohnal/system-config-printer")
3098 (synopsis "CUPS administration tool")
3100 "system-config-printer is a CUPS administration tool. It's written in
3101 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
3103 (license license:gpl2+)))
3105 (define-public hicolor-icon-theme
3107 (name "hicolor-icon-theme")
3112 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3113 "hicolor-icon-theme-" version ".tar.xz"))
3116 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3117 (build-system gnu-build-system)
3119 `(#:tests? #f)) ; no check target
3120 (home-page "https://icon-theme.freedesktop.org/releases/")
3122 "Freedesktop icon theme")
3124 "Freedesktop icon theme.")
3125 (license license:gpl2)))
3127 (define-public libnotify
3134 (uri (string-append "mirror://gnome/sources/" name "/"
3135 (version-major+minor version) "/"
3136 name "-" version ".tar.xz"))
3139 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3140 (build-system meson-build-system)
3143 (modify-phases %standard-phases
3144 (add-after 'unpack 'fix-docbook
3145 (lambda* (#:key inputs #:allow-other-keys)
3146 ;; Don't attempt to download XSL schema.
3147 (substitute* "meson.build"
3148 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3149 /manpages/docbook.xsl")
3150 (string-append (assoc-ref inputs "docbook-xsl")
3151 "/xml/xsl/docbook-xsl-"
3152 ,(package-version docbook-xsl)
3153 "/manpages/docbook.xsl")))
3156 `(;; In Requires of libnotify.pc.
3157 ("gdk-pixbuf" ,gdk-pixbuf)
3161 ("libpng" ,libpng)))
3163 `(("pkg-config" ,pkg-config)
3164 ("glib" ,glib "bin")
3165 ("gobject-introspection" ,gobject-introspection)
3167 ;; For the documentation.
3168 ("gtk-doc" ,gtk-doc/stable)
3169 ("xsltproc" ,libxslt)
3170 ("docbook-xsl" ,docbook-xsl)))
3171 (home-page "https://developer-next.gnome.org/libnotify/")
3173 "GNOME desktop notification library")
3175 "Libnotify is a library that sends desktop notifications to a
3176 notification daemon, as defined in the Desktop Notifications spec. These
3177 notifications can be used to inform the user about an event or display
3178 some form of information without getting in the user's way.")
3179 (license license:lgpl2.1+)))
3181 (define-public libpeas
3188 (uri (string-append "mirror://gnome/sources/" name "/"
3189 (version-major+minor version) "/"
3190 name "-" version ".tar.xz"))
3193 "18xrk1c1ixlhkmykcfiafrl2am470ws687xqvjlq40zwkcp5dx8b"))))
3194 (build-system meson-build-system)
3197 (modify-phases %standard-phases
3198 (add-before 'check 'start-xserver
3199 (lambda* (#:key inputs #:allow-other-keys)
3200 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3202 (setenv "DISPLAY" disp)
3203 (setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
3204 (setenv "XDG_CONFIG_HOME" "/tmp")
3205 ;; Tests require a running X server.
3206 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3212 ("python-pygobject" ,python-pygobject)))
3214 `(("pkg-config" ,pkg-config)
3215 ("gettext" ,gettext-minimal)
3216 ("glib:bin" ,glib "bin")
3217 ("gobject-introspection" ,gobject-introspection)
3218 ("xorg-server" ,xorg-server-for-tests)))
3220 ;; The .pc file "Requires" gobject-introspection.
3221 `(("gobject-introspection" ,gobject-introspection)))
3222 (home-page "https://wiki.gnome.org/Libpeas")
3223 (synopsis "GObject plugin system")
3225 "Libpeas is a gobject-based plugin engine, targeted at giving every
3226 application the chance to assume its own extensibility. It also has a set of
3227 features including, but not limited to: multiple extension points; on-demand
3228 (lazy) programming language support for C, Python and JS; simplicity of the
3230 (license license:lgpl2.0+)))
3232 (define-public gtkglext
3238 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3239 version "/gtkglext-" version ".tar.gz"))
3241 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3242 (patches (search-patches
3243 "gtkglext-disable-disable-deprecated.patch"))))
3244 (build-system gnu-build-system)
3247 (modify-phases %standard-phases
3248 ;; Fix a collision between a local variable and a definition from
3249 ;; glibc's string.h.
3250 (add-after 'unpack 'fix-collision
3252 (substitute* "gdk/gdkglshapes.c"
3253 ((" index") " triangle_index"))
3255 (inputs `(("gtk+" ,gtk+-2)
3260 (native-inputs `(("pkg-config" ,pkg-config)
3261 ("glib" ,glib "bin")))
3262 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3263 (home-page "https://projects.gnome.org/gtkglext")
3264 (synopsis "OpenGL extension to GTK+")
3265 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3266 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3267 API add-ons to make GTK+ widgets OpenGL-capable.")
3268 (license license:lgpl2.1+)))
3270 (define-public glade3
3276 (uri (string-append "mirror://gnome/sources/" name "/"
3277 (version-major+minor version) "/"
3278 name "-" version ".tar.xz"))
3281 "1dxsiz9ahqkxg2a1dw9sbd8jg59y5pdz4c1gvnbmql48gmj8gz4q"))
3282 (patches (search-patches
3283 "glade-gls-set-script-name.patch"
3284 "glade-test-widget-null-icon.patch"))))
3285 (build-system meson-build-system)
3287 `(#:meson ,meson-0.59
3289 (modify-phases %standard-phases
3290 (add-after 'unpack 'skip-gtk-update-icon-cache
3291 ;; Don't create 'icon-theme.cache'.
3293 (substitute* "meson_post_install.py"
3294 (("gtk-update-icon-cache") "true"))))
3295 (add-before 'configure 'fix-docbook
3296 (lambda* (#:key inputs #:allow-other-keys)
3297 (substitute* "man/meson.build"
3298 (("http://docbook.sourceforge.net/release/xsl/\
3299 current/manpages/docbook.xsl")
3300 (string-append (assoc-ref inputs "docbook-xsl")
3301 "/xml/xsl/docbook-xsl-"
3302 ,(package-version docbook-xsl)
3303 "/manpages/docbook.xsl")))))
3304 (add-before 'check 'pre-check
3306 (setenv "HOME" "/tmp")
3307 ;; Tests require a running X server.
3308 (system "Xvfb :1 &")
3309 (setenv "DISPLAY" ":1"))))))
3312 ("libxml2" ,libxml2)))
3314 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3315 ("intltool" ,intltool)
3316 ("itstool" ,itstool)
3317 ("libxslt" ,libxslt) ;for xsltproc
3318 ("docbook-xml" ,docbook-xml-4.2)
3319 ("docbook-xsl" ,docbook-xsl)
3320 ("glib:bin" ,glib "bin")
3321 ("python-pygobject" ,python-pygobject)
3322 ("gobject-introspection" ,gobject-introspection)
3324 ("pkg-config" ,pkg-config)
3325 ("xorg-server" ,xorg-server-for-tests)))
3326 (home-page "https://glade.gnome.org")
3327 (synopsis "GTK+ rapid application development tool")
3328 (description "Glade is a rapid application development (RAD) tool to
3329 enable quick & easy development of user interfaces for the GTK+ toolkit and
3330 the GNOME desktop environment.")
3331 (license license:lgpl2.0+)
3332 (native-search-paths (list (search-path-specification
3333 (variable "GLADE_CATALOG_SEARCH_PATH")
3334 (files '("share/glade/catalogs")))
3335 (search-path-specification
3336 (variable "GLADE_MODULE_SEARCH_PATH")
3337 (files '("lib/glade/modules")))))))
3339 (define-public libcroco
3345 (uri (string-append "mirror://gnome/sources/" name "/"
3346 (version-major+minor version) "/"
3347 name "-" version ".tar.xz"))
3348 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3351 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3352 (build-system gnu-build-system)
3354 `(("pkg-config" ,pkg-config)))
3357 ("libxml2" ,libxml2)
3359 (home-page "https://github.com/GNOME/libcroco")
3360 (synopsis "CSS2 parsing and manipulation library")
3362 "Libcroco is a standalone CSS2 parsing and manipulation library.
3363 The parser provides a low level event driven SAC-like API and a CSS object
3364 model like API. Libcroco provides a CSS2 selection engine and an experimental
3365 XML/CSS rendering engine.")
3368 (license license:lgpl2.1)))
3370 (define-public libgsf
3376 (uri (string-append "mirror://gnome/sources/" name "/"
3377 (version-major+minor version) "/"
3378 name "-" version ".tar.xz"))
3381 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3382 (build-system glib-or-gtk-build-system)
3383 (outputs '("out" "bin" "doc"))
3388 "--enable-introspection"
3389 (string-append "--with-gir-dir="
3390 (assoc-ref %outputs "out")
3393 (package-version gobject-introspection))
3395 (string-append "--with-typelib-dir="
3396 (assoc-ref %outputs "out")
3397 "/lib/girepository-"
3399 (package-version gobject-introspection))
3401 (string-append "--with-html-dir="
3402 (assoc-ref %outputs "doc")
3403 "/share/gtk-doc/html")
3407 (modify-phases %standard-phases
3408 (add-after 'unpack 'patch-docbook-xml
3409 (lambda* (#:key inputs #:allow-other-keys)
3410 (with-directory-excursion "doc"
3411 (substitute* "gsf-docs.xml"
3412 (("http://www.oasis-open.org/docbook/xml/4.5/")
3413 (string-append (assoc-ref inputs "docbook-xml")
3414 "/xml/dtd/docbook/"))))
3417 `(("docbook-xml" ,docbook-xml)
3418 ("gettext" ,gettext-minimal)
3419 ("gobject-introspection" ,gobject-introspection)
3421 ("perl-xml-parser" ,perl-xml-parser)
3422 ("pkg-config" ,pkg-config)
3423 ("python" ,python-wrapper)))
3426 ("gdk-pixbuf" ,gdk-pixbuf)
3430 ("libxml2" ,libxml2)))
3431 (synopsis "G Structured File Library")
3432 (description "Libgsf aims to provide an efficient extensible I/O abstraction
3433 for dealing with different structured file formats.")
3434 (home-page "https://gitlab.gnome.org/GNOME/libgsf")
3440 license:lgpl2.0+))))
3442 (define-public librsvg
3448 (uri (string-append "mirror://gnome/sources/librsvg/"
3449 (version-major+minor version) "/"
3450 "librsvg-" version ".tar.xz"))
3453 "1g3f8byg5w08fx1bka12mmpl59v6a4q2p827w6m2la6mijq63yzz"))
3454 (modules '((guix build utils)))
3456 '(begin (delete-file-recursively "vendor")))))
3457 (build-system cargo-build-system)
3458 (outputs '("out" "doc" "debug"))
3460 `(#:install-source? #f
3462 ((guix build cargo-build-system)
3464 ((guix build gnu-build-system) #:prefix gnu:))
3466 (("rust-bitflags" ,rust-bitflags-1)
3467 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3468 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3469 ("rust-cast" ,rust-cast-0.2)
3470 ("rust-cssparser" ,rust-cssparser-0.27)
3471 ("rust-data-url" ,rust-data-url-0.1)
3472 ("rust-encoding" ,rust-encoding-0.2)
3473 ("rust-float-cmp" ,rust-float-cmp-0.8)
3474 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3475 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3476 ("rust-gio" ,rust-gio-0.8)
3477 ("rust-gio-sys" ,rust-gio-sys-0.9)
3478 ("rust-glib" ,rust-glib-0.9)
3479 ("rust-glib-sys" ,rust-glib-sys-0.9)
3480 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3481 ("rust-itertools" ,rust-itertools-0.9)
3482 ("rust-language-tags" ,rust-language-tags-0.2)
3483 ("rust-libc" ,rust-libc-0.2)
3484 ("rust-locale-config" ,rust-locale-config-0.3)
3485 ("rust-markup5ever" ,rust-markup5ever-0.10)
3486 ("rust-nalgebra" ,rust-nalgebra-0.21)
3487 ("rust-num-traits" ,rust-num-traits-0.2)
3488 ("rust-once-cell" ,rust-once-cell-1)
3489 ("rust-pkg-config" ,rust-pkg-config-0.3)
3490 ("rust-pango" ,rust-pango-0.8)
3491 ("rust-pango-sys" ,rust-pango-sys-0.9)
3492 ("rust-pangocairo" ,rust-pangocairo-0.9)
3493 ("rust-rayon" ,rust-rayon-1)
3494 ("rust-rctree" ,rust-rctree-0.3)
3495 ("rust-rgb" ,rust-rgb-0.8)
3496 ("rust-regex" ,rust-regex-1)
3497 ("rust-selectors" ,rust-selectors-0.22)
3498 ("rust-string-cache" ,rust-string-cache-0.8)
3499 ("rust-tinyvec" ,rust-tinyvec-0.3)
3500 ("rust-url" ,rust-url-2)
3501 ("rust-xml5ever" ,rust-xml5ever-0.16))
3502 #:cargo-development-inputs
3503 (("rust-assert-cmd" ,rust-assert-cmd-1)
3504 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3505 ("rust-chrono" ,rust-chrono-0.4)
3506 ("rust-criterion" ,rust-criterion-0.3)
3507 ("rust-float-cmp" ,rust-float-cmp-0.8)
3508 ("rust-lopdf" ,rust-lopdf-0.26)
3509 ("rust-png" ,rust-png-0.16)
3510 ("rust-predicates" ,rust-predicates-1)
3511 ("rust-tempfile" ,rust-tempfile-3))
3513 (modify-phases %standard-phases
3514 (add-after 'unpack 'patch-docbook-xml
3515 (lambda* (#:key inputs #:allow-other-keys)
3516 (with-directory-excursion "doc"
3517 (substitute* "rsvg-docs.xml"
3518 (("http://www.oasis-open.org/docbook/xml/4.3/")
3519 (string-append (assoc-ref inputs "docbook-xml")
3520 "/xml/dtd/docbook/"))))))
3521 (add-after 'unpack 'prepare-for-build
3523 ;; In lieu of #:make-flags
3524 (setenv "CC" ,(cc-for-target))
3525 ;; Something about the build environment resists building
3526 ;; successfully with the '--locked' flag.
3527 (substitute* '("Makefile.am" "Makefile.in")
3528 (("--locked") ""))))
3529 (add-before 'configure 'pre-configure
3530 (lambda* (#:key outputs #:allow-other-keys)
3531 (substitute* "gdk-pixbuf-loader/Makefile.in"
3532 ;; By default the gdk-pixbuf loader is installed under
3533 ;; gdk-pixbuf's prefix. Work around that.
3534 (("gdk_pixbuf_moduledir = .*$")
3535 (string-append "gdk_pixbuf_moduledir = "
3537 ,(dirname %gdk-pixbuf-loaders-cache-file) "/"
3539 (substitute* "configure"
3540 (("gdk_pixbuf_cache_file=.*")
3541 (string-append "gdk_pixbuf_cache_file="
3542 (assoc-ref outputs "out") "/"
3543 ,%gdk-pixbuf-loaders-cache-file "\n")))))
3544 (add-after 'configure 'gnu-configure
3545 (lambda* (#:key outputs #:allow-other-keys #:rest args)
3546 (apply (assoc-ref gnu:%standard-phases 'configure)
3548 (list "--disable-static"
3550 (string-append "--with-html-dir="
3551 (assoc-ref outputs "doc")
3552 "/share/gtk-doc/html"))
3554 (add-after 'configure 'dont-vendor-self
3555 (lambda* (#:key vendor-dir #:allow-other-keys)
3556 ;; Don't keep the whole tarball in the vendor directory
3557 (delete-file-recursively
3558 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))))
3560 (assoc-ref gnu:%standard-phases 'build))
3561 (add-before 'check 'ignore-failing-tests
3562 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3564 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3565 (("fn background_color_option_invalid_color_yields_error" all)
3566 (string-append "#[ignore] " all))
3567 (("fn empty_input_yields_error" all)
3568 (string-append "#[ignore] " all))
3569 (("fn empty_svg_yields_error" all)
3570 (string-append "#[ignore] " all))
3571 (("fn env_source_data_epoch_empty" all)
3572 (string-append "#[ignore] " all))
3573 (("fn env_source_data_epoch_no_digits" all)
3574 (string-append "#[ignore] " all))
3575 (("fn env_source_data_epoch_trailing_garbage" all)
3576 (string-append "#[ignore] " all))
3577 (("fn export_id_option_error" all)
3578 (string-append "#[ignore] " all))
3579 (("fn huge_zoom_factor_yields_error" all)
3580 (string-append "#[ignore] " all))
3581 (("fn multiple_input_files_not_allowed_for_png_output" all)
3582 (string-append "#[ignore] " all))
3583 (("fn stylesheet_option_error" all)
3584 (string-append "#[ignore] " all)))))
3587 ((assoc-ref gnu:%standard-phases 'check)
3588 #:test-target "check")))
3590 (assoc-ref gnu:%standard-phases 'install)))))
3592 `(("docbook-xml" ,docbook-xml-4.3)
3593 ("glib" ,glib "bin")
3594 ("gobject-introspection" ,gobject-introspection)
3595 ("pkg-config" ,pkg-config)
3596 ("python" ,python-wrapper)
3601 ("fontconfig" ,fontconfig)
3602 ("freetype" ,freetype)
3603 ("harfbuzz" ,harfbuzz)
3604 ("libcroco" ,libcroco)
3606 ("libxml2" ,libxml2)
3610 ("gdk-pixbuf" ,gdk-pixbuf)
3612 (synopsis "SVG rendering library")
3613 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3614 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3615 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3617 (home-page "https://wiki.gnome.org/LibRsvg")
3618 (license license:lgpl2.1+)))
3620 (define-public librsvg-2.40
3621 ;; This is the last version implemented in C.
3627 (uri (string-append "mirror://gnome/sources/librsvg/"
3628 (version-major+minor version)
3629 "/librsvg-" version ".tar.xz"))
3632 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3633 (build-system gnu-build-system)
3635 `(#:configure-flags (list "--disable-static")
3637 (modify-phases %standard-phases
3638 (add-before 'configure 'pre-configure
3639 (lambda* (#:key inputs #:allow-other-keys)
3640 (substitute* "gdk-pixbuf-loader/Makefile.in"
3641 ;; By default the gdk-pixbuf loader is installed under
3642 ;; gdk-pixbuf's prefix. Work around that.
3643 (("gdk_pixbuf_moduledir = .*$")
3644 (string-append "gdk_pixbuf_moduledir = "
3645 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3647 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3648 (("gdk_pixbuf_cache_file = .*$")
3649 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3651 (add-before 'check 'remove-failing-tests
3653 (with-directory-excursion "tests/fixtures/reftests"
3654 (for-each delete-file
3655 '(;; This test fails on i686:
3656 "svg1.1/masking-path-04-b.svg"
3657 ;; This test fails on armhf:
3658 "svg1.1/masking-mask-01-b.svg"
3659 ;; This test fails on aarch64:
3660 "bugs/777834-empty-text-children.svg")))
3663 `(("pkg-config" ,pkg-config)
3664 ("glib" ,glib "bin") ; glib-mkenums, etc.
3665 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3667 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3668 ;; this ancient version of librsvg.
3669 ("pango" ,pango-1.42)
3670 ("libcroco" ,libcroco)
3673 ("libxml2" ,libxml2)))
3675 ;; librsvg-2.0.pc refers to all of that.
3677 ("gdk-pixbuf" ,gdk-pixbuf)
3679 (synopsis "Render SVG files using Cairo (ancient C version)")
3680 (properties '((hidden? . #t)))))
3682 (define* (librsvg-for-system #:optional
3683 (system (or (%current-target-system)
3684 (%current-system))))
3685 ;; Since librsvg 2.50 depends on Rust, and Rust is only correctly supported
3686 ;; on x86_64 so far, use the ancient C version on other platforms (FIXME).
3687 (if (string-prefix? "x86_64-" system)
3691 (export librsvg-for-system)
3693 (define-public libidl
3699 (uri (string-append "mirror://gnome/sources/libIDL/"
3700 (version-major+minor version) "/"
3701 "libIDL-" version ".tar.bz2"))
3704 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3705 (build-system gnu-build-system)
3706 (inputs `(("glib" ,glib)))
3708 `(("pkg-config" ,pkg-config)
3711 (home-page "http://freecode.com/projects/libidl")
3712 (synopsis "Create trees of CORBA Interface Definition Language files")
3713 (description "Libidl is a library for creating trees of CORBA Interface
3714 Definition Language (idl) files, which is a specification for defining
3715 portable interfaces. libidl was initially written for orbit (the orb from the
3716 GNOME project, and the primary means of libidl distribution). However, the
3717 functionality was designed to be as reusable and portable as possible.")
3718 (properties `((upstream-name . "libIDL")))
3719 (license license:lgpl2.0+)))
3722 (define-public orbit2
3728 (uri (let ((upstream-name "ORBit2"))
3729 (string-append "mirror://gnome/sources/" upstream-name "/"
3730 (version-major+minor version) "/"
3731 upstream-name "-" version ".tar.bz2")))
3734 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3735 (build-system gnu-build-system)
3737 `(;; The "timeout-server" test hangs when run in parallel.
3738 #:parallel-tests? #f
3740 '(;; We don't need static libraries, plus they don't build reproducibly
3741 ;; (non-deterministic ordering of .o files in the archive.)
3744 ;; The programmer kindly gives us a hook to turn off deprecation
3746 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3747 ;; ... which they then completly ignore !!
3749 (modify-phases %standard-phases
3750 (add-after 'unpack 'fix-parallel-build
3751 ;; Parallel build fails because of a failed dependency,
3752 ;; https://bugzilla.gnome.org/show_bug.cgi?id=732274
3754 (substitute* "src/services/name/Makefile.am"
3755 (("orbit_name_server_2_DEPENDENCIES = \\$(DEPS) CosNaming.h")
3756 "orbit_name_server_2_DEPENDENCIES = \
3757 $(DEPS) CosNaming.h libname-server-2.a"))))
3758 (add-before 'configure 'ignore-deprecations
3760 (substitute* "linc2/src/Makefile.in"
3761 (("-DG_DISABLE_DEPRECATED")
3762 "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))))))
3763 (inputs `(("glib" ,glib)
3764 ("libidl" ,libidl)))
3766 `(("pkg-config" ,pkg-config)))
3767 (home-page "https://projects.gnome.org/orbit2/")
3768 (synopsis "CORBA 2.4-compliant Object Request Broker")
3769 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3770 featuring mature C, C++ and Python bindings.")
3771 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3772 ;; a version. SOME of the code files have licence notices for GPLv2+.
3773 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3774 (license license:gpl2+)
3775 (properties `((upstream-name . "ORBit2")))))
3778 (define-public libbonobo
3784 (uri (string-append "mirror://gnome/sources/" name "/"
3785 (version-major+minor version)
3786 "/" name "-" version ".tar.bz2"))
3788 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3789 (patches (search-patches
3790 "libbonobo-activation-test-race.patch"))))
3791 (build-system gnu-build-system)
3793 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3795 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3796 ;; ... which they then completly ignore !!
3798 (modify-phases %standard-phases
3799 (add-before 'configure 'ignore-deprecations
3801 (substitute* "activation-server/Makefile.in"
3802 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3805 ;; There's apparently a race condition between the server stub
3806 ;; generation and linking of the example under 'samples/echo' that can
3807 ;; lead do undefined references when building in parallel, as reported
3808 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3809 ;; Thus, disable parallel builds.
3810 #:parallel-build? #f))
3811 (inputs `(("popt" ,popt)
3812 ("libxml2" ,libxml2)))
3813 ;; The following are Required by the .pc file
3816 ("orbit2" ,orbit2)))
3818 `(("intltool" ,intltool)
3819 ("pkg-config" ,pkg-config)
3820 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3823 (home-page "https://developer.gnome.org/libbonobo/")
3824 (synopsis "Framework for creating reusable components for use in GNOME applications")
3825 (description "Bonobo is a framework for creating reusable components for
3826 use in GNOME applications, built on top of CORBA.")
3827 ;; Licence not explicitly stated. Source files contain no licence notices.
3828 ;; Tarball contains text of both GPLv2 and LGPLv2
3829 ;; GPLv2 covers both conditions
3830 (license license:gpl2+)))
3833 (define-public gconf
3840 (let ((upstream-name "GConf"))
3841 (string-append "mirror://gnome/sources/" upstream-name "/"
3842 (version-major+minor version) "/"
3843 upstream-name "-" version ".tar.xz")))
3845 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3846 (build-system gnu-build-system)
3847 (inputs `(("dbus-glib" ,dbus-glib)
3848 ("libxml2" ,libxml2)))
3849 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3850 ("orbit2" ,orbit2)))
3852 `(("intltool" ,intltool)
3853 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3854 ("pkg-config" ,pkg-config)))
3855 (home-page "https://projects.gnome.org/gconf/")
3856 (synopsis "Store application preferences")
3857 (description "Gconf is a system for storing application preferences. It
3858 is intended for user preferences; not arbitrary data storage.")
3859 (license license:lgpl2.0+)
3860 (properties '((upstream-name . "GConf")))))
3863 (define-public gnome-mime-data
3865 (name "gnome-mime-data")
3869 (uri (string-append "mirror://gnome/sources/" name "/"
3870 (version-major+minor version) "/"
3871 name "-" version ".tar.bz2"))
3874 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3875 (build-system gnu-build-system)
3878 ("intltool" ,intltool)))
3880 '(#:phases (modify-phases %standard-phases
3881 (add-after 'configure 'use-our-intltool
3883 ;; Do not use the bundled intltool commands, which lack
3884 ;; the "dotless @INC" fixes of our 'intltool' package.
3885 (substitute* (find-files "." "^Makefile$")
3886 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3887 (string-append "INTLTOOL_" tool " = intltool-"
3888 (string-downcase tool) "\n")))
3890 (home-page "https://www.gnome.org")
3891 (synopsis "Base MIME and Application database for GNOME")
3892 (description "GNOME Mime Data is a module which contains the base MIME
3893 and Application database for GNOME. The data stored by this module is
3894 designed to be accessed through the MIME functions in GnomeVFS.")
3895 (license license:gpl2+)))
3898 (define-public gnome-vfs
3904 (uri (string-append "mirror://gnome/sources/" name "/"
3905 (version-major+minor version) "/"
3906 name "-" version ".tar.bz2"))
3909 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3910 (build-system gnu-build-system)
3913 (modify-phases %standard-phases
3914 (add-before 'configure 'ignore-deprecations
3916 (substitute* '("libgnomevfs/Makefile.in"
3917 "daemon/Makefile.in")
3918 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3920 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3922 (substitute* "test/test-async-cancel.c"
3923 (("EXIT_FAILURE") "77"))
3925 (inputs `(("libxml2" ,libxml2)
3926 ("dbus-glib" ,dbus-glib)
3928 ("gnome-mime-data" ,gnome-mime-data)
3931 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3932 ("intltool" ,intltool)
3933 ("pkg-config" ,pkg-config)))
3934 (home-page "https://developer.gnome.org/gnome-vfs/")
3935 (synopsis "Access files and folders in GNOME applications")
3937 "GnomeVFS is the core library used to access files and folders in GNOME
3938 applications. It provides a file system abstraction which allows applications
3939 to access local and remote files with a single consistent API.")
3940 (license license:lgpl2.0+)))
3944 (define-public libgnome
3950 (uri (string-append "mirror://gnome/sources/" name "/"
3951 (version-major+minor version) "/"
3952 name "-" version ".tar.bz2"))
3955 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3956 (patches (search-patches "libgnome-encoding.patch"))))
3957 (build-system gnu-build-system)
3960 (modify-phases %standard-phases
3961 (add-before 'configure 'enable-deprecated
3963 (substitute* "libgnome/Makefile.in"
3964 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3966 (inputs `(("libxml2" ,libxml2)))
3968 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3969 ("intltool" ,intltool)
3970 ("pkg-config" ,pkg-config)))
3971 ;; The following are listed as Required in the .pc file
3972 ;; (except for libcanberra -- which seems to be oversight on the part
3973 ;; of the upstream developers -- anything that links against libgnome,
3974 ;; must also link against libcanberra
3976 `(("libcanberra" ,libcanberra)
3977 ("libbonobo" ,libbonobo)
3979 ("gnome-vfs" ,gnome-vfs)
3980 ("popt" ,popt))) ;gnome-program.h includes popt.h
3981 (home-page "https://developer.gnome.org/libgnome/")
3982 (synopsis "Useful routines for building applications")
3983 (description "The libgnome library provides a number of useful routines
3984 for building modern applications, including session management, activation of
3985 files and URIs, and displaying help.")
3986 (license license:lgpl2.0+)))
3989 (define-public libart-lgpl
3991 (name "libart-lgpl")
3995 (uri (let ((upstream-name "libart_lgpl"))
3996 (string-append "mirror://gnome/sources/" upstream-name "/"
3997 (version-major+minor version) "/"
3998 upstream-name "-" version ".tar.bz2")))
4001 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
4002 (build-system gnu-build-system)
4004 `(("pkg-config" ,pkg-config)))
4005 (home-page "https://people.gnome.org/~mathieu/libart")
4006 (synopsis "2D drawing library")
4007 (description "Libart is a 2D drawing library intended as a
4008 high-quality vector-based 2D library with antialiasing and alpha composition.")
4009 (license license:lgpl2.0+)))
4013 (define-public libgnomecanvas
4015 (name "libgnomecanvas")
4019 (uri (string-append "mirror://gnome/sources/" name "/"
4020 (version-major+minor version) "/"
4021 name "-" version ".tar.gz"))
4024 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
4025 (build-system gnu-build-system)
4026 ;; Mentioned as Required in the .pc file
4027 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
4030 `(("intltool" ,intltool)
4031 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4032 ("pkg-config" ,pkg-config)))
4033 (home-page "https://developer.gnome.org/libgnomecanvas/")
4034 (synopsis "Flexible widget for creating interactive structured graphics")
4035 (description "The GnomeCanvas widget provides a flexible widget for
4036 creating interactive structured graphics.")
4037 (license license:lgpl2.0+)))
4039 (define-public libgnomecanvasmm
4041 (name "libgnomecanvasmm")
4045 (uri (string-append "mirror://gnome/sources/" name "/"
4046 (version-major+minor version) "/"
4047 name "-" version ".tar.bz2"))
4050 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
4051 (build-system gnu-build-system)
4052 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
4054 `(("gtkmm-2" ,gtkmm-2)
4055 ("pkg-config" ,pkg-config)))
4056 (home-page "https://gtkmm.org")
4057 (synopsis "C++ bindings to the GNOME Canvas library")
4058 (description "C++ bindings to the GNOME Canvas library.")
4059 (license license:lgpl2.0+)))
4061 (define-public libgnomeui
4067 (uri (string-append "mirror://gnome/sources/" name "/"
4068 (version-major+minor version) "/"
4069 name "-" version ".tar.bz2"))
4070 (patches (search-patches "libgnomeui-utf8.patch"))
4073 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
4074 (build-system gnu-build-system)
4075 ;; Mentioned as Required in the .pc file
4076 (propagated-inputs `(("libbonoboui" ,libbonoboui)
4077 ("libgnome" ,libgnome)
4078 ("libgnomecanvas" ,libgnomecanvas)
4079 ("libgnome-keyring" ,libgnome-keyring)))
4080 (inputs `(("libjpeg" ,libjpeg-turbo)
4082 ("libbonobo" ,libbonobo)
4083 ("libxml2" ,libxml2)
4084 ("libglade" ,libglade)))
4086 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
4087 ("intltool" ,intltool)
4088 ("pkg-config" ,pkg-config)))
4089 (home-page "https://developer.gnome.org/libgnomeui/")
4090 (synopsis "Additional widgets for applications")
4091 (description "The libgnomeui library provides additional widgets for
4092 applications. Many of the widgets from libgnomeui have already been
4094 (license license:lgpl2.0+)))
4096 (define-public libglade
4102 (uri (string-append "mirror://gnome/sources/" name "/"
4103 (version-major+minor version) "/"
4104 name "-" version ".tar.bz2"))
4107 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
4108 (build-system gnu-build-system)
4110 `(("python" ,python))) ;; needed for the optional libglade-convert program
4112 `(("gtk+-2" ,gtk+-2)
4113 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
4115 `(("pkg-config" ,pkg-config)))
4116 (home-page "https://developer.gnome.org/libglade")
4117 (synopsis "Load glade interfaces and access the glade built widgets")
4118 (description "Libglade is a library that provides interfaces for loading
4119 graphical interfaces described in glade files and for accessing the
4120 widgets built in the loading process.")
4121 (license license:gpl2+))) ; This is correct. GPL not LGPL
4123 (define-public libbonoboui
4125 (name "libbonoboui")
4129 (uri (string-append "mirror://gnome/sources/" name "/"
4130 (version-major+minor version) "/"
4131 name "-" version ".tar.bz2"))
4134 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4135 (build-system gnu-build-system)
4138 (modify-phases %standard-phases
4139 (add-before 'check 'start-xserver
4140 (lambda* (#:key inputs #:allow-other-keys)
4141 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4144 (setenv "HOME" (getcwd))
4145 (setenv "DISPLAY" disp)
4146 ;; There must be a running X server and make check doesn't start one.
4147 ;; Therefore we must do it.
4148 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4149 ;; Mentioned as Required by the .pc file
4150 (propagated-inputs `(("libxml2" ,libxml2)))
4153 ("pangox-compat" ,pangox-compat)
4154 ("libgnome" ,libgnome)
4155 ("libgnomecanvas" ,libgnomecanvas)
4156 ("libglade" ,libglade)))
4158 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4159 ("intltool" ,intltool)
4160 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4161 ("pkg-config" ,pkg-config)))
4162 (home-page "https://developer.gnome.org/libbonoboui/")
4163 (synopsis "Some user interface controls using Bonobo")
4164 (description "The Bonobo UI library provides a number of user interface
4165 controls using the Bonobo component framework.")
4166 (license license:lgpl2.0+)))
4168 (define-public libwnck
4174 (uri (string-append "mirror://gnome/sources/" name "/"
4175 (version-major+minor version) "/"
4176 name "-" version ".tar.xz"))
4179 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4180 (build-system meson-build-system)
4182 `(("pkg-config" ,pkg-config)
4183 ("glib" ,glib "bin") ; for glib-mkenums
4184 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4185 ("intltool" ,intltool)))
4188 ("libxres" ,libxres)
4189 ("startup-notification" ,startup-notification)))
4190 (home-page "https://developer.gnome.org/libwnck/")
4191 (synopsis "Window Navigator Construction Kit")
4193 "Libwnck is the Window Navigator Construction Kit, a library for use in
4194 writing pagers, tasklists, and more generally applications that are dealing
4195 with window management. It tries hard to respect the Extended Window Manager
4196 Hints specification (EWMH).")
4197 (license license:lgpl2.0+)))
4199 ;; stable version for gtk2, required by xfwm4.
4200 (define-public libwnck-2
4201 (package (inherit libwnck)
4206 (uri (string-append "mirror://gnome/sources/" name "/"
4207 (version-major+minor version) "/"
4208 name "-" version ".tar.xz"))
4211 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4212 (build-system gnu-build-system)
4214 `(("pkg-config" ,pkg-config)
4215 ("intltool" ,intltool)))
4218 ("libxres" ,libxres)
4219 ("startup-notification" ,startup-notification)))))
4221 (define-public goffice
4227 (uri (string-append "mirror://gnome/sources/goffice/"
4228 (version-major+minor version) "/"
4229 "goffice-" version ".tar.xz"))
4231 (base32 "1p5zbj7cbcfcxd6l8pnph54p6ah1bwf146y810j4bcq8ggf3sp1c"))))
4232 (build-system gnu-build-system)
4234 "doc")) ; 4.0 MiB of gtk-doc
4236 '(#:configure-flags (list (string-append "--with-html-dir="
4237 (assoc-ref %outputs "doc")
4238 "/share/gtk-doc/html"))))
4242 ("librsvg" ,librsvg)
4243 ("libxslt" ,libxslt)
4244 ("libxml2" ,libxml2)))
4246 `(("intltool" ,intltool)
4247 ("glib" ,glib "bin")
4248 ("pkg-config" ,pkg-config)))
4249 (home-page "https://developer.gnome.org/goffice/")
4250 (synopsis "Document-centric objects and utilities")
4251 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4253 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4255 (list license:gpl2 license:gpl3))))
4257 (define-public goffice-0.8
4258 (package (inherit goffice)
4262 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4263 (version-major+minor version) "/"
4264 (package-name goffice) "-" version ".tar.xz"))
4266 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4269 (modify-phases %standard-phases
4270 (add-after 'unpack 'fix-pcre-check
4272 ;; Only glib.h can be included directly. See
4273 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4274 (substitute* "configure"
4275 (("glib/gregex\\.h") "glib.h")) #t)))
4277 ,@(package-arguments goffice)))
4279 ;; libgoffice-0.8.pc mentions libgsf-1
4280 `(("libgsf" ,libgsf)))
4283 ,@(alist-delete "gtk" (package-inputs goffice))))))
4285 (define-public gnumeric
4291 (uri (string-append "mirror://gnome/sources/gnumeric/"
4292 (version-major+minor version) "/"
4293 "gnumeric-" version ".tar.xz"))
4296 "1f0lrj5msg80pgjp38jj6rddf352gwddgip7z4lki66n3fx1k23m"))))
4297 (build-system glib-or-gtk-build-system)
4299 `(;; The gnumeric developers don't worry much about failing tests.
4300 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4303 (modify-phases %standard-phases
4305 'configure 'pre-conf
4306 (lambda* (#:key outputs #:allow-other-keys)
4307 ;; Make install tries to write into the directory of goffice
4308 ;; I am informed that this only affects the possibility to embed a
4309 ;; spreadsheet inside an Abiword document. So presumably when we
4310 ;; package Abiword we'll have to refer it to this directory.
4311 (substitute* "configure"
4312 (("^GOFFICE_PLUGINS_DIR=.*")
4313 (string-append "GOFFICE_PLUGINS_DIR="
4314 (assoc-ref outputs "out")
4315 "/goffice/plugins"))))))))
4319 ("goffice" ,goffice)
4321 ("librsvg" ,librsvg)
4322 ("libxml2" ,libxml2)
4323 ("libxslt" ,libxslt)
4325 ("python-pygobject" ,python-pygobject)
4329 ("docbook-xml" ,docbook-xml)
4330 ("intltool" ,intltool)
4331 ("itstool" ,itstool)
4332 ("glib:bin" ,glib "bin")
4333 ("pkg-config" ,pkg-config)))
4334 (home-page "http://www.gnumeric.org")
4335 (synopsis "Spreadsheet application")
4337 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4338 interoperable with other spreadsheet applications. It has a vast array of
4339 features beyond typical spreadsheet functionality, such as support for linear
4340 and non-linear solvers, statistical analysis, and telecommunication
4343 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4344 (list license:gpl2 license:gpl3))))
4346 (define-public drawing
4354 (url "https://github.com/maoschanz/drawing")
4356 (file-name (git-file-name name version))
4358 (base32 "0wz9p47riyy3h8b0sqsb6bx416hc6d1a1wyzlfmsxkrqrkwcjcm8"))))
4359 (build-system meson-build-system)
4363 (modify-phases %standard-phases
4364 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4365 (lambda* (#:key outputs #:allow-other-keys)
4366 (let ((prog (string-append (assoc-ref outputs "out")
4368 (pylib (string-append (assoc-ref outputs "out")
4370 ,(version-major+minor
4371 (package-version python))
4374 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
4375 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
4377 `(("desktop-file-utils" ,desktop-file-utils)
4378 ("gettext" ,gettext-minimal)
4379 ("glib:bin" ,glib "bin")
4380 ("gobject-introspection" ,gobject-introspection)
4381 ("gtk+:bin" ,gtk+ "bin")
4382 ("pkg-config" ,pkg-config)))
4384 `(("librsvg" ,librsvg)
4385 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4388 ("python-pycairo" ,python-pycairo)
4389 ("python-pygobject" ,python-pygobject)))
4390 (home-page "https://maoschanz.github.io/drawing/")
4391 (synopsis "Basic image editor for GNOME")
4393 "Drawing is a basic image editor aiming at the GNOME desktop.")
4394 (license license:gpl3+)))
4396 (define-public gnome-themes-standard
4398 (name "gnome-themes-standard")
4403 (uri (string-append "mirror://gnome/sources/" name "/"
4404 (version-major+minor version) "/" name "-"
4408 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4409 (build-system gnu-build-system)
4412 ;; Don't create 'icon-theme.cache'.
4413 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4414 (true (string-append coreutils "/bin/true")))
4415 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4419 ("librsvg" ,librsvg)
4420 ("libxml2" ,libxml2)
4423 `(("intltool" ,intltool)
4424 ("glib:bin" ,glib "bin")
4425 ("pkg-config" ,pkg-config)))
4426 (home-page "https://launchpad.net/gnome-themes-standard")
4427 (synopsis "Default GNOME 3 themes")
4429 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4430 (license license:lgpl2.1+)))
4432 (define-public seahorse
4439 (uri (string-append "mirror://gnome/sources/" name "/"
4440 (version-major version) "/" name "-"
4443 (base32 "1x99i7kdvd8hbxcs5rfrq7nw6r9bfzaw263zaigjjj04h6gc1vp6"))))
4444 (build-system meson-build-system)
4448 (modify-phases %standard-phases
4449 (add-after 'unpack 'skip-gtk-update-icon-cache
4450 ;; Don't create 'icon-theme.cache'.
4452 (substitute* "build-aux/meson_post_install.py"
4453 (("gtk-update-icon-cache") "true"))
4455 (add-before 'check 'pre-check
4457 ;; Tests require a writable HOME.
4458 (setenv "HOME" (getcwd)))))))
4464 ("openldap" ,openldap)
4465 ("openssh" ,openssh)
4467 ("libhandy" ,libhandy)
4468 ("libpwquality" ,libpwquality)
4469 ("libsecret" ,libsecret)
4470 ("libsoup" ,libsoup-minimal-2)))
4472 `(("gettext" ,gettext-minimal)
4473 ("glib:bin" ,glib "bin")
4474 ("itstool" ,itstool)
4475 ("pkg-config" ,pkg-config)
4477 ("xmllint" ,libxml2)))
4478 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4479 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4481 "Seahorse is a GNOME application for managing encryption keys and
4482 passwords in the GNOME keyring.")
4483 (license license:gpl2+)))
4491 (uri (string-append "mirror://gnome/sources/vala/"
4492 (version-major+minor version) "/"
4493 "vala-" version ".tar.xz"))
4496 "048k5c6c6y7jyb961krnrb7m0kghr0yrkpnfx3j5ckbx652yfkc8"))))
4497 (build-system glib-or-gtk-build-system)
4499 '(#:configure-flags '("--enable-coverage")
4501 (modify-phases %standard-phases
4502 (add-after 'unpack 'patch-docbook-xml
4503 (lambda* (#:key inputs #:allow-other-keys)
4504 (with-directory-excursion "doc/manual"
4505 (substitute* '("manual.xml" "version.xml.in")
4506 (("http://www.oasis-open.org/docbook/xml/4.4/")
4507 (string-append (assoc-ref inputs "docbook-xml")
4508 "/xml/dtd/docbook/"))))))
4509 (add-before 'check 'pre-check
4512 (substitute* "valadoc/tests/libvaladoc\
4513 /tests-extra-environment.sh"
4514 (("export PKG_CONFIG_PATH=" m)
4515 (string-append m "$PKG_CONFIG_PATH:"))))))))
4518 ("dbus" ,dbus) ; for dbus tests
4519 ("docbook-xml" ,docbook-xml-4.4)
4520 ("docbook-xsl" ,docbook-xsl)
4522 ("gobject-introspection" ,gobject-introspection) ; for gir tests
4523 ("help2man" ,help2man)
4525 ("pkg-config" ,pkg-config)
4526 ("xsltproc" ,libxslt)))
4528 `(("glib" ,glib) ; required by libvala-0.40.pc
4529 ("libgvc" ,graphviz)))
4530 (home-page "https://wiki.gnome.org/Projects/Vala/")
4531 (synopsis "Compiler using the GObject type system")
4532 (description "Vala is a programming language using modern high level
4533 abstractions without imposing additional runtime requirements and without using
4534 a different ABI compared to applications and libraries written in C. Vala uses
4535 the GObject type system and has additional code generation routines that make
4536 targeting the GNOME stack simple.")
4537 (license license:lgpl2.1+)))
4539 ;;; An older variant kept to build libsoup-minimal-2.
4540 (define-public vala-0.52
4541 (package/inherit vala
4545 (uri (string-append "mirror://gnome/sources/vala/"
4546 (version-major+minor version) "/"
4547 "vala-" version ".tar.xz"))
4550 "12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"))))))
4558 (uri (string-append "mirror://gnome/sources/vte/"
4559 (version-major+minor version) "/"
4560 "vte-" version ".tar.xz"))
4563 "063ys3330cvhbz1dln9irhciavb2prw098lvhpcc2rx6cl5q4g1b"))))
4564 (build-system meson-build-system)
4568 "-D_systemd=false")))
4570 `(("pkg-config" ,pkg-config)
4571 ("gettext" ,gettext-minimal)
4573 ("gobject-introspection" ,gobject-introspection)
4574 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4576 ("xmllint" ,libxml2)))
4578 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4579 ("gnutls" ,gnutls) ; ditto
4580 ("pcre2" ,pcre2))) ; ditto
4581 (home-page "https://www.gnome.org/")
4582 (synopsis "Virtual Terminal Emulator")
4584 "VTE is a library (libvte) implementing a terminal emulator widget for
4585 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4586 gnome-terminal, but can also be used to embed a console/terminal in games,
4587 editors, IDEs, etc.")
4588 (license license:lgpl2.1+)))
4590 (define-public vte-ng
4594 (version "0.58.2.a")
4595 (home-page "https://github.com/thestinger/vte-ng")
4598 (uri (git-reference (url home-page) (commit version)))
4599 (file-name (git-file-name name version))
4602 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4603 (build-system meson-build-system)
4605 `(("gtk-doc" ,gtk-doc/stable)
4606 ,@(package-native-inputs vte)))
4608 `(#:configure-flags '("-Ddocs=true")))
4609 (synopsis "Enhanced VTE terminal widget")
4611 "VTE is a library (libvte) implementing a terminal emulator widget for
4612 GTK+, this fork provides additional functions exposed for keyboard text
4613 selection and URL hints.")))
4615 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4616 (define-public vte/gtk+-2
4617 (package (inherit vte)
4622 (uri (string-append "mirror://gnome/sources/" name "/"
4623 (version-major+minor version) "/"
4624 name "-" version ".tar.xz"))
4627 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4628 (patches (search-patches
4629 "vte-CVE-2012-2738-pt1.patch"
4630 "vte-CVE-2012-2738-pt2.patch"))))
4631 (build-system gnu-build-system)
4633 '(#:configure-flags '("--disable-python")))
4635 `(("pkg-config" ,pkg-config)
4636 ("intltool" ,intltool)
4637 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4639 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4640 ("ncurses" ,ncurses))))) ; required by libvte.la
4642 (define-public vinagre
4648 (uri (string-append "mirror://gnome/sources/" name "/"
4649 (version-major+minor version) "/"
4650 name "-" version ".tar.xz"))
4651 (patches (search-patches "vinagre-newer-freerdp.patch"
4652 "vinagre-newer-rdp-parameters.patch"))
4655 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4656 (build-system glib-or-gtk-build-system)
4658 ;; Disable -Werror and such, to avoid build failures on compilation
4660 '(#:configure-flags '("--enable-compile-warnings=minimum"
4661 "CFLAGS=-O2 -g -fcommon")
4663 (modify-phases %standard-phases
4664 (add-before 'install 'skip-gtk-update-icon-cache
4666 ;; Don't create 'icon-theme.cache'
4667 (substitute* (find-files "." "^Makefile$")
4668 (("gtk-update-icon-cache") (which "true")))
4670 (add-after 'unpack 'patch-configure
4672 (substitute* "configure"
4673 (("freerdp") "freerdp2"))
4676 `(("pkg-config" ,pkg-config)
4677 ("intltool" ,intltool)
4678 ("itstool" ,itstool)
4679 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4681 `(("libxml2" ,libxml2)
4682 ("gtk-vnc" ,gtk-vnc)
4683 ("gnome-keyring" ,gnome-keyring)
4684 ("libsecret" ,libsecret)
4685 ("freerdp" ,freerdp)
4687 ("spice-gtk" ,spice-gtk)
4688 ("telepathy-glib" ,telepathy-glib)
4690 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4691 (synopsis "Remote desktop viewer for GNOME")
4692 (description "Vinagre is a remote display client supporting the VNC, SPICE
4693 and RDP protocols.")
4694 (license license:gpl3+)))
4696 (define-public dconf
4703 "mirror://gnome/sources/" name "/"
4704 (version-major+minor version) "/"
4705 name "-" version ".tar.xz"))
4708 "0cs5nayg080y8pb9b7qccm1ni8wkicdmqp1jsgc22110r6j24zyg"))))
4709 (build-system meson-build-system)
4711 ;; In Requires of dconf.pc.
4717 `(("bash-completion" ,bash-completion)
4718 ("libxslt" ,libxslt) ;for xsltproc
4719 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4720 ("docbook-xml" ,docbook-xml-4.2)
4721 ("docbook-xsl" ,docbook-xsl)
4722 ("glib:bin" ,glib "bin")
4723 ("gtk-doc" ,gtk-doc/stable)
4724 ("pkg-config" ,pkg-config)
4728 #:configure-flags '("-Dgtk_doc=true")
4729 #:phases (modify-phases %standard-phases
4730 (add-after 'unpack 'increase-test-timeout
4732 ;; On big-memory systems, the engine test may take
4733 ;; much longer than the default of 30 seconds.
4734 (substitute* "tests/meson.build"
4735 (("test\\(unit_test\\[0\\], exe" all)
4736 (string-append all ", timeout: 300"))))))))
4737 (home-page "https://developer.gnome.org/dconf/")
4738 (synopsis "Low-level GNOME configuration system")
4739 (description "Dconf is a low-level configuration system. Its main purpose
4740 is to provide a backend to GSettings on platforms that don't already have
4741 configuration storage systems.")
4742 (license license:lgpl2.1+)))
4744 (define-public json-glib-minimal
4746 (name "json-glib-minimal")
4750 (uri (string-append "mirror://gnome/sources/json-glib/"
4751 (version-major+minor version)
4752 "/json-glib-" version ".tar.xz"))
4755 "092g2dyy1hhl0ix9kp33wcab0pg1qicnsv0cj5ms9g9qs336cgd3"))))
4756 (build-system meson-build-system)
4758 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
4760 `(("gettext" ,gettext-minimal)
4761 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4762 ("pkg-config" ,pkg-config)))
4764 `(("bash-minimal" ,bash-minimal)))
4766 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4767 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4768 (synopsis "Glib and GObject implementation of JSON")
4769 (description "JSON-GLib is a library providing serialization and
4770 described by RFC 4627. It implements a full JSON parser and generator using
4771 GLib and GObject, and integrates JSON with GLib data types.")
4772 (license license:lgpl2.1+)))
4774 (define-public json-glib
4775 (package/inherit json-glib-minimal
4777 (outputs (cons "doc" (package-outputs json-glib-minimal)))
4779 (substitute-keyword-arguments (package-arguments json-glib-minimal)
4780 ((#:configure-flags _)
4781 `(list "-Ddocs=true"
4783 ,@(if (%current-target-system)
4784 ;; If enabled, gtkdoc-scangobj will try to execute a
4785 ;; cross-compiled binary.
4786 '("-Dgtk_doc=disabled"
4787 ;; Trying to build introspection data when cross-compiling
4788 ;; causes errors during linking.
4789 "-Dintrospection=disabled")
4791 ((#:phases phases '%standard-phases)
4792 `(modify-phases ,phases
4793 (add-after 'unpack 'patch-docbook
4794 (lambda* (#:key native-inputs inputs #:allow-other-keys)
4795 (with-directory-excursion "doc"
4796 (substitute* (find-files "." "\\.xml$")
4797 (("http://www.oasis-open.org/docbook/xml/4\\.3/")
4798 (string-append (assoc-ref (or native-inputs inputs)
4800 "/xml/dtd/docbook/")))
4801 (substitute* "meson.build"
4802 (("http://docbook.sourceforge.net/release/xsl/current/")
4803 (string-append (assoc-ref (or native-inputs inputs)
4805 "/xml/xsl/docbook-xsl-1.79.2/"))))))
4806 ;; When cross-compiling, there are no docs to move.
4807 ,(if (%current-target-system)
4808 '(add-after 'install 'stub-docs
4809 (lambda* (#:key outputs #:allow-other-keys)
4810 ;; The daemon doesn't like empty output paths.
4811 (mkdir (assoc-ref outputs "doc"))))
4812 '(add-after 'install 'move-docs
4813 (lambda* (#:key outputs #:allow-other-keys)
4814 (let* ((out (assoc-ref outputs "out"))
4815 (doc (assoc-ref outputs "doc")))
4816 (mkdir-p (string-append doc "/share"))
4818 (string-append out "/share/gtk-doc")
4819 (string-append doc "/share/gtk-doc"))))))))))
4822 `(("docbook-xml" ,docbook-xml-4.3)
4823 ("docbook-xsl" ,docbook-xsl)
4824 ("gobject-introspection" ,gobject-introspection)
4825 ("gtk-doc" ,gtk-doc)
4826 ("xsltproc" ,libxslt))
4827 (package-native-inputs json-glib-minimal)))))
4829 (define-public libxklavier
4831 (name "libxklavier")
4834 ;; Note: There's no tarball at ftp.gnome.org for this version.
4837 (url "https://anongit.freedesktop.org/git/libxklavier")
4838 (commit (string-append "libxklavier-" version))))
4841 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4842 (file-name (git-file-name name version))))
4843 (build-system gnu-build-system)
4846 (list (string-append "--with-xkb-base="
4847 (assoc-ref %build-inputs "xkeyboard-config")
4849 "--disable-xmodmap-support")))
4851 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4852 ("gobject-introspection" ,gobject-introspection)
4853 ("pkg-config" ,pkg-config)
4854 ("gtk-doc" ,gtk-doc/stable)
4855 ("intltool" ,intltool)
4857 ("autoconf" ,autoconf)
4858 ("automake" ,automake)
4859 ("libtool" ,libtool)))
4861 ;; Required by libxklavier.pc.
4863 ("libxml2" ,libxml2)))
4865 `(("iso-codes" ,iso-codes)
4867 ("libxkbfile" ,libxkbfile)
4868 ("xkbcomp" ,xkbcomp)
4869 ("xkeyboard-config" ,xkeyboard-config)))
4870 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4871 (synopsis "High-level API for X Keyboard Extension")
4873 "LibXklavier is a library providing high-level API for X Keyboard
4874 Extension known as XKB. This library is intended to support XFree86 and other
4875 commercial X servers. It is useful for creating XKB-related software (layout
4877 (license license:lgpl2.0+)))
4879 (define-public python2-rsvg
4880 ;; XXX: This is actually a subset of gnome-python-desktop.
4882 (name "python2-rsvg")
4888 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4889 version ".tar.bz2"))
4892 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4893 (build-system gnu-build-system)
4895 `(("pkg-config" ,pkg-config)))
4897 `(("python" ,python-2)
4898 ("python2-pygtk" ,python2-pygtk)
4899 ("librsvg" ,librsvg)))
4900 (home-page "https://www.gnome.org")
4901 (synopsis "Python bindings to librsvg")
4903 "This package provides Python bindings to librsvg, the SVG rendering
4906 ;; This is the license of the rsvg bindings. The license of each module
4907 ;; of gnome-python-desktop is given in 'COPYING'.
4908 (license license:lgpl2.1+)))
4910 (define-public glib-networking
4912 (name "glib-networking")
4916 (uri (string-append "mirror://gnome/sources/glib-networking/"
4917 (version-major+minor version) "/"
4918 "glib-networking-" version ".tar.xz"))
4921 "0dbg1na239mbavn4hknkax5sns9q2dbdnqw9wcpmhv58mzkhid36"))
4923 (search-patches "glib-networking-gnutls-binding.patch"))))
4924 (build-system meson-build-system)
4929 #~(modify-phases %standard-phases
4930 (add-after 'unpack 'work-around-32-bit-time-t
4932 (invoke "patch" "--force" "-p1" "-i"
4935 "glib-networking-32-bit-time.patch")))))))))
4937 `(("pkg-config" ,pkg-config)
4938 ("gettext" ,gettext-minimal)))
4942 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4943 ("libproxy" ,libproxy)))
4944 (home-page "https://wiki.gnome.org/Projects/GLib")
4945 (synopsis "Network extensions for GLib")
4947 "Glib-networking contains the implementations of certain GLib networking
4948 features that cannot be implemented directly in GLib itself because of their
4949 dependencies. Currently it contains GnuTLS and OpenSSL-based implementations of
4950 GTlsBackend, a libproxy-based implementation of GProxyResolver,
4951 GLibproxyResolver, and a GNOME GProxyResolver that uses the proxy information
4952 from the GSettings schemas in gsettings-desktop-schemas.")
4953 (license license:lgpl2.1+)))
4961 (uri (string-append "mirror://gnome/sources/rest/"
4962 (version-major+minor version) "/"
4963 name "-" version ".tar.xz"))
4966 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4967 (build-system gnu-build-system)
4969 '(#:tests? #f ; tests require internet connection
4971 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4973 `(("glib-mkenums" ,glib "bin")
4974 ("gobject-introspection" ,gobject-introspection)
4975 ("pkg-config" ,pkg-config)))
4977 ;; rest-0.7.pc refers to all these.
4979 ("libsoup" ,libsoup-minimal-2)
4980 ("libxml2" ,libxml2)))
4981 (home-page "https://www.gtk.org/")
4982 (synopsis "RESTful web api query library")
4984 "This library was designed to make it easier to access web services that
4985 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4986 libxml to ease remote use of the RESTful API.")
4987 (license license:lgpl2.1+)))
4989 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4990 (define-public libsoup-minimal
4992 (name "libsoup-minimal")
4996 (uri (string-append "mirror://gnome/sources/libsoup/"
4997 (version-major+minor version) "/"
4998 "libsoup-" version ".tar.xz"))
5001 "0pp2s9rj7pp45ac99hbqszznln5ljj38cbc8lbljfc5fmm6v0rai"))))
5002 (build-system meson-build-system)
5004 `(#:configure-flags '("-Dgtk_doc=false")
5006 (modify-phases %standard-phases
5007 (add-after 'unpack 'adjust-tests
5009 ;; This test fails due to missing /etc/nsswitch.conf
5010 ;; in the build environment.
5011 (substitute* "tests/socket-test.c"
5012 ((".*/sockets/unconnected.*") ""))
5014 ;; These fail because "subdomain.localhost" does not resolve in
5015 ;; the build environment. Moreover, the hsts-test suite fails on
5016 ;; i686-linux because of errors from `session_get_uri' like
5017 ;; "Unexpected status 200 OK (expected 301 Moved Permanently)"
5018 ;; (see: https://gitlab.gnome.org/GNOME/libsoup/-/issues/239).
5019 (substitute* "tests/meson.build"
5020 ((".*'name': 'hsts'.*") ""))
5021 (substitute* "tests/hsts-db-test.c"
5022 ((".*/hsts-db/subdomains.*") "")))))))
5024 `(("glib:bin" ,glib "bin") ;for glib-mkenums
5025 ("gobject-introspection" ,gobject-introspection)
5026 ("intltool" ,intltool)
5027 ("pkg-config" ,pkg-config)
5028 ("python" ,python-wrapper)
5032 ("gnutls" ,gnutls) ;for 'certtool'
5035 ;; libsoup-3.0.pc refers to all of these (except where otherwise noted)
5036 `(("brotli" ,brotli)
5038 ("glib-networking" ,glib-networking) ; for GIO runtime modules
5040 ("nghttp2" ,nghttp2) ;for pkg-config
5041 ("nghttp2:lib" ,nghttp2 "lib")
5042 ("libxml2" ,libxml2)
5046 `(("mit-krb5" ,mit-krb5)
5047 ("ntlm_auth" ,samba/fixed))) ; For ntlm_auth support
5048 (home-page "https://wiki.gnome.org/Projects/libsoup")
5049 (synopsis "GLib-based HTTP Library")
5051 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
5052 and the GLib main loop, to integrate well with GNOME applications.")
5053 (license license:lgpl2.0+)))
5055 ;;; An older variant kept to build the 'rest' package.
5056 (define-public libsoup-minimal-2
5057 (package/inherit libsoup-minimal
5061 (uri (string-append "mirror://gnome/sources/libsoup/"
5062 (version-major+minor version) "/"
5063 "libsoup-" version ".tar.xz"))
5066 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
5068 (substitute-keyword-arguments (package-arguments libsoup-minimal)
5070 `(modify-phases ,phases
5071 (add-after 'unpack 'disable-failing-tests
5073 ;; Disable the SSL test, failing since 2.68 and resolved in
5075 (substitute* "tests/meson.build"
5076 (("[ \t]*\\['ssl', true, \\[\\]\\],") ""))))))))
5078 (cons `("vala" ,vala-0.52)
5079 (delete "vala" (package-native-inputs libsoup-minimal))))))
5081 (define-public libsoup
5082 (package/inherit libsoup-minimal
5084 (outputs (cons "doc" (package-outputs libsoup-minimal)))
5086 (substitute-keyword-arguments (package-arguments libsoup-minimal)
5087 ((#:configure-flags configure-flags)
5088 `(cons "-Dgtk_doc=true"
5089 (delete "-Dgtk_doc=false" ,configure-flags)))
5091 `(modify-phases ,phases
5092 (add-after 'unpack 'patch-docbook-xml
5093 (lambda* (#:key inputs #:allow-other-keys)
5094 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
5095 "/xml/dtd/docbook")))
5096 (substitute* (find-files "docs/reference")
5097 (("http://.*/docbookx\\.dtd")
5098 (string-append xmldoc "/docbookx.dtd"))))))
5099 (add-after 'install 'move-doc
5100 (lambda* (#:key outputs #:allow-other-keys)
5101 (let ((out (assoc-ref outputs "out"))
5102 (doc (assoc-ref outputs "doc")))
5103 (mkdir-p (string-append doc "/share"))
5104 (copy-recursively (string-append out "/share/gtk-doc")
5105 (string-append doc "/share/gtk-doc"))
5106 (delete-file-recursively
5107 (string-append out "/share/gtk-doc")))))))))
5108 (native-inputs (append `(("docbook-xml" ,docbook-xml-4.1.2)
5109 ("gtk-doc" ,gtk-doc))
5110 (package-native-inputs libsoup-minimal)))))
5112 (define-public libsecret
5119 "mirror://gnome/sources/libsecret/"
5120 (version-major+minor version) "/"
5121 "libsecret-" version ".tar.xz"))
5124 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
5125 (build-system gnu-build-system)
5126 (outputs '("out" "doc"))
5128 `(#:tests? #f ; FIXME: Testing hangs.
5130 (list (string-append "--with-html-dir="
5131 (assoc-ref %outputs "doc")
5132 "/share/gtk-doc/html"))))
5134 `(("gettext" ,gettext-minimal)
5135 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5136 ("gobject-introspection" ,gobject-introspection)
5137 ("pkg-config" ,pkg-config)
5139 ("xsltproc" ,libxslt)))
5140 ;; These are needed for the tests.
5141 ;; FIXME: Add gjs once available.
5143 ;("python2" ,python-2)
5144 ;("python2-dbus" ,python2-dbus)
5145 ;("python2-pygobject" ,python2-pygobject)
5146 ;("python2-pygobject-2" ,python2-pygobject-2)))
5148 `(("glib" ,glib))) ; required by libsecret-1.pc
5150 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
5151 ;; doesn't seem to affect the build result.
5152 `(("docbook-xsl" ,docbook-xsl)
5153 ("libgcrypt" ,libgcrypt)
5154 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
5155 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
5156 (synopsis "GObject bindings for \"Secret Service\" API")
5158 "Libsecret is a GObject based library for storing and retrieving passwords
5159 and other secrets. It communicates with the \"Secret Service\" using DBus.")
5160 (license license:lgpl2.1+)))
5162 (define-public five-or-more
5164 (name "five-or-more")
5169 (uri (string-append "mirror://gnome/sources/five-or-more/"
5170 (version-major+minor version) "/"
5171 "five-or-more-" version ".tar.xz"))
5173 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
5174 (build-system meson-build-system)
5178 (modify-phases %standard-phases
5179 (add-after 'unpack 'skip-gtk-update-icon-cache
5181 (substitute* "meson_post_install.py"
5182 (("gtk-update-icon-cache") (which "true")))
5185 `(("pkg-config" ,pkg-config)
5186 ("appstream-glib" ,appstream-glib)
5187 ("desktop-file-utils" ,desktop-file-utils)
5188 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5189 ("intltool" ,intltool)
5190 ("itstool" ,itstool)
5192 ("xmllint" ,libxml2)))
5195 ("libgnome-games-support" ,libgnome-games-support)
5196 ("librsvg" ,librsvg)))
5197 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5198 (synopsis "Logic puzzle game")
5199 (description "Five or More is a game where you try to align
5200 five or more objects of the same color and shape causing them to disappear.
5201 On every turn more objects will appear, until the board is full.
5202 Try to last as long as possible.")
5203 (license license:gpl2+)))
5205 (define-public gnome-mines
5207 (name "gnome-mines")
5212 (uri (string-append "mirror://gnome/sources/" name "/"
5213 (version-major version) "/"
5214 name "-" version ".tar.xz"))
5216 (base32 "0sf6kdvhr4pr3hddnj6ql9larz2wy108sri31id6x9g459nbly8z"))))
5217 (build-system meson-build-system)
5222 (modify-phases %standard-phases
5223 (add-after 'unpack 'skip-gtk-update-icon-cache
5225 (substitute* "build-aux/meson_post_install.py"
5226 (("gtk-update-icon-cache") (which "true"))))))))
5228 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5229 ("pkg-config" ,pkg-config)
5230 ("desktop-file-utils" ,desktop-file-utils)
5231 ("intltool" ,intltool)
5232 ("itstool" ,itstool)
5235 ("appstream-glib" ,appstream-glib)))
5238 ("libgnome-games-support" ,libgnome-games-support)
5239 ("librsvg" ,librsvg)))
5240 (home-page "https://wiki.gnome.org/Apps/Mines")
5241 (synopsis "Minesweeper game")
5243 "Mines (previously gnomine) is a puzzle game where you locate mines
5244 floating in an ocean using only your brain and a little bit of luck.")
5245 (license license:gpl2+)))
5247 (define-public gnome-multi-writer
5249 (name "gnome-multi-writer")
5254 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5255 (version-major+minor version) "/"
5256 "gnome-multi-writer-" version ".tar.xz"))
5259 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5260 (build-system meson-build-system)
5264 (modify-phases %standard-phases
5265 (add-after 'unpack 'skip-post-install
5267 (substitute* "meson.build"
5268 (("meson.add_install_script" &) (string-append "# " &)))
5271 `(("glib:bin" ,glib "bin")
5272 ("pkg-config" ,pkg-config)))
5275 ("glib" ,glib) ; for gio
5278 ("libgudev" ,libgudev)
5279 ("libcanberra" ,libcanberra)
5280 ("polkit" ,polkit)))
5281 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5282 (synopsis "Write to multiple USB devices at once")
5284 "MultiWriter can be used to write an ISO file to multiple USB devices at
5286 (license license:gpl2+)))
5288 (define-public gnome-sudoku
5290 (name "gnome-sudoku")
5295 (uri (string-append "mirror://gnome/sources/" name "/"
5296 (version-major version) "/"
5297 name "-" version ".tar.xz"))
5300 "18slsxifad5cjz4fqi818i66jc9b7kzgn01qxa0ra4y7wcqha4in"))))
5301 (build-system meson-build-system)
5306 (modify-phases %standard-phases
5307 (add-after 'unpack 'skip-gtk-update-icon-cache
5309 (substitute* "build-aux/post_install.py"
5310 (("gtk-update-icon-cache") (which "true"))))))))
5312 `(("pkg-config" ,pkg-config)
5313 ("desktop-file-utils" ,desktop-file-utils)
5314 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5315 ("intltool" ,intltool)
5316 ("itstool" ,itstool)
5318 ("xmllint" ,libxml2)))
5321 ("json-glib" ,json-glib)
5323 ("librsvg" ,librsvg)
5324 ("qqwing" ,qqwing)))
5325 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5326 (synopsis "Japanese logic game")
5328 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5329 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5330 possible while still providing features that make playing difficult Sudoku
5332 (license license:gpl2+)))
5334 (define-public gnome-terminal
5336 (name "gnome-terminal")
5341 (uri (string-append "mirror://gnome/sources/" name "/"
5342 (version-major+minor version) "/"
5343 name "-" version ".tar.xz"))
5346 "08hsic7sn32xw12i3j0ard2bhfhp8gmzqm0pa8xzl5l1jhzsmsfb"))))
5347 (build-system glib-or-gtk-build-system)
5350 (list "--disable-migration" "--disable-search-provider"
5351 "--without-nautilus-extension")
5353 (modify-phases %standard-phases
5354 (add-before 'configure 'patch-/bin/true
5356 (substitute* "configure"
5357 (("/bin/true") (which "true"))))))))
5359 `(("docbook-xsl" ,docbook-xsl)
5360 ("pkg-config" ,pkg-config)
5361 ("desktop-file-utils" ,desktop-file-utils)
5362 ("intltool" ,intltool)
5363 ("itstool" ,itstool)
5364 ("libxslt" ,libxslt)
5365 ("xmllint" ,libxml2)))
5367 `(("dconf" ,dconf)))
5372 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5373 ("util-linux" ,util-linux "lib")
5375 (home-page "https://wiki.gnome.org/Apps/Terminal")
5376 (synopsis "Terminal emulator")
5378 "GNOME Terminal is a terminal emulator application for accessing a
5379 UNIX shell environment which can be used to run programs available on
5382 It supports several profiles, multiple tabs and implements several
5383 keyboard shortcuts.")
5384 (license license:gpl3+)))
5386 (define-public colord-minimal
5388 (name "colord-minimal")
5393 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5394 "colord-" version ".tar.xz"))
5396 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5397 (build-system meson-build-system)
5399 '( ;; FIXME: One test fails:
5400 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5401 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5402 ;; application/x-zerosize
5405 #:configure-flags (list "-Dargyllcms_sensor=false" ;requires spotread
5406 "-Dbash_completion=false"
5407 "-Ddaemon_user=colord"
5409 "-Dlocalstatedir=/var"
5412 "-Dsystemd=false") ;no systemd
5414 (modify-phases %standard-phases
5415 (add-before 'configure 'patch-build-system
5416 (lambda* (#:key outputs #:allow-other-keys)
5417 (substitute* "rules/meson.build"
5418 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5419 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))))
5420 (add-before 'configure 'set-sqlite3-file-name
5421 (lambda* (#:key inputs #:allow-other-keys)
5422 ;; "colormgr dump" works by invoking the "sqlite3" command.
5423 ;; Record its absolute file name.
5424 (let ((sqlite (assoc-ref inputs "sqlite")))
5425 (substitute* "client/cd-util.c"
5427 (string-append "\"" sqlite "/bin/sqlite3\"")))))))))
5429 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5430 ("gettext" ,gettext-minimal)
5431 ("pkg-config" ,pkg-config)
5434 ;; colord.pc refers to all these.
5439 `(("dbus-glib" ,dbus-glib)
5440 ("gobject-introspection" ,gobject-introspection)
5441 ("gusb" ,gusb-minimal)
5442 ("libgudev" ,libgudev)
5445 ("python" ,python-wrapper)
5447 ("sane-backends" ,sane-backends)))
5448 (home-page "https://www.freedesktop.org/software/colord/")
5449 (synopsis "Color management service")
5450 (description "Colord is a system service that makes it easy to manage,
5451 install and generate color profiles to accurately color manage input and
5453 (license license:gpl2+)))
5455 (define-public colord
5456 (package/inherit colord-minimal
5459 (substitute-keyword-arguments
5460 (package-arguments colord-minimal)
5461 ((#:configure-flags flags)
5463 (use-modules (srfi srfi-1))
5464 (append '("-Dbash_completion=true"
5468 (fold delete ,flags '("-Dbash_completion=false"
5472 `(modify-phases ,phases
5473 (add-after 'unpack 'fix-bash-completion-dir
5474 (lambda* (#:key outputs #:allow-other-keys)
5475 (substitute* "data/meson.build"
5476 (("bash_completion.get_pkgconfig_variable\
5477 \\('completionsdir'\\)")
5478 (string-append "'" (assoc-ref outputs "out")
5479 "/etc/bash_completion.d'")))))))))
5482 `(("bash-completion" ,bash-completion)
5483 ("docbook-xsl-ns" ,docbook-xsl-ns)
5484 ("gtk-doc" ,gtk-doc/stable)
5485 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5486 ("libxslt" ,libxslt)
5487 ("vala" ,vala)) ;for VAPI, needed by simple-scan
5488 (package-native-inputs colord-minimal)))))
5490 (define-public geoclue
5498 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5499 version "/geoclue-" version ".tar.bz2"))
5501 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5502 (patches (search-patches "geoclue-config.patch"))))
5503 (build-system meson-build-system)
5505 '(#:configure-flags (list "-Ddbus-srv-user=geoclue")))
5507 `(("pkg-config" ,pkg-config)
5508 ("gobject-introspection" ,gobject-introspection)
5509 ("modem-manager" ,modem-manager)
5510 ("libnotify" ,libnotify)
5511 ("gtk-doc" ,gtk-doc/stable)
5512 ("intltool" ,intltool)))
5515 ("glib:bin" ,glib "bin")
5516 ("glib-networking" ,glib-networking)
5517 ("json-glib" ,json-glib)
5518 ("libsoup" ,libsoup-minimal-2)))
5519 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5520 (synopsis "Geolocation service")
5521 (description "Geoclue is a D-Bus service that provides location
5522 information. The primary goal of the Geoclue project is to make creating
5523 location-aware applications as simple as possible, while the secondary goal is
5524 to ensure that no application can access location information without explicit
5525 permission from user.")
5526 (license license:gpl2+)))
5528 (define-public geocode-glib
5530 (name "geocode-glib")
5534 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5535 (version-major+minor version) "/"
5536 "geocode-glib-" version ".tar.xz"))
5539 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5540 (build-system meson-build-system)
5543 (modify-phases %standard-phases
5544 ;; The tests require a bunch of locales.
5545 (add-before 'check 'set-locales
5546 (lambda* (#:key inputs #:allow-other-keys)
5547 (setenv "GUIX_LOCPATH"
5548 (search-input-directory inputs "lib/locale")))))))
5550 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5551 ("glibc-locales" ,glibc-locales) ; for tests
5552 ("gettext" ,gettext-minimal)
5553 ("gobject-introspection" ,gobject-introspection)
5554 ("gtk-doc" ,gtk-doc/stable)
5555 ("pkg-config" ,pkg-config)
5556 ("json-glib" ,json-glib)))
5558 ;; geocode-glib-1.0.pc refers to GIO.
5561 `(("libsoup" ,libsoup-minimal-2)))
5562 (home-page "https://github.com/GNOME/geocode-glib/")
5563 (synopsis "Geocoding and reverse-geocoding library")
5565 "geocode-glib is a convenience library for geocoding (finding longitude,
5566 and latitude from an address) and reverse geocoding (finding an address from
5567 coordinates) using the Nominatim service. geocode-glib caches requests for
5568 faster results and to avoid unnecessary server load.")
5569 (license license:lgpl2.0+)))
5571 (define-public upower
5579 (url "https://gitlab.freedesktop.org/upower/upower")
5580 (commit (string-append "UPOWER_"
5581 (string-map (match-lambda (#\. #\_)
5584 (file-name (git-file-name name version))
5586 (base32 "00q63yc8vp5cq05vhpwq3qglapdm8hg0lrqkzdwkphk30qzb6hv6"))
5587 (patches (search-patches "upower-builddir.patch"))
5588 (modules '((guix build utils)))
5592 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5593 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5594 ;; 'dbus-configuration-directory' in (gnu services dbus)
5595 ;; expects it in etc/. Thus, move it back to its previous
5597 (substitute* "src/Makefile.am"
5598 (("^dbusconfdir =.*$")
5599 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5601 (build-system glib-or-gtk-build-system)
5604 (modify-phases %standard-phases
5605 (add-before 'check 'pre-check
5606 (lambda* (#:key inputs #:allow-other-keys)
5607 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5609 (setenv "LD_LIBRARY_PATH" umockdev))
5611 #:configure-flags (list "--localstatedir=/var"
5612 (string-append "--with-udevrulesdir="
5613 (assoc-ref %outputs "out")
5614 "/lib/udev/rules.d"))))
5616 `(("autoconf" ,autoconf)
5617 ("automake" ,automake)
5618 ("gobject-introspection" ,gobject-introspection)
5619 ("gtk-doc" ,gtk-doc)
5620 ("intltool" ,intltool)
5621 ("libtool" ,libtool)
5622 ("pkg-config" ,pkg-config)
5624 ("which" ,which) ; for ./autogen.sh
5627 ("python-dbus" ,python-dbus)
5628 ("python-dbusmock" ,python-dbusmock)
5629 ("python-pygobject" ,python-pygobject)
5630 ("umockdev" ,umockdev)
5633 ("docbook-xsl" ,docbook-xsl)
5634 ("libxslt" ,libxslt) ; for 'xsltproc'
5635 ("libxml2" ,libxml2))) ; for 'XML_CATALOG_FILES'
5637 `(("dbus-glib" ,dbus-glib)
5638 ("libgudev" ,libgudev)
5639 ("libusb" ,libusb)))
5641 ;; In Requires of upower-glib.pc.
5643 (home-page "https://upower.freedesktop.org/")
5644 (synopsis "System daemon for managing power devices")
5646 "UPower is an abstraction for enumerating power devices,
5647 listening to device events and querying history and statistics. Any
5648 application or service on the system can access the org.freedesktop.UPower
5649 service via the system message bus.")
5650 (license license:gpl2+)))
5652 (define-public libgweather
5654 (name "libgweather")
5658 (uri (string-append "mirror://gnome/sources/" name "/"
5659 (version-major version) "/"
5660 name "-" version ".tar.xz"))
5663 "1rkf4yv43qcahyx7bismdv6z2vh5azdnm1fqfmnzrada9cm8ykna"))))
5664 (build-system meson-build-system)
5666 `(#:tests? #f ; one of two tests requires network access
5668 `(,(string-append "-Dzoneinfo_dir="
5669 (assoc-ref %build-inputs "tzdata")
5670 "/share/zoneinfo"))))
5672 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5673 ("gobject-introspection" ,gobject-introspection)
5674 ("pkg-config" ,pkg-config)
5676 ("intltool" ,intltool)
5677 ("python-pygobject" ,python-pygobject)))
5679 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5682 ("gdk-pixbuf" ,gdk-pixbuf)
5683 ("libxml2" ,libxml2)
5684 ("libsoup" ,libsoup-minimal-2)
5685 ("geocode-glib" ,geocode-glib)))
5687 `(("tzdata" ,tzdata)))
5688 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5689 (synopsis "Location, time zone, and weather library for GNOME")
5691 "libgweather is a library to access weather information from online
5692 services for numerous locations.")
5693 (license license:gpl2+)))
5695 (define-public gnome-settings-daemon
5697 (name "gnome-settings-daemon")
5702 (uri (string-append "mirror://gnome/sources/" name "/"
5703 (version-major version) "/"
5704 name "-" version ".tar.xz"))
5707 "111qcvlqjpasnswdniy5n53wyrs1y7a91qx1w4nsppnizdhn7jp6"))
5708 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5709 (build-system meson-build-system)
5711 `(#:meson ,meson-0.59
5714 (list (string-append "-Dudev_dir="
5715 (assoc-ref %outputs "out")
5716 "/lib/udev/rules.d/")
5718 ;; Otherwise, the RUNPATH will lack the final path component.
5719 (string-append "-Dc_link_args=-Wl,-rpath="
5720 (assoc-ref %outputs "out")
5721 "/lib/gnome-settings-daemon-3.0"))
5723 #:phases (modify-phases %standard-phases
5724 (add-before 'configure 'set-baobab-file-name
5725 (lambda* (#:key inputs #:allow-other-keys)
5726 ;; Hard-code the file name of Baobab instead of looking
5727 ;; it up in $PATH. This ensures users get the "Examine"
5728 ;; button in the low disk space notification of GDM even
5729 ;; if they don't have GNOME in their main profile.
5730 (let ((baobab (assoc-ref inputs "baobab")))
5731 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5732 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5733 (string-append "g_strdup (\"" baobab
5734 "/bin/baobab\")")))))))
5736 ;; Color management test can't reach the colord system service.
5739 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5740 ("pkg-config" ,pkg-config)
5741 ("intltool" ,intltool)
5742 ("xsltproc" ,libxslt)
5743 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5744 ("docbook-xml" ,docbook-xml-4.2)
5745 ("docbook-xsl" ,docbook-xsl)))
5747 `(("alsa-lib" ,alsa-lib)
5750 ("libgudev" ,libgudev)
5753 ("pulseaudio" ,pulseaudio)
5754 ("libcanberra" ,libcanberra)
5756 ("libxtst" ,libxtst)
5758 ("libnotify" ,libnotify)
5759 ("geoclue" ,geoclue)
5760 ("geocode-glib" ,geocode-glib)
5761 ("libgweather" ,libgweather)
5762 ("gnome-desktop" ,gnome-desktop)
5765 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5766 ("libwacom" ,libwacom)
5767 ("librsvg" ,librsvg)
5768 ("xf86-input-wacom" ,xf86-input-wacom)
5769 ("wayland" ,wayland)
5770 ("network-manager" ,network-manager)
5772 ("modem-manager" ,modem-manager)))
5773 (home-page "https://www.gnome.org")
5774 (synopsis "GNOME settings daemon")
5776 "This package contains the daemon responsible for setting the various
5777 parameters of a GNOME session and the applications that run under it. It
5778 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5779 settings, themes, mouse settings, and startup of other daemons.")
5780 (license license:gpl2+)))
5782 (define-public totem-pl-parser
5784 (name "totem-pl-parser")
5788 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5789 (version-major+minor version) "/"
5790 "totem-pl-parser-" version ".tar.xz"))
5793 "075csd5x0frgf93jvhlqiwv5i0qm24zz3iw17jj7v7fgsml0zpy0"))))
5794 (build-system meson-build-system)
5796 ;; FIXME: Tests require gvfs.
5799 `(("intltool" ,intltool)
5800 ("glib" ,glib "bin")
5801 ("gobject-introspection" ,gobject-introspection)
5802 ("pkg-config" ,pkg-config)))
5806 ("libarchive" ,libarchive)
5807 ("libgcrypt" ,libgcrypt)
5808 ("libxml2" ,libxml2)))
5810 `(("libsoup" ,libsoup)))
5811 (home-page "https://projects.gnome.org/totem")
5812 (synopsis "Library to parse and save media playlists for GNOME")
5813 (description "Totem-pl-parser is a GObjects-based library to parse and save
5814 playlists in a variety of formats.")
5815 (license license:lgpl2.0+)))
5817 (define-public aisleriot
5823 (uri (string-append "mirror://gnome/sources/aisleriot/"
5824 (version-major+minor version) "/"
5825 "aisleriot-" version ".tar.xz"))
5828 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5829 (build-system glib-or-gtk-build-system)
5832 '("--with-platform=gtk-only"
5833 "--with-card-theme-formats=svg")))
5835 `(("desktop-file-utils" ,desktop-file-utils)
5836 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5837 ("intltool" ,intltool)
5838 ("itstool" ,itstool)
5839 ("pkg-config" ,pkg-config)
5840 ("xmllint" ,libxml2)))
5843 ("guile" ,guile-2.2)
5844 ("libcanberra" ,libcanberra)
5845 ("librsvg" ,librsvg)))
5846 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5847 (synopsis "Solitaire card games")
5849 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5850 which are easy to play with the aid of a mouse.")
5851 (license license:gpl3+)))
5859 (uri (string-append "mirror://gnome/sources/amtk/"
5860 (version-major+minor version) "/"
5861 "amtk-" version ".tar.xz"))
5864 "12v3nj1bb7507ndprjggq0hpz8k719b4bwvl8sm43p3ibmn27anm"))))
5865 (build-system meson-build-system)
5867 `(("gobject-introspection" ,gobject-introspection)
5868 ("glib:bin" ,glib "bin") ; for glib-mkenums
5869 ("gtk-doc" ,gtk-doc/stable)
5870 ("pkg-config" ,pkg-config)))
5874 (home-page "https://wiki.gnome.org/Projects/Amtk")
5875 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5877 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5878 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5879 both a traditional UI or a modern UI with a GtkHeaderBar.")
5880 (license license:lgpl2.1+)))
5882 (define-public devhelp
5888 (uri (string-append "mirror://gnome/sources/" name "/"
5889 (version-major version) "/"
5890 name "-" version ".tar.xz"))
5893 "1lk0gycjvs6gibhy0zs3ffkrkzrkyl5nkp7n60hgpa6syjq91apc"))))
5894 (build-system meson-build-system)
5899 (modify-phases %standard-phases
5900 (add-after 'unpack 'skip-gtk-update-icon-cache
5901 ;; Don't create 'icon-theme.cache'.
5903 (substitute* "build-aux/meson/meson_post_install.py"
5904 (("gtk-update-icon-cache") "true"))))
5905 (add-after 'unpack 'fix-devhelp-gir-inputs
5906 ;; It still mentions webkitgtk 4.0
5908 (substitute* "devhelp/meson.build"
5909 (("'WebKit2-4.0'") "'WebKit2-4.1'")))))))
5911 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
5913 `(("intltool" ,intltool)
5914 ("itstool" ,itstool)
5915 ("gobject-introspection" ,gobject-introspection)
5916 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5917 ("pkg-config" ,pkg-config)))
5920 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5921 ("webkitgtk" ,webkitgtk)))
5922 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5923 (synopsis "API documentation browser for GNOME")
5925 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5926 natively with GTK-Doc (the API reference system developed for GTK+ and used
5927 throughout GNOME for API documentation).")
5928 (license license:gpl2+)))
5930 (define-public devhelp-with-libsoup2
5931 (package/inherit devhelp
5933 (substitute-keyword-arguments (package-arguments devhelp)
5934 ((#:phases phases '%standard-phases)
5935 `(modify-phases %standard-phases
5936 (add-after 'unpack 'skip-gtk-update-icon-cache
5937 ;; Don't create 'icon-theme.cache'.
5939 (substitute* "build-aux/meson/meson_post_install.py"
5940 (("gtk-update-icon-cache") "true"))))))))
5943 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5944 ("webkitgtk" ,webkitgtk-with-libsoup2)))))
5953 (uri (string-append "mirror://gnome/sources/cogl/"
5954 (version-major+minor version) "/"
5955 "cogl-" version ".tar.xz"))
5957 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5958 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5959 ;; cogl, corresponding changes may be appropriate in mutter as well.
5960 (build-system gnu-build-system)
5962 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5963 ("gobject-introspection" ,gobject-introspection)
5964 ("xorg-server" ,xorg-server-for-tests)
5965 ("pkg-config" ,pkg-config)))
5968 ("gdk-pixbuf" ,gdk-pixbuf)
5970 ("libxext" ,libxext)
5971 ("libxfixes" ,libxfixes)
5972 ("libxdamage" ,libxdamage)
5973 ("libxcomposite" ,libxcomposite)
5974 ("libxrandr" ,libxrandr)))
5979 ("gstreamer" ,gstreamer)
5980 ("gst-plugins-base" ,gst-plugins-base)
5981 ("wayland" ,wayland)))
5983 `(#:disallowed-references (,xorg-server-for-tests)
5984 #:configure-flags (list "--enable-cogl-gst"
5985 "--enable-wayland-egl-platform"
5986 "--enable-wayland-egl-server"
5988 ;; Arrange to pass an absolute file name to
5989 ;; dlopen for libGL.so.
5990 (string-append "--with-gl-libname="
5991 (assoc-ref %build-inputs "mesa")
5994 (modify-phases %standard-phases
5995 (add-after 'unpack 'fix-build-with-mesa-20
5997 ;; Work around a problem with Mesa 20 where some macros used by
5998 ;; Cogl went missing from eglext.h. This can likely be removed
5999 ;; for newer versions of Cogl or Mesa.
6000 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
6001 (substitute* '("configure"
6002 "cogl/winsys/cogl-winsys-egl-kms.c")
6003 (("#include <EGL/eglext.h>" all)
6004 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
6006 (add-before 'check 'start-xorg-server
6007 (lambda* (#:key tests? inputs #:allow-other-keys)
6010 ;; The test suite requires a running X server.
6011 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
6012 (assoc-ref inputs "xorg-server")))
6013 (setenv "DISPLAY" ":1")
6015 (format #t "test suite not run~%"))
6017 (home-page "https://www.cogl3d.org")
6018 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
6020 "Cogl is a small library for using 3D graphics hardware to draw pretty
6021 pictures. The API departs from the flat state machine style of OpenGL and is
6022 designed to make it easy to write orthogonal components that can render
6023 without stepping on each others toes.")
6024 (license (list license:expat ; most of the code
6025 license:bsd-3 ; cogl/cogl-point-in-poly.c
6026 license:sgifreeb2.0 ; cogl-path/tesselator/
6027 license:asl2.0)))) ; examples/android/
6029 (define-public clutter
6036 (uri (string-append "mirror://gnome/sources/" name "/"
6037 (version-major+minor version) "/"
6038 name "-" version ".tar.xz"))
6041 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
6042 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
6043 ;; to clutter, corresponding changes may be appropriate in mutter as well.
6044 (build-system gnu-build-system)
6046 "doc")) ;9 MiB of gtk-doc HTML pages
6048 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
6049 ("gobject-introspection" ,gobject-introspection)
6050 ("pkg-config" ,pkg-config)
6051 ("xsltproc" ,libxslt)))
6057 ("json-glib" ,json-glib)
6059 ("libxcomposite" ,libxcomposite)
6060 ("libxdamage" ,libxdamage)
6061 ("libxext" ,libxext)
6062 ("xinput" ,xinput)))
6064 `(("libxkbcommon" ,libxkbcommon)
6067 `(#:configure-flags (list "--enable-x11-backend=yes"
6069 ;; This produces share/doc/{clutter,cally}.
6070 (string-append "--with-html-dir="
6071 (assoc-ref %outputs "doc")
6073 ;; XXX FIXME: Get test suite working. It would probably fail in the
6074 ;; same way the cogl tests fail, since clutter is based on cogl.
6076 (home-page "http://www.clutter-project.org")
6077 (synopsis "OpenGL-based interactive canvas library")
6079 "Clutter is an OpenGL-based interactive canvas library, designed for
6080 creating fast, mainly 2D single window applications such as media box UIs,
6081 presentations, kiosk style applications and so on.")
6082 (license license:lgpl2.0+)))
6084 (define-public clutter-gtk
6086 (name "clutter-gtk")
6091 (uri (string-append "mirror://gnome/sources/" name "/"
6092 (version-major+minor version) "/"
6093 name "-" version ".tar.xz"))
6096 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
6097 (build-system gnu-build-system)
6099 `(("pkg-config" ,pkg-config)
6100 ("gobject-introspection" ,gobject-introspection)))
6102 ;; clutter-gtk.pc refers to all these.
6103 `(("clutter" ,clutter)
6105 (home-page "http://www.clutter-project.org")
6106 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
6108 "Clutter is an OpenGL-based interactive canvas library, designed for
6109 creating fast, mainly 2D single window applications such as media box UIs,
6110 presentations, kiosk style applications and so on.")
6111 (license license:lgpl2.0+)))
6113 (define-public clutter-gst
6115 (name "clutter-gst")
6120 (uri (string-append "mirror://gnome/sources/clutter-gst/"
6121 (version-major+minor version) "/"
6122 "clutter-gst-" version ".tar.xz"))
6124 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
6125 (build-system gnu-build-system)
6127 `(("glib:bin" ,glib "bin") ; for glib-mkenums
6128 ("pkg-config" ,pkg-config)
6129 ("gobject-introspection" ,gobject-introspection)))
6131 `(("clutter" ,clutter)
6132 ("gstreamer" ,gstreamer)
6133 ("gst-plugins-base" ,gst-plugins-base)))
6134 (home-page "http://www.clutter-project.org")
6135 (synopsis "Integration library for using GStreamer with Clutter")
6137 "Clutter-Gst is an integration library for using GStreamer with Clutter.
6138 It provides a GStreamer sink to upload frames to GL and an actor that
6139 implements the ClutterGstPlayer interface using playbin. Clutter is an
6140 OpenGL-based interactive canvas library.")
6141 (license license:lgpl2.0+)))
6143 (define-public libchamplain
6145 (name "libchamplain")
6150 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
6154 "0rihpb0npqpihqcdz4w03rq6xl7jdckfqskvv9diq2hkrnzv8ch2"))))
6155 (build-system meson-build-system)
6157 `(("gobject-introspection" ,gobject-introspection)
6158 ("pkg-config" ,pkg-config)
6161 `(("libsoup" ,libsoup-minimal-2)
6163 ("clutter" ,clutter)
6164 ("clutter-gtk" ,clutter-gtk)
6165 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
6169 (home-page "https://projects.gnome.org/libchamplain/")
6170 (synopsis "C library providing a ClutterActor to display maps")
6172 "libchamplain is a C library providing a ClutterActor to display maps.
6173 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
6174 and Perl bindings are also available. It supports numerous free map sources
6175 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
6176 (license license:lgpl2.1+)))
6185 (uri (string-append "mirror://gnome/sources/gom/"
6186 (version-major+minor version) "/"
6187 "gom-" version ".tar.xz"))
6190 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
6191 (build-system gnu-build-system)
6193 `(("intltool" ,intltool)
6194 ("pkg-config" ,pkg-config)
6195 ("gobject-introspection" ,gobject-introspection)))
6198 ("gdk-pixbuf" ,gdk-pixbuf)
6199 ("sqlite" ,sqlite)))
6200 ;; XXX TODO: Figure out how to run the test suite.
6201 (arguments `(#:tests? #f))
6202 (home-page "https://wiki.gnome.org/Projects/Gom")
6203 (synopsis "Object mapper from GObjects to SQLite")
6205 "Gom provides an object mapper from GObjects to SQLite. It helps you
6206 write applications that need to store structured data as well as make complex
6207 queries upon that data.")
6208 (license license:lgpl2.1+)))
6210 (define-public libgnome-games-support
6212 (name "libgnome-games-support")
6216 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6217 (version-major+minor version) "/"
6218 "libgnome-games-support-" version ".tar.xz"))
6221 "11g1r3ppb9v8m3anks9gxf7fv1x38vmjiya3lr7zjjv328pb69d6"))))
6222 (build-system meson-build-system)
6226 (modify-phases %standard-phases
6227 (add-before 'check 'pre-check
6229 ;; Tests require a writable HOME.
6230 (setenv "HOME" (getcwd))
6233 `(("intltool" ,intltool)
6234 ("pkg-config" ,pkg-config)
6237 ;; Required by libgnome-games-support-1.0.pc
6239 ("libgee" ,libgee)))
6240 (home-page "https://www.gnome.org/")
6241 (synopsis "Useful functionality shared among GNOME games")
6243 "libgnome-games-support is a small library intended for internal use by
6244 GNOME Games, but it may be used by others.")
6245 (license license:lgpl3+)))
6247 (define-public gnome-klotski
6249 (name "gnome-klotski")
6253 (uri (string-append "mirror://gnome/sources/" name "/"
6254 (version-major+minor version) "/"
6255 name "-" version ".tar.xz"))
6258 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
6259 (build-system meson-build-system)
6263 (modify-phases %standard-phases
6264 (add-after 'unpack 'skip-gtk-update-icon-cache
6265 ;; Don't create 'icon-theme.cache'.
6267 (substitute* "build-aux/meson_post_install.py"
6268 (("gtk-update-icon-cache") (which "true")))
6271 `(("desktop-file-utils" ,desktop-file-utils)
6272 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6273 ("intltool" ,intltool)
6274 ("itstool" ,itstool)
6275 ("pkg-config" ,pkg-config)
6277 ("xmllint" ,libxml2)))
6280 ("libgnome-games-support" ,libgnome-games-support)
6281 ("librsvg" ,librsvg)))
6282 (home-page "https://wiki.gnome.org/Apps/Klotski")
6283 (synopsis "Sliding block puzzles")
6285 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6286 the patterned block to the area bordered by green markers. To do so, you will
6287 need to slide other blocks out of the way. Complete each puzzle in as few moves
6289 (license license:gpl2+)))
6291 (define-public grilo
6298 (uri (string-append "mirror://gnome/sources/grilo/"
6299 (version-major+minor version) "/"
6300 "grilo-" version ".tar.xz"))
6302 (base32 "0ywjvh7xw4ql1q4fvl0q5n06n08pga1g1nc9l7c3x5214gr3fj6i"))))
6303 (build-system meson-build-system)
6305 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6306 ("intltool" ,intltool)
6307 ("pkg-config" ,pkg-config)
6308 ("gobject-introspection" ,gobject-introspection)
6309 ("gtk-doc" ,gtk-doc/stable)
6312 `(("cyrus-sasl" ,cyrus-sasl)
6315 ("libxml2" ,libxml2)
6316 ("liboauth" ,liboauth)
6317 ("libsoup" ,libsoup-minimal-2)
6318 ("totem-pl-parser" ,totem-pl-parser)))
6319 (native-search-paths
6320 (list (search-path-specification
6321 (variable "GRL_PLUGIN_PATH")
6322 (files (list (string-append "lib/grilo-"
6323 (version-major+minor version)))))))
6324 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6325 (synopsis "Framework for discovering and browsing media")
6327 "Grilo is a framework focused on making media discovery and browsing easy
6328 for application developers.")
6329 (license license:lgpl2.1+)))
6331 (define-public grilo-plugins
6333 (name "grilo-plugins")
6338 (uri (string-append "mirror://gnome/sources/" name "/"
6339 (version-major+minor version) "/"
6340 name "-" version ".tar.xz"))
6342 (base32 "1y10nnd711qxwgpz6spzp1rnk50fyf11kk1n71a31ab4fgb0ahqw"))))
6343 (build-system meson-build-system)
6345 `(("gettext" ,gettext-minimal)
6346 ("glib:bin" ,glib "bin")
6347 ("gtk+:bin" ,gtk+ "bin")
6348 ("itstool" ,itstool)
6349 ("pkg-config" ,pkg-config)))
6350 ;; TODO: ahavi, gstreamer
6353 ;("gmime" ,gmime) ; unused
6354 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6356 ;("gssdp" ,gssdp) ; unused
6357 ;("gupnp" ,gupnp) ; unused
6358 ;("gupnp-av" ,gupnp-av) ; unused
6359 ("json-glib" ,json-glib)
6361 ("libgdata" ,libgdata)
6362 ("libmediaart" ,libmediaart)
6363 ;("librest" ,rest) ; unused
6364 ("libsoup" ,libsoup)
6365 ("python-pygobject" ,python-pygobject)
6366 ("totam-pl-parser" ,totem-pl-parser)
6367 ("tracker" ,tracker)
6368 ("tracker-miners" ,tracker-miners)))
6371 ;;Disable lua-factory as it needs missing dependencies
6372 #:configure-flags '("-Denable-lua-factory=no")
6374 (modify-phases %standard-phases
6375 (add-before 'configure 'set-shell
6377 (setenv "SHELL" (which "bash"))))
6378 ;; Disable the tracker test that requires the UPower daemon.
6379 (add-before 'configure 'fix-tests
6380 (lambda* (#:key inputs #:allow-other-keys)
6381 (substitute* "tests/tracker3/meson.build"
6382 (("'test_tracker3'.*") "")))))))
6383 (home-page "https://live.gnome.org/Grilo")
6384 (synopsis "Plugins for the Grilo media discovery library")
6386 "Grilo is a framework focused on making media discovery and browsing easy
6387 for application developers. This package provides plugins for common media
6388 discovery protocols.")
6389 (license license:lgpl2.1+)))
6391 (define-public totem
6398 (uri (string-append "mirror://gnome/sources/totem/"
6399 (version-major+minor version) "/"
6400 "totem-" version ".tar.xz"))
6402 (base32 "02510lvzvxvmpcs64k6sqix8ysl7sihhhwvp0vmfv7521ryczylg"))))
6403 (build-system meson-build-system)
6405 `(("pkg-config" ,pkg-config)
6406 ("desktop-file-utils" ,desktop-file-utils)
6407 ("gettext" ,gettext-minimal)
6408 ("gobject-introspection" ,gobject-introspection)
6409 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6410 ("itstool" ,itstool)
6411 ("xmllint" ,libxml2)
6412 ("xorg-server" ,xorg-server-for-tests)))
6414 `(("dconf" ,dconf)))
6417 ("gdk-pixbuf" ,gdk-pixbuf)
6420 ("dbus-glib" ,dbus-glib)
6421 ("clutter" ,clutter)
6422 ("clutter-gtk" ,clutter-gtk)
6423 ("clutter-gst" ,clutter-gst)
6424 ("xorgproto" ,xorgproto)
6425 ("libxxf86vm" ,libxxf86vm)
6426 ("libxtst" ,libxtst)
6427 ("libxrandr" ,libxrandr)
6428 ("libxml2" ,libxml2)
6429 ("libsoup" ,libsoup)
6430 ("libpeas" ,libpeas)
6431 ("librsvg" ,librsvg)
6433 ("gnome-desktop" ,gnome-desktop)
6434 ("gstreamer" ,gstreamer)
6435 ("gst-plugins-base" ,gst-plugins-base)
6436 ("gst-plugins-good" ,gst-plugins-good)
6437 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6438 ("adwaita-icon-theme" ,adwaita-icon-theme)
6440 ("python-pygobject" ,python-pygobject)
6441 ("totem-pl-parser" ,totem-pl-parser)
6443 ("grilo-plugins" ,grilo-plugins)
6446 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
6449 ;; Disable automatic GStreamer plugin installation via PackageKit and
6451 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6453 ;; Do not build .a files for the plugins, it's
6454 ;; completely useless. This saves 2 MiB.
6455 "--default-library" "shared")
6457 (modify-phases %standard-phases
6458 (add-after 'unpack 'skip-gtk-update-icon-cache
6459 ;; Don't create 'icon-theme.cache'.
6461 (substitute* "meson_post_install.py"
6462 (("gtk-update-icon-cache") "true"))
6465 'install 'disable-cache-generation
6467 (setenv "DESTDIR" "/")
6472 ;; Tests require a running X server.
6473 (system "Xvfb :1 &")
6474 (setenv "DISPLAY" ":1")
6477 'install 'wrap-totem
6478 (lambda* (#:key inputs outputs #:allow-other-keys)
6479 (let ((out (assoc-ref outputs "out"))
6480 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6481 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6482 (wrap-program (string-append out "/bin/totem")
6483 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6484 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6485 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6486 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6488 (home-page "https://wiki.gnome.org/Apps/Videos")
6489 (synopsis "Simple media player for GNOME based on GStreamer")
6490 (description "Totem is a simple yet featureful media player for GNOME
6491 which can read a large number of file formats.")
6492 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6493 ;; to be used and distributed together with GStreamer and Totem. See
6494 ;; file://COPYING in the source distribution for details.
6495 (license license:gpl2+)))
6497 (define-public rhythmbox
6503 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6504 (version-major+minor version) "/"
6505 "rhythmbox-" version ".tar.xz"))
6508 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6509 (build-system glib-or-gtk-build-system)
6512 (list "--enable-lirc"
6519 (modify-phases %standard-phases
6521 'install 'wrap-rhythmbox
6522 (lambda* (#:key inputs outputs #:allow-other-keys)
6523 (let ((out (assoc-ref outputs "out"))
6524 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6525 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6526 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6527 (python-path (getenv "GUIX_PYTHONPATH")))
6528 (wrap-program (string-append out "/bin/rhythmbox")
6529 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6530 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6531 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6532 `("GUIX_PYTHONPATH" ":" prefix (,python-path))))
6535 `(("dconf" ,dconf)))
6537 `(("itstool" ,itstool)
6538 ("intltool" ,intltool)
6539 ("glib" ,glib "bin")
6540 ("gobject-introspection" ,gobject-introspection)
6541 ("desktop-file-utils" ,desktop-file-utils)
6542 ("pkg-config" ,pkg-config)
6543 ("xmllint" ,libxml2)))
6545 `(("json-glib" ,json-glib)
6547 ("gnome-desktop" ,gnome-desktop)
6549 ("python-pygobject" ,python2-pygobject)
6552 ("adwaita-icon-theme" ,adwaita-icon-theme)
6554 ("grilo-plugins" ,grilo-plugins)
6555 ("gstreamer" ,gstreamer)
6556 ("gst-plugins-base" ,gst-plugins-base)
6557 ("gst-plugins-good" ,gst-plugins-good)
6558 ("totem-pl-parser" ,totem-pl-parser)
6559 ("libgudev" ,libgudev)
6560 ;;("libmtp" ,libmtp) FIXME: Not detected
6561 ("libsecret" ,libsecret)
6562 ("libsoup" ,libsoup)
6563 ("libnotify" ,libnotify)
6564 ("libpeas" ,libpeas)
6566 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6567 ;;("clutter" ,clutter)
6568 ;;("clutter-gtk" ,clutter-gtk)
6569 ;;("clutter-gst" ,clutter-gst)
6570 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6577 ("brasero" ,brasero)))
6578 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6579 (synopsis "Music player for GNOME")
6580 (description "Rhythmbox is a music playing application for GNOME. It
6581 supports playlists, song ratings, and any codecs installed through gstreamer.")
6582 (license license:gpl2+)))
6590 (uri (string-append "mirror://gnome/sources/" name "/"
6591 (version-major version) "/"
6592 name "-" version ".tar.xz"))
6595 "0ddjwcd77nw0rxb5x5bz5hd671m8gya9827p8rsnb58x103kpai8"))))
6596 (build-system meson-build-system)
6598 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
6600 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6601 (list (string-append "-Dc_link_args=-Wl,-rpath="
6602 (assoc-ref %outputs "out") "/lib/eog"))
6604 (modify-phases %standard-phases
6605 (add-after 'unpack 'skip-gtk-update-icon-cache
6606 ;; Don't create 'icon-theme.cache'.
6608 (substitute* "meson_post_install.py"
6609 (("gtk-update-icon-cache") "true"))))
6610 (add-after 'install 'wrap-eog
6611 (lambda* (#:key outputs #:allow-other-keys)
6612 (let ((out (assoc-ref outputs "out"))
6613 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6614 (wrap-program (string-append out "/bin/eog")
6615 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
6617 `(("dconf" ,dconf)))
6619 `(("intltool" ,intltool)
6620 ("itstool" ,itstool)
6621 ("glib" ,glib "bin")
6622 ("gobject-introspection" ,gobject-introspection)
6623 ("pkg-config" ,pkg-config)
6624 ("xmllint" ,libxml2)))
6626 `(("gnome-desktop" ,gnome-desktop)
6627 ("shared-mime-info" ,shared-mime-info)
6628 ("adwaita-icon-theme" ,adwaita-icon-theme)
6631 ("libexif" ,libexif)
6632 ("libpeas" ,libpeas)
6633 ("libportal" ,libportal)
6634 ("libjpeg" ,libjpeg-turbo)
6635 ("librsvg" ,librsvg)
6636 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6638 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6639 (synopsis "GNOME image viewer")
6640 (description "Eye of GNOME is the GNOME image viewer. It
6641 supports image conversion, rotation, and slideshows.")
6642 (license license:gpl2+)))
6644 (define-public eog-plugins
6645 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6646 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6647 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6648 ;; 'XDG_DATA_DIRS' appropriately set.
6650 (name "eog-plugins")
6654 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6655 (version-major+minor version) "/"
6656 "eog-plugins-" version ".tar.xz"))
6659 "0gbvl54hjawcrj2cbkvsw5jx11p6jv1xkc58c8ikwwpb56gc3ric"))))
6660 (build-system gnu-build-system)
6661 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6662 (synopsis "Extensions for the Eye of GNOME image viewer")
6664 `(("pkg-config" ,pkg-config)
6665 ("gettext" ,gettext-minimal)))
6670 ("libpeas" ,libpeas)
6671 ("libexif" ,libexif)
6672 ("libchamplain" ,libchamplain)))
6674 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6678 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6679 @item @dfn{Map}, which displays a map of where the picture was taken on the
6681 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6684 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6685 ;; long suspicious byte stream that goes to a
6686 ;; ".gresource.eog_postasa_plugin" ELF section.
6687 (license license:gpl2+)))
6689 (define-public libgudev
6695 (uri (string-append "mirror://gnome/sources/" name "/"
6696 version "/" name "-" version ".tar.xz"))
6699 "094mgjmwgsgqrr1i0vd20ynvlkihvs3vgbmpbrhswjsrdp86j0z5"))))
6700 (build-system meson-build-system)
6702 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6703 ("gobject-introspection" ,gobject-introspection)
6704 ("pkg-config" ,pkg-config)))
6706 `(("glib" ,glib) ; in Requires of gudev-1.0.pc
6707 ("eudev" ,eudev))) ; in Requires.private of gudev-1.0.pc
6710 (home-page "https://wiki.gnome.org/Projects/libgudev")
6711 (synopsis "GObject bindings for libudev")
6713 "This library provides GObject bindings for libudev. It was originally
6714 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6715 (license license:lgpl2.1+)))
6723 (uri (string-append "mirror://gnome/sources/gvfs/"
6724 (version-major+minor version) "/"
6725 "gvfs-" version ".tar.xz"))
6728 "1hlxl6368h6nyqp1888szxs9hnpcw98k3h23dgqi29xd38klzsmj"))))
6729 (build-system meson-build-system)
6731 `(#:meson ,meson-0.59
6734 (list "-Dsystemduserunitdir=no"
6736 ;; Otherwise, the RUNPATH will lack the final path component.
6737 (string-append "-Dc_link_args=-Wl,-rpath="
6738 (assoc-ref %outputs "out") "/lib/gvfs"))))
6740 `(("glib:bin" ,glib "bin") ;for glib-genmarshal, etc.
6741 ("gettext" ,gettext-minimal)
6742 ("gtk-doc" ,gtk-doc/stable)
6743 ("pkg-config" ,pkg-config)
6744 ("xsltproc" ,libxslt)))
6747 ("docbook-xml" ,docbook-xml-4.2)
6748 ("docbook-xsl" ,docbook-xsl)
6750 ("elogind" ,elogind)
6754 ("gnome-online-accounts" ,gnome-online-accounts)
6755 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6756 ("libarchive" ,libarchive)
6757 ("libbluray" ,libbluray)
6759 ("libcdio-paranoia" ,libcdio-paranoia)
6760 ("libgcrypt" ,libgcrypt)
6761 ("libgdata" ,libgdata)
6762 ("libgphoto2" ,libgphoto2)
6763 ("libgudev" ,libgudev)
6764 ("libimobiledevice" ,libimobiledevice)
6767 ("libsecret" ,libsecret)
6768 ("libsmbclient" ,samba)
6769 ("libsoup" ,libsoup)
6770 ("libxml2" ,libxml2)
6771 ("openssh" ,openssh)
6773 ("udisks" ,udisks)))
6774 (home-page "https://wiki.gnome.org/gvfs/")
6775 (synopsis "Userspace virtual file system for GIO")
6777 "GVFS is a userspace virtual file system designed to work with the I/O
6778 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS
6779 support to all applications using the GIO API. It also supports exposing the
6780 GVFS mounts to non-GIO applications using FUSE.
6782 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6784 (license license:lgpl2.0+)))
6786 (define-public gusb-minimal
6788 (name "gusb-minimal")
6793 (url "https://github.com/hughsie/libgusb")
6795 (file-name (git-file-name name version))
6798 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6799 (build-system meson-build-system)
6801 `(#:tests? #f ;libusb fails to initialize. Wonder what that is.
6803 (cons "-Ddocs=false"
6804 (if ,(%current-target-system)
6805 ;; Introspection data cannot currently be cross-compiled.
6806 '("-Dintrospection=false"
6807 ;; Requires introspection data.
6811 `(("gobject-introspection" ,gobject-introspection)
6812 ("pkg-config" ,pkg-config)
6815 ;; Both of these are required by gusb.pc.
6817 ("libusb" ,libusb)))
6818 (home-page "https://github.com/hughsie/libgusb")
6819 (synopsis "GLib binding for libusb1")
6821 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6822 asynchronous control, bulk and interrupt transfers with proper cancellation
6823 and integration into a mainloop. This makes it easy to integrate low level
6824 USB transfers with your high-level application or system daemon.")
6825 (license license:lgpl2.1+)))
6828 (package/inherit gusb-minimal
6831 (substitute-keyword-arguments (package-arguments gusb-minimal)
6832 ((#:configure-flags flags)
6833 `(cons "-Ddocs=true"
6834 (delete "-Ddocs=false" ,flags)))))
6836 (cons `("gtk-doc" ,gtk-doc/stable)
6837 (package-native-inputs gusb-minimal)))))
6839 (define-public simple-scan
6841 (name "simple-scan")
6846 (uri (string-append "mirror://gnome/sources/simple-scan/"
6847 (version-major version) "/"
6848 "simple-scan-" version ".tar.xz"))
6850 (base32 "195rh8zj5n497gj42rd77mvkdl15hk0i08ll5h4hb9kcrgj7jlzb"))))
6851 (build-system meson-build-system)
6852 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6854 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
6861 ("gdk-pixbuf" ,gdk-pixbuf)
6863 ("libhandy" ,libhandy)
6864 ("libsane" ,sane-backends)))
6866 `(("gettext" ,gettext-minimal)
6867 ("itstool" ,itstool)
6868 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6869 ("pkg-config" ,pkg-config)
6871 ("xmllint" ,libxml2)))
6872 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6873 (synopsis "Document and image scanner")
6875 "Document Scanner is an easy-to-use application that lets you connect your
6876 scanner and quickly capture images and documents in an appropriate format. It
6877 supports any scanner for which a suitable SANE driver is available, which is
6878 almost all of them.")
6879 (license license:gpl3+)))
6881 (define-public eolie
6887 (uri (string-append "https://adishatz.org/eolie/eolie-"
6891 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6892 (build-system meson-build-system)
6896 (modify-phases %standard-phases
6897 (add-after 'unpack 'skip-gtk-update-icon-cache
6898 ;; Don't create 'icon-theme.cache'.
6900 (substitute* "meson_post_install.py"
6901 (("gtk-update-icon-cache") "true"))
6903 (add-after 'wrap 'wrap-more
6904 (lambda* (#:key inputs outputs #:allow-other-keys)
6905 (let* ((out (assoc-ref outputs "out"))
6906 ;; These libraries must be on LD_LIBRARY_PATH.
6907 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6908 "atk" "gtk+" "gsettings-desktop-schemas"
6909 "gobject-introspection"))
6912 (string-append (assoc-ref inputs lib) "/lib"))
6915 (wrap-program (string-append out "/bin/eolie")
6916 `("LD_LIBRARY_PATH" ":" prefix (,path))
6917 `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
6918 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6921 `(("intltool" ,intltool)
6922 ("itstool" ,itstool)
6923 ("pkg-config" ,pkg-config)
6925 ("glib:bin" ,glib "bin")))
6927 `(("gobject-introspection" ,gobject-introspection)
6928 ("glib-networking" ,glib-networking)
6931 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6932 ("python" ,python-wrapper)
6933 ("python-dateutil" ,python-dateutil)
6934 ("python-pyfxa" ,python-pyfxa)
6935 ("python-pygobject" ,python-pygobject)
6936 ("python-pycairo" ,python-pycairo)
6937 ("python-pycrypto" ,python-pycrypto)
6938 ("libhandy" ,libhandy)
6939 ("libsecret" ,libsecret)
6940 ("gtkspell3" ,gtkspell3)
6941 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6942 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
6943 ("webkitgtk" ,webkitgtk)))
6944 (home-page "https://wiki.gnome.org/Apps/Eolie")
6945 (synopsis "Web browser for GNOME")
6947 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6948 a secret password store, an adblocker, and a modern UI.")
6949 (license license:gpl3+)))
6951 (define-public epiphany
6957 (uri (string-append "mirror://gnome/sources/epiphany/"
6958 (version-major version) "/"
6959 "epiphany-" version ".tar.xz"))
6962 "0r7m34xzz3shdfxf2abxb069izak3yv3ijlg29qy4pfmyawkilfs"))))
6964 (build-system meson-build-system)
6969 (modify-phases %standard-phases
6970 (add-after 'unpack 'skip-gtk-update-icon-cache
6971 ;; Don't create 'icon-theme.cache'.
6973 (substitute* "post_install.py"
6974 (("gtk-update-icon-cache") "true"))))
6975 (add-after 'unpack 'disable-failing-tests
6977 (substitute* "tests/meson.build"
6978 ;; embed_shell fails, because webkitgtk apparently no longer
6979 ;; supports overriding the ftp schema web_app_utils fails due
6980 ;; to missing network access.
6981 (("(embed_shell|web_app_utils)_test,")
6982 "find_program('sh'), args: ['-c', 'exit 77'],"))))
6983 (add-before 'check 'pre-check
6985 ;; Tests require a running X server.
6986 (system "Xvfb :1 &")
6987 (setenv "DISPLAY" ":1"))))
6989 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6990 (list (string-append "-Dc_link_args=-Wl,-rpath="
6991 (assoc-ref %outputs "out") "/lib/epiphany"))))
6993 `(("dconf" ,dconf)))
6995 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6996 ("glib:bin" ,glib "bin") ; for glib-mkenums
6997 ("intltool" ,intltool)
6998 ("itstool" ,itstool)
6999 ("pkg-config" ,pkg-config)
7000 ("xmllint" ,libxml2)
7001 ("xorg-server" ,xorg-server-for-tests)))
7005 ("librsvg" ,librsvg) ; for loading SVG files
7006 ("glib-networking" ,glib-networking)
7007 ("gnome-desktop" ,gnome-desktop)
7008 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7009 ("json-glib" ,json-glib)
7010 ("iso-codes" ,iso-codes)
7011 ("libarchive" ,libarchive)
7012 ("libdazzle" ,libdazzle)
7013 ("libhandy" ,libhandy)
7014 ("libnotify" ,libnotify)
7015 ("libportal" ,libportal)
7016 ("libsecret" ,libsecret)
7017 ("libxslt" ,libxslt)
7018 ("nettle" ,nettle) ; for hogweed
7020 ("webkitgtk" ,webkitgtk-with-libsoup2)))
7021 (home-page "https://wiki.gnome.org/Apps/Web")
7022 (synopsis "GNOME web browser")
7024 "Epiphany is a GNOME web browser targeted at non-technical users. Its
7025 principles are simplicity and standards compliance.")
7026 (license license:gpl2+)))
7028 (define-public d-feet
7034 (uri (string-append "mirror://gnome/sources/" name "/"
7035 (version-major+minor version) "/"
7036 name "-" version ".tar.xz"))
7039 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
7040 (build-system glib-or-gtk-build-system)
7042 '(#:out-of-source? #f ; tests need to run in the source directory.
7044 (modify-phases %standard-phases
7048 ;; The test suite requires a running X server.
7049 (system "Xvfb :1 &")
7050 (setenv "DISPLAY" ":1")
7051 ;; Don't fail on missing '/etc/machine-id'.
7052 (setenv "DBUS_FATAL_WARNINGS" "0")
7053 ;; tests.py and window.py don't meet E402:
7054 ;; E402 module level import not at top of file
7055 (substitute* "src/tests/Makefile"
7056 (("--ignore=E123") "--ignore=E123,E402"))
7059 'install 'wrap-program
7060 (lambda* (#:key outputs #:allow-other-keys)
7061 (let ((prog (string-append (assoc-ref outputs "out")
7064 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
7065 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
7068 `(("intltool" ,intltool)
7069 ("itstool" ,itstool)
7070 ("pkg-config" ,pkg-config)
7071 ("python-pep8" ,python-pep8)
7072 ("xmllint" ,libxml2)
7073 ("xorg-server" ,xorg-server-for-tests)))
7075 `(("gobject-introspection" ,gobject-introspection)
7077 ("python" ,python-wrapper)
7078 ("hicolor-icon-theme" ,hicolor-icon-theme)
7079 ("python-pygobject" ,python-pygobject)))
7080 (home-page "https://wiki.gnome.org/Apps/DFeet")
7081 (synopsis "D-Bus debugger")
7083 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
7084 of running programs and invoke methods on those interfaces.")
7085 (license license:gpl2+)))
7087 (define-public yelp-xsl
7095 (string-append "mirror://gnome/sources/" name "/"
7096 (version-major version) "/"
7097 name "-" version ".tar.xz"))
7099 (base32 "19d46rkajvr0f04560vlrzwvac88x5j8ilvzwkawbn5vjg069kf8"))))
7100 (build-system gnu-build-system)
7106 `(("ducktype" ,mallard-ducktype)
7107 ("gettext" ,gettext-minimal)
7108 ("intltool" ,intltool)
7109 ("itstool" ,itstool)
7110 ("xmllint" ,libxml2)
7111 ("xsltproc" ,libxslt)))
7112 (synopsis "XSL stylesheets for Yelp")
7113 (description "Yelp-XSL is a collection of programs and data files to help
7114 you build, maintain, and distribute documentation. It provides XSLT stylesheets
7115 that can be built upon for help viewers and publishing systems. These
7116 stylesheets output JavaScript and CSS content, and reference images
7117 provided by yelp-xsl. It also redistributes copies of the jQuery and
7118 jQuery.Syntax JavaScript libraries.")
7119 (home-page "https://wiki.gnome.org/Apps/Yelp")
7135 (uri (string-append "mirror://gnome/sources/" name "/"
7136 (version-major version) "/"
7137 name "-" version ".tar.xz"))
7140 "11shrqass8ak8m10nayqssa6sbrrxa13ffpamvqi1c0yzkxdk9r5"))))
7141 (build-system glib-or-gtk-build-system)
7143 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
7144 ("intltool" ,intltool)
7145 ("itstool" ,itstool)
7146 ("pkg-config" ,pkg-config)))
7148 `(("dconf" ,dconf)))
7150 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7151 ("libxslt" ,libxslt)
7153 ("webkitgtk" ,webkitgtk)
7154 ("yelp-xsl" ,yelp-xsl)))
7155 (home-page "https://wiki.gnome.org/Apps/Yelp")
7156 (synopsis "GNOME help browser")
7158 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
7159 man, info, and HTML documents. It can locate documents according to the
7160 freedesktop.org help system specification.")
7161 (license license:gpl2+)))
7163 (define-public yelp-tools
7171 (string-append "mirror://gnome/sources/" name "/"
7172 (version-major+minor version) "/"
7173 name "-" version ".tar.xz"))
7175 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
7176 (build-system gnu-build-system)
7178 `(("pkg-config" ,pkg-config)))
7180 `(("yelp-xsl" ,yelp-xsl)))
7182 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
7183 `(("itstool" ,itstool)
7184 ("xmllint" ,libxml2)
7185 ("xsltproc" ,libxslt)))
7186 (synopsis "Yelp documentation tools")
7188 "Yelp-tools is a collection of scripts and build utilities to help create,
7189 manage, and publish documentation for Yelp and the web. Most of the heavy
7190 lifting is done by packages like yelp-xsl and itstool. This package just
7191 wraps things up in a developer-friendly way.")
7192 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
7193 (license license:gpl2+)))
7195 (define-public libgee
7201 (uri (string-append "mirror://gnome/sources/libgee/"
7202 (version-major+minor version) "/"
7203 "libgee-" version ".tar.xz"))
7206 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
7207 (build-system gnu-build-system)
7210 (modify-phases %standard-phases
7211 (add-after 'unpack 'fix-introspection-install-dir
7212 (lambda* (#:key outputs #:allow-other-keys)
7213 (let ((out (assoc-ref outputs "out")))
7214 (substitute* "gee/Makefile.in"
7215 (("@INTROSPECTION_GIRDIR@")
7216 (string-append out "/share/gir-1.0/"))
7217 (("@INTROSPECTION_TYPELIBDIR@")
7218 (string-append out "/lib/girepository-1.0/")))))))))
7220 `(("glib" ,glib "bin")
7221 ("pkg-config" ,pkg-config)))
7224 ("gobject-introspection" ,gobject-introspection)))
7225 (home-page "https://wiki.gnome.org/Projects/Libgee")
7226 (synopsis "GObject collection library")
7228 "Libgee is a utility library providing GObject-based interfaces and
7229 classes for commonly used data structures.")
7230 (license license:lgpl2.1+)))
7232 (define-public gexiv2
7238 (uri (string-append "mirror://gnome/sources/" name "/"
7239 (version-major+minor version) "/"
7240 name "-" version ".tar.xz"))
7243 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
7244 (build-system meson-build-system)
7247 ("glib" ,glib "bin")
7248 ("pkg-config" ,pkg-config)
7251 ;; Listed in "Requires" section of gexiv2.pc
7252 `(("exiv2" ,exiv2)))
7255 ("gobject-introspection" ,gobject-introspection)))
7256 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7257 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7259 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7260 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7261 metadata in photo and video files of various formats.")
7262 (license license:gpl2+)))
7264 (define-public shotwell
7270 (uri (string-append "mirror://gnome/sources/shotwell/"
7271 (version-major+minor version) "/"
7272 "shotwell-" version ".tar.xz"))
7275 "1h5crjq59lqi8f8mdkadzi8pc3i9i2ik4lsx2nrhzq486fzdfhw6"))))
7276 (build-system meson-build-system)
7280 (modify-phases %standard-phases
7281 (add-after 'unpack 'skip-gtk-update-icon-cache
7283 (substitute* "build-aux/meson/postinstall.py"
7284 (("gtk-update-icon-cache") (which "true"))
7285 (("update-desktop-database") (which "true")))
7288 `(("dconf" ,dconf)))
7290 `(("gettext" ,gettext-minimal)
7291 ("glib:bin" ,glib "bin")
7292 ("itstool" ,itstool)
7293 ("pkg-config" ,pkg-config)
7298 ("gst-plugins-base" ,gst-plugins-base)
7299 ("gstreamer" ,gstreamer)
7300 ("json-glib" ,json-glib)
7301 ("libgdata" ,libgdata)
7303 ("libgphoto2" ,libgphoto2)
7304 ("libgudev" ,libgudev)
7306 ("libxml2" ,libxml2)
7308 ("webkitgtk" ,webkitgtk-with-libsoup2)))
7309 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7310 (synopsis "Photo manager for GNOME 3")
7312 "Shotwell is a digital photo manager designed for the GNOME desktop
7313 environment. It allows you to import photos from disk or camera, organize
7314 them by keywords and events, view them in full-window or fullscreen mode, and
7315 share them with others via social networking and more.")
7316 (license license:lgpl2.1+)))
7318 (define-public file-roller
7320 (name "file-roller")
7324 (uri (string-append "mirror://gnome/sources/file-roller/"
7325 (version-major+minor version) "/"
7326 "file-roller-" version ".tar.xz"))
7329 "039w1dcpa5ypmv6sm634alk9vbcdkyvy595vkh5gn032jsiqca2a"))))
7330 (build-system meson-build-system)
7332 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7333 ("intltool" ,intltool)
7334 ("itstool" ,itstool)
7335 ("pkg-config" ,pkg-config)
7336 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7337 ("glib:bin" ,glib "bin")))
7338 ;; TODO: Add libnautilus.
7341 ("gdk-pixbuf" ,gdk-pixbuf)
7342 ("json-glib" ,json-glib)
7343 ("libarchive" ,libarchive)
7344 ("libnotify" ,libnotify)
7346 ("libxml2" ,libxml2)))
7347 (synopsis "Graphical archive manager for GNOME")
7348 (description "File Roller is an archive manager for the GNOME desktop
7349 environment that allows users to view, unpack, and create compressed archives
7350 such as gzip tarballs.")
7351 (home-page "http://fileroller.sourceforge.net/")
7352 (license license:gpl2+)))
7354 (define-public gnome-session
7356 (name "gnome-session")
7360 (uri (string-append "mirror://gnome/sources/" name "/"
7361 (version-major version) "/"
7362 name "-" version ".tar.xz"))
7363 (patches (search-patches "gnome-session-support-elogind.patch"))
7366 "02z0xr6sv9ibl7awbw9j4y05hf4jk1zgvsbbmh7n27hhjvsvc8pl"))))
7368 `(#:meson ,meson-0.59
7371 (modify-phases %standard-phases
7372 (add-after 'install 'wrap-gnome-session
7373 (lambda* (#:key inputs outputs #:allow-other-keys)
7374 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7375 (let ((glib (assoc-ref inputs "glib:bin"))
7376 (out (assoc-ref outputs "out")))
7377 (wrap-program (string-append out "/bin/gnome-session")
7378 `("PATH" ":" prefix (,(string-append glib "/bin"))))))))
7381 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7382 "-Dman=false" ; FIXME: disabled because of docbook validation error
7385 "-Dsystemd_session=disable"
7386 "-Dsystemd_journal=false")))
7387 (build-system meson-build-system)
7389 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7390 ("pkg-config" ,pkg-config)
7391 ("intltool" ,intltool)
7392 ("xsltproc" ,libxslt)
7393 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7394 ("docbook-xsl" ,docbook-xsl)
7395 ("docbook-xml" ,docbook-xml)
7398 `(("elogind" ,elogind)
7399 ("gnome-desktop" ,gnome-desktop)
7400 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7402 ("json-glib" ,json-glib)
7404 ("libxcomposite" ,libxcomposite)
7405 ("libxtst" ,libxtst)
7408 ("xtrans" ,xtrans)))
7409 (synopsis "Session manager for GNOME")
7411 "This package contains the GNOME session manager, as well as a
7412 configuration program to choose applications starting on login.")
7413 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7414 (license license:gpl2+)))
7422 (uri (string-append "mirror://gnome/sources/" name "/"
7423 (version-major+minor version) "/"
7424 name "-" version ".tar.xz"))
7427 "0pqwhq0znprs0h5ixz396912acwzk9zvjfhi9qvh52ii38s2j1jb"))
7428 (modules '((guix build utils)))
7431 (substitute* "installed-tests/scripts/testCommandLine.sh"
7434 (build-system meson-build-system)
7436 '(#:configure-flags '("-Dinstalled_tests=false")
7438 (modify-phases %standard-phases
7439 (add-before 'check 'pre-check
7441 ;; The test suite requires a running X server.
7442 (system "Xvfb :1 &")
7443 (setenv "DISPLAY" ":1")
7445 ;; For the missing /etc/machine-id.
7446 (setenv "DBUS_FATAL_WARNINGS" "0"))))))
7448 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7449 ("pkg-config" ,pkg-config)
7450 ("xmllint" ,libxml2)
7452 ("dbus-launch" ,dbus)
7453 ("dconf" ,dconf) ; required to properly store settings
7454 ("uuidgen" ,util-linux)
7455 ("xvfb" ,xorg-server-for-tests)))
7457 ;; These are all in the Requires.private field of gjs-1.0.pc.
7459 ("gobject-introspection" ,gobject-introspection)
7460 ("mozjs" ,mozjs-78)))
7463 ("readline" ,readline)))
7464 (synopsis "Javascript bindings for GNOME")
7465 (home-page "https://live.gnome.org/Gjs")
7467 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7468 javascript engine and the GObject introspection framework.")
7469 (license license:gpl2+)))
7471 (define-public gedit
7477 (uri (string-append "mirror://gnome/sources/" name "/"
7478 (version-major version) "/"
7479 name "-" version ".tar.xz"))
7482 "149ngl9qw6h59546lir1pa7hvw23ppsnqlj9mfqphmmn5jl99qsm"))))
7483 (build-system meson-build-system)
7485 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
7488 ;; Otherwise, the RUNPATH will lack the final path component.
7489 (list (string-append "-Dc_link_args=-Wl,-rpath="
7490 (assoc-ref %outputs "out") "/lib/gedit"))
7492 ;; XXX: Generated .h files are sometimes used before being built.
7493 #:parallel-build? #f
7496 (modify-phases %standard-phases
7497 (add-after 'unpack 'skip-gtk-update-icon-cache
7498 ;; Don't create 'icon-theme.cache'.
7500 (substitute* "build-aux/meson/post_install.py"
7501 (("gtk-update-icon-cache") (which "true")))
7503 (add-after 'unpack 'patch-libgd-fetch
7504 (lambda* (#:key inputs #:allow-other-keys)
7505 (let ((libgd (assoc-ref inputs "libgd")))
7506 ;; Calling git is unnecessary because libgd is fetched as a
7507 ;; native input to this package.
7508 (substitute* "meson.build"
7510 (copy-recursively libgd "subprojects/libgd")
7512 (add-after 'install 'wrap-gedit
7513 (lambda* (#:key inputs outputs #:allow-other-keys)
7514 (let ((out (assoc-ref outputs "out"))
7515 (gtksourceview (assoc-ref inputs "gtksourceview"))
7516 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7517 (python-path (getenv "GUIX_PYTHONPATH")))
7518 (wrap-program (string-append out "/bin/gedit")
7520 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7521 `("GUIX_PYTHONPATH" ":" prefix (,python-path))
7522 ;; For language-specs.
7523 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7527 `(("dconf" ,dconf)))
7529 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7530 ("intltool" ,intltool)
7531 ("itstool" ,itstool)
7532 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7533 ("gobject-introspection" ,gobject-introspection)
7538 (url "https://gitlab.gnome.org/GNOME/libgd")
7539 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7540 (file-name (git-file-name "libgd" version))
7542 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7543 ("pkg-config" ,pkg-config)))
7549 ("gtksourceview" ,gtksourceview)
7550 ("libpeas" ,libpeas)
7551 ("libxml2" ,libxml2)
7552 ("iso-codes" ,iso-codes)
7553 ("python-pygobject" ,python-pygobject)
7556 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7559 ("adwaita-icon-theme" ,adwaita-icon-theme)
7560 ("libsoup" ,libsoup)
7561 ("gnome-desktop" ,gnome-desktop)))
7562 (home-page "https://wiki.gnome.org/Apps/Gedit")
7563 (synopsis "GNOME text editor")
7564 (description "While aiming at simplicity and ease of use, gedit is a
7565 powerful general purpose text editor.")
7566 (license license:gpl2+)))
7568 (define-public zenity
7574 (uri (string-append "mirror://gnome/sources/zenity/"
7575 (version-major+minor version) "/"
7576 "zenity-" version ".tar.xz"))
7579 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7580 (build-system gnu-build-system)
7582 `(("gettext" ,gettext-minimal)
7583 ("itstool" ,itstool)
7584 ("pkg-config" ,pkg-config)))
7586 `(("libnotify" ,libnotify)
7587 ("webkitgtk" ,webkitgtk)))
7588 (synopsis "Display graphical dialog boxes from shell scripts")
7589 (home-page "https://www.gnome.org")
7591 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7592 to display dialog boxes from the commandline and shell scripts.")
7593 (license license:lgpl2.0+)))
7595 (define-public mutter
7601 (uri (string-append "mirror://gnome/sources/" name "/"
7602 (version-major version) "/"
7603 name "-" version ".tar.xz"))
7606 "17pqrm48kddqrc3fl96n5knhaxyn0crg0zv7zpmqhk848jks307s"))))
7607 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7608 ;; versions of cogl and clutter. As a result, many of the inputs,
7609 ;; propagated-inputs, and configure flags used in cogl and clutter are
7610 ;; needed here as well.
7611 (build-system meson-build-system)
7613 `(#:imported-modules (,@%meson-build-system-modules
7614 (guix build syscalls))
7615 #:modules ((guix build meson-build-system)
7616 (guix build syscalls)
7622 ;; Otherwise, the RUNPATH will lack the final path component.
7623 (string-append "-Dc_link_args=-Wl,-rpath="
7624 (assoc-ref %outputs "out") "/lib:"
7625 (assoc-ref %outputs "out") "/lib/mutter-9")
7626 ;; Disable systemd support.
7628 ;; The following flags are needed for the bundled clutter
7629 (string-append "-Dxwayland_path="
7630 (assoc-ref %build-inputs "xorg-server-xwayland")
7632 ;; the remaining flags are needed for the bundled cogl
7633 (string-append "-Dopengl_libname="
7634 (assoc-ref %build-inputs "mesa")
7636 (string-append "-Dgles2_libname="
7637 (assoc-ref %build-inputs "mesa")
7638 "/lib/libGLESv2.so")
7639 "-Degl_device=true" ;false by default
7640 "-Dwayland_eglstream=true") ;false by default
7644 (modify-phases %standard-phases
7645 (add-after 'unpack 'patch-dlopen-calls
7646 (lambda* (#:key inputs #:allow-other-keys)
7647 (substitute* "src/wayland/meta-wayland-egl-stream.c"
7648 (("libnvidia-egl-wayland.so.1")
7649 (string-append (assoc-ref inputs "egl-wayland")
7650 "/lib/libnvidia-egl-wayland.so.1")))))
7651 (add-before 'configure 'set-udev-dir
7652 (lambda* (#:key inputs outputs #:allow-other-keys)
7653 (setenv "PKG_CONFIG_UDEV_UDEVDIR"
7654 (string-append (assoc-ref outputs "out")
7656 (add-after 'unpack 'disable-problematic-tests
7658 ;; The native-headless test hangs due to attempting to use audio,
7659 ;; unavailable in the container.
7660 ;; Note: the following sed expression deletes the whole test(...)
7661 ;; expression paragraph. For an explanation, see: info '(sed)
7662 ;; Multiline techniques'.
7663 (invoke "sed" "/./{H;$!d} ; x ; s/^.*native-headless.*$//"
7664 "-i" "src/tests/meson.build")))
7666 (lambda* (#:key tests? test-options parallel-tests?
7669 ;; Setup (see the 'test-mutter' CI target at
7670 ;; https://gitlab.gnome.org/GNOME/mutter/-/raw/main/.gitlab-ci.yml).
7671 (setenv "XDG_RUNTIME_DIR" "runtime-dir")
7672 (setenv "GSETTINGS_SCHEMA_DIR" "data")
7673 (setenv "MUTTER_DEBUG_DUMMY_MODE_SPECS" "800x600@10.0")
7674 (setenv "PIPEWIRE_DEBUG" "2")
7675 (setenv "PIPEWIRE_LOG" "meson-logs/pipewire.log")
7676 (setenv "XVFB_SERVER_ARGS" "+iglx -noreset")
7677 (setenv "G_SLICE" "always-malloc")
7678 (setenv "MALLOC_CHECK" "3")
7679 (setenv "NO_AT_BRIDGE" "1")
7680 ;; This is needed, otherwise the "mutter:core+mutter/unit /
7681 ;; anonymous-file" test would fail (see:
7682 ;; https://gitlab.gnome.org/GNOME/mutter/-/issues/2017).
7683 (setenv "CI_JOB_ID" "1")
7685 (invoke "glib-compile-schemas" (getenv "GSETTINGS_SCHEMA_DIR"))
7686 (mkdir-p (getenv "XDG_RUNTIME_DIR"))
7687 (chmod (getenv "XDG_RUNTIME_DIR") #o755)
7688 (invoke "pipewire" "--version") ;check for pipewire
7689 (system "pipewire &") ;always returns 0 due to forking
7691 (setenv "MESON_TESTTHREADS"
7693 (number->string (parallel-job-count))
7695 (match (primitive-fork)
7697 (set-child-subreaper!)
7698 ;; Use tini so that signals are properly handled and
7699 ;; doubly-forked processes get reaped; otherwise,
7700 ;; python-dbusmock would waste time polling for the dbus
7701 ;; processes it spawns to be reaped, in vain.
7702 (apply execlp "tini" "--"
7703 "dbus-run-session" "--"
7704 "xvfb-run" "-a" "-s" (getenv "XVFB_SERVER_ARGS")
7705 "meson" "test" "-t" "0" "--print-errorlogs"
7708 (match (waitpid pid)
7710 (unless (zero? status)
7711 (error "`meson test' exited with status"
7714 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7715 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7716 ("gobject-introspection" ,gobject-introspection)
7717 ("intltool" ,intltool)
7718 ("pkg-config" ,pkg-config)
7719 ("xvfb-run" ,xvfb-run)
7721 ("autoconf" ,autoconf)
7722 ("automake" ,automake)
7723 ("libtool" ,libtool)
7725 ;; Warnings are configured to be fatal during the tests; add an icon
7726 ;; theme to please libxcursor.
7727 ("adwaita-icon-theme" ,adwaita-icon-theme)
7728 ("libxcursor" ,libxcursor) ;for XCURSOR_PATH
7729 ("pipewire" ,pipewire-0.3)
7730 ("python-dbus" ,python-dbus)
7731 ("python-dbusmock" ,python-dbusmock)
7732 ("tini" ,tini))) ;acting as init (zombie reaper)
7734 `( ;; libmutter.pc refers to these:
7735 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7737 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7740 ("gdk-pixbuf" ,gdk-pixbuf)
7742 ("json-glib" ,json-glib)
7743 ("libinput" ,libinput)
7745 ("libxcomposite" ,libxcomposite)
7746 ("libxcvt" ,libxcvt)
7747 ("libxdamage" ,libxdamage)
7748 ("libxext" ,libxext)
7749 ("libxfixes" ,libxfixes)
7750 ("libxkbcommon" ,libxkbcommon)
7751 ("libxml2" ,libxml2)
7752 ("libxrandr" ,libxrandr)
7756 ("xinput" ,xinput)))
7758 `(("egl-wayland" ,egl-wayland) ;for wayland-eglstream-protocols
7759 ("elogind" ,elogind)
7760 ("gnome-desktop" ,gnome-desktop)
7761 ("gnome-settings-daemon" ,gnome-settings-daemon)
7762 ("graphene" ,graphene)
7763 ("libcanberra-gtk" ,libcanberra)
7764 ("libgudev" ,libgudev)
7767 ("libwacom" ,libwacom)
7768 ("libxkbfile" ,libxkbfile)
7769 ("libxrandr" ,libxrandr)
7770 ("libxtst" ,libxtst)
7771 ("pipewire" ,pipewire-0.3)
7772 ("startup-notification" ,startup-notification)
7773 ("sysprof" ,sysprof)
7774 ("upower-glib" ,upower)
7775 ("xkeyboard-config" ,xkeyboard-config)
7776 ("xorg-server-xwayland" ,xorg-server-xwayland)
7777 ("zenity" ,zenity)))
7778 (synopsis "Window and compositing manager")
7779 (home-page "https://www.gnome.org")
7781 "Mutter is a window and compositing manager that displays and manages your
7782 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7783 Clutter toolkit with solid window-management logic inherited from the Metacity
7785 (license license:gpl2+)))
7787 (define-public gnome-online-accounts
7789 (name "gnome-online-accounts")
7793 (uri (string-append "mirror://gnome/sources/" name "/"
7794 (version-major+minor version) "/"
7795 name "-" version ".tar.xz"))
7798 "1s5pmy3hx6hhnyi40r7b773py9kn2qbkxnpxv6149z9fl5ikdjrv"))))
7799 (outputs '("out" "lib"))
7800 (build-system glib-or-gtk-build-system)
7803 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7805 (modify-phases %standard-phases
7806 (add-before 'configure 'patch-libgoa-output
7807 (lambda* (#:key outputs #:allow-other-keys)
7808 (let ((lib (assoc-ref outputs "lib")))
7809 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7811 (("@exec_prefix@") lib)
7812 (("@libdir@") (string-append lib "/lib"))
7813 (("@includedir@") (string-append lib "/include"))
7814 (("@datadir@") (string-append lib "/share")))
7815 ;; Make sure gobject-introspection knows about the output
7816 ;; too (see <https://bugs.gnu.org/36535>).
7817 (setenv "outputs" "out lib")))))))
7819 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7820 ("gobject-introspection" ,gobject-introspection)
7821 ("intltool" ,intltool)
7822 ("pkg-config" ,pkg-config)
7824 ("xsltproc" ,libxslt)))
7826 `(("glib" ,glib) ; required by goa-1.0.pc
7827 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7829 `(("docbook-xsl" ,docbook-xsl)
7830 ("json-glib" ,json-glib)
7831 ("libsecret" ,libsecret)
7833 ;; WebKitGtk propagates libsoup 3, which causes the build to fail; so
7834 ;; use a special variant.
7835 ("webkitgtk" ,webkitgtk-with-libsoup2)))
7836 (synopsis "Single sign-on framework for GNOME")
7837 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7839 "GNOME Online Accounts provides interfaces so that applications and
7840 libraries in GNOME can access the user's online accounts. It has providers
7841 for Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare,
7842 Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7843 (license license:lgpl2.0+)))
7845 (define-public evolution-data-server
7847 (name "evolution-data-server")
7852 (uri (string-append "mirror://gnome/sources/" name "/"
7853 (version-major+minor version) "/"
7854 name "-" version ".tar.xz"))
7856 (base32 "0a7my8spwcaf2i2fz8ndddi1drv6l9gxq0qblmnkxzyhfwm7zrp6"))))
7857 (build-system cmake-build-system)
7860 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7861 (runpaths (map (lambda (s)
7862 (string-append lib "/evolution-data-server/" s))
7863 '("addressbook-backends" "calendar-backends"
7864 "camel-providers" "credential-modules"
7865 "registry-modules"))))
7866 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7867 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7868 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7869 "-DENABLE_VALA_BINDINGS=ON"
7870 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7871 (string-append lib "/evolution-data-server;")
7872 (string-join runpaths ";"))
7873 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7875 (modify-phases %standard-phases
7876 (add-after 'unpack 'disable-failing-tests
7878 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7879 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7880 (delete-file-recursively "tests/book-migration")
7881 (substitute* "tests/CMakeLists.txt"
7882 (("add_subdirectory\\(book-migration\\)") ""))))
7883 (add-after 'unpack 'patch-paths
7885 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7886 "tests/libedata-book/data-test-utils.c"
7887 "tests/libedata-book/test-book-cache-utils.c"
7888 "tests/libedata-cal/test-cal-cache-utils.c")
7889 (("/bin/rm") (which "rm")))))
7890 (add-before 'configure 'dont-override-rpath
7892 (substitute* "CMakeLists.txt"
7893 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7894 ;; Remove it so the configure flag is respected.
7895 (("SET\\(CMAKE_INSTALL_RPATH .*") "")))))))
7897 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7898 ("gobject-introspection" ,gobject-introspection)
7900 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7901 ("intltool" ,intltool)
7902 ("pkg-config" ,pkg-config)
7904 ("python" ,python-wrapper)))
7906 ;; These are all in the Requires field of .pc files.
7908 ("libical" ,libical)
7909 ("libsecret" ,libsecret)
7910 ("libsoup" ,libsoup-minimal-2)
7912 ("sqlite" ,sqlite)))
7916 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7917 ("json-glib" ,json-glib)
7918 ("libcanberra" ,libcanberra)
7919 ("libgweather" ,libgweather)
7920 ("mit-krb5" ,mit-krb5)
7921 ("openldap" ,openldap)
7922 ("webkitgtk" ,webkitgtk-with-libsoup2)))
7923 (synopsis "Store address books and calendars")
7924 (home-page "https://wiki.gnome.org/Apps/Evolution")
7926 "This package provides a unified backend for programs that work with
7927 contacts, tasks, and calendar information. It was originally developed for
7928 Evolution (hence the name), but is now used by other packages as well.")
7929 (license license:lgpl2.0)))
7931 (define-public caribou
7937 (uri (string-append "mirror://gnome/sources/" name "/"
7938 (version-major+minor version) "/"
7939 name "-" version ".tar.xz"))
7942 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7943 (build-system glib-or-gtk-build-system)
7946 (modify-phases %standard-phases
7949 (lambda* (#:key outputs #:allow-other-keys)
7950 (let ((out (assoc-ref outputs "out")))
7951 ;; Use absolute shared library path in Caribou-1.0.typelib.
7952 (substitute* "libcaribou/Makefile"
7953 (("--shared-library=libcaribou.so")
7954 (string-append "--shared-library="
7955 out "/lib/libcaribou.so")))
7957 (add-after 'install 'wrap-programs
7958 (lambda* (#:key outputs #:allow-other-keys)
7959 (let* ((out (assoc-ref outputs "out"))
7960 (python-path (getenv "GUIX_PYTHONPATH"))
7961 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7965 `("GUIX_PYTHONPATH" ":" prefix (,python-path))
7966 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7967 (list (string-append out "/bin/caribou-preferences")
7968 (string-append out "/libexec/antler-keyboard"))))
7971 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7972 ("gobject-introspection" ,gobject-introspection)
7973 ("intltool" ,intltool)
7974 ("pkg-config" ,pkg-config)
7977 ("xsltproc" ,libxslt)))
7979 ;; caribou-1.0.pc refers to all these.
7980 `(("libgee" ,libgee)
7981 ("libxklavier" ,libxklavier)
7982 ("libxtst" ,libxtst)
7985 `(("clutter" ,clutter)
7988 ("python-pygobject" ,python-pygobject)))
7989 (synopsis "Text entry and UI navigation application")
7990 (home-page "https://wiki.gnome.org/Projects/Caribou")
7992 "Caribou is an input assistive technology intended for switch and pointer
7994 (license license:lgpl2.1)))
7996 (define-public network-manager
7998 (name "network-manager")
8002 (uri (string-append "mirror://gnome/sources/NetworkManager/"
8003 (version-major+minor version) "/"
8004 "NetworkManager-" version ".tar.xz"))
8005 (patches (search-patches "network-manager-plugin-path.patch"
8006 "network-manager-meson.patch"))
8009 "0jzmz0zw64dgvdn2g7pppr7bkywpbxcbdb1viv6p7zh2lnh3dax8"))))
8010 (build-system meson-build-system)
8012 "doc")) ; 8 MiB of gtk-doc HTML
8015 (let ((out (assoc-ref %outputs "out"))
8016 (dhclient (search-input-file %build-inputs "/sbin/dhclient")))
8018 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
8020 (string-append "-Dc_link_args=-Wl,-rpath="
8022 out "/lib/NetworkManager/" ,version)
8023 "-Dsystemd_journal=false"
8024 "-Dsession_tracking=elogind"
8025 "-Dsuspend_resume=elogind"
8026 "-Dsystemdsystemunitdir=no"
8027 "-Dsession_tracking_consolekit=false"
8036 "--localstatedir=/var"
8037 (string-append "-Dudev_dir="
8039 (string-append "-Ddbus_conf_dir="
8040 out "/etc/dbus-1/system.d")
8042 (string-append "-Ddhclient=" dhclient)))
8044 (modify-phases %standard-phases
8045 (add-before 'configure 'pre-configure
8047 ;; These tests try to test aspects of network-manager's
8048 ;; functionality within restricted containers, but they don't
8049 ;; cope with being already in the Guix build jail as that jail
8050 ;; lacks some features that they would like to proxy over (like
8052 (substitute* "src/core/tests/meson.build"
8053 ((".*test-l3cfg.*") ""))
8054 (substitute* "src/core/devices/tests/meson.build"
8055 ((".*test-acd.*") "")
8056 ((".*test-lldp.*") ""))
8057 (substitute* "src/core/platform/tests/meson.build"
8058 ((".*test-address-linux.*") "")
8059 ((".*test-cleanup-linux.*") "")
8060 ((".*test-link-linux.*") "")
8061 ((".*test-lldp.*") "")
8062 ((".*test-route-linux.*") "")
8063 ((".*test-tc-linux.*") ""))
8064 ;; FIXME: The jansson check fails (see:
8065 ;; https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/837
8066 (substitute* "src/libnm-core-impl/tests/test-setting.c"
8067 (("g_assert\\(nm_json_vt\\(\\)\\);")
8069 (add-after 'unpack 'patch-docbook-xml
8070 (lambda* (#:key inputs #:allow-other-keys)
8071 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
8072 "/xml/dtd/docbook")))
8073 (substitute* (find-files "." ".*\\.(xsl|xml)")
8074 (("http://.*/docbookx\\.dtd")
8075 (string-append xmldoc "/docbookx.dtd"))))))
8076 (add-before 'check 'pre-check
8078 ;; For the missing /etc/machine-id.
8079 (setenv "DBUS_FATAL_WARNINGS" "0")))
8080 (add-before 'install 'no-polkit-magic
8081 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
8083 (setenv "PKEXEC_UID" "something")))
8084 (add-after 'install 'move-doc
8085 (lambda* (#:key outputs #:allow-other-keys)
8086 (let ((out (assoc-ref outputs "out"))
8087 (doc (assoc-ref outputs "doc")))
8088 (mkdir-p (string-append doc "/share"))
8089 (for-each (lambda (directory)
8090 (copy-recursively (string-append out directory)
8091 (string-append doc directory))
8092 (delete-file-recursively
8093 (string-append out directory)))
8094 '("/share/doc" "/share/gtk-doc"))))))))
8098 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
8099 ("gtk-doc" ,gtk-doc/stable)
8100 ("gobject-introspection" ,gobject-introspection)
8101 ("docbook-xml" ,docbook-xml)
8102 ("docbook-xsl" ,docbook-xsl)
8103 ("intltool" ,intltool)
8104 ("libxslt" ,libxslt)
8105 ("libxml2" ,libxml2)
8106 ("pkg-config" ,pkg-config)
8109 ("python" ,python-wrapper)
8110 ("python-dbus" ,python-dbus)
8111 ("python-pygobject" ,python-pygobject)))
8114 ("cyrus-sasl" ,cyrus-sasl)
8115 ("dbus-glib" ,dbus-glib)
8116 ("dnsmasq" ,dnsmasq)
8119 ("iptables" ,iptables)
8120 ("isc-dhcp" ,isc-dhcp)
8121 ("iwd" ,iwd) ; wpa_supplicant alternative
8122 ("jansson" ,jansson)
8124 ("libgcrypt" ,libgcrypt)
8125 ("libgudev" ,libgudev)
8128 ("libselinux" ,libselinux)
8129 ("libsoup" ,libsoup)
8130 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
8131 ("modem-manager" ,modem-manager)
8132 ("newt" ,newt) ;for the 'nmtui' console interface
8133 ("openresolv" ,openresolv) ; alternative resolv.conf manager
8136 ("readline" ,readline)
8137 ("util-linux" ,util-linux)
8138 ("elogind" ,elogind)))
8139 (synopsis "Network connection manager")
8140 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8142 "NetworkManager is a system network service that manages your network
8143 devices and connections, attempting to keep active network connectivity when
8144 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
8145 devices, and provides VPN integration with a variety of different VPN
8147 ;; “This NetworkManager project consists of the daemon, client tools, and
8148 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
8150 (license (list license:gpl2+
8152 (properties '((upstream-name . "NetworkManager")))))
8154 (define-public network-manager-openvpn
8156 (name "network-manager-openvpn")
8161 "mirror://gnome/sources/NetworkManager-openvpn/"
8162 (version-major+minor version)
8163 "/NetworkManager-openvpn-" version ".tar.xz"))
8166 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
8167 (build-system gnu-build-system)
8169 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
8171 (modify-phases %standard-phases
8172 (add-after 'configure 'patch-path
8173 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
8174 (let* ((ovpn (search-input-file inputs "/sbin/openvpn"))
8175 (modprobe (search-input-file inputs "/bin/modprobe"))
8176 (pretty-ovpn (string-append "\"" ovpn "\"")))
8180 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
8181 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
8182 (("\"/sbin/openvpn\"") pretty-ovpn)
8183 (("/sbin/modprobe") modprobe)))
8184 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
8187 `(("pkg-config" ,pkg-config)
8188 ("intltool" ,intltool)))
8192 ("openvpn" ,openvpn)
8193 ("network-manager" ,network-manager)
8195 ("libsecret" ,libsecret)))
8196 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8197 (synopsis "OpenVPN plug-in for NetworkManager")
8199 "This extension of NetworkManager allows it to take care of connections
8200 to virtual private networks (VPNs) via OpenVPN.")
8201 (license license:gpl2+)
8202 (properties `((upstream-name . "NetworkManager-openvpn")))))
8204 (define-public network-manager-vpnc
8206 (name "network-manager-vpnc")
8211 "mirror://gnome/sources/NetworkManager-vpnc/"
8212 (version-major+minor version)
8213 "/NetworkManager-vpnc-" version ".tar.xz"))
8216 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
8217 (build-system gnu-build-system)
8219 `(#:configure-flags '("--enable-absolute-paths"
8220 "--localstatedir=/var"
8221 ;; libnm-glib has been removed from network-manager
8222 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
8223 "--with-libnm-glib=no")
8225 (modify-phases %standard-phases
8226 (add-after 'configure 'patch-path
8227 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
8228 (let* ((vpnc (search-input-file inputs "/sbin/vpnc"))
8229 (modprobe (search-input-file inputs "/bin/modprobe"))
8230 (pretty-ovpn (string-append "\"" vpnc "\"")))
8231 (substitute* "src/nm-vpnc-service.c"
8232 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
8233 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
8234 (("\"/sbin/vpnc\"") pretty-ovpn)
8235 (("/sbin/modprobe") modprobe)))
8238 `(("pkg-config" ,pkg-config)
8239 ("intltool" ,intltool)))
8244 ("network-manager" ,network-manager)
8246 ("libsecret" ,libsecret)))
8247 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8248 (synopsis "VPNC plug-in for NetworkManager")
8250 "Support for configuring virtual private networks based on VPNC.
8251 Compatible with Cisco VPN concentrators configured to use IPsec.")
8252 (license license:gpl2+)
8253 (properties `((upstream-name . "NetworkManager-vpnc")))))
8255 (define-public network-manager-openconnect
8257 (name "network-manager-openconnect")
8262 "mirror://gnome/sources/NetworkManager-openconnect/"
8263 (version-major+minor version)
8264 "/NetworkManager-openconnect-" version ".tar.xz"))
8267 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
8268 (build-system gnu-build-system)
8270 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
8272 (modify-phases %standard-phases
8273 (add-after 'configure 'patch-path
8274 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
8275 (let* ((openconnect (search-input-file inputs
8276 "/sbin/openconnect"))
8277 (modprobe (search-input-file inputs "/bin/modprobe"))
8278 (pretty-ovpn (string-append "\"" openconnect "\"")))
8279 (substitute* "src/nm-openconnect-service.c"
8280 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
8281 (("/sbin/modprobe") modprobe)))
8284 `(("intltool" ,intltool)
8286 ("pkg-config" ,pkg-config)))
8291 ("libsecret" ,libsecret)
8292 ("libxml2" ,libxml2)
8294 ("network-manager" ,network-manager)
8295 ("openconnect" ,openconnect)))
8296 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8297 (synopsis "OpenConnect plug-in for NetworkManager")
8299 "This extension of NetworkManager allows it to take care of connections
8300 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
8301 Cisco's AnyConnect SSL VPN.")
8302 (license license:gpl2+)
8303 (properties `((upstream-name . "NetworkManager-openconnect")
8305 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8306 ;; file refers to account "nm-openconnect". Specify it here
8307 ;; so that 'network-manager-service-type' creates it.
8308 (user-accounts . ("nm-openconnect"))))))
8310 (define-public mobile-broadband-provider-info
8312 (name "mobile-broadband-provider-info")
8313 (version "20190116")
8317 "mirror://gnome/sources/"
8318 "mobile-broadband-provider-info/" version "/"
8319 "mobile-broadband-provider-info-" version ".tar.xz"))
8322 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
8323 (build-system gnu-build-system)
8325 `(#:tests? #f)) ; no tests
8326 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8327 (synopsis "Database of broadband connection configuration")
8328 (description "Database of broadband connection configuration.")
8329 (license license:public-domain)))
8331 (define-public network-manager-applet
8333 (name "network-manager-applet")
8337 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8338 (version-major+minor version) "/"
8339 "network-manager-applet-" version ".tar.xz"))
8342 "1gj6lqqi613j2m49v9i82lqg1rv7kwwc8z4nxjcwpaa0ins803f7"))))
8343 (build-system meson-build-system)
8345 `(#:meson ,meson-0.59
8348 '("-Dappindicator=yes")))
8350 `(("intltool" ,intltool)
8351 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
8352 ("gobject-introspection" ,gobject-introspection)
8353 ("gtk-doc" ,gtk-doc/stable)
8354 ("pkg-config" ,pkg-config)))
8356 ;; libnm-gtk.pc refers to all these.
8357 `(("dbus-glib" ,dbus-glib)
8359 ("network-manager" ,network-manager)
8360 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8361 ("libnma" ,libnma)))
8364 ("libappindicator" ,libappindicator)
8365 ("libgudev" ,libgudev)
8366 ("libnotify" ,libnotify)
8367 ("libsecret" ,libsecret)
8368 ("libselinux" ,libselinux)
8369 ("jansson" ,jansson) ; for team support
8370 ("modem-manager" ,modem-manager)))
8371 (synopsis "Applet for managing network connections")
8372 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8374 "This package contains a systray applet for NetworkManager. It displays
8375 the available networks and allows users to easily switch between them.")
8376 (license license:gpl2+)))
8378 (define-public libxml++
8386 (url "https://github.com/libxmlplusplus/libxmlplusplus")
8388 (file-name (git-file-name name version))
8390 (base32 "0wjz591rjlgbah7dcq8i0yn0zw9d62b7g6r0pppx81ic0cx8n8ga"))))
8391 (build-system gnu-build-system)
8394 (modify-phases %standard-phases
8395 (add-after 'unpack 'fix-documentation
8396 (lambda* (#:key inputs #:allow-other-keys)
8397 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
8398 "/xml/dtd/docbook"))
8399 (xsldoc (string-append (assoc-ref inputs "docbook-xsl")
8400 "/xml/xsl/docbook-xsl-"
8401 ,(package-version docbook-xsl))))
8402 (substitute* '("examples/dom_xpath/example.xml"
8403 "docs/manual/libxml++_without_code.xml")
8404 (("http://.*/docbookx\\.dtd")
8405 (string-append xmldoc "/docbookx.dtd")))
8406 (setenv "SGML_CATALOG_FILES"
8407 (string-append xmldoc "/catalog.xml"))
8408 (substitute* "docs/manual/docbook-customisation.xsl"
8409 (("http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl")
8410 (string-append xsldoc "/html/chunk.xsl")))))))))
8412 ;; libxml++-3.0.pc refers to all these.
8413 `(("glibmm" ,glibmm-2.64)
8414 ("libxml2" ,libxml2)))
8416 `(("autoconf" ,autoconf)
8417 ("automake" ,automake)
8418 ("doxygen" ,doxygen)
8419 ("docbook-xml" ,docbook-xml)
8420 ("docbook-xsl" ,docbook-xsl)
8421 ("graphviz" ,graphviz) ; for dot
8422 ("libtool" ,libtool)
8423 ("libxslt" ,libxslt)
8424 ("mm-common" ,mm-common)
8426 ("pkg-config" ,pkg-config)))
8427 (home-page "https://github.com/libxmlplusplus/libxmlplusplus/")
8428 (synopsis "C++ bindings to the libxml2 XML parser library")
8430 "This package provides a C++ interface to the libxml2 XML parser
8432 (license license:lgpl2.1+)))
8434 ;; This is the last release providing the 2.6 API, hence the name.
8435 ;; This is needed by tascam-gtk
8436 (define-public libxml++-2
8445 (url "https://github.com/libxmlplusplus/libxmlplusplus")
8447 (file-name (git-file-name name version))
8449 (base32 "0gbfi4l88w828gmyc9br11l003ylyi4vigp5d1kfgsn0k4cig3y9"))))))
8457 (uri (string-append "mirror://gnome/sources/" name "/"
8458 (version-major version) "/"
8459 name "-" version ".tar.xz"))
8462 "1zbks7bwbys1pn7sk0aq0dbn09adx51amb441z4z4j28cvma3f5b"))
8465 "gdm-default-session.patch"
8466 "gdm-elogind-support.patch"
8467 "gdm-remove-hardcoded-xwayland-path.patch"
8468 "gdm-wayland-session-wrapper-from-env.patch"
8469 "gdm-pass-gdk-pixbuf-loader-env.patch"))))
8470 (build-system meson-build-system)
8475 "-Dplymouth=disabled"
8476 "-Dsystemd-journal=false"
8478 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8479 ;; instead of having to replace it (i.e., stopping the mingetty
8480 ;; service for TTY 1 before starting GDM).
8483 ;; Use elogind instead of systemd.
8484 "-Dlogind-provider=elogind"
8485 "-Dsystemdsystemunitdir=no"
8486 "-Dsystemduserunitdir=no"
8488 ;; Use '/etc/environment' for locale settings instead of the
8489 ;; systemd-specific '/etc/locale.conf'.
8490 "-Dlang-file=/etc/environment"
8492 (string-append "-Dudev-dir=" #$output "/lib/udev")
8494 "--localstatedir=/var"
8495 (string-append "-Ddefault-path="
8496 (string-join '("/run/setuid-programs"
8497 "/run/current-system/profile/bin"
8498 "/run/current-system/profile/sbin")
8500 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8501 ;; XDG_DATA_DIRS so that it finds its schemas.
8502 "--sbindir" (string-append #$output "/bin"))
8504 (modify-phases %standard-phases
8506 'configure 'pre-configure
8507 (lambda* (#:key inputs outputs #:allow-other-keys)
8508 ;; We don't have <systemd/sd-daemon.h>.
8509 (substitute* '("common/gdm-log.c"
8510 "daemon/gdm-server.c"
8511 "daemon/gdm-session-worker.c"
8512 "daemon/gdm-session-worker-job.c")
8513 (("#include <systemd/sd-daemon\\.h>") ""))
8514 ;; Use elogind for sd-login.
8515 (substitute* '("common/gdm-common.c"
8516 "daemon/gdm-local-display-factory.c"
8517 "daemon/gdm-manager.c"
8518 "libgdm/gdm-user-switching.c")
8519 (("#include <systemd/sd-login\\.h>")
8520 "#include <elogind/sd-login.h>"))
8521 ;; Look for system-installed sessions in
8522 ;; /run/current-system/profile/share.
8523 (substitute* '("libgdm/gdm-sessions.c"
8524 "daemon/gdm-session.c"
8525 "daemon/gdm-display.c"
8526 "daemon/gdm-launch-environment.c")
8528 "\"/run/current-system/profile/share/x")
8529 (("DATADIR \"/wayland")
8530 "\"/run/current-system/profile/share/wayland")
8531 (("DATADIR \"/gnome")
8532 "\"/run/current-system/profile/share/gnome"))
8533 (let ((propagate '("GDM_CUSTOM_CONF"
8537 ;; XXX: Remove this once GNOME Shell is
8538 ;; a dependency of GDM.
8540 (substitute* "daemon/gdm-session.c"
8541 (("set_up_session_environment \\(self\\);")
8542 (apply string-append
8543 "set_up_session_environment (self);\n"
8546 "gdm_session_set_environment_variable "
8547 "(self, \"" name "\","
8548 "g_getenv (\"" name "\"));\n"))
8550 ;; Find the configuration file using an environment variable.
8551 (substitute* '("common/gdm-settings.c")
8552 (("GDM_CUSTOM_CONF")
8553 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8554 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8555 " : GDM_CUSTOM_CONF)")))
8556 ;; Use service-supplied path to X.
8557 (substitute* '("daemon/gdm-server.c")
8558 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8559 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8560 (substitute* '("daemon/gdm-wayland-session.c"
8561 "daemon/gdm-x-session.c")
8562 (("\"dbus-daemon\"")
8563 "g_getenv (\"GDM_DBUS_DAEMON\")")
8565 "g_getenv (\"GDM_X_SERVER\")")
8566 (("GDMCONFDIR \"/Xsession\"")
8567 "g_getenv (\"GDM_X_SESSION\")"))
8568 ;; Use an absolute path for GNOME Session.
8569 (substitute* "daemon/gdm-launch-environment.c"
8570 (("\"gnome-session\"")
8571 (string-append "\"" (assoc-ref inputs "gnome-session")
8572 "/bin/gnome-session\"")))
8573 ;; Do not automatically select the placeholder session.
8574 (substitute* "daemon/gdm-session.c"
8575 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8576 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8577 "(g_strcmp0(search_dirs[i], \""
8578 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8580 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8581 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8582 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))))
8583 (add-before 'install 'install-logo
8584 (lambda* (#:key inputs outputs #:allow-other-keys)
8585 (let* ((out (assoc-ref outputs "out"))
8586 (guix-icons (assoc-ref inputs "guix-icons"))
8588 (string-append guix-icons "/share/icons/hicolor/\
8589 scalable/apps/guix-white-icon.svg"))
8591 (string-append out "/share/glib-2.0/schemas/\
8592 org.gnome.login-screen.gschema.override")))
8593 (mkdir-p (dirname schema))
8594 (with-output-to-file schema
8597 [org.gnome.login-screen]
8598 logo='~a'~%" icon))))))
8599 ;; GDM requires that there be at least one desktop entry
8600 ;; file. This phase installs a hidden one that simply
8601 ;; fails. This enables users to use GDM with a
8602 ;; '~/.xsession' script with no other desktop entry files.
8603 ;; See <https://bugs.gnu.org/35068>.
8604 (add-after 'install 'install-placeholder-desktop-entry
8605 (lambda* (#:key inputs outputs #:allow-other-keys)
8606 (let* ((out (assoc-ref outputs "out"))
8607 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8608 (fail (string-append sessions "/fail.desktop")))
8610 (with-output-to-file fail
8614 '("[Desktop Entry]\n"
8616 "Type=Application\n"
8618 "Comment=This session fails immediately.\n"
8620 "Exec=false\n")))))))
8621 ;; GDM needs GNOME Session to run these applications. We link
8622 ;; their autostart files in `share/gdm/greeter/autostart'
8623 ;; because GDM explicitly tells GNOME Session to look there.
8625 ;; XXX: GNOME Shell should be linked here too, but currently
8626 ;; GNOME Shell depends on GDM.
8627 (add-after 'install 'link-autostart-files
8628 (lambda* (#:key inputs outputs #:allow-other-keys)
8629 (let* ((out (assoc-ref outputs "out"))
8630 (autostart (string-append out "/share/gdm/"
8631 "greeter/autostart"))
8632 (settings (assoc-ref inputs "gnome-settings-daemon")))
8634 (with-directory-excursion autostart
8635 (for-each (lambda (desktop)
8636 (symlink desktop (basename desktop)))
8638 (string-append settings "/etc/xdg"))))))))))
8641 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8642 ("gobject-introspection" ,gobject-introspection)
8643 ("guix-icons" ,guix-icons)
8644 ("intltool" ,intltool)
8645 ("itstool" ,itstool)
8646 ("pkg-config" ,pkg-config)
8647 ("xmllint" ,libxml2)))
8649 `(("accountsservice" ,accountsservice)
8650 ("check" ,check-0.14) ;for testing
8651 ("elogind" ,elogind)
8653 ("gnome-session" ,gnome-session)
8654 ("gnome-settings-daemon" ,gnome-settings-daemon)
8656 ("iso-codes" ,iso-codes)
8657 ("libcanberra" ,libcanberra)
8658 ("linux-pam" ,linux-pam)))
8659 (synopsis "Display manager for GNOME")
8660 (home-page "https://wiki.gnome.org/Projects/GDM/")
8662 "GNOME Display Manager is a system service that is responsible for
8663 providing graphical log-ins and managing local and remote displays.")
8664 (license license:gpl2+)))
8666 (define-public libgtop
8672 (uri (string-append "mirror://gnome/sources/libgtop/"
8673 (version-major+minor version) "/"
8674 "libgtop-" version ".tar.xz"))
8677 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8678 (build-system gnu-build-system)
8680 `(("gobject-introspection" ,gobject-introspection)
8681 ("intltool" ,intltool)
8683 ("pkg-config" ,pkg-config)))
8685 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8686 (synopsis "Portable system access library")
8687 (home-page "https://www.gnome.org/")
8689 "LibGTop is a library to get system specific data such as CPU and memory
8690 usage and information about running processes.")
8691 (license license:gpl2+)))
8693 (define-public gnome-bluetooth
8695 (name "gnome-bluetooth")
8699 (uri (string-append "mirror://gnome/sources/gnome-bluetooth/"
8700 (version-major+minor version) "/"
8701 "gnome-bluetooth-" version ".tar.xz"))
8704 "1a9ynlwwkb3wpg293ym517vmrkk63y809mmcv9a21k5yr199x53c"))))
8705 (build-system meson-build-system)
8706 (arguments `(#:meson ,meson-0.59))
8708 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8709 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8710 ("gobject-introspection" ,gobject-introspection)
8711 ("intltool" ,intltool)
8712 ("pkg-config" ,pkg-config)
8714 ("python-dbus" ,python-dbus)
8715 ("xmllint" ,libxml2)))
8717 ;; gnome-bluetooth-1.0.pc refers to all these.
8722 ("libcanberra" ,libcanberra)
8723 ("libnotify" ,libnotify)
8724 ("python-dbus" ,python-dbus)))
8725 (synopsis "GNOME Bluetooth subsystem")
8726 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8728 "This package contains tools for managing and manipulating Bluetooth
8729 devices using the GNOME desktop.")
8730 (license license:lgpl2.1+)))
8732 (define-public gnome-control-center
8734 (name "gnome-control-center")
8738 (uri (string-append "mirror://gnome/sources/" name "/"
8739 (version-major version) "/"
8740 name "-" version ".tar.xz"))
8743 "0rr4d5m2a72vrb31jgyx49dp0s2pwgyxsrk4hyw5ym66wq63c3v1"))))
8744 (build-system meson-build-system)
8746 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
8749 (list "-Dcheese=false"
8750 (string-append "-Dgnome_session_libexecdir="
8751 (assoc-ref %build-inputs "gnome-session")
8754 (modify-phases %standard-phases
8755 (add-before 'configure 'patch-paths
8756 (lambda* (#:key inputs #:allow-other-keys)
8757 (let ((libc (assoc-ref inputs "libc"))
8758 (tzdata (assoc-ref inputs "tzdata"))
8759 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8760 (nm-applet (assoc-ref inputs "network-manager-applet"))
8761 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8762 (substitute* "panels/datetime/tz.h"
8763 (("/usr/share/zoneinfo/zone.tab")
8764 (string-append tzdata "/share/zoneinfo/zone.tab")))
8765 (substitute* "tests/datetime/test-endianess.c"
8766 (("/usr/share/locale")
8767 (string-append libc "/share/locale")))
8768 (substitute* "panels/region/cc-region-panel.c"
8769 (("\"gkbd-keyboard-display")
8770 (string-append "\"" libgnomekbd
8771 "/bin/gkbd-keyboard-display")))
8772 (substitute* '("panels/network/net-device-bluetooth.c"
8773 "panels/network/net-device-mobile.c"
8774 "panels/network/connection-editor/net-connection-editor.c")
8775 (("\"nm-connection-editor")
8776 (string-append "\"" nm-applet
8777 "/bin/nm-connection-editor")))
8778 (substitute* '("panels/user-accounts/run-passwd.c")
8779 (("/usr/bin/passwd")
8780 "/run/setuid-programs/passwd"))
8781 (substitute* "panels/info-overview/cc-info-overview-panel.c"
8782 (("DATADIR \"/gnome/gnome-version.xml\"")
8783 (string-append "\"" gnome-desktop
8784 "/share/gnome/gnome-version.xml\""))))))
8785 (add-after 'unpack 'skip-gtk-update-icon-cache
8786 ;; Don't create 'icon-theme.cache'.
8788 (substitute* "build-aux/meson/meson_post_install.py"
8789 (("gtk-update-icon-cache") (which "true"))))))))
8791 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8792 ("intltool" ,intltool)
8793 ("pkg-config" ,pkg-config)
8794 ("xsltproc" ,libxslt)
8796 ("hicolor-icon-theme" ,hicolor-icon-theme)
8797 ("python-dbusmock" ,python-dbusmock)
8798 ("xorg-server" ,xorg-server-for-tests)))
8800 `(("accountsservice" ,accountsservice)
8801 ("clutter-gtk" ,clutter-gtk)
8802 ("colord-gtk" ,colord-gtk)
8805 ("docbook-xsl" ,docbook-xsl)
8806 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8807 ("gnome-bluetooth" ,gnome-bluetooth)
8808 ("gnome-desktop" ,gnome-desktop)
8809 ("gnome-online-accounts" ,gnome-online-accounts)
8810 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8811 ("gnome-session" ,gnome-session)
8812 ("gnome-settings-daemon" ,gnome-settings-daemon)
8816 ("libcanberra" ,libcanberra)
8817 ("libgnomekbd" ,libgnomekbd)
8818 ("libgudev" ,libgudev)
8819 ("libgtop" ,libgtop)
8821 ("libpwquality" ,libpwquality)
8822 ("libsecret" ,libsecret)
8823 ("libsoup" ,libsoup-minimal-2)
8824 ("libxml2" ,libxml2)
8825 ("libwacom" ,libwacom)
8827 ("mit-krb5" ,mit-krb5)
8828 ("modem-manager" ,modem-manager)
8829 ("network-manager-applet" ,network-manager-applet)
8831 ("pulseaudio" ,pulseaudio)
8832 ("smbclient" ,samba)
8835 ("upower" ,upower)))
8836 (synopsis "Utilities to configure the GNOME desktop")
8837 (home-page "https://www.gnome.org/")
8839 "This package contains configuration applets for the GNOME desktop,
8840 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8841 properties, sound setup, desktop theme and background, user interface
8842 properties, screen resolution, and other GNOME parameters.")
8843 (license license:gpl2+)))
8845 (define-public gnome-shell
8847 (name "gnome-shell")
8851 (uri (string-append "mirror://gnome/sources/" name "/"
8852 (version-major version) "/"
8853 name "-" version ".tar.xz"))
8856 "0ragmcln210zvzhc2br33yprbkj9drjzd7inp5sdxra0a7l73yaj"))))
8857 (build-system meson-build-system)
8859 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
8861 #:disallowed-references ,(list (gexp-input glib "bin")
8862 (gexp-input libxslt)
8863 (gexp-input ruby-sass))
8865 (list "-Dsystemd=false"
8866 ;; Otherwise, the RUNPATH will lack the final path component.
8867 (string-append "-Dc_link_args=-Wl,-rpath="
8868 (assoc-ref %outputs "out")
8869 "/lib/gnome-shell"))
8871 #:modules ((guix build meson-build-system)
8876 (modify-phases %standard-phases
8877 (add-after 'unpack 'fix-keysdir
8878 (lambda* (#:key outputs #:allow-other-keys)
8879 (let* ((out (assoc-ref outputs "out"))
8880 (keysdir (string-append
8881 out "/share/gnome-control-center/keybindings")))
8882 (substitute* "meson.build"
8884 (string-append "keysdir = '" keysdir "'\n"))))))
8885 (add-after 'unpack 'skip-gtk-update-icon-cache
8886 ;; Don't create 'icon-theme.cache'.
8888 (substitute* "meson/postinstall.py"
8889 (("gtk-update-icon-cache") "true"))))
8890 (add-before 'configure 'record-absolute-file-names
8891 (lambda* (#:key inputs #:allow-other-keys)
8892 (substitute* "js/misc/ibusManager.js"
8894 (string-append "'" (assoc-ref inputs "ibus")
8895 "/bin/ibus-daemon'")))
8896 (substitute* "js/ui/status/keyboard.js"
8897 (("'gkbd-keyboard-display'")
8898 (string-append "'" (assoc-ref inputs "libgnomekbd")
8899 "/bin/gkbd-keyboard-display'")))))
8900 (add-before 'check 'pre-check
8901 (lambda* (#:key inputs #:allow-other-keys)
8902 ;; Tests require a running X server.
8903 (system "Xvfb :1 &")
8904 (setenv "DISPLAY" ":1")
8905 (setenv "HOME" "/tmp"))) ;to avoid "fatal" warnings
8906 (add-after 'install 'wrap-programs
8907 (lambda* (#:key inputs outputs #:allow-other-keys)
8908 (let ((out (assoc-ref outputs "out"))
8909 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8910 (python-path (getenv "GUIX_PYTHONPATH")))
8911 (wrap-program (string-append out "/bin/gnome-shell")
8912 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
8915 (wrap-program (string-append out "/bin/" prog)
8916 `("GUIX_PYTHONPATH" ":" prefix (,python-path))
8917 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8918 '("gnome-shell-extension-tool" "gnome-shell-perf-tool")))))
8919 (replace 'glib-or-gtk-wrap
8920 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8921 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8922 ;; By default intltool et al. would end up in the XDG_DATA_DIRS
8923 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8924 ;; phase. Fix that since we don't need these.
8925 (wrap #:inputs (fold alist-delete inputs
8926 '("intltool" "glib:bin"))
8927 #:outputs outputs)))))))
8929 `(("asciidoc" ,asciidoc)
8930 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8931 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8932 ("gobject-introspection" ,gobject-introspection)
8933 ("hicolor-icon-theme" ,hicolor-icon-theme)
8934 ("intltool" ,intltool)
8935 ("pkg-config" ,pkg-config)
8937 ("ruby-sass" ,ruby-sass)
8939 ("xsltproc" ,libxslt)
8941 ("xorg-server" ,xorg-server-for-tests)))
8943 `(("accountsservice" ,accountsservice)
8944 ("caribou" ,caribou)
8945 ("docbook-xsl" ,docbook-xsl)
8946 ("evolution-data-server" ,evolution-data-server)
8949 ("librsvg" ,librsvg)
8952 ("gnome-autoar" ,gnome-autoar)
8953 ("gnome-bluetooth" ,gnome-bluetooth)
8954 ("gnome-desktop" ,gnome-desktop)
8955 ("gnome-settings-daemon" ,gnome-settings-daemon)
8956 ("graphene" ,graphene)
8957 ("gst-plugins-base" ,gst-plugins-base)
8959 ("libcanberra" ,libcanberra)
8960 ("libcroco" ,libcroco)
8961 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8962 ("libgweather" ,libgweather)
8964 ("libsoup" ,libsoup)
8965 ("mesa-headers" ,mesa-headers)
8967 ("network-manager-applet" ,network-manager-applet)
8969 ("pulseaudio" ,pulseaudio)
8970 ("python-pygobject" ,python-pygobject)
8971 ("startup-notification" ,startup-notification)
8972 ("telepathy-logger" ,telepathy-logger)
8974 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8975 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8976 ("librsvg" ,librsvg)
8977 ("geoclue" ,geoclue)))
8978 (synopsis "Desktop shell for GNOME")
8979 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8981 "GNOME Shell provides core user interface functions for the GNOME desktop,
8982 like switching to windows and launching applications.")
8983 (license license:gpl2+)))
8985 (define-public gtk-vnc
8993 (string-append "mirror://gnome/sources/" name "/"
8994 (version-major+minor version) "/"
8995 name "-" version ".tar.xz"))
8997 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8998 (build-system meson-build-system)
9000 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
9003 ("glib:bin" ,glib "bin")
9004 ("gobject-introspection" ,gobject-introspection)
9005 ("intltool" ,intltool)
9008 ("pkg-config" ,pkg-config)
9009 ("python" ,python-wrapper)
9013 ("librsvg" ,librsvg)
9016 ("libgcrypt" ,libgcrypt)
9017 ("libsasl" ,cyrus-sasl)
9018 ("pulseaudio" ,pulseaudio)
9023 (synopsis "VNC client viewer widget for GTK+")
9024 (description "GTK-VNC is a project providing client side APIs for the RFB
9025 protocol / VNC remote desktop technology. It is built using coroutines allowing
9026 it to be completely asynchronous while remaining single threaded. It provides a
9027 core C library, and bindings for Python (PyGTK).")
9028 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
9029 (license license:lgpl2.1+)))
9031 (define-public gnome-autoar
9033 (name "gnome-autoar")
9037 (uri (string-append "mirror://gnome/sources/" name "/"
9038 (version-major+minor version) "/"
9039 name "-" version ".tar.xz"))
9042 "03hmm7cjgjvyxlflghfa89s1amj16qapl2c9pv0r2bfrp87dasv4"))))
9043 (build-system meson-build-system)
9045 `(("gobject-introspection" ,gobject-introspection)
9046 ("glib:bin" ,glib "bin")
9047 ("pkg-config" ,pkg-config)))
9049 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
9052 (synopsis "Archives integration support for GNOME")
9053 (home-page "https://git.gnome.org/browse/gnome-autoar/")
9055 "GNOME Autoar is a library which makes creating and extracting archives
9056 easy, safe, and automatic.")
9057 (license license:lgpl2.1+)))
9059 (define-public tracker
9065 (uri (string-append "mirror://gnome/sources/tracker/"
9066 (version-major+minor version) "/"
9067 "tracker-" version ".tar.xz"))
9070 "13zcc07wd51sz7kglk3xbjrsq7d835cxfr7iwjr7nn2xcri8jdns"))))
9071 (build-system meson-build-system)
9075 ;; Otherwise, the RUNPATH will lack the final path component.
9076 (list (string-append "-Dc_link_args=-Wl,-rpath="
9077 (assoc-ref %outputs "out") "/lib:"
9078 (assoc-ref %outputs "out") "/lib/tracker-3.0")
9080 "-Dsystemd_user_services=false")
9082 (modify-phases %standard-phases
9083 (add-before 'configure 'set-shell
9085 (setenv "SHELL" (which "bash"))))
9086 (add-before 'configure 'fix-paths
9087 (lambda* (#:key inputs #:allow-other-keys)
9088 (let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
9089 (file (search-input-file inputs manpage)))
9090 (substitute* "docs/manpages/meson.build"
9091 (("/etc/asciidoc[^']+")
9094 (lambda* (#:key tests? #:allow-other-keys)
9096 ;; Some tests expect to write to $HOME.
9097 (setenv "HOME" "/tmp")
9098 (invoke "dbus-run-session" "--" "meson" "test"
9099 "--print-errorlogs")))))))
9101 `(("glib:bin" ,glib "bin")
9102 ("gobject-introspection" ,gobject-introspection)
9103 ("docbook-xsl" ,docbook-xsl)
9104 ("docbook-xml-4.5" ,docbook-xml)
9105 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9106 ("asciidoc" ,asciidoc)
9107 ("xsltproc" ,libxslt)
9108 ("cmake-minimal" ,cmake-minimal)
9109 ("python-pygobject" ,python-pygobject)
9110 ("gtk-doc" ,gtk-doc/stable)
9111 ("intltool" ,intltool)
9113 ("pkg-config" ,pkg-config)
9118 ("libxml2" ,libxml2)
9119 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
9120 ("json-glib" ,json-glib)
9121 ("libsoup" ,libsoup-minimal-2))) ; tracker-miners requires the same version.
9122 (synopsis "Metadata database, indexer and search tool")
9123 (home-page "https://wiki.gnome.org/Projects/Tracker")
9125 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
9127 It is a middleware component aimed at desktop application developers who want
9128 their apps to browse and search user content. It's not designed to be used
9129 directly by desktop users, but it provides a commandline tool named
9130 @command{tracker} for the adventurous.
9132 Tracker allows your application to instantly perform full-text searches across
9133 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
9134 example. This is achieved by indexing the user's home directory in the
9137 Tracker also allows your application to query and list content that the user
9138 has stored. For example, GNOME Music displays all the music files that are
9139 found by Tracker. This means that GNOME Music doesn't need to maintain a
9140 database of its own.
9142 If you need to go beyond simple searches, Tracker is also a linked data
9143 endpoint and it understands SPARQL. ")
9144 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
9145 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
9146 ;; libstemmer is bsd-3 and the rest is gpl2+.
9147 (license (list license:gpl2+
9149 license:lgpl2.1+))))
9151 (define-public tracker-miners
9153 (name "tracker-miners")
9157 (uri (string-append "mirror://gnome/sources/tracker-miners/"
9158 (version-major+minor version)
9159 "/tracker-miners-" version ".tar.xz"))
9162 "0fpd69lgm8cckbamcf9c2q57glxf0s3jcfwkq8p3s4lfsvdclmd0"))))
9163 (build-system meson-build-system)
9167 (list "-Dminer_rss=false" ; libgrss is required.
9168 ;; Ensure the RUNPATH contains all installed library locations.
9169 (string-append "-Dc_link_args=-Wl,-rpath="
9170 (assoc-ref %outputs "out")
9171 "/lib/tracker-miners-3.0")
9172 ;; TODO: Enable functional tests. Currently, the following error
9174 ;; Exception: The functional tests require DConf to be the default
9175 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
9176 "-Dfunctional_tests=false"
9177 "-Dsystemd_user_services=false")
9179 (modify-phases %standard-phases
9180 (add-before 'configure 'set-shell
9182 (setenv "SHELL" (which "bash"))))
9183 (add-before 'configure 'fix-paths
9184 (lambda* (#:key inputs #:allow-other-keys)
9185 (let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
9186 (file (search-input-file inputs manpage)))
9187 (substitute* "docs/manpages/meson.build"
9188 (("/etc/asciidoc[^']+")
9190 (add-before 'configure 'fix-tests
9191 (lambda* (#:key inputs #:allow-other-keys)
9192 ;; Disable those tests that require the functional_tests option
9193 ;; to be true and the UPower daemon to be started.
9194 (substitute* "examples/python/meson.build"
9195 (("foreach example_name:.*")
9196 "foreach example_name: []"))
9197 ;; Disable this test that is failing randomly:
9198 ;; https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/170.
9199 (substitute* "tests/libtracker-miner/meson.build"
9203 (lambda* (#:key tests? #:allow-other-keys)
9205 ;; Some tests expect to write to $HOME.
9206 (setenv "HOME" "/tmp")
9207 (setenv "LANG" "en_US.UTF-8")
9208 (invoke "dbus-run-session" "--" "meson" "test"
9209 "--print-errorlogs")))))))
9212 ("intltool" ,intltool)
9213 ("glib:bin" ,glib "bin")
9214 ("docbook-xsl" ,docbook-xsl)
9215 ("docbook-xml-4.5" ,docbook-xml)
9216 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9217 ("asciidoc" ,asciidoc)
9218 ("xsltproc" ,libxslt)
9219 ("gobject-introspection" ,gobject-introspection)
9220 ("pkg-config" ,pkg-config)
9221 ("python-pygobject" ,python-pygobject)))
9223 `(("exempi" ,exempi)
9228 ("gstreamer" ,gstreamer)
9230 ("json-glib" ,json-glib)
9232 ("libexif" ,libexif)
9234 ("libgxps" ,libgxps)
9235 ("libiptcdata" ,libiptcdata)
9236 ("libjpeg" ,libjpeg-turbo)
9237 ("libosinfo" ,libosinfo)
9239 ("libseccomp" ,libseccomp)
9240 ("libsoup" ,libsoup-minimal-2) ; because tracker requires this version.
9241 ("libtiff" ,libtiff)
9242 ("libvorbis" ,libvorbis)
9243 ("libxml2" ,libxml2)
9244 ("poppler" ,poppler)
9245 ("shared-mime-info" ,shared-mime-info)
9247 ("totem-pl-parser" ,totem-pl-parser)
9248 ("tracker" ,tracker)
9251 (synopsis "Metadata database, indexer and search tool")
9252 (home-page "https://wiki.gnome.org/Projects/Tracker")
9254 "Tracker is an advanced framework for first class objects with associated
9255 metadata and tags. It provides a one stop solution for all metadata, tags,
9256 shared object databases, search tools and indexing.")
9257 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
9258 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
9259 (license (list license:gpl2+
9261 license:lgpl2.0+))))
9263 (define-public nautilus
9269 (uri (string-append "mirror://gnome/sources/" name "/"
9270 (version-major version) "/"
9271 name "-" version ".tar.xz"))
9274 "1rd1a0wjh2sc7mzw6m61rryvgxpi2lin4xj0x9khqw04q6nl3fgr"))))
9275 (build-system meson-build-system)
9280 (modify-phases %standard-phases
9281 (add-after 'unpack 'skip-gtk-update-icon-cache
9282 ;; Don't create 'icon-theme.cache'.
9284 (substitute* "build-aux/meson/postinstall.py"
9285 (("gtk-update-icon-cache") "true")))))
9286 ;; XXX: FAIL: check-nautilus
9287 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
9290 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9291 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
9292 ("gobject-introspection" ,gobject-introspection)
9293 ("intltool" ,intltool)
9294 ("pkg-config" ,pkg-config)))
9300 ("gnome-desktop" ,gnome-desktop)
9301 ("gnome-autoar" ,gnome-autoar)
9302 ("gst-plugins-base" ,gst-plugins-base)
9303 ("json-glib" ,json-glib)
9304 ("libhandy" ,libhandy)
9305 ("libportal" ,libportal)
9306 ("libseccomp" ,libseccomp)
9307 ("libselinux" ,libselinux)
9308 ("libsoup" ,libsoup-minimal-2) ; to satisfy tracker dependencies
9309 ("tracker" ,tracker)
9310 ("tracker-miners" ,tracker-miners)
9311 ;; XXX: gtk+ is required by libnautilus-extension.pc
9313 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
9315 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
9317 ("libexif" ,libexif)
9318 ("libxml2" ,libxml2)))
9319 (synopsis "File manager for GNOME")
9320 (home-page "https://wiki.gnome.org/Apps/Nautilus")
9322 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
9323 design and behaviour, giving the user a simple way to navigate and manage its
9325 (license license:gpl2+)))
9327 (define-public baobab
9334 "mirror://gnome/sources/" name "/"
9335 (version-major version) "/"
9336 name "-" version ".tar.xz"))
9339 "19yii3bdgivxrcka1c4g6dpbmql5nyawwhzlsph7z6bs68nambm6"))))
9340 (build-system meson-build-system)
9342 '(#:glib-or-gtk? #t))
9344 `(("intltool" ,intltool)
9345 ("pkg-config" ,pkg-config)
9346 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9347 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9348 ("itstool" ,itstool)
9349 ("xmllint" ,libxml2)
9350 ("glib" ,glib "bin")
9354 ("libhandy" ,libhandy)))
9355 (synopsis "Disk usage analyzer for GNOME")
9357 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
9358 usage in the GNOME desktop environment. It can easily scan device volumes or
9359 a specific user-requested directory branch (local or remote). Once the scan
9360 is complete it provides a graphical representation of each selected folder.")
9361 (home-page "https://wiki.gnome.org/Apps/Baobab")
9362 (license license:gpl2+)))
9364 (define-public gnome-backgrounds
9366 (name "gnome-backgrounds")
9371 (uri (string-append "mirror://gnome/sources/" name "/"
9372 (version-major version) "/"
9373 name "-" version ".tar.xz"))
9376 "03m7ldfk00cly9igrq0qizq1y0f45vijmm23f1dl5kh1lc6qmpv0"))))
9377 (build-system meson-build-system)
9379 `(("gettext" ,gettext-minimal)))
9380 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
9381 (synopsis "Background images for the GNOME desktop")
9383 "GNOME backgrounds package contains a collection of graphics files which
9384 can be used as backgrounds in the GNOME Desktop environment. Additionally,
9385 the package creates the proper framework and directory structure so that you
9386 can add your own files to the collection.")
9387 (license (list license:gpl2+
9390 license:cc-by-sa3.0))))
9392 (define-public gnome-screenshot
9394 (name "gnome-screenshot")
9399 (uri (string-append "mirror://gnome/sources/" name "/"
9400 (version-major version) "/"
9401 name "-" version ".tar.xz"))
9404 "1qm544ymwibk31s30k47vnn79xg30m18r7l4di0c57g375dak31n"))
9406 (search-patches "gnome-screenshot-meson-0.60.patch"))))
9407 (build-system meson-build-system)
9410 (modify-phases %standard-phases
9411 (add-after 'unpack 'skip-gtk-update-icon-cache
9412 ;; Don't create 'icon-theme.cache'.
9414 (substitute* "build-aux/postinstall.py"
9415 (("gtk-update-icon-cache") "true"))
9418 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
9419 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9420 ("intltool" ,intltool)
9421 ("appstream-glib" ,appstream-glib)
9422 ("pkg-config" ,pkg-config)))
9425 ("libcanberra" ,libcanberra)
9426 ("libhandy" ,libhandy)
9428 ("libxext" ,libxext)))
9429 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9430 (synopsis "Take pictures of your screen")
9432 "GNOME Screenshot is a utility used for taking screenshots of the entire
9433 screen, a window or a user defined area of the screen, with optional
9434 beautifying border effects.")
9435 (license license:gpl2+)))
9437 (define-public dconf-editor
9439 (name "dconf-editor")
9444 (uri (string-append "mirror://gnome/sources/" name "/"
9445 (version-major+minor version) "/"
9446 name "-" version ".tar.xz"))
9449 "1qvrxrk1h8bd75xwasxbvlkqrw6xkavjimvc7sslkw6lvb3z86jp"))))
9450 (build-system meson-build-system)
9452 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9453 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9454 ("intltool" ,intltool)
9455 ("pkg-config" ,pkg-config)
9460 ("libxml2" ,libxml2)))
9462 `(#:meson ,meson-0.59))
9463 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9464 (synopsis "Graphical editor for GNOME's dconf configuration system")
9466 "Dconf-editor is a graphical tool for browsing and editing the dconf
9467 configuration system for GNOME. It allows users to configure desktop
9468 software that do not provide their own configuration interface.")
9469 (license license:lgpl2.1+)))
9471 (define-public gnome-default-applications
9473 (name "gnome-default-applications")
9475 (build-system trivial-build-system)
9478 `(("nautilus" ,nautilus)
9479 ("evince" ,evince)))
9481 `(#:modules ((guix build utils))
9484 (use-modules (guix build utils))
9485 (let* ((out (assoc-ref %outputs "out"))
9486 (apps (string-append out "/share/applications")))
9488 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9490 (format port "[Default Applications]\n")
9491 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9492 (format port "application/pdf=evince.desktop\n")
9493 (format port "application/postscript=evince.desktop\n")))
9495 (synopsis "Default MIME type associations for the GNOME desktop")
9497 "Given many installed packages which might handle a given MIME type, a
9498 user running the GNOME desktop probably has some preferences: for example,
9499 that folders be opened by default by the Nautilus file manager, not the Baobab
9500 disk usage analyzer. This package establishes that set of default MIME type
9501 associations for GNOME.")
9502 (license license:gpl3+)
9505 (define-public libgovirt
9511 (uri (string-append "mirror://gnome/sources/" name "/"
9512 (version-major+minor version) "/"
9513 name "-" version ".tar.xz"))
9516 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9517 (build-system glib-or-gtk-build-system)
9519 `(("gettext" ,gettext-minimal)
9520 ("glib:bin" ,glib "bin")
9521 ("gobject-introspection" ,gobject-introspection)
9522 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9523 ("gtk+:bin" ,gtk+ "bin")
9524 ("pkg-config" ,pkg-config)))
9526 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9528 (synopsis "GoVirt Library")
9529 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9530 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9531 (license license:gpl2+)))
9533 (define-public gnome-weather
9535 (name "gnome-weather")
9539 (uri (string-append "mirror://gnome/sources/" name "/"
9540 (version-major version) "/"
9541 name "-" version ".tar.xz"))
9544 "0k9wnyinvx6433r07kvjyahgqc605g7gbpf3d0h6vi4p8x61849x"))))
9545 (build-system meson-build-system)
9547 `(("gettext" ,gettext-minimal)
9548 ("glib:bin" ,glib "bin")
9549 ("gobject-introspection" ,gobject-introspection)
9550 ("gtk+:bin" ,gtk+ "bin")
9551 ("pkg-config" ,pkg-config)))
9553 `(("appstream-glib" ,appstream-glib)
9554 ("geoclue" ,geoclue)
9556 ("gnome-desktop" ,gnome-desktop)
9557 ("libgweather" ,libgweather)
9558 ("libhandy" ,libhandy)))
9560 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
9563 ,#~(modify-phases %standard-phases
9564 (add-after 'unpack 'fix-service-file
9566 (substitute* "data/org.gnome.Weather.service.in"
9567 (("Exec=[[:graph:]]+")
9568 (string-append "Exec=" #$output
9569 "/bin/gnome-weather")))))
9570 (add-after 'install 'fix-desktop-file
9571 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some
9572 ;; reason. See https://issues.guix.gnu.org/issue/39324.
9575 (string-append #$output "/share/applications")))
9576 (substitute* (string-append applications
9577 "/org.gnome.Weather.desktop")
9578 (("Exec=.*") "Exec=gnome-weather\n")))))
9579 (add-after 'install 'wrap
9581 (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9582 ;; GNOME Weather needs the typelib files of GTK+, Pango etc
9584 (wrap-program (string-append #$output "/bin/gnome-weather")
9585 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
9586 (synopsis "Weather monitoring for GNOME desktop")
9587 (description "GNOME Weather is a small application that allows you to
9588 monitor the current weather conditions for your city, or anywhere in the
9590 (home-page "https://wiki.gnome.org/Apps/Weather")
9591 (license license:gpl2+)))
9593 (define-public gnome
9596 (version (package-version gnome-shell))
9598 (build-system trivial-build-system)
9599 (arguments '(#:builder (begin (mkdir %output) #t)))
9601 `(;; GNOME-Core-OS-Services
9602 ("accountsservice" ,accountsservice)
9603 ("network-manager" ,network-manager)
9604 ("packagekit" ,packagekit)
9607 ("adwaita-icon-theme" ,adwaita-icon-theme)
9609 ("glib-networking" ,glib-networking)
9610 ("gnome-backgrounds" ,gnome-backgrounds)
9611 ("gnome-bluetooth" ,gnome-bluetooth)
9612 ("gnome-color-manager" ,gnome-color-manager)
9613 ("gnome-control-center" ,gnome-control-center)
9614 ("gnome-desktop" ,gnome-desktop)
9615 ("gnome-initial-setup" ,gnome-initial-setup)
9616 ("gnome-keyring" ,gnome-keyring)
9617 ("gnome-menus" ,gnome-menus)
9618 ("gnome-session" ,gnome-session)
9619 ("gnome-settings-daemon" ,gnome-settings-daemon)
9620 ("gnome-shell-extensions" ,gnome-shell-extensions)
9621 ("gnome-shell" ,gnome-shell)
9622 ("gnome-themes-extra" ,gnome-themes-extra)
9623 ("gnome-user-docs" ,gnome-user-docs)
9624 ("gnome-user-share" ,gnome-user-share)
9625 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9631 ;; GNOME-Core-Utilities
9634 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9635 ;; only works on x86_64, so exclude it on other architectures.
9636 ,@(if (string-prefix? "x86_64" (%current-system))
9639 ("epiphany" ,epiphany)
9641 ("file-roller" ,file-roller)
9643 ("gnome-boxes" ,gnome-boxes)
9644 ("gnome-calculator" ,gnome-calculator)
9645 ("gnome-calendar" ,gnome-calendar)
9646 ("gnome-characters" ,gnome-characters)
9647 ("gnome-clocks" ,gnome-clocks)
9648 ("gnome-contacts" ,gnome-contacts)
9649 ("gnome-disk-utility" ,gnome-disk-utility)
9650 ("gnome-font-viewer" ,gnome-font-viewer)
9651 ("gnome-maps" ,gnome-maps)
9652 ("gnome-music" ,gnome-music)
9653 ("gnome-photos" ,gnome-photos)
9654 ("gnome-screenshot" ,gnome-screenshot)
9655 ("gnome-system-monitor" ,gnome-system-monitor)
9656 ("gnome-terminal" ,gnome-terminal)
9657 ("gnome-weather" ,gnome-weather)
9658 ("nautilus" ,nautilus)
9659 ("simple-scan" ,simple-scan)
9661 ("tracker-miners" ,tracker-miners)
9664 ("hicolor-icon-theme" ,hicolor-icon-theme)
9665 ("gnome-online-accounts" ,gnome-online-accounts)
9667 ;; Packages not part of GNOME proper but that are needed for a good
9668 ;; experience. See <https://bugs.gnu.org/39646>.
9669 ;; XXX: Find out exactly which ones are needed and why.
9670 ("font-abattis-cantarell" ,font-abattis-cantarell)
9671 ("font-dejavu" ,font-dejavu)
9672 ("at-spi2-core" ,at-spi2-core-minimal)
9675 ("desktop-file-utils" ,desktop-file-utils)
9676 ("gnome-default-applications" ,gnome-default-applications)
9677 ("gnome-themes-standard" ,gnome-themes-standard)
9678 ("gst-plugins-base" ,gst-plugins-base)
9679 ("gst-plugins-good" ,gst-plugins-good)
9680 ("gucharmap" ,gucharmap)
9681 ("pinentry-gnome3" ,pinentry-gnome3)
9682 ("pulseaudio" ,pulseaudio)
9683 ("shared-mime-info" ,shared-mime-info)
9684 ("system-config-printer" ,system-config-printer)
9685 ("xdg-user-dirs" ,xdg-user-dirs)
9687 ("zenity" ,zenity)))
9688 (synopsis "The GNU desktop environment")
9689 (home-page "https://www.gnome.org/")
9691 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9692 applications for browsing the web, editing text and images, creating
9693 documents and diagrams, playing media, scanning, and much more.")
9694 (license license:gpl2+)))
9696 (define-public byzanz
9697 ;; The last stable release of Byzanz was in 2011, but there have been many
9698 ;; useful commits made to the Byzanz repository since then that it would be
9699 ;; silly to use such an old release.
9700 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9703 (version (string-append "0.2-1." (string-take commit 7)))
9707 (url "https://git.gnome.org/browse/byzanz")
9709 (file-name (string-append name "-" version "-checkout"))
9712 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9713 (build-system glib-or-gtk-build-system)
9716 (modify-phases %standard-phases
9717 (add-before 'bootstrap 'build-without-Werror
9719 ;; The build system cleverly detects that we're not building from
9720 ;; a release tarball and turns on -Werror for GCC.
9721 ;; Unsurprisingly, there is a warning during compilation that
9722 ;; causes the build to fail unnecessarily, so we remove the flag.
9723 (substitute* '("configure.ac")
9727 `(("autoconf" ,autoconf)
9728 ("automake" ,automake)
9729 ("gnome-common" ,gnome-common)
9730 ("intltool" ,intltool)
9731 ("libtool" ,libtool)
9732 ("pkg-config" ,pkg-config)
9736 ("gstreamer" ,gstreamer)
9737 ("gst-plugins-base" ,gst-plugins-base)
9739 (synopsis "Desktop recording program")
9740 (description "Byzanz is a simple desktop recording program with a
9741 command-line interface. It can record part or all of an X display for a
9742 specified duration and save it as a GIF encoded animated image file.")
9743 (home-page "https://git.gnome.org/browse/byzanz")
9744 (license license:gpl2+))))
9746 (define-public authenticator
9748 (name "authenticator")
9754 (url "https://gitlab.gnome.org/World/Authenticator")
9756 (file-name (git-file-name name version))
9758 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9759 (build-system meson-build-system)
9763 (modify-phases %standard-phases
9764 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9765 (lambda* (#:key inputs outputs #:allow-other-keys)
9766 (let ((prog (string-append (assoc-ref outputs "out")
9767 "/bin/authenticator"))
9768 (pylib (string-append (assoc-ref outputs "out")
9770 ,(version-major+minor
9771 (package-version python))
9774 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
9775 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9778 `(("desktop-file-utils" ,desktop-file-utils)
9779 ("gettext" ,gettext-minimal)
9780 ("glib:bin" ,glib "bin")
9781 ("gobject-introspection" ,gobject-introspection)
9782 ("gtk+:bin" ,gtk+ "bin")
9783 ("pkg-config" ,pkg-config)))
9785 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9787 ("libhandy" ,libhandy-0.0)
9788 ("libsecret" ,libsecret)
9789 ("python-beautifulsoup4" ,python-beautifulsoup4)
9790 ("python-pillow" ,python-pillow)
9791 ("python-pyfavicon" ,python-pyfavicon)
9792 ("python-pygobject" ,python-pygobject)
9793 ("python-pyotp" ,python-pyotp)
9794 ("python-pyzbar" ,python-pyzbar)
9795 ("yoyo-migrations" ,yoyo-migrations)
9797 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9798 (synopsis "Two-factor authentication application built for GNOME")
9800 "Authenticator is a two-factor authentication (2FA) application built for
9801 the GNOME desktop environment.
9806 @item QR code scanner
9808 @item Huge database of more than 560 supported services
9809 @item Keep your PIN tokens secure by locking the application with a password
9810 @item Automatically fetch an image for services using their favicon
9811 @item The possibility to add new services
9813 (license license:gpl3+)))
9815 (define-public gsound
9821 (uri (string-append "mirror://gnome/sources/gsound/"
9822 (version-major+minor version) "/"
9823 "gsound-" version ".tar.xz"))
9826 "06l80xgykj7x1kqkjvcq06pwj2rmca458zvs053qc55x3sg06bfa"))))
9827 (build-system meson-build-system)
9829 `(("pkg-config" ,pkg-config)
9830 ("gobject-introspection" ,gobject-introspection)
9833 `(("libcanberra" ,libcanberra))) ; in Requires.private of gsound.pc
9834 (home-page "https://wiki.gnome.org/Projects/GSound")
9835 (synopsis "GObject wrapper for libcanberra")
9837 "GSound is a small library for playing system sounds. It's designed to be
9838 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9840 (license license:lgpl2.1+)))
9842 (define-public libzapojit
9848 (uri (string-append "mirror://gnome/sources/" name "/"
9849 (version-major+minor version) "/"
9850 name "-" version ".tar.xz"))
9853 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9854 (build-system gnu-build-system)
9856 `(("gobject-introspection" ,gobject-introspection)
9857 ("intltool" ,intltool)
9858 ("pkg-config" ,pkg-config)))
9860 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9861 ("json-glib" ,json-glib)
9863 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9864 (synopsis "Library for accessing SkyDrive and Hotmail")
9866 "Libzapojit is a GLib-based library for accessing online service APIs of
9867 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9868 (license license:lgpl2.1+)))
9870 (define-public gnome-clocks
9872 (name "gnome-clocks")
9876 (uri (string-append "mirror://gnome/sources/" name "/"
9877 (version-major version) "/"
9878 name "-" version ".tar.xz"))
9881 "02d3jg46sn8d9gd4dsaly22gg5vkbz2gpq4pmwpvncb4rsqk7sn2"))))
9882 (build-system meson-build-system)
9886 (modify-phases %standard-phases
9887 (add-after 'unpack 'skip-gtk-update-icon-cache
9888 ;; Don't create 'icon-theme.cache'.
9890 (substitute* "build-aux/post-install.py"
9891 (("gtk-update-icon-cache") "true")))))))
9894 ("pkg-config" ,pkg-config)
9895 ("glib" ,glib "bin") ; for glib-compile-resources
9896 ("desktop-file-utils" ,desktop-file-utils)
9897 ("gettext" ,gettext-minimal)
9898 ("itstool" ,itstool)))
9903 ("geoclue" ,geoclue)
9904 ("geocode-glib" ,geocode-glib)
9905 ("libgweather" ,libgweather)
9906 ("libhandy" ,libhandy)
9907 ("gnome-desktop" ,gnome-desktop)))
9908 (home-page "https://wiki.gnome.org/Apps/Clocks")
9909 (synopsis "GNOME's clock application")
9911 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9912 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9913 (license license:gpl3+)))
9915 (define-public gnome-calendar
9917 (name "gnome-calendar")
9921 (uri (string-append "mirror://gnome/sources/" name "/"
9922 (version-major version) "/"
9923 name "-" version ".tar.xz"))
9926 "0czasxnmbw2zm21lmxam8qixacagciq3f815s809hn0f9byh2dwy"))))
9927 (build-system meson-build-system)
9931 ;; gnome-calendar has to be installed before the tests can be run
9932 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9935 (modify-phases %standard-phases
9936 (add-after 'unpack 'skip-gtk-update-icon-cache
9937 ;; Don't create 'icon-theme.cache'.
9939 (substitute* "build-aux/meson/meson_post_install.py"
9940 (("gtk-update-icon-cache") "true"))
9943 `(("gettext" ,gettext-minimal)
9944 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9945 ("pkg-config" ,pkg-config)))
9947 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9948 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9949 ("libdazzle" ,libdazzle)
9950 ("libedataserverui" ,evolution-data-server)
9951 ("libgweather" ,libgweather)
9952 ("libhandy" ,libhandy)
9953 ("geoclue" ,geoclue)))
9955 `(("evolution-data-server" ,evolution-data-server)))
9956 (home-page "https://wiki.gnome.org/Apps/Calendar")
9957 (synopsis "GNOME's calendar application")
9959 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9960 desktop. It supports multiple calendars, month, week and year view.")
9961 (license license:gpl3+)))
9963 (define-public gnome-todo
9969 (uri (string-append "mirror://gnome/sources/" name "/"
9970 (version-major version) "/"
9971 name "-" version ".tar.xz"))
9974 "1r1fb3zgjvkhx93by24j8cg1w1g3zvwr49vqkscjn261vqs44jq3"))))
9975 (build-system meson-build-system)
9978 ;; XXX: Some tests fail with the following error:
9979 ;; Settings schema 'org.gnome.todo' is not installed.
9982 (modify-phases %standard-phases
9983 (add-after 'unpack 'skip-gtk-update-icon-cache
9984 ;; Don't create 'icon-theme.cache'.
9986 (substitute* "build-aux/meson/meson_post_install.py"
9987 (("gtk-update-icon-cache") "true")))))))
9989 `(("gettext" ,gettext-minimal)
9990 ("gobject-introspection" ,gobject-introspection)
9991 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9992 ("gtk-bin" ,gtk "bin") ; For gtk-update-icon-cache
9993 ("pkg-config" ,pkg-config)))
9995 `(("rest" ,rest) ; For Todoist plugin
9997 ("json-glib" ,json-glib) ; For Todoist plugin
9998 ("libadwaita" ,libadwaita)
9999 ("libedataserverui" ,evolution-data-server)
10000 ("libical" ,libical)
10001 ("libpeas" ,libpeas)
10002 ("libportal" ,libportal)
10003 ("python-pygobject" ,python-pygobject)
10004 ("evolution-data-server" ,evolution-data-server)
10005 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
10006 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
10007 (home-page "https://wiki.gnome.org/Apps/Todo")
10008 (synopsis "GNOME's ToDo Application")
10010 "GNOME To Do is a simplistic personal task manager designed to perfectly
10011 fit the GNOME desktop.")
10012 (license license:gpl3+)))
10014 (define-public gnome-dictionary
10016 (name "gnome-dictionary")
10020 (uri (string-append "mirror://gnome/sources/" name "/"
10021 (version-major version) "/"
10022 name "-" version ".tar.xz"))
10025 "1d8dhcfys788vv27v34i3s3x3jdvdi2kqn2a5p8c937a9hm0qr9f"))))
10026 (build-system meson-build-system)
10028 '(#:glib-or-gtk? #t
10030 (modify-phases %standard-phases
10031 (add-after 'unpack 'skip-gtk-update-icon-cache
10032 ;; Don't create 'icon-theme.cache'.
10034 (substitute* "build-aux/meson/post-install.py"
10035 (("gtk-update-icon-cache") "true")))))))
10037 `(("glib:bin" ,glib "bin")
10038 ("gobject-introspection" ,gobject-introspection)
10039 ("intltool" ,intltool)
10040 ("itstool" ,itstool)
10041 ("pkg-config" ,pkg-config)
10042 ("xmllint" ,libxml2)))
10044 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10046 (home-page "https://wiki.gnome.org/Apps/Dictionary")
10047 (synopsis "Look up words in dictionary sources")
10049 "GNOME Dictionary can look for the definition or translation of a word in
10050 existing databases over the internet.")
10051 (license license:gpl3+)))
10053 (define-public gnome-tweaks
10055 (name "gnome-tweaks")
10059 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
10060 (version-major version) "/"
10061 "gnome-tweaks-" version ".tar.xz"))
10063 (list (search-patch "gnome-tweaks-search-paths.patch")))
10066 "0sn3xsjhnini0f2dyi1ymrr3fb8mi7w5j5lsyw11rc5h67h3ypzr"))))
10067 (build-system meson-build-system)
10069 `(#:glib-or-gtk? #t
10070 #:meson ,meson-0.59
10071 #:configure-flags '("-Dlocalstatedir=/tmp"
10072 "-Dsysconfdir=/tmp")
10073 #:imported-modules ((guix build python-build-system)
10074 ,@%meson-build-system-modules)
10076 (modify-phases %standard-phases
10077 (add-after 'unpack 'skip-gtk-update-icon-cache
10078 ;; Don't create 'icon-theme.cache'.
10080 (substitute* "meson-postinstall.py"
10081 (("gtk-update-icon-cache") "true"))))
10082 (add-after 'install 'wrap
10083 (@@ (guix build python-build-system) wrap))
10084 (add-after 'wrap 'wrap-gi-typelib-and-python
10085 (lambda* (#:key inputs outputs #:allow-other-keys)
10086 (let ((out (assoc-ref outputs "out"))
10087 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10089 (string-append out "/lib/python"
10090 ,(version-major+minor
10091 (package-version python))
10092 "/site-packages")))
10093 (wrap-program (string-append out "/bin/gnome-tweaks")
10094 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10095 `("GUIX_PYTHONPATH" ":" prefix (,python-path))))))))))
10097 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
10098 ("intltool" ,intltool)
10099 ("pkg-config" ,pkg-config)))
10101 `(("bash-minimal" ,bash-minimal) ; to execute the wrapper program
10102 ("gnome-desktop" ,gnome-desktop)
10104 ("gobject-introspection" ,gobject-introspection)
10105 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10106 ("libhandy" ,libhandy)
10107 ("libnotify" ,libnotify)
10108 ("libsoup" ,libsoup)
10109 ("nautilus" ,nautilus)
10111 ("python-pygobject" ,python-pygobject)))
10112 (synopsis "Customize advanced GNOME 3 options")
10113 (home-page "https://wiki.gnome.org/Apps/Tweaks")
10115 "GNOME Tweaks allows adjusting advanced configuration settings in
10116 GNOME 3. This includes things like the fonts used in user interface elements,
10117 alternative user interface themes, changes in window management behavior,
10118 GNOME Shell appearance and extension, etc.")
10119 (license license:gpl3+)))
10121 (define-public gnome-shell-extensions
10123 (name "gnome-shell-extensions")
10127 (uri (string-append "mirror://gnome/sources/" name "/"
10128 (version-major version) "/"
10129 name "-" version ".tar.xz"))
10132 "0yfd1bcwf72dmr1hfh7g8s5cb7snyiyg86575hqx1frbq914q7gm"))))
10133 (build-system meson-build-system)
10135 '(#:configure-flags '("-Dextension_set=all")))
10137 `(("glib:bin" ,glib "bin")
10138 ("intltool" ,intltool)
10139 ("pkg-config" ,pkg-config)))
10142 (synopsis "Extensions for GNOME Shell")
10143 (description "GNOME Shell extensions modify and extend GNOME Shell
10144 functionality and behavior.")
10145 (home-page "https://extensions.gnome.org/")
10146 (license license:gpl3+)))
10148 (define-public folks
10154 (uri (string-append
10155 "mirror://gnome/sources/folks/"
10156 (version-major+minor version) "/"
10157 "folks-" version ".tar.xz"))
10160 "19a4qp9ry8y24jx1v5456qn9lnw843571vkkah3bxx4ky3x3gmr1"))))
10161 (build-system meson-build-system)
10164 (modify-phases %standard-phases
10165 (add-after 'unpack 'skip-gtk-update-icon-cache
10166 ;; Don't create 'icon-theme.cache'.
10168 (substitute* "meson_post_install.py"
10169 (("gtk-update-icon-cache") "true"))
10173 ("dbus-glib" ,dbus-glib)
10174 ("evolution-data-server" ,evolution-data-server)
10177 ("readline" ,readline)
10178 ("telepathy-glib" ,telepathy-glib)))
10180 `(("glib:bin" ,glib "bin")
10181 ("gobject-introspection" ,gobject-introspection)
10182 ("python-dbusmock" ,python-dbusmock)
10183 ("intltool" ,intltool)
10184 ("pkg-config" ,pkg-config)
10186 (synopsis "Library to aggregate data about people")
10187 (description "Libfolks is a library that aggregates information about people
10188 from multiple sources (e.g., Telepathy connection managers for IM contacts,
10189 Evolution Data Server for local contacts, libsocialweb for web service contacts,
10190 etc.) to create metacontacts. It's written in Vala, which generates C code when
10192 (home-page "https://wiki.gnome.org/Projects/Folks")
10193 (license license:lgpl2.1+)))
10195 (define-public gfbgraph
10201 (uri (string-append
10202 "mirror://gnome/sources/gfbgraph/"
10203 (version-major+minor version) "/"
10204 "gfbgraph-" version ".tar.xz"))
10207 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
10208 (build-system glib-or-gtk-build-system)
10210 `(#:tests? #f ; tests appear to require the network
10211 #:configure-flags '("--disable-static"
10213 "--enable-introspection")))
10215 `(("gobject-introspection" ,gobject-introspection)
10216 ("gtk-doc" ,gtk-doc/stable)
10217 ("pkg-config" ,pkg-config)
10219 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
10220 ("autoconf" ,autoconf)
10221 ("automake" ,automake)
10222 ("libtool" ,libtool)
10225 `(("json-glib" ,json-glib)
10226 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
10228 (synopsis "GLib/GObject wrapper for the Facebook API")
10229 (description "This library allows you to use the Facebook API from
10230 GLib/GObject code.")
10231 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
10232 (license license:lgpl2.1+)))
10234 (define-public libgnomekbd
10236 (name "libgnomekbd")
10240 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
10241 (version-major+minor version) "/"
10242 "libgnomekbd-" version ".tar.xz"))
10245 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
10246 (build-system gnu-build-system)
10248 `(("pkg-config" ,pkg-config)
10249 ("glib" ,glib "bin")
10250 ("intltool" ,intltool)))
10252 ;; Referred to in .h files and .pc.
10255 ("libxklavier" ,libxklavier)))
10256 (home-page "https://www.gnome.org")
10257 (synopsis "GNOME keyboard configuration library")
10259 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
10260 environment, which can notably display keyboard layouts.")
10261 (license license:lgpl2.0+)))
10263 ;;; This package is no longer maintained:
10264 ;;; https://wiki.gnome.org/Attic/LibUnique
10265 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
10266 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
10267 (define-public libunique
10273 (uri (string-append "mirror://gnome/sources/" name "/"
10274 (version-major+minor version) "/"
10275 name "-" version ".tar.xz"))
10278 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
10279 (build-system glib-or-gtk-build-system)
10281 `(#:configure-flags '("--disable-static"
10282 "--disable-dbus" ; use gdbus
10283 "--enable-introspection")))
10285 `(("pkg-config" ,pkg-config)
10286 ("gobject-introspection" ,gobject-introspection)
10287 ("glib:bin" ,glib "bin")
10288 ("gtk-doc" ,gtk-doc/stable)))
10290 ;; Referred to in .h files and .pc.
10292 (home-page "https://wiki.gnome.org/Attic/LibUnique")
10293 (synopsis "Library for writing single instance applications")
10295 "Libunique is a library for writing single instance applications. If you
10296 launch a single instance application twice, the second instance will either just
10297 quit or will send a message to the running instance. Libunique makes it easy to
10298 write this kind of application, by providing a base class, taking care of all
10299 the IPC machinery needed to send messages to a running instance, and also
10300 handling the startup notification side.")
10301 (license license:lgpl2.1+)))
10303 (define-public gnome-calculator
10305 (name "gnome-calculator")
10310 (uri (string-append "mirror://gnome/sources/" name "/"
10311 (version-major version) "/"
10312 name "-" version ".tar.xz"))
10315 "1xkazxbkpn1z5pfphhps7fc5q4yc8lp7f6b222n8bx5iyxhwbrkz"))))
10316 (build-system meson-build-system)
10318 '(#:glib-or-gtk? #t
10320 (modify-phases %standard-phases
10321 (add-before 'check 'pre-check
10323 ;; Tests require a writable HOME.
10324 (setenv "HOME" (getcwd)))))))
10326 `(("gettext" ,gettext-minimal)
10327 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
10328 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10329 ("itstool" ,itstool)
10331 ("pkg-config" ,pkg-config)))
10334 ("gtksourceview" ,gtksourceview)
10336 ("libhandy" ,libhandy)
10337 ("libsoup" ,libsoup-minimal-2)
10338 ("libxml2" ,libxml2)
10341 (home-page "https://wiki.gnome.org/Apps/Calculator")
10342 (synopsis "Desktop calculator")
10344 "Calculator is an application that solves mathematical equations and
10345 is suitable as a default application in a Desktop environment.")
10346 (license license:gpl3)))
10348 (define-public xpad
10355 (uri (string-append "https://launchpad.net/xpad/trunk/"
10356 version "/+download/"
10357 name "-" version ".tar.bz2"))
10360 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
10361 (build-system gnu-build-system)
10363 `(("autoconf" ,autoconf)
10364 ("automake" ,automake)
10365 ("gtk+:bin" ,gtk+ "bin")
10366 ("intltool" ,intltool)
10367 ("pkg-config" ,pkg-config)))
10369 `(("gtksourceview" ,gtksourceview-3)
10371 (home-page "https://wiki.gnome.org/Apps/Xpad")
10372 (synopsis "Virtual sticky note")
10374 "Xpad is a sticky note that strives to be simple, fault tolerant,
10375 and customizable. Xpad consists of independent pad windows, each is
10376 basically a text box in which notes can be written.")
10377 (license license:gpl3+)))
10379 (define-public gucharmap
10380 (let ((unicode-files
10382 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
10384 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
10386 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
10388 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
10390 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
10392 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
10399 (uri (string-append "mirror://gnome/sources/" name "/"
10400 (version-major+minor version) "/"
10401 name "-" version ".tar.xz"))
10404 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
10405 (build-system glib-or-gtk-build-system)
10407 `(#:modules ((ice-9 match)
10408 (guix build glib-or-gtk-build-system)
10409 (guix build utils))
10411 (list "--with-unicode-data=../unicode-data")
10413 (modify-phases %standard-phases
10414 (add-after 'unpack 'prepare-unicode-data
10415 (lambda* (#:key inputs #:allow-other-keys)
10416 (mkdir-p "../unicode-data")
10417 (with-directory-excursion "../unicode-data"
10418 (for-each (match-lambda
10420 (install-file (assoc-ref inputs file) ".")))
10424 `(("desktop-file-utils" ,desktop-file-utils)
10425 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
10426 ("gobject-introspection" ,gobject-introspection)
10427 ("intltool" ,intltool)
10428 ("itstool" ,itstool)
10429 ("pkg-config" ,pkg-config)
10430 ,@(map (match-lambda
10435 (uri (string-append
10436 "http://www.unicode.org/Public/12.0.0/ucd/"
10438 (sha256 (base32 hash))))))
10443 ("xmllint" ,libxml2)))
10444 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10445 (synopsis "Unicode character picker and font browser")
10447 "This program allows you to browse through all the available Unicode
10448 characters and categories for the installed fonts, and to examine their
10449 detailed properties. It is an easy way to find the character you might
10450 only know by its Unicode name or code point.")
10451 (license license:gpl3+))))
10453 (define-public gcolor3
10460 (uri (git-reference
10461 (url "https://gitlab.gnome.org/World/gcolor3")
10462 (commit (string-append "v" version))))
10463 (file-name (git-file-name name version))
10465 (base32 "1igqmach1vhcrvbpw346pmkbb5kabbb806ssswrvkp569n700wmc"))))
10466 (build-system meson-build-system)
10468 `(#:glib-or-gtk? #t))
10470 `(("desktop-file-utils" ,desktop-file-utils)
10471 ("gettext" ,gettext-minimal)
10472 ("glib:bin" ,glib "bin")
10473 ("gtk+:bin" ,gtk+ "bin")
10474 ("pkg-config" ,pkg-config)))
10476 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10478 ("libportal" ,libportal)))
10479 (home-page "https://www.hjdskes.nl/projects/gcolor3/")
10480 (synopsis "Simple color chooser written in GTK3")
10481 (description "Color Picker is a simple color chooser written in GTK3. It
10482 supports both X and Wayland display servers.")
10483 (license license:gpl2+)))
10485 (define-public bluefish
10492 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10493 "bluefish-" version ".tar.gz"))
10495 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10496 (build-system gnu-build-system)
10498 `(("desktop-file-utils" ,desktop-file-utils)
10499 ("intltool" ,intltool)
10500 ("pkg-config" ,pkg-config)))
10502 `(("enchant" ,enchant)
10504 ("python" ,python-wrapper)
10505 ("xmllint" ,libxml2)
10506 ("gucharmap" ,gucharmap)))
10507 (home-page "http://bluefish.openoffice.nl")
10508 (synopsis "Web development studio")
10510 "Bluefish is an editor aimed at programmers and web developers,
10511 with many options to write web sites, scripts and other code.
10512 Bluefish supports many programming and markup languages.")
10513 (license license:gpl3+)))
10515 (define-public gnome-system-monitor
10517 (name "gnome-system-monitor")
10522 (uri (string-append "mirror://gnome/sources/" name "/"
10523 (version-major version) "/"
10524 name "-" version ".tar.xz"))
10527 "06hxd4igxas2kyind5jwfq5qbfkknykpdfy2sy3anylhcx1hzczx"))))
10528 (build-system meson-build-system)
10530 '(#:glib-or-gtk? #t
10531 #:configure-flags '("-Dsystemd=false")))
10533 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10534 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10535 ("intltool" ,intltool)
10536 ("itstool" ,itstool)
10537 ("libgtop" ,libgtop)
10539 ("pkg-config" ,pkg-config)))
10541 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10544 ("libhandy" ,libhandy)
10545 ("librsvg" ,librsvg)
10546 ("libxml2" ,libxml2)
10547 ("libwnck" ,libwnck)))
10548 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10549 (synopsis "Process viewer and system resource monitor for GNOME")
10551 "GNOME System Monitor is a GNOME process viewer and system monitor with
10552 an attractive, easy-to-use interface. It has features, such as a tree view
10553 for process dependencies, icons for processes, the ability to hide processes,
10554 graphical time histories of CPU/memory/swap usage and the ability to
10555 kill/reinice processes.")
10556 (license license:gpl2+)))
10558 (define-public python-pyatspi
10560 (name "python-pyatspi")
10564 (uri (string-append
10565 "mirror://gnome/sources/pyatspi/"
10566 (version-major+minor version)
10567 "/pyatspi-" version ".tar.xz"))
10570 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10571 (build-system gnu-build-system)
10574 (modify-phases %standard-phases
10575 (add-before 'build 'fix-atk-load
10577 (substitute* "pyatspi/__init__.py"
10578 (("from gi.repository import Atspi")
10579 "gi.require_version('Gtk', '3.0')
10580 from gi.repository import Gtk
10581 from gi.repository import Atspi"))
10584 `(("pkg-config" ,pkg-config)))
10586 `(("python" ,python)))
10588 `(("python-pygobject" ,python-pygobject)))
10589 (synopsis "Python client bindings for D-Bus AT-SPI")
10590 (home-page "https://wiki.linuxfoundation.org/accessibility\
10591 /atk/at-spi/at-spi_on_d-bus")
10593 "This package includes a python client library for the AT-SPI D-Bus
10594 accessibility infrastructure.")
10595 (license license:lgpl2.0)
10596 (properties '((upstream-name . "pyatspi")))))
10598 (define-public python2-pyatspi
10599 (package/inherit python-pyatspi
10600 (name "python2-pyatspi")
10602 `(("python" ,python-2)))
10604 `(("python-pygobject" ,python2-pygobject)))))
10606 (define-public orca
10612 (uri (string-append
10613 "mirror://gnome/sources/" name "/"
10614 (version-major version) "/"
10615 name "-" version ".tar.xz"))
10618 "0hq0zdcn80ficpcffbk667907v6m7dih3dhyc7ss01mrj3iyw000"))))
10619 (build-system glib-or-gtk-build-system)
10622 (modify-phases %standard-phases
10623 (add-before 'configure 'qualify-xkbcomp
10624 (lambda* (#:key inputs #:allow-other-keys)
10625 (let ((xkbcomp (string-append
10626 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10627 (substitute* "src/orca/orca.py"
10628 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10630 (add-after 'install 'wrap-orca
10631 (lambda* (#:key outputs #:allow-other-keys)
10632 (let* ((out (assoc-ref outputs "out"))
10633 (prog (string-append out "/bin/orca")))
10635 `("GI_TYPELIB_PATH" ":" prefix
10636 (,(getenv "GI_TYPELIB_PATH")))
10637 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10638 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10639 `("GUIX_PYTHONPATH" ":" prefix
10640 (,(getenv "GUIX_PYTHONPATH")))))
10643 `(("intltool" ,intltool)
10644 ("itstool" ,itstool)
10645 ("pkg-config" ,pkg-config)
10646 ("xmllint" ,libxml2)))
10648 `(("at-spi2-atk" ,at-spi2-atk)
10649 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10650 ("gstreamer" ,gstreamer)
10651 ("gst-plugins-base" ,gst-plugins-base)
10652 ("gst-plugins-good" ,gst-plugins-good)
10655 ("python-pygobject" ,python-pygobject)
10656 ("python-pyatspi" ,python-pyatspi)
10657 ("python-speechd" ,speech-dispatcher)
10658 ("xkbcomp" ,xkbcomp)))
10660 "Screen reader for individuals who are blind or visually impaired")
10661 (home-page "https://wiki.gnome.org/Projects/Orca")
10663 "Orca is a screen reader that provides access to the graphical desktop
10664 via speech and refreshable braille. Orca works with applications and toolkits
10665 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10666 (license license:lgpl2.1+)))
10668 (define-public gspell
10674 (uri (string-append "mirror://gnome/sources/" name "/"
10675 (version-major+minor version) "/"
10676 name "-" version ".tar.xz"))
10679 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10680 (patches (search-patches "gspell-dash-test.patch"))))
10681 (build-system glib-or-gtk-build-system)
10683 '(#:configure-flags (list "--enable-vala")
10685 (modify-phases %standard-phases
10686 (add-before 'check 'pre-check
10687 (lambda* (#:key inputs #:allow-other-keys)
10688 ;; Tests require a running X server.
10689 (system "Xvfb :1 &")
10690 (setenv "DISPLAY" ":1")
10692 ;; For the missing /etc/machine-id.
10693 (setenv "DBUS_FATAL_WARNINGS" "0")
10695 ;; Allow Enchant and its Aspell backend to find the en_US
10697 (setenv "ASPELL_DICT_DIR"
10698 (search-input-directory inputs "/lib/aspell")))))))
10700 `(("iso-codes" ,iso-codes)))
10702 `(("glib" ,glib "bin")
10703 ("gobject-introspection" ,gobject-introspection)
10704 ("pkg-config" ,pkg-config)
10705 ("vala" ,vala) ;for VAPI, needed by Geary
10706 ("xmllint" ,libxml2)
10709 ("aspell-dict-en" ,aspell-dict-en)
10710 ("xorg-server" ,xorg-server-for-tests)))
10712 ;; Referred by .pc file.
10713 `(("enchant" ,enchant)
10716 (home-page "https://wiki.gnome.org/Projects/gspell")
10717 (synopsis "GNOME's alternative spell checker")
10719 "gspell provides a flexible API to add spell-checking to a GTK+
10720 application. It provides a GObject API, spell-checking to text entries and
10721 text views, and buttons to choose the language.")
10722 (license license:gpl2+)))
10724 (define-public gnome-planner
10726 (name "gnome-planner")
10730 (uri (string-append "mirror://gnome/sources/planner/"
10731 (version-major+minor version) "/planner-"
10732 version ".tar.xz"))
10735 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10736 (build-system glib-or-gtk-build-system)
10738 ;; Disable the Python bindings because the Planner program functions
10739 ;; without them, and (as of 2017-06-13) we have not packaged all of
10740 ;; packages that are necessary for building the Python bindings.
10741 `(#:configure-flags
10742 (list "--disable-python"
10743 ,@(if (string=? "aarch64-linux" (%current-system))
10744 '("--build=aarch64-unknown-linux-gnu")
10747 `(("libgnomecanvas" ,libgnomecanvas)
10748 ("libgnomeui" ,libgnomeui)
10749 ("libglade" ,libglade)
10750 ("gnome-vfs" ,gnome-vfs)
10752 ("libxml2" ,libxml2)
10753 ("libxslt" ,libxslt)
10757 `(("intltool" ,intltool)
10758 ("scrollkeeper" ,scrollkeeper)
10759 ("pkg-config" ,pkg-config)))
10760 (home-page "https://wiki.gnome.org/Apps/Planner")
10761 (synopsis "Project management software for the GNOME desktop")
10763 "GNOME Planner is a project management tool based on the Work Breakdown
10764 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10765 the resources, tasks, and constraints that you define, Planner generates
10766 various views into a project. For example, Planner can show a Gantt chart of
10767 the project. It can show a detailed summary of tasks including their
10768 duration, cost, and current progress. It can also show a report of resource
10769 utilization that highlights under-utilized and over-utilized resources. These
10770 views can be printed as PDF or PostScript files, or exported to HTML.")
10771 (license license:gpl2+)))
10773 (define-public lollypop
10780 (uri (string-append "https://adishatz.org/lollypop/"
10781 "lollypop-" version ".tar.xz"))
10783 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10784 (build-system meson-build-system)
10786 `(#:imported-modules
10787 (,@%meson-build-system-modules
10788 (guix build python-build-system))
10790 ((guix build meson-build-system)
10791 ((guix build python-build-system) #:prefix python:)
10792 (guix build utils))
10794 #:tests? #f ; no test suite
10796 (modify-phases %standard-phases
10797 (add-after 'install 'wrap-program
10798 (lambda* (#:key outputs #:allow-other-keys)
10799 (let ((out (assoc-ref outputs "out"))
10800 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10801 (wrap-program (string-append out "/bin/lollypop")
10802 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10804 (add-after 'install 'wrap-python
10805 (assoc-ref python:%standard-phases 'wrap)))))
10807 `(("intltool" ,intltool)
10808 ("itstool" ,itstool)
10809 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10810 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10811 ("pkg-config" ,pkg-config)))
10813 `(("glib-networking" ,glib-networking)
10814 ("gobject-introspection" ,gobject-introspection)
10815 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10816 ("gst-plugins-base" ,gst-plugins-base)
10817 ("libnotify" ,libnotify)
10818 ("libsecret" ,libsecret)
10819 ("libhandy" ,libhandy)
10820 ("libsoup" ,libsoup)
10822 ("python-beautifulsoup4" ,python-beautifulsoup4)
10823 ("python-gst" ,python-gst)
10824 ("python-pil" ,python-pillow)
10825 ("python-pycairo" ,python-pycairo)
10826 ("python-pygobject" ,python-pygobject)
10827 ("python-pylast" ,python-pylast)
10828 ("totem-pl-parser" ,totem-pl-parser)
10829 ("webkitgtk" ,webkitgtk)))
10831 `(;; gst-plugins-base is required to start Lollypop,
10832 ;; the others are required to play streaming.
10833 ("gst-plugins-good" ,gst-plugins-good)
10834 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10835 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10836 (synopsis "GNOME music playing application")
10838 "Lollypop is a music player designed to play well with GNOME desktop.
10839 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10840 from artists and tracks from the web. It also fetches cover artworks
10841 automatically and it can stream songs from online music services and charts.")
10842 (license license:gpl3+)))
10844 (define-public gnome-video-effects
10846 (name "gnome-video-effects")
10850 (uri (string-append "mirror://gnome/sources/" name "/"
10851 (version-major+minor version) "/" name "-"
10852 version ".tar.xz"))
10855 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10856 (build-system meson-build-system)
10858 `(("gettext" ,gettext-minimal)
10859 ("pkg-config" ,pkg-config)))
10860 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10861 (synopsis "Video effects for Cheese and other GNOME applications")
10863 "A collection of GStreamer video filters and effects to be used in
10864 photo-booth-like software, such as Cheese.")
10865 (license license:gpl2+)))
10867 (define-public cheese
10873 (uri (string-append "mirror://gnome/sources/" name "/"
10874 (version-major+minor version) "/" name "-"
10875 version ".tar.xz"))
10878 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))
10879 (patches (search-patches "cheese-vala-update.patch"))))
10881 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
10883 ;; Tests require GDK.
10886 (modify-phases %standard-phases
10887 (add-after 'unpack 'skip-gtk-update-icon-cache
10889 ;; Don't create 'icon-theme.cache'
10890 (substitute* "meson_post_install.py"
10891 (("gtk-update-icon-cache") (which "true")))
10893 (add-after 'unpack 'patch-docbook-xml
10894 (lambda* (#:key inputs #:allow-other-keys)
10895 ;; Avoid a network connection attempt during the build.
10896 (substitute* '("docs/reference/cheese.xml"
10897 "docs/reference/cheese-docs.xml")
10898 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10899 (string-append (assoc-ref inputs "docbook-xml")
10900 "/xml/dtd/docbook/docbookx.dtd")))
10902 (add-after 'install 'wrap-cheese
10903 (lambda* (#:key inputs outputs #:allow-other-keys)
10904 (let ((out (assoc-ref outputs "out"))
10905 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10906 (wrap-program (string-append out "/bin/cheese")
10907 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10909 (build-system meson-build-system)
10911 `(("docbook-xsl" ,docbook-xsl)
10912 ("docbook-xml" ,docbook-xml-4.3)
10913 ("gettext" ,gettext-minimal)
10914 ("glib:bin" ,glib "bin")
10915 ("gtk-doc" ,gtk-doc/stable)
10916 ("itstool" ,itstool)
10917 ("libxml2" ,libxml2)
10918 ("libxslt" ,libxslt)
10919 ("pkg-config" ,pkg-config)
10922 `(("gnome-video-effects" ,gnome-video-effects)
10923 ("clutter" ,clutter)
10924 ("clutter-gst" ,clutter-gst)
10925 ("clutter-gtk" ,clutter-gtk)
10926 ("libcanberra" ,libcanberra)
10927 ("gdk-pixbuf" ,gdk-pixbuf)
10929 ("gstreamer" ,gstreamer)))
10931 `(("gnome-desktop" ,gnome-desktop)
10932 ("gobject-introspection" ,gobject-introspection)
10933 ("gst-plugins-base" ,gst-plugins-base)
10934 ("gst-plugins-good" ,gst-plugins-good)
10935 ("gst-plugins-bad" ,gst-plugins-bad)
10938 ("libxtst" ,libxtst)))
10939 (home-page "https://wiki.gnome.org/Apps/Cheese")
10940 (synopsis "Webcam photo booth software for GNOME")
10942 "Cheese uses your webcam to take photos and videos. Cheese can also
10943 apply fancy special effects and lets you share the fun with others.")
10944 (license license:gpl2+)))
10946 (define-public passwordsafe
10948 (name "passwordsafe")
10953 (uri (git-reference
10954 (url "https://gitlab.gnome.org/World/PasswordSafe")
10956 (file-name (git-file-name name version))
10958 (base32 "1xh64bbg10gnfzlck5jvqy2zk6hbk9cyqgv85xc9kbdvs8n4lhgh"))))
10959 (build-system meson-build-system)
10961 `(#:glib-or-gtk? #t
10963 (modify-phases %standard-phases
10964 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10965 (lambda* (#:key outputs #:allow-other-keys)
10966 (let ((prog (string-append (assoc-ref outputs "out")
10967 "/bin/gnome-passwordsafe"))
10968 (pylib (string-append (assoc-ref outputs "out")
10970 ,(version-major+minor
10971 (package-version python))
10972 "/site-packages")))
10974 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
10975 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10978 `(("desktop-file-utils" ,desktop-file-utils)
10979 ("gettext" ,gettext-minimal)
10980 ("glib:bin" ,glib "bin")
10981 ("gobject-introspection" ,gobject-introspection)
10982 ("gtk+:bin" ,gtk+ "bin")
10983 ("pkg-config" ,pkg-config)))
10986 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10988 ("libhandy" ,libhandy)
10989 ("libpwquality" ,libpwquality)
10990 ("python-pygobject" ,python-pygobject)
10991 ("python-pykeepass" ,python-pykeepass)))
10992 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10993 (synopsis "Password manager for the GNOME desktop")
10995 "Password Safe is a password manager which makes use of the KeePass v4
10996 format. It integrates perfectly with the GNOME desktop and provides an easy
10997 and uncluttered interface for the management of password databases.")
10998 (license license:gpl3+)))
11000 (define-public sound-juicer
11002 (name "sound-juicer")
11007 (uri (string-append "mirror://gnome/sources/" name "/"
11008 (version-major+minor version) "/"
11009 name "-" version ".tar.xz"))
11012 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
11013 (build-system glib-or-gtk-build-system)
11015 `(("desktop-file-utils" ,desktop-file-utils)
11016 ("intltool" ,intltool)
11017 ("itstool" ,itstool)
11018 ("pkg-config" ,pkg-config)
11019 ("xmllint" ,libxml2)))
11022 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11023 ("gstreamer" ,gstreamer)
11024 ("gst-plugins-base" ,gst-plugins-base)
11025 ("gst-plugins-good" ,gst-plugins-good)
11026 ("iso-codes" ,iso-codes)
11027 ("libbrasero-media3" ,brasero)
11028 ("libcanberra" ,libcanberra)
11029 ("libdiscid" ,libdiscid)
11030 ("libmusicbrainz" ,libmusicbrainz)
11032 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
11033 (synopsis "Audio music cd ripper")
11034 (description "Sound Juicer extracts audio from compact discs and convert it
11035 into audio files that a personal computer or digital audio player can play.
11036 It supports ripping to any audio codec supported by a GStreamer plugin, such as
11037 mp3, Ogg Vorbis and FLAC")
11038 (license license:gpl2+)))
11040 (define-public soundconverter
11042 (name "soundconverter")
11047 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
11048 version "/+download/"
11049 "soundconverter-" version ".tar.xz"))
11052 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
11053 (build-system glib-or-gtk-build-system)
11055 `(#:imported-modules ((guix build python-build-system)
11056 (guix build glib-or-gtk-build-system)
11057 ,@%gnu-build-system-modules)
11059 #:modules ((guix build glib-or-gtk-build-system)
11061 ((guix build gnu-build-system) #:prefix gnu:)
11062 ((guix build python-build-system) #:prefix python:))
11065 (modify-phases %standard-phases
11066 (add-after 'install 'wrap-soundconverter-for-python
11067 (assoc-ref python:%standard-phases 'wrap))
11068 (add-after 'install 'wrap-soundconverter
11069 (lambda* (#:key inputs outputs #:allow-other-keys)
11070 (let ((out (assoc-ref outputs "out"))
11071 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
11072 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
11073 (wrap-program (string-append out "/bin/soundconverter")
11074 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
11075 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
11078 `(("intltool" ,intltool)
11079 ("pkg-config" ,pkg-config)
11080 ("glib:bin" ,glib "bin")))
11084 ("python-pygobject" ,python-pygobject)
11085 ("gstreamer" ,gstreamer)
11086 ("gst-plugins-base" ,gst-plugins-base)))
11087 (home-page "https://soundconverter.org/")
11088 (synopsis "Convert between audio formats with a graphical interface")
11090 "SoundConverter supports converting between many audio formats including
11091 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
11092 configurable file renaming. ")
11093 (license license:gpl3)))
11095 (define-public workrave
11098 (version "1.10.48")
11102 (uri (git-reference
11103 (url "https://github.com/rcaelers/workrave")
11104 (commit (string-append "v" (string-map
11105 (match-lambda (#\. #\_) (chr chr))
11107 (file-name (git-file-name name version))
11109 (base32 "0qcknxylk9mr0xzszsd1rkgh2zpnix20m998dfclkm9x8zh9pvyr"))))
11110 (build-system glib-or-gtk-build-system)
11112 ;; The only tests are maintainer tests (in po/), which fail.
11114 (inputs `(("glib" ,glib)
11116 ("gdk-pixbuf" ,gdk-pixbuf)
11120 ("libxtst" ,libxtst)
11124 ("libxscrnsaver" ,libxscrnsaver)))
11125 (native-inputs `(("boost" ,boost)
11126 ("pkg-config" ,pkg-config)
11127 ("gettext" ,gettext-minimal)
11128 ("autoconf" ,autoconf)
11129 ("autoconf-archive" , autoconf-archive)
11130 ("automake" ,automake)
11131 ("libtool" ,libtool)
11132 ("intltool" ,intltool)
11133 ("gobject-introspection" ,gobject-introspection)
11134 ("python3" ,python-3)
11135 ("python-jinja2" ,python-jinja2)))
11136 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
11138 "Workrave is a program that assists in the recovery and prevention of
11139 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
11140 micro-pauses and rest breaks, and restricts you to your daily limit.")
11141 (home-page "http://www.workrave.org")
11142 (license license:gpl3+)))
11144 (define-public ghex
11150 (uri (string-append "mirror://gnome/sources/ghex/"
11151 (version-major+minor version) "/"
11152 "ghex-" version ".tar.xz"))
11155 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
11156 (build-system meson-build-system)
11158 '(#:glib-or-gtk? #t
11160 (modify-phases %standard-phases
11161 (add-after 'unpack 'skip-gtk-update-icon-cache
11162 ;; Don't create 'icon-theme.cache'.
11164 (substitute* "meson_post_install.py"
11165 (("gtk-update-icon-cache") (which "true")))
11168 `(("pkg-config" ,pkg-config)
11169 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
11170 ("gnome-common" ,gnome-common)
11172 ("intltool" ,intltool)
11173 ("yelp-tools" ,yelp-tools)
11174 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
11178 (synopsis "GNOME hexadecimal editor")
11179 (description "The GHex program can view and edit files in two ways:
11180 hexadecimal or ASCII. It is useful for editing binary files in general.")
11181 (home-page "https://wiki.gnome.org/Apps/Ghex")
11182 (license license:gpl2)))
11184 (define-public libdazzle
11190 (uri (string-append "mirror://gnome/sources/libdazzle/"
11191 (version-major+minor version) "/"
11192 "libdazzle-" version ".tar.xz"))
11195 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
11196 (build-system meson-build-system)
11199 (modify-phases %standard-phases
11200 (add-before 'check 'pre-check
11202 ;; Tests require a running X server.
11203 (system "Xvfb :1 &")
11204 (setenv "DISPLAY" ":1")
11207 `(("glib" ,glib "bin") ; glib-compile-resources
11208 ("pkg-config" ,pkg-config)
11210 ("xorg-server" ,xorg-server-for-tests)))
11213 ("gobject-introspection" ,gobject-introspection)
11216 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
11217 (synopsis "Companion library to GObject and Gtk+")
11218 (description "The libdazzle library is a companion library to GObject and
11219 Gtk+. It provides various features that the authors wish were in the
11220 underlying library but cannot for various reasons. In most cases, they are
11221 wildly out of scope for those libraries. In other cases, they are not quite
11222 generic enough to work for everyone.")
11223 (license license:gpl3+)))
11225 (define-public evolution
11231 (uri (string-append "mirror://gnome/sources/evolution/"
11232 (version-major+minor version) "/"
11233 "evolution-" version ".tar.xz"))
11236 "0igfzapdvgfx2gnpwfkjfkn7l5j186wk88ni39vqas1sl7ijlls6"))))
11237 (build-system cmake-build-system)
11239 `(#:imported-modules (,@%cmake-build-system-modules
11240 (guix build glib-or-gtk-build-system))
11241 #:modules ((guix build cmake-build-system)
11242 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
11243 (guix build utils))
11245 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
11246 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
11247 ; in four years and cannot be built.
11249 (modify-phases %standard-phases
11250 (add-after 'unpack 'adjust-webkitgtk-version
11252 (substitute* '("CMakeLists.txt" "evolution-shell.pc.in")
11253 (("webkit2gtk-4.0")
11254 "webkit2gtk-4.1"))))
11255 ;; The build system attempts to install user interface modules to the
11256 ;; output directory of the "evolution-data-server" package. This
11257 ;; change redirects that change.
11258 (add-after 'unpack 'patch-ui-module-dir
11259 (lambda* (#:key outputs #:allow-other-keys)
11260 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
11261 (("\\$\\{edsuimoduledir\\}")
11262 (string-append (assoc-ref outputs "out")
11263 "/lib/evolution-data-server/ui-modules")))))
11264 (add-after 'install 'glib-or-gtk-compile-schemas
11265 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
11266 (add-after 'install 'glib-or-gtk-wrap
11267 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
11269 `(("glib" ,glib "bin") ; glib-mkenums
11270 ("pkg-config" ,pkg-config)
11271 ("intltool" ,intltool)
11272 ("itstool" ,itstool)))
11274 `(("enchant" ,enchant)
11275 ("evolution-data-server" ,evolution-data-server) ; must be the same version
11277 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11278 ("gnome-autoar" ,gnome-autoar)
11279 ("gnome-desktop" ,gnome-desktop)
11281 ("highlight" ,highlight)
11282 ("libcanberra" ,libcanberra)
11283 ("libgweather" ,libgweather)
11284 ("libnotify" ,libnotify)
11285 ("libsoup" ,libsoup)
11287 ("openldap" ,openldap)
11288 ("webkitgtk" ,webkitgtk)
11290 (home-page "https://gitlab.gnome.org/GNOME/evolution")
11291 (synopsis "Manage your email, contacts and schedule")
11292 (description "Evolution is a personal information management application
11293 that provides integrated mail, calendaring and address book
11295 ;; See COPYING for details.
11296 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
11297 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
11298 license:lgpl2.1+)))) ; smime/lib/*
11300 (define-public gthumb
11306 (uri (string-append "mirror://gnome/sources/gthumb/"
11307 (version-major+minor version) "/"
11308 "gthumb-" version ".tar.xz"))
11311 "0grqiq6v26z8avl7mj24xy4i9bl1niwpqhqw6rblprl40c1zrvrx"))))
11312 (build-system meson-build-system)
11314 `(#:glib-or-gtk? #t
11317 ;; <https://github.com/mesonbuild/meson/issues/9492#issuecomment-973117289>.
11318 #:meson ,meson-0.59
11321 ;; Ensure the RUNPATH contains all installed library locations.
11322 (list (string-append "-Dc_link_args=-Wl,-rpath="
11323 (assoc-ref %outputs "out")
11324 "/lib/gthumb/extensions")
11325 (string-append "-Dcpp_link_args=-Wl,-rpath="
11326 (assoc-ref %outputs "out")
11327 "/lib/gthumb/extensions"))))
11329 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11330 ("glib:bin" ,glib "bin") ; for glib-compile-resources
11331 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11332 ("intltool" ,intltool)
11333 ("itstool" ,itstool)
11334 ("pkg-config" ,pkg-config)))
11336 `(("clutter" ,clutter)
11337 ("clutter-gst" ,clutter-gst)
11338 ("clutter-gtk" ,clutter-gtk)
11341 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11342 ("gstreamer" ,gstreamer)
11344 ("libheif" ,libheif)
11345 ("libjpeg" ,libjpeg-turbo)
11347 ("librsvg" ,librsvg)
11348 ("libtiff" ,libtiff)
11349 ("libwebp" ,libwebp)))
11350 (home-page "https://wiki.gnome.org/Apps/Gthumb")
11351 (synopsis "GNOME image viewer and browser")
11352 (description "GThumb is an image viewer, browser, organizer, editor and
11353 advanced image management tool")
11354 (license license:gpl2+)))
11356 (define-public terminator
11358 (name "terminator")
11363 (uri (string-append "https://github.com/gnome-terminator/terminator/"
11364 "releases/download/v" version "/"
11365 name "-" version ".tar.gz"))
11367 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
11368 (build-system python-build-system)
11370 `(("gettext" ,gettext-minimal)
11371 ("glib:bin" ,glib "bin") ; for glib-compile-resources
11372 ("gobject-introspection" ,gobject-introspection)
11373 ("intltool" ,intltool)
11374 ("pkg-config" ,pkg-config)
11375 ("python-psutil" ,python-psutil)
11376 ("python-pytest-runner" ,python-pytest-runner)
11377 ("python-pytest" ,python-pytest)))
11380 ("dbus-glib" ,dbus-glib)
11381 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11383 ("python" ,python-wrapper)
11384 ("python-dbus" ,python-dbus)
11385 ("python-notify2" ,python-notify2)
11386 ("python-pycairo" ,python-pycairo)
11387 ("python-pygobject" ,python-pygobject)
11390 `(("python-configobj" ,python-configobj)))
11392 ;; One test out of 28 fails due to dbus-python and python-notify; skip
11395 #:imported-modules ((guix build glib-or-gtk-build-system)
11396 ,@%python-build-system-modules)
11397 #:modules ((guix build python-build-system)
11398 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
11399 (guix build utils))
11401 (modify-phases %standard-phases
11402 (add-after 'unpack 'handle-dbus-python
11404 ;; python-dbus cannot be found but it's really there. See
11405 ;; https://github.com/SpotlightKid/jack-select/issues/2
11406 (substitute* "setup.py"
11407 (("'dbus-python',") ""))))
11408 (add-after 'install 'wrap-program
11409 (lambda* (#:key outputs #:allow-other-keys)
11410 (let ((prog (string-append (assoc-ref outputs "out")
11411 "/bin/terminator"))
11412 (pylib (string-append (assoc-ref outputs "out")
11414 ,(version-major+minor
11415 (package-version python))
11416 "/site-packages")))
11418 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
11419 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))
11420 (add-after 'wrap-program 'glib-or-gtk-wrap
11421 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
11422 (home-page "https://gnome-terminator.org/")
11423 (synopsis "Store and run multiple GNOME terminals in one window")
11425 "Terminator allows you to run multiple GNOME terminals in a grid and
11426 tabs, and it supports drag and drop re-ordering of terminals.")
11427 (license license:gpl2)))
11429 (define-public libhandy
11436 (uri (git-reference
11437 (url "https://gitlab.gnome.org/GNOME/libhandy")
11439 (file-name (git-file-name name version))
11441 (base32 "1ng2607cp4dfl169rj7zi8q5p6fzxy3a4l0glm7mj75yd1a603rz"))))
11442 (build-system meson-build-system)
11444 `(#:configure-flags
11445 '("-Dglade_catalog=enabled"
11446 ;; XXX: Generating the documentation fails because the
11447 ;; libhandy.devhelp2 document cannot be created. This seems to be
11448 ;; caused by a problem during the XSL transformation.
11451 (modify-phases %standard-phases
11452 (add-after 'unpack 'patch-docbook-xml
11453 (lambda* (#:key inputs #:allow-other-keys)
11457 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
11458 (search-input-file inputs
11459 "/xml/dtd/docbook/docbookx.dtd"))))
11460 (find-files "doc" "\\.xml"))))
11461 (add-before 'check 'pre-check
11463 ;; Tests require a running X server.
11464 (system "Xvfb :1 &")
11465 (setenv "DISPLAY" ":1")
11469 ("glade" ,glade3)))
11471 `(("glib:bin" ,glib "bin")
11472 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
11474 ("libxml2" ,libxml2)
11475 ("libxslt" ,libxslt)
11476 ("docbook-xsl" ,docbook-xsl)
11477 ("docbook-xml" ,docbook-xml-4.3)
11478 ("gtk-doc" ,gtk-doc/stable)
11479 ("pkg-config" ,pkg-config)
11480 ("gettext" ,gettext-minimal)
11482 ;; Test suite dependencies.
11483 ("xorg-server" ,xorg-server-for-tests)
11484 ("hicolor-icon-theme" ,hicolor-icon-theme)))
11485 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11486 (synopsis "Library full of GTK+ widgets for mobile phones")
11487 (description "The aim of the handy library is to help with developing user
11488 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11489 for usage on small and big screens.")
11490 (license license:lgpl2.1+)))
11492 (define-public libhandy-0.0
11499 (uri (git-reference
11500 (url "https://gitlab.gnome.org/GNOME/libhandy")
11501 (commit (string-append "v" version))))
11502 (file-name (git-file-name "libhandy" version))
11504 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11506 (substitute-keyword-arguments (package-arguments libhandy)
11507 ((#:configure-flags flags)
11508 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11510 (define-public libgit2-glib
11512 (name "libgit2-glib")
11513 (version "0.99.0.1")
11516 (uri (string-append "mirror://gnome/sources/" name "/"
11517 (version-major+minor version) "/"
11518 name "-" version ".tar.xz"))
11521 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
11522 (build-system meson-build-system)
11524 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
11525 ("gobject-introspection" ,gobject-introspection)
11526 ("pkg-config" ,pkg-config)
11527 ("python-pygobject" ,python-pygobject)
11528 ("python-wrapper" ,python-wrapper)
11532 ("libssh2" ,libssh2)))
11534 `(;; In Requires of libgit2-glib.pc.
11535 ("libgit2" ,libgit2)))
11536 (synopsis "GLib wrapper around the libgit2 Git access library")
11537 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11538 access library. It only implements the core plumbing functions, not really the
11539 higher level porcelain stuff.")
11540 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11541 (license license:gpl2+)))
11543 (define-public gitg
11549 (uri (string-append "mirror://gnome/sources/" name "/"
11550 (version-major+minor version) "/"
11551 name "-" version ".tar.xz"))
11554 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11555 (build-system meson-build-system)
11557 `(#:glib-or-gtk? #t
11559 (modify-phases %standard-phases
11560 (add-after 'unpack 'disable-post-install-partially
11562 (substitute* "meson_post_install.py"
11563 (("'python'") ; there are no python sources to compile
11564 (string-append "'" (which "true") "'"))
11565 (("gtk-update-icon-cache") (which "true")))
11567 (add-after 'unpack 'fix-test-sources
11569 (substitute* "tests/libgitg/test-commit.vala"
11570 (("/bin/bash") (which "bash")))
11572 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11573 (lambda* (#:key outputs #:allow-other-keys)
11574 (let ((prog (string-append (assoc-ref outputs "out")
11577 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11581 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11583 ("gtkspell3" ,gtkspell3)
11584 ("gtksourceview" ,gtksourceview-3)
11585 ("json-glib" ,json-glib)
11586 ("libdazzle" ,libdazzle)
11588 ("libgit2-glib" ,libgit2-glib)
11589 ("libpeas" ,libpeas)
11590 ("libsecret" ,libsecret)
11591 ("libsoup" ,libsoup)
11592 ("libxml2" ,libxml2)))
11594 `(("glib:bin" ,glib "bin")
11595 ("gtk+:bin" ,gtk+ "bin")
11596 ("gobject-introspection" ,gobject-introspection)
11597 ("intltool" ,intltool)
11598 ("pkg-config" ,pkg-config)
11600 (synopsis "Graphical user interface for git")
11602 "gitg is a graphical user interface for git. It aims at being a small,
11603 fast and convenient tool to visualize the history of git repositories.
11604 Besides visualization, gitg also provides several utilities to manage your
11605 repository and commit your work.")
11606 (home-page "https://wiki.gnome.org/Apps/Gitg")
11607 (license license:gpl2+)))
11609 (define-public gamin
11615 (uri (string-append "mirror://gnome/sources/" name "/"
11616 (version-major+minor version) "/"
11617 name "-" version ".tar.bz2"))
11620 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11621 (build-system gnu-build-system)
11624 (modify-phases %standard-phases
11625 ;; The 'config.sub' is too old to recognise aarch64.
11626 ,@(if (and=> (%current-target-system) target-aarch64?)
11627 `((add-after 'unpack 'replace-config.sub
11629 (delete-file "config.sub")
11630 (symlink (which "config.sub") "config.sub"))))
11632 (add-after 'unpack 'remove-deprecated-macro
11634 (substitute* '("server/gam_node.c"
11635 "server/gam_subscription.h"
11636 "server/gam_node.h"
11637 "server/gam_subscription.c")
11638 (("G_CONST_RETURN") "const"))
11640 ;; The configure script runs a test program unconditionally,
11641 ;; without an option to manually set the test result.
11642 ;; Override this test anyway.
11643 ,@(if (%current-target-system)
11644 `((add-after 'bootstrap 'set-have-abstract-sockets
11646 (define in-abstract-sockets-test? #f)
11647 (substitute* "configure"
11648 (("^#### Abstract sockets\n$")
11649 (set! in-abstract-sockets-test? #t)
11650 "#### Abstract sockets\n")
11651 (("^have_abstract_sockets=no\n$")
11652 (set! in-abstract-sockets-test? #f)
11653 ;; ‘Abstract sockets’ appear to be Linux-only.
11654 (string-append "have_abstract_sockets="
11655 ,(if (target-linux?)
11658 "\nif false; then\nif false; then :\n"))
11660 (if in-abstract-sockets-test?
11667 `(("pkg-config" ,pkg-config)
11668 ,@(if (and=> (%current-target-system) target-aarch64?)
11669 `(("config" ,config))
11671 (home-page "https://people.gnome.org/~veillard/gamin/")
11672 (synopsis "File alteration monitor")
11674 "Gamin is a file and directory monitoring system defined to be a subset
11675 of the FAM (File Alteration Monitor) system. This is a service provided by a
11676 library which detects when a file or a directory has been modified.")
11677 (license license:gpl2+)))
11679 (define-public gnome-mahjongg
11681 (name "gnome-mahjongg")
11685 (uri (git-reference
11686 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11688 (file-name (git-file-name name version))
11691 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11692 (build-system meson-build-system)
11694 `(#:glib-or-gtk? #t))
11696 `(("appstream-glib" ,appstream-glib)
11697 ("gettext" ,gettext-minimal)
11698 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11699 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11700 ("itstool" ,itstool)
11701 ("pkg-config" ,pkg-config)
11704 `(("dconf" ,dconf)))
11708 ("librsvg" ,librsvg)))
11709 (synopsis "Mahjongg tile-matching game")
11710 (description "GNOME Mahjongg is a game based on the classic Chinese
11711 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11712 and a high score table.")
11713 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11714 (license license:gpl2+)))
11716 (define-public gnome-themes-extra
11718 (name "gnome-themes-extra")
11723 (uri (string-append "mirror://gnome/sources/" name "/"
11724 (version-major+minor version) "/" name "-"
11725 version ".tar.xz"))
11728 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11729 (build-system gnu-build-system)
11731 '(#:configure-flags
11732 ;; Don't create 'icon-theme.cache'.
11733 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11734 (true (string-append coreutils "/bin/true")))
11735 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11737 `(("glib:bin" ,glib "bin")
11738 ("intltool" ,intltool)
11739 ("pkg-config" ,pkg-config)))
11744 ("librsvg" ,librsvg)
11745 ("libxml2" ,libxml2)))
11746 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11747 (synopsis "GNOME Extra Themes")
11748 (description "This package provides themes and related elements that don't
11749 really fit in other upstream packages. It offers legacy support for GTK+ 2
11750 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11751 index files needed for Adwaita to be used outside of GNOME.")
11752 (license license:lgpl2.1+)))
11754 (define-public gnote
11761 (uri (string-append "mirror://gnome/sources/" name "/"
11762 (version-major version) "/"
11763 "gnote-" version ".tar.xz"))
11765 (base32 "01fqdfgcl32cf40jw9q0h7f5bghl1lvf89vln1lh41ncrk0iw6vy"))))
11766 (build-system glib-or-gtk-build-system)
11768 `(("desktop-file-utils" ,desktop-file-utils)
11769 ("glib:bin" ,glib "bin")
11770 ("gobject-introspection" ,gobject-introspection)
11771 ("intltool" ,intltool)
11772 ("itstool" ,itstool)
11773 ("pkg-config" ,pkg-config)
11774 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11776 `(("glibmm" ,glibmm)
11777 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11781 ("libsecret" ,libsecret)
11782 ("libuuid" ,util-linux "lib")
11783 ("libxml2" ,libxml2)
11784 ("libxslt" ,libxslt)))
11785 (synopsis "Note-taking application for the GNOME desktop")
11787 "Gnote is a note-taking application written for the GNOME desktop
11789 (home-page "https://wiki.gnome.org/Apps/Gnote")
11790 (license license:gpl3+)))
11792 (define-public polari
11798 (uri (string-append "mirror://gnome/sources/polari/"
11799 (version-major+minor version)
11800 "/polari-" version ".tar.xz"))
11803 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11804 (build-system meson-build-system)
11806 `(#:glib-or-gtk? #t
11808 (modify-phases %standard-phases
11809 (add-after 'unpack 'skip-gtk-update-icon-cache
11811 (substitute* "meson/meson-postinstall.sh"
11812 (("gtk-update-icon-cache") (which "true")))
11814 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11815 (lambda* (#:key outputs #:allow-other-keys)
11816 (let ((prog (string-append (assoc-ref outputs "out")
11819 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11823 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11827 ("libsecret" ,libsecret)
11828 ("libsoup" ,libsoup)
11829 ("telepathy-glib" ,telepathy-glib)
11830 ("telepathy-logger" ,telepathy-logger)))
11832 `(("glib:bin" ,glib "bin")
11833 ("gobject-introspection" ,gobject-introspection)
11834 ("intltool" ,intltool)
11835 ("pkg-config" ,pkg-config)
11836 ("yelp-tools" ,yelp-tools)))
11838 `(("telepathy-idle" ,telepathy-idle)
11839 ("telepathy-mission-control" ,telepathy-mission-control)))
11840 (synopsis "Simple IRC Client")
11842 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11843 integrate seamlessly with the GNOME desktop.")
11844 (home-page "https://wiki.gnome.org/Apps/Polari")
11845 (license license:gpl2+)))
11847 (define-public gnome-boxes
11849 (name "gnome-boxes")
11854 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11855 (version-major version) "/"
11856 "gnome-boxes-" version ".tar.xz"))
11858 (base32 "1wzhm8n485cqhbai4qshgrwl05ix881g8gjshilrj6vg8p1li79h"))
11860 (search-patches "gnome-boxes-add-guix-logo.patch"))))
11861 (build-system meson-build-system)
11863 `(#:meson ,meson-0.59 ;positional arguments error with meson 0.60
11865 #:configure-flags (list "-Drdp=false"
11866 (string-append "-Dc_link_args=-Wl,-rpath="
11867 (assoc-ref %outputs "out")
11868 "/lib/gnome-boxes"))))
11870 `(("glib:bin" ,glib "bin") ;for glib-compile-resources
11871 ("gtk+:bin" ,gtk+ "bin") ;for gtk-update-icon-cache
11872 ("desktop-file-utils" ,desktop-file-utils) ;for update-desktop-database
11873 ("itstool" ,itstool)
11874 ("intltool" ,intltool)
11876 ("pkg-config" ,pkg-config)))
11878 `(("libarchive" ,libarchive)
11879 ("glib-networking" ,glib-networking) ;for TLS support
11880 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11882 ("gtk-vnc" ,gtk-vnc)
11883 ("gtksourceview" ,gtksourceview)
11884 ("json-glib" ,json-glib)
11885 ("libhandy" ,libhandy)
11886 ("libosinfo" ,libosinfo)
11887 ("libsecret" ,libsecret)
11888 ("libsoup" ,libsoup-minimal-2)
11890 ("libvirt" ,libvirt)
11891 ("libvirt-glib" ,libvirt-glib)
11892 ("libxml" ,libxml2)
11893 ("spice-gtk" ,spice-gtk)
11894 ("sparql-query" ,sparql-query)
11896 ("webkitgtk" ,webkitgtk-with-libsoup2) ;for webkit2gtk-4.0
11897 ("tracker" ,tracker)
11898 ("libgudev" ,libgudev)))
11899 (home-page "https://wiki.gnome.org/Apps/Boxes")
11900 (synopsis "View, access, and manage remote and virtual systems")
11901 (description "GNOME Boxes is a simple application to view, access, and
11902 manage remote and virtual systems. Note that this application requires the
11903 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11904 @command{info '(guix) Virtualization Services'} to learn how to configure
11905 these services on the Guix System.")
11907 ;; For data/icons/empty-boxes.png.
11910 license:lgpl2.0+))))
11912 (define-public geary
11918 (uri (git-reference
11919 (url "https://gitlab.gnome.org/GNOME/geary.git")
11920 (commit (string-append "gnome-" version))))
11921 (file-name (git-file-name name version))
11924 "04hvw86r8sczvjm1z3ls5y5y5h6nyfb648rjkfx05ib00mqq5v1x"))))
11925 (build-system meson-build-system)
11927 `(#:glib-or-gtk? #t
11929 '("-Dprofile=release")
11930 #:phases (modify-phases %standard-phases
11931 (add-after 'unpack 'disable-failing-tests
11933 (substitute* "test/test-client.vala"
11934 (("client.add_suite\\(new Application.CertificateManagerTest\\(\\).suite\\);")
11936 (add-after 'unpack 'generate-vapis
11937 (lambda* (#:key inputs #:allow-other-keys)
11938 ;; It’s not possible to generate the GMime vapi, because
11939 ;; there’s custom metadata that gmime didn’t
11940 ;; install. Thus, the vapi should be built and installed
11943 (assoc-ref inputs "gmime"))
11944 (copy-file (string-append gmime "/share/vala/vapi/gmime-3.0.vapi")
11945 "bindings/vapi/gmime-3.0.vapi")))
11946 (add-after 'unpack 'disable-postinstall-script
11948 (substitute* "build-aux/post_install.py"
11949 (("gtk-update-icon-cache")
11951 (add-before 'check 'setup-home
11953 ;; Tests require a writable HOME.
11954 (setenv "HOME" (getcwd))))
11955 (add-before 'check 'setup-xvfb
11957 (system "Xvfb :1 &")
11958 (setenv "DISPLAY" ":1")
11961 `(("enchant" ,enchant)
11966 ("gnome-online-accounts:lib"
11967 ,gnome-online-accounts "lib")
11968 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11972 ("iso-codes" ,iso-codes)
11973 ("json-glib" ,json-glib)
11974 ("libcanberra" ,libcanberra)
11976 ("libhandy" ,libhandy)
11977 ("libpeas" ,libpeas)
11978 ("libsecret" ,libsecret)
11979 ("libstemmer" ,libstemmer)
11980 ("libunwind" ,libunwind)
11982 ("webkitgtk" ,webkitgtk-with-libsoup2)
11985 `(("appstream-glib" ,appstream-glib)
11986 ("cmake-minimal" ,cmake-minimal)
11987 ("desktop-file-utils" ,desktop-file-utils)
11988 ("gettext" ,gettext-minimal)
11990 ("glib:bin" ,glib "bin")
11992 ("gobject-introspection" ,gobject-introspection)
11993 ("itstool" ,itstool)
11994 ("libarchive" ,libarchive)
11995 ("libxml2" ,libxml2)
11996 ("pkg-config" ,pkg-config)
11998 ("xvfb" ,xorg-server-for-tests)))
11999 (synopsis "GNOME email application built around conversations")
12001 "Geary collects related messages together into conversations,
12002 making it easy to find and follow your discussions. Full-text and keyword
12003 search makes it easy to find the email you are looking for. Geary's
12004 full-featured composer lets you send rich, styled text with images, links, and
12005 lists, but also send lightweight, easy to read text messages. Geary
12006 automatically picks up your existing GNOME Online Accounts, and adding more is
12007 easy. Geary has a clean, fast, modern interface that works like you want it
12009 (home-page "https://wiki.gnome.org/Apps/Geary")
12015 license:cc-by-sa3.0
12016 license:public-domain
12020 (define-public glabels
12027 (uri (string-append "mirror://gnome/sources/" name "/"
12028 (version-major+minor version) "/"
12029 "glabels-" version ".tar.xz"))
12031 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
12032 (build-system glib-or-gtk-build-system)
12034 `(("gettext" ,gettext-minimal)
12035 ("glib:bin" ,glib "bin")
12036 ("intltool" ,intltool)
12037 ("itstool" ,itstool)
12038 ("pkg-config" ,pkg-config)))
12041 ("librsvg" ,librsvg)
12042 ("libxml2" ,libxml2)))
12044 `(#:configure-flags '("CFLAGS=-fcommon")))
12045 (home-page "https://glabels.org/")
12046 (synopsis "Program for creating labels and business cards")
12048 "gLabels is a program for creating labels and business cards. It is
12049 designed to work with various laser/ink-jet peel-off label and business
12050 card sheets that you’ll find at most office supply stores.")
12051 (license license:gpl3+)))
12053 (define-public gnome-latex
12055 (name "gnome-latex")
12060 (uri (string-append "mirror://gnome/sources/" name "/"
12061 (version-major+minor version) "/"
12062 "gnome-latex-" version ".tar.xz"))
12064 (base32 "0xqd49pgi82dygqnxj08i1v22b0vwwhx3zvdinhrx4jny339yam8"))))
12065 (build-system glib-or-gtk-build-system)
12067 `(("gettext" ,gettext-minimal)
12068 ("glib:bin" ,glib "bin")
12069 ("gobject-introspection" ,gobject-introspection)
12070 ("gtk-doc" ,gtk-doc/stable)
12071 ("intltool" ,intltool)
12072 ("itstool" ,itstool)
12073 ("pkg-config" ,pkg-config)
12079 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12082 ("gtksourceview" ,gtksourceview)
12085 ("uchardet" ,uchardet)))
12086 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
12087 (synopsis "LaTeX editor for the GNOME desktop")
12089 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
12090 such as build tools, completion of LaTeX commands, structure navigation,
12091 symbol tables, document templates, project management, spell-checking, menus
12093 (license license:gpl3+)))
12095 (define-public setzer
12102 (uri (git-reference
12103 (url "https://github.com/cvfosammmm/Setzer")
12104 (commit (string-append "v" version))))
12105 (file-name (git-file-name name version))
12107 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
12108 (build-system meson-build-system)
12110 `(#:glib-or-gtk? #t
12112 (modify-phases %standard-phases
12113 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12114 (lambda* (#:key outputs #:allow-other-keys)
12115 (let ((prog (string-append (assoc-ref outputs "out")
12117 (pylib (string-append (assoc-ref outputs "out")
12119 ,(version-major+minor
12120 (package-version python))
12121 "/site-packages")))
12123 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
12124 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12127 `(("desktop-file-utils" ,desktop-file-utils)
12128 ("gettext" ,gettext-minimal)
12129 ("glib:bin" ,glib "bin")
12130 ("gobject-introspection" ,gobject-introspection)
12131 ("gtk+:bin" ,gtk+ "bin")))
12133 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12136 ("gtksourceview" ,gtksourceview)
12138 ("poppler" ,poppler)
12139 ("python-pdfminer" ,python-pdfminer-six)
12140 ("python-pycairo" ,python-pycairo)
12141 ("python-pygobject" ,python-pygobject)
12142 ("python-pyxdg" ,python-pyxdg)
12143 ("webkitgtk" ,webkitgtk)
12144 ("xdg-utils" ,xdg-utils)))
12145 (home-page "https://www.cvfosammmm.org/setzer/")
12146 (synopsis "LaTeX editor written in Python with GTK+")
12148 "Setzer is a simple yet full-featured LaTeX editor written in Python with
12149 GTK+. It integrates well with the GNOME desktop environment.")
12150 (license license:gpl3+)))
12152 (define-public apostrophe
12154 (name "apostrophe")
12158 (uri (git-reference
12159 (url "https://gitlab.gnome.org/somas/apostrophe")
12160 (commit (string-append "v" version))))
12161 (file-name (git-file-name name version))
12164 "06yfiflmj3ip7ppcz41nb3xpgb5ggw5h74w0v87yaqqkq7qh31lp"))))
12165 (build-system meson-build-system)
12167 `(#:glib-or-gtk? #t
12169 (modify-phases %standard-phases
12170 (add-after 'unpack 'patch-meson
12172 (substitute* "build-aux/meson_post_install.py"
12173 (("gtk-update-icon-cache") "true"))
12175 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12176 (lambda* (#:key inputs outputs #:allow-other-keys)
12177 (let ((prog (string-append (assoc-ref outputs "out")
12178 "/bin/apostrophe"))
12179 (pylib (string-append (assoc-ref outputs "out")
12181 ,(version-major+minor
12182 (package-version python))
12183 "/site-packages")))
12185 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
12186 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
12187 `("PATH" prefix (,(dirname
12188 (search-input-file inputs
12189 "/bin/pandoc")))))))))))
12192 ("gobject-introspection" ,gobject-introspection)
12195 ("libhandy" ,libhandy)
12197 ("python-chardet" ,python-chardet)
12198 ("python-levenshtein" ,python-levenshtein)
12199 ("python-regex" ,python-regex)
12200 ("python-pycairo" ,python-pycairo)
12201 ("python-pygobject" ,python-pygobject)
12202 ("python-pyenchant" ,python-pyenchant)
12203 ("python-pypandoc" ,python-pypandoc)
12204 ("webkitgtk" ,webkitgtk)))
12206 `(("gettext" ,gettext-minimal)
12207 ("glib:bin" ,glib "bin")
12208 ("pkg-config" ,pkg-config)
12210 (home-page "https://gitlab.gnome.org/somas/apostrophe")
12211 (synopsis "Markdown editor written in Python with GTK+")
12212 (description "Apostrophe is a GTK+ based distraction-free Markdown editor.
12213 It uses pandoc as back-end for parsing Markdown.")
12214 (license license:gpl3)))
12216 (define-public libratbag
12223 (uri (git-reference
12224 (url "https://github.com/libratbag/libratbag")
12225 (commit (string-append "v" version))))
12226 (file-name (git-file-name name version))
12228 (base32 "0jjf6xc3a37icp5dvbxla3ai9is2ns31m0llbfq1bmb6dk8cd4n0"))))
12229 (build-system meson-build-system)
12231 `(#:configure-flags
12232 (list "-Dsystemd=false"
12233 "-Dlogind-provider=elogind")
12235 (modify-phases %standard-phases
12236 (add-after 'install 'wrap
12237 (lambda* (#:key inputs outputs #:allow-other-keys)
12238 (let* ((out (assoc-ref outputs "out"))
12239 (site (string-append
12241 ,(version-major+minor (package-version python))
12243 (evdev (string-append
12244 (assoc-ref inputs "python-evdev") site))
12245 (pygo (string-append
12246 (assoc-ref inputs "python-pygobject") site))
12248 `("GUIX_PYTHONPATH" = (,evdev ,pygo))))
12249 (wrap-program (string-append out "/bin/" "ratbagctl")
12254 ("pkg-config" ,pkg-config)
12256 ("valgrind" ,valgrind)))
12259 ("json-glib" ,json-glib)
12260 ("libevdev" ,libevdev)
12261 ("libsystemd" ,elogind)
12262 ("libunistring" ,libunistring)
12263 ("python-evdev" ,python-evdev)
12264 ("python-pygobject" ,python-pygobject)
12266 (home-page "https://github.com/libratbag/libratbag")
12267 (synopsis "DBus daemon and utility for configuring gaming mice")
12268 (description "libratbag provides @command{ratbagd}, a DBus daemon to
12269 configure input devices, mainly gaming mice. The daemon provides a generic
12270 way to access the various features exposed by these mice and abstracts away
12271 hardware-specific and kernel-specific quirks. There is also the
12272 @command{ratbagctl} command line interface for configuring devices.
12274 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
12277 The ratbagd DBus service can be enabled by adding the following service to
12278 your operating-system definition:
12280 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
12281 (license license:expat)))
12283 (define-public piper
12290 (uri (git-reference
12291 (url "https://github.com/libratbag/piper")
12294 (base32 "02x4d4n0078slj2pl0rvgayrrxvna6y6vj8fxfamvazsh5xyfzwk"))
12295 (file-name (git-file-name name version))))
12296 (build-system meson-build-system)
12298 `(("gettext" ,gettext-minimal)
12299 ("glib:bin" ,glib "bin")
12300 ("gobject-introspection" ,gobject-introspection)
12301 ("pkg-config" ,pkg-config)
12302 ("python-flake8" ,python-flake8)))
12304 `(("adwaita-icon-theme" ,adwaita-icon-theme)
12306 ("gtk:bin" ,gtk+ "bin")
12307 ("libratbag" ,libratbag)
12308 ("librsvg" ,librsvg)
12309 ("python-evdev" ,python-evdev)
12310 ("python-lxml" ,python-lxml)
12311 ("python-pycairo" ,python-pycairo)
12312 ("python-pygobject" ,python-pygobject)))
12314 `(#:imported-modules ((guix build python-build-system)
12315 ,@%meson-build-system-modules)
12316 #:modules (((guix build python-build-system) #:prefix python:)
12317 (guix build meson-build-system)
12318 (guix build utils))
12319 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
12321 (modify-phases %standard-phases
12322 (add-after 'unpack 'dont-update-gtk-icon-cache
12324 (substitute* "meson.build"
12325 (("meson.add_install_script('meson_install.sh')") ""))
12327 ;; TODO: Switch to wrap-script when it is fixed.
12328 (add-after 'install 'wrap-python
12329 (assoc-ref python:%standard-phases 'wrap))
12330 (add-after 'wrap-python 'wrap
12331 (lambda* (#:key outputs #:allow-other-keys)
12333 (string-append (assoc-ref outputs "out" )"/bin/piper")
12334 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12336 (home-page "https://github.com/libratbag/piper/")
12337 (synopsis "Configure bindings and LEDs on gaming mice")
12338 (description "Piper is a GTK+ application for configuring gaming mice with
12339 onboard configuration for key bindings via libratbag. Piper requires
12340 a @command{ratbagd} daemon running with root privileges. It can be run
12341 manually as root, but is preferably configured as a DBus service that can
12342 launch on demand. This can be configured by enabling the following service,
12343 provided there is a DBus service present:
12345 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
12346 (license license:gpl2)))
12348 (define-public parlatype
12355 (uri (git-reference
12356 (url "https://github.com/gkarsay/parlatype")
12357 (commit (string-append "v" version))))
12358 (file-name (git-file-name name version))
12360 (base32 "0mvzagkg9kq2ji6mffi37mdjxmlj3wa65d4lcayij9hsmjlklnzs"))))
12361 (build-system meson-build-system)
12363 `(#:glib-or-gtk? #t
12364 #:tests? #f ;require internet access
12366 (modify-phases %standard-phases
12367 (add-after 'unpack 'skip-gtk-update-icon-cache
12369 (substitute* "data/meson_post_install.py"
12370 (("gtk-update-icon-cache") "true"))))
12371 (add-after 'install 'wrap-parlatype
12372 ;; Add gstreamer plugin provided in this package to system's
12374 (lambda* (#:key outputs #:allow-other-keys)
12375 (let* ((out (assoc-ref outputs "out"))
12376 (gst-plugin-path (string-append
12377 out "/lib/gstreamer-1.0/"
12379 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
12380 (wrap-program (string-append out "/bin/parlatype")
12381 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path)))))))))
12383 `(("appstream-glib" ,appstream-glib)
12384 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
12385 ("gettext" ,gettext-minimal)
12386 ("glib" ,glib "bin") ;for glib-compile-resources
12387 ("pkg-config" ,pkg-config)
12388 ("yelp-tools" ,yelp-tools)))
12390 `(("gst-plugins-base" ,gst-plugins-base)
12391 ("gst-plugins-good" ,gst-plugins-good)
12392 ("gstreamer" ,gstreamer)
12394 ("iso-codes" ,iso-codes)
12395 ("pocketsphinx" ,pocketsphinx)
12396 ("pulseaudio" ,pulseaudio)
12397 ("sphinxbase" ,sphinxbase)))
12398 (home-page "https://www.parlatype.org")
12399 (synopsis "GNOME audio player for transcription")
12400 (description "Parlatype is an audio player for the GNOME desktop
12401 environment. Its main purpose is the manual transcription of spoken
12403 (license license:gpl3+)))
12405 (define-public jsonrpc-glib
12407 (name "jsonrpc-glib")
12411 (uri (string-append "mirror://gnome/sources/" name "/"
12412 (version-major+minor version) "/"
12413 name "-" version ".tar.xz"))
12416 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
12417 (build-system meson-build-system)
12419 `(("json-glib" ,json-glib)
12422 `(("pkg-config" ,pkg-config)
12423 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
12424 ("gobject-introspection" ,gobject-introspection)
12426 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
12427 (synopsis "JSON-RPC library for GLib")
12428 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
12429 peers in either a synchronous or asynchronous fashion. It also allows
12430 communicating using the GVariant serialization format instead of JSON when
12431 both peers support it. You might want that when communicating on a single
12432 host to avoid parser overhead and memory-allocator fragmentation.")
12433 (license license:lgpl2.1+)))
12435 (define-public feedbackd
12438 (version "0.0.0+git20200527")
12441 (uri (git-reference
12442 (url "https://source.puri.sm/Librem5/feedbackd.git")
12443 (commit (string-append "v" version))))
12444 (file-name (git-file-name name version))
12447 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
12448 (build-system meson-build-system)
12450 `(("glib:bin" ,glib "bin")
12451 ("gobject-introspection" ,gobject-introspection)
12452 ("pkg-config" ,pkg-config)
12457 ("json-glib" ,json-glib)
12458 ("libgudev" ,libgudev)))
12460 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
12461 (synopsis "Haptic/visual/audio feedback via DBus")
12462 (description "Feedbackd provides a DBus daemon to act on events to provide
12463 haptic, visual and audio feedback. It offers the libfeedbackd library and
12464 GObject introspection bindings.")
12465 (home-page "https://source.puri.sm/Librem5/feedbackd")
12466 (license (list license:lgpl2.1+ ; libfeedbackd
12467 license:lgpl3+)))) ; the rest
12469 (define-public sysprof
12476 (uri (string-append "mirror://gnome/sources/sysprof/"
12477 (version-major+minor version) "/"
12478 "sysprof-" version ".tar.xz"))
12480 (base32 "0090986ar3lz9m9fy7l5y9ibzzmgsx54cm6gp8ggsxgf0habi5hp"))))
12481 (build-system meson-build-system)
12483 `(#:configure-flags
12484 (list (string-append "-Dsystemdunitdir="
12487 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
12489 (modify-phases %standard-phases
12490 (add-after 'unpack 'patch-install-script
12492 (substitute* "build-aux/meson/post_install.sh"
12493 (("gtk-update-icon-cache") "true")
12494 (("update-desktop-database") "true"))
12497 `(("polkit" ,polkit)))
12501 ("json-glib" ,json-glib)
12502 ("libdazzle" ,libdazzle)
12503 ("polkit" ,polkit)))
12505 `(("gettext" ,gettext-minimal)
12506 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
12507 ("itstool" ,itstool)
12508 ("pkg-config" ,pkg-config)
12509 ("xmllint" ,libxml2)))
12510 ;; This home page is so woefully out of date as to be essentially useless.
12511 ;; (home-page "http://www.sysprof.com")
12512 (home-page "https://wiki.gnome.org/Apps/Sysprof")
12513 (synopsis "System-wide performance profiler for GNU/Linux")
12515 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
12516 GNU/Linux system including the kernel and all user-space applications. This
12517 helps find the function(s) in which a program spends most of its time.
12519 It uses the kernel's built-in @code{ptrace} feature and handles shared
12520 libraries. Applications do not need to be recompiled--or even restarted.")
12521 (license license:gpl3+)))
12523 (define-public gnome-builder
12525 (name "gnome-builder")
12529 (uri (string-append "mirror://gnome/sources/" name "/"
12530 (version-major version) "/"
12531 name "-" version ".tar.xz"))
12534 "04p031i999dccbnlbysmr6f93x7dji7b559j6yhdsqbqgxb7ncan"))))
12535 (build-system meson-build-system)
12537 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
12538 #:configure-flags (list "-Dnetwork_tests=false"
12539 ;; TODO: Enable all plugins...
12540 ;; Flatpak plugin wants libsoup 2
12541 "-Dplugin_flatpak=false"
12542 ;; ... except this one.
12543 "-Dplugin_update_manager=false")
12545 (modify-phases %standard-phases
12546 (add-after 'unpack 'patch-meson
12547 (lambda* (#:key inputs #:allow-other-keys)
12548 (substitute* "build-aux/meson/post_install.py"
12549 (("gtk-update-icon-cache") "true")
12550 (("update-desktop-database") "true"))
12551 (substitute* "src/libide/meson.build"
12553 (string-append (assoc-ref inputs "python-pygobject")
12555 (add-after 'configure 'fix-ninja
12557 ;; #43296: meson(?) incorrectly assumes we want to link
12558 ;; this PIE against a static libselinux.
12559 (substitute* "build.ninja"
12560 (("libselinux\\.a") "libselinux.so"))
12562 (add-before 'check 'pre-check
12564 (system "Xvfb :1 &")
12565 (setenv "DISPLAY" ":1")
12570 ("devhelp" ,devhelp-with-libsoup2)
12574 ("json-glib" ,json-glib)
12575 ("jsonrpc-glib" ,jsonrpc-glib)
12576 ("libdazzle" ,libdazzle)
12577 ("libgit2-glib" ,libgit2-glib)
12578 ("libpeas" ,libpeas)
12579 ("libportal" ,libportal)
12580 ("libsoup" ,libsoup-minimal-2)
12582 ("python-pygobject" ,python-pygobject)
12583 ("sysprof" ,sysprof)
12584 ("template-glib" ,template-glib)
12586 ("webkitgtk" ,webkitgtk-with-libsoup2)))
12588 `(("gtksourceview" ,gtksourceview))) ;needed for settings
12590 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
12591 ("glib:bin" ,glib "bin")
12592 ("gettext" ,gettext-minimal)
12593 ("pkg-config" ,pkg-config)
12595 ("xorg-server" ,xorg-server-for-tests)))
12596 (home-page "https://wiki.gnome.org/Apps/Builder")
12597 (synopsis "Toolsmith for GNOME-based applications")
12598 (description "Builder aims to be an integrated development
12599 environment (IDE) for writing GNOME-based software. It features fuzzy search,
12600 auto-completion, a mini code map, documentation browsing, Git integration, an
12601 integrated profiler via Sysprof, debugging support, and more.")
12602 (license license:gpl3+)))
12604 (define-public komikku
12611 (uri (git-reference
12612 (url "https://gitlab.com/valos/Komikku/")
12613 (commit (string-append "v" version))))
12614 (file-name (git-file-name name version))
12617 "11iq2mc8k7ny70vb0iqfjhj1hii0wvr4cv2p6b5rnjqdp6hc63n9"))))
12618 (build-system meson-build-system)
12620 `(#:glib-or-gtk? #t
12622 (modify-phases %standard-phases
12623 (add-after 'unpack 'patch-sources
12625 (substitute* "komikku/utils.py"
12626 (("from komikku\\.servers import get_servers_list")
12627 ;; code following that line should migrate old databases
12628 ;; but the line itself results in an import error
12629 "return data_dir_path"))))
12630 (add-after 'unpack 'skip-gtk-update-icon-cache
12632 (substitute* "meson_post_install.py"
12633 (("gtk-update-icon-cache") (which "true")))
12635 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12636 (lambda* (#:key outputs #:allow-other-keys)
12637 (let ((prog (string-append (assoc-ref outputs "out")
12640 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
12641 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12645 ("libhandy" ,libhandy)
12646 ("libnotify" ,libnotify)
12647 ("libsecret" ,libsecret)
12648 ("python-beautifulsoup4" ,python-beautifulsoup4)
12649 ("python-brotli" ,python-brotli)
12650 ("python-cloudscraper" ,python-cloudscraper)
12651 ("python-dateparser" ,python-dateparser)
12652 ("python-keyring" ,python-keyring)
12653 ("python-lxml" ,python-lxml)
12654 ("python-magic" ,python-magic)
12655 ("python-natsort" ,python-natsort)
12656 ("python-pillow" ,python-pillow)
12657 ("python-pure-protobuf" ,python-pure-protobuf)
12658 ("python-pycairo" ,python-pycairo)
12659 ("python-pygobject" ,python-pygobject)
12660 ("python-requests" ,python-requests)
12661 ("python-unidecode" ,python-unidecode)
12662 ("webkitgtk" ,webkitgtk)))
12664 `(("desktop-file-utils" ,desktop-file-utils)
12665 ("gettext" ,gettext-minimal)
12666 ("glib:bin" ,glib "bin")
12667 ("gobject-introspection" ,gobject-introspection)
12668 ("pkg-config" ,pkg-config)))
12669 (home-page "https://gitlab.com/valos/Komikku")
12670 (synopsis "Manga reader for GNOME")
12671 (description "Komikku is an online/offline manga reader for GNOME,
12672 developed with the aim of being used with the Librem 5 phone.")
12673 (license license:gpl3+)))
12675 (define-public libgda
12682 (uri (git-reference
12683 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12684 (commit (string-append "LIBGDA_" (string-replace-substring
12685 version "." "_")))))
12686 (file-name (git-file-name name version))
12688 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12689 (build-system gnu-build-system)
12691 `(#:configure-flags '("--enable-vala")
12692 ;; There's a race between check_cnc_lock and check_threaded_cnc
12693 ;; in tests/multi-threading.
12694 #:parallel-tests? #f
12696 (modify-phases %standard-phases
12697 (add-after 'unpack 'fix-glade-install
12699 (substitute* "configure.ac"
12700 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12701 "${datadir}/glade/catalogs")
12702 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12703 "${datadir}/glade/pixmaps"))
12705 (add-before 'check 'pre-check
12706 (lambda* (#:key inputs #:allow-other-keys)
12707 ;; Tests require a running X server.
12708 (system "Xvfb :1 &")
12709 (setenv "DISPLAY" ":1")
12711 (add-after 'install 'symlink-glade-module
12712 (lambda* (#:key outputs #:allow-other-keys)
12713 (let* ((shlib "libgda-ui-5.0.so")
12714 (out (assoc-ref outputs "out"))
12715 (out/lib (string-append out "/lib"))
12716 (moduledir (string-append out/lib "/glade/modules")))
12717 (mkdir-p moduledir)
12718 (symlink (string-append out/lib "/" shlib)
12719 (string-append moduledir "/" shlib))
12722 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12727 ("libsecret" ,libsecret)
12728 ("libxslt" ,libxslt)
12729 ("openssl" ,openssl)
12732 `(("autoconf" ,autoconf)
12733 ("autoconf-archive" ,autoconf-archive)
12734 ("automake" ,automake)
12735 ("glib:bin" ,glib "bin")
12736 ("gnome-common" ,gnome-common)
12737 ("gobject-introspection" ,gobject-introspection)
12738 ("gtk-doc" ,gtk-doc/stable)
12739 ("intltool" ,intltool)
12740 ("libtool" ,libtool)
12741 ("pkg-config" ,pkg-config)
12744 ("xorg-server" ,xorg-server-for-tests)
12745 ("yelp-tools" ,yelp-tools)))
12746 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12747 (synopsis "Uniform data access")
12749 "GNU Data Access (GDA) is an attempt to provide uniform access to
12750 different kinds of data sources (databases, information servers, mail spools,
12751 etc). It is a complete architecture that provides all you need to access
12753 (license license:lgpl2.1+)))
12755 (define-public gtranslator
12757 (name "gtranslator")
12761 (uri (string-append "mirror://gnome/sources/" name "/"
12762 (version-major+minor version) "/"
12763 name "-" version ".tar.xz"))
12766 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12767 (build-system meson-build-system)
12769 `(("json-glib" ,json-glib)
12770 ("jsonrpc-glib" ,jsonrpc-glib)
12771 ("gettext" ,gettext-minimal)
12774 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12776 ("libdazzle" ,libdazzle)
12778 ("libsoup" ,libsoup)))
12780 `(("glib:bin" ,glib "bin")
12781 ("itstool" ,itstool)
12782 ("pkg-config" ,pkg-config)))
12784 `(("gtksourceview" ,gtksourceview))) ; required for source view
12786 `(#:build-type "release"
12789 (modify-phases %standard-phases
12790 (add-after 'unpack 'skip-gtk-update-icon-cache
12792 (substitute* "build-aux/meson/meson_post_install.py"
12793 (("gtk-update-icon-cache") (which "true")))
12795 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12796 (synopsis "Translation making program")
12798 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12799 for the GNOME 3.x platform with many features. It aims to be a very complete
12800 editing environment for translation issues within the GNU gettext/GNOME desktop
12802 (license license:gpl3+)))
12805 (define-public ocrfeeder
12811 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12812 (version-major+minor version) "/"
12813 "ocrfeeder-" version ".tar.xz"))
12816 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12817 (build-system gnu-build-system)
12820 (modify-phases %standard-phases
12822 'install 'wrap-program
12823 (lambda* (#:key outputs #:allow-other-keys)
12824 (let ((prog (string-append (assoc-ref outputs "out")
12825 "/bin/" "ocrfeeder"))
12826 (pylib (string-append (assoc-ref outputs "out")
12828 ,(version-major+minor
12829 (package-version python))
12830 "/site-packages")))
12832 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
12833 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12836 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12837 ("gobject-introspection" ,gobject-introspection)
12838 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12839 ("intltool" ,intltool)
12840 ("itstool" ,itstool)
12841 ("pkg-config" ,pkg-config)
12842 ("xmllint" ,libxml2)))
12844 `(("enchant" ,enchant)
12846 ("goocanvas" ,goocanvas)
12848 ("gtkspell3" ,gtkspell3)
12849 ("libjpeg" ,libjpeg-turbo)
12850 ("libtiff" ,libtiff)
12853 ("python" ,python-wrapper)
12854 ("python-pygobject" ,python-pygobject)
12855 ("python-odfpy" ,python-odfpy)
12856 ("python-pillow" ,python-pillow)
12857 ("python-pyenchant" ,python-pyenchant)
12858 ("python-reportlab" ,python-reportlab)
12859 ("python-sane" ,python-sane)
12860 ("sane-backends" ,sane-backends)
12861 ("tesseract-ocr" ,tesseract-ocr)))
12862 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12863 (synopsis "Complete OCR Suite")
12864 (description "OCRFeeder is a complete Optical Character Recognition and
12865 Document Analysis and Recognition program.")
12866 (license license:gpl3+)))
12868 (define-public libadwaita
12869 (let ((commit "8d66b987a19979d9d7b85dacc6bad5ce0c8743fe")
12872 (name "libadwaita")
12873 (version (git-version "0.0.1" revision commit))
12876 (uri (git-reference
12877 (url "https://gitlab.gnome.org/GNOME/libadwaita.git")
12879 (file-name (git-file-name name version))
12882 "0i3wav6jsyi4w4i2r1rad769m5y5s9djj4zqb7dfyh0bad24ba3q"))))
12883 (build-system meson-build-system)
12886 (modify-phases %standard-phases
12887 (add-before 'check 'pre-check
12888 (lambda* (#:key inputs #:allow-other-keys)
12889 ;; Tests require a running X server.
12890 (system "Xvfb :1 &")
12891 (setenv "DISPLAY" ":1"))))))
12894 ("glib:bin" ,glib "bin")
12895 ("gtk-doc" ,gtk-doc/stable)
12896 ("pkg-config" ,pkg-config)
12898 ("xvfb" ,xorg-server-for-tests)))
12901 ("gobject-introspection" ,gobject-introspection)
12902 ("libportal" ,libportal)))
12903 (home-page "https://gnome.pages.gitlab.gnome.org/libadwaita/")
12904 (synopsis "Building blocks for GNOME applications")
12906 "@code{libadwaita} offers widgets and objects to build GNOME
12907 applications scaling from desktop workstations to mobile phones. It is the
12908 successor of @code{libhandy} for GTK4.")
12909 (license license:lgpl2.1+))))
12911 (define-public gnome-power-manager
12913 (name "gnome-power-manager")
12917 (uri (string-append "mirror://gnome/sources/" name "/"
12918 (version-major+minor version) "/"
12919 name "-" version ".tar.xz"))
12922 "0drfn3wcc8l4n07qwv6p0rw2dwcd00hwzda282q62l6sasks2b2g"))))
12923 (build-system meson-build-system)
12925 `(("upower" ,upower)
12927 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12928 ("adwaita-icon-theme" ,adwaita-icon-theme)))
12930 `(("desktop-file-utils" ,desktop-file-utils)
12931 ("glib:bin" ,glib "bin")
12932 ("gettext" ,gettext-minimal)
12933 ("pkg-config" ,pkg-config)))
12934 (home-page "https://gitlab.gnome.org/GNOME/gnome-power-manager")
12935 (synopsis "Power management daemon for the GNOME desktop")
12936 (description "@code{gnome-power-manager} is a tool for viewing present and
12937 historical battery usage and related statistics.")
12938 (license license:gpl2)))