1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016, 2020 Eric Bavier <bavier@posteo.net>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018, 2021 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017, 2020 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019, 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020, 2021 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
58 ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
59 ;;; Copyright © 2020, 2021 Andy Tai <atai@atai.org>
60 ;;; Copyright © 2020, 2021 Sébastien Lerique <sl@eauchat.org>
61 ;;; Copyright © 2021 Trevor Hass <thass@okstate.edu>
62 ;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
63 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
64 ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
66 ;;; This file is part of GNU Guix.
68 ;;; GNU Guix is free software; you can redistribute it and/or modify it
69 ;;; under the terms of the GNU General Public License as published by
70 ;;; the Free Software Foundation; either version 3 of the License, or (at
71 ;;; your option) any later version.
73 ;;; GNU Guix is distributed in the hope that it will be useful, but
74 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
75 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
76 ;;; GNU General Public License for more details.
78 ;;; You should have received a copy of the GNU General Public License
79 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
81 (define-module (gnu packages gnome)
82 #:use-module (gnu packages)
83 #:use-module (gnu packages admin)
84 #:use-module (gnu packages aidc)
85 #:use-module (gnu packages aspell)
86 #:use-module (gnu packages autotools)
87 #:use-module (gnu packages avahi)
88 #:use-module (gnu packages backup)
89 #:use-module (gnu packages base)
90 #:use-module (gnu packages bash)
91 #:use-module (gnu packages bison)
92 #:use-module (gnu packages boost)
93 #:use-module (gnu packages build-tools)
94 #:use-module (gnu packages calendar)
95 #:use-module (gnu packages cdrom)
96 #:use-module (gnu packages check)
97 #:use-module (gnu packages cmake)
98 #:use-module (gnu packages compression)
99 #:use-module (gnu packages crates-io)
100 #:use-module (gnu packages crates-graphics)
101 #:use-module (gnu packages crates-gtk)
102 #:use-module (gnu packages cups)
103 #:use-module (gnu packages curl)
104 #:use-module (gnu packages cyrus-sasl)
105 #:use-module (gnu packages databases)
106 #:use-module (gnu packages dbm)
107 #:use-module (gnu packages djvu)
108 #:use-module (gnu packages dns)
109 #:use-module (gnu packages docbook)
110 #:use-module (gnu packages documentation)
111 #:use-module (gnu packages enchant)
112 #:use-module (gnu packages flex)
113 #:use-module (gnu packages fonts)
114 #:use-module (gnu packages file-systems)
115 #:use-module (gnu packages fontutils)
116 #:use-module (gnu packages freedesktop)
117 #:use-module (gnu packages game-development)
118 #:use-module (gnu packages gcc)
119 #:use-module (gnu packages gettext)
120 #:use-module (gnu packages ghostscript)
121 #:use-module (gnu packages gimp)
122 #:use-module (gnu packages gl)
123 #:use-module (gnu packages glib)
124 #:use-module (gnu packages gnupg)
125 #:use-module (gnu packages gnuzilla)
126 #:use-module (gnu packages geo)
127 #:use-module (gnu packages gperf)
128 #:use-module (gnu packages graphviz)
129 #:use-module (gnu packages gstreamer)
130 #:use-module (gnu packages gtk)
131 #:use-module (gnu packages guile)
132 #:use-module (gnu packages haskell-xyz)
133 #:use-module (gnu packages ibus)
134 #:use-module (gnu packages icu4c)
135 #:use-module (gnu packages image)
136 #:use-module (gnu packages imagemagick)
137 #:use-module (gnu packages inkscape)
138 #:use-module (gnu packages iso-codes)
139 #:use-module (gnu packages kerberos)
140 #:use-module (gnu packages libcanberra)
141 #:use-module (gnu packages libffi)
142 #:use-module (gnu packages libunistring)
143 #:use-module (gnu packages libunwind)
144 #:use-module (gnu packages libusb)
145 #:use-module (gnu packages linux)
146 #:use-module (gnu packages lirc)
147 #:use-module (gnu packages lua)
148 #:use-module (gnu packages mail)
149 #:use-module (gnu packages man)
150 #:use-module (gnu packages mp3)
151 #:use-module (gnu packages multiprecision)
152 #:use-module (gnu packages music)
153 #:use-module (gnu packages ncurses)
154 #:use-module (gnu packages nettle)
155 #:use-module (gnu packages networking)
156 #:use-module (gnu packages ninja)
157 #:use-module (gnu packages node)
158 #:use-module (gnu packages nss)
159 #:use-module (gnu packages ocr)
160 #:use-module (gnu packages openldap)
161 #:use-module (gnu packages package-management)
162 #:use-module (gnu packages password-utils)
163 #:use-module (gnu packages pcre)
164 #:use-module (gnu packages pdf)
165 #:use-module (gnu packages perl)
166 #:use-module (gnu packages photo)
167 #:use-module (gnu packages php)
168 #:use-module (gnu packages pkg-config)
169 #:use-module (gnu packages polkit)
170 #:use-module (gnu packages popt)
171 #:use-module (gnu packages pretty-print)
172 #:use-module (gnu packages protobuf)
173 #:use-module (gnu packages pulseaudio)
174 #:use-module (gnu packages python)
175 #:use-module (gnu packages python-compression)
176 #:use-module (gnu packages python-crypto)
177 #:use-module (gnu packages python-web)
178 #:use-module (gnu packages python-xyz)
179 #:use-module (gnu packages rdesktop)
180 #:use-module (gnu packages rdf)
181 #:use-module (gnu packages readline)
182 #:use-module (gnu packages ruby)
183 #:use-module (gnu packages rust)
184 #:use-module (gnu packages samba)
185 #:use-module (gnu packages scanner)
186 #:use-module (gnu packages sdl)
187 #:use-module (gnu packages search)
188 #:use-module (gnu packages selinux)
189 #:use-module (gnu packages slang)
190 #:use-module (gnu packages speech)
191 #:use-module (gnu packages spice)
192 #:use-module (gnu packages sqlite)
193 #:use-module (gnu packages ssh)
194 #:use-module (gnu packages swig)
195 #:use-module (gnu packages tex)
196 #:use-module (gnu packages time)
197 #:use-module (gnu packages tls)
198 #:use-module (gnu packages valgrind)
199 #:use-module (gnu packages version-control)
200 #:use-module (gnu packages video)
201 #:use-module (gnu packages virtualization)
202 #:use-module (gnu packages vpn)
203 #:use-module (gnu packages web)
204 #:use-module (gnu packages webkit)
205 #:use-module (gnu packages xdisorg)
206 #:use-module (gnu packages xiph)
207 #:use-module (gnu packages xml)
208 #:use-module (gnu packages xorg)
209 #:use-module (gnu artwork)
210 #:use-module (guix build-system cargo)
211 #:use-module (guix build-system cmake)
212 #:use-module (guix build-system glib-or-gtk)
213 #:use-module (guix build-system gnu)
214 #:use-module (guix build-system meson)
215 #:use-module (guix build-system python)
216 #:use-module (guix build-system trivial)
217 #:use-module (guix download)
218 #:use-module (guix git-download)
219 #:use-module ((guix licenses) #:prefix license:)
220 #:use-module (guix packages)
221 #:use-module (guix utils)
222 #:use-module (guix gexp)
223 #:use-module (ice-9 match)
224 #:use-module (srfi srfi-1))
226 (define-public gupnp-igd
234 (string-append "mirror://gnome/sources/" name "/"
235 (version-major+minor version) "/"
236 name "-" version ".tar.xz"))
238 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
239 (build-system meson-build-system)
240 (outputs '("out" "doc"))
242 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
243 #:configure-flags (list "-Dgtk_doc=true")
245 (modify-phases %standard-phases
246 (add-after 'unpack 'patch-docbook-xml
247 (lambda* (#:key inputs #:allow-other-keys)
248 (with-directory-excursion "doc"
249 (substitute* "gupnp-igd-docs.xml"
250 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
251 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
252 "/xml/dtd/docbook/"))))
254 (add-after 'install 'move-doc
255 (lambda* (#:key outputs #:allow-other-keys)
256 (let* ((out (assoc-ref outputs "out"))
257 (doc (assoc-ref outputs "doc")))
258 (mkdir-p (string-append doc "/share"))
260 (string-append out "/share/gtk-doc")
261 (string-append doc "/share/gtk-doc"))
264 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
265 ("docbook-xsl" ,docbook-xsl)
266 ("glib:bin" ,glib "bin")
267 ("gobject-introspection" ,gobject-introspection)
268 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
269 ("gtk-doc" ,gtk-doc/stable)
270 ("pkg-config" ,pkg-config)))
273 ("glib-networking" ,glib-networking)
276 ("libsoup" ,libsoup)))
277 (synopsis "UPnP IGD for GNOME")
278 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
279 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
280 (license license:lgpl2.1+)))
282 (define-public brasero
288 (uri (string-append "mirror://gnome/sources/brasero/"
289 (version-major+minor version) "/"
290 "brasero-" version ".tar.xz"))
293 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
294 (build-system glib-or-gtk-build-system)
296 `(#:configure-flags (list
297 (string-append "--with-girdir="
298 (assoc-ref %outputs "out")
300 (string-append "--with-typelibdir="
301 (assoc-ref %outputs "out")
302 "/lib/girepository-1.0"))
304 (modify-phases %standard-phases
305 (add-before 'configure 'embed-growisofs
306 (lambda* (#:key inputs #:allow-other-keys)
307 (substitute* "plugins/growisofs/burn-growisofs.c"
308 (("\"growisofs") (string-append "\"" (which "growisofs"))))
311 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
313 `(("intltool" ,intltool)
315 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
316 ("gobject-introspection" ,gobject-introspection)
317 ("pkg-config" ,pkg-config)))
319 `(("dvd+rw-tools" ,dvd+rw-tools)
321 ("gnome-doc-utils" ,gnome-doc-utils)
322 ("gstreamer" ,gstreamer)
323 ("gst-plugins-base" ,gst-plugins-base)
325 ("libcanberra" ,libcanberra)
327 ("libnotify" ,libnotify)
330 ("totem-pl-parser" ,totem-pl-parser)))
331 (home-page "https://wiki.gnome.org/Apps/Brasero")
332 (synopsis "CD/DVD burning tool for Gnome")
333 (description "Brasero is an application to burn CD/DVD for the Gnome
334 Desktop. It is designed to be as simple as possible and has some unique
335 features to enable users to create their discs easily and quickly.")
336 (license license:gpl2+)))
338 (define-public libcloudproviders
340 (name "libcloudproviders")
346 (string-append "mirror://gnome/sources/" name "/"
347 (version-major+minor version) "/"
348 name "-" version ".tar.xz"))
350 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
351 (build-system meson-build-system)
352 (outputs '("out" "doc"))
354 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
357 "-Denable-gtk-doc=true")
359 (modify-phases %standard-phases
360 (add-after 'install 'move-doc
361 (lambda* (#:key outputs #:allow-other-keys)
362 (let* ((out (assoc-ref outputs "out"))
363 (doc (assoc-ref outputs "doc")))
364 (mkdir-p (string-append doc "/share"))
366 (string-append out "/share/gtk-doc")
367 (string-append doc "/share/gtk-doc"))
370 `(("glib:bin" ,glib "bin")
371 ("gobject-introspection" ,gobject-introspection)
372 ("gtk-doc" ,gtk-doc/stable)
373 ("pkg-config" ,pkg-config)
377 ("glib-networking" ,glib-networking)))
378 (synopsis "Cloudproviders Integration API")
379 (description "Libcloudproviders is a DBus API that allows cloud storage sync
380 clients to expose their services. Clients such as file managers and desktop
381 environments can then provide integrated access to the cloud providers
383 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
384 (license license:lgpl3+)))
386 (define-public libgrss
394 (string-append "mirror://gnome/sources/" name "/"
395 (version-major+minor version) "/"
396 name "-" version ".tar.xz"))
398 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))
400 (search-patches "libgrss-CVE-2016-2001.patch"))))
401 (build-system glib-or-gtk-build-system)
402 (outputs '("out" "doc"))
407 (string-append "--with-html-dir="
408 (assoc-ref %outputs "doc")
409 "/share/gtk-doc/html"))
411 (modify-phases %standard-phases
412 (add-after 'unpack 'patch-docbook-xml
413 (lambda* (#:key inputs #:allow-other-keys)
414 (with-directory-excursion "doc/reference"
415 (substitute* "libgrss-docs.sgml"
416 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
417 (string-append (assoc-ref inputs "docbook-xml")
418 "/xml/dtd/docbook/"))))
421 `(("docbook-xml" ,docbook-xml-4.1.2)
422 ("gobject-introspection" ,gobject-introspection)
423 ("gtk-doc" ,gtk-doc/stable)
424 ("pkg-config" ,pkg-config)))
428 ("libxml2" ,libxml2)))
429 (synopsis "Glib library for feeds")
430 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
432 (home-page "https://wiki.gnome.org/Projects/Libgrss")
433 (license license:lgpl3+)))
435 (define-public gnome-js-common
437 (name "gnome-js-common")
443 (string-append "mirror://gnome/sources/" name "/"
444 (version-major+minor version) "/"
445 name "-" version ".tar.gz"))
447 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
448 (build-system glib-or-gtk-build-system)
452 "--disable-static")))
454 `(("gettext" ,gettext-minimal)
455 ("intltool" ,intltool)
456 ("pkg-config" ,pkg-config)))
457 (synopsis "Common JS Modules")
458 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
460 (home-page "https://wiki.gnome.org/Projects/Seed")
461 (license license:gpl3+)))
471 (string-append "mirror://gnome/sources/" name "/"
472 (version-major+minor version) "/"
473 name "-" version ".tar.xz"))
475 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
477 (search-patches "seed-webkit.patch"))))
478 (build-system glib-or-gtk-build-system)
479 (outputs '("out" "doc"))
484 "--enable-xorg-module"
485 (string-append "--with-html-dir="
486 (assoc-ref %outputs "doc")
487 "/share/gtk-doc/html")
490 (modify-phases %standard-phases
491 ;; The seed-webkit.patch patches configure.ac.
492 ;; So the source files need to be re-bootstrapped.
493 (add-after 'unpack 'trigger-bootstrap
495 (for-each delete-file
500 (add-after 'unpack 'patch-tests
501 (lambda* (#:key outputs #:allow-other-keys)
502 (substitute* (find-files "." "\\.js$")
503 (("#!/usr/bin/env seed")
504 (string-append "#!" (getcwd) "/src/seed")))
506 (add-before 'build 'patch-docbook-xml
507 (lambda* (#:key inputs #:allow-other-keys)
508 (with-directory-excursion "doc"
509 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
510 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
511 (string-append (assoc-ref inputs "docbook-xml")
512 "/xml/dtd/docbook/"))))
515 `(("autoconf" ,autoconf)
516 ("automake" ,automake)
517 ("docbook-xml" ,docbook-xml-4.1.2)
518 ("gettext" ,gettext-minimal)
519 ("gobject-introspection" ,gobject-introspection)
520 ("gtk-doc" ,gtk-doc/stable)
521 ("intltool" ,intltool)
523 ("pkg-config" ,pkg-config)))
527 ("dbus-glib" ,dbus-glib)
528 ("gnome-js-common" ,gnome-js-common)
534 ("readline" ,readline)
536 ("xscrnsaver" ,libxscrnsaver)))
539 ("webkit" ,webkitgtk)))
540 (synopsis "GObject JavaScriptCore bridge")
541 (description "Seed is a library and interpreter, dynamically bridging
542 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
543 GNOME platform. It serves as something which enables you to write standalone
544 applications in JavaScript, or easily enable your application to be extensible
546 (home-page "https://wiki.gnome.org/Projects/Seed")
547 (license license:lgpl2.0+)))
549 (define-public libdmapsharing
551 (name "libdmapsharing")
557 (string-append "https://www.flyn.org/projects/"
558 name "/" name "-" version ".tar.gz"))
560 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
561 (build-system glib-or-gtk-build-system)
562 (outputs '("out" "doc"))
564 `(#:tests? #f ; Tests require networking.
568 (string-append "--with-html-dir="
569 (assoc-ref %outputs "doc")
570 "/share/gtk-doc/html"))
572 (modify-phases %standard-phases
573 (add-after 'unpack 'patch-docbook-xml
574 (lambda* (#:key inputs #:allow-other-keys)
575 (with-directory-excursion "doc"
576 (substitute* "libdmapsharing-4.0-docs.xml"
577 (("http://www.oasis-open.org/docbook/xml/4.3/")
578 (string-append (assoc-ref inputs "docbook-xml")
579 "/xml/dtd/docbook/"))))
583 ("docbook-xml" ,docbook-xml-4.3)
584 ("gobject-introspection" ,gobject-introspection)
585 ("pedansee" ,pedansee)
586 ("pkg-config" ,pkg-config)
590 ("gdk-pixbuf" ,gdk-pixbuf+svg)
592 ("gst-plugins-base" ,gst-plugins-base)
596 ("glib-networking" ,glib-networking)
597 ("gstreamer" ,gstreamer)
598 ("libsoup" ,libsoup)))
599 (synopsis "Media management library")
600 (description "Libdmapsharing is a library which allows programs to access,
601 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
602 It is written in C using GObject and libsoup.")
603 (home-page "https://launchpad.net/gtx")
604 (license license:lgpl2.1+)))
614 (string-append "https://launchpad.net/gtx/trunk/"
615 version "/+download/gtx-" version ".tar.gz"))
617 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
618 (build-system glib-or-gtk-build-system)
619 (outputs '("out" "doc"))
625 (string-append "--with-html-dir="
626 (assoc-ref %outputs "doc")
627 "/share/gtk-doc/html"))))
629 `(("gobject-introspection" ,gobject-introspection)
630 ("gtk-doc" ,gtk-doc/stable)
631 ("pkg-config" ,pkg-config)))
634 (synopsis "GLib Testing Framework")
635 (description "GTX is a small collection of convenience functions intended to
636 enhance the GLib testing framework. With specific emphasis on easing the pain
637 of writing test cases for asynchronous interactions.")
638 (home-page "https://launchpad.net/gtx")
639 (license license:lgpl2.1+)))
649 (string-append "https://launchpad.net/dee/1.0/"
650 version "/+download/dee-" version ".tar.gz"))
652 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
654 (search-patches "dee-vapi.patch"))))
655 (build-system glib-or-gtk-build-system)
656 (outputs '("out" "doc"))
660 "--disable-maintainer-flags"
661 (string-append "--with-pygi-overrides-dir="
662 (assoc-ref %outputs "out")
664 ,(version-major+minor
665 (package-version python))
666 "/site-packages/gi/overrides")
667 (string-append "--with-html-dir="
668 (assoc-ref %outputs "doc")
669 "/share/gtk-doc/html"))
671 (modify-phases %standard-phases
672 (add-after 'unpack 'patch-docbook-xml
673 (lambda* (#:key inputs #:allow-other-keys)
674 (with-directory-excursion "doc/reference/dee-1.0"
675 (substitute* "dee-1.0-docs.sgml"
676 (("http://www.oasis-open.org/docbook/xml/4.3/")
677 (string-append (assoc-ref inputs "docbook-xml")
678 "/xml/dtd/docbook/"))))
680 (add-after 'patch-docbook-xml 'disable-failing-tests
682 (substitute* "tests/test-icu.c"
683 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
685 (("setup, test_ascii_folder, teardown\\);")
688 (add-before 'check 'pre-check
690 ;; Tests require a running dbus-daemon.
691 (system "dbus-daemon &")
692 ;; For missing '/etc/machine-id'.
693 (setenv "DBUS_FATAL_WARNINGS" "0")
697 ("dbus-test-runner" ,dbus-test-runner)
698 ("docbook-xml" ,docbook-xml-4.3)
699 ("gobject-introspection" ,gobject-introspection)
700 ("gtk-doc" ,gtk-doc/stable)
701 ;; Would only be required by configure flag "--enable-extended-tests".
703 ("pkg-config" ,pkg-config)
704 ("pygobject" ,python-pygobject)
705 ("python" ,python-wrapper)
711 (synopsis "Model to synchronize multiple instances over DBus")
712 (description "Dee is a library that uses DBus to provide objects allowing
713 you to create Model-View-Controller type programs across DBus. It also consists
714 of utility objects which extend DBus allowing for peer-to-peer discoverability
715 of known objects without needing a central registrar.")
716 (home-page "https://launchpad.net/dee")
723 (define-public zeitgeist
732 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
734 (string-append "v" version))))
736 (git-file-name name version))
738 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
739 (build-system glib-or-gtk-build-system)
743 "--enable-explain-queries"
747 (modify-phases %standard-phases
748 (add-after 'unpack 'patch-docbook-xml
749 (lambda* (#:key inputs #:allow-other-keys)
750 (with-directory-excursion "doc/libzeitgeist"
751 (substitute* "zeitgeist-gtkdoc-index.sgml"
752 (("http://www.oasis-open.org/docbook/xml/4.3/")
753 (string-append (assoc-ref inputs "docbook-xml")
754 "/xml/dtd/docbook/"))))
756 (add-after 'patch-docbook-xml 'disable-failing-tests
758 (substitute* "test/direct/Makefile.am"
761 (substitute* "test/c/Makefile.am"
765 (add-before 'bootstrap 'remove-autogen-script
767 ;; To honor `autoreconf -vif` by build-system.
768 (delete-file "autogen.sh")
771 `(("autoconf" ,autoconf)
772 ("automake" ,automake)
773 ("docbook-xml" ,docbook-xml-4.3)
774 ("gettext" ,gettext-minimal)
775 ("gobject-introspection" ,gobject-introspection)
776 ("gtk-doc" ,gtk-doc/stable)
778 ("pkg-config" ,pkg-config)
780 ("xorg-server-for-tests" ,xorg-server-for-tests)))
784 ("json-glib" ,json-glib)
786 ("telepathy-glib" ,telepathy-glib)
787 ("python" ,python-wrapper)
788 ("python-rdflib" ,python-rdflib)
789 ("xapian-config" ,xapian)))
792 (synopsis "Desktop Activity Logging")
793 (description "Zeitgeist is a service which logs the users’s activities and
794 events, anywhere from files opened to websites visited and conversations. It
795 makes this information readily available for other applications to use. It is
796 able to establish relationships between items based on similarity and usage
798 (home-page "https://zeitgeist.freedesktop.org/")
805 (define-public gnome-recipes
807 (name "gnome-recipes")
812 (url "https://gitlab.gnome.org/GNOME/recipes")
814 (file-name (git-file-name name version))
817 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
818 (build-system meson-build-system)
822 (modify-phases %standard-phases
823 (add-after 'unpack 'skip-gtk-update-icon-cache
825 (substitute* "meson_post_install.py"
826 (("gtk-update-icon-cache") (which "true")))
828 (add-after 'unpack 'unpack-libgd
829 (lambda* (#:key inputs #:allow-other-keys)
830 (let ((libgd (assoc-ref inputs "libgd")))
831 (copy-recursively libgd "subprojects/libgd")
835 ("gnome-autoar" ,gnome-autoar)
836 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
839 ("json-glib" ,json-glib)
840 ("libcanberra" ,libcanberra)
844 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
845 ("gettext" ,gettext-minimal)
846 ("glib:bin" ,glib "bin")
852 (url "https://gitlab.gnome.org/GNOME/libgd")
853 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
854 (file-name (git-file-name "libgd" version))
856 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
857 ("pkg-config" ,pkg-config)))
858 (home-page "https://wiki.gnome.org/Apps/Recipes")
859 (synopsis "Discover recipes for preparing food")
860 (description "GNOME Recipes helps you discover what to cook today,
861 tomorrow, the rest of the week and for special occasions.")
862 (license license:gpl3+)))
864 (define-public gnome-photos
866 (name "gnome-photos")
872 (string-append "mirror://gnome/sources/" name "/"
873 (version-major+minor version) "/"
874 name "-" version ".tar.xz"))
877 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
878 (build-system meson-build-system)
882 (list "-Ddogtail=false" ; Not available
883 ;; Required for RUNPATH validation.
884 (string-append "-Dc_link_args=-Wl,-rpath="
885 (assoc-ref %outputs "out") "/lib/gnome-photos"))
887 (modify-phases %standard-phases
888 (add-after 'install 'wrap-gnome-photos
889 (lambda* (#:key inputs outputs #:allow-other-keys)
891 ((out (assoc-ref outputs "out")))
892 (wrap-program (string-append out "/bin/gnome-photos")
893 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
897 ("desktop-file-utils" ,desktop-file-utils)
898 ("gettext" ,gettext-minimal)
900 ("glib:bin" ,glib "bin")
901 ("gobject-introspection" ,gobject-introspection)
902 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
903 ("gtk+:bin" ,gtk+ "bin")
905 ("pkg-config" ,pkg-config)))
909 ("gdk-pixbuf" ,gdk-pixbuf+svg)
911 ("geocode-glib" ,geocode-glib)
913 ("gnome-online-accounts" ,gnome-online-accounts)
914 ("gnome-online-miners" ,gnome-online-miners)
916 ("grilo-plugins" ,grilo-plugins)
918 ("libdazzle" ,libdazzle)
919 ("libgdata" ,libgdata)
920 ("libgfbgraph" ,gfbgraph)
921 ("libjpeg" ,libjpeg-turbo)
924 ("pygobject" ,python-pygobject)
926 ("tracker-miners" ,tracker-miners)))
927 (synopsis "Access, organize and share your photos on GNOME desktop")
928 (description "GNOME Photos is a simple and elegant replacement for using a
929 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
930 cloud integration is offered through GNOME Online Accounts.")
931 (home-page "https://wiki.gnome.org/Apps/Photos")
932 (license license:gpl3+)))
934 (define-public gnome-music
942 (string-append "mirror://gnome/sources/" name "/"
943 (version-major+minor version) "/"
944 name "-" version ".tar.xz"))
947 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
948 (build-system meson-build-system)
952 (modify-phases %standard-phases
953 (add-after 'install 'wrap-gnome-music
954 (lambda* (#:key inputs outputs #:allow-other-keys)
956 ((out (assoc-ref outputs "out"))
957 (pylib (string-append out "/lib/python"
958 ,(version-major+minor
959 (package-version python))
961 (wrap-program (string-append out "/bin/gnome-music")
962 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
963 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
964 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
965 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))))
968 `(("desktop-file-utils" ,desktop-file-utils)
969 ("gettext" ,gettext-minimal)
970 ("glib:bin" ,glib "bin")
971 ("gobject-introspection" ,gobject-introspection)
972 ("gtk+:bin" ,gtk+ "bin")
973 ("itstools" ,itstool)
974 ("pkg-config" ,pkg-config)))
976 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
978 ("grilo-plugins" ,grilo-plugins)
979 ("gst-plugins-base" ,gst-plugins-base)
980 ("gstreamer" ,gstreamer)
982 ("libdazzle" ,libdazzle)
983 ("libmediaart" ,libmediaart)
985 ("pycairo" ,python-pycairo)
986 ("pygobject" ,python-pygobject)
988 ("tracker-miners" ,tracker-miners)))
989 (synopsis "Simple music player for GNOME desktop")
990 (description "GNOME Music is the new GNOME music playing application that
991 aims to combine an elegant and immersive browsing experience with simple
992 and straightforward controls.")
993 (home-page "https://wiki.gnome.org/Apps/Music")
994 (license license:gpl2+)))
996 (define-public portablexdr
1004 (string-append "https://people.redhat.com/~rjones/" name "/files/"
1005 name "-" version ".tar.gz"))
1008 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1009 (build-system gnu-build-system)
1010 (synopsis "External Data Representation Library")
1011 (description "PortableXDR is an implementation of External Data
1012 Representation (XDR) Library. It is a standard data serialization format, for
1013 uses such as computer network protocols. It allows data to be transferred
1014 between different kinds of computer systems.")
1015 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1019 license:lgpl2.1+))))
1029 (string-append "mirror://gnome/sources/" name "/"
1030 (version-major+minor version) "/"
1031 name "-" version ".tar.xz"))
1034 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
1035 (build-system glib-or-gtk-build-system)
1037 `(#:tests? #f)) ; FIX-ME: Requires gvfs
1039 `(("gobject-introspection" ,gobject-introspection)
1040 ("pkg-config" ,pkg-config)))
1045 ("gtksourceview" ,gtksourceview)
1046 ("libxml2" ,libxml2)
1047 ("uchardet" ,uchardet)))
1048 (synopsis "Text editor product line")
1049 (description "Tepl is a library that eases the development of
1050 GtkSourceView-based text editors and IDEs.")
1051 (home-page "https://wiki.gnome.org/Projects/Tepl")
1052 (license license:lgpl2.1+)))
1054 (define-public krb5-auth-dialog
1056 (name "krb5-auth-dialog")
1062 (string-append "mirror://gnome/sources/" name "/"
1063 (version-major+minor version) "/"
1064 name "-" version ".tar.xz"))
1067 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1068 (build-system glib-or-gtk-build-system)
1070 `(("intltool" ,intltool)
1071 ("itstool" ,itstool)
1072 ("libxml2" ,libxml2)
1073 ("pkg-config" ,pkg-config)
1074 ("python-wrapper" ,python-wrapper)))
1078 ("libnotify" ,libnotify)
1079 ("mit-krb5" ,mit-krb5)
1080 ("network-manager" ,network-manager)))
1081 (synopsis "Popup dialogs for Kerberos 5")
1082 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1083 tickets, and pops up a dialog when they are about to expire.")
1084 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1085 (license license:gpl2+)))
1087 (define-public notification-daemon
1089 (name "notification-daemon")
1095 (string-append "mirror://gnome/sources/" name "/"
1096 (version-major+minor version) "/"
1097 name "-" version ".tar.xz"))
1100 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1101 (build-system glib-or-gtk-build-system)
1103 `(("intltool" ,intltool)
1104 ("pkg-config" ,pkg-config)))
1109 (synopsis "Notification Daemon for GNOME Desktop")
1110 (description "Notification-Daemon is the server implementation of the
1111 freedesktop.org desktop notification specification.")
1112 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1113 (license license:gpl2+)))
1115 (define-public mm-common
1121 (uri (string-append "mirror://gnome/sources/mm-common/"
1122 (version-major+minor version) "/"
1123 "mm-common-" version ".tar.xz"))
1126 "1x8yvjy0yg17qyhmqws8xh2k8dvzrhpwqz7j1cfwzalrb1i9c5g8"))))
1127 (build-system meson-build-system)
1130 (modify-phases %standard-phases
1131 (add-after 'unpack 'patch
1132 (lambda* (#:key inputs #:allow-other-keys)
1133 (substitute* "util/mm-common-prepare.in"
1134 (("ln") (search-input-file inputs "/bin/ln"))
1135 (("cp") (search-input-file inputs "/bin/cp"))
1136 (("sed") (search-input-file inputs "/bin/sed"))
1137 (("cat") (search-input-file inputs "/bin/cat"))))))))
1139 `(("coreutils" ,coreutils)
1140 ("gettext" ,gettext-minimal)
1141 ("pkg-config" ,pkg-config)
1144 `(("python" ,python)))
1145 (synopsis "Module of GNOME C++ bindings")
1146 (description "The mm-common module provides the build infrastructure
1147 and utilities shared among the GNOME C++ binding libraries. Release
1148 archives of mm-common include the Doxygen tag file for the GNU C++
1149 Library reference documentation.")
1150 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1151 (license license:gpl2+)))
1153 (define-public phodav
1159 (uri (string-append "mirror://gnome/sources/" name "/"
1160 (version-major+minor version) "/"
1161 name "-" version ".tar.xz"))
1164 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1165 (build-system meson-build-system)
1168 (modify-phases %standard-phases
1169 (add-after 'unpack 'fix-udev-rules-directory
1170 (lambda* (#:key outputs #:allow-other-keys)
1171 (let* ((out (assoc-ref outputs "out"))
1172 (rules (string-append out "/lib/udev/rules.d")))
1173 (substitute* "data/meson.build"
1174 (("udev\\.get_pkgconfig_variable\\('udevdir'\\)")
1175 (format #f "'~a'" rules))))))
1176 (add-before 'check 'start-virtual-dir-server
1177 ;; The same server when started by tests/virtual-dir returns an
1178 ;; unexpected status (4 instead of 200) and fails a test. It is
1179 ;; unclear why starting it manually here makes it pass.
1181 (system "tests/virtual-dir-server &"))))))
1183 `(("docbook-xml" ,docbook-xml-4.3)
1184 ("gettext" ,gettext-minimal)
1185 ("glib:bin" ,glib "bin")
1186 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1187 ("gtk-doc" ,gtk-doc/stable)
1188 ("pkg-config" ,pkg-config)))
1191 ("libgudev" ,libgudev)
1192 ("libsoup" ,libsoup)))
1193 (synopsis "WebDav server implementation using libsoup")
1194 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1195 but it is generic enough to be reused in other projects,
1196 in particular in the GNOME desktop.")
1197 (home-page "https://wiki.gnome.org/phodav")
1198 (license license:lgpl2.1+)))
1200 (define-public gnome-color-manager
1202 (name "gnome-color-manager")
1206 (uri (string-append "mirror://gnome/sources/" name "/"
1207 (version-major+minor version) "/"
1208 name "-" version ".tar.xz"))
1211 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1212 (build-system meson-build-system)
1216 (modify-phases %standard-phases
1220 ;; Tests require a running X server.
1221 (system "Xvfb :1 &")
1222 (setenv "DISPLAY" ":1")
1225 `(("desktop-file-utils" ,desktop-file-utils)
1226 ("gettext" ,gettext-minimal)
1227 ("glib:bin" ,glib "bin")
1228 ("gtk+:bin" ,gtk+ "bin")
1229 ("itstool" ,itstool)
1230 ("pkg-config" ,pkg-config)
1231 ("xorg-server" ,xorg-server-for-tests)))
1233 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1234 ("appstream-glib" ,appstream-glib)
1235 ("colord-gtk" ,colord-gtk)
1237 ("gnome-desktop" ,gnome-desktop)
1238 ("libcanberra" ,libcanberra)
1239 ("libexif" ,libexif)
1240 ("libtiff" ,libtiff)
1241 ("libxrandr" ,libxrandr)
1242 ("libxtst" ,libxtst)
1243 ("libxxf86vm" ,libxxf86vm)
1245 ("xorgproto" ,xorgproto)))
1246 (synopsis "Color profile manager for the GNOME desktop")
1247 (description "GNOME Color Manager is a session framework that makes
1248 it easy to manage, install and generate color profiles
1249 in the GNOME desktop.")
1250 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1251 (license license:gpl2+)))
1253 (define-public gnome-online-miners
1255 (name "gnome-online-miners")
1259 (uri (string-append "mirror://gnome/sources/" name "/"
1260 (version-major+minor version) "/"
1261 name "-" version ".tar.xz"))
1264 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1265 (build-system glib-or-gtk-build-system)
1267 `(("gettext" ,gettext-minimal)
1268 ("glib:bin" ,glib "bin")
1269 ("gobject-introspection" ,gobject-introspection)
1270 ("gtk+:bin" ,gtk+ "bin")
1271 ("pkg-config" ,pkg-config)))
1273 `(("gnome-online-accounts" ,gnome-online-accounts)
1274 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1276 ("libgdata" ,libgdata)
1277 ("libgfbgraph" ,gfbgraph)
1278 ("libzapojit" ,libzapojit)
1280 ("tracker" ,tracker)))
1281 (synopsis "Web Crawlers for GNOME")
1282 (description "GNOME Online Miners provides a set of crawlers that
1283 go through your online content and index them locally in Tracker.
1284 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1285 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1286 (license license:gpl2+)))
1288 (define-public gssdp
1294 (uri (string-append "mirror://gnome/sources/" name "/"
1295 (version-major+minor version) "/"
1296 name "-" version ".tar.xz"))
1299 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1300 (build-system meson-build-system)
1302 `(("gettext" ,gettext-minimal)
1303 ("glib:bin" ,glib "bin")
1304 ("gobject-introspection" ,gobject-introspection)
1305 ("gtk-doc" ,gtk-doc/stable)
1306 ("pkg-config" ,pkg-config)
1310 ("libsoup" ,libsoup)))
1311 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1312 Protocol} for GNOME")
1313 (description "This package provides a library to handle resource discovery
1314 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1315 a debugging tool, @command{gssdp-device-sniffer}.")
1316 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1317 (license license:lgpl2.0+)))
1319 (define-public gupnp
1325 (uri (string-append "mirror://gnome/sources/" name "/"
1326 (version-major+minor version) "/"
1327 name "-" version ".tar.xz"))
1330 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1331 (build-system meson-build-system)
1333 `(("gettext" ,gettext-minimal)
1334 ("glib:bin" ,glib "bin")
1335 ("gobject-introspection" ,gobject-introspection)
1336 ("gtk-doc" ,gtk-doc/stable)
1337 ("pkg-config" ,pkg-config)
1342 ("libsoup" ,libsoup)))
1344 `(;; For ‘org.gnome.system.proxy’.
1345 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
1346 (synopsis "PnP API for GNOME")
1347 (description "This package provides GUPnP, an object-oriented framework
1348 for creating UPnP devices and control points, written in C using
1349 @code{GObject} and @code{libsoup}.")
1350 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1351 (license license:lgpl2.0+)))
1353 (define-public gupnp-dlna
1359 (uri (string-append "mirror://gnome/sources/" name "/"
1360 (version-major+minor version) "/"
1361 name "-" version ".tar.xz"))
1364 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1365 (build-system gnu-build-system)
1367 `(("gettext" ,gettext-minimal)
1368 ("glib:bin" ,glib "bin")
1369 ("gobject-introspection" ,gobject-introspection)
1370 ("gtk-doc" ,gtk-doc/stable)
1372 ("pkg-config" ,pkg-config)
1375 `(("gstreamer" ,gstreamer)
1378 `(("gst-plugins-base" ,gst-plugins-base)
1379 ("gst-plugins-good" ,gst-plugins-good)))
1380 (synopsis "GUPnP DLNA for GNOME")
1381 (description "This package provides a small utility library to
1382 support DLNA-related tasks such as media profile guessing, transcoding to a
1383 given profile, etc. DLNA is a subset of UPnP A/V.")
1384 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1385 (license license:lgpl2.0+)))
1387 (define-public gupnp-av
1393 (uri (string-append "mirror://gnome/sources/" name "/"
1394 (version-major+minor version) "/"
1395 name "-" version ".tar.xz"))
1398 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1399 (build-system gnu-build-system)
1401 `(("gettext" ,gettext-minimal)
1402 ("glib:bin" ,glib "bin")
1403 ("gobject-introspection" ,gobject-introspection)
1404 ("gtk-doc" ,gtk-doc/stable)
1406 ("pkg-config" ,pkg-config)))
1410 (synopsis "GUPnP A/V for GNOME")
1411 (description "This package provides a small library for handling
1412 and implementation of UPnP A/V profiles.")
1413 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1414 (license license:lgpl2.0+)))
1416 (define-public libmediaart
1418 (name "libmediaart")
1422 (uri (string-append "mirror://gnome/sources/" name "/"
1423 (version-major+minor version) "/"
1424 name "-" version ".tar.xz"))
1427 "1mlw1qgj8nkd9ll6b6h54r1gfdy3zp8a8xqz7qfyfaj85jjgbph7"))))
1428 (build-system meson-build-system)
1430 `(("glib:bin" ,glib "bin")
1431 ("pkg-config" ,pkg-config)))
1433 `(("gdk-pixbuf" ,gdk-pixbuf)
1434 ("gettext" ,gettext-minimal)
1435 ("gobject-introspection" ,gobject-introspection)
1436 ("gtk+:doc" ,gtk+ "doc")
1438 (synopsis "Media art library for the GNOME desktop")
1440 "The libmediaart library is the foundation for media art caching,
1441 extraction, and lookup for applications on the desktop.")
1442 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1443 (license license:lgpl2.1+)))
1445 (define-public gnome-initial-setup
1447 (name "gnome-initial-setup")
1451 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1452 (version-major+minor version)
1453 "/gnome-initial-setup-" version ".tar.xz"))
1456 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1457 (build-system meson-build-system)
1459 '(#:configure-flags '(;; Enable camera support for user selfie.
1462 #:phases (modify-phases %standard-phases
1463 (add-after 'unpack 'set-gkbd-file-name
1464 (lambda* (#:key inputs #:allow-other-keys)
1465 ;; Allow the "Preview" button in the keyboard layout
1466 ;; selection dialog to display the layout.
1467 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1468 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1469 (("\"gkbd-keyboard-display")
1470 (string-append "\"" libgnomekbd
1471 "/bin/gkbd-keyboard-display")))
1474 `(("gettext" ,gettext-minimal)
1475 ("glib:bin" ,glib "bin")
1476 ("gobject-introspection" ,gobject-introspection)
1477 ("gtk+:bin" ,gtk+ "bin")
1478 ("pkg-config" ,pkg-config)))
1480 `(("accountsservice" ,accountsservice)
1481 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1483 ("geoclue" ,geoclue)
1484 ("gnome-desktop" ,gnome-desktop)
1485 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1486 ("gnome-online-accounts" ,gnome-online-accounts)
1487 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1488 ("gstreamer" ,gstreamer)
1490 ("json-glib" ,json-glib)
1492 ("libgweather" ,libgweather)
1494 ("libsecret" ,libsecret)
1495 ("network-manager" ,network-manager)
1496 ("packagekit" ,packagekit)
1498 ("pwquality" ,libpwquality)
1501 ("webkitgtk" ,webkitgtk)
1502 ("libgnomekbd" ,libgnomekbd)))
1503 (synopsis "Initial setup wizard for GNOME desktop")
1504 (description "This package provides a set-up wizard when a
1505 user logs into GNOME for the first time. It typically provides a
1506 tour of all gnome components and allows the user to set them up.")
1507 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1508 (license license:gpl2)))
1510 (define-public gnome-user-share
1512 (name "gnome-user-share")
1516 (uri (string-append "mirror://gnome/sources/" name "/"
1517 (version-major+minor version) "/"
1518 name "-" version ".tar.xz"))
1521 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1522 (build-system meson-build-system)
1527 ;; Enable nautilus extension for file sharing.
1528 "-Dnautilus_extension=true")))
1530 `(("gettext" ,gettext-minimal)
1531 ("glib:bin" ,glib "bin")
1532 ("gobject-introspection" ,gobject-introspection)
1533 ("gtk+:bin" ,gtk+ "bin")
1534 ("pkg-config" ,pkg-config)
1535 ("yelp-tools" ,yelp-tools)))
1538 ("gnome-bluetooth" ,gnome-bluetooth)
1540 ("libcanberra" ,libcanberra)
1541 ("libnotify" ,libnotify)
1542 ("nautilus" ,nautilus))) ; For nautilus extension.
1543 (synopsis "File sharing for GNOME desktop")
1544 (description "GNOME User Share is a small package that binds together
1545 various free software projects to bring easy to use user-level file
1546 sharing to the masses.")
1547 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1548 (license license:gpl2+)))
1550 (define-public sushi
1556 (uri (string-append "mirror://gnome/sources/" name "/"
1557 (version-major+minor version) "/"
1558 name "-" version ".tar.xz"))
1561 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1562 (build-system meson-build-system)
1566 (modify-phases %standard-phases
1567 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1568 (lambda* (#:key outputs #:allow-other-keys)
1569 (let ((prog (string-append (assoc-ref outputs "out")
1571 ;; Put existing typelibs before sushi's deps, so as to correctly
1574 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1577 `(("glib:bin" ,glib "bin")
1578 ("gettext" ,gettext-minimal)
1579 ("gobject-introspection" ,gobject-introspection)
1580 ("pkg-config" ,pkg-config)))
1582 `(("clutter" ,clutter)
1583 ("clutter-gst" ,clutter-gst)
1584 ("clutter-gtk" ,clutter-gtk)
1585 ("evince" ,evince) ; For file previewing.
1586 ("freetype" ,freetype)
1587 ("gdk-pixbuf" ,gdk-pixbuf)
1589 ("gst-plugins-base" ,gst-plugins-base)
1590 ("gstreamer" ,gstreamer)
1591 ("gtksourceview" ,gtksourceview-3)
1592 ("harfbuzz" ,harfbuzz)
1593 ("libepoxy" ,libepoxy)
1594 ("libmusicbrainz" ,libmusicbrainz)
1595 ("libxml2" ,libxml2)
1597 ("webkitgtk" ,webkitgtk)))
1598 (synopsis "File previewer for the GNOME desktop")
1599 (description "Sushi is a DBus-activated service that allows applications to
1600 preview files on the GNOME desktop.")
1601 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1602 (license license:gpl2+)))
1604 (define-public rygel
1610 (uri (string-append "mirror://gnome/sources/" name "/"
1611 (version-major+minor version) "/"
1612 name "-" version ".tar.xz"))
1615 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1616 (build-system gnu-build-system)
1618 `(("gettext" ,gettext-minimal)
1619 ("gobject-introspection" ,gobject-introspection)
1620 ("gtk-doc" ,gtk-doc/stable)
1621 ("pkg-config" ,pkg-config)
1624 `(("gdk-pixbuf" ,gdk-pixbuf)
1626 ("gstreamer" ,gstreamer)
1627 ("gst-plugins-base" ,gst-plugins-base)
1630 ("gupnp-av" ,gupnp-av)
1631 ("gupnp-dlna" ,gupnp-dlna)
1633 ("libmediaart" ,libmediaart)
1634 ("libsoup" ,libsoup)
1635 ("libxslt" ,libxslt)
1636 ("libunistring" ,libunistring)
1637 ("tracker" ,tracker)))
1638 (synopsis "Share audio, video, and pictures with other devices")
1640 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1641 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1642 pictures, and to control a media player on your home network.
1644 Rygel achieves interoperability with other devices by trying to conform to the
1645 strict requirements of DLNA and by converting media on-the-fly to formats that
1646 client devices can handle.")
1647 (home-page "https://wiki.gnome.org/Projects/Rygel")
1649 ;; For logo (data/icons/*).
1652 license:lgpl2.1+))))
1654 (define-public libnma
1660 (uri (string-append "mirror://gnome/sources/" name "/"
1661 (version-major+minor version) "/"
1662 name "-" version ".tar.xz"))
1665 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1666 (build-system meson-build-system)
1669 (modify-phases %standard-phases
1670 (add-after 'unpack 'patch-docbook-xml
1671 (lambda* (#:key inputs #:allow-other-keys)
1672 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1673 "/xml/dtd/docbook")))
1674 (substitute* "libnma-docs.xml"
1675 (("http://.*/docbookx\\.dtd")
1676 (string-append xmldoc "/docbookx.dtd")))
1679 `(("docbook-xml" ,docbook-xml-4.3)
1680 ("gettext" ,gettext-minimal)
1681 ("glib:bin" ,glib "bin")
1682 ("gtk-doc" ,gtk-doc/stable)
1683 ("gobject-introspection" ,gobject-introspection)
1684 ("pkg-config" ,pkg-config)
1689 ("iso-codes" ,iso-codes)
1690 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1691 ("network-manager" ,network-manager)))
1692 (synopsis "Network Manager's applet library")
1693 (description "Libnma is an applet library for Network Manager. It was
1694 initially part of network-manager-applet and has now become a separate
1696 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1697 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1699 (license license:gpl2+)))
1701 (define-public gnome-menus
1703 (name "gnome-menus")
1707 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1708 (version-major+minor version) "/"
1709 name "-" version ".tar.xz"))
1712 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1713 (build-system gnu-build-system)
1715 `(("gettext" ,gettext-minimal)
1717 ("pkg-config" ,pkg-config)))
1718 (synopsis "Menu support for GNOME desktop")
1719 (description "GNOME Menus contains the libgnome-menu library, the layout
1720 configuration files for the GNOME menu, as well as a simple menu editor.")
1721 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1722 (license license:lgpl2.0+)))
1724 (define-public deja-dup
1730 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1731 version "/deja-dup-" version ".tar.bz2"))
1734 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1735 (build-system meson-build-system)
1740 ;; Otherwise, the RUNPATH will lack the final path component.
1741 (string-append "-Dc_link_args=-Wl,-rpath="
1742 (assoc-ref %outputs "out") "/lib/deja-dup"))
1744 (modify-phases %standard-phases
1745 (add-after 'unpack 'patch-paths
1746 (lambda* (#:key inputs #:allow-other-keys)
1747 (let ((python (assoc-ref inputs "python")))
1748 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1749 "libdeja/tests/scripts/instance-error.test")
1752 (substitute* "libdeja/tests/runner.vala"
1755 (substitute* "libdeja/tests/scripts/instance-error.test"
1756 (("`which python3`")
1757 (string-append python "/bin/python3"))))))
1758 (add-after 'unpack 'patch-libgpg-error
1759 (lambda* (#:key inputs #:allow-other-keys)
1760 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1761 (substitute* "meson.build"
1762 (("(gpgerror_libs = ).*" _ var)
1763 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1765 (add-after 'unpack 'skip-gtk-update-icon-cache
1766 ;; Don't create 'icon-theme.cache'.
1768 (substitute* "data/post-install.sh"
1769 (("gtk-update-icon-cache") "true"))
1772 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1773 ("duplicity" ,duplicity)
1775 ("python-pygobject" ,python-pygobject)
1777 ("json-glib" ,json-glib)
1778 ("libnotify" ,libnotify)
1779 ("libgpg-error" ,libgpg-error)
1780 ("libsecret" ,libsecret)
1781 ("libsoup" ,libsoup)
1782 ("packagekit" ,packagekit)))
1784 `(("appstream-glib" ,appstream-glib)
1785 ("desktop-file-utils" ,desktop-file-utils)
1786 ("gettext" ,gettext-minimal)
1787 ("glib" ,glib "bin") ; for glib-compile-schemas.
1788 ("gobject-introspection" ,gobject-introspection)
1789 ("itstool" ,itstool)
1790 ("pkg-config" ,pkg-config)
1792 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1793 (synopsis "Simple backup tool, for regular encrypted backups")
1795 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1796 uses duplicity as the backend, which supports incremental backups and storage
1797 either on a local, or remote machine via a number of methods.")
1798 (license license:gpl3+)))
1800 (define-public gnome-commander
1802 (name "gnome-commander")
1807 (uri (string-append "mirror://gnome/sources/" name "/"
1808 (version-major+minor version) "/"
1809 "gnome-commander-" version ".tar.xz"))
1811 (base32 "0f7l2pkyh3r1qk4hhavl7387l3bq5my3snpdppiavcpnji28dpa5"))))
1812 (build-system glib-or-gtk-build-system)
1814 `(("desktop-file-utils" ,desktop-file-utils)
1815 ("gettext" ,gettext-minimal)
1816 ("glib:bin" ,glib "bin")
1817 ("gobject-introspection" ,gobject-introspection)
1818 ("googletest" ,googletest)
1819 ("intltool" ,intltool)
1820 ("itstool" ,itstool)
1821 ("libtool" ,libtool)
1822 ("pkg-config" ,pkg-config)))
1825 ("gnome-vfs" ,gnome-vfs)
1827 ("libxml2" ,libxml2)))
1828 (home-page "https://gcmd.github.io/")
1829 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1831 "GNOME Commander is a two-pane graphical file manager using GNOME
1832 libraries. It aims to fulfill the demands of more advanced users who
1833 like to focus on file management, their work through special applications
1834 and running smart commands.")
1835 (license license:gpl2+)))
1837 (define-public gnome-user-docs
1839 (name "gnome-user-docs")
1844 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1845 (version-major+minor version)
1846 "/gnome-user-docs-" version ".tar.xz"))
1848 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1849 (build-system gnu-build-system)
1851 `(("gettext" ,gettext-minimal)
1852 ("itstool" ,itstool)
1853 ("pkg-config" ,pkg-config)
1854 ("xmllint" ,libxml2)))
1855 (synopsis "User documentation for the GNOME desktop")
1857 "The GNOME User Documentation explains how to use the GNOME desktop and its
1858 components. It covers usage and setup of the core GNOME programs by end-users
1859 and system administrators.")
1860 (home-page "https://live.gnome.org/DocumentationProject")
1861 (license license:cc-by3.0)))
1863 (define-public gnome-getting-started-docs
1865 (name "gnome-getting-started-docs")
1870 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1871 (version-major+minor version)
1872 "/gnome-getting-started-docs-" version ".tar.xz"))
1874 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1875 (build-system gnu-build-system)
1877 `(("gettext" ,gettext-minimal)
1878 ("itstool" ,itstool)
1879 ("pkg-config" ,pkg-config)
1880 ("xmllint" ,libxml2)))
1881 (synopsis "Help to get new users started with the GNOME desktop")
1883 "The GNOME Getting Started Documentation contains GNOME's intuitive
1884 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1886 It is normally used together with @command{gnome-initial-setup}, but is also
1887 useful as a tutorial and users' guide for new or less experienced users.")
1888 (home-page "https://live.gnome.org/DocumentationProject")
1889 (license license:cc-by-sa3.0)))
1892 ;; This version from GNOME's repository includes fixes for compiling with
1893 ;; recent versions of the build tools. The latest activity on the
1894 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1896 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1900 (version (git-version "0.97.3" revision commit))
1904 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1906 (file-name (git-file-name name version))
1909 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1910 (build-system meson-build-system)
1912 `(("graphene" ,graphene)
1914 ("libxml2" ,libxml2)
1915 ("libxslt" ,libxslt)
1916 ("poppler" ,poppler)
1917 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1918 ;; ERROR: Unknown method "dependency" in object.
1919 ("python-2" ,python-2)))
1921 `(("appstream-glib" ,appstream-glib)
1922 ("docbook-xsl" ,docbook-xsl)
1923 ("glib" ,glib "bin")
1924 ("intltool" ,intltool)
1925 ("pkg-config" ,pkg-config)))
1926 (home-page "https://wiki.gnome.org/Apps/Dia")
1927 (synopsis "Diagram creation for GNOME")
1928 (description "Dia can be used to draw different types of diagrams, and
1929 includes support for UML static structure diagrams (class diagrams), entity
1930 relationship modeling, and network diagrams. The program supports various file
1931 formats like PNG, SVG, PDF and EPS.")
1932 (license license:gpl2+))))
1934 ;; This is the unstable release, but it is required for the current stable
1935 ;; release of gvfs (1.38.1).
1936 (define-public libgdata
1942 (uri (string-append "mirror://gnome/sources/" name "/"
1943 (version-major+minor version) "/"
1944 name "-" version ".tar.xz"))
1947 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1948 (build-system gnu-build-system)
1951 (modify-phases %standard-phases
1952 (add-before 'check 'set-home-for-tests
1954 (setenv "HOME" "/tmp")))
1955 (add-before 'check 'disable-failing-tests
1957 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1958 ;; They have been removed in libgdata 0.17.6, so just do the same.
1959 (substitute* "gdata/tests/Makefile"
1960 (("picasaweb\\$\\(EXEEXT\\) ") "")))))))
1962 `(("glib:bin" ,glib "bin")
1963 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1964 ("intltool" ,intltool)
1965 ("pkg-config" ,pkg-config)
1966 ("uhttpmock" ,uhttpmock)))
1968 `(("cyrus-sasl" ,cyrus-sasl)
1969 ("glib-networking" ,glib-networking)))
1973 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1974 ("json-glib" ,json-glib)
1975 ("liboauth" ,liboauth)
1976 ("libsoup" ,libsoup)
1977 ("libxml2" ,libxml2)))
1978 (home-page "https://wiki.gnome.org/Projects/libgdata")
1979 (synopsis "Library for accessing online service APIs")
1981 "libgdata is a GLib-based library for accessing online service APIs using
1982 the GData protocol — most notably, Google's services. It provides APIs to
1983 access the common Google services, and has full asynchronous support.")
1984 (license license:lgpl2.1+)))
1986 (define-public libgxps
1992 (uri (string-append "mirror://gnome/sources/" name "/"
1993 (version-major+minor version) "/"
1994 name "-" version ".tar.xz"))
1997 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
1998 (build-system meson-build-system)
2000 `(("gobject-introspection" ,gobject-introspection)
2001 ("pkg-config" ,pkg-config)))
2004 ("libjpeg" ,libjpeg-turbo)
2006 ("libtiff" ,libtiff)))
2008 ;; In Requires of libgxps.pc.
2011 ("libarchive" ,libarchive)))
2012 (home-page "https://wiki.gnome.org/Projects/libgxps")
2013 (synopsis "GObject-based library for handling and rendering XPS documents")
2015 "libgxps is a GObject-based library for handling and rendering XPS
2016 documents. This package also contains binaries that can convert XPS documents
2018 (license license:lgpl2.1+)))
2020 (define-public gnome-characters
2022 (name "gnome-characters")
2027 (uri (string-append "mirror://gnome/sources/"
2028 "gnome-characters/" (version-major+minor version)
2029 "/gnome-characters-" version ".tar.xz"))
2032 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2033 (build-system meson-build-system)
2036 #:phases (modify-phases %standard-phases
2037 (add-after 'install 'wrap
2038 (lambda* (#:key outputs #:allow-other-keys)
2039 ;; GNOME Characters needs Typelib files from GTK and
2041 (wrap-program (string-append (assoc-ref outputs "out")
2042 "/bin/gnome-characters")
2043 `("GI_TYPELIB_PATH" ":" prefix
2044 (,(getenv "GI_TYPELIB_PATH"))))
2047 `(("gettext" ,gettext-minimal)
2048 ("glib:bin" ,glib "bin")
2049 ("gtk+:bin" ,gtk+ "bin")
2050 ("pkg-config" ,pkg-config)
2051 ("python" ,python-minimal)))
2055 ("libunistring" ,libunistring)
2056 ("gnome-desktop" ,gnome-desktop)))
2057 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2058 (synopsis "Find and insert unusual characters")
2059 (description "Characters is a simple utility application to find
2060 and insert unusual characters. It allows you to quickly find the
2061 character you are looking for by searching for keywords.")
2062 (license license:bsd-3)))
2064 (define-public gnome-common
2066 (name "gnome-common")
2071 (uri (string-append "mirror://gnome/sources/" name "/"
2072 (version-major+minor version) "/"
2073 name "-" version ".tar.xz"))
2076 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2077 (build-system gnu-build-system)
2078 (home-page "https://www.gnome.org/")
2079 (synopsis "Bootstrap GNOME modules built from Git")
2080 (description "gnome-common contains various files needed to bootstrap
2081 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2082 can be used to configure a source directory checked out from Git and some
2083 commonly used macros.")
2084 (license license:gpl2+)))
2086 (define-public gnome-contacts
2088 (name "gnome-contacts")
2092 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2093 (version-major+minor version) "/"
2094 name "-" version ".tar.xz"))
2097 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2098 (build-system meson-build-system)
2100 `(#:configure-flags '("-Dcheese=false")
2102 (modify-phases %standard-phases
2103 (add-after 'unpack 'generate-vapis
2104 (lambda* (#:key inputs #:allow-other-keys)
2105 ;; To generate goa's missing .vapi file
2107 (assoc-ref inputs "gnome-online-accounts:lib"))
2109 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2111 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2113 (add-after 'unpack 'skip-gtk-update-icon-cache
2114 ;; Don't create 'icon-theme.cache'.
2116 (substitute* "build-aux/meson_post_install.py"
2117 (("gtk-update-icon-cache") "true"))
2120 `(("glib:bin" ,glib "bin")
2121 ("pkg-config" ,pkg-config)))
2123 `(("docbook-xml" ,docbook-xml)
2124 ("dockbook-xsl" ,docbook-xsl)
2125 ("evolution-data-server" ,evolution-data-server)
2126 ("gettext" ,gettext-minimal)
2127 ("gnome-desktop" ,gnome-desktop)
2128 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2129 ("gobject-introspection" ,gobject-introspection)
2130 ("gst-plugins-base" ,gst-plugins-base)
2133 ("libxslt" ,libxslt)
2134 ("telepathy-glib" ,telepathy-glib)
2138 ("telepathy-mission-control" ,telepathy-mission-control)))
2139 (synopsis "GNOME's integrated address book")
2141 "GNOME Contacts organizes your contact information from online and
2142 offline sources, providing a centralized place for managing your contacts.")
2143 (home-page "https://wiki.gnome.org/Apps/Contacts")
2144 (license license:gpl2+)))
2146 (define-public gnome-desktop
2148 (name "gnome-desktop")
2153 (uri (string-append "mirror://gnome/sources/" name "/"
2154 (version-major+minor version) "/"
2155 name "-" version ".tar.xz"))
2158 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2159 (build-system meson-build-system)
2162 (modify-phases %standard-phases
2163 (add-before 'configure 'patch-path
2164 (lambda* (#:key inputs #:allow-other-keys)
2165 (let ((libc (assoc-ref inputs "libc")))
2166 (substitute* "libgnome-desktop/gnome-languages.c"
2168 (string-append "\"" libc "/bin/locale\"")))
2170 (add-before 'configure 'patch-bubblewrap
2171 (lambda* (#:key inputs #:allow-other-keys)
2172 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2174 (string-append "\"" (which "bwrap") "\","))
2175 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2176 (string-append "\"--ro-bind\", \""
2181 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2183 (add-before 'check 'pre-check
2184 (lambda* (#:key inputs #:allow-other-keys)
2185 ;; Tests require a running X server and locales.
2186 (system "Xvfb :1 &")
2187 (setenv "DISPLAY" ":1")
2188 (setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
2189 (setenv "XDG_CONFIG_HOME" "/tmp")
2190 (setenv "GUIX_LOCPATH"
2191 (search-input-directory inputs
2194 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2195 ("glibc-locales" ,glibc-locales) ; for tests
2196 ("gobject-introspection" ,gobject-introspection)
2197 ("itstool" ,itstool)
2198 ("intltool" ,intltool)
2199 ("pkg-config" ,pkg-config)
2200 ("xmllint" ,libxml2)
2201 ("xorg-server" ,xorg-server-for-tests)))
2203 ;; Required by gnome-desktop-3.0.pc.
2204 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2206 ("iso-codes" ,iso-codes)
2207 ("libseccomp" ,libseccomp)
2209 ("xkeyboard-config" ,xkeyboard-config)))
2211 `(("gdk-pixbuf" ,gdk-pixbuf)
2213 ("bubblewrap" ,bubblewrap)
2214 ("libxext" ,libxext)
2215 ("libxkbfile" ,libxkbfile)
2216 ("libxrandr" ,libxrandr)))
2217 (home-page "https://www.gnome.org/")
2219 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2221 "The libgnome-desktop library provides API shared by several applications
2222 on the desktop, but that cannot live in the platform for various reasons.
2223 There is no API or ABI guarantee, although we are doing our best to provide
2224 stability. Documentation for the API is available with gtk-doc.
2226 The gnome-about program helps find which version of GNOME is installed.")
2227 ; Some bits under the LGPL.
2228 (license license:gpl2+)))
2230 (define-public gnome-doc-utils
2232 (name "gnome-doc-utils")
2237 (uri (string-append "mirror://gnome/sources/" name "/"
2238 (version-major+minor version) "/"
2239 name "-" version ".tar.xz"))
2242 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2243 (build-system gnu-build-system)
2245 `(("intltool" ,intltool)
2246 ("docbook-xml" ,docbook-xml-4.4)
2247 ("python2-libxml2" ,python2-libxml2)
2248 ("libxml2" ,libxml2)
2249 ("libxslt" ,libxslt)
2250 ("pkg-config" ,pkg-config)
2251 ("python-2" ,python-2)))
2252 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2254 "Documentation utilities for the Gnome project")
2256 "Gnome-doc-utils is a collection of documentation utilities for the
2257 Gnome project. It includes xml2po tool which makes it easier to translate
2258 and keep up to date translations of documentation.")
2259 (license license:gpl2+))) ; xslt under lgpl
2261 (define-public gnome-disk-utility
2263 (name "gnome-disk-utility")
2267 (uri (string-append "mirror://gnome/sources/" name "/"
2268 (version-major+minor version) "/"
2269 name "-" version ".tar.xz"))
2272 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2273 (build-system meson-build-system)
2275 '(#:configure-flags '("-Dlogind=libelogind")
2277 (modify-phases %standard-phases
2278 (add-after 'unpack 'skip-gtk-update-icon-cache
2279 ;; Don't create 'icon-theme.cache'.
2281 (substitute* "meson_post_install.py"
2282 (("gtk-update-icon-cache") "true"))
2285 `(("glib:bin" ,glib "bin")
2286 ("intltool" ,intltool)
2287 ("pkg-config" ,pkg-config)
2288 ("docbook-xml" ,docbook-xml)
2289 ("docbook-xsl" ,docbook-xsl)
2290 ("libxml2" ,libxml2)
2291 ("libxslt" ,libxslt)))
2293 `(("elogind" ,elogind)
2295 ("appstream-glib" ,appstream-glib)
2296 ("gnome-settings-daemon" ,gnome-settings-daemon)
2298 ("libcanberra" ,libcanberra)
2299 ("libdvdread" ,libdvdread)
2300 ("libnotify" ,libnotify)
2301 ("libpwquality" ,libpwquality)
2302 ("libsecret" ,libsecret)
2303 ("udisks" ,udisks)))
2304 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2305 (synopsis "Disk management utility for GNOME")
2306 (description "Disk management utility for GNOME.")
2307 (license license:gpl2+)))
2309 (define-public gnome-font-viewer
2311 (name "gnome-font-viewer")
2315 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2316 (version-major+minor version)
2317 "/gnome-font-viewer-" version ".tar.xz"))
2320 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2321 (build-system meson-build-system)
2324 (modify-phases %standard-phases
2325 (add-after 'unpack 'patch-post-install-script
2327 (substitute* "meson-postinstall.sh"
2328 (("update-desktop-database") (which "true")))
2330 (add-after 'install 'patch-thumbnailer
2331 (lambda* (#:key outputs #:allow-other-keys)
2332 (let ((out (assoc-ref outputs "out")))
2336 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2337 (("gnome-thumbnail-font")
2338 (string-append out "/bin/gnome-thumbnail-font"))))
2341 `(("gettext" ,gettext-minimal)
2342 ("glib:bin" ,glib "bin")
2343 ("pkg-config" ,pkg-config)))
2346 ("gnome-desktop" ,gnome-desktop)
2348 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2349 (synopsis "GNOME Fonts")
2350 (description "Application to show you the fonts installed on your computer
2351 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2352 the font would look under various sizes.")
2353 (license license:gpl2+)))
2361 (uri (string-append "mirror://gnome/sources/" name "/"
2362 (version-major+minor version) "/"
2363 name "-" version ".tar.xz"))
2366 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2367 (build-system gnu-build-system)
2370 (modify-phases %standard-phases
2371 ;; These fail because /var/lib/dbus/machine-id is not present in the
2372 ;; build environment.
2373 (add-after 'unpack 'disable-failing-tests
2375 (substitute* "Makefile.in"
2376 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2379 (add-before 'check 'pre-check
2381 ;; Some tests expect to write to $HOME.
2382 (setenv "HOME" "/tmp")
2386 ("gnupg" ,gnupg) ;called as a child process during tests
2387 ("libgcrypt" ,libgcrypt)))
2389 `(("python" ,python-wrapper) ;for tests
2390 ("pkg-config" ,pkg-config)
2391 ("gettext" ,gettext-minimal)
2392 ("glib" ,glib "bin")
2393 ("gobject-introspection" ,gobject-introspection)
2394 ("libxml2" ,libxml2)
2396 ("xsltproc" ,libxslt)))
2397 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2399 `(("p11-kit" ,p11-kit)
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)
2428 `(("autoconf" ,autoconf)
2429 ("automake" ,automake)
2430 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2431 ("gnome-common" ,gnome-common)
2432 ("gtk-doc" ,gtk-doc/stable)
2433 ("intltool" ,intltool)
2434 ("pkg-config" ,pkg-config)
2435 ("libtool" ,libtool)
2438 `(("libxml2" ,libxml2)))
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 `(("libgcrypt" ,libgcrypt)
2483 `(("pkg-config" ,pkg-config)
2484 ("glib" ,glib "bin")
2485 ("intltool" ,intltool)))
2487 ;; Referred to in .h files and .pc.
2489 (home-page "https://www.gnome.org")
2490 (synopsis "Accessing passwords from the GNOME keyring")
2492 "Client library to access passwords from the GNOME keyring.")
2494 ;; Though a couple of files are LGPLv2.1+.
2495 (license license:lgpl2.0+)))
2497 (define-public gnome-keyring
2499 (name "gnome-keyring")
2503 (uri (string-append "mirror://gnome/sources/" name "/"
2504 (version-major+minor version) "/"
2505 name "-" version ".tar.xz"))
2508 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2509 (build-system gnu-build-system)
2511 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2515 (string-append "--with-pkcs11-config="
2516 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2517 (string-append "--with-pkcs11-modules="
2518 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2520 (modify-phases %standard-phases
2521 (add-after 'unpack 'fix-/bin/sh-reference
2523 (substitute* "po/Makefile.in.in"
2524 (("/bin/sh") (which "sh")))
2526 (add-after 'unpack 'fix-docbook
2527 (lambda* (#:key inputs #:allow-other-keys)
2528 (substitute* "docs/Makefile.am"
2529 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2530 (string-append (assoc-ref inputs "docbook-xsl")
2531 "/xml/xsl/docbook-xsl-"
2532 ,(package-version docbook-xsl)
2533 "/manpages/docbook.xsl")))
2534 (setenv "XML_CATALOG_FILES"
2535 (string-append (assoc-ref inputs "docbook-xml")
2536 "/xml/dtd/docbook/catalog.xml"))
2537 ;; Rerun the whole thing to avoid version mismatch ("This is
2538 ;; Automake 1.15.1, but the definition used by this
2539 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2540 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2543 (invoke "automake" "-ac"))))))
2545 `(("libgcrypt" ,libgcrypt)
2546 ("linux-pam" ,linux-pam)
2547 ("openssh" ,openssh)
2551 `(("pkg-config" ,pkg-config)
2552 ("glib" ,glib "bin")
2553 ("glib" ,glib) ; for m4 macros
2554 ("python" ,python-2) ;for tests
2555 ("intltool" ,intltool)
2556 ("autoconf" ,autoconf)
2557 ("automake" ,automake)
2558 ("libxslt" ,libxslt) ;for documentation
2559 ("docbook-xml" ,docbook-xml-4.2)
2560 ("docbook-xsl" ,docbook-xsl)))
2563 (home-page "https://www.gnome.org")
2564 (synopsis "Daemon to store passwords and encryption keys")
2566 "gnome-keyring is a program that keeps passwords and other secrets for
2567 users. It is run as a daemon in the session, similar to ssh-agent, and other
2568 applications locate it via an environment variable or D-Bus.
2570 The program can manage several keyrings, each with its own master password,
2571 and there is also a session keyring which is never stored to disk, but
2572 forgotten when the session ends.")
2573 (license license:lgpl2.1+)))
2575 (define-public evince
2581 (uri "mirror://gnome/sources/evince/40/evince-40.2.tar.xz")
2584 "0xrwls1bhvny8vvd7mfjy9p26zjch0pd6x6j9jn9g2ka6xwyrxqg"))))
2585 (build-system meson-build-system)
2588 #:build-type "release"
2590 '("-Dnautilus=false"
2591 "-Dintrospection=true"
2592 ;; XXX: Generating the documentation fails because the
2593 ;; libevdocument.devhelp document cannot be created. This seems to be
2594 ;; caused by a problem during the XSL transformation.
2597 (modify-phases %standard-phases
2598 (add-after 'unpack 'skip-gtk-update-icon-cache
2599 ;; Don't create 'icon-theme.cache'.
2601 (substitute* "meson_post_install.py"
2602 (("gtk-update-icon-cache") "true"))
2605 `(("libarchive" ,libarchive)
2606 ("libgxps" ,libgxps)
2607 ("libspectre" ,libspectre)
2608 ("djvulibre" ,djvulibre)
2609 ("ghostscript" ,ghostscript)
2610 ("poppler" ,poppler)
2611 ("libtiff" ,libtiff)
2612 ("texlive-libkpathsea" ,texlive-libkpathsea) ; for DVI support
2613 ("gnome-desktop" ,gnome-desktop)
2614 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2616 ("libgnome-keyring" ,libgnome-keyring)
2617 ("adwaita-icon-theme" ,adwaita-icon-theme)
2618 ("gdk-pixbuf" ,gdk-pixbuf)
2623 ("libxml2" ,libxml2)
2626 ("shared-mime-info" ,shared-mime-info)
2628 ("libcanberra" ,libcanberra)
2629 ("libsecret" ,libsecret)
2630 ("libhandy" ,libhandy)))
2632 `(("itstool" ,itstool)
2633 ("intltool" ,intltool)
2634 ("glib" ,glib "bin")
2635 ("gobject-introspection" ,gobject-introspection)
2636 ("pkg-config" ,pkg-config)
2637 ("xmllint" ,libxml2)))
2638 (home-page "https://www.gnome.org/projects/evince/")
2639 (synopsis "GNOME's document viewer")
2641 "Evince is a document viewer for multiple document formats. It
2642 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2643 of Evince is to replace the multiple document viewers that exist
2644 on the GNOME Desktop with a single simple application.")
2645 (license license:gpl2+)))
2647 (define-public gsettings-desktop-schemas
2649 (name "gsettings-desktop-schemas")
2654 (uri (string-append "mirror://gnome/sources/" name "/"
2655 (version-major+minor version) "/"
2656 name "-" version ".tar.xz"))
2659 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2660 (build-system meson-build-system)
2662 '(#:phases (modify-phases %standard-phases
2663 (add-after 'unpack 'patch-schemas
2664 (lambda* (#:key inputs #:allow-other-keys)
2665 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2666 (substitute* (find-files "schemas"
2667 "\\.gschema\\.xml\\.in$")
2668 ;; Provide the correct file name of the default GNOME
2669 ;; background, 'adwaita-timed.xml'.
2670 (("@datadir@/backgrounds/gnome")
2671 (string-append theme "/share/backgrounds/gnome"))
2672 ;; Do not reference fonts, that may not exist.
2673 (("'Source Code Pro 10'") "'Monospace 11'"))
2677 ("gnome-backgrounds" ,gnome-backgrounds)))
2679 `(("gettext" ,gettext-minimal)
2680 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2681 ("gobject-introspection" ,gobject-introspection)
2682 ("pkg-config" ,pkg-config)))
2683 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2685 "GNOME settings for various desktop components")
2687 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2688 for settings shared by various components of the GNOME desktop.")
2689 (license license:lgpl2.1+)))
2691 (define-public python-liblarch
2693 (name "python-liblarch")
2699 (url "https://github.com/getting-things-gnome/liblarch")
2700 (commit (string-append "v" version))))
2701 (file-name (git-file-name name version))
2703 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2704 (build-system python-build-system)
2707 (modify-phases %standard-phases
2708 (add-before 'check 'start-xserver
2709 (lambda* (#:key inputs #:allow-other-keys)
2710 (system (format #f "~a/bin/Xvfb :1 &"
2711 (assoc-ref inputs "xorg-server")))
2712 (setenv "DISPLAY" ":1")
2715 `(("xorg-server" ,xorg-server-for-tests)))
2719 `(("python-pygobject" ,python-pygobject)))
2720 (home-page "https://wiki.gnome.org/Projects/liblarch")
2721 (synopsis "Library to easily handle complex data structures")
2723 "Liblarch is a Python library built to easily handle data structures such
2724 as lists, trees and acyclic graphs. There's also a GTK binding that will
2725 allow you to use your data structure in a @code{Gtk.Treeview}.
2727 Liblarch support multiple views of one data structure and complex filtering.
2728 That way, you have a clear separation between your data themselves (Model)
2729 and how they are displayed (View).")
2730 (license license:lgpl3+)))
2740 (url "https://github.com/getting-things-gnome/gtg")
2741 (commit (string-append "v" version))))
2742 (file-name (git-file-name name version))
2744 (base32 "0b2slm7kjq6q8c7v4m7aqc8m1ynjxn3bl7445srpv1xc0dilq403"))))
2745 (build-system meson-build-system)
2749 (modify-phases %standard-phases
2750 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2751 (lambda* (#:key outputs #:allow-other-keys)
2752 (let ((prog (string-append (assoc-ref outputs "out")
2754 (pylib (string-append (assoc-ref outputs "out")
2756 ,(version-major+minor
2757 (package-version python))
2760 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
2761 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2764 `(("desktop-file-utils" ,desktop-file-utils)
2765 ("gettext" ,gettext-minimal)
2766 ("glib:bin" ,glib "bin")
2767 ("gobject-introspection" ,gobject-introspection)
2768 ("gtk+:bin" ,gtk+ "bin")
2769 ("pkg-config" ,pkg-config)))
2771 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
2772 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2775 ("python-dbus" ,python-dbus)
2776 ("python-liblarch" ,python-liblarch)
2777 ("python-lxml" ,python-lxml)
2778 ("python-pycairo" ,python-pycairo)
2779 ("python-pygobject" ,python-pygobject)
2780 ("python-pyxdg" ,python-pyxdg)))
2781 (home-page "https://wiki.gnome.org/Apps/GTG")
2782 (synopsis "Personal organizer for the GNOME desktop")
2784 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2785 organizer for the GNOME desktop environment inspired by the Getting Things
2786 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2787 and ease of use in mind so it can be used as more than just GTD software.
2788 GTG is intended to help you track everything you need to do and need to
2789 know, from small tasks to large projects.")
2790 (license license:gpl3+)))
2792 (define-public icon-naming-utils
2794 (name "icon-naming-utils")
2799 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2800 version ".tar.bz2"))
2803 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2804 (build-system gnu-build-system)
2807 ("perl-xml-simple" ,perl-xml-simple)))
2810 (modify-phases %standard-phases
2811 (add-after 'install 'set-load-paths
2812 ;; Tell 'icon-name-mapping' where XML::Simple is.
2813 (lambda* (#:key outputs #:allow-other-keys)
2814 (let* ((out (assoc-ref outputs "out"))
2815 (prog (string-append out "/libexec/icon-name-mapping")))
2818 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2820 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2822 "Utility to implement the Freedesktop Icon Naming Specification")
2824 "To help with the transition to the Freedesktop Icon Naming
2825 Specification, the icon naming utility maps the icon names used by the
2826 GNOME and KDE desktops to the icon names proposed in the specification.")
2827 (license license:lgpl2.1+)))
2829 (define-public gnome-icon-theme
2831 (name "gnome-icon-theme")
2836 (uri (string-append "mirror://gnome/sources/" name "/"
2837 (version-major+minor version) "/"
2838 name "-" version ".tar.xz"))
2841 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2842 (build-system gnu-build-system)
2845 ;; Don't create 'icon-theme.cache'.
2846 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2847 (true (string-append coreutils "/bin/true")))
2848 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2850 `(("icon-naming-utils" ,icon-naming-utils)
2851 ("intltool" ,intltool)
2852 ("pkg-config" ,pkg-config)))
2853 (home-page "https://wiki.gnome.org/Personalization")
2854 (synopsis "GNOME icon theme")
2855 (description "Icons for the GNOME desktop.")
2856 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2858 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2859 (define-public adwaita-icon-theme
2860 (package (inherit gnome-icon-theme)
2861 (name "adwaita-icon-theme")
2865 (uri (string-append "mirror://gnome/sources/" name "/"
2866 (version-major version) "/"
2867 name "-" version ".tar.xz"))
2870 "1xpqa1rgmixlp953938d08xvf7kv36h747ysial8g65dsrp46v0b"))))
2872 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2874 (define-public tango-icon-theme
2876 (name "tango-icon-theme")
2880 (uri (string-append "http://tango.freedesktop.org/releases/"
2881 "tango-icon-theme-" version ".tar.bz2"))
2884 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2885 (build-system gnu-build-system)
2887 `(("icon-naming-utils" ,icon-naming-utils)
2888 ("intltool" ,intltool)
2889 ("imagemagick" ,imagemagick)
2890 ("pkg-config" ,pkg-config)))
2891 (home-page "http://tango-project.org/")
2892 (synopsis "Tango icon theme")
2893 (description "This is an icon theme that follows the Tango visual
2895 (license license:public-domain)))
2897 (define-public shared-mime-info
2899 (name "shared-mime-info")
2904 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2905 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2909 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2910 (build-system gnu-build-system)
2912 ;; The build system appears not to be parallel-safe.
2913 '(#:parallel-build? #f))
2916 ("libxml2" ,libxml2)))
2918 `(("gettext" ,gettext-minimal)
2919 ("itstool" ,itstool)
2920 ("pkg-config" ,pkg-config)))
2921 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2922 (synopsis "Database of common MIME types")
2924 "The shared-mime-info package contains the core database of common types
2925 and the update-mime-database command used to extend it. It requires glib2 to
2926 be installed for building the update command. Additionally, it uses intltool
2927 for translations, though this is only a dependency for the maintainers. This
2928 database is translated at Transifex.")
2929 (license license:gpl2+)))
2931 (define-public system-config-printer
2933 (name "system-config-printer")
2939 "https://github.com/OpenPrinting/system-config-printer/releases/"
2940 "download/v" version
2941 "/system-config-printer-" version ".tar.xz"))
2943 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2944 (build-system glib-or-gtk-build-system)
2946 `(#:imported-modules ((guix build python-build-system)
2947 ,@%glib-or-gtk-build-system-modules)
2949 (modify-phases %standard-phases
2950 (add-after 'unpack 'patch-Makefile.am
2952 ;; The Makefile generates some scripts, so set a valid shebang
2953 (substitute* "Makefile.am"
2954 (("/bin/bash") (which "bash")))
2955 (delete-file "configure")
2957 (add-after 'unpack 'patch-docbook-xml
2958 (lambda* (#:key inputs #:allow-other-keys)
2959 ;; Modify the man XML otherwise xmlto tries to access the network
2960 (substitute* "man/system-config-printer.xml"
2961 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2962 (string-append (assoc-ref inputs "docbook-xml")
2963 "/xml/dtd/docbook/")))
2965 (add-after 'install 'wrap-for-python
2966 (@@ (guix build python-build-system) wrap))
2967 (add-after 'install 'wrap
2968 (lambda* (#:key outputs #:allow-other-keys)
2969 (let ((out (assoc-ref outputs "out"))
2970 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2973 (wrap-program program
2974 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2976 (string-append out "/bin/" name))
2977 '("system-config-printer"
2978 "system-config-printer-applet"
2979 "install-printerdriver"
2980 "scp-dbus-service"))))
2983 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2984 ("gobject-introspection" ,gobject-introspection)
2988 ("python-dbus" ,python-dbus)
2989 ("python-pygobject" ,python-pygobject)
2990 ("python-pycups" ,python-pycups)
2991 ("python-requests" ,python-requests)
2992 ("python-pycairo" ,python-pycairo)
2993 ("libnotify" ,libnotify)
2994 ("packagekit" ,packagekit)))
2996 `(("pkg-config" ,pkg-config)
2997 ("desktop-file-utils" ,desktop-file-utils)
2999 ("autoconf" ,autoconf)
3000 ("automake" ,automake)
3001 ("intltool" ,intltool)
3003 ("docbook-xml" ,docbook-xml-4.1.2)
3004 ("docbook-xsl" ,docbook-xsl)
3005 ("libxml2" ,libxml2)))
3006 (home-page "https://github.com/zdohnal/system-config-printer")
3007 (synopsis "CUPS administration tool")
3009 "system-config-printer is a CUPS administration tool. It's written in
3010 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
3012 (license license:gpl2+)))
3014 (define-public hicolor-icon-theme
3016 (name "hicolor-icon-theme")
3021 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3022 "hicolor-icon-theme-" version ".tar.xz"))
3025 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3026 (build-system gnu-build-system)
3028 `(#:tests? #f)) ; no check target
3029 (home-page "https://icon-theme.freedesktop.org/releases/")
3031 "Freedesktop icon theme")
3033 "Freedesktop icon theme.")
3034 (license license:gpl2)))
3036 (define-public libnotify
3043 (uri (string-append "mirror://gnome/sources/" name "/"
3044 (version-major+minor version) "/"
3045 name "-" version ".tar.xz"))
3048 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3049 (build-system meson-build-system)
3052 (modify-phases %standard-phases
3053 (add-after 'unpack 'fix-docbook
3054 (lambda* (#:key inputs #:allow-other-keys)
3055 ;; Don't attempt to download XSL schema.
3056 (substitute* "meson.build"
3057 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3058 /manpages/docbook.xsl")
3059 (string-append (assoc-ref inputs "docbook-xsl")
3060 "/xml/xsl/docbook-xsl-"
3061 ,(package-version docbook-xsl)
3062 "/manpages/docbook.xsl")))
3065 `(;; In Requires of libnotify.pc.
3066 ("gdk-pixbuf" ,gdk-pixbuf)
3070 ("libpng" ,libpng)))
3072 `(("pkg-config" ,pkg-config)
3073 ("glib" ,glib "bin")
3074 ("gobject-introspection" ,gobject-introspection)
3076 ;; For the documentation.
3077 ("gtk-doc" ,gtk-doc/stable)
3078 ("xsltproc" ,libxslt)
3079 ("docbook-xsl" ,docbook-xsl)))
3080 (home-page "https://developer-next.gnome.org/libnotify/")
3082 "GNOME desktop notification library")
3084 "Libnotify is a library that sends desktop notifications to a
3085 notification daemon, as defined in the Desktop Notifications spec. These
3086 notifications can be used to inform the user about an event or display
3087 some form of information without getting in the user's way.")
3088 (license license:lgpl2.1+)))
3090 (define-public libpeas
3097 (uri (string-append "mirror://gnome/sources/" name "/"
3098 (version-major+minor version) "/"
3099 name "-" version ".tar.xz"))
3102 "18xrk1c1ixlhkmykcfiafrl2am470ws687xqvjlq40zwkcp5dx8b"))))
3103 (build-system meson-build-system)
3106 (modify-phases %standard-phases
3107 (add-before 'check 'start-xserver
3108 (lambda* (#:key inputs #:allow-other-keys)
3109 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3111 (setenv "DISPLAY" disp)
3112 (setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
3113 (setenv "XDG_CONFIG_HOME" "/tmp")
3114 ;; Tests require a running X server.
3115 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3121 ("python-pygobject" ,python-pygobject)))
3123 `(("pkg-config" ,pkg-config)
3124 ("gettext" ,gettext-minimal)
3125 ("glib:bin" ,glib "bin")
3126 ("gobject-introspection" ,gobject-introspection)
3127 ("xorg-server" ,xorg-server-for-tests)))
3129 ;; The .pc file "Requires" gobject-introspection.
3130 `(("gobject-introspection" ,gobject-introspection)))
3131 (home-page "https://wiki.gnome.org/Libpeas")
3132 (synopsis "GObject plugin system")
3134 "Libpeas is a gobject-based plugin engine, targeted at giving every
3135 application the chance to assume its own extensibility. It also has a set of
3136 features including, but not limited to: multiple extension points; on-demand
3137 (lazy) programming language support for C, Python and JS; simplicity of the
3139 (license license:lgpl2.0+)))
3141 (define-public gtkglext
3147 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3148 version "/gtkglext-" version ".tar.gz"))
3150 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3151 (patches (search-patches
3152 "gtkglext-disable-disable-deprecated.patch"))))
3153 (build-system gnu-build-system)
3156 (modify-phases %standard-phases
3157 ;; Fix a collision between a local variable and a definition from
3158 ;; glibc's string.h.
3159 (add-after 'unpack 'fix-collision
3161 (substitute* "gdk/gdkglshapes.c"
3162 ((" index") " triangle_index"))
3164 (inputs `(("gtk+" ,gtk+-2)
3169 (native-inputs `(("pkg-config" ,pkg-config)
3170 ("glib" ,glib "bin")))
3171 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3172 (home-page "https://projects.gnome.org/gtkglext")
3173 (synopsis "OpenGL extension to GTK+")
3174 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3175 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3176 API add-ons to make GTK+ widgets OpenGL-capable.")
3177 (license license:lgpl2.1+)))
3179 (define-public glade3
3185 (uri (string-append "mirror://gnome/sources/" name "/"
3186 (version-major+minor version) "/"
3187 name "-" version ".tar.xz"))
3190 "1dxsiz9ahqkxg2a1dw9sbd8jg59y5pdz4c1gvnbmql48gmj8gz4q"))
3191 (patches (search-patches
3192 "glade-gls-set-script-name.patch"
3193 "glade-test-widget-null-icon.patch"))))
3194 (build-system meson-build-system)
3197 (modify-phases %standard-phases
3198 (add-after 'unpack 'skip-gtk-update-icon-cache
3199 ;; Don't create 'icon-theme.cache'.
3201 (substitute* "meson_post_install.py"
3202 (("gtk-update-icon-cache") "true"))))
3203 ;; XXX: Remove it once this issue is fixed:
3204 ;; https://issues.guix.gnu.org/50105.
3205 (add-after 'unpack 'fix-tests
3207 (substitute* "tests/meson.build"
3208 (("\\['modules") "#['modules"))))
3209 (add-before 'configure 'fix-docbook
3210 (lambda* (#:key inputs #:allow-other-keys)
3211 (substitute* "man/meson.build"
3212 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3213 (string-append (assoc-ref inputs "docbook-xsl")
3214 "/xml/xsl/docbook-xsl-"
3215 ,(package-version docbook-xsl)
3216 "/manpages/docbook.xsl")))
3218 (add-before 'check 'pre-check
3220 (setenv "HOME" "/tmp")
3221 ;; Tests require a running X server.
3222 (system "Xvfb :1 &")
3223 (setenv "DISPLAY" ":1")
3227 ("libxml2" ,libxml2)))
3229 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3230 ("intltool" ,intltool)
3231 ("itstool" ,itstool)
3232 ("libxslt" ,libxslt) ;for xsltproc
3233 ("docbook-xml" ,docbook-xml-4.2)
3234 ("docbook-xsl" ,docbook-xsl)
3235 ("glib:bin" ,glib "bin")
3236 ("python-pygobject" ,python-pygobject)
3237 ("gobject-introspection" ,gobject-introspection)
3239 ("pkg-config" ,pkg-config)
3240 ("xorg-server" ,xorg-server-for-tests)))
3241 (home-page "https://glade.gnome.org")
3242 (synopsis "GTK+ rapid application development tool")
3243 (description "Glade is a rapid application development (RAD) tool to
3244 enable quick & easy development of user interfaces for the GTK+ toolkit and
3245 the GNOME desktop environment.")
3246 (license license:lgpl2.0+)
3247 (native-search-paths (list (search-path-specification
3248 (variable "GLADE_CATALOG_SEARCH_PATH")
3249 (files '("share/glade/catalogs")))
3250 (search-path-specification
3251 (variable "GLADE_MODULE_SEARCH_PATH")
3252 (files '("lib/glade/modules")))))))
3254 (define-public libcroco
3260 (uri (string-append "mirror://gnome/sources/" name "/"
3261 (version-major+minor version) "/"
3262 name "-" version ".tar.xz"))
3263 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3266 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3267 (build-system gnu-build-system)
3269 `(("pkg-config" ,pkg-config)))
3272 ("libxml2" ,libxml2)
3274 (home-page "https://github.com/GNOME/libcroco")
3275 (synopsis "CSS2 parsing and manipulation library")
3277 "Libcroco is a standalone CSS2 parsing and manipulation library.
3278 The parser provides a low level event driven SAC-like API and a CSS object
3279 model like API. Libcroco provides a CSS2 selection engine and an experimental
3280 XML/CSS rendering engine.")
3283 (license license:lgpl2.1)))
3285 (define-public libgsf
3291 (uri (string-append "mirror://gnome/sources/" name "/"
3292 (version-major+minor version) "/"
3293 name "-" version ".tar.xz"))
3296 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3297 (build-system glib-or-gtk-build-system)
3298 (outputs '("out" "bin" "doc"))
3303 "--enable-introspection"
3304 (string-append "--with-gir-dir="
3305 (assoc-ref %outputs "out")
3308 (package-version gobject-introspection))
3310 (string-append "--with-typelib-dir="
3311 (assoc-ref %outputs "out")
3312 "/lib/girepository-"
3314 (package-version gobject-introspection))
3316 (string-append "--with-html-dir="
3317 (assoc-ref %outputs "doc")
3318 "/share/gtk-doc/html")
3322 (modify-phases %standard-phases
3323 (add-after 'unpack 'patch-docbook-xml
3324 (lambda* (#:key inputs #:allow-other-keys)
3325 (with-directory-excursion "doc"
3326 (substitute* "gsf-docs.xml"
3327 (("http://www.oasis-open.org/docbook/xml/4.5/")
3328 (string-append (assoc-ref inputs "docbook-xml")
3329 "/xml/dtd/docbook/"))))
3332 `(("docbook-xml" ,docbook-xml)
3333 ("gettext" ,gettext-minimal)
3334 ("gobject-introspection" ,gobject-introspection)
3336 ("perl-xml-parser" ,perl-xml-parser)
3337 ("pkg-config" ,pkg-config)
3338 ("python" ,python-wrapper)))
3341 ("gdk-pixbuf" ,gdk-pixbuf)
3345 ("libxml2" ,libxml2)))
3346 (synopsis "G Structured File Library")
3347 (description "Libgsf aims to provide an efficient extensible I/O abstraction
3348 for dealing with different structured file formats.")
3349 (home-page "https://gitlab.gnome.org/GNOME/libgsf")
3355 license:lgpl2.0+))))
3357 (define-public librsvg
3363 (uri (string-append "mirror://gnome/sources/librsvg/"
3364 (version-major+minor version) "/"
3365 "librsvg-" version ".tar.xz"))
3368 "1g3f8byg5w08fx1bka12mmpl59v6a4q2p827w6m2la6mijq63yzz"))
3369 (modules '((guix build utils)))
3371 '(begin (delete-file-recursively "vendor")))))
3372 (build-system cargo-build-system)
3373 (outputs '("out" "doc"))
3375 `(#:install-source? #f
3377 ((guix build cargo-build-system)
3379 ((guix build gnu-build-system) #:prefix gnu:))
3381 (("rust-bitflags" ,rust-bitflags-1)
3382 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3383 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3384 ("rust-cast" ,rust-cast-0.2)
3385 ("rust-cssparser" ,rust-cssparser-0.27)
3386 ("rust-data-url" ,rust-data-url-0.1)
3387 ("rust-encoding" ,rust-encoding-0.2)
3388 ("rust-float-cmp" ,rust-float-cmp-0.8)
3389 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3390 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3391 ("rust-gio" ,rust-gio-0.8)
3392 ("rust-gio-sys" ,rust-gio-sys-0.9)
3393 ("rust-glib" ,rust-glib-0.9)
3394 ("rust-glib-sys" ,rust-glib-sys-0.9)
3395 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3396 ("rust-itertools" ,rust-itertools-0.9)
3397 ("rust-language-tags" ,rust-language-tags-0.2)
3398 ("rust-libc" ,rust-libc-0.2)
3399 ("rust-locale-config" ,rust-locale-config-0.3)
3400 ("rust-markup5ever" ,rust-markup5ever-0.10)
3401 ("rust-nalgebra" ,rust-nalgebra-0.21)
3402 ("rust-num-traits" ,rust-num-traits-0.2)
3403 ("rust-once-cell" ,rust-once-cell-1)
3404 ("rust-pkg-config" ,rust-pkg-config-0.3)
3405 ("rust-pango" ,rust-pango-0.8)
3406 ("rust-pango-sys" ,rust-pango-sys-0.9)
3407 ("rust-pangocairo" ,rust-pangocairo-0.9)
3408 ("rust-rayon" ,rust-rayon-1)
3409 ("rust-rctree" ,rust-rctree-0.3)
3410 ("rust-rgb" ,rust-rgb-0.8)
3411 ("rust-regex" ,rust-regex-1)
3412 ("rust-selectors" ,rust-selectors-0.22)
3413 ("rust-string-cache" ,rust-string-cache-0.8)
3414 ("rust-tinyvec" ,rust-tinyvec-0.3)
3415 ("rust-url" ,rust-url-2)
3416 ("rust-xml5ever" ,rust-xml5ever-0.16))
3417 #:cargo-development-inputs
3418 (("rust-assert-cmd" ,rust-assert-cmd-1)
3419 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3420 ("rust-chrono" ,rust-chrono-0.4)
3421 ("rust-criterion" ,rust-criterion-0.3)
3422 ("rust-float-cmp" ,rust-float-cmp-0.8)
3423 ("rust-lopdf" ,rust-lopdf-0.26)
3424 ("rust-png" ,rust-png-0.16)
3425 ("rust-predicates" ,rust-predicates-1)
3426 ("rust-tempfile" ,rust-tempfile-3))
3428 (modify-phases %standard-phases
3429 (add-after 'unpack 'patch-docbook-xml
3430 (lambda* (#:key inputs #:allow-other-keys)
3431 (with-directory-excursion "doc"
3432 (substitute* "rsvg-docs.xml"
3433 (("http://www.oasis-open.org/docbook/xml/4.3/")
3434 (string-append (assoc-ref inputs "docbook-xml")
3435 "/xml/dtd/docbook/"))))))
3436 (add-after 'unpack 'prepare-for-build
3438 ;; In lieu of #:make-flags
3439 (setenv "CC" ,(cc-for-target))
3440 ;; Something about the build environment resists building
3441 ;; successfully with the '--locked' flag.
3442 (substitute* '("Makefile.am" "Makefile.in")
3443 (("--locked") ""))))
3444 (add-before 'configure 'pre-configure
3446 (substitute* "gdk-pixbuf-loader/Makefile.in"
3447 ;; By default the gdk-pixbuf loader is installed under
3448 ;; gdk-pixbuf's prefix. Work around that.
3449 (("gdk_pixbuf_moduledir = .*$")
3450 (string-append "gdk_pixbuf_moduledir = "
3451 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3453 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3454 (("gdk_pixbuf_cache_file = .*$")
3455 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))))
3456 (add-after 'configure 'gnu-configure
3457 (lambda* (#:key outputs #:allow-other-keys #:rest args)
3458 (apply (assoc-ref gnu:%standard-phases 'configure)
3460 (list "--disable-static"
3462 (string-append "--with-html-dir="
3463 (assoc-ref outputs "doc")
3464 "/share/gtk-doc/html"))
3466 (add-after 'configure 'dont-vendor-self
3467 (lambda* (#:key vendor-dir #:allow-other-keys)
3468 ;; Don't keep the whole tarball in the vendor directory
3469 (delete-file-recursively
3470 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))))
3472 (assoc-ref gnu:%standard-phases 'build))
3473 (add-before 'check 'ignore-failing-tests
3474 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3476 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3477 (("fn background_color_option_invalid_color_yields_error" all)
3478 (string-append "#[ignore] " all))
3479 (("fn empty_input_yields_error" all)
3480 (string-append "#[ignore] " all))
3481 (("fn empty_svg_yields_error" all)
3482 (string-append "#[ignore] " all))
3483 (("fn env_source_data_epoch_empty" all)
3484 (string-append "#[ignore] " all))
3485 (("fn env_source_data_epoch_no_digits" all)
3486 (string-append "#[ignore] " all))
3487 (("fn env_source_data_epoch_trailing_garbage" all)
3488 (string-append "#[ignore] " all))
3489 (("fn export_id_option_error" all)
3490 (string-append "#[ignore] " all))
3491 (("fn huge_zoom_factor_yields_error" all)
3492 (string-append "#[ignore] " all))
3493 (("fn multiple_input_files_not_allowed_for_png_output" all)
3494 (string-append "#[ignore] " all))
3495 (("fn stylesheet_option_error" all)
3496 (string-append "#[ignore] " all)))))
3499 ((assoc-ref gnu:%standard-phases 'check)
3500 #:test-target "check")))
3502 (assoc-ref gnu:%standard-phases 'install)))))
3504 `(("docbook-xml" ,docbook-xml-4.3)
3505 ("glib" ,glib "bin")
3506 ("gobject-introspection" ,gobject-introspection)
3507 ("pkg-config" ,pkg-config)
3508 ("python" ,python-wrapper)
3513 ("fontconfig" ,fontconfig)
3514 ("freetype" ,freetype)
3515 ("harfbuzz" ,harfbuzz)
3516 ("libcroco" ,libcroco)
3518 ("libxml2" ,libxml2)
3522 ("gdk-pixbuf" ,gdk-pixbuf)
3524 (synopsis "SVG rendering library")
3525 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3526 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3527 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3529 (home-page "https://wiki.gnome.org/LibRsvg")
3530 (license license:lgpl2.1+)))
3532 (define-public libidl
3538 (uri (string-append "mirror://gnome/sources/libIDL/"
3539 (version-major+minor version) "/"
3540 "libIDL-" version ".tar.bz2"))
3543 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3544 (build-system gnu-build-system)
3545 (inputs `(("glib" ,glib)))
3547 `(("pkg-config" ,pkg-config)
3550 (home-page "http://freecode.com/projects/libidl")
3551 (synopsis "Create trees of CORBA Interface Definition Language files")
3552 (description "Libidl is a library for creating trees of CORBA Interface
3553 Definition Language (idl) files, which is a specification for defining
3554 portable interfaces. libidl was initially written for orbit (the orb from the
3555 GNOME project, and the primary means of libidl distribution). However, the
3556 functionality was designed to be as reusable and portable as possible.")
3557 (properties `((upstream-name . "libIDL")))
3558 (license license:lgpl2.0+)))
3561 (define-public orbit2
3567 (uri (let ((upstream-name "ORBit2"))
3568 (string-append "mirror://gnome/sources/" upstream-name "/"
3569 (version-major+minor version) "/"
3570 upstream-name "-" version ".tar.bz2")))
3573 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3574 (build-system gnu-build-system)
3576 `(;; The "timeout-server" test hangs when run in parallel.
3577 #:parallel-tests? #f
3579 '(;; We don't need static libraries, plus they don't build reproducibly
3580 ;; (non-deterministic ordering of .o files in the archive.)
3583 ;; The programmer kindly gives us a hook to turn off deprecation
3585 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3586 ;; ... which they then completly ignore !!
3588 (modify-phases %standard-phases
3589 (add-before 'configure 'ignore-deprecations
3591 (substitute* "linc2/src/Makefile.in"
3592 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3594 (inputs `(("glib" ,glib)
3595 ("libidl" ,libidl)))
3597 `(("pkg-config" ,pkg-config)))
3598 (home-page "https://projects.gnome.org/orbit2/")
3599 (synopsis "CORBA 2.4-compliant Object Request Broker")
3600 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3601 featuring mature C, C++ and Python bindings.")
3602 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3603 ;; a version. SOME of the code files have licence notices for GPLv2+.
3604 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3605 (license license:gpl2+)
3606 (properties `((upstream-name . "ORBit2")))))
3609 (define-public libbonobo
3615 (uri (string-append "mirror://gnome/sources/" name "/"
3616 (version-major+minor version)
3617 "/" name "-" version ".tar.bz2"))
3619 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3620 (patches (search-patches
3621 "libbonobo-activation-test-race.patch"))))
3622 (build-system gnu-build-system)
3624 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3626 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3627 ;; ... which they then completly ignore !!
3629 (modify-phases %standard-phases
3630 (add-before 'configure 'ignore-deprecations
3632 (substitute* "activation-server/Makefile.in"
3633 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3636 ;; There's apparently a race condition between the server stub
3637 ;; generation and linking of the example under 'samples/echo' that can
3638 ;; lead do undefined references when building in parallel, as reported
3639 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3640 ;; Thus, disable parallel builds.
3641 #:parallel-build? #f))
3642 (inputs `(("popt" ,popt)
3643 ("libxml2" ,libxml2)))
3644 ;; The following are Required by the .pc file
3647 ("orbit2" ,orbit2)))
3649 `(("intltool" ,intltool)
3650 ("pkg-config" ,pkg-config)
3651 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3654 (home-page "https://developer.gnome.org/libbonobo/")
3655 (synopsis "Framework for creating reusable components for use in GNOME applications")
3656 (description "Bonobo is a framework for creating reusable components for
3657 use in GNOME applications, built on top of CORBA.")
3658 ;; Licence not explicitly stated. Source files contain no licence notices.
3659 ;; Tarball contains text of both GPLv2 and LGPLv2
3660 ;; GPLv2 covers both conditions
3661 (license license:gpl2+)))
3664 (define-public gconf
3671 (let ((upstream-name "GConf"))
3672 (string-append "mirror://gnome/sources/" upstream-name "/"
3673 (version-major+minor version) "/"
3674 upstream-name "-" version ".tar.xz")))
3676 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3677 (build-system gnu-build-system)
3678 (inputs `(("dbus-glib" ,dbus-glib)
3679 ("libxml2" ,libxml2)))
3680 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3681 ("orbit2" ,orbit2)))
3683 `(("intltool" ,intltool)
3684 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3685 ("pkg-config" ,pkg-config)))
3686 (home-page "https://projects.gnome.org/gconf/")
3687 (synopsis "Store application preferences")
3688 (description "Gconf is a system for storing application preferences. It
3689 is intended for user preferences; not arbitrary data storage.")
3690 (license license:lgpl2.0+)
3691 (properties '((upstream-name . "GConf")))))
3694 (define-public gnome-mime-data
3696 (name "gnome-mime-data")
3700 (uri (string-append "mirror://gnome/sources/" name "/"
3701 (version-major+minor version) "/"
3702 name "-" version ".tar.bz2"))
3705 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3706 (build-system gnu-build-system)
3709 ("intltool" ,intltool)))
3711 '(#:phases (modify-phases %standard-phases
3712 (add-after 'configure 'use-our-intltool
3714 ;; Do not use the bundled intltool commands, which lack
3715 ;; the "dotless @INC" fixes of our 'intltool' package.
3716 (substitute* (find-files "." "^Makefile$")
3717 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3718 (string-append "INTLTOOL_" tool " = intltool-"
3719 (string-downcase tool) "\n")))
3721 (home-page "https://www.gnome.org")
3722 (synopsis "Base MIME and Application database for GNOME")
3723 (description "GNOME Mime Data is a module which contains the base MIME
3724 and Application database for GNOME. The data stored by this module is
3725 designed to be accessed through the MIME functions in GnomeVFS.")
3726 (license license:gpl2+)))
3729 (define-public gnome-vfs
3735 (uri (string-append "mirror://gnome/sources/" name "/"
3736 (version-major+minor version) "/"
3737 name "-" version ".tar.bz2"))
3740 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3741 (build-system gnu-build-system)
3744 (modify-phases %standard-phases
3745 (add-before 'configure 'ignore-deprecations
3747 (substitute* '("libgnomevfs/Makefile.in"
3748 "daemon/Makefile.in")
3749 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3751 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3753 (substitute* "test/test-async-cancel.c"
3754 (("EXIT_FAILURE") "77"))
3756 (inputs `(("libxml2" ,libxml2)
3757 ("dbus-glib" ,dbus-glib)
3759 ("gnome-mime-data" ,gnome-mime-data)
3762 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3763 ("intltool" ,intltool)
3764 ("pkg-config" ,pkg-config)))
3765 (home-page "https://developer.gnome.org/gnome-vfs/")
3766 (synopsis "Access files and folders in GNOME applications")
3768 "GnomeVFS is the core library used to access files and folders in GNOME
3769 applications. It provides a file system abstraction which allows applications
3770 to access local and remote files with a single consistent API.")
3771 (license license:lgpl2.0+)))
3775 (define-public libgnome
3781 (uri (string-append "mirror://gnome/sources/" name "/"
3782 (version-major+minor version) "/"
3783 name "-" version ".tar.bz2"))
3786 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3787 (patches (search-patches "libgnome-encoding.patch"))))
3788 (build-system gnu-build-system)
3791 (modify-phases %standard-phases
3792 (add-before 'configure 'enable-deprecated
3794 (substitute* "libgnome/Makefile.in"
3795 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3797 (inputs `(("libxml2" ,libxml2)))
3799 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3800 ("intltool" ,intltool)
3801 ("pkg-config" ,pkg-config)))
3802 ;; The following are listed as Required in the .pc file
3803 ;; (except for libcanberra -- which seems to be oversight on the part
3804 ;; of the upstream developers -- anything that links against libgnome,
3805 ;; must also link against libcanberra
3807 `(("libcanberra" ,libcanberra)
3808 ("libbonobo" ,libbonobo)
3810 ("gnome-vfs" ,gnome-vfs)
3811 ("popt" ,popt))) ;gnome-program.h includes popt.h
3812 (home-page "https://developer.gnome.org/libgnome/")
3813 (synopsis "Useful routines for building applications")
3814 (description "The libgnome library provides a number of useful routines
3815 for building modern applications, including session management, activation of
3816 files and URIs, and displaying help.")
3817 (license license:lgpl2.0+)))
3820 (define-public libart-lgpl
3822 (name "libart-lgpl")
3826 (uri (let ((upstream-name "libart_lgpl"))
3827 (string-append "mirror://gnome/sources/" upstream-name "/"
3828 (version-major+minor version) "/"
3829 upstream-name "-" version ".tar.bz2")))
3832 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3833 (build-system gnu-build-system)
3835 `(("pkg-config" ,pkg-config)))
3836 (home-page "https://people.gnome.org/~mathieu/libart")
3837 (synopsis "2D drawing library")
3838 (description "Libart is a 2D drawing library intended as a
3839 high-quality vector-based 2D library with antialiasing and alpha composition.")
3840 (license license:lgpl2.0+)))
3844 (define-public libgnomecanvas
3846 (name "libgnomecanvas")
3850 (uri (string-append "mirror://gnome/sources/" name "/"
3851 (version-major+minor version) "/"
3852 name "-" version ".tar.gz"))
3855 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3856 (build-system gnu-build-system)
3857 ;; Mentioned as Required in the .pc file
3858 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3861 `(("intltool" ,intltool)
3862 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3863 ("pkg-config" ,pkg-config)))
3864 (home-page "https://developer.gnome.org/libgnomecanvas/")
3865 (synopsis "Flexible widget for creating interactive structured graphics")
3866 (description "The GnomeCanvas widget provides a flexible widget for
3867 creating interactive structured graphics.")
3868 (license license:lgpl2.0+)))
3870 (define-public libgnomecanvasmm
3872 (name "libgnomecanvasmm")
3876 (uri (string-append "mirror://gnome/sources/" name "/"
3877 (version-major+minor version) "/"
3878 name "-" version ".tar.bz2"))
3881 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3882 (build-system gnu-build-system)
3883 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3885 `(("gtkmm-2" ,gtkmm-2)
3886 ("pkg-config" ,pkg-config)))
3887 (home-page "https://gtkmm.org")
3888 (synopsis "C++ bindings to the GNOME Canvas library")
3889 (description "C++ bindings to the GNOME Canvas library.")
3890 (license license:lgpl2.0+)))
3892 (define-public libgnomeui
3898 (uri (string-append "mirror://gnome/sources/" name "/"
3899 (version-major+minor version) "/"
3900 name "-" version ".tar.bz2"))
3901 (patches (search-patches "libgnomeui-utf8.patch"))
3904 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3905 (build-system gnu-build-system)
3906 ;; Mentioned as Required in the .pc file
3907 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3908 ("libgnome" ,libgnome)
3909 ("libgnomecanvas" ,libgnomecanvas)
3910 ("libgnome-keyring" ,libgnome-keyring)))
3911 (inputs `(("libjpeg" ,libjpeg-turbo)
3913 ("libbonobo" ,libbonobo)
3914 ("libxml2" ,libxml2)
3915 ("libglade" ,libglade)))
3917 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3918 ("intltool" ,intltool)
3919 ("pkg-config" ,pkg-config)))
3920 (home-page "https://developer.gnome.org/libgnomeui/")
3921 (synopsis "Additional widgets for applications")
3922 (description "The libgnomeui library provides additional widgets for
3923 applications. Many of the widgets from libgnomeui have already been
3925 (license license:lgpl2.0+)))
3927 (define-public libglade
3933 (uri (string-append "mirror://gnome/sources/" name "/"
3934 (version-major+minor version) "/"
3935 name "-" version ".tar.bz2"))
3938 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3939 (build-system gnu-build-system)
3941 `(("python" ,python))) ;; needed for the optional libglade-convert program
3943 `(("gtk+-2" ,gtk+-2)
3944 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3946 `(("pkg-config" ,pkg-config)))
3947 (home-page "https://developer.gnome.org/libglade")
3948 (synopsis "Load glade interfaces and access the glade built widgets")
3949 (description "Libglade is a library that provides interfaces for loading
3950 graphical interfaces described in glade files and for accessing the
3951 widgets built in the loading process.")
3952 (license license:gpl2+))) ; This is correct. GPL not LGPL
3954 (define-public libbonoboui
3956 (name "libbonoboui")
3960 (uri (string-append "mirror://gnome/sources/" name "/"
3961 (version-major+minor version) "/"
3962 name "-" version ".tar.bz2"))
3965 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
3966 (build-system gnu-build-system)
3969 (modify-phases %standard-phases
3970 (add-before 'check 'start-xserver
3971 (lambda* (#:key inputs #:allow-other-keys)
3972 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3975 (setenv "HOME" (getcwd))
3976 (setenv "DISPLAY" disp)
3977 ;; There must be a running X server and make check doesn't start one.
3978 ;; Therefore we must do it.
3979 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
3980 ;; Mentioned as Required by the .pc file
3981 (propagated-inputs `(("libxml2" ,libxml2)))
3984 ("pangox-compat" ,pangox-compat)
3985 ("libgnome" ,libgnome)
3986 ("libgnomecanvas" ,libgnomecanvas)
3987 ("libglade" ,libglade)))
3989 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
3990 ("intltool" ,intltool)
3991 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
3992 ("pkg-config" ,pkg-config)))
3993 (home-page "https://developer.gnome.org/libbonoboui/")
3994 (synopsis "Some user interface controls using Bonobo")
3995 (description "The Bonobo UI library provides a number of user interface
3996 controls using the Bonobo component framework.")
3997 (license license:lgpl2.0+)))
3999 (define-public libwnck
4005 (uri (string-append "mirror://gnome/sources/" name "/"
4006 (version-major+minor version) "/"
4007 name "-" version ".tar.xz"))
4010 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4011 (build-system meson-build-system)
4013 `(("pkg-config" ,pkg-config)
4014 ("glib" ,glib "bin") ; for glib-mkenums
4015 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4016 ("intltool" ,intltool)))
4019 ("libxres" ,libxres)
4020 ("startup-notification" ,startup-notification)))
4021 (home-page "https://developer.gnome.org/libwnck/")
4022 (synopsis "Window Navigator Construction Kit")
4024 "Libwnck is the Window Navigator Construction Kit, a library for use in
4025 writing pagers, tasklists, and more generally applications that are dealing
4026 with window management. It tries hard to respect the Extended Window Manager
4027 Hints specification (EWMH).")
4028 (license license:lgpl2.0+)))
4030 ;; stable version for gtk2, required by xfwm4.
4031 (define-public libwnck-2
4032 (package (inherit libwnck)
4037 (uri (string-append "mirror://gnome/sources/" name "/"
4038 (version-major+minor version) "/"
4039 name "-" version ".tar.xz"))
4042 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4043 (build-system gnu-build-system)
4045 `(("pkg-config" ,pkg-config)
4046 ("intltool" ,intltool)))
4049 ("libxres" ,libxres)
4050 ("startup-notification" ,startup-notification)))))
4052 (define-public goffice
4058 (uri (string-append "mirror://gnome/sources/goffice/"
4059 (version-major+minor version) "/"
4060 "goffice-" version ".tar.xz"))
4062 (base32 "1p5zbj7cbcfcxd6l8pnph54p6ah1bwf146y810j4bcq8ggf3sp1c"))))
4063 (build-system gnu-build-system)
4065 "doc")) ; 4.0 MiB of gtk-doc
4067 '(#:configure-flags (list (string-append "--with-html-dir="
4068 (assoc-ref %outputs "doc")
4069 "/share/gtk-doc/html"))))
4073 ("librsvg" ,librsvg)
4074 ("libxslt" ,libxslt)
4075 ("libxml2" ,libxml2)))
4077 `(("intltool" ,intltool)
4078 ("glib" ,glib "bin")
4079 ("pkg-config" ,pkg-config)))
4080 (home-page "https://developer.gnome.org/goffice/")
4081 (synopsis "Document-centric objects and utilities")
4082 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4084 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4086 (list license:gpl2 license:gpl3))))
4088 (define-public goffice-0.8
4089 (package (inherit goffice)
4093 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4094 (version-major+minor version) "/"
4095 (package-name goffice) "-" version ".tar.xz"))
4097 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4100 (modify-phases %standard-phases
4101 (add-after 'unpack 'fix-pcre-check
4103 ;; Only glib.h can be included directly. See
4104 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4105 (substitute* "configure"
4106 (("glib/gregex\\.h") "glib.h")) #t)))
4108 ,@(package-arguments goffice)))
4110 ;; libgoffice-0.8.pc mentions libgsf-1
4111 `(("libgsf" ,libgsf)))
4114 ,@(alist-delete "gtk" (package-inputs goffice))))))
4116 (define-public gnumeric
4122 (uri (string-append "mirror://gnome/sources/gnumeric/"
4123 (version-major+minor version) "/"
4124 "gnumeric-" version ".tar.xz"))
4127 "1f0lrj5msg80pgjp38jj6rddf352gwddgip7z4lki66n3fx1k23m"))))
4128 (build-system glib-or-gtk-build-system)
4130 `(;; The gnumeric developers don't worry much about failing tests.
4131 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4134 (modify-phases %standard-phases
4136 'configure 'pre-conf
4137 (lambda* (#:key outputs #:allow-other-keys)
4138 ;; Make install tries to write into the directory of goffice
4139 ;; I am informed that this only affects the possibility to embed a
4140 ;; spreadsheet inside an Abiword document. So presumably when we
4141 ;; package Abiword we'll have to refer it to this directory.
4142 (substitute* "configure"
4143 (("^GOFFICE_PLUGINS_DIR=.*")
4144 (string-append "GOFFICE_PLUGINS_DIR="
4145 (assoc-ref outputs "out")
4146 "/goffice/plugins"))))))))
4150 ("goffice" ,goffice)
4152 ("librsvg" ,librsvg)
4153 ("libxml2" ,libxml2)
4154 ("libxslt" ,libxslt)
4156 ("python-pygobject" ,python-pygobject)
4160 ("docbook-xml" ,docbook-xml)
4161 ("intltool" ,intltool)
4162 ("itstool" ,itstool)
4163 ("glib:bin" ,glib "bin")
4164 ("pkg-config" ,pkg-config)))
4165 (home-page "http://www.gnumeric.org")
4166 (synopsis "Spreadsheet application")
4168 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4169 interoperable with other spreadsheet applications. It has a vast array of
4170 features beyond typical spreadsheet functionality, such as support for linear
4171 and non-linear solvers, statistical analysis, and telecommunication
4174 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4175 (list license:gpl2 license:gpl3))))
4177 (define-public drawing
4185 (url "https://github.com/maoschanz/drawing")
4187 (file-name (git-file-name name version))
4189 (base32 "0wz9p47riyy3h8b0sqsb6bx416hc6d1a1wyzlfmsxkrqrkwcjcm8"))))
4190 (build-system meson-build-system)
4194 (modify-phases %standard-phases
4195 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4196 (lambda* (#:key outputs #:allow-other-keys)
4197 (let ((prog (string-append (assoc-ref outputs "out")
4199 (pylib (string-append (assoc-ref outputs "out")
4201 ,(version-major+minor
4202 (package-version python))
4205 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
4206 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
4208 `(("desktop-file-utils" ,desktop-file-utils)
4209 ("gettext" ,gettext-minimal)
4210 ("glib:bin" ,glib "bin")
4211 ("gobject-introspection" ,gobject-introspection)
4212 ("gtk+:bin" ,gtk+ "bin")
4213 ("pkg-config" ,pkg-config)))
4215 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
4216 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4219 ("python-pycairo" ,python-pycairo)
4220 ("python-pygobject" ,python-pygobject)))
4221 (home-page "https://maoschanz.github.io/drawing/")
4222 (synopsis "Basic image editor for GNOME")
4224 "Drawing is a basic image editor aiming at the GNOME desktop.")
4225 (license license:gpl3+)))
4227 (define-public gnome-themes-standard
4229 (name "gnome-themes-standard")
4234 (uri (string-append "mirror://gnome/sources/" name "/"
4235 (version-major+minor version) "/" name "-"
4239 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4240 (build-system gnu-build-system)
4243 ;; Don't create 'icon-theme.cache'.
4244 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4245 (true (string-append coreutils "/bin/true")))
4246 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4250 ("librsvg" ,librsvg)
4251 ("libxml2" ,libxml2)
4254 `(("intltool" ,intltool)
4255 ("glib:bin" ,glib "bin")
4256 ("pkg-config" ,pkg-config)))
4257 (home-page "https://launchpad.net/gnome-themes-standard")
4258 (synopsis "Default GNOME 3 themes")
4260 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4261 (license license:lgpl2.1+)))
4263 (define-public seahorse
4270 (uri (string-append "mirror://gnome/sources/" name "/"
4271 (version-major+minor version) "/" name "-"
4274 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4275 (build-system meson-build-system)
4279 (modify-phases %standard-phases
4280 (add-after 'unpack 'skip-gtk-update-icon-cache
4281 ;; Don't create 'icon-theme.cache'.
4283 (substitute* "build-aux/meson_post_install.py"
4284 (("gtk-update-icon-cache") "true"))
4291 ("openldap" ,openldap)
4292 ("openssh" ,openssh)
4294 ("libhandy" ,libhandy-0.0)
4295 ("libpwquality" ,libpwquality)
4296 ("libsecret" ,libsecret)
4297 ("libsoup" ,libsoup)))
4299 `(("gettext" ,gettext-minimal)
4300 ("glib:bin" ,glib "bin")
4301 ("itstool" ,itstool)
4302 ("pkg-config" ,pkg-config)
4304 ("xmllint" ,libxml2)))
4305 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4306 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4308 "Seahorse is a GNOME application for managing encryption keys and
4309 passwords in the GNOME keyring.")
4310 (license license:gpl2+)))
4318 (uri (string-append "mirror://gnome/sources/vala/"
4319 (version-major+minor version) "/"
4320 "vala-" version ".tar.xz"))
4323 "12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"))))
4324 (build-system glib-or-gtk-build-system)
4326 '(#:configure-flags '("--enable-coverage")
4328 (modify-phases %standard-phases
4329 (add-after 'unpack 'patch-docbook-xml
4330 (lambda* (#:key inputs #:allow-other-keys)
4331 (with-directory-excursion "doc/manual"
4332 (substitute* '("manual.xml" "version.xml.in")
4333 (("http://www.oasis-open.org/docbook/xml/4.4/")
4334 (string-append (assoc-ref inputs "docbook-xml")
4335 "/xml/dtd/docbook/"))))
4337 (add-before 'check 'pre-check
4340 (substitute* "valadoc/tests/libvaladoc\
4341 /tests-extra-environment.sh"
4342 (("export PKG_CONFIG_PATH=" m)
4343 (string-append m "$PKG_CONFIG_PATH:"))))))))
4346 ("dbus" ,dbus) ; for dbus tests
4347 ("docbook-xml" ,docbook-xml-4.4)
4348 ("docbook-xsl" ,docbook-xsl)
4350 ("gobject-introspection" ,gobject-introspection) ; for gir tests
4351 ("help2man" ,help2man)
4353 ("pkg-config" ,pkg-config)
4354 ("xsltproc" ,libxslt)))
4356 `(("glib" ,glib) ; required by libvala-0.40.pc
4357 ("libgvc" ,graphviz)))
4358 (home-page "https://wiki.gnome.org/Projects/Vala/")
4359 (synopsis "Compiler using the GObject type system")
4360 (description "Vala is a programming language using modern high level
4361 abstractions without imposing additional runtime requirements and without using
4362 a different ABI compared to applications and libraries written in C. Vala uses
4363 the GObject type system and has additional code generation routines that make
4364 targeting the GNOME stack simple.")
4365 (license license:lgpl2.1+)))
4373 (uri (string-append "mirror://gnome/sources/vte/"
4374 (version-major+minor version) "/"
4375 "vte-" version ".tar.xz"))
4378 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4379 (build-system meson-build-system)
4383 "-D_systemd=false")))
4385 `(("pkg-config" ,pkg-config)
4386 ("gettext" ,gettext-minimal)
4388 ("gobject-introspection" ,gobject-introspection)
4389 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4391 ("xmllint" ,libxml2)))
4393 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4394 ("gnutls" ,gnutls) ; ditto
4395 ("pcre2" ,pcre2))) ; ditto
4396 (home-page "https://www.gnome.org/")
4397 (synopsis "Virtual Terminal Emulator")
4399 "VTE is a library (libvte) implementing a terminal emulator widget for
4400 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4401 gnome-terminal, but can also be used to embed a console/terminal in games,
4402 editors, IDEs, etc.")
4403 (license license:lgpl2.1+)))
4405 (define-public vte-ng
4409 (version "0.58.2.a")
4410 (home-page "https://github.com/thestinger/vte-ng")
4413 (uri (git-reference (url home-page) (commit version)))
4414 (file-name (git-file-name name version))
4417 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4418 (build-system meson-build-system)
4420 `(("gtk-doc" ,gtk-doc/stable)
4421 ,@(package-native-inputs vte)))
4423 `(#:configure-flags '("-Ddocs=true")))
4424 (synopsis "Enhanced VTE terminal widget")
4426 "VTE is a library (libvte) implementing a terminal emulator widget for
4427 GTK+, this fork provides additional functions exposed for keyboard text
4428 selection and URL hints.")))
4430 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4431 (define-public vte/gtk+-2
4432 (package (inherit vte)
4437 (uri (string-append "mirror://gnome/sources/" name "/"
4438 (version-major+minor version) "/"
4439 name "-" version ".tar.xz"))
4442 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4443 (patches (search-patches
4444 "vte-CVE-2012-2738-pt1.patch"
4445 "vte-CVE-2012-2738-pt2.patch"))))
4446 (build-system gnu-build-system)
4448 '(#:configure-flags '("--disable-python")))
4450 `(("pkg-config" ,pkg-config)
4451 ("intltool" ,intltool)
4452 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4454 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4455 ("ncurses" ,ncurses))))) ; required by libvte.la
4457 (define-public vinagre
4463 (uri (string-append "mirror://gnome/sources/" name "/"
4464 (version-major+minor version) "/"
4465 name "-" version ".tar.xz"))
4466 (patches (search-patches "vinagre-newer-freerdp.patch"
4467 "vinagre-newer-rdp-parameters.patch"))
4470 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4471 (build-system glib-or-gtk-build-system)
4473 ;; Disable -Werror and such, to avoid build failures on compilation
4475 '(#:configure-flags '("--enable-compile-warnings=minimum")
4477 (modify-phases %standard-phases
4478 (add-before 'install 'skip-gtk-update-icon-cache
4480 ;; Don't create 'icon-theme.cache'
4481 (substitute* (find-files "." "^Makefile$")
4482 (("gtk-update-icon-cache") (which "true")))
4484 (add-after 'unpack 'patch-configure
4486 (substitute* "configure"
4487 (("freerdp") "freerdp2"))
4490 `(("pkg-config" ,pkg-config)
4491 ("intltool" ,intltool)
4492 ("itstool" ,itstool)
4493 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4495 `(("libxml2" ,libxml2)
4496 ("gtk-vnc" ,gtk-vnc)
4497 ("gnome-keyring" ,gnome-keyring)
4498 ("libsecret" ,libsecret)
4499 ("freerdp" ,freerdp)
4501 ("spice-gtk" ,spice-gtk)
4502 ("telepathy-glib" ,telepathy-glib)
4504 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4505 (synopsis "Remote desktop viewer for GNOME")
4506 (description "Vinagre is a remote display client supporting the VNC, SPICE
4507 and RDP protocols.")
4508 (license license:gpl3+)))
4510 (define-public dconf
4517 "mirror://gnome/sources/" name "/"
4518 (version-major+minor version) "/"
4519 name "-" version ".tar.xz"))
4522 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4523 (build-system meson-build-system)
4525 ;; In Requires of dconf.pc.
4531 `(("bash-completion" ,bash-completion)
4532 ("libxslt" ,libxslt) ;for xsltproc
4533 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4534 ("docbook-xml" ,docbook-xml-4.2)
4535 ("docbook-xsl" ,docbook-xsl)
4536 ("glib:bin" ,glib "bin")
4537 ("gtk-doc" ,gtk-doc/stable)
4538 ("pkg-config" ,pkg-config)
4542 #:configure-flags '("-Denable-gtk-doc=true")
4543 #:phases (modify-phases %standard-phases
4544 (add-after 'unpack 'increase-test-timeout
4546 ;; On big-memory systems, the engine test may take
4547 ;; much longer than the default of 30 seconds.
4548 (substitute* "tests/meson.build"
4549 (("test\\(unit_test\\[0\\], exe" all)
4550 (string-append all ", timeout : 90")))
4552 (home-page "https://developer.gnome.org/dconf/")
4553 (synopsis "Low-level GNOME configuration system")
4554 (description "Dconf is a low-level configuration system. Its main purpose
4555 is to provide a backend to GSettings on platforms that don't already have
4556 configuration storage systems.")
4557 (license license:lgpl2.1+)))
4559 (define-public json-glib
4565 (uri (string-append "mirror://gnome/sources/" name "/"
4566 (version-major+minor version) "/"
4567 name "-" version ".tar.xz"))
4570 "092g2dyy1hhl0ix9kp33wcab0pg1qicnsv0cj5ms9g9qs336cgd3"))))
4571 (build-system meson-build-system)
4572 (outputs '("out" "doc"))
4574 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
4580 (modify-phases %standard-phases
4581 (add-after 'unpack 'patch-docbook
4582 (lambda* (#:key inputs #:allow-other-keys)
4583 (with-directory-excursion "doc"
4584 (substitute* (find-files "." "\\.xml$")
4585 (("http://www.oasis-open.org/docbook/xml/4\\.3/")
4586 (string-append (assoc-ref inputs "docbook-xml")
4587 "/xml/dtd/docbook/")))
4588 (substitute* "meson.build"
4589 (("http://docbook.sourceforge.net/release/xsl/current/")
4590 (string-append (assoc-ref inputs "docbook-xsl")
4591 "/xml/xsl/docbook-xsl-1.79.2/"))))
4593 (add-after 'install 'move-docs
4594 (lambda* (#:key outputs #:allow-other-keys)
4595 (let* ((out (assoc-ref outputs "out"))
4596 (doc (assoc-ref outputs "doc")))
4597 (mkdir-p (string-append doc "/share"))
4599 (string-append out "/share/gtk-doc")
4600 (string-append doc "/share/gtk-doc"))
4603 `(("docbook-xml" ,docbook-xml-4.3)
4604 ("docbook-xsl" ,docbook-xsl)
4605 ("gettext" ,gettext-minimal)
4606 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4607 ("gobject-introspection" ,gobject-introspection)
4608 ("gtk-doc" ,gtk-doc)
4609 ("pkg-config" ,pkg-config)
4610 ("xsltproc" ,libxslt)))
4612 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4613 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4614 (synopsis "Glib and GObject implementation of JSON")
4615 (description "JSON-GLib is a library providing serialization and
4616 described by RFC 4627. It implements a full JSON parser and generator using
4617 GLib and GObject, and integrates JSON with GLib data types.")
4618 (license license:lgpl2.1+)))
4620 (define-public libxklavier
4622 (name "libxklavier")
4625 ;; Note: There's no tarball at ftp.gnome.org for this version.
4628 (url "https://anongit.freedesktop.org/git/libxklavier")
4629 (commit (string-append "libxklavier-" version))))
4632 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4633 (file-name (git-file-name name version))))
4634 (build-system gnu-build-system)
4637 (list (string-append "--with-xkb-base="
4638 (assoc-ref %build-inputs "xkeyboard-config")
4640 "--disable-xmodmap-support")))
4642 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4643 ("gobject-introspection" ,gobject-introspection)
4644 ("pkg-config" ,pkg-config)
4645 ("gtk-doc" ,gtk-doc/stable)
4646 ("intltool" ,intltool)
4648 ("autoconf" ,autoconf)
4649 ("automake" ,automake)
4650 ("libtool" ,libtool)))
4652 ;; Required by libxklavier.pc.
4654 ("libxml2" ,libxml2)))
4656 `(("iso-codes" ,iso-codes)
4658 ("libxkbfile" ,libxkbfile)
4659 ("xkbcomp" ,xkbcomp)
4660 ("xkeyboard-config" ,xkeyboard-config)))
4661 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4662 (synopsis "High-level API for X Keyboard Extension")
4664 "LibXklavier is a library providing high-level API for X Keyboard
4665 Extension known as XKB. This library is intended to support XFree86 and other
4666 commercial X servers. It is useful for creating XKB-related software (layout
4668 (license license:lgpl2.0+)))
4670 (define-public python2-rsvg
4671 ;; XXX: This is actually a subset of gnome-python-desktop.
4673 (name "python2-rsvg")
4679 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4680 version ".tar.bz2"))
4683 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4684 (build-system gnu-build-system)
4686 `(("pkg-config" ,pkg-config)))
4688 `(("python" ,python-2)
4689 ("python2-pygtk" ,python2-pygtk)
4690 ("librsvg" ,librsvg)))
4691 (home-page "https://www.gnome.org")
4692 (synopsis "Python bindings to librsvg")
4694 "This package provides Python bindings to librsvg, the SVG rendering
4697 ;; This is the license of the rsvg bindings. The license of each module
4698 ;; of gnome-python-desktop is given in 'COPYING'.
4699 (license license:lgpl2.1+)))
4701 (define-public glib-networking
4703 (name "glib-networking")
4707 (uri (string-append "mirror://gnome/sources/glib-networking/"
4708 (version-major+minor version) "/"
4709 "glib-networking-" version ".tar.xz"))
4712 "0kwrsp1xbqf852nqmd5cr7hqw771q0dxkzpzlibdp5zn9q2vqpjk"))
4714 (search-patches "glib-networking-gnutls-binding.patch"))))
4715 (build-system meson-build-system)
4717 `(("pkg-config" ,pkg-config)
4718 ("gettext" ,gettext-minimal)))
4722 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4723 ("libproxy" ,libproxy)))
4724 (home-page "https://wiki.gnome.org/Projects/GLib")
4725 (synopsis "Network extensions for GLib")
4727 "Glib-networking contains the implementations of certain GLib networking
4728 features that cannot be implemented directly in GLib itself because of their
4729 dependencies. Currently it contains GnuTLS and OpenSSL-based implementations of
4730 GTlsBackend, a libproxy-based implementation of GProxyResolver,
4731 GLibproxyResolver, and a GNOME GProxyResolver that uses the proxy information
4732 from the GSettings schemas in gsettings-desktop-schemas.")
4733 (license license:lgpl2.1+)))
4741 (uri (string-append "mirror://gnome/sources/rest/"
4742 (version-major+minor version) "/"
4743 name "-" version ".tar.xz"))
4746 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4747 (build-system gnu-build-system)
4749 '(#:tests? #f ; tests require internet connection
4751 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4753 `(("glib-mkenums" ,glib "bin")
4754 ("gobject-introspection" ,gobject-introspection)
4755 ("pkg-config" ,pkg-config)))
4757 ;; rest-0.7.pc refers to all these.
4759 ("libsoup" ,libsoup)
4760 ("libxml2" ,libxml2)))
4761 (home-page "https://www.gtk.org/")
4762 (synopsis "RESTful web api query library")
4764 "This library was designed to make it easier to access web services that
4765 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4766 libxml to ease remote use of the RESTful API.")
4767 (license license:lgpl2.1+)))
4769 (define-public libsoup
4775 (uri (string-append "mirror://gnome/sources/libsoup/"
4776 (version-major+minor version) "/"
4777 "libsoup-" version ".tar.xz"))
4780 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4781 (build-system meson-build-system)
4782 (outputs '("out" "doc"))
4784 `(#:modules ((guix build utils)
4785 (guix build meson-build-system)
4788 #:configure-flags '("-Dgtk_doc=true")
4790 (modify-phases %standard-phases
4791 (add-after 'unpack 'patch-docbook-xml
4792 (lambda* (#:key inputs #:allow-other-keys)
4793 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4794 "/xml/dtd/docbook")))
4795 (substitute* (find-files "docs/reference")
4796 (("http://.*/docbookx\\.dtd")
4797 (string-append xmldoc "/docbookx.dtd")))
4799 (add-after 'unpack 'adjust-tests
4801 ;; This test fails due to missing /etc/nsswitch.conf
4802 ;; in the build environment.
4803 (substitute* "tests/socket-test.c"
4804 ((".*/sockets/unconnected.*") ""))
4806 ;; These fail because "subdomain.localhost" does not resolve in
4807 ;; the build environment.
4808 (substitute* "tests/hsts-test.c"
4809 ((".*/hsts/basic.*") "")
4810 ((".*/hsts/subdomains.*") "")
4811 ((".*/hsts/superdomain.*") "")
4812 ((".*/hsts/utf8-address.*") ""))
4813 (substitute* "tests/hsts-db-test.c"
4814 ((".*/hsts-db/subdomains.*") ""))
4816 ;; FIXME: ssl-test fails, starting with
4817 ;; glib-networking 2.68.x.
4818 (substitute* "tests/meson.build"
4819 (("[ \t]*\\['ssl', true, \\[\\]\\],") ""))
4821 (add-after 'install 'move-doc
4822 (lambda* (#:key outputs #:allow-other-keys)
4823 (let ((out (assoc-ref outputs "out"))
4824 (doc (assoc-ref outputs "doc")))
4825 (mkdir-p (string-append doc "/share"))
4826 (copy-recursively (string-append out "/share/gtk-doc")
4827 (string-append doc "/share/gtk-doc"))
4828 (delete-file-recursively (string-append out "/share/gtk-doc"))
4831 `(("docbook-xml" ,docbook-xml-4.1.2)
4832 ("glib:bin" ,glib "bin") ; for glib-mkenums
4833 ("gobject-introspection" ,gobject-introspection)
4834 ("gtk-doc" ,gtk-doc/stable)
4835 ("intltool" ,intltool)
4836 ("pkg-config" ,pkg-config)
4837 ("python" ,python-wrapper)
4843 ;; libsoup-2.4.pc refers to all of these (except where otherwise noted)
4844 `(("brotli" ,google-brotli)
4846 ("glib-networking" ,glib-networking) ; for GIO runtime modules
4848 ("libxml2" ,libxml2)
4852 `(("mit-krb5" ,mit-krb5)
4853 ("ntlm_auth" ,samba))) ; For ntlm_auth support
4854 (home-page "https://wiki.gnome.org/Projects/libsoup")
4855 (synopsis "GLib-based HTTP Library")
4857 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4858 and the GLib main loop, to integrate well with GNOME applications.")
4859 (license license:lgpl2.0+)))
4862 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4863 (define-public libsoup-minimal
4864 (package/inherit libsoup
4865 (name "libsoup-minimal")
4866 (outputs (delete "doc" (package-outputs libsoup)))
4868 (substitute-keyword-arguments (package-arguments libsoup)
4869 ((#:configure-flags configure-flags)
4870 `(delete "-Dgtk_doc=true" ,configure-flags))
4872 `(modify-phases ,phases
4873 (delete 'move-doc)))))
4874 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4876 (define-public libsecret
4883 "mirror://gnome/sources/libsecret/"
4884 (version-major+minor version) "/"
4885 "libsecret-" version ".tar.xz"))
4888 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4889 (build-system gnu-build-system)
4890 (outputs '("out" "doc"))
4892 `(#:tests? #f ; FIXME: Testing hangs.
4894 (list (string-append "--with-html-dir="
4895 (assoc-ref %outputs "doc")
4896 "/share/gtk-doc/html"))))
4898 `(("gettext" ,gettext-minimal)
4899 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4900 ("gobject-introspection" ,gobject-introspection)
4901 ("pkg-config" ,pkg-config)
4903 ("xsltproc" ,libxslt)))
4904 ;; These are needed for the tests.
4905 ;; FIXME: Add gjs once available.
4907 ;("python2" ,python-2)
4908 ;("python2-dbus" ,python2-dbus)
4909 ;("python2-pygobject" ,python2-pygobject)
4910 ;("python2-pygobject-2" ,python2-pygobject-2)))
4912 `(("glib" ,glib))) ; required by libsecret-1.pc
4914 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4915 ;; doesn't seem to affect the build result.
4916 `(("docbook-xsl" ,docbook-xsl)
4917 ("libgcrypt" ,libgcrypt)
4918 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4919 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4920 (synopsis "GObject bindings for \"Secret Service\" API")
4922 "Libsecret is a GObject based library for storing and retrieving passwords
4923 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4924 (license license:lgpl2.1+)))
4926 (define-public five-or-more
4928 (name "five-or-more")
4933 (uri (string-append "mirror://gnome/sources/five-or-more/"
4934 (version-major+minor version) "/"
4935 "five-or-more-" version ".tar.xz"))
4937 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4938 (build-system meson-build-system)
4942 (modify-phases %standard-phases
4943 (add-after 'unpack 'skip-gtk-update-icon-cache
4945 (substitute* "meson_post_install.py"
4946 (("gtk-update-icon-cache") (which "true")))
4949 `(("pkg-config" ,pkg-config)
4950 ("appstream-glib" ,appstream-glib)
4951 ("desktop-file-utils" ,desktop-file-utils)
4952 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4953 ("intltool" ,intltool)
4954 ("itstool" ,itstool)
4956 ("xmllint" ,libxml2)))
4959 ("libgnome-games-support" ,libgnome-games-support)
4960 ("librsvg" ,librsvg)))
4961 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4962 (synopsis "Logic puzzle game")
4963 (description "Five or More is a game where you try to align
4964 five or more objects of the same color and shape causing them to disappear.
4965 On every turn more objects will appear, until the board is full.
4966 Try to last as long as possible.")
4967 (license license:gpl2+)))
4969 (define-public gnome-mines
4971 (name "gnome-mines")
4976 (uri (string-append "mirror://gnome/sources/" name "/"
4977 (version-major+minor version) "/"
4978 name "-" version ".tar.xz"))
4980 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
4981 (build-system meson-build-system)
4985 (modify-phases %standard-phases
4986 (add-after 'unpack 'skip-gtk-update-icon-cache
4988 (substitute* "build-aux/meson_post_install.py"
4989 (("gtk-update-icon-cache") (which "true")))
4992 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4993 ("pkg-config" ,pkg-config)
4994 ("desktop-file-utils" ,desktop-file-utils)
4995 ("intltool" ,intltool)
4996 ("itstool" ,itstool)
4999 ("appstream-glib" ,appstream-glib)))
5002 ("libgnome-games-support" ,libgnome-games-support)
5003 ("librsvg" ,librsvg)))
5004 (home-page "https://wiki.gnome.org/Apps/Mines")
5005 (synopsis "Minesweeper game")
5007 "Mines (previously gnomine) is a puzzle game where you locate mines
5008 floating in an ocean using only your brain and a little bit of luck.")
5009 (license license:gpl2+)))
5011 (define-public gnome-multi-writer
5013 (name "gnome-multi-writer")
5018 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5019 (version-major+minor version) "/"
5020 "gnome-multi-writer-" version ".tar.xz"))
5023 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5024 (build-system meson-build-system)
5028 (modify-phases %standard-phases
5029 (add-after 'unpack 'skip-post-install
5031 (substitute* "meson.build"
5032 (("meson.add_install_script" &) (string-append "# " &)))
5035 `(("glib:bin" ,glib "bin")
5036 ("pkg-config" ,pkg-config)))
5039 ("glib" ,glib) ; for gio
5042 ("libgudev" ,libgudev)
5043 ("libcanberra" ,libcanberra)
5044 ("polkit" ,polkit)))
5045 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5046 (synopsis "Write to multiple USB devices at once")
5048 "MultiWriter can be used to write an ISO file to multiple USB devices at
5050 (license license:gpl2+)))
5052 (define-public gnome-sudoku
5054 (name "gnome-sudoku")
5059 (uri (string-append "mirror://gnome/sources/" name "/"
5060 (version-major+minor version) "/"
5061 name "-" version ".tar.xz"))
5064 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5065 (build-system meson-build-system)
5069 (modify-phases %standard-phases
5070 (add-after 'unpack 'skip-gtk-update-icon-cache
5072 (substitute* "build-aux/post_install.py"
5073 (("gtk-update-icon-cache") (which "true")))
5076 `(("pkg-config" ,pkg-config)
5077 ("desktop-file-utils" ,desktop-file-utils)
5078 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5079 ("intltool" ,intltool)
5080 ("itstool" ,itstool)
5082 ("xmllint" ,libxml2)))
5085 ("json-glib" ,json-glib)
5087 ("librsvg" ,librsvg)
5088 ("qqwing" ,qqwing)))
5089 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5090 (synopsis "Japanese logic game")
5092 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5093 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5094 possible while still providing features that make playing difficult Sudoku
5096 (license license:gpl2+)))
5098 (define-public gnome-terminal
5100 (name "gnome-terminal")
5105 (uri (string-append "mirror://gnome/sources/" name "/"
5106 (version-major+minor version) "/"
5107 name "-" version ".tar.xz"))
5110 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5111 (build-system glib-or-gtk-build-system)
5114 (list "--disable-migration" "--disable-search-provider"
5115 "--without-nautilus-extension")
5117 (modify-phases %standard-phases
5118 (add-before 'configure 'patch-/bin/true
5120 (substitute* "configure"
5121 (("/bin/true") (which "true"))))))))
5123 `(("pkg-config" ,pkg-config)
5124 ("desktop-file-utils" ,desktop-file-utils)
5125 ("intltool" ,intltool)
5126 ("itstool" ,itstool)
5127 ("xmllint" ,libxml2)))
5129 `(("dconf" ,dconf)))
5134 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5135 ("util-linux" ,util-linux "lib")
5137 (home-page "https://wiki.gnome.org/Apps/Terminal")
5138 (synopsis "Terminal emulator")
5140 "GNOME Terminal is a terminal emulator application for accessing a
5141 UNIX shell environment which can be used to run programs available on
5144 It supports several profiles, multiple tabs and implements several
5145 keyboard shortcuts.")
5146 (license license:gpl3+)))
5148 (define-public colord
5155 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5156 "colord-" version ".tar.xz"))
5158 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5159 (build-system meson-build-system)
5161 '(;; FIXME: One test fails:
5162 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5163 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5164 ;; application/x-zerosize
5167 #:configure-flags (list "-Dlocalstatedir=/var"
5168 ;; No dep on systemd.
5170 ;; Wants to install to global completion dir;
5172 "-Dbash_completion=false"
5173 "-Ddaemon_user=colord"
5176 ;; Requires spotread.
5177 "-Dargyllcms_sensor=false"
5178 ;; TODO: Requires docbook2x.
5181 (modify-phases %standard-phases
5182 (add-before 'configure 'patch-build-system
5183 (lambda* (#:key outputs #:allow-other-keys)
5184 (substitute* "rules/meson.build"
5185 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5186 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5188 (add-before 'configure 'set-sqlite3-file-name
5189 (lambda* (#:key inputs #:allow-other-keys)
5190 ;; "colormgr dump" works by invoking the "sqlite3" command.
5191 ;; Record its absolute file name.
5192 (let ((sqlite (assoc-ref inputs "sqlite")))
5193 (substitute* "client/cd-util.c"
5195 (string-append "\"" sqlite "/bin/sqlite3\"")))
5198 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5199 ("gettext" ,gettext-minimal)
5200 ("gobject-introspection" ,gobject-introspection)
5201 ("gtk-doc" ,gtk-doc/stable)
5202 ("pkg-config" ,pkg-config)
5205 ;; colord.pc refers to all these.
5210 `(("dbus-glib" ,dbus-glib)
5212 ("libgudev" ,libgudev)
5215 ("python" ,python-wrapper)
5217 ("sane-backends" ,sane-backends)))
5218 (home-page "https://www.freedesktop.org/software/colord/")
5219 (synopsis "Color management service")
5220 (description "Colord is a system service that makes it easy to manage,
5221 install and generate color profiles to accurately color manage input and
5223 (license license:gpl2+)))
5225 (define-public geoclue
5233 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5234 version "/geoclue-" version ".tar.bz2"))
5236 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5237 (patches (search-patches "geoclue-config.patch"))))
5238 (build-system meson-build-system)
5240 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5242 `(("pkg-config" ,pkg-config)
5243 ("gobject-introspection" ,gobject-introspection)
5244 ("modem-manager" ,modem-manager)
5245 ("libnotify" ,libnotify)
5246 ("gtk-doc" ,gtk-doc/stable)
5247 ("intltool" ,intltool)))
5250 ("glib:bin" ,glib "bin")
5251 ("glib-networking" ,glib-networking)
5252 ("json-glib" ,json-glib)
5253 ("libsoup" ,libsoup)))
5254 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5255 (synopsis "Geolocation service")
5256 (description "Geoclue is a D-Bus service that provides location
5257 information. The primary goal of the Geoclue project is to make creating
5258 location-aware applications as simple as possible, while the secondary goal is
5259 to ensure that no application can access location information without explicit
5260 permission from user.")
5261 (license license:gpl2+)))
5263 (define-public geocode-glib
5265 (name "geocode-glib")
5269 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5270 (version-major+minor version) "/"
5271 "geocode-glib-" version ".tar.xz"))
5274 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5275 (build-system meson-build-system)
5278 (modify-phases %standard-phases
5279 ;; The tests require a bunch of locales.
5280 (add-before 'check 'set-locales
5281 (lambda* (#:key inputs #:allow-other-keys)
5282 (setenv "GUIX_LOCPATH"
5283 (search-input-directory inputs "lib/locale")))))))
5285 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5286 ("glibc-locales" ,glibc-locales) ; for tests
5287 ("gettext" ,gettext-minimal)
5288 ("gobject-introspection" ,gobject-introspection)
5289 ("gtk-doc" ,gtk-doc/stable)
5290 ("pkg-config" ,pkg-config)
5291 ("json-glib" ,json-glib)))
5293 ;; geocode-glib-1.0.pc refers to GIO.
5296 `(("libsoup" ,libsoup)))
5297 (home-page "https://github.com/GNOME/geocode-glib/")
5298 (synopsis "Geocoding and reverse-geocoding library")
5300 "geocode-glib is a convenience library for geocoding (finding longitude,
5301 and latitude from an address) and reverse geocoding (finding an address from
5302 coordinates) using the Nominatim service. geocode-glib caches requests for
5303 faster results and to avoid unnecessary server load.")
5304 (license license:lgpl2.0+)))
5306 (define-public upower
5314 (url "https://gitlab.freedesktop.org/upower/upower")
5315 (commit (string-append "UPOWER_"
5316 (string-map (match-lambda (#\. #\_)
5319 (file-name (git-file-name name version))
5321 (base32 "00q63yc8vp5cq05vhpwq3qglapdm8hg0lrqkzdwkphk30qzb6hv6"))
5322 (patches (search-patches "upower-builddir.patch"))
5323 (modules '((guix build utils)))
5327 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5328 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5329 ;; 'dbus-configuration-directory' in (gnu services dbus)
5330 ;; expects it in etc/. Thus, move it back to its previous
5332 (substitute* "src/Makefile.am"
5333 (("^dbusconfdir =.*$")
5334 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5336 (build-system glib-or-gtk-build-system)
5339 (modify-phases %standard-phases
5340 (add-before 'check 'pre-check
5341 (lambda* (#:key inputs #:allow-other-keys)
5342 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5344 (setenv "LD_LIBRARY_PATH" umockdev))
5346 #:configure-flags (list "--localstatedir=/var"
5347 (string-append "--with-udevrulesdir="
5348 (assoc-ref %outputs "out")
5349 "/lib/udev/rules.d"))))
5351 `(("autoconf" ,autoconf)
5352 ("automake" ,automake)
5353 ("gobject-introspection" ,gobject-introspection)
5354 ("gtk-doc" ,gtk-doc)
5355 ("intltool" ,intltool)
5356 ("libtool" ,libtool)
5357 ("pkg-config" ,pkg-config)
5359 ("which" ,which) ; for ./autogen.sh
5362 ("python-dbus" ,python-dbus)
5363 ("python-dbusmock" ,python-dbusmock)
5364 ("python-pygobject" ,python-pygobject)
5365 ("umockdev" ,umockdev)
5368 ("docbook-xsl" ,docbook-xsl)
5369 ("libxslt" ,libxslt) ; for 'xsltproc'
5370 ("libxml2" ,libxml2))) ; for 'XML_CATALOG_FILES'
5372 `(("dbus-glib" ,dbus-glib)
5373 ("libgudev" ,libgudev)
5374 ("libusb" ,libusb)))
5376 ;; In Requires of upower-glib.pc.
5378 (home-page "https://upower.freedesktop.org/")
5379 (synopsis "System daemon for managing power devices")
5381 "UPower is an abstraction for enumerating power devices,
5382 listening to device events and querying history and statistics. Any
5383 application or service on the system can access the org.freedesktop.UPower
5384 service via the system message bus.")
5385 (license license:gpl2+)))
5387 (define-public libgweather
5389 (name "libgweather")
5393 (uri (string-append "mirror://gnome/sources/" name "/"
5394 (version-major+minor version) "/"
5395 name "-" version ".tar.xz"))
5398 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5399 (build-system meson-build-system)
5401 `(#:tests? #f ; one of two tests requires network access
5403 `(,(string-append "-Dzoneinfo_dir="
5404 (assoc-ref %build-inputs "tzdata")
5405 "/share/zoneinfo"))))
5407 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5408 ("gobject-introspection" ,gobject-introspection)
5409 ("pkg-config" ,pkg-config)
5411 ("intltool" ,intltool)))
5413 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5416 ("gdk-pixbuf" ,gdk-pixbuf)
5417 ("libxml2" ,libxml2)
5418 ("libsoup" ,libsoup)
5419 ("geocode-glib" ,geocode-glib)))
5421 `(("tzdata" ,tzdata)))
5422 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5423 (synopsis "Location, time zone, and weather library for GNOME")
5425 "libgweather is a library to access weather information from online
5426 services for numerous locations.")
5427 (license license:gpl2+)))
5429 (define-public gnome-settings-daemon
5431 (name "gnome-settings-daemon")
5436 (uri (string-append "mirror://gnome/sources/" name "/"
5437 (version-major+minor version) "/"
5438 name "-" version ".tar.xz"))
5441 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5442 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5443 (build-system meson-build-system)
5447 (list (string-append "-Dudev_dir="
5448 (assoc-ref %outputs "out")
5449 "/lib/udev/rules.d/")
5451 ;; Otherwise, the RUNPATH will lack the final path component.
5452 (string-append "-Dc_link_args=-Wl,-rpath="
5453 (assoc-ref %outputs "out")
5454 "/lib/gnome-settings-daemon-3.0"))
5456 #:phases (modify-phases %standard-phases
5457 (add-before 'configure 'set-baobab-file-name
5458 (lambda* (#:key inputs #:allow-other-keys)
5459 ;; Hard-code the file name of Baobab instead of looking
5460 ;; it up in $PATH. This ensures users get the "Examine"
5461 ;; button in the low disk space notification of GDM even
5462 ;; if they don't have GNOME in their main profile.
5463 (let ((baobab (assoc-ref inputs "baobab")))
5464 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5465 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5466 (string-append "g_strdup (\"" baobab
5470 ;; Color management test can't reach the colord system service.
5473 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5474 ("pkg-config" ,pkg-config)
5475 ("intltool" ,intltool)
5476 ("xsltproc" ,libxslt)
5477 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5478 ("docbook-xml" ,docbook-xml-4.2)
5479 ("docbook-xsl" ,docbook-xsl)))
5481 `(("alsa-lib" ,alsa-lib)
5484 ("libgudev" ,libgudev)
5487 ("pulseaudio" ,pulseaudio)
5488 ("libcanberra" ,libcanberra)
5490 ("libxtst" ,libxtst)
5492 ("libnotify" ,libnotify)
5493 ("geoclue" ,geoclue)
5494 ("geocode-glib" ,geocode-glib)
5495 ("libgweather" ,libgweather)
5496 ("gnome-desktop" ,gnome-desktop)
5499 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5500 ("libwacom" ,libwacom)
5501 ("librsvg" ,librsvg)
5502 ("xf86-input-wacom" ,xf86-input-wacom)
5503 ("wayland" ,wayland)
5504 ("network-manager" ,network-manager)
5506 ("modem-manager" ,modem-manager)))
5507 (home-page "https://www.gnome.org")
5508 (synopsis "GNOME settings daemon")
5510 "This package contains the daemon responsible for setting the various
5511 parameters of a GNOME session and the applications that run under it. It
5512 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5513 settings, themes, mouse settings, and startup of other daemons.")
5514 (license license:gpl2+)))
5516 (define-public totem-pl-parser
5518 (name "totem-pl-parser")
5522 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5523 (version-major+minor version) "/"
5524 "totem-pl-parser-" version ".tar.xz"))
5527 "075csd5x0frgf93jvhlqiwv5i0qm24zz3iw17jj7v7fgsml0zpy0"))))
5528 (build-system meson-build-system)
5530 ;; FIXME: Tests require gvfs.
5533 `(("intltool" ,intltool)
5534 ("glib" ,glib "bin")
5535 ("gobject-introspection" ,gobject-introspection)
5536 ("pkg-config" ,pkg-config)))
5540 ("libarchive" ,libarchive)
5541 ("libgcrypt" ,libgcrypt)
5542 ("libxml2" ,libxml2)))
5544 `(("libsoup" ,libsoup)))
5545 (home-page "https://projects.gnome.org/totem")
5546 (synopsis "Library to parse and save media playlists for GNOME")
5547 (description "Totem-pl-parser is a GObjects-based library to parse and save
5548 playlists in a variety of formats.")
5549 (license license:lgpl2.0+)))
5551 (define-public aisleriot
5557 (uri (string-append "mirror://gnome/sources/aisleriot/"
5558 (version-major+minor version) "/"
5559 "aisleriot-" version ".tar.xz"))
5562 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5563 (build-system glib-or-gtk-build-system)
5566 '("--with-platform=gtk-only"
5567 "--with-card-theme-formats=svg")))
5569 `(("desktop-file-utils" ,desktop-file-utils)
5570 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5571 ("intltool" ,intltool)
5572 ("itstool" ,itstool)
5573 ("pkg-config" ,pkg-config)
5574 ("xmllint" ,libxml2)))
5577 ("guile" ,guile-2.2)
5578 ("libcanberra" ,libcanberra)
5579 ("librsvg" ,librsvg)))
5580 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5581 (synopsis "Solitaire card games")
5583 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5584 which are easy to play with the aid of a mouse.")
5585 (license license:gpl3+)))
5593 (uri (string-append "mirror://gnome/sources/amtk/"
5594 (version-major+minor version) "/"
5595 "amtk-" version ".tar.xz"))
5598 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5599 (build-system gnu-build-system)
5601 '(#:configure-flags '("--enable-gtk-doc")))
5603 `(("gobject-introspection" ,gobject-introspection)
5604 ("glib:bin" ,glib "bin") ; for glib-mkenums
5605 ("gtk-doc" ,gtk-doc/stable)
5606 ("pkg-config" ,pkg-config)))
5610 (home-page "https://wiki.gnome.org/Projects/Amtk")
5611 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5613 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5614 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5615 both a traditional UI or a modern UI with a GtkHeaderBar.")
5616 (license license:lgpl2.1+)))
5618 (define-public devhelp
5624 (uri (string-append "mirror://gnome/sources/" name "/"
5625 (version-major+minor version) "/"
5626 name "-" version ".tar.xz"))
5629 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5630 (build-system meson-build-system)
5634 (modify-phases %standard-phases
5635 (add-after 'unpack 'skip-gtk-update-icon-cache
5636 ;; Don't create 'icon-theme.cache'.
5638 (substitute* "meson_post_install.py"
5639 (("gtk-update-icon-cache") "true"))
5642 `(("intltool" ,intltool)
5643 ("itstool" ,itstool)
5644 ("gobject-introspection" ,gobject-introspection)
5645 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5646 ("pkg-config" ,pkg-config)))
5649 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5650 ("webkitgtk" ,webkitgtk)))
5651 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5652 (synopsis "API documentation browser for GNOME")
5654 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5655 natively with GTK-Doc (the API reference system developed for GTK+ and used
5656 throughout GNOME for API documentation).")
5657 (license license:gpl2+)))
5666 (uri (string-append "mirror://gnome/sources/cogl/"
5667 (version-major+minor version) "/"
5668 "cogl-" version ".tar.xz"))
5670 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5671 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5672 ;; cogl, corresponding changes may be appropriate in mutter as well.
5673 (build-system gnu-build-system)
5675 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5676 ("gobject-introspection" ,gobject-introspection)
5677 ("xorg-server" ,xorg-server-for-tests)
5678 ("pkg-config" ,pkg-config)))
5681 ("gdk-pixbuf" ,gdk-pixbuf)
5683 ("libxext" ,libxext)
5684 ("libxfixes" ,libxfixes)
5685 ("libxdamage" ,libxdamage)
5686 ("libxcomposite" ,libxcomposite)
5687 ("libxrandr" ,libxrandr)))
5692 ("gstreamer" ,gstreamer)
5693 ("gst-plugins-base" ,gst-plugins-base)
5694 ("wayland" ,wayland)))
5696 `(#:disallowed-references (,xorg-server-for-tests)
5697 #:configure-flags (list "--enable-cogl-gst"
5698 "--enable-wayland-egl-platform"
5699 "--enable-wayland-egl-server"
5701 ;; Arrange to pass an absolute file name to
5702 ;; dlopen for libGL.so.
5703 (string-append "--with-gl-libname="
5704 (assoc-ref %build-inputs "mesa")
5707 (modify-phases %standard-phases
5708 (add-after 'unpack 'fix-build-with-mesa-20
5710 ;; Work around a problem with Mesa 20 where some macros used by
5711 ;; Cogl went missing from eglext.h. This can likely be removed
5712 ;; for newer versions of Cogl or Mesa.
5713 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5714 (substitute* '("configure"
5715 "cogl/winsys/cogl-winsys-egl-kms.c")
5716 (("#include <EGL/eglext.h>" all)
5717 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5719 (add-before 'check 'start-xorg-server
5720 (lambda* (#:key tests? inputs #:allow-other-keys)
5723 ;; The test suite requires a running X server.
5724 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5725 (assoc-ref inputs "xorg-server")))
5726 (setenv "DISPLAY" ":1")
5728 (format #t "test suite not run~%"))
5730 (home-page "https://www.cogl3d.org")
5731 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5733 "Cogl is a small library for using 3D graphics hardware to draw pretty
5734 pictures. The API departs from the flat state machine style of OpenGL and is
5735 designed to make it easy to write orthogonal components that can render
5736 without stepping on each others toes.")
5737 (license (list license:expat ; most of the code
5738 license:bsd-3 ; cogl/cogl-point-in-poly.c
5739 license:sgifreeb2.0 ; cogl-path/tesselator/
5740 license:asl2.0)))) ; examples/android/
5742 (define-public clutter
5749 (uri (string-append "mirror://gnome/sources/" name "/"
5750 (version-major+minor version) "/"
5751 name "-" version ".tar.xz"))
5754 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5755 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5756 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5757 (build-system gnu-build-system)
5759 "doc")) ;9 MiB of gtk-doc HTML pages
5761 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5762 ("gobject-introspection" ,gobject-introspection)
5763 ("pkg-config" ,pkg-config)
5764 ("xsltproc" ,libxslt)))
5770 ("json-glib" ,json-glib)
5772 ("libxcomposite" ,libxcomposite)
5773 ("libxdamage" ,libxdamage)
5774 ("libxext" ,libxext)
5775 ("xinput" ,xinput)))
5777 `(("libxkbcommon" ,libxkbcommon)
5780 `(#:configure-flags (list "--enable-x11-backend=yes"
5782 ;; This produces share/doc/{clutter,cally}.
5783 (string-append "--with-html-dir="
5784 (assoc-ref %outputs "doc")
5786 ;; XXX FIXME: Get test suite working. It would probably fail in the
5787 ;; same way the cogl tests fail, since clutter is based on cogl.
5789 (home-page "http://www.clutter-project.org")
5790 (synopsis "OpenGL-based interactive canvas library")
5792 "Clutter is an OpenGL-based interactive canvas library, designed for
5793 creating fast, mainly 2D single window applications such as media box UIs,
5794 presentations, kiosk style applications and so on.")
5795 (license license:lgpl2.0+)))
5797 (define-public clutter-gtk
5799 (name "clutter-gtk")
5804 (uri (string-append "mirror://gnome/sources/" name "/"
5805 (version-major+minor version) "/"
5806 name "-" version ".tar.xz"))
5809 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5810 (build-system gnu-build-system)
5812 `(("pkg-config" ,pkg-config)
5813 ("gobject-introspection" ,gobject-introspection)))
5815 ;; clutter-gtk.pc refers to all these.
5816 `(("clutter" ,clutter)
5818 (home-page "http://www.clutter-project.org")
5819 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5821 "Clutter is an OpenGL-based interactive canvas library, designed for
5822 creating fast, mainly 2D single window applications such as media box UIs,
5823 presentations, kiosk style applications and so on.")
5824 (license license:lgpl2.0+)))
5826 (define-public clutter-gst
5828 (name "clutter-gst")
5833 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5834 (version-major+minor version) "/"
5835 "clutter-gst-" version ".tar.xz"))
5837 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5838 (build-system gnu-build-system)
5840 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5841 ("pkg-config" ,pkg-config)
5842 ("gobject-introspection" ,gobject-introspection)))
5844 `(("clutter" ,clutter)
5845 ("gstreamer" ,gstreamer)
5846 ("gst-plugins-base" ,gst-plugins-base)))
5847 (home-page "http://www.clutter-project.org")
5848 (synopsis "Integration library for using GStreamer with Clutter")
5850 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5851 It provides a GStreamer sink to upload frames to GL and an actor that
5852 implements the ClutterGstPlayer interface using playbin. Clutter is an
5853 OpenGL-based interactive canvas library.")
5854 (license license:lgpl2.0+)))
5856 (define-public libchamplain
5858 (name "libchamplain")
5863 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5867 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5868 (build-system gnu-build-system)
5869 (arguments '(#:configure-flags '("--enable-vala")))
5871 `(("gobject-introspection" ,gobject-introspection)
5872 ("pkg-config" ,pkg-config)
5875 `(("libsoup" ,libsoup)
5877 ("clutter" ,clutter)
5878 ("clutter-gtk" ,clutter-gtk)
5879 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5883 (home-page "https://projects.gnome.org/libchamplain/")
5884 (synopsis "C library providing a ClutterActor to display maps")
5886 "libchamplain is a C library providing a ClutterActor to display maps.
5887 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5888 and Perl bindings are also available. It supports numerous free map sources
5889 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5890 (license license:lgpl2.1+)))
5899 (uri (string-append "mirror://gnome/sources/gom/"
5900 (version-major+minor version) "/"
5901 "gom-" version ".tar.xz"))
5904 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5905 (build-system gnu-build-system)
5907 `(("intltool" ,intltool)
5908 ("pkg-config" ,pkg-config)
5909 ("gobject-introspection" ,gobject-introspection)))
5912 ("gdk-pixbuf" ,gdk-pixbuf)
5913 ("sqlite" ,sqlite)))
5914 ;; XXX TODO: Figure out how to run the test suite.
5915 (arguments `(#:tests? #f))
5916 (home-page "https://wiki.gnome.org/Projects/Gom")
5917 (synopsis "Object mapper from GObjects to SQLite")
5919 "Gom provides an object mapper from GObjects to SQLite. It helps you
5920 write applications that need to store structured data as well as make complex
5921 queries upon that data.")
5922 (license license:lgpl2.1+)))
5924 (define-public libgnome-games-support
5926 (name "libgnome-games-support")
5930 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5931 (version-major+minor version) "/"
5932 "libgnome-games-support-" version ".tar.xz"))
5935 "11g1r3ppb9v8m3anks9gxf7fv1x38vmjiya3lr7zjjv328pb69d6"))))
5936 (build-system meson-build-system)
5940 (modify-phases %standard-phases
5941 (add-before 'check 'pre-check
5943 ;; Tests require a writable HOME.
5944 (setenv "HOME" (getcwd))
5947 `(("intltool" ,intltool)
5948 ("pkg-config" ,pkg-config)
5951 ;; Required by libgnome-games-support-1.0.pc
5953 ("libgee" ,libgee)))
5954 (home-page "https://www.gnome.org/")
5955 (synopsis "Useful functionality shared among GNOME games")
5957 "libgnome-games-support is a small library intended for internal use by
5958 GNOME Games, but it may be used by others.")
5959 (license license:lgpl3+)))
5961 (define-public gnome-klotski
5963 (name "gnome-klotski")
5967 (uri (string-append "mirror://gnome/sources/" name "/"
5968 (version-major+minor version) "/"
5969 name "-" version ".tar.xz"))
5972 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
5973 (build-system meson-build-system)
5977 (modify-phases %standard-phases
5978 (add-after 'unpack 'skip-gtk-update-icon-cache
5979 ;; Don't create 'icon-theme.cache'.
5981 (substitute* "build-aux/meson_post_install.py"
5982 (("gtk-update-icon-cache") (which "true")))
5985 `(("desktop-file-utils" ,desktop-file-utils)
5986 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5987 ("intltool" ,intltool)
5988 ("itstool" ,itstool)
5989 ("pkg-config" ,pkg-config)
5991 ("xmllint" ,libxml2)))
5994 ("libgnome-games-support" ,libgnome-games-support)
5995 ("librsvg" ,librsvg)))
5996 (home-page "https://wiki.gnome.org/Apps/Klotski")
5997 (synopsis "Sliding block puzzles")
5999 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6000 the patterned block to the area bordered by green markers. To do so, you will
6001 need to slide other blocks out of the way. Complete each puzzle in as few moves
6003 (license license:gpl2+)))
6005 (define-public grilo
6012 (uri (string-append "mirror://gnome/sources/grilo/"
6013 (version-major+minor version) "/"
6014 "grilo-" version ".tar.xz"))
6016 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6017 (build-system meson-build-system)
6019 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6020 ("intltool" ,intltool)
6021 ("pkg-config" ,pkg-config)
6022 ("gobject-introspection" ,gobject-introspection)
6023 ("gtk-doc" ,gtk-doc/stable)
6026 `(("cyrus-sasl" ,cyrus-sasl)
6029 ("libxml2" ,libxml2)
6030 ("liboauth" ,liboauth)
6031 ("libsoup" ,libsoup)
6032 ("totem-pl-parser" ,totem-pl-parser)))
6033 (native-search-paths
6034 (list (search-path-specification
6035 (variable "GRL_PLUGIN_PATH")
6036 (files (list (string-append "lib/grilo-"
6037 (version-major+minor version)))))))
6038 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6039 (synopsis "Framework for discovering and browsing media")
6041 "Grilo is a framework focused on making media discovery and browsing easy
6042 for application developers.")
6043 (license license:lgpl2.1+)))
6045 (define-public grilo-plugins
6047 (name "grilo-plugins")
6052 (uri (string-append "mirror://gnome/sources/" name "/"
6053 (version-major+minor version) "/"
6054 name "-" version ".tar.xz"))
6056 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6057 (build-system meson-build-system)
6059 `(("gettext" ,gettext-minimal)
6060 ("glib:bin" ,glib "bin")
6061 ("gtk+:bin" ,gtk+ "bin")
6062 ("itstool" ,itstool)
6063 ("pkg-config" ,pkg-config)))
6064 ;; TODO: ahavi, gstreamer
6067 ;("gmime" ,gmime) ; unused
6068 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6070 ;("gssdp" ,gssdp) ; unused
6071 ;("gupnp" ,gupnp) ; unused
6072 ;("gupnp-av" ,gupnp-av) ; unused
6073 ("json-glib" ,json-glib)
6075 ("libgdata" ,libgdata)
6076 ("libmediaart" ,libmediaart)
6077 ;("librest" ,rest) ; unused
6078 ("libsoup" ,libsoup)
6079 ("totam-pl-parser" ,totem-pl-parser)
6080 ("tracker" ,tracker))) ; unused because it's too old
6083 ;;Disable lua-factory as it needs missing dependencies
6084 #:configure-flags '("-Denable-lua-factory=no")))
6085 (home-page "https://live.gnome.org/Grilo")
6086 (synopsis "Plugins for the Grilo media discovery library")
6088 "Grilo is a framework focused on making media discovery and browsing easy
6089 for application developers. This package provides plugins for common media
6090 discovery protocols.")
6091 (license license:lgpl2.1+)))
6093 (define-public totem
6100 (uri (string-append "mirror://gnome/sources/totem/"
6101 (version-major+minor version) "/"
6102 "totem-" version ".tar.xz"))
6104 (base32 "02510lvzvxvmpcs64k6sqix8ysl7sihhhwvp0vmfv7521ryczylg"))))
6105 (build-system meson-build-system)
6107 `(("pkg-config" ,pkg-config)
6108 ("desktop-file-utils" ,desktop-file-utils)
6109 ("gettext" ,gettext-minimal)
6110 ("gobject-introspection" ,gobject-introspection)
6111 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6112 ("itstool" ,itstool)
6113 ("xmllint" ,libxml2)
6114 ("xorg-server" ,xorg-server-for-tests)))
6116 `(("dconf" ,dconf)))
6119 ("gdk-pixbuf" ,gdk-pixbuf)
6122 ("dbus-glib" ,dbus-glib)
6123 ("clutter" ,clutter)
6124 ("clutter-gtk" ,clutter-gtk)
6125 ("clutter-gst" ,clutter-gst)
6126 ("xorgproto" ,xorgproto)
6127 ("libxxf86vm" ,libxxf86vm)
6128 ("libxtst" ,libxtst)
6129 ("libxrandr" ,libxrandr)
6130 ("libxml2" ,libxml2)
6131 ("libsoup" ,libsoup)
6132 ("libpeas" ,libpeas)
6133 ("librsvg" ,librsvg)
6135 ("gnome-desktop" ,gnome-desktop)
6136 ("gstreamer" ,gstreamer)
6137 ("gst-plugins-base" ,gst-plugins-base)
6138 ("gst-plugins-good" ,gst-plugins-good)
6139 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6140 ("adwaita-icon-theme" ,adwaita-icon-theme)
6142 ("python-pygobject" ,python-pygobject)
6143 ("totem-pl-parser" ,totem-pl-parser)
6145 ("grilo-plugins" ,grilo-plugins)
6150 ;; Disable automatic GStreamer plugin installation via PackageKit and
6152 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6154 ;; Do not build .a files for the plugins, it's
6155 ;; completely useless. This saves 2 MiB.
6156 "--default-library" "shared")
6158 (modify-phases %standard-phases
6159 (add-after 'unpack 'skip-gtk-update-icon-cache
6160 ;; Don't create 'icon-theme.cache'.
6162 (substitute* "meson_post_install.py"
6163 (("gtk-update-icon-cache") "true"))
6166 'install 'disable-cache-generation
6168 (setenv "DESTDIR" "/")
6173 ;; Tests require a running X server.
6174 (system "Xvfb :1 &")
6175 (setenv "DISPLAY" ":1")
6178 'install 'wrap-totem
6179 (lambda* (#:key inputs outputs #:allow-other-keys)
6180 (let ((out (assoc-ref outputs "out"))
6181 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6182 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6183 (wrap-program (string-append out "/bin/totem")
6184 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6185 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6186 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6187 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6189 (home-page "https://wiki.gnome.org/Apps/Videos")
6190 (synopsis "Simple media player for GNOME based on GStreamer")
6191 (description "Totem is a simple yet featureful media player for GNOME
6192 which can read a large number of file formats.")
6193 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6194 ;; to be used and distributed together with GStreamer and Totem. See
6195 ;; file://COPYING in the source distribution for details.
6196 (license license:gpl2+)))
6198 (define-public rhythmbox
6204 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6205 (version-major+minor version) "/"
6206 "rhythmbox-" version ".tar.xz"))
6209 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6210 (build-system glib-or-gtk-build-system)
6213 (list "--enable-lirc"
6220 (modify-phases %standard-phases
6222 'install 'wrap-rhythmbox
6223 (lambda* (#:key inputs outputs #:allow-other-keys)
6224 (let ((out (assoc-ref outputs "out"))
6225 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6226 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6227 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6228 (python-path (getenv "GUIX_PYTHONPATH")))
6229 (wrap-program (string-append out "/bin/rhythmbox")
6230 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6231 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6232 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6233 `("GUIX_PYTHONPATH" ":" prefix (,python-path))))
6236 `(("dconf" ,dconf)))
6238 `(("itstool" ,itstool)
6239 ("intltool" ,intltool)
6240 ("glib" ,glib "bin")
6241 ("gobject-introspection" ,gobject-introspection)
6242 ("desktop-file-utils" ,desktop-file-utils)
6243 ("pkg-config" ,pkg-config)
6244 ("xmllint" ,libxml2)))
6246 `(("json-glib" ,json-glib)
6248 ("gnome-desktop" ,gnome-desktop)
6250 ("python-pygobject" ,python2-pygobject)
6253 ("adwaita-icon-theme" ,adwaita-icon-theme)
6255 ("grilo-plugins" ,grilo-plugins)
6256 ("gstreamer" ,gstreamer)
6257 ("gst-plugins-base" ,gst-plugins-base)
6258 ("gst-plugins-good" ,gst-plugins-good)
6259 ("totem-pl-parser" ,totem-pl-parser)
6260 ("libgudev" ,libgudev)
6261 ;;("libmtp" ,libmtp) FIXME: Not detected
6262 ("libsecret" ,libsecret)
6263 ("libsoup" ,libsoup)
6264 ("libnotify" ,libnotify)
6265 ("libpeas" ,libpeas)
6267 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6268 ;;("clutter" ,clutter)
6269 ;;("clutter-gtk" ,clutter-gtk)
6270 ;;("clutter-gst" ,clutter-gst)
6271 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6278 ("brasero" ,brasero)))
6279 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6280 (synopsis "Music player for GNOME")
6281 (description "Rhythmbox is a music playing application for GNOME. It
6282 supports playlists, song ratings, and any codecs installed through gstreamer.")
6283 (license license:gpl2+)))
6291 (uri (string-append "mirror://gnome/sources/" name "/"
6292 (version-major+minor version) "/"
6293 name "-" version ".tar.xz"))
6296 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6297 (build-system meson-build-system)
6300 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6301 (list (string-append "-Dc_link_args=-Wl,-rpath="
6302 (assoc-ref %outputs "out") "/lib/eog"))
6304 (modify-phases %standard-phases
6305 (add-after 'unpack 'skip-gtk-update-icon-cache
6306 ;; Don't create 'icon-theme.cache'.
6308 (substitute* "meson_post_install.py"
6309 (("gtk-update-icon-cache") "true"))
6311 (add-after 'install 'wrap-eog
6312 (lambda* (#:key outputs #:allow-other-keys)
6313 (let ((out (assoc-ref outputs "out"))
6314 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6315 (wrap-program (string-append out "/bin/eog")
6316 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6319 `(("dconf" ,dconf)))
6321 `(("intltool" ,intltool)
6322 ("itstool" ,itstool)
6323 ("glib" ,glib "bin")
6324 ("gobject-introspection" ,gobject-introspection)
6325 ("pkg-config" ,pkg-config)
6326 ("xmllint" ,libxml2)))
6328 `(("gnome-desktop" ,gnome-desktop)
6329 ("shared-mime-info" ,shared-mime-info)
6330 ("adwaita-icon-theme" ,adwaita-icon-theme)
6333 ("libexif" ,libexif)
6334 ("libpeas" ,libpeas)
6335 ("libjpeg" ,libjpeg-turbo)
6336 ("librsvg" ,librsvg)
6337 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6339 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6340 (synopsis "GNOME image viewer")
6341 (description "Eye of GNOME is the GNOME image viewer. It
6342 supports image conversion, rotation, and slideshows.")
6343 (license license:gpl2+)))
6345 (define-public eog-plugins
6346 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6347 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6348 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6349 ;; 'XDG_DATA_DIRS' appropriately set.
6351 (name "eog-plugins")
6355 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6356 (version-major+minor version) "/"
6357 "eog-plugins-" version ".tar.xz"))
6360 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6361 (build-system gnu-build-system)
6362 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6363 (synopsis "Extensions for the Eye of GNOME image viewer")
6365 `(("pkg-config" ,pkg-config)
6366 ("gettext" ,gettext-minimal)))
6371 ("libpeas" ,libpeas)
6372 ("libexif" ,libexif)
6373 ("libchamplain" ,libchamplain)))
6375 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6379 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6380 @item @dfn{Map}, which displays a map of where the picture was taken on the
6382 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6385 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6386 ;; long suspicious byte stream that goes to a
6387 ;; ".gresource.eog_postasa_plugin" ELF section.
6388 (license license:gpl2+)))
6390 (define-public libgudev
6396 (uri (string-append "mirror://gnome/sources/" name "/"
6397 version "/" name "-" version ".tar.xz"))
6400 "094mgjmwgsgqrr1i0vd20ynvlkihvs3vgbmpbrhswjsrdp86j0z5"))))
6401 (build-system meson-build-system)
6403 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6404 ("gobject-introspection" ,gobject-introspection)
6405 ("pkg-config" ,pkg-config)))
6407 `(("glib" ,glib) ; in Requires of gudev-1.0.pc
6408 ("eudev" ,eudev))) ; in Requires.private of gudev-1.0.pc
6411 (home-page "https://wiki.gnome.org/Projects/libgudev")
6412 (synopsis "GObject bindings for libudev")
6414 "This library provides GObject bindings for libudev. It was originally
6415 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6416 (license license:lgpl2.1+)))
6424 (uri (string-append "mirror://gnome/sources/gvfs/"
6425 (version-major+minor version) "/"
6426 "gvfs-" version ".tar.xz"))
6429 "07lpcfric3h0302n9b1pwa38mjb76r9s98kg2867y2d1qvzfivxx"))
6430 ;; This patch may be removed when upgrading to version 1.46.x.
6432 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6433 (build-system meson-build-system)
6437 (list "-Dsystemduserunitdir=no"
6439 ;; Otherwise, the RUNPATH will lack the final path component.
6440 (string-append "-Dc_link_args=-Wl,-rpath="
6441 (assoc-ref %outputs "out") "/lib/gvfs"))))
6443 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6444 ("gettext" ,gettext-minimal)
6445 ("gtk-doc" ,gtk-doc/stable)
6446 ("pkg-config" ,pkg-config)
6447 ("xsltproc" ,libxslt)))
6450 ("docbook-xml" ,docbook-xml-4.2)
6451 ("docbook-xsl" ,docbook-xsl)
6453 ("elogind" ,elogind)
6457 ("gnome-online-accounts" ,gnome-online-accounts)
6458 ("libarchive" ,libarchive)
6459 ("libbluray" ,libbluray)
6461 ("libcdio-paranoia" ,libcdio-paranoia)
6462 ("libgcrypt" ,libgcrypt)
6463 ("libgdata" ,libgdata)
6464 ("libgphoto2" ,libgphoto2)
6465 ("libgudev" ,libgudev)
6466 ("libimobiledevice" ,libimobiledevice)
6469 ("libsecret" ,libsecret)
6470 ("libsmbclient" ,samba)
6471 ("libsoup" ,libsoup)
6472 ("libxml2" ,libxml2)
6473 ("openssh" ,openssh)
6475 ("udisks" ,udisks)))
6476 ;; CVE-2019-{12447,12448,12449} are fixed in the 1.40.2 release.
6477 (properties '((lint-hidden-cve . ("CVE-2019-12447"
6479 "CVE-2019-12449"))))
6480 (home-page "https://wiki.gnome.org/gvfs/")
6481 (synopsis "Userspace virtual file system for GIO")
6483 "GVFS is a userspace virtual file system designed to work with the I/O
6484 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6485 to all applications using the GIO API. It also supports exposing the GVFS
6486 mounts to non-GIO applications using FUSE.
6488 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6490 (license license:lgpl2.0+)))
6499 (url "https://github.com/hughsie/libgusb")
6501 (file-name (git-file-name name version))
6504 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6505 (build-system meson-build-system)
6507 `(("gobject-introspection" ,gobject-introspection)
6508 ("pkg-config" ,pkg-config)
6510 ("gtk-doc" ,gtk-doc/stable)))
6512 ;; Both of these are required by gusb.pc.
6514 ("libusb" ,libusb)))
6516 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6517 (home-page "https://github.com/hughsie/libgusb")
6518 (synopsis "GLib binding for libusb1")
6520 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6521 asynchronous control, bulk and interrupt transfers with proper cancellation
6522 and integration into a mainloop. This makes it easy to integrate low level
6523 USB transfers with your high-level application or system daemon.")
6524 (license license:lgpl2.1+)))
6526 (define-public simple-scan
6528 (name "simple-scan")
6533 (uri (string-append "mirror://gnome/sources/simple-scan/"
6534 (version-major+minor version) "/"
6535 "simple-scan-" version ".tar.xz"))
6537 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6538 (build-system meson-build-system)
6539 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6541 '(#:glib-or-gtk? #t))
6547 ("gdk-pixbuf" ,gdk-pixbuf)
6549 ("libsane" ,sane-backends)))
6551 `(("gettext" ,gettext-minimal)
6552 ("itstool" ,itstool)
6553 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6554 ("pkg-config" ,pkg-config)
6556 ("xmllint" ,libxml2)))
6557 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6558 (synopsis "Document and image scanner")
6560 "Document Scanner is an easy-to-use application that lets you connect your
6561 scanner and quickly capture images and documents in an appropriate format. It
6562 supports any scanner for which a suitable SANE driver is available, which is
6563 almost all of them.")
6564 (license license:gpl3+)))
6566 (define-public eolie
6572 (uri (string-append "https://adishatz.org/eolie/eolie-"
6576 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6577 (build-system meson-build-system)
6581 (modify-phases %standard-phases
6582 (add-after 'unpack 'skip-gtk-update-icon-cache
6583 ;; Don't create 'icon-theme.cache'.
6585 (substitute* "meson_post_install.py"
6586 (("gtk-update-icon-cache") "true"))
6588 (add-after 'wrap 'wrap-more
6589 (lambda* (#:key inputs outputs #:allow-other-keys)
6590 (let* ((out (assoc-ref outputs "out"))
6591 ;; These libraries must be on LD_LIBRARY_PATH.
6592 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6593 "atk" "gtk+" "gsettings-desktop-schemas"
6594 "gobject-introspection"))
6597 (string-append (assoc-ref inputs lib) "/lib"))
6600 (wrap-program (string-append out "/bin/eolie")
6601 `("LD_LIBRARY_PATH" ":" prefix (,path))
6602 `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
6603 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6606 `(("intltool" ,intltool)
6607 ("itstool" ,itstool)
6608 ("pkg-config" ,pkg-config)
6610 ("glib:bin" ,glib "bin")))
6612 `(("gobject-introspection" ,gobject-introspection)
6613 ("glib-networking" ,glib-networking)
6616 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6617 ("python" ,python-wrapper)
6618 ("python-dateutil" ,python-dateutil)
6619 ("python-pyfxa" ,python-pyfxa)
6620 ("python-pygobject" ,python-pygobject)
6621 ("python-pycairo" ,python-pycairo)
6622 ("python-pycrypto" ,python-pycrypto)
6623 ("libhandy" ,libhandy)
6624 ("libsecret" ,libsecret)
6625 ("gtkspell3" ,gtkspell3)
6626 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6627 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
6628 ("webkitgtk" ,webkitgtk)))
6629 (home-page "https://wiki.gnome.org/Apps/Eolie")
6630 (synopsis "Web browser for GNOME")
6632 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6633 a secret password store, an adblocker, and a modern UI.")
6634 (license license:gpl3+)))
6636 (define-public epiphany
6642 (uri (string-append "mirror://gnome/sources/epiphany/"
6643 (version-major+minor version) "/"
6644 "epiphany-" version ".tar.xz"))
6647 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6649 (build-system meson-build-system)
6653 (modify-phases %standard-phases
6654 (add-after 'unpack 'skip-gtk-update-icon-cache
6655 ;; Don't create 'icon-theme.cache'.
6657 (substitute* "post_install.py"
6658 (("gtk-update-icon-cache") "true"))
6660 (add-after 'unpack 'disable-failing-tests
6662 (substitute* "tests/meson.build"
6663 ;; embed_shell fails, because webkitgtk apparently no longer supports
6664 ;; overriding the ftp schema
6665 ;; web_app_utils fails due to missing network access
6666 (("(embed_shell|web_app_utils)_test,")
6667 "find_program('sh'), args: ['-c', 'exit 77'],"))
6669 (add-before 'check 'pre-check
6671 ;; Tests require a running X server.
6672 (system "Xvfb :1 &")
6673 (setenv "DISPLAY" ":1")
6676 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6677 (list (string-append "-Dc_link_args=-Wl,-rpath="
6678 (assoc-ref %outputs "out") "/lib/epiphany"))))
6680 `(("dconf" ,dconf)))
6682 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6683 ("glib:bin" ,glib "bin") ; for glib-mkenums
6684 ("intltool" ,intltool)
6685 ("itstool" ,itstool)
6686 ("pkg-config" ,pkg-config)
6687 ("xmllint" ,libxml2)
6688 ("xorg-server" ,xorg-server-for-tests)))
6692 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6693 ("glib-networking" ,glib-networking)
6694 ("gnome-desktop" ,gnome-desktop)
6695 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6696 ("json-glib" ,json-glib)
6697 ("iso-codes" ,iso-codes)
6698 ("libdazzle" ,libdazzle)
6699 ("libnotify" ,libnotify)
6700 ("libsecret" ,libsecret)
6701 ("libxslt" ,libxslt)
6702 ("nettle" ,nettle) ; for hogweed
6704 ("webkitgtk" ,webkitgtk)))
6705 (home-page "https://wiki.gnome.org/Apps/Web")
6706 (synopsis "GNOME web browser")
6708 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6709 principles are simplicity and standards compliance.")
6710 (license license:gpl2+)))
6712 (define-public d-feet
6718 (uri (string-append "mirror://gnome/sources/" name "/"
6719 (version-major+minor version) "/"
6720 name "-" version ".tar.xz"))
6723 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6724 (build-system glib-or-gtk-build-system)
6726 '(#:out-of-source? #f ; tests need to run in the source directory.
6728 (modify-phases %standard-phases
6732 ;; The test suite requires a running X server.
6733 (system "Xvfb :1 &")
6734 (setenv "DISPLAY" ":1")
6735 ;; Don't fail on missing '/etc/machine-id'.
6736 (setenv "DBUS_FATAL_WARNINGS" "0")
6737 ;; tests.py and window.py don't meet E402:
6738 ;; E402 module level import not at top of file
6739 (substitute* "src/tests/Makefile"
6740 (("--ignore=E123") "--ignore=E123,E402"))
6743 'install 'wrap-program
6744 (lambda* (#:key outputs #:allow-other-keys)
6745 (let ((prog (string-append (assoc-ref outputs "out")
6748 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
6749 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6752 `(("intltool" ,intltool)
6753 ("itstool" ,itstool)
6754 ("pkg-config" ,pkg-config)
6755 ("python-pep8" ,python-pep8)
6756 ("xmllint" ,libxml2)
6757 ("xorg-server" ,xorg-server-for-tests)))
6759 `(("gobject-introspection" ,gobject-introspection)
6761 ("python" ,python-wrapper)
6762 ("hicolor-icon-theme" ,hicolor-icon-theme)
6763 ("python-pygobject" ,python-pygobject)))
6764 (home-page "https://wiki.gnome.org/Apps/DFeet")
6765 (synopsis "D-Bus debugger")
6767 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6768 of running programs and invoke methods on those interfaces.")
6769 (license license:gpl2+)))
6771 (define-public yelp-xsl
6779 (string-append "mirror://gnome/sources/" name "/"
6780 (version-major+minor version) "/"
6781 name "-" version ".tar.xz"))
6783 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6784 (build-system gnu-build-system)
6790 `(("ducktype" ,mallard-ducktype)
6791 ("gettext" ,gettext-minimal)
6792 ("intltool" ,intltool)
6793 ("itstool" ,itstool)
6794 ("xmllint" ,libxml2)
6795 ("xsltproc" ,libxslt)))
6796 (synopsis "XSL stylesheets for Yelp")
6797 (description "Yelp-XSL is a collection of programs and data files to help
6798 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6799 that can be built upon for help viewers and publishing systems. These
6800 stylesheets output JavaScript and CSS content, and reference images
6801 provided by yelp-xsl. It also redistributes copies of the jQuery and
6802 jQuery.Syntax JavaScript libraries.")
6803 (home-page "https://wiki.gnome.org/Apps/Yelp")
6819 (uri (string-append "mirror://gnome/sources/" name "/"
6820 (version-major+minor version) "/"
6821 name "-" version ".tar.xz"))
6824 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6825 (build-system glib-or-gtk-build-system)
6827 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6828 ("intltool" ,intltool)
6829 ("itstool" ,itstool)
6830 ("pkg-config" ,pkg-config)))
6832 `(("dconf" ,dconf)))
6834 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6835 ("libxslt" ,libxslt)
6837 ("webkitgtk" ,webkitgtk)
6838 ("yelp-xsl" ,yelp-xsl)))
6839 (home-page "https://wiki.gnome.org/Apps/Yelp")
6840 (synopsis "GNOME help browser")
6842 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6843 man, info, and HTML documents. It can locate documents according to the
6844 freedesktop.org help system specification.")
6845 (license license:gpl2+)))
6847 (define-public yelp-tools
6855 (string-append "mirror://gnome/sources/" name "/"
6856 (version-major+minor version) "/"
6857 name "-" version ".tar.xz"))
6859 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6860 (build-system gnu-build-system)
6862 `(("pkg-config" ,pkg-config)))
6864 `(("yelp-xsl" ,yelp-xsl)))
6866 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6867 `(("itstool" ,itstool)
6868 ("xmllint" ,libxml2)
6869 ("xsltproc" ,libxslt)))
6870 (synopsis "Yelp documentation tools")
6872 "Yelp-tools is a collection of scripts and build utilities to help create,
6873 manage, and publish documentation for Yelp and the web. Most of the heavy
6874 lifting is done by packages like yelp-xsl and itstool. This package just
6875 wraps things up in a developer-friendly way.")
6876 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6877 (license license:gpl2+)))
6879 (define-public libgee
6885 (uri (string-append "mirror://gnome/sources/libgee/"
6886 (version-major+minor version) "/"
6887 "libgee-" version ".tar.xz"))
6890 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6891 (build-system gnu-build-system)
6894 (modify-phases %standard-phases
6895 (add-after 'unpack 'fix-introspection-install-dir
6896 (lambda* (#:key outputs #:allow-other-keys)
6897 (let ((out (assoc-ref outputs "out")))
6898 (substitute* "gee/Makefile.in"
6899 (("@INTROSPECTION_GIRDIR@")
6900 (string-append out "/share/gir-1.0/"))
6901 (("@INTROSPECTION_TYPELIBDIR@")
6902 (string-append out "/lib/girepository-1.0/")))))))))
6904 `(("glib" ,glib "bin")
6905 ("pkg-config" ,pkg-config)))
6908 ("gobject-introspection" ,gobject-introspection)))
6909 (home-page "https://wiki.gnome.org/Projects/Libgee")
6910 (synopsis "GObject collection library")
6912 "Libgee is a utility library providing GObject-based interfaces and
6913 classes for commonly used data structures.")
6914 (license license:lgpl2.1+)))
6916 (define-public gexiv2
6922 (uri (string-append "mirror://gnome/sources/" name "/"
6923 (version-major+minor version) "/"
6924 name "-" version ".tar.xz"))
6927 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
6928 (build-system meson-build-system)
6931 ("glib" ,glib "bin")
6932 ("pkg-config" ,pkg-config)
6935 ;; Listed in "Requires" section of gexiv2.pc
6936 `(("exiv2" ,exiv2)))
6939 ("gobject-introspection" ,gobject-introspection)))
6940 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6941 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6943 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6944 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6945 metadata in photo and video files of various formats.")
6946 (license license:gpl2+)))
6948 (define-public shotwell
6954 (uri (string-append "mirror://gnome/sources/shotwell/"
6955 (version-major+minor version) "/"
6956 "shotwell-" version ".tar.xz"))
6959 "1h5crjq59lqi8f8mdkadzi8pc3i9i2ik4lsx2nrhzq486fzdfhw6"))))
6960 (build-system meson-build-system)
6964 (modify-phases %standard-phases
6965 (add-after 'unpack 'skip-gtk-update-icon-cache
6967 (substitute* "build-aux/meson/postinstall.py"
6968 (("gtk-update-icon-cache") (which "true"))
6969 (("update-desktop-database") (which "true")))
6972 `(("dconf" ,dconf)))
6974 `(("gettext" ,gettext-minimal)
6975 ("glib:bin" ,glib "bin")
6976 ("itstool" ,itstool)
6977 ("pkg-config" ,pkg-config)
6982 ("gst-plugins-base" ,gst-plugins-base)
6983 ("gstreamer" ,gstreamer)
6984 ("json-glib" ,json-glib)
6985 ("libgdata" ,libgdata)
6987 ("libgphoto2" ,libgphoto2)
6988 ("libgudev" ,libgudev)
6990 ("libsoup" ,libsoup)
6991 ("libxml2" ,libxml2)
6993 ("webkitgtk" ,webkitgtk)))
6994 (home-page "https://wiki.gnome.org/Apps/Shotwell")
6995 (synopsis "Photo manager for GNOME 3")
6997 "Shotwell is a digital photo manager designed for the GNOME desktop
6998 environment. It allows you to import photos from disk or camera, organize
6999 them by keywords and events, view them in full-window or fullscreen mode, and
7000 share them with others via social networking and more.")
7001 (license license:lgpl2.1+)))
7003 (define-public file-roller
7005 (name "file-roller")
7009 (uri (string-append "mirror://gnome/sources/file-roller/"
7010 (version-major+minor version) "/"
7011 "file-roller-" version ".tar.xz"))
7014 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7015 (build-system meson-build-system)
7017 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7018 ("intltool" ,intltool)
7019 ("itstool" ,itstool)
7020 ("pkg-config" ,pkg-config)
7021 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7022 ("glib:bin" ,glib "bin")))
7023 ;; TODO: Add libnautilus.
7026 ("gdk-pixbuf" ,gdk-pixbuf)
7027 ("json-glib" ,json-glib)
7028 ("libarchive" ,libarchive)
7029 ("libnotify" ,libnotify)
7031 ("libxml2" ,libxml2)))
7032 (synopsis "Graphical archive manager for GNOME")
7033 (description "File Roller is an archive manager for the GNOME desktop
7034 environment that allows users to view, unpack, and create compressed archives
7035 such as gzip tarballs.")
7036 (home-page "http://fileroller.sourceforge.net/")
7037 (license license:gpl2+)))
7039 (define-public gnome-session
7041 (name "gnome-session")
7045 (uri (string-append "mirror://gnome/sources/" name "/"
7046 (version-major+minor version) "/"
7047 name "-" version ".tar.xz"))
7050 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7054 (modify-phases %standard-phases
7055 (add-before 'configure 'pre-configure
7056 (lambda* (#:key outputs #:allow-other-keys)
7057 ;; Use elogind instead of systemd.
7058 (substitute* "meson.build"
7059 (("libsystemd-login") "libelogind")
7060 (("and libsystemd_daemon_dep.found.*") ","))
7061 (substitute* "gnome-session/gsm-systemd.c"
7062 (("#include <systemd/sd-login.h>")
7063 "#include <elogind/sd-login.h>"))
7064 ;; Remove uses of the systemd daemon.
7065 (substitute* "gnome-session/gsm-autostart-app.c"
7066 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7068 (add-after 'install 'wrap-gnome-session
7069 (lambda* (#:key inputs outputs #:allow-other-keys)
7070 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7071 (let ((glib (assoc-ref inputs "glib:bin"))
7072 (out (assoc-ref outputs "out")))
7073 (wrap-program (string-append out "/bin/gnome-session")
7074 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7078 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7079 "-Dman=false" ; FIXME: disabled because of docbook validation error
7080 "-Dsystemd_journal=false")))
7081 (build-system meson-build-system)
7083 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7084 ("pkg-config" ,pkg-config)
7085 ("intltool" ,intltool)
7086 ("xsltproc" ,libxslt)
7087 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7088 ("docbook-xsl" ,docbook-xsl)
7089 ("docbook-xml" ,docbook-xml)
7092 `(("elogind" ,elogind)
7093 ("gnome-desktop" ,gnome-desktop)
7094 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7096 ("json-glib" ,json-glib)
7098 ("libxcomposite" ,libxcomposite)
7099 ("libxtst" ,libxtst)
7102 ("xtrans" ,xtrans)))
7103 (synopsis "Session manager for GNOME")
7105 "This package contains the GNOME session manager, as well as a
7106 configuration program to choose applications starting on login.")
7107 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7108 (license license:gpl2+)))
7116 (uri (string-append "mirror://gnome/sources/" name "/"
7117 (version-major+minor version) "/"
7118 name "-" version ".tar.xz"))
7121 "0c7fclm53v41n5vfndymp35fbh1x218lrk65iqrk1wc2lsnh5zvh"))
7122 (modules '((guix build utils)))
7125 (substitute* "installed-tests/scripts/testCommandLine.sh"
7128 (build-system meson-build-system)
7130 '(#:configure-flags '("-Dinstalled_tests=false")
7132 (modify-phases %standard-phases
7133 (add-before 'check 'pre-check
7135 ;; The test suite requires a running X server.
7136 (system "Xvfb :1 &")
7137 (setenv "DISPLAY" ":1")
7139 ;; For the missing /etc/machine-id.
7140 (setenv "DBUS_FATAL_WARNINGS" "0"))))))
7142 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7143 ("pkg-config" ,pkg-config)
7144 ("xmllint" ,libxml2)
7146 ("dbus-launch" ,dbus)
7147 ("dconf" ,dconf) ; required to properly store settings
7148 ("uuidgen" ,util-linux)
7149 ("xvfb" ,xorg-server-for-tests)))
7151 ;; These are all in the Requires.private field of gjs-1.0.pc.
7153 ("gobject-introspection" ,gobject-introspection)
7154 ("mozjs" ,mozjs-78)))
7157 ("readline" ,readline)))
7158 (synopsis "Javascript bindings for GNOME")
7159 (home-page "https://live.gnome.org/Gjs")
7161 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7162 javascript engine and the GObject introspection framework.")
7163 (license license:gpl2+)))
7165 (define-public gedit
7171 (uri (string-append "mirror://gnome/sources/" name "/"
7172 (version-major+minor version) "/"
7173 name "-" version ".tar.xz"))
7176 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7177 (build-system meson-build-system)
7181 ;; Otherwise, the RUNPATH will lack the final path component.
7182 (list (string-append "-Dc_link_args=-Wl,-rpath="
7183 (assoc-ref %outputs "out") "/lib/gedit"))
7185 ;; XXX: Generated .h files are sometimes used before being built.
7186 #:parallel-build? #f
7189 (modify-phases %standard-phases
7190 (add-after 'unpack 'skip-gtk-update-icon-cache
7191 ;; Don't create 'icon-theme.cache'.
7193 (substitute* "build-aux/meson/post_install.py"
7194 (("gtk-update-icon-cache") (which "true")))
7196 (add-after 'unpack 'patch-libgd-fetch
7197 (lambda* (#:key inputs #:allow-other-keys)
7198 (let ((libgd (assoc-ref inputs "libgd")))
7199 ;; Calling git is unnecessary because libgd is fetched as a
7200 ;; native input to this package.
7201 (substitute* "meson.build"
7203 (copy-recursively libgd "subprojects/libgd")
7205 (add-after 'install 'wrap-gedit
7206 (lambda* (#:key inputs outputs #:allow-other-keys)
7207 (let ((out (assoc-ref outputs "out"))
7208 (gtksourceview (assoc-ref inputs "gtksourceview"))
7209 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7210 (python-path (getenv "GUIX_PYTHONPATH")))
7211 (wrap-program (string-append out "/bin/gedit")
7213 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7214 `("GUIX_PYTHONPATH" ":" prefix (,python-path))
7215 ;; For language-specs.
7216 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7220 `(("dconf" ,dconf)))
7222 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7223 ("intltool" ,intltool)
7224 ("itstool" ,itstool)
7225 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7226 ("gobject-introspection" ,gobject-introspection)
7231 (url "https://gitlab.gnome.org/GNOME/libgd")
7232 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7233 (file-name (git-file-name "libgd" version))
7235 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7236 ("pkg-config" ,pkg-config)))
7241 ("gtksourceview" ,gtksourceview)
7242 ("libpeas" ,libpeas)
7243 ("libxml2" ,libxml2)
7244 ("iso-codes" ,iso-codes)
7245 ("python-pygobject" ,python-pygobject)
7247 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7250 ("adwaita-icon-theme" ,adwaita-icon-theme)
7251 ("libsoup" ,libsoup)
7252 ("gnome-desktop" ,gnome-desktop)))
7253 (home-page "https://wiki.gnome.org/Apps/Gedit")
7254 (synopsis "GNOME text editor")
7255 (description "While aiming at simplicity and ease of use, gedit is a
7256 powerful general purpose text editor.")
7257 (license license:gpl2+)))
7259 (define-public zenity
7265 (uri (string-append "mirror://gnome/sources/zenity/"
7266 (version-major+minor version) "/"
7267 "zenity-" version ".tar.xz"))
7270 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7271 (build-system gnu-build-system)
7273 `(("gettext" ,gettext-minimal)
7274 ("itstool" ,itstool)
7275 ("pkg-config" ,pkg-config)))
7277 `(("libnotify" ,libnotify)
7278 ("webkitgtk" ,webkitgtk)))
7279 (synopsis "Display graphical dialog boxes from shell scripts")
7280 (home-page "https://www.gnome.org")
7282 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7283 to display dialog boxes from the commandline and shell scripts.")
7284 (license license:lgpl2.0+)))
7286 (define-public mutter
7292 (uri (string-append "mirror://gnome/sources/" name "/"
7293 (version-major+minor version) "/"
7294 name "-" version ".tar.xz"))
7297 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7298 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7299 ;; versions of cogl and clutter. As a result, many of the inputs,
7300 ;; propagated-inputs, and configure flags used in cogl and clutter are
7301 ;; needed here as well.
7302 (build-system meson-build-system)
7304 '(;; XXX: All mutter tests fail with the following error:
7305 ;; Settings schema 'org.gnome.mutter' is not installed
7309 ;; TODO: Enable profiler when Sysprof is packaged.
7310 (list "-Dprofiler=false"
7311 ;; Otherwise, the RUNPATH will lack the final path component.
7312 (string-append "-Dc_link_args=-Wl,-rpath="
7313 (assoc-ref %outputs "out") "/lib:"
7314 (assoc-ref %outputs "out") "/lib/mutter-5")
7316 ;; The following flags are needed for the bundled clutter
7317 (string-append "-Dxwayland_path="
7318 (assoc-ref %build-inputs "xorg-server-xwayland")
7321 ;; the remaining flags are needed for the bundled cogl
7322 (string-append "-Dopengl_libname="
7323 (assoc-ref %build-inputs "mesa")
7325 #:phases (modify-phases %standard-phases
7326 (add-after 'unpack 'fix-build-with-mesa-20
7328 ;; Mimic upstream commit a444a4c5f58ea516ad for
7329 ;; compatibility with Mesa 20. Remove for 3.36.
7330 (substitute* '("src/backends/meta-egl-ext.h"
7331 "src/backends/meta-egl.c"
7332 "src/backends/meta-egl.h")
7333 (("#include <EGL/eglext\\.h>" all)
7334 (string-append all "\n#include <EGL/eglmesaext.h>")))
7335 (substitute* "cogl/cogl/meson.build"
7336 (("#include <EGL/eglext\\.h>" all)
7337 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7340 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7341 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7342 ("gobject-introspection" ,gobject-introspection)
7343 ("intltool" ,intltool)
7344 ("pkg-config" ,pkg-config)
7345 ("xorg-server" ,xorg-server-for-tests)
7347 ("autoconf" ,autoconf)
7348 ("automake" ,automake)
7349 ("libtool" ,libtool)))
7351 `(;; libmutter.pc refers to these:
7352 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7354 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7357 ("gdk-pixbuf" ,gdk-pixbuf)
7359 ("json-glib" ,json-glib)
7360 ("libinput" ,libinput)
7362 ("libxcomposite" ,libxcomposite)
7363 ("libxdamage" ,libxdamage)
7364 ("libxext" ,libxext)
7365 ("libxfixes" ,libxfixes)
7366 ("libxkbcommon" ,libxkbcommon)
7367 ("libxrandr" ,libxrandr)
7371 ("xinput" ,xinput)))
7373 `(("elogind" ,elogind)
7374 ("gnome-desktop" ,gnome-desktop)
7375 ("gnome-settings-daemon" ,gnome-settings-daemon)
7376 ("libcanberra-gtk" ,libcanberra)
7377 ("libgudev" ,libgudev)
7380 ("libwacom" ,libwacom)
7381 ("libxkbfile" ,libxkbfile)
7382 ("libxrandr" ,libxrandr)
7383 ("libxtst" ,libxtst)
7384 ("pipewire" ,pipewire)
7385 ("startup-notification" ,startup-notification)
7386 ("upower-glib" ,upower)
7387 ("xkeyboard-config" ,xkeyboard-config)
7388 ("xorg-server-xwayland" ,xorg-server-xwayland)
7389 ("zenity" ,zenity)))
7390 (synopsis "Window and compositing manager")
7391 (home-page "https://www.gnome.org")
7393 "Mutter is a window and compositing manager that displays and manages your
7394 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7395 Clutter toolkit with solid window-management logic inherited from the Metacity
7397 (license license:gpl2+)))
7399 (define-public gnome-online-accounts
7401 (name "gnome-online-accounts")
7405 (uri (string-append "mirror://gnome/sources/" name "/"
7406 (version-major+minor version) "/"
7407 name "-" version ".tar.xz"))
7410 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7411 (outputs '("out" "lib"))
7412 (build-system glib-or-gtk-build-system)
7415 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7417 (modify-phases %standard-phases
7418 (add-before 'configure 'patch-libgoa-output
7419 (lambda* (#:key outputs #:allow-other-keys)
7420 (let ((lib (assoc-ref outputs "lib")))
7421 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7423 (("@exec_prefix@") lib)
7424 (("@libdir@") (string-append lib "/lib"))
7425 (("@includedir@") (string-append lib "/include"))
7426 (("@datadir@") (string-append lib "/share")))
7427 ;; Make sure gobject-introspection knows about the output
7428 ;; too (see <https://bugs.gnu.org/36535>).
7429 (setenv "outputs" "out lib")
7432 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7433 ("gobject-introspection" ,gobject-introspection)
7434 ("intltool" ,intltool)
7435 ("pkg-config" ,pkg-config)
7437 ("xsltproc" ,libxslt)))
7439 `(("glib" ,glib) ; required by goa-1.0.pc
7440 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7442 `(("docbook-xsl" ,docbook-xsl)
7443 ("json-glib" ,json-glib)
7444 ("libsecret" ,libsecret)
7446 ("webkitgtk" ,webkitgtk)))
7447 (synopsis "Single sign-on framework for GNOME")
7448 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7450 "GNOME Online Accounts provides interfaces so that applications and
7451 libraries in GNOME can access the user's online accounts. It has providers for
7452 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7453 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7454 (license license:lgpl2.0+)))
7456 (define-public evolution-data-server
7458 (name "evolution-data-server")
7463 (uri (string-append "mirror://gnome/sources/" name "/"
7464 (version-major+minor version) "/"
7465 name "-" version ".tar.xz"))
7467 (search-patches "evolution-data-server-locales.patch"
7468 "evolution-data-server-libical-compat.patch"
7469 "evolution-data-server-CVE-2020-14928.patch"
7470 "evolution-data-server-CVE-2020-16117.patch"
7471 "evolution-data-server-printableoptions.patch"))
7473 (base32 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7474 (build-system cmake-build-system)
7477 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7478 (runpaths (map (lambda (s)
7479 (string-append lib "/evolution-data-server/" s))
7480 '("addressbook-backends" "calendar-backends"
7481 "camel-providers" "credential-modules"
7482 "registry-modules"))))
7483 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7484 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7485 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7486 "-DENABLE_VALA_BINDINGS=ON"
7487 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7488 (string-append lib "/evolution-data-server;")
7489 (string-join runpaths ";"))
7490 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7492 (modify-phases %standard-phases
7493 (add-after 'unpack 'disable-failing-tests
7495 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7496 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7497 (delete-file-recursively "tests/book-migration")
7498 (substitute* "tests/CMakeLists.txt"
7499 (("add_subdirectory\\(book-migration\\)") ""))
7501 (add-after 'unpack 'patch-paths
7503 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7504 "tests/libedata-book/data-test-utils.c"
7505 "tests/libedata-book/test-book-cache-utils.c"
7506 "tests/libedata-cal/test-cal-cache-utils.c")
7507 (("/bin/rm") (which "rm")))
7509 (add-before 'configure 'dont-override-rpath
7511 (substitute* "CMakeLists.txt"
7512 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7513 ;; Remove it so the configure flag is respected.
7514 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7517 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7518 ("gobject-introspection" ,gobject-introspection)
7520 ("intltool" ,intltool)
7521 ("pkg-config" ,pkg-config)
7523 ("python" ,python-wrapper)))
7525 ;; These are all in the Requires field of .pc files.
7527 ("libical" ,libical)
7528 ("libsecret" ,libsecret)
7529 ("libsoup" ,libsoup)
7531 ("sqlite" ,sqlite)))
7535 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7536 ("json-glib" ,json-glib)
7537 ("libcanberra" ,libcanberra)
7538 ("libgweather" ,libgweather)
7539 ("mit-krb5" ,mit-krb5)
7540 ("openldap" ,openldap)
7541 ("webkitgtk" ,webkitgtk)))
7542 (synopsis "Store address books and calendars")
7543 (home-page "https://wiki.gnome.org/Apps/Evolution")
7545 "This package provides a unified backend for programs that work with
7546 contacts, tasks, and calendar information. It was originally developed for
7547 Evolution (hence the name), but is now used by other packages as well.")
7548 (license license:lgpl2.0)))
7550 (define-public caribou
7556 (uri (string-append "mirror://gnome/sources/" name "/"
7557 (version-major+minor version) "/"
7558 name "-" version ".tar.xz"))
7561 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7562 (build-system glib-or-gtk-build-system)
7565 (modify-phases %standard-phases
7568 (lambda* (#:key outputs #:allow-other-keys)
7569 (let ((out (assoc-ref outputs "out")))
7570 ;; Use absolute shared library path in Caribou-1.0.typelib.
7571 (substitute* "libcaribou/Makefile"
7572 (("--shared-library=libcaribou.so")
7573 (string-append "--shared-library="
7574 out "/lib/libcaribou.so")))
7576 (add-after 'install 'wrap-programs
7577 (lambda* (#:key outputs #:allow-other-keys)
7578 (let* ((out (assoc-ref outputs "out"))
7579 (python-path (getenv "GUIX_PYTHONPATH"))
7580 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7584 `("GUIX_PYTHONPATH" ":" prefix (,python-path))
7585 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7586 (list (string-append out "/bin/caribou-preferences")
7587 (string-append out "/libexec/antler-keyboard"))))
7590 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7591 ("gobject-introspection" ,gobject-introspection)
7592 ("intltool" ,intltool)
7593 ("pkg-config" ,pkg-config)
7596 ("xsltproc" ,libxslt)))
7598 ;; caribou-1.0.pc refers to all these.
7599 `(("libgee" ,libgee)
7600 ("libxklavier" ,libxklavier)
7601 ("libxtst" ,libxtst)
7604 `(("clutter" ,clutter)
7607 ("python-pygobject" ,python-pygobject)))
7608 (synopsis "Text entry and UI navigation application")
7609 (home-page "https://wiki.gnome.org/Projects/Caribou")
7611 "Caribou is an input assistive technology intended for switch and pointer
7613 (license license:lgpl2.1)))
7615 (define-public network-manager
7617 (name "network-manager")
7621 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7622 (version-major+minor version) "/"
7623 "NetworkManager-" version ".tar.xz"))
7624 (patches (search-patches "network-manager-plugin-path.patch"))
7627 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7628 (modules '((guix build utils)))
7631 (substitute* "src/devices/wwan/nm-modem-manager.c"
7632 (("systemd") "elogind"))
7634 (build-system meson-build-system)
7636 "doc")) ; 8 MiB of gtk-doc HTML
7639 (let ((out (assoc-ref %outputs "out"))
7640 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7643 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7645 (string-append "-Dc_link_args=-Wl,-rpath="
7647 out "/lib/NetworkManager/" ,version)
7648 "-Dsystemd_journal=false"
7649 "-Dsession_tracking=elogind"
7650 "-Dsuspend_resume=elogind"
7651 "-Dsystemdsystemunitdir=no"
7652 "-Dsession_tracking_consolekit=false"
7661 "--localstatedir=/var"
7662 (string-append "-Dudev_dir="
7664 (string-append "-Ddbus_conf_dir="
7665 out "/etc/dbus-1/system.d")
7667 (string-append "-Ddhclient=" dhclient)))
7669 (modify-phases %standard-phases
7670 (add-before 'configure 'pre-configure
7672 ;; These tests try to test aspects of network-manager's
7673 ;; functionality within restricted containers, but they don't
7674 ;; cope with being already in the Guix build jail as that jail
7675 ;; lacks some features that they would like to proxy over (like
7677 (substitute* "src/platform/tests/meson.build"
7678 ((".*test-address-linux.*") "")
7679 ((".*test-cleanup-linux.*") "")
7680 ((".*test-link-linux.*") "")
7681 ((".*test-route-linux.*") ""))
7682 (substitute* "src/devices/tests/meson.build"
7683 ((".*test-acd.*") "")
7684 ((".*test-lldp.*") ""))
7686 (add-after 'unpack 'patch-docbook-xml
7687 (lambda* (#:key inputs #:allow-other-keys)
7688 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7689 "/xml/dtd/docbook")))
7690 (substitute* (find-files "." ".*\\.(xsl|xml)")
7691 (("http://.*/docbookx\\.dtd")
7692 (string-append xmldoc "/docbookx.dtd")))
7694 (add-before 'check 'pre-check
7696 ;; For the missing /etc/machine-id.
7697 (setenv "DBUS_FATAL_WARNINGS" "0")
7699 (add-before 'install 'no-polkit-magic
7700 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7702 (setenv "PKEXEC_UID" "something")
7704 (add-after 'install 'move-doc
7705 (lambda* (#:key outputs #:allow-other-keys)
7706 (let ((out (assoc-ref outputs "out"))
7707 (doc (assoc-ref outputs "doc")))
7708 (mkdir-p (string-append doc "/share"))
7709 (for-each (lambda (directory)
7710 (copy-recursively (string-append out directory)
7711 (string-append doc directory))
7712 (delete-file-recursively
7713 (string-append out directory)))
7714 '("/share/doc" "/share/gtk-doc"))
7719 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7720 ("gtk-doc" ,gtk-doc/stable)
7721 ("gobject-introspection" ,gobject-introspection)
7722 ("docbook-xml" ,docbook-xml)
7723 ("docbook-xsl" ,docbook-xsl)
7724 ("intltool" ,intltool)
7725 ("libxslt" ,libxslt)
7726 ("libxml2" ,libxml2)
7727 ("pkg-config" ,pkg-config)
7730 ("python" ,python-wrapper)
7731 ("python-dbus" ,python-dbus)
7732 ("python-pygobject" ,python-pygobject)))
7735 ("cyrus-sasl" ,cyrus-sasl)
7736 ("dbus-glib" ,dbus-glib)
7737 ("dnsmasq" ,dnsmasq)
7740 ("iptables" ,iptables)
7741 ("isc-dhcp" ,isc-dhcp)
7742 ("iwd" ,iwd) ; wpa_supplicant alternative
7743 ("jansson" ,jansson)
7745 ("libgcrypt" ,libgcrypt)
7746 ("libgudev" ,libgudev)
7749 ("libselinux" ,libselinux)
7750 ("libsoup" ,libsoup)
7751 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7752 ("modem-manager" ,modem-manager)
7753 ("newt" ,newt) ;for the 'nmtui' console interface
7754 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7757 ("readline" ,readline)
7758 ("util-linux" ,util-linux)
7759 ("elogind" ,elogind)))
7760 (synopsis "Network connection manager")
7761 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7763 "NetworkManager is a system network service that manages your network
7764 devices and connections, attempting to keep active network connectivity when
7765 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7766 devices, and provides VPN integration with a variety of different VPN
7768 ;; “This NetworkManager project consists of the daemon, client tools, and
7769 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7771 (license (list license:gpl2+
7773 (properties '((upstream-name . "NetworkManager")))))
7775 (define-public network-manager-openvpn
7777 (name "network-manager-openvpn")
7782 "mirror://gnome/sources/NetworkManager-openvpn/"
7783 (version-major+minor version)
7784 "/NetworkManager-openvpn-" version ".tar.xz"))
7787 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7788 (build-system gnu-build-system)
7790 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7792 (modify-phases %standard-phases
7793 (add-after 'configure 'patch-path
7794 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7795 (let* ((ovpn (search-input-file inputs "/sbin/openvpn"))
7796 (modprobe (search-input-file inputs "/bin/modprobe"))
7797 (pretty-ovpn (string-append "\"" ovpn "\"")))
7801 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7802 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7803 (("\"/sbin/openvpn\"") pretty-ovpn)
7804 (("/sbin/modprobe") modprobe)))
7805 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7808 `(("pkg-config" ,pkg-config)
7809 ("intltool" ,intltool)))
7813 ("openvpn" ,openvpn)
7814 ("network-manager" ,network-manager)
7816 ("libsecret" ,libsecret)))
7817 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7818 (synopsis "OpenVPN plug-in for NetworkManager")
7820 "This extension of NetworkManager allows it to take care of connections
7821 to virtual private networks (VPNs) via OpenVPN.")
7822 (license license:gpl2+)
7823 (properties `((upstream-name . "NetworkManager-openvpn")))))
7825 (define-public network-manager-vpnc
7827 (name "network-manager-vpnc")
7832 "mirror://gnome/sources/NetworkManager-vpnc/"
7833 (version-major+minor version)
7834 "/NetworkManager-vpnc-" version ".tar.xz"))
7837 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7838 (build-system gnu-build-system)
7840 `(#:configure-flags '("--enable-absolute-paths"
7841 "--localstatedir=/var"
7842 ;; libnm-glib has been removed from network-manager
7843 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7844 "--with-libnm-glib=no")
7846 (modify-phases %standard-phases
7847 (add-after 'configure 'patch-path
7848 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7849 (let* ((vpnc (search-input-file inputs "/sbin/vpnc"))
7850 (modprobe (search-input-file inputs "/bin/modprobe"))
7851 (pretty-ovpn (string-append "\"" vpnc "\"")))
7852 (substitute* "src/nm-vpnc-service.c"
7853 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7854 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7855 (("\"/sbin/vpnc\"") pretty-ovpn)
7856 (("/sbin/modprobe") modprobe)))
7859 `(("pkg-config" ,pkg-config)
7860 ("intltool" ,intltool)))
7865 ("network-manager" ,network-manager)
7867 ("libsecret" ,libsecret)))
7868 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7869 (synopsis "VPNC plug-in for NetworkManager")
7871 "Support for configuring virtual private networks based on VPNC.
7872 Compatible with Cisco VPN concentrators configured to use IPsec.")
7873 (license license:gpl2+)
7874 (properties `((upstream-name . "NetworkManager-vpnc")))))
7876 (define-public network-manager-openconnect
7878 (name "network-manager-openconnect")
7883 "mirror://gnome/sources/NetworkManager-openconnect/"
7884 (version-major+minor version)
7885 "/NetworkManager-openconnect-" version ".tar.xz"))
7888 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7889 (build-system gnu-build-system)
7891 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7893 (modify-phases %standard-phases
7894 (add-after 'configure 'patch-path
7895 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7896 (let* ((openconnect (search-input-file inputs
7897 "/sbin/openconnect"))
7898 (modprobe (search-input-file inputs "/bin/modprobe"))
7899 (pretty-ovpn (string-append "\"" openconnect "\"")))
7900 (substitute* "src/nm-openconnect-service.c"
7901 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7902 (("/sbin/modprobe") modprobe)))
7905 `(("intltool" ,intltool)
7907 ("pkg-config" ,pkg-config)))
7912 ("libsecret" ,libsecret)
7913 ("libxml2" ,libxml2)
7915 ("network-manager" ,network-manager)
7916 ("openconnect" ,openconnect)))
7917 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7918 (synopsis "OpenConnect plug-in for NetworkManager")
7920 "This extension of NetworkManager allows it to take care of connections
7921 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7922 Cisco's AnyConnect SSL VPN.")
7923 (license license:gpl2+)
7924 (properties `((upstream-name . "NetworkManager-openconnect")
7926 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7927 ;; file refers to account "nm-openconnect". Specify it here
7928 ;; so that 'network-manager-service-type' creates it.
7929 (user-accounts . ("nm-openconnect"))))))
7931 (define-public mobile-broadband-provider-info
7933 (name "mobile-broadband-provider-info")
7934 (version "20190116")
7938 "mirror://gnome/sources/"
7939 "mobile-broadband-provider-info/" version "/"
7940 "mobile-broadband-provider-info-" version ".tar.xz"))
7943 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7944 (build-system gnu-build-system)
7946 `(#:tests? #f)) ; no tests
7947 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7948 (synopsis "Database of broadband connection configuration")
7949 (description "Database of broadband connection configuration.")
7950 (license license:public-domain)))
7952 (define-public network-manager-applet
7954 (name "network-manager-applet")
7958 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7959 (version-major+minor version) "/"
7960 "network-manager-applet-" version ".tar.xz"))
7963 "1gj6lqqi613j2m49v9i82lqg1rv7kwwc8z4nxjcwpaa0ins803f7"))))
7964 (build-system meson-build-system)
7968 '("-Dappindicator=yes")))
7970 `(("intltool" ,intltool)
7971 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7972 ("gobject-introspection" ,gobject-introspection)
7973 ("gtk-doc" ,gtk-doc/stable)
7974 ("pkg-config" ,pkg-config)))
7976 ;; libnm-gtk.pc refers to all these.
7977 `(("dbus-glib" ,dbus-glib)
7979 ("network-manager" ,network-manager)
7980 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7981 ("libnma" ,libnma)))
7984 ("libappindicator" ,libappindicator)
7985 ("libgudev" ,libgudev)
7986 ("libnotify" ,libnotify)
7987 ("libsecret" ,libsecret)
7988 ("libselinux" ,libselinux)
7989 ("jansson" ,jansson) ; for team support
7990 ("modem-manager" ,modem-manager)))
7991 (synopsis "Applet for managing network connections")
7992 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7994 "This package contains a systray applet for NetworkManager. It displays
7995 the available networks and allows users to easily switch between them.")
7996 (license license:gpl2+)))
7998 (define-public libxml++
8006 (url "https://github.com/libxmlplusplus/libxmlplusplus")
8008 (file-name (git-file-name name version))
8010 (base32 "0wjz591rjlgbah7dcq8i0yn0zw9d62b7g6r0pppx81ic0cx8n8ga"))))
8011 (build-system gnu-build-system)
8014 (modify-phases %standard-phases
8015 (add-after 'unpack 'fix-documentation
8016 (lambda* (#:key inputs #:allow-other-keys)
8017 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
8018 "/xml/dtd/docbook"))
8019 (xsldoc (string-append (assoc-ref inputs "docbook-xsl")
8020 "/xml/xsl/docbook-xsl-"
8021 ,(package-version docbook-xsl))))
8022 (substitute* '("examples/dom_xpath/example.xml"
8023 "docs/manual/libxml++_without_code.xml")
8024 (("http://.*/docbookx\\.dtd")
8025 (string-append xmldoc "/docbookx.dtd")))
8026 (setenv "SGML_CATALOG_FILES"
8027 (string-append xmldoc "/catalog.xml"))
8028 (substitute* "docs/manual/docbook-customisation.xsl"
8029 (("http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl")
8030 (string-append xsldoc "/html/chunk.xsl")))))))))
8032 ;; libxml++-3.0.pc refers to all these.
8033 `(("glibmm" ,glibmm)
8034 ("libxml2" ,libxml2)))
8036 `(("autoconf" ,autoconf)
8037 ("automake" ,automake)
8038 ("doxygen" ,doxygen)
8039 ("docbook-xml" ,docbook-xml)
8040 ("docbook-xsl" ,docbook-xsl)
8041 ("graphviz" ,graphviz) ; for dot
8042 ("libtool" ,libtool)
8043 ("libxslt" ,libxslt)
8044 ("mm-common" ,mm-common)
8046 ("pkg-config" ,pkg-config)))
8047 (home-page "https://github.com/libxmlplusplus/libxmlplusplus/")
8048 (synopsis "C++ bindings to the libxml2 XML parser library")
8050 "This package provides a C++ interface to the libxml2 XML parser
8052 (license license:lgpl2.1+)))
8054 ;; This is the last release providing the 2.6 API, hence the name.
8055 ;; This is needed by tascam-gtk
8056 (define-public libxml++-2
8065 (url "https://github.com/libxmlplusplus/libxmlplusplus")
8067 (file-name (git-file-name name version))
8069 (base32 "0gbfi4l88w828gmyc9br11l003ylyi4vigp5d1kfgsn0k4cig3y9"))))))
8077 (uri (string-append "mirror://gnome/sources/" name "/"
8078 (version-major+minor version) "/"
8079 name "-" version ".tar.xz"))
8082 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8083 (patches (search-patches "gdm-default-session.patch"))))
8084 (build-system glib-or-gtk-build-system)
8087 `("--without-plymouth"
8088 "--disable-systemd-journal"
8090 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8091 ;; instead of having to replace it (i.e., stopping the mingetty
8092 ;; service for TTY 1 before starting GDM).
8093 "--with-initial-vt=7"
8095 ;; Use '/etc/environment' for locale settings instead of the
8096 ;; systemd-specific '/etc/locale.conf'.
8097 "--with-lang-file=/etc/environment"
8099 ,(string-append "--with-udevdir="
8100 (assoc-ref %outputs "out") "/lib/udev")
8102 "--localstatedir=/var"
8103 ,(string-append "--with-default-path="
8104 (string-join '("/run/setuid-programs"
8105 "/run/current-system/profile/bin"
8106 "/run/current-system/profile/sbin")
8108 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8109 ;; XDG_DATA_DIRS so that it finds its schemas.
8110 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8112 (modify-phases %standard-phases
8114 'configure 'pre-configure
8115 (lambda* (#:key inputs outputs #:allow-other-keys)
8116 ;; We don't have <systemd/sd-daemon.h>.
8117 (substitute* '("common/gdm-log.c"
8118 "daemon/gdm-server.c"
8119 "daemon/gdm-session-worker.c"
8120 "daemon/gdm-session-worker-job.c")
8121 (("#include <systemd/sd-daemon\\.h>") ""))
8122 ;; Use elogind for sd-login.
8123 (substitute* '("common/gdm-common.c"
8124 "daemon/gdm-local-display-factory.c"
8125 "daemon/gdm-manager.c"
8126 "libgdm/gdm-user-switching.c")
8127 (("#include <systemd/sd-login\\.h>")
8128 "#include <elogind/sd-login.h>"))
8129 ;; Check for elogind.
8130 (substitute* '("configure")
8133 ;; Look for system-installed sessions in
8134 ;; /run/current-system/profile/share.
8135 (substitute* '("libgdm/gdm-sessions.c"
8136 "daemon/gdm-session.c"
8137 "daemon/gdm-display.c"
8138 "daemon/gdm-launch-environment.c")
8140 "\"/run/current-system/profile/share/x")
8141 (("DATADIR \"/wayland")
8142 "\"/run/current-system/profile/share/wayland")
8143 (("DATADIR \"/gnome")
8144 "\"/run/current-system/profile/share/gnome"))
8145 (let ((propagate '("GDM_CUSTOM_CONF"
8149 ;; XXX: Remove this once GNOME Shell is
8150 ;; a dependency of GDM.
8152 (substitute* "daemon/gdm-session.c"
8153 (("set_up_session_environment \\(self\\);")
8154 (apply string-append
8155 "set_up_session_environment (self);\n"
8158 "gdm_session_set_environment_variable "
8159 "(self, \"" name "\","
8160 "g_getenv (\"" name "\"));\n"))
8162 ;; Find the configuration file using an environment variable.
8163 (substitute* '("common/gdm-settings.c")
8164 (("GDM_CUSTOM_CONF")
8165 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8166 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8167 " : GDM_CUSTOM_CONF)")))
8168 ;; Use service-supplied path to X.
8169 (substitute* '("daemon/gdm-server.c")
8170 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8171 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8172 (substitute* '("daemon/gdm-wayland-session.c"
8173 "daemon/gdm-x-session.c")
8174 (("\"dbus-daemon\"")
8175 "g_getenv (\"GDM_DBUS_DAEMON\")")
8177 "g_getenv (\"GDM_X_SERVER\")")
8178 (("GDMCONFDIR \"/Xsession\"")
8179 "g_getenv (\"GDM_X_SESSION\")"))
8180 ;; Use an absolute path for GNOME Session.
8181 (substitute* "daemon/gdm-launch-environment.c"
8182 (("\"gnome-session\"")
8183 (string-append "\"" (assoc-ref inputs "gnome-session")
8184 "/bin/gnome-session\"")))
8185 ;; Do not automatically select the placeholder session.
8186 (substitute* "daemon/gdm-session.c"
8187 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8188 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8189 "(g_strcmp0(search_dirs[i], \""
8190 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8192 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8193 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8194 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8196 ;; GDM requires that there be at least one desktop entry
8197 ;; file. This phase installs a hidden one that simply
8198 ;; fails. This enables users to use GDM with a
8199 ;; '~/.xsession' script with no other desktop entry files.
8200 ;; See <https://bugs.gnu.org/35068>.
8201 (add-after 'install 'install-placeholder-desktop-entry
8202 (lambda* (#:key inputs outputs #:allow-other-keys)
8203 (let* ((out (assoc-ref outputs "out"))
8204 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8205 (fail (string-append sessions "/fail.desktop")))
8207 (with-output-to-file fail
8211 '("[Desktop Entry]\n"
8213 "Type=Application\n"
8215 "Comment=This session fails immediately.\n"
8219 ;; GDM needs GNOME Session to run these applications. We link
8220 ;; their autostart files in `share/gdm/greeter/autostart'
8221 ;; because GDM explicitly tells GNOME Session to look there.
8223 ;; XXX: GNOME Shell should be linked here too, but currently
8224 ;; GNOME Shell depends on GDM.
8225 (add-after 'install 'link-autostart-files
8226 (lambda* (#:key inputs outputs #:allow-other-keys)
8227 (let* ((out (assoc-ref outputs "out"))
8228 (autostart (string-append out "/share/gdm/"
8229 "greeter/autostart"))
8230 (settings (assoc-ref inputs "gnome-settings-daemon")))
8232 (with-directory-excursion autostart
8233 (for-each (lambda (desktop)
8234 (symlink desktop (basename desktop)))
8235 (find-files (string-append settings "/etc/xdg"))))
8239 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8240 ("gobject-introspection" ,gobject-introspection)
8241 ("intltool" ,intltool)
8242 ("itstool" ,itstool)
8243 ("pkg-config" ,pkg-config)
8244 ("xmllint" ,libxml2)))
8246 `(("accountsservice" ,accountsservice)
8247 ("check" ,check-0.14) ;for testing
8248 ("elogind" ,elogind)
8249 ("gnome-session" ,gnome-session)
8250 ("gnome-settings-daemon" ,gnome-settings-daemon)
8252 ("iso-codes" ,iso-codes)
8253 ("libcanberra" ,libcanberra)
8254 ("linux-pam" ,linux-pam)))
8255 (synopsis "Display manager for GNOME")
8256 (home-page "https://wiki.gnome.org/Projects/GDM/")
8258 "GNOME Display Manager is a system service that is responsible for
8259 providing graphical log-ins and managing local and remote displays.")
8260 (license license:gpl2+)))
8262 (define-public libgtop
8268 (uri (string-append "mirror://gnome/sources/libgtop/"
8269 (version-major+minor version) "/"
8270 "libgtop-" version ".tar.xz"))
8273 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8274 (build-system gnu-build-system)
8276 `(("gobject-introspection" ,gobject-introspection)
8277 ("intltool" ,intltool)
8279 ("pkg-config" ,pkg-config)))
8281 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8282 (synopsis "Portable system access library")
8283 (home-page "https://www.gnome.org/")
8285 "LibGTop is a library to get system specific data such as CPU and memory
8286 usage and information about running processes.")
8287 (license license:gpl2+)))
8289 (define-public gnome-bluetooth
8291 (name "gnome-bluetooth")
8295 (uri (string-append "mirror://gnome/sources/" name "/"
8296 (version-major+minor version) "/"
8297 name "-" version ".tar.xz"))
8300 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8301 (build-system meson-build-system)
8303 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8304 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8305 ("gobject-introspection" ,gobject-introspection)
8306 ("intltool" ,intltool)
8307 ("pkg-config" ,pkg-config)
8308 ("xmllint" ,libxml2)))
8310 ;; gnome-bluetooth-1.0.pc refers to all these.
8315 ("libcanberra" ,libcanberra)
8316 ("libnotify" ,libnotify)))
8317 (synopsis "GNOME Bluetooth subsystem")
8318 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8320 "This package contains tools for managing and manipulating Bluetooth
8321 devices using the GNOME desktop.")
8322 (license license:lgpl2.1+)))
8324 (define-public gnome-control-center
8326 (name "gnome-control-center")
8330 (uri (string-append "mirror://gnome/sources/" name "/"
8331 (version-major+minor version) "/"
8332 name "-" version ".tar.xz"))
8335 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8336 (build-system meson-build-system)
8340 (list "-Dcheese=false"
8341 (string-append "-Dgnome_session_libexecdir="
8342 (assoc-ref %build-inputs "gnome-session")
8345 (modify-phases %standard-phases
8346 (add-before 'configure 'patch-paths
8347 (lambda* (#:key inputs #:allow-other-keys)
8348 (let ((libc (assoc-ref inputs "libc"))
8349 (tzdata (assoc-ref inputs "tzdata"))
8350 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8351 (nm-applet (assoc-ref inputs "network-manager-applet"))
8352 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8353 (substitute* "panels/datetime/tz.h"
8354 (("/usr/share/zoneinfo/zone.tab")
8355 (string-append tzdata "/share/zoneinfo/zone.tab")))
8356 (substitute* "tests/datetime/test-endianess.c"
8357 (("/usr/share/locale")
8358 (string-append libc "/share/locale")))
8359 (substitute* "panels/region/cc-region-panel.c"
8360 (("\"gkbd-keyboard-display")
8361 (string-append "\"" libgnomekbd
8362 "/bin/gkbd-keyboard-display")))
8363 (substitute* '("panels/network/net-device-wifi.c"
8364 "panels/network/net-device.c"
8365 "panels/network/connection-editor/net-connection-editor.c")
8366 (("\"nm-connection-editor")
8367 (string-append "\"" nm-applet
8368 "/bin/nm-connection-editor")))
8369 (substitute* '("panels/user-accounts/run-passwd.c")
8370 (("/usr/bin/passwd")
8371 "/run/setuid-programs/passwd"))
8372 (substitute* "panels/info/cc-info-overview-panel.c"
8373 (("DATADIR \"/gnome/gnome-version.xml\"")
8374 (string-append "\"" gnome-desktop
8375 "/share/gnome/gnome-version.xml\"")))
8377 (add-after 'unpack 'skip-gtk-update-icon-cache
8378 ;; Don't create 'icon-theme.cache'.
8380 (substitute* "build-aux/meson/meson_post_install.py"
8381 (("gtk-update-icon-cache") (which "true")))
8384 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8385 ("intltool" ,intltool)
8386 ("pkg-config" ,pkg-config)
8387 ("xsltproc" ,libxslt)
8389 ("hicolor-icon-theme" ,hicolor-icon-theme)
8390 ("python-dbusmock" ,python-dbusmock)
8391 ("xorg-server" ,xorg-server-for-tests)))
8393 `(("accountsservice" ,accountsservice)
8394 ("clutter-gtk" ,clutter-gtk)
8395 ("colord-gtk" ,colord-gtk)
8398 ("docbook-xsl" ,docbook-xsl)
8399 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8400 ("gnome-bluetooth" ,gnome-bluetooth)
8401 ("gnome-desktop" ,gnome-desktop)
8402 ("gnome-online-accounts" ,gnome-online-accounts)
8403 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8404 ("gnome-session" ,gnome-session)
8405 ("gnome-settings-daemon" ,gnome-settings-daemon)
8409 ("libcanberra" ,libcanberra)
8410 ("libgnomekbd" ,libgnomekbd)
8411 ("libgudev" ,libgudev)
8412 ("libgtop" ,libgtop)
8414 ("libpwquality" ,libpwquality)
8415 ("libsecret" ,libsecret)
8416 ("libsoup" ,libsoup)
8417 ("libxml2" ,libxml2)
8418 ("libwacom" ,libwacom)
8420 ("mit-krb5" ,mit-krb5)
8421 ("modem-manager" ,modem-manager)
8422 ("network-manager-applet" ,network-manager-applet)
8424 ("pulseaudio" ,pulseaudio)
8425 ("smbclient" ,samba)
8428 ("upower" ,upower)))
8429 (synopsis "Utilities to configure the GNOME desktop")
8430 (home-page "https://www.gnome.org/")
8432 "This package contains configuration applets for the GNOME desktop,
8433 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8434 properties, sound setup, desktop theme and background, user interface
8435 properties, screen resolution, and other GNOME parameters.")
8436 (license license:gpl2+)))
8438 (define-public gnome-shell
8440 (name "gnome-shell")
8444 (uri (string-append "mirror://gnome/sources/" name "/"
8445 (version-major+minor version) "/"
8446 name "-" version ".tar.xz"))
8449 "0l3mdn7g2c22mdhrqkxvvc1pk2w0v32f2v4a6n1phvaalwcg75nj"))
8450 (patches (search-patches "gnome-shell-CVE-2020-17489.patch"
8451 "gnome-shell-theme.patch"
8452 "gnome-shell-disable-test.patch"))
8453 (modules '((guix build utils)))
8456 ;; Copy images for use on the GDM log-in screen.
8457 (copy-file #$(file-append %artwork-repository
8458 "/slim/0.x/background.png")
8459 "data/theme/guix-background.png")
8460 (copy-file #$(file-append %artwork-repository
8461 "/logo/Guix-horizontal-white.svg")
8462 "data/theme/guix-logo.svg")
8464 (build-system meson-build-system)
8467 #:disallowed-references ,(list (gexp-input glib "bin")
8468 (gexp-input inkscape)
8469 (gexp-input libxslt)
8470 (gexp-input ruby-sass))
8472 (list "-Dsystemd=false"
8473 ;; Otherwise, the RUNPATH will lack the final path component.
8474 (string-append "-Dc_link_args=-Wl,-rpath="
8475 (assoc-ref %outputs "out")
8476 "/lib/gnome-shell"))
8478 #:modules ((guix build meson-build-system)
8483 (modify-phases %standard-phases
8484 (add-after 'unpack 'fix-keysdir
8485 (lambda* (#:key outputs #:allow-other-keys)
8486 (let* ((out (assoc-ref outputs "out"))
8487 (keysdir (string-append
8488 out "/share/gnome-control-center/keybindings")))
8489 (substitute* "meson.build"
8491 (string-append "keysdir = '" keysdir "'\n")))
8493 (add-before 'configure 'convert-logo-to-png
8494 (lambda* (#:key inputs #:allow-other-keys)
8495 ;; Convert the logo from SVG to PNG.
8496 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8497 "data/theme/guix-logo.svg")))
8498 (add-before 'configure 'record-absolute-file-names
8499 (lambda* (#:key inputs #:allow-other-keys)
8500 (substitute* "js/misc/ibusManager.js"
8502 (string-append "'" (assoc-ref inputs "ibus")
8503 "/bin/ibus-daemon'")))
8504 (substitute* "js/ui/status/keyboard.js"
8505 (("'gkbd-keyboard-display'")
8506 (string-append "'" (assoc-ref inputs "libgnomekbd")
8507 "/bin/gkbd-keyboard-display'")))
8509 (add-before 'check 'pre-check
8510 (lambda* (#:key inputs #:allow-other-keys)
8511 ;; Tests require a running X server.
8512 (system "Xvfb :1 &")
8513 (setenv "DISPLAY" ":1")
8515 (add-after 'install 'wrap-programs
8516 (lambda* (#:key inputs outputs #:allow-other-keys)
8517 (let ((out (assoc-ref outputs "out"))
8518 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8519 (python-path (getenv "GUIX_PYTHONPATH")))
8520 (wrap-program (string-append out "/bin/gnome-shell")
8521 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8522 ;; FIXME: gnome-shell loads these libraries with unqualified
8523 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8524 ;; alternative might be to patch gnome-shell.
8525 `("LD_LIBRARY_PATH" ":" prefix
8527 (string-append (assoc-ref inputs pkg) "/lib"))
8529 "gnome-bluetooth" "librsvg" "libgweather"))))
8532 (wrap-program (string-append out "/bin/" prog)
8533 `("GUIX_PYTHONPATH" ":" prefix (,python-path))
8534 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8535 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8537 (replace 'glib-or-gtk-wrap
8538 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8539 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8540 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8541 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8542 ;; phase. Fix that since we don't need these.
8543 (wrap #:inputs (fold alist-delete inputs
8544 '("inkscape" "intltool" "glib:bin"))
8545 #:outputs outputs)))))))
8547 `(("asciidoc" ,asciidoc)
8548 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8549 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8550 ("gobject-introspection" ,gobject-introspection)
8551 ("inkscape" ,inkscape)
8552 ("intltool" ,intltool)
8553 ("pkg-config" ,pkg-config)
8555 ("ruby-sass" ,ruby-sass)
8557 ("xsltproc" ,libxslt)
8559 ("xorg-server" ,xorg-server-for-tests)))
8561 `(("accountsservice" ,accountsservice)
8562 ("caribou" ,caribou)
8563 ("docbook-xsl" ,docbook-xsl)
8564 ("evolution-data-server" ,evolution-data-server)
8567 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8569 ("gnome-autoar" ,gnome-autoar)
8570 ("gnome-bluetooth" ,gnome-bluetooth)
8571 ("gnome-desktop" ,gnome-desktop)
8572 ("gnome-settings-daemon" ,gnome-settings-daemon)
8573 ("gst-plugins-base" ,gst-plugins-base)
8575 ("libcanberra" ,libcanberra)
8576 ("libcroco" ,libcroco)
8577 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8578 ("libgweather" ,libgweather)
8580 ("libsoup" ,libsoup)
8581 ("mesa-headers" ,mesa-headers)
8583 ("network-manager-applet" ,network-manager-applet)
8585 ("pulseaudio" ,pulseaudio)
8586 ("python-pygobject" ,python-pygobject)
8587 ("startup-notification" ,startup-notification)
8588 ("telepathy-logger" ,telepathy-logger)
8590 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8591 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8592 ("librsvg" ,librsvg)
8593 ("geoclue" ,geoclue)))
8594 ;; CVE-2019-3820 was fixed before GNOME 3.34 was released, in upstream
8595 ;; commit f0a7395b3006360905ccdc642982f9fc67378927.
8596 (properties '((lint-hidden-cve . ("CVE-2019-3820"))))
8597 (synopsis "Desktop shell for GNOME")
8598 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8600 "GNOME Shell provides core user interface functions for the GNOME desktop,
8601 like switching to windows and launching applications.")
8602 (license license:gpl2+)))
8604 (define-public gtk-vnc
8612 (string-append "mirror://gnome/sources/" name "/"
8613 (version-major+minor version) "/"
8614 name "-" version ".tar.xz"))
8616 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8617 (build-system meson-build-system)
8619 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8622 ("glib:bin" ,glib "bin")
8623 ("gobject-introspection" ,gobject-introspection)
8624 ("intltool" ,intltool)
8627 ("pkg-config" ,pkg-config)
8628 ("python" ,python-wrapper)
8632 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8635 ("libgcrypt" ,libgcrypt)
8636 ("libsasl" ,cyrus-sasl)
8637 ("pulseaudio" ,pulseaudio)
8642 (synopsis "VNC client viewer widget for GTK+")
8643 (description "GTK-VNC is a project providing client side APIs for the RFB
8644 protocol / VNC remote desktop technology. It is built using coroutines allowing
8645 it to be completely asynchronous while remaining single threaded. It provides a
8646 core C library, and bindings for Python (PyGTK).")
8647 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8648 (license license:lgpl2.1+)))
8650 (define-public gnome-autoar
8652 (name "gnome-autoar")
8656 (uri (string-append "mirror://gnome/sources/" name "/"
8657 (version-major+minor version) "/"
8658 name "-" version ".tar.xz"))
8661 "012w7rhhpxvlrnnhqy01vwzg1wxqpy8jbqgizn47wnip7bvh0917"))))
8662 (build-system glib-or-gtk-build-system)
8664 `(("gobject-introspection" ,gobject-introspection)
8665 ("pkg-config" ,pkg-config)))
8667 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8670 (synopsis "Archives integration support for GNOME")
8671 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8673 "GNOME Autoar is a library which makes creating and extracting archives
8674 easy, safe, and automatic.")
8675 (license license:lgpl2.1+)))
8677 (define-public tracker
8683 (uri (string-append "mirror://gnome/sources/tracker/"
8684 (version-major+minor version) "/"
8685 "tracker-" version ".tar.xz"))
8688 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8689 (build-system meson-build-system)
8693 ;; Otherwise, the RUNPATH will lack the final path component.
8694 (list (string-append "-Dc_link_args=-Wl,-rpath="
8695 (assoc-ref %outputs "out") "/lib:"
8696 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8698 (modify-phases %standard-phases
8699 (add-before 'check 'pre-check
8701 ;; Some tests expect to write to $HOME.
8702 (setenv "HOME" "/tmp")
8705 `(("glib:bin" ,glib "bin")
8706 ("gobject-introspection" ,gobject-introspection)
8707 ("python-pygobject" ,python-pygobject)
8708 ("intltool" ,intltool)
8709 ("pkg-config" ,pkg-config)
8714 ("libxml2" ,libxml2)
8715 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8716 ("json-glib" ,json-glib)
8717 ("libsoup" ,libsoup)))
8718 (synopsis "Metadata database, indexer and search tool")
8719 (home-page "https://wiki.gnome.org/Projects/Tracker")
8721 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8723 It is a middleware component aimed at desktop application developers who want
8724 their apps to browse and search user content. It's not designed to be used
8725 directly by desktop users, but it provides a commandline tool named
8726 @command{tracker} for the adventurous.
8728 Tracker allows your application to instantly perform full-text searches across
8729 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8730 example. This is achieved by indexing the user's home directory in the
8733 Tracker also allows your application to query and list content that the user
8734 has stored. For example, GNOME Music displays all the music files that are
8735 found by Tracker. This means that GNOME Music doesn't need to maintain a
8736 database of its own.
8738 If you need to go beyond simple searches, Tracker is also a linked data
8739 endpoint and it understands SPARQL. ")
8740 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8741 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8742 ;; libstemmer is bsd-3 and the rest is gpl2+.
8743 (license (list license:gpl2+
8745 license:lgpl2.1+))))
8747 (define-public tracker-miners
8749 (name "tracker-miners")
8753 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8754 (version-major+minor version)
8755 "/tracker-miners-" version ".tar.xz"))
8758 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8759 (build-system meson-build-system)
8763 (list "-Dminer_rss=false" ; libgrss is required.
8764 ;; Ensure the RUNPATH contains all installed library locations.
8765 (string-append "-Dc_link_args=-Wl,-rpath="
8766 (assoc-ref %outputs "out")
8767 "/lib/tracker-miners-2.0")
8768 ;; TODO: Enable functional tests. Currently, the following error
8770 ;; Exception: The functional tests require DConf to be the default
8771 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8772 "-Dfunctional_tests=false")))
8775 ("intltool" ,intltool)
8776 ("glib:bin" ,glib "bin")
8777 ("gobject-introspection" ,gobject-introspection)
8778 ("pkg-config" ,pkg-config)
8779 ("python-pygobject" ,python-pygobject)))
8781 `(("exempi" ,exempi)
8786 ("gstreamer" ,gstreamer)
8789 ("libexif" ,libexif)
8791 ("libgxps" ,libgxps)
8792 ("libiptcdata" ,libiptcdata)
8793 ("libjpeg" ,libjpeg-turbo)
8794 ("libosinfo" ,libosinfo)
8796 ("libseccomp" ,libseccomp)
8797 ("libtiff" ,libtiff)
8798 ("libvorbis" ,libvorbis)
8799 ("libxml2" ,libxml2)
8800 ("poppler" ,poppler)
8802 ("totem-pl-parser" ,totem-pl-parser)
8803 ("tracker" ,tracker)
8806 (synopsis "Metadata database, indexer and search tool")
8807 (home-page "https://wiki.gnome.org/Projects/Tracker")
8809 "Tracker is an advanced framework for first class objects with associated
8810 metadata and tags. It provides a one stop solution for all metadata, tags,
8811 shared object databases, search tools and indexing.")
8812 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8813 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8814 (license (list license:gpl2+
8816 license:lgpl2.0+))))
8818 (define-public nautilus
8824 (uri (string-append "mirror://gnome/sources/" name "/"
8825 (version-major+minor version) "/"
8826 name "-" version ".tar.xz"))
8829 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8830 (build-system meson-build-system)
8834 (modify-phases %standard-phases
8835 (add-after 'unpack 'skip-gtk-update-icon-cache
8836 ;; Don't create 'icon-theme.cache'.
8838 (substitute* "build-aux/meson/postinstall.py"
8839 (("gtk-update-icon-cache") "true"))
8841 ;; XXX: FAIL: check-nautilus
8842 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8845 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8846 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8847 ("gobject-introspection" ,gobject-introspection)
8848 ("intltool" ,intltool)
8849 ("pkg-config" ,pkg-config)))
8855 ("gnome-desktop" ,gnome-desktop)
8856 ("gnome-autoar" ,gnome-autoar)
8857 ("gst-plugins-base" ,gst-plugins-base)
8858 ("libseccomp" ,libseccomp)
8859 ("libselinux" ,libselinux)
8860 ("tracker" ,tracker)
8861 ("tracker-miners" ,tracker-miners)
8862 ;; XXX: gtk+ is required by libnautilus-extension.pc
8864 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8866 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8868 ("libexif" ,libexif)
8869 ("libxml2" ,libxml2)))
8870 (synopsis "File manager for GNOME")
8871 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8873 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8874 design and behaviour, giving the user a simple way to navigate and manage its
8876 (license license:gpl2+)))
8878 (define-public baobab
8885 "mirror://gnome/sources/" name "/"
8886 (version-major+minor version) "/"
8887 name "-" version ".tar.xz"))
8890 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8891 (build-system meson-build-system)
8893 '(#:glib-or-gtk? #t))
8895 `(("intltool" ,intltool)
8896 ("pkg-config" ,pkg-config)
8897 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8898 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8899 ("itstool" ,itstool)
8900 ("xmllint" ,libxml2)
8901 ("glib" ,glib "bin")
8905 (synopsis "Disk usage analyzer for GNOME")
8907 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8908 usage in the GNOME desktop environment. It can easily scan device volumes or
8909 a specific user-requested directory branch (local or remote). Once the scan
8910 is complete it provides a graphical representation of each selected folder.")
8911 (home-page "https://wiki.gnome.org/Apps/Baobab")
8912 (license license:gpl2+)))
8914 (define-public gnome-backgrounds
8916 (name "gnome-backgrounds")
8921 (uri (string-append "mirror://gnome/sources/" name "/"
8922 (version-major+minor version) "/"
8923 name "-" version ".tar.xz"))
8926 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8927 (build-system meson-build-system)
8929 `(("gettext" ,gettext-minimal)))
8930 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8931 (synopsis "Background images for the GNOME desktop")
8933 "GNOME backgrounds package contains a collection of graphics files which
8934 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8935 the package creates the proper framework and directory structure so that you
8936 can add your own files to the collection.")
8937 (license (list license:gpl2+
8940 license:cc-by-sa3.0))))
8942 (define-public gnome-screenshot
8944 (name "gnome-screenshot")
8949 (uri (string-append "mirror://gnome/sources/" name "/"
8950 (version-major+minor version) "/"
8951 name "-" version ".tar.xz"))
8954 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8955 (build-system meson-build-system)
8958 (modify-phases %standard-phases
8959 (add-after 'unpack 'skip-gtk-update-icon-cache
8960 ;; Don't create 'icon-theme.cache'.
8962 (substitute* "build-aux/postinstall.py"
8963 (("gtk-update-icon-cache") "true"))
8966 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8967 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8968 ("intltool" ,intltool)
8969 ("appstream-glib" ,appstream-glib)
8970 ("pkg-config" ,pkg-config)))
8973 ("libcanberra" ,libcanberra)
8975 ("libxext" ,libxext)))
8976 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8977 (synopsis "Take pictures of your screen")
8979 "GNOME Screenshot is a utility used for taking screenshots of the entire
8980 screen, a window or a user defined area of the screen, with optional
8981 beautifying border effects.")
8982 (license license:gpl2+)))
8984 (define-public dconf-editor
8986 (name "dconf-editor")
8991 (uri (string-append "mirror://gnome/sources/" name "/"
8992 (version-major+minor version) "/"
8993 name "-" version ".tar.xz"))
8996 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8997 (build-system meson-build-system)
8999 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9000 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9001 ("intltool" ,intltool)
9002 ("pkg-config" ,pkg-config)
9007 ("libxml2" ,libxml2)))
9008 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9009 (synopsis "Graphical editor for GNOME's dconf configuration system")
9011 "Dconf-editor is a graphical tool for browsing and editing the dconf
9012 configuration system for GNOME. It allows users to configure desktop
9013 software that do not provide their own configuration interface.")
9014 (license license:lgpl2.1+)))
9016 (define-public gnome-default-applications
9018 (name "gnome-default-applications")
9020 (build-system trivial-build-system)
9023 `(("nautilus" ,nautilus)
9024 ("evince" ,evince)))
9026 `(#:modules ((guix build utils))
9029 (use-modules (guix build utils))
9030 (let* ((out (assoc-ref %outputs "out"))
9031 (apps (string-append out "/share/applications")))
9033 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9035 (format port "[Default Applications]\n")
9036 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9037 (format port "application/pdf=evince.desktop\n")
9038 (format port "application/postscript=evince.desktop\n")))
9040 (synopsis "Default MIME type associations for the GNOME desktop")
9042 "Given many installed packages which might handle a given MIME type, a
9043 user running the GNOME desktop probably has some preferences: for example,
9044 that folders be opened by default by the Nautilus file manager, not the Baobab
9045 disk usage analyzer. This package establishes that set of default MIME type
9046 associations for GNOME.")
9047 (license license:gpl3+)
9050 (define-public libgovirt
9056 (uri (string-append "mirror://gnome/sources/" name "/"
9057 (version-major+minor version) "/"
9058 name "-" version ".tar.xz"))
9061 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9062 (build-system glib-or-gtk-build-system)
9064 `(("gettext" ,gettext-minimal)
9065 ("glib:bin" ,glib "bin")
9066 ("gobject-introspection" ,gobject-introspection)
9067 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9068 ("gtk+:bin" ,gtk+ "bin")
9069 ("pkg-config" ,pkg-config)))
9071 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9073 (synopsis "GoVirt Library")
9074 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9075 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9076 (license license:gpl2+)))
9078 (define-public gnome-weather
9080 (name "gnome-weather")
9084 (uri (string-append "mirror://gnome/sources/" name "/"
9085 (version-major+minor version) "/"
9086 name "-" version ".tar.xz"))
9089 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9090 (build-system meson-build-system)
9092 `(("gettext" ,gettext-minimal)
9093 ("glib:bin" ,glib "bin")
9094 ("gobject-introspection" ,gobject-introspection)
9095 ("gtk+:bin" ,gtk+ "bin")
9096 ("pkg-config" ,pkg-config)))
9098 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9099 ("appstream-glib" ,appstream-glib)
9100 ("geoclue" ,geoclue)
9101 ("gdk-pixbuf" ,gdk-pixbuf)
9103 ("gnome-desktop" ,gnome-desktop)
9104 ("libgweather" ,libgweather)))
9108 (modify-phases %standard-phases
9109 (add-after 'install 'fix-desktop-file
9110 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9111 ;; See https://issues.guix.gnu.org/issue/39324.
9112 (lambda* (#:key outputs #:allow-other-keys)
9113 (let* ((out (assoc-ref outputs "out"))
9114 (applications (string-append out "/share/applications")))
9115 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9116 (("Exec=.*") "Exec=gnome-weather\n"))
9118 (add-after 'install 'wrap
9119 (lambda* (#:key inputs outputs #:allow-other-keys)
9120 (let ((out (assoc-ref outputs "out"))
9121 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9122 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9123 (wrap-program (string-append out "/bin/gnome-weather")
9124 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9126 (synopsis "Weather monitoring for GNOME desktop")
9127 (description "GNOME Weather is a small application that allows you to
9128 monitor the current weather conditions for your city, or anywhere in the
9130 (home-page "https://wiki.gnome.org/Apps/Weather")
9131 (license license:gpl2+)))
9133 (define-public gnome
9136 (version (package-version gnome-shell))
9138 (build-system trivial-build-system)
9139 (arguments '(#:builder (begin (mkdir %output) #t)))
9141 ;; TODO: Add or remove packages according to:
9142 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9144 ;; GNOME-Core-OS-Services
9145 ("accountsservice" ,accountsservice)
9146 ("network-manager" ,network-manager)
9147 ("packagekit" ,packagekit)
9150 ("adwaita-icon-theme" ,adwaita-icon-theme)
9152 ("glib-networking" ,glib-networking)
9153 ("gnome-backgrounds" ,gnome-backgrounds)
9154 ("gnome-bluetooth" ,gnome-bluetooth)
9155 ("gnome-color-manager" ,gnome-color-manager)
9156 ("gnome-control-center" ,gnome-control-center)
9157 ("gnome-desktop" ,gnome-desktop)
9158 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9159 ("gnome-initial-setup" ,gnome-initial-setup)
9160 ("gnome-keyring" ,gnome-keyring)
9161 ("gnome-menus" ,gnome-menus)
9162 ("gnome-session" ,gnome-session)
9163 ("gnome-settings-daemon" ,gnome-settings-daemon)
9164 ("gnome-shell-extensions" ,gnome-shell-extensions)
9165 ("gnome-shell" ,gnome-shell)
9166 ("gnome-themes-extra" ,gnome-themes-extra)
9167 ("gnome-user-docs" ,gnome-user-docs)
9168 ("gnome-user-share" ,gnome-user-share)
9169 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9175 ;; GNOME-Core-Utilities
9178 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9179 ;; only works on x86_64, so exclude it on other architectures.
9180 ,@(if (string-prefix? "x86_64" (%current-system))
9183 ("epiphany" ,epiphany)
9185 ("file-roller" ,file-roller)
9187 ("gnome-boxes" ,gnome-boxes)
9188 ("gnome-calculator" ,gnome-calculator)
9189 ("gnome-calendar" ,gnome-calendar)
9190 ("gnome-characters" ,gnome-characters)
9191 ("gnome-clocks" ,gnome-clocks)
9192 ("gnome-contacts" ,gnome-contacts)
9193 ("gnome-disk-utility" ,gnome-disk-utility)
9194 ("gnome-font-viewer" ,gnome-font-viewer)
9195 ("gnome-maps" ,gnome-maps)
9196 ; TODO: ("gnome-music" ,gnome-music)
9197 ; TODO: ("gnome-photos" ,gnome-photos)
9198 ("gnome-screenshot" ,gnome-screenshot)
9199 ("gnome-system-monitor" ,gnome-system-monitor)
9200 ("gnome-terminal" ,gnome-terminal)
9201 ("gnome-weather" ,gnome-weather)
9202 ("nautilus" ,nautilus)
9203 ("simple-scan" ,simple-scan)
9207 ("hicolor-icon-theme" ,hicolor-icon-theme)
9208 ("gnome-online-accounts" ,gnome-online-accounts)
9210 ;; Packages not part of GNOME proper but that are needed for a good
9211 ;; experience. See <https://bugs.gnu.org/39646>.
9212 ;; XXX: Find out exactly which ones are needed and why.
9213 ("font-cantarell" ,font-cantarell)
9214 ("font-dejavu" ,font-dejavu)
9215 ("at-spi2-core" ,at-spi2-core)
9218 ("desktop-file-utils" ,desktop-file-utils)
9219 ("gnome-default-applications" ,gnome-default-applications)
9220 ("gnome-themes-standard" ,gnome-themes-standard)
9221 ("gst-plugins-base" ,gst-plugins-base)
9222 ("gst-plugins-good" ,gst-plugins-good)
9223 ("gucharmap" ,gucharmap)
9224 ("pinentry-gnome3" ,pinentry-gnome3)
9225 ("pulseaudio" ,pulseaudio)
9226 ("shared-mime-info" ,shared-mime-info)
9227 ("system-config-printer" ,system-config-printer)
9228 ("xdg-user-dirs" ,xdg-user-dirs)
9230 ("zenity" ,zenity)))
9231 (synopsis "The GNU desktop environment")
9232 (home-page "https://www.gnome.org/")
9234 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9235 applications for browsing the web, editing text and images, creating
9236 documents and diagrams, playing media, scanning, and much more.")
9237 (license license:gpl2+)))
9239 (define-public byzanz
9240 ;; The last stable release of Byzanz was in 2011, but there have been many
9241 ;; useful commits made to the Byzanz repository since then that it would be
9242 ;; silly to use such an old release.
9243 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9246 (version (string-append "0.2-1." (string-take commit 7)))
9250 (url "https://git.gnome.org/browse/byzanz")
9252 (file-name (string-append name "-" version "-checkout"))
9255 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9256 (build-system glib-or-gtk-build-system)
9259 (modify-phases %standard-phases
9260 (add-before 'bootstrap 'build-without-Werror
9262 ;; The build system cleverly detects that we're not building from
9263 ;; a release tarball and turns on -Werror for GCC.
9264 ;; Unsurprisingly, there is a warning during compilation that
9265 ;; causes the build to fail unnecessarily, so we remove the flag.
9266 (substitute* '("configure.ac")
9270 `(("autoconf" ,autoconf)
9271 ("automake" ,automake)
9272 ("gnome-common" ,gnome-common)
9273 ("intltool" ,intltool)
9274 ("libtool" ,libtool)
9275 ("pkg-config" ,pkg-config)
9279 ("gstreamer" ,gstreamer)
9280 ("gst-plugins-base" ,gst-plugins-base)
9282 (synopsis "Desktop recording program")
9283 (description "Byzanz is a simple desktop recording program with a
9284 command-line interface. It can record part or all of an X display for a
9285 specified duration and save it as a GIF encoded animated image file.")
9286 (home-page "https://git.gnome.org/browse/byzanz")
9287 (license license:gpl2+))))
9289 (define-public authenticator
9291 (name "authenticator")
9297 (url "https://gitlab.gnome.org/World/Authenticator")
9299 (file-name (git-file-name name version))
9301 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9302 (build-system meson-build-system)
9306 (modify-phases %standard-phases
9307 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9308 (lambda* (#:key inputs outputs #:allow-other-keys)
9309 (let ((prog (string-append (assoc-ref outputs "out")
9310 "/bin/authenticator"))
9311 (pylib (string-append (assoc-ref outputs "out")
9313 ,(version-major+minor
9314 (package-version python))
9317 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
9318 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9321 `(("desktop-file-utils" ,desktop-file-utils)
9322 ("gettext" ,gettext-minimal)
9323 ("glib:bin" ,glib "bin")
9324 ("gobject-introspection" ,gobject-introspection)
9325 ("gtk+:bin" ,gtk+ "bin")
9326 ("pkg-config" ,pkg-config)))
9328 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9330 ("libhandy" ,libhandy-0.0)
9331 ("libsecret" ,libsecret)
9332 ("python-beautifulsoup4" ,python-beautifulsoup4)
9333 ("python-pillow" ,python-pillow)
9334 ("python-pyfavicon" ,python-pyfavicon)
9335 ("python-pygobject" ,python-pygobject)
9336 ("python-pyotp" ,python-pyotp)
9337 ("python-pyzbar" ,python-pyzbar)
9338 ("yoyo-migrations" ,yoyo-migrations)
9340 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9341 (synopsis "Two-factor authentication application built for GNOME")
9343 "Authenticator is a two-factor authentication (2FA) application built for
9344 the GNOME desktop environment.
9349 @item QR code scanner
9351 @item Huge database of more than 560 supported services
9352 @item Keep your PIN tokens secure by locking the application with a password
9353 @item Automatically fetch an image for services using their favicon
9354 @item The possibility to add new services
9356 (license license:gpl3+)))
9358 (define-public gsound
9364 (uri (string-append "mirror://gnome/sources/" name "/"
9365 (version-major+minor version) "/"
9366 name "-" version ".tar.xz"))
9369 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9370 (build-system glib-or-gtk-build-system)
9372 `(("pkg-config" ,pkg-config)
9373 ("gobject-introspection" ,gobject-introspection)
9377 ("libcanberra" ,libcanberra)))
9378 (home-page "https://wiki.gnome.org/Projects/GSound")
9379 (synopsis "GObject wrapper for libcanberra")
9381 "GSound is a small library for playing system sounds. It's designed to be
9382 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9384 (license license:lgpl2.1+)))
9386 (define-public libzapojit
9392 (uri (string-append "mirror://gnome/sources/" name "/"
9393 (version-major+minor version) "/"
9394 name "-" version ".tar.xz"))
9397 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9398 (build-system gnu-build-system)
9400 `(("gobject-introspection" ,gobject-introspection)
9401 ("intltool" ,intltool)
9402 ("pkg-config" ,pkg-config)))
9404 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9405 ("json-glib" ,json-glib)
9407 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9408 (synopsis "Library for accessing SkyDrive and Hotmail")
9410 "Libzapojit is a GLib-based library for accessing online service APIs of
9411 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9412 (license license:lgpl2.1+)))
9414 (define-public gnome-clocks
9416 (name "gnome-clocks")
9420 (uri (string-append "mirror://gnome/sources/" name "/"
9421 (version-major+minor version) "/"
9422 name "-" version ".tar.xz"))
9425 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9426 (build-system meson-build-system)
9430 (modify-phases %standard-phases
9431 (add-after 'unpack 'skip-gtk-update-icon-cache
9432 ;; Don't create 'icon-theme.cache'.
9434 (substitute* "build-aux/post-install.py"
9435 (("gtk-update-icon-cache") "true"))
9439 ("pkg-config" ,pkg-config)
9440 ("glib" ,glib "bin") ; for glib-compile-resources
9441 ("desktop-file-utils" ,desktop-file-utils)
9442 ("gettext" ,gettext-minimal)
9443 ("itstool" ,itstool)))
9448 ("geoclue" ,geoclue)
9449 ("geocode-glib" ,geocode-glib)
9450 ("libgweather" ,libgweather)
9451 ("gnome-desktop" ,gnome-desktop)))
9452 (home-page "https://wiki.gnome.org/Apps/Clocks")
9453 (synopsis "GNOME's clock application")
9455 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9456 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9457 (license license:gpl3+)))
9459 (define-public gnome-calendar
9461 (name "gnome-calendar")
9465 (uri (string-append "mirror://gnome/sources/" name "/"
9466 (version-major+minor version) "/"
9467 name "-" version ".tar.xz"))
9470 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9471 (build-system meson-build-system)
9474 ;; gnome-calendar has to be installed before the tests can be run
9475 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9478 (modify-phases %standard-phases
9479 (add-after 'unpack 'skip-gtk-update-icon-cache
9480 ;; Don't create 'icon-theme.cache'.
9482 (substitute* "build-aux/meson/meson_post_install.py"
9483 (("gtk-update-icon-cache") "true"))
9486 `(("gettext" ,gettext-minimal)
9487 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9488 ("pkg-config" ,pkg-config)))
9490 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9491 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9492 ("libdazzle" ,libdazzle)
9493 ("libedataserverui" ,evolution-data-server)
9494 ("libgweather" ,libgweather)
9495 ("geoclue" ,geoclue)))
9497 `(("evolution-data-server" ,evolution-data-server)))
9498 (home-page "https://wiki.gnome.org/Apps/Calendar")
9499 (synopsis "GNOME's calendar application")
9501 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9502 desktop. It supports multiple calendars, month, week and year view.")
9503 (license license:gpl3+)))
9505 (define-public gnome-todo
9511 (uri (string-append "mirror://gnome/sources/" name "/"
9512 (version-major+minor version) "/"
9513 name "-" version ".tar.xz"))
9516 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9518 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9519 (build-system meson-build-system)
9522 #:phases (modify-phases %standard-phases
9524 'install 'wrap-gnome-todo
9525 (lambda* (#:key inputs outputs #:allow-other-keys)
9526 (let ((out (assoc-ref outputs "out"))
9527 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9528 (python-path (getenv "GUIX_PYTHONPATH")))
9529 (wrap-program (string-append out "/bin/gnome-todo")
9530 ;; XXX: gi plugins are broken.
9531 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9533 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9534 `("GUIX_PYTHONPATH" ":" prefix (,python-path))))
9537 `(("gettext" ,gettext-minimal)
9538 ("gobject-introspection" ,gobject-introspection)
9539 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9540 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9541 ("pkg-config" ,pkg-config)))
9543 `(("rest" ,rest) ; For Todoist plugin
9544 ("json-glib" ,json-glib) ; For Todoist plugin
9545 ("libedataserverui" ,evolution-data-server)
9546 ("libical" ,libical)
9547 ("libpeas" ,libpeas)
9548 ("python-pygobject" ,python-pygobject)
9549 ("evolution-data-server" ,evolution-data-server)
9550 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9551 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9552 (home-page "https://wiki.gnome.org/Apps/Todo")
9553 (synopsis "GNOME's ToDo Application")
9555 "GNOME To Do is a simplistic personal task manager designed to perfectly
9556 fit the GNOME desktop.")
9557 (license license:gpl3+)))
9559 (define-public gnome-dictionary
9561 (name "gnome-dictionary")
9565 (uri (string-append "mirror://gnome/sources/" name "/"
9566 (version-major+minor version) "/"
9567 name "-" version ".tar.xz"))
9570 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9571 (build-system meson-build-system)
9572 (arguments '(#:glib-or-gtk? #t
9573 #:phases (modify-phases %standard-phases
9574 (add-after 'unpack 'patch-install-script
9576 ;; This script attempts to compile glib schemas
9577 ;; and create an empty MIME database. We do
9578 ;; that elsewhere, so prevent it from running.
9579 (substitute* "build-aux/post-install.sh"
9580 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9583 `(("glib:bin" ,glib "bin")
9584 ("gobject-introspection" ,gobject-introspection)
9585 ("intltool" ,intltool)
9586 ("itstool" ,itstool)
9587 ("pkg-config" ,pkg-config)
9588 ("xmllint" ,libxml2)))
9590 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9592 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9593 (synopsis "Look up words in dictionary sources")
9595 "GNOME Dictionary can look for the definition or translation of a word in
9596 existing databases over the internet.")
9597 (license license:gpl3+)))
9599 (define-public gnome-tweaks
9601 (name "gnome-tweaks")
9605 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9606 (version-major+minor version) "/"
9607 "gnome-tweaks-" version ".tar.xz"))
9609 (list (search-patch "gnome-tweaks-search-paths.patch")))
9612 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9613 (build-system meson-build-system)
9616 #:configure-flags '("-Dlocalstatedir=/tmp"
9617 "-Dsysconfdir=/tmp")
9618 #:imported-modules ((guix build python-build-system)
9619 ,@%meson-build-system-modules)
9621 (modify-phases %standard-phases
9622 (add-after 'unpack 'skip-gtk-update-icon-cache
9623 ;; Don't create 'icon-theme.cache'.
9625 (substitute* "meson-postinstall.py"
9626 (("gtk-update-icon-cache") "true"))
9628 (add-after 'install 'wrap
9629 (@@ (guix build python-build-system) wrap))
9630 (add-after 'wrap 'wrap-gi-typelib
9631 (lambda* (#:key inputs outputs #:allow-other-keys)
9632 (let ((out (assoc-ref outputs "out"))
9633 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9634 (wrap-program (string-append out "/bin/gnome-tweaks")
9635 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9638 `(("intltool" ,intltool)
9639 ("pkg-config" ,pkg-config)))
9641 `(("gnome-desktop" ,gnome-desktop)
9643 ("gobject-introspection" ,gobject-introspection)
9644 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9645 ("libhandy" ,libhandy-0.0)
9646 ("libnotify" ,libnotify)
9647 ("libsoup" ,libsoup)
9648 ("nautilus" ,nautilus)
9650 ("python-pygobject" ,python-pygobject)))
9651 (synopsis "Customize advanced GNOME 3 options")
9652 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9654 "GNOME Tweaks allows adjusting advanced configuration settings in
9655 GNOME 3. This includes things like the fonts used in user interface elements,
9656 alternative user interface themes, changes in window management behavior,
9657 GNOME Shell appearance and extension, etc.")
9658 (license license:gpl3+)))
9660 (define-public gnome-shell-extensions
9662 (name "gnome-shell-extensions")
9666 (uri (string-append "mirror://gnome/sources/" name "/"
9667 (version-major+minor version) "/"
9668 name "-" version ".tar.xz"))
9671 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9672 (build-system meson-build-system)
9674 '(#:configure-flags '("-Dextension_set=all")))
9676 `(("glib:bin" ,glib "bin")
9677 ("intltool" ,intltool)
9678 ("pkg-config" ,pkg-config)))
9681 (synopsis "Extensions for GNOME Shell")
9682 (description "GNOME Shell extensions modify and extend GNOME Shell
9683 functionality and behavior.")
9684 (home-page "https://extensions.gnome.org/")
9685 (license license:gpl3+)))
9687 (define-public folks
9694 "mirror://gnome/sources/folks/"
9695 (version-major+minor version) "/"
9696 "folks-" version ".tar.xz"))
9699 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9700 (build-system meson-build-system)
9703 (modify-phases %standard-phases
9704 (add-after 'unpack 'skip-gtk-update-icon-cache
9705 ;; Don't create 'icon-theme.cache'.
9707 (substitute* "meson_post_install.py"
9708 (("gtk-update-icon-cache") "true"))
9712 ("dbus-glib" ,dbus-glib)
9713 ("evolution-data-server" ,evolution-data-server)
9716 ("readline" ,readline)
9717 ("telepathy-glib" ,telepathy-glib)))
9719 `(("glib:bin" ,glib "bin")
9720 ("gobject-introspection" ,gobject-introspection)
9721 ("intltool" ,intltool)
9722 ("pkg-config" ,pkg-config)
9724 (synopsis "Library to aggregate data about people")
9725 (description "Libfolks is a library that aggregates information about people
9726 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9727 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9728 etc.) to create metacontacts. It's written in Vala, which generates C code when
9730 (home-page "https://wiki.gnome.org/Projects/Folks")
9731 (license license:lgpl2.1+)))
9733 (define-public gfbgraph
9740 "mirror://gnome/sources/gfbgraph/"
9741 (version-major+minor version) "/"
9742 "gfbgraph-" version ".tar.xz"))
9745 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9746 (build-system glib-or-gtk-build-system)
9748 `(#:tests? #f ; tests appear to require the network
9749 #:configure-flags '("--disable-static"
9751 "--enable-introspection")))
9753 `(("gobject-introspection" ,gobject-introspection)
9754 ("gtk-doc" ,gtk-doc/stable)
9755 ("pkg-config" ,pkg-config)
9757 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9758 ("autoconf" ,autoconf)
9759 ("automake" ,automake)
9760 ("libtool" ,libtool)
9763 `(("json-glib" ,json-glib)
9764 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9766 (synopsis "GLib/GObject wrapper for the Facebook API")
9767 (description "This library allows you to use the Facebook API from
9768 GLib/GObject code.")
9769 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9770 (license license:lgpl2.1+)))
9772 (define-public libgnomekbd
9774 (name "libgnomekbd")
9778 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9779 (version-major+minor version) "/"
9780 "libgnomekbd-" version ".tar.xz"))
9783 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9784 (build-system gnu-build-system)
9786 `(("pkg-config" ,pkg-config)
9787 ("glib" ,glib "bin")
9788 ("intltool" ,intltool)))
9790 ;; Referred to in .h files and .pc.
9793 ("libxklavier" ,libxklavier)))
9794 (home-page "https://www.gnome.org")
9795 (synopsis "GNOME keyboard configuration library")
9797 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9798 environment, which can notably display keyboard layouts.")
9799 (license license:lgpl2.0+)))
9801 ;;; This package is no longer maintained:
9802 ;;; https://wiki.gnome.org/Attic/LibUnique
9803 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9804 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9805 (define-public libunique
9811 (uri (string-append "mirror://gnome/sources/" name "/"
9812 (version-major+minor version) "/"
9813 name "-" version ".tar.xz"))
9816 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9817 (build-system glib-or-gtk-build-system)
9819 `(#:configure-flags '("--disable-static"
9820 "--disable-dbus" ; use gdbus
9821 "--enable-introspection")))
9823 `(("pkg-config" ,pkg-config)
9824 ("gobject-introspection" ,gobject-introspection)
9825 ("glib:bin" ,glib "bin")
9826 ("gtk-doc" ,gtk-doc/stable)))
9828 ;; Referred to in .h files and .pc.
9830 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9831 (synopsis "Library for writing single instance applications")
9833 "Libunique is a library for writing single instance applications. If you
9834 launch a single instance application twice, the second instance will either just
9835 quit or will send a message to the running instance. Libunique makes it easy to
9836 write this kind of application, by providing a base class, taking care of all
9837 the IPC machinery needed to send messages to a running instance, and also
9838 handling the startup notification side.")
9839 (license license:lgpl2.1+)))
9841 (define-public gnome-calculator
9843 (name "gnome-calculator")
9848 (uri (string-append "mirror://gnome/sources/" name "/"
9849 (version-major+minor version) "/"
9850 name "-" version ".tar.xz"))
9853 "1cqd4b25qp1i0p04m669jssg1l5sdapc1mniv9jssvw5r7wk1s52"))))
9854 (build-system meson-build-system)
9855 (arguments '(#:glib-or-gtk? #t))
9857 `(("gettext" ,gettext-minimal)
9858 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9859 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9860 ("itstool" ,itstool)
9862 ("pkg-config" ,pkg-config)))
9865 ("gtksourceview" ,gtksourceview)
9867 ("libsoup" ,libsoup)
9868 ("libxml2" ,libxml2)
9871 (home-page "https://wiki.gnome.org/Apps/Calculator")
9872 (synopsis "Desktop calculator")
9874 "Calculator is an application that solves mathematical equations and
9875 is suitable as a default application in a Desktop environment.")
9876 (license license:gpl3)))
9885 (uri (string-append "https://launchpad.net/xpad/trunk/"
9886 version "/+download/"
9887 name "-" version ".tar.bz2"))
9890 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9891 (build-system gnu-build-system)
9893 `(("autoconf" ,autoconf)
9894 ("automake" ,automake)
9895 ("gtk+:bin" ,gtk+ "bin")
9896 ("intltool" ,intltool)
9897 ("pkg-config" ,pkg-config)))
9899 `(("gtksourceview" ,gtksourceview-3)
9901 (home-page "https://wiki.gnome.org/Apps/Xpad")
9902 (synopsis "Virtual sticky note")
9904 "Xpad is a sticky note that strives to be simple, fault tolerant,
9905 and customizable. Xpad consists of independent pad windows, each is
9906 basically a text box in which notes can be written.")
9907 (license license:gpl3+)))
9909 (define-public gucharmap
9910 (let ((unicode-files
9912 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9914 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9916 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9918 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9920 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9922 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9929 (uri (string-append "mirror://gnome/sources/" name "/"
9930 (version-major+minor version) "/"
9931 name "-" version ".tar.xz"))
9934 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9935 (build-system glib-or-gtk-build-system)
9937 `(#:modules ((ice-9 match)
9938 (guix build glib-or-gtk-build-system)
9941 (list "--with-unicode-data=../unicode-data")
9943 (modify-phases %standard-phases
9944 (add-after 'unpack 'prepare-unicode-data
9945 (lambda* (#:key inputs #:allow-other-keys)
9946 (mkdir-p "../unicode-data")
9947 (with-directory-excursion "../unicode-data"
9948 (for-each (match-lambda
9950 (install-file (assoc-ref inputs file) ".")))
9954 `(("desktop-file-utils" ,desktop-file-utils)
9955 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9956 ("gobject-introspection" ,gobject-introspection)
9957 ("intltool" ,intltool)
9958 ("itstool" ,itstool)
9959 ("pkg-config" ,pkg-config)
9960 ,@(map (match-lambda
9966 "http://www.unicode.org/Public/12.0.0/ucd/"
9968 (sha256 (base32 hash))))))
9973 ("xmllint" ,libxml2)))
9974 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9975 (synopsis "Unicode character picker and font browser")
9977 "This program allows you to browse through all the available Unicode
9978 characters and categories for the installed fonts, and to examine their
9979 detailed properties. It is an easy way to find the character you might
9980 only know by its Unicode name or code point.")
9981 (license license:gpl3+))))
9983 (define-public gcolor3
9991 (url "https://gitlab.gnome.org/World/gcolor3")
9992 (commit (string-append "v" version))))
9993 (file-name (git-file-name name version))
9995 (base32 "1igqmach1vhcrvbpw346pmkbb5kabbb806ssswrvkp569n700wmc"))))
9996 (build-system meson-build-system)
9998 `(#:glib-or-gtk? #t))
10000 `(("desktop-file-utils" ,desktop-file-utils)
10001 ("gettext" ,gettext-minimal)
10002 ("glib:bin" ,glib "bin")
10003 ("gtk+:bin" ,gtk+ "bin")
10004 ("pkg-config" ,pkg-config)))
10006 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10008 ("libportal" ,libportal)))
10009 (home-page "https://www.hjdskes.nl/projects/gcolor3/")
10010 (synopsis "Simple color chooser written in GTK3")
10011 (description "Color Picker is a simple color chooser written in GTK3. It
10012 supports both X and Wayland display servers.")
10013 (license license:gpl2+)))
10015 (define-public bluefish
10022 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10023 "bluefish-" version ".tar.gz"))
10025 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10026 (build-system gnu-build-system)
10028 `(("desktop-file-utils" ,desktop-file-utils)
10029 ("intltool" ,intltool)
10030 ("pkg-config" ,pkg-config)))
10032 `(("enchant" ,enchant)
10034 ("python" ,python-wrapper)
10035 ("xmllint" ,libxml2)
10036 ("gucharmap" ,gucharmap)))
10037 (home-page "http://bluefish.openoffice.nl")
10038 (synopsis "Web development studio")
10040 "Bluefish is an editor aimed at programmers and web developers,
10041 with many options to write web sites, scripts and other code.
10042 Bluefish supports many programming and markup languages.")
10043 (license license:gpl3+)))
10045 (define-public gnome-system-monitor
10047 (name "gnome-system-monitor")
10052 (uri (string-append "mirror://gnome/sources/" name "/"
10053 (version-major+minor version) "/"
10054 name "-" version ".tar.xz"))
10057 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10058 (build-system meson-build-system)
10060 '(#:glib-or-gtk? #t
10061 #:configure-flags '("-Dsystemd=false")))
10063 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10064 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10065 ("intltool" ,intltool)
10066 ("itstool" ,itstool)
10067 ("libgtop" ,libgtop)
10069 ("pkg-config" ,pkg-config)))
10071 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10074 ("librsvg" ,librsvg)
10075 ("libxml2" ,libxml2)
10076 ("libwnck" ,libwnck)))
10077 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10078 (synopsis "Process viewer and system resource monitor for GNOME")
10080 "GNOME System Monitor is a GNOME process viewer and system monitor with
10081 an attractive, easy-to-use interface. It has features, such as a tree view
10082 for process dependencies, icons for processes, the ability to hide processes,
10083 graphical time histories of CPU/memory/swap usage and the ability to
10084 kill/reinice processes.")
10085 (license license:gpl2+)))
10087 (define-public python-pyatspi
10089 (name "python-pyatspi")
10093 (uri (string-append
10094 "mirror://gnome/sources/pyatspi/"
10095 (version-major+minor version)
10096 "/pyatspi-" version ".tar.xz"))
10099 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10100 (build-system gnu-build-system)
10103 (modify-phases %standard-phases
10104 (add-before 'build 'fix-atk-load
10106 (substitute* "pyatspi/__init__.py"
10107 (("from gi.repository import Atspi")
10108 "gi.require_version('Gtk', '3.0')
10109 from gi.repository import Gtk
10110 from gi.repository import Atspi"))
10113 `(("pkg-config" ,pkg-config)))
10115 `(("python" ,python)))
10117 `(("python-pygobject" ,python-pygobject)))
10118 (synopsis "Python client bindings for D-Bus AT-SPI")
10119 (home-page "https://wiki.linuxfoundation.org/accessibility\
10120 /atk/at-spi/at-spi_on_d-bus")
10122 "This package includes a python client library for the AT-SPI D-Bus
10123 accessibility infrastructure.")
10124 (license license:lgpl2.0)
10125 (properties '((upstream-name . "pyatspi")))))
10127 (define-public python2-pyatspi
10128 (package/inherit python-pyatspi
10129 (name "python2-pyatspi")
10131 `(("python" ,python-2)))
10133 `(("python-pygobject" ,python2-pygobject)))))
10135 (define-public orca
10141 (uri (string-append
10142 "mirror://gnome/sources/" name "/"
10143 (version-major+minor version) "/"
10144 name "-" version ".tar.xz"))
10147 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10148 (build-system glib-or-gtk-build-system)
10151 (modify-phases %standard-phases
10152 (add-before 'configure 'qualify-xkbcomp
10153 (lambda* (#:key inputs #:allow-other-keys)
10154 (let ((xkbcomp (string-append
10155 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10156 (substitute* "src/orca/orca.py"
10157 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10159 (add-after 'install 'wrap-orca
10160 (lambda* (#:key outputs #:allow-other-keys)
10161 (let* ((out (assoc-ref outputs "out"))
10162 (prog (string-append out "/bin/orca")))
10164 `("GI_TYPELIB_PATH" ":" prefix
10165 (,(getenv "GI_TYPELIB_PATH")))
10166 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10167 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10168 `("GUIX_PYTHONPATH" ":" prefix
10169 (,(getenv "GUIX_PYTHONPATH")))))
10172 `(("intltool" ,intltool)
10173 ("itstool" ,itstool)
10174 ("pkg-config" ,pkg-config)
10175 ("xmllint" ,libxml2)))
10177 `(("at-spi2-atk" ,at-spi2-atk)
10178 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10179 ("gstreamer" ,gstreamer)
10180 ("gst-plugins-base" ,gst-plugins-base)
10181 ("gst-plugins-good" ,gst-plugins-good)
10184 ("python-pygobject" ,python-pygobject)
10185 ("python-pyatspi" ,python-pyatspi)
10186 ("python-speechd" ,speech-dispatcher)
10187 ("xkbcomp" ,xkbcomp)))
10189 "Screen reader for individuals who are blind or visually impaired")
10190 (home-page "https://wiki.gnome.org/Projects/Orca")
10192 "Orca is a screen reader that provides access to the graphical desktop
10193 via speech and refreshable braille. Orca works with applications and toolkits
10194 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10195 (license license:lgpl2.1+)))
10197 (define-public gspell
10203 (uri (string-append "mirror://gnome/sources/" name "/"
10204 (version-major+minor version) "/"
10205 name "-" version ".tar.xz"))
10208 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10209 (patches (search-patches "gspell-dash-test.patch"))))
10210 (build-system glib-or-gtk-build-system)
10212 '(#:configure-flags (list "--enable-vala")
10214 (modify-phases %standard-phases
10215 (add-before 'check 'pre-check
10216 (lambda* (#:key inputs #:allow-other-keys)
10217 ;; Tests require a running X server.
10218 (system "Xvfb :1 &")
10219 (setenv "DISPLAY" ":1")
10221 ;; For the missing /etc/machine-id.
10222 (setenv "DBUS_FATAL_WARNINGS" "0")
10224 ;; Allow Enchant and its Aspell backend to find the en_US
10226 (setenv "ASPELL_DICT_DIR"
10227 (search-input-directory inputs "/lib/aspell")))))))
10229 `(("iso-codes" ,iso-codes)))
10231 `(("glib" ,glib "bin")
10232 ("gobject-introspection" ,gobject-introspection)
10233 ("pkg-config" ,pkg-config)
10234 ("vala" ,vala) ;for VAPI, needed by Geary
10235 ("xmllint" ,libxml2)
10238 ("aspell-dict-en" ,aspell-dict-en)
10239 ("xorg-server" ,xorg-server-for-tests)))
10241 ;; Referred by .pc file.
10242 `(("enchant" ,enchant)
10245 (home-page "https://wiki.gnome.org/Projects/gspell")
10246 (synopsis "GNOME's alternative spell checker")
10248 "gspell provides a flexible API to add spell-checking to a GTK+
10249 application. It provides a GObject API, spell-checking to text entries and
10250 text views, and buttons to choose the language.")
10251 (license license:gpl2+)))
10253 (define-public gnome-planner
10255 (name "gnome-planner")
10259 (uri (string-append "mirror://gnome/sources/planner/"
10260 (version-major+minor version) "/planner-"
10261 version ".tar.xz"))
10264 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10265 (build-system glib-or-gtk-build-system)
10267 ;; Disable the Python bindings because the Planner program functions
10268 ;; without them, and (as of 2017-06-13) we have not packaged all of
10269 ;; packages that are necessary for building the Python bindings.
10270 `(#:configure-flags
10271 (list "--disable-python"
10272 ,@(if (string=? "aarch64-linux" (%current-system))
10273 '("--build=aarch64-unknown-linux-gnu")
10276 `(("libgnomecanvas" ,libgnomecanvas)
10277 ("libgnomeui" ,libgnomeui)
10278 ("libglade" ,libglade)
10279 ("gnome-vfs" ,gnome-vfs)
10281 ("libxml2" ,libxml2)
10282 ("libxslt" ,libxslt)
10286 `(("intltool" ,intltool)
10287 ("scrollkeeper" ,scrollkeeper)
10288 ("pkg-config" ,pkg-config)))
10289 (home-page "https://wiki.gnome.org/Apps/Planner")
10290 (synopsis "Project management software for the GNOME desktop")
10292 "GNOME Planner is a project management tool based on the Work Breakdown
10293 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10294 the resources, tasks, and constraints that you define, Planner generates
10295 various views into a project. For example, Planner can show a Gantt chart of
10296 the project. It can show a detailed summary of tasks including their
10297 duration, cost, and current progress. It can also show a report of resource
10298 utilization that highlights under-utilized and over-utilized resources. These
10299 views can be printed as PDF or PostScript files, or exported to HTML.")
10300 (license license:gpl2+)))
10302 (define-public lollypop
10309 (uri (string-append "https://adishatz.org/lollypop/"
10310 "lollypop-" version ".tar.xz"))
10312 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10313 (build-system meson-build-system)
10315 `(#:imported-modules
10316 (,@%meson-build-system-modules
10317 (guix build python-build-system))
10319 ((guix build meson-build-system)
10320 ((guix build python-build-system) #:prefix python:)
10321 (guix build utils))
10323 #:tests? #f ; no test suite
10325 (modify-phases %standard-phases
10326 (add-after 'install 'wrap-program
10327 (lambda* (#:key outputs #:allow-other-keys)
10328 (let ((out (assoc-ref outputs "out"))
10329 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10330 (wrap-program (string-append out "/bin/lollypop")
10331 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10333 (add-after 'install 'wrap-python
10334 (assoc-ref python:%standard-phases 'wrap)))))
10336 `(("intltool" ,intltool)
10337 ("itstool" ,itstool)
10338 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10339 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10340 ("pkg-config" ,pkg-config)))
10342 `(("glib-networking" ,glib-networking)
10343 ("gobject-introspection" ,gobject-introspection)
10344 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10345 ("gst-plugins-base" ,gst-plugins-base)
10346 ("libnotify" ,libnotify)
10347 ("libsecret" ,libsecret)
10348 ("libhandy" ,libhandy)
10349 ("libsoup" ,libsoup)
10351 ("python-beautifulsoup4" ,python-beautifulsoup4)
10352 ("python-gst" ,python-gst)
10353 ("python-pil" ,python-pillow)
10354 ("python-pycairo" ,python-pycairo)
10355 ("python-pygobject" ,python-pygobject)
10356 ("python-pylast" ,python-pylast)
10357 ("totem-pl-parser" ,totem-pl-parser)
10358 ("webkitgtk" ,webkitgtk)))
10360 `(;; gst-plugins-base is required to start Lollypop,
10361 ;; the others are required to play streaming.
10362 ("gst-plugins-good" ,gst-plugins-good)
10363 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10364 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10365 (synopsis "GNOME music playing application")
10367 "Lollypop is a music player designed to play well with GNOME desktop.
10368 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10369 from artists and tracks from the web. It also fetches cover artworks
10370 automatically and it can stream songs from online music services and charts.")
10371 (license license:gpl3+)))
10373 (define-public gnome-video-effects
10375 (name "gnome-video-effects")
10379 (uri (string-append "mirror://gnome/sources/" name "/"
10380 (version-major+minor version) "/" name "-"
10381 version ".tar.xz"))
10384 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10385 (build-system meson-build-system)
10387 `(("gettext" ,gettext-minimal)
10388 ("pkg-config" ,pkg-config)))
10389 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10390 (synopsis "Video effects for Cheese and other GNOME applications")
10392 "A collection of GStreamer video filters and effects to be used in
10393 photo-booth-like software, such as Cheese.")
10394 (license license:gpl2+)))
10396 (define-public cheese
10402 (uri (string-append "mirror://gnome/sources/" name "/"
10403 (version-major+minor version) "/" name "-"
10404 version ".tar.xz"))
10407 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10409 `(#:glib-or-gtk? #t
10410 ;; Tests require GDK.
10413 (modify-phases %standard-phases
10414 (add-after 'unpack 'skip-gtk-update-icon-cache
10416 ;; Don't create 'icon-theme.cache'
10417 (substitute* "meson_post_install.py"
10418 (("gtk-update-icon-cache") (which "true")))
10420 (add-after 'unpack 'patch-docbook-xml
10421 (lambda* (#:key inputs #:allow-other-keys)
10422 ;; Avoid a network connection attempt during the build.
10423 (substitute* '("docs/reference/cheese.xml"
10424 "docs/reference/cheese-docs.xml")
10425 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10426 (string-append (assoc-ref inputs "docbook-xml")
10427 "/xml/dtd/docbook/docbookx.dtd")))
10429 (add-after 'install 'wrap-cheese
10430 (lambda* (#:key inputs outputs #:allow-other-keys)
10431 (let ((out (assoc-ref outputs "out"))
10432 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10433 (wrap-program (string-append out "/bin/cheese")
10434 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10436 (build-system meson-build-system)
10438 `(("docbook-xsl" ,docbook-xsl)
10439 ("docbook-xml" ,docbook-xml-4.3)
10440 ("gettext" ,gettext-minimal)
10441 ("glib:bin" ,glib "bin")
10442 ("gtk-doc" ,gtk-doc/stable)
10443 ("itstool" ,itstool)
10444 ("libxml2" ,libxml2)
10445 ("libxslt" ,libxslt)
10446 ("pkg-config" ,pkg-config)
10449 `(("gnome-video-effects" ,gnome-video-effects)
10450 ("clutter" ,clutter)
10451 ("clutter-gst" ,clutter-gst)
10452 ("clutter-gtk" ,clutter-gtk)
10453 ("libcanberra" ,libcanberra)
10454 ("gdk-pixbuf" ,gdk-pixbuf)
10456 ("gstreamer" ,gstreamer)))
10458 `(("gnome-desktop" ,gnome-desktop)
10459 ("gobject-introspection" ,gobject-introspection)
10460 ("gst-plugins-base" ,gst-plugins-base)
10461 ("gst-plugins-good" ,gst-plugins-good)
10462 ("gst-plugins-bad" ,gst-plugins-bad)
10465 ("libxtst" ,libxtst)))
10466 (home-page "https://wiki.gnome.org/Apps/Cheese")
10467 (synopsis "Webcam photo booth software for GNOME")
10469 "Cheese uses your webcam to take photos and videos. Cheese can also
10470 apply fancy special effects and lets you share the fun with others.")
10471 (license license:gpl2+)))
10473 (define-public passwordsafe
10475 (name "passwordsafe")
10480 (uri (git-reference
10481 (url "https://gitlab.gnome.org/World/PasswordSafe")
10483 (file-name (git-file-name name version))
10485 (base32 "1xh64bbg10gnfzlck5jvqy2zk6hbk9cyqgv85xc9kbdvs8n4lhgh"))))
10486 (build-system meson-build-system)
10488 `(#:glib-or-gtk? #t
10490 (modify-phases %standard-phases
10491 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10492 (lambda* (#:key outputs #:allow-other-keys)
10493 (let ((prog (string-append (assoc-ref outputs "out")
10494 "/bin/gnome-passwordsafe"))
10495 (pylib (string-append (assoc-ref outputs "out")
10497 ,(version-major+minor
10498 (package-version python))
10499 "/site-packages")))
10501 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
10502 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10505 `(("desktop-file-utils" ,desktop-file-utils)
10506 ("gettext" ,gettext-minimal)
10507 ("glib:bin" ,glib "bin")
10508 ("gobject-introspection" ,gobject-introspection)
10509 ("gtk+:bin" ,gtk+ "bin")
10510 ("pkg-config" ,pkg-config)))
10513 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10515 ("libhandy" ,libhandy)
10516 ("libpwquality" ,libpwquality)
10517 ("python-pygobject" ,python-pygobject)
10518 ("python-pykeepass" ,python-pykeepass)))
10519 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10520 (synopsis "Password manager for the GNOME desktop")
10522 "Password Safe is a password manager which makes use of the KeePass v4
10523 format. It integrates perfectly with the GNOME desktop and provides an easy
10524 and uncluttered interface for the management of password databases.")
10525 (license license:gpl3+)))
10527 (define-public sound-juicer
10529 (name "sound-juicer")
10534 (uri (string-append "mirror://gnome/sources/" name "/"
10535 (version-major+minor version) "/"
10536 name "-" version ".tar.xz"))
10539 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10540 (build-system glib-or-gtk-build-system)
10542 `(("desktop-file-utils" ,desktop-file-utils)
10543 ("intltool" ,intltool)
10544 ("itstool" ,itstool)
10545 ("pkg-config" ,pkg-config)
10546 ("xmllint" ,libxml2)))
10549 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10550 ("gstreamer" ,gstreamer)
10551 ("gst-plugins-base" ,gst-plugins-base)
10552 ("gst-plugins-good" ,gst-plugins-good)
10553 ("iso-codes" ,iso-codes)
10554 ("libbrasero-media3" ,brasero)
10555 ("libcanberra" ,libcanberra)
10556 ("libdiscid" ,libdiscid)
10557 ("libmusicbrainz" ,libmusicbrainz)
10559 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10560 (synopsis "Audio music cd ripper")
10561 (description "Sound Juicer extracts audio from compact discs and convert it
10562 into audio files that a personal computer or digital audio player can play.
10563 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10564 mp3, Ogg Vorbis and FLAC")
10565 (license license:gpl2+)))
10567 (define-public soundconverter
10569 (name "soundconverter")
10574 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10575 version "/+download/"
10576 "soundconverter-" version ".tar.xz"))
10579 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10580 (build-system glib-or-gtk-build-system)
10582 `(#:imported-modules ((guix build python-build-system)
10583 (guix build glib-or-gtk-build-system)
10584 ,@%gnu-build-system-modules)
10586 #:modules ((guix build glib-or-gtk-build-system)
10588 ((guix build gnu-build-system) #:prefix gnu:)
10589 ((guix build python-build-system) #:prefix python:))
10592 (modify-phases %standard-phases
10593 (add-after 'install 'wrap-soundconverter-for-python
10594 (assoc-ref python:%standard-phases 'wrap))
10595 (add-after 'install 'wrap-soundconverter
10596 (lambda* (#:key inputs outputs #:allow-other-keys)
10597 (let ((out (assoc-ref outputs "out"))
10598 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10599 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10600 (wrap-program (string-append out "/bin/soundconverter")
10601 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10602 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10605 `(("intltool" ,intltool)
10606 ("pkg-config" ,pkg-config)
10607 ("glib:bin" ,glib "bin")))
10611 ("python-pygobject" ,python-pygobject)
10612 ("gstreamer" ,gstreamer)
10613 ("gst-plugins-base" ,gst-plugins-base)))
10614 (home-page "https://soundconverter.org/")
10615 (synopsis "Convert between audio formats with a graphical interface")
10617 "SoundConverter supports converting between many audio formats including
10618 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10619 configurable file renaming. ")
10620 (license license:gpl3)))
10622 (define-public workrave
10625 (version "1.10.43")
10629 (uri (git-reference
10630 (url "https://github.com/rcaelers/workrave")
10631 (commit (string-append "v" (string-map
10632 (match-lambda (#\. #\_) (chr chr))
10634 (file-name (git-file-name name version))
10636 (base32 "1baa9qjzd4b3q1zy5vhvyrx0hyz17mk237373ca48647897kw4cr"))))
10637 (build-system glib-or-gtk-build-system)
10639 ;; The only tests are maintainer tests (in po/), which fail.
10641 (inputs `(("glib" ,glib)
10643 ("gdk-pixbuf" ,gdk-pixbuf)
10647 ("libxtst" ,libxtst)
10651 ("libxscrnsaver" ,libxscrnsaver)))
10652 (native-inputs `(("boost" ,boost)
10653 ("pkg-config" ,pkg-config)
10654 ("gettext" ,gettext-minimal)
10655 ("autoconf" ,autoconf)
10656 ("autoconf-archive" , autoconf-archive)
10657 ("automake" ,automake)
10658 ("libtool" ,libtool)
10659 ("intltool" ,intltool)
10660 ("gobject-introspection" ,gobject-introspection)
10661 ("python3" ,python-3)
10662 ("python-jinja2" ,python-jinja2)))
10663 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10665 "Workrave is a program that assists in the recovery and prevention of
10666 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10667 micro-pauses and rest breaks, and restricts you to your daily limit.")
10668 (home-page "http://www.workrave.org")
10669 (license license:gpl3+)))
10671 (define-public ghex
10677 (uri (string-append "mirror://gnome/sources/ghex/"
10678 (version-major+minor version) "/"
10679 "ghex-" version ".tar.xz"))
10682 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10683 (build-system meson-build-system)
10685 '(#:glib-or-gtk? #t
10687 (modify-phases %standard-phases
10688 (add-after 'unpack 'skip-gtk-update-icon-cache
10689 ;; Don't create 'icon-theme.cache'.
10691 (substitute* "meson_post_install.py"
10692 (("gtk-update-icon-cache") (which "true")))
10695 `(("pkg-config" ,pkg-config)
10696 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10697 ("gnome-common" ,gnome-common)
10699 ("intltool" ,intltool)
10700 ("yelp-tools" ,yelp-tools)
10701 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10705 (synopsis "GNOME hexadecimal editor")
10706 (description "The GHex program can view and edit files in two ways:
10707 hexadecimal or ASCII. It is useful for editing binary files in general.")
10708 (home-page "https://wiki.gnome.org/Apps/Ghex")
10709 (license license:gpl2)))
10711 (define-public libdazzle
10717 (uri (string-append "mirror://gnome/sources/libdazzle/"
10718 (version-major+minor version) "/"
10719 "libdazzle-" version ".tar.xz"))
10722 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10723 (build-system meson-build-system)
10726 (modify-phases %standard-phases
10727 (add-before 'check 'pre-check
10729 ;; Tests require a running X server.
10730 (system "Xvfb :1 &")
10731 (setenv "DISPLAY" ":1")
10734 `(("glib" ,glib "bin") ; glib-compile-resources
10735 ("pkg-config" ,pkg-config)
10737 ("xorg-server" ,xorg-server-for-tests)))
10740 ("gobject-introspection" ,gobject-introspection)
10743 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10744 (synopsis "Companion library to GObject and Gtk+")
10745 (description "The libdazzle library is a companion library to GObject and
10746 Gtk+. It provides various features that the authors wish were in the
10747 underlying library but cannot for various reasons. In most cases, they are
10748 wildly out of scope for those libraries. In other cases, they are not quite
10749 generic enough to work for everyone.")
10750 (license license:gpl3+)))
10752 (define-public evolution
10758 (uri (string-append "mirror://gnome/sources/evolution/"
10759 (version-major+minor version) "/"
10760 "evolution-" version ".tar.xz"))
10763 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))
10764 (patches (search-patches "evolution-CVE-2020-11879.patch"
10765 "evolution-printableoptions.patch"))))
10766 (build-system cmake-build-system)
10768 `(#:imported-modules (,@%cmake-build-system-modules
10769 (guix build glib-or-gtk-build-system))
10770 #:modules ((guix build cmake-build-system)
10771 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10772 (guix build utils))
10774 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10775 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10776 ; in four years and cannot be built.
10778 (modify-phases %standard-phases
10779 ;; The build system attempts to install user interface modules to the
10780 ;; output directory of the "evolution-data-server" package. This
10781 ;; change redirects that change.
10782 (add-after 'unpack 'patch-ui-module-dir
10783 (lambda* (#:key outputs #:allow-other-keys)
10784 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10785 (("\\$\\{edsuimoduledir\\}")
10786 (string-append (assoc-ref outputs "out")
10787 "/lib/evolution-data-server/ui-modules")))
10789 (add-after 'install 'glib-or-gtk-compile-schemas
10790 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10791 (add-after 'install 'glib-or-gtk-wrap
10792 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10794 `(("glib" ,glib "bin") ; glib-mkenums
10795 ("pkg-config" ,pkg-config)
10796 ("intltool" ,intltool)
10797 ("itstool" ,itstool)))
10799 `(("enchant" ,enchant)
10800 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10802 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10803 ("gnome-autoar" ,gnome-autoar)
10804 ("gnome-desktop" ,gnome-desktop)
10806 ("highlight" ,highlight)
10807 ("libcanberra" ,libcanberra)
10808 ("libgweather" ,libgweather)
10809 ("libnotify" ,libnotify)
10810 ("libsoup" ,libsoup)
10812 ("openldap" ,openldap)
10813 ("webkitgtk" ,webkitgtk)
10815 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10816 (synopsis "Manage your email, contacts and schedule")
10817 (description "Evolution is a personal information management application
10818 that provides integrated mail, calendaring and address book
10820 ;; See COPYING for details.
10821 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10822 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10823 license:lgpl2.1+)))) ; smime/lib/*
10825 (define-public gthumb
10831 (uri (string-append "mirror://gnome/sources/gthumb/"
10832 (version-major+minor version) "/"
10833 "gthumb-" version ".tar.xz"))
10836 "04n2sgasc03kiczyzkq362pjilj12hq2r5qj07lynqr9rivkzdys"))))
10837 (build-system meson-build-system)
10839 `(#:glib-or-gtk? #t
10841 ;; Ensure the RUNPATH contains all installed library locations.
10842 (list (string-append "-Dc_link_args=-Wl,-rpath="
10843 (assoc-ref %outputs "out")
10844 "/lib/gthumb/extensions")
10845 (string-append "-Dcpp_link_args=-Wl,-rpath="
10846 (assoc-ref %outputs "out")
10847 "/lib/gthumb/extensions"))))
10849 `(("pkg-config" ,pkg-config)
10850 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10851 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10852 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10853 ("intltool" ,intltool)
10854 ("itstool" ,itstool)))
10858 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10859 ("gstreamer" ,gstreamer)
10860 ("clutter" ,clutter)
10861 ("clutter-gst" ,clutter-gst)
10862 ("clutter-gtk" ,clutter-gtk)
10863 ("libjpeg" ,libjpeg-turbo)
10864 ("libtiff" ,libtiff)
10865 ("libraw" ,libraw)))
10866 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10867 (synopsis "GNOME image viewer and browser")
10868 (description "GThumb is an image viewer, browser, organizer, editor and
10869 advanced image management tool")
10870 (license license:gpl2+)))
10872 (define-public terminator
10874 (name "terminator")
10879 (uri (string-append "https://github.com/gnome-terminator/terminator/"
10880 "releases/download/v" version "/"
10881 name "-" version ".tar.gz"))
10883 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
10884 (build-system python-build-system)
10886 `(("gettext" ,gettext-minimal)
10887 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10888 ("gobject-introspection" ,gobject-introspection)
10889 ("intltool" ,intltool)
10890 ("pkg-config" ,pkg-config)
10891 ("python-psutil" ,python-psutil)
10892 ("python-pytest-runner" ,python-pytest-runner)
10893 ("python-pytest" ,python-pytest)))
10896 ("dbus-glib" ,dbus-glib)
10897 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10899 ("python" ,python-wrapper)
10900 ("python-dbus" ,python-dbus)
10901 ("python-notify2" ,python-notify2)
10902 ("python-pycairo" ,python-pycairo)
10903 ("python-pygobject" ,python-pygobject)
10906 `(("python-configobj" ,python-configobj)))
10908 ;; One test out of 28 fails due to dbus-python and python-notify; skip
10911 #:imported-modules ((guix build glib-or-gtk-build-system)
10912 ,@%python-build-system-modules)
10913 #:modules ((guix build python-build-system)
10914 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10915 (guix build utils))
10917 (modify-phases %standard-phases
10918 (add-after 'unpack 'handle-dbus-python
10920 ;; python-dbus cannot be found but it's really there. See
10921 ;; https://github.com/SpotlightKid/jack-select/issues/2
10922 (substitute* "setup.py"
10923 (("'dbus-python',") ""))
10925 (add-after 'install 'wrap-program
10926 (lambda* (#:key outputs #:allow-other-keys)
10927 (let ((prog (string-append (assoc-ref outputs "out")
10928 "/bin/terminator"))
10929 (pylib (string-append (assoc-ref outputs "out")
10931 ,(version-major+minor
10932 (package-version python))
10933 "/site-packages")))
10935 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10936 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10938 (add-after 'wrap-program 'glib-or-gtk-wrap
10939 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10940 (home-page "https://gnome-terminator.org/")
10941 (synopsis "Store and run multiple GNOME terminals in one window")
10943 "Terminator allows you to run multiple GNOME terminals in a grid and
10944 tabs, and it supports drag and drop re-ordering of terminals.")
10945 (license license:gpl2)))
10947 (define-public libhandy
10954 (uri (git-reference
10955 (url "https://gitlab.gnome.org/GNOME/libhandy")
10957 (file-name (git-file-name name version))
10959 (base32 "1ng2607cp4dfl169rj7zi8q5p6fzxy3a4l0glm7mj75yd1a603rz"))))
10960 (build-system meson-build-system)
10962 `(#:configure-flags
10963 '("-Dglade_catalog=enabled"
10964 ;; XXX: Generating the documentation fails because the
10965 ;; libhandy.devhelp2 document cannot be created. This seems to be
10966 ;; caused by a problem during the XSL transformation.
10969 (modify-phases %standard-phases
10970 (add-after 'unpack 'patch-docbook-xml
10971 (lambda* (#:key inputs #:allow-other-keys)
10975 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10976 (search-input-file inputs
10977 "/xml/dtd/docbook/docbookx.dtd"))))
10978 (find-files "doc" "\\.xml"))))
10979 (add-before 'check 'pre-check
10981 ;; Tests require a running X server.
10982 (system "Xvfb :1 &")
10983 (setenv "DISPLAY" ":1")
10987 ("glade" ,glade3)))
10989 `(("glib:bin" ,glib "bin")
10990 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10992 ("libxml2" ,libxml2)
10993 ("libxslt" ,libxslt)
10994 ("docbook-xsl" ,docbook-xsl)
10995 ("docbook-xml" ,docbook-xml-4.3)
10996 ("gtk-doc" ,gtk-doc/stable)
10997 ("pkg-config" ,pkg-config)
10998 ("gettext" ,gettext-minimal)
11000 ;; Test suite dependencies.
11001 ("xorg-server" ,xorg-server-for-tests)
11002 ("hicolor-icon-theme" ,hicolor-icon-theme)))
11003 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11004 (synopsis "Library full of GTK+ widgets for mobile phones")
11005 (description "The aim of the handy library is to help with developing user
11006 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11007 for usage on small and big screens.")
11008 (license license:lgpl2.1+)))
11010 (define-public libhandy-0.0
11017 (uri (git-reference
11018 (url "https://gitlab.gnome.org/GNOME/libhandy")
11019 (commit (string-append "v" version))))
11020 (file-name (git-file-name "libhandy" version))
11022 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11024 (substitute-keyword-arguments (package-arguments libhandy)
11025 ((#:configure-flags flags)
11026 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11028 (define-public libgit2-glib
11030 (name "libgit2-glib")
11031 (version "0.99.0.1")
11034 (uri (string-append "mirror://gnome/sources/" name "/"
11035 (version-major+minor version) "/"
11036 name "-" version ".tar.xz"))
11039 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
11040 (build-system meson-build-system)
11042 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
11043 ("gobject-introspection" ,gobject-introspection)
11044 ("pkg-config" ,pkg-config)
11045 ("python-pygobject" ,python-pygobject)
11046 ("python-wrapper" ,python-wrapper)
11050 ("libssh2" ,libssh2)))
11052 `(;; In Requires of libgit2-glib.pc.
11053 ("libgit2" ,libgit2)))
11054 (synopsis "GLib wrapper around the libgit2 Git access library")
11055 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11056 access library. It only implements the core plumbing functions, not really the
11057 higher level porcelain stuff.")
11058 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11059 (license license:gpl2+)))
11061 (define-public gitg
11067 (uri (string-append "mirror://gnome/sources/" name "/"
11068 (version-major+minor version) "/"
11069 name "-" version ".tar.xz"))
11072 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11073 (build-system meson-build-system)
11075 `(#:glib-or-gtk? #t
11077 (modify-phases %standard-phases
11078 (add-after 'unpack 'disable-post-install-partially
11080 (substitute* "meson_post_install.py"
11081 (("'python'") ; there are no python sources to compile
11082 (string-append "'" (which "true") "'"))
11083 (("gtk-update-icon-cache") (which "true")))
11085 (add-after 'unpack 'fix-test-sources
11087 (substitute* "tests/libgitg/test-commit.vala"
11088 (("/bin/bash") (which "bash")))
11090 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11091 (lambda* (#:key outputs #:allow-other-keys)
11092 (let ((prog (string-append (assoc-ref outputs "out")
11095 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11099 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11101 ("gtkspell3" ,gtkspell3)
11102 ("gtksourceview" ,gtksourceview-3)
11103 ("json-glib" ,json-glib)
11104 ("libdazzle" ,libdazzle)
11106 ("libgit2-glib" ,libgit2-glib)
11107 ("libpeas" ,libpeas)
11108 ("libsecret" ,libsecret)
11109 ("libsoup" ,libsoup)
11110 ("libxml2" ,libxml2)))
11112 `(("glib:bin" ,glib "bin")
11113 ("gtk+:bin" ,gtk+ "bin")
11114 ("gobject-introspection" ,gobject-introspection)
11115 ("intltool" ,intltool)
11116 ("pkg-config" ,pkg-config)
11118 (synopsis "Graphical user interface for git")
11120 "gitg is a graphical user interface for git. It aims at being a small,
11121 fast and convenient tool to visualize the history of git repositories.
11122 Besides visualization, gitg also provides several utilities to manage your
11123 repository and commit your work.")
11124 (home-page "https://wiki.gnome.org/Apps/Gitg")
11125 (license license:gpl2+)))
11127 (define-public gamin
11133 (uri (string-append "mirror://gnome/sources/" name "/"
11134 (version-major+minor version) "/"
11135 name "-" version ".tar.bz2"))
11138 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11139 (build-system gnu-build-system)
11142 (modify-phases %standard-phases
11143 (add-after 'unpack 'remove-deprecated-macro
11145 (substitute* '("server/gam_node.c"
11146 "server/gam_subscription.h"
11147 "server/gam_node.h"
11148 "server/gam_subscription.c")
11149 (("G_CONST_RETURN") "const"))
11154 `(("pkg-config" ,pkg-config)))
11155 (home-page "https://people.gnome.org/~veillard/gamin/")
11156 (synopsis "File alteration monitor")
11158 "Gamin is a file and directory monitoring system defined to be a subset
11159 of the FAM (File Alteration Monitor) system. This is a service provided by a
11160 library which detects when a file or a directory has been modified.")
11161 (license license:gpl2+)))
11163 (define-public gnome-mahjongg
11165 (name "gnome-mahjongg")
11169 (uri (git-reference
11170 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11172 (file-name (git-file-name name version))
11175 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11176 (build-system meson-build-system)
11178 `(#:glib-or-gtk? #t))
11180 `(("appstream-glib" ,appstream-glib)
11181 ("gettext" ,gettext-minimal)
11182 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11183 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11184 ("itstool" ,itstool)
11185 ("pkg-config" ,pkg-config)
11188 `(("dconf" ,dconf)))
11192 ("librsvg" ,librsvg)))
11193 (synopsis "Mahjongg tile-matching game")
11194 (description "GNOME Mahjongg is a game based on the classic Chinese
11195 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11196 and a high score table.")
11197 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11198 (license license:gpl2+)))
11200 (define-public gnome-themes-extra
11202 (name "gnome-themes-extra")
11207 (uri (string-append "mirror://gnome/sources/" name "/"
11208 (version-major+minor version) "/" name "-"
11209 version ".tar.xz"))
11212 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11213 (build-system gnu-build-system)
11215 '(#:configure-flags
11216 ;; Don't create 'icon-theme.cache'.
11217 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11218 (true (string-append coreutils "/bin/true")))
11219 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11221 `(("glib:bin" ,glib "bin")
11222 ("intltool" ,intltool)
11223 ("pkg-config" ,pkg-config)))
11228 ("librsvg" ,librsvg)
11229 ("libxml2" ,libxml2)))
11230 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11231 (synopsis "GNOME Extra Themes")
11232 (description "This package provides themes and related elements that don't
11233 really fit in other upstream packages. It offers legacy support for GTK+ 2
11234 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11235 index files needed for Adwaita to be used outside of GNOME.")
11236 (license license:lgpl2.1+)))
11238 (define-public gnote
11245 (uri (string-append "mirror://gnome/sources/" name "/"
11246 (version-major+minor version) "/"
11247 "gnote-" version ".tar.xz"))
11249 (base32 "1adjfjhmsm2d33999khjyzvli6kiz1jlzavn77jhd49kfzhxa9y4"))))
11250 (build-system glib-or-gtk-build-system)
11252 `(("desktop-file-utils" ,desktop-file-utils)
11253 ("glib:bin" ,glib "bin")
11254 ("gobject-introspection" ,gobject-introspection)
11255 ("intltool" ,intltool)
11256 ("itstool" ,itstool)
11257 ("pkg-config" ,pkg-config)
11258 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11260 `(("glibmm" ,glibmm)
11261 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11265 ("libsecret" ,libsecret)
11266 ("libuuid" ,util-linux "lib")
11267 ("libxml2" ,libxml2)
11268 ("libxslt" ,libxslt)))
11269 (synopsis "Note-taking application for the GNOME desktop")
11271 "Gnote is a note-taking application written for the GNOME desktop
11273 (home-page "https://wiki.gnome.org/Apps/Gnote")
11274 (license license:gpl3+)))
11276 (define-public polari
11282 (uri (string-append "mirror://gnome/sources/polari/"
11283 (version-major+minor version)
11284 "/polari-" version ".tar.xz"))
11287 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11288 (build-system meson-build-system)
11290 `(#:glib-or-gtk? #t
11292 (modify-phases %standard-phases
11293 (add-after 'unpack 'skip-gtk-update-icon-cache
11295 (substitute* "meson/meson-postinstall.sh"
11296 (("gtk-update-icon-cache") (which "true")))
11298 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11299 (lambda* (#:key outputs #:allow-other-keys)
11300 (let ((prog (string-append (assoc-ref outputs "out")
11303 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11307 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11311 ("libsecret" ,libsecret)
11312 ("libsoup" ,libsoup)
11313 ("telepathy-glib" ,telepathy-glib)
11314 ("telepathy-logger" ,telepathy-logger)))
11316 `(("glib:bin" ,glib "bin")
11317 ("gobject-introspection" ,gobject-introspection)
11318 ("intltool" ,intltool)
11319 ("pkg-config" ,pkg-config)
11320 ("yelp-tools" ,yelp-tools)))
11322 `(("telepathy-idle" ,telepathy-idle)
11323 ("telepathy-mission-control" ,telepathy-mission-control)))
11324 (synopsis "Simple IRC Client")
11326 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11327 integrate seamlessly with the GNOME desktop.")
11328 (home-page "https://wiki.gnome.org/Apps/Polari")
11329 (license license:gpl2+)))
11331 (define-public gnome-boxes
11333 (name "gnome-boxes")
11338 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11339 (version-major+minor version) "/"
11340 "gnome-boxes-" version ".tar.xz"))
11342 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11343 (build-system meson-build-system)
11345 '(#:glib-or-gtk? #t
11346 #:configure-flags (list "-Drdp=false"
11347 (string-append "-Dc_link_args=-Wl,-rpath="
11348 (assoc-ref %outputs "out")
11349 "/lib/gnome-boxes"))))
11351 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11352 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11353 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11354 ("itstool" ,itstool)
11355 ("intltool" ,intltool)
11357 ("pkg-config" ,pkg-config)))
11359 `(("libarchive" ,libarchive)
11360 ("glib-networking" ,glib-networking) ;for TLS support
11361 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11363 ("gtk-vnc" ,gtk-vnc)
11364 ("libosinfo" ,libosinfo)
11365 ("libsecret" ,libsecret)
11366 ("libsoup" ,libsoup)
11368 ("libvirt" ,libvirt)
11369 ("libvirt-glib" ,libvirt-glib)
11370 ("libxml" ,libxml2)
11371 ("spice-gtk" ,spice-gtk)
11372 ("sparql-query" ,sparql-query)
11374 ("webkitgtk" ,webkitgtk)
11375 ("tracker" ,tracker)
11376 ("libgudev" ,libgudev)))
11377 (home-page "https://wiki.gnome.org/Apps/Boxes")
11378 (synopsis "View, access, and manage remote and virtual systems")
11379 (description "GNOME Boxes is a simple application to view, access, and
11380 manage remote and virtual systems. Note that this application requires the
11381 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11382 @command{info '(guix) Virtualization Services'} to learn how to configure
11383 these services on the Guix System.")
11385 ;; For data/icons/empty-boxes.png.
11388 license:lgpl2.0+))))
11390 (define-public geary
11396 (uri (git-reference
11397 (url "https://gitlab.gnome.org/GNOME/geary")
11399 (file-name (git-file-name name version))
11402 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))
11403 (patches (search-patches "geary-CVE-2020-24661.patch"))))
11404 (build-system meson-build-system)
11406 `(#:glib-or-gtk? #t
11407 #:phases (modify-phases %standard-phases
11408 (add-after 'unpack 'disable-failing-tests
11410 (substitute* "test/meson.build"
11411 (("test\\('client-tests', geary_test_client_bin\\)")
11414 (add-after 'unpack 'disable-postinstall-script
11416 (substitute* "meson.build"
11417 (("meson.add_install_script\\(\
11418 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11421 (add-before 'check 'setup-xvfb
11423 (system "Xvfb :1 &")
11424 (setenv "DISPLAY" ":1")
11427 `(("enchant" ,enchant)
11431 ("gmime" ,gmime-2.6)
11432 ("gnome-online-accounts:lib"
11433 ,gnome-online-accounts "lib")
11436 ("iso-codes" ,iso-codes)
11437 ("json-glib" ,json-glib)
11438 ("libcanberra" ,libcanberra)
11440 ("libhandy" ,libhandy-0.0)
11441 ("libpeas" ,libpeas)
11442 ("libsecret" ,libsecret)
11443 ("libunwind" ,libunwind)
11445 ("webkitgtk" ,webkitgtk)
11448 `(("appstream-glib" ,appstream-glib)
11449 ("cmake-minimal" ,cmake-minimal)
11450 ("desktop-file-utils" ,desktop-file-utils)
11451 ("gettext" ,gettext-minimal)
11452 ("glib:bin" ,glib "bin")
11453 ("gobject-introspection" ,gobject-introspection)
11454 ("itstool" ,itstool)
11455 ("libarchive" ,libarchive)
11456 ("libxml2" ,libxml2)
11457 ("pkg-config" ,pkg-config)
11459 ("xvfb" ,xorg-server-for-tests)))
11460 (synopsis "GNOME email application built around conversations")
11462 "Geary collects related messages together into conversations,
11463 making it easy to find and follow your discussions. Full-text and keyword
11464 search makes it easy to find the email you are looking for. Geary's
11465 full-featured composer lets you send rich, styled text with images, links, and
11466 lists, but also send lightweight, easy to read text messages. Geary
11467 automatically picks up your existing GNOME Online Accounts, and adding more is
11468 easy. Geary has a clean, fast, modern interface that works like you want it
11470 (home-page "https://wiki.gnome.org/Apps/Geary")
11476 license:cc-by-sa3.0
11477 license:public-domain
11481 (define-public glabels
11488 (uri (string-append "mirror://gnome/sources/" name "/"
11489 (version-major+minor version) "/"
11490 "glabels-" version ".tar.xz"))
11492 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11493 (build-system glib-or-gtk-build-system)
11495 `(("gettext" ,gettext-minimal)
11496 ("glib:bin" ,glib "bin")
11497 ("intltool" ,intltool)
11498 ("itstool" ,itstool)
11499 ("pkg-config" ,pkg-config)))
11502 ("librsvg" ,librsvg)
11503 ("libxml2" ,libxml2)))
11505 `(#:configure-flags '("CFLAGS=-fcommon")))
11506 (home-page "https://glabels.org/")
11507 (synopsis "Program for creating labels and business cards")
11509 "gLabels is a program for creating labels and business cards. It is
11510 designed to work with various laser/ink-jet peel-off label and business
11511 card sheets that you’ll find at most office supply stores.")
11512 (license license:gpl3+)))
11514 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11515 (define-public gnome-latex
11517 (name "gnome-latex")
11522 (uri (string-append "mirror://gnome/sources/" name "/"
11523 (version-major+minor version) "/"
11524 "gnome-latex-" version ".tar.xz"))
11526 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11527 (build-system glib-or-gtk-build-system)
11529 `(("gettext" ,gettext-minimal)
11530 ("glib:bin" ,glib "bin")
11531 ("gobject-introspection" ,gobject-introspection)
11532 ("gtk-doc" ,gtk-doc/stable)
11533 ("intltool" ,intltool)
11534 ("itstool" ,itstool)
11535 ("pkg-config" ,pkg-config)
11541 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11544 ("gtksourceview" ,gtksourceview)
11547 ("uchardet" ,uchardet)))
11548 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11549 (synopsis "LaTeX editor for the GNOME desktop")
11551 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11552 such as build tools, completion of LaTeX commands, structure navigation,
11553 symbol tables, document templates, project management, spell-checking, menus
11555 (license license:gpl3+)))
11557 (define-public setzer
11564 (uri (git-reference
11565 (url "https://github.com/cvfosammmm/Setzer")
11566 (commit (string-append "v" version))))
11567 (file-name (git-file-name name version))
11569 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11570 (build-system meson-build-system)
11572 `(#:glib-or-gtk? #t
11574 (modify-phases %standard-phases
11575 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11576 (lambda* (#:key outputs #:allow-other-keys)
11577 (let ((prog (string-append (assoc-ref outputs "out")
11579 (pylib (string-append (assoc-ref outputs "out")
11581 ,(version-major+minor
11582 (package-version python))
11583 "/site-packages")))
11585 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
11586 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11589 `(("desktop-file-utils" ,desktop-file-utils)
11590 ("gettext" ,gettext-minimal)
11591 ("glib:bin" ,glib "bin")
11592 ("gobject-introspection" ,gobject-introspection)
11593 ("gtk+:bin" ,gtk+ "bin")))
11595 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11598 ("gtksourceview" ,gtksourceview)
11600 ("poppler" ,poppler)
11601 ("python-pdfminer" ,python-pdfminer-six)
11602 ("python-pycairo" ,python-pycairo)
11603 ("python-pygobject" ,python-pygobject)
11604 ("python-pyxdg" ,python-pyxdg)
11605 ("webkitgtk" ,webkitgtk)
11606 ("xdg-utils" ,xdg-utils)))
11607 (home-page "https://www.cvfosammmm.org/setzer/")
11608 (synopsis "LaTeX editor written in Python with GTK+")
11610 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11611 GTK+. It integrates well with the GNOME desktop environment.")
11612 (license license:gpl3+)))
11614 (define-public apostrophe
11616 (name "apostrophe")
11620 (uri (git-reference
11621 (url "https://gitlab.gnome.org/somas/apostrophe")
11622 (commit (string-append "v" version))))
11623 (file-name (git-file-name name version))
11626 "1qzy3zhi18wf42m034s8kcmx9gl05j620x3hf6rnycq2fvy7g4gz"))))
11627 (build-system meson-build-system)
11629 `(#:glib-or-gtk? #t
11631 (modify-phases %standard-phases
11632 (add-after 'unpack 'patch-meson
11634 (substitute* "build-aux/meson_post_install.py"
11635 (("gtk-update-icon-cache") "true"))
11637 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11638 (lambda* (#:key inputs outputs #:allow-other-keys)
11639 (let ((prog (string-append (assoc-ref outputs "out")
11640 "/bin/apostrophe"))
11641 (pylib (string-append (assoc-ref outputs "out")
11643 ,(version-major+minor
11644 (package-version python))
11645 "/site-packages")))
11647 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
11648 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
11649 `("PATH" prefix (,(dirname
11650 (search-input-file inputs
11651 "/bin/pandoc")))))))))))
11654 ("gobject-introspection" ,gobject-introspection)
11657 ("libhandy" ,libhandy)
11659 ("python-chardet" ,python-chardet)
11660 ("python-levenshtein" ,python-levenshtein)
11661 ("python-regex" ,python-regex)
11662 ("python-pycairo" ,python-pycairo)
11663 ("python-pygobject" ,python-pygobject)
11664 ("python-pyenchant" ,python-pyenchant)
11665 ("python-pypandoc" ,python-pypandoc)
11666 ("webkitgtk" ,webkitgtk)))
11668 `(("gettext" ,gettext-minimal)
11669 ("glib:bin" ,glib "bin")
11670 ("pkg-config" ,pkg-config)))
11671 (home-page "https://gitlab.gnome.org/somas/apostrophe")
11672 (synopsis "Markdown editor written in Python with GTK+")
11673 (description "Apostrophe is a GTK+ based distraction free Markdown editor.
11674 It uses pandoc as back-end for parsing Markdown.")
11675 (license license:gpl3)))
11677 (define-public libratbag
11684 (uri (git-reference
11685 (url "https://github.com/libratbag/libratbag")
11686 (commit (string-append "v" version))))
11687 (file-name (git-file-name name version))
11689 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11690 (build-system meson-build-system)
11692 `(#:configure-flags
11693 (list "-Dsystemd=false"
11694 "-Dlogind-provider=elogind")
11696 (modify-phases %standard-phases
11697 (add-after 'install 'wrap
11698 (lambda* (#:key inputs outputs #:allow-other-keys)
11699 (let* ((out (assoc-ref outputs "out"))
11700 (site (string-append
11702 ,(version-major+minor (package-version python))
11704 (evdev (string-append
11705 (assoc-ref inputs "python-evdev") site))
11706 (pygo (string-append
11707 (assoc-ref inputs "python-pygobject") site))
11709 `("GUIX_PYTHONPATH" = (,evdev ,pygo))))
11710 (wrap-program (string-append out "/bin/" "ratbagctl")
11715 ("pkg-config" ,pkg-config)
11717 ("valgrind" ,valgrind)))
11720 ("json-glib" ,json-glib)
11721 ("libevdev" ,libevdev)
11722 ("libsystemd" ,elogind)
11723 ("libunistring" ,libunistring)
11724 ("python-evdev" ,python-evdev)
11725 ("python-pygobject" ,python-pygobject)
11727 (home-page "https://github.com/libratbag/libratbag")
11728 (synopsis "DBus daemon and utility for configuring gaming mice")
11729 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11730 configure input devices, mainly gaming mice. The daemon provides a generic
11731 way to access the various features exposed by these mice and abstracts away
11732 hardware-specific and kernel-specific quirks. There is also the
11733 @command{ratbagctl} command line interface for configuring devices.
11735 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11738 The ratbagd DBus service can be enabled by adding the following service to
11739 your operating-system definition:
11741 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11742 (license license:expat)))
11744 (define-public piper
11751 (uri (git-reference
11752 (url "https://github.com/libratbag/piper")
11755 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11756 (file-name (git-file-name name version))))
11757 (build-system meson-build-system)
11759 `(("gettext" ,gettext-minimal)
11760 ("glib:bin" ,glib "bin")
11761 ("gobject-introspection" ,gobject-introspection)
11762 ("pkg-config" ,pkg-config)
11763 ("python-flake8" ,python-flake8)))
11765 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11767 ("gtk:bin" ,gtk+ "bin")
11768 ("librsvg" ,librsvg)
11769 ("python-evdev" ,python-evdev)
11770 ("python-lxml" ,python-lxml)
11771 ("python-pycairo" ,python-pycairo)
11772 ("python-pygobject" ,python-pygobject)))
11774 `(#:imported-modules ((guix build python-build-system)
11775 ,@%meson-build-system-modules)
11776 #:modules (((guix build python-build-system) #:prefix python:)
11777 (guix build meson-build-system)
11778 (guix build utils))
11779 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11781 (modify-phases %standard-phases
11782 (add-after 'unpack 'dont-update-gtk-icon-cache
11784 (substitute* "meson.build"
11785 (("meson.add_install_script('meson_install.sh')") ""))
11787 ;; TODO: Switch to wrap-script when it is fixed.
11788 (add-after 'install 'wrap-python
11789 (assoc-ref python:%standard-phases 'wrap))
11790 (add-after 'wrap-python 'wrap
11791 (lambda* (#:key outputs #:allow-other-keys)
11793 (string-append (assoc-ref outputs "out" )"/bin/piper")
11794 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11796 (home-page "https://github.com/libratbag/piper/")
11797 (synopsis "Configure bindings and LEDs on gaming mice")
11798 (description "Piper is a GTK+ application for configuring gaming mice with
11799 onboard configuration for key bindings via libratbag. Piper requires
11800 a @command{ratbagd} daemon running with root privileges. It can be run
11801 manually as root, but is preferably configured as a DBus service that can
11802 launch on demand. This can be configured by enabling the following service,
11803 provided there is a DBus service present:
11805 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11806 (license license:gpl2)))
11808 (define-public parlatype
11815 (uri (git-reference
11816 (url "https://github.com/gkarsay/parlatype")
11817 (commit (string-append "v" version))))
11818 (file-name (git-file-name name version))
11820 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11821 (build-system meson-build-system)
11823 `(#:glib-or-gtk? #t
11824 #:tests? #f ;require internet access
11826 (modify-phases %standard-phases
11827 (add-after 'install 'wrap-parlatype
11828 ;; Add gstreamer plugin provided in this package to system's
11830 (lambda* (#:key outputs #:allow-other-keys)
11831 (let* ((out (assoc-ref outputs "out"))
11832 (gst-plugin-path (string-append
11833 out "/lib/gstreamer-1.0/"
11835 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11836 (wrap-program (string-append out "/bin/parlatype")
11837 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11840 `(("appstream-glib" ,appstream-glib)
11841 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11842 ("gettext" ,gettext-minimal)
11843 ("glib" ,glib "bin") ;for glib-compile-resources
11844 ("pkg-config" ,pkg-config)
11845 ("yelp-tools" ,yelp-tools)))
11847 `(("gst-plugins-base" ,gst-plugins-base)
11848 ("gst-plugins-good" ,gst-plugins-good)
11849 ("gstreamer" ,gstreamer)
11851 ("pocketsphinx" ,pocketsphinx)
11852 ("pulseaudio" ,pulseaudio)
11853 ("sphinxbase" ,sphinxbase)))
11854 (home-page "http://gkarsay.github.io/parlatype/")
11855 (synopsis "GNOME audio player for transcription")
11856 (description "Parlatype is an audio player for the GNOME desktop
11857 environment. Its main purpose is the manual transcription of spoken
11859 (license license:gpl3+)))
11861 (define-public jsonrpc-glib
11863 (name "jsonrpc-glib")
11867 (uri (string-append "mirror://gnome/sources/" name "/"
11868 (version-major+minor version) "/"
11869 name "-" version ".tar.xz"))
11872 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11873 (build-system meson-build-system)
11875 `(("json-glib" ,json-glib)
11878 `(("pkg-config" ,pkg-config)
11879 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11880 ("gobject-introspection" ,gobject-introspection)
11882 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11883 (synopsis "JSON-RPC library for GLib")
11884 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11885 peers in either a synchronous or asynchronous fashion. It also allows
11886 communicating using the GVariant serialization format instead of JSON when
11887 both peers support it. You might want that when communicating on a single
11888 host to avoid parser overhead and memory-allocator fragmentation.")
11889 (license license:lgpl2.1+)))
11891 (define-public feedbackd
11894 (version "0.0.0+git20200527")
11897 (uri (git-reference
11898 (url "https://source.puri.sm/Librem5/feedbackd.git")
11899 (commit (string-append "v" version))))
11900 (file-name (git-file-name name version))
11903 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11904 (build-system meson-build-system)
11906 `(("glib:bin" ,glib "bin")
11907 ("gobject-introspection" ,gobject-introspection)
11908 ("pkg-config" ,pkg-config)
11913 ("json-glib" ,json-glib)
11914 ("libgudev" ,libgudev)))
11916 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11917 (synopsis "Haptic/visual/audio feedback via DBus")
11918 (description "Feedbackd provides a DBus daemon to act on events to provide
11919 haptic, visual and audio feedback. It offers the libfeedbackd library and
11920 GObject introspection bindings.")
11921 (home-page "https://source.puri.sm/Librem5/feedbackd")
11922 (license (list license:lgpl2.1+ ; libfeedbackd
11923 license:lgpl3+)))) ; the rest
11925 (define-public sysprof
11932 (uri (string-append "mirror://gnome/sources/sysprof/"
11933 (version-major+minor version) "/"
11934 "sysprof-" version ".tar.xz"))
11936 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11937 (build-system meson-build-system)
11939 `(#:configure-flags
11940 (list (string-append "-Dsystemdunitdir="
11943 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11945 (modify-phases %standard-phases
11946 (add-after 'unpack 'patch-install-script
11948 (substitute* "build-aux/meson/post_install.sh"
11949 (("gtk-update-icon-cache") "true")
11950 (("update-desktop-database") "true"))
11955 ("libdazzle" ,libdazzle)
11956 ("polkit" ,polkit)))
11958 `(("gettext" ,gettext-minimal)
11959 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11960 ("itstool" ,itstool)
11961 ("pkg-config" ,pkg-config)
11962 ("xmllint" ,libxml2)))
11963 ;; This home page is so woefully out of date as to be essentially useless.
11964 ;; (home-page "http://www.sysprof.com")
11965 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11966 (synopsis "System-wide performance profiler for GNU/Linux")
11968 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11969 GNU/Linux system including the kernel and all user-space applications. This
11970 helps find the function(s) in which a program spends most of its time.
11972 It uses the kernel's built-in @code{ptrace} feature and handles shared
11973 libraries. Applications do not need to be recompiled--or even restarted.")
11974 (license license:gpl3+)))
11976 (define-public gnome-builder
11978 (name "gnome-builder")
11982 (uri (string-append "mirror://gnome/sources/" name "/"
11983 (version-major+minor version) "/"
11984 name "-" version ".tar.xz"))
11987 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11988 (build-system meson-build-system)
11990 `(#:configure-flags (list "-Dnetwork_tests=false"
11991 ;; TODO: Enable all plugins...
11992 "-Dplugin_clang=false"
11993 "-Dplugin_flatpak=false"
11994 "-Dplugin_glade=false"
11995 ;; XXX: This one has been shown not to work in
11996 ;; <https://issues.guix.gnu.org/45272>
11997 "-Dplugin_jedi=false"
11998 ;; ... except this one.
11999 "-Dplugin_update_manager=false")
12001 (modify-phases %standard-phases
12002 (add-after 'unpack 'patch-meson
12003 (lambda* (#:key inputs #:allow-other-keys)
12004 (substitute* "build-aux/meson/post_install.py"
12005 (("gtk-update-icon-cache") "true")
12006 (("update-desktop-database") "true"))
12007 (substitute* "src/libide/meson.build"
12009 (string-append (assoc-ref inputs "python-pygobject")
12012 (add-after 'configure 'fix-ninja
12014 ;; #43296: meson(?) incorrectly assumes we want to link
12015 ;; this PIE against a static libselinux.
12016 (substitute* "build.ninja"
12017 (("libselinux\\.a") "libselinux.so"))
12019 (add-before 'check 'pre-check
12021 (system "Xvfb :1 &")
12022 (setenv "DISPLAY" ":1")
12025 `(("devhelp" ,devhelp)
12028 ("json-glib" ,json-glib)
12029 ("jsonrpc-glib" ,jsonrpc-glib)
12030 ("libdazzle" ,libdazzle)
12031 ("libgit2-glib" ,libgit2-glib)
12032 ("libpeas" ,libpeas)
12033 ("python-pygobject" ,python-pygobject)
12034 ("sysprof" ,sysprof)
12035 ("template-glib" ,template-glib)
12037 ("webkitgtk" ,webkitgtk)))
12039 `(("gtksourceview" ,gtksourceview))) ;needed for settings
12041 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
12042 ("glib:bin" ,glib "bin")
12043 ("gettext" ,gettext-minimal)
12044 ("pkg-config" ,pkg-config)
12046 ("xorg-server" ,xorg-server-for-tests)))
12047 (home-page "https://wiki.gnome.org/Apps/Builder")
12048 (synopsis "Toolsmith for GNOME-based applications")
12049 (description "Builder aims to be an integrated development
12050 environment (IDE) for writing GNOME-based software. It features fuzzy search,
12051 auto-completion, a mini code map, documentation browsing, Git integration, an
12052 integrated profiler via Sysprof, debugging support, and more.")
12053 (license license:gpl3+)))
12055 (define-public komikku
12062 (uri (git-reference
12063 (url "https://gitlab.com/valos/Komikku/")
12064 (commit (string-append "v" version))))
12065 (file-name (git-file-name name version))
12068 "0vldcjq24y4xxg8dzlyhfpqxbqn5g160lz1lmmkp7g9im2zrxh52"))))
12069 (build-system meson-build-system)
12071 `(#:glib-or-gtk? #t
12073 (modify-phases %standard-phases
12074 (add-after 'unpack 'patch-sources
12076 (substitute* "komikku/utils.py"
12077 (("from komikku\\.servers import get_servers_list")
12078 ;; code following that line should migrate old databases
12079 ;; but the line itself results in an import error
12080 "return data_dir_path"))))
12081 (add-after 'unpack 'skip-gtk-update-icon-cache
12083 (substitute* "meson_post_install.py"
12084 (("gtk-update-icon-cache") (which "true")))
12086 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12087 (lambda* (#:key outputs #:allow-other-keys)
12088 (let ((prog (string-append (assoc-ref outputs "out")
12091 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
12092 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12096 ("libhandy" ,libhandy)
12097 ("libnotify" ,libnotify)
12098 ("libsecret" ,libsecret)
12099 ("python-beautifulsoup4" ,python-beautifulsoup4)
12100 ("python-brotli" ,python-brotli)
12101 ("python-cloudscraper" ,python-cloudscraper)
12102 ("python-dateparser" ,python-dateparser)
12103 ("python-keyring" ,python-keyring)
12104 ("python-lxml" ,python-lxml)
12105 ("python-magic" ,python-magic)
12106 ("python-natsort" ,python-natsort)
12107 ("python-pillow" ,python-pillow)
12108 ("python-pure-protobuf" ,python-pure-protobuf)
12109 ("python-pycairo" ,python-pycairo)
12110 ("python-pygobject" ,python-pygobject)
12111 ("python-requests" ,python-requests)
12112 ("python-unidecode" ,python-unidecode)
12113 ("webkitgtk" ,webkitgtk)))
12115 `(("desktop-file-utils" ,desktop-file-utils)
12116 ("gettext" ,gettext-minimal)
12117 ("glib:bin" ,glib "bin")
12118 ("gobject-introspection" ,gobject-introspection)
12119 ("pkg-config" ,pkg-config)))
12120 (home-page "https://gitlab.com/valos/Komikku")
12121 (synopsis "Manga reader for GNOME")
12122 (description "Komikku is an online/offline manga reader for GNOME,
12123 developed with the aim of being used with the Librem 5 phone.")
12124 (license license:gpl3+)))
12126 (define-public libgda
12133 (uri (git-reference
12134 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12135 (commit (string-append "LIBGDA_" (string-replace-substring
12136 version "." "_")))))
12137 (file-name (git-file-name name version))
12139 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12140 (build-system gnu-build-system)
12142 `(#:configure-flags '("--enable-vala")
12143 ;; There's a race between check_cnc_lock and check_threaded_cnc
12144 ;; in tests/multi-threading.
12145 #:parallel-tests? #f
12147 (modify-phases %standard-phases
12148 (add-after 'unpack 'fix-glade-install
12150 (substitute* "configure.ac"
12151 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12152 "${datadir}/glade/catalogs")
12153 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12154 "${datadir}/glade/pixmaps"))
12156 (add-before 'check 'pre-check
12157 (lambda* (#:key inputs #:allow-other-keys)
12158 ;; Tests require a running X server.
12159 (system "Xvfb :1 &")
12160 (setenv "DISPLAY" ":1")
12162 (add-after 'install 'symlink-glade-module
12163 (lambda* (#:key outputs #:allow-other-keys)
12164 (let* ((shlib "libgda-ui-5.0.so")
12165 (out (assoc-ref outputs "out"))
12166 (out/lib (string-append out "/lib"))
12167 (moduledir (string-append out/lib "/glade/modules")))
12168 (mkdir-p moduledir)
12169 (symlink (string-append out/lib "/" shlib)
12170 (string-append moduledir "/" shlib))
12173 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12178 ("libsecret" ,libsecret)
12179 ("libxslt" ,libxslt)
12180 ("openssl" ,openssl)
12183 `(("autoconf" ,autoconf)
12184 ("autoconf-archive" ,autoconf-archive)
12185 ("automake" ,automake)
12186 ("glib:bin" ,glib "bin")
12187 ("gnome-common" ,gnome-common)
12188 ("gobject-introspection" ,gobject-introspection)
12189 ("gtk-doc" ,gtk-doc/stable)
12190 ("intltool" ,intltool)
12191 ("libtool" ,libtool)
12192 ("pkg-config" ,pkg-config)
12195 ("xorg-server" ,xorg-server-for-tests)
12196 ("yelp-tools" ,yelp-tools)))
12197 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12198 (synopsis "Uniform data access")
12200 "GNU Data Access (GDA) is an attempt to provide uniform access to
12201 different kinds of data sources (databases, information servers, mail spools,
12202 etc). It is a complete architecture that provides all you need to access
12204 (license license:lgpl2.1+)))
12206 (define-public gtranslator
12208 (name "gtranslator")
12212 (uri (string-append "mirror://gnome/sources/" name "/"
12213 (version-major+minor version) "/"
12214 name "-" version ".tar.xz"))
12217 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12218 (build-system meson-build-system)
12220 `(("json-glib" ,json-glib)
12221 ("jsonrpc-glib" ,jsonrpc-glib)
12222 ("gettext" ,gettext-minimal)
12225 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12227 ("libdazzle" ,libdazzle)
12229 ("libsoup" ,libsoup)))
12231 `(("glib:bin" ,glib "bin")
12232 ("itstool" ,itstool)
12233 ("pkg-config" ,pkg-config)))
12235 `(("gtksourceview" ,gtksourceview))) ; required for source view
12237 `(#:build-type "release"
12240 (modify-phases %standard-phases
12241 (add-after 'unpack 'skip-gtk-update-icon-cache
12243 (substitute* "build-aux/meson/meson_post_install.py"
12244 (("gtk-update-icon-cache") (which "true")))
12246 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12247 (synopsis "Translation making program")
12249 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12250 for the GNOME 3.x platform with many features. It aims to be a very complete
12251 editing environment for translation issues within the GNU gettext/GNOME desktop
12253 (license license:gpl3+)))
12256 (define-public ocrfeeder
12262 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12263 (version-major+minor version) "/"
12264 "ocrfeeder-" version ".tar.xz"))
12267 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12268 (build-system gnu-build-system)
12271 (modify-phases %standard-phases
12273 'install 'wrap-program
12274 (lambda* (#:key outputs #:allow-other-keys)
12275 (let ((prog (string-append (assoc-ref outputs "out")
12276 "/bin/" "ocrfeeder"))
12277 (pylib (string-append (assoc-ref outputs "out")
12279 ,(version-major+minor
12280 (package-version python))
12281 "/site-packages")))
12283 `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
12284 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12287 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12288 ("gobject-introspection" ,gobject-introspection)
12289 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12290 ("intltool" ,intltool)
12291 ("itstool" ,itstool)
12292 ("pkg-config" ,pkg-config)
12293 ("xmllint" ,libxml2)))
12295 `(("enchant" ,enchant)
12297 ("goocanvas" ,goocanvas)
12299 ("gtkspell3" ,gtkspell3)
12300 ("libjpeg" ,libjpeg-turbo)
12301 ("libtiff" ,libtiff)
12304 ("python" ,python-wrapper)
12305 ("python-pygobject" ,python-pygobject)
12306 ("python-odfpy" ,python-odfpy)
12307 ("python-pillow" ,python-pillow)
12308 ("python-pyenchant" ,python-pyenchant)
12309 ("python-reportlab" ,python-reportlab)
12310 ("python-sane" ,python-sane)
12311 ("sane-backends" ,sane-backends)
12312 ("tesseract-ocr" ,tesseract-ocr)))
12313 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12314 (synopsis "Complete OCR Suite")
12315 (description "OCRFeeder is a complete Optical Character Recognition and
12316 Document Analysis and Recognition program.")
12317 (license license:gpl3+)))