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 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1345 (build-system meson-build-system)
1347 `(("gettext" ,gettext-minimal)
1348 ("glib:bin" ,glib "bin")
1349 ("gobject-introspection" ,gobject-introspection)
1350 ("gtk-doc" ,gtk-doc/stable)
1351 ("pkg-config" ,pkg-config)
1356 ;; The .pc file "Requires" libsoup-2.4.
1357 `(("libsoup" ,libsoup-minimal-2)))
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 gupnp
1372 (uri (string-append "mirror://gnome/sources/" name "/"
1373 (version-major+minor version) "/"
1374 name "-" version ".tar.xz"))
1377 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1378 (build-system meson-build-system)
1381 (modify-phases %standard-phases
1382 (add-before 'check 'pre-check
1384 ;; Tests require a writable HOME.
1385 (setenv "HOME" (getcwd)))))))
1387 `(("gettext" ,gettext-minimal)
1388 ("glib:bin" ,glib "bin")
1389 ("gobject-introspection" ,gobject-introspection)
1390 ("gtk-doc" ,gtk-doc/stable)
1391 ("pkg-config" ,pkg-config)
1394 (list gssdp gtk+ libsoup))
1396 (list ;; For ‘org.gnome.system.proxy’.
1397 gsettings-desktop-schemas))
1398 (synopsis "PnP API for GNOME")
1399 (description "This package provides GUPnP, an object-oriented framework
1400 for creating UPnP devices and control points, written in C using
1401 @code{GObject} and @code{libsoup}.")
1402 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1403 (license license:lgpl2.0+)))
1405 (define-public gupnp-dlna
1411 (uri (string-append "mirror://gnome/sources/" name "/"
1412 (version-major+minor version) "/"
1413 name "-" version ".tar.xz"))
1416 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1417 (build-system gnu-build-system)
1419 (list gettext-minimal
1421 gobject-introspection
1427 (list gstreamer gupnp))
1429 (list gst-plugins-base gst-plugins-good))
1430 (synopsis "GUPnP DLNA for GNOME")
1431 (description "This package provides a small utility library to
1432 support DLNA-related tasks such as media profile guessing, transcoding to a
1433 given profile, etc. DLNA is a subset of UPnP A/V.")
1434 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1435 (license license:lgpl2.0+)))
1437 (define-public gupnp-av
1443 (uri (string-append "mirror://gnome/sources/" name "/"
1444 (version-major+minor version) "/"
1445 name "-" version ".tar.xz"))
1448 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1449 (build-system gnu-build-system)
1451 (list gettext-minimal
1453 gobject-introspection
1460 (synopsis "GUPnP A/V for GNOME")
1461 (description "This package provides a small library for handling
1462 and implementation of UPnP A/V profiles.")
1463 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1464 (license license:lgpl2.0+)))
1466 (define-public libmediaart
1468 (name "libmediaart")
1472 (uri (string-append "mirror://gnome/sources/" name "/"
1473 (version-major+minor version) "/"
1474 name "-" version ".tar.xz"))
1477 "1mlw1qgj8nkd9ll6b6h54r1gfdy3zp8a8xqz7qfyfaj85jjgbph7"))))
1478 (build-system meson-build-system)
1480 (list `(,glib "bin") pkg-config))
1482 (list gdk-pixbuf gettext-minimal gobject-introspection
1483 `(,gtk+ "doc") vala))
1484 (synopsis "Media art library for the GNOME desktop")
1486 "The libmediaart library is the foundation for media art caching,
1487 extraction, and lookup for applications on the desktop.")
1488 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1489 (license license:lgpl2.1+)))
1491 (define-public gnome-initial-setup
1493 (name "gnome-initial-setup")
1497 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1498 (version-major version)
1499 "/gnome-initial-setup-" version ".tar.xz"))
1502 "0yxy39a7d2whphd0jskvra5q8zy4v7m7lziy5fxibgls4j5xk0sd"))))
1503 (build-system meson-build-system)
1506 #:configure-flags #~(list "-Dsystemd=false")
1509 #~(modify-phases %standard-phases
1510 (add-after 'unpack 'set-gkbd-file-name
1511 (lambda* (#:key inputs #:allow-other-keys)
1512 ;; Allow the "Preview" button in the keyboard layout
1513 ;; selection dialog to display the layout.
1514 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1515 (("\"gkbd-keyboard-display")
1516 (string-append "\"" (search-input-file
1518 "bin/gkbd-keyboard-display")))))))))
1520 (list gettext-minimal
1522 gobject-introspection
1525 (list accountsservice
1531 gnome-online-accounts-3.44
1537 libgweather4-with-libsoup2
1547 webkitgtk-with-libsoup2))
1548 (synopsis "Initial setup wizard for GNOME desktop")
1549 (description "This package provides a set-up wizard when a
1550 user logs into GNOME for the first time. It typically provides a
1551 tour of all gnome components and allows the user to set them up.")
1552 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1553 (license license:gpl2)))
1555 (define-public gnome-user-share
1557 (name "gnome-user-share")
1561 (uri (string-append "mirror://gnome/sources/" name "/"
1562 (version-major+minor version) "/"
1563 name "-" version ".tar.xz"))
1566 "04r9ck9v4i0d31grbli1d4slw2d6dcsfkpaybkwbzi7wnj72l30x"))))
1567 (build-system meson-build-system)
1572 `("-Dsystemduserunitdir=/tmp/empty"
1573 ;; Enable nautilus extension for file sharing.
1574 "-Dnautilus_extension=true")))
1576 `(("gettext" ,gettext-minimal)
1577 ("glib:bin" ,glib "bin")
1578 ("gobject-introspection" ,gobject-introspection)
1579 ("gtk+:bin" ,gtk+ "bin")
1580 ("pkg-config" ,pkg-config)
1581 ("yelp-tools" ,yelp-tools)))
1588 nautilus)) ; For nautilus extension.
1589 (synopsis "File sharing for GNOME desktop")
1590 (description "GNOME User Share is a small package that binds together
1591 various free software projects to bring easy to use user-level file
1592 sharing to the masses.")
1593 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1594 (license license:gpl2+)))
1596 (define-public sushi
1602 (uri (string-append "mirror://gnome/sources/" name "/"
1603 (version-major version) "/"
1604 name "-" version ".tar.xz"))
1607 "0848gidl0ab8i5pa70mv8jzchmd9kqa8sn1lg977hyasyixdpn25"))))
1608 (build-system meson-build-system)
1612 (modify-phases %standard-phases
1613 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1614 (lambda* (#:key outputs #:allow-other-keys)
1615 (let ((prog (string-append (assoc-ref outputs "out")
1617 ;; Put existing typelibs before sushi's deps, so as to
1618 ;; correctly infer gdk-pixbuf.
1620 `("GI_TYPELIB_PATH" suffix
1621 (,(getenv "GI_TYPELIB_PATH"))))))))))
1623 (list `(,glib "bin")
1625 gobject-introspection
1632 evince ; For file previewing.
1645 (synopsis "File previewer for the GNOME desktop")
1646 (description "Sushi is a DBus-activated service that allows applications
1647 to preview files on the GNOME desktop.")
1648 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1649 (license license:gpl2+)))
1651 (define-public rygel
1657 (uri (string-append "mirror://gnome/sources/" name "/"
1658 (version-major+minor version) "/"
1659 name "-" version ".tar.xz"))
1662 "12rl1bgvwbdmnhva57b22q7d2pwqvi2rizygiyy6qpv1x3dqlvbk"))))
1663 (build-system meson-build-system)
1665 ;; Disable the tracker plugin.
1667 (list "-Dplugins=external,gst-launch,lms,media-export,
1668 mpris,playbin,ruih,tracker3")))
1670 (list gettext-minimal
1671 `(,glib "bin") ; for glib-compile-schemas, etc.
1672 gobject-introspection
1685 gst-editing-services
1697 (synopsis "Share audio, video, and pictures with other devices")
1699 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1700 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1701 pictures, and to control a media player on your home network.
1703 Rygel achieves interoperability with other devices by trying to conform to the
1704 strict requirements of DLNA and by converting media on-the-fly to formats that
1705 client devices can handle.")
1706 (home-page "https://wiki.gnome.org/Projects/Rygel")
1708 ;; For logo (data/icons/*).
1711 license:lgpl2.1+))))
1713 (define-public libnma
1719 (uri (string-append "mirror://gnome/sources/" name "/"
1720 (version-major+minor version) "/"
1721 name "-" version ".tar.xz"))
1724 "0h095a26w3sgbspsf7wzz8ddg62j3jb9ckrrv41k7cdp0k2dkhsg"))))
1725 (build-system meson-build-system)
1727 `(#:configure-flags (list "-Dlibnma_gtk4=true")
1729 (modify-phases %standard-phases
1730 (add-after 'unpack 'patch-docbook-xml
1731 (lambda* (#:key inputs #:allow-other-keys)
1732 (substitute* "libnma-docs.xml"
1733 (("http://.*/docbookx\\.dtd")
1735 inputs "xml/dtd/docbook/docbookx.dtd"))))))))
1737 (list docbook-xml-4.3
1741 gobject-introspection
1748 mobile-broadband-provider-info
1750 (synopsis "Network Manager's applet library")
1751 (description "Libnma is an applet library for Network Manager. It was
1752 initially part of network-manager-applet and has now become a separate
1754 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1755 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1757 (license license:gpl2+)))
1759 (define-public gnome-menus
1761 (name "gnome-menus")
1765 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1766 (version-major+minor version) "/"
1767 name "-" version ".tar.xz"))
1770 "07xvaf8s0fiv0035nk8zpzymn5www76w2a1vflrgqmp9plw8yd6r"))))
1771 (build-system gnu-build-system)
1773 (list gettext-minimal glib pkg-config))
1774 (synopsis "Menu support for GNOME desktop")
1775 (description "GNOME Menus contains the libgnome-menu library, the layout
1776 configuration files for the GNOME menu, as well as a simple menu editor.")
1777 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1778 (license license:lgpl2.0+)))
1780 (define-public deja-dup
1786 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1787 version "/deja-dup-" version ".tar.bz2"))
1790 "1mr2g009w0zm5rj8dg1k77c7zdwylih2yszm8vh8wkw6al6bzfh3"))))
1791 (build-system meson-build-system)
1796 ;; Otherwise, the RUNPATH will lack the final path component.
1797 (string-append "-Dc_link_args=-Wl,-rpath="
1798 (assoc-ref %outputs "out") "/lib/deja-dup"))
1800 (modify-phases %standard-phases
1801 (add-after 'unpack 'patch-paths
1802 (lambda* (#:key inputs #:allow-other-keys)
1803 (let ((python (assoc-ref inputs "python")))
1804 (substitute* '("libdeja/duplicity/DuplicityInstance.vala"
1805 "libdeja/tests/scripts/instance-error.test")
1808 (substitute* "libdeja/tests/runner.vala"
1811 (substitute* "libdeja/tests/scripts/instance-error.test"
1812 (("`which python3`")
1813 (string-append python "/bin/python3"))))))
1814 (add-after 'unpack 'patch-libgpg-error
1815 (lambda* (#:key inputs #:allow-other-keys)
1816 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1817 (substitute* "meson.build"
1818 (("(gpgerror_libs = ).*" _ var)
1819 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))))
1820 (add-after 'install 'wrap-program
1821 (lambda* (#:key inputs outputs #:allow-other-keys)
1822 ;; Add duplicity to the search path
1823 (wrap-program (string-append (assoc-ref outputs "out")
1826 (,(string-append (assoc-ref inputs "duplicity") "/bin")))))))))
1830 gsettings-desktop-schemas
1843 (list appstream-glib
1846 `(,glib "bin") ;for glib-compile-schemas
1847 gobject-introspection
1848 `(,gtk "bin") ;for gtk-update-icon-cache
1852 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1853 (synopsis "Simple backup tool, for regular encrypted backups")
1855 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1856 uses duplicity as the backend, which supports incremental backups and storage
1857 either on a local, or remote machine via a number of methods.")
1858 (license license:gpl3+)))
1860 (define-public gnome-commander
1862 (name "gnome-commander")
1867 (uri (string-append "mirror://gnome/sources/" name "/"
1868 (version-major+minor version) "/"
1869 "gnome-commander-" version ".tar.xz"))
1871 (base32 "0yzx9slg632iflw9p96nlh9i50dhacq7hrzpkj8b48mr1zkxrn3q"))))
1872 (build-system glib-or-gtk-build-system)
1874 (list desktop-file-utils
1878 gobject-introspection
1885 (list gconf glib gtk+-2 libxml2))
1886 (home-page "https://gcmd.github.io/")
1887 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1889 "GNOME Commander is a two-pane graphical file manager using GNOME
1890 libraries. It aims to fulfill the demands of more advanced users who
1891 like to focus on file management, their work through special applications
1892 and running smart commands.")
1893 (license license:gpl2+)))
1895 (define-public gnome-user-docs
1897 (name "gnome-user-docs")
1902 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1903 (version-major version)
1904 "/gnome-user-docs-" version ".tar.xz"))
1906 (base32 "01g9smkk2sj3yrih2wjn6vx9av855n7w6nqf9wpxvfq086h7vcmj"))))
1907 (build-system gnu-build-system)
1909 (list gettext-minimal itstool pkg-config libxml2))
1910 (synopsis "User documentation for the GNOME desktop")
1912 "The GNOME User Documentation explains how to use the GNOME desktop and its
1913 components. It covers usage and setup of the core GNOME programs by end-users
1914 and system administrators.")
1915 (home-page "https://live.gnome.org/DocumentationProject")
1916 (license license:cc-by3.0)))
1919 ;; This version from GNOME's repository includes fixes for compiling with
1920 ;; recent versions of the build tools. The latest activity on the
1921 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1923 (let ((commit "0997887d97f01be28bf3886dfd3e2002de437930")
1927 (version (git-version "0.97.3" revision commit))
1931 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1933 (file-name (git-file-name name version))
1936 "199b4n1jydg1g9lnz0r8xx67h7s2ac2lfj89zp015lbs0qqfkmsh"))))
1937 (build-system meson-build-system)
1938 ;; XXX: Parallel builds may cause: [74/566] [...]
1939 ;; fatal error: dia-lib-enums.h: No such file or directory
1940 (arguments '(#:parallel-build? #f))
1947 ;; XXX: PDF plugin fails to build with poppler 21.07.0.
1952 (list appstream-glib docbook-xsl
1953 `(,glib "bin") gettext-minimal pkg-config))
1954 (home-page "https://wiki.gnome.org/Apps/Dia")
1955 (synopsis "Diagram creation for GNOME")
1956 (description "Dia can be used to draw different types of diagrams, and
1957 includes support for UML static structure diagrams (class diagrams), entity
1958 relationship modeling, and network diagrams. The program supports various file
1959 formats like PNG, SVG, PDF and EPS.")
1960 (license license:gpl2+))))
1962 (define-public libgdata
1968 (uri (string-append "mirror://gnome/sources/" name "/"
1969 (version-major+minor version) "/"
1970 name "-" version ".tar.xz"))
1973 "1iq4d1qy0vkmy29xvr13dgz4pxvn5v3yi2swryld0ajinvp951fx"))))
1974 (build-system meson-build-system)
1977 (modify-phases %standard-phases
1978 (add-before 'check 'set-home-for-tests
1980 (setenv "HOME" "/tmp"))))))
1982 `(("glib:bin" ,glib "bin")
1983 ("gobject-introspection" ,gobject-introspection)
1984 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1985 ("intltool" ,intltool)
1986 ("pkg-config" ,pkg-config)
1987 ("uhttpmock" ,uhttpmock)))
1989 (list cyrus-sasl glib-networking vala))
1993 ("gnome-online-accounts" ,gnome-online-accounts)
1994 ("json-glib" ,json-glib)
1995 ("liboauth" ,liboauth)
1996 ("libsoup" ,libsoup-minimal-2)
1997 ("libxml2" ,libxml2)))
1998 (home-page "https://wiki.gnome.org/Projects/libgdata")
1999 (synopsis "Library for accessing online service APIs")
2001 "libgdata is a GLib-based library for accessing online service APIs using
2002 the GData protocol — most notably, Google's services. It provides APIs to
2003 access the common Google services, and has full asynchronous support.")
2004 (license license:lgpl2.1+)))
2006 (define-public libgxps
2012 (uri (string-append "mirror://gnome/sources/" name "/"
2013 (version-major+minor version) "/"
2014 name "-" version ".tar.xz"))
2017 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
2018 (build-system meson-build-system)
2020 (list gobject-introspection pkg-config))
2022 (list gtk+ libjpeg-turbo lcms libtiff))
2024 ;; In Requires of libgxps.pc.
2025 (list cairo glib libarchive))
2026 (home-page "https://wiki.gnome.org/Projects/libgxps")
2027 (synopsis "GObject-based library for handling and rendering XPS documents")
2029 "libgxps is a GObject-based library for handling and rendering XPS
2030 documents. This package also contains binaries that can convert XPS documents
2032 (license license:lgpl2.1+)))
2034 (define-public gnome-characters
2036 (name "gnome-characters")
2041 (uri (string-append "mirror://gnome/sources/"
2042 "gnome-characters/" (version-major version)
2043 "/gnome-characters-" version ".tar.xz"))
2046 "1y40g7k7yyzikbbxhf69q4c0221lga1cli1p617v99pq2swgz82x"))))
2047 (build-system meson-build-system)
2051 #:phases #~(modify-phases %standard-phases
2052 (add-after 'unpack 'disable-gtk-update-icon-cache
2054 (setenv "DESTDIR" "/")))
2055 (add-after 'install 'wrap
2056 (lambda* (#:key outputs #:allow-other-keys)
2057 ;; GNOME Characters needs Typelib files from GTK and
2059 (wrap-program (search-input-file outputs
2060 "bin/gnome-characters")
2061 `("GI_TYPELIB_PATH" ":" prefix
2062 (,(getenv "GI_TYPELIB_PATH")))))))))
2064 (list gettext-minimal
2075 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2076 (synopsis "Find and insert unusual characters")
2077 (description "Characters is a simple utility application to find
2078 and insert unusual characters. It allows you to quickly find the
2079 character you are looking for by searching for keywords.")
2080 (license license:bsd-3)))
2082 (define-public gnome-common
2084 (name "gnome-common")
2089 (uri (string-append "mirror://gnome/sources/" name "/"
2090 (version-major+minor version) "/"
2091 name "-" version ".tar.xz"))
2094 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2095 (build-system gnu-build-system)
2096 (home-page "https://www.gnome.org/")
2097 (synopsis "Bootstrap GNOME modules built from Git")
2098 (description "gnome-common contains various files needed to bootstrap
2099 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2100 can be used to configure a source directory checked out from Git and some
2101 commonly used macros.")
2102 (license license:gpl2+)))
2104 (define-public gnome-contacts
2106 (name "gnome-contacts")
2110 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2111 (version-major version) "/"
2112 name "-" version ".tar.xz"))
2115 "05jj5kiab13crm18r166w7h31jpny7f3px98q7d2ix93vj7w60l8"))))
2116 (build-system meson-build-system)
2120 (modify-phases %standard-phases
2121 (add-after 'unpack 'skip-gtk-update-icon-cache
2123 (substitute* "meson.build"
2124 (("gtk_update_icon_cache: true")
2125 "gtk_update_icon_cache: false")))))))
2127 (list desktop-file-utils
2133 gobject-introspection
2137 (list evolution-data-server-3.44
2139 gnome-online-accounts-3.44
2149 (list folks-with-libsoup2
2150 telepathy-mission-control))
2151 (synopsis "GNOME's integrated address book")
2153 "GNOME Contacts organizes your contact information from online and
2154 offline sources, providing a centralized place for managing your contacts.")
2155 (home-page "https://wiki.gnome.org/Apps/Contacts")
2156 (license license:gpl2+)))
2158 (define-public gnome-desktop
2160 (name "gnome-desktop")
2165 (uri (string-append "mirror://gnome/sources/" name "/"
2166 (version-major version) "/"
2167 name "-" version ".tar.xz"))
2170 "09ddr5fzhh02fcn7xl1wy18qfsdqryd5msl2nbhdnsbr0vawkqhw"))))
2171 (build-system meson-build-system)
2174 (modify-phases %standard-phases
2175 (add-before 'configure 'patch-path
2176 (lambda* (#:key inputs #:allow-other-keys)
2177 (substitute* "libgnome-desktop/gnome-languages.c"
2179 (format #f "~s" (search-input-file inputs "bin/locale"))))))
2180 (add-before 'configure 'patch-bubblewrap
2181 (lambda* (#:key inputs #:allow-other-keys)
2182 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2184 (string-append "\"" (which "bwrap") "\","))
2185 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2186 (string-append "\"--ro-bind\", \""
2191 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",")
2193 (add-before 'check 'pre-check
2194 (lambda* (#:key inputs #:allow-other-keys)
2195 ;; Tests require a running X server and locales.
2196 (system "Xvfb :1 &")
2197 (setenv "DISPLAY" ":1")
2198 (setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
2199 (setenv "XDG_CONFIG_HOME" "/tmp")
2200 (setenv "GUIX_LOCPATH"
2201 (search-input-directory inputs
2204 (list `(,glib "bin") ;for gdbus-codegen
2205 glibc-locales ;for tests
2206 gobject-introspection
2211 xorg-server-for-tests))
2213 ;; Required by gnome-desktop-3.0.pc.
2214 (list gsettings-desktop-schemas-next
2228 (home-page "https://www.gnome.org/")
2230 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2232 "The libgnome-desktop library provides API shared by several applications
2233 on the desktop, but that cannot live in the platform for various reasons.
2234 There is no API or ABI guarantee, although we are doing our best to provide
2235 stability. Documentation for the API is available with gtk-doc.
2237 The gnome-about program helps find which version of GNOME is installed.")
2238 ; Some bits under the LGPL.
2239 (license license:gpl2+)))
2241 (define-public gnome-disk-utility
2243 (name "gnome-disk-utility")
2247 (uri (string-append "mirror://gnome/sources/" name "/"
2248 (version-major version) "/"
2249 name "-" version ".tar.xz"))
2252 "02q906gn420xbf1f0apazryzqfv5b1ammz1vrci66hk79m2n8r8v"))))
2253 (build-system meson-build-system)
2255 `(#:configure-flags '("-Dlogind=libelogind")
2257 (modify-phases %standard-phases
2258 (add-after 'unpack 'skip-gtk-update-icon-cache
2259 ;; Don't create 'icon-theme.cache'.
2261 (substitute* "meson_post_install.py"
2262 (("gtk-update-icon-cache") "true")))))))
2275 gnome-settings-daemon
2284 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2285 (synopsis "Disk management utility for GNOME")
2286 (description "Disk management utility for GNOME.")
2287 (license license:gpl2+)))
2289 (define-public gnome-font-viewer
2291 (name "gnome-font-viewer")
2295 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2296 (version-major version)
2297 "/gnome-font-viewer-" version ".tar.xz"))
2300 "1k4dhk5dmkpxb5xpr9vrl7k2fdpi2fidzni1l2hhb891zzgvi8ng"))))
2301 (build-system meson-build-system)
2305 #~(modify-phases %standard-phases
2306 (add-after 'unpack 'patch-post-install-script
2308 (substitute* "meson-postinstall.sh"
2309 (("update-desktop-database") (which "true")))))
2310 (add-after 'install 'patch-thumbnailer
2311 (lambda* (#:key outputs #:allow-other-keys)
2314 outputs "share/thumbnailers/gnome-font-viewer.thumbnailer")
2315 (("gnome-thumbnail-font")
2316 (search-input-file outputs "bin/gnome-thumbnail-font"))))))))
2318 (list gettext-minimal
2328 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2329 (synopsis "GNOME Fonts")
2330 (description "Application to show you the fonts installed on your computer
2331 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2332 the font would look under various sizes.")
2333 (license license:gpl2+)))
2341 (uri (string-append "mirror://gnome/sources/" name "/"
2342 (version-major+minor version) "/"
2343 name "-" version ".tar.xz"))
2346 "0kx2pv272p0qc0nq1287gciyn34d95yxg41vq3lzxfzyqaijhwdv"))))
2347 (build-system meson-build-system)
2351 #~(modify-phases %standard-phases
2352 (add-after 'unpack 'remove-fatal-warnings-option
2353 ;; Otherwise, the gi-docgen tool would fail because of the
2354 ;; "Fontconfig error: No writable cache directories" warnings.
2356 (substitute* (find-files "." "^meson\\.build$")
2357 ((".*'--fatal-warnings',.*") ""))))
2358 (add-after 'unpack 'skip-gtk-update-icon-cache
2359 ;; Don't create 'icon-theme.cache'.
2361 (substitute* "meson_post_install.py"
2362 (("gtk-update-icon-cache") "true"))))
2363 (add-before 'check 'pre-check
2365 ;; Some tests expect to write to $HOME.
2366 (setenv "HOME" "/tmp")))
2368 (lambda* (#:key parallel-tests? tests? #:allow-other-keys)
2370 (setenv "MESON_TESTTHREADS"
2372 (number->string (parallel-job-count))
2374 ;; Work around the "mock prompter couldn't get session bus
2375 ;; address: Cannot spawn a message bus without a machine-id"
2376 ;; error by manually creating the session bus via
2377 ;; 'dbus-run-session'.
2378 (invoke "dbus-run-session" "--"
2379 "meson" "test" "-t" "0")))))))
2386 (list gettext-minimal
2389 gobject-introspection
2397 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2402 (home-page "https://www.gnome.org")
2403 (synopsis "Libraries for displaying certificates and accessing key stores")
2405 "The GCR package contains libraries used for displaying certificates and
2406 accessing key stores. It also provides the viewer for crypto files on the
2408 (license license:lgpl2.1+)))
2417 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2418 (commit (string-append "GDL_" (string-map (match-lambda
2422 (file-name (git-file-name name version))
2425 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2426 (build-system gnu-build-system)
2430 `(,glib "bin") ; for glib-genmarshal, etc.
2440 ;; The gdl-3.0.pc file 'Requires' GTK+.
2442 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2443 (synopsis "GNOME docking library")
2444 (description "This library provides docking features for gtk+.")
2445 (license license:lgpl2.1+)))
2447 ;;; A minimal variant used to break a cycle with Inkscape.
2448 (define-public gdl-minimal
2449 (package/inherit gdl
2450 (name "gdl-minimal")
2453 (modify-phases %standard-phases
2454 (add-after 'unpack 'disable-doc-generation
2455 ;; XXX: There is no easy way to disable generating the
2458 (substitute* "configure.in"
2459 (("GTK_DOC_CHECK.*") "")
2461 (substitute* "Makefile.am"
2462 (("gdl docs po") "gdl po"))
2464 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2466 (define-public libgnome-keyring
2468 (name "libgnome-keyring")
2472 (uri (string-append "mirror://gnome/sources/" name "/"
2473 (version-major+minor version) "/"
2474 name "-" version ".tar.xz"))
2477 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2478 (build-system gnu-build-system)
2480 (list libgcrypt dbus))
2483 `(,glib "bin") intltool))
2485 ;; Referred to in .h files and .pc.
2487 (home-page "https://www.gnome.org")
2488 (synopsis "Accessing passwords from the GNOME keyring")
2490 "Client library to access passwords from the GNOME keyring.")
2492 ;; Though a couple of files are LGPLv2.1+.
2493 (license license:lgpl2.0+)))
2495 (define-public gnome-keyring
2497 (name "gnome-keyring")
2501 (uri (string-append "mirror://gnome/sources/" name "/"
2502 (version-major version) "/"
2503 name "-" version ".tar.xz"))
2506 "1rp38v4s9116ivycp27w806wihqid48gk3p0czzbg9knri0d1x67"))))
2507 (build-system gnu-build-system)
2512 (string-append "--with-pkcs11-config="
2513 #$output "/share/p11-kit/modules/")
2514 (string-append "--with-pkcs11-modules="
2515 #$output "/share/p11-kit/modules/"))
2517 #~(modify-phases %standard-phases
2518 (add-after 'unpack 'fix-/bin/sh-reference
2520 (substitute* "po/Makefile.in.in"
2521 (("/bin/sh") (which "sh")))))
2523 (add-after 'install 'check
2524 (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
2526 (setenv "HOME" "/tmp") ;some tests require a writable HOME
2527 (setenv "XDG_DATA_DIRS" (string-append (getenv "XDG_DATA_DIRS")
2528 ":" #$output "/share"))
2529 (invoke "dbus-run-session" "make" "check" "-j"
2531 (number->string (parallel-job-count))
2540 (list dbus ;for tests
2547 libxml2 ;for XML_CATALOG_FILES
2548 libxslt ;for documentation
2550 python-wrapper)) ;for tests
2553 (home-page "https://www.gnome.org")
2554 (synopsis "Daemon to store passwords and encryption keys")
2556 "@command{gnome-keyring} is a program that keeps passwords and other
2557 secrets for users. It is run as a daemon in the session, similar to
2558 @command{ssh-agent}, and other applications locate it via an environment
2561 The program can manage several keyrings, each with its own master password,
2562 and there is also a session keyring which is never stored to disk, but
2563 forgotten when the session ends.")
2564 (license license:lgpl2.1+)))
2566 (define-public evince
2572 (uri "mirror://gnome/sources/evince/42/evince-42.3.tar.xz")
2575 "0pk42icnf4kdcaqaj17mcf4sxi82h1fdg2ds2zdrcv4lbj2czbj9"))))
2576 (build-system meson-build-system)
2579 #:build-type "release"
2580 #:configure-flags '("-Dnautilus=false")
2582 (modify-phases %standard-phases
2583 (add-after 'unpack 'skip-gtk-update-icon-cache
2584 ;; Don't create 'icon-theme.cache'.
2586 (substitute* "meson_post_install.py"
2587 (("gtk-update-icon-cache") "true")))))))
2596 texlive-libkpathsea ; for DVI support
2598 gsettings-desktop-schemas
2620 gobject-introspection
2623 (home-page " https://wiki.gnome.org/Apps")
2624 (synopsis "GNOME's document viewer")
2626 "Evince is a document viewer for multiple document formats. It
2627 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2628 of Evince is to replace the multiple document viewers that exist
2629 on the GNOME Desktop with a single simple application.")
2630 (license license:gpl2+)))
2632 (define-public gsettings-desktop-schemas
2634 (name "gsettings-desktop-schemas")
2639 (uri (string-append "mirror://gnome/sources/" name "/"
2640 (version-major version) "/"
2641 name "-" version ".tar.xz"))
2644 "1v9jagk679m01nji0acirynxinziv036618c7xc49l4nwmr9ja3p"))))
2645 (build-system meson-build-system)
2647 `(#:phases (modify-phases %standard-phases
2648 (add-after 'unpack 'patch-schemas
2649 (lambda* (#:key inputs #:allow-other-keys)
2650 (substitute* (find-files "schemas"
2651 "\\.gschema\\.xml\\.in$")
2652 ;; Provide the correct file name of the default
2653 ;; GNOME background, 'adwaita-timed.xml'.
2654 (("@datadir@/backgrounds/gnome")
2655 (search-input-directory inputs
2656 "/share/backgrounds/gnome"))
2657 ;; Do not reference fonts, that may not exist.
2658 (("'Source Code Pro 10'") "'Monospace 11'")))))))
2659 (inputs (list glib gnome-backgrounds))
2660 (native-inputs (list gettext-minimal
2661 `(,glib "bin") ;glib-compile-schemas, etc.
2662 gobject-introspection
2664 python)) ;for build-aux/meson/post-install.py
2665 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2666 (synopsis "GNOME settings for various desktop components")
2667 (description "Gsettings-desktop-schemas contains a collection of GSettings
2668 schemas for settings shared by various components of the GNOME desktop.")
2669 (license license:lgpl2.1+)))
2671 (define-public gsettings-desktop-schemas-next
2673 (inherit gsettings-desktop-schemas)
2674 (name "gsettings-desktop-schemas-next") ;to avoid propagation conflicts
2679 (uri (string-append "mirror://gnome/sources/" name "/"
2680 (version-major version) "/"
2681 name "-" version ".tar.xz"))
2684 "1li3fcqwnw20f4j0i21i88fygm0hli8gmzkn4apgf8ynkrd371k6"))))))
2686 (define-public python-liblarch
2688 (name "python-liblarch")
2694 (url "https://github.com/getting-things-gnome/liblarch")
2695 (commit (string-append "v" version))))
2696 (file-name (git-file-name name version))
2698 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2699 (build-system python-build-system)
2702 (modify-phases %standard-phases
2703 (add-before 'check 'start-xserver
2704 (lambda* (#:key inputs #:allow-other-keys)
2705 (system (format #f "~a/bin/Xvfb :1 &"
2706 (assoc-ref inputs "xorg-server")))
2707 (setenv "DISPLAY" ":1")
2710 (list xorg-server-for-tests))
2714 (list python-pygobject))
2715 (home-page "https://wiki.gnome.org/Projects/liblarch")
2716 (synopsis "Library to easily handle complex data structures")
2718 "Liblarch is a Python library built to easily handle data structures such
2719 as lists, trees and acyclic graphs. There's also a GTK binding that will
2720 allow you to use your data structure in a @code{Gtk.Treeview}.
2722 Liblarch support multiple views of one data structure and complex filtering.
2723 That way, you have a clear separation between your data themselves (Model)
2724 and how they are displayed (View).")
2725 (license license:lgpl3+)))
2735 (url "https://github.com/getting-things-gnome/gtg")
2736 (commit (string-append "v" version))))
2737 (file-name (git-file-name name version))
2739 (base32 "0b2slm7kjq6q8c7v4m7aqc8m1ynjxn3bl7445srpv1xc0dilq403"))))
2740 (build-system meson-build-system)
2744 (modify-phases %standard-phases
2745 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2746 (lambda* (#:key outputs #:allow-other-keys)
2747 (let ((prog (string-append (assoc-ref outputs "out")
2749 (pylib (string-append (assoc-ref outputs "out")
2751 ,(version-major+minor
2752 (package-version python))
2755 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
2756 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2759 `(("desktop-file-utils" ,desktop-file-utils)
2760 ("gettext" ,gettext-minimal)
2761 ("glib:bin" ,glib "bin")
2762 ("gobject-introspection" ,gobject-introspection)
2763 ("gtk+:bin" ,gtk+ "bin")
2764 ("pkg-config" ,pkg-config)))
2767 gsettings-desktop-schemas
2776 (home-page "https://wiki.gnome.org/Apps/GTG")
2777 (synopsis "Personal organizer for the GNOME desktop")
2779 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2780 organizer for the GNOME desktop environment inspired by the Getting Things
2781 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2782 and ease of use in mind so it can be used as more than just GTD software.
2783 GTG is intended to help you track everything you need to do and need to
2784 know, from small tasks to large projects.")
2785 (license license:gpl3+)))
2787 (define-public icon-naming-utils
2789 (name "icon-naming-utils")
2794 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2795 version ".tar.bz2"))
2798 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2799 (build-system gnu-build-system)
2801 (list perl perl-xml-simple))
2804 (modify-phases %standard-phases
2805 (add-after 'install 'set-load-paths
2806 ;; Tell 'icon-name-mapping' where XML::Simple is.
2807 (lambda* (#:key outputs #:allow-other-keys)
2808 (let* ((out (assoc-ref outputs "out"))
2809 (prog (string-append out "/libexec/icon-name-mapping")))
2812 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2814 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2816 "Utility to implement the Freedesktop Icon Naming Specification")
2818 "To help with the transition to the Freedesktop Icon Naming
2819 Specification, the icon naming utility maps the icon names used by the
2820 GNOME and KDE desktops to the icon names proposed in the specification.")
2821 (license license:lgpl2.1+)))
2823 (define-public adwaita-icon-theme
2825 (name "adwaita-icon-theme")
2829 (uri (string-append "mirror://gnome/sources/" name "/"
2830 (version-major version) "/"
2831 name "-" version ".tar.xz"))
2834 "1q5i31zd5jzr12p6vn831afwnzbzf6x73wna1y86drnyr2nvb1ay"))))
2835 (build-system gnu-build-system)
2838 ;; Don't create 'icon-theme.cache'.
2839 #~(list "GTK_UPDATE_ICON_CACHE=")))
2841 ;; The following requires the SVG pixbuf loader, provided by librsvg,
2842 ;; available on x86_64 only.
2843 `(,@(if (target-64bit?)
2844 `((,gtk+ "bin")) ;for gtk-encode-symbolic-svg
2846 (home-page "https://gitlab.gnome.org/GNOME/adwaita-icon-theme")
2847 (synopsis "GNOME icon theme")
2848 (description "Icons for the GNOME desktop.")
2849 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2851 (define-public gnome-icon-theme
2852 (deprecated-package "gnome-icon-theme" adwaita-icon-theme))
2854 (define-public tango-icon-theme
2856 (name "tango-icon-theme")
2860 (uri (string-append "http://tango.freedesktop.org/releases/"
2861 "tango-icon-theme-" version ".tar.bz2"))
2864 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2865 (build-system gnu-build-system)
2867 (list icon-naming-utils intltool imagemagick pkg-config))
2868 (home-page "http://tango-project.org/")
2869 (synopsis "Tango icon theme")
2870 (description "This is an icon theme that follows the Tango visual
2872 (license license:public-domain)))
2874 (define-public shared-mime-info
2876 (name "shared-mime-info")
2881 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2882 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2886 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2887 (build-system gnu-build-system)
2889 ;; The build system appears not to be parallel-safe.
2890 '(#:parallel-build? #f))
2892 (list glib libxml2))
2894 `(("gettext" ,gettext-minimal)
2895 ("itstool" ,itstool)
2896 ("pkg-config" ,pkg-config)))
2897 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2898 (synopsis "Database of common MIME types")
2900 "The shared-mime-info package contains the core database of common types
2901 and the update-mime-database command used to extend it. It requires glib2 to
2902 be installed for building the update command. Additionally, it uses intltool
2903 for translations, though this is only a dependency for the maintainers. This
2904 database is translated at Transifex.")
2905 (license license:gpl2+)))
2907 (define-public system-config-printer
2909 (name "system-config-printer")
2915 "https://github.com/OpenPrinting/system-config-printer/releases/"
2916 "download/v" version
2917 "/system-config-printer-" version ".tar.xz"))
2919 (base32 "1z9pvgifj5c87csnqz10qybbcayh3ak9m606f63ifkvyjh4q9jnb"))))
2920 (build-system glib-or-gtk-build-system)
2923 #:imported-modules `((guix build python-build-system)
2924 ,@%glib-or-gtk-build-system-modules)
2926 #~(modify-phases %standard-phases
2927 (add-after 'unpack 'patch-build-files
2929 (substitute* "configure.ac"
2931 (string-append all "\nAC_CONFIG_MACRO_DIR([m4])\n"))
2932 ;; XXX: AX macros appear unavailable
2933 (("AX_REQUIRE_DEFINED.*") ""))
2934 ;; The Makefile generates some scripts, so set a valid shebang
2935 (substitute* "Makefile.am"
2936 (("/bin/bash") (which "bash")))
2937 (delete-file "configure")))
2938 (add-after 'unpack 'patch-docbook-xml
2939 (lambda* (#:key inputs #:allow-other-keys)
2940 ;; Modify the man XML otherwise xmlto tries to access the network
2941 (substitute* "man/system-config-printer.xml"
2942 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2943 (string-append (assoc-ref inputs "docbook-xml")
2944 "/xml/dtd/docbook/")))))
2945 (add-after 'install 'add-install-to-pythonpath
2946 (@@ (guix build python-build-system) add-install-to-pythonpath))
2947 (add-after 'add-install-to-pythonpath 'wrap-for-python
2948 (@@ (guix build python-build-system) wrap))
2949 (add-after 'install 'wrap
2950 (lambda* (#:key outputs #:allow-other-keys)
2951 (let ((out (assoc-ref outputs "out"))
2952 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2955 (wrap-program program
2956 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2958 (string-append out "/bin/" name))
2959 '("system-config-printer"
2960 "system-config-printer-applet"
2961 "install-printerdriver"
2962 "scp-dbus-service")))))))))
2964 (list gsettings-desktop-schemas
2965 gobject-introspection
2987 (home-page "https://github.com/zdohnal/system-config-printer")
2988 (synopsis "CUPS administration tool")
2990 "system-config-printer is a CUPS administration tool. It's written in
2991 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2993 (license license:gpl2+)))
2995 (define-public hicolor-icon-theme
2997 (name "hicolor-icon-theme")
3002 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3003 "hicolor-icon-theme-" version ".tar.xz"))
3006 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3007 (build-system gnu-build-system)
3009 `(#:tests? #f)) ; no check target
3010 (home-page "https://icon-theme.freedesktop.org/releases/")
3012 "Freedesktop icon theme")
3014 "Freedesktop icon theme.")
3015 (license license:gpl2)))
3017 (define-public libnotify
3024 (uri (string-append "mirror://gnome/sources/" name "/"
3025 (version-major+minor version) "/"
3026 name "-" version ".tar.xz"))
3029 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3030 (build-system meson-build-system)
3033 (modify-phases %standard-phases
3034 (add-after 'unpack 'fix-docbook
3035 (lambda* (#:key inputs #:allow-other-keys)
3036 ;; Don't attempt to download XSL schema.
3037 (substitute* "meson.build"
3038 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3039 /manpages/docbook.xsl")
3040 (string-append (assoc-ref inputs "docbook-xsl")
3041 "/xml/xsl/docbook-xsl-"
3042 ,(package-version docbook-xsl)
3043 "/manpages/docbook.xsl")))
3046 (list ;; In Requires of libnotify.pc.
3051 `(("pkg-config" ,pkg-config)
3052 ("glib" ,glib "bin")
3053 ("gobject-introspection" ,gobject-introspection)
3055 ;; For the documentation.
3056 ("gtk-doc" ,gtk-doc/stable)
3057 ("xsltproc" ,libxslt)
3058 ("docbook-xsl" ,docbook-xsl)))
3059 (home-page "https://developer-next.gnome.org/libnotify/")
3061 "GNOME desktop notification library")
3063 "Libnotify is a library that sends desktop notifications to a
3064 notification daemon, as defined in the Desktop Notifications spec. These
3065 notifications can be used to inform the user about an event or display
3066 some form of information without getting in the user's way.")
3067 (license license:lgpl2.1+)))
3069 (define-public libpeas
3076 (uri (string-append "mirror://gnome/sources/" name "/"
3077 (version-major+minor version) "/"
3078 name "-" version ".tar.xz"))
3081 "18xrk1c1ixlhkmykcfiafrl2am470ws687xqvjlq40zwkcp5dx8b"))))
3082 (build-system meson-build-system)
3085 (modify-phases %standard-phases
3086 (add-before 'check 'start-xserver
3087 (lambda* (#:key inputs #:allow-other-keys)
3088 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3090 (setenv "DISPLAY" disp)
3091 (setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
3092 (setenv "XDG_CONFIG_HOME" "/tmp")
3093 ;; Tests require a running X server.
3094 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3097 (list gtk+ glade3 python python-pygobject))
3099 `(("pkg-config" ,pkg-config)
3100 ("gettext" ,gettext-minimal)
3101 ("glib:bin" ,glib "bin")
3102 ("gobject-introspection" ,gobject-introspection)
3103 ("xorg-server" ,xorg-server-for-tests)))
3105 ;; The .pc file "Requires" gobject-introspection.
3106 (list gobject-introspection))
3107 (home-page "https://wiki.gnome.org/Libpeas")
3108 (synopsis "GObject plugin system")
3110 "Libpeas is a gobject-based plugin engine, targeted at giving every
3111 application the chance to assume its own extensibility. It also has a set of
3112 features including, but not limited to: multiple extension points; on-demand
3113 (lazy) programming language support for C, Python and JS; simplicity of the
3115 (license license:lgpl2.0+)))
3117 (define-public gtkglext
3123 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3124 version "/gtkglext-" version ".tar.gz"))
3126 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3127 (patches (search-patches
3128 "gtkglext-disable-disable-deprecated.patch"))))
3129 (build-system gnu-build-system)
3132 (modify-phases %standard-phases
3133 ;; Fix a collision between a local variable and a definition from
3134 ;; glibc's string.h.
3135 (add-after 'unpack 'fix-collision
3137 (substitute* "gdk/gdkglshapes.c"
3138 ((" index") " triangle_index"))
3140 (inputs (list gtk+-2 mesa glu libx11 libxt))
3141 (native-inputs (list pkg-config
3143 (propagated-inputs (list pangox-compat))
3144 (home-page "https://projects.gnome.org/gtkglext")
3145 (synopsis "OpenGL extension to GTK+")
3146 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3147 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3148 API add-ons to make GTK+ widgets OpenGL-capable.")
3149 (license license:lgpl2.1+)))
3151 (define-public glade3
3157 (uri (string-append "mirror://gnome/sources/" name "/"
3158 (version-major+minor version) "/"
3159 name "-" version ".tar.xz"))
3162 "171x7vshhw0nqgnhkcaqfylpr5qrmhclwmkva6wjm5s9m2pavj9i"))))
3163 (build-system meson-build-system)
3168 #~(modify-phases %standard-phases
3169 (add-after 'unpack 'skip-gtk-update-icon-cache
3170 ;; Don't create 'icon-theme.cache'.
3172 (substitute* "meson_post_install.py"
3173 (("gtk-update-icon-cache") "true"))))
3175 #$@(if (this-package-input "gjs")
3177 '((add-after 'unpack 'skip-gjs-test
3179 ;; When the optional dependency on GJS is missing, skip
3180 ;; the GJS plugin tests.
3181 (substitute* "tests/modules.c"
3182 (("g_test_add.*JavaScript.*" all)
3183 (string-append "// " all "\n")))
3184 (delete-file "tests/catalogs/gjsplugin.xml")))))
3185 (add-before 'check 'pre-check
3187 (setenv "HOME" "/tmp")
3188 ;; Tests require a running X server.
3189 (system "Xvfb :1 &")
3190 (setenv "DISPLAY" ":1"))))))
3193 ;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
3194 ;; dependency on other platforms (FIXME).
3195 (if (target-x86-64?)
3198 (list gtk+ libxml2)))
3200 (list docbook-xml-4.2
3204 gobject-introspection
3207 libxml2 ;for XML_CATALOG_FILES
3208 libxslt ;for xsltproc
3212 xorg-server-for-tests))
3213 (home-page "https://glade.gnome.org")
3214 (synopsis "GTK+ rapid application development tool")
3215 (description "Glade is a rapid application development (RAD) tool to
3216 enable quick & easy development of user interfaces for the GTK+ toolkit and
3217 the GNOME desktop environment.")
3218 (license license:lgpl2.0+)
3219 (native-search-paths (list (search-path-specification
3220 (variable "GLADE_CATALOG_SEARCH_PATH")
3221 (files '("share/glade/catalogs")))
3222 (search-path-specification
3223 (variable "GLADE_MODULE_SEARCH_PATH")
3224 (files '("lib/glade/modules")))))))
3226 (define-public blueprint-compiler
3227 (let ((commit "87cedc2c7e48b01dc1b07aef937e2fe02111b18c"))
3229 (name "blueprint-compiler")
3235 "https://gitlab.gnome.org/jwestman/blueprint-compiler")
3237 (file-name (string-append name "-" commit "-checkout"))
3240 "1mrj5dyjf5d325yc28fpph588qfsz6bm2nx5nnsgcv02bagplxid"))))
3241 (build-system meson-build-system)
3242 (native-inputs (list gobject-introspection gtk))
3243 (inputs (list python))
3244 (synopsis "Template markup language")
3246 "Blueprint is a markup language for GTK user interfaces. Internally, it
3247 compiles to GTKBuilder XML.")
3248 (home-page "https://gitlab.gnome.org/jwestman/blueprint-compiler")
3249 (license license:lgpl3+))))
3251 (define-public cambalache
3258 (url "https://gitlab.gnome.org/jpu/cambalache")
3260 (file-name (git-file-name name version))
3262 (base32 "1mw5gk98zx03yal3p8slaqwhwkc9p2vnh0cssnmg6ivxsjscqhgz"))))
3263 (build-system meson-build-system)
3267 #:imported-modules `((guix build python-build-system)
3268 ,@%meson-build-system-modules)
3269 #:modules '((guix build meson-build-system)
3270 ((guix build python-build-system) #:prefix python:)
3273 #~(modify-phases %standard-phases
3274 (add-after 'unpack 'patch-source
3275 (lambda* (#:key inputs #:allow-other-keys)
3276 (substitute* "cambalache/cmb_view.py"
3277 (("GLib\\.find_program_in_path\\('(.*)'\\)" all cmd)
3279 (search-input-file inputs
3280 (string-append "/bin/" cmd))
3282 (add-after 'unpack 'patch-build
3284 (substitute* "postinstall.py"
3285 (("update-desktop-database") "true"))))
3286 (add-after 'wrap 'python-wrap (assoc-ref python:%standard-phases 'wrap))
3288 (add-after 'install 'add-install-to-pythonpath
3289 (assoc-ref python:%standard-phases 'add-install-to-pythonpath))
3290 (add-after 'add-install-to-pythonpath 'pre-check
3292 (system "Xvfb :1 &")
3293 (setenv "DISPLAY" ":1")))
3294 (add-after 'pre-check 'check
3295 (lambda* (#:key tests? #:allow-other-keys)
3297 (with-directory-excursion ".."
3298 (invoke "python3" "-m" "pytest")))))
3299 (add-after 'glib-or-gtk-wrap 'wrap-typelib
3300 (lambda* (#:key outputs #:allow-other-keys)
3301 (let ((out (assoc-ref outputs "out")))
3304 (unless (wrapped-program? prog)
3306 `("GI_TYPELIB_PATH" suffix
3307 (,(string-append out "/lib/girepository-1.0")
3308 ,(getenv "GI_TYPELIB_PATH")))
3309 ;; icons and schemas
3310 `("XDG_DATA_DIRS" suffix
3313 (file-append (this-package-input input) "/share"))
3314 '("adwaita-icon-theme" "hicolor-icon-theme"
3315 "gsettings-desktop-schemas")))
3316 ;; Wrapping GDK_PIXBUF_MODULE_FILE allows Cambalache to
3317 ;; load its own icons in pure environments.
3318 `("GDK_PIXBUF_MODULE_FILE" =
3319 (,(getenv "GDK_PIXBUF_MODULE_FILE"))))))
3320 (find-files (string-append out "/bin")))))))))
3321 (inputs (list bash-minimal
3322 adwaita-icon-theme hicolor-icon-theme
3323 gsettings-desktop-schemas
3325 `(,gtk+ "bin") ; broadwayd
3329 (librsvg-for-system)
3330 python python-pygobject python-lxml
3331 webkitgtk-with-libsoup2))
3332 (native-inputs (list `(,glib "bin") gobject-introspection
3333 gettext-minimal pkg-config
3334 python-pytest xorg-server-for-tests))
3335 (home-page "https://gitlab.gnome.org/jpu/cambalache")
3336 (synopsis "Rapid application development tool")
3337 (description "Cambalache is a rapid application development (RAD) tool for
3338 Gtk 4 and 3 with a clear model-view-controller (MVC) design and
3339 data model first philosophy.")
3340 (license (list license:lgpl2.1
3341 license:gpl2)))) ; tools
3343 (define-public libcroco
3349 (uri (string-append "mirror://gnome/sources/" name "/"
3350 (version-major+minor version) "/"
3351 name "-" version ".tar.xz"))
3352 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3355 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3356 (build-system gnu-build-system)
3360 (list glib libxml2 zlib))
3361 (home-page "https://github.com/GNOME/libcroco")
3362 (synopsis "CSS2 parsing and manipulation library")
3364 "Libcroco is a standalone CSS2 parsing and manipulation library.
3365 The parser provides a low level event driven SAC-like API and a CSS object
3366 model like API. Libcroco provides a CSS2 selection engine and an experimental
3367 XML/CSS rendering engine.")
3370 (license license:lgpl2.1)))
3372 (define-public libgsf
3378 (uri (string-append "mirror://gnome/sources/" name "/"
3379 (version-major+minor version) "/"
3380 name "-" version ".tar.xz"))
3383 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3384 (build-system glib-or-gtk-build-system)
3385 (outputs '("out" "bin" "doc"))
3390 "--enable-introspection"
3391 (string-append "--with-gir-dir="
3392 (assoc-ref %outputs "out")
3395 (package-version gobject-introspection))
3397 (string-append "--with-typelib-dir="
3398 (assoc-ref %outputs "out")
3399 "/lib/girepository-"
3401 (package-version gobject-introspection))
3403 (string-append "--with-html-dir="
3404 (assoc-ref %outputs "doc")
3405 "/share/gtk-doc/html")
3409 (modify-phases %standard-phases
3410 (add-after 'unpack 'patch-docbook-xml
3411 (lambda* (#:key inputs #:allow-other-keys)
3412 (with-directory-excursion "doc"
3413 (substitute* "gsf-docs.xml"
3414 (("http://www.oasis-open.org/docbook/xml/4.5/")
3415 (string-append (assoc-ref inputs "docbook-xml")
3416 "/xml/dtd/docbook/"))))
3419 `(("docbook-xml" ,docbook-xml)
3420 ("gettext" ,gettext-minimal)
3421 ("gobject-introspection" ,gobject-introspection)
3423 ("perl-xml-parser" ,perl-xml-parser)
3424 ("pkg-config" ,pkg-config)
3425 ("python" ,python-wrapper)))
3427 (list bzip2 gdk-pixbuf zlib))
3429 (list glib libxml2))
3430 (synopsis "G Structured File Library")
3431 (description "Libgsf aims to provide an efficient extensible I/O abstraction
3432 for dealing with different structured file formats.")
3433 (home-page "https://gitlab.gnome.org/GNOME/libgsf")
3439 license:lgpl2.0+))))
3441 (define-public librsvg
3447 (uri (string-append "mirror://gnome/sources/librsvg/"
3448 (version-major+minor version) "/"
3449 "librsvg-" version ".tar.xz"))
3452 "1g3f8byg5w08fx1bka12mmpl59v6a4q2p827w6m2la6mijq63yzz"))
3453 (modules '((guix build utils)))
3455 '(begin (delete-file-recursively "vendor")))))
3456 (build-system cargo-build-system)
3457 (outputs '("out" "doc" "debug"))
3459 `(#:install-source? #f
3461 ((guix build cargo-build-system)
3463 ((guix build gnu-build-system) #:prefix gnu:))
3465 (("rust-bitflags" ,rust-bitflags-1)
3466 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3467 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3468 ("rust-cast" ,rust-cast-0.2)
3469 ("rust-cssparser" ,rust-cssparser-0.27)
3470 ("rust-data-url" ,rust-data-url-0.1)
3471 ("rust-encoding" ,rust-encoding-0.2)
3472 ("rust-float-cmp" ,rust-float-cmp-0.8)
3473 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3474 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3475 ("rust-gio" ,rust-gio-0.8)
3476 ("rust-gio-sys" ,rust-gio-sys-0.9)
3477 ("rust-glib" ,rust-glib-0.9)
3478 ("rust-glib-sys" ,rust-glib-sys-0.9)
3479 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3480 ("rust-itertools" ,rust-itertools-0.9)
3481 ("rust-language-tags" ,rust-language-tags-0.2)
3482 ("rust-libc" ,rust-libc-0.2)
3483 ("rust-locale-config" ,rust-locale-config-0.3)
3484 ("rust-markup5ever" ,rust-markup5ever-0.10)
3485 ("rust-nalgebra" ,rust-nalgebra-0.21)
3486 ("rust-num-traits" ,rust-num-traits-0.2)
3487 ("rust-once-cell" ,rust-once-cell-1)
3488 ("rust-pkg-config" ,rust-pkg-config-0.3)
3489 ("rust-pango" ,rust-pango-0.8)
3490 ("rust-pango-sys" ,rust-pango-sys-0.9)
3491 ("rust-pangocairo" ,rust-pangocairo-0.9)
3492 ("rust-rayon" ,rust-rayon-1)
3493 ("rust-rctree" ,rust-rctree-0.3)
3494 ("rust-rgb" ,rust-rgb-0.8)
3495 ("rust-regex" ,rust-regex-1)
3496 ("rust-selectors" ,rust-selectors-0.22)
3497 ("rust-string-cache" ,rust-string-cache-0.8)
3498 ("rust-tinyvec" ,rust-tinyvec-0.3)
3499 ("rust-url" ,rust-url-2)
3500 ("rust-xml5ever" ,rust-xml5ever-0.16))
3501 #:cargo-development-inputs
3502 (("rust-assert-cmd" ,rust-assert-cmd-1)
3503 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3504 ("rust-chrono" ,rust-chrono-0.4)
3505 ("rust-criterion" ,rust-criterion-0.3)
3506 ("rust-float-cmp" ,rust-float-cmp-0.8)
3507 ("rust-lopdf" ,rust-lopdf-0.26)
3508 ("rust-png" ,rust-png-0.16)
3509 ("rust-predicates" ,rust-predicates-1)
3510 ("rust-tempfile" ,rust-tempfile-3))
3512 (modify-phases %standard-phases
3513 (add-after 'unpack 'patch-docbook-xml
3514 (lambda* (#:key inputs #:allow-other-keys)
3515 (with-directory-excursion "doc"
3516 (substitute* "rsvg-docs.xml"
3517 (("http://www.oasis-open.org/docbook/xml/4.3/")
3518 (string-append (assoc-ref inputs "docbook-xml")
3519 "/xml/dtd/docbook/"))))))
3520 (add-after 'unpack 'prepare-for-build
3522 ;; In lieu of #:make-flags
3523 (setenv "CC" ,(cc-for-target))
3524 ;; Something about the build environment resists building
3525 ;; successfully with the '--locked' flag.
3526 (substitute* '("Makefile.am" "Makefile.in")
3527 (("--locked") ""))))
3528 (add-before 'configure 'pre-configure
3529 (lambda* (#:key outputs #:allow-other-keys)
3530 (substitute* "gdk-pixbuf-loader/Makefile.in"
3531 ;; By default the gdk-pixbuf loader is installed under
3532 ;; gdk-pixbuf's prefix. Work around that.
3533 (("gdk_pixbuf_moduledir = .*$")
3534 (string-append "gdk_pixbuf_moduledir = "
3536 ,(dirname %gdk-pixbuf-loaders-cache-file) "/"
3538 (substitute* "configure"
3539 (("gdk_pixbuf_cache_file=.*")
3540 (string-append "gdk_pixbuf_cache_file="
3541 (assoc-ref outputs "out") "/"
3542 ,%gdk-pixbuf-loaders-cache-file "\n")))))
3543 (add-after 'configure 'gnu-configure
3544 (lambda* (#:key outputs #:allow-other-keys #:rest args)
3545 (apply (assoc-ref gnu:%standard-phases 'configure)
3547 (list "--disable-static"
3549 (string-append "--with-html-dir="
3550 (assoc-ref outputs "doc")
3551 "/share/gtk-doc/html"))
3553 (add-after 'configure 'dont-vendor-self
3554 (lambda* (#:key vendor-dir #:allow-other-keys)
3555 ;; Don't keep the whole tarball in the vendor directory
3556 (delete-file-recursively
3557 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))))
3559 (assoc-ref gnu:%standard-phases 'build))
3560 (add-before 'check 'ignore-failing-tests
3561 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3563 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3564 (("fn background_color_option_invalid_color_yields_error" all)
3565 (string-append "#[ignore] " all))
3566 (("fn empty_input_yields_error" all)
3567 (string-append "#[ignore] " all))
3568 (("fn empty_svg_yields_error" all)
3569 (string-append "#[ignore] " all))
3570 (("fn env_source_data_epoch_empty" all)
3571 (string-append "#[ignore] " all))
3572 (("fn env_source_data_epoch_no_digits" all)
3573 (string-append "#[ignore] " all))
3574 (("fn env_source_data_epoch_trailing_garbage" all)
3575 (string-append "#[ignore] " all))
3576 (("fn export_id_option_error" all)
3577 (string-append "#[ignore] " all))
3578 (("fn huge_zoom_factor_yields_error" all)
3579 (string-append "#[ignore] " all))
3580 (("fn multiple_input_files_not_allowed_for_png_output" all)
3581 (string-append "#[ignore] " all))
3582 (("fn stylesheet_option_error" all)
3583 (string-append "#[ignore] " all)))))
3586 ((assoc-ref gnu:%standard-phases 'check)
3587 #:test-target "check")))
3589 (assoc-ref gnu:%standard-phases 'install)))))
3591 (list docbook-xml-4.3
3593 gobject-introspection
3597 (list freetype harfbuzz libxml2 pango))
3599 (list cairo gdk-pixbuf glib))
3600 (synopsis "SVG rendering library")
3601 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3602 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3603 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3605 (home-page "https://wiki.gnome.org/LibRsvg")
3606 (license license:lgpl2.1+)))
3608 ;; This copy of librsvg uses the bundled rust libraries. It is useful for
3609 ;; packages which have too many dependencies to be rebuilt as frequently
3610 ;; as the rust inputs are updated.
3611 ;; TODO: Remove this package and use packaged rust libraries!
3612 (define-public librsvg-bootstrap
3619 (uri (string-append "mirror://gnome/sources/librsvg/"
3620 (version-major+minor version) "/"
3621 "librsvg-" version ".tar.xz"))
3624 "1g3f8byg5w08fx1bka12mmpl59v6a4q2p827w6m2la6mijq63yzz"))
3625 (modules '((guix build utils)))
3628 (for-each delete-file (find-files "vendor" "\\.a$"))))))
3630 (substitute-keyword-arguments (package-arguments librsvg)
3631 ((#:vendor-dir _ "vendor") "vendor")
3632 ((#:cargo-inputs _) '())
3633 ((#:cargo-development-inputs _) '())))
3634 (properties '((hidden? . #t)))))
3636 (define-public librsvg-2.40
3637 ;; This is the last version implemented in C.
3643 (uri (string-append "mirror://gnome/sources/librsvg/"
3644 (version-major+minor version)
3645 "/librsvg-" version ".tar.xz"))
3648 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3649 (build-system gnu-build-system)
3651 `(#:configure-flags (list "--disable-static")
3653 (modify-phases %standard-phases
3654 (add-before 'configure 'pre-configure
3655 (lambda* (#:key inputs #:allow-other-keys)
3656 (substitute* "gdk-pixbuf-loader/Makefile.in"
3657 ;; By default the gdk-pixbuf loader is installed under
3658 ;; gdk-pixbuf's prefix. Work around that.
3659 (("gdk_pixbuf_moduledir = .*$")
3660 (string-append "gdk_pixbuf_moduledir = "
3661 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3663 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3664 (("gdk_pixbuf_cache_file = .*$")
3665 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3667 (add-before 'check 'remove-failing-tests
3669 (with-directory-excursion "tests/fixtures/reftests"
3670 (for-each delete-file
3671 '(;; This test fails on i686:
3672 "svg1.1/masking-path-04-b.svg"
3673 ;; This test fails on armhf:
3674 "svg1.1/masking-mask-01-b.svg"
3675 ;; This test fails on aarch64:
3676 "bugs/777834-empty-text-children.svg"
3678 ;; These two tests fail due to slightly different
3679 ;; text rendering (different kerning or similar),
3680 ;; nothing alarming.
3682 "bugs/749415.svg"))))))))
3685 `(,glib "bin") ; glib-mkenums, etc.
3686 gobject-introspection)) ; g-ir-compiler, etc.
3688 (list pango libcroco libxml2))
3690 ;; librsvg-2.0.pc refers to all of that.
3691 (list cairo gdk-pixbuf glib))
3692 (synopsis "Render SVG files using Cairo (ancient C version)")
3693 (properties '((hidden? . #t)))))
3695 (define* (librsvg-for-system #:optional
3696 (system (or (%current-target-system)
3697 (%current-system))))
3698 ;; Since librsvg 2.50 depends on Rust, and Rust is only correctly supported
3699 ;; on x86_64 so far, use the ancient C version on other platforms (FIXME).
3700 (if (string-prefix? "x86_64-" system)
3704 (export librsvg-for-system)
3706 (define-public libidl
3712 (uri (string-append "mirror://gnome/sources/libIDL/"
3713 (version-major+minor version) "/"
3714 "libIDL-" version ".tar.bz2"))
3717 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3718 (build-system gnu-build-system)
3719 (inputs (list glib))
3721 (list pkg-config flex bison))
3722 (home-page "http://freecode.com/projects/libidl")
3723 (synopsis "Create trees of CORBA Interface Definition Language files")
3724 (description "Libidl is a library for creating trees of CORBA Interface
3725 Definition Language (idl) files, which is a specification for defining
3726 portable interfaces. libidl was initially written for orbit (the orb from the
3727 GNOME project, and the primary means of libidl distribution). However, the
3728 functionality was designed to be as reusable and portable as possible.")
3729 (properties `((upstream-name . "libIDL")))
3730 (license license:lgpl2.0+)))
3733 (define-public orbit2
3739 (uri (let ((upstream-name "ORBit2"))
3740 (string-append "mirror://gnome/sources/" upstream-name "/"
3741 (version-major+minor version) "/"
3742 upstream-name "-" version ".tar.bz2")))
3745 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3746 (build-system gnu-build-system)
3748 `(;; The "timeout-server" test hangs when run in parallel.
3749 #:parallel-tests? #f
3751 '(;; We don't need static libraries, plus they don't build reproducibly
3752 ;; (non-deterministic ordering of .o files in the archive.)
3755 ;; The programmer kindly gives us a hook to turn off deprecation
3757 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3758 ;; ... which they then completly ignore !!
3760 (modify-phases %standard-phases
3761 (add-after 'unpack 'fix-parallel-build
3762 ;; Parallel build fails because of a failed dependency,
3763 ;; https://bugzilla.gnome.org/show_bug.cgi?id=732274
3765 (substitute* "src/services/name/Makefile.am"
3766 (("orbit_name_server_2_DEPENDENCIES = \\$(DEPS) CosNaming.h")
3767 "orbit_name_server_2_DEPENDENCIES = \
3768 $(DEPS) CosNaming.h libname-server-2.a"))))
3769 (add-before 'configure 'ignore-deprecations
3771 (substitute* "linc2/src/Makefile.in"
3772 (("-DG_DISABLE_DEPRECATED")
3773 "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))))))
3774 (inputs (list glib libidl))
3777 (home-page "https://projects.gnome.org/orbit2/")
3778 (synopsis "CORBA 2.4-compliant Object Request Broker")
3779 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3780 featuring mature C, C++ and Python bindings.")
3781 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3782 ;; a version. SOME of the code files have licence notices for GPLv2+.
3783 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3784 (license license:gpl2+)
3785 (properties `((upstream-name . "ORBit2")))))
3788 (define-public libbonobo
3794 (uri (string-append "mirror://gnome/sources/" name "/"
3795 (version-major+minor version)
3796 "/" name "-" version ".tar.bz2"))
3798 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3799 (patches (search-patches
3800 "libbonobo-activation-test-race.patch"))))
3801 (build-system gnu-build-system)
3803 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3805 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3806 ;; ... which they then completly ignore !!
3808 (modify-phases %standard-phases
3809 (add-before 'configure 'ignore-deprecations
3811 (substitute* "activation-server/Makefile.in"
3812 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3815 ;; There's apparently a race condition between the server stub
3816 ;; generation and linking of the example under 'samples/echo' that can
3817 ;; lead do undefined references when building in parallel, as reported
3818 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3819 ;; Thus, disable parallel builds.
3820 #:parallel-build? #f))
3821 (inputs (list popt libxml2))
3822 ;; The following are Required by the .pc file
3828 `(,glib "bin") ; for glib-genmarshal, etc.
3831 (home-page "https://developer.gnome.org/libbonobo/")
3832 (synopsis "Framework for creating reusable components for use in GNOME applications")
3833 (description "Bonobo is a framework for creating reusable components for
3834 use in GNOME applications, built on top of CORBA.")
3835 ;; Licence not explicitly stated. Source files contain no licence notices.
3836 ;; Tarball contains text of both GPLv2 and LGPLv2
3837 ;; GPLv2 covers both conditions
3838 (license license:gpl2+)))
3841 (define-public gconf
3848 (let ((upstream-name "GConf"))
3849 (string-append "mirror://gnome/sources/" upstream-name "/"
3850 (version-major+minor version) "/"
3851 upstream-name "-" version ".tar.xz")))
3853 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3854 (build-system gnu-build-system)
3855 (inputs (list dbus-glib libxml2))
3856 (propagated-inputs (list glib ; referred to in the .pc file
3860 `(,glib "bin") ; for glib-genmarshal, etc.
3862 (home-page "https://projects.gnome.org/gconf/")
3863 (synopsis "Store application preferences")
3864 (description "Gconf is a system for storing application preferences. It
3865 is intended for user preferences; not arbitrary data storage.")
3866 (license license:lgpl2.0+)
3867 (properties '((upstream-name . "GConf")))))
3870 (define-public gnome-mime-data
3872 (name "gnome-mime-data")
3876 (uri (string-append "mirror://gnome/sources/" name "/"
3877 (version-major+minor version) "/"
3878 name "-" version ".tar.bz2"))
3881 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3882 (build-system gnu-build-system)
3884 (list perl intltool))
3886 '(#:phases (modify-phases %standard-phases
3887 (add-after 'configure 'use-our-intltool
3889 ;; Do not use the bundled intltool commands, which lack
3890 ;; the "dotless @INC" fixes of our 'intltool' package.
3891 (substitute* (find-files "." "^Makefile$")
3892 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3893 (string-append "INTLTOOL_" tool " = intltool-"
3894 (string-downcase tool) "\n")))
3896 (home-page "https://www.gnome.org")
3897 (synopsis "Base MIME and Application database for GNOME")
3898 (description "GNOME Mime Data is a module which contains the base MIME
3899 and Application database for GNOME. The data stored by this module is
3900 designed to be accessed through the MIME functions in GnomeVFS.")
3901 (license license:gpl2+)))
3904 (define-public gnome-vfs
3910 (uri (string-append "mirror://gnome/sources/" name "/"
3911 (version-major+minor version) "/"
3912 name "-" version ".tar.bz2"))
3915 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3916 (build-system gnu-build-system)
3919 (modify-phases %standard-phases
3920 (add-before 'configure 'ignore-deprecations
3922 (substitute* '("libgnomevfs/Makefile.in"
3923 "daemon/Makefile.in")
3924 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3926 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3928 (substitute* "test/test-async-cancel.c"
3929 (("EXIT_FAILURE") "77"))
3931 (inputs (list libxml2 dbus-glib gconf gnome-mime-data zlib))
3933 (list `(,glib "bin") ; for glib-mkenums, etc.
3934 intltool pkg-config))
3935 (home-page "https://developer.gnome.org/gnome-vfs/")
3936 (synopsis "Access files and folders in GNOME applications")
3938 "GnomeVFS is the core library used to access files and folders in GNOME
3939 applications. It provides a file system abstraction which allows applications
3940 to access local and remote files with a single consistent API.")
3941 (license license:lgpl2.0+)))
3945 (define-public libgnome
3951 (uri (string-append "mirror://gnome/sources/" name "/"
3952 (version-major+minor version) "/"
3953 name "-" version ".tar.bz2"))
3956 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3957 (patches (search-patches "libgnome-encoding.patch"))))
3958 (build-system gnu-build-system)
3961 (modify-phases %standard-phases
3962 (add-before 'configure 'enable-deprecated
3964 (substitute* "libgnome/Makefile.in"
3965 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3967 (inputs (list libxml2))
3969 (list `(,glib "bin") ; for glib-mkenums, etc.
3970 intltool pkg-config))
3971 ;; The following are listed as Required in the .pc file
3972 ;; (except for libcanberra -- which seems to be oversight on the part
3973 ;; of the upstream developers -- anything that links against libgnome,
3974 ;; must also link against libcanberra
3976 (list libcanberra libbonobo gconf gnome-vfs popt)) ;gnome-program.h includes popt.h
3977 (home-page "https://developer.gnome.org/libgnome/")
3978 (synopsis "Useful routines for building applications")
3979 (description "The libgnome library provides a number of useful routines
3980 for building modern applications, including session management, activation of
3981 files and URIs, and displaying help.")
3982 (license license:lgpl2.0+)))
3985 (define-public libart-lgpl
3987 (name "libart-lgpl")
3991 (uri (let ((upstream-name "libart_lgpl"))
3992 (string-append "mirror://gnome/sources/" upstream-name "/"
3993 (version-major+minor version) "/"
3994 upstream-name "-" version ".tar.bz2")))
3997 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3998 (build-system gnu-build-system)
4001 (home-page "https://people.gnome.org/~mathieu/libart")
4002 (synopsis "2D drawing library")
4003 (description "Libart is a 2D drawing library intended as a
4004 high-quality vector-based 2D library with antialiasing and alpha composition.")
4005 (license license:lgpl2.0+)))
4009 (define-public libgnomecanvas
4011 (name "libgnomecanvas")
4015 (uri (string-append "mirror://gnome/sources/" name "/"
4016 (version-major+minor version) "/"
4017 name "-" version ".tar.gz"))
4020 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
4021 (build-system gnu-build-system)
4022 ;; Mentioned as Required in the .pc file
4023 (propagated-inputs (list libart-lgpl gtk+-2))
4026 `(,glib "bin") ; for glib-genmarshal, etc.
4028 (home-page "https://developer.gnome.org/libgnomecanvas/")
4029 (synopsis "Flexible widget for creating interactive structured graphics")
4030 (description "The GnomeCanvas widget provides a flexible widget for
4031 creating interactive structured graphics.")
4032 (license license:lgpl2.0+)))
4034 (define-public libgnomecanvasmm
4036 (name "libgnomecanvasmm")
4040 (uri (string-append "mirror://gnome/sources/" name "/"
4041 (version-major+minor version) "/"
4042 name "-" version ".tar.bz2"))
4045 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
4046 (build-system gnu-build-system)
4047 (propagated-inputs (list libgnomecanvas))
4049 (list gtkmm-2 pkg-config))
4050 (home-page "https://gtkmm.org")
4051 (synopsis "C++ bindings to the GNOME Canvas library")
4052 (description "C++ bindings to the GNOME Canvas library.")
4053 (license license:lgpl2.0+)))
4055 (define-public libgnomeui
4061 (uri (string-append "mirror://gnome/sources/" name "/"
4062 (version-major+minor version) "/"
4063 name "-" version ".tar.bz2"))
4064 (patches (search-patches "libgnomeui-utf8.patch"))
4067 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
4068 (build-system gnu-build-system)
4069 ;; Mentioned as Required in the .pc file
4070 (propagated-inputs (list libbonoboui libgnome libgnomecanvas
4072 (inputs (list libjpeg-turbo popt libbonobo libxml2 libglade))
4074 (list `(,glib "bin") ; for glib-mkenums, etc.
4075 intltool pkg-config))
4076 (home-page "https://developer.gnome.org/libgnomeui/")
4077 (synopsis "Additional widgets for applications")
4078 (description "The libgnomeui library provides additional widgets for
4079 applications. Many of the widgets from libgnomeui have already been
4081 (license license:lgpl2.0+)))
4083 (define-public libglade
4089 (uri (string-append "mirror://gnome/sources/" name "/"
4090 (version-major+minor version) "/"
4091 name "-" version ".tar.bz2"))
4094 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
4095 (build-system gnu-build-system)
4097 (list python)) ;; needed for the optional libglade-convert program
4099 (list gtk+-2 libxml2)) ; required by libglade-2.0.pc
4102 (home-page "https://developer.gnome.org/libglade")
4103 (synopsis "Load glade interfaces and access the glade built widgets")
4104 (description "Libglade is a library that provides interfaces for loading
4105 graphical interfaces described in glade files and for accessing the
4106 widgets built in the loading process.")
4107 (license license:gpl2+))) ; This is correct. GPL not LGPL
4109 (define-public libbonoboui
4111 (name "libbonoboui")
4115 (uri (string-append "mirror://gnome/sources/" name "/"
4116 (version-major+minor version) "/"
4117 name "-" version ".tar.bz2"))
4120 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4121 (build-system gnu-build-system)
4124 (modify-phases %standard-phases
4125 (add-before 'check 'start-xserver
4126 (lambda* (#:key inputs #:allow-other-keys)
4127 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4130 (setenv "HOME" (getcwd))
4131 (setenv "DISPLAY" disp)
4132 ;; There must be a running X server and make check doesn't start one.
4133 ;; Therefore we must do it.
4134 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4135 ;; Mentioned as Required by the .pc file
4136 (propagated-inputs (list libxml2))
4138 (list popt pangox-compat libgnome libgnomecanvas libglade))
4140 (list `(,glib "bin") ; for glib-genmarshal, etc.
4142 xorg-server-for-tests ; For running the tests
4144 (home-page "https://developer.gnome.org/libbonoboui/")
4145 (synopsis "Some user interface controls using Bonobo")
4146 (description "The Bonobo UI library provides a number of user interface
4147 controls using the Bonobo component framework.")
4148 (license license:lgpl2.0+)))
4150 (define-public libwnck
4156 (uri (string-append "mirror://gnome/sources/" name "/"
4157 (version-major+minor version) "/"
4158 name "-" version ".tar.xz"))
4161 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4162 (build-system meson-build-system)
4165 `(,glib "bin") ; for glib-mkenums
4166 gobject-introspection ; for g-ir-scanner
4169 (list gtk+ libxres startup-notification))
4170 (home-page "https://developer.gnome.org/libwnck/")
4171 (synopsis "Window Navigator Construction Kit")
4173 "Libwnck is the Window Navigator Construction Kit, a library for use in
4174 writing pagers, tasklists, and more generally applications that are dealing
4175 with window management. It tries hard to respect the Extended Window Manager
4176 Hints specification (EWMH).")
4177 (license license:lgpl2.0+)))
4179 ;; stable version for gtk2, required by xfwm4.
4180 (define-public libwnck-2
4181 (package (inherit libwnck)
4186 (uri (string-append "mirror://gnome/sources/" name "/"
4187 (version-major+minor version) "/"
4188 name "-" version ".tar.xz"))
4191 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4192 (build-system gnu-build-system)
4194 (list pkg-config intltool))
4196 (list gtk+-2 libxres startup-notification))))
4198 (define-public goffice
4205 (uri (string-append "mirror://gnome/sources/goffice/"
4206 (version-major+minor version) "/"
4207 "goffice-" version ".tar.xz"))
4209 (base32 "0344k0ffndd79as3c4nfq3mia7mrds6aq2jg76drdw3h8gcyzfb0"))))
4210 (build-system gnu-build-system)
4212 "doc")) ; 4.0 MiB of gtk-doc
4214 '(#:configure-flags (list (string-append "--with-html-dir="
4215 (assoc-ref %outputs "doc")
4216 "/share/gtk-doc/html"))))
4218 (list gtk+ libgsf librsvg libxslt libxml2))
4220 (list intltool `(,glib "bin") pkg-config))
4221 (home-page "https://developer.gnome.org/goffice/")
4222 (synopsis "Document-centric objects and utilities")
4223 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4225 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4227 (list license:gpl2 license:gpl3))))
4229 (define-public goffice-0.8
4230 (package (inherit goffice)
4234 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4235 (version-major+minor version) "/"
4236 (package-name goffice) "-" version ".tar.xz"))
4238 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4241 (modify-phases %standard-phases
4242 (add-after 'unpack 'fix-pcre-check
4244 ;; Only glib.h can be included directly. See
4245 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4246 (substitute* "configure"
4247 (("glib/gregex\\.h") "glib.h")) #t)))
4249 ,@(package-arguments goffice)))
4251 ;; libgoffice-0.8.pc mentions libgsf-1
4255 ,@(alist-delete "gtk" (package-inputs goffice))))))
4257 (define-public gnumeric
4263 (uri (string-append "mirror://gnome/sources/gnumeric/"
4264 (version-major+minor version) "/"
4265 "gnumeric-" version ".tar.xz"))
4268 "0fw201j0sks95wgvns3vydgprhwf6z4v4xb2a0ldi892k8277kvk"))))
4269 (build-system glib-or-gtk-build-system)
4271 `(;; The gnumeric developers don't worry much about failing tests.
4272 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4275 (modify-phases %standard-phases
4277 'configure 'pre-conf
4278 (lambda* (#:key outputs #:allow-other-keys)
4279 ;; Make install tries to write into the directory of goffice
4280 ;; I am informed that this only affects the possibility to embed a
4281 ;; spreadsheet inside an Abiword document. So presumably when we
4282 ;; package Abiword we'll have to refer it to this directory.
4283 (substitute* "configure"
4284 (("^GOFFICE_PLUGINS_DIR=.*")
4285 (string-append "GOFFICE_PLUGINS_DIR="
4286 (assoc-ref outputs "out")
4287 "/goffice/plugins"))))))))
4306 (home-page "http://www.gnumeric.org")
4307 (synopsis "Spreadsheet application")
4309 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4310 interoperable with other spreadsheet applications. It has a vast array of
4311 features beyond typical spreadsheet functionality, such as support for linear
4312 and non-linear solvers, statistical analysis, and telecommunication
4315 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4316 (list license:gpl2 license:gpl3))))
4318 (define-public drawing
4326 (url "https://github.com/maoschanz/drawing")
4328 (file-name (git-file-name name version))
4330 (base32 "0wz9p47riyy3h8b0sqsb6bx416hc6d1a1wyzlfmsxkrqrkwcjcm8"))))
4331 (build-system meson-build-system)
4335 (modify-phases %standard-phases
4336 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4337 (lambda* (#:key outputs #:allow-other-keys)
4338 (let ((prog (string-append (assoc-ref outputs "out")
4340 (pylib (string-append (assoc-ref outputs "out")
4342 ,(version-major+minor
4343 (package-version python))
4346 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
4347 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
4349 `(("desktop-file-utils" ,desktop-file-utils)
4350 ("gettext" ,gettext-minimal)
4351 ("glib:bin" ,glib "bin")
4352 ("gobject-introspection" ,gobject-introspection)
4353 ("gtk+:bin" ,gtk+ "bin")
4354 ("pkg-config" ,pkg-config)))
4357 gsettings-desktop-schemas
4362 (home-page "https://maoschanz.github.io/drawing/")
4363 (synopsis "Basic image editor for GNOME")
4365 "Drawing is a basic image editor aiming at the GNOME desktop.")
4366 (license license:gpl3+)))
4368 (define-public seahorse
4375 (uri (string-append "mirror://gnome/sources/" name "/"
4376 (version-major version) "/" name "-"
4379 (base32 "1x99i7kdvd8hbxcs5rfrq7nw6r9bfzaw263zaigjjj04h6gc1vp6"))))
4380 (build-system meson-build-system)
4384 (modify-phases %standard-phases
4385 (add-after 'unpack 'skip-gtk-update-icon-cache
4386 ;; Don't create 'icon-theme.cache'.
4388 (substitute* "build-aux/meson_post_install.py"
4389 (("gtk-update-icon-cache") "true"))
4391 (add-before 'check 'pre-check
4393 ;; Tests require a writable HOME.
4394 (setenv "HOME" (getcwd)))))))
4400 ("openldap" ,openldap)
4401 ("openssh" ,openssh)
4403 ("libhandy" ,libhandy)
4404 ("libpwquality" ,libpwquality)
4405 ("libsecret" ,libsecret)
4406 ("libsoup" ,libsoup-minimal-2)))
4408 `(("gettext" ,gettext-minimal)
4409 ("glib:bin" ,glib "bin")
4410 ("itstool" ,itstool)
4411 ("pkg-config" ,pkg-config)
4414 ("xmllint" ,libxml2)))
4415 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4416 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4418 "Seahorse is a GNOME application for managing encryption keys and
4419 passwords in the GNOME keyring.")
4420 (license license:gpl2+)))
4428 (uri (string-append "mirror://gnome/sources/vala/"
4429 (version-major+minor version) "/"
4430 "vala-" version ".tar.xz"))
4433 "048k5c6c6y7jyb961krnrb7m0kghr0yrkpnfx3j5ckbx652yfkc8"))))
4434 (build-system glib-or-gtk-build-system)
4436 '(#:configure-flags '("--enable-coverage")
4438 (modify-phases %standard-phases
4439 (add-after 'unpack 'patch-docbook-xml
4440 (lambda* (#:key inputs #:allow-other-keys)
4441 (with-directory-excursion "doc/manual"
4442 (substitute* '("manual.xml" "version.xml.in")
4443 (("http://www.oasis-open.org/docbook/xml/4.4/")
4444 (string-append (assoc-ref inputs "docbook-xml")
4445 "/xml/dtd/docbook/"))))))
4446 (add-before 'check 'pre-check
4449 (substitute* "valadoc/tests/libvaladoc\
4450 /tests-extra-environment.sh"
4451 (("export PKG_CONFIG_PATH=" m)
4452 (string-append m "$PKG_CONFIG_PATH:"))))))))
4455 ("dbus" ,dbus) ; for dbus tests
4456 ("docbook-xml" ,docbook-xml-4.4)
4457 ("docbook-xsl" ,docbook-xsl)
4459 ("gobject-introspection" ,gobject-introspection) ; for gir tests
4460 ("help2man" ,help2man)
4462 ("pkg-config" ,pkg-config)
4463 ("xsltproc" ,libxslt)))
4465 `(("glib" ,glib) ; required by libvala-0.40.pc
4466 ("libgvc" ,graphviz)))
4467 (home-page "https://wiki.gnome.org/Projects/Vala/")
4468 (synopsis "Compiler using the GObject type system")
4469 (description "Vala is a programming language using modern high level
4470 abstractions without imposing additional runtime requirements and without using
4471 a different ABI compared to applications and libraries written in C. Vala uses
4472 the GObject type system and has additional code generation routines that make
4473 targeting the GNOME stack simple.")
4474 (license license:lgpl2.1+)))
4476 (define-public vala-next
4482 (uri (string-append "mirror://gnome/sources/vala/"
4483 (version-major+minor version) "/"
4484 "vala-" version ".tar.xz"))
4487 "0k0jj3xwjq222x0hbqqy5bykhgk1f1wsb85bqcdgsnbqn6dn3jb6"))))
4490 #:configure-flags #~(list "CC=gcc" "--enable-coverage")
4492 #~(modify-phases %standard-phases
4493 (add-after 'unpack 'use-gcc-by-default
4495 (substitute* "codegen/valaccodecompiler.c"
4496 (("cc_command = \"cc\"")
4497 "cc_command = \"gcc\""))))
4498 (add-after 'unpack 'patch-docbook-xml
4499 (lambda* (#:key inputs #:allow-other-keys)
4500 (with-directory-excursion "doc/manual"
4501 (substitute* '("manual.xml" "version.xml.in")
4502 (("http://www.oasis-open.org/docbook/xml/4.4/")
4503 (search-input-directory inputs "xml/dtd/docbook"))))))
4504 (add-before 'check 'pre-check
4506 (substitute* "valadoc/tests/libvaladoc/tests-extra-environment.sh"
4507 (("export PKG_CONFIG_PATH=" m)
4508 (string-append m "$PKG_CONFIG_PATH:")))))
4509 ;; Wrapping the binaries breaks vala's behavior adaptations based on
4510 ;; the file name of the program executed (vala: compile and execute,
4511 ;; valac: compile into a binary).
4512 (delete 'glib-or-gtk-wrap))))))
4514 ;;; An older variant kept to build libsoup-minimal-2.
4515 (define-public vala-0.52
4516 (package/inherit vala
4520 (uri (string-append "mirror://gnome/sources/vala/"
4521 (version-major+minor version) "/"
4522 "vala-" version ".tar.xz"))
4525 "12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"))))))
4533 (uri (string-append "mirror://gnome/sources/vte/"
4534 (version-major+minor version) "/"
4535 "vte-" version ".tar.xz"))
4538 "0j8pvn225ybzx9p33ill838bzp8kkdn28383h0vs65m2kiwd9rqk"))))
4539 (build-system meson-build-system)
4541 (list #:configure-flags #~(list "-Dvapi=true"
4542 "-D_systemd=false")))
4547 gobject-introspection
4548 `(,glib "bin") ; for glib-genmarshal, etc.
4553 (list gtk+ ; required by vte-2.91.pc
4556 (home-page "https://www.gnome.org/")
4557 (synopsis "Virtual Terminal Emulator")
4559 "VTE is a library (libvte) implementing a terminal emulator widget for
4560 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4561 gnome-terminal, but can also be used to embed a console/terminal in games,
4562 editors, IDEs, etc.")
4563 (license license:lgpl2.1+)))
4565 (define-public vte-ng
4569 (version "0.58.2.a")
4570 (home-page "https://github.com/thestinger/vte-ng")
4573 (uri (git-reference (url home-page) (commit version)))
4574 (file-name (git-file-name name version))
4577 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4578 (build-system meson-build-system)
4580 (list #:configure-flags #~(list "-Ddocs=false")))
4581 (synopsis "Enhanced VTE terminal widget")
4583 "VTE is a library (libvte) implementing a terminal emulator widget for
4584 GTK+, this fork provides additional functions exposed for keyboard text
4585 selection and URL hints.")))
4587 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4588 (define-public vte/gtk+-2
4589 (package (inherit vte)
4594 (uri (string-append "mirror://gnome/sources/" name "/"
4595 (version-major+minor version) "/"
4596 name "-" version ".tar.xz"))
4599 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4600 (patches (search-patches
4601 "vte-CVE-2012-2738-pt1.patch"
4602 "vte-CVE-2012-2738-pt2.patch"))))
4603 (build-system gnu-build-system)
4605 '(#:configure-flags '("--disable-python")))
4607 (list pkg-config intltool
4608 `(,glib "bin"))) ; for glib-genmarshal, etc.
4610 (list gtk+-2 ; required by libvte.pc
4611 ncurses)))) ; required by libvte.la
4613 (define-public vinagre
4619 (uri (string-append "mirror://gnome/sources/" name "/"
4620 (version-major+minor version) "/"
4621 name "-" version ".tar.xz"))
4622 (patches (search-patches "vinagre-newer-freerdp.patch"
4623 "vinagre-newer-rdp-parameters.patch"))
4626 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4627 (build-system glib-or-gtk-build-system)
4629 ;; Disable -Werror and such, to avoid build failures on compilation
4631 '(#:configure-flags '("--enable-compile-warnings=minimum"
4632 "CFLAGS=-O2 -g -fcommon")
4634 (modify-phases %standard-phases
4635 (add-before 'install 'skip-gtk-update-icon-cache
4637 ;; Don't create 'icon-theme.cache'
4638 (substitute* (find-files "." "^Makefile$")
4639 (("gtk-update-icon-cache") (which "true")))
4641 (add-after 'unpack 'patch-configure
4643 (substitute* "configure"
4644 (("freerdp") "freerdp2"))
4647 `(("pkg-config" ,pkg-config)
4648 ("intltool" ,intltool)
4649 ("itstool" ,itstool)
4650 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4661 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4662 (synopsis "Remote desktop viewer for GNOME")
4663 (description "Vinagre is a remote display client supporting the VNC, SPICE
4664 and RDP protocols.")
4665 (license license:gpl3+)))
4667 (define-public dconf
4674 "mirror://gnome/sources/" name "/"
4675 (version-major+minor version) "/"
4676 name "-" version ".tar.xz"))
4679 "0cs5nayg080y8pb9b7qccm1ni8wkicdmqp1jsgc22110r6j24zyg"))))
4680 (build-system meson-build-system)
4682 ;; In Requires of dconf.pc.
4687 `(("bash-completion" ,bash-completion)
4688 ("libxslt" ,libxslt) ;for xsltproc
4689 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4690 ("docbook-xml" ,docbook-xml-4.2)
4691 ("docbook-xsl" ,docbook-xsl)
4692 ("glib:bin" ,glib "bin")
4693 ("gtk-doc" ,gtk-doc/stable)
4694 ("pkg-config" ,pkg-config)
4699 #:configure-flags '("-Dgtk_doc=true")
4700 #:phases (modify-phases %standard-phases
4701 (add-after 'unpack 'increase-test-timeout
4703 ;; On big-memory systems, the engine test may take
4704 ;; much longer than the default of 30 seconds.
4705 (substitute* "tests/meson.build"
4706 (("test\\(unit_test\\[0\\], exe" all)
4707 (string-append all ", timeout: 300"))))))))
4708 (home-page "https://developer.gnome.org/dconf/")
4709 (synopsis "Low-level GNOME configuration system")
4710 (description "Dconf is a low-level configuration system. Its main purpose
4711 is to provide a backend to GSettings on platforms that don't already have
4712 configuration storage systems.")
4713 (license license:lgpl2.1+)))
4715 (define-public json-glib-minimal
4717 (name "json-glib-minimal")
4721 (uri (string-append "mirror://gnome/sources/json-glib/"
4722 (version-major+minor version)
4723 "/json-glib-" version ".tar.xz"))
4726 "092g2dyy1hhl0ix9kp33wcab0pg1qicnsv0cj5ms9g9qs336cgd3"))))
4727 (build-system meson-build-system)
4729 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
4731 `(("gettext" ,gettext-minimal)
4732 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4733 ("pkg-config" ,pkg-config)))
4735 (list bash-minimal))
4737 (list glib)) ;according to json-glib-1.0.pc
4738 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4739 (synopsis "Glib and GObject implementation of JSON")
4740 (description "JSON-GLib is a library providing serialization and
4741 described by RFC 4627. It implements a full JSON parser and generator using
4742 GLib and GObject, and integrates JSON with GLib data types.")
4743 (license license:lgpl2.1+)))
4745 (define-public json-glib
4746 (package/inherit json-glib-minimal
4748 (outputs (cons "doc" (package-outputs json-glib-minimal)))
4750 (substitute-keyword-arguments (package-arguments json-glib-minimal)
4751 ((#:configure-flags _)
4752 `(list "-Ddocs=true"
4754 ,@(if (%current-target-system)
4755 ;; If enabled, gtkdoc-scangobj will try to execute a
4756 ;; cross-compiled binary.
4757 '("-Dgtk_doc=disabled"
4758 ;; Trying to build introspection data when cross-compiling
4759 ;; causes errors during linking.
4760 "-Dintrospection=disabled")
4762 ((#:phases phases '%standard-phases)
4763 `(modify-phases ,phases
4764 (add-after 'unpack 'patch-docbook
4765 (lambda* (#:key native-inputs inputs #:allow-other-keys)
4766 (with-directory-excursion "doc"
4767 (substitute* (find-files "." "\\.xml$")
4768 (("http://www.oasis-open.org/docbook/xml/4\\.3/")
4769 (string-append (assoc-ref (or native-inputs inputs)
4771 "/xml/dtd/docbook/")))
4772 (substitute* "meson.build"
4773 (("http://docbook.sourceforge.net/release/xsl/current/")
4774 (string-append (assoc-ref (or native-inputs inputs)
4776 "/xml/xsl/docbook-xsl-1.79.2/"))))))
4777 ;; When cross-compiling, there are no docs to move.
4778 ,(if (%current-target-system)
4779 '(add-after 'install 'stub-docs
4780 (lambda* (#:key outputs #:allow-other-keys)
4781 ;; The daemon doesn't like empty output paths.
4782 (mkdir (assoc-ref outputs "doc"))))
4783 '(add-after 'install 'move-docs
4784 (lambda* (#:key outputs #:allow-other-keys)
4785 (let* ((out (assoc-ref outputs "out"))
4786 (doc (assoc-ref outputs "doc")))
4787 (mkdir-p (string-append doc "/share"))
4789 (string-append out "/share/gtk-doc")
4790 (string-append doc "/share/gtk-doc"))))))))))
4793 `(("docbook-xml" ,docbook-xml-4.3)
4794 ("docbook-xsl" ,docbook-xsl)
4795 ("gobject-introspection" ,gobject-introspection)
4796 ("gtk-doc" ,gtk-doc)
4797 ("xsltproc" ,libxslt))
4798 (package-native-inputs json-glib-minimal)))))
4800 (define-public libxklavier
4802 (name "libxklavier")
4805 ;; Note: There's no tarball at ftp.gnome.org for this version.
4808 (url "https://anongit.freedesktop.org/git/libxklavier")
4809 (commit (string-append "libxklavier-" version))))
4812 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4813 (file-name (git-file-name name version))))
4814 (build-system gnu-build-system)
4817 (list (string-append "--with-xkb-base="
4818 (assoc-ref %build-inputs "xkeyboard-config")
4820 "--disable-xmodmap-support")))
4822 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4823 ("gobject-introspection" ,gobject-introspection)
4824 ("pkg-config" ,pkg-config)
4825 ("gtk-doc" ,gtk-doc/stable)
4826 ("intltool" ,intltool)
4828 ("autoconf" ,autoconf)
4829 ("automake" ,automake)
4830 ("libtool" ,libtool)))
4832 ;; Required by libxklavier.pc.
4833 (list glib libxml2))
4835 (list iso-codes libxi libxkbfile xkbcomp xkeyboard-config))
4836 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4837 (synopsis "High-level API for X Keyboard Extension")
4839 "LibXklavier is a library providing high-level API for X Keyboard
4840 Extension known as XKB. This library is intended to support XFree86 and other
4841 commercial X servers. It is useful for creating XKB-related software (layout
4843 (license license:lgpl2.0+)))
4845 (define-public glib-networking
4847 (name "glib-networking")
4851 (uri (string-append "mirror://gnome/sources/glib-networking/"
4852 (version-major+minor version) "/"
4853 "glib-networking-" version ".tar.xz"))
4856 "0dbg1na239mbavn4hknkax5sns9q2dbdnqw9wcpmhv58mzkhid36"))
4858 (search-patches "glib-networking-gnutls-binding.patch"))))
4859 (build-system meson-build-system)
4864 #~(modify-phases %standard-phases
4865 (add-after 'unpack 'work-around-32-bit-time-t
4867 (invoke "patch" "--force" "-p1" "-i"
4870 "glib-networking-32-bit-time.patch")))))))))
4872 `(("pkg-config" ,pkg-config)
4873 ("gettext" ,gettext-minimal)))
4875 (list glib gnutls gsettings-desktop-schemas libproxy))
4876 (home-page "https://wiki.gnome.org/Projects/GLib")
4877 (synopsis "Network extensions for GLib")
4879 "Glib-networking contains the implementations of certain GLib networking
4880 features that cannot be implemented directly in GLib itself because of their
4881 dependencies. Currently it contains GnuTLS and OpenSSL-based implementations of
4882 GTlsBackend, a libproxy-based implementation of GProxyResolver,
4883 GLibproxyResolver, and a GNOME GProxyResolver that uses the proxy information
4884 from the GSettings schemas in gsettings-desktop-schemas.")
4885 (license license:lgpl2.1+)))
4893 (uri (string-append "mirror://gnome/sources/rest/"
4894 (version-major+minor version) "/"
4895 name "-" version ".tar.xz"))
4898 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4899 (build-system gnu-build-system)
4901 '(#:tests? #f ; tests require internet connection
4903 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4905 `(("glib-mkenums" ,glib "bin")
4906 ("gobject-introspection" ,gobject-introspection)
4907 ("pkg-config" ,pkg-config)))
4909 ;; rest-0.7.pc refers to all these.
4911 ("libsoup" ,libsoup-minimal-2)
4912 ("libxml2" ,libxml2)))
4913 (home-page "https://www.gtk.org/")
4914 (synopsis "RESTful web api query library")
4916 "This library was designed to make it easier to access web services that
4917 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4918 libxml to ease remote use of the RESTful API.")
4919 (license license:lgpl2.1+)))
4921 (define-public rest-next
4928 (uri (string-append "mirror://gnome/sources/rest/"
4929 (version-major+minor version) "/"
4930 name "-" version ".tar.xz"))
4933 "1qy2291d2vprdbbxmf0sa98izk09nl3znzzv7lckwf6f1v0sarlj"))))
4934 (build-system meson-build-system)
4935 (arguments (substitute-keyword-arguments (package-arguments rest)
4936 ((#:tests? _ #f) #t)
4937 ((#:configure-flags _)
4939 ((#:phases phases '%standard-phases)
4940 #~(modify-phases #$phases
4941 (add-after 'unpack 'disable-problematic-tests
4942 ;; These tests require networking.
4944 (substitute* "tests/meson.build"
4945 ((".*'flickr',.*") "")
4946 ((".*'lastfm',.*") ""))))
4947 (add-before 'check 'prepare-for-tests
4949 (setenv "HOME" "/tmp")))))))
4951 (modify-inputs (package-native-inputs rest)
4952 (append gettext-minimal
4954 gsettings-desktop-schemas)))
4955 (inputs (list gtksourceview json-glib libadwaita))
4957 (modify-inputs (package-propagated-inputs rest)
4958 (replace "libsoup" libsoup)
4959 (append json-glib)))))
4961 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4962 (define-public libsoup-minimal
4964 (name "libsoup-minimal")
4968 (uri (string-append "mirror://gnome/sources/libsoup/"
4969 (version-major+minor version) "/"
4970 "libsoup-" version ".tar.xz"))
4973 "0ysnvvfd2f6w2z6g31spqqb8wgyamixc7mryzbbpyw0z15g8plsv"))))
4974 (build-system meson-build-system)
4976 `(#:configure-flags '("-Dgtk_doc=false")
4978 (modify-phases %standard-phases
4979 (add-after 'unpack 'adjust-tests
4981 ;; This test fails due to missing /etc/nsswitch.conf
4982 ;; in the build environment.
4983 (substitute* "tests/socket-test.c"
4984 ((".*/sockets/unconnected.*") ""))
4986 ;; These fail because "subdomain.localhost" does not resolve in
4987 ;; the build environment. Moreover, the hsts-test suite fails on
4988 ;; i686-linux because of errors from `session_get_uri' like
4989 ;; "Unexpected status 200 OK (expected 301 Moved Permanently)"
4990 ;; (see: https://gitlab.gnome.org/GNOME/libsoup/-/issues/239).
4991 (substitute* "tests/meson.build"
4992 ((".*'name': 'hsts'.*") ""))
4993 (substitute* "tests/hsts-db-test.c"
4994 ((".*/hsts-db/subdomains.*") "")))))))
4996 (list `(,glib "bin") ;for glib-mkenums
4997 gobject-introspection
5003 gnutls ;for 'certtool'
5006 ;; libsoup-3.0.pc refers to all of these (except where otherwise noted)
5009 glib-networking ; for GIO runtime modules
5011 nghttp2 ;for pkg-config
5017 (list mit-krb5 samba/fixed)) ; For ntlm_auth support
5018 (home-page "https://wiki.gnome.org/Projects/libsoup")
5019 (synopsis "GLib-based HTTP Library")
5021 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
5022 and the GLib main loop, to integrate well with GNOME applications.")
5023 (license license:lgpl2.0+)))
5025 ;;; An older variant kept to build the 'rest' package.
5026 (define-public libsoup-minimal-2
5027 (package/inherit libsoup-minimal
5031 (uri (string-append "mirror://gnome/sources/libsoup/"
5032 (version-major+minor version) "/"
5033 "libsoup-" version ".tar.xz"))
5036 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
5038 (substitute-keyword-arguments (package-arguments libsoup-minimal)
5040 `(modify-phases ,phases
5041 (add-after 'unpack 'disable-failing-tests
5043 ;; Disable the SSL test, failing since 2.68 and resolved in
5045 (substitute* "tests/meson.build"
5046 (("[ \t]*\\['ssl', true, \\[\\]\\],") ""))))))))
5048 (modify-inputs (package-native-inputs libsoup-minimal)
5049 (replace "vala" vala-0.52)))))
5051 (define-public libsoup
5052 (package/inherit libsoup-minimal
5054 (outputs (cons "doc" (package-outputs libsoup-minimal)))
5056 (substitute-keyword-arguments (package-arguments libsoup-minimal)
5057 ((#:configure-flags configure-flags)
5058 `(cons "-Dgtk_doc=true"
5059 (delete "-Dgtk_doc=false" ,configure-flags)))
5061 `(modify-phases ,phases
5062 (add-after 'unpack 'patch-docbook-xml
5063 (lambda* (#:key inputs #:allow-other-keys)
5064 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
5065 "/xml/dtd/docbook")))
5066 (substitute* (find-files "docs/reference")
5067 (("http://.*/docbookx\\.dtd")
5068 (string-append xmldoc "/docbookx.dtd"))))))
5069 (add-after 'install 'move-doc
5070 (lambda* (#:key outputs #:allow-other-keys)
5071 (let ((out (assoc-ref outputs "out"))
5072 (doc (assoc-ref outputs "doc")))
5073 (mkdir-p (string-append doc "/share"))
5074 (copy-recursively (string-append out "/share/gtk-doc")
5075 (string-append doc "/share/gtk-doc"))
5076 (delete-file-recursively
5077 (string-append out "/share/gtk-doc")))))))))
5078 (native-inputs (modify-inputs (package-native-inputs libsoup-minimal)
5079 (prepend docbook-xml-4.1.2 gtk-doc)))))
5081 (define-public libsecret
5088 "mirror://gnome/sources/libsecret/"
5089 (version-major+minor version) "/"
5090 "libsecret-" version ".tar.xz"))
5093 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
5094 (build-system gnu-build-system)
5095 (outputs '("out" "doc"))
5097 `(#:tests? #f ; FIXME: Testing hangs.
5099 (list (string-append "--with-html-dir="
5100 (assoc-ref %outputs "doc")
5101 "/share/gtk-doc/html"))))
5103 `(("gettext" ,gettext-minimal)
5104 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
5105 ("gobject-introspection" ,gobject-introspection)
5106 ("pkg-config" ,pkg-config)
5108 ("xsltproc" ,libxslt)))
5110 (list glib)) ; required by libsecret-1.pc
5112 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
5113 ;; doesn't seem to affect the build result.
5114 (list docbook-xsl libgcrypt libxml2)) ; for XML_CATALOG_FILES
5115 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
5116 (synopsis "GObject bindings for \"Secret Service\" API")
5118 "Libsecret is a GObject based library for storing and retrieving passwords
5119 and other secrets. It communicates with the \"Secret Service\" using DBus.")
5120 (license license:lgpl2.1+)))
5122 (define-public five-or-more
5124 (name "five-or-more")
5129 (uri (string-append "mirror://gnome/sources/five-or-more/"
5130 (version-major+minor version) "/"
5131 "five-or-more-" version ".tar.xz"))
5133 (base32 "1x4ys18rn37hsavivh532py2avj9686aycnn8ys29cyyxwpdf41d"))))
5134 (build-system meson-build-system)
5138 (modify-phases %standard-phases
5139 (add-after 'unpack 'skip-gtk-update-icon-cache
5141 (substitute* "meson_post_install.py"
5142 (("gtk-update-icon-cache") (which "true"))))))))
5144 (list appstream-glib
5146 `(,glib "bin") ; for glib-compile-resources
5152 (list gtk+ libgnome-games-support librsvg libxml2))
5153 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5154 (synopsis "Logic puzzle game")
5155 (description "Five or More is a game where you try to align
5156 five or more objects of the same color and shape causing them to disappear.
5157 On every turn more objects will appear, until the board is full.
5158 Try to last as long as possible.")
5159 (license license:gpl2+)))
5161 (define-public gi-docgen
5167 (uri (pypi-uri "gi-docgen" version))
5170 "1v2wspm2ld27lq1n5v5pzrmkhchfa7p7ahp8rmjm4zcdyagqf7gr"))))
5171 (build-system python-build-system)
5172 (propagated-inputs (list python-jinja2
5178 (home-page "https://gitlab.gnome.org/GNOME/gi-docgen")
5179 (synopsis "Documentation tool for GObject-based libraries")
5180 (description "GI-DocGen is a document generator for GObject-based
5181 libraries. GObject is the base type system of the GNOME project. GI-Docgen
5182 reuses the introspection data generated by GObject-based libraries to generate
5183 the API reference of these libraries, as well as other ancillary
5185 (license license:gpl3+)))
5187 (define-public gnome-mines
5189 (name "gnome-mines")
5194 (uri (string-append "mirror://gnome/sources/" name "/"
5195 (version-major version) "/"
5196 name "-" version ".tar.xz"))
5198 (base32 "0whjwdxhyw5bvibd9qvpm2yc5g7yhy8h3rn027kv5cqwyyryj0im"))))
5199 (build-system meson-build-system)
5203 (modify-phases %standard-phases
5204 (add-after 'unpack 'skip-gtk-update-icon-cache
5206 (substitute* "build-aux/meson_post_install.py"
5207 (("gtk-update-icon-cache") (which "true"))))))))
5209 (list appstream-glib
5212 `(,glib "bin") ; for glib-compile-resources
5215 python-wrapper ; for meson_post_install.py
5219 libgnome-games-support
5222 (home-page "https://wiki.gnome.org/Apps/Mines")
5223 (synopsis "Minesweeper game")
5225 "Mines (previously gnomine) is a puzzle game where you locate mines
5226 floating in an ocean using only your brain and a little bit of luck.")
5227 (license license:gpl2+)))
5229 (define-public gnome-multi-writer
5231 (name "gnome-multi-writer")
5236 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5237 (version-major+minor version) "/"
5238 "gnome-multi-writer-" version ".tar.xz"))
5241 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5242 (build-system meson-build-system)
5246 (modify-phases %standard-phases
5247 (add-after 'unpack 'skip-post-install
5249 (substitute* "meson.build"
5250 (("meson.add_install_script" &) (string-append "# " &)))
5253 `(("glib:bin" ,glib "bin")
5254 ("pkg-config" ,pkg-config)))
5263 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5264 (synopsis "Write to multiple USB devices at once")
5266 "MultiWriter can be used to write an ISO file to multiple USB devices at
5268 (license license:gpl2+)))
5270 (define-public gnome-sudoku
5272 (name "gnome-sudoku")
5277 (uri (string-append "mirror://gnome/sources/" name "/"
5278 (version-major version) "/"
5279 name "-" version ".tar.xz"))
5282 "13y2qphrj99b0lc7bh71is1f6i0jvyw8adfg8lv48sq2p3fv8bhx"))))
5283 (build-system meson-build-system)
5287 (modify-phases %standard-phases
5288 (add-after 'unpack 'skip-gtk-update-icon-cache
5290 (substitute* "build-aux/post_install.py"
5291 (("gtk-update-icon-cache") (which "true"))))))))
5293 (list desktop-file-utils
5295 `(,glib "bin") ;for glib-compile-resources
5299 python ;for 'build-aux/post_install.py'
5307 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5308 (synopsis "Japanese logic game")
5310 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5311 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5312 possible while still providing features that make playing difficult Sudoku
5314 (license license:gpl2+)))
5316 (define-public gnome-terminal
5318 (name "gnome-terminal")
5323 (uri (string-append "mirror://gnome/sources/" name "/"
5324 (version-major+minor version) "/"
5325 name "-" version ".tar.xz"))
5328 "0yykb64yi1h0g65q890jf5awjr2sdvfda4xbxnmajcgj3zp20vzv"))))
5329 (build-system meson-build-system)
5334 #~(modify-phases %standard-phases
5335 (add-after 'unpack 'patch-build-system
5336 ;; The build system looks for a dbus file from gnome-shell in the
5337 ;; installation tree of teh package it is configuring...
5338 (lambda* (#:key inputs #:allow-other-keys)
5339 (substitute* "src/meson.build"
5340 (("gt_prefix.*'org.gnome.ShellSearchProvider2.xml'")
5341 (format #f "'~a'" (search-input-file
5342 inputs "share/dbus-1/interfaces/\
5343 org.gnome.ShellSearchProvider2.xml"))))))
5344 (add-before 'install 'disable-gtk-update-icon-cache
5346 (setenv "DESTDIR" "/"))))))
5348 (list desktop-file-utils
5362 gsettings-desktop-schemas
5364 nautilus ;for extension
5365 `(,util-linux "lib")
5368 (home-page "https://wiki.gnome.org/Apps/Terminal")
5369 (synopsis "Terminal emulator")
5371 "GNOME Terminal is a terminal emulator application for accessing a
5372 UNIX shell environment which can be used to run programs available on
5375 It supports several profiles, multiple tabs and implements several
5376 keyboard shortcuts.")
5377 (license license:gpl3+)))
5379 (define-public colord-minimal
5381 (name "colord-minimal")
5386 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5387 "colord-" version ".tar.xz"))
5389 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5390 (build-system meson-build-system)
5392 '( ;; FIXME: One test fails:
5393 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5394 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5395 ;; application/x-zerosize
5398 #:configure-flags (list "-Dargyllcms_sensor=false" ;requires spotread
5399 "-Dbash_completion=false"
5400 "-Ddaemon_user=colord"
5402 "-Dlocalstatedir=/var"
5405 "-Dsystemd=false") ;no systemd
5407 (modify-phases %standard-phases
5408 (add-before 'configure 'patch-build-system
5409 (lambda* (#:key outputs #:allow-other-keys)
5410 (substitute* "rules/meson.build"
5411 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5412 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))))
5413 (add-before 'configure 'set-sqlite3-file-name
5414 (lambda* (#:key inputs #:allow-other-keys)
5415 ;; "colormgr dump" works by invoking the "sqlite3" command.
5416 ;; Record its absolute file name.
5417 (let ((sqlite (assoc-ref inputs "sqlite")))
5418 (substitute* "client/cd-util.c"
5420 (string-append "\"" sqlite "/bin/sqlite3\"")))))))))
5422 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5423 ("gettext" ,gettext-minimal)
5424 ("pkg-config" ,pkg-config)
5427 ;; colord.pc refers to all these.
5432 `(("dbus-glib" ,dbus-glib)
5433 ("gobject-introspection" ,gobject-introspection)
5434 ("gusb" ,gusb-minimal)
5435 ("libgudev" ,libgudev)
5438 ("python" ,python-wrapper)
5440 ("sane-backends" ,sane-backends)))
5441 (home-page "https://www.freedesktop.org/software/colord/")
5442 (synopsis "Color management service")
5443 (description "Colord is a system service that makes it easy to manage,
5444 install and generate color profiles to accurately color manage input and
5446 (license license:gpl2+)))
5448 (define-public colord
5449 (package/inherit colord-minimal
5452 (substitute-keyword-arguments
5453 (package-arguments colord-minimal)
5454 ((#:configure-flags flags)
5456 (use-modules (srfi srfi-1))
5457 (append '("-Dbash_completion=true"
5461 (fold delete ,flags '("-Dbash_completion=false"
5465 `(modify-phases ,phases
5466 (add-after 'unpack 'fix-bash-completion-dir
5467 (lambda* (#:key outputs #:allow-other-keys)
5468 (substitute* "data/meson.build"
5469 (("bash_completion.get_pkgconfig_variable\
5470 \\('completionsdir'\\)")
5471 (string-append "'" (assoc-ref outputs "out")
5472 "/etc/bash_completion.d'")))))))))
5475 `(("bash-completion" ,bash-completion)
5476 ("docbook-xsl-ns" ,docbook-xsl-ns)
5477 ("gtk-doc" ,gtk-doc/stable)
5478 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5479 ("libxslt" ,libxslt)
5480 ("vala" ,vala)) ;for VAPI, needed by simple-scan
5481 (package-native-inputs colord-minimal)))))
5483 (define-public geoclue
5491 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5492 version "/geoclue-" version ".tar.bz2"))
5494 (base32 "1854i8lih1jkks5w38xv8k5gs7s8629qjg3cg96ji0ffk35yzjfd"))
5495 (patches (search-patches "geoclue-config.patch"))))
5496 (build-system meson-build-system)
5498 '(#:configure-flags (list "-Ddbus-srv-user=geoclue")))
5501 gobject-introspection
5513 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5514 (synopsis "Geolocation service")
5515 (description "Geoclue is a D-Bus service that provides location
5516 information. The primary goal of the Geoclue project is to make creating
5517 location-aware applications as simple as possible, while the secondary goal is
5518 to ensure that no application can access location information without explicit
5519 permission from user.")
5520 (license license:gpl2+)))
5522 (define-public geocode-glib
5524 (name "geocode-glib")
5528 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5529 (version-major+minor version) "/"
5530 "geocode-glib-" version ".tar.xz"))
5533 "1aipd82qk404qy88pyfgplzgi83db4hi51vkl54h8isqs4k6i6id"))))
5534 (build-system meson-build-system)
5537 #:configure-flags #~(list "-Dsoup2=false")
5539 #~(modify-phases %standard-phases
5540 ;; The tests require a bunch of locales.
5541 (add-before 'check 'set-locales
5542 (lambda* (#:key inputs #:allow-other-keys)
5543 (setenv "GUIX_LOCPATH"
5544 (search-input-directory inputs "lib/locale")))))))
5546 (list `(,glib "bin") ;for glib-mkenums
5547 glibc-locales ;for tests
5549 gobject-introspection
5554 ;; geocode-glib-2.0.pc refers to GIO.
5558 (home-page "https://github.com/GNOME/geocode-glib/")
5559 (synopsis "Geocoding and reverse-geocoding library")
5561 "geocode-glib is a convenience library for geocoding (finding longitude,
5562 and latitude from an address) and reverse geocoding (finding an address from
5563 coordinates) using the Nominatim service. geocode-glib caches requests for
5564 faster results and to avoid unnecessary server load.")
5565 (license license:lgpl2.0+)))
5567 (define-public geocode-glib-with-libsoup2
5569 (inherit geocode-glib)
5570 (name "geocode-glib-with-libsoup2")
5571 (arguments (substitute-keyword-arguments (package-arguments geocode-glib)
5572 ((#:configure-flags flags ''())
5573 #~(delete "-Dsoup2=false" #$flags))))
5574 (inputs (modify-inputs (package-inputs geocode-glib)
5575 (replace "libsoup" libsoup-minimal-2)))))
5577 (define-public upower
5585 (url "https://gitlab.freedesktop.org/upower/upower")
5586 (commit (string-append "v" version))))
5587 (file-name (git-file-name name version))
5589 (base32 "1g17rm91p8vfpjyb0k2shylrs55nccn3fa890vlk4n9s71sghbzq"))
5590 (modules '((guix build utils)))
5592 ;; Upstream commit <https://cgit.freedesktop.org/upower/commit/
5593 ;; ?id=18457c99b68786cd729b315723d680e6860d9cfa> moved
5594 ;; 'dbus-1/system.d' from etc/ to share/. However,
5595 ;; 'dbus-configuration-directory' in (gnu services dbus) expects it in
5596 ;; etc/. Thus, move it back to its previous location.
5597 #~(substitute* "src/meson.build"
5598 (("dbusdir / 'system.d'")
5599 "get_option('sysconfdir') / 'dbus-1/system.d'")
5600 ;; Avoid writing to /var during the build, this is
5601 ;; not possible in Guix!
5602 (("^install_subdir\\('does-not-exist'.*$") "")))))
5603 (build-system meson-build-system)
5608 #~(list "-Dsystemdsystemunitdir=no"
5609 ;; If not specified, udev will try putting history information
5611 "-Dhistorydir=/var/lib/upower"
5612 (string-append "-Dudevrulesdir=" #$output "/bin/udev/rules.d"))))
5614 (list `(,glib "bin") ; for gdbus-codegen
5615 gobject-introspection
5628 libxslt ; for 'xsltproc'
5629 libxml2)) ; for 'XML_CATALOG_FILES'
5631 (list dbus-glib libgudev libusb))
5633 ;; In Requires of upower-glib.pc.
5635 (home-page "https://upower.freedesktop.org/")
5636 (synopsis "System daemon for managing power devices")
5638 "UPower is an abstraction for enumerating power devices,
5639 listening to device events and querying history and statistics. Any
5640 application or service on the system can access the org.freedesktop.UPower
5641 service via the system message bus.")
5642 (license license:gpl2+)
5643 ;; Old versions of upower are tagged as UPOWER_0_99_13, which confuses
5644 ;; the 'generic-git' updater. Give it a little help.
5645 (properties '((release-tag-prefix . "v")
5646 (release-tag-version-delimiter . ".")))))
5648 (define-public libgweather
5650 (name "libgweather")
5654 (uri (string-append "mirror://gnome/sources/" name "/"
5655 (version-major version) "/"
5656 name "-" version ".tar.xz"))
5659 "1rkf4yv43qcahyx7bismdv6z2vh5azdnm1fqfmnzrada9cm8ykna"))))
5660 (build-system meson-build-system)
5663 #:tests? #f ;one of two tests requires network access
5665 #~(list (string-append "-Dzoneinfo_dir="
5666 (search-input-directory %build-inputs
5667 "share/zoneinfo")))))
5669 (list gettext-minimal
5670 `(,glib "bin") ;for glib-mkenums
5671 gobject-introspection
5677 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5679 (list gtk+ gdk-pixbuf libxml2 libsoup-minimal-2 geocode-glib))
5682 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5683 (synopsis "Location, time zone, and weather library for GNOME")
5685 "libgweather is a library to access weather information from online
5686 services for numerous locations.")
5687 (license license:gpl2+)))
5689 ;; libgweather no longer follows the GNOME version, and recommends changing
5690 ;; the package name in distributions to avoid accidental downgrades. See
5691 ;; <https://discourse.gnome.org/t/changes-in-libgweather-for-gnome-42/7770/2>.
5692 ;; TODO: how to prevent the updater from picking version 40?
5693 (define-public libgweather4
5695 (inherit libgweather)
5696 (name "libgweather4")
5700 (uri (string-append "mirror://gnome/sources/libgweather/"
5701 (version-major+minor version) "/"
5702 "libgweather-" version ".tar.xz"))
5705 "1wh3asniv5yiqp0dsk96as2bkx72hamh3ij2md8k0is9yd7ppbjm"))))
5709 #~(list (string-append "-Dzoneinfo_dir="
5710 (search-input-directory %build-inputs
5713 #~(modify-phases %standard-phases
5714 (add-after 'unpack 'set-HOME
5716 (setenv "HOME" "/tmp")))
5717 (add-after 'unpack 'disable-problematic-tests
5719 (substitute* "libgweather/tests/meson.build"
5720 ;; The timezones test fails for unknown reasons (see:
5721 ;; https://gitlab.gnome.org/GNOME/libgweather/-/issues/188).
5722 ((".*'name': 'timezones'.*") "")
5723 ;; The 'metar' test is known to fail, fixed but not yet released
5725 ;; https://gitlab.gnome.org/GNOME/libgweather/-/issues/168).
5726 ((".*'name': 'metar'.*") ""))))
5727 (delete 'check) ;move after the install phase
5728 (add-after 'install 'check
5729 (assoc-ref %standard-phases 'check)))))
5731 (list gettext-minimal
5733 `(,glib "bin") ;for glib-mkenums
5734 gobject-introspection
5736 gsettings-desktop-schemas
5741 ;; TODO: It would be good to make the package respect TZDIR instead
5742 ;; of using a "hard coded" version of tzdata.
5743 (inputs (list tzdata))
5745 ;; gweather4.pc refers to all of these.
5752 (define-public libgweather4-with-libsoup2
5754 (inherit libgweather4)
5755 (name "libgweather4-with-libsoup2")
5756 (arguments (substitute-keyword-arguments (package-arguments libgweather4)
5757 ((#:configure-flags flags)
5758 #~(cons "-Dsoup2=true" #$flags))))
5760 (modify-inputs (package-propagated-inputs libgweather4)
5761 (replace "geocode-glib" geocode-glib-with-libsoup2)
5762 (replace "libsoup" libsoup-minimal-2)))))
5764 (define-public gnome-settings-daemon
5766 (name "gnome-settings-daemon")
5771 (uri (string-append "mirror://gnome/sources/" name "/"
5772 (version-major version) "/"
5773 name "-" version ".tar.xz"))
5776 "005b1dvrfcyr6n4srl6c0lzr95c18prps4xm1lf2ghcfm8a9fi4w"))
5777 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5778 (build-system meson-build-system)
5783 #~(list (string-append "-Dudev_dir=" #$output "/lib/udev")
5785 ;; Otherwise, the RUNPATH will lack the final path component.
5786 (string-append "-Dc_link_args=-Wl,-rpath=" #$output
5787 "/lib/gnome-settings-daemon-3.0"))
5789 #~(modify-phases %standard-phases
5790 (add-before 'configure 'set-baobab-file-name
5791 (lambda* (#:key inputs #:allow-other-keys)
5792 ;; Hard-code the file name of Baobab instead of looking
5793 ;; it up in $PATH. This ensures users get the "Examine"
5794 ;; button in the low disk space notification of GDM even
5795 ;; if they don't have GNOME in their main profile.
5796 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5797 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5798 (format #f "g_strdup (~s)"
5799 (search-input-file inputs "bin/baobab")))))))
5800 ;; Color management test can't reach the colord system service.
5803 (list docbook-xml-4.2
5806 `(,glib "bin") ;for glib-mkenums
5807 libxml2 ;for XML_CATALOG_FILES
5818 geocode-glib-with-libsoup2
5820 gsettings-desktop-schemas-next
5824 libgweather4-with-libsoup2
5826 (librsvg-for-system)
5838 (home-page "https://www.gnome.org")
5839 (synopsis "GNOME settings daemon")
5841 "This package contains the daemon responsible for setting the various
5842 parameters of a GNOME session and the applications that run under it. It
5843 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5844 settings, themes, mouse settings, and startup of other daemons.")
5845 (license license:gpl2+)))
5847 (define-public totem-pl-parser
5849 (name "totem-pl-parser")
5853 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5854 (version-major+minor version) "/"
5855 "totem-pl-parser-" version ".tar.xz"))
5858 "075csd5x0frgf93jvhlqiwv5i0qm24zz3iw17jj7v7fgsml0zpy0"))))
5859 (build-system meson-build-system)
5861 ;; FIXME: Tests require gvfs.
5865 `(,glib "bin") gobject-introspection pkg-config))
5867 (list glib gmime libarchive libgcrypt libxml2))
5870 (home-page "https://projects.gnome.org/totem")
5871 (synopsis "Library to parse and save media playlists for GNOME")
5872 (description "Totem-pl-parser is a GObjects-based library to parse and save
5873 playlists in a variety of formats.")
5874 (license license:lgpl2.0+)))
5876 (define-public aisleriot
5882 (uri (string-append "mirror://gnome/sources/aisleriot/"
5883 (version-major+minor version) "/"
5884 "aisleriot-" version ".tar.xz"))
5887 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5888 (build-system glib-or-gtk-build-system)
5891 '("--with-platform=gtk-only"
5892 "--with-card-theme-formats=svg")))
5894 `(("desktop-file-utils" ,desktop-file-utils)
5895 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5896 ("intltool" ,intltool)
5897 ("itstool" ,itstool)
5898 ("pkg-config" ,pkg-config)
5899 ("xmllint" ,libxml2)))
5901 (list gtk+ guile-2.2 libcanberra librsvg))
5902 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5903 (synopsis "Solitaire card games")
5905 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5906 which are easy to play with the aid of a mouse.")
5907 (license license:gpl3+)))
5915 (uri (string-append "mirror://gnome/sources/amtk/"
5916 (version-major+minor version) "/"
5917 "amtk-" version ".tar.xz"))
5920 "12v3nj1bb7507ndprjggq0hpz8k719b4bwvl8sm43p3ibmn27anm"))))
5921 (build-system meson-build-system)
5923 (list gobject-introspection
5924 `(,glib "bin") ; for glib-mkenums
5925 gtk-doc/stable pkg-config))
5928 (home-page "https://wiki.gnome.org/Projects/Amtk")
5929 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5931 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5932 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5933 both a traditional UI or a modern UI with a GtkHeaderBar.")
5934 (license license:lgpl2.1+)))
5936 (define-public devhelp
5942 (uri (string-append "mirror://gnome/sources/" name "/"
5943 (version-major version) "/"
5944 name "-" version ".tar.xz"))
5947 "1lk0gycjvs6gibhy0zs3ffkrkzrkyl5nkp7n60hgpa6syjq91apc"))))
5948 (build-system meson-build-system)
5952 (modify-phases %standard-phases
5953 (add-after 'unpack 'skip-gtk-update-icon-cache
5954 ;; Don't create 'icon-theme.cache'.
5956 (substitute* "build-aux/meson/meson_post_install.py"
5957 (("gtk-update-icon-cache") "true"))))
5958 (add-after 'unpack 'fix-devhelp-gir-inputs
5959 ;; It still mentions webkitgtk 4.0
5961 (substitute* "devhelp/meson.build"
5962 (("'WebKit2-4.0'") "'WebKit2-4.1'")))))))
5964 (list gsettings-desktop-schemas))
5966 `(("intltool" ,intltool)
5967 ("itstool" ,itstool)
5968 ("gobject-introspection" ,gobject-introspection)
5969 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5970 ("pkg-config" ,pkg-config)))
5972 (list amtk gsettings-desktop-schemas webkitgtk))
5973 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5974 (synopsis "API documentation browser for GNOME")
5976 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5977 natively with GTK-Doc (the API reference system developed for GTK+ and used
5978 throughout GNOME for API documentation).")
5979 (license license:gpl2+)))
5981 (define-public devhelp-with-libsoup2
5982 (package/inherit devhelp
5984 (substitute-keyword-arguments (package-arguments devhelp)
5985 ((#:phases phases '%standard-phases)
5986 `(modify-phases %standard-phases
5987 (add-after 'unpack 'skip-gtk-update-icon-cache
5988 ;; Don't create 'icon-theme.cache'.
5990 (substitute* "build-aux/meson/meson_post_install.py"
5991 (("gtk-update-icon-cache") "true"))))))))
5994 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5995 ("webkitgtk" ,webkitgtk-with-libsoup2)))))
6004 (uri (string-append "mirror://gnome/sources/cogl/"
6005 (version-major+minor version) "/"
6006 "cogl-" version ".tar.xz"))
6008 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
6009 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
6010 ;; cogl, corresponding changes may be appropriate in mutter as well.
6011 (build-system gnu-build-system)
6013 `(("glib:bin" ,glib "bin") ; for glib-mkenums
6014 ("gobject-introspection" ,gobject-introspection)
6015 ("xorg-server" ,xorg-server-for-tests)
6016 ("pkg-config" ,pkg-config)))
6034 `(#:disallowed-references (,xorg-server-for-tests)
6035 #:configure-flags (list "--enable-cogl-gst"
6036 "--enable-wayland-egl-platform"
6037 "--enable-wayland-egl-server"
6039 ;; Arrange to pass an absolute file name to
6040 ;; dlopen for libGL.so.
6041 (string-append "--with-gl-libname="
6042 (assoc-ref %build-inputs "mesa")
6045 (modify-phases %standard-phases
6046 (add-after 'unpack 'fix-build-with-mesa-20
6048 ;; Work around a problem with Mesa 20 where some macros used by
6049 ;; Cogl went missing from eglext.h. This can likely be removed
6050 ;; for newer versions of Cogl or Mesa.
6051 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
6052 (substitute* '("configure"
6053 "cogl/winsys/cogl-winsys-egl-kms.c")
6054 (("#include <EGL/eglext.h>" all)
6055 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
6057 (add-before 'check 'start-xorg-server
6058 (lambda* (#:key tests? inputs #:allow-other-keys)
6061 ;; The test suite requires a running X server.
6062 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
6063 (assoc-ref inputs "xorg-server")))
6064 (setenv "DISPLAY" ":1")
6066 (format #t "test suite not run~%"))
6068 (home-page "http://www.clutter-project.org")
6069 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
6071 "Cogl is a small library for using 3D graphics hardware to draw pretty
6072 pictures. The API departs from the flat state machine style of OpenGL and is
6073 designed to make it easy to write orthogonal components that can render
6074 without stepping on each others toes.")
6075 (license (list license:expat ; most of the code
6076 license:bsd-3 ; cogl/cogl-point-in-poly.c
6077 license:sgifreeb2.0 ; cogl-path/tesselator/
6078 license:asl2.0)))) ; examples/android/
6080 (define-public clutter
6087 (uri (string-append "mirror://gnome/sources/" name "/"
6088 (version-major+minor version) "/"
6089 name "-" version ".tar.xz"))
6092 "1rn4cd1an6a9dfda884aqpcwcgq8dgydpqvb19nmagw4b70zlj4b"))))
6093 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
6094 ;; to clutter, corresponding changes may be appropriate in mutter as well.
6095 (build-system gnu-build-system)
6097 "doc")) ;9 MiB of gtk-doc HTML pages
6099 (list `(,glib "bin") ; for glib-genmarshal
6100 gobject-introspection
6118 `(#:configure-flags (list "--enable-x11-backend=yes"
6120 ;; This produces share/doc/{clutter,cally}.
6121 (string-append "--with-html-dir="
6122 (assoc-ref %outputs "doc")
6124 ;; XXX FIXME: Get test suite working. It would probably fail in the
6125 ;; same way the cogl tests fail, since clutter is based on cogl.
6127 (home-page "https://blogs.gnome.org/clutter/")
6128 (synopsis "OpenGL-based interactive canvas library")
6130 "Clutter is an OpenGL-based interactive canvas library, designed for
6131 creating fast, mainly 2D single window applications such as media box UIs,
6132 presentations, kiosk style applications and so on.")
6133 (license license:lgpl2.0+)))
6135 (define-public clutter-gtk
6137 (name "clutter-gtk")
6142 (uri (string-append "mirror://gnome/sources/" name "/"
6143 (version-major+minor version) "/"
6144 name "-" version ".tar.xz"))
6147 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
6148 (build-system gnu-build-system)
6150 (list pkg-config gobject-introspection))
6152 ;; clutter-gtk.pc refers to all these.
6153 (list clutter gtk+))
6154 (home-page "http://www.clutter-project.org")
6155 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
6157 "Clutter is an OpenGL-based interactive canvas library, designed for
6158 creating fast, mainly 2D single window applications such as media box UIs,
6159 presentations, kiosk style applications and so on.")
6160 (license license:lgpl2.0+)))
6162 (define-public clutter-gst
6164 (name "clutter-gst")
6169 (uri (string-append "mirror://gnome/sources/clutter-gst/"
6170 (version-major+minor version) "/"
6171 "clutter-gst-" version ".tar.xz"))
6173 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
6174 (build-system gnu-build-system)
6176 (list `(,glib "bin") ; for glib-mkenums
6177 pkg-config gobject-introspection))
6179 (list clutter gstreamer gst-plugins-base))
6180 (home-page "http://www.clutter-project.org")
6181 (synopsis "Integration library for using GStreamer with Clutter")
6183 "Clutter-Gst is an integration library for using GStreamer with Clutter.
6184 It provides a GStreamer sink to upload frames to GL and an actor that
6185 implements the ClutterGstPlayer interface using playbin. Clutter is an
6186 OpenGL-based interactive canvas library.")
6187 (license license:lgpl2.0+)))
6189 (define-public libchamplain
6191 (name "libchamplain")
6196 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
6200 "0rihpb0npqpihqcdz4w03rq6xl7jdckfqskvv9diq2hkrnzv8ch2"))))
6201 (build-system meson-build-system)
6203 (list gobject-introspection pkg-config vala))
6205 (list libsoup-minimal-2
6209 `(,glib "bin") ;glib-mkenums, etc.
6213 (home-page "https://projects.gnome.org/libchamplain/")
6214 (synopsis "C library providing a ClutterActor to display maps")
6216 "libchamplain is a C library providing a ClutterActor to display maps.
6217 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
6218 and Perl bindings are also available. It supports numerous free map sources
6219 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
6220 (license license:lgpl2.1+)))
6229 (uri (string-append "mirror://gnome/sources/gom/"
6230 (version-major+minor version) "/"
6231 "gom-" version ".tar.xz"))
6234 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
6235 (build-system gnu-build-system)
6237 (list intltool pkg-config gobject-introspection))
6239 (list glib gdk-pixbuf sqlite))
6240 ;; XXX TODO: Figure out how to run the test suite.
6241 (arguments `(#:tests? #f))
6242 (home-page "https://wiki.gnome.org/Projects/Gom")
6243 (synopsis "Object mapper from GObjects to SQLite")
6245 "Gom provides an object mapper from GObjects to SQLite. It helps you
6246 write applications that need to store structured data as well as make complex
6247 queries upon that data.")
6248 (license license:lgpl2.1+)))
6250 (define-public libgnome-games-support
6252 (name "libgnome-games-support")
6256 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6257 (version-major+minor version) "/"
6258 "libgnome-games-support-" version ".tar.xz"))
6261 "11g1r3ppb9v8m3anks9gxf7fv1x38vmjiya3lr7zjjv328pb69d6"))))
6262 (build-system meson-build-system)
6266 (modify-phases %standard-phases
6267 (add-before 'check 'pre-check
6269 ;; Tests require a writable HOME.
6270 (setenv "HOME" (getcwd))
6273 (list intltool pkg-config vala))
6275 ;; Required by libgnome-games-support-1.0.pc
6277 (home-page "https://www.gnome.org/")
6278 (synopsis "Useful functionality shared among GNOME games")
6280 "libgnome-games-support is a small library intended for internal use by
6281 GNOME Games, but it may be used by others.")
6282 (license license:lgpl3+)))
6284 (define-public gnome-klotski
6286 (name "gnome-klotski")
6290 (uri (string-append "mirror://gnome/sources/" name "/"
6291 (version-major+minor version) "/"
6292 name "-" version ".tar.xz"))
6295 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
6296 (build-system meson-build-system)
6300 (modify-phases %standard-phases
6301 (add-after 'unpack 'skip-gtk-update-icon-cache
6302 ;; Don't create 'icon-theme.cache'.
6304 (substitute* "build-aux/meson_post_install.py"
6305 (("gtk-update-icon-cache") (which "true")))
6308 `(("desktop-file-utils" ,desktop-file-utils)
6309 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6310 ("intltool" ,intltool)
6311 ("itstool" ,itstool)
6312 ("pkg-config" ,pkg-config)
6314 ("xmllint" ,libxml2)))
6316 (list gtk+ libgnome-games-support librsvg))
6317 (home-page "https://wiki.gnome.org/Apps/Klotski")
6318 (synopsis "Sliding block puzzles")
6320 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6321 the patterned block to the area bordered by green markers. To do so, you will
6322 need to slide other blocks out of the way. Complete each puzzle in as few moves
6324 (license license:gpl2+)))
6326 (define-public grilo
6333 (uri (string-append "mirror://gnome/sources/grilo/"
6334 (version-major+minor version) "/"
6335 "grilo-" version ".tar.xz"))
6337 (base32 "0ywjvh7xw4ql1q4fvl0q5n06n08pga1g1nc9l7c3x5214gr3fj6i"))))
6338 (build-system meson-build-system)
6340 (list `(,glib "bin") ; for glib-mkenums and glib-genmarshal
6343 gobject-introspection
6354 (native-search-paths
6355 (list (search-path-specification
6356 (variable "GRL_PLUGIN_PATH")
6357 (files (list (string-append "lib/grilo-"
6358 (version-major+minor version)))))))
6359 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6360 (synopsis "Framework for discovering and browsing media")
6362 "Grilo is a framework focused on making media discovery and browsing easy
6363 for application developers.")
6364 (license license:lgpl2.1+)))
6366 (define-public grilo-plugins
6368 (name "grilo-plugins")
6373 (uri (string-append "mirror://gnome/sources/" name "/"
6374 (version-major+minor version) "/"
6375 name "-" version ".tar.xz"))
6377 (base32 "1y10nnd711qxwgpz6spzp1rnk50fyf11kk1n71a31ab4fgb0ahqw"))))
6378 (build-system meson-build-system)
6380 `(("gettext" ,gettext-minimal)
6381 ("glib:bin" ,glib "bin")
6382 ("gtk+:bin" ,gtk+ "bin")
6383 ("itstool" ,itstool)
6384 ("pkg-config" ,pkg-config)))
6385 ;; TODO: ahavi, gstreamer
6388 ;("gmime" ,gmime) ; unused
6389 ("gnome-online-accounts" ,gnome-online-accounts)
6391 ;("gssdp" ,gssdp) ; unused
6392 ;("gupnp" ,gupnp) ; unused
6393 ;("gupnp-av" ,gupnp-av) ; unused
6394 ("json-glib" ,json-glib)
6396 ("libgdata" ,libgdata)
6397 ("libmediaart" ,libmediaart)
6398 ;("librest" ,rest) ; unused
6399 ("libsoup" ,libsoup)
6400 ("python-pygobject" ,python-pygobject)
6401 ("totam-pl-parser" ,totem-pl-parser)
6402 ("tracker" ,tracker)
6403 ("tracker-miners" ,tracker-miners)))
6406 ;;Disable lua-factory as it needs missing dependencies
6407 #:configure-flags '("-Denable-lua-factory=no")
6409 (modify-phases %standard-phases
6410 (add-before 'configure 'set-shell
6412 (setenv "SHELL" (which "bash"))))
6413 ;; Disable the tracker test that requires the UPower daemon.
6414 (add-before 'configure 'fix-tests
6415 (lambda* (#:key inputs #:allow-other-keys)
6416 (substitute* "tests/tracker3/meson.build"
6417 (("'test_tracker3'.*") "")))))))
6418 (home-page "https://live.gnome.org/Grilo")
6419 (synopsis "Plugins for the Grilo media discovery library")
6421 "Grilo is a framework focused on making media discovery and browsing easy
6422 for application developers. This package provides plugins for common media
6423 discovery protocols.")
6424 (license license:lgpl2.1+)))
6426 (define-public totem
6433 (uri (string-append "mirror://gnome/sources/totem/"
6434 (version-major version) "/"
6435 "totem-" version ".tar.xz"))
6437 (base32 "1az6ay7zhz2naqrzcfldx1yv2ylw1yjx76g3mqrqppwmvcflkw2a"))))
6438 (build-system meson-build-system)
6443 gobject-introspection
6444 `(,glib "bin") ;for 'glib-mkenums'
6447 xorg-server-for-tests))
6469 gsettings-desktop-schemas
6480 ;; Disable automatic GStreamer plugin installation via PackageKit and
6482 #:configure-flags #~(list "-Denable-easy-codec-installation=no"
6483 ;; Do not build .a files for the plugins, it's
6484 ;; completely useless. This saves 2 MiB.
6485 "--default-library" "shared")
6487 #~(modify-phases %standard-phases
6488 (add-after 'unpack 'skip-gtk-update-icon-cache
6489 ;; Don't create 'icon-theme.cache'.
6491 (substitute* "meson_post_install.py"
6492 (("gtk-update-icon-cache") "true"))))
6493 (add-before 'install 'disable-cache-generation
6495 (setenv "DESTDIR" "/")))
6496 (add-before 'check 'pre-check
6498 ;; Tests require a running X server.
6499 (system "Xvfb :1 &")
6500 (setenv "DISPLAY" ":1")))
6501 (add-after 'install 'wrap-totem
6502 (lambda* (#:key inputs outputs #:allow-other-keys)
6503 (let ((out (assoc-ref outputs "out"))
6504 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6505 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6506 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6507 (wrap-program (string-append out "/bin/totem")
6508 `("GI_TYPELIB_PATH" ":" suffix (,gi-typelib-path))
6509 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6510 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6511 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6512 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))))))))
6513 (home-page "https://wiki.gnome.org/Apps/Videos")
6514 (synopsis "Simple media player for GNOME based on GStreamer")
6515 (description "Totem is a simple yet featureful media player for GNOME
6516 which can read a large number of file formats.")
6517 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6518 ;; to be used and distributed together with GStreamer and Totem. See
6519 ;; file://COPYING in the source distribution for details.
6520 (license license:gpl2+)))
6522 (define-public rhythmbox
6528 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6529 (version-major+minor version) "/"
6530 "rhythmbox-" version ".tar.xz"))
6533 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6534 (build-system glib-or-gtk-build-system)
6537 (list "--enable-lirc"
6544 (modify-phases %standard-phases
6546 'install 'wrap-rhythmbox
6547 (lambda* (#:key inputs outputs #:allow-other-keys)
6548 (let ((out (assoc-ref outputs "out"))
6549 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6550 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6551 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6552 (python-path (getenv "GUIX_PYTHONPATH")))
6553 (wrap-program (string-append out "/bin/rhythmbox")
6554 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6555 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6556 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6557 `("GUIX_PYTHONPATH" ":" prefix (,python-path))))
6562 `(("itstool" ,itstool)
6563 ("intltool" ,intltool)
6564 ("glib" ,glib "bin")
6565 ("gobject-introspection" ,gobject-introspection)
6566 ("desktop-file-utils" ,desktop-file-utils)
6567 ("pkg-config" ,pkg-config)
6568 ("xmllint" ,libxml2)))
6570 `(("json-glib" ,json-glib)
6572 ("gnome-desktop" ,gnome-desktop)
6574 ("python-pygobject" ,python-pygobject)
6577 ("adwaita-icon-theme" ,adwaita-icon-theme)
6579 ("grilo-plugins" ,grilo-plugins)
6580 ("gstreamer" ,gstreamer)
6581 ("gst-plugins-base" ,gst-plugins-base)
6582 ("gst-plugins-good" ,gst-plugins-good)
6583 ("totem-pl-parser" ,totem-pl-parser)
6584 ("libgudev" ,libgudev)
6585 ;;("libmtp" ,libmtp) FIXME: Not detected
6586 ("libsecret" ,libsecret)
6587 ("libsoup" ,libsoup)
6588 ("libnotify" ,libnotify)
6589 ("libpeas" ,libpeas)
6590 ("libsoup" ,libsoup-minimal-2)
6592 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6593 ;;("clutter" ,clutter)
6594 ;;("clutter-gtk" ,clutter-gtk)
6595 ;;("clutter-gst" ,clutter-gst)
6596 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6603 ("brasero" ,brasero)))
6604 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6605 (synopsis "Music player for GNOME")
6606 (description "Rhythmbox is a music playing application for GNOME. It
6607 supports playlists, song ratings, and any codecs installed through gstreamer.")
6608 (license license:gpl2+)))
6616 (uri (string-append "mirror://gnome/sources/" name "/"
6617 (version-major version) "/"
6618 name "-" version ".tar.xz"))
6621 "0ph4b05cjlkzbn8vil4hjkwvfr1cp819yi2qifp418p15rm4lk8f"))))
6622 (build-system meson-build-system)
6627 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6628 #~(list (string-append "-Dc_link_args=-Wl,-rpath="
6629 #$output "/lib/eog"))
6631 #~(modify-phases %standard-phases
6632 (add-after 'unpack 'skip-gtk-update-icon-cache
6633 ;; Don't create 'icon-theme.cache'.
6635 (substitute* "meson.build"
6636 (("gtk_update_icon_cache: true")
6637 "gtk_update_icon_cache: false"))))
6638 (add-after 'install 'wrap-eog
6639 (lambda* (#:key outputs #:allow-other-keys)
6640 (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6641 (wrap-program (search-input-file outputs "bin/eog")
6642 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
6646 (list gettext-minimal
6649 gobject-introspection
6665 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6666 (synopsis "GNOME image viewer")
6667 (description "Eye of GNOME is the GNOME image viewer. It
6668 supports image conversion, rotation, and slideshows.")
6669 (license license:gpl2+)))
6671 (define-public eog-plugins
6672 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6673 ;; $DATA/eog/plugins, where DATA is one of the entries in
6674 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6675 ;; 'XDG_DATA_DIRS' appropriately set.
6677 (name "eog-plugins")
6681 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6682 (version-major+minor version) "/"
6683 "eog-plugins-" version ".tar.xz"))
6686 "1dcxdjp7x092wn0iq7975f9b05ksb5kl5mxmyiqmydrja91ryw40"))))
6687 (build-system gnu-build-system)
6690 (modify-phases %standard-phases
6691 (add-after 'install 'fix-plugins-path
6692 ;; XXX: EOG looks its plugins in "share/eog/plugins", not in
6693 ;; "lib/eog/plugins".
6694 (lambda* (#:key outputs #:allow-other-keys)
6695 (let* ((out (assoc-ref outputs "out"))
6696 (plugins (string-append out "/share/eog/plugins")))
6697 (mkdir (dirname plugins))
6698 (symlink (string-append out "/lib/eog/plugins") plugins)))))))
6699 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6700 (synopsis "Extensions for the Eye of GNOME image viewer")
6702 (list pkg-config gettext-minimal))
6711 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6715 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6716 @item @dfn{Map}, which displays a map of where the picture was taken on the
6718 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6721 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6722 ;; long suspicious byte stream that goes to a
6723 ;; ".gresource.eog_postasa_plugin" ELF section.
6724 (license license:gpl2+)))
6726 (define-public libgudev
6732 (uri (string-append "mirror://gnome/sources/" name "/"
6733 version "/" name "-" version ".tar.xz"))
6736 "094mgjmwgsgqrr1i0vd20ynvlkihvs3vgbmpbrhswjsrdp86j0z5"))))
6737 (build-system meson-build-system)
6739 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6740 ("gobject-introspection" ,gobject-introspection)
6741 ("pkg-config" ,pkg-config)))
6743 (list glib ; in Requires of gudev-1.0.pc
6744 eudev)) ; in Requires.private of gudev-1.0.pc
6747 (home-page "https://wiki.gnome.org/Projects/libgudev")
6748 (synopsis "GObject bindings for libudev")
6750 "This library provides GObject bindings for libudev. It was originally
6751 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6752 (license license:lgpl2.1+)))
6760 (uri (string-append "mirror://gnome/sources/gvfs/"
6761 (version-major+minor version) "/"
6762 "gvfs-" version ".tar.xz"))
6765 "0pmc0vda1ksm9l7v64h4bm8qnv16amb7nifgy0882hzg2n62pmq3"))))
6766 (build-system meson-build-system)
6768 (list #:glib-or-gtk? #t
6770 #~(list "-Dsystemduserunitdir=no"
6772 ;; Otherwise, the RUNPATH will lack the final path component.
6773 (string-append "-Dc_link_args=-Wl,-rpath="
6774 #$output "/lib/gvfs"))))
6776 (list `(,glib "bin") ;for glib-genmarshal, etc.
6790 gnome-online-accounts
6791 gsettings-desktop-schemas
6810 (home-page "https://wiki.gnome.org/gvfs/")
6811 (synopsis "Userspace virtual file system for GIO")
6813 "GVFS is a userspace virtual file system designed to work with the I/O
6814 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS
6815 support to all applications using the GIO API. It also supports exposing the
6816 GVFS mounts to non-GIO applications using FUSE.
6818 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6820 (license license:lgpl2.0+)))
6822 (define-public gusb-minimal
6824 (name "gusb-minimal")
6829 (url "https://github.com/hughsie/libgusb")
6831 (file-name (git-file-name name version))
6834 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6835 (build-system meson-build-system)
6837 `(#:tests? #f ;libusb fails to initialize. Wonder what that is.
6839 (cons "-Ddocs=false"
6840 (if ,(%current-target-system)
6841 ;; Introspection data cannot currently be cross-compiled.
6842 '("-Dintrospection=false"
6843 ;; Requires introspection data.
6847 (list gobject-introspection pkg-config python vala))
6849 ;; Both of these are required by gusb.pc.
6851 (home-page "https://github.com/hughsie/libgusb")
6852 (synopsis "GLib binding for libusb1")
6854 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6855 asynchronous control, bulk and interrupt transfers with proper cancellation
6856 and integration into a mainloop. This makes it easy to integrate low level
6857 USB transfers with your high-level application or system daemon.")
6858 (license license:lgpl2.1+)))
6861 (package/inherit gusb-minimal
6864 (substitute-keyword-arguments (package-arguments gusb-minimal)
6865 ((#:configure-flags flags)
6866 `(cons "-Ddocs=true"
6867 (delete "-Ddocs=false" ,flags)))))
6869 (cons `("gtk-doc" ,gtk-doc/stable)
6870 (package-native-inputs gusb-minimal)))))
6872 (define-public simple-scan
6874 (name "simple-scan")
6879 (uri (string-append "mirror://gnome/sources/simple-scan/"
6880 (version-major version) "/"
6881 "simple-scan-" version ".tar.xz"))
6883 (base32 "09i23f8j3knppyxmikzfq9s09xarsgp9sqx9mfyvas8p3ihw16w5"))))
6884 (build-system meson-build-system)
6885 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6887 '(#:glib-or-gtk? #t))
6889 (list gettext-minimal
6891 `(,glib "bin") ; glib-compile-schemas, etc.
6905 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6906 (synopsis "Document and image scanner")
6908 "Document Scanner is an easy-to-use application that lets you connect your
6909 scanner and quickly capture images and documents in an appropriate format. It
6910 supports any scanner for which a suitable SANE driver is available, which is
6911 almost all of them.")
6912 (license license:gpl3+)))
6914 (define-public eolie
6920 (uri (string-append "https://adishatz.org/eolie/eolie-"
6924 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6925 (build-system meson-build-system)
6929 (modify-phases %standard-phases
6930 (add-after 'unpack 'skip-gtk-update-icon-cache
6931 ;; Don't create 'icon-theme.cache'.
6933 (substitute* "meson_post_install.py"
6934 (("gtk-update-icon-cache") "true"))
6936 (add-after 'wrap 'wrap-more
6937 (lambda* (#:key inputs outputs #:allow-other-keys)
6938 (let* ((out (assoc-ref outputs "out"))
6939 ;; These libraries must be on LD_LIBRARY_PATH.
6940 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6941 "atk" "gtk+" "gsettings-desktop-schemas"
6942 "gobject-introspection"))
6945 (string-append (assoc-ref inputs lib) "/lib"))
6948 (wrap-program (string-append out "/bin/eolie")
6949 `("LD_LIBRARY_PATH" ":" prefix (,path))
6950 `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
6951 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6954 `(("intltool" ,intltool)
6955 ("itstool" ,itstool)
6956 ("pkg-config" ,pkg-config)
6958 ("glib:bin" ,glib "bin")))
6960 `(("gobject-introspection" ,gobject-introspection)
6961 ("glib-networking" ,glib-networking)
6964 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6965 ("python" ,python-wrapper)
6966 ("python-dateutil" ,python-dateutil)
6967 ("python-pyfxa" ,python-pyfxa)
6968 ("python-pygobject" ,python-pygobject)
6969 ("python-pycairo" ,python-pycairo)
6970 ("python-pycrypto" ,python-pycrypto)
6971 ("libhandy" ,libhandy)
6972 ("libsecret" ,libsecret)
6973 ("gtkspell3" ,gtkspell3)
6974 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6975 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
6976 ("webkitgtk" ,webkitgtk)))
6977 (home-page "https://wiki.gnome.org/Apps/Eolie")
6978 (synopsis "Web browser for GNOME")
6980 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6981 a secret password store, an adblocker, and a modern UI.")
6982 (license license:gpl3+)))
6984 (define-public epiphany
6990 (uri (string-append "mirror://gnome/sources/epiphany/"
6991 (version-major version) "/"
6992 "epiphany-" version ".tar.xz"))
6995 "0b8rhns3b58f8dnp83mm1g933aqf88d8wrfyyp7jq3fihvw2rh4j"))))
6996 (build-system meson-build-system)
7001 #~(modify-phases %standard-phases
7002 (add-after 'unpack 'skip-gtk-update-icon-cache
7003 ;; Don't create 'icon-theme.cache'.
7005 (substitute* "post_install.py"
7006 (("gtk-update-icon-cache") "true"))))
7007 (add-after 'unpack 'disable-failing-tests
7009 (substitute* "tests/meson.build"
7010 ;; embed_shell fails, because webkitgtk apparently no longer
7011 ;; supports overriding the ftp schema web_app_utils fails due
7012 ;; to missing network access.
7013 (("(embed_shell|web_app_utils)_test,")
7014 "find_program('sh'), args: ['-c', 'exit 77'],"))))
7015 (add-before 'check 'pre-check
7017 ;; Tests require a running X server.
7018 (system "Xvfb :1 &")
7019 (setenv "DISPLAY" ":1"))))
7021 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
7022 #~(list (string-append "-Dc_link_args=-Wl,-rpath="
7023 #$output "/lib/epiphany"))))
7024 (propagated-inputs (list dconf))
7025 (native-inputs (list desktop-file-utils ; for update-desktop-database
7026 `(,glib "bin") ; for glib-mkenums
7031 xorg-server-for-tests))
7034 librsvg ; for loading SVG files
7037 gsettings-desktop-schemas
7047 nettle ; for hogweed
7049 webkitgtk-with-libsoup2))
7050 (home-page "https://wiki.gnome.org/Apps/Web")
7051 (synopsis "GNOME web browser")
7053 "Epiphany is a GNOME web browser targeted at non-technical users. Its
7054 principles are simplicity and standards compliance.")
7055 (license license:gpl2+)))
7057 (define-public d-feet
7063 (uri (string-append "mirror://gnome/sources/" name "/"
7064 (version-major+minor version) "/"
7065 name "-" version ".tar.xz"))
7068 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
7069 (build-system glib-or-gtk-build-system)
7071 '(#:out-of-source? #f ; tests need to run in the source directory.
7073 (modify-phases %standard-phases
7077 ;; The test suite requires a running X server.
7078 (system "Xvfb :1 &")
7079 (setenv "DISPLAY" ":1")
7080 ;; Don't fail on missing '/etc/machine-id'.
7081 (setenv "DBUS_FATAL_WARNINGS" "0")
7082 ;; tests.py and window.py don't meet E402:
7083 ;; E402 module level import not at top of file
7084 (substitute* "src/tests/Makefile"
7085 (("--ignore=E123") "--ignore=E123,E402"))
7088 'install 'wrap-program
7089 (lambda* (#:key outputs #:allow-other-keys)
7090 (let ((prog (string-append (assoc-ref outputs "out")
7093 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
7094 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
7097 `(("intltool" ,intltool)
7098 ("itstool" ,itstool)
7099 ("pkg-config" ,pkg-config)
7100 ("python-pep8" ,python-pep8)
7101 ("xmllint" ,libxml2)
7102 ("xorg-server" ,xorg-server-for-tests)))
7104 `(("gobject-introspection" ,gobject-introspection)
7106 ("python" ,python-wrapper)
7107 ("hicolor-icon-theme" ,hicolor-icon-theme)
7108 ("python-pygobject" ,python-pygobject)))
7109 (home-page "https://wiki.gnome.org/Apps/DFeet")
7110 (synopsis "D-Bus debugger")
7112 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
7113 of running programs and invoke methods on those interfaces.")
7114 (license license:gpl2+)))
7116 (define-public yelp-xsl
7124 (string-append "mirror://gnome/sources/" name "/"
7125 (version-major version) "/"
7126 name "-" version ".tar.xz"))
7128 (base32 "19d46rkajvr0f04560vlrzwvac88x5j8ilvzwkawbn5vjg069kf8"))))
7129 (build-system gnu-build-system)
7135 `(("ducktype" ,mallard-ducktype)
7136 ("gettext" ,gettext-minimal)
7137 ("intltool" ,intltool)
7138 ("itstool" ,itstool)
7139 ("xmllint" ,libxml2)
7140 ("xsltproc" ,libxslt)))
7141 (synopsis "XSL stylesheets for Yelp")
7142 (description "Yelp-XSL is a collection of programs and data files to help
7143 you build, maintain, and distribute documentation. It provides XSLT stylesheets
7144 that can be built upon for help viewers and publishing systems. These
7145 stylesheets output JavaScript and CSS content, and reference images
7146 provided by yelp-xsl. It also redistributes copies of the jQuery and
7147 jQuery.Syntax JavaScript libraries.")
7148 (home-page "https://wiki.gnome.org/Apps/Yelp")
7164 (uri (string-append "mirror://gnome/sources/" name "/"
7165 (version-major version) "/"
7166 name "-" version ".tar.xz"))
7169 "11shrqass8ak8m10nayqssa6sbrrxa13ffpamvqi1c0yzkxdk9r5"))))
7170 (build-system glib-or-gtk-build-system)
7172 (list `(,glib "bin") ; for glib-genmarshal, etc.
7173 intltool itstool pkg-config))
7177 (list gsettings-desktop-schemas libxslt sqlite webkitgtk yelp-xsl))
7178 (home-page "https://wiki.gnome.org/Apps/Yelp")
7179 (synopsis "GNOME help browser")
7181 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
7182 man, info, and HTML documents. It can locate documents according to the
7183 freedesktop.org help system specification.")
7184 (license license:gpl2+)))
7186 (define-public yelp-tools
7194 (string-append "mirror://gnome/sources/" name "/"
7195 (version-major+minor version) "/"
7196 name "-" version ".tar.xz"))
7198 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
7199 (build-system gnu-build-system)
7205 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
7206 `(("itstool" ,itstool)
7207 ("xmllint" ,libxml2)
7208 ("xsltproc" ,libxslt)))
7209 (synopsis "Yelp documentation tools")
7211 "Yelp-tools is a collection of scripts and build utilities to help create,
7212 manage, and publish documentation for Yelp and the web. Most of the heavy
7213 lifting is done by packages like yelp-xsl and itstool. This package just
7214 wraps things up in a developer-friendly way.")
7215 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
7216 (license license:gpl2+)))
7218 (define-public libgee
7224 (uri (string-append "mirror://gnome/sources/libgee/"
7225 (version-major+minor version) "/"
7226 "libgee-" version ".tar.xz"))
7229 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
7230 (build-system gnu-build-system)
7233 (modify-phases %standard-phases
7234 (add-after 'unpack 'fix-introspection-install-dir
7235 (lambda* (#:key outputs #:allow-other-keys)
7236 (let ((out (assoc-ref outputs "out")))
7237 (substitute* "gee/Makefile.in"
7238 (("@INTROSPECTION_GIRDIR@")
7239 (string-append out "/share/gir-1.0/"))
7240 (("@INTROSPECTION_TYPELIBDIR@")
7241 (string-append out "/lib/girepository-1.0/")))))))))
7243 (list `(,glib "bin") pkg-config))
7245 (list glib gobject-introspection))
7246 (home-page "https://wiki.gnome.org/Projects/Libgee")
7247 (synopsis "GObject collection library")
7249 "Libgee is a utility library providing GObject-based interfaces and
7250 classes for commonly used data structures.")
7251 (license license:lgpl2.1+)))
7253 (define-public gexiv2
7259 (uri (string-append "mirror://gnome/sources/" name "/"
7260 (version-major+minor version) "/"
7261 name "-" version ".tar.xz"))
7264 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
7265 (build-system meson-build-system)
7268 `(,glib "bin") pkg-config vala))
7270 ;; Listed in "Requires" section of gexiv2.pc
7273 (list glib gobject-introspection))
7274 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7275 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7277 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7278 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7279 metadata in photo and video files of various formats.")
7280 (license license:gpl2+)))
7282 (define-public shotwell
7288 (uri (string-append "mirror://gnome/sources/shotwell/"
7289 (version-major+minor version) "/"
7290 "shotwell-" version ".tar.xz"))
7293 "1yhqfmz49qkls4i6xaznm5ybwzv19jxsqjdic60wn0ykvbxjr269"))))
7294 (build-system meson-build-system)
7298 (modify-phases %standard-phases
7299 (add-after 'unpack 'skip-gtk-update-icon-cache
7301 (substitute* "build-aux/meson/postinstall.py"
7302 (("gtk-update-icon-cache") (which "true"))
7303 (("update-desktop-database") (which "true")))
7308 `(("gettext" ,gettext-minimal)
7309 ("glib:bin" ,glib "bin")
7310 ("itstool" ,itstool)
7311 ("pkg-config" ,pkg-config)
7317 ("gst-plugins-base" ,gst-plugins-base)
7318 ("gstreamer" ,gstreamer)
7319 ("json-glib" ,json-glib)
7320 ("libgdata" ,libgdata)
7322 ("libgphoto2" ,libgphoto2)
7323 ("libgudev" ,libgudev)
7325 ("libxml2" ,libxml2)
7327 ("webkitgtk" ,webkitgtk-with-libsoup2)))
7328 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7329 (synopsis "Photo manager for GNOME 3")
7331 "Shotwell is a digital photo manager designed for the GNOME desktop
7332 environment. It allows you to import photos from disk or camera, organize
7333 them by keywords and events, view them in full-window or fullscreen mode, and
7334 share them with others via social networking and more.")
7335 (license license:lgpl2.1+)))
7337 (define-public file-roller
7339 (name "file-roller")
7343 (uri (string-append "mirror://gnome/sources/file-roller/"
7344 (version-major+minor version) "/"
7345 "file-roller-" version ".tar.xz"))
7348 "039w1dcpa5ypmv6sm634alk9vbcdkyvy595vkh5gn032jsiqca2a"))))
7349 (build-system meson-build-system)
7351 (list desktop-file-utils ; for update-desktop-database
7356 `(,gtk+ "bin") ; gtk-update-icon-cache
7358 ;; TODO: Add libnautilus.
7367 (synopsis "Graphical archive manager for GNOME")
7368 (description "File Roller is an archive manager for the GNOME desktop
7369 environment that allows users to view, unpack, and create compressed archives
7370 such as gzip tarballs.")
7371 (home-page "http://fileroller.sourceforge.net/")
7372 (license license:gpl2+)))
7374 (define-public gnome-session
7376 (name "gnome-session")
7380 (uri (string-append "mirror://gnome/sources/" name "/"
7381 (version-major version) "/"
7382 name "-" version ".tar.xz"))
7383 (patches (search-patches "gnome-session-support-elogind.patch"))
7386 "1alwjqr36rd0s132qs2clwnxgilcbylps6lm41lr50mn782hdjiw"))))
7390 (modify-phases %standard-phases
7391 (add-after 'install 'wrap-gnome-session
7392 (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
7393 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7394 (wrap-program (search-input-file outputs "bin/gnome-session")
7396 (,(dirname (search-input-file (or native-inputs inputs)
7399 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7400 "-Dman=false" ; FIXME: disabled because of docbook validation error
7403 "-Dsystemd_session=disable"
7404 "-Dsystemd_journal=false")))
7405 (build-system meson-build-system)
7409 `(,glib "bin") ; for glib-compile-schemas, etc.
7411 libxml2 ;for 'XML_CATALOG_FILES'
7418 gsettings-desktop-schemas
7427 (synopsis "Session manager for GNOME")
7429 "This package contains the GNOME session manager, as well as a
7430 configuration program to choose applications starting on login.")
7431 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7432 (license license:gpl2+)))
7440 (uri (string-append "mirror://gnome/sources/" name "/"
7441 (version-major+minor version) "/"
7442 name "-" version ".tar.xz"))
7445 "0xrrv9lsi087yb9yf146a1aarf5yh6rf4jw9blx30zasvjdkgvnx"))
7446 (modules '((guix build utils)))
7449 (substitute* "installed-tests/scripts/testCommandLine.sh"
7452 (build-system meson-build-system)
7454 '(#:configure-flags '("-Dinstalled_tests=false")
7456 (modify-phases %standard-phases
7457 (add-before 'check 'pre-check
7459 ;; The test suite requires a running X server.
7460 (system "Xvfb :1 &")
7461 (setenv "DISPLAY" ":1")
7463 ;; For the missing /etc/machine-id.
7464 (setenv "DBUS_FATAL_WARNINGS" "0"))))))
7466 (list `(,glib "bin") ;for glib-compile-resources
7471 dconf ;required to properly store settings
7473 xorg-server-for-tests))
7475 ;; These are all in the Requires.private field of gjs-1.0.pc.
7476 (list cairo gobject-introspection mozjs-91))
7478 (list gtk+ readline))
7479 (synopsis "Javascript bindings for GNOME")
7480 (home-page "https://wiki.gnome.org/Gjs")
7482 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7483 javascript engine and the GObject introspection framework.")
7484 (license license:gpl2+)))
7486 (define-public gedit
7492 (uri (string-append "mirror://gnome/sources/" name "/"
7493 (version-major version) "/"
7494 name "-" version ".tar.xz"))
7497 "1jlgzihi4ywvlr4xj2vbnnxzar8j3mwj0jcn8jp6dh0a3w8jjqiw"))))
7498 (build-system meson-build-system)
7503 ;; Otherwise, the RUNPATH will lack the final path component.
7504 #~(list (string-append "-Dc_link_args=-Wl,-rpath="
7505 #$output "/lib/gedit"))
7507 #~(modify-phases %standard-phases
7508 (add-after 'unpack 'skip-gtk-update-icon-cache
7509 ;; Don't create 'icon-theme.cache'.
7511 (substitute* "build-aux/meson/post_install.py"
7512 (("gtk-update-icon-cache") (which "true")))))
7513 (add-after 'unpack 'do-not-invoke-git
7514 (lambda* (#:key inputs #:allow-other-keys)
7515 (substitute* "meson.build"
7517 (add-after 'install 'wrap-gedit
7518 (lambda* (#:key outputs #:allow-other-keys)
7519 (wrap-program (search-input-file outputs "bin/gedit")
7521 `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
7522 `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
7523 ;; For language-specs.
7524 `("XDG_DATA_DIRS" ":" prefix
7525 (,(string-append #$(this-package-input "gtksourceview")
7530 (list desktop-file-utils ;for update-desktop-database
7531 `(,glib "bin") ;for glib-mkenums, etc.
7532 gobject-introspection
7540 (list adwaita-icon-theme
7543 gsettings-desktop-schemas
7551 (home-page "https://wiki.gnome.org/Apps/Gedit")
7552 (synopsis "GNOME text editor")
7553 (description "While aiming at simplicity and ease of use, gedit is a
7554 powerful general purpose text editor.")
7555 (license license:gpl2+)))
7557 (define-public zenity
7563 (uri (string-append "mirror://gnome/sources/zenity/"
7564 (version-major+minor version) "/"
7565 "zenity-" version ".tar.xz"))
7568 "0czq2vx636xbvg7zbdqkxq41zgm7v1h048awy0cgls0q1hgcmmxh"))))
7569 (build-system meson-build-system)
7571 (list #:phases #~(modify-phases %standard-phases
7572 (add-after 'unpack 'disable-gtk-update-icon-cache
7573 ;; The gtk-update-icon-cache tool is only run when
7574 ;; DESTDIR is unset.
7576 (setenv "DESTDIR" "/"))))))
7577 (native-inputs (list gettext-minimal itstool pkg-config))
7578 (inputs (list gtk+))
7579 (synopsis "Display graphical dialog boxes from shell scripts")
7580 (home-page "https://www.gnome.org")
7582 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7583 to display dialog boxes from the commandline and shell scripts.")
7584 (license license:lgpl2.0+)))
7586 (define-public mutter
7592 (uri (string-append "mirror://gnome/sources/" name "/"
7593 (version-major version) "/"
7594 name "-" version ".tar.xz"))
7597 "0h1ak3201mdc2qbf67fhcn801ddp33hm0f0c52zis1l7s6ipyb62"))))
7598 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7599 ;; versions of cogl and clutter. As a result, many of the inputs,
7600 ;; propagated-inputs, and configure flags used in cogl and clutter are
7601 ;; needed here as well.
7602 (build-system meson-build-system)
7605 #:imported-modules `(,@%meson-build-system-modules
7606 (guix build syscalls))
7607 #:modules '((guix build meson-build-system)
7608 (guix build syscalls)
7614 ;; Otherwise, the RUNPATH will lack the final path component.
7615 (string-append "-Dc_link_args=-Wl,-rpath="
7617 #$output "/lib/mutter-9")
7618 ;; Disable systemd support.
7620 ;; The following flags are needed for the bundled clutter
7621 (string-append "-Dxwayland_path="
7622 (search-input-file %build-inputs "bin/Xwayland"))
7623 ;; the remaining flags are needed for the bundled cogl
7624 (string-append "-Dopengl_libname="
7625 (search-input-file %build-inputs "lib/libGL.so"))
7626 (string-append "-Dgles2_libname="
7627 (search-input-file %build-inputs "lib/libGLESv2.so"))
7628 "-Degl_device=true" ;false by default
7629 "-Dwayland_eglstream=true") ;false by default
7630 #:test-options '(list "--verbose")
7632 #~(modify-phases %standard-phases
7633 (add-after 'unpack 'adjust-runpath-linker-directives
7635 ;; By default Mutter uses RPATH instead of RUNPATH, which our
7636 ;; customized linker script makes use of. Some libraries are
7637 ;; also installed under lib/mutter-10 and need to be added to
7639 (substitute* "meson.build"
7640 (("'-Wl,--disable-new-dtags'")
7641 (string-append "'-Wl,-rpath=" #$output "/lib/mutter-10'")))))
7642 (add-after 'unpack 'patch-dlopen-calls
7643 (lambda* (#:key inputs #:allow-other-keys)
7644 (substitute* "src/wayland/meta-wayland-egl-stream.c"
7645 (("libnvidia-egl-wayland.so.1")
7646 (search-input-file inputs "lib/libnvidia-egl-wayland.so.1")))))
7647 (add-before 'configure 'set-udev-dir
7649 (setenv "PKG_CONFIG_UDEV_UDEVDIR"
7650 (string-append #$output "/lib/udev"))))
7651 (add-after 'unpack 'disable-problematic-tests
7653 ;; The native-headless test hangs due to attempting to use audio,
7654 ;; unavailable in the container.
7655 ;; Note: the following sed expression deletes the whole test(...)
7656 ;; expression paragraph. For an explanation, see: info '(sed)
7657 ;; Multiline techniques'.
7658 (invoke "sed" "/./{H;$!d} ; x ; s/^.*native-headless.*$//"
7659 "-i" "src/tests/meson.build")
7660 ;; Timeline tests may unexpectedly fail on missed frames, so
7661 ;; let's disable them as well.
7662 ;; See <https://gitlab.gnome.org/GNOME/mutter/-/issues/2125>
7663 (substitute* "src/tests/clutter/conform/meson.build"
7664 (("'timeline.*',") ""))))
7666 (lambda* (#:key tests? test-options parallel-tests?
7669 ;; Setup (see the 'test-mutter' CI target at
7670 ;; https://gitlab.gnome.org/GNOME/mutter/-/raw/main/.gitlab-ci.yml).
7671 (setenv "HOME" "/tmp")
7672 (setenv "XDG_RUNTIME_DIR" (string-append (getcwd)
7674 (mkdir (getenv "XDG_RUNTIME_DIR"))
7675 (chmod (getenv "XDG_RUNTIME_DIR") #o700)
7677 (setenv "GSETTINGS_SCHEMA_DIR" "data")
7678 (setenv "MUTTER_DEBUG_DUMMY_MODE_SPECS" "800x600@10.0")
7679 (setenv "PIPEWIRE_DEBUG" "2")
7680 (setenv "PIPEWIRE_LOG" "meson-logs/pipewire.log")
7681 (setenv "XVFB_SERVER_ARGS" "+iglx -noreset")
7682 (setenv "G_SLICE" "always-malloc")
7683 (setenv "MALLOC_CHECK" "3")
7684 (setenv "NO_AT_BRIDGE" "1")
7685 ;; This is needed, otherwise the "mutter:core+mutter/unit /
7686 ;; anonymous-file" test would fail (see:
7687 ;; https://gitlab.gnome.org/GNOME/mutter/-/issues/2017).
7688 (setenv "CI_JOB_ID" "1")
7690 (invoke "glib-compile-schemas" (getenv "GSETTINGS_SCHEMA_DIR"))
7691 (mkdir-p (getenv "XDG_RUNTIME_DIR"))
7692 (chmod (getenv "XDG_RUNTIME_DIR") #o755)
7693 (invoke "pipewire" "--version") ;check for pipewire
7694 (system "pipewire &") ;always returns 0 due to forking
7696 (setenv "MESON_TESTTHREADS"
7698 (number->string (parallel-job-count))
7700 (match (primitive-fork)
7702 (set-child-subreaper!)
7703 ;; Use tini so that signals are properly handled and
7704 ;; doubly-forked processes get reaped; otherwise,
7705 ;; python-dbusmock would waste time polling for the dbus
7706 ;; processes it spawns to be reaped, in vain.
7707 (apply execlp "tini" "--"
7708 "dbus-run-session" "--"
7709 "xvfb-run" "-a" "-s" (getenv "XVFB_SERVER_ARGS")
7710 "meson" "test" "-t" "0" "--print-errorlogs"
7713 (match (waitpid pid)
7715 (unless (zero? status)
7716 (error "`meson test' exited with status"
7719 (list desktop-file-utils ;for update-desktop-database
7720 `(,glib "bin") ;for glib-compile-schemas, etc.
7721 gobject-introspection
7729 wayland-protocols-next
7731 ;; Warnings are configured to be fatal during the tests; add an icon
7732 ;; theme to please libxcursor.
7734 libxcursor ;for XCURSOR_PATH
7739 tini)) ;acting as init (zombie reaper)
7741 (list gsettings-desktop-schemas-next ;required by libmutter.pc
7742 gtk+ ;required by libmutter.pc
7743 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7764 (list egl-wayland ;for wayland-eglstream-protocols
7767 gnome-settings-daemon
7778 startup-notification
7782 xorg-server-xwayland
7784 (synopsis "Window and compositing manager")
7785 (home-page "https://www.gnome.org")
7787 "Mutter is a window and compositing manager that displays and manages your
7788 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7789 Clutter toolkit with solid window-management logic inherited from the Metacity
7791 (license license:gpl2+)))
7793 (define-public gnome-online-accounts
7795 (name "gnome-online-accounts")
7799 (uri (string-append "mirror://gnome/sources/" name "/"
7800 (version-major+minor version) "/"
7801 name "-" version ".tar.xz"))
7804 "15zzzndbfba8a497vxb6cmy1y22l3lfn4sx9s9r59kwzd83i6fxn"))))
7805 (build-system meson-build-system)
7810 #~(modify-phases %standard-phases
7811 (add-before 'install 'disable-gtk-update-icon-cache
7813 (setenv "DESTDIR" "/"))))))
7815 (list gettext-minimal
7816 `(,glib "bin") ; for glib-compile-schemas, etc.
7817 gobject-introspection
7822 (list glib ; required by goa-1.0.pc
7823 gtk+)) ; required by goa-backend-1.0.pc
7832 (synopsis "Single sign-on framework for GNOME")
7833 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7835 "GNOME Online Accounts provides interfaces so that applications and
7836 libraries in GNOME can access the user's online accounts. It has providers
7837 for Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare,
7838 Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7839 (license license:lgpl2.0+)))
7841 (define-public gnome-online-accounts-3.44
7843 (inherit gnome-online-accounts)
7844 (name "gnome-online-accounts")
7848 (uri (string-append "mirror://gnome/sources/" name "/"
7849 (version-major+minor version) "/"
7850 name "-" version ".tar.xz"))
7853 "0hkkxa3zqyl0i4kw1p3ak4alwxw4wydh9al6fzwbcdgl0r0ms79q"))))
7854 (build-system glib-or-gtk-build-system)
7855 (arguments (substitute-keyword-arguments
7856 (strip-keyword-arguments
7858 (package-arguments gnome-online-accounts))
7860 #~(modify-phases #$phases
7861 (delete 'disable-gtk-update-icon-cache)))))
7862 (inputs (modify-inputs (package-inputs gnome-online-accounts)
7863 (replace "rest" rest)
7864 (replace "webkitgtk" webkitgtk-with-libsoup2)))))
7866 (define-public evolution-data-server
7868 (name "evolution-data-server")
7873 (uri (string-append "mirror://gnome/sources/" name "/"
7874 (version-major+minor version) "/"
7875 name "-" version ".tar.xz"))
7877 (base32 "1sxjrjr31wqbp9g4pf6dwj8rc4mi7c5fbfd489ha92ym7246bin0"))))
7878 (build-system cmake-build-system)
7882 #~(let* ((lib (string-append #$output "/lib"))
7883 (runpaths (map (lambda (s)
7884 (string-append lib "/evolution-data-server/" s))
7885 '("addressbook-backends" "calendar-backends"
7886 "camel-providers" "credential-modules"
7887 "registry-modules"))))
7888 (list "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7889 "-DENABLE_VALA_BINDINGS=ON"
7890 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7891 (string-append lib "/evolution-data-server;")
7892 (string-join runpaths ";"))
7893 "-DENABLE_INTROSPECTION=ON" ;required for Vala bindings
7894 "-DWITH_PHONENUMBER=ON"))
7896 #~(modify-phases %standard-phases
7897 (add-after 'unpack 'disable-failing-tests
7899 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7900 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7901 (delete-file-recursively "tests/book-migration")
7902 (substitute* "tests/CMakeLists.txt"
7903 (("add_subdirectory\\(book-migration\\)") ""))))
7904 (add-after 'unpack 'patch-paths
7906 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7907 "tests/libedata-book/data-test-utils.c"
7908 "tests/libedata-book/test-book-cache-utils.c"
7909 "tests/libedata-cal/test-cal-cache-utils.c")
7910 (("/bin/rm") (which "rm")))))
7911 (add-before 'configure 'dont-override-rpath
7913 (substitute* "CMakeLists.txt"
7914 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7915 ;; Remove it so the configure flag is respected.
7916 (("SET\\(CMAKE_INSTALL_RPATH .*") "")))))))
7918 (list `(,glib "bin") ; for glib-mkenums, etc.
7919 gobject-introspection
7921 gsettings-desktop-schemas
7928 ;; These are all in the Requires field of .pc files.
7939 gnome-online-accounts
7946 webkitgtk-with-libsoup2))
7947 (synopsis "Store address books and calendars")
7948 (home-page "https://wiki.gnome.org/Apps/Evolution")
7950 "This package provides a unified backend for programs that work with
7951 contacts, tasks, and calendar information. It was originally developed for
7952 Evolution (hence the name), but is now used by other packages as well.")
7953 (license license:lgpl2.0)))
7955 (define-public caribou
7961 (uri (string-append "mirror://gnome/sources/" name "/"
7962 (version-major+minor version) "/"
7963 name "-" version ".tar.xz"))
7966 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7967 (build-system glib-or-gtk-build-system)
7970 (modify-phases %standard-phases
7973 (lambda* (#:key outputs #:allow-other-keys)
7974 (let ((out (assoc-ref outputs "out")))
7975 ;; Use absolute shared library path in Caribou-1.0.typelib.
7976 (substitute* "libcaribou/Makefile"
7977 (("--shared-library=libcaribou.so")
7978 (string-append "--shared-library="
7979 out "/lib/libcaribou.so")))
7981 (add-after 'install 'wrap-programs
7982 (lambda* (#:key outputs #:allow-other-keys)
7983 (let* ((out (assoc-ref outputs "out"))
7984 (python-path (getenv "GUIX_PYTHONPATH"))
7985 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7989 `("GUIX_PYTHONPATH" ":" prefix (,python-path))
7990 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7991 (list (string-append out "/bin/caribou-preferences")
7992 (string-append out "/libexec/antler-keyboard"))))
7995 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7996 ("gobject-introspection" ,gobject-introspection)
7997 ("intltool" ,intltool)
7998 ("pkg-config" ,pkg-config)
8001 ("xsltproc" ,libxslt)))
8003 ;; caribou-1.0.pc refers to all these.
8004 (list libgee libxklavier libxtst gtk+))
8006 `(("clutter" ,clutter)
8009 ("python-pygobject" ,python-pygobject)))
8010 (synopsis "Text entry and UI navigation application")
8011 (home-page "https://wiki.gnome.org/Projects/Caribou")
8013 "Caribou is an input assistive technology intended for switch and pointer
8015 (license license:lgpl2.1)))
8017 (define-public network-manager
8019 (name "network-manager")
8023 (uri (string-append "mirror://gnome/sources/NetworkManager/"
8024 (version-major+minor version) "/"
8025 "NetworkManager-" version ".tar.xz"))
8026 (patches (search-patches "network-manager-plugin-path.patch"
8027 "network-manager-meson.patch"))
8030 "00zwx7cvl8p8xv5h8yvlj2r5wycbvbqia7z4hjmmvjicpiby1rxf"))))
8031 (build-system meson-build-system)
8033 "doc")) ; 8 MiB of gtk-doc HTML
8038 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
8040 (string-append "-Dc_link_args=-Wl,-rpath="
8042 #$output "/lib/NetworkManager/" #$version)
8043 "-Dsystemd_journal=false"
8044 "-Dsession_tracking=elogind"
8045 "-Dsuspend_resume=elogind"
8046 "-Dsystemdsystemunitdir=no"
8047 "-Dsession_tracking_consolekit=false"
8056 "--localstatedir=/var"
8057 (string-append "-Dudev_dir="
8058 #$output "/lib/udev")
8059 (string-append "-Ddbus_conf_dir="
8060 #$output "/etc/dbus-1/system.d")
8062 (string-append "-Ddhclient=" (search-input-file %build-inputs
8065 #~(modify-phases %standard-phases
8066 (add-after 'unpack 'patch-dlopen-call-to-libjansson.so
8067 (lambda* (#:key inputs #:allow-other-keys)
8068 (substitute* "src/libnm-glib-aux/nm-json-aux.c"
8069 (("(handle = dlopen\\()soname" _ head)
8071 head "\"" (search-input-file inputs
8072 "lib/libjansson.so") "\"")))))
8073 (add-before 'configure 'pre-configure
8075 ;; These tests try to test aspects of network-manager's
8076 ;; functionality within restricted containers, but they don't
8077 ;; cope with being already in the Guix build jail as that jail
8078 ;; lacks some features that they would like to proxy over (like
8080 (substitute* "src/core/tests/meson.build"
8081 ((".*test-l3cfg.*") ""))
8082 (substitute* "src/core/devices/tests/meson.build"
8083 ((".*test-acd.*") "")
8084 ((".*test-lldp.*") ""))
8085 (substitute* "src/core/platform/tests/meson.build"
8086 ((".*test-address-linux.*") "")
8087 ((".*test-cleanup-linux.*") "")
8088 ((".*test-link-linux.*") "")
8089 ((".*test-lldp.*") "")
8090 ((".*test-route-linux.*") "")
8091 ((".*test-tc-linux.*") ""))))
8092 (add-after 'unpack 'patch-docbook-xml
8093 (lambda* (#:key inputs #:allow-other-keys)
8094 (substitute* (find-files "." ".*\\.(xsl|xml)")
8095 (("http://.*/docbookx\\.dtd")
8096 (search-input-file inputs "xml/dtd/docbook/docbookx.dtd")))))
8097 (add-before 'check 'pre-check
8099 ;; For the missing /etc/machine-id.
8100 (setenv "DBUS_FATAL_WARNINGS" "0")))
8101 (add-before 'install 'no-polkit-magic
8102 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
8104 (setenv "PKEXEC_UID" "something")))
8105 (add-after 'install 'move-doc
8107 (mkdir-p (string-append #$output:doc "/share"))
8108 (for-each (lambda (directory)
8109 (copy-recursively (string-append #$output directory)
8110 (string-append #$output:doc
8112 (delete-file-recursively
8113 (string-append #$output directory)))
8114 '("/share/doc" "/share/gtk-doc")))))))
8118 (list `(,glib "bin") ; for gdbus-codegen
8120 gobject-introspection
8141 iwd ; wpa_supplicant alternative
8150 mobile-broadband-provider-info
8152 newt ;for the 'nmtui' console interface
8153 openresolv ; alternative resolv.conf manager
8159 (synopsis "Network connection manager")
8160 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8162 "NetworkManager is a system network service that manages your network
8163 devices and connections, attempting to keep active network connectivity when
8164 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
8165 devices, and provides VPN integration with a variety of different VPN
8167 ;; “This NetworkManager project consists of the daemon, client tools, and
8168 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
8170 (license (list license:gpl2+
8172 (properties '((upstream-name . "NetworkManager")))))
8174 (define-public network-manager-openvpn
8176 (name "network-manager-openvpn")
8181 "mirror://gnome/sources/NetworkManager-openvpn/"
8182 (version-major+minor version)
8183 "/NetworkManager-openvpn-" version ".tar.xz"))
8186 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
8187 (build-system gnu-build-system)
8189 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
8191 (modify-phases %standard-phases
8192 (add-after 'configure 'patch-path
8193 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
8194 (let* ((ovpn (search-input-file inputs "/sbin/openvpn"))
8195 (modprobe (search-input-file inputs "/bin/modprobe"))
8196 (pretty-ovpn (string-append "\"" ovpn "\"")))
8200 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
8201 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
8202 (("\"/sbin/openvpn\"") pretty-ovpn)
8203 (("/sbin/modprobe") modprobe)))
8204 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
8207 (list pkg-config intltool))
8215 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8216 (synopsis "OpenVPN plug-in for NetworkManager")
8218 "This extension of NetworkManager allows it to take care of connections
8219 to virtual private networks (VPNs) via OpenVPN.")
8220 (license license:gpl2+)
8221 (properties `((upstream-name . "NetworkManager-openvpn")))))
8223 (define-public network-manager-vpnc
8225 (name "network-manager-vpnc")
8230 "mirror://gnome/sources/NetworkManager-vpnc/"
8231 (version-major+minor version)
8232 "/NetworkManager-vpnc-" version ".tar.xz"))
8235 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
8236 (build-system gnu-build-system)
8238 `(#:configure-flags '("--enable-absolute-paths"
8239 "--localstatedir=/var"
8240 ;; libnm-glib has been removed from network-manager
8241 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
8242 "--with-libnm-glib=no")
8244 (modify-phases %standard-phases
8245 (add-after 'configure 'patch-path
8246 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
8247 (let* ((vpnc (search-input-file inputs "/sbin/vpnc"))
8248 (modprobe (search-input-file inputs "/bin/modprobe"))
8249 (pretty-ovpn (string-append "\"" vpnc "\"")))
8250 (substitute* "src/nm-vpnc-service.c"
8251 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
8252 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
8253 (("\"/sbin/vpnc\"") pretty-ovpn)
8254 (("/sbin/modprobe") modprobe)))
8257 (list pkg-config intltool))
8265 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8266 (synopsis "VPNC plug-in for NetworkManager")
8268 "Support for configuring virtual private networks based on VPNC.
8269 Compatible with Cisco VPN concentrators configured to use IPsec.")
8270 (license license:gpl2+)
8271 (properties `((upstream-name . "NetworkManager-vpnc")))))
8273 (define-public network-manager-openconnect
8275 (name "network-manager-openconnect")
8280 "mirror://gnome/sources/NetworkManager-openconnect/"
8281 (version-major+minor version)
8282 "/NetworkManager-openconnect-" version ".tar.xz"))
8285 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
8286 (build-system gnu-build-system)
8288 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
8290 (modify-phases %standard-phases
8291 (add-after 'configure 'patch-path
8292 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
8293 (let* ((openconnect (search-input-file inputs
8294 "/sbin/openconnect"))
8295 (modprobe (search-input-file inputs "/bin/modprobe"))
8296 (pretty-ovpn (string-append "\"" openconnect "\"")))
8297 (substitute* "src/nm-openconnect-service.c"
8298 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
8299 (("/sbin/modprobe") modprobe)))
8302 (list intltool libnma pkg-config))
8312 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8313 (synopsis "OpenConnect plug-in for NetworkManager")
8315 "This extension of NetworkManager allows it to take care of connections
8316 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
8317 Cisco's AnyConnect SSL VPN.")
8318 (license license:gpl2+)
8319 (properties `((upstream-name . "NetworkManager-openconnect")
8321 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8322 ;; file refers to account "nm-openconnect". Specify it here
8323 ;; so that 'network-manager-service-type' creates it.
8324 (user-accounts . ("nm-openconnect"))))))
8326 (define-public mobile-broadband-provider-info
8328 (name "mobile-broadband-provider-info")
8329 (version "20190116")
8333 "mirror://gnome/sources/"
8334 "mobile-broadband-provider-info/" version "/"
8335 "mobile-broadband-provider-info-" version ".tar.xz"))
8338 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
8339 (build-system gnu-build-system)
8341 `(#:tests? #f)) ; no tests
8342 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8343 (synopsis "Database of broadband connection configuration")
8344 (description "Database of broadband connection configuration.")
8345 (license license:public-domain)))
8347 (define-public network-manager-applet
8349 (name "network-manager-applet")
8353 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8354 (version-major+minor version) "/"
8355 "network-manager-applet-" version ".tar.xz"))
8358 "17742kgmbj9w545zwnirgr0i40zl0xzp8jx7b8c1krp93mc4h0sw"))))
8359 (build-system meson-build-system)
8363 '("-Dappindicator=yes")))
8365 (list gettext-minimal
8366 `(,glib "bin") ; for glib-compile-resources, etc.
8367 gobject-introspection
8371 ;; libnm-gtk.pc refers to all these.
8372 (list dbus-glib gtk+ network-manager
8373 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8382 jansson ; for team support
8384 (synopsis "Applet for managing network connections")
8385 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8387 "This package contains a systray applet for NetworkManager. It displays
8388 the available networks and allows users to easily switch between them.")
8389 (license license:gpl2+)))
8391 (define-public libxml++
8399 (url "https://github.com/libxmlplusplus/libxmlplusplus")
8401 (file-name (git-file-name name version))
8403 (base32 "0wjz591rjlgbah7dcq8i0yn0zw9d62b7g6r0pppx81ic0cx8n8ga"))))
8404 (build-system gnu-build-system)
8407 (modify-phases %standard-phases
8408 (add-after 'unpack 'fix-documentation
8409 (lambda* (#:key inputs #:allow-other-keys)
8410 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
8411 "/xml/dtd/docbook"))
8412 (xsldoc (string-append (assoc-ref inputs "docbook-xsl")
8413 "/xml/xsl/docbook-xsl-"
8414 ,(package-version docbook-xsl))))
8415 (substitute* '("examples/dom_xpath/example.xml"
8416 "docs/manual/libxml++_without_code.xml")
8417 (("http://.*/docbookx\\.dtd")
8418 (string-append xmldoc "/docbookx.dtd")))
8419 (setenv "SGML_CATALOG_FILES"
8420 (string-append xmldoc "/catalog.xml"))
8421 (substitute* "docs/manual/docbook-customisation.xsl"
8422 (("http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl")
8423 (string-append xsldoc "/html/chunk.xsl")))))))))
8425 ;; libxml++-3.0.pc refers to all these.
8426 (list glibmm-2.64 libxml2))
8439 (home-page "https://github.com/libxmlplusplus/libxmlplusplus/")
8440 (synopsis "C++ bindings to the libxml2 XML parser library")
8442 "This package provides a C++ interface to the libxml2 XML parser
8444 (license license:lgpl2.1+)))
8446 ;; This is the last release providing the 2.6 API, hence the name.
8447 ;; This is needed by tascam-gtk
8448 (define-public libxml++-2
8457 (url "https://github.com/libxmlplusplus/libxmlplusplus")
8459 (file-name (git-file-name name version))
8461 (base32 "0gbfi4l88w828gmyc9br11l003ylyi4vigp5d1kfgsn0k4cig3y9"))))))
8469 (uri (string-append "mirror://gnome/sources/" name "/"
8470 (version-major version) "/"
8471 name "-" version ".tar.xz"))
8474 "0m9qmm3vm81jmqlc30a1fb79hsr4l4lpiw0zjxww3gipd6bsqa53"))
8477 "gdm-default-session.patch"
8478 "gdm-elogind-support.patch"
8479 "gdm-remove-hardcoded-xwayland-path.patch"
8480 "gdm-wayland-session-wrapper-from-env.patch"
8481 "gdm-pass-gdk-pixbuf-loader-env.patch"))))
8482 (build-system meson-build-system)
8488 "-Dplymouth=disabled"
8489 "-Dsystemd-journal=false"
8491 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8492 ;; instead of having to replace it (i.e., stopping the mingetty
8493 ;; service for TTY 1 before starting GDM).
8496 ;; Use elogind instead of systemd.
8497 "-Dlogind-provider=elogind"
8498 "-Dsystemdsystemunitdir=no"
8499 "-Dsystemduserunitdir=no"
8501 ;; Use '/etc/environment' for locale settings instead of the
8502 ;; systemd-specific '/etc/locale.conf'.
8503 "-Dlang-file=/etc/environment"
8505 (string-append "-Dudev-dir=" #$output "/lib/udev")
8507 "--localstatedir=/var"
8508 (string-append "-Ddefault-path="
8509 (string-join '("/run/setuid-programs"
8510 "/run/current-system/profile/bin"
8511 "/run/current-system/profile/sbin")
8513 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8514 ;; XDG_DATA_DIRS so that it finds its schemas.
8515 "--sbindir" (string-append #$output "/bin"))
8517 #~(modify-phases %standard-phases
8518 (add-after 'unpack 'patch-paths
8519 (lambda* (#:key inputs #:allow-other-keys)
8520 (substitute* "daemon/gdm-session.c"
8521 (("dbus-run-session")
8522 (search-input-file inputs "bin/dbus-run-session")))))
8523 (add-before 'configure 'pre-configure
8524 (lambda* (#:key inputs #:allow-other-keys)
8525 ;; We don't have <systemd/sd-daemon.h>.
8526 (substitute* '("common/gdm-log.c"
8527 "daemon/gdm-server.c"
8528 "daemon/gdm-session-worker.c"
8529 "daemon/gdm-session-worker-job.c")
8530 (("#include <systemd/sd-daemon\\.h>") ""))
8531 ;; Use elogind for sd-login.
8532 (substitute* '("common/gdm-common.c"
8533 "daemon/gdm-local-display-factory.c"
8534 "daemon/gdm-manager.c"
8535 "libgdm/gdm-user-switching.c")
8536 (("#include <systemd/sd-login\\.h>")
8537 "#include <elogind/sd-login.h>"))
8538 ;; Look for system-installed sessions in
8539 ;; /run/current-system/profile/share.
8540 (substitute* '("libgdm/gdm-sessions.c"
8541 "daemon/gdm-session.c"
8542 "daemon/gdm-display.c"
8543 "daemon/gdm-launch-environment.c")
8545 "\"/run/current-system/profile/share/x")
8546 (("DATADIR \"/wayland")
8547 "\"/run/current-system/profile/share/wayland")
8548 (("DATADIR \"/gnome")
8549 "\"/run/current-system/profile/share/gnome"))
8550 (let ((propagate '("GDM_CUSTOM_CONF"
8554 ;; XXX: Remove this once GNOME Shell is
8555 ;; a dependency of GDM.
8557 (substitute* "daemon/gdm-session.c"
8558 (("set_up_session_environment \\(self\\);")
8559 (apply string-append
8560 "set_up_session_environment (self);\n"
8563 "gdm_session_set_environment_variable "
8564 "(self, \"" name "\","
8565 "g_getenv (\"" name "\"));\n"))
8567 ;; Find the configuration file using an environment variable.
8568 (substitute* '("common/gdm-settings.c")
8569 (("GDM_CUSTOM_CONF")
8570 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8571 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8572 " : GDM_CUSTOM_CONF)")))
8573 ;; Use service-supplied path to X.
8574 (substitute* '("daemon/gdm-server.c")
8575 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8576 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8577 (substitute* '("daemon/gdm-wayland-session.c"
8578 "daemon/gdm-x-session.c")
8579 (("\"dbus-daemon\"")
8580 "g_getenv (\"GDM_DBUS_DAEMON\")")
8582 "g_getenv (\"GDM_X_SERVER\")")
8583 (("GDMCONFDIR \"/Xsession\"")
8584 "g_getenv (\"GDM_X_SESSION\")"))
8585 ;; Use an absolute path for GNOME Session.
8586 (substitute* "daemon/gdm-launch-environment.c"
8587 (("\"gnome-session\"")
8589 (search-input-file inputs "bin/gnome-session"))))
8590 ;; Do not automatically select the placeholder session.
8591 (substitute* "daemon/gdm-session.c"
8592 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8593 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8594 "(g_strcmp0(search_dirs[i], \""
8595 #$output "/share/gdm/BuiltInSessions/"
8597 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8598 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8599 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))))
8600 (add-before 'install 'install-logo
8601 (lambda* (#:key inputs #:allow-other-keys)
8602 (let ((icon (search-input-file inputs "share/icons/hicolor/\
8603 scalable/apps/guix-white-icon.svg"))
8604 (schema (string-append #$output "/share/glib-2.0/schemas/\
8605 org.gnome.login-screen.gschema.override")))
8606 (mkdir-p (dirname schema))
8607 (with-output-to-file schema
8610 [org.gnome.login-screen]
8611 logo='~a'~%" icon))))))
8612 ;; GDM requires that there be at least one desktop entry
8613 ;; file. This phase installs a hidden one that simply
8614 ;; fails. This enables users to use GDM with a
8615 ;; '~/.xsession' script with no other desktop entry files.
8616 ;; See <https://bugs.gnu.org/35068>.
8617 (add-after 'install 'install-placeholder-desktop-entry
8619 (let* ((sessions (string-append #$output
8620 "/share/gdm/BuiltInSessions"))
8621 (fail (string-append sessions "/fail.desktop")))
8623 (with-output-to-file fail
8627 '("[Desktop Entry]\n"
8629 "Type=Application\n"
8631 "Comment=This session fails immediately.\n"
8633 "Exec=false\n")))))))
8634 ;; GDM needs GNOME Session to run these applications. We link
8635 ;; their autostart files in `share/gdm/greeter/autostart'
8636 ;; because GDM explicitly tells GNOME Session to look there.
8638 ;; XXX: GNOME Shell should be linked here too, but currently
8639 ;; GNOME Shell depends on GDM.
8640 (add-after 'install 'link-autostart-files
8641 (lambda* (#:key inputs #:allow-other-keys)
8642 (let ((autostart (string-append #$output "/share/gdm/"
8643 "greeter/autostart"))
8644 (settings #$(this-package-input "gnome-settings-daemon")))
8646 (with-directory-excursion autostart
8647 (for-each (lambda (desktop)
8648 (symlink desktop (basename desktop)))
8650 (string-append settings "/etc/xdg"))))))))))
8652 (list `(,glib "bin") ;for glib-compile-schemas, etc.
8654 gobject-introspection
8661 (list accountsservice
8667 gnome-settings-daemon
8673 (synopsis "Display manager for GNOME")
8674 (home-page "https://wiki.gnome.org/Projects/GDM/")
8676 "GNOME Display Manager is a system service that is responsible for
8677 providing graphical log-ins and managing local and remote displays.")
8678 (license license:gpl2+)))
8680 (define-public libgtop
8686 (uri (string-append "mirror://gnome/sources/libgtop/"
8687 (version-major+minor version) "/"
8688 "libgtop-" version ".tar.xz"))
8691 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8692 (build-system gnu-build-system)
8694 (list gobject-introspection intltool perl pkg-config))
8696 (list glib)) ; required by libgtop-2.0.pc
8697 (synopsis "Portable system access library")
8698 (home-page "https://www.gnome.org/")
8700 "LibGTop is a library to get system specific data such as CPU and memory
8701 usage and information about running processes.")
8702 (license license:gpl2+)))
8704 (define-public gnome-bluetooth
8706 (name "gnome-bluetooth")
8710 (uri (string-append "mirror://gnome/sources/gnome-bluetooth/"
8711 (version-major+minor version) "/"
8712 "gnome-bluetooth-" version ".tar.xz"))
8715 "1p5wq3rh9p7fhka57qcds6lvphd26yyc18ilncx95jbcvcfcyvqx"))))
8716 (build-system meson-build-system)
8718 (list gettext-minimal
8719 gobject-introspection
8720 `(,glib "bin") ;for gdbus-codegen, etc.
8726 ;; These are all required by the gnome-bluetooth .pc file.
8734 ;; TODO: Delete pango-next after it's the default.
8738 (synopsis "GNOME Bluetooth subsystem")
8739 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8741 "This package contains tools for managing and manipulating Bluetooth
8742 devices using the GNOME desktop.")
8743 (license license:lgpl2.1+)))
8745 (define-public gnome-control-center
8747 (name "gnome-control-center")
8751 (uri (string-append "mirror://gnome/sources/" name "/"
8752 (version-major version) "/"
8753 name "-" version ".tar.xz"))
8756 "0zhw6hcrrcpq1zjkyzr5ipznxnzd2aczrqd7n2y7xbz21mjy62nf"))))
8757 (build-system meson-build-system)
8762 #~(modify-phases %standard-phases
8763 (add-before 'configure 'patch-paths
8764 (lambda* (#:key inputs #:allow-other-keys)
8765 (substitute* "panels/datetime/tz.h"
8766 (("/usr/share/zoneinfo/zone.tab")
8767 (search-input-file inputs "share/zoneinfo/zone.tab")))
8768 (substitute* "tests/datetime/test-endianess.c"
8769 (("/usr/share/locale")
8770 (search-input-directory inputs "share/locale")))
8771 (substitute* "panels/region/cc-region-panel.c"
8772 (("\"gkbd-keyboard-display")
8773 (string-append "\"" (search-input-file
8774 inputs "bin/gkbd-keyboard-display"))))
8775 (substitute* '("panels/network/net-device-bluetooth.c"
8776 "panels/network/net-device-mobile.c"
8777 "panels/network/connection-editor/net-connection-editor.c")
8778 (("\"nm-connection-editor")
8779 (string-append "\"" (search-input-file
8780 inputs "bin/nm-connection-editor"))))
8781 (substitute* "panels/user-accounts/run-passwd.c"
8782 (("/usr/bin/passwd")
8783 "/run/setuid-programs/passwd"))
8784 (substitute* "panels/info-overview/cc-info-overview-panel.c"
8785 (("DATADIR \"/gnome/gnome-version.xml\"")
8786 (format #f "~s" (search-input-file
8787 inputs "share/gnome/gnome-version.xml"))))))
8788 (add-after 'unpack 'skip-gtk-update-icon-cache
8789 ;; Don't create 'icon-theme.cache'.
8791 (substitute* "build-aux/meson/meson_post_install.py"
8792 (("gtk-update-icon-cache") (which "true"))))))))
8796 `(,glib "bin") ;for glib-mkenums, etc.
8801 xorg-server-for-tests))
8803 (list accountsservice
8810 gnome-online-accounts
8812 gnome-settings-daemon
8823 librsvg ;for loading SVG files
8830 network-manager-applet
8837 (synopsis "Utilities to configure the GNOME desktop")
8838 (home-page "https://www.gnome.org/")
8840 "This package contains configuration applets for the GNOME desktop,
8841 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8842 properties, sound setup, desktop theme and background, user interface
8843 properties, screen resolution, and other GNOME parameters.")
8844 (license license:gpl2+)))
8846 (define-public gnome-shell
8848 (name "gnome-shell")
8852 (uri (string-append "mirror://gnome/sources/" name "/"
8853 (version-major version) "/"
8854 name "-" version ".tar.xz"))
8857 "0kn5fclciybp2fs38wd39hdz85y91pas0ckfa02pmyx91sbz4pw7"))))
8858 (build-system meson-build-system)
8860 (let ((disallowed-references
8861 (list (gexp-input glib "bin")
8862 (gexp-input libxslt)
8864 (gexp-input ruby-sass))))
8867 #:disallowed-references disallowed-references
8869 #~(list "-Dsystemd=false"
8870 ;; Otherwise, the RUNPATH will lack the final path component.
8871 (string-append "-Dc_link_args=-Wl,-rpath="
8872 #$output "/lib/gnome-shell"))
8873 #:modules '((guix build meson-build-system)
8879 #~(modify-phases %standard-phases
8880 (add-after 'unpack 'fix-keysdir
8883 (string-append #$output
8884 "/share/gnome-control-center/keybindings")))
8885 (substitute* "meson.build"
8887 (string-append "keysdir = '" keysdir "'\n"))))))
8888 (add-after 'unpack 'skip-gtk-update-icon-cache
8889 ;; Don't create 'icon-theme.cache'.
8891 (substitute* "meson.build"
8892 (("gtk_update_icon_cache: true")
8893 "gtk_update_icon_cache: false"))))
8894 (add-before 'configure 'record-absolute-file-names
8895 (lambda* (#:key inputs #:allow-other-keys)
8896 (let ((ibus-daemon (search-input-file inputs "bin/ibus-daemon"))
8897 (gkbd-keyboard-display
8898 (search-input-file inputs "bin/gkbd-keyboard-display")))
8899 (substitute* "js/misc/ibusManager.js"
8901 (string-append "'" ibus-daemon "'")))
8902 (substitute* "js/ui/status/keyboard.js"
8903 (("'gkbd-keyboard-display'")
8904 (string-append "'" gkbd-keyboard-display "'"))))))
8905 (add-before 'check 'pre-check
8906 (lambda* (#:key inputs #:allow-other-keys)
8907 ;; Tests require a running X server.
8908 (system "Xvfb :1 &")
8909 (setenv "DISPLAY" ":1")
8910 (setenv "HOME" "/tmp"))) ;to avoid "fatal" warnings
8911 (add-after 'install 'wrap-programs
8912 (lambda* (#:key inputs #:allow-other-keys)
8913 (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8916 (filter (lambda (item)
8917 (not (any (cut string-prefix? <> item)
8918 '#$disallowed-references)))
8919 (string-split (getenv "GUIX_PYTHONPATH") #\:))
8923 (wrap-program (string-append #$output "/bin/" prog)
8924 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8925 '("gnome-shell" "gnome-extensions-app"))
8926 (substitute* (string-append #$output "/share/gnome-shell/"
8927 "org.gnome.Shell.Extensions")
8928 (("imports\\.package\\.start" all)
8929 (string-append "'" gi-typelib-path "'.split(':').forEach("
8930 "path => imports.gi.GIRepository.Repository."
8931 "prepend_search_path(path));\n"
8935 (wrap-program (string-append #$output "/bin/" prog)
8936 `("GUIX_PYTHONPATH" ":" prefix (,python-path))
8937 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8938 '("gnome-shell-perf-tool")))))
8939 (add-after 'install 'rewire
8940 (lambda* (#:key inputs #:allow-other-keys)
8943 (call-with-output-file (string-append #$output
8947 printf '~a is deprecated. Use the \"gnome-extensions\" CLI or \
8948 \"gnome-extensions-app\" instead.\\n'"
8949 (search-input-file inputs "bin/bash")
8951 '("gnome-shell-extension-tool" "gnome-shell-extension-prefs"))))
8952 (replace 'glib-or-gtk-wrap
8953 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8954 (lambda* (#:key inputs outputs #:allow-other-keys)
8955 ;; By default glib:bin et al. would end up in the XDG_DATA_DIRS
8956 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8957 ;; phase. Fix that since we don't need these.
8959 (filter (match-lambda
8962 '#$disallowed-references))))
8964 #:outputs outputs))))))))
8968 `(,glib "bin") ;for glib-compile-schemas, etc.
8969 desktop-file-utils ;for update-desktop-database
8970 gobject-introspection
8979 xorg-server-for-tests))
8981 (list accountsservice
8984 evolution-data-server
8993 gnome-settings-daemon
8999 libgnomekbd ;for gkbd-keyboard-display
9005 network-manager-applet
9009 startup-notification
9012 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
9013 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
9016 (synopsis "Desktop shell for GNOME")
9017 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
9019 "GNOME Shell provides core user interface functions for the GNOME desktop,
9020 like switching to windows and launching applications.")
9021 (license license:gpl2+)))
9023 (define-public gtk-vnc
9031 (string-append "mirror://gnome/sources/" name "/"
9032 (version-major+minor version) "/"
9033 name "-" version ".tar.xz"))
9035 (base32 "0jmr6igyzcj2wmx5v5ywaazvdz3hx6a6rys26yb4l4s71l281bvs"))))
9036 (build-system meson-build-system)
9038 `(#:meson ,meson-0.60
9039 #:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
9042 ;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
9043 ;; dependency on other platforms (FIXME).
9044 (if (target-x86-64?)
9047 (list gettext-minimal
9049 gobject-introspection
9056 (list cairo (librsvg-for-system)))
9058 ;; These are all in Requires or Requires.private of the .pc files.
9068 (synopsis "VNC client viewer widget for GTK+")
9069 (description "GTK-VNC is a project providing client side APIs for the RFB
9070 protocol / VNC remote desktop technology. It is built using coroutines allowing
9071 it to be completely asynchronous while remaining single threaded. It provides a
9072 core C library, and bindings for Python (PyGTK).")
9073 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
9074 (license license:lgpl2.1+)))
9076 (define-public gnome-autoar
9078 (name "gnome-autoar")
9082 (uri (string-append "mirror://gnome/sources/" name "/"
9083 (version-major+minor version) "/"
9084 name "-" version ".tar.xz"))
9087 "124y4j3wgb6axgfzw9f00865r033fg7b0qy9qgfsp5ilan4hgpvv"))))
9088 (build-system meson-build-system)
9090 (list gobject-introspection `(,glib "bin") pkg-config))
9092 (list libarchive)) ; Required by gnome-autoar-0.pc
9095 (synopsis "Archives integration support for GNOME")
9096 (home-page "https://git.gnome.org/browse/gnome-autoar/")
9098 "GNOME Autoar is a library which makes creating and extracting archives
9099 easy, safe, and automatic.")
9100 (license license:lgpl2.1+)))
9102 (define-public tracker
9108 (uri (string-append "mirror://gnome/sources/tracker/"
9109 (version-major+minor version) "/"
9110 "tracker-" version ".tar.xz"))
9113 "0r144kdqxdzs51qn495vablzf1zxkhkk6imrlrzj9wiqwc2gg520"))))
9114 (build-system meson-build-system)
9118 ;; Otherwise, the RUNPATH will lack the final path component.
9119 (list (string-append "-Dc_link_args=-Wl,-rpath="
9120 (assoc-ref %outputs "out") "/lib:"
9121 (assoc-ref %outputs "out") "/lib/tracker-3.0")
9123 "-Dsystemd_user_services=false")
9125 (modify-phases %standard-phases
9126 (add-before 'configure 'set-shell
9128 (setenv "SHELL" (which "bash"))))
9129 (add-before 'configure 'fix-paths
9130 (lambda* (#:key inputs #:allow-other-keys)
9131 (let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
9132 (file (search-input-file inputs manpage)))
9133 (substitute* "docs/manpages/meson.build"
9134 (("/etc/asciidoc[^']+")
9137 (lambda* (#:key tests? #:allow-other-keys)
9139 ;; Some tests expect to write to $HOME.
9140 (setenv "HOME" "/tmp")
9141 (invoke "dbus-run-session" "--" "meson" "test"
9142 "--print-errorlogs")))))))
9144 (list gettext-minimal
9146 gobject-introspection
9149 gsettings-desktop-schemas
9163 ;; These are in Requires or Requires.private of tracker-sparql-3.0.pc.
9165 icu4c ;libunistring gets miner-miner-fs test to fail
9169 (synopsis "Metadata database, indexer and search tool")
9170 (home-page "https://wiki.gnome.org/Projects/Tracker")
9172 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
9174 It is a middleware component aimed at desktop application developers who want
9175 their apps to browse and search user content. It's not designed to be used
9176 directly by desktop users, but it provides a commandline tool named
9177 @command{tracker} for the adventurous.
9179 Tracker allows your application to instantly perform full-text searches across
9180 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
9181 example. This is achieved by indexing the user's home directory in the
9184 Tracker also allows your application to query and list content that the user
9185 has stored. For example, GNOME Music displays all the music files that are
9186 found by Tracker. This means that GNOME Music doesn't need to maintain a
9187 database of its own.
9189 If you need to go beyond simple searches, Tracker is also a linked data
9190 endpoint and it understands SPARQL.")
9191 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
9192 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
9193 ;; libstemmer is bsd-3 and the rest is gpl2+.
9194 (license (list license:gpl2+
9196 license:lgpl2.1+))))
9198 (define-public tracker-miners
9200 (name "tracker-miners")
9204 (uri (string-append "mirror://gnome/sources/tracker-miners/"
9205 (version-major+minor version)
9206 "/tracker-miners-" version ".tar.xz"))
9209 "151w6ljq1gk9idqfq9qs3w16vms91jnxy59c9kx6jaf0fb9cdp9y"))))
9210 (build-system meson-build-system)
9214 (list "-Dminer_rss=false" ; libgrss is required.
9215 ;; Ensure the RUNPATH contains all installed library locations.
9216 (string-append "-Dc_link_args=-Wl,-rpath="
9217 (assoc-ref %outputs "out")
9218 "/lib/tracker-miners-3.0")
9219 ;; TODO: Enable functional tests. Currently, the following error
9221 ;; Exception: The functional tests require DConf to be the default
9222 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
9223 "-Dfunctional_tests=false"
9224 "-Dsystemd_user_services=false")
9226 (modify-phases %standard-phases
9227 (add-before 'configure 'set-shell
9229 (setenv "SHELL" (which "bash"))))
9230 (add-before 'configure 'fix-paths
9231 (lambda* (#:key inputs #:allow-other-keys)
9232 (let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
9233 (file (search-input-file inputs manpage)))
9234 (substitute* "docs/manpages/meson.build"
9235 (("/etc/asciidoc[^']+")
9237 (add-before 'configure 'fix-tests
9238 (lambda* (#:key inputs #:allow-other-keys)
9239 ;; Disable those tests that require the functional_tests option
9240 ;; to be true and the UPower daemon to be started.
9241 (substitute* "examples/python/meson.build"
9242 (("foreach example_name:.*")
9243 "foreach example_name: []"))
9244 ;; Disable this test that is failing randomly:
9245 ;; https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/170.
9246 (substitute* "tests/libtracker-miner/meson.build"
9250 (lambda* (#:key tests? #:allow-other-keys)
9252 ;; Some tests expect to write to $HOME.
9253 (setenv "HOME" "/tmp")
9254 (setenv "LANG" "en_US.UTF-8")
9255 (invoke "dbus-run-session" "--" "meson" "test"
9257 ;; Do not run the slow test, which fail (see:
9258 ;; https://gitlab.gnome.org/GNOME/tracker-miners
9260 "--no-suite" "slow")))))))
9267 gsettings-desktop-schemas
9270 gobject-introspection
9302 (synopsis "Metadata database, indexer and search tool")
9303 (home-page "https://wiki.gnome.org/Projects/Tracker")
9305 "Tracker is an advanced framework for first class objects with associated
9306 metadata and tags. It provides a one stop solution for all metadata, tags,
9307 shared object databases, search tools and indexing.")
9308 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
9309 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
9310 (license (list license:gpl2+
9312 license:lgpl2.0+))))
9314 (define-public nautilus
9320 (uri (string-append "mirror://gnome/sources/" name "/"
9321 (version-major version) "/"
9322 name "-" version ".tar.xz"))
9325 "0bsqh241m43x3qb3z0mjakjic610ncl95zhjdgls649phnc30qry"))
9327 ;; This patch is already upstream and can be removed next
9329 (search-patches "nautilus-add-libportal-gtk3.patch"))))
9330 (build-system meson-build-system)
9334 (modify-phases %standard-phases
9335 (add-after 'unpack 'make-extensible
9337 (substitute* "src/nautilus-module.c"
9338 (("static gboolean initialized = FALSE;" all)
9339 (string-append all "
9340 const char *extension_path;
9341 char **extension_dirs, **d;
9344 (("load_module_dir \\(NAUTILUS_EXTENSIONDIR\\);" all)
9347 extension_path = g_getenv (\"NAUTILUS_EXTENSION_PATH\");
9350 extension_dirs = g_strsplit (extension_path, \":\", -1);
9351 for (d = extension_dirs; d != NULL && *d != NULL; d++)
9352 load_module_dir(*d);
9353 g_strfreev(extension_dirs);
9356 (add-after 'unpack 'skip-gtk-update-icon-cache
9357 ;; Don't create 'icon-theme.cache'.
9359 (substitute* "build-aux/meson/postinstall.py"
9360 (("gtk-update-icon-cache") "true")))))
9361 ;; XXX: FAIL: check-nautilus
9362 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
9365 (list desktop-file-utils ; for update-desktop-database
9366 `(,glib "bin") ; for glib-mkenums, etc.
9367 gobject-introspection
9384 libsoup-minimal-2 ; to satisfy tracker dependencies
9387 ;; XXX: gtk+ is required by libnautilus-extension.pc
9389 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
9391 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
9395 (native-search-paths
9396 (list (search-path-specification
9397 (variable "NAUTILUS_EXTENSION_PATH")
9398 (files '("lib/nautilus/site-extensions")))))
9399 (synopsis "File manager for GNOME")
9400 (home-page "https://wiki.gnome.org/Apps/Nautilus")
9402 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
9403 design and behaviour, giving the user a simple way to navigate and manage its
9405 (license license:gpl2+)))
9407 (define-public baobab
9414 "mirror://gnome/sources/" name "/"
9415 (version-major version) "/"
9416 name "-" version ".tar.xz"))
9419 "1p2hg8qxbvdfax9z4qjhdsxia93zrsdq58krx8zjnn5ipbkan6jb"))))
9420 (build-system meson-build-system)
9422 '(#:glib-or-gtk? #t))
9424 (list desktop-file-utils ;for update-desktop-database
9427 `(,gtk+ "bin") ;for gtk-update-icon-cache
9434 (list gtk libadwaita libhandy
9435 ;; XXX: Ensure pango-next is used instead of the equally propagated
9438 (synopsis "Disk usage analyzer for GNOME")
9440 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
9441 usage in the GNOME desktop environment. It can easily scan device volumes or
9442 a specific user-requested directory branch (local or remote). Once the scan
9443 is complete it provides a graphical representation of each selected folder.")
9444 (home-page "https://wiki.gnome.org/Apps/Baobab")
9445 (license license:gpl2+)))
9447 (define-public gnome-backgrounds
9449 (name "gnome-backgrounds")
9454 (uri (string-append "mirror://gnome/sources/" name "/"
9455 (version-major version) "/"
9456 name "-" version ".tar.xz"))
9459 "0i9id5z72dqddh94648zylyf41amqq5lhny8sbyg1v8v4q6sr88x"))))
9460 (build-system meson-build-system)
9461 (native-inputs (list gettext-minimal))
9462 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
9463 (synopsis "Background images for the GNOME desktop")
9465 "GNOME backgrounds package contains a collection of graphics files which
9466 can be used as backgrounds in the GNOME Desktop environment. Additionally,
9467 the package creates the proper framework and directory structure so that you
9468 can add your own files to the collection.")
9469 (license (list license:gpl2+
9472 license:cc-by-sa3.0))))
9474 (define-public gnome-screenshot
9476 (name "gnome-screenshot")
9481 (uri (string-append "mirror://gnome/sources/" name "/"
9482 (version-major version) "/"
9483 name "-" version ".tar.xz"))
9486 "15wmikwk62cdi93gas77nqh4fbhlrxrncyfmcd1gfa34jbn7vnsa"))
9488 (search-patches "gnome-screenshot-meson-0.60.patch"))))
9489 (build-system meson-build-system)
9493 (modify-phases %standard-phases
9494 (add-after 'unpack 'skip-gtk-update-icon-cache
9495 ;; Don't create 'icon-theme.cache'.
9497 (substitute* "build-aux/postinstall.py"
9498 (("gtk-update-icon-cache") "true")))))))
9500 (list appstream-glib
9501 desktop-file-utils ; for update-desktop-database
9503 `(,glib "bin") ; for glib-compile-schemas, etc.
9511 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9512 (synopsis "Take pictures of your screen")
9514 "GNOME Screenshot is a utility used for taking screenshots of the entire
9515 screen, a window or a user defined area of the screen, with optional
9516 beautifying border effects.")
9517 (license license:gpl2+)))
9519 (define-public dconf-editor
9521 (name "dconf-editor")
9526 (uri (string-append "mirror://gnome/sources/" name "/"
9527 (version-major+minor version) "/"
9528 name "-" version ".tar.xz"))
9531 "1qvrxrk1h8bd75xwasxbvlkqrw6xkavjimvc7sslkw6lvb3z86jp"))))
9532 (build-system meson-build-system)
9534 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9535 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9536 ("intltool" ,intltool)
9537 ("pkg-config" ,pkg-config)
9540 (list dconf gtk+ libxml2))
9541 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9542 (synopsis "Graphical editor for GNOME's dconf configuration system")
9544 "Dconf-editor is a graphical tool for browsing and editing the dconf
9545 configuration system for GNOME. It allows users to configure desktop
9546 software that do not provide their own configuration interface.")
9547 (license license:lgpl2.1+)))
9549 (define-public gnome-default-applications
9551 (name "gnome-default-applications")
9553 (build-system trivial-build-system)
9556 (list nautilus evince))
9558 `(#:modules ((guix build utils))
9561 (use-modules (guix build utils))
9562 (let* ((out (assoc-ref %outputs "out"))
9563 (apps (string-append out "/share/applications")))
9565 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9567 (format port "[Default Applications]\n")
9568 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9569 (format port "application/pdf=evince.desktop\n")
9570 (format port "application/postscript=evince.desktop\n")))
9572 (synopsis "Default MIME type associations for the GNOME desktop")
9574 "Given many installed packages which might handle a given MIME type, a
9575 user running the GNOME desktop probably has some preferences: for example,
9576 that folders be opened by default by the Nautilus file manager, not the Baobab
9577 disk usage analyzer. This package establishes that set of default MIME type
9578 associations for GNOME.")
9579 (license license:gpl3+)
9582 (define-public libgovirt
9588 (uri (string-append "mirror://gnome/sources/" name "/"
9589 (version-major+minor version) "/"
9590 name "-" version ".tar.xz"))
9593 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9594 (build-system glib-or-gtk-build-system)
9596 (list gettext-minimal
9598 gobject-introspection
9599 gsettings-desktop-schemas
9603 (list glib-networking ; GIO plugin--for the tests
9605 (synopsis "GoVirt Library")
9606 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9607 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9608 (license license:gpl2+)))
9610 (define-public gnome-weather
9612 (name "gnome-weather")
9616 (uri (string-append "mirror://gnome/sources/" name "/"
9617 (version-major version) "/"
9618 name "-" version ".tar.xz"))
9621 "0rdl0ywdk8jlq819wr1sbdzdvsasz11pp30fylzvprakv28yd7jp"))))
9622 (build-system meson-build-system)
9627 #~(modify-phases %standard-phases
9628 (add-after 'unpack 'fix-service-file
9630 (substitute* "data/org.gnome.Weather.service.in"
9631 (("Exec=[[:graph:]]+")
9632 (string-append "Exec=" #$output
9633 "/bin/gnome-weather")))))
9634 (add-after 'unpack 'disable-gtk-update-icon-cache
9636 (setenv "DESTDIR" "/")))
9637 (add-after 'install 'fix-desktop-file
9638 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some
9639 ;; reason. See https://issues.guix.gnu.org/issue/39324.
9640 (lambda* (#:key outputs #:allow-other-keys)
9641 (substitute* (search-input-file
9643 "share/applications/org.gnome.Weather.desktop")
9644 (("Exec=.*") "Exec=gnome-weather\n"))))
9645 (add-after 'install 'wrap
9646 (lambda* (#:key outputs #:allow-other-keys)
9647 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at
9649 (wrap-program (search-input-file outputs "bin/gnome-weather")
9650 `("GI_TYPELIB_PATH" ":" prefix
9651 (,(getenv "GI_TYPELIB_PATH")))))))))
9653 (list gettext-minimal
9655 gobject-introspection
9658 (list appstream-glib
9662 gsettings-desktop-schemas-next
9666 (synopsis "Weather monitoring for GNOME desktop")
9667 (description "GNOME Weather is a small application that allows you to
9668 monitor the current weather conditions for your city, or anywhere in the
9670 (home-page "https://wiki.gnome.org/Apps/Weather")
9671 (license license:gpl2+)))
9673 (define-public gnome
9676 (version (package-version gnome-shell))
9678 (build-system trivial-build-system)
9679 (arguments '(#:builder (begin (mkdir %output) #t)))
9681 `(;; GNOME-Core-OS-Services
9682 ("accountsservice" ,accountsservice)
9683 ("network-manager" ,network-manager)
9684 ("packagekit" ,packagekit)
9687 ("adwaita-icon-theme" ,adwaita-icon-theme)
9689 ("glib-networking" ,glib-networking)
9690 ("gnome-backgrounds" ,gnome-backgrounds)
9691 ("gnome-bluetooth" ,gnome-bluetooth)
9692 ("gnome-color-manager" ,gnome-color-manager)
9693 ("gnome-control-center" ,gnome-control-center)
9694 ("gnome-desktop" ,gnome-desktop)
9695 ("gnome-initial-setup" ,gnome-initial-setup)
9696 ("gnome-keyring" ,gnome-keyring)
9697 ("gnome-menus" ,gnome-menus)
9698 ("gnome-session" ,gnome-session)
9699 ("gnome-settings-daemon" ,gnome-settings-daemon)
9700 ("gnome-shell-extensions" ,gnome-shell-extensions)
9701 ("gnome-shell" ,gnome-shell)
9702 ("gnome-themes-extra" ,gnome-themes-extra)
9703 ("gnome-user-docs" ,gnome-user-docs)
9704 ("gnome-user-share" ,gnome-user-share)
9705 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9711 ;; GNOME-Core-Utilities
9714 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9715 ;; only works on x86_64, so exclude it on other architectures.
9716 ,@(if (string-prefix? "x86_64" (%current-system))
9719 ("epiphany" ,epiphany)
9721 ("file-roller" ,file-roller)
9723 ("gnome-boxes" ,gnome-boxes)
9724 ("gnome-calculator" ,gnome-calculator)
9725 ("gnome-calendar" ,gnome-calendar)
9726 ("gnome-characters" ,gnome-characters)
9727 ("gnome-clocks" ,gnome-clocks)
9728 ("gnome-contacts" ,gnome-contacts)
9729 ("gnome-disk-utility" ,gnome-disk-utility)
9730 ("gnome-font-viewer" ,gnome-font-viewer)
9731 ("gnome-maps" ,gnome-maps)
9732 ("gnome-music" ,gnome-music)
9733 ("gnome-photos" ,gnome-photos)
9734 ("gnome-screenshot" ,gnome-screenshot)
9735 ("gnome-system-monitor" ,gnome-system-monitor)
9736 ("gnome-terminal" ,gnome-terminal)
9737 ("gnome-weather" ,gnome-weather)
9738 ("nautilus" ,nautilus)
9739 ("simple-scan" ,simple-scan)
9741 ("tracker-miners" ,tracker-miners)
9744 ("hicolor-icon-theme" ,hicolor-icon-theme)
9745 ("gnome-online-accounts" ,gnome-online-accounts)
9747 ;; Packages not part of GNOME proper but that are needed for a good
9748 ;; experience. See <https://bugs.gnu.org/39646>.
9749 ;; XXX: Find out exactly which ones are needed and why.
9750 ("font-abattis-cantarell" ,font-abattis-cantarell)
9751 ("font-dejavu" ,font-dejavu)
9752 ("at-spi2-core" ,at-spi2-core-minimal)
9755 ("desktop-file-utils" ,desktop-file-utils)
9756 ("gnome-default-applications" ,gnome-default-applications)
9757 ("gst-plugins-base" ,gst-plugins-base)
9758 ("gst-plugins-good" ,gst-plugins-good)
9759 ("gucharmap" ,gucharmap)
9760 ("pinentry-gnome3" ,pinentry-gnome3)
9761 ("pulseaudio" ,pulseaudio)
9762 ("shared-mime-info" ,shared-mime-info)
9763 ("system-config-printer" ,system-config-printer)
9764 ("xdg-user-dirs" ,xdg-user-dirs)
9766 ("zenity" ,zenity)))
9767 (synopsis "The GNU desktop environment")
9768 (home-page "https://www.gnome.org/")
9770 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9771 applications for browsing the web, editing text and images, creating
9772 documents and diagrams, playing media, scanning, and much more.")
9773 (license license:gpl2+)))
9775 (define-public byzanz
9776 ;; The last stable release of Byzanz was in 2011, but there have been many
9777 ;; useful commits made to the Byzanz repository since then that it would be
9778 ;; silly to use such an old release.
9779 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9782 (version (string-append "0.2-1." (string-take commit 7)))
9786 (url "https://git.gnome.org/browse/byzanz")
9788 (file-name (string-append name "-" version "-checkout"))
9791 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9792 (build-system glib-or-gtk-build-system)
9795 (modify-phases %standard-phases
9796 (add-before 'bootstrap 'build-without-Werror
9798 ;; The build system cleverly detects that we're not building from
9799 ;; a release tarball and turns on -Werror for GCC.
9800 ;; Unsurprisingly, there is a warning during compilation that
9801 ;; causes the build to fail unnecessarily, so we remove the flag.
9802 (substitute* '("configure.ac")
9814 (list glib gstreamer gst-plugins-base gtk+))
9815 (synopsis "Desktop recording program")
9816 (description "Byzanz is a simple desktop recording program with a
9817 command-line interface. It can record part or all of an X display for a
9818 specified duration and save it as a GIF encoded animated image file.")
9819 (home-page "https://git.gnome.org/browse/byzanz")
9820 (license license:gpl2+))))
9822 (define-public authenticator
9824 (name "authenticator")
9830 (url "https://gitlab.gnome.org/World/Authenticator")
9832 (file-name (git-file-name name version))
9834 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9835 (build-system meson-build-system)
9837 `(#:meson ,meson-0.59
9840 (modify-phases %standard-phases
9841 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9842 (lambda* (#:key inputs outputs #:allow-other-keys)
9843 (let ((prog (string-append (assoc-ref outputs "out")
9844 "/bin/authenticator"))
9845 (pylib (string-append (assoc-ref outputs "out")
9847 ,(version-major+minor
9849 (this-package-input "python")))
9852 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
9853 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
9855 (list desktop-file-utils
9858 gobject-introspection
9862 (list gsettings-desktop-schemas
9867 python-beautifulsoup4
9875 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9876 (synopsis "Two-factor authentication application built for GNOME")
9878 "Authenticator is a two-factor authentication (2FA) application built for
9879 the GNOME desktop environment.
9884 @item QR code scanner
9886 @item Huge database of more than 560 supported services
9887 @item Keep your PIN tokens secure by locking the application with a password
9888 @item Automatically fetch an image for services using their favicon
9889 @item The possibility to add new services
9891 (license license:gpl3+)))
9893 (define-public gsound
9899 (uri (string-append "mirror://gnome/sources/gsound/"
9900 (version-major+minor version) "/"
9901 "gsound-" version ".tar.xz"))
9904 "06l80xgykj7x1kqkjvcq06pwj2rmca458zvs053qc55x3sg06bfa"))))
9905 (build-system meson-build-system)
9907 (list pkg-config gobject-introspection vala))
9909 (list libcanberra)) ; in Requires.private of gsound.pc
9910 (home-page "https://wiki.gnome.org/Projects/GSound")
9911 (synopsis "GObject wrapper for libcanberra")
9913 "GSound is a small library for playing system sounds. It's designed to be
9914 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9916 (license license:lgpl2.1+)))
9918 (define-public libzapojit
9924 (uri (string-append "mirror://gnome/sources/" name "/"
9925 (version-major+minor version) "/"
9926 name "-" version ".tar.xz"))
9929 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9930 (build-system gnu-build-system)
9932 (list gobject-introspection intltool pkg-config))
9934 (list gnome-online-accounts json-glib rest))
9935 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9936 (synopsis "Library for accessing SkyDrive and Hotmail")
9938 "Libzapojit is a GLib-based library for accessing online service APIs of
9939 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9940 (license license:lgpl2.1+)))
9942 (define-public gnome-clocks
9944 (name "gnome-clocks")
9948 (uri (string-append "mirror://gnome/sources/" name "/"
9949 (version-major version) "/"
9950 name "-" version ".tar.xz"))
9953 "1q3gvniwd4dkr1ghqpp05zr7qswdhaxqrn8j6bm3qbh39bdihw8f"))))
9954 (build-system meson-build-system)
9958 (modify-phases %standard-phases
9959 (add-after 'unpack 'skip-gtk-update-icon-cache
9960 ;; Don't create 'icon-theme.cache'.
9962 (substitute* "meson.build"
9963 (("gtk_update_icon_cache: true")
9964 "gtk_update_icon_cache: false")))))))
9966 (list desktop-file-utils
9968 `(,glib "bin") ; for glib-compile-resources
9974 geocode-glib-with-libsoup2
9980 libgweather4-with-libsoup2))
9981 (home-page "https://wiki.gnome.org/Apps/Clocks")
9982 (synopsis "GNOME's clock application")
9984 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9985 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9986 (license license:gpl3+)))
9988 (define-public gnome-calendar
9990 (name "gnome-calendar")
9994 (uri (string-append "mirror://gnome/sources/" name "/"
9995 (version-major version) "/"
9996 name "-" version ".tar.xz"))
9999 "1ggvnl2jnc24nzpkjvsk57vpckjzb14a7mmnk6jjm84nmqxccz5f"))))
10000 (build-system meson-build-system)
10002 `(#:glib-or-gtk? #t
10004 (modify-phases %standard-phases
10005 (add-after 'unpack 'skip-gtk-update-icon-cache
10006 ;; Don't create 'icon-theme.cache'.
10008 (substitute* "meson.build"
10009 (("gtk_update_icon_cache: true")
10010 "gtk_update_icon_cache: false")))))))
10012 (list gettext-minimal
10013 `(,glib "bin") ; For glib-compile-schemas
10016 ;; Note: not propagating evolution-data-server-3.44 to keep profiles
10017 ;; clean from libsoup2.
10018 (list evolution-data-server-3.44
10020 geocode-glib-with-libsoup2
10021 gnome-online-accounts-3.44
10022 gsettings-desktop-schemas
10025 libgweather4-with-libsoup2
10026 ;; Remove pango-next when it's the default.
10028 (home-page "https://wiki.gnome.org/Apps/Calendar")
10029 (synopsis "GNOME's calendar application")
10031 "GNOME Calendar is a simple calendar application designed to fit the GNOME
10032 desktop. It supports multiple calendars, month, week and year view.")
10033 (license license:gpl3+)))
10035 (define-public gnome-todo
10037 (name "gnome-todo")
10041 (uri (string-append "mirror://gnome/sources/" name "/"
10042 (version-major version) "/"
10043 name "-" version ".tar.xz"))
10046 "1r94880d4khbjhhfnhaba3y3d4hv2bri82rzfzxn27s5iybpqras"))
10047 (patches (search-patches "gnome-todo-libportal.patch"))))
10048 (build-system meson-build-system)
10053 #~(modify-phases %standard-phases
10054 (add-after 'unpack 'skip-gtk-update-icon-cache
10056 (substitute* "build-aux/meson/meson_post_install.py"
10057 (("gtk-update-icon-cache") "true"))))
10059 (add-after 'install 'check
10060 (assoc-ref %standard-phases
10062 (add-before 'check 'pre-check
10064 (setenv "GSETTINGS_SCHEMA_DIR"
10065 (string-append #$output "/share/glib-2.0/schemas")))))))
10067 (list gettext-minimal
10068 gobject-introspection
10069 `(,glib "bin") ;for glib-compile-resources
10070 `(,gtk "bin") ;for gtk-update-icon-cache
10074 (list rest ;for Todoist plugin
10076 json-glib ;for Todoist plugin
10078 evolution-data-server
10083 evolution-data-server
10084 gnome-online-accounts
10085 gsettings-desktop-schemas))
10086 (home-page "https://wiki.gnome.org/Apps/Todo")
10087 (synopsis "GNOME's ToDo Application")
10088 (description "GNOME To Do is a simplistic personal task manager designed
10089 to perfectly fit the GNOME desktop.")
10090 (license license:gpl3+)))
10092 (define-public gnome-dictionary
10094 (name "gnome-dictionary")
10098 (uri (string-append "mirror://gnome/sources/" name "/"
10099 (version-major version) "/"
10100 name "-" version ".tar.xz"))
10103 "1d8dhcfys788vv27v34i3s3x3jdvdi2kqn2a5p8c937a9hm0qr9f"))))
10104 (build-system meson-build-system)
10106 `(#:glib-or-gtk? #t
10108 (modify-phases %standard-phases
10109 (add-after 'unpack 'skip-gtk-update-icon-cache
10110 ;; Don't create 'icon-theme.cache'.
10112 (substitute* "build-aux/meson/post-install.py"
10113 (("gtk-update-icon-cache") "true")))))))
10115 (list `(,glib "bin")
10116 gobject-introspection
10122 (list gsettings-desktop-schemas
10124 (home-page "https://wiki.gnome.org/Apps/Dictionary")
10125 (synopsis "Look up words in dictionary sources")
10127 "GNOME Dictionary can look for the definition or translation of a word in
10128 existing databases over the internet.")
10129 (license license:gpl3+)))
10131 (define-public gnome-tweaks
10133 (name "gnome-tweaks")
10137 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
10138 (version-major version) "/"
10139 "gnome-tweaks-" version ".tar.xz"))
10141 (list (search-patch "gnome-tweaks-search-paths.patch")))
10144 "1z13xy804hld9q8k0vq5y4j5jk7m0ayqzkli8jxpymwrlcrkpzfg"))))
10145 (build-system meson-build-system)
10149 #:configure-flags #~(list "-Dlocalstatedir=/tmp"
10150 "-Dsysconfdir=/tmp")
10151 #:imported-modules `((guix build python-build-system)
10152 ,@%meson-build-system-modules)
10153 #:modules '((guix build meson-build-system)
10154 ((guix build python-build-system) #:prefix python:)
10155 (guix build utils))
10157 #~(modify-phases %standard-phases
10158 (add-after 'unpack 'skip-gtk-update-icon-cache
10159 ;; Don't create 'icon-theme.cache'.
10161 (substitute* "meson-postinstall.py"
10162 (("gtk-update-icon-cache") "true"))))
10163 (add-after 'install 'wrap
10164 (assoc-ref python:%standard-phases 'wrap))
10165 (add-after 'wrap 'wrap-gi-typelib-and-python
10166 (lambda* (#:key inputs outputs #:allow-other-keys)
10167 (wrap-program (search-input-file outputs "bin/gnome-tweaks")
10168 `("GI_TYPELIB_PATH" ":" prefix
10169 (,(getenv "GI_TYPELIB_PATH")))
10170 `("GUIX_PYTHONPATH" ":" prefix
10171 (,(python:site-packages inputs outputs)))))))))
10173 (list `(,glib "bin") ; for glib-compile-resources, etc.
10177 (list bash-minimal ; to execute the wrapper program
10180 gobject-introspection
10181 gsettings-desktop-schemas
10188 (synopsis "Customize advanced GNOME 3 options")
10189 (home-page "https://wiki.gnome.org/Apps/Tweaks")
10191 "GNOME Tweaks allows adjusting advanced configuration settings in
10192 GNOME 3. This includes things like the fonts used in user interface elements,
10193 alternative user interface themes, changes in window management behavior,
10194 GNOME Shell appearance and extension, etc.")
10195 (license license:gpl3+)))
10197 (define-public gnome-shell-extensions
10199 (name "gnome-shell-extensions")
10203 (uri (string-append "mirror://gnome/sources/" name "/"
10204 (version-major version) "/"
10205 name "-" version ".tar.xz"))
10208 "1z3k4bvq8f2s0q9q7i093w4hrz289lci7xlib20aqa4z5sivxhhf"))))
10209 (build-system meson-build-system)
10211 '(#:configure-flags '("-Dextension_set=all")))
10213 (list `(,glib "bin")
10218 (synopsis "Extensions for GNOME Shell")
10219 (description "GNOME Shell extensions modify and extend GNOME Shell
10220 functionality and behavior.")
10221 (home-page "https://extensions.gnome.org/")
10222 (license license:gpl3+)))
10224 (define-public folks
10230 (uri (string-append
10231 "mirror://gnome/sources/folks/"
10232 (version-major+minor version) "/"
10233 "folks-" version ".tar.xz"))
10236 "11lhfn6b7gml4ckj2dkm6g889j21wpvj90srwjp85k9hcf4qmzqg"))))
10237 (build-system meson-build-system)
10240 (modify-phases %standard-phases
10241 (add-after 'unpack 'skip-gtk-update-icon-cache
10242 ;; Don't create 'icon-theme.cache'.
10244 (substitute* "meson_post_install.py"
10245 (("gtk-update-icon-cache") "true")))))))
10249 evolution-data-server
10255 (list gettext-minimal
10257 gobject-introspection
10262 (synopsis "Library to aggregate data about people")
10263 (description "Libfolks is a library that aggregates information about people
10264 from multiple sources (e.g., Telepathy connection managers for IM contacts,
10265 Evolution Data Server for local contacts, libsocialweb for web service contacts,
10266 etc.) to create metacontacts. It's written in Vala, which generates C code when
10268 (home-page "https://wiki.gnome.org/Projects/Folks")
10269 (license license:lgpl2.1+)))
10271 (define-public gfbgraph
10277 (uri (string-append
10278 "mirror://gnome/sources/gfbgraph/"
10279 (version-major+minor version) "/"
10280 "gfbgraph-" version ".tar.xz"))
10283 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
10284 (build-system glib-or-gtk-build-system)
10286 `(#:tests? #f ; tests appear to require the network
10287 #:configure-flags '("--disable-static"
10289 "--enable-introspection")))
10291 (list gobject-introspection
10294 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
10300 `(("json-glib" ,json-glib)
10301 ("gnome-online-accounts" ,gnome-online-accounts)
10303 (synopsis "GLib/GObject wrapper for the Facebook API")
10304 (description "This library allows you to use the Facebook API from
10305 GLib/GObject code.")
10306 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
10307 (license license:lgpl2.1+)))
10309 (define-public libgnomekbd
10311 (name "libgnomekbd")
10315 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
10316 (version-major+minor version) "/"
10317 "libgnomekbd-" version ".tar.xz"))
10320 "1jarhq9crhq0wfnbcz7x3hgxbkan98ax3p2jwcgzj9jc7r27l1dk"))))
10321 (build-system gnu-build-system)
10329 gobject-introspection))
10331 ;; Referred to in .h files and .pc.
10335 (home-page "https://www.gnome.org")
10336 (synopsis "GNOME keyboard configuration library")
10338 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
10339 environment, which can notably display keyboard layouts.")
10340 (license license:lgpl2.0+)))
10342 ;;; This package is no longer maintained:
10343 ;;; https://wiki.gnome.org/Attic/LibUnique
10344 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
10345 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
10346 (define-public libunique
10352 (uri (string-append "mirror://gnome/sources/" name "/"
10353 (version-major+minor version) "/"
10354 name "-" version ".tar.xz"))
10357 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
10358 (build-system glib-or-gtk-build-system)
10360 `(#:configure-flags '("--disable-static"
10361 "--disable-dbus" ; use gdbus
10362 "--enable-introspection")))
10364 `(("pkg-config" ,pkg-config)
10365 ("gobject-introspection" ,gobject-introspection)
10366 ("glib:bin" ,glib "bin")
10367 ("gtk-doc" ,gtk-doc/stable)))
10369 ;; Referred to in .h files and .pc.
10371 (home-page "https://wiki.gnome.org/Attic/LibUnique")
10372 (synopsis "Library for writing single instance applications")
10374 "Libunique is a library for writing single instance applications. If you
10375 launch a single instance application twice, the second instance will either just
10376 quit or will send a message to the running instance. Libunique makes it easy to
10377 write this kind of application, by providing a base class, taking care of all
10378 the IPC machinery needed to send messages to a running instance, and also
10379 handling the startup notification side.")
10380 (license license:lgpl2.1+)))
10382 (define-public gnome-calculator
10384 (name "gnome-calculator")
10389 (uri (string-append "mirror://gnome/sources/" name "/"
10390 (version-major version) "/"
10391 name "-" version ".tar.xz"))
10394 "1866qn0r9xp7b7j1436kry2k3bdh9ikhz2wm41jxcn1nljyb3nik"))))
10395 (build-system meson-build-system)
10397 '(#:glib-or-gtk? #t
10399 (modify-phases %standard-phases
10400 (add-after 'unpack 'skip-gtk-update-icon-cache
10402 (substitute* "meson.build"
10403 (("gtk_update_icon_cache: true")
10404 "gtk_update_icon_cache: false"))))
10405 (add-before 'check 'pre-check
10407 ;; Tests require a writable HOME.
10408 (setenv "HOME" (getcwd)))))))
10410 (list gettext-minimal
10411 `(,glib "bin") ;for glib-compile-schemas, gio-2.0.
10417 (list gsettings-desktop-schemas-next
10426 (home-page "https://wiki.gnome.org/Apps/Calculator")
10427 (synopsis "Desktop calculator")
10429 "Calculator is an application that solves mathematical equations and
10430 is suitable as a default application in a Desktop environment.")
10431 (license license:gpl3)))
10433 (define-public xpad
10440 (uri (string-append "https://launchpad.net/xpad/trunk/"
10441 version "/+download/"
10442 name "-" version ".tar.bz2"))
10445 "1sc2dz4yxx6glnqpnhiby85g2blnsfn8d3fvbaqhdi2hi0q54q7j"))))
10446 (build-system gnu-build-system)
10448 (list autoconf automake
10449 `(,gtk+ "bin") intltool pkg-config))
10451 (list gtksourceview libsm))
10452 (home-page "https://wiki.gnome.org/Apps/Xpad")
10453 (synopsis "Virtual sticky note")
10455 "Xpad is a sticky note that strives to be simple, fault tolerant,
10456 and customizable. Xpad consists of independent pad windows, each is
10457 basically a text box in which notes can be written.")
10458 (license license:gpl3+)))
10460 (define-public gucharmap
10461 (let ((unicode-files
10463 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
10465 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
10467 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
10469 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
10471 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
10473 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
10480 (uri (string-append "mirror://gnome/sources/" name "/"
10481 (version-major+minor version) "/"
10482 name "-" version ".tar.xz"))
10485 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
10486 (build-system glib-or-gtk-build-system)
10488 `(#:modules ((ice-9 match)
10489 (guix build glib-or-gtk-build-system)
10490 (guix build utils))
10492 (list "--with-unicode-data=../unicode-data")
10494 (modify-phases %standard-phases
10495 (add-after 'unpack 'prepare-unicode-data
10496 (lambda* (#:key inputs #:allow-other-keys)
10497 (mkdir-p "../unicode-data")
10498 (with-directory-excursion "../unicode-data"
10499 (for-each (match-lambda
10501 (install-file (assoc-ref inputs file) ".")))
10505 `(("desktop-file-utils" ,desktop-file-utils)
10506 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
10507 ("gobject-introspection" ,gobject-introspection)
10508 ("intltool" ,intltool)
10509 ("itstool" ,itstool)
10510 ("pkg-config" ,pkg-config)
10511 ,@(map (match-lambda
10516 (uri (string-append
10517 "http://www.unicode.org/Public/12.0.0/ucd/"
10519 (sha256 (base32 hash))))))
10524 ("xmllint" ,libxml2)))
10525 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10526 (synopsis "Unicode character picker and font browser")
10528 "This program allows you to browse through all the available Unicode
10529 characters and categories for the installed fonts, and to examine their
10530 detailed properties. It is an easy way to find the character you might
10531 only know by its Unicode name or code point.")
10532 (license license:gpl3+))))
10534 (define-public gcolor3
10541 (uri (git-reference
10542 (url "https://gitlab.gnome.org/World/gcolor3")
10543 (commit (string-append "v" version))))
10544 (file-name (git-file-name name version))
10546 (base32 "1igqmach1vhcrvbpw346pmkbb5kabbb806ssswrvkp569n700wmc"))
10547 ;; XXX: Remove when upgrading
10548 (patches (search-patches "gcolor3-update-libportal-usage.patch"))))
10549 (build-system meson-build-system)
10551 `(#:glib-or-gtk? #t))
10553 (list desktop-file-utils gettext-minimal
10555 `(,gtk+ "bin") pkg-config))
10557 (list gsettings-desktop-schemas gtk+ libportal))
10558 (home-page "https://www.hjdskes.nl/projects/gcolor3/")
10559 (synopsis "Simple color chooser written in GTK3")
10560 (description "Color Picker is a simple color chooser written in GTK3. It
10561 supports both X and Wayland display servers.")
10562 (license license:gpl2+)))
10564 (define-public bluefish
10571 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10572 "bluefish-" version ".tar.gz"))
10574 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10575 (build-system gnu-build-system)
10577 (list desktop-file-utils intltool pkg-config))
10579 (list enchant gtk+ python-wrapper libxml2 gucharmap))
10580 (home-page "http://bluefish.openoffice.nl")
10581 (synopsis "Web development studio")
10583 "Bluefish is an editor aimed at programmers and web developers,
10584 with many options to write web sites, scripts and other code.
10585 Bluefish supports many programming and markup languages.")
10586 (license license:gpl3+)))
10588 (define-public gnome-system-monitor
10590 (name "gnome-system-monitor")
10595 (uri (string-append "mirror://gnome/sources/" name "/"
10596 (version-major version) "/"
10597 name "-" version ".tar.xz"))
10600 "1p3mq32pfd9260aql5nys806g0c4nrswacwqs8ms40920ci9s8qk"))))
10601 (build-system meson-build-system)
10603 '(#:glib-or-gtk? #t
10604 #:configure-flags '("-Dsystemd=false")))
10606 (list `(,glib "bin") ;for glib-mkenums.
10607 `(,gtk+ "bin") ;gtk-update-icon-cache
10614 (list gdk-pixbuf ;for loading SVG files.
10621 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10622 (synopsis "Process viewer and system resource monitor for GNOME")
10624 "GNOME System Monitor is a GNOME process viewer and system monitor with
10625 an attractive, easy-to-use interface. It has features, such as a tree view
10626 for process dependencies, icons for processes, the ability to hide processes,
10627 graphical time histories of CPU/memory/swap usage and the ability to
10628 kill/reinice processes.")
10629 (license license:gpl2+)))
10631 (define-public python-pyatspi
10633 (name "python-pyatspi")
10637 (uri (string-append
10638 "mirror://gnome/sources/pyatspi/"
10639 (version-major+minor version)
10640 "/pyatspi-" version ".tar.xz"))
10643 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10644 (build-system gnu-build-system)
10647 (modify-phases %standard-phases
10648 (add-before 'build 'fix-atk-load
10650 (substitute* "pyatspi/__init__.py"
10651 (("from gi.repository import Atspi")
10652 "gi.require_version('Gtk', '3.0')
10653 from gi.repository import Gtk
10654 from gi.repository import Atspi"))
10661 (list python-pygobject))
10662 (synopsis "Python client bindings for D-Bus AT-SPI")
10663 (home-page "https://wiki.linuxfoundation.org/accessibility\
10664 /atk/at-spi/at-spi_on_d-bus")
10666 "This package includes a python client library for the AT-SPI D-Bus
10667 accessibility infrastructure.")
10668 (license license:lgpl2.0)
10669 (properties '((upstream-name . "pyatspi")))))
10671 (define-public orca
10677 (uri (string-append
10678 "mirror://gnome/sources/" name "/"
10679 (version-major version) "/"
10680 name "-" version ".tar.xz"))
10683 "1gflnsv6d5qn5rh1f16yfa0q0yv8yvd0l5lbwrsdg7z18lafb5vn"))))
10684 (build-system glib-or-gtk-build-system)
10687 (modify-phases %standard-phases
10688 (add-before 'configure 'qualify-xkbcomp
10689 (lambda* (#:key inputs #:allow-other-keys)
10690 (let ((xkbcomp (string-append
10691 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10692 (substitute* "src/orca/orca.py"
10693 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))))
10694 (add-after 'install 'wrap-orca
10695 (lambda* (#:key outputs #:allow-other-keys)
10696 (let* ((out (assoc-ref outputs "out"))
10697 (prog (string-append out "/bin/orca")))
10699 `("GI_TYPELIB_PATH" ":" prefix
10700 (,(getenv "GI_TYPELIB_PATH")))
10701 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10702 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10703 `("GUIX_PYTHONPATH" ":" prefix
10704 (,(getenv "GUIX_PYTHONPATH"))))))))))
10712 gsettings-desktop-schemas
10723 "Screen reader for individuals who are blind or visually impaired")
10724 (home-page "https://wiki.gnome.org/Projects/Orca")
10726 "Orca is a screen reader that provides access to the graphical desktop
10727 via speech and refreshable braille. Orca works with applications and toolkits
10728 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10729 (license license:lgpl2.1+)))
10731 (define-public gspell
10737 (uri (string-append "mirror://gnome/sources/" name "/"
10738 (version-major+minor version) "/"
10739 name "-" version ".tar.xz"))
10742 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10743 (patches (search-patches "gspell-dash-test.patch"))))
10744 (build-system glib-or-gtk-build-system)
10746 '(#:configure-flags (list "--enable-vala")
10748 (modify-phases %standard-phases
10749 (add-before 'check 'pre-check
10750 (lambda* (#:key inputs #:allow-other-keys)
10751 ;; Tests require a running X server.
10752 (system "Xvfb :1 &")
10753 (setenv "DISPLAY" ":1")
10755 ;; For the missing /etc/machine-id.
10756 (setenv "DBUS_FATAL_WARNINGS" "0")
10758 ;; Allow Enchant and its Aspell backend to find the en_US
10760 (setenv "ASPELL_DICT_DIR"
10761 (search-input-directory inputs "/lib/aspell")))))))
10765 `(("glib" ,glib "bin")
10766 ("gobject-introspection" ,gobject-introspection)
10767 ("pkg-config" ,pkg-config)
10768 ("vala" ,vala) ;for VAPI, needed by Geary
10769 ("xmllint" ,libxml2)
10772 ("aspell-dict-en" ,aspell-dict-en)
10773 ("xorg-server" ,xorg-server-for-tests)))
10775 ;; Referred by .pc file.
10776 (list enchant glib gtk+))
10777 (home-page "https://wiki.gnome.org/Projects/gspell")
10778 (synopsis "GNOME's alternative spell checker")
10780 "gspell provides a flexible API to add spell-checking to a GTK+
10781 application. It provides a GObject API, spell-checking to text entries and
10782 text views, and buttons to choose the language.")
10783 (license license:gpl2+)))
10785 (define-public gnome-planner
10787 (name "gnome-planner")
10791 (uri (string-append "mirror://gnome/sources/planner/"
10792 (version-major+minor version) "/planner-"
10793 version ".tar.xz"))
10796 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10797 (build-system glib-or-gtk-build-system)
10799 ;; Disable the Python bindings because the Planner program functions
10800 ;; without them, and (as of 2017-06-13) we have not packaged all of
10801 ;; packages that are necessary for building the Python bindings.
10802 `(#:configure-flags
10803 (list "--disable-python"
10804 ,@(if (string=? "aarch64-linux" (%current-system))
10805 '("--build=aarch64-unknown-linux-gnu")
10808 (list libgnomecanvas
10818 (list intltool scrollkeeper pkg-config))
10819 (home-page "https://wiki.gnome.org/Apps/Planner")
10820 (synopsis "Project management software for the GNOME desktop")
10822 "GNOME Planner is a project management tool based on the Work Breakdown
10823 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10824 the resources, tasks, and constraints that you define, Planner generates
10825 various views into a project. For example, Planner can show a Gantt chart of
10826 the project. It can show a detailed summary of tasks including their
10827 duration, cost, and current progress. It can also show a report of resource
10828 utilization that highlights under-utilized and over-utilized resources. These
10829 views can be printed as PDF or PostScript files, or exported to HTML.")
10830 (license license:gpl2+)))
10832 (define-public lollypop
10839 (uri (string-append "https://adishatz.org/lollypop/"
10840 "lollypop-" version ".tar.xz"))
10842 (base32 "10cw3x75siibmnbh4zhfmf2vd08fqjs3lj3l4wpk6zj9h22ncfxw"))))
10843 (build-system meson-build-system)
10845 `(#:imported-modules
10846 (,@%meson-build-system-modules
10847 (guix build python-build-system))
10849 ((guix build meson-build-system)
10850 ((guix build python-build-system) #:prefix python:)
10851 (guix build utils))
10853 #:tests? #f ; no test suite
10855 (modify-phases %standard-phases
10856 (add-after 'install 'wrap-program
10857 (lambda* (#:key outputs #:allow-other-keys)
10858 (let ((out (assoc-ref outputs "out"))
10859 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10860 (wrap-program (string-append out "/bin/lollypop")
10861 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10863 (add-after 'install 'wrap-python
10864 (assoc-ref python:%standard-phases 'wrap)))))
10866 `(("gettext" ,gettext-minimal)
10867 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10868 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10869 ("pkg-config" ,pkg-config)))
10871 `(("glib-networking" ,glib-networking)
10872 ("gobject-introspection" ,gobject-introspection)
10873 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10874 ("gst-plugins-base" ,gst-plugins-base)
10875 ("libnotify" ,libnotify)
10876 ("libsecret" ,libsecret)
10877 ("libhandy" ,libhandy)
10878 ("libsoup" ,libsoup-minimal-2)
10880 ("python-beautifulsoup4" ,python-beautifulsoup4)
10881 ("python-gst" ,python-gst)
10882 ("python-pil" ,python-pillow)
10883 ("python-pycairo" ,python-pycairo)
10884 ("python-pygobject" ,python-pygobject)
10885 ("python-pylast" ,python-pylast)
10886 ("totem-pl-parser" ,totem-pl-parser)
10887 ("webkitgtk" ,webkitgtk)))
10889 (list ;; gst-plugins-base is required to start Lollypop,
10890 ;; the others are required to play streaming.
10891 gst-plugins-good gst-plugins-ugly))
10892 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10893 (synopsis "GNOME music playing application")
10895 "Lollypop is a music player designed to play well with GNOME desktop.
10896 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10897 from artists and tracks from the web. It also fetches cover artworks
10898 automatically and it can stream songs from online music services and charts.")
10899 (license license:gpl3+)))
10901 (define-public gnome-video-effects
10903 (name "gnome-video-effects")
10907 (uri (string-append "mirror://gnome/sources/" name "/"
10908 (version-major+minor version) "/" name "-"
10909 version ".tar.xz"))
10912 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10913 (build-system meson-build-system)
10915 (list gettext-minimal pkg-config))
10916 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10917 (synopsis "Video effects for Cheese and other GNOME applications")
10919 "A collection of GStreamer video filters and effects to be used in
10920 photo-booth-like software, such as Cheese.")
10921 (license license:gpl2+)))
10923 (define-public cheese
10929 (uri (string-append "mirror://gnome/sources/" name "/"
10930 (version-major version) "/" name "-"
10931 version ".tar.xz"))
10934 "1y92glc0d6w323x2bdbc0gdh1jdffvkbv6cwlwm1rx0wgvv1svqh"))))
10936 `(#:glib-or-gtk? #t
10937 #:meson ,meson-0.60
10938 ;; Tests require GDK.
10941 (modify-phases %standard-phases
10942 (add-after 'unpack 'skip-gtk-update-icon-cache
10944 ;; Don't create 'icon-theme.cache'
10945 (substitute* "meson_post_install.py"
10946 (("gtk-update-icon-cache") (which "true")))
10948 (add-after 'install 'wrap-cheese
10949 (lambda* (#:key inputs outputs #:allow-other-keys)
10950 (let ((out (assoc-ref outputs "out"))
10951 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10952 (wrap-program (string-append out "/bin/cheese")
10953 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10955 (build-system meson-build-system)
10968 (list gnome-video-effects
10977 (list gnome-desktop
10978 gobject-introspection
10985 (home-page "https://wiki.gnome.org/Apps/Cheese")
10986 (synopsis "Webcam photo booth software for GNOME")
10988 "Cheese uses your webcam to take photos and videos. Cheese can also
10989 apply fancy special effects and lets you share the fun with others.")
10990 (license license:gpl2+)))
10992 (define-public passwordsafe
10994 (name "passwordsafe")
10999 (uri (git-reference
11000 (url "https://gitlab.gnome.org/World/secrets")
11002 (file-name (git-file-name name version))
11004 (base32 "0kd43j6i017wdsqj6d5gnxhfv4ijnh3xahlw7md2gh51i8p682j6"))))
11005 (build-system meson-build-system)
11007 (list #:glib-or-gtk? #t
11010 #~(modify-phases %standard-phases
11011 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11012 (lambda* (#:key outputs #:allow-other-keys)
11013 (let ((prog (string-append #$output
11014 "/bin/gnome-passwordsafe"))
11015 (pylib (string-append
11016 #$output "/lib/python"
11017 #$(version-major+minor
11018 (package-version (this-package-input "python")))
11019 "/site-packages")))
11021 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
11022 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
11024 (list desktop-file-utils
11027 gobject-introspection
11032 gsettings-desktop-schemas
11039 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
11040 (synopsis "Password manager for the GNOME desktop")
11042 "Password Safe is a password manager which makes use of the KeePass v4
11043 format. It integrates perfectly with the GNOME desktop and provides an easy
11044 and uncluttered interface for the management of password databases.")
11045 (license license:gpl3+)))
11047 (define-public sound-juicer
11049 (name "sound-juicer")
11054 (uri (string-append "mirror://gnome/sources/" name "/"
11055 (version-major+minor version) "/"
11056 name "-" version ".tar.xz"))
11059 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
11060 (build-system glib-or-gtk-build-system)
11062 (list desktop-file-utils intltool itstool pkg-config libxml2))
11065 gsettings-desktop-schemas
11075 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
11076 (synopsis "Audio music cd ripper")
11077 (description "Sound Juicer extracts audio from compact discs and convert it
11078 into audio files that a personal computer or digital audio player can play.
11079 It supports ripping to any audio codec supported by a GStreamer plugin, such as
11080 mp3, Ogg Vorbis and FLAC")
11081 (license license:gpl2+)))
11083 (define-public soundconverter
11085 (name "soundconverter")
11090 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
11091 version "/+download/"
11092 "soundconverter-" version ".tar.xz"))
11095 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
11096 (build-system glib-or-gtk-build-system)
11098 `(#:imported-modules ((guix build python-build-system)
11099 (guix build glib-or-gtk-build-system)
11100 ,@%gnu-build-system-modules)
11102 #:modules ((guix build glib-or-gtk-build-system)
11104 ((guix build gnu-build-system) #:prefix gnu:)
11105 ((guix build python-build-system) #:prefix python:))
11108 (modify-phases %standard-phases
11109 (add-after 'install 'wrap-soundconverter-for-python
11110 (assoc-ref python:%standard-phases 'wrap))
11111 (add-after 'install 'wrap-soundconverter
11112 (lambda* (#:key inputs outputs #:allow-other-keys)
11113 (let ((out (assoc-ref outputs "out"))
11114 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
11115 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
11116 (wrap-program (string-append out "/bin/soundconverter")
11117 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
11118 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
11121 `(("intltool" ,intltool)
11122 ("pkg-config" ,pkg-config)
11123 ("glib:bin" ,glib "bin")))
11125 (list gtk+ python python-pygobject gstreamer gst-plugins-base))
11126 (home-page "https://soundconverter.org/")
11127 (synopsis "Convert between audio formats with a graphical interface")
11129 "SoundConverter supports converting between many audio formats including
11130 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
11131 configurable file renaming.")
11132 (license license:gpl3)))
11134 (define-public workrave
11137 (version "1.10.50")
11141 (uri (git-reference
11142 (url "https://github.com/rcaelers/workrave")
11143 (commit (string-append "v" (string-map
11144 (match-lambda (#\. #\_) (chr chr))
11146 (file-name (git-file-name name version))
11148 (base32 "0fj3fqmdn4nsjgvbbvzpxw2mgiihcr1zpb08amg2p6hg9n11y9bx"))))
11149 (build-system glib-or-gtk-build-system)
11151 ;; The only tests are maintainer tests (in po/), which fail.
11164 (native-inputs `(("boost" ,boost)
11165 ("pkg-config" ,pkg-config)
11166 ("gettext" ,gettext-minimal)
11167 ("autoconf" ,autoconf)
11168 ("autoconf-archive" , autoconf-archive)
11169 ("automake" ,automake)
11170 ("libtool" ,libtool)
11171 ("intltool" ,intltool)
11172 ("gobject-introspection" ,gobject-introspection)
11173 ("python3" ,python-3)
11174 ("python-jinja2" ,python-jinja2)))
11175 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
11177 "Workrave is a program that assists in the recovery and prevention of
11178 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
11179 micro-pauses and rest breaks, and restricts you to your daily limit.")
11180 (home-page "http://www.workrave.org")
11181 (license license:gpl3+)))
11183 (define-public ghex
11189 (uri (string-append "mirror://gnome/sources/ghex/"
11190 (version-major+minor version) "/"
11191 "ghex-" version ".tar.xz"))
11194 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
11195 (build-system meson-build-system)
11197 '(#:glib-or-gtk? #t
11199 (modify-phases %standard-phases
11200 (add-after 'unpack 'skip-gtk-update-icon-cache
11201 ;; Don't create 'icon-theme.cache'.
11203 (substitute* "meson_post_install.py"
11204 (("gtk-update-icon-cache") (which "true")))
11207 `(("pkg-config" ,pkg-config)
11208 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
11209 ("gnome-common" ,gnome-common)
11211 ("intltool" ,intltool)
11212 ("yelp-tools" ,yelp-tools)
11213 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
11217 (synopsis "GNOME hexadecimal editor")
11218 (description "The GHex program can view and edit files in two ways:
11219 hexadecimal or ASCII. It is useful for editing binary files in general.")
11220 (home-page "https://wiki.gnome.org/Apps/Ghex")
11221 (license license:gpl2)))
11223 (define-public libdazzle
11229 (uri (string-append "mirror://gnome/sources/libdazzle/"
11230 (version-major+minor version) "/"
11231 "libdazzle-" version ".tar.xz"))
11234 "1blfs61ifv4fywl0wbr1cm3rvmgrv06yiqajbnq0qs72nrgf9lrw"))))
11235 (build-system meson-build-system)
11238 (modify-phases %standard-phases
11239 (add-before 'check 'pre-check
11241 ;; Tests require a running X server.
11242 (system "Xvfb :1 &")
11243 (setenv "DISPLAY" ":1"))))))
11245 (list `(,glib "bin") ; glib-compile-resources
11246 gobject-introspection
11249 xorg-server-for-tests
11254 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
11255 (synopsis "Companion library to GObject and Gtk+")
11256 (description "The libdazzle library is a companion library to GObject and
11257 Gtk+. It provides various features that the authors wish were in the
11258 underlying library but cannot for various reasons. In most cases, they are
11259 wildly out of scope for those libraries. In other cases, they are not quite
11260 generic enough to work for everyone.")
11261 (license license:gpl3+)))
11263 (define-public evolution
11269 (uri (string-append "mirror://gnome/sources/evolution/"
11270 (version-major+minor version) "/"
11271 "evolution-" version ".tar.xz"))
11274 "0igfzapdvgfx2gnpwfkjfkn7l5j186wk88ni39vqas1sl7ijlls6"))))
11275 (build-system cmake-build-system)
11277 `(#:imported-modules (,@%cmake-build-system-modules
11278 (guix build glib-or-gtk-build-system))
11279 #:modules ((guix build cmake-build-system)
11280 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
11281 (guix build utils))
11283 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
11284 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
11285 ; in four years and cannot be built.
11287 (modify-phases %standard-phases
11288 ;; The build system attempts to install user interface modules to the
11289 ;; output directory of the "evolution-data-server" package. This
11290 ;; change redirects that change.
11291 (add-after 'unpack 'patch-ui-module-dir
11292 (lambda* (#:key outputs #:allow-other-keys)
11293 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
11294 (("\\$\\{edsuimoduledir\\}")
11295 (string-append (assoc-ref outputs "out")
11296 "/lib/evolution-data-server/ui-modules")))))
11297 (add-after 'install 'glib-or-gtk-compile-schemas
11298 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
11299 (add-after 'install 'glib-or-gtk-wrap
11300 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
11302 (list `(,glib "bin") ; glib-mkenums
11303 pkg-config intltool itstool))
11305 `(("enchant" ,enchant)
11306 ("evolution-data-server" ,evolution-data-server) ; must be the same version
11308 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11309 ("gnome-autoar" ,gnome-autoar)
11310 ("gnome-desktop" ,gnome-desktop)
11312 ("highlight" ,highlight)
11313 ("libcanberra" ,libcanberra)
11314 ("libgweather" ,libgweather)
11315 ("libnotify" ,libnotify)
11316 ("libsoup" ,libsoup)
11318 ("openldap" ,openldap)
11319 ("webkitgtk" ,webkitgtk-with-libsoup2) ; because of evolution-data-server
11321 (home-page "https://gitlab.gnome.org/GNOME/evolution")
11322 (synopsis "Manage your email, contacts and schedule")
11323 (description "Evolution is a personal information management application
11324 that provides integrated mail, calendaring and address book
11326 ;; See COPYING for details.
11327 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
11328 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
11329 license:lgpl2.1+)))) ; smime/lib/*
11331 (define-public gthumb
11337 (uri (string-append "mirror://gnome/sources/gthumb/"
11338 (version-major+minor version) "/"
11339 "gthumb-" version ".tar.xz"))
11342 "09flm8s6jrvfya2ypw5873mnnani8ssy7wdv3ra1cljk4bjszy4p"))))
11343 (build-system meson-build-system)
11345 `(#:glib-or-gtk? #t
11347 ;; Ensure the RUNPATH contains all installed library locations.
11348 (list (string-append "-Dc_link_args=-Wl,-rpath="
11349 (assoc-ref %outputs "out")
11350 "/lib/gthumb/extensions")
11351 (string-append "-Dcpp_link_args=-Wl,-rpath="
11352 (assoc-ref %outputs "out")
11353 "/lib/gthumb/extensions"))))
11355 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11356 ("glib:bin" ,glib "bin") ; for glib-compile-resources
11357 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11358 ("intltool" ,intltool)
11359 ("itstool" ,itstool)
11360 ("pkg-config" ,pkg-config)
11361 ("python" ,python)))
11363 `(("clutter" ,clutter)
11364 ("clutter-gst" ,clutter-gst)
11365 ("clutter-gtk" ,clutter-gtk)
11368 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11369 ("gstreamer" ,gstreamer)
11371 ("libheif" ,libheif)
11372 ("libjpeg" ,libjpeg-turbo)
11374 ("librsvg" ,librsvg)
11375 ("libtiff" ,libtiff)
11376 ("libwebp" ,libwebp)))
11377 (home-page "https://wiki.gnome.org/Apps/Gthumb")
11378 (synopsis "GNOME image viewer and browser")
11379 (description "GThumb is an image viewer, browser, organizer, editor and
11380 advanced image management tool")
11381 (license license:gpl2+)))
11383 (define-public terminator
11385 (name "terminator")
11390 (uri (string-append "https://github.com/gnome-terminator/terminator/"
11391 "releases/download/v" version "/"
11392 name "-" version ".tar.gz"))
11394 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
11395 (build-system python-build-system)
11397 `(("gettext" ,gettext-minimal)
11398 ("glib:bin" ,glib "bin") ; for glib-compile-resources
11399 ("gobject-introspection" ,gobject-introspection)
11400 ("intltool" ,intltool)
11401 ("pkg-config" ,pkg-config)
11402 ("python-psutil" ,python-psutil)
11403 ("python-pytest-runner" ,python-pytest-runner)
11404 ("python-pytest" ,python-pytest)))
11407 ("dbus-glib" ,dbus-glib)
11408 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11410 ("python" ,python-wrapper)
11411 ("python-dbus" ,python-dbus)
11412 ("python-notify2" ,python-notify2)
11413 ("python-pycairo" ,python-pycairo)
11414 ("python-pygobject" ,python-pygobject)
11417 (list python-configobj))
11419 ;; One test out of 28 fails due to dbus-python and python-notify; skip
11422 #:imported-modules ((guix build glib-or-gtk-build-system)
11423 ,@%python-build-system-modules)
11424 #:modules ((guix build python-build-system)
11425 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
11426 (guix build utils))
11428 (modify-phases %standard-phases
11429 (add-after 'unpack 'handle-dbus-python
11431 ;; python-dbus cannot be found but it's really there. See
11432 ;; https://github.com/SpotlightKid/jack-select/issues/2
11433 (substitute* "setup.py"
11434 (("'dbus-python',") ""))))
11435 (add-after 'install 'wrap-program
11436 (lambda* (#:key outputs #:allow-other-keys)
11437 (let ((prog (string-append (assoc-ref outputs "out")
11438 "/bin/terminator"))
11439 (pylib (string-append (assoc-ref outputs "out")
11441 ,(version-major+minor
11442 (package-version python))
11443 "/site-packages")))
11445 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
11446 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))
11447 (add-after 'wrap-program 'glib-or-gtk-wrap
11448 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
11449 (home-page "https://gnome-terminator.org/")
11450 (synopsis "Store and run multiple GNOME terminals in one window")
11452 "Terminator allows you to run multiple GNOME terminals in a grid and
11453 tabs, and it supports drag and drop re-ordering of terminals.")
11454 (license license:gpl2)))
11456 (define-public libhandy
11463 (uri (git-reference
11464 (url "https://gitlab.gnome.org/GNOME/libhandy")
11466 (file-name (git-file-name name version))
11468 (base32 "1z8sbx7g19c1p8dy0sn0l25qfvrd2j28h269lsqm1y98r818h2k1"))))
11469 (build-system meson-build-system)
11471 `(#:configure-flags
11472 '("-Dglade_catalog=enabled"
11473 ;; XXX: Generating the documentation fails because the
11474 ;; libhandy.devhelp2 document cannot be created. This seems to be
11475 ;; caused by a problem during the XSL transformation.
11478 (modify-phases %standard-phases
11479 (add-after 'unpack 'patch-docbook-xml
11480 (lambda* (#:key inputs #:allow-other-keys)
11484 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
11485 (search-input-file inputs
11486 "/xml/dtd/docbook/docbookx.dtd"))))
11487 (find-files "doc" "\\.xml"))))
11488 (add-before 'check 'pre-check
11490 ;; Tests require a running X server.
11491 (system "Xvfb :1 &")
11492 (setenv "DISPLAY" ":1"))))))
11494 (list gtk+ glade3))
11496 (list gobject-introspection ; for g-ir-scanner
11507 ;; Test suite dependencies.
11509 xorg-server-for-tests))
11510 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11511 (synopsis "Library full of GTK+ widgets for mobile phones")
11512 (description "The aim of the handy library is to help with developing user
11513 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11514 for usage on small and big screens.")
11515 (license license:lgpl2.1+)))
11517 (define-public libhandy-0.0
11524 (uri (git-reference
11525 (url "https://gitlab.gnome.org/GNOME/libhandy")
11526 (commit (string-append "v" version))))
11527 (file-name (git-file-name "libhandy" version))
11529 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11531 (substitute-keyword-arguments (package-arguments libhandy)
11532 ((#:configure-flags flags)
11533 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11535 (define-public libgit2-glib
11537 (name "libgit2-glib")
11538 (version "1.0.0.1")
11541 (uri (string-append "mirror://gnome/sources/" name "/"
11542 (version-major+minor version) "/"
11543 name "-" version ".tar.xz"))
11546 "0mrb21cgqmbhbxqxwx76yry1ifqj1k4vy6455n6s034m6rlms2j6"))))
11547 (build-system meson-build-system)
11549 (list `(,glib "bin") ;; For glib-mkenums
11550 gobject-introspection
11556 (list glib libssh2))
11558 (list ;; In Requires of libgit2-glib.pc.
11560 (synopsis "GLib wrapper around the libgit2 Git access library")
11561 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11562 access library. It only implements the core plumbing functions, not really the
11563 higher level porcelain stuff.")
11564 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11565 (license license:gpl2+)))
11567 (define-public gitg
11573 (uri (string-append "mirror://gnome/sources/" name "/"
11574 (version-major version) "/"
11575 name "-" version ".tar.xz"))
11578 "0aa6djcf7rjw0q688mfy47k67bbjpnx6aw1xs94abfhgn6gipdkz"))))
11579 (build-system meson-build-system)
11584 #~(modify-phases %standard-phases
11585 (add-after 'unpack 'disable-post-install-partially
11587 (substitute* "meson_post_install.py"
11588 (("'python'") ; there are no python sources to compile
11589 (string-append "'" (which "true") "'"))
11590 (("gtk-update-icon-cache") (which "true")))))
11591 (add-after 'unpack 'fix-test-sources
11593 (substitute* "tests/libgitg/test-commit.vala"
11594 (("/bin/bash") (which "bash")))))
11595 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11596 (lambda* (#:key outputs #:allow-other-keys)
11597 (let ((prog (string-append #$output "/bin/gitg")))
11599 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
11602 gsettings-desktop-schemas
11615 (list `(,glib "bin")
11617 gobject-introspection
11622 (synopsis "Graphical user interface for git")
11624 "gitg is a graphical user interface for git. It aims at being a small,
11625 fast and convenient tool to visualize the history of git repositories.
11626 Besides visualization, gitg also provides several utilities to manage your
11627 repository and commit your work.")
11628 (home-page "https://wiki.gnome.org/Apps/Gitg")
11629 (license license:gpl2+)))
11631 (define-public gamin
11637 (uri (string-append "mirror://gnome/sources/" name "/"
11638 (version-major+minor version) "/"
11639 name "-" version ".tar.bz2"))
11642 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11643 (build-system gnu-build-system)
11646 (modify-phases %standard-phases
11647 ;; The 'config.sub' is too old to recognise aarch64.
11648 ,@(if (and=> (%current-target-system) target-aarch64?)
11649 `((add-after 'unpack 'replace-config.sub
11651 (delete-file "config.sub")
11652 (symlink (which "config.sub") "config.sub"))))
11654 (add-after 'unpack 'remove-deprecated-macro
11656 (substitute* '("server/gam_node.c"
11657 "server/gam_subscription.h"
11658 "server/gam_node.h"
11659 "server/gam_subscription.c")
11660 (("G_CONST_RETURN") "const"))
11662 ;; The configure script runs a test program unconditionally,
11663 ;; without an option to manually set the test result.
11664 ;; Override this test anyway.
11665 ,@(if (%current-target-system)
11666 `((add-after 'bootstrap 'set-have-abstract-sockets
11668 (define in-abstract-sockets-test? #f)
11669 (substitute* "configure"
11670 (("^#### Abstract sockets\n$")
11671 (set! in-abstract-sockets-test? #t)
11672 "#### Abstract sockets\n")
11673 (("^have_abstract_sockets=no\n$")
11674 (set! in-abstract-sockets-test? #f)
11675 ;; ‘Abstract sockets’ appear to be Linux-only.
11676 (string-append "have_abstract_sockets="
11677 ,(if (target-linux?)
11680 "\nif false; then\nif false; then :\n"))
11682 (if in-abstract-sockets-test?
11689 `(("pkg-config" ,pkg-config)
11690 ,@(if (and=> (%current-target-system) target-aarch64?)
11691 `(("config" ,config))
11693 (home-page "https://people.gnome.org/~veillard/gamin/")
11694 (synopsis "File alteration monitor")
11696 "Gamin is a file and directory monitoring system defined to be a subset
11697 of the FAM (File Alteration Monitor) system. This is a service provided by a
11698 library which detects when a file or a directory has been modified.")
11699 (license license:gpl2+)))
11701 (define-public gnome-mahjongg
11703 (name "gnome-mahjongg")
11707 (uri (string-append "mirror://gnome/sources/" name "/"
11708 (version-major+minor version) "/" name "-"
11709 version ".tar.xz"))
11712 "144ia3zn9rhwa1xbdkvsz6m0dsysl6mxvqw9bnrlh845hmyy9cfj"))))
11713 (build-system meson-build-system)
11715 `(#:meson ,meson-0.59
11716 #:glib-or-gtk? #t))
11718 `(("appstream-glib" ,appstream-glib)
11719 ("gettext" ,gettext-minimal)
11720 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11721 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11722 ("itstool" ,itstool)
11723 ("pkg-config" ,pkg-config)
11729 (synopsis "Mahjongg tile-matching game")
11730 (description "GNOME Mahjongg is a game based on the classic Chinese
11731 tile-matching game Mahjongg. It features multiple board layouts, tile themes,
11732 and a high score table.")
11733 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11734 (license license:gpl2+)))
11736 (define-public gnome-themes-extra
11738 (name "gnome-themes-extra")
11743 (uri (string-append "mirror://gnome/sources/" name "/"
11744 (version-major+minor version) "/" name "-"
11745 version ".tar.xz"))
11748 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11749 (build-system gnu-build-system)
11751 '(#:configure-flags
11752 ;; Don't create 'icon-theme.cache'.
11753 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11754 (true (string-append coreutils "/bin/true")))
11755 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11757 `(("glib:bin" ,glib "bin")
11758 ("intltool" ,intltool)
11759 ("pkg-config" ,pkg-config)))
11764 ("librsvg" ,librsvg)
11765 ("libxml2" ,libxml2)))
11766 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11767 (synopsis "GNOME Extra Themes")
11768 (description "This package provides themes and related elements that don't
11769 really fit in other upstream packages. It offers legacy support for GTK+ 2
11770 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11771 index files needed for Adwaita to be used outside of GNOME.")
11772 (license license:lgpl2.1+)))
11774 (define-public gnome-themes-standard
11775 (deprecated-package "gnome-themes-standard" gnome-themes-extra))
11777 (define-public gnote
11784 (uri (string-append "mirror://gnome/sources/" name "/"
11785 (version-major version) "/"
11786 "gnote-" version ".tar.xz"))
11788 (base32 "0gs2j988rwfrxckb8qxlkyxnvqsv30q32myqish6hssfa51yzc11"))))
11789 (build-system meson-build-system)
11791 `(#:glib-or-gtk? #t
11792 #:phases (modify-phases %standard-phases
11793 (add-after 'unpack 'skip-gtk-update-icon-cache
11794 ;; Don't create 'icon-theme.cache'.
11796 (substitute* "post-install.py"
11797 (("gtk-update-icon-cache") "true")))))))
11799 (list desktop-file-utils
11801 gobject-introspection
11808 gsettings-desktop-schemas
11813 `(,util-linux "lib")
11816 (synopsis "Note-taking application for the GNOME desktop")
11817 (description "Gnote is a note-taking application written for the GNOME
11818 desktop environment.")
11819 (home-page "https://wiki.gnome.org/Apps/Gnote")
11820 (license license:gpl3+)))
11822 (define-public polari
11828 (uri (string-append "mirror://gnome/sources/polari/"
11829 (version-major version)
11830 "/polari-" version ".tar.xz"))
11833 "1ss0x8idwar1q9p9535kzqb8idy7k2r48vrbjiyccw03cs0mzc53"))))
11834 (build-system meson-build-system)
11836 `(#:glib-or-gtk? #t
11838 (modify-phases %standard-phases
11839 (add-after 'unpack 'skip-gtk-update-icon-cache
11841 (substitute* "meson/meson-postinstall.sh"
11842 (("gtk-update-icon-cache") (which "true")))))
11843 (add-after 'install 'fix-desktop-file
11844 ;; Hardcode launcher to be on the safe side
11845 (lambda* (#:key outputs #:allow-other-keys)
11846 (let ((out (assoc-ref outputs "out")))
11847 (substitute* (string-append out "/share/applications/"
11848 "org.gnome.Polari.desktop")
11849 (("Exec=.*") (string-append "Exec=" out "/bin/polari\n"))))))
11850 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11851 (lambda* (#:key outputs #:allow-other-keys)
11852 (let ((prog (string-append (assoc-ref outputs "out")
11855 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
11858 gsettings-desktop-schemas
11867 (list `(,glib "bin")
11868 gobject-introspection
11873 (list telepathy-idle telepathy-mission-control))
11874 (synopsis "Simple IRC Client")
11876 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11877 integrate seamlessly with the GNOME desktop.")
11878 (home-page "https://wiki.gnome.org/Apps/Polari")
11879 (license license:gpl2+)))
11881 (define-public gnome-boxes
11883 (name "gnome-boxes")
11888 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11889 (version-major version) "/"
11890 "gnome-boxes-" version ".tar.xz"))
11892 (base32 "1lv0bdh935qj6wkv3ixg2pcv8yrapj79z02gw4fal3rhz3xggvsn"))))
11893 (build-system meson-build-system)
11895 (list #:glib-or-gtk? #t
11896 #:configure-flags #~(list "-Drdp=false"
11897 (string-append "-Dc_link_args=-Wl,-rpath="
11899 "/lib/gnome-boxes"))
11900 #:phases #~(modify-phases %standard-phases
11901 (add-after 'unpack 'disable-gtk-update-icon-cache
11903 (setenv "DESTDIR" "/"))))))
11905 (list desktop-file-utils ;for update-desktop-database
11907 `(,glib "bin") ;for glib-compile-resources
11913 (list glib-networking ;for TLS support
11914 gsettings-desktop-schemas
11933 webkitgtk-with-libsoup2)) ;for webkit2gtk-4.0
11934 (home-page "https://wiki.gnome.org/Apps/Boxes")
11935 (synopsis "View, access, and manage remote and virtual systems")
11936 (description "GNOME Boxes is a simple application to view, access, and
11937 manage remote and virtual systems. Note that this application requires the
11938 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11939 @command{info '(guix) Virtualization Services'} to learn how to configure
11940 these services on the Guix System.")
11942 ;; For data/icons/empty-boxes.png.
11945 license:lgpl2.0+))))
11947 (define-public geary
11953 (uri (git-reference
11954 (url "https://gitlab.gnome.org/GNOME/geary.git")
11955 (commit (string-append "gnome-" version))))
11956 (file-name (git-file-name name version))
11959 "04hvw86r8sczvjm1z3ls5y5y5h6nyfb648rjkfx05ib00mqq5v1x"))))
11960 (build-system meson-build-system)
11962 `(#:glib-or-gtk? #t
11964 '("-Dprofile=release")
11965 #:phases (modify-phases %standard-phases
11966 (add-after 'unpack 'disable-failing-tests
11968 (substitute* "test/test-client.vala"
11969 (("client.add_suite\\(new Application.CertificateManagerTest\\(\\).suite\\);")
11971 (add-after 'unpack 'generate-vapis
11972 (lambda* (#:key inputs #:allow-other-keys)
11973 ;; It’s not possible to generate the GMime vapi, because
11974 ;; there’s custom metadata that gmime didn’t
11975 ;; install. Thus, the vapi should be built and installed
11978 (assoc-ref inputs "gmime"))
11979 (copy-file (string-append gmime "/share/vala/vapi/gmime-3.0.vapi")
11980 "bindings/vapi/gmime-3.0.vapi")))
11981 (add-after 'unpack 'disable-postinstall-script
11983 (substitute* "build-aux/post_install.py"
11984 (("gtk-update-icon-cache")
11986 (add-before 'check 'setup-home
11988 ;; Tests require a writable HOME.
11989 (setenv "HOME" (getcwd))))
11990 (add-before 'check 'setup-xvfb
11992 (system "Xvfb :1 &")
11993 (setenv "DISPLAY" ":1"))))))
12000 gnome-online-accounts
12001 gsettings-desktop-schemas
12015 webkitgtk-with-libsoup2
12018 (list appstream-glib
12025 gobject-introspection
12026 gsettings-desktop-schemas
12033 xorg-server-for-tests))
12034 (synopsis "GNOME email application built around conversations")
12036 "Geary collects related messages together into conversations,
12037 making it easy to find and follow your discussions. Full-text and keyword
12038 search makes it easy to find the email you are looking for. Geary's
12039 full-featured composer lets you send rich, styled text with images, links, and
12040 lists, but also send lightweight, easy to read text messages. Geary
12041 automatically picks up your existing GNOME Online Accounts, and adding more is
12042 easy. Geary has a clean, fast, modern interface that works like you want it
12044 (home-page "https://wiki.gnome.org/Apps/Geary")
12050 license:cc-by-sa3.0
12051 license:public-domain
12055 (define-public glabels
12062 (uri (string-append "mirror://gnome/sources/" name "/"
12063 (version-major+minor version) "/"
12064 "glabels-" version ".tar.xz"))
12066 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
12067 (build-system glib-or-gtk-build-system)
12069 `(("gettext" ,gettext-minimal)
12070 ("glib:bin" ,glib "bin")
12071 ("intltool" ,intltool)
12072 ("itstool" ,itstool)
12073 ("pkg-config" ,pkg-config)))
12075 (list gtk+ librsvg libxml2))
12077 `(#:configure-flags '("CFLAGS=-fcommon")))
12078 (home-page "https://glabels.org/")
12079 (synopsis "Program for creating labels and business cards")
12081 "gLabels is a program for creating labels and business cards. It is
12082 designed to work with various laser/ink-jet peel-off label and business
12083 card sheets that you’ll find at most office supply stores.")
12084 (license license:gpl3+)))
12086 (define-public gnome-latex
12088 (name "gnome-latex")
12093 (uri (string-append "mirror://gnome/sources/" name "/"
12094 (version-major+minor version) "/"
12095 "gnome-latex-" version ".tar.xz"))
12097 (base32 "0cynhmrn99f4f3kddczsc58ak4b9sv2zkfbcyz7z16848nhz047k"))))
12098 (build-system glib-or-gtk-build-system)
12100 (list gettext-minimal
12102 gobject-introspection
12114 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
12115 (synopsis "LaTeX editor for the GNOME desktop")
12117 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
12118 such as build tools, completion of LaTeX commands, structure navigation,
12119 symbol tables, document templates, project management, spell-checking, menus
12121 (license license:gpl3+)))
12123 (define-public setzer
12130 (uri (git-reference
12131 (url "https://github.com/cvfosammmm/Setzer")
12132 (commit (string-append "v" version))))
12133 (file-name (git-file-name name version))
12135 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
12136 (build-system meson-build-system)
12138 `(#:glib-or-gtk? #t
12140 (modify-phases %standard-phases
12141 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12142 (lambda* (#:key outputs #:allow-other-keys)
12143 (let ((prog (string-append (assoc-ref outputs "out")
12145 (pylib (string-append (assoc-ref outputs "out")
12147 ,(version-major+minor
12148 (package-version python))
12149 "/site-packages")))
12151 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
12152 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12155 `(("desktop-file-utils" ,desktop-file-utils)
12156 ("gettext" ,gettext-minimal)
12157 ("glib:bin" ,glib "bin")
12158 ("gobject-introspection" ,gobject-introspection)
12159 ("gtk+:bin" ,gtk+ "bin")
12160 ("python-wrapper" ,python-wrapper)))
12162 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12165 ("gtksourceview" ,gtksourceview)
12167 ("poppler" ,poppler)
12168 ("python-pdfminer" ,python-pdfminer-six)
12169 ("python-pycairo" ,python-pycairo)
12170 ("python-pygobject" ,python-pygobject)
12171 ("python-pyxdg" ,python-pyxdg)
12172 ("webkitgtk" ,webkitgtk)
12173 ("xdg-utils" ,xdg-utils)))
12174 (home-page "https://www.cvfosammmm.org/setzer/")
12175 (synopsis "LaTeX editor written in Python with GTK+")
12177 "Setzer is a simple yet full-featured LaTeX editor written in Python with
12178 GTK+. It integrates well with the GNOME desktop environment.")
12179 (license license:gpl3+)))
12181 (define-public apostrophe
12183 (name "apostrophe")
12187 (uri (git-reference
12188 (url "https://gitlab.gnome.org/somas/apostrophe")
12189 (commit (string-append "v" version))))
12190 (file-name (git-file-name name version))
12193 "06yfiflmj3ip7ppcz41nb3xpgb5ggw5h74w0v87yaqqkq7qh31lp"))))
12194 (build-system meson-build-system)
12196 `(#:glib-or-gtk? #t
12197 #:meson ,meson-0.59 ;fails with 0.60
12199 (modify-phases %standard-phases
12200 (add-after 'unpack 'patch-meson
12202 (substitute* "build-aux/meson_post_install.py"
12203 (("gtk-update-icon-cache") "true"))))
12204 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12205 (lambda* (#:key inputs outputs #:allow-other-keys)
12206 (let ((prog (string-append (assoc-ref outputs "out")
12207 "/bin/apostrophe"))
12208 (pylib (string-append (assoc-ref outputs "out")
12210 ,(version-major+minor
12212 (this-package-input "python")))
12213 "/site-packages")))
12215 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
12216 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
12217 `("PATH" prefix (,(dirname
12218 (search-input-file inputs
12219 "/bin/pandoc")))))))))))
12222 gobject-introspection
12235 webkitgtk-with-libsoup2))
12237 (list gettext-minimal
12241 (home-page "https://gitlab.gnome.org/somas/apostrophe")
12242 (synopsis "Markdown editor written in Python with GTK+")
12243 (description "Apostrophe is a GTK+ based distraction-free Markdown editor.
12244 It uses pandoc as back-end for parsing Markdown.")
12245 (license license:gpl3)))
12247 (define-public libratbag
12254 (uri (git-reference
12255 (url "https://github.com/libratbag/libratbag")
12256 (commit (string-append "v" version))))
12257 (file-name (git-file-name name version))
12259 (base32 "0jjf6xc3a37icp5dvbxla3ai9is2ns31m0llbfq1bmb6dk8cd4n0"))))
12260 (build-system meson-build-system)
12262 `(#:configure-flags
12263 (list "-Dsystemd=false"
12264 "-Dlogind-provider=elogind"
12265 ,@(if (not (package? (this-package-native-input "valgrind")))
12266 `("-Dtests=false") ; Some tests still run.
12269 (modify-phases %standard-phases
12270 (add-after 'install 'wrap
12271 (lambda* (#:key inputs outputs #:allow-other-keys)
12272 (let* ((out (assoc-ref outputs "out"))
12273 (site (string-append
12275 ,(version-major+minor (package-version python))
12277 (evdev (string-append
12278 (assoc-ref inputs "python-evdev") site))
12279 (pygo (string-append
12280 (assoc-ref inputs "python-pygobject") site))
12282 `("GUIX_PYTHONPATH" = (,evdev ,pygo))))
12283 (wrap-program (string-append out "/bin/" "ratbagctl")
12288 (list check pkg-config swig)
12289 (if (member (%current-system) (package-supported-systems valgrind))
12294 ("json-glib" ,json-glib)
12295 ("libevdev" ,libevdev)
12296 ("libsystemd" ,elogind)
12297 ("libunistring" ,libunistring)
12299 ("python-evdev" ,python-evdev)
12300 ("python-pygobject" ,python-pygobject)
12302 (home-page "https://github.com/libratbag/libratbag")
12303 (synopsis "DBus daemon and utility for configuring gaming mice")
12304 (description "libratbag provides @command{ratbagd}, a DBus daemon to
12305 configure input devices, mainly gaming mice. The daemon provides a generic
12306 way to access the various features exposed by these mice and abstracts away
12307 hardware-specific and kernel-specific quirks. There is also the
12308 @command{ratbagctl} command line interface for configuring devices.
12310 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
12313 The ratbagd DBus service can be enabled by adding the following service to
12314 your operating-system definition:
12316 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
12317 (license license:expat)))
12319 (define-public piper
12326 (uri (git-reference
12327 (url "https://github.com/libratbag/piper")
12330 (base32 "0jsvfy0ihdcgnqljfgs41lys1nlz18qvsa0a8ndx3pyr41f8w8wf"))
12331 (file-name (git-file-name name version))))
12332 (build-system meson-build-system)
12337 gobject-introspection
12341 (list adwaita-icon-theme
12351 (list #:glib-or-gtk? #t
12353 #~(modify-phases %standard-phases
12354 (add-after 'unpack 'dont-update-gtk-icon-cache
12356 (substitute* "meson.build"
12357 (("meson.add_install_script('meson_install.sh')") ""))))
12358 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12360 (let ((pylib (string-append #$output
12362 #$(version-major+minor
12363 (package-version python))
12364 "/site-packages")))
12366 (string-append #$output "/bin/piper")
12367 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
12368 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))
12369 (add-before 'check 'flake8-config
12371 ;; Make sure the tests use the local flake8 config
12372 (symlink (string-append #$source "/.flake8") ".flake8"))))))
12373 (home-page "https://github.com/libratbag/piper/")
12374 (synopsis "Configure bindings and LEDs on gaming mice")
12375 (description "Piper is a GTK+ application for configuring gaming mice with
12376 onboard configuration for key bindings via libratbag. Piper requires
12377 a @command{ratbagd} daemon running with root privileges. It can be run
12378 manually as root, but is preferably configured as a DBus service that can
12379 launch on demand. This can be configured by enabling the following service,
12380 provided there is a DBus service present:
12382 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
12383 (license license:gpl2)))
12385 (define-public parlatype
12392 (uri (git-reference
12393 (url "https://github.com/gkarsay/parlatype")
12394 (commit (string-append "v" version))))
12395 (file-name (git-file-name name version))
12397 (base32 "0cqrzbkyksfsm57riirmjkwf2nf2dgl1xpps1wvqxpij475qcb9b"))))
12398 (build-system meson-build-system)
12400 `(#:glib-or-gtk? #t
12401 #:tests? #f ;require internet access
12403 (modify-phases %standard-phases
12404 (add-after 'unpack 'skip-gtk-update-icon-cache
12406 (substitute* "data/meson_post_install.py"
12407 (("gtk-update-icon-cache") "true"))))
12408 (add-after 'install 'wrap-parlatype
12409 ;; Add gstreamer plugin provided in this package to system's
12411 (lambda* (#:key outputs #:allow-other-keys)
12412 (let* ((out (assoc-ref outputs "out"))
12413 (gst-plugin-path (string-append
12414 out "/lib/gstreamer-1.0/"
12416 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
12417 (wrap-program (string-append out "/bin/parlatype")
12418 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path)))))))))
12420 (list appstream-glib
12421 desktop-file-utils ;for desktop-file-validate
12423 `(,glib "bin") ;for glib-compile-resources
12427 (list gst-plugins-base
12435 (home-page "https://www.parlatype.org")
12436 (synopsis "GNOME audio player for transcription")
12437 (description "Parlatype is an audio player for the GNOME desktop
12438 environment. Its main purpose is the manual transcription of spoken
12440 (license license:gpl3+)))
12442 (define-public jsonrpc-glib
12444 (name "jsonrpc-glib")
12448 (uri (string-append "mirror://gnome/sources/" name "/"
12449 (version-major+minor version) "/"
12450 name "-" version ".tar.xz"))
12453 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
12454 (build-system meson-build-system)
12456 (list json-glib glib))
12459 `(,glib "bin") ; for glib-genmarshal, etc.
12460 gobject-introspection vala))
12461 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
12462 (synopsis "JSON-RPC library for GLib")
12463 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
12464 peers in either a synchronous or asynchronous fashion. It also allows
12465 communicating using the GVariant serialization format instead of JSON when
12466 both peers support it. You might want that when communicating on a single
12467 host to avoid parser overhead and memory-allocator fragmentation.")
12468 (license license:lgpl2.1+)))
12470 (define-public feedbackd
12473 (version "0.0.0+git20200527")
12476 (uri (git-reference
12477 (url "https://source.puri.sm/Librem5/feedbackd.git")
12478 (commit (string-append "v" version))))
12479 (file-name (git-file-name name version))
12482 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
12483 (build-system meson-build-system)
12485 (list `(,glib "bin") gobject-introspection pkg-config vala))
12487 (list dbus gsound json-glib libgudev))
12489 (list glib)) ; in Requires of libfeedback-0.0.pc
12490 (synopsis "Haptic/visual/audio feedback via DBus")
12491 (description "Feedbackd provides a DBus daemon to act on events to provide
12492 haptic, visual and audio feedback. It offers the libfeedbackd library and
12493 GObject introspection bindings.")
12494 (home-page "https://source.puri.sm/Librem5/feedbackd")
12495 (license (list license:lgpl2.1+ ; libfeedbackd
12496 license:lgpl3+)))) ; the rest
12498 (define-public sysprof
12505 (uri (string-append "mirror://gnome/sources/sysprof/"
12506 (version-major+minor version) "/"
12507 "sysprof-" version ".tar.xz"))
12509 (base32 "0nq0icbln0ryqzlybr7wyl19mhr3vkqzs6wasn430fwpf5drypdb"))))
12510 (build-system meson-build-system)
12514 #~(list (string-append "-Dsystemdunitdir=" #$output "/share/systemd"))
12516 #~(modify-phases %standard-phases
12517 (add-after 'unpack 'patch-install-script
12519 (substitute* "build-aux/meson/post_install.sh"
12520 (("gtk-update-icon-cache") "true")
12521 (("update-desktop-database") "true")))))))
12532 (list gettext-minimal
12533 `(,glib "bin") ;for gdbus-codegen, etc.
12537 ;; This home page is so woefully out of date as to be essentially useless.
12538 ;; (home-page "http://www.sysprof.com")
12539 (home-page "https://wiki.gnome.org/Apps/Sysprof")
12540 (synopsis "System-wide performance profiler for GNU/Linux")
12542 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
12543 GNU/Linux system including the kernel and all user-space applications. This
12544 helps find the function(s) in which a program spends most of its time.
12546 It uses the kernel's built-in @code{ptrace} feature and handles shared
12547 libraries. Applications do not need to be recompiled--or even restarted.")
12548 (license license:gpl3+)))
12550 (define-public gnome-builder
12552 (name "gnome-builder")
12556 (uri (string-append "mirror://gnome/sources/" name "/"
12557 (version-major version) "/"
12558 name "-" version ".tar.xz"))
12561 "04p031i999dccbnlbysmr6f93x7dji7b559j6yhdsqbqgxb7ncan"))
12563 (search-patches "gnome-builder-update-libportal.patch"))))
12564 (build-system meson-build-system)
12567 #:glib-or-gtk? #t ;To wrap binaries and compile schemas
12569 #~(list "-Dnetwork_tests=false"
12570 ;; TODO: Enable all plugins...
12571 ;; Flatpak plugin wants libsoup 2
12572 "-Dplugin_flatpak=false"
12573 ;; ... except this one.
12574 "-Dplugin_update_manager=false")
12576 #~(modify-phases %standard-phases
12577 (add-after 'unpack 'patch-meson
12578 (lambda* (#:key inputs #:allow-other-keys)
12579 (substitute* "build-aux/meson/post_install.py"
12580 (("gtk-update-icon-cache") "true")
12581 (("update-desktop-database") "true"))
12582 (substitute* "src/libide/meson.build"
12583 (("/usr/lib") (string-append (assoc-ref inputs
12584 "python-pygobject")
12586 (add-after 'configure 'fix-ninja
12588 ;; #43296: meson(?) incorrectly assumes we want to link
12589 ;; this PIE against a static libselinux.
12590 (substitute* "build.ninja"
12591 (("libselinux\\.a") "libselinux.so"))))
12592 (add-before 'check 'pre-check
12594 (system "Xvfb :1 &")
12595 (setenv "DISPLAY" ":1"))))))
12596 (inputs (list cmark
12598 devhelp-with-libsoup2
12615 webkitgtk-with-libsoup2))
12616 (propagated-inputs (list gtksourceview)) ; needed for settings
12617 (native-inputs (list desktop-file-utils ; for desktop-file-validate
12621 python ; for meson scripts
12623 xorg-server-for-tests))
12624 (home-page "https://wiki.gnome.org/Apps/Builder")
12625 (synopsis "Toolsmith for GNOME-based applications")
12627 "Builder aims to be an integrated development environment (IDE) for
12628 writing GNOME-based software. It features fuzzy search, auto-completion,
12629 a mini code map, documentation browsing, Git integration, an integrated
12630 profiler via Sysprof, debugging support, and more.")
12631 (license license:gpl3+)))
12633 (define-public komikku
12640 (uri (git-reference
12641 (url "https://gitlab.com/valos/Komikku/")
12642 (commit (string-append "v" version))))
12643 (file-name (git-file-name name version))
12646 "17r059srxrx26w40swy47pdpyigyjdczp8550g4rfh86qs3ld4il"))))
12647 (build-system meson-build-system)
12649 `(#:glib-or-gtk? #t
12651 (modify-phases %standard-phases
12652 (add-after 'unpack 'patch-sources
12654 (substitute* "komikku/utils.py"
12655 (("from komikku\\.servers import get_servers_list")
12656 ;; code following that line should migrate old databases
12657 ;; but the line itself results in an import error
12658 "return data_dir_path"))))
12659 (add-after 'unpack 'skip-gtk-update-icon-cache
12661 (substitute* "meson_post_install.py"
12662 (("gtk-update-icon-cache") (which "true")))
12664 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12665 (lambda* (#:key outputs #:allow-other-keys)
12666 (let ((prog (string-append (assoc-ref outputs "out")
12669 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
12670 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12678 python-beautifulsoup4
12680 python-cloudscraper
12687 python-pure-protobuf
12692 webkitgtk-with-libsoup2))
12694 (list desktop-file-utils
12697 gobject-introspection
12699 (home-page "https://gitlab.com/valos/Komikku")
12700 (synopsis "Manga reader for GNOME")
12701 (description "Komikku is an online/offline manga reader for GNOME,
12702 developed with the aim of being used with the Librem 5 phone.")
12703 (license license:gpl3+)))
12705 (define-public libgda
12712 (uri (string-append "mirror://gnome/sources/" name "/"
12713 (version-major+minor version) "/"
12714 name "-" version ".tar.xz"))
12716 (base32 "0w564z7krgjk19r39mi5qn4kggpdg9ggbyn9pb4aavb61r14npwr"))
12717 (patches (search-patches "libgda-cve-2021-39359.patch"
12718 "libgda-fix-build.patch"
12719 "libgda-fix-missing-initialization.patch"
12720 "libgda-skip-postgresql-tests.patch"))))
12721 (build-system meson-build-system)
12728 gobject-introspection
12745 (list libxml2)) ; required by libgda-5.0.pc
12746 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12747 (synopsis "Uniform data access")
12749 "GNU Data Access (GDA) is an attempt to provide uniform access to
12750 different kinds of data sources (databases, information servers, mail spools,
12751 etc). It is a complete architecture that provides all you need to access
12753 (license license:lgpl2.1+)))
12755 (define-public gtranslator
12757 (name "gtranslator")
12761 (uri (string-append "mirror://gnome/sources/" name "/"
12762 (version-major version) "/"
12763 name "-" version ".tar.xz"))
12766 "0fzi48s3wz9mf6c1ndpkby83bgshgn2116nqjq31n1j3wszvqrra"))))
12767 (build-system meson-build-system)
12769 (list #:build-type "release" ;otherwise it tries to fetch stuff via git
12772 #~(modify-phases %standard-phases
12773 (add-after 'unpack 'skip-gtk-update-icon-cache
12775 (substitute* "build-aux/meson/meson_post_install.py"
12776 (("gtk-update-icon-cache") (which "true"))))))))
12778 (list `(,glib-next "bin")
12787 gsettings-desktop-schemas
12794 (list gtksourceview-4)) ; required for source view
12795 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12796 (synopsis "Translation making program")
12798 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12799 for the GNOME 3.x platform with many features. It aims to be a very complete
12800 editing environment for translation issues within the GNU gettext/GNOME desktop
12802 (license license:gpl3+)))
12805 (define-public ocrfeeder
12811 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12812 (version-major+minor version) "/"
12813 "ocrfeeder-" version ".tar.xz"))
12816 "1vaaphzk6zn7pp2x9scphdzlbsma910wnbhd9xry50nx95cjlgdh"))))
12817 (build-system gnu-build-system)
12820 (modify-phases %standard-phases
12822 'install 'wrap-program
12823 (lambda* (#:key outputs #:allow-other-keys)
12824 (let ((prog (string-append (assoc-ref outputs "out")
12825 "/bin/" "ocrfeeder"))
12826 (pylib (string-append (assoc-ref outputs "out")
12828 ,(version-major+minor
12829 (package-version python))
12830 "/site-packages")))
12832 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
12833 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
12835 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12836 ("gobject-introspection" ,gobject-introspection)
12837 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12838 ("intltool" ,intltool)
12839 ("itstool" ,itstool)
12840 ("pkg-config" ,pkg-config)
12841 ("xmllint" ,libxml2)))
12843 `(("enchant" ,enchant)
12845 ("goocanvas" ,goocanvas)
12847 ("gtkspell3" ,gtkspell3)
12848 ("libjpeg" ,libjpeg-turbo)
12849 ("libtiff" ,libtiff)
12852 ("python" ,python-wrapper)
12853 ("python-pygobject" ,python-pygobject)
12854 ("python-odfpy" ,python-odfpy)
12855 ("python-pillow" ,python-pillow)
12856 ("python-pyenchant" ,python-pyenchant)
12857 ("python-reportlab" ,python-reportlab)
12858 ("python-sane" ,python-sane)
12859 ("sane-backends" ,sane-backends)
12860 ("tesseract-ocr" ,tesseract-ocr)))
12861 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12862 (synopsis "Complete OCR Suite")
12863 (description "OCRFeeder is a complete Optical Character Recognition and
12864 Document Analysis and Recognition program.")
12865 (license license:gpl3+)))
12867 (define-public libadwaita
12869 (name "libadwaita")
12873 (uri (string-append "mirror://gnome/sources/libadwaita/"
12874 (version-major+minor version) "/"
12875 "libadwaita-" version ".tar.xz"))
12878 "03h14mrm453bn03f48rmpf85pvg5cnzzab27cs1c43417s09ixdg"))))
12879 (build-system meson-build-system)
12882 (modify-phases %standard-phases
12883 (add-before 'check 'pre-check
12884 (lambda* (#:key inputs #:allow-other-keys)
12885 ;; Tests require a running X server.
12886 (system "Xvfb :1 &")
12887 (setenv "DISPLAY" ":1"))))))
12890 ("glib:bin" ,glib "bin")
12891 ("gtk-doc" ,gtk-doc/stable)
12892 ("pkg-config" ,pkg-config)
12894 ("xvfb" ,xorg-server-for-tests)
12895 ("gettext" ,gettext-minimal)))
12897 (list gobject-introspection libportal))
12899 (list gtk)) ;libadwaita-1.pc 'Requires' it
12900 (home-page "https://gnome.pages.gitlab.gnome.org/libadwaita/")
12901 (synopsis "Building blocks for GNOME applications")
12903 "@code{libadwaita} offers widgets and objects to build GNOME
12904 applications scaling from desktop workstations to mobile phones. It is the
12905 successor of @code{libhandy} for GTK4.")
12906 (license license:lgpl2.1+)))
12908 (define-public gnome-power-manager
12910 (name "gnome-power-manager")
12914 (uri (string-append "mirror://gnome/sources/" name "/"
12915 (version-major+minor version) "/"
12916 name "-" version ".tar.xz"))
12919 "0drfn3wcc8l4n07qwv6p0rw2dwcd00hwzda282q62l6sasks2b2g"))))
12920 (build-system meson-build-system)
12922 (list upower gtk+ gsettings-desktop-schemas adwaita-icon-theme))
12924 (list desktop-file-utils
12925 `(,glib "bin") gettext-minimal pkg-config))
12926 (home-page "https://gitlab.gnome.org/GNOME/gnome-power-manager")
12927 (synopsis "Power management daemon for the GNOME desktop")
12928 (description "@code{gnome-power-manager} is a tool for viewing present and
12929 historical battery usage and related statistics.")
12930 (license license:gpl2)))
12932 (define-public xffm+
12938 (uri (string-append "mirror://sourceforge/xffm/xffm+/xffm+-"
12939 version ".tar.bz2"))
12942 "0gwbgmjzlgv9ba95cgaigjnc9njzi7qznhvzp0qrnnlq3nbcm1k1"))))
12943 (build-system cmake-build-system)
12945 `(#:tests? #f ; No tests exist
12947 (let ((shared-mime-info (assoc-ref %build-inputs "shared-mime-info"))
12948 (out (assoc-ref %outputs "out")))
12949 (list (string-append "-DFREEDESKTOP_GLOBS=" shared-mime-info
12950 "/share/mime/globs")
12951 (string-append "-DFREEDESKTOP_ALIAS=" shared-mime-info
12952 "/share/mime/aliases")
12953 (string-append "-DFREEDESKTOP_ICONS=" shared-mime-info
12954 "/share/mime/generic-icons")
12955 (string-append "-DCMAKE_INSTALL_PREFIX=" out)
12956 (string-append "-DPREFIX_BIN=" out "/bin")))
12958 (modify-phases %standard-phases
12959 (add-after 'unpack 'patch-installation-destination
12960 (lambda* (#:key outputs #:allow-other-keys)
12961 (substitute* "CMakeLists.txt"
12962 ;; This is done so we can override.
12963 (("^set.CMAKE_INSTALL_PREFIX") "set(QCMAKE_INSTALL_PREFIX")
12964 ;; This is done so we can override.
12965 (("`set.PREFIX_BIN") "set(QPREFIX_BIN")))))))
12967 (list cmake pkg-config intltool gnu-gettext))
12969 (list glib gtk+ libx11 libsm libxv libxaw libxcb libxkbfile
12971 (synopsis "File manager")
12972 (description "This package provides a graphical file manager.")
12973 (home-page "http://xffm.org/")
12974 (license license:gpl3+)
12975 (properties '((upstream-name . "xffm")))))