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"))
256 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
257 #:configure-flags (list "-Dgtk_doc=true")
259 (modify-phases %standard-phases
260 (add-after 'unpack 'patch-docbook-xml
261 (lambda* (#:key inputs #:allow-other-keys)
262 (with-directory-excursion "doc"
263 (substitute* "gupnp-igd-docs.xml"
264 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
265 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
266 "/xml/dtd/docbook/"))))
268 (add-before 'check 'set-home
270 ;; A test using GIO expects ~/.config/glib-2.0/settings to be
272 (setenv "HOME" (getcwd))))
273 (add-after 'install 'move-doc
274 (lambda* (#:key outputs #:allow-other-keys)
275 (let* ((out (assoc-ref outputs "out"))
276 (doc (assoc-ref outputs "doc")))
277 (mkdir-p (string-append doc "/share"))
279 (string-append out "/share/gtk-doc")
280 (string-append doc "/share/gtk-doc"))
283 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
284 ("docbook-xsl" ,docbook-xsl)
285 ("glib:bin" ,glib "bin")
286 ("gobject-introspection" ,gobject-introspection)
287 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
288 ("gtk-doc" ,gtk-doc/stable)
289 ("pkg-config" ,pkg-config)))
291 (list glib glib-networking gssdp gupnp libsoup))
292 (synopsis "UPnP IGD for GNOME")
293 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
294 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
295 (license license:lgpl2.1+)))
297 (define-public brasero
303 (uri (string-append "mirror://gnome/sources/brasero/"
304 (version-major+minor version) "/"
305 "brasero-" version ".tar.xz"))
308 "05gabybkl7xfinwx97i4scp9hic0dlxj7gh03dyj0hd16fp9wx47"))))
309 (build-system glib-or-gtk-build-system)
311 `(#:configure-flags (list
312 (string-append "--with-girdir="
313 (assoc-ref %outputs "out")
315 (string-append "--with-typelibdir="
316 (assoc-ref %outputs "out")
317 "/lib/girepository-1.0"))
319 (modify-phases %standard-phases
320 (add-before 'configure 'embed-growisofs-reference
321 (lambda* (#:key inputs #:allow-other-keys)
322 (let ((dvd+rw-tools (assoc-ref inputs "dvd+rw-tools")))
323 (substitute* "plugins/growisofs/burn-growisofs.c"
324 (("(\")(growisofs)" _ prefix command)
325 (string-append prefix dvd+rw-tools "/bin/" command)))))))))
327 (list hicolor-icon-theme))
331 `(,glib "bin") ; glib-compile-schemas, etc.
332 gobject-introspection
346 (home-page "https://wiki.gnome.org/Apps/Brasero")
347 (synopsis "CD/DVD burning tool for Gnome")
348 (description "Brasero is an application to burn CD/DVD for the Gnome
349 Desktop. It is designed to be as simple as possible and has some unique
350 features to enable users to create their discs easily and quickly.")
351 (license license:gpl2+)))
353 ;;; Minimal variant, used to break a cycle with Inkscape.
354 (define-public libcloudproviders-minimal
356 (name "libcloudproviders-minimal")
362 (string-append "mirror://gnome/sources/libcloudproviders/"
363 (version-major+minor version)
364 "/libcloudproviders-" version ".tar.xz"))
366 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
367 (build-system meson-build-system)
369 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
370 #:configure-flags (list "-Dintrospection=false"
371 "-Denable-gtk-doc=false"
374 `(("glib:bin" ,glib "bin")
375 ("pkg-config" ,pkg-config)
378 (list glib glib-networking))
379 (synopsis "Cloudproviders Integration API")
380 (description "Libcloudproviders is a DBus API that allows cloud storage sync
381 clients to expose their services. Clients such as file managers and desktop
382 environments can then provide integrated access to the cloud providers
384 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
385 (license license:lgpl3+)))
387 (define-public libcloudproviders
388 (package/inherit libcloudproviders-minimal
389 (name "libcloudproviders")
391 (outputs (cons "doc" (package-outputs libcloudproviders-minimal)))
393 (substitute-keyword-arguments (package-arguments libcloudproviders-minimal)
394 ((#:configure-flags _)
395 '(list "-Denable-gtk-doc=true")) ;false by default
396 ((#:phases phases '%standard-phases)
397 `(modify-phases %standard-phases
398 (add-after 'install 'move-doc
399 (lambda* (#:key outputs #:allow-other-keys)
400 (let* ((out (assoc-ref outputs "out"))
401 (doc (assoc-ref outputs "doc")))
402 (mkdir-p (string-append doc "/share"))
404 (string-append out "/share/gtk-doc")
405 (string-append doc "/share/gtk-doc")))))))))
408 `(("gobject-introspection" ,gobject-introspection)
409 ("gtk-doc" ,gtk-doc/stable))
410 (package-native-inputs libcloudproviders-minimal)))))
412 (define-public libgrss
420 (string-append "mirror://gnome/sources/" name "/"
421 (version-major+minor version) "/"
422 name "-" version ".tar.xz"))
424 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))
426 (search-patches "libgrss-CVE-2016-2001.patch"))))
427 (build-system glib-or-gtk-build-system)
428 (outputs '("out" "doc"))
433 (string-append "--with-html-dir="
434 (assoc-ref %outputs "doc")
435 "/share/gtk-doc/html"))
437 (modify-phases %standard-phases
438 (add-after 'unpack 'patch-docbook-xml
439 (lambda* (#:key inputs #:allow-other-keys)
440 (with-directory-excursion "doc/reference"
441 (substitute* "libgrss-docs.sgml"
442 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
443 (string-append (assoc-ref inputs "docbook-xml")
444 "/xml/dtd/docbook/"))))
447 (list docbook-xml-4.1.2 gobject-introspection gtk-doc/stable
450 (list glib libsoup-minimal-2 libxml2))
451 (synopsis "Glib library for feeds")
452 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
454 (home-page "https://wiki.gnome.org/Projects/Libgrss")
455 (license license:lgpl3+)))
457 (define-public gnome-js-common
459 (name "gnome-js-common")
465 (string-append "mirror://gnome/sources/" name "/"
466 (version-major+minor version) "/"
467 name "-" version ".tar.gz"))
469 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
470 (build-system glib-or-gtk-build-system)
474 "--disable-static")))
476 `(("gettext" ,gettext-minimal)
477 ("intltool" ,intltool)
478 ("pkg-config" ,pkg-config)))
479 (synopsis "Common JS Modules")
480 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
482 (home-page "https://wiki.gnome.org/Projects/Seed")
483 (license license:gpl3+)))
493 (string-append "mirror://gnome/sources/" name "/"
494 (version-major+minor version) "/"
495 name "-" version ".tar.xz"))
497 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
499 (search-patches "seed-webkit.patch"))))
500 (build-system glib-or-gtk-build-system)
501 (outputs '("out" "doc"))
506 "--enable-xorg-module"
507 (string-append "--with-html-dir="
508 (assoc-ref %outputs "doc")
509 "/share/gtk-doc/html")
512 (modify-phases %standard-phases
513 ;; The seed-webkit.patch patches configure.ac.
514 ;; So the source files need to be re-bootstrapped.
515 (add-after 'unpack 'trigger-bootstrap
517 (for-each delete-file
522 (add-after 'unpack 'patch-tests
523 (lambda* (#:key outputs #:allow-other-keys)
524 (substitute* (find-files "." "\\.js$")
525 (("#!/usr/bin/env seed")
526 (string-append "#!" (getcwd) "/src/seed")))
528 (add-before 'build 'patch-docbook-xml
529 (lambda* (#:key inputs #:allow-other-keys)
530 (with-directory-excursion "doc"
531 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
532 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
533 (string-append (assoc-ref inputs "docbook-xml")
534 "/xml/dtd/docbook/"))))
537 `(("autoconf" ,autoconf)
538 ("automake" ,automake)
539 ("docbook-xml" ,docbook-xml-4.1.2)
540 ("gettext" ,gettext-minimal)
541 ("gobject-introspection" ,gobject-introspection)
542 ("gtk-doc" ,gtk-doc/stable)
543 ("intltool" ,intltool)
545 ("pkg-config" ,pkg-config)))
549 ("dbus-glib" ,dbus-glib)
550 ("gnome-js-common" ,gnome-js-common)
556 ("readline" ,readline)
558 ("xscrnsaver" ,libxscrnsaver)))
561 ("webkit" ,webkitgtk-with-libsoup2)))
562 (synopsis "GObject JavaScriptCore bridge")
563 (description "Seed is a library and interpreter, dynamically bridging
564 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
565 GNOME platform. It serves as something which enables you to write standalone
566 applications in JavaScript, or easily enable your application to be extensible
568 (home-page "https://wiki.gnome.org/Projects/Seed")
569 (license license:lgpl2.0+)))
571 (define-public libdmapsharing
573 (name "libdmapsharing")
579 (string-append "https://www.flyn.org/projects/"
580 name "/" name "-" version ".tar.gz"))
582 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
583 (build-system glib-or-gtk-build-system)
584 (outputs '("out" "doc"))
586 `(#:tests? #f ; Tests require networking.
590 (string-append "--with-html-dir="
591 (assoc-ref %outputs "doc")
592 "/share/gtk-doc/html"))
594 (modify-phases %standard-phases
595 (add-after 'unpack 'patch-docbook-xml
596 (lambda* (#:key inputs #:allow-other-keys)
597 (with-directory-excursion "doc"
598 (substitute* "libdmapsharing-4.0-docs.xml"
599 (("http://www.oasis-open.org/docbook/xml/4.3/")
600 (string-append (assoc-ref inputs "docbook-xml")
601 "/xml/dtd/docbook/"))))
606 gobject-introspection
614 ("gst-plugins-base" ,gst-plugins-base)
617 (list glib glib-networking gstreamer libsoup-minimal-2))
618 (synopsis "Media management library")
619 (description "Libdmapsharing is a library which allows programs to access,
620 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
621 It is written in C using GObject and libsoup.")
622 (home-page "https://launchpad.net/gtx")
623 (license license:lgpl2.1+)))
633 (string-append "https://launchpad.net/gtx/trunk/"
634 version "/+download/gtx-" version ".tar.gz"))
636 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
637 (build-system glib-or-gtk-build-system)
638 (outputs '("out" "doc"))
644 (string-append "--with-html-dir="
645 (assoc-ref %outputs "doc")
646 "/share/gtk-doc/html"))))
648 (list gobject-introspection gtk-doc/stable pkg-config))
651 (synopsis "GLib Testing Framework")
652 (description "GTX is a small collection of convenience functions intended to
653 enhance the GLib testing framework. With specific emphasis on easing the pain
654 of writing test cases for asynchronous interactions.")
655 (home-page "https://launchpad.net/gtx")
656 (license license:lgpl2.1+)))
666 (string-append "https://launchpad.net/dee/1.0/"
667 version "/+download/dee-" version ".tar.gz"))
669 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
671 (search-patches "dee-vapi.patch"))))
672 (build-system glib-or-gtk-build-system)
673 (outputs '("out" "doc"))
677 "--disable-maintainer-flags"
678 (string-append "--with-pygi-overrides-dir="
679 (assoc-ref %outputs "out")
681 ,(version-major+minor
682 (package-version python))
683 "/site-packages/gi/overrides")
684 (string-append "--with-html-dir="
685 (assoc-ref %outputs "doc")
686 "/share/gtk-doc/html"))
688 (modify-phases %standard-phases
689 (add-after 'unpack 'patch-docbook-xml
690 (lambda* (#:key inputs #:allow-other-keys)
691 (with-directory-excursion "doc/reference/dee-1.0"
692 (substitute* "dee-1.0-docs.sgml"
693 (("http://www.oasis-open.org/docbook/xml/4.3/")
694 (string-append (assoc-ref inputs "docbook-xml")
695 "/xml/dtd/docbook/"))))))
696 (add-after 'patch-docbook-xml 'disable-failing-tests
698 (substitute* "tests/test-icu.c"
699 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
701 (("setup, test_ascii_folder, teardown\\);")
703 (add-before 'check 'pre-check
705 ;; Tests require a running dbus-daemon.
706 (system "dbus-daemon &")
707 ;; For missing '/etc/machine-id'.
708 (setenv "DBUS_FATAL_WARNINGS" "0"))))))
711 ("dbus-test-runner" ,dbus-test-runner)
712 ("docbook-xml" ,docbook-xml-4.3)
713 ("gobject-introspection" ,gobject-introspection)
714 ("gtk-doc" ,gtk-doc/stable)
715 ;; Would only be required by configure flag "--enable-extended-tests".
717 ("pkg-config" ,pkg-config)
718 ("pygobject" ,python-pygobject)
719 ("python" ,python-wrapper)
720 ("vala" ,vala-0.52)))
725 (synopsis "Model to synchronize multiple instances over DBus")
726 (description "Dee is a library that uses DBus to provide objects allowing
727 you to create Model-View-Controller type programs across DBus. It also consists
728 of utility objects which extend DBus allowing for peer-to-peer discoverability
729 of known objects without needing a central registrar.")
730 (home-page "https://launchpad.net/dee")
737 (define-public zeitgeist
746 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
748 (string-append "v" version))))
750 (git-file-name name version))
752 (base32 "07b1ahj3vd3m8srwkrh7dl3ymr7d55xiiszny44q13g06pq4svch"))))
753 (build-system glib-or-gtk-build-system)
757 "--enable-explain-queries"
761 (modify-phases %standard-phases
762 (add-after 'unpack 'patch-docbook-xml
763 (lambda* (#:key inputs #:allow-other-keys)
764 (with-directory-excursion "doc/libzeitgeist"
765 (substitute* "zeitgeist-gtkdoc-index.sgml"
766 (("http://www.oasis-open.org/docbook/xml/4.3/")
767 (string-append (assoc-ref inputs "docbook-xml")
768 "/xml/dtd/docbook/"))))))
769 (add-after 'patch-docbook-xml 'disable-failing-tests
771 (substitute* "test/direct/Makefile.am"
774 (substitute* "test/c/Makefile.am"
777 (add-before 'bootstrap 'remove-autogen-script
779 ;; To honor `autoreconf -vif` by build-system.
780 (delete-file "autogen.sh"))))))
782 `(("autoconf" ,autoconf)
783 ("automake" ,automake)
784 ("docbook-xml" ,docbook-xml-4.3)
785 ("gettext" ,gettext-minimal)
786 ("gobject-introspection" ,gobject-introspection)
787 ("gtk-doc" ,gtk-doc/stable)
789 ("pkg-config" ,pkg-config)
791 ("xorg-server-for-tests" ,xorg-server-for-tests)))
795 ("json-glib" ,json-glib)
797 ("telepathy-glib" ,telepathy-glib)
798 ("python" ,python-wrapper)
799 ("python-rdflib" ,python-rdflib)
800 ("xapian-config" ,xapian)))
803 (synopsis "Desktop Activity Logging")
804 (description "Zeitgeist is a service which logs the users’s activities and
805 events, anywhere from files opened to websites visited and conversations. It
806 makes this information readily available for other applications to use. It is
807 able to establish relationships between items based on similarity and usage
809 (home-page "https://zeitgeist.freedesktop.org/")
816 (define-public gnome-recipes
818 (name "gnome-recipes")
823 (url "https://gitlab.gnome.org/GNOME/recipes")
825 (file-name (git-file-name name version))
828 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
829 (build-system meson-build-system)
834 #~(modify-phases %standard-phases
835 (add-after 'unpack 'skip-gtk-update-icon-cache
837 (substitute* "meson_post_install.py"
838 (("gtk-update-icon-cache") (which "true")))))
839 (add-after 'unpack 'unpack-libgd
845 (url "https://gitlab.gnome.org/GNOME/libgd")
846 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
847 (file-name (git-file-name "libgd" version))
850 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs")))
851 "subprojects/libgd"))))))
854 gnome-online-accounts
861 (native-inputs (list desktop-file-utils ;for update-desktop-database
867 (home-page "https://wiki.gnome.org/Apps/Recipes")
868 (synopsis "Discover recipes for preparing food")
869 (description "GNOME Recipes helps you discover what to cook today,
870 tomorrow, the rest of the week and for special occasions.")
871 (license license:gpl3+)))
873 (define-public gnome-photos
875 (name "gnome-photos")
876 (version "43.beta") ;for geocode-glib 2 support
881 (string-append "mirror://gnome/sources/" name "/"
882 (version-major version) "/"
883 name "-" version ".tar.xz"))
886 "1pry45dy4sjw8y63vxw2b499brcxzpkd4hmg2vbqy538r79ah2g9"))))
887 (build-system meson-build-system)
892 #~(list "-Ddogtail=false" ; Not available
893 ;; Required for RUNPATH validation.
894 (string-append "-Dc_link_args=-Wl,-rpath="
895 #$output "/lib/gnome-photos"))
897 #~(modify-phases %standard-phases
898 (add-after 'unpack 'disable-gtk-update-icon-cache
900 (setenv "DESTDIR" "/")))
901 (add-after 'install 'wrap-gnome-photos
902 (lambda* (#:key outputs #:allow-other-keys)
903 (wrap-program (search-input-file outputs "bin/gnome-photos")
904 `("GRL_PLUGIN_PATH" =
905 (,(getenv "GRL_PLUGIN_PATH")))))))))
912 gobject-introspection
913 gsettings-desktop-schemas
923 gnome-online-accounts
939 (synopsis "Access, organize and share your photos on GNOME desktop")
940 (description "GNOME Photos is a simple and elegant replacement for using a
941 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
942 cloud integration is offered through GNOME Online Accounts.")
943 (home-page "https://wiki.gnome.org/Apps/Photos")
944 (license license:gpl3+)))
946 (define-public gnome-music
954 (string-append "mirror://gnome/sources/" name "/"
955 (version-major version) "/"
956 name "-" version ".tar.xz"))
959 "0w42xnp6xy3sfakb4s0wq7xfg7p507whz5gzss5b2mkbm2k7yx67"))))
960 (build-system meson-build-system)
964 (modify-phases %standard-phases
965 (add-after 'unpack 'skip-gtk-update-icon-cache
966 ;; Don't create 'icon-theme.cache'.
968 (substitute* "meson.build"
969 (("gtk_update_icon_cache: true")
970 "gtk_update_icon_cache: false"))))
971 (add-after 'install 'wrap-gnome-music
972 (lambda* (#:key inputs outputs #:allow-other-keys)
974 ((out (assoc-ref outputs "out"))
975 (pylib (string-append out "/lib/python"
976 ,(version-major+minor
977 (package-version python))
979 (wrap-program (string-append out "/bin/gnome-music")
980 `("GI_TYPELIB_PATH" =
981 (,(getenv "GI_TYPELIB_PATH")))
982 `("GST_PLUGIN_SYSTEM_PATH" =
983 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
984 `("GRL_PLUGIN_PATH" =
985 (,(getenv "GRL_PLUGIN_PATH")))
986 `("GUIX_PYTHONPATH" =
987 (,(getenv "GUIX_PYTHONPATH") ,pylib)))))))))
989 (list desktop-file-utils
992 gobject-introspection
996 (list gnome-online-accounts
1014 (synopsis "Simple music player for GNOME desktop")
1015 (description "GNOME Music is the new GNOME music playing application that
1016 aims to combine an elegant and immersive browsing experience with simple
1017 and straightforward controls.")
1018 (home-page "https://wiki.gnome.org/Apps/Music")
1019 (license license:gpl2+)))
1021 (define-public portablexdr
1023 (name "portablexdr")
1029 (string-append "https://people.redhat.com/~rjones/" name "/files/"
1030 name "-" version ".tar.gz"))
1033 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1034 (build-system gnu-build-system)
1035 (synopsis "External Data Representation Library")
1036 (description "PortableXDR is an implementation of External Data
1037 Representation (XDR) Library. It is a standard data serialization format, for
1038 uses such as computer network protocols. It allows data to be transferred
1039 between different kinds of computer systems.")
1040 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1044 license:lgpl2.1+))))
1054 (string-append "mirror://gnome/sources/" name "/"
1055 (version-major+minor version) "/"
1056 name "-" version ".tar.xz"))
1059 "16x14j3nvsjj7jb2qmxpzygnlcy7sd7p6skv0sqshkwdlp4jxzha"))))
1060 (build-system meson-build-system)
1063 #:phases (modify-phases %standard-phases
1064 (add-after 'unpack 'disable-problematic-tests
1066 ;; Only keep unit tests, as the interactive tests have
1067 ;; other dependencies.
1068 (substitute* "tests/meson.build"
1069 ((".*'interactive-tests'.*") ""))))
1070 (add-before 'check 'start-xserver
1072 (system "Xvfb :1 &")
1073 (setenv "DISPLAY" ":1"))))))
1075 (list `(,glib "bin")
1076 gobject-introspection
1080 xorg-server-for-tests))
1084 ;; These are all required by tepl6.pc.
1087 gsettings-desktop-schemas
1090 (synopsis "Text editor product line")
1091 (description "Tepl is a library that eases the development of
1092 GtkSourceView-based text editors and IDEs.")
1093 (home-page "https://wiki.gnome.org/Projects/Tepl")
1094 (license license:lgpl2.1+)))
1096 (define-public krb5-auth-dialog
1098 (name "krb5-auth-dialog")
1104 (string-append "mirror://gnome/sources/" name "/"
1105 (version-major+minor version) "/"
1106 name "-" version ".tar.xz"))
1109 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1110 (build-system glib-or-gtk-build-system)
1112 (list intltool itstool libxml2 pkg-config python-wrapper))
1114 (list glib gtk+ libnotify mit-krb5 network-manager))
1115 (synopsis "Popup dialogs for Kerberos 5")
1116 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1117 tickets, and pops up a dialog when they are about to expire.")
1118 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1119 (license license:gpl2+)))
1121 (define-public notification-daemon
1123 (name "notification-daemon")
1129 (string-append "mirror://gnome/sources/" name "/"
1130 (version-major+minor version) "/"
1131 name "-" version ".tar.xz"))
1134 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1135 (build-system glib-or-gtk-build-system)
1137 (list intltool pkg-config))
1139 (list glib gtk+ libx11))
1140 (synopsis "Notification Daemon for GNOME Desktop")
1141 (description "Notification-Daemon is the server implementation of the
1142 freedesktop.org desktop notification specification.")
1143 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1144 (license license:gpl2+)))
1146 (define-public mm-common
1152 (uri (string-append "mirror://gnome/sources/mm-common/"
1153 (version-major+minor version) "/"
1154 "mm-common-" version ".tar.xz"))
1157 "1x8yvjy0yg17qyhmqws8xh2k8dvzrhpwqz7j1cfwzalrb1i9c5g8"))))
1158 (build-system meson-build-system)
1161 (modify-phases %standard-phases
1162 (add-after 'unpack 'patch
1163 (lambda* (#:key inputs #:allow-other-keys)
1164 (substitute* "util/mm-common-prepare.in"
1165 (("ln") (search-input-file inputs "/bin/ln"))
1166 (("cp") (search-input-file inputs "/bin/cp"))
1167 (("sed") (search-input-file inputs "/bin/sed"))
1168 (("cat") (search-input-file inputs "/bin/cat"))))))))
1170 `(("coreutils" ,coreutils)
1171 ("gettext" ,gettext-minimal)
1172 ("pkg-config" ,pkg-config)
1176 (synopsis "Module of GNOME C++ bindings")
1177 (description "The mm-common module provides the build infrastructure
1178 and utilities shared among the GNOME C++ binding libraries. Release
1179 archives of mm-common include the Doxygen tag file for the GNU C++
1180 Library reference documentation.")
1181 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1182 (license license:gpl2+)))
1184 (define-public phodav
1190 (uri (string-append "mirror://gnome/sources/" name "/"
1191 (version-major+minor version) "/"
1192 name "-" version ".tar.xz"))
1195 "1l9qs70yvwi9r8ph081mrsdy412kk0m9l9pgy77hsc2hdp8c4bir"))))
1196 (build-system meson-build-system)
1199 (modify-phases %standard-phases
1200 (add-after 'unpack 'fix-udev-rules-directory
1201 (lambda* (#:key outputs #:allow-other-keys)
1202 (let* ((out (assoc-ref outputs "out"))
1203 (rules (string-append out "/lib/udev/rules.d")))
1204 (substitute* "data/meson.build"
1205 (("udev\\.get_pkgconfig_variable\\('udevdir'\\)")
1206 (format #f "'~a'" rules))))))
1207 (add-before 'check 'set-temporary-home
1208 ;; Tests want to write into HOME.
1210 (setenv "HOME" "/tmp"))))))
1212 (list docbook-xml-4.3
1215 gsettings-desktop-schemas
1222 (synopsis "WebDav server implementation using libsoup")
1223 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1224 but it is generic enough to be reused in other projects,
1225 in particular in the GNOME desktop.")
1226 (home-page "https://wiki.gnome.org/phodav")
1227 (license license:lgpl2.1+)))
1229 (define-public gnome-color-manager
1231 (name "gnome-color-manager")
1235 (uri (string-append "mirror://gnome/sources/" name "/"
1236 (version-major+minor version) "/"
1237 name "-" version ".tar.xz"))
1240 "0fxdng74d8hwhfx1nwl1i4jx9h9f6c2hkyc12f01kqbjcimrxnwx"))))
1241 (build-system meson-build-system)
1245 (modify-phases %standard-phases
1249 ;; Tests require a running X server.
1250 (system "Xvfb :1 &")
1251 (setenv "DISPLAY" ":1")
1254 `(("desktop-file-utils" ,desktop-file-utils)
1255 ("gettext" ,gettext-minimal)
1256 ("glib:bin" ,glib "bin")
1257 ("gtk+:bin" ,gtk+ "bin")
1258 ("itstool" ,itstool)
1259 ("pkg-config" ,pkg-config)
1260 ("xorg-server" ,xorg-server-for-tests)))
1262 (list adwaita-icon-theme
1275 (synopsis "Color profile manager for the GNOME desktop")
1276 (description "GNOME Color Manager is a session framework that makes
1277 it easy to manage, install and generate color profiles
1278 in the GNOME desktop.")
1279 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1280 (license license:gpl2+)))
1282 (define-public gnome-online-miners
1284 (name "gnome-online-miners")
1288 (uri (string-append "mirror://gnome/sources/" name "/"
1289 (version-major+minor version) "/"
1290 name "-" version ".tar.xz"))
1293 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))
1296 "gnome-online-miners-tracker-3.patch"))))
1297 (build-system glib-or-gtk-build-system)
1300 (modify-phases %standard-phases
1301 (add-after 'unpack 'fix-configure
1303 (substitute* "configure.ac"
1304 (("AX_CHECK_ENABLE_DEBUG.*")
1306 (add-after 'fix-configure 'autoreconf
1308 (invoke "autoreconf" "-vif"))))))
1310 `(("autoconf" ,autoconf)
1311 ("automake" ,automake)
1312 ("gettext" ,gettext-minimal)
1313 ("glib:bin" ,glib "bin")
1314 ("gobject-introspection" ,gobject-introspection)
1315 ("gtk+:bin" ,gtk+ "bin")
1316 ("libtool" ,libtool)
1317 ("pkg-config" ,pkg-config)))
1319 `(("gnome-online-accounts" ,gnome-online-accounts)
1321 ("libgdata" ,libgdata)
1322 ("libgfbgraph" ,gfbgraph)
1323 ("libzapojit" ,libzapojit)
1325 ("tracker" ,tracker)))
1326 (synopsis "Web Crawlers for GNOME")
1327 (description "GNOME Online Miners provides a set of crawlers that
1328 go through your online content and index them locally in Tracker.
1329 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1330 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1331 (license license:gpl2+)))
1333 (define-public gssdp
1339 (uri (string-append "mirror://gnome/sources/" name "/"
1340 (version-major+minor version) "/"
1341 name "-" version ".tar.xz"))
1344 "07hn2xma2yh17v7rlvcaibkn16bx4l9qig3mlb8hdp6qfiraqh7b"))))
1345 (build-system meson-build-system)
1347 (list gettext-minimal
1350 gobject-introspection
1356 ;; The .pc file "Requires" libsoup.
1358 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1359 Protocol} for GNOME")
1360 (description "This package provides a library to handle resource discovery
1361 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1362 a debugging tool, @command{gssdp-device-sniffer}.")
1363 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1364 (license license:lgpl2.0+)))
1366 (define-public gssdp-1.4
1373 (uri (string-append "mirror://gnome/sources/" name "/"
1374 (version-major+minor version) "/"
1375 name "-" version ".tar.xz"))
1378 "10hm8cgh2p8441xc83kswjgghrrqpzgblvc5523jp0pvayfq8xl6"))))
1379 (propagated-inputs (modify-inputs (package-propagated-inputs gssdp)
1380 (replace "libsoup" libsoup-minimal-2)))))
1382 (define-public gupnp
1388 (uri (string-append "mirror://gnome/sources/" name "/"
1389 (version-major+minor version) "/"
1390 name "-" version ".tar.xz"))
1393 "0y0v0m6afnx879hjvhj2lrawp9qhpyp8mbds0yp544imghajk0wq"))))
1394 (build-system meson-build-system)
1397 (modify-phases %standard-phases
1398 (add-before 'check 'pre-check
1400 ;; Tests require a writable HOME.
1401 (setenv "HOME" (getcwd)))))))
1403 (list gettext-minimal
1405 gobject-introspection
1410 ;; These libraries are required by the .pc file.
1412 gsettings-desktop-schemas ;for ‘org.gnome.system.proxy’.
1416 (synopsis "PnP API for GNOME")
1417 (description "This package provides GUPnP, an object-oriented framework
1418 for creating UPnP devices and control points, written in C using
1419 @code{GObject} and @code{libsoup}.")
1420 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1421 (license license:lgpl2.0+)))
1423 (define-public gupnp-1.4
1430 (uri (string-append "mirror://gnome/sources/" name "/"
1431 (version-major+minor version) "/"
1432 name "-" version ".tar.xz"))
1435 "0vz3ifs8mi3zaz8zj8v27zfkf6xg82y39mcgqspa38jdp01gn3sr"))))
1436 (propagated-inputs (modify-inputs (package-propagated-inputs gupnp)
1437 (replace "libsoup" libsoup-minimal-2)
1438 (replace "gssdp" gssdp-1.4)))))
1440 (define-public gupnp-dlna
1446 (uri (string-append "mirror://gnome/sources/" name "/"
1447 (version-major+minor version) "/"
1448 name "-" version ".tar.xz"))
1451 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1452 (build-system gnu-build-system)
1454 (list gettext-minimal
1456 gobject-introspection
1462 (list gstreamer gupnp))
1464 (list gst-plugins-base gst-plugins-good))
1465 (synopsis "GUPnP DLNA for GNOME")
1466 (description "This package provides a small utility library to
1467 support DLNA-related tasks such as media profile guessing, transcoding to a
1468 given profile, etc. DLNA is a subset of UPnP A/V.")
1469 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1470 (license license:lgpl2.0+)))
1472 (define-public gupnp-av
1478 (uri (string-append "mirror://gnome/sources/" name "/"
1479 (version-major+minor version) "/"
1480 name "-" version ".tar.xz"))
1483 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1484 (build-system gnu-build-system)
1486 (list gettext-minimal
1488 gobject-introspection
1495 (synopsis "GUPnP A/V for GNOME")
1496 (description "This package provides a small library for handling
1497 and implementation of UPnP A/V profiles.")
1498 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1499 (license license:lgpl2.0+)))
1501 (define-public libmediaart
1503 (name "libmediaart")
1507 (uri (string-append "mirror://gnome/sources/" name "/"
1508 (version-major+minor version) "/"
1509 name "-" version ".tar.xz"))
1512 "1mlw1qgj8nkd9ll6b6h54r1gfdy3zp8a8xqz7qfyfaj85jjgbph7"))))
1513 (build-system meson-build-system)
1515 (list `(,glib "bin") pkg-config))
1517 (list gdk-pixbuf gettext-minimal gobject-introspection
1518 `(,gtk+ "doc") vala))
1519 (synopsis "Media art library for the GNOME desktop")
1521 "The libmediaart library is the foundation for media art caching,
1522 extraction, and lookup for applications on the desktop.")
1523 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1524 (license license:lgpl2.1+)))
1526 (define-public gnome-initial-setup
1528 (name "gnome-initial-setup")
1532 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1533 (version-major version)
1534 "/gnome-initial-setup-" version ".tar.xz"))
1537 "0yxy39a7d2whphd0jskvra5q8zy4v7m7lziy5fxibgls4j5xk0sd"))))
1538 (build-system meson-build-system)
1541 #:configure-flags #~(list "-Dsystemd=false")
1544 #~(modify-phases %standard-phases
1545 (add-after 'unpack 'set-gkbd-file-name
1546 (lambda* (#:key inputs #:allow-other-keys)
1547 ;; Allow the "Preview" button in the keyboard layout
1548 ;; selection dialog to display the layout.
1549 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1550 (("\"gkbd-keyboard-display")
1551 (string-append "\"" (search-input-file
1553 "bin/gkbd-keyboard-display")))))))))
1555 (list gettext-minimal
1557 gobject-introspection
1560 (list accountsservice
1566 gnome-online-accounts-3.44
1572 libgweather4-with-libsoup2
1582 webkitgtk-with-libsoup2))
1583 (synopsis "Initial setup wizard for GNOME desktop")
1584 (description "This package provides a set-up wizard when a
1585 user logs into GNOME for the first time. It typically provides a
1586 tour of all gnome components and allows the user to set them up.")
1587 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1588 (license license:gpl2)))
1590 (define-public gnome-user-share
1592 (name "gnome-user-share")
1596 (uri (string-append "mirror://gnome/sources/" name "/"
1597 (version-major+minor version) "/"
1598 name "-" version ".tar.xz"))
1601 "04r9ck9v4i0d31grbli1d4slw2d6dcsfkpaybkwbzi7wnj72l30x"))))
1602 (build-system meson-build-system)
1607 `("-Dsystemduserunitdir=/tmp/empty"
1608 ;; Enable nautilus extension for file sharing.
1609 "-Dnautilus_extension=true")))
1611 `(("gettext" ,gettext-minimal)
1612 ("glib:bin" ,glib "bin")
1613 ("gobject-introspection" ,gobject-introspection)
1614 ("gtk+:bin" ,gtk+ "bin")
1615 ("pkg-config" ,pkg-config)
1616 ("yelp-tools" ,yelp-tools)))
1623 nautilus)) ; For nautilus extension.
1624 (synopsis "File sharing for GNOME desktop")
1625 (description "GNOME User Share is a small package that binds together
1626 various free software projects to bring easy to use user-level file
1627 sharing to the masses.")
1628 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1629 (license license:gpl2+)))
1631 (define-public sushi
1637 (uri (string-append "mirror://gnome/sources/" name "/"
1638 (version-major version) "/"
1639 name "-" version ".tar.xz"))
1642 "0848gidl0ab8i5pa70mv8jzchmd9kqa8sn1lg977hyasyixdpn25"))))
1643 (build-system meson-build-system)
1647 (modify-phases %standard-phases
1648 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1649 (lambda* (#:key outputs #:allow-other-keys)
1650 (let ((prog (string-append (assoc-ref outputs "out")
1652 ;; Put existing typelibs before sushi's deps, so as to
1653 ;; correctly infer gdk-pixbuf.
1655 `("GI_TYPELIB_PATH" suffix
1656 (,(getenv "GI_TYPELIB_PATH"))))))))))
1658 (list `(,glib "bin")
1660 gobject-introspection
1667 evince ; For file previewing.
1680 (synopsis "File previewer for the GNOME desktop")
1681 (description "Sushi is a DBus-activated service that allows applications
1682 to preview files on the GNOME desktop.")
1683 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1684 (license license:gpl2+)))
1686 (define-public rygel
1692 (uri (string-append "mirror://gnome/sources/" name "/"
1693 (version-major+minor version) "/"
1694 name "-" version ".tar.xz"))
1697 "12rl1bgvwbdmnhva57b22q7d2pwqvi2rizygiyy6qpv1x3dqlvbk"))))
1698 (build-system meson-build-system)
1700 ;; Disable the tracker plugin.
1702 (list "-Dplugins=external,gst-launch,lms,media-export,
1703 mpris,playbin,ruih,tracker3")))
1705 (list gettext-minimal
1706 `(,glib "bin") ; for glib-compile-schemas, etc.
1707 gobject-introspection
1720 gst-editing-services
1732 (synopsis "Share audio, video, and pictures with other devices")
1734 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1735 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1736 pictures, and to control a media player on your home network.
1738 Rygel achieves interoperability with other devices by trying to conform to the
1739 strict requirements of DLNA and by converting media on-the-fly to formats that
1740 client devices can handle.")
1741 (home-page "https://wiki.gnome.org/Projects/Rygel")
1743 ;; For logo (data/icons/*).
1746 license:lgpl2.1+))))
1748 (define-public libnma
1754 (uri (string-append "mirror://gnome/sources/" name "/"
1755 (version-major+minor version) "/"
1756 name "-" version ".tar.xz"))
1759 "0h095a26w3sgbspsf7wzz8ddg62j3jb9ckrrv41k7cdp0k2dkhsg"))))
1760 (build-system meson-build-system)
1762 `(#:configure-flags (list "-Dlibnma_gtk4=true")
1764 (modify-phases %standard-phases
1765 (add-after 'unpack 'patch-docbook-xml
1766 (lambda* (#:key inputs #:allow-other-keys)
1767 (substitute* "libnma-docs.xml"
1768 (("http://.*/docbookx\\.dtd")
1770 inputs "xml/dtd/docbook/docbookx.dtd"))))))))
1772 (list docbook-xml-4.3
1776 gobject-introspection
1783 mobile-broadband-provider-info
1785 (synopsis "Network Manager's applet library")
1786 (description "Libnma is an applet library for Network Manager. It was
1787 initially part of network-manager-applet and has now become a separate
1789 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1790 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1792 (license license:gpl2+)))
1794 (define-public gnome-menus
1796 (name "gnome-menus")
1800 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1801 (version-major+minor version) "/"
1802 name "-" version ".tar.xz"))
1805 "07xvaf8s0fiv0035nk8zpzymn5www76w2a1vflrgqmp9plw8yd6r"))))
1806 (build-system gnu-build-system)
1808 (list gettext-minimal glib pkg-config))
1809 (synopsis "Menu support for GNOME desktop")
1810 (description "GNOME Menus contains the libgnome-menu library, the layout
1811 configuration files for the GNOME menu, as well as a simple menu editor.")
1812 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1813 (license license:lgpl2.0+)))
1815 (define-public deja-dup
1821 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1822 version "/deja-dup-" version ".tar.bz2"))
1825 "1mr2g009w0zm5rj8dg1k77c7zdwylih2yszm8vh8wkw6al6bzfh3"))))
1826 (build-system meson-build-system)
1831 ;; Otherwise, the RUNPATH will lack the final path component.
1832 (string-append "-Dc_link_args=-Wl,-rpath="
1833 (assoc-ref %outputs "out") "/lib/deja-dup"))
1835 (modify-phases %standard-phases
1836 (add-after 'unpack 'patch-paths
1837 (lambda* (#:key inputs #:allow-other-keys)
1838 (let ((python (assoc-ref inputs "python")))
1839 (substitute* '("libdeja/duplicity/DuplicityInstance.vala"
1840 "libdeja/tests/scripts/instance-error.test")
1843 (substitute* "libdeja/tests/runner.vala"
1846 (substitute* "libdeja/tests/scripts/instance-error.test"
1847 (("`which python3`")
1848 (string-append python "/bin/python3"))))))
1849 (add-after 'unpack 'patch-libgpg-error
1850 (lambda* (#:key inputs #:allow-other-keys)
1851 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1852 (substitute* "meson.build"
1853 (("(gpgerror_libs = ).*" _ var)
1854 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))))
1855 (add-after 'install 'wrap-program
1856 (lambda* (#:key inputs outputs #:allow-other-keys)
1857 ;; Add duplicity to the search path
1858 (wrap-program (string-append (assoc-ref outputs "out")
1861 (,(string-append (assoc-ref inputs "duplicity") "/bin")))))))))
1865 gsettings-desktop-schemas
1878 (list appstream-glib
1881 `(,glib "bin") ;for glib-compile-schemas
1882 gobject-introspection
1883 `(,gtk "bin") ;for gtk-update-icon-cache
1887 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1888 (synopsis "Simple backup tool, for regular encrypted backups")
1890 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1891 uses duplicity as the backend, which supports incremental backups and storage
1892 either on a local, or remote machine via a number of methods.")
1893 (license license:gpl3+)))
1895 (define-public gnome-commander
1897 (name "gnome-commander")
1902 (uri (string-append "mirror://gnome/sources/" name "/"
1903 (version-major+minor version) "/"
1904 "gnome-commander-" version ".tar.xz"))
1906 (base32 "0yzx9slg632iflw9p96nlh9i50dhacq7hrzpkj8b48mr1zkxrn3q"))))
1907 (build-system glib-or-gtk-build-system)
1909 (list desktop-file-utils
1913 gobject-introspection
1920 (list gconf glib gtk+-2 libxml2))
1921 (home-page "https://gcmd.github.io/")
1922 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1924 "GNOME Commander is a two-pane graphical file manager using GNOME
1925 libraries. It aims to fulfill the demands of more advanced users who
1926 like to focus on file management, their work through special applications
1927 and running smart commands.")
1928 (license license:gpl2+)))
1930 (define-public gnome-user-docs
1932 (name "gnome-user-docs")
1937 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1938 (version-major version)
1939 "/gnome-user-docs-" version ".tar.xz"))
1941 (base32 "01g9smkk2sj3yrih2wjn6vx9av855n7w6nqf9wpxvfq086h7vcmj"))))
1942 (build-system gnu-build-system)
1944 (list gettext-minimal itstool pkg-config libxml2))
1945 (synopsis "User documentation for the GNOME desktop")
1947 "The GNOME User Documentation explains how to use the GNOME desktop and its
1948 components. It covers usage and setup of the core GNOME programs by end-users
1949 and system administrators.")
1950 (home-page "https://live.gnome.org/DocumentationProject")
1951 (license license:cc-by3.0)))
1954 ;; This version from GNOME's repository includes fixes for compiling with
1955 ;; recent versions of the build tools. The latest activity on the
1956 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1958 (let ((commit "0997887d97f01be28bf3886dfd3e2002de437930")
1962 (version (git-version "0.97.3" revision commit))
1966 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1968 (file-name (git-file-name name version))
1971 "199b4n1jydg1g9lnz0r8xx67h7s2ac2lfj89zp015lbs0qqfkmsh"))))
1972 (build-system meson-build-system)
1973 ;; XXX: Parallel builds may cause: [74/566] [...]
1974 ;; fatal error: dia-lib-enums.h: No such file or directory
1975 (arguments '(#:parallel-build? #f))
1982 ;; XXX: PDF plugin fails to build with poppler 21.07.0.
1987 (list appstream-glib docbook-xsl
1988 `(,glib "bin") gettext-minimal pkg-config))
1989 (home-page "https://wiki.gnome.org/Apps/Dia")
1990 (synopsis "Diagram creation for GNOME")
1991 (description "Dia can be used to draw different types of diagrams, and
1992 includes support for UML static structure diagrams (class diagrams), entity
1993 relationship modeling, and network diagrams. The program supports various file
1994 formats like PNG, SVG, PDF and EPS.")
1995 (license license:gpl2+))))
1997 (define-public libgdata
2003 (uri (string-append "mirror://gnome/sources/" name "/"
2004 (version-major+minor version) "/"
2005 name "-" version ".tar.xz"))
2008 "1iq4d1qy0vkmy29xvr13dgz4pxvn5v3yi2swryld0ajinvp951fx"))))
2009 (build-system meson-build-system)
2012 (modify-phases %standard-phases
2013 (add-before 'check 'set-home-for-tests
2015 (setenv "HOME" "/tmp"))))))
2017 `(("glib:bin" ,glib "bin")
2018 ("gobject-introspection" ,gobject-introspection)
2019 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2020 ("intltool" ,intltool)
2021 ("pkg-config" ,pkg-config)
2022 ("uhttpmock" ,uhttpmock)))
2024 (list cyrus-sasl glib-networking vala))
2028 ("gnome-online-accounts" ,gnome-online-accounts)
2029 ("json-glib" ,json-glib)
2030 ("liboauth" ,liboauth)
2031 ("libsoup" ,libsoup-minimal-2)
2032 ("libxml2" ,libxml2)))
2033 (home-page "https://wiki.gnome.org/Projects/libgdata")
2034 (synopsis "Library for accessing online service APIs")
2036 "libgdata is a GLib-based library for accessing online service APIs using
2037 the GData protocol — most notably, Google's services. It provides APIs to
2038 access the common Google services, and has full asynchronous support.")
2039 (license license:lgpl2.1+)))
2041 (define-public libgxps
2047 (uri (string-append "mirror://gnome/sources/" name "/"
2048 (version-major+minor version) "/"
2049 name "-" version ".tar.xz"))
2052 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
2053 (build-system meson-build-system)
2055 (list gobject-introspection pkg-config))
2057 (list gtk+ libjpeg-turbo lcms libtiff))
2059 ;; In Requires of libgxps.pc.
2060 (list cairo glib libarchive))
2061 (home-page "https://wiki.gnome.org/Projects/libgxps")
2062 (synopsis "GObject-based library for handling and rendering XPS documents")
2064 "libgxps is a GObject-based library for handling and rendering XPS
2065 documents. This package also contains binaries that can convert XPS documents
2067 (license license:lgpl2.1+)))
2069 (define-public gnome-characters
2071 (name "gnome-characters")
2076 (uri (string-append "mirror://gnome/sources/"
2077 "gnome-characters/" (version-major version)
2078 "/gnome-characters-" version ".tar.xz"))
2081 "1y40g7k7yyzikbbxhf69q4c0221lga1cli1p617v99pq2swgz82x"))))
2082 (build-system meson-build-system)
2086 #:phases #~(modify-phases %standard-phases
2087 (add-after 'unpack 'disable-gtk-update-icon-cache
2089 (setenv "DESTDIR" "/")))
2090 (add-after 'install 'wrap
2091 (lambda* (#:key outputs #:allow-other-keys)
2092 ;; GNOME Characters needs Typelib files from GTK and
2094 (wrap-program (search-input-file outputs
2095 "bin/gnome-characters")
2096 `("GI_TYPELIB_PATH" ":" prefix
2097 (,(getenv "GI_TYPELIB_PATH")))))))))
2099 (list gettext-minimal
2110 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2111 (synopsis "Find and insert unusual characters")
2112 (description "Characters is a simple utility application to find
2113 and insert unusual characters. It allows you to quickly find the
2114 character you are looking for by searching for keywords.")
2115 (license license:bsd-3)))
2117 (define-public gnome-common
2119 (name "gnome-common")
2124 (uri (string-append "mirror://gnome/sources/" name "/"
2125 (version-major+minor version) "/"
2126 name "-" version ".tar.xz"))
2129 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2130 (build-system gnu-build-system)
2131 (home-page "https://www.gnome.org/")
2132 (synopsis "Bootstrap GNOME modules built from Git")
2133 (description "gnome-common contains various files needed to bootstrap
2134 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2135 can be used to configure a source directory checked out from Git and some
2136 commonly used macros.")
2137 (license license:gpl2+)))
2139 (define-public gnome-contacts
2141 (name "gnome-contacts")
2145 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2146 (version-major version) "/"
2147 name "-" version ".tar.xz"))
2150 "05jj5kiab13crm18r166w7h31jpny7f3px98q7d2ix93vj7w60l8"))))
2151 (build-system meson-build-system)
2155 (modify-phases %standard-phases
2156 (add-after 'unpack 'skip-gtk-update-icon-cache
2158 (substitute* "meson.build"
2159 (("gtk_update_icon_cache: true")
2160 "gtk_update_icon_cache: false")))))))
2162 (list desktop-file-utils
2168 gobject-introspection
2172 (list evolution-data-server-3.44
2174 gnome-online-accounts-3.44
2184 (list folks-with-libsoup2
2185 telepathy-mission-control))
2186 (synopsis "GNOME's integrated address book")
2188 "GNOME Contacts organizes your contact information from online and
2189 offline sources, providing a centralized place for managing your contacts.")
2190 (home-page "https://wiki.gnome.org/Apps/Contacts")
2191 (license license:gpl2+)))
2193 (define-public gnome-desktop
2195 (name "gnome-desktop")
2200 (uri (string-append "mirror://gnome/sources/" name "/"
2201 (version-major version) "/"
2202 name "-" version ".tar.xz"))
2205 "09ddr5fzhh02fcn7xl1wy18qfsdqryd5msl2nbhdnsbr0vawkqhw"))))
2206 (build-system meson-build-system)
2209 (modify-phases %standard-phases
2210 (add-before 'configure 'patch-path
2211 (lambda* (#:key inputs #:allow-other-keys)
2212 (substitute* "libgnome-desktop/gnome-languages.c"
2214 (format #f "~s" (search-input-file inputs "bin/locale"))))))
2215 (add-before 'configure 'patch-bubblewrap
2216 (lambda* (#:key inputs #:allow-other-keys)
2217 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2219 (string-append "\"" (which "bwrap") "\","))
2220 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2221 (string-append "\"--ro-bind\", \""
2226 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",")
2228 (add-before 'check 'pre-check
2229 (lambda* (#:key inputs #:allow-other-keys)
2230 ;; Tests require a running X server and locales.
2231 (system "Xvfb :1 &")
2232 (setenv "DISPLAY" ":1")
2233 (setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
2234 (setenv "XDG_CONFIG_HOME" "/tmp")
2235 (setenv "GUIX_LOCPATH"
2236 (search-input-directory inputs
2239 (list `(,glib "bin") ;for gdbus-codegen
2240 glibc-locales ;for tests
2241 gobject-introspection
2246 xorg-server-for-tests))
2248 ;; Required by gnome-desktop-3.0.pc.
2249 (list gsettings-desktop-schemas-next
2263 (home-page "https://www.gnome.org/")
2265 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2267 "The libgnome-desktop library provides API shared by several applications
2268 on the desktop, but that cannot live in the platform for various reasons.
2269 There is no API or ABI guarantee, although we are doing our best to provide
2270 stability. Documentation for the API is available with gtk-doc.
2272 The gnome-about program helps find which version of GNOME is installed.")
2273 ; Some bits under the LGPL.
2274 (license license:gpl2+)))
2276 (define-public gnome-disk-utility
2278 (name "gnome-disk-utility")
2282 (uri (string-append "mirror://gnome/sources/" name "/"
2283 (version-major version) "/"
2284 name "-" version ".tar.xz"))
2287 "02q906gn420xbf1f0apazryzqfv5b1ammz1vrci66hk79m2n8r8v"))))
2288 (build-system meson-build-system)
2290 `(#:configure-flags '("-Dlogind=libelogind")
2292 (modify-phases %standard-phases
2293 (add-after 'unpack 'skip-gtk-update-icon-cache
2294 ;; Don't create 'icon-theme.cache'.
2296 (substitute* "meson_post_install.py"
2297 (("gtk-update-icon-cache") "true")))))))
2310 gnome-settings-daemon
2319 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2320 (synopsis "Disk management utility for GNOME")
2321 (description "Disk management utility for GNOME.")
2322 (license license:gpl2+)))
2324 (define-public gnome-font-viewer
2326 (name "gnome-font-viewer")
2330 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2331 (version-major version)
2332 "/gnome-font-viewer-" version ".tar.xz"))
2335 "1k4dhk5dmkpxb5xpr9vrl7k2fdpi2fidzni1l2hhb891zzgvi8ng"))))
2336 (build-system meson-build-system)
2340 #~(modify-phases %standard-phases
2341 (add-after 'unpack 'patch-post-install-script
2343 (substitute* "meson-postinstall.sh"
2344 (("update-desktop-database") (which "true")))))
2345 (add-after 'install 'patch-thumbnailer
2346 (lambda* (#:key outputs #:allow-other-keys)
2349 outputs "share/thumbnailers/gnome-font-viewer.thumbnailer")
2350 (("gnome-thumbnail-font")
2351 (search-input-file outputs "bin/gnome-thumbnail-font"))))))))
2353 (list gettext-minimal
2363 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2364 (synopsis "GNOME Fonts")
2365 (description "Application to show you the fonts installed on your computer
2366 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2367 the font would look under various sizes.")
2368 (license license:gpl2+)))
2376 (uri (string-append "mirror://gnome/sources/" name "/"
2377 (version-major+minor version) "/"
2378 name "-" version ".tar.xz"))
2381 "0kx2pv272p0qc0nq1287gciyn34d95yxg41vq3lzxfzyqaijhwdv"))))
2382 (build-system meson-build-system)
2386 #~(modify-phases %standard-phases
2387 (add-after 'unpack 'remove-fatal-warnings-option
2388 ;; Otherwise, the gi-docgen tool would fail because of the
2389 ;; "Fontconfig error: No writable cache directories" warnings.
2391 (substitute* (find-files "." "^meson\\.build$")
2392 ((".*'--fatal-warnings',.*") ""))))
2393 (add-after 'unpack 'skip-gtk-update-icon-cache
2394 ;; Don't create 'icon-theme.cache'.
2396 (substitute* "meson_post_install.py"
2397 (("gtk-update-icon-cache") "true"))))
2398 (add-before 'check 'pre-check
2400 ;; Some tests expect to write to $HOME.
2401 (setenv "HOME" "/tmp")))
2403 (lambda* (#:key parallel-tests? tests? #:allow-other-keys)
2405 (setenv "MESON_TESTTHREADS"
2407 (number->string (parallel-job-count))
2409 ;; Work around the "mock prompter couldn't get session bus
2410 ;; address: Cannot spawn a message bus without a machine-id"
2411 ;; error by manually creating the session bus via
2412 ;; 'dbus-run-session'.
2413 (invoke "dbus-run-session" "--"
2414 "meson" "test" "-t" "0")))))))
2421 (list gettext-minimal
2424 gobject-introspection
2432 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2437 (home-page "https://www.gnome.org")
2438 (synopsis "Libraries for displaying certificates and accessing key stores")
2440 "The GCR package contains libraries used for displaying certificates and
2441 accessing key stores. It also provides the viewer for crypto files on the
2443 (license license:lgpl2.1+)))
2452 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2453 (commit (string-append "GDL_" (string-map (match-lambda
2457 (file-name (git-file-name name version))
2460 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2461 (build-system gnu-build-system)
2465 `(,glib "bin") ; for glib-genmarshal, etc.
2475 ;; The gdl-3.0.pc file 'Requires' GTK+.
2477 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2478 (synopsis "GNOME docking library")
2479 (description "This library provides docking features for gtk+.")
2480 (license license:lgpl2.1+)))
2482 ;;; A minimal variant used to break a cycle with Inkscape.
2483 (define-public gdl-minimal
2484 (package/inherit gdl
2485 (name "gdl-minimal")
2488 (modify-phases %standard-phases
2489 (add-after 'unpack 'disable-doc-generation
2490 ;; XXX: There is no easy way to disable generating the
2493 (substitute* "configure.in"
2494 (("GTK_DOC_CHECK.*") "")
2496 (substitute* "Makefile.am"
2497 (("gdl docs po") "gdl po"))
2499 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2501 (define-public libgnome-keyring
2503 (name "libgnome-keyring")
2507 (uri (string-append "mirror://gnome/sources/" name "/"
2508 (version-major+minor version) "/"
2509 name "-" version ".tar.xz"))
2512 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2513 (build-system gnu-build-system)
2515 (list libgcrypt dbus))
2518 `(,glib "bin") intltool))
2520 ;; Referred to in .h files and .pc.
2522 (home-page "https://www.gnome.org")
2523 (synopsis "Accessing passwords from the GNOME keyring")
2525 "Client library to access passwords from the GNOME keyring.")
2527 ;; Though a couple of files are LGPLv2.1+.
2528 (license license:lgpl2.0+)))
2530 (define-public gnome-keyring
2532 (name "gnome-keyring")
2536 (uri (string-append "mirror://gnome/sources/" name "/"
2537 (version-major version) "/"
2538 name "-" version ".tar.xz"))
2541 "1rp38v4s9116ivycp27w806wihqid48gk3p0czzbg9knri0d1x67"))))
2542 (build-system gnu-build-system)
2547 (string-append "--with-pkcs11-config="
2548 #$output "/share/p11-kit/modules/")
2549 (string-append "--with-pkcs11-modules="
2550 #$output "/share/p11-kit/modules/"))
2552 #~(modify-phases %standard-phases
2553 (add-after 'unpack 'fix-/bin/sh-reference
2555 (substitute* "po/Makefile.in.in"
2556 (("/bin/sh") (which "sh")))))
2558 (add-after 'install 'check
2559 (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
2561 (setenv "HOME" "/tmp") ;some tests require a writable HOME
2562 (setenv "XDG_DATA_DIRS" (string-append (getenv "XDG_DATA_DIRS")
2563 ":" #$output "/share"))
2564 (invoke "dbus-run-session" "make" "check" "-j"
2566 (number->string (parallel-job-count))
2575 (list dbus ;for tests
2582 libxml2 ;for XML_CATALOG_FILES
2583 libxslt ;for documentation
2585 python-wrapper)) ;for tests
2588 (home-page "https://www.gnome.org")
2589 (synopsis "Daemon to store passwords and encryption keys")
2591 "@command{gnome-keyring} is a program that keeps passwords and other
2592 secrets for users. It is run as a daemon in the session, similar to
2593 @command{ssh-agent}, and other applications locate it via an environment
2596 The program can manage several keyrings, each with its own master password,
2597 and there is also a session keyring which is never stored to disk, but
2598 forgotten when the session ends.")
2599 (license license:lgpl2.1+)))
2601 (define-public evince
2607 (uri "mirror://gnome/sources/evince/42/evince-42.3.tar.xz")
2610 "0pk42icnf4kdcaqaj17mcf4sxi82h1fdg2ds2zdrcv4lbj2czbj9"))))
2611 (build-system meson-build-system)
2614 #:build-type "release"
2615 #:configure-flags '("-Dnautilus=false")
2617 (modify-phases %standard-phases
2618 (add-after 'unpack 'skip-gtk-update-icon-cache
2619 ;; Don't create 'icon-theme.cache'.
2621 (substitute* "meson_post_install.py"
2622 (("gtk-update-icon-cache") "true")))))))
2631 texlive-libkpathsea ; for DVI support
2633 gsettings-desktop-schemas
2655 gobject-introspection
2658 (home-page " https://wiki.gnome.org/Apps")
2659 (synopsis "GNOME's document viewer")
2661 "Evince is a document viewer for multiple document formats. It
2662 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2663 of Evince is to replace the multiple document viewers that exist
2664 on the GNOME Desktop with a single simple application.")
2665 (license license:gpl2+)))
2667 (define-public gsettings-desktop-schemas
2669 (name "gsettings-desktop-schemas")
2674 (uri (string-append "mirror://gnome/sources/" name "/"
2675 (version-major version) "/"
2676 name "-" version ".tar.xz"))
2679 "1v9jagk679m01nji0acirynxinziv036618c7xc49l4nwmr9ja3p"))))
2680 (build-system meson-build-system)
2682 `(#:phases (modify-phases %standard-phases
2683 (add-after 'unpack 'patch-schemas
2684 (lambda* (#:key inputs #:allow-other-keys)
2685 (substitute* (find-files "schemas"
2686 "\\.gschema\\.xml\\.in$")
2687 ;; Provide the correct file name of the default
2688 ;; GNOME background, 'adwaita-timed.xml'.
2689 (("@datadir@/backgrounds/gnome")
2690 (search-input-directory inputs
2691 "/share/backgrounds/gnome"))
2692 ;; Do not reference fonts, that may not exist.
2693 (("'Source Code Pro 10'") "'Monospace 11'")))))))
2694 (inputs (list glib gnome-backgrounds))
2695 (native-inputs (list gettext-minimal
2696 `(,glib "bin") ;glib-compile-schemas, etc.
2697 gobject-introspection
2699 python)) ;for build-aux/meson/post-install.py
2700 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2701 (synopsis "GNOME settings for various desktop components")
2702 (description "Gsettings-desktop-schemas contains a collection of GSettings
2703 schemas for settings shared by various components of the GNOME desktop.")
2704 (license license:lgpl2.1+)))
2706 (define-public gsettings-desktop-schemas-next
2708 (inherit gsettings-desktop-schemas)
2709 (name "gsettings-desktop-schemas-next") ;to avoid propagation conflicts
2714 (uri (string-append "mirror://gnome/sources/" name "/"
2715 (version-major version) "/"
2716 name "-" version ".tar.xz"))
2719 "1li3fcqwnw20f4j0i21i88fygm0hli8gmzkn4apgf8ynkrd371k6"))))))
2721 (define-public python-liblarch
2723 (name "python-liblarch")
2729 (url "https://github.com/getting-things-gnome/liblarch")
2730 (commit (string-append "v" version))))
2731 (file-name (git-file-name name version))
2733 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2734 (build-system python-build-system)
2737 (modify-phases %standard-phases
2738 (add-before 'check 'start-xserver
2739 (lambda* (#:key inputs #:allow-other-keys)
2740 (system (format #f "~a/bin/Xvfb :1 &"
2741 (assoc-ref inputs "xorg-server")))
2742 (setenv "DISPLAY" ":1")
2745 (list xorg-server-for-tests))
2749 (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 "0b2slm7kjq6q8c7v4m7aqc8m1ynjxn3bl7445srpv1xc0dilq403"))))
2775 (build-system meson-build-system)
2779 (modify-phases %standard-phases
2780 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2781 (lambda* (#:key outputs #:allow-other-keys)
2782 (let ((prog (string-append (assoc-ref outputs "out")
2784 (pylib (string-append (assoc-ref outputs "out")
2786 ,(version-major+minor
2787 (package-version python))
2790 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
2791 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2794 `(("desktop-file-utils" ,desktop-file-utils)
2795 ("gettext" ,gettext-minimal)
2796 ("glib:bin" ,glib "bin")
2797 ("gobject-introspection" ,gobject-introspection)
2798 ("gtk+:bin" ,gtk+ "bin")
2799 ("pkg-config" ,pkg-config)))
2802 gsettings-desktop-schemas
2811 (home-page "https://wiki.gnome.org/Apps/GTG")
2812 (synopsis "Personal organizer for the GNOME desktop")
2814 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2815 organizer for the GNOME desktop environment inspired by the Getting Things
2816 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2817 and ease of use in mind so it can be used as more than just GTD software.
2818 GTG is intended to help you track everything you need to do and need to
2819 know, from small tasks to large projects.")
2820 (license license:gpl3+)))
2822 (define-public icon-naming-utils
2824 (name "icon-naming-utils")
2829 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2830 version ".tar.bz2"))
2833 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2834 (build-system gnu-build-system)
2836 (list perl perl-xml-simple))
2839 (modify-phases %standard-phases
2840 (add-after 'install 'set-load-paths
2841 ;; Tell 'icon-name-mapping' where XML::Simple is.
2842 (lambda* (#:key outputs #:allow-other-keys)
2843 (let* ((out (assoc-ref outputs "out"))
2844 (prog (string-append out "/libexec/icon-name-mapping")))
2847 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2849 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2851 "Utility to implement the Freedesktop Icon Naming Specification")
2853 "To help with the transition to the Freedesktop Icon Naming
2854 Specification, the icon naming utility maps the icon names used by the
2855 GNOME and KDE desktops to the icon names proposed in the specification.")
2856 (license license:lgpl2.1+)))
2858 (define-public adwaita-icon-theme
2860 (name "adwaita-icon-theme")
2864 (uri (string-append "mirror://gnome/sources/" name "/"
2865 (version-major version) "/"
2866 name "-" version ".tar.xz"))
2869 "1q5i31zd5jzr12p6vn831afwnzbzf6x73wna1y86drnyr2nvb1ay"))))
2870 (build-system gnu-build-system)
2873 ;; Don't create 'icon-theme.cache'.
2874 #~(list "GTK_UPDATE_ICON_CACHE=")))
2876 ;; The following requires the SVG pixbuf loader, provided by librsvg,
2877 ;; available on x86_64 only.
2878 `(,@(if (target-64bit?)
2879 `((,gtk+ "bin")) ;for gtk-encode-symbolic-svg
2881 (home-page "https://gitlab.gnome.org/GNOME/adwaita-icon-theme")
2882 (synopsis "GNOME icon theme")
2883 (description "Icons for the GNOME desktop.")
2884 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2886 (define-public gnome-icon-theme
2887 (deprecated-package "gnome-icon-theme" adwaita-icon-theme))
2889 (define-public tango-icon-theme
2891 (name "tango-icon-theme")
2895 (uri (string-append "http://tango.freedesktop.org/releases/"
2896 "tango-icon-theme-" version ".tar.bz2"))
2899 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2900 (build-system gnu-build-system)
2902 (list icon-naming-utils intltool imagemagick pkg-config))
2903 (home-page "http://tango-project.org/")
2904 (synopsis "Tango icon theme")
2905 (description "This is an icon theme that follows the Tango visual
2907 (license license:public-domain)))
2909 (define-public shared-mime-info
2911 (name "shared-mime-info")
2916 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2917 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2921 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2922 (build-system gnu-build-system)
2924 ;; The build system appears not to be parallel-safe.
2925 '(#:parallel-build? #f))
2927 (list glib libxml2))
2929 `(("gettext" ,gettext-minimal)
2930 ("itstool" ,itstool)
2931 ("pkg-config" ,pkg-config)))
2932 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2933 (synopsis "Database of common MIME types")
2935 "The shared-mime-info package contains the core database of common types
2936 and the update-mime-database command used to extend it. It requires glib2 to
2937 be installed for building the update command. Additionally, it uses intltool
2938 for translations, though this is only a dependency for the maintainers. This
2939 database is translated at Transifex.")
2940 (license license:gpl2+)))
2942 (define-public system-config-printer
2944 (name "system-config-printer")
2950 "https://github.com/OpenPrinting/system-config-printer/releases/"
2951 "download/v" version
2952 "/system-config-printer-" version ".tar.xz"))
2954 (base32 "1z9pvgifj5c87csnqz10qybbcayh3ak9m606f63ifkvyjh4q9jnb"))))
2955 (build-system glib-or-gtk-build-system)
2958 #:imported-modules `((guix build python-build-system)
2959 ,@%glib-or-gtk-build-system-modules)
2961 #~(modify-phases %standard-phases
2962 (add-after 'unpack 'patch-build-files
2964 (substitute* "configure.ac"
2966 (string-append all "\nAC_CONFIG_MACRO_DIR([m4])\n"))
2967 ;; XXX: AX macros appear unavailable
2968 (("AX_REQUIRE_DEFINED.*") ""))
2969 ;; The Makefile generates some scripts, so set a valid shebang
2970 (substitute* "Makefile.am"
2971 (("/bin/bash") (which "bash")))
2972 (delete-file "configure")))
2973 (add-after 'unpack 'patch-docbook-xml
2974 (lambda* (#:key inputs #:allow-other-keys)
2975 ;; Modify the man XML otherwise xmlto tries to access the network
2976 (substitute* "man/system-config-printer.xml"
2977 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2978 (string-append (assoc-ref inputs "docbook-xml")
2979 "/xml/dtd/docbook/")))))
2980 (add-after 'install 'add-install-to-pythonpath
2981 (@@ (guix build python-build-system) add-install-to-pythonpath))
2982 (add-after 'add-install-to-pythonpath 'wrap-for-python
2983 (@@ (guix build python-build-system) wrap))
2984 (add-after 'install 'wrap
2985 (lambda* (#:key outputs #:allow-other-keys)
2986 (let ((out (assoc-ref outputs "out"))
2987 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2990 (wrap-program program
2991 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2993 (string-append out "/bin/" name))
2994 '("system-config-printer"
2995 "system-config-printer-applet"
2996 "install-printerdriver"
2997 "scp-dbus-service")))))))))
2999 (list gsettings-desktop-schemas
3000 gobject-introspection
3022 (home-page "https://github.com/zdohnal/system-config-printer")
3023 (synopsis "CUPS administration tool")
3025 "system-config-printer is a CUPS administration tool. It's written in
3026 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
3028 (license license:gpl2+)))
3030 (define-public hicolor-icon-theme
3032 (name "hicolor-icon-theme")
3037 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3038 "hicolor-icon-theme-" version ".tar.xz"))
3041 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3042 (build-system gnu-build-system)
3044 `(#:tests? #f)) ; no check target
3045 (home-page "https://icon-theme.freedesktop.org/releases/")
3047 "Freedesktop icon theme")
3049 "Freedesktop icon theme.")
3050 (license license:gpl2)))
3052 (define-public libnotify
3059 (uri (string-append "mirror://gnome/sources/" name "/"
3060 (version-major+minor version) "/"
3061 name "-" version ".tar.xz"))
3064 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3065 (build-system meson-build-system)
3068 (modify-phases %standard-phases
3069 (add-after 'unpack 'fix-docbook
3070 (lambda* (#:key inputs #:allow-other-keys)
3071 ;; Don't attempt to download XSL schema.
3072 (substitute* "meson.build"
3073 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3074 /manpages/docbook.xsl")
3075 (string-append (assoc-ref inputs "docbook-xsl")
3076 "/xml/xsl/docbook-xsl-"
3077 ,(package-version docbook-xsl)
3078 "/manpages/docbook.xsl")))
3081 (list ;; In Requires of libnotify.pc.
3086 `(("pkg-config" ,pkg-config)
3087 ("glib" ,glib "bin")
3088 ("gobject-introspection" ,gobject-introspection)
3090 ;; For the documentation.
3091 ("gtk-doc" ,gtk-doc/stable)
3092 ("xsltproc" ,libxslt)
3093 ("docbook-xsl" ,docbook-xsl)))
3094 (home-page "https://developer-next.gnome.org/libnotify/")
3096 "GNOME desktop notification library")
3098 "Libnotify is a library that sends desktop notifications to a
3099 notification daemon, as defined in the Desktop Notifications spec. These
3100 notifications can be used to inform the user about an event or display
3101 some form of information without getting in the user's way.")
3102 (license license:lgpl2.1+)))
3104 (define-public libpeas
3111 (uri (string-append "mirror://gnome/sources/" name "/"
3112 (version-major+minor version) "/"
3113 name "-" version ".tar.xz"))
3116 "18xrk1c1ixlhkmykcfiafrl2am470ws687xqvjlq40zwkcp5dx8b"))))
3117 (build-system meson-build-system)
3120 (modify-phases %standard-phases
3121 (add-before 'check 'start-xserver
3122 (lambda* (#:key inputs #:allow-other-keys)
3123 (let ((xorg-server (assoc-ref inputs "xorg-server"))
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/bin/Xvfb ~a &" xorg-server disp))
3132 (list gtk+ glade3 python python-pygobject))
3134 `(("pkg-config" ,pkg-config)
3135 ("gettext" ,gettext-minimal)
3136 ("glib:bin" ,glib "bin")
3137 ("gobject-introspection" ,gobject-introspection)
3138 ("xorg-server" ,xorg-server-for-tests)))
3140 ;; The .pc file "Requires" gobject-introspection.
3141 (list gobject-introspection))
3142 (home-page "https://wiki.gnome.org/Libpeas")
3143 (synopsis "GObject plugin system")
3145 "Libpeas is a gobject-based plugin engine, targeted at giving every
3146 application the chance to assume its own extensibility. It also has a set of
3147 features including, but not limited to: multiple extension points; on-demand
3148 (lazy) programming language support for C, Python and JS; simplicity of the
3150 (license license:lgpl2.0+)))
3152 (define-public gtkglext
3158 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3159 version "/gtkglext-" version ".tar.gz"))
3161 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3162 (patches (search-patches
3163 "gtkglext-disable-disable-deprecated.patch"))))
3164 (build-system gnu-build-system)
3167 (modify-phases %standard-phases
3168 ;; Fix a collision between a local variable and a definition from
3169 ;; glibc's string.h.
3170 (add-after 'unpack 'fix-collision
3172 (substitute* "gdk/gdkglshapes.c"
3173 ((" index") " triangle_index"))
3175 (inputs (list gtk+-2 mesa glu libx11 libxt))
3176 (native-inputs (list pkg-config
3178 (propagated-inputs (list pangox-compat))
3179 (home-page "https://projects.gnome.org/gtkglext")
3180 (synopsis "OpenGL extension to GTK+")
3181 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3182 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3183 API add-ons to make GTK+ widgets OpenGL-capable.")
3184 (license license:lgpl2.1+)))
3186 (define-public glade3
3192 (uri (string-append "mirror://gnome/sources/" name "/"
3193 (version-major+minor version) "/"
3194 name "-" version ".tar.xz"))
3197 "171x7vshhw0nqgnhkcaqfylpr5qrmhclwmkva6wjm5s9m2pavj9i"))))
3198 (build-system meson-build-system)
3203 #~(modify-phases %standard-phases
3204 (add-after 'unpack 'skip-gtk-update-icon-cache
3205 ;; Don't create 'icon-theme.cache'.
3207 (substitute* "meson_post_install.py"
3208 (("gtk-update-icon-cache") "true"))))
3210 #$@(if (this-package-input "gjs")
3212 '((add-after 'unpack 'skip-gjs-test
3214 ;; When the optional dependency on GJS is missing, skip
3215 ;; the GJS plugin tests.
3216 (substitute* "tests/modules.c"
3217 (("g_test_add.*JavaScript.*" all)
3218 (string-append "// " all "\n")))
3219 (delete-file "tests/catalogs/gjsplugin.xml")))))
3220 (add-before 'check 'pre-check
3222 (setenv "HOME" "/tmp")
3223 ;; Tests require a running X server.
3224 (system "Xvfb :1 &")
3225 (setenv "DISPLAY" ":1"))))))
3228 ;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
3229 ;; dependency on other platforms (FIXME).
3230 (if (target-x86-64?)
3233 (list gtk+ libxml2)))
3235 (list docbook-xml-4.2
3239 gobject-introspection
3242 libxml2 ;for XML_CATALOG_FILES
3243 libxslt ;for xsltproc
3247 xorg-server-for-tests))
3248 (home-page "https://glade.gnome.org")
3249 (synopsis "GTK+ rapid application development tool")
3250 (description "Glade is a rapid application development (RAD) tool to
3251 enable quick & easy development of user interfaces for the GTK+ toolkit and
3252 the GNOME desktop environment.")
3253 (license license:lgpl2.0+)
3254 (native-search-paths (list (search-path-specification
3255 (variable "GLADE_CATALOG_SEARCH_PATH")
3256 (files '("share/glade/catalogs")))
3257 (search-path-specification
3258 (variable "GLADE_MODULE_SEARCH_PATH")
3259 (files '("lib/glade/modules")))))))
3261 (define-public blueprint-compiler
3263 (name "blueprint-compiler")
3269 "https://gitlab.gnome.org/jwestman/blueprint-compiler")
3270 (commit (string-append "v" version))))
3271 (file-name (string-append name "-" version "-checkout"))
3274 "0hj7f4xhwjc4x32r3lswwclbw37fw3spy806g4plkmym25hz4ydy"))))
3275 (build-system meson-build-system)
3276 (native-inputs (list gtk python-pygobject python))
3277 (inputs (list python))
3278 (synopsis "Template markup language")
3280 "Blueprint is a markup language for GTK user interfaces. Internally, it
3281 compiles to GTKBuilder XML.")
3282 (home-page "https://gitlab.gnome.org/jwestman/blueprint-compiler")
3283 (license license:lgpl3+)))
3285 (define-public cambalache
3292 (url "https://gitlab.gnome.org/jpu/cambalache")
3294 (file-name (git-file-name name version))
3296 (base32 "1nq9bvly4dm1xnh90z3b4c5455qpdgm3jgz2155vg2ai23f22vsy"))))
3297 (build-system meson-build-system)
3301 #:imported-modules `((guix build python-build-system)
3302 ,@%meson-build-system-modules)
3303 #:modules '((guix build meson-build-system)
3304 ((guix build python-build-system) #:prefix python:)
3307 #~(modify-phases %standard-phases
3308 (add-after 'unpack 'patch-source
3309 (lambda* (#:key inputs #:allow-other-keys)
3310 (substitute* "cambalache/cmb_view.py"
3311 (("GLib\\.find_program_in_path\\('(.*)'\\)" all cmd)
3312 (format #f "~s" (search-input-file
3313 inputs (string-append "bin/" cmd)))))))
3314 (add-after 'unpack 'patch-build
3316 (substitute* "postinstall.py"
3317 (("update-desktop-database") "true"))))
3318 (add-after 'wrap 'python-wrap (assoc-ref python:%standard-phases 'wrap))
3320 (add-after 'install 'add-install-to-pythonpath
3321 (assoc-ref python:%standard-phases 'add-install-to-pythonpath))
3322 (add-after 'add-install-to-pythonpath 'pre-check
3324 (system "Xvfb :1 &")
3325 (setenv "DISPLAY" ":1")))
3326 (add-after 'pre-check 'check
3327 (lambda* (#:key tests? #:allow-other-keys)
3329 (with-directory-excursion ".."
3330 (invoke "python3" "-m" "pytest")))))
3331 (add-after 'glib-or-gtk-wrap 'wrap-typelib
3335 (unless (wrapped-program? prog)
3337 `("GI_TYPELIB_PATH" suffix
3338 (,(string-append #$output "/lib/girepository-1.0")
3339 ,(getenv "GI_TYPELIB_PATH")))
3340 ;; icons and schemas
3341 `("XDG_DATA_DIRS" suffix
3344 (file-append (this-package-input input) "/share"))
3345 '("adwaita-icon-theme" "hicolor-icon-theme"
3346 "gsettings-desktop-schemas")))
3347 ;; Wrapping GDK_PIXBUF_MODULE_FILE allows Cambalache to
3348 ;; load its own icons in pure environments.
3349 `("GDK_PIXBUF_MODULE_FILE" =
3350 (,(getenv "GDK_PIXBUF_MODULE_FILE"))))))
3351 (find-files (string-append #$output "/bin"))))))))
3354 adwaita-icon-theme hicolor-icon-theme
3355 gsettings-desktop-schemas
3357 `(,gtk+ "bin") ; broadwayd
3361 (librsvg-for-system)
3365 webkitgtk-with-libsoup2))
3366 (native-inputs (list `(,glib "bin") gobject-introspection
3367 gettext-minimal pkg-config
3368 python-pytest xorg-server-for-tests))
3369 (home-page "https://gitlab.gnome.org/jpu/cambalache")
3370 (synopsis "Rapid application development tool")
3371 (description "Cambalache is a rapid application development (RAD) tool for
3372 Gtk 4 and 3 with a clear model-view-controller (MVC) design and
3373 data model first philosophy.")
3374 (license (list license:lgpl2.1
3375 license:gpl2)))) ; tools
3377 (define-public libcroco
3383 (uri (string-append "mirror://gnome/sources/" name "/"
3384 (version-major+minor version) "/"
3385 name "-" version ".tar.xz"))
3386 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3389 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3390 (build-system gnu-build-system)
3394 (list glib libxml2 zlib))
3395 (home-page "https://github.com/GNOME/libcroco")
3396 (synopsis "CSS2 parsing and manipulation library")
3398 "Libcroco is a standalone CSS2 parsing and manipulation library.
3399 The parser provides a low level event driven SAC-like API and a CSS object
3400 model like API. Libcroco provides a CSS2 selection engine and an experimental
3401 XML/CSS rendering engine.")
3404 (license license:lgpl2.1)))
3406 (define-public libgsf
3412 (uri (string-append "mirror://gnome/sources/" name "/"
3413 (version-major+minor version) "/"
3414 name "-" version ".tar.xz"))
3417 "0llf5rpg2rg9pdz8j38dl5z82zi9kmsn639wb2fhcfc3fz820v3f"))))
3418 (build-system glib-or-gtk-build-system)
3419 (outputs '("out" "bin" "doc"))
3425 "--enable-introspection"
3426 (string-append "--with-gir-dir=" #$output
3429 (package-version gobject-introspection))
3431 (string-append "--with-typelib-dir=" #$output
3432 "/lib/girepository-"
3434 (package-version gobject-introspection))
3436 (string-append "--with-html-dir=" #$output
3437 "/share/gtk-doc/html")
3441 #~(modify-phases %standard-phases
3442 (add-after 'unpack 'patch-docbook-xml
3443 (lambda* (#:key native-inputs inputs #:allow-other-keys)
3444 (with-directory-excursion "doc"
3445 (substitute* "gsf-docs.xml"
3446 (("http://www.oasis-open.org/docbook/xml/4.5/")
3447 (search-input-directory (or native-inputs inputs)
3448 "xml/dtd/docbook")))))))))
3452 gobject-introspection
3464 (synopsis "G Structured File Library")
3465 (description "Libgsf aims to provide an efficient extensible I/O abstraction
3466 for dealing with different structured file formats.")
3467 (home-page "https://gitlab.gnome.org/GNOME/libgsf")
3469 (list license:lgpl2.1+ ;library
3470 license:lgpl2.0+)))) ;others
3472 (define-public librsvg
3478 (uri (string-append "mirror://gnome/sources/librsvg/"
3479 (version-major+minor version) "/"
3480 "librsvg-" version ".tar.xz"))
3483 "1g3f8byg5w08fx1bka12mmpl59v6a4q2p827w6m2la6mijq63yzz"))
3484 (modules '((guix build utils)))
3486 '(begin (delete-file-recursively "vendor")))))
3487 (build-system cargo-build-system)
3488 (outputs '("out" "doc" "debug"))
3490 `(#:install-source? #f
3492 ((guix build cargo-build-system)
3494 ((guix build gnu-build-system) #:prefix gnu:))
3496 (("rust-bitflags" ,rust-bitflags-1)
3497 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3498 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3499 ("rust-cast" ,rust-cast-0.2)
3500 ("rust-cssparser" ,rust-cssparser-0.27)
3501 ("rust-data-url" ,rust-data-url-0.1)
3502 ("rust-encoding" ,rust-encoding-0.2)
3503 ("rust-float-cmp" ,rust-float-cmp-0.8)
3504 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3505 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3506 ("rust-gio" ,rust-gio-0.8)
3507 ("rust-gio-sys" ,rust-gio-sys-0.9)
3508 ("rust-glib" ,rust-glib-0.9)
3509 ("rust-glib-sys" ,rust-glib-sys-0.9)
3510 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3511 ("rust-itertools" ,rust-itertools-0.9)
3512 ("rust-language-tags" ,rust-language-tags-0.2)
3513 ("rust-libc" ,rust-libc-0.2)
3514 ("rust-locale-config" ,rust-locale-config-0.3)
3515 ("rust-markup5ever" ,rust-markup5ever-0.10)
3516 ("rust-nalgebra" ,rust-nalgebra-0.21)
3517 ("rust-num-traits" ,rust-num-traits-0.2)
3518 ("rust-once-cell" ,rust-once-cell-1)
3519 ("rust-pkg-config" ,rust-pkg-config-0.3)
3520 ("rust-pango" ,rust-pango-0.8)
3521 ("rust-pango-sys" ,rust-pango-sys-0.9)
3522 ("rust-pangocairo" ,rust-pangocairo-0.9)
3523 ("rust-rayon" ,rust-rayon-1)
3524 ("rust-rctree" ,rust-rctree-0.3)
3525 ("rust-rgb" ,rust-rgb-0.8)
3526 ("rust-regex" ,rust-regex-1)
3527 ("rust-selectors" ,rust-selectors-0.22)
3528 ("rust-string-cache" ,rust-string-cache-0.8)
3529 ("rust-tinyvec" ,rust-tinyvec-0.3)
3530 ("rust-url" ,rust-url-2)
3531 ("rust-xml5ever" ,rust-xml5ever-0.16))
3532 #:cargo-development-inputs
3533 (("rust-assert-cmd" ,rust-assert-cmd-1)
3534 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3535 ("rust-chrono" ,rust-chrono-0.4)
3536 ("rust-criterion" ,rust-criterion-0.3)
3537 ("rust-float-cmp" ,rust-float-cmp-0.8)
3538 ("rust-lopdf" ,rust-lopdf-0.26)
3539 ("rust-png" ,rust-png-0.16)
3540 ("rust-predicates" ,rust-predicates-1)
3541 ("rust-tempfile" ,rust-tempfile-3))
3543 (modify-phases %standard-phases
3544 (add-after 'unpack 'patch-docbook-xml
3545 (lambda* (#:key inputs #:allow-other-keys)
3546 (with-directory-excursion "doc"
3547 (substitute* "rsvg-docs.xml"
3548 (("http://www.oasis-open.org/docbook/xml/4.3/")
3549 (string-append (assoc-ref inputs "docbook-xml")
3550 "/xml/dtd/docbook/"))))))
3551 (add-after 'unpack 'prepare-for-build
3553 ;; In lieu of #:make-flags
3554 (setenv "CC" ,(cc-for-target))
3555 ;; Something about the build environment resists building
3556 ;; successfully with the '--locked' flag.
3557 (substitute* '("Makefile.am" "Makefile.in")
3558 (("--locked") ""))))
3559 (add-before 'configure 'pre-configure
3560 (lambda* (#:key outputs #:allow-other-keys)
3561 (substitute* "gdk-pixbuf-loader/Makefile.in"
3562 ;; By default the gdk-pixbuf loader is installed under
3563 ;; gdk-pixbuf's prefix. Work around that.
3564 (("gdk_pixbuf_moduledir = .*$")
3565 (string-append "gdk_pixbuf_moduledir = "
3567 ,(dirname %gdk-pixbuf-loaders-cache-file) "/"
3569 (substitute* "configure"
3570 (("gdk_pixbuf_cache_file=.*")
3571 (string-append "gdk_pixbuf_cache_file="
3572 (assoc-ref outputs "out") "/"
3573 ,%gdk-pixbuf-loaders-cache-file "\n")))))
3574 (add-after 'configure 'gnu-configure
3575 (lambda* (#:key outputs #:allow-other-keys #:rest args)
3576 (apply (assoc-ref gnu:%standard-phases 'configure)
3578 (list "--disable-static"
3580 (string-append "--with-html-dir="
3581 (assoc-ref outputs "doc")
3582 "/share/gtk-doc/html"))
3584 (add-after 'configure 'dont-vendor-self
3585 (lambda* (#:key vendor-dir #:allow-other-keys)
3586 ;; Don't keep the whole tarball in the vendor directory
3587 (delete-file-recursively
3588 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))))
3590 (assoc-ref gnu:%standard-phases 'build))
3591 (add-before 'check 'ignore-failing-tests
3592 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3594 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3595 (("fn background_color_option_invalid_color_yields_error" all)
3596 (string-append "#[ignore] " all))
3597 (("fn empty_input_yields_error" all)
3598 (string-append "#[ignore] " all))
3599 (("fn empty_svg_yields_error" all)
3600 (string-append "#[ignore] " all))
3601 (("fn env_source_data_epoch_empty" all)
3602 (string-append "#[ignore] " all))
3603 (("fn env_source_data_epoch_no_digits" all)
3604 (string-append "#[ignore] " all))
3605 (("fn env_source_data_epoch_trailing_garbage" all)
3606 (string-append "#[ignore] " all))
3607 (("fn export_id_option_error" all)
3608 (string-append "#[ignore] " all))
3609 (("fn huge_zoom_factor_yields_error" all)
3610 (string-append "#[ignore] " all))
3611 (("fn multiple_input_files_not_allowed_for_png_output" all)
3612 (string-append "#[ignore] " all))
3613 (("fn stylesheet_option_error" all)
3614 (string-append "#[ignore] " all)))))
3617 ((assoc-ref gnu:%standard-phases 'check)
3618 #:test-target "check")))
3620 (assoc-ref gnu:%standard-phases 'install)))))
3622 (list docbook-xml-4.3
3624 gobject-introspection
3628 (list freetype harfbuzz libxml2 pango))
3630 (list cairo gdk-pixbuf glib))
3631 (synopsis "SVG rendering library")
3632 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3633 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3634 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3636 (home-page "https://wiki.gnome.org/LibRsvg")
3637 (license license:lgpl2.1+)))
3639 ;; This copy of librsvg uses the bundled rust libraries. It is useful for
3640 ;; packages which have too many dependencies to be rebuilt as frequently
3641 ;; as the rust inputs are updated.
3642 ;; TODO: Remove this package and use packaged rust libraries!
3643 (define-public librsvg-bootstrap
3650 (uri (string-append "mirror://gnome/sources/librsvg/"
3651 (version-major+minor version) "/"
3652 "librsvg-" version ".tar.xz"))
3655 "1g3f8byg5w08fx1bka12mmpl59v6a4q2p827w6m2la6mijq63yzz"))
3656 (modules '((guix build utils)))
3659 (for-each delete-file (find-files "vendor" "\\.a$"))))))
3661 (substitute-keyword-arguments (package-arguments librsvg)
3662 ((#:vendor-dir _ "vendor") "vendor")
3663 ((#:cargo-inputs _) '())
3664 ((#:cargo-development-inputs _) '())))
3665 (properties '((hidden? . #t)))))
3667 (define-public librsvg-2.40
3668 ;; This is the last version implemented in C.
3674 (uri (string-append "mirror://gnome/sources/librsvg/"
3675 (version-major+minor version)
3676 "/librsvg-" version ".tar.xz"))
3679 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3680 (build-system gnu-build-system)
3682 `(#:configure-flags (list "--disable-static")
3684 (modify-phases %standard-phases
3685 (add-before 'configure 'pre-configure
3686 (lambda* (#:key inputs #:allow-other-keys)
3687 (substitute* "gdk-pixbuf-loader/Makefile.in"
3688 ;; By default the gdk-pixbuf loader is installed under
3689 ;; gdk-pixbuf's prefix. Work around that.
3690 (("gdk_pixbuf_moduledir = .*$")
3691 (string-append "gdk_pixbuf_moduledir = "
3692 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3694 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3695 (("gdk_pixbuf_cache_file = .*$")
3696 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3698 (add-before 'check 'remove-failing-tests
3700 (with-directory-excursion "tests/fixtures/reftests"
3701 (for-each delete-file
3702 '(;; This test fails on i686:
3703 "svg1.1/masking-path-04-b.svg"
3704 ;; This test fails on armhf:
3705 "svg1.1/masking-mask-01-b.svg"
3706 ;; This test fails on aarch64:
3707 "bugs/777834-empty-text-children.svg"
3709 ;; These two tests fail due to slightly different
3710 ;; text rendering (different kerning or similar),
3711 ;; nothing alarming.
3713 "bugs/749415.svg"))))))))
3716 `(,glib "bin") ; glib-mkenums, etc.
3717 gobject-introspection)) ; g-ir-compiler, etc.
3719 (list pango libcroco libxml2))
3721 ;; librsvg-2.0.pc refers to all of that.
3722 (list cairo gdk-pixbuf glib))
3723 (synopsis "Render SVG files using Cairo (ancient C version)")
3724 (properties '((hidden? . #t)))))
3726 (define* (librsvg-for-system #:optional
3727 (system (or (%current-target-system)
3728 (%current-system))))
3729 ;; Since librsvg 2.50 depends on Rust, and Rust is only correctly supported
3730 ;; on x86_64 so far, use the ancient C version on other platforms (FIXME).
3731 (if (string-prefix? "x86_64-" system)
3735 (export librsvg-for-system)
3737 (define-public libidl
3743 (uri (string-append "mirror://gnome/sources/libIDL/"
3744 (version-major+minor version) "/"
3745 "libIDL-" version ".tar.bz2"))
3748 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3749 (build-system gnu-build-system)
3750 (inputs (list glib))
3752 (list pkg-config flex bison))
3753 (home-page "http://freecode.com/projects/libidl")
3754 (synopsis "Create trees of CORBA Interface Definition Language files")
3755 (description "Libidl is a library for creating trees of CORBA Interface
3756 Definition Language (idl) files, which is a specification for defining
3757 portable interfaces. libidl was initially written for orbit (the orb from the
3758 GNOME project, and the primary means of libidl distribution). However, the
3759 functionality was designed to be as reusable and portable as possible.")
3760 (properties `((upstream-name . "libIDL")))
3761 (license license:lgpl2.0+)))
3764 (define-public orbit2
3770 (uri (let ((upstream-name "ORBit2"))
3771 (string-append "mirror://gnome/sources/" upstream-name "/"
3772 (version-major+minor version) "/"
3773 upstream-name "-" version ".tar.bz2")))
3776 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3777 (build-system gnu-build-system)
3779 `(;; The "timeout-server" test hangs when run in parallel.
3780 #:parallel-tests? #f
3782 '(;; We don't need static libraries, plus they don't build reproducibly
3783 ;; (non-deterministic ordering of .o files in the archive.)
3786 ;; The programmer kindly gives us a hook to turn off deprecation
3788 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3789 ;; ... which they then completly ignore !!
3791 (modify-phases %standard-phases
3792 (add-after 'unpack 'fix-parallel-build
3793 ;; Parallel build fails because of a failed dependency,
3794 ;; https://bugzilla.gnome.org/show_bug.cgi?id=732274
3796 (substitute* "src/services/name/Makefile.am"
3797 (("orbit_name_server_2_DEPENDENCIES = \\$(DEPS) CosNaming.h")
3798 "orbit_name_server_2_DEPENDENCIES = \
3799 $(DEPS) CosNaming.h libname-server-2.a"))))
3800 (add-before 'configure 'ignore-deprecations
3802 (substitute* "linc2/src/Makefile.in"
3803 (("-DG_DISABLE_DEPRECATED")
3804 "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))))))
3805 (inputs (list glib libidl))
3808 (home-page "https://projects.gnome.org/orbit2/")
3809 (synopsis "CORBA 2.4-compliant Object Request Broker")
3810 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3811 featuring mature C, C++ and Python bindings.")
3812 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3813 ;; a version. SOME of the code files have licence notices for GPLv2+.
3814 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3815 (license license:gpl2+)
3816 (properties `((upstream-name . "ORBit2")))))
3819 (define-public libbonobo
3825 (uri (string-append "mirror://gnome/sources/" name "/"
3826 (version-major+minor version)
3827 "/" name "-" version ".tar.bz2"))
3829 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3830 (patches (search-patches
3831 "libbonobo-activation-test-race.patch"))))
3832 (build-system gnu-build-system)
3834 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3836 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3837 ;; ... which they then completly ignore !!
3839 (modify-phases %standard-phases
3840 (add-before 'configure 'ignore-deprecations
3842 (substitute* "activation-server/Makefile.in"
3843 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3846 ;; There's apparently a race condition between the server stub
3847 ;; generation and linking of the example under 'samples/echo' that can
3848 ;; lead do undefined references when building in parallel, as reported
3849 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3850 ;; Thus, disable parallel builds.
3851 #:parallel-build? #f))
3852 (inputs (list popt libxml2))
3853 ;; The following are Required by the .pc file
3859 `(,glib "bin") ; for glib-genmarshal, etc.
3862 (home-page "https://developer.gnome.org/libbonobo/")
3863 (synopsis "Framework for creating reusable components for use in GNOME applications")
3864 (description "Bonobo is a framework for creating reusable components for
3865 use in GNOME applications, built on top of CORBA.")
3866 ;; Licence not explicitly stated. Source files contain no licence notices.
3867 ;; Tarball contains text of both GPLv2 and LGPLv2
3868 ;; GPLv2 covers both conditions
3869 (license license:gpl2+)))
3872 (define-public gconf
3879 (let ((upstream-name "GConf"))
3880 (string-append "mirror://gnome/sources/" upstream-name "/"
3881 (version-major+minor version) "/"
3882 upstream-name "-" version ".tar.xz")))
3884 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3885 (build-system gnu-build-system)
3886 (inputs (list dbus-glib libxml2))
3887 (propagated-inputs (list glib ; referred to in the .pc file
3891 `(,glib "bin") ; for glib-genmarshal, etc.
3893 (home-page "https://projects.gnome.org/gconf/")
3894 (synopsis "Store application preferences")
3895 (description "Gconf is a system for storing application preferences. It
3896 is intended for user preferences; not arbitrary data storage.")
3897 (license license:lgpl2.0+)
3898 (properties '((upstream-name . "GConf")))))
3901 (define-public gnome-mime-data
3903 (name "gnome-mime-data")
3907 (uri (string-append "mirror://gnome/sources/" name "/"
3908 (version-major+minor version) "/"
3909 name "-" version ".tar.bz2"))
3912 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3913 (build-system gnu-build-system)
3915 (list perl intltool))
3917 '(#:phases (modify-phases %standard-phases
3918 (add-after 'configure 'use-our-intltool
3920 ;; Do not use the bundled intltool commands, which lack
3921 ;; the "dotless @INC" fixes of our 'intltool' package.
3922 (substitute* (find-files "." "^Makefile$")
3923 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3924 (string-append "INTLTOOL_" tool " = intltool-"
3925 (string-downcase tool) "\n")))
3927 (home-page "https://www.gnome.org")
3928 (synopsis "Base MIME and Application database for GNOME")
3929 (description "GNOME Mime Data is a module which contains the base MIME
3930 and Application database for GNOME. The data stored by this module is
3931 designed to be accessed through the MIME functions in GnomeVFS.")
3932 (license license:gpl2+)))
3935 (define-public gnome-vfs
3941 (uri (string-append "mirror://gnome/sources/" name "/"
3942 (version-major+minor version) "/"
3943 name "-" version ".tar.bz2"))
3946 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3947 (build-system gnu-build-system)
3950 (modify-phases %standard-phases
3951 (add-before 'configure 'ignore-deprecations
3953 (substitute* '("libgnomevfs/Makefile.in"
3954 "daemon/Makefile.in")
3955 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3957 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3959 (substitute* "test/test-async-cancel.c"
3960 (("EXIT_FAILURE") "77"))
3962 (inputs (list libxml2 dbus-glib gconf gnome-mime-data zlib))
3964 (list `(,glib "bin") ; for glib-mkenums, etc.
3965 intltool pkg-config))
3966 (home-page "https://developer.gnome.org/gnome-vfs/")
3967 (synopsis "Access files and folders in GNOME applications")
3969 "GnomeVFS is the core library used to access files and folders in GNOME
3970 applications. It provides a file system abstraction which allows applications
3971 to access local and remote files with a single consistent API.")
3972 (license license:lgpl2.0+)))
3976 (define-public libgnome
3982 (uri (string-append "mirror://gnome/sources/" name "/"
3983 (version-major+minor version) "/"
3984 name "-" version ".tar.bz2"))
3987 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3988 (patches (search-patches "libgnome-encoding.patch"))))
3989 (build-system gnu-build-system)
3992 (modify-phases %standard-phases
3993 (add-before 'configure 'enable-deprecated
3995 (substitute* "libgnome/Makefile.in"
3996 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3998 (inputs (list libxml2))
4000 (list `(,glib "bin") ; for glib-mkenums, etc.
4001 intltool pkg-config))
4002 ;; The following are listed as Required in the .pc file
4003 ;; (except for libcanberra -- which seems to be oversight on the part
4004 ;; of the upstream developers -- anything that links against libgnome,
4005 ;; must also link against libcanberra
4007 (list libcanberra libbonobo gconf gnome-vfs popt)) ;gnome-program.h includes popt.h
4008 (home-page "https://developer.gnome.org/libgnome/")
4009 (synopsis "Useful routines for building applications")
4010 (description "The libgnome library provides a number of useful routines
4011 for building modern applications, including session management, activation of
4012 files and URIs, and displaying help.")
4013 (license license:lgpl2.0+)))
4016 (define-public libart-lgpl
4018 (name "libart-lgpl")
4022 (uri (let ((upstream-name "libart_lgpl"))
4023 (string-append "mirror://gnome/sources/" upstream-name "/"
4024 (version-major+minor version) "/"
4025 upstream-name "-" version ".tar.bz2")))
4028 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
4029 (build-system gnu-build-system)
4032 (home-page "https://people.gnome.org/~mathieu/libart")
4033 (synopsis "2D drawing library")
4034 (description "Libart is a 2D drawing library intended as a
4035 high-quality vector-based 2D library with antialiasing and alpha composition.")
4036 (license license:lgpl2.0+)))
4040 (define-public libgnomecanvas
4042 (name "libgnomecanvas")
4046 (uri (string-append "mirror://gnome/sources/" name "/"
4047 (version-major+minor version) "/"
4048 name "-" version ".tar.gz"))
4051 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
4052 (build-system gnu-build-system)
4053 ;; Mentioned as Required in the .pc file
4054 (propagated-inputs (list libart-lgpl gtk+-2))
4057 `(,glib "bin") ; for glib-genmarshal, etc.
4059 (home-page "https://developer.gnome.org/libgnomecanvas/")
4060 (synopsis "Flexible widget for creating interactive structured graphics")
4061 (description "The GnomeCanvas widget provides a flexible widget for
4062 creating interactive structured graphics.")
4063 (license license:lgpl2.0+)))
4065 (define-public libgnomecanvasmm
4067 (name "libgnomecanvasmm")
4071 (uri (string-append "mirror://gnome/sources/" name "/"
4072 (version-major+minor version) "/"
4073 name "-" version ".tar.bz2"))
4076 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
4077 (build-system gnu-build-system)
4078 (propagated-inputs (list libgnomecanvas))
4080 (list gtkmm-2 pkg-config))
4081 (home-page "https://gtkmm.org")
4082 (synopsis "C++ bindings to the GNOME Canvas library")
4083 (description "C++ bindings to the GNOME Canvas library.")
4084 (license license:lgpl2.0+)))
4086 (define-public libgnomeui
4092 (uri (string-append "mirror://gnome/sources/" name "/"
4093 (version-major+minor version) "/"
4094 name "-" version ".tar.bz2"))
4095 (patches (search-patches "libgnomeui-utf8.patch"))
4098 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
4099 (build-system gnu-build-system)
4100 ;; Mentioned as Required in the .pc file
4101 (propagated-inputs (list libbonoboui libgnome libgnomecanvas
4103 (inputs (list libjpeg-turbo popt libbonobo libxml2 libglade))
4105 (list `(,glib "bin") ; for glib-mkenums, etc.
4106 intltool pkg-config))
4107 (home-page "https://developer.gnome.org/libgnomeui/")
4108 (synopsis "Additional widgets for applications")
4109 (description "The libgnomeui library provides additional widgets for
4110 applications. Many of the widgets from libgnomeui have already been
4112 (license license:lgpl2.0+)))
4114 (define-public libglade
4120 (uri (string-append "mirror://gnome/sources/" name "/"
4121 (version-major+minor version) "/"
4122 name "-" version ".tar.bz2"))
4125 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
4126 (build-system gnu-build-system)
4128 (list python)) ;; needed for the optional libglade-convert program
4130 (list gtk+-2 libxml2)) ; required by libglade-2.0.pc
4133 (home-page "https://developer.gnome.org/libglade")
4134 (synopsis "Load glade interfaces and access the glade built widgets")
4135 (description "Libglade is a library that provides interfaces for loading
4136 graphical interfaces described in glade files and for accessing the
4137 widgets built in the loading process.")
4138 (license license:gpl2+))) ; This is correct. GPL not LGPL
4140 (define-public libbonoboui
4142 (name "libbonoboui")
4146 (uri (string-append "mirror://gnome/sources/" name "/"
4147 (version-major+minor version) "/"
4148 name "-" version ".tar.bz2"))
4151 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4152 (build-system gnu-build-system)
4155 (modify-phases %standard-phases
4156 (add-before 'check 'start-xserver
4157 (lambda* (#:key inputs #:allow-other-keys)
4158 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4161 (setenv "HOME" (getcwd))
4162 (setenv "DISPLAY" disp)
4163 ;; There must be a running X server and make check doesn't start one.
4164 ;; Therefore we must do it.
4165 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4166 ;; Mentioned as Required by the .pc file
4167 (propagated-inputs (list libxml2))
4169 (list popt pangox-compat libgnome libgnomecanvas libglade))
4171 (list `(,glib "bin") ; for glib-genmarshal, etc.
4173 xorg-server-for-tests ; For running the tests
4175 (home-page "https://developer.gnome.org/libbonoboui/")
4176 (synopsis "Some user interface controls using Bonobo")
4177 (description "The Bonobo UI library provides a number of user interface
4178 controls using the Bonobo component framework.")
4179 (license license:lgpl2.0+)))
4181 (define-public libwnck
4187 (uri (string-append "mirror://gnome/sources/" name "/"
4188 (version-major+minor version) "/"
4189 name "-" version ".tar.xz"))
4192 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4193 (build-system meson-build-system)
4196 `(,glib "bin") ; for glib-mkenums
4197 gobject-introspection ; for g-ir-scanner
4200 (list gtk+ libxres startup-notification))
4201 (home-page "https://developer.gnome.org/libwnck/")
4202 (synopsis "Window Navigator Construction Kit")
4204 "Libwnck is the Window Navigator Construction Kit, a library for use in
4205 writing pagers, tasklists, and more generally applications that are dealing
4206 with window management. It tries hard to respect the Extended Window Manager
4207 Hints specification (EWMH).")
4208 (license license:lgpl2.0+)))
4210 ;; stable version for gtk2, required by xfwm4.
4211 (define-public libwnck-2
4212 (package (inherit libwnck)
4217 (uri (string-append "mirror://gnome/sources/" name "/"
4218 (version-major+minor version) "/"
4219 name "-" version ".tar.xz"))
4222 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4223 (build-system gnu-build-system)
4225 (list pkg-config intltool))
4227 (list gtk+-2 libxres startup-notification))))
4229 (define-public goffice
4236 (uri (string-append "mirror://gnome/sources/goffice/"
4237 (version-major+minor version) "/"
4238 "goffice-" version ".tar.xz"))
4240 (base32 "0344k0ffndd79as3c4nfq3mia7mrds6aq2jg76drdw3h8gcyzfb0"))))
4241 (build-system gnu-build-system)
4243 "doc")) ; 4.0 MiB of gtk-doc
4245 '(#:configure-flags (list (string-append "--with-html-dir="
4246 (assoc-ref %outputs "doc")
4247 "/share/gtk-doc/html"))))
4249 (list gtk+ libgsf librsvg libxslt libxml2))
4251 (list intltool `(,glib "bin") pkg-config))
4252 (home-page "https://developer.gnome.org/goffice/")
4253 (synopsis "Document-centric objects and utilities")
4254 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4256 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4258 (list license:gpl2 license:gpl3))))
4260 (define-public goffice-0.8
4261 (package (inherit goffice)
4265 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4266 (version-major+minor version) "/"
4267 (package-name goffice) "-" version ".tar.xz"))
4269 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4272 (modify-phases %standard-phases
4273 (add-after 'unpack 'fix-pcre-check
4275 ;; Only glib.h can be included directly. See
4276 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4277 (substitute* "configure"
4278 (("glib/gregex\\.h") "glib.h")) #t)))
4280 ,@(package-arguments goffice)))
4282 ;; libgoffice-0.8.pc mentions libgsf-1
4286 ,@(alist-delete "gtk" (package-inputs goffice))))))
4288 (define-public gnumeric
4294 (uri (string-append "mirror://gnome/sources/gnumeric/"
4295 (version-major+minor version) "/"
4296 "gnumeric-" version ".tar.xz"))
4299 "0fw201j0sks95wgvns3vydgprhwf6z4v4xb2a0ldi892k8277kvk"))))
4300 (build-system glib-or-gtk-build-system)
4302 `(;; The gnumeric developers don't worry much about failing tests.
4303 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4306 (modify-phases %standard-phases
4308 'configure 'pre-conf
4309 (lambda* (#:key outputs #:allow-other-keys)
4310 ;; Make install tries to write into the directory of goffice
4311 ;; I am informed that this only affects the possibility to embed a
4312 ;; spreadsheet inside an Abiword document. So presumably when we
4313 ;; package Abiword we'll have to refer it to this directory.
4314 (substitute* "configure"
4315 (("^GOFFICE_PLUGINS_DIR=.*")
4316 (string-append "GOFFICE_PLUGINS_DIR="
4317 (assoc-ref outputs "out")
4318 "/goffice/plugins"))))))))
4337 (home-page "http://www.gnumeric.org")
4338 (synopsis "Spreadsheet application")
4340 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4341 interoperable with other spreadsheet applications. It has a vast array of
4342 features beyond typical spreadsheet functionality, such as support for linear
4343 and non-linear solvers, statistical analysis, and telecommunication
4346 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4347 (list license:gpl2 license:gpl3))))
4349 (define-public drawing
4357 (url "https://github.com/maoschanz/drawing")
4359 (file-name (git-file-name name version))
4361 (base32 "0wz9p47riyy3h8b0sqsb6bx416hc6d1a1wyzlfmsxkrqrkwcjcm8"))))
4362 (build-system meson-build-system)
4366 (modify-phases %standard-phases
4367 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4368 (lambda* (#:key outputs #:allow-other-keys)
4369 (let ((prog (string-append (assoc-ref outputs "out")
4371 (pylib (string-append (assoc-ref outputs "out")
4373 ,(version-major+minor
4374 (package-version python))
4377 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
4378 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
4380 `(("desktop-file-utils" ,desktop-file-utils)
4381 ("gettext" ,gettext-minimal)
4382 ("glib:bin" ,glib "bin")
4383 ("gobject-introspection" ,gobject-introspection)
4384 ("gtk+:bin" ,gtk+ "bin")
4385 ("pkg-config" ,pkg-config)))
4388 gsettings-desktop-schemas
4393 (home-page "https://maoschanz.github.io/drawing/")
4394 (synopsis "Basic image editor for GNOME")
4396 "Drawing is a basic image editor aiming at the GNOME desktop.")
4397 (license license:gpl3+)))
4399 (define-public seahorse
4406 (uri (string-append "mirror://gnome/sources/" name "/"
4407 (version-major version) "/" name "-"
4410 (base32 "1x99i7kdvd8hbxcs5rfrq7nw6r9bfzaw263zaigjjj04h6gc1vp6"))))
4411 (build-system meson-build-system)
4415 (modify-phases %standard-phases
4416 (add-after 'unpack 'skip-gtk-update-icon-cache
4417 ;; Don't create 'icon-theme.cache'.
4419 (substitute* "build-aux/meson_post_install.py"
4420 (("gtk-update-icon-cache") "true"))
4422 (add-before 'check 'pre-check
4424 ;; Tests require a writable HOME.
4425 (setenv "HOME" (getcwd)))))))
4431 ("openldap" ,openldap)
4432 ("openssh" ,openssh)
4434 ("libhandy" ,libhandy)
4435 ("libpwquality" ,libpwquality)
4436 ("libsecret" ,libsecret)
4437 ("libsoup" ,libsoup-minimal-2)))
4439 `(("gettext" ,gettext-minimal)
4440 ("glib:bin" ,glib "bin")
4441 ("itstool" ,itstool)
4442 ("pkg-config" ,pkg-config)
4445 ("xmllint" ,libxml2)))
4446 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4447 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4449 "Seahorse is a GNOME application for managing encryption keys and
4450 passwords in the GNOME keyring.")
4451 (license license:gpl2+)))
4459 (uri (string-append "mirror://gnome/sources/vala/"
4460 (version-major+minor version) "/"
4461 "vala-" version ".tar.xz"))
4464 "048k5c6c6y7jyb961krnrb7m0kghr0yrkpnfx3j5ckbx652yfkc8"))))
4465 (build-system glib-or-gtk-build-system)
4467 '(#:configure-flags '("--enable-coverage")
4469 (modify-phases %standard-phases
4470 (add-after 'unpack 'patch-docbook-xml
4471 (lambda* (#:key inputs #:allow-other-keys)
4472 (with-directory-excursion "doc/manual"
4473 (substitute* '("manual.xml" "version.xml.in")
4474 (("http://www.oasis-open.org/docbook/xml/4.4/")
4475 (string-append (assoc-ref inputs "docbook-xml")
4476 "/xml/dtd/docbook/"))))))
4477 (add-before 'check 'pre-check
4480 (substitute* "valadoc/tests/libvaladoc\
4481 /tests-extra-environment.sh"
4482 (("export PKG_CONFIG_PATH=" m)
4483 (string-append m "$PKG_CONFIG_PATH:"))))))))
4486 ("dbus" ,dbus) ; for dbus tests
4487 ("docbook-xml" ,docbook-xml-4.4)
4488 ("docbook-xsl" ,docbook-xsl)
4490 ("gobject-introspection" ,gobject-introspection) ; for gir tests
4491 ("help2man" ,help2man)
4493 ("pkg-config" ,pkg-config)
4494 ("xsltproc" ,libxslt)))
4496 `(("glib" ,glib) ; required by libvala-0.40.pc
4497 ("libgvc" ,graphviz)))
4498 (home-page "https://wiki.gnome.org/Projects/Vala/")
4499 (synopsis "Compiler using the GObject type system")
4500 (description "Vala is a programming language using modern high level
4501 abstractions without imposing additional runtime requirements and without using
4502 a different ABI compared to applications and libraries written in C. Vala uses
4503 the GObject type system and has additional code generation routines that make
4504 targeting the GNOME stack simple.")
4505 (license license:lgpl2.1+)))
4507 (define-public vala-next
4513 (uri (string-append "mirror://gnome/sources/vala/"
4514 (version-major+minor version) "/"
4515 "vala-" version ".tar.xz"))
4518 "0k0jj3xwjq222x0hbqqy5bykhgk1f1wsb85bqcdgsnbqn6dn3jb6"))))
4521 #:configure-flags #~(list "CC=gcc" "--enable-coverage")
4523 #~(modify-phases %standard-phases
4524 (add-after 'unpack 'use-gcc-by-default
4526 (substitute* "codegen/valaccodecompiler.c"
4527 (("cc_command = \"cc\"")
4528 "cc_command = \"gcc\""))))
4529 (add-after 'unpack 'patch-docbook-xml
4530 (lambda* (#:key inputs #:allow-other-keys)
4531 (with-directory-excursion "doc/manual"
4532 (substitute* '("manual.xml" "version.xml.in")
4533 (("http://www.oasis-open.org/docbook/xml/4.4/")
4534 (search-input-directory inputs "xml/dtd/docbook"))))))
4535 (add-before 'check 'pre-check
4537 (substitute* "valadoc/tests/libvaladoc/tests-extra-environment.sh"
4538 (("export PKG_CONFIG_PATH=" m)
4539 (string-append m "$PKG_CONFIG_PATH:")))))
4540 ;; Wrapping the binaries breaks vala's behavior adaptations based on
4541 ;; the file name of the program executed (vala: compile and execute,
4542 ;; valac: compile into a binary).
4543 (delete 'glib-or-gtk-wrap))))))
4545 ;;; An older variant kept to build libsoup-minimal-2.
4546 (define-public vala-0.52
4547 (package/inherit vala
4551 (uri (string-append "mirror://gnome/sources/vala/"
4552 (version-major+minor version) "/"
4553 "vala-" version ".tar.xz"))
4556 "12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"))))))
4564 (uri (string-append "mirror://gnome/sources/vte/"
4565 (version-major+minor version) "/"
4566 "vte-" version ".tar.xz"))
4569 "0j8pvn225ybzx9p33ill838bzp8kkdn28383h0vs65m2kiwd9rqk"))))
4570 (build-system meson-build-system)
4572 (list #:configure-flags #~(list "-Dvapi=true"
4573 "-D_systemd=false")))
4578 gobject-introspection
4579 `(,glib "bin") ; for glib-genmarshal, etc.
4584 (list gtk+ ; required by vte-2.91.pc
4587 (home-page "https://www.gnome.org/")
4588 (synopsis "Virtual Terminal Emulator")
4590 "VTE is a library (libvte) implementing a terminal emulator widget for
4591 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4592 gnome-terminal, but can also be used to embed a console/terminal in games,
4593 editors, IDEs, etc.")
4594 (license license:lgpl2.1+)))
4596 (define-public vte-ng
4600 (version "0.58.2.a")
4601 (home-page "https://github.com/thestinger/vte-ng")
4604 (uri (git-reference (url home-page) (commit version)))
4605 (file-name (git-file-name name version))
4608 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4609 (build-system meson-build-system)
4611 (list #:configure-flags #~(list "-Ddocs=false")))
4612 (synopsis "Enhanced VTE terminal widget")
4614 "VTE is a library (libvte) implementing a terminal emulator widget for
4615 GTK+, this fork provides additional functions exposed for keyboard text
4616 selection and URL hints.")))
4618 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4619 (define-public vte/gtk+-2
4620 (package (inherit vte)
4625 (uri (string-append "mirror://gnome/sources/" name "/"
4626 (version-major+minor version) "/"
4627 name "-" version ".tar.xz"))
4630 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4631 (patches (search-patches
4632 "vte-CVE-2012-2738-pt1.patch"
4633 "vte-CVE-2012-2738-pt2.patch"))))
4634 (build-system gnu-build-system)
4636 '(#:configure-flags '("--disable-python")))
4638 (list pkg-config intltool
4639 `(,glib "bin"))) ; for glib-genmarshal, etc.
4641 (list gtk+-2 ; required by libvte.pc
4642 ncurses)))) ; required by libvte.la
4644 (define-public vinagre
4650 (uri (string-append "mirror://gnome/sources/" name "/"
4651 (version-major+minor version) "/"
4652 name "-" version ".tar.xz"))
4653 (patches (search-patches "vinagre-newer-freerdp.patch"
4654 "vinagre-newer-rdp-parameters.patch"))
4657 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4658 (build-system glib-or-gtk-build-system)
4660 ;; Disable -Werror and such, to avoid build failures on compilation
4662 '(#:configure-flags '("--enable-compile-warnings=minimum"
4663 "CFLAGS=-O2 -g -fcommon")
4665 (modify-phases %standard-phases
4666 (add-before 'install 'skip-gtk-update-icon-cache
4668 ;; Don't create 'icon-theme.cache'
4669 (substitute* (find-files "." "^Makefile$")
4670 (("gtk-update-icon-cache") (which "true")))
4672 (add-after 'unpack 'patch-configure
4674 (substitute* "configure"
4675 (("freerdp") "freerdp2"))
4678 `(("pkg-config" ,pkg-config)
4679 ("intltool" ,intltool)
4680 ("itstool" ,itstool)
4681 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4692 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4693 (synopsis "Remote desktop viewer for GNOME")
4694 (description "Vinagre is a remote display client supporting the VNC, SPICE
4695 and RDP protocols.")
4696 (license license:gpl3+)))
4698 (define-public dconf
4705 "mirror://gnome/sources/" name "/"
4706 (version-major+minor version) "/"
4707 name "-" version ".tar.xz"))
4710 "0cs5nayg080y8pb9b7qccm1ni8wkicdmqp1jsgc22110r6j24zyg"))))
4711 (build-system meson-build-system)
4713 ;; In Requires of dconf.pc.
4718 `(("bash-completion" ,bash-completion)
4719 ("libxslt" ,libxslt) ;for xsltproc
4720 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4721 ("docbook-xml" ,docbook-xml-4.2)
4722 ("docbook-xsl" ,docbook-xsl)
4723 ("glib:bin" ,glib "bin")
4724 ("gtk-doc" ,gtk-doc/stable)
4725 ("pkg-config" ,pkg-config)
4730 #:configure-flags '("-Dgtk_doc=true")
4731 #:phases (modify-phases %standard-phases
4732 (add-after 'unpack 'increase-test-timeout
4734 ;; On big-memory systems, the engine test may take
4735 ;; much longer than the default of 30 seconds.
4736 (substitute* "tests/meson.build"
4737 (("test\\(unit_test\\[0\\], exe" all)
4738 (string-append all ", timeout: 300"))))))))
4739 (home-page "https://developer.gnome.org/dconf/")
4740 (synopsis "Low-level GNOME configuration system")
4741 (description "Dconf is a low-level configuration system. Its main purpose
4742 is to provide a backend to GSettings on platforms that don't already have
4743 configuration storage systems.")
4744 (license license:lgpl2.1+)))
4746 (define-public json-glib-minimal
4748 (name "json-glib-minimal")
4752 (uri (string-append "mirror://gnome/sources/json-glib/"
4753 (version-major+minor version)
4754 "/json-glib-" version ".tar.xz"))
4757 "092g2dyy1hhl0ix9kp33wcab0pg1qicnsv0cj5ms9g9qs336cgd3"))))
4758 (build-system meson-build-system)
4760 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
4762 `(("gettext" ,gettext-minimal)
4763 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4764 ("pkg-config" ,pkg-config)))
4766 (list bash-minimal))
4768 (list glib)) ;according to json-glib-1.0.pc
4769 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4770 (synopsis "Glib and GObject implementation of JSON")
4771 (description "JSON-GLib is a library providing serialization and
4772 described by RFC 4627. It implements a full JSON parser and generator using
4773 GLib and GObject, and integrates JSON with GLib data types.")
4774 (license license:lgpl2.1+)))
4776 (define-public json-glib
4777 (package/inherit json-glib-minimal
4779 (outputs (cons "doc" (package-outputs json-glib-minimal)))
4781 (substitute-keyword-arguments (package-arguments json-glib-minimal)
4782 ((#:configure-flags _)
4783 `(list "-Ddocs=true"
4785 ,@(if (%current-target-system)
4786 ;; If enabled, gtkdoc-scangobj will try to execute a
4787 ;; cross-compiled binary.
4788 '("-Dgtk_doc=disabled"
4789 ;; Trying to build introspection data when cross-compiling
4790 ;; causes errors during linking.
4791 "-Dintrospection=disabled")
4793 ((#:phases phases '%standard-phases)
4794 `(modify-phases ,phases
4795 (add-after 'unpack 'patch-docbook
4796 (lambda* (#:key native-inputs inputs #:allow-other-keys)
4797 (with-directory-excursion "doc"
4798 (substitute* (find-files "." "\\.xml$")
4799 (("http://www.oasis-open.org/docbook/xml/4\\.3/")
4800 (string-append (assoc-ref (or native-inputs inputs)
4802 "/xml/dtd/docbook/")))
4803 (substitute* "meson.build"
4804 (("http://docbook.sourceforge.net/release/xsl/current/")
4805 (string-append (assoc-ref (or native-inputs inputs)
4807 "/xml/xsl/docbook-xsl-1.79.2/"))))))
4808 ;; When cross-compiling, there are no docs to move.
4809 ,(if (%current-target-system)
4810 '(add-after 'install 'stub-docs
4811 (lambda* (#:key outputs #:allow-other-keys)
4812 ;; The daemon doesn't like empty output paths.
4813 (mkdir (assoc-ref outputs "doc"))))
4814 '(add-after 'install 'move-docs
4815 (lambda* (#:key outputs #:allow-other-keys)
4816 (let* ((out (assoc-ref outputs "out"))
4817 (doc (assoc-ref outputs "doc")))
4818 (mkdir-p (string-append doc "/share"))
4820 (string-append out "/share/gtk-doc")
4821 (string-append doc "/share/gtk-doc"))))))))))
4824 `(("docbook-xml" ,docbook-xml-4.3)
4825 ("docbook-xsl" ,docbook-xsl)
4826 ("gobject-introspection" ,gobject-introspection)
4827 ("gtk-doc" ,gtk-doc)
4828 ("xsltproc" ,libxslt))
4829 (package-native-inputs json-glib-minimal)))))
4831 (define-public libxklavier
4833 (name "libxklavier")
4836 ;; Note: There's no tarball at ftp.gnome.org for this version.
4839 (url "https://anongit.freedesktop.org/git/libxklavier")
4840 (commit (string-append "libxklavier-" version))))
4843 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4844 (file-name (git-file-name name version))))
4845 (build-system gnu-build-system)
4848 (list (string-append "--with-xkb-base="
4849 (assoc-ref %build-inputs "xkeyboard-config")
4851 "--disable-xmodmap-support")))
4853 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4854 ("gobject-introspection" ,gobject-introspection)
4855 ("pkg-config" ,pkg-config)
4856 ("gtk-doc" ,gtk-doc/stable)
4857 ("intltool" ,intltool)
4859 ("autoconf" ,autoconf)
4860 ("automake" ,automake)
4861 ("libtool" ,libtool)))
4863 ;; Required by libxklavier.pc.
4864 (list glib libxml2))
4866 (list iso-codes libxi libxkbfile xkbcomp xkeyboard-config))
4867 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4868 (synopsis "High-level API for X Keyboard Extension")
4870 "LibXklavier is a library providing high-level API for X Keyboard
4871 Extension known as XKB. This library is intended to support XFree86 and other
4872 commercial X servers. It is useful for creating XKB-related software (layout
4874 (license license:lgpl2.0+)))
4876 (define-public glib-networking
4878 (name "glib-networking")
4882 (uri (string-append "mirror://gnome/sources/glib-networking/"
4883 (version-major+minor version) "/"
4884 "glib-networking-" version ".tar.xz"))
4887 "0dbg1na239mbavn4hknkax5sns9q2dbdnqw9wcpmhv58mzkhid36"))
4889 (search-patches "glib-networking-gnutls-binding.patch"))))
4890 (build-system meson-build-system)
4895 #~(modify-phases %standard-phases
4896 (add-after 'unpack 'work-around-32-bit-time-t
4898 (invoke "patch" "--force" "-p1" "-i"
4901 "glib-networking-32-bit-time.patch")))))))))
4903 `(("pkg-config" ,pkg-config)
4904 ("gettext" ,gettext-minimal)))
4906 (list glib gnutls gsettings-desktop-schemas libproxy))
4907 (home-page "https://wiki.gnome.org/Projects/GLib")
4908 (synopsis "Network extensions for GLib")
4910 "Glib-networking contains the implementations of certain GLib networking
4911 features that cannot be implemented directly in GLib itself because of their
4912 dependencies. Currently it contains GnuTLS and OpenSSL-based implementations of
4913 GTlsBackend, a libproxy-based implementation of GProxyResolver,
4914 GLibproxyResolver, and a GNOME GProxyResolver that uses the proxy information
4915 from the GSettings schemas in gsettings-desktop-schemas.")
4916 (license license:lgpl2.1+)))
4924 (uri (string-append "mirror://gnome/sources/rest/"
4925 (version-major+minor version) "/"
4926 name "-" version ".tar.xz"))
4929 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4930 (build-system gnu-build-system)
4932 '(#:tests? #f ; tests require internet connection
4934 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4936 `(("glib-mkenums" ,glib "bin")
4937 ("gobject-introspection" ,gobject-introspection)
4938 ("pkg-config" ,pkg-config)))
4940 ;; rest-0.7.pc refers to all these.
4942 ("libsoup" ,libsoup-minimal-2)
4943 ("libxml2" ,libxml2)))
4944 (home-page "https://www.gtk.org/")
4945 (synopsis "RESTful web api query library")
4947 "This library was designed to make it easier to access web services that
4948 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4949 libxml to ease remote use of the RESTful API.")
4950 (license license:lgpl2.1+)))
4952 (define-public rest-next
4959 (uri (string-append "mirror://gnome/sources/rest/"
4960 (version-major+minor version) "/"
4961 name "-" version ".tar.xz"))
4964 "1qy2291d2vprdbbxmf0sa98izk09nl3znzzv7lckwf6f1v0sarlj"))))
4965 (build-system meson-build-system)
4966 (arguments (substitute-keyword-arguments (package-arguments rest)
4967 ((#:tests? _ #f) #t)
4968 ((#:configure-flags _)
4970 ((#:phases phases '%standard-phases)
4971 #~(modify-phases #$phases
4972 (add-after 'unpack 'disable-problematic-tests
4973 ;; These tests require networking.
4975 (substitute* "tests/meson.build"
4976 ((".*'flickr',.*") "")
4977 ((".*'lastfm',.*") ""))))
4978 (add-before 'check 'prepare-for-tests
4980 (setenv "HOME" "/tmp")))))))
4982 (modify-inputs (package-native-inputs rest)
4983 (append gettext-minimal
4985 gsettings-desktop-schemas)))
4986 (inputs (list gtksourceview json-glib libadwaita))
4988 (modify-inputs (package-propagated-inputs rest)
4989 (replace "libsoup" libsoup)
4990 (append json-glib)))))
4992 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4993 (define-public libsoup-minimal
4995 (name "libsoup-minimal")
4999 (uri (string-append "mirror://gnome/sources/libsoup/"
5000 (version-major+minor version) "/"
5001 "libsoup-" version ".tar.xz"))
5004 "0ysnvvfd2f6w2z6g31spqqb8wgyamixc7mryzbbpyw0z15g8plsv"))))
5005 (build-system meson-build-system)
5007 `(#:configure-flags '("-Dgtk_doc=false")
5009 (modify-phases %standard-phases
5010 (add-after 'unpack 'adjust-tests
5012 ;; This test fails due to missing /etc/nsswitch.conf
5013 ;; in the build environment.
5014 (substitute* "tests/socket-test.c"
5015 ((".*/sockets/unconnected.*") ""))
5017 ;; These fail because "subdomain.localhost" does not resolve in
5018 ;; the build environment. Moreover, the hsts-test suite fails on
5019 ;; i686-linux because of errors from `session_get_uri' like
5020 ;; "Unexpected status 200 OK (expected 301 Moved Permanently)"
5021 ;; (see: https://gitlab.gnome.org/GNOME/libsoup/-/issues/239).
5022 (substitute* "tests/meson.build"
5023 ((".*'name': 'hsts'.*") ""))
5024 (substitute* "tests/hsts-db-test.c"
5025 ((".*/hsts-db/subdomains.*") "")))))))
5027 (list `(,glib "bin") ;for glib-mkenums
5028 gobject-introspection
5034 gnutls ;for 'certtool'
5037 ;; libsoup-3.0.pc refers to all of these (except where otherwise noted)
5040 glib-networking ; for GIO runtime modules
5042 nghttp2 ;for pkg-config
5048 (list mit-krb5 samba/fixed)) ; For ntlm_auth support
5049 (home-page "https://wiki.gnome.org/Projects/libsoup")
5050 (synopsis "GLib-based HTTP Library")
5052 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
5053 and the GLib main loop, to integrate well with GNOME applications.")
5054 (license license:lgpl2.0+)))
5056 ;;; An older variant kept to build the 'rest' package.
5057 (define-public libsoup-minimal-2
5058 (package/inherit libsoup-minimal
5062 (uri (string-append "mirror://gnome/sources/libsoup/"
5063 (version-major+minor version) "/"
5064 "libsoup-" version ".tar.xz"))
5067 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
5069 (substitute-keyword-arguments (package-arguments libsoup-minimal)
5071 `(modify-phases ,phases
5072 (add-after 'unpack 'disable-failing-tests
5074 ;; Disable the SSL test, failing since 2.68 and resolved in
5076 (substitute* "tests/meson.build"
5077 (("[ \t]*\\['ssl', true, \\[\\]\\],") ""))))))))
5079 (modify-inputs (package-native-inputs libsoup-minimal)
5080 (replace "vala" vala-0.52)))))
5082 (define-public libsoup
5083 (package/inherit libsoup-minimal
5085 (outputs (cons "doc" (package-outputs libsoup-minimal)))
5087 (substitute-keyword-arguments (package-arguments libsoup-minimal)
5088 ((#:configure-flags configure-flags)
5089 `(cons "-Dgtk_doc=true"
5090 (delete "-Dgtk_doc=false" ,configure-flags)))
5092 `(modify-phases ,phases
5093 (add-after 'unpack 'patch-docbook-xml
5094 (lambda* (#:key inputs #:allow-other-keys)
5095 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
5096 "/xml/dtd/docbook")))
5097 (substitute* (find-files "docs/reference")
5098 (("http://.*/docbookx\\.dtd")
5099 (string-append xmldoc "/docbookx.dtd"))))))
5100 (add-after 'install 'move-doc
5101 (lambda* (#:key outputs #:allow-other-keys)
5102 (let ((out (assoc-ref outputs "out"))
5103 (doc (assoc-ref outputs "doc")))
5104 (mkdir-p (string-append doc "/share"))
5105 (copy-recursively (string-append out "/share/gtk-doc")
5106 (string-append doc "/share/gtk-doc"))
5107 (delete-file-recursively
5108 (string-append out "/share/gtk-doc")))))))))
5109 (native-inputs (modify-inputs (package-native-inputs libsoup-minimal)
5110 (prepend docbook-xml-4.1.2 gtk-doc)))))
5112 (define-public libsecret
5119 "mirror://gnome/sources/libsecret/"
5120 (version-major+minor version) "/"
5121 "libsecret-" version ".tar.xz"))
5124 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
5125 (build-system gnu-build-system)
5126 (outputs '("out" "doc"))
5128 `(#:tests? #f ; FIXME: Testing hangs.
5130 (list (string-append "--with-html-dir="
5131 (assoc-ref %outputs "doc")
5132 "/share/gtk-doc/html"))))
5134 `(("gettext" ,gettext-minimal)
5135 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5136 ("gobject-introspection" ,gobject-introspection)
5137 ("pkg-config" ,pkg-config)
5139 ("xsltproc" ,libxslt)))
5141 (list glib)) ; required by libsecret-1.pc
5143 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
5144 ;; doesn't seem to affect the build result.
5145 (list docbook-xsl libgcrypt libxml2)) ; for XML_CATALOG_FILES
5146 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
5147 (synopsis "GObject bindings for \"Secret Service\" API")
5149 "Libsecret is a GObject based library for storing and retrieving passwords
5150 and other secrets. It communicates with the \"Secret Service\" using DBus.")
5151 (license license:lgpl2.1+)))
5153 (define-public five-or-more
5155 (name "five-or-more")
5160 (uri (string-append "mirror://gnome/sources/five-or-more/"
5161 (version-major+minor version) "/"
5162 "five-or-more-" version ".tar.xz"))
5164 (base32 "1x4ys18rn37hsavivh532py2avj9686aycnn8ys29cyyxwpdf41d"))))
5165 (build-system meson-build-system)
5169 (modify-phases %standard-phases
5170 (add-after 'unpack 'skip-gtk-update-icon-cache
5172 (substitute* "meson_post_install.py"
5173 (("gtk-update-icon-cache") (which "true"))))))))
5175 (list appstream-glib
5177 `(,glib "bin") ; for glib-compile-resources
5183 (list gtk+ libgnome-games-support librsvg libxml2))
5184 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5185 (synopsis "Logic puzzle game")
5186 (description "Five or More is a game where you try to align
5187 five or more objects of the same color and shape causing them to disappear.
5188 On every turn more objects will appear, until the board is full.
5189 Try to last as long as possible.")
5190 (license license:gpl2+)))
5192 (define-public gi-docgen
5198 (uri (pypi-uri "gi-docgen" version))
5201 "1v2wspm2ld27lq1n5v5pzrmkhchfa7p7ahp8rmjm4zcdyagqf7gr"))))
5202 (build-system python-build-system)
5203 (propagated-inputs (list python-jinja2
5209 (home-page "https://gitlab.gnome.org/GNOME/gi-docgen")
5210 (synopsis "Documentation tool for GObject-based libraries")
5211 (description "GI-DocGen is a document generator for GObject-based
5212 libraries. GObject is the base type system of the GNOME project. GI-Docgen
5213 reuses the introspection data generated by GObject-based libraries to generate
5214 the API reference of these libraries, as well as other ancillary
5216 (license license:gpl3+)))
5218 (define-public gnome-mines
5220 (name "gnome-mines")
5225 (uri (string-append "mirror://gnome/sources/" name "/"
5226 (version-major version) "/"
5227 name "-" version ".tar.xz"))
5229 (base32 "0whjwdxhyw5bvibd9qvpm2yc5g7yhy8h3rn027kv5cqwyyryj0im"))))
5230 (build-system meson-build-system)
5234 (modify-phases %standard-phases
5235 (add-after 'unpack 'skip-gtk-update-icon-cache
5237 (substitute* "build-aux/meson_post_install.py"
5238 (("gtk-update-icon-cache") (which "true"))))))))
5240 (list appstream-glib
5243 `(,glib "bin") ; for glib-compile-resources
5246 python-wrapper ; for meson_post_install.py
5250 libgnome-games-support
5253 (home-page "https://wiki.gnome.org/Apps/Mines")
5254 (synopsis "Minesweeper game")
5256 "Mines (previously gnomine) is a puzzle game where you locate mines
5257 floating in an ocean using only your brain and a little bit of luck.")
5258 (license license:gpl2+)))
5260 (define-public gnome-multi-writer
5262 (name "gnome-multi-writer")
5267 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5268 (version-major+minor version) "/"
5269 "gnome-multi-writer-" version ".tar.xz"))
5272 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5273 (build-system meson-build-system)
5277 (modify-phases %standard-phases
5278 (add-after 'unpack 'skip-post-install
5280 (substitute* "meson.build"
5281 (("meson.add_install_script" &) (string-append "# " &)))
5284 `(("glib:bin" ,glib "bin")
5285 ("pkg-config" ,pkg-config)))
5294 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5295 (synopsis "Write to multiple USB devices at once")
5297 "MultiWriter can be used to write an ISO file to multiple USB devices at
5299 (license license:gpl2+)))
5301 (define-public gnome-sudoku
5303 (name "gnome-sudoku")
5308 (uri (string-append "mirror://gnome/sources/" name "/"
5309 (version-major version) "/"
5310 name "-" version ".tar.xz"))
5313 "13y2qphrj99b0lc7bh71is1f6i0jvyw8adfg8lv48sq2p3fv8bhx"))))
5314 (build-system meson-build-system)
5318 (modify-phases %standard-phases
5319 (add-after 'unpack 'skip-gtk-update-icon-cache
5321 (substitute* "build-aux/post_install.py"
5322 (("gtk-update-icon-cache") (which "true"))))))))
5324 (list desktop-file-utils
5326 `(,glib "bin") ;for glib-compile-resources
5330 python ;for 'build-aux/post_install.py'
5338 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5339 (synopsis "Japanese logic game")
5341 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5342 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5343 possible while still providing features that make playing difficult Sudoku
5345 (license license:gpl2+)))
5347 (define-public gnome-terminal
5349 (name "gnome-terminal")
5354 (uri (string-append "mirror://gnome/sources/" name "/"
5355 (version-major+minor version) "/"
5356 name "-" version ".tar.xz"))
5359 "0yykb64yi1h0g65q890jf5awjr2sdvfda4xbxnmajcgj3zp20vzv"))))
5360 (build-system meson-build-system)
5365 #~(modify-phases %standard-phases
5366 (add-after 'unpack 'patch-build-system
5367 ;; The build system looks for a dbus file from gnome-shell in the
5368 ;; installation tree of teh package it is configuring...
5369 (lambda* (#:key inputs #:allow-other-keys)
5370 (substitute* "src/meson.build"
5371 (("gt_prefix.*'org.gnome.ShellSearchProvider2.xml'")
5372 (format #f "'~a'" (search-input-file
5373 inputs "share/dbus-1/interfaces/\
5374 org.gnome.ShellSearchProvider2.xml"))))))
5375 (add-before 'install 'disable-gtk-update-icon-cache
5377 (setenv "DESTDIR" "/"))))))
5379 (list desktop-file-utils
5393 gsettings-desktop-schemas
5395 nautilus ;for extension
5396 `(,util-linux "lib")
5399 (home-page "https://wiki.gnome.org/Apps/Terminal")
5400 (synopsis "Terminal emulator")
5402 "GNOME Terminal is a terminal emulator application for accessing a
5403 UNIX shell environment which can be used to run programs available on
5406 It supports several profiles, multiple tabs and implements several
5407 keyboard shortcuts.")
5408 (license license:gpl3+)))
5410 (define-public colord-minimal
5412 (name "colord-minimal")
5417 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5418 "colord-" version ".tar.xz"))
5420 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5421 (build-system meson-build-system)
5423 '( ;; FIXME: One test fails:
5424 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5425 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5426 ;; application/x-zerosize
5429 #:configure-flags (list "-Dargyllcms_sensor=false" ;requires spotread
5430 "-Dbash_completion=false"
5431 "-Ddaemon_user=colord"
5433 "-Dlocalstatedir=/var"
5436 "-Dsystemd=false") ;no systemd
5438 (modify-phases %standard-phases
5439 (add-before 'configure 'patch-build-system
5440 (lambda* (#:key outputs #:allow-other-keys)
5441 (substitute* "rules/meson.build"
5442 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5443 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))))
5444 (add-before 'configure 'set-sqlite3-file-name
5445 (lambda* (#:key inputs #:allow-other-keys)
5446 ;; "colormgr dump" works by invoking the "sqlite3" command.
5447 ;; Record its absolute file name.
5448 (let ((sqlite (assoc-ref inputs "sqlite")))
5449 (substitute* "client/cd-util.c"
5451 (string-append "\"" sqlite "/bin/sqlite3\"")))))))))
5453 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5454 ("gettext" ,gettext-minimal)
5455 ("pkg-config" ,pkg-config)
5458 ;; colord.pc refers to all these.
5463 `(("dbus-glib" ,dbus-glib)
5464 ("gobject-introspection" ,gobject-introspection)
5465 ("gusb" ,gusb-minimal)
5466 ("libgudev" ,libgudev)
5469 ("python" ,python-wrapper)
5471 ("sane-backends" ,sane-backends)))
5472 (home-page "https://www.freedesktop.org/software/colord/")
5473 (synopsis "Color management service")
5474 (description "Colord is a system service that makes it easy to manage,
5475 install and generate color profiles to accurately color manage input and
5477 (license license:gpl2+)))
5479 (define-public colord
5480 (package/inherit colord-minimal
5483 (substitute-keyword-arguments
5484 (package-arguments colord-minimal)
5485 ((#:configure-flags flags)
5487 (use-modules (srfi srfi-1))
5488 (append '("-Dbash_completion=true"
5492 (fold delete ,flags '("-Dbash_completion=false"
5496 `(modify-phases ,phases
5497 (add-after 'unpack 'fix-bash-completion-dir
5498 (lambda* (#:key outputs #:allow-other-keys)
5499 (substitute* "data/meson.build"
5500 (("bash_completion.get_pkgconfig_variable\
5501 \\('completionsdir'\\)")
5502 (string-append "'" (assoc-ref outputs "out")
5503 "/etc/bash_completion.d'")))))))))
5506 `(("bash-completion" ,bash-completion)
5507 ("docbook-xsl-ns" ,docbook-xsl-ns)
5508 ("gtk-doc" ,gtk-doc/stable)
5509 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5510 ("libxslt" ,libxslt)
5511 ("vala" ,vala)) ;for VAPI, needed by simple-scan
5512 (package-native-inputs colord-minimal)))))
5514 (define-public geoclue
5522 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5523 version "/geoclue-" version ".tar.bz2"))
5525 (base32 "1854i8lih1jkks5w38xv8k5gs7s8629qjg3cg96ji0ffk35yzjfd"))
5526 (patches (search-patches "geoclue-config.patch"))))
5527 (build-system meson-build-system)
5529 '(#:configure-flags (list "-Ddbus-srv-user=geoclue")))
5532 gobject-introspection
5544 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5545 (synopsis "Geolocation service")
5546 (description "Geoclue is a D-Bus service that provides location
5547 information. The primary goal of the Geoclue project is to make creating
5548 location-aware applications as simple as possible, while the secondary goal is
5549 to ensure that no application can access location information without explicit
5550 permission from user.")
5551 (license license:gpl2+)))
5553 (define-public geocode-glib
5555 (name "geocode-glib")
5559 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5560 (version-major+minor version) "/"
5561 "geocode-glib-" version ".tar.xz"))
5564 "1aipd82qk404qy88pyfgplzgi83db4hi51vkl54h8isqs4k6i6id"))))
5565 (build-system meson-build-system)
5568 #:configure-flags #~(list "-Dsoup2=false")
5570 #~(modify-phases %standard-phases
5571 ;; The tests require a bunch of locales.
5572 (add-before 'check 'set-locales
5573 (lambda* (#:key inputs #:allow-other-keys)
5574 (setenv "GUIX_LOCPATH"
5575 (search-input-directory inputs "lib/locale")))))))
5577 (list `(,glib "bin") ;for glib-mkenums
5578 glibc-locales ;for tests
5580 gobject-introspection
5585 ;; geocode-glib-2.0.pc refers to GIO.
5589 (home-page "https://github.com/GNOME/geocode-glib/")
5590 (synopsis "Geocoding and reverse-geocoding library")
5592 "geocode-glib is a convenience library for geocoding (finding longitude,
5593 and latitude from an address) and reverse geocoding (finding an address from
5594 coordinates) using the Nominatim service. geocode-glib caches requests for
5595 faster results and to avoid unnecessary server load.")
5596 (license license:lgpl2.0+)))
5598 (define-public geocode-glib-with-libsoup2
5600 (inherit geocode-glib)
5601 (name "geocode-glib-with-libsoup2")
5602 (arguments (substitute-keyword-arguments (package-arguments geocode-glib)
5603 ((#:configure-flags flags ''())
5604 #~(delete "-Dsoup2=false" #$flags))))
5605 (inputs (modify-inputs (package-inputs geocode-glib)
5606 (replace "libsoup" libsoup-minimal-2)))))
5608 (define-public upower
5616 (url "https://gitlab.freedesktop.org/upower/upower")
5617 (commit (string-append "v" version))))
5618 (file-name (git-file-name name version))
5620 (base32 "1g17rm91p8vfpjyb0k2shylrs55nccn3fa890vlk4n9s71sghbzq"))
5621 (modules '((guix build utils)))
5623 ;; Upstream commit <https://cgit.freedesktop.org/upower/commit/
5624 ;; ?id=18457c99b68786cd729b315723d680e6860d9cfa> moved
5625 ;; 'dbus-1/system.d' from etc/ to share/. However,
5626 ;; 'dbus-configuration-directory' in (gnu services dbus) expects it in
5627 ;; etc/. Thus, move it back to its previous location.
5628 #~(substitute* "src/meson.build"
5629 (("dbusdir / 'system.d'")
5630 "get_option('sysconfdir') / 'dbus-1/system.d'")
5631 ;; Avoid writing to /var during the build, this is
5632 ;; not possible in Guix!
5633 (("^install_subdir\\('does-not-exist'.*$") "")))))
5634 (build-system meson-build-system)
5639 #~(list "-Dsystemdsystemunitdir=no"
5640 ;; If not specified, udev will try putting history information
5642 "-Dhistorydir=/var/lib/upower"
5643 (string-append "-Dudevrulesdir=" #$output "/bin/udev/rules.d"))))
5645 (list `(,glib "bin") ; for gdbus-codegen
5646 gobject-introspection
5659 libxslt ; for 'xsltproc'
5660 libxml2)) ; for 'XML_CATALOG_FILES'
5662 (list dbus-glib libgudev libusb))
5664 ;; In Requires of upower-glib.pc.
5666 (home-page "https://upower.freedesktop.org/")
5667 (synopsis "System daemon for managing power devices")
5669 "UPower is an abstraction for enumerating power devices,
5670 listening to device events and querying history and statistics. Any
5671 application or service on the system can access the org.freedesktop.UPower
5672 service via the system message bus.")
5673 (license license:gpl2+)
5674 ;; Old versions of upower are tagged as UPOWER_0_99_13, which confuses
5675 ;; the 'generic-git' updater. Give it a little help.
5676 (properties '((release-tag-prefix . "v")
5677 (release-tag-version-delimiter . ".")))))
5679 (define-public libgweather
5681 (name "libgweather")
5685 (uri (string-append "mirror://gnome/sources/" name "/"
5686 (version-major version) "/"
5687 name "-" version ".tar.xz"))
5690 "1rkf4yv43qcahyx7bismdv6z2vh5azdnm1fqfmnzrada9cm8ykna"))))
5691 (build-system meson-build-system)
5694 #:tests? #f ;one of two tests requires network access
5696 #~(list (string-append "-Dzoneinfo_dir="
5697 (search-input-directory %build-inputs
5698 "share/zoneinfo")))))
5700 (list gettext-minimal
5701 `(,glib "bin") ;for glib-mkenums
5702 gobject-introspection
5708 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5710 (list gtk+ gdk-pixbuf libxml2 libsoup-minimal-2 geocode-glib))
5713 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5714 (synopsis "Location, time zone, and weather library for GNOME")
5716 "libgweather is a library to access weather information from online
5717 services for numerous locations.")
5718 (license license:gpl2+)))
5720 ;; libgweather no longer follows the GNOME version, and recommends changing
5721 ;; the package name in distributions to avoid accidental downgrades. See
5722 ;; <https://discourse.gnome.org/t/changes-in-libgweather-for-gnome-42/7770/2>.
5723 ;; TODO: how to prevent the updater from picking version 40?
5724 (define-public libgweather4
5726 (inherit libgweather)
5727 (name "libgweather4")
5731 (uri (string-append "mirror://gnome/sources/libgweather/"
5732 (version-major+minor version) "/"
5733 "libgweather-" version ".tar.xz"))
5736 "1wh3asniv5yiqp0dsk96as2bkx72hamh3ij2md8k0is9yd7ppbjm"))))
5740 #~(list (string-append "-Dzoneinfo_dir="
5741 (search-input-directory %build-inputs
5744 #~(modify-phases %standard-phases
5745 (add-after 'unpack 'set-HOME
5747 (setenv "HOME" "/tmp")))
5748 (add-after 'unpack 'disable-problematic-tests
5750 (substitute* "libgweather/tests/meson.build"
5751 ;; The timezones test fails for unknown reasons (see:
5752 ;; https://gitlab.gnome.org/GNOME/libgweather/-/issues/188).
5753 ((".*'name': 'timezones'.*") "")
5754 ;; The 'metar' test is known to fail, fixed but not yet released
5756 ;; https://gitlab.gnome.org/GNOME/libgweather/-/issues/168).
5757 ((".*'name': 'metar'.*") ""))))
5758 (delete 'check) ;move after the install phase
5759 (add-after 'install 'check
5760 (assoc-ref %standard-phases 'check)))))
5762 (list gettext-minimal
5764 `(,glib "bin") ;for glib-mkenums
5765 gobject-introspection
5767 gsettings-desktop-schemas
5772 ;; TODO: It would be good to make the package respect TZDIR instead
5773 ;; of using a "hard coded" version of tzdata.
5774 (inputs (list tzdata))
5776 ;; gweather4.pc refers to all of these.
5783 (define-public libgweather4-with-libsoup2
5785 (inherit libgweather4)
5786 (name "libgweather4-with-libsoup2")
5787 (arguments (substitute-keyword-arguments (package-arguments libgweather4)
5788 ((#:configure-flags flags)
5789 #~(cons "-Dsoup2=true" #$flags))))
5791 (modify-inputs (package-propagated-inputs libgweather4)
5792 (replace "geocode-glib" geocode-glib-with-libsoup2)
5793 (replace "libsoup" libsoup-minimal-2)))))
5795 (define-public gnome-settings-daemon
5797 (name "gnome-settings-daemon")
5802 (uri (string-append "mirror://gnome/sources/" name "/"
5803 (version-major version) "/"
5804 name "-" version ".tar.xz"))
5807 "005b1dvrfcyr6n4srl6c0lzr95c18prps4xm1lf2ghcfm8a9fi4w"))
5808 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5809 (build-system meson-build-system)
5814 #~(list (string-append "-Dudev_dir=" #$output "/lib/udev")
5816 ;; Otherwise, the RUNPATH will lack the final path component.
5817 (string-append "-Dc_link_args=-Wl,-rpath=" #$output
5818 "/lib/gnome-settings-daemon-3.0"))
5820 #~(modify-phases %standard-phases
5821 (add-before 'configure 'set-baobab-file-name
5822 (lambda* (#:key inputs #:allow-other-keys)
5823 ;; Hard-code the file name of Baobab instead of looking
5824 ;; it up in $PATH. This ensures users get the "Examine"
5825 ;; button in the low disk space notification of GDM even
5826 ;; if they don't have GNOME in their main profile.
5827 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5828 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5829 (format #f "g_strdup (~s)"
5830 (search-input-file inputs "bin/baobab")))))))
5831 ;; Color management test can't reach the colord system service.
5834 (list docbook-xml-4.2
5837 `(,glib "bin") ;for glib-mkenums
5838 libxml2 ;for XML_CATALOG_FILES
5849 geocode-glib-with-libsoup2
5851 gsettings-desktop-schemas-next
5855 libgweather4-with-libsoup2
5857 (librsvg-for-system)
5869 (home-page "https://www.gnome.org")
5870 (synopsis "GNOME settings daemon")
5872 "This package contains the daemon responsible for setting the various
5873 parameters of a GNOME session and the applications that run under it. It
5874 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5875 settings, themes, mouse settings, and startup of other daemons.")
5876 (license license:gpl2+)))
5878 (define-public totem-pl-parser
5880 (name "totem-pl-parser")
5884 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5885 (version-major+minor version) "/"
5886 "totem-pl-parser-" version ".tar.xz"))
5889 "075csd5x0frgf93jvhlqiwv5i0qm24zz3iw17jj7v7fgsml0zpy0"))))
5890 (build-system meson-build-system)
5892 ;; FIXME: Tests require gvfs.
5896 `(,glib "bin") gobject-introspection pkg-config))
5898 (list glib gmime libarchive libgcrypt libxml2))
5901 (home-page "https://projects.gnome.org/totem")
5902 (synopsis "Library to parse and save media playlists for GNOME")
5903 (description "Totem-pl-parser is a GObjects-based library to parse and save
5904 playlists in a variety of formats.")
5905 (license license:lgpl2.0+)))
5907 (define-public aisleriot
5913 (uri (string-append "mirror://gnome/sources/aisleriot/"
5914 (version-major+minor version) "/"
5915 "aisleriot-" version ".tar.xz"))
5918 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5919 (build-system glib-or-gtk-build-system)
5922 '("--with-platform=gtk-only"
5923 "--with-card-theme-formats=svg")))
5925 `(("desktop-file-utils" ,desktop-file-utils)
5926 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5927 ("intltool" ,intltool)
5928 ("itstool" ,itstool)
5929 ("pkg-config" ,pkg-config)
5930 ("xmllint" ,libxml2)))
5932 (list gtk+ guile-2.2 libcanberra librsvg))
5933 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5934 (synopsis "Solitaire card games")
5936 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5937 which are easy to play with the aid of a mouse.")
5938 (license license:gpl3+)))
5946 (uri (string-append "mirror://gnome/sources/amtk/"
5947 (version-major+minor version) "/"
5948 "amtk-" version ".tar.xz"))
5951 "12v3nj1bb7507ndprjggq0hpz8k719b4bwvl8sm43p3ibmn27anm"))))
5952 (build-system meson-build-system)
5954 (list gobject-introspection
5955 `(,glib "bin") ; for glib-mkenums
5956 gtk-doc/stable pkg-config))
5959 (home-page "https://wiki.gnome.org/Projects/Amtk")
5960 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5962 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5963 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5964 both a traditional UI or a modern UI with a GtkHeaderBar.")
5965 (license license:lgpl2.1+)))
5967 (define-public devhelp
5973 (uri (string-append "mirror://gnome/sources/" name "/"
5974 (version-major version) "/"
5975 name "-" version ".tar.xz"))
5978 "1lk0gycjvs6gibhy0zs3ffkrkzrkyl5nkp7n60hgpa6syjq91apc"))))
5979 (build-system meson-build-system)
5983 (modify-phases %standard-phases
5984 (add-after 'unpack 'skip-gtk-update-icon-cache
5985 ;; Don't create 'icon-theme.cache'.
5987 (substitute* "build-aux/meson/meson_post_install.py"
5988 (("gtk-update-icon-cache") "true"))))
5989 (add-after 'unpack 'fix-devhelp-gir-inputs
5990 ;; It still mentions webkitgtk 4.0
5992 (substitute* "devhelp/meson.build"
5993 (("'WebKit2-4.0'") "'WebKit2-4.1'")))))))
5995 (list gsettings-desktop-schemas))
5997 `(("intltool" ,intltool)
5998 ("itstool" ,itstool)
5999 ("gobject-introspection" ,gobject-introspection)
6000 ("glib:bin" ,glib "bin") ; for glib-mkmenus
6001 ("pkg-config" ,pkg-config)))
6003 (list amtk gsettings-desktop-schemas webkitgtk))
6004 (home-page "https://wiki.gnome.org/Apps/Devhelp")
6005 (synopsis "API documentation browser for GNOME")
6007 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
6008 natively with GTK-Doc (the API reference system developed for GTK+ and used
6009 throughout GNOME for API documentation).")
6010 (license license:gpl2+)))
6012 (define-public devhelp-with-libsoup2
6013 (package/inherit devhelp
6015 (substitute-keyword-arguments (package-arguments devhelp)
6016 ((#:phases phases '%standard-phases)
6017 `(modify-phases %standard-phases
6018 (add-after 'unpack 'skip-gtk-update-icon-cache
6019 ;; Don't create 'icon-theme.cache'.
6021 (substitute* "build-aux/meson/meson_post_install.py"
6022 (("gtk-update-icon-cache") "true"))))))))
6025 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6026 ("webkitgtk" ,webkitgtk-with-libsoup2)))))
6035 (uri (string-append "mirror://gnome/sources/cogl/"
6036 (version-major+minor version) "/"
6037 "cogl-" version ".tar.xz"))
6039 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
6040 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
6041 ;; cogl, corresponding changes may be appropriate in mutter as well.
6042 (build-system gnu-build-system)
6044 `(("glib:bin" ,glib "bin") ; for glib-mkenums
6045 ("gobject-introspection" ,gobject-introspection)
6046 ("xorg-server" ,xorg-server-for-tests)
6047 ("pkg-config" ,pkg-config)))
6065 `(#:disallowed-references (,xorg-server-for-tests)
6066 #:configure-flags (list "--enable-cogl-gst"
6067 "--enable-wayland-egl-platform"
6068 "--enable-wayland-egl-server"
6070 ;; Arrange to pass an absolute file name to
6071 ;; dlopen for libGL.so.
6072 (string-append "--with-gl-libname="
6073 (assoc-ref %build-inputs "mesa")
6076 (modify-phases %standard-phases
6077 (add-after 'unpack 'fix-build-with-mesa-20
6079 ;; Work around a problem with Mesa 20 where some macros used by
6080 ;; Cogl went missing from eglext.h. This can likely be removed
6081 ;; for newer versions of Cogl or Mesa.
6082 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
6083 (substitute* '("configure"
6084 "cogl/winsys/cogl-winsys-egl-kms.c")
6085 (("#include <EGL/eglext.h>" all)
6086 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
6088 (add-before 'check 'start-xorg-server
6089 (lambda* (#:key tests? inputs #:allow-other-keys)
6092 ;; The test suite requires a running X server.
6093 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
6094 (assoc-ref inputs "xorg-server")))
6095 (setenv "DISPLAY" ":1")
6097 (format #t "test suite not run~%"))
6099 (home-page "http://www.clutter-project.org")
6100 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
6102 "Cogl is a small library for using 3D graphics hardware to draw pretty
6103 pictures. The API departs from the flat state machine style of OpenGL and is
6104 designed to make it easy to write orthogonal components that can render
6105 without stepping on each others toes.")
6106 (license (list license:expat ; most of the code
6107 license:bsd-3 ; cogl/cogl-point-in-poly.c
6108 license:sgifreeb2.0 ; cogl-path/tesselator/
6109 license:asl2.0)))) ; examples/android/
6111 (define-public clutter
6118 (uri (string-append "mirror://gnome/sources/" name "/"
6119 (version-major+minor version) "/"
6120 name "-" version ".tar.xz"))
6123 "1rn4cd1an6a9dfda884aqpcwcgq8dgydpqvb19nmagw4b70zlj4b"))))
6124 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
6125 ;; to clutter, corresponding changes may be appropriate in mutter as well.
6126 (build-system gnu-build-system)
6128 "doc")) ;9 MiB of gtk-doc HTML pages
6130 (list `(,glib "bin") ; for glib-genmarshal
6131 gobject-introspection
6149 `(#:configure-flags (list "--enable-x11-backend=yes"
6151 ;; This produces share/doc/{clutter,cally}.
6152 (string-append "--with-html-dir="
6153 (assoc-ref %outputs "doc")
6155 ;; XXX FIXME: Get test suite working. It would probably fail in the
6156 ;; same way the cogl tests fail, since clutter is based on cogl.
6158 (home-page "https://blogs.gnome.org/clutter/")
6159 (synopsis "OpenGL-based interactive canvas library")
6161 "Clutter is an OpenGL-based interactive canvas library, designed for
6162 creating fast, mainly 2D single window applications such as media box UIs,
6163 presentations, kiosk style applications and so on.")
6164 (license license:lgpl2.0+)))
6166 (define-public clutter-gtk
6168 (name "clutter-gtk")
6173 (uri (string-append "mirror://gnome/sources/" name "/"
6174 (version-major+minor version) "/"
6175 name "-" version ".tar.xz"))
6178 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
6179 (build-system gnu-build-system)
6181 (list pkg-config gobject-introspection))
6183 ;; clutter-gtk.pc refers to all these.
6184 (list clutter gtk+))
6185 (home-page "http://www.clutter-project.org")
6186 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
6188 "Clutter is an OpenGL-based interactive canvas library, designed for
6189 creating fast, mainly 2D single window applications such as media box UIs,
6190 presentations, kiosk style applications and so on.")
6191 (license license:lgpl2.0+)))
6193 (define-public clutter-gst
6195 (name "clutter-gst")
6200 (uri (string-append "mirror://gnome/sources/clutter-gst/"
6201 (version-major+minor version) "/"
6202 "clutter-gst-" version ".tar.xz"))
6204 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
6205 (build-system gnu-build-system)
6207 (list `(,glib "bin") ; for glib-mkenums
6208 pkg-config gobject-introspection))
6210 (list clutter gstreamer gst-plugins-base))
6211 (home-page "http://www.clutter-project.org")
6212 (synopsis "Integration library for using GStreamer with Clutter")
6214 "Clutter-Gst is an integration library for using GStreamer with Clutter.
6215 It provides a GStreamer sink to upload frames to GL and an actor that
6216 implements the ClutterGstPlayer interface using playbin. Clutter is an
6217 OpenGL-based interactive canvas library.")
6218 (license license:lgpl2.0+)))
6220 (define-public libchamplain
6222 (name "libchamplain")
6227 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
6231 "0rihpb0npqpihqcdz4w03rq6xl7jdckfqskvv9diq2hkrnzv8ch2"))))
6232 (build-system meson-build-system)
6234 (list gobject-introspection pkg-config vala))
6236 (list libsoup-minimal-2
6240 `(,glib "bin") ;glib-mkenums, etc.
6244 (home-page "https://projects.gnome.org/libchamplain/")
6245 (synopsis "C library providing a ClutterActor to display maps")
6247 "libchamplain is a C library providing a ClutterActor to display maps.
6248 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
6249 and Perl bindings are also available. It supports numerous free map sources
6250 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
6251 (license license:lgpl2.1+)))
6260 (uri (string-append "mirror://gnome/sources/gom/"
6261 (version-major+minor version) "/"
6262 "gom-" version ".tar.xz"))
6265 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
6266 (build-system gnu-build-system)
6268 (list intltool pkg-config gobject-introspection))
6270 (list glib gdk-pixbuf sqlite))
6271 ;; XXX TODO: Figure out how to run the test suite.
6272 (arguments `(#:tests? #f))
6273 (home-page "https://wiki.gnome.org/Projects/Gom")
6274 (synopsis "Object mapper from GObjects to SQLite")
6276 "Gom provides an object mapper from GObjects to SQLite. It helps you
6277 write applications that need to store structured data as well as make complex
6278 queries upon that data.")
6279 (license license:lgpl2.1+)))
6281 (define-public libgnome-games-support
6283 (name "libgnome-games-support")
6287 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6288 (version-major+minor version) "/"
6289 "libgnome-games-support-" version ".tar.xz"))
6292 "11g1r3ppb9v8m3anks9gxf7fv1x38vmjiya3lr7zjjv328pb69d6"))))
6293 (build-system meson-build-system)
6297 (modify-phases %standard-phases
6298 (add-before 'check 'pre-check
6300 ;; Tests require a writable HOME.
6301 (setenv "HOME" (getcwd))
6304 (list intltool pkg-config vala))
6306 ;; Required by libgnome-games-support-1.0.pc
6308 (home-page "https://www.gnome.org/")
6309 (synopsis "Useful functionality shared among GNOME games")
6311 "libgnome-games-support is a small library intended for internal use by
6312 GNOME Games, but it may be used by others.")
6313 (license license:lgpl3+)))
6315 (define-public gnome-klotski
6317 (name "gnome-klotski")
6321 (uri (string-append "mirror://gnome/sources/" name "/"
6322 (version-major+minor version) "/"
6323 name "-" version ".tar.xz"))
6326 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
6327 (build-system meson-build-system)
6331 (modify-phases %standard-phases
6332 (add-after 'unpack 'skip-gtk-update-icon-cache
6333 ;; Don't create 'icon-theme.cache'.
6335 (substitute* "build-aux/meson_post_install.py"
6336 (("gtk-update-icon-cache") (which "true")))
6339 `(("desktop-file-utils" ,desktop-file-utils)
6340 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6341 ("intltool" ,intltool)
6342 ("itstool" ,itstool)
6343 ("pkg-config" ,pkg-config)
6345 ("xmllint" ,libxml2)))
6347 (list gtk+ libgnome-games-support librsvg))
6348 (home-page "https://wiki.gnome.org/Apps/Klotski")
6349 (synopsis "Sliding block puzzles")
6351 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6352 the patterned block to the area bordered by green markers. To do so, you will
6353 need to slide other blocks out of the way. Complete each puzzle in as few moves
6355 (license license:gpl2+)))
6357 (define-public grilo
6364 (uri (string-append "mirror://gnome/sources/grilo/"
6365 (version-major+minor version) "/"
6366 "grilo-" version ".tar.xz"))
6368 (base32 "0ywjvh7xw4ql1q4fvl0q5n06n08pga1g1nc9l7c3x5214gr3fj6i"))))
6369 (build-system meson-build-system)
6371 (list `(,glib "bin") ; for glib-mkenums and glib-genmarshal
6374 gobject-introspection
6385 (native-search-paths
6386 (list (search-path-specification
6387 (variable "GRL_PLUGIN_PATH")
6388 (files (list (string-append "lib/grilo-"
6389 (version-major+minor version)))))))
6390 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6391 (synopsis "Framework for discovering and browsing media")
6393 "Grilo is a framework focused on making media discovery and browsing easy
6394 for application developers.")
6395 (license license:lgpl2.1+)))
6397 (define-public grilo-plugins
6399 (name "grilo-plugins")
6404 (uri (string-append "mirror://gnome/sources/" name "/"
6405 (version-major+minor version) "/"
6406 name "-" version ".tar.xz"))
6408 (base32 "1y10nnd711qxwgpz6spzp1rnk50fyf11kk1n71a31ab4fgb0ahqw"))))
6409 (build-system meson-build-system)
6411 `(("gettext" ,gettext-minimal)
6412 ("glib:bin" ,glib "bin")
6413 ("gtk+:bin" ,gtk+ "bin")
6414 ("itstool" ,itstool)
6415 ("pkg-config" ,pkg-config)))
6416 ;; TODO: ahavi, gstreamer
6419 ;("gmime" ,gmime) ; unused
6420 ("gnome-online-accounts" ,gnome-online-accounts)
6422 ;("gssdp" ,gssdp) ; unused
6423 ;("gupnp" ,gupnp) ; unused
6424 ;("gupnp-av" ,gupnp-av) ; unused
6425 ("json-glib" ,json-glib)
6427 ("libgdata" ,libgdata)
6428 ("libmediaart" ,libmediaart)
6429 ;("librest" ,rest) ; unused
6430 ("libsoup" ,libsoup)
6431 ("python-pygobject" ,python-pygobject)
6432 ("totam-pl-parser" ,totem-pl-parser)
6433 ("tracker" ,tracker)
6434 ("tracker-miners" ,tracker-miners)))
6437 ;;Disable lua-factory as it needs missing dependencies
6438 #:configure-flags '("-Denable-lua-factory=no")
6440 (modify-phases %standard-phases
6441 (add-before 'configure 'set-shell
6443 (setenv "SHELL" (which "bash"))))
6444 ;; Disable the tracker test that requires the UPower daemon.
6445 (add-before 'configure 'fix-tests
6446 (lambda* (#:key inputs #:allow-other-keys)
6447 (substitute* "tests/tracker3/meson.build"
6448 (("'test_tracker3'.*") "")))))))
6449 (home-page "https://live.gnome.org/Grilo")
6450 (synopsis "Plugins for the Grilo media discovery library")
6452 "Grilo is a framework focused on making media discovery and browsing easy
6453 for application developers. This package provides plugins for common media
6454 discovery protocols.")
6455 (license license:lgpl2.1+)))
6457 (define-public totem
6464 (uri (string-append "mirror://gnome/sources/totem/"
6465 (version-major version) "/"
6466 "totem-" version ".tar.xz"))
6468 (base32 "1az6ay7zhz2naqrzcfldx1yv2ylw1yjx76g3mqrqppwmvcflkw2a"))))
6469 (build-system meson-build-system)
6474 gobject-introspection
6475 `(,glib "bin") ;for 'glib-mkenums'
6478 xorg-server-for-tests))
6500 gsettings-desktop-schemas
6511 ;; Disable automatic GStreamer plugin installation via PackageKit and
6513 #:configure-flags #~(list "-Denable-easy-codec-installation=no"
6514 ;; Do not build .a files for the plugins, it's
6515 ;; completely useless. This saves 2 MiB.
6516 "--default-library" "shared")
6518 #~(modify-phases %standard-phases
6519 (add-after 'unpack 'skip-gtk-update-icon-cache
6520 ;; Don't create 'icon-theme.cache'.
6522 (substitute* "meson_post_install.py"
6523 (("gtk-update-icon-cache") "true"))))
6524 (add-before 'install 'disable-cache-generation
6526 (setenv "DESTDIR" "/")))
6527 (add-before 'check 'pre-check
6529 ;; Tests require a running X server.
6530 (system "Xvfb :1 &")
6531 (setenv "DISPLAY" ":1")))
6532 (add-after 'install 'wrap-totem
6533 (lambda* (#:key inputs outputs #:allow-other-keys)
6534 (let ((out (assoc-ref outputs "out"))
6535 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6536 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6537 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6538 (wrap-program (string-append out "/bin/totem")
6539 `("GI_TYPELIB_PATH" ":" suffix (,gi-typelib-path))
6540 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6541 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6542 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6543 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))))))))
6544 (home-page "https://wiki.gnome.org/Apps/Videos")
6545 (synopsis "Simple media player for GNOME based on GStreamer")
6546 (description "Totem is a simple yet featureful media player for GNOME
6547 which can read a large number of file formats.")
6548 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6549 ;; to be used and distributed together with GStreamer and Totem. See
6550 ;; file://COPYING in the source distribution for details.
6551 (license license:gpl2+)))
6553 (define-public rhythmbox
6559 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6560 (version-major+minor version) "/"
6561 "rhythmbox-" version ".tar.xz"))
6564 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6565 (build-system glib-or-gtk-build-system)
6568 (list "--enable-lirc"
6575 (modify-phases %standard-phases
6577 'install 'wrap-rhythmbox
6578 (lambda* (#:key inputs outputs #:allow-other-keys)
6579 (let ((out (assoc-ref outputs "out"))
6580 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6581 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6582 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6583 (python-path (getenv "GUIX_PYTHONPATH")))
6584 (wrap-program (string-append out "/bin/rhythmbox")
6585 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6586 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6587 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6588 `("GUIX_PYTHONPATH" ":" prefix (,python-path))))
6593 `(("itstool" ,itstool)
6594 ("intltool" ,intltool)
6595 ("glib" ,glib "bin")
6596 ("gobject-introspection" ,gobject-introspection)
6597 ("desktop-file-utils" ,desktop-file-utils)
6598 ("pkg-config" ,pkg-config)
6599 ("xmllint" ,libxml2)))
6601 `(("json-glib" ,json-glib)
6603 ("gnome-desktop" ,gnome-desktop)
6605 ("python-pygobject" ,python-pygobject)
6608 ("adwaita-icon-theme" ,adwaita-icon-theme)
6610 ("grilo-plugins" ,grilo-plugins)
6611 ("gstreamer" ,gstreamer)
6612 ("gst-plugins-base" ,gst-plugins-base)
6613 ("gst-plugins-good" ,gst-plugins-good)
6614 ("totem-pl-parser" ,totem-pl-parser)
6615 ("libgudev" ,libgudev)
6616 ;;("libmtp" ,libmtp) FIXME: Not detected
6617 ("libsecret" ,libsecret)
6618 ("libsoup" ,libsoup)
6619 ("libnotify" ,libnotify)
6620 ("libpeas" ,libpeas)
6621 ("libsoup" ,libsoup-minimal-2)
6623 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6624 ;;("clutter" ,clutter)
6625 ;;("clutter-gtk" ,clutter-gtk)
6626 ;;("clutter-gst" ,clutter-gst)
6627 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6634 ("brasero" ,brasero)))
6635 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6636 (synopsis "Music player for GNOME")
6637 (description "Rhythmbox is a music playing application for GNOME. It
6638 supports playlists, song ratings, and any codecs installed through gstreamer.")
6639 (license license:gpl2+)))
6647 (uri (string-append "mirror://gnome/sources/" name "/"
6648 (version-major version) "/"
6649 name "-" version ".tar.xz"))
6652 "0ph4b05cjlkzbn8vil4hjkwvfr1cp819yi2qifp418p15rm4lk8f"))))
6653 (build-system meson-build-system)
6658 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6659 #~(list (string-append "-Dc_link_args=-Wl,-rpath="
6660 #$output "/lib/eog"))
6662 #~(modify-phases %standard-phases
6663 (add-after 'unpack 'skip-gtk-update-icon-cache
6664 ;; Don't create 'icon-theme.cache'.
6666 (substitute* "meson.build"
6667 (("gtk_update_icon_cache: true")
6668 "gtk_update_icon_cache: false"))))
6669 (add-after 'install 'wrap-eog
6670 (lambda* (#:key outputs #:allow-other-keys)
6671 (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6672 (wrap-program (search-input-file outputs "bin/eog")
6673 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
6677 (list gettext-minimal
6680 gobject-introspection
6696 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6697 (synopsis "GNOME image viewer")
6698 (description "Eye of GNOME is the GNOME image viewer. It
6699 supports image conversion, rotation, and slideshows.")
6700 (license license:gpl2+)))
6702 (define-public eog-plugins
6703 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6704 ;; $DATA/eog/plugins, where DATA is one of the entries in
6705 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6706 ;; 'XDG_DATA_DIRS' appropriately set.
6708 (name "eog-plugins")
6712 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6713 (version-major+minor version) "/"
6714 "eog-plugins-" version ".tar.xz"))
6717 "1dcxdjp7x092wn0iq7975f9b05ksb5kl5mxmyiqmydrja91ryw40"))))
6718 (build-system gnu-build-system)
6721 (modify-phases %standard-phases
6722 (add-after 'install 'fix-plugins-path
6723 ;; XXX: EOG looks its plugins in "share/eog/plugins", not in
6724 ;; "lib/eog/plugins".
6725 (lambda* (#:key outputs #:allow-other-keys)
6726 (let* ((out (assoc-ref outputs "out"))
6727 (plugins (string-append out "/share/eog/plugins")))
6728 (mkdir (dirname plugins))
6729 (symlink (string-append out "/lib/eog/plugins") plugins)))))))
6730 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6731 (synopsis "Extensions for the Eye of GNOME image viewer")
6733 (list pkg-config gettext-minimal))
6742 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6746 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6747 @item @dfn{Map}, which displays a map of where the picture was taken on the
6749 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6752 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6753 ;; long suspicious byte stream that goes to a
6754 ;; ".gresource.eog_postasa_plugin" ELF section.
6755 (license license:gpl2+)))
6757 (define-public libgudev
6763 (uri (string-append "mirror://gnome/sources/" name "/"
6764 version "/" name "-" version ".tar.xz"))
6767 "094mgjmwgsgqrr1i0vd20ynvlkihvs3vgbmpbrhswjsrdp86j0z5"))))
6768 (build-system meson-build-system)
6770 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6771 ("gobject-introspection" ,gobject-introspection)
6772 ("pkg-config" ,pkg-config)))
6774 (list glib ; in Requires of gudev-1.0.pc
6775 eudev)) ; in Requires.private of gudev-1.0.pc
6778 (home-page "https://wiki.gnome.org/Projects/libgudev")
6779 (synopsis "GObject bindings for libudev")
6781 "This library provides GObject bindings for libudev. It was originally
6782 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6783 (license license:lgpl2.1+)))
6791 (uri (string-append "mirror://gnome/sources/gvfs/"
6792 (version-major+minor version) "/"
6793 "gvfs-" version ".tar.xz"))
6796 "0pmc0vda1ksm9l7v64h4bm8qnv16amb7nifgy0882hzg2n62pmq3"))))
6797 (build-system meson-build-system)
6799 (list #:glib-or-gtk? #t
6801 #~(list "-Dsystemduserunitdir=no"
6803 ;; Otherwise, the RUNPATH will lack the final path component.
6804 (string-append "-Dc_link_args=-Wl,-rpath="
6805 #$output "/lib/gvfs"))))
6807 (list `(,glib "bin") ;for glib-genmarshal, etc.
6821 gnome-online-accounts
6822 gsettings-desktop-schemas
6841 (home-page "https://wiki.gnome.org/gvfs/")
6842 (synopsis "Userspace virtual file system for GIO")
6844 "GVFS is a userspace virtual file system designed to work with the I/O
6845 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS
6846 support to all applications using the GIO API. It also supports exposing the
6847 GVFS mounts to non-GIO applications using FUSE.
6849 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6851 (license license:lgpl2.0+)))
6853 (define-public gusb-minimal
6855 (name "gusb-minimal")
6860 (url "https://github.com/hughsie/libgusb")
6862 (file-name (git-file-name name version))
6865 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6866 (build-system meson-build-system)
6868 `(#:tests? #f ;libusb fails to initialize. Wonder what that is.
6870 (cons "-Ddocs=false"
6871 (if ,(%current-target-system)
6872 ;; Introspection data cannot currently be cross-compiled.
6873 '("-Dintrospection=false"
6874 ;; Requires introspection data.
6878 (list gobject-introspection pkg-config python vala))
6880 ;; Both of these are required by gusb.pc.
6882 (home-page "https://github.com/hughsie/libgusb")
6883 (synopsis "GLib binding for libusb1")
6885 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6886 asynchronous control, bulk and interrupt transfers with proper cancellation
6887 and integration into a mainloop. This makes it easy to integrate low level
6888 USB transfers with your high-level application or system daemon.")
6889 (license license:lgpl2.1+)))
6892 (package/inherit gusb-minimal
6895 (substitute-keyword-arguments (package-arguments gusb-minimal)
6896 ((#:configure-flags flags)
6897 `(cons "-Ddocs=true"
6898 (delete "-Ddocs=false" ,flags)))))
6900 (cons `("gtk-doc" ,gtk-doc/stable)
6901 (package-native-inputs gusb-minimal)))))
6903 (define-public simple-scan
6905 (name "simple-scan")
6910 (uri (string-append "mirror://gnome/sources/simple-scan/"
6911 (version-major version) "/"
6912 "simple-scan-" version ".tar.xz"))
6914 (base32 "09i23f8j3knppyxmikzfq9s09xarsgp9sqx9mfyvas8p3ihw16w5"))))
6915 (build-system meson-build-system)
6916 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6918 '(#:glib-or-gtk? #t))
6920 (list gettext-minimal
6922 `(,glib "bin") ; glib-compile-schemas, etc.
6936 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6937 (synopsis "Document and image scanner")
6939 "Document Scanner is an easy-to-use application that lets you connect your
6940 scanner and quickly capture images and documents in an appropriate format. It
6941 supports any scanner for which a suitable SANE driver is available, which is
6942 almost all of them.")
6943 (license license:gpl3+)))
6945 (define-public eolie
6951 (uri (string-append "https://adishatz.org/eolie/eolie-"
6955 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6956 (build-system meson-build-system)
6960 (modify-phases %standard-phases
6961 (add-after 'unpack 'skip-gtk-update-icon-cache
6962 ;; Don't create 'icon-theme.cache'.
6964 (substitute* "meson_post_install.py"
6965 (("gtk-update-icon-cache") "true"))
6967 (add-after 'wrap 'wrap-more
6968 (lambda* (#:key inputs outputs #:allow-other-keys)
6969 (let* ((out (assoc-ref outputs "out"))
6970 ;; These libraries must be on LD_LIBRARY_PATH.
6971 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6972 "atk" "gtk+" "gsettings-desktop-schemas"
6973 "gobject-introspection"))
6976 (string-append (assoc-ref inputs lib) "/lib"))
6979 (wrap-program (string-append out "/bin/eolie")
6980 `("LD_LIBRARY_PATH" ":" prefix (,path))
6981 `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
6982 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6985 `(("intltool" ,intltool)
6986 ("itstool" ,itstool)
6987 ("pkg-config" ,pkg-config)
6989 ("glib:bin" ,glib "bin")))
6991 `(("gobject-introspection" ,gobject-introspection)
6992 ("glib-networking" ,glib-networking)
6995 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6996 ("python" ,python-wrapper)
6997 ("python-dateutil" ,python-dateutil)
6998 ("python-pyfxa" ,python-pyfxa)
6999 ("python-pygobject" ,python-pygobject)
7000 ("python-pycairo" ,python-pycairo)
7001 ("python-pycrypto" ,python-pycrypto)
7002 ("libhandy" ,libhandy)
7003 ("libsecret" ,libsecret)
7004 ("gtkspell3" ,gtkspell3)
7005 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7006 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
7007 ("webkitgtk" ,webkitgtk)))
7008 (home-page "https://wiki.gnome.org/Apps/Eolie")
7009 (synopsis "Web browser for GNOME")
7011 "Eolie is a new web browser for GNOME. It features Firefox sync support,
7012 a secret password store, an adblocker, and a modern UI.")
7013 (license license:gpl3+)))
7015 (define-public epiphany
7021 (uri (string-append "mirror://gnome/sources/epiphany/"
7022 (version-major version) "/"
7023 "epiphany-" version ".tar.xz"))
7026 "0b8rhns3b58f8dnp83mm1g933aqf88d8wrfyyp7jq3fihvw2rh4j"))))
7027 (build-system meson-build-system)
7032 #~(modify-phases %standard-phases
7033 (add-after 'unpack 'skip-gtk-update-icon-cache
7034 ;; Don't create 'icon-theme.cache'.
7036 (substitute* "post_install.py"
7037 (("gtk-update-icon-cache") "true"))))
7038 (add-after 'unpack 'disable-failing-tests
7040 (substitute* "tests/meson.build"
7041 ;; embed_shell fails, because webkitgtk apparently no longer
7042 ;; supports overriding the ftp schema web_app_utils fails due
7043 ;; to missing network access.
7044 (("(embed_shell|web_app_utils)_test,")
7045 "find_program('sh'), args: ['-c', 'exit 77'],"))))
7046 (add-before 'check 'pre-check
7048 ;; Tests require a running X server.
7049 (system "Xvfb :1 &")
7050 (setenv "DISPLAY" ":1"))))
7052 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
7053 #~(list (string-append "-Dc_link_args=-Wl,-rpath="
7054 #$output "/lib/epiphany"))))
7055 (propagated-inputs (list dconf))
7056 (native-inputs (list desktop-file-utils ; for update-desktop-database
7057 `(,glib "bin") ; for glib-mkenums
7062 xorg-server-for-tests))
7065 librsvg ; for loading SVG files
7068 gsettings-desktop-schemas
7078 nettle ; for hogweed
7080 webkitgtk-with-libsoup2))
7081 (home-page "https://wiki.gnome.org/Apps/Web")
7082 (synopsis "GNOME web browser")
7084 "Epiphany is a GNOME web browser targeted at non-technical users. Its
7085 principles are simplicity and standards compliance.")
7086 (license license:gpl2+)))
7088 (define-public d-feet
7094 (uri (string-append "mirror://gnome/sources/" name "/"
7095 (version-major+minor version) "/"
7096 name "-" version ".tar.xz"))
7099 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
7100 (build-system glib-or-gtk-build-system)
7102 '(#:out-of-source? #f ; tests need to run in the source directory.
7104 (modify-phases %standard-phases
7108 ;; The test suite requires a running X server.
7109 (system "Xvfb :1 &")
7110 (setenv "DISPLAY" ":1")
7111 ;; Don't fail on missing '/etc/machine-id'.
7112 (setenv "DBUS_FATAL_WARNINGS" "0")
7113 ;; tests.py and window.py don't meet E402:
7114 ;; E402 module level import not at top of file
7115 (substitute* "src/tests/Makefile"
7116 (("--ignore=E123") "--ignore=E123,E402"))
7119 'install 'wrap-program
7120 (lambda* (#:key outputs #:allow-other-keys)
7121 (let ((prog (string-append (assoc-ref outputs "out")
7124 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
7125 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
7128 `(("intltool" ,intltool)
7129 ("itstool" ,itstool)
7130 ("pkg-config" ,pkg-config)
7131 ("python-pep8" ,python-pep8)
7132 ("xmllint" ,libxml2)
7133 ("xorg-server" ,xorg-server-for-tests)))
7135 `(("gobject-introspection" ,gobject-introspection)
7137 ("python" ,python-wrapper)
7138 ("hicolor-icon-theme" ,hicolor-icon-theme)
7139 ("python-pygobject" ,python-pygobject)))
7140 (home-page "https://wiki.gnome.org/Apps/DFeet")
7141 (synopsis "D-Bus debugger")
7143 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
7144 of running programs and invoke methods on those interfaces.")
7145 (license license:gpl2+)))
7147 (define-public yelp-xsl
7155 (string-append "mirror://gnome/sources/" name "/"
7156 (version-major version) "/"
7157 name "-" version ".tar.xz"))
7159 (base32 "19d46rkajvr0f04560vlrzwvac88x5j8ilvzwkawbn5vjg069kf8"))))
7160 (build-system gnu-build-system)
7166 `(("ducktype" ,mallard-ducktype)
7167 ("gettext" ,gettext-minimal)
7168 ("intltool" ,intltool)
7169 ("itstool" ,itstool)
7170 ("xmllint" ,libxml2)
7171 ("xsltproc" ,libxslt)))
7172 (synopsis "XSL stylesheets for Yelp")
7173 (description "Yelp-XSL is a collection of programs and data files to help
7174 you build, maintain, and distribute documentation. It provides XSLT stylesheets
7175 that can be built upon for help viewers and publishing systems. These
7176 stylesheets output JavaScript and CSS content, and reference images
7177 provided by yelp-xsl. It also redistributes copies of the jQuery and
7178 jQuery.Syntax JavaScript libraries.")
7179 (home-page "https://wiki.gnome.org/Apps/Yelp")
7195 (uri (string-append "mirror://gnome/sources/" name "/"
7196 (version-major version) "/"
7197 name "-" version ".tar.xz"))
7200 "11shrqass8ak8m10nayqssa6sbrrxa13ffpamvqi1c0yzkxdk9r5"))))
7201 (build-system glib-or-gtk-build-system)
7203 (list `(,glib "bin") ; for glib-genmarshal, etc.
7204 intltool itstool pkg-config))
7208 (list gsettings-desktop-schemas libxslt sqlite webkitgtk yelp-xsl))
7209 (home-page "https://wiki.gnome.org/Apps/Yelp")
7210 (synopsis "GNOME help browser")
7212 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
7213 man, info, and HTML documents. It can locate documents according to the
7214 freedesktop.org help system specification.")
7215 (license license:gpl2+)))
7217 (define-public yelp-tools
7225 (string-append "mirror://gnome/sources/" name "/"
7226 (version-major+minor version) "/"
7227 name "-" version ".tar.xz"))
7229 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
7230 (build-system gnu-build-system)
7236 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
7237 `(("itstool" ,itstool)
7238 ("xmllint" ,libxml2)
7239 ("xsltproc" ,libxslt)))
7240 (synopsis "Yelp documentation tools")
7242 "Yelp-tools is a collection of scripts and build utilities to help create,
7243 manage, and publish documentation for Yelp and the web. Most of the heavy
7244 lifting is done by packages like yelp-xsl and itstool. This package just
7245 wraps things up in a developer-friendly way.")
7246 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
7247 (license license:gpl2+)))
7249 (define-public libgee
7255 (uri (string-append "mirror://gnome/sources/libgee/"
7256 (version-major+minor version) "/"
7257 "libgee-" version ".tar.xz"))
7260 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
7261 (build-system gnu-build-system)
7264 (modify-phases %standard-phases
7265 (add-after 'unpack 'fix-introspection-install-dir
7266 (lambda* (#:key outputs #:allow-other-keys)
7267 (let ((out (assoc-ref outputs "out")))
7268 (substitute* "gee/Makefile.in"
7269 (("@INTROSPECTION_GIRDIR@")
7270 (string-append out "/share/gir-1.0/"))
7271 (("@INTROSPECTION_TYPELIBDIR@")
7272 (string-append out "/lib/girepository-1.0/")))))))))
7274 (list `(,glib "bin") pkg-config))
7276 (list glib gobject-introspection))
7277 (home-page "https://wiki.gnome.org/Projects/Libgee")
7278 (synopsis "GObject collection library")
7280 "Libgee is a utility library providing GObject-based interfaces and
7281 classes for commonly used data structures.")
7282 (license license:lgpl2.1+)))
7284 (define-public gexiv2
7290 (uri (string-append "mirror://gnome/sources/" name "/"
7291 (version-major+minor version) "/"
7292 name "-" version ".tar.xz"))
7295 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
7296 (build-system meson-build-system)
7299 `(,glib "bin") pkg-config vala))
7301 ;; Listed in "Requires" section of gexiv2.pc
7304 (list glib gobject-introspection))
7305 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7306 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7308 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7309 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7310 metadata in photo and video files of various formats.")
7311 (license license:gpl2+)))
7313 (define-public shotwell
7319 (uri (string-append "mirror://gnome/sources/shotwell/"
7320 (version-major+minor version) "/"
7321 "shotwell-" version ".tar.xz"))
7324 "1yhqfmz49qkls4i6xaznm5ybwzv19jxsqjdic60wn0ykvbxjr269"))))
7325 (build-system meson-build-system)
7329 (modify-phases %standard-phases
7330 (add-after 'unpack 'skip-gtk-update-icon-cache
7332 (substitute* "build-aux/meson/postinstall.py"
7333 (("gtk-update-icon-cache") (which "true"))
7334 (("update-desktop-database") (which "true")))
7339 `(("gettext" ,gettext-minimal)
7340 ("glib:bin" ,glib "bin")
7341 ("itstool" ,itstool)
7342 ("pkg-config" ,pkg-config)
7348 ("gst-plugins-base" ,gst-plugins-base)
7349 ("gstreamer" ,gstreamer)
7350 ("json-glib" ,json-glib)
7351 ("libgdata" ,libgdata)
7353 ("libgphoto2" ,libgphoto2)
7354 ("libgudev" ,libgudev)
7356 ("libxml2" ,libxml2)
7358 ("webkitgtk" ,webkitgtk-with-libsoup2)))
7359 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7360 (synopsis "Photo manager for GNOME 3")
7362 "Shotwell is a digital photo manager designed for the GNOME desktop
7363 environment. It allows you to import photos from disk or camera, organize
7364 them by keywords and events, view them in full-window or fullscreen mode, and
7365 share them with others via social networking and more.")
7366 (license license:lgpl2.1+)))
7368 (define-public file-roller
7370 (name "file-roller")
7374 (uri (string-append "mirror://gnome/sources/file-roller/"
7375 (version-major+minor version) "/"
7376 "file-roller-" version ".tar.xz"))
7379 "039w1dcpa5ypmv6sm634alk9vbcdkyvy595vkh5gn032jsiqca2a"))))
7380 (build-system meson-build-system)
7382 (list desktop-file-utils ; for update-desktop-database
7387 `(,gtk+ "bin") ; gtk-update-icon-cache
7389 ;; TODO: Add libnautilus.
7398 (synopsis "Graphical archive manager for GNOME")
7399 (description "File Roller is an archive manager for the GNOME desktop
7400 environment that allows users to view, unpack, and create compressed archives
7401 such as gzip tarballs.")
7402 (home-page "http://fileroller.sourceforge.net/")
7403 (license license:gpl2+)))
7405 (define-public gnome-session
7407 (name "gnome-session")
7411 (uri (string-append "mirror://gnome/sources/" name "/"
7412 (version-major version) "/"
7413 name "-" version ".tar.xz"))
7414 (patches (search-patches "gnome-session-support-elogind.patch"))
7417 "1alwjqr36rd0s132qs2clwnxgilcbylps6lm41lr50mn782hdjiw"))))
7421 (modify-phases %standard-phases
7422 (add-after 'install 'wrap-gnome-session
7423 (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
7424 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7425 (wrap-program (search-input-file outputs "bin/gnome-session")
7427 (,(dirname (search-input-file (or native-inputs inputs)
7430 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7431 "-Dman=false" ; FIXME: disabled because of docbook validation error
7434 "-Dsystemd_session=disable"
7435 "-Dsystemd_journal=false")))
7436 (build-system meson-build-system)
7440 `(,glib "bin") ; for glib-compile-schemas, etc.
7442 libxml2 ;for 'XML_CATALOG_FILES'
7449 gsettings-desktop-schemas
7458 (synopsis "Session manager for GNOME")
7460 "This package contains the GNOME session manager, as well as a
7461 configuration program to choose applications starting on login.")
7462 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7463 (license license:gpl2+)))
7471 (uri (string-append "mirror://gnome/sources/" name "/"
7472 (version-major+minor version) "/"
7473 name "-" version ".tar.xz"))
7476 "0xrrv9lsi087yb9yf146a1aarf5yh6rf4jw9blx30zasvjdkgvnx"))
7477 (modules '((guix build utils)))
7480 (substitute* "installed-tests/scripts/testCommandLine.sh"
7483 (build-system meson-build-system)
7485 '(#:configure-flags '("-Dinstalled_tests=false")
7487 (modify-phases %standard-phases
7488 (add-before 'check 'pre-check
7490 ;; The test suite requires a running X server.
7491 (system "Xvfb :1 &")
7492 (setenv "DISPLAY" ":1")
7494 ;; For the missing /etc/machine-id.
7495 (setenv "DBUS_FATAL_WARNINGS" "0"))))))
7497 (list `(,glib "bin") ;for glib-compile-resources
7502 dconf ;required to properly store settings
7504 xorg-server-for-tests))
7506 ;; These are all in the Requires.private field of gjs-1.0.pc.
7507 (list cairo gobject-introspection mozjs-91))
7509 (list gtk+ readline))
7510 (synopsis "Javascript bindings for GNOME")
7511 (home-page "https://wiki.gnome.org/Gjs")
7513 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7514 javascript engine and the GObject introspection framework.")
7515 (license license:gpl2+)))
7517 (define-public gedit
7523 (uri (string-append "mirror://gnome/sources/" name "/"
7524 (version-major version) "/"
7525 name "-" version ".tar.xz"))
7528 "1jlgzihi4ywvlr4xj2vbnnxzar8j3mwj0jcn8jp6dh0a3w8jjqiw"))))
7529 (build-system meson-build-system)
7534 ;; Otherwise, the RUNPATH will lack the final path component.
7535 #~(list (string-append "-Dc_link_args=-Wl,-rpath="
7536 #$output "/lib/gedit"))
7538 #~(modify-phases %standard-phases
7539 (add-after 'unpack 'skip-gtk-update-icon-cache
7540 ;; Don't create 'icon-theme.cache'.
7542 (substitute* "build-aux/meson/post_install.py"
7543 (("gtk-update-icon-cache") (which "true")))))
7544 (add-after 'unpack 'do-not-invoke-git
7545 (lambda* (#:key inputs #:allow-other-keys)
7546 (substitute* "meson.build"
7548 (add-after 'install 'wrap-gedit
7549 (lambda* (#:key outputs #:allow-other-keys)
7550 (wrap-program (search-input-file outputs "bin/gedit")
7552 `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
7553 `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
7554 ;; For language-specs.
7555 `("XDG_DATA_DIRS" ":" prefix
7556 (,(string-append #$(this-package-input "gtksourceview")
7561 (list desktop-file-utils ;for update-desktop-database
7562 `(,glib "bin") ;for glib-mkenums, etc.
7563 gobject-introspection
7571 (list adwaita-icon-theme
7574 gsettings-desktop-schemas
7582 (home-page "https://wiki.gnome.org/Apps/Gedit")
7583 (synopsis "GNOME text editor")
7584 (description "While aiming at simplicity and ease of use, gedit is a
7585 powerful general purpose text editor.")
7586 (license license:gpl2+)))
7588 (define-public zenity
7594 (uri (string-append "mirror://gnome/sources/zenity/"
7595 (version-major+minor version) "/"
7596 "zenity-" version ".tar.xz"))
7599 "0czq2vx636xbvg7zbdqkxq41zgm7v1h048awy0cgls0q1hgcmmxh"))))
7600 (build-system meson-build-system)
7602 (list #:phases #~(modify-phases %standard-phases
7603 (add-after 'unpack 'disable-gtk-update-icon-cache
7604 ;; The gtk-update-icon-cache tool is only run when
7605 ;; DESTDIR is unset.
7607 (setenv "DESTDIR" "/"))))))
7608 (native-inputs (list gettext-minimal itstool pkg-config))
7609 (inputs (list gtk+))
7610 (synopsis "Display graphical dialog boxes from shell scripts")
7611 (home-page "https://www.gnome.org")
7613 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7614 to display dialog boxes from the commandline and shell scripts.")
7615 (license license:lgpl2.0+)))
7617 (define-public mutter
7623 (uri (string-append "mirror://gnome/sources/" name "/"
7624 (version-major version) "/"
7625 name "-" version ".tar.xz"))
7628 "0h1ak3201mdc2qbf67fhcn801ddp33hm0f0c52zis1l7s6ipyb62"))))
7629 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7630 ;; versions of cogl and clutter. As a result, many of the inputs,
7631 ;; propagated-inputs, and configure flags used in cogl and clutter are
7632 ;; needed here as well.
7633 (build-system meson-build-system)
7636 #:imported-modules `(,@%meson-build-system-modules
7637 (guix build syscalls))
7638 #:modules '((guix build meson-build-system)
7639 (guix build syscalls)
7645 ;; Otherwise, the RUNPATH will lack the final path component.
7646 (string-append "-Dc_link_args=-Wl,-rpath="
7648 #$output "/lib/mutter-9")
7649 ;; Disable systemd support.
7651 ;; The following flags are needed for the bundled clutter
7652 (string-append "-Dxwayland_path="
7653 (search-input-file %build-inputs "bin/Xwayland"))
7654 ;; the remaining flags are needed for the bundled cogl
7655 (string-append "-Dopengl_libname="
7656 (search-input-file %build-inputs "lib/libGL.so"))
7657 (string-append "-Dgles2_libname="
7658 (search-input-file %build-inputs "lib/libGLESv2.so"))
7659 "-Degl_device=true" ;false by default
7660 "-Dwayland_eglstream=true") ;false by default
7661 #:test-options '(list "--verbose")
7663 #~(modify-phases %standard-phases
7664 (add-after 'unpack 'adjust-runpath-linker-directives
7666 ;; By default Mutter uses RPATH instead of RUNPATH, which our
7667 ;; customized linker script makes use of. Some libraries are
7668 ;; also installed under lib/mutter-10 and need to be added to
7670 (substitute* "meson.build"
7671 (("'-Wl,--disable-new-dtags'")
7672 (string-append "'-Wl,-rpath=" #$output "/lib/mutter-10'")))))
7673 (add-after 'unpack 'patch-dlopen-calls
7674 (lambda* (#:key inputs #:allow-other-keys)
7675 (substitute* "src/wayland/meta-wayland-egl-stream.c"
7676 (("libnvidia-egl-wayland.so.1")
7677 (search-input-file inputs "lib/libnvidia-egl-wayland.so.1")))))
7678 (add-before 'configure 'set-udev-dir
7680 (setenv "PKG_CONFIG_UDEV_UDEVDIR"
7681 (string-append #$output "/lib/udev"))))
7682 (add-after 'unpack 'disable-problematic-tests
7684 ;; The native-headless test hangs due to attempting to use audio,
7685 ;; unavailable in the container.
7686 ;; Note: the following sed expression deletes the whole test(...)
7687 ;; expression paragraph. For an explanation, see: info '(sed)
7688 ;; Multiline techniques'.
7689 (invoke "sed" "/./{H;$!d} ; x ; s/^.*native-headless.*$//"
7690 "-i" "src/tests/meson.build")
7691 ;; Timeline tests may unexpectedly fail on missed frames, so
7692 ;; let's disable them as well.
7693 ;; See <https://gitlab.gnome.org/GNOME/mutter/-/issues/2125>
7694 (substitute* "src/tests/clutter/conform/meson.build"
7695 (("'timeline.*',") ""))))
7697 (lambda* (#:key tests? test-options parallel-tests?
7700 ;; Setup (see the 'test-mutter' CI target at
7701 ;; https://gitlab.gnome.org/GNOME/mutter/-/raw/main/.gitlab-ci.yml).
7702 (setenv "HOME" "/tmp")
7703 (setenv "XDG_RUNTIME_DIR" (string-append (getcwd)
7705 (mkdir (getenv "XDG_RUNTIME_DIR"))
7706 (chmod (getenv "XDG_RUNTIME_DIR") #o700)
7708 (setenv "GSETTINGS_SCHEMA_DIR" "data")
7709 (setenv "MUTTER_DEBUG_DUMMY_MODE_SPECS" "800x600@10.0")
7710 (setenv "PIPEWIRE_DEBUG" "2")
7711 (setenv "PIPEWIRE_LOG" "meson-logs/pipewire.log")
7712 (setenv "XVFB_SERVER_ARGS" "+iglx -noreset")
7713 (setenv "G_SLICE" "always-malloc")
7714 (setenv "MALLOC_CHECK" "3")
7715 (setenv "NO_AT_BRIDGE" "1")
7716 ;; This is needed, otherwise the "mutter:core+mutter/unit /
7717 ;; anonymous-file" test would fail (see:
7718 ;; https://gitlab.gnome.org/GNOME/mutter/-/issues/2017).
7719 (setenv "CI_JOB_ID" "1")
7721 (invoke "glib-compile-schemas" (getenv "GSETTINGS_SCHEMA_DIR"))
7722 (mkdir-p (getenv "XDG_RUNTIME_DIR"))
7723 (chmod (getenv "XDG_RUNTIME_DIR") #o755)
7724 (invoke "pipewire" "--version") ;check for pipewire
7725 (system "pipewire &") ;always returns 0 due to forking
7727 (setenv "MESON_TESTTHREADS"
7729 (number->string (parallel-job-count))
7731 (match (primitive-fork)
7733 (set-child-subreaper!)
7734 ;; Use tini so that signals are properly handled and
7735 ;; doubly-forked processes get reaped; otherwise,
7736 ;; python-dbusmock would waste time polling for the dbus
7737 ;; processes it spawns to be reaped, in vain.
7738 (apply execlp "tini" "--"
7739 "dbus-run-session" "--"
7740 "xvfb-run" "-a" "-s" (getenv "XVFB_SERVER_ARGS")
7741 "meson" "test" "-t" "0" "--print-errorlogs"
7744 (match (waitpid pid)
7746 (unless (zero? status)
7747 (error "`meson test' exited with status"
7750 (list desktop-file-utils ;for update-desktop-database
7751 `(,glib "bin") ;for glib-compile-schemas, etc.
7752 gobject-introspection
7760 wayland-protocols-next
7762 ;; Warnings are configured to be fatal during the tests; add an icon
7763 ;; theme to please libxcursor.
7765 libxcursor ;for XCURSOR_PATH
7770 tini)) ;acting as init (zombie reaper)
7772 (list gsettings-desktop-schemas-next ;required by libmutter.pc
7773 gtk+ ;required by libmutter.pc
7774 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7795 (list egl-wayland ;for wayland-eglstream-protocols
7798 gnome-settings-daemon
7809 startup-notification
7813 xorg-server-xwayland
7815 (synopsis "Window and compositing manager")
7816 (home-page "https://www.gnome.org")
7818 "Mutter is a window and compositing manager that displays and manages your
7819 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7820 Clutter toolkit with solid window-management logic inherited from the Metacity
7822 (license license:gpl2+)))
7824 (define-public gnome-online-accounts
7826 (name "gnome-online-accounts")
7830 (uri (string-append "mirror://gnome/sources/" name "/"
7831 (version-major+minor version) "/"
7832 name "-" version ".tar.xz"))
7835 "15zzzndbfba8a497vxb6cmy1y22l3lfn4sx9s9r59kwzd83i6fxn"))))
7836 (build-system meson-build-system)
7841 #~(modify-phases %standard-phases
7842 (add-before 'install 'disable-gtk-update-icon-cache
7844 (setenv "DESTDIR" "/"))))))
7846 (list gettext-minimal
7847 `(,glib "bin") ; for glib-compile-schemas, etc.
7848 gobject-introspection
7853 (list glib ; required by goa-1.0.pc
7854 gtk+)) ; required by goa-backend-1.0.pc
7863 (synopsis "Single sign-on framework for GNOME")
7864 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7866 "GNOME Online Accounts provides interfaces so that applications and
7867 libraries in GNOME can access the user's online accounts. It has providers
7868 for Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare,
7869 Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7870 (license license:lgpl2.0+)))
7872 (define-public gnome-online-accounts-3.44
7874 (inherit gnome-online-accounts)
7875 (name "gnome-online-accounts")
7879 (uri (string-append "mirror://gnome/sources/" name "/"
7880 (version-major+minor version) "/"
7881 name "-" version ".tar.xz"))
7884 "0hkkxa3zqyl0i4kw1p3ak4alwxw4wydh9al6fzwbcdgl0r0ms79q"))))
7885 (build-system glib-or-gtk-build-system)
7886 (arguments (substitute-keyword-arguments
7887 (strip-keyword-arguments
7889 (package-arguments gnome-online-accounts))
7891 #~(modify-phases #$phases
7892 (delete 'disable-gtk-update-icon-cache)))))
7893 (inputs (modify-inputs (package-inputs gnome-online-accounts)
7894 (replace "rest" rest)
7895 (replace "webkitgtk" webkitgtk-with-libsoup2)))))
7897 (define-public evolution-data-server
7899 (name "evolution-data-server")
7904 (uri (string-append "mirror://gnome/sources/" name "/"
7905 (version-major+minor version) "/"
7906 name "-" version ".tar.xz"))
7908 (base32 "1sxjrjr31wqbp9g4pf6dwj8rc4mi7c5fbfd489ha92ym7246bin0"))))
7909 (build-system cmake-build-system)
7913 #~(let* ((lib (string-append #$output "/lib"))
7914 (runpaths (map (lambda (s)
7915 (string-append lib "/evolution-data-server/" s))
7916 '("addressbook-backends" "calendar-backends"
7917 "camel-providers" "credential-modules"
7918 "registry-modules"))))
7919 (list "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7920 "-DENABLE_VALA_BINDINGS=ON"
7921 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7922 (string-append lib "/evolution-data-server;")
7923 (string-join runpaths ";"))
7924 "-DENABLE_INTROSPECTION=ON" ;required for Vala bindings
7925 "-DWITH_PHONENUMBER=ON"))
7927 #~(modify-phases %standard-phases
7928 (add-after 'unpack 'disable-failing-tests
7930 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7931 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7932 (delete-file-recursively "tests/book-migration")
7933 (substitute* "tests/CMakeLists.txt"
7934 (("add_subdirectory\\(book-migration\\)") ""))))
7935 (add-after 'unpack 'patch-paths
7937 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7938 "tests/libedata-book/data-test-utils.c"
7939 "tests/libedata-book/test-book-cache-utils.c"
7940 "tests/libedata-cal/test-cal-cache-utils.c")
7941 (("/bin/rm") (which "rm")))))
7942 (add-before 'configure 'dont-override-rpath
7944 (substitute* "CMakeLists.txt"
7945 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7946 ;; Remove it so the configure flag is respected.
7947 (("SET\\(CMAKE_INSTALL_RPATH .*") "")))))))
7949 (list `(,glib "bin") ; for glib-mkenums, etc.
7950 gobject-introspection
7952 gsettings-desktop-schemas
7959 ;; These are all in the Requires field of .pc files.
7970 gnome-online-accounts
7977 webkitgtk-with-libsoup2))
7978 (synopsis "Store address books and calendars")
7979 (home-page "https://wiki.gnome.org/Apps/Evolution")
7981 "This package provides a unified backend for programs that work with
7982 contacts, tasks, and calendar information. It was originally developed for
7983 Evolution (hence the name), but is now used by other packages as well.")
7984 (license license:lgpl2.0)))
7986 (define-public caribou
7992 (uri (string-append "mirror://gnome/sources/" name "/"
7993 (version-major+minor version) "/"
7994 name "-" version ".tar.xz"))
7997 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7998 (build-system glib-or-gtk-build-system)
8001 (modify-phases %standard-phases
8004 (lambda* (#:key outputs #:allow-other-keys)
8005 (let ((out (assoc-ref outputs "out")))
8006 ;; Use absolute shared library path in Caribou-1.0.typelib.
8007 (substitute* "libcaribou/Makefile"
8008 (("--shared-library=libcaribou.so")
8009 (string-append "--shared-library="
8010 out "/lib/libcaribou.so")))
8012 (add-after 'install 'wrap-programs
8013 (lambda* (#:key outputs #:allow-other-keys)
8014 (let* ((out (assoc-ref outputs "out"))
8015 (python-path (getenv "GUIX_PYTHONPATH"))
8016 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8020 `("GUIX_PYTHONPATH" ":" prefix (,python-path))
8021 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8022 (list (string-append out "/bin/caribou-preferences")
8023 (string-append out "/libexec/antler-keyboard"))))
8026 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8027 ("gobject-introspection" ,gobject-introspection)
8028 ("intltool" ,intltool)
8029 ("pkg-config" ,pkg-config)
8032 ("xsltproc" ,libxslt)))
8034 ;; caribou-1.0.pc refers to all these.
8035 (list libgee libxklavier libxtst gtk+))
8037 `(("clutter" ,clutter)
8040 ("python-pygobject" ,python-pygobject)))
8041 (synopsis "Text entry and UI navigation application")
8042 (home-page "https://wiki.gnome.org/Projects/Caribou")
8044 "Caribou is an input assistive technology intended for switch and pointer
8046 (license license:lgpl2.1)))
8048 (define-public network-manager
8050 (name "network-manager")
8054 (uri (string-append "mirror://gnome/sources/NetworkManager/"
8055 (version-major+minor version) "/"
8056 "NetworkManager-" version ".tar.xz"))
8057 (patches (search-patches "network-manager-plugin-path.patch"
8058 "network-manager-meson.patch"))
8061 "00zwx7cvl8p8xv5h8yvlj2r5wycbvbqia7z4hjmmvjicpiby1rxf"))))
8062 (build-system meson-build-system)
8064 "doc")) ; 8 MiB of gtk-doc HTML
8069 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
8071 (string-append "-Dc_link_args=-Wl,-rpath="
8073 #$output "/lib/NetworkManager/" #$version)
8074 "-Dsystemd_journal=false"
8075 "-Dsession_tracking=elogind"
8076 "-Dsuspend_resume=elogind"
8077 "-Dsystemdsystemunitdir=no"
8078 "-Dsession_tracking_consolekit=false"
8087 "--localstatedir=/var"
8088 (string-append "-Dudev_dir="
8089 #$output "/lib/udev")
8090 (string-append "-Ddbus_conf_dir="
8091 #$output "/etc/dbus-1/system.d")
8093 (string-append "-Ddhclient=" (search-input-file %build-inputs
8096 #~(modify-phases %standard-phases
8097 (add-after 'unpack 'patch-dlopen-call-to-libjansson.so
8098 (lambda* (#:key inputs #:allow-other-keys)
8099 (substitute* "src/libnm-glib-aux/nm-json-aux.c"
8100 (("(handle = dlopen\\()soname" _ head)
8102 head "\"" (search-input-file inputs
8103 "lib/libjansson.so") "\"")))))
8104 (add-before 'configure 'pre-configure
8106 ;; These tests try to test aspects of network-manager's
8107 ;; functionality within restricted containers, but they don't
8108 ;; cope with being already in the Guix build jail as that jail
8109 ;; lacks some features that they would like to proxy over (like
8111 (substitute* "src/core/tests/meson.build"
8112 ((".*test-l3cfg.*") ""))
8113 (substitute* "src/core/devices/tests/meson.build"
8114 ((".*test-acd.*") "")
8115 ((".*test-lldp.*") ""))
8116 (substitute* "src/core/platform/tests/meson.build"
8117 ((".*test-address-linux.*") "")
8118 ((".*test-cleanup-linux.*") "")
8119 ((".*test-link-linux.*") "")
8120 ((".*test-lldp.*") "")
8121 ((".*test-route-linux.*") "")
8122 ((".*test-tc-linux.*") ""))))
8123 (add-after 'unpack 'patch-docbook-xml
8124 (lambda* (#:key inputs #:allow-other-keys)
8125 (substitute* (find-files "." ".*\\.(xsl|xml)")
8126 (("http://.*/docbookx\\.dtd")
8127 (search-input-file inputs "xml/dtd/docbook/docbookx.dtd")))))
8128 (add-before 'check 'pre-check
8130 ;; For the missing /etc/machine-id.
8131 (setenv "DBUS_FATAL_WARNINGS" "0")))
8132 (add-before 'install 'no-polkit-magic
8133 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
8135 (setenv "PKEXEC_UID" "something")))
8136 (add-after 'install 'move-doc
8138 (mkdir-p (string-append #$output:doc "/share"))
8139 (for-each (lambda (directory)
8140 (copy-recursively (string-append #$output directory)
8141 (string-append #$output:doc
8143 (delete-file-recursively
8144 (string-append #$output directory)))
8145 '("/share/doc" "/share/gtk-doc")))))))
8149 (list `(,glib "bin") ; for gdbus-codegen
8151 gobject-introspection
8172 iwd ; wpa_supplicant alternative
8181 mobile-broadband-provider-info
8183 newt ;for the 'nmtui' console interface
8184 openresolv ; alternative resolv.conf manager
8190 (synopsis "Network connection manager")
8191 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8193 "NetworkManager is a system network service that manages your network
8194 devices and connections, attempting to keep active network connectivity when
8195 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
8196 devices, and provides VPN integration with a variety of different VPN
8198 ;; “This NetworkManager project consists of the daemon, client tools, and
8199 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
8201 (license (list license:gpl2+
8203 (properties '((upstream-name . "NetworkManager")))))
8205 (define-public network-manager-openvpn
8207 (name "network-manager-openvpn")
8212 "mirror://gnome/sources/NetworkManager-openvpn/"
8213 (version-major+minor version)
8214 "/NetworkManager-openvpn-" version ".tar.xz"))
8217 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
8218 (build-system gnu-build-system)
8220 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
8222 (modify-phases %standard-phases
8223 (add-after 'configure 'patch-path
8224 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
8225 (let* ((ovpn (search-input-file inputs "/sbin/openvpn"))
8226 (modprobe (search-input-file inputs "/bin/modprobe"))
8227 (pretty-ovpn (string-append "\"" ovpn "\"")))
8231 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
8232 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
8233 (("\"/sbin/openvpn\"") pretty-ovpn)
8234 (("/sbin/modprobe") modprobe)))
8235 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
8238 (list pkg-config intltool))
8246 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8247 (synopsis "OpenVPN plug-in for NetworkManager")
8249 "This extension of NetworkManager allows it to take care of connections
8250 to virtual private networks (VPNs) via OpenVPN.")
8251 (license license:gpl2+)
8252 (properties `((upstream-name . "NetworkManager-openvpn")))))
8254 (define-public network-manager-vpnc
8256 (name "network-manager-vpnc")
8261 "mirror://gnome/sources/NetworkManager-vpnc/"
8262 (version-major+minor version)
8263 "/NetworkManager-vpnc-" version ".tar.xz"))
8266 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
8267 (build-system gnu-build-system)
8269 `(#:configure-flags '("--enable-absolute-paths"
8270 "--localstatedir=/var"
8271 ;; libnm-glib has been removed from network-manager
8272 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
8273 "--with-libnm-glib=no")
8275 (modify-phases %standard-phases
8276 (add-after 'configure 'patch-path
8277 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
8278 (let* ((vpnc (search-input-file inputs "/sbin/vpnc"))
8279 (modprobe (search-input-file inputs "/bin/modprobe"))
8280 (pretty-ovpn (string-append "\"" vpnc "\"")))
8281 (substitute* "src/nm-vpnc-service.c"
8282 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
8283 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
8284 (("\"/sbin/vpnc\"") pretty-ovpn)
8285 (("/sbin/modprobe") modprobe)))
8288 (list pkg-config intltool))
8296 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8297 (synopsis "VPNC plug-in for NetworkManager")
8299 "Support for configuring virtual private networks based on VPNC.
8300 Compatible with Cisco VPN concentrators configured to use IPsec.")
8301 (license license:gpl2+)
8302 (properties `((upstream-name . "NetworkManager-vpnc")))))
8304 (define-public network-manager-openconnect
8306 (name "network-manager-openconnect")
8311 "mirror://gnome/sources/NetworkManager-openconnect/"
8312 (version-major+minor version)
8313 "/NetworkManager-openconnect-" version ".tar.xz"))
8316 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
8317 (build-system gnu-build-system)
8319 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
8321 (modify-phases %standard-phases
8322 (add-after 'configure 'patch-path
8323 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
8324 (let* ((openconnect (search-input-file inputs
8325 "/sbin/openconnect"))
8326 (modprobe (search-input-file inputs "/bin/modprobe"))
8327 (pretty-ovpn (string-append "\"" openconnect "\"")))
8328 (substitute* "src/nm-openconnect-service.c"
8329 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
8330 (("/sbin/modprobe") modprobe)))
8333 (list intltool libnma pkg-config))
8343 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8344 (synopsis "OpenConnect plug-in for NetworkManager")
8346 "This extension of NetworkManager allows it to take care of connections
8347 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
8348 Cisco's AnyConnect SSL VPN.")
8349 (license license:gpl2+)
8350 (properties `((upstream-name . "NetworkManager-openconnect")
8352 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8353 ;; file refers to account "nm-openconnect". Specify it here
8354 ;; so that 'network-manager-service-type' creates it.
8355 (user-accounts . ("nm-openconnect"))))))
8357 (define-public mobile-broadband-provider-info
8359 (name "mobile-broadband-provider-info")
8360 (version "20190116")
8364 "mirror://gnome/sources/"
8365 "mobile-broadband-provider-info/" version "/"
8366 "mobile-broadband-provider-info-" version ".tar.xz"))
8369 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
8370 (build-system gnu-build-system)
8372 `(#:tests? #f)) ; no tests
8373 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8374 (synopsis "Database of broadband connection configuration")
8375 (description "Database of broadband connection configuration.")
8376 (license license:public-domain)))
8378 (define-public network-manager-applet
8380 (name "network-manager-applet")
8384 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8385 (version-major+minor version) "/"
8386 "network-manager-applet-" version ".tar.xz"))
8389 "17742kgmbj9w545zwnirgr0i40zl0xzp8jx7b8c1krp93mc4h0sw"))))
8390 (build-system meson-build-system)
8394 '("-Dappindicator=yes")))
8396 (list gettext-minimal
8397 `(,glib "bin") ; for glib-compile-resources, etc.
8398 gobject-introspection
8402 ;; libnm-gtk.pc refers to all these.
8403 (list dbus-glib gtk+ network-manager
8404 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8413 jansson ; for team support
8415 (synopsis "Applet for managing network connections")
8416 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8418 "This package contains a systray applet for NetworkManager. It displays
8419 the available networks and allows users to easily switch between them.")
8420 (license license:gpl2+)))
8422 (define-public libxml++
8430 (url "https://github.com/libxmlplusplus/libxmlplusplus")
8432 (file-name (git-file-name name version))
8434 (base32 "0wjz591rjlgbah7dcq8i0yn0zw9d62b7g6r0pppx81ic0cx8n8ga"))))
8435 (build-system gnu-build-system)
8438 (modify-phases %standard-phases
8439 (add-after 'unpack 'fix-documentation
8440 (lambda* (#:key inputs #:allow-other-keys)
8441 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
8442 "/xml/dtd/docbook"))
8443 (xsldoc (string-append (assoc-ref inputs "docbook-xsl")
8444 "/xml/xsl/docbook-xsl-"
8445 ,(package-version docbook-xsl))))
8446 (substitute* '("examples/dom_xpath/example.xml"
8447 "docs/manual/libxml++_without_code.xml")
8448 (("http://.*/docbookx\\.dtd")
8449 (string-append xmldoc "/docbookx.dtd")))
8450 (setenv "SGML_CATALOG_FILES"
8451 (string-append xmldoc "/catalog.xml"))
8452 (substitute* "docs/manual/docbook-customisation.xsl"
8453 (("http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl")
8454 (string-append xsldoc "/html/chunk.xsl")))))))))
8456 ;; libxml++-3.0.pc refers to all these.
8457 (list glibmm-2.64 libxml2))
8470 (home-page "https://github.com/libxmlplusplus/libxmlplusplus/")
8471 (synopsis "C++ bindings to the libxml2 XML parser library")
8473 "This package provides a C++ interface to the libxml2 XML parser
8475 (license license:lgpl2.1+)))
8477 ;; This is the last release providing the 2.6 API, hence the name.
8478 ;; This is needed by tascam-gtk
8479 (define-public libxml++-2
8488 (url "https://github.com/libxmlplusplus/libxmlplusplus")
8490 (file-name (git-file-name name version))
8492 (base32 "0gbfi4l88w828gmyc9br11l003ylyi4vigp5d1kfgsn0k4cig3y9"))))))
8500 (uri (string-append "mirror://gnome/sources/" name "/"
8501 (version-major version) "/"
8502 name "-" version ".tar.xz"))
8505 "0m9qmm3vm81jmqlc30a1fb79hsr4l4lpiw0zjxww3gipd6bsqa53"))
8508 "gdm-default-session.patch"
8509 "gdm-elogind-support.patch"
8510 "gdm-remove-hardcoded-xwayland-path.patch"
8511 "gdm-wayland-session-wrapper-from-env.patch"
8512 "gdm-pass-gdk-pixbuf-loader-env.patch"))))
8513 (build-system meson-build-system)
8519 "-Dplymouth=disabled"
8520 "-Dsystemd-journal=false"
8522 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8523 ;; instead of having to replace it (i.e., stopping the mingetty
8524 ;; service for TTY 1 before starting GDM).
8527 ;; Use elogind instead of systemd.
8528 "-Dlogind-provider=elogind"
8529 "-Dsystemdsystemunitdir=no"
8530 "-Dsystemduserunitdir=no"
8532 ;; Use '/etc/environment' for locale settings instead of the
8533 ;; systemd-specific '/etc/locale.conf'.
8534 "-Dlang-file=/etc/environment"
8536 (string-append "-Dudev-dir=" #$output "/lib/udev")
8538 "--localstatedir=/var"
8539 (string-append "-Ddefault-path="
8540 (string-join '("/run/setuid-programs"
8541 "/run/current-system/profile/bin"
8542 "/run/current-system/profile/sbin")
8544 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8545 ;; XDG_DATA_DIRS so that it finds its schemas.
8546 "--sbindir" (string-append #$output "/bin"))
8548 #~(modify-phases %standard-phases
8549 (add-after 'unpack 'patch-paths
8550 (lambda* (#:key inputs #:allow-other-keys)
8551 (substitute* "daemon/gdm-session.c"
8552 (("dbus-run-session")
8553 (search-input-file inputs "bin/dbus-run-session")))))
8554 (add-before 'configure 'pre-configure
8555 (lambda* (#:key inputs #:allow-other-keys)
8556 ;; We don't have <systemd/sd-daemon.h>.
8557 (substitute* '("common/gdm-log.c"
8558 "daemon/gdm-server.c"
8559 "daemon/gdm-session-worker.c"
8560 "daemon/gdm-session-worker-job.c")
8561 (("#include <systemd/sd-daemon\\.h>") ""))
8562 ;; Use elogind for sd-login.
8563 (substitute* '("common/gdm-common.c"
8564 "daemon/gdm-local-display-factory.c"
8565 "daemon/gdm-manager.c"
8566 "libgdm/gdm-user-switching.c")
8567 (("#include <systemd/sd-login\\.h>")
8568 "#include <elogind/sd-login.h>"))
8569 ;; Look for system-installed sessions in
8570 ;; /run/current-system/profile/share.
8571 (substitute* '("libgdm/gdm-sessions.c"
8572 "daemon/gdm-session.c"
8573 "daemon/gdm-display.c"
8574 "daemon/gdm-launch-environment.c")
8576 "\"/run/current-system/profile/share/x")
8577 (("DATADIR \"/wayland")
8578 "\"/run/current-system/profile/share/wayland")
8579 (("DATADIR \"/gnome")
8580 "\"/run/current-system/profile/share/gnome"))
8581 (let ((propagate '("GDM_CUSTOM_CONF"
8585 ;; XXX: Remove this once GNOME Shell is
8586 ;; a dependency of GDM.
8588 (substitute* "daemon/gdm-session.c"
8589 (("set_up_session_environment \\(self\\);")
8590 (apply string-append
8591 "set_up_session_environment (self);\n"
8594 "gdm_session_set_environment_variable "
8595 "(self, \"" name "\","
8596 "g_getenv (\"" name "\"));\n"))
8598 ;; Find the configuration file using an environment variable.
8599 (substitute* '("common/gdm-settings.c")
8600 (("GDM_CUSTOM_CONF")
8601 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8602 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8603 " : GDM_CUSTOM_CONF)")))
8604 ;; Use service-supplied path to X.
8605 (substitute* '("daemon/gdm-server.c")
8606 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8607 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8608 (substitute* '("daemon/gdm-wayland-session.c"
8609 "daemon/gdm-x-session.c")
8610 (("\"dbus-daemon\"")
8611 "g_getenv (\"GDM_DBUS_DAEMON\")")
8613 "g_getenv (\"GDM_X_SERVER\")")
8614 (("GDMCONFDIR \"/Xsession\"")
8615 "g_getenv (\"GDM_X_SESSION\")"))
8616 ;; Use an absolute path for GNOME Session.
8617 (substitute* "daemon/gdm-launch-environment.c"
8618 (("\"gnome-session\"")
8620 (search-input-file inputs "bin/gnome-session"))))
8621 ;; Do not automatically select the placeholder session.
8622 (substitute* "daemon/gdm-session.c"
8623 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8624 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8625 "(g_strcmp0(search_dirs[i], \""
8626 #$output "/share/gdm/BuiltInSessions/"
8628 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8629 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8630 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))))
8631 (add-before 'install 'install-logo
8632 (lambda* (#:key inputs #:allow-other-keys)
8633 (let ((icon (search-input-file inputs "share/icons/hicolor/\
8634 scalable/apps/guix-white-icon.svg"))
8635 (schema (string-append #$output "/share/glib-2.0/schemas/\
8636 org.gnome.login-screen.gschema.override")))
8637 (mkdir-p (dirname schema))
8638 (with-output-to-file schema
8641 [org.gnome.login-screen]
8642 logo='~a'~%" icon))))))
8643 ;; GDM requires that there be at least one desktop entry
8644 ;; file. This phase installs a hidden one that simply
8645 ;; fails. This enables users to use GDM with a
8646 ;; '~/.xsession' script with no other desktop entry files.
8647 ;; See <https://bugs.gnu.org/35068>.
8648 (add-after 'install 'install-placeholder-desktop-entry
8650 (let* ((sessions (string-append #$output
8651 "/share/gdm/BuiltInSessions"))
8652 (fail (string-append sessions "/fail.desktop")))
8654 (with-output-to-file fail
8658 '("[Desktop Entry]\n"
8660 "Type=Application\n"
8662 "Comment=This session fails immediately.\n"
8664 "Exec=false\n")))))))
8665 ;; GDM needs GNOME Session to run these applications. We link
8666 ;; their autostart files in `share/gdm/greeter/autostart'
8667 ;; because GDM explicitly tells GNOME Session to look there.
8669 ;; XXX: GNOME Shell should be linked here too, but currently
8670 ;; GNOME Shell depends on GDM.
8671 (add-after 'install 'link-autostart-files
8672 (lambda* (#:key inputs #:allow-other-keys)
8673 (let ((autostart (string-append #$output "/share/gdm/"
8674 "greeter/autostart"))
8675 (settings #$(this-package-input "gnome-settings-daemon")))
8677 (with-directory-excursion autostart
8678 (for-each (lambda (desktop)
8679 (symlink desktop (basename desktop)))
8681 (string-append settings "/etc/xdg"))))))))))
8683 (list `(,glib "bin") ;for glib-compile-schemas, etc.
8685 gobject-introspection
8692 (list accountsservice
8698 gnome-settings-daemon
8704 (synopsis "Display manager for GNOME")
8705 (home-page "https://wiki.gnome.org/Projects/GDM/")
8707 "GNOME Display Manager is a system service that is responsible for
8708 providing graphical log-ins and managing local and remote displays.")
8709 (license license:gpl2+)))
8711 (define-public libgtop
8717 (uri (string-append "mirror://gnome/sources/libgtop/"
8718 (version-major+minor version) "/"
8719 "libgtop-" version ".tar.xz"))
8722 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8723 (build-system gnu-build-system)
8725 (list gobject-introspection intltool perl pkg-config))
8727 (list glib)) ; required by libgtop-2.0.pc
8728 (synopsis "Portable system access library")
8729 (home-page "https://www.gnome.org/")
8731 "LibGTop is a library to get system specific data such as CPU and memory
8732 usage and information about running processes.")
8733 (license license:gpl2+)))
8735 (define-public gnome-bluetooth
8737 (name "gnome-bluetooth")
8741 (uri (string-append "mirror://gnome/sources/gnome-bluetooth/"
8742 (version-major+minor version) "/"
8743 "gnome-bluetooth-" version ".tar.xz"))
8746 "1p5wq3rh9p7fhka57qcds6lvphd26yyc18ilncx95jbcvcfcyvqx"))))
8747 (build-system meson-build-system)
8749 (list gettext-minimal
8750 gobject-introspection
8751 `(,glib "bin") ;for gdbus-codegen, etc.
8757 ;; These are all required by the gnome-bluetooth .pc file.
8765 ;; TODO: Delete pango-next after it's the default.
8769 (synopsis "GNOME Bluetooth subsystem")
8770 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8772 "This package contains tools for managing and manipulating Bluetooth
8773 devices using the GNOME desktop.")
8774 (license license:lgpl2.1+)))
8776 (define-public gnome-control-center
8778 (name "gnome-control-center")
8782 (uri (string-append "mirror://gnome/sources/" name "/"
8783 (version-major version) "/"
8784 name "-" version ".tar.xz"))
8787 "0zhw6hcrrcpq1zjkyzr5ipznxnzd2aczrqd7n2y7xbz21mjy62nf"))))
8788 (build-system meson-build-system)
8793 #~(modify-phases %standard-phases
8794 (add-before 'configure 'patch-paths
8795 (lambda* (#:key inputs #:allow-other-keys)
8796 (substitute* "panels/datetime/tz.h"
8797 (("/usr/share/zoneinfo/zone.tab")
8798 (search-input-file inputs "share/zoneinfo/zone.tab")))
8799 (substitute* "tests/datetime/test-endianess.c"
8800 (("/usr/share/locale")
8801 (search-input-directory inputs "share/locale")))
8802 (substitute* "panels/region/cc-region-panel.c"
8803 (("\"gkbd-keyboard-display")
8804 (string-append "\"" (search-input-file
8805 inputs "bin/gkbd-keyboard-display"))))
8806 (substitute* '("panels/network/net-device-bluetooth.c"
8807 "panels/network/net-device-mobile.c"
8808 "panels/network/connection-editor/net-connection-editor.c")
8809 (("\"nm-connection-editor")
8810 (string-append "\"" (search-input-file
8811 inputs "bin/nm-connection-editor"))))
8812 (substitute* "panels/user-accounts/run-passwd.c"
8813 (("/usr/bin/passwd")
8814 "/run/setuid-programs/passwd"))
8815 (substitute* "panels/info-overview/cc-info-overview-panel.c"
8816 (("DATADIR \"/gnome/gnome-version.xml\"")
8817 (format #f "~s" (search-input-file
8818 inputs "share/gnome/gnome-version.xml"))))))
8819 (add-after 'unpack 'skip-gtk-update-icon-cache
8820 ;; Don't create 'icon-theme.cache'.
8822 (substitute* "build-aux/meson/meson_post_install.py"
8823 (("gtk-update-icon-cache") (which "true"))))))))
8827 `(,glib "bin") ;for glib-mkenums, etc.
8832 xorg-server-for-tests))
8834 (list accountsservice
8841 gnome-online-accounts
8843 gnome-settings-daemon
8854 librsvg ;for loading SVG files
8861 network-manager-applet
8868 (synopsis "Utilities to configure the GNOME desktop")
8869 (home-page "https://www.gnome.org/")
8871 "This package contains configuration applets for the GNOME desktop,
8872 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8873 properties, sound setup, desktop theme and background, user interface
8874 properties, screen resolution, and other GNOME parameters.")
8875 (license license:gpl2+)))
8877 (define-public gnome-shell
8879 (name "gnome-shell")
8883 (uri (string-append "mirror://gnome/sources/" name "/"
8884 (version-major version) "/"
8885 name "-" version ".tar.xz"))
8888 "0kn5fclciybp2fs38wd39hdz85y91pas0ckfa02pmyx91sbz4pw7"))))
8889 (build-system meson-build-system)
8891 (let ((disallowed-references
8892 (list (gexp-input glib "bin")
8893 (gexp-input libxslt)
8895 (gexp-input ruby-sass))))
8898 #:disallowed-references disallowed-references
8900 #~(list "-Dsystemd=false"
8901 ;; Otherwise, the RUNPATH will lack the final path component.
8902 (string-append "-Dc_link_args=-Wl,-rpath="
8903 #$output "/lib/gnome-shell"))
8904 #:modules '((guix build meson-build-system)
8910 #~(modify-phases %standard-phases
8911 (add-after 'unpack 'fix-keysdir
8914 (string-append #$output
8915 "/share/gnome-control-center/keybindings")))
8916 (substitute* "meson.build"
8918 (string-append "keysdir = '" keysdir "'\n"))))))
8919 (add-after 'unpack 'skip-gtk-update-icon-cache
8920 ;; Don't create 'icon-theme.cache'.
8922 (substitute* "meson.build"
8923 (("gtk_update_icon_cache: true")
8924 "gtk_update_icon_cache: false"))))
8925 (add-before 'configure 'record-absolute-file-names
8926 (lambda* (#:key inputs #:allow-other-keys)
8927 (let ((ibus-daemon (search-input-file inputs "bin/ibus-daemon"))
8928 (gkbd-keyboard-display
8929 (search-input-file inputs "bin/gkbd-keyboard-display")))
8930 (substitute* "js/misc/ibusManager.js"
8932 (string-append "'" ibus-daemon "'")))
8933 (substitute* "js/ui/status/keyboard.js"
8934 (("'gkbd-keyboard-display'")
8935 (string-append "'" gkbd-keyboard-display "'"))))))
8936 (add-before 'check 'pre-check
8937 (lambda* (#:key inputs #:allow-other-keys)
8938 ;; Tests require a running X server.
8939 (system "Xvfb :1 &")
8940 (setenv "DISPLAY" ":1")
8941 (setenv "HOME" "/tmp"))) ;to avoid "fatal" warnings
8942 (add-after 'install 'wrap-programs
8943 (lambda* (#:key inputs #:allow-other-keys)
8944 (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8947 (filter (lambda (item)
8948 (not (any (cut string-prefix? <> item)
8949 '#$disallowed-references)))
8950 (string-split (getenv "GUIX_PYTHONPATH") #\:))
8954 (wrap-program (string-append #$output "/bin/" prog)
8955 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8956 '("gnome-shell" "gnome-extensions-app"))
8957 (substitute* (string-append #$output "/share/gnome-shell/"
8958 "org.gnome.Shell.Extensions")
8959 (("imports\\.package\\.start" all)
8960 (string-append "'" gi-typelib-path "'.split(':').forEach("
8961 "path => imports.gi.GIRepository.Repository."
8962 "prepend_search_path(path));\n"
8966 (wrap-program (string-append #$output "/bin/" prog)
8967 `("GUIX_PYTHONPATH" ":" prefix (,python-path))
8968 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8969 '("gnome-shell-perf-tool")))))
8970 (add-after 'install 'rewire
8971 (lambda* (#:key inputs #:allow-other-keys)
8974 (call-with-output-file (string-append #$output
8978 printf '~a is deprecated. Use the \"gnome-extensions\" CLI or \
8979 \"gnome-extensions-app\" instead.\\n'"
8980 (search-input-file inputs "bin/bash")
8982 '("gnome-shell-extension-tool" "gnome-shell-extension-prefs"))))
8983 (replace 'glib-or-gtk-wrap
8984 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8985 (lambda* (#:key inputs outputs #:allow-other-keys)
8986 ;; By default glib:bin et al. would end up in the XDG_DATA_DIRS
8987 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8988 ;; phase. Fix that since we don't need these.
8990 (filter (match-lambda
8993 '#$disallowed-references))))
8995 #:outputs outputs))))))))
8999 `(,glib "bin") ;for glib-compile-schemas, etc.
9000 desktop-file-utils ;for update-desktop-database
9001 gobject-introspection
9010 xorg-server-for-tests))
9012 (list accountsservice
9015 evolution-data-server
9024 gnome-settings-daemon
9030 libgnomekbd ;for gkbd-keyboard-display
9036 network-manager-applet
9040 startup-notification
9043 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
9044 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
9047 (synopsis "Desktop shell for GNOME")
9048 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
9050 "GNOME Shell provides core user interface functions for the GNOME desktop,
9051 like switching to windows and launching applications.")
9052 (license license:gpl2+)))
9054 (define-public gtk-vnc
9062 (string-append "mirror://gnome/sources/" name "/"
9063 (version-major+minor version) "/"
9064 name "-" version ".tar.xz"))
9066 (base32 "0jmr6igyzcj2wmx5v5ywaazvdz3hx6a6rys26yb4l4s71l281bvs"))))
9067 (build-system meson-build-system)
9069 `(#:meson ,meson-0.60
9070 #:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
9073 ;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
9074 ;; dependency on other platforms (FIXME).
9075 (if (target-x86-64?)
9078 (list gettext-minimal
9080 gobject-introspection
9087 (list cairo (librsvg-for-system)))
9089 ;; These are all in Requires or Requires.private of the .pc files.
9099 (synopsis "VNC client viewer widget for GTK+")
9100 (description "GTK-VNC is a project providing client side APIs for the RFB
9101 protocol / VNC remote desktop technology. It is built using coroutines allowing
9102 it to be completely asynchronous while remaining single threaded. It provides a
9103 core C library, and bindings for Python (PyGTK).")
9104 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
9105 (license license:lgpl2.1+)))
9107 (define-public gnome-autoar
9109 (name "gnome-autoar")
9113 (uri (string-append "mirror://gnome/sources/" name "/"
9114 (version-major+minor version) "/"
9115 name "-" version ".tar.xz"))
9118 "124y4j3wgb6axgfzw9f00865r033fg7b0qy9qgfsp5ilan4hgpvv"))))
9119 (build-system meson-build-system)
9121 (list gobject-introspection `(,glib "bin") pkg-config))
9123 (list libarchive)) ; Required by gnome-autoar-0.pc
9126 (synopsis "Archives integration support for GNOME")
9127 (home-page "https://git.gnome.org/browse/gnome-autoar/")
9129 "GNOME Autoar is a library which makes creating and extracting archives
9130 easy, safe, and automatic.")
9131 (license license:lgpl2.1+)))
9133 (define-public tracker
9139 (uri (string-append "mirror://gnome/sources/tracker/"
9140 (version-major+minor version) "/"
9141 "tracker-" version ".tar.xz"))
9144 "0r144kdqxdzs51qn495vablzf1zxkhkk6imrlrzj9wiqwc2gg520"))))
9145 (build-system meson-build-system)
9149 ;; Otherwise, the RUNPATH will lack the final path component.
9150 (list (string-append "-Dc_link_args=-Wl,-rpath="
9151 (assoc-ref %outputs "out") "/lib:"
9152 (assoc-ref %outputs "out") "/lib/tracker-3.0")
9154 "-Dsystemd_user_services=false")
9156 (modify-phases %standard-phases
9157 (add-before 'configure 'set-shell
9159 (setenv "SHELL" (which "bash"))))
9160 (add-before 'configure 'fix-paths
9161 (lambda* (#:key inputs #:allow-other-keys)
9162 (let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
9163 (file (search-input-file inputs manpage)))
9164 (substitute* "docs/manpages/meson.build"
9165 (("/etc/asciidoc[^']+")
9168 (lambda* (#:key tests? #:allow-other-keys)
9170 ;; Some tests expect to write to $HOME.
9171 (setenv "HOME" "/tmp")
9172 (invoke "dbus-run-session" "--" "meson" "test"
9173 "--print-errorlogs")))))))
9175 (list gettext-minimal
9177 gobject-introspection
9180 gsettings-desktop-schemas
9194 ;; These are in Requires or Requires.private of tracker-sparql-3.0.pc.
9196 icu4c ;libunistring gets miner-miner-fs test to fail
9200 (synopsis "Metadata database, indexer and search tool")
9201 (home-page "https://wiki.gnome.org/Projects/Tracker")
9203 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
9205 It is a middleware component aimed at desktop application developers who want
9206 their apps to browse and search user content. It's not designed to be used
9207 directly by desktop users, but it provides a commandline tool named
9208 @command{tracker} for the adventurous.
9210 Tracker allows your application to instantly perform full-text searches across
9211 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
9212 example. This is achieved by indexing the user's home directory in the
9215 Tracker also allows your application to query and list content that the user
9216 has stored. For example, GNOME Music displays all the music files that are
9217 found by Tracker. This means that GNOME Music doesn't need to maintain a
9218 database of its own.
9220 If you need to go beyond simple searches, Tracker is also a linked data
9221 endpoint and it understands SPARQL.")
9222 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
9223 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
9224 ;; libstemmer is bsd-3 and the rest is gpl2+.
9225 (license (list license:gpl2+
9227 license:lgpl2.1+))))
9229 (define-public tracker-miners
9231 (name "tracker-miners")
9235 (uri (string-append "mirror://gnome/sources/tracker-miners/"
9236 (version-major+minor version)
9237 "/tracker-miners-" version ".tar.xz"))
9240 "151w6ljq1gk9idqfq9qs3w16vms91jnxy59c9kx6jaf0fb9cdp9y"))))
9241 (build-system meson-build-system)
9245 (list "-Dminer_rss=false" ; libgrss is required.
9246 ;; Ensure the RUNPATH contains all installed library locations.
9247 (string-append "-Dc_link_args=-Wl,-rpath="
9248 (assoc-ref %outputs "out")
9249 "/lib/tracker-miners-3.0")
9250 ;; TODO: Enable functional tests. Currently, the following error
9252 ;; Exception: The functional tests require DConf to be the default
9253 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
9254 "-Dfunctional_tests=false"
9255 "-Dsystemd_user_services=false")
9257 (modify-phases %standard-phases
9258 (add-before 'configure 'set-shell
9260 (setenv "SHELL" (which "bash"))))
9261 (add-before 'configure 'fix-paths
9262 (lambda* (#:key inputs #:allow-other-keys)
9263 (let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
9264 (file (search-input-file inputs manpage)))
9265 (substitute* "docs/manpages/meson.build"
9266 (("/etc/asciidoc[^']+")
9268 (add-before 'configure 'fix-tests
9269 (lambda* (#:key inputs #:allow-other-keys)
9270 ;; Disable those tests that require the functional_tests option
9271 ;; to be true and the UPower daemon to be started.
9272 (substitute* "examples/python/meson.build"
9273 (("foreach example_name:.*")
9274 "foreach example_name: []"))
9275 ;; Disable this test that is failing randomly:
9276 ;; https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/170.
9277 (substitute* "tests/libtracker-miner/meson.build"
9281 (lambda* (#:key tests? #:allow-other-keys)
9283 ;; Some tests expect to write to $HOME.
9284 (setenv "HOME" "/tmp")
9285 (setenv "LANG" "en_US.UTF-8")
9286 (invoke "dbus-run-session" "--" "meson" "test"
9288 ;; Do not run the slow test, which fail (see:
9289 ;; https://gitlab.gnome.org/GNOME/tracker-miners
9291 "--no-suite" "slow")))))))
9298 gsettings-desktop-schemas
9301 gobject-introspection
9333 (synopsis "Metadata database, indexer and search tool")
9334 (home-page "https://wiki.gnome.org/Projects/Tracker")
9336 "Tracker is an advanced framework for first class objects with associated
9337 metadata and tags. It provides a one stop solution for all metadata, tags,
9338 shared object databases, search tools and indexing.")
9339 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
9340 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
9341 (license (list license:gpl2+
9343 license:lgpl2.0+))))
9345 (define-public nautilus
9351 (uri (string-append "mirror://gnome/sources/" name "/"
9352 (version-major version) "/"
9353 name "-" version ".tar.xz"))
9356 "0bsqh241m43x3qb3z0mjakjic610ncl95zhjdgls649phnc30qry"))
9358 ;; This patch is already upstream and can be removed next
9360 (search-patches "nautilus-add-libportal-gtk3.patch"))))
9361 (build-system meson-build-system)
9365 (modify-phases %standard-phases
9366 (add-after 'unpack 'make-extensible
9368 (substitute* "src/nautilus-module.c"
9369 (("static gboolean initialized = FALSE;" all)
9370 (string-append all "
9371 const char *extension_path;
9372 char **extension_dirs, **d;
9375 (("load_module_dir \\(NAUTILUS_EXTENSIONDIR\\);" all)
9378 extension_path = g_getenv (\"NAUTILUS_EXTENSION_PATH\");
9381 extension_dirs = g_strsplit (extension_path, \":\", -1);
9382 for (d = extension_dirs; d != NULL && *d != NULL; d++)
9383 load_module_dir(*d);
9384 g_strfreev(extension_dirs);
9387 (add-after 'unpack 'skip-gtk-update-icon-cache
9388 ;; Don't create 'icon-theme.cache'.
9390 (substitute* "build-aux/meson/postinstall.py"
9391 (("gtk-update-icon-cache") "true")))))
9392 ;; XXX: FAIL: check-nautilus
9393 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
9396 (list desktop-file-utils ; for update-desktop-database
9397 `(,glib "bin") ; for glib-mkenums, etc.
9398 gobject-introspection
9415 libsoup-minimal-2 ; to satisfy tracker dependencies
9418 ;; XXX: gtk+ is required by libnautilus-extension.pc
9420 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
9422 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
9426 (native-search-paths
9427 (list (search-path-specification
9428 (variable "NAUTILUS_EXTENSION_PATH")
9429 (files '("lib/nautilus/site-extensions")))))
9430 (synopsis "File manager for GNOME")
9431 (home-page "https://wiki.gnome.org/Apps/Nautilus")
9433 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
9434 design and behaviour, giving the user a simple way to navigate and manage its
9436 (license license:gpl2+)))
9438 (define-public baobab
9445 "mirror://gnome/sources/" name "/"
9446 (version-major version) "/"
9447 name "-" version ".tar.xz"))
9450 "1p2hg8qxbvdfax9z4qjhdsxia93zrsdq58krx8zjnn5ipbkan6jb"))))
9451 (build-system meson-build-system)
9453 '(#:glib-or-gtk? #t))
9455 (list desktop-file-utils ;for update-desktop-database
9458 `(,gtk+ "bin") ;for gtk-update-icon-cache
9465 (list gtk libadwaita libhandy
9466 ;; XXX: Ensure pango-next is used instead of the equally propagated
9469 (synopsis "Disk usage analyzer for GNOME")
9471 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
9472 usage in the GNOME desktop environment. It can easily scan device volumes or
9473 a specific user-requested directory branch (local or remote). Once the scan
9474 is complete it provides a graphical representation of each selected folder.")
9475 (home-page "https://wiki.gnome.org/Apps/Baobab")
9476 (license license:gpl2+)))
9478 (define-public gnome-backgrounds
9480 (name "gnome-backgrounds")
9485 (uri (string-append "mirror://gnome/sources/" name "/"
9486 (version-major version) "/"
9487 name "-" version ".tar.xz"))
9490 "0i9id5z72dqddh94648zylyf41amqq5lhny8sbyg1v8v4q6sr88x"))))
9491 (build-system meson-build-system)
9492 (native-inputs (list gettext-minimal))
9493 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
9494 (synopsis "Background images for the GNOME desktop")
9496 "GNOME backgrounds package contains a collection of graphics files which
9497 can be used as backgrounds in the GNOME Desktop environment. Additionally,
9498 the package creates the proper framework and directory structure so that you
9499 can add your own files to the collection.")
9500 (license (list license:gpl2+
9503 license:cc-by-sa3.0))))
9505 (define-public gnome-screenshot
9507 (name "gnome-screenshot")
9512 (uri (string-append "mirror://gnome/sources/" name "/"
9513 (version-major version) "/"
9514 name "-" version ".tar.xz"))
9517 "15wmikwk62cdi93gas77nqh4fbhlrxrncyfmcd1gfa34jbn7vnsa"))
9519 (search-patches "gnome-screenshot-meson-0.60.patch"))))
9520 (build-system meson-build-system)
9524 (modify-phases %standard-phases
9525 (add-after 'unpack 'skip-gtk-update-icon-cache
9526 ;; Don't create 'icon-theme.cache'.
9528 (substitute* "build-aux/postinstall.py"
9529 (("gtk-update-icon-cache") "true")))))))
9531 (list appstream-glib
9532 desktop-file-utils ; for update-desktop-database
9534 `(,glib "bin") ; for glib-compile-schemas, etc.
9542 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9543 (synopsis "Take pictures of your screen")
9545 "GNOME Screenshot is a utility used for taking screenshots of the entire
9546 screen, a window or a user defined area of the screen, with optional
9547 beautifying border effects.")
9548 (license license:gpl2+)))
9550 (define-public dconf-editor
9552 (name "dconf-editor")
9557 (uri (string-append "mirror://gnome/sources/" name "/"
9558 (version-major+minor version) "/"
9559 name "-" version ".tar.xz"))
9562 "1qvrxrk1h8bd75xwasxbvlkqrw6xkavjimvc7sslkw6lvb3z86jp"))))
9563 (build-system meson-build-system)
9565 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9566 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9567 ("intltool" ,intltool)
9568 ("pkg-config" ,pkg-config)
9571 (list dconf gtk+ libxml2))
9572 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9573 (synopsis "Graphical editor for GNOME's dconf configuration system")
9575 "Dconf-editor is a graphical tool for browsing and editing the dconf
9576 configuration system for GNOME. It allows users to configure desktop
9577 software that do not provide their own configuration interface.")
9578 (license license:lgpl2.1+)))
9580 (define-public gnome-default-applications
9582 (name "gnome-default-applications")
9584 (build-system trivial-build-system)
9587 (list nautilus evince))
9589 `(#:modules ((guix build utils))
9592 (use-modules (guix build utils))
9593 (let* ((out (assoc-ref %outputs "out"))
9594 (apps (string-append out "/share/applications")))
9596 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9598 (format port "[Default Applications]\n")
9599 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9600 (format port "application/pdf=evince.desktop\n")
9601 (format port "application/postscript=evince.desktop\n")))
9603 (synopsis "Default MIME type associations for the GNOME desktop")
9605 "Given many installed packages which might handle a given MIME type, a
9606 user running the GNOME desktop probably has some preferences: for example,
9607 that folders be opened by default by the Nautilus file manager, not the Baobab
9608 disk usage analyzer. This package establishes that set of default MIME type
9609 associations for GNOME.")
9610 (license license:gpl3+)
9613 (define-public libgovirt
9619 (uri (string-append "mirror://gnome/sources/" name "/"
9620 (version-major+minor version) "/"
9621 name "-" version ".tar.xz"))
9624 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9625 (build-system glib-or-gtk-build-system)
9627 (list gettext-minimal
9629 gobject-introspection
9630 gsettings-desktop-schemas
9634 (list glib-networking ; GIO plugin--for the tests
9636 (synopsis "GoVirt Library")
9637 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9638 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9639 (license license:gpl2+)))
9641 (define-public gnome-weather
9643 (name "gnome-weather")
9647 (uri (string-append "mirror://gnome/sources/" name "/"
9648 (version-major version) "/"
9649 name "-" version ".tar.xz"))
9652 "0rdl0ywdk8jlq819wr1sbdzdvsasz11pp30fylzvprakv28yd7jp"))))
9653 (build-system meson-build-system)
9658 #~(modify-phases %standard-phases
9659 (add-after 'unpack 'fix-service-file
9661 (substitute* "data/org.gnome.Weather.service.in"
9662 (("Exec=[[:graph:]]+")
9663 (string-append "Exec=" #$output
9664 "/bin/gnome-weather")))))
9665 (add-after 'unpack 'disable-gtk-update-icon-cache
9667 (setenv "DESTDIR" "/")))
9668 (add-after 'install 'fix-desktop-file
9669 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some
9670 ;; reason. See https://issues.guix.gnu.org/issue/39324.
9671 (lambda* (#:key outputs #:allow-other-keys)
9672 (substitute* (search-input-file
9674 "share/applications/org.gnome.Weather.desktop")
9675 (("Exec=.*") "Exec=gnome-weather\n"))))
9676 (add-after 'install 'wrap
9677 (lambda* (#:key outputs #:allow-other-keys)
9678 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at
9680 (wrap-program (search-input-file outputs "bin/gnome-weather")
9681 `("GI_TYPELIB_PATH" ":" prefix
9682 (,(getenv "GI_TYPELIB_PATH")))))))))
9684 (list gettext-minimal
9686 gobject-introspection
9689 (list appstream-glib
9693 gsettings-desktop-schemas-next
9697 (synopsis "Weather monitoring for GNOME desktop")
9698 (description "GNOME Weather is a small application that allows you to
9699 monitor the current weather conditions for your city, or anywhere in the
9701 (home-page "https://wiki.gnome.org/Apps/Weather")
9702 (license license:gpl2+)))
9704 (define-public gnome
9707 (version (package-version gnome-shell))
9709 (build-system trivial-build-system)
9710 (arguments '(#:builder (begin (mkdir %output) #t)))
9712 `(;; GNOME-Core-OS-Services
9713 ("accountsservice" ,accountsservice)
9714 ("network-manager" ,network-manager)
9715 ("packagekit" ,packagekit)
9718 ("adwaita-icon-theme" ,adwaita-icon-theme)
9720 ("glib-networking" ,glib-networking)
9721 ("gnome-backgrounds" ,gnome-backgrounds)
9722 ("gnome-bluetooth" ,gnome-bluetooth)
9723 ("gnome-color-manager" ,gnome-color-manager)
9724 ("gnome-control-center" ,gnome-control-center)
9725 ("gnome-desktop" ,gnome-desktop)
9726 ("gnome-initial-setup" ,gnome-initial-setup)
9727 ("gnome-keyring" ,gnome-keyring)
9728 ("gnome-menus" ,gnome-menus)
9729 ("gnome-session" ,gnome-session)
9730 ("gnome-settings-daemon" ,gnome-settings-daemon)
9731 ("gnome-shell-extensions" ,gnome-shell-extensions)
9732 ("gnome-shell" ,gnome-shell)
9733 ("gnome-themes-extra" ,gnome-themes-extra)
9734 ("gnome-user-docs" ,gnome-user-docs)
9735 ("gnome-user-share" ,gnome-user-share)
9736 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9742 ;; GNOME-Core-Utilities
9745 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9746 ;; only works on x86_64, so exclude it on other architectures.
9747 ,@(if (string-prefix? "x86_64" (%current-system))
9750 ("epiphany" ,epiphany)
9752 ("file-roller" ,file-roller)
9754 ("gnome-boxes" ,gnome-boxes)
9755 ("gnome-calculator" ,gnome-calculator)
9756 ("gnome-calendar" ,gnome-calendar)
9757 ("gnome-characters" ,gnome-characters)
9758 ("gnome-clocks" ,gnome-clocks)
9759 ("gnome-contacts" ,gnome-contacts)
9760 ("gnome-disk-utility" ,gnome-disk-utility)
9761 ("gnome-font-viewer" ,gnome-font-viewer)
9762 ("gnome-maps" ,gnome-maps)
9763 ("gnome-music" ,gnome-music)
9764 ("gnome-photos" ,gnome-photos)
9765 ("gnome-screenshot" ,gnome-screenshot)
9766 ("gnome-system-monitor" ,gnome-system-monitor)
9767 ("gnome-terminal" ,gnome-terminal)
9768 ("gnome-weather" ,gnome-weather)
9769 ("nautilus" ,nautilus)
9770 ("simple-scan" ,simple-scan)
9772 ("tracker-miners" ,tracker-miners)
9775 ("hicolor-icon-theme" ,hicolor-icon-theme)
9776 ("gnome-online-accounts" ,gnome-online-accounts)
9778 ;; Packages not part of GNOME proper but that are needed for a good
9779 ;; experience. See <https://bugs.gnu.org/39646>.
9780 ;; XXX: Find out exactly which ones are needed and why.
9781 ("font-abattis-cantarell" ,font-abattis-cantarell)
9782 ("font-dejavu" ,font-dejavu)
9783 ("at-spi2-core" ,at-spi2-core-minimal)
9786 ("desktop-file-utils" ,desktop-file-utils)
9787 ("gnome-default-applications" ,gnome-default-applications)
9788 ("gst-plugins-base" ,gst-plugins-base)
9789 ("gst-plugins-good" ,gst-plugins-good)
9790 ("gucharmap" ,gucharmap)
9791 ("pinentry-gnome3" ,pinentry-gnome3)
9792 ("pulseaudio" ,pulseaudio)
9793 ("shared-mime-info" ,shared-mime-info)
9794 ("system-config-printer" ,system-config-printer)
9795 ("xdg-user-dirs" ,xdg-user-dirs)
9797 ("zenity" ,zenity)))
9798 (synopsis "The GNU desktop environment")
9799 (home-page "https://www.gnome.org/")
9801 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9802 applications for browsing the web, editing text and images, creating
9803 documents and diagrams, playing media, scanning, and much more.")
9804 (license license:gpl2+)))
9806 (define-public byzanz
9807 ;; The last stable release of Byzanz was in 2011, but there have been many
9808 ;; useful commits made to the Byzanz repository since then that it would be
9809 ;; silly to use such an old release.
9810 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9813 (version (string-append "0.2-1." (string-take commit 7)))
9817 (url "https://git.gnome.org/browse/byzanz")
9819 (file-name (string-append name "-" version "-checkout"))
9822 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9823 (build-system glib-or-gtk-build-system)
9826 (modify-phases %standard-phases
9827 (add-before 'bootstrap 'build-without-Werror
9829 ;; The build system cleverly detects that we're not building from
9830 ;; a release tarball and turns on -Werror for GCC.
9831 ;; Unsurprisingly, there is a warning during compilation that
9832 ;; causes the build to fail unnecessarily, so we remove the flag.
9833 (substitute* '("configure.ac")
9845 (list glib gstreamer gst-plugins-base gtk+))
9846 (synopsis "Desktop recording program")
9847 (description "Byzanz is a simple desktop recording program with a
9848 command-line interface. It can record part or all of an X display for a
9849 specified duration and save it as a GIF encoded animated image file.")
9850 (home-page "https://git.gnome.org/browse/byzanz")
9851 (license license:gpl2+))))
9853 (define-public authenticator
9855 (name "authenticator")
9861 (url "https://gitlab.gnome.org/World/Authenticator")
9863 (file-name (git-file-name name version))
9865 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9866 (build-system meson-build-system)
9868 `(#:meson ,meson-0.59
9871 (modify-phases %standard-phases
9872 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9873 (lambda* (#:key inputs outputs #:allow-other-keys)
9874 (let ((prog (string-append (assoc-ref outputs "out")
9875 "/bin/authenticator"))
9876 (pylib (string-append (assoc-ref outputs "out")
9878 ,(version-major+minor
9880 (this-package-input "python")))
9883 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
9884 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
9886 (list desktop-file-utils
9889 gobject-introspection
9893 (list gsettings-desktop-schemas
9898 python-beautifulsoup4
9906 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9907 (synopsis "Two-factor authentication application built for GNOME")
9909 "Authenticator is a two-factor authentication (2FA) application built for
9910 the GNOME desktop environment.
9915 @item QR code scanner
9917 @item Huge database of more than 560 supported services
9918 @item Keep your PIN tokens secure by locking the application with a password
9919 @item Automatically fetch an image for services using their favicon
9920 @item The possibility to add new services
9922 (license license:gpl3+)))
9924 (define-public gsound
9930 (uri (string-append "mirror://gnome/sources/gsound/"
9931 (version-major+minor version) "/"
9932 "gsound-" version ".tar.xz"))
9935 "06l80xgykj7x1kqkjvcq06pwj2rmca458zvs053qc55x3sg06bfa"))))
9936 (build-system meson-build-system)
9938 (list pkg-config gobject-introspection vala))
9940 (list libcanberra)) ; in Requires.private of gsound.pc
9941 (home-page "https://wiki.gnome.org/Projects/GSound")
9942 (synopsis "GObject wrapper for libcanberra")
9944 "GSound is a small library for playing system sounds. It's designed to be
9945 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9947 (license license:lgpl2.1+)))
9949 (define-public libzapojit
9955 (uri (string-append "mirror://gnome/sources/" name "/"
9956 (version-major+minor version) "/"
9957 name "-" version ".tar.xz"))
9960 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9961 (build-system gnu-build-system)
9963 (list gobject-introspection intltool pkg-config))
9965 (list gnome-online-accounts json-glib rest))
9966 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9967 (synopsis "Library for accessing SkyDrive and Hotmail")
9969 "Libzapojit is a GLib-based library for accessing online service APIs of
9970 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9971 (license license:lgpl2.1+)))
9973 (define-public gnome-clocks
9975 (name "gnome-clocks")
9979 (uri (string-append "mirror://gnome/sources/" name "/"
9980 (version-major version) "/"
9981 name "-" version ".tar.xz"))
9984 "1q3gvniwd4dkr1ghqpp05zr7qswdhaxqrn8j6bm3qbh39bdihw8f"))))
9985 (build-system meson-build-system)
9989 (modify-phases %standard-phases
9990 (add-after 'unpack 'skip-gtk-update-icon-cache
9991 ;; Don't create 'icon-theme.cache'.
9993 (substitute* "meson.build"
9994 (("gtk_update_icon_cache: true")
9995 "gtk_update_icon_cache: false")))))))
9997 (list desktop-file-utils
9999 `(,glib "bin") ; for glib-compile-resources
10005 geocode-glib-with-libsoup2
10011 libgweather4-with-libsoup2))
10012 (home-page "https://wiki.gnome.org/Apps/Clocks")
10013 (synopsis "GNOME's clock application")
10015 "GNOME Clocks is a simple clocks application designed to fit the GNOME
10016 desktop. It supports world clock, stop watch, alarms, and count down timer.")
10017 (license license:gpl3+)))
10019 (define-public gnome-calendar
10021 (name "gnome-calendar")
10025 (uri (string-append "mirror://gnome/sources/" name "/"
10026 (version-major version) "/"
10027 name "-" version ".tar.xz"))
10030 "1ggvnl2jnc24nzpkjvsk57vpckjzb14a7mmnk6jjm84nmqxccz5f"))))
10031 (build-system meson-build-system)
10033 `(#:glib-or-gtk? #t
10035 (modify-phases %standard-phases
10036 (add-after 'unpack 'skip-gtk-update-icon-cache
10037 ;; Don't create 'icon-theme.cache'.
10039 (substitute* "meson.build"
10040 (("gtk_update_icon_cache: true")
10041 "gtk_update_icon_cache: false")))))))
10043 (list gettext-minimal
10044 `(,glib "bin") ; For glib-compile-schemas
10047 ;; Note: not propagating evolution-data-server-3.44 to keep profiles
10048 ;; clean from libsoup2.
10049 (list evolution-data-server-3.44
10051 geocode-glib-with-libsoup2
10052 gnome-online-accounts-3.44
10053 gsettings-desktop-schemas
10056 libgweather4-with-libsoup2
10057 ;; Remove pango-next when it's the default.
10059 (home-page "https://wiki.gnome.org/Apps/Calendar")
10060 (synopsis "GNOME's calendar application")
10062 "GNOME Calendar is a simple calendar application designed to fit the GNOME
10063 desktop. It supports multiple calendars, month, week and year view.")
10064 (license license:gpl3+)))
10066 (define-public gnome-todo
10068 (name "gnome-todo")
10072 (uri (string-append "mirror://gnome/sources/" name "/"
10073 (version-major version) "/"
10074 name "-" version ".tar.xz"))
10077 "1r94880d4khbjhhfnhaba3y3d4hv2bri82rzfzxn27s5iybpqras"))
10078 (patches (search-patches "gnome-todo-libportal.patch"))))
10079 (build-system meson-build-system)
10084 #~(modify-phases %standard-phases
10085 (add-after 'unpack 'skip-gtk-update-icon-cache
10087 (substitute* "build-aux/meson/meson_post_install.py"
10088 (("gtk-update-icon-cache") "true"))))
10090 (add-after 'install 'check
10091 (assoc-ref %standard-phases
10093 (add-before 'check 'pre-check
10095 (setenv "GSETTINGS_SCHEMA_DIR"
10096 (string-append #$output "/share/glib-2.0/schemas")))))))
10098 (list gettext-minimal
10099 gobject-introspection
10100 `(,glib "bin") ;for glib-compile-resources
10101 `(,gtk "bin") ;for gtk-update-icon-cache
10105 (list rest ;for Todoist plugin
10107 json-glib ;for Todoist plugin
10109 evolution-data-server
10114 evolution-data-server
10115 gnome-online-accounts
10116 gsettings-desktop-schemas))
10117 (home-page "https://wiki.gnome.org/Apps/Todo")
10118 (synopsis "GNOME's ToDo Application")
10119 (description "GNOME To Do is a simplistic personal task manager designed
10120 to perfectly fit the GNOME desktop.")
10121 (license license:gpl3+)))
10123 (define-public gnome-dictionary
10125 (name "gnome-dictionary")
10129 (uri (string-append "mirror://gnome/sources/" name "/"
10130 (version-major version) "/"
10131 name "-" version ".tar.xz"))
10134 "1d8dhcfys788vv27v34i3s3x3jdvdi2kqn2a5p8c937a9hm0qr9f"))))
10135 (build-system meson-build-system)
10137 `(#:glib-or-gtk? #t
10139 (modify-phases %standard-phases
10140 (add-after 'unpack 'skip-gtk-update-icon-cache
10141 ;; Don't create 'icon-theme.cache'.
10143 (substitute* "build-aux/meson/post-install.py"
10144 (("gtk-update-icon-cache") "true")))))))
10146 (list `(,glib "bin")
10147 gobject-introspection
10153 (list gsettings-desktop-schemas
10155 (home-page "https://wiki.gnome.org/Apps/Dictionary")
10156 (synopsis "Look up words in dictionary sources")
10158 "GNOME Dictionary can look for the definition or translation of a word in
10159 existing databases over the internet.")
10160 (license license:gpl3+)))
10162 (define-public gnome-tweaks
10164 (name "gnome-tweaks")
10168 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
10169 (version-major version) "/"
10170 "gnome-tweaks-" version ".tar.xz"))
10172 (list (search-patch "gnome-tweaks-search-paths.patch")))
10175 "1z13xy804hld9q8k0vq5y4j5jk7m0ayqzkli8jxpymwrlcrkpzfg"))))
10176 (build-system meson-build-system)
10180 #:configure-flags #~(list "-Dlocalstatedir=/tmp"
10181 "-Dsysconfdir=/tmp")
10182 #:imported-modules `((guix build python-build-system)
10183 ,@%meson-build-system-modules)
10184 #:modules '((guix build meson-build-system)
10185 ((guix build python-build-system) #:prefix python:)
10186 (guix build utils))
10188 #~(modify-phases %standard-phases
10189 (add-after 'unpack 'skip-gtk-update-icon-cache
10190 ;; Don't create 'icon-theme.cache'.
10192 (substitute* "meson-postinstall.py"
10193 (("gtk-update-icon-cache") "true"))))
10194 (add-after 'install 'wrap
10195 (assoc-ref python:%standard-phases 'wrap))
10196 (add-after 'wrap 'wrap-gi-typelib-and-python
10197 (lambda* (#:key inputs outputs #:allow-other-keys)
10198 (wrap-program (search-input-file outputs "bin/gnome-tweaks")
10199 `("GI_TYPELIB_PATH" ":" prefix
10200 (,(getenv "GI_TYPELIB_PATH")))
10201 `("GUIX_PYTHONPATH" ":" prefix
10202 (,(python:site-packages inputs outputs)))))))))
10204 (list `(,glib "bin") ; for glib-compile-resources, etc.
10208 (list bash-minimal ; to execute the wrapper program
10211 gobject-introspection
10212 gsettings-desktop-schemas
10219 (synopsis "Customize advanced GNOME 3 options")
10220 (home-page "https://wiki.gnome.org/Apps/Tweaks")
10222 "GNOME Tweaks allows adjusting advanced configuration settings in
10223 GNOME 3. This includes things like the fonts used in user interface elements,
10224 alternative user interface themes, changes in window management behavior,
10225 GNOME Shell appearance and extension, etc.")
10226 (license license:gpl3+)))
10228 (define-public gnome-shell-extensions
10230 (name "gnome-shell-extensions")
10234 (uri (string-append "mirror://gnome/sources/" name "/"
10235 (version-major version) "/"
10236 name "-" version ".tar.xz"))
10239 "1z3k4bvq8f2s0q9q7i093w4hrz289lci7xlib20aqa4z5sivxhhf"))))
10240 (build-system meson-build-system)
10242 '(#:configure-flags '("-Dextension_set=all")))
10244 (list `(,glib "bin")
10249 (synopsis "Extensions for GNOME Shell")
10250 (description "GNOME Shell extensions modify and extend GNOME Shell
10251 functionality and behavior.")
10252 (home-page "https://extensions.gnome.org/")
10253 (license license:gpl3+)))
10255 (define-public folks
10261 (uri (string-append
10262 "mirror://gnome/sources/folks/"
10263 (version-major+minor version) "/"
10264 "folks-" version ".tar.xz"))
10267 "11lhfn6b7gml4ckj2dkm6g889j21wpvj90srwjp85k9hcf4qmzqg"))))
10268 (build-system meson-build-system)
10271 (modify-phases %standard-phases
10272 (add-after 'unpack 'skip-gtk-update-icon-cache
10273 ;; Don't create 'icon-theme.cache'.
10275 (substitute* "meson_post_install.py"
10276 (("gtk-update-icon-cache") "true")))))))
10280 evolution-data-server
10286 (list gettext-minimal
10288 gobject-introspection
10293 (synopsis "Library to aggregate data about people")
10294 (description "Libfolks is a library that aggregates information about people
10295 from multiple sources (e.g., Telepathy connection managers for IM contacts,
10296 Evolution Data Server for local contacts, libsocialweb for web service contacts,
10297 etc.) to create metacontacts. It's written in Vala, which generates C code when
10299 (home-page "https://wiki.gnome.org/Projects/Folks")
10300 (license license:lgpl2.1+)))
10302 (define-public gfbgraph
10308 (uri (string-append
10309 "mirror://gnome/sources/gfbgraph/"
10310 (version-major+minor version) "/"
10311 "gfbgraph-" version ".tar.xz"))
10314 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
10315 (build-system glib-or-gtk-build-system)
10317 `(#:tests? #f ; tests appear to require the network
10318 #:configure-flags '("--disable-static"
10320 "--enable-introspection")))
10322 (list gobject-introspection
10325 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
10331 `(("json-glib" ,json-glib)
10332 ("gnome-online-accounts" ,gnome-online-accounts)
10334 (synopsis "GLib/GObject wrapper for the Facebook API")
10335 (description "This library allows you to use the Facebook API from
10336 GLib/GObject code.")
10337 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
10338 (license license:lgpl2.1+)))
10340 (define-public libgnomekbd
10342 (name "libgnomekbd")
10346 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
10347 (version-major+minor version) "/"
10348 "libgnomekbd-" version ".tar.xz"))
10351 "1jarhq9crhq0wfnbcz7x3hgxbkan98ax3p2jwcgzj9jc7r27l1dk"))))
10352 (build-system gnu-build-system)
10360 gobject-introspection))
10362 ;; Referred to in .h files and .pc.
10366 (home-page "https://www.gnome.org")
10367 (synopsis "GNOME keyboard configuration library")
10369 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
10370 environment, which can notably display keyboard layouts.")
10371 (license license:lgpl2.0+)))
10373 ;;; This package is no longer maintained:
10374 ;;; https://wiki.gnome.org/Attic/LibUnique
10375 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
10376 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
10377 (define-public libunique
10383 (uri (string-append "mirror://gnome/sources/" name "/"
10384 (version-major+minor version) "/"
10385 name "-" version ".tar.xz"))
10388 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
10389 (build-system glib-or-gtk-build-system)
10391 `(#:configure-flags '("--disable-static"
10392 "--disable-dbus" ; use gdbus
10393 "--enable-introspection")))
10395 `(("pkg-config" ,pkg-config)
10396 ("gobject-introspection" ,gobject-introspection)
10397 ("glib:bin" ,glib "bin")
10398 ("gtk-doc" ,gtk-doc/stable)))
10400 ;; Referred to in .h files and .pc.
10402 (home-page "https://wiki.gnome.org/Attic/LibUnique")
10403 (synopsis "Library for writing single instance applications")
10405 "Libunique is a library for writing single instance applications. If you
10406 launch a single instance application twice, the second instance will either just
10407 quit or will send a message to the running instance. Libunique makes it easy to
10408 write this kind of application, by providing a base class, taking care of all
10409 the IPC machinery needed to send messages to a running instance, and also
10410 handling the startup notification side.")
10411 (license license:lgpl2.1+)))
10413 (define-public gnome-calculator
10415 (name "gnome-calculator")
10420 (uri (string-append "mirror://gnome/sources/" name "/"
10421 (version-major version) "/"
10422 name "-" version ".tar.xz"))
10425 "1866qn0r9xp7b7j1436kry2k3bdh9ikhz2wm41jxcn1nljyb3nik"))))
10426 (build-system meson-build-system)
10428 '(#:glib-or-gtk? #t
10430 (modify-phases %standard-phases
10431 (add-after 'unpack 'skip-gtk-update-icon-cache
10433 (substitute* "meson.build"
10434 (("gtk_update_icon_cache: true")
10435 "gtk_update_icon_cache: false"))))
10436 (add-before 'check 'pre-check
10438 ;; Tests require a writable HOME.
10439 (setenv "HOME" (getcwd)))))))
10441 (list gettext-minimal
10442 `(,glib "bin") ;for glib-compile-schemas, gio-2.0.
10448 (list gsettings-desktop-schemas-next
10457 (home-page "https://wiki.gnome.org/Apps/Calculator")
10458 (synopsis "Desktop calculator")
10460 "Calculator is an application that solves mathematical equations and
10461 is suitable as a default application in a Desktop environment.")
10462 (license license:gpl3)))
10464 (define-public xpad
10471 (uri (string-append "https://launchpad.net/xpad/trunk/"
10472 version "/+download/"
10473 name "-" version ".tar.bz2"))
10476 "1sc2dz4yxx6glnqpnhiby85g2blnsfn8d3fvbaqhdi2hi0q54q7j"))))
10477 (build-system gnu-build-system)
10479 (list autoconf automake
10480 `(,gtk+ "bin") intltool pkg-config))
10482 (list gtksourceview libsm))
10483 (home-page "https://wiki.gnome.org/Apps/Xpad")
10484 (synopsis "Virtual sticky note")
10486 "Xpad is a sticky note that strives to be simple, fault tolerant,
10487 and customizable. Xpad consists of independent pad windows, each is
10488 basically a text box in which notes can be written.")
10489 (license license:gpl3+)))
10491 (define-public gucharmap
10492 (let ((unicode-files
10494 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
10496 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
10498 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
10500 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
10502 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
10504 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
10511 (uri (string-append "mirror://gnome/sources/" name "/"
10512 (version-major+minor version) "/"
10513 name "-" version ".tar.xz"))
10516 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
10517 (build-system glib-or-gtk-build-system)
10519 `(#:modules ((ice-9 match)
10520 (guix build glib-or-gtk-build-system)
10521 (guix build utils))
10523 (list "--with-unicode-data=../unicode-data")
10525 (modify-phases %standard-phases
10526 (add-after 'unpack 'prepare-unicode-data
10527 (lambda* (#:key inputs #:allow-other-keys)
10528 (mkdir-p "../unicode-data")
10529 (with-directory-excursion "../unicode-data"
10530 (for-each (match-lambda
10532 (install-file (assoc-ref inputs file) ".")))
10536 `(("desktop-file-utils" ,desktop-file-utils)
10537 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
10538 ("gobject-introspection" ,gobject-introspection)
10539 ("intltool" ,intltool)
10540 ("itstool" ,itstool)
10541 ("pkg-config" ,pkg-config)
10542 ,@(map (match-lambda
10547 (uri (string-append
10548 "http://www.unicode.org/Public/12.0.0/ucd/"
10550 (sha256 (base32 hash))))))
10555 ("xmllint" ,libxml2)))
10556 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10557 (synopsis "Unicode character picker and font browser")
10559 "This program allows you to browse through all the available Unicode
10560 characters and categories for the installed fonts, and to examine their
10561 detailed properties. It is an easy way to find the character you might
10562 only know by its Unicode name or code point.")
10563 (license license:gpl3+))))
10565 (define-public gcolor3
10572 (uri (git-reference
10573 (url "https://gitlab.gnome.org/World/gcolor3")
10574 (commit (string-append "v" version))))
10575 (file-name (git-file-name name version))
10577 (base32 "1igqmach1vhcrvbpw346pmkbb5kabbb806ssswrvkp569n700wmc"))
10578 ;; XXX: Remove when upgrading
10579 (patches (search-patches "gcolor3-update-libportal-usage.patch"))))
10580 (build-system meson-build-system)
10582 `(#:glib-or-gtk? #t))
10584 (list desktop-file-utils gettext-minimal
10586 `(,gtk+ "bin") pkg-config))
10588 (list gsettings-desktop-schemas gtk+ libportal))
10589 (home-page "https://www.hjdskes.nl/projects/gcolor3/")
10590 (synopsis "Simple color chooser written in GTK3")
10591 (description "Color Picker is a simple color chooser written in GTK3. It
10592 supports both X and Wayland display servers.")
10593 (license license:gpl2+)))
10595 (define-public bluefish
10602 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10603 "bluefish-" version ".tar.gz"))
10605 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10606 (build-system gnu-build-system)
10608 (list desktop-file-utils intltool pkg-config))
10610 (list enchant gtk+ python-wrapper libxml2 gucharmap))
10611 (home-page "http://bluefish.openoffice.nl")
10612 (synopsis "Web development studio")
10614 "Bluefish is an editor aimed at programmers and web developers,
10615 with many options to write web sites, scripts and other code.
10616 Bluefish supports many programming and markup languages.")
10617 (license license:gpl3+)))
10619 (define-public gnome-system-monitor
10621 (name "gnome-system-monitor")
10626 (uri (string-append "mirror://gnome/sources/" name "/"
10627 (version-major version) "/"
10628 name "-" version ".tar.xz"))
10631 "1p3mq32pfd9260aql5nys806g0c4nrswacwqs8ms40920ci9s8qk"))))
10632 (build-system meson-build-system)
10634 '(#:glib-or-gtk? #t
10635 #:configure-flags '("-Dsystemd=false")))
10637 (list `(,glib "bin") ;for glib-mkenums.
10638 `(,gtk+ "bin") ;gtk-update-icon-cache
10645 (list gdk-pixbuf ;for loading SVG files.
10652 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10653 (synopsis "Process viewer and system resource monitor for GNOME")
10655 "GNOME System Monitor is a GNOME process viewer and system monitor with
10656 an attractive, easy-to-use interface. It has features, such as a tree view
10657 for process dependencies, icons for processes, the ability to hide processes,
10658 graphical time histories of CPU/memory/swap usage and the ability to
10659 kill/reinice processes.")
10660 (license license:gpl2+)))
10662 (define-public python-pyatspi
10664 (name "python-pyatspi")
10668 (uri (string-append
10669 "mirror://gnome/sources/pyatspi/"
10670 (version-major+minor version)
10671 "/pyatspi-" version ".tar.xz"))
10674 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10675 (build-system gnu-build-system)
10678 (modify-phases %standard-phases
10679 (add-before 'build 'fix-atk-load
10681 (substitute* "pyatspi/__init__.py"
10682 (("from gi.repository import Atspi")
10683 "gi.require_version('Gtk', '3.0')
10684 from gi.repository import Gtk
10685 from gi.repository import Atspi"))
10692 (list python-pygobject))
10693 (synopsis "Python client bindings for D-Bus AT-SPI")
10694 (home-page "https://wiki.linuxfoundation.org/accessibility\
10695 /atk/at-spi/at-spi_on_d-bus")
10697 "This package includes a python client library for the AT-SPI D-Bus
10698 accessibility infrastructure.")
10699 (license license:lgpl2.0)
10700 (properties '((upstream-name . "pyatspi")))))
10702 (define-public orca
10708 (uri (string-append
10709 "mirror://gnome/sources/" name "/"
10710 (version-major version) "/"
10711 name "-" version ".tar.xz"))
10714 "1gflnsv6d5qn5rh1f16yfa0q0yv8yvd0l5lbwrsdg7z18lafb5vn"))))
10715 (build-system glib-or-gtk-build-system)
10718 (modify-phases %standard-phases
10719 (add-before 'configure 'qualify-xkbcomp
10720 (lambda* (#:key inputs #:allow-other-keys)
10721 (let ((xkbcomp (string-append
10722 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10723 (substitute* "src/orca/orca.py"
10724 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))))
10725 (add-after 'install 'wrap-orca
10726 (lambda* (#:key outputs #:allow-other-keys)
10727 (let* ((out (assoc-ref outputs "out"))
10728 (prog (string-append out "/bin/orca")))
10730 `("GI_TYPELIB_PATH" ":" prefix
10731 (,(getenv "GI_TYPELIB_PATH")))
10732 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10733 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10734 `("GUIX_PYTHONPATH" ":" prefix
10735 (,(getenv "GUIX_PYTHONPATH"))))))))))
10743 gsettings-desktop-schemas
10754 "Screen reader for individuals who are blind or visually impaired")
10755 (home-page "https://wiki.gnome.org/Projects/Orca")
10757 "Orca is a screen reader that provides access to the graphical desktop
10758 via speech and refreshable braille. Orca works with applications and toolkits
10759 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10760 (license license:lgpl2.1+)))
10762 (define-public gspell
10768 (uri (string-append "mirror://gnome/sources/" name "/"
10769 (version-major+minor version) "/"
10770 name "-" version ".tar.xz"))
10773 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10774 (patches (search-patches "gspell-dash-test.patch"))))
10775 (build-system glib-or-gtk-build-system)
10777 '(#:configure-flags (list "--enable-vala")
10779 (modify-phases %standard-phases
10780 (add-before 'check 'pre-check
10781 (lambda* (#:key inputs #:allow-other-keys)
10782 ;; Tests require a running X server.
10783 (system "Xvfb :1 &")
10784 (setenv "DISPLAY" ":1")
10786 ;; For the missing /etc/machine-id.
10787 (setenv "DBUS_FATAL_WARNINGS" "0")
10789 ;; Allow Enchant and its Aspell backend to find the en_US
10791 (setenv "ASPELL_DICT_DIR"
10792 (search-input-directory inputs "/lib/aspell")))))))
10796 `(("glib" ,glib "bin")
10797 ("gobject-introspection" ,gobject-introspection)
10798 ("pkg-config" ,pkg-config)
10799 ("vala" ,vala) ;for VAPI, needed by Geary
10800 ("xmllint" ,libxml2)
10803 ("aspell-dict-en" ,aspell-dict-en)
10804 ("xorg-server" ,xorg-server-for-tests)))
10806 ;; Referred by .pc file.
10807 (list enchant glib gtk+))
10808 (home-page "https://wiki.gnome.org/Projects/gspell")
10809 (synopsis "GNOME's alternative spell checker")
10811 "gspell provides a flexible API to add spell-checking to a GTK+
10812 application. It provides a GObject API, spell-checking to text entries and
10813 text views, and buttons to choose the language.")
10814 (license license:gpl2+)))
10816 (define-public gnome-planner
10818 (name "gnome-planner")
10822 (uri (string-append "mirror://gnome/sources/planner/"
10823 (version-major+minor version) "/planner-"
10824 version ".tar.xz"))
10827 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10828 (build-system glib-or-gtk-build-system)
10830 ;; Disable the Python bindings because the Planner program functions
10831 ;; without them, and (as of 2017-06-13) we have not packaged all of
10832 ;; packages that are necessary for building the Python bindings.
10833 `(#:configure-flags
10834 (list "--disable-python"
10835 ,@(if (string=? "aarch64-linux" (%current-system))
10836 '("--build=aarch64-unknown-linux-gnu")
10839 (list libgnomecanvas
10849 (list intltool scrollkeeper pkg-config))
10850 (home-page "https://wiki.gnome.org/Apps/Planner")
10851 (synopsis "Project management software for the GNOME desktop")
10853 "GNOME Planner is a project management tool based on the Work Breakdown
10854 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10855 the resources, tasks, and constraints that you define, Planner generates
10856 various views into a project. For example, Planner can show a Gantt chart of
10857 the project. It can show a detailed summary of tasks including their
10858 duration, cost, and current progress. It can also show a report of resource
10859 utilization that highlights under-utilized and over-utilized resources. These
10860 views can be printed as PDF or PostScript files, or exported to HTML.")
10861 (license license:gpl2+)))
10863 (define-public lollypop
10870 (uri (string-append "https://adishatz.org/lollypop/"
10871 "lollypop-" version ".tar.xz"))
10873 (base32 "10cw3x75siibmnbh4zhfmf2vd08fqjs3lj3l4wpk6zj9h22ncfxw"))))
10874 (build-system meson-build-system)
10876 `(#:imported-modules
10877 (,@%meson-build-system-modules
10878 (guix build python-build-system))
10880 ((guix build meson-build-system)
10881 ((guix build python-build-system) #:prefix python:)
10882 (guix build utils))
10884 #:tests? #f ; no test suite
10886 (modify-phases %standard-phases
10887 (add-after 'install 'wrap-program
10888 (lambda* (#:key outputs #:allow-other-keys)
10889 (let ((out (assoc-ref outputs "out"))
10890 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10891 (wrap-program (string-append out "/bin/lollypop")
10892 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10894 (add-after 'install 'wrap-python
10895 (assoc-ref python:%standard-phases 'wrap)))))
10897 `(("gettext" ,gettext-minimal)
10898 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10899 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10900 ("pkg-config" ,pkg-config)))
10902 `(("glib-networking" ,glib-networking)
10903 ("gobject-introspection" ,gobject-introspection)
10904 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10905 ("gst-plugins-base" ,gst-plugins-base)
10906 ("libnotify" ,libnotify)
10907 ("libsecret" ,libsecret)
10908 ("libhandy" ,libhandy)
10909 ("libsoup" ,libsoup-minimal-2)
10911 ("python-beautifulsoup4" ,python-beautifulsoup4)
10912 ("python-gst" ,python-gst)
10913 ("python-pil" ,python-pillow)
10914 ("python-pycairo" ,python-pycairo)
10915 ("python-pygobject" ,python-pygobject)
10916 ("python-pylast" ,python-pylast)
10917 ("totem-pl-parser" ,totem-pl-parser)
10918 ("webkitgtk" ,webkitgtk)))
10920 (list ;; gst-plugins-base is required to start Lollypop,
10921 ;; the others are required to play streaming.
10922 gst-plugins-good gst-plugins-ugly))
10923 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10924 (synopsis "GNOME music playing application")
10926 "Lollypop is a music player designed to play well with GNOME desktop.
10927 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10928 from artists and tracks from the web. It also fetches cover artworks
10929 automatically and it can stream songs from online music services and charts.")
10930 (license license:gpl3+)))
10932 (define-public gnome-video-effects
10934 (name "gnome-video-effects")
10938 (uri (string-append "mirror://gnome/sources/" name "/"
10939 (version-major+minor version) "/" name "-"
10940 version ".tar.xz"))
10943 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10944 (build-system meson-build-system)
10946 (list gettext-minimal pkg-config))
10947 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10948 (synopsis "Video effects for Cheese and other GNOME applications")
10950 "A collection of GStreamer video filters and effects to be used in
10951 photo-booth-like software, such as Cheese.")
10952 (license license:gpl2+)))
10954 (define-public cheese
10960 (uri (string-append "mirror://gnome/sources/" name "/"
10961 (version-major version) "/" name "-"
10962 version ".tar.xz"))
10965 "1y92glc0d6w323x2bdbc0gdh1jdffvkbv6cwlwm1rx0wgvv1svqh"))))
10967 `(#:glib-or-gtk? #t
10968 #:meson ,meson-0.60
10969 ;; Tests require GDK.
10972 (modify-phases %standard-phases
10973 (add-after 'unpack 'skip-gtk-update-icon-cache
10975 ;; Don't create 'icon-theme.cache'
10976 (substitute* "meson_post_install.py"
10977 (("gtk-update-icon-cache") (which "true")))
10979 (add-after 'install 'wrap-cheese
10980 (lambda* (#:key inputs outputs #:allow-other-keys)
10981 (let ((out (assoc-ref outputs "out"))
10982 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10983 (wrap-program (string-append out "/bin/cheese")
10984 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10986 (build-system meson-build-system)
10999 (list gnome-video-effects
11008 (list gnome-desktop
11009 gobject-introspection
11016 (home-page "https://wiki.gnome.org/Apps/Cheese")
11017 (synopsis "Webcam photo booth software for GNOME")
11019 "Cheese uses your webcam to take photos and videos. Cheese can also
11020 apply fancy special effects and lets you share the fun with others.")
11021 (license license:gpl2+)))
11023 (define-public passwordsafe
11025 (name "passwordsafe")
11030 (uri (git-reference
11031 (url "https://gitlab.gnome.org/World/secrets")
11033 (file-name (git-file-name name version))
11035 (base32 "0kd43j6i017wdsqj6d5gnxhfv4ijnh3xahlw7md2gh51i8p682j6"))))
11036 (build-system meson-build-system)
11038 (list #:glib-or-gtk? #t
11041 #~(modify-phases %standard-phases
11042 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11043 (lambda* (#:key outputs #:allow-other-keys)
11044 (let ((prog (string-append #$output
11045 "/bin/gnome-passwordsafe"))
11046 (pylib (string-append
11047 #$output "/lib/python"
11048 #$(version-major+minor
11049 (package-version (this-package-input "python")))
11050 "/site-packages")))
11052 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
11053 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
11055 (list desktop-file-utils
11058 gobject-introspection
11063 gsettings-desktop-schemas
11070 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
11071 (synopsis "Password manager for the GNOME desktop")
11073 "Password Safe is a password manager which makes use of the KeePass v4
11074 format. It integrates perfectly with the GNOME desktop and provides an easy
11075 and uncluttered interface for the management of password databases.")
11076 (license license:gpl3+)))
11078 (define-public sound-juicer
11080 (name "sound-juicer")
11085 (uri (string-append "mirror://gnome/sources/" name "/"
11086 (version-major+minor version) "/"
11087 name "-" version ".tar.xz"))
11090 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
11091 (build-system glib-or-gtk-build-system)
11093 (list desktop-file-utils intltool itstool pkg-config libxml2))
11096 gsettings-desktop-schemas
11106 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
11107 (synopsis "Audio music cd ripper")
11108 (description "Sound Juicer extracts audio from compact discs and convert it
11109 into audio files that a personal computer or digital audio player can play.
11110 It supports ripping to any audio codec supported by a GStreamer plugin, such as
11111 mp3, Ogg Vorbis and FLAC")
11112 (license license:gpl2+)))
11114 (define-public soundconverter
11116 (name "soundconverter")
11121 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
11122 version "/+download/"
11123 "soundconverter-" version ".tar.xz"))
11126 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
11127 (build-system glib-or-gtk-build-system)
11129 `(#:imported-modules ((guix build python-build-system)
11130 (guix build glib-or-gtk-build-system)
11131 ,@%gnu-build-system-modules)
11133 #:modules ((guix build glib-or-gtk-build-system)
11135 ((guix build gnu-build-system) #:prefix gnu:)
11136 ((guix build python-build-system) #:prefix python:))
11139 (modify-phases %standard-phases
11140 (add-after 'install 'wrap-soundconverter-for-python
11141 (assoc-ref python:%standard-phases 'wrap))
11142 (add-after 'install 'wrap-soundconverter
11143 (lambda* (#:key inputs outputs #:allow-other-keys)
11144 (let ((out (assoc-ref outputs "out"))
11145 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
11146 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
11147 (wrap-program (string-append out "/bin/soundconverter")
11148 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
11149 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
11152 `(("intltool" ,intltool)
11153 ("pkg-config" ,pkg-config)
11154 ("glib:bin" ,glib "bin")))
11156 (list gtk+ python python-pygobject gstreamer gst-plugins-base))
11157 (home-page "https://soundconverter.org/")
11158 (synopsis "Convert between audio formats with a graphical interface")
11160 "SoundConverter supports converting between many audio formats including
11161 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
11162 configurable file renaming.")
11163 (license license:gpl3)))
11165 (define-public workrave
11168 (version "1.10.50")
11172 (uri (git-reference
11173 (url "https://github.com/rcaelers/workrave")
11174 (commit (string-append "v" (string-map
11175 (match-lambda (#\. #\_) (chr chr))
11177 (file-name (git-file-name name version))
11179 (base32 "0fj3fqmdn4nsjgvbbvzpxw2mgiihcr1zpb08amg2p6hg9n11y9bx"))))
11180 (build-system glib-or-gtk-build-system)
11182 ;; The only tests are maintainer tests (in po/), which fail.
11195 (native-inputs `(("boost" ,boost)
11196 ("pkg-config" ,pkg-config)
11197 ("gettext" ,gettext-minimal)
11198 ("autoconf" ,autoconf)
11199 ("autoconf-archive" , autoconf-archive)
11200 ("automake" ,automake)
11201 ("libtool" ,libtool)
11202 ("intltool" ,intltool)
11203 ("gobject-introspection" ,gobject-introspection)
11204 ("python3" ,python-3)
11205 ("python-jinja2" ,python-jinja2)))
11206 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
11208 "Workrave is a program that assists in the recovery and prevention of
11209 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
11210 micro-pauses and rest breaks, and restricts you to your daily limit.")
11211 (home-page "http://www.workrave.org")
11212 (license license:gpl3+)))
11214 (define-public ghex
11220 (uri (string-append "mirror://gnome/sources/ghex/"
11221 (version-major+minor version) "/"
11222 "ghex-" version ".tar.xz"))
11225 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
11226 (build-system meson-build-system)
11228 '(#:glib-or-gtk? #t
11230 (modify-phases %standard-phases
11231 (add-after 'unpack 'skip-gtk-update-icon-cache
11232 ;; Don't create 'icon-theme.cache'.
11234 (substitute* "meson_post_install.py"
11235 (("gtk-update-icon-cache") (which "true")))
11238 `(("pkg-config" ,pkg-config)
11239 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
11240 ("gnome-common" ,gnome-common)
11242 ("intltool" ,intltool)
11243 ("yelp-tools" ,yelp-tools)
11244 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
11248 (synopsis "GNOME hexadecimal editor")
11249 (description "The GHex program can view and edit files in two ways:
11250 hexadecimal or ASCII. It is useful for editing binary files in general.")
11251 (home-page "https://wiki.gnome.org/Apps/Ghex")
11252 (license license:gpl2)))
11254 (define-public libdazzle
11260 (uri (string-append "mirror://gnome/sources/libdazzle/"
11261 (version-major+minor version) "/"
11262 "libdazzle-" version ".tar.xz"))
11265 "1blfs61ifv4fywl0wbr1cm3rvmgrv06yiqajbnq0qs72nrgf9lrw"))))
11266 (build-system meson-build-system)
11269 (modify-phases %standard-phases
11270 (add-before 'check 'pre-check
11272 ;; Tests require a running X server.
11273 (system "Xvfb :1 &")
11274 (setenv "DISPLAY" ":1"))))))
11276 (list `(,glib "bin") ; glib-compile-resources
11277 gobject-introspection
11280 xorg-server-for-tests
11285 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
11286 (synopsis "Companion library to GObject and Gtk+")
11287 (description "The libdazzle library is a companion library to GObject and
11288 Gtk+. It provides various features that the authors wish were in the
11289 underlying library but cannot for various reasons. In most cases, they are
11290 wildly out of scope for those libraries. In other cases, they are not quite
11291 generic enough to work for everyone.")
11292 (license license:gpl3+)))
11294 (define-public evolution
11300 (uri (string-append "mirror://gnome/sources/evolution/"
11301 (version-major+minor version) "/"
11302 "evolution-" version ".tar.xz"))
11305 "0igfzapdvgfx2gnpwfkjfkn7l5j186wk88ni39vqas1sl7ijlls6"))))
11306 (build-system cmake-build-system)
11308 `(#:imported-modules (,@%cmake-build-system-modules
11309 (guix build glib-or-gtk-build-system))
11310 #:modules ((guix build cmake-build-system)
11311 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
11312 (guix build utils))
11314 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
11315 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
11316 ; in four years and cannot be built.
11318 (modify-phases %standard-phases
11319 ;; The build system attempts to install user interface modules to the
11320 ;; output directory of the "evolution-data-server" package. This
11321 ;; change redirects that change.
11322 (add-after 'unpack 'patch-ui-module-dir
11323 (lambda* (#:key outputs #:allow-other-keys)
11324 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
11325 (("\\$\\{edsuimoduledir\\}")
11326 (string-append (assoc-ref outputs "out")
11327 "/lib/evolution-data-server/ui-modules")))))
11328 (add-after 'install 'glib-or-gtk-compile-schemas
11329 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
11330 (add-after 'install 'glib-or-gtk-wrap
11331 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
11333 (list `(,glib "bin") ; glib-mkenums
11334 pkg-config intltool itstool))
11336 `(("enchant" ,enchant)
11337 ("evolution-data-server" ,evolution-data-server) ; must be the same version
11339 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11340 ("gnome-autoar" ,gnome-autoar)
11341 ("gnome-desktop" ,gnome-desktop)
11343 ("highlight" ,highlight)
11344 ("libcanberra" ,libcanberra)
11345 ("libgweather" ,libgweather)
11346 ("libnotify" ,libnotify)
11347 ("libsoup" ,libsoup)
11349 ("openldap" ,openldap)
11350 ("webkitgtk" ,webkitgtk-with-libsoup2) ; because of evolution-data-server
11352 (home-page "https://gitlab.gnome.org/GNOME/evolution")
11353 (synopsis "Manage your email, contacts and schedule")
11354 (description "Evolution is a personal information management application
11355 that provides integrated mail, calendaring and address book
11357 ;; See COPYING for details.
11358 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
11359 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
11360 license:lgpl2.1+)))) ; smime/lib/*
11362 (define-public gthumb
11368 (uri (string-append "mirror://gnome/sources/gthumb/"
11369 (version-major+minor version) "/"
11370 "gthumb-" version ".tar.xz"))
11373 "09flm8s6jrvfya2ypw5873mnnani8ssy7wdv3ra1cljk4bjszy4p"))))
11374 (build-system meson-build-system)
11376 `(#:glib-or-gtk? #t
11378 ;; Ensure the RUNPATH contains all installed library locations.
11379 (list (string-append "-Dc_link_args=-Wl,-rpath="
11380 (assoc-ref %outputs "out")
11381 "/lib/gthumb/extensions")
11382 (string-append "-Dcpp_link_args=-Wl,-rpath="
11383 (assoc-ref %outputs "out")
11384 "/lib/gthumb/extensions"))))
11386 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11387 ("glib:bin" ,glib "bin") ; for glib-compile-resources
11388 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11389 ("intltool" ,intltool)
11390 ("itstool" ,itstool)
11391 ("pkg-config" ,pkg-config)
11392 ("python" ,python)))
11394 `(("clutter" ,clutter)
11395 ("clutter-gst" ,clutter-gst)
11396 ("clutter-gtk" ,clutter-gtk)
11399 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11400 ("gstreamer" ,gstreamer)
11402 ("libheif" ,libheif)
11403 ("libjpeg" ,libjpeg-turbo)
11405 ("librsvg" ,librsvg)
11406 ("libtiff" ,libtiff)
11407 ("libwebp" ,libwebp)))
11408 (home-page "https://wiki.gnome.org/Apps/Gthumb")
11409 (synopsis "GNOME image viewer and browser")
11410 (description "GThumb is an image viewer, browser, organizer, editor and
11411 advanced image management tool")
11412 (license license:gpl2+)))
11414 (define-public terminator
11416 (name "terminator")
11421 (uri (string-append "https://github.com/gnome-terminator/terminator/"
11422 "releases/download/v" version "/"
11423 name "-" version ".tar.gz"))
11425 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
11426 (build-system python-build-system)
11428 `(("gettext" ,gettext-minimal)
11429 ("glib:bin" ,glib "bin") ; for glib-compile-resources
11430 ("gobject-introspection" ,gobject-introspection)
11431 ("intltool" ,intltool)
11432 ("pkg-config" ,pkg-config)
11433 ("python-psutil" ,python-psutil)
11434 ("python-pytest-runner" ,python-pytest-runner)
11435 ("python-pytest" ,python-pytest)))
11438 ("dbus-glib" ,dbus-glib)
11439 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11441 ("python" ,python-wrapper)
11442 ("python-dbus" ,python-dbus)
11443 ("python-notify2" ,python-notify2)
11444 ("python-pycairo" ,python-pycairo)
11445 ("python-pygobject" ,python-pygobject)
11448 (list python-configobj))
11450 ;; One test out of 28 fails due to dbus-python and python-notify; skip
11453 #:imported-modules ((guix build glib-or-gtk-build-system)
11454 ,@%python-build-system-modules)
11455 #:modules ((guix build python-build-system)
11456 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
11457 (guix build utils))
11459 (modify-phases %standard-phases
11460 (add-after 'unpack 'handle-dbus-python
11462 ;; python-dbus cannot be found but it's really there. See
11463 ;; https://github.com/SpotlightKid/jack-select/issues/2
11464 (substitute* "setup.py"
11465 (("'dbus-python',") ""))))
11466 (add-after 'install 'wrap-program
11467 (lambda* (#:key outputs #:allow-other-keys)
11468 (let ((prog (string-append (assoc-ref outputs "out")
11469 "/bin/terminator"))
11470 (pylib (string-append (assoc-ref outputs "out")
11472 ,(version-major+minor
11473 (package-version python))
11474 "/site-packages")))
11476 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
11477 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))
11478 (add-after 'wrap-program 'glib-or-gtk-wrap
11479 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
11480 (home-page "https://gnome-terminator.org/")
11481 (synopsis "Store and run multiple GNOME terminals in one window")
11483 "Terminator allows you to run multiple GNOME terminals in a grid and
11484 tabs, and it supports drag and drop re-ordering of terminals.")
11485 (license license:gpl2)))
11487 (define-public libhandy
11494 (uri (git-reference
11495 (url "https://gitlab.gnome.org/GNOME/libhandy")
11497 (file-name (git-file-name name version))
11499 (base32 "1z8sbx7g19c1p8dy0sn0l25qfvrd2j28h269lsqm1y98r818h2k1"))))
11500 (build-system meson-build-system)
11502 `(#:configure-flags
11503 '("-Dglade_catalog=enabled"
11504 ;; XXX: Generating the documentation fails because the
11505 ;; libhandy.devhelp2 document cannot be created. This seems to be
11506 ;; caused by a problem during the XSL transformation.
11509 (modify-phases %standard-phases
11510 (add-after 'unpack 'patch-docbook-xml
11511 (lambda* (#:key inputs #:allow-other-keys)
11515 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
11516 (search-input-file inputs
11517 "/xml/dtd/docbook/docbookx.dtd"))))
11518 (find-files "doc" "\\.xml"))))
11519 (add-before 'check 'pre-check
11521 ;; Tests require a running X server.
11522 (system "Xvfb :1 &")
11523 (setenv "DISPLAY" ":1"))))))
11525 (list gtk+ glade3))
11527 (list gobject-introspection ; for g-ir-scanner
11538 ;; Test suite dependencies.
11540 xorg-server-for-tests))
11541 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11542 (synopsis "Library full of GTK+ widgets for mobile phones")
11543 (description "The aim of the handy library is to help with developing user
11544 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11545 for usage on small and big screens.")
11546 (license license:lgpl2.1+)))
11548 (define-public libhandy-0.0
11555 (uri (git-reference
11556 (url "https://gitlab.gnome.org/GNOME/libhandy")
11557 (commit (string-append "v" version))))
11558 (file-name (git-file-name "libhandy" version))
11560 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11562 (substitute-keyword-arguments (package-arguments libhandy)
11563 ((#:configure-flags flags)
11564 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11566 (define-public libgit2-glib
11568 (name "libgit2-glib")
11569 (version "1.0.0.1")
11572 (uri (string-append "mirror://gnome/sources/" name "/"
11573 (version-major+minor version) "/"
11574 name "-" version ".tar.xz"))
11577 "0mrb21cgqmbhbxqxwx76yry1ifqj1k4vy6455n6s034m6rlms2j6"))))
11578 (build-system meson-build-system)
11580 (list `(,glib "bin") ;; For glib-mkenums
11581 gobject-introspection
11587 (list glib libssh2))
11589 (list ;; In Requires of libgit2-glib.pc.
11591 (synopsis "GLib wrapper around the libgit2 Git access library")
11592 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11593 access library. It only implements the core plumbing functions, not really the
11594 higher level porcelain stuff.")
11595 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11596 (license license:gpl2+)))
11598 (define-public gitg
11604 (uri (string-append "mirror://gnome/sources/" name "/"
11605 (version-major version) "/"
11606 name "-" version ".tar.xz"))
11609 "0aa6djcf7rjw0q688mfy47k67bbjpnx6aw1xs94abfhgn6gipdkz"))))
11610 (build-system meson-build-system)
11615 #~(modify-phases %standard-phases
11616 (add-after 'unpack 'disable-post-install-partially
11618 (substitute* "meson_post_install.py"
11619 (("'python'") ; there are no python sources to compile
11620 (string-append "'" (which "true") "'"))
11621 (("gtk-update-icon-cache") (which "true")))))
11622 (add-after 'unpack 'fix-test-sources
11624 (substitute* "tests/libgitg/test-commit.vala"
11625 (("/bin/bash") (which "bash")))))
11626 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11627 (lambda* (#:key outputs #:allow-other-keys)
11628 (let ((prog (string-append #$output "/bin/gitg")))
11630 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
11633 gsettings-desktop-schemas
11646 (list `(,glib "bin")
11648 gobject-introspection
11653 (synopsis "Graphical user interface for git")
11655 "gitg is a graphical user interface for git. It aims at being a small,
11656 fast and convenient tool to visualize the history of git repositories.
11657 Besides visualization, gitg also provides several utilities to manage your
11658 repository and commit your work.")
11659 (home-page "https://wiki.gnome.org/Apps/Gitg")
11660 (license license:gpl2+)))
11662 (define-public gamin
11668 (uri (string-append "mirror://gnome/sources/" name "/"
11669 (version-major+minor version) "/"
11670 name "-" version ".tar.bz2"))
11673 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11674 (build-system gnu-build-system)
11677 (modify-phases %standard-phases
11678 ;; The 'config.sub' is too old to recognise aarch64.
11679 ,@(if (and=> (%current-target-system) target-aarch64?)
11680 `((add-after 'unpack 'replace-config.sub
11682 (delete-file "config.sub")
11683 (symlink (which "config.sub") "config.sub"))))
11685 (add-after 'unpack 'remove-deprecated-macro
11687 (substitute* '("server/gam_node.c"
11688 "server/gam_subscription.h"
11689 "server/gam_node.h"
11690 "server/gam_subscription.c")
11691 (("G_CONST_RETURN") "const"))
11693 ;; The configure script runs a test program unconditionally,
11694 ;; without an option to manually set the test result.
11695 ;; Override this test anyway.
11696 ,@(if (%current-target-system)
11697 `((add-after 'bootstrap 'set-have-abstract-sockets
11699 (define in-abstract-sockets-test? #f)
11700 (substitute* "configure"
11701 (("^#### Abstract sockets\n$")
11702 (set! in-abstract-sockets-test? #t)
11703 "#### Abstract sockets\n")
11704 (("^have_abstract_sockets=no\n$")
11705 (set! in-abstract-sockets-test? #f)
11706 ;; ‘Abstract sockets’ appear to be Linux-only.
11707 (string-append "have_abstract_sockets="
11708 ,(if (target-linux?)
11711 "\nif false; then\nif false; then :\n"))
11713 (if in-abstract-sockets-test?
11720 `(("pkg-config" ,pkg-config)
11721 ,@(if (and=> (%current-target-system) target-aarch64?)
11722 `(("config" ,config))
11724 (home-page "https://people.gnome.org/~veillard/gamin/")
11725 (synopsis "File alteration monitor")
11727 "Gamin is a file and directory monitoring system defined to be a subset
11728 of the FAM (File Alteration Monitor) system. This is a service provided by a
11729 library which detects when a file or a directory has been modified.")
11730 (license license:gpl2+)))
11732 (define-public gnome-mahjongg
11734 (name "gnome-mahjongg")
11738 (uri (string-append "mirror://gnome/sources/" name "/"
11739 (version-major+minor version) "/" name "-"
11740 version ".tar.xz"))
11743 "144ia3zn9rhwa1xbdkvsz6m0dsysl6mxvqw9bnrlh845hmyy9cfj"))))
11744 (build-system meson-build-system)
11746 `(#:meson ,meson-0.59
11747 #:glib-or-gtk? #t))
11749 `(("appstream-glib" ,appstream-glib)
11750 ("gettext" ,gettext-minimal)
11751 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11752 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11753 ("itstool" ,itstool)
11754 ("pkg-config" ,pkg-config)
11760 (synopsis "Mahjongg tile-matching game")
11761 (description "GNOME Mahjongg is a game based on the classic Chinese
11762 tile-matching game Mahjongg. It features multiple board layouts, tile themes,
11763 and a high score table.")
11764 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11765 (license license:gpl2+)))
11767 (define-public gnome-themes-extra
11769 (name "gnome-themes-extra")
11774 (uri (string-append "mirror://gnome/sources/" name "/"
11775 (version-major+minor version) "/" name "-"
11776 version ".tar.xz"))
11779 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11780 (build-system gnu-build-system)
11782 '(#:configure-flags
11783 ;; Don't create 'icon-theme.cache'.
11784 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11785 (true (string-append coreutils "/bin/true")))
11786 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11788 `(("glib:bin" ,glib "bin")
11789 ("intltool" ,intltool)
11790 ("pkg-config" ,pkg-config)))
11795 ("librsvg" ,librsvg)
11796 ("libxml2" ,libxml2)))
11797 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11798 (synopsis "GNOME Extra Themes")
11799 (description "This package provides themes and related elements that don't
11800 really fit in other upstream packages. It offers legacy support for GTK+ 2
11801 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11802 index files needed for Adwaita to be used outside of GNOME.")
11803 (license license:lgpl2.1+)))
11805 (define-public gnome-themes-standard
11806 (deprecated-package "gnome-themes-standard" gnome-themes-extra))
11808 (define-public gnote
11815 (uri (string-append "mirror://gnome/sources/" name "/"
11816 (version-major version) "/"
11817 "gnote-" version ".tar.xz"))
11819 (base32 "0gs2j988rwfrxckb8qxlkyxnvqsv30q32myqish6hssfa51yzc11"))))
11820 (build-system meson-build-system)
11822 `(#:glib-or-gtk? #t
11823 #:phases (modify-phases %standard-phases
11824 (add-after 'unpack 'skip-gtk-update-icon-cache
11825 ;; Don't create 'icon-theme.cache'.
11827 (substitute* "post-install.py"
11828 (("gtk-update-icon-cache") "true")))))))
11830 (list desktop-file-utils
11832 gobject-introspection
11839 gsettings-desktop-schemas
11844 `(,util-linux "lib")
11847 (synopsis "Note-taking application for the GNOME desktop")
11848 (description "Gnote is a note-taking application written for the GNOME
11849 desktop environment.")
11850 (home-page "https://wiki.gnome.org/Apps/Gnote")
11851 (license license:gpl3+)))
11853 (define-public polari
11859 (uri (string-append "mirror://gnome/sources/polari/"
11860 (version-major version)
11861 "/polari-" version ".tar.xz"))
11864 "1ss0x8idwar1q9p9535kzqb8idy7k2r48vrbjiyccw03cs0mzc53"))))
11865 (build-system meson-build-system)
11867 `(#:glib-or-gtk? #t
11869 (modify-phases %standard-phases
11870 (add-after 'unpack 'skip-gtk-update-icon-cache
11872 (substitute* "meson/meson-postinstall.sh"
11873 (("gtk-update-icon-cache") (which "true")))))
11874 (add-after 'install 'fix-desktop-file
11875 ;; Hardcode launcher to be on the safe side
11876 (lambda* (#:key outputs #:allow-other-keys)
11877 (let ((out (assoc-ref outputs "out")))
11878 (substitute* (string-append out "/share/applications/"
11879 "org.gnome.Polari.desktop")
11880 (("Exec=.*") (string-append "Exec=" out "/bin/polari\n"))))))
11881 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11882 (lambda* (#:key outputs #:allow-other-keys)
11883 (let ((prog (string-append (assoc-ref outputs "out")
11886 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
11889 gsettings-desktop-schemas
11898 (list `(,glib "bin")
11899 gobject-introspection
11904 (list telepathy-idle telepathy-mission-control))
11905 (synopsis "Simple IRC Client")
11907 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11908 integrate seamlessly with the GNOME desktop.")
11909 (home-page "https://wiki.gnome.org/Apps/Polari")
11910 (license license:gpl2+)))
11912 (define-public gnome-boxes
11914 (name "gnome-boxes")
11919 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11920 (version-major version) "/"
11921 "gnome-boxes-" version ".tar.xz"))
11923 (base32 "1lv0bdh935qj6wkv3ixg2pcv8yrapj79z02gw4fal3rhz3xggvsn"))))
11924 (build-system meson-build-system)
11926 (list #:glib-or-gtk? #t
11927 #:configure-flags #~(list "-Drdp=false"
11928 (string-append "-Dc_link_args=-Wl,-rpath="
11930 "/lib/gnome-boxes"))
11931 #:phases #~(modify-phases %standard-phases
11932 (add-after 'unpack 'disable-gtk-update-icon-cache
11934 (setenv "DESTDIR" "/"))))))
11936 (list desktop-file-utils ;for update-desktop-database
11938 `(,glib "bin") ;for glib-compile-resources
11944 (list glib-networking ;for TLS support
11945 gsettings-desktop-schemas
11964 webkitgtk-with-libsoup2)) ;for webkit2gtk-4.0
11965 (home-page "https://wiki.gnome.org/Apps/Boxes")
11966 (synopsis "View, access, and manage remote and virtual systems")
11967 (description "GNOME Boxes is a simple application to view, access, and
11968 manage remote and virtual systems. Note that this application requires the
11969 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11970 @command{info '(guix) Virtualization Services'} to learn how to configure
11971 these services on the Guix System.")
11973 ;; For data/icons/empty-boxes.png.
11976 license:lgpl2.0+))))
11978 (define-public geary
11984 (uri (git-reference
11985 (url "https://gitlab.gnome.org/GNOME/geary.git")
11986 (commit (string-append "gnome-" version))))
11987 (file-name (git-file-name name version))
11990 "04hvw86r8sczvjm1z3ls5y5y5h6nyfb648rjkfx05ib00mqq5v1x"))))
11991 (build-system meson-build-system)
11993 `(#:glib-or-gtk? #t
11995 '("-Dprofile=release")
11996 #:phases (modify-phases %standard-phases
11997 (add-after 'unpack 'disable-failing-tests
11999 (substitute* "test/test-client.vala"
12000 (("client.add_suite\\(new Application.CertificateManagerTest\\(\\).suite\\);")
12002 (add-after 'unpack 'generate-vapis
12003 (lambda* (#:key inputs #:allow-other-keys)
12004 ;; It’s not possible to generate the GMime vapi, because
12005 ;; there’s custom metadata that gmime didn’t
12006 ;; install. Thus, the vapi should be built and installed
12009 (assoc-ref inputs "gmime"))
12010 (copy-file (string-append gmime "/share/vala/vapi/gmime-3.0.vapi")
12011 "bindings/vapi/gmime-3.0.vapi")))
12012 (add-after 'unpack 'disable-postinstall-script
12014 (substitute* "build-aux/post_install.py"
12015 (("gtk-update-icon-cache")
12017 (add-before 'check 'setup-home
12019 ;; Tests require a writable HOME.
12020 (setenv "HOME" (getcwd))))
12021 (add-before 'check 'setup-xvfb
12023 (system "Xvfb :1 &")
12024 (setenv "DISPLAY" ":1"))))))
12031 gnome-online-accounts
12032 gsettings-desktop-schemas
12046 webkitgtk-with-libsoup2
12049 (list appstream-glib
12056 gobject-introspection
12057 gsettings-desktop-schemas
12064 xorg-server-for-tests))
12065 (synopsis "GNOME email application built around conversations")
12067 "Geary collects related messages together into conversations,
12068 making it easy to find and follow your discussions. Full-text and keyword
12069 search makes it easy to find the email you are looking for. Geary's
12070 full-featured composer lets you send rich, styled text with images, links, and
12071 lists, but also send lightweight, easy to read text messages. Geary
12072 automatically picks up your existing GNOME Online Accounts, and adding more is
12073 easy. Geary has a clean, fast, modern interface that works like you want it
12075 (home-page "https://wiki.gnome.org/Apps/Geary")
12081 license:cc-by-sa3.0
12082 license:public-domain
12086 (define-public glabels
12093 (uri (string-append "mirror://gnome/sources/" name "/"
12094 (version-major+minor version) "/"
12095 "glabels-" version ".tar.xz"))
12097 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
12098 (build-system glib-or-gtk-build-system)
12100 `(("gettext" ,gettext-minimal)
12101 ("glib:bin" ,glib "bin")
12102 ("intltool" ,intltool)
12103 ("itstool" ,itstool)
12104 ("pkg-config" ,pkg-config)))
12106 (list gtk+ librsvg libxml2))
12108 `(#:configure-flags '("CFLAGS=-fcommon")))
12109 (home-page "https://glabels.org/")
12110 (synopsis "Program for creating labels and business cards")
12112 "gLabels is a program for creating labels and business cards. It is
12113 designed to work with various laser/ink-jet peel-off label and business
12114 card sheets that you’ll find at most office supply stores.")
12115 (license license:gpl3+)))
12117 (define-public gnome-latex
12119 (name "gnome-latex")
12124 (uri (string-append "mirror://gnome/sources/" name "/"
12125 (version-major+minor version) "/"
12126 "gnome-latex-" version ".tar.xz"))
12128 (base32 "0cynhmrn99f4f3kddczsc58ak4b9sv2zkfbcyz7z16848nhz047k"))))
12129 (build-system glib-or-gtk-build-system)
12131 (list gettext-minimal
12133 gobject-introspection
12145 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
12146 (synopsis "LaTeX editor for the GNOME desktop")
12148 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
12149 such as build tools, completion of LaTeX commands, structure navigation,
12150 symbol tables, document templates, project management, spell-checking, menus
12152 (license license:gpl3+)))
12154 (define-public setzer
12161 (uri (git-reference
12162 (url "https://github.com/cvfosammmm/Setzer")
12163 (commit (string-append "v" version))))
12164 (file-name (git-file-name name version))
12166 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
12167 (build-system meson-build-system)
12169 `(#:glib-or-gtk? #t
12171 (modify-phases %standard-phases
12172 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12173 (lambda* (#:key outputs #:allow-other-keys)
12174 (let ((prog (string-append (assoc-ref outputs "out")
12176 (pylib (string-append (assoc-ref outputs "out")
12178 ,(version-major+minor
12179 (package-version python))
12180 "/site-packages")))
12182 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
12183 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12186 `(("desktop-file-utils" ,desktop-file-utils)
12187 ("gettext" ,gettext-minimal)
12188 ("glib:bin" ,glib "bin")
12189 ("gobject-introspection" ,gobject-introspection)
12190 ("gtk+:bin" ,gtk+ "bin")
12191 ("python-wrapper" ,python-wrapper)))
12193 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12196 ("gtksourceview" ,gtksourceview)
12198 ("poppler" ,poppler)
12199 ("python-pdfminer" ,python-pdfminer-six)
12200 ("python-pycairo" ,python-pycairo)
12201 ("python-pygobject" ,python-pygobject)
12202 ("python-pyxdg" ,python-pyxdg)
12203 ("webkitgtk" ,webkitgtk)
12204 ("xdg-utils" ,xdg-utils)))
12205 (home-page "https://www.cvfosammmm.org/setzer/")
12206 (synopsis "LaTeX editor written in Python with GTK+")
12208 "Setzer is a simple yet full-featured LaTeX editor written in Python with
12209 GTK+. It integrates well with the GNOME desktop environment.")
12210 (license license:gpl3+)))
12212 (define-public apostrophe
12214 (name "apostrophe")
12218 (uri (git-reference
12219 (url "https://gitlab.gnome.org/somas/apostrophe")
12220 (commit (string-append "v" version))))
12221 (file-name (git-file-name name version))
12224 "06yfiflmj3ip7ppcz41nb3xpgb5ggw5h74w0v87yaqqkq7qh31lp"))))
12225 (build-system meson-build-system)
12227 `(#:glib-or-gtk? #t
12228 #:meson ,meson-0.59 ;fails with 0.60
12230 (modify-phases %standard-phases
12231 (add-after 'unpack 'patch-meson
12233 (substitute* "build-aux/meson_post_install.py"
12234 (("gtk-update-icon-cache") "true"))))
12235 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12236 (lambda* (#:key inputs outputs #:allow-other-keys)
12237 (let ((prog (string-append (assoc-ref outputs "out")
12238 "/bin/apostrophe"))
12239 (pylib (string-append (assoc-ref outputs "out")
12241 ,(version-major+minor
12243 (this-package-input "python")))
12244 "/site-packages")))
12246 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
12247 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
12248 `("PATH" prefix (,(dirname
12249 (search-input-file inputs
12250 "/bin/pandoc")))))))))))
12253 gobject-introspection
12266 webkitgtk-with-libsoup2))
12268 (list gettext-minimal
12272 (home-page "https://gitlab.gnome.org/somas/apostrophe")
12273 (synopsis "Markdown editor written in Python with GTK+")
12274 (description "Apostrophe is a GTK+ based distraction-free Markdown editor.
12275 It uses pandoc as back-end for parsing Markdown.")
12276 (license license:gpl3)))
12278 (define-public libratbag
12285 (uri (git-reference
12286 (url "https://github.com/libratbag/libratbag")
12287 (commit (string-append "v" version))))
12288 (file-name (git-file-name name version))
12290 (base32 "0jjf6xc3a37icp5dvbxla3ai9is2ns31m0llbfq1bmb6dk8cd4n0"))))
12291 (build-system meson-build-system)
12293 `(#:configure-flags
12294 (list "-Dsystemd=false"
12295 "-Dlogind-provider=elogind"
12296 ,@(if (not (package? (this-package-native-input "valgrind")))
12297 `("-Dtests=false") ; Some tests still run.
12300 (modify-phases %standard-phases
12301 (add-after 'install 'wrap
12302 (lambda* (#:key inputs outputs #:allow-other-keys)
12303 (let* ((out (assoc-ref outputs "out"))
12304 (site (string-append
12306 ,(version-major+minor (package-version python))
12308 (evdev (string-append
12309 (assoc-ref inputs "python-evdev") site))
12310 (pygo (string-append
12311 (assoc-ref inputs "python-pygobject") site))
12313 `("GUIX_PYTHONPATH" = (,evdev ,pygo))))
12314 (wrap-program (string-append out "/bin/" "ratbagctl")
12319 (list check pkg-config swig)
12320 (if (member (%current-system) (package-supported-systems valgrind))
12325 ("json-glib" ,json-glib)
12326 ("libevdev" ,libevdev)
12327 ("libsystemd" ,elogind)
12328 ("libunistring" ,libunistring)
12330 ("python-evdev" ,python-evdev)
12331 ("python-pygobject" ,python-pygobject)
12333 (home-page "https://github.com/libratbag/libratbag")
12334 (synopsis "DBus daemon and utility for configuring gaming mice")
12335 (description "libratbag provides @command{ratbagd}, a DBus daemon to
12336 configure input devices, mainly gaming mice. The daemon provides a generic
12337 way to access the various features exposed by these mice and abstracts away
12338 hardware-specific and kernel-specific quirks. There is also the
12339 @command{ratbagctl} command line interface for configuring devices.
12341 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
12344 The ratbagd DBus service can be enabled by adding the following service to
12345 your operating-system definition:
12347 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
12348 (license license:expat)))
12350 (define-public piper
12357 (uri (git-reference
12358 (url "https://github.com/libratbag/piper")
12361 (base32 "0jsvfy0ihdcgnqljfgs41lys1nlz18qvsa0a8ndx3pyr41f8w8wf"))
12362 (file-name (git-file-name name version))))
12363 (build-system meson-build-system)
12368 gobject-introspection
12372 (list adwaita-icon-theme
12382 (list #:glib-or-gtk? #t
12384 #~(modify-phases %standard-phases
12385 (add-after 'unpack 'dont-update-gtk-icon-cache
12387 (substitute* "meson.build"
12388 (("meson.add_install_script('meson_install.sh')") ""))))
12389 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12391 (let ((pylib (string-append #$output
12393 #$(version-major+minor
12394 (package-version python))
12395 "/site-packages")))
12397 (string-append #$output "/bin/piper")
12398 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
12399 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))
12400 (add-before 'check 'flake8-config
12402 ;; Make sure the tests use the local flake8 config
12403 (symlink (string-append #$source "/.flake8") ".flake8"))))))
12404 (home-page "https://github.com/libratbag/piper/")
12405 (synopsis "Configure bindings and LEDs on gaming mice")
12406 (description "Piper is a GTK+ application for configuring gaming mice with
12407 onboard configuration for key bindings via libratbag. Piper requires
12408 a @command{ratbagd} daemon running with root privileges. It can be run
12409 manually as root, but is preferably configured as a DBus service that can
12410 launch on demand. This can be configured by enabling the following service,
12411 provided there is a DBus service present:
12413 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
12414 (license license:gpl2)))
12416 (define-public parlatype
12423 (uri (git-reference
12424 (url "https://github.com/gkarsay/parlatype")
12425 (commit (string-append "v" version))))
12426 (file-name (git-file-name name version))
12428 (base32 "0cqrzbkyksfsm57riirmjkwf2nf2dgl1xpps1wvqxpij475qcb9b"))))
12429 (build-system meson-build-system)
12431 `(#:glib-or-gtk? #t
12432 #:tests? #f ;require internet access
12434 (modify-phases %standard-phases
12435 (add-after 'unpack 'skip-gtk-update-icon-cache
12437 (substitute* "data/meson_post_install.py"
12438 (("gtk-update-icon-cache") "true"))))
12439 (add-after 'install 'wrap-parlatype
12440 ;; Add gstreamer plugin provided in this package to system's
12442 (lambda* (#:key outputs #:allow-other-keys)
12443 (let* ((out (assoc-ref outputs "out"))
12444 (gst-plugin-path (string-append
12445 out "/lib/gstreamer-1.0/"
12447 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
12448 (wrap-program (string-append out "/bin/parlatype")
12449 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path)))))))))
12451 (list appstream-glib
12452 desktop-file-utils ;for desktop-file-validate
12454 `(,glib "bin") ;for glib-compile-resources
12458 (list gst-plugins-base
12466 (home-page "https://www.parlatype.org")
12467 (synopsis "GNOME audio player for transcription")
12468 (description "Parlatype is an audio player for the GNOME desktop
12469 environment. Its main purpose is the manual transcription of spoken
12471 (license license:gpl3+)))
12473 (define-public jsonrpc-glib
12475 (name "jsonrpc-glib")
12479 (uri (string-append "mirror://gnome/sources/" name "/"
12480 (version-major+minor version) "/"
12481 name "-" version ".tar.xz"))
12484 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
12485 (build-system meson-build-system)
12487 (list json-glib glib))
12490 `(,glib "bin") ; for glib-genmarshal, etc.
12491 gobject-introspection vala))
12492 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
12493 (synopsis "JSON-RPC library for GLib")
12494 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
12495 peers in either a synchronous or asynchronous fashion. It also allows
12496 communicating using the GVariant serialization format instead of JSON when
12497 both peers support it. You might want that when communicating on a single
12498 host to avoid parser overhead and memory-allocator fragmentation.")
12499 (license license:lgpl2.1+)))
12501 (define-public feedbackd
12504 (version "0.0.0+git20200527")
12507 (uri (git-reference
12508 (url "https://source.puri.sm/Librem5/feedbackd.git")
12509 (commit (string-append "v" version))))
12510 (file-name (git-file-name name version))
12513 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
12514 (build-system meson-build-system)
12516 (list `(,glib "bin") gobject-introspection pkg-config vala))
12518 (list dbus gsound json-glib libgudev))
12520 (list glib)) ; in Requires of libfeedback-0.0.pc
12521 (synopsis "Haptic/visual/audio feedback via DBus")
12522 (description "Feedbackd provides a DBus daemon to act on events to provide
12523 haptic, visual and audio feedback. It offers the libfeedbackd library and
12524 GObject introspection bindings.")
12525 (home-page "https://source.puri.sm/Librem5/feedbackd")
12526 (license (list license:lgpl2.1+ ; libfeedbackd
12527 license:lgpl3+)))) ; the rest
12529 (define-public sysprof
12536 (uri (string-append "mirror://gnome/sources/sysprof/"
12537 (version-major+minor version) "/"
12538 "sysprof-" version ".tar.xz"))
12540 (base32 "0nq0icbln0ryqzlybr7wyl19mhr3vkqzs6wasn430fwpf5drypdb"))))
12541 (build-system meson-build-system)
12545 #~(list (string-append "-Dsystemdunitdir=" #$output "/share/systemd"))
12547 #~(modify-phases %standard-phases
12548 (add-after 'unpack 'patch-install-script
12550 (substitute* "build-aux/meson/post_install.sh"
12551 (("gtk-update-icon-cache") "true")
12552 (("update-desktop-database") "true")))))))
12563 (list gettext-minimal
12564 `(,glib "bin") ;for gdbus-codegen, etc.
12568 ;; This home page is so woefully out of date as to be essentially useless.
12569 ;; (home-page "http://www.sysprof.com")
12570 (home-page "https://wiki.gnome.org/Apps/Sysprof")
12571 (synopsis "System-wide performance profiler for GNU/Linux")
12573 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
12574 GNU/Linux system including the kernel and all user-space applications. This
12575 helps find the function(s) in which a program spends most of its time.
12577 It uses the kernel's built-in @code{ptrace} feature and handles shared
12578 libraries. Applications do not need to be recompiled--or even restarted.")
12579 (license license:gpl3+)))
12581 (define-public gnome-builder
12583 (name "gnome-builder")
12587 (uri (string-append "mirror://gnome/sources/" name "/"
12588 (version-major version) "/"
12589 name "-" version ".tar.xz"))
12592 "04p031i999dccbnlbysmr6f93x7dji7b559j6yhdsqbqgxb7ncan"))
12594 (search-patches "gnome-builder-update-libportal.patch"))))
12595 (build-system meson-build-system)
12598 #:glib-or-gtk? #t ;To wrap binaries and compile schemas
12600 #~(list "-Dnetwork_tests=false"
12601 ;; TODO: Enable all plugins...
12602 ;; Flatpak plugin wants libsoup 2
12603 "-Dplugin_flatpak=false"
12604 ;; ... except this one.
12605 "-Dplugin_update_manager=false")
12607 #~(modify-phases %standard-phases
12608 (add-after 'unpack 'patch-meson
12609 (lambda* (#:key inputs #:allow-other-keys)
12610 (substitute* "build-aux/meson/post_install.py"
12611 (("gtk-update-icon-cache") "true")
12612 (("update-desktop-database") "true"))
12613 (substitute* "src/libide/meson.build"
12614 (("/usr/lib") (string-append (assoc-ref inputs
12615 "python-pygobject")
12617 (add-after 'configure 'fix-ninja
12619 ;; #43296: meson(?) incorrectly assumes we want to link
12620 ;; this PIE against a static libselinux.
12621 (substitute* "build.ninja"
12622 (("libselinux\\.a") "libselinux.so"))))
12623 (add-before 'check 'pre-check
12625 (system "Xvfb :1 &")
12626 (setenv "DISPLAY" ":1"))))))
12627 (inputs (list cmark
12629 devhelp-with-libsoup2
12646 webkitgtk-with-libsoup2))
12647 (propagated-inputs (list gtksourceview)) ; needed for settings
12648 (native-inputs (list desktop-file-utils ; for desktop-file-validate
12652 python ; for meson scripts
12654 xorg-server-for-tests))
12655 (home-page "https://wiki.gnome.org/Apps/Builder")
12656 (synopsis "Toolsmith for GNOME-based applications")
12658 "Builder aims to be an integrated development environment (IDE) for
12659 writing GNOME-based software. It features fuzzy search, auto-completion,
12660 a mini code map, documentation browsing, Git integration, an integrated
12661 profiler via Sysprof, debugging support, and more.")
12662 (license license:gpl3+)))
12664 (define-public komikku
12671 (uri (git-reference
12672 (url "https://gitlab.com/valos/Komikku/")
12673 (commit (string-append "v" version))))
12674 (file-name (git-file-name name version))
12677 "17r059srxrx26w40swy47pdpyigyjdczp8550g4rfh86qs3ld4il"))))
12678 (build-system meson-build-system)
12680 `(#:glib-or-gtk? #t
12682 (modify-phases %standard-phases
12683 (add-after 'unpack 'patch-sources
12685 (substitute* "komikku/utils.py"
12686 (("from komikku\\.servers import get_servers_list")
12687 ;; code following that line should migrate old databases
12688 ;; but the line itself results in an import error
12689 "return data_dir_path"))))
12690 (add-after 'unpack 'skip-gtk-update-icon-cache
12692 (substitute* "meson_post_install.py"
12693 (("gtk-update-icon-cache") (which "true")))
12695 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12696 (lambda* (#:key outputs #:allow-other-keys)
12697 (let ((prog (string-append (assoc-ref outputs "out")
12700 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
12701 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12709 python-beautifulsoup4
12711 python-cloudscraper
12718 python-pure-protobuf
12723 webkitgtk-with-libsoup2))
12725 (list desktop-file-utils
12728 gobject-introspection
12730 (home-page "https://gitlab.com/valos/Komikku")
12731 (synopsis "Manga reader for GNOME")
12732 (description "Komikku is an online/offline manga reader for GNOME,
12733 developed with the aim of being used with the Librem 5 phone.")
12734 (license license:gpl3+)))
12736 (define-public libgda
12743 (uri (string-append "mirror://gnome/sources/" name "/"
12744 (version-major+minor version) "/"
12745 name "-" version ".tar.xz"))
12747 (base32 "0w564z7krgjk19r39mi5qn4kggpdg9ggbyn9pb4aavb61r14npwr"))
12748 (patches (search-patches "libgda-cve-2021-39359.patch"
12749 "libgda-fix-build.patch"
12750 "libgda-fix-missing-initialization.patch"
12751 "libgda-skip-postgresql-tests.patch"))))
12752 (build-system meson-build-system)
12759 gobject-introspection
12776 (list libxml2)) ; required by libgda-5.0.pc
12777 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12778 (synopsis "Uniform data access")
12780 "GNU Data Access (GDA) is an attempt to provide uniform access to
12781 different kinds of data sources (databases, information servers, mail spools,
12782 etc). It is a complete architecture that provides all you need to access
12784 (license license:lgpl2.1+)))
12786 (define-public gtranslator
12788 (name "gtranslator")
12792 (uri (string-append "mirror://gnome/sources/" name "/"
12793 (version-major version) "/"
12794 name "-" version ".tar.xz"))
12797 "0fzi48s3wz9mf6c1ndpkby83bgshgn2116nqjq31n1j3wszvqrra"))))
12798 (build-system meson-build-system)
12800 (list #:build-type "release" ;otherwise it tries to fetch stuff via git
12803 #~(modify-phases %standard-phases
12804 (add-after 'unpack 'skip-gtk-update-icon-cache
12806 (substitute* "build-aux/meson/meson_post_install.py"
12807 (("gtk-update-icon-cache") (which "true"))))))))
12809 (list `(,glib-next "bin")
12818 gsettings-desktop-schemas
12825 (list gtksourceview-4)) ; required for source view
12826 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12827 (synopsis "Translation making program")
12829 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12830 for the GNOME 3.x platform with many features. It aims to be a very complete
12831 editing environment for translation issues within the GNU gettext/GNOME desktop
12833 (license license:gpl3+)))
12836 (define-public ocrfeeder
12842 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12843 (version-major+minor version) "/"
12844 "ocrfeeder-" version ".tar.xz"))
12847 "1vaaphzk6zn7pp2x9scphdzlbsma910wnbhd9xry50nx95cjlgdh"))))
12848 (build-system gnu-build-system)
12851 (modify-phases %standard-phases
12853 'install 'wrap-program
12854 (lambda* (#:key outputs #:allow-other-keys)
12855 (let ((prog (string-append (assoc-ref outputs "out")
12856 "/bin/" "ocrfeeder"))
12857 (pylib (string-append (assoc-ref outputs "out")
12859 ,(version-major+minor
12860 (package-version python))
12861 "/site-packages")))
12863 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
12864 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
12866 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12867 ("gobject-introspection" ,gobject-introspection)
12868 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12869 ("intltool" ,intltool)
12870 ("itstool" ,itstool)
12871 ("pkg-config" ,pkg-config)
12872 ("xmllint" ,libxml2)))
12874 `(("enchant" ,enchant)
12876 ("goocanvas" ,goocanvas)
12878 ("gtkspell3" ,gtkspell3)
12879 ("libjpeg" ,libjpeg-turbo)
12880 ("libtiff" ,libtiff)
12883 ("python" ,python-wrapper)
12884 ("python-pygobject" ,python-pygobject)
12885 ("python-odfpy" ,python-odfpy)
12886 ("python-pillow" ,python-pillow)
12887 ("python-pyenchant" ,python-pyenchant)
12888 ("python-reportlab" ,python-reportlab)
12889 ("python-sane" ,python-sane)
12890 ("sane-backends" ,sane-backends)
12891 ("tesseract-ocr" ,tesseract-ocr)))
12892 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12893 (synopsis "Complete OCR Suite")
12894 (description "OCRFeeder is a complete Optical Character Recognition and
12895 Document Analysis and Recognition program.")
12896 (license license:gpl3+)))
12898 (define-public libadwaita
12900 (name "libadwaita")
12904 (uri (string-append "mirror://gnome/sources/libadwaita/"
12905 (version-major+minor version) "/"
12906 "libadwaita-" version ".tar.xz"))
12909 "1syg7fkpcsw0q6fy3g79myb9m9bvrnh3rjrm6g4bfg1pnlqf1w22"))))
12910 (build-system meson-build-system)
12913 (modify-phases %standard-phases
12914 (add-before 'check 'pre-check
12915 (lambda* (#:key inputs #:allow-other-keys)
12916 ;; Tests require a running X server.
12917 (system "Xvfb :1 &")
12918 (setenv "DISPLAY" ":1"))))))
12920 (list gettext-minimal
12922 gobject-introspection
12927 xorg-server-for-tests))
12929 (list gtk)) ;libadwaita-1.pc 'Requires' it
12930 (home-page "https://gnome.pages.gitlab.gnome.org/libadwaita/")
12931 (synopsis "Building blocks for GNOME applications")
12933 "@code{libadwaita} offers widgets and objects to build GNOME
12934 applications scaling from desktop workstations to mobile phones. It is the
12935 successor of @code{libhandy} for GTK4.")
12936 (license license:lgpl2.1+)))
12938 (define-public gnome-power-manager
12940 (name "gnome-power-manager")
12944 (uri (string-append "mirror://gnome/sources/" name "/"
12945 (version-major+minor version) "/"
12946 name "-" version ".tar.xz"))
12949 "0drfn3wcc8l4n07qwv6p0rw2dwcd00hwzda282q62l6sasks2b2g"))))
12950 (build-system meson-build-system)
12952 (list upower gtk+ gsettings-desktop-schemas adwaita-icon-theme))
12954 (list desktop-file-utils
12955 `(,glib "bin") gettext-minimal pkg-config))
12956 (home-page "https://gitlab.gnome.org/GNOME/gnome-power-manager")
12957 (synopsis "Power management daemon for the GNOME desktop")
12958 (description "@code{gnome-power-manager} is a tool for viewing present and
12959 historical battery usage and related statistics.")
12960 (license license:gpl2)))
12962 (define-public xffm+
12968 (uri (string-append "mirror://sourceforge/xffm/xffm+/xffm+-"
12969 version ".tar.bz2"))
12972 "0gwbgmjzlgv9ba95cgaigjnc9njzi7qznhvzp0qrnnlq3nbcm1k1"))))
12973 (build-system cmake-build-system)
12975 `(#:tests? #f ; No tests exist
12977 (let ((shared-mime-info (assoc-ref %build-inputs "shared-mime-info"))
12978 (out (assoc-ref %outputs "out")))
12979 (list (string-append "-DFREEDESKTOP_GLOBS=" shared-mime-info
12980 "/share/mime/globs")
12981 (string-append "-DFREEDESKTOP_ALIAS=" shared-mime-info
12982 "/share/mime/aliases")
12983 (string-append "-DFREEDESKTOP_ICONS=" shared-mime-info
12984 "/share/mime/generic-icons")
12985 (string-append "-DCMAKE_INSTALL_PREFIX=" out)
12986 (string-append "-DPREFIX_BIN=" out "/bin")))
12988 (modify-phases %standard-phases
12989 (add-after 'unpack 'patch-installation-destination
12990 (lambda* (#:key outputs #:allow-other-keys)
12991 (substitute* "CMakeLists.txt"
12992 ;; This is done so we can override.
12993 (("^set.CMAKE_INSTALL_PREFIX") "set(QCMAKE_INSTALL_PREFIX")
12994 ;; This is done so we can override.
12995 (("`set.PREFIX_BIN") "set(QPREFIX_BIN")))))))
12997 (list cmake pkg-config intltool gnu-gettext))
12999 (list glib gtk+ libx11 libsm libxv libxaw libxcb libxkbfile
13001 (synopsis "File manager")
13002 (description "This package provides a graphical file manager.")
13003 (home-page "http://xffm.org/")
13004 (license license:gpl3+)
13005 (properties '((upstream-name . "xffm")))))