1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014-2022 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-2022 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–2022 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, 2022 Marius Bakke <marius@gnu.org>
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, 2022 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, 2022 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, 2022 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, 2022 Guillaume Le Vaillant <glv@posteo.net>
64 ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
65 ;;; Copyright © 2021, 2022 Maxime Devos <maximedevos@telenet.be>
66 ;;; Copyright © 2021 Josselin Poiret <josselin.poiret@protonmail.ch>
67 ;;; Copyright © 2021 Mathieu Othacehe <othacehe@gnu.org>
68 ;;; Copyright © 2022 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
69 ;;; Copyright © 2022 Pierre Langlois <pierre.langlois@gmx.com>
70 ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
71 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
72 ;;; Copyright © 2022 Leo Nikkilä <hello@lnikki.la>
73 ;;; Copyright © 2022 Rene Saavedra <nanuui@protonmail.com>
74 ;;; Copyright © 2022 Alexandros Theodotou <alex@zrythm.org>
76 ;;; This file is part of GNU Guix.
78 ;;; GNU Guix is free software; you can redistribute it and/or modify it
79 ;;; under the terms of the GNU General Public License as published by
80 ;;; the Free Software Foundation; either version 3 of the License, or (at
81 ;;; your option) any later version.
83 ;;; GNU Guix is distributed in the hope that it will be useful, but
84 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
85 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
86 ;;; GNU General Public License for more details.
88 ;;; You should have received a copy of the GNU General Public License
89 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
91 (define-module (gnu packages gnome)
92 #:use-module (gnu packages)
93 #:use-module (gnu packages admin)
94 #:use-module (gnu packages aidc)
95 #:use-module (gnu packages aspell)
96 #:use-module (gnu packages autotools)
97 #:use-module (gnu packages avahi)
98 #:use-module (gnu packages backup)
99 #:use-module (gnu packages base)
100 #:use-module (gnu packages bash)
101 #:use-module (gnu packages bison)
102 #:use-module (gnu packages boost)
103 #:use-module (gnu packages build-tools)
104 #:use-module (gnu packages calendar)
105 #:use-module (gnu packages cdrom)
106 #:use-module (gnu packages check)
107 #:use-module (gnu packages cmake)
108 #:use-module (gnu packages compression)
109 #:use-module (gnu packages crates-io)
110 #:use-module (gnu packages crates-graphics)
111 #:use-module (gnu packages crates-gtk)
112 #:use-module (gnu packages cups)
113 #:use-module (gnu packages curl)
114 #:use-module (gnu packages cyrus-sasl)
115 #:use-module (gnu packages databases)
116 #:use-module (gnu packages dbm)
117 #:use-module (gnu packages djvu)
118 #:use-module (gnu packages dns)
119 #:use-module (gnu packages docbook)
120 #:use-module (gnu packages docker)
121 #:use-module (gnu packages documentation)
122 #:use-module (gnu packages enchant)
123 #:use-module (gnu packages flex)
124 #:use-module (gnu packages fonts)
125 #:use-module (gnu packages file-systems)
126 #:use-module (gnu packages fontutils)
127 #:use-module (gnu packages freedesktop)
128 #:use-module (gnu packages game-development)
129 #:use-module (gnu packages gcc)
130 #:use-module (gnu packages gettext)
131 #:use-module (gnu packages ghostscript)
132 #:use-module (gnu packages gimp)
133 #:use-module (gnu packages gl)
134 #:use-module (gnu packages glib)
135 #:use-module (gnu packages gnupg)
136 #:use-module (gnu packages gnuzilla)
137 #:use-module (gnu packages geo)
138 #:use-module (gnu packages gperf)
139 #:use-module (gnu packages graphviz)
140 #:use-module (gnu packages gstreamer)
141 #:use-module (gnu packages gtk)
142 #:use-module (gnu packages guile)
143 #:use-module (gnu packages haskell-xyz)
144 #:use-module (gnu packages ibus)
145 #:use-module (gnu packages icu4c)
146 #:use-module (gnu packages image)
147 #:use-module (gnu packages imagemagick)
148 #:use-module (gnu packages inkscape)
149 #:use-module (gnu packages iso-codes)
150 #:use-module (gnu packages kerberos)
151 #:use-module (gnu packages language)
152 #:use-module (gnu packages libcanberra)
153 #:use-module (gnu packages libffi)
154 #:use-module (gnu packages libunistring)
155 #:use-module (gnu packages libunwind)
156 #:use-module (gnu packages libusb)
157 #:use-module (gnu packages linux)
158 #:use-module (gnu packages lirc)
159 #:use-module (gnu packages llvm)
160 #:use-module (gnu packages lua)
161 #:use-module (gnu packages mail)
162 #:use-module (gnu packages man)
163 #:use-module (gnu packages markup)
164 #:use-module (gnu packages messaging)
165 #:use-module (gnu packages mp3)
166 #:use-module (gnu packages multiprecision)
167 #:use-module (gnu packages music)
168 #:use-module (gnu packages ncurses)
169 #:use-module (gnu packages nettle)
170 #:use-module (gnu packages networking)
171 #:use-module (gnu packages ninja)
172 #:use-module (gnu packages node)
173 #:use-module (gnu packages nss)
174 #:use-module (gnu packages ocr)
175 #:use-module (gnu packages openldap)
176 #:use-module (gnu packages package-management)
177 #:use-module (gnu packages password-utils)
178 #:use-module (gnu packages pcre)
179 #:use-module (gnu packages pdf)
180 #:use-module (gnu packages perl)
181 #:use-module (gnu packages photo)
182 #:use-module (gnu packages pkg-config)
183 #:use-module (gnu packages polkit)
184 #:use-module (gnu packages popt)
185 #:use-module (gnu packages pretty-print)
186 #:use-module (gnu packages protobuf)
187 #:use-module (gnu packages pulseaudio)
188 #:use-module (gnu packages python)
189 #:use-module (gnu packages python-build)
190 #:use-module (gnu packages python-crypto)
191 #:use-module (gnu packages python-web)
192 #:use-module (gnu packages python-xyz)
193 #:use-module (gnu packages rdesktop)
194 #:use-module (gnu packages rdf)
195 #:use-module (gnu packages readline)
196 #:use-module (gnu packages ruby)
197 #:use-module (gnu packages rust)
198 #:use-module (gnu packages samba)
199 #:use-module (gnu packages scanner)
200 #:use-module (gnu packages sdl)
201 #:use-module (gnu packages search)
202 #:use-module (gnu packages selinux)
203 #:use-module (gnu packages slang)
204 #:use-module (gnu packages speech)
205 #:use-module (gnu packages spice)
206 #:use-module (gnu packages sqlite)
207 #:use-module (gnu packages ssh)
208 #:use-module (gnu packages swig)
209 #:use-module (gnu packages tex)
210 #:use-module (gnu packages time)
211 #:use-module (gnu packages tls)
212 #:use-module (gnu packages valgrind)
213 #:use-module (gnu packages version-control)
214 #:use-module (gnu packages video)
215 #:use-module (gnu packages virtualization)
216 #:use-module (gnu packages vpn)
217 #:use-module (gnu packages web)
218 #:use-module (gnu packages webkit)
219 #:use-module (gnu packages xdisorg)
220 #:use-module (gnu packages xiph)
221 #:use-module (gnu packages xml)
222 #:use-module (gnu packages xorg)
223 #:use-module (gnu artwork)
224 #:use-module (guix build-system cargo)
225 #:use-module (guix build-system cmake)
226 #:use-module (guix build-system glib-or-gtk)
227 #:use-module (guix build-system gnu)
228 #:use-module (guix build-system meson)
229 #:use-module (guix build-system python)
230 #:use-module (guix build-system trivial)
231 #:use-module (guix download)
232 #:use-module (guix git-download)
233 #:use-module ((guix licenses) #:prefix license:)
234 #:use-module (guix packages)
235 #:use-module (guix utils)
236 #:use-module (guix gexp)
237 #:use-module (ice-9 match)
238 #:use-module (srfi srfi-1))
240 (define-public gupnp-igd
248 (string-append "mirror://gnome/sources/" name "/"
249 (version-major+minor version) "/"
250 name "-" version ".tar.xz"))
252 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
253 (build-system meson-build-system)
254 (outputs '("out" "doc"))
257 #:glib-or-gtk? #t ; To wrap binaries and compile schemas
258 #:configure-flags #~(list "-Dgtk_doc=true")
260 #~(modify-phases %standard-phases
261 (add-after 'unpack 'patch-docbook-xml
262 (lambda* (#:key inputs #:allow-other-keys)
263 (with-directory-excursion "doc"
264 (substitute* "gupnp-igd-docs.xml"
265 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
266 (string-append #$(this-package-native-input
268 "/xml/dtd/docbook/"))))))
269 (add-before 'check 'set-home
271 ;; A test using GIO expects ~/.config/glib-2.0/settings to be
273 (setenv "HOME" (getcwd))))
274 (add-after 'install 'move-doc
275 (lambda* (#:key outputs #:allow-other-keys)
276 (mkdir-p (string-append #$output:doc "/share"))
278 (string-append #$output "/share/gtk-doc")
279 (string-append #$output:doc "/share/gtk-doc")))))))
281 (list docbook-xml-4.1.2
284 gobject-introspection
285 gsettings-desktop-schemas
289 ;; These libraries are required by the .pc file.
293 (synopsis "UPnP IGD for GNOME")
294 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
295 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
296 (license license:lgpl2.1+)))
298 (define-public brasero
304 (uri (string-append "mirror://gnome/sources/brasero/"
305 (version-major+minor version) "/"
306 "brasero-" version ".tar.xz"))
309 "05gabybkl7xfinwx97i4scp9hic0dlxj7gh03dyj0hd16fp9wx47"))))
310 (build-system glib-or-gtk-build-system)
312 `(#:configure-flags (list
313 (string-append "--with-girdir="
314 (assoc-ref %outputs "out")
316 (string-append "--with-typelibdir="
317 (assoc-ref %outputs "out")
318 "/lib/girepository-1.0"))
320 (modify-phases %standard-phases
321 (add-before 'configure 'embed-growisofs-reference
322 (lambda* (#:key inputs #:allow-other-keys)
323 (let ((dvd+rw-tools (assoc-ref inputs "dvd+rw-tools")))
324 (substitute* "plugins/growisofs/burn-growisofs.c"
325 (("(\")(growisofs)" _ prefix command)
326 (string-append prefix dvd+rw-tools "/bin/" command)))))))))
328 (list hicolor-icon-theme))
332 `(,glib "bin") ; glib-compile-schemas, etc.
333 gobject-introspection
347 (home-page "https://wiki.gnome.org/Apps/Brasero")
348 (synopsis "CD/DVD burning tool for Gnome")
349 (description "Brasero is an application to burn CD/DVD for the Gnome
350 Desktop. It is designed to be as simple as possible and has some unique
351 features to enable users to create their discs easily and quickly.")
352 (license license:gpl2+)))
354 ;;; Minimal variant, used to break a cycle with Inkscape.
355 (define-public libcloudproviders-minimal
357 (name "libcloudproviders-minimal")
363 (string-append "mirror://gnome/sources/libcloudproviders/"
364 (version-major+minor version)
365 "/libcloudproviders-" version ".tar.xz"))
367 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
368 (build-system meson-build-system)
370 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
371 #:configure-flags (list "-Dintrospection=false"
372 "-Denable-gtk-doc=false"
375 `(("glib:bin" ,glib "bin")
376 ("pkg-config" ,pkg-config)
379 (list glib glib-networking))
380 (synopsis "Cloudproviders Integration API")
381 (description "Libcloudproviders is a DBus API that allows cloud storage sync
382 clients to expose their services. Clients such as file managers and desktop
383 environments can then provide integrated access to the cloud providers
385 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
386 (license license:lgpl3+)))
388 (define-public libcloudproviders
389 (package/inherit libcloudproviders-minimal
390 (name "libcloudproviders")
392 (outputs (cons "doc" (package-outputs libcloudproviders-minimal)))
394 (substitute-keyword-arguments (package-arguments libcloudproviders-minimal)
395 ((#:configure-flags _)
396 '(list "-Denable-gtk-doc=true")) ;false by default
397 ((#:phases phases '%standard-phases)
398 `(modify-phases %standard-phases
399 (add-after 'install 'move-doc
400 (lambda* (#:key outputs #:allow-other-keys)
401 (let* ((out (assoc-ref outputs "out"))
402 (doc (assoc-ref outputs "doc")))
403 (mkdir-p (string-append doc "/share"))
405 (string-append out "/share/gtk-doc")
406 (string-append doc "/share/gtk-doc")))))))))
409 `(("gobject-introspection" ,gobject-introspection)
410 ("gtk-doc" ,gtk-doc/stable))
411 (package-native-inputs libcloudproviders-minimal)))))
413 (define-public libgrss
421 (string-append "mirror://gnome/sources/" name "/"
422 (version-major+minor version) "/"
423 name "-" version ".tar.xz"))
425 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))
427 (search-patches "libgrss-CVE-2016-2001.patch"))))
428 (build-system glib-or-gtk-build-system)
429 (outputs '("out" "doc"))
434 (string-append "--with-html-dir="
435 (assoc-ref %outputs "doc")
436 "/share/gtk-doc/html"))
438 (modify-phases %standard-phases
439 (add-after 'unpack 'patch-docbook-xml
440 (lambda* (#:key inputs #:allow-other-keys)
441 (with-directory-excursion "doc/reference"
442 (substitute* "libgrss-docs.sgml"
443 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
444 (string-append (assoc-ref inputs "docbook-xml")
445 "/xml/dtd/docbook/"))))
448 (list docbook-xml-4.1.2 gobject-introspection gtk-doc/stable
451 (list glib libsoup-minimal-2 libxml2))
452 (synopsis "Glib library for feeds")
453 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
455 (home-page "https://wiki.gnome.org/Projects/Libgrss")
456 (license license:lgpl3+)))
458 (define-public gnome-js-common
460 (name "gnome-js-common")
466 (string-append "mirror://gnome/sources/" name "/"
467 (version-major+minor version) "/"
468 name "-" version ".tar.gz"))
470 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
471 (build-system glib-or-gtk-build-system)
475 "--disable-static")))
477 `(("gettext" ,gettext-minimal)
478 ("intltool" ,intltool)
479 ("pkg-config" ,pkg-config)))
480 (synopsis "Common JS Modules")
481 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
483 (home-page "https://wiki.gnome.org/Projects/Seed")
484 (license license:gpl3+)))
494 (string-append "mirror://gnome/sources/" name "/"
495 (version-major+minor version) "/"
496 name "-" version ".tar.xz"))
498 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
500 (search-patches "seed-webkit.patch"))))
501 (build-system glib-or-gtk-build-system)
502 (outputs '("out" "doc"))
507 "--enable-xorg-module"
508 (string-append "--with-html-dir="
509 (assoc-ref %outputs "doc")
510 "/share/gtk-doc/html")
513 (modify-phases %standard-phases
514 ;; The seed-webkit.patch patches configure.ac.
515 ;; So the source files need to be re-bootstrapped.
516 (add-after 'unpack 'trigger-bootstrap
518 (for-each delete-file
523 (add-after 'unpack 'patch-tests
524 (lambda* (#:key outputs #:allow-other-keys)
525 (substitute* (find-files "." "\\.js$")
526 (("#!/usr/bin/env seed")
527 (string-append "#!" (getcwd) "/src/seed")))
529 (add-before 'build 'patch-docbook-xml
530 (lambda* (#:key inputs #:allow-other-keys)
531 (with-directory-excursion "doc"
532 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
533 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
534 (string-append (assoc-ref inputs "docbook-xml")
535 "/xml/dtd/docbook/"))))
538 `(("autoconf" ,autoconf)
539 ("automake" ,automake)
540 ("docbook-xml" ,docbook-xml-4.1.2)
541 ("gettext" ,gettext-minimal)
542 ("gobject-introspection" ,gobject-introspection)
543 ("gtk-doc" ,gtk-doc/stable)
544 ("intltool" ,intltool)
546 ("pkg-config" ,pkg-config)))
550 ("dbus-glib" ,dbus-glib)
551 ("gnome-js-common" ,gnome-js-common)
557 ("readline" ,readline)
559 ("xscrnsaver" ,libxscrnsaver)))
562 ("webkit" ,webkitgtk-with-libsoup2)))
563 (synopsis "GObject JavaScriptCore bridge")
564 (description "Seed is a library and interpreter, dynamically bridging
565 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
566 GNOME platform. It serves as something which enables you to write standalone
567 applications in JavaScript, or easily enable your application to be extensible
569 (home-page "https://wiki.gnome.org/Projects/Seed")
570 (license license:lgpl2.0+)))
572 (define-public libdmapsharing
574 (name "libdmapsharing")
580 (string-append "https://www.flyn.org/projects/"
581 name "/" name "-" version ".tar.gz"))
583 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
584 (build-system glib-or-gtk-build-system)
585 (outputs '("out" "doc"))
587 `(#:tests? #f ; Tests require networking.
591 (string-append "--with-html-dir="
592 (assoc-ref %outputs "doc")
593 "/share/gtk-doc/html"))
595 (modify-phases %standard-phases
596 (add-after 'unpack 'patch-docbook-xml
597 (lambda* (#:key inputs #:allow-other-keys)
598 (with-directory-excursion "doc"
599 (substitute* "libdmapsharing-4.0-docs.xml"
600 (("http://www.oasis-open.org/docbook/xml/4.3/")
601 (string-append (assoc-ref inputs "docbook-xml")
602 "/xml/dtd/docbook/"))))
607 gobject-introspection
615 ("gst-plugins-base" ,gst-plugins-base)
618 (list glib glib-networking gstreamer libsoup-minimal-2))
619 (synopsis "Media management library")
620 (description "Libdmapsharing is a library which allows programs to access,
621 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
622 It is written in C using GObject and libsoup.")
623 (home-page "https://launchpad.net/gtx")
624 (license license:lgpl2.1+)))
634 (string-append "https://launchpad.net/gtx/trunk/"
635 version "/+download/gtx-" version ".tar.gz"))
637 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
638 (build-system glib-or-gtk-build-system)
639 (outputs '("out" "doc"))
645 (string-append "--with-html-dir="
646 (assoc-ref %outputs "doc")
647 "/share/gtk-doc/html"))))
649 (list gobject-introspection gtk-doc/stable pkg-config))
652 (synopsis "GLib Testing Framework")
653 (description "GTX is a small collection of convenience functions intended to
654 enhance the GLib testing framework. With specific emphasis on easing the pain
655 of writing test cases for asynchronous interactions.")
656 (home-page "https://launchpad.net/gtx")
657 (license license:lgpl2.1+)))
667 (string-append "https://launchpad.net/dee/1.0/"
668 version "/+download/dee-" version ".tar.gz"))
670 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
672 (search-patches "dee-vapi.patch"))))
673 (build-system glib-or-gtk-build-system)
674 (outputs '("out" "doc"))
678 "--disable-maintainer-flags"
679 (string-append "--with-pygi-overrides-dir="
680 (assoc-ref %outputs "out")
682 ,(version-major+minor
683 (package-version python))
684 "/site-packages/gi/overrides")
685 (string-append "--with-html-dir="
686 (assoc-ref %outputs "doc")
687 "/share/gtk-doc/html"))
689 (modify-phases %standard-phases
690 (add-after 'unpack 'patch-docbook-xml
691 (lambda* (#:key inputs #:allow-other-keys)
692 (with-directory-excursion "doc/reference/dee-1.0"
693 (substitute* "dee-1.0-docs.sgml"
694 (("http://www.oasis-open.org/docbook/xml/4.3/")
695 (string-append (assoc-ref inputs "docbook-xml")
696 "/xml/dtd/docbook/"))))))
697 (add-after 'patch-docbook-xml 'disable-failing-tests
699 (substitute* "tests/test-icu.c"
700 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
702 (("setup, test_ascii_folder, teardown\\);")
704 (add-before 'check 'pre-check
706 ;; Tests require a running dbus-daemon.
707 (system "dbus-daemon &")
708 ;; For missing '/etc/machine-id'.
709 (setenv "DBUS_FATAL_WARNINGS" "0"))))))
712 ("dbus-test-runner" ,dbus-test-runner)
713 ("docbook-xml" ,docbook-xml-4.3)
714 ("gobject-introspection" ,gobject-introspection)
715 ("gtk-doc" ,gtk-doc/stable)
716 ;; Would only be required by configure flag "--enable-extended-tests".
718 ("pkg-config" ,pkg-config)
719 ("pygobject" ,python-pygobject)
720 ("python" ,python-wrapper)
721 ("vala" ,vala-0.52)))
726 (synopsis "Model to synchronize multiple instances over DBus")
727 (description "Dee is a library that uses DBus to provide objects allowing
728 you to create Model-View-Controller type programs across DBus. It also consists
729 of utility objects which extend DBus allowing for peer-to-peer discoverability
730 of known objects without needing a central registrar.")
731 (home-page "https://launchpad.net/dee")
738 (define-public zeitgeist
747 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
749 (string-append "v" version))))
751 (git-file-name name version))
753 (base32 "07b1ahj3vd3m8srwkrh7dl3ymr7d55xiiszny44q13g06pq4svch"))))
754 (build-system glib-or-gtk-build-system)
758 "--enable-explain-queries"
762 (modify-phases %standard-phases
763 (add-after 'unpack 'patch-docbook-xml
764 (lambda* (#:key inputs #:allow-other-keys)
765 (with-directory-excursion "doc/libzeitgeist"
766 (substitute* "zeitgeist-gtkdoc-index.sgml"
767 (("http://www.oasis-open.org/docbook/xml/4.3/")
768 (string-append (assoc-ref inputs "docbook-xml")
769 "/xml/dtd/docbook/"))))))
770 (add-after 'patch-docbook-xml 'disable-failing-tests
772 (substitute* "test/direct/Makefile.am"
775 (substitute* "test/c/Makefile.am"
778 (add-before 'bootstrap 'remove-autogen-script
780 ;; To honor `autoreconf -vif` by build-system.
781 (delete-file "autogen.sh"))))))
783 `(("autoconf" ,autoconf)
784 ("automake" ,automake)
785 ("docbook-xml" ,docbook-xml-4.3)
786 ("gettext" ,gettext-minimal)
787 ("gobject-introspection" ,gobject-introspection)
788 ("gtk-doc" ,gtk-doc/stable)
790 ("pkg-config" ,pkg-config)
792 ("xorg-server-for-tests" ,xorg-server-for-tests)))
796 ("json-glib" ,json-glib)
798 ("telepathy-glib" ,telepathy-glib)
799 ("python" ,python-wrapper)
800 ("python-rdflib" ,python-rdflib)
801 ("xapian-config" ,xapian)))
804 (synopsis "Desktop Activity Logging")
805 (description "Zeitgeist is a service which logs the users’s activities and
806 events, anywhere from files opened to websites visited and conversations. It
807 makes this information readily available for other applications to use. It is
808 able to establish relationships between items based on similarity and usage
810 (home-page "https://zeitgeist.freedesktop.org/")
817 (define-public gnome-recipes
819 (name "gnome-recipes")
824 (url "https://gitlab.gnome.org/GNOME/recipes")
826 (file-name (git-file-name name version))
829 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
830 (build-system meson-build-system)
835 #~(modify-phases %standard-phases
836 (add-after 'unpack 'skip-gtk-update-icon-cache
838 (substitute* "meson_post_install.py"
839 (("gtk-update-icon-cache") (which "true")))))
840 (add-after 'unpack 'unpack-libgd
846 (url "https://gitlab.gnome.org/GNOME/libgd")
847 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
848 (file-name (git-file-name "libgd" version))
851 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs")))
852 "subprojects/libgd"))))))
855 gnome-online-accounts
862 (native-inputs (list desktop-file-utils ;for update-desktop-database
868 (home-page "https://wiki.gnome.org/Apps/Recipes")
869 (synopsis "Discover recipes for preparing food")
870 (description "GNOME Recipes helps you discover what to cook today,
871 tomorrow, the rest of the week and for special occasions.")
872 (license license:gpl3+)))
874 (define-public gnome-photos
876 (name "gnome-photos")
877 (version "43.beta") ;for geocode-glib 2 support
882 (string-append "mirror://gnome/sources/" name "/"
883 (version-major version) "/"
884 name "-" version ".tar.xz"))
887 "1pry45dy4sjw8y63vxw2b499brcxzpkd4hmg2vbqy538r79ah2g9"))))
888 (build-system meson-build-system)
893 #~(list "-Ddogtail=false" ; Not available
894 ;; Required for RUNPATH validation.
895 (string-append "-Dc_link_args=-Wl,-rpath="
896 #$output "/lib/gnome-photos"))
898 #~(modify-phases %standard-phases
899 (add-after 'unpack 'disable-gtk-update-icon-cache
901 (setenv "DESTDIR" "/")))
902 (add-after 'install 'wrap-gnome-photos
903 (lambda* (#:key outputs #:allow-other-keys)
904 (wrap-program (search-input-file outputs "bin/gnome-photos")
905 `("GRL_PLUGIN_PATH" =
906 (,(getenv "GRL_PLUGIN_PATH")))))))))
913 gobject-introspection
914 gsettings-desktop-schemas
924 gnome-online-accounts
940 (synopsis "Access, organize and share your photos on GNOME desktop")
941 (description "GNOME Photos is a simple and elegant replacement for using a
942 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
943 cloud integration is offered through GNOME Online Accounts.")
944 (home-page "https://wiki.gnome.org/Apps/Photos")
945 (license license:gpl3+)))
947 (define-public gnome-music
955 (string-append "mirror://gnome/sources/" name "/"
956 (version-major version) "/"
957 name "-" version ".tar.xz"))
960 "0w42xnp6xy3sfakb4s0wq7xfg7p507whz5gzss5b2mkbm2k7yx67"))))
961 (build-system meson-build-system)
965 (modify-phases %standard-phases
966 (add-after 'unpack 'skip-gtk-update-icon-cache
967 ;; Don't create 'icon-theme.cache'.
969 (substitute* "meson.build"
970 (("gtk_update_icon_cache: true")
971 "gtk_update_icon_cache: false"))))
972 (add-after 'install 'wrap-gnome-music
973 (lambda* (#:key inputs outputs #:allow-other-keys)
975 ((out (assoc-ref outputs "out"))
976 (pylib (string-append out "/lib/python"
977 ,(version-major+minor
978 (package-version python))
980 (wrap-program (string-append out "/bin/gnome-music")
981 `("GI_TYPELIB_PATH" =
982 (,(getenv "GI_TYPELIB_PATH")))
983 `("GST_PLUGIN_SYSTEM_PATH" =
984 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
985 `("GRL_PLUGIN_PATH" =
986 (,(getenv "GRL_PLUGIN_PATH")))
987 `("GUIX_PYTHONPATH" =
988 (,(getenv "GUIX_PYTHONPATH") ,pylib)))))))))
990 (list desktop-file-utils
993 gobject-introspection
997 (list gnome-online-accounts
1015 (synopsis "Simple music player for GNOME desktop")
1016 (description "GNOME Music is the new GNOME music playing application that
1017 aims to combine an elegant and immersive browsing experience with simple
1018 and straightforward controls.")
1019 (home-page "https://wiki.gnome.org/Apps/Music")
1020 (license license:gpl2+)))
1022 (define-public portablexdr
1024 (name "portablexdr")
1030 (string-append "https://people.redhat.com/~rjones/" name "/files/"
1031 name "-" version ".tar.gz"))
1034 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1035 (build-system gnu-build-system)
1036 (synopsis "External Data Representation Library")
1037 (description "PortableXDR is an implementation of External Data
1038 Representation (XDR) Library. It is a standard data serialization format, for
1039 uses such as computer network protocols. It allows data to be transferred
1040 between different kinds of computer systems.")
1041 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1045 license:lgpl2.1+))))
1055 (string-append "mirror://gnome/sources/" name "/"
1056 (version-major+minor version) "/"
1057 name "-" version ".tar.xz"))
1060 "16x14j3nvsjj7jb2qmxpzygnlcy7sd7p6skv0sqshkwdlp4jxzha"))))
1061 (build-system meson-build-system)
1064 #:phases (modify-phases %standard-phases
1065 (add-after 'unpack 'disable-problematic-tests
1067 ;; Only keep unit tests, as the interactive tests have
1068 ;; other dependencies.
1069 (substitute* "tests/meson.build"
1070 ((".*'interactive-tests'.*") ""))))
1071 (add-before 'check 'start-xserver
1073 (system "Xvfb :1 &")
1074 (setenv "DISPLAY" ":1"))))))
1076 (list `(,glib "bin")
1077 gobject-introspection
1081 xorg-server-for-tests))
1085 ;; These are all required by tepl6.pc.
1088 gsettings-desktop-schemas
1091 (synopsis "Text editor product line")
1092 (description "Tepl is a library that eases the development of
1093 GtkSourceView-based text editors and IDEs.")
1094 (home-page "https://wiki.gnome.org/Projects/Tepl")
1095 (license license:lgpl2.1+)))
1097 (define-public krb5-auth-dialog
1099 (name "krb5-auth-dialog")
1105 (string-append "mirror://gnome/sources/" name "/"
1106 (version-major+minor version) "/"
1107 name "-" version ".tar.xz"))
1110 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1111 (build-system glib-or-gtk-build-system)
1113 (list intltool itstool libxml2 pkg-config python-wrapper))
1115 (list glib gtk+ libnotify mit-krb5 network-manager))
1116 (synopsis "Popup dialogs for Kerberos 5")
1117 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1118 tickets, and pops up a dialog when they are about to expire.")
1119 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1120 (license license:gpl2+)))
1122 (define-public notification-daemon
1124 (name "notification-daemon")
1130 (string-append "mirror://gnome/sources/" name "/"
1131 (version-major+minor version) "/"
1132 name "-" version ".tar.xz"))
1135 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1136 (build-system glib-or-gtk-build-system)
1138 (list intltool pkg-config))
1140 (list glib gtk+ libx11))
1141 (synopsis "Notification Daemon for GNOME Desktop")
1142 (description "Notification-Daemon is the server implementation of the
1143 freedesktop.org desktop notification specification.")
1144 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1145 (license license:gpl2+)))
1147 (define-public mm-common
1153 (uri (string-append "mirror://gnome/sources/mm-common/"
1154 (version-major+minor version) "/"
1155 "mm-common-" version ".tar.xz"))
1158 "1x8yvjy0yg17qyhmqws8xh2k8dvzrhpwqz7j1cfwzalrb1i9c5g8"))))
1159 (build-system meson-build-system)
1162 (modify-phases %standard-phases
1163 (add-after 'unpack 'patch
1164 (lambda* (#:key inputs #:allow-other-keys)
1165 (substitute* "util/mm-common-prepare.in"
1166 (("ln") (search-input-file inputs "/bin/ln"))
1167 (("cp") (search-input-file inputs "/bin/cp"))
1168 (("sed") (search-input-file inputs "/bin/sed"))
1169 (("cat") (search-input-file inputs "/bin/cat"))))))))
1171 `(("coreutils" ,coreutils)
1172 ("gettext" ,gettext-minimal)
1173 ("pkg-config" ,pkg-config)
1177 (synopsis "Module of GNOME C++ bindings")
1178 (description "The mm-common module provides the build infrastructure
1179 and utilities shared among the GNOME C++ binding libraries. Release
1180 archives of mm-common include the Doxygen tag file for the GNU C++
1181 Library reference documentation.")
1182 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1183 (license license:gpl2+)))
1185 (define-public phodav
1191 (uri (string-append "mirror://gnome/sources/" name "/"
1192 (version-major+minor version) "/"
1193 name "-" version ".tar.xz"))
1196 "1l9qs70yvwi9r8ph081mrsdy412kk0m9l9pgy77hsc2hdp8c4bir"))))
1197 (build-system meson-build-system)
1200 (modify-phases %standard-phases
1201 (add-after 'unpack 'fix-udev-rules-directory
1202 (lambda* (#:key outputs #:allow-other-keys)
1203 (let* ((out (assoc-ref outputs "out"))
1204 (rules (string-append out "/lib/udev/rules.d")))
1205 (substitute* "data/meson.build"
1206 (("udev\\.get_pkgconfig_variable\\('udevdir'\\)")
1207 (format #f "'~a'" rules))))))
1208 (add-before 'check 'set-temporary-home
1209 ;; Tests want to write into HOME.
1211 (setenv "HOME" "/tmp"))))))
1213 (list docbook-xml-4.3
1216 gsettings-desktop-schemas
1223 (synopsis "WebDav server implementation using libsoup")
1224 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1225 but it is generic enough to be reused in other projects,
1226 in particular in the GNOME desktop.")
1227 (home-page "https://wiki.gnome.org/phodav")
1228 (license license:lgpl2.1+)))
1230 (define-public gnome-color-manager
1232 (name "gnome-color-manager")
1236 (uri (string-append "mirror://gnome/sources/" name "/"
1237 (version-major+minor version) "/"
1238 name "-" version ".tar.xz"))
1241 "0fxdng74d8hwhfx1nwl1i4jx9h9f6c2hkyc12f01kqbjcimrxnwx"))))
1242 (build-system meson-build-system)
1246 (modify-phases %standard-phases
1250 ;; Tests require a running X server.
1251 (system "Xvfb :1 &")
1252 (setenv "DISPLAY" ":1")
1255 `(("desktop-file-utils" ,desktop-file-utils)
1256 ("gettext" ,gettext-minimal)
1257 ("glib:bin" ,glib "bin")
1258 ("gtk+:bin" ,gtk+ "bin")
1259 ("itstool" ,itstool)
1260 ("pkg-config" ,pkg-config)
1261 ("xorg-server" ,xorg-server-for-tests)))
1263 (list adwaita-icon-theme
1276 (synopsis "Color profile manager for the GNOME desktop")
1277 (description "GNOME Color Manager is a session framework that makes
1278 it easy to manage, install and generate color profiles
1279 in the GNOME desktop.")
1280 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1281 (license license:gpl2+)))
1283 (define-public gnome-online-miners
1285 (name "gnome-online-miners")
1289 (uri (string-append "mirror://gnome/sources/" name "/"
1290 (version-major+minor version) "/"
1291 name "-" version ".tar.xz"))
1294 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))
1297 "gnome-online-miners-tracker-3.patch"))))
1298 (build-system glib-or-gtk-build-system)
1301 (modify-phases %standard-phases
1302 (add-after 'unpack 'fix-configure
1304 (substitute* "configure.ac"
1305 (("AX_CHECK_ENABLE_DEBUG.*")
1307 (add-after 'fix-configure 'autoreconf
1309 (invoke "autoreconf" "-vif"))))))
1311 `(("autoconf" ,autoconf)
1312 ("automake" ,automake)
1313 ("gettext" ,gettext-minimal)
1314 ("glib:bin" ,glib "bin")
1315 ("gobject-introspection" ,gobject-introspection)
1316 ("gtk+:bin" ,gtk+ "bin")
1317 ("libtool" ,libtool)
1318 ("pkg-config" ,pkg-config)))
1320 `(("gnome-online-accounts" ,gnome-online-accounts)
1322 ("libgdata" ,libgdata)
1323 ("libgfbgraph" ,gfbgraph)
1324 ("libzapojit" ,libzapojit)
1326 ("tracker" ,tracker)))
1327 (synopsis "Web Crawlers for GNOME")
1328 (description "GNOME Online Miners provides a set of crawlers that
1329 go through your online content and index them locally in Tracker.
1330 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1331 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1332 (license license:gpl2+)))
1334 (define-public gssdp
1340 (uri (string-append "mirror://gnome/sources/" name "/"
1341 (version-major+minor version) "/"
1342 name "-" version ".tar.xz"))
1345 "07hn2xma2yh17v7rlvcaibkn16bx4l9qig3mlb8hdp6qfiraqh7b"))))
1346 (build-system meson-build-system)
1348 (list gettext-minimal
1351 gobject-introspection
1357 ;; The .pc file "Requires" libsoup.
1359 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1360 Protocol} for GNOME")
1361 (description "This package provides a library to handle resource discovery
1362 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1363 a debugging tool, @command{gssdp-device-sniffer}.")
1364 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1365 (license license:lgpl2.0+)))
1367 (define-public gssdp-1.4
1374 (uri (string-append "mirror://gnome/sources/" name "/"
1375 (version-major+minor version) "/"
1376 name "-" version ".tar.xz"))
1379 "10hm8cgh2p8441xc83kswjgghrrqpzgblvc5523jp0pvayfq8xl6"))))
1380 (propagated-inputs (modify-inputs (package-propagated-inputs gssdp)
1381 (replace "libsoup" libsoup-minimal-2)))))
1383 (define-public gupnp
1389 (uri (string-append "mirror://gnome/sources/" name "/"
1390 (version-major+minor version) "/"
1391 name "-" version ".tar.xz"))
1394 "0y0v0m6afnx879hjvhj2lrawp9qhpyp8mbds0yp544imghajk0wq"))))
1395 (build-system meson-build-system)
1398 (modify-phases %standard-phases
1399 (add-before 'check 'pre-check
1401 ;; Tests require a writable HOME.
1402 (setenv "HOME" (getcwd)))))))
1404 (list gettext-minimal
1406 gobject-introspection
1411 ;; These libraries are required by the .pc file.
1413 gsettings-desktop-schemas ;for ‘org.gnome.system.proxy’.
1417 (synopsis "PnP API for GNOME")
1418 (description "This package provides GUPnP, an object-oriented framework
1419 for creating UPnP devices and control points, written in C using
1420 @code{GObject} and @code{libsoup}.")
1421 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1422 (license license:lgpl2.0+)))
1424 (define-public gupnp-1.4
1431 (uri (string-append "mirror://gnome/sources/" name "/"
1432 (version-major+minor version) "/"
1433 name "-" version ".tar.xz"))
1436 "0vz3ifs8mi3zaz8zj8v27zfkf6xg82y39mcgqspa38jdp01gn3sr"))))
1437 (propagated-inputs (modify-inputs (package-propagated-inputs gupnp)
1438 (replace "libsoup" libsoup-minimal-2)
1439 (replace "gssdp" gssdp-1.4)))))
1441 (define-public gupnp-dlna
1447 (uri (string-append "mirror://gnome/sources/" name "/"
1448 (version-major+minor version) "/"
1449 name "-" version ".tar.xz"))
1452 "1rj8j2nz835slqs09bfp6hmyyf6v5azwjzin7v9jhmmwhmpvjlrx"))))
1453 (build-system meson-build-system)
1455 (list gettext-minimal
1457 gobject-introspection
1463 (list gstreamer gupnp))
1465 (list gst-plugins-base gst-plugins-good))
1466 (synopsis "GUPnP DLNA for GNOME")
1467 (description "This package provides a small utility library to
1468 support DLNA-related tasks such as media profile guessing, transcoding to a
1469 given profile, etc. DLNA is a subset of UPnP A/V.")
1470 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1471 (license license:lgpl2.0+)))
1473 (define-public gupnp-av
1479 (uri (string-append "mirror://gnome/sources/" name "/"
1480 (version-major+minor version) "/"
1481 name "-" version ".tar.xz"))
1484 "0kry7arwmvs8b4175wia3l0s02ap1shq68f29g2xjrhc9g6f175p"))))
1485 (build-system meson-build-system)
1487 (list gettext-minimal
1489 gobject-introspection
1496 (synopsis "GUPnP A/V for GNOME")
1497 (description "This package provides a small library for handling
1498 and implementation of UPnP A/V profiles.")
1499 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1500 (license license:lgpl2.0+)))
1502 (define-public libmediaart
1504 (name "libmediaart")
1508 (uri (string-append "mirror://gnome/sources/" name "/"
1509 (version-major+minor version) "/"
1510 name "-" version ".tar.xz"))
1513 "05vzcxm8fqizz77qzdxlsqb5lsqzc4681sy8z63haf6vswjm1g63"))))
1514 (build-system meson-build-system)
1516 (list `(,glib "bin")
1518 gobject-introspection
1523 (synopsis "Media art library for the GNOME desktop")
1525 "The libmediaart library is the foundation for media art caching,
1526 extraction, and lookup for applications on the desktop.")
1527 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1528 (license license:lgpl2.1+)))
1530 (define-public gnome-initial-setup
1532 (name "gnome-initial-setup")
1536 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1537 (version-major version)
1538 "/gnome-initial-setup-" version ".tar.xz"))
1541 "0yxy39a7d2whphd0jskvra5q8zy4v7m7lziy5fxibgls4j5xk0sd"))))
1542 (build-system meson-build-system)
1545 #:configure-flags #~(list "-Dsystemd=false")
1548 #~(modify-phases %standard-phases
1549 (add-after 'unpack 'set-gkbd-file-name
1550 (lambda* (#:key inputs #:allow-other-keys)
1551 ;; Allow the "Preview" button in the keyboard layout
1552 ;; selection dialog to display the layout.
1553 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1554 (("\"gkbd-keyboard-display")
1555 (string-append "\"" (search-input-file
1557 "bin/gkbd-keyboard-display")))))))))
1559 (list gettext-minimal
1561 gobject-introspection
1564 (list accountsservice
1570 gnome-online-accounts-3.44
1576 libgweather4-with-libsoup2
1586 webkitgtk-with-libsoup2))
1587 (synopsis "Initial setup wizard for GNOME desktop")
1588 (description "This package provides a set-up wizard when a
1589 user logs into GNOME for the first time. It typically provides a
1590 tour of all gnome components and allows the user to set them up.")
1591 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1592 (license license:gpl2)))
1594 (define-public gnome-user-share
1596 (name "gnome-user-share")
1600 (uri (string-append "mirror://gnome/sources/" name "/"
1601 (version-major+minor version) "/"
1602 name "-" version ".tar.xz"))
1605 "04r9ck9v4i0d31grbli1d4slw2d6dcsfkpaybkwbzi7wnj72l30x"))))
1606 (build-system meson-build-system)
1611 `("-Dsystemduserunitdir=/tmp/empty"
1612 ;; Enable nautilus extension for file sharing.
1613 "-Dnautilus_extension=true")))
1615 `(("gettext" ,gettext-minimal)
1616 ("glib:bin" ,glib "bin")
1617 ("gobject-introspection" ,gobject-introspection)
1618 ("gtk+:bin" ,gtk+ "bin")
1619 ("pkg-config" ,pkg-config)
1620 ("yelp-tools" ,yelp-tools)))
1627 nautilus)) ; For nautilus extension.
1628 (synopsis "File sharing for GNOME desktop")
1629 (description "GNOME User Share is a small package that binds together
1630 various free software projects to bring easy to use user-level file
1631 sharing to the masses.")
1632 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1633 (license license:gpl2+)))
1635 (define-public sushi
1641 (uri (string-append "mirror://gnome/sources/" name "/"
1642 (version-major version) "/"
1643 name "-" version ".tar.xz"))
1646 "0848gidl0ab8i5pa70mv8jzchmd9kqa8sn1lg977hyasyixdpn25"))))
1647 (build-system meson-build-system)
1651 (modify-phases %standard-phases
1652 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1653 (lambda* (#:key outputs #:allow-other-keys)
1654 (let ((prog (string-append (assoc-ref outputs "out")
1656 ;; Put existing typelibs before sushi's deps, so as to
1657 ;; correctly infer gdk-pixbuf.
1659 `("GI_TYPELIB_PATH" suffix
1660 (,(getenv "GI_TYPELIB_PATH"))))))))))
1662 (list `(,glib "bin")
1664 gobject-introspection
1671 evince ; For file previewing.
1684 (synopsis "File previewer for the GNOME desktop")
1685 (description "Sushi is a DBus-activated service that allows applications
1686 to preview files on the GNOME desktop.")
1687 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1688 (license license:gpl2+)))
1690 (define-public rygel
1696 (uri (string-append "mirror://gnome/sources/" name "/"
1697 (version-major+minor version) "/"
1698 name "-" version ".tar.xz"))
1701 "0wivd60hn115ar3hsrsa595kpxzp8gwq30ksh32qlq8j9dhlq65i"))))
1702 (build-system meson-build-system)
1704 ;; Disable the tracker plugin.
1706 (list "-Dplugins=external,gst-launch,lms,media-export,
1707 mpris,playbin,ruih,tracker3")))
1709 (list gettext-minimal
1710 `(,glib "bin") ; for glib-compile-schemas, etc.
1711 gobject-introspection
1724 gst-editing-services
1736 (synopsis "Share audio, video, and pictures with other devices")
1738 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1739 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1740 pictures, and to control a media player on your home network.
1742 Rygel achieves interoperability with other devices by trying to conform to the
1743 strict requirements of DLNA and by converting media on-the-fly to formats that
1744 client devices can handle.")
1745 (home-page "https://wiki.gnome.org/Projects/Rygel")
1747 ;; For logo (data/icons/*).
1750 license:lgpl2.1+))))
1752 (define-public libnma
1758 (uri (string-append "mirror://gnome/sources/" name "/"
1759 (version-major+minor version) "/"
1760 name "-" version ".tar.xz"))
1763 "0h095a26w3sgbspsf7wzz8ddg62j3jb9ckrrv41k7cdp0k2dkhsg"))))
1764 (build-system meson-build-system)
1766 `(#:configure-flags (list "-Dlibnma_gtk4=true")
1768 (modify-phases %standard-phases
1769 (add-after 'unpack 'patch-docbook-xml
1770 (lambda* (#:key inputs #:allow-other-keys)
1771 (substitute* "libnma-docs.xml"
1772 (("http://.*/docbookx\\.dtd")
1774 inputs "xml/dtd/docbook/docbookx.dtd"))))))))
1776 (list docbook-xml-4.3
1780 gobject-introspection
1787 mobile-broadband-provider-info
1789 (synopsis "Network Manager's applet library")
1790 (description "Libnma is an applet library for Network Manager. It was
1791 initially part of network-manager-applet and has now become a separate
1793 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1794 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1796 (license license:gpl2+)))
1798 (define-public gnome-menus
1800 (name "gnome-menus")
1804 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1805 (version-major+minor version) "/"
1806 name "-" version ".tar.xz"))
1809 "07xvaf8s0fiv0035nk8zpzymn5www76w2a1vflrgqmp9plw8yd6r"))))
1810 (build-system gnu-build-system)
1812 (list gettext-minimal glib pkg-config))
1813 (synopsis "Menu support for GNOME desktop")
1814 (description "GNOME Menus contains the libgnome-menu library, the layout
1815 configuration files for the GNOME menu, as well as a simple menu editor.")
1816 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1817 (license license:lgpl2.0+)))
1819 (define-public deja-dup
1825 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1826 version "/deja-dup-" version ".tar.bz2"))
1829 "1mr2g009w0zm5rj8dg1k77c7zdwylih2yszm8vh8wkw6al6bzfh3"))))
1830 (build-system meson-build-system)
1835 ;; Otherwise, the RUNPATH will lack the final path component.
1836 (string-append "-Dc_link_args=-Wl,-rpath="
1837 (assoc-ref %outputs "out") "/lib/deja-dup"))
1839 (modify-phases %standard-phases
1840 (add-after 'unpack 'patch-paths
1841 (lambda* (#:key inputs #:allow-other-keys)
1842 (let ((python (assoc-ref inputs "python")))
1843 (substitute* '("libdeja/duplicity/DuplicityInstance.vala"
1844 "libdeja/tests/scripts/instance-error.test")
1847 (substitute* "libdeja/tests/runner.vala"
1850 (substitute* "libdeja/tests/scripts/instance-error.test"
1851 (("`which python3`")
1852 (string-append python "/bin/python3"))))))
1853 (add-after 'unpack 'patch-libgpg-error
1854 (lambda* (#:key inputs #:allow-other-keys)
1855 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1856 (substitute* "meson.build"
1857 (("(gpgerror_libs = ).*" _ var)
1858 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))))
1859 (add-after 'install 'wrap-program
1860 (lambda* (#:key inputs outputs #:allow-other-keys)
1861 ;; Add duplicity to the search path
1862 (wrap-program (string-append (assoc-ref outputs "out")
1865 (,(string-append (assoc-ref inputs "duplicity") "/bin")))))))))
1869 gsettings-desktop-schemas
1882 (list appstream-glib
1885 `(,glib "bin") ;for glib-compile-schemas
1886 gobject-introspection
1887 `(,gtk "bin") ;for gtk-update-icon-cache
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 "0yzx9slg632iflw9p96nlh9i50dhacq7hrzpkj8b48mr1zkxrn3q"))))
1911 (build-system glib-or-gtk-build-system)
1913 (list desktop-file-utils
1917 gobject-introspection
1924 (list gconf glib gtk+-2 libxml2))
1925 (home-page "https://gcmd.github.io/")
1926 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1928 "GNOME Commander is a two-pane graphical file manager using GNOME
1929 libraries. It aims to fulfill the demands of more advanced users who
1930 like to focus on file management, their work through special applications
1931 and running smart commands.")
1932 (license license:gpl2+)))
1934 (define-public gnome-user-docs
1936 (name "gnome-user-docs")
1941 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1942 (version-major version)
1943 "/gnome-user-docs-" version ".tar.xz"))
1945 (base32 "01g9smkk2sj3yrih2wjn6vx9av855n7w6nqf9wpxvfq086h7vcmj"))))
1946 (build-system gnu-build-system)
1948 (list gettext-minimal itstool pkg-config libxml2))
1949 (synopsis "User documentation for the GNOME desktop")
1951 "The GNOME User Documentation explains how to use the GNOME desktop and its
1952 components. It covers usage and setup of the core GNOME programs by end-users
1953 and system administrators.")
1954 (home-page "https://live.gnome.org/DocumentationProject")
1955 (license license:cc-by3.0)))
1958 ;; This version from GNOME's repository includes fixes for compiling with
1959 ;; recent versions of the build tools. The latest activity on the
1960 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1962 (let ((commit "0997887d97f01be28bf3886dfd3e2002de437930")
1966 (version (git-version "0.97.3" revision commit))
1970 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1972 (file-name (git-file-name name version))
1975 "199b4n1jydg1g9lnz0r8xx67h7s2ac2lfj89zp015lbs0qqfkmsh"))))
1976 (build-system meson-build-system)
1977 ;; XXX: Parallel builds may cause: [74/566] [...]
1978 ;; fatal error: dia-lib-enums.h: No such file or directory
1979 (arguments '(#:parallel-build? #f))
1986 ;; XXX: PDF plugin fails to build with poppler 21.07.0.
1991 (list appstream-glib docbook-xsl
1992 `(,glib "bin") gettext-minimal pkg-config))
1993 (home-page "https://wiki.gnome.org/Apps/Dia")
1994 (synopsis "Diagram creation for GNOME")
1995 (description "Dia can be used to draw different types of diagrams, and
1996 includes support for UML static structure diagrams (class diagrams), entity
1997 relationship modeling, and network diagrams. The program supports various file
1998 formats like PNG, SVG, PDF and EPS.")
1999 (license license:gpl2+))))
2001 (define-public libgdata
2007 (uri (string-append "mirror://gnome/sources/" name "/"
2008 (version-major+minor version) "/"
2009 name "-" version ".tar.xz"))
2012 "1iq4d1qy0vkmy29xvr13dgz4pxvn5v3yi2swryld0ajinvp951fx"))))
2013 (build-system meson-build-system)
2016 (modify-phases %standard-phases
2017 (add-before 'check 'set-home-for-tests
2019 (setenv "HOME" "/tmp"))))))
2021 `(("glib:bin" ,glib "bin")
2022 ("gobject-introspection" ,gobject-introspection)
2023 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2024 ("intltool" ,intltool)
2025 ("pkg-config" ,pkg-config)
2026 ("uhttpmock" ,uhttpmock)))
2028 (list cyrus-sasl glib-networking vala))
2032 ("gnome-online-accounts" ,gnome-online-accounts)
2033 ("json-glib" ,json-glib)
2034 ("liboauth" ,liboauth)
2035 ("libsoup" ,libsoup-minimal-2)
2036 ("libxml2" ,libxml2)))
2037 (home-page "https://wiki.gnome.org/Projects/libgdata")
2038 (synopsis "Library for accessing online service APIs")
2040 "libgdata is a GLib-based library for accessing online service APIs using
2041 the GData protocol — most notably, Google's services. It provides APIs to
2042 access the common Google services, and has full asynchronous support.")
2043 (license license:lgpl2.1+)))
2045 (define-public libgxps
2051 (uri (string-append "mirror://gnome/sources/" name "/"
2052 (version-major+minor version) "/"
2053 name "-" version ".tar.xz"))
2056 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
2057 (build-system meson-build-system)
2059 (list gobject-introspection pkg-config))
2061 (list gtk+ libjpeg-turbo lcms libtiff))
2063 ;; In Requires of libgxps.pc.
2064 (list cairo glib libarchive))
2065 (home-page "https://wiki.gnome.org/Projects/libgxps")
2066 (synopsis "GObject-based library for handling and rendering XPS documents")
2068 "libgxps is a GObject-based library for handling and rendering XPS
2069 documents. This package also contains binaries that can convert XPS documents
2071 (license license:lgpl2.1+)))
2073 (define-public gnome-characters
2075 (name "gnome-characters")
2080 (uri (string-append "mirror://gnome/sources/"
2081 "gnome-characters/" (version-major version)
2082 "/gnome-characters-" version ".tar.xz"))
2085 "1y40g7k7yyzikbbxhf69q4c0221lga1cli1p617v99pq2swgz82x"))))
2086 (build-system meson-build-system)
2090 #:phases #~(modify-phases %standard-phases
2091 (add-after 'unpack 'disable-gtk-update-icon-cache
2093 (setenv "DESTDIR" "/")))
2094 (add-after 'install 'wrap
2095 (lambda* (#:key outputs #:allow-other-keys)
2096 ;; GNOME Characters needs Typelib files from GTK and
2098 (wrap-program (search-input-file outputs
2099 "bin/gnome-characters")
2100 `("GI_TYPELIB_PATH" ":" prefix
2101 (,(getenv "GI_TYPELIB_PATH")))))))))
2103 (list gettext-minimal
2114 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2115 (synopsis "Find and insert unusual characters")
2116 (description "Characters is a simple utility application to find
2117 and insert unusual characters. It allows you to quickly find the
2118 character you are looking for by searching for keywords.")
2119 (license license:bsd-3)))
2121 (define-public gnome-common
2123 (name "gnome-common")
2128 (uri (string-append "mirror://gnome/sources/" name "/"
2129 (version-major+minor version) "/"
2130 name "-" version ".tar.xz"))
2133 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2134 (build-system gnu-build-system)
2135 (home-page "https://www.gnome.org/")
2136 (synopsis "Bootstrap GNOME modules built from Git")
2137 (description "gnome-common contains various files needed to bootstrap
2138 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2139 can be used to configure a source directory checked out from Git and some
2140 commonly used macros.")
2141 (license license:gpl2+)))
2143 (define-public gnome-contacts
2145 (name "gnome-contacts")
2149 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2150 (version-major version) "/"
2151 name "-" version ".tar.xz"))
2154 "05jj5kiab13crm18r166w7h31jpny7f3px98q7d2ix93vj7w60l8"))))
2155 (build-system meson-build-system)
2159 (modify-phases %standard-phases
2160 (add-after 'unpack 'skip-gtk-update-icon-cache
2162 (substitute* "meson.build"
2163 (("gtk_update_icon_cache: true")
2164 "gtk_update_icon_cache: false")))))))
2166 (list desktop-file-utils
2172 gobject-introspection
2176 (list evolution-data-server-3.44
2178 gnome-online-accounts-3.44
2188 (list folks-with-libsoup2
2189 telepathy-mission-control))
2190 (synopsis "GNOME's integrated address book")
2192 "GNOME Contacts organizes your contact information from online and
2193 offline sources, providing a centralized place for managing your contacts.")
2194 (home-page "https://wiki.gnome.org/Apps/Contacts")
2195 (license license:gpl2+)))
2197 (define-public gnome-desktop
2199 (name "gnome-desktop")
2204 (uri (string-append "mirror://gnome/sources/" name "/"
2205 (version-major version) "/"
2206 name "-" version ".tar.xz"))
2209 "09ddr5fzhh02fcn7xl1wy18qfsdqryd5msl2nbhdnsbr0vawkqhw"))))
2210 (build-system meson-build-system)
2213 (modify-phases %standard-phases
2214 (add-before 'configure 'patch-path
2215 (lambda* (#:key inputs #:allow-other-keys)
2216 (substitute* "libgnome-desktop/gnome-languages.c"
2218 (format #f "~s" (search-input-file inputs "bin/locale"))))))
2219 (add-before 'configure 'patch-bubblewrap
2220 (lambda* (#:key inputs #:allow-other-keys)
2221 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2223 (string-append "\"" (which "bwrap") "\","))
2224 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2225 (string-append "\"--ro-bind\", \""
2230 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",")
2232 (add-before 'check 'pre-check
2233 (lambda* (#:key inputs #:allow-other-keys)
2234 ;; Tests require a running X server and locales.
2235 (system "Xvfb :1 &")
2236 (setenv "DISPLAY" ":1")
2237 (setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
2238 (setenv "XDG_CONFIG_HOME" "/tmp")
2239 (setenv "GUIX_LOCPATH"
2240 (search-input-directory inputs
2243 (list `(,glib "bin") ;for gdbus-codegen
2244 glibc-locales ;for tests
2245 gobject-introspection
2250 xorg-server-for-tests))
2252 ;; Required by gnome-desktop-3.0.pc.
2253 (list gsettings-desktop-schemas-next
2267 (home-page "https://www.gnome.org/")
2269 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2271 "The libgnome-desktop library provides API shared by several applications
2272 on the desktop, but that cannot live in the platform for various reasons.
2273 There is no API or ABI guarantee, although we are doing our best to provide
2274 stability. Documentation for the API is available with gtk-doc.
2276 The gnome-about program helps find which version of GNOME is installed.")
2277 ; Some bits under the LGPL.
2278 (license license:gpl2+)))
2280 (define-public gnome-disk-utility
2282 (name "gnome-disk-utility")
2286 (uri (string-append "mirror://gnome/sources/" name "/"
2287 (version-major version) "/"
2288 name "-" version ".tar.xz"))
2291 "02q906gn420xbf1f0apazryzqfv5b1ammz1vrci66hk79m2n8r8v"))))
2292 (build-system meson-build-system)
2294 `(#:configure-flags '("-Dlogind=libelogind")
2297 (modify-phases %standard-phases
2298 (add-after 'unpack 'skip-gtk-update-icon-cache
2299 ;; Don't create 'icon-theme.cache'.
2301 (substitute* "meson_post_install.py"
2302 (("gtk-update-icon-cache") "true")))))))
2315 gnome-settings-daemon
2324 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2325 (synopsis "Disk management utility for GNOME")
2326 (description "Disk management utility for GNOME.")
2327 (license license:gpl2+)))
2329 (define-public gnome-font-viewer
2331 (name "gnome-font-viewer")
2335 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2336 (version-major version)
2337 "/gnome-font-viewer-" version ".tar.xz"))
2340 "1k4dhk5dmkpxb5xpr9vrl7k2fdpi2fidzni1l2hhb891zzgvi8ng"))))
2341 (build-system meson-build-system)
2345 #~(modify-phases %standard-phases
2346 (add-after 'unpack 'patch-post-install-script
2348 (substitute* "meson-postinstall.sh"
2349 (("update-desktop-database") (which "true")))))
2350 (add-after 'install 'patch-thumbnailer
2351 (lambda* (#:key outputs #:allow-other-keys)
2354 outputs "share/thumbnailers/gnome-font-viewer.thumbnailer")
2355 (("gnome-thumbnail-font")
2356 (search-input-file outputs "bin/gnome-thumbnail-font"))))))))
2358 (list gettext-minimal
2368 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2369 (synopsis "GNOME Fonts")
2370 (description "Application to show you the fonts installed on your computer
2371 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2372 the font would look under various sizes.")
2373 (license license:gpl2+)))
2381 (uri (string-append "mirror://gnome/sources/" name "/"
2382 (version-major+minor version) "/"
2383 name "-" version ".tar.xz"))
2386 "0kx2pv272p0qc0nq1287gciyn34d95yxg41vq3lzxfzyqaijhwdv"))))
2387 (build-system meson-build-system)
2391 #~(modify-phases %standard-phases
2392 (add-after 'unpack 'remove-fatal-warnings-option
2393 ;; Otherwise, the gi-docgen tool would fail because of the
2394 ;; "Fontconfig error: No writable cache directories" warnings.
2396 (substitute* (find-files "." "^meson\\.build$")
2397 ((".*'--fatal-warnings',.*") ""))))
2398 (add-after 'unpack 'skip-gtk-update-icon-cache
2399 ;; Don't create 'icon-theme.cache'.
2401 (substitute* "meson_post_install.py"
2402 (("gtk-update-icon-cache") "true"))))
2403 (add-before 'check 'pre-check
2405 ;; Some tests expect to write to $HOME.
2406 (setenv "HOME" "/tmp")))
2408 (lambda* (#:key parallel-tests? tests? #:allow-other-keys)
2410 (setenv "MESON_TESTTHREADS"
2412 (number->string (parallel-job-count))
2414 ;; Work around the "mock prompter couldn't get session bus
2415 ;; address: Cannot spawn a message bus without a machine-id"
2416 ;; error by manually creating the session bus via
2417 ;; 'dbus-run-session'.
2418 (invoke "dbus-run-session" "--"
2419 "meson" "test" "-t" "0")))))))
2426 (list gettext-minimal
2429 gobject-introspection
2437 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2442 (home-page "https://www.gnome.org")
2443 (synopsis "Libraries for displaying certificates and accessing key stores")
2445 "The GCR package contains libraries used for displaying certificates and
2446 accessing key stores. It also provides the viewer for crypto files on the
2448 (license license:lgpl2.1+)))
2457 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2458 (commit (string-append "GDL_" (string-map (match-lambda
2462 (file-name (git-file-name name version))
2465 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2466 (build-system gnu-build-system)
2470 `(,glib "bin") ; for glib-genmarshal, etc.
2480 ;; The gdl-3.0.pc file 'Requires' GTK+.
2482 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2483 (synopsis "GNOME docking library")
2484 (description "This library provides docking features for gtk+.")
2485 (license license:lgpl2.1+)))
2487 ;;; A minimal variant used to break a cycle with Inkscape.
2488 (define-public gdl-minimal
2489 (package/inherit gdl
2490 (name "gdl-minimal")
2493 (modify-phases %standard-phases
2494 (add-after 'unpack 'disable-doc-generation
2495 ;; XXX: There is no easy way to disable generating the
2498 (substitute* "configure.in"
2499 (("GTK_DOC_CHECK.*") "")
2501 (substitute* "Makefile.am"
2502 (("gdl docs po") "gdl po"))
2504 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2506 (define-public libgnome-keyring
2508 (name "libgnome-keyring")
2512 (uri (string-append "mirror://gnome/sources/" name "/"
2513 (version-major+minor version) "/"
2514 name "-" version ".tar.xz"))
2517 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2518 (build-system gnu-build-system)
2520 (list libgcrypt dbus))
2523 `(,glib "bin") intltool))
2525 ;; Referred to in .h files and .pc.
2527 (home-page "https://www.gnome.org")
2528 (synopsis "Accessing passwords from the GNOME keyring")
2530 "Client library to access passwords from the GNOME keyring.")
2532 ;; Though a couple of files are LGPLv2.1+.
2533 (license license:lgpl2.0+)))
2535 (define-public gnome-keyring
2537 (name "gnome-keyring")
2541 (uri (string-append "mirror://gnome/sources/" name "/"
2542 (version-major version) "/"
2543 name "-" version ".tar.xz"))
2546 "1rp38v4s9116ivycp27w806wihqid48gk3p0czzbg9knri0d1x67"))))
2547 (build-system gnu-build-system)
2552 (string-append "--with-pkcs11-config="
2553 #$output "/share/p11-kit/modules/")
2554 (string-append "--with-pkcs11-modules="
2555 #$output "/share/p11-kit/modules/"))
2557 #~(modify-phases %standard-phases
2558 (add-after 'unpack 'fix-/bin/sh-reference
2560 (substitute* "po/Makefile.in.in"
2561 (("/bin/sh") (which "sh")))))
2563 (add-after 'install 'check
2564 (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
2566 (setenv "HOME" "/tmp") ;some tests require a writable HOME
2567 (setenv "XDG_DATA_DIRS" (string-append (getenv "XDG_DATA_DIRS")
2568 ":" #$output "/share"))
2569 (invoke "dbus-run-session" "make" "check" "-j"
2571 (number->string (parallel-job-count))
2580 (list dbus ;for tests
2587 libxml2 ;for XML_CATALOG_FILES
2588 libxslt ;for documentation
2590 python-wrapper)) ;for tests
2593 (home-page "https://www.gnome.org")
2594 (synopsis "Daemon to store passwords and encryption keys")
2596 "@command{gnome-keyring} is a program that keeps passwords and other
2597 secrets for users. It is run as a daemon in the session, similar to
2598 @command{ssh-agent}, and other applications locate it via an environment
2601 The program can manage several keyrings, each with its own master password,
2602 and there is also a session keyring which is never stored to disk, but
2603 forgotten when the session ends.")
2604 (license license:lgpl2.1+)))
2606 (define-public evince
2612 (uri "mirror://gnome/sources/evince/42/evince-42.3.tar.xz")
2615 "0pk42icnf4kdcaqaj17mcf4sxi82h1fdg2ds2zdrcv4lbj2czbj9"))))
2616 (build-system meson-build-system)
2619 #:build-type "release"
2620 #:configure-flags '("-Dnautilus=false")
2622 (modify-phases %standard-phases
2623 (add-after 'unpack 'skip-gtk-update-icon-cache
2624 ;; Don't create 'icon-theme.cache'.
2626 (substitute* "meson_post_install.py"
2627 (("gtk-update-icon-cache") "true")))))))
2636 texlive-libkpathsea ; for DVI support
2638 gsettings-desktop-schemas
2660 gobject-introspection
2663 (home-page " https://wiki.gnome.org/Apps")
2664 (synopsis "GNOME's document viewer")
2666 "Evince is a document viewer for multiple document formats. It
2667 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2668 of Evince is to replace the multiple document viewers that exist
2669 on the GNOME Desktop with a single simple application.")
2670 (license license:gpl2+)))
2672 (define-public gsettings-desktop-schemas
2674 (name "gsettings-desktop-schemas")
2679 (uri (string-append "mirror://gnome/sources/" name "/"
2680 (version-major version) "/"
2681 name "-" version ".tar.xz"))
2684 "1v9jagk679m01nji0acirynxinziv036618c7xc49l4nwmr9ja3p"))))
2685 (build-system meson-build-system)
2687 `(#:phases (modify-phases %standard-phases
2688 (add-after 'unpack 'patch-schemas
2689 (lambda* (#:key inputs #:allow-other-keys)
2690 (substitute* (find-files "schemas"
2691 "\\.gschema\\.xml\\.in$")
2692 ;; Provide the correct file name of the default
2693 ;; GNOME background, 'adwaita-timed.xml'.
2694 (("@datadir@/backgrounds/gnome")
2695 (search-input-directory inputs
2696 "/share/backgrounds/gnome"))
2697 ;; Do not reference fonts, that may not exist.
2698 (("'Source Code Pro 10'") "'Monospace 11'")))))))
2699 (inputs (list glib gnome-backgrounds))
2700 (native-inputs (list gettext-minimal
2701 `(,glib "bin") ;glib-compile-schemas, etc.
2702 gobject-introspection
2704 python)) ;for build-aux/meson/post-install.py
2705 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2706 (synopsis "GNOME settings for various desktop components")
2707 (description "Gsettings-desktop-schemas contains a collection of GSettings
2708 schemas for settings shared by various components of the GNOME desktop.")
2709 (license license:lgpl2.1+)))
2711 (define-public gsettings-desktop-schemas-next
2713 (inherit gsettings-desktop-schemas)
2714 (name "gsettings-desktop-schemas-next") ;to avoid propagation conflicts
2719 (uri (string-append "mirror://gnome/sources/" name "/"
2720 (version-major version) "/"
2721 name "-" version ".tar.xz"))
2724 "1li3fcqwnw20f4j0i21i88fygm0hli8gmzkn4apgf8ynkrd371k6"))))))
2726 (define-public python-liblarch
2728 (name "python-liblarch")
2733 (url "https://github.com/getting-things-gnome/liblarch")
2734 (commit (string-append "v" version))))
2735 (file-name (git-file-name name version))
2738 "125rmrdbc84lapfh8c77zxnmwas20xdfamqmilhv1smkxn2q4sh3"))))
2739 (build-system python-build-system)
2741 `(#:phases (modify-phases %standard-phases
2742 (add-before 'check 'start-xserver
2743 (lambda* (#:key inputs #:allow-other-keys)
2744 (system (format #f "~a/bin/Xvfb :1 &"
2745 (assoc-ref inputs "xorg-server")))
2746 (setenv "DISPLAY" ":1"))))))
2747 (native-inputs (list xorg-server-for-tests))
2748 (inputs (list gtk+))
2749 (propagated-inputs (list python-pygobject))
2750 (home-page "https://wiki.gnome.org/Projects/liblarch")
2751 (synopsis "Library to easily handle complex data structures")
2753 "Liblarch is a Python library built to easily handle data structures such
2754 as lists, trees and acyclic graphs. There's also a GTK binding that will
2755 allow you to use your data structure in a @code{Gtk.Treeview}.
2757 Liblarch support multiple views of one data structure and complex filtering.
2758 That way, you have a clear separation between your data themselves (Model)
2759 and how they are displayed (View).")
2760 (license license:lgpl3+)))
2770 (url "https://github.com/getting-things-gnome/gtg")
2771 (commit (string-append "v" version))))
2772 (file-name (git-file-name name version))
2774 (base32 "1wcivqp4z3a2jdr2wdrldzwy9v6hlfp5sk0pmh80znlgvl7q3jiv"))))
2775 (build-system meson-build-system)
2779 #:imported-modules `(,@%meson-build-system-modules
2780 (guix build python-build-system))
2781 #:modules '((guix build meson-build-system)
2782 ((guix build python-build-system) #:prefix python:)
2785 #~(modify-phases %standard-phases
2786 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2787 (lambda* (#:key inputs outputs #:allow-other-keys)
2788 (wrap-program (search-input-file outputs "bin/gtg")
2789 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
2790 ,(python:site-packages inputs outputs)))
2791 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
2793 (list desktop-file-utils
2796 gobject-introspection
2802 gsettings-desktop-schemas
2812 (home-page "https://wiki.gnome.org/Apps/GTG")
2813 (synopsis "Personal organizer for the GNOME desktop")
2815 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2816 organizer for the GNOME desktop environment inspired by the Getting Things
2817 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2818 and ease of use in mind so it can be used as more than just GTD software.
2819 GTG is intended to help you track everything you need to do and need to
2820 know, from small tasks to large projects.")
2821 (license license:gpl3+)))
2823 (define-public icon-naming-utils
2825 (name "icon-naming-utils")
2830 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2831 version ".tar.bz2"))
2834 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2835 (build-system gnu-build-system)
2837 (list perl perl-xml-simple))
2840 (modify-phases %standard-phases
2841 (add-after 'install 'set-load-paths
2842 ;; Tell 'icon-name-mapping' where XML::Simple is.
2843 (lambda* (#:key outputs #:allow-other-keys)
2844 (let* ((out (assoc-ref outputs "out"))
2845 (prog (string-append out "/libexec/icon-name-mapping")))
2848 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2850 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2852 "Utility to implement the Freedesktop Icon Naming Specification")
2854 "To help with the transition to the Freedesktop Icon Naming
2855 Specification, the icon naming utility maps the icon names used by the
2856 GNOME and KDE desktops to the icon names proposed in the specification.")
2857 (license license:lgpl2.1+)))
2859 (define-public adwaita-icon-theme
2861 (name "adwaita-icon-theme")
2865 (uri (string-append "mirror://gnome/sources/" name "/"
2866 (version-major version) "/"
2867 name "-" version ".tar.xz"))
2870 "1q5i31zd5jzr12p6vn831afwnzbzf6x73wna1y86drnyr2nvb1ay"))))
2871 (build-system gnu-build-system)
2874 ;; Don't create 'icon-theme.cache'.
2875 #~(list "GTK_UPDATE_ICON_CACHE=")))
2877 ;; The following requires the SVG pixbuf loader, provided by librsvg,
2878 ;; available on x86_64 only.
2879 `(,@(if (target-64bit?)
2880 `((,gtk+ "bin")) ;for gtk-encode-symbolic-svg
2882 (home-page "https://gitlab.gnome.org/GNOME/adwaita-icon-theme")
2883 (synopsis "GNOME icon theme")
2884 (description "Icons for the GNOME desktop.")
2885 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2887 (define-public gnome-icon-theme
2888 (deprecated-package "gnome-icon-theme" adwaita-icon-theme))
2890 (define-public tango-icon-theme
2892 (name "tango-icon-theme")
2896 (uri (string-append "http://tango.freedesktop.org/releases/"
2897 "tango-icon-theme-" version ".tar.bz2"))
2900 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2901 (build-system gnu-build-system)
2903 (list icon-naming-utils intltool imagemagick pkg-config))
2904 (home-page "http://tango-project.org/")
2905 (synopsis "Tango icon theme")
2906 (description "This is an icon theme that follows the Tango visual
2908 (license license:public-domain)))
2910 (define-public shared-mime-info
2912 (name "shared-mime-info")
2917 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2918 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2922 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2923 (build-system gnu-build-system)
2925 ;; The build system appears not to be parallel-safe.
2926 '(#:parallel-build? #f))
2928 (list glib libxml2))
2930 `(("gettext" ,gettext-minimal)
2931 ("itstool" ,itstool)
2932 ("pkg-config" ,pkg-config)))
2933 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2934 (synopsis "Database of common MIME types")
2936 "The shared-mime-info package contains the core database of common types
2937 and the update-mime-database command used to extend it. It requires glib2 to
2938 be installed for building the update command. Additionally, it uses intltool
2939 for translations, though this is only a dependency for the maintainers. This
2940 database is translated at Transifex.")
2941 (license license:gpl2+)))
2943 (define-public system-config-printer
2945 (name "system-config-printer")
2951 "https://github.com/OpenPrinting/system-config-printer/releases/"
2952 "download/v" version
2953 "/system-config-printer-" version ".tar.xz"))
2955 (base32 "1z9pvgifj5c87csnqz10qybbcayh3ak9m606f63ifkvyjh4q9jnb"))))
2956 (build-system glib-or-gtk-build-system)
2959 #:imported-modules `((guix build python-build-system)
2960 ,@%glib-or-gtk-build-system-modules)
2962 #~(modify-phases %standard-phases
2963 (add-after 'unpack 'patch-build-files
2965 (substitute* "configure.ac"
2967 (string-append all "\nAC_CONFIG_MACRO_DIR([m4])\n"))
2968 ;; XXX: AX macros appear unavailable
2969 (("AX_REQUIRE_DEFINED.*") ""))
2970 ;; The Makefile generates some scripts, so set a valid shebang
2971 (substitute* "Makefile.am"
2972 (("/bin/bash") (which "bash")))
2973 (delete-file "configure")))
2974 (add-after 'unpack 'patch-docbook-xml
2975 (lambda* (#:key inputs #:allow-other-keys)
2976 ;; Modify the man XML otherwise xmlto tries to access the network
2977 (substitute* "man/system-config-printer.xml"
2978 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2979 (string-append (assoc-ref inputs "docbook-xml")
2980 "/xml/dtd/docbook/")))))
2981 (add-after 'install 'add-install-to-pythonpath
2982 (@@ (guix build python-build-system) add-install-to-pythonpath))
2983 (add-after 'add-install-to-pythonpath 'wrap-for-python
2984 (@@ (guix build python-build-system) wrap))
2985 (add-after 'install 'wrap
2986 (lambda* (#:key outputs #:allow-other-keys)
2987 (let ((out (assoc-ref outputs "out"))
2988 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2991 (wrap-program program
2992 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2994 (string-append out "/bin/" name))
2995 '("system-config-printer"
2996 "system-config-printer-applet"
2997 "install-printerdriver"
2998 "scp-dbus-service")))))))))
3000 (list gsettings-desktop-schemas
3001 gobject-introspection
3023 (home-page "https://github.com/zdohnal/system-config-printer")
3024 (synopsis "CUPS administration tool")
3026 "system-config-printer is a CUPS administration tool. It's written in
3027 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
3029 (license license:gpl2+)))
3031 (define-public hicolor-icon-theme
3033 (name "hicolor-icon-theme")
3038 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3039 "hicolor-icon-theme-" version ".tar.xz"))
3042 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3043 (build-system gnu-build-system)
3045 `(#:tests? #f)) ; no check target
3046 (home-page "https://icon-theme.freedesktop.org/releases/")
3048 "Freedesktop icon theme")
3050 "Freedesktop icon theme.")
3051 (license license:gpl2)))
3053 (define-public libnotify
3060 (uri (string-append "mirror://gnome/sources/" name "/"
3061 (version-major+minor version) "/"
3062 name "-" version ".tar.xz"))
3065 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3066 (build-system meson-build-system)
3069 (modify-phases %standard-phases
3070 (add-after 'unpack 'fix-docbook
3071 (lambda* (#:key inputs #:allow-other-keys)
3072 ;; Don't attempt to download XSL schema.
3073 (substitute* "meson.build"
3074 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3075 /manpages/docbook.xsl")
3076 (string-append (assoc-ref inputs "docbook-xsl")
3077 "/xml/xsl/docbook-xsl-"
3078 ,(package-version docbook-xsl)
3079 "/manpages/docbook.xsl")))
3082 (list ;; In Requires of libnotify.pc.
3087 `(("pkg-config" ,pkg-config)
3088 ("glib" ,glib "bin")
3089 ("gobject-introspection" ,gobject-introspection)
3091 ;; For the documentation.
3092 ("gtk-doc" ,gtk-doc/stable)
3093 ("xsltproc" ,libxslt)
3094 ("docbook-xsl" ,docbook-xsl)))
3095 (home-page "https://developer-next.gnome.org/libnotify/")
3097 "GNOME desktop notification library")
3099 "Libnotify is a library that sends desktop notifications to a
3100 notification daemon, as defined in the Desktop Notifications spec. These
3101 notifications can be used to inform the user about an event or display
3102 some form of information without getting in the user's way.")
3103 (license license:lgpl2.1+)))
3105 (define-public libpeas
3112 (uri (string-append "mirror://gnome/sources/" name "/"
3113 (version-major+minor version) "/"
3114 name "-" version ".tar.xz"))
3117 "03ixrhfkywcb409dd0hybyb6i291phwy8si4kc17g29fl07m49fn"))))
3118 (build-system meson-build-system)
3121 (modify-phases %standard-phases
3122 (add-before 'check 'start-xserver
3123 (lambda* (#:key inputs #:allow-other-keys)
3125 (setenv "DISPLAY" disp)
3126 (setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
3127 (setenv "XDG_CONFIG_HOME" "/tmp")
3128 ;; Tests require a running X server.
3129 (system (format #f "~a ~a &"
3130 (search-input-file inputs "bin/Xvfb")
3141 gobject-introspection
3142 xorg-server-for-tests))
3144 ;; The .pc file "Requires" gobject-introspection.
3145 (list gobject-introspection))
3146 (home-page "https://wiki.gnome.org/Projects/Libpeas")
3147 (synopsis "GObject plugin system")
3149 "Libpeas is a gobject-based plugin engine, targeted at giving every
3150 application the chance to assume its own extensibility. It also has a set of
3151 features including, but not limited to: multiple extension points; on-demand
3152 (lazy) programming language support for C, Python and JS; simplicity of the
3154 (license license:lgpl2.0+)))
3156 (define-public gtkglext
3162 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3163 version "/gtkglext-" version ".tar.gz"))
3165 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3166 (patches (search-patches
3167 "gtkglext-disable-disable-deprecated.patch"))))
3168 (build-system gnu-build-system)
3171 (modify-phases %standard-phases
3172 ;; Fix a collision between a local variable and a definition from
3173 ;; glibc's string.h.
3174 (add-after 'unpack 'fix-collision
3176 (substitute* "gdk/gdkglshapes.c"
3177 ((" index") " triangle_index"))
3179 (inputs (list gtk+-2 mesa glu libx11 libxt))
3180 (native-inputs (list pkg-config
3182 (propagated-inputs (list pangox-compat))
3183 (home-page "https://projects.gnome.org/gtkglext")
3184 (synopsis "OpenGL extension to GTK+")
3185 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3186 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3187 API add-ons to make GTK+ widgets OpenGL-capable.")
3188 (license license:lgpl2.1+)))
3190 (define-public glade3
3196 (uri (string-append "mirror://gnome/sources/" name "/"
3197 (version-major+minor version) "/"
3198 name "-" version ".tar.xz"))
3201 "171x7vshhw0nqgnhkcaqfylpr5qrmhclwmkva6wjm5s9m2pavj9i"))))
3202 (build-system meson-build-system)
3206 #~(modify-phases %standard-phases
3207 (add-after 'unpack 'skip-gtk-update-icon-cache
3208 ;; Don't create 'icon-theme.cache'.
3210 (substitute* "meson_post_install.py"
3211 (("gtk-update-icon-cache") "true"))))
3213 #$@(if (this-package-input "gjs")
3215 '((add-after 'unpack 'skip-gjs-test
3217 ;; When the optional dependency on GJS is missing, skip
3218 ;; the GJS plugin tests.
3219 (substitute* "tests/modules.c"
3220 (("g_test_add.*JavaScript.*" all)
3221 (string-append "// " all "\n")))
3222 (delete-file "tests/catalogs/gjsplugin.xml")))))
3223 (add-before 'check 'pre-check
3225 (setenv "HOME" "/tmp")
3226 ;; Tests require a running X server.
3227 (system "Xvfb :1 &")
3228 (setenv "DISPLAY" ":1"))))))
3231 ;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
3232 ;; dependency on other platforms (FIXME).
3233 (if (target-x86-64?)
3236 (list gtk+ libxml2)))
3238 (list docbook-xml-4.2
3242 gobject-introspection
3245 libxml2 ;for XML_CATALOG_FILES
3246 libxslt ;for xsltproc
3250 xorg-server-for-tests))
3251 (home-page "https://glade.gnome.org")
3252 (synopsis "GTK+ rapid application development tool")
3253 (description "Glade is a rapid application development (RAD) tool to
3254 enable quick & easy development of user interfaces for the GTK+ toolkit and
3255 the GNOME desktop environment.")
3256 (license license:lgpl2.0+)
3257 (native-search-paths (list (search-path-specification
3258 (variable "GLADE_CATALOG_SEARCH_PATH")
3259 (files '("share/glade/catalogs")))
3260 (search-path-specification
3261 (variable "GLADE_MODULE_SEARCH_PATH")
3262 (files '("lib/glade/modules")))))))
3264 (define-public blueprint-compiler
3266 (name "blueprint-compiler")
3272 "https://gitlab.gnome.org/jwestman/blueprint-compiler")
3273 (commit (string-append "v" version))))
3274 (file-name (string-append name "-" version "-checkout"))
3277 "0hj7f4xhwjc4x32r3lswwclbw37fw3spy806g4plkmym25hz4ydy"))))
3278 (build-system meson-build-system)
3279 (native-inputs (list gtk python-pygobject python))
3280 (inputs (list python))
3281 (synopsis "Template markup language")
3283 "Blueprint is a markup language for GTK user interfaces. Internally, it
3284 compiles to GTKBuilder XML.")
3285 (home-page "https://gitlab.gnome.org/jwestman/blueprint-compiler")
3286 (license license:lgpl3+)))
3288 (define-public cambalache
3295 (url "https://gitlab.gnome.org/jpu/cambalache")
3297 (file-name (git-file-name name version))
3299 (base32 "1nq9bvly4dm1xnh90z3b4c5455qpdgm3jgz2155vg2ai23f22vsy"))))
3300 (build-system meson-build-system)
3304 #:imported-modules `((guix build python-build-system)
3305 ,@%meson-build-system-modules)
3306 #:modules '((guix build meson-build-system)
3307 ((guix build python-build-system) #:prefix python:)
3310 #~(modify-phases %standard-phases
3311 (add-after 'unpack 'patch-source
3312 (lambda* (#:key inputs #:allow-other-keys)
3313 (substitute* "cambalache/cmb_view.py"
3314 (("GLib\\.find_program_in_path\\('(.*)'\\)" all cmd)
3315 (format #f "~s" (search-input-file
3316 inputs (string-append "bin/" cmd)))))))
3317 (add-after 'unpack 'patch-build
3319 (substitute* "postinstall.py"
3320 (("update-desktop-database") "true"))))
3321 (add-after 'wrap 'python-wrap (assoc-ref python:%standard-phases 'wrap))
3323 (add-after 'install 'add-install-to-pythonpath
3324 (assoc-ref python:%standard-phases 'add-install-to-pythonpath))
3325 (add-after 'add-install-to-pythonpath 'pre-check
3327 (system "Xvfb :1 &")
3328 (setenv "DISPLAY" ":1")))
3329 (add-after 'pre-check 'check
3330 (lambda* (#:key tests? #:allow-other-keys)
3332 (with-directory-excursion ".."
3333 (invoke "python3" "-m" "pytest")))))
3334 (add-after 'glib-or-gtk-wrap 'wrap-typelib
3338 (unless (wrapped-program? prog)
3340 `("GI_TYPELIB_PATH" suffix
3341 (,(string-append #$output "/lib/girepository-1.0")
3342 ,(getenv "GI_TYPELIB_PATH")))
3343 ;; icons and schemas
3344 `("XDG_DATA_DIRS" suffix
3347 (file-append (this-package-input input) "/share"))
3348 '("adwaita-icon-theme" "hicolor-icon-theme"
3349 "gsettings-desktop-schemas")))
3350 ;; Wrapping GDK_PIXBUF_MODULE_FILE allows Cambalache to
3351 ;; load its own icons in pure environments.
3352 `("GDK_PIXBUF_MODULE_FILE" =
3353 (,(getenv "GDK_PIXBUF_MODULE_FILE"))))))
3354 (find-files (string-append #$output "/bin"))))))))
3357 adwaita-icon-theme hicolor-icon-theme
3358 gsettings-desktop-schemas
3360 `(,gtk+ "bin") ; broadwayd
3364 (librsvg-for-system)
3368 webkitgtk-with-libsoup2))
3369 (native-inputs (list `(,glib "bin") gobject-introspection
3370 gettext-minimal pkg-config
3371 python-pytest xorg-server-for-tests))
3372 (home-page "https://gitlab.gnome.org/jpu/cambalache")
3373 (synopsis "Rapid application development tool")
3374 (description "Cambalache is a rapid application development (RAD) tool for
3375 Gtk 4 and 3 with a clear model-view-controller (MVC) design and
3376 data model first philosophy.")
3377 (license (list license:lgpl2.1
3378 license:gpl2)))) ; tools
3380 (define-public libcroco
3386 (uri (string-append "mirror://gnome/sources/" name "/"
3387 (version-major+minor version) "/"
3388 name "-" version ".tar.xz"))
3389 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3392 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3393 (build-system gnu-build-system)
3397 (list glib libxml2 zlib))
3398 (home-page "https://github.com/GNOME/libcroco")
3399 (synopsis "CSS2 parsing and manipulation library")
3401 "Libcroco is a standalone CSS2 parsing and manipulation library.
3402 The parser provides a low level event driven SAC-like API and a CSS object
3403 model like API. Libcroco provides a CSS2 selection engine and an experimental
3404 XML/CSS rendering engine.")
3407 (license license:lgpl2.1)))
3409 (define-public libgsf
3415 (uri (string-append "mirror://gnome/sources/" name "/"
3416 (version-major+minor version) "/"
3417 name "-" version ".tar.xz"))
3420 "0llf5rpg2rg9pdz8j38dl5z82zi9kmsn639wb2fhcfc3fz820v3f"))))
3421 (build-system glib-or-gtk-build-system)
3422 (outputs '("out" "bin" "doc"))
3428 "--enable-introspection"
3429 (string-append "--with-gir-dir=" #$output
3432 (package-version gobject-introspection))
3434 (string-append "--with-typelib-dir=" #$output
3435 "/lib/girepository-"
3437 (package-version gobject-introspection))
3439 (string-append "--with-html-dir=" #$output
3440 "/share/gtk-doc/html")
3444 #~(modify-phases %standard-phases
3445 (add-after 'unpack 'patch-docbook-xml
3446 (lambda* (#:key native-inputs inputs #:allow-other-keys)
3447 (with-directory-excursion "doc"
3448 (substitute* "gsf-docs.xml"
3449 (("http://www.oasis-open.org/docbook/xml/4.5/")
3450 (search-input-directory (or native-inputs inputs)
3451 "xml/dtd/docbook")))))))))
3455 gobject-introspection
3467 (synopsis "G Structured File Library")
3468 (description "Libgsf aims to provide an efficient extensible I/O abstraction
3469 for dealing with different structured file formats.")
3470 (home-page "https://gitlab.gnome.org/GNOME/libgsf")
3472 (list license:lgpl2.1+ ;library
3473 license:lgpl2.0+)))) ;others
3475 (define-public librsvg
3481 (uri (string-append "mirror://gnome/sources/librsvg/"
3482 (version-major+minor version) "/"
3483 "librsvg-" version ".tar.xz"))
3486 "1g3f8byg5w08fx1bka12mmpl59v6a4q2p827w6m2la6mijq63yzz"))
3487 (modules '((guix build utils)))
3489 '(begin (delete-file-recursively "vendor")))))
3490 (build-system cargo-build-system)
3491 (outputs '("out" "doc" "debug"))
3493 `(#:install-source? #f
3495 ((guix build cargo-build-system)
3497 ((guix build gnu-build-system) #:prefix gnu:))
3499 (("rust-bitflags" ,rust-bitflags-1)
3500 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3501 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3502 ("rust-cast" ,rust-cast-0.2)
3503 ("rust-cssparser" ,rust-cssparser-0.27)
3504 ("rust-data-url" ,rust-data-url-0.1)
3505 ("rust-encoding" ,rust-encoding-0.2)
3506 ("rust-float-cmp" ,rust-float-cmp-0.8)
3507 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3508 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3509 ("rust-gio" ,rust-gio-0.8)
3510 ("rust-gio-sys" ,rust-gio-sys-0.9)
3511 ("rust-glib" ,rust-glib-0.9)
3512 ("rust-glib-sys" ,rust-glib-sys-0.9)
3513 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3514 ("rust-itertools" ,rust-itertools-0.9)
3515 ("rust-language-tags" ,rust-language-tags-0.2)
3516 ("rust-libc" ,rust-libc-0.2)
3517 ("rust-locale-config" ,rust-locale-config-0.3)
3518 ("rust-markup5ever" ,rust-markup5ever-0.10)
3519 ("rust-nalgebra" ,rust-nalgebra-0.21)
3520 ("rust-num-traits" ,rust-num-traits-0.2)
3521 ("rust-once-cell" ,rust-once-cell-1)
3522 ("rust-pkg-config" ,rust-pkg-config-0.3)
3523 ("rust-pango" ,rust-pango-0.8)
3524 ("rust-pango-sys" ,rust-pango-sys-0.9)
3525 ("rust-pangocairo" ,rust-pangocairo-0.9)
3526 ("rust-rayon" ,rust-rayon-1)
3527 ("rust-rctree" ,rust-rctree-0.3)
3528 ("rust-rgb" ,rust-rgb-0.8)
3529 ("rust-regex" ,rust-regex-1)
3530 ("rust-selectors" ,rust-selectors-0.22)
3531 ("rust-string-cache" ,rust-string-cache-0.8)
3532 ("rust-tinyvec" ,rust-tinyvec-0.3)
3533 ("rust-url" ,rust-url-2)
3534 ("rust-xml5ever" ,rust-xml5ever-0.16))
3535 #:cargo-development-inputs
3536 (("rust-assert-cmd" ,rust-assert-cmd-1)
3537 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3538 ("rust-chrono" ,rust-chrono-0.4)
3539 ("rust-criterion" ,rust-criterion-0.3)
3540 ("rust-float-cmp" ,rust-float-cmp-0.8)
3541 ("rust-lopdf" ,rust-lopdf-0.26)
3542 ("rust-png" ,rust-png-0.16)
3543 ("rust-predicates" ,rust-predicates-1)
3544 ("rust-tempfile" ,rust-tempfile-3))
3546 (modify-phases %standard-phases
3547 (add-after 'unpack 'patch-docbook-xml
3548 (lambda* (#:key inputs #:allow-other-keys)
3549 (with-directory-excursion "doc"
3550 (substitute* "rsvg-docs.xml"
3551 (("http://www.oasis-open.org/docbook/xml/4.3/")
3552 (string-append (assoc-ref inputs "docbook-xml")
3553 "/xml/dtd/docbook/"))))))
3554 (add-after 'unpack 'prepare-for-build
3556 ;; In lieu of #:make-flags
3557 (setenv "CC" ,(cc-for-target))
3558 ;; Something about the build environment resists building
3559 ;; successfully with the '--locked' flag.
3560 (substitute* '("Makefile.am" "Makefile.in")
3561 (("--locked") ""))))
3562 (add-before 'configure 'pre-configure
3563 (lambda* (#:key outputs #:allow-other-keys)
3564 (substitute* "gdk-pixbuf-loader/Makefile.in"
3565 ;; By default the gdk-pixbuf loader is installed under
3566 ;; gdk-pixbuf's prefix. Work around that.
3567 (("gdk_pixbuf_moduledir = .*$")
3568 (string-append "gdk_pixbuf_moduledir = "
3570 ,(dirname %gdk-pixbuf-loaders-cache-file) "/"
3572 (substitute* "configure"
3573 (("gdk_pixbuf_cache_file=.*")
3574 (string-append "gdk_pixbuf_cache_file="
3575 (assoc-ref outputs "out") "/"
3576 ,%gdk-pixbuf-loaders-cache-file "\n")))))
3577 (add-after 'configure 'gnu-configure
3578 (lambda* (#:key outputs #:allow-other-keys #:rest args)
3579 (apply (assoc-ref gnu:%standard-phases 'configure)
3581 (list "--disable-static"
3583 (string-append "--with-html-dir="
3584 (assoc-ref outputs "doc")
3585 "/share/gtk-doc/html"))
3587 (add-after 'configure 'dont-vendor-self
3588 (lambda* (#:key vendor-dir #:allow-other-keys)
3589 ;; Don't keep the whole tarball in the vendor directory
3590 (delete-file-recursively
3591 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))))
3593 (assoc-ref gnu:%standard-phases 'build))
3594 (add-before 'check 'ignore-failing-tests
3595 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3597 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3598 (("fn background_color_option_invalid_color_yields_error" all)
3599 (string-append "#[ignore] " all))
3600 (("fn empty_input_yields_error" all)
3601 (string-append "#[ignore] " all))
3602 (("fn empty_svg_yields_error" all)
3603 (string-append "#[ignore] " all))
3604 (("fn env_source_data_epoch_empty" all)
3605 (string-append "#[ignore] " all))
3606 (("fn env_source_data_epoch_no_digits" all)
3607 (string-append "#[ignore] " all))
3608 (("fn env_source_data_epoch_trailing_garbage" all)
3609 (string-append "#[ignore] " all))
3610 (("fn export_id_option_error" all)
3611 (string-append "#[ignore] " all))
3612 (("fn huge_zoom_factor_yields_error" all)
3613 (string-append "#[ignore] " all))
3614 (("fn multiple_input_files_not_allowed_for_png_output" all)
3615 (string-append "#[ignore] " all))
3616 (("fn stylesheet_option_error" all)
3617 (string-append "#[ignore] " all)))))
3620 ((assoc-ref gnu:%standard-phases 'check)
3621 #:test-target "check")))
3623 (assoc-ref gnu:%standard-phases 'install)))))
3625 (list docbook-xml-4.3
3627 gobject-introspection
3631 (list freetype harfbuzz libxml2 pango))
3633 (list cairo gdk-pixbuf glib))
3634 (synopsis "SVG rendering library")
3635 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3636 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3637 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3639 (home-page "https://wiki.gnome.org/LibRsvg")
3640 (license license:lgpl2.1+)))
3642 ;; This copy of librsvg uses the bundled rust libraries. It is useful for
3643 ;; packages which have too many dependencies to be rebuilt as frequently
3644 ;; as the rust inputs are updated.
3645 ;; TODO: Remove this package and use packaged rust libraries!
3646 (define-public librsvg-bootstrap
3653 (uri (string-append "mirror://gnome/sources/librsvg/"
3654 (version-major+minor version) "/"
3655 "librsvg-" version ".tar.xz"))
3658 "1g3f8byg5w08fx1bka12mmpl59v6a4q2p827w6m2la6mijq63yzz"))
3659 (modules '((guix build utils)))
3662 (for-each delete-file (find-files "vendor" "\\.a$"))))))
3664 (substitute-keyword-arguments (package-arguments librsvg)
3665 ((#:vendor-dir _ "vendor") "vendor")
3666 ((#:cargo-inputs _) '())
3667 ((#:cargo-development-inputs _) '())))
3668 (properties '((hidden? . #t)))))
3670 (define-public librsvg-2.40
3671 ;; This is the last version implemented in C.
3677 (uri (string-append "mirror://gnome/sources/librsvg/"
3678 (version-major+minor version)
3679 "/librsvg-" version ".tar.xz"))
3682 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3683 (build-system gnu-build-system)
3685 `(#:configure-flags (list "--disable-static")
3687 (modify-phases %standard-phases
3688 (add-before 'configure 'pre-configure
3689 (lambda* (#:key inputs #:allow-other-keys)
3690 (substitute* "gdk-pixbuf-loader/Makefile.in"
3691 ;; By default the gdk-pixbuf loader is installed under
3692 ;; gdk-pixbuf's prefix. Work around that.
3693 (("gdk_pixbuf_moduledir = .*$")
3694 (string-append "gdk_pixbuf_moduledir = "
3695 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3697 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3698 (("gdk_pixbuf_cache_file = .*$")
3699 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3701 (add-before 'check 'remove-failing-tests
3703 (with-directory-excursion "tests/fixtures/reftests"
3704 (for-each delete-file
3705 '(;; This test fails on i686:
3706 "svg1.1/masking-path-04-b.svg"
3707 ;; This test fails on armhf:
3708 "svg1.1/masking-mask-01-b.svg"
3709 ;; This test fails on aarch64:
3710 "bugs/777834-empty-text-children.svg"
3712 ;; These two tests fail due to slightly different
3713 ;; text rendering (different kerning or similar),
3714 ;; nothing alarming.
3716 "bugs/749415.svg"))))))))
3719 `(,glib "bin") ; glib-mkenums, etc.
3720 gobject-introspection)) ; g-ir-compiler, etc.
3722 (list pango libcroco libxml2))
3724 ;; librsvg-2.0.pc refers to all of that.
3725 (list cairo gdk-pixbuf glib))
3726 (synopsis "Render SVG files using Cairo (ancient C version)")
3727 (properties '((hidden? . #t)))))
3729 (define* (librsvg-for-system #:optional
3730 (system (or (%current-target-system)
3731 (%current-system))))
3732 ;; Since librsvg 2.50 depends on Rust, and Rust is only correctly supported
3733 ;; on x86_64 so far, use the ancient C version on other platforms (FIXME).
3734 (if (string-prefix? "x86_64-" system)
3738 (export librsvg-for-system)
3740 (define-public libidl
3746 (uri (string-append "mirror://gnome/sources/libIDL/"
3747 (version-major+minor version) "/"
3748 "libIDL-" version ".tar.bz2"))
3751 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3752 (build-system gnu-build-system)
3753 (inputs (list glib))
3755 (list pkg-config flex bison))
3756 (home-page "http://freecode.com/projects/libidl")
3757 (synopsis "Create trees of CORBA Interface Definition Language files")
3758 (description "Libidl is a library for creating trees of CORBA Interface
3759 Definition Language (idl) files, which is a specification for defining
3760 portable interfaces. libidl was initially written for orbit (the orb from the
3761 GNOME project, and the primary means of libidl distribution). However, the
3762 functionality was designed to be as reusable and portable as possible.")
3763 (properties `((upstream-name . "libIDL")))
3764 (license license:lgpl2.0+)))
3767 (define-public orbit2
3773 (uri (let ((upstream-name "ORBit2"))
3774 (string-append "mirror://gnome/sources/" upstream-name "/"
3775 (version-major+minor version) "/"
3776 upstream-name "-" version ".tar.bz2")))
3779 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3780 (build-system gnu-build-system)
3782 `(;; The "timeout-server" test hangs when run in parallel.
3783 #:parallel-tests? #f
3785 '(;; We don't need static libraries, plus they don't build reproducibly
3786 ;; (non-deterministic ordering of .o files in the archive.)
3789 ;; The programmer kindly gives us a hook to turn off deprecation
3791 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3792 ;; ... which they then completly ignore !!
3794 (modify-phases %standard-phases
3795 (add-after 'unpack 'fix-parallel-build
3796 ;; Parallel build fails because of a failed dependency,
3797 ;; https://bugzilla.gnome.org/show_bug.cgi?id=732274
3799 (substitute* "src/services/name/Makefile.am"
3800 (("orbit_name_server_2_DEPENDENCIES = \\$(DEPS) CosNaming.h")
3801 "orbit_name_server_2_DEPENDENCIES = \
3802 $(DEPS) CosNaming.h libname-server-2.a"))))
3803 (add-before 'configure 'ignore-deprecations
3805 (substitute* "linc2/src/Makefile.in"
3806 (("-DG_DISABLE_DEPRECATED")
3807 "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))))))
3808 (inputs (list glib libidl))
3811 (home-page "https://projects.gnome.org/orbit2/")
3812 (synopsis "CORBA 2.4-compliant Object Request Broker")
3813 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3814 featuring mature C, C++ and Python bindings.")
3815 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3816 ;; a version. SOME of the code files have licence notices for GPLv2+.
3817 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3818 (license license:gpl2+)
3819 (properties `((upstream-name . "ORBit2")))))
3822 (define-public libbonobo
3828 (uri (string-append "mirror://gnome/sources/" name "/"
3829 (version-major+minor version)
3830 "/" name "-" version ".tar.bz2"))
3832 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3833 (patches (search-patches
3834 "libbonobo-activation-test-race.patch"))))
3835 (build-system gnu-build-system)
3837 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3839 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3840 ;; ... which they then completly ignore !!
3842 (modify-phases %standard-phases
3843 (add-before 'configure 'ignore-deprecations
3845 (substitute* "activation-server/Makefile.in"
3846 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3849 ;; There's apparently a race condition between the server stub
3850 ;; generation and linking of the example under 'samples/echo' that can
3851 ;; lead do undefined references when building in parallel, as reported
3852 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3853 ;; Thus, disable parallel builds.
3854 #:parallel-build? #f))
3855 (inputs (list popt libxml2))
3856 ;; The following are Required by the .pc file
3862 `(,glib "bin") ; for glib-genmarshal, etc.
3865 (home-page "https://developer.gnome.org/libbonobo/")
3866 (synopsis "Framework for creating reusable components for use in GNOME applications")
3867 (description "Bonobo is a framework for creating reusable components for
3868 use in GNOME applications, built on top of CORBA.")
3869 ;; Licence not explicitly stated. Source files contain no licence notices.
3870 ;; Tarball contains text of both GPLv2 and LGPLv2
3871 ;; GPLv2 covers both conditions
3872 (license license:gpl2+)))
3875 (define-public gconf
3882 (let ((upstream-name "GConf"))
3883 (string-append "mirror://gnome/sources/" upstream-name "/"
3884 (version-major+minor version) "/"
3885 upstream-name "-" version ".tar.xz")))
3887 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3888 (build-system gnu-build-system)
3889 (inputs (list dbus-glib libxml2))
3890 (propagated-inputs (list glib ; referred to in the .pc file
3894 `(,glib "bin") ; for glib-genmarshal, etc.
3896 (home-page "https://projects.gnome.org/gconf/")
3897 (synopsis "Store application preferences")
3898 (description "Gconf is a system for storing application preferences. It
3899 is intended for user preferences; not arbitrary data storage.")
3900 (license license:lgpl2.0+)
3901 (properties '((upstream-name . "GConf")))))
3904 (define-public gnome-mime-data
3906 (name "gnome-mime-data")
3910 (uri (string-append "mirror://gnome/sources/" name "/"
3911 (version-major+minor version) "/"
3912 name "-" version ".tar.bz2"))
3915 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3916 (build-system gnu-build-system)
3918 (list perl intltool))
3920 '(#:phases (modify-phases %standard-phases
3921 (add-after 'configure 'use-our-intltool
3923 ;; Do not use the bundled intltool commands, which lack
3924 ;; the "dotless @INC" fixes of our 'intltool' package.
3925 (substitute* (find-files "." "^Makefile$")
3926 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3927 (string-append "INTLTOOL_" tool " = intltool-"
3928 (string-downcase tool) "\n")))
3930 (home-page "https://www.gnome.org")
3931 (synopsis "Base MIME and Application database for GNOME")
3932 (description "GNOME Mime Data is a module which contains the base MIME
3933 and Application database for GNOME. The data stored by this module is
3934 designed to be accessed through the MIME functions in GnomeVFS.")
3935 (license license:gpl2+)))
3938 (define-public gnome-vfs
3944 (uri (string-append "mirror://gnome/sources/" name "/"
3945 (version-major+minor version) "/"
3946 name "-" version ".tar.bz2"))
3949 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3950 (build-system gnu-build-system)
3953 (modify-phases %standard-phases
3954 (add-before 'configure 'ignore-deprecations
3956 (substitute* '("libgnomevfs/Makefile.in"
3957 "daemon/Makefile.in")
3958 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3960 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3962 (substitute* "test/test-async-cancel.c"
3963 (("EXIT_FAILURE") "77"))
3965 (inputs (list libxml2 dbus-glib gconf gnome-mime-data zlib))
3967 (list `(,glib "bin") ; for glib-mkenums, etc.
3968 intltool pkg-config))
3969 (home-page "https://developer.gnome.org/gnome-vfs/")
3970 (synopsis "Access files and folders in GNOME applications")
3972 "GnomeVFS is the core library used to access files and folders in GNOME
3973 applications. It provides a file system abstraction which allows applications
3974 to access local and remote files with a single consistent API.")
3975 (license license:lgpl2.0+)))
3979 (define-public libgnome
3985 (uri (string-append "mirror://gnome/sources/" name "/"
3986 (version-major+minor version) "/"
3987 name "-" version ".tar.bz2"))
3990 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3991 (patches (search-patches "libgnome-encoding.patch"))))
3992 (build-system gnu-build-system)
3995 (modify-phases %standard-phases
3996 (add-before 'configure 'enable-deprecated
3998 (substitute* "libgnome/Makefile.in"
3999 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
4001 (inputs (list libxml2))
4003 (list `(,glib "bin") ; for glib-mkenums, etc.
4004 intltool pkg-config))
4005 ;; The following are listed as Required in the .pc file
4006 ;; (except for libcanberra -- which seems to be oversight on the part
4007 ;; of the upstream developers -- anything that links against libgnome,
4008 ;; must also link against libcanberra
4010 (list libcanberra libbonobo gconf gnome-vfs popt)) ;gnome-program.h includes popt.h
4011 (home-page "https://developer.gnome.org/libgnome/")
4012 (synopsis "Useful routines for building applications")
4013 (description "The libgnome library provides a number of useful routines
4014 for building modern applications, including session management, activation of
4015 files and URIs, and displaying help.")
4016 (license license:lgpl2.0+)))
4019 (define-public libart-lgpl
4021 (name "libart-lgpl")
4025 (uri (let ((upstream-name "libart_lgpl"))
4026 (string-append "mirror://gnome/sources/" upstream-name "/"
4027 (version-major+minor version) "/"
4028 upstream-name "-" version ".tar.bz2")))
4031 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
4032 (build-system gnu-build-system)
4035 (home-page "https://people.gnome.org/~mathieu/libart")
4036 (synopsis "2D drawing library")
4037 (description "Libart is a 2D drawing library intended as a
4038 high-quality vector-based 2D library with antialiasing and alpha composition.")
4039 (license license:lgpl2.0+)))
4043 (define-public libgnomecanvas
4045 (name "libgnomecanvas")
4049 (uri (string-append "mirror://gnome/sources/" name "/"
4050 (version-major+minor version) "/"
4051 name "-" version ".tar.gz"))
4054 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
4055 (build-system gnu-build-system)
4056 ;; Mentioned as Required in the .pc file
4057 (propagated-inputs (list libart-lgpl gtk+-2))
4060 `(,glib "bin") ; for glib-genmarshal, etc.
4062 (home-page "https://developer.gnome.org/libgnomecanvas/")
4063 (synopsis "Flexible widget for creating interactive structured graphics")
4064 (description "The GnomeCanvas widget provides a flexible widget for
4065 creating interactive structured graphics.")
4066 (license license:lgpl2.0+)))
4068 (define-public libgnomecanvasmm
4070 (name "libgnomecanvasmm")
4074 (uri (string-append "mirror://gnome/sources/" name "/"
4075 (version-major+minor version) "/"
4076 name "-" version ".tar.bz2"))
4079 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
4080 (build-system gnu-build-system)
4081 (propagated-inputs (list libgnomecanvas))
4083 (list gtkmm-2 pkg-config))
4084 (home-page "https://gtkmm.org")
4085 (synopsis "C++ bindings to the GNOME Canvas library")
4086 (description "C++ bindings to the GNOME Canvas library.")
4087 (license license:lgpl2.0+)))
4089 (define-public libgnomeui
4095 (uri (string-append "mirror://gnome/sources/" name "/"
4096 (version-major+minor version) "/"
4097 name "-" version ".tar.bz2"))
4098 (patches (search-patches "libgnomeui-utf8.patch"))
4101 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
4102 (build-system gnu-build-system)
4103 ;; Mentioned as Required in the .pc file
4104 (propagated-inputs (list libbonoboui libgnome libgnomecanvas
4106 (inputs (list libjpeg-turbo popt libbonobo libxml2 libglade))
4108 (list `(,glib "bin") ; for glib-mkenums, etc.
4109 intltool pkg-config))
4110 (home-page "https://developer.gnome.org/libgnomeui/")
4111 (synopsis "Additional widgets for applications")
4112 (description "The libgnomeui library provides additional widgets for
4113 applications. Many of the widgets from libgnomeui have already been
4115 (license license:lgpl2.0+)))
4117 (define-public libglade
4123 (uri (string-append "mirror://gnome/sources/" name "/"
4124 (version-major+minor version) "/"
4125 name "-" version ".tar.bz2"))
4128 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
4129 (build-system gnu-build-system)
4131 (list python)) ;; needed for the optional libglade-convert program
4133 (list gtk+-2 libxml2)) ; required by libglade-2.0.pc
4136 (home-page "https://developer.gnome.org/libglade")
4137 (synopsis "Load glade interfaces and access the glade built widgets")
4138 (description "Libglade is a library that provides interfaces for loading
4139 graphical interfaces described in glade files and for accessing the
4140 widgets built in the loading process.")
4141 (license license:gpl2+))) ; This is correct. GPL not LGPL
4143 (define-public libbonoboui
4145 (name "libbonoboui")
4149 (uri (string-append "mirror://gnome/sources/" name "/"
4150 (version-major+minor version) "/"
4151 name "-" version ".tar.bz2"))
4154 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4155 (build-system gnu-build-system)
4158 (modify-phases %standard-phases
4159 (add-before 'check 'start-xserver
4160 (lambda* (#:key inputs #:allow-other-keys)
4161 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4164 (setenv "HOME" (getcwd))
4165 (setenv "DISPLAY" disp)
4166 ;; There must be a running X server and make check doesn't start one.
4167 ;; Therefore we must do it.
4168 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4169 ;; Mentioned as Required by the .pc file
4170 (propagated-inputs (list libxml2))
4172 (list popt pangox-compat libgnome libgnomecanvas libglade))
4174 (list `(,glib "bin") ; for glib-genmarshal, etc.
4176 xorg-server-for-tests ; For running the tests
4178 (home-page "https://developer.gnome.org/libbonoboui/")
4179 (synopsis "Some user interface controls using Bonobo")
4180 (description "The Bonobo UI library provides a number of user interface
4181 controls using the Bonobo component framework.")
4182 (license license:lgpl2.0+)))
4184 (define-public libwnck
4190 (uri (string-append "mirror://gnome/sources/" name "/"
4191 (version-major version) "/"
4192 name "-" version ".tar.xz"))
4195 "04b63mh2i7kpq0iymx6fkyzdx8laymw3da2s0wsbwgzg2jhly4q3"))))
4196 (build-system meson-build-system)
4198 (list gettext-minimal
4199 `(,glib "bin") ;for glib-mkenums
4200 gobject-introspection ;for g-ir-scanner
4205 startup-notification))
4206 (home-page "https://gitlab.gnome.org/GNOME/libwnck/")
4207 (synopsis "Window Navigator Construction Kit")
4209 "Libwnck is the Window Navigator Construction Kit, a library for use in
4210 writing pagers, tasklists, and more generally applications that are dealing
4211 with window management. It tries hard to respect the Extended Window Manager
4212 Hints specification (EWMH).")
4213 (license license:lgpl2.0+)))
4215 ;; stable version for gtk2, required by xfwm4.
4216 (define-public libwnck-2
4217 (package (inherit libwnck)
4222 (uri (string-append "mirror://gnome/sources/" name "/"
4223 (version-major+minor version) "/"
4224 name "-" version ".tar.xz"))
4227 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4228 (build-system gnu-build-system)
4230 (list pkg-config intltool))
4232 (list gtk+-2 libxres startup-notification))))
4234 (define-public goffice
4241 (uri (string-append "mirror://gnome/sources/goffice/"
4242 (version-major+minor version) "/"
4243 "goffice-" version ".tar.xz"))
4245 (base32 "0344k0ffndd79as3c4nfq3mia7mrds6aq2jg76drdw3h8gcyzfb0"))))
4246 (build-system gnu-build-system)
4248 "doc")) ; 4.0 MiB of gtk-doc
4250 '(#:configure-flags (list (string-append "--with-html-dir="
4251 (assoc-ref %outputs "doc")
4252 "/share/gtk-doc/html"))))
4254 (list gtk+ libgsf librsvg libxslt libxml2))
4256 (list intltool `(,glib "bin") pkg-config))
4257 (home-page "https://developer.gnome.org/goffice/")
4258 (synopsis "Document-centric objects and utilities")
4259 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4261 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4263 (list license:gpl2 license:gpl3))))
4265 (define-public goffice-0.8
4266 (package (inherit goffice)
4270 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4271 (version-major+minor version) "/"
4272 (package-name goffice) "-" version ".tar.xz"))
4274 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4277 (modify-phases %standard-phases
4278 (add-after 'unpack 'fix-pcre-check
4280 ;; Only glib.h can be included directly. See
4281 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4282 (substitute* "configure"
4283 (("glib/gregex\\.h") "glib.h")) #t)))
4285 ,@(package-arguments goffice)))
4287 ;; libgoffice-0.8.pc mentions libgsf-1
4291 ,@(alist-delete "gtk" (package-inputs goffice))))))
4293 (define-public gnumeric
4299 (uri (string-append "mirror://gnome/sources/gnumeric/"
4300 (version-major+minor version) "/"
4301 "gnumeric-" version ".tar.xz"))
4304 "0fw201j0sks95wgvns3vydgprhwf6z4v4xb2a0ldi892k8277kvk"))))
4305 (build-system glib-or-gtk-build-system)
4307 `(;; The gnumeric developers don't worry much about failing tests.
4308 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4311 (modify-phases %standard-phases
4313 'configure 'pre-conf
4314 (lambda* (#:key outputs #:allow-other-keys)
4315 ;; Make install tries to write into the directory of goffice
4316 ;; I am informed that this only affects the possibility to embed a
4317 ;; spreadsheet inside an Abiword document. So presumably when we
4318 ;; package Abiword we'll have to refer it to this directory.
4319 (substitute* "configure"
4320 (("^GOFFICE_PLUGINS_DIR=.*")
4321 (string-append "GOFFICE_PLUGINS_DIR="
4322 (assoc-ref outputs "out")
4323 "/goffice/plugins"))))))))
4342 (home-page "http://www.gnumeric.org")
4343 (synopsis "Spreadsheet application")
4345 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4346 interoperable with other spreadsheet applications. It has a vast array of
4347 features beyond typical spreadsheet functionality, such as support for linear
4348 and non-linear solvers, statistical analysis, and telecommunication
4351 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4352 (list license:gpl2 license:gpl3))))
4354 (define-public drawing
4362 (url "https://github.com/maoschanz/drawing")
4364 (file-name (git-file-name name version))
4366 (base32 "12xb522i7dxshw2ig12ald750fynlxan1lwz6gsxfa9p4ap2qypn"))))
4367 (build-system meson-build-system)
4371 #:imported-modules `(,@%meson-build-system-modules
4372 (guix build python-build-system))
4373 #:modules '((guix build meson-build-system)
4374 ((guix build python-build-system) #:prefix python:)
4377 #~(modify-phases %standard-phases
4378 (add-after 'unpack 'disable-postinstall-script
4380 (setenv "DESTDIR" "/")))
4381 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4382 (lambda* (#:key inputs outputs #:allow-other-keys)
4383 (wrap-program (search-input-file outputs "bin/drawing")
4384 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
4385 ,(python:site-packages inputs outputs)))
4386 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
4388 (list desktop-file-utils
4391 gobject-introspection
4398 gsettings-desktop-schemas
4404 (home-page "https://maoschanz.github.io/drawing/")
4405 (synopsis "Basic image editor for GNOME")
4407 "Drawing is a basic image editor aiming at the GNOME desktop.")
4408 (license license:gpl3+)))
4410 (define-public seahorse
4417 (uri (string-append "mirror://gnome/sources/" name "/"
4418 (version-major version) "/" name "-"
4421 (base32 "0c6nafhn4gcjwd1xbs5bjq9785114fc0pbhxbwp7wynyz3msq365"))))
4422 (build-system meson-build-system)
4426 (modify-phases %standard-phases
4427 (add-after 'unpack 'skip-gtk-update-icon-cache
4428 ;; Don't create 'icon-theme.cache'.
4430 (substitute* "build-aux/meson_post_install.py"
4431 (("gtk-update-icon-cache") "true"))))
4432 (add-before 'check 'pre-check
4434 ;; Tests require a writable HOME.
4435 (setenv "HOME" (getcwd)))))))
4449 (list gettext-minimal
4456 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4457 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4459 "Seahorse is a GNOME application for managing encryption keys and
4460 passwords in the GNOME keyring.")
4461 (license license:gpl2+)))
4469 (uri (string-append "mirror://gnome/sources/vala/"
4470 (version-major+minor version) "/"
4471 "vala-" version ".tar.xz"))
4474 "048k5c6c6y7jyb961krnrb7m0kghr0yrkpnfx3j5ckbx652yfkc8"))))
4475 (build-system glib-or-gtk-build-system)
4477 '(#:configure-flags '("--enable-coverage")
4479 (modify-phases %standard-phases
4480 (add-after 'unpack 'patch-docbook-xml
4481 (lambda* (#:key inputs #:allow-other-keys)
4482 (with-directory-excursion "doc/manual"
4483 (substitute* '("manual.xml" "version.xml.in")
4484 (("http://www.oasis-open.org/docbook/xml/4.4/")
4485 (string-append (assoc-ref inputs "docbook-xml")
4486 "/xml/dtd/docbook/"))))))
4487 (add-before 'check 'pre-check
4490 (substitute* "valadoc/tests/libvaladoc\
4491 /tests-extra-environment.sh"
4492 (("export PKG_CONFIG_PATH=" m)
4493 (string-append m "$PKG_CONFIG_PATH:"))))))))
4496 ("dbus" ,dbus) ; for dbus tests
4497 ("docbook-xml" ,docbook-xml-4.4)
4498 ("docbook-xsl" ,docbook-xsl)
4500 ("gobject-introspection" ,gobject-introspection) ; for gir tests
4501 ("help2man" ,help2man)
4503 ("pkg-config" ,pkg-config)
4504 ("xsltproc" ,libxslt)))
4506 `(("glib" ,glib) ; required by libvala-0.40.pc
4507 ("libgvc" ,graphviz)))
4508 (home-page "https://wiki.gnome.org/Projects/Vala/")
4509 (synopsis "Compiler using the GObject type system")
4510 (description "Vala is a programming language using modern high level
4511 abstractions without imposing additional runtime requirements and without using
4512 a different ABI compared to applications and libraries written in C. Vala uses
4513 the GObject type system and has additional code generation routines that make
4514 targeting the GNOME stack simple.")
4515 (license license:lgpl2.1+)))
4517 (define-public vala-next
4523 (uri (string-append "mirror://gnome/sources/vala/"
4524 (version-major+minor version) "/"
4525 "vala-" version ".tar.xz"))
4528 "1gwrnr0d0bqkh6m4bgz39mh3pcswcj43hyijlwgwp2bvpwhn41p1"))))
4531 #:configure-flags #~(list "CC=gcc" "--enable-coverage")
4533 #~(modify-phases %standard-phases
4534 (add-after 'unpack 'use-gcc-by-default
4536 (substitute* "codegen/valaccodecompiler.c"
4537 (("cc_command = \"cc\"")
4538 "cc_command = \"gcc\""))))
4539 (add-after 'unpack 'patch-docbook-xml
4540 (lambda* (#:key inputs #:allow-other-keys)
4541 (with-directory-excursion "doc/manual"
4542 (substitute* '("manual.xml" "version.xml.in")
4543 (("http://www.oasis-open.org/docbook/xml/4.4/")
4544 (search-input-directory inputs "xml/dtd/docbook"))))))
4545 (add-before 'check 'pre-check
4547 (substitute* "valadoc/tests/libvaladoc/tests-extra-environment.sh"
4548 (("export PKG_CONFIG_PATH=" m)
4549 (string-append m "$PKG_CONFIG_PATH:")))))
4550 ;; Wrapping the binaries breaks vala's behavior adaptations based on
4551 ;; the file name of the program executed (vala: compile and execute,
4552 ;; valac: compile into a binary).
4553 (delete 'glib-or-gtk-wrap))))))
4555 ;;; An older variant kept to build libsoup-minimal-2.
4556 (define-public vala-0.52
4557 (package/inherit vala
4561 (uri (string-append "mirror://gnome/sources/vala/"
4562 (version-major+minor version) "/"
4563 "vala-" version ".tar.xz"))
4566 "12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"))))))
4574 (uri (string-append "mirror://gnome/sources/vte/"
4575 (version-major+minor version) "/"
4576 "vte-" version ".tar.xz"))
4579 "1v3i38yrjhc48nvs1g333s3q709mq824qq0k2fnsmrrwv15c3cg9"))))
4580 (build-system meson-build-system)
4582 (list #:configure-flags #~(list "-Dvapi=true"
4583 "-D_systemd=false")))
4588 gobject-introspection
4589 `(,glib "bin") ; for glib-genmarshal, etc.
4594 (list gtk+ ; required by vte-2.91.pc
4597 (home-page "https://www.gnome.org/")
4598 (synopsis "Virtual Terminal Emulator")
4600 "VTE is a library (libvte) implementing a terminal emulator widget for
4601 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4602 gnome-terminal, but can also be used to embed a console/terminal in games,
4603 editors, IDEs, etc.")
4604 (license license:lgpl2.1+)))
4606 (define-public vte-ng
4611 (home-page "https://github.com/thestinger/vte-ng")
4614 (uri (git-reference (url home-page) (commit version)))
4615 (file-name (git-file-name name version))
4618 "03ffhjc0fq9p25y1b2c0a51jn7y2bc0acxsgymhcb3pyijc8ykjm"))))
4619 (build-system meson-build-system)
4621 (list #:configure-flags #~(list "-Ddocs=false")))
4622 (synopsis "Enhanced VTE terminal widget")
4624 "VTE is a library (libvte) implementing a terminal emulator widget for
4625 GTK+, this fork provides additional functions exposed for keyboard text
4626 selection and URL hints.")))
4628 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4629 (define-public vte/gtk+-2
4630 (package (inherit vte)
4635 (uri (string-append "mirror://gnome/sources/" name "/"
4636 (version-major+minor version) "/"
4637 name "-" version ".tar.xz"))
4640 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4641 (patches (search-patches
4642 "vte-CVE-2012-2738-pt1.patch"
4643 "vte-CVE-2012-2738-pt2.patch"))))
4644 (build-system gnu-build-system)
4646 '(#:configure-flags '("--disable-python")))
4648 (list pkg-config intltool
4649 `(,glib "bin"))) ; for glib-genmarshal, etc.
4651 (list gtk+-2 ; required by libvte.pc
4652 ncurses)))) ; required by libvte.la
4654 (define-public vinagre
4660 (uri (string-append "mirror://gnome/sources/" name "/"
4661 (version-major+minor version) "/"
4662 name "-" version ".tar.xz"))
4663 (patches (search-patches "vinagre-newer-freerdp.patch"
4664 "vinagre-newer-rdp-parameters.patch"))
4667 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4668 (build-system glib-or-gtk-build-system)
4670 ;; Disable -Werror and such, to avoid build failures on compilation
4672 '(#:configure-flags '("--enable-compile-warnings=minimum"
4673 "CFLAGS=-O2 -g -fcommon")
4675 (modify-phases %standard-phases
4676 (add-before 'install 'skip-gtk-update-icon-cache
4678 ;; Don't create 'icon-theme.cache'
4679 (substitute* (find-files "." "^Makefile$")
4680 (("gtk-update-icon-cache") (which "true")))
4682 (add-after 'unpack 'patch-configure
4684 (substitute* "configure"
4685 (("freerdp") "freerdp2"))
4688 `(("pkg-config" ,pkg-config)
4689 ("intltool" ,intltool)
4690 ("itstool" ,itstool)
4691 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4702 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4703 (synopsis "Remote desktop viewer for GNOME")
4704 (description "Vinagre is a remote display client supporting the VNC, SPICE
4705 and RDP protocols.")
4706 (license license:gpl3+)))
4708 (define-public dconf
4715 "mirror://gnome/sources/" name "/"
4716 (version-major+minor version) "/"
4717 name "-" version ".tar.xz"))
4720 "0cs5nayg080y8pb9b7qccm1ni8wkicdmqp1jsgc22110r6j24zyg"))))
4721 (build-system meson-build-system)
4723 ;; In Requires of dconf.pc.
4728 `(("bash-completion" ,bash-completion)
4729 ("libxslt" ,libxslt) ;for xsltproc
4730 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4731 ("docbook-xml" ,docbook-xml-4.2)
4732 ("docbook-xsl" ,docbook-xsl)
4733 ("glib:bin" ,glib "bin")
4734 ("gtk-doc" ,gtk-doc/stable)
4735 ("pkg-config" ,pkg-config)
4740 #:configure-flags '("-Dgtk_doc=true")
4741 #:phases (modify-phases %standard-phases
4742 (add-after 'unpack 'increase-test-timeout
4744 ;; On big-memory systems, the engine test may take
4745 ;; much longer than the default of 30 seconds.
4746 (substitute* "tests/meson.build"
4747 (("test\\(unit_test\\[0\\], exe" all)
4748 (string-append all ", timeout: 300"))))))))
4749 (home-page "https://developer.gnome.org/dconf/")
4750 (synopsis "Low-level GNOME configuration system")
4751 (description "Dconf is a low-level configuration system. Its main purpose
4752 is to provide a backend to GSettings on platforms that don't already have
4753 configuration storage systems.")
4754 (license license:lgpl2.1+)))
4756 (define-public json-glib-minimal
4758 (name "json-glib-minimal")
4762 (uri (string-append "mirror://gnome/sources/json-glib/"
4763 (version-major+minor version)
4764 "/json-glib-" version ".tar.xz"))
4767 "092g2dyy1hhl0ix9kp33wcab0pg1qicnsv0cj5ms9g9qs336cgd3"))))
4768 (build-system meson-build-system)
4770 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
4772 `(("gettext" ,gettext-minimal)
4773 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4774 ("pkg-config" ,pkg-config)))
4776 (list bash-minimal))
4778 (list glib)) ;according to json-glib-1.0.pc
4779 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4780 (synopsis "Glib and GObject implementation of JSON")
4781 (description "JSON-GLib is a library providing serialization and
4782 described by RFC 4627. It implements a full JSON parser and generator using
4783 GLib and GObject, and integrates JSON with GLib data types.")
4784 (license license:lgpl2.1+)))
4786 (define-public json-glib
4787 (package/inherit json-glib-minimal
4789 (outputs (cons "doc" (package-outputs json-glib-minimal)))
4791 (substitute-keyword-arguments (package-arguments json-glib-minimal)
4792 ((#:configure-flags _)
4793 `(list "-Ddocs=true"
4795 ,@(if (%current-target-system)
4796 ;; If enabled, gtkdoc-scangobj will try to execute a
4797 ;; cross-compiled binary.
4798 '("-Dgtk_doc=disabled"
4799 ;; Trying to build introspection data when cross-compiling
4800 ;; causes errors during linking.
4801 "-Dintrospection=disabled")
4803 ((#:phases phases '%standard-phases)
4804 `(modify-phases ,phases
4805 (add-after 'unpack 'patch-docbook
4806 (lambda* (#:key native-inputs inputs #:allow-other-keys)
4807 (with-directory-excursion "doc"
4808 (substitute* (find-files "." "\\.xml$")
4809 (("http://www.oasis-open.org/docbook/xml/4\\.3/")
4810 (string-append (assoc-ref (or native-inputs inputs)
4812 "/xml/dtd/docbook/")))
4813 (substitute* "meson.build"
4814 (("http://docbook.sourceforge.net/release/xsl/current/")
4815 (string-append (assoc-ref (or native-inputs inputs)
4817 "/xml/xsl/docbook-xsl-1.79.2/"))))))
4818 ;; When cross-compiling, there are no docs to move.
4819 ,(if (%current-target-system)
4820 '(add-after 'install 'stub-docs
4821 (lambda* (#:key outputs #:allow-other-keys)
4822 ;; The daemon doesn't like empty output paths.
4823 (mkdir (assoc-ref outputs "doc"))))
4824 '(add-after 'install 'move-docs
4825 (lambda* (#:key outputs #:allow-other-keys)
4826 (let* ((out (assoc-ref outputs "out"))
4827 (doc (assoc-ref outputs "doc")))
4828 (mkdir-p (string-append doc "/share"))
4830 (string-append out "/share/gtk-doc")
4831 (string-append doc "/share/gtk-doc"))))))))))
4834 `(("docbook-xml" ,docbook-xml-4.3)
4835 ("docbook-xsl" ,docbook-xsl)
4836 ("gobject-introspection" ,gobject-introspection)
4837 ("gtk-doc" ,gtk-doc)
4838 ("xsltproc" ,libxslt))
4839 (package-native-inputs json-glib-minimal)))))
4841 (define-public libxklavier
4843 (name "libxklavier")
4846 ;; Note: There's no tarball at ftp.gnome.org for this version.
4849 (url "https://anongit.freedesktop.org/git/libxklavier")
4850 (commit (string-append "libxklavier-" version))))
4853 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4854 (file-name (git-file-name name version))))
4855 (build-system gnu-build-system)
4858 (list (string-append "--with-xkb-base="
4859 (assoc-ref %build-inputs "xkeyboard-config")
4861 "--disable-xmodmap-support")))
4863 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4864 ("gobject-introspection" ,gobject-introspection)
4865 ("pkg-config" ,pkg-config)
4866 ("gtk-doc" ,gtk-doc/stable)
4867 ("intltool" ,intltool)
4869 ("autoconf" ,autoconf)
4870 ("automake" ,automake)
4871 ("libtool" ,libtool)))
4873 ;; Required by libxklavier.pc.
4874 (list glib libxml2))
4876 (list iso-codes libxi libxkbfile xkbcomp xkeyboard-config))
4877 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4878 (synopsis "High-level API for X Keyboard Extension")
4880 "LibXklavier is a library providing high-level API for X Keyboard
4881 Extension known as XKB. This library is intended to support XFree86 and other
4882 commercial X servers. It is useful for creating XKB-related software (layout
4884 (license license:lgpl2.0+)))
4886 (define-public glib-networking
4888 (name "glib-networking")
4892 (uri (string-append "mirror://gnome/sources/glib-networking/"
4893 (version-major+minor version) "/"
4894 "glib-networking-" version ".tar.xz"))
4897 "0dbg1na239mbavn4hknkax5sns9q2dbdnqw9wcpmhv58mzkhid36"))
4899 (search-patches "glib-networking-gnutls-binding.patch"))))
4900 (build-system meson-build-system)
4905 #~(modify-phases %standard-phases
4906 (add-after 'unpack 'work-around-32-bit-time-t
4908 (invoke "patch" "--force" "-p1" "-i"
4911 "glib-networking-32-bit-time.patch")))))))))
4913 `(("pkg-config" ,pkg-config)
4914 ("gettext" ,gettext-minimal)))
4916 (list glib gnutls gsettings-desktop-schemas libproxy))
4917 (home-page "https://wiki.gnome.org/Projects/GLib")
4918 (synopsis "Network extensions for GLib")
4920 "Glib-networking contains the implementations of certain GLib networking
4921 features that cannot be implemented directly in GLib itself because of their
4922 dependencies. Currently it contains GnuTLS and OpenSSL-based implementations of
4923 GTlsBackend, a libproxy-based implementation of GProxyResolver,
4924 GLibproxyResolver, and a GNOME GProxyResolver that uses the proxy information
4925 from the GSettings schemas in gsettings-desktop-schemas.")
4926 (license license:lgpl2.1+)))
4934 (uri (string-append "mirror://gnome/sources/rest/"
4935 (version-major+minor version) "/"
4936 name "-" version ".tar.xz"))
4939 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4940 (build-system gnu-build-system)
4942 '(#:tests? #f ; tests require internet connection
4944 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4946 `(("glib-mkenums" ,glib "bin")
4947 ("gobject-introspection" ,gobject-introspection)
4948 ("pkg-config" ,pkg-config)))
4950 ;; rest-0.7.pc refers to all these.
4952 ("libsoup" ,libsoup-minimal-2)
4953 ("libxml2" ,libxml2)))
4954 (home-page "https://www.gtk.org/")
4955 (synopsis "RESTful web api query library")
4957 "This library was designed to make it easier to access web services that
4958 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4959 libxml to ease remote use of the RESTful API.")
4960 (license license:lgpl2.1+)))
4962 (define-public rest-next
4969 (uri (string-append "mirror://gnome/sources/rest/"
4970 (version-major+minor version) "/"
4971 name "-" version ".tar.xz"))
4974 "1qy2291d2vprdbbxmf0sa98izk09nl3znzzv7lckwf6f1v0sarlj"))))
4975 (build-system meson-build-system)
4976 (arguments (substitute-keyword-arguments (package-arguments rest)
4977 ((#:tests? _ #f) #t)
4978 ((#:configure-flags _)
4980 ((#:phases phases '%standard-phases)
4981 #~(modify-phases #$phases
4982 (add-after 'unpack 'disable-problematic-tests
4983 ;; These tests require networking.
4985 (substitute* "tests/meson.build"
4986 ((".*'flickr',.*") "")
4987 ((".*'lastfm',.*") ""))))
4988 (add-before 'check 'prepare-for-tests
4990 (setenv "HOME" "/tmp")))))))
4992 (modify-inputs (package-native-inputs rest)
4993 (append gettext-minimal
4995 gsettings-desktop-schemas)))
4996 (inputs (list gtksourceview json-glib libadwaita))
4998 (modify-inputs (package-propagated-inputs rest)
4999 (replace "libsoup" libsoup)
5000 (append json-glib)))))
5002 (define-public libshumate
5005 (version "1.0.0.beta") ;no stable release yet
5008 (uri (string-append "mirror://gnome/sources/" name "/"
5009 (version-major+minor version) "/"
5010 name "-" version ".tar.xz"))
5013 "13xrc07fm0967gzbqab8k0l3dnknh00p0a6f2dm7k0aa56q41sda"))))
5014 (build-system meson-build-system)
5015 (arguments (list #:configure-flags #~(list "-Dlibsoup3=true")
5016 #:phases #~(modify-phases %standard-phases
5017 (add-before 'check 'pre-check
5019 ;; The 'coordinate' test requires a
5021 (setenv "HOME" "/tmp")
5023 ;; Tests require a running X server.
5024 (system "Xvfb :1 &")
5025 (setenv "DISPLAY" ":1"))))))
5029 gobject-introspection
5031 xorg-server-for-tests))
5033 ;; All the libraries are listed as "Requires' in the .pc file.
5039 (home-page "https://wiki.gnome.org/Projects/libshumate")
5040 (synopsis "GtkWidget C library for displaying maps")
5041 (description "@code{libshumate} is a C library providing a
5042 @code{GtkWidget} to display maps. It supports numerous free map sources such
5043 as OpenStreetMap, OpenCycleMap, OpenAerialMap and Maps.")
5044 (license license:lgpl2.1+)))
5046 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
5047 (define-public libsoup-minimal
5049 (name "libsoup-minimal")
5053 (uri (string-append "mirror://gnome/sources/libsoup/"
5054 (version-major+minor version) "/"
5055 "libsoup-" version ".tar.xz"))
5058 "0ysnvvfd2f6w2z6g31spqqb8wgyamixc7mryzbbpyw0z15g8plsv"))))
5059 (build-system meson-build-system)
5061 `(#:configure-flags '("-Dgtk_doc=false")
5063 (modify-phases %standard-phases
5064 (add-after 'unpack 'adjust-tests
5066 ;; This test fails due to missing /etc/nsswitch.conf
5067 ;; in the build environment.
5068 (substitute* "tests/socket-test.c"
5069 ((".*/sockets/unconnected.*") ""))
5071 ;; These fail because "subdomain.localhost" does not resolve in
5072 ;; the build environment. Moreover, the hsts-test suite fails on
5073 ;; i686-linux because of errors from `session_get_uri' like
5074 ;; "Unexpected status 200 OK (expected 301 Moved Permanently)"
5075 ;; (see: https://gitlab.gnome.org/GNOME/libsoup/-/issues/239).
5076 (substitute* "tests/meson.build"
5077 ((".*'name': 'hsts'.*") ""))
5078 (substitute* "tests/hsts-db-test.c"
5079 ((".*/hsts-db/subdomains.*") "")))))))
5081 (list `(,glib "bin") ;for glib-mkenums
5082 gobject-introspection
5088 gnutls ;for 'certtool'
5091 ;; libsoup-3.0.pc refers to all of these (except where otherwise noted)
5094 glib-networking ; for GIO runtime modules
5096 nghttp2 ;for pkg-config
5102 (list mit-krb5 samba/fixed)) ; For ntlm_auth support
5103 (home-page "https://wiki.gnome.org/Projects/libsoup")
5104 (synopsis "GLib-based HTTP Library")
5106 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
5107 and the GLib main loop, to integrate well with GNOME applications.")
5108 (license license:lgpl2.0+)))
5110 ;;; An older variant kept to build the 'rest' package.
5111 (define-public libsoup-minimal-2
5112 (package/inherit libsoup-minimal
5116 (uri (string-append "mirror://gnome/sources/libsoup/"
5117 (version-major+minor version) "/"
5118 "libsoup-" version ".tar.xz"))
5121 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
5123 (substitute-keyword-arguments (package-arguments libsoup-minimal)
5125 `(modify-phases ,phases
5126 (add-after 'unpack 'disable-failing-tests
5128 ;; Disable the SSL test, failing since 2.68 and resolved in
5130 (substitute* "tests/meson.build"
5131 (("[ \t]*\\['ssl', true, \\[\\]\\],") ""))))))))
5133 (modify-inputs (package-native-inputs libsoup-minimal)
5134 (replace "vala" vala-0.52)))))
5136 (define-public libsoup
5137 (package/inherit libsoup-minimal
5142 (uri (string-append "mirror://gnome/sources/libsoup/"
5143 (version-major+minor version) "/"
5144 "libsoup-" version ".tar.xz"))
5147 "0m5mf2ahb462jzr40d916swv3040h9500jcmr87vnilpr4zrj584"))))
5148 (outputs (cons "doc" (package-outputs libsoup-minimal)))
5150 (substitute-keyword-arguments (package-arguments libsoup-minimal)
5151 ((#:configure-flags configure-flags)
5152 #~(delete "-Dgtk_doc=false" #$configure-flags))
5154 #~(modify-phases #$phases
5155 (replace 'adjust-tests
5157 ;; This test fails due to missing /etc/nsswitch.conf
5158 ;; in the build environment.
5159 (substitute* "tests/unix-socket-test.c"
5160 ((".*/sockets/unconnected.*") ""))
5162 ;; These fail because "subdomain.localhost" does not resolve in
5163 ;; the build environment. Moreover, the hsts-test suite fails on
5164 ;; i686-linux because of errors from `session_get_uri' like
5165 ;; "Unexpected status 200 OK (expected 301 Moved Permanently)"
5166 ;; (see: https://gitlab.gnome.org/GNOME/libsoup/-/issues/239).
5167 (substitute* "tests/meson.build"
5168 ((".*'name': 'hsts'.*") ""))
5169 (substitute* "tests/hsts-db-test.c"
5170 ((".*/hsts-db/subdomains.*") ""))))
5171 (add-after 'install 'move-doc
5173 (mkdir-p (string-append #$output:doc "/share"))
5174 (rename-file (string-append #$output "/share/doc")
5175 (string-append #$output:doc "/share/doc"))))))))
5176 (native-inputs (modify-inputs (package-native-inputs libsoup-minimal)
5177 (prepend gi-docgen)))))
5179 (define-public libsecret
5186 "mirror://gnome/sources/libsecret/"
5187 (version-major+minor version) "/"
5188 "libsecret-" version ".tar.xz"))
5191 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
5192 (build-system gnu-build-system)
5193 (outputs '("out" "doc"))
5195 `(#:tests? #f ; FIXME: Testing hangs.
5197 (list (string-append "--with-html-dir="
5198 (assoc-ref %outputs "doc")
5199 "/share/gtk-doc/html"))))
5201 `(("gettext" ,gettext-minimal)
5202 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5203 ("gobject-introspection" ,gobject-introspection)
5204 ("pkg-config" ,pkg-config)
5206 ("xsltproc" ,libxslt)))
5208 (list glib)) ; required by libsecret-1.pc
5210 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
5211 ;; doesn't seem to affect the build result.
5212 (list docbook-xsl libgcrypt libxml2)) ; for XML_CATALOG_FILES
5213 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
5214 (synopsis "GObject bindings for \"Secret Service\" API")
5216 "Libsecret is a GObject based library for storing and retrieving passwords
5217 and other secrets. It communicates with the \"Secret Service\" using DBus.")
5218 (license license:lgpl2.1+)))
5220 (define-public five-or-more
5222 (name "five-or-more")
5227 (uri (string-append "mirror://gnome/sources/five-or-more/"
5228 (version-major+minor version) "/"
5229 "five-or-more-" version ".tar.xz"))
5231 (base32 "1x4ys18rn37hsavivh532py2avj9686aycnn8ys29cyyxwpdf41d"))))
5232 (build-system meson-build-system)
5236 (modify-phases %standard-phases
5237 (add-after 'unpack 'skip-gtk-update-icon-cache
5239 (substitute* "meson_post_install.py"
5240 (("gtk-update-icon-cache") (which "true"))))))))
5242 (list appstream-glib
5244 `(,glib "bin") ; for glib-compile-resources
5250 (list gtk+ libgnome-games-support librsvg libxml2))
5251 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5252 (synopsis "Logic puzzle game")
5253 (description "Five or More is a game where you try to align
5254 five or more objects of the same color and shape causing them to disappear.
5255 On every turn more objects will appear, until the board is full.
5256 Try to last as long as possible.")
5257 (license license:gpl2+)))
5259 (define-public gi-docgen
5265 (uri (pypi-uri "gi-docgen" version))
5268 "1v2wspm2ld27lq1n5v5pzrmkhchfa7p7ahp8rmjm4zcdyagqf7gr"))))
5269 (build-system python-build-system)
5270 (propagated-inputs (list python-jinja2
5276 (home-page "https://gitlab.gnome.org/GNOME/gi-docgen")
5277 (synopsis "Documentation tool for GObject-based libraries")
5278 (description "GI-DocGen is a document generator for GObject-based
5279 libraries. GObject is the base type system of the GNOME project. GI-Docgen
5280 reuses the introspection data generated by GObject-based libraries to generate
5281 the API reference of these libraries, as well as other ancillary
5283 (license license:gpl3+)))
5285 (define-public gnome-mines
5287 (name "gnome-mines")
5292 (uri (string-append "mirror://gnome/sources/" name "/"
5293 (version-major version) "/"
5294 name "-" version ".tar.xz"))
5296 (base32 "0whjwdxhyw5bvibd9qvpm2yc5g7yhy8h3rn027kv5cqwyyryj0im"))))
5297 (build-system meson-build-system)
5301 (modify-phases %standard-phases
5302 (add-after 'unpack 'skip-gtk-update-icon-cache
5304 (substitute* "build-aux/meson_post_install.py"
5305 (("gtk-update-icon-cache") (which "true"))))))))
5307 (list appstream-glib
5310 `(,glib "bin") ; for glib-compile-resources
5313 python-wrapper ; for meson_post_install.py
5317 libgnome-games-support-1
5320 (home-page "https://wiki.gnome.org/Apps/Mines")
5321 (synopsis "Minesweeper game")
5323 "Mines (previously gnomine) is a puzzle game where you locate mines
5324 floating in an ocean using only your brain and a little bit of luck.")
5325 (license license:gpl2+)))
5327 (define-public gnome-multi-writer
5329 (name "gnome-multi-writer")
5334 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5335 (version-major+minor version) "/"
5336 "gnome-multi-writer-" version ".tar.xz"))
5339 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5340 (build-system meson-build-system)
5344 (modify-phases %standard-phases
5345 (add-after 'unpack 'skip-post-install
5347 (substitute* "meson.build"
5348 (("meson.add_install_script" &) (string-append "# " &)))
5351 `(("glib:bin" ,glib "bin")
5352 ("pkg-config" ,pkg-config)))
5361 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5362 (synopsis "Write to multiple USB devices at once")
5364 "MultiWriter can be used to write an ISO file to multiple USB devices at
5366 (license license:gpl2+)))
5368 (define-public gnome-sudoku
5370 (name "gnome-sudoku")
5375 (uri (string-append "mirror://gnome/sources/" name "/"
5376 (version-major version) "/"
5377 name "-" version ".tar.xz"))
5380 "13y2qphrj99b0lc7bh71is1f6i0jvyw8adfg8lv48sq2p3fv8bhx"))))
5381 (build-system meson-build-system)
5385 (modify-phases %standard-phases
5386 (add-after 'unpack 'skip-gtk-update-icon-cache
5388 (substitute* "build-aux/post_install.py"
5389 (("gtk-update-icon-cache") (which "true"))))))))
5391 (list desktop-file-utils
5393 `(,glib "bin") ;for glib-compile-resources
5397 python ;for 'build-aux/post_install.py'
5405 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5406 (synopsis "Japanese logic game")
5408 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5409 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5410 possible while still providing features that make playing difficult Sudoku
5412 (license license:gpl2+)))
5414 (define-public gnome-console
5416 (name "gnome-console")
5420 (uri (string-append "mirror://gnome/sources/gnome-console/"
5421 (version-major version) "/"
5422 "gnome-console-" version ".tar.xz"))
5425 "0jbh8g3hmc35fy5fbscqf0831xpg1kv66ci9hykpbia4hz0yc9kx"))))
5426 (build-system meson-build-system)
5428 (list #:glib-or-gtk? #t
5429 #:configure-flags #~(list "-Dtests=true"
5430 "-Dnautilus=enabled")
5431 #:phases #~(modify-phases %standard-phases
5432 (add-after 'unpack 'patch-nautilus-extension-path
5434 (substitute* "nautilus/meson.build"
5435 (("'extensions-[0-9.]*'")
5436 "'site-extensions'")))))))
5437 (native-inputs (list `(,glib "bin")
5442 desktop-file-utils))
5448 gsettings-desktop-schemas))
5449 (home-page "https://gitlab.gnome.org/GNOME/console")
5450 (synopsis "GNOME terminal emulator")
5452 "Console is a simple terminal emulator for GNOME desktop")
5453 (license license:gpl3+)))
5455 (define-public gnome-terminal
5457 (name "gnome-terminal")
5462 (uri (string-append "mirror://gnome/sources/" name "/"
5463 (version-major+minor version) "/"
5464 name "-" version ".tar.xz"))
5467 "0yykb64yi1h0g65q890jf5awjr2sdvfda4xbxnmajcgj3zp20vzv"))))
5468 (build-system meson-build-system)
5473 #~(modify-phases %standard-phases
5474 (add-after 'unpack 'patch-build-system
5475 ;; The build system looks for a dbus file from gnome-shell in the
5476 ;; installation tree of teh package it is configuring...
5477 (lambda* (#:key inputs #:allow-other-keys)
5478 (substitute* "src/meson.build"
5479 (("gt_prefix.*'org.gnome.ShellSearchProvider2.xml'")
5480 (format #f "'~a'" (search-input-file
5481 inputs "share/dbus-1/interfaces/\
5482 org.gnome.ShellSearchProvider2.xml"))))))
5483 (add-before 'install 'disable-gtk-update-icon-cache
5485 (setenv "DESTDIR" "/"))))))
5487 (list desktop-file-utils
5501 gsettings-desktop-schemas
5503 nautilus ;for extension
5504 `(,util-linux "lib")
5507 (home-page "https://wiki.gnome.org/Apps/Terminal")
5508 (synopsis "Terminal emulator")
5510 "GNOME Terminal is a terminal emulator application for accessing a
5511 UNIX shell environment which can be used to run programs available on
5514 It supports several profiles, multiple tabs and implements several
5515 keyboard shortcuts.")
5516 (license license:gpl3+)))
5518 (define-public gnome-text-editor
5520 (name "gnome-text-editor")
5524 (uri (string-append "mirror://gnome/sources/gnome-text-editor/"
5525 (version-major version) "/"
5526 "gnome-text-editor-" version ".tar.xz"))
5529 "1nn53iv2a82kkqkg5jy0bqh2b2wzg7g4a6w8q3qsis5wvj64lvg5"))))
5530 (build-system meson-build-system)
5532 (list #:glib-or-gtk? #t))
5533 (native-inputs (list pkg-config
5541 (inputs (list gtk gtksourceview libadwaita enchant))
5542 (home-page "https://gitlab.gnome.org/GNOME/gnome-text-editor")
5543 (synopsis "GNOME text editor")
5545 "GNOME Text Editor is a simple text editor that focuses on session
5546 management. It keeps track of changes and state even if you quit the
5547 application. You can come back to your work even if you've never saved it to a
5549 (license license:gpl3+)))
5551 (define-public colord-minimal
5553 (name "colord-minimal")
5558 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5559 "colord-" version ".tar.xz"))
5561 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5562 (build-system meson-build-system)
5564 '( ;; FIXME: One test fails:
5565 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5566 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5567 ;; application/x-zerosize
5570 #:configure-flags (list "-Dargyllcms_sensor=false" ;requires spotread
5571 "-Dbash_completion=false"
5572 "-Ddaemon_user=colord"
5574 "-Dlocalstatedir=/var"
5577 "-Dsystemd=false") ;no systemd
5579 (modify-phases %standard-phases
5580 (add-before 'configure 'patch-build-system
5581 (lambda* (#:key outputs #:allow-other-keys)
5582 (substitute* "rules/meson.build"
5583 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5584 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))))
5585 (add-before 'configure 'set-sqlite3-file-name
5586 (lambda* (#:key inputs #:allow-other-keys)
5587 ;; "colormgr dump" works by invoking the "sqlite3" command.
5588 ;; Record its absolute file name.
5589 (let ((sqlite (assoc-ref inputs "sqlite")))
5590 (substitute* "client/cd-util.c"
5592 (string-append "\"" sqlite "/bin/sqlite3\"")))))))))
5594 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5595 ("gettext" ,gettext-minimal)
5596 ("pkg-config" ,pkg-config)
5599 ;; colord.pc refers to all these.
5604 `(("dbus-glib" ,dbus-glib)
5605 ("gobject-introspection" ,gobject-introspection)
5606 ("gusb" ,gusb-minimal)
5607 ("libgudev" ,libgudev)
5610 ("python" ,python-wrapper)
5612 ("sane-backends" ,sane-backends)))
5613 (home-page "https://www.freedesktop.org/software/colord/")
5614 (synopsis "Color management service")
5615 (description "Colord is a system service that makes it easy to manage,
5616 install and generate color profiles to accurately color manage input and
5618 (license license:gpl2+)))
5620 (define-public colord
5621 (package/inherit colord-minimal
5627 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5628 "colord-" version ".tar.xz"))
5630 (base32 "0vwfx06k1in8hci3kdxpc3c0bh81f1vl5bp7favd3rdz4wd661vl"))))
5632 (substitute-keyword-arguments (package-arguments colord-minimal)
5633 ((#:configure-flags flags)
5635 (use-modules (srfi srfi-1))
5636 (append '("-Dbash_completion=true"
5640 (fold delete #$flags '("-Dbash_completion=false"
5644 #~(modify-phases #$phases
5645 (add-after 'unpack 'fix-bash-completion-dir
5647 (substitute* "data/meson.build"
5648 (("bash_completion.get_pkgconfig_variable\
5649 \\('completionsdir'\\)")
5650 (string-append "'" #$output
5651 "/etc/bash_completion.d'")))))))))
5653 (modify-inputs (package-native-inputs colord-minimal)
5654 (append bash-completion
5657 libxml2 ;for XML_CATALOG_FILES
5659 vala))))) ;for VAPI, needed by simple-scan
5661 (define-public geoclue
5669 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5670 version "/geoclue-" version ".tar.bz2"))
5672 (base32 "1854i8lih1jkks5w38xv8k5gs7s8629qjg3cg96ji0ffk35yzjfd"))
5673 (patches (search-patches "geoclue-config.patch"))))
5674 (build-system meson-build-system)
5676 '(#:configure-flags (list "-Ddbus-srv-user=geoclue")))
5679 gobject-introspection
5691 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5692 (synopsis "Geolocation service")
5693 (description "Geoclue is a D-Bus service that provides location
5694 information. The primary goal of the Geoclue project is to make creating
5695 location-aware applications as simple as possible, while the secondary goal is
5696 to ensure that no application can access location information without explicit
5697 permission from user.")
5698 (license license:gpl2+)))
5700 (define-public geocode-glib
5702 (name "geocode-glib")
5706 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5707 (version-major+minor version) "/"
5708 "geocode-glib-" version ".tar.xz"))
5711 "1aipd82qk404qy88pyfgplzgi83db4hi51vkl54h8isqs4k6i6id"))))
5712 (build-system meson-build-system)
5715 #:configure-flags #~(list "-Dsoup2=false")
5717 #~(modify-phases %standard-phases
5718 ;; The tests require a bunch of locales.
5719 (add-before 'check 'set-locales
5720 (lambda* (#:key inputs #:allow-other-keys)
5721 (setenv "GUIX_LOCPATH"
5722 (search-input-directory inputs "lib/locale")))))))
5724 (list `(,glib "bin") ;for glib-mkenums
5725 glibc-locales ;for tests
5727 gobject-introspection
5732 ;; geocode-glib-2.0.pc refers to GIO.
5736 (home-page "https://github.com/GNOME/geocode-glib/")
5737 (synopsis "Geocoding and reverse-geocoding library")
5739 "geocode-glib is a convenience library for geocoding (finding longitude,
5740 and latitude from an address) and reverse geocoding (finding an address from
5741 coordinates) using the Nominatim service. geocode-glib caches requests for
5742 faster results and to avoid unnecessary server load.")
5743 (license license:lgpl2.0+)))
5745 (define-public geocode-glib-with-libsoup2
5747 (inherit geocode-glib)
5748 (name "geocode-glib-with-libsoup2")
5749 (arguments (substitute-keyword-arguments (package-arguments geocode-glib)
5750 ((#:configure-flags flags ''())
5751 #~(delete "-Dsoup2=false" #$flags))))
5752 (inputs (modify-inputs (package-inputs geocode-glib)
5753 (replace "libsoup" libsoup-minimal-2)))))
5755 (define-public upower
5763 (url "https://gitlab.freedesktop.org/upower/upower")
5764 (commit (string-append "v" version))))
5765 (file-name (git-file-name name version))
5767 (base32 "1g17rm91p8vfpjyb0k2shylrs55nccn3fa890vlk4n9s71sghbzq"))
5768 (modules '((guix build utils)))
5770 ;; Upstream commit <https://cgit.freedesktop.org/upower/commit/
5771 ;; ?id=18457c99b68786cd729b315723d680e6860d9cfa> moved
5772 ;; 'dbus-1/system.d' from etc/ to share/. However,
5773 ;; 'dbus-configuration-directory' in (gnu services dbus) expects it in
5774 ;; etc/. Thus, move it back to its previous location.
5775 #~(substitute* "src/meson.build"
5776 (("dbusdir / 'system.d'")
5777 "get_option('sysconfdir') / 'dbus-1/system.d'")
5778 ;; Avoid writing to /var during the build, this is
5779 ;; not possible in Guix!
5780 (("^install_subdir\\('does-not-exist'.*$") "")))))
5781 (build-system meson-build-system)
5786 #~(list "-Dsystemdsystemunitdir=no"
5787 ;; If not specified, udev will try putting history information
5789 "-Dhistorydir=/var/lib/upower"
5790 (string-append "-Dudevrulesdir=" #$output "/bin/udev/rules.d"))))
5792 (list `(,glib "bin") ; for gdbus-codegen
5793 gobject-introspection
5806 libxslt ; for 'xsltproc'
5807 libxml2)) ; for 'XML_CATALOG_FILES'
5809 (list dbus-glib libgudev libusb))
5811 ;; In Requires of upower-glib.pc.
5813 (home-page "https://upower.freedesktop.org/")
5814 (synopsis "System daemon for managing power devices")
5816 "UPower is an abstraction for enumerating power devices,
5817 listening to device events and querying history and statistics. Any
5818 application or service on the system can access the org.freedesktop.UPower
5819 service via the system message bus.")
5820 (license license:gpl2+)
5821 ;; Old versions of upower are tagged as UPOWER_0_99_13, which confuses
5822 ;; the 'generic-git' updater. Give it a little help.
5823 (properties '((release-tag-prefix . "v")
5824 (release-tag-version-delimiter . ".")))))
5826 (define-public libgweather
5828 (name "libgweather")
5832 (uri (string-append "mirror://gnome/sources/" name "/"
5833 (version-major version) "/"
5834 name "-" version ".tar.xz"))
5837 "1rkf4yv43qcahyx7bismdv6z2vh5azdnm1fqfmnzrada9cm8ykna"))))
5838 (build-system meson-build-system)
5841 #:tests? #f ;one of two tests requires network access
5843 #~(list (string-append "-Dzoneinfo_dir="
5844 (search-input-directory %build-inputs
5845 "share/zoneinfo")))))
5847 (list gettext-minimal
5848 `(,glib "bin") ;for glib-mkenums
5849 gobject-introspection
5855 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5861 geocode-glib-with-libsoup2))
5864 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5865 (synopsis "Location, time zone, and weather library for GNOME")
5867 "libgweather is a library to access weather information from online
5868 services for numerous locations.")
5869 (license license:gpl2+)))
5871 ;; libgweather no longer follows the GNOME version, and recommends changing
5872 ;; the package name in distributions to avoid accidental downgrades. See
5873 ;; <https://discourse.gnome.org/t/changes-in-libgweather-for-gnome-42/7770/2>.
5874 ;; TODO: how to prevent the updater from picking version 40?
5875 (define-public libgweather4
5877 (inherit libgweather)
5878 (name "libgweather4")
5882 (uri (string-append "mirror://gnome/sources/libgweather/"
5883 (version-major+minor version) "/"
5884 "libgweather-" version ".tar.xz"))
5887 "1wh3asniv5yiqp0dsk96as2bkx72hamh3ij2md8k0is9yd7ppbjm"))))
5891 #~(list (string-append "-Dzoneinfo_dir="
5892 (search-input-directory %build-inputs
5895 #~(modify-phases %standard-phases
5896 (add-after 'unpack 'set-HOME
5898 (setenv "HOME" "/tmp")))
5899 (add-after 'unpack 'disable-problematic-tests
5901 (substitute* "libgweather/tests/meson.build"
5902 ;; The timezones test fails for unknown reasons (see:
5903 ;; https://gitlab.gnome.org/GNOME/libgweather/-/issues/188).
5904 ((".*'name': 'timezones'.*") "")
5905 ;; The 'metar' test is known to fail, fixed but not yet released
5907 ;; https://gitlab.gnome.org/GNOME/libgweather/-/issues/168).
5908 ((".*'name': 'metar'.*") ""))))
5909 (delete 'check) ;move after the install phase
5910 (add-after 'install 'check
5911 (assoc-ref %standard-phases 'check)))))
5913 (list gettext-minimal
5915 `(,glib "bin") ;for glib-mkenums
5916 gobject-introspection
5918 gsettings-desktop-schemas
5923 ;; TODO: It would be good to make the package respect TZDIR instead
5924 ;; of using a "hard coded" version of tzdata.
5925 (inputs (list tzdata))
5927 ;; gweather4.pc refers to all of these.
5934 (define-public libgweather4-with-libsoup2
5936 (inherit libgweather4)
5937 (name "libgweather4-with-libsoup2")
5938 (arguments (substitute-keyword-arguments (package-arguments libgweather4)
5939 ((#:configure-flags flags)
5940 #~(cons "-Dsoup2=true" #$flags))))
5942 (modify-inputs (package-propagated-inputs libgweather4)
5943 (replace "geocode-glib" geocode-glib-with-libsoup2)
5944 (replace "libsoup" libsoup-minimal-2)))))
5946 (define-public gnome-settings-daemon
5948 (name "gnome-settings-daemon")
5953 (uri (string-append "mirror://gnome/sources/" name "/"
5954 (version-major version) "/"
5955 name "-" version ".tar.xz"))
5958 "005b1dvrfcyr6n4srl6c0lzr95c18prps4xm1lf2ghcfm8a9fi4w"))
5959 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5960 (build-system meson-build-system)
5965 #~(list (string-append "-Dudev_dir=" #$output "/lib/udev")
5967 ;; Otherwise, the RUNPATH will lack the final path component.
5968 (string-append "-Dc_link_args=-Wl,-rpath=" #$output
5969 "/lib/gnome-settings-daemon-3.0:"
5970 ;; Also add NSS because for some reason Meson
5971 ;; > 0.60 does not add it automatically (XXX).
5972 (search-input-directory %build-inputs "lib/nss")))
5974 #~(modify-phases %standard-phases
5975 (add-before 'configure 'set-baobab-file-name
5976 (lambda* (#:key inputs #:allow-other-keys)
5977 ;; Hard-code the file name of Baobab instead of looking
5978 ;; it up in $PATH. This ensures users get the "Examine"
5979 ;; button in the low disk space notification of GDM even
5980 ;; if they don't have GNOME in their main profile.
5981 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5982 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5983 (format #f "g_strdup (~s)"
5984 (search-input-file inputs "bin/baobab")))))))
5985 ;; Color management test can't reach the colord system service.
5988 (list docbook-xml-4.2
5991 `(,glib "bin") ;for glib-mkenums
5992 libxml2 ;for XML_CATALOG_FILES
6003 geocode-glib-with-libsoup2
6005 gsettings-desktop-schemas-next
6009 libgweather4-with-libsoup2
6011 (librsvg-for-system)
6023 (home-page "https://www.gnome.org")
6024 (synopsis "GNOME settings daemon")
6026 "This package contains the daemon responsible for setting the various
6027 parameters of a GNOME session and the applications that run under it. It
6028 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
6029 settings, themes, mouse settings, and startup of other daemons.")
6030 (license license:gpl2+)))
6032 (define-public totem-pl-parser
6034 (name "totem-pl-parser")
6038 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
6039 (version-major+minor version) "/"
6040 "totem-pl-parser-" version ".tar.xz"))
6043 "075csd5x0frgf93jvhlqiwv5i0qm24zz3iw17jj7v7fgsml0zpy0"))))
6044 (build-system meson-build-system)
6046 ;; FIXME: Tests require gvfs.
6050 `(,glib "bin") gobject-introspection pkg-config))
6052 (list glib gmime libarchive libgcrypt libxml2))
6055 (home-page "https://projects.gnome.org/totem")
6056 (synopsis "Library to parse and save media playlists for GNOME")
6057 (description "Totem-pl-parser is a GObjects-based library to parse and save
6058 playlists in a variety of formats.")
6059 (license license:lgpl2.0+)))
6061 (define-public aisleriot
6067 (uri (string-append "mirror://gnome/sources/aisleriot/"
6068 (version-major+minor version) "/"
6069 "aisleriot-" version ".tar.xz"))
6072 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
6073 (build-system glib-or-gtk-build-system)
6076 '("--with-platform=gtk-only"
6077 "--with-card-theme-formats=svg")))
6079 `(("desktop-file-utils" ,desktop-file-utils)
6080 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6081 ("intltool" ,intltool)
6082 ("itstool" ,itstool)
6083 ("pkg-config" ,pkg-config)
6084 ("xmllint" ,libxml2)))
6086 (list gtk+ guile-2.2 libcanberra librsvg))
6087 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
6088 (synopsis "Solitaire card games")
6090 "Aisleriot (also known as Solitaire or sol) is a collection of card games
6091 which are easy to play with the aid of a mouse.")
6092 (license license:gpl3+)))
6100 (uri (string-append "mirror://gnome/sources/amtk/"
6101 (version-major+minor version) "/"
6102 "amtk-" version ".tar.xz"))
6105 "176vplk3inf0pp0prma8478hp0yhziq0krp5a9l47hg22z86v2gc"))))
6106 (build-system meson-build-system)
6108 (list gobject-introspection
6109 `(,glib "bin") ; for glib-mkenums
6110 gtk-doc/stable pkg-config))
6113 (home-page "https://wiki.gnome.org/Projects/Amtk")
6114 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
6116 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
6117 It is a basic GtkUIManager replacement based on GAction. It is suitable for
6118 both a traditional UI or a modern UI with a GtkHeaderBar.")
6119 (license license:lgpl2.1+)))
6121 (define-public devhelp
6127 (uri (string-append "mirror://gnome/sources/" name "/"
6128 (version-major version) "/"
6129 name "-" version ".tar.xz"))
6132 "1rxn6kciyfdhnjrcjyf02cn3rki2xgwb4wrg5plbzjvpqasq66ml"))))
6133 (build-system meson-build-system)
6137 (modify-phases %standard-phases
6138 (add-after 'unpack 'skip-gtk-update-icon-cache
6139 ;; Don't create 'icon-theme.cache'.
6141 (substitute* "build-aux/meson/meson_post_install.py"
6142 (("gtk-update-icon-cache") "true")))))))
6144 (list gsettings-desktop-schemas))
6146 (list gettext-minimal
6147 gobject-introspection
6148 `(,glib "bin") ; for glib-mkmenus
6154 (home-page "https://wiki.gnome.org/Apps/Devhelp")
6155 (synopsis "API documentation browser for GNOME")
6157 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
6158 natively with GTK-Doc (the API reference system developed for GTK+ and used
6159 throughout GNOME for API documentation).")
6160 (license license:gpl2+)))
6162 (define-public devhelp-with-libsoup2
6163 (package/inherit devhelp
6164 (inputs (modify-inputs (package-inputs devhelp)
6165 (replace "webkitgtk" webkitgtk-with-libsoup2)))))
6174 (uri (string-append "mirror://gnome/sources/cogl/"
6175 (version-major+minor version) "/"
6176 "cogl-" version ".tar.xz"))
6178 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
6179 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
6180 ;; cogl, corresponding changes may be appropriate in mutter as well.
6181 (build-system gnu-build-system)
6183 `(("glib:bin" ,glib "bin") ; for glib-mkenums
6184 ("gobject-introspection" ,gobject-introspection)
6185 ("xorg-server" ,xorg-server-for-tests)
6186 ("pkg-config" ,pkg-config)))
6204 `(#:disallowed-references (,xorg-server-for-tests)
6205 #:configure-flags (list "--enable-cogl-gst"
6206 "--enable-wayland-egl-platform"
6207 "--enable-wayland-egl-server"
6209 ;; Arrange to pass an absolute file name to
6210 ;; dlopen for libGL.so.
6211 (string-append "--with-gl-libname="
6212 (assoc-ref %build-inputs "mesa")
6215 (modify-phases %standard-phases
6216 (add-after 'unpack 'fix-build-with-mesa-20
6218 ;; Work around a problem with Mesa 20 where some macros used by
6219 ;; Cogl went missing from eglext.h. This can likely be removed
6220 ;; for newer versions of Cogl or Mesa.
6221 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
6222 (substitute* '("configure"
6223 "cogl/winsys/cogl-winsys-egl-kms.c")
6224 (("#include <EGL/eglext.h>" all)
6225 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
6227 (add-before 'check 'start-xorg-server
6228 (lambda* (#:key tests? inputs #:allow-other-keys)
6231 ;; The test suite requires a running X server.
6232 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
6233 (assoc-ref inputs "xorg-server")))
6234 (setenv "DISPLAY" ":1")
6236 (format #t "test suite not run~%"))
6238 (home-page "http://www.clutter-project.org")
6239 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
6241 "Cogl is a small library for using 3D graphics hardware to draw pretty
6242 pictures. The API departs from the flat state machine style of OpenGL and is
6243 designed to make it easy to write orthogonal components that can render
6244 without stepping on each others toes.")
6245 (license (list license:expat ; most of the code
6246 license:bsd-3 ; cogl/cogl-point-in-poly.c
6247 license:sgifreeb2.0 ; cogl-path/tesselator/
6248 license:asl2.0)))) ; examples/android/
6250 (define-public clutter
6257 (uri (string-append "mirror://gnome/sources/" name "/"
6258 (version-major+minor version) "/"
6259 name "-" version ".tar.xz"))
6262 "1rn4cd1an6a9dfda884aqpcwcgq8dgydpqvb19nmagw4b70zlj4b"))))
6263 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
6264 ;; to clutter, corresponding changes may be appropriate in mutter as well.
6265 (build-system gnu-build-system)
6267 "doc")) ;9 MiB of gtk-doc HTML pages
6269 (list `(,glib "bin") ; for glib-genmarshal
6270 gobject-introspection
6288 `(#:configure-flags (list "--enable-x11-backend=yes"
6290 ;; This produces share/doc/{clutter,cally}.
6291 (string-append "--with-html-dir="
6292 (assoc-ref %outputs "doc")
6294 ;; XXX FIXME: Get test suite working. It would probably fail in the
6295 ;; same way the cogl tests fail, since clutter is based on cogl.
6297 (home-page "https://blogs.gnome.org/clutter/")
6298 (synopsis "OpenGL-based interactive canvas library")
6300 "Clutter is an OpenGL-based interactive canvas library, designed for
6301 creating fast, mainly 2D single window applications such as media box UIs,
6302 presentations, kiosk style applications and so on.")
6303 (license license:lgpl2.0+)))
6305 (define-public clutter-gtk
6307 (name "clutter-gtk")
6312 (uri (string-append "mirror://gnome/sources/" name "/"
6313 (version-major+minor version) "/"
6314 name "-" version ".tar.xz"))
6317 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
6318 (build-system gnu-build-system)
6320 (list pkg-config gobject-introspection))
6322 ;; clutter-gtk.pc refers to all these.
6323 (list clutter gtk+))
6324 (home-page "http://www.clutter-project.org")
6325 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
6327 "Clutter is an OpenGL-based interactive canvas library, designed for
6328 creating fast, mainly 2D single window applications such as media box UIs,
6329 presentations, kiosk style applications and so on.")
6330 (license license:lgpl2.0+)))
6332 (define-public clutter-gst
6334 (name "clutter-gst")
6339 (uri (string-append "mirror://gnome/sources/clutter-gst/"
6340 (version-major+minor version) "/"
6341 "clutter-gst-" version ".tar.xz"))
6343 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
6344 (build-system gnu-build-system)
6346 (list `(,glib "bin") ; for glib-mkenums
6347 pkg-config gobject-introspection))
6349 (list clutter gstreamer gst-plugins-base))
6350 (home-page "http://www.clutter-project.org")
6351 (synopsis "Integration library for using GStreamer with Clutter")
6353 "Clutter-Gst is an integration library for using GStreamer with Clutter.
6354 It provides a GStreamer sink to upload frames to GL and an actor that
6355 implements the ClutterGstPlayer interface using playbin. Clutter is an
6356 OpenGL-based interactive canvas library.")
6357 (license license:lgpl2.0+)))
6359 (define-public libchamplain
6361 (name "libchamplain")
6366 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
6370 "0rihpb0npqpihqcdz4w03rq6xl7jdckfqskvv9diq2hkrnzv8ch2"))))
6371 (build-system meson-build-system)
6373 (list gobject-introspection pkg-config vala))
6375 (list libsoup-minimal-2
6379 `(,glib "bin") ;glib-mkenums, etc.
6383 (home-page "https://projects.gnome.org/libchamplain/")
6384 (synopsis "C library providing a ClutterActor to display maps")
6386 "libchamplain is a C library providing a ClutterActor to display maps.
6387 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
6388 and Perl bindings are also available. It supports numerous free map sources
6389 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
6390 (license license:lgpl2.1+)))
6399 (uri (string-append "mirror://gnome/sources/gom/"
6400 (version-major+minor version) "/"
6401 "gom-" version ".tar.xz"))
6404 "17ca07hpg7dqxjn0jpqim3xqcmplk2a87wbwrrlq3dd3m8381l38"))))
6405 (build-system meson-build-system)
6408 #:imported-modules `(,@%meson-build-system-modules
6409 (guix build python-build-system))
6410 #:modules '((guix build meson-build-system)
6411 ((guix build python-build-system) #:prefix python:)
6414 #~(list (string-append "-Dpygobject-override-dir="
6415 (python:site-packages %build-inputs %outputs)
6418 (list gettext-minimal
6419 gobject-introspection
6427 (home-page "https://wiki.gnome.org/Projects/Gom")
6428 (synopsis "Object mapper from GObjects to SQLite")
6430 "Gom provides an object mapper from GObjects to SQLite. It helps you
6431 write applications that need to store structured data as well as make complex
6432 queries upon that data.")
6433 (license license:lgpl2.1+)))
6435 (define-public libgnome-games-support
6437 (name "libgnome-games-support")
6442 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6443 (version-major+minor version) "/"
6444 "libgnome-games-support-" version ".tar.xz"))
6447 "196jaga70r16bzypv4z07mnwr0xcm93gc91kxygcpp9fwdpiz0jk"))))
6448 (build-system meson-build-system)
6452 (modify-phases %standard-phases
6453 (add-before 'check 'pre-check
6455 ;; Tests require a writable HOME.
6456 (setenv "HOME" (getcwd)))))))
6458 (list intltool pkg-config vala))
6460 ;; Required by libgnome-games-support-1.0.pc
6462 (home-page "https://www.gnome.org/")
6463 (synopsis "Useful functionality shared among GNOME games")
6465 "libgnome-games-support is a small library intended for internal use by
6466 GNOME Games, but it may be used by others.")
6467 (license license:lgpl3+)))
6469 (define-public libgnome-games-support-1
6471 (inherit libgnome-games-support)
6476 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6477 (version-major+minor version) "/"
6478 "libgnome-games-support-" version ".tar.xz"))
6481 "0zggsg7h9nlcwwjcqc13pdjza17iiww325r3q0d76f5hlw24chr8"))))
6482 (propagated-inputs (modify-inputs (package-propagated-inputs
6483 libgnome-games-support)
6484 (replace "gtk" gtk+)))))
6486 (define-public gnome-klotski
6488 (name "gnome-klotski")
6492 (uri (string-append "mirror://gnome/sources/" name "/"
6493 (version-major+minor version) "/"
6494 name "-" version ".tar.xz"))
6497 "1qm01hdd5yp8chig62bj10912vclbdvywwczs84sfg4zci2phqwi"))))
6498 (build-system meson-build-system)
6502 (modify-phases %standard-phases
6503 (add-after 'unpack 'skip-gtk-update-icon-cache
6504 ;; Don't create 'icon-theme.cache'.
6506 (substitute* "build-aux/meson_post_install.py"
6507 (("gtk-update-icon-cache") (which "true"))))))))
6509 (list desktop-file-utils
6510 `(,glib "bin") ; for glib-compile-resources
6518 libgnome-games-support-1
6520 (home-page "https://wiki.gnome.org/Apps/Klotski")
6521 (synopsis "Sliding block puzzles")
6523 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6524 the patterned block to the area bordered by green markers. To do so, you will
6525 need to slide other blocks out of the way. Complete each puzzle in as few moves
6527 (license license:gpl2+)))
6529 (define-public grilo
6536 (uri (string-append "mirror://gnome/sources/grilo/"
6537 (version-major+minor version) "/"
6538 "grilo-" version ".tar.xz"))
6540 (base32 "0bbvaxw2das8826663z23y0acbdmcvggwdh64ws9jrk56vvsqlpk"))))
6541 (build-system meson-build-system)
6543 (list #:phases #~(modify-phases %standard-phases
6544 (add-before 'unpack 'set-HOME
6546 ;; Tests require write access to HOME.
6547 (setenv "HOME" "/tmp"))))))
6549 (list `(,glib "bin") ; for glib-mkenums and glib-genmarshal
6551 gsettings-desktop-schemas
6553 gobject-introspection
6564 (native-search-paths
6565 (list (search-path-specification
6566 (variable "GRL_PLUGIN_PATH")
6567 (files (list (string-append "lib/grilo-"
6568 (version-major+minor version)))))))
6569 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6570 (synopsis "Framework for discovering and browsing media")
6572 "Grilo is a framework focused on making media discovery and browsing easy
6573 for application developers.")
6574 (license license:lgpl2.1+)))
6576 (define-public grilo-plugins
6578 (name "grilo-plugins")
6583 (uri (string-append "mirror://gnome/sources/" name "/"
6584 (version-major+minor version) "/"
6585 name "-" version ".tar.xz"))
6587 (base32 "0cxbxg7i9qd1pyfjj7c15x9lawvaw5608jk2apcrac7rakcw6645"))))
6588 (build-system meson-build-system)
6590 (list gettext-minimal
6591 ;; Gstreamer plugins are required for tests.
6600 gnome-online-accounts
6614 ;;Disable lua-factory as it needs missing dependencies
6615 #:configure-flags '("-Denable-lua-factory=no")
6617 (modify-phases %standard-phases
6618 (add-before 'configure 'set-shell
6620 (setenv "SHELL" (which "bash"))))
6621 ;; Disable the tracker test that requires the UPower daemon.
6622 (add-before 'configure 'fix-tests
6623 (lambda* (#:key inputs #:allow-other-keys)
6624 (substitute* "tests/tracker3/meson.build"
6625 (("'test_tracker3'.*") "")))))))
6626 (home-page "https://live.gnome.org/Grilo")
6627 (synopsis "Plugins for the Grilo media discovery library")
6629 "Grilo is a framework focused on making media discovery and browsing easy
6630 for application developers. This package provides plugins for common media
6631 discovery protocols.")
6632 (license license:lgpl2.1+)))
6634 (define-public totem
6641 (uri (string-append "mirror://gnome/sources/totem/"
6642 (version-major version) "/"
6643 "totem-" version ".tar.xz"))
6645 (base32 "1az6ay7zhz2naqrzcfldx1yv2ylw1yjx76g3mqrqppwmvcflkw2a"))))
6646 (build-system meson-build-system)
6651 gobject-introspection
6652 `(,glib "bin") ;for 'glib-mkenums'
6655 xorg-server-for-tests))
6677 gsettings-desktop-schemas
6688 ;; Disable automatic GStreamer plugin installation via PackageKit and
6690 #:configure-flags #~(list "-Denable-easy-codec-installation=no"
6691 ;; Do not build .a files for the plugins, it's
6692 ;; completely useless. This saves 2 MiB.
6693 "--default-library" "shared")
6695 #~(modify-phases %standard-phases
6696 (add-after 'unpack 'skip-gtk-update-icon-cache
6697 ;; Don't create 'icon-theme.cache'.
6699 (substitute* "meson_post_install.py"
6700 (("gtk-update-icon-cache") "true"))))
6701 (add-before 'install 'disable-cache-generation
6703 (setenv "DESTDIR" "/")))
6704 (add-before 'check 'pre-check
6706 ;; Tests require a running X server.
6707 (system "Xvfb :1 &")
6708 (setenv "DISPLAY" ":1")))
6709 (add-after 'install 'wrap-totem
6710 (lambda* (#:key inputs outputs #:allow-other-keys)
6711 (let ((out (assoc-ref outputs "out"))
6712 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6713 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6714 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6715 (wrap-program (string-append out "/bin/totem")
6716 `("GI_TYPELIB_PATH" ":" suffix (,gi-typelib-path))
6717 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6718 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6719 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6720 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))))))))
6721 (home-page "https://wiki.gnome.org/Apps/Videos")
6722 (synopsis "Simple media player for GNOME based on GStreamer")
6723 (description "Totem is a simple yet featureful media player for GNOME
6724 which can read a large number of file formats.")
6725 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6726 ;; to be used and distributed together with GStreamer and Totem. See
6727 ;; file://COPYING in the source distribution for details.
6728 (license license:gpl2+)))
6730 (define-public rhythmbox
6736 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6737 (version-major+minor version) "/"
6738 "rhythmbox-" version ".tar.xz"))
6741 "0d5hbsdk2p8w567mfzy4kk8xn4d227hrbyy857li3r2mrq884mpr"))))
6742 (build-system meson-build-system)
6747 #~(modify-phases %standard-phases
6748 (add-after 'unpack 'skip-gtk-update-icon-cache
6750 (substitute* "meson.build"
6751 (("gtk_update_icon_cache: true")
6752 "gtk_update_icon_cache: false"))))
6753 (add-after 'install 'wrap-rhythmbox
6754 (lambda* (#:key outputs #:allow-other-keys)
6755 (wrap-program (search-input-file outputs "bin/rhythmbox")
6756 `("GI_TYPELIB_PATH" ":" prefix
6757 (,(getenv "GI_TYPELIB_PATH")))
6758 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
6759 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
6760 `("GRL_PLUGIN_PATH" ":" prefix
6761 (,(getenv "GRL_PLUGIN_PATH")))
6762 `("GUIX_PYTHONPATH" ":" prefix
6763 (,(getenv "GUIX_PYTHONPATH")))))))))
6767 (list desktop-file-utils
6769 gobject-introspection
6778 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6782 (list adwaita-icon-theme
6791 gsettings-desktop-schemas
6809 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6810 (synopsis "Music player for GNOME")
6811 (description "Rhythmbox is a music playing application for GNOME. It
6812 supports playlists, song ratings, and any codecs installed through gstreamer.")
6813 (license license:gpl2+)))
6821 (uri (string-append "mirror://gnome/sources/" name "/"
6822 (version-major version) "/"
6823 name "-" version ".tar.xz"))
6826 "0fpl8wz1j10r59m20d61b7wmp8ga48dd7svqv1a2ip66ig1b7h9h"))))
6827 (build-system meson-build-system)
6832 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6833 #~(list (string-append "-Dc_link_args=-Wl,-rpath="
6834 #$output "/lib/eog"))
6836 #~(modify-phases %standard-phases
6837 (add-after 'unpack 'skip-gtk-update-icon-cache
6838 ;; Don't create 'icon-theme.cache'.
6840 (substitute* "meson.build"
6841 (("gtk_update_icon_cache: true")
6842 "gtk_update_icon_cache: false"))))
6843 (add-after 'install 'wrap-eog
6844 (lambda* (#:key outputs #:allow-other-keys)
6845 (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6846 (wrap-program (search-input-file outputs "bin/eog")
6847 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
6850 libhandy)) ;libhandy is required by eog.pc
6852 (list gettext-minimal
6854 gobject-introspection
6859 (list adwaita-icon-theme
6871 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6872 (synopsis "GNOME image viewer")
6873 (description "Eye of GNOME is the GNOME image viewer. It
6874 supports image conversion, rotation, and slideshows.")
6875 (license license:gpl2+)))
6877 (define-public eog-plugins
6878 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6879 ;; $DATA/eog/plugins, where DATA is one of the entries in
6880 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6881 ;; 'XDG_DATA_DIRS' appropriately set.
6883 (name "eog-plugins")
6887 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6888 (version-major+minor version) "/"
6889 "eog-plugins-" version ".tar.xz"))
6892 "0prymlrfh66p03va5aj30wazshp7bn80gzcsj9dgsmss2k512wlb"))))
6893 (build-system meson-build-system)
6894 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6895 (synopsis "Extensions for the Eye of GNOME image viewer")
6897 (list gettext-minimal
6909 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6913 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6914 @item @dfn{Map}, which displays a map of where the picture was taken on the
6916 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6919 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6920 ;; long suspicious byte stream that goes to a
6921 ;; ".gresource.eog_postasa_plugin" ELF section.
6922 (license license:gpl2+)))
6924 (define-public libgudev
6930 (uri (string-append "mirror://gnome/sources/" name "/"
6931 version "/" name "-" version ".tar.xz"))
6934 "094mgjmwgsgqrr1i0vd20ynvlkihvs3vgbmpbrhswjsrdp86j0z5"))))
6935 (build-system meson-build-system)
6937 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6938 ("gobject-introspection" ,gobject-introspection)
6939 ("pkg-config" ,pkg-config)))
6941 (list glib ; in Requires of gudev-1.0.pc
6942 eudev)) ; in Requires.private of gudev-1.0.pc
6945 (home-page "https://wiki.gnome.org/Projects/libgudev")
6946 (synopsis "GObject bindings for libudev")
6948 "This library provides GObject bindings for libudev. It was originally
6949 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6950 (license license:lgpl2.1+)))
6958 (uri (string-append "mirror://gnome/sources/gvfs/"
6959 (version-major+minor version) "/"
6960 "gvfs-" version ".tar.xz"))
6963 "0pmc0vda1ksm9l7v64h4bm8qnv16amb7nifgy0882hzg2n62pmq3"))))
6964 (build-system meson-build-system)
6966 (list #:glib-or-gtk? #t
6968 #~(list "-Dsystemduserunitdir=no"
6970 ;; Otherwise, the RUNPATH will lack the final path component.
6971 (string-append "-Dc_link_args=-Wl,-rpath="
6972 #$output "/lib/gvfs"))))
6974 (list `(,glib "bin") ;for glib-genmarshal, etc.
6988 gnome-online-accounts
6989 gsettings-desktop-schemas
7008 (home-page "https://wiki.gnome.org/gvfs/")
7009 (synopsis "Userspace virtual file system for GIO")
7011 "GVFS is a userspace virtual file system designed to work with the I/O
7012 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS
7013 support to all applications using the GIO API. It also supports exposing the
7014 GVFS mounts to non-GIO applications using FUSE.
7016 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
7018 (license license:lgpl2.0+)))
7020 (define-public gusb-minimal
7022 (name "gusb-minimal")
7027 (url "https://github.com/hughsie/libgusb")
7029 (file-name (git-file-name name version))
7032 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
7033 (build-system meson-build-system)
7035 `(#:tests? #f ;libusb fails to initialize. Wonder what that is.
7037 (cons "-Ddocs=false"
7038 (if ,(%current-target-system)
7039 ;; Introspection data cannot currently be cross-compiled.
7040 '("-Dintrospection=false"
7041 ;; Requires introspection data.
7045 (list gobject-introspection pkg-config python vala))
7047 ;; Both of these are required by gusb.pc.
7049 (home-page "https://github.com/hughsie/libgusb")
7050 (synopsis "GLib binding for libusb1")
7052 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
7053 asynchronous control, bulk and interrupt transfers with proper cancellation
7054 and integration into a mainloop. This makes it easy to integrate low level
7055 USB transfers with your high-level application or system daemon.")
7056 (license license:lgpl2.1+)))
7059 (package/inherit gusb-minimal
7062 (substitute-keyword-arguments (package-arguments gusb-minimal)
7063 ((#:configure-flags flags)
7064 `(cons "-Ddocs=true"
7065 (delete "-Ddocs=false" ,flags)))))
7067 (cons `("gtk-doc" ,gtk-doc/stable)
7068 (package-native-inputs gusb-minimal)))))
7070 (define-public simple-scan
7072 (name "simple-scan")
7077 (uri (string-append "mirror://gnome/sources/simple-scan/"
7078 (version-major version) "/"
7079 "simple-scan-" version ".tar.xz"))
7081 (base32 "09i23f8j3knppyxmikzfq9s09xarsgp9sqx9mfyvas8p3ihw16w5"))))
7082 (build-system meson-build-system)
7083 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
7085 '(#:glib-or-gtk? #t))
7087 (list gettext-minimal
7089 `(,glib "bin") ; glib-compile-schemas, etc.
7103 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
7104 (synopsis "Document and image scanner")
7106 "Document Scanner is an easy-to-use application that lets you connect your
7107 scanner and quickly capture images and documents in an appropriate format. It
7108 supports any scanner for which a suitable SANE driver is available, which is
7109 almost all of them.")
7110 (license license:gpl3+)))
7112 (define-public eolie
7118 (uri (string-append "https://adishatz.org/eolie/eolie-"
7122 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
7123 (build-system meson-build-system)
7127 (modify-phases %standard-phases
7128 (add-after 'unpack 'skip-gtk-update-icon-cache
7129 ;; Don't create 'icon-theme.cache'.
7131 (substitute* "meson_post_install.py"
7132 (("gtk-update-icon-cache") "true"))
7134 (add-after 'wrap 'wrap-more
7135 (lambda* (#:key inputs outputs #:allow-other-keys)
7136 (let* ((out (assoc-ref outputs "out"))
7137 ;; These libraries must be on LD_LIBRARY_PATH.
7138 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
7139 "atk" "gtk+" "gsettings-desktop-schemas"
7140 "gobject-introspection"))
7143 (string-append (assoc-ref inputs lib) "/lib"))
7146 (wrap-program (string-append out "/bin/eolie")
7147 `("LD_LIBRARY_PATH" ":" prefix (,path))
7148 `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
7149 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
7152 `(("intltool" ,intltool)
7153 ("itstool" ,itstool)
7154 ("pkg-config" ,pkg-config)
7156 ("glib:bin" ,glib "bin")))
7158 `(("gobject-introspection" ,gobject-introspection)
7159 ("glib-networking" ,glib-networking)
7162 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
7163 ("python" ,python-wrapper)
7164 ("python-dateutil" ,python-dateutil)
7165 ("python-pyfxa" ,python-pyfxa)
7166 ("python-pygobject" ,python-pygobject)
7167 ("python-pycairo" ,python-pycairo)
7168 ("python-pycrypto" ,python-pycrypto)
7169 ("libhandy" ,libhandy)
7170 ("libsecret" ,libsecret)
7171 ("gtkspell3" ,gtkspell3)
7172 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7173 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
7174 ("webkitgtk" ,webkitgtk)))
7175 (home-page "https://wiki.gnome.org/Apps/Eolie")
7176 (synopsis "Web browser for GNOME")
7178 "Eolie is a new web browser for GNOME. It features Firefox sync support,
7179 a secret password store, an adblocker, and a modern UI.")
7180 (license license:gpl3+)))
7182 (define-public epiphany
7188 (uri (string-append "mirror://gnome/sources/epiphany/"
7189 (version-major version) "/"
7190 "epiphany-" version ".tar.xz"))
7193 "0q08ixzgp341g5pq6rfy5q75m9bvddvl8na3qa5v5vi056nkh29p"))))
7194 (build-system meson-build-system)
7199 #~(modify-phases %standard-phases
7200 (add-after 'unpack 'skip-gtk-update-icon-cache
7201 ;; Don't create 'icon-theme.cache'.
7203 (substitute* "post_install.py"
7204 (("gtk-update-icon-cache") "true"))))
7205 (add-after 'unpack 'disable-failing-tests
7207 (substitute* "tests/meson.build"
7208 ;; embed_shell fails, because webkitgtk apparently no longer
7209 ;; supports overriding the ftp schema web_app_utils fails due
7210 ;; to missing network access.
7211 (("(embed_shell|web_app_utils)_test,")
7212 "find_program('sh'), args: ['-c', 'exit 77'],"))))
7213 (add-before 'check 'pre-check
7215 ;; Tests require a running X server.
7216 (system "Xvfb :1 &")
7217 (setenv "DISPLAY" ":1"))))
7219 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
7220 #~(list (string-append "-Dc_link_args=-Wl,-rpath="
7221 #$output "/lib/epiphany")
7222 "-Dsoup2=disabled"))) ;use libsoup 3
7223 (propagated-inputs (list dconf))
7225 (list desktop-file-utils ; for update-desktop-database
7227 `(,glib "bin") ; for glib-mkenums
7231 xorg-server-for-tests))
7237 gsettings-desktop-schemas
7245 librsvg ; for loading SVG files
7249 nettle ; for hogweed
7252 (home-page "https://wiki.gnome.org/Apps/Web")
7253 (synopsis "GNOME web browser")
7255 "Epiphany is a GNOME web browser targeted at non-technical users. Its
7256 principles are simplicity and standards compliance.")
7257 (license license:gpl2+)))
7259 (define-public d-feet
7265 (uri (string-append "mirror://gnome/sources/" name "/"
7266 (version-major+minor version) "/"
7267 name "-" version ".tar.xz"))
7270 "1jqw5ndpgyb0zxh0g21ai1911lfrm56vz18xbccfqm4sk95wwcw7"))))
7271 (build-system meson-build-system)
7276 #~(modify-phases %standard-phases
7277 (add-before 'check 'pre-check
7279 ;; The test suite requires a running X server.
7280 (system "Xvfb :1 &")
7281 (setenv "DISPLAY" ":1")))
7282 (add-before 'install 'disable-gtk-update-icon-cache
7284 (setenv "DESTDIR" "/")))
7285 (add-after 'install 'wrap-program
7286 (lambda* (#:key outputs #:allow-other-keys)
7287 (wrap-program (search-input-file outputs "bin/d-feet")
7288 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
7289 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
7291 (list `(,glib "bin")
7297 xorg-server-for-tests))
7299 (list gobject-introspection
7303 (home-page "https://wiki.gnome.org/Apps/DFeet")
7304 (synopsis "D-Bus debugger")
7306 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
7307 of running programs and invoke methods on those interfaces.")
7308 (license license:gpl2+)))
7310 (define-public yelp-xsl
7318 (string-append "mirror://gnome/sources/" name "/"
7319 (version-major version) "/"
7320 name "-" version ".tar.xz"))
7322 (base32 "19d46rkajvr0f04560vlrzwvac88x5j8ilvzwkawbn5vjg069kf8"))))
7323 (build-system gnu-build-system)
7329 `(("ducktype" ,mallard-ducktype)
7330 ("gettext" ,gettext-minimal)
7331 ("intltool" ,intltool)
7332 ("itstool" ,itstool)
7333 ("xmllint" ,libxml2)
7334 ("xsltproc" ,libxslt)))
7335 (synopsis "XSL stylesheets for Yelp")
7336 (description "Yelp-XSL is a collection of programs and data files to help
7337 you build, maintain, and distribute documentation. It provides XSLT stylesheets
7338 that can be built upon for help viewers and publishing systems. These
7339 stylesheets output JavaScript and CSS content, and reference images
7340 provided by yelp-xsl. It also redistributes copies of the jQuery and
7341 jQuery.Syntax JavaScript libraries.")
7342 (home-page "https://wiki.gnome.org/Apps/Yelp")
7358 (uri (string-append "mirror://gnome/sources/" name "/"
7359 (version-major version) "/"
7360 name "-" version ".tar.xz"))
7363 "0h9vf4fx056imjf8ibmn03wg1c3hniipy1nsm2jqi62lp1m19c95"))))
7364 (build-system glib-or-gtk-build-system)
7366 (list `(,glib "bin") ; for glib-genmarshal, etc.
7373 (list gsettings-desktop-schemas
7379 (home-page "https://wiki.gnome.org/Apps/Yelp")
7380 (synopsis "GNOME help browser")
7382 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
7383 man, info, and HTML documents. It can locate documents according to the
7384 freedesktop.org help system specification.")
7385 (license license:gpl2+)))
7387 (define-public yelp-tools
7395 (string-append "mirror://gnome/sources/" name "/"
7396 (version-major+minor version) "/"
7397 name "-" version ".tar.xz"))
7399 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
7400 (build-system gnu-build-system)
7406 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
7407 `(("itstool" ,itstool)
7408 ("xmllint" ,libxml2)
7409 ("xsltproc" ,libxslt)))
7410 (synopsis "Yelp documentation tools")
7412 "Yelp-tools is a collection of scripts and build utilities to help create,
7413 manage, and publish documentation for Yelp and the web. Most of the heavy
7414 lifting is done by packages like yelp-xsl and itstool. This package just
7415 wraps things up in a developer-friendly way.")
7416 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
7417 (license license:gpl2+)))
7419 (define-public libgee
7425 (uri (string-append "mirror://gnome/sources/libgee/"
7426 (version-major+minor version) "/"
7427 "libgee-" version ".tar.xz"))
7430 "060mbj6ihca315a6wqj47mfzm2881azwm5bl0vwjg9ymay4km1ii"))))
7431 (build-system gnu-build-system)
7435 #~(modify-phases %standard-phases
7436 (add-after 'unpack 'fix-introspection-install-dir
7438 (substitute* "gee/Makefile.in"
7439 (("@INTROSPECTION_GIRDIR@")
7440 (string-append #$output "/share/gir-1.0/"))
7441 (("@INTROSPECTION_TYPELIBDIR@")
7442 (string-append #$output "/lib/girepository-1.0/"))))))))
7444 (list `(,glib "bin") pkg-config))
7446 (list glib gobject-introspection))
7447 (home-page "https://wiki.gnome.org/Projects/Libgee")
7448 (synopsis "GObject collection library")
7450 "Libgee is a utility library providing GObject-based interfaces and
7451 classes for commonly used data structures.")
7452 (license license:lgpl2.1+)))
7454 (define-public gexiv2
7460 (uri (string-append "mirror://gnome/sources/" name "/"
7461 (version-major+minor version) "/"
7462 name "-" version ".tar.xz"))
7465 "17nnsslj2wpizpx742w5lxdzcz5mx6jmsqcrli7zddi0zyk7k0p5"))))
7466 (build-system meson-build-system)
7469 #:imported-modules `(,@%meson-build-system-modules
7470 (guix build python-build-system))
7471 #:modules '((guix build meson-build-system)
7472 ((guix build python-build-system) #:prefix python:)
7475 #~(list (string-append "-Dpython3_girdir="
7476 (python:site-packages %build-inputs %outputs)
7486 ;; Listed in "Requires" section of gexiv2.pc
7490 gobject-introspection))
7491 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7492 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7494 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7495 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7496 metadata in photo and video files of various formats.")
7497 (license license:gpl2+)))
7499 (define-public shotwell
7505 (uri (string-append "mirror://gnome/sources/shotwell/"
7506 (version-major+minor version) "/"
7507 "shotwell-" version ".tar.xz"))
7510 "06awlix23y1cd89n6v9vip48cg08fjq8v6zaw38k5clrrv38y11v"))))
7511 (build-system meson-build-system)
7515 (modify-phases %standard-phases
7516 (add-after 'unpack 'skip-gtk-update-icon-cache
7518 (substitute* "build-aux/meson/postinstall.py"
7519 (("gtk-update-icon-cache") (which "true"))
7520 (("update-desktop-database") (which "true"))))))))
7524 (list gettext-minimal
7546 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7547 (synopsis "Photo manager for GNOME 3")
7549 "Shotwell is a digital photo manager designed for the GNOME desktop
7550 environment. It allows you to import photos from disk or camera, organize
7551 them by keywords and events, view them in full-window or fullscreen mode, and
7552 share them with others via social networking and more.")
7553 (license license:lgpl2.1+)))
7555 (define-public file-roller
7557 (name "file-roller")
7561 (uri (string-append "mirror://gnome/sources/file-roller/"
7562 (version-major+minor version) "/"
7563 "file-roller-" version ".tar.xz"))
7566 "1iq24g2z7kf1a6kn9asp96lc59r8pxxjvcmm5r7zy47cadnqwhqw"))))
7567 (build-system meson-build-system)
7569 (list #:glib-or-gtk? #t
7570 #:phases #~(modify-phases %standard-phases
7571 (add-before 'install 'disable-gtk-update-icon-cache
7573 (setenv "DESTDIR" "/"))))))
7575 (list desktop-file-utils
7581 ;; TODO: Add libnautilus.
7590 (synopsis "Graphical archive manager for GNOME")
7591 (description "File Roller is an archive manager for the GNOME desktop
7592 environment that allows users to view, unpack, and create compressed archives
7593 such as gzip tarballs.")
7594 (home-page "http://fileroller.sourceforge.net/")
7595 (license license:gpl2+)))
7597 (define-public gnome-session
7599 (name "gnome-session")
7603 (uri (string-append "mirror://gnome/sources/" name "/"
7604 (version-major version) "/"
7605 name "-" version ".tar.xz"))
7606 (patches (search-patches "gnome-session-support-elogind.patch"))
7609 "1alwjqr36rd0s132qs2clwnxgilcbylps6lm41lr50mn782hdjiw"))))
7613 (modify-phases %standard-phases
7614 (add-after 'install 'wrap-gnome-session
7615 (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
7616 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7617 (wrap-program (search-input-file outputs "bin/gnome-session")
7619 (,(dirname (search-input-file (or native-inputs inputs)
7622 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7623 "-Dman=false" ; FIXME: disabled because of docbook validation error
7626 "-Dsystemd_session=disable"
7627 "-Dsystemd_journal=false")))
7628 (build-system meson-build-system)
7632 `(,glib "bin") ; for glib-compile-schemas, etc.
7634 libxml2 ;for 'XML_CATALOG_FILES'
7641 gsettings-desktop-schemas
7650 (synopsis "Session manager for GNOME")
7652 "This package contains the GNOME session manager, as well as a
7653 configuration program to choose applications starting on login.")
7654 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7655 (license license:gpl2+)))
7663 (uri (string-append "mirror://gnome/sources/" name "/"
7664 (version-major+minor version) "/"
7665 name "-" version ".tar.xz"))
7668 "0xrrv9lsi087yb9yf146a1aarf5yh6rf4jw9blx30zasvjdkgvnx"))
7669 (modules '((guix build utils)))
7672 (substitute* "installed-tests/scripts/testCommandLine.sh"
7675 (build-system meson-build-system)
7677 '(#:configure-flags '("-Dinstalled_tests=false")
7679 (modify-phases %standard-phases
7680 (add-before 'check 'pre-check
7682 ;; The test suite requires a running X server.
7683 (system "Xvfb :1 &")
7684 (setenv "DISPLAY" ":1")
7686 ;; For the missing /etc/machine-id.
7687 (setenv "DBUS_FATAL_WARNINGS" "0"))))))
7689 (list `(,glib "bin") ;for glib-compile-resources
7694 dconf ;required to properly store settings
7696 xorg-server-for-tests))
7698 ;; These are all in the Requires.private field of gjs-1.0.pc.
7699 (list cairo gobject-introspection mozjs-91))
7701 (list gtk+ readline))
7702 (synopsis "Javascript bindings for GNOME")
7703 (home-page "https://wiki.gnome.org/Gjs")
7705 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7706 javascript engine and the GObject introspection framework.")
7707 (license license:gpl2+)))
7709 (define-public gedit
7715 (uri (string-append "mirror://gnome/sources/" name "/"
7716 (version-major version) "/"
7717 name "-" version ".tar.xz"))
7720 "1jlgzihi4ywvlr4xj2vbnnxzar8j3mwj0jcn8jp6dh0a3w8jjqiw"))))
7721 (build-system meson-build-system)
7726 ;; Otherwise, the RUNPATH will lack the final path component.
7727 #~(list (string-append "-Dc_link_args=-Wl,-rpath="
7728 #$output "/lib/gedit"))
7730 #~(modify-phases %standard-phases
7731 (add-after 'unpack 'skip-gtk-update-icon-cache
7732 ;; Don't create 'icon-theme.cache'.
7734 (substitute* "build-aux/meson/post_install.py"
7735 (("gtk-update-icon-cache") (which "true")))))
7736 (add-after 'unpack 'do-not-invoke-git
7737 (lambda* (#:key inputs #:allow-other-keys)
7738 (substitute* "meson.build"
7740 (add-after 'install 'wrap-gedit
7741 (lambda* (#:key outputs #:allow-other-keys)
7742 (wrap-program (search-input-file outputs "bin/gedit")
7744 `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
7745 `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
7746 ;; For language-specs.
7747 `("XDG_DATA_DIRS" ":" prefix
7748 (,(string-append #$(this-package-input "gtksourceview")
7753 (list desktop-file-utils ;for update-desktop-database
7754 `(,glib "bin") ;for glib-mkenums, etc.
7755 gobject-introspection
7763 (list adwaita-icon-theme
7766 gsettings-desktop-schemas
7774 (home-page "https://wiki.gnome.org/Apps/Gedit")
7775 (synopsis "GNOME text editor")
7776 (description "While aiming at simplicity and ease of use, gedit is a
7777 powerful general purpose text editor.")
7778 (license license:gpl2+)))
7780 (define-public zenity
7786 (uri (string-append "mirror://gnome/sources/zenity/"
7787 (version-major+minor version) "/"
7788 "zenity-" version ".tar.xz"))
7791 "0czq2vx636xbvg7zbdqkxq41zgm7v1h048awy0cgls0q1hgcmmxh"))))
7792 (build-system meson-build-system)
7794 (list #:phases #~(modify-phases %standard-phases
7795 (add-after 'unpack 'disable-gtk-update-icon-cache
7796 ;; The gtk-update-icon-cache tool is only run when
7797 ;; DESTDIR is unset.
7799 (setenv "DESTDIR" "/"))))))
7800 (native-inputs (list gettext-minimal itstool pkg-config))
7801 (inputs (list gtk+))
7802 (synopsis "Display graphical dialog boxes from shell scripts")
7803 (home-page "https://www.gnome.org")
7805 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7806 to display dialog boxes from the commandline and shell scripts.")
7807 (license license:lgpl2.0+)))
7809 (define-public mutter
7815 (uri (string-append "mirror://gnome/sources/" name "/"
7816 (version-major version) "/"
7817 name "-" version ".tar.xz"))
7820 "0h1ak3201mdc2qbf67fhcn801ddp33hm0f0c52zis1l7s6ipyb62"))))
7821 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7822 ;; versions of cogl and clutter. As a result, many of the inputs,
7823 ;; propagated-inputs, and configure flags used in cogl and clutter are
7824 ;; needed here as well.
7825 (build-system meson-build-system)
7828 #:imported-modules `(,@%meson-build-system-modules
7829 (guix build syscalls))
7830 #:modules '((guix build meson-build-system)
7831 (guix build syscalls)
7837 ;; Otherwise, the RUNPATH will lack the final path component.
7838 (string-append "-Dc_link_args=-Wl,-rpath="
7840 #$output "/lib/mutter-9")
7841 ;; Disable systemd support.
7843 ;; The following flags are needed for the bundled clutter
7844 (string-append "-Dxwayland_path="
7845 (search-input-file %build-inputs "bin/Xwayland"))
7846 ;; the remaining flags are needed for the bundled cogl
7847 (string-append "-Dopengl_libname="
7848 (search-input-file %build-inputs "lib/libGL.so"))
7849 (string-append "-Dgles2_libname="
7850 (search-input-file %build-inputs "lib/libGLESv2.so"))
7851 "-Degl_device=true" ;false by default
7852 "-Dwayland_eglstream=true") ;false by default
7853 #:test-options '(list "--verbose")
7855 #~(modify-phases %standard-phases
7856 (add-after 'unpack 'adjust-runpath-linker-directives
7858 ;; By default Mutter uses RPATH instead of RUNPATH, which our
7859 ;; customized linker script makes use of. Some libraries are
7860 ;; also installed under lib/mutter-10 and need to be added to
7862 (substitute* "meson.build"
7863 (("'-Wl,--disable-new-dtags'")
7864 (string-append "'-Wl,-rpath=" #$output "/lib/mutter-10'")))))
7865 (add-after 'unpack 'patch-dlopen-calls
7866 (lambda* (#:key inputs #:allow-other-keys)
7867 (substitute* "src/wayland/meta-wayland-egl-stream.c"
7868 (("libnvidia-egl-wayland.so.1")
7869 (search-input-file inputs "lib/libnvidia-egl-wayland.so.1")))))
7870 (add-before 'configure 'set-udev-dir
7872 (setenv "PKG_CONFIG_UDEV_UDEVDIR"
7873 (string-append #$output "/lib/udev"))))
7874 (add-after 'unpack 'disable-problematic-tests
7876 ;; The native-headless test hangs due to attempting to use audio,
7877 ;; unavailable in the container.
7878 ;; Note: the following sed expression deletes the whole test(...)
7879 ;; expression paragraph. For an explanation, see: info '(sed)
7880 ;; Multiline techniques'.
7881 (invoke "sed" "/./{H;$!d} ; x ; s/^.*native-headless.*$//"
7882 "-i" "src/tests/meson.build")
7883 ;; Timeline tests may unexpectedly fail on missed frames, so
7884 ;; let's disable them as well.
7885 ;; See <https://gitlab.gnome.org/GNOME/mutter/-/issues/2125>
7886 (substitute* "src/tests/clutter/conform/meson.build"
7887 (("'timeline.*',") ""))))
7889 (lambda* (#:key tests? test-options parallel-tests?
7892 ;; Setup (see the 'test-mutter' CI target at
7893 ;; https://gitlab.gnome.org/GNOME/mutter/-/raw/main/.gitlab-ci.yml).
7894 (setenv "HOME" "/tmp")
7895 (setenv "XDG_RUNTIME_DIR" (string-append (getcwd)
7897 (mkdir (getenv "XDG_RUNTIME_DIR"))
7898 (chmod (getenv "XDG_RUNTIME_DIR") #o700)
7900 (setenv "GSETTINGS_SCHEMA_DIR" "data")
7901 (setenv "MUTTER_DEBUG_DUMMY_MODE_SPECS" "800x600@10.0")
7902 (setenv "PIPEWIRE_DEBUG" "2")
7903 (setenv "PIPEWIRE_LOG" "meson-logs/pipewire.log")
7904 (setenv "XVFB_SERVER_ARGS" "+iglx -noreset")
7905 (setenv "G_SLICE" "always-malloc")
7906 (setenv "MALLOC_CHECK" "3")
7907 (setenv "NO_AT_BRIDGE" "1")
7908 ;; This is needed, otherwise the "mutter:core+mutter/unit /
7909 ;; anonymous-file" test would fail (see:
7910 ;; https://gitlab.gnome.org/GNOME/mutter/-/issues/2017).
7911 (setenv "CI_JOB_ID" "1")
7913 (invoke "glib-compile-schemas" (getenv "GSETTINGS_SCHEMA_DIR"))
7914 (mkdir-p (getenv "XDG_RUNTIME_DIR"))
7915 (chmod (getenv "XDG_RUNTIME_DIR") #o755)
7916 (invoke "pipewire" "--version") ;check for pipewire
7917 (system "pipewire &") ;always returns 0 due to forking
7919 (setenv "MESON_TESTTHREADS"
7921 (number->string (parallel-job-count))
7923 (match (primitive-fork)
7925 (set-child-subreaper!)
7926 ;; Use tini so that signals are properly handled and
7927 ;; doubly-forked processes get reaped; otherwise,
7928 ;; python-dbusmock would waste time polling for the dbus
7929 ;; processes it spawns to be reaped, in vain.
7930 (apply execlp "tini" "--"
7931 "dbus-run-session" "--"
7932 "xvfb-run" "-a" "-s" (getenv "XVFB_SERVER_ARGS")
7933 "meson" "test" "-t" "0" "--print-errorlogs"
7936 (match (waitpid pid)
7938 (unless (zero? status)
7939 (error "`meson test' exited with status"
7942 (list desktop-file-utils ;for update-desktop-database
7943 `(,glib "bin") ;for glib-compile-schemas, etc.
7944 gobject-introspection
7952 wayland-protocols-next
7954 ;; Warnings are configured to be fatal during the tests; add an icon
7955 ;; theme to please libxcursor.
7957 libxcursor ;for XCURSOR_PATH
7962 tini)) ;acting as init (zombie reaper)
7964 (list gsettings-desktop-schemas-next ;required by libmutter.pc
7965 gtk+ ;required by libmutter.pc
7966 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7987 (list egl-wayland ;for wayland-eglstream-protocols
7990 gnome-settings-daemon
8001 startup-notification
8005 xorg-server-xwayland
8007 (synopsis "Window and compositing manager")
8008 (home-page "https://www.gnome.org")
8010 "Mutter is a window and compositing manager that displays and manages your
8011 desktop via OpenGL. Mutter combines a sophisticated display engine using the
8012 Clutter toolkit with solid window-management logic inherited from the Metacity
8014 (license license:gpl2+)))
8016 (define-public gnome-online-accounts
8018 (name "gnome-online-accounts")
8022 (uri (string-append "mirror://gnome/sources/" name "/"
8023 (version-major+minor version) "/"
8024 name "-" version ".tar.xz"))
8027 "15zzzndbfba8a497vxb6cmy1y22l3lfn4sx9s9r59kwzd83i6fxn"))))
8028 (build-system meson-build-system)
8033 #~(modify-phases %standard-phases
8034 (add-before 'install 'disable-gtk-update-icon-cache
8036 (setenv "DESTDIR" "/"))))))
8038 (list gettext-minimal
8039 `(,glib "bin") ; for glib-compile-schemas, etc.
8040 gobject-introspection
8045 (list glib ; required by goa-1.0.pc
8046 gtk+)) ; required by goa-backend-1.0.pc
8055 (synopsis "Single sign-on framework for GNOME")
8056 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
8058 "GNOME Online Accounts provides interfaces so that applications and
8059 libraries in GNOME can access the user's online accounts. It has providers
8060 for Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare,
8061 Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
8062 (license license:lgpl2.0+)))
8064 (define-public gnome-online-accounts-3.44
8066 (inherit gnome-online-accounts)
8067 (name "gnome-online-accounts")
8071 (uri (string-append "mirror://gnome/sources/" name "/"
8072 (version-major+minor version) "/"
8073 name "-" version ".tar.xz"))
8076 "0hkkxa3zqyl0i4kw1p3ak4alwxw4wydh9al6fzwbcdgl0r0ms79q"))))
8077 (build-system glib-or-gtk-build-system)
8078 (arguments (substitute-keyword-arguments
8079 (strip-keyword-arguments
8081 (package-arguments gnome-online-accounts))
8083 #~(modify-phases #$phases
8084 (delete 'disable-gtk-update-icon-cache)))))
8085 (inputs (modify-inputs (package-inputs gnome-online-accounts)
8086 (replace "rest" rest)
8087 (replace "webkitgtk" webkitgtk-with-libsoup2)))))
8089 (define-public evolution-data-server
8091 (name "evolution-data-server")
8096 (uri (string-append "mirror://gnome/sources/" name "/"
8097 (version-major+minor version) "/"
8098 name "-" version ".tar.xz"))
8100 (base32 "1aydynpc9qx2a5xlrvc3xzfq3d3rhf15mqr8m6splgqqb84jiyp5"))))
8101 (build-system cmake-build-system)
8105 #~(let* ((lib (string-append #$output "/lib"))
8106 (runpaths (map (lambda (s)
8107 (string-append lib "/evolution-data-server/" s))
8108 '("addressbook-backends" "calendar-backends"
8109 "camel-providers" "credential-modules"
8110 "registry-modules"))))
8111 (list "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
8112 "-DENABLE_VALA_BINDINGS=ON"
8113 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
8114 (string-append lib "/evolution-data-server;")
8115 (string-join runpaths ";"))
8116 "-DENABLE_INTROSPECTION=ON" ;required for Vala bindings
8117 "-DENABLE_OAUTH2_WEBKITGTK4=OFF" ;requires webkitgtk-next
8118 "-DWITH_PHONENUMBER=ON"))
8120 #~(modify-phases %standard-phases
8121 (add-after 'unpack 'disable-failing-tests
8123 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
8124 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
8125 (delete-file-recursively "tests/book-migration")
8126 (substitute* "tests/CMakeLists.txt"
8127 (("add_subdirectory\\(book-migration\\)") ""))))
8128 (add-after 'unpack 'patch-paths
8130 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
8131 "tests/libedata-book/data-test-utils.c"
8132 "tests/libedata-book/test-book-cache-utils.c"
8133 "tests/libedata-cal/test-cal-cache-utils.c")
8134 (("/bin/rm") (which "rm")))))
8135 (add-before 'configure 'dont-override-rpath
8137 (substitute* "CMakeLists.txt"
8138 ;; CMakeLists.txt hard-codes runpath to just the libdir.
8139 ;; Remove it so the configure flag is respected.
8140 (("SET\\(CMAKE_INSTALL_RPATH .*") "")))))))
8142 (list `(,glib "bin") ; for glib-mkenums, etc.
8143 gobject-introspection
8145 gsettings-desktop-schemas
8152 ;; These are all in the Requires field of .pc files.
8166 gnome-online-accounts
8173 pango-next ;remove after it's the default
8175 (synopsis "Store address books and calendars")
8176 (home-page "https://wiki.gnome.org/Apps/Evolution")
8178 "This package provides a unified backend for programs that work with
8179 contacts, tasks, and calendar information. It was originally developed for
8180 Evolution (hence the name), but is now used by other packages as well.")
8181 (license license:lgpl2.0)))
8183 ;;; This version can be used for projects with dependencies stuck on libsoup2.
8184 (define-public evolution-data-server-3.44
8186 (inherit evolution-data-server)
8187 (name "evolution-data-server")
8192 (uri (string-append "mirror://gnome/sources/" name "/"
8193 (version-major+minor version) "/"
8194 name "-" version ".tar.xz"))
8196 (base32 "1sxjrjr31wqbp9g4pf6dwj8rc4mi7c5fbfd489ha92ym7246bin0"))))
8198 (modify-inputs (package-inputs evolution-data-server)
8199 (replace "gnome-online-accounts" gnome-online-accounts-3.44)
8200 (replace "libgweather4" libgweather)
8201 (replace "webkitgtk" webkitgtk-with-libsoup2)))
8203 (modify-inputs (package-propagated-inputs evolution-data-server)
8205 (replace "libsoup" libsoup-minimal-2)))))
8207 (define-public caribou
8213 (uri (string-append "mirror://gnome/sources/" name "/"
8214 (version-major+minor version) "/"
8215 name "-" version ".tar.xz"))
8218 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
8219 (build-system glib-or-gtk-build-system)
8222 (modify-phases %standard-phases
8225 (lambda* (#:key outputs #:allow-other-keys)
8226 (let ((out (assoc-ref outputs "out")))
8227 ;; Use absolute shared library path in Caribou-1.0.typelib.
8228 (substitute* "libcaribou/Makefile"
8229 (("--shared-library=libcaribou.so")
8230 (string-append "--shared-library="
8231 out "/lib/libcaribou.so")))
8233 (add-after 'install 'wrap-programs
8234 (lambda* (#:key outputs #:allow-other-keys)
8235 (let* ((out (assoc-ref outputs "out"))
8236 (python-path (getenv "GUIX_PYTHONPATH"))
8237 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8241 `("GUIX_PYTHONPATH" ":" prefix (,python-path))
8242 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8243 (list (string-append out "/bin/caribou-preferences")
8244 (string-append out "/libexec/antler-keyboard"))))
8247 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8248 ("gobject-introspection" ,gobject-introspection)
8249 ("intltool" ,intltool)
8250 ("pkg-config" ,pkg-config)
8253 ("xsltproc" ,libxslt)))
8255 ;; caribou-1.0.pc refers to all these.
8256 (list libgee libxklavier libxtst gtk+))
8258 `(("clutter" ,clutter)
8261 ("python-pygobject" ,python-pygobject)))
8262 (synopsis "Text entry and UI navigation application")
8263 (home-page "https://wiki.gnome.org/Projects/Caribou")
8265 "Caribou is an input assistive technology intended for switch and pointer
8267 (license license:lgpl2.1)))
8269 (define-public network-manager
8271 (name "network-manager")
8275 (uri (string-append "mirror://gnome/sources/NetworkManager/"
8276 (version-major+minor version) "/"
8277 "NetworkManager-" version ".tar.xz"))
8278 (patches (search-patches "network-manager-plugin-path.patch"
8279 "network-manager-meson.patch"))
8282 "0v5a5fw1zwa94ksz6d7hyj14wwdxzmswgm81ryhxmyn3nrcf1akg"))))
8283 (build-system meson-build-system)
8285 "doc")) ; 8 MiB of gtk-doc HTML
8290 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
8292 (string-append "-Dc_link_args=-Wl,-rpath="
8294 #$output "/lib/NetworkManager/" #$version)
8295 "-Dsystemd_journal=false"
8296 "-Dsession_tracking=elogind"
8297 "-Dsuspend_resume=elogind"
8298 "-Dsystemdsystemunitdir=no"
8299 "-Dsession_tracking_consolekit=false"
8308 "--localstatedir=/var"
8309 (string-append "-Dudev_dir="
8310 #$output "/lib/udev")
8311 (string-append "-Ddbus_conf_dir="
8312 #$output "/etc/dbus-1/system.d")
8314 (string-append "-Ddhclient=" (search-input-file %build-inputs
8317 #~(modify-phases %standard-phases
8318 (add-after 'unpack 'patch-dlopen-call-to-libjansson.so
8319 (lambda* (#:key inputs #:allow-other-keys)
8320 (substitute* "src/libnm-glib-aux/nm-json-aux.c"
8321 (("(handle = dlopen\\()soname" _ head)
8323 head "\"" (search-input-file inputs
8324 "lib/libjansson.so") "\"")))))
8325 (add-before 'configure 'pre-configure
8327 ;; These tests try to test aspects of network-manager's
8328 ;; functionality within restricted containers, but they don't
8329 ;; cope with being already in the Guix build jail as that jail
8330 ;; lacks some features that they would like to proxy over (like
8332 (substitute* "src/core/tests/meson.build"
8333 ((".*test-l3cfg.*") ""))
8334 (substitute* "src/core/devices/tests/meson.build"
8335 ((".*test-acd.*") "")
8336 ((".*test-lldp.*") ""))
8337 (substitute* "src/core/platform/tests/meson.build"
8338 ((".*test-address-linux.*") "")
8339 ((".*test-cleanup-linux.*") "")
8340 ((".*test-link-linux.*") "")
8341 ((".*test-lldp.*") "")
8342 ((".*test-route-linux.*") "")
8343 ((".*test-tc-linux.*") ""))))
8344 (add-after 'unpack 'patch-docbook-xml
8345 (lambda* (#:key inputs #:allow-other-keys)
8346 (substitute* (find-files "." ".*\\.(xsl|xml)")
8347 (("http://.*/docbookx\\.dtd")
8348 (search-input-file inputs "xml/dtd/docbook/docbookx.dtd")))))
8349 (add-before 'check 'pre-check
8351 ;; For the missing /etc/machine-id.
8352 (setenv "DBUS_FATAL_WARNINGS" "0")))
8353 (add-before 'install 'no-polkit-magic
8354 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
8356 (setenv "PKEXEC_UID" "something")))
8357 (add-after 'install 'move-doc
8359 (mkdir-p (string-append #$output:doc "/share"))
8360 (for-each (lambda (directory)
8361 (copy-recursively (string-append #$output directory)
8362 (string-append #$output:doc
8364 (delete-file-recursively
8365 (string-append #$output directory)))
8366 '("/share/doc" "/share/gtk-doc")))))))
8373 `(,glib "bin") ;for gdbus-codegen
8374 gobject-introspection
8395 iwd ;wpa_supplicant alternative
8403 mobile-broadband-provider-info
8405 newt ;for the 'nmtui' console interface
8406 openresolv ;alternative resolv.conf manager
8411 (synopsis "Network connection manager")
8412 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8414 "NetworkManager is a system network service that manages your network
8415 devices and connections, attempting to keep active network connectivity when
8416 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
8417 devices, and provides VPN integration with a variety of different VPN
8419 ;; “This NetworkManager project consists of the daemon, client tools, and
8420 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
8422 (license (list license:gpl2+
8424 (properties '((upstream-name . "NetworkManager")))))
8426 (define-public network-manager-openvpn
8428 (name "network-manager-openvpn")
8433 "mirror://gnome/sources/NetworkManager-openvpn/"
8434 (version-major+minor version)
8435 "/NetworkManager-openvpn-" version ".tar.xz"))
8438 "00fiyjbp42pdv5h2vdkzxd2rw32ikcinjgxrzdxak61kgw8d8iap"))))
8439 (build-system gnu-build-system)
8442 #:configure-flags #~(list "--enable-absolute-paths"
8443 "--localstatedir=/var"
8446 #~(modify-phases %standard-phases
8447 (add-after 'configure 'patch-path
8448 (lambda* (#:key inputs #:allow-other-keys #:rest args)
8449 (let* ((ovpn (search-input-file inputs "/sbin/openvpn"))
8450 (modprobe (search-input-file inputs "/bin/modprobe"))
8451 (pretty-ovpn (string-append "\"" ovpn "\"")))
8455 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
8456 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
8457 (("\"/sbin/openvpn\"") pretty-ovpn)
8458 (("/sbin/modprobe") modprobe)))
8459 '("src/nm-openvpn-service.c"
8460 "properties/nm-openvpn-editor.c"))))))))
8473 pango-next)) ;remove after it's the default
8474 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8475 (synopsis "OpenVPN plug-in for NetworkManager")
8477 "This extension of NetworkManager allows it to take care of connections
8478 to virtual private networks (VPNs) via OpenVPN.")
8479 (license license:gpl2+)
8480 (properties `((upstream-name . "NetworkManager-openvpn")))))
8482 (define-public network-manager-vpnc
8484 (name "network-manager-vpnc")
8489 "mirror://gnome/sources/NetworkManager-vpnc/"
8490 (version-major+minor version)
8491 "/NetworkManager-vpnc-" version ".tar.xz"))
8494 "1k7vkalslzmz8zvfy76k7z10b9krm7da917gwzyw7zf8afm32pnn"))))
8495 (build-system gnu-build-system)
8497 `(#:configure-flags '("--enable-absolute-paths"
8498 "--localstatedir=/var"
8501 (modify-phases %standard-phases
8502 (add-after 'configure 'patch-path
8503 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
8504 (let* ((vpnc (search-input-file inputs "/sbin/vpnc"))
8505 (modprobe (search-input-file inputs "/bin/modprobe"))
8506 (pretty-ovpn (string-append "\"" vpnc "\"")))
8507 (substitute* "src/nm-vpnc-service.c"
8508 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
8509 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
8510 (("\"/sbin/vpnc\"") pretty-ovpn)
8511 (("/sbin/modprobe") modprobe))))))))
8513 (list `(,glib "bin")
8524 pango-next)) ;TODO: remove after it's the default
8525 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8526 (synopsis "VPNC plug-in for NetworkManager")
8528 "Support for configuring virtual private networks based on VPNC.
8529 Compatible with Cisco VPN concentrators configured to use IPsec.")
8530 (license license:gpl2+)
8531 (properties `((upstream-name . "NetworkManager-vpnc")))))
8533 (define-public network-manager-openconnect
8535 (name "network-manager-openconnect")
8540 "mirror://gnome/sources/NetworkManager-openconnect/"
8541 (version-major+minor version)
8542 "/NetworkManager-openconnect-" version ".tar.xz"))
8545 "1k6d6cv2c9v8gf0f2js6cklr3ijhaanbz0nhvlwy5n42bmwamvax"))))
8546 (build-system gnu-build-system)
8548 `(#:configure-flags '("--enable-absolute-paths"
8549 "--localstatedir=/var"
8552 (modify-phases %standard-phases
8553 (add-after 'configure 'patch-path
8554 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
8555 (let* ((openconnect (search-input-file inputs
8556 "/sbin/openconnect"))
8557 (modprobe (search-input-file inputs "/bin/modprobe"))
8558 (pretty-ovpn (string-append "\"" openconnect "\"")))
8559 (substitute* "src/nm-openconnect-service.c"
8560 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
8561 (("/sbin/modprobe") modprobe))))))))
8563 (list `(,glib "bin")
8577 pango-next)) ;TODO: remove after it's the default
8578 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8579 (synopsis "OpenConnect plug-in for NetworkManager")
8581 "This extension of NetworkManager allows it to take care of connections
8582 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
8583 Cisco's AnyConnect SSL VPN.")
8584 (license license:gpl2+)
8585 (properties `((upstream-name . "NetworkManager-openconnect")
8587 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8588 ;; file refers to account "nm-openconnect". Specify it here
8589 ;; so that 'network-manager-service-type' creates it.
8590 (user-accounts . ("nm-openconnect"))))))
8592 (define-public mobile-broadband-provider-info
8594 (name "mobile-broadband-provider-info")
8595 (version "20220725")
8599 "mirror://gnome/sources/"
8600 "mobile-broadband-provider-info/" version "/"
8601 "mobile-broadband-provider-info-" version ".tar.xz"))
8604 "1k9acdnl4mr6aqh11xbklv2gyww82jddaqmw4aqdzwl7q80swia8"))))
8605 (build-system gnu-build-system)
8607 `(#:tests? #f)) ; no tests
8608 (native-inputs (list libxslt))
8609 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8610 (synopsis "Database of broadband connection configuration")
8611 (description "Database of broadband connection configuration.")
8612 (license license:public-domain)))
8614 (define-public network-manager-applet
8616 (name "network-manager-applet")
8620 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8621 (version-major+minor version) "/"
8622 "network-manager-applet-" version ".tar.xz"))
8625 "17742kgmbj9w545zwnirgr0i40zl0xzp8jx7b8c1krp93mc4h0sw"))))
8626 (build-system meson-build-system)
8630 '("-Dappindicator=yes")))
8632 (list gettext-minimal
8633 `(,glib "bin") ; for glib-compile-resources, etc.
8634 gobject-introspection
8638 ;; libnm-gtk.pc refers to all these.
8639 (list dbus-glib gtk+ network-manager
8640 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8649 jansson ; for team support
8651 (synopsis "Applet for managing network connections")
8652 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8654 "This package contains a systray applet for NetworkManager. It displays
8655 the available networks and allows users to easily switch between them.")
8656 (license license:gpl2+)))
8658 (define-public libxml++
8666 (url "https://github.com/libxmlplusplus/libxmlplusplus")
8668 (file-name (git-file-name name version))
8670 (base32 "13jlhz57yjxapplflm8aarczxv6ll3d336y1446mr5n4ylkcc1xz"))))
8671 (build-system gnu-build-system)
8675 #~(modify-phases %standard-phases
8676 (add-after 'unpack 'fix-documentation
8677 (lambda* (#:key native-inputs inputs #:allow-other-keys)
8678 (let* ((xsl-version #$(package-version docbook-xsl))
8679 (xsldoc (string-append "xml/xsl/docbook-xsl-"
8681 (substitute* '("examples/dom_xpath/example.xml"
8682 "docs/manual/libxml++_without_code.xml")
8683 (("http://.*/docbookx\\.dtd")
8684 (search-input-file (or native-inputs inputs)
8685 "xml/dtd/docbook/docbookx.dtd")))
8686 (setenv "SGML_CATALOG_FILES"
8687 (search-input-file (or native-inputs inputs)
8689 xsldoc "/catalog.xml")))
8690 (substitute* "docs/manual/docbook-customisation.xsl"
8691 (("http://docbook.sourceforge.net/release/xsl\
8692 /current/html/chunk.xsl")
8693 (search-input-file (or native-inputs inputs)
8694 (string-append xsldoc
8695 "/html/chunk.xsl"))))))))))
8697 (list libxml2)) ;required by .pc file
8710 (home-page "https://github.com/libxmlplusplus/libxmlplusplus/")
8711 (synopsis "C++ bindings to the libxml2 XML parser library")
8713 "This package provides a C++ interface to the libxml2 XML parser
8715 (license license:lgpl2.1+)))
8717 ;; This is the last release providing the 2.6 API, hence the name.
8718 ;; This is needed by tascam-gtk
8719 (define-public libxml++-2
8728 (url "https://github.com/libxmlplusplus/libxmlplusplus")
8730 (file-name (git-file-name name version))
8732 (base32 "05slsbhc25z7kwlc28ydl3dfyp7rgbmz1fxj9z6gcvpg3hkghj2m"))))
8733 (propagated-inputs (modify-inputs (package-propagated-inputs libxml++)
8734 (append glibmm-2.64)))))
8742 (uri (string-append "mirror://gnome/sources/" name "/"
8743 (version-major version) "/"
8744 name "-" version ".tar.xz"))
8747 "0m9qmm3vm81jmqlc30a1fb79hsr4l4lpiw0zjxww3gipd6bsqa53"))
8750 "gdm-default-session.patch"
8751 "gdm-elogind-support.patch"
8752 "gdm-remove-hardcoded-xwayland-path.patch"
8753 "gdm-wayland-session-wrapper-from-env.patch"
8754 "gdm-pass-gdk-pixbuf-loader-env.patch"))))
8755 (build-system meson-build-system)
8761 "-Dplymouth=disabled"
8762 "-Dsystemd-journal=false"
8764 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8765 ;; instead of having to replace it (i.e., stopping the mingetty
8766 ;; service for TTY 1 before starting GDM).
8769 ;; Use elogind instead of systemd.
8770 "-Dlogind-provider=elogind"
8771 "-Dsystemdsystemunitdir=no"
8772 "-Dsystemduserunitdir=no"
8774 ;; Use '/etc/environment' for locale settings instead of the
8775 ;; systemd-specific '/etc/locale.conf'.
8776 "-Dlang-file=/etc/environment"
8778 (string-append "-Dudev-dir=" #$output "/lib/udev")
8780 "--localstatedir=/var"
8781 (string-append "-Ddefault-path="
8782 (string-join '("/run/setuid-programs"
8783 "/run/current-system/profile/bin"
8784 "/run/current-system/profile/sbin")
8786 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8787 ;; XDG_DATA_DIRS so that it finds its schemas.
8788 "--sbindir" (string-append #$output "/bin"))
8790 #~(modify-phases %standard-phases
8791 (add-after 'unpack 'patch-paths
8792 (lambda* (#:key inputs #:allow-other-keys)
8793 (substitute* "daemon/gdm-session.c"
8794 (("dbus-run-session")
8795 (search-input-file inputs "bin/dbus-run-session")))))
8796 (add-before 'configure 'pre-configure
8797 (lambda* (#:key inputs #:allow-other-keys)
8798 ;; We don't have <systemd/sd-daemon.h>.
8799 (substitute* '("common/gdm-log.c"
8800 "daemon/gdm-server.c"
8801 "daemon/gdm-session-worker.c"
8802 "daemon/gdm-session-worker-job.c")
8803 (("#include <systemd/sd-daemon\\.h>") ""))
8804 ;; Use elogind for sd-login.
8805 (substitute* '("common/gdm-common.c"
8806 "daemon/gdm-local-display-factory.c"
8807 "daemon/gdm-manager.c"
8808 "libgdm/gdm-user-switching.c")
8809 (("#include <systemd/sd-login\\.h>")
8810 "#include <elogind/sd-login.h>"))
8811 ;; Look for system-installed sessions in
8812 ;; /run/current-system/profile/share.
8813 (substitute* '("libgdm/gdm-sessions.c"
8814 "daemon/gdm-session.c"
8815 "daemon/gdm-display.c"
8816 "daemon/gdm-launch-environment.c")
8818 "\"/run/current-system/profile/share/x")
8819 (("DATADIR \"/wayland")
8820 "\"/run/current-system/profile/share/wayland")
8821 (("DATADIR \"/gnome")
8822 "\"/run/current-system/profile/share/gnome"))
8823 (let ((propagate '("GDM_CUSTOM_CONF"
8827 ;; XXX: Remove this once GNOME Shell is
8828 ;; a dependency of GDM.
8830 (substitute* "daemon/gdm-session.c"
8831 (("set_up_session_environment \\(self\\);")
8832 (apply string-append
8833 "set_up_session_environment (self);\n"
8836 "gdm_session_set_environment_variable "
8837 "(self, \"" name "\","
8838 "g_getenv (\"" name "\"));\n"))
8840 ;; Find the configuration file using an environment variable.
8841 (substitute* '("common/gdm-settings.c")
8842 (("GDM_CUSTOM_CONF")
8843 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8844 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8845 " : GDM_CUSTOM_CONF)")))
8846 ;; Use service-supplied path to X.
8847 (substitute* '("daemon/gdm-server.c")
8848 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8849 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8850 (substitute* '("daemon/gdm-wayland-session.c"
8851 "daemon/gdm-x-session.c")
8852 (("\"dbus-daemon\"")
8853 "g_getenv (\"GDM_DBUS_DAEMON\")")
8855 "g_getenv (\"GDM_X_SERVER\")")
8856 (("GDMCONFDIR \"/Xsession\"")
8857 "g_getenv (\"GDM_X_SESSION\")"))
8858 ;; Use an absolute path for GNOME Session.
8859 (substitute* "daemon/gdm-launch-environment.c"
8860 (("\"gnome-session\"")
8862 (search-input-file inputs "bin/gnome-session"))))
8863 ;; Do not automatically select the placeholder session.
8864 (substitute* "daemon/gdm-session.c"
8865 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8866 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8867 "(g_strcmp0(search_dirs[i], \""
8868 #$output "/share/gdm/BuiltInSessions/"
8870 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8871 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8872 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))))
8873 (add-before 'install 'install-logo
8874 (lambda* (#:key inputs #:allow-other-keys)
8875 (let ((icon (search-input-file inputs "share/icons/hicolor/\
8876 scalable/apps/guix-white-icon.svg"))
8877 (schema (string-append #$output "/share/glib-2.0/schemas/\
8878 org.gnome.login-screen.gschema.override")))
8879 (mkdir-p (dirname schema))
8880 (with-output-to-file schema
8883 [org.gnome.login-screen]
8884 logo='~a'~%" icon))))))
8885 ;; GDM requires that there be at least one desktop entry
8886 ;; file. This phase installs a hidden one that simply
8887 ;; fails. This enables users to use GDM with a
8888 ;; '~/.xsession' script with no other desktop entry files.
8889 ;; See <https://bugs.gnu.org/35068>.
8890 (add-after 'install 'install-placeholder-desktop-entry
8892 (let* ((sessions (string-append #$output
8893 "/share/gdm/BuiltInSessions"))
8894 (fail (string-append sessions "/fail.desktop")))
8896 (with-output-to-file fail
8900 '("[Desktop Entry]\n"
8902 "Type=Application\n"
8904 "Comment=This session fails immediately.\n"
8906 "Exec=false\n")))))))
8907 ;; GDM needs GNOME Session to run these applications. We link
8908 ;; their autostart files in `share/gdm/greeter/autostart'
8909 ;; because GDM explicitly tells GNOME Session to look there.
8911 ;; XXX: GNOME Shell should be linked here too, but currently
8912 ;; GNOME Shell depends on GDM.
8913 (add-after 'install 'link-autostart-files
8914 (lambda* (#:key inputs #:allow-other-keys)
8915 (let ((autostart (string-append #$output "/share/gdm/"
8916 "greeter/autostart"))
8917 (settings #$(this-package-input "gnome-settings-daemon")))
8919 (with-directory-excursion autostart
8920 (for-each (lambda (desktop)
8921 (symlink desktop (basename desktop)))
8923 (string-append settings "/etc/xdg"))))))))))
8925 (list `(,glib "bin") ;for glib-compile-schemas, etc.
8927 gobject-introspection
8934 (list accountsservice
8940 gnome-settings-daemon
8946 (synopsis "Display manager for GNOME")
8947 (home-page "https://wiki.gnome.org/Projects/GDM/")
8949 "GNOME Display Manager is a system service that is responsible for
8950 providing graphical log-ins and managing local and remote displays.")
8951 (license license:gpl2+)))
8953 (define-public libgtop
8959 (uri (string-append "mirror://gnome/sources/libgtop/"
8960 (version-major+minor version) "/"
8961 "libgtop-" version ".tar.xz"))
8964 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8965 (build-system gnu-build-system)
8967 (list gobject-introspection intltool perl pkg-config))
8969 (list glib)) ; required by libgtop-2.0.pc
8970 (synopsis "Portable system access library")
8971 (home-page "https://www.gnome.org/")
8973 "LibGTop is a library to get system specific data such as CPU and memory
8974 usage and information about running processes.")
8975 (license license:gpl2+)))
8977 (define-public gnome-bluetooth
8979 (name "gnome-bluetooth")
8983 (uri (string-append "mirror://gnome/sources/gnome-bluetooth/"
8984 (version-major version) "/"
8985 "gnome-bluetooth-" version ".tar.xz"))
8988 "1p5wq3rh9p7fhka57qcds6lvphd26yyc18ilncx95jbcvcfcyvqx"))))
8989 (build-system meson-build-system)
8991 (list gettext-minimal
8992 gobject-introspection
8993 `(,glib "bin") ;for gdbus-codegen, etc.
8999 ;; These are all required by the gnome-bluetooth .pc file.
9007 ;; TODO: Delete pango-next after it's the default.
9011 (synopsis "GNOME Bluetooth subsystem")
9012 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
9014 "This package contains tools for managing and manipulating Bluetooth
9015 devices using the GNOME desktop.")
9016 (license license:lgpl2.1+)))
9018 (define-public gnome-control-center
9020 (name "gnome-control-center")
9024 (uri (string-append "mirror://gnome/sources/" name "/"
9025 (version-major version) "/"
9026 name "-" version ".tar.xz"))
9029 "0zhw6hcrrcpq1zjkyzr5ipznxnzd2aczrqd7n2y7xbz21mjy62nf"))))
9030 (build-system meson-build-system)
9035 #~(modify-phases %standard-phases
9036 (add-before 'configure 'patch-paths
9037 (lambda* (#:key inputs #:allow-other-keys)
9038 (substitute* "panels/datetime/tz.h"
9039 (("/usr/share/zoneinfo/zone.tab")
9040 (search-input-file inputs "share/zoneinfo/zone.tab")))
9041 (substitute* "tests/datetime/test-endianess.c"
9042 (("/usr/share/locale")
9043 (search-input-directory inputs "share/locale")))
9044 (substitute* "panels/region/cc-region-panel.c"
9045 (("\"gkbd-keyboard-display")
9046 (string-append "\"" (search-input-file
9047 inputs "bin/gkbd-keyboard-display"))))
9048 (substitute* '("panels/network/net-device-bluetooth.c"
9049 "panels/network/net-device-mobile.c"
9050 "panels/network/connection-editor/net-connection-editor.c")
9051 (("\"nm-connection-editor")
9052 (string-append "\"" (search-input-file
9053 inputs "bin/nm-connection-editor"))))
9054 (substitute* "panels/user-accounts/run-passwd.c"
9055 (("/usr/bin/passwd")
9056 "/run/setuid-programs/passwd"))
9057 (substitute* "panels/info-overview/cc-info-overview-panel.c"
9058 (("DATADIR \"/gnome/gnome-version.xml\"")
9059 (format #f "~s" (search-input-file
9060 inputs "share/gnome/gnome-version.xml"))))))
9061 (add-after 'unpack 'skip-gtk-update-icon-cache
9062 ;; Don't create 'icon-theme.cache'.
9064 (substitute* "build-aux/meson/meson_post_install.py"
9065 (("gtk-update-icon-cache") (which "true"))))))))
9069 `(,glib "bin") ;for glib-mkenums, etc.
9074 xorg-server-for-tests))
9076 (list accountsservice
9083 gnome-online-accounts
9085 gnome-settings-daemon
9096 librsvg ;for loading SVG files
9103 network-manager-applet
9110 (synopsis "Utilities to configure the GNOME desktop")
9111 (home-page "https://www.gnome.org/")
9113 "This package contains configuration applets for the GNOME desktop,
9114 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
9115 properties, sound setup, desktop theme and background, user interface
9116 properties, screen resolution, and other GNOME parameters.")
9117 (license license:gpl2+)))
9119 (define-public gnome-shell
9121 (name "gnome-shell")
9125 (uri (string-append "mirror://gnome/sources/" name "/"
9126 (version-major version) "/"
9127 name "-" version ".tar.xz"))
9130 "0kn5fclciybp2fs38wd39hdz85y91pas0ckfa02pmyx91sbz4pw7"))))
9131 (build-system meson-build-system)
9133 (let ((disallowed-references
9134 (list (gexp-input glib "bin")
9135 (gexp-input libxslt)
9137 (gexp-input ruby-sass))))
9140 #:disallowed-references disallowed-references
9142 #~(list "-Dsystemd=false"
9143 ;; Otherwise, the RUNPATH will lack the final path component.
9144 (string-append "-Dc_link_args=-Wl,-rpath="
9145 #$output "/lib/gnome-shell")
9147 #:modules '((guix build meson-build-system)
9153 #~(modify-phases %standard-phases
9154 (add-after 'unpack 'fix-keysdir
9157 (string-append #$output
9158 "/share/gnome-control-center/keybindings")))
9159 (substitute* "meson.build"
9161 (string-append "keysdir = '" keysdir "'\n"))))))
9162 (add-after 'unpack 'skip-gtk-update-icon-cache
9163 ;; Don't create 'icon-theme.cache'.
9165 (substitute* "meson.build"
9166 (("gtk_update_icon_cache: true")
9167 "gtk_update_icon_cache: false"))))
9168 (add-before 'configure 'record-absolute-file-names
9169 (lambda* (#:key inputs #:allow-other-keys)
9170 (let ((ibus-daemon (search-input-file inputs "bin/ibus-daemon"))
9171 (gkbd-keyboard-display
9172 (search-input-file inputs "bin/gkbd-keyboard-display")))
9173 (substitute* "js/misc/ibusManager.js"
9175 (string-append "'" ibus-daemon "'")))
9176 (substitute* "js/ui/status/keyboard.js"
9177 (("'gkbd-keyboard-display'")
9178 (string-append "'" gkbd-keyboard-display "'"))))))
9179 (add-before 'check 'pre-check
9180 (lambda* (#:key inputs #:allow-other-keys)
9181 ;; Tests require a running X server.
9182 (system "Xvfb :1 &")
9183 (setenv "DISPLAY" ":1")
9184 (setenv "HOME" "/tmp"))) ;to avoid "fatal" warnings
9185 (add-after 'install 'wrap-programs
9186 (lambda* (#:key inputs #:allow-other-keys)
9187 (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9190 (filter (lambda (item)
9191 (not (any (cut string-prefix? <> item)
9192 '#$disallowed-references)))
9193 (string-split (getenv "GUIX_PYTHONPATH") #\:))
9197 (wrap-program (string-append #$output "/bin/" prog)
9198 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9199 '("gnome-shell" "gnome-extensions-app"))
9200 (substitute* (string-append #$output "/share/gnome-shell/"
9201 "org.gnome.Shell.Extensions")
9202 (("imports\\.package\\.start" all)
9203 (string-append "'" gi-typelib-path "'.split(':').forEach("
9204 "path => imports.gi.GIRepository.Repository."
9205 "prepend_search_path(path));\n"
9209 (wrap-program (string-append #$output "/bin/" prog)
9210 `("GUIX_PYTHONPATH" ":" prefix (,python-path))
9211 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9212 '("gnome-shell-perf-tool")))))
9213 (add-after 'install 'rewire
9214 (lambda* (#:key inputs #:allow-other-keys)
9217 (call-with-output-file (string-append #$output
9221 printf '~a is deprecated. Use the \"gnome-extensions\" CLI or \
9222 \"gnome-extensions-app\" instead.\\n'"
9223 (search-input-file inputs "bin/bash")
9225 '("gnome-shell-extension-tool" "gnome-shell-extension-prefs"))))
9226 (replace 'glib-or-gtk-wrap
9227 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
9228 (lambda* (#:key inputs outputs #:allow-other-keys)
9229 ;; By default glib:bin et al. would end up in the XDG_DATA_DIRS
9230 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
9231 ;; phase. Fix that since we don't need these.
9233 (filter (match-lambda
9236 '#$disallowed-references))))
9238 #:outputs outputs))))))))
9242 `(,glib "bin") ;for glib-compile-schemas, etc.
9243 desktop-file-utils ;for update-desktop-database
9244 gobject-introspection
9253 xorg-server-for-tests))
9255 (list accountsservice
9258 evolution-data-server
9267 gnome-settings-daemon
9273 libgnomekbd ;for gkbd-keyboard-display
9279 network-manager-applet
9283 startup-notification
9286 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
9287 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
9290 (synopsis "Desktop shell for GNOME")
9291 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
9293 "GNOME Shell provides core user interface functions for the GNOME desktop,
9294 like switching to windows and launching applications.")
9295 (license license:gpl2+)))
9297 (define-public gtk-vnc
9305 (string-append "mirror://gnome/sources/" name "/"
9306 (version-major+minor version) "/"
9307 name "-" version ".tar.xz"))
9309 (base32 "1kpih1gnp3hmsx4l6pig10zn7gd3s5fwm0k6icax0n859sn669si"))))
9310 (build-system meson-build-system)
9312 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
9315 ;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
9316 ;; dependency on other platforms (FIXME).
9317 (if (target-x86-64?)
9320 (list gettext-minimal
9322 gobject-introspection
9330 (librsvg-for-system)))
9332 ;; These are all in Requires or Requires.private of the .pc files.
9342 (synopsis "VNC client viewer widget for GTK+")
9343 (description "GTK-VNC is a project providing client side APIs for the RFB
9344 protocol / VNC remote desktop technology. It is built using coroutines allowing
9345 it to be completely asynchronous while remaining single threaded. It provides a
9346 core C library, and bindings for Python (PyGTK).")
9347 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
9348 (license license:lgpl2.1+)))
9350 (define-public gnome-autoar
9352 (name "gnome-autoar")
9356 (uri (string-append "mirror://gnome/sources/" name "/"
9357 (version-major+minor version) "/"
9358 name "-" version ".tar.xz"))
9361 "124y4j3wgb6axgfzw9f00865r033fg7b0qy9qgfsp5ilan4hgpvv"))))
9362 (build-system meson-build-system)
9364 (list gobject-introspection `(,glib "bin") pkg-config))
9366 (list libarchive)) ; Required by gnome-autoar-0.pc
9369 (synopsis "Archives integration support for GNOME")
9370 (home-page "https://git.gnome.org/browse/gnome-autoar/")
9372 "GNOME Autoar is a library which makes creating and extracting archives
9373 easy, safe, and automatic.")
9374 (license license:lgpl2.1+)))
9376 (define-public tracker
9382 (uri (string-append "mirror://gnome/sources/tracker/"
9383 (version-major+minor version) "/"
9384 "tracker-" version ".tar.xz"))
9387 "0r144kdqxdzs51qn495vablzf1zxkhkk6imrlrzj9wiqwc2gg520"))))
9388 (build-system meson-build-system)
9392 ;; Otherwise, the RUNPATH will lack the final path component.
9393 (list (string-append "-Dc_link_args=-Wl,-rpath="
9394 (assoc-ref %outputs "out") "/lib:"
9395 (assoc-ref %outputs "out") "/lib/tracker-3.0")
9397 "-Dsystemd_user_services=false")
9399 (modify-phases %standard-phases
9400 (add-after 'unpack 'patch-paths
9401 (lambda* (#:key inputs #:allow-other-keys)
9402 (substitute* "utils/trackertestutils/__main__.py"
9404 (search-input-file inputs "bin/bash")))))
9405 (add-before 'configure 'set-shell
9407 (setenv "SHELL" (which "bash"))))
9408 (add-before 'configure 'fix-paths
9409 (lambda* (#:key inputs #:allow-other-keys)
9410 (let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
9411 (file (search-input-file inputs manpage)))
9412 (substitute* "docs/manpages/meson.build"
9413 (("/etc/asciidoc[^']+")
9416 (lambda* (#:key tests? #:allow-other-keys)
9418 ;; Some tests expect to write to $HOME.
9419 (setenv "HOME" "/tmp")
9420 (invoke "dbus-run-session" "--" "meson" "test"
9421 "--print-errorlogs")))))))
9423 (list gettext-minimal
9426 gobject-introspection
9429 gsettings-desktop-schemas
9444 ;; These are in Requires or Requires.private of tracker-sparql-3.0.pc.
9446 icu4c ;libunistring gets miner-miner-fs test to fail
9450 (synopsis "Metadata database, indexer and search tool")
9451 (home-page "https://wiki.gnome.org/Projects/Tracker")
9453 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
9455 It is a middleware component aimed at desktop application developers who want
9456 their apps to browse and search user content. It's not designed to be used
9457 directly by desktop users, but it provides a commandline tool named
9458 @command{tracker} for the adventurous.
9460 Tracker allows your application to instantly perform full-text searches across
9461 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
9462 example. This is achieved by indexing the user's home directory in the
9465 Tracker also allows your application to query and list content that the user
9466 has stored. For example, GNOME Music displays all the music files that are
9467 found by Tracker. This means that GNOME Music doesn't need to maintain a
9468 database of its own.
9470 If you need to go beyond simple searches, Tracker is also a linked data
9471 endpoint and it understands SPARQL.")
9472 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
9473 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
9474 ;; libstemmer is bsd-3 and the rest is gpl2+.
9475 (license (list license:gpl2+
9477 license:lgpl2.1+))))
9479 (define-public tracker-miners
9481 (name "tracker-miners")
9485 (uri (string-append "mirror://gnome/sources/tracker-miners/"
9486 (version-major+minor version)
9487 "/tracker-miners-" version ".tar.xz"))
9490 "151w6ljq1gk9idqfq9qs3w16vms91jnxy59c9kx6jaf0fb9cdp9y"))))
9491 (build-system meson-build-system)
9495 (list "-Dminer_rss=false" ; libgrss is required.
9496 ;; Ensure the RUNPATH contains all installed library locations.
9497 (string-append "-Dc_link_args=-Wl,-rpath="
9498 (assoc-ref %outputs "out")
9499 "/lib/tracker-miners-3.0")
9500 ;; TODO: Enable functional tests. Currently, the following error
9502 ;; Exception: The functional tests require DConf to be the default
9503 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
9504 "-Dfunctional_tests=false"
9505 "-Dsystemd_user_services=false")
9507 (modify-phases %standard-phases
9508 (add-before 'configure 'set-shell
9510 (setenv "SHELL" (which "bash"))))
9511 (add-before 'configure 'fix-paths
9512 (lambda* (#:key inputs #:allow-other-keys)
9513 (let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
9514 (file (search-input-file inputs manpage)))
9515 (substitute* "docs/manpages/meson.build"
9516 (("/etc/asciidoc[^']+")
9518 (add-before 'configure 'fix-tests
9519 (lambda* (#:key inputs #:allow-other-keys)
9520 ;; Disable those tests that require the functional_tests option
9521 ;; to be true and the UPower daemon to be started.
9522 (substitute* "examples/python/meson.build"
9523 (("foreach example_name:.*")
9524 "foreach example_name: []"))
9525 ;; Disable this test that is failing randomly:
9526 ;; https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/170.
9527 (substitute* "tests/libtracker-miner/meson.build"
9531 (lambda* (#:key tests? #:allow-other-keys)
9533 ;; Some tests expect to write to $HOME.
9534 (setenv "HOME" "/tmp")
9535 (setenv "LANG" "en_US.UTF-8")
9536 (invoke "dbus-run-session" "--" "meson" "test"
9538 ;; Do not run the slow test, which fail (see:
9539 ;; https://gitlab.gnome.org/GNOME/tracker-miners
9541 "--no-suite" "slow")))))))
9548 gsettings-desktop-schemas
9551 gobject-introspection
9583 (synopsis "Metadata database, indexer and search tool")
9584 (home-page "https://wiki.gnome.org/Projects/Tracker")
9586 "Tracker is an advanced framework for first class objects with associated
9587 metadata and tags. It provides a one stop solution for all metadata, tags,
9588 shared object databases, search tools and indexing.")
9589 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
9590 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
9591 (license (list license:gpl2+
9593 license:lgpl2.0+))))
9595 (define-public nautilus
9601 (uri (string-append "mirror://gnome/sources/" name "/"
9602 (version-major version) "/"
9603 name "-" version ".tar.xz"))
9606 "1cncyiyh79w1id6a6s2f0rxmgwl65lp4ml4afa0z35jrnwp2s8cr"))))
9607 (build-system meson-build-system)
9612 #~(modify-phases %standard-phases
9613 (add-after 'unpack 'disable-tracker-tests
9614 ;; The tracker test hangs in the build container (see:
9615 ;; https://gitlab.gnome.org/GNOME/nautilus/-/issues/2486).
9617 (substitute* "test/automated/displayless/meson.build"
9618 (("^foreach t: tracker_tests" all)
9619 (string-append "tracker_tests = []\n" all)))))
9620 (add-after 'unpack 'make-extensible
9622 (substitute* "src/nautilus-module.c"
9623 (("static gboolean initialized = FALSE;" all)
9624 (string-append all "
9625 const char *extension_path;
9626 char **extension_dirs, **d;
9629 (("load_module_dir \\(NAUTILUS_EXTENSIONDIR\\);" all)
9632 extension_path = g_getenv (\"NAUTILUS_EXTENSION_PATH\");
9635 extension_dirs = g_strsplit (extension_path, \":\", -1);
9636 for (d = extension_dirs; d != NULL && *d != NULL; d++)
9637 load_module_dir(*d);
9638 g_strfreev(extension_dirs);
9641 (add-after 'unpack 'skip-gtk-update-icon-cache
9642 ;; Don't create 'icon-theme.cache'.
9644 (substitute* "build-aux/meson/postinstall.py"
9645 (("gtk-update-icon-cache") "true"))))
9647 (add-after 'install 'check
9648 (assoc-ref %standard-phases 'check))
9649 (add-before 'check 'pre-check
9651 (setenv "HOME" "/tmp") ;some tests require a writable HOME
9652 (setenv "XDG_DATA_DIRS"
9653 (string-append (getenv "XDG_DATA_DIRS")
9654 ":" #$output "/share")))))))
9656 (list desktop-file-utils ;for update-desktop-database
9657 `(,glib "bin") ;for glib-mkenums, etc.
9659 gobject-introspection
9678 ;; XXX: gtk+ is required by libnautilus-extension.pc
9680 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
9682 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
9686 (native-search-paths
9687 (list (search-path-specification
9688 (variable "NAUTILUS_EXTENSION_PATH")
9689 (files '("lib/nautilus/site-extensions")))))
9690 (synopsis "File manager for GNOME")
9691 (home-page "https://wiki.gnome.org/Apps/Nautilus")
9693 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
9694 design and behaviour, giving the user a simple way to navigate and manage its
9696 (license license:gpl2+)))
9698 (define-public baobab
9705 "mirror://gnome/sources/" name "/"
9706 (version-major version) "/"
9707 name "-" version ".tar.xz"))
9710 "1p2hg8qxbvdfax9z4qjhdsxia93zrsdq58krx8zjnn5ipbkan6jb"))))
9711 (build-system meson-build-system)
9713 '(#:glib-or-gtk? #t))
9715 (list desktop-file-utils ;for update-desktop-database
9718 `(,gtk+ "bin") ;for gtk-update-icon-cache
9725 (list gtk libadwaita libhandy
9726 ;; XXX: Ensure pango-next is used instead of the equally propagated
9729 (synopsis "Disk usage analyzer for GNOME")
9731 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
9732 usage in the GNOME desktop environment. It can easily scan device volumes or
9733 a specific user-requested directory branch (local or remote). Once the scan
9734 is complete it provides a graphical representation of each selected folder.")
9735 (home-page "https://wiki.gnome.org/Apps/Baobab")
9736 (license license:gpl2+)))
9738 (define-public gnome-backgrounds
9740 (name "gnome-backgrounds")
9745 (uri (string-append "mirror://gnome/sources/" name "/"
9746 (version-major version) "/"
9747 name "-" version ".tar.xz"))
9750 "0i9id5z72dqddh94648zylyf41amqq5lhny8sbyg1v8v4q6sr88x"))))
9751 (build-system meson-build-system)
9752 (native-inputs (list gettext-minimal))
9753 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
9754 (synopsis "Background images for the GNOME desktop")
9756 "GNOME backgrounds package contains a collection of graphics files which
9757 can be used as backgrounds in the GNOME Desktop environment. Additionally,
9758 the package creates the proper framework and directory structure so that you
9759 can add your own files to the collection.")
9760 (license (list license:gpl2+
9763 license:cc-by-sa3.0))))
9765 (define-public gnome-screenshot
9767 (name "gnome-screenshot")
9772 (uri (string-append "mirror://gnome/sources/" name "/"
9773 (version-major version) "/"
9774 name "-" version ".tar.xz"))
9777 "15wmikwk62cdi93gas77nqh4fbhlrxrncyfmcd1gfa34jbn7vnsa"))))
9778 (build-system meson-build-system)
9780 `(#:meson ,meson-0.60
9783 (modify-phases %standard-phases
9784 (add-after 'unpack 'skip-gtk-update-icon-cache
9785 ;; Don't create 'icon-theme.cache'.
9787 (substitute* "build-aux/postinstall.py"
9788 (("gtk-update-icon-cache") "true")))))))
9790 (list appstream-glib
9791 desktop-file-utils ; for update-desktop-database
9793 `(,glib "bin") ; for glib-compile-schemas, etc.
9801 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9802 (synopsis "Take pictures of your screen")
9804 "GNOME Screenshot is a utility used for taking screenshots of the entire
9805 screen, a window or a user defined area of the screen, with optional
9806 beautifying border effects.")
9807 (license license:gpl2+)))
9809 (define-public dconf-editor
9811 (name "dconf-editor")
9816 (uri (string-append "mirror://gnome/sources/" name "/"
9817 (version-major+minor version) "/"
9818 name "-" version ".tar.xz"))
9821 "1qvrxrk1h8bd75xwasxbvlkqrw6xkavjimvc7sslkw6lvb3z86jp"))))
9822 (build-system meson-build-system)
9824 (list #:meson meson-0.60))
9826 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9827 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9828 ("intltool" ,intltool)
9829 ("pkg-config" ,pkg-config)
9832 (list dconf gtk+ libxml2))
9833 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9834 (synopsis "Graphical editor for GNOME's dconf configuration system")
9836 "Dconf-editor is a graphical tool for browsing and editing the dconf
9837 configuration system for GNOME. It allows users to configure desktop
9838 software that do not provide their own configuration interface.")
9839 (license license:lgpl2.1+)))
9841 (define-public gnome-default-applications
9843 (name "gnome-default-applications")
9845 (build-system trivial-build-system)
9848 (list nautilus evince))
9850 `(#:modules ((guix build utils))
9853 (use-modules (guix build utils))
9854 (let* ((out (assoc-ref %outputs "out"))
9855 (apps (string-append out "/share/applications")))
9857 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9859 (format port "[Default Applications]\n")
9860 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9861 (format port "application/pdf=evince.desktop\n")
9862 (format port "application/postscript=evince.desktop\n")))
9864 (synopsis "Default MIME type associations for the GNOME desktop")
9866 "Given many installed packages which might handle a given MIME type, a
9867 user running the GNOME desktop probably has some preferences: for example,
9868 that folders be opened by default by the Nautilus file manager, not the Baobab
9869 disk usage analyzer. This package establishes that set of default MIME type
9870 associations for GNOME.")
9871 (license license:gpl3+)
9874 (define-public libgovirt
9880 (uri (string-append "mirror://gnome/sources/" name "/"
9881 (version-major+minor version) "/"
9882 name "-" version ".tar.xz"))
9885 "0z118di7cg654f5zb8xn5w60ghgqngsc1p7izr1pw01dkxbw6bxi"))))
9886 (build-system meson-build-system)
9888 (list #:glib-or-gtk? #t
9889 #:phases #~(modify-phases %standard-phases
9890 (add-after 'unpack 'set-home
9892 ;; The tests require a writable HOME.
9893 (setenv "HOME" "/tmp"))))))
9895 (list gettext-minimal
9897 glib-networking ; GIO plugin--for the tests
9898 gobject-introspection
9899 gsettings-desktop-schemas
9902 ;; These dependencies are required by govirt-1.0.pc.
9905 (synopsis "GoVirt Library")
9906 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9907 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9908 (license license:gpl2+)))
9910 (define-public gnome-weather
9912 (name "gnome-weather")
9916 (uri (string-append "mirror://gnome/sources/" name "/"
9917 (version-major version) "/"
9918 name "-" version ".tar.xz"))
9921 "0rdl0ywdk8jlq819wr1sbdzdvsasz11pp30fylzvprakv28yd7jp"))))
9922 (build-system meson-build-system)
9927 #~(modify-phases %standard-phases
9928 (add-after 'unpack 'fix-service-file
9930 (substitute* "data/org.gnome.Weather.service.in"
9931 (("Exec=[[:graph:]]+")
9932 (string-append "Exec=" #$output
9933 "/bin/gnome-weather")))))
9934 (add-after 'unpack 'disable-gtk-update-icon-cache
9936 (setenv "DESTDIR" "/")))
9937 (add-after 'install 'fix-desktop-file
9938 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some
9939 ;; reason. See https://issues.guix.gnu.org/issue/39324.
9940 (lambda* (#:key outputs #:allow-other-keys)
9941 (substitute* (search-input-file
9943 "share/applications/org.gnome.Weather.desktop")
9944 (("Exec=.*") "Exec=gnome-weather\n"))))
9945 (add-after 'install 'wrap
9946 (lambda* (#:key outputs #:allow-other-keys)
9947 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at
9949 (wrap-program (search-input-file outputs "bin/gnome-weather")
9950 `("GI_TYPELIB_PATH" ":" prefix
9951 (,(getenv "GI_TYPELIB_PATH")))))))))
9953 (list gettext-minimal
9955 gobject-introspection
9958 (list appstream-glib
9962 gsettings-desktop-schemas-next
9966 (synopsis "Weather monitoring for GNOME desktop")
9967 (description "GNOME Weather is a small application that allows you to
9968 monitor the current weather conditions for your city, or anywhere in the
9970 (home-page "https://wiki.gnome.org/Apps/Weather")
9971 (license license:gpl2+)))
9973 (define-public gnome
9976 (version (package-version gnome-shell))
9978 (build-system trivial-build-system)
9979 (arguments '(#:builder (begin (mkdir %output) #t)))
9981 `(,@(if (string-prefix? "x86_64" (%current-system))
9982 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9983 ;; only works on x86_64, so exclude it on other architectures.
9987 ;; GNOME-Core-OS-Services.
9992 ;; GNOME-Core-Shell.
9999 gnome-control-center
10001 gnome-initial-setup
10005 gnome-settings-daemon
10007 gnome-shell-extensions
10011 gsettings-desktop-schemas
10017 ;; GNOME-Core-Utilities.
10036 gnome-system-monitor
10045 gnome-online-accounts
10048 ;; Packages not part of GNOME proper but that are needed for a good
10049 ;; experience. See <https://bugs.gnu.org/39646>.
10050 ;; XXX: Find out exactly which ones are needed and why.
10051 at-spi2-core-minimal
10055 font-abattis-cantarell
10057 gnome-default-applications
10064 system-config-printer
10068 (synopsis "The GNU desktop environment")
10069 (home-page "https://www.gnome.org/")
10071 "GNOME is the graphical desktop for GNU. It includes a wide variety of
10072 applications for browsing the web, editing text and images, creating
10073 documents and diagrams, playing media, scanning, and much more.")
10074 (license license:gpl2+)))
10076 (define-public byzanz
10077 ;; The last stable release of Byzanz was in 2011, but there have been many
10078 ;; useful commits made to the Byzanz repository since then that it would be
10079 ;; silly to use such an old release.
10080 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
10083 (version (string-append "0.2-1." (string-take commit 7)))
10086 (uri (git-reference
10087 (url "https://git.gnome.org/browse/byzanz")
10089 (file-name (string-append name "-" version "-checkout"))
10092 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
10093 (build-system glib-or-gtk-build-system)
10096 (modify-phases %standard-phases
10097 (add-before 'bootstrap 'build-without-Werror
10099 ;; The build system cleverly detects that we're not building from
10100 ;; a release tarball and turns on -Werror for GCC.
10101 ;; Unsurprisingly, there is a warning during compilation that
10102 ;; causes the build to fail unnecessarily, so we remove the flag.
10103 (substitute* '("configure.ac")
10115 (list glib gstreamer gst-plugins-base gtk+))
10116 (synopsis "Desktop recording program")
10117 (description "Byzanz is a simple desktop recording program with a
10118 command-line interface. It can record part or all of an X display for a
10119 specified duration and save it as a GIF encoded animated image file.")
10120 (home-page "https://git.gnome.org/browse/byzanz")
10121 (license license:gpl2+))))
10123 (define-public authenticator
10125 (name "authenticator")
10130 (uri (git-reference
10131 (url "https://gitlab.gnome.org/World/Authenticator")
10133 (file-name (git-file-name name version))
10135 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
10136 (build-system meson-build-system)
10138 `(#:meson ,meson-0.59
10141 (modify-phases %standard-phases
10142 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10143 (lambda* (#:key inputs outputs #:allow-other-keys)
10144 (let ((prog (string-append (assoc-ref outputs "out")
10145 "/bin/authenticator"))
10146 (pylib (string-append (assoc-ref outputs "out")
10148 ,(version-major+minor
10150 (this-package-input "python")))
10151 "/site-packages")))
10153 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
10154 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
10156 (list desktop-file-utils
10159 gobject-introspection
10163 (list gsettings-desktop-schemas
10168 python-beautifulsoup4
10176 (home-page "https://gitlab.gnome.org/World/Authenticator/")
10177 (synopsis "Two-factor authentication application built for GNOME")
10179 "Authenticator is a two-factor authentication (2FA) application built for
10180 the GNOME desktop environment.
10185 @item QR code scanner
10187 @item Huge database of more than 560 supported services
10188 @item Keep your PIN tokens secure by locking the application with a password
10189 @item Automatically fetch an image for services using their favicon
10190 @item The possibility to add new services
10192 (license license:gpl3+)))
10194 (define-public gsound
10200 (uri (string-append "mirror://gnome/sources/gsound/"
10201 (version-major+minor version) "/"
10202 "gsound-" version ".tar.xz"))
10205 "06l80xgykj7x1kqkjvcq06pwj2rmca458zvs053qc55x3sg06bfa"))))
10206 (build-system meson-build-system)
10208 (list pkg-config gobject-introspection vala))
10210 (list libcanberra)) ; in Requires.private of gsound.pc
10211 (home-page "https://wiki.gnome.org/Projects/GSound")
10212 (synopsis "GObject wrapper for libcanberra")
10214 "GSound is a small library for playing system sounds. It's designed to be
10215 used via GObject Introspection, and is a thin wrapper around the libcanberra C
10217 (license license:lgpl2.1+)))
10219 (define-public libzapojit
10221 (name "libzapojit")
10225 (uri (string-append "mirror://gnome/sources/" name "/"
10226 (version-major+minor version) "/"
10227 name "-" version ".tar.xz"))
10230 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
10231 (build-system gnu-build-system)
10233 (list gobject-introspection intltool pkg-config))
10235 (list gnome-online-accounts json-glib rest))
10236 (home-page "https://wiki.gnome.org/Projects/Zapojit")
10237 (synopsis "Library for accessing SkyDrive and Hotmail")
10239 "Libzapojit is a GLib-based library for accessing online service APIs of
10240 Microsoft SkyDrive and Hotmail, using their REST protocols.")
10241 (license license:lgpl2.1+)))
10243 (define-public gnome-clocks
10245 (name "gnome-clocks")
10249 (uri (string-append "mirror://gnome/sources/" name "/"
10250 (version-major version) "/"
10251 name "-" version ".tar.xz"))
10254 "1q3gvniwd4dkr1ghqpp05zr7qswdhaxqrn8j6bm3qbh39bdihw8f"))))
10255 (build-system meson-build-system)
10257 '(#:glib-or-gtk? #t
10259 (modify-phases %standard-phases
10260 (add-after 'unpack 'skip-gtk-update-icon-cache
10261 ;; Don't create 'icon-theme.cache'.
10263 (substitute* "meson.build"
10264 (("gtk_update_icon_cache: true")
10265 "gtk_update_icon_cache: false")))))))
10267 (list desktop-file-utils
10269 `(,glib "bin") ; for glib-compile-resources
10275 geocode-glib-with-libsoup2
10281 libgweather4-with-libsoup2))
10282 (home-page "https://wiki.gnome.org/Apps/Clocks")
10283 (synopsis "GNOME's clock application")
10285 "GNOME Clocks is a simple clocks application designed to fit the GNOME
10286 desktop. It supports world clock, stop watch, alarms, and count down timer.")
10287 (license license:gpl3+)))
10289 (define-public gnome-calendar
10291 (name "gnome-calendar")
10295 (uri (string-append "mirror://gnome/sources/" name "/"
10296 (version-major version) "/"
10297 name "-" version ".tar.xz"))
10300 "1ggvnl2jnc24nzpkjvsk57vpckjzb14a7mmnk6jjm84nmqxccz5f"))))
10301 (build-system meson-build-system)
10303 `(#:glib-or-gtk? #t
10305 (modify-phases %standard-phases
10306 (add-after 'unpack 'skip-gtk-update-icon-cache
10307 ;; Don't create 'icon-theme.cache'.
10309 (substitute* "meson.build"
10310 (("gtk_update_icon_cache: true")
10311 "gtk_update_icon_cache: false")))))))
10313 (list gettext-minimal
10314 `(,glib "bin") ; For glib-compile-schemas
10317 ;; Note: not propagating evolution-data-server-3.44 to keep profiles
10318 ;; clean from libsoup2.
10319 (list evolution-data-server-3.44
10321 geocode-glib-with-libsoup2
10322 gnome-online-accounts-3.44
10323 gsettings-desktop-schemas
10326 libgweather4-with-libsoup2
10327 ;; Remove pango-next when it's the default.
10329 (home-page "https://wiki.gnome.org/Apps/Calendar")
10330 (synopsis "GNOME's calendar application")
10332 "GNOME Calendar is a simple calendar application designed to fit the GNOME
10333 desktop. It supports multiple calendars, month, week and year view.")
10334 (license license:gpl3+)))
10336 (define-public endeavour
10342 (uri (git-reference
10343 (url "https://gitlab.gnome.org/World/Endeavour")
10344 (commit (string-append "v" version))))
10347 "0d6by7aq8db35zavzvckcxxxcdi6qnv0mkjndhb0syc8ih15dpak"))))
10348 (build-system meson-build-system)
10353 #~(modify-phases %standard-phases
10354 (add-after 'unpack 'skip-gtk-update-icon-cache
10356 (substitute* "build-aux/meson/meson_post_install.py"
10357 (("gtk-update-icon-cache") "true"))))
10359 (add-after 'install 'check
10360 (assoc-ref %standard-phases
10362 (add-before 'check 'pre-check
10364 (setenv "GSETTINGS_SCHEMA_DIR"
10365 (string-append #$output "/share/glib-2.0/schemas")))))))
10367 (list gettext-minimal
10368 gobject-introspection
10369 `(,glib "bin") ;for glib-compile-resources
10370 `(,gtk "bin") ;for gtk-update-icon-cache
10374 (list rest ;for Todoist plugin
10376 json-glib ;for Todoist plugin
10378 evolution-data-server
10383 evolution-data-server
10384 gnome-online-accounts
10385 gsettings-desktop-schemas))
10386 (home-page "https://wiki.gnome.org/Apps/Todo")
10387 (synopsis "GNOME's ToDo Application")
10388 (description "GNOME To Do is a simplistic personal task manager designed
10389 to perfectly fit the GNOME desktop.")
10390 (license license:gpl3+)))
10392 (define-public gnome-todo
10393 (deprecated-package "gnome-todo" endeavour))
10395 (define-public gnome-dictionary
10397 (name "gnome-dictionary")
10401 (uri (string-append "mirror://gnome/sources/" name "/"
10402 (version-major version) "/"
10403 name "-" version ".tar.xz"))
10406 "1d8dhcfys788vv27v34i3s3x3jdvdi2kqn2a5p8c937a9hm0qr9f"))))
10407 (build-system meson-build-system)
10409 `(#:glib-or-gtk? #t
10411 (modify-phases %standard-phases
10412 (add-after 'unpack 'skip-gtk-update-icon-cache
10413 ;; Don't create 'icon-theme.cache'.
10415 (substitute* "build-aux/meson/post-install.py"
10416 (("gtk-update-icon-cache") "true")))))))
10418 (list `(,glib "bin")
10419 gobject-introspection
10425 (list gsettings-desktop-schemas
10427 (home-page "https://wiki.gnome.org/Apps/Dictionary")
10428 (synopsis "Look up words in dictionary sources")
10430 "GNOME Dictionary can look for the definition or translation of a word in
10431 existing databases over the internet.")
10432 (license license:gpl3+)))
10434 (define-public gnome-tweaks
10436 (name "gnome-tweaks")
10440 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
10441 (version-major version) "/"
10442 "gnome-tweaks-" version ".tar.xz"))
10444 (list (search-patch "gnome-tweaks-search-paths.patch")))
10447 "1z13xy804hld9q8k0vq5y4j5jk7m0ayqzkli8jxpymwrlcrkpzfg"))))
10448 (build-system meson-build-system)
10452 #:configure-flags #~(list "-Dlocalstatedir=/tmp"
10453 "-Dsysconfdir=/tmp")
10454 #:imported-modules `((guix build python-build-system)
10455 ,@%meson-build-system-modules)
10456 #:modules '((guix build meson-build-system)
10457 ((guix build python-build-system) #:prefix python:)
10458 (guix build utils))
10460 #~(modify-phases %standard-phases
10461 (add-after 'unpack 'skip-gtk-update-icon-cache
10462 ;; Don't create 'icon-theme.cache'.
10464 (substitute* "meson-postinstall.py"
10465 (("gtk-update-icon-cache") "true"))))
10466 (add-after 'install 'wrap
10467 (assoc-ref python:%standard-phases 'wrap))
10468 (add-after 'wrap 'wrap-gi-typelib-and-python
10469 (lambda* (#:key inputs outputs #:allow-other-keys)
10470 (wrap-program (search-input-file outputs "bin/gnome-tweaks")
10471 `("GI_TYPELIB_PATH" ":" prefix
10472 (,(getenv "GI_TYPELIB_PATH")))
10473 `("GUIX_PYTHONPATH" ":" prefix
10474 (,(python:site-packages inputs outputs)))))))))
10476 (list `(,glib "bin") ; for glib-compile-resources, etc.
10480 (list bash-minimal ; to execute the wrapper program
10483 gobject-introspection
10484 gsettings-desktop-schemas
10491 (synopsis "Customize advanced GNOME 3 options")
10492 (home-page "https://wiki.gnome.org/Apps/Tweaks")
10494 "GNOME Tweaks allows adjusting advanced configuration settings in
10495 GNOME 3. This includes things like the fonts used in user interface elements,
10496 alternative user interface themes, changes in window management behavior,
10497 GNOME Shell appearance and extension, etc.")
10498 (license license:gpl3+)))
10500 (define-public gnome-shell-extensions
10502 (name "gnome-shell-extensions")
10506 (uri (string-append "mirror://gnome/sources/" name "/"
10507 (version-major version) "/"
10508 name "-" version ".tar.xz"))
10511 "1z3k4bvq8f2s0q9q7i093w4hrz289lci7xlib20aqa4z5sivxhhf"))))
10512 (build-system meson-build-system)
10514 '(#:configure-flags '("-Dextension_set=all")))
10516 (list `(,glib "bin")
10521 (synopsis "Extensions for GNOME Shell")
10522 (description "GNOME Shell extensions modify and extend GNOME Shell
10523 functionality and behavior.")
10524 (home-page "https://extensions.gnome.org/")
10525 (license license:gpl3+)))
10527 (define-public folks
10533 (uri (string-append
10534 "mirror://gnome/sources/folks/"
10535 (version-major+minor version) "/"
10536 "folks-" version ".tar.xz"))
10539 "11lhfn6b7gml4ckj2dkm6g889j21wpvj90srwjp85k9hcf4qmzqg"))))
10540 (build-system meson-build-system)
10543 (modify-phases %standard-phases
10544 (add-after 'unpack 'skip-gtk-update-icon-cache
10545 ;; Don't create 'icon-theme.cache'.
10547 (substitute* "meson_post_install.py"
10548 (("gtk-update-icon-cache") "true")))))))
10552 evolution-data-server
10558 (list gettext-minimal
10560 gobject-introspection
10565 (synopsis "Library to aggregate data about people")
10566 (description "Libfolks is a library that aggregates information about people
10567 from multiple sources (e.g., Telepathy connection managers for IM contacts,
10568 Evolution Data Server for local contacts, libsocialweb for web service contacts,
10569 etc.) to create metacontacts. It's written in Vala, which generates C code when
10571 (home-page "https://wiki.gnome.org/Projects/Folks")
10572 (license license:lgpl2.1+)))
10574 (define-public folks-with-libsoup2
10577 (name "folks-with-libsoup2")
10579 (modify-inputs (package-inputs folks)
10580 (replace "evolution-data-server" evolution-data-server-3.44)))))
10582 (define-public gfbgraph
10588 (uri (string-append
10589 "mirror://gnome/sources/gfbgraph/"
10590 (version-major+minor version) "/"
10591 "gfbgraph-" version ".tar.xz"))
10594 "1qq3cryhby50xms8zh4s6fmw5p0i7dpg1wvsz5ni78cbyyrq3cww"))))
10595 (build-system glib-or-gtk-build-system)
10597 `(#:configure-flags '("--disable-static")))
10599 (list gobject-introspection
10603 (list gnome-online-accounts
10606 (synopsis "GLib/GObject wrapper for the Facebook API")
10607 (description "This library allows you to use the Facebook API from
10608 GLib/GObject code.")
10609 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
10610 (license license:lgpl2.1+)))
10612 (define-public libgnomekbd
10614 (name "libgnomekbd")
10618 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
10619 (version-major+minor version) "/"
10620 "libgnomekbd-" version ".tar.xz"))
10623 "0w78ix6f52xv0hw1h6fzqh47pk1fwr077agma19hdh3kdmb5kp12"))))
10624 (build-system gnu-build-system)
10632 gobject-introspection))
10634 ;; Referred to in .h files and .pc.
10638 (home-page "https://www.gnome.org")
10639 (synopsis "GNOME keyboard configuration library")
10641 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
10642 environment, which can notably display keyboard layouts.")
10643 (license license:lgpl2.0+)))
10645 ;;; This package is no longer maintained:
10646 ;;; https://wiki.gnome.org/Attic/LibUnique
10647 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
10648 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
10649 (define-public libunique
10655 (uri (string-append "mirror://gnome/sources/" name "/"
10656 (version-major+minor version) "/"
10657 name "-" version ".tar.xz"))
10660 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
10661 (build-system glib-or-gtk-build-system)
10663 `(#:configure-flags '("--disable-static"
10664 "--disable-dbus" ; use gdbus
10665 "--enable-introspection")))
10667 `(("pkg-config" ,pkg-config)
10668 ("gobject-introspection" ,gobject-introspection)
10669 ("glib:bin" ,glib "bin")
10670 ("gtk-doc" ,gtk-doc/stable)))
10672 ;; Referred to in .h files and .pc.
10674 (home-page "https://wiki.gnome.org/Attic/LibUnique")
10675 (synopsis "Library for writing single instance applications")
10677 "Libunique is a library for writing single instance applications. If you
10678 launch a single instance application twice, the second instance will either just
10679 quit or will send a message to the running instance. Libunique makes it easy to
10680 write this kind of application, by providing a base class, taking care of all
10681 the IPC machinery needed to send messages to a running instance, and also
10682 handling the startup notification side.")
10683 (license license:lgpl2.1+)))
10685 (define-public gnome-calculator
10687 (name "gnome-calculator")
10692 (uri (string-append "mirror://gnome/sources/" name "/"
10693 (version-major version) "/"
10694 name "-" version ".tar.xz"))
10697 "1866qn0r9xp7b7j1436kry2k3bdh9ikhz2wm41jxcn1nljyb3nik"))))
10698 (build-system meson-build-system)
10700 '(#:glib-or-gtk? #t
10702 (modify-phases %standard-phases
10703 (add-after 'unpack 'skip-gtk-update-icon-cache
10705 (substitute* "meson.build"
10706 (("gtk_update_icon_cache: true")
10707 "gtk_update_icon_cache: false"))))
10708 (add-before 'check 'pre-check
10710 ;; Tests require a writable HOME.
10711 (setenv "HOME" (getcwd)))))))
10713 (list gettext-minimal
10714 `(,glib "bin") ;for glib-compile-schemas, gio-2.0.
10720 (list gsettings-desktop-schemas-next
10729 (home-page "https://wiki.gnome.org/Apps/Calculator")
10730 (synopsis "Desktop calculator")
10732 "Calculator is an application that solves mathematical equations and
10733 is suitable as a default application in a Desktop environment.")
10734 (license license:gpl3)))
10736 (define-public xpad
10743 (uri (string-append "https://launchpad.net/xpad/trunk/"
10744 version "/+download/"
10745 name "-" version ".tar.bz2"))
10748 "1sc2dz4yxx6glnqpnhiby85g2blnsfn8d3fvbaqhdi2hi0q54q7j"))))
10749 (build-system gnu-build-system)
10751 (list autoconf automake
10752 `(,gtk+ "bin") intltool pkg-config))
10754 (list gtksourceview libsm))
10755 (home-page "https://wiki.gnome.org/Apps/Xpad")
10756 (synopsis "Virtual sticky note")
10758 "Xpad is a sticky note that strives to be simple, fault tolerant,
10759 and customizable. Xpad consists of independent pad windows, each is
10760 basically a text box in which notes can be written.")
10761 (license license:gpl3+)))
10763 (define-public gucharmap
10764 (let ((unicode-files
10766 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
10768 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
10770 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
10772 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
10774 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
10776 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
10783 (uri (string-append "mirror://gnome/sources/" name "/"
10784 (version-major+minor version) "/"
10785 name "-" version ".tar.xz"))
10788 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
10789 (build-system glib-or-gtk-build-system)
10791 `(#:modules ((ice-9 match)
10792 (guix build glib-or-gtk-build-system)
10793 (guix build utils))
10795 (list "--with-unicode-data=../unicode-data")
10797 (modify-phases %standard-phases
10798 (add-after 'unpack 'prepare-unicode-data
10799 (lambda* (#:key inputs #:allow-other-keys)
10800 (mkdir-p "../unicode-data")
10801 (with-directory-excursion "../unicode-data"
10802 (for-each (match-lambda
10804 (install-file (assoc-ref inputs file) ".")))
10808 `(("desktop-file-utils" ,desktop-file-utils)
10809 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
10810 ("gobject-introspection" ,gobject-introspection)
10811 ("intltool" ,intltool)
10812 ("itstool" ,itstool)
10813 ("pkg-config" ,pkg-config)
10814 ,@(map (match-lambda
10819 (uri (string-append
10820 "http://www.unicode.org/Public/12.0.0/ucd/"
10822 (sha256 (base32 hash))))))
10827 ("xmllint" ,libxml2)))
10828 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10829 (synopsis "Unicode character picker and font browser")
10831 "This program allows you to browse through all the available Unicode
10832 characters and categories for the installed fonts, and to examine their
10833 detailed properties. It is an easy way to find the character you might
10834 only know by its Unicode name or code point.")
10835 (license license:gpl3+))))
10837 (define-public gcolor3
10844 (uri (git-reference
10845 (url "https://gitlab.gnome.org/World/gcolor3")
10846 (commit (string-append "v" version))))
10847 (file-name (git-file-name name version))
10849 (base32 "1igqmach1vhcrvbpw346pmkbb5kabbb806ssswrvkp569n700wmc"))
10850 ;; XXX: Remove when upgrading
10851 (patches (search-patches "gcolor3-update-libportal-usage.patch"))))
10852 (build-system meson-build-system)
10854 `(#:glib-or-gtk? #t))
10856 (list desktop-file-utils gettext-minimal
10858 `(,gtk+ "bin") pkg-config))
10860 (list gsettings-desktop-schemas gtk+ libportal))
10861 (home-page "https://www.hjdskes.nl/projects/gcolor3/")
10862 (synopsis "Simple color chooser written in GTK3")
10863 (description "Color Picker is a simple color chooser written in GTK3. It
10864 supports both X and Wayland display servers.")
10865 (license license:gpl2+)))
10867 (define-public bluefish
10874 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10875 "bluefish-" version ".tar.gz"))
10877 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10878 (build-system gnu-build-system)
10880 (list desktop-file-utils intltool pkg-config))
10882 (list enchant gtk+ python-wrapper libxml2 gucharmap))
10883 (home-page "http://bluefish.openoffice.nl")
10884 (synopsis "Web development studio")
10886 "Bluefish is an editor aimed at programmers and web developers,
10887 with many options to write web sites, scripts and other code.
10888 Bluefish supports many programming and markup languages.")
10889 (license license:gpl3+)))
10891 (define-public gnome-system-monitor
10893 (name "gnome-system-monitor")
10898 (uri (string-append "mirror://gnome/sources/" name "/"
10899 (version-major version) "/"
10900 name "-" version ".tar.xz"))
10903 "1p3mq32pfd9260aql5nys806g0c4nrswacwqs8ms40920ci9s8qk"))))
10904 (build-system meson-build-system)
10906 '(#:glib-or-gtk? #t
10907 #:configure-flags '("-Dsystemd=false")))
10909 (list `(,glib "bin") ;for glib-mkenums.
10910 `(,gtk+ "bin") ;gtk-update-icon-cache
10917 (list gdk-pixbuf ;for loading SVG files.
10924 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10925 (synopsis "Process viewer and system resource monitor for GNOME")
10927 "GNOME System Monitor is a GNOME process viewer and system monitor with
10928 an attractive, easy-to-use interface. It has features, such as a tree view
10929 for process dependencies, icons for processes, the ability to hide processes,
10930 graphical time histories of CPU/memory/swap usage and the ability to
10931 kill/reinice processes.")
10932 (license license:gpl2+)))
10934 (define-public python-pyatspi
10936 (name "python-pyatspi")
10937 (version "2.45.90")
10940 (uri (string-append
10941 "mirror://gnome/sources/pyatspi/"
10942 (version-major+minor version)
10943 "/pyatspi-" version ".tar.xz"))
10946 "1fggihg4xmwia0xgjkcraiqk76jvyrj1pcsw99rjh4yn3kygisrh"))))
10947 (build-system gnu-build-system)
10950 (modify-phases %standard-phases
10951 (add-before 'build 'fix-atk-load
10953 (substitute* "pyatspi/__init__.py"
10954 (("from gi.repository import Atspi")
10955 "gi.require_version('Gtk', '3.0')
10956 from gi.repository import Gtk
10957 from gi.repository import Atspi")))))))
10963 (list python-pygobject))
10964 (synopsis "Python client bindings for D-Bus AT-SPI")
10965 (home-page "https://wiki.linuxfoundation.org/accessibility\
10966 /atk/at-spi/at-spi_on_d-bus")
10968 "This package includes a python client library for the AT-SPI D-Bus
10969 accessibility infrastructure.")
10970 (license license:lgpl2.0)
10971 (properties '((upstream-name . "pyatspi")))))
10973 (define-public orca
10979 (uri (string-append
10980 "mirror://gnome/sources/" name "/"
10981 (version-major version) "/"
10982 name "-" version ".tar.xz"))
10985 "097pyav3z5ssic8vwd7v1s7vynpycdpyfr324rr6c7mfzq5vmp7s"))))
10986 (build-system glib-or-gtk-build-system)
10989 (modify-phases %standard-phases
10990 (add-before 'configure 'qualify-xkbcomp
10991 (lambda* (#:key inputs #:allow-other-keys)
10992 (let ((xkbcomp (string-append
10993 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10994 (substitute* "src/orca/orca.py"
10995 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))))
10996 (add-after 'install 'wrap-orca
10997 (lambda* (#:key outputs #:allow-other-keys)
10998 (wrap-program (search-input-file outputs "bin/orca")
10999 `("GI_TYPELIB_PATH" ":" prefix
11000 (,(getenv "GI_TYPELIB_PATH")))
11001 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
11002 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
11003 `("GUIX_PYTHONPATH" ":" prefix
11004 (,(getenv "GUIX_PYTHONPATH")))))))))
11006 (list gettext-minimal
11013 gsettings-desktop-schemas
11024 "Screen reader for individuals who are blind or visually impaired")
11025 (home-page "https://wiki.gnome.org/Projects/Orca")
11027 "Orca is a screen reader that provides access to the graphical desktop
11028 via speech and refreshable braille. Orca works with applications and toolkits
11029 that support the Assistive Technology Service Provider Interface (AT-SPI).")
11030 (license license:lgpl2.1+)))
11032 (define-public gspell
11038 (uri (string-append "mirror://gnome/sources/" name "/"
11039 (version-major+minor version) "/"
11040 name "-" version ".tar.xz"))
11043 "14h2w0yzqwaw5dykmhh21sy2c96g17waahg2lxc52xqiyzis8spg"))))
11044 (build-system glib-or-gtk-build-system)
11046 '(#:configure-flags (list "--enable-vala")
11048 (modify-phases %standard-phases
11049 (add-after 'unpack 'disable-problematic-tests
11051 (substitute* "testsuite/test-checker.c"
11052 ;; This test is known to fail with Aspell, as a comment
11053 ;; mentions it. Disable it.
11054 ((".*g_test_add_func.*test_dashes.*") ""))))
11055 (add-before 'check 'pre-check
11056 (lambda* (#:key inputs #:allow-other-keys)
11057 ;; Tests require a running X server.
11058 (system "Xvfb :1 &")
11059 (setenv "DISPLAY" ":1")
11061 ;; For the missing /etc/machine-id.
11062 (setenv "DBUS_FATAL_WARNINGS" "0")
11064 ;; Allow Enchant and its Aspell backend to find the en_US
11066 (setenv "ASPELL_DICT_DIR"
11067 (search-input-directory inputs "/lib/aspell")))))))
11071 (list `(,glib "bin")
11072 gobject-introspection
11074 vala ;for VAPI, needed by Geary
11079 xorg-server-for-tests))
11081 ;; Referred by .pc file.
11085 (home-page "https://wiki.gnome.org/Projects/gspell")
11086 (synopsis "GNOME's alternative spell checker")
11088 "gspell provides a flexible API to add spell-checking to a GTK+
11089 application. It provides a GObject API, spell-checking to text entries and
11090 text views, and buttons to choose the language.")
11091 (license license:gpl2+)))
11093 (define-public gnome-planner
11095 (name "gnome-planner")
11099 (uri (string-append "mirror://gnome/sources/planner/"
11100 (version-major+minor version) "/planner-"
11101 version ".tar.xz"))
11104 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
11105 (build-system glib-or-gtk-build-system)
11107 ;; Disable the Python bindings because the Planner program functions
11108 ;; without them, and (as of 2017-06-13) we have not packaged all of
11109 ;; packages that are necessary for building the Python bindings.
11110 `(#:configure-flags
11111 (list "--disable-python"
11112 ,@(if (string=? "aarch64-linux" (%current-system))
11113 '("--build=aarch64-unknown-linux-gnu")
11116 (list libgnomecanvas
11126 (list intltool scrollkeeper pkg-config))
11127 (home-page "https://wiki.gnome.org/Apps/Planner")
11128 (synopsis "Project management software for the GNOME desktop")
11130 "GNOME Planner is a project management tool based on the Work Breakdown
11131 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
11132 the resources, tasks, and constraints that you define, Planner generates
11133 various views into a project. For example, Planner can show a Gantt chart of
11134 the project. It can show a detailed summary of tasks including their
11135 duration, cost, and current progress. It can also show a report of resource
11136 utilization that highlights under-utilized and over-utilized resources. These
11137 views can be printed as PDF or PostScript files, or exported to HTML.")
11138 (license license:gpl2+)))
11140 (define-public lollypop
11147 (uri (string-append "https://adishatz.org/lollypop/"
11148 "lollypop-" version ".tar.xz"))
11150 (base32 "0rvwj18x1gs7fgvniijzvlmgmzcgr7il22zclzsn5nkl8xbwgzk0"))))
11151 (build-system meson-build-system)
11153 `(#:imported-modules (,@%meson-build-system-modules
11154 (guix build python-build-system))
11155 #:modules ((guix build meson-build-system)
11156 ((guix build python-build-system) #:prefix python:)
11157 (guix build utils))
11160 (modify-phases %standard-phases
11161 (add-after 'unpack 'disable-gtk-update-icon-cache
11163 (setenv "DESTDIR" "/")))
11164 (add-after 'install 'wrap-program
11165 (lambda* (#:key outputs #:allow-other-keys)
11166 (wrap-program (search-input-file outputs "bin/lollypop")
11167 `("GI_TYPELIB_PATH" ":" prefix
11168 (,(getenv "GI_TYPELIB_PATH"))))))
11169 (add-after 'install 'wrap-python
11170 (assoc-ref python:%standard-phases 'wrap)))))
11172 (list gettext-minimal
11173 `(,glib "bin") ; For glib-compile-resources
11178 gobject-introspection
11179 gsettings-desktop-schemas
11186 python-beautifulsoup4
11195 (list gst-plugins-good ;required to start lollypop
11196 gst-plugins-ugly)) ;required for streaming
11197 (home-page "https://wiki.gnome.org/Apps/Lollypop")
11198 (synopsis "GNOME music playing application")
11200 "Lollypop is a music player designed to play well with GNOME desktop.
11201 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
11202 from artists and tracks from the web. It also fetches cover artworks
11203 automatically and it can stream songs from online music services and charts.")
11204 (license license:gpl3+)))
11206 (define-public gnome-video-effects
11208 (name "gnome-video-effects")
11212 (uri (string-append "mirror://gnome/sources/" name "/"
11213 (version-major+minor version) "/" name "-"
11214 version ".tar.xz"))
11217 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
11218 (build-system meson-build-system)
11220 (list gettext-minimal pkg-config))
11221 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
11222 (synopsis "Video effects for Cheese and other GNOME applications")
11224 "A collection of GStreamer video filters and effects to be used in
11225 photo-booth-like software, such as Cheese.")
11226 (license license:gpl2+)))
11228 (define-public cheese
11234 (uri (string-append "mirror://gnome/sources/" name "/"
11235 (version-major version) "/" name "-"
11236 version ".tar.xz"))
11239 "0iz5cwndl65j13z5pmv0ansln2lyii0h82q775jgc3vk53560aaj"))))
11241 `(#:glib-or-gtk? #t
11243 (modify-phases %standard-phases
11244 (add-after 'unpack 'skip-gtk-update-icon-cache
11246 ;; Don't create 'icon-theme.cache'
11247 (substitute* "meson_post_install.py"
11248 (("gtk-update-icon-cache") (which "true")))))
11249 (add-after 'install 'wrap-cheese
11250 (lambda* (#:key inputs outputs #:allow-other-keys)
11251 (wrap-program (search-input-file outputs "bin/cheese")
11252 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
11253 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))))))))
11254 (build-system meson-build-system)
11260 gobject-introspection
11269 gnome-video-effects
11278 (list gnome-desktop
11285 (home-page "https://wiki.gnome.org/Apps/Cheese")
11286 (synopsis "Webcam photo booth software for GNOME")
11288 "Cheese uses your webcam to take photos and videos. Cheese can also
11289 apply fancy special effects and lets you share the fun with others.")
11290 (license license:gpl2+)))
11292 (define-public secrets
11299 (uri (git-reference
11300 (url "https://gitlab.gnome.org/World/secrets")
11302 (file-name (git-file-name name version))
11304 (base32 "11jd9f0d3fyrs29p8cyzb6i2ib6mzhwwvjnznl55gkggrgnrcb8z"))))
11305 (build-system meson-build-system)
11309 #:imported-modules `(,@%meson-build-system-modules
11310 (guix build python-build-system))
11311 #:modules '((guix build meson-build-system)
11312 ((guix build python-build-system) #:prefix python:)
11313 (guix build utils))
11315 #~(modify-phases %standard-phases
11316 (add-after 'unpack 'disable-postinstall-script
11318 (substitute* "meson.build"
11319 (("gtk_update_icon_cache: true")
11320 "gtk_update_icon_cache: false"))
11321 (setenv "DESTDIR" "/")))
11322 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11323 (lambda* (#:key inputs outputs #:allow-other-keys)
11324 (wrap-program (search-input-file outputs "bin/secrets")
11325 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
11326 ,(python:site-packages inputs outputs)))
11327 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
11329 (list desktop-file-utils
11332 gobject-introspection
11337 gsettings-desktop-schemas
11346 (home-page "https://gitlab.gnome.org/World/secrets")
11347 (synopsis "Password manager for the GNOME desktop")
11349 "Secrets is a password manager which makes use of the KeePass v4
11350 format. It integrates perfectly with the GNOME desktop and provides an easy
11351 and uncluttered interface for the management of password databases.")
11352 (license license:gpl3+)))
11354 (define-public passwordsafe
11355 (deprecated-package "passwordsafe" secrets))
11357 (define-public sound-juicer
11359 (name "sound-juicer")
11364 (uri (string-append "mirror://gnome/sources/" name "/"
11365 (version-major+minor version) "/"
11366 name "-" version ".tar.xz"))
11369 "08d5d81rz9sj3m5paw8fwbgxmhlbr7bcjdzpmzj832qvg8smydxf"))))
11370 (build-system meson-build-system)
11374 #:phases #~(modify-phases %standard-phases
11375 (add-after 'unpack 'disable-gtk-update-icon-cache
11377 (setenv "DESTDIR" "/"))))))
11379 (list desktop-file-utils
11388 gsettings-desktop-schemas
11398 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
11399 (synopsis "Audio music cd ripper")
11400 (description "Sound Juicer extracts audio from compact discs and convert it
11401 into audio files that a personal computer or digital audio player can play.
11402 It supports ripping to any audio codec supported by a GStreamer plugin, such as
11403 mp3, Ogg Vorbis and FLAC")
11404 (license license:gpl2+)))
11406 (define-public soundconverter
11408 (name "soundconverter")
11413 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
11414 version "/+download/"
11415 "soundconverter-" version ".tar.xz"))
11418 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
11419 (build-system glib-or-gtk-build-system)
11421 `(#:imported-modules ((guix build python-build-system)
11422 (guix build glib-or-gtk-build-system)
11423 ,@%gnu-build-system-modules)
11425 #:modules ((guix build glib-or-gtk-build-system)
11427 ((guix build gnu-build-system) #:prefix gnu:)
11428 ((guix build python-build-system) #:prefix python:))
11431 (modify-phases %standard-phases
11432 (add-after 'install 'wrap-soundconverter-for-python
11433 (assoc-ref python:%standard-phases 'wrap))
11434 (add-after 'install 'wrap-soundconverter
11435 (lambda* (#:key inputs outputs #:allow-other-keys)
11436 (let ((out (assoc-ref outputs "out"))
11437 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
11438 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
11439 (wrap-program (string-append out "/bin/soundconverter")
11440 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
11441 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
11444 `(("intltool" ,intltool)
11445 ("pkg-config" ,pkg-config)
11446 ("glib:bin" ,glib "bin")))
11448 (list gtk+ python python-pygobject gstreamer gst-plugins-base))
11449 (home-page "https://soundconverter.org/")
11450 (synopsis "Convert between audio formats with a graphical interface")
11452 "SoundConverter supports converting between many audio formats including
11453 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
11454 configurable file renaming.")
11455 (license license:gpl3)))
11457 (define-public workrave
11460 (version "1.10.50")
11464 (uri (git-reference
11465 (url "https://github.com/rcaelers/workrave")
11466 (commit (string-append "v" (string-map
11467 (match-lambda (#\. #\_) (chr chr))
11469 (file-name (git-file-name name version))
11471 (base32 "0fj3fqmdn4nsjgvbbvzpxw2mgiihcr1zpb08amg2p6hg9n11y9bx"))))
11472 (build-system glib-or-gtk-build-system)
11474 ;; The only tests are maintainer tests (in po/), which fail.
11487 (native-inputs `(("boost" ,boost)
11488 ("pkg-config" ,pkg-config)
11489 ("gettext" ,gettext-minimal)
11490 ("autoconf" ,autoconf)
11491 ("autoconf-archive" , autoconf-archive)
11492 ("automake" ,automake)
11493 ("libtool" ,libtool)
11494 ("intltool" ,intltool)
11495 ("gobject-introspection" ,gobject-introspection)
11496 ("python3" ,python-3)
11497 ("python-jinja2" ,python-jinja2)))
11498 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
11500 "Workrave is a program that assists in the recovery and prevention of
11501 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
11502 micro-pauses and rest breaks, and restricts you to your daily limit.")
11503 (home-page "http://www.workrave.org")
11504 (license license:gpl3+)))
11506 (define-public ghex
11512 (uri (string-append "mirror://gnome/sources/ghex/"
11513 (version-major version) "/"
11514 "ghex-" version ".tar.xz"))
11517 "1vsd6l78pymdrsgdgj7xhxyrf09j4w08zrbvs8qdn8a9na50zm5d"))))
11518 (build-system meson-build-system)
11520 '(#:glib-or-gtk? #t
11522 (modify-phases %standard-phases
11523 (add-after 'unpack 'skip-gtk-update-icon-cache
11524 ;; Don't create 'icon-theme.cache'.
11526 (substitute* "meson.build"
11527 (("gtk_update_icon_cache: true")
11528 "gtk_update_icon_cache: false")))))))
11530 (list desktop-file-utils ;for 'desktop-file-validate'
11532 `(,glib "bin") ;for glib-compile-schemas
11539 (synopsis "GNOME hexadecimal editor")
11540 (description "The GHex program can view and edit files in two ways:
11541 hexadecimal or ASCII. It is useful for editing binary files in general.")
11542 (home-page "https://wiki.gnome.org/Apps/Ghex")
11543 (license license:gpl2)))
11545 (define-public libdazzle
11551 (uri (string-append "mirror://gnome/sources/libdazzle/"
11552 (version-major+minor version) "/"
11553 "libdazzle-" version ".tar.xz"))
11556 "1blfs61ifv4fywl0wbr1cm3rvmgrv06yiqajbnq0qs72nrgf9lrw"))))
11557 (build-system meson-build-system)
11560 (modify-phases %standard-phases
11561 (add-before 'check 'pre-check
11563 ;; Tests require a running X server.
11564 (system "Xvfb :1 &")
11565 (setenv "DISPLAY" ":1"))))))
11567 (list `(,glib "bin") ; glib-compile-resources
11568 gobject-introspection
11571 xorg-server-for-tests
11576 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
11577 (synopsis "Companion library to GObject and Gtk+")
11578 (description "The libdazzle library is a companion library to GObject and
11579 Gtk+. It provides various features that the authors wish were in the
11580 underlying library but cannot for various reasons. In most cases, they are
11581 wildly out of scope for those libraries. In other cases, they are not quite
11582 generic enough to work for everyone.")
11583 (license license:gpl3+)))
11585 (define-public evolution
11591 (uri (string-append "mirror://gnome/sources/evolution/"
11592 (version-major+minor version) "/"
11593 "evolution-" version ".tar.xz"))
11596 "0gwi89bqk20ggcxsq7xgd97my0hxx8z82kisml6vz6kbpiv957p0"))))
11597 (build-system cmake-build-system)
11600 #:imported-modules `(,@%cmake-build-system-modules
11601 (guix build glib-or-gtk-build-system))
11602 #:modules '((guix build cmake-build-system)
11603 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
11604 (guix build utils))
11606 #~(list "-DENABLE_PST_IMPORT=OFF") ;libpst is not packaged
11608 #~(modify-phases %standard-phases
11609 ;; The build system attempts to install user interface modules to
11610 ;; the output directory of the "evolution-data-server" package;
11611 ;; patch it to install to the same location under #$output prefix.
11612 (add-after 'unpack 'patch-ui-module-dir
11613 (lambda* (#:key outputs #:allow-other-keys)
11614 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
11615 (("\\$\\{edsuimoduledir\\}")
11617 #$output "/lib/evolution-data-server/ui-modules")))
11618 (substitute* "src/modules/rss/camel/CMakeLists.txt"
11619 (("\\$\\{camel_providerdir}")
11621 #$output "/lib/evolution-data-server/camel-providers")))))
11622 (add-after 'install 'glib-or-gtk-compile-schemas
11623 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
11624 (add-after 'install 'glib-or-gtk-wrap
11625 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
11627 (list `(,glib "bin") ;glib-mkenums
11634 evolution-data-server ;must be the same version
11636 gsettings-desktop-schemas
11649 (home-page "https://gitlab.gnome.org/GNOME/evolution")
11650 (synopsis "Manage your email, contacts and schedule")
11651 (description "Evolution is a personal information management application
11652 that provides integrated mail, calendaring and address book
11654 ;; See COPYING for details.
11655 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
11656 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
11657 license:lgpl2.1+)))) ; smime/lib/*
11659 (define-public gthumb
11665 (uri (string-append "mirror://gnome/sources/gthumb/"
11666 (version-major+minor version) "/"
11667 "gthumb-" version ".tar.xz"))
11670 "09flm8s6jrvfya2ypw5873mnnani8ssy7wdv3ra1cljk4bjszy4p"))))
11671 (build-system meson-build-system)
11673 `(#:glib-or-gtk? #t
11675 ;; Ensure the RUNPATH contains all installed library locations.
11676 (list (string-append "-Dc_link_args=-Wl,-rpath="
11677 (assoc-ref %outputs "out")
11678 "/lib/gthumb/extensions")
11679 (string-append "-Dcpp_link_args=-Wl,-rpath="
11680 (assoc-ref %outputs "out")
11681 "/lib/gthumb/extensions"))))
11683 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11684 ("glib:bin" ,glib "bin") ; for glib-compile-resources
11685 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11686 ("intltool" ,intltool)
11687 ("itstool" ,itstool)
11688 ("pkg-config" ,pkg-config)
11689 ("python" ,python)))
11691 `(("clutter" ,clutter)
11692 ("clutter-gst" ,clutter-gst)
11693 ("clutter-gtk" ,clutter-gtk)
11696 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11697 ("gstreamer" ,gstreamer)
11699 ("libheif" ,libheif)
11700 ("libjpeg" ,libjpeg-turbo)
11702 ("librsvg" ,librsvg)
11703 ("libtiff" ,libtiff)
11704 ("libwebp" ,libwebp)))
11705 (home-page "https://wiki.gnome.org/Apps/Gthumb")
11706 (synopsis "GNOME image viewer and browser")
11707 (description "GThumb is an image viewer, browser, organizer, editor and
11708 advanced image management tool")
11709 (license license:gpl2+)))
11711 (define-public terminator
11713 (name "terminator")
11718 (uri (string-append "https://github.com/gnome-terminator/terminator/"
11719 "releases/download/v" version "/"
11720 name "-" version ".tar.gz"))
11722 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
11723 (build-system python-build-system)
11725 `(("gettext" ,gettext-minimal)
11726 ("glib:bin" ,glib "bin") ; for glib-compile-resources
11727 ("gobject-introspection" ,gobject-introspection)
11728 ("intltool" ,intltool)
11729 ("pkg-config" ,pkg-config)
11730 ("python-psutil" ,python-psutil)
11731 ("python-pytest-runner" ,python-pytest-runner)
11732 ("python-pytest" ,python-pytest)))
11735 ("dbus-glib" ,dbus-glib)
11736 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11738 ("python" ,python-wrapper)
11739 ("python-dbus" ,python-dbus)
11740 ("python-notify2" ,python-notify2)
11741 ("python-pycairo" ,python-pycairo)
11742 ("python-pygobject" ,python-pygobject)
11745 (list python-configobj))
11747 ;; One test out of 28 fails due to dbus-python and python-notify; skip
11750 #:imported-modules ((guix build glib-or-gtk-build-system)
11751 ,@%python-build-system-modules)
11752 #:modules ((guix build python-build-system)
11753 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
11754 (guix build utils))
11756 (modify-phases %standard-phases
11757 (add-after 'unpack 'handle-dbus-python
11759 ;; python-dbus cannot be found but it's really there. See
11760 ;; https://github.com/SpotlightKid/jack-select/issues/2
11761 (substitute* "setup.py"
11762 (("'dbus-python',") ""))))
11763 (add-after 'install 'wrap-program
11764 (lambda* (#:key outputs #:allow-other-keys)
11765 (let ((prog (string-append (assoc-ref outputs "out")
11766 "/bin/terminator"))
11767 (pylib (string-append (assoc-ref outputs "out")
11769 ,(version-major+minor
11770 (package-version python))
11771 "/site-packages")))
11773 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
11774 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))
11775 (add-after 'wrap-program 'glib-or-gtk-wrap
11776 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
11777 (home-page "https://gnome-terminator.org/")
11778 (synopsis "Store and run multiple GNOME terminals in one window")
11780 "Terminator allows you to run multiple GNOME terminals in a grid and
11781 tabs, and it supports drag and drop re-ordering of terminals.")
11782 (license license:gpl2)))
11784 (define-public libhandy
11791 (uri (git-reference
11792 (url "https://gitlab.gnome.org/GNOME/libhandy")
11794 (file-name (git-file-name name version))
11796 (base32 "1z8sbx7g19c1p8dy0sn0l25qfvrd2j28h269lsqm1y98r818h2k1"))))
11797 (build-system meson-build-system)
11799 `(#:configure-flags
11800 '("-Dglade_catalog=enabled"
11801 ;; XXX: Generating the documentation fails because the
11802 ;; libhandy.devhelp2 document cannot be created. This seems to be
11803 ;; caused by a problem during the XSL transformation.
11806 (modify-phases %standard-phases
11807 (add-after 'unpack 'patch-docbook-xml
11808 (lambda* (#:key inputs #:allow-other-keys)
11812 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
11813 (search-input-file inputs
11814 "/xml/dtd/docbook/docbookx.dtd"))))
11815 (find-files "doc" "\\.xml"))))
11816 (add-before 'check 'pre-check
11818 ;; Tests require a running X server.
11819 (system "Xvfb :1 &")
11820 (setenv "DISPLAY" ":1"))))))
11822 (list gtk+ glade3))
11824 (list gobject-introspection ; for g-ir-scanner
11835 ;; Test suite dependencies.
11837 xorg-server-for-tests))
11838 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11839 (synopsis "Library full of GTK+ widgets for mobile phones")
11840 (description "The aim of the handy library is to help with developing user
11841 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11842 for usage on small and big screens.")
11843 (license license:lgpl2.1+)))
11845 (define-public libhandy-0.0
11852 (uri (git-reference
11853 (url "https://gitlab.gnome.org/GNOME/libhandy")
11854 (commit (string-append "v" version))))
11855 (file-name (git-file-name "libhandy" version))
11857 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11859 (substitute-keyword-arguments (package-arguments libhandy)
11860 ((#:configure-flags flags)
11861 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11863 (define-public libgit2-glib
11865 (name "libgit2-glib")
11869 (uri (string-append "mirror://gnome/sources/" name "/"
11870 (version-major+minor version) "/"
11871 name "-" version ".tar.xz"))
11874 "1wqypx0xv20vk0zfh20c474z6rdgbxbklcr2wkhl30dgbmbxg3f3"))))
11875 (build-system meson-build-system)
11877 (list `(,glib "bin") ;; For glib-mkenums
11878 gobject-introspection
11886 (list glib libgit2)) ;; In Requires of libgit2-glib.pc.
11887 (synopsis "GLib wrapper around the libgit2 Git access library")
11888 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11889 access library. It only implements the core plumbing functions, not really the
11890 higher level porcelain stuff.")
11891 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11892 (license license:gpl2+)))
11894 (define-public gitg
11900 (uri (string-append "mirror://gnome/sources/" name "/"
11901 (version-major version) "/"
11902 name "-" version ".tar.xz"))
11905 "0aa6djcf7rjw0q688mfy47k67bbjpnx6aw1xs94abfhgn6gipdkz"))))
11906 (build-system meson-build-system)
11911 #~(modify-phases %standard-phases
11912 (add-after 'unpack 'disable-post-install-partially
11914 (substitute* "meson_post_install.py"
11915 (("'python'") ; there are no python sources to compile
11916 (string-append "'" (which "true") "'"))
11917 (("gtk-update-icon-cache") (which "true")))))
11918 (add-after 'unpack 'fix-test-sources
11920 (substitute* "tests/libgitg/test-commit.vala"
11921 (("/bin/bash") (which "bash")))))
11922 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11923 (lambda* (#:key outputs #:allow-other-keys)
11924 (let ((prog (string-append #$output "/bin/gitg")))
11926 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
11929 gsettings-desktop-schemas
11942 (list `(,glib "bin")
11944 gobject-introspection
11949 (synopsis "Graphical user interface for git")
11951 "gitg is a graphical user interface for git. It aims at being a small,
11952 fast and convenient tool to visualize the history of git repositories.
11953 Besides visualization, gitg also provides several utilities to manage your
11954 repository and commit your work.")
11955 (home-page "https://wiki.gnome.org/Apps/Gitg")
11956 (license license:gpl2+)))
11958 (define-public gamin
11964 (uri (string-append "mirror://gnome/sources/" name "/"
11965 (version-major+minor version) "/"
11966 name "-" version ".tar.bz2"))
11969 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11970 (build-system gnu-build-system)
11973 (modify-phases %standard-phases
11974 ;; The 'config.sub' is too old to recognise aarch64.
11975 ,@(if (and=> (%current-target-system) target-aarch64?)
11976 `((add-after 'unpack 'replace-config.sub
11978 (delete-file "config.sub")
11979 (symlink (which "config.sub") "config.sub"))))
11981 (add-after 'unpack 'remove-deprecated-macro
11983 (substitute* '("server/gam_node.c"
11984 "server/gam_subscription.h"
11985 "server/gam_node.h"
11986 "server/gam_subscription.c")
11987 (("G_CONST_RETURN") "const"))
11989 ;; The configure script runs a test program unconditionally,
11990 ;; without an option to manually set the test result.
11991 ;; Override this test anyway.
11992 ,@(if (%current-target-system)
11993 `((add-after 'bootstrap 'set-have-abstract-sockets
11995 (define in-abstract-sockets-test? #f)
11996 (substitute* "configure"
11997 (("^#### Abstract sockets\n$")
11998 (set! in-abstract-sockets-test? #t)
11999 "#### Abstract sockets\n")
12000 (("^have_abstract_sockets=no\n$")
12001 (set! in-abstract-sockets-test? #f)
12002 ;; ‘Abstract sockets’ appear to be Linux-only.
12003 (string-append "have_abstract_sockets="
12004 ,(if (target-linux?)
12007 "\nif false; then\nif false; then :\n"))
12009 (if in-abstract-sockets-test?
12016 `(("pkg-config" ,pkg-config)
12017 ,@(if (and=> (%current-target-system) target-aarch64?)
12018 `(("config" ,config))
12020 (home-page "https://people.gnome.org/~veillard/gamin/")
12021 (synopsis "File alteration monitor")
12023 "Gamin is a file and directory monitoring system defined to be a subset
12024 of the FAM (File Alteration Monitor) system. This is a service provided by a
12025 library which detects when a file or a directory has been modified.")
12026 (license license:gpl2+)))
12028 (define-public gnome-mahjongg
12030 (name "gnome-mahjongg")
12034 (uri (string-append "mirror://gnome/sources/" name "/"
12035 (version-major+minor version) "/" name "-"
12036 version ".tar.xz"))
12039 "144ia3zn9rhwa1xbdkvsz6m0dsysl6mxvqw9bnrlh845hmyy9cfj"))))
12040 (build-system meson-build-system)
12042 `(#:meson ,meson-0.59
12043 #:glib-or-gtk? #t))
12045 `(("appstream-glib" ,appstream-glib)
12046 ("gettext" ,gettext-minimal)
12047 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
12048 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
12049 ("itstool" ,itstool)
12050 ("pkg-config" ,pkg-config)
12056 (synopsis "Mahjongg tile-matching game")
12057 (description "GNOME Mahjongg is a game based on the classic Chinese
12058 tile-matching game Mahjongg. It features multiple board layouts, tile themes,
12059 and a high score table.")
12060 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
12061 (license license:gpl2+)))
12063 (define-public gnome-themes-extra
12065 (name "gnome-themes-extra")
12070 (uri (string-append "mirror://gnome/sources/" name "/"
12071 (version-major+minor version) "/" name "-"
12072 version ".tar.xz"))
12075 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
12076 (build-system gnu-build-system)
12078 '(#:configure-flags
12079 ;; Don't create 'icon-theme.cache'.
12080 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
12081 (true (string-append coreutils "/bin/true")))
12082 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
12084 `(("glib:bin" ,glib "bin")
12085 ("intltool" ,intltool)
12086 ("pkg-config" ,pkg-config)))
12091 ("librsvg" ,librsvg)
12092 ("libxml2" ,libxml2)))
12093 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
12094 (synopsis "GNOME Extra Themes")
12095 (description "This package provides themes and related elements that don't
12096 really fit in other upstream packages. It offers legacy support for GTK+ 2
12097 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
12098 index files needed for Adwaita to be used outside of GNOME.")
12099 (license license:lgpl2.1+)))
12101 (define-public gnome-themes-standard
12102 (deprecated-package "gnome-themes-standard" gnome-themes-extra))
12104 (define-public gnote
12111 (uri (string-append "mirror://gnome/sources/" name "/"
12112 (version-major version) "/"
12113 "gnote-" version ".tar.xz"))
12115 (base32 "0fam3v9na4ndqdc63866bvhcxrzj478jsx34vsh0777d4ixw883c"))))
12116 (build-system meson-build-system)
12118 `(#:glib-or-gtk? #t
12119 #:phases (modify-phases %standard-phases
12120 (add-after 'unpack 'skip-gtk-update-icon-cache
12121 ;; Don't create 'icon-theme.cache'.
12123 (substitute* "post-install.py"
12124 (("gtk-update-icon-cache") "true")))))))
12126 (list desktop-file-utils
12129 gobject-introspection
12135 gsettings-desktop-schemas
12140 `(,util-linux "lib")
12143 (synopsis "Note-taking application for the GNOME desktop")
12144 (description "Gnote is a note-taking application written for the GNOME
12145 desktop environment.")
12146 (home-page "https://wiki.gnome.org/Apps/Gnote")
12147 (license license:gpl3+)))
12149 (define-public polari
12155 (uri (string-append "mirror://gnome/sources/polari/"
12156 (version-major version)
12157 "/polari-" version ".tar.xz"))
12160 "0gbbjs522a8vdps79m1h3krkizbld61h8r1hn9z41gpc904cz45g"))))
12161 (build-system meson-build-system)
12163 `(#:glib-or-gtk? #t
12165 (modify-phases %standard-phases
12166 (add-after 'unpack 'skip-gtk-update-icon-cache
12168 (substitute* "meson.build"
12169 (("gtk_update_icon_cache: true")
12170 "gtk_update_icon_cache: false"))))
12171 (add-after 'install 'fix-desktop-file
12172 ;; Hard-code launcher to be on the safe side.
12173 (lambda* (#:key outputs #:allow-other-keys)
12174 (substitute* (search-input-file
12176 "share/applications/org.gnome.Polari.desktop")
12178 (string-append "Exec=" (search-input-file outputs "bin/polari")
12180 (add-after 'glib-or-gtk-wrap 'wrap-typelib
12181 (lambda* (#:key outputs #:allow-other-keys)
12182 (wrap-program (search-input-file outputs "bin/polari")
12183 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
12185 (list desktop-file-utils
12188 gobject-introspection
12194 gsettings-desktop-schemas
12204 (list telepathy-idle
12205 telepathy-mission-control))
12206 (synopsis "Simple IRC Client")
12208 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
12209 integrate seamlessly with the GNOME desktop.")
12210 (home-page "https://wiki.gnome.org/Apps/Polari")
12211 (license license:gpl2+)))
12213 (define-public gnome-boxes
12215 (name "gnome-boxes")
12220 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
12221 (version-major version) "/"
12222 "gnome-boxes-" version ".tar.xz"))
12224 (base32 "1lv0bdh935qj6wkv3ixg2pcv8yrapj79z02gw4fal3rhz3xggvsn"))))
12225 (build-system meson-build-system)
12227 (list #:glib-or-gtk? #t
12228 #:configure-flags #~(list "-Drdp=false"
12229 (string-append "-Dc_link_args=-Wl,-rpath="
12231 "/lib/gnome-boxes"))
12232 #:phases #~(modify-phases %standard-phases
12233 (add-after 'unpack 'disable-gtk-update-icon-cache
12235 (setenv "DESTDIR" "/")))
12236 (add-before 'configure 'set-qemu-file-name
12237 (lambda* (#:key inputs #:allow-other-keys)
12238 (substitute* "src/installed-media.vala"
12240 (search-input-file inputs
12241 "/bin/qemu-img"))))))))
12243 (list desktop-file-utils ;for update-desktop-database
12245 `(,glib "bin") ;for glib-compile-resources
12251 (list glib-networking ;for TLS support
12252 gsettings-desktop-schemas
12267 qemu-minimal ;for qemu-img
12272 webkitgtk-with-libsoup2)) ;for webkit2gtk-4.0
12273 (home-page "https://wiki.gnome.org/Apps/Boxes")
12274 (synopsis "View, access, and manage remote and virtual systems")
12275 (description "GNOME Boxes is a simple application to view, access, and
12276 manage remote and virtual systems. Note that this application requires the
12277 @code{libvirt} and @code{virtlog} daemons to run. Use the command
12278 @command{info '(guix) Virtualization Services'} to learn how to configure
12279 these services on the Guix System.")
12281 ;; For data/icons/empty-boxes.png.
12284 license:lgpl2.0+))))
12286 (define-public geary
12292 (uri (git-reference
12293 (url "https://gitlab.gnome.org/GNOME/geary.git")
12294 (commit (string-append "gnome-" version))))
12295 (file-name (git-file-name name version))
12298 "04hvw86r8sczvjm1z3ls5y5y5h6nyfb648rjkfx05ib00mqq5v1x"))))
12299 (build-system meson-build-system)
12301 `(#:glib-or-gtk? #t
12303 '("-Dprofile=release")
12304 #:phases (modify-phases %standard-phases
12305 (add-after 'unpack 'disable-failing-tests
12307 (substitute* "test/test-client.vala"
12308 (("client.add_suite\\(new Application.CertificateManagerTest\\(\\).suite\\);")
12310 (add-after 'unpack 'generate-vapis
12311 (lambda* (#:key inputs #:allow-other-keys)
12312 ;; It’s not possible to generate the GMime vapi, because
12313 ;; there’s custom metadata that gmime didn’t
12314 ;; install. Thus, the vapi should be built and installed
12317 (assoc-ref inputs "gmime"))
12318 (copy-file (string-append gmime "/share/vala/vapi/gmime-3.0.vapi")
12319 "bindings/vapi/gmime-3.0.vapi")))
12320 (add-after 'unpack 'disable-postinstall-script
12322 (substitute* "build-aux/post_install.py"
12323 (("gtk-update-icon-cache")
12325 (add-before 'check 'setup-home
12327 ;; Tests require a writable HOME.
12328 (setenv "HOME" (getcwd))))
12329 (add-before 'check 'setup-xvfb
12331 (system "Xvfb :1 &")
12332 (setenv "DISPLAY" ":1"))))))
12339 gnome-online-accounts
12340 gsettings-desktop-schemas
12354 webkitgtk-with-libsoup2
12357 (list appstream-glib
12364 gobject-introspection
12365 gsettings-desktop-schemas
12372 xorg-server-for-tests))
12373 (synopsis "GNOME email application built around conversations")
12375 "Geary collects related messages together into conversations,
12376 making it easy to find and follow your discussions. Full-text and keyword
12377 search makes it easy to find the email you are looking for. Geary's
12378 full-featured composer lets you send rich, styled text with images, links, and
12379 lists, but also send lightweight, easy to read text messages. Geary
12380 automatically picks up your existing GNOME Online Accounts, and adding more is
12381 easy. Geary has a clean, fast, modern interface that works like you want it
12383 (home-page "https://wiki.gnome.org/Apps/Geary")
12389 license:cc-by-sa3.0
12390 license:public-domain
12394 (define-public glabels
12401 (uri (string-append "mirror://gnome/sources/" name "/"
12402 (version-major+minor version) "/"
12403 "glabels-" version ".tar.xz"))
12405 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
12406 (build-system glib-or-gtk-build-system)
12408 `(("gettext" ,gettext-minimal)
12409 ("glib:bin" ,glib "bin")
12410 ("intltool" ,intltool)
12411 ("itstool" ,itstool)
12412 ("pkg-config" ,pkg-config)))
12414 (list gtk+ librsvg libxml2))
12416 `(#:configure-flags '("CFLAGS=-fcommon")))
12417 (home-page "https://glabels.org/")
12418 (synopsis "Program for creating labels and business cards")
12420 "gLabels is a program for creating labels and business cards. It is
12421 designed to work with various laser/ink-jet peel-off label and business
12422 card sheets that you’ll find at most office supply stores.")
12423 (license license:gpl3+)))
12425 (define-public gnome-latex
12427 (name "gnome-latex")
12432 (uri (string-append "mirror://gnome/sources/" name "/"
12433 (version-major+minor version) "/"
12434 "gnome-latex-" version ".tar.xz"))
12436 (base32 "0cynhmrn99f4f3kddczsc58ak4b9sv2zkfbcyz7z16848nhz047k"))))
12437 (build-system glib-or-gtk-build-system)
12439 (list gettext-minimal
12441 gobject-introspection
12453 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
12454 (synopsis "LaTeX editor for the GNOME desktop")
12456 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
12457 such as build tools, completion of LaTeX commands, structure navigation,
12458 symbol tables, document templates, project management, spell-checking, menus
12460 (license license:gpl3+)))
12462 (define-public setzer
12469 (uri (git-reference
12470 (url "https://github.com/cvfosammmm/Setzer")
12471 (commit (string-append "v" version))))
12472 (file-name (git-file-name name version))
12474 (base32 "12w58v7qsd3xfmrxhij8dby9xnvd82hxqb4wc6di7lqz1ayg5lzc"))))
12475 (build-system meson-build-system)
12479 #:imported-modules `(,@%meson-build-system-modules
12480 (guix build python-build-system))
12481 #:modules '((guix build meson-build-system)
12482 ((guix build python-build-system) #:prefix python:)
12483 (guix build utils))
12485 #~(modify-phases %standard-phases
12486 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12487 (lambda* (#:key inputs outputs #:allow-other-keys)
12488 (wrap-program (search-input-file outputs "bin/setzer")
12489 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
12490 ,(python:site-packages inputs outputs)))
12491 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
12493 (list gettext-minimal
12497 gsettings-desktop-schemas
12503 python-pdfminer-six
12508 webkitgtk-with-libsoup2
12510 (home-page "https://www.cvfosammmm.org/setzer/")
12511 (synopsis "LaTeX editor written in Python with GTK+")
12513 "Setzer is a simple yet full-featured LaTeX editor written in Python with
12514 GTK+. It integrates well with the GNOME desktop environment.")
12515 (license license:gpl3+)))
12517 (define-public apostrophe
12519 (name "apostrophe")
12523 (uri (git-reference
12524 (url "https://gitlab.gnome.org/World/apostrophe")
12525 (commit (string-append "v" version))))
12526 (file-name (git-file-name name version))
12529 "0wsvq2434p650cf3vq5w7a6czbk8in0ra7nji45mvwyfahdyn6j4"))))
12530 (build-system meson-build-system)
12534 #:imported-modules `(,@%meson-build-system-modules
12535 (guix build python-build-system))
12536 #:modules '((guix build meson-build-system)
12537 ((guix build python-build-system) #:prefix python:)
12538 (guix build utils))
12540 #~(modify-phases %standard-phases
12541 (add-after 'unpack 'patch-meson
12543 (substitute* "build-aux/meson_post_install.py"
12544 (("gtk-update-icon-cache") "true"))))
12545 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12546 (lambda* (#:key inputs outputs #:allow-other-keys)
12547 (wrap-program (search-input-file outputs "bin/apostrophe")
12548 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
12549 ,(python:site-packages inputs outputs)))
12550 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
12551 `("PATH" prefix (,(dirname
12552 (search-input-file inputs
12553 "/bin/pandoc"))))))))))
12557 gobject-introspection
12570 webkitgtk-with-libsoup2))
12572 (list gettext-minimal
12576 (home-page "https://gitlab.gnome.org/World/apostrophe")
12577 (synopsis "Markdown editor written in Python with GTK+")
12578 (description "Apostrophe is a GTK+ based distraction-free Markdown editor.
12579 It uses pandoc as back-end for parsing Markdown.")
12580 (license license:gpl3)))
12582 (define-public libratbag
12589 (uri (git-reference
12590 (url "https://github.com/libratbag/libratbag")
12591 (commit (string-append "v" version))))
12592 (file-name (git-file-name name version))
12594 (base32 "0jjf6xc3a37icp5dvbxla3ai9is2ns31m0llbfq1bmb6dk8cd4n0"))))
12595 (build-system meson-build-system)
12597 `(#:configure-flags
12598 (list "-Dsystemd=false"
12599 "-Dlogind-provider=elogind"
12600 ,@(if (not (package? (this-package-native-input "valgrind")))
12601 `("-Dtests=false") ; Some tests still run.
12604 (modify-phases %standard-phases
12605 (add-after 'install 'wrap
12606 (lambda* (#:key inputs outputs #:allow-other-keys)
12607 (let* ((out (assoc-ref outputs "out"))
12608 (site (string-append
12610 ,(version-major+minor (package-version python))
12612 (evdev (string-append
12613 (assoc-ref inputs "python-evdev") site))
12614 (pygo (string-append
12615 (assoc-ref inputs "python-pygobject") site))
12617 `("GUIX_PYTHONPATH" = (,evdev ,pygo))))
12618 (wrap-program (string-append out "/bin/" "ratbagctl")
12623 (list check pkg-config swig)
12624 (if (member (%current-system) (package-supported-systems valgrind))
12629 ("json-glib" ,json-glib)
12630 ("libevdev" ,libevdev)
12631 ("libsystemd" ,elogind)
12632 ("libunistring" ,libunistring)
12634 ("python-evdev" ,python-evdev)
12635 ("python-pygobject" ,python-pygobject)
12637 (home-page "https://github.com/libratbag/libratbag")
12638 (synopsis "DBus daemon and utility for configuring gaming mice")
12639 (description "libratbag provides @command{ratbagd}, a DBus daemon to
12640 configure input devices, mainly gaming mice. The daemon provides a generic
12641 way to access the various features exposed by these mice and abstracts away
12642 hardware-specific and kernel-specific quirks. There is also the
12643 @command{ratbagctl} command line interface for configuring devices.
12645 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
12648 The ratbagd DBus service can be enabled by adding the following service to
12649 your operating-system definition:
12651 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
12652 (license license:expat)))
12654 (define-public piper
12659 (origin (method git-fetch)
12660 (uri (git-reference
12661 (url "https://github.com/libratbag/piper")
12664 (base32 "0jsvfy0ihdcgnqljfgs41lys1nlz18qvsa0a8ndx3pyr41f8w8wf"))
12665 (file-name (git-file-name name version))))
12666 (build-system meson-build-system)
12668 `(#:imported-modules ((guix build python-build-system)
12669 ,@%meson-build-system-modules)
12670 #:modules (((guix build python-build-system) #:prefix python:)
12671 (guix build meson-build-system)
12672 (guix build utils))
12674 (modify-phases %standard-phases
12675 (add-after 'unpack 'dont-update-gtk-icon-cache
12677 (substitute* "meson.build"
12678 (("meson.add_install_script\\('meson_install.sh')") ""))))
12679 (add-after 'unpack 'do-not-require-flake8
12681 (substitute* "meson.build"
12682 (("find_program\\('flake8'" all)
12683 (string-append all ", required : false")))))
12684 (add-after 'install 'wrap-python
12685 (assoc-ref python:%standard-phases 'wrap))
12686 (add-after 'wrap-python 'wrap
12687 (lambda* (#:key inputs outputs #:allow-other-keys)
12688 (wrap-script (search-input-file outputs "bin/piper")
12689 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
12690 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
12691 ,(python:site-packages inputs outputs)))))))))
12696 gobject-introspection
12699 (list adwaita-icon-theme
12701 guile-3.0 ;for wrap-script
12708 (home-page "https://github.com/libratbag/piper/")
12709 (synopsis "Configure bindings and LEDs on gaming mice")
12710 (description "Piper is a GTK+ application for configuring gaming mice with
12711 onboard configuration for key bindings via libratbag. Piper requires
12712 a @command{ratbagd} daemon running with root privileges. It can be run
12713 manually as root, but is preferably configured as a DBus service that can
12714 launch on demand. This can be configured by enabling the following service,
12715 provided there is a DBus service present:
12717 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
12718 (license license:gpl2)))
12720 (define-public parlatype
12727 (uri (git-reference
12728 (url "https://github.com/gkarsay/parlatype")
12729 (commit (string-append "v" version))))
12730 (file-name (git-file-name name version))
12732 (base32 "0cqrzbkyksfsm57riirmjkwf2nf2dgl1xpps1wvqxpij475qcb9b"))))
12733 (build-system meson-build-system)
12735 `(#:glib-or-gtk? #t
12736 #:tests? #f ;require internet access
12738 (modify-phases %standard-phases
12739 (add-after 'unpack 'skip-gtk-update-icon-cache
12741 (substitute* "data/meson_post_install.py"
12742 (("gtk-update-icon-cache") "true"))))
12743 (add-after 'install 'wrap-parlatype
12744 ;; Add gstreamer plugin provided in this package to system's
12746 (lambda* (#:key outputs #:allow-other-keys)
12747 (let* ((out (assoc-ref outputs "out"))
12748 (gst-plugin-path (string-append
12749 out "/lib/gstreamer-1.0/"
12751 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
12752 (wrap-program (string-append out "/bin/parlatype")
12753 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path)))))))))
12755 (list appstream-glib
12756 desktop-file-utils ;for desktop-file-validate
12758 `(,glib "bin") ;for glib-compile-resources
12762 (list gst-plugins-base
12770 (home-page "https://www.parlatype.org")
12771 (synopsis "GNOME audio player for transcription")
12772 (description "Parlatype is an audio player for the GNOME desktop
12773 environment. Its main purpose is the manual transcription of spoken
12775 (license license:gpl3+)))
12777 (define-public jsonrpc-glib
12779 (name "jsonrpc-glib")
12783 (uri (string-append "mirror://gnome/sources/" name "/"
12784 (version-major+minor version) "/"
12785 name "-" version ".tar.xz"))
12788 "0sr71110gwbv08qwjh410fnhq6v5swn849y4gm314am8gjjqj692"))))
12789 (build-system meson-build-system)
12794 (list `(,glib "bin") ; for glib-genmarshal, etc.
12795 gobject-introspection
12798 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
12799 (synopsis "JSON-RPC library for GLib")
12800 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
12801 peers in either a synchronous or asynchronous fashion. It also allows
12802 communicating using the GVariant serialization format instead of JSON when
12803 both peers support it. You might want that when communicating on a single
12804 host to avoid parser overhead and memory-allocator fragmentation.")
12805 (license license:lgpl2.1+)))
12807 (define-public feedbackd
12810 (version "0.0.0+git20200527")
12813 (uri (git-reference
12814 (url "https://source.puri.sm/Librem5/feedbackd.git")
12815 (commit (string-append "v" version))))
12816 (file-name (git-file-name name version))
12819 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
12820 (build-system meson-build-system)
12822 (list `(,glib "bin") gobject-introspection pkg-config vala))
12824 (list dbus gsound json-glib libgudev))
12826 (list glib)) ; in Requires of libfeedback-0.0.pc
12827 (synopsis "Haptic/visual/audio feedback via DBus")
12828 (description "Feedbackd provides a DBus daemon to act on events to provide
12829 haptic, visual and audio feedback. It offers the libfeedbackd library and
12830 GObject introspection bindings.")
12831 (home-page "https://source.puri.sm/Librem5/feedbackd")
12832 (license (list license:lgpl2.1+ ; libfeedbackd
12833 license:lgpl3+)))) ; the rest
12835 (define-public sysprof
12842 (uri (string-append "mirror://gnome/sources/sysprof/"
12843 (version-major+minor version) "/"
12844 "sysprof-" version ".tar.xz"))
12846 (base32 "16nmr1qs7s2ylhwj58zj6b7in72nw7z72glaz746f2g7dbqs00k4"))))
12847 (build-system meson-build-system)
12851 #~(list (string-append "-Dsystemdunitdir=" #$output "/share/systemd"))
12853 #~(modify-phases %standard-phases
12854 (add-after 'unpack 'disable-post-install
12856 (substitute* "meson.build"
12857 (("gtk_update_icon_cache: true")
12858 "gtk_update_icon_cache: false")
12859 (("update_desktop_database: true")
12860 "update_desktop_database: false")))))))
12872 (list gettext-minimal
12873 `(,glib-next "bin") ;for gdbus-codegen, etc.
12877 ;; This home page is so woefully out of date as to be essentially useless.
12878 ;; (home-page "http://www.sysprof.com")
12879 (home-page "https://wiki.gnome.org/Apps/Sysprof")
12880 (synopsis "System-wide performance profiler for GNU/Linux")
12882 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
12883 GNU/Linux system including the kernel and all user-space applications. This
12884 helps find the function(s) in which a program spends most of its time.
12886 It uses the kernel's built-in @code{ptrace} feature and handles shared
12887 libraries. Applications do not need to be recompiled--or even restarted.")
12888 (license license:gpl3+)))
12890 (define-public sysprof-3.44
12897 (uri (string-append "mirror://gnome/sources/sysprof/"
12898 (version-major+minor version) "/"
12899 "sysprof-" version ".tar.xz"))
12901 (base32 "0nq0icbln0ryqzlybr7wyl19mhr3vkqzs6wasn430fwpf5drypdb"))))
12902 (inputs (modify-inputs (package-inputs sysprof)
12903 (replace "glib" glib)
12904 (replace "gtk" gtk+)))
12905 (native-inputs (modify-inputs (package-native-inputs sysprof)
12906 (replace "glib" `(,glib "bin"))))
12907 (arguments (substitute-keyword-arguments (package-arguments sysprof)
12908 ((#:phases phases '%standard-phases)
12909 #~(modify-phases #$phases
12910 (replace 'disable-post-install
12912 (substitute* "build-aux/meson/post_install.sh"
12913 (("gtk-update-icon-cache") "true")
12914 (("update-desktop-database") "true"))))))))))
12916 (define-public gnome-builder
12918 (name "gnome-builder")
12922 (uri (string-append "mirror://gnome/sources/" name "/"
12923 (version-major version) "/"
12924 name "-" version ".tar.xz"))
12927 "02k78mamp1yf9y6wixd864hdf9saw83wdw01f80lhnw60avm2kax"))))
12928 (build-system meson-build-system)
12931 #:glib-or-gtk? #t ;To wrap binaries and compile schemas
12932 #:configure-flags #~(list "-Dnetwork_tests=false")
12934 #~(modify-phases %standard-phases
12935 (add-after 'unpack 'patch-meson
12936 (lambda* (#:key inputs #:allow-other-keys)
12937 (substitute* "build-aux/meson/post_install.py"
12938 (("gtk-update-icon-cache") "true")
12939 (("update-desktop-database") "true"))
12940 (substitute* "src/libide/meson.build"
12942 (string-append #$(this-package-input "python-pygobject")
12944 (add-before 'check 'pre-check
12946 (system "Xvfb :1 &")
12947 (setenv "DISPLAY" ":1"))))))
12951 devhelp-with-libsoup2
12971 webkitgtk-with-libsoup2))
12973 (list gtksourceview-4)) ;needed for settings
12975 (list desktop-file-utils ;for desktop-file-validate
12979 python ;for meson scripts
12981 xorg-server-for-tests))
12982 (home-page "https://wiki.gnome.org/Apps/Builder")
12983 (synopsis "Toolsmith for GNOME-based applications")
12985 "Builder aims to be an integrated development environment (IDE) for
12986 writing GNOME-based software. It features fuzzy search, auto-completion,
12987 a mini code map, documentation browsing, Git integration, an integrated
12988 profiler via Sysprof, debugging support, and more.")
12989 (license license:gpl3+)))
12991 (define-public komikku
12998 (uri (git-reference
12999 (url "https://gitlab.com/valos/Komikku/")
13000 (commit (string-append "v" version))))
13001 (file-name (git-file-name name version))
13004 "17r059srxrx26w40swy47pdpyigyjdczp8550g4rfh86qs3ld4il"))))
13005 (build-system meson-build-system)
13007 `(#:glib-or-gtk? #t
13009 (modify-phases %standard-phases
13010 (add-after 'unpack 'patch-sources
13012 (substitute* "komikku/utils.py"
13013 (("from komikku\\.servers import get_servers_list")
13014 ;; code following that line should migrate old databases
13015 ;; but the line itself results in an import error
13016 "return data_dir_path"))))
13017 (add-after 'unpack 'skip-gtk-update-icon-cache
13019 (substitute* "meson_post_install.py"
13020 (("gtk-update-icon-cache") (which "true")))))
13021 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
13022 (lambda* (#:key outputs #:allow-other-keys)
13023 (wrap-program (search-input-file outputs "bin/komikku")
13024 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
13025 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
13033 python-beautifulsoup4
13035 python-cloudscraper
13042 python-pure-protobuf
13047 webkitgtk-with-libsoup2))
13049 (list desktop-file-utils
13052 gobject-introspection
13054 (home-page "https://gitlab.com/valos/Komikku")
13055 (synopsis "Manga reader for GNOME")
13056 (description "Komikku is an online/offline manga reader for GNOME,
13057 developed with the aim of being used with the Librem 5 phone.")
13058 (license license:gpl3+)))
13060 (define-public libgda
13067 (uri (string-append "mirror://gnome/sources/" name "/"
13068 (version-major+minor version) "/"
13069 name "-" version ".tar.xz"))
13071 (base32 "0w564z7krgjk19r39mi5qn4kggpdg9ggbyn9pb4aavb61r14npwr"))
13072 (patches (search-patches "libgda-cve-2021-39359.patch"
13073 "libgda-fix-build.patch"
13074 "libgda-fix-missing-initialization.patch"
13075 "libgda-skip-postgresql-tests.patch"))))
13076 (build-system meson-build-system)
13083 gobject-introspection
13100 (list libxml2)) ; required by libgda-5.0.pc
13101 (home-page "https://gitlab.gnome.org/GNOME/libgda")
13102 (synopsis "Uniform data access")
13104 "GNU Data Access (GDA) is an attempt to provide uniform access to
13105 different kinds of data sources (databases, information servers, mail spools,
13106 etc). It is a complete architecture that provides all you need to access
13108 (license license:lgpl2.1+)))
13110 (define-public gtranslator
13112 (name "gtranslator")
13116 (uri (string-append "mirror://gnome/sources/" name "/"
13117 (version-major version) "/"
13118 name "-" version ".tar.xz"))
13121 "0fzi48s3wz9mf6c1ndpkby83bgshgn2116nqjq31n1j3wszvqrra"))))
13122 (build-system meson-build-system)
13124 (list #:build-type "release" ;otherwise it tries to fetch stuff via git
13127 #~(modify-phases %standard-phases
13128 (add-after 'unpack 'skip-gtk-update-icon-cache
13130 (substitute* "build-aux/meson/meson_post_install.py"
13131 (("gtk-update-icon-cache") (which "true"))))))))
13133 (list `(,glib-next "bin")
13142 gsettings-desktop-schemas
13149 (list gtksourceview-4)) ; required for source view
13150 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
13151 (synopsis "Translation making program")
13153 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
13154 for the GNOME 3.x platform with many features. It aims to be a very complete
13155 editing environment for translation issues within the GNU gettext/GNOME desktop
13157 (license license:gpl3+)))
13160 (define-public ocrfeeder
13166 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
13167 (version-major+minor version) "/"
13168 "ocrfeeder-" version ".tar.xz"))
13171 "1vaaphzk6zn7pp2x9scphdzlbsma910wnbhd9xry50nx95cjlgdh"))))
13172 (build-system gnu-build-system)
13175 (modify-phases %standard-phases
13177 'install 'wrap-program
13178 (lambda* (#:key outputs #:allow-other-keys)
13179 (let ((prog (string-append (assoc-ref outputs "out")
13180 "/bin/" "ocrfeeder"))
13181 (pylib (string-append (assoc-ref outputs "out")
13183 ,(version-major+minor
13184 (package-version python))
13185 "/site-packages")))
13187 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
13188 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
13190 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
13191 ("gobject-introspection" ,gobject-introspection)
13192 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
13193 ("intltool" ,intltool)
13194 ("itstool" ,itstool)
13195 ("pkg-config" ,pkg-config)
13196 ("xmllint" ,libxml2)))
13198 `(("enchant" ,enchant)
13200 ("goocanvas" ,goocanvas)
13202 ("gtkspell3" ,gtkspell3)
13203 ("libjpeg" ,libjpeg-turbo)
13204 ("libtiff" ,libtiff)
13207 ("python" ,python-wrapper)
13208 ("python-pygobject" ,python-pygobject)
13209 ("python-odfpy" ,python-odfpy)
13210 ("python-pillow" ,python-pillow)
13211 ("python-pyenchant" ,python-pyenchant)
13212 ("python-reportlab" ,python-reportlab)
13213 ("python-sane" ,python-sane)
13214 ("sane-backends" ,sane-backends)
13215 ("tesseract-ocr" ,tesseract-ocr)))
13216 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
13217 (synopsis "Complete OCR Suite")
13218 (description "OCRFeeder is a complete Optical Character Recognition and
13219 Document Analysis and Recognition program.")
13220 (license license:gpl3+)))
13222 (define-public libadwaita
13224 (name "libadwaita")
13228 (uri (string-append "mirror://gnome/sources/libadwaita/"
13229 (version-major+minor version) "/"
13230 "libadwaita-" version ".tar.xz"))
13233 "1syg7fkpcsw0q6fy3g79myb9m9bvrnh3rjrm6g4bfg1pnlqf1w22"))))
13234 (build-system meson-build-system)
13237 (modify-phases %standard-phases
13238 (add-before 'check 'pre-check
13239 (lambda* (#:key inputs #:allow-other-keys)
13240 ;; Tests require a running X server.
13241 (system "Xvfb :1 &")
13242 (setenv "DISPLAY" ":1"))))))
13244 (list gettext-minimal
13246 gobject-introspection
13251 xorg-server-for-tests))
13253 (list gtk)) ;libadwaita-1.pc 'Requires' it
13254 (home-page "https://gnome.pages.gitlab.gnome.org/libadwaita/")
13255 (synopsis "Building blocks for GNOME applications")
13257 "@code{libadwaita} offers widgets and objects to build GNOME
13258 applications scaling from desktop workstations to mobile phones. It is the
13259 successor of @code{libhandy} for GTK4.")
13260 (license license:lgpl2.1+)))
13262 (define-public gnome-power-manager
13264 (name "gnome-power-manager")
13268 (uri (string-append "mirror://gnome/sources/" name "/"
13269 (version-major+minor version) "/"
13270 name "-" version ".tar.xz"))
13273 "0drfn3wcc8l4n07qwv6p0rw2dwcd00hwzda282q62l6sasks2b2g"))))
13274 (build-system meson-build-system)
13276 (list upower gtk+ gsettings-desktop-schemas adwaita-icon-theme))
13278 (list desktop-file-utils
13279 `(,glib "bin") gettext-minimal pkg-config))
13280 (home-page "https://gitlab.gnome.org/GNOME/gnome-power-manager")
13281 (synopsis "Power management daemon for the GNOME desktop")
13282 (description "@code{gnome-power-manager} is a tool for viewing present and
13283 historical battery usage and related statistics.")
13284 (license license:gpl2)))
13286 (define-public xffm+
13292 (uri (string-append "mirror://sourceforge/xffm/xffm+/xffm+-"
13293 version ".tar.bz2"))
13296 "0gwbgmjzlgv9ba95cgaigjnc9njzi7qznhvzp0qrnnlq3nbcm1k1"))))
13297 (build-system cmake-build-system)
13299 `(#:tests? #f ; No tests exist
13301 (let ((shared-mime-info (assoc-ref %build-inputs "shared-mime-info"))
13302 (out (assoc-ref %outputs "out")))
13303 (list (string-append "-DFREEDESKTOP_GLOBS=" shared-mime-info
13304 "/share/mime/globs")
13305 (string-append "-DFREEDESKTOP_ALIAS=" shared-mime-info
13306 "/share/mime/aliases")
13307 (string-append "-DFREEDESKTOP_ICONS=" shared-mime-info
13308 "/share/mime/generic-icons")
13309 (string-append "-DCMAKE_INSTALL_PREFIX=" out)
13310 (string-append "-DPREFIX_BIN=" out "/bin")))
13312 (modify-phases %standard-phases
13313 (add-after 'unpack 'patch-installation-destination
13314 (lambda* (#:key outputs #:allow-other-keys)
13315 (substitute* "CMakeLists.txt"
13316 ;; This is done so we can override.
13317 (("^set.CMAKE_INSTALL_PREFIX") "set(QCMAKE_INSTALL_PREFIX")
13318 ;; This is done so we can override.
13319 (("`set.PREFIX_BIN") "set(QPREFIX_BIN")))))))
13321 (list cmake pkg-config intltool gnu-gettext))
13323 (list glib gtk+ libx11 libsm libxv libxaw libxcb libxkbfile
13325 (synopsis "File manager")
13326 (description "This package provides a graphical file manager.")
13327 (home-page "http://xffm.org/")
13328 (license license:gpl3+)
13329 (properties '((upstream-name . "xffm")))))