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>
64 ;;; This file is part of GNU Guix.
66 ;;; GNU Guix is free software; you can redistribute it and/or modify it
67 ;;; under the terms of the GNU General Public License as published by
68 ;;; the Free Software Foundation; either version 3 of the License, or (at
69 ;;; your option) any later version.
71 ;;; GNU Guix is distributed in the hope that it will be useful, but
72 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
73 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74 ;;; GNU General Public License for more details.
76 ;;; You should have received a copy of the GNU General Public License
77 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
79 (define-module (gnu packages gnome)
80 #:use-module (gnu packages)
81 #:use-module (gnu packages admin)
82 #:use-module (gnu packages aidc)
83 #:use-module (gnu packages aspell)
84 #:use-module (gnu packages autotools)
85 #:use-module (gnu packages avahi)
86 #:use-module (gnu packages backup)
87 #:use-module (gnu packages base)
88 #:use-module (gnu packages bash)
89 #:use-module (gnu packages bison)
90 #:use-module (gnu packages boost)
91 #:use-module (gnu packages build-tools)
92 #:use-module (gnu packages calendar)
93 #:use-module (gnu packages cdrom)
94 #:use-module (gnu packages check)
95 #:use-module (gnu packages cmake)
96 #:use-module (gnu packages compression)
97 #:use-module (gnu packages crates-io)
98 #:use-module (gnu packages crates-graphics)
99 #:use-module (gnu packages crates-gtk)
100 #:use-module (gnu packages cups)
101 #:use-module (gnu packages curl)
102 #:use-module (gnu packages cyrus-sasl)
103 #:use-module (gnu packages databases)
104 #:use-module (gnu packages dbm)
105 #:use-module (gnu packages djvu)
106 #:use-module (gnu packages dns)
107 #:use-module (gnu packages docbook)
108 #:use-module (gnu packages documentation)
109 #:use-module (gnu packages enchant)
110 #:use-module (gnu packages flex)
111 #:use-module (gnu packages fonts)
112 #:use-module (gnu packages file-systems)
113 #:use-module (gnu packages fontutils)
114 #:use-module (gnu packages freedesktop)
115 #:use-module (gnu packages game-development)
116 #:use-module (gnu packages gcc)
117 #:use-module (gnu packages gettext)
118 #:use-module (gnu packages ghostscript)
119 #:use-module (gnu packages gimp)
120 #:use-module (gnu packages gl)
121 #:use-module (gnu packages glib)
122 #:use-module (gnu packages gnupg)
123 #:use-module (gnu packages gnuzilla)
124 #:use-module (gnu packages geo)
125 #:use-module (gnu packages gperf)
126 #:use-module (gnu packages graphviz)
127 #:use-module (gnu packages gstreamer)
128 #:use-module (gnu packages gtk)
129 #:use-module (gnu packages guile)
130 #:use-module (gnu packages haskell-xyz)
131 #:use-module (gnu packages ibus)
132 #:use-module (gnu packages icu4c)
133 #:use-module (gnu packages image)
134 #:use-module (gnu packages imagemagick)
135 #:use-module (gnu packages inkscape)
136 #:use-module (gnu packages iso-codes)
137 #:use-module (gnu packages kerberos)
138 #:use-module (gnu packages libcanberra)
139 #:use-module (gnu packages libffi)
140 #:use-module (gnu packages libunistring)
141 #:use-module (gnu packages libunwind)
142 #:use-module (gnu packages libusb)
143 #:use-module (gnu packages linux)
144 #:use-module (gnu packages lirc)
145 #:use-module (gnu packages lua)
146 #:use-module (gnu packages mail)
147 #:use-module (gnu packages mp3)
148 #:use-module (gnu packages multiprecision)
149 #:use-module (gnu packages music)
150 #:use-module (gnu packages ncurses)
151 #:use-module (gnu packages nettle)
152 #:use-module (gnu packages networking)
153 #:use-module (gnu packages ninja)
154 #:use-module (gnu packages node)
155 #:use-module (gnu packages nss)
156 #:use-module (gnu packages ocr)
157 #:use-module (gnu packages openldap)
158 #:use-module (gnu packages package-management)
159 #:use-module (gnu packages password-utils)
160 #:use-module (gnu packages pcre)
161 #:use-module (gnu packages pdf)
162 #:use-module (gnu packages perl)
163 #:use-module (gnu packages photo)
164 #:use-module (gnu packages php)
165 #:use-module (gnu packages pkg-config)
166 #:use-module (gnu packages polkit)
167 #:use-module (gnu packages popt)
168 #:use-module (gnu packages pretty-print)
169 #:use-module (gnu packages protobuf)
170 #:use-module (gnu packages pulseaudio)
171 #:use-module (gnu packages python)
172 #:use-module (gnu packages python-compression)
173 #:use-module (gnu packages python-crypto)
174 #:use-module (gnu packages python-web)
175 #:use-module (gnu packages python-xyz)
176 #:use-module (gnu packages rdesktop)
177 #:use-module (gnu packages rdf)
178 #:use-module (gnu packages readline)
179 #:use-module (gnu packages ruby)
180 #:use-module (gnu packages rust)
181 #:use-module (gnu packages samba)
182 #:use-module (gnu packages scanner)
183 #:use-module (gnu packages sdl)
184 #:use-module (gnu packages search)
185 #:use-module (gnu packages selinux)
186 #:use-module (gnu packages slang)
187 #:use-module (gnu packages speech)
188 #:use-module (gnu packages spice)
189 #:use-module (gnu packages sqlite)
190 #:use-module (gnu packages ssh)
191 #:use-module (gnu packages swig)
192 #:use-module (gnu packages tex)
193 #:use-module (gnu packages time)
194 #:use-module (gnu packages tls)
195 #:use-module (gnu packages valgrind)
196 #:use-module (gnu packages version-control)
197 #:use-module (gnu packages video)
198 #:use-module (gnu packages virtualization)
199 #:use-module (gnu packages vpn)
200 #:use-module (gnu packages web)
201 #:use-module (gnu packages webkit)
202 #:use-module (gnu packages xdisorg)
203 #:use-module (gnu packages xiph)
204 #:use-module (gnu packages xml)
205 #:use-module (gnu packages xorg)
206 #:use-module (gnu artwork)
207 #:use-module (guix build-system cargo)
208 #:use-module (guix build-system cmake)
209 #:use-module (guix build-system glib-or-gtk)
210 #:use-module (guix build-system gnu)
211 #:use-module (guix build-system meson)
212 #:use-module (guix build-system python)
213 #:use-module (guix build-system trivial)
214 #:use-module (guix download)
215 #:use-module (guix git-download)
216 #:use-module ((guix licenses) #:prefix license:)
217 #:use-module (guix packages)
218 #:use-module (guix utils)
219 #:use-module (guix gexp)
220 #:use-module (ice-9 match)
221 #:use-module (srfi srfi-1))
223 (define-public gupnp-igd
231 (string-append "mirror://gnome/sources/" name "/"
232 (version-major+minor version) "/"
233 name "-" version ".tar.xz"))
235 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
236 (build-system meson-build-system)
237 (outputs '("out" "doc"))
239 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
240 #:configure-flags (list "-Dgtk_doc=true")
242 (modify-phases %standard-phases
243 (add-after 'unpack 'patch-docbook-xml
244 (lambda* (#:key inputs #:allow-other-keys)
245 (with-directory-excursion "doc"
246 (substitute* "gupnp-igd-docs.xml"
247 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
248 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
249 "/xml/dtd/docbook/"))))
251 (add-after 'install 'move-doc
252 (lambda* (#:key outputs #:allow-other-keys)
253 (let* ((out (assoc-ref outputs "out"))
254 (doc (assoc-ref outputs "doc")))
255 (mkdir-p (string-append doc "/share"))
257 (string-append out "/share/gtk-doc")
258 (string-append doc "/share/gtk-doc"))
261 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
262 ("docbook-xsl" ,docbook-xsl)
263 ("glib:bin" ,glib "bin")
264 ("gobject-introspection" ,gobject-introspection)
265 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
266 ("gtk-doc" ,gtk-doc/stable)
267 ("pkg-config" ,pkg-config)))
270 ("glib-networking" ,glib-networking)
273 ("libsoup" ,libsoup)))
274 (synopsis "UPnP IGD for GNOME")
275 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
276 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
277 (license license:lgpl2.1+)))
279 (define-public brasero
285 (uri (string-append "mirror://gnome/sources/brasero/"
286 (version-major+minor version) "/"
287 "brasero-" version ".tar.xz"))
290 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
291 (build-system glib-or-gtk-build-system)
293 `(#:configure-flags (list
294 (string-append "--with-girdir="
295 (assoc-ref %outputs "out")
297 (string-append "--with-typelibdir="
298 (assoc-ref %outputs "out")
299 "/lib/girepository-1.0"))
301 (modify-phases %standard-phases
302 (add-before 'configure 'embed-growisofs
303 (lambda* (#:key inputs #:allow-other-keys)
304 (substitute* "plugins/growisofs/burn-growisofs.c"
305 (("\"growisofs") (string-append "\"" (which "growisofs"))))
308 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
310 `(("intltool" ,intltool)
312 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
313 ("gobject-introspection" ,gobject-introspection)
314 ("pkg-config" ,pkg-config)))
316 `(("dvd+rw-tools" ,dvd+rw-tools)
318 ("gnome-doc-utils" ,gnome-doc-utils)
319 ("gstreamer" ,gstreamer)
320 ("gst-plugins-base" ,gst-plugins-base)
322 ("libcanberra" ,libcanberra)
324 ("libnotify" ,libnotify)
327 ("totem-pl-parser" ,totem-pl-parser)))
328 (home-page "https://wiki.gnome.org/Apps/Brasero")
329 (synopsis "CD/DVD burning tool for Gnome")
330 (description "Brasero is an application to burn CD/DVD for the Gnome
331 Desktop. It is designed to be as simple as possible and has some unique
332 features to enable users to create their discs easily and quickly.")
333 (license license:gpl2+)))
335 (define-public libcloudproviders
337 (name "libcloudproviders")
343 (string-append "mirror://gnome/sources/" name "/"
344 (version-major+minor version) "/"
345 name "-" version ".tar.xz"))
347 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
348 (build-system meson-build-system)
349 (outputs '("out" "doc"))
351 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
354 "-Denable-gtk-doc=true")
356 (modify-phases %standard-phases
357 (add-after 'install 'move-doc
358 (lambda* (#:key outputs #:allow-other-keys)
359 (let* ((out (assoc-ref outputs "out"))
360 (doc (assoc-ref outputs "doc")))
361 (mkdir-p (string-append doc "/share"))
363 (string-append out "/share/gtk-doc")
364 (string-append doc "/share/gtk-doc"))
367 `(("glib:bin" ,glib "bin")
368 ("gobject-introspection" ,gobject-introspection)
369 ("gtk-doc" ,gtk-doc/stable)
370 ("pkg-config" ,pkg-config)
374 ("glib-networking" ,glib-networking)))
375 (synopsis "Cloudproviders Integration API")
376 (description "Libcloudproviders is a DBus API that allows cloud storage sync
377 clients to expose their services. Clients such as file managers and desktop
378 environments can then provide integrated access to the cloud providers
380 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
381 (license license:lgpl3+)))
383 (define-public libgrss
391 (string-append "mirror://gnome/sources/" name "/"
392 (version-major+minor version) "/"
393 name "-" version ".tar.xz"))
395 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
396 (build-system glib-or-gtk-build-system)
397 (outputs '("out" "doc"))
402 (string-append "--with-html-dir="
403 (assoc-ref %outputs "doc")
404 "/share/gtk-doc/html"))
406 (modify-phases %standard-phases
407 (add-after 'unpack 'patch-docbook-xml
408 (lambda* (#:key inputs #:allow-other-keys)
409 (with-directory-excursion "doc/reference"
410 (substitute* "libgrss-docs.sgml"
411 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
412 (string-append (assoc-ref inputs "docbook-xml")
413 "/xml/dtd/docbook/"))))
416 `(("docbook-xml" ,docbook-xml-4.1.2)
417 ("gobject-introspection" ,gobject-introspection)
418 ("gtk-doc" ,gtk-doc/stable)
419 ("pkg-config" ,pkg-config)))
423 ("libxml2" ,libxml2)))
424 (synopsis "Glib library for feeds")
425 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
427 (home-page "https://wiki.gnome.org/Projects/Libgrss")
428 (license license:lgpl3+)))
430 (define-public gnome-js-common
432 (name "gnome-js-common")
438 (string-append "mirror://gnome/sources/" name "/"
439 (version-major+minor version) "/"
440 name "-" version ".tar.gz"))
442 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
443 (build-system glib-or-gtk-build-system)
447 "--disable-static")))
449 `(("gettext" ,gettext-minimal)
450 ("intltool" ,intltool)
451 ("pkg-config" ,pkg-config)))
452 (synopsis "Common JS Modules")
453 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
455 (home-page "https://wiki.gnome.org/Projects/Seed")
456 (license license:gpl3+)))
466 (string-append "mirror://gnome/sources/" name "/"
467 (version-major+minor version) "/"
468 name "-" version ".tar.xz"))
470 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
472 (search-patches "seed-webkit.patch"))))
473 (build-system glib-or-gtk-build-system)
474 (outputs '("out" "doc"))
479 "--enable-xorg-module"
480 (string-append "--with-html-dir="
481 (assoc-ref %outputs "doc")
482 "/share/gtk-doc/html")
485 (modify-phases %standard-phases
486 ;; The seed-webkit.patch patches configure.ac.
487 ;; So the source files need to be re-bootstrapped.
488 (add-after 'unpack 'trigger-bootstrap
490 (for-each delete-file
495 (add-after 'unpack 'patch-tests
496 (lambda* (#:key outputs #:allow-other-keys)
497 (substitute* (find-files "." "\\.js$")
498 (("#!/usr/bin/env seed")
499 (string-append "#!" (getcwd) "/src/seed")))
501 (add-before 'build 'patch-docbook-xml
502 (lambda* (#:key inputs #:allow-other-keys)
503 (with-directory-excursion "doc"
504 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
505 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
506 (string-append (assoc-ref inputs "docbook-xml")
507 "/xml/dtd/docbook/"))))
510 `(("autoconf" ,autoconf)
511 ("automake" ,automake)
512 ("docbook-xml" ,docbook-xml-4.1.2)
513 ("gettext" ,gettext-minimal)
514 ("gobject-introspection" ,gobject-introspection)
515 ("gtk-doc" ,gtk-doc/stable)
516 ("intltool" ,intltool)
518 ("pkg-config" ,pkg-config)))
522 ("dbus-glib" ,dbus-glib)
523 ("gnome-js-common" ,gnome-js-common)
529 ("readline" ,readline)
531 ("xscrnsaver" ,libxscrnsaver)))
534 ("webkit" ,webkitgtk)))
535 (synopsis "GObject JavaScriptCore bridge")
536 (description "Seed is a library and interpreter, dynamically bridging
537 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
538 GNOME platform. It serves as something which enables you to write standalone
539 applications in JavaScript, or easily enable your application to be extensible
541 (home-page "https://wiki.gnome.org/Projects/Seed")
542 (license license:lgpl2.0+)))
544 (define-public libdmapsharing
546 (name "libdmapsharing")
552 (string-append "https://www.flyn.org/projects/"
553 name "/" name "-" version ".tar.gz"))
555 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
556 (build-system glib-or-gtk-build-system)
557 (outputs '("out" "doc"))
559 `(#:tests? #f ; Tests require networking.
563 (string-append "--with-html-dir="
564 (assoc-ref %outputs "doc")
565 "/share/gtk-doc/html"))
567 (modify-phases %standard-phases
568 (add-after 'unpack 'patch-docbook-xml
569 (lambda* (#:key inputs #:allow-other-keys)
570 (with-directory-excursion "doc"
571 (substitute* "libdmapsharing-4.0-docs.xml"
572 (("http://www.oasis-open.org/docbook/xml/4.3/")
573 (string-append (assoc-ref inputs "docbook-xml")
574 "/xml/dtd/docbook/"))))
578 ("docbook-xml" ,docbook-xml-4.3)
579 ("gobject-introspection" ,gobject-introspection)
580 ("pedansee" ,pedansee)
581 ("pkg-config" ,pkg-config)
585 ("gdk-pixbuf" ,gdk-pixbuf+svg)
587 ("gst-plugins-base" ,gst-plugins-base)
591 ("glib-networking" ,glib-networking)
592 ("gstreamer" ,gstreamer)
593 ("libsoup" ,libsoup)))
594 (synopsis "Media management library")
595 (description "Libdmapsharing is a library which allows programs to access,
596 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
597 It is written in C using GObject and libsoup.")
598 (home-page "https://launchpad.net/gtx")
599 (license license:lgpl2.1+)))
609 (string-append "https://launchpad.net/gtx/trunk/"
610 version "/+download/gtx-" version ".tar.gz"))
612 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
613 (build-system glib-or-gtk-build-system)
614 (outputs '("out" "doc"))
620 (string-append "--with-html-dir="
621 (assoc-ref %outputs "doc")
622 "/share/gtk-doc/html"))))
624 `(("gobject-introspection" ,gobject-introspection)
625 ("gtk-doc" ,gtk-doc/stable)
626 ("pkg-config" ,pkg-config)))
629 (synopsis "GLib Testing Framework")
630 (description "GTX is a small collection of convenience functions intended to
631 enhance the GLib testing framework. With specific emphasis on easing the pain
632 of writing test cases for asynchronous interactions.")
633 (home-page "https://launchpad.net/gtx")
634 (license license:lgpl2.1+)))
644 (string-append "https://launchpad.net/dee/1.0/"
645 version "/+download/dee-" version ".tar.gz"))
647 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
649 (search-patches "dee-vapi.patch"))))
650 (build-system glib-or-gtk-build-system)
651 (outputs '("out" "doc"))
655 "--disable-maintainer-flags"
656 (string-append "--with-pygi-overrides-dir="
657 (assoc-ref %outputs "out")
659 ,(version-major+minor
660 (package-version python))
661 "/site-packages/gi/overrides")
662 (string-append "--with-html-dir="
663 (assoc-ref %outputs "doc")
664 "/share/gtk-doc/html"))
666 (modify-phases %standard-phases
667 (add-after 'unpack 'patch-docbook-xml
668 (lambda* (#:key inputs #:allow-other-keys)
669 (with-directory-excursion "doc/reference/dee-1.0"
670 (substitute* "dee-1.0-docs.sgml"
671 (("http://www.oasis-open.org/docbook/xml/4.3/")
672 (string-append (assoc-ref inputs "docbook-xml")
673 "/xml/dtd/docbook/"))))
675 (add-after 'patch-docbook-xml 'disable-failing-tests
677 (substitute* "tests/test-icu.c"
678 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
680 (("setup, test_ascii_folder, teardown\\);")
683 (add-before 'check 'pre-check
685 ;; Tests require a running dbus-daemon.
686 (system "dbus-daemon &")
687 ;; For missing '/etc/machine-id'.
688 (setenv "DBUS_FATAL_WARNINGS" "0")
692 ("dbus-test-runner" ,dbus-test-runner)
693 ("docbook-xml" ,docbook-xml-4.3)
694 ("gobject-introspection" ,gobject-introspection)
695 ("gtk-doc" ,gtk-doc/stable)
696 ;; Would only be required by configure flag "--enable-extended-tests".
698 ("pkg-config" ,pkg-config)
699 ("pygobject" ,python-pygobject)
700 ("python" ,python-wrapper)
706 (synopsis "Model to synchronize multiple instances over DBus")
707 (description "Dee is a library that uses DBus to provide objects allowing
708 you to create Model-View-Controller type programs across DBus. It also consists
709 of utility objects which extend DBus allowing for peer-to-peer discoverability
710 of known objects without needing a central registrar.")
711 (home-page "https://launchpad.net/dee")
718 (define-public zeitgeist
727 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
729 (string-append "v" version))))
731 (git-file-name name version))
733 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
734 (build-system glib-or-gtk-build-system)
738 "--enable-explain-queries"
742 (modify-phases %standard-phases
743 (add-after 'unpack 'patch-docbook-xml
744 (lambda* (#:key inputs #:allow-other-keys)
745 (with-directory-excursion "doc/libzeitgeist"
746 (substitute* "zeitgeist-gtkdoc-index.sgml"
747 (("http://www.oasis-open.org/docbook/xml/4.3/")
748 (string-append (assoc-ref inputs "docbook-xml")
749 "/xml/dtd/docbook/"))))
751 (add-after 'patch-docbook-xml 'disable-failing-tests
753 (substitute* "test/direct/Makefile.am"
756 (substitute* "test/c/Makefile.am"
760 (add-before 'bootstrap 'remove-autogen-script
762 ;; To honor `autoreconf -vif` by build-system.
763 (delete-file "autogen.sh")
766 `(("autoconf" ,autoconf)
767 ("automake" ,automake)
768 ("docbook-xml" ,docbook-xml-4.3)
769 ("gettext" ,gettext-minimal)
770 ("gobject-introspection" ,gobject-introspection)
771 ("gtk-doc" ,gtk-doc/stable)
773 ("pkg-config" ,pkg-config)
775 ("xorg-server-for-tests" ,xorg-server-for-tests)))
779 ("json-glib" ,json-glib)
781 ("telepathy-glib" ,telepathy-glib)
782 ("python" ,python-wrapper)
783 ("python-rdflib" ,python-rdflib)
784 ("xapian-config" ,xapian)))
787 (synopsis "Desktop Activity Logging")
788 (description "Zeitgeist is a service which logs the users’s activities and
789 events, anywhere from files opened to websites visited and conversations. It
790 makes this information readily available for other applications to use. It is
791 able to establish relationships between items based on similarity and usage
793 (home-page "https://zeitgeist.freedesktop.org/")
800 (define-public gnome-recipes
802 (name "gnome-recipes")
807 (url "https://gitlab.gnome.org/GNOME/recipes")
809 (file-name (git-file-name name version))
812 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
813 (build-system meson-build-system)
817 (modify-phases %standard-phases
818 (add-after 'unpack 'skip-gtk-update-icon-cache
820 (substitute* "meson_post_install.py"
821 (("gtk-update-icon-cache") (which "true")))
823 (add-after 'unpack 'unpack-libgd
824 (lambda* (#:key inputs #:allow-other-keys)
825 (let ((libgd (assoc-ref inputs "libgd")))
826 (copy-recursively libgd "subprojects/libgd")
830 ("gnome-autoar" ,gnome-autoar)
831 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
834 ("json-glib" ,json-glib)
835 ("libcanberra" ,libcanberra)
839 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
840 ("gettext" ,gettext-minimal)
841 ("glib:bin" ,glib "bin")
847 (url "https://gitlab.gnome.org/GNOME/libgd")
848 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
849 (file-name (git-file-name "libgd" version))
851 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
852 ("pkg-config" ,pkg-config)))
853 (home-page "https://wiki.gnome.org/Apps/Recipes")
854 (synopsis "Discover recipes for preparing food")
855 (description "GNOME Recipes helps you discover what to cook today,
856 tomorrow, the rest of the week and for special occasions.")
857 (license license:gpl3+)))
859 (define-public gnome-photos
861 (name "gnome-photos")
867 (string-append "mirror://gnome/sources/" name "/"
868 (version-major+minor version) "/"
869 name "-" version ".tar.xz"))
872 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
873 (build-system meson-build-system)
877 (list "-Ddogtail=false" ; Not available
878 ;; Required for RUNPATH validation.
879 (string-append "-Dc_link_args=-Wl,-rpath="
880 (assoc-ref %outputs "out") "/lib/gnome-photos"))
882 (modify-phases %standard-phases
883 (add-after 'install 'wrap-gnome-photos
884 (lambda* (#:key inputs outputs #:allow-other-keys)
886 ((out (assoc-ref outputs "out")))
887 (wrap-program (string-append out "/bin/gnome-photos")
888 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
892 ("desktop-file-utils" ,desktop-file-utils)
893 ("gettext" ,gettext-minimal)
895 ("glib:bin" ,glib "bin")
896 ("gobject-introspection" ,gobject-introspection)
897 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
898 ("gtk+:bin" ,gtk+ "bin")
900 ("pkg-config" ,pkg-config)))
904 ("gdk-pixbuf" ,gdk-pixbuf+svg)
906 ("geocode-glib" ,geocode-glib)
908 ("gnome-online-accounts" ,gnome-online-accounts)
909 ("gnome-online-miners" ,gnome-online-miners)
911 ("grilo-plugins" ,grilo-plugins)
913 ("libdazzle" ,libdazzle)
914 ("libgdata" ,libgdata)
915 ("libgfbgraph" ,gfbgraph)
916 ("libjpeg" ,libjpeg-turbo)
919 ("pygobject" ,python-pygobject)
921 ("tracker-miners" ,tracker-miners)))
922 (synopsis "Access, organize and share your photos on GNOME desktop")
923 (description "GNOME Photos is a simple and elegant replacement for using a
924 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
925 cloud integration is offered through GNOME Online Accounts.")
926 (home-page "https://wiki.gnome.org/Apps/Photos")
927 (license license:gpl3+)))
929 (define-public gnome-music
937 (string-append "mirror://gnome/sources/" name "/"
938 (version-major+minor version) "/"
939 name "-" version ".tar.xz"))
942 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
943 (build-system meson-build-system)
947 (modify-phases %standard-phases
948 (add-after 'install 'wrap-gnome-music
949 (lambda* (#:key inputs outputs #:allow-other-keys)
951 ((out (assoc-ref outputs "out"))
952 (pylib (string-append out "/lib/python"
953 ,(version-major+minor
954 (package-version python))
956 (wrap-program (string-append out "/bin/gnome-music")
957 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
958 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
959 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
960 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
963 `(("desktop-file-utils" ,desktop-file-utils)
964 ("gettext" ,gettext-minimal)
965 ("glib:bin" ,glib "bin")
966 ("gobject-introspection" ,gobject-introspection)
967 ("gtk+:bin" ,gtk+ "bin")
968 ("itstools" ,itstool)
969 ("pkg-config" ,pkg-config)))
971 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
973 ("grilo-plugins" ,grilo-plugins)
974 ("gst-plugins-base" ,gst-plugins-base)
975 ("gstreamer" ,gstreamer)
977 ("libdazzle" ,libdazzle)
978 ("libmediaart" ,libmediaart)
980 ("pycairo" ,python-pycairo)
981 ("pygobject" ,python-pygobject)
983 ("tracker-miners" ,tracker-miners)))
984 (synopsis "Simple music player for GNOME desktop")
985 (description "GNOME Music is the new GNOME music playing application that
986 aims to combine an elegant and immersive browsing experience with simple
987 and straightforward controls.")
988 (home-page "https://wiki.gnome.org/Apps/Music")
989 (license license:gpl2+)))
991 (define-public portablexdr
999 (string-append "https://people.redhat.com/~rjones/" name "/files/"
1000 name "-" version ".tar.gz"))
1003 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1004 (build-system gnu-build-system)
1005 (synopsis "External Data Representation Library")
1006 (description "PortableXDR is an implementation of External Data
1007 Representation (XDR) Library. It is a standard data serialization format, for
1008 uses such as computer network protocols. It allows data to be transferred
1009 between different kinds of computer systems.")
1010 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1014 license:lgpl2.1+))))
1024 (string-append "mirror://gnome/sources/" name "/"
1025 (version-major+minor version) "/"
1026 name "-" version ".tar.xz"))
1029 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
1030 (build-system glib-or-gtk-build-system)
1032 `(#:tests? #f)) ; FIX-ME: Requires gvfs
1034 `(("gobject-introspection" ,gobject-introspection)
1035 ("pkg-config" ,pkg-config)))
1040 ("gtksourceview" ,gtksourceview)
1041 ("libxml2" ,libxml2)
1042 ("uchardet" ,uchardet)))
1043 (synopsis "Text editor product line")
1044 (description "Tepl is a library that eases the development of
1045 GtkSourceView-based text editors and IDEs.")
1046 (home-page "https://wiki.gnome.org/Projects/Tepl")
1047 (license license:lgpl2.1+)))
1049 (define-public krb5-auth-dialog
1051 (name "krb5-auth-dialog")
1057 (string-append "mirror://gnome/sources/" name "/"
1058 (version-major+minor version) "/"
1059 name "-" version ".tar.xz"))
1062 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1063 (build-system glib-or-gtk-build-system)
1065 `(("intltool" ,intltool)
1066 ("itstool" ,itstool)
1067 ("libxml2" ,libxml2)
1068 ("pkg-config" ,pkg-config)
1069 ("python-wrapper" ,python-wrapper)))
1073 ("libnotify" ,libnotify)
1074 ("mit-krb5" ,mit-krb5)
1075 ("network-manager" ,network-manager)))
1076 (synopsis "Popup dialogs for Kerberos 5")
1077 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1078 tickets, and pops up a dialog when they are about to expire.")
1079 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1080 (license license:gpl2+)))
1082 (define-public notification-daemon
1084 (name "notification-daemon")
1090 (string-append "mirror://gnome/sources/" name "/"
1091 (version-major+minor version) "/"
1092 name "-" version ".tar.xz"))
1095 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1096 (build-system glib-or-gtk-build-system)
1098 `(("intltool" ,intltool)
1099 ("pkg-config" ,pkg-config)))
1104 (synopsis "Notification Daemon for GNOME Desktop")
1105 (description "Notification-Daemon is the server implementation of the
1106 freedesktop.org desktop notification specification.")
1107 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1108 (license license:gpl2+)))
1110 (define-public mm-common
1116 (uri (string-append "mirror://gnome/sources/mm-common/"
1117 (version-major+minor version) "/"
1118 "mm-common-" version ".tar.xz"))
1121 "1x8yvjy0yg17qyhmqws8xh2k8dvzrhpwqz7j1cfwzalrb1i9c5g8"))))
1122 (build-system meson-build-system)
1124 `(#:meson ,meson-0.55
1126 (modify-phases %standard-phases
1127 (add-after 'unpack 'patch
1128 (lambda* (#:key inputs #:allow-other-keys)
1129 (substitute* "util/mm-common-prepare.in"
1130 (("ln") (string-append (assoc-ref inputs "coreutils")
1132 (("cp") (string-append (assoc-ref inputs "coreutils")
1134 (("sed") (string-append (assoc-ref inputs "sed")
1136 (("cat") (string-append (assoc-ref inputs "coreutils")
1140 `(("coreutils" ,coreutils)
1141 ("gettext" ,gettext-minimal)
1142 ("pkg-config" ,pkg-config)
1145 `(("python" ,python)))
1146 (synopsis "Module of GNOME C++ bindings")
1147 (description "The mm-common module provides the build infrastructure
1148 and utilities shared among the GNOME C++ binding libraries. Release
1149 archives of mm-common include the Doxygen tag file for the GNU C++
1150 Library reference documentation.")
1151 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1152 (license license:gpl2+)))
1154 (define-public phodav
1160 (uri (string-append "mirror://gnome/sources/" name "/"
1161 (version-major+minor version) "/"
1162 name "-" version ".tar.xz"))
1165 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1166 (build-system meson-build-system)
1169 (modify-phases %standard-phases
1170 (add-before 'check 'start-virtual-dir-server
1171 ;; The same server when started by tests/virtual-dir returns an
1172 ;; unexpected status (4 instead of 200) and fails a test. It is
1173 ;; unclear why starting it manually here makes it pass.
1175 (system "tests/virtual-dir-server &")
1178 `(("docbook-xml" ,docbook-xml-4.3)
1179 ("gettext" ,gettext-minimal)
1180 ("glib:bin" ,glib "bin")
1181 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1182 ("gtk-doc" ,gtk-doc/stable)
1183 ("pkg-config" ,pkg-config)))
1186 ("libgudev" ,libgudev)
1187 ("libsoup" ,libsoup)))
1188 (synopsis "WebDav server implementation using libsoup")
1189 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1190 but it is generic enough to be reused in other projects,
1191 in particular in the GNOME desktop.")
1192 (home-page "https://wiki.gnome.org/phodav")
1193 (license license:lgpl2.1+)))
1195 (define-public gnome-color-manager
1197 (name "gnome-color-manager")
1201 (uri (string-append "mirror://gnome/sources/" name "/"
1202 (version-major+minor version) "/"
1203 name "-" version ".tar.xz"))
1206 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1207 (build-system meson-build-system)
1211 (modify-phases %standard-phases
1215 ;; Tests require a running X server.
1216 (system "Xvfb :1 &")
1217 (setenv "DISPLAY" ":1")
1220 `(("desktop-file-utils" ,desktop-file-utils)
1221 ("gettext" ,gettext-minimal)
1222 ("glib:bin" ,glib "bin")
1223 ("gtk+:bin" ,gtk+ "bin")
1224 ("itstool" ,itstool)
1225 ("pkg-config" ,pkg-config)
1226 ("xorg-server" ,xorg-server-for-tests)))
1228 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1229 ("appstream-glib" ,appstream-glib)
1230 ("colord-gtk" ,colord-gtk)
1232 ("gnome-desktop" ,gnome-desktop)
1233 ("libcanberra" ,libcanberra)
1234 ("libexif" ,libexif)
1235 ("libtiff" ,libtiff)
1236 ("libxrandr" ,libxrandr)
1237 ("libxtst" ,libxtst)
1238 ("libxxf86vm" ,libxxf86vm)
1240 ("xorgproto" ,xorgproto)))
1241 (synopsis "Color profile manager for the GNOME desktop")
1242 (description "GNOME Color Manager is a session framework that makes
1243 it easy to manage, install and generate color profiles
1244 in the GNOME desktop.")
1245 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1246 (license license:gpl2+)))
1248 (define-public gnome-online-miners
1250 (name "gnome-online-miners")
1254 (uri (string-append "mirror://gnome/sources/" name "/"
1255 (version-major+minor version) "/"
1256 name "-" version ".tar.xz"))
1259 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1260 (build-system glib-or-gtk-build-system)
1262 `(("gettext" ,gettext-minimal)
1263 ("glib:bin" ,glib "bin")
1264 ("gobject-introspection" ,gobject-introspection)
1265 ("gtk+:bin" ,gtk+ "bin")
1266 ("pkg-config" ,pkg-config)))
1268 `(("gnome-online-accounts" ,gnome-online-accounts)
1269 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1271 ("libgdata" ,libgdata)
1272 ("libgfbgraph" ,gfbgraph)
1273 ("libzapojit" ,libzapojit)
1275 ("tracker" ,tracker)))
1276 (synopsis "Web Crawlers for GNOME")
1277 (description "GNOME Online Miners provides a set of crawlers that
1278 go through your online content and index them locally in Tracker.
1279 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1280 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1281 (license license:gpl2+)))
1283 (define-public gssdp
1289 (uri (string-append "mirror://gnome/sources/" name "/"
1290 (version-major+minor version) "/"
1291 name "-" version ".tar.xz"))
1294 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1295 (build-system meson-build-system)
1297 `(("gettext" ,gettext-minimal)
1298 ("glib:bin" ,glib "bin")
1299 ("gobject-introspection" ,gobject-introspection)
1300 ("gtk-doc" ,gtk-doc/stable)
1301 ("pkg-config" ,pkg-config)
1305 ("libsoup" ,libsoup)))
1306 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1307 Protocol} for GNOME")
1308 (description "This package provides a library to handle resource discovery
1309 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1310 a debugging tool, @command{gssdp-device-sniffer}.")
1311 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1312 (license license:lgpl2.0+)))
1314 (define-public gupnp
1320 (uri (string-append "mirror://gnome/sources/" name "/"
1321 (version-major+minor version) "/"
1322 name "-" version ".tar.xz"))
1325 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1326 (build-system meson-build-system)
1328 `(("gettext" ,gettext-minimal)
1329 ("glib:bin" ,glib "bin")
1330 ("gobject-introspection" ,gobject-introspection)
1331 ("gtk-doc" ,gtk-doc/stable)
1332 ("pkg-config" ,pkg-config)
1337 ("libsoup" ,libsoup)))
1339 `(;; For ‘org.gnome.system.proxy’.
1340 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
1341 (synopsis "PnP API for GNOME")
1342 (description "This package provides GUPnP, an object-oriented framework
1343 for creating UPnP devices and control points, written in C using
1344 @code{GObject} and @code{libsoup}.")
1345 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1346 (license license:lgpl2.0+)))
1348 (define-public gupnp-dlna
1354 (uri (string-append "mirror://gnome/sources/" name "/"
1355 (version-major+minor version) "/"
1356 name "-" version ".tar.xz"))
1359 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1360 (build-system gnu-build-system)
1362 `(("gettext" ,gettext-minimal)
1363 ("glib:bin" ,glib "bin")
1364 ("gobject-introspection" ,gobject-introspection)
1365 ("gtk-doc" ,gtk-doc/stable)
1367 ("pkg-config" ,pkg-config)
1370 `(("gstreamer" ,gstreamer)
1373 `(("gst-plugins-base" ,gst-plugins-base)
1374 ("gst-plugins-good" ,gst-plugins-good)))
1375 (synopsis "GUPnP DLNA for GNOME")
1376 (description "This package provides a small utility library to
1377 support DLNA-related tasks such as media profile guessing, transcoding to a
1378 given profile, etc. DLNA is a subset of UPnP A/V.")
1379 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1380 (license license:lgpl2.0+)))
1382 (define-public gupnp-av
1388 (uri (string-append "mirror://gnome/sources/" name "/"
1389 (version-major+minor version) "/"
1390 name "-" version ".tar.xz"))
1393 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1394 (build-system gnu-build-system)
1396 `(("gettext" ,gettext-minimal)
1397 ("glib:bin" ,glib "bin")
1398 ("gobject-introspection" ,gobject-introspection)
1399 ("gtk-doc" ,gtk-doc/stable)
1401 ("pkg-config" ,pkg-config)))
1405 (synopsis "GUPnP A/V for GNOME")
1406 (description "This package provides a small library for handling
1407 and implementation of UPnP A/V profiles.")
1408 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1409 (license license:lgpl2.0+)))
1411 (define-public libmediaart
1413 (name "libmediaart")
1417 (uri (string-append "mirror://gnome/sources/" name "/"
1418 (version-major+minor version) "/"
1419 name "-" version ".tar.xz"))
1422 "1mlw1qgj8nkd9ll6b6h54r1gfdy3zp8a8xqz7qfyfaj85jjgbph7"))))
1423 (build-system meson-build-system)
1425 `(#:meson ,meson-next))
1427 `(("glib:bin" ,glib "bin")
1428 ("pkg-config" ,pkg-config)))
1430 `(("gdk-pixbuf" ,gdk-pixbuf)
1431 ("gettext" ,gettext-minimal)
1432 ("gobject-introspection" ,gobject-introspection)
1433 ("gtk+:doc" ,gtk+ "doc")
1435 (synopsis "Media art library for the GNOME desktop")
1437 "The libmediaart library is the foundation for media art caching,
1438 extraction, and lookup for applications on the desktop.")
1439 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1440 (license license:lgpl2.1+)))
1442 (define-public gnome-initial-setup
1444 (name "gnome-initial-setup")
1448 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1449 (version-major+minor version)
1450 "/gnome-initial-setup-" version ".tar.xz"))
1453 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1454 (build-system meson-build-system)
1456 '(#:configure-flags '(;; Enable camera support for user selfie.
1459 #:phases (modify-phases %standard-phases
1460 (add-after 'unpack 'set-gkbd-file-name
1461 (lambda* (#:key inputs #:allow-other-keys)
1462 ;; Allow the "Preview" button in the keyboard layout
1463 ;; selection dialog to display the layout.
1464 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1465 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1466 (("\"gkbd-keyboard-display")
1467 (string-append "\"" libgnomekbd
1468 "/bin/gkbd-keyboard-display")))
1471 `(("gettext" ,gettext-minimal)
1472 ("glib:bin" ,glib "bin")
1473 ("gobject-introspection" ,gobject-introspection)
1474 ("gtk+:bin" ,gtk+ "bin")
1475 ("pkg-config" ,pkg-config)))
1477 `(("accountsservice" ,accountsservice)
1478 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1480 ("geoclue" ,geoclue)
1481 ("gnome-desktop" ,gnome-desktop)
1482 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1483 ("gnome-online-accounts" ,gnome-online-accounts)
1484 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1485 ("gstreamer" ,gstreamer)
1487 ("json-glib" ,json-glib)
1489 ("libgweather" ,libgweather)
1491 ("libsecret" ,libsecret)
1492 ("network-manager" ,network-manager)
1493 ("packagekit" ,packagekit)
1495 ("pwquality" ,libpwquality)
1498 ("webkitgtk" ,webkitgtk)
1499 ("libgnomekbd" ,libgnomekbd)))
1500 (synopsis "Initial setup wizard for GNOME desktop")
1501 (description "This package provides a set-up wizard when a
1502 user logs into GNOME for the first time. It typically provides a
1503 tour of all gnome components and allows the user to set them up.")
1504 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1505 (license license:gpl2)))
1507 (define-public gnome-user-share
1509 (name "gnome-user-share")
1513 (uri (string-append "mirror://gnome/sources/" name "/"
1514 (version-major+minor version) "/"
1515 name "-" version ".tar.xz"))
1518 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1519 (build-system meson-build-system)
1524 ;; Enable nautilus extension for file sharing.
1525 "-Dnautilus_extension=true")))
1527 `(("gettext" ,gettext-minimal)
1528 ("glib:bin" ,glib "bin")
1529 ("gobject-introspection" ,gobject-introspection)
1530 ("gtk+:bin" ,gtk+ "bin")
1531 ("pkg-config" ,pkg-config)
1532 ("yelp-tools" ,yelp-tools)))
1535 ("gnome-bluetooth" ,gnome-bluetooth)
1537 ("libcanberra" ,libcanberra)
1538 ("libnotify" ,libnotify)
1539 ("nautilus" ,nautilus))) ; For nautilus extension.
1540 (synopsis "File sharing for GNOME desktop")
1541 (description "GNOME User Share is a small package that binds together
1542 various free software projects to bring easy to use user-level file
1543 sharing to the masses.")
1544 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1545 (license license:gpl2+)))
1547 (define-public sushi
1553 (uri (string-append "mirror://gnome/sources/" name "/"
1554 (version-major+minor version) "/"
1555 name "-" version ".tar.xz"))
1558 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1559 (build-system meson-build-system)
1563 (modify-phases %standard-phases
1564 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1565 (lambda* (#:key outputs #:allow-other-keys)
1566 (let ((prog (string-append (assoc-ref outputs "out")
1568 ;; Put existing typelibs before sushi's deps, so as to correctly
1571 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1574 `(("glib:bin" ,glib "bin")
1575 ("gettext" ,gettext-minimal)
1576 ("gobject-introspection" ,gobject-introspection)
1577 ("pkg-config" ,pkg-config)))
1579 `(("clutter" ,clutter)
1580 ("clutter-gst" ,clutter-gst)
1581 ("clutter-gtk" ,clutter-gtk)
1582 ("evince" ,evince) ; For file previewing.
1583 ("freetype" ,freetype)
1584 ("gdk-pixbuf" ,gdk-pixbuf)
1586 ("gst-plugins-base" ,gst-plugins-base)
1587 ("gstreamer" ,gstreamer)
1588 ("gtksourceview" ,gtksourceview-3)
1589 ("harfbuzz" ,harfbuzz)
1590 ("libepoxy" ,libepoxy)
1591 ("libmusicbrainz" ,libmusicbrainz)
1592 ("libxml2" ,libxml2)
1594 ("webkitgtk" ,webkitgtk)))
1595 (synopsis "File previewer for the GNOME desktop")
1596 (description "Sushi is a DBus-activated service that allows applications to
1597 preview files on the GNOME desktop.")
1598 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1599 (license license:gpl2+)))
1601 (define-public rygel
1607 (uri (string-append "mirror://gnome/sources/" name "/"
1608 (version-major+minor version) "/"
1609 name "-" version ".tar.xz"))
1612 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1613 (build-system gnu-build-system)
1615 `(("gettext" ,gettext-minimal)
1616 ("gobject-introspection" ,gobject-introspection)
1617 ("gtk-doc" ,gtk-doc/stable)
1618 ("pkg-config" ,pkg-config)
1621 `(("gdk-pixbuf" ,gdk-pixbuf)
1623 ("gstreamer" ,gstreamer)
1624 ("gst-plugins-base" ,gst-plugins-base)
1627 ("gupnp-av" ,gupnp-av)
1628 ("gupnp-dlna" ,gupnp-dlna)
1630 ("libmediaart" ,libmediaart)
1631 ("libsoup" ,libsoup)
1632 ("libxslt" ,libxslt)
1633 ("libunistring" ,libunistring)
1634 ("tracker" ,tracker)))
1635 (synopsis "Share audio, video, and pictures with other devices")
1637 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1638 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1639 pictures, and to control a media player on your home network.
1641 Rygel achieves interoperability with other devices by trying to conform to the
1642 strict requirements of DLNA and by converting media on-the-fly to formats that
1643 client devices can handle.")
1644 (home-page "https://wiki.gnome.org/Projects/Rygel")
1646 ;; For logo (data/icons/*).
1649 license:lgpl2.1+))))
1651 (define-public libnma
1657 (uri (string-append "mirror://gnome/sources/" name "/"
1658 (version-major+minor version) "/"
1659 name "-" version ".tar.xz"))
1662 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1663 (build-system meson-build-system)
1666 (modify-phases %standard-phases
1667 (add-after 'unpack 'patch-docbook-xml
1668 (lambda* (#:key inputs #:allow-other-keys)
1669 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1670 "/xml/dtd/docbook")))
1671 (substitute* "libnma-docs.xml"
1672 (("http://.*/docbookx\\.dtd")
1673 (string-append xmldoc "/docbookx.dtd")))
1676 `(("docbook-xml" ,docbook-xml-4.3)
1677 ("gettext" ,gettext-minimal)
1678 ("glib:bin" ,glib "bin")
1679 ("gtk-doc" ,gtk-doc/stable)
1680 ("gobject-introspection" ,gobject-introspection)
1681 ("pkg-config" ,pkg-config)
1686 ("iso-codes" ,iso-codes)
1687 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1688 ("network-manager" ,network-manager)))
1689 (synopsis "Network Manager's applet library")
1690 (description "Libnma is an applet library for Network Manager. It was
1691 initially part of network-manager-applet and has now become a separate
1693 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1694 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1696 (license license:gpl2+)))
1698 (define-public gnome-menus
1700 (name "gnome-menus")
1704 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1705 (version-major+minor version) "/"
1706 name "-" version ".tar.xz"))
1709 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1710 (build-system gnu-build-system)
1712 `(("gettext" ,gettext-minimal)
1714 ("pkg-config" ,pkg-config)))
1715 (synopsis "Menu support for GNOME desktop")
1716 (description "GNOME Menus contains the libgnome-menu library, the layout
1717 configuration files for the GNOME menu, as well as a simple menu editor.")
1718 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1719 (license license:lgpl2.0+)))
1721 (define-public deja-dup
1727 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1728 version "/deja-dup-" version ".tar.bz2"))
1731 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1732 (build-system meson-build-system)
1737 ;; Otherwise, the RUNPATH will lack the final path component.
1738 (string-append "-Dc_link_args=-Wl,-rpath="
1739 (assoc-ref %outputs "out") "/lib/deja-dup"))
1741 (modify-phases %standard-phases
1742 (add-after 'unpack 'patch-paths
1743 (lambda* (#:key inputs #:allow-other-keys)
1744 (let ((python (assoc-ref inputs "python")))
1745 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1746 "libdeja/tests/scripts/instance-error.test")
1749 (substitute* "libdeja/tests/runner.vala"
1752 (substitute* "libdeja/tests/scripts/instance-error.test"
1753 (("`which python3`")
1754 (string-append python "/bin/python3"))))))
1755 (add-after 'unpack 'patch-libgpg-error
1756 (lambda* (#:key inputs #:allow-other-keys)
1757 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1758 (substitute* "meson.build"
1759 (("(gpgerror_libs = ).*" _ var)
1760 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1762 (add-after 'unpack 'skip-gtk-update-icon-cache
1763 ;; Don't create 'icon-theme.cache'.
1765 (substitute* "data/post-install.sh"
1766 (("gtk-update-icon-cache") "true"))
1769 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1770 ("duplicity" ,duplicity)
1772 ("python-pygobject" ,python-pygobject)
1774 ("json-glib" ,json-glib)
1775 ("libnotify" ,libnotify)
1776 ("libgpg-error" ,libgpg-error)
1777 ("libsecret" ,libsecret)
1778 ("libsoup" ,libsoup)
1779 ("packagekit" ,packagekit)))
1781 `(("appstream-glib" ,appstream-glib)
1782 ("desktop-file-utils" ,desktop-file-utils)
1783 ("gettext" ,gettext-minimal)
1784 ("glib" ,glib "bin") ; for glib-compile-schemas.
1785 ("gobject-introspection" ,gobject-introspection)
1786 ("itstool" ,itstool)
1787 ("pkg-config" ,pkg-config)
1789 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1790 (synopsis "Simple backup tool, for regular encrypted backups")
1792 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1793 uses duplicity as the backend, which supports incremental backups and storage
1794 either on a local, or remote machine via a number of methods.")
1795 (license license:gpl3+)))
1797 (define-public gnome-commander
1799 (name "gnome-commander")
1804 (uri (string-append "mirror://gnome/sources/" name "/"
1805 (version-major+minor version) "/"
1806 "gnome-commander-" version ".tar.xz"))
1808 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1809 (build-system glib-or-gtk-build-system)
1811 `(("desktop-file-utils" ,desktop-file-utils)
1812 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1813 ("gettext" ,gettext-minimal)
1814 ("glib:bin" ,glib "bin")
1815 ("gobject-introspection" ,gobject-introspection)
1816 ("googletest" ,googletest)
1817 ("intltool" ,intltool)
1818 ("itstool" ,itstool)
1819 ("libtool" ,libtool)
1820 ("pkg-config" ,pkg-config)))
1823 ("gnome-vfs" ,gnome-vfs)
1825 ("libxml2" ,libxml2)))
1826 (home-page "https://gcmd.github.io/")
1827 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1829 "GNOME Commander is a two-pane graphical file manager using GNOME
1830 libraries. It aims to fulfill the demands of more advanced users who
1831 like to focus on file management, their work through special applications
1832 and running smart commands.")
1833 (license license:gpl2+)))
1835 (define-public gnome-user-docs
1837 (name "gnome-user-docs")
1842 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1843 (version-major+minor version)
1844 "/gnome-user-docs-" version ".tar.xz"))
1846 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1847 (build-system gnu-build-system)
1849 `(("gettext" ,gettext-minimal)
1850 ("itstool" ,itstool)
1851 ("pkg-config" ,pkg-config)
1852 ("xmllint" ,libxml2)))
1853 (synopsis "User documentation for the GNOME desktop")
1855 "The GNOME User Documentation explains how to use the GNOME desktop and its
1856 components. It covers usage and setup of the core GNOME programs by end-users
1857 and system administrators.")
1858 (home-page "https://live.gnome.org/DocumentationProject")
1859 (license license:cc-by3.0)))
1861 (define-public gnome-getting-started-docs
1863 (name "gnome-getting-started-docs")
1868 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1869 (version-major+minor version)
1870 "/gnome-getting-started-docs-" version ".tar.xz"))
1872 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1873 (build-system gnu-build-system)
1875 `(("gettext" ,gettext-minimal)
1876 ("itstool" ,itstool)
1877 ("pkg-config" ,pkg-config)
1878 ("xmllint" ,libxml2)))
1879 (synopsis "Help to get new users started with the GNOME desktop")
1881 "The GNOME Getting Started Documentation contains GNOME's intuitive
1882 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1884 It is normally used together with @command{gnome-initial-setup}, but is also
1885 useful as a tutorial and users' guide for new or less experienced users.")
1886 (home-page "https://live.gnome.org/DocumentationProject")
1887 (license license:cc-by-sa3.0)))
1890 ;; This version from GNOME's repository includes fixes for compiling with
1891 ;; recent versions of the build tools. The latest activity on the
1892 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1894 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1898 (version (git-version "0.97.3" revision commit))
1902 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1904 (file-name (git-file-name name version))
1907 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1908 (build-system meson-build-system)
1910 `(("graphene" ,graphene)
1912 ("libxml2" ,libxml2)
1913 ("libxslt" ,libxslt)
1914 ("poppler" ,poppler)
1915 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1916 ;; ERROR: Unknown method "dependency" in object.
1917 ("python-2" ,python-2)))
1919 `(("appstream-glib" ,appstream-glib)
1920 ("docbook-xsl" ,docbook-xsl)
1921 ("glib" ,glib "bin")
1922 ("intltool" ,intltool)
1923 ("pkg-config" ,pkg-config)))
1924 (home-page "https://wiki.gnome.org/Apps/Dia")
1925 (synopsis "Diagram creation for GNOME")
1926 (description "Dia can be used to draw different types of diagrams, and
1927 includes support for UML static structure diagrams (class diagrams), entity
1928 relationship modeling, and network diagrams. The program supports various file
1929 formats like PNG, SVG, PDF and EPS.")
1930 (license license:gpl2+))))
1932 ;; This is the unstable release, but it is required for the current stable
1933 ;; release of gvfs (1.38.1).
1934 (define-public libgdata
1940 (uri (string-append "mirror://gnome/sources/" name "/"
1941 (version-major+minor version) "/"
1942 name "-" version ".tar.xz"))
1945 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1946 (build-system gnu-build-system)
1949 (modify-phases %standard-phases
1950 (add-before 'check 'disable-failing-tests
1952 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1953 ;; They have been removed in libgdata 0.17.6, so just do the same.
1954 (substitute* "gdata/tests/Makefile"
1955 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1958 `(("glib:bin" ,glib "bin")
1959 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1960 ("intltool" ,intltool)
1961 ("pkg-config" ,pkg-config)
1962 ("uhttpmock" ,uhttpmock)))
1964 `(("cyrus-sasl" ,cyrus-sasl)
1965 ("glib-networking" ,glib-networking)))
1969 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1970 ("json-glib" ,json-glib)
1971 ("liboauth" ,liboauth)
1972 ("libsoup" ,libsoup)
1973 ("libxml2" ,libxml2)))
1974 (home-page "https://wiki.gnome.org/Projects/libgdata")
1975 (synopsis "Library for accessing online service APIs")
1977 "libgdata is a GLib-based library for accessing online service APIs using
1978 the GData protocol — most notably, Google's services. It provides APIs to
1979 access the common Google services, and has full asynchronous support.")
1980 (license license:lgpl2.1+)))
1982 (define-public libgxps
1988 (uri (string-append "mirror://gnome/sources/" name "/"
1989 (version-major+minor version) "/"
1990 name "-" version ".tar.xz"))
1993 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
1994 (build-system meson-build-system)
1996 `(("gobject-introspection" ,gobject-introspection)
1997 ("pkg-config" ,pkg-config)))
2000 ("libjpeg" ,libjpeg-turbo)
2002 ("libtiff" ,libtiff)))
2004 ;; In Requires of libgxps.pc.
2007 ("libarchive" ,libarchive)))
2008 (home-page "https://wiki.gnome.org/Projects/libgxps")
2009 (synopsis "GObject-based library for handling and rendering XPS documents")
2011 "libgxps is a GObject-based library for handling and rendering XPS
2012 documents. This package also contains binaries that can convert XPS documents
2014 (license license:lgpl2.1+)))
2016 (define-public gnome-characters
2018 (name "gnome-characters")
2023 (uri (string-append "mirror://gnome/sources/"
2024 "gnome-characters/" (version-major+minor version)
2025 "/gnome-characters-" version ".tar.xz"))
2028 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2029 (build-system meson-build-system)
2032 #:phases (modify-phases %standard-phases
2033 (add-after 'install 'wrap
2034 (lambda* (#:key outputs #:allow-other-keys)
2035 ;; GNOME Characters needs Typelib files from GTK and
2037 (wrap-program (string-append (assoc-ref outputs "out")
2038 "/bin/gnome-characters")
2039 `("GI_TYPELIB_PATH" ":" prefix
2040 (,(getenv "GI_TYPELIB_PATH"))))
2043 `(("gettext" ,gettext-minimal)
2044 ("glib:bin" ,glib "bin")
2045 ("gtk+:bin" ,gtk+ "bin")
2046 ("pkg-config" ,pkg-config)
2047 ("python" ,python-minimal)))
2051 ("libunistring" ,libunistring)
2052 ("gnome-desktop" ,gnome-desktop)))
2053 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2054 (synopsis "Find and insert unusual characters")
2055 (description "Characters is a simple utility application to find
2056 and insert unusual characters. It allows you to quickly find the
2057 character you are looking for by searching for keywords.")
2058 (license license:bsd-3)))
2060 (define-public gnome-common
2062 (name "gnome-common")
2067 (uri (string-append "mirror://gnome/sources/" name "/"
2068 (version-major+minor version) "/"
2069 name "-" version ".tar.xz"))
2072 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2073 (build-system gnu-build-system)
2074 (home-page "https://www.gnome.org/")
2075 (synopsis "Bootstrap GNOME modules built from Git")
2076 (description "gnome-common contains various files needed to bootstrap
2077 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2078 can be used to configure a source directory checked out from Git and some
2079 commonly used macros.")
2080 (license license:gpl2+)))
2082 (define-public gnome-contacts
2084 (name "gnome-contacts")
2088 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2089 (version-major+minor version) "/"
2090 name "-" version ".tar.xz"))
2093 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2094 (build-system meson-build-system)
2096 `(#:configure-flags '("-Dcheese=false")
2098 (modify-phases %standard-phases
2099 (add-after 'unpack 'generate-vapis
2100 (lambda* (#:key inputs #:allow-other-keys)
2101 ;; To generate goa's missing .vapi file
2103 (assoc-ref inputs "gnome-online-accounts:lib"))
2105 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2107 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2109 (add-after 'unpack 'skip-gtk-update-icon-cache
2110 ;; Don't create 'icon-theme.cache'.
2112 (substitute* "build-aux/meson_post_install.py"
2113 (("gtk-update-icon-cache") "true"))
2116 `(("glib:bin" ,glib "bin")
2117 ("pkg-config" ,pkg-config)))
2119 `(("docbook-xml" ,docbook-xml)
2120 ("dockbook-xsl" ,docbook-xsl)
2121 ("evolution-data-server" ,evolution-data-server)
2122 ("gettext" ,gettext-minimal)
2123 ("gnome-desktop" ,gnome-desktop)
2124 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2125 ("gobject-introspection" ,gobject-introspection)
2126 ("gst-plugins-base" ,gst-plugins-base)
2129 ("libxslt" ,libxslt)
2130 ("telepathy-glib" ,telepathy-glib)
2134 ("telepathy-mission-control" ,telepathy-mission-control)))
2135 (synopsis "GNOME's integrated address book")
2137 "GNOME Contacts organizes your contact information from online and
2138 offline sources, providing a centralized place for managing your contacts.")
2139 (home-page "https://wiki.gnome.org/Apps/Contacts")
2140 (license license:gpl2+)))
2142 (define-public gnome-desktop
2144 (name "gnome-desktop")
2149 (uri (string-append "mirror://gnome/sources/" name "/"
2150 (version-major+minor version) "/"
2151 name "-" version ".tar.xz"))
2154 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2155 (build-system meson-build-system)
2158 (modify-phases %standard-phases
2159 (add-before 'configure 'patch-path
2160 (lambda* (#:key inputs #:allow-other-keys)
2161 (let ((libc (assoc-ref inputs "libc")))
2162 (substitute* "libgnome-desktop/gnome-languages.c"
2164 (string-append "\"" libc "/bin/locale\"")))
2166 (add-before 'configure 'patch-bubblewrap
2167 (lambda* (#:key inputs #:allow-other-keys)
2168 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2170 (string-append "\"" (which "bwrap") "\","))
2171 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2172 (string-append "\"--ro-bind\", \""
2177 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2179 (add-before 'check 'pre-check
2180 (lambda* (#:key inputs #:allow-other-keys)
2181 ;; Tests require a running X server and locales.
2182 (system "Xvfb :1 &")
2183 (setenv "DISPLAY" ":1")
2184 (setenv "GUIX_LOCPATH"
2185 (string-append (assoc-ref inputs "glibc-locales")
2189 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2190 ("glibc-locales" ,glibc-locales) ; for tests
2191 ("gobject-introspection" ,gobject-introspection)
2192 ("itstool" ,itstool)
2193 ("intltool" ,intltool)
2194 ("pkg-config" ,pkg-config)
2195 ("xmllint" ,libxml2)
2196 ("xorg-server" ,xorg-server-for-tests)))
2198 ;; Required by gnome-desktop-3.0.pc.
2199 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2201 ("iso-codes" ,iso-codes)
2202 ("libseccomp" ,libseccomp)
2204 ("xkeyboard-config" ,xkeyboard-config)))
2206 `(("gdk-pixbuf" ,gdk-pixbuf)
2208 ("bubblewrap" ,bubblewrap)
2209 ("libxext" ,libxext)
2210 ("libxkbfile" ,libxkbfile)
2211 ("libxrandr" ,libxrandr)))
2212 (home-page "https://www.gnome.org/")
2214 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2216 "The libgnome-desktop library provides API shared by several applications
2217 on the desktop, but that cannot live in the platform for various reasons.
2218 There is no API or ABI guarantee, although we are doing our best to provide
2219 stability. Documentation for the API is available with gtk-doc.
2221 The gnome-about program helps find which version of GNOME is installed.")
2222 ; Some bits under the LGPL.
2223 (license license:gpl2+)))
2225 (define-public gnome-doc-utils
2227 (name "gnome-doc-utils")
2232 (uri (string-append "mirror://gnome/sources/" name "/"
2233 (version-major+minor version) "/"
2234 name "-" version ".tar.xz"))
2237 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2238 (build-system gnu-build-system)
2240 `(("intltool" ,intltool)
2241 ("docbook-xml" ,docbook-xml-4.4)
2242 ("python2-libxml2" ,python2-libxml2)
2243 ("libxml2" ,libxml2)
2244 ("libxslt" ,libxslt)
2245 ("pkg-config" ,pkg-config)
2246 ("python-2" ,python-2)))
2247 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2249 "Documentation utilities for the Gnome project")
2251 "Gnome-doc-utils is a collection of documentation utilities for the
2252 Gnome project. It includes xml2po tool which makes it easier to translate
2253 and keep up to date translations of documentation.")
2254 (license license:gpl2+))) ; xslt under lgpl
2256 (define-public gnome-disk-utility
2258 (name "gnome-disk-utility")
2262 (uri (string-append "mirror://gnome/sources/" name "/"
2263 (version-major+minor version) "/"
2264 name "-" version ".tar.xz"))
2267 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2268 (build-system meson-build-system)
2270 '(#:configure-flags '("-Dlogind=libelogind")
2272 (modify-phases %standard-phases
2273 (add-after 'unpack 'skip-gtk-update-icon-cache
2274 ;; Don't create 'icon-theme.cache'.
2276 (substitute* "meson_post_install.py"
2277 (("gtk-update-icon-cache") "true"))
2280 `(("glib:bin" ,glib "bin")
2281 ("intltool" ,intltool)
2282 ("pkg-config" ,pkg-config)
2283 ("docbook-xml" ,docbook-xml)
2284 ("docbook-xsl" ,docbook-xsl)
2285 ("libxml2" ,libxml2)
2286 ("libxslt" ,libxslt)))
2288 `(("elogind" ,elogind)
2290 ("appstream-glib" ,appstream-glib)
2291 ("gnome-settings-daemon" ,gnome-settings-daemon)
2293 ("libcanberra" ,libcanberra)
2294 ("libdvdread" ,libdvdread)
2295 ("libnotify" ,libnotify)
2296 ("libpwquality" ,libpwquality)
2297 ("libsecret" ,libsecret)
2298 ("udisks" ,udisks)))
2299 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2300 (synopsis "Disk management utility for GNOME")
2301 (description "Disk management utility for GNOME.")
2302 (license license:gpl2+)))
2304 (define-public gnome-font-viewer
2306 (name "gnome-font-viewer")
2310 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2311 (version-major+minor version)
2312 "/gnome-font-viewer-" version ".tar.xz"))
2315 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2316 (build-system meson-build-system)
2319 (modify-phases %standard-phases
2320 (add-after 'unpack 'patch-post-install-script
2322 (substitute* "meson-postinstall.sh"
2323 (("update-desktop-database") (which "true")))
2325 (add-after 'install 'patch-thumbnailer
2326 (lambda* (#:key outputs #:allow-other-keys)
2327 (let ((out (assoc-ref outputs "out")))
2331 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2332 (("gnome-thumbnail-font")
2333 (string-append out "/bin/gnome-thumbnail-font"))))
2336 `(("gettext" ,gettext-minimal)
2337 ("glib:bin" ,glib "bin")
2338 ("pkg-config" ,pkg-config)))
2341 ("gnome-desktop" ,gnome-desktop)
2343 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2344 (synopsis "GNOME Fonts")
2345 (description "Application to show you the fonts installed on your computer
2346 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2347 the font would look under various sizes.")
2348 (license license:gpl2+)))
2356 (uri (string-append "mirror://gnome/sources/" name "/"
2357 (version-major+minor version) "/"
2358 name "-" version ".tar.xz"))
2361 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2362 (build-system gnu-build-system)
2365 (modify-phases %standard-phases
2366 ;; These fail because /var/lib/dbus/machine-id is not present in the
2367 ;; build environment.
2368 (add-after 'unpack 'disable-failing-tests
2370 (substitute* "Makefile.in"
2371 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2374 (add-before 'check 'pre-check
2376 ;; Some tests expect to write to $HOME.
2377 (setenv "HOME" "/tmp")
2381 ("gnupg" ,gnupg) ;called as a child process during tests
2382 ("libgcrypt" ,libgcrypt)))
2384 `(("python" ,python-wrapper) ;for tests
2385 ("pkg-config" ,pkg-config)
2386 ("gettext" ,gettext-minimal)
2387 ("glib" ,glib "bin")
2388 ("gobject-introspection" ,gobject-introspection)
2389 ("libxml2" ,libxml2)
2391 ("xsltproc" ,libxslt)))
2392 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2394 `(("p11-kit" ,p11-kit)
2397 (home-page "https://www.gnome.org")
2398 (synopsis "Libraries for displaying certificates and accessing key stores")
2400 "The GCR package contains libraries used for displaying certificates and
2401 accessing key stores. It also provides the viewer for crypto files on the
2403 (license license:lgpl2.1+)))
2412 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2413 (commit (string-append "GDL_" (string-map (match-lambda
2417 (file-name (git-file-name name version))
2420 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2421 (build-system gnu-build-system)
2423 `(("autoconf" ,autoconf)
2424 ("automake" ,automake)
2425 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2426 ("gnome-common" ,gnome-common)
2427 ("gtk-doc" ,gtk-doc/stable)
2428 ("intltool" ,intltool)
2429 ("pkg-config" ,pkg-config)
2430 ("libtool" ,libtool)
2433 `(("libxml2" ,libxml2)))
2435 ;; The gdl-3.0.pc file 'Requires' GTK+.
2437 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2438 (synopsis "GNOME docking library")
2439 (description "This library provides docking features for gtk+.")
2440 (license license:lgpl2.1+)))
2442 ;;; A minimal variant used to break a cycle with Inkscape.
2443 (define-public gdl-minimal
2444 (package/inherit gdl
2445 (name "gdl-minimal")
2448 (modify-phases %standard-phases
2449 (add-after 'unpack 'disable-doc-generation
2450 ;; XXX: There is no easy way to disable generating the
2453 (substitute* "configure.in"
2454 (("GTK_DOC_CHECK.*") "")
2456 (substitute* "Makefile.am"
2457 (("gdl docs po") "gdl po"))
2459 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2461 (define-public libgnome-keyring
2463 (name "libgnome-keyring")
2467 (uri (string-append "mirror://gnome/sources/" name "/"
2468 (version-major+minor version) "/"
2469 name "-" version ".tar.xz"))
2472 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2473 (build-system gnu-build-system)
2475 `(("libgcrypt" ,libgcrypt)
2478 `(("pkg-config" ,pkg-config)
2479 ("glib" ,glib "bin")
2480 ("intltool" ,intltool)))
2482 ;; Referred to in .h files and .pc.
2484 (home-page "https://www.gnome.org")
2485 (synopsis "Accessing passwords from the GNOME keyring")
2487 "Client library to access passwords from the GNOME keyring.")
2489 ;; Though a couple of files are LGPLv2.1+.
2490 (license license:lgpl2.0+)))
2492 (define-public gnome-keyring
2494 (name "gnome-keyring")
2498 (uri (string-append "mirror://gnome/sources/" name "/"
2499 (version-major+minor version) "/"
2500 name "-" version ".tar.xz"))
2503 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2504 (build-system gnu-build-system)
2506 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2510 (string-append "--with-pkcs11-config="
2511 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2512 (string-append "--with-pkcs11-modules="
2513 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2515 (modify-phases %standard-phases
2516 (add-after 'unpack 'fix-/bin/sh-reference
2518 (substitute* "po/Makefile.in.in"
2519 (("/bin/sh") (which "sh")))
2521 (add-after 'unpack 'fix-docbook
2522 (lambda* (#:key inputs #:allow-other-keys)
2523 (substitute* "docs/Makefile.am"
2524 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2525 (string-append (assoc-ref inputs "docbook-xsl")
2526 "/xml/xsl/docbook-xsl-"
2527 ,(package-version docbook-xsl)
2528 "/manpages/docbook.xsl")))
2529 (setenv "XML_CATALOG_FILES"
2530 (string-append (assoc-ref inputs "docbook-xml")
2531 "/xml/dtd/docbook/catalog.xml"))
2532 ;; Rerun the whole thing to avoid version mismatch ("This is
2533 ;; Automake 1.15.1, but the definition used by this
2534 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2535 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2538 (invoke "automake" "-ac"))))))
2540 `(("libgcrypt" ,libgcrypt)
2541 ("linux-pam" ,linux-pam)
2542 ("openssh" ,openssh)
2546 `(("pkg-config" ,pkg-config)
2547 ("glib" ,glib "bin")
2548 ("glib" ,glib) ; for m4 macros
2549 ("python" ,python-2) ;for tests
2550 ("intltool" ,intltool)
2551 ("autoconf" ,autoconf)
2552 ("automake" ,automake)
2553 ("libxslt" ,libxslt) ;for documentation
2554 ("docbook-xml" ,docbook-xml-4.2)
2555 ("docbook-xsl" ,docbook-xsl)))
2558 (home-page "https://www.gnome.org")
2559 (synopsis "Daemon to store passwords and encryption keys")
2561 "gnome-keyring is a program that keeps passwords and other secrets for
2562 users. It is run as a daemon in the session, similar to ssh-agent, and other
2563 applications locate it via an environment variable or D-Bus.
2565 The program can manage several keyrings, each with its own master password,
2566 and there is also a session keyring which is never stored to disk, but
2567 forgotten when the session ends.")
2568 (license license:lgpl2.1+)))
2570 (define-public evince
2576 (uri (string-append "mirror://gnome/sources/evince/"
2577 (version-major+minor version) "/"
2578 "evince-" version ".tar.xz"))
2581 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2582 (build-system glib-or-gtk-build-system)
2584 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2586 (modify-phases %standard-phases
2587 (add-before 'install 'skip-gtk-update-icon-cache
2588 ;; Don't create 'icon-theme.cache'.
2590 (substitute* "data/Makefile"
2591 (("gtk-update-icon-cache") "true"))
2594 `(("libarchive" ,libarchive)
2595 ("libgxps" ,libgxps)
2596 ("libspectre" ,libspectre)
2597 ("djvulibre" ,djvulibre)
2598 ("ghostscript" ,ghostscript)
2599 ("poppler" ,poppler)
2600 ("libtiff" ,libtiff)
2602 ;; Build libkpathsea as a shared library for DVI support.
2603 ;; ("libkpathsea" ,texlive-bin)
2604 ("gnome-desktop" ,gnome-desktop)
2605 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2607 ("libgnome-keyring" ,libgnome-keyring)
2608 ("adwaita-icon-theme" ,adwaita-icon-theme)
2609 ("gdk-pixbuf" ,gdk-pixbuf)
2614 ("libxml2" ,libxml2)
2617 ("shared-mime-info" ,shared-mime-info)
2619 ("libcanberra" ,libcanberra)
2620 ("libsecret" ,libsecret)
2623 ("dogtail" ,python2-dogtail)))
2625 `(("itstool" ,itstool)
2626 ("intltool" ,intltool)
2627 ("glib" ,glib "bin")
2628 ("gobject-introspection" ,gobject-introspection)
2629 ("pkg-config" ,pkg-config)
2630 ("xmllint" ,libxml2)))
2631 (home-page "https://www.gnome.org/projects/evince/")
2632 (synopsis "GNOME's document viewer")
2634 "Evince is a document viewer for multiple document formats. It
2635 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2636 of Evince is to replace the multiple document viewers that exist
2637 on the GNOME Desktop with a single simple application.")
2638 (license license:gpl2+)))
2640 (define-public gsettings-desktop-schemas
2642 (name "gsettings-desktop-schemas")
2647 (uri (string-append "mirror://gnome/sources/" name "/"
2648 (version-major+minor version) "/"
2649 name "-" version ".tar.xz"))
2652 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2653 (build-system meson-build-system)
2655 '(#:phases (modify-phases %standard-phases
2656 (add-after 'unpack 'patch-schemas
2657 (lambda* (#:key inputs #:allow-other-keys)
2658 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2659 (substitute* (find-files "schemas"
2660 "\\.gschema\\.xml\\.in$")
2661 ;; Provide the correct file name of the default GNOME
2662 ;; background, 'adwaita-timed.xml'.
2663 (("@datadir@/backgrounds/gnome")
2664 (string-append theme "/share/backgrounds/gnome"))
2665 ;; Do not reference fonts, that may not exist.
2666 (("'Source Code Pro 10'") "'Monospace 11'"))
2670 ("gnome-backgrounds" ,gnome-backgrounds)))
2672 `(("intltool" ,intltool)
2673 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2674 ("gobject-introspection" ,gobject-introspection)
2675 ("pkg-config" ,pkg-config)))
2676 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2678 "GNOME settings for various desktop components")
2680 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2681 for settings shared by various components of the GNOME desktop.")
2682 (license license:lgpl2.1+)))
2684 (define-public python-liblarch
2686 (name "python-liblarch")
2692 (url "https://github.com/getting-things-gnome/liblarch")
2693 (commit (string-append "v" version))))
2694 (file-name (git-file-name name version))
2696 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2697 (build-system python-build-system)
2700 (modify-phases %standard-phases
2701 (add-before 'check 'start-xserver
2702 (lambda* (#:key inputs #:allow-other-keys)
2703 (system (format #f "~a/bin/Xvfb :1 &"
2704 (assoc-ref inputs "xorg-server")))
2705 (setenv "DISPLAY" ":1")
2708 `(("xorg-server" ,xorg-server-for-tests)))
2712 `(("python-pygobject" ,python-pygobject)))
2713 (home-page "https://wiki.gnome.org/Projects/liblarch")
2714 (synopsis "Library to easily handle complex data structures")
2716 "Liblarch is a Python library built to easily handle data structures such
2717 as lists, trees and acyclic graphs. There's also a GTK binding that will
2718 allow you to use your data structure in a @code{Gtk.Treeview}.
2720 Liblarch support multiple views of one data structure and complex filtering.
2721 That way, you have a clear separation between your data themselves (Model)
2722 and how they are displayed (View).")
2723 (license license:lgpl3+)))
2733 (url "https://github.com/getting-things-gnome/gtg")
2734 (commit (string-append "v" version))))
2735 (file-name (git-file-name name version))
2737 (base32 "0b2slm7kjq6q8c7v4m7aqc8m1ynjxn3bl7445srpv1xc0dilq403"))))
2738 (build-system meson-build-system)
2742 (modify-phases %standard-phases
2743 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2744 (lambda* (#:key outputs #:allow-other-keys)
2745 (let ((prog (string-append (assoc-ref outputs "out")
2747 (pylib (string-append (assoc-ref outputs "out")
2749 ,(version-major+minor
2750 (package-version python))
2753 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2754 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2757 `(("desktop-file-utils" ,desktop-file-utils)
2758 ("gettext" ,gettext-minimal)
2759 ("glib:bin" ,glib "bin")
2760 ("gobject-introspection" ,gobject-introspection)
2761 ("gtk+:bin" ,gtk+ "bin")
2762 ("pkg-config" ,pkg-config)))
2764 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
2765 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2768 ("python-dbus" ,python-dbus)
2769 ("python-liblarch" ,python-liblarch)
2770 ("python-lxml" ,python-lxml)
2771 ("python-pycairo" ,python-pycairo)
2772 ("python-pygobject" ,python-pygobject)
2773 ("python-pyxdg" ,python-pyxdg)))
2774 (home-page "https://wiki.gnome.org/Apps/GTG")
2775 (synopsis "Personal organizer for the GNOME desktop")
2777 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2778 organizer for the GNOME desktop environment inspired by the Getting Things
2779 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2780 and ease of use in mind so it can be used as more than just GTD software.
2781 GTG is intended to help you track everything you need to do and need to
2782 know, from small tasks to large projects.")
2783 (license license:gpl3+)))
2785 (define-public icon-naming-utils
2787 (name "icon-naming-utils")
2792 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2793 version ".tar.bz2"))
2796 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2797 (build-system gnu-build-system)
2800 ("perl-xml-simple" ,perl-xml-simple)))
2803 (modify-phases %standard-phases
2804 (add-after 'install 'set-load-paths
2805 ;; Tell 'icon-name-mapping' where XML::Simple is.
2806 (lambda* (#:key outputs #:allow-other-keys)
2807 (let* ((out (assoc-ref outputs "out"))
2808 (prog (string-append out "/libexec/icon-name-mapping")))
2811 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2813 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2815 "Utility to implement the Freedesktop Icon Naming Specification")
2817 "To help with the transition to the Freedesktop Icon Naming
2818 Specification, the icon naming utility maps the icon names used by the
2819 GNOME and KDE desktops to the icon names proposed in the specification.")
2820 (license license:lgpl2.1+)))
2822 (define-public gnome-icon-theme
2824 (name "gnome-icon-theme")
2829 (uri (string-append "mirror://gnome/sources/" name "/"
2830 (version-major+minor version) "/"
2831 name "-" version ".tar.xz"))
2834 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2835 (build-system gnu-build-system)
2838 ;; Don't create 'icon-theme.cache'.
2839 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2840 (true (string-append coreutils "/bin/true")))
2841 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2843 `(("icon-naming-utils" ,icon-naming-utils)
2844 ("intltool" ,intltool)
2845 ("pkg-config" ,pkg-config)))
2846 (home-page "https://wiki.gnome.org/Personalization")
2847 (synopsis "GNOME icon theme")
2848 (description "Icons for the GNOME desktop.")
2849 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2851 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2852 (define-public adwaita-icon-theme
2853 (package (inherit gnome-icon-theme)
2854 (name "adwaita-icon-theme")
2858 (uri (string-append "mirror://gnome/sources/" name "/"
2859 (version-major+minor version) "/"
2860 name "-" version ".tar.xz"))
2863 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2865 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2867 (define-public tango-icon-theme
2869 (name "tango-icon-theme")
2873 (uri (string-append "http://tango.freedesktop.org/releases/"
2874 "tango-icon-theme-" version ".tar.bz2"))
2877 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2878 (build-system gnu-build-system)
2880 `(("icon-naming-utils" ,icon-naming-utils)
2881 ("intltool" ,intltool)
2882 ("imagemagick" ,imagemagick)
2883 ("pkg-config" ,pkg-config)))
2884 (home-page "http://tango-project.org/")
2885 (synopsis "Tango icon theme")
2886 (description "This is an icon theme that follows the Tango visual
2888 (license license:public-domain)))
2890 (define-public shared-mime-info
2892 (name "shared-mime-info")
2897 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2898 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2902 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2903 (build-system gnu-build-system)
2905 ;; The build system appears not to be parallel-safe.
2906 '(#:parallel-build? #f))
2909 ("libxml2" ,libxml2)))
2911 `(("gettext" ,gettext-minimal)
2912 ("itstool" ,itstool)
2913 ("pkg-config" ,pkg-config)))
2914 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2915 (synopsis "Database of common MIME types")
2917 "The shared-mime-info package contains the core database of common types
2918 and the update-mime-database command used to extend it. It requires glib2 to
2919 be installed for building the update command. Additionally, it uses intltool
2920 for translations, though this is only a dependency for the maintainers. This
2921 database is translated at Transifex.")
2922 (license license:gpl2+)))
2924 (define-public system-config-printer
2926 (name "system-config-printer")
2932 "https://github.com/OpenPrinting/system-config-printer/releases/"
2933 "download/v" version
2934 "/system-config-printer-" version ".tar.xz"))
2936 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2937 (build-system glib-or-gtk-build-system)
2939 `(#:imported-modules ((guix build python-build-system)
2940 ,@%glib-or-gtk-build-system-modules)
2942 (modify-phases %standard-phases
2943 (add-after 'unpack 'patch-Makefile.am
2945 ;; The Makefile generates some scripts, so set a valid shebang
2946 (substitute* "Makefile.am"
2947 (("/bin/bash") (which "bash")))
2948 (delete-file "configure")
2950 (add-after 'unpack 'patch-docbook-xml
2951 (lambda* (#:key inputs #:allow-other-keys)
2952 ;; Modify the man XML otherwise xmlto tries to access the network
2953 (substitute* "man/system-config-printer.xml"
2954 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2955 (string-append (assoc-ref inputs "docbook-xml")
2956 "/xml/dtd/docbook/")))
2958 (add-after 'install 'wrap-for-python
2959 (@@ (guix build python-build-system) wrap))
2960 (add-after 'install 'wrap
2961 (lambda* (#:key outputs #:allow-other-keys)
2962 (let ((out (assoc-ref outputs "out"))
2963 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2966 (wrap-program program
2967 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2969 (string-append out "/bin/" name))
2970 '("system-config-printer"
2971 "system-config-printer-applet"
2972 "install-printerdriver"
2973 "scp-dbus-service"))))
2976 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2977 ("gobject-introspection" ,gobject-introspection)
2981 ("python-dbus" ,python-dbus)
2982 ("python-pygobject" ,python-pygobject)
2983 ("python-pycups" ,python-pycups)
2984 ("python-requests" ,python-requests)
2985 ("python-pycairo" ,python-pycairo)
2986 ("libnotify" ,libnotify)
2987 ("packagekit" ,packagekit)))
2989 `(("pkg-config" ,pkg-config)
2990 ("desktop-file-utils" ,desktop-file-utils)
2992 ("autoconf" ,autoconf)
2993 ("automake" ,automake)
2994 ("intltool" ,intltool)
2996 ("docbook-xml" ,docbook-xml-4.1.2)
2997 ("docbook-xsl" ,docbook-xsl)
2998 ("libxml2" ,libxml2)))
2999 (home-page "https://github.com/zdohnal/system-config-printer")
3000 (synopsis "CUPS administration tool")
3002 "system-config-printer is a CUPS administration tool. It's written in
3003 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
3005 (license license:gpl2+)))
3007 (define-public hicolor-icon-theme
3009 (name "hicolor-icon-theme")
3014 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3015 "hicolor-icon-theme-" version ".tar.xz"))
3018 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3019 (build-system gnu-build-system)
3021 `(#:tests? #f)) ; no check target
3022 (home-page "https://icon-theme.freedesktop.org/releases/")
3024 "Freedesktop icon theme")
3026 "Freedesktop icon theme.")
3027 (license license:gpl2)))
3029 (define-public libnotify
3036 (uri (string-append "mirror://gnome/sources/" name "/"
3037 (version-major+minor version) "/"
3038 name "-" version ".tar.xz"))
3041 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3042 (build-system meson-build-system)
3045 (modify-phases %standard-phases
3046 (add-after 'unpack 'fix-docbook
3047 (lambda* (#:key inputs #:allow-other-keys)
3048 ;; Don't attempt to download XSL schema.
3049 (substitute* "meson.build"
3050 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3051 /manpages/docbook.xsl")
3052 (string-append (assoc-ref inputs "docbook-xsl")
3053 "/xml/xsl/docbook-xsl-"
3054 ,(package-version docbook-xsl)
3055 "/manpages/docbook.xsl")))
3058 `(;; In Requires of libnotify.pc.
3059 ("gdk-pixbuf" ,gdk-pixbuf)
3063 ("libpng" ,libpng)))
3065 `(("pkg-config" ,pkg-config)
3066 ("glib" ,glib "bin")
3067 ("gobject-introspection" ,gobject-introspection)
3069 ;; For the documentation.
3070 ("gtk-doc" ,gtk-doc/stable)
3071 ("xsltproc" ,libxslt)
3072 ("docbook-xsl" ,docbook-xsl)))
3073 (home-page "https://developer-next.gnome.org/libnotify/")
3075 "GNOME desktop notification library")
3077 "Libnotify is a library that sends desktop notifications to a
3078 notification daemon, as defined in the Desktop Notifications spec. These
3079 notifications can be used to inform the user about an event or display
3080 some form of information without getting in the user's way.")
3081 (license license:lgpl2.1+)))
3083 (define-public libpeas
3090 (uri (string-append "mirror://gnome/sources/" name "/"
3091 (version-major+minor version) "/"
3092 name "-" version ".tar.xz"))
3095 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3096 (build-system meson-build-system)
3099 (modify-phases %standard-phases
3100 (add-before 'check 'start-xserver
3101 (lambda* (#:key inputs #:allow-other-keys)
3102 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3104 (setenv "DISPLAY" disp)
3105 ;; Tests require a running X server.
3106 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3112 ("python-pygobject" ,python-pygobject)))
3114 `(("pkg-config" ,pkg-config)
3115 ("gettext" ,gettext-minimal)
3116 ("glib:bin" ,glib "bin")
3117 ("gobject-introspection" ,gobject-introspection)
3118 ("xorg-server" ,xorg-server-for-tests)))
3120 ;; The .pc file "Requires" gobject-introspection.
3121 `(("gobject-introspection" ,gobject-introspection)))
3122 (home-page "https://wiki.gnome.org/Libpeas")
3123 (synopsis "GObject plugin system")
3125 "Libpeas is a gobject-based plugin engine, targeted at giving every
3126 application the chance to assume its own extensibility. It also has a set of
3127 features including, but not limited to: multiple extension points; on-demand
3128 (lazy) programming language support for C, Python and JS; simplicity of the
3130 (license license:lgpl2.0+)))
3132 (define-public gtkglext
3138 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3139 version "/gtkglext-" version ".tar.gz"))
3141 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3142 (patches (search-patches
3143 "gtkglext-disable-disable-deprecated.patch"))))
3144 (build-system gnu-build-system)
3147 (modify-phases %standard-phases
3148 ;; Fix a collision between a local variable and a definition from
3149 ;; glibc's string.h.
3150 (add-after 'unpack 'fix-collision
3152 (substitute* "gdk/gdkglshapes.c"
3153 ((" index") " triangle_index"))
3155 (inputs `(("gtk+" ,gtk+-2)
3160 (native-inputs `(("pkg-config" ,pkg-config)
3161 ("glib" ,glib "bin")))
3162 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3163 (home-page "https://projects.gnome.org/gtkglext")
3164 (synopsis "OpenGL extension to GTK+")
3165 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3166 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3167 API add-ons to make GTK+ widgets OpenGL-capable.")
3168 (license license:lgpl2.1+)))
3170 (define-public glade3
3176 (uri (string-append "mirror://gnome/sources/" name "/"
3177 (version-major+minor version) "/"
3178 name "-" version ".tar.xz"))
3181 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3182 (build-system glib-or-gtk-build-system)
3185 (modify-phases %standard-phases
3186 (add-before 'configure 'fix-docbook
3187 (lambda* (#:key inputs #:allow-other-keys)
3188 (substitute* "man/Makefile.in"
3189 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3190 (string-append (assoc-ref inputs "docbook-xsl")
3191 "/xml/xsl/docbook-xsl-"
3192 ,(package-version docbook-xsl)
3193 "/manpages/docbook.xsl")))
3195 (add-before 'check 'pre-check
3197 (setenv "HOME" "/tmp")
3198 ;; Tests require a running X server.
3199 (system "Xvfb :1 &")
3200 (setenv "DISPLAY" ":1")
3204 ("libxml2" ,libxml2)))
3206 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3207 ("intltool" ,intltool)
3208 ("itstool" ,itstool)
3209 ("libxslt" ,libxslt) ;for xsltproc
3210 ("docbook-xml" ,docbook-xml-4.2)
3211 ("docbook-xsl" ,docbook-xsl)
3212 ("python" ,python-2)
3213 ("pkg-config" ,pkg-config)
3214 ("xorg-server" ,xorg-server-for-tests)))
3215 (home-page "https://glade.gnome.org")
3216 (synopsis "GTK+ rapid application development tool")
3217 (description "Glade is a rapid application development (RAD) tool to
3218 enable quick & easy development of user interfaces for the GTK+ toolkit and
3219 the GNOME desktop environment.")
3220 (license license:lgpl2.0+)
3221 (native-search-paths (list (search-path-specification
3222 (variable "GLADE_CATALOG_SEARCH_PATH")
3223 (files '("share/glade/catalogs")))
3224 (search-path-specification
3225 (variable "GLADE_MODULE_SEARCH_PATH")
3226 (files '("lib/glade/modules")))))))
3228 (define-public libcroco
3234 (uri (string-append "mirror://gnome/sources/" name "/"
3235 (version-major+minor version) "/"
3236 name "-" version ".tar.xz"))
3237 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3240 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3241 (build-system gnu-build-system)
3243 `(("pkg-config" ,pkg-config)))
3246 ("libxml2" ,libxml2)
3248 (home-page "https://github.com/GNOME/libcroco")
3249 (synopsis "CSS2 parsing and manipulation library")
3251 "Libcroco is a standalone CSS2 parsing and manipulation library.
3252 The parser provides a low level event driven SAC-like API and a CSS object
3253 model like API. Libcroco provides a CSS2 selection engine and an experimental
3254 XML/CSS rendering engine.")
3257 (license license:lgpl2.1)))
3259 (define-public libgsf
3265 (uri (string-append "mirror://gnome/sources/" name "/"
3266 (version-major+minor version) "/"
3267 name "-" version ".tar.xz"))
3270 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3271 (build-system gnu-build-system)
3273 '(#:configure-flags '("--disable-static")))
3275 `(("pkg-config" ,pkg-config)
3276 ("gettext" ,gettext-minimal)
3280 ("perl-xml-parser" ,perl-xml-parser)))
3285 `(("gdk-pixbuf" ,gdk-pixbuf)
3287 ("libxml2" ,libxml2)))
3288 (home-page "https://www.gnome.org/projects/libgsf")
3289 (synopsis "GNOME's Structured File Library")
3291 "Libgsf aims to provide an efficient extensible I/O abstraction for
3292 dealing with different structured file formats.")
3295 (license license:lgpl2.1)))
3297 (define-public librsvg
3303 (uri (string-append "mirror://gnome/sources/" name "/"
3304 (version-major+minor version) "/"
3305 name "-" version ".tar.xz"))
3308 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3309 (build-system gnu-build-system)
3312 (list "--disable-static"
3313 "--enable-vala") ; needed for e.g. gnome-mines
3315 (modify-phases %standard-phases
3316 (add-before 'configure 'pre-configure
3317 (lambda* (#:key inputs #:allow-other-keys)
3318 (substitute* "gdk-pixbuf-loader/Makefile.in"
3319 ;; By default the gdk-pixbuf loader is installed under
3320 ;; gdk-pixbuf's prefix. Work around that.
3321 (("gdk_pixbuf_moduledir = .*$")
3322 (string-append "gdk_pixbuf_moduledir = "
3323 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3325 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3326 (("gdk_pixbuf_cache_file = .*$")
3327 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3329 (add-before 'check 'remove-failing-tests
3331 (with-directory-excursion "tests/fixtures/reftests"
3332 (for-each delete-file
3333 '(;; This test fails on i686:
3334 "svg1.1/masking-path-04-b.svg"
3335 ;; This test fails on armhf:
3336 "svg1.1/masking-mask-01-b.svg"
3337 ;; This test fails on aarch64:
3338 "bugs/777834-empty-text-children.svg")))
3341 `(("pkg-config" ,pkg-config)
3343 ("glib" ,glib "bin") ; glib-mkenums, etc.
3344 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3346 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3347 ;; this ancient version of librsvg.
3348 ("pango" ,pango-1.42)
3349 ("libcroco" ,libcroco)
3352 ("libxml2" ,libxml2)))
3354 ;; librsvg-2.0.pc refers to all of that.
3356 ("gdk-pixbuf" ,gdk-pixbuf)
3358 (home-page "https://wiki.gnome.org/LibRsvg")
3359 (synopsis "Render SVG files using Cairo")
3361 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3363 (license license:lgpl2.0+)))
3365 (define-public librsvg-next
3371 (uri (string-append "mirror://gnome/sources/librsvg/"
3372 (version-major+minor version) "/"
3373 "librsvg-" version ".tar.xz"))
3376 "0n79i4wj9hm0d3bbn4xvknq5ylhqs16pvhaqr1rxspx9wfc8lad4"))
3377 (modules '((guix build utils)))
3379 '(begin (delete-file-recursively "vendor")
3381 (build-system cargo-build-system)
3382 (outputs '("out" "doc"))
3384 `(#:install-source? #f
3386 ((guix build cargo-build-system)
3388 ((guix build gnu-build-system) #:prefix gnu:))
3390 (("rust-bitflags" ,rust-bitflags-1)
3391 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3392 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3393 ("rust-cast" ,rust-cast-0.2)
3394 ("rust-cssparser" ,rust-cssparser-0.27)
3395 ("rust-data-url" ,rust-data-url-0.1)
3396 ("rust-encoding" ,rust-encoding-0.2)
3397 ("rust-float-cmp" ,rust-float-cmp-0.8)
3398 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3399 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3400 ("rust-gio" ,rust-gio-0.8)
3401 ("rust-gio-sys" ,rust-gio-sys-0.9)
3402 ("rust-glib" ,rust-glib-0.9)
3403 ("rust-glib-sys" ,rust-glib-sys-0.9)
3404 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3405 ("rust-itertools" ,rust-itertools-0.9)
3406 ("rust-language-tags" ,rust-language-tags-0.2)
3407 ("rust-libc" ,rust-libc-0.2)
3408 ("rust-locale-config" ,rust-locale-config-0.3)
3409 ("rust-markup5ever" ,rust-markup5ever-0.10)
3410 ("rust-nalgebra" ,rust-nalgebra-0.21)
3411 ("rust-num-traits" ,rust-num-traits-0.2)
3412 ("rust-once-cell" ,rust-once-cell-1)
3413 ("rust-pkg-config" ,rust-pkg-config-0.3)
3414 ("rust-pango" ,rust-pango-0.8)
3415 ("rust-pango-sys" ,rust-pango-sys-0.9)
3416 ("rust-pangocairo" ,rust-pangocairo-0.9)
3417 ("rust-rayon" ,rust-rayon-1)
3418 ("rust-rctree" ,rust-rctree-0.3)
3419 ("rust-rgb" ,rust-rgb-0.8)
3420 ("rust-regex" ,rust-regex-1)
3421 ("rust-selectors" ,rust-selectors-0.22)
3422 ("rust-string-cache" ,rust-string-cache-0.8)
3423 ("rust-tinyvec" ,rust-tinyvec-0.3)
3424 ("rust-url" ,rust-url-2)
3425 ("rust-xml5ever" ,rust-xml5ever-0.16))
3426 #:cargo-development-inputs
3427 (("rust-assert-cmd" ,rust-assert-cmd-1)
3428 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3429 ("rust-chrono" ,rust-chrono-0.4)
3430 ("rust-criterion" ,rust-criterion-0.3)
3431 ("rust-float-cmp" ,rust-float-cmp-0.8)
3432 ("rust-lopdf" ,rust-lopdf-0.26)
3433 ("rust-png" ,rust-png-0.16)
3434 ("rust-predicates" ,rust-predicates-1)
3435 ("rust-tempfile" ,rust-tempfile-3))
3437 (modify-phases %standard-phases
3438 (add-after 'unpack 'patch-docbook-xml
3439 (lambda* (#:key inputs #:allow-other-keys)
3440 (with-directory-excursion "doc"
3441 (substitute* "rsvg-docs.xml"
3442 (("http://www.oasis-open.org/docbook/xml/4.3/")
3443 (string-append (assoc-ref inputs "docbook-xml")
3444 "/xml/dtd/docbook/"))))
3446 (add-after 'unpack 'prepare-for-build
3448 ;; In lieu of #:make-flags
3449 (setenv "CC" ,(cc-for-target))
3450 ;; Something about the build environment resists building
3451 ;; successfully with the '--locked' flag.
3452 (substitute* '("Makefile.am" "Makefile.in")
3455 (add-before 'configure 'pre-configure
3457 (substitute* "gdk-pixbuf-loader/Makefile.in"
3458 ;; By default the gdk-pixbuf loader is installed under
3459 ;; gdk-pixbuf's prefix. Work around that.
3460 (("gdk_pixbuf_moduledir = .*$")
3461 (string-append "gdk_pixbuf_moduledir = "
3462 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3464 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3465 (("gdk_pixbuf_cache_file = .*$")
3466 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3468 (add-after 'configure 'gnu-configure
3469 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3470 ((assoc-ref gnu:%standard-phases 'configure)
3471 #:native-inputs native-inputs
3475 (list "--disable-static"
3477 (string-append "--with-html-dir="
3478 (assoc-ref %outputs "doc")
3479 "/share/gtk-doc/html")))))
3480 (add-after 'configure 'dont-vendor-self
3481 (lambda* (#:key vendor-dir #:allow-other-keys)
3482 ;; Don't keep the whole tarball in the vendor directory
3483 (delete-file-recursively
3484 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3487 (assoc-ref gnu:%standard-phases 'build))
3488 (add-before 'check 'ignore-failing-tests
3489 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3491 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3492 (("fn background_color_option_invalid_color_yields_error" all)
3493 (string-append "#[ignore] " all))
3494 (("fn empty_input_yields_error" all)
3495 (string-append "#[ignore] " all))
3496 (("fn empty_svg_yields_error" all)
3497 (string-append "#[ignore] " all))
3498 (("fn env_source_data_epoch_empty" all)
3499 (string-append "#[ignore] " all))
3500 (("fn env_source_data_epoch_no_digits" all)
3501 (string-append "#[ignore] " all))
3502 (("fn env_source_data_epoch_trailing_garbage" all)
3503 (string-append "#[ignore] " all))
3504 (("fn export_id_option_error" all)
3505 (string-append "#[ignore] " all))
3506 (("fn huge_zoom_factor_yields_error" all)
3507 (string-append "#[ignore] " all))
3508 (("fn multiple_input_files_not_allowed_for_png_output" all)
3509 (string-append "#[ignore] " all))
3510 (("fn stylesheet_option_error" all)
3511 (string-append "#[ignore] " all)))
3515 ((assoc-ref gnu:%standard-phases 'check)
3516 #:test-target "check")))
3518 (assoc-ref gnu:%standard-phases 'install)))))
3520 `(("docbook-xml" ,docbook-xml-4.3)
3521 ("glib" ,glib "bin")
3522 ("gobject-introspection" ,gobject-introspection)
3523 ("pkg-config" ,pkg-config)
3524 ("python" ,python-wrapper)
3529 ("fontconfig" ,fontconfig)
3530 ("freetype" ,freetype)
3531 ("harfbuzz" ,harfbuzz)
3532 ("libcroco" ,libcroco)
3534 ("libxml2" ,libxml2)
3538 ("gdk-pixbuf" ,gdk-pixbuf)
3540 (synopsis "SVG rendering library")
3541 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3542 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3543 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3545 (home-page "https://wiki.gnome.org/LibRsvg")
3546 (license license:lgpl2.1+)))
3548 (define-public libidl
3554 (uri (string-append "mirror://gnome/sources/libIDL/"
3555 (version-major+minor version) "/"
3556 "libIDL-" version ".tar.bz2"))
3559 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3560 (build-system gnu-build-system)
3561 (inputs `(("glib" ,glib)))
3563 `(("pkg-config" ,pkg-config)
3566 (home-page "http://freecode.com/projects/libidl")
3567 (synopsis "Create trees of CORBA Interface Definition Language files")
3568 (description "Libidl is a library for creating trees of CORBA Interface
3569 Definition Language (idl) files, which is a specification for defining
3570 portable interfaces. libidl was initially written for orbit (the orb from the
3571 GNOME project, and the primary means of libidl distribution). However, the
3572 functionality was designed to be as reusable and portable as possible.")
3573 (properties `((upstream-name . "libIDL")))
3574 (license license:lgpl2.0+)))
3577 (define-public orbit2
3583 (uri (let ((upstream-name "ORBit2"))
3584 (string-append "mirror://gnome/sources/" upstream-name "/"
3585 (version-major+minor version) "/"
3586 upstream-name "-" version ".tar.bz2")))
3589 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3590 (build-system gnu-build-system)
3592 `(;; The "timeout-server" test hangs when run in parallel.
3593 #:parallel-tests? #f
3595 '(;; We don't need static libraries, plus they don't build reproducibly
3596 ;; (non-deterministic ordering of .o files in the archive.)
3599 ;; The programmer kindly gives us a hook to turn off deprecation
3601 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3602 ;; ... which they then completly ignore !!
3604 (modify-phases %standard-phases
3605 (add-before 'configure 'ignore-deprecations
3607 (substitute* "linc2/src/Makefile.in"
3608 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3610 (inputs `(("glib" ,glib)
3611 ("libidl" ,libidl)))
3613 `(("pkg-config" ,pkg-config)))
3614 (home-page "https://projects.gnome.org/orbit2/")
3615 (synopsis "CORBA 2.4-compliant Object Request Broker")
3616 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3617 featuring mature C, C++ and Python bindings.")
3618 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3619 ;; a version. SOME of the code files have licence notices for GPLv2+.
3620 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3621 (license license:gpl2+)
3622 (properties `((upstream-name . "ORBit2")))))
3625 (define-public libbonobo
3631 (uri (string-append "mirror://gnome/sources/" name "/"
3632 (version-major+minor version)
3633 "/" name "-" version ".tar.bz2"))
3635 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3636 (patches (search-patches
3637 "libbonobo-activation-test-race.patch"))))
3638 (build-system gnu-build-system)
3640 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3642 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3643 ;; ... which they then completly ignore !!
3645 (modify-phases %standard-phases
3646 (add-before 'configure 'ignore-deprecations
3648 (substitute* "activation-server/Makefile.in"
3649 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3652 ;; There's apparently a race condition between the server stub
3653 ;; generation and linking of the example under 'samples/echo' that can
3654 ;; lead do undefined references when building in parallel, as reported
3655 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3656 ;; Thus, disable parallel builds.
3657 #:parallel-build? #f))
3658 (inputs `(("popt" ,popt)
3659 ("libxml2" ,libxml2)))
3660 ;; The following are Required by the .pc file
3663 ("orbit2" ,orbit2)))
3665 `(("intltool" ,intltool)
3666 ("pkg-config" ,pkg-config)
3667 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3670 (home-page "https://developer.gnome.org/libbonobo/")
3671 (synopsis "Framework for creating reusable components for use in GNOME applications")
3672 (description "Bonobo is a framework for creating reusable components for
3673 use in GNOME applications, built on top of CORBA.")
3674 ;; Licence not explicitly stated. Source files contain no licence notices.
3675 ;; Tarball contains text of both GPLv2 and LGPLv2
3676 ;; GPLv2 covers both conditions
3677 (license license:gpl2+)))
3680 (define-public gconf
3687 (let ((upstream-name "GConf"))
3688 (string-append "mirror://gnome/sources/" upstream-name "/"
3689 (version-major+minor version) "/"
3690 upstream-name "-" version ".tar.xz")))
3692 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3693 (build-system gnu-build-system)
3694 (inputs `(("dbus-glib" ,dbus-glib)
3695 ("libxml2" ,libxml2)))
3696 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3697 ("orbit2" ,orbit2)))
3699 `(("intltool" ,intltool)
3700 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3701 ("pkg-config" ,pkg-config)))
3702 (home-page "https://projects.gnome.org/gconf/")
3703 (synopsis "Store application preferences")
3704 (description "Gconf is a system for storing application preferences. It
3705 is intended for user preferences; not arbitrary data storage.")
3706 (license license:lgpl2.0+)
3707 (properties '((upstream-name . "GConf")))))
3710 (define-public gnome-mime-data
3712 (name "gnome-mime-data")
3716 (uri (string-append "mirror://gnome/sources/" name "/"
3717 (version-major+minor version) "/"
3718 name "-" version ".tar.bz2"))
3721 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3722 (build-system gnu-build-system)
3725 ("intltool" ,intltool)))
3727 '(#:phases (modify-phases %standard-phases
3728 (add-after 'configure 'use-our-intltool
3730 ;; Do not use the bundled intltool commands, which lack
3731 ;; the "dotless @INC" fixes of our 'intltool' package.
3732 (substitute* (find-files "." "^Makefile$")
3733 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3734 (string-append "INTLTOOL_" tool " = intltool-"
3735 (string-downcase tool) "\n")))
3737 (home-page "https://www.gnome.org")
3738 (synopsis "Base MIME and Application database for GNOME")
3739 (description "GNOME Mime Data is a module which contains the base MIME
3740 and Application database for GNOME. The data stored by this module is
3741 designed to be accessed through the MIME functions in GnomeVFS.")
3742 (license license:gpl2+)))
3745 (define-public gnome-vfs
3751 (uri (string-append "mirror://gnome/sources/" name "/"
3752 (version-major+minor version) "/"
3753 name "-" version ".tar.bz2"))
3756 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3757 (build-system gnu-build-system)
3760 (modify-phases %standard-phases
3761 (add-before 'configure 'ignore-deprecations
3763 (substitute* '("libgnomevfs/Makefile.in"
3764 "daemon/Makefile.in")
3765 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3767 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3769 (substitute* "test/test-async-cancel.c"
3770 (("EXIT_FAILURE") "77"))
3772 (inputs `(("libxml2" ,libxml2)
3773 ("dbus-glib" ,dbus-glib)
3775 ("gnome-mime-data" ,gnome-mime-data)
3778 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3779 ("intltool" ,intltool)
3780 ("pkg-config" ,pkg-config)))
3781 (home-page "https://developer.gnome.org/gnome-vfs/")
3782 (synopsis "Access files and folders in GNOME applications")
3784 "GnomeVFS is the core library used to access files and folders in GNOME
3785 applications. It provides a file system abstraction which allows applications
3786 to access local and remote files with a single consistent API.")
3787 (license license:lgpl2.0+)))
3791 (define-public libgnome
3797 (uri (string-append "mirror://gnome/sources/" name "/"
3798 (version-major+minor version) "/"
3799 name "-" version ".tar.bz2"))
3802 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3803 (patches (search-patches "libgnome-encoding.patch"))))
3804 (build-system gnu-build-system)
3807 (modify-phases %standard-phases
3808 (add-before 'configure 'enable-deprecated
3810 (substitute* "libgnome/Makefile.in"
3811 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3813 (inputs `(("libxml2" ,libxml2)))
3815 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3816 ("intltool" ,intltool)
3817 ("pkg-config" ,pkg-config)))
3818 ;; The following are listed as Required in the .pc file
3819 ;; (except for libcanberra -- which seems to be oversight on the part
3820 ;; of the upstream developers -- anything that links against libgnome,
3821 ;; must also link against libcanberra
3823 `(("libcanberra" ,libcanberra)
3824 ("libbonobo" ,libbonobo)
3826 ("gnome-vfs" ,gnome-vfs)
3827 ("popt" ,popt))) ;gnome-program.h includes popt.h
3828 (home-page "https://developer.gnome.org/libgnome/")
3829 (synopsis "Useful routines for building applications")
3830 (description "The libgnome library provides a number of useful routines
3831 for building modern applications, including session management, activation of
3832 files and URIs, and displaying help.")
3833 (license license:lgpl2.0+)))
3836 (define-public libart-lgpl
3838 (name "libart-lgpl")
3842 (uri (let ((upstream-name "libart_lgpl"))
3843 (string-append "mirror://gnome/sources/" upstream-name "/"
3844 (version-major+minor version) "/"
3845 upstream-name "-" version ".tar.bz2")))
3848 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3849 (build-system gnu-build-system)
3851 `(("pkg-config" ,pkg-config)))
3852 (home-page "https://people.gnome.org/~mathieu/libart")
3853 (synopsis "2D drawing library")
3854 (description "Libart is a 2D drawing library intended as a
3855 high-quality vector-based 2D library with antialiasing and alpha composition.")
3856 (license license:lgpl2.0+)))
3860 (define-public libgnomecanvas
3862 (name "libgnomecanvas")
3866 (uri (string-append "mirror://gnome/sources/" name "/"
3867 (version-major+minor version) "/"
3868 name "-" version ".tar.gz"))
3871 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3872 (build-system gnu-build-system)
3873 ;; Mentioned as Required in the .pc file
3874 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3877 `(("intltool" ,intltool)
3878 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3879 ("pkg-config" ,pkg-config)))
3880 (home-page "https://developer.gnome.org/libgnomecanvas/")
3881 (synopsis "Flexible widget for creating interactive structured graphics")
3882 (description "The GnomeCanvas widget provides a flexible widget for
3883 creating interactive structured graphics.")
3884 (license license:lgpl2.0+)))
3886 (define-public libgnomecanvasmm
3888 (name "libgnomecanvasmm")
3892 (uri (string-append "mirror://gnome/sources/" name "/"
3893 (version-major+minor version) "/"
3894 name "-" version ".tar.bz2"))
3897 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3898 (build-system gnu-build-system)
3899 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3901 `(("gtkmm-2" ,gtkmm-2)
3902 ("pkg-config" ,pkg-config)))
3903 (home-page "https://gtkmm.org")
3904 (synopsis "C++ bindings to the GNOME Canvas library")
3905 (description "C++ bindings to the GNOME Canvas library.")
3906 (license license:lgpl2.0+)))
3908 (define-public libgnomeui
3914 (uri (string-append "mirror://gnome/sources/" name "/"
3915 (version-major+minor version) "/"
3916 name "-" version ".tar.bz2"))
3917 (patches (search-patches "libgnomeui-utf8.patch"))
3920 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3921 (build-system gnu-build-system)
3922 ;; Mentioned as Required in the .pc file
3923 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3924 ("libgnome" ,libgnome)
3925 ("libgnomecanvas" ,libgnomecanvas)
3926 ("libgnome-keyring" ,libgnome-keyring)))
3927 (inputs `(("libjpeg" ,libjpeg-turbo)
3929 ("libbonobo" ,libbonobo)
3930 ("libxml2" ,libxml2)
3931 ("libglade" ,libglade)))
3933 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3934 ("intltool" ,intltool)
3935 ("pkg-config" ,pkg-config)))
3936 (home-page "https://developer.gnome.org/libgnomeui/")
3937 (synopsis "Additional widgets for applications")
3938 (description "The libgnomeui library provides additional widgets for
3939 applications. Many of the widgets from libgnomeui have already been
3941 (license license:lgpl2.0+)))
3943 (define-public libglade
3949 (uri (string-append "mirror://gnome/sources/" name "/"
3950 (version-major+minor version) "/"
3951 name "-" version ".tar.bz2"))
3954 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3955 (build-system gnu-build-system)
3957 `(("python" ,python))) ;; needed for the optional libglade-convert program
3959 `(("gtk+-2" ,gtk+-2)
3960 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3962 `(("pkg-config" ,pkg-config)))
3963 (home-page "https://developer.gnome.org/libglade")
3964 (synopsis "Load glade interfaces and access the glade built widgets")
3965 (description "Libglade is a library that provides interfaces for loading
3966 graphical interfaces described in glade files and for accessing the
3967 widgets built in the loading process.")
3968 (license license:gpl2+))) ; This is correct. GPL not LGPL
3970 (define-public libgnomeprint
3971 ;; This library has been deprecated since 2006; see
3972 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3974 (name "libgnomeprint")
3978 (uri (string-append "mirror://gnome/sources/" name "/"
3979 (version-major+minor version) "/"
3980 name "-" version ".tar.bz2"))
3983 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3984 (build-system gnu-build-system)
3987 ("libart-lgpl" ,libart-lgpl)
3989 ("libxml2" ,libxml2)))
3991 `(("intltool" ,intltool)
3992 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3993 ("pkg-config" ,pkg-config)))
3994 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3995 (synopsis "Printing framework for GNOME")
3997 "GNOME-print was a printing framework for GNOME. It has been deprecated
3998 since ca. 2006, when GTK+ itself incorporated printing support.")
3999 (license license:lgpl2.0+)))
4002 (define-public libgnomeprintui
4003 ;; Deprecated; see libgnomeprint.
4005 (name "libgnomeprintui")
4009 (uri (string-append "mirror://gnome/sources/" name "/"
4010 (version-major+minor version) "/"
4011 name "-" version ".tar.bz2"))
4014 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4015 (build-system gnu-build-system)
4016 ;; Mentioned as Required in the .pc file
4017 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4018 (inputs `(("gtk+" ,gtk+-2)
4020 ("gnome-icon-theme" ,gnome-icon-theme)
4021 ("libgnomecanvas" ,libgnomecanvas)
4022 ("libxml2" ,libxml2)))
4024 `(("intltool" ,intltool)
4025 ("pkg-config" ,pkg-config)))
4026 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4027 (synopsis "Printing framework for GNOME")
4028 (description (package-description libgnomeprint))
4029 (license license:lgpl2.0+)))
4031 (define-public libbonoboui
4033 (name "libbonoboui")
4037 (uri (string-append "mirror://gnome/sources/" name "/"
4038 (version-major+minor version) "/"
4039 name "-" version ".tar.bz2"))
4042 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4043 (build-system gnu-build-system)
4046 (modify-phases %standard-phases
4047 (add-before 'check 'start-xserver
4048 (lambda* (#:key inputs #:allow-other-keys)
4049 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4052 (setenv "HOME" (getcwd))
4053 (setenv "DISPLAY" disp)
4054 ;; There must be a running X server and make check doesn't start one.
4055 ;; Therefore we must do it.
4056 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4057 ;; Mentioned as Required by the .pc file
4058 (propagated-inputs `(("libxml2" ,libxml2)))
4061 ("pangox-compat" ,pangox-compat)
4062 ("libgnome" ,libgnome)
4063 ("libgnomecanvas" ,libgnomecanvas)
4064 ("libglade" ,libglade)))
4066 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4067 ("intltool" ,intltool)
4068 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4069 ("pkg-config" ,pkg-config)))
4070 (home-page "https://developer.gnome.org/libbonoboui/")
4071 (synopsis "Some user interface controls using Bonobo")
4072 (description "The Bonobo UI library provides a number of user interface
4073 controls using the Bonobo component framework.")
4074 (license license:lgpl2.0+)))
4076 (define-public libwnck
4082 (uri (string-append "mirror://gnome/sources/" name "/"
4083 (version-major+minor version) "/"
4084 name "-" version ".tar.xz"))
4087 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4088 (build-system meson-build-system)
4090 `(("pkg-config" ,pkg-config)
4091 ("glib" ,glib "bin") ; for glib-mkenums
4092 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4093 ("intltool" ,intltool)))
4096 ("libxres" ,libxres)
4097 ("startup-notification" ,startup-notification)))
4098 (home-page "https://developer.gnome.org/libwnck/")
4099 (synopsis "Window Navigator Construction Kit")
4101 "Libwnck is the Window Navigator Construction Kit, a library for use in
4102 writing pagers, tasklists, and more generally applications that are dealing
4103 with window management. It tries hard to respect the Extended Window Manager
4104 Hints specification (EWMH).")
4105 (license license:lgpl2.0+)))
4107 ;; stable version for gtk2, required by xfwm4.
4108 (define-public libwnck-2
4109 (package (inherit libwnck)
4114 (uri (string-append "mirror://gnome/sources/" name "/"
4115 (version-major+minor version) "/"
4116 name "-" version ".tar.xz"))
4119 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4120 (build-system gnu-build-system)
4122 `(("pkg-config" ,pkg-config)
4123 ("intltool" ,intltool)))
4126 ("libxres" ,libxres)
4127 ("startup-notification" ,startup-notification)))))
4129 (define-public goffice
4135 (uri (string-append "mirror://gnome/sources/goffice/"
4136 (version-major+minor version) "/"
4137 "goffice-" version ".tar.xz"))
4139 (base32 "1p5zbj7cbcfcxd6l8pnph54p6ah1bwf146y810j4bcq8ggf3sp1c"))))
4140 (build-system gnu-build-system)
4142 "doc")) ; 4.0 MiB of gtk-doc
4144 '(#:configure-flags (list (string-append "--with-html-dir="
4145 (assoc-ref %outputs "doc")
4146 "/share/gtk-doc/html"))))
4150 ("librsvg" ,librsvg)
4151 ("libxslt" ,libxslt)
4152 ("libxml2" ,libxml2)))
4154 `(("intltool" ,intltool)
4155 ("glib" ,glib "bin")
4156 ("pkg-config" ,pkg-config)))
4157 (home-page "https://developer.gnome.org/goffice/")
4158 (synopsis "Document-centric objects and utilities")
4159 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4161 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4163 (list license:gpl2 license:gpl3))))
4165 (define-public goffice-0.8
4166 (package (inherit goffice)
4170 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4171 (version-major+minor version) "/"
4172 (package-name goffice) "-" version ".tar.xz"))
4174 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4177 (modify-phases %standard-phases
4178 (add-after 'unpack 'fix-pcre-check
4180 ;; Only glib.h can be included directly. See
4181 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4182 (substitute* "configure"
4183 (("glib/gregex\\.h") "glib.h")) #t)))
4185 ,@(package-arguments goffice)))
4187 ;; libgoffice-0.8.pc mentions libgsf-1
4188 `(("libgsf" ,libgsf)))
4191 ,@(alist-delete "gtk" (package-inputs goffice))))))
4193 (define-public gnumeric
4199 (uri (string-append "mirror://gnome/sources/gnumeric/"
4200 (version-major+minor version) "/"
4201 "gnumeric-" version ".tar.xz"))
4204 "1f0lrj5msg80pgjp38jj6rddf352gwddgip7z4lki66n3fx1k23m"))))
4205 (build-system glib-or-gtk-build-system)
4207 `(;; The gnumeric developers don't worry much about failing tests.
4208 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4211 (modify-phases %standard-phases
4213 'configure 'pre-conf
4214 (lambda* (#:key outputs #:allow-other-keys)
4215 ;; Make install tries to write into the directory of goffice
4216 ;; I am informed that this only affects the possibility to embed a
4217 ;; spreadsheet inside an Abiword document. So presumably when we
4218 ;; package Abiword we'll have to refer it to this directory.
4219 (substitute* "configure"
4220 (("^GOFFICE_PLUGINS_DIR=.*")
4221 (string-append "GOFFICE_PLUGINS_DIR="
4222 (assoc-ref outputs "out")
4223 "/goffice/plugins"))))))))
4227 ("goffice" ,goffice)
4229 ("librsvg" ,librsvg)
4230 ("libxml2" ,libxml2)
4231 ("libxslt" ,libxslt)
4233 ("python-pygobject" ,python-pygobject)
4237 ("docbook-xml" ,docbook-xml)
4238 ("intltool" ,intltool)
4239 ("itstool" ,itstool)
4240 ("glib:bin" ,glib "bin")
4241 ("pkg-config" ,pkg-config)))
4242 (home-page "http://www.gnumeric.org")
4243 (synopsis "Spreadsheet application")
4245 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4246 interoperable with other spreadsheet applications. It has a vast array of
4247 features beyond typical spreadsheet functionality, such as support for linear
4248 and non-linear solvers, statistical analysis, and telecommunication
4251 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4252 (list license:gpl2 license:gpl3))))
4254 (define-public drawing
4262 (url "https://github.com/maoschanz/drawing")
4264 (file-name (git-file-name name version))
4266 (base32 "0a65mil9w4iw0h6kncg5d15s302sxfx25fpnkfv9pz54nj3hzghk"))))
4267 (build-system meson-build-system)
4271 (modify-phases %standard-phases
4272 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4273 (lambda* (#:key outputs #:allow-other-keys)
4274 (let ((prog (string-append (assoc-ref outputs "out")
4276 (pylib (string-append (assoc-ref outputs "out")
4278 ,(version-major+minor
4279 (package-version python))
4282 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
4283 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4286 `(("desktop-file-utils" ,desktop-file-utils)
4287 ("gettext" ,gettext-minimal)
4288 ("glib:bin" ,glib "bin")
4289 ("gobject-introspection" ,gobject-introspection)
4290 ("gtk+:bin" ,gtk+ "bin")
4291 ("pkg-config" ,pkg-config)))
4293 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
4294 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4297 ("python-pycairo" ,python-pycairo)
4298 ("python-pygobject" ,python-pygobject)))
4299 (home-page "https://maoschanz.github.io/drawing/")
4300 (synopsis "Basic image editor for GNOME")
4302 "Drawing is a basic image editor aiming at the GNOME desktop.")
4303 (license license:gpl3+)))
4305 (define-public gnome-themes-standard
4307 (name "gnome-themes-standard")
4312 (uri (string-append "mirror://gnome/sources/" name "/"
4313 (version-major+minor version) "/" name "-"
4317 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4318 (build-system gnu-build-system)
4321 ;; Don't create 'icon-theme.cache'.
4322 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4323 (true (string-append coreutils "/bin/true")))
4324 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4328 ("librsvg" ,librsvg)
4329 ("libxml2" ,libxml2)
4332 `(("intltool" ,intltool)
4333 ("glib:bin" ,glib "bin")
4334 ("pkg-config" ,pkg-config)))
4335 (home-page "https://launchpad.net/gnome-themes-standard")
4336 (synopsis "Default GNOME 3 themes")
4338 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4339 (license license:lgpl2.1+)))
4341 (define-public seahorse
4348 (uri (string-append "mirror://gnome/sources/" name "/"
4349 (version-major+minor version) "/" name "-"
4352 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4353 (build-system meson-build-system)
4357 (modify-phases %standard-phases
4358 (add-after 'unpack 'skip-gtk-update-icon-cache
4359 ;; Don't create 'icon-theme.cache'.
4361 (substitute* "build-aux/meson_post_install.py"
4362 (("gtk-update-icon-cache") "true"))
4369 ("openldap" ,openldap)
4370 ("openssh" ,openssh)
4372 ("libhandy" ,libhandy-0.0)
4373 ("libpwquality" ,libpwquality)
4374 ("libsecret" ,libsecret)
4375 ("libsoup" ,libsoup)))
4377 `(("gettext" ,gettext-minimal)
4378 ("glib:bin" ,glib "bin")
4379 ("itstool" ,itstool)
4380 ("pkg-config" ,pkg-config)
4382 ("xmllint" ,libxml2)))
4383 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4384 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4386 "Seahorse is a GNOME application for managing encryption keys and
4387 passwords in the GNOME keyring.")
4388 (license license:gpl2+)))
4396 (uri (string-append "mirror://gnome/sources/" name "/"
4397 (version-major+minor version) "/"
4398 name "-" version ".tar.xz"))
4401 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4402 (build-system gnu-build-system)
4405 (modify-phases %standard-phases
4406 (add-before 'check 'pre-check
4409 (substitute* "valadoc/tests/testrunner.sh"
4410 (("export PKG_CONFIG_PATH=" m)
4411 (string-append m "$PKG_CONFIG_PATH:")))
4412 ;; For missing '/etc/machine-id'.
4413 (setenv "DBUS_FATAL_WARNINGS" "0")
4416 `(("pkg-config" ,pkg-config)
4419 ("xsltproc" ,libxslt)
4420 ("dbus" ,dbus) ; for dbus tests
4421 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4423 `(("graphviz" ,graphviz)))
4425 `(("glib" ,glib))) ; required by libvala-0.40.pc
4426 (home-page "https://wiki.gnome.org/Projects/Vala/")
4427 (synopsis "Compiler for the GObject type system")
4429 "Vala is a programming language that aims to bring modern programming
4430 language features to GNOME developers without imposing any additional runtime
4431 requirements and without using a different ABI compared to applications and
4432 libraries written in C.")
4433 (license license:lgpl2.1+)))
4435 (define-public vala-0.50
4441 (uri (string-append "mirror://gnome/sources/vala/"
4442 (version-major+minor version) "/"
4443 "vala-" version ".tar.xz"))
4446 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4454 (uri (string-append "mirror://gnome/sources/vte/"
4455 (version-major+minor version) "/"
4456 "vte-" version ".tar.xz"))
4459 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4460 (build-system meson-build-system)
4464 "-D_systemd=false")))
4466 `(("pkg-config" ,pkg-config)
4467 ("gettext" ,gettext-minimal)
4469 ("gobject-introspection" ,gobject-introspection)
4470 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4472 ("xmllint" ,libxml2)))
4474 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4475 ("gnutls" ,gnutls) ; ditto
4476 ("pcre2" ,pcre2))) ; ditto
4477 (home-page "https://www.gnome.org/")
4478 (synopsis "Virtual Terminal Emulator")
4480 "VTE is a library (libvte) implementing a terminal emulator widget for
4481 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4482 gnome-terminal, but can also be used to embed a console/terminal in games,
4483 editors, IDEs, etc.")
4484 (license license:lgpl2.1+)))
4486 (define-public vte-ng
4490 (version "0.58.2.a")
4491 (home-page "https://github.com/thestinger/vte-ng")
4494 (uri (git-reference (url home-page) (commit version)))
4495 (file-name (git-file-name name version))
4498 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4499 (build-system meson-build-system)
4501 `(("gtk-doc" ,gtk-doc/stable)
4502 ,@(package-native-inputs vte)))
4504 `(#:configure-flags '("-Ddocs=true")))
4505 (synopsis "Enhanced VTE terminal widget")
4507 "VTE is a library (libvte) implementing a terminal emulator widget for
4508 GTK+, this fork provides additional functions exposed for keyboard text
4509 selection and URL hints.")))
4511 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4512 (define-public vte/gtk+-2
4513 (package (inherit vte)
4518 (uri (string-append "mirror://gnome/sources/" name "/"
4519 (version-major+minor version) "/"
4520 name "-" version ".tar.xz"))
4523 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4524 (patches (search-patches
4525 "vte-CVE-2012-2738-pt1.patch"
4526 "vte-CVE-2012-2738-pt2.patch"))))
4527 (build-system gnu-build-system)
4529 '(#:configure-flags '("--disable-python")))
4531 `(("pkg-config" ,pkg-config)
4532 ("intltool" ,intltool)
4533 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4535 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4536 ("ncurses" ,ncurses))))) ; required by libvte.la
4538 (define-public vinagre
4544 (uri (string-append "mirror://gnome/sources/" name "/"
4545 (version-major+minor version) "/"
4546 name "-" version ".tar.xz"))
4547 (patches (search-patches "vinagre-newer-freerdp.patch"
4548 "vinagre-newer-rdp-parameters.patch"))
4551 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4552 (build-system glib-or-gtk-build-system)
4554 ;; Disable -Werror and such, to avoid build failures on compilation
4556 '(#:configure-flags '("--enable-compile-warnings=minimum")
4558 (modify-phases %standard-phases
4559 (add-before 'install 'skip-gtk-update-icon-cache
4561 ;; Don't create 'icon-theme.cache'
4562 (substitute* (find-files "." "^Makefile$")
4563 (("gtk-update-icon-cache") (which "true")))
4565 (add-after 'unpack 'patch-configure
4567 (substitute* "configure"
4568 (("freerdp") "freerdp2"))
4571 `(("pkg-config" ,pkg-config)
4572 ("intltool" ,intltool)
4573 ("itstool" ,itstool)
4574 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4576 `(("libxml2" ,libxml2)
4577 ("gtk-vnc" ,gtk-vnc)
4578 ("gnome-keyring" ,gnome-keyring)
4579 ("libsecret" ,libsecret)
4580 ("freerdp" ,freerdp)
4582 ("spice-gtk" ,spice-gtk)
4583 ("telepathy-glib" ,telepathy-glib)
4585 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4586 (synopsis "Remote desktop viewer for GNOME")
4587 (description "Vinagre is a remote display client supporting the VNC, SPICE
4588 and RDP protocols.")
4589 (license license:gpl3+)))
4591 (define-public dconf
4598 "mirror://gnome/sources/" name "/"
4599 (version-major+minor version) "/"
4600 name "-" version ".tar.xz"))
4603 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4604 (build-system meson-build-system)
4606 ;; In Requires of dconf.pc.
4612 `(("bash-completion" ,bash-completion)
4613 ("libxslt" ,libxslt) ;for xsltproc
4614 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4615 ("docbook-xml" ,docbook-xml-4.2)
4616 ("docbook-xsl" ,docbook-xsl)
4617 ("glib:bin" ,glib "bin")
4618 ("gtk-doc" ,gtk-doc/stable)
4619 ("pkg-config" ,pkg-config)
4623 #:configure-flags '("-Denable-gtk-doc=true")
4624 #:phases (modify-phases %standard-phases
4625 (add-after 'unpack 'increase-test-timeout
4627 ;; On big-memory systems, the engine test may take
4628 ;; much longer than the default of 30 seconds.
4629 (substitute* "tests/meson.build"
4630 (("test\\(unit_test\\[0\\], exe" all)
4631 (string-append all ", timeout : 90")))
4633 (home-page "https://developer.gnome.org/dconf/")
4634 (synopsis "Low-level GNOME configuration system")
4635 (description "Dconf is a low-level configuration system. Its main purpose
4636 is to provide a backend to GSettings on platforms that don't already have
4637 configuration storage systems.")
4638 (license license:lgpl2.1+)))
4640 (define-public json-glib
4646 (uri (string-append "mirror://gnome/sources/" name "/"
4647 (version-major+minor version) "/"
4648 name "-" version ".tar.xz"))
4651 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4652 (build-system meson-build-system)
4654 `(("gettext" ,gettext-minimal)
4655 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4656 ("gobject-introspection" ,gobject-introspection)
4657 ("pkg-config" ,pkg-config)))
4659 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4660 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4661 (synopsis "Compiler for the GObject type system")
4663 "JSON-GLib is a C library based on GLib providing serialization and
4664 deserialization support for the JavaScript Object Notation (JSON) format
4665 described by RFC 4627. It provides parser and generator GObject classes and
4666 various wrappers for the complex data types employed by JSON, such as arrays
4668 (license license:lgpl2.1+)))
4670 (define-public libxklavier
4672 (name "libxklavier")
4675 ;; Note: There's no tarball at ftp.gnome.org for this version.
4678 (url "https://anongit.freedesktop.org/git/libxklavier")
4679 (commit (string-append "libxklavier-" version))))
4682 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4683 (file-name (git-file-name name version))))
4684 (build-system gnu-build-system)
4687 (list (string-append "--with-xkb-base="
4688 (assoc-ref %build-inputs "xkeyboard-config")
4690 "--disable-xmodmap-support")))
4692 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4693 ("gobject-introspection" ,gobject-introspection)
4694 ("pkg-config" ,pkg-config)
4695 ("gtk-doc" ,gtk-doc/stable)
4696 ("intltool" ,intltool)
4698 ("autoconf" ,autoconf)
4699 ("automake" ,automake)
4700 ("libtool" ,libtool)))
4702 ;; Required by libxklavier.pc.
4704 ("libxml2" ,libxml2)))
4706 `(("iso-codes" ,iso-codes)
4708 ("libxkbfile" ,libxkbfile)
4709 ("xkbcomp" ,xkbcomp)
4710 ("xkeyboard-config" ,xkeyboard-config)))
4711 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4712 (synopsis "High-level API for X Keyboard Extension")
4714 "LibXklavier is a library providing high-level API for X Keyboard
4715 Extension known as XKB. This library is intended to support XFree86 and other
4716 commercial X servers. It is useful for creating XKB-related software (layout
4718 (license license:lgpl2.0+)))
4720 (define-public python2-rsvg
4721 ;; XXX: This is actually a subset of gnome-python-desktop.
4723 (name "python2-rsvg")
4729 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4730 version ".tar.bz2"))
4733 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4734 (build-system gnu-build-system)
4736 `(("pkg-config" ,pkg-config)))
4738 `(("python" ,python-2)
4739 ("python2-pygtk" ,python2-pygtk)
4740 ("librsvg" ,librsvg)))
4741 (home-page "https://www.gnome.org")
4742 (synopsis "Python bindings to librsvg")
4744 "This package provides Python bindings to librsvg, the SVG rendering
4747 ;; This is the license of the rsvg bindings. The license of each module
4748 ;; of gnome-python-desktop is given in 'COPYING'.
4749 (license license:lgpl2.1+)))
4751 (define-public glib-networking
4753 (name "glib-networking")
4757 (uri (string-append "mirror://gnome/sources/glib-networking/"
4758 (version-major+minor version) "/"
4759 "glib-networking-" version ".tar.xz"))
4762 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4763 (build-system meson-build-system)
4765 `(#:configure-flags '("-Dlibproxy_support=false")))
4767 `(("pkg-config" ,pkg-config)
4768 ("intltool" ,intltool)))
4772 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4773 (home-page "https://www.gnome.org")
4774 (synopsis "Network-related GIO modules")
4776 "This package contains various network related extensions for the GIO
4778 (license license:lgpl2.0+)))
4786 (uri (string-append "mirror://gnome/sources/rest/"
4787 (version-major+minor version) "/"
4788 name "-" version ".tar.xz"))
4791 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4792 (build-system gnu-build-system)
4794 '(#:tests? #f ; tests require internet connection
4796 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4798 `(("glib-mkenums" ,glib "bin")
4799 ("gobject-introspection" ,gobject-introspection)
4800 ("pkg-config" ,pkg-config)))
4802 ;; rest-0.7.pc refers to all these.
4804 ("libsoup" ,libsoup)
4805 ("libxml2" ,libxml2)))
4806 (home-page "https://www.gtk.org/")
4807 (synopsis "RESTful web api query library")
4809 "This library was designed to make it easier to access web services that
4810 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4811 libxml to ease remote use of the RESTful API.")
4812 (license license:lgpl2.1+)))
4814 (define-public libsoup
4820 (uri (string-append "mirror://gnome/sources/libsoup/"
4821 (version-major+minor version) "/"
4822 "libsoup-" version ".tar.xz"))
4825 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4826 (build-system meson-build-system)
4827 (outputs '("out" "doc"))
4829 `(#:modules ((guix build utils)
4830 (guix build meson-build-system)
4833 #:configure-flags '("-Dgtk_doc=true")
4835 (modify-phases %standard-phases
4836 (add-after 'unpack 'patch-docbook-xml
4837 (lambda* (#:key inputs #:allow-other-keys)
4838 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4839 "/xml/dtd/docbook")))
4840 (substitute* (find-files "docs/reference")
4841 (("http://.*/docbookx\\.dtd")
4842 (string-append xmldoc "/docbookx.dtd")))
4844 (add-after 'unpack 'adjust-tests
4846 ;; This test fails due to missing /etc/nsswitch.conf
4847 ;; in the build environment.
4848 (substitute* "tests/socket-test.c"
4849 ((".*/sockets/unconnected.*") ""))
4851 ;; These fail because "subdomain.localhost" does not resolve in
4852 ;; the build environment.
4853 (substitute* "tests/hsts-test.c"
4854 ((".*/hsts/basic.*") "")
4855 ((".*/hsts/subdomains.*") "")
4856 ((".*/hsts/superdomain.*") "")
4857 ((".*/hsts/utf8-address.*") ""))
4858 (substitute* "tests/hsts-db-test.c"
4859 ((".*/hsts-db/subdomains.*") ""))
4861 ;; Generate a self-signed certificate that has "localhost" as its
4862 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4863 ;; 3.5.12, tests such as "ssl-tests" fail:
4865 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4867 ;; 'certtool' is interactive so we have to pipe it the answers.
4868 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4869 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4870 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4871 (for-each (lambda (line)
4876 "Guix" ;Organizational unit name
4877 "GNU" ;Organization name
4879 "" ;State or province
4881 "" ;subject's domain component (DC)
4884 "-1" ;expiration time
4885 "N" ;belong to authority?
4886 "N" ;web client certificate?
4888 "Y" ;web server certificate?
4889 "localhost" ;dnsName of subject
4890 "" ;dnsName of subject (end)
4892 "127.0.0.1" ;IP address of subject
4894 "" ;encryption (RSA)?
4895 "" ;data encryption?
4896 "" ;sign OCSP requests?
4899 "" ;email protection?
4900 "" ;URI of the CRL distribution point
4905 (add-after 'install 'move-doc
4906 (lambda* (#:key outputs #:allow-other-keys)
4907 (let ((out (assoc-ref outputs "out"))
4908 (doc (assoc-ref outputs "doc")))
4909 (mkdir-p (string-append doc "/share"))
4910 (copy-recursively (string-append out "/share/gtk-doc")
4911 (string-append doc "/share/gtk-doc"))
4912 (delete-file-recursively (string-append out "/share/gtk-doc"))
4915 `(("docbook-xml" ,docbook-xml-4.1.2)
4916 ("glib:bin" ,glib "bin") ; for glib-mkenums
4917 ("gobject-introspection" ,gobject-introspection)
4918 ("gtk-doc" ,gtk-doc/stable)
4919 ("intltool" ,intltool)
4920 ("pkg-config" ,pkg-config)
4921 ("python" ,python-wrapper)
4925 ("gnutls" ,gnutls) ;for 'certtool'
4928 ;; libsoup-2.4.pc refers to all of these (except where otherwise noted)
4929 `(("brotli" ,google-brotli)
4931 ("glib-networking" ,glib-networking) ; for GIO runtime modules
4933 ("libxml2" ,libxml2)
4937 `(("mit-krb5" ,mit-krb5)
4938 ("ntlm_auth" ,samba))) ; For ntlm_auth support
4939 (home-page "https://wiki.gnome.org/Projects/libsoup")
4940 (synopsis "GLib-based HTTP Library")
4942 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4943 and the GLib main loop, to integrate well with GNOME applications.")
4944 (license license:lgpl2.0+)))
4947 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4948 (define-public libsoup-minimal
4949 (package/inherit libsoup
4950 (name "libsoup-minimal")
4951 (outputs (delete "doc" (package-outputs libsoup)))
4953 (substitute-keyword-arguments (package-arguments libsoup)
4954 ((#:configure-flags configure-flags)
4955 `(delete "-Dgtk_doc=true" ,configure-flags))
4957 `(modify-phases ,phases
4958 (delete 'move-doc)))))
4959 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4961 (define-public libsecret
4968 "mirror://gnome/sources/libsecret/"
4969 (version-major+minor version) "/"
4970 "libsecret-" version ".tar.xz"))
4973 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4974 (build-system gnu-build-system)
4975 (outputs '("out" "doc"))
4977 `(#:tests? #f ; FIXME: Testing hangs.
4979 (list (string-append "--with-html-dir="
4980 (assoc-ref %outputs "doc")
4981 "/share/gtk-doc/html"))))
4983 `(("gettext" ,gettext-minimal)
4984 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4985 ("gobject-introspection" ,gobject-introspection)
4986 ("pkg-config" ,pkg-config)
4988 ("xsltproc" ,libxslt)))
4989 ;; These are needed for the tests.
4990 ;; FIXME: Add gjs once available.
4992 ;("python2" ,python-2)
4993 ;("python2-dbus" ,python2-dbus)
4994 ;("python2-pygobject" ,python2-pygobject)
4995 ;("python2-pygobject-2" ,python2-pygobject-2)))
4997 `(("glib" ,glib))) ; required by libsecret-1.pc
4999 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
5000 ;; doesn't seem to affect the build result.
5001 `(("docbook-xsl" ,docbook-xsl)
5002 ("libgcrypt" ,libgcrypt)
5003 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
5004 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
5005 (synopsis "GObject bindings for \"Secret Service\" API")
5007 "Libsecret is a GObject based library for storing and retrieving passwords
5008 and other secrets. It communicates with the \"Secret Service\" using DBus.")
5009 (license license:lgpl2.1+)))
5011 (define-public five-or-more
5013 (name "five-or-more")
5018 (uri (string-append "mirror://gnome/sources/five-or-more/"
5019 (version-major+minor version) "/"
5020 "five-or-more-" version ".tar.xz"))
5022 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
5023 (build-system meson-build-system)
5027 (modify-phases %standard-phases
5028 (add-after 'unpack 'skip-gtk-update-icon-cache
5030 (substitute* "meson_post_install.py"
5031 (("gtk-update-icon-cache") (which "true")))
5034 `(("pkg-config" ,pkg-config)
5035 ("appstream-glib" ,appstream-glib)
5036 ("desktop-file-utils" ,desktop-file-utils)
5037 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5038 ("intltool" ,intltool)
5039 ("itstool" ,itstool)
5041 ("xmllint" ,libxml2)))
5044 ("libgnome-games-support" ,libgnome-games-support)
5045 ("librsvg" ,librsvg)))
5046 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5047 (synopsis "Logic puzzle game")
5048 (description "Five or More is a game where you try to align
5049 five or more objects of the same color and shape causing them to disappear.
5050 On every turn more objects will appear, until the board is full.
5051 Try to last as long as possible.")
5052 (license license:gpl2+)))
5054 (define-public gnome-mines
5056 (name "gnome-mines")
5061 (uri (string-append "mirror://gnome/sources/" name "/"
5062 (version-major+minor version) "/"
5063 name "-" version ".tar.xz"))
5065 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5066 (build-system meson-build-system)
5070 (modify-phases %standard-phases
5071 (add-after 'unpack 'skip-gtk-update-icon-cache
5073 (substitute* "build-aux/meson_post_install.py"
5074 (("gtk-update-icon-cache") (which "true")))
5077 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5078 ("pkg-config" ,pkg-config)
5079 ("desktop-file-utils" ,desktop-file-utils)
5080 ("intltool" ,intltool)
5081 ("itstool" ,itstool)
5084 ("appstream-glib" ,appstream-glib)))
5087 ("libgnome-games-support" ,libgnome-games-support)
5088 ("librsvg" ,librsvg)))
5089 (home-page "https://wiki.gnome.org/Apps/Mines")
5090 (synopsis "Minesweeper game")
5092 "Mines (previously gnomine) is a puzzle game where you locate mines
5093 floating in an ocean using only your brain and a little bit of luck.")
5094 (license license:gpl2+)))
5096 (define-public gnome-multi-writer
5098 (name "gnome-multi-writer")
5103 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5104 (version-major+minor version) "/"
5105 "gnome-multi-writer-" version ".tar.xz"))
5108 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5109 (build-system meson-build-system)
5113 (modify-phases %standard-phases
5114 (add-after 'unpack 'skip-post-install
5116 (substitute* "meson.build"
5117 (("meson.add_install_script" &) (string-append "# " &)))
5120 `(("glib:bin" ,glib "bin")
5121 ("pkg-config" ,pkg-config)))
5124 ("glib" ,glib) ; for gio
5127 ("libgudev" ,libgudev)
5128 ("libcanberra" ,libcanberra)
5129 ("polkit" ,polkit)))
5130 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5131 (synopsis "Write to multiple USB devices at once")
5133 "MultiWriter can be used to write an ISO file to multiple USB devices at
5135 (license license:gpl2+)))
5137 (define-public gnome-sudoku
5139 (name "gnome-sudoku")
5144 (uri (string-append "mirror://gnome/sources/" name "/"
5145 (version-major+minor version) "/"
5146 name "-" version ".tar.xz"))
5149 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5150 (build-system meson-build-system)
5154 (modify-phases %standard-phases
5155 (add-after 'unpack 'skip-gtk-update-icon-cache
5157 (substitute* "build-aux/post_install.py"
5158 (("gtk-update-icon-cache") (which "true")))
5161 `(("pkg-config" ,pkg-config)
5162 ("desktop-file-utils" ,desktop-file-utils)
5163 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5164 ("intltool" ,intltool)
5165 ("itstool" ,itstool)
5167 ("xmllint" ,libxml2)))
5170 ("json-glib" ,json-glib)
5172 ("librsvg" ,librsvg)
5173 ("qqwing" ,qqwing)))
5174 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5175 (synopsis "Japanese logic game")
5177 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5178 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5179 possible while still providing features that make playing difficult Sudoku
5181 (license license:gpl2+)))
5183 (define-public gnome-terminal
5185 (name "gnome-terminal")
5190 (uri (string-append "mirror://gnome/sources/" name "/"
5191 (version-major+minor version) "/"
5192 name "-" version ".tar.xz"))
5195 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5196 (build-system glib-or-gtk-build-system)
5199 (list "--disable-migration" "--disable-search-provider"
5200 "--without-nautilus-extension")
5202 (modify-phases %standard-phases
5203 (add-before 'configure 'patch-/bin/true
5205 (substitute* "configure"
5206 (("/bin/true") (which "true"))))))))
5208 `(("pkg-config" ,pkg-config)
5209 ("desktop-file-utils" ,desktop-file-utils)
5210 ("intltool" ,intltool)
5211 ("itstool" ,itstool)
5212 ("xmllint" ,libxml2)))
5214 `(("dconf" ,dconf)))
5219 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5220 ("util-linux" ,util-linux "lib")
5222 (home-page "https://wiki.gnome.org/Apps/Terminal")
5223 (synopsis "Terminal emulator")
5225 "GNOME Terminal is a terminal emulator application for accessing a
5226 UNIX shell environment which can be used to run programs available on
5229 It supports several profiles, multiple tabs and implements several
5230 keyboard shortcuts.")
5231 (license license:gpl3+)))
5233 (define-public colord
5240 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5241 "colord-" version ".tar.xz"))
5243 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5244 (build-system meson-build-system)
5246 '(;; FIXME: One test fails:
5247 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5248 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5249 ;; application/x-zerosize
5252 #:configure-flags (list "-Dlocalstatedir=/var"
5253 ;; No dep on systemd.
5255 ;; Wants to install to global completion dir;
5257 "-Dbash_completion=false"
5258 "-Ddaemon_user=colord"
5261 ;; Requires spotread.
5262 "-Dargyllcms_sensor=false"
5263 ;; TODO: Requires docbook2x.
5266 (modify-phases %standard-phases
5267 (add-before 'configure 'patch-build-system
5268 (lambda* (#:key outputs #:allow-other-keys)
5269 (substitute* "rules/meson.build"
5270 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5271 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5273 (add-before 'configure 'set-sqlite3-file-name
5274 (lambda* (#:key inputs #:allow-other-keys)
5275 ;; "colormgr dump" works by invoking the "sqlite3" command.
5276 ;; Record its absolute file name.
5277 (let ((sqlite (assoc-ref inputs "sqlite")))
5278 (substitute* "client/cd-util.c"
5280 (string-append "\"" sqlite "/bin/sqlite3\"")))
5283 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5284 ("gettext" ,gettext-minimal)
5285 ("gobject-introspection" ,gobject-introspection)
5286 ("gtk-doc" ,gtk-doc/stable)
5287 ("pkg-config" ,pkg-config)
5290 ;; colord.pc refers to all these.
5295 `(("dbus-glib" ,dbus-glib)
5297 ("libgudev" ,libgudev)
5300 ("python" ,python-wrapper)
5302 ("sane-backends" ,sane-backends)))
5303 (home-page "https://www.freedesktop.org/software/colord/")
5304 (synopsis "Color management service")
5305 (description "Colord is a system service that makes it easy to manage,
5306 install and generate color profiles to accurately color manage input and
5308 (license license:gpl2+)))
5310 (define-public geoclue
5318 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5319 version "/geoclue-" version ".tar.bz2"))
5321 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5322 (patches (search-patches "geoclue-config.patch"))))
5323 (build-system meson-build-system)
5325 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5327 `(("pkg-config" ,pkg-config)
5328 ("gobject-introspection" ,gobject-introspection)
5329 ("modem-manager" ,modem-manager)
5330 ("libnotify" ,libnotify)
5331 ("gtk-doc" ,gtk-doc/stable)
5332 ("intltool" ,intltool)))
5335 ("glib:bin" ,glib "bin")
5336 ("glib-networking" ,glib-networking)
5337 ("json-glib" ,json-glib)
5338 ("libsoup" ,libsoup)))
5339 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5340 (synopsis "Geolocation service")
5341 (description "Geoclue is a D-Bus service that provides location
5342 information. The primary goal of the Geoclue project is to make creating
5343 location-aware applications as simple as possible, while the secondary goal is
5344 to ensure that no application can access location information without explicit
5345 permission from user.")
5346 (license license:gpl2+)))
5348 (define-public geocode-glib
5350 (name "geocode-glib")
5354 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5355 (version-major+minor version) "/"
5356 "geocode-glib-" version ".tar.xz"))
5359 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5360 (build-system meson-build-system)
5363 (modify-phases %standard-phases
5364 ;; The tests require a bunch of locales.
5365 (add-before 'check 'set-locales
5366 (lambda* (#:key inputs #:allow-other-keys)
5367 (setenv "GUIX_LOCPATH"
5368 (string-append (assoc-ref inputs "glibc-locales")
5372 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5373 ("glibc-locales" ,glibc-locales) ; for tests
5374 ("gettext" ,gettext-minimal)
5375 ("gobject-introspection" ,gobject-introspection)
5376 ("gtk-doc" ,gtk-doc/stable)
5377 ("pkg-config" ,pkg-config)
5378 ("json-glib" ,json-glib)))
5380 ;; geocode-glib-1.0.pc refers to GIO.
5383 `(("libsoup" ,libsoup)))
5384 (home-page "https://github.com/GNOME/geocode-glib/")
5385 (synopsis "Geocoding and reverse-geocoding library")
5387 "geocode-glib is a convenience library for geocoding (finding longitude,
5388 and latitude from an address) and reverse geocoding (finding an address from
5389 coordinates) using the Nominatim service. geocode-glib caches requests for
5390 faster results and to avoid unnecessary server load.")
5391 (license license:lgpl2.0+)))
5393 (define-public upower
5399 (uri (string-append "https://upower.freedesktop.org/releases/"
5400 "upower-" version ".tar.xz"))
5403 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5404 (patches (search-patches "upower-builddir.patch"))
5405 (modules '((guix build utils)))
5409 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5410 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5411 ;; 'dbus-configuration-directory' in (gnu services dbus)
5412 ;; expects it in etc/. Thus, move it back to its previous
5414 (substitute* "src/Makefile.in"
5415 (("^dbusconfdir =.*$")
5416 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5418 (build-system glib-or-gtk-build-system)
5421 (modify-phases %standard-phases
5422 (add-before 'check 'pre-check
5423 (lambda* (#:key inputs #:allow-other-keys)
5424 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5426 (setenv "LD_LIBRARY_PATH" umockdev))
5428 #:configure-flags (list "--localstatedir=/var"
5429 (string-append "--with-udevrulesdir="
5430 (assoc-ref %outputs "out")
5431 "/lib/udev/rules.d"))))
5433 `(("gobject-introspection" ,gobject-introspection)
5434 ("pkg-config" ,pkg-config)
5435 ("intltool" ,intltool)
5439 ("python-dbus" ,python-dbus)
5440 ("python-dbusmock" ,python-dbusmock)
5441 ("python-pygobject" ,python-pygobject)
5442 ("umockdev" ,umockdev)
5445 ("libxslt" ,libxslt) ;for 'xsltproc'
5446 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5447 ("docbook-xsl" ,docbook-xsl)))
5449 `(("dbus-glib" ,dbus-glib)
5450 ("libgudev" ,libgudev)
5451 ("libusb" ,libusb)))
5453 ;; In Requires of upower-glib.pc.
5455 (home-page "https://upower.freedesktop.org/")
5456 (synopsis "System daemon for managing power devices")
5458 "UPower is an abstraction for enumerating power devices,
5459 listening to device events and querying history and statistics. Any
5460 application or service on the system can access the org.freedesktop.UPower
5461 service via the system message bus.")
5462 (license license:gpl2+)))
5464 (define-public libgweather
5466 (name "libgweather")
5470 (uri (string-append "mirror://gnome/sources/" name "/"
5471 (version-major+minor version) "/"
5472 name "-" version ".tar.xz"))
5475 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5476 (build-system meson-build-system)
5478 `(#:tests? #f ; one of two tests requires network access
5480 `(,(string-append "-Dzoneinfo_dir="
5481 (assoc-ref %build-inputs "tzdata")
5482 "/share/zoneinfo"))))
5484 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5485 ("gobject-introspection" ,gobject-introspection)
5486 ("pkg-config" ,pkg-config)
5488 ("intltool" ,intltool)))
5490 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5493 ("gdk-pixbuf" ,gdk-pixbuf)
5494 ("libxml2" ,libxml2)
5495 ("libsoup" ,libsoup)
5496 ("geocode-glib" ,geocode-glib)))
5498 `(("tzdata" ,tzdata)))
5499 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5500 (synopsis "Location, time zone, and weather library for GNOME")
5502 "libgweather is a library to access weather information from online
5503 services for numerous locations.")
5504 (license license:gpl2+)))
5506 (define-public gnome-settings-daemon
5508 (name "gnome-settings-daemon")
5513 (uri (string-append "mirror://gnome/sources/" name "/"
5514 (version-major+minor version) "/"
5515 name "-" version ".tar.xz"))
5518 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5519 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5520 (build-system meson-build-system)
5524 (list (string-append "-Dudev_dir="
5525 (assoc-ref %outputs "out")
5526 "/lib/udev/rules.d/")
5528 ;; Otherwise, the RUNPATH will lack the final path component.
5529 (string-append "-Dc_link_args=-Wl,-rpath="
5530 (assoc-ref %outputs "out")
5531 "/lib/gnome-settings-daemon-3.0"))
5533 #:phases (modify-phases %standard-phases
5534 (add-before 'configure 'set-baobab-file-name
5535 (lambda* (#:key inputs #:allow-other-keys)
5536 ;; Hard-code the file name of Baobab instead of looking
5537 ;; it up in $PATH. This ensures users get the "Examine"
5538 ;; button in the low disk space notification of GDM even
5539 ;; if they don't have GNOME in their main profile.
5540 (let ((baobab (assoc-ref inputs "baobab")))
5541 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5542 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5543 (string-append "g_strdup (\"" baobab
5547 ;; Color management test can't reach the colord system service.
5550 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5551 ("pkg-config" ,pkg-config)
5552 ("intltool" ,intltool)
5553 ("xsltproc" ,libxslt)
5554 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5555 ("docbook-xml" ,docbook-xml-4.2)
5556 ("docbook-xsl" ,docbook-xsl)))
5558 `(("alsa-lib" ,alsa-lib)
5561 ("libgudev" ,libgudev)
5564 ("pulseaudio" ,pulseaudio)
5565 ("libcanberra" ,libcanberra)
5567 ("libxtst" ,libxtst)
5569 ("libnotify" ,libnotify)
5570 ("geoclue" ,geoclue)
5571 ("geocode-glib" ,geocode-glib)
5572 ("libgweather" ,libgweather)
5573 ("gnome-desktop" ,gnome-desktop)
5576 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5577 ("libwacom" ,libwacom)
5578 ("librsvg" ,librsvg)
5579 ("xf86-input-wacom" ,xf86-input-wacom)
5580 ("wayland" ,wayland)
5581 ("network-manager" ,network-manager)
5583 ("modem-manager" ,modem-manager)))
5584 (home-page "https://www.gnome.org")
5585 (synopsis "GNOME settings daemon")
5587 "This package contains the daemon responsible for setting the various
5588 parameters of a GNOME session and the applications that run under it. It
5589 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5590 settings, themes, mouse settings, and startup of other daemons.")
5591 (license license:gpl2+)))
5593 (define-public totem-pl-parser
5595 (name "totem-pl-parser")
5599 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5600 (version-major+minor version) "/"
5601 "totem-pl-parser-" version ".tar.xz"))
5604 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5605 (build-system meson-build-system)
5607 ;; FIXME: Tests require gvfs.
5610 `(("intltool" ,intltool)
5611 ("glib" ,glib "bin")
5612 ("gobject-introspection" ,gobject-introspection)
5613 ("pkg-config" ,pkg-config)))
5617 ("libarchive" ,libarchive)
5618 ("libgcrypt" ,libgcrypt)
5619 ("libxml2" ,libxml2)))
5621 `(("libsoup" ,libsoup)))
5622 (home-page "https://projects.gnome.org/totem")
5623 (synopsis "Library to parse and save media playlists for GNOME")
5624 (description "Totem-pl-parser is a GObjects-based library to parse and save
5625 playlists in a variety of formats.")
5626 (license license:lgpl2.0+)))
5628 (define-public aisleriot
5634 (uri (string-append "mirror://gnome/sources/aisleriot/"
5635 (version-major+minor version) "/"
5636 "aisleriot-" version ".tar.xz"))
5639 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5640 (build-system glib-or-gtk-build-system)
5643 '("--with-platform=gtk-only"
5644 "--with-card-theme-formats=svg")))
5646 `(("desktop-file-utils" ,desktop-file-utils)
5647 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5648 ("intltool" ,intltool)
5649 ("itstool" ,itstool)
5650 ("pkg-config" ,pkg-config)
5651 ("xmllint" ,libxml2)))
5654 ("guile" ,guile-2.2)
5655 ("libcanberra" ,libcanberra)
5656 ("librsvg" ,librsvg)))
5657 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5658 (synopsis "Solitaire card games")
5660 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5661 which are easy to play with the aid of a mouse.")
5662 (license license:gpl3+)))
5670 (uri (string-append "mirror://gnome/sources/amtk/"
5671 (version-major+minor version) "/"
5672 "amtk-" version ".tar.xz"))
5675 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5676 (build-system gnu-build-system)
5678 '(#:configure-flags '("--enable-gtk-doc")))
5680 `(("gobject-introspection" ,gobject-introspection)
5681 ("glib:bin" ,glib "bin") ; for glib-mkenums
5682 ("gtk-doc" ,gtk-doc/stable)
5683 ("pkg-config" ,pkg-config)))
5687 (home-page "https://wiki.gnome.org/Projects/Amtk")
5688 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5690 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5691 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5692 both a traditional UI or a modern UI with a GtkHeaderBar.")
5693 (license license:lgpl2.1+)))
5695 (define-public devhelp
5701 (uri (string-append "mirror://gnome/sources/" name "/"
5702 (version-major+minor version) "/"
5703 name "-" version ".tar.xz"))
5706 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5707 (build-system meson-build-system)
5711 (modify-phases %standard-phases
5712 (add-after 'unpack 'skip-gtk-update-icon-cache
5713 ;; Don't create 'icon-theme.cache'.
5715 (substitute* "meson_post_install.py"
5716 (("gtk-update-icon-cache") "true"))
5719 `(("intltool" ,intltool)
5720 ("itstool" ,itstool)
5721 ("gobject-introspection" ,gobject-introspection)
5722 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5723 ("pkg-config" ,pkg-config)))
5726 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5727 ("webkitgtk" ,webkitgtk)))
5728 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5729 (synopsis "API documentation browser for GNOME")
5731 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5732 natively with GTK-Doc (the API reference system developed for GTK+ and used
5733 throughout GNOME for API documentation).")
5734 (license license:gpl2+)))
5743 (uri (string-append "mirror://gnome/sources/cogl/"
5744 (version-major+minor version) "/"
5745 "cogl-" version ".tar.xz"))
5747 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5748 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5749 ;; cogl, corresponding changes may be appropriate in mutter as well.
5750 (build-system gnu-build-system)
5752 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5753 ("gobject-introspection" ,gobject-introspection)
5754 ("xorg-server" ,xorg-server-for-tests)
5755 ("pkg-config" ,pkg-config)))
5758 ("gdk-pixbuf" ,gdk-pixbuf)
5760 ("libxext" ,libxext)
5761 ("libxfixes" ,libxfixes)
5762 ("libxdamage" ,libxdamage)
5763 ("libxcomposite" ,libxcomposite)
5764 ("libxrandr" ,libxrandr)))
5769 ("gstreamer" ,gstreamer)
5770 ("gst-plugins-base" ,gst-plugins-base)
5771 ("wayland" ,wayland)))
5773 `(#:disallowed-references (,xorg-server-for-tests)
5774 #:configure-flags (list "--enable-cogl-gst"
5775 "--enable-wayland-egl-platform"
5776 "--enable-wayland-egl-server"
5778 ;; Arrange to pass an absolute file name to
5779 ;; dlopen for libGL.so.
5780 (string-append "--with-gl-libname="
5781 (assoc-ref %build-inputs "mesa")
5784 (modify-phases %standard-phases
5785 (add-after 'unpack 'fix-build-with-mesa-20
5787 ;; Work around a problem with Mesa 20 where some macros used by
5788 ;; Cogl went missing from eglext.h. This can likely be removed
5789 ;; for newer versions of Cogl or Mesa.
5790 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5791 (substitute* '("configure"
5792 "cogl/winsys/cogl-winsys-egl-kms.c")
5793 (("#include <EGL/eglext.h>" all)
5794 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5796 (add-before 'check 'start-xorg-server
5797 (lambda* (#:key tests? inputs #:allow-other-keys)
5800 ;; The test suite requires a running X server.
5801 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5802 (assoc-ref inputs "xorg-server")))
5803 (setenv "DISPLAY" ":1")
5805 (format #t "test suite not run~%"))
5807 (home-page "https://www.cogl3d.org")
5808 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5810 "Cogl is a small library for using 3D graphics hardware to draw pretty
5811 pictures. The API departs from the flat state machine style of OpenGL and is
5812 designed to make it easy to write orthogonal components that can render
5813 without stepping on each others toes.")
5814 (license (list license:expat ; most of the code
5815 license:bsd-3 ; cogl/cogl-point-in-poly.c
5816 license:sgifreeb2.0 ; cogl-path/tesselator/
5817 license:asl2.0)))) ; examples/android/
5819 (define-public clutter
5826 (uri (string-append "mirror://gnome/sources/" name "/"
5827 (version-major+minor version) "/"
5828 name "-" version ".tar.xz"))
5831 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5832 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5833 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5834 (build-system gnu-build-system)
5836 "doc")) ;9 MiB of gtk-doc HTML pages
5838 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5839 ("gobject-introspection" ,gobject-introspection)
5840 ("pkg-config" ,pkg-config)
5841 ("xsltproc" ,libxslt)))
5847 ("json-glib" ,json-glib)
5849 ("libxcomposite" ,libxcomposite)
5850 ("libxdamage" ,libxdamage)
5851 ("libxext" ,libxext)
5852 ("xinput" ,xinput)))
5854 `(("libxkbcommon" ,libxkbcommon)
5857 `(#:configure-flags (list "--enable-x11-backend=yes"
5859 ;; This produces share/doc/{clutter,cally}.
5860 (string-append "--with-html-dir="
5861 (assoc-ref %outputs "doc")
5863 ;; XXX FIXME: Get test suite working. It would probably fail in the
5864 ;; same way the cogl tests fail, since clutter is based on cogl.
5866 (home-page "http://www.clutter-project.org")
5867 (synopsis "OpenGL-based interactive canvas library")
5869 "Clutter is an OpenGL-based interactive canvas library, designed for
5870 creating fast, mainly 2D single window applications such as media box UIs,
5871 presentations, kiosk style applications and so on.")
5872 (license license:lgpl2.0+)))
5874 (define-public clutter-gtk
5876 (name "clutter-gtk")
5881 (uri (string-append "mirror://gnome/sources/" name "/"
5882 (version-major+minor version) "/"
5883 name "-" version ".tar.xz"))
5886 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5887 (build-system gnu-build-system)
5889 `(("pkg-config" ,pkg-config)
5890 ("gobject-introspection" ,gobject-introspection)))
5892 ;; clutter-gtk.pc refers to all these.
5893 `(("clutter" ,clutter)
5895 (home-page "http://www.clutter-project.org")
5896 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5898 "Clutter is an OpenGL-based interactive canvas library, designed for
5899 creating fast, mainly 2D single window applications such as media box UIs,
5900 presentations, kiosk style applications and so on.")
5901 (license license:lgpl2.0+)))
5903 (define-public clutter-gst
5905 (name "clutter-gst")
5910 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5911 (version-major+minor version) "/"
5912 "clutter-gst-" version ".tar.xz"))
5914 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5915 (build-system gnu-build-system)
5917 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5918 ("pkg-config" ,pkg-config)
5919 ("gobject-introspection" ,gobject-introspection)))
5921 `(("clutter" ,clutter)
5922 ("gstreamer" ,gstreamer)
5923 ("gst-plugins-base" ,gst-plugins-base)))
5924 (home-page "http://www.clutter-project.org")
5925 (synopsis "Integration library for using GStreamer with Clutter")
5927 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5928 It provides a GStreamer sink to upload frames to GL and an actor that
5929 implements the ClutterGstPlayer interface using playbin. Clutter is an
5930 OpenGL-based interactive canvas library.")
5931 (license license:lgpl2.0+)))
5933 (define-public libchamplain
5935 (name "libchamplain")
5940 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5944 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5945 (build-system gnu-build-system)
5946 (arguments '(#:configure-flags '("--enable-vala")))
5948 `(("gobject-introspection" ,gobject-introspection)
5949 ("pkg-config" ,pkg-config)
5952 `(("libsoup" ,libsoup)
5954 ("clutter" ,clutter)
5955 ("clutter-gtk" ,clutter-gtk)
5956 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5960 (home-page "https://projects.gnome.org/libchamplain/")
5961 (synopsis "C library providing a ClutterActor to display maps")
5963 "libchamplain is a C library providing a ClutterActor to display maps.
5964 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5965 and Perl bindings are also available. It supports numerous free map sources
5966 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5967 (license license:lgpl2.1+)))
5976 (uri (string-append "mirror://gnome/sources/gom/"
5977 (version-major+minor version) "/"
5978 "gom-" version ".tar.xz"))
5981 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5982 (build-system gnu-build-system)
5984 `(("intltool" ,intltool)
5985 ("pkg-config" ,pkg-config)
5986 ("gobject-introspection" ,gobject-introspection)))
5989 ("gdk-pixbuf" ,gdk-pixbuf)
5990 ("sqlite" ,sqlite)))
5991 ;; XXX TODO: Figure out how to run the test suite.
5992 (arguments `(#:tests? #f))
5993 (home-page "https://wiki.gnome.org/Projects/Gom")
5994 (synopsis "Object mapper from GObjects to SQLite")
5996 "Gom provides an object mapper from GObjects to SQLite. It helps you
5997 write applications that need to store structured data as well as make complex
5998 queries upon that data.")
5999 (license license:lgpl2.1+)))
6001 (define-public libgnome-games-support
6003 (name "libgnome-games-support")
6007 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6008 (version-major+minor version) "/"
6009 "libgnome-games-support-" version ".tar.xz"))
6012 "11g1r3ppb9v8m3anks9gxf7fv1x38vmjiya3lr7zjjv328pb69d6"))))
6013 (build-system meson-build-system)
6017 (modify-phases %standard-phases
6018 (add-before 'check 'pre-check
6020 ;; Tests require a writable HOME.
6021 (setenv "HOME" (getcwd))
6024 `(("intltool" ,intltool)
6025 ("pkg-config" ,pkg-config)
6028 ;; Required by libgnome-games-support-1.0.pc
6030 ("libgee" ,libgee)))
6031 (home-page "https://www.gnome.org/")
6032 (synopsis "Useful functionality shared among GNOME games")
6034 "libgnome-games-support is a small library intended for internal use by
6035 GNOME Games, but it may be used by others.")
6036 (license license:lgpl3+)))
6038 (define-public gnome-klotski
6040 (name "gnome-klotski")
6044 (uri (string-append "mirror://gnome/sources/" name "/"
6045 (version-major+minor version) "/"
6046 name "-" version ".tar.xz"))
6049 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
6050 (build-system meson-build-system)
6054 (modify-phases %standard-phases
6055 (add-after 'unpack 'skip-gtk-update-icon-cache
6056 ;; Don't create 'icon-theme.cache'.
6058 (substitute* "build-aux/meson_post_install.py"
6059 (("gtk-update-icon-cache") (which "true")))
6062 `(("desktop-file-utils" ,desktop-file-utils)
6063 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6064 ("intltool" ,intltool)
6065 ("itstool" ,itstool)
6066 ("pkg-config" ,pkg-config)
6068 ("xmllint" ,libxml2)))
6071 ("libgnome-games-support" ,libgnome-games-support)
6072 ("librsvg" ,librsvg)))
6073 (home-page "https://wiki.gnome.org/Apps/Klotski")
6074 (synopsis "Sliding block puzzles")
6076 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6077 the patterned block to the area bordered by green markers. To do so, you will
6078 need to slide other blocks out of the way. Complete each puzzle in as few moves
6080 (license license:gpl2+)))
6082 (define-public grilo
6089 (uri (string-append "mirror://gnome/sources/grilo/"
6090 (version-major+minor version) "/"
6091 "grilo-" version ".tar.xz"))
6093 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6094 (build-system meson-build-system)
6096 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6097 ("intltool" ,intltool)
6098 ("pkg-config" ,pkg-config)
6099 ("gobject-introspection" ,gobject-introspection)
6100 ("gtk-doc" ,gtk-doc/stable)
6103 `(("cyrus-sasl" ,cyrus-sasl)
6106 ("libxml2" ,libxml2)
6107 ("liboauth" ,liboauth)
6108 ("libsoup" ,libsoup)
6109 ("totem-pl-parser" ,totem-pl-parser)))
6110 (native-search-paths
6111 (list (search-path-specification
6112 (variable "GRL_PLUGIN_PATH")
6113 (files (list (string-append "lib/grilo-"
6114 (version-major+minor version)))))))
6115 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6116 (synopsis "Framework for discovering and browsing media")
6118 "Grilo is a framework focused on making media discovery and browsing easy
6119 for application developers.")
6120 (license license:lgpl2.1+)))
6122 (define-public grilo-plugins
6124 (name "grilo-plugins")
6129 (uri (string-append "mirror://gnome/sources/" name "/"
6130 (version-major+minor version) "/"
6131 name "-" version ".tar.xz"))
6133 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6134 (build-system meson-build-system)
6136 `(("gettext" ,gettext-minimal)
6137 ("glib:bin" ,glib "bin")
6138 ("gtk+:bin" ,gtk+ "bin")
6139 ("itstool" ,itstool)
6140 ("pkg-config" ,pkg-config)))
6141 ;; TODO: ahavi, gstreamer
6144 ;("gmime" ,gmime) ; unused
6145 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6147 ;("gssdp" ,gssdp) ; unused
6148 ;("gupnp" ,gupnp) ; unused
6149 ;("gupnp-av" ,gupnp-av) ; unused
6150 ("json-glib" ,json-glib)
6152 ("libgdata" ,libgdata)
6153 ("libmediaart" ,libmediaart)
6154 ;("librest" ,rest) ; unused
6155 ("libsoup" ,libsoup)
6156 ("totam-pl-parser" ,totem-pl-parser)
6157 ("tracker" ,tracker))) ; unused because it's too old
6160 ;;Disable lua-factory as it needs missing dependencies
6161 #:configure-flags '("-Denable-lua-factory=no")))
6162 (home-page "https://live.gnome.org/Grilo")
6163 (synopsis "Plugins for the Grilo media discovery library")
6165 "Grilo is a framework focused on making media discovery and browsing easy
6166 for application developers. This package provides plugins for common media
6167 discovery protocols.")
6168 (license license:lgpl2.1+)))
6170 (define-public totem
6177 (uri (string-append "mirror://gnome/sources/totem/"
6178 (version-major+minor version) "/"
6179 "totem-" version ".tar.xz"))
6181 (base32 "02510lvzvxvmpcs64k6sqix8ysl7sihhhwvp0vmfv7521ryczylg"))))
6182 (build-system meson-build-system)
6184 `(("pkg-config" ,pkg-config)
6185 ("desktop-file-utils" ,desktop-file-utils)
6186 ("gettext" ,gettext-minimal)
6187 ("gobject-introspection" ,gobject-introspection)
6188 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6189 ("itstool" ,itstool)
6190 ("xmllint" ,libxml2)
6191 ("xorg-server" ,xorg-server-for-tests)))
6193 `(("dconf" ,dconf)))
6196 ("gdk-pixbuf" ,gdk-pixbuf)
6199 ("dbus-glib" ,dbus-glib)
6200 ("clutter" ,clutter)
6201 ("clutter-gtk" ,clutter-gtk)
6202 ("clutter-gst" ,clutter-gst)
6203 ("xorgproto" ,xorgproto)
6204 ("libxxf86vm" ,libxxf86vm)
6205 ("libxtst" ,libxtst)
6206 ("libxrandr" ,libxrandr)
6207 ("libxml2" ,libxml2)
6208 ("libsoup" ,libsoup)
6209 ("libpeas" ,libpeas)
6210 ("librsvg" ,librsvg)
6212 ("gnome-desktop" ,gnome-desktop)
6213 ("gstreamer" ,gstreamer)
6214 ("gst-plugins-base" ,gst-plugins-base)
6215 ("gst-plugins-good" ,gst-plugins-good)
6216 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6217 ("adwaita-icon-theme" ,adwaita-icon-theme)
6219 ("python-pygobject" ,python-pygobject)
6220 ("totem-pl-parser" ,totem-pl-parser)
6222 ("grilo-plugins" ,grilo-plugins)
6227 ;; Disable automatic GStreamer plugin installation via PackageKit and
6229 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6231 ;; Do not build .a files for the plugins, it's
6232 ;; completely useless. This saves 2 MiB.
6233 "--default-library" "shared")
6235 (modify-phases %standard-phases
6236 (add-after 'unpack 'skip-gtk-update-icon-cache
6237 ;; Don't create 'icon-theme.cache'.
6239 (substitute* "meson_post_install.py"
6240 (("gtk-update-icon-cache") "true"))
6243 'install 'disable-cache-generation
6245 (setenv "DESTDIR" "/")
6250 ;; Tests require a running X server.
6251 (system "Xvfb :1 &")
6252 (setenv "DISPLAY" ":1")
6255 'install 'wrap-totem
6256 (lambda* (#:key inputs outputs #:allow-other-keys)
6257 (let ((out (assoc-ref outputs "out"))
6258 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6259 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6260 (wrap-program (string-append out "/bin/totem")
6261 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6262 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6263 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6264 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6266 (home-page "https://wiki.gnome.org/Apps/Videos")
6267 (synopsis "Simple media player for GNOME based on GStreamer")
6268 (description "Totem is a simple yet featureful media player for GNOME
6269 which can read a large number of file formats.")
6270 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6271 ;; to be used and distributed together with GStreamer and Totem. See
6272 ;; file://COPYING in the source distribution for details.
6273 (license license:gpl2+)))
6275 (define-public rhythmbox
6281 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6282 (version-major+minor version) "/"
6283 "rhythmbox-" version ".tar.xz"))
6286 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6287 (build-system glib-or-gtk-build-system)
6290 (list "--enable-lirc"
6297 (modify-phases %standard-phases
6299 'install 'wrap-rhythmbox
6300 (lambda* (#:key inputs outputs #:allow-other-keys)
6301 (let ((out (assoc-ref outputs "out"))
6302 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6303 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6304 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6305 (python-path (getenv "PYTHONPATH")))
6306 (wrap-program (string-append out "/bin/rhythmbox")
6307 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6308 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6309 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6310 `("PYTHONPATH" ":" prefix (,python-path))))
6313 `(("dconf" ,dconf)))
6315 `(("itstool" ,itstool)
6316 ("intltool" ,intltool)
6317 ("glib" ,glib "bin")
6318 ("gobject-introspection" ,gobject-introspection)
6319 ("desktop-file-utils" ,desktop-file-utils)
6320 ("pkg-config" ,pkg-config)
6321 ("xmllint" ,libxml2)))
6323 `(("json-glib" ,json-glib)
6325 ("gnome-desktop" ,gnome-desktop)
6327 ("python-pygobject" ,python2-pygobject)
6330 ("adwaita-icon-theme" ,adwaita-icon-theme)
6332 ("grilo-plugins" ,grilo-plugins)
6333 ("gstreamer" ,gstreamer)
6334 ("gst-plugins-base" ,gst-plugins-base)
6335 ("gst-plugins-good" ,gst-plugins-good)
6336 ("totem-pl-parser" ,totem-pl-parser)
6337 ("libgudev" ,libgudev)
6338 ;;("libmtp" ,libmtp) FIXME: Not detected
6339 ("libsecret" ,libsecret)
6340 ("libsoup" ,libsoup)
6341 ("libnotify" ,libnotify)
6342 ("libpeas" ,libpeas)
6344 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6345 ;;("clutter" ,clutter)
6346 ;;("clutter-gtk" ,clutter-gtk)
6347 ;;("clutter-gst" ,clutter-gst)
6348 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6355 ("brasero" ,brasero)))
6356 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6357 (synopsis "Music player for GNOME")
6358 (description "Rhythmbox is a music playing application for GNOME. It
6359 supports playlists, song ratings, and any codecs installed through gstreamer.")
6360 (license license:gpl2+)))
6368 (uri (string-append "mirror://gnome/sources/" name "/"
6369 (version-major+minor version) "/"
6370 name "-" version ".tar.xz"))
6373 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6374 (build-system meson-build-system)
6377 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6378 (list (string-append "-Dc_link_args=-Wl,-rpath="
6379 (assoc-ref %outputs "out") "/lib/eog"))
6381 (modify-phases %standard-phases
6382 (add-after 'unpack 'skip-gtk-update-icon-cache
6383 ;; Don't create 'icon-theme.cache'.
6385 (substitute* "meson_post_install.py"
6386 (("gtk-update-icon-cache") "true"))
6388 (add-after 'install 'wrap-eog
6389 (lambda* (#:key outputs #:allow-other-keys)
6390 (let ((out (assoc-ref outputs "out"))
6391 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6392 (wrap-program (string-append out "/bin/eog")
6393 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6396 `(("dconf" ,dconf)))
6398 `(("intltool" ,intltool)
6399 ("itstool" ,itstool)
6400 ("glib" ,glib "bin")
6401 ("gobject-introspection" ,gobject-introspection)
6402 ("pkg-config" ,pkg-config)
6403 ("xmllint" ,libxml2)))
6405 `(("gnome-desktop" ,gnome-desktop)
6406 ("shared-mime-info" ,shared-mime-info)
6407 ("adwaita-icon-theme" ,adwaita-icon-theme)
6410 ("libexif" ,libexif)
6411 ("libpeas" ,libpeas)
6412 ("libjpeg" ,libjpeg-turbo)
6413 ("librsvg" ,librsvg-next)
6414 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6416 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6417 (synopsis "GNOME image viewer")
6418 (description "Eye of GNOME is the GNOME image viewer. It
6419 supports image conversion, rotation, and slideshows.")
6420 (license license:gpl2+)))
6422 (define-public eog-plugins
6423 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6424 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6425 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6426 ;; 'XDG_DATA_DIRS' appropriately set.
6428 (name "eog-plugins")
6432 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6433 (version-major+minor version) "/"
6434 "eog-plugins-" version ".tar.xz"))
6437 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6438 (build-system gnu-build-system)
6439 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6440 (synopsis "Extensions for the Eye of GNOME image viewer")
6442 `(("pkg-config" ,pkg-config)
6443 ("gettext" ,gettext-minimal)))
6448 ("libpeas" ,libpeas)
6449 ("libexif" ,libexif)
6450 ("libchamplain" ,libchamplain)))
6452 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6456 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6457 @item @dfn{Map}, which displays a map of where the picture was taken on the
6459 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6462 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6463 ;; long suspicious byte stream that goes to a
6464 ;; ".gresource.eog_postasa_plugin" ELF section.
6465 (license license:gpl2+)))
6467 (define-public libgudev
6473 (uri (string-append "mirror://gnome/sources/" name "/"
6474 version "/" name "-" version ".tar.xz"))
6477 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6478 (build-system gnu-build-system)
6481 ;; umockdev depends on libgudev.
6482 (list "--disable-umockdev")))
6484 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6485 ("gobject-introspection" ,gobject-introspection)
6486 ("pkg-config" ,pkg-config)))
6488 `(("glib" ,glib))) ; required by gudev-1.0.pc
6491 (home-page "https://wiki.gnome.org/Projects/libgudev")
6492 (synopsis "GObject bindings for libudev")
6494 "This library provides GObject bindings for libudev. It was originally
6495 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6496 (license license:lgpl2.1+)))
6504 (uri (string-append "mirror://gnome/sources/gvfs/"
6505 (version-major+minor version) "/"
6506 "gvfs-" version ".tar.xz"))
6509 "07lpcfric3h0302n9b1pwa38mjb76r9s98kg2867y2d1qvzfivxx"))
6510 ;; This patch may be removed when upgrading to version 1.46.x.
6512 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6513 (build-system meson-build-system)
6517 (list "-Dsystemduserunitdir=no"
6519 ;; Otherwise, the RUNPATH will lack the final path component.
6520 (string-append "-Dc_link_args=-Wl,-rpath="
6521 (assoc-ref %outputs "out") "/lib/gvfs"))))
6523 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6524 ("gettext" ,gettext-minimal)
6525 ("gtk-doc" ,gtk-doc/stable)
6526 ("pkg-config" ,pkg-config)
6527 ("xsltproc" ,libxslt)))
6530 ("docbook-xml" ,docbook-xml-4.2)
6531 ("docbook-xsl" ,docbook-xsl)
6533 ("elogind" ,elogind)
6537 ("gnome-online-accounts" ,gnome-online-accounts)
6538 ("libarchive" ,libarchive)
6539 ("libbluray" ,libbluray)
6541 ("libcdio-paranoia" ,libcdio-paranoia)
6542 ("libgcrypt" ,libgcrypt)
6543 ("libgdata" ,libgdata)
6544 ("libgphoto2" ,libgphoto2)
6545 ("libgudev" ,libgudev)
6546 ("libimobiledevice" ,libimobiledevice)
6549 ("libsecret" ,libsecret)
6550 ("libsmbclient" ,samba)
6551 ("libsoup" ,libsoup)
6552 ("libxml2" ,libxml2)
6553 ("openssh" ,openssh)
6555 ("udisks" ,udisks)))
6556 ;; CVE-2019-{12447,12448,12449} are fixed in the 1.40.2 release.
6557 (properties '((lint-hidden-cve . ("CVE-2019-12447"
6559 "CVE-2019-12449"))))
6560 (home-page "https://wiki.gnome.org/gvfs/")
6561 (synopsis "Userspace virtual file system for GIO")
6563 "GVFS is a userspace virtual file system designed to work with the I/O
6564 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6565 to all applications using the GIO API. It also supports exposing the GVFS
6566 mounts to non-GIO applications using FUSE.
6568 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6570 (license license:lgpl2.0+)))
6579 (url "https://github.com/hughsie/libgusb")
6581 (file-name (git-file-name name version))
6584 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6585 (build-system meson-build-system)
6587 `(("gobject-introspection" ,gobject-introspection)
6588 ("pkg-config" ,pkg-config)
6590 ("gtk-doc" ,gtk-doc/stable)))
6592 ;; Both of these are required by gusb.pc.
6594 ("libusb" ,libusb)))
6596 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6597 (home-page "https://github.com/hughsie/libgusb")
6598 (synopsis "GLib binding for libusb1")
6600 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6601 asynchronous control, bulk and interrupt transfers with proper cancellation
6602 and integration into a mainloop. This makes it easy to integrate low level
6603 USB transfers with your high-level application or system daemon.")
6604 (license license:lgpl2.1+)))
6606 (define-public simple-scan
6608 (name "simple-scan")
6613 (uri (string-append "mirror://gnome/sources/simple-scan/"
6614 (version-major+minor version) "/"
6615 "simple-scan-" version ".tar.xz"))
6617 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6618 (build-system meson-build-system)
6619 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6621 '(#:glib-or-gtk? #t))
6627 ("gdk-pixbuf" ,gdk-pixbuf)
6629 ("libsane" ,sane-backends)))
6631 `(("gettext" ,gettext-minimal)
6632 ("itstool" ,itstool)
6633 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6634 ("pkg-config" ,pkg-config)
6636 ("xmllint" ,libxml2)))
6637 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6638 (synopsis "Document and image scanner")
6640 "Document Scanner is an easy-to-use application that lets you connect your
6641 scanner and quickly capture images and documents in an appropriate format. It
6642 supports any scanner for which a suitable SANE driver is available, which is
6643 almost all of them.")
6644 (license license:gpl3+)))
6646 (define-public eolie
6652 (uri (string-append "https://adishatz.org/eolie/eolie-"
6656 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6657 (build-system meson-build-system)
6661 (modify-phases %standard-phases
6662 (add-after 'unpack 'skip-gtk-update-icon-cache
6663 ;; Don't create 'icon-theme.cache'.
6665 (substitute* "meson_post_install.py"
6666 (("gtk-update-icon-cache") "true"))
6668 (add-after 'wrap 'wrap-more
6669 (lambda* (#:key inputs outputs #:allow-other-keys)
6670 (let* ((out (assoc-ref outputs "out"))
6671 ;; These libraries must be on LD_LIBRARY_PATH.
6672 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6673 "atk" "gtk+" "gsettings-desktop-schemas"
6674 "gobject-introspection"))
6677 (string-append (assoc-ref inputs lib) "/lib"))
6680 (wrap-program (string-append out "/bin/eolie")
6681 `("LD_LIBRARY_PATH" ":" prefix (,path))
6682 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6683 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6686 `(("intltool" ,intltool)
6687 ("itstool" ,itstool)
6688 ("pkg-config" ,pkg-config)
6690 ("glib:bin" ,glib "bin")))
6692 `(("gobject-introspection" ,gobject-introspection)
6693 ("glib-networking" ,glib-networking)
6696 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6697 ("python" ,python-wrapper)
6698 ("python-dateutil" ,python-dateutil)
6699 ("python-pyfxa" ,python-pyfxa)
6700 ("python-pygobject" ,python-pygobject)
6701 ("python-pycairo" ,python-pycairo)
6702 ("python-pycrypto" ,python-pycrypto)
6703 ("libhandy" ,libhandy)
6704 ("libsecret" ,libsecret)
6705 ("gtkspell3" ,gtkspell3)
6706 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6707 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
6708 ("webkitgtk" ,webkitgtk)))
6709 (home-page "https://wiki.gnome.org/Apps/Eolie")
6710 (synopsis "Web browser for GNOME")
6712 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6713 a secret password store, an adblocker, and a modern UI.")
6714 (license license:gpl3+)))
6716 (define-public epiphany
6722 (uri (string-append "mirror://gnome/sources/epiphany/"
6723 (version-major+minor version) "/"
6724 "epiphany-" version ".tar.xz"))
6727 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6729 (build-system meson-build-system)
6733 (modify-phases %standard-phases
6734 (add-after 'unpack 'skip-gtk-update-icon-cache
6735 ;; Don't create 'icon-theme.cache'.
6737 (substitute* "post_install.py"
6738 (("gtk-update-icon-cache") "true"))
6740 (add-after 'unpack 'disable-failing-tests
6742 (substitute* "tests/meson.build"
6743 ;; embed_shell fails, because webkitgtk apparently no longer supports
6744 ;; overriding the ftp schema
6745 ;; web_app_utils fails due to missing network access
6746 (("(embed_shell|web_app_utils)_test,")
6747 "find_program('sh'), args: ['-c', 'exit 77'],"))
6749 (add-before 'check 'pre-check
6751 ;; Tests require a running X server.
6752 (system "Xvfb :1 &")
6753 (setenv "DISPLAY" ":1")
6756 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6757 (list (string-append "-Dc_link_args=-Wl,-rpath="
6758 (assoc-ref %outputs "out") "/lib/epiphany"))))
6760 `(("dconf" ,dconf)))
6762 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6763 ("glib:bin" ,glib "bin") ; for glib-mkenums
6764 ("intltool" ,intltool)
6765 ("itstool" ,itstool)
6766 ("pkg-config" ,pkg-config)
6767 ("xmllint" ,libxml2)
6768 ("xorg-server" ,xorg-server-for-tests)))
6772 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6773 ("glib-networking" ,glib-networking)
6774 ("gnome-desktop" ,gnome-desktop)
6775 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6776 ("json-glib" ,json-glib)
6777 ("iso-codes" ,iso-codes)
6778 ("libdazzle" ,libdazzle)
6779 ("libnotify" ,libnotify)
6780 ("libsecret" ,libsecret)
6781 ("libxslt" ,libxslt)
6782 ("nettle" ,nettle) ; for hogweed
6784 ("webkitgtk" ,webkitgtk)))
6785 (home-page "https://wiki.gnome.org/Apps/Web")
6786 (synopsis "GNOME web browser")
6788 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6789 principles are simplicity and standards compliance.")
6790 (license license:gpl2+)))
6792 (define-public d-feet
6798 (uri (string-append "mirror://gnome/sources/" name "/"
6799 (version-major+minor version) "/"
6800 name "-" version ".tar.xz"))
6803 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6804 (build-system glib-or-gtk-build-system)
6806 '(#:out-of-source? #f ; tests need to run in the source directory.
6808 (modify-phases %standard-phases
6812 ;; The test suite requires a running X server.
6813 (system "Xvfb :1 &")
6814 (setenv "DISPLAY" ":1")
6815 ;; Don't fail on missing '/etc/machine-id'.
6816 (setenv "DBUS_FATAL_WARNINGS" "0")
6817 ;; tests.py and window.py don't meet E402:
6818 ;; E402 module level import not at top of file
6819 (substitute* "src/tests/Makefile"
6820 (("--ignore=E123") "--ignore=E123,E402"))
6823 'install 'wrap-program
6824 (lambda* (#:key outputs #:allow-other-keys)
6825 (let ((prog (string-append (assoc-ref outputs "out")
6828 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6829 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6832 `(("intltool" ,intltool)
6833 ("itstool" ,itstool)
6834 ("pkg-config" ,pkg-config)
6835 ("python-pep8" ,python-pep8)
6836 ("xmllint" ,libxml2)
6837 ("xorg-server" ,xorg-server-for-tests)))
6839 `(("gobject-introspection" ,gobject-introspection)
6841 ("python" ,python-wrapper)
6842 ("hicolor-icon-theme" ,hicolor-icon-theme)
6843 ("python-pygobject" ,python-pygobject)))
6844 (home-page "https://wiki.gnome.org/Apps/DFeet")
6845 (synopsis "D-Bus debugger")
6847 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6848 of running programs and invoke methods on those interfaces.")
6849 (license license:gpl2+)))
6851 (define-public yelp-xsl
6859 (string-append "mirror://gnome/sources/" name "/"
6860 (version-major+minor version) "/"
6861 name "-" version ".tar.xz"))
6863 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6864 (build-system gnu-build-system)
6866 `(("gettext-minimal" ,gettext-minimal)
6867 ("itstool" ,itstool)
6868 ("xmllint" ,libxml2)))
6869 (synopsis "XSL stylesheets for Yelp")
6870 (description "Yelp-XSL is a collection of programs and data files to help
6871 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6872 that can be built upon for help viewers and publishing systems. These
6873 stylesheets output JavaScript and CSS content, and reference images
6874 provided by yelp-xsl. It also redistributes copies of the jQuery and
6875 jQuery.Syntax JavaScript libraries.")
6876 (home-page "https://wiki.gnome.org/Apps/Yelp")
6892 (uri (string-append "mirror://gnome/sources/" name "/"
6893 (version-major+minor version) "/"
6894 name "-" version ".tar.xz"))
6897 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6898 (build-system glib-or-gtk-build-system)
6900 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6901 ("intltool" ,intltool)
6902 ("itstool" ,itstool)
6903 ("pkg-config" ,pkg-config)))
6905 `(("dconf" ,dconf)))
6907 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6908 ("libxslt" ,libxslt)
6910 ("webkitgtk" ,webkitgtk)
6911 ("yelp-xsl" ,yelp-xsl)))
6912 (home-page "https://wiki.gnome.org/Apps/Yelp")
6913 (synopsis "GNOME help browser")
6915 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6916 man, info, and HTML documents. It can locate documents according to the
6917 freedesktop.org help system specification.")
6918 (license license:gpl2+)))
6920 (define-public yelp-tools
6928 (string-append "mirror://gnome/sources/" name "/"
6929 (version-major+minor version) "/"
6930 name "-" version ".tar.xz"))
6932 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6933 (build-system gnu-build-system)
6935 `(("pkg-config" ,pkg-config)))
6937 `(("yelp-xsl" ,yelp-xsl)))
6939 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6940 `(("itstool" ,itstool)
6941 ("xmllint" ,libxml2)
6942 ("xsltproc" ,libxslt)))
6943 (synopsis "Yelp documentation tools")
6945 "Yelp-tools is a collection of scripts and build utilities to help create,
6946 manage, and publish documentation for Yelp and the web. Most of the heavy
6947 lifting is done by packages like yelp-xsl and itstool. This package just
6948 wraps things up in a developer-friendly way.")
6949 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6950 (license license:gpl2+)))
6952 (define-public libgee
6958 (uri (string-append "mirror://gnome/sources/libgee/"
6959 (version-major+minor version) "/"
6960 "libgee-" version ".tar.xz"))
6963 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6964 (build-system gnu-build-system)
6967 (modify-phases %standard-phases
6968 (add-after 'unpack 'fix-introspection-install-dir
6969 (lambda* (#:key outputs #:allow-other-keys)
6970 (let ((out (assoc-ref outputs "out")))
6971 (substitute* "gee/Makefile.in"
6972 (("@INTROSPECTION_GIRDIR@")
6973 (string-append out "/share/gir-1.0/"))
6974 (("@INTROSPECTION_TYPELIBDIR@")
6975 (string-append out "/lib/girepository-1.0/")))))))))
6977 `(("glib" ,glib "bin")
6978 ("pkg-config" ,pkg-config)))
6981 ("gobject-introspection" ,gobject-introspection)))
6982 (home-page "https://wiki.gnome.org/Projects/Libgee")
6983 (synopsis "GObject collection library")
6985 "Libgee is a utility library providing GObject-based interfaces and
6986 classes for commonly used data structures.")
6987 (license license:lgpl2.1+)))
6989 (define-public gexiv2
6995 (uri (string-append "mirror://gnome/sources/" name "/"
6996 (version-major+minor version) "/"
6997 name "-" version ".tar.xz"))
7000 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
7001 (build-system meson-build-system)
7004 ("glib" ,glib "bin")
7005 ("pkg-config" ,pkg-config)
7008 ;; Listed in "Requires" section of gexiv2.pc
7009 `(("exiv2" ,exiv2)))
7012 ("gobject-introspection" ,gobject-introspection)))
7013 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7014 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7016 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7017 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7018 metadata in photo and video files of various formats.")
7019 (license license:gpl2+)))
7021 (define-public shotwell
7027 (uri (string-append "mirror://gnome/sources/shotwell/"
7028 (version-major+minor version) "/"
7029 "shotwell-" version ".tar.xz"))
7032 "1h5crjq59lqi8f8mdkadzi8pc3i9i2ik4lsx2nrhzq486fzdfhw6"))))
7033 (build-system meson-build-system)
7037 (modify-phases %standard-phases
7038 (add-after 'unpack 'skip-gtk-update-icon-cache
7040 (substitute* "build-aux/meson/postinstall.py"
7041 (("gtk-update-icon-cache") (which "true"))
7042 (("update-desktop-database") (which "true")))
7045 `(("dconf" ,dconf)))
7047 `(("gettext" ,gettext-minimal)
7048 ("glib:bin" ,glib "bin")
7049 ("itstool" ,itstool)
7050 ("pkg-config" ,pkg-config)
7055 ("gst-plugins-base" ,gst-plugins-base)
7056 ("gstreamer" ,gstreamer)
7057 ("json-glib" ,json-glib)
7058 ("libgdata" ,libgdata)
7060 ("libgphoto2" ,libgphoto2)
7061 ("libgudev" ,libgudev)
7063 ("libsoup" ,libsoup)
7064 ("libxml2" ,libxml2)
7066 ("webkitgtk" ,webkitgtk)))
7067 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7068 (synopsis "Photo manager for GNOME 3")
7070 "Shotwell is a digital photo manager designed for the GNOME desktop
7071 environment. It allows you to import photos from disk or camera, organize
7072 them by keywords and events, view them in full-window or fullscreen mode, and
7073 share them with others via social networking and more.")
7074 (license license:lgpl2.1+)))
7076 (define-public file-roller
7078 (name "file-roller")
7082 (uri (string-append "mirror://gnome/sources/file-roller/"
7083 (version-major+minor version) "/"
7084 "file-roller-" version ".tar.xz"))
7087 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7088 (build-system meson-build-system)
7090 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7091 ("intltool" ,intltool)
7092 ("itstool" ,itstool)
7093 ("pkg-config" ,pkg-config)
7094 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7095 ("glib:bin" ,glib "bin")))
7096 ;; TODO: Add libnautilus.
7099 ("gdk-pixbuf" ,gdk-pixbuf)
7100 ("json-glib" ,json-glib)
7101 ("libarchive" ,libarchive)
7102 ("libnotify" ,libnotify)
7104 ("libxml2" ,libxml2)))
7105 (synopsis "Graphical archive manager for GNOME")
7106 (description "File Roller is an archive manager for the GNOME desktop
7107 environment that allows users to view, unpack, and create compressed archives
7108 such as gzip tarballs.")
7109 (home-page "http://fileroller.sourceforge.net/")
7110 (license license:gpl2+)))
7112 (define-public gnome-session
7114 (name "gnome-session")
7118 (uri (string-append "mirror://gnome/sources/" name "/"
7119 (version-major+minor version) "/"
7120 name "-" version ".tar.xz"))
7123 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7127 (modify-phases %standard-phases
7128 (add-before 'configure 'pre-configure
7129 (lambda* (#:key outputs #:allow-other-keys)
7130 ;; Use elogind instead of systemd.
7131 (substitute* "meson.build"
7132 (("libsystemd-login") "libelogind")
7133 (("and libsystemd_daemon_dep.found.*") ","))
7134 (substitute* "gnome-session/gsm-systemd.c"
7135 (("#include <systemd/sd-login.h>")
7136 "#include <elogind/sd-login.h>"))
7137 ;; Remove uses of the systemd daemon.
7138 (substitute* "gnome-session/gsm-autostart-app.c"
7139 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7141 (add-after 'install 'wrap-gnome-session
7142 (lambda* (#:key inputs outputs #:allow-other-keys)
7143 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7144 (let ((glib (assoc-ref inputs "glib:bin"))
7145 (out (assoc-ref outputs "out")))
7146 (wrap-program (string-append out "/bin/gnome-session")
7147 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7151 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7152 "-Dman=false" ; FIXME: disabled because of docbook validation error
7153 "-Dsystemd_journal=false")))
7154 (build-system meson-build-system)
7156 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7157 ("pkg-config" ,pkg-config)
7158 ("intltool" ,intltool)
7159 ("xsltproc" ,libxslt)
7160 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7161 ("docbook-xsl" ,docbook-xsl)
7162 ("docbook-xml" ,docbook-xml)
7165 `(("elogind" ,elogind)
7166 ("gnome-desktop" ,gnome-desktop)
7167 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7169 ("json-glib" ,json-glib)
7171 ("libxcomposite" ,libxcomposite)
7172 ("libxtst" ,libxtst)
7175 ("xtrans" ,xtrans)))
7176 (synopsis "Session manager for GNOME")
7178 "This package contains the GNOME session manager, as well as a
7179 configuration program to choose applications starting on login.")
7180 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7181 (license license:gpl2+)))
7189 (uri (string-append "mirror://gnome/sources/" name "/"
7190 (version-major+minor version) "/"
7191 name "-" version ".tar.xz"))
7194 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7195 (build-system gnu-build-system)
7198 (modify-phases %standard-phases
7202 ;; The test suite requires a running X server.
7203 (system "Xvfb :1 &")
7204 (setenv "DISPLAY" ":1")
7206 ;; For the missing /etc/machine-id.
7207 (setenv "DBUS_FATAL_WARNINGS" "0")
7209 ;; Our mozjs-38 package does not compile the required Intl API
7210 ;; support for these failing tests.
7211 (substitute* "installed-tests/js/testLocale.js"
7212 ((".*toBeDefined.*") "")
7213 ((".*expect\\(datestr\\).*") ""))
7214 (substitute* "installed-tests/scripts/testCommandLine.sh"
7219 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7220 ("pkg-config" ,pkg-config)
7221 ("xmllint" ,libxml2)
7223 ("dbus-launch" ,dbus)
7224 ("dconf" ,dconf) ; required to properly store settings
7225 ("uuidgen" ,util-linux)
7226 ("xvfb" ,xorg-server-for-tests)))
7228 ;; These are all in the Requires.private field of gjs-1.0.pc.
7230 ("gobject-introspection" ,gobject-introspection)
7231 ("mozjs" ,mozjs-60)))
7234 ("readline" ,readline)))
7235 (synopsis "Javascript bindings for GNOME")
7236 (home-page "https://live.gnome.org/Gjs")
7238 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7239 javascript engine and the GObject introspection framework.")
7240 (license license:gpl2+)))
7242 (define-public gedit
7248 (uri (string-append "mirror://gnome/sources/" name "/"
7249 (version-major+minor version) "/"
7250 name "-" version ".tar.xz"))
7253 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7254 (build-system meson-build-system)
7258 ;; Otherwise, the RUNPATH will lack the final path component.
7259 (list (string-append "-Dc_link_args=-Wl,-rpath="
7260 (assoc-ref %outputs "out") "/lib/gedit"))
7262 ;; XXX: Generated .h files are sometimes used before being built.
7263 #:parallel-build? #f
7266 (modify-phases %standard-phases
7267 (add-after 'unpack 'skip-gtk-update-icon-cache
7268 ;; Don't create 'icon-theme.cache'.
7270 (substitute* "build-aux/meson/post_install.py"
7271 (("gtk-update-icon-cache") (which "true")))
7273 (add-after 'unpack 'patch-libgd-fetch
7274 (lambda* (#:key inputs #:allow-other-keys)
7275 (let ((libgd (assoc-ref inputs "libgd")))
7276 ;; Calling git is unnecessary because libgd is fetched as a
7277 ;; native input to this package.
7278 (substitute* "meson.build"
7280 (copy-recursively libgd "subprojects/libgd")
7282 (add-after 'install 'wrap-gedit
7283 (lambda* (#:key inputs outputs #:allow-other-keys)
7284 (let ((out (assoc-ref outputs "out"))
7285 (gtksourceview (assoc-ref inputs "gtksourceview"))
7286 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7287 (python-path (getenv "PYTHONPATH")))
7288 (wrap-program (string-append out "/bin/gedit")
7290 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7291 `("PYTHONPATH" ":" prefix (,python-path))
7292 ;; For language-specs.
7293 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7297 `(("dconf" ,dconf)))
7299 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7300 ("intltool" ,intltool)
7301 ("itstool" ,itstool)
7302 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7303 ("gobject-introspection" ,gobject-introspection)
7308 (url "https://gitlab.gnome.org/GNOME/libgd")
7309 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7310 (file-name (git-file-name "libgd" version))
7312 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7313 ("pkg-config" ,pkg-config)))
7318 ("gtksourceview" ,gtksourceview)
7319 ("libpeas" ,libpeas)
7320 ("libxml2" ,libxml2)
7321 ("iso-codes" ,iso-codes)
7322 ("python-pygobject" ,python-pygobject)
7324 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7327 ("adwaita-icon-theme" ,adwaita-icon-theme)
7328 ("libsoup" ,libsoup)
7329 ("gnome-desktop" ,gnome-desktop)))
7330 (home-page "https://wiki.gnome.org/Apps/Gedit")
7331 (synopsis "GNOME text editor")
7332 (description "While aiming at simplicity and ease of use, gedit is a
7333 powerful general purpose text editor.")
7334 (license license:gpl2+)))
7336 (define-public zenity
7342 (uri (string-append "mirror://gnome/sources/zenity/"
7343 (version-major+minor version) "/"
7344 "zenity-" version ".tar.xz"))
7347 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7348 (build-system gnu-build-system)
7350 `(("gettext" ,gettext-minimal)
7351 ("itstool" ,itstool)
7352 ("pkg-config" ,pkg-config)))
7354 `(("libnotify" ,libnotify)
7355 ("webkitgtk" ,webkitgtk)))
7356 (synopsis "Display graphical dialog boxes from shell scripts")
7357 (home-page "https://www.gnome.org")
7359 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7360 to display dialog boxes from the commandline and shell scripts.")
7361 (license license:lgpl2.0+)))
7363 (define-public mutter
7369 (uri (string-append "mirror://gnome/sources/" name "/"
7370 (version-major+minor version) "/"
7371 name "-" version ".tar.xz"))
7374 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7375 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7376 ;; versions of cogl and clutter. As a result, many of the inputs,
7377 ;; propagated-inputs, and configure flags used in cogl and clutter are
7378 ;; needed here as well.
7379 (build-system meson-build-system)
7381 '(;; XXX: All mutter tests fail with the following error:
7382 ;; Settings schema 'org.gnome.mutter' is not installed
7386 ;; TODO: Enable profiler when Sysprof is packaged.
7387 (list "-Dprofiler=false"
7388 ;; Otherwise, the RUNPATH will lack the final path component.
7389 (string-append "-Dc_link_args=-Wl,-rpath="
7390 (assoc-ref %outputs "out") "/lib:"
7391 (assoc-ref %outputs "out") "/lib/mutter-5")
7393 ;; The following flags are needed for the bundled clutter
7394 (string-append "-Dxwayland_path="
7395 (assoc-ref %build-inputs "xorg-server-xwayland")
7398 ;; the remaining flags are needed for the bundled cogl
7399 (string-append "-Dopengl_libname="
7400 (assoc-ref %build-inputs "mesa")
7402 #:phases (modify-phases %standard-phases
7403 (add-after 'unpack 'fix-build-with-mesa-20
7405 ;; Mimic upstream commit a444a4c5f58ea516ad for
7406 ;; compatibility with Mesa 20. Remove for 3.36.
7407 (substitute* '("src/backends/meta-egl-ext.h"
7408 "src/backends/meta-egl.c"
7409 "src/backends/meta-egl.h")
7410 (("#include <EGL/eglext\\.h>" all)
7411 (string-append all "\n#include <EGL/eglmesaext.h>")))
7412 (substitute* "cogl/cogl/meson.build"
7413 (("#include <EGL/eglext\\.h>" all)
7414 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7417 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7418 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7419 ("gobject-introspection" ,gobject-introspection)
7420 ("intltool" ,intltool)
7421 ("pkg-config" ,pkg-config)
7422 ("xorg-server" ,xorg-server-for-tests)
7424 ("autoconf" ,autoconf)
7425 ("automake" ,automake)
7426 ("libtool" ,libtool)))
7428 `(;; libmutter.pc refers to these:
7429 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7431 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7434 ("gdk-pixbuf" ,gdk-pixbuf)
7436 ("json-glib" ,json-glib)
7437 ("libinput" ,libinput)
7439 ("libxcomposite" ,libxcomposite)
7440 ("libxdamage" ,libxdamage)
7441 ("libxext" ,libxext)
7442 ("libxfixes" ,libxfixes)
7443 ("libxkbcommon" ,libxkbcommon)
7444 ("libxrandr" ,libxrandr)
7448 ("xinput" ,xinput)))
7450 `(("elogind" ,elogind)
7451 ("gnome-desktop" ,gnome-desktop)
7452 ("gnome-settings-daemon" ,gnome-settings-daemon)
7453 ("libcanberra-gtk" ,libcanberra)
7454 ("libgudev" ,libgudev)
7457 ("libwacom" ,libwacom)
7458 ("libxkbfile" ,libxkbfile)
7459 ("libxrandr" ,libxrandr)
7460 ("libxtst" ,libxtst)
7461 ("pipewire" ,pipewire)
7462 ("startup-notification" ,startup-notification)
7463 ("upower-glib" ,upower)
7464 ("xkeyboard-config" ,xkeyboard-config)
7465 ("xorg-server-xwayland" ,xorg-server-xwayland)
7466 ("zenity" ,zenity)))
7467 (synopsis "Window and compositing manager")
7468 (home-page "https://www.gnome.org")
7470 "Mutter is a window and compositing manager that displays and manages your
7471 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7472 Clutter toolkit with solid window-management logic inherited from the Metacity
7474 (license license:gpl2+)))
7476 (define-public gnome-online-accounts
7478 (name "gnome-online-accounts")
7482 (uri (string-append "mirror://gnome/sources/" name "/"
7483 (version-major+minor version) "/"
7484 name "-" version ".tar.xz"))
7487 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7488 (outputs '("out" "lib"))
7489 (build-system glib-or-gtk-build-system)
7492 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7494 (modify-phases %standard-phases
7495 (add-before 'configure 'patch-libgoa-output
7496 (lambda* (#:key outputs #:allow-other-keys)
7497 (let ((lib (assoc-ref outputs "lib")))
7498 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7500 (("@exec_prefix@") lib)
7501 (("@libdir@") (string-append lib "/lib"))
7502 (("@includedir@") (string-append lib "/include"))
7503 (("@datadir@") (string-append lib "/share")))
7504 ;; Make sure gobject-introspection knows about the output
7505 ;; too (see <https://bugs.gnu.org/36535>).
7506 (setenv "outputs" "out lib")
7509 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7510 ("gobject-introspection" ,gobject-introspection)
7511 ("intltool" ,intltool)
7512 ("pkg-config" ,pkg-config)
7514 ("xsltproc" ,libxslt)))
7516 `(("glib" ,glib) ; required by goa-1.0.pc
7517 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7519 `(("docbook-xsl" ,docbook-xsl)
7520 ("json-glib" ,json-glib)
7521 ("libsecret" ,libsecret)
7523 ("webkitgtk" ,webkitgtk)))
7524 (synopsis "Single sign-on framework for GNOME")
7525 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7527 "GNOME Online Accounts provides interfaces so that applications and
7528 libraries in GNOME can access the user's online accounts. It has providers for
7529 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7530 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7531 (license license:lgpl2.0+)))
7533 (define-public evolution-data-server
7535 (name "evolution-data-server")
7539 (uri (string-append "mirror://gnome/sources/" name "/"
7540 (version-major+minor version) "/"
7541 name "-" version ".tar.xz"))
7542 (patches (search-patches "evolution-data-server-locales.patch"
7543 "evolution-data-server-libical-compat.patch"
7544 "evolution-data-server-CVE-2020-14928.patch"
7545 "evolution-data-server-CVE-2020-16117.patch"))
7548 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7549 (build-system cmake-build-system)
7552 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7553 (runpaths (map (lambda (s)
7554 (string-append lib "/evolution-data-server/" s))
7555 '("addressbook-backends" "calendar-backends"
7556 "camel-providers" "credential-modules"
7557 "registry-modules"))))
7558 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7559 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7560 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7561 "-DENABLE_VALA_BINDINGS=ON"
7562 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7563 (string-append lib "/evolution-data-server;")
7564 (string-join runpaths ";"))
7565 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7567 (modify-phases %standard-phases
7568 (add-after 'unpack 'disable-failing-tests
7570 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7571 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7572 (delete-file-recursively "tests/book-migration")
7573 (substitute* "tests/CMakeLists.txt"
7574 (("add_subdirectory\\(book-migration\\)") ""))
7576 (add-after 'unpack 'patch-paths
7578 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7579 "tests/libedata-book/data-test-utils.c"
7580 "tests/libedata-book/test-book-cache-utils.c"
7581 "tests/libedata-cal/test-cal-cache-utils.c")
7582 (("/bin/rm") (which "rm")))
7584 (add-before 'configure 'dont-override-rpath
7586 (substitute* "CMakeLists.txt"
7587 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7588 ;; Remove it so the configure flag is respected.
7589 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7592 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7593 ("gobject-introspection" ,gobject-introspection)
7595 ("intltool" ,intltool)
7596 ("pkg-config" ,pkg-config)
7598 ("python" ,python-wrapper)))
7600 ;; These are all in the Requires field of .pc files.
7602 ("libical" ,libical)
7603 ("libsecret" ,libsecret)
7604 ("libsoup" ,libsoup)
7606 ("sqlite" ,sqlite)))
7610 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7611 ("json-glib" ,json-glib)
7612 ("libcanberra" ,libcanberra)
7613 ("libgweather" ,libgweather)
7614 ("mit-krb5" ,mit-krb5)
7615 ("openldap" ,openldap)
7616 ("webkitgtk" ,webkitgtk)))
7617 (synopsis "Store address books and calendars")
7618 (home-page "https://wiki.gnome.org/Apps/Evolution")
7620 "This package provides a unified backend for programs that work with
7621 contacts, tasks, and calendar information. It was originally developed for
7622 Evolution (hence the name), but is now used by other packages as well.")
7623 (license license:lgpl2.0)))
7625 (define-public caribou
7631 (uri (string-append "mirror://gnome/sources/" name "/"
7632 (version-major+minor version) "/"
7633 name "-" version ".tar.xz"))
7636 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7637 (build-system glib-or-gtk-build-system)
7640 (modify-phases %standard-phases
7643 (lambda* (#:key outputs #:allow-other-keys)
7644 (let ((out (assoc-ref outputs "out")))
7645 ;; Use absolute shared library path in Caribou-1.0.typelib.
7646 (substitute* "libcaribou/Makefile"
7647 (("--shared-library=libcaribou.so")
7648 (string-append "--shared-library="
7649 out "/lib/libcaribou.so")))
7651 (add-after 'install 'wrap-programs
7652 (lambda* (#:key outputs #:allow-other-keys)
7653 (let* ((out (assoc-ref outputs "out"))
7654 (python-path (getenv "PYTHONPATH"))
7655 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7659 `("PYTHONPATH" ":" prefix (,python-path))
7660 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7661 (list (string-append out "/bin/caribou-preferences")
7662 (string-append out "/libexec/antler-keyboard"))))
7665 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7666 ("gobject-introspection" ,gobject-introspection)
7667 ("intltool" ,intltool)
7668 ("pkg-config" ,pkg-config)
7671 ("xsltproc" ,libxslt)))
7673 ;; caribou-1.0.pc refers to all these.
7674 `(("libgee" ,libgee)
7675 ("libxklavier" ,libxklavier)
7676 ("libxtst" ,libxtst)
7679 `(("clutter" ,clutter)
7682 ("python-pygobject" ,python-pygobject)))
7683 (synopsis "Text entry and UI navigation application")
7684 (home-page "https://wiki.gnome.org/Projects/Caribou")
7686 "Caribou is an input assistive technology intended for switch and pointer
7688 (license license:lgpl2.1)))
7690 (define-public network-manager
7692 (name "network-manager")
7696 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7697 (version-major+minor version) "/"
7698 "NetworkManager-" version ".tar.xz"))
7699 (patches (search-patches "network-manager-plugin-path.patch"))
7702 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7703 (modules '((guix build utils)))
7706 (substitute* "src/devices/wwan/nm-modem-manager.c"
7707 (("systemd") "elogind"))
7709 (build-system meson-build-system)
7711 "doc")) ; 8 MiB of gtk-doc HTML
7714 (let ((out (assoc-ref %outputs "out"))
7715 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7718 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7720 (string-append "-Dc_link_args=-Wl,-rpath="
7722 out "/lib/NetworkManager/" ,version)
7723 "-Dsystemd_journal=false"
7724 "-Dsession_tracking=elogind"
7725 "-Dsuspend_resume=elogind"
7726 "-Dsystemdsystemunitdir=no"
7727 "-Dsession_tracking_consolekit=false"
7736 "--localstatedir=/var"
7737 (string-append "-Dudev_dir="
7739 (string-append "-Ddbus_conf_dir="
7740 out "/etc/dbus-1/system.d")
7742 (string-append "-Ddhclient=" dhclient)))
7744 (modify-phases %standard-phases
7745 (add-before 'configure 'pre-configure
7747 ;; These tests try to test aspects of network-manager's
7748 ;; functionality within restricted containers, but they don't
7749 ;; cope with being already in the Guix build jail as that jail
7750 ;; lacks some features that they would like to proxy over (like
7752 (substitute* "src/platform/tests/meson.build"
7753 ((".*test-address-linux.*") "")
7754 ((".*test-cleanup-linux.*") "")
7755 ((".*test-link-linux.*") "")
7756 ((".*test-route-linux.*") ""))
7757 (substitute* "src/devices/tests/meson.build"
7758 ((".*test-acd.*") "")
7759 ((".*test-lldp.*") ""))
7761 (add-after 'unpack 'patch-docbook-xml
7762 (lambda* (#:key inputs #:allow-other-keys)
7763 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7764 "/xml/dtd/docbook")))
7765 (substitute* (find-files "." ".*\\.(xsl|xml)")
7766 (("http://.*/docbookx\\.dtd")
7767 (string-append xmldoc "/docbookx.dtd")))
7769 (add-before 'check 'pre-check
7771 ;; For the missing /etc/machine-id.
7772 (setenv "DBUS_FATAL_WARNINGS" "0")
7774 (add-before 'install 'no-polkit-magic
7775 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7777 (setenv "PKEXEC_UID" "something")
7779 (add-after 'install 'move-doc
7780 (lambda* (#:key outputs #:allow-other-keys)
7781 (let ((out (assoc-ref outputs "out"))
7782 (doc (assoc-ref outputs "doc")))
7783 (mkdir-p (string-append doc "/share"))
7784 (for-each (lambda (directory)
7785 (copy-recursively (string-append out directory)
7786 (string-append doc directory))
7787 (delete-file-recursively
7788 (string-append out directory)))
7789 '("/share/doc" "/share/gtk-doc"))
7794 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7795 ("gtk-doc" ,gtk-doc/stable)
7796 ("gobject-introspection" ,gobject-introspection)
7797 ("docbook-xml" ,docbook-xml)
7798 ("docbook-xsl" ,docbook-xsl)
7799 ("intltool" ,intltool)
7800 ("libxslt" ,libxslt)
7801 ("libxml2" ,libxml2)
7802 ("pkg-config" ,pkg-config)
7805 ("python" ,python-wrapper)
7806 ("python-dbus" ,python-dbus)
7807 ("python-pygobject" ,python-pygobject)))
7810 ("cyrus-sasl" ,cyrus-sasl)
7811 ("dbus-glib" ,dbus-glib)
7812 ("dnsmasq" ,dnsmasq)
7815 ("iptables" ,iptables)
7816 ("isc-dhcp" ,isc-dhcp)
7817 ("iwd" ,iwd) ; wpa_supplicant alternative
7818 ("jansson" ,jansson)
7820 ("libgcrypt" ,libgcrypt)
7821 ("libgudev" ,libgudev)
7824 ("libsoup" ,libsoup)
7825 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7826 ("modem-manager" ,modem-manager)
7827 ("newt" ,newt) ;for the 'nmtui' console interface
7828 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7831 ("readline" ,readline)
7832 ("util-linux" ,util-linux)
7833 ("elogind" ,elogind)))
7834 (synopsis "Network connection manager")
7835 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7837 "NetworkManager is a system network service that manages your network
7838 devices and connections, attempting to keep active network connectivity when
7839 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7840 devices, and provides VPN integration with a variety of different VPN
7842 ;; “This NetworkManager project consists of the daemon, client tools, and
7843 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7845 (license (list license:gpl2+
7847 (properties '((upstream-name . "NetworkManager")))))
7849 (define-public network-manager-openvpn
7851 (name "network-manager-openvpn")
7856 "mirror://gnome/sources/NetworkManager-openvpn/"
7857 (version-major+minor version)
7858 "/NetworkManager-openvpn-" version ".tar.xz"))
7861 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7862 (build-system gnu-build-system)
7864 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7866 (modify-phases %standard-phases
7867 (add-after 'configure 'patch-path
7868 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7869 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7871 (modprobe (string-append (assoc-ref inputs "kmod")
7873 (pretty-ovpn (string-append "\"" ovpn "\"")))
7877 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7878 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7879 (("\"/sbin/openvpn\"") pretty-ovpn)
7880 (("/sbin/modprobe") modprobe)))
7881 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7884 `(("pkg-config" ,pkg-config)
7885 ("intltool" ,intltool)))
7889 ("openvpn" ,openvpn)
7890 ("network-manager" ,network-manager)
7892 ("libsecret" ,libsecret)))
7893 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7894 (synopsis "OpenVPN plug-in for NetworkManager")
7896 "This extension of NetworkManager allows it to take care of connections
7897 to virtual private networks (VPNs) via OpenVPN.")
7898 (license license:gpl2+)
7899 (properties `((upstream-name . "NetworkManager-openvpn")))))
7901 (define-public network-manager-vpnc
7903 (name "network-manager-vpnc")
7908 "mirror://gnome/sources/NetworkManager-vpnc/"
7909 (version-major+minor version)
7910 "/NetworkManager-vpnc-" version ".tar.xz"))
7913 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7914 (build-system gnu-build-system)
7916 `(#:configure-flags '("--enable-absolute-paths"
7917 "--localstatedir=/var"
7918 ;; libnm-glib has been removed from network-manager
7919 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7920 "--with-libnm-glib=no")
7922 (modify-phases %standard-phases
7923 (add-after 'configure 'patch-path
7924 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7925 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7927 (modprobe (string-append (assoc-ref inputs "kmod")
7929 (pretty-ovpn (string-append "\"" vpnc "\"")))
7930 (substitute* "src/nm-vpnc-service.c"
7931 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7932 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7933 (("\"/sbin/vpnc\"") pretty-ovpn)
7934 (("/sbin/modprobe") modprobe)))
7937 `(("pkg-config" ,pkg-config)
7938 ("intltool" ,intltool)))
7943 ("network-manager" ,network-manager)
7945 ("libsecret" ,libsecret)))
7946 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7947 (synopsis "VPNC plug-in for NetworkManager")
7949 "Support for configuring virtual private networks based on VPNC.
7950 Compatible with Cisco VPN concentrators configured to use IPsec.")
7951 (license license:gpl2+)
7952 (properties `((upstream-name . "NetworkManager-vpnc")))))
7954 (define-public network-manager-openconnect
7956 (name "network-manager-openconnect")
7961 "mirror://gnome/sources/NetworkManager-openconnect/"
7962 (version-major+minor version)
7963 "/NetworkManager-openconnect-" version ".tar.xz"))
7966 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7967 (build-system gnu-build-system)
7969 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7971 (modify-phases %standard-phases
7972 (add-after 'configure 'patch-path
7973 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7974 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7975 "/sbin/openconnect"))
7976 (modprobe (string-append (assoc-ref inputs "kmod")
7978 (pretty-ovpn (string-append "\"" openconnect "\"")))
7979 (substitute* "src/nm-openconnect-service.c"
7980 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7981 (("/sbin/modprobe") modprobe)))
7984 `(("intltool" ,intltool)
7986 ("pkg-config" ,pkg-config)))
7991 ("libsecret" ,libsecret)
7992 ("libxml2" ,libxml2)
7994 ("network-manager" ,network-manager)
7995 ("openconnect" ,openconnect)))
7996 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7997 (synopsis "OpenConnect plug-in for NetworkManager")
7999 "This extension of NetworkManager allows it to take care of connections
8000 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
8001 Cisco's AnyConnect SSL VPN.")
8002 (license license:gpl2+)
8003 (properties `((upstream-name . "NetworkManager-openconnect")
8005 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8006 ;; file refers to account "nm-openconnect". Specify it here
8007 ;; so that 'network-manager-service-type' creates it.
8008 (user-accounts . ("nm-openconnect"))))))
8010 (define-public mobile-broadband-provider-info
8012 (name "mobile-broadband-provider-info")
8013 (version "20190116")
8017 "mirror://gnome/sources/"
8018 "mobile-broadband-provider-info/" version "/"
8019 "mobile-broadband-provider-info-" version ".tar.xz"))
8022 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
8023 (build-system gnu-build-system)
8025 `(#:tests? #f)) ; no tests
8026 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8027 (synopsis "Database of broadband connection configuration")
8028 (description "Database of broadband connection configuration.")
8029 (license license:public-domain)))
8031 (define-public network-manager-applet
8033 (name "network-manager-applet")
8037 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8038 (version-major+minor version) "/"
8039 "network-manager-applet-" version ".tar.xz"))
8042 "0lsjkbv66hn7acl2pg9h6hz4b700zzv4cjwrwjvy7043blw0bcla"))))
8043 (build-system meson-build-system)
8047 '("-Dappindicator=yes")))
8049 `(("intltool" ,intltool)
8050 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
8051 ("gobject-introspection" ,gobject-introspection)
8052 ("gtk-doc" ,gtk-doc/stable)
8053 ("pkg-config" ,pkg-config)))
8055 ;; libnm-gtk.pc refers to all these.
8056 `(("dbus-glib" ,dbus-glib)
8058 ("network-manager" ,network-manager)
8059 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8060 ("libnma" ,libnma)))
8063 ("libappindicator" ,libappindicator)
8064 ("libgudev" ,libgudev)
8065 ("libnotify" ,libnotify)
8066 ("libsecret" ,libsecret)
8067 ("libselinux" ,libselinux)
8068 ("jansson" ,jansson) ; for team support
8069 ("modem-manager" ,modem-manager)))
8070 (synopsis "Applet for managing network connections")
8071 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8073 "This package contains a systray applet for NetworkManager. It displays
8074 the available networks and allows users to easily switch between them.")
8075 (license license:gpl2+)))
8077 (define-public libxml++
8083 (uri (string-append "mirror://gnome/sources/" name "/"
8084 (version-major+minor version) "/"
8085 name "-" version ".tar.xz"))
8088 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8089 (build-system gnu-build-system)
8090 ;; libxml++-3.0.pc refers to all these.
8092 `(("libxml2" ,libxml2)
8093 ("glibmm" ,glibmm)))
8096 ("pkg-config" ,pkg-config)))
8097 (home-page "http://libxmlplusplus.sourceforge.net/")
8098 (synopsis "C++ wrapper for XML parser library libxml2")
8100 "This package provides a C++ wrapper for the XML parser library
8102 (license license:lgpl2.1+)))
8104 (define-public libxml++-2
8111 (uri (string-append "mirror://gnome/sources/" name "/"
8112 (version-major+minor version) "/"
8113 name "-" version ".tar.xz"))
8116 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8124 (uri (string-append "mirror://gnome/sources/" name "/"
8125 (version-major+minor version) "/"
8126 name "-" version ".tar.xz"))
8129 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8130 (patches (search-patches "gdm-default-session.patch"))))
8131 (build-system glib-or-gtk-build-system)
8134 `("--without-plymouth"
8135 "--disable-systemd-journal"
8137 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8138 ;; instead of having to replace it (i.e., stopping the mingetty
8139 ;; service for TTY 1 before starting GDM).
8140 "--with-initial-vt=7"
8142 ;; Use '/etc/environment' for locale settings instead of the
8143 ;; systemd-specific '/etc/locale.conf'.
8144 "--with-lang-file=/etc/environment"
8146 ,(string-append "--with-udevdir="
8147 (assoc-ref %outputs "out") "/lib/udev")
8149 "--localstatedir=/var"
8150 ,(string-append "--with-default-path="
8151 (string-join '("/run/setuid-programs"
8152 "/run/current-system/profile/bin"
8153 "/run/current-system/profile/sbin")
8155 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8156 ;; XDG_DATA_DIRS so that it finds its schemas.
8157 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8159 (modify-phases %standard-phases
8161 'configure 'pre-configure
8162 (lambda* (#:key inputs outputs #:allow-other-keys)
8163 ;; We don't have <systemd/sd-daemon.h>.
8164 (substitute* '("common/gdm-log.c"
8165 "daemon/gdm-server.c"
8166 "daemon/gdm-session-worker.c"
8167 "daemon/gdm-session-worker-job.c")
8168 (("#include <systemd/sd-daemon\\.h>") ""))
8169 ;; Use elogind for sd-login.
8170 (substitute* '("common/gdm-common.c"
8171 "daemon/gdm-local-display-factory.c"
8172 "daemon/gdm-manager.c"
8173 "libgdm/gdm-user-switching.c")
8174 (("#include <systemd/sd-login\\.h>")
8175 "#include <elogind/sd-login.h>"))
8176 ;; Check for elogind.
8177 (substitute* '("configure")
8180 ;; Look for system-installed sessions in
8181 ;; /run/current-system/profile/share.
8182 (substitute* '("libgdm/gdm-sessions.c"
8183 "daemon/gdm-session.c"
8184 "daemon/gdm-display.c"
8185 "daemon/gdm-launch-environment.c")
8187 "\"/run/current-system/profile/share/x")
8188 (("DATADIR \"/wayland")
8189 "\"/run/current-system/profile/share/wayland")
8190 (("DATADIR \"/gnome")
8191 "\"/run/current-system/profile/share/gnome"))
8192 (let ((propagate '("GDM_CUSTOM_CONF"
8196 ;; XXX: Remove this once GNOME Shell is
8197 ;; a dependency of GDM.
8199 (substitute* "daemon/gdm-session.c"
8200 (("set_up_session_environment \\(self\\);")
8201 (apply string-append
8202 "set_up_session_environment (self);\n"
8205 "gdm_session_set_environment_variable "
8206 "(self, \"" name "\","
8207 "g_getenv (\"" name "\"));\n"))
8209 ;; Find the configuration file using an environment variable.
8210 (substitute* '("common/gdm-settings.c")
8211 (("GDM_CUSTOM_CONF")
8212 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8213 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8214 " : GDM_CUSTOM_CONF)")))
8215 ;; Use service-supplied path to X.
8216 (substitute* '("daemon/gdm-server.c")
8217 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8218 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8219 (substitute* '("daemon/gdm-wayland-session.c"
8220 "daemon/gdm-x-session.c")
8221 (("\"dbus-daemon\"")
8222 "g_getenv (\"GDM_DBUS_DAEMON\")")
8224 "g_getenv (\"GDM_X_SERVER\")")
8225 (("GDMCONFDIR \"/Xsession\"")
8226 "g_getenv (\"GDM_X_SESSION\")"))
8227 ;; Use an absolute path for GNOME Session.
8228 (substitute* "daemon/gdm-launch-environment.c"
8229 (("\"gnome-session\"")
8230 (string-append "\"" (assoc-ref inputs "gnome-session")
8231 "/bin/gnome-session\"")))
8232 ;; Do not automatically select the placeholder session.
8233 (substitute* "daemon/gdm-session.c"
8234 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8235 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8236 "(g_strcmp0(search_dirs[i], \""
8237 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8239 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8240 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8241 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8243 ;; GDM requires that there be at least one desktop entry
8244 ;; file. This phase installs a hidden one that simply
8245 ;; fails. This enables users to use GDM with a
8246 ;; '~/.xsession' script with no other desktop entry files.
8247 ;; See <https://bugs.gnu.org/35068>.
8248 (add-after 'install 'install-placeholder-desktop-entry
8249 (lambda* (#:key inputs outputs #:allow-other-keys)
8250 (let* ((out (assoc-ref outputs "out"))
8251 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8252 (fail (string-append sessions "/fail.desktop")))
8254 (with-output-to-file fail
8258 '("[Desktop Entry]\n"
8260 "Type=Application\n"
8262 "Comment=This session fails immediately.\n"
8266 ;; GDM needs GNOME Session to run these applications. We link
8267 ;; their autostart files in `share/gdm/greeter/autostart'
8268 ;; because GDM explicitly tells GNOME Session to look there.
8270 ;; XXX: GNOME Shell should be linked here too, but currently
8271 ;; GNOME Shell depends on GDM.
8272 (add-after 'install 'link-autostart-files
8273 (lambda* (#:key inputs outputs #:allow-other-keys)
8274 (let* ((out (assoc-ref outputs "out"))
8275 (autostart (string-append out "/share/gdm/"
8276 "greeter/autostart"))
8277 (settings (assoc-ref inputs "gnome-settings-daemon")))
8279 (with-directory-excursion autostart
8280 (for-each (lambda (desktop)
8281 (symlink desktop (basename desktop)))
8282 (find-files (string-append settings "/etc/xdg"))))
8286 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8287 ("gobject-introspection" ,gobject-introspection)
8288 ("intltool" ,intltool)
8289 ("itstool" ,itstool)
8290 ("pkg-config" ,pkg-config)
8291 ("xmllint" ,libxml2)))
8293 `(("accountsservice" ,accountsservice)
8294 ("check" ,check-0.14) ;for testing
8295 ("elogind" ,elogind)
8296 ("gnome-session" ,gnome-session)
8297 ("gnome-settings-daemon" ,gnome-settings-daemon)
8299 ("iso-codes" ,iso-codes)
8300 ("libcanberra" ,libcanberra)
8301 ("linux-pam" ,linux-pam)))
8302 (synopsis "Display manager for GNOME")
8303 (home-page "https://wiki.gnome.org/Projects/GDM/")
8305 "GNOME Display Manager is a system service that is responsible for
8306 providing graphical log-ins and managing local and remote displays.")
8307 (license license:gpl2+)))
8309 (define-public libgtop
8315 (uri (string-append "mirror://gnome/sources/libgtop/"
8316 (version-major+minor version) "/"
8317 "libgtop-" version ".tar.xz"))
8320 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8321 (build-system gnu-build-system)
8323 `(("gobject-introspection" ,gobject-introspection)
8324 ("intltool" ,intltool)
8326 ("pkg-config" ,pkg-config)))
8328 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8329 (synopsis "Portable system access library")
8330 (home-page "https://www.gnome.org/")
8332 "LibGTop is a library to get system specific data such as CPU and memory
8333 usage and information about running processes.")
8334 (license license:gpl2+)))
8336 (define-public gnome-bluetooth
8338 (name "gnome-bluetooth")
8342 (uri (string-append "mirror://gnome/sources/" name "/"
8343 (version-major+minor version) "/"
8344 name "-" version ".tar.xz"))
8347 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8348 (build-system meson-build-system)
8350 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8351 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8352 ("gobject-introspection" ,gobject-introspection)
8353 ("intltool" ,intltool)
8354 ("pkg-config" ,pkg-config)
8355 ("xmllint" ,libxml2)))
8357 ;; gnome-bluetooth-1.0.pc refers to all these.
8362 ("libcanberra" ,libcanberra)
8363 ("libnotify" ,libnotify)))
8364 (synopsis "GNOME Bluetooth subsystem")
8365 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8367 "This package contains tools for managing and manipulating Bluetooth
8368 devices using the GNOME desktop.")
8369 (license license:lgpl2.1+)))
8371 (define-public gnome-control-center
8373 (name "gnome-control-center")
8377 (uri (string-append "mirror://gnome/sources/" name "/"
8378 (version-major+minor version) "/"
8379 name "-" version ".tar.xz"))
8382 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8383 (build-system meson-build-system)
8387 (list "-Dcheese=false"
8388 (string-append "-Dgnome_session_libexecdir="
8389 (assoc-ref %build-inputs "gnome-session")
8392 (modify-phases %standard-phases
8393 (add-before 'configure 'patch-paths
8394 (lambda* (#:key inputs #:allow-other-keys)
8395 (let ((libc (assoc-ref inputs "libc"))
8396 (tzdata (assoc-ref inputs "tzdata"))
8397 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8398 (nm-applet (assoc-ref inputs "network-manager-applet"))
8399 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8400 (substitute* "panels/datetime/tz.h"
8401 (("/usr/share/zoneinfo/zone.tab")
8402 (string-append tzdata "/share/zoneinfo/zone.tab")))
8403 (substitute* "tests/datetime/test-endianess.c"
8404 (("/usr/share/locale")
8405 (string-append libc "/share/locale")))
8406 (substitute* "panels/region/cc-region-panel.c"
8407 (("\"gkbd-keyboard-display")
8408 (string-append "\"" libgnomekbd
8409 "/bin/gkbd-keyboard-display")))
8410 (substitute* '("panels/network/net-device-wifi.c"
8411 "panels/network/net-device.c"
8412 "panels/network/connection-editor/net-connection-editor.c")
8413 (("\"nm-connection-editor")
8414 (string-append "\"" nm-applet
8415 "/bin/nm-connection-editor")))
8416 (substitute* '("panels/user-accounts/run-passwd.c")
8417 (("/usr/bin/passwd")
8418 "/run/setuid-programs/passwd"))
8419 (substitute* "panels/info/cc-info-overview-panel.c"
8420 (("DATADIR \"/gnome/gnome-version.xml\"")
8421 (string-append "\"" gnome-desktop
8422 "/share/gnome/gnome-version.xml\"")))
8424 (add-after 'unpack 'skip-gtk-update-icon-cache
8425 ;; Don't create 'icon-theme.cache'.
8427 (substitute* "build-aux/meson/meson_post_install.py"
8428 (("gtk-update-icon-cache") (which "true")))
8431 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8432 ("intltool" ,intltool)
8433 ("pkg-config" ,pkg-config)
8434 ("xsltproc" ,libxslt)
8436 ("hicolor-icon-theme" ,hicolor-icon-theme)
8437 ("python-dbusmock" ,python-dbusmock)
8438 ("xorg-server" ,xorg-server-for-tests)))
8440 `(("accountsservice" ,accountsservice)
8441 ("clutter-gtk" ,clutter-gtk)
8442 ("colord-gtk" ,colord-gtk)
8445 ("docbook-xsl" ,docbook-xsl)
8446 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8447 ("gnome-bluetooth" ,gnome-bluetooth)
8448 ("gnome-desktop" ,gnome-desktop)
8449 ("gnome-online-accounts" ,gnome-online-accounts)
8450 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8451 ("gnome-session" ,gnome-session)
8452 ("gnome-settings-daemon" ,gnome-settings-daemon)
8456 ("libcanberra" ,libcanberra)
8457 ("libgnomekbd" ,libgnomekbd)
8458 ("libgudev" ,libgudev)
8459 ("libgtop" ,libgtop)
8461 ("libpwquality" ,libpwquality)
8462 ("libsecret" ,libsecret)
8463 ("libsoup" ,libsoup)
8464 ("libxml2" ,libxml2)
8465 ("libwacom" ,libwacom)
8467 ("mit-krb5" ,mit-krb5)
8468 ("modem-manager" ,modem-manager)
8469 ("network-manager-applet" ,network-manager-applet)
8471 ("pulseaudio" ,pulseaudio)
8472 ("smbclient" ,samba)
8475 ("upower" ,upower)))
8476 (synopsis "Utilities to configure the GNOME desktop")
8477 (home-page "https://www.gnome.org/")
8479 "This package contains configuration applets for the GNOME desktop,
8480 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8481 properties, sound setup, desktop theme and background, user interface
8482 properties, screen resolution, and other GNOME parameters.")
8483 (license license:gpl2+)))
8485 (define-public gnome-shell
8487 (name "gnome-shell")
8491 (uri (string-append "mirror://gnome/sources/" name "/"
8492 (version-major+minor version) "/"
8493 name "-" version ".tar.xz"))
8496 "0l3mdn7g2c22mdhrqkxvvc1pk2w0v32f2v4a6n1phvaalwcg75nj"))
8497 (patches (search-patches "gnome-shell-CVE-2020-17489.patch"
8498 "gnome-shell-theme.patch"
8499 "gnome-shell-disable-test.patch"))
8500 (modules '((guix build utils)))
8503 ;; Copy images for use on the GDM log-in screen.
8504 (copy-file #$(file-append %artwork-repository
8505 "/slim/0.x/background.png")
8506 "data/theme/guix-background.png")
8507 (copy-file #$(file-append %artwork-repository
8508 "/logo/Guix-horizontal-white.svg")
8509 "data/theme/guix-logo.svg")
8511 (build-system meson-build-system)
8514 #:disallowed-references ((,glib "bin")
8518 (list "-Dsystemd=false"
8519 ;; Otherwise, the RUNPATH will lack the final path component.
8520 (string-append "-Dc_link_args=-Wl,-rpath="
8521 (assoc-ref %outputs "out")
8522 "/lib/gnome-shell"))
8524 #:modules ((guix build meson-build-system)
8529 (modify-phases %standard-phases
8530 (add-after 'unpack 'fix-keysdir
8531 (lambda* (#:key outputs #:allow-other-keys)
8532 (let* ((out (assoc-ref outputs "out"))
8533 (keysdir (string-append
8534 out "/share/gnome-control-center/keybindings")))
8535 (substitute* "meson.build"
8537 (string-append "keysdir = '" keysdir "'\n")))
8539 (add-before 'configure 'convert-logo-to-png
8540 (lambda* (#:key inputs #:allow-other-keys)
8541 ;; Convert the logo from SVG to PNG.
8542 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8543 "data/theme/guix-logo.svg")))
8544 (add-before 'configure 'record-absolute-file-names
8545 (lambda* (#:key inputs #:allow-other-keys)
8546 (substitute* "js/misc/ibusManager.js"
8548 (string-append "'" (assoc-ref inputs "ibus")
8549 "/bin/ibus-daemon'")))
8550 (substitute* "js/ui/status/keyboard.js"
8551 (("'gkbd-keyboard-display'")
8552 (string-append "'" (assoc-ref inputs "libgnomekbd")
8553 "/bin/gkbd-keyboard-display'")))
8555 (add-before 'check 'pre-check
8556 (lambda* (#:key inputs #:allow-other-keys)
8557 ;; Tests require a running X server.
8558 (system "Xvfb :1 &")
8559 (setenv "DISPLAY" ":1")
8561 (add-after 'install 'wrap-programs
8562 (lambda* (#:key inputs outputs #:allow-other-keys)
8563 (let ((out (assoc-ref outputs "out"))
8564 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8565 (python-path (getenv "PYTHONPATH")))
8566 (wrap-program (string-append out "/bin/gnome-shell")
8567 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8568 ;; FIXME: gnome-shell loads these libraries with unqualified
8569 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8570 ;; alternative might be to patch gnome-shell.
8571 `("LD_LIBRARY_PATH" ":" prefix
8573 (string-append (assoc-ref inputs pkg) "/lib"))
8575 "gnome-bluetooth" "librsvg" "libgweather"))))
8578 (wrap-program (string-append out "/bin/" prog)
8579 `("PYTHONPATH" ":" prefix (,python-path))
8580 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8581 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8583 (replace 'glib-or-gtk-wrap
8584 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8585 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8586 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8587 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8588 ;; phase. Fix that since we don't need these.
8589 (wrap #:inputs (fold alist-delete inputs
8590 '("inkscape" "intltool" "glib:bin"))
8591 #:outputs outputs)))))))
8593 `(("asciidoc" ,asciidoc)
8594 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8595 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8596 ("gobject-introspection" ,gobject-introspection)
8597 ("inkscape" ,inkscape)
8598 ("intltool" ,intltool)
8599 ("pkg-config" ,pkg-config)
8601 ("ruby-sass" ,ruby-sass)
8603 ("xsltproc" ,libxslt)
8605 ("xorg-server" ,xorg-server-for-tests)))
8607 `(("accountsservice" ,accountsservice)
8608 ("caribou" ,caribou)
8609 ("docbook-xsl" ,docbook-xsl)
8610 ("evolution-data-server" ,evolution-data-server)
8613 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8615 ("gnome-autoar" ,gnome-autoar)
8616 ("gnome-bluetooth" ,gnome-bluetooth)
8617 ("gnome-desktop" ,gnome-desktop)
8618 ("gnome-settings-daemon" ,gnome-settings-daemon)
8619 ("gst-plugins-base" ,gst-plugins-base)
8621 ("libcanberra" ,libcanberra)
8622 ("libcroco" ,libcroco)
8623 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8624 ("libgweather" ,libgweather)
8626 ("libsoup" ,libsoup)
8627 ("mesa-headers" ,mesa-headers)
8629 ("network-manager-applet" ,network-manager-applet)
8631 ("pulseaudio" ,pulseaudio)
8632 ("python-pygobject" ,python-pygobject)
8633 ("startup-notification" ,startup-notification)
8634 ("telepathy-logger" ,telepathy-logger)
8636 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8637 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8638 ("librsvg" ,librsvg)
8639 ("geoclue" ,geoclue)))
8640 ;; CVE-2019-3820 was fixed before GNOME 3.34 was released, in upstream
8641 ;; commit f0a7395b3006360905ccdc642982f9fc67378927.
8642 (properties '((lint-hidden-cve . ("CVE-2019-3820"))))
8643 (synopsis "Desktop shell for GNOME")
8644 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8646 "GNOME Shell provides core user interface functions for the GNOME desktop,
8647 like switching to windows and launching applications.")
8648 (license license:gpl2+)))
8650 (define-public gtk-vnc
8658 (string-append "mirror://gnome/sources/" name "/"
8659 (version-major+minor version) "/"
8660 name "-" version ".tar.xz"))
8662 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8663 (build-system meson-build-system)
8665 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8668 ("glib:bin" ,glib "bin")
8669 ("gobject-introspection" ,gobject-introspection)
8670 ("intltool" ,intltool)
8673 ("pkg-config" ,pkg-config)
8674 ("python" ,python-wrapper)
8678 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8681 ("libgcrypt" ,libgcrypt)
8682 ("libsasl" ,cyrus-sasl)
8683 ("pulseaudio" ,pulseaudio)
8688 (synopsis "VNC client viewer widget for GTK+")
8689 (description "GTK-VNC is a project providing client side APIs for the RFB
8690 protocol / VNC remote desktop technology. It is built using coroutines allowing
8691 it to be completely asynchronous while remaining single threaded. It provides a
8692 core C library, and bindings for Python (PyGTK).")
8693 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8694 (license license:lgpl2.1+)))
8696 (define-public gnome-autoar
8698 (name "gnome-autoar")
8702 (uri (string-append "mirror://gnome/sources/" name "/"
8703 (version-major+minor version) "/"
8704 name "-" version ".tar.xz"))
8707 "012w7rhhpxvlrnnhqy01vwzg1wxqpy8jbqgizn47wnip7bvh0917"))))
8708 (build-system glib-or-gtk-build-system)
8710 `(("gobject-introspection" ,gobject-introspection)
8711 ("pkg-config" ,pkg-config)))
8713 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8716 (synopsis "Archives integration support for GNOME")
8717 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8719 "GNOME Autoar is a library which makes creating and extracting archives
8720 easy, safe, and automatic.")
8721 (license license:lgpl2.1+)))
8723 (define-public tracker
8729 (uri (string-append "mirror://gnome/sources/tracker/"
8730 (version-major+minor version) "/"
8731 "tracker-" version ".tar.xz"))
8734 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8735 (build-system meson-build-system)
8739 ;; Otherwise, the RUNPATH will lack the final path component.
8740 (list (string-append "-Dc_link_args=-Wl,-rpath="
8741 (assoc-ref %outputs "out") "/lib:"
8742 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8744 (modify-phases %standard-phases
8745 (add-before 'check 'pre-check
8747 ;; Some tests expect to write to $HOME.
8748 (setenv "HOME" "/tmp")
8751 `(("glib:bin" ,glib "bin")
8752 ("gobject-introspection" ,gobject-introspection)
8753 ("python-pygobject" ,python-pygobject)
8754 ("intltool" ,intltool)
8755 ("pkg-config" ,pkg-config)
8760 ("libxml2" ,libxml2)
8761 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8762 ("json-glib" ,json-glib)
8763 ("libsoup" ,libsoup)))
8764 (synopsis "Metadata database, indexer and search tool")
8765 (home-page "https://wiki.gnome.org/Projects/Tracker")
8767 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8769 It is a middleware component aimed at desktop application developers who want
8770 their apps to browse and search user content. It's not designed to be used
8771 directly by desktop users, but it provides a commandline tool named
8772 @command{tracker} for the adventurous.
8774 Tracker allows your application to instantly perform full-text searches across
8775 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8776 example. This is achieved by indexing the user's home directory in the
8779 Tracker also allows your application to query and list content that the user
8780 has stored. For example, GNOME Music displays all the music files that are
8781 found by Tracker. This means that GNOME Music doesn't need to maintain a
8782 database of its own.
8784 If you need to go beyond simple searches, Tracker is also a linked data
8785 endpoint and it understands SPARQL. ")
8786 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8787 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8788 ;; libstemmer is bsd-3 and the rest is gpl2+.
8789 (license (list license:gpl2+
8791 license:lgpl2.1+))))
8793 (define-public tracker-miners
8795 (name "tracker-miners")
8799 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8800 (version-major+minor version)
8801 "/tracker-miners-" version ".tar.xz"))
8804 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8805 (build-system meson-build-system)
8809 (list "-Dminer_rss=false" ; libgrss is required.
8810 ;; Ensure the RUNPATH contains all installed library locations.
8811 (string-append "-Dc_link_args=-Wl,-rpath="
8812 (assoc-ref %outputs "out")
8813 "/lib/tracker-miners-2.0")
8814 ;; TODO: Enable functional tests. Currently, the following error
8816 ;; Exception: The functional tests require DConf to be the default
8817 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8818 "-Dfunctional_tests=false")))
8821 ("intltool" ,intltool)
8822 ("glib:bin" ,glib "bin")
8823 ("gobject-introspection" ,gobject-introspection)
8824 ("pkg-config" ,pkg-config)
8825 ("python-pygobject" ,python-pygobject)))
8827 `(("exempi" ,exempi)
8832 ("gstreamer" ,gstreamer)
8835 ("libexif" ,libexif)
8837 ("libgxps" ,libgxps)
8838 ("libiptcdata" ,libiptcdata)
8839 ("libjpeg" ,libjpeg-turbo)
8840 ("libosinfo" ,libosinfo)
8842 ("libseccomp" ,libseccomp)
8843 ("libtiff" ,libtiff)
8844 ("libvorbis" ,libvorbis)
8845 ("libxml2" ,libxml2)
8846 ("poppler" ,poppler)
8848 ("totem-pl-parser" ,totem-pl-parser)
8849 ("tracker" ,tracker)
8852 (synopsis "Metadata database, indexer and search tool")
8853 (home-page "https://wiki.gnome.org/Projects/Tracker")
8855 "Tracker is an advanced framework for first class objects with associated
8856 metadata and tags. It provides a one stop solution for all metadata, tags,
8857 shared object databases, search tools and indexing.")
8858 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8859 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8860 (license (list license:gpl2+
8862 license:lgpl2.0+))))
8864 (define-public nautilus
8870 (uri (string-append "mirror://gnome/sources/" name "/"
8871 (version-major+minor version) "/"
8872 name "-" version ".tar.xz"))
8875 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8876 (build-system meson-build-system)
8880 (modify-phases %standard-phases
8881 (add-after 'unpack 'skip-gtk-update-icon-cache
8882 ;; Don't create 'icon-theme.cache'.
8884 (substitute* "build-aux/meson/postinstall.py"
8885 (("gtk-update-icon-cache") "true"))
8887 ;; XXX: FAIL: check-nautilus
8888 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8891 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8892 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8893 ("gobject-introspection" ,gobject-introspection)
8894 ("intltool" ,intltool)
8895 ("pkg-config" ,pkg-config)))
8901 ("gnome-desktop" ,gnome-desktop)
8902 ("gnome-autoar" ,gnome-autoar)
8903 ("gst-plugins-base" ,gst-plugins-base)
8904 ("libseccomp" ,libseccomp)
8905 ("libselinux" ,libselinux)
8906 ("tracker" ,tracker)
8907 ("tracker-miners" ,tracker-miners)
8908 ;; XXX: gtk+ is required by libnautilus-extension.pc
8910 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8912 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8914 ("libexif" ,libexif)
8915 ("libxml2" ,libxml2)))
8916 (synopsis "File manager for GNOME")
8917 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8919 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8920 design and behaviour, giving the user a simple way to navigate and manage its
8922 (license license:gpl2+)))
8924 (define-public baobab
8931 "mirror://gnome/sources/" name "/"
8932 (version-major+minor version) "/"
8933 name "-" version ".tar.xz"))
8936 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8937 (build-system meson-build-system)
8939 '(#:glib-or-gtk? #t))
8941 `(("intltool" ,intltool)
8942 ("pkg-config" ,pkg-config)
8943 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8944 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8945 ("itstool" ,itstool)
8946 ("xmllint" ,libxml2)
8947 ("glib" ,glib "bin")
8951 (synopsis "Disk usage analyzer for GNOME")
8953 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8954 usage in the GNOME desktop environment. It can easily scan device volumes or
8955 a specific user-requested directory branch (local or remote). Once the scan
8956 is complete it provides a graphical representation of each selected folder.")
8957 (home-page "https://wiki.gnome.org/Apps/Baobab")
8958 (license license:gpl2+)))
8960 (define-public gnome-backgrounds
8962 (name "gnome-backgrounds")
8967 (uri (string-append "mirror://gnome/sources/" name "/"
8968 (version-major+minor version) "/"
8969 name "-" version ".tar.xz"))
8972 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8973 (build-system meson-build-system)
8975 `(("intltool" ,intltool)))
8976 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8977 (synopsis "Background images for the GNOME desktop")
8979 "GNOME backgrounds package contains a collection of graphics files which
8980 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8981 the package creates the proper framework and directory structure so that you
8982 can add your own files to the collection.")
8983 (license (list license:gpl2+
8986 license:cc-by-sa3.0))))
8988 (define-public gnome-screenshot
8990 (name "gnome-screenshot")
8995 (uri (string-append "mirror://gnome/sources/" name "/"
8996 (version-major+minor version) "/"
8997 name "-" version ".tar.xz"))
9000 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
9001 (build-system meson-build-system)
9004 (modify-phases %standard-phases
9005 (add-after 'unpack 'skip-gtk-update-icon-cache
9006 ;; Don't create 'icon-theme.cache'.
9008 (substitute* "build-aux/postinstall.py"
9009 (("gtk-update-icon-cache") "true"))
9012 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
9013 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9014 ("intltool" ,intltool)
9015 ("appstream-glib" ,appstream-glib)
9016 ("pkg-config" ,pkg-config)))
9019 ("libcanberra" ,libcanberra)
9021 ("libxext" ,libxext)))
9022 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9023 (synopsis "Take pictures of your screen")
9025 "GNOME Screenshot is a utility used for taking screenshots of the entire
9026 screen, a window or a user defined area of the screen, with optional
9027 beautifying border effects.")
9028 (license license:gpl2+)))
9030 (define-public dconf-editor
9032 (name "dconf-editor")
9037 (uri (string-append "mirror://gnome/sources/" name "/"
9038 (version-major+minor version) "/"
9039 name "-" version ".tar.xz"))
9042 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
9043 (build-system meson-build-system)
9045 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9046 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9047 ("intltool" ,intltool)
9048 ("pkg-config" ,pkg-config)
9053 ("libxml2" ,libxml2)))
9054 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9055 (synopsis "Graphical editor for GNOME's dconf configuration system")
9057 "Dconf-editor is a graphical tool for browsing and editing the dconf
9058 configuration system for GNOME. It allows users to configure desktop
9059 software that do not provide their own configuration interface.")
9060 (license license:lgpl2.1+)))
9062 (define-public gnome-default-applications
9064 (name "gnome-default-applications")
9066 (build-system trivial-build-system)
9069 `(("nautilus" ,nautilus)
9070 ("evince" ,evince)))
9072 `(#:modules ((guix build utils))
9075 (use-modules (guix build utils))
9076 (let* ((out (assoc-ref %outputs "out"))
9077 (apps (string-append out "/share/applications")))
9079 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9081 (format port "[Default Applications]\n")
9082 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9083 (format port "application/pdf=evince.desktop\n")
9084 (format port "application/postscript=evince.desktop\n")))
9086 (synopsis "Default MIME type associations for the GNOME desktop")
9088 "Given many installed packages which might handle a given MIME type, a
9089 user running the GNOME desktop probably has some preferences: for example,
9090 that folders be opened by default by the Nautilus file manager, not the Baobab
9091 disk usage analyzer. This package establishes that set of default MIME type
9092 associations for GNOME.")
9093 (license license:gpl3+)
9096 (define-public libgovirt
9102 (uri (string-append "mirror://gnome/sources/" name "/"
9103 (version-major+minor version) "/"
9104 name "-" version ".tar.xz"))
9107 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9108 (build-system glib-or-gtk-build-system)
9110 `(("gettext" ,gettext-minimal)
9111 ("glib:bin" ,glib "bin")
9112 ("gobject-introspection" ,gobject-introspection)
9113 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9114 ("gtk+:bin" ,gtk+ "bin")
9115 ("pkg-config" ,pkg-config)))
9117 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9119 (synopsis "GoVirt Library")
9120 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9121 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9122 (license license:gpl2+)))
9124 (define-public gnome-weather
9126 (name "gnome-weather")
9130 (uri (string-append "mirror://gnome/sources/" name "/"
9131 (version-major+minor version) "/"
9132 name "-" version ".tar.xz"))
9135 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9136 (build-system meson-build-system)
9138 `(("gettext" ,gettext-minimal)
9139 ("glib:bin" ,glib "bin")
9140 ("gobject-introspection" ,gobject-introspection)
9141 ("gtk+:bin" ,gtk+ "bin")
9142 ("pkg-config" ,pkg-config)))
9144 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9145 ("appstream-glib" ,appstream-glib)
9146 ("geoclue" ,geoclue)
9147 ("gdk-pixbuf" ,gdk-pixbuf)
9149 ("gnome-desktop" ,gnome-desktop)
9150 ("libgweather" ,libgweather)))
9154 (modify-phases %standard-phases
9155 (add-after 'install 'fix-desktop-file
9156 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9157 ;; See https://issues.guix.gnu.org/issue/39324.
9158 (lambda* (#:key outputs #:allow-other-keys)
9159 (let* ((out (assoc-ref outputs "out"))
9160 (applications (string-append out "/share/applications")))
9161 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9162 (("Exec=.*") "Exec=gnome-weather\n"))
9164 (add-after 'install 'wrap
9165 (lambda* (#:key inputs outputs #:allow-other-keys)
9166 (let ((out (assoc-ref outputs "out"))
9167 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9168 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9169 (wrap-program (string-append out "/bin/gnome-weather")
9170 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9172 (synopsis "Weather monitoring for GNOME desktop")
9173 (description "GNOME Weather is a small application that allows you to
9174 monitor the current weather conditions for your city, or anywhere in the
9176 (home-page "https://wiki.gnome.org/Apps/Weather")
9177 (license license:gpl2+)))
9179 (define-public gnome
9182 (version (package-version gnome-shell))
9184 (build-system trivial-build-system)
9185 (arguments '(#:builder (begin (mkdir %output) #t)))
9187 ;; TODO: Add or remove packages according to:
9188 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9190 ;; GNOME-Core-OS-Services
9191 ("accountsservice" ,accountsservice)
9192 ("network-manager" ,network-manager)
9193 ("packagekit" ,packagekit)
9196 ("adwaita-icon-theme" ,adwaita-icon-theme)
9198 ("glib-networking" ,glib-networking)
9199 ("gnome-backgrounds" ,gnome-backgrounds)
9200 ("gnome-bluetooth" ,gnome-bluetooth)
9201 ("gnome-color-manager" ,gnome-color-manager)
9202 ("gnome-control-center" ,gnome-control-center)
9203 ("gnome-desktop" ,gnome-desktop)
9204 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9205 ("gnome-initial-setup" ,gnome-initial-setup)
9206 ("gnome-keyring" ,gnome-keyring)
9207 ("gnome-menus" ,gnome-menus)
9208 ("gnome-session" ,gnome-session)
9209 ("gnome-settings-daemon" ,gnome-settings-daemon)
9210 ("gnome-shell-extensions" ,gnome-shell-extensions)
9211 ("gnome-shell" ,gnome-shell)
9212 ("gnome-themes-extra" ,gnome-themes-extra)
9213 ("gnome-user-docs" ,gnome-user-docs)
9214 ("gnome-user-share" ,gnome-user-share)
9215 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9221 ;; GNOME-Core-Utilities
9224 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9225 ;; only works on x86_64, so exclude it on other architectures.
9226 ,@(if (string-prefix? "x86_64" (%current-system))
9229 ("epiphany" ,epiphany)
9231 ("file-roller" ,file-roller)
9233 ("gnome-boxes" ,gnome-boxes)
9234 ("gnome-calculator" ,gnome-calculator)
9235 ("gnome-calendar" ,gnome-calendar)
9236 ("gnome-characters" ,gnome-characters)
9237 ("gnome-clocks" ,gnome-clocks)
9238 ("gnome-contacts" ,gnome-contacts)
9239 ("gnome-disk-utility" ,gnome-disk-utility)
9240 ("gnome-font-viewer" ,gnome-font-viewer)
9241 ("gnome-maps" ,gnome-maps)
9242 ; TODO: ("gnome-music" ,gnome-music)
9243 ; TODO: ("gnome-photos" ,gnome-photos)
9244 ("gnome-screenshot" ,gnome-screenshot)
9245 ("gnome-system-monitor" ,gnome-system-monitor)
9246 ("gnome-terminal" ,gnome-terminal)
9247 ("gnome-weather" ,gnome-weather)
9248 ("nautilus" ,nautilus)
9249 ("simple-scan" ,simple-scan)
9253 ("hicolor-icon-theme" ,hicolor-icon-theme)
9254 ("gnome-online-accounts" ,gnome-online-accounts)
9256 ;; Packages not part of GNOME proper but that are needed for a good
9257 ;; experience. See <https://bugs.gnu.org/39646>.
9258 ;; XXX: Find out exactly which ones are needed and why.
9259 ("font-cantarell" ,font-cantarell)
9260 ("font-dejavu" ,font-dejavu)
9261 ("at-spi2-core" ,at-spi2-core)
9264 ("desktop-file-utils" ,desktop-file-utils)
9265 ("gnome-default-applications" ,gnome-default-applications)
9266 ("gnome-themes-standard" ,gnome-themes-standard)
9267 ("gst-plugins-base" ,gst-plugins-base)
9268 ("gst-plugins-good" ,gst-plugins-good)
9269 ("gucharmap" ,gucharmap)
9270 ("pinentry-gnome3" ,pinentry-gnome3)
9271 ("pulseaudio" ,pulseaudio)
9272 ("shared-mime-info" ,shared-mime-info)
9273 ("system-config-printer" ,system-config-printer)
9274 ("xdg-user-dirs" ,xdg-user-dirs)
9276 ("zenity" ,zenity)))
9277 (synopsis "The GNU desktop environment")
9278 (home-page "https://www.gnome.org/")
9280 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9281 applications for browsing the web, editing text and images, creating
9282 documents and diagrams, playing media, scanning, and much more.")
9283 (license license:gpl2+)))
9285 (define-public byzanz
9286 ;; The last stable release of Byzanz was in 2011, but there have been many
9287 ;; useful commits made to the Byzanz repository since then that it would be
9288 ;; silly to use such an old release.
9289 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9292 (version (string-append "0.2-1." (string-take commit 7)))
9296 (url "https://git.gnome.org/browse/byzanz")
9298 (file-name (string-append name "-" version "-checkout"))
9301 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9302 (build-system glib-or-gtk-build-system)
9305 (modify-phases %standard-phases
9306 (add-before 'bootstrap 'build-without-Werror
9308 ;; The build system cleverly detects that we're not building from
9309 ;; a release tarball and turns on -Werror for GCC.
9310 ;; Unsurprisingly, there is a warning during compilation that
9311 ;; causes the build to fail unnecessarily, so we remove the flag.
9312 (substitute* '("configure.ac")
9316 `(("autoconf" ,autoconf)
9317 ("automake" ,automake)
9318 ("gnome-common" ,gnome-common)
9319 ("intltool" ,intltool)
9320 ("libtool" ,libtool)
9321 ("pkg-config" ,pkg-config)
9325 ("gstreamer" ,gstreamer)
9326 ("gst-plugins-base" ,gst-plugins-base)
9328 (synopsis "Desktop recording program")
9329 (description "Byzanz is a simple desktop recording program with a
9330 command-line interface. It can record part or all of an X display for a
9331 specified duration and save it as a GIF encoded animated image file.")
9332 (home-page "https://git.gnome.org/browse/byzanz")
9333 (license license:gpl2+))))
9335 (define-public authenticator
9337 (name "authenticator")
9343 (url "https://gitlab.gnome.org/World/Authenticator")
9345 (file-name (git-file-name name version))
9347 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9348 (build-system meson-build-system)
9352 (modify-phases %standard-phases
9353 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9354 (lambda* (#:key inputs outputs #:allow-other-keys)
9355 (let ((prog (string-append (assoc-ref outputs "out")
9356 "/bin/authenticator"))
9357 (pylib (string-append (assoc-ref outputs "out")
9359 ,(version-major+minor
9360 (package-version python))
9363 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9364 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9367 `(("desktop-file-utils" ,desktop-file-utils)
9368 ("gettext" ,gettext-minimal)
9369 ("glib:bin" ,glib "bin")
9370 ("gobject-introspection" ,gobject-introspection)
9371 ("gtk+:bin" ,gtk+ "bin")
9372 ("pkg-config" ,pkg-config)))
9374 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9376 ("libhandy" ,libhandy-0.0)
9377 ("libsecret" ,libsecret)
9378 ("python-beautifulsoup4" ,python-beautifulsoup4)
9379 ("python-pillow" ,python-pillow)
9380 ("python-pyfavicon" ,python-pyfavicon)
9381 ("python-pygobject" ,python-pygobject)
9382 ("python-pyotp" ,python-pyotp)
9383 ("python-pyzbar" ,python-pyzbar)
9384 ("yoyo-migrations" ,yoyo-migrations)
9386 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9387 (synopsis "Two-factor authentication application built for GNOME")
9389 "Authenticator is a two-factor authentication (2FA) application built for
9390 the GNOME desktop environment.
9395 @item QR code scanner
9397 @item Huge database of more than 560 supported services
9398 @item Keep your PIN tokens secure by locking the application with a password
9399 @item Automatically fetch an image for services using their favicon
9400 @item The possibility to add new services
9402 (license license:gpl3+)))
9404 (define-public gsound
9410 (uri (string-append "mirror://gnome/sources/" name "/"
9411 (version-major+minor version) "/"
9412 name "-" version ".tar.xz"))
9415 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9416 (build-system glib-or-gtk-build-system)
9418 `(("pkg-config" ,pkg-config)
9419 ("gobject-introspection" ,gobject-introspection)
9423 ("libcanberra" ,libcanberra)))
9424 (home-page "https://wiki.gnome.org/Projects/GSound")
9425 (synopsis "GObject wrapper for libcanberra")
9427 "GSound is a small library for playing system sounds. It's designed to be
9428 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9430 (license license:lgpl2.1+)))
9432 (define-public libzapojit
9438 (uri (string-append "mirror://gnome/sources/" name "/"
9439 (version-major+minor version) "/"
9440 name "-" version ".tar.xz"))
9443 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9444 (build-system gnu-build-system)
9446 `(("gobject-introspection" ,gobject-introspection)
9447 ("intltool" ,intltool)
9448 ("pkg-config" ,pkg-config)))
9450 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9451 ("json-glib" ,json-glib)
9453 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9454 (synopsis "Library for accessing SkyDrive and Hotmail")
9456 "Libzapojit is a GLib-based library for accessing online service APIs of
9457 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9458 (license license:lgpl2.1+)))
9460 (define-public gnome-clocks
9462 (name "gnome-clocks")
9466 (uri (string-append "mirror://gnome/sources/" name "/"
9467 (version-major+minor version) "/"
9468 name "-" version ".tar.xz"))
9471 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9472 (build-system meson-build-system)
9476 (modify-phases %standard-phases
9477 (add-after 'unpack 'skip-gtk-update-icon-cache
9478 ;; Don't create 'icon-theme.cache'.
9480 (substitute* "build-aux/post-install.py"
9481 (("gtk-update-icon-cache") "true"))
9485 ("pkg-config" ,pkg-config)
9486 ("glib" ,glib "bin") ; for glib-compile-resources
9487 ("desktop-file-utils" ,desktop-file-utils)
9488 ("gettext" ,gettext-minimal)
9489 ("itstool" ,itstool)))
9494 ("geoclue" ,geoclue)
9495 ("geocode-glib" ,geocode-glib)
9496 ("libgweather" ,libgweather)
9497 ("gnome-desktop" ,gnome-desktop)))
9498 (home-page "https://wiki.gnome.org/Apps/Clocks")
9499 (synopsis "GNOME's clock application")
9501 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9502 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9503 (license license:gpl3+)))
9505 (define-public gnome-calendar
9507 (name "gnome-calendar")
9511 (uri (string-append "mirror://gnome/sources/" name "/"
9512 (version-major+minor version) "/"
9513 name "-" version ".tar.xz"))
9516 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9517 (build-system meson-build-system)
9520 ;; gnome-calendar has to be installed before the tests can be run
9521 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9524 (modify-phases %standard-phases
9525 (add-after 'unpack 'skip-gtk-update-icon-cache
9526 ;; Don't create 'icon-theme.cache'.
9528 (substitute* "build-aux/meson/meson_post_install.py"
9529 (("gtk-update-icon-cache") "true"))
9532 `(("gettext" ,gettext-minimal)
9533 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9534 ("pkg-config" ,pkg-config)))
9536 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9537 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9538 ("libdazzle" ,libdazzle)
9539 ("libedataserverui" ,evolution-data-server)
9540 ("libgweather" ,libgweather)
9541 ("geoclue" ,geoclue)))
9543 `(("evolution-data-server" ,evolution-data-server)))
9544 (home-page "https://wiki.gnome.org/Apps/Calendar")
9545 (synopsis "GNOME's calendar application")
9547 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9548 desktop. It supports multiple calendars, month, week and year view.")
9549 (license license:gpl3+)))
9551 (define-public gnome-todo
9557 (uri (string-append "mirror://gnome/sources/" name "/"
9558 (version-major+minor version) "/"
9559 name "-" version ".tar.xz"))
9562 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9564 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9565 (build-system meson-build-system)
9568 #:phases (modify-phases %standard-phases
9570 'install 'wrap-gnome-todo
9571 (lambda* (#:key inputs outputs #:allow-other-keys)
9572 (let ((out (assoc-ref outputs "out"))
9573 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9574 (python-path (getenv "PYTHONPATH")))
9575 (wrap-program (string-append out "/bin/gnome-todo")
9576 ;; XXX: gi plugins are broken.
9577 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9579 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9580 `("PYTHONPATH" ":" prefix (,python-path))))
9583 `(("gettext" ,gettext-minimal)
9584 ("gobject-introspection" ,gobject-introspection)
9585 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9586 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9587 ("pkg-config" ,pkg-config)))
9589 `(("rest" ,rest) ; For Todoist plugin
9590 ("json-glib" ,json-glib) ; For Todoist plugin
9591 ("libedataserverui" ,evolution-data-server)
9592 ("libical" ,libical)
9593 ("libpeas" ,libpeas)
9594 ("python-pygobject" ,python-pygobject)
9595 ("evolution-data-server" ,evolution-data-server)
9596 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9597 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9598 (home-page "https://wiki.gnome.org/Apps/Todo")
9599 (synopsis "GNOME's ToDo Application")
9601 "GNOME To Do is a simplistic personal task manager designed to perfectly
9602 fit the GNOME desktop.")
9603 (license license:gpl3+)))
9605 (define-public gnome-dictionary
9607 (name "gnome-dictionary")
9611 (uri (string-append "mirror://gnome/sources/" name "/"
9612 (version-major+minor version) "/"
9613 name "-" version ".tar.xz"))
9616 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9617 (build-system meson-build-system)
9618 (arguments '(#:glib-or-gtk? #t
9619 #:phases (modify-phases %standard-phases
9620 (add-after 'unpack 'patch-install-script
9622 ;; This script attempts to compile glib schemas
9623 ;; and create an empty MIME database. We do
9624 ;; that elsewhere, so prevent it from running.
9625 (substitute* "build-aux/post-install.sh"
9626 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9629 `(("glib:bin" ,glib "bin")
9630 ("gobject-introspection" ,gobject-introspection)
9631 ("intltool" ,intltool)
9632 ("itstool" ,itstool)
9633 ("pkg-config" ,pkg-config)
9634 ("xmllint" ,libxml2)))
9636 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9638 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9639 (synopsis "Look up words in dictionary sources")
9641 "GNOME Dictionary can look for the definition or translation of a word in
9642 existing databases over the internet.")
9643 (license license:gpl3+)))
9645 (define-public gnome-tweaks
9647 (name "gnome-tweaks")
9651 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9652 (version-major+minor version) "/"
9653 "gnome-tweaks-" version ".tar.xz"))
9655 (list (search-patch "gnome-tweaks-search-paths.patch")))
9658 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9659 (build-system meson-build-system)
9662 #:configure-flags '("-Dlocalstatedir=/tmp"
9663 "-Dsysconfdir=/tmp")
9664 #:imported-modules ((guix build python-build-system)
9665 ,@%meson-build-system-modules)
9667 (modify-phases %standard-phases
9668 (add-after 'unpack 'skip-gtk-update-icon-cache
9669 ;; Don't create 'icon-theme.cache'.
9671 (substitute* "meson-postinstall.py"
9672 (("gtk-update-icon-cache") "true"))
9674 (add-after 'install 'wrap
9675 (@@ (guix build python-build-system) wrap))
9676 (add-after 'wrap 'wrap-gi-typelib
9677 (lambda* (#:key inputs outputs #:allow-other-keys)
9678 (let ((out (assoc-ref outputs "out"))
9679 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9680 (wrap-program (string-append out "/bin/gnome-tweaks")
9681 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9684 `(("intltool" ,intltool)
9685 ("pkg-config" ,pkg-config)))
9687 `(("gnome-desktop" ,gnome-desktop)
9689 ("gobject-introspection" ,gobject-introspection)
9690 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9691 ("libhandy" ,libhandy-0.0)
9692 ("libnotify" ,libnotify)
9693 ("libsoup" ,libsoup)
9694 ("nautilus" ,nautilus)
9696 ("python-pygobject" ,python-pygobject)))
9697 (synopsis "Customize advanced GNOME 3 options")
9698 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9700 "GNOME Tweaks allows adjusting advanced configuration settings in
9701 GNOME 3. This includes things like the fonts used in user interface elements,
9702 alternative user interface themes, changes in window management behavior,
9703 GNOME Shell appearance and extension, etc.")
9704 (license license:gpl3+)))
9706 (define-public gnome-shell-extensions
9708 (name "gnome-shell-extensions")
9712 (uri (string-append "mirror://gnome/sources/" name "/"
9713 (version-major+minor version) "/"
9714 name "-" version ".tar.xz"))
9717 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9718 (build-system meson-build-system)
9720 '(#:configure-flags '("-Dextension_set=all")))
9722 `(("glib:bin" ,glib "bin")
9723 ("intltool" ,intltool)
9724 ("pkg-config" ,pkg-config)))
9727 (synopsis "Extensions for GNOME Shell")
9728 (description "GNOME Shell extensions modify and extend GNOME Shell
9729 functionality and behavior.")
9730 (home-page "https://extensions.gnome.org/")
9731 (license license:gpl3+)))
9733 (define-public folks
9740 "mirror://gnome/sources/folks/"
9741 (version-major+minor version) "/"
9742 "folks-" version ".tar.xz"))
9745 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9746 (build-system meson-build-system)
9749 (modify-phases %standard-phases
9750 (add-after 'unpack 'skip-gtk-update-icon-cache
9751 ;; Don't create 'icon-theme.cache'.
9753 (substitute* "meson_post_install.py"
9754 (("gtk-update-icon-cache") "true"))
9758 ("dbus-glib" ,dbus-glib)
9759 ("evolution-data-server" ,evolution-data-server)
9762 ("readline" ,readline)
9763 ("telepathy-glib" ,telepathy-glib)))
9765 `(("glib:bin" ,glib "bin")
9766 ("gobject-introspection" ,gobject-introspection)
9767 ("intltool" ,intltool)
9768 ("pkg-config" ,pkg-config)
9770 (synopsis "Library to aggregate data about people")
9771 (description "Libfolks is a library that aggregates information about people
9772 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9773 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9774 etc.) to create metacontacts. It's written in Vala, which generates C code when
9776 (home-page "https://wiki.gnome.org/Projects/Folks")
9777 (license license:lgpl2.1+)))
9779 (define-public gfbgraph
9786 "mirror://gnome/sources/gfbgraph/"
9787 (version-major+minor version) "/"
9788 "gfbgraph-" version ".tar.xz"))
9791 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9792 (build-system glib-or-gtk-build-system)
9794 `(#:tests? #f ; tests appear to require the network
9795 #:configure-flags '("--disable-static"
9797 "--enable-introspection")))
9799 `(("gobject-introspection" ,gobject-introspection)
9800 ("gtk-doc" ,gtk-doc/stable)
9801 ("pkg-config" ,pkg-config)
9803 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9804 ("autoconf" ,autoconf)
9805 ("automake" ,automake)
9806 ("libtool" ,libtool)
9809 `(("json-glib" ,json-glib)
9810 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9812 (synopsis "GLib/GObject wrapper for the Facebook API")
9813 (description "This library allows you to use the Facebook API from
9814 GLib/GObject code.")
9815 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9816 (license license:lgpl2.1+)))
9818 (define-public libgnomekbd
9820 (name "libgnomekbd")
9824 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9825 (version-major+minor version) "/"
9826 "libgnomekbd-" version ".tar.xz"))
9829 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9830 (build-system gnu-build-system)
9832 `(("pkg-config" ,pkg-config)
9833 ("glib" ,glib "bin")
9834 ("intltool" ,intltool)))
9836 ;; Referred to in .h files and .pc.
9839 ("libxklavier" ,libxklavier)))
9840 (home-page "https://www.gnome.org")
9841 (synopsis "GNOME keyboard configuration library")
9843 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9844 environment, which can notably display keyboard layouts.")
9845 (license license:lgpl2.0+)))
9847 ;;; This package is no longer maintained:
9848 ;;; https://wiki.gnome.org/Attic/LibUnique
9849 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9850 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9851 (define-public libunique
9857 (uri (string-append "mirror://gnome/sources/" name "/"
9858 (version-major+minor version) "/"
9859 name "-" version ".tar.xz"))
9862 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9863 (build-system glib-or-gtk-build-system)
9865 `(#:configure-flags '("--disable-static"
9866 "--disable-dbus" ; use gdbus
9867 "--enable-introspection")))
9869 `(("pkg-config" ,pkg-config)
9870 ("gobject-introspection" ,gobject-introspection)
9871 ("glib:bin" ,glib "bin")
9872 ("gtk-doc" ,gtk-doc/stable)))
9874 ;; Referred to in .h files and .pc.
9876 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9877 (synopsis "Library for writing single instance applications")
9879 "Libunique is a library for writing single instance applications. If you
9880 launch a single instance application twice, the second instance will either just
9881 quit or will send a message to the running instance. Libunique makes it easy to
9882 write this kind of application, by providing a base class, taking care of all
9883 the IPC machinery needed to send messages to a running instance, and also
9884 handling the startup notification side.")
9885 (license license:lgpl2.1+)))
9887 (define-public gnome-calculator
9889 (name "gnome-calculator")
9894 (uri (string-append "mirror://gnome/sources/" name "/"
9895 (version-major+minor version) "/"
9896 name "-" version ".tar.xz"))
9899 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9900 (build-system meson-build-system)
9901 (arguments '(#:glib-or-gtk? #t))
9903 `(("gettext" ,gettext-minimal)
9904 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9905 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9906 ("itstool" ,itstool)
9908 ("pkg-config" ,pkg-config)))
9911 ("gtksourceview" ,gtksourceview)
9913 ("libsoup" ,libsoup)
9914 ("libxml2" ,libxml2)
9917 (home-page "https://wiki.gnome.org/Apps/Calculator")
9918 (synopsis "Desktop calculator")
9920 "Calculator is an application that solves mathematical equations and
9921 is suitable as a default application in a Desktop environment.")
9922 (license license:gpl3)))
9931 (uri (string-append "https://launchpad.net/xpad/trunk/"
9932 version "/+download/"
9933 name "-" version ".tar.bz2"))
9936 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9937 (build-system gnu-build-system)
9939 `(("autoconf" ,autoconf)
9940 ("automake" ,automake)
9941 ("gtk+:bin" ,gtk+ "bin")
9942 ("intltool" ,intltool)
9943 ("pkg-config" ,pkg-config)))
9945 `(("gtksourceview" ,gtksourceview-3)
9947 (home-page "https://wiki.gnome.org/Apps/Xpad")
9948 (synopsis "Virtual sticky note")
9950 "Xpad is a sticky note that strives to be simple, fault tolerant,
9951 and customizable. Xpad consists of independent pad windows, each is
9952 basically a text box in which notes can be written.")
9953 (license license:gpl3+)))
9955 (define-public gucharmap
9956 (let ((unicode-files
9958 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9960 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9962 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9964 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9966 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9968 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9975 (uri (string-append "mirror://gnome/sources/" name "/"
9976 (version-major+minor version) "/"
9977 name "-" version ".tar.xz"))
9980 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9981 (build-system glib-or-gtk-build-system)
9983 `(#:modules ((ice-9 match)
9984 (guix build glib-or-gtk-build-system)
9987 (list "--with-unicode-data=../unicode-data")
9989 (modify-phases %standard-phases
9990 (add-after 'unpack 'prepare-unicode-data
9991 (lambda* (#:key inputs #:allow-other-keys)
9992 (mkdir-p "../unicode-data")
9993 (with-directory-excursion "../unicode-data"
9994 (for-each (match-lambda
9996 (install-file (assoc-ref inputs file) ".")))
10000 `(("desktop-file-utils" ,desktop-file-utils)
10001 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
10002 ("gobject-introspection" ,gobject-introspection)
10003 ("intltool" ,intltool)
10004 ("itstool" ,itstool)
10005 ("pkg-config" ,pkg-config)
10006 ,@(map (match-lambda
10011 (uri (string-append
10012 "http://www.unicode.org/Public/12.0.0/ucd/"
10014 (sha256 (base32 hash))))))
10019 ("xmllint" ,libxml2)))
10020 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10021 (synopsis "Unicode character picker and font browser")
10023 "This program allows you to browse through all the available Unicode
10024 characters and categories for the installed fonts, and to examine their
10025 detailed properties. It is an easy way to find the character you might
10026 only know by its Unicode name or code point.")
10027 (license license:gpl3+))))
10029 (define-public bluefish
10036 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10037 "bluefish-" version ".tar.gz"))
10039 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10040 (build-system gnu-build-system)
10042 `(("desktop-file-utils" ,desktop-file-utils)
10043 ("intltool" ,intltool)
10044 ("pkg-config" ,pkg-config)))
10046 `(("enchant" ,enchant)
10048 ("python" ,python-wrapper)
10049 ("xmllint" ,libxml2)
10050 ("gucharmap" ,gucharmap)))
10051 (home-page "http://bluefish.openoffice.nl")
10052 (synopsis "Web development studio")
10054 "Bluefish is an editor aimed at programmers and web developers,
10055 with many options to write web sites, scripts and other code.
10056 Bluefish supports many programming and markup languages.")
10057 (license license:gpl3+)))
10059 (define-public gnome-system-monitor
10061 (name "gnome-system-monitor")
10066 (uri (string-append "mirror://gnome/sources/" name "/"
10067 (version-major+minor version) "/"
10068 name "-" version ".tar.xz"))
10071 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10072 (build-system meson-build-system)
10074 '(#:glib-or-gtk? #t
10075 #:configure-flags '("-Dsystemd=false")))
10077 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10078 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10079 ("intltool" ,intltool)
10080 ("itstool" ,itstool)
10081 ("libgtop" ,libgtop)
10083 ("pkg-config" ,pkg-config)))
10085 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10088 ("librsvg" ,librsvg)
10089 ("libxml2" ,libxml2)
10090 ("libwnck" ,libwnck)))
10091 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10092 (synopsis "Process viewer and system resource monitor for GNOME")
10094 "GNOME System Monitor is a GNOME process viewer and system monitor with
10095 an attractive, easy-to-use interface. It has features, such as a tree view
10096 for process dependencies, icons for processes, the ability to hide processes,
10097 graphical time histories of CPU/memory/swap usage and the ability to
10098 kill/reinice processes.")
10099 (license license:gpl2+)))
10101 (define-public python-pyatspi
10103 (name "python-pyatspi")
10107 (uri (string-append
10108 "mirror://gnome/sources/pyatspi/"
10109 (version-major+minor version)
10110 "/pyatspi-" version ".tar.xz"))
10113 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10114 (build-system gnu-build-system)
10117 (modify-phases %standard-phases
10118 (add-before 'build 'fix-atk-load
10120 (substitute* "pyatspi/__init__.py"
10121 (("from gi.repository import Atspi")
10122 "gi.require_version('Gtk', '3.0')
10123 from gi.repository import Gtk
10124 from gi.repository import Atspi"))
10127 `(("pkg-config" ,pkg-config)))
10129 `(("python" ,python)))
10131 `(("python-pygobject" ,python-pygobject)))
10132 (synopsis "Python client bindings for D-Bus AT-SPI")
10133 (home-page "https://wiki.linuxfoundation.org/accessibility\
10134 /atk/at-spi/at-spi_on_d-bus")
10136 "This package includes a python client library for the AT-SPI D-Bus
10137 accessibility infrastructure.")
10138 (license license:lgpl2.0)
10139 (properties '((upstream-name . "pyatspi")))))
10141 (define-public python2-pyatspi
10142 (package/inherit python-pyatspi
10143 (name "python2-pyatspi")
10145 `(("python" ,python-2)))
10147 `(("python-pygobject" ,python2-pygobject)))))
10149 (define-public orca
10155 (uri (string-append
10156 "mirror://gnome/sources/" name "/"
10157 (version-major+minor version) "/"
10158 name "-" version ".tar.xz"))
10161 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10162 (build-system glib-or-gtk-build-system)
10165 (modify-phases %standard-phases
10166 (add-before 'configure 'qualify-xkbcomp
10167 (lambda* (#:key inputs #:allow-other-keys)
10168 (let ((xkbcomp (string-append
10169 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10170 (substitute* "src/orca/orca.py"
10171 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10173 (add-after 'install 'wrap-orca
10174 (lambda* (#:key outputs #:allow-other-keys)
10175 (let* ((out (assoc-ref outputs "out"))
10176 (prog (string-append out "/bin/orca")))
10178 `("GI_TYPELIB_PATH" ":" prefix
10179 (,(getenv "GI_TYPELIB_PATH")))
10180 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10181 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10182 `("PYTHONPATH" ":" prefix
10183 (,(getenv "PYTHONPATH")))))
10186 `(("intltool" ,intltool)
10187 ("itstool" ,itstool)
10188 ("pkg-config" ,pkg-config)
10189 ("xmllint" ,libxml2)))
10191 `(("at-spi2-atk" ,at-spi2-atk)
10192 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10193 ("gstreamer" ,gstreamer)
10194 ("gst-plugins-base" ,gst-plugins-base)
10195 ("gst-plugins-good" ,gst-plugins-good)
10198 ("python-pygobject" ,python-pygobject)
10199 ("python-pyatspi" ,python-pyatspi)
10200 ("python-speechd" ,speech-dispatcher)
10201 ("xkbcomp" ,xkbcomp)))
10203 "Screen reader for individuals who are blind or visually impaired")
10204 (home-page "https://wiki.gnome.org/Projects/Orca")
10206 "Orca is a screen reader that provides access to the graphical desktop
10207 via speech and refreshable braille. Orca works with applications and toolkits
10208 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10209 (license license:lgpl2.1+)))
10211 (define-public gspell
10217 (uri (string-append "mirror://gnome/sources/" name "/"
10218 (version-major+minor version) "/"
10219 name "-" version ".tar.xz"))
10222 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10223 (patches (search-patches "gspell-dash-test.patch"))))
10224 (build-system glib-or-gtk-build-system)
10226 '(#:configure-flags (list "--enable-vala")
10228 (modify-phases %standard-phases
10229 (add-before 'check 'pre-check
10230 (lambda* (#:key inputs #:allow-other-keys)
10231 ;; Tests require a running X server.
10232 (system "Xvfb :1 &")
10233 (setenv "DISPLAY" ":1")
10235 ;; For the missing /etc/machine-id.
10236 (setenv "DBUS_FATAL_WARNINGS" "0")
10238 ;; Allow Enchant and its Aspell backend to find the en_US
10240 (setenv "ASPELL_DICT_DIR"
10241 (string-append (assoc-ref inputs "aspell-dict-en")
10247 ("iso-codes" ,iso-codes)))
10249 `(("glib" ,glib "bin")
10250 ("gobject-introspection" ,gobject-introspection)
10251 ("pkg-config" ,pkg-config)
10252 ("vala" ,vala) ;for VAPI, needed by Geary
10253 ("xmllint" ,libxml2)
10256 ("aspell-dict-en" ,aspell-dict-en)
10257 ("xorg-server" ,xorg-server-for-tests)))
10259 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10260 (home-page "https://wiki.gnome.org/Projects/gspell")
10261 (synopsis "GNOME's alternative spell checker")
10263 "gspell provides a flexible API to add spell-checking to a GTK+
10264 application. It provides a GObject API, spell-checking to text entries and
10265 text views, and buttons to choose the language.")
10266 (license license:gpl2+)))
10268 (define-public gnome-planner
10270 (name "gnome-planner")
10274 (uri (string-append "mirror://gnome/sources/planner/"
10275 (version-major+minor version) "/planner-"
10276 version ".tar.xz"))
10279 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10280 (build-system glib-or-gtk-build-system)
10282 ;; Disable the Python bindings because the Planner program functions
10283 ;; without them, and (as of 2017-06-13) we have not packaged all of
10284 ;; packages that are necessary for building the Python bindings.
10285 `(#:configure-flags
10286 (list "--disable-python"
10287 ,@(if (string=? "aarch64-linux" (%current-system))
10288 '("--build=aarch64-unknown-linux-gnu")
10291 `(("libgnomecanvas" ,libgnomecanvas)
10292 ("libgnomeui" ,libgnomeui)
10293 ("libglade" ,libglade)
10294 ("gnome-vfs" ,gnome-vfs)
10296 ("libxml2" ,libxml2)
10297 ("libxslt" ,libxslt)
10301 `(("intltool" ,intltool)
10302 ("scrollkeeper" ,scrollkeeper)
10303 ("pkg-config" ,pkg-config)))
10304 (home-page "https://wiki.gnome.org/Apps/Planner")
10305 (synopsis "Project management software for the GNOME desktop")
10307 "GNOME Planner is a project management tool based on the Work Breakdown
10308 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10309 the resources, tasks, and constraints that you define, Planner generates
10310 various views into a project. For example, Planner can show a Gantt chart of
10311 the project. It can show a detailed summary of tasks including their
10312 duration, cost, and current progress. It can also show a report of resource
10313 utilization that highlights under-utilized and over-utilized resources. These
10314 views can be printed as PDF or PostScript files, or exported to HTML.")
10315 (license license:gpl2+)))
10317 (define-public lollypop
10324 (uri (string-append "https://adishatz.org/lollypop/"
10325 "lollypop-" version ".tar.xz"))
10327 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10328 (build-system meson-build-system)
10330 `(#:imported-modules
10331 (,@%meson-build-system-modules
10332 (guix build python-build-system))
10334 ((guix build meson-build-system)
10335 ((guix build python-build-system) #:prefix python:)
10336 (guix build utils))
10338 #:tests? #f ; no test suite
10340 (modify-phases %standard-phases
10341 (add-after 'install 'wrap-program
10342 (lambda* (#:key outputs #:allow-other-keys)
10343 (let ((out (assoc-ref outputs "out"))
10344 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10345 (wrap-program (string-append out "/bin/lollypop")
10346 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10348 (add-after 'install 'wrap-python
10349 (assoc-ref python:%standard-phases 'wrap)))))
10351 `(("intltool" ,intltool)
10352 ("itstool" ,itstool)
10353 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10354 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10355 ("pkg-config" ,pkg-config)))
10357 `(("glib-networking" ,glib-networking)
10358 ("gobject-introspection" ,gobject-introspection)
10359 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10360 ("gst-plugins-base" ,gst-plugins-base)
10361 ("libnotify" ,libnotify)
10362 ("libsecret" ,libsecret)
10363 ("libhandy" ,libhandy)
10364 ("libsoup" ,libsoup)
10366 ("python-beautifulsoup4" ,python-beautifulsoup4)
10367 ("python-gst" ,python-gst)
10368 ("python-pil" ,python-pillow)
10369 ("python-pycairo" ,python-pycairo)
10370 ("python-pygobject" ,python-pygobject)
10371 ("python-pylast" ,python-pylast)
10372 ("totem-pl-parser" ,totem-pl-parser)
10373 ("webkitgtk" ,webkitgtk)))
10375 `(;; gst-plugins-base is required to start Lollypop,
10376 ;; the others are required to play streaming.
10377 ("gst-plugins-good" ,gst-plugins-good)
10378 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10379 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10380 (synopsis "GNOME music playing application")
10382 "Lollypop is a music player designed to play well with GNOME desktop.
10383 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10384 from artists and tracks from the web. It also fetches cover artworks
10385 automatically and it can stream songs from online music services and charts.")
10386 (license license:gpl3+)))
10388 (define-public gnome-video-effects
10390 (name "gnome-video-effects")
10394 (uri (string-append "mirror://gnome/sources/" name "/"
10395 (version-major+minor version) "/" name "-"
10396 version ".tar.xz"))
10399 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10400 (build-system meson-build-system)
10402 `(("gettext" ,gettext-minimal)
10403 ("pkg-config" ,pkg-config)))
10404 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10405 (synopsis "Video effects for Cheese and other GNOME applications")
10407 "A collection of GStreamer video filters and effects to be used in
10408 photo-booth-like software, such as Cheese.")
10409 (license license:gpl2+)))
10411 (define-public cheese
10417 (uri (string-append "mirror://gnome/sources/" name "/"
10418 (version-major+minor version) "/" name "-"
10419 version ".tar.xz"))
10422 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10424 `(#:glib-or-gtk? #t
10425 ;; Tests require GDK.
10428 (modify-phases %standard-phases
10429 (add-after 'unpack 'skip-gtk-update-icon-cache
10431 ;; Don't create 'icon-theme.cache'
10432 (substitute* "meson_post_install.py"
10433 (("gtk-update-icon-cache") (which "true")))
10435 (add-after 'unpack 'patch-docbook-xml
10436 (lambda* (#:key inputs #:allow-other-keys)
10437 ;; Avoid a network connection attempt during the build.
10438 (substitute* '("docs/reference/cheese.xml"
10439 "docs/reference/cheese-docs.xml")
10440 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10441 (string-append (assoc-ref inputs "docbook-xml")
10442 "/xml/dtd/docbook/docbookx.dtd")))
10444 (add-after 'install 'wrap-cheese
10445 (lambda* (#:key inputs outputs #:allow-other-keys)
10446 (let ((out (assoc-ref outputs "out"))
10447 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10448 (wrap-program (string-append out "/bin/cheese")
10449 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10451 (build-system meson-build-system)
10453 `(("docbook-xsl" ,docbook-xsl)
10454 ("docbook-xml" ,docbook-xml-4.3)
10455 ("gettext" ,gettext-minimal)
10456 ("glib:bin" ,glib "bin")
10457 ("gtk-doc" ,gtk-doc/stable)
10458 ("itstool" ,itstool)
10459 ("libxml2" ,libxml2)
10460 ("libxslt" ,libxslt)
10461 ("pkg-config" ,pkg-config)
10464 `(("gnome-video-effects" ,gnome-video-effects)
10465 ("clutter" ,clutter)
10466 ("clutter-gst" ,clutter-gst)
10467 ("clutter-gtk" ,clutter-gtk)
10468 ("libcanberra" ,libcanberra)
10469 ("gdk-pixbuf" ,gdk-pixbuf)
10471 ("gstreamer" ,gstreamer)))
10473 `(("gnome-desktop" ,gnome-desktop)
10474 ("gobject-introspection" ,gobject-introspection)
10475 ("gst-plugins-base" ,gst-plugins-base)
10476 ("gst-plugins-good" ,gst-plugins-good)
10477 ("gst-plugins-bad" ,gst-plugins-bad)
10480 ("libxtst" ,libxtst)))
10481 (home-page "https://wiki.gnome.org/Apps/Cheese")
10482 (synopsis "Webcam photo booth software for GNOME")
10484 "Cheese uses your webcam to take photos and videos. Cheese can also
10485 apply fancy special effects and lets you share the fun with others.")
10486 (license license:gpl2+)))
10488 (define-public passwordsafe
10490 (name "passwordsafe")
10495 (uri (git-reference
10496 (url "https://gitlab.gnome.org/World/PasswordSafe")
10498 (file-name (git-file-name name version))
10500 (base32 "1xh64bbg10gnfzlck5jvqy2zk6hbk9cyqgv85xc9kbdvs8n4lhgh"))))
10501 (build-system meson-build-system)
10503 `(#:glib-or-gtk? #t
10505 (modify-phases %standard-phases
10506 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10507 (lambda* (#:key outputs #:allow-other-keys)
10508 (let ((prog (string-append (assoc-ref outputs "out")
10509 "/bin/gnome-passwordsafe"))
10510 (pylib (string-append (assoc-ref outputs "out")
10512 ,(version-major+minor
10513 (package-version python))
10514 "/site-packages")))
10516 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10517 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10520 `(("desktop-file-utils" ,desktop-file-utils)
10521 ("gettext" ,gettext-minimal)
10522 ("glib:bin" ,glib "bin")
10523 ("gobject-introspection" ,gobject-introspection)
10524 ("gtk+:bin" ,gtk+ "bin")
10525 ("pkg-config" ,pkg-config)))
10528 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10530 ("libhandy" ,libhandy)
10531 ("libpwquality" ,libpwquality)
10532 ("python-pygobject" ,python-pygobject)
10533 ("python-pykeepass" ,python-pykeepass)))
10534 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10535 (synopsis "Password manager for the GNOME desktop")
10537 "Password Safe is a password manager which makes use of the KeePass v4
10538 format. It integrates perfectly with the GNOME desktop and provides an easy
10539 and uncluttered interface for the management of password databases.")
10540 (license license:gpl3+)))
10542 (define-public sound-juicer
10544 (name "sound-juicer")
10549 (uri (string-append "mirror://gnome/sources/" name "/"
10550 (version-major+minor version) "/"
10551 name "-" version ".tar.xz"))
10554 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10555 (build-system glib-or-gtk-build-system)
10557 `(("desktop-file-utils" ,desktop-file-utils)
10558 ("intltool" ,intltool)
10559 ("itstool" ,itstool)
10560 ("pkg-config" ,pkg-config)
10561 ("xmllint" ,libxml2)))
10564 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10565 ("gstreamer" ,gstreamer)
10566 ("gst-plugins-base" ,gst-plugins-base)
10567 ("gst-plugins-good" ,gst-plugins-good)
10568 ("iso-codes" ,iso-codes)
10569 ("libbrasero-media3" ,brasero)
10570 ("libcanberra" ,libcanberra)
10571 ("libdiscid" ,libdiscid)
10572 ("libmusicbrainz" ,libmusicbrainz)
10574 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10575 (synopsis "Audio music cd ripper")
10576 (description "Sound Juicer extracts audio from compact discs and convert it
10577 into audio files that a personal computer or digital audio player can play.
10578 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10579 mp3, Ogg Vorbis and FLAC")
10580 (license license:gpl2+)))
10582 (define-public soundconverter
10584 (name "soundconverter")
10589 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10590 version "/+download/"
10591 "soundconverter-" version ".tar.xz"))
10594 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10595 (build-system glib-or-gtk-build-system)
10597 `(#:imported-modules ((guix build python-build-system)
10598 (guix build glib-or-gtk-build-system)
10599 ,@%gnu-build-system-modules)
10601 #:modules ((guix build glib-or-gtk-build-system)
10603 ((guix build gnu-build-system) #:prefix gnu:)
10604 ((guix build python-build-system) #:prefix python:))
10607 (modify-phases %standard-phases
10608 (add-after 'install 'wrap-soundconverter-for-python
10609 (assoc-ref python:%standard-phases 'wrap))
10610 (add-after 'install 'wrap-soundconverter
10611 (lambda* (#:key inputs outputs #:allow-other-keys)
10612 (let ((out (assoc-ref outputs "out"))
10613 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10614 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10615 (wrap-program (string-append out "/bin/soundconverter")
10616 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10617 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10620 `(("intltool" ,intltool)
10621 ("pkg-config" ,pkg-config)
10622 ("glib:bin" ,glib "bin")))
10626 ("python-pygobject" ,python-pygobject)
10627 ("gstreamer" ,gstreamer)
10628 ("gst-plugins-base" ,gst-plugins-base)))
10629 (home-page "https://soundconverter.org/")
10630 (synopsis "Convert between audio formats with a graphical interface")
10632 "SoundConverter supports converting between many audio formats including
10633 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10634 configurable file renaming. ")
10635 (license license:gpl3)))
10637 (define-public workrave
10640 (version "1.10.43")
10644 (uri (git-reference
10645 (url "https://github.com/rcaelers/workrave")
10646 (commit (string-append "v" (string-map
10647 (match-lambda (#\. #\_) (chr chr))
10649 (file-name (git-file-name name version))
10651 (base32 "1baa9qjzd4b3q1zy5vhvyrx0hyz17mk237373ca48647897kw4cr"))))
10652 (build-system glib-or-gtk-build-system)
10654 ;; The only tests are maintainer tests (in po/), which fail.
10656 (inputs `(("glib" ,glib)
10658 ("gdk-pixbuf" ,gdk-pixbuf)
10662 ("libxtst" ,libxtst)
10666 ("libxscrnsaver" ,libxscrnsaver)))
10667 (native-inputs `(("boost" ,boost)
10668 ("pkg-config" ,pkg-config)
10669 ("gettext" ,gettext-minimal)
10670 ("autoconf" ,autoconf)
10671 ("autoconf-archive" , autoconf-archive)
10672 ("automake" ,automake)
10673 ("libtool" ,libtool)
10674 ("intltool" ,intltool)
10675 ("gobject-introspection" ,gobject-introspection)
10676 ("python3" ,python-3)
10677 ("python-jinja2" ,python-jinja2)))
10678 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10680 "Workrave is a program that assists in the recovery and prevention of
10681 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10682 micro-pauses and rest breaks, and restricts you to your daily limit.")
10683 (home-page "http://www.workrave.org")
10684 (license license:gpl3+)))
10686 (define-public ghex
10692 (uri (string-append "mirror://gnome/sources/ghex/"
10693 (version-major+minor version) "/"
10694 "ghex-" version ".tar.xz"))
10697 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10698 (build-system meson-build-system)
10700 '(#:glib-or-gtk? #t
10702 (modify-phases %standard-phases
10703 (add-after 'unpack 'skip-gtk-update-icon-cache
10704 ;; Don't create 'icon-theme.cache'.
10706 (substitute* "meson_post_install.py"
10707 (("gtk-update-icon-cache") (which "true")))
10710 `(("pkg-config" ,pkg-config)
10711 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10712 ("gnome-common" ,gnome-common)
10714 ("intltool" ,intltool)
10715 ("yelp-tools" ,yelp-tools)
10716 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10720 (synopsis "GNOME hexadecimal editor")
10721 (description "The GHex program can view and edit files in two ways:
10722 hexadecimal or ASCII. It is useful for editing binary files in general.")
10723 (home-page "https://wiki.gnome.org/Apps/Ghex")
10724 (license license:gpl2)))
10726 (define-public libdazzle
10732 (uri (string-append "mirror://gnome/sources/libdazzle/"
10733 (version-major+minor version) "/"
10734 "libdazzle-" version ".tar.xz"))
10737 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10738 (build-system meson-build-system)
10741 (modify-phases %standard-phases
10742 (add-before 'check 'pre-check
10744 ;; Tests require a running X server.
10745 (system "Xvfb :1 &")
10746 (setenv "DISPLAY" ":1")
10749 `(("glib" ,glib "bin") ; glib-compile-resources
10750 ("pkg-config" ,pkg-config)
10752 ("xorg-server" ,xorg-server-for-tests)))
10755 ("gobject-introspection" ,gobject-introspection)
10758 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10759 (synopsis "Companion library to GObject and Gtk+")
10760 (description "The libdazzle library is a companion library to GObject and
10761 Gtk+. It provides various features that the authors wish were in the
10762 underlying library but cannot for various reasons. In most cases, they are
10763 wildly out of scope for those libraries. In other cases, they are not quite
10764 generic enough to work for everyone.")
10765 (license license:gpl3+)))
10767 (define-public evolution
10773 (uri (string-append "mirror://gnome/sources/evolution/"
10774 (version-major+minor version) "/"
10775 "evolution-" version ".tar.xz"))
10778 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))
10779 (patches (search-patches "evolution-CVE-2020-11879.patch"))))
10780 (build-system cmake-build-system)
10782 `(#:imported-modules (,@%cmake-build-system-modules
10783 (guix build glib-or-gtk-build-system))
10784 #:modules ((guix build cmake-build-system)
10785 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10786 (guix build utils))
10788 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10789 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10790 ; in four years and cannot be built.
10792 (modify-phases %standard-phases
10793 ;; The build system attempts to install user interface modules to the
10794 ;; output directory of the "evolution-data-server" package. This
10795 ;; change redirects that change.
10796 (add-after 'unpack 'patch-ui-module-dir
10797 (lambda* (#:key outputs #:allow-other-keys)
10798 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10799 (("\\$\\{edsuimoduledir\\}")
10800 (string-append (assoc-ref outputs "out")
10801 "/lib/evolution-data-server/ui-modules")))
10803 (add-after 'install 'glib-or-gtk-compile-schemas
10804 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10805 (add-after 'install 'glib-or-gtk-wrap
10806 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10808 `(("glib" ,glib "bin") ; glib-mkenums
10809 ("pkg-config" ,pkg-config)
10810 ("intltool" ,intltool)
10811 ("itstool" ,itstool)))
10813 `(("enchant" ,enchant)
10814 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10816 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10817 ("gnome-autoar" ,gnome-autoar)
10818 ("gnome-desktop" ,gnome-desktop)
10820 ("highlight" ,highlight)
10821 ("libcanberra" ,libcanberra)
10822 ("libgweather" ,libgweather)
10823 ("libnotify" ,libnotify)
10824 ("libsoup" ,libsoup)
10826 ("openldap" ,openldap)
10827 ("webkitgtk" ,webkitgtk)
10829 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10830 (synopsis "Manage your email, contacts and schedule")
10831 (description "Evolution is a personal information management application
10832 that provides integrated mail, calendaring and address book
10834 ;; See COPYING for details.
10835 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10836 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10837 license:lgpl2.1+)))) ; smime/lib/*
10839 (define-public gthumb
10845 (uri (string-append "mirror://gnome/sources/gthumb/"
10846 (version-major+minor version) "/"
10847 "gthumb-" version ".tar.xz"))
10850 "04n2sgasc03kiczyzkq362pjilj12hq2r5qj07lynqr9rivkzdys"))))
10851 (build-system meson-build-system)
10853 `(#:glib-or-gtk? #t
10855 ;; Ensure the RUNPATH contains all installed library locations.
10856 (list (string-append "-Dc_link_args=-Wl,-rpath="
10857 (assoc-ref %outputs "out")
10858 "/lib/gthumb/extensions")
10859 (string-append "-Dcpp_link_args=-Wl,-rpath="
10860 (assoc-ref %outputs "out")
10861 "/lib/gthumb/extensions"))))
10863 `(("pkg-config" ,pkg-config)
10864 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10865 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10866 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10867 ("intltool" ,intltool)
10868 ("itstool" ,itstool)))
10872 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10873 ("gstreamer" ,gstreamer)
10874 ("clutter" ,clutter)
10875 ("clutter-gst" ,clutter-gst)
10876 ("clutter-gtk" ,clutter-gtk)
10877 ("libjpeg" ,libjpeg-turbo)
10878 ("libtiff" ,libtiff)
10879 ("libraw" ,libraw)))
10880 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10881 (synopsis "GNOME image viewer and browser")
10882 (description "GThumb is an image viewer, browser, organizer, editor and
10883 advanced image management tool")
10884 (license license:gpl2+)))
10886 (define-public terminator
10888 (name "terminator")
10893 (uri (string-append "https://github.com/gnome-terminator/terminator/"
10894 "releases/download/v" version "/"
10895 name "-" version ".tar.gz"))
10897 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
10898 (build-system python-build-system)
10900 `(("gettext" ,gettext-minimal)
10901 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10902 ("gobject-introspection" ,gobject-introspection)
10903 ("intltool" ,intltool)
10904 ("pkg-config" ,pkg-config)
10905 ("python-psutil" ,python-psutil)
10906 ("python-pytest-runner" ,python-pytest-runner)
10907 ("python-pytest" ,python-pytest)))
10910 ("dbus-glib" ,dbus-glib)
10911 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10913 ("python" ,python-wrapper)
10914 ("python-dbus" ,python-dbus)
10915 ("python-notify2" ,python-notify2)
10916 ("python-pycairo" ,python-pycairo)
10917 ("python-pygobject" ,python-pygobject)
10920 `(("python-configobj" ,python-configobj)))
10922 ;; One test out of 28 fails due to dbus-python and python-notify; skip
10925 #:imported-modules ((guix build glib-or-gtk-build-system)
10926 ,@%python-build-system-modules)
10927 #:modules ((guix build python-build-system)
10928 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10929 (guix build utils))
10931 (modify-phases %standard-phases
10932 (add-after 'unpack 'handle-dbus-python
10934 ;; python-dbus cannot be found but it's really there. See
10935 ;; https://github.com/SpotlightKid/jack-select/issues/2
10936 (substitute* "setup.py"
10937 (("'dbus-python',") ""))
10939 (add-after 'install 'wrap-program
10940 (lambda* (#:key outputs #:allow-other-keys)
10941 (let ((prog (string-append (assoc-ref outputs "out")
10942 "/bin/terminator"))
10943 (pylib (string-append (assoc-ref outputs "out")
10945 ,(version-major+minor
10946 (package-version python))
10947 "/site-packages")))
10949 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10950 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10952 (add-after 'wrap-program 'glib-or-gtk-wrap
10953 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10954 (home-page "https://gnome-terminator.org/")
10955 (synopsis "Store and run multiple GNOME terminals in one window")
10957 "Terminator allows you to run multiple GNOME terminals in a grid and
10958 tabs, and it supports drag and drop re-ordering of terminals.")
10959 (license license:gpl2)))
10961 (define-public libhandy
10968 (uri (git-reference
10969 (url "https://gitlab.gnome.org/GNOME/libhandy")
10971 (file-name (git-file-name name version))
10973 (base32 "0345x7gif6yjm95y62lww71lj84wfwsr2p32r3iww8shavb8scyk"))))
10974 (build-system meson-build-system)
10976 `(#:configure-flags
10977 '("-Dglade_catalog=enabled"
10980 (modify-phases %standard-phases
10981 (add-before 'check 'pre-check
10983 ;; Tests require a running X server.
10984 (system "Xvfb :1 &")
10985 (setenv "DISPLAY" ":1")
10990 ("libxml2" ,libxml2)))
10992 `(("glib:bin" ,glib "bin")
10993 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10995 ("gtk-doc" ,gtk-doc/stable)
10996 ("pkg-config" ,pkg-config)
10997 ("gettext" ,gettext-minimal)
10999 ;; Test suite dependencies.
11000 ("xorg-server" ,xorg-server-for-tests)
11001 ("hicolor-icon-theme" ,hicolor-icon-theme)))
11002 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11003 (synopsis "Library full of GTK+ widgets for mobile phones")
11004 (description "The aim of the handy library is to help with developing user
11005 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11006 for usage on small and big screens.")
11007 (license license:lgpl2.1+)))
11009 (define-public libhandy-0.0
11016 (uri (git-reference
11017 (url "https://gitlab.gnome.org/GNOME/libhandy")
11018 (commit (string-append "v" version))))
11019 (file-name (git-file-name "libhandy" version))
11021 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11023 (substitute-keyword-arguments (package-arguments libhandy)
11024 ((#:configure-flags flags)
11025 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11027 (define-public libgit2-glib
11029 (name "libgit2-glib")
11030 (version "0.99.0.1")
11033 (uri (string-append "mirror://gnome/sources/" name "/"
11034 (version-major+minor version) "/"
11035 name "-" version ".tar.xz"))
11038 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
11039 (build-system meson-build-system)
11041 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
11042 ("gobject-introspection" ,gobject-introspection)
11043 ("pkg-config" ,pkg-config)
11044 ("python-pygobject" ,python-pygobject)
11045 ("python-wrapper" ,python-wrapper)
11049 ("libssh2" ,libssh2)))
11051 `(;; In Requires of libgit2-glib.pc.
11052 ("libgit2" ,libgit2)))
11053 (synopsis "GLib wrapper around the libgit2 Git access library")
11054 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11055 access library. It only implements the core plumbing functions, not really the
11056 higher level porcelain stuff.")
11057 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11058 (license license:gpl2+)))
11060 (define-public gitg
11066 (uri (string-append "mirror://gnome/sources/" name "/"
11067 (version-major+minor version) "/"
11068 name "-" version ".tar.xz"))
11071 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11072 (build-system meson-build-system)
11074 `(#:glib-or-gtk? #t
11076 (modify-phases %standard-phases
11077 (add-after 'unpack 'disable-post-install-partially
11079 (substitute* "meson_post_install.py"
11080 (("'python'") ; there are no python sources to compile
11081 (string-append "'" (which "true") "'"))
11082 (("gtk-update-icon-cache") (which "true")))
11084 (add-after 'unpack 'fix-test-sources
11086 (substitute* "tests/libgitg/test-commit.vala"
11087 (("/bin/bash") (which "bash")))
11089 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11090 (lambda* (#:key outputs #:allow-other-keys)
11091 (let ((prog (string-append (assoc-ref outputs "out")
11094 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11098 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11100 ("gtkspell3" ,gtkspell3)
11101 ("gtksourceview" ,gtksourceview-3)
11102 ("json-glib" ,json-glib)
11103 ("libdazzle" ,libdazzle)
11105 ("libgit2-glib" ,libgit2-glib)
11106 ("libpeas" ,libpeas)
11107 ("libsecret" ,libsecret)
11108 ("libsoup" ,libsoup)
11109 ("libxml2" ,libxml2)))
11111 `(("glib:bin" ,glib "bin")
11112 ("gtk+:bin" ,gtk+ "bin")
11113 ("gobject-introspection" ,gobject-introspection)
11114 ("intltool" ,intltool)
11115 ("pkg-config" ,pkg-config)
11117 (synopsis "Graphical user interface for git")
11119 "gitg is a graphical user interface for git. It aims at being a small,
11120 fast and convenient tool to visualize the history of git repositories.
11121 Besides visualization, gitg also provides several utilities to manage your
11122 repository and commit your work.")
11123 (home-page "https://wiki.gnome.org/Apps/Gitg")
11124 (license license:gpl2+)))
11126 (define-public gamin
11132 (uri (string-append "mirror://gnome/sources/" name "/"
11133 (version-major+minor version) "/"
11134 name "-" version ".tar.bz2"))
11137 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11138 (build-system gnu-build-system)
11141 (modify-phases %standard-phases
11142 (add-after 'unpack 'remove-deprecated-macro
11144 (substitute* '("server/gam_node.c"
11145 "server/gam_subscription.h"
11146 "server/gam_node.h"
11147 "server/gam_subscription.c")
11148 (("G_CONST_RETURN") "const"))
11153 `(("intltool" ,intltool)
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)))
11504 (home-page "https://glabels.org/")
11505 (synopsis "Program for creating labels and business cards")
11507 "gLabels is a program for creating labels and business cards. It is
11508 designed to work with various laser/ink-jet peel-off label and business
11509 card sheets that you’ll find at most office supply stores.")
11510 (license license:gpl3+)))
11512 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11513 (define-public gnome-latex
11515 (name "gnome-latex")
11520 (uri (string-append "mirror://gnome/sources/" name "/"
11521 (version-major+minor version) "/"
11522 "gnome-latex-" version ".tar.xz"))
11524 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11525 (build-system glib-or-gtk-build-system)
11527 `(("gettext" ,gettext-minimal)
11528 ("glib:bin" ,glib "bin")
11529 ("gobject-introspection" ,gobject-introspection)
11530 ("gtk-doc" ,gtk-doc/stable)
11531 ("intltool" ,intltool)
11532 ("itstool" ,itstool)
11533 ("pkg-config" ,pkg-config)
11539 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11542 ("gtksourceview" ,gtksourceview)
11545 ("uchardet" ,uchardet)))
11546 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11547 (synopsis "LaTeX editor for the GNOME desktop")
11549 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11550 such as build tools, completion of LaTeX commands, structure navigation,
11551 symbol tables, document templates, project management, spell-checking, menus
11553 (license license:gpl3+)))
11555 (define-public setzer
11562 (uri (git-reference
11563 (url "https://github.com/cvfosammmm/Setzer")
11564 (commit (string-append "v" version))))
11565 (file-name (git-file-name name version))
11567 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11568 (build-system meson-build-system)
11570 `(#:glib-or-gtk? #t
11572 (modify-phases %standard-phases
11573 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11574 (lambda* (#:key outputs #:allow-other-keys)
11575 (let ((prog (string-append (assoc-ref outputs "out")
11577 (pylib (string-append (assoc-ref outputs "out")
11579 ,(version-major+minor
11580 (package-version python))
11581 "/site-packages")))
11583 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11584 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11587 `(("desktop-file-utils" ,desktop-file-utils)
11588 ("gettext" ,gettext-minimal)
11589 ("glib:bin" ,glib "bin")
11590 ("gobject-introspection" ,gobject-introspection)
11591 ("gtk+:bin" ,gtk+ "bin")))
11593 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11596 ("gtksourceview" ,gtksourceview)
11598 ("poppler" ,poppler)
11599 ("python-pdfminer" ,python-pdfminer-six)
11600 ("python-pycairo" ,python-pycairo)
11601 ("python-pygobject" ,python-pygobject)
11602 ("python-pyxdg" ,python-pyxdg)
11603 ("webkitgtk" ,webkitgtk)
11604 ("xdg-utils" ,xdg-utils)))
11605 (home-page "https://www.cvfosammmm.org/setzer/")
11606 (synopsis "LaTeX editor written in Python with GTK+")
11608 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11609 GTK+. It integrates well with the GNOME desktop environment.")
11610 (license license:gpl3+)))
11612 (define-public apostrophe
11614 (name "apostrophe")
11618 (uri (git-reference
11619 (url "https://gitlab.gnome.org/somas/apostrophe")
11620 (commit (string-append "v" version))))
11621 (file-name (git-file-name name version))
11624 "1qzy3zhi18wf42m034s8kcmx9gl05j620x3hf6rnycq2fvy7g4gz"))))
11625 (build-system meson-build-system)
11627 `(#:glib-or-gtk? #t
11629 (modify-phases %standard-phases
11630 (add-after 'unpack 'patch-meson
11632 (substitute* "build-aux/meson_post_install.py"
11633 (("gtk-update-icon-cache") "true"))
11635 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11636 (lambda* (#:key inputs outputs #:allow-other-keys)
11637 (let ((prog (string-append (assoc-ref outputs "out")
11638 "/bin/apostrophe"))
11639 (pylib (string-append (assoc-ref outputs "out")
11641 ,(version-major+minor
11642 (package-version python))
11643 "/site-packages")))
11645 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11646 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
11647 `("PATH" prefix (,(string-append (assoc-ref inputs "pandoc")
11652 ("gobject-introspection" ,gobject-introspection)
11655 ("libhandy" ,libhandy)
11657 ("python-chardet" ,python-chardet)
11658 ("python-levenshtein" ,python-levenshtein)
11659 ("python-regex" ,python-regex)
11660 ("python-pycairo" ,python-pycairo)
11661 ("python-pygobject" ,python-pygobject)
11662 ("python-pyenchant" ,python-pyenchant)
11663 ("python-pypandoc" ,python-pypandoc)
11664 ("webkitgtk" ,webkitgtk)))
11666 `(("gettext" ,gettext-minimal)
11667 ("glib:bin" ,glib "bin")
11668 ("pkg-config" ,pkg-config)))
11669 (home-page "https://gitlab.gnome.org/somas/apostrophe")
11670 (synopsis "Markdown editor written in Python with GTK+")
11671 (description "Apostrophe is a GTK+ based distraction free Markdown editor.
11672 It uses pandoc as back-end for parsing Markdown.")
11673 (license license:gpl3)))
11675 (define-public libratbag
11682 (uri (git-reference
11683 (url "https://github.com/libratbag/libratbag")
11684 (commit (string-append "v" version))))
11685 (file-name (git-file-name name version))
11687 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11688 (build-system meson-build-system)
11690 `(#:configure-flags
11691 (list "-Dsystemd=false"
11692 "-Dlogind-provider=elogind")
11694 (modify-phases %standard-phases
11695 (add-after 'install 'wrap
11696 (lambda* (#:key inputs outputs #:allow-other-keys)
11697 (let* ((out (assoc-ref outputs "out"))
11698 (site (string-append
11700 ,(version-major+minor (package-version python))
11702 (evdev (string-append
11703 (assoc-ref inputs "python-evdev") site))
11704 (pygo (string-append
11705 (assoc-ref inputs "python-pygobject") site))
11707 `("PYTHONPATH" = (,evdev ,pygo))))
11708 (wrap-program (string-append out "/bin/" "ratbagctl")
11713 ("pkg-config" ,pkg-config)
11715 ("valgrind" ,valgrind)))
11718 ("json-glib" ,json-glib)
11719 ("libevdev" ,libevdev)
11720 ("libsystemd" ,elogind)
11721 ("libunistring" ,libunistring)
11722 ("python-evdev" ,python-evdev)
11723 ("python-pygobject" ,python-pygobject)
11725 (home-page "https://github.com/libratbag/libratbag")
11726 (synopsis "DBus daemon and utility for configuring gaming mice")
11727 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11728 configure input devices, mainly gaming mice. The daemon provides a generic
11729 way to access the various features exposed by these mice and abstracts away
11730 hardware-specific and kernel-specific quirks. There is also the
11731 @command{ratbagctl} command line interface for configuring devices.
11733 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11736 The ratbagd DBus service can be enabled by adding the following service to
11737 your operating-system definition:
11739 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11740 (license license:expat)))
11742 (define-public piper
11749 (uri (git-reference
11750 (url "https://github.com/libratbag/piper")
11753 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11754 (file-name (git-file-name name version))))
11755 (build-system meson-build-system)
11757 `(("gettext" ,gettext-minimal)
11758 ("glib:bin" ,glib "bin")
11759 ("gobject-introspection" ,gobject-introspection)
11760 ("pkg-config" ,pkg-config)
11761 ("python-flake8" ,python-flake8)))
11763 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11765 ("gtk:bin" ,gtk+ "bin")
11766 ("librsvg" ,librsvg)
11767 ("python-evdev" ,python-evdev)
11768 ("python-lxml" ,python-lxml)
11769 ("python-pycairo" ,python-pycairo)
11770 ("python-pygobject" ,python-pygobject)))
11772 `(#:imported-modules ((guix build python-build-system)
11773 ,@%meson-build-system-modules)
11774 #:modules (((guix build python-build-system) #:prefix python:)
11775 (guix build meson-build-system)
11776 (guix build utils))
11777 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11779 (modify-phases %standard-phases
11780 (add-after 'unpack 'dont-update-gtk-icon-cache
11782 (substitute* "meson.build"
11783 (("meson.add_install_script('meson_install.sh')") ""))
11785 ;; TODO: Switch to wrap-script when it is fixed.
11786 (add-after 'install 'wrap-python
11787 (assoc-ref python:%standard-phases 'wrap))
11788 (add-after 'wrap-python 'wrap
11789 (lambda* (#:key outputs #:allow-other-keys)
11791 (string-append (assoc-ref outputs "out" )"/bin/piper")
11792 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11794 (home-page "https://github.com/libratbag/piper/")
11795 (synopsis "Configure bindings and LEDs on gaming mice")
11796 (description "Piper is a GTK+ application for configuring gaming mice with
11797 onboard configuration for key bindings via libratbag. Piper requires
11798 a @command{ratbagd} daemon running with root privileges. It can be run
11799 manually as root, but is preferably configured as a DBus service that can
11800 launch on demand. This can be configured by enabling the following service,
11801 provided there is a DBus service present:
11803 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11804 (license license:gpl2)))
11806 (define-public parlatype
11813 (uri (git-reference
11814 (url "https://github.com/gkarsay/parlatype")
11815 (commit (string-append "v" version))))
11816 (file-name (git-file-name name version))
11818 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11819 (build-system meson-build-system)
11821 `(#:glib-or-gtk? #t
11822 #:tests? #f ;require internet access
11824 (modify-phases %standard-phases
11825 (add-after 'install 'wrap-parlatype
11826 ;; Add gstreamer plugin provided in this package to system's
11828 (lambda* (#:key outputs #:allow-other-keys)
11829 (let* ((out (assoc-ref outputs "out"))
11830 (gst-plugin-path (string-append
11831 out "/lib/gstreamer-1.0/"
11833 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11834 (wrap-program (string-append out "/bin/parlatype")
11835 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11838 `(("appstream-glib" ,appstream-glib)
11839 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11840 ("gettext" ,gettext-minimal)
11841 ("glib" ,glib "bin") ;for glib-compile-resources
11842 ("pkg-config" ,pkg-config)
11843 ("yelp-tools" ,yelp-tools)))
11845 `(("gst-plugins-base" ,gst-plugins-base)
11846 ("gst-plugins-good" ,gst-plugins-good)
11847 ("gstreamer" ,gstreamer)
11849 ("pocketsphinx" ,pocketsphinx)
11850 ("pulseaudio" ,pulseaudio)
11851 ("sphinxbase" ,sphinxbase)))
11852 (home-page "http://gkarsay.github.io/parlatype/")
11853 (synopsis "GNOME audio player for transcription")
11854 (description "Parlatype is an audio player for the GNOME desktop
11855 environment. Its main purpose is the manual transcription of spoken
11857 (license license:gpl3+)))
11859 (define-public jsonrpc-glib
11861 (name "jsonrpc-glib")
11865 (uri (string-append "mirror://gnome/sources/" name "/"
11866 (version-major+minor version) "/"
11867 name "-" version ".tar.xz"))
11870 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11871 (build-system meson-build-system)
11873 `(("json-glib" ,json-glib)
11876 `(("pkg-config" ,pkg-config)
11877 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11878 ("gobject-introspection" ,gobject-introspection)
11880 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11881 (synopsis "JSON-RPC library for GLib")
11882 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11883 peers in either a synchronous or asynchronous fashion. It also allows
11884 communicating using the GVariant serialization format instead of JSON when
11885 both peers support it. You might want that when communicating on a single
11886 host to avoid parser overhead and memory-allocator fragmentation.")
11887 (license license:lgpl2.1+)))
11889 (define-public feedbackd
11892 (version "0.0.0+git20200527")
11895 (uri (git-reference
11896 (url "https://source.puri.sm/Librem5/feedbackd.git")
11897 (commit (string-append "v" version))))
11898 (file-name (git-file-name name version))
11901 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11902 (build-system meson-build-system)
11904 `(("glib:bin" ,glib "bin")
11905 ("gobject-introspection" ,gobject-introspection)
11906 ("pkg-config" ,pkg-config)
11911 ("json-glib" ,json-glib)
11912 ("libgudev" ,libgudev)))
11914 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11915 (synopsis "Haptic/visual/audio feedback via DBus")
11916 (description "Feedbackd provides a DBus daemon to act on events to provide
11917 haptic, visual and audio feedback. It offers the libfeedbackd library and
11918 GObject introspection bindings.")
11919 (home-page "https://source.puri.sm/Librem5/feedbackd")
11920 (license (list license:lgpl2.1+ ; libfeedbackd
11921 license:lgpl3+)))) ; the rest
11923 (define-public sysprof
11930 (uri (string-append "mirror://gnome/sources/sysprof/"
11931 (version-major+minor version) "/"
11932 "sysprof-" version ".tar.xz"))
11934 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11935 (build-system meson-build-system)
11937 `(#:configure-flags
11938 (list (string-append "-Dsystemdunitdir="
11941 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11943 (modify-phases %standard-phases
11944 (add-after 'unpack 'patch-install-script
11946 (substitute* "build-aux/meson/post_install.sh"
11947 (("gtk-update-icon-cache") "true")
11948 (("update-desktop-database") "true"))
11953 ("libdazzle" ,libdazzle)
11954 ("polkit" ,polkit)))
11956 `(("gettext" ,gettext-minimal)
11957 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11958 ("itstool" ,itstool)
11959 ("pkg-config" ,pkg-config)
11960 ("xmllint" ,libxml2)))
11961 ;; This home page is so woefully out of date as to be essentially useless.
11962 ;; (home-page "http://www.sysprof.com")
11963 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11964 (synopsis "System-wide performance profiler for GNU/Linux")
11966 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11967 GNU/Linux system including the kernel and all user-space applications. This
11968 helps find the function(s) in which a program spends most of its time.
11970 It uses the kernel's built-in @code{ptrace} feature and handles shared
11971 libraries. Applications do not need to be recompiled--or even restarted.")
11972 (license license:gpl3+)))
11974 (define-public gnome-builder
11976 (name "gnome-builder")
11980 (uri (string-append "mirror://gnome/sources/" name "/"
11981 (version-major+minor version) "/"
11982 name "-" version ".tar.xz"))
11985 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11986 (build-system meson-build-system)
11988 `(#:configure-flags (list "-Dnetwork_tests=false"
11989 ;; TODO: Enable all plugins...
11990 "-Dplugin_clang=false"
11991 "-Dplugin_flatpak=false"
11992 "-Dplugin_glade=false"
11993 ;; XXX: This one has been shown not to work in
11994 ;; <https://issues.guix.gnu.org/45272>
11995 "-Dplugin_jedi=false"
11996 ;; ... except this one.
11997 "-Dplugin_update_manager=false")
11999 (modify-phases %standard-phases
12000 (add-after 'unpack 'patch-meson
12001 (lambda* (#:key inputs #:allow-other-keys)
12002 (substitute* "build-aux/meson/post_install.py"
12003 (("gtk-update-icon-cache") "true")
12004 (("update-desktop-database") "true"))
12005 (substitute* "src/libide/meson.build"
12007 (string-append (assoc-ref inputs "python-pygobject")
12010 (add-after 'configure 'fix-ninja
12012 ;; #43296: meson(?) incorrectly assumes we want to link
12013 ;; this PIE against a static libselinux.
12014 (substitute* "build.ninja"
12015 (("libselinux\\.a") "libselinux.so"))
12017 (add-before 'check 'pre-check
12019 (system "Xvfb :1 &")
12020 (setenv "DISPLAY" ":1")
12023 `(("devhelp" ,devhelp)
12026 ("json-glib" ,json-glib)
12027 ("jsonrpc-glib" ,jsonrpc-glib)
12028 ("libdazzle" ,libdazzle)
12029 ("libgit2-glib" ,libgit2-glib)
12030 ("libpeas" ,libpeas)
12031 ("python-pygobject" ,python-pygobject)
12032 ("sysprof" ,sysprof)
12033 ("template-glib" ,template-glib)
12035 ("webkitgtk" ,webkitgtk)))
12037 `(("gtksourceview" ,gtksourceview))) ;needed for settings
12039 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
12040 ("glib:bin" ,glib "bin")
12041 ("gettext" ,gettext-minimal)
12042 ("pkg-config" ,pkg-config)
12044 ("xorg-server" ,xorg-server-for-tests)))
12045 (home-page "https://wiki.gnome.org/Apps/Builder")
12046 (synopsis "Toolsmith for GNOME-based applications")
12047 (description "Builder aims to be an integrated development
12048 environment (IDE) for writing GNOME-based software. It features fuzzy search,
12049 auto-completion, a mini code map, documentation browsing, Git integration, an
12050 integrated profiler via Sysprof, debugging support, and more.")
12051 (license license:gpl3+)))
12053 (define-public komikku
12060 (uri (git-reference
12061 (url "https://gitlab.com/valos/Komikku/")
12062 (commit (string-append "v" version))))
12063 (file-name (git-file-name name version))
12066 "0g1whk0y3k1cy6ix20gz226ww1vzpb9hinn5d24z6j38mdgqqa5l"))))
12067 (build-system meson-build-system)
12069 `(#:glib-or-gtk? #t
12071 (modify-phases %standard-phases
12072 (add-after 'unpack 'patch-sources
12074 (substitute* "komikku/utils.py"
12075 (("from komikku\\.servers import get_servers_list")
12076 ;; code following that line should migrate old databases
12077 ;; but the line itself results in an import error
12078 "return data_dir_path"))))
12079 (add-after 'unpack 'skip-gtk-update-icon-cache
12081 (substitute* "meson_post_install.py"
12082 (("gtk-update-icon-cache") (which "true")))
12084 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12085 (lambda* (#:key outputs #:allow-other-keys)
12086 (let ((prog (string-append (assoc-ref outputs "out")
12089 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
12090 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12094 ("libhandy" ,libhandy)
12095 ("libnotify" ,libnotify)
12096 ("libsecret" ,libsecret)
12097 ("python-beautifulsoup4" ,python-beautifulsoup4)
12098 ("python-brotli" ,python-brotli)
12099 ("python-cloudscraper" ,python-cloudscraper)
12100 ("python-dateparser" ,python-dateparser)
12101 ("python-keyring" ,python-keyring)
12102 ("python-lxml" ,python-lxml)
12103 ("python-magic" ,python-magic)
12104 ("python-pillow" ,python-pillow)
12105 ("python-pure-protobuf" ,python-pure-protobuf)
12106 ("python-pycairo" ,python-pycairo)
12107 ("python-pygobject" ,python-pygobject)
12108 ("python-requests" ,python-requests)
12109 ("python-unidecode" ,python-unidecode)
12110 ("webkitgtk" ,webkitgtk)))
12112 `(("desktop-file-utils" ,desktop-file-utils)
12113 ("gettext" ,gettext-minimal)
12114 ("glib:bin" ,glib "bin")
12115 ("gobject-introspection" ,gobject-introspection)
12116 ("pkg-config" ,pkg-config)))
12117 (home-page "https://gitlab.com/valos/Komikku")
12118 (synopsis "Manga reader for GNOME")
12119 (description "Komikku is an online/offline manga reader for GNOME,
12120 developed with the aim of being used with the Librem 5 phone.")
12121 (license license:gpl3+)))
12123 (define-public libgda
12130 (uri (git-reference
12131 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12132 (commit (string-append "LIBGDA_" (string-replace-substring
12133 version "." "_")))))
12134 (file-name (git-file-name name version))
12136 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12137 (build-system gnu-build-system)
12139 `(#:configure-flags '("--enable-vala")
12140 ;; There's a race between check_cnc_lock and check_threaded_cnc
12141 ;; in tests/multi-threading.
12142 #:parallel-tests? #f
12144 (modify-phases %standard-phases
12145 (add-after 'unpack 'fix-glade-install
12147 (substitute* "configure.ac"
12148 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12149 "${datadir}/glade/catalogs")
12150 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12151 "${datadir}/glade/pixmaps"))
12153 (add-before 'check 'pre-check
12154 (lambda* (#:key inputs #:allow-other-keys)
12155 ;; Tests require a running X server.
12156 (system "Xvfb :1 &")
12157 (setenv "DISPLAY" ":1")
12159 (add-after 'install 'symlink-glade-module
12160 (lambda* (#:key outputs #:allow-other-keys)
12161 (let* ((shlib "libgda-ui-5.0.so")
12162 (out (assoc-ref outputs "out"))
12163 (out/lib (string-append out "/lib"))
12164 (moduledir (string-append out/lib "/glade/modules")))
12165 (mkdir-p moduledir)
12166 (symlink (string-append out/lib "/" shlib)
12167 (string-append moduledir "/" shlib))
12170 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12175 ("libsecret" ,libsecret)
12176 ("libxslt" ,libxslt)
12177 ("openssl" ,openssl)
12180 `(("autoconf" ,autoconf)
12181 ("autoconf-archive" ,autoconf-archive)
12182 ("automake" ,automake)
12183 ("glib:bin" ,glib "bin")
12184 ("gnome-common" ,gnome-common)
12185 ("gobject-introspection" ,gobject-introspection)
12186 ("gtk-doc" ,gtk-doc/stable)
12187 ("intltool" ,intltool)
12188 ("libtool" ,libtool)
12189 ("pkg-config" ,pkg-config)
12192 ("xorg-server" ,xorg-server-for-tests)
12193 ("yelp-tools" ,yelp-tools)))
12194 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12195 (synopsis "Uniform data access")
12197 "GNU Data Access (GDA) is an attempt to provide uniform access to
12198 different kinds of data sources (databases, information servers, mail spools,
12199 etc). It is a complete architecture that provides all you need to access
12201 (license license:lgpl2.1+)))
12203 (define-public gtranslator
12205 (name "gtranslator")
12209 (uri (string-append "mirror://gnome/sources/" name "/"
12210 (version-major+minor version) "/"
12211 name "-" version ".tar.xz"))
12214 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12215 (build-system meson-build-system)
12217 `(("json-glib" ,json-glib)
12218 ("jsonrpc-glib" ,jsonrpc-glib)
12219 ("gettext" ,gettext-minimal)
12222 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12224 ("libdazzle" ,libdazzle)
12226 ("libsoup" ,libsoup)))
12228 `(("glib:bin" ,glib "bin")
12229 ("itstool" ,itstool)
12230 ("pkg-config" ,pkg-config)))
12232 `(("gtksourceview" ,gtksourceview))) ; required for source view
12234 `(#:build-type "release"
12237 (modify-phases %standard-phases
12238 (add-after 'unpack 'skip-gtk-update-icon-cache
12240 (substitute* "build-aux/meson/meson_post_install.py"
12241 (("gtk-update-icon-cache") (which "true")))
12243 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12244 (synopsis "Translation making program")
12246 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12247 for the GNOME 3.x platform with many features. It aims to be a very complete
12248 editing environment for translation issues within the GNU gettext/GNOME desktop
12250 (license license:gpl3+)))
12253 (define-public ocrfeeder
12259 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12260 (version-major+minor version) "/"
12261 "ocrfeeder-" version ".tar.xz"))
12264 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12265 (build-system gnu-build-system)
12268 (modify-phases %standard-phases
12270 'install 'wrap-program
12271 (lambda* (#:key outputs #:allow-other-keys)
12272 (let ((prog (string-append (assoc-ref outputs "out")
12273 "/bin/" "ocrfeeder"))
12274 (pylib (string-append (assoc-ref outputs "out")
12276 ,(version-major+minor
12277 (package-version python))
12278 "/site-packages")))
12280 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
12281 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12284 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12285 ("gobject-introspection" ,gobject-introspection)
12286 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12287 ("intltool" ,intltool)
12288 ("itstool" ,itstool)
12289 ("pkg-config" ,pkg-config)
12290 ("xmllint" ,libxml2)))
12292 `(("enchant" ,enchant)
12294 ("goocanvas" ,goocanvas)
12296 ("gtkspell3" ,gtkspell3)
12297 ("libjpeg" ,libjpeg-turbo)
12298 ("libtiff" ,libtiff)
12301 ("python" ,python-wrapper)
12302 ("python-pygobject" ,python-pygobject)
12303 ("python-odfpy" ,python-odfpy)
12304 ("python-pillow" ,python-pillow)
12305 ("python-pyenchant" ,python-pyenchant)
12306 ("python-reportlab" ,python-reportlab)
12307 ("python-sane" ,python-sane)
12308 ("sane-backends" ,sane-backends)
12309 ("tesseract-ocr" ,tesseract-ocr)))
12310 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12311 (synopsis "Complete OCR Suite")
12312 (description "OCRFeeder is a complete Optical Character Recognition and
12313 Document Analysis and Recognition program.")
12314 (license license:gpl3+)))