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>
63 ;;; This file is part of GNU Guix.
65 ;;; GNU Guix is free software; you can redistribute it and/or modify it
66 ;;; under the terms of the GNU General Public License as published by
67 ;;; the Free Software Foundation; either version 3 of the License, or (at
68 ;;; your option) any later version.
70 ;;; GNU Guix is distributed in the hope that it will be useful, but
71 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
72 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73 ;;; GNU General Public License for more details.
75 ;;; You should have received a copy of the GNU General Public License
76 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
78 (define-module (gnu packages gnome)
79 #:use-module (gnu packages)
80 #:use-module (gnu packages admin)
81 #:use-module (gnu packages aidc)
82 #:use-module (gnu packages aspell)
83 #:use-module (gnu packages autotools)
84 #:use-module (gnu packages avahi)
85 #:use-module (gnu packages backup)
86 #:use-module (gnu packages base)
87 #:use-module (gnu packages bash)
88 #:use-module (gnu packages bison)
89 #:use-module (gnu packages boost)
90 #:use-module (gnu packages build-tools)
91 #:use-module (gnu packages calendar)
92 #:use-module (gnu packages cdrom)
93 #:use-module (gnu packages check)
94 #:use-module (gnu packages cmake)
95 #:use-module (gnu packages compression)
96 #:use-module (gnu packages crates-io)
97 #:use-module (gnu packages crates-graphics)
98 #:use-module (gnu packages crates-gtk)
99 #:use-module (gnu packages cups)
100 #:use-module (gnu packages curl)
101 #:use-module (gnu packages cyrus-sasl)
102 #:use-module (gnu packages databases)
103 #:use-module (gnu packages dbm)
104 #:use-module (gnu packages djvu)
105 #:use-module (gnu packages dns)
106 #:use-module (gnu packages docbook)
107 #:use-module (gnu packages documentation)
108 #:use-module (gnu packages enchant)
109 #:use-module (gnu packages flex)
110 #:use-module (gnu packages fonts)
111 #:use-module (gnu packages file-systems)
112 #:use-module (gnu packages fontutils)
113 #:use-module (gnu packages freedesktop)
114 #:use-module (gnu packages game-development)
115 #:use-module (gnu packages gcc)
116 #:use-module (gnu packages gettext)
117 #:use-module (gnu packages ghostscript)
118 #:use-module (gnu packages gimp)
119 #:use-module (gnu packages gl)
120 #:use-module (gnu packages glib)
121 #:use-module (gnu packages gnupg)
122 #:use-module (gnu packages gnuzilla)
123 #:use-module (gnu packages geo)
124 #:use-module (gnu packages gperf)
125 #:use-module (gnu packages graphviz)
126 #:use-module (gnu packages gstreamer)
127 #:use-module (gnu packages gtk)
128 #:use-module (gnu packages guile)
129 #:use-module (gnu packages ibus)
130 #:use-module (gnu packages icu4c)
131 #:use-module (gnu packages image)
132 #:use-module (gnu packages imagemagick)
133 #:use-module (gnu packages inkscape)
134 #:use-module (gnu packages iso-codes)
135 #:use-module (gnu packages kerberos)
136 #:use-module (gnu packages libcanberra)
137 #:use-module (gnu packages libffi)
138 #:use-module (gnu packages libunistring)
139 #:use-module (gnu packages libunwind)
140 #:use-module (gnu packages libusb)
141 #:use-module (gnu packages linux)
142 #:use-module (gnu packages lirc)
143 #:use-module (gnu packages lua)
144 #:use-module (gnu packages mail)
145 #:use-module (gnu packages mp3)
146 #:use-module (gnu packages multiprecision)
147 #:use-module (gnu packages music)
148 #:use-module (gnu packages ncurses)
149 #:use-module (gnu packages nettle)
150 #:use-module (gnu packages networking)
151 #:use-module (gnu packages ninja)
152 #:use-module (gnu packages node)
153 #:use-module (gnu packages nss)
154 #:use-module (gnu packages ocr)
155 #:use-module (gnu packages openldap)
156 #:use-module (gnu packages package-management)
157 #:use-module (gnu packages password-utils)
158 #:use-module (gnu packages pcre)
159 #:use-module (gnu packages pdf)
160 #:use-module (gnu packages perl)
161 #:use-module (gnu packages photo)
162 #:use-module (gnu packages php)
163 #:use-module (gnu packages pkg-config)
164 #:use-module (gnu packages polkit)
165 #:use-module (gnu packages popt)
166 #:use-module (gnu packages pretty-print)
167 #:use-module (gnu packages protobuf)
168 #:use-module (gnu packages pulseaudio)
169 #:use-module (gnu packages python)
170 #:use-module (gnu packages python-compression)
171 #:use-module (gnu packages python-crypto)
172 #:use-module (gnu packages python-web)
173 #:use-module (gnu packages python-xyz)
174 #:use-module (gnu packages rdesktop)
175 #:use-module (gnu packages rdf)
176 #:use-module (gnu packages readline)
177 #:use-module (gnu packages ruby)
178 #:use-module (gnu packages rust)
179 #:use-module (gnu packages samba)
180 #:use-module (gnu packages scanner)
181 #:use-module (gnu packages sdl)
182 #:use-module (gnu packages search)
183 #:use-module (gnu packages selinux)
184 #:use-module (gnu packages slang)
185 #:use-module (gnu packages speech)
186 #:use-module (gnu packages spice)
187 #:use-module (gnu packages sqlite)
188 #:use-module (gnu packages ssh)
189 #:use-module (gnu packages swig)
190 #:use-module (gnu packages tex)
191 #:use-module (gnu packages time)
192 #:use-module (gnu packages tls)
193 #:use-module (gnu packages valgrind)
194 #:use-module (gnu packages version-control)
195 #:use-module (gnu packages video)
196 #:use-module (gnu packages virtualization)
197 #:use-module (gnu packages vpn)
198 #:use-module (gnu packages web)
199 #:use-module (gnu packages webkit)
200 #:use-module (gnu packages xdisorg)
201 #:use-module (gnu packages xiph)
202 #:use-module (gnu packages xml)
203 #:use-module (gnu packages xorg)
204 #:use-module (gnu artwork)
205 #:use-module (guix build-system cargo)
206 #:use-module (guix build-system cmake)
207 #:use-module (guix build-system glib-or-gtk)
208 #:use-module (guix build-system gnu)
209 #:use-module (guix build-system meson)
210 #:use-module (guix build-system python)
211 #:use-module (guix build-system trivial)
212 #:use-module (guix download)
213 #:use-module (guix git-download)
214 #:use-module ((guix licenses) #:prefix license:)
215 #:use-module (guix packages)
216 #:use-module (guix utils)
217 #:use-module (guix gexp)
218 #:use-module (ice-9 match)
219 #:use-module (srfi srfi-1))
221 (define-public gupnp-igd
229 (string-append "mirror://gnome/sources/" name "/"
230 (version-major+minor version) "/"
231 name "-" version ".tar.xz"))
233 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
234 (build-system meson-build-system)
235 (outputs '("out" "doc"))
237 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
238 #:configure-flags (list "-Dgtk_doc=true")
240 (modify-phases %standard-phases
241 (add-after 'unpack 'patch-docbook-xml
242 (lambda* (#:key inputs #:allow-other-keys)
243 (with-directory-excursion "doc"
244 (substitute* "gupnp-igd-docs.xml"
245 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
246 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
247 "/xml/dtd/docbook/"))))
249 (add-after 'install 'move-doc
250 (lambda* (#:key outputs #:allow-other-keys)
251 (let* ((out (assoc-ref outputs "out"))
252 (doc (assoc-ref outputs "doc")))
253 (mkdir-p (string-append doc "/share"))
255 (string-append out "/share/gtk-doc")
256 (string-append doc "/share/gtk-doc"))
259 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
260 ("docbook-xsl" ,docbook-xsl)
261 ("glib:bin" ,glib "bin")
262 ("gobject-introspection" ,gobject-introspection)
263 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
264 ("gtk-doc" ,gtk-doc/stable)
265 ("pkg-config" ,pkg-config)))
268 ("glib-networking" ,glib-networking)
271 ("libsoup" ,libsoup)))
272 (synopsis "UPnP IGD for GNOME")
273 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
274 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
275 (license license:lgpl2.1+)))
277 (define-public brasero
283 (uri (string-append "mirror://gnome/sources/brasero/"
284 (version-major+minor version) "/"
285 "brasero-" version ".tar.xz"))
288 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
289 (build-system glib-or-gtk-build-system)
291 `(#:configure-flags (list
292 (string-append "--with-girdir="
293 (assoc-ref %outputs "out")
295 (string-append "--with-typelibdir="
296 (assoc-ref %outputs "out")
297 "/lib/girepository-1.0"))
299 (modify-phases %standard-phases
300 (add-before 'configure 'embed-growisofs
301 (lambda* (#:key inputs #:allow-other-keys)
302 (substitute* "plugins/growisofs/burn-growisofs.c"
303 (("\"growisofs") (string-append "\"" (which "growisofs"))))
306 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
308 `(("intltool" ,intltool)
310 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
311 ("gobject-introspection" ,gobject-introspection)
312 ("pkg-config" ,pkg-config)))
314 `(("dvd+rw-tools" ,dvd+rw-tools)
316 ("gnome-doc-utils" ,gnome-doc-utils)
317 ("gstreamer" ,gstreamer)
318 ("gst-plugins-base" ,gst-plugins-base)
320 ("libcanberra" ,libcanberra)
322 ("libnotify" ,libnotify)
325 ("totem-pl-parser" ,totem-pl-parser)))
326 (home-page "https://wiki.gnome.org/Apps/Brasero")
327 (synopsis "CD/DVD burning tool for Gnome")
328 (description "Brasero is an application to burn CD/DVD for the Gnome
329 Desktop. It is designed to be as simple as possible and has some unique
330 features to enable users to create their discs easily and quickly.")
331 (license license:gpl2+)))
333 (define-public libcloudproviders
335 (name "libcloudproviders")
341 (string-append "mirror://gnome/sources/" name "/"
342 (version-major+minor version) "/"
343 name "-" version ".tar.xz"))
345 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
346 (build-system meson-build-system)
347 (outputs '("out" "doc"))
349 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
352 "-Denable-gtk-doc=true")
354 (modify-phases %standard-phases
355 (add-after 'install 'move-doc
356 (lambda* (#:key outputs #:allow-other-keys)
357 (let* ((out (assoc-ref outputs "out"))
358 (doc (assoc-ref outputs "doc")))
359 (mkdir-p (string-append doc "/share"))
361 (string-append out "/share/gtk-doc")
362 (string-append doc "/share/gtk-doc"))
365 `(("glib:bin" ,glib "bin")
366 ("gobject-introspection" ,gobject-introspection)
367 ("gtk-doc" ,gtk-doc/stable)
368 ("pkg-config" ,pkg-config)
372 ("glib-networking" ,glib-networking)))
373 (synopsis "Cloudproviders Integration API")
374 (description "Libcloudproviders is a DBus API that allows cloud storage sync
375 clients to expose their services. Clients such as file managers and desktop
376 environments can then provide integrated access to the cloud providers
378 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
379 (license license:lgpl3+)))
381 (define-public libgrss
389 (string-append "mirror://gnome/sources/" name "/"
390 (version-major+minor version) "/"
391 name "-" version ".tar.xz"))
393 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
394 (build-system glib-or-gtk-build-system)
395 (outputs '("out" "doc"))
400 (string-append "--with-html-dir="
401 (assoc-ref %outputs "doc")
402 "/share/gtk-doc/html"))
404 (modify-phases %standard-phases
405 (add-after 'unpack 'patch-docbook-xml
406 (lambda* (#:key inputs #:allow-other-keys)
407 (with-directory-excursion "doc/reference"
408 (substitute* "libgrss-docs.sgml"
409 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
410 (string-append (assoc-ref inputs "docbook-xml")
411 "/xml/dtd/docbook/"))))
414 `(("docbook-xml" ,docbook-xml-4.1.2)
415 ("gobject-introspection" ,gobject-introspection)
416 ("gtk-doc" ,gtk-doc/stable)
417 ("pkg-config" ,pkg-config)))
421 ("libxml2" ,libxml2)))
422 (synopsis "Glib library for feeds")
423 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
425 (home-page "https://wiki.gnome.org/Projects/Libgrss")
426 (license license:lgpl3+)))
428 (define-public gnome-js-common
430 (name "gnome-js-common")
436 (string-append "mirror://gnome/sources/" name "/"
437 (version-major+minor version) "/"
438 name "-" version ".tar.gz"))
440 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
441 (build-system glib-or-gtk-build-system)
445 "--disable-static")))
447 `(("gettext" ,gettext-minimal)
448 ("intltool" ,intltool)
449 ("pkg-config" ,pkg-config)))
450 (synopsis "Common JS Modules")
451 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
453 (home-page "https://wiki.gnome.org/Projects/Seed")
454 (license license:gpl3+)))
464 (string-append "mirror://gnome/sources/" name "/"
465 (version-major+minor version) "/"
466 name "-" version ".tar.xz"))
468 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
470 (search-patches "seed-webkit.patch"))))
471 (build-system glib-or-gtk-build-system)
472 (outputs '("out" "doc"))
477 "--enable-xorg-module"
478 (string-append "--with-html-dir="
479 (assoc-ref %outputs "doc")
480 "/share/gtk-doc/html")
483 (modify-phases %standard-phases
484 ;; The seed-webkit.patch patches configure.ac.
485 ;; So the source files need to be re-bootstrapped.
486 (add-after 'unpack 'trigger-bootstrap
488 (for-each delete-file
493 (add-after 'unpack 'patch-tests
494 (lambda* (#:key outputs #:allow-other-keys)
495 (substitute* (find-files "." "\\.js$")
496 (("#!/usr/bin/env seed")
497 (string-append "#!" (getcwd) "/src/seed")))
499 (add-before 'build 'patch-docbook-xml
500 (lambda* (#:key inputs #:allow-other-keys)
501 (with-directory-excursion "doc"
502 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
503 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
504 (string-append (assoc-ref inputs "docbook-xml")
505 "/xml/dtd/docbook/"))))
508 `(("autoconf" ,autoconf)
509 ("automake" ,automake)
510 ("docbook-xml" ,docbook-xml-4.1.2)
511 ("gettext" ,gettext-minimal)
512 ("gobject-introspection" ,gobject-introspection)
513 ("gtk-doc" ,gtk-doc/stable)
514 ("intltool" ,intltool)
516 ("pkg-config" ,pkg-config)))
520 ("dbus-glib" ,dbus-glib)
521 ("gnome-js-common" ,gnome-js-common)
527 ("readline" ,readline)
529 ("xscrnsaver" ,libxscrnsaver)))
532 ("webkit" ,webkitgtk)))
533 (synopsis "GObject JavaScriptCore bridge")
534 (description "Seed is a library and interpreter, dynamically bridging
535 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
536 GNOME platform. It serves as something which enables you to write standalone
537 applications in JavaScript, or easily enable your application to be extensible
539 (home-page "https://wiki.gnome.org/Projects/Seed")
540 (license license:lgpl2.0+)))
542 (define-public libdmapsharing
544 (name "libdmapsharing")
550 (string-append "https://www.flyn.org/projects/"
551 name "/" name "-" version ".tar.gz"))
553 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
554 (build-system glib-or-gtk-build-system)
555 (outputs '("out" "doc"))
557 `(#:tests? #f ; Tests require networking.
561 (string-append "--with-html-dir="
562 (assoc-ref %outputs "doc")
563 "/share/gtk-doc/html"))
565 (modify-phases %standard-phases
566 (add-after 'unpack 'patch-docbook-xml
567 (lambda* (#:key inputs #:allow-other-keys)
568 (with-directory-excursion "doc"
569 (substitute* "libdmapsharing-4.0-docs.xml"
570 (("http://www.oasis-open.org/docbook/xml/4.3/")
571 (string-append (assoc-ref inputs "docbook-xml")
572 "/xml/dtd/docbook/"))))
576 ("docbook-xml" ,docbook-xml-4.3)
577 ("gobject-introspection" ,gobject-introspection)
578 ("pedansee" ,pedansee)
579 ("pkg-config" ,pkg-config)
583 ("gdk-pixbuf" ,gdk-pixbuf+svg)
585 ("gst-plugins-base" ,gst-plugins-base)
589 ("glib-networking" ,glib-networking)
590 ("gstreamer" ,gstreamer)
591 ("libsoup" ,libsoup)))
592 (synopsis "Media management library")
593 (description "Libdmapsharing is a library which allows programs to access,
594 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
595 It is written in C using GObject and libsoup.")
596 (home-page "https://launchpad.net/gtx")
597 (license license:lgpl2.1+)))
607 (string-append "https://launchpad.net/gtx/trunk/"
608 version "/+download/gtx-" version ".tar.gz"))
610 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
611 (build-system glib-or-gtk-build-system)
612 (outputs '("out" "doc"))
618 (string-append "--with-html-dir="
619 (assoc-ref %outputs "doc")
620 "/share/gtk-doc/html"))))
622 `(("gobject-introspection" ,gobject-introspection)
623 ("gtk-doc" ,gtk-doc/stable)
624 ("pkg-config" ,pkg-config)))
627 (synopsis "GLib Testing Framework")
628 (description "GTX is a small collection of convenience functions intended to
629 enhance the GLib testing framework. With specific emphasis on easing the pain
630 of writing test cases for asynchronous interactions.")
631 (home-page "https://launchpad.net/gtx")
632 (license license:lgpl2.1+)))
642 (string-append "https://launchpad.net/dee/1.0/"
643 version "/+download/dee-" version ".tar.gz"))
645 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
647 (search-patches "dee-vapi.patch"))))
648 (build-system glib-or-gtk-build-system)
649 (outputs '("out" "doc"))
653 "--disable-maintainer-flags"
654 (string-append "--with-pygi-overrides-dir="
655 (assoc-ref %outputs "out")
657 ,(version-major+minor
658 (package-version python))
659 "/site-packages/gi/overrides")
660 (string-append "--with-html-dir="
661 (assoc-ref %outputs "doc")
662 "/share/gtk-doc/html"))
664 (modify-phases %standard-phases
665 (add-after 'unpack 'patch-docbook-xml
666 (lambda* (#:key inputs #:allow-other-keys)
667 (with-directory-excursion "doc/reference/dee-1.0"
668 (substitute* "dee-1.0-docs.sgml"
669 (("http://www.oasis-open.org/docbook/xml/4.3/")
670 (string-append (assoc-ref inputs "docbook-xml")
671 "/xml/dtd/docbook/"))))
673 (add-after 'patch-docbook-xml 'disable-failing-tests
675 (substitute* "tests/test-icu.c"
676 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
678 (("setup, test_ascii_folder, teardown\\);")
681 (add-before 'check 'pre-check
683 ;; Tests require a running dbus-daemon.
684 (system "dbus-daemon &")
685 ;; For missing '/etc/machine-id'.
686 (setenv "DBUS_FATAL_WARNINGS" "0")
690 ("dbus-test-runner" ,dbus-test-runner)
691 ("docbook-xml" ,docbook-xml-4.3)
692 ("gobject-introspection" ,gobject-introspection)
693 ("gtk-doc" ,gtk-doc/stable)
694 ;; Would only be required by configure flag "--enable-extended-tests".
696 ("pkg-config" ,pkg-config)
697 ("pygobject" ,python-pygobject)
698 ("python" ,python-wrapper)
704 (synopsis "Model to synchronize multiple instances over DBus")
705 (description "Dee is a library that uses DBus to provide objects allowing
706 you to create Model-View-Controller type programs across DBus. It also consists
707 of utility objects which extend DBus allowing for peer-to-peer discoverability
708 of known objects without needing a central registrar.")
709 (home-page "https://launchpad.net/dee")
716 (define-public zeitgeist
725 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
727 (string-append "v" version))))
729 (git-file-name name version))
731 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
732 (build-system glib-or-gtk-build-system)
736 "--enable-explain-queries"
740 (modify-phases %standard-phases
741 (add-after 'unpack 'patch-docbook-xml
742 (lambda* (#:key inputs #:allow-other-keys)
743 (with-directory-excursion "doc/libzeitgeist"
744 (substitute* "zeitgeist-gtkdoc-index.sgml"
745 (("http://www.oasis-open.org/docbook/xml/4.3/")
746 (string-append (assoc-ref inputs "docbook-xml")
747 "/xml/dtd/docbook/"))))
749 (add-after 'patch-docbook-xml 'disable-failing-tests
751 (substitute* "test/direct/Makefile.am"
754 (substitute* "test/c/Makefile.am"
758 (add-before 'bootstrap 'remove-autogen-script
760 ;; To honor `autoreconf -vif` by build-system.
761 (delete-file "autogen.sh")
764 `(("autoconf" ,autoconf)
765 ("automake" ,automake)
766 ("docbook-xml" ,docbook-xml-4.3)
767 ("gettext" ,gettext-minimal)
768 ("gobject-introspection" ,gobject-introspection)
769 ("gtk-doc" ,gtk-doc/stable)
771 ("pkg-config" ,pkg-config)
773 ("xorg-server-for-tests" ,xorg-server-for-tests)))
777 ("json-glib" ,json-glib)
779 ("telepathy-glib" ,telepathy-glib)
780 ("python" ,python-wrapper)
781 ("python-rdflib" ,python-rdflib)
782 ("xapian-config" ,xapian)))
785 (synopsis "Desktop Activity Logging")
786 (description "Zeitgeist is a service which logs the users’s activities and
787 events, anywhere from files opened to websites visited and conversations. It
788 makes this information readily available for other applications to use. It is
789 able to establish relationships between items based on similarity and usage
791 (home-page "https://zeitgeist.freedesktop.org/")
798 (define-public gnome-recipes
800 (name "gnome-recipes")
805 (url "https://gitlab.gnome.org/GNOME/recipes")
807 (file-name (git-file-name name version))
810 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
811 (build-system meson-build-system)
815 (modify-phases %standard-phases
816 (add-after 'unpack 'skip-gtk-update-icon-cache
818 (substitute* "meson_post_install.py"
819 (("gtk-update-icon-cache") (which "true")))
821 (add-after 'unpack 'unpack-libgd
822 (lambda* (#:key inputs #:allow-other-keys)
823 (let ((libgd (assoc-ref inputs "libgd")))
824 (copy-recursively libgd "subprojects/libgd")
828 ("gnome-autoar" ,gnome-autoar)
829 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
832 ("json-glib" ,json-glib)
833 ("libcanberra" ,libcanberra)
837 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
838 ("gettext" ,gettext-minimal)
839 ("glib:bin" ,glib "bin")
845 (url "https://gitlab.gnome.org/GNOME/libgd")
846 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
847 (file-name (git-file-name "libgd" version))
849 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
850 ("pkg-config" ,pkg-config)))
851 (home-page "https://wiki.gnome.org/Apps/Recipes")
852 (synopsis "Discover recipes for preparing food")
853 (description "GNOME Recipes helps you discover what to cook today,
854 tomorrow, the rest of the week and for special occasions.")
855 (license license:gpl3+)))
857 (define-public gnome-photos
859 (name "gnome-photos")
865 (string-append "mirror://gnome/sources/" name "/"
866 (version-major+minor version) "/"
867 name "-" version ".tar.xz"))
870 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
871 (build-system meson-build-system)
875 (list "-Ddogtail=false" ; Not available
876 ;; Required for RUNPATH validation.
877 (string-append "-Dc_link_args=-Wl,-rpath="
878 (assoc-ref %outputs "out") "/lib/gnome-photos"))
880 (modify-phases %standard-phases
881 (add-after 'install 'wrap-gnome-photos
882 (lambda* (#:key inputs outputs #:allow-other-keys)
884 ((out (assoc-ref outputs "out")))
885 (wrap-program (string-append out "/bin/gnome-photos")
886 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
890 ("desktop-file-utils" ,desktop-file-utils)
891 ("gettext" ,gettext-minimal)
893 ("glib:bin" ,glib "bin")
894 ("gobject-introspection" ,gobject-introspection)
895 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
896 ("gtk+:bin" ,gtk+ "bin")
898 ("pkg-config" ,pkg-config)))
902 ("gdk-pixbuf" ,gdk-pixbuf+svg)
904 ("geocode-glib" ,geocode-glib)
906 ("gnome-online-accounts" ,gnome-online-accounts)
907 ("gnome-online-miners" ,gnome-online-miners)
909 ("grilo-plugins" ,grilo-plugins)
911 ("libdazzle" ,libdazzle)
912 ("libgdata" ,libgdata)
913 ("libgfbgraph" ,gfbgraph)
914 ("libjpeg" ,libjpeg-turbo)
917 ("pygobject" ,python-pygobject)
919 ("tracker-miners" ,tracker-miners)))
920 (synopsis "Access, organize and share your photos on GNOME desktop")
921 (description "GNOME Photos is a simple and elegant replacement for using a
922 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
923 cloud integration is offered through GNOME Online Accounts.")
924 (home-page "https://wiki.gnome.org/Apps/Photos")
925 (license license:gpl3+)))
927 (define-public gnome-music
935 (string-append "mirror://gnome/sources/" name "/"
936 (version-major+minor version) "/"
937 name "-" version ".tar.xz"))
940 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
941 (build-system meson-build-system)
945 (modify-phases %standard-phases
946 (add-after 'install 'wrap-gnome-music
947 (lambda* (#:key inputs outputs #:allow-other-keys)
949 ((out (assoc-ref outputs "out"))
950 (pylib (string-append out "/lib/python"
951 ,(version-major+minor
952 (package-version python))
954 (wrap-program (string-append out "/bin/gnome-music")
955 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
956 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
957 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
958 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
961 `(("desktop-file-utils" ,desktop-file-utils)
962 ("gettext" ,gettext-minimal)
963 ("glib:bin" ,glib "bin")
964 ("gobject-introspection" ,gobject-introspection)
965 ("gtk+:bin" ,gtk+ "bin")
966 ("itstools" ,itstool)
967 ("pkg-config" ,pkg-config)))
969 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
971 ("grilo-plugins" ,grilo-plugins)
972 ("gst-plugins-base" ,gst-plugins-base)
973 ("gstreamer" ,gstreamer)
975 ("libdazzle" ,libdazzle)
976 ("libmediaart" ,libmediaart)
978 ("pycairo" ,python-pycairo)
979 ("pygobject" ,python-pygobject)
981 ("tracker-miners" ,tracker-miners)))
982 (synopsis "Simple music player for GNOME desktop")
983 (description "GNOME Music is the new GNOME music playing application that
984 aims to combine an elegant and immersive browsing experience with simple
985 and straightforward controls.")
986 (home-page "https://wiki.gnome.org/Apps/Music")
987 (license license:gpl2+)))
989 (define-public portablexdr
997 (string-append "https://people.redhat.com/~rjones/" name "/files/"
998 name "-" version ".tar.gz"))
1001 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1002 (build-system gnu-build-system)
1003 (synopsis "External Data Representation Library")
1004 (description "PortableXDR is an implementation of External Data
1005 Representation (XDR) Library. It is a standard data serialization format, for
1006 uses such as computer network protocols. It allows data to be transferred
1007 between different kinds of computer systems.")
1008 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1012 license:lgpl2.1+))))
1022 (string-append "mirror://gnome/sources/" name "/"
1023 (version-major+minor version) "/"
1024 name "-" version ".tar.xz"))
1027 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
1028 (build-system glib-or-gtk-build-system)
1030 `(#:tests? #f)) ; FIX-ME: Requires gvfs
1032 `(("gobject-introspection" ,gobject-introspection)
1033 ("pkg-config" ,pkg-config)))
1038 ("gtksourceview" ,gtksourceview)
1039 ("libxml2" ,libxml2)
1040 ("uchardet" ,uchardet)))
1041 (synopsis "Text editor product line")
1042 (description "Tepl is a library that eases the development of
1043 GtkSourceView-based text editors and IDEs.")
1044 (home-page "https://wiki.gnome.org/Projects/Tepl")
1045 (license license:lgpl2.1+)))
1047 (define-public krb5-auth-dialog
1049 (name "krb5-auth-dialog")
1055 (string-append "mirror://gnome/sources/" name "/"
1056 (version-major+minor version) "/"
1057 name "-" version ".tar.xz"))
1060 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1061 (build-system glib-or-gtk-build-system)
1063 `(("intltool" ,intltool)
1064 ("itstool" ,itstool)
1065 ("libxml2" ,libxml2)
1066 ("pkg-config" ,pkg-config)
1067 ("python-wrapper" ,python-wrapper)))
1071 ("libnotify" ,libnotify)
1072 ("mit-krb5" ,mit-krb5)
1073 ("network-manager" ,network-manager)))
1074 (synopsis "Popup dialogs for Kerberos 5")
1075 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1076 tickets, and pops up a dialog when they are about to expire.")
1077 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1078 (license license:gpl2+)))
1080 (define-public notification-daemon
1082 (name "notification-daemon")
1088 (string-append "mirror://gnome/sources/" name "/"
1089 (version-major+minor version) "/"
1090 name "-" version ".tar.xz"))
1093 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1094 (build-system glib-or-gtk-build-system)
1096 `(("intltool" ,intltool)
1097 ("pkg-config" ,pkg-config)))
1102 (synopsis "Notification Daemon for GNOME Desktop")
1103 (description "Notification-Daemon is the server implementation of the
1104 freedesktop.org desktop notification specification.")
1105 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1106 (license license:gpl2+)))
1108 (define-public mm-common
1114 (uri (string-append "mirror://gnome/sources/mm-common/"
1115 (version-major+minor version) "/"
1116 "mm-common-" version ".tar.xz"))
1119 "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2"))))
1120 (build-system meson-build-system)
1123 (modify-phases %standard-phases
1124 (add-after 'unpack 'patch
1125 (lambda* (#:key inputs #:allow-other-keys)
1126 (substitute* "util/mm-common-prepare.in"
1127 (("ln") (string-append (assoc-ref inputs "coreutils")
1129 (("cp") (string-append (assoc-ref inputs "coreutils")
1131 (("sed") (string-append (assoc-ref inputs "sed")
1133 (("cat") (string-append (assoc-ref inputs "coreutils")
1137 `(("coreutils" ,coreutils)
1138 ("gettext" ,gettext-minimal)
1139 ("pkg-config" ,pkg-config)
1142 `(("python" ,python)))
1143 (synopsis "Module of GNOME C++ bindings")
1144 (description "The mm-common module provides the build infrastructure
1145 and utilities shared among the GNOME C++ binding libraries. Release
1146 archives of mm-common include the Doxygen tag file for the GNU C++
1147 Library reference documentation.")
1148 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1149 (license license:gpl2+)))
1151 (define-public phodav
1157 (uri (string-append "mirror://gnome/sources/" name "/"
1158 (version-major+minor version) "/"
1159 name "-" version ".tar.xz"))
1162 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1163 (build-system meson-build-system)
1166 (modify-phases %standard-phases
1167 (add-before 'check 'start-virtual-dir-server
1168 ;; The same server when started by tests/virtual-dir returns an
1169 ;; unexpected status (4 instead of 200) and fails a test. It is
1170 ;; unclear why starting it manually here makes it pass.
1172 (system "tests/virtual-dir-server &")
1175 `(("docbook-xml" ,docbook-xml-4.3)
1176 ("gettext" ,gettext-minimal)
1177 ("glib:bin" ,glib "bin")
1178 ("gtk-doc" ,gtk-doc/stable)
1179 ("pkg-config" ,pkg-config)))
1182 ("libgudev" ,libgudev)
1183 ("libsoup" ,libsoup)))
1184 (synopsis "WebDav server implementation using libsoup")
1185 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1186 but it is generic enough to be reused in other projects,
1187 in particular in the GNOME desktop.")
1188 (home-page "https://wiki.gnome.org/phodav")
1189 (license license:lgpl2.1+)))
1191 (define-public gnome-color-manager
1193 (name "gnome-color-manager")
1197 (uri (string-append "mirror://gnome/sources/" name "/"
1198 (version-major+minor version) "/"
1199 name "-" version ".tar.xz"))
1202 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1203 (build-system meson-build-system)
1207 (modify-phases %standard-phases
1211 ;; Tests require a running X server.
1212 (system "Xvfb :1 &")
1213 (setenv "DISPLAY" ":1")
1216 `(("desktop-file-utils" ,desktop-file-utils)
1217 ("gettext" ,gettext-minimal)
1218 ("glib:bin" ,glib "bin")
1219 ("gtk+:bin" ,gtk+ "bin")
1220 ("itstool" ,itstool)
1221 ("pkg-config" ,pkg-config)
1222 ("xorg-server" ,xorg-server-for-tests)))
1224 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1225 ("appstream-glib" ,appstream-glib)
1226 ("colord-gtk" ,colord-gtk)
1228 ("gnome-desktop" ,gnome-desktop)
1229 ("libcanberra" ,libcanberra)
1230 ("libexif" ,libexif)
1231 ("libtiff" ,libtiff)
1232 ("libxrandr" ,libxrandr)
1233 ("libxtst" ,libxtst)
1234 ("libxxf86vm" ,libxxf86vm)
1236 ("xorgproto" ,xorgproto)))
1237 (synopsis "Color profile manager for the GNOME desktop")
1238 (description "GNOME Color Manager is a session framework that makes
1239 it easy to manage, install and generate color profiles
1240 in the GNOME desktop.")
1241 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1242 (license license:gpl2+)))
1244 (define-public gnome-online-miners
1246 (name "gnome-online-miners")
1250 (uri (string-append "mirror://gnome/sources/" name "/"
1251 (version-major+minor version) "/"
1252 name "-" version ".tar.xz"))
1255 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1256 (build-system glib-or-gtk-build-system)
1258 `(("gettext" ,gettext-minimal)
1259 ("glib:bin" ,glib "bin")
1260 ("gobject-introspection" ,gobject-introspection)
1261 ("gtk+:bin" ,gtk+ "bin")
1262 ("pkg-config" ,pkg-config)))
1264 `(("gnome-online-accounts" ,gnome-online-accounts)
1265 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1267 ("libgdata" ,libgdata)
1268 ("libgfbgraph" ,gfbgraph)
1269 ("libzapojit" ,libzapojit)
1271 ("tracker" ,tracker)))
1272 (synopsis "Web Crawlers for GNOME")
1273 (description "GNOME Online Miners provides a set of crawlers that
1274 go through your online content and index them locally in Tracker.
1275 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1276 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1277 (license license:gpl2+)))
1279 (define-public gssdp
1285 (uri (string-append "mirror://gnome/sources/" name "/"
1286 (version-major+minor version) "/"
1287 name "-" version ".tar.xz"))
1290 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1291 (build-system meson-build-system)
1293 `(("gettext" ,gettext-minimal)
1294 ("glib:bin" ,glib "bin")
1295 ("gobject-introspection" ,gobject-introspection)
1296 ("gtk-doc" ,gtk-doc/stable)
1297 ("pkg-config" ,pkg-config)
1301 ("libsoup" ,libsoup)))
1302 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1303 Protocol} for GNOME")
1304 (description "This package provides a library to handle resource discovery
1305 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1306 a debugging tool, @command{gssdp-device-sniffer}.")
1307 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1308 (license license:lgpl2.0+)))
1310 (define-public gupnp
1316 (uri (string-append "mirror://gnome/sources/" name "/"
1317 (version-major+minor version) "/"
1318 name "-" version ".tar.xz"))
1321 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1322 (build-system meson-build-system)
1324 `(("gettext" ,gettext-minimal)
1325 ("glib:bin" ,glib "bin")
1326 ("gobject-introspection" ,gobject-introspection)
1327 ("gtk-doc" ,gtk-doc/stable)
1328 ("pkg-config" ,pkg-config)
1333 ("libsoup" ,libsoup)))
1335 `(;; For ‘org.gnome.system.proxy’.
1336 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
1337 (synopsis "PnP API for GNOME")
1338 (description "This package provides GUPnP, an object-oriented framework
1339 for creating UPnP devices and control points, written in C using
1340 @code{GObject} and @code{libsoup}.")
1341 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1342 (license license:lgpl2.0+)))
1344 (define-public gupnp-dlna
1350 (uri (string-append "mirror://gnome/sources/" name "/"
1351 (version-major+minor version) "/"
1352 name "-" version ".tar.xz"))
1355 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1356 (build-system gnu-build-system)
1358 `(("gettext" ,gettext-minimal)
1359 ("glib:bin" ,glib "bin")
1360 ("gobject-introspection" ,gobject-introspection)
1361 ("gtk-doc" ,gtk-doc/stable)
1363 ("pkg-config" ,pkg-config)
1366 `(("gstreamer" ,gstreamer)
1369 `(("gst-plugins-base" ,gst-plugins-base)
1370 ("gst-plugins-good" ,gst-plugins-good)))
1371 (synopsis "GUPnP DLNA for GNOME")
1372 (description "This package provides a small utility library to
1373 support DLNA-related tasks such as media profile guessing, transcoding to a
1374 given profile, etc. DLNA is a subset of UPnP A/V.")
1375 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1376 (license license:lgpl2.0+)))
1378 (define-public gupnp-av
1384 (uri (string-append "mirror://gnome/sources/" name "/"
1385 (version-major+minor version) "/"
1386 name "-" version ".tar.xz"))
1389 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1390 (build-system gnu-build-system)
1392 `(("gettext" ,gettext-minimal)
1393 ("glib:bin" ,glib "bin")
1394 ("gobject-introspection" ,gobject-introspection)
1395 ("gtk-doc" ,gtk-doc/stable)
1397 ("pkg-config" ,pkg-config)))
1401 (synopsis "GUPnP A/V for GNOME")
1402 (description "This package provides a small library for handling
1403 and implementation of UPnP A/V profiles.")
1404 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1405 (license license:lgpl2.0+)))
1407 (define-public libmediaart
1409 (name "libmediaart")
1413 (uri (string-append "mirror://gnome/sources/" name "/"
1414 (version-major+minor version) "/"
1415 name "-" version ".tar.xz"))
1418 "1mlw1qgj8nkd9ll6b6h54r1gfdy3zp8a8xqz7qfyfaj85jjgbph7"))))
1419 (build-system meson-build-system)
1421 `(#:meson ,meson-next))
1423 `(("glib:bin" ,glib "bin")
1424 ("pkg-config" ,pkg-config)))
1426 `(("gdk-pixbuf" ,gdk-pixbuf)
1427 ("gettext" ,gettext-minimal)
1428 ("gobject-introspection" ,gobject-introspection)
1429 ("gtk+:doc" ,gtk+ "doc")
1431 (synopsis "Media art library for the GNOME desktop")
1433 "The libmediaart library is the foundation for media art caching,
1434 extraction, and lookup for applications on the desktop.")
1435 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1436 (license license:lgpl2.1+)))
1438 (define-public gnome-initial-setup
1440 (name "gnome-initial-setup")
1444 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1445 (version-major+minor version)
1446 "/gnome-initial-setup-" version ".tar.xz"))
1449 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1450 (build-system meson-build-system)
1452 '(#:configure-flags '(;; Enable camera support for user selfie.
1455 #:phases (modify-phases %standard-phases
1456 (add-after 'unpack 'set-gkbd-file-name
1457 (lambda* (#:key inputs #:allow-other-keys)
1458 ;; Allow the "Preview" button in the keyboard layout
1459 ;; selection dialog to display the layout.
1460 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1461 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1462 (("\"gkbd-keyboard-display")
1463 (string-append "\"" libgnomekbd
1464 "/bin/gkbd-keyboard-display")))
1467 `(("gettext" ,gettext-minimal)
1468 ("glib:bin" ,glib "bin")
1469 ("gobject-introspection" ,gobject-introspection)
1470 ("gtk+:bin" ,gtk+ "bin")
1471 ("pkg-config" ,pkg-config)))
1473 `(("accountsservice" ,accountsservice)
1474 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1476 ("geoclue" ,geoclue)
1477 ("gnome-desktop" ,gnome-desktop)
1478 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1479 ("gnome-online-accounts" ,gnome-online-accounts)
1480 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1481 ("gstreamer" ,gstreamer)
1483 ("json-glib" ,json-glib)
1485 ("libgweather" ,libgweather)
1487 ("libsecret" ,libsecret)
1488 ("network-manager" ,network-manager)
1489 ("packagekit" ,packagekit)
1491 ("pwquality" ,libpwquality)
1494 ("webkitgtk" ,webkitgtk)
1495 ("libgnomekbd" ,libgnomekbd)))
1496 (synopsis "Initial setup wizard for GNOME desktop")
1497 (description "This package provides a set-up wizard when a
1498 user logs into GNOME for the first time. It typically provides a
1499 tour of all gnome components and allows the user to set them up.")
1500 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1501 (license license:gpl2)))
1503 (define-public gnome-user-share
1505 (name "gnome-user-share")
1509 (uri (string-append "mirror://gnome/sources/" name "/"
1510 (version-major+minor version) "/"
1511 name "-" version ".tar.xz"))
1514 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1515 (build-system meson-build-system)
1520 ;; Enable nautilus extension for file sharing.
1521 "-Dnautilus_extension=true")))
1523 `(("gettext" ,gettext-minimal)
1524 ("glib:bin" ,glib "bin")
1525 ("gobject-introspection" ,gobject-introspection)
1526 ("gtk+:bin" ,gtk+ "bin")
1527 ("pkg-config" ,pkg-config)
1528 ("yelp-tools" ,yelp-tools)))
1531 ("gnome-bluetooth" ,gnome-bluetooth)
1533 ("libcanberra" ,libcanberra)
1534 ("libnotify" ,libnotify)
1535 ("nautilus" ,nautilus))) ; For nautilus extension.
1536 (synopsis "File sharing for GNOME desktop")
1537 (description "GNOME User Share is a small package that binds together
1538 various free software projects to bring easy to use user-level file
1539 sharing to the masses.")
1540 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1541 (license license:gpl2+)))
1543 (define-public sushi
1549 (uri (string-append "mirror://gnome/sources/" name "/"
1550 (version-major+minor version) "/"
1551 name "-" version ".tar.xz"))
1554 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1555 (build-system meson-build-system)
1559 (modify-phases %standard-phases
1560 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1561 (lambda* (#:key outputs #:allow-other-keys)
1562 (let ((prog (string-append (assoc-ref outputs "out")
1564 ;; Put existing typelibs before sushi's deps, so as to correctly
1567 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1570 `(("glib:bin" ,glib "bin")
1571 ("gettext" ,gettext-minimal)
1572 ("gobject-introspection" ,gobject-introspection)
1573 ("pkg-config" ,pkg-config)))
1575 `(("clutter" ,clutter)
1576 ("clutter-gst" ,clutter-gst)
1577 ("clutter-gtk" ,clutter-gtk)
1578 ("evince" ,evince) ; For file previewing.
1579 ("freetype" ,freetype)
1580 ("gdk-pixbuf" ,gdk-pixbuf)
1582 ("gst-plugins-base" ,gst-plugins-base)
1583 ("gstreamer" ,gstreamer)
1584 ("gtksourceview" ,gtksourceview-3)
1585 ("harfbuzz" ,harfbuzz)
1586 ("libepoxy" ,libepoxy)
1587 ("libmusicbrainz" ,libmusicbrainz)
1588 ("libxml2" ,libxml2)
1590 ("webkitgtk" ,webkitgtk)))
1591 (synopsis "File previewer for the GNOME desktop")
1592 (description "Sushi is a DBus-activated service that allows applications to
1593 preview files on the GNOME desktop.")
1594 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1595 (license license:gpl2+)))
1597 (define-public rygel
1603 (uri (string-append "mirror://gnome/sources/" name "/"
1604 (version-major+minor version) "/"
1605 name "-" version ".tar.xz"))
1608 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1609 (build-system gnu-build-system)
1611 `(("gettext" ,gettext-minimal)
1612 ("gobject-introspection" ,gobject-introspection)
1613 ("gtk-doc" ,gtk-doc/stable)
1614 ("pkg-config" ,pkg-config)
1617 `(("gdk-pixbuf" ,gdk-pixbuf)
1619 ("gstreamer" ,gstreamer)
1620 ("gst-plugins-base" ,gst-plugins-base)
1623 ("gupnp-av" ,gupnp-av)
1624 ("gupnp-dlna" ,gupnp-dlna)
1626 ("libmediaart" ,libmediaart)
1627 ("libsoup" ,libsoup)
1628 ("libxslt" ,libxslt)
1629 ("libunistring" ,libunistring)
1630 ("tracker" ,tracker)))
1631 (synopsis "Share audio, video, and pictures with other devices")
1633 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1634 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1635 pictures, and to control a media player on your home network.
1637 Rygel achieves interoperability with other devices by trying to conform to the
1638 strict requirements of DLNA and by converting media on-the-fly to formats that
1639 client devices can handle.")
1640 (home-page "https://wiki.gnome.org/Projects/Rygel")
1642 ;; For logo (data/icons/*).
1645 license:lgpl2.1+))))
1647 (define-public libnma
1653 (uri (string-append "mirror://gnome/sources/" name "/"
1654 (version-major+minor version) "/"
1655 name "-" version ".tar.xz"))
1658 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1659 (build-system meson-build-system)
1662 (modify-phases %standard-phases
1663 (add-after 'unpack 'patch-docbook-xml
1664 (lambda* (#:key inputs #:allow-other-keys)
1665 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1666 "/xml/dtd/docbook")))
1667 (substitute* "libnma-docs.xml"
1668 (("http://.*/docbookx\\.dtd")
1669 (string-append xmldoc "/docbookx.dtd")))
1672 `(("docbook-xml" ,docbook-xml-4.3)
1673 ("gettext" ,gettext-minimal)
1674 ("glib:bin" ,glib "bin")
1675 ("gtk-doc" ,gtk-doc/stable)
1676 ("gobject-introspection" ,gobject-introspection)
1677 ("pkg-config" ,pkg-config)
1682 ("iso-codes" ,iso-codes)
1683 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1684 ("network-manager" ,network-manager)))
1685 (synopsis "Network Manager's applet library")
1686 (description "Libnma is an applet library for Network Manager. It was
1687 initially part of network-manager-applet and has now become a separate
1689 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1690 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1692 (license license:gpl2+)))
1694 (define-public gnome-menus
1696 (name "gnome-menus")
1700 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1701 (version-major+minor version) "/"
1702 name "-" version ".tar.xz"))
1705 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1706 (build-system gnu-build-system)
1708 `(("gettext" ,gettext-minimal)
1710 ("pkg-config" ,pkg-config)))
1711 (synopsis "Menu support for GNOME desktop")
1712 (description "GNOME Menus contains the libgnome-menu library, the layout
1713 configuration files for the GNOME menu, as well as a simple menu editor.")
1714 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1715 (license license:lgpl2.0+)))
1717 (define-public deja-dup
1723 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1724 version "/deja-dup-" version ".tar.bz2"))
1727 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1728 (build-system meson-build-system)
1733 ;; Otherwise, the RUNPATH will lack the final path component.
1734 (string-append "-Dc_link_args=-Wl,-rpath="
1735 (assoc-ref %outputs "out") "/lib/deja-dup"))
1737 (modify-phases %standard-phases
1738 (add-after 'unpack 'patch-paths
1739 (lambda* (#:key inputs #:allow-other-keys)
1740 (let ((python (assoc-ref inputs "python")))
1741 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1742 "libdeja/tests/scripts/instance-error.test")
1745 (substitute* "libdeja/tests/runner.vala"
1748 (substitute* "libdeja/tests/scripts/instance-error.test"
1749 (("`which python3`")
1750 (string-append python "/bin/python3"))))))
1751 (add-after 'unpack 'patch-libgpg-error
1752 (lambda* (#:key inputs #:allow-other-keys)
1753 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1754 (substitute* "meson.build"
1755 (("(gpgerror_libs = ).*" _ var)
1756 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1758 (add-after 'unpack 'skip-gtk-update-icon-cache
1759 ;; Don't create 'icon-theme.cache'.
1761 (substitute* "data/post-install.sh"
1762 (("gtk-update-icon-cache") "true"))
1765 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1766 ("duplicity" ,duplicity)
1768 ("python-pygobject" ,python-pygobject)
1770 ("json-glib" ,json-glib)
1771 ("libnotify" ,libnotify)
1772 ("libgpg-error" ,libgpg-error)
1773 ("libsecret" ,libsecret)
1774 ("libsoup" ,libsoup)
1775 ("packagekit" ,packagekit)))
1777 `(("appstream-glib" ,appstream-glib)
1778 ("desktop-file-utils" ,desktop-file-utils)
1779 ("gettext" ,gettext-minimal)
1780 ("glib" ,glib "bin") ; for glib-compile-schemas.
1781 ("gobject-introspection" ,gobject-introspection)
1782 ("itstool" ,itstool)
1783 ("pkg-config" ,pkg-config)
1785 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1786 (synopsis "Simple backup tool, for regular encrypted backups")
1788 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1789 uses duplicity as the backend, which supports incremental backups and storage
1790 either on a local, or remote machine via a number of methods.")
1791 (license license:gpl3+)))
1793 (define-public gnome-commander
1795 (name "gnome-commander")
1800 (uri (string-append "mirror://gnome/sources/" name "/"
1801 (version-major+minor version) "/"
1802 "gnome-commander-" version ".tar.xz"))
1804 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1805 (build-system glib-or-gtk-build-system)
1807 `(("desktop-file-utils" ,desktop-file-utils)
1808 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1809 ("gettext" ,gettext-minimal)
1810 ("glib:bin" ,glib "bin")
1811 ("gobject-introspection" ,gobject-introspection)
1812 ("googletest" ,googletest)
1813 ("intltool" ,intltool)
1814 ("itstool" ,itstool)
1815 ("libtool" ,libtool)
1816 ("pkg-config" ,pkg-config)))
1819 ("gnome-vfs" ,gnome-vfs)
1821 ("libxml2" ,libxml2)))
1822 (home-page "https://gcmd.github.io/")
1823 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1825 "GNOME Commander is a two-pane graphical file manager using GNOME
1826 libraries. It aims to fulfill the demands of more advanced users who
1827 like to focus on file management, their work through special applications
1828 and running smart commands.")
1829 (license license:gpl2+)))
1831 (define-public gnome-user-docs
1833 (name "gnome-user-docs")
1838 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1839 (version-major+minor version)
1840 "/gnome-user-docs-" version ".tar.xz"))
1842 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1843 (build-system gnu-build-system)
1845 `(("gettext" ,gettext-minimal)
1846 ("itstool" ,itstool)
1847 ("pkg-config" ,pkg-config)
1848 ("xmllint" ,libxml2)))
1849 (synopsis "User documentation for the GNOME desktop")
1851 "The GNOME User Documentation explains how to use the GNOME desktop and its
1852 components. It covers usage and setup of the core GNOME programs by end-users
1853 and system administrators.")
1854 (home-page "https://live.gnome.org/DocumentationProject")
1855 (license license:cc-by3.0)))
1857 (define-public gnome-getting-started-docs
1859 (name "gnome-getting-started-docs")
1864 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1865 (version-major+minor version)
1866 "/gnome-getting-started-docs-" version ".tar.xz"))
1868 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1869 (build-system gnu-build-system)
1871 `(("gettext" ,gettext-minimal)
1872 ("itstool" ,itstool)
1873 ("pkg-config" ,pkg-config)
1874 ("xmllint" ,libxml2)))
1875 (synopsis "Help to get new users started with the GNOME desktop")
1877 "The GNOME Getting Started Documentation contains GNOME's intuitive
1878 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1880 It is normally used together with @command{gnome-initial-setup}, but is also
1881 useful as a tutorial and users' guide for new or less experienced users.")
1882 (home-page "https://live.gnome.org/DocumentationProject")
1883 (license license:cc-by-sa3.0)))
1886 ;; This version from GNOME's repository includes fixes for compiling with
1887 ;; recent versions of the build tools. The latest activity on the
1888 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1890 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1894 (version (git-version "0.97.3" revision commit))
1898 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1900 (file-name (git-file-name name version))
1903 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1904 (build-system meson-build-system)
1906 `(("graphene" ,graphene)
1908 ("libxml2" ,libxml2)
1909 ("libxslt" ,libxslt)
1910 ("poppler" ,poppler)
1911 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1912 ;; ERROR: Unknown method "dependency" in object.
1913 ("python-2" ,python-2)))
1915 `(("appstream-glib" ,appstream-glib)
1916 ("docbook-xsl" ,docbook-xsl)
1917 ("glib" ,glib "bin")
1918 ("intltool" ,intltool)
1919 ("pkg-config" ,pkg-config)))
1920 (home-page "https://wiki.gnome.org/Apps/Dia")
1921 (synopsis "Diagram creation for GNOME")
1922 (description "Dia can be used to draw different types of diagrams, and
1923 includes support for UML static structure diagrams (class diagrams), entity
1924 relationship modeling, and network diagrams. The program supports various file
1925 formats like PNG, SVG, PDF and EPS.")
1926 (license license:gpl2+))))
1928 ;; This is the unstable release, but it is required for the current stable
1929 ;; release of gvfs (1.38.1).
1930 (define-public libgdata
1936 (uri (string-append "mirror://gnome/sources/" name "/"
1937 (version-major+minor version) "/"
1938 name "-" version ".tar.xz"))
1941 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1942 (build-system gnu-build-system)
1945 (modify-phases %standard-phases
1946 (add-before 'check 'disable-failing-tests
1948 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1949 ;; They have been removed in libgdata 0.17.6, so just do the same.
1950 (substitute* "gdata/tests/Makefile"
1951 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1954 `(("glib:bin" ,glib "bin")
1955 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1956 ("intltool" ,intltool)
1957 ("pkg-config" ,pkg-config)
1958 ("uhttpmock" ,uhttpmock)))
1960 `(("cyrus-sasl" ,cyrus-sasl)
1961 ("glib-networking" ,glib-networking)))
1965 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1966 ("json-glib" ,json-glib)
1967 ("liboauth" ,liboauth)
1968 ("libsoup" ,libsoup)
1969 ("libxml2" ,libxml2)))
1970 (home-page "https://wiki.gnome.org/Projects/libgdata")
1971 (synopsis "Library for accessing online service APIs")
1973 "libgdata is a GLib-based library for accessing online service APIs using
1974 the GData protocol — most notably, Google's services. It provides APIs to
1975 access the common Google services, and has full asynchronous support.")
1976 (license license:lgpl2.1+)))
1978 (define-public libgxps
1984 (uri (string-append "mirror://gnome/sources/" name "/"
1985 (version-major+minor version) "/"
1986 name "-" version ".tar.xz"))
1989 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
1990 (build-system meson-build-system)
1992 `(("gobject-introspection" ,gobject-introspection)
1993 ("pkg-config" ,pkg-config)))
1996 ("libjpeg" ,libjpeg-turbo)
1998 ("libtiff" ,libtiff)))
2000 ;; In Requires of libgxps.pc.
2003 ("libarchive" ,libarchive)))
2004 (home-page "https://wiki.gnome.org/Projects/libgxps")
2005 (synopsis "GObject-based library for handling and rendering XPS documents")
2007 "libgxps is a GObject-based library for handling and rendering XPS
2008 documents. This package also contains binaries that can convert XPS documents
2010 (license license:lgpl2.1+)))
2012 (define-public gnome-characters
2014 (name "gnome-characters")
2019 (uri (string-append "mirror://gnome/sources/"
2020 "gnome-characters/" (version-major+minor version)
2021 "/gnome-characters-" version ".tar.xz"))
2024 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2025 (build-system meson-build-system)
2028 #:phases (modify-phases %standard-phases
2029 (add-after 'install 'wrap
2030 (lambda* (#:key outputs #:allow-other-keys)
2031 ;; GNOME Characters needs Typelib files from GTK and
2033 (wrap-program (string-append (assoc-ref outputs "out")
2034 "/bin/gnome-characters")
2035 `("GI_TYPELIB_PATH" ":" prefix
2036 (,(getenv "GI_TYPELIB_PATH"))))
2039 `(("gettext" ,gettext-minimal)
2040 ("glib:bin" ,glib "bin")
2041 ("gtk+:bin" ,gtk+ "bin")
2042 ("pkg-config" ,pkg-config)
2043 ("python" ,python-minimal)))
2047 ("libunistring" ,libunistring)
2048 ("gnome-desktop" ,gnome-desktop)))
2049 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2050 (synopsis "Find and insert unusual characters")
2051 (description "Characters is a simple utility application to find
2052 and insert unusual characters. It allows you to quickly find the
2053 character you are looking for by searching for keywords.")
2054 (license license:bsd-3)))
2056 (define-public gnome-common
2058 (name "gnome-common")
2063 (uri (string-append "mirror://gnome/sources/" name "/"
2064 (version-major+minor version) "/"
2065 name "-" version ".tar.xz"))
2068 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2069 (build-system gnu-build-system)
2070 (home-page "https://www.gnome.org/")
2071 (synopsis "Bootstrap GNOME modules built from Git")
2072 (description "gnome-common contains various files needed to bootstrap
2073 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2074 can be used to configure a source directory checked out from Git and some
2075 commonly used macros.")
2076 (license license:gpl2+)))
2078 (define-public gnome-contacts
2080 (name "gnome-contacts")
2084 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2085 (version-major+minor version) "/"
2086 name "-" version ".tar.xz"))
2089 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2090 (build-system meson-build-system)
2092 `(#:configure-flags '("-Dcheese=false")
2094 (modify-phases %standard-phases
2095 (add-after 'unpack 'generate-vapis
2096 (lambda* (#:key inputs #:allow-other-keys)
2097 ;; To generate goa's missing .vapi file
2099 (assoc-ref inputs "gnome-online-accounts:lib"))
2101 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2103 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2105 (add-after 'unpack 'skip-gtk-update-icon-cache
2106 ;; Don't create 'icon-theme.cache'.
2108 (substitute* "build-aux/meson_post_install.py"
2109 (("gtk-update-icon-cache") "true"))
2112 `(("glib:bin" ,glib "bin")
2113 ("pkg-config" ,pkg-config)))
2115 `(("docbook-xml" ,docbook-xml)
2116 ("dockbook-xsl" ,docbook-xsl)
2117 ("evolution-data-server" ,evolution-data-server)
2118 ("gettext" ,gettext-minimal)
2119 ("gnome-desktop" ,gnome-desktop)
2120 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2121 ("gobject-introspection" ,gobject-introspection)
2122 ("gst-plugins-base" ,gst-plugins-base)
2125 ("libxslt" ,libxslt)
2126 ("telepathy-glib" ,telepathy-glib)
2130 ("telepathy-mission-control" ,telepathy-mission-control)))
2131 (synopsis "GNOME's integrated address book")
2133 "GNOME Contacts organizes your contact information from online and
2134 offline sources, providing a centralized place for managing your contacts.")
2135 (home-page "https://wiki.gnome.org/Apps/Contacts")
2136 (license license:gpl2+)))
2138 (define-public gnome-desktop
2140 (name "gnome-desktop")
2145 (uri (string-append "mirror://gnome/sources/" name "/"
2146 (version-major+minor version) "/"
2147 name "-" version ".tar.xz"))
2150 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2151 (build-system meson-build-system)
2154 (modify-phases %standard-phases
2155 (add-before 'configure 'patch-path
2156 (lambda* (#:key inputs #:allow-other-keys)
2157 (let ((libc (assoc-ref inputs "libc")))
2158 (substitute* "libgnome-desktop/gnome-languages.c"
2160 (string-append "\"" libc "/bin/locale\"")))
2162 (add-before 'configure 'patch-bubblewrap
2163 (lambda* (#:key inputs #:allow-other-keys)
2164 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2166 (string-append "\"" (which "bwrap") "\","))
2167 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2168 (string-append "\"--ro-bind\", \""
2173 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2175 (add-before 'check 'pre-check
2176 (lambda* (#:key inputs #:allow-other-keys)
2177 ;; Tests require a running X server and locales.
2178 (system "Xvfb :1 &")
2179 (setenv "DISPLAY" ":1")
2180 (setenv "GUIX_LOCPATH"
2181 (string-append (assoc-ref inputs "glibc-locales")
2185 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2186 ("glibc-locales" ,glibc-locales) ; for tests
2187 ("gobject-introspection" ,gobject-introspection)
2188 ("itstool" ,itstool)
2189 ("intltool" ,intltool)
2190 ("pkg-config" ,pkg-config)
2191 ("xmllint" ,libxml2)
2192 ("xorg-server" ,xorg-server-for-tests)))
2194 ;; Required by gnome-desktop-3.0.pc.
2195 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2197 ("iso-codes" ,iso-codes)
2198 ("libseccomp" ,libseccomp)
2200 ("xkeyboard-config" ,xkeyboard-config)))
2202 `(("gdk-pixbuf" ,gdk-pixbuf)
2204 ("bubblewrap" ,bubblewrap)
2205 ("libxext" ,libxext)
2206 ("libxkbfile" ,libxkbfile)
2207 ("libxrandr" ,libxrandr)))
2208 (home-page "https://www.gnome.org/")
2210 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2212 "The libgnome-desktop library provides API shared by several applications
2213 on the desktop, but that cannot live in the platform for various reasons.
2214 There is no API or ABI guarantee, although we are doing our best to provide
2215 stability. Documentation for the API is available with gtk-doc.
2217 The gnome-about program helps find which version of GNOME is installed.")
2218 ; Some bits under the LGPL.
2219 (license license:gpl2+)))
2221 (define-public gnome-doc-utils
2223 (name "gnome-doc-utils")
2228 (uri (string-append "mirror://gnome/sources/" name "/"
2229 (version-major+minor version) "/"
2230 name "-" version ".tar.xz"))
2233 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2234 (build-system gnu-build-system)
2236 `(("intltool" ,intltool)
2237 ("docbook-xml" ,docbook-xml-4.4)
2238 ("python2-libxml2" ,python2-libxml2)
2239 ("libxml2" ,libxml2)
2240 ("libxslt" ,libxslt)
2241 ("pkg-config" ,pkg-config)
2242 ("python-2" ,python-2)))
2243 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2245 "Documentation utilities for the Gnome project")
2247 "Gnome-doc-utils is a collection of documentation utilities for the
2248 Gnome project. It includes xml2po tool which makes it easier to translate
2249 and keep up to date translations of documentation.")
2250 (license license:gpl2+))) ; xslt under lgpl
2252 (define-public gnome-disk-utility
2254 (name "gnome-disk-utility")
2258 (uri (string-append "mirror://gnome/sources/" name "/"
2259 (version-major+minor version) "/"
2260 name "-" version ".tar.xz"))
2263 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2264 (build-system meson-build-system)
2266 '(#:configure-flags '("-Dlogind=libelogind")
2268 (modify-phases %standard-phases
2269 (add-after 'unpack 'skip-gtk-update-icon-cache
2270 ;; Don't create 'icon-theme.cache'.
2272 (substitute* "meson_post_install.py"
2273 (("gtk-update-icon-cache") "true"))
2276 `(("glib:bin" ,glib "bin")
2277 ("intltool" ,intltool)
2278 ("pkg-config" ,pkg-config)
2279 ("docbook-xml" ,docbook-xml)
2280 ("docbook-xsl" ,docbook-xsl)
2281 ("libxml2" ,libxml2)
2282 ("libxslt" ,libxslt)))
2284 `(("elogind" ,elogind)
2286 ("appstream-glib" ,appstream-glib)
2287 ("gnome-settings-daemon" ,gnome-settings-daemon)
2289 ("libcanberra" ,libcanberra)
2290 ("libdvdread" ,libdvdread)
2291 ("libnotify" ,libnotify)
2292 ("libpwquality" ,libpwquality)
2293 ("libsecret" ,libsecret)
2294 ("udisks" ,udisks)))
2295 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2296 (synopsis "Disk management utility for GNOME")
2297 (description "Disk management utility for GNOME.")
2298 (license license:gpl2+)))
2300 (define-public gnome-font-viewer
2302 (name "gnome-font-viewer")
2306 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2307 (version-major+minor version)
2308 "/gnome-font-viewer-" version ".tar.xz"))
2311 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2312 (build-system meson-build-system)
2315 (modify-phases %standard-phases
2316 (add-after 'unpack 'patch-post-install-script
2318 (substitute* "meson-postinstall.sh"
2319 (("update-desktop-database") (which "true")))
2321 (add-after 'install 'patch-thumbnailer
2322 (lambda* (#:key outputs #:allow-other-keys)
2323 (let ((out (assoc-ref outputs "out")))
2327 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2328 (("gnome-thumbnail-font")
2329 (string-append out "/bin/gnome-thumbnail-font"))))
2332 `(("gettext" ,gettext-minimal)
2333 ("glib:bin" ,glib "bin")
2334 ("pkg-config" ,pkg-config)))
2337 ("gnome-desktop" ,gnome-desktop)
2339 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2340 (synopsis "GNOME Fonts")
2341 (description "Application to show you the fonts installed on your computer
2342 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2343 the font would look under various sizes.")
2344 (license license:gpl2+)))
2352 (uri (string-append "mirror://gnome/sources/" name "/"
2353 (version-major+minor version) "/"
2354 name "-" version ".tar.xz"))
2357 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2358 (build-system gnu-build-system)
2361 (modify-phases %standard-phases
2362 ;; These fail because /var/lib/dbus/machine-id is not present in the
2363 ;; build environment.
2364 (add-after 'unpack 'disable-failing-tests
2366 (substitute* "Makefile.in"
2367 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2370 (add-before 'check 'pre-check
2372 ;; Some tests expect to write to $HOME.
2373 (setenv "HOME" "/tmp")
2377 ("gnupg" ,gnupg) ;called as a child process during tests
2378 ("libgcrypt" ,libgcrypt)))
2380 `(("python" ,python-wrapper) ;for tests
2381 ("pkg-config" ,pkg-config)
2382 ("gettext" ,gettext-minimal)
2383 ("glib" ,glib "bin")
2384 ("gobject-introspection" ,gobject-introspection)
2385 ("libxml2" ,libxml2)
2387 ("xsltproc" ,libxslt)))
2388 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2390 `(("p11-kit" ,p11-kit)
2393 (home-page "https://www.gnome.org")
2394 (synopsis "Libraries for displaying certificates and accessing key stores")
2396 "The GCR package contains libraries used for displaying certificates and
2397 accessing key stores. It also provides the viewer for crypto files on the
2399 (license license:lgpl2.1+)))
2408 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2409 (commit (string-append "GDL_" (string-map (match-lambda
2413 (file-name (git-file-name name version))
2416 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2417 (build-system gnu-build-system)
2419 `(("autoconf" ,autoconf)
2420 ("automake" ,automake)
2421 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2422 ("gnome-common" ,gnome-common)
2423 ("gtk-doc" ,gtk-doc/stable)
2424 ("intltool" ,intltool)
2425 ("pkg-config" ,pkg-config)
2426 ("libtool" ,libtool)
2429 `(("libxml2" ,libxml2)))
2431 ;; The gdl-3.0.pc file 'Requires' GTK+.
2433 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2434 (synopsis "GNOME docking library")
2435 (description "This library provides docking features for gtk+.")
2436 (license license:lgpl2.1+)))
2438 ;;; A minimal variant used to break a cycle with Inkscape.
2439 (define-public gdl-minimal
2440 (package/inherit gdl
2441 (name "gdl-minimal")
2444 (modify-phases %standard-phases
2445 (add-after 'unpack 'disable-doc-generation
2446 ;; XXX: There is no easy way to disable generating the
2449 (substitute* "configure.in"
2450 (("GTK_DOC_CHECK.*") "")
2452 (substitute* "Makefile.am"
2453 (("gdl docs po") "gdl po"))
2455 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2457 (define-public libgnome-keyring
2459 (name "libgnome-keyring")
2463 (uri (string-append "mirror://gnome/sources/" name "/"
2464 (version-major+minor version) "/"
2465 name "-" version ".tar.xz"))
2468 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2469 (build-system gnu-build-system)
2471 `(("libgcrypt" ,libgcrypt)
2474 `(("pkg-config" ,pkg-config)
2475 ("glib" ,glib "bin")
2476 ("intltool" ,intltool)))
2478 ;; Referred to in .h files and .pc.
2480 (home-page "https://www.gnome.org")
2481 (synopsis "Accessing passwords from the GNOME keyring")
2483 "Client library to access passwords from the GNOME keyring.")
2485 ;; Though a couple of files are LGPLv2.1+.
2486 (license license:lgpl2.0+)))
2488 (define-public gnome-keyring
2490 (name "gnome-keyring")
2494 (uri (string-append "mirror://gnome/sources/" name "/"
2495 (version-major+minor version) "/"
2496 name "-" version ".tar.xz"))
2499 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2500 (build-system gnu-build-system)
2502 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2506 (string-append "--with-pkcs11-config="
2507 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2508 (string-append "--with-pkcs11-modules="
2509 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2511 (modify-phases %standard-phases
2512 (add-after 'unpack 'fix-/bin/sh-reference
2514 (substitute* "po/Makefile.in.in"
2515 (("/bin/sh") (which "sh")))
2517 (add-after 'unpack 'fix-docbook
2518 (lambda* (#:key inputs #:allow-other-keys)
2519 (substitute* "docs/Makefile.am"
2520 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2521 (string-append (assoc-ref inputs "docbook-xsl")
2522 "/xml/xsl/docbook-xsl-"
2523 ,(package-version docbook-xsl)
2524 "/manpages/docbook.xsl")))
2525 (setenv "XML_CATALOG_FILES"
2526 (string-append (assoc-ref inputs "docbook-xml")
2527 "/xml/dtd/docbook/catalog.xml"))
2528 ;; Rerun the whole thing to avoid version mismatch ("This is
2529 ;; Automake 1.15.1, but the definition used by this
2530 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2531 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2534 (invoke "automake" "-ac"))))))
2536 `(("libgcrypt" ,libgcrypt)
2537 ("linux-pam" ,linux-pam)
2538 ("openssh" ,openssh)
2542 `(("pkg-config" ,pkg-config)
2543 ("glib" ,glib "bin")
2544 ("glib" ,glib) ; for m4 macros
2545 ("python" ,python-2) ;for tests
2546 ("intltool" ,intltool)
2547 ("autoconf" ,autoconf)
2548 ("automake" ,automake)
2549 ("libxslt" ,libxslt) ;for documentation
2550 ("docbook-xml" ,docbook-xml-4.2)
2551 ("docbook-xsl" ,docbook-xsl)))
2554 (home-page "https://www.gnome.org")
2555 (synopsis "Daemon to store passwords and encryption keys")
2557 "gnome-keyring is a program that keeps passwords and other secrets for
2558 users. It is run as a daemon in the session, similar to ssh-agent, and other
2559 applications locate it via an environment variable or D-Bus.
2561 The program can manage several keyrings, each with its own master password,
2562 and there is also a session keyring which is never stored to disk, but
2563 forgotten when the session ends.")
2564 (license license:lgpl2.1+)))
2566 (define-public evince
2572 (uri (string-append "mirror://gnome/sources/evince/"
2573 (version-major+minor version) "/"
2574 "evince-" version ".tar.xz"))
2577 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2578 (build-system glib-or-gtk-build-system)
2580 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2582 (modify-phases %standard-phases
2583 (add-before 'install 'skip-gtk-update-icon-cache
2584 ;; Don't create 'icon-theme.cache'.
2586 (substitute* "data/Makefile"
2587 (("gtk-update-icon-cache") "true"))
2590 `(("libarchive" ,libarchive)
2591 ("libgxps" ,libgxps)
2592 ("libspectre" ,libspectre)
2593 ("djvulibre" ,djvulibre)
2594 ("ghostscript" ,ghostscript)
2595 ("poppler" ,poppler)
2596 ("libtiff" ,libtiff)
2598 ;; Build libkpathsea as a shared library for DVI support.
2599 ;; ("libkpathsea" ,texlive-bin)
2600 ("gnome-desktop" ,gnome-desktop)
2601 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2603 ("libgnome-keyring" ,libgnome-keyring)
2604 ("adwaita-icon-theme" ,adwaita-icon-theme)
2605 ("gdk-pixbuf" ,gdk-pixbuf)
2610 ("libxml2" ,libxml2)
2613 ("shared-mime-info" ,shared-mime-info)
2615 ("libcanberra" ,libcanberra)
2616 ("libsecret" ,libsecret)
2619 ("dogtail" ,python2-dogtail)))
2621 `(("itstool" ,itstool)
2622 ("intltool" ,intltool)
2623 ("glib" ,glib "bin")
2624 ("gobject-introspection" ,gobject-introspection)
2625 ("pkg-config" ,pkg-config)
2626 ("xmllint" ,libxml2)))
2627 (home-page "https://www.gnome.org/projects/evince/")
2628 (synopsis "GNOME's document viewer")
2630 "Evince is a document viewer for multiple document formats. It
2631 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2632 of Evince is to replace the multiple document viewers that exist
2633 on the GNOME Desktop with a single simple application.")
2634 (license license:gpl2+)))
2636 (define-public gsettings-desktop-schemas
2638 (name "gsettings-desktop-schemas")
2643 (uri (string-append "mirror://gnome/sources/" name "/"
2644 (version-major+minor version) "/"
2645 name "-" version ".tar.xz"))
2648 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2649 (build-system meson-build-system)
2651 '(#:phases (modify-phases %standard-phases
2652 (add-after 'unpack 'patch-schemas
2653 (lambda* (#:key inputs #:allow-other-keys)
2654 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2655 (substitute* (find-files "schemas"
2656 "\\.gschema\\.xml\\.in$")
2657 ;; Provide the correct file name of the default GNOME
2658 ;; background, 'adwaita-timed.xml'.
2659 (("@datadir@/backgrounds/gnome")
2660 (string-append theme "/share/backgrounds/gnome"))
2661 ;; Do not reference fonts, that may not exist.
2662 (("'Source Code Pro 10'") "'Monospace 11'"))
2666 ("gnome-backgrounds" ,gnome-backgrounds)))
2668 `(("intltool" ,intltool)
2669 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2670 ("gobject-introspection" ,gobject-introspection)
2671 ("pkg-config" ,pkg-config)))
2672 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2674 "GNOME settings for various desktop components")
2676 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2677 for settings shared by various components of the GNOME desktop.")
2678 (license license:lgpl2.1+)))
2680 (define-public python-liblarch
2682 (name "python-liblarch")
2688 (url "https://github.com/getting-things-gnome/liblarch")
2689 (commit (string-append "v" version))))
2690 (file-name (git-file-name name version))
2692 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2693 (build-system python-build-system)
2696 (modify-phases %standard-phases
2697 (add-before 'check 'start-xserver
2698 (lambda* (#:key inputs #:allow-other-keys)
2699 (system (format #f "~a/bin/Xvfb :1 &"
2700 (assoc-ref inputs "xorg-server")))
2701 (setenv "DISPLAY" ":1")
2704 `(("xorg-server" ,xorg-server-for-tests)))
2708 `(("python-pygobject" ,python-pygobject)))
2709 (home-page "https://wiki.gnome.org/Projects/liblarch")
2710 (synopsis "Library to easily handle complex data structures")
2712 "Liblarch is a Python library built to easily handle data structures such
2713 as lists, trees and acyclic graphs. There's also a GTK binding that will
2714 allow you to use your data structure in a @code{Gtk.Treeview}.
2716 Liblarch support multiple views of one data structure and complex filtering.
2717 That way, you have a clear separation between your data themselves (Model)
2718 and how they are displayed (View).")
2719 (license license:lgpl3+)))
2729 (url "https://github.com/getting-things-gnome/gtg")
2730 (commit (string-append "v" version))))
2731 (file-name (git-file-name name version))
2733 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2734 (build-system meson-build-system)
2738 (modify-phases %standard-phases
2739 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2740 (lambda* (#:key outputs #:allow-other-keys)
2741 (let ((prog (string-append (assoc-ref outputs "out")
2743 (pylib (string-append (assoc-ref outputs "out")
2745 ,(version-major+minor
2746 (package-version python))
2749 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2750 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2753 `(("desktop-file-utils" ,desktop-file-utils)
2754 ("gettext" ,gettext-minimal)
2755 ("glib:bin" ,glib "bin")
2756 ("gobject-introspection" ,gobject-introspection)
2757 ("gtk+:bin" ,gtk+ "bin")
2758 ("pkg-config" ,pkg-config)))
2760 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2762 ("python-dbus" ,python-dbus)
2763 ("python-liblarch" ,python-liblarch)
2764 ("python-pycairo" ,python-pycairo)
2765 ("python-pygobject" ,python-pygobject)
2766 ("python-pyxdg" ,python-pyxdg)))
2767 (home-page "https://wiki.gnome.org/Apps/GTG")
2768 (synopsis "Personal organizer for the GNOME desktop")
2770 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2771 organizer for the GNOME desktop environment inspired by the Getting Things
2772 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2773 and ease of use in mind so it can be used as more than just GTD software.
2774 GTG is intended to help you track everything you need to do and need to
2775 know, from small tasks to large projects.")
2776 (license license:gpl3+)))
2778 (define-public icon-naming-utils
2780 (name "icon-naming-utils")
2785 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2786 version ".tar.bz2"))
2789 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2790 (build-system gnu-build-system)
2793 ("perl-xml-simple" ,perl-xml-simple)))
2796 (modify-phases %standard-phases
2797 (add-after 'install 'set-load-paths
2798 ;; Tell 'icon-name-mapping' where XML::Simple is.
2799 (lambda* (#:key outputs #:allow-other-keys)
2800 (let* ((out (assoc-ref outputs "out"))
2801 (prog (string-append out "/libexec/icon-name-mapping")))
2804 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2806 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2808 "Utility to implement the Freedesktop Icon Naming Specification")
2810 "To help with the transition to the Freedesktop Icon Naming
2811 Specification, the icon naming utility maps the icon names used by the
2812 GNOME and KDE desktops to the icon names proposed in the specification.")
2813 (license license:lgpl2.1+)))
2815 (define-public gnome-icon-theme
2817 (name "gnome-icon-theme")
2822 (uri (string-append "mirror://gnome/sources/" name "/"
2823 (version-major+minor version) "/"
2824 name "-" version ".tar.xz"))
2827 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2828 (build-system gnu-build-system)
2831 ;; Don't create 'icon-theme.cache'.
2832 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2833 (true (string-append coreutils "/bin/true")))
2834 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2836 `(("icon-naming-utils" ,icon-naming-utils)
2837 ("intltool" ,intltool)
2838 ("pkg-config" ,pkg-config)))
2839 (home-page "https://wiki.gnome.org/Personalization")
2840 (synopsis "GNOME icon theme")
2841 (description "Icons for the GNOME desktop.")
2842 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2844 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2845 (define-public adwaita-icon-theme
2846 (package (inherit gnome-icon-theme)
2847 (name "adwaita-icon-theme")
2851 (uri (string-append "mirror://gnome/sources/" name "/"
2852 (version-major+minor version) "/"
2853 name "-" version ".tar.xz"))
2856 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2858 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2860 (define-public tango-icon-theme
2862 (name "tango-icon-theme")
2866 (uri (string-append "http://tango.freedesktop.org/releases/"
2867 "tango-icon-theme-" version ".tar.bz2"))
2870 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2871 (build-system gnu-build-system)
2873 `(("icon-naming-utils" ,icon-naming-utils)
2874 ("intltool" ,intltool)
2875 ("imagemagick" ,imagemagick)
2876 ("pkg-config" ,pkg-config)))
2877 (home-page "http://tango-project.org/")
2878 (synopsis "Tango icon theme")
2879 (description "This is an icon theme that follows the Tango visual
2881 (license license:public-domain)))
2883 (define-public shared-mime-info
2885 (name "shared-mime-info")
2890 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2891 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2895 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2896 (build-system gnu-build-system)
2898 ;; The build system appears not to be parallel-safe.
2899 '(#:parallel-build? #f))
2902 ("libxml2" ,libxml2)))
2904 `(("gettext" ,gettext-minimal)
2905 ("itstool" ,itstool)
2906 ("pkg-config" ,pkg-config)))
2907 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2908 (synopsis "Database of common MIME types")
2910 "The shared-mime-info package contains the core database of common types
2911 and the update-mime-database command used to extend it. It requires glib2 to
2912 be installed for building the update command. Additionally, it uses intltool
2913 for translations, though this is only a dependency for the maintainers. This
2914 database is translated at Transifex.")
2915 (license license:gpl2+)))
2917 (define-public system-config-printer
2919 (name "system-config-printer")
2925 "https://github.com/OpenPrinting/system-config-printer/releases/"
2926 "download/v" version
2927 "/system-config-printer-" version ".tar.xz"))
2929 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2930 (build-system glib-or-gtk-build-system)
2932 `(#:imported-modules ((guix build python-build-system)
2933 ,@%glib-or-gtk-build-system-modules)
2935 (modify-phases %standard-phases
2936 (add-after 'unpack 'patch-Makefile.am
2938 ;; The Makefile generates some scripts, so set a valid shebang
2939 (substitute* "Makefile.am"
2940 (("/bin/bash") (which "bash")))
2941 (delete-file "configure")
2943 (add-after 'unpack 'patch-docbook-xml
2944 (lambda* (#:key inputs #:allow-other-keys)
2945 ;; Modify the man XML otherwise xmlto tries to access the network
2946 (substitute* "man/system-config-printer.xml"
2947 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2948 (string-append (assoc-ref inputs "docbook-xml")
2949 "/xml/dtd/docbook/")))
2951 (add-after 'install 'wrap-for-python
2952 (@@ (guix build python-build-system) wrap))
2953 (add-after 'install 'wrap
2954 (lambda* (#:key outputs #:allow-other-keys)
2955 (let ((out (assoc-ref outputs "out"))
2956 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2959 (wrap-program program
2960 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2962 (string-append out "/bin/" name))
2963 '("system-config-printer"
2964 "system-config-printer-applet"
2965 "install-printerdriver"
2966 "scp-dbus-service"))))
2969 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2970 ("gobject-introspection" ,gobject-introspection)
2974 ("python-dbus" ,python-dbus)
2975 ("python-pygobject" ,python-pygobject)
2976 ("python-pycups" ,python-pycups)
2977 ("python-requests" ,python-requests)
2978 ("python-pycairo" ,python-pycairo)
2979 ("libnotify" ,libnotify)
2980 ("packagekit" ,packagekit)))
2982 `(("pkg-config" ,pkg-config)
2983 ("desktop-file-utils" ,desktop-file-utils)
2985 ("autoconf" ,autoconf)
2986 ("automake" ,automake)
2987 ("intltool" ,intltool)
2989 ("docbook-xml" ,docbook-xml-4.1.2)
2990 ("docbook-xsl" ,docbook-xsl)
2991 ("libxml2" ,libxml2)))
2992 (home-page "https://github.com/zdohnal/system-config-printer")
2993 (synopsis "CUPS administration tool")
2995 "system-config-printer is a CUPS administration tool. It's written in
2996 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2998 (license license:gpl2+)))
3000 (define-public hicolor-icon-theme
3002 (name "hicolor-icon-theme")
3007 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3008 "hicolor-icon-theme-" version ".tar.xz"))
3011 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3012 (build-system gnu-build-system)
3014 `(#:tests? #f)) ; no check target
3015 (home-page "https://icon-theme.freedesktop.org/releases/")
3017 "Freedesktop icon theme")
3019 "Freedesktop icon theme.")
3020 (license license:gpl2)))
3022 (define-public libnotify
3029 (uri (string-append "mirror://gnome/sources/" name "/"
3030 (version-major+minor version) "/"
3031 name "-" version ".tar.xz"))
3034 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3035 (build-system meson-build-system)
3038 (modify-phases %standard-phases
3039 (add-after 'unpack 'fix-docbook
3040 (lambda* (#:key inputs #:allow-other-keys)
3041 ;; Don't attempt to download XSL schema.
3042 (substitute* "meson.build"
3043 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3044 /manpages/docbook.xsl")
3045 (string-append (assoc-ref inputs "docbook-xsl")
3046 "/xml/xsl/docbook-xsl-"
3047 ,(package-version docbook-xsl)
3048 "/manpages/docbook.xsl")))
3051 `(;; In Requires of libnotify.pc.
3052 ("gdk-pixbuf" ,gdk-pixbuf)
3056 ("libpng" ,libpng)))
3058 `(("pkg-config" ,pkg-config)
3059 ("glib" ,glib "bin")
3060 ("gobject-introspection" ,gobject-introspection)
3062 ;; For the documentation.
3063 ("gtk-doc" ,gtk-doc/stable)
3064 ("xsltproc" ,libxslt)
3065 ("docbook-xsl" ,docbook-xsl)))
3066 (home-page "https://developer-next.gnome.org/libnotify/")
3068 "GNOME desktop notification library")
3070 "Libnotify is a library that sends desktop notifications to a
3071 notification daemon, as defined in the Desktop Notifications spec. These
3072 notifications can be used to inform the user about an event or display
3073 some form of information without getting in the user's way.")
3074 (license license:lgpl2.1+)))
3076 (define-public libpeas
3083 (uri (string-append "mirror://gnome/sources/" name "/"
3084 (version-major+minor version) "/"
3085 name "-" version ".tar.xz"))
3088 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3089 (build-system meson-build-system)
3092 (modify-phases %standard-phases
3093 (add-before 'check 'start-xserver
3094 (lambda* (#:key inputs #:allow-other-keys)
3095 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3097 (setenv "DISPLAY" disp)
3098 ;; Tests require a running X server.
3099 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3105 ("python-pygobject" ,python-pygobject)))
3107 `(("pkg-config" ,pkg-config)
3108 ("gettext" ,gettext-minimal)
3109 ("glib:bin" ,glib "bin")
3110 ("gobject-introspection" ,gobject-introspection)
3111 ("xorg-server" ,xorg-server-for-tests)))
3113 ;; The .pc file "Requires" gobject-introspection.
3114 `(("gobject-introspection" ,gobject-introspection)))
3115 (home-page "https://wiki.gnome.org/Libpeas")
3116 (synopsis "GObject plugin system")
3118 "Libpeas is a gobject-based plugin engine, targeted at giving every
3119 application the chance to assume its own extensibility. It also has a set of
3120 features including, but not limited to: multiple extension points; on-demand
3121 (lazy) programming language support for C, Python and JS; simplicity of the
3123 (license license:lgpl2.0+)))
3125 (define-public gtkglext
3131 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3132 version "/gtkglext-" version ".tar.gz"))
3134 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3135 (patches (search-patches
3136 "gtkglext-disable-disable-deprecated.patch"))))
3137 (build-system gnu-build-system)
3140 (modify-phases %standard-phases
3141 ;; Fix a collision between a local variable and a definition from
3142 ;; glibc's string.h.
3143 (add-after 'unpack 'fix-collision
3145 (substitute* "gdk/gdkglshapes.c"
3146 ((" index") " triangle_index"))
3148 (inputs `(("gtk+" ,gtk+-2)
3153 (native-inputs `(("pkg-config" ,pkg-config)
3154 ("glib" ,glib "bin")))
3155 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3156 (home-page "https://projects.gnome.org/gtkglext")
3157 (synopsis "OpenGL extension to GTK+")
3158 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3159 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3160 API add-ons to make GTK+ widgets OpenGL-capable.")
3161 (license license:lgpl2.1+)))
3163 (define-public glade3
3169 (uri (string-append "mirror://gnome/sources/" name "/"
3170 (version-major+minor version) "/"
3171 name "-" version ".tar.xz"))
3174 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3175 (build-system glib-or-gtk-build-system)
3178 (modify-phases %standard-phases
3179 (add-before 'configure 'fix-docbook
3180 (lambda* (#:key inputs #:allow-other-keys)
3181 (substitute* "man/Makefile.in"
3182 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3183 (string-append (assoc-ref inputs "docbook-xsl")
3184 "/xml/xsl/docbook-xsl-"
3185 ,(package-version docbook-xsl)
3186 "/manpages/docbook.xsl")))
3188 (add-before 'check 'pre-check
3190 (setenv "HOME" "/tmp")
3191 ;; Tests require a running X server.
3192 (system "Xvfb :1 &")
3193 (setenv "DISPLAY" ":1")
3197 ("libxml2" ,libxml2)))
3199 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3200 ("intltool" ,intltool)
3201 ("itstool" ,itstool)
3202 ("libxslt" ,libxslt) ;for xsltproc
3203 ("docbook-xml" ,docbook-xml-4.2)
3204 ("docbook-xsl" ,docbook-xsl)
3205 ("python" ,python-2)
3206 ("pkg-config" ,pkg-config)
3207 ("xorg-server" ,xorg-server-for-tests)))
3208 (home-page "https://glade.gnome.org")
3209 (synopsis "GTK+ rapid application development tool")
3210 (description "Glade is a rapid application development (RAD) tool to
3211 enable quick & easy development of user interfaces for the GTK+ toolkit and
3212 the GNOME desktop environment.")
3213 (license license:lgpl2.0+)
3214 (native-search-paths (list (search-path-specification
3215 (variable "GLADE_CATALOG_SEARCH_PATH")
3216 (files '("share/glade/catalogs")))
3217 (search-path-specification
3218 (variable "GLADE_MODULE_SEARCH_PATH")
3219 (files '("lib/glade/modules")))))))
3221 (define-public libcroco
3227 (uri (string-append "mirror://gnome/sources/" name "/"
3228 (version-major+minor version) "/"
3229 name "-" version ".tar.xz"))
3230 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3233 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3234 (build-system gnu-build-system)
3236 `(("pkg-config" ,pkg-config)))
3239 ("libxml2" ,libxml2)
3241 (home-page "https://github.com/GNOME/libcroco")
3242 (synopsis "CSS2 parsing and manipulation library")
3244 "Libcroco is a standalone CSS2 parsing and manipulation library.
3245 The parser provides a low level event driven SAC-like API and a CSS object
3246 model like API. Libcroco provides a CSS2 selection engine and an experimental
3247 XML/CSS rendering engine.")
3250 (license license:lgpl2.1)))
3252 (define-public libgsf
3258 (uri (string-append "mirror://gnome/sources/" name "/"
3259 (version-major+minor version) "/"
3260 name "-" version ".tar.xz"))
3263 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3264 (build-system gnu-build-system)
3266 '(#:configure-flags '("--disable-static")))
3268 `(("pkg-config" ,pkg-config)
3269 ("gettext" ,gettext-minimal)
3273 ("perl-xml-parser" ,perl-xml-parser)))
3278 `(("gdk-pixbuf" ,gdk-pixbuf)
3280 ("libxml2" ,libxml2)))
3281 (home-page "https://www.gnome.org/projects/libgsf")
3282 (synopsis "GNOME's Structured File Library")
3284 "Libgsf aims to provide an efficient extensible I/O abstraction for
3285 dealing with different structured file formats.")
3288 (license license:lgpl2.1)))
3290 (define-public librsvg
3296 (uri (string-append "mirror://gnome/sources/" name "/"
3297 (version-major+minor version) "/"
3298 name "-" version ".tar.xz"))
3301 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3302 (build-system gnu-build-system)
3305 (list "--disable-static"
3306 "--enable-vala") ; needed for e.g. gnome-mines
3308 (modify-phases %standard-phases
3309 (add-before 'configure 'pre-configure
3310 (lambda* (#:key inputs #:allow-other-keys)
3311 (substitute* "gdk-pixbuf-loader/Makefile.in"
3312 ;; By default the gdk-pixbuf loader is installed under
3313 ;; gdk-pixbuf's prefix. Work around that.
3314 (("gdk_pixbuf_moduledir = .*$")
3315 (string-append "gdk_pixbuf_moduledir = "
3316 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3318 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3319 (("gdk_pixbuf_cache_file = .*$")
3320 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3322 (add-before 'check 'remove-failing-tests
3324 (with-directory-excursion "tests/fixtures/reftests"
3325 (for-each delete-file
3326 '(;; This test fails on i686:
3327 "svg1.1/masking-path-04-b.svg"
3328 ;; This test fails on armhf:
3329 "svg1.1/masking-mask-01-b.svg"
3330 ;; This test fails on aarch64:
3331 "bugs/777834-empty-text-children.svg")))
3334 `(("pkg-config" ,pkg-config)
3336 ("glib" ,glib "bin") ; glib-mkenums, etc.
3337 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3339 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3340 ;; this ancient version of librsvg.
3341 ("pango" ,pango-1.42)
3342 ("libcroco" ,libcroco)
3345 ("libxml2" ,libxml2)))
3347 ;; librsvg-2.0.pc refers to all of that.
3349 ("gdk-pixbuf" ,gdk-pixbuf)
3351 (home-page "https://wiki.gnome.org/LibRsvg")
3352 (synopsis "Render SVG files using Cairo")
3354 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3356 (license license:lgpl2.0+)))
3358 (define-public librsvg-next
3364 (uri (string-append "mirror://gnome/sources/librsvg/"
3365 (version-major+minor version) "/"
3366 "librsvg-" version ".tar.xz"))
3369 "0n79i4wj9hm0d3bbn4xvknq5ylhqs16pvhaqr1rxspx9wfc8lad4"))
3370 (modules '((guix build utils)))
3372 '(begin (delete-file-recursively "vendor")
3374 (build-system cargo-build-system)
3375 (outputs '("out" "doc"))
3377 `(#:install-source? #f
3379 ((guix build cargo-build-system)
3381 ((guix build gnu-build-system) #:prefix gnu:))
3383 (("rust-bitflags" ,rust-bitflags-1)
3384 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3385 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3386 ("rust-cast" ,rust-cast-0.2)
3387 ("rust-cssparser" ,rust-cssparser-0.27)
3388 ("rust-data-url" ,rust-data-url-0.1)
3389 ("rust-encoding" ,rust-encoding-0.2)
3390 ("rust-float-cmp" ,rust-float-cmp-0.8)
3391 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3392 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3393 ("rust-gio" ,rust-gio-0.8)
3394 ("rust-gio-sys" ,rust-gio-sys-0.9)
3395 ("rust-glib" ,rust-glib-0.9)
3396 ("rust-glib-sys" ,rust-glib-sys-0.9)
3397 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3398 ("rust-itertools" ,rust-itertools-0.9)
3399 ("rust-language-tags" ,rust-language-tags-0.2)
3400 ("rust-libc" ,rust-libc-0.2)
3401 ("rust-locale-config" ,rust-locale-config-0.3)
3402 ("rust-markup5ever" ,rust-markup5ever-0.10)
3403 ("rust-nalgebra" ,rust-nalgebra-0.21)
3404 ("rust-num-traits" ,rust-num-traits-0.2)
3405 ("rust-once-cell" ,rust-once-cell-1)
3406 ("rust-pkg-config" ,rust-pkg-config-0.3)
3407 ("rust-pango" ,rust-pango-0.8)
3408 ("rust-pango-sys" ,rust-pango-sys-0.9)
3409 ("rust-pangocairo" ,rust-pangocairo-0.9)
3410 ("rust-rayon" ,rust-rayon-1)
3411 ("rust-rctree" ,rust-rctree-0.3)
3412 ("rust-rgb" ,rust-rgb-0.8)
3413 ("rust-regex" ,rust-regex-1)
3414 ("rust-selectors" ,rust-selectors-0.22)
3415 ("rust-string-cache" ,rust-string-cache-0.8)
3416 ("rust-tinyvec" ,rust-tinyvec-0.3)
3417 ("rust-url" ,rust-url-2)
3418 ("rust-xml5ever" ,rust-xml5ever-0.16))
3419 #:cargo-development-inputs
3420 (("rust-assert-cmd" ,rust-assert-cmd-1)
3421 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3422 ("rust-chrono" ,rust-chrono-0.4)
3423 ("rust-criterion" ,rust-criterion-0.3)
3424 ("rust-float-cmp" ,rust-float-cmp-0.8)
3425 ("rust-lopdf" ,rust-lopdf-0.26)
3426 ("rust-png" ,rust-png-0.16)
3427 ("rust-predicates" ,rust-predicates-1)
3428 ("rust-tempfile" ,rust-tempfile-3))
3430 (modify-phases %standard-phases
3431 (add-after 'unpack 'patch-docbook-xml
3432 (lambda* (#:key inputs #:allow-other-keys)
3433 (with-directory-excursion "doc"
3434 (substitute* "rsvg-docs.xml"
3435 (("http://www.oasis-open.org/docbook/xml/4.3/")
3436 (string-append (assoc-ref inputs "docbook-xml")
3437 "/xml/dtd/docbook/"))))
3439 (add-after 'unpack 'prepare-for-build
3441 ;; In lieu of #:make-flags
3442 (setenv "CC" ,(cc-for-target))
3443 ;; Something about the build environment resists building
3444 ;; successfully with the '--locked' flag.
3445 (substitute* '("Makefile.am" "Makefile.in")
3448 (add-before 'configure 'pre-configure
3450 (substitute* "gdk-pixbuf-loader/Makefile.in"
3451 ;; By default the gdk-pixbuf loader is installed under
3452 ;; gdk-pixbuf's prefix. Work around that.
3453 (("gdk_pixbuf_moduledir = .*$")
3454 (string-append "gdk_pixbuf_moduledir = "
3455 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3457 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3458 (("gdk_pixbuf_cache_file = .*$")
3459 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3461 (add-after 'configure 'gnu-configure
3462 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3463 ((assoc-ref gnu:%standard-phases 'configure)
3464 #:native-inputs native-inputs
3468 (list "--disable-static"
3470 (string-append "--with-html-dir="
3471 (assoc-ref %outputs "doc")
3472 "/share/gtk-doc/html")))))
3473 (add-after 'configure 'dont-vendor-self
3474 (lambda* (#:key vendor-dir #:allow-other-keys)
3475 ;; Don't keep the whole tarball in the vendor directory
3476 (delete-file-recursively
3477 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3480 (assoc-ref gnu:%standard-phases 'build))
3481 (add-before 'check 'ignore-failing-tests
3482 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3484 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3485 (("fn background_color_option_invalid_color_yields_error" all)
3486 (string-append "#[ignore] " all))
3487 (("fn empty_input_yields_error" all)
3488 (string-append "#[ignore] " all))
3489 (("fn empty_svg_yields_error" all)
3490 (string-append "#[ignore] " all))
3491 (("fn env_source_data_epoch_empty" all)
3492 (string-append "#[ignore] " all))
3493 (("fn env_source_data_epoch_no_digits" all)
3494 (string-append "#[ignore] " all))
3495 (("fn env_source_data_epoch_trailing_garbage" all)
3496 (string-append "#[ignore] " all))
3497 (("fn export_id_option_error" all)
3498 (string-append "#[ignore] " all))
3499 (("fn huge_zoom_factor_yields_error" all)
3500 (string-append "#[ignore] " all))
3501 (("fn multiple_input_files_not_allowed_for_png_output" all)
3502 (string-append "#[ignore] " all))
3503 (("fn stylesheet_option_error" all)
3504 (string-append "#[ignore] " all)))
3508 ((assoc-ref gnu:%standard-phases 'check)
3509 #:test-target "check")))
3511 (assoc-ref gnu:%standard-phases 'install)))))
3513 `(("docbook-xml" ,docbook-xml-4.3)
3514 ("glib" ,glib "bin")
3515 ("gobject-introspection" ,gobject-introspection)
3516 ("pkg-config" ,pkg-config)
3517 ("python" ,python-wrapper)
3522 ("fontconfig" ,fontconfig)
3523 ("freetype" ,freetype)
3524 ("harfbuzz" ,harfbuzz)
3525 ("libcroco" ,libcroco)
3527 ("libxml2" ,libxml2)
3531 ("gdk-pixbuf" ,gdk-pixbuf)
3533 (synopsis "SVG rendering library")
3534 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3535 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3536 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3538 (home-page "https://wiki.gnome.org/LibRsvg")
3539 (license license:lgpl2.1+)))
3541 (define-public libidl
3547 (uri (string-append "mirror://gnome/sources/libIDL/"
3548 (version-major+minor version) "/"
3549 "libIDL-" version ".tar.bz2"))
3552 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3553 (build-system gnu-build-system)
3554 (inputs `(("glib" ,glib)))
3556 `(("pkg-config" ,pkg-config)
3559 (home-page "http://freecode.com/projects/libidl")
3560 (synopsis "Create trees of CORBA Interface Definition Language files")
3561 (description "Libidl is a library for creating trees of CORBA Interface
3562 Definition Language (idl) files, which is a specification for defining
3563 portable interfaces. libidl was initially written for orbit (the orb from the
3564 GNOME project, and the primary means of libidl distribution). However, the
3565 functionality was designed to be as reusable and portable as possible.")
3566 (properties `((upstream-name . "libIDL")))
3567 (license license:lgpl2.0+)))
3570 (define-public orbit2
3576 (uri (let ((upstream-name "ORBit2"))
3577 (string-append "mirror://gnome/sources/" upstream-name "/"
3578 (version-major+minor version) "/"
3579 upstream-name "-" version ".tar.bz2")))
3582 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3583 (build-system gnu-build-system)
3585 `(;; The "timeout-server" test hangs when run in parallel.
3586 #:parallel-tests? #f
3588 '(;; We don't need static libraries, plus they don't build reproducibly
3589 ;; (non-deterministic ordering of .o files in the archive.)
3592 ;; The programmer kindly gives us a hook to turn off deprecation
3594 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3595 ;; ... which they then completly ignore !!
3597 (modify-phases %standard-phases
3598 (add-before 'configure 'ignore-deprecations
3600 (substitute* "linc2/src/Makefile.in"
3601 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3603 (inputs `(("glib" ,glib)
3604 ("libidl" ,libidl)))
3606 `(("pkg-config" ,pkg-config)))
3607 (home-page "https://projects.gnome.org/orbit2/")
3608 (synopsis "CORBA 2.4-compliant Object Request Broker")
3609 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3610 featuring mature C, C++ and Python bindings.")
3611 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3612 ;; a version. SOME of the code files have licence notices for GPLv2+.
3613 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3614 (license license:gpl2+)
3615 (properties `((upstream-name . "ORBit2")))))
3618 (define-public libbonobo
3624 (uri (string-append "mirror://gnome/sources/" name "/"
3625 (version-major+minor version)
3626 "/" name "-" version ".tar.bz2"))
3628 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3629 (patches (search-patches
3630 "libbonobo-activation-test-race.patch"))))
3631 (build-system gnu-build-system)
3633 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3635 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3636 ;; ... which they then completly ignore !!
3638 (modify-phases %standard-phases
3639 (add-before 'configure 'ignore-deprecations
3641 (substitute* "activation-server/Makefile.in"
3642 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3645 ;; There's apparently a race condition between the server stub
3646 ;; generation and linking of the example under 'samples/echo' that can
3647 ;; lead do undefined references when building in parallel, as reported
3648 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3649 ;; Thus, disable parallel builds.
3650 #:parallel-build? #f))
3651 (inputs `(("popt" ,popt)
3652 ("libxml2" ,libxml2)))
3653 ;; The following are Required by the .pc file
3656 ("orbit2" ,orbit2)))
3658 `(("intltool" ,intltool)
3659 ("pkg-config" ,pkg-config)
3660 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3663 (home-page "https://developer.gnome.org/libbonobo/")
3664 (synopsis "Framework for creating reusable components for use in GNOME applications")
3665 (description "Bonobo is a framework for creating reusable components for
3666 use in GNOME applications, built on top of CORBA.")
3667 ;; Licence not explicitly stated. Source files contain no licence notices.
3668 ;; Tarball contains text of both GPLv2 and LGPLv2
3669 ;; GPLv2 covers both conditions
3670 (license license:gpl2+)))
3673 (define-public gconf
3680 (let ((upstream-name "GConf"))
3681 (string-append "mirror://gnome/sources/" upstream-name "/"
3682 (version-major+minor version) "/"
3683 upstream-name "-" version ".tar.xz")))
3685 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3686 (build-system gnu-build-system)
3687 (inputs `(("dbus-glib" ,dbus-glib)
3688 ("libxml2" ,libxml2)))
3689 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3690 ("orbit2" ,orbit2)))
3692 `(("intltool" ,intltool)
3693 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3694 ("pkg-config" ,pkg-config)))
3695 (home-page "https://projects.gnome.org/gconf/")
3696 (synopsis "Store application preferences")
3697 (description "Gconf is a system for storing application preferences. It
3698 is intended for user preferences; not arbitrary data storage.")
3699 (license license:lgpl2.0+)
3700 (properties '((upstream-name . "GConf")))))
3703 (define-public gnome-mime-data
3705 (name "gnome-mime-data")
3709 (uri (string-append "mirror://gnome/sources/" name "/"
3710 (version-major+minor version) "/"
3711 name "-" version ".tar.bz2"))
3714 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3715 (build-system gnu-build-system)
3718 ("intltool" ,intltool)))
3720 '(#:phases (modify-phases %standard-phases
3721 (add-after 'configure 'use-our-intltool
3723 ;; Do not use the bundled intltool commands, which lack
3724 ;; the "dotless @INC" fixes of our 'intltool' package.
3725 (substitute* (find-files "." "^Makefile$")
3726 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3727 (string-append "INTLTOOL_" tool " = intltool-"
3728 (string-downcase tool) "\n")))
3730 (home-page "https://www.gnome.org")
3731 (synopsis "Base MIME and Application database for GNOME")
3732 (description "GNOME Mime Data is a module which contains the base MIME
3733 and Application database for GNOME. The data stored by this module is
3734 designed to be accessed through the MIME functions in GnomeVFS.")
3735 (license license:gpl2+)))
3738 (define-public gnome-vfs
3744 (uri (string-append "mirror://gnome/sources/" name "/"
3745 (version-major+minor version) "/"
3746 name "-" version ".tar.bz2"))
3749 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3750 (build-system gnu-build-system)
3753 (modify-phases %standard-phases
3754 (add-before 'configure 'ignore-deprecations
3756 (substitute* '("libgnomevfs/Makefile.in"
3757 "daemon/Makefile.in")
3758 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3760 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3762 (substitute* "test/test-async-cancel.c"
3763 (("EXIT_FAILURE") "77"))
3765 (inputs `(("libxml2" ,libxml2)
3766 ("dbus-glib" ,dbus-glib)
3768 ("gnome-mime-data" ,gnome-mime-data)
3771 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3772 ("intltool" ,intltool)
3773 ("pkg-config" ,pkg-config)))
3774 (home-page "https://developer.gnome.org/gnome-vfs/")
3775 (synopsis "Access files and folders in GNOME applications")
3777 "GnomeVFS is the core library used to access files and folders in GNOME
3778 applications. It provides a file system abstraction which allows applications
3779 to access local and remote files with a single consistent API.")
3780 (license license:lgpl2.0+)))
3784 (define-public libgnome
3790 (uri (string-append "mirror://gnome/sources/" name "/"
3791 (version-major+minor version) "/"
3792 name "-" version ".tar.bz2"))
3795 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3796 (patches (search-patches "libgnome-encoding.patch"))))
3797 (build-system gnu-build-system)
3800 (modify-phases %standard-phases
3801 (add-before 'configure 'enable-deprecated
3803 (substitute* "libgnome/Makefile.in"
3804 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3806 (inputs `(("libxml2" ,libxml2)))
3808 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3809 ("intltool" ,intltool)
3810 ("pkg-config" ,pkg-config)))
3811 ;; The following are listed as Required in the .pc file
3812 ;; (except for libcanberra -- which seems to be oversight on the part
3813 ;; of the upstream developers -- anything that links against libgnome,
3814 ;; must also link against libcanberra
3816 `(("libcanberra" ,libcanberra)
3817 ("libbonobo" ,libbonobo)
3819 ("gnome-vfs" ,gnome-vfs)
3820 ("popt" ,popt))) ;gnome-program.h includes popt.h
3821 (home-page "https://developer.gnome.org/libgnome/")
3822 (synopsis "Useful routines for building applications")
3823 (description "The libgnome library provides a number of useful routines
3824 for building modern applications, including session management, activation of
3825 files and URIs, and displaying help.")
3826 (license license:lgpl2.0+)))
3829 (define-public libart-lgpl
3831 (name "libart-lgpl")
3835 (uri (let ((upstream-name "libart_lgpl"))
3836 (string-append "mirror://gnome/sources/" upstream-name "/"
3837 (version-major+minor version) "/"
3838 upstream-name "-" version ".tar.bz2")))
3841 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3842 (build-system gnu-build-system)
3844 `(("pkg-config" ,pkg-config)))
3845 (home-page "https://people.gnome.org/~mathieu/libart")
3846 (synopsis "2D drawing library")
3847 (description "Libart is a 2D drawing library intended as a
3848 high-quality vector-based 2D library with antialiasing and alpha composition.")
3849 (license license:lgpl2.0+)))
3853 (define-public libgnomecanvas
3855 (name "libgnomecanvas")
3859 (uri (string-append "mirror://gnome/sources/" name "/"
3860 (version-major+minor version) "/"
3861 name "-" version ".tar.gz"))
3864 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3865 (build-system gnu-build-system)
3866 ;; Mentioned as Required in the .pc file
3867 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3870 `(("intltool" ,intltool)
3871 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3872 ("pkg-config" ,pkg-config)))
3873 (home-page "https://developer.gnome.org/libgnomecanvas/")
3874 (synopsis "Flexible widget for creating interactive structured graphics")
3875 (description "The GnomeCanvas widget provides a flexible widget for
3876 creating interactive structured graphics.")
3877 (license license:lgpl2.0+)))
3879 (define-public libgnomecanvasmm
3881 (name "libgnomecanvasmm")
3885 (uri (string-append "mirror://gnome/sources/" name "/"
3886 (version-major+minor version) "/"
3887 name "-" version ".tar.bz2"))
3890 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3891 (build-system gnu-build-system)
3892 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3894 `(("gtkmm-2" ,gtkmm-2)
3895 ("pkg-config" ,pkg-config)))
3896 (home-page "https://gtkmm.org")
3897 (synopsis "C++ bindings to the GNOME Canvas library")
3898 (description "C++ bindings to the GNOME Canvas library.")
3899 (license license:lgpl2.0+)))
3901 (define-public libgnomeui
3907 (uri (string-append "mirror://gnome/sources/" name "/"
3908 (version-major+minor version) "/"
3909 name "-" version ".tar.bz2"))
3910 (patches (search-patches "libgnomeui-utf8.patch"))
3913 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3914 (build-system gnu-build-system)
3915 ;; Mentioned as Required in the .pc file
3916 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3917 ("libgnome" ,libgnome)
3918 ("libgnomecanvas" ,libgnomecanvas)
3919 ("libgnome-keyring" ,libgnome-keyring)))
3920 (inputs `(("libjpeg" ,libjpeg-turbo)
3922 ("libbonobo" ,libbonobo)
3923 ("libxml2" ,libxml2)
3924 ("libglade" ,libglade)))
3926 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3927 ("intltool" ,intltool)
3928 ("pkg-config" ,pkg-config)))
3929 (home-page "https://developer.gnome.org/libgnomeui/")
3930 (synopsis "Additional widgets for applications")
3931 (description "The libgnomeui library provides additional widgets for
3932 applications. Many of the widgets from libgnomeui have already been
3934 (license license:lgpl2.0+)))
3936 (define-public libglade
3942 (uri (string-append "mirror://gnome/sources/" name "/"
3943 (version-major+minor version) "/"
3944 name "-" version ".tar.bz2"))
3947 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3948 (build-system gnu-build-system)
3950 `(("python" ,python))) ;; needed for the optional libglade-convert program
3952 `(("gtk+-2" ,gtk+-2)
3953 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3955 `(("pkg-config" ,pkg-config)))
3956 (home-page "https://developer.gnome.org/libglade")
3957 (synopsis "Load glade interfaces and access the glade built widgets")
3958 (description "Libglade is a library that provides interfaces for loading
3959 graphical interfaces described in glade files and for accessing the
3960 widgets built in the loading process.")
3961 (license license:gpl2+))) ; This is correct. GPL not LGPL
3963 (define-public libgnomeprint
3964 ;; This library has been deprecated since 2006; see
3965 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3967 (name "libgnomeprint")
3971 (uri (string-append "mirror://gnome/sources/" name "/"
3972 (version-major+minor version) "/"
3973 name "-" version ".tar.bz2"))
3976 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3977 (build-system gnu-build-system)
3980 ("libart-lgpl" ,libart-lgpl)
3982 ("libxml2" ,libxml2)))
3984 `(("intltool" ,intltool)
3985 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3986 ("pkg-config" ,pkg-config)))
3987 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3988 (synopsis "Printing framework for GNOME")
3990 "GNOME-print was a printing framework for GNOME. It has been deprecated
3991 since ca. 2006, when GTK+ itself incorporated printing support.")
3992 (license license:lgpl2.0+)))
3995 (define-public libgnomeprintui
3996 ;; Deprecated; see libgnomeprint.
3998 (name "libgnomeprintui")
4002 (uri (string-append "mirror://gnome/sources/" name "/"
4003 (version-major+minor version) "/"
4004 name "-" version ".tar.bz2"))
4007 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4008 (build-system gnu-build-system)
4009 ;; Mentioned as Required in the .pc file
4010 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4011 (inputs `(("gtk+" ,gtk+-2)
4013 ("gnome-icon-theme" ,gnome-icon-theme)
4014 ("libgnomecanvas" ,libgnomecanvas)
4015 ("libxml2" ,libxml2)))
4017 `(("intltool" ,intltool)
4018 ("pkg-config" ,pkg-config)))
4019 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4020 (synopsis "Printing framework for GNOME")
4021 (description (package-description libgnomeprint))
4022 (license license:lgpl2.0+)))
4024 (define-public libbonoboui
4026 (name "libbonoboui")
4030 (uri (string-append "mirror://gnome/sources/" name "/"
4031 (version-major+minor version) "/"
4032 name "-" version ".tar.bz2"))
4035 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4036 (build-system gnu-build-system)
4039 (modify-phases %standard-phases
4040 (add-before 'check 'start-xserver
4041 (lambda* (#:key inputs #:allow-other-keys)
4042 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4045 (setenv "HOME" (getcwd))
4046 (setenv "DISPLAY" disp)
4047 ;; There must be a running X server and make check doesn't start one.
4048 ;; Therefore we must do it.
4049 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4050 ;; Mentioned as Required by the .pc file
4051 (propagated-inputs `(("libxml2" ,libxml2)))
4054 ("pangox-compat" ,pangox-compat)
4055 ("libgnome" ,libgnome)
4056 ("libgnomecanvas" ,libgnomecanvas)
4057 ("libglade" ,libglade)))
4059 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4060 ("intltool" ,intltool)
4061 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4062 ("pkg-config" ,pkg-config)))
4063 (home-page "https://developer.gnome.org/libbonoboui/")
4064 (synopsis "Some user interface controls using Bonobo")
4065 (description "The Bonobo UI library provides a number of user interface
4066 controls using the Bonobo component framework.")
4067 (license license:lgpl2.0+)))
4069 (define-public libwnck
4075 (uri (string-append "mirror://gnome/sources/" name "/"
4076 (version-major+minor version) "/"
4077 name "-" version ".tar.xz"))
4080 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4081 (build-system meson-build-system)
4083 `(("pkg-config" ,pkg-config)
4084 ("glib" ,glib "bin") ; for glib-mkenums
4085 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4086 ("intltool" ,intltool)))
4089 ("libxres" ,libxres)
4090 ("startup-notification" ,startup-notification)))
4091 (home-page "https://developer.gnome.org/libwnck/")
4092 (synopsis "Window Navigator Construction Kit")
4094 "Libwnck is the Window Navigator Construction Kit, a library for use in
4095 writing pagers, tasklists, and more generally applications that are dealing
4096 with window management. It tries hard to respect the Extended Window Manager
4097 Hints specification (EWMH).")
4098 (license license:lgpl2.0+)))
4100 ;; stable version for gtk2, required by xfwm4.
4101 (define-public libwnck-2
4102 (package (inherit libwnck)
4107 (uri (string-append "mirror://gnome/sources/" name "/"
4108 (version-major+minor version) "/"
4109 name "-" version ".tar.xz"))
4112 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4113 (build-system gnu-build-system)
4115 `(("pkg-config" ,pkg-config)
4116 ("intltool" ,intltool)))
4119 ("libxres" ,libxres)
4120 ("startup-notification" ,startup-notification)))))
4122 (define-public goffice
4128 (uri (string-append "mirror://gnome/sources/goffice/"
4129 (version-major+minor version) "/"
4130 "goffice-" version ".tar.xz"))
4132 (base32 "1s87ngs3g3nfvcn96aq4lgzx5cscbfg4n9f6ns2zpvc5ngdiiz2z"))))
4133 (build-system gnu-build-system)
4135 "doc")) ; 4.0 MiB of gtk-doc
4137 '(#:configure-flags (list (string-append "--with-html-dir="
4138 (assoc-ref %outputs "doc")
4139 "/share/gtk-doc/html"))))
4143 ("librsvg" ,librsvg)
4144 ("libxslt" ,libxslt)
4145 ("libxml2" ,libxml2)))
4147 `(("intltool" ,intltool)
4148 ("glib" ,glib "bin")
4149 ("pkg-config" ,pkg-config)))
4150 (home-page "https://developer.gnome.org/goffice/")
4151 (synopsis "Document-centric objects and utilities")
4152 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4154 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4156 (list license:gpl2 license:gpl3))))
4158 (define-public goffice-0.8
4159 (package (inherit goffice)
4163 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4164 (version-major+minor version) "/"
4165 (package-name goffice) "-" version ".tar.xz"))
4167 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4170 (modify-phases %standard-phases
4171 (add-after 'unpack 'fix-pcre-check
4173 ;; Only glib.h can be included directly. See
4174 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4175 (substitute* "configure"
4176 (("glib/gregex\\.h") "glib.h")) #t)))
4178 ,@(package-arguments goffice)))
4180 ;; libgoffice-0.8.pc mentions libgsf-1
4181 `(("libgsf" ,libgsf)))
4184 ,@(alist-delete "gtk" (package-inputs goffice))))))
4186 (define-public gnumeric
4192 (uri (string-append "mirror://gnome/sources/gnumeric/"
4193 (version-major+minor version) "/"
4194 "gnumeric-" version ".tar.xz"))
4197 "0mzdhhpa7kwkc51l344g6vgqwaxkjdf03s7zasqh0bn3jpn75h4i"))))
4198 (build-system glib-or-gtk-build-system)
4200 `(;; The gnumeric developers don't worry much about failing tests.
4201 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4204 (modify-phases %standard-phases
4206 'configure 'pre-conf
4207 (lambda* (#:key outputs #:allow-other-keys)
4208 ;; Make install tries to write into the directory of goffice
4209 ;; I am informed that this only affects the possibility to embed a
4210 ;; spreadsheet inside an Abiword document. So presumably when we
4211 ;; package Abiword we'll have to refer it to this directory.
4212 (substitute* "configure"
4213 (("^GOFFICE_PLUGINS_DIR=.*")
4214 (string-append "GOFFICE_PLUGINS_DIR="
4215 (assoc-ref outputs "out")
4216 "/goffice/plugins"))))))))
4220 ("goffice" ,goffice)
4222 ("librsvg" ,librsvg)
4223 ("libxml2" ,libxml2)
4224 ("libxslt" ,libxslt)
4226 ("python-pygobject" ,python-pygobject)
4230 ("docbook-xml" ,docbook-xml)
4231 ("intltool" ,intltool)
4232 ("itstool" ,itstool)
4233 ("glib:bin" ,glib "bin")
4234 ("pkg-config" ,pkg-config)))
4235 (home-page "http://www.gnumeric.org")
4236 (synopsis "Spreadsheet application")
4238 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4239 interoperable with other spreadsheet applications. It has a vast array of
4240 features beyond typical spreadsheet functionality, such as support for linear
4241 and non-linear solvers, statistical analysis, and telecommunication
4244 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4245 (list license:gpl2 license:gpl3))))
4247 (define-public drawing
4255 (url "https://github.com/maoschanz/drawing")
4257 (file-name (git-file-name name version))
4259 (base32 "1kfgmalakifcvzhzss9zhmqjbdk24zr22c5xwkkahlvfcafp13wn"))))
4260 (build-system meson-build-system)
4264 (modify-phases %standard-phases
4265 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4266 (lambda* (#:key outputs #:allow-other-keys)
4267 (let ((prog (string-append (assoc-ref outputs "out")
4269 (pylib (string-append (assoc-ref outputs "out")
4271 ,(version-major+minor
4272 (package-version python))
4275 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
4276 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4279 `(("desktop-file-utils" ,desktop-file-utils)
4280 ("gettext" ,gettext-minimal)
4281 ("glib:bin" ,glib "bin")
4282 ("gobject-introspection" ,gobject-introspection)
4283 ("gtk+:bin" ,gtk+ "bin")
4284 ("pkg-config" ,pkg-config)))
4286 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
4287 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4290 ("python-pycairo" ,python-pycairo)
4291 ("python-pygobject" ,python-pygobject)))
4292 (home-page "https://maoschanz.github.io/drawing/")
4293 (synopsis "Basic image editor for GNOME")
4295 "Drawing is a basic image editor aiming at the GNOME desktop.")
4296 (license license:gpl3+)))
4298 (define-public gnome-themes-standard
4300 (name "gnome-themes-standard")
4305 (uri (string-append "mirror://gnome/sources/" name "/"
4306 (version-major+minor version) "/" name "-"
4310 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4311 (build-system gnu-build-system)
4314 ;; Don't create 'icon-theme.cache'.
4315 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4316 (true (string-append coreutils "/bin/true")))
4317 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4321 ("librsvg" ,librsvg)
4322 ("libxml2" ,libxml2)
4325 `(("intltool" ,intltool)
4326 ("glib:bin" ,glib "bin")
4327 ("pkg-config" ,pkg-config)))
4328 (home-page "https://launchpad.net/gnome-themes-standard")
4329 (synopsis "Default GNOME 3 themes")
4331 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4332 (license license:lgpl2.1+)))
4334 (define-public seahorse
4341 (uri (string-append "mirror://gnome/sources/" name "/"
4342 (version-major+minor version) "/" name "-"
4345 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4346 (build-system meson-build-system)
4350 (modify-phases %standard-phases
4351 (add-after 'unpack 'skip-gtk-update-icon-cache
4352 ;; Don't create 'icon-theme.cache'.
4354 (substitute* "build-aux/meson_post_install.py"
4355 (("gtk-update-icon-cache") "true"))
4362 ("openldap" ,openldap)
4363 ("openssh" ,openssh)
4365 ("libhandy" ,libhandy-0.0)
4366 ("libpwquality" ,libpwquality)
4367 ("libsecret" ,libsecret)
4368 ("libsoup" ,libsoup)))
4370 `(("gettext" ,gettext-minimal)
4371 ("glib:bin" ,glib "bin")
4372 ("itstool" ,itstool)
4373 ("pkg-config" ,pkg-config)
4375 ("xmllint" ,libxml2)))
4376 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4377 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4379 "Seahorse is a GNOME application for managing encryption keys and
4380 passwords in the GNOME keyring.")
4381 (license license:gpl2+)))
4389 (uri (string-append "mirror://gnome/sources/" name "/"
4390 (version-major+minor version) "/"
4391 name "-" version ".tar.xz"))
4394 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4395 (build-system gnu-build-system)
4398 (modify-phases %standard-phases
4399 (add-before 'check 'pre-check
4402 (substitute* "valadoc/tests/testrunner.sh"
4403 (("export PKG_CONFIG_PATH=" m)
4404 (string-append m "$PKG_CONFIG_PATH:")))
4405 ;; For missing '/etc/machine-id'.
4406 (setenv "DBUS_FATAL_WARNINGS" "0")
4409 `(("pkg-config" ,pkg-config)
4412 ("xsltproc" ,libxslt)
4413 ("dbus" ,dbus) ; for dbus tests
4414 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4416 `(("graphviz" ,graphviz)))
4418 `(("glib" ,glib))) ; required by libvala-0.40.pc
4419 (home-page "https://wiki.gnome.org/Projects/Vala/")
4420 (synopsis "Compiler for the GObject type system")
4422 "Vala is a programming language that aims to bring modern programming
4423 language features to GNOME developers without imposing any additional runtime
4424 requirements and without using a different ABI compared to applications and
4425 libraries written in C.")
4426 (license license:lgpl2.1+)))
4428 (define-public vala-0.50
4434 (uri (string-append "mirror://gnome/sources/vala/"
4435 (version-major+minor version) "/"
4436 "vala-" version ".tar.xz"))
4439 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4447 (uri (string-append "mirror://gnome/sources/vte/"
4448 (version-major+minor version) "/"
4449 "vte-" version ".tar.xz"))
4452 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4453 (build-system meson-build-system)
4457 "-D_systemd=false")))
4459 `(("pkg-config" ,pkg-config)
4460 ("gettext" ,gettext-minimal)
4462 ("gobject-introspection" ,gobject-introspection)
4463 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4465 ("xmllint" ,libxml2)))
4467 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4468 ("gnutls" ,gnutls) ; ditto
4469 ("pcre2" ,pcre2))) ; ditto
4470 (home-page "https://www.gnome.org/")
4471 (synopsis "Virtual Terminal Emulator")
4473 "VTE is a library (libvte) implementing a terminal emulator widget for
4474 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4475 gnome-terminal, but can also be used to embed a console/terminal in games,
4476 editors, IDEs, etc.")
4477 (license license:lgpl2.1+)))
4479 (define-public vte-ng
4483 (version "0.58.2.a")
4484 (home-page "https://github.com/thestinger/vte-ng")
4487 (uri (git-reference (url home-page) (commit version)))
4488 (file-name (git-file-name name version))
4491 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4492 (build-system meson-build-system)
4494 `(("gtk-doc" ,gtk-doc/stable)
4495 ,@(package-native-inputs vte)))
4497 `(#:configure-flags '("-Ddocs=true")))
4498 (synopsis "Enhanced VTE terminal widget")
4500 "VTE is a library (libvte) implementing a terminal emulator widget for
4501 GTK+, this fork provides additional functions exposed for keyboard text
4502 selection and URL hints.")))
4504 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4505 (define-public vte/gtk+-2
4506 (package (inherit vte)
4511 (uri (string-append "mirror://gnome/sources/" name "/"
4512 (version-major+minor version) "/"
4513 name "-" version ".tar.xz"))
4516 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4517 (patches (search-patches
4518 "vte-CVE-2012-2738-pt1.patch"
4519 "vte-CVE-2012-2738-pt2.patch"))))
4520 (build-system gnu-build-system)
4522 '(#:configure-flags '("--disable-python")))
4524 `(("pkg-config" ,pkg-config)
4525 ("intltool" ,intltool)
4526 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4528 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4529 ("ncurses" ,ncurses))))) ; required by libvte.la
4531 (define-public vinagre
4537 (uri (string-append "mirror://gnome/sources/" name "/"
4538 (version-major+minor version) "/"
4539 name "-" version ".tar.xz"))
4540 (patches (search-patches "vinagre-newer-freerdp.patch"
4541 "vinagre-newer-rdp-parameters.patch"))
4544 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4545 (build-system glib-or-gtk-build-system)
4547 ;; Disable -Werror and such, to avoid build failures on compilation
4549 '(#:configure-flags '("--enable-compile-warnings=minimum")
4551 (modify-phases %standard-phases
4552 (add-before 'install 'skip-gtk-update-icon-cache
4554 ;; Don't create 'icon-theme.cache'
4555 (substitute* (find-files "." "^Makefile$")
4556 (("gtk-update-icon-cache") (which "true")))
4558 (add-after 'unpack 'patch-configure
4560 (substitute* "configure"
4561 (("freerdp") "freerdp2"))
4564 `(("pkg-config" ,pkg-config)
4565 ("intltool" ,intltool)
4566 ("itstool" ,itstool)
4567 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4569 `(("libxml2" ,libxml2)
4570 ("gtk-vnc" ,gtk-vnc)
4571 ("gnome-keyring" ,gnome-keyring)
4572 ("libsecret" ,libsecret)
4573 ("freerdp" ,freerdp)
4575 ("spice-gtk" ,spice-gtk)
4576 ("telepathy-glib" ,telepathy-glib)
4578 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4579 (synopsis "Remote desktop viewer for GNOME")
4580 (description "Vinagre is a remote display client supporting the VNC, SPICE
4581 and RDP protocols.")
4582 (license license:gpl3+)))
4584 (define-public dconf
4591 "mirror://gnome/sources/" name "/"
4592 (version-major+minor version) "/"
4593 name "-" version ".tar.xz"))
4596 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4597 (build-system meson-build-system)
4599 ;; In Requires of dconf.pc.
4605 `(("bash-completion" ,bash-completion)
4606 ("libxslt" ,libxslt) ;for xsltproc
4607 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4608 ("docbook-xml" ,docbook-xml-4.2)
4609 ("docbook-xsl" ,docbook-xsl)
4610 ("glib:bin" ,glib "bin")
4611 ("gtk-doc" ,gtk-doc/stable)
4612 ("pkg-config" ,pkg-config)
4616 #:configure-flags '("-Denable-gtk-doc=true")
4617 #:phases (modify-phases %standard-phases
4618 (add-after 'unpack 'increase-test-timeout
4620 ;; On big-memory systems, the engine test may take
4621 ;; much longer than the default of 30 seconds.
4622 (substitute* "tests/meson.build"
4623 (("test\\(unit_test\\[0\\], exe" all)
4624 (string-append all ", timeout : 90")))
4626 (home-page "https://developer.gnome.org/dconf/")
4627 (synopsis "Low-level GNOME configuration system")
4628 (description "Dconf is a low-level configuration system. Its main purpose
4629 is to provide a backend to GSettings on platforms that don't already have
4630 configuration storage systems.")
4631 (license license:lgpl2.1+)))
4633 (define-public json-glib
4639 (uri (string-append "mirror://gnome/sources/" name "/"
4640 (version-major+minor version) "/"
4641 name "-" version ".tar.xz"))
4644 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4645 (build-system meson-build-system)
4647 `(("gettext" ,gettext-minimal)
4648 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4649 ("gobject-introspection" ,gobject-introspection)
4650 ("pkg-config" ,pkg-config)))
4652 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4653 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4654 (synopsis "Compiler for the GObject type system")
4656 "JSON-GLib is a C library based on GLib providing serialization and
4657 deserialization support for the JavaScript Object Notation (JSON) format
4658 described by RFC 4627. It provides parser and generator GObject classes and
4659 various wrappers for the complex data types employed by JSON, such as arrays
4661 (license license:lgpl2.1+)))
4663 (define-public libxklavier
4665 (name "libxklavier")
4668 ;; Note: There's no tarball at ftp.gnome.org for this version.
4671 (url "https://anongit.freedesktop.org/git/libxklavier")
4672 (commit (string-append "libxklavier-" version))))
4675 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4676 (file-name (git-file-name name version))))
4677 (build-system gnu-build-system)
4680 (list (string-append "--with-xkb-base="
4681 (assoc-ref %build-inputs "xkeyboard-config")
4683 "--disable-xmodmap-support")))
4685 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4686 ("gobject-introspection" ,gobject-introspection)
4687 ("pkg-config" ,pkg-config)
4688 ("gtk-doc" ,gtk-doc/stable)
4689 ("intltool" ,intltool)
4691 ("autoconf" ,autoconf)
4692 ("automake" ,automake)
4693 ("libtool" ,libtool)))
4695 ;; Required by libxklavier.pc.
4697 ("libxml2" ,libxml2)))
4699 `(("iso-codes" ,iso-codes)
4701 ("libxkbfile" ,libxkbfile)
4702 ("xkbcomp" ,xkbcomp)
4703 ("xkeyboard-config" ,xkeyboard-config)))
4704 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4705 (synopsis "High-level API for X Keyboard Extension")
4707 "LibXklavier is a library providing high-level API for X Keyboard
4708 Extension known as XKB. This library is intended to support XFree86 and other
4709 commercial X servers. It is useful for creating XKB-related software (layout
4711 (license license:lgpl2.0+)))
4713 (define-public python2-rsvg
4714 ;; XXX: This is actually a subset of gnome-python-desktop.
4716 (name "python2-rsvg")
4722 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4723 version ".tar.bz2"))
4726 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4727 (build-system gnu-build-system)
4729 `(("pkg-config" ,pkg-config)))
4731 `(("python" ,python-2)
4732 ("python2-pygtk" ,python2-pygtk)
4733 ("librsvg" ,librsvg)))
4734 (home-page "https://www.gnome.org")
4735 (synopsis "Python bindings to librsvg")
4737 "This package provides Python bindings to librsvg, the SVG rendering
4740 ;; This is the license of the rsvg bindings. The license of each module
4741 ;; of gnome-python-desktop is given in 'COPYING'.
4742 (license license:lgpl2.1+)))
4744 (define-public glib-networking
4746 (name "glib-networking")
4750 (uri (string-append "mirror://gnome/sources/glib-networking/"
4751 (version-major+minor version) "/"
4752 "glib-networking-" version ".tar.xz"))
4755 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4756 (build-system meson-build-system)
4758 `(#:configure-flags '("-Dlibproxy_support=false")))
4760 `(("pkg-config" ,pkg-config)
4761 ("intltool" ,intltool)))
4765 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4766 (home-page "https://www.gnome.org")
4767 (synopsis "Network-related GIO modules")
4769 "This package contains various network related extensions for the GIO
4771 (license license:lgpl2.0+)))
4779 (uri (string-append "mirror://gnome/sources/rest/"
4780 (version-major+minor version) "/"
4781 name "-" version ".tar.xz"))
4784 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4785 (build-system gnu-build-system)
4787 '(#:tests? #f ; tests require internet connection
4789 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4791 `(("glib-mkenums" ,glib "bin")
4792 ("gobject-introspection" ,gobject-introspection)
4793 ("pkg-config" ,pkg-config)))
4795 ;; rest-0.7.pc refers to all these.
4797 ("libsoup" ,libsoup)
4798 ("libxml2" ,libxml2)))
4799 (home-page "https://www.gtk.org/")
4800 (synopsis "RESTful web api query library")
4802 "This library was designed to make it easier to access web services that
4803 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4804 libxml to ease remote use of the RESTful API.")
4805 (license license:lgpl2.1+)))
4807 (define-public libsoup
4813 (uri (string-append "mirror://gnome/sources/libsoup/"
4814 (version-major+minor version) "/"
4815 "libsoup-" version ".tar.xz"))
4818 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4819 (build-system meson-build-system)
4820 (outputs '("out" "doc"))
4822 `(#:modules ((guix build utils)
4823 (guix build meson-build-system)
4826 #:configure-flags '("-Dgtk_doc=true")
4828 (modify-phases %standard-phases
4829 (add-after 'unpack 'patch-docbook-xml
4830 (lambda* (#:key inputs #:allow-other-keys)
4831 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4832 "/xml/dtd/docbook")))
4833 (substitute* (find-files "docs/reference")
4834 (("http://.*/docbookx\\.dtd")
4835 (string-append xmldoc "/docbookx.dtd")))
4837 (add-after 'unpack 'adjust-tests
4839 ;; This test fails due to missing /etc/nsswitch.conf
4840 ;; in the build environment.
4841 (substitute* "tests/socket-test.c"
4842 ((".*/sockets/unconnected.*") ""))
4844 ;; These fail because "subdomain.localhost" does not resolve in
4845 ;; the build environment.
4846 (substitute* "tests/hsts-test.c"
4847 ((".*/hsts/basic.*") "")
4848 ((".*/hsts/subdomains.*") "")
4849 ((".*/hsts/superdomain.*") "")
4850 ((".*/hsts/utf8-address.*") ""))
4851 (substitute* "tests/hsts-db-test.c"
4852 ((".*/hsts-db/subdomains.*") ""))
4854 ;; Generate a self-signed certificate that has "localhost" as its
4855 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4856 ;; 3.5.12, tests such as "ssl-tests" fail:
4858 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4860 ;; 'certtool' is interactive so we have to pipe it the answers.
4861 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4862 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4863 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4864 (for-each (lambda (line)
4869 "Guix" ;Organizational unit name
4870 "GNU" ;Organization name
4872 "" ;State or province
4874 "" ;subject's domain component (DC)
4877 "-1" ;expiration time
4878 "N" ;belong to authority?
4879 "N" ;web client certificate?
4881 "Y" ;web server certificate?
4882 "localhost" ;dnsName of subject
4883 "" ;dnsName of subject (end)
4885 "127.0.0.1" ;IP address of subject
4887 "" ;encryption (RSA)?
4888 "" ;data encryption?
4889 "" ;sign OCSP requests?
4892 "" ;email protection?
4893 "" ;URI of the CRL distribution point
4898 (add-after 'install 'move-doc
4899 (lambda* (#:key outputs #:allow-other-keys)
4900 (let ((out (assoc-ref outputs "out"))
4901 (doc (assoc-ref outputs "doc")))
4902 (mkdir-p (string-append doc "/share"))
4903 (copy-recursively (string-append out "/share/gtk-doc")
4904 (string-append doc "/share/gtk-doc"))
4905 (delete-file-recursively (string-append out "/share/gtk-doc"))
4908 `(("docbook-xml" ,docbook-xml-4.1.2)
4909 ("glib:bin" ,glib "bin") ; for glib-mkenums
4910 ("gobject-introspection" ,gobject-introspection)
4911 ("gtk-doc" ,gtk-doc/stable)
4912 ("intltool" ,intltool)
4913 ("pkg-config" ,pkg-config)
4914 ("python" ,python-wrapper)
4918 ("gnutls" ,gnutls) ;for 'certtool'
4921 ;; libsoup-2.4.pc refers to all of these (except where otherwise noted)
4922 `(("brotli" ,google-brotli)
4924 ("glib-networking" ,glib-networking) ; for GIO runtime modules
4926 ("libxml2" ,libxml2)
4930 `(("mit-krb5" ,mit-krb5)
4931 ("ntlm_auth" ,samba))) ; For ntlm_auth support
4932 (home-page "https://wiki.gnome.org/Projects/libsoup")
4933 (synopsis "GLib-based HTTP Library")
4935 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4936 and the GLib main loop, to integrate well with GNOME applications.")
4937 (license license:lgpl2.0+)))
4940 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4941 (define-public libsoup-minimal
4942 (package/inherit libsoup
4943 (name "libsoup-minimal")
4944 (outputs (delete "doc" (package-outputs libsoup)))
4946 (substitute-keyword-arguments (package-arguments libsoup)
4947 ((#:configure-flags configure-flags)
4948 `(delete "-Dgtk_doc=true" ,configure-flags))
4950 `(modify-phases ,phases
4951 (delete 'move-doc)))))
4952 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4954 (define-public libsecret
4961 "mirror://gnome/sources/libsecret/"
4962 (version-major+minor version) "/"
4963 "libsecret-" version ".tar.xz"))
4966 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4967 (build-system gnu-build-system)
4968 (outputs '("out" "doc"))
4970 `(#:tests? #f ; FIXME: Testing hangs.
4972 (list (string-append "--with-html-dir="
4973 (assoc-ref %outputs "doc")
4974 "/share/gtk-doc/html"))))
4976 `(("gettext" ,gettext-minimal)
4977 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4978 ("gobject-introspection" ,gobject-introspection)
4979 ("pkg-config" ,pkg-config)
4981 ("xsltproc" ,libxslt)))
4982 ;; These are needed for the tests.
4983 ;; FIXME: Add gjs once available.
4985 ;("python2" ,python-2)
4986 ;("python2-dbus" ,python2-dbus)
4987 ;("python2-pygobject" ,python2-pygobject)
4988 ;("python2-pygobject-2" ,python2-pygobject-2)))
4990 `(("glib" ,glib))) ; required by libsecret-1.pc
4992 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4993 ;; doesn't seem to affect the build result.
4994 `(("docbook-xsl" ,docbook-xsl)
4995 ("libgcrypt" ,libgcrypt)
4996 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4997 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4998 (synopsis "GObject bindings for \"Secret Service\" API")
5000 "Libsecret is a GObject based library for storing and retrieving passwords
5001 and other secrets. It communicates with the \"Secret Service\" using DBus.")
5002 (license license:lgpl2.1+)))
5004 (define-public five-or-more
5006 (name "five-or-more")
5011 (uri (string-append "mirror://gnome/sources/five-or-more/"
5012 (version-major+minor version) "/"
5013 "five-or-more-" version ".tar.xz"))
5015 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
5016 (build-system meson-build-system)
5020 (modify-phases %standard-phases
5021 (add-after 'unpack 'skip-gtk-update-icon-cache
5023 (substitute* "meson_post_install.py"
5024 (("gtk-update-icon-cache") (which "true")))
5027 `(("pkg-config" ,pkg-config)
5028 ("appstream-glib" ,appstream-glib)
5029 ("desktop-file-utils" ,desktop-file-utils)
5030 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5031 ("intltool" ,intltool)
5032 ("itstool" ,itstool)
5034 ("xmllint" ,libxml2)))
5037 ("libgnome-games-support" ,libgnome-games-support)
5038 ("librsvg" ,librsvg)))
5039 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5040 (synopsis "Logic puzzle game")
5041 (description "Five or More is a game where you try to align
5042 five or more objects of the same color and shape causing them to disappear.
5043 On every turn more objects will appear, until the board is full.
5044 Try to last as long as possible.")
5045 (license license:gpl2+)))
5047 (define-public gnome-mines
5049 (name "gnome-mines")
5054 (uri (string-append "mirror://gnome/sources/" name "/"
5055 (version-major+minor version) "/"
5056 name "-" version ".tar.xz"))
5058 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5059 (build-system meson-build-system)
5063 (modify-phases %standard-phases
5064 (add-after 'unpack 'skip-gtk-update-icon-cache
5066 (substitute* "build-aux/meson_post_install.py"
5067 (("gtk-update-icon-cache") (which "true")))
5070 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5071 ("pkg-config" ,pkg-config)
5072 ("desktop-file-utils" ,desktop-file-utils)
5073 ("intltool" ,intltool)
5074 ("itstool" ,itstool)
5077 ("appstream-glib" ,appstream-glib)))
5080 ("libgnome-games-support" ,libgnome-games-support)
5081 ("librsvg" ,librsvg)))
5082 (home-page "https://wiki.gnome.org/Apps/Mines")
5083 (synopsis "Minesweeper game")
5085 "Mines (previously gnomine) is a puzzle game where you locate mines
5086 floating in an ocean using only your brain and a little bit of luck.")
5087 (license license:gpl2+)))
5089 (define-public gnome-multi-writer
5091 (name "gnome-multi-writer")
5096 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5097 (version-major+minor version) "/"
5098 "gnome-multi-writer-" version ".tar.xz"))
5101 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5102 (build-system meson-build-system)
5106 (modify-phases %standard-phases
5107 (add-after 'unpack 'skip-post-install
5109 (substitute* "meson.build"
5110 (("meson.add_install_script" &) (string-append "# " &)))
5113 `(("glib:bin" ,glib "bin")
5114 ("pkg-config" ,pkg-config)))
5117 ("glib" ,glib) ; for gio
5120 ("libgudev" ,libgudev)
5121 ("libcanberra" ,libcanberra)
5122 ("polkit" ,polkit)))
5123 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5124 (synopsis "Write to multiple USB devices at once")
5126 "MultiWriter can be used to write an ISO file to multiple USB devices at
5128 (license license:gpl2+)))
5130 (define-public gnome-sudoku
5132 (name "gnome-sudoku")
5137 (uri (string-append "mirror://gnome/sources/" name "/"
5138 (version-major+minor version) "/"
5139 name "-" version ".tar.xz"))
5142 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5143 (build-system meson-build-system)
5147 (modify-phases %standard-phases
5148 (add-after 'unpack 'skip-gtk-update-icon-cache
5150 (substitute* "build-aux/post_install.py"
5151 (("gtk-update-icon-cache") (which "true")))
5154 `(("pkg-config" ,pkg-config)
5155 ("desktop-file-utils" ,desktop-file-utils)
5156 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5157 ("intltool" ,intltool)
5158 ("itstool" ,itstool)
5160 ("xmllint" ,libxml2)))
5163 ("json-glib" ,json-glib)
5165 ("librsvg" ,librsvg)
5166 ("qqwing" ,qqwing)))
5167 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5168 (synopsis "Japanese logic game")
5170 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5171 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5172 possible while still providing features that make playing difficult Sudoku
5174 (license license:gpl2+)))
5176 (define-public gnome-terminal
5178 (name "gnome-terminal")
5183 (uri (string-append "mirror://gnome/sources/" name "/"
5184 (version-major+minor version) "/"
5185 name "-" version ".tar.xz"))
5188 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5189 (build-system glib-or-gtk-build-system)
5192 (list "--disable-migration" "--disable-search-provider"
5193 "--without-nautilus-extension")
5195 (modify-phases %standard-phases
5196 (add-before 'configure 'patch-/bin/true
5198 (substitute* "configure"
5199 (("/bin/true") (which "true"))))))))
5201 `(("pkg-config" ,pkg-config)
5202 ("desktop-file-utils" ,desktop-file-utils)
5203 ("intltool" ,intltool)
5204 ("itstool" ,itstool)
5205 ("xmllint" ,libxml2)))
5207 `(("dconf" ,dconf)))
5212 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5213 ("util-linux" ,util-linux "lib")
5215 (home-page "https://wiki.gnome.org/Apps/Terminal")
5216 (synopsis "Terminal emulator")
5218 "GNOME Terminal is a terminal emulator application for accessing a
5219 UNIX shell environment which can be used to run programs available on
5222 It supports several profiles, multiple tabs and implements several
5223 keyboard shortcuts.")
5224 (license license:gpl3+)))
5226 (define-public colord
5233 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5234 "colord-" version ".tar.xz"))
5236 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5237 (build-system meson-build-system)
5239 '(;; FIXME: One test fails:
5240 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5241 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5242 ;; application/x-zerosize
5245 #:configure-flags (list "-Dlocalstatedir=/var"
5246 ;; No dep on systemd.
5248 ;; Wants to install to global completion dir;
5250 "-Dbash_completion=false"
5251 "-Ddaemon_user=colord"
5254 ;; Requires spotread.
5255 "-Dargyllcms_sensor=false"
5256 ;; TODO: Requires docbook2x.
5259 (modify-phases %standard-phases
5260 (add-before 'configure 'patch-build-system
5261 (lambda* (#:key outputs #:allow-other-keys)
5262 (substitute* "rules/meson.build"
5263 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5264 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5266 (add-before 'configure 'set-sqlite3-file-name
5267 (lambda* (#:key inputs #:allow-other-keys)
5268 ;; "colormgr dump" works by invoking the "sqlite3" command.
5269 ;; Record its absolute file name.
5270 (let ((sqlite (assoc-ref inputs "sqlite")))
5271 (substitute* "client/cd-util.c"
5273 (string-append "\"" sqlite "/bin/sqlite3\"")))
5276 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5277 ("gettext" ,gettext-minimal)
5278 ("gobject-introspection" ,gobject-introspection)
5279 ("gtk-doc" ,gtk-doc/stable)
5280 ("pkg-config" ,pkg-config)
5283 ;; colord.pc refers to all these.
5288 `(("dbus-glib" ,dbus-glib)
5290 ("libgudev" ,libgudev)
5293 ("python" ,python-wrapper)
5295 ("sane-backends" ,sane-backends)))
5296 (home-page "https://www.freedesktop.org/software/colord/")
5297 (synopsis "Color management service")
5298 (description "Colord is a system service that makes it easy to manage,
5299 install and generate color profiles to accurately color manage input and
5301 (license license:gpl2+)))
5303 (define-public geoclue
5311 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5312 version "/geoclue-" version ".tar.bz2"))
5314 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5315 (patches (search-patches "geoclue-config.patch"))))
5316 (build-system meson-build-system)
5318 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5320 `(("pkg-config" ,pkg-config)
5321 ("gobject-introspection" ,gobject-introspection)
5322 ("modem-manager" ,modem-manager)
5323 ("libnotify" ,libnotify)
5324 ("gtk-doc" ,gtk-doc/stable)
5325 ("intltool" ,intltool)))
5328 ("glib:bin" ,glib "bin")
5329 ("glib-networking" ,glib-networking)
5330 ("json-glib" ,json-glib)
5331 ("libsoup" ,libsoup)))
5332 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5333 (synopsis "Geolocation service")
5334 (description "Geoclue is a D-Bus service that provides location
5335 information. The primary goal of the Geoclue project is to make creating
5336 location-aware applications as simple as possible, while the secondary goal is
5337 to ensure that no application can access location information without explicit
5338 permission from user.")
5339 (license license:gpl2+)))
5341 (define-public geocode-glib
5343 (name "geocode-glib")
5347 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5348 (version-major+minor version) "/"
5349 "geocode-glib-" version ".tar.xz"))
5352 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5353 (build-system meson-build-system)
5356 (modify-phases %standard-phases
5357 ;; The tests require a bunch of locales.
5358 (add-before 'check 'set-locales
5359 (lambda* (#:key inputs #:allow-other-keys)
5360 (setenv "GUIX_LOCPATH"
5361 (string-append (assoc-ref inputs "glibc-locales")
5365 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5366 ("glibc-locales" ,glibc-locales) ; for tests
5367 ("gettext" ,gettext-minimal)
5368 ("gobject-introspection" ,gobject-introspection)
5369 ("gtk-doc" ,gtk-doc/stable)
5370 ("pkg-config" ,pkg-config)
5371 ("json-glib" ,json-glib)))
5373 ;; geocode-glib-1.0.pc refers to GIO.
5376 `(("libsoup" ,libsoup)))
5377 (home-page "https://github.com/GNOME/geocode-glib/")
5378 (synopsis "Geocoding and reverse-geocoding library")
5380 "geocode-glib is a convenience library for geocoding (finding longitude,
5381 and latitude from an address) and reverse geocoding (finding an address from
5382 coordinates) using the Nominatim service. geocode-glib caches requests for
5383 faster results and to avoid unnecessary server load.")
5384 (license license:lgpl2.0+)))
5386 (define-public upower
5392 (uri (string-append "https://upower.freedesktop.org/releases/"
5393 "upower-" version ".tar.xz"))
5396 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5397 (patches (search-patches "upower-builddir.patch"))
5398 (modules '((guix build utils)))
5402 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5403 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5404 ;; 'dbus-configuration-directory' in (gnu services dbus)
5405 ;; expects it in etc/. Thus, move it back to its previous
5407 (substitute* "src/Makefile.in"
5408 (("^dbusconfdir =.*$")
5409 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5411 (build-system glib-or-gtk-build-system)
5414 (modify-phases %standard-phases
5415 (add-before 'check 'pre-check
5416 (lambda* (#:key inputs #:allow-other-keys)
5417 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5419 (setenv "LD_LIBRARY_PATH" umockdev))
5421 #:configure-flags (list "--localstatedir=/var"
5422 (string-append "--with-udevrulesdir="
5423 (assoc-ref %outputs "out")
5424 "/lib/udev/rules.d"))))
5426 `(("gobject-introspection" ,gobject-introspection)
5427 ("pkg-config" ,pkg-config)
5428 ("intltool" ,intltool)
5432 ("python-dbus" ,python-dbus)
5433 ("python-dbusmock" ,python-dbusmock)
5434 ("python-pygobject" ,python-pygobject)
5435 ("umockdev" ,umockdev)
5438 ("libxslt" ,libxslt) ;for 'xsltproc'
5439 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5440 ("docbook-xsl" ,docbook-xsl)))
5442 `(("dbus-glib" ,dbus-glib)
5443 ("libgudev" ,libgudev)
5444 ("libusb" ,libusb)))
5446 ;; In Requires of upower-glib.pc.
5448 (home-page "https://upower.freedesktop.org/")
5449 (synopsis "System daemon for managing power devices")
5451 "UPower is an abstraction for enumerating power devices,
5452 listening to device events and querying history and statistics. Any
5453 application or service on the system can access the org.freedesktop.UPower
5454 service via the system message bus.")
5455 (license license:gpl2+)))
5457 (define-public libgweather
5459 (name "libgweather")
5463 (uri (string-append "mirror://gnome/sources/" name "/"
5464 (version-major+minor version) "/"
5465 name "-" version ".tar.xz"))
5468 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5469 (build-system meson-build-system)
5471 `(#:tests? #f ; one of two tests requires network access
5473 `(,(string-append "-Dzoneinfo_dir="
5474 (assoc-ref %build-inputs "tzdata")
5475 "/share/zoneinfo"))))
5477 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5478 ("gobject-introspection" ,gobject-introspection)
5479 ("pkg-config" ,pkg-config)
5481 ("intltool" ,intltool)))
5483 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5486 ("gdk-pixbuf" ,gdk-pixbuf)
5487 ("libxml2" ,libxml2)
5488 ("libsoup" ,libsoup)
5489 ("geocode-glib" ,geocode-glib)))
5491 `(("tzdata" ,tzdata)))
5492 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5493 (synopsis "Location, time zone, and weather library for GNOME")
5495 "libgweather is a library to access weather information from online
5496 services for numerous locations.")
5497 (license license:gpl2+)))
5499 (define-public gnome-settings-daemon
5501 (name "gnome-settings-daemon")
5506 (uri (string-append "mirror://gnome/sources/" name "/"
5507 (version-major+minor version) "/"
5508 name "-" version ".tar.xz"))
5511 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5512 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5513 (build-system meson-build-system)
5517 (list (string-append "-Dudev_dir="
5518 (assoc-ref %outputs "out")
5519 "/lib/udev/rules.d/")
5521 ;; Otherwise, the RUNPATH will lack the final path component.
5522 (string-append "-Dc_link_args=-Wl,-rpath="
5523 (assoc-ref %outputs "out")
5524 "/lib/gnome-settings-daemon-3.0"))
5526 #:phases (modify-phases %standard-phases
5527 (add-before 'configure 'set-baobab-file-name
5528 (lambda* (#:key inputs #:allow-other-keys)
5529 ;; Hard-code the file name of Baobab instead of looking
5530 ;; it up in $PATH. This ensures users get the "Examine"
5531 ;; button in the low disk space notification of GDM even
5532 ;; if they don't have GNOME in their main profile.
5533 (let ((baobab (assoc-ref inputs "baobab")))
5534 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5535 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5536 (string-append "g_strdup (\"" baobab
5540 ;; Color management test can't reach the colord system service.
5543 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5544 ("pkg-config" ,pkg-config)
5545 ("intltool" ,intltool)
5546 ("xsltproc" ,libxslt)
5547 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5548 ("docbook-xml" ,docbook-xml-4.2)
5549 ("docbook-xsl" ,docbook-xsl)))
5551 `(("alsa-lib" ,alsa-lib)
5554 ("libgudev" ,libgudev)
5557 ("pulseaudio" ,pulseaudio)
5558 ("libcanberra" ,libcanberra)
5560 ("libxtst" ,libxtst)
5562 ("libnotify" ,libnotify)
5563 ("geoclue" ,geoclue)
5564 ("geocode-glib" ,geocode-glib)
5565 ("libgweather" ,libgweather)
5566 ("gnome-desktop" ,gnome-desktop)
5569 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5570 ("libwacom" ,libwacom)
5571 ("librsvg" ,librsvg)
5572 ("xf86-input-wacom" ,xf86-input-wacom)
5573 ("wayland" ,wayland)
5574 ("network-manager" ,network-manager)
5576 ("modem-manager" ,modem-manager)))
5577 (home-page "https://www.gnome.org")
5578 (synopsis "GNOME settings daemon")
5580 "This package contains the daemon responsible for setting the various
5581 parameters of a GNOME session and the applications that run under it. It
5582 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5583 settings, themes, mouse settings, and startup of other daemons.")
5584 (license license:gpl2+)))
5586 (define-public totem-pl-parser
5588 (name "totem-pl-parser")
5592 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5593 (version-major+minor version) "/"
5594 "totem-pl-parser-" version ".tar.xz"))
5597 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5598 (build-system meson-build-system)
5600 ;; FIXME: Tests require gvfs.
5603 `(("intltool" ,intltool)
5604 ("glib" ,glib "bin")
5605 ("gobject-introspection" ,gobject-introspection)
5606 ("pkg-config" ,pkg-config)))
5610 ("libarchive" ,libarchive)
5611 ("libgcrypt" ,libgcrypt)
5612 ("libxml2" ,libxml2)))
5614 `(("libsoup" ,libsoup)))
5615 (home-page "https://projects.gnome.org/totem")
5616 (synopsis "Library to parse and save media playlists for GNOME")
5617 (description "Totem-pl-parser is a GObjects-based library to parse and save
5618 playlists in a variety of formats.")
5619 (license license:lgpl2.0+)))
5621 (define-public aisleriot
5627 (uri (string-append "mirror://gnome/sources/aisleriot/"
5628 (version-major+minor version) "/"
5629 "aisleriot-" version ".tar.xz"))
5632 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5633 (build-system glib-or-gtk-build-system)
5636 '("--with-platform=gtk-only"
5637 "--with-card-theme-formats=svg")))
5639 `(("desktop-file-utils" ,desktop-file-utils)
5640 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5641 ("intltool" ,intltool)
5642 ("itstool" ,itstool)
5643 ("pkg-config" ,pkg-config)
5644 ("xmllint" ,libxml2)))
5647 ("guile" ,guile-2.2)
5648 ("libcanberra" ,libcanberra)
5649 ("librsvg" ,librsvg)))
5650 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5651 (synopsis "Solitaire card games")
5653 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5654 which are easy to play with the aid of a mouse.")
5655 (license license:gpl3+)))
5663 (uri (string-append "mirror://gnome/sources/amtk/"
5664 (version-major+minor version) "/"
5665 "amtk-" version ".tar.xz"))
5668 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5669 (build-system gnu-build-system)
5671 '(#:configure-flags '("--enable-gtk-doc")))
5673 `(("gobject-introspection" ,gobject-introspection)
5674 ("glib:bin" ,glib "bin") ; for glib-mkenums
5675 ("gtk-doc" ,gtk-doc/stable)
5676 ("pkg-config" ,pkg-config)))
5680 (home-page "https://wiki.gnome.org/Projects/Amtk")
5681 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5683 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5684 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5685 both a traditional UI or a modern UI with a GtkHeaderBar.")
5686 (license license:lgpl2.1+)))
5688 (define-public devhelp
5694 (uri (string-append "mirror://gnome/sources/" name "/"
5695 (version-major+minor version) "/"
5696 name "-" version ".tar.xz"))
5699 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5700 (build-system meson-build-system)
5704 (modify-phases %standard-phases
5705 (add-after 'unpack 'skip-gtk-update-icon-cache
5706 ;; Don't create 'icon-theme.cache'.
5708 (substitute* "meson_post_install.py"
5709 (("gtk-update-icon-cache") "true"))
5712 `(("intltool" ,intltool)
5713 ("itstool" ,itstool)
5714 ("gobject-introspection" ,gobject-introspection)
5715 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5716 ("pkg-config" ,pkg-config)))
5719 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5720 ("webkitgtk" ,webkitgtk)))
5721 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5722 (synopsis "API documentation browser for GNOME")
5724 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5725 natively with GTK-Doc (the API reference system developed for GTK+ and used
5726 throughout GNOME for API documentation).")
5727 (license license:gpl2+)))
5736 (uri (string-append "mirror://gnome/sources/cogl/"
5737 (version-major+minor version) "/"
5738 "cogl-" version ".tar.xz"))
5740 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5741 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5742 ;; cogl, corresponding changes may be appropriate in mutter as well.
5743 (build-system gnu-build-system)
5745 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5746 ("gobject-introspection" ,gobject-introspection)
5747 ("xorg-server" ,xorg-server-for-tests)
5748 ("pkg-config" ,pkg-config)))
5751 ("gdk-pixbuf" ,gdk-pixbuf)
5753 ("libxext" ,libxext)
5754 ("libxfixes" ,libxfixes)
5755 ("libxdamage" ,libxdamage)
5756 ("libxcomposite" ,libxcomposite)
5757 ("libxrandr" ,libxrandr)))
5762 ("gstreamer" ,gstreamer)
5763 ("gst-plugins-base" ,gst-plugins-base)
5764 ("wayland" ,wayland)))
5766 `(#:disallowed-references (,xorg-server-for-tests)
5767 #:configure-flags (list "--enable-cogl-gst"
5768 "--enable-wayland-egl-platform"
5769 "--enable-wayland-egl-server"
5771 ;; Arrange to pass an absolute file name to
5772 ;; dlopen for libGL.so.
5773 (string-append "--with-gl-libname="
5774 (assoc-ref %build-inputs "mesa")
5777 (modify-phases %standard-phases
5778 (add-after 'unpack 'fix-build-with-mesa-20
5780 ;; Work around a problem with Mesa 20 where some macros used by
5781 ;; Cogl went missing from eglext.h. This can likely be removed
5782 ;; for newer versions of Cogl or Mesa.
5783 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5784 (substitute* '("configure"
5785 "cogl/winsys/cogl-winsys-egl-kms.c")
5786 (("#include <EGL/eglext.h>" all)
5787 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5789 (add-before 'check 'start-xorg-server
5790 (lambda* (#:key tests? inputs #:allow-other-keys)
5793 ;; The test suite requires a running X server.
5794 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5795 (assoc-ref inputs "xorg-server")))
5796 (setenv "DISPLAY" ":1")
5798 (format #t "test suite not run~%"))
5800 (home-page "https://www.cogl3d.org")
5801 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5803 "Cogl is a small library for using 3D graphics hardware to draw pretty
5804 pictures. The API departs from the flat state machine style of OpenGL and is
5805 designed to make it easy to write orthogonal components that can render
5806 without stepping on each others toes.")
5807 (license (list license:expat ; most of the code
5808 license:bsd-3 ; cogl/cogl-point-in-poly.c
5809 license:sgifreeb2.0 ; cogl-path/tesselator/
5810 license:asl2.0)))) ; examples/android/
5812 (define-public clutter
5819 (uri (string-append "mirror://gnome/sources/" name "/"
5820 (version-major+minor version) "/"
5821 name "-" version ".tar.xz"))
5824 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5825 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5826 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5827 (build-system gnu-build-system)
5829 "doc")) ;9 MiB of gtk-doc HTML pages
5831 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5832 ("gobject-introspection" ,gobject-introspection)
5833 ("pkg-config" ,pkg-config)
5834 ("xsltproc" ,libxslt)))
5840 ("json-glib" ,json-glib)
5842 ("libxcomposite" ,libxcomposite)
5843 ("libxdamage" ,libxdamage)
5844 ("libxext" ,libxext)
5845 ("xinput" ,xinput)))
5847 `(("libxkbcommon" ,libxkbcommon)
5850 `(#:configure-flags (list "--enable-x11-backend=yes"
5852 ;; This produces share/doc/{clutter,cally}.
5853 (string-append "--with-html-dir="
5854 (assoc-ref %outputs "doc")
5856 ;; XXX FIXME: Get test suite working. It would probably fail in the
5857 ;; same way the cogl tests fail, since clutter is based on cogl.
5859 (home-page "http://www.clutter-project.org")
5860 (synopsis "OpenGL-based interactive canvas library")
5862 "Clutter is an OpenGL-based interactive canvas library, designed for
5863 creating fast, mainly 2D single window applications such as media box UIs,
5864 presentations, kiosk style applications and so on.")
5865 (license license:lgpl2.0+)))
5867 (define-public clutter-gtk
5869 (name "clutter-gtk")
5874 (uri (string-append "mirror://gnome/sources/" name "/"
5875 (version-major+minor version) "/"
5876 name "-" version ".tar.xz"))
5879 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5880 (build-system gnu-build-system)
5882 `(("pkg-config" ,pkg-config)
5883 ("gobject-introspection" ,gobject-introspection)))
5885 ;; clutter-gtk.pc refers to all these.
5886 `(("clutter" ,clutter)
5888 (home-page "http://www.clutter-project.org")
5889 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5891 "Clutter is an OpenGL-based interactive canvas library, designed for
5892 creating fast, mainly 2D single window applications such as media box UIs,
5893 presentations, kiosk style applications and so on.")
5894 (license license:lgpl2.0+)))
5896 (define-public clutter-gst
5898 (name "clutter-gst")
5903 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5904 (version-major+minor version) "/"
5905 "clutter-gst-" version ".tar.xz"))
5907 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5908 (build-system gnu-build-system)
5910 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5911 ("pkg-config" ,pkg-config)
5912 ("gobject-introspection" ,gobject-introspection)))
5914 `(("clutter" ,clutter)
5915 ("gstreamer" ,gstreamer)
5916 ("gst-plugins-base" ,gst-plugins-base)))
5917 (home-page "http://www.clutter-project.org")
5918 (synopsis "Integration library for using GStreamer with Clutter")
5920 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5921 It provides a GStreamer sink to upload frames to GL and an actor that
5922 implements the ClutterGstPlayer interface using playbin. Clutter is an
5923 OpenGL-based interactive canvas library.")
5924 (license license:lgpl2.0+)))
5926 (define-public libchamplain
5928 (name "libchamplain")
5933 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5937 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5938 (build-system gnu-build-system)
5939 (arguments '(#:configure-flags '("--enable-vala")))
5941 `(("gobject-introspection" ,gobject-introspection)
5942 ("pkg-config" ,pkg-config)
5945 `(("libsoup" ,libsoup)
5947 ("clutter" ,clutter)
5948 ("clutter-gtk" ,clutter-gtk)
5949 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5953 (home-page "https://projects.gnome.org/libchamplain/")
5954 (synopsis "C library providing a ClutterActor to display maps")
5956 "libchamplain is a C library providing a ClutterActor to display maps.
5957 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5958 and Perl bindings are also available. It supports numerous free map sources
5959 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5960 (license license:lgpl2.1+)))
5969 (uri (string-append "mirror://gnome/sources/gom/"
5970 (version-major+minor version) "/"
5971 "gom-" version ".tar.xz"))
5974 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5975 (build-system gnu-build-system)
5977 `(("intltool" ,intltool)
5978 ("pkg-config" ,pkg-config)
5979 ("gobject-introspection" ,gobject-introspection)))
5982 ("gdk-pixbuf" ,gdk-pixbuf)
5983 ("sqlite" ,sqlite)))
5984 ;; XXX TODO: Figure out how to run the test suite.
5985 (arguments `(#:tests? #f))
5986 (home-page "https://wiki.gnome.org/Projects/Gom")
5987 (synopsis "Object mapper from GObjects to SQLite")
5989 "Gom provides an object mapper from GObjects to SQLite. It helps you
5990 write applications that need to store structured data as well as make complex
5991 queries upon that data.")
5992 (license license:lgpl2.1+)))
5994 (define-public libgnome-games-support
5996 (name "libgnome-games-support")
6000 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6001 (version-major+minor version) "/"
6002 "libgnome-games-support-" version ".tar.xz"))
6005 "11g1r3ppb9v8m3anks9gxf7fv1x38vmjiya3lr7zjjv328pb69d6"))))
6006 (build-system meson-build-system)
6010 (modify-phases %standard-phases
6011 (add-before 'check 'pre-check
6013 ;; Tests require a writable HOME.
6014 (setenv "HOME" (getcwd))
6017 `(("intltool" ,intltool)
6018 ("pkg-config" ,pkg-config)
6021 ;; Required by libgnome-games-support-1.0.pc
6023 ("libgee" ,libgee)))
6024 (home-page "https://www.gnome.org/")
6025 (synopsis "Useful functionality shared among GNOME games")
6027 "libgnome-games-support is a small library intended for internal use by
6028 GNOME Games, but it may be used by others.")
6029 (license license:lgpl3+)))
6031 (define-public gnome-klotski
6033 (name "gnome-klotski")
6037 (uri (string-append "mirror://gnome/sources/" name "/"
6038 (version-major+minor version) "/"
6039 name "-" version ".tar.xz"))
6042 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
6043 (build-system meson-build-system)
6047 (modify-phases %standard-phases
6048 (add-after 'unpack 'skip-gtk-update-icon-cache
6049 ;; Don't create 'icon-theme.cache'.
6051 (substitute* "build-aux/meson_post_install.py"
6052 (("gtk-update-icon-cache") (which "true")))
6055 `(("desktop-file-utils" ,desktop-file-utils)
6056 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6057 ("intltool" ,intltool)
6058 ("itstool" ,itstool)
6059 ("pkg-config" ,pkg-config)
6061 ("xmllint" ,libxml2)))
6064 ("libgnome-games-support" ,libgnome-games-support)
6065 ("librsvg" ,librsvg)))
6066 (home-page "https://wiki.gnome.org/Apps/Klotski")
6067 (synopsis "Sliding block puzzles")
6069 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6070 the patterned block to the area bordered by green markers. To do so, you will
6071 need to slide other blocks out of the way. Complete each puzzle in as few moves
6073 (license license:gpl2+)))
6075 (define-public grilo
6082 (uri (string-append "mirror://gnome/sources/grilo/"
6083 (version-major+minor version) "/"
6084 "grilo-" version ".tar.xz"))
6086 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6087 (build-system meson-build-system)
6089 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6090 ("intltool" ,intltool)
6091 ("pkg-config" ,pkg-config)
6092 ("gobject-introspection" ,gobject-introspection)
6093 ("gtk-doc" ,gtk-doc/stable)
6096 `(("cyrus-sasl" ,cyrus-sasl)
6099 ("libxml2" ,libxml2)
6100 ("liboauth" ,liboauth)
6101 ("libsoup" ,libsoup)
6102 ("totem-pl-parser" ,totem-pl-parser)))
6103 (native-search-paths
6104 (list (search-path-specification
6105 (variable "GRL_PLUGIN_PATH")
6106 (files (list (string-append "lib/grilo-"
6107 (version-major+minor version)))))))
6108 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6109 (synopsis "Framework for discovering and browsing media")
6111 "Grilo is a framework focused on making media discovery and browsing easy
6112 for application developers.")
6113 (license license:lgpl2.1+)))
6115 (define-public grilo-plugins
6117 (name "grilo-plugins")
6122 (uri (string-append "mirror://gnome/sources/" name "/"
6123 (version-major+minor version) "/"
6124 name "-" version ".tar.xz"))
6126 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6127 (build-system meson-build-system)
6129 `(("gettext" ,gettext-minimal)
6130 ("glib:bin" ,glib "bin")
6131 ("gtk+:bin" ,gtk+ "bin")
6132 ("itstool" ,itstool)
6133 ("pkg-config" ,pkg-config)))
6134 ;; TODO: ahavi, gstreamer
6137 ;("gmime" ,gmime) ; unused
6138 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6140 ;("gssdp" ,gssdp) ; unused
6141 ;("gupnp" ,gupnp) ; unused
6142 ;("gupnp-av" ,gupnp-av) ; unused
6143 ("json-glib" ,json-glib)
6145 ("libgdata" ,libgdata)
6146 ("libmediaart" ,libmediaart)
6147 ;("librest" ,rest) ; unused
6148 ("libsoup" ,libsoup)
6149 ("totam-pl-parser" ,totem-pl-parser)
6150 ("tracker" ,tracker))) ; unused because it's too old
6153 ;;Disable lua-factory as it needs missing dependencies
6154 #:configure-flags '("-Denable-lua-factory=no")))
6155 (home-page "https://live.gnome.org/Grilo")
6156 (synopsis "Plugins for the Grilo media discovery library")
6158 "Grilo is a framework focused on making media discovery and browsing easy
6159 for application developers. This package provides plugins for common media
6160 discovery protocols.")
6161 (license license:lgpl2.1+)))
6163 (define-public totem
6170 (uri (string-append "mirror://gnome/sources/totem/"
6171 (version-major+minor version) "/"
6172 "totem-" version ".tar.xz"))
6175 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6176 (build-system meson-build-system)
6178 `(("pkg-config" ,pkg-config)
6179 ("desktop-file-utils" ,desktop-file-utils)
6180 ("gettext" ,gettext-minimal)
6181 ("gobject-introspection" ,gobject-introspection)
6182 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6183 ("itstool" ,itstool)
6184 ("xmllint" ,libxml2)
6185 ("xorg-server" ,xorg-server-for-tests)))
6187 `(("dconf" ,dconf)))
6190 ("gdk-pixbuf" ,gdk-pixbuf)
6193 ("dbus-glib" ,dbus-glib)
6194 ("clutter" ,clutter)
6195 ("clutter-gtk" ,clutter-gtk)
6196 ("clutter-gst" ,clutter-gst)
6197 ("xorgproto" ,xorgproto)
6198 ("libxxf86vm" ,libxxf86vm)
6199 ("libxtst" ,libxtst)
6200 ("libxrandr" ,libxrandr)
6201 ("libxml2" ,libxml2)
6202 ("libsoup" ,libsoup)
6203 ("libpeas" ,libpeas)
6204 ("librsvg" ,librsvg)
6206 ("gnome-desktop" ,gnome-desktop)
6207 ("gstreamer" ,gstreamer)
6208 ("gst-plugins-base" ,gst-plugins-base)
6209 ("gst-plugins-good" ,gst-plugins-good)
6210 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6211 ("adwaita-icon-theme" ,adwaita-icon-theme)
6213 ("python-pygobject" ,python-pygobject)
6214 ("totem-pl-parser" ,totem-pl-parser)
6216 ("grilo-plugins" ,grilo-plugins)
6221 ;; Disable automatic GStreamer plugin installation via PackageKit and
6223 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6225 ;; Do not build .a files for the plugins, it's
6226 ;; completely useless. This saves 2 MiB.
6227 "--default-library" "shared")
6229 (modify-phases %standard-phases
6230 (add-after 'unpack 'skip-gtk-update-icon-cache
6231 ;; Don't create 'icon-theme.cache'.
6233 (substitute* "meson_post_install.py"
6234 (("gtk-update-icon-cache") "true"))
6236 (add-after 'unpack 'patch-failing-test
6238 ;; Work around test failure with GStreamer 1.18, because the test
6239 ;; relies on "und" not being mapped to a particular language:
6240 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6241 (substitute* "src/test-totem.c"
6242 (("und") "nosuchlang"))
6245 'install 'disable-cache-generation
6247 (setenv "DESTDIR" "/")
6252 ;; Tests require a running X server.
6253 (system "Xvfb :1 &")
6254 (setenv "DISPLAY" ":1")
6257 'install 'wrap-totem
6258 (lambda* (#:key inputs outputs #:allow-other-keys)
6259 (let ((out (assoc-ref outputs "out"))
6260 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6261 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6262 (wrap-program (string-append out "/bin/totem")
6263 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6264 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6265 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6266 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6268 (home-page "https://wiki.gnome.org/Apps/Videos")
6269 (synopsis "Simple media player for GNOME based on GStreamer")
6270 (description "Totem is a simple yet featureful media player for GNOME
6271 which can read a large number of file formats.")
6272 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6273 ;; to be used and distributed together with GStreamer and Totem. See
6274 ;; file://COPYING in the source distribution for details.
6275 (license license:gpl2+)))
6277 (define-public rhythmbox
6283 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6284 (version-major+minor version) "/"
6285 "rhythmbox-" version ".tar.xz"))
6288 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6289 (build-system glib-or-gtk-build-system)
6292 (list "--enable-lirc"
6299 (modify-phases %standard-phases
6301 'install 'wrap-rhythmbox
6302 (lambda* (#:key inputs outputs #:allow-other-keys)
6303 (let ((out (assoc-ref outputs "out"))
6304 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6305 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6306 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6307 (python-path (getenv "PYTHONPATH")))
6308 (wrap-program (string-append out "/bin/rhythmbox")
6309 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6310 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6311 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6312 `("PYTHONPATH" ":" prefix (,python-path))))
6315 `(("dconf" ,dconf)))
6317 `(("itstool" ,itstool)
6318 ("intltool" ,intltool)
6319 ("glib" ,glib "bin")
6320 ("gobject-introspection" ,gobject-introspection)
6321 ("desktop-file-utils" ,desktop-file-utils)
6322 ("pkg-config" ,pkg-config)
6323 ("xmllint" ,libxml2)))
6325 `(("json-glib" ,json-glib)
6327 ("gnome-desktop" ,gnome-desktop)
6329 ("python-pygobject" ,python2-pygobject)
6332 ("adwaita-icon-theme" ,adwaita-icon-theme)
6334 ("grilo-plugins" ,grilo-plugins)
6335 ("gstreamer" ,gstreamer)
6336 ("gst-plugins-base" ,gst-plugins-base)
6337 ("gst-plugins-good" ,gst-plugins-good)
6338 ("totem-pl-parser" ,totem-pl-parser)
6339 ("libgudev" ,libgudev)
6340 ;;("libmtp" ,libmtp) FIXME: Not detected
6341 ("libsecret" ,libsecret)
6342 ("libsoup" ,libsoup)
6343 ("libnotify" ,libnotify)
6344 ("libpeas" ,libpeas)
6346 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6347 ;;("clutter" ,clutter)
6348 ;;("clutter-gtk" ,clutter-gtk)
6349 ;;("clutter-gst" ,clutter-gst)
6350 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6357 ("brasero" ,brasero)))
6358 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6359 (synopsis "Music player for GNOME")
6360 (description "Rhythmbox is a music playing application for GNOME. It
6361 supports playlists, song ratings, and any codecs installed through gstreamer.")
6362 (license license:gpl2+)))
6370 (uri (string-append "mirror://gnome/sources/" name "/"
6371 (version-major+minor version) "/"
6372 name "-" version ".tar.xz"))
6375 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6376 (build-system meson-build-system)
6379 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6380 (list (string-append "-Dc_link_args=-Wl,-rpath="
6381 (assoc-ref %outputs "out") "/lib/eog"))
6383 (modify-phases %standard-phases
6384 (add-after 'unpack 'skip-gtk-update-icon-cache
6385 ;; Don't create 'icon-theme.cache'.
6387 (substitute* "meson_post_install.py"
6388 (("gtk-update-icon-cache") "true"))
6390 (add-after 'install 'wrap-eog
6391 (lambda* (#:key outputs #:allow-other-keys)
6392 (let ((out (assoc-ref outputs "out"))
6393 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6394 (wrap-program (string-append out "/bin/eog")
6395 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6398 `(("dconf" ,dconf)))
6400 `(("intltool" ,intltool)
6401 ("itstool" ,itstool)
6402 ("glib" ,glib "bin")
6403 ("gobject-introspection" ,gobject-introspection)
6404 ("pkg-config" ,pkg-config)
6405 ("xmllint" ,libxml2)))
6407 `(("gnome-desktop" ,gnome-desktop)
6408 ("shared-mime-info" ,shared-mime-info)
6409 ("adwaita-icon-theme" ,adwaita-icon-theme)
6412 ("libexif" ,libexif)
6413 ("libpeas" ,libpeas)
6414 ("libjpeg" ,libjpeg-turbo)
6415 ("librsvg" ,librsvg-next)
6416 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6418 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6419 (synopsis "GNOME image viewer")
6420 (description "Eye of GNOME is the GNOME image viewer. It
6421 supports image conversion, rotation, and slideshows.")
6422 (license license:gpl2+)))
6424 (define-public eog-plugins
6425 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6426 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6427 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6428 ;; 'XDG_DATA_DIRS' appropriately set.
6430 (name "eog-plugins")
6434 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6435 (version-major+minor version) "/"
6436 "eog-plugins-" version ".tar.xz"))
6439 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6440 (build-system gnu-build-system)
6441 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6442 (synopsis "Extensions for the Eye of GNOME image viewer")
6444 `(("pkg-config" ,pkg-config)
6445 ("gettext" ,gettext-minimal)))
6450 ("libpeas" ,libpeas)
6451 ("libexif" ,libexif)
6452 ("libchamplain" ,libchamplain)))
6454 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6458 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6459 @item @dfn{Map}, which displays a map of where the picture was taken on the
6461 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6464 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6465 ;; long suspicious byte stream that goes to a
6466 ;; ".gresource.eog_postasa_plugin" ELF section.
6467 (license license:gpl2+)))
6469 (define-public libgudev
6475 (uri (string-append "mirror://gnome/sources/" name "/"
6476 version "/" name "-" version ".tar.xz"))
6479 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6480 (build-system gnu-build-system)
6483 ;; umockdev depends on libgudev.
6484 (list "--disable-umockdev")))
6486 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6487 ("gobject-introspection" ,gobject-introspection)
6488 ("pkg-config" ,pkg-config)))
6490 `(("glib" ,glib))) ; required by gudev-1.0.pc
6493 (home-page "https://wiki.gnome.org/Projects/libgudev")
6494 (synopsis "GObject bindings for libudev")
6496 "This library provides GObject bindings for libudev. It was originally
6497 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6498 (license license:lgpl2.1+)))
6506 (uri (string-append "mirror://gnome/sources/gvfs/"
6507 (version-major+minor version) "/"
6508 "gvfs-" version ".tar.xz"))
6511 "07lpcfric3h0302n9b1pwa38mjb76r9s98kg2867y2d1qvzfivxx"))
6512 ;; This patch may be removed when upgrading to version 1.46.x.
6514 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6515 (build-system meson-build-system)
6519 (list "-Dsystemduserunitdir=no"
6521 ;; Otherwise, the RUNPATH will lack the final path component.
6522 (string-append "-Dc_link_args=-Wl,-rpath="
6523 (assoc-ref %outputs "out") "/lib/gvfs"))))
6525 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6526 ("gettext" ,gettext-minimal)
6527 ("gtk-doc" ,gtk-doc/stable)
6528 ("pkg-config" ,pkg-config)
6529 ("xsltproc" ,libxslt)))
6532 ("docbook-xml" ,docbook-xml-4.2)
6533 ("docbook-xsl" ,docbook-xsl)
6535 ("elogind" ,elogind)
6539 ("gnome-online-accounts" ,gnome-online-accounts)
6540 ("libarchive" ,libarchive)
6541 ("libbluray" ,libbluray)
6543 ("libcdio-paranoia" ,libcdio-paranoia)
6544 ("libgcrypt" ,libgcrypt)
6545 ("libgdata" ,libgdata)
6546 ("libgphoto2" ,libgphoto2)
6547 ("libgudev" ,libgudev)
6548 ("libimobiledevice" ,libimobiledevice)
6551 ("libsecret" ,libsecret)
6552 ("libsmbclient" ,samba)
6553 ("libsoup" ,libsoup)
6554 ("libxml2" ,libxml2)
6555 ("openssh" ,openssh)
6557 ("udisks" ,udisks)))
6558 ;; CVE-2019-{12447,12448,12449} are fixed in the 1.40.2 release.
6559 (properties '((lint-hidden-cve . ("CVE-2019-12447"
6561 "CVE-2019-12449"))))
6562 (home-page "https://wiki.gnome.org/gvfs/")
6563 (synopsis "Userspace virtual file system for GIO")
6565 "GVFS is a userspace virtual file system designed to work with the I/O
6566 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6567 to all applications using the GIO API. It also supports exposing the GVFS
6568 mounts to non-GIO applications using FUSE.
6570 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6572 (license license:lgpl2.0+)))
6581 (url "https://github.com/hughsie/libgusb")
6583 (file-name (git-file-name name version))
6586 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6587 (build-system meson-build-system)
6589 `(("gobject-introspection" ,gobject-introspection)
6590 ("pkg-config" ,pkg-config)
6592 ("gtk-doc" ,gtk-doc/stable)))
6594 ;; Both of these are required by gusb.pc.
6596 ("libusb" ,libusb)))
6598 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6599 (home-page "https://github.com/hughsie/libgusb")
6600 (synopsis "GLib binding for libusb1")
6602 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6603 asynchronous control, bulk and interrupt transfers with proper cancellation
6604 and integration into a mainloop. This makes it easy to integrate low level
6605 USB transfers with your high-level application or system daemon.")
6606 (license license:lgpl2.1+)))
6608 (define-public simple-scan
6610 (name "simple-scan")
6615 (uri (string-append "mirror://gnome/sources/simple-scan/"
6616 (version-major+minor version) "/"
6617 "simple-scan-" version ".tar.xz"))
6619 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6620 (build-system meson-build-system)
6621 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6623 '(#:glib-or-gtk? #t))
6629 ("gdk-pixbuf" ,gdk-pixbuf)
6631 ("libsane" ,sane-backends)))
6633 `(("gettext" ,gettext-minimal)
6634 ("itstool" ,itstool)
6635 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6636 ("pkg-config" ,pkg-config)
6638 ("xmllint" ,libxml2)))
6639 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6640 (synopsis "Document and image scanner")
6642 "Document Scanner is an easy-to-use application that lets you connect your
6643 scanner and quickly capture images and documents in an appropriate format. It
6644 supports any scanner for which a suitable SANE driver is available, which is
6645 almost all of them.")
6646 (license license:gpl3+)))
6648 (define-public eolie
6654 (uri (string-append "https://adishatz.org/eolie/eolie-"
6658 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6659 (build-system meson-build-system)
6663 (modify-phases %standard-phases
6664 (add-after 'unpack 'skip-gtk-update-icon-cache
6665 ;; Don't create 'icon-theme.cache'.
6667 (substitute* "meson_post_install.py"
6668 (("gtk-update-icon-cache") "true"))
6670 (add-after 'wrap 'wrap-more
6671 (lambda* (#:key inputs outputs #:allow-other-keys)
6672 (let* ((out (assoc-ref outputs "out"))
6673 ;; These libraries must be on LD_LIBRARY_PATH.
6674 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6675 "atk" "gtk+" "gsettings-desktop-schemas"
6676 "gobject-introspection"))
6679 (string-append (assoc-ref inputs lib) "/lib"))
6682 (wrap-program (string-append out "/bin/eolie")
6683 `("LD_LIBRARY_PATH" ":" prefix (,path))
6684 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6685 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6688 `(("intltool" ,intltool)
6689 ("itstool" ,itstool)
6690 ("pkg-config" ,pkg-config)
6692 ("glib:bin" ,glib "bin")))
6694 `(("gobject-introspection" ,gobject-introspection)
6695 ("glib-networking" ,glib-networking)
6698 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6699 ("python" ,python-wrapper)
6700 ("python-dateutil" ,python-dateutil)
6701 ("python-pyfxa" ,python-pyfxa)
6702 ("python-pygobject" ,python-pygobject)
6703 ("python-pycairo" ,python-pycairo)
6704 ("python-pycrypto" ,python-pycrypto)
6705 ("libhandy" ,libhandy)
6706 ("libsecret" ,libsecret)
6707 ("gtkspell3" ,gtkspell3)
6708 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6709 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
6710 ("webkitgtk" ,webkitgtk)))
6711 (home-page "https://wiki.gnome.org/Apps/Eolie")
6712 (synopsis "Web browser for GNOME")
6714 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6715 a secret password store, an adblocker, and a modern UI.")
6716 (license license:gpl3+)))
6718 (define-public epiphany
6724 (uri (string-append "mirror://gnome/sources/epiphany/"
6725 (version-major+minor version) "/"
6726 "epiphany-" version ".tar.xz"))
6729 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6731 (build-system meson-build-system)
6735 (modify-phases %standard-phases
6736 (add-after 'unpack 'skip-gtk-update-icon-cache
6737 ;; Don't create 'icon-theme.cache'.
6739 (substitute* "post_install.py"
6740 (("gtk-update-icon-cache") "true"))
6742 (add-after 'unpack 'disable-failing-tests
6744 (substitute* "tests/meson.build"
6745 ;; embed_shell fails, because webkitgtk apparently no longer supports
6746 ;; overriding the ftp schema
6747 ;; web_app_utils fails due to missing network access
6748 (("(embed_shell|web_app_utils)_test,")
6749 "find_program('sh'), args: ['-c', 'exit 77'],"))
6751 (add-before 'check 'pre-check
6753 ;; Tests require a running X server.
6754 (system "Xvfb :1 &")
6755 (setenv "DISPLAY" ":1")
6758 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6759 (list (string-append "-Dc_link_args=-Wl,-rpath="
6760 (assoc-ref %outputs "out") "/lib/epiphany"))))
6762 `(("dconf" ,dconf)))
6764 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6765 ("glib:bin" ,glib "bin") ; for glib-mkenums
6766 ("intltool" ,intltool)
6767 ("itstool" ,itstool)
6768 ("pkg-config" ,pkg-config)
6769 ("xmllint" ,libxml2)
6770 ("xorg-server" ,xorg-server-for-tests)))
6774 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6775 ("glib-networking" ,glib-networking)
6776 ("gnome-desktop" ,gnome-desktop)
6777 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6778 ("json-glib" ,json-glib)
6779 ("iso-codes" ,iso-codes)
6780 ("libdazzle" ,libdazzle)
6781 ("libnotify" ,libnotify)
6782 ("libsecret" ,libsecret)
6783 ("libxslt" ,libxslt)
6784 ("nettle" ,nettle) ; for hogweed
6786 ("webkitgtk" ,webkitgtk)))
6787 (home-page "https://wiki.gnome.org/Apps/Web")
6788 (synopsis "GNOME web browser")
6790 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6791 principles are simplicity and standards compliance.")
6792 (license license:gpl2+)))
6794 (define-public d-feet
6800 (uri (string-append "mirror://gnome/sources/" name "/"
6801 (version-major+minor version) "/"
6802 name "-" version ".tar.xz"))
6805 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6806 (build-system glib-or-gtk-build-system)
6808 '(#:out-of-source? #f ; tests need to run in the source directory.
6810 (modify-phases %standard-phases
6814 ;; The test suite requires a running X server.
6815 (system "Xvfb :1 &")
6816 (setenv "DISPLAY" ":1")
6817 ;; Don't fail on missing '/etc/machine-id'.
6818 (setenv "DBUS_FATAL_WARNINGS" "0")
6819 ;; tests.py and window.py don't meet E402:
6820 ;; E402 module level import not at top of file
6821 (substitute* "src/tests/Makefile"
6822 (("--ignore=E123") "--ignore=E123,E402"))
6825 'install 'wrap-program
6826 (lambda* (#:key outputs #:allow-other-keys)
6827 (let ((prog (string-append (assoc-ref outputs "out")
6830 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6831 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6834 `(("intltool" ,intltool)
6835 ("itstool" ,itstool)
6836 ("pkg-config" ,pkg-config)
6837 ("python-pep8" ,python-pep8)
6838 ("xmllint" ,libxml2)
6839 ("xorg-server" ,xorg-server-for-tests)))
6841 `(("gobject-introspection" ,gobject-introspection)
6843 ("python" ,python-wrapper)
6844 ("hicolor-icon-theme" ,hicolor-icon-theme)
6845 ("python-pygobject" ,python-pygobject)))
6846 (home-page "https://wiki.gnome.org/Apps/DFeet")
6847 (synopsis "D-Bus debugger")
6849 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6850 of running programs and invoke methods on those interfaces.")
6851 (license license:gpl2+)))
6853 (define-public yelp-xsl
6861 (string-append "mirror://gnome/sources/" name "/"
6862 (version-major+minor version) "/"
6863 name "-" version ".tar.xz"))
6865 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6866 (build-system gnu-build-system)
6868 `(("gettext-minimal" ,gettext-minimal)
6869 ("itstool" ,itstool)
6870 ("xmllint" ,libxml2)))
6871 (synopsis "XSL stylesheets for Yelp")
6872 (description "Yelp-XSL is a collection of programs and data files to help
6873 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6874 that can be built upon for help viewers and publishing systems. These
6875 stylesheets output JavaScript and CSS content, and reference images
6876 provided by yelp-xsl. It also redistributes copies of the jQuery and
6877 jQuery.Syntax JavaScript libraries.")
6878 (home-page "https://wiki.gnome.org/Apps/Yelp")
6894 (uri (string-append "mirror://gnome/sources/" name "/"
6895 (version-major+minor version) "/"
6896 name "-" version ".tar.xz"))
6899 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6900 (build-system glib-or-gtk-build-system)
6902 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6903 ("intltool" ,intltool)
6904 ("itstool" ,itstool)
6905 ("pkg-config" ,pkg-config)))
6907 `(("dconf" ,dconf)))
6909 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6910 ("libxslt" ,libxslt)
6912 ("webkitgtk" ,webkitgtk)
6913 ("yelp-xsl" ,yelp-xsl)))
6914 (home-page "https://wiki.gnome.org/Apps/Yelp")
6915 (synopsis "GNOME help browser")
6917 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6918 man, info, and HTML documents. It can locate documents according to the
6919 freedesktop.org help system specification.")
6920 (license license:gpl2+)))
6922 (define-public yelp-tools
6930 (string-append "mirror://gnome/sources/" name "/"
6931 (version-major+minor version) "/"
6932 name "-" version ".tar.xz"))
6934 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6935 (build-system gnu-build-system)
6937 `(("pkg-config" ,pkg-config)))
6939 `(("yelp-xsl" ,yelp-xsl)))
6941 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6942 `(("itstool" ,itstool)
6943 ("xmllint" ,libxml2)
6944 ("xsltproc" ,libxslt)))
6945 (synopsis "Yelp documentation tools")
6947 "Yelp-tools is a collection of scripts and build utilities to help create,
6948 manage, and publish documentation for Yelp and the web. Most of the heavy
6949 lifting is done by packages like yelp-xsl and itstool. This package just
6950 wraps things up in a developer-friendly way.")
6951 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6952 (license license:gpl2+)))
6954 (define-public libgee
6960 (uri (string-append "mirror://gnome/sources/libgee/"
6961 (version-major+minor version) "/"
6962 "libgee-" version ".tar.xz"))
6965 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6966 (build-system gnu-build-system)
6969 (modify-phases %standard-phases
6970 (add-after 'unpack 'fix-introspection-install-dir
6971 (lambda* (#:key outputs #:allow-other-keys)
6972 (let ((out (assoc-ref outputs "out")))
6973 (substitute* "gee/Makefile.in"
6974 (("@INTROSPECTION_GIRDIR@")
6975 (string-append out "/share/gir-1.0/"))
6976 (("@INTROSPECTION_TYPELIBDIR@")
6977 (string-append out "/lib/girepository-1.0/")))))))))
6979 `(("glib" ,glib "bin")
6980 ("pkg-config" ,pkg-config)))
6983 ("gobject-introspection" ,gobject-introspection)))
6984 (home-page "https://wiki.gnome.org/Projects/Libgee")
6985 (synopsis "GObject collection library")
6987 "Libgee is a utility library providing GObject-based interfaces and
6988 classes for commonly used data structures.")
6989 (license license:lgpl2.1+)))
6991 (define-public gexiv2
6997 (uri (string-append "mirror://gnome/sources/" name "/"
6998 (version-major+minor version) "/"
6999 name "-" version ".tar.xz"))
7002 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
7003 (build-system meson-build-system)
7006 ("glib" ,glib "bin")
7007 ("pkg-config" ,pkg-config)
7010 ;; Listed in "Requires" section of gexiv2.pc
7011 `(("exiv2" ,exiv2)))
7014 ("gobject-introspection" ,gobject-introspection)))
7015 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7016 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7018 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7019 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7020 metadata in photo and video files of various formats.")
7021 (license license:gpl2+)))
7023 (define-public shotwell
7029 (uri (string-append "mirror://gnome/sources/shotwell/"
7030 (version-major+minor version) "/"
7031 "shotwell-" version ".tar.xz"))
7034 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
7035 (build-system meson-build-system)
7039 (modify-phases %standard-phases
7040 (add-after 'unpack 'skip-gtk-update-icon-cache
7042 (substitute* "build-aux/meson/postinstall.py"
7043 (("gtk-update-icon-cache") (which "true"))
7044 (("update-desktop-database") (which "true")))
7047 `(("dconf" ,dconf)))
7049 `(("gettext" ,gettext-minimal)
7050 ("glib:bin" ,glib "bin")
7051 ("itstool" ,itstool)
7052 ("pkg-config" ,pkg-config)
7057 ("gst-plugins-base" ,gst-plugins-base)
7058 ("gstreamer" ,gstreamer)
7059 ("json-glib" ,json-glib)
7060 ("libgdata" ,libgdata)
7062 ("libgphoto2" ,libgphoto2)
7063 ("libgudev" ,libgudev)
7065 ("libsoup" ,libsoup)
7066 ("libxml2" ,libxml2)
7068 ("webkitgtk" ,webkitgtk)))
7069 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7070 (synopsis "Photo manager for GNOME 3")
7072 "Shotwell is a digital photo manager designed for the GNOME desktop
7073 environment. It allows you to import photos from disk or camera, organize
7074 them by keywords and events, view them in full-window or fullscreen mode, and
7075 share them with others via social networking and more.")
7076 (license license:lgpl2.1+)))
7078 (define-public file-roller
7080 (name "file-roller")
7084 (uri (string-append "mirror://gnome/sources/file-roller/"
7085 (version-major+minor version) "/"
7086 "file-roller-" version ".tar.xz"))
7089 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7090 (build-system meson-build-system)
7092 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7093 ("intltool" ,intltool)
7094 ("itstool" ,itstool)
7095 ("pkg-config" ,pkg-config)
7096 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7097 ("glib:bin" ,glib "bin")))
7098 ;; TODO: Add libnautilus.
7101 ("gdk-pixbuf" ,gdk-pixbuf)
7102 ("json-glib" ,json-glib)
7103 ("libarchive" ,libarchive)
7104 ("libnotify" ,libnotify)
7106 ("libxml2" ,libxml2)))
7107 (synopsis "Graphical archive manager for GNOME")
7108 (description "File Roller is an archive manager for the GNOME desktop
7109 environment that allows users to view, unpack, and create compressed archives
7110 such as gzip tarballs.")
7111 (home-page "http://fileroller.sourceforge.net/")
7112 (license license:gpl2+)))
7114 (define-public gnome-session
7116 (name "gnome-session")
7120 (uri (string-append "mirror://gnome/sources/" name "/"
7121 (version-major+minor version) "/"
7122 name "-" version ".tar.xz"))
7125 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7129 (modify-phases %standard-phases
7130 (add-before 'configure 'pre-configure
7131 (lambda* (#:key outputs #:allow-other-keys)
7132 ;; Use elogind instead of systemd.
7133 (substitute* "meson.build"
7134 (("libsystemd-login") "libelogind")
7135 (("and libsystemd_daemon_dep.found.*") ","))
7136 (substitute* "gnome-session/gsm-systemd.c"
7137 (("#include <systemd/sd-login.h>")
7138 "#include <elogind/sd-login.h>"))
7139 ;; Remove uses of the systemd daemon.
7140 (substitute* "gnome-session/gsm-autostart-app.c"
7141 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7143 (add-after 'install 'wrap-gnome-session
7144 (lambda* (#:key inputs outputs #:allow-other-keys)
7145 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7146 (let ((glib (assoc-ref inputs "glib:bin"))
7147 (out (assoc-ref outputs "out")))
7148 (wrap-program (string-append out "/bin/gnome-session")
7149 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7153 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7154 "-Dman=false" ; FIXME: disabled because of docbook validation error
7155 "-Dsystemd_journal=false")))
7156 (build-system meson-build-system)
7158 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7159 ("pkg-config" ,pkg-config)
7160 ("intltool" ,intltool)
7161 ("xsltproc" ,libxslt)
7162 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7163 ("docbook-xsl" ,docbook-xsl)
7164 ("docbook-xml" ,docbook-xml)
7167 `(("elogind" ,elogind)
7168 ("gnome-desktop" ,gnome-desktop)
7169 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7171 ("json-glib" ,json-glib)
7173 ("libxcomposite" ,libxcomposite)
7174 ("libxtst" ,libxtst)
7177 ("xtrans" ,xtrans)))
7178 (synopsis "Session manager for GNOME")
7180 "This package contains the GNOME session manager, as well as a
7181 configuration program to choose applications starting on login.")
7182 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7183 (license license:gpl2+)))
7191 (uri (string-append "mirror://gnome/sources/" name "/"
7192 (version-major+minor version) "/"
7193 name "-" version ".tar.xz"))
7196 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7197 (build-system gnu-build-system)
7200 (modify-phases %standard-phases
7204 ;; The test suite requires a running X server.
7205 (system "Xvfb :1 &")
7206 (setenv "DISPLAY" ":1")
7208 ;; For the missing /etc/machine-id.
7209 (setenv "DBUS_FATAL_WARNINGS" "0")
7211 ;; Our mozjs-38 package does not compile the required Intl API
7212 ;; support for these failing tests.
7213 (substitute* "installed-tests/js/testLocale.js"
7214 ((".*toBeDefined.*") "")
7215 ((".*expect\\(datestr\\).*") ""))
7216 (substitute* "installed-tests/scripts/testCommandLine.sh"
7221 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7222 ("pkg-config" ,pkg-config)
7223 ("xmllint" ,libxml2)
7225 ("dbus-launch" ,dbus)
7226 ("dconf" ,dconf) ; required to properly store settings
7227 ("uuidgen" ,util-linux)
7228 ("xvfb" ,xorg-server-for-tests)))
7230 ;; These are all in the Requires.private field of gjs-1.0.pc.
7232 ("gobject-introspection" ,gobject-introspection)
7233 ("mozjs" ,mozjs-60)))
7236 ("readline" ,readline)))
7237 (synopsis "Javascript bindings for GNOME")
7238 (home-page "https://live.gnome.org/Gjs")
7240 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7241 javascript engine and the GObject introspection framework.")
7242 (license license:gpl2+)))
7244 (define-public gedit
7250 (uri (string-append "mirror://gnome/sources/" name "/"
7251 (version-major+minor version) "/"
7252 name "-" version ".tar.xz"))
7255 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7256 (build-system meson-build-system)
7260 ;; Otherwise, the RUNPATH will lack the final path component.
7261 (list (string-append "-Dc_link_args=-Wl,-rpath="
7262 (assoc-ref %outputs "out") "/lib/gedit"))
7264 ;; XXX: Generated .h files are sometimes used before being built.
7265 #:parallel-build? #f
7268 (modify-phases %standard-phases
7269 (add-after 'unpack 'skip-gtk-update-icon-cache
7270 ;; Don't create 'icon-theme.cache'.
7272 (substitute* "build-aux/meson/post_install.py"
7273 (("gtk-update-icon-cache") (which "true")))
7275 (add-after 'unpack 'patch-libgd-fetch
7276 (lambda* (#:key inputs #:allow-other-keys)
7277 (let ((libgd (assoc-ref inputs "libgd")))
7278 ;; Calling git is unnecessary because libgd is fetched as a
7279 ;; native input to this package.
7280 (substitute* "meson.build"
7282 (copy-recursively libgd "subprojects/libgd")
7284 (add-after 'install 'wrap-gedit
7285 (lambda* (#:key inputs outputs #:allow-other-keys)
7286 (let ((out (assoc-ref outputs "out"))
7287 (gtksourceview (assoc-ref inputs "gtksourceview"))
7288 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7289 (python-path (getenv "PYTHONPATH")))
7290 (wrap-program (string-append out "/bin/gedit")
7292 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7293 `("PYTHONPATH" ":" prefix (,python-path))
7294 ;; For language-specs.
7295 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7299 `(("dconf" ,dconf)))
7301 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7302 ("intltool" ,intltool)
7303 ("itstool" ,itstool)
7304 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7305 ("gobject-introspection" ,gobject-introspection)
7310 (url "https://gitlab.gnome.org/GNOME/libgd")
7311 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7312 (file-name (git-file-name "libgd" version))
7314 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7315 ("pkg-config" ,pkg-config)))
7320 ("gtksourceview" ,gtksourceview)
7321 ("libpeas" ,libpeas)
7322 ("libxml2" ,libxml2)
7323 ("iso-codes" ,iso-codes)
7324 ("python-pygobject" ,python-pygobject)
7326 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7329 ("adwaita-icon-theme" ,adwaita-icon-theme)
7330 ("libsoup" ,libsoup)
7331 ("gnome-desktop" ,gnome-desktop)))
7332 (home-page "https://wiki.gnome.org/Apps/Gedit")
7333 (synopsis "GNOME text editor")
7334 (description "While aiming at simplicity and ease of use, gedit is a
7335 powerful general purpose text editor.")
7336 (license license:gpl2+)))
7338 (define-public zenity
7344 (uri (string-append "mirror://gnome/sources/zenity/"
7345 (version-major+minor version) "/"
7346 "zenity-" version ".tar.xz"))
7349 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7350 (build-system gnu-build-system)
7352 `(("gettext" ,gettext-minimal)
7353 ("itstool" ,itstool)
7354 ("pkg-config" ,pkg-config)))
7356 `(("libnotify" ,libnotify)
7357 ("webkitgtk" ,webkitgtk)))
7358 (synopsis "Display graphical dialog boxes from shell scripts")
7359 (home-page "https://www.gnome.org")
7361 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7362 to display dialog boxes from the commandline and shell scripts.")
7363 (license license:lgpl2.0+)))
7365 (define-public mutter
7371 (uri (string-append "mirror://gnome/sources/" name "/"
7372 (version-major+minor version) "/"
7373 name "-" version ".tar.xz"))
7376 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7377 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7378 ;; versions of cogl and clutter. As a result, many of the inputs,
7379 ;; propagated-inputs, and configure flags used in cogl and clutter are
7380 ;; needed here as well.
7381 (build-system meson-build-system)
7383 '(;; XXX: All mutter tests fail with the following error:
7384 ;; Settings schema 'org.gnome.mutter' is not installed
7388 ;; TODO: Enable profiler when Sysprof is packaged.
7389 (list "-Dprofiler=false"
7390 ;; Otherwise, the RUNPATH will lack the final path component.
7391 (string-append "-Dc_link_args=-Wl,-rpath="
7392 (assoc-ref %outputs "out") "/lib:"
7393 (assoc-ref %outputs "out") "/lib/mutter-5")
7395 ;; The following flags are needed for the bundled clutter
7396 (string-append "-Dxwayland_path="
7397 (assoc-ref %build-inputs "xorg-server-xwayland")
7400 ;; the remaining flags are needed for the bundled cogl
7401 (string-append "-Dopengl_libname="
7402 (assoc-ref %build-inputs "mesa")
7404 #:phases (modify-phases %standard-phases
7405 (add-after 'unpack 'fix-build-with-mesa-20
7407 ;; Mimic upstream commit a444a4c5f58ea516ad for
7408 ;; compatibility with Mesa 20. Remove for 3.36.
7409 (substitute* '("src/backends/meta-egl-ext.h"
7410 "src/backends/meta-egl.c"
7411 "src/backends/meta-egl.h")
7412 (("#include <EGL/eglext\\.h>" all)
7413 (string-append all "\n#include <EGL/eglmesaext.h>")))
7414 (substitute* "cogl/cogl/meson.build"
7415 (("#include <EGL/eglext\\.h>" all)
7416 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7419 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7420 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7421 ("gobject-introspection" ,gobject-introspection)
7422 ("intltool" ,intltool)
7423 ("pkg-config" ,pkg-config)
7424 ("xorg-server" ,xorg-server-for-tests)
7426 ("autoconf" ,autoconf)
7427 ("automake" ,automake)
7428 ("libtool" ,libtool)))
7430 `(;; libmutter.pc refers to these:
7431 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7433 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7436 ("gdk-pixbuf" ,gdk-pixbuf)
7438 ("json-glib" ,json-glib)
7439 ("libinput" ,libinput)
7441 ("libxcomposite" ,libxcomposite)
7442 ("libxdamage" ,libxdamage)
7443 ("libxext" ,libxext)
7444 ("libxfixes" ,libxfixes)
7445 ("libxkbcommon" ,libxkbcommon)
7446 ("libxrandr" ,libxrandr)
7450 ("xinput" ,xinput)))
7452 `(("elogind" ,elogind)
7453 ("gnome-desktop" ,gnome-desktop)
7454 ("gnome-settings-daemon" ,gnome-settings-daemon)
7455 ("libcanberra-gtk" ,libcanberra)
7456 ("libgudev" ,libgudev)
7459 ("libwacom" ,libwacom)
7460 ("libxkbfile" ,libxkbfile)
7461 ("libxrandr" ,libxrandr)
7462 ("libxtst" ,libxtst)
7463 ("pipewire" ,pipewire)
7464 ("startup-notification" ,startup-notification)
7465 ("upower-glib" ,upower)
7466 ("xkeyboard-config" ,xkeyboard-config)
7467 ("xorg-server-xwayland" ,xorg-server-xwayland)
7468 ("zenity" ,zenity)))
7469 (synopsis "Window and compositing manager")
7470 (home-page "https://www.gnome.org")
7472 "Mutter is a window and compositing manager that displays and manages your
7473 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7474 Clutter toolkit with solid window-management logic inherited from the Metacity
7476 (license license:gpl2+)))
7478 (define-public gnome-online-accounts
7480 (name "gnome-online-accounts")
7484 (uri (string-append "mirror://gnome/sources/" name "/"
7485 (version-major+minor version) "/"
7486 name "-" version ".tar.xz"))
7489 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7490 (outputs '("out" "lib"))
7491 (build-system glib-or-gtk-build-system)
7494 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7496 (modify-phases %standard-phases
7497 (add-before 'configure 'patch-libgoa-output
7498 (lambda* (#:key outputs #:allow-other-keys)
7499 (let ((lib (assoc-ref outputs "lib")))
7500 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7502 (("@exec_prefix@") lib)
7503 (("@libdir@") (string-append lib "/lib"))
7504 (("@includedir@") (string-append lib "/include"))
7505 (("@datadir@") (string-append lib "/share")))
7506 ;; Make sure gobject-introspection knows about the output
7507 ;; too (see <https://bugs.gnu.org/36535>).
7508 (setenv "outputs" "out lib")
7511 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7512 ("gobject-introspection" ,gobject-introspection)
7513 ("intltool" ,intltool)
7514 ("pkg-config" ,pkg-config)
7516 ("xsltproc" ,libxslt)))
7518 `(("glib" ,glib) ; required by goa-1.0.pc
7519 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7521 `(("docbook-xsl" ,docbook-xsl)
7522 ("json-glib" ,json-glib)
7523 ("libsecret" ,libsecret)
7525 ("webkitgtk" ,webkitgtk)))
7526 (synopsis "Single sign-on framework for GNOME")
7527 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7529 "GNOME Online Accounts provides interfaces so that applications and
7530 libraries in GNOME can access the user's online accounts. It has providers for
7531 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7532 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7533 (license license:lgpl2.0+)))
7535 (define-public evolution-data-server
7537 (name "evolution-data-server")
7541 (uri (string-append "mirror://gnome/sources/" name "/"
7542 (version-major+minor version) "/"
7543 name "-" version ".tar.xz"))
7544 (patches (search-patches "evolution-data-server-locales.patch"
7545 "evolution-data-server-libical-compat.patch"
7546 "evolution-data-server-CVE-2020-14928.patch"
7547 "evolution-data-server-CVE-2020-16117.patch"))
7550 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7551 (build-system cmake-build-system)
7554 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7555 (runpaths (map (lambda (s)
7556 (string-append lib "/evolution-data-server/" s))
7557 '("addressbook-backends" "calendar-backends"
7558 "camel-providers" "credential-modules"
7559 "registry-modules"))))
7560 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7561 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7562 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7563 "-DENABLE_VALA_BINDINGS=ON"
7564 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7565 (string-append lib "/evolution-data-server;")
7566 (string-join runpaths ";"))
7567 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7569 (modify-phases %standard-phases
7570 (add-after 'unpack 'disable-failing-tests
7572 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7573 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7574 (delete-file-recursively "tests/book-migration")
7575 (substitute* "tests/CMakeLists.txt"
7576 (("add_subdirectory\\(book-migration\\)") ""))
7578 (add-after 'unpack 'patch-paths
7580 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7581 "tests/libedata-book/data-test-utils.c"
7582 "tests/libedata-book/test-book-cache-utils.c"
7583 "tests/libedata-cal/test-cal-cache-utils.c")
7584 (("/bin/rm") (which "rm")))
7586 (add-before 'configure 'dont-override-rpath
7588 (substitute* "CMakeLists.txt"
7589 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7590 ;; Remove it so the configure flag is respected.
7591 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7594 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7595 ("gobject-introspection" ,gobject-introspection)
7597 ("intltool" ,intltool)
7598 ("pkg-config" ,pkg-config)
7600 ("python" ,python-wrapper)))
7602 ;; These are all in the Requires field of .pc files.
7604 ("libical" ,libical)
7605 ("libsecret" ,libsecret)
7606 ("libsoup" ,libsoup)
7608 ("sqlite" ,sqlite)))
7612 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7613 ("json-glib" ,json-glib)
7614 ("libcanberra" ,libcanberra)
7615 ("libgweather" ,libgweather)
7616 ("mit-krb5" ,mit-krb5)
7617 ("openldap" ,openldap)
7618 ("webkitgtk" ,webkitgtk)))
7619 (synopsis "Store address books and calendars")
7620 (home-page "https://wiki.gnome.org/Apps/Evolution")
7622 "This package provides a unified backend for programs that work with
7623 contacts, tasks, and calendar information. It was originally developed for
7624 Evolution (hence the name), but is now used by other packages as well.")
7625 (license license:lgpl2.0)))
7627 (define-public caribou
7633 (uri (string-append "mirror://gnome/sources/" name "/"
7634 (version-major+minor version) "/"
7635 name "-" version ".tar.xz"))
7638 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7639 (build-system glib-or-gtk-build-system)
7642 (modify-phases %standard-phases
7645 (lambda* (#:key outputs #:allow-other-keys)
7646 (let ((out (assoc-ref outputs "out")))
7647 ;; Use absolute shared library path in Caribou-1.0.typelib.
7648 (substitute* "libcaribou/Makefile"
7649 (("--shared-library=libcaribou.so")
7650 (string-append "--shared-library="
7651 out "/lib/libcaribou.so")))
7653 (add-after 'install 'wrap-programs
7654 (lambda* (#:key outputs #:allow-other-keys)
7655 (let* ((out (assoc-ref outputs "out"))
7656 (python-path (getenv "PYTHONPATH"))
7657 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7661 `("PYTHONPATH" ":" prefix (,python-path))
7662 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7663 (list (string-append out "/bin/caribou-preferences")
7664 (string-append out "/libexec/antler-keyboard"))))
7667 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7668 ("gobject-introspection" ,gobject-introspection)
7669 ("intltool" ,intltool)
7670 ("pkg-config" ,pkg-config)
7673 ("xsltproc" ,libxslt)))
7675 ;; caribou-1.0.pc refers to all these.
7676 `(("libgee" ,libgee)
7677 ("libxklavier" ,libxklavier)
7678 ("libxtst" ,libxtst)
7681 `(("clutter" ,clutter)
7684 ("python-pygobject" ,python-pygobject)))
7685 (synopsis "Text entry and UI navigation application")
7686 (home-page "https://wiki.gnome.org/Projects/Caribou")
7688 "Caribou is an input assistive technology intended for switch and pointer
7690 (license license:lgpl2.1)))
7692 (define-public network-manager
7694 (name "network-manager")
7698 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7699 (version-major+minor version) "/"
7700 "NetworkManager-" version ".tar.xz"))
7701 (patches (search-patches "network-manager-plugin-path.patch"))
7704 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7705 (modules '((guix build utils)))
7708 (substitute* "src/devices/wwan/nm-modem-manager.c"
7709 (("systemd") "elogind"))
7711 (build-system meson-build-system)
7713 "doc")) ; 8 MiB of gtk-doc HTML
7716 (let ((out (assoc-ref %outputs "out"))
7717 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7720 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7722 (string-append "-Dc_link_args=-Wl,-rpath="
7724 out "/lib/NetworkManager/" ,version)
7725 "-Dsystemd_journal=false"
7726 "-Dsession_tracking=elogind"
7727 "-Dsuspend_resume=elogind"
7728 "-Dsystemdsystemunitdir=no"
7729 "-Dsession_tracking_consolekit=false"
7738 "--localstatedir=/var"
7739 (string-append "-Dudev_dir="
7741 (string-append "-Ddbus_conf_dir="
7742 out "/etc/dbus-1/system.d")
7744 (string-append "-Ddhclient=" dhclient)))
7746 (modify-phases %standard-phases
7747 (add-before 'configure 'pre-configure
7749 ;; These tests try to test aspects of network-manager's
7750 ;; functionality within restricted containers, but they don't
7751 ;; cope with being already in the Guix build jail as that jail
7752 ;; lacks some features that they would like to proxy over (like
7754 (substitute* "src/platform/tests/meson.build"
7755 ((".*test-address-linux.*") "")
7756 ((".*test-cleanup-linux.*") "")
7757 ((".*test-link-linux.*") "")
7758 ((".*test-route-linux.*") ""))
7759 (substitute* "src/devices/tests/meson.build"
7760 ((".*test-acd.*") "")
7761 ((".*test-lldp.*") ""))
7763 (add-after 'unpack 'patch-docbook-xml
7764 (lambda* (#:key inputs #:allow-other-keys)
7765 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7766 "/xml/dtd/docbook")))
7767 (substitute* (find-files "." ".*\\.(xsl|xml)")
7768 (("http://.*/docbookx\\.dtd")
7769 (string-append xmldoc "/docbookx.dtd")))
7771 (add-before 'check 'pre-check
7773 ;; For the missing /etc/machine-id.
7774 (setenv "DBUS_FATAL_WARNINGS" "0")
7776 (add-before 'install 'no-polkit-magic
7777 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7779 (setenv "PKEXEC_UID" "something")
7781 (add-after 'install 'move-doc
7782 (lambda* (#:key outputs #:allow-other-keys)
7783 (let ((out (assoc-ref outputs "out"))
7784 (doc (assoc-ref outputs "doc")))
7785 (mkdir-p (string-append doc "/share"))
7786 (for-each (lambda (directory)
7787 (copy-recursively (string-append out directory)
7788 (string-append doc directory))
7789 (delete-file-recursively
7790 (string-append out directory)))
7791 '("/share/doc" "/share/gtk-doc"))
7796 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7797 ("gtk-doc" ,gtk-doc/stable)
7798 ("gobject-introspection" ,gobject-introspection)
7799 ("docbook-xml" ,docbook-xml)
7800 ("docbook-xsl" ,docbook-xsl)
7801 ("intltool" ,intltool)
7802 ("libxslt" ,libxslt)
7803 ("libxml2" ,libxml2)
7804 ("pkg-config" ,pkg-config)
7807 ("python" ,python-wrapper)
7808 ("python-dbus" ,python-dbus)
7809 ("python-pygobject" ,python-pygobject)))
7812 ("cyrus-sasl" ,cyrus-sasl)
7813 ("dbus-glib" ,dbus-glib)
7814 ("dnsmasq" ,dnsmasq)
7817 ("iptables" ,iptables)
7818 ("isc-dhcp" ,isc-dhcp)
7819 ("iwd" ,iwd) ; wpa_supplicant alternative
7820 ("jansson" ,jansson)
7822 ("libgcrypt" ,libgcrypt)
7823 ("libgudev" ,libgudev)
7826 ("libsoup" ,libsoup)
7827 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7828 ("modem-manager" ,modem-manager)
7829 ("newt" ,newt) ;for the 'nmtui' console interface
7830 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7833 ("readline" ,readline)
7834 ("util-linux" ,util-linux)
7835 ("elogind" ,elogind)))
7836 (synopsis "Network connection manager")
7837 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7839 "NetworkManager is a system network service that manages your network
7840 devices and connections, attempting to keep active network connectivity when
7841 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7842 devices, and provides VPN integration with a variety of different VPN
7844 ;; “This NetworkManager project consists of the daemon, client tools, and
7845 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7847 (license (list license:gpl2+
7849 (properties '((upstream-name . "NetworkManager")))))
7851 (define-public network-manager-openvpn
7853 (name "network-manager-openvpn")
7858 "mirror://gnome/sources/NetworkManager-openvpn/"
7859 (version-major+minor version)
7860 "/NetworkManager-openvpn-" version ".tar.xz"))
7863 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7864 (build-system gnu-build-system)
7866 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7868 (modify-phases %standard-phases
7869 (add-after 'configure 'patch-path
7870 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7871 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7873 (modprobe (string-append (assoc-ref inputs "kmod")
7875 (pretty-ovpn (string-append "\"" ovpn "\"")))
7879 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7880 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7881 (("\"/sbin/openvpn\"") pretty-ovpn)
7882 (("/sbin/modprobe") modprobe)))
7883 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7886 `(("pkg-config" ,pkg-config)
7887 ("intltool" ,intltool)))
7891 ("openvpn" ,openvpn)
7892 ("network-manager" ,network-manager)
7894 ("libsecret" ,libsecret)))
7895 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7896 (synopsis "OpenVPN plug-in for NetworkManager")
7898 "This extension of NetworkManager allows it to take care of connections
7899 to virtual private networks (VPNs) via OpenVPN.")
7900 (license license:gpl2+)
7901 (properties `((upstream-name . "NetworkManager-openvpn")))))
7903 (define-public network-manager-vpnc
7905 (name "network-manager-vpnc")
7910 "mirror://gnome/sources/NetworkManager-vpnc/"
7911 (version-major+minor version)
7912 "/NetworkManager-vpnc-" version ".tar.xz"))
7915 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7916 (build-system gnu-build-system)
7918 `(#:configure-flags '("--enable-absolute-paths"
7919 "--localstatedir=/var"
7920 ;; libnm-glib has been removed from network-manager
7921 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7922 "--with-libnm-glib=no")
7924 (modify-phases %standard-phases
7925 (add-after 'configure 'patch-path
7926 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7927 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7929 (modprobe (string-append (assoc-ref inputs "kmod")
7931 (pretty-ovpn (string-append "\"" vpnc "\"")))
7932 (substitute* "src/nm-vpnc-service.c"
7933 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7934 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7935 (("\"/sbin/vpnc\"") pretty-ovpn)
7936 (("/sbin/modprobe") modprobe)))
7939 `(("pkg-config" ,pkg-config)
7940 ("intltool" ,intltool)))
7945 ("network-manager" ,network-manager)
7947 ("libsecret" ,libsecret)))
7948 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7949 (synopsis "VPNC plug-in for NetworkManager")
7951 "Support for configuring virtual private networks based on VPNC.
7952 Compatible with Cisco VPN concentrators configured to use IPsec.")
7953 (license license:gpl2+)
7954 (properties `((upstream-name . "NetworkManager-vpnc")))))
7956 (define-public network-manager-openconnect
7958 (name "network-manager-openconnect")
7963 "mirror://gnome/sources/NetworkManager-openconnect/"
7964 (version-major+minor version)
7965 "/NetworkManager-openconnect-" version ".tar.xz"))
7968 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7969 (build-system gnu-build-system)
7971 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7973 (modify-phases %standard-phases
7974 (add-after 'configure 'patch-path
7975 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7976 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7977 "/sbin/openconnect"))
7978 (modprobe (string-append (assoc-ref inputs "kmod")
7980 (pretty-ovpn (string-append "\"" openconnect "\"")))
7981 (substitute* "src/nm-openconnect-service.c"
7982 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7983 (("/sbin/modprobe") modprobe)))
7986 `(("intltool" ,intltool)
7988 ("pkg-config" ,pkg-config)))
7993 ("libsecret" ,libsecret)
7994 ("libxml2" ,libxml2)
7996 ("network-manager" ,network-manager)
7997 ("openconnect" ,openconnect)))
7998 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7999 (synopsis "OpenConnect plug-in for NetworkManager")
8001 "This extension of NetworkManager allows it to take care of connections
8002 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
8003 Cisco's AnyConnect SSL VPN.")
8004 (license license:gpl2+)
8005 (properties `((upstream-name . "NetworkManager-openconnect")
8007 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8008 ;; file refers to account "nm-openconnect". Specify it here
8009 ;; so that 'network-manager-service-type' creates it.
8010 (user-accounts . ("nm-openconnect"))))))
8012 (define-public mobile-broadband-provider-info
8014 (name "mobile-broadband-provider-info")
8015 (version "20190116")
8019 "mirror://gnome/sources/"
8020 "mobile-broadband-provider-info/" version "/"
8021 "mobile-broadband-provider-info-" version ".tar.xz"))
8024 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
8025 (build-system gnu-build-system)
8027 `(#:tests? #f)) ; no tests
8028 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8029 (synopsis "Database of broadband connection configuration")
8030 (description "Database of broadband connection configuration.")
8031 (license license:public-domain)))
8033 (define-public network-manager-applet
8035 (name "network-manager-applet")
8039 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8040 (version-major+minor version) "/"
8041 "network-manager-applet-" version ".tar.xz"))
8044 "0lsjkbv66hn7acl2pg9h6hz4b700zzv4cjwrwjvy7043blw0bcla"))))
8045 (build-system meson-build-system)
8049 '("-Dappindicator=yes")))
8051 `(("intltool" ,intltool)
8052 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
8053 ("gobject-introspection" ,gobject-introspection)
8054 ("gtk-doc" ,gtk-doc/stable)
8055 ("pkg-config" ,pkg-config)))
8057 ;; libnm-gtk.pc refers to all these.
8058 `(("dbus-glib" ,dbus-glib)
8060 ("network-manager" ,network-manager)
8061 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8062 ("libnma" ,libnma)))
8065 ("libappindicator" ,libappindicator)
8066 ("libgudev" ,libgudev)
8067 ("libnotify" ,libnotify)
8068 ("libsecret" ,libsecret)
8069 ("libselinux" ,libselinux)
8070 ("jansson" ,jansson) ; for team support
8071 ("modem-manager" ,modem-manager)))
8072 (synopsis "Applet for managing network connections")
8073 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8075 "This package contains a systray applet for NetworkManager. It displays
8076 the available networks and allows users to easily switch between them.")
8077 (license license:gpl2+)))
8079 (define-public libxml++
8085 (uri (string-append "mirror://gnome/sources/" name "/"
8086 (version-major+minor version) "/"
8087 name "-" version ".tar.xz"))
8090 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8091 (build-system gnu-build-system)
8092 ;; libxml++-3.0.pc refers to all these.
8094 `(("libxml2" ,libxml2)
8095 ("glibmm" ,glibmm)))
8098 ("pkg-config" ,pkg-config)))
8099 (home-page "http://libxmlplusplus.sourceforge.net/")
8100 (synopsis "C++ wrapper for XML parser library libxml2")
8102 "This package provides a C++ wrapper for the XML parser library
8104 (license license:lgpl2.1+)))
8106 (define-public libxml++-2
8113 (uri (string-append "mirror://gnome/sources/" name "/"
8114 (version-major+minor version) "/"
8115 name "-" version ".tar.xz"))
8118 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8126 (uri (string-append "mirror://gnome/sources/" name "/"
8127 (version-major+minor version) "/"
8128 name "-" version ".tar.xz"))
8131 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8132 (patches (search-patches "gdm-default-session.patch"))))
8133 (build-system glib-or-gtk-build-system)
8136 `("--without-plymouth"
8137 "--disable-systemd-journal"
8139 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8140 ;; instead of having to replace it (i.e., stopping the mingetty
8141 ;; service for TTY 1 before starting GDM).
8142 "--with-initial-vt=7"
8144 ;; Use '/etc/environment' for locale settings instead of the
8145 ;; systemd-specific '/etc/locale.conf'.
8146 "--with-lang-file=/etc/environment"
8148 ,(string-append "--with-udevdir="
8149 (assoc-ref %outputs "out") "/lib/udev")
8151 "--localstatedir=/var"
8152 ,(string-append "--with-default-path="
8153 (string-join '("/run/setuid-programs"
8154 "/run/current-system/profile/bin"
8155 "/run/current-system/profile/sbin")
8157 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8158 ;; XDG_DATA_DIRS so that it finds its schemas.
8159 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8161 (modify-phases %standard-phases
8163 'configure 'pre-configure
8164 (lambda* (#:key inputs outputs #:allow-other-keys)
8165 ;; We don't have <systemd/sd-daemon.h>.
8166 (substitute* '("common/gdm-log.c"
8167 "daemon/gdm-server.c"
8168 "daemon/gdm-session-worker.c"
8169 "daemon/gdm-session-worker-job.c")
8170 (("#include <systemd/sd-daemon\\.h>") ""))
8171 ;; Use elogind for sd-login.
8172 (substitute* '("common/gdm-common.c"
8173 "daemon/gdm-local-display-factory.c"
8174 "daemon/gdm-manager.c"
8175 "libgdm/gdm-user-switching.c")
8176 (("#include <systemd/sd-login\\.h>")
8177 "#include <elogind/sd-login.h>"))
8178 ;; Check for elogind.
8179 (substitute* '("configure")
8182 ;; Look for system-installed sessions in
8183 ;; /run/current-system/profile/share.
8184 (substitute* '("libgdm/gdm-sessions.c"
8185 "daemon/gdm-session.c"
8186 "daemon/gdm-display.c"
8187 "daemon/gdm-launch-environment.c")
8189 "\"/run/current-system/profile/share/x")
8190 (("DATADIR \"/wayland")
8191 "\"/run/current-system/profile/share/wayland")
8192 (("DATADIR \"/gnome")
8193 "\"/run/current-system/profile/share/gnome"))
8194 (let ((propagate '("GDM_CUSTOM_CONF"
8198 ;; XXX: Remove this once GNOME Shell is
8199 ;; a dependency of GDM.
8201 (substitute* "daemon/gdm-session.c"
8202 (("set_up_session_environment \\(self\\);")
8203 (apply string-append
8204 "set_up_session_environment (self);\n"
8207 "gdm_session_set_environment_variable "
8208 "(self, \"" name "\","
8209 "g_getenv (\"" name "\"));\n"))
8211 ;; Find the configuration file using an environment variable.
8212 (substitute* '("common/gdm-settings.c")
8213 (("GDM_CUSTOM_CONF")
8214 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8215 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8216 " : GDM_CUSTOM_CONF)")))
8217 ;; Use service-supplied path to X.
8218 (substitute* '("daemon/gdm-server.c")
8219 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8220 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8221 (substitute* '("daemon/gdm-wayland-session.c"
8222 "daemon/gdm-x-session.c")
8223 (("\"dbus-daemon\"")
8224 "g_getenv (\"GDM_DBUS_DAEMON\")")
8226 "g_getenv (\"GDM_X_SERVER\")")
8227 (("GDMCONFDIR \"/Xsession\"")
8228 "g_getenv (\"GDM_X_SESSION\")"))
8229 ;; Use an absolute path for GNOME Session.
8230 (substitute* "daemon/gdm-launch-environment.c"
8231 (("\"gnome-session\"")
8232 (string-append "\"" (assoc-ref inputs "gnome-session")
8233 "/bin/gnome-session\"")))
8234 ;; Do not automatically select the placeholder session.
8235 (substitute* "daemon/gdm-session.c"
8236 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8237 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8238 "(g_strcmp0(search_dirs[i], \""
8239 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8241 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8242 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8243 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8245 ;; GDM requires that there be at least one desktop entry
8246 ;; file. This phase installs a hidden one that simply
8247 ;; fails. This enables users to use GDM with a
8248 ;; '~/.xsession' script with no other desktop entry files.
8249 ;; See <https://bugs.gnu.org/35068>.
8250 (add-after 'install 'install-placeholder-desktop-entry
8251 (lambda* (#:key inputs outputs #:allow-other-keys)
8252 (let* ((out (assoc-ref outputs "out"))
8253 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8254 (fail (string-append sessions "/fail.desktop")))
8256 (with-output-to-file fail
8260 '("[Desktop Entry]\n"
8262 "Type=Application\n"
8264 "Comment=This session fails immediately.\n"
8268 ;; GDM needs GNOME Session to run these applications. We link
8269 ;; their autostart files in `share/gdm/greeter/autostart'
8270 ;; because GDM explicitly tells GNOME Session to look there.
8272 ;; XXX: GNOME Shell should be linked here too, but currently
8273 ;; GNOME Shell depends on GDM.
8274 (add-after 'install 'link-autostart-files
8275 (lambda* (#:key inputs outputs #:allow-other-keys)
8276 (let* ((out (assoc-ref outputs "out"))
8277 (autostart (string-append out "/share/gdm/"
8278 "greeter/autostart"))
8279 (settings (assoc-ref inputs "gnome-settings-daemon")))
8281 (with-directory-excursion autostart
8282 (for-each (lambda (desktop)
8283 (symlink desktop (basename desktop)))
8284 (find-files (string-append settings "/etc/xdg"))))
8288 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8289 ("gobject-introspection" ,gobject-introspection)
8290 ("intltool" ,intltool)
8291 ("itstool" ,itstool)
8292 ("pkg-config" ,pkg-config)
8293 ("xmllint" ,libxml2)))
8295 `(("accountsservice" ,accountsservice)
8296 ("check" ,check-0.14) ;for testing
8297 ("elogind" ,elogind)
8298 ("gnome-session" ,gnome-session)
8299 ("gnome-settings-daemon" ,gnome-settings-daemon)
8301 ("iso-codes" ,iso-codes)
8302 ("libcanberra" ,libcanberra)
8303 ("linux-pam" ,linux-pam)))
8304 (synopsis "Display manager for GNOME")
8305 (home-page "https://wiki.gnome.org/Projects/GDM/")
8307 "GNOME Display Manager is a system service that is responsible for
8308 providing graphical log-ins and managing local and remote displays.")
8309 (license license:gpl2+)))
8311 (define-public libgtop
8317 (uri (string-append "mirror://gnome/sources/libgtop/"
8318 (version-major+minor version) "/"
8319 "libgtop-" version ".tar.xz"))
8322 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8323 (build-system gnu-build-system)
8325 `(("gobject-introspection" ,gobject-introspection)
8326 ("intltool" ,intltool)
8328 ("pkg-config" ,pkg-config)))
8330 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8331 (synopsis "Portable system access library")
8332 (home-page "https://www.gnome.org/")
8334 "LibGTop is a library to get system specific data such as CPU and memory
8335 usage and information about running processes.")
8336 (license license:gpl2+)))
8338 (define-public gnome-bluetooth
8340 (name "gnome-bluetooth")
8344 (uri (string-append "mirror://gnome/sources/" name "/"
8345 (version-major+minor version) "/"
8346 name "-" version ".tar.xz"))
8349 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8350 (build-system meson-build-system)
8352 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8353 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8354 ("gobject-introspection" ,gobject-introspection)
8355 ("intltool" ,intltool)
8356 ("pkg-config" ,pkg-config)
8357 ("xmllint" ,libxml2)))
8359 ;; gnome-bluetooth-1.0.pc refers to all these.
8364 ("libcanberra" ,libcanberra)
8365 ("libnotify" ,libnotify)))
8366 (synopsis "GNOME Bluetooth subsystem")
8367 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8369 "This package contains tools for managing and manipulating Bluetooth
8370 devices using the GNOME desktop.")
8371 (license license:lgpl2.1+)))
8373 (define-public gnome-control-center
8375 (name "gnome-control-center")
8379 (uri (string-append "mirror://gnome/sources/" name "/"
8380 (version-major+minor version) "/"
8381 name "-" version ".tar.xz"))
8384 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8385 (build-system meson-build-system)
8389 (list "-Dcheese=false"
8390 (string-append "-Dgnome_session_libexecdir="
8391 (assoc-ref %build-inputs "gnome-session")
8394 (modify-phases %standard-phases
8395 (add-before 'configure 'patch-paths
8396 (lambda* (#:key inputs #:allow-other-keys)
8397 (let ((libc (assoc-ref inputs "libc"))
8398 (tzdata (assoc-ref inputs "tzdata"))
8399 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8400 (nm-applet (assoc-ref inputs "network-manager-applet"))
8401 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8402 (substitute* "panels/datetime/tz.h"
8403 (("/usr/share/zoneinfo/zone.tab")
8404 (string-append tzdata "/share/zoneinfo/zone.tab")))
8405 (substitute* "tests/datetime/test-endianess.c"
8406 (("/usr/share/locale")
8407 (string-append libc "/share/locale")))
8408 (substitute* "panels/region/cc-region-panel.c"
8409 (("\"gkbd-keyboard-display")
8410 (string-append "\"" libgnomekbd
8411 "/bin/gkbd-keyboard-display")))
8412 (substitute* '("panels/network/net-device-wifi.c"
8413 "panels/network/net-device.c"
8414 "panels/network/connection-editor/net-connection-editor.c")
8415 (("\"nm-connection-editor")
8416 (string-append "\"" nm-applet
8417 "/bin/nm-connection-editor")))
8418 (substitute* '("panels/user-accounts/run-passwd.c")
8419 (("/usr/bin/passwd")
8420 "/run/setuid-programs/passwd"))
8421 (substitute* "panels/info/cc-info-overview-panel.c"
8422 (("DATADIR \"/gnome/gnome-version.xml\"")
8423 (string-append "\"" gnome-desktop
8424 "/share/gnome/gnome-version.xml\"")))
8426 (add-after 'unpack 'skip-gtk-update-icon-cache
8427 ;; Don't create 'icon-theme.cache'.
8429 (substitute* "build-aux/meson/meson_post_install.py"
8430 (("gtk-update-icon-cache") (which "true")))
8433 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8434 ("intltool" ,intltool)
8435 ("pkg-config" ,pkg-config)
8436 ("xsltproc" ,libxslt)
8438 ("hicolor-icon-theme" ,hicolor-icon-theme)
8439 ("python-dbusmock" ,python-dbusmock)
8440 ("xorg-server" ,xorg-server-for-tests)))
8442 `(("accountsservice" ,accountsservice)
8443 ("clutter-gtk" ,clutter-gtk)
8444 ("colord-gtk" ,colord-gtk)
8447 ("docbook-xsl" ,docbook-xsl)
8448 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8449 ("gnome-bluetooth" ,gnome-bluetooth)
8450 ("gnome-desktop" ,gnome-desktop)
8451 ("gnome-online-accounts" ,gnome-online-accounts)
8452 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8453 ("gnome-session" ,gnome-session)
8454 ("gnome-settings-daemon" ,gnome-settings-daemon)
8458 ("libcanberra" ,libcanberra)
8459 ("libgnomekbd" ,libgnomekbd)
8460 ("libgudev" ,libgudev)
8461 ("libgtop" ,libgtop)
8463 ("libpwquality" ,libpwquality)
8464 ("libsecret" ,libsecret)
8465 ("libsoup" ,libsoup)
8466 ("libxml2" ,libxml2)
8467 ("libwacom" ,libwacom)
8469 ("mit-krb5" ,mit-krb5)
8470 ("modem-manager" ,modem-manager)
8471 ("network-manager-applet" ,network-manager-applet)
8473 ("pulseaudio" ,pulseaudio)
8474 ("smbclient" ,samba)
8477 ("upower" ,upower)))
8478 (synopsis "Utilities to configure the GNOME desktop")
8479 (home-page "https://www.gnome.org/")
8481 "This package contains configuration applets for the GNOME desktop,
8482 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8483 properties, sound setup, desktop theme and background, user interface
8484 properties, screen resolution, and other GNOME parameters.")
8485 (license license:gpl2+)))
8487 (define-public gnome-shell
8489 (name "gnome-shell")
8493 (uri (string-append "mirror://gnome/sources/" name "/"
8494 (version-major+minor version) "/"
8495 name "-" version ".tar.xz"))
8498 "0l3mdn7g2c22mdhrqkxvvc1pk2w0v32f2v4a6n1phvaalwcg75nj"))
8499 (patches (search-patches "gnome-shell-CVE-2020-17489.patch"
8500 "gnome-shell-theme.patch"
8501 "gnome-shell-disable-test.patch"))
8502 (modules '((guix build utils)))
8505 ;; Copy images for use on the GDM log-in screen.
8506 (copy-file #$(file-append %artwork-repository
8507 "/slim/0.x/background.png")
8508 "data/theme/guix-background.png")
8509 (copy-file #$(file-append %artwork-repository
8510 "/logo/Guix-horizontal-white.svg")
8511 "data/theme/guix-logo.svg")
8513 (build-system meson-build-system)
8516 #:disallowed-references ((,glib "bin")
8520 (list "-Dsystemd=false"
8521 ;; Otherwise, the RUNPATH will lack the final path component.
8522 (string-append "-Dc_link_args=-Wl,-rpath="
8523 (assoc-ref %outputs "out")
8524 "/lib/gnome-shell"))
8526 #:modules ((guix build meson-build-system)
8531 (modify-phases %standard-phases
8532 (add-after 'unpack 'fix-keysdir
8533 (lambda* (#:key outputs #:allow-other-keys)
8534 (let* ((out (assoc-ref outputs "out"))
8535 (keysdir (string-append
8536 out "/share/gnome-control-center/keybindings")))
8537 (substitute* "meson.build"
8539 (string-append "keysdir = '" keysdir "'\n")))
8541 (add-before 'configure 'convert-logo-to-png
8542 (lambda* (#:key inputs #:allow-other-keys)
8543 ;; Convert the logo from SVG to PNG.
8544 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8545 "data/theme/guix-logo.svg")))
8546 (add-before 'configure 'record-absolute-file-names
8547 (lambda* (#:key inputs #:allow-other-keys)
8548 (substitute* "js/misc/ibusManager.js"
8550 (string-append "'" (assoc-ref inputs "ibus")
8551 "/bin/ibus-daemon'")))
8552 (substitute* "js/ui/status/keyboard.js"
8553 (("'gkbd-keyboard-display'")
8554 (string-append "'" (assoc-ref inputs "libgnomekbd")
8555 "/bin/gkbd-keyboard-display'")))
8557 (add-before 'check 'pre-check
8558 (lambda* (#:key inputs #:allow-other-keys)
8559 ;; Tests require a running X server.
8560 (system "Xvfb :1 &")
8561 (setenv "DISPLAY" ":1")
8563 (add-after 'install 'wrap-programs
8564 (lambda* (#:key inputs outputs #:allow-other-keys)
8565 (let ((out (assoc-ref outputs "out"))
8566 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8567 (python-path (getenv "PYTHONPATH")))
8568 (wrap-program (string-append out "/bin/gnome-shell")
8569 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8570 ;; FIXME: gnome-shell loads these libraries with unqualified
8571 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8572 ;; alternative might be to patch gnome-shell.
8573 `("LD_LIBRARY_PATH" ":" prefix
8575 (string-append (assoc-ref inputs pkg) "/lib"))
8577 "gnome-bluetooth" "librsvg" "libgweather"))))
8580 (wrap-program (string-append out "/bin/" prog)
8581 `("PYTHONPATH" ":" prefix (,python-path))
8582 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8583 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8585 (replace 'glib-or-gtk-wrap
8586 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8587 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8588 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8589 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8590 ;; phase. Fix that since we don't need these.
8591 (wrap #:inputs (fold alist-delete inputs
8592 '("inkscape" "intltool" "glib:bin"))
8593 #:outputs outputs)))))))
8595 `(("asciidoc" ,asciidoc)
8596 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8597 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8598 ("gobject-introspection" ,gobject-introspection)
8599 ("inkscape" ,inkscape)
8600 ("intltool" ,intltool)
8601 ("pkg-config" ,pkg-config)
8603 ("ruby-sass" ,ruby-sass)
8605 ("xsltproc" ,libxslt)
8607 ("xorg-server" ,xorg-server-for-tests)))
8609 `(("accountsservice" ,accountsservice)
8610 ("caribou" ,caribou)
8611 ("docbook-xsl" ,docbook-xsl)
8612 ("evolution-data-server" ,evolution-data-server)
8615 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8617 ("gnome-autoar" ,gnome-autoar)
8618 ("gnome-bluetooth" ,gnome-bluetooth)
8619 ("gnome-desktop" ,gnome-desktop)
8620 ("gnome-settings-daemon" ,gnome-settings-daemon)
8621 ("gst-plugins-base" ,gst-plugins-base)
8623 ("libcanberra" ,libcanberra)
8624 ("libcroco" ,libcroco)
8625 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8626 ("libgweather" ,libgweather)
8628 ("libsoup" ,libsoup)
8629 ("mesa-headers" ,mesa-headers)
8631 ("network-manager-applet" ,network-manager-applet)
8633 ("pulseaudio" ,pulseaudio)
8634 ("python-pygobject" ,python-pygobject)
8635 ("startup-notification" ,startup-notification)
8636 ("telepathy-logger" ,telepathy-logger)
8638 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8639 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8640 ("librsvg" ,librsvg)
8641 ("geoclue" ,geoclue)))
8642 ;; CVE-2019-3820 was fixed before GNOME 3.34 was released, in upstream
8643 ;; commit f0a7395b3006360905ccdc642982f9fc67378927.
8644 (properties '((lint-hidden-cve . ("CVE-2019-3820"))))
8645 (synopsis "Desktop shell for GNOME")
8646 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8648 "GNOME Shell provides core user interface functions for the GNOME desktop,
8649 like switching to windows and launching applications.")
8650 (license license:gpl2+)))
8652 (define-public gtk-vnc
8660 (string-append "mirror://gnome/sources/" name "/"
8661 (version-major+minor version) "/"
8662 name "-" version ".tar.xz"))
8664 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8665 (build-system meson-build-system)
8667 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8670 ("glib:bin" ,glib "bin")
8671 ("gobject-introspection" ,gobject-introspection)
8672 ("intltool" ,intltool)
8675 ("pkg-config" ,pkg-config)
8676 ("python" ,python-wrapper)
8680 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8683 ("libgcrypt" ,libgcrypt)
8684 ("libsasl" ,cyrus-sasl)
8685 ("pulseaudio" ,pulseaudio)
8690 (synopsis "VNC client viewer widget for GTK+")
8691 (description "GTK-VNC is a project providing client side APIs for the RFB
8692 protocol / VNC remote desktop technology. It is built using coroutines allowing
8693 it to be completely asynchronous while remaining single threaded. It provides a
8694 core C library, and bindings for Python (PyGTK).")
8695 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8696 (license license:lgpl2.1+)))
8698 (define-public gnome-autoar
8700 (name "gnome-autoar")
8704 (uri (string-append "mirror://gnome/sources/" name "/"
8705 (version-major+minor version) "/"
8706 name "-" version ".tar.xz"))
8709 "0wkwix44yg126xn1v4f2j60bv9yiyadfpzf8ifx0bvd9x5f4v354"))))
8710 (build-system glib-or-gtk-build-system)
8712 `(("gobject-introspection" ,gobject-introspection)
8713 ("pkg-config" ,pkg-config)))
8715 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8718 (synopsis "Archives integration support for GNOME")
8719 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8721 "GNOME Autoar is a library which makes creating and extracting archives
8722 easy, safe, and automatic.")
8723 (license license:lgpl2.1+)))
8725 (define-public tracker
8731 (uri (string-append "mirror://gnome/sources/tracker/"
8732 (version-major+minor version) "/"
8733 "tracker-" version ".tar.xz"))
8736 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8737 (build-system meson-build-system)
8741 ;; Otherwise, the RUNPATH will lack the final path component.
8742 (list (string-append "-Dc_link_args=-Wl,-rpath="
8743 (assoc-ref %outputs "out") "/lib:"
8744 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8746 (modify-phases %standard-phases
8747 (add-before 'check 'pre-check
8749 ;; Some tests expect to write to $HOME.
8750 (setenv "HOME" "/tmp")
8753 `(("glib:bin" ,glib "bin")
8754 ("gobject-introspection" ,gobject-introspection)
8755 ("python-pygobject" ,python-pygobject)
8756 ("intltool" ,intltool)
8757 ("pkg-config" ,pkg-config)
8762 ("libxml2" ,libxml2)
8763 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8764 ("json-glib" ,json-glib)
8765 ("libsoup" ,libsoup)))
8766 (synopsis "Metadata database, indexer and search tool")
8767 (home-page "https://wiki.gnome.org/Projects/Tracker")
8769 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8771 It is a middleware component aimed at desktop application developers who want
8772 their apps to browse and search user content. It's not designed to be used
8773 directly by desktop users, but it provides a commandline tool named
8774 @command{tracker} for the adventurous.
8776 Tracker allows your application to instantly perform full-text searches across
8777 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8778 example. This is achieved by indexing the user's home directory in the
8781 Tracker also allows your application to query and list content that the user
8782 has stored. For example, GNOME Music displays all the music files that are
8783 found by Tracker. This means that GNOME Music doesn't need to maintain a
8784 database of its own.
8786 If you need to go beyond simple searches, Tracker is also a linked data
8787 endpoint and it understands SPARQL. ")
8788 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8789 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8790 ;; libstemmer is bsd-3 and the rest is gpl2+.
8791 (license (list license:gpl2+
8793 license:lgpl2.1+))))
8795 (define-public tracker-miners
8797 (name "tracker-miners")
8801 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8802 (version-major+minor version)
8803 "/tracker-miners-" version ".tar.xz"))
8806 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8807 (build-system meson-build-system)
8811 (list "-Dminer_rss=false" ; libgrss is required.
8812 ;; Ensure the RUNPATH contains all installed library locations.
8813 (string-append "-Dc_link_args=-Wl,-rpath="
8814 (assoc-ref %outputs "out")
8815 "/lib/tracker-miners-2.0")
8816 ;; TODO: Enable functional tests. Currently, the following error
8818 ;; Exception: The functional tests require DConf to be the default
8819 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8820 "-Dfunctional_tests=false")))
8823 ("intltool" ,intltool)
8824 ("glib:bin" ,glib "bin")
8825 ("gobject-introspection" ,gobject-introspection)
8826 ("pkg-config" ,pkg-config)
8827 ("python-pygobject" ,python-pygobject)))
8829 `(("exempi" ,exempi)
8834 ("gstreamer" ,gstreamer)
8837 ("libexif" ,libexif)
8839 ("libgxps" ,libgxps)
8840 ("libiptcdata" ,libiptcdata)
8841 ("libjpeg" ,libjpeg-turbo)
8842 ("libosinfo" ,libosinfo)
8844 ("libseccomp" ,libseccomp)
8845 ("libtiff" ,libtiff)
8846 ("libvorbis" ,libvorbis)
8847 ("libxml2" ,libxml2)
8848 ("poppler" ,poppler)
8850 ("totem-pl-parser" ,totem-pl-parser)
8851 ("tracker" ,tracker)
8854 (synopsis "Metadata database, indexer and search tool")
8855 (home-page "https://wiki.gnome.org/Projects/Tracker")
8857 "Tracker is an advanced framework for first class objects with associated
8858 metadata and tags. It provides a one stop solution for all metadata, tags,
8859 shared object databases, search tools and indexing.")
8860 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8861 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8862 (license (list license:gpl2+
8864 license:lgpl2.0+))))
8866 (define-public nautilus
8872 (uri (string-append "mirror://gnome/sources/" name "/"
8873 (version-major+minor version) "/"
8874 name "-" version ".tar.xz"))
8877 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8878 (build-system meson-build-system)
8882 (modify-phases %standard-phases
8883 (add-after 'unpack 'skip-gtk-update-icon-cache
8884 ;; Don't create 'icon-theme.cache'.
8886 (substitute* "build-aux/meson/postinstall.py"
8887 (("gtk-update-icon-cache") "true"))
8889 ;; XXX: FAIL: check-nautilus
8890 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8893 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8894 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8895 ("gobject-introspection" ,gobject-introspection)
8896 ("intltool" ,intltool)
8897 ("pkg-config" ,pkg-config)))
8903 ("gnome-desktop" ,gnome-desktop)
8904 ("gnome-autoar" ,gnome-autoar)
8905 ("gst-plugins-base" ,gst-plugins-base)
8906 ("libseccomp" ,libseccomp)
8907 ("libselinux" ,libselinux)
8908 ("tracker" ,tracker)
8909 ("tracker-miners" ,tracker-miners)
8910 ;; XXX: gtk+ is required by libnautilus-extension.pc
8912 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8914 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8916 ("libexif" ,libexif)
8917 ("libxml2" ,libxml2)))
8918 (synopsis "File manager for GNOME")
8919 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8921 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8922 design and behaviour, giving the user a simple way to navigate and manage its
8924 (license license:gpl2+)))
8926 (define-public baobab
8933 "mirror://gnome/sources/" name "/"
8934 (version-major+minor version) "/"
8935 name "-" version ".tar.xz"))
8938 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8939 (build-system meson-build-system)
8941 '(#:glib-or-gtk? #t))
8943 `(("intltool" ,intltool)
8944 ("pkg-config" ,pkg-config)
8945 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8946 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8947 ("itstool" ,itstool)
8948 ("xmllint" ,libxml2)
8949 ("glib" ,glib "bin")
8953 (synopsis "Disk usage analyzer for GNOME")
8955 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8956 usage in the GNOME desktop environment. It can easily scan device volumes or
8957 a specific user-requested directory branch (local or remote). Once the scan
8958 is complete it provides a graphical representation of each selected folder.")
8959 (home-page "https://wiki.gnome.org/Apps/Baobab")
8960 (license license:gpl2+)))
8962 (define-public gnome-backgrounds
8964 (name "gnome-backgrounds")
8969 (uri (string-append "mirror://gnome/sources/" name "/"
8970 (version-major+minor version) "/"
8971 name "-" version ".tar.xz"))
8974 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8975 (build-system meson-build-system)
8977 `(("intltool" ,intltool)))
8978 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8979 (synopsis "Background images for the GNOME desktop")
8981 "GNOME backgrounds package contains a collection of graphics files which
8982 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8983 the package creates the proper framework and directory structure so that you
8984 can add your own files to the collection.")
8985 (license (list license:gpl2+
8988 license:cc-by-sa3.0))))
8990 (define-public gnome-screenshot
8992 (name "gnome-screenshot")
8997 (uri (string-append "mirror://gnome/sources/" name "/"
8998 (version-major+minor version) "/"
8999 name "-" version ".tar.xz"))
9002 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
9003 (build-system meson-build-system)
9006 (modify-phases %standard-phases
9007 (add-after 'unpack 'skip-gtk-update-icon-cache
9008 ;; Don't create 'icon-theme.cache'.
9010 (substitute* "build-aux/postinstall.py"
9011 (("gtk-update-icon-cache") "true"))
9014 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
9015 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9016 ("intltool" ,intltool)
9017 ("appstream-glib" ,appstream-glib)
9018 ("pkg-config" ,pkg-config)))
9021 ("libcanberra" ,libcanberra)
9023 ("libxext" ,libxext)))
9024 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9025 (synopsis "Take pictures of your screen")
9027 "GNOME Screenshot is a utility used for taking screenshots of the entire
9028 screen, a window or a user defined area of the screen, with optional
9029 beautifying border effects.")
9030 (license license:gpl2+)))
9032 (define-public dconf-editor
9034 (name "dconf-editor")
9039 (uri (string-append "mirror://gnome/sources/" name "/"
9040 (version-major+minor version) "/"
9041 name "-" version ".tar.xz"))
9044 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
9045 (build-system meson-build-system)
9047 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9048 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9049 ("intltool" ,intltool)
9050 ("pkg-config" ,pkg-config)
9055 ("libxml2" ,libxml2)))
9056 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9057 (synopsis "Graphical editor for GNOME's dconf configuration system")
9059 "Dconf-editor is a graphical tool for browsing and editing the dconf
9060 configuration system for GNOME. It allows users to configure desktop
9061 software that do not provide their own configuration interface.")
9062 (license license:lgpl2.1+)))
9064 (define-public gnome-default-applications
9066 (name "gnome-default-applications")
9068 (build-system trivial-build-system)
9071 `(("nautilus" ,nautilus)
9072 ("evince" ,evince)))
9074 `(#:modules ((guix build utils))
9077 (use-modules (guix build utils))
9078 (let* ((out (assoc-ref %outputs "out"))
9079 (apps (string-append out "/share/applications")))
9081 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9083 (format port "[Default Applications]\n")
9084 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9085 (format port "application/pdf=evince.desktop\n")
9086 (format port "application/postscript=evince.desktop\n")))
9088 (synopsis "Default MIME type associations for the GNOME desktop")
9090 "Given many installed packages which might handle a given MIME type, a
9091 user running the GNOME desktop probably has some preferences: for example,
9092 that folders be opened by default by the Nautilus file manager, not the Baobab
9093 disk usage analyzer. This package establishes that set of default MIME type
9094 associations for GNOME.")
9095 (license license:gpl3+)
9098 (define-public libgovirt
9104 (uri (string-append "mirror://gnome/sources/" name "/"
9105 (version-major+minor version) "/"
9106 name "-" version ".tar.xz"))
9109 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9110 (build-system glib-or-gtk-build-system)
9112 `(("gettext" ,gettext-minimal)
9113 ("glib:bin" ,glib "bin")
9114 ("gobject-introspection" ,gobject-introspection)
9115 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9116 ("gtk+:bin" ,gtk+ "bin")
9117 ("pkg-config" ,pkg-config)))
9119 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9121 (synopsis "GoVirt Library")
9122 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9123 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9124 (license license:gpl2+)))
9126 (define-public gnome-weather
9128 (name "gnome-weather")
9132 (uri (string-append "mirror://gnome/sources/" name "/"
9133 (version-major+minor version) "/"
9134 name "-" version ".tar.xz"))
9137 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9138 (build-system meson-build-system)
9140 `(("gettext" ,gettext-minimal)
9141 ("glib:bin" ,glib "bin")
9142 ("gobject-introspection" ,gobject-introspection)
9143 ("gtk+:bin" ,gtk+ "bin")
9144 ("pkg-config" ,pkg-config)))
9146 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9147 ("appstream-glib" ,appstream-glib)
9148 ("geoclue" ,geoclue)
9149 ("gdk-pixbuf" ,gdk-pixbuf)
9151 ("gnome-desktop" ,gnome-desktop)
9152 ("libgweather" ,libgweather)))
9156 (modify-phases %standard-phases
9157 (add-after 'install 'fix-desktop-file
9158 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9159 ;; See https://issues.guix.gnu.org/issue/39324.
9160 (lambda* (#:key outputs #:allow-other-keys)
9161 (let* ((out (assoc-ref outputs "out"))
9162 (applications (string-append out "/share/applications")))
9163 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9164 (("Exec=.*") "Exec=gnome-weather\n"))
9166 (add-after 'install 'wrap
9167 (lambda* (#:key inputs outputs #:allow-other-keys)
9168 (let ((out (assoc-ref outputs "out"))
9169 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9170 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9171 (wrap-program (string-append out "/bin/gnome-weather")
9172 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9174 (synopsis "Weather monitoring for GNOME desktop")
9175 (description "GNOME Weather is a small application that allows you to
9176 monitor the current weather conditions for your city, or anywhere in the
9178 (home-page "https://wiki.gnome.org/Apps/Weather")
9179 (license license:gpl2+)))
9181 (define-public gnome
9184 (version (package-version gnome-shell))
9186 (build-system trivial-build-system)
9187 (arguments '(#:builder (begin (mkdir %output) #t)))
9189 ;; TODO: Add or remove packages according to:
9190 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9192 ;; GNOME-Core-OS-Services
9193 ("accountsservice" ,accountsservice)
9194 ("network-manager" ,network-manager)
9195 ("packagekit" ,packagekit)
9198 ("adwaita-icon-theme" ,adwaita-icon-theme)
9200 ("glib-networking" ,glib-networking)
9201 ("gnome-backgrounds" ,gnome-backgrounds)
9202 ("gnome-bluetooth" ,gnome-bluetooth)
9203 ("gnome-color-manager" ,gnome-color-manager)
9204 ("gnome-control-center" ,gnome-control-center)
9205 ("gnome-desktop" ,gnome-desktop)
9206 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9207 ("gnome-initial-setup" ,gnome-initial-setup)
9208 ("gnome-keyring" ,gnome-keyring)
9209 ("gnome-menus" ,gnome-menus)
9210 ("gnome-session" ,gnome-session)
9211 ("gnome-settings-daemon" ,gnome-settings-daemon)
9212 ("gnome-shell-extensions" ,gnome-shell-extensions)
9213 ("gnome-shell" ,gnome-shell)
9214 ("gnome-themes-extra" ,gnome-themes-extra)
9215 ("gnome-user-docs" ,gnome-user-docs)
9216 ("gnome-user-share" ,gnome-user-share)
9217 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9223 ;; GNOME-Core-Utilities
9226 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9227 ;; only works on x86_64, so exclude it on other architectures.
9228 ,@(if (string-prefix? "x86_64" (%current-system))
9231 ("epiphany" ,epiphany)
9233 ("file-roller" ,file-roller)
9235 ("gnome-boxes" ,gnome-boxes)
9236 ("gnome-calculator" ,gnome-calculator)
9237 ("gnome-calendar" ,gnome-calendar)
9238 ("gnome-characters" ,gnome-characters)
9239 ("gnome-clocks" ,gnome-clocks)
9240 ("gnome-contacts" ,gnome-contacts)
9241 ("gnome-disk-utility" ,gnome-disk-utility)
9242 ("gnome-font-viewer" ,gnome-font-viewer)
9243 ("gnome-maps" ,gnome-maps)
9244 ; TODO: ("gnome-music" ,gnome-music)
9245 ; TODO: ("gnome-photos" ,gnome-photos)
9246 ("gnome-screenshot" ,gnome-screenshot)
9247 ("gnome-system-monitor" ,gnome-system-monitor)
9248 ("gnome-terminal" ,gnome-terminal)
9249 ("gnome-weather" ,gnome-weather)
9250 ("nautilus" ,nautilus)
9251 ("simple-scan" ,simple-scan)
9255 ("hicolor-icon-theme" ,hicolor-icon-theme)
9256 ("gnome-online-accounts" ,gnome-online-accounts)
9258 ;; Packages not part of GNOME proper but that are needed for a good
9259 ;; experience. See <https://bugs.gnu.org/39646>.
9260 ;; XXX: Find out exactly which ones are needed and why.
9261 ("font-cantarell" ,font-cantarell)
9262 ("font-dejavu" ,font-dejavu)
9263 ("at-spi2-core" ,at-spi2-core)
9266 ("desktop-file-utils" ,desktop-file-utils)
9267 ("gnome-default-applications" ,gnome-default-applications)
9268 ("gnome-themes-standard" ,gnome-themes-standard)
9269 ("gst-plugins-base" ,gst-plugins-base)
9270 ("gst-plugins-good" ,gst-plugins-good)
9271 ("gucharmap" ,gucharmap)
9272 ("pinentry-gnome3" ,pinentry-gnome3)
9273 ("pulseaudio" ,pulseaudio)
9274 ("shared-mime-info" ,shared-mime-info)
9275 ("system-config-printer" ,system-config-printer)
9276 ("xdg-user-dirs" ,xdg-user-dirs)
9278 ("zenity" ,zenity)))
9279 (synopsis "The GNU desktop environment")
9280 (home-page "https://www.gnome.org/")
9282 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9283 applications for browsing the web, editing text and images, creating
9284 documents and diagrams, playing media, scanning, and much more.")
9285 (license license:gpl2+)))
9287 (define-public byzanz
9288 ;; The last stable release of Byzanz was in 2011, but there have been many
9289 ;; useful commits made to the Byzanz repository since then that it would be
9290 ;; silly to use such an old release.
9291 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9294 (version (string-append "0.2-1." (string-take commit 7)))
9298 (url "https://git.gnome.org/browse/byzanz")
9300 (file-name (string-append name "-" version "-checkout"))
9303 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9304 (build-system glib-or-gtk-build-system)
9307 (modify-phases %standard-phases
9308 (add-before 'bootstrap 'build-without-Werror
9310 ;; The build system cleverly detects that we're not building from
9311 ;; a release tarball and turns on -Werror for GCC.
9312 ;; Unsurprisingly, there is a warning during compilation that
9313 ;; causes the build to fail unnecessarily, so we remove the flag.
9314 (substitute* '("configure.ac")
9318 `(("autoconf" ,autoconf)
9319 ("automake" ,automake)
9320 ("gnome-common" ,gnome-common)
9321 ("intltool" ,intltool)
9322 ("libtool" ,libtool)
9323 ("pkg-config" ,pkg-config)
9327 ("gstreamer" ,gstreamer)
9328 ("gst-plugins-base" ,gst-plugins-base)
9330 (synopsis "Desktop recording program")
9331 (description "Byzanz is a simple desktop recording program with a
9332 command-line interface. It can record part or all of an X display for a
9333 specified duration and save it as a GIF encoded animated image file.")
9334 (home-page "https://git.gnome.org/browse/byzanz")
9335 (license license:gpl2+))))
9337 (define-public authenticator
9339 (name "authenticator")
9345 (url "https://gitlab.gnome.org/World/Authenticator")
9347 (file-name (git-file-name name version))
9349 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9350 (build-system meson-build-system)
9354 (modify-phases %standard-phases
9355 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9356 (lambda* (#:key inputs outputs #:allow-other-keys)
9357 (let ((prog (string-append (assoc-ref outputs "out")
9358 "/bin/authenticator"))
9359 (pylib (string-append (assoc-ref outputs "out")
9361 ,(version-major+minor
9362 (package-version python))
9365 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9366 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9369 `(("desktop-file-utils" ,desktop-file-utils)
9370 ("gettext" ,gettext-minimal)
9371 ("glib:bin" ,glib "bin")
9372 ("gobject-introspection" ,gobject-introspection)
9373 ("gtk+:bin" ,gtk+ "bin")
9374 ("pkg-config" ,pkg-config)))
9376 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9378 ("libhandy" ,libhandy-0.0)
9379 ("libsecret" ,libsecret)
9380 ("python-beautifulsoup4" ,python-beautifulsoup4)
9381 ("python-pillow" ,python-pillow)
9382 ("python-pyfavicon" ,python-pyfavicon)
9383 ("python-pygobject" ,python-pygobject)
9384 ("python-pyotp" ,python-pyotp)
9385 ("python-pyzbar" ,python-pyzbar)
9386 ("yoyo-migrations" ,yoyo-migrations)
9388 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9389 (synopsis "Two-factor authentication application built for GNOME")
9391 "Authenticator is a two-factor authentication (2FA) application built for
9392 the GNOME desktop environment.
9397 @item QR code scanner
9399 @item Huge database of more than 560 supported services
9400 @item Keep your PIN tokens secure by locking the application with a password
9401 @item Automatically fetch an image for services using their favicon
9402 @item The possibility to add new services
9404 (license license:gpl3+)))
9406 (define-public gsound
9412 (uri (string-append "mirror://gnome/sources/" name "/"
9413 (version-major+minor version) "/"
9414 name "-" version ".tar.xz"))
9417 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9418 (build-system glib-or-gtk-build-system)
9420 `(("pkg-config" ,pkg-config)
9421 ("gobject-introspection" ,gobject-introspection)
9425 ("libcanberra" ,libcanberra)))
9426 (home-page "https://wiki.gnome.org/Projects/GSound")
9427 (synopsis "GObject wrapper for libcanberra")
9429 "GSound is a small library for playing system sounds. It's designed to be
9430 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9432 (license license:lgpl2.1+)))
9434 (define-public libzapojit
9440 (uri (string-append "mirror://gnome/sources/" name "/"
9441 (version-major+minor version) "/"
9442 name "-" version ".tar.xz"))
9445 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9446 (build-system gnu-build-system)
9448 `(("gobject-introspection" ,gobject-introspection)
9449 ("intltool" ,intltool)
9450 ("pkg-config" ,pkg-config)))
9452 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9453 ("json-glib" ,json-glib)
9455 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9456 (synopsis "Library for accessing SkyDrive and Hotmail")
9458 "Libzapojit is a GLib-based library for accessing online service APIs of
9459 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9460 (license license:lgpl2.1+)))
9462 (define-public gnome-clocks
9464 (name "gnome-clocks")
9468 (uri (string-append "mirror://gnome/sources/" name "/"
9469 (version-major+minor version) "/"
9470 name "-" version ".tar.xz"))
9473 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9474 (build-system meson-build-system)
9478 (modify-phases %standard-phases
9479 (add-after 'unpack 'skip-gtk-update-icon-cache
9480 ;; Don't create 'icon-theme.cache'.
9482 (substitute* "build-aux/post-install.py"
9483 (("gtk-update-icon-cache") "true"))
9487 ("pkg-config" ,pkg-config)
9488 ("glib" ,glib "bin") ; for glib-compile-resources
9489 ("desktop-file-utils" ,desktop-file-utils)
9490 ("gettext" ,gettext-minimal)
9491 ("itstool" ,itstool)))
9496 ("geoclue" ,geoclue)
9497 ("geocode-glib" ,geocode-glib)
9498 ("libgweather" ,libgweather)
9499 ("gnome-desktop" ,gnome-desktop)))
9500 (home-page "https://wiki.gnome.org/Apps/Clocks")
9501 (synopsis "GNOME's clock application")
9503 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9504 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9505 (license license:gpl3+)))
9507 (define-public gnome-calendar
9509 (name "gnome-calendar")
9513 (uri (string-append "mirror://gnome/sources/" name "/"
9514 (version-major+minor version) "/"
9515 name "-" version ".tar.xz"))
9518 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9519 (build-system meson-build-system)
9522 ;; gnome-calendar has to be installed before the tests can be run
9523 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9526 (modify-phases %standard-phases
9527 (add-after 'unpack 'skip-gtk-update-icon-cache
9528 ;; Don't create 'icon-theme.cache'.
9530 (substitute* "build-aux/meson/meson_post_install.py"
9531 (("gtk-update-icon-cache") "true"))
9534 `(("gettext" ,gettext-minimal)
9535 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9536 ("pkg-config" ,pkg-config)))
9538 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9539 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9540 ("libdazzle" ,libdazzle)
9541 ("libedataserverui" ,evolution-data-server)
9542 ("libgweather" ,libgweather)
9543 ("geoclue" ,geoclue)))
9545 `(("evolution-data-server" ,evolution-data-server)))
9546 (home-page "https://wiki.gnome.org/Apps/Calendar")
9547 (synopsis "GNOME's calendar application")
9549 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9550 desktop. It supports multiple calendars, month, week and year view.")
9551 (license license:gpl3+)))
9553 (define-public gnome-todo
9559 (uri (string-append "mirror://gnome/sources/" name "/"
9560 (version-major+minor version) "/"
9561 name "-" version ".tar.xz"))
9564 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9566 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9567 (build-system meson-build-system)
9570 #:phases (modify-phases %standard-phases
9572 'install 'wrap-gnome-todo
9573 (lambda* (#:key inputs outputs #:allow-other-keys)
9574 (let ((out (assoc-ref outputs "out"))
9575 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9576 (python-path (getenv "PYTHONPATH")))
9577 (wrap-program (string-append out "/bin/gnome-todo")
9578 ;; XXX: gi plugins are broken.
9579 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9581 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9582 `("PYTHONPATH" ":" prefix (,python-path))))
9585 `(("gettext" ,gettext-minimal)
9586 ("gobject-introspection" ,gobject-introspection)
9587 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9588 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9589 ("pkg-config" ,pkg-config)))
9591 `(("rest" ,rest) ; For Todoist plugin
9592 ("json-glib" ,json-glib) ; For Todoist plugin
9593 ("libedataserverui" ,evolution-data-server)
9594 ("libical" ,libical)
9595 ("libpeas" ,libpeas)
9596 ("python-pygobject" ,python-pygobject)
9597 ("evolution-data-server" ,evolution-data-server)
9598 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9599 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9600 (home-page "https://wiki.gnome.org/Apps/Todo")
9601 (synopsis "GNOME's ToDo Application")
9603 "GNOME To Do is a simplistic personal task manager designed to perfectly
9604 fit the GNOME desktop.")
9605 (license license:gpl3+)))
9607 (define-public gnome-dictionary
9609 (name "gnome-dictionary")
9613 (uri (string-append "mirror://gnome/sources/" name "/"
9614 (version-major+minor version) "/"
9615 name "-" version ".tar.xz"))
9618 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9619 (build-system meson-build-system)
9620 (arguments '(#:glib-or-gtk? #t
9621 #:phases (modify-phases %standard-phases
9622 (add-after 'unpack 'patch-install-script
9624 ;; This script attempts to compile glib schemas
9625 ;; and create an empty MIME database. We do
9626 ;; that elsewhere, so prevent it from running.
9627 (substitute* "build-aux/post-install.sh"
9628 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9631 `(("glib:bin" ,glib "bin")
9632 ("gobject-introspection" ,gobject-introspection)
9633 ("intltool" ,intltool)
9634 ("itstool" ,itstool)
9635 ("pkg-config" ,pkg-config)
9636 ("xmllint" ,libxml2)))
9638 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9640 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9641 (synopsis "Look up words in dictionary sources")
9643 "GNOME Dictionary can look for the definition or translation of a word in
9644 existing databases over the internet.")
9645 (license license:gpl3+)))
9647 (define-public gnome-tweaks
9649 (name "gnome-tweaks")
9653 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9654 (version-major+minor version) "/"
9655 "gnome-tweaks-" version ".tar.xz"))
9657 (list (search-patch "gnome-tweaks-search-paths.patch")))
9660 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9661 (build-system meson-build-system)
9664 #:configure-flags '("-Dlocalstatedir=/tmp"
9665 "-Dsysconfdir=/tmp")
9666 #:imported-modules ((guix build python-build-system)
9667 ,@%meson-build-system-modules)
9669 (modify-phases %standard-phases
9670 (add-after 'unpack 'skip-gtk-update-icon-cache
9671 ;; Don't create 'icon-theme.cache'.
9673 (substitute* "meson-postinstall.py"
9674 (("gtk-update-icon-cache") "true"))
9676 (add-after 'install 'wrap
9677 (@@ (guix build python-build-system) wrap))
9678 (add-after 'wrap 'wrap-gi-typelib
9679 (lambda* (#:key inputs outputs #:allow-other-keys)
9680 (let ((out (assoc-ref outputs "out"))
9681 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9682 (wrap-program (string-append out "/bin/gnome-tweaks")
9683 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9686 `(("intltool" ,intltool)
9687 ("pkg-config" ,pkg-config)))
9689 `(("gnome-desktop" ,gnome-desktop)
9691 ("gobject-introspection" ,gobject-introspection)
9692 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9693 ("libhandy" ,libhandy-0.0)
9694 ("libnotify" ,libnotify)
9695 ("libsoup" ,libsoup)
9696 ("nautilus" ,nautilus)
9698 ("python-pygobject" ,python-pygobject)))
9699 (synopsis "Customize advanced GNOME 3 options")
9700 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9702 "GNOME Tweaks allows adjusting advanced configuration settings in
9703 GNOME 3. This includes things like the fonts used in user interface elements,
9704 alternative user interface themes, changes in window management behavior,
9705 GNOME Shell appearance and extension, etc.")
9706 (license license:gpl3+)))
9708 (define-public gnome-shell-extensions
9710 (name "gnome-shell-extensions")
9714 (uri (string-append "mirror://gnome/sources/" name "/"
9715 (version-major+minor version) "/"
9716 name "-" version ".tar.xz"))
9719 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9720 (build-system meson-build-system)
9722 '(#:configure-flags '("-Dextension_set=all")))
9724 `(("glib:bin" ,glib "bin")
9725 ("intltool" ,intltool)
9726 ("pkg-config" ,pkg-config)))
9729 (synopsis "Extensions for GNOME Shell")
9730 (description "GNOME Shell extensions modify and extend GNOME Shell
9731 functionality and behavior.")
9732 (home-page "https://extensions.gnome.org/")
9733 (license license:gpl3+)))
9735 (define-public folks
9742 "mirror://gnome/sources/folks/"
9743 (version-major+minor version) "/"
9744 "folks-" version ".tar.xz"))
9747 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9748 (build-system meson-build-system)
9751 (modify-phases %standard-phases
9752 (add-after 'unpack 'skip-gtk-update-icon-cache
9753 ;; Don't create 'icon-theme.cache'.
9755 (substitute* "meson_post_install.py"
9756 (("gtk-update-icon-cache") "true"))
9760 ("dbus-glib" ,dbus-glib)
9761 ("evolution-data-server" ,evolution-data-server)
9764 ("readline" ,readline)
9765 ("telepathy-glib" ,telepathy-glib)))
9767 `(("glib:bin" ,glib "bin")
9768 ("gobject-introspection" ,gobject-introspection)
9769 ("intltool" ,intltool)
9770 ("pkg-config" ,pkg-config)
9772 (synopsis "Library to aggregate data about people")
9773 (description "Libfolks is a library that aggregates information about people
9774 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9775 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9776 etc.) to create metacontacts. It's written in Vala, which generates C code when
9778 (home-page "https://wiki.gnome.org/Projects/Folks")
9779 (license license:lgpl2.1+)))
9781 (define-public gfbgraph
9788 "mirror://gnome/sources/gfbgraph/"
9789 (version-major+minor version) "/"
9790 "gfbgraph-" version ".tar.xz"))
9793 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9794 (build-system glib-or-gtk-build-system)
9796 `(#:tests? #f ; tests appear to require the network
9797 #:configure-flags '("--disable-static"
9799 "--enable-introspection")))
9801 `(("gobject-introspection" ,gobject-introspection)
9802 ("gtk-doc" ,gtk-doc/stable)
9803 ("pkg-config" ,pkg-config)
9805 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9806 ("autoconf" ,autoconf)
9807 ("automake" ,automake)
9808 ("libtool" ,libtool)
9811 `(("json-glib" ,json-glib)
9812 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9814 (synopsis "GLib/GObject wrapper for the Facebook API")
9815 (description "This library allows you to use the Facebook API from
9816 GLib/GObject code.")
9817 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9818 (license license:lgpl2.1+)))
9820 (define-public libgnomekbd
9822 (name "libgnomekbd")
9826 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9827 (version-major+minor version) "/"
9828 "libgnomekbd-" version ".tar.xz"))
9831 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9832 (build-system gnu-build-system)
9834 `(("pkg-config" ,pkg-config)
9835 ("glib" ,glib "bin")
9836 ("intltool" ,intltool)))
9838 ;; Referred to in .h files and .pc.
9841 ("libxklavier" ,libxklavier)))
9842 (home-page "https://www.gnome.org")
9843 (synopsis "GNOME keyboard configuration library")
9845 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9846 environment, which can notably display keyboard layouts.")
9847 (license license:lgpl2.0+)))
9849 ;;; This package is no longer maintained:
9850 ;;; https://wiki.gnome.org/Attic/LibUnique
9851 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9852 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9853 (define-public libunique
9859 (uri (string-append "mirror://gnome/sources/" name "/"
9860 (version-major+minor version) "/"
9861 name "-" version ".tar.xz"))
9864 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9865 (build-system glib-or-gtk-build-system)
9867 `(#:configure-flags '("--disable-static"
9868 "--disable-dbus" ; use gdbus
9869 "--enable-introspection")))
9871 `(("pkg-config" ,pkg-config)
9872 ("gobject-introspection" ,gobject-introspection)
9873 ("glib:bin" ,glib "bin")
9874 ("gtk-doc" ,gtk-doc/stable)))
9876 ;; Referred to in .h files and .pc.
9878 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9879 (synopsis "Library for writing single instance applications")
9881 "Libunique is a library for writing single instance applications. If you
9882 launch a single instance application twice, the second instance will either just
9883 quit or will send a message to the running instance. Libunique makes it easy to
9884 write this kind of application, by providing a base class, taking care of all
9885 the IPC machinery needed to send messages to a running instance, and also
9886 handling the startup notification side.")
9887 (license license:lgpl2.1+)))
9889 (define-public gnome-calculator
9891 (name "gnome-calculator")
9896 (uri (string-append "mirror://gnome/sources/" name "/"
9897 (version-major+minor version) "/"
9898 name "-" version ".tar.xz"))
9901 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9902 (build-system meson-build-system)
9903 (arguments '(#:glib-or-gtk? #t))
9905 `(("gettext" ,gettext-minimal)
9906 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9907 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9908 ("itstool" ,itstool)
9910 ("pkg-config" ,pkg-config)))
9913 ("gtksourceview" ,gtksourceview)
9915 ("libsoup" ,libsoup)
9916 ("libxml2" ,libxml2)
9919 (home-page "https://wiki.gnome.org/Apps/Calculator")
9920 (synopsis "Desktop calculator")
9922 "Calculator is an application that solves mathematical equations and
9923 is suitable as a default application in a Desktop environment.")
9924 (license license:gpl3)))
9933 (uri (string-append "https://launchpad.net/xpad/trunk/"
9934 version "/+download/"
9935 name "-" version ".tar.bz2"))
9938 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9939 (build-system gnu-build-system)
9941 `(("autoconf" ,autoconf)
9942 ("automake" ,automake)
9943 ("gtk+:bin" ,gtk+ "bin")
9944 ("intltool" ,intltool)
9945 ("pkg-config" ,pkg-config)))
9947 `(("gtksourceview" ,gtksourceview-3)
9949 (home-page "https://wiki.gnome.org/Apps/Xpad")
9950 (synopsis "Virtual sticky note")
9952 "Xpad is a sticky note that strives to be simple, fault tolerant,
9953 and customizable. Xpad consists of independent pad windows, each is
9954 basically a text box in which notes can be written.")
9955 (license license:gpl3+)))
9957 (define-public gucharmap
9958 (let ((unicode-files
9960 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9962 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9964 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9966 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9968 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9970 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9977 (uri (string-append "mirror://gnome/sources/" name "/"
9978 (version-major+minor version) "/"
9979 name "-" version ".tar.xz"))
9982 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9983 (build-system glib-or-gtk-build-system)
9985 `(#:modules ((ice-9 match)
9986 (guix build glib-or-gtk-build-system)
9989 (list "--with-unicode-data=../unicode-data")
9991 (modify-phases %standard-phases
9992 (add-after 'unpack 'prepare-unicode-data
9993 (lambda* (#:key inputs #:allow-other-keys)
9994 (mkdir-p "../unicode-data")
9995 (with-directory-excursion "../unicode-data"
9996 (for-each (match-lambda
9998 (install-file (assoc-ref inputs file) ".")))
10002 `(("desktop-file-utils" ,desktop-file-utils)
10003 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
10004 ("gobject-introspection" ,gobject-introspection)
10005 ("intltool" ,intltool)
10006 ("itstool" ,itstool)
10007 ("pkg-config" ,pkg-config)
10008 ,@(map (match-lambda
10013 (uri (string-append
10014 "http://www.unicode.org/Public/12.0.0/ucd/"
10016 (sha256 (base32 hash))))))
10021 ("xmllint" ,libxml2)))
10022 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10023 (synopsis "Unicode character picker and font browser")
10025 "This program allows you to browse through all the available Unicode
10026 characters and categories for the installed fonts, and to examine their
10027 detailed properties. It is an easy way to find the character you might
10028 only know by its Unicode name or code point.")
10029 (license license:gpl3+))))
10031 (define-public bluefish
10038 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10039 "bluefish-" version ".tar.gz"))
10041 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10042 (build-system gnu-build-system)
10044 `(("desktop-file-utils" ,desktop-file-utils)
10045 ("intltool" ,intltool)
10046 ("pkg-config" ,pkg-config)))
10048 `(("enchant" ,enchant)
10050 ("python" ,python-wrapper)
10051 ("xmllint" ,libxml2)
10052 ("gucharmap" ,gucharmap)))
10053 (home-page "http://bluefish.openoffice.nl")
10054 (synopsis "Web development studio")
10056 "Bluefish is an editor aimed at programmers and web developers,
10057 with many options to write web sites, scripts and other code.
10058 Bluefish supports many programming and markup languages.")
10059 (license license:gpl3+)))
10061 (define-public gnome-system-monitor
10063 (name "gnome-system-monitor")
10068 (uri (string-append "mirror://gnome/sources/" name "/"
10069 (version-major+minor version) "/"
10070 name "-" version ".tar.xz"))
10073 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10074 (build-system meson-build-system)
10076 '(#:glib-or-gtk? #t
10077 #:configure-flags '("-Dsystemd=false")))
10079 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10080 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10081 ("intltool" ,intltool)
10082 ("itstool" ,itstool)
10083 ("libgtop" ,libgtop)
10085 ("pkg-config" ,pkg-config)))
10087 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10090 ("librsvg" ,librsvg)
10091 ("libxml2" ,libxml2)
10092 ("libwnck" ,libwnck)))
10093 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10094 (synopsis "Process viewer and system resource monitor for GNOME")
10096 "GNOME System Monitor is a GNOME process viewer and system monitor with
10097 an attractive, easy-to-use interface. It has features, such as a tree view
10098 for process dependencies, icons for processes, the ability to hide processes,
10099 graphical time histories of CPU/memory/swap usage and the ability to
10100 kill/reinice processes.")
10101 (license license:gpl2+)))
10103 (define-public python-pyatspi
10105 (name "python-pyatspi")
10109 (uri (string-append
10110 "mirror://gnome/sources/pyatspi/"
10111 (version-major+minor version)
10112 "/pyatspi-" version ".tar.xz"))
10115 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10116 (build-system gnu-build-system)
10119 (modify-phases %standard-phases
10120 (add-before 'build 'fix-atk-load
10122 (substitute* "pyatspi/__init__.py"
10123 (("from gi.repository import Atspi")
10124 "gi.require_version('Gtk', '3.0')
10125 from gi.repository import Gtk
10126 from gi.repository import Atspi"))
10129 `(("pkg-config" ,pkg-config)))
10131 `(("python" ,python)))
10133 `(("python-pygobject" ,python-pygobject)))
10134 (synopsis "Python client bindings for D-Bus AT-SPI")
10135 (home-page "https://wiki.linuxfoundation.org/accessibility\
10136 /atk/at-spi/at-spi_on_d-bus")
10138 "This package includes a python client library for the AT-SPI D-Bus
10139 accessibility infrastructure.")
10140 (license license:lgpl2.0)
10141 (properties '((upstream-name . "pyatspi")))))
10143 (define-public python2-pyatspi
10144 (package/inherit python-pyatspi
10145 (name "python2-pyatspi")
10147 `(("python" ,python-2)))
10149 `(("python-pygobject" ,python2-pygobject)))))
10151 (define-public orca
10157 (uri (string-append
10158 "mirror://gnome/sources/" name "/"
10159 (version-major+minor version) "/"
10160 name "-" version ".tar.xz"))
10163 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10164 (build-system glib-or-gtk-build-system)
10167 (modify-phases %standard-phases
10168 (add-before 'configure 'qualify-xkbcomp
10169 (lambda* (#:key inputs #:allow-other-keys)
10170 (let ((xkbcomp (string-append
10171 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10172 (substitute* "src/orca/orca.py"
10173 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10175 (add-after 'install 'wrap-orca
10176 (lambda* (#:key outputs #:allow-other-keys)
10177 (let* ((out (assoc-ref outputs "out"))
10178 (prog (string-append out "/bin/orca")))
10180 `("GI_TYPELIB_PATH" ":" prefix
10181 (,(getenv "GI_TYPELIB_PATH")))
10182 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10183 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10184 `("PYTHONPATH" ":" prefix
10185 (,(getenv "PYTHONPATH")))))
10188 `(("intltool" ,intltool)
10189 ("itstool" ,itstool)
10190 ("pkg-config" ,pkg-config)
10191 ("xmllint" ,libxml2)))
10193 `(("at-spi2-atk" ,at-spi2-atk)
10194 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10195 ("gstreamer" ,gstreamer)
10196 ("gst-plugins-base" ,gst-plugins-base)
10197 ("gst-plugins-good" ,gst-plugins-good)
10200 ("python-pygobject" ,python-pygobject)
10201 ("python-pyatspi" ,python-pyatspi)
10202 ("python-speechd" ,speech-dispatcher)
10203 ("xkbcomp" ,xkbcomp)))
10205 "Screen reader for individuals who are blind or visually impaired")
10206 (home-page "https://wiki.gnome.org/Projects/Orca")
10208 "Orca is a screen reader that provides access to the graphical desktop
10209 via speech and refreshable braille. Orca works with applications and toolkits
10210 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10211 (license license:lgpl2.1+)))
10213 (define-public gspell
10219 (uri (string-append "mirror://gnome/sources/" name "/"
10220 (version-major+minor version) "/"
10221 name "-" version ".tar.xz"))
10224 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10225 (patches (search-patches "gspell-dash-test.patch"))))
10226 (build-system glib-or-gtk-build-system)
10228 '(#:configure-flags (list "--enable-vala")
10230 (modify-phases %standard-phases
10231 (add-before 'check 'pre-check
10232 (lambda* (#:key inputs #:allow-other-keys)
10233 ;; Tests require a running X server.
10234 (system "Xvfb :1 &")
10235 (setenv "DISPLAY" ":1")
10237 ;; For the missing /etc/machine-id.
10238 (setenv "DBUS_FATAL_WARNINGS" "0")
10240 ;; Allow Enchant and its Aspell backend to find the en_US
10242 (setenv "ASPELL_DICT_DIR"
10243 (string-append (assoc-ref inputs "aspell-dict-en")
10249 ("iso-codes" ,iso-codes)))
10251 `(("glib" ,glib "bin")
10252 ("gobject-introspection" ,gobject-introspection)
10253 ("pkg-config" ,pkg-config)
10254 ("vala" ,vala) ;for VAPI, needed by Geary
10255 ("xmllint" ,libxml2)
10258 ("aspell-dict-en" ,aspell-dict-en)
10259 ("xorg-server" ,xorg-server-for-tests)))
10261 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10262 (home-page "https://wiki.gnome.org/Projects/gspell")
10263 (synopsis "GNOME's alternative spell checker")
10265 "gspell provides a flexible API to add spell-checking to a GTK+
10266 application. It provides a GObject API, spell-checking to text entries and
10267 text views, and buttons to choose the language.")
10268 (license license:gpl2+)))
10270 (define-public gnome-planner
10272 (name "gnome-planner")
10276 (uri (string-append "mirror://gnome/sources/planner/"
10277 (version-major+minor version) "/planner-"
10278 version ".tar.xz"))
10281 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10282 (build-system glib-or-gtk-build-system)
10284 ;; Disable the Python bindings because the Planner program functions
10285 ;; without them, and (as of 2017-06-13) we have not packaged all of
10286 ;; packages that are necessary for building the Python bindings.
10287 `(#:configure-flags
10288 (list "--disable-python"
10289 ,@(if (string=? "aarch64-linux" (%current-system))
10290 '("--build=aarch64-unknown-linux-gnu")
10293 `(("libgnomecanvas" ,libgnomecanvas)
10294 ("libgnomeui" ,libgnomeui)
10295 ("libglade" ,libglade)
10296 ("gnome-vfs" ,gnome-vfs)
10298 ("libxml2" ,libxml2)
10299 ("libxslt" ,libxslt)
10303 `(("intltool" ,intltool)
10304 ("scrollkeeper" ,scrollkeeper)
10305 ("pkg-config" ,pkg-config)))
10306 (home-page "https://wiki.gnome.org/Apps/Planner")
10307 (synopsis "Project management software for the GNOME desktop")
10309 "GNOME Planner is a project management tool based on the Work Breakdown
10310 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10311 the resources, tasks, and constraints that you define, Planner generates
10312 various views into a project. For example, Planner can show a Gantt chart of
10313 the project. It can show a detailed summary of tasks including their
10314 duration, cost, and current progress. It can also show a report of resource
10315 utilization that highlights under-utilized and over-utilized resources. These
10316 views can be printed as PDF or PostScript files, or exported to HTML.")
10317 (license license:gpl2+)))
10319 (define-public lollypop
10326 (uri (string-append "https://adishatz.org/lollypop/"
10327 "lollypop-" version ".tar.xz"))
10329 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10330 (build-system meson-build-system)
10332 `(#:imported-modules
10333 (,@%meson-build-system-modules
10334 (guix build python-build-system))
10336 ((guix build meson-build-system)
10337 ((guix build python-build-system) #:prefix python:)
10338 (guix build utils))
10340 #:tests? #f ; no test suite
10342 (modify-phases %standard-phases
10343 (add-after 'install 'wrap-program
10344 (lambda* (#:key outputs #:allow-other-keys)
10345 (let ((out (assoc-ref outputs "out"))
10346 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10347 (wrap-program (string-append out "/bin/lollypop")
10348 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10350 (add-after 'install 'wrap-python
10351 (assoc-ref python:%standard-phases 'wrap)))))
10353 `(("intltool" ,intltool)
10354 ("itstool" ,itstool)
10355 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10356 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10357 ("pkg-config" ,pkg-config)))
10359 `(("glib-networking" ,glib-networking)
10360 ("gobject-introspection" ,gobject-introspection)
10361 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10362 ("gst-plugins-base" ,gst-plugins-base)
10363 ("libnotify" ,libnotify)
10364 ("libsecret" ,libsecret)
10365 ("libhandy" ,libhandy)
10366 ("libsoup" ,libsoup)
10368 ("python-beautifulsoup4" ,python-beautifulsoup4)
10369 ("python-gst" ,python-gst)
10370 ("python-pil" ,python-pillow)
10371 ("python-pycairo" ,python-pycairo)
10372 ("python-pygobject" ,python-pygobject)
10373 ("python-pylast" ,python-pylast)
10374 ("totem-pl-parser" ,totem-pl-parser)
10375 ("webkitgtk" ,webkitgtk)))
10377 `(;; gst-plugins-base is required to start Lollypop,
10378 ;; the others are required to play streaming.
10379 ("gst-plugins-good" ,gst-plugins-good)
10380 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10381 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10382 (synopsis "GNOME music playing application")
10384 "Lollypop is a music player designed to play well with GNOME desktop.
10385 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10386 from artists and tracks from the web. It also fetches cover artworks
10387 automatically and it can stream songs from online music services and charts.")
10388 (license license:gpl3+)))
10390 (define-public gnome-video-effects
10392 (name "gnome-video-effects")
10396 (uri (string-append "mirror://gnome/sources/" name "/"
10397 (version-major+minor version) "/" name "-"
10398 version ".tar.xz"))
10401 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10402 (build-system meson-build-system)
10404 `(("gettext" ,gettext-minimal)
10405 ("pkg-config" ,pkg-config)))
10406 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10407 (synopsis "Video effects for Cheese and other GNOME applications")
10409 "A collection of GStreamer video filters and effects to be used in
10410 photo-booth-like software, such as Cheese.")
10411 (license license:gpl2+)))
10413 (define-public cheese
10419 (uri (string-append "mirror://gnome/sources/" name "/"
10420 (version-major+minor version) "/" name "-"
10421 version ".tar.xz"))
10424 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10426 `(#:glib-or-gtk? #t
10427 ;; Tests require GDK.
10430 (modify-phases %standard-phases
10431 (add-after 'unpack 'skip-gtk-update-icon-cache
10433 ;; Don't create 'icon-theme.cache'
10434 (substitute* "meson_post_install.py"
10435 (("gtk-update-icon-cache") (which "true")))
10437 (add-after 'unpack 'patch-docbook-xml
10438 (lambda* (#:key inputs #:allow-other-keys)
10439 ;; Avoid a network connection attempt during the build.
10440 (substitute* '("docs/reference/cheese.xml"
10441 "docs/reference/cheese-docs.xml")
10442 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10443 (string-append (assoc-ref inputs "docbook-xml")
10444 "/xml/dtd/docbook/docbookx.dtd")))
10446 (add-after 'install 'wrap-cheese
10447 (lambda* (#:key inputs outputs #:allow-other-keys)
10448 (let ((out (assoc-ref outputs "out"))
10449 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10450 (wrap-program (string-append out "/bin/cheese")
10451 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10453 (build-system meson-build-system)
10455 `(("docbook-xsl" ,docbook-xsl)
10456 ("docbook-xml" ,docbook-xml-4.3)
10457 ("gettext" ,gettext-minimal)
10458 ("glib:bin" ,glib "bin")
10459 ("gtk-doc" ,gtk-doc/stable)
10460 ("itstool" ,itstool)
10461 ("libxml2" ,libxml2)
10462 ("libxslt" ,libxslt)
10463 ("pkg-config" ,pkg-config)
10466 `(("gnome-video-effects" ,gnome-video-effects)
10467 ("clutter" ,clutter)
10468 ("clutter-gst" ,clutter-gst)
10469 ("clutter-gtk" ,clutter-gtk)
10470 ("libcanberra" ,libcanberra)
10471 ("gdk-pixbuf" ,gdk-pixbuf)
10473 ("gstreamer" ,gstreamer)))
10475 `(("gnome-desktop" ,gnome-desktop)
10476 ("gobject-introspection" ,gobject-introspection)
10477 ("gst-plugins-base" ,gst-plugins-base)
10478 ("gst-plugins-good" ,gst-plugins-good)
10479 ("gst-plugins-bad" ,gst-plugins-bad)
10482 ("libxtst" ,libxtst)))
10483 (home-page "https://wiki.gnome.org/Apps/Cheese")
10484 (synopsis "Webcam photo booth software for GNOME")
10486 "Cheese uses your webcam to take photos and videos. Cheese can also
10487 apply fancy special effects and lets you share the fun with others.")
10488 (license license:gpl2+)))
10490 (define-public passwordsafe
10492 (name "passwordsafe")
10497 (uri (git-reference
10498 (url "https://gitlab.gnome.org/World/PasswordSafe")
10500 (file-name (git-file-name name version))
10502 (base32 "1xh64bbg10gnfzlck5jvqy2zk6hbk9cyqgv85xc9kbdvs8n4lhgh"))))
10503 (build-system meson-build-system)
10505 `(#:glib-or-gtk? #t
10507 (modify-phases %standard-phases
10508 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10509 (lambda* (#:key outputs #:allow-other-keys)
10510 (let ((prog (string-append (assoc-ref outputs "out")
10511 "/bin/gnome-passwordsafe"))
10512 (pylib (string-append (assoc-ref outputs "out")
10514 ,(version-major+minor
10515 (package-version python))
10516 "/site-packages")))
10518 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10519 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10522 `(("desktop-file-utils" ,desktop-file-utils)
10523 ("gettext" ,gettext-minimal)
10524 ("glib:bin" ,glib "bin")
10525 ("gobject-introspection" ,gobject-introspection)
10526 ("gtk+:bin" ,gtk+ "bin")
10527 ("pkg-config" ,pkg-config)))
10530 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10532 ("libhandy" ,libhandy)
10533 ("libpwquality" ,libpwquality)
10534 ("python-pygobject" ,python-pygobject)
10535 ("python-pykeepass" ,python-pykeepass)))
10536 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10537 (synopsis "Password manager for the GNOME desktop")
10539 "Password Safe is a password manager which makes use of the KeePass v4
10540 format. It integrates perfectly with the GNOME desktop and provides an easy
10541 and uncluttered interface for the management of password databases.")
10542 (license license:gpl3+)))
10544 (define-public sound-juicer
10546 (name "sound-juicer")
10551 (uri (string-append "mirror://gnome/sources/" name "/"
10552 (version-major+minor version) "/"
10553 name "-" version ".tar.xz"))
10556 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10557 (build-system glib-or-gtk-build-system)
10559 `(("desktop-file-utils" ,desktop-file-utils)
10560 ("intltool" ,intltool)
10561 ("itstool" ,itstool)
10562 ("pkg-config" ,pkg-config)
10563 ("xmllint" ,libxml2)))
10566 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10567 ("gstreamer" ,gstreamer)
10568 ("gst-plugins-base" ,gst-plugins-base)
10569 ("gst-plugins-good" ,gst-plugins-good)
10570 ("iso-codes" ,iso-codes)
10571 ("libbrasero-media3" ,brasero)
10572 ("libcanberra" ,libcanberra)
10573 ("libdiscid" ,libdiscid)
10574 ("libmusicbrainz" ,libmusicbrainz)
10576 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10577 (synopsis "Audio music cd ripper")
10578 (description "Sound Juicer extracts audio from compact discs and convert it
10579 into audio files that a personal computer or digital audio player can play.
10580 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10581 mp3, Ogg Vorbis and FLAC")
10582 (license license:gpl2+)))
10584 (define-public soundconverter
10586 (name "soundconverter")
10591 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10592 version "/+download/"
10593 "soundconverter-" version ".tar.xz"))
10596 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10597 (build-system glib-or-gtk-build-system)
10599 `(#:imported-modules ((guix build python-build-system)
10600 (guix build glib-or-gtk-build-system)
10601 ,@%gnu-build-system-modules)
10603 #:modules ((guix build glib-or-gtk-build-system)
10605 ((guix build gnu-build-system) #:prefix gnu:)
10606 ((guix build python-build-system) #:prefix python:))
10609 (modify-phases %standard-phases
10610 (add-after 'install 'wrap-soundconverter-for-python
10611 (assoc-ref python:%standard-phases 'wrap))
10612 (add-after 'install 'wrap-soundconverter
10613 (lambda* (#:key inputs outputs #:allow-other-keys)
10614 (let ((out (assoc-ref outputs "out"))
10615 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10616 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10617 (wrap-program (string-append out "/bin/soundconverter")
10618 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10619 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10622 `(("intltool" ,intltool)
10623 ("pkg-config" ,pkg-config)
10624 ("glib:bin" ,glib "bin")))
10628 ("python-pygobject" ,python-pygobject)
10629 ("gstreamer" ,gstreamer)
10630 ("gst-plugins-base" ,gst-plugins-base)))
10631 (home-page "https://soundconverter.org/")
10632 (synopsis "Convert between audio formats with a graphical interface")
10634 "SoundConverter supports converting between many audio formats including
10635 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10636 configurable file renaming. ")
10637 (license license:gpl3)))
10639 (define-public workrave
10642 (version "1.10.43")
10646 (uri (git-reference
10647 (url "https://github.com/rcaelers/workrave")
10648 (commit (string-append "v" (string-map
10649 (match-lambda (#\. #\_) (chr chr))
10651 (file-name (git-file-name name version))
10653 (base32 "1baa9qjzd4b3q1zy5vhvyrx0hyz17mk237373ca48647897kw4cr"))))
10654 (build-system glib-or-gtk-build-system)
10656 ;; The only tests are maintainer tests (in po/), which fail.
10658 (inputs `(("glib" ,glib)
10660 ("gdk-pixbuf" ,gdk-pixbuf)
10664 ("libxtst" ,libxtst)
10668 ("libxscrnsaver" ,libxscrnsaver)))
10669 (native-inputs `(("boost" ,boost)
10670 ("pkg-config" ,pkg-config)
10671 ("gettext" ,gettext-minimal)
10672 ("autoconf" ,autoconf)
10673 ("autoconf-archive" , autoconf-archive)
10674 ("automake" ,automake)
10675 ("libtool" ,libtool)
10676 ("intltool" ,intltool)
10677 ("gobject-introspection" ,gobject-introspection)
10678 ("python3" ,python-3)
10679 ("python-jinja2" ,python-jinja2)))
10680 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10682 "Workrave is a program that assists in the recovery and prevention of
10683 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10684 micro-pauses and rest breaks, and restricts you to your daily limit.")
10685 (home-page "http://www.workrave.org")
10686 (license license:gpl3+)))
10688 (define-public ghex
10694 (uri (string-append "mirror://gnome/sources/ghex/"
10695 (version-major+minor version) "/"
10696 "ghex-" version ".tar.xz"))
10699 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10700 (build-system meson-build-system)
10702 '(#:glib-or-gtk? #t
10704 (modify-phases %standard-phases
10705 (add-after 'unpack 'skip-gtk-update-icon-cache
10706 ;; Don't create 'icon-theme.cache'.
10708 (substitute* "meson_post_install.py"
10709 (("gtk-update-icon-cache") (which "true")))
10712 `(("pkg-config" ,pkg-config)
10713 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10714 ("gnome-common" ,gnome-common)
10716 ("intltool" ,intltool)
10717 ("yelp-tools" ,yelp-tools)
10718 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10722 (synopsis "GNOME hexadecimal editor")
10723 (description "The GHex program can view and edit files in two ways:
10724 hexadecimal or ASCII. It is useful for editing binary files in general.")
10725 (home-page "https://wiki.gnome.org/Apps/Ghex")
10726 (license license:gpl2)))
10728 (define-public libdazzle
10734 (uri (string-append "mirror://gnome/sources/libdazzle/"
10735 (version-major+minor version) "/"
10736 "libdazzle-" version ".tar.xz"))
10739 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10740 (build-system meson-build-system)
10743 (modify-phases %standard-phases
10744 (add-before 'check 'pre-check
10746 ;; Tests require a running X server.
10747 (system "Xvfb :1 &")
10748 (setenv "DISPLAY" ":1")
10751 `(("glib" ,glib "bin") ; glib-compile-resources
10752 ("pkg-config" ,pkg-config)
10754 ("xorg-server" ,xorg-server-for-tests)))
10757 ("gobject-introspection" ,gobject-introspection)
10760 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10761 (synopsis "Companion library to GObject and Gtk+")
10762 (description "The libdazzle library is a companion library to GObject and
10763 Gtk+. It provides various features that the authors wish were in the
10764 underlying library but cannot for various reasons. In most cases, they are
10765 wildly out of scope for those libraries. In other cases, they are not quite
10766 generic enough to work for everyone.")
10767 (license license:gpl3+)))
10769 (define-public evolution
10775 (uri (string-append "mirror://gnome/sources/evolution/"
10776 (version-major+minor version) "/"
10777 "evolution-" version ".tar.xz"))
10780 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))
10781 (patches (search-patches "evolution-CVE-2020-11879.patch"))))
10782 (build-system cmake-build-system)
10784 `(#:imported-modules (,@%cmake-build-system-modules
10785 (guix build glib-or-gtk-build-system))
10786 #:modules ((guix build cmake-build-system)
10787 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10788 (guix build utils))
10790 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10791 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10792 ; in four years and cannot be built.
10794 (modify-phases %standard-phases
10795 ;; The build system attempts to install user interface modules to the
10796 ;; output directory of the "evolution-data-server" package. This
10797 ;; change redirects that change.
10798 (add-after 'unpack 'patch-ui-module-dir
10799 (lambda* (#:key outputs #:allow-other-keys)
10800 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10801 (("\\$\\{edsuimoduledir\\}")
10802 (string-append (assoc-ref outputs "out")
10803 "/lib/evolution-data-server/ui-modules")))
10805 (add-after 'install 'glib-or-gtk-compile-schemas
10806 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10807 (add-after 'install 'glib-or-gtk-wrap
10808 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10810 `(("glib" ,glib "bin") ; glib-mkenums
10811 ("pkg-config" ,pkg-config)
10812 ("intltool" ,intltool)
10813 ("itstool" ,itstool)))
10815 `(("enchant" ,enchant)
10816 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10818 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10819 ("gnome-autoar" ,gnome-autoar)
10820 ("gnome-desktop" ,gnome-desktop)
10822 ("highlight" ,highlight)
10823 ("libcanberra" ,libcanberra)
10824 ("libgweather" ,libgweather)
10825 ("libnotify" ,libnotify)
10826 ("libsoup" ,libsoup)
10828 ("openldap" ,openldap)
10829 ("webkitgtk" ,webkitgtk)
10831 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10832 (synopsis "Manage your email, contacts and schedule")
10833 (description "Evolution is a personal information management application
10834 that provides integrated mail, calendaring and address book
10836 ;; See COPYING for details.
10837 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10838 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10839 license:lgpl2.1+)))) ; smime/lib/*
10841 (define-public gthumb
10847 (uri (string-append "mirror://gnome/sources/gthumb/"
10848 (version-major+minor version) "/"
10849 "gthumb-" version ".tar.xz"))
10852 "04n2sgasc03kiczyzkq362pjilj12hq2r5qj07lynqr9rivkzdys"))))
10853 (build-system meson-build-system)
10855 `(#:glib-or-gtk? #t
10857 ;; Ensure the RUNPATH contains all installed library locations.
10858 (list (string-append "-Dc_link_args=-Wl,-rpath="
10859 (assoc-ref %outputs "out")
10860 "/lib/gthumb/extensions")
10861 (string-append "-Dcpp_link_args=-Wl,-rpath="
10862 (assoc-ref %outputs "out")
10863 "/lib/gthumb/extensions"))))
10865 `(("pkg-config" ,pkg-config)
10866 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10867 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10868 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10869 ("intltool" ,intltool)
10870 ("itstool" ,itstool)))
10874 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10875 ("gstreamer" ,gstreamer)
10876 ("clutter" ,clutter)
10877 ("clutter-gst" ,clutter-gst)
10878 ("clutter-gtk" ,clutter-gtk)
10879 ("libjpeg" ,libjpeg-turbo)
10880 ("libtiff" ,libtiff)
10881 ("libraw" ,libraw)))
10882 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10883 (synopsis "GNOME image viewer and browser")
10884 (description "GThumb is an image viewer, browser, organizer, editor and
10885 advanced image management tool")
10886 (license license:gpl2+)))
10888 (define-public terminator
10890 (name "terminator")
10895 (uri (string-append "https://github.com/gnome-terminator/terminator/"
10896 "releases/download/v" version "/"
10897 name "-" version ".tar.gz"))
10899 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
10900 (build-system python-build-system)
10902 `(("gettext" ,gettext-minimal)
10903 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10904 ("gobject-introspection" ,gobject-introspection)
10905 ("intltool" ,intltool)
10906 ("pkg-config" ,pkg-config)
10907 ("python-psutil" ,python-psutil)
10908 ("python-pytest-runner" ,python-pytest-runner)
10909 ("python-pytest" ,python-pytest)))
10912 ("dbus-glib" ,dbus-glib)
10913 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10915 ("python" ,python-wrapper)
10916 ("python-dbus" ,python-dbus)
10917 ("python-notify2" ,python-notify2)
10918 ("python-pycairo" ,python-pycairo)
10919 ("python-pygobject" ,python-pygobject)
10922 `(("python-configobj" ,python-configobj)))
10924 ;; One test out of 28 fails due to dbus-python and python-notify; skip
10927 #:imported-modules ((guix build glib-or-gtk-build-system)
10928 ,@%python-build-system-modules)
10929 #:modules ((guix build python-build-system)
10930 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10931 (guix build utils))
10933 (modify-phases %standard-phases
10934 (add-after 'unpack 'handle-dbus-python
10936 ;; python-dbus cannot be found but it's really there. See
10937 ;; https://github.com/SpotlightKid/jack-select/issues/2
10938 (substitute* "setup.py"
10939 (("'dbus-python',") ""))
10941 (add-after 'install 'wrap-program
10942 (lambda* (#:key outputs #:allow-other-keys)
10943 (let ((prog (string-append (assoc-ref outputs "out")
10944 "/bin/terminator"))
10945 (pylib (string-append (assoc-ref outputs "out")
10947 ,(version-major+minor
10948 (package-version python))
10949 "/site-packages")))
10951 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10952 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10954 (add-after 'wrap-program 'glib-or-gtk-wrap
10955 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10956 (home-page "https://gnome-terminator.org/")
10957 (synopsis "Store and run multiple GNOME terminals in one window")
10959 "Terminator allows you to run multiple GNOME terminals in a grid and
10960 tabs, and it supports drag and drop re-ordering of terminals.")
10961 (license license:gpl2)))
10963 (define-public libhandy
10970 (uri (git-reference
10971 (url "https://gitlab.gnome.org/GNOME/libhandy")
10973 (file-name (git-file-name name version))
10975 (base32 "0345x7gif6yjm95y62lww71lj84wfwsr2p32r3iww8shavb8scyk"))))
10976 (build-system meson-build-system)
10978 `(#:configure-flags
10979 '("-Dglade_catalog=enabled"
10982 (modify-phases %standard-phases
10983 (add-before 'check 'pre-check
10985 ;; Tests require a running X server.
10986 (system "Xvfb :1 &")
10987 (setenv "DISPLAY" ":1")
10992 ("libxml2" ,libxml2)))
10994 `(("glib:bin" ,glib "bin")
10995 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10997 ("gtk-doc" ,gtk-doc/stable)
10998 ("pkg-config" ,pkg-config)
10999 ("gettext" ,gettext-minimal)
11001 ;; Test suite dependencies.
11002 ("xorg-server" ,xorg-server-for-tests)
11003 ("hicolor-icon-theme" ,hicolor-icon-theme)))
11004 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11005 (synopsis "Library full of GTK+ widgets for mobile phones")
11006 (description "The aim of the handy library is to help with developing user
11007 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11008 for usage on small and big screens.")
11009 (license license:lgpl2.1+)))
11011 (define-public libhandy-0.0
11018 (uri (git-reference
11019 (url "https://gitlab.gnome.org/GNOME/libhandy")
11020 (commit (string-append "v" version))))
11021 (file-name (git-file-name "libhandy" version))
11023 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11025 (substitute-keyword-arguments (package-arguments libhandy)
11026 ((#:configure-flags flags)
11027 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11029 (define-public libgit2-glib
11031 (name "libgit2-glib")
11032 (version "0.99.0.1")
11035 (uri (string-append "mirror://gnome/sources/" name "/"
11036 (version-major+minor version) "/"
11037 name "-" version ".tar.xz"))
11040 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
11041 (build-system meson-build-system)
11043 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
11044 ("gobject-introspection" ,gobject-introspection)
11045 ("pkg-config" ,pkg-config)
11046 ("python-pygobject" ,python-pygobject)
11047 ("python-wrapper" ,python-wrapper)
11051 ("libssh2" ,libssh2)))
11053 `(;; In Requires of libgit2-glib.pc.
11054 ("libgit2" ,libgit2)))
11055 (synopsis "GLib wrapper around the libgit2 Git access library")
11056 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11057 access library. It only implements the core plumbing functions, not really the
11058 higher level porcelain stuff.")
11059 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11060 (license license:gpl2+)))
11062 (define-public gitg
11068 (uri (string-append "mirror://gnome/sources/" name "/"
11069 (version-major+minor version) "/"
11070 name "-" version ".tar.xz"))
11073 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11074 (build-system meson-build-system)
11076 `(#:glib-or-gtk? #t
11078 (modify-phases %standard-phases
11079 (add-after 'unpack 'disable-post-install-partially
11081 (substitute* "meson_post_install.py"
11082 (("'python'") ; there are no python sources to compile
11083 (string-append "'" (which "true") "'"))
11084 (("gtk-update-icon-cache") (which "true")))
11086 (add-after 'unpack 'fix-test-sources
11088 (substitute* "tests/libgitg/test-commit.vala"
11089 (("/bin/bash") (which "bash")))
11091 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11092 (lambda* (#:key outputs #:allow-other-keys)
11093 (let ((prog (string-append (assoc-ref outputs "out")
11096 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11100 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11102 ("gtkspell3" ,gtkspell3)
11103 ("gtksourceview" ,gtksourceview-3)
11104 ("json-glib" ,json-glib)
11105 ("libdazzle" ,libdazzle)
11107 ("libgit2-glib" ,libgit2-glib)
11108 ("libpeas" ,libpeas)
11109 ("libsecret" ,libsecret)
11110 ("libsoup" ,libsoup)
11111 ("libxml2" ,libxml2)))
11113 `(("glib:bin" ,glib "bin")
11114 ("gtk+:bin" ,gtk+ "bin")
11115 ("gobject-introspection" ,gobject-introspection)
11116 ("intltool" ,intltool)
11117 ("pkg-config" ,pkg-config)
11119 (synopsis "Graphical user interface for git")
11121 "gitg is a graphical user interface for git. It aims at being a small,
11122 fast and convenient tool to visualize the history of git repositories.
11123 Besides visualization, gitg also provides several utilities to manage your
11124 repository and commit your work.")
11125 (home-page "https://wiki.gnome.org/Apps/Gitg")
11126 (license license:gpl2+)))
11128 (define-public gamin
11134 (uri (string-append "mirror://gnome/sources/" name "/"
11135 (version-major+minor version) "/"
11136 name "-" version ".tar.bz2"))
11139 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11140 (build-system gnu-build-system)
11143 (modify-phases %standard-phases
11144 (add-after 'unpack 'remove-deprecated-macro
11146 (substitute* '("server/gam_node.c"
11147 "server/gam_subscription.h"
11148 "server/gam_node.h"
11149 "server/gam_subscription.c")
11150 (("G_CONST_RETURN") "const"))
11155 `(("intltool" ,intltool)
11156 ("pkg-config" ,pkg-config)))
11157 (home-page "https://people.gnome.org/~veillard/gamin/")
11158 (synopsis "File alteration monitor")
11160 "Gamin is a file and directory monitoring system defined to be a subset
11161 of the FAM (File Alteration Monitor) system. This is a service provided by a
11162 library which detects when a file or a directory has been modified.")
11163 (license license:gpl2+)))
11165 (define-public gnome-mahjongg
11167 (name "gnome-mahjongg")
11171 (uri (git-reference
11172 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11174 (file-name (git-file-name name version))
11177 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11178 (build-system meson-build-system)
11180 `(#:glib-or-gtk? #t))
11182 `(("appstream-glib" ,appstream-glib)
11183 ("gettext" ,gettext-minimal)
11184 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11185 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11186 ("itstool" ,itstool)
11187 ("pkg-config" ,pkg-config)
11190 `(("dconf" ,dconf)))
11194 ("librsvg" ,librsvg)))
11195 (synopsis "Mahjongg tile-matching game")
11196 (description "GNOME Mahjongg is a game based on the classic Chinese
11197 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11198 and a high score table.")
11199 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11200 (license license:gpl2+)))
11202 (define-public gnome-themes-extra
11204 (name "gnome-themes-extra")
11209 (uri (string-append "mirror://gnome/sources/" name "/"
11210 (version-major+minor version) "/" name "-"
11211 version ".tar.xz"))
11214 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11215 (build-system gnu-build-system)
11217 '(#:configure-flags
11218 ;; Don't create 'icon-theme.cache'.
11219 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11220 (true (string-append coreutils "/bin/true")))
11221 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11223 `(("glib:bin" ,glib "bin")
11224 ("intltool" ,intltool)
11225 ("pkg-config" ,pkg-config)))
11230 ("librsvg" ,librsvg)
11231 ("libxml2" ,libxml2)))
11232 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11233 (synopsis "GNOME Extra Themes")
11234 (description "This package provides themes and related elements that don't
11235 really fit in other upstream packages. It offers legacy support for GTK+ 2
11236 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11237 index files needed for Adwaita to be used outside of GNOME.")
11238 (license license:lgpl2.1+)))
11240 (define-public gnote
11247 (uri (string-append "mirror://gnome/sources/" name "/"
11248 (version-major+minor version) "/"
11249 "gnote-" version ".tar.xz"))
11251 (base32 "1adjfjhmsm2d33999khjyzvli6kiz1jlzavn77jhd49kfzhxa9y4"))))
11252 (build-system glib-or-gtk-build-system)
11254 `(("desktop-file-utils" ,desktop-file-utils)
11255 ("glib:bin" ,glib "bin")
11256 ("gobject-introspection" ,gobject-introspection)
11257 ("intltool" ,intltool)
11258 ("itstool" ,itstool)
11259 ("pkg-config" ,pkg-config)
11260 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11262 `(("glibmm" ,glibmm)
11263 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11267 ("libsecret" ,libsecret)
11268 ("libuuid" ,util-linux "lib")
11269 ("libxml2" ,libxml2)
11270 ("libxslt" ,libxslt)))
11271 (synopsis "Note-taking application for the GNOME desktop")
11273 "Gnote is a note-taking application written for the GNOME desktop
11275 (home-page "https://wiki.gnome.org/Apps/Gnote")
11276 (license license:gpl3+)))
11278 (define-public polari
11284 (uri (string-append "mirror://gnome/sources/polari/"
11285 (version-major+minor version)
11286 "/polari-" version ".tar.xz"))
11289 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11290 (build-system meson-build-system)
11292 `(#:glib-or-gtk? #t
11294 (modify-phases %standard-phases
11295 (add-after 'unpack 'skip-gtk-update-icon-cache
11297 (substitute* "meson/meson-postinstall.sh"
11298 (("gtk-update-icon-cache") (which "true")))
11300 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11301 (lambda* (#:key outputs #:allow-other-keys)
11302 (let ((prog (string-append (assoc-ref outputs "out")
11305 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11309 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11313 ("libsecret" ,libsecret)
11314 ("libsoup" ,libsoup)
11315 ("telepathy-glib" ,telepathy-glib)
11316 ("telepathy-logger" ,telepathy-logger)))
11318 `(("glib:bin" ,glib "bin")
11319 ("gobject-introspection" ,gobject-introspection)
11320 ("intltool" ,intltool)
11321 ("pkg-config" ,pkg-config)
11322 ("yelp-tools" ,yelp-tools)))
11324 `(("telepathy-idle" ,telepathy-idle)
11325 ("telepathy-mission-control" ,telepathy-mission-control)))
11326 (synopsis "Simple IRC Client")
11328 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11329 integrate seamlessly with the GNOME desktop.")
11330 (home-page "https://wiki.gnome.org/Apps/Polari")
11331 (license license:gpl2+)))
11333 (define-public gnome-boxes
11335 (name "gnome-boxes")
11340 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11341 (version-major+minor version) "/"
11342 "gnome-boxes-" version ".tar.xz"))
11344 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11345 (build-system meson-build-system)
11347 '(#:glib-or-gtk? #t
11348 #:configure-flags (list "-Drdp=false"
11349 (string-append "-Dc_link_args=-Wl,-rpath="
11350 (assoc-ref %outputs "out")
11351 "/lib/gnome-boxes"))))
11353 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11354 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11355 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11356 ("itstool" ,itstool)
11357 ("intltool" ,intltool)
11359 ("pkg-config" ,pkg-config)))
11361 `(("libarchive" ,libarchive)
11362 ("glib-networking" ,glib-networking) ;for TLS support
11363 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11365 ("gtk-vnc" ,gtk-vnc)
11366 ("libosinfo" ,libosinfo)
11367 ("libsecret" ,libsecret)
11368 ("libsoup" ,libsoup)
11370 ("libvirt" ,libvirt)
11371 ("libvirt-glib" ,libvirt-glib)
11372 ("libxml" ,libxml2)
11373 ("spice-gtk" ,spice-gtk)
11374 ("sparql-query" ,sparql-query)
11376 ("webkitgtk" ,webkitgtk)
11377 ("tracker" ,tracker)
11378 ("libgudev" ,libgudev)))
11379 (home-page "https://wiki.gnome.org/Apps/Boxes")
11380 (synopsis "View, access, and manage remote and virtual systems")
11381 (description "GNOME Boxes is a simple application to view, access, and
11382 manage remote and virtual systems. Note that this application requires the
11383 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11384 @command{info '(guix) Virtualization Services'} to learn how to configure
11385 these services on the Guix System.")
11387 ;; For data/icons/empty-boxes.png.
11390 license:lgpl2.0+))))
11392 (define-public geary
11398 (uri (git-reference
11399 (url "https://gitlab.gnome.org/GNOME/geary")
11401 (file-name (git-file-name name version))
11404 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))
11405 (patches (search-patches "geary-CVE-2020-24661.patch"))))
11406 (build-system meson-build-system)
11408 `(#:glib-or-gtk? #t
11409 #:phases (modify-phases %standard-phases
11410 (add-after 'unpack 'disable-failing-tests
11412 (substitute* "test/meson.build"
11413 (("test\\('client-tests', geary_test_client_bin\\)")
11416 (add-after 'unpack 'disable-postinstall-script
11418 (substitute* "meson.build"
11419 (("meson.add_install_script\\(\
11420 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11423 (add-before 'check 'setup-xvfb
11425 (system "Xvfb :1 &")
11426 (setenv "DISPLAY" ":1")
11429 `(("enchant" ,enchant)
11433 ("gmime" ,gmime-2.6)
11434 ("gnome-online-accounts:lib"
11435 ,gnome-online-accounts "lib")
11438 ("iso-codes" ,iso-codes)
11439 ("json-glib" ,json-glib)
11440 ("libcanberra" ,libcanberra)
11442 ("libhandy" ,libhandy-0.0)
11443 ("libpeas" ,libpeas)
11444 ("libsecret" ,libsecret)
11445 ("libunwind" ,libunwind)
11447 ("webkitgtk" ,webkitgtk)
11450 `(("appstream-glib" ,appstream-glib)
11451 ("cmake-minimal" ,cmake-minimal)
11452 ("desktop-file-utils" ,desktop-file-utils)
11453 ("gettext" ,gettext-minimal)
11454 ("glib:bin" ,glib "bin")
11455 ("gobject-introspection" ,gobject-introspection)
11456 ("itstool" ,itstool)
11457 ("libarchive" ,libarchive)
11458 ("libxml2" ,libxml2)
11459 ("pkg-config" ,pkg-config)
11461 ("xvfb" ,xorg-server-for-tests)))
11462 (synopsis "GNOME email application built around conversations")
11464 "Geary collects related messages together into conversations,
11465 making it easy to find and follow your discussions. Full-text and keyword
11466 search makes it easy to find the email you are looking for. Geary's
11467 full-featured composer lets you send rich, styled text with images, links, and
11468 lists, but also send lightweight, easy to read text messages. Geary
11469 automatically picks up your existing GNOME Online Accounts, and adding more is
11470 easy. Geary has a clean, fast, modern interface that works like you want it
11472 (home-page "https://wiki.gnome.org/Apps/Geary")
11478 license:cc-by-sa3.0
11479 license:public-domain
11483 (define-public glabels
11490 (uri (string-append "mirror://gnome/sources/" name "/"
11491 (version-major+minor version) "/"
11492 "glabels-" version ".tar.xz"))
11494 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11495 (build-system glib-or-gtk-build-system)
11497 `(("gettext" ,gettext-minimal)
11498 ("glib:bin" ,glib "bin")
11499 ("intltool" ,intltool)
11500 ("itstool" ,itstool)
11501 ("pkg-config" ,pkg-config)))
11504 ("librsvg" ,librsvg)
11505 ("libxml2" ,libxml2)))
11506 (home-page "https://glabels.org/")
11507 (synopsis "Program for creating labels and business cards")
11509 "gLabels is a program for creating labels and business cards. It is
11510 designed to work with various laser/ink-jet peel-off label and business
11511 card sheets that you’ll find at most office supply stores.")
11512 (license license:gpl3+)))
11514 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11515 (define-public gnome-latex
11517 (name "gnome-latex")
11522 (uri (string-append "mirror://gnome/sources/" name "/"
11523 (version-major+minor version) "/"
11524 "gnome-latex-" version ".tar.xz"))
11526 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11527 (build-system glib-or-gtk-build-system)
11529 `(("gettext" ,gettext-minimal)
11530 ("glib:bin" ,glib "bin")
11531 ("gobject-introspection" ,gobject-introspection)
11532 ("gtk-doc" ,gtk-doc/stable)
11533 ("intltool" ,intltool)
11534 ("itstool" ,itstool)
11535 ("pkg-config" ,pkg-config)
11541 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11544 ("gtksourceview" ,gtksourceview)
11547 ("uchardet" ,uchardet)))
11548 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11549 (synopsis "LaTeX editor for the GNOME desktop")
11551 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11552 such as build tools, completion of LaTeX commands, structure navigation,
11553 symbol tables, document templates, project management, spell-checking, menus
11555 (license license:gpl3+)))
11557 (define-public setzer
11564 (uri (git-reference
11565 (url "https://github.com/cvfosammmm/Setzer")
11566 (commit (string-append "v" version))))
11567 (file-name (git-file-name name version))
11569 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11570 (build-system meson-build-system)
11572 `(#:glib-or-gtk? #t
11574 (modify-phases %standard-phases
11575 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11576 (lambda* (#:key outputs #:allow-other-keys)
11577 (let ((prog (string-append (assoc-ref outputs "out")
11579 (pylib (string-append (assoc-ref outputs "out")
11581 ,(version-major+minor
11582 (package-version python))
11583 "/site-packages")))
11585 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11586 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11589 `(("desktop-file-utils" ,desktop-file-utils)
11590 ("gettext" ,gettext-minimal)
11591 ("glib:bin" ,glib "bin")
11592 ("gobject-introspection" ,gobject-introspection)
11593 ("gtk+:bin" ,gtk+ "bin")))
11595 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11598 ("gtksourceview" ,gtksourceview)
11600 ("poppler" ,poppler)
11601 ("python-pdfminer" ,python-pdfminer-six)
11602 ("python-pycairo" ,python-pycairo)
11603 ("python-pygobject" ,python-pygobject)
11604 ("python-pyxdg" ,python-pyxdg)
11605 ("webkitgtk" ,webkitgtk)
11606 ("xdg-utils" ,xdg-utils)))
11607 (home-page "https://www.cvfosammmm.org/setzer/")
11608 (synopsis "LaTeX editor written in Python with GTK+")
11610 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11611 GTK+. It integrates well with the GNOME desktop environment.")
11612 (license license:gpl3+)))
11614 (define-public libratbag
11621 (uri (git-reference
11622 (url "https://github.com/libratbag/libratbag")
11623 (commit (string-append "v" version))))
11624 (file-name (git-file-name name version))
11626 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11627 (build-system meson-build-system)
11629 `(#:configure-flags
11630 (list "-Dsystemd=false"
11631 "-Dlogind-provider=elogind")
11633 (modify-phases %standard-phases
11634 (add-after 'install 'wrap
11635 (lambda* (#:key inputs outputs #:allow-other-keys)
11636 (let* ((out (assoc-ref outputs "out"))
11637 (site (string-append
11639 ,(version-major+minor (package-version python))
11641 (evdev (string-append
11642 (assoc-ref inputs "python-evdev") site))
11643 (pygo (string-append
11644 (assoc-ref inputs "python-pygobject") site))
11646 `("PYTHONPATH" = (,evdev ,pygo))))
11647 (wrap-program (string-append out "/bin/" "ratbagctl")
11652 ("pkg-config" ,pkg-config)
11654 ("valgrind" ,valgrind)))
11657 ("json-glib" ,json-glib)
11658 ("libevdev" ,libevdev)
11659 ("libsystemd" ,elogind)
11660 ("libunistring" ,libunistring)
11661 ("python-evdev" ,python-evdev)
11662 ("python-pygobject" ,python-pygobject)
11664 (home-page "https://github.com/libratbag/libratbag")
11665 (synopsis "DBus daemon and utility for configuring gaming mice")
11666 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11667 configure input devices, mainly gaming mice. The daemon provides a generic
11668 way to access the various features exposed by these mice and abstracts away
11669 hardware-specific and kernel-specific quirks. There is also the
11670 @command{ratbagctl} command line interface for configuring devices.
11672 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11675 The ratbagd DBus service can be enabled by adding the following service to
11676 your operating-system definition:
11678 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11679 (license license:expat)))
11681 (define-public piper
11688 (uri (git-reference
11689 (url "https://github.com/libratbag/piper")
11692 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11693 (file-name (git-file-name name version))))
11694 (build-system meson-build-system)
11696 `(("gettext" ,gettext-minimal)
11697 ("glib:bin" ,glib "bin")
11698 ("gobject-introspection" ,gobject-introspection)
11699 ("pkg-config" ,pkg-config)
11700 ("python-flake8" ,python-flake8)))
11702 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11704 ("gtk:bin" ,gtk+ "bin")
11705 ("librsvg" ,librsvg)
11706 ("python-evdev" ,python-evdev)
11707 ("python-lxml" ,python-lxml)
11708 ("python-pycairo" ,python-pycairo)
11709 ("python-pygobject" ,python-pygobject)))
11711 `(#:imported-modules ((guix build python-build-system)
11712 ,@%meson-build-system-modules)
11713 #:modules (((guix build python-build-system) #:prefix python:)
11714 (guix build meson-build-system)
11715 (guix build utils))
11716 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11718 (modify-phases %standard-phases
11719 (add-after 'unpack 'dont-update-gtk-icon-cache
11721 (substitute* "meson.build"
11722 (("meson.add_install_script('meson_install.sh')") ""))
11724 ;; TODO: Switch to wrap-script when it is fixed.
11725 (add-after 'install 'wrap-python
11726 (assoc-ref python:%standard-phases 'wrap))
11727 (add-after 'wrap-python 'wrap
11728 (lambda* (#:key outputs #:allow-other-keys)
11730 (string-append (assoc-ref outputs "out" )"/bin/piper")
11731 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11733 (home-page "https://github.com/libratbag/piper/")
11734 (synopsis "Configure bindings and LEDs on gaming mice")
11735 (description "Piper is a GTK+ application for configuring gaming mice with
11736 onboard configuration for key bindings via libratbag. Piper requires
11737 a @command{ratbagd} daemon running with root privileges. It can be run
11738 manually as root, but is preferably configured as a DBus service that can
11739 launch on demand. This can be configured by enabling the following service,
11740 provided there is a DBus service present:
11742 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11743 (license license:gpl2)))
11745 (define-public parlatype
11752 (uri (git-reference
11753 (url "https://github.com/gkarsay/parlatype")
11754 (commit (string-append "v" version))))
11755 (file-name (git-file-name name version))
11757 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11758 (build-system meson-build-system)
11760 `(#:glib-or-gtk? #t
11761 #:tests? #f ;require internet access
11763 (modify-phases %standard-phases
11764 (add-after 'install 'wrap-parlatype
11765 ;; Add gstreamer plugin provided in this package to system's
11767 (lambda* (#:key outputs #:allow-other-keys)
11768 (let* ((out (assoc-ref outputs "out"))
11769 (gst-plugin-path (string-append
11770 out "/lib/gstreamer-1.0/"
11772 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11773 (wrap-program (string-append out "/bin/parlatype")
11774 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11777 `(("appstream-glib" ,appstream-glib)
11778 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11779 ("gettext" ,gettext-minimal)
11780 ("glib" ,glib "bin") ;for glib-compile-resources
11781 ("pkg-config" ,pkg-config)
11782 ("yelp-tools" ,yelp-tools)))
11784 `(("gst-plugins-base" ,gst-plugins-base)
11785 ("gst-plugins-good" ,gst-plugins-good)
11786 ("gstreamer" ,gstreamer)
11788 ("pocketsphinx" ,pocketsphinx)
11789 ("pulseaudio" ,pulseaudio)
11790 ("sphinxbase" ,sphinxbase)))
11791 (home-page "http://gkarsay.github.io/parlatype/")
11792 (synopsis "GNOME audio player for transcription")
11793 (description "Parlatype is an audio player for the GNOME desktop
11794 environment. Its main purpose is the manual transcription of spoken
11796 (license license:gpl3+)))
11798 (define-public jsonrpc-glib
11800 (name "jsonrpc-glib")
11804 (uri (string-append "mirror://gnome/sources/" name "/"
11805 (version-major+minor version) "/"
11806 name "-" version ".tar.xz"))
11809 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11810 (build-system meson-build-system)
11812 `(("json-glib" ,json-glib)
11815 `(("pkg-config" ,pkg-config)
11816 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11817 ("gobject-introspection" ,gobject-introspection)
11819 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11820 (synopsis "JSON-RPC library for GLib")
11821 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11822 peers in either a synchronous or asynchronous fashion. It also allows
11823 communicating using the GVariant serialization format instead of JSON when
11824 both peers support it. You might want that when communicating on a single
11825 host to avoid parser overhead and memory-allocator fragmentation.")
11826 (license license:lgpl2.1+)))
11828 (define-public feedbackd
11831 (version "0.0.0+git20200527")
11834 (uri (git-reference
11835 (url "https://source.puri.sm/Librem5/feedbackd.git")
11836 (commit (string-append "v" version))))
11837 (file-name (git-file-name name version))
11840 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11841 (build-system meson-build-system)
11843 `(("glib:bin" ,glib "bin")
11844 ("gobject-introspection" ,gobject-introspection)
11845 ("pkg-config" ,pkg-config)
11850 ("json-glib" ,json-glib)
11851 ("libgudev" ,libgudev)))
11853 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11854 (synopsis "Haptic/visual/audio feedback via DBus")
11855 (description "Feedbackd provides a DBus daemon to act on events to provide
11856 haptic, visual and audio feedback. It offers the libfeedbackd library and
11857 GObject introspection bindings.")
11858 (home-page "https://source.puri.sm/Librem5/feedbackd")
11859 (license (list license:lgpl2.1+ ; libfeedbackd
11860 license:lgpl3+)))) ; the rest
11862 (define-public sysprof
11869 (uri (string-append "mirror://gnome/sources/sysprof/"
11870 (version-major+minor version) "/"
11871 "sysprof-" version ".tar.xz"))
11873 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11874 (build-system meson-build-system)
11876 `(#:configure-flags
11877 (list (string-append "-Dsystemdunitdir="
11880 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11882 (modify-phases %standard-phases
11883 (add-after 'unpack 'patch-install-script
11885 (substitute* "build-aux/meson/post_install.sh"
11886 (("gtk-update-icon-cache") "true")
11887 (("update-desktop-database") "true"))
11892 ("libdazzle" ,libdazzle)
11893 ("polkit" ,polkit)))
11895 `(("gettext" ,gettext-minimal)
11896 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11897 ("itstool" ,itstool)
11898 ("pkg-config" ,pkg-config)
11899 ("xmllint" ,libxml2)))
11900 ;; This home page is so woefully out of date as to be essentially useless.
11901 ;; (home-page "http://www.sysprof.com")
11902 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11903 (synopsis "System-wide performance profiler for GNU/Linux")
11905 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11906 GNU/Linux system including the kernel and all user-space applications. This
11907 helps find the function(s) in which a program spends most of its time.
11909 It uses the kernel's built-in @code{ptrace} feature and handles shared
11910 libraries. Applications do not need to be recompiled--or even restarted.")
11911 (license license:gpl3+)))
11913 (define-public gnome-builder
11915 (name "gnome-builder")
11919 (uri (string-append "mirror://gnome/sources/" name "/"
11920 (version-major+minor version) "/"
11921 name "-" version ".tar.xz"))
11924 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11925 (build-system meson-build-system)
11927 `(#:configure-flags (list "-Dnetwork_tests=false"
11928 ;; TODO: Enable all plugins...
11929 "-Dplugin_clang=false"
11930 "-Dplugin_flatpak=false"
11931 "-Dplugin_glade=false"
11932 ;; XXX: This one has been shown not to work in
11933 ;; <https://issues.guix.gnu.org/45272>
11934 "-Dplugin_jedi=false"
11935 ;; ... except this one.
11936 "-Dplugin_update_manager=false")
11938 (modify-phases %standard-phases
11939 (add-after 'unpack 'patch-meson
11940 (lambda* (#:key inputs #:allow-other-keys)
11941 (substitute* "build-aux/meson/post_install.py"
11942 (("gtk-update-icon-cache") "true")
11943 (("update-desktop-database") "true"))
11944 (substitute* "src/libide/meson.build"
11946 (string-append (assoc-ref inputs "python-pygobject")
11949 (add-after 'configure 'fix-ninja
11951 ;; #43296: meson(?) incorrectly assumes we want to link
11952 ;; this PIE against a static libselinux.
11953 (substitute* "build.ninja"
11954 (("libselinux\\.a") "libselinux.so"))
11956 (add-before 'check 'pre-check
11958 (system "Xvfb :1 &")
11959 (setenv "DISPLAY" ":1")
11962 `(("devhelp" ,devhelp)
11965 ("json-glib" ,json-glib)
11966 ("jsonrpc-glib" ,jsonrpc-glib)
11967 ("libdazzle" ,libdazzle)
11968 ("libgit2-glib" ,libgit2-glib)
11969 ("libpeas" ,libpeas)
11970 ("python-pygobject" ,python-pygobject)
11971 ("sysprof" ,sysprof)
11972 ("template-glib" ,template-glib)
11974 ("webkitgtk" ,webkitgtk)))
11976 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11978 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11979 ("glib:bin" ,glib "bin")
11980 ("gettext" ,gettext-minimal)
11981 ("pkg-config" ,pkg-config)
11983 ("xorg-server" ,xorg-server-for-tests)))
11984 (home-page "https://wiki.gnome.org/Apps/Builder")
11985 (synopsis "Toolsmith for GNOME-based applications")
11986 (description "Builder aims to be an integrated development
11987 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11988 auto-completion, a mini code map, documentation browsing, Git integration, an
11989 integrated profiler via Sysprof, debugging support, and more.")
11990 (license license:gpl3+)))
11992 (define-public komikku
11999 (uri (git-reference
12000 (url "https://gitlab.com/valos/Komikku/")
12001 (commit (string-append "v" version))))
12002 (file-name (git-file-name name version))
12005 "0ifcwp5fw74yypxkq7i0yc3002bsvj3p5c1icspr8s2kyjyllm6i"))))
12006 (build-system meson-build-system)
12008 `(#:glib-or-gtk? #t
12010 (modify-phases %standard-phases
12011 (add-after 'unpack 'patch-sources
12013 (substitute* "komikku/utils.py"
12014 (("from komikku\\.servers import get_servers_list")
12015 ;; code following that line should migrate old databases
12016 ;; but the line itself results in an import error
12017 "return data_dir_path"))))
12018 (add-after 'unpack 'skip-gtk-update-icon-cache
12020 (substitute* "meson_post_install.py"
12021 (("gtk-update-icon-cache") (which "true")))
12023 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12024 (lambda* (#:key outputs #:allow-other-keys)
12025 (let ((prog (string-append (assoc-ref outputs "out")
12028 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
12029 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12033 ("libhandy" ,libhandy)
12034 ("libnotify" ,libnotify)
12035 ("libsecret" ,libsecret)
12036 ("python-beautifulsoup4" ,python-beautifulsoup4)
12037 ("python-brotli" ,python-brotli)
12038 ("python-dateparser" ,python-dateparser)
12039 ("python-keyring" ,python-keyring)
12040 ("python-lxml" ,python-lxml)
12041 ("python-magic" ,python-magic)
12042 ("python-pillow" ,python-pillow)
12043 ("python-pure-protobuf" ,python-pure-protobuf)
12044 ("python-pycairo" ,python-pycairo)
12045 ("python-pygobject" ,python-pygobject)
12046 ("python-requests" ,python-requests)
12047 ("python-unidecode" ,python-unidecode)
12048 ("webkitgtk" ,webkitgtk)))
12050 `(("desktop-file-utils" ,desktop-file-utils)
12051 ("gettext" ,gettext-minimal)
12052 ("glib:bin" ,glib "bin")
12053 ("gobject-introspection" ,gobject-introspection)
12054 ("pkg-config" ,pkg-config)))
12055 (home-page "https://gitlab.com/valos/Komikku")
12056 (synopsis "Manga reader for GNOME")
12057 (description "Komikku is an online/offline manga reader for GNOME,
12058 developed with the aim of being used with the Librem 5 phone.")
12059 (license license:gpl3+)))
12061 (define-public libgda
12068 (uri (git-reference
12069 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12070 (commit (string-append "LIBGDA_" (string-replace-substring
12071 version "." "_")))))
12072 (file-name (git-file-name name version))
12074 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12075 (build-system gnu-build-system)
12077 `(#:configure-flags '("--enable-vala")
12078 ;; There's a race between check_cnc_lock and check_threaded_cnc
12079 ;; in tests/multi-threading.
12080 #:parallel-tests? #f
12082 (modify-phases %standard-phases
12083 (add-after 'unpack 'fix-glade-install
12085 (substitute* "configure.ac"
12086 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12087 "${datadir}/glade/catalogs")
12088 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12089 "${datadir}/glade/pixmaps"))
12091 (add-before 'check 'pre-check
12092 (lambda* (#:key inputs #:allow-other-keys)
12093 ;; Tests require a running X server.
12094 (system "Xvfb :1 &")
12095 (setenv "DISPLAY" ":1")
12097 (add-after 'install 'symlink-glade-module
12098 (lambda* (#:key outputs #:allow-other-keys)
12099 (let* ((shlib "libgda-ui-5.0.so")
12100 (out (assoc-ref outputs "out"))
12101 (out/lib (string-append out "/lib"))
12102 (moduledir (string-append out/lib "/glade/modules")))
12103 (mkdir-p moduledir)
12104 (symlink (string-append out/lib "/" shlib)
12105 (string-append moduledir "/" shlib))
12108 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12113 ("libsecret" ,libsecret)
12114 ("libxslt" ,libxslt)
12115 ("openssl" ,openssl)
12118 `(("autoconf" ,autoconf)
12119 ("autoconf-archive" ,autoconf-archive)
12120 ("automake" ,automake)
12121 ("glib:bin" ,glib "bin")
12122 ("gnome-common" ,gnome-common)
12123 ("gobject-introspection" ,gobject-introspection)
12124 ("gtk-doc" ,gtk-doc/stable)
12125 ("intltool" ,intltool)
12126 ("libtool" ,libtool)
12127 ("pkg-config" ,pkg-config)
12130 ("xorg-server" ,xorg-server-for-tests)
12131 ("yelp-tools" ,yelp-tools)))
12132 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12133 (synopsis "Uniform data access")
12135 "GNU Data Access (GDA) is an attempt to provide uniform access to
12136 different kinds of data sources (databases, information servers, mail spools,
12137 etc). It is a complete architecture that provides all you need to access
12139 (license license:lgpl2.1+)))
12141 (define-public gtranslator
12143 (name "gtranslator")
12147 (uri (string-append "mirror://gnome/sources/" name "/"
12148 (version-major+minor version) "/"
12149 name "-" version ".tar.xz"))
12152 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12153 (build-system meson-build-system)
12155 `(("json-glib" ,json-glib)
12156 ("jsonrpc-glib" ,jsonrpc-glib)
12157 ("gettext" ,gettext-minimal)
12160 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12162 ("libdazzle" ,libdazzle)
12164 ("libsoup" ,libsoup)))
12166 `(("glib:bin" ,glib "bin")
12167 ("itstool" ,itstool)
12168 ("pkg-config" ,pkg-config)))
12170 `(("gtksourceview" ,gtksourceview))) ; required for source view
12172 `(#:build-type "release"
12175 (modify-phases %standard-phases
12176 (add-after 'unpack 'skip-gtk-update-icon-cache
12178 (substitute* "build-aux/meson/meson_post_install.py"
12179 (("gtk-update-icon-cache") (which "true")))
12181 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12182 (synopsis "Translation making program")
12184 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12185 for the GNOME 3.x platform with many features. It aims to be a very complete
12186 editing environment for translation issues within the GNU gettext/GNOME desktop
12188 (license license:gpl3+)))
12191 (define-public ocrfeeder
12197 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12198 (version-major+minor version) "/"
12199 "ocrfeeder-" version ".tar.xz"))
12202 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12203 (build-system gnu-build-system)
12206 (modify-phases %standard-phases
12208 'install 'wrap-program
12209 (lambda* (#:key outputs #:allow-other-keys)
12210 (let ((prog (string-append (assoc-ref outputs "out")
12211 "/bin/" "ocrfeeder"))
12212 (pylib (string-append (assoc-ref outputs "out")
12214 ,(version-major+minor
12215 (package-version python))
12216 "/site-packages")))
12218 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
12219 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12222 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12223 ("gobject-introspection" ,gobject-introspection)
12224 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12225 ("intltool" ,intltool)
12226 ("itstool" ,itstool)
12227 ("pkg-config" ,pkg-config)
12228 ("xmllint" ,libxml2)))
12230 `(("enchant" ,enchant)
12232 ("goocanvas" ,goocanvas)
12234 ("gtkspell3" ,gtkspell3)
12235 ("libjpeg" ,libjpeg-turbo)
12236 ("libtiff" ,libtiff)
12239 ("python" ,python-wrapper)
12240 ("python-pygobject" ,python-pygobject)
12241 ("python-odfpy" ,python-odfpy)
12242 ("python-pillow" ,python-pillow)
12243 ("python-pyenchant" ,python-pyenchant)
12244 ("python-reportlab" ,python-reportlab)
12245 ("python-sane" ,python-sane)
12246 ("sane-backends" ,sane-backends)
12247 ("tesseract-ocr" ,tesseract-ocr)))
12248 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12249 (synopsis "Complete OCR Suite")
12250 (description "OCRFeeder is a complete Optical Character Recognition and
12251 Document Analysis and Recognition program.")
12252 (license license:gpl3+)))