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>
62 ;;; This file is part of GNU Guix.
64 ;;; GNU Guix is free software; you can redistribute it and/or modify it
65 ;;; under the terms of the GNU General Public License as published by
66 ;;; the Free Software Foundation; either version 3 of the License, or (at
67 ;;; your option) any later version.
69 ;;; GNU Guix is distributed in the hope that it will be useful, but
70 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
71 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
72 ;;; GNU General Public License for more details.
74 ;;; You should have received a copy of the GNU General Public License
75 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
77 (define-module (gnu packages gnome)
78 #:use-module (gnu packages)
79 #:use-module (gnu packages admin)
80 #:use-module (gnu packages aidc)
81 #:use-module (gnu packages aspell)
82 #:use-module (gnu packages autotools)
83 #:use-module (gnu packages avahi)
84 #:use-module (gnu packages backup)
85 #:use-module (gnu packages base)
86 #:use-module (gnu packages bash)
87 #:use-module (gnu packages bison)
88 #:use-module (gnu packages boost)
89 #:use-module (gnu packages build-tools)
90 #:use-module (gnu packages calendar)
91 #:use-module (gnu packages cdrom)
92 #:use-module (gnu packages check)
93 #:use-module (gnu packages cmake)
94 #:use-module (gnu packages compression)
95 #:use-module (gnu packages crates-io)
96 #:use-module (gnu packages crates-graphics)
97 #:use-module (gnu packages crates-gtk)
98 #:use-module (gnu packages cups)
99 #:use-module (gnu packages curl)
100 #:use-module (gnu packages cyrus-sasl)
101 #:use-module (gnu packages databases)
102 #:use-module (gnu packages dbm)
103 #:use-module (gnu packages djvu)
104 #:use-module (gnu packages dns)
105 #:use-module (gnu packages docbook)
106 #:use-module (gnu packages documentation)
107 #:use-module (gnu packages enchant)
108 #:use-module (gnu packages flex)
109 #:use-module (gnu packages fonts)
110 #:use-module (gnu packages file-systems)
111 #:use-module (gnu packages fontutils)
112 #:use-module (gnu packages freedesktop)
113 #:use-module (gnu packages game-development)
114 #:use-module (gnu packages gcc)
115 #:use-module (gnu packages gettext)
116 #:use-module (gnu packages ghostscript)
117 #:use-module (gnu packages gimp)
118 #:use-module (gnu packages gl)
119 #:use-module (gnu packages glib)
120 #:use-module (gnu packages gnupg)
121 #:use-module (gnu packages gnuzilla)
122 #:use-module (gnu packages geo)
123 #:use-module (gnu packages gperf)
124 #:use-module (gnu packages graphviz)
125 #:use-module (gnu packages gstreamer)
126 #:use-module (gnu packages gtk)
127 #:use-module (gnu packages guile)
128 #:use-module (gnu packages ibus)
129 #:use-module (gnu packages icu4c)
130 #:use-module (gnu packages image)
131 #:use-module (gnu packages imagemagick)
132 #:use-module (gnu packages inkscape)
133 #:use-module (gnu packages iso-codes)
134 #:use-module (gnu packages kerberos)
135 #:use-module (gnu packages libcanberra)
136 #:use-module (gnu packages libffi)
137 #:use-module (gnu packages libunistring)
138 #:use-module (gnu packages libunwind)
139 #:use-module (gnu packages libusb)
140 #:use-module (gnu packages linux)
141 #:use-module (gnu packages lirc)
142 #:use-module (gnu packages lua)
143 #:use-module (gnu packages mail)
144 #:use-module (gnu packages mp3)
145 #:use-module (gnu packages multiprecision)
146 #:use-module (gnu packages music)
147 #:use-module (gnu packages ncurses)
148 #:use-module (gnu packages nettle)
149 #:use-module (gnu packages networking)
150 #:use-module (gnu packages ninja)
151 #:use-module (gnu packages node)
152 #:use-module (gnu packages nss)
153 #:use-module (gnu packages ocr)
154 #:use-module (gnu packages openldap)
155 #:use-module (gnu packages package-management)
156 #:use-module (gnu packages password-utils)
157 #:use-module (gnu packages pcre)
158 #:use-module (gnu packages pdf)
159 #:use-module (gnu packages perl)
160 #:use-module (gnu packages photo)
161 #:use-module (gnu packages php)
162 #:use-module (gnu packages pkg-config)
163 #:use-module (gnu packages polkit)
164 #:use-module (gnu packages popt)
165 #:use-module (gnu packages pretty-print)
166 #:use-module (gnu packages protobuf)
167 #:use-module (gnu packages pulseaudio)
168 #:use-module (gnu packages python)
169 #:use-module (gnu packages python-compression)
170 #:use-module (gnu packages python-crypto)
171 #:use-module (gnu packages python-web)
172 #:use-module (gnu packages python-xyz)
173 #:use-module (gnu packages rdesktop)
174 #:use-module (gnu packages rdf)
175 #:use-module (gnu packages readline)
176 #:use-module (gnu packages ruby)
177 #:use-module (gnu packages rust)
178 #:use-module (gnu packages samba)
179 #:use-module (gnu packages scanner)
180 #:use-module (gnu packages sdl)
181 #:use-module (gnu packages search)
182 #:use-module (gnu packages selinux)
183 #:use-module (gnu packages slang)
184 #:use-module (gnu packages speech)
185 #:use-module (gnu packages spice)
186 #:use-module (gnu packages sqlite)
187 #:use-module (gnu packages ssh)
188 #:use-module (gnu packages swig)
189 #:use-module (gnu packages tex)
190 #:use-module (gnu packages time)
191 #:use-module (gnu packages tls)
192 #:use-module (gnu packages valgrind)
193 #:use-module (gnu packages version-control)
194 #:use-module (gnu packages video)
195 #:use-module (gnu packages virtualization)
196 #:use-module (gnu packages vpn)
197 #:use-module (gnu packages web)
198 #:use-module (gnu packages webkit)
199 #:use-module (gnu packages xdisorg)
200 #:use-module (gnu packages xiph)
201 #:use-module (gnu packages xml)
202 #:use-module (gnu packages xorg)
203 #:use-module (gnu artwork)
204 #:use-module (guix build-system cargo)
205 #:use-module (guix build-system cmake)
206 #:use-module (guix build-system glib-or-gtk)
207 #:use-module (guix build-system gnu)
208 #:use-module (guix build-system meson)
209 #:use-module (guix build-system python)
210 #:use-module (guix build-system trivial)
211 #:use-module (guix download)
212 #:use-module (guix git-download)
213 #:use-module ((guix licenses) #:prefix license:)
214 #:use-module (guix packages)
215 #:use-module (guix utils)
216 #:use-module (guix gexp)
217 #:use-module (ice-9 match)
218 #:use-module (srfi srfi-1))
220 (define-public gupnp-igd
228 (string-append "mirror://gnome/sources/" name "/"
229 (version-major+minor version) "/"
230 name "-" version ".tar.xz"))
232 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
233 (build-system meson-build-system)
234 (outputs '("out" "doc"))
236 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
237 #:configure-flags (list "-Dgtk_doc=true")
239 (modify-phases %standard-phases
240 (add-after 'unpack 'patch-docbook-xml
241 (lambda* (#:key inputs #:allow-other-keys)
242 (with-directory-excursion "doc"
243 (substitute* "gupnp-igd-docs.xml"
244 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
245 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
246 "/xml/dtd/docbook/"))))
248 (add-after 'install 'move-doc
249 (lambda* (#:key outputs #:allow-other-keys)
250 (let* ((out (assoc-ref outputs "out"))
251 (doc (assoc-ref outputs "doc")))
252 (mkdir-p (string-append doc "/share"))
254 (string-append out "/share/gtk-doc")
255 (string-append doc "/share/gtk-doc"))
258 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
259 ("docbook-xsl" ,docbook-xsl)
260 ("glib:bin" ,glib "bin")
261 ("gobject-introspection" ,gobject-introspection)
262 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
263 ("gtk-doc" ,gtk-doc/stable)
264 ("pkg-config" ,pkg-config)))
267 ("glib-networking" ,glib-networking)
270 ("libsoup" ,libsoup)))
271 (synopsis "UPnP IGD for GNOME")
272 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
273 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
274 (license license:lgpl2.1+)))
276 (define-public brasero
282 (uri (string-append "mirror://gnome/sources/brasero/"
283 (version-major+minor version) "/"
284 "brasero-" version ".tar.xz"))
287 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
288 (build-system glib-or-gtk-build-system)
290 `(#:configure-flags (list
291 (string-append "--with-girdir="
292 (assoc-ref %outputs "out")
294 (string-append "--with-typelibdir="
295 (assoc-ref %outputs "out")
296 "/lib/girepository-1.0"))
298 (modify-phases %standard-phases
299 (add-before 'configure 'embed-growisofs
300 (lambda* (#:key inputs #:allow-other-keys)
301 (substitute* "plugins/growisofs/burn-growisofs.c"
302 (("\"growisofs") (string-append "\"" (which "growisofs"))))
305 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
307 `(("intltool" ,intltool)
309 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
310 ("gobject-introspection" ,gobject-introspection)
311 ("pkg-config" ,pkg-config)))
313 `(("dvd+rw-tools" ,dvd+rw-tools)
315 ("gnome-doc-utils" ,gnome-doc-utils)
316 ("gstreamer" ,gstreamer)
317 ("gst-plugins-base" ,gst-plugins-base)
319 ("libcanberra" ,libcanberra)
321 ("libnotify" ,libnotify)
324 ("totem-pl-parser" ,totem-pl-parser)))
325 (home-page "https://wiki.gnome.org/Apps/Brasero")
326 (synopsis "CD/DVD burning tool for Gnome")
327 (description "Brasero is an application to burn CD/DVD for the Gnome
328 Desktop. It is designed to be as simple as possible and has some unique
329 features to enable users to create their discs easily and quickly.")
330 (license license:gpl2+)))
332 (define-public libcloudproviders
334 (name "libcloudproviders")
340 (string-append "mirror://gnome/sources/" name "/"
341 (version-major+minor version) "/"
342 name "-" version ".tar.xz"))
344 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
345 (build-system meson-build-system)
346 (outputs '("out" "doc"))
348 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
351 "-Denable-gtk-doc=true")
353 (modify-phases %standard-phases
354 (add-after 'install 'move-doc
355 (lambda* (#:key outputs #:allow-other-keys)
356 (let* ((out (assoc-ref outputs "out"))
357 (doc (assoc-ref outputs "doc")))
358 (mkdir-p (string-append doc "/share"))
360 (string-append out "/share/gtk-doc")
361 (string-append doc "/share/gtk-doc"))
364 `(("glib:bin" ,glib "bin")
365 ("gobject-introspection" ,gobject-introspection)
366 ("gtk-doc" ,gtk-doc/stable)
367 ("pkg-config" ,pkg-config)
371 ("glib-networking" ,glib-networking)))
372 (synopsis "Cloudproviders Integration API")
373 (description "Libcloudproviders is a DBus API that allows cloud storage sync
374 clients to expose their services. Clients such as file managers and desktop
375 environments can then provide integrated access to the cloud providers
377 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
378 (license license:lgpl3+)))
380 (define-public libgrss
388 (string-append "mirror://gnome/sources/" name "/"
389 (version-major+minor version) "/"
390 name "-" version ".tar.xz"))
392 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
393 (build-system glib-or-gtk-build-system)
394 (outputs '("out" "doc"))
399 (string-append "--with-html-dir="
400 (assoc-ref %outputs "doc")
401 "/share/gtk-doc/html"))
403 (modify-phases %standard-phases
404 (add-after 'unpack 'patch-docbook-xml
405 (lambda* (#:key inputs #:allow-other-keys)
406 (with-directory-excursion "doc/reference"
407 (substitute* "libgrss-docs.sgml"
408 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
409 (string-append (assoc-ref inputs "docbook-xml")
410 "/xml/dtd/docbook/"))))
413 `(("docbook-xml" ,docbook-xml-4.1.2)
414 ("gobject-introspection" ,gobject-introspection)
415 ("gtk-doc" ,gtk-doc/stable)
416 ("pkg-config" ,pkg-config)))
420 ("libxml2" ,libxml2)))
421 (synopsis "Glib library for feeds")
422 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
424 (home-page "https://wiki.gnome.org/Projects/Libgrss")
425 (license license:lgpl3+)))
427 (define-public gnome-js-common
429 (name "gnome-js-common")
435 (string-append "mirror://gnome/sources/" name "/"
436 (version-major+minor version) "/"
437 name "-" version ".tar.gz"))
439 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
440 (build-system glib-or-gtk-build-system)
444 "--disable-static")))
446 `(("gettext" ,gettext-minimal)
447 ("intltool" ,intltool)
448 ("pkg-config" ,pkg-config)))
449 (synopsis "Common JS Modules")
450 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
452 (home-page "https://wiki.gnome.org/Projects/Seed")
453 (license license:gpl3+)))
463 (string-append "mirror://gnome/sources/" name "/"
464 (version-major+minor version) "/"
465 name "-" version ".tar.xz"))
467 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
469 (search-patches "seed-webkit.patch"))))
470 (build-system glib-or-gtk-build-system)
471 (outputs '("out" "doc"))
476 "--enable-xorg-module"
477 (string-append "--with-html-dir="
478 (assoc-ref %outputs "doc")
479 "/share/gtk-doc/html")
482 (modify-phases %standard-phases
483 ;; The seed-webkit.patch patches configure.ac.
484 ;; So the source files need to be re-bootstrapped.
485 (add-after 'unpack 'trigger-bootstrap
487 (for-each delete-file
492 (add-after 'unpack 'patch-tests
493 (lambda* (#:key outputs #:allow-other-keys)
494 (substitute* (find-files "." "\\.js$")
495 (("#!/usr/bin/env seed")
496 (string-append "#!" (getcwd) "/src/seed")))
498 (add-before 'build 'patch-docbook-xml
499 (lambda* (#:key inputs #:allow-other-keys)
500 (with-directory-excursion "doc"
501 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
502 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
503 (string-append (assoc-ref inputs "docbook-xml")
504 "/xml/dtd/docbook/"))))
507 `(("autoconf" ,autoconf)
508 ("automake" ,automake)
509 ("docbook-xml" ,docbook-xml-4.1.2)
510 ("gettext" ,gettext-minimal)
511 ("gobject-introspection" ,gobject-introspection)
512 ("gtk-doc" ,gtk-doc/stable)
513 ("intltool" ,intltool)
515 ("pkg-config" ,pkg-config)))
519 ("dbus-glib" ,dbus-glib)
520 ("gnome-js-common" ,gnome-js-common)
526 ("readline" ,readline)
528 ("xscrnsaver" ,libxscrnsaver)))
531 ("webkit" ,webkitgtk)))
532 (synopsis "GObject JavaScriptCore bridge")
533 (description "Seed is a library and interpreter, dynamically bridging
534 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
535 GNOME platform. It serves as something which enables you to write standalone
536 applications in JavaScript, or easily enable your application to be extensible
538 (home-page "https://wiki.gnome.org/Projects/Seed")
539 (license license:lgpl2.0+)))
541 (define-public libdmapsharing
543 (name "libdmapsharing")
549 (string-append "https://www.flyn.org/projects/"
550 name "/" name "-" version ".tar.gz"))
552 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
553 (build-system glib-or-gtk-build-system)
554 (outputs '("out" "doc"))
556 `(#:tests? #f ; Tests require networking.
560 (string-append "--with-html-dir="
561 (assoc-ref %outputs "doc")
562 "/share/gtk-doc/html"))
564 (modify-phases %standard-phases
565 (add-after 'unpack 'patch-docbook-xml
566 (lambda* (#:key inputs #:allow-other-keys)
567 (with-directory-excursion "doc"
568 (substitute* "libdmapsharing-4.0-docs.xml"
569 (("http://www.oasis-open.org/docbook/xml/4.3/")
570 (string-append (assoc-ref inputs "docbook-xml")
571 "/xml/dtd/docbook/"))))
575 ("docbook-xml" ,docbook-xml-4.3)
576 ("gobject-introspection" ,gobject-introspection)
577 ("pedansee" ,pedansee)
578 ("pkg-config" ,pkg-config)
582 ("gdk-pixbuf" ,gdk-pixbuf+svg)
584 ("gst-plugins-base" ,gst-plugins-base)
588 ("glib-networking" ,glib-networking)
589 ("gstreamer" ,gstreamer)
590 ("libsoup" ,libsoup)))
591 (synopsis "Media management library")
592 (description "Libdmapsharing is a library which allows programs to access,
593 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
594 It is written in C using GObject and libsoup.")
595 (home-page "https://launchpad.net/gtx")
596 (license license:lgpl2.1+)))
606 (string-append "https://launchpad.net/gtx/trunk/"
607 version "/+download/gtx-" version ".tar.gz"))
609 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
610 (build-system glib-or-gtk-build-system)
611 (outputs '("out" "doc"))
617 (string-append "--with-html-dir="
618 (assoc-ref %outputs "doc")
619 "/share/gtk-doc/html"))))
621 `(("gobject-introspection" ,gobject-introspection)
622 ("gtk-doc" ,gtk-doc/stable)
623 ("pkg-config" ,pkg-config)))
626 (synopsis "GLib Testing Framework")
627 (description "GTX is a small collection of convenience functions intended to
628 enhance the GLib testing framework. With specific emphasis on easing the pain
629 of writing test cases for asynchronous interactions.")
630 (home-page "https://launchpad.net/gtx")
631 (license license:lgpl2.1+)))
641 (string-append "https://launchpad.net/dee/1.0/"
642 version "/+download/dee-" version ".tar.gz"))
644 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
646 (search-patches "dee-vapi.patch"))))
647 (build-system glib-or-gtk-build-system)
648 (outputs '("out" "doc"))
652 "--disable-maintainer-flags"
653 (string-append "--with-pygi-overrides-dir="
654 (assoc-ref %outputs "out")
656 ,(version-major+minor
657 (package-version python))
658 "/site-packages/gi/overrides")
659 (string-append "--with-html-dir="
660 (assoc-ref %outputs "doc")
661 "/share/gtk-doc/html"))
663 (modify-phases %standard-phases
664 (add-after 'unpack 'patch-docbook-xml
665 (lambda* (#:key inputs #:allow-other-keys)
666 (with-directory-excursion "doc/reference/dee-1.0"
667 (substitute* "dee-1.0-docs.sgml"
668 (("http://www.oasis-open.org/docbook/xml/4.3/")
669 (string-append (assoc-ref inputs "docbook-xml")
670 "/xml/dtd/docbook/"))))
672 (add-after 'patch-docbook-xml 'disable-failing-tests
674 (substitute* "tests/test-icu.c"
675 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
677 (("setup, test_ascii_folder, teardown\\);")
680 (add-before 'check 'pre-check
682 ;; Tests require a running dbus-daemon.
683 (system "dbus-daemon &")
684 ;; For missing '/etc/machine-id'.
685 (setenv "DBUS_FATAL_WARNINGS" "0")
689 ("dbus-test-runner" ,dbus-test-runner)
690 ("docbook-xml" ,docbook-xml-4.3)
691 ("gobject-introspection" ,gobject-introspection)
692 ("gtk-doc" ,gtk-doc/stable)
693 ;; Would only be required by configure flag "--enable-extended-tests".
695 ("pkg-config" ,pkg-config)
696 ("pygobject" ,python-pygobject)
697 ("python" ,python-wrapper)
703 (synopsis "Model to synchronize multiple instances over DBus")
704 (description "Dee is a library that uses DBus to provide objects allowing
705 you to create Model-View-Controller type programs across DBus. It also consists
706 of utility objects which extend DBus allowing for peer-to-peer discoverability
707 of known objects without needing a central registrar.")
708 (home-page "https://launchpad.net/dee")
715 (define-public zeitgeist
724 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
726 (string-append "v" version))))
728 (git-file-name name version))
730 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
731 (build-system glib-or-gtk-build-system)
735 "--enable-explain-queries"
739 (modify-phases %standard-phases
740 (add-after 'unpack 'patch-docbook-xml
741 (lambda* (#:key inputs #:allow-other-keys)
742 (with-directory-excursion "doc/libzeitgeist"
743 (substitute* "zeitgeist-gtkdoc-index.sgml"
744 (("http://www.oasis-open.org/docbook/xml/4.3/")
745 (string-append (assoc-ref inputs "docbook-xml")
746 "/xml/dtd/docbook/"))))
748 (add-after 'patch-docbook-xml 'disable-failing-tests
750 (substitute* "test/direct/Makefile.am"
753 (substitute* "test/c/Makefile.am"
757 (add-before 'bootstrap 'remove-autogen-script
759 ;; To honor `autoreconf -vif` by build-system.
760 (delete-file "autogen.sh")
763 `(("autoconf" ,autoconf)
764 ("automake" ,automake)
765 ("docbook-xml" ,docbook-xml-4.3)
766 ("gettext" ,gettext-minimal)
767 ("gobject-introspection" ,gobject-introspection)
768 ("gtk-doc" ,gtk-doc/stable)
770 ("pkg-config" ,pkg-config)
772 ("xorg-server-for-tests" ,xorg-server-for-tests)))
776 ("json-glib" ,json-glib)
778 ("telepathy-glib" ,telepathy-glib)
779 ("python" ,python-wrapper)
780 ("python-rdflib" ,python-rdflib)
781 ("xapian-config" ,xapian)))
784 (synopsis "Desktop Activity Logging")
785 (description "Zeitgeist is a service which logs the users’s activities and
786 events, anywhere from files opened to websites visited and conversations. It
787 makes this information readily available for other applications to use. It is
788 able to establish relationships between items based on similarity and usage
790 (home-page "https://zeitgeist.freedesktop.org/")
797 (define-public gnome-recipes
799 (name "gnome-recipes")
804 (url "https://gitlab.gnome.org/GNOME/recipes")
806 (file-name (git-file-name name version))
809 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
810 (build-system meson-build-system)
814 (modify-phases %standard-phases
815 (add-after 'unpack 'skip-gtk-update-icon-cache
817 (substitute* "meson_post_install.py"
818 (("gtk-update-icon-cache") (which "true")))
820 (add-after 'unpack 'unpack-libgd
821 (lambda* (#:key inputs #:allow-other-keys)
822 (let ((libgd (assoc-ref inputs "libgd")))
823 (copy-recursively libgd "subprojects/libgd")
827 ("gnome-autoar" ,gnome-autoar)
828 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
831 ("json-glib" ,json-glib)
832 ("libcanberra" ,libcanberra)
836 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
837 ("gettext" ,gettext-minimal)
838 ("glib:bin" ,glib "bin")
844 (url "https://gitlab.gnome.org/GNOME/libgd")
845 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
846 (file-name (git-file-name "libgd" version))
848 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
849 ("pkg-config" ,pkg-config)))
850 (home-page "https://wiki.gnome.org/Apps/Recipes")
851 (synopsis "Discover recipes for preparing food")
852 (description "GNOME Recipes helps you discover what to cook today,
853 tomorrow, the rest of the week and for special occasions.")
854 (license license:gpl3+)))
856 (define-public gnome-photos
858 (name "gnome-photos")
864 (string-append "mirror://gnome/sources/" name "/"
865 (version-major+minor version) "/"
866 name "-" version ".tar.xz"))
869 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
870 (build-system meson-build-system)
874 (list "-Ddogtail=false" ; Not available
875 ;; Required for RUNPATH validation.
876 (string-append "-Dc_link_args=-Wl,-rpath="
877 (assoc-ref %outputs "out") "/lib/gnome-photos"))
879 (modify-phases %standard-phases
880 (add-after 'install 'wrap-gnome-photos
881 (lambda* (#:key inputs outputs #:allow-other-keys)
883 ((out (assoc-ref outputs "out")))
884 (wrap-program (string-append out "/bin/gnome-photos")
885 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
889 ("desktop-file-utils" ,desktop-file-utils)
890 ("gettext" ,gettext-minimal)
892 ("glib:bin" ,glib "bin")
893 ("gobject-introspection" ,gobject-introspection)
894 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
895 ("gtk+:bin" ,gtk+ "bin")
897 ("pkg-config" ,pkg-config)))
901 ("gdk-pixbuf" ,gdk-pixbuf+svg)
903 ("geocode-glib" ,geocode-glib)
905 ("gnome-online-accounts" ,gnome-online-accounts)
906 ("gnome-online-miners" ,gnome-online-miners)
908 ("grilo-plugins" ,grilo-plugins)
910 ("libdazzle" ,libdazzle)
911 ("libgdata" ,libgdata)
912 ("libgfbgraph" ,gfbgraph)
913 ("libjpeg" ,libjpeg-turbo)
916 ("pygobject" ,python-pygobject)
918 ("tracker-miners" ,tracker-miners)))
919 (synopsis "Access, organize and share your photos on GNOME desktop")
920 (description "GNOME Photos is a simple and elegant replacement for using a
921 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
922 cloud integration is offered through GNOME Online Accounts.")
923 (home-page "https://wiki.gnome.org/Apps/Photos")
924 (license license:gpl3+)))
926 (define-public gnome-music
934 (string-append "mirror://gnome/sources/" name "/"
935 (version-major+minor version) "/"
936 name "-" version ".tar.xz"))
939 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
940 (build-system meson-build-system)
944 (modify-phases %standard-phases
945 (add-after 'install 'wrap-gnome-music
946 (lambda* (#:key inputs outputs #:allow-other-keys)
948 ((out (assoc-ref outputs "out"))
949 (pylib (string-append out "/lib/python"
950 ,(version-major+minor
951 (package-version python))
953 (wrap-program (string-append out "/bin/gnome-music")
954 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
955 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
956 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
957 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
960 `(("desktop-file-utils" ,desktop-file-utils)
961 ("gettext" ,gettext-minimal)
962 ("glib:bin" ,glib "bin")
963 ("gobject-introspection" ,gobject-introspection)
964 ("gtk+:bin" ,gtk+ "bin")
965 ("itstools" ,itstool)
966 ("pkg-config" ,pkg-config)))
968 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
970 ("grilo-plugins" ,grilo-plugins)
971 ("gst-plugins-base" ,gst-plugins-base)
972 ("gstreamer" ,gstreamer)
974 ("libdazzle" ,libdazzle)
975 ("libmediaart" ,libmediaart)
977 ("pycairo" ,python-pycairo)
978 ("pygobject" ,python-pygobject)
980 ("tracker-miners" ,tracker-miners)))
981 (synopsis "Simple music player for GNOME desktop")
982 (description "GNOME Music is the new GNOME music playing application that
983 aims to combine an elegant and immersive browsing experience with simple
984 and straightforward controls.")
985 (home-page "https://wiki.gnome.org/Apps/Music")
986 (license license:gpl2+)))
988 (define-public portablexdr
996 (string-append "https://people.redhat.com/~rjones/" name "/files/"
997 name "-" version ".tar.gz"))
1000 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1001 (build-system gnu-build-system)
1002 (synopsis "External Data Representation Library")
1003 (description "PortableXDR is an implementation of External Data
1004 Representation (XDR) Library. It is a standard data serialization format, for
1005 uses such as computer network protocols. It allows data to be transferred
1006 between different kinds of computer systems.")
1007 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1011 license:lgpl2.1+))))
1021 (string-append "mirror://gnome/sources/" name "/"
1022 (version-major+minor version) "/"
1023 name "-" version ".tar.xz"))
1026 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
1027 (build-system glib-or-gtk-build-system)
1029 `(#:tests? #f)) ; FIX-ME: Requires gvfs
1031 `(("gobject-introspection" ,gobject-introspection)
1032 ("pkg-config" ,pkg-config)))
1037 ("gtksourceview" ,gtksourceview)
1038 ("libxml2" ,libxml2)
1039 ("uchardet" ,uchardet)))
1040 (synopsis "Text editor product line")
1041 (description "Tepl is a library that eases the development of
1042 GtkSourceView-based text editors and IDEs.")
1043 (home-page "https://wiki.gnome.org/Projects/Tepl")
1044 (license license:lgpl2.1+)))
1046 (define-public krb5-auth-dialog
1048 (name "krb5-auth-dialog")
1054 (string-append "mirror://gnome/sources/" name "/"
1055 (version-major+minor version) "/"
1056 name "-" version ".tar.xz"))
1059 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1060 (build-system glib-or-gtk-build-system)
1062 `(("intltool" ,intltool)
1063 ("itstool" ,itstool)
1064 ("libxml2" ,libxml2)
1065 ("pkg-config" ,pkg-config)
1066 ("python-wrapper" ,python-wrapper)))
1070 ("libnotify" ,libnotify)
1071 ("mit-krb5" ,mit-krb5)
1072 ("network-manager" ,network-manager)))
1073 (synopsis "Popup dialogs for Kerberos 5")
1074 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1075 tickets, and pops up a dialog when they are about to expire.")
1076 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1077 (license license:gpl2+)))
1079 (define-public notification-daemon
1081 (name "notification-daemon")
1087 (string-append "mirror://gnome/sources/" name "/"
1088 (version-major+minor version) "/"
1089 name "-" version ".tar.xz"))
1092 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1093 (build-system glib-or-gtk-build-system)
1095 `(("intltool" ,intltool)
1096 ("pkg-config" ,pkg-config)))
1101 (synopsis "Notification Daemon for GNOME Desktop")
1102 (description "Notification-Daemon is the server implementation of the
1103 freedesktop.org desktop notification specification.")
1104 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1105 (license license:gpl2+)))
1107 (define-public mm-common
1113 (uri (string-append "mirror://gnome/sources/mm-common/"
1114 (version-major+minor version) "/"
1115 "mm-common-" version ".tar.xz"))
1118 "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2"))))
1119 (build-system meson-build-system)
1122 (modify-phases %standard-phases
1123 (add-after 'unpack 'patch
1124 (lambda* (#:key inputs #:allow-other-keys)
1125 (substitute* "util/mm-common-prepare.in"
1126 (("ln") (string-append (assoc-ref inputs "coreutils")
1128 (("cp") (string-append (assoc-ref inputs "coreutils")
1130 (("sed") (string-append (assoc-ref inputs "sed")
1132 (("cat") (string-append (assoc-ref inputs "coreutils")
1136 `(("coreutils" ,coreutils)
1137 ("gettext" ,gettext-minimal)
1138 ("pkg-config" ,pkg-config)
1141 `(("python" ,python)))
1142 (synopsis "Module of GNOME C++ bindings")
1143 (description "The mm-common module provides the build infrastructure
1144 and utilities shared among the GNOME C++ binding libraries. Release
1145 archives of mm-common include the Doxygen tag file for the GNU C++
1146 Library reference documentation.")
1147 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1148 (license license:gpl2+)))
1150 (define-public phodav
1156 (uri (string-append "mirror://gnome/sources/" name "/"
1157 (version-major+minor version) "/"
1158 name "-" version ".tar.xz"))
1161 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1162 (build-system meson-build-system)
1165 (modify-phases %standard-phases
1166 (add-before 'check 'start-virtual-dir-server
1167 ;; The same server when started by tests/virtual-dir returns an
1168 ;; unexpected status (4 instead of 200) and fails a test. It is
1169 ;; unclear why starting it manually here makes it pass.
1171 (system "tests/virtual-dir-server &")
1174 `(("docbook-xml" ,docbook-xml-4.3)
1175 ("gettext" ,gettext-minimal)
1176 ("glib:bin" ,glib "bin")
1177 ("gtk-doc" ,gtk-doc/stable)
1178 ("pkg-config" ,pkg-config)))
1181 ("libgudev" ,libgudev)
1182 ("libsoup" ,libsoup)))
1183 (synopsis "WebDav server implementation using libsoup")
1184 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1185 but it is generic enough to be reused in other projects,
1186 in particular in the GNOME desktop.")
1187 (home-page "https://wiki.gnome.org/phodav")
1188 (license license:lgpl2.1+)))
1190 (define-public gnome-color-manager
1192 (name "gnome-color-manager")
1196 (uri (string-append "mirror://gnome/sources/" name "/"
1197 (version-major+minor version) "/"
1198 name "-" version ".tar.xz"))
1201 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1202 (build-system meson-build-system)
1206 (modify-phases %standard-phases
1210 ;; Tests require a running X server.
1211 (system "Xvfb :1 &")
1212 (setenv "DISPLAY" ":1")
1215 `(("desktop-file-utils" ,desktop-file-utils)
1216 ("gettext" ,gettext-minimal)
1217 ("glib:bin" ,glib "bin")
1218 ("gtk+:bin" ,gtk+ "bin")
1219 ("itstool" ,itstool)
1220 ("pkg-config" ,pkg-config)
1221 ("xorg-server" ,xorg-server-for-tests)))
1223 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1224 ("appstream-glib" ,appstream-glib)
1225 ("colord-gtk" ,colord-gtk)
1227 ("gnome-desktop" ,gnome-desktop)
1228 ("libcanberra" ,libcanberra)
1229 ("libexif" ,libexif)
1230 ("libtiff" ,libtiff)
1231 ("libxrandr" ,libxrandr)
1232 ("libxtst" ,libxtst)
1233 ("libxxf86vm" ,libxxf86vm)
1235 ("xorgproto" ,xorgproto)))
1236 (synopsis "Color profile manager for the GNOME desktop")
1237 (description "GNOME Color Manager is a session framework that makes
1238 it easy to manage, install and generate color profiles
1239 in the GNOME desktop.")
1240 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1241 (license license:gpl2+)))
1243 (define-public gnome-online-miners
1245 (name "gnome-online-miners")
1249 (uri (string-append "mirror://gnome/sources/" name "/"
1250 (version-major+minor version) "/"
1251 name "-" version ".tar.xz"))
1254 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1255 (build-system glib-or-gtk-build-system)
1257 `(("gettext" ,gettext-minimal)
1258 ("glib:bin" ,glib "bin")
1259 ("gobject-introspection" ,gobject-introspection)
1260 ("gtk+:bin" ,gtk+ "bin")
1261 ("pkg-config" ,pkg-config)))
1263 `(("gnome-online-accounts" ,gnome-online-accounts)
1264 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1266 ("libgdata" ,libgdata)
1267 ("libgfbgraph" ,gfbgraph)
1268 ("libzapojit" ,libzapojit)
1270 ("tracker" ,tracker)))
1271 (synopsis "Web Crawlers for GNOME")
1272 (description "GNOME Online Miners provides a set of crawlers that
1273 go through your online content and index them locally in Tracker.
1274 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1275 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1276 (license license:gpl2+)))
1278 (define-public gssdp
1284 (uri (string-append "mirror://gnome/sources/" name "/"
1285 (version-major+minor version) "/"
1286 name "-" version ".tar.xz"))
1289 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1290 (build-system meson-build-system)
1292 `(("gettext" ,gettext-minimal)
1293 ("glib:bin" ,glib "bin")
1294 ("gobject-introspection" ,gobject-introspection)
1295 ("gtk-doc" ,gtk-doc/stable)
1296 ("pkg-config" ,pkg-config)
1300 ("libsoup" ,libsoup)))
1301 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1302 Protocol} for GNOME")
1303 (description "This package provides a library to handle resource discovery
1304 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1305 a debugging tool, @command{gssdp-device-sniffer}.")
1306 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1307 (license license:lgpl2.0+)))
1309 (define-public gupnp
1315 (uri (string-append "mirror://gnome/sources/" name "/"
1316 (version-major+minor version) "/"
1317 name "-" version ".tar.xz"))
1320 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1321 (build-system meson-build-system)
1323 `(("gettext" ,gettext-minimal)
1324 ("glib:bin" ,glib "bin")
1325 ("gobject-introspection" ,gobject-introspection)
1326 ("gtk-doc" ,gtk-doc/stable)
1327 ("pkg-config" ,pkg-config)
1332 ("libsoup" ,libsoup)))
1333 (synopsis "PnP API for GNOME")
1334 (description "This package provides GUPnP, an object-oriented framework
1335 for creating UPnP devices and control points, written in C using
1336 @code{GObject} and @code{libsoup}.")
1337 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1338 (license license:lgpl2.0+)))
1340 (define-public gupnp-dlna
1346 (uri (string-append "mirror://gnome/sources/" name "/"
1347 (version-major+minor version) "/"
1348 name "-" version ".tar.xz"))
1351 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1352 (build-system gnu-build-system)
1354 `(("gettext" ,gettext-minimal)
1355 ("glib:bin" ,glib "bin")
1356 ("gobject-introspection" ,gobject-introspection)
1357 ("gtk-doc" ,gtk-doc/stable)
1359 ("pkg-config" ,pkg-config)
1362 `(("gstreamer" ,gstreamer)
1365 `(("gst-plugins-base" ,gst-plugins-base)
1366 ("gst-plugins-good" ,gst-plugins-good)))
1367 (synopsis "GUPnP DLNA for GNOME")
1368 (description "This package provides a small utility library to
1369 support DLNA-related tasks such as media profile guessing, transcoding to a
1370 given profile, etc. DLNA is a subset of UPnP A/V.")
1371 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1372 (license license:lgpl2.0+)))
1374 (define-public gupnp-av
1380 (uri (string-append "mirror://gnome/sources/" name "/"
1381 (version-major+minor version) "/"
1382 name "-" version ".tar.xz"))
1385 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1386 (build-system gnu-build-system)
1388 `(("gettext" ,gettext-minimal)
1389 ("glib:bin" ,glib "bin")
1390 ("gobject-introspection" ,gobject-introspection)
1391 ("gtk-doc" ,gtk-doc/stable)
1393 ("pkg-config" ,pkg-config)))
1397 (synopsis "GUPnP A/V for GNOME")
1398 (description "This package provides a small library for handling
1399 and implementation of UPnP A/V profiles.")
1400 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1401 (license license:lgpl2.0+)))
1403 (define-public libmediaart
1405 (name "libmediaart")
1409 (uri (string-append "mirror://gnome/sources/" name "/"
1410 (version-major+minor version) "/"
1411 name "-" version ".tar.xz"))
1414 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1415 (build-system gnu-build-system)
1417 `(("glib:bin" ,glib "bin")
1418 ("pkg-config" ,pkg-config)))
1420 `(("gdk-pixbuf" ,gdk-pixbuf)
1421 ("gettext" ,gettext-minimal)
1422 ("gobject-introspection" ,gobject-introspection)
1423 ("gtk+:doc" ,gtk+ "doc")
1425 (synopsis "Media art library for the GNOME desktop")
1427 "The libmediaart library is the foundation for media art caching,
1428 extraction, and lookup for applications on the desktop.")
1429 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1430 (license license:lgpl2.1+)))
1432 (define-public gnome-initial-setup
1434 (name "gnome-initial-setup")
1438 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1439 (version-major+minor version)
1440 "/gnome-initial-setup-" version ".tar.xz"))
1443 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1444 (build-system meson-build-system)
1446 '(#:configure-flags '(;; Enable camera support for user selfie.
1449 #:phases (modify-phases %standard-phases
1450 (add-after 'unpack 'set-gkbd-file-name
1451 (lambda* (#:key inputs #:allow-other-keys)
1452 ;; Allow the "Preview" button in the keyboard layout
1453 ;; selection dialog to display the layout.
1454 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1455 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1456 (("\"gkbd-keyboard-display")
1457 (string-append "\"" libgnomekbd
1458 "/bin/gkbd-keyboard-display")))
1461 `(("gettext" ,gettext-minimal)
1462 ("glib:bin" ,glib "bin")
1463 ("gobject-introspection" ,gobject-introspection)
1464 ("gtk+:bin" ,gtk+ "bin")
1465 ("pkg-config" ,pkg-config)))
1467 `(("accountsservice" ,accountsservice)
1468 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1470 ("geoclue" ,geoclue)
1471 ("gnome-desktop" ,gnome-desktop)
1472 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1473 ("gnome-online-accounts" ,gnome-online-accounts)
1474 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1475 ("gstreamer" ,gstreamer)
1477 ("json-glib" ,json-glib)
1479 ("libgweather" ,libgweather)
1481 ("libsecret" ,libsecret)
1482 ("network-manager" ,network-manager)
1483 ("packagekit" ,packagekit)
1485 ("pwquality" ,libpwquality)
1488 ("webkitgtk" ,webkitgtk)
1489 ("libgnomekbd" ,libgnomekbd)))
1490 (synopsis "Initial setup wizard for GNOME desktop")
1491 (description "This package provides a set-up wizard when a
1492 user logs into GNOME for the first time. It typically provides a
1493 tour of all gnome components and allows the user to set them up.")
1494 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1495 (license license:gpl2)))
1497 (define-public gnome-user-share
1499 (name "gnome-user-share")
1503 (uri (string-append "mirror://gnome/sources/" name "/"
1504 (version-major+minor version) "/"
1505 name "-" version ".tar.xz"))
1508 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1509 (build-system meson-build-system)
1514 ;; Enable nautilus extension for file sharing.
1515 "-Dnautilus_extension=true")))
1517 `(("gettext" ,gettext-minimal)
1518 ("glib:bin" ,glib "bin")
1519 ("gobject-introspection" ,gobject-introspection)
1520 ("gtk+:bin" ,gtk+ "bin")
1521 ("pkg-config" ,pkg-config)
1522 ("yelp-tools" ,yelp-tools)))
1525 ("gnome-bluetooth" ,gnome-bluetooth)
1527 ("libcanberra" ,libcanberra)
1528 ("libnotify" ,libnotify)
1529 ("nautilus" ,nautilus))) ; For nautilus extension.
1530 (synopsis "File sharing for GNOME desktop")
1531 (description "GNOME User Share is a small package that binds together
1532 various free software projects to bring easy to use user-level file
1533 sharing to the masses.")
1534 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1535 (license license:gpl2+)))
1537 (define-public sushi
1543 (uri (string-append "mirror://gnome/sources/" name "/"
1544 (version-major+minor version) "/"
1545 name "-" version ".tar.xz"))
1548 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1549 (build-system meson-build-system)
1553 (modify-phases %standard-phases
1554 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1555 (lambda* (#:key outputs #:allow-other-keys)
1556 (let ((prog (string-append (assoc-ref outputs "out")
1558 ;; Put existing typelibs before sushi's deps, so as to correctly
1561 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1564 `(("glib:bin" ,glib "bin")
1565 ("gettext" ,gettext-minimal)
1566 ("gobject-introspection" ,gobject-introspection)
1567 ("pkg-config" ,pkg-config)))
1569 `(("clutter" ,clutter)
1570 ("clutter-gst" ,clutter-gst)
1571 ("clutter-gtk" ,clutter-gtk)
1572 ("evince" ,evince) ; For file previewing.
1573 ("freetype" ,freetype)
1574 ("gdk-pixbuf" ,gdk-pixbuf)
1576 ("gst-plugins-base" ,gst-plugins-base)
1577 ("gstreamer" ,gstreamer)
1578 ("gtksourceview" ,gtksourceview-3)
1579 ("harfbuzz" ,harfbuzz)
1580 ("libepoxy" ,libepoxy)
1581 ("libmusicbrainz" ,libmusicbrainz)
1582 ("libxml2" ,libxml2)
1584 ("webkitgtk" ,webkitgtk)))
1585 (synopsis "File previewer for the GNOME desktop")
1586 (description "Sushi is a DBus-activated service that allows applications to
1587 preview files on the GNOME desktop.")
1588 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1589 (license license:gpl2+)))
1591 (define-public rygel
1597 (uri (string-append "mirror://gnome/sources/" name "/"
1598 (version-major+minor version) "/"
1599 name "-" version ".tar.xz"))
1602 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1603 (build-system gnu-build-system)
1605 `(("gettext" ,gettext-minimal)
1606 ("gobject-introspection" ,gobject-introspection)
1607 ("gtk-doc" ,gtk-doc/stable)
1608 ("pkg-config" ,pkg-config)
1611 `(("gdk-pixbuf" ,gdk-pixbuf)
1613 ("gstreamer" ,gstreamer)
1614 ("gst-plugins-base" ,gst-plugins-base)
1617 ("gupnp-av" ,gupnp-av)
1618 ("gupnp-dlna" ,gupnp-dlna)
1620 ("libmediaart" ,libmediaart)
1621 ("libsoup" ,libsoup)
1622 ("libxslt" ,libxslt)
1623 ("libunistring" ,libunistring)
1624 ("tracker" ,tracker)))
1625 (synopsis "Share audio, video, and pictures with other devices")
1627 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1628 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1629 pictures, and to control a media player on your home network.
1631 Rygel achieves interoperability with other devices by trying to conform to the
1632 strict requirements of DLNA and by converting media on-the-fly to formats that
1633 client devices can handle.")
1634 (home-page "https://wiki.gnome.org/Projects/Rygel")
1636 ;; For logo (data/icons/*).
1639 license:lgpl2.1+))))
1641 (define-public libnma
1647 (uri (string-append "mirror://gnome/sources/" name "/"
1648 (version-major+minor version) "/"
1649 name "-" version ".tar.xz"))
1652 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1653 (build-system meson-build-system)
1656 (modify-phases %standard-phases
1657 (add-after 'unpack 'patch-docbook-xml
1658 (lambda* (#:key inputs #:allow-other-keys)
1659 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1660 "/xml/dtd/docbook")))
1661 (substitute* "libnma-docs.xml"
1662 (("http://.*/docbookx\\.dtd")
1663 (string-append xmldoc "/docbookx.dtd")))
1666 `(("docbook-xml" ,docbook-xml-4.3)
1667 ("gettext" ,gettext-minimal)
1668 ("glib:bin" ,glib "bin")
1669 ("gtk-doc" ,gtk-doc/stable)
1670 ("gobject-introspection" ,gobject-introspection)
1671 ("pkg-config" ,pkg-config)
1676 ("iso-codes" ,iso-codes)
1677 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1678 ("network-manager" ,network-manager)))
1679 (synopsis "Network Manager's applet library")
1680 (description "Libnma is an applet library for Network Manager. It was
1681 initially part of network-manager-applet and has now become a separate
1683 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1684 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1686 (license license:gpl2+)))
1688 (define-public gnome-menus
1690 (name "gnome-menus")
1694 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1695 (version-major+minor version) "/"
1696 name "-" version ".tar.xz"))
1699 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1700 (build-system gnu-build-system)
1702 `(("gettext" ,gettext-minimal)
1704 ("pkg-config" ,pkg-config)))
1705 (synopsis "Menu support for GNOME desktop")
1706 (description "GNOME Menus contains the libgnome-menu library, the layout
1707 configuration files for the GNOME menu, as well as a simple menu editor.")
1708 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1709 (license license:lgpl2.0+)))
1711 (define-public deja-dup
1717 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1718 version "/deja-dup-" version ".tar.bz2"))
1721 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1722 (build-system meson-build-system)
1727 ;; Otherwise, the RUNPATH will lack the final path component.
1728 (string-append "-Dc_link_args=-Wl,-rpath="
1729 (assoc-ref %outputs "out") "/lib/deja-dup"))
1731 (modify-phases %standard-phases
1732 (add-after 'unpack 'patch-paths
1733 (lambda* (#:key inputs #:allow-other-keys)
1734 (let ((python (assoc-ref inputs "python")))
1735 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1736 "libdeja/tests/scripts/instance-error.test")
1739 (substitute* "libdeja/tests/runner.vala"
1742 (substitute* "libdeja/tests/scripts/instance-error.test"
1743 (("`which python3`")
1744 (string-append python "/bin/python3"))))))
1745 (add-after 'unpack 'patch-libgpg-error
1746 (lambda* (#:key inputs #:allow-other-keys)
1747 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1748 (substitute* "meson.build"
1749 (("(gpgerror_libs = ).*" _ var)
1750 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1752 (add-after 'unpack 'skip-gtk-update-icon-cache
1753 ;; Don't create 'icon-theme.cache'.
1755 (substitute* "data/post-install.sh"
1756 (("gtk-update-icon-cache") "true"))
1759 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1760 ("duplicity" ,duplicity)
1762 ("python-pygobject" ,python-pygobject)
1764 ("json-glib" ,json-glib)
1765 ("libnotify" ,libnotify)
1766 ("libgpg-error" ,libgpg-error)
1767 ("libsecret" ,libsecret)
1768 ("libsoup" ,libsoup)
1769 ("packagekit" ,packagekit)))
1771 `(("appstream-glib" ,appstream-glib)
1772 ("desktop-file-utils" ,desktop-file-utils)
1773 ("gettext" ,gettext-minimal)
1774 ("glib" ,glib "bin") ; for glib-compile-schemas.
1775 ("gobject-introspection" ,gobject-introspection)
1776 ("itstool" ,itstool)
1777 ("pkg-config" ,pkg-config)
1779 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1780 (synopsis "Simple backup tool, for regular encrypted backups")
1782 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1783 uses duplicity as the backend, which supports incremental backups and storage
1784 either on a local, or remote machine via a number of methods.")
1785 (license license:gpl3+)))
1787 (define-public gnome-commander
1789 (name "gnome-commander")
1794 (uri (string-append "mirror://gnome/sources/" name "/"
1795 (version-major+minor version) "/"
1796 "gnome-commander-" version ".tar.xz"))
1798 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1799 (build-system glib-or-gtk-build-system)
1801 `(("desktop-file-utils" ,desktop-file-utils)
1802 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1803 ("gettext" ,gettext-minimal)
1804 ("glib:bin" ,glib "bin")
1805 ("gobject-introspection" ,gobject-introspection)
1806 ("googletest" ,googletest)
1807 ("intltool" ,intltool)
1808 ("itstool" ,itstool)
1809 ("libtool" ,libtool)
1810 ("pkg-config" ,pkg-config)))
1813 ("gnome-vfs" ,gnome-vfs)
1815 ("libxml2" ,libxml2)))
1816 (home-page "https://gcmd.github.io/")
1817 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1819 "GNOME Commander is a two-pane graphical file manager using GNOME
1820 libraries. It aims to fulfill the demands of more advanced users who
1821 like to focus on file management, their work through special applications
1822 and running smart commands.")
1823 (license license:gpl2+)))
1825 (define-public gnome-user-docs
1827 (name "gnome-user-docs")
1832 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1833 (version-major+minor version)
1834 "/gnome-user-docs-" version ".tar.xz"))
1836 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1837 (build-system gnu-build-system)
1839 `(("gettext" ,gettext-minimal)
1840 ("itstool" ,itstool)
1841 ("pkg-config" ,pkg-config)
1842 ("xmllint" ,libxml2)))
1843 (synopsis "User documentation for the GNOME desktop")
1845 "The GNOME User Documentation explains how to use the GNOME desktop and its
1846 components. It covers usage and setup of the core GNOME programs by end-users
1847 and system administrators.")
1848 (home-page "https://live.gnome.org/DocumentationProject")
1849 (license license:cc-by3.0)))
1851 (define-public gnome-getting-started-docs
1853 (name "gnome-getting-started-docs")
1858 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1859 (version-major+minor version)
1860 "/gnome-getting-started-docs-" version ".tar.xz"))
1862 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1863 (build-system gnu-build-system)
1865 `(("gettext" ,gettext-minimal)
1866 ("itstool" ,itstool)
1867 ("pkg-config" ,pkg-config)
1868 ("xmllint" ,libxml2)))
1869 (synopsis "Help to get new users started with the GNOME desktop")
1871 "The GNOME Getting Started Documentation contains GNOME's intuitive
1872 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1874 It is normally used together with @command{gnome-initial-setup}, but is also
1875 useful as a tutorial and users' guide for new or less experienced users.")
1876 (home-page "https://live.gnome.org/DocumentationProject")
1877 (license license:cc-by-sa3.0)))
1880 ;; This version from GNOME's repository includes fixes for compiling with
1881 ;; recent versions of the build tools. The latest activity on the
1882 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1884 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1888 (version (git-version "0.97.3" revision commit))
1892 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1894 (file-name (git-file-name name version))
1897 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1898 (build-system meson-build-system)
1900 `(("graphene" ,graphene)
1902 ("libxml2" ,libxml2)
1903 ("libxslt" ,libxslt)
1904 ("poppler" ,poppler)
1905 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1906 ;; ERROR: Unknown method "dependency" in object.
1907 ("python-2" ,python-2)))
1909 `(("appstream-glib" ,appstream-glib)
1910 ("docbook-xsl" ,docbook-xsl)
1911 ("glib" ,glib "bin")
1912 ("intltool" ,intltool)
1913 ("pkg-config" ,pkg-config)))
1914 (home-page "https://wiki.gnome.org/Apps/Dia")
1915 (synopsis "Diagram creation for GNOME")
1916 (description "Dia can be used to draw different types of diagrams, and
1917 includes support for UML static structure diagrams (class diagrams), entity
1918 relationship modeling, and network diagrams. The program supports various file
1919 formats like PNG, SVG, PDF and EPS.")
1920 (license license:gpl2+))))
1922 ;; This is the unstable release, but it is required for the current stable
1923 ;; release of gvfs (1.38.1).
1924 (define-public libgdata
1930 (uri (string-append "mirror://gnome/sources/" name "/"
1931 (version-major+minor version) "/"
1932 name "-" version ".tar.xz"))
1935 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1936 (build-system gnu-build-system)
1939 (modify-phases %standard-phases
1940 (add-before 'check 'disable-failing-tests
1942 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1943 ;; They have been removed in libgdata 0.17.6, so just do the same.
1944 (substitute* "gdata/tests/Makefile"
1945 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1948 `(("glib:bin" ,glib "bin")
1949 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1950 ("intltool" ,intltool)
1951 ("pkg-config" ,pkg-config)
1952 ("uhttpmock" ,uhttpmock)))
1954 `(("cyrus-sasl" ,cyrus-sasl)
1955 ("glib-networking" ,glib-networking)))
1959 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1960 ("json-glib" ,json-glib)
1961 ("liboauth" ,liboauth)
1962 ("libsoup" ,libsoup)
1963 ("libxml2" ,libxml2)))
1964 (home-page "https://wiki.gnome.org/Projects/libgdata")
1965 (synopsis "Library for accessing online service APIs")
1967 "libgdata is a GLib-based library for accessing online service APIs using
1968 the GData protocol — most notably, Google's services. It provides APIs to
1969 access the common Google services, and has full asynchronous support.")
1970 (license license:lgpl2.1+)))
1972 (define-public libgxps
1978 (uri (string-append "mirror://gnome/sources/" name "/"
1979 (version-major+minor version) "/"
1980 name "-" version ".tar.xz"))
1983 "07156nj7yrp3h9zyzx6mjwxwmfijialb4gi5d6dwyp53arr8c9vd"))))
1984 (build-system meson-build-system)
1986 `(("gobject-introspection" ,gobject-introspection)
1987 ("pkg-config" ,pkg-config)))
1990 ("libjpeg" ,libjpeg-turbo)
1992 ("libtiff" ,libtiff)))
1994 ;; In Requires of libgxps.pc.
1997 ("libarchive" ,libarchive)))
1998 (home-page "https://wiki.gnome.org/Projects/libgxps")
1999 (synopsis "GObject-based library for handling and rendering XPS documents")
2001 "libgxps is a GObject-based library for handling and rendering XPS
2002 documents. This package also contains binaries that can convert XPS documents
2004 (license license:lgpl2.1+)))
2006 (define-public gnome-characters
2008 (name "gnome-characters")
2013 (uri (string-append "mirror://gnome/sources/"
2014 "gnome-characters/" (version-major+minor version)
2015 "/gnome-characters-" version ".tar.xz"))
2018 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2019 (build-system meson-build-system)
2022 #:phases (modify-phases %standard-phases
2023 (add-after 'install 'wrap
2024 (lambda* (#:key outputs #:allow-other-keys)
2025 ;; GNOME Characters needs Typelib files from GTK and
2027 (wrap-program (string-append (assoc-ref outputs "out")
2028 "/bin/gnome-characters")
2029 `("GI_TYPELIB_PATH" ":" prefix
2030 (,(getenv "GI_TYPELIB_PATH"))))
2033 `(("gettext" ,gettext-minimal)
2034 ("glib:bin" ,glib "bin")
2035 ("gtk+:bin" ,gtk+ "bin")
2036 ("pkg-config" ,pkg-config)
2037 ("python" ,python-minimal)))
2041 ("libunistring" ,libunistring)
2042 ("gnome-desktop" ,gnome-desktop)))
2043 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2044 (synopsis "Find and insert unusual characters")
2045 (description "Characters is a simple utility application to find
2046 and insert unusual characters. It allows you to quickly find the
2047 character you are looking for by searching for keywords.")
2048 (license license:bsd-3)))
2050 (define-public gnome-common
2052 (name "gnome-common")
2057 (uri (string-append "mirror://gnome/sources/" name "/"
2058 (version-major+minor version) "/"
2059 name "-" version ".tar.xz"))
2062 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2063 (build-system gnu-build-system)
2064 (home-page "https://www.gnome.org/")
2065 (synopsis "Bootstrap GNOME modules built from Git")
2066 (description "gnome-common contains various files needed to bootstrap
2067 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2068 can be used to configure a source directory checked out from Git and some
2069 commonly used macros.")
2070 (license license:gpl2+)))
2072 (define-public gnome-contacts
2074 (name "gnome-contacts")
2078 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2079 (version-major+minor version) "/"
2080 name "-" version ".tar.xz"))
2083 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2084 (build-system meson-build-system)
2086 `(#:configure-flags '("-Dcheese=false")
2088 (modify-phases %standard-phases
2089 (add-after 'unpack 'generate-vapis
2090 (lambda* (#:key inputs #:allow-other-keys)
2091 ;; To generate goa's missing .vapi file
2093 (assoc-ref inputs "gnome-online-accounts:lib"))
2095 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2097 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2099 (add-after 'unpack 'skip-gtk-update-icon-cache
2100 ;; Don't create 'icon-theme.cache'.
2102 (substitute* "build-aux/meson_post_install.py"
2103 (("gtk-update-icon-cache") "true"))
2106 `(("glib:bin" ,glib "bin")
2107 ("pkg-config" ,pkg-config)))
2109 `(("docbook-xml" ,docbook-xml)
2110 ("dockbook-xsl" ,docbook-xsl)
2111 ("evolution-data-server" ,evolution-data-server)
2112 ("gettext" ,gettext-minimal)
2113 ("gnome-desktop" ,gnome-desktop)
2114 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2115 ("gobject-introspection" ,gobject-introspection)
2116 ("gst-plugins-base" ,gst-plugins-base)
2119 ("libxslt" ,libxslt)
2120 ("telepathy-glib" ,telepathy-glib)
2124 ("telepathy-mission-control" ,telepathy-mission-control)))
2125 (synopsis "GNOME's integrated address book")
2127 "GNOME Contacts organizes your contact information from online and
2128 offline sources, providing a centralized place for managing your contacts.")
2129 (home-page "https://wiki.gnome.org/Apps/Contacts")
2130 (license license:gpl2+)))
2132 (define-public gnome-desktop
2134 (name "gnome-desktop")
2139 (uri (string-append "mirror://gnome/sources/" name "/"
2140 (version-major+minor version) "/"
2141 name "-" version ".tar.xz"))
2144 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2145 (build-system meson-build-system)
2148 (modify-phases %standard-phases
2149 (add-before 'configure 'patch-path
2150 (lambda* (#:key inputs #:allow-other-keys)
2151 (let ((libc (assoc-ref inputs "libc")))
2152 (substitute* "libgnome-desktop/gnome-languages.c"
2154 (string-append "\"" libc "/bin/locale\"")))
2156 (add-before 'configure 'patch-bubblewrap
2157 (lambda* (#:key inputs #:allow-other-keys)
2158 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2160 (string-append "\"" (which "bwrap") "\","))
2161 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2162 (string-append "\"--ro-bind\", \""
2167 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2169 (add-before 'check 'pre-check
2170 (lambda* (#:key inputs #:allow-other-keys)
2171 ;; Tests require a running X server and locales.
2172 (system "Xvfb :1 &")
2173 (setenv "DISPLAY" ":1")
2174 (setenv "GUIX_LOCPATH"
2175 (string-append (assoc-ref inputs "glibc-locales")
2179 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2180 ("glibc-locales" ,glibc-locales) ; for tests
2181 ("gobject-introspection" ,gobject-introspection)
2182 ("itstool" ,itstool)
2183 ("intltool" ,intltool)
2184 ("pkg-config" ,pkg-config)
2185 ("xmllint" ,libxml2)
2186 ("xorg-server" ,xorg-server-for-tests)))
2188 ;; Required by gnome-desktop-3.0.pc.
2189 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2191 ("iso-codes" ,iso-codes)
2192 ("libseccomp" ,libseccomp)
2194 ("xkeyboard-config" ,xkeyboard-config)))
2196 `(("gdk-pixbuf" ,gdk-pixbuf)
2198 ("bubblewrap" ,bubblewrap)
2199 ("libxext" ,libxext)
2200 ("libxkbfile" ,libxkbfile)
2201 ("libxrandr" ,libxrandr)))
2202 (home-page "https://www.gnome.org/")
2204 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2206 "The libgnome-desktop library provides API shared by several applications
2207 on the desktop, but that cannot live in the platform for various reasons.
2208 There is no API or ABI guarantee, although we are doing our best to provide
2209 stability. Documentation for the API is available with gtk-doc.
2211 The gnome-about program helps find which version of GNOME is installed.")
2212 ; Some bits under the LGPL.
2213 (license license:gpl2+)))
2215 (define-public gnome-doc-utils
2217 (name "gnome-doc-utils")
2222 (uri (string-append "mirror://gnome/sources/" name "/"
2223 (version-major+minor version) "/"
2224 name "-" version ".tar.xz"))
2227 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2228 (build-system gnu-build-system)
2230 `(("intltool" ,intltool)
2231 ("docbook-xml" ,docbook-xml-4.4)
2232 ("python2-libxml2" ,python2-libxml2)
2233 ("libxml2" ,libxml2)
2234 ("libxslt" ,libxslt)
2235 ("pkg-config" ,pkg-config)
2236 ("python-2" ,python-2)))
2237 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2239 "Documentation utilities for the Gnome project")
2241 "Gnome-doc-utils is a collection of documentation utilities for the
2242 Gnome project. It includes xml2po tool which makes it easier to translate
2243 and keep up to date translations of documentation.")
2244 (license license:gpl2+))) ; xslt under lgpl
2246 (define-public gnome-disk-utility
2248 (name "gnome-disk-utility")
2252 (uri (string-append "mirror://gnome/sources/" name "/"
2253 (version-major+minor version) "/"
2254 name "-" version ".tar.xz"))
2257 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2258 (build-system meson-build-system)
2260 '(#:configure-flags '("-Dlogind=libelogind")
2262 (modify-phases %standard-phases
2263 (add-after 'unpack 'skip-gtk-update-icon-cache
2264 ;; Don't create 'icon-theme.cache'.
2266 (substitute* "meson_post_install.py"
2267 (("gtk-update-icon-cache") "true"))
2270 `(("glib:bin" ,glib "bin")
2271 ("intltool" ,intltool)
2272 ("pkg-config" ,pkg-config)
2273 ("docbook-xml" ,docbook-xml)
2274 ("docbook-xsl" ,docbook-xsl)
2275 ("libxml2" ,libxml2)
2276 ("libxslt" ,libxslt)))
2278 `(("elogind" ,elogind)
2280 ("appstream-glib" ,appstream-glib)
2281 ("gnome-settings-daemon" ,gnome-settings-daemon)
2283 ("libcanberra" ,libcanberra)
2284 ("libdvdread" ,libdvdread)
2285 ("libnotify" ,libnotify)
2286 ("libpwquality" ,libpwquality)
2287 ("libsecret" ,libsecret)
2288 ("udisks" ,udisks)))
2289 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2290 (synopsis "Disk management utility for GNOME")
2291 (description "Disk management utility for GNOME.")
2292 (license license:gpl2+)))
2294 (define-public gnome-font-viewer
2296 (name "gnome-font-viewer")
2300 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2301 (version-major+minor version)
2302 "/gnome-font-viewer-" version ".tar.xz"))
2305 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2306 (build-system meson-build-system)
2309 (modify-phases %standard-phases
2310 (add-after 'unpack 'patch-post-install-script
2312 (substitute* "meson-postinstall.sh"
2313 (("update-desktop-database") (which "true")))
2315 (add-after 'install 'patch-thumbnailer
2316 (lambda* (#:key outputs #:allow-other-keys)
2317 (let ((out (assoc-ref outputs "out")))
2321 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2322 (("gnome-thumbnail-font")
2323 (string-append out "/bin/gnome-thumbnail-font"))))
2326 `(("gettext" ,gettext-minimal)
2327 ("glib:bin" ,glib "bin")
2328 ("pkg-config" ,pkg-config)))
2331 ("gnome-desktop" ,gnome-desktop)
2333 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2334 (synopsis "GNOME Fonts")
2335 (description "Application to show you the fonts installed on your computer
2336 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2337 the font would look under various sizes.")
2338 (license license:gpl2+)))
2346 (uri (string-append "mirror://gnome/sources/" name "/"
2347 (version-major+minor version) "/"
2348 name "-" version ".tar.xz"))
2351 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2352 (build-system gnu-build-system)
2355 (modify-phases %standard-phases
2356 ;; These fail because /var/lib/dbus/machine-id is not present in the
2357 ;; build environment.
2358 (add-after 'unpack 'disable-failing-tests
2360 (substitute* "Makefile.in"
2361 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2364 (add-before 'check 'pre-check
2366 ;; Some tests expect to write to $HOME.
2367 (setenv "HOME" "/tmp")
2371 ("gnupg" ,gnupg) ;called as a child process during tests
2372 ("libgcrypt" ,libgcrypt)))
2374 `(("python" ,python-wrapper) ;for tests
2375 ("pkg-config" ,pkg-config)
2376 ("gettext" ,gettext-minimal)
2377 ("glib" ,glib "bin")
2378 ("gobject-introspection" ,gobject-introspection)
2379 ("libxml2" ,libxml2)
2381 ("xsltproc" ,libxslt)))
2382 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2384 `(("p11-kit" ,p11-kit)
2387 (home-page "https://www.gnome.org")
2388 (synopsis "Libraries for displaying certificates and accessing key stores")
2390 "The GCR package contains libraries used for displaying certificates and
2391 accessing key stores. It also provides the viewer for crypto files on the
2393 (license license:lgpl2.1+)))
2402 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2403 (commit (string-append "GDL_" (string-map (match-lambda
2407 (file-name (git-file-name name version))
2410 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2411 (build-system gnu-build-system)
2413 `(("autoconf" ,autoconf)
2414 ("automake" ,automake)
2415 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2416 ("gnome-common" ,gnome-common)
2417 ("gtk-doc" ,gtk-doc/stable)
2418 ("intltool" ,intltool)
2419 ("pkg-config" ,pkg-config)
2420 ("libtool" ,libtool)
2423 `(("libxml2" ,libxml2)))
2425 ;; The gdl-3.0.pc file 'Requires' GTK+.
2427 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2428 (synopsis "GNOME docking library")
2429 (description "This library provides docking features for gtk+.")
2430 (license license:lgpl2.1+)))
2432 ;;; A minimal variant used to break a cycle with Inkscape.
2433 (define-public gdl-minimal
2434 (package/inherit gdl
2435 (name "gdl-minimal")
2438 (modify-phases %standard-phases
2439 (add-after 'unpack 'disable-doc-generation
2440 ;; XXX: There is no easy way to disable generating the
2443 (substitute* "configure.in"
2444 (("GTK_DOC_CHECK.*") "")
2446 (substitute* "Makefile.am"
2447 (("gdl docs po") "gdl po"))
2449 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2451 (define-public libgnome-keyring
2453 (name "libgnome-keyring")
2457 (uri (string-append "mirror://gnome/sources/" name "/"
2458 (version-major+minor version) "/"
2459 name "-" version ".tar.xz"))
2462 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2463 (build-system gnu-build-system)
2465 `(("libgcrypt" ,libgcrypt)
2468 `(("pkg-config" ,pkg-config)
2469 ("glib" ,glib "bin")
2470 ("intltool" ,intltool)))
2472 ;; Referred to in .h files and .pc.
2474 (home-page "https://www.gnome.org")
2475 (synopsis "Accessing passwords from the GNOME keyring")
2477 "Client library to access passwords from the GNOME keyring.")
2479 ;; Though a couple of files are LGPLv2.1+.
2480 (license license:lgpl2.0+)))
2482 (define-public gnome-keyring
2484 (name "gnome-keyring")
2488 (uri (string-append "mirror://gnome/sources/" name "/"
2489 (version-major+minor version) "/"
2490 name "-" version ".tar.xz"))
2493 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2494 (build-system gnu-build-system)
2496 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2500 (string-append "--with-pkcs11-config="
2501 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2502 (string-append "--with-pkcs11-modules="
2503 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2505 (modify-phases %standard-phases
2506 (add-after 'unpack 'fix-/bin/sh-reference
2508 (substitute* "po/Makefile.in.in"
2509 (("/bin/sh") (which "sh")))
2511 (add-after 'unpack 'fix-docbook
2512 (lambda* (#:key inputs #:allow-other-keys)
2513 (substitute* "docs/Makefile.am"
2514 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2515 (string-append (assoc-ref inputs "docbook-xsl")
2516 "/xml/xsl/docbook-xsl-"
2517 ,(package-version docbook-xsl)
2518 "/manpages/docbook.xsl")))
2519 (setenv "XML_CATALOG_FILES"
2520 (string-append (assoc-ref inputs "docbook-xml")
2521 "/xml/dtd/docbook/catalog.xml"))
2522 ;; Rerun the whole thing to avoid version mismatch ("This is
2523 ;; Automake 1.15.1, but the definition used by this
2524 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2525 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2528 (invoke "automake" "-ac"))))))
2530 `(("libgcrypt" ,libgcrypt)
2531 ("linux-pam" ,linux-pam)
2532 ("openssh" ,openssh)
2536 `(("pkg-config" ,pkg-config)
2537 ("glib" ,glib "bin")
2538 ("glib" ,glib) ; for m4 macros
2539 ("python" ,python-2) ;for tests
2540 ("intltool" ,intltool)
2541 ("autoconf" ,autoconf)
2542 ("automake" ,automake)
2543 ("libxslt" ,libxslt) ;for documentation
2544 ("docbook-xml" ,docbook-xml-4.2)
2545 ("docbook-xsl" ,docbook-xsl)))
2548 (home-page "https://www.gnome.org")
2549 (synopsis "Daemon to store passwords and encryption keys")
2551 "gnome-keyring is a program that keeps passwords and other secrets for
2552 users. It is run as a daemon in the session, similar to ssh-agent, and other
2553 applications locate it via an environment variable or D-Bus.
2555 The program can manage several keyrings, each with its own master password,
2556 and there is also a session keyring which is never stored to disk, but
2557 forgotten when the session ends.")
2558 (license license:lgpl2.1+)))
2560 (define-public evince
2566 (uri (string-append "mirror://gnome/sources/evince/"
2567 (version-major+minor version) "/"
2568 "evince-" version ".tar.xz"))
2571 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2572 (build-system glib-or-gtk-build-system)
2574 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2576 (modify-phases %standard-phases
2577 (add-before 'install 'skip-gtk-update-icon-cache
2578 ;; Don't create 'icon-theme.cache'.
2580 (substitute* "data/Makefile"
2581 (("gtk-update-icon-cache") "true"))
2584 `(("libarchive" ,libarchive)
2585 ("libgxps" ,libgxps)
2586 ("libspectre" ,libspectre)
2587 ("djvulibre" ,djvulibre)
2588 ("ghostscript" ,ghostscript)
2589 ("poppler" ,poppler)
2590 ("libtiff" ,libtiff)
2592 ;; Build libkpathsea as a shared library for DVI support.
2593 ;; ("libkpathsea" ,texlive-bin)
2594 ("gnome-desktop" ,gnome-desktop)
2595 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2597 ("libgnome-keyring" ,libgnome-keyring)
2598 ("adwaita-icon-theme" ,adwaita-icon-theme)
2599 ("gdk-pixbuf" ,gdk-pixbuf)
2604 ("libxml2" ,libxml2)
2607 ("shared-mime-info" ,shared-mime-info)
2609 ("libcanberra" ,libcanberra)
2610 ("libsecret" ,libsecret)
2613 ("dogtail" ,python2-dogtail)))
2615 `(("itstool" ,itstool)
2616 ("intltool" ,intltool)
2617 ("glib" ,glib "bin")
2618 ("gobject-introspection" ,gobject-introspection)
2619 ("pkg-config" ,pkg-config)
2620 ("xmllint" ,libxml2)))
2621 (home-page "https://www.gnome.org/projects/evince/")
2622 (synopsis "GNOME's document viewer")
2624 "Evince is a document viewer for multiple document formats. It
2625 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2626 of Evince is to replace the multiple document viewers that exist
2627 on the GNOME Desktop with a single simple application.")
2628 (license license:gpl2+)))
2630 (define-public gsettings-desktop-schemas
2632 (name "gsettings-desktop-schemas")
2637 (uri (string-append "mirror://gnome/sources/" name "/"
2638 (version-major+minor version) "/"
2639 name "-" version ".tar.xz"))
2642 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2643 (build-system meson-build-system)
2645 '(#:phases (modify-phases %standard-phases
2646 (add-after 'unpack 'patch-schemas
2647 (lambda* (#:key inputs #:allow-other-keys)
2648 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2649 (substitute* (find-files "schemas"
2650 "\\.gschema\\.xml\\.in$")
2651 ;; Provide the correct file name of the default GNOME
2652 ;; background, 'adwaita-timed.xml'.
2653 (("@datadir@/backgrounds/gnome")
2654 (string-append theme "/share/backgrounds/gnome"))
2655 ;; Do not reference fonts, that may not exist.
2656 (("'Source Code Pro 10'") "'Monospace 11'"))
2660 ("gnome-backgrounds" ,gnome-backgrounds)))
2662 `(("intltool" ,intltool)
2663 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2664 ("gobject-introspection" ,gobject-introspection)
2665 ("pkg-config" ,pkg-config)))
2666 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2668 "GNOME settings for various desktop components")
2670 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2671 for settings shared by various components of the GNOME desktop.")
2672 (license license:lgpl2.1+)))
2674 (define-public python-liblarch
2676 (name "python-liblarch")
2682 (url "https://github.com/getting-things-gnome/liblarch")
2683 (commit (string-append "v" version))))
2684 (file-name (git-file-name name version))
2686 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2687 (build-system python-build-system)
2690 (modify-phases %standard-phases
2691 (add-before 'check 'start-xserver
2692 (lambda* (#:key inputs #:allow-other-keys)
2693 (system (format #f "~a/bin/Xvfb :1 &"
2694 (assoc-ref inputs "xorg-server")))
2695 (setenv "DISPLAY" ":1")
2698 `(("xorg-server" ,xorg-server-for-tests)))
2702 `(("python-pygobject" ,python-pygobject)))
2703 (home-page "https://wiki.gnome.org/Projects/liblarch")
2704 (synopsis "Library to easily handle complex data structures")
2706 "Liblarch is a Python library built to easily handle data structures such
2707 as lists, trees and acyclic graphs. There's also a GTK binding that will
2708 allow you to use your data structure in a @code{Gtk.Treeview}.
2710 Liblarch support multiple views of one data structure and complex filtering.
2711 That way, you have a clear separation between your data themselves (Model)
2712 and how they are displayed (View).")
2713 (license license:lgpl3+)))
2723 (url "https://github.com/getting-things-gnome/gtg")
2724 (commit (string-append "v" version))))
2725 (file-name (git-file-name name version))
2727 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2728 (build-system meson-build-system)
2732 (modify-phases %standard-phases
2733 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2734 (lambda* (#:key outputs #:allow-other-keys)
2735 (let ((prog (string-append (assoc-ref outputs "out")
2737 (pylib (string-append (assoc-ref outputs "out")
2739 ,(version-major+minor
2740 (package-version python))
2743 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2744 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2747 `(("desktop-file-utils" ,desktop-file-utils)
2748 ("gettext" ,gettext-minimal)
2749 ("glib:bin" ,glib "bin")
2750 ("gobject-introspection" ,gobject-introspection)
2751 ("gtk+:bin" ,gtk+ "bin")
2752 ("pkg-config" ,pkg-config)))
2754 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2756 ("python-dbus" ,python-dbus)
2757 ("python-liblarch" ,python-liblarch)
2758 ("python-pycairo" ,python-pycairo)
2759 ("python-pygobject" ,python-pygobject)
2760 ("python-pyxdg" ,python-pyxdg)))
2761 (home-page "https://wiki.gnome.org/Apps/GTG")
2762 (synopsis "Personal organizer for the GNOME desktop")
2764 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2765 organizer for the GNOME desktop environment inspired by the Getting Things
2766 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2767 and ease of use in mind so it can be used as more than just GTD software.
2768 GTG is intended to help you track everything you need to do and need to
2769 know, from small tasks to large projects.")
2770 (license license:gpl3+)))
2772 (define-public icon-naming-utils
2774 (name "icon-naming-utils")
2779 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2780 version ".tar.bz2"))
2783 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2784 (build-system gnu-build-system)
2787 ("perl-xml-simple" ,perl-xml-simple)))
2790 (modify-phases %standard-phases
2791 (add-after 'install 'set-load-paths
2792 ;; Tell 'icon-name-mapping' where XML::Simple is.
2793 (lambda* (#:key outputs #:allow-other-keys)
2794 (let* ((out (assoc-ref outputs "out"))
2795 (prog (string-append out "/libexec/icon-name-mapping")))
2798 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2800 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2802 "Utility to implement the Freedesktop Icon Naming Specification")
2804 "To help with the transition to the Freedesktop Icon Naming
2805 Specification, the icon naming utility maps the icon names used by the
2806 GNOME and KDE desktops to the icon names proposed in the specification.")
2807 (license license:lgpl2.1+)))
2809 (define-public gnome-icon-theme
2811 (name "gnome-icon-theme")
2816 (uri (string-append "mirror://gnome/sources/" name "/"
2817 (version-major+minor version) "/"
2818 name "-" version ".tar.xz"))
2821 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2822 (build-system gnu-build-system)
2825 ;; Don't create 'icon-theme.cache'.
2826 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2827 (true (string-append coreutils "/bin/true")))
2828 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2830 `(("icon-naming-utils" ,icon-naming-utils)
2831 ("intltool" ,intltool)
2832 ("pkg-config" ,pkg-config)))
2833 (home-page "https://wiki.gnome.org/Personalization")
2834 (synopsis "GNOME icon theme")
2835 (description "Icons for the GNOME desktop.")
2836 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2838 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2839 (define-public adwaita-icon-theme
2840 (package (inherit gnome-icon-theme)
2841 (name "adwaita-icon-theme")
2845 (uri (string-append "mirror://gnome/sources/" name "/"
2846 (version-major+minor version) "/"
2847 name "-" version ".tar.xz"))
2850 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2852 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2854 (define-public tango-icon-theme
2856 (name "tango-icon-theme")
2860 (uri (string-append "http://tango.freedesktop.org/releases/"
2861 "tango-icon-theme-" version ".tar.bz2"))
2864 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2865 (build-system gnu-build-system)
2867 `(("icon-naming-utils" ,icon-naming-utils)
2868 ("intltool" ,intltool)
2869 ("imagemagick" ,imagemagick)
2870 ("pkg-config" ,pkg-config)))
2871 (home-page "http://tango-project.org/")
2872 (synopsis "Tango icon theme")
2873 (description "This is an icon theme that follows the Tango visual
2875 (license license:public-domain)))
2877 (define-public shared-mime-info
2879 (name "shared-mime-info")
2884 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2885 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2889 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2890 (build-system gnu-build-system)
2892 ;; The build system appears not to be parallel-safe.
2893 '(#:parallel-build? #f))
2896 ("libxml2" ,libxml2)))
2898 `(("gettext" ,gettext-minimal)
2899 ("itstool" ,itstool)
2900 ("pkg-config" ,pkg-config)))
2901 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2902 (synopsis "Database of common MIME types")
2904 "The shared-mime-info package contains the core database of common types
2905 and the update-mime-database command used to extend it. It requires glib2 to
2906 be installed for building the update command. Additionally, it uses intltool
2907 for translations, though this is only a dependency for the maintainers. This
2908 database is translated at Transifex.")
2909 (license license:gpl2+)))
2911 (define-public system-config-printer
2913 (name "system-config-printer")
2919 "https://github.com/OpenPrinting/system-config-printer/releases/"
2920 "download/v" version
2921 "/system-config-printer-" version ".tar.xz"))
2923 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2924 (build-system glib-or-gtk-build-system)
2926 `(#:imported-modules ((guix build python-build-system)
2927 ,@%glib-or-gtk-build-system-modules)
2929 (modify-phases %standard-phases
2930 (add-after 'unpack 'patch-Makefile.am
2932 ;; The Makefile generates some scripts, so set a valid shebang
2933 (substitute* "Makefile.am"
2934 (("/bin/bash") (which "bash")))
2935 (delete-file "configure")
2937 (add-after 'unpack 'patch-docbook-xml
2938 (lambda* (#:key inputs #:allow-other-keys)
2939 ;; Modify the man XML otherwise xmlto tries to access the network
2940 (substitute* "man/system-config-printer.xml"
2941 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2942 (string-append (assoc-ref inputs "docbook-xml")
2943 "/xml/dtd/docbook/")))
2945 (add-after 'install 'wrap-for-python
2946 (@@ (guix build python-build-system) wrap))
2947 (add-after 'install 'wrap
2948 (lambda* (#:key outputs #:allow-other-keys)
2949 (let ((out (assoc-ref outputs "out"))
2950 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2953 (wrap-program program
2954 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2956 (string-append out "/bin/" name))
2957 '("system-config-printer"
2958 "system-config-printer-applet"
2959 "install-printerdriver"
2960 "scp-dbus-service"))))
2963 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2964 ("gobject-introspection" ,gobject-introspection)
2968 ("python-dbus" ,python-dbus)
2969 ("python-pygobject" ,python-pygobject)
2970 ("python-pycups" ,python-pycups)
2971 ("python-requests" ,python-requests)
2972 ("python-pycairo" ,python-pycairo)
2973 ("libnotify" ,libnotify)
2974 ("packagekit" ,packagekit)))
2976 `(("pkg-config" ,pkg-config)
2977 ("desktop-file-utils" ,desktop-file-utils)
2979 ("autoconf" ,autoconf)
2980 ("automake" ,automake)
2981 ("intltool" ,intltool)
2983 ("docbook-xml" ,docbook-xml-4.1.2)
2984 ("docbook-xsl" ,docbook-xsl)
2985 ("libxml2" ,libxml2)))
2986 (home-page "https://github.com/zdohnal/system-config-printer")
2987 (synopsis "CUPS administration tool")
2989 "system-config-printer is a CUPS administration tool. It's written in
2990 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2992 (license license:gpl2+)))
2994 (define-public hicolor-icon-theme
2996 (name "hicolor-icon-theme")
3001 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3002 "hicolor-icon-theme-" version ".tar.xz"))
3005 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3006 (build-system gnu-build-system)
3008 `(#:tests? #f)) ; no check target
3009 (home-page "https://icon-theme.freedesktop.org/releases/")
3011 "Freedesktop icon theme")
3013 "Freedesktop icon theme.")
3014 (license license:gpl2)))
3016 (define-public libnotify
3023 (uri (string-append "mirror://gnome/sources/" name "/"
3024 (version-major+minor version) "/"
3025 name "-" version ".tar.xz"))
3028 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3029 (build-system meson-build-system)
3032 (modify-phases %standard-phases
3033 (add-after 'unpack 'fix-docbook
3034 (lambda* (#:key inputs #:allow-other-keys)
3035 ;; Don't attempt to download XSL schema.
3036 (substitute* "meson.build"
3037 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3038 /manpages/docbook.xsl")
3039 (string-append (assoc-ref inputs "docbook-xsl")
3040 "/xml/xsl/docbook-xsl-"
3041 ,(package-version docbook-xsl)
3042 "/manpages/docbook.xsl")))
3045 `(;; In Requires of libnotify.pc.
3046 ("gdk-pixbuf" ,gdk-pixbuf)
3050 ("libpng" ,libpng)))
3052 `(("pkg-config" ,pkg-config)
3053 ("glib" ,glib "bin")
3054 ("gobject-introspection" ,gobject-introspection)
3056 ;; For the documentation.
3057 ("gtk-doc" ,gtk-doc/stable)
3058 ("xsltproc" ,libxslt)
3059 ("docbook-xsl" ,docbook-xsl)))
3060 (home-page "https://developer-next.gnome.org/libnotify/")
3062 "GNOME desktop notification library")
3064 "Libnotify is a library that sends desktop notifications to a
3065 notification daemon, as defined in the Desktop Notifications spec. These
3066 notifications can be used to inform the user about an event or display
3067 some form of information without getting in the user's way.")
3068 (license license:lgpl2.1+)))
3070 (define-public libpeas
3077 (uri (string-append "mirror://gnome/sources/" name "/"
3078 (version-major+minor version) "/"
3079 name "-" version ".tar.xz"))
3082 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3083 (build-system meson-build-system)
3086 (modify-phases %standard-phases
3087 (add-before 'check 'start-xserver
3088 (lambda* (#:key inputs #:allow-other-keys)
3089 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3091 (setenv "DISPLAY" disp)
3092 ;; Tests require a running X server.
3093 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3099 ("python-pygobject" ,python-pygobject)))
3101 `(("pkg-config" ,pkg-config)
3102 ("gettext" ,gettext-minimal)
3103 ("glib:bin" ,glib "bin")
3104 ("gobject-introspection" ,gobject-introspection)
3105 ("xorg-server" ,xorg-server-for-tests)))
3107 ;; The .pc file "Requires" gobject-introspection.
3108 `(("gobject-introspection" ,gobject-introspection)))
3109 (home-page "https://wiki.gnome.org/Libpeas")
3110 (synopsis "GObject plugin system")
3112 "Libpeas is a gobject-based plugin engine, targeted at giving every
3113 application the chance to assume its own extensibility. It also has a set of
3114 features including, but not limited to: multiple extension points; on-demand
3115 (lazy) programming language support for C, Python and JS; simplicity of the
3117 (license license:lgpl2.0+)))
3119 (define-public gtkglext
3125 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3126 version "/gtkglext-" version ".tar.gz"))
3128 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3129 (patches (search-patches
3130 "gtkglext-disable-disable-deprecated.patch"))))
3131 (build-system gnu-build-system)
3134 (modify-phases %standard-phases
3135 ;; Fix a collision between a local variable and a definition from
3136 ;; glibc's string.h.
3137 (add-after 'unpack 'fix-collision
3139 (substitute* "gdk/gdkglshapes.c"
3140 ((" index") " triangle_index"))
3142 (inputs `(("gtk+" ,gtk+-2)
3147 (native-inputs `(("pkg-config" ,pkg-config)
3148 ("glib" ,glib "bin")))
3149 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3150 (home-page "https://projects.gnome.org/gtkglext")
3151 (synopsis "OpenGL extension to GTK+")
3152 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3153 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3154 API add-ons to make GTK+ widgets OpenGL-capable.")
3155 (license license:lgpl2.1+)))
3157 (define-public glade3
3163 (uri (string-append "mirror://gnome/sources/" name "/"
3164 (version-major+minor version) "/"
3165 name "-" version ".tar.xz"))
3168 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3169 (build-system glib-or-gtk-build-system)
3172 (modify-phases %standard-phases
3173 (add-before 'configure 'fix-docbook
3174 (lambda* (#:key inputs #:allow-other-keys)
3175 (substitute* "man/Makefile.in"
3176 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3177 (string-append (assoc-ref inputs "docbook-xsl")
3178 "/xml/xsl/docbook-xsl-"
3179 ,(package-version docbook-xsl)
3180 "/manpages/docbook.xsl")))
3182 (add-before 'check 'pre-check
3184 (setenv "HOME" "/tmp")
3185 ;; Tests require a running X server.
3186 (system "Xvfb :1 &")
3187 (setenv "DISPLAY" ":1")
3191 ("libxml2" ,libxml2)))
3193 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3194 ("intltool" ,intltool)
3195 ("itstool" ,itstool)
3196 ("libxslt" ,libxslt) ;for xsltproc
3197 ("docbook-xml" ,docbook-xml-4.2)
3198 ("docbook-xsl" ,docbook-xsl)
3199 ("python" ,python-2)
3200 ("pkg-config" ,pkg-config)
3201 ("xorg-server" ,xorg-server-for-tests)))
3202 (home-page "https://glade.gnome.org")
3203 (synopsis "GTK+ rapid application development tool")
3204 (description "Glade is a rapid application development (RAD) tool to
3205 enable quick & easy development of user interfaces for the GTK+ toolkit and
3206 the GNOME desktop environment.")
3207 (license license:lgpl2.0+)
3208 (native-search-paths (list (search-path-specification
3209 (variable "GLADE_CATALOG_SEARCH_PATH")
3210 (files '("share/glade/catalogs")))
3211 (search-path-specification
3212 (variable "GLADE_MODULE_SEARCH_PATH")
3213 (files '("lib/glade/modules")))))))
3215 (define-public libcroco
3221 (uri (string-append "mirror://gnome/sources/" name "/"
3222 (version-major+minor version) "/"
3223 name "-" version ".tar.xz"))
3226 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3227 (replacement libcroco/fixed)
3228 (build-system gnu-build-system)
3230 `(("pkg-config" ,pkg-config)))
3233 ("libxml2" ,libxml2)
3235 (home-page "https://github.com/GNOME/libcroco")
3236 (synopsis "CSS2 parsing and manipulation library")
3238 "Libcroco is a standalone CSS2 parsing and manipulation library.
3239 The parser provides a low level event driven SAC-like API and a CSS object
3240 model like API. Libcroco provides a CSS2 selection engine and an experimental
3241 XML/CSS rendering engine.")
3244 (license license:lgpl2.1)))
3246 (define libcroco/fixed
3253 (uri (string-append "mirror://gnome/sources/" name "/"
3254 (version-major+minor version) "/"
3255 name "-" version ".tar.xz"))
3258 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))
3259 (patches (search-patches "libcroco-CVE-2020-12825.patch"))))))
3261 (define-public libgsf
3267 (uri (string-append "mirror://gnome/sources/" name "/"
3268 (version-major+minor version) "/"
3269 name "-" version ".tar.xz"))
3272 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3273 (build-system gnu-build-system)
3275 '(#:configure-flags '("--disable-static")))
3277 `(("pkg-config" ,pkg-config)
3278 ("gettext" ,gettext-minimal)
3282 ("perl-xml-parser" ,perl-xml-parser)))
3287 `(("gdk-pixbuf" ,gdk-pixbuf)
3289 ("libxml2" ,libxml2)))
3290 (home-page "https://www.gnome.org/projects/libgsf")
3291 (synopsis "GNOME's Structured File Library")
3293 "Libgsf aims to provide an efficient extensible I/O abstraction for
3294 dealing with different structured file formats.")
3297 (license license:lgpl2.1)))
3299 (define-public librsvg
3305 (uri (string-append "mirror://gnome/sources/" name "/"
3306 (version-major+minor version) "/"
3307 name "-" version ".tar.xz"))
3310 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3311 (build-system gnu-build-system)
3314 (list "--disable-static"
3315 "--enable-vala") ; needed for e.g. gnome-mines
3317 (modify-phases %standard-phases
3318 (add-before 'configure 'pre-configure
3319 (lambda* (#:key inputs #:allow-other-keys)
3320 (substitute* "gdk-pixbuf-loader/Makefile.in"
3321 ;; By default the gdk-pixbuf loader is installed under
3322 ;; gdk-pixbuf's prefix. Work around that.
3323 (("gdk_pixbuf_moduledir = .*$")
3324 (string-append "gdk_pixbuf_moduledir = "
3325 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3327 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3328 (("gdk_pixbuf_cache_file = .*$")
3329 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3331 (add-before 'check 'remove-failing-tests
3333 (with-directory-excursion "tests/fixtures/reftests"
3334 (for-each delete-file
3335 '(;; This test fails on i686:
3336 "svg1.1/masking-path-04-b.svg"
3337 ;; This test fails on armhf:
3338 "svg1.1/masking-mask-01-b.svg"
3339 ;; This test fails on aarch64:
3340 "bugs/777834-empty-text-children.svg")))
3343 `(("pkg-config" ,pkg-config)
3345 ("glib" ,glib "bin") ; glib-mkenums, etc.
3346 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3348 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3349 ;; this ancient version of librsvg.
3350 ("pango" ,pango-1.42)
3351 ("libcroco" ,libcroco)
3354 ("libxml2" ,libxml2)))
3356 ;; librsvg-2.0.pc refers to all of that.
3358 ("gdk-pixbuf" ,gdk-pixbuf)
3360 (home-page "https://wiki.gnome.org/LibRsvg")
3361 (synopsis "Render SVG files using Cairo")
3363 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3365 (license license:lgpl2.0+)))
3367 (define-public librsvg-next
3373 (uri (string-append "mirror://gnome/sources/librsvg/"
3374 (version-major+minor version) "/"
3375 "librsvg-" version ".tar.xz"))
3378 "0n79i4wj9hm0d3bbn4xvknq5ylhqs16pvhaqr1rxspx9wfc8lad4"))
3379 (modules '((guix build utils)))
3381 '(begin (delete-file-recursively "vendor")
3383 (build-system cargo-build-system)
3384 (outputs '("out" "doc"))
3386 `(#:install-source? #f
3388 ((guix build cargo-build-system)
3390 ((guix build gnu-build-system) #:prefix gnu:))
3392 (("rust-bitflags" ,rust-bitflags-1)
3393 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3394 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3395 ("rust-cast" ,rust-cast-0.2)
3396 ("rust-cssparser" ,rust-cssparser-0.27)
3397 ("rust-data-url" ,rust-data-url-0.1)
3398 ("rust-encoding" ,rust-encoding-0.2)
3399 ("rust-float-cmp" ,rust-float-cmp-0.8)
3400 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3401 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3402 ("rust-gio" ,rust-gio-0.8)
3403 ("rust-gio-sys" ,rust-gio-sys-0.9)
3404 ("rust-glib" ,rust-glib-0.9)
3405 ("rust-glib-sys" ,rust-glib-sys-0.9)
3406 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3407 ("rust-itertools" ,rust-itertools-0.9)
3408 ("rust-language-tags" ,rust-language-tags-0.2)
3409 ("rust-libc" ,rust-libc-0.2)
3410 ("rust-locale-config" ,rust-locale-config-0.3)
3411 ("rust-markup5ever" ,rust-markup5ever-0.10)
3412 ("rust-nalgebra" ,rust-nalgebra-0.21)
3413 ("rust-num-traits" ,rust-num-traits-0.2)
3414 ("rust-once-cell" ,rust-once-cell-1)
3415 ("rust-pkg-config" ,rust-pkg-config-0.3)
3416 ("rust-pango" ,rust-pango-0.8)
3417 ("rust-pango-sys" ,rust-pango-sys-0.9)
3418 ("rust-pangocairo" ,rust-pangocairo-0.9)
3419 ("rust-rayon" ,rust-rayon-1)
3420 ("rust-rctree" ,rust-rctree-0.3)
3421 ("rust-rgb" ,rust-rgb-0.8)
3422 ("rust-regex" ,rust-regex-1)
3423 ("rust-selectors" ,rust-selectors-0.22)
3424 ("rust-string-cache" ,rust-string-cache-0.8)
3425 ("rust-tinyvec" ,rust-tinyvec-0.3)
3426 ("rust-url" ,rust-url-2)
3427 ("rust-xml5ever" ,rust-xml5ever-0.16))
3428 #:cargo-development-inputs
3429 (("rust-assert-cmd" ,rust-assert-cmd-1)
3430 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3431 ("rust-chrono" ,rust-chrono-0.4)
3432 ("rust-criterion" ,rust-criterion-0.3)
3433 ("rust-float-cmp" ,rust-float-cmp-0.8)
3434 ("rust-lopdf" ,rust-lopdf-0.26)
3435 ("rust-png" ,rust-png-0.16)
3436 ("rust-predicates" ,rust-predicates-1)
3437 ("rust-tempfile" ,rust-tempfile-3))
3439 (modify-phases %standard-phases
3440 (add-after 'unpack 'patch-docbook-xml
3441 (lambda* (#:key inputs #:allow-other-keys)
3442 (with-directory-excursion "doc"
3443 (substitute* "rsvg-docs.xml"
3444 (("http://www.oasis-open.org/docbook/xml/4.3/")
3445 (string-append (assoc-ref inputs "docbook-xml")
3446 "/xml/dtd/docbook/"))))
3448 (add-after 'unpack 'prepare-for-build
3450 ;; In lieu of #:make-flags
3451 (setenv "CC" ,(cc-for-target))
3452 ;; Something about the build environment resists building
3453 ;; successfully with the '--locked' flag.
3454 (substitute* '("Makefile.am" "Makefile.in")
3457 (add-before 'configure 'pre-configure
3459 (substitute* "gdk-pixbuf-loader/Makefile.in"
3460 ;; By default the gdk-pixbuf loader is installed under
3461 ;; gdk-pixbuf's prefix. Work around that.
3462 (("gdk_pixbuf_moduledir = .*$")
3463 (string-append "gdk_pixbuf_moduledir = "
3464 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3466 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3467 (("gdk_pixbuf_cache_file = .*$")
3468 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3470 (add-after 'configure 'gnu-configure
3471 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3472 ((assoc-ref gnu:%standard-phases 'configure)
3473 #:native-inputs native-inputs
3477 (list "--disable-static"
3479 (string-append "--with-html-dir="
3480 (assoc-ref %outputs "doc")
3481 "/share/gtk-doc/html")))))
3482 (add-after 'configure 'dont-vendor-self
3483 (lambda* (#:key vendor-dir #:allow-other-keys)
3484 ;; Don't keep the whole tarball in the vendor directory
3485 (delete-file-recursively
3486 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3489 (assoc-ref gnu:%standard-phases 'build))
3490 (add-before 'check 'ignore-failing-tests
3491 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3493 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3494 (("fn background_color_option_invalid_color_yields_error" all)
3495 (string-append "#[ignore] " all))
3496 (("fn empty_input_yields_error" all)
3497 (string-append "#[ignore] " all))
3498 (("fn empty_svg_yields_error" all)
3499 (string-append "#[ignore] " all))
3500 (("fn env_source_data_epoch_empty" all)
3501 (string-append "#[ignore] " all))
3502 (("fn env_source_data_epoch_no_digits" all)
3503 (string-append "#[ignore] " all))
3504 (("fn env_source_data_epoch_trailing_garbage" all)
3505 (string-append "#[ignore] " all))
3506 (("fn export_id_option_error" all)
3507 (string-append "#[ignore] " all))
3508 (("fn huge_zoom_factor_yields_error" all)
3509 (string-append "#[ignore] " all))
3510 (("fn multiple_input_files_not_allowed_for_png_output" all)
3511 (string-append "#[ignore] " all))
3512 (("fn stylesheet_option_error" all)
3513 (string-append "#[ignore] " all)))
3517 ((assoc-ref gnu:%standard-phases 'check)
3518 #:test-target "check")))
3520 (assoc-ref gnu:%standard-phases 'install)))))
3522 `(("docbook-xml" ,docbook-xml-4.3)
3523 ("glib" ,glib "bin")
3524 ("gobject-introspection" ,gobject-introspection)
3525 ("pkg-config" ,pkg-config)
3526 ("python" ,python-wrapper)
3531 ("fontconfig" ,fontconfig)
3532 ("freetype" ,freetype)
3533 ("harfbuzz" ,harfbuzz)
3534 ("libcroco" ,libcroco)
3536 ("libxml2" ,libxml2)
3540 ("gdk-pixbuf" ,gdk-pixbuf)
3542 (synopsis "SVG rendering library")
3543 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3544 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3545 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3547 (home-page "https://wiki.gnome.org/LibRsvg")
3548 (license license:lgpl2.1+)))
3550 (define-public libidl
3556 (uri (string-append "mirror://gnome/sources/libIDL/"
3557 (version-major+minor version) "/"
3558 "libIDL-" version ".tar.bz2"))
3561 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3562 (build-system gnu-build-system)
3563 (inputs `(("glib" ,glib)))
3565 `(("pkg-config" ,pkg-config)
3568 (home-page "http://freecode.com/projects/libidl")
3569 (synopsis "Create trees of CORBA Interface Definition Language files")
3570 (description "Libidl is a library for creating trees of CORBA Interface
3571 Definition Language (idl) files, which is a specification for defining
3572 portable interfaces. libidl was initially written for orbit (the orb from the
3573 GNOME project, and the primary means of libidl distribution). However, the
3574 functionality was designed to be as reusable and portable as possible.")
3575 (properties `((upstream-name . "libIDL")))
3576 (license license:lgpl2.0+)))
3579 (define-public orbit2
3585 (uri (let ((upstream-name "ORBit2"))
3586 (string-append "mirror://gnome/sources/" upstream-name "/"
3587 (version-major+minor version) "/"
3588 upstream-name "-" version ".tar.bz2")))
3591 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3592 (build-system gnu-build-system)
3594 `(;; The "timeout-server" test hangs when run in parallel.
3595 #:parallel-tests? #f
3597 '(;; We don't need static libraries, plus they don't build reproducibly
3598 ;; (non-deterministic ordering of .o files in the archive.)
3601 ;; The programmer kindly gives us a hook to turn off deprecation
3603 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3604 ;; ... which they then completly ignore !!
3606 (modify-phases %standard-phases
3607 (add-before 'configure 'ignore-deprecations
3609 (substitute* "linc2/src/Makefile.in"
3610 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3612 (inputs `(("glib" ,glib)
3613 ("libidl" ,libidl)))
3615 `(("pkg-config" ,pkg-config)))
3616 (home-page "https://projects.gnome.org/orbit2/")
3617 (synopsis "CORBA 2.4-compliant Object Request Broker")
3618 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3619 featuring mature C, C++ and Python bindings.")
3620 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3621 ;; a version. SOME of the code files have licence notices for GPLv2+.
3622 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3623 (license license:gpl2+)
3624 (properties `((upstream-name . "ORBit2")))))
3627 (define-public libbonobo
3633 (uri (string-append "mirror://gnome/sources/" name "/"
3634 (version-major+minor version)
3635 "/" name "-" version ".tar.bz2"))
3637 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3638 (patches (search-patches
3639 "libbonobo-activation-test-race.patch"))))
3640 (build-system gnu-build-system)
3642 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3644 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3645 ;; ... which they then completly ignore !!
3647 (modify-phases %standard-phases
3648 (add-before 'configure 'ignore-deprecations
3650 (substitute* "activation-server/Makefile.in"
3651 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3654 ;; There's apparently a race condition between the server stub
3655 ;; generation and linking of the example under 'samples/echo' that can
3656 ;; lead do undefined references when building in parallel, as reported
3657 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3658 ;; Thus, disable parallel builds.
3659 #:parallel-build? #f))
3660 (inputs `(("popt" ,popt)
3661 ("libxml2" ,libxml2)))
3662 ;; The following are Required by the .pc file
3665 ("orbit2" ,orbit2)))
3667 `(("intltool" ,intltool)
3668 ("pkg-config" ,pkg-config)
3669 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3672 (home-page "https://developer.gnome.org/libbonobo/")
3673 (synopsis "Framework for creating reusable components for use in GNOME applications")
3674 (description "Bonobo is a framework for creating reusable components for
3675 use in GNOME applications, built on top of CORBA.")
3676 ;; Licence not explicitly stated. Source files contain no licence notices.
3677 ;; Tarball contains text of both GPLv2 and LGPLv2
3678 ;; GPLv2 covers both conditions
3679 (license license:gpl2+)))
3682 (define-public gconf
3689 (let ((upstream-name "GConf"))
3690 (string-append "mirror://gnome/sources/" upstream-name "/"
3691 (version-major+minor version) "/"
3692 upstream-name "-" version ".tar.xz")))
3694 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3695 (build-system gnu-build-system)
3696 (inputs `(("dbus-glib" ,dbus-glib)
3697 ("libxml2" ,libxml2)))
3698 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3699 ("orbit2" ,orbit2)))
3701 `(("intltool" ,intltool)
3702 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3703 ("pkg-config" ,pkg-config)))
3704 (home-page "https://projects.gnome.org/gconf/")
3705 (synopsis "Store application preferences")
3706 (description "Gconf is a system for storing application preferences. It
3707 is intended for user preferences; not arbitrary data storage.")
3708 (license license:lgpl2.0+)
3709 (properties '((upstream-name . "GConf")))))
3712 (define-public gnome-mime-data
3714 (name "gnome-mime-data")
3718 (uri (string-append "mirror://gnome/sources/" name "/"
3719 (version-major+minor version) "/"
3720 name "-" version ".tar.bz2"))
3723 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3724 (build-system gnu-build-system)
3727 ("intltool" ,intltool)))
3729 '(#:phases (modify-phases %standard-phases
3730 (add-after 'configure 'use-our-intltool
3732 ;; Do not use the bundled intltool commands, which lack
3733 ;; the "dotless @INC" fixes of our 'intltool' package.
3734 (substitute* (find-files "." "^Makefile$")
3735 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3736 (string-append "INTLTOOL_" tool " = intltool-"
3737 (string-downcase tool) "\n")))
3739 (home-page "https://www.gnome.org")
3740 (synopsis "Base MIME and Application database for GNOME")
3741 (description "GNOME Mime Data is a module which contains the base MIME
3742 and Application database for GNOME. The data stored by this module is
3743 designed to be accessed through the MIME functions in GnomeVFS.")
3744 (license license:gpl2+)))
3747 (define-public gnome-vfs
3753 (uri (string-append "mirror://gnome/sources/" name "/"
3754 (version-major+minor version) "/"
3755 name "-" version ".tar.bz2"))
3758 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3759 (build-system gnu-build-system)
3762 (modify-phases %standard-phases
3763 (add-before 'configure 'ignore-deprecations
3765 (substitute* '("libgnomevfs/Makefile.in"
3766 "daemon/Makefile.in")
3767 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3769 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3771 (substitute* "test/test-async-cancel.c"
3772 (("EXIT_FAILURE") "77"))
3774 (inputs `(("libxml2" ,libxml2)
3775 ("dbus-glib" ,dbus-glib)
3777 ("gnome-mime-data" ,gnome-mime-data)
3780 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3781 ("intltool" ,intltool)
3782 ("pkg-config" ,pkg-config)))
3783 (home-page "https://developer.gnome.org/gnome-vfs/")
3784 (synopsis "Access files and folders in GNOME applications")
3786 "GnomeVFS is the core library used to access files and folders in GNOME
3787 applications. It provides a file system abstraction which allows applications
3788 to access local and remote files with a single consistent API.")
3789 (license license:lgpl2.0+)))
3793 (define-public libgnome
3799 (uri (string-append "mirror://gnome/sources/" name "/"
3800 (version-major+minor version) "/"
3801 name "-" version ".tar.bz2"))
3804 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3805 (patches (search-patches "libgnome-encoding.patch"))))
3806 (build-system gnu-build-system)
3809 (modify-phases %standard-phases
3810 (add-before 'configure 'enable-deprecated
3812 (substitute* "libgnome/Makefile.in"
3813 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3815 (inputs `(("libxml2" ,libxml2)))
3817 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3818 ("intltool" ,intltool)
3819 ("pkg-config" ,pkg-config)))
3820 ;; The following are listed as Required in the .pc file
3821 ;; (except for libcanberra -- which seems to be oversight on the part
3822 ;; of the upstream developers -- anything that links against libgnome,
3823 ;; must also link against libcanberra
3825 `(("libcanberra" ,libcanberra)
3826 ("libbonobo" ,libbonobo)
3828 ("gnome-vfs" ,gnome-vfs)
3829 ("popt" ,popt))) ;gnome-program.h includes popt.h
3830 (home-page "https://developer.gnome.org/libgnome/")
3831 (synopsis "Useful routines for building applications")
3832 (description "The libgnome library provides a number of useful routines
3833 for building modern applications, including session management, activation of
3834 files and URIs, and displaying help.")
3835 (license license:lgpl2.0+)))
3838 (define-public libart-lgpl
3840 (name "libart-lgpl")
3844 (uri (let ((upstream-name "libart_lgpl"))
3845 (string-append "mirror://gnome/sources/" upstream-name "/"
3846 (version-major+minor version) "/"
3847 upstream-name "-" version ".tar.bz2")))
3850 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3851 (build-system gnu-build-system)
3853 `(("pkg-config" ,pkg-config)))
3854 (home-page "https://people.gnome.org/~mathieu/libart")
3855 (synopsis "2D drawing library")
3856 (description "Libart is a 2D drawing library intended as a
3857 high-quality vector-based 2D library with antialiasing and alpha composition.")
3858 (license license:lgpl2.0+)))
3862 (define-public libgnomecanvas
3864 (name "libgnomecanvas")
3868 (uri (string-append "mirror://gnome/sources/" name "/"
3869 (version-major+minor version) "/"
3870 name "-" version ".tar.gz"))
3873 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3874 (build-system gnu-build-system)
3875 ;; Mentioned as Required in the .pc file
3876 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3879 `(("intltool" ,intltool)
3880 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3881 ("pkg-config" ,pkg-config)))
3882 (home-page "https://developer.gnome.org/libgnomecanvas/")
3883 (synopsis "Flexible widget for creating interactive structured graphics")
3884 (description "The GnomeCanvas widget provides a flexible widget for
3885 creating interactive structured graphics.")
3886 (license license:lgpl2.0+)))
3888 (define-public libgnomecanvasmm
3890 (name "libgnomecanvasmm")
3894 (uri (string-append "mirror://gnome/sources/" name "/"
3895 (version-major+minor version) "/"
3896 name "-" version ".tar.bz2"))
3899 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3900 (build-system gnu-build-system)
3901 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3903 `(("gtkmm-2" ,gtkmm-2)
3904 ("pkg-config" ,pkg-config)))
3905 (home-page "https://gtkmm.org")
3906 (synopsis "C++ bindings to the GNOME Canvas library")
3907 (description "C++ bindings to the GNOME Canvas library.")
3908 (license license:lgpl2.0+)))
3910 (define-public libgnomeui
3916 (uri (string-append "mirror://gnome/sources/" name "/"
3917 (version-major+minor version) "/"
3918 name "-" version ".tar.bz2"))
3919 (patches (search-patches "libgnomeui-utf8.patch"))
3922 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3923 (build-system gnu-build-system)
3924 ;; Mentioned as Required in the .pc file
3925 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3926 ("libgnome" ,libgnome)
3927 ("libgnomecanvas" ,libgnomecanvas)
3928 ("libgnome-keyring" ,libgnome-keyring)))
3929 (inputs `(("libjpeg" ,libjpeg-turbo)
3931 ("libbonobo" ,libbonobo)
3932 ("libxml2" ,libxml2)
3933 ("libglade" ,libglade)))
3935 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3936 ("intltool" ,intltool)
3937 ("pkg-config" ,pkg-config)))
3938 (home-page "https://developer.gnome.org/libgnomeui/")
3939 (synopsis "Additional widgets for applications")
3940 (description "The libgnomeui library provides additional widgets for
3941 applications. Many of the widgets from libgnomeui have already been
3943 (license license:lgpl2.0+)))
3945 (define-public libglade
3951 (uri (string-append "mirror://gnome/sources/" name "/"
3952 (version-major+minor version) "/"
3953 name "-" version ".tar.bz2"))
3956 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3957 (build-system gnu-build-system)
3959 `(("python" ,python))) ;; needed for the optional libglade-convert program
3961 `(("gtk+-2" ,gtk+-2)
3962 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3964 `(("pkg-config" ,pkg-config)))
3965 (home-page "https://developer.gnome.org/libglade")
3966 (synopsis "Load glade interfaces and access the glade built widgets")
3967 (description "Libglade is a library that provides interfaces for loading
3968 graphical interfaces described in glade files and for accessing the
3969 widgets built in the loading process.")
3970 (license license:gpl2+))) ; This is correct. GPL not LGPL
3972 (define-public libgnomeprint
3973 ;; This library has been deprecated since 2006; see
3974 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3976 (name "libgnomeprint")
3980 (uri (string-append "mirror://gnome/sources/" name "/"
3981 (version-major+minor version) "/"
3982 name "-" version ".tar.bz2"))
3985 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3986 (build-system gnu-build-system)
3989 ("libart-lgpl" ,libart-lgpl)
3991 ("libxml2" ,libxml2)))
3993 `(("intltool" ,intltool)
3994 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3995 ("pkg-config" ,pkg-config)))
3996 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3997 (synopsis "Printing framework for GNOME")
3999 "GNOME-print was a printing framework for GNOME. It has been deprecated
4000 since ca. 2006, when GTK+ itself incorporated printing support.")
4001 (license license:lgpl2.0+)))
4004 (define-public libgnomeprintui
4005 ;; Deprecated; see libgnomeprint.
4007 (name "libgnomeprintui")
4011 (uri (string-append "mirror://gnome/sources/" name "/"
4012 (version-major+minor version) "/"
4013 name "-" version ".tar.bz2"))
4016 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4017 (build-system gnu-build-system)
4018 ;; Mentioned as Required in the .pc file
4019 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4020 (inputs `(("gtk+" ,gtk+-2)
4022 ("gnome-icon-theme" ,gnome-icon-theme)
4023 ("libgnomecanvas" ,libgnomecanvas)
4024 ("libxml2" ,libxml2)))
4026 `(("intltool" ,intltool)
4027 ("pkg-config" ,pkg-config)))
4028 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4029 (synopsis "Printing framework for GNOME")
4030 (description (package-description libgnomeprint))
4031 (license license:lgpl2.0+)))
4033 (define-public libbonoboui
4035 (name "libbonoboui")
4039 (uri (string-append "mirror://gnome/sources/" name "/"
4040 (version-major+minor version) "/"
4041 name "-" version ".tar.bz2"))
4044 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4045 (build-system gnu-build-system)
4048 (modify-phases %standard-phases
4049 (add-before 'check 'start-xserver
4050 (lambda* (#:key inputs #:allow-other-keys)
4051 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4054 (setenv "HOME" (getcwd))
4055 (setenv "DISPLAY" disp)
4056 ;; There must be a running X server and make check doesn't start one.
4057 ;; Therefore we must do it.
4058 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4059 ;; Mentioned as Required by the .pc file
4060 (propagated-inputs `(("libxml2" ,libxml2)))
4063 ("pangox-compat" ,pangox-compat)
4064 ("libgnome" ,libgnome)
4065 ("libgnomecanvas" ,libgnomecanvas)
4066 ("libglade" ,libglade)))
4068 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4069 ("intltool" ,intltool)
4070 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4071 ("pkg-config" ,pkg-config)))
4072 (home-page "https://developer.gnome.org/libbonoboui/")
4073 (synopsis "Some user interface controls using Bonobo")
4074 (description "The Bonobo UI library provides a number of user interface
4075 controls using the Bonobo component framework.")
4076 (license license:lgpl2.0+)))
4078 (define-public libwnck
4084 (uri (string-append "mirror://gnome/sources/" name "/"
4085 (version-major+minor version) "/"
4086 name "-" version ".tar.xz"))
4089 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4090 (build-system meson-build-system)
4092 `(("pkg-config" ,pkg-config)
4093 ("glib" ,glib "bin") ; for glib-mkenums
4094 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4095 ("intltool" ,intltool)))
4098 ("libxres" ,libxres)
4099 ("startup-notification" ,startup-notification)))
4100 (home-page "https://developer.gnome.org/libwnck/")
4101 (synopsis "Window Navigator Construction Kit")
4103 "Libwnck is the Window Navigator Construction Kit, a library for use in
4104 writing pagers, tasklists, and more generally applications that are dealing
4105 with window management. It tries hard to respect the Extended Window Manager
4106 Hints specification (EWMH).")
4107 (license license:lgpl2.0+)))
4109 ;; stable version for gtk2, required by xfwm4.
4110 (define-public libwnck-2
4111 (package (inherit libwnck)
4116 (uri (string-append "mirror://gnome/sources/" name "/"
4117 (version-major+minor version) "/"
4118 name "-" version ".tar.xz"))
4121 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4122 (build-system gnu-build-system)
4124 `(("pkg-config" ,pkg-config)
4125 ("intltool" ,intltool)))
4128 ("libxres" ,libxres)
4129 ("startup-notification" ,startup-notification)))))
4131 (define-public goffice
4137 (uri (string-append "mirror://gnome/sources/goffice/"
4138 (version-major+minor version) "/"
4139 "goffice-" version ".tar.xz"))
4141 (base32 "1s87ngs3g3nfvcn96aq4lgzx5cscbfg4n9f6ns2zpvc5ngdiiz2z"))))
4142 (build-system gnu-build-system)
4144 "doc")) ; 4.0 MiB of gtk-doc
4146 '(#:configure-flags (list (string-append "--with-html-dir="
4147 (assoc-ref %outputs "doc")
4148 "/share/gtk-doc/html"))))
4152 ("librsvg" ,librsvg)
4153 ("libxslt" ,libxslt)
4154 ("libxml2" ,libxml2)))
4156 `(("intltool" ,intltool)
4157 ("glib" ,glib "bin")
4158 ("pkg-config" ,pkg-config)))
4159 (home-page "https://developer.gnome.org/goffice/")
4160 (synopsis "Document-centric objects and utilities")
4161 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4163 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4165 (list license:gpl2 license:gpl3))))
4167 (define-public goffice-0.8
4168 (package (inherit goffice)
4172 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4173 (version-major+minor version) "/"
4174 (package-name goffice) "-" version ".tar.xz"))
4176 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4179 (modify-phases %standard-phases
4180 (add-after 'unpack 'fix-pcre-check
4182 ;; Only glib.h can be included directly. See
4183 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4184 (substitute* "configure"
4185 (("glib/gregex\\.h") "glib.h")) #t)))
4187 ,@(package-arguments goffice)))
4189 ;; libgoffice-0.8.pc mentions libgsf-1
4190 `(("libgsf" ,libgsf)))
4193 ,@(alist-delete "gtk" (package-inputs goffice))))))
4195 (define-public gnumeric
4201 (uri (string-append "mirror://gnome/sources/gnumeric/"
4202 (version-major+minor version) "/"
4203 "gnumeric-" version ".tar.xz"))
4206 "0mzdhhpa7kwkc51l344g6vgqwaxkjdf03s7zasqh0bn3jpn75h4i"))))
4207 (build-system glib-or-gtk-build-system)
4209 `(;; The gnumeric developers don't worry much about failing tests.
4210 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4213 (modify-phases %standard-phases
4215 'configure 'pre-conf
4216 (lambda* (#:key outputs #:allow-other-keys)
4217 ;; Make install tries to write into the directory of goffice
4218 ;; I am informed that this only affects the possibility to embed a
4219 ;; spreadsheet inside an Abiword document. So presumably when we
4220 ;; package Abiword we'll have to refer it to this directory.
4221 (substitute* "configure"
4222 (("^GOFFICE_PLUGINS_DIR=.*")
4223 (string-append "GOFFICE_PLUGINS_DIR="
4224 (assoc-ref outputs "out")
4225 "/goffice/plugins"))))))))
4229 ("goffice" ,goffice)
4231 ("librsvg" ,librsvg)
4232 ("libxml2" ,libxml2)
4233 ("libxslt" ,libxslt)
4235 ("python-pygobject" ,python-pygobject)
4239 ("docbook-xml" ,docbook-xml)
4240 ("intltool" ,intltool)
4241 ("itstool" ,itstool)
4242 ("glib:bin" ,glib "bin")
4243 ("pkg-config" ,pkg-config)))
4244 (home-page "http://www.gnumeric.org")
4245 (synopsis "Spreadsheet application")
4247 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4248 interoperable with other spreadsheet applications. It has a vast array of
4249 features beyond typical spreadsheet functionality, such as support for linear
4250 and non-linear solvers, statistical analysis, and telecommunication
4253 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4254 (list license:gpl2 license:gpl3))))
4256 (define-public drawing
4264 (url "https://github.com/maoschanz/drawing")
4266 (file-name (git-file-name name version))
4268 (base32 "1kfgmalakifcvzhzss9zhmqjbdk24zr22c5xwkkahlvfcafp13wn"))))
4269 (build-system meson-build-system)
4273 (modify-phases %standard-phases
4274 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
4275 (lambda* (#:key outputs #:allow-other-keys)
4276 (let ((prog (string-append (assoc-ref outputs "out")
4278 (pylib (string-append (assoc-ref outputs "out")
4280 ,(version-major+minor
4281 (package-version python))
4284 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
4285 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
4288 `(("desktop-file-utils" ,desktop-file-utils)
4289 ("gettext" ,gettext-minimal)
4290 ("glib:bin" ,glib "bin")
4291 ("gobject-introspection" ,gobject-introspection)
4292 ("gtk+:bin" ,gtk+ "bin")
4293 ("pkg-config" ,pkg-config)))
4295 `(("gdk-pixbuf" ,gdk-pixbuf+svg)
4296 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4299 ("python-pycairo" ,python-pycairo)
4300 ("python-pygobject" ,python-pygobject)))
4301 (home-page "https://maoschanz.github.io/drawing/")
4302 (synopsis "Basic image editor for GNOME")
4304 "Drawing is a basic image editor aiming at the GNOME desktop.")
4305 (license license:gpl3+)))
4307 (define-public gnome-themes-standard
4309 (name "gnome-themes-standard")
4314 (uri (string-append "mirror://gnome/sources/" name "/"
4315 (version-major+minor version) "/" name "-"
4319 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4320 (build-system gnu-build-system)
4323 ;; Don't create 'icon-theme.cache'.
4324 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4325 (true (string-append coreutils "/bin/true")))
4326 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4330 ("librsvg" ,librsvg)
4331 ("libxml2" ,libxml2)
4334 `(("intltool" ,intltool)
4335 ("glib:bin" ,glib "bin")
4336 ("pkg-config" ,pkg-config)))
4337 (home-page "https://launchpad.net/gnome-themes-standard")
4338 (synopsis "Default GNOME 3 themes")
4340 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4341 (license license:lgpl2.1+)))
4343 (define-public seahorse
4350 (uri (string-append "mirror://gnome/sources/" name "/"
4351 (version-major+minor version) "/" name "-"
4354 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4355 (build-system meson-build-system)
4359 (modify-phases %standard-phases
4360 (add-after 'unpack 'skip-gtk-update-icon-cache
4361 ;; Don't create 'icon-theme.cache'.
4363 (substitute* "build-aux/meson_post_install.py"
4364 (("gtk-update-icon-cache") "true"))
4371 ("openldap" ,openldap)
4372 ("openssh" ,openssh)
4374 ("libhandy" ,libhandy-0.0)
4375 ("libpwquality" ,libpwquality)
4376 ("libsecret" ,libsecret)
4377 ("libsoup" ,libsoup)))
4379 `(("gettext" ,gettext-minimal)
4380 ("glib:bin" ,glib "bin")
4381 ("itstool" ,itstool)
4382 ("pkg-config" ,pkg-config)
4384 ("xmllint" ,libxml2)))
4385 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4386 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4388 "Seahorse is a GNOME application for managing encryption keys and
4389 passwords in the GNOME keyring.")
4390 (license license:gpl2+)))
4398 (uri (string-append "mirror://gnome/sources/" name "/"
4399 (version-major+minor version) "/"
4400 name "-" version ".tar.xz"))
4403 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4404 (build-system gnu-build-system)
4407 (modify-phases %standard-phases
4408 (add-before 'check 'pre-check
4411 (substitute* "valadoc/tests/testrunner.sh"
4412 (("export PKG_CONFIG_PATH=" m)
4413 (string-append m "$PKG_CONFIG_PATH:")))
4414 ;; For missing '/etc/machine-id'.
4415 (setenv "DBUS_FATAL_WARNINGS" "0")
4418 `(("pkg-config" ,pkg-config)
4421 ("xsltproc" ,libxslt)
4422 ("dbus" ,dbus) ; for dbus tests
4423 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4425 `(("graphviz" ,graphviz)))
4427 `(("glib" ,glib))) ; required by libvala-0.40.pc
4428 (home-page "https://wiki.gnome.org/Projects/Vala/")
4429 (synopsis "Compiler for the GObject type system")
4431 "Vala is a programming language that aims to bring modern programming
4432 language features to GNOME developers without imposing any additional runtime
4433 requirements and without using a different ABI compared to applications and
4434 libraries written in C.")
4435 (license license:lgpl2.1+)))
4437 (define-public vala-0.50
4443 (uri (string-append "mirror://gnome/sources/vala/"
4444 (version-major+minor version) "/"
4445 "vala-" version ".tar.xz"))
4448 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4456 (uri (string-append "mirror://gnome/sources/vte/"
4457 (version-major+minor version) "/"
4458 "vte-" version ".tar.xz"))
4461 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4462 (build-system meson-build-system)
4466 "-D_systemd=false")))
4468 `(("pkg-config" ,pkg-config)
4469 ("gettext" ,gettext-minimal)
4471 ("gobject-introspection" ,gobject-introspection)
4472 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4474 ("xmllint" ,libxml2)))
4476 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4477 ("gnutls" ,gnutls) ; ditto
4478 ("pcre2" ,pcre2))) ; ditto
4479 (home-page "https://www.gnome.org/")
4480 (synopsis "Virtual Terminal Emulator")
4482 "VTE is a library (libvte) implementing a terminal emulator widget for
4483 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4484 gnome-terminal, but can also be used to embed a console/terminal in games,
4485 editors, IDEs, etc.")
4486 (license license:lgpl2.1+)))
4488 (define-public vte-ng
4492 (version "0.58.2.a")
4493 (home-page "https://github.com/thestinger/vte-ng")
4496 (uri (git-reference (url home-page) (commit version)))
4497 (file-name (git-file-name name version))
4500 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4501 (build-system meson-build-system)
4503 `(("gtk-doc" ,gtk-doc/stable)
4504 ,@(package-native-inputs vte)))
4506 `(#:configure-flags '("-Ddocs=true")))
4507 (synopsis "Enhanced VTE terminal widget")
4509 "VTE is a library (libvte) implementing a terminal emulator widget for
4510 GTK+, this fork provides additional functions exposed for keyboard text
4511 selection and URL hints.")))
4513 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4514 (define-public vte/gtk+-2
4515 (package (inherit vte)
4520 (uri (string-append "mirror://gnome/sources/" name "/"
4521 (version-major+minor version) "/"
4522 name "-" version ".tar.xz"))
4525 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4526 (patches (search-patches
4527 "vte-CVE-2012-2738-pt1.patch"
4528 "vte-CVE-2012-2738-pt2.patch"))))
4529 (build-system gnu-build-system)
4531 '(#:configure-flags '("--disable-python")))
4533 `(("pkg-config" ,pkg-config)
4534 ("intltool" ,intltool)
4535 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4537 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4538 ("ncurses" ,ncurses))))) ; required by libvte.la
4540 (define-public vinagre
4546 (uri (string-append "mirror://gnome/sources/" name "/"
4547 (version-major+minor version) "/"
4548 name "-" version ".tar.xz"))
4549 (patches (search-patches "vinagre-newer-freerdp.patch"
4550 "vinagre-newer-rdp-parameters.patch"))
4553 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4554 (build-system glib-or-gtk-build-system)
4556 ;; Disable -Werror and such, to avoid build failures on compilation
4558 '(#:configure-flags '("--enable-compile-warnings=minimum")
4560 (modify-phases %standard-phases
4561 (add-before 'install 'skip-gtk-update-icon-cache
4563 ;; Don't create 'icon-theme.cache'
4564 (substitute* (find-files "." "^Makefile$")
4565 (("gtk-update-icon-cache") (which "true")))
4567 (add-after 'unpack 'patch-configure
4569 (substitute* "configure"
4570 (("freerdp") "freerdp2"))
4573 `(("pkg-config" ,pkg-config)
4574 ("intltool" ,intltool)
4575 ("itstool" ,itstool)
4576 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4578 `(("libxml2" ,libxml2)
4579 ("gtk-vnc" ,gtk-vnc)
4580 ("gnome-keyring" ,gnome-keyring)
4581 ("libsecret" ,libsecret)
4582 ("freerdp" ,freerdp)
4584 ("spice-gtk" ,spice-gtk)
4585 ("telepathy-glib" ,telepathy-glib)
4587 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4588 (synopsis "Remote desktop viewer for GNOME")
4589 (description "Vinagre is a remote display client supporting the VNC, SPICE
4590 and RDP protocols.")
4591 (license license:gpl3+)))
4593 (define-public dconf
4600 "mirror://gnome/sources/" name "/"
4601 (version-major+minor version) "/"
4602 name "-" version ".tar.xz"))
4605 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4606 (build-system meson-build-system)
4608 ;; In Requires of dconf.pc.
4614 `(("bash-completion" ,bash-completion)
4615 ("libxslt" ,libxslt) ;for xsltproc
4616 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4617 ("docbook-xml" ,docbook-xml-4.2)
4618 ("docbook-xsl" ,docbook-xsl)
4619 ("glib:bin" ,glib "bin")
4620 ("gtk-doc" ,gtk-doc/stable)
4621 ("pkg-config" ,pkg-config)
4625 #:configure-flags '("-Denable-gtk-doc=true")
4626 #:phases (modify-phases %standard-phases
4627 (add-after 'unpack 'increase-test-timeout
4629 ;; On big-memory systems, the engine test may take
4630 ;; much longer than the default of 30 seconds.
4631 (substitute* "tests/meson.build"
4632 (("test\\(unit_test\\[0\\], exe" all)
4633 (string-append all ", timeout : 90")))
4635 (home-page "https://developer.gnome.org/dconf/")
4636 (synopsis "Low-level GNOME configuration system")
4637 (description "Dconf is a low-level configuration system. Its main purpose
4638 is to provide a backend to GSettings on platforms that don't already have
4639 configuration storage systems.")
4640 (license license:lgpl2.1+)))
4642 (define-public json-glib
4648 (uri (string-append "mirror://gnome/sources/" name "/"
4649 (version-major+minor version) "/"
4650 name "-" version ".tar.xz"))
4653 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4654 (build-system meson-build-system)
4656 `(("gettext" ,gettext-minimal)
4657 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4658 ("gobject-introspection" ,gobject-introspection)
4659 ("pkg-config" ,pkg-config)))
4661 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4662 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4663 (synopsis "Compiler for the GObject type system")
4665 "JSON-GLib is a C library based on GLib providing serialization and
4666 deserialization support for the JavaScript Object Notation (JSON) format
4667 described by RFC 4627. It provides parser and generator GObject classes and
4668 various wrappers for the complex data types employed by JSON, such as arrays
4670 (license license:lgpl2.1+)))
4672 (define-public libxklavier
4674 (name "libxklavier")
4677 ;; Note: There's no tarball at ftp.gnome.org for this version.
4680 (url "https://anongit.freedesktop.org/git/libxklavier")
4681 (commit (string-append "libxklavier-" version))))
4684 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4685 (file-name (git-file-name name version))))
4686 (build-system gnu-build-system)
4689 (list (string-append "--with-xkb-base="
4690 (assoc-ref %build-inputs "xkeyboard-config")
4692 "--disable-xmodmap-support")))
4694 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4695 ("gobject-introspection" ,gobject-introspection)
4696 ("pkg-config" ,pkg-config)
4697 ("gtk-doc" ,gtk-doc/stable)
4698 ("intltool" ,intltool)
4700 ("autoconf" ,autoconf)
4701 ("automake" ,automake)
4702 ("libtool" ,libtool)))
4704 ;; Required by libxklavier.pc.
4706 ("libxml2" ,libxml2)))
4708 `(("iso-codes" ,iso-codes)
4710 ("libxkbfile" ,libxkbfile)
4711 ("xkbcomp" ,xkbcomp)
4712 ("xkeyboard-config" ,xkeyboard-config)))
4713 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4714 (synopsis "High-level API for X Keyboard Extension")
4716 "LibXklavier is a library providing high-level API for X Keyboard
4717 Extension known as XKB. This library is intended to support XFree86 and other
4718 commercial X servers. It is useful for creating XKB-related software (layout
4720 (license license:lgpl2.0+)))
4722 (define-public python2-rsvg
4723 ;; XXX: This is actually a subset of gnome-python-desktop.
4725 (name "python2-rsvg")
4731 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4732 version ".tar.bz2"))
4735 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4736 (build-system gnu-build-system)
4738 `(("pkg-config" ,pkg-config)))
4740 `(("python" ,python-2)
4741 ("python2-pygtk" ,python2-pygtk)
4742 ("librsvg" ,librsvg)))
4743 (home-page "https://www.gnome.org")
4744 (synopsis "Python bindings to librsvg")
4746 "This package provides Python bindings to librsvg, the SVG rendering
4749 ;; This is the license of the rsvg bindings. The license of each module
4750 ;; of gnome-python-desktop is given in 'COPYING'.
4751 (license license:lgpl2.1+)))
4753 (define-public glib-networking
4755 (name "glib-networking")
4759 (uri (string-append "mirror://gnome/sources/glib-networking/"
4760 (version-major+minor version) "/"
4761 "glib-networking-" version ".tar.xz"))
4764 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4765 (build-system meson-build-system)
4767 `(#:configure-flags '("-Dlibproxy_support=false")))
4769 `(("pkg-config" ,pkg-config)
4770 ("intltool" ,intltool)))
4774 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4775 (home-page "https://www.gnome.org")
4776 (synopsis "Network-related GIO modules")
4778 "This package contains various network related extensions for the GIO
4780 (license license:lgpl2.0+)))
4788 (uri (string-append "mirror://gnome/sources/rest/"
4789 (version-major+minor version) "/"
4790 name "-" version ".tar.xz"))
4793 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4794 (build-system gnu-build-system)
4796 '(#:tests? #f ; tests require internet connection
4798 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4800 `(("glib-mkenums" ,glib "bin")
4801 ("gobject-introspection" ,gobject-introspection)
4802 ("pkg-config" ,pkg-config)))
4804 ;; rest-0.7.pc refers to all these.
4806 ("libsoup" ,libsoup)
4807 ("libxml2" ,libxml2)))
4808 (home-page "https://www.gtk.org/")
4809 (synopsis "RESTful web api query library")
4811 "This library was designed to make it easier to access web services that
4812 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4813 libxml to ease remote use of the RESTful API.")
4814 (license license:lgpl2.1+)))
4816 (define-public libsoup
4822 (uri (string-append "mirror://gnome/sources/libsoup/"
4823 (version-major+minor version) "/"
4824 "libsoup-" version ".tar.xz"))
4827 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4828 (build-system meson-build-system)
4829 (outputs '("out" "doc"))
4831 `(#:modules ((guix build utils)
4832 (guix build meson-build-system)
4835 #:configure-flags '("-Dgtk_doc=true")
4837 (modify-phases %standard-phases
4838 (add-after 'unpack 'patch-docbook-xml
4839 (lambda* (#:key inputs #:allow-other-keys)
4840 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4841 "/xml/dtd/docbook")))
4842 (substitute* (find-files "docs/reference")
4843 (("http://.*/docbookx\\.dtd")
4844 (string-append xmldoc "/docbookx.dtd")))
4846 (add-after 'unpack 'adjust-tests
4848 ;; This test fails due to missing /etc/nsswitch.conf
4849 ;; in the build environment.
4850 (substitute* "tests/socket-test.c"
4851 ((".*/sockets/unconnected.*") ""))
4853 ;; These fail because "subdomain.localhost" does not resolve in
4854 ;; the build environment.
4855 (substitute* "tests/hsts-test.c"
4856 ((".*/hsts/basic.*") "")
4857 ((".*/hsts/subdomains.*") "")
4858 ((".*/hsts/superdomain.*") "")
4859 ((".*/hsts/utf8-address.*") ""))
4860 (substitute* "tests/hsts-db-test.c"
4861 ((".*/hsts-db/subdomains.*") ""))
4863 ;; Generate a self-signed certificate that has "localhost" as its
4864 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4865 ;; 3.5.12, tests such as "ssl-tests" fail:
4867 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4869 ;; 'certtool' is interactive so we have to pipe it the answers.
4870 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4871 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4872 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4873 (for-each (lambda (line)
4878 "Guix" ;Organizational unit name
4879 "GNU" ;Organization name
4881 "" ;State or province
4883 "" ;subject's domain component (DC)
4886 "-1" ;expiration time
4887 "N" ;belong to authority?
4888 "N" ;web client certificate?
4890 "Y" ;web server certificate?
4891 "localhost" ;dnsName of subject
4892 "" ;dnsName of subject (end)
4894 "127.0.0.1" ;IP address of subject
4896 "" ;encryption (RSA)?
4897 "" ;data encryption?
4898 "" ;sign OCSP requests?
4901 "" ;email protection?
4902 "" ;URI of the CRL distribution point
4907 (add-after 'install 'move-doc
4908 (lambda* (#:key outputs #:allow-other-keys)
4909 (let ((out (assoc-ref outputs "out"))
4910 (doc (assoc-ref outputs "doc")))
4911 (mkdir-p (string-append doc "/share"))
4912 (copy-recursively (string-append out "/share/gtk-doc")
4913 (string-append doc "/share/gtk-doc"))
4914 (delete-file-recursively (string-append out "/share/gtk-doc"))
4917 `(("docbook-xml" ,docbook-xml-4.1.2)
4918 ("glib:bin" ,glib "bin") ; for glib-mkenums
4919 ("gobject-introspection" ,gobject-introspection)
4920 ("gtk-doc" ,gtk-doc/stable)
4921 ("intltool" ,intltool)
4922 ("pkg-config" ,pkg-config)
4923 ("python" ,python-wrapper)
4927 ("gnutls" ,gnutls) ;for 'certtool'
4930 ;; libsoup-2.4.pc refers to all these.
4931 `(("brotli" ,google-brotli)
4934 ("libxml2" ,libxml2)
4938 `(("glib-networking" ,glib-networking)
4939 ("mit-krb5" ,mit-krb5)))
4940 (home-page "https://live.gnome.org/LibSoup/")
4941 (synopsis "GLib-based HTTP Library")
4943 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4944 and the GLib main loop, to integrate well with GNOME applications.")
4945 (license license:lgpl2.0+)))
4948 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4949 (define-public libsoup-minimal
4950 (package/inherit libsoup
4951 (name "libsoup-minimal")
4952 (outputs (delete "doc" (package-outputs libsoup)))
4954 (substitute-keyword-arguments (package-arguments libsoup)
4955 ((#:configure-flags configure-flags)
4956 `(delete "-Dgtk_doc=true" ,configure-flags))
4958 `(modify-phases ,phases
4959 (delete 'move-doc)))))
4960 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4962 (define-public libsecret
4969 "mirror://gnome/sources/libsecret/"
4970 (version-major+minor version) "/"
4971 "libsecret-" version ".tar.xz"))
4974 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4975 (build-system gnu-build-system)
4976 (outputs '("out" "doc"))
4978 `(#:tests? #f ; FIXME: Testing hangs.
4980 (list (string-append "--with-html-dir="
4981 (assoc-ref %outputs "doc")
4982 "/share/gtk-doc/html"))))
4984 `(("gettext" ,gettext-minimal)
4985 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4986 ("gobject-introspection" ,gobject-introspection)
4987 ("pkg-config" ,pkg-config)
4989 ("xsltproc" ,libxslt)))
4990 ;; These are needed for the tests.
4991 ;; FIXME: Add gjs once available.
4993 ;("python2" ,python-2)
4994 ;("python2-dbus" ,python2-dbus)
4995 ;("python2-pygobject" ,python2-pygobject)
4996 ;("python2-pygobject-2" ,python2-pygobject-2)))
4998 `(("glib" ,glib))) ; required by libsecret-1.pc
5000 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
5001 ;; doesn't seem to affect the build result.
5002 `(("docbook-xsl" ,docbook-xsl)
5003 ("libgcrypt" ,libgcrypt)
5004 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
5005 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
5006 (synopsis "GObject bindings for \"Secret Service\" API")
5008 "Libsecret is a GObject based library for storing and retrieving passwords
5009 and other secrets. It communicates with the \"Secret Service\" using DBus.")
5010 (license license:lgpl2.1+)))
5012 (define-public five-or-more
5014 (name "five-or-more")
5019 (uri (string-append "mirror://gnome/sources/five-or-more/"
5020 (version-major+minor version) "/"
5021 "five-or-more-" version ".tar.xz"))
5023 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
5024 (build-system meson-build-system)
5028 (modify-phases %standard-phases
5029 (add-after 'unpack 'skip-gtk-update-icon-cache
5031 (substitute* "meson_post_install.py"
5032 (("gtk-update-icon-cache") (which "true")))
5035 `(("pkg-config" ,pkg-config)
5036 ("appstream-glib" ,appstream-glib)
5037 ("desktop-file-utils" ,desktop-file-utils)
5038 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5039 ("intltool" ,intltool)
5040 ("itstool" ,itstool)
5042 ("xmllint" ,libxml2)))
5045 ("libgnome-games-support" ,libgnome-games-support)
5046 ("librsvg" ,librsvg)))
5047 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
5048 (synopsis "Logic puzzle game")
5049 (description "Five or More is a game where you try to align
5050 five or more objects of the same color and shape causing them to disappear.
5051 On every turn more objects will appear, until the board is full.
5052 Try to last as long as possible.")
5053 (license license:gpl2+)))
5055 (define-public gnome-mines
5057 (name "gnome-mines")
5062 (uri (string-append "mirror://gnome/sources/" name "/"
5063 (version-major+minor version) "/"
5064 name "-" version ".tar.xz"))
5066 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5067 (build-system meson-build-system)
5071 (modify-phases %standard-phases
5072 (add-after 'unpack 'skip-gtk-update-icon-cache
5074 (substitute* "build-aux/meson_post_install.py"
5075 (("gtk-update-icon-cache") (which "true")))
5078 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5079 ("pkg-config" ,pkg-config)
5080 ("desktop-file-utils" ,desktop-file-utils)
5081 ("intltool" ,intltool)
5082 ("itstool" ,itstool)
5085 ("appstream-glib" ,appstream-glib)))
5088 ("libgnome-games-support" ,libgnome-games-support)
5089 ("librsvg" ,librsvg)))
5090 (home-page "https://wiki.gnome.org/Apps/Mines")
5091 (synopsis "Minesweeper game")
5093 "Mines (previously gnomine) is a puzzle game where you locate mines
5094 floating in an ocean using only your brain and a little bit of luck.")
5095 (license license:gpl2+)))
5097 (define-public gnome-multi-writer
5099 (name "gnome-multi-writer")
5104 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5105 (version-major+minor version) "/"
5106 "gnome-multi-writer-" version ".tar.xz"))
5109 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5110 (build-system meson-build-system)
5114 (modify-phases %standard-phases
5115 (add-after 'unpack 'skip-post-install
5117 (substitute* "meson.build"
5118 (("meson.add_install_script" &) (string-append "# " &)))
5121 `(("glib:bin" ,glib "bin")
5122 ("pkg-config" ,pkg-config)))
5125 ("glib" ,glib) ; for gio
5128 ("libgudev" ,libgudev)
5129 ("libcanberra" ,libcanberra)
5130 ("polkit" ,polkit)))
5131 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5132 (synopsis "Write to multiple USB devices at once")
5134 "MultiWriter can be used to write an ISO file to multiple USB devices at
5136 (license license:gpl2+)))
5138 (define-public gnome-sudoku
5140 (name "gnome-sudoku")
5145 (uri (string-append "mirror://gnome/sources/" name "/"
5146 (version-major+minor version) "/"
5147 name "-" version ".tar.xz"))
5150 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5151 (build-system meson-build-system)
5155 (modify-phases %standard-phases
5156 (add-after 'unpack 'skip-gtk-update-icon-cache
5158 (substitute* "build-aux/post_install.py"
5159 (("gtk-update-icon-cache") (which "true")))
5162 `(("pkg-config" ,pkg-config)
5163 ("desktop-file-utils" ,desktop-file-utils)
5164 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5165 ("intltool" ,intltool)
5166 ("itstool" ,itstool)
5168 ("xmllint" ,libxml2)))
5171 ("json-glib" ,json-glib)
5173 ("librsvg" ,librsvg)
5174 ("qqwing" ,qqwing)))
5175 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5176 (synopsis "Japanese logic game")
5178 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5179 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5180 possible while still providing features that make playing difficult Sudoku
5182 (license license:gpl2+)))
5184 (define-public gnome-terminal
5186 (name "gnome-terminal")
5191 (uri (string-append "mirror://gnome/sources/" name "/"
5192 (version-major+minor version) "/"
5193 name "-" version ".tar.xz"))
5196 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5197 (build-system glib-or-gtk-build-system)
5200 (list "--disable-migration" "--disable-search-provider"
5201 "--without-nautilus-extension")
5203 (modify-phases %standard-phases
5204 (add-before 'configure 'patch-/bin/true
5206 (substitute* "configure"
5207 (("/bin/true") (which "true"))))))))
5209 `(("pkg-config" ,pkg-config)
5210 ("desktop-file-utils" ,desktop-file-utils)
5211 ("intltool" ,intltool)
5212 ("itstool" ,itstool)
5213 ("xmllint" ,libxml2)))
5215 `(("dconf" ,dconf)))
5220 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5221 ("util-linux" ,util-linux "lib")
5223 (home-page "https://wiki.gnome.org/Apps/Terminal")
5224 (synopsis "Terminal emulator")
5226 "GNOME Terminal is a terminal emulator application for accessing a
5227 UNIX shell environment which can be used to run programs available on
5230 It supports several profiles, multiple tabs and implements several
5231 keyboard shortcuts.")
5232 (license license:gpl3+)))
5234 (define-public colord
5241 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5242 "colord-" version ".tar.xz"))
5244 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5245 (build-system meson-build-system)
5247 '(;; FIXME: One test fails:
5248 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5249 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5250 ;; application/x-zerosize
5253 #:configure-flags (list "-Dlocalstatedir=/var"
5254 ;; No dep on systemd.
5256 ;; Wants to install to global completion dir;
5258 "-Dbash_completion=false"
5259 "-Ddaemon_user=colord"
5262 ;; Requires spotread.
5263 "-Dargyllcms_sensor=false"
5264 ;; TODO: Requires docbook2x.
5267 (modify-phases %standard-phases
5268 (add-before 'configure 'patch-build-system
5269 (lambda* (#:key outputs #:allow-other-keys)
5270 (substitute* "rules/meson.build"
5271 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5272 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5274 (add-before 'configure 'set-sqlite3-file-name
5275 (lambda* (#:key inputs #:allow-other-keys)
5276 ;; "colormgr dump" works by invoking the "sqlite3" command.
5277 ;; Record its absolute file name.
5278 (let ((sqlite (assoc-ref inputs "sqlite")))
5279 (substitute* "client/cd-util.c"
5281 (string-append "\"" sqlite "/bin/sqlite3\"")))
5284 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5285 ("gettext" ,gettext-minimal)
5286 ("gobject-introspection" ,gobject-introspection)
5287 ("gtk-doc" ,gtk-doc/stable)
5288 ("pkg-config" ,pkg-config)
5291 ;; colord.pc refers to all these.
5296 `(("dbus-glib" ,dbus-glib)
5298 ("libgudev" ,libgudev)
5301 ("python" ,python-wrapper)
5303 ("sane-backends" ,sane-backends)))
5304 (home-page "https://www.freedesktop.org/software/colord/")
5305 (synopsis "Color management service")
5306 (description "Colord is a system service that makes it easy to manage,
5307 install and generate color profiles to accurately color manage input and
5309 (license license:gpl2+)))
5311 (define-public geoclue
5319 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5320 version "/geoclue-" version ".tar.bz2"))
5322 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5323 (patches (search-patches "geoclue-config.patch"))))
5324 (build-system meson-build-system)
5326 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5328 `(("pkg-config" ,pkg-config)
5329 ("gobject-introspection" ,gobject-introspection)
5330 ("modem-manager" ,modem-manager)
5331 ("libnotify" ,libnotify)
5332 ("gtk-doc" ,gtk-doc/stable)
5333 ("intltool" ,intltool)))
5336 ("glib:bin" ,glib "bin")
5337 ("glib-networking" ,glib-networking)
5338 ("json-glib" ,json-glib)
5339 ("libsoup" ,libsoup)))
5340 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5341 (synopsis "Geolocation service")
5342 (description "Geoclue is a D-Bus service that provides location
5343 information. The primary goal of the Geoclue project is to make creating
5344 location-aware applications as simple as possible, while the secondary goal is
5345 to ensure that no application can access location information without explicit
5346 permission from user.")
5347 (license license:gpl2+)))
5349 (define-public geocode-glib
5351 (name "geocode-glib")
5355 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5356 (version-major+minor version) "/"
5357 "geocode-glib-" version ".tar.xz"))
5360 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5361 (build-system meson-build-system)
5364 (modify-phases %standard-phases
5365 ;; The tests require a bunch of locales.
5366 (add-before 'check 'set-locales
5367 (lambda* (#:key inputs #:allow-other-keys)
5368 (setenv "GUIX_LOCPATH"
5369 (string-append (assoc-ref inputs "glibc-locales")
5373 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5374 ("glibc-locales" ,glibc-locales) ; for tests
5375 ("gettext" ,gettext-minimal)
5376 ("gobject-introspection" ,gobject-introspection)
5377 ("gtk-doc" ,gtk-doc/stable)
5378 ("pkg-config" ,pkg-config)
5379 ("json-glib" ,json-glib)))
5381 ;; geocode-glib-1.0.pc refers to GIO.
5384 `(("libsoup" ,libsoup)))
5385 (home-page "https://github.com/GNOME/geocode-glib/")
5386 (synopsis "Geocoding and reverse-geocoding library")
5388 "geocode-glib is a convenience library for geocoding (finding longitude,
5389 and latitude from an address) and reverse geocoding (finding an address from
5390 coordinates) using the Nominatim service. geocode-glib caches requests for
5391 faster results and to avoid unnecessary server load.")
5392 (license license:lgpl2.0+)))
5394 (define-public upower
5400 (uri (string-append "https://upower.freedesktop.org/releases/"
5401 "upower-" version ".tar.xz"))
5404 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5405 (patches (search-patches "upower-builddir.patch"))
5406 (modules '((guix build utils)))
5410 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5411 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5412 ;; 'dbus-configuration-directory' in (gnu services dbus)
5413 ;; expects it in etc/. Thus, move it back to its previous
5415 (substitute* "src/Makefile.in"
5416 (("^dbusconfdir =.*$")
5417 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5419 (build-system glib-or-gtk-build-system)
5422 (modify-phases %standard-phases
5423 (add-before 'check 'pre-check
5424 (lambda* (#:key inputs #:allow-other-keys)
5425 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5427 (setenv "LD_LIBRARY_PATH" umockdev))
5429 #:configure-flags (list "--localstatedir=/var"
5430 (string-append "--with-udevrulesdir="
5431 (assoc-ref %outputs "out")
5432 "/lib/udev/rules.d"))))
5434 `(("gobject-introspection" ,gobject-introspection)
5435 ("pkg-config" ,pkg-config)
5436 ("intltool" ,intltool)
5440 ("python-dbus" ,python-dbus)
5441 ("python-dbusmock" ,python-dbusmock)
5442 ("python-pygobject" ,python-pygobject)
5443 ("umockdev" ,umockdev)
5446 ("libxslt" ,libxslt) ;for 'xsltproc'
5447 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5448 ("docbook-xsl" ,docbook-xsl)))
5450 `(("dbus-glib" ,dbus-glib)
5451 ("libgudev" ,libgudev)
5452 ("libusb" ,libusb)))
5454 ;; In Requires of upower-glib.pc.
5456 (home-page "https://upower.freedesktop.org/")
5457 (synopsis "System daemon for managing power devices")
5459 "UPower is an abstraction for enumerating power devices,
5460 listening to device events and querying history and statistics. Any
5461 application or service on the system can access the org.freedesktop.UPower
5462 service via the system message bus.")
5463 (license license:gpl2+)))
5465 (define-public libgweather
5467 (name "libgweather")
5471 (uri (string-append "mirror://gnome/sources/" name "/"
5472 (version-major+minor version) "/"
5473 name "-" version ".tar.xz"))
5476 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5477 (build-system meson-build-system)
5479 `(#:tests? #f ; one of two tests requires network access
5481 `(,(string-append "-Dzoneinfo_dir="
5482 (assoc-ref %build-inputs "tzdata")
5483 "/share/zoneinfo"))))
5485 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5486 ("gobject-introspection" ,gobject-introspection)
5487 ("pkg-config" ,pkg-config)
5489 ("intltool" ,intltool)))
5491 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5494 ("gdk-pixbuf" ,gdk-pixbuf)
5495 ("libxml2" ,libxml2)
5496 ("libsoup" ,libsoup)
5497 ("geocode-glib" ,geocode-glib)))
5499 `(("tzdata" ,tzdata)))
5500 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5501 (synopsis "Location, time zone, and weather library for GNOME")
5503 "libgweather is a library to access weather information from online
5504 services for numerous locations.")
5505 (license license:gpl2+)))
5507 (define-public gnome-settings-daemon
5509 (name "gnome-settings-daemon")
5514 (uri (string-append "mirror://gnome/sources/" name "/"
5515 (version-major+minor version) "/"
5516 name "-" version ".tar.xz"))
5519 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5520 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5521 (build-system meson-build-system)
5525 (list (string-append "-Dudev_dir="
5526 (assoc-ref %outputs "out")
5527 "/lib/udev/rules.d/")
5529 ;; Otherwise, the RUNPATH will lack the final path component.
5530 (string-append "-Dc_link_args=-Wl,-rpath="
5531 (assoc-ref %outputs "out")
5532 "/lib/gnome-settings-daemon-3.0"))
5534 #:phases (modify-phases %standard-phases
5535 (add-before 'configure 'set-baobab-file-name
5536 (lambda* (#:key inputs #:allow-other-keys)
5537 ;; Hard-code the file name of Baobab instead of looking
5538 ;; it up in $PATH. This ensures users get the "Examine"
5539 ;; button in the low disk space notification of GDM even
5540 ;; if they don't have GNOME in their main profile.
5541 (let ((baobab (assoc-ref inputs "baobab")))
5542 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5543 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5544 (string-append "g_strdup (\"" baobab
5548 ;; Color management test can't reach the colord system service.
5551 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5552 ("pkg-config" ,pkg-config)
5553 ("intltool" ,intltool)
5554 ("xsltproc" ,libxslt)
5555 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5556 ("docbook-xml" ,docbook-xml-4.2)
5557 ("docbook-xsl" ,docbook-xsl)))
5559 `(("alsa-lib" ,alsa-lib)
5562 ("libgudev" ,libgudev)
5565 ("pulseaudio" ,pulseaudio)
5566 ("libcanberra" ,libcanberra)
5568 ("libxtst" ,libxtst)
5570 ("libnotify" ,libnotify)
5571 ("geoclue" ,geoclue)
5572 ("geocode-glib" ,geocode-glib)
5573 ("libgweather" ,libgweather)
5574 ("gnome-desktop" ,gnome-desktop)
5577 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5578 ("libwacom" ,libwacom)
5579 ("librsvg" ,librsvg)
5580 ("xf86-input-wacom" ,xf86-input-wacom)
5581 ("wayland" ,wayland)
5582 ("network-manager" ,network-manager)
5584 ("modem-manager" ,modem-manager)))
5585 (home-page "https://www.gnome.org")
5586 (synopsis "GNOME settings daemon")
5588 "This package contains the daemon responsible for setting the various
5589 parameters of a GNOME session and the applications that run under it. It
5590 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5591 settings, themes, mouse settings, and startup of other daemons.")
5592 (license license:gpl2+)))
5594 (define-public totem-pl-parser
5596 (name "totem-pl-parser")
5600 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5601 (version-major+minor version) "/"
5602 "totem-pl-parser-" version ".tar.xz"))
5605 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5606 (build-system meson-build-system)
5608 ;; FIXME: Tests require gvfs.
5611 `(("intltool" ,intltool)
5612 ("glib" ,glib "bin")
5613 ("gobject-introspection" ,gobject-introspection)
5614 ("pkg-config" ,pkg-config)))
5618 ("libarchive" ,libarchive)
5619 ("libgcrypt" ,libgcrypt)
5620 ("libxml2" ,libxml2)))
5622 `(("libsoup" ,libsoup)))
5623 (home-page "https://projects.gnome.org/totem")
5624 (synopsis "Library to parse and save media playlists for GNOME")
5625 (description "Totem-pl-parser is a GObjects-based library to parse and save
5626 playlists in a variety of formats.")
5627 (license license:lgpl2.0+)))
5629 (define-public aisleriot
5635 (uri (string-append "mirror://gnome/sources/aisleriot/"
5636 (version-major+minor version) "/"
5637 "aisleriot-" version ".tar.xz"))
5640 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5641 (build-system glib-or-gtk-build-system)
5644 '("--with-platform=gtk-only"
5645 "--with-card-theme-formats=svg")))
5647 `(("desktop-file-utils" ,desktop-file-utils)
5648 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5649 ("intltool" ,intltool)
5650 ("itstool" ,itstool)
5651 ("pkg-config" ,pkg-config)
5652 ("xmllint" ,libxml2)))
5655 ("guile" ,guile-2.2)
5656 ("libcanberra" ,libcanberra)
5657 ("librsvg" ,librsvg)))
5658 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5659 (synopsis "Solitaire card games")
5661 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5662 which are easy to play with the aid of a mouse.")
5663 (license license:gpl3+)))
5671 (uri (string-append "mirror://gnome/sources/amtk/"
5672 (version-major+minor version) "/"
5673 "amtk-" version ".tar.xz"))
5676 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5677 (build-system gnu-build-system)
5679 '(#:configure-flags '("--enable-gtk-doc")))
5681 `(("gobject-introspection" ,gobject-introspection)
5682 ("glib:bin" ,glib "bin") ; for glib-mkenums
5683 ("gtk-doc" ,gtk-doc/stable)
5684 ("pkg-config" ,pkg-config)))
5688 (home-page "https://wiki.gnome.org/Projects/Amtk")
5689 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5691 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5692 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5693 both a traditional UI or a modern UI with a GtkHeaderBar.")
5694 (license license:lgpl2.1+)))
5696 (define-public devhelp
5702 (uri (string-append "mirror://gnome/sources/" name "/"
5703 (version-major+minor version) "/"
5704 name "-" version ".tar.xz"))
5707 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5708 (build-system meson-build-system)
5712 (modify-phases %standard-phases
5713 (add-after 'unpack 'skip-gtk-update-icon-cache
5714 ;; Don't create 'icon-theme.cache'.
5716 (substitute* "meson_post_install.py"
5717 (("gtk-update-icon-cache") "true"))
5720 `(("intltool" ,intltool)
5721 ("itstool" ,itstool)
5722 ("gobject-introspection" ,gobject-introspection)
5723 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5724 ("pkg-config" ,pkg-config)))
5727 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5728 ("webkitgtk" ,webkitgtk)))
5729 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5730 (synopsis "API documentation browser for GNOME")
5732 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5733 natively with GTK-Doc (the API reference system developed for GTK+ and used
5734 throughout GNOME for API documentation).")
5735 (license license:gpl2+)))
5744 (uri (string-append "mirror://gnome/sources/cogl/"
5745 (version-major+minor version) "/"
5746 "cogl-" version ".tar.xz"))
5748 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5749 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5750 ;; cogl, corresponding changes may be appropriate in mutter as well.
5751 (build-system gnu-build-system)
5753 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5754 ("gobject-introspection" ,gobject-introspection)
5755 ("xorg-server" ,xorg-server-for-tests)
5756 ("pkg-config" ,pkg-config)))
5759 ("gdk-pixbuf" ,gdk-pixbuf)
5761 ("libxext" ,libxext)
5762 ("libxfixes" ,libxfixes)
5763 ("libxdamage" ,libxdamage)
5764 ("libxcomposite" ,libxcomposite)
5765 ("libxrandr" ,libxrandr)))
5770 ("gstreamer" ,gstreamer)
5771 ("gst-plugins-base" ,gst-plugins-base)
5772 ("wayland" ,wayland)))
5774 `(#:disallowed-references (,xorg-server-for-tests)
5775 #:configure-flags (list "--enable-cogl-gst"
5776 "--enable-wayland-egl-platform"
5777 "--enable-wayland-egl-server"
5779 ;; Arrange to pass an absolute file name to
5780 ;; dlopen for libGL.so.
5781 (string-append "--with-gl-libname="
5782 (assoc-ref %build-inputs "mesa")
5785 (modify-phases %standard-phases
5786 (add-after 'unpack 'fix-build-with-mesa-20
5788 ;; Work around a problem with Mesa 20 where some macros used by
5789 ;; Cogl went missing from eglext.h. This can likely be removed
5790 ;; for newer versions of Cogl or Mesa.
5791 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5792 (substitute* '("configure"
5793 "cogl/winsys/cogl-winsys-egl-kms.c")
5794 (("#include <EGL/eglext.h>" all)
5795 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5797 (add-before 'check 'start-xorg-server
5798 (lambda* (#:key tests? inputs #:allow-other-keys)
5801 ;; The test suite requires a running X server.
5802 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5803 (assoc-ref inputs "xorg-server")))
5804 (setenv "DISPLAY" ":1")
5806 (format #t "test suite not run~%"))
5808 (home-page "https://www.cogl3d.org")
5809 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5811 "Cogl is a small library for using 3D graphics hardware to draw pretty
5812 pictures. The API departs from the flat state machine style of OpenGL and is
5813 designed to make it easy to write orthogonal components that can render
5814 without stepping on each others toes.")
5815 (license (list license:expat ; most of the code
5816 license:bsd-3 ; cogl/cogl-point-in-poly.c
5817 license:sgifreeb2.0 ; cogl-path/tesselator/
5818 license:asl2.0)))) ; examples/android/
5820 (define-public clutter
5827 (uri (string-append "mirror://gnome/sources/" name "/"
5828 (version-major+minor version) "/"
5829 name "-" version ".tar.xz"))
5832 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5833 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5834 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5835 (build-system gnu-build-system)
5837 "doc")) ;9 MiB of gtk-doc HTML pages
5839 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5840 ("gobject-introspection" ,gobject-introspection)
5841 ("pkg-config" ,pkg-config)
5842 ("xsltproc" ,libxslt)))
5848 ("json-glib" ,json-glib)
5850 ("libxcomposite" ,libxcomposite)
5851 ("libxdamage" ,libxdamage)
5852 ("libxext" ,libxext)
5853 ("xinput" ,xinput)))
5855 `(("libxkbcommon" ,libxkbcommon)
5858 `(#:configure-flags (list "--enable-x11-backend=yes"
5860 ;; This produces share/doc/{clutter,cally}.
5861 (string-append "--with-html-dir="
5862 (assoc-ref %outputs "doc")
5864 ;; XXX FIXME: Get test suite working. It would probably fail in the
5865 ;; same way the cogl tests fail, since clutter is based on cogl.
5867 (home-page "http://www.clutter-project.org")
5868 (synopsis "OpenGL-based interactive canvas library")
5870 "Clutter is an OpenGL-based interactive canvas library, designed for
5871 creating fast, mainly 2D single window applications such as media box UIs,
5872 presentations, kiosk style applications and so on.")
5873 (license license:lgpl2.0+)))
5875 (define-public clutter-gtk
5877 (name "clutter-gtk")
5882 (uri (string-append "mirror://gnome/sources/" name "/"
5883 (version-major+minor version) "/"
5884 name "-" version ".tar.xz"))
5887 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5888 (build-system gnu-build-system)
5890 `(("pkg-config" ,pkg-config)
5891 ("gobject-introspection" ,gobject-introspection)))
5893 ;; clutter-gtk.pc refers to all these.
5894 `(("clutter" ,clutter)
5896 (home-page "http://www.clutter-project.org")
5897 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5899 "Clutter is an OpenGL-based interactive canvas library, designed for
5900 creating fast, mainly 2D single window applications such as media box UIs,
5901 presentations, kiosk style applications and so on.")
5902 (license license:lgpl2.0+)))
5904 (define-public clutter-gst
5906 (name "clutter-gst")
5911 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5912 (version-major+minor version) "/"
5913 "clutter-gst-" version ".tar.xz"))
5915 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5916 (build-system gnu-build-system)
5918 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5919 ("pkg-config" ,pkg-config)
5920 ("gobject-introspection" ,gobject-introspection)))
5922 `(("clutter" ,clutter)
5923 ("gstreamer" ,gstreamer)
5924 ("gst-plugins-base" ,gst-plugins-base)))
5925 (home-page "http://www.clutter-project.org")
5926 (synopsis "Integration library for using GStreamer with Clutter")
5928 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5929 It provides a GStreamer sink to upload frames to GL and an actor that
5930 implements the ClutterGstPlayer interface using playbin. Clutter is an
5931 OpenGL-based interactive canvas library.")
5932 (license license:lgpl2.0+)))
5934 (define-public libchamplain
5936 (name "libchamplain")
5941 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5945 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5946 (build-system gnu-build-system)
5947 (arguments '(#:configure-flags '("--enable-vala")))
5949 `(("gobject-introspection" ,gobject-introspection)
5950 ("pkg-config" ,pkg-config)
5953 `(("libsoup" ,libsoup)
5955 ("clutter" ,clutter)
5956 ("clutter-gtk" ,clutter-gtk)
5957 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5961 (home-page "https://projects.gnome.org/libchamplain/")
5962 (synopsis "C library providing a ClutterActor to display maps")
5964 "libchamplain is a C library providing a ClutterActor to display maps.
5965 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5966 and Perl bindings are also available. It supports numerous free map sources
5967 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5968 (license license:lgpl2.1+)))
5977 (uri (string-append "mirror://gnome/sources/gom/"
5978 (version-major+minor version) "/"
5979 "gom-" version ".tar.xz"))
5982 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5983 (build-system gnu-build-system)
5985 `(("intltool" ,intltool)
5986 ("pkg-config" ,pkg-config)
5987 ("gobject-introspection" ,gobject-introspection)))
5990 ("gdk-pixbuf" ,gdk-pixbuf)
5991 ("sqlite" ,sqlite)))
5992 ;; XXX TODO: Figure out how to run the test suite.
5993 (arguments `(#:tests? #f))
5994 (home-page "https://wiki.gnome.org/Projects/Gom")
5995 (synopsis "Object mapper from GObjects to SQLite")
5997 "Gom provides an object mapper from GObjects to SQLite. It helps you
5998 write applications that need to store structured data as well as make complex
5999 queries upon that data.")
6000 (license license:lgpl2.1+)))
6002 (define-public libgnome-games-support
6004 (name "libgnome-games-support")
6008 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
6009 (version-major+minor version) "/"
6010 "libgnome-games-support-" version ".tar.xz"))
6013 "11g1r3ppb9v8m3anks9gxf7fv1x38vmjiya3lr7zjjv328pb69d6"))))
6014 (build-system meson-build-system)
6018 (modify-phases %standard-phases
6019 (add-before 'check 'pre-check
6021 ;; Tests require a writable HOME.
6022 (setenv "HOME" (getcwd))
6025 `(("intltool" ,intltool)
6026 ("pkg-config" ,pkg-config)
6029 ;; Required by libgnome-games-support-1.0.pc
6031 ("libgee" ,libgee)))
6032 (home-page "https://www.gnome.org/")
6033 (synopsis "Useful functionality shared among GNOME games")
6035 "libgnome-games-support is a small library intended for internal use by
6036 GNOME Games, but it may be used by others.")
6037 (license license:lgpl3+)))
6039 (define-public gnome-klotski
6041 (name "gnome-klotski")
6045 (uri (string-append "mirror://gnome/sources/" name "/"
6046 (version-major+minor version) "/"
6047 name "-" version ".tar.xz"))
6050 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
6051 (build-system meson-build-system)
6055 (modify-phases %standard-phases
6056 (add-after 'unpack 'skip-gtk-update-icon-cache
6057 ;; Don't create 'icon-theme.cache'.
6059 (substitute* "build-aux/meson_post_install.py"
6060 (("gtk-update-icon-cache") (which "true")))
6063 `(("desktop-file-utils" ,desktop-file-utils)
6064 ("glib:bin" ,glib "bin") ; for glib-compile-resources
6065 ("intltool" ,intltool)
6066 ("itstool" ,itstool)
6067 ("pkg-config" ,pkg-config)
6069 ("xmllint" ,libxml2)))
6072 ("libgnome-games-support" ,libgnome-games-support)
6073 ("librsvg" ,librsvg)))
6074 (home-page "https://wiki.gnome.org/Apps/Klotski")
6075 (synopsis "Sliding block puzzles")
6077 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6078 the patterned block to the area bordered by green markers. To do so, you will
6079 need to slide other blocks out of the way. Complete each puzzle in as few moves
6081 (license license:gpl2+)))
6083 (define-public grilo
6090 (uri (string-append "mirror://gnome/sources/grilo/"
6091 (version-major+minor version) "/"
6092 "grilo-" version ".tar.xz"))
6094 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6095 (build-system meson-build-system)
6097 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6098 ("intltool" ,intltool)
6099 ("pkg-config" ,pkg-config)
6100 ("gobject-introspection" ,gobject-introspection)
6101 ("gtk-doc" ,gtk-doc/stable)
6104 `(("cyrus-sasl" ,cyrus-sasl)
6107 ("libxml2" ,libxml2)
6108 ("liboauth" ,liboauth)
6109 ("libsoup" ,libsoup)
6110 ("totem-pl-parser" ,totem-pl-parser)))
6111 (native-search-paths
6112 (list (search-path-specification
6113 (variable "GRL_PLUGIN_PATH")
6114 (files (list (string-append "lib/grilo-"
6115 (version-major+minor version)))))))
6116 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6117 (synopsis "Framework for discovering and browsing media")
6119 "Grilo is a framework focused on making media discovery and browsing easy
6120 for application developers.")
6121 (license license:lgpl2.1+)))
6123 (define-public grilo-plugins
6125 (name "grilo-plugins")
6130 (uri (string-append "mirror://gnome/sources/" name "/"
6131 (version-major+minor version) "/"
6132 name "-" version ".tar.xz"))
6134 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6135 (build-system meson-build-system)
6137 `(("gettext" ,gettext-minimal)
6138 ("glib:bin" ,glib "bin")
6139 ("gtk+:bin" ,gtk+ "bin")
6140 ("itstool" ,itstool)
6141 ("pkg-config" ,pkg-config)))
6142 ;; TODO: ahavi, gstreamer
6145 ;("gmime" ,gmime) ; unused
6146 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6148 ;("gssdp" ,gssdp) ; unused
6149 ;("gupnp" ,gupnp) ; unused
6150 ;("gupnp-av" ,gupnp-av) ; unused
6151 ("json-glib" ,json-glib)
6153 ("libgdata" ,libgdata)
6154 ("libmediaart" ,libmediaart)
6155 ;("librest" ,rest) ; unused
6156 ("libsoup" ,libsoup)
6157 ("totam-pl-parser" ,totem-pl-parser)
6158 ("tracker" ,tracker))) ; unused because it's too old
6161 ;;Disable lua-factory as it needs missing dependencies
6162 #:configure-flags '("-Denable-lua-factory=no")))
6163 (home-page "https://live.gnome.org/Grilo")
6164 (synopsis "Plugins for the Grilo media discovery library")
6166 "Grilo is a framework focused on making media discovery and browsing easy
6167 for application developers. This package provides plugins for common media
6168 discovery protocols.")
6169 (license license:lgpl2.1+)))
6171 (define-public totem
6178 (uri (string-append "mirror://gnome/sources/totem/"
6179 (version-major+minor version) "/"
6180 "totem-" version ".tar.xz"))
6183 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6184 (build-system meson-build-system)
6186 `(("pkg-config" ,pkg-config)
6187 ("desktop-file-utils" ,desktop-file-utils)
6188 ("gettext" ,gettext-minimal)
6189 ("gobject-introspection" ,gobject-introspection)
6190 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6191 ("itstool" ,itstool)
6192 ("xmllint" ,libxml2)
6193 ("xorg-server" ,xorg-server-for-tests)))
6195 `(("dconf" ,dconf)))
6198 ("gdk-pixbuf" ,gdk-pixbuf)
6201 ("dbus-glib" ,dbus-glib)
6202 ("clutter" ,clutter)
6203 ("clutter-gtk" ,clutter-gtk)
6204 ("clutter-gst" ,clutter-gst)
6205 ("xorgproto" ,xorgproto)
6206 ("libxxf86vm" ,libxxf86vm)
6207 ("libxtst" ,libxtst)
6208 ("libxrandr" ,libxrandr)
6209 ("libxml2" ,libxml2)
6210 ("libsoup" ,libsoup)
6211 ("libpeas" ,libpeas)
6212 ("librsvg" ,librsvg)
6214 ("gnome-desktop" ,gnome-desktop)
6215 ("gstreamer" ,gstreamer)
6216 ("gst-plugins-base" ,gst-plugins-base)
6217 ("gst-plugins-good" ,gst-plugins-good)
6218 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6219 ("adwaita-icon-theme" ,adwaita-icon-theme)
6221 ("python-pygobject" ,python-pygobject)
6222 ("totem-pl-parser" ,totem-pl-parser)
6224 ("grilo-plugins" ,grilo-plugins)
6229 ;; Disable automatic GStreamer plugin installation via PackageKit and
6231 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6233 ;; Do not build .a files for the plugins, it's
6234 ;; completely useless. This saves 2 MiB.
6235 "--default-library" "shared")
6237 (modify-phases %standard-phases
6238 (add-after 'unpack 'skip-gtk-update-icon-cache
6239 ;; Don't create 'icon-theme.cache'.
6241 (substitute* "meson_post_install.py"
6242 (("gtk-update-icon-cache") "true"))
6244 (add-after 'unpack 'patch-failing-test
6246 ;; Work around test failure with GStreamer 1.18, because the test
6247 ;; relies on "und" not being mapped to a particular language:
6248 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6249 (substitute* "src/test-totem.c"
6250 (("und") "nosuchlang"))
6253 'install 'disable-cache-generation
6255 (setenv "DESTDIR" "/")
6260 ;; Tests require a running X server.
6261 (system "Xvfb :1 &")
6262 (setenv "DISPLAY" ":1")
6265 'install 'wrap-totem
6266 (lambda* (#:key inputs outputs #:allow-other-keys)
6267 (let ((out (assoc-ref outputs "out"))
6268 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6269 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6270 (wrap-program (string-append out "/bin/totem")
6271 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6272 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6273 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6274 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6276 (home-page "https://wiki.gnome.org/Apps/Videos")
6277 (synopsis "Simple media player for GNOME based on GStreamer")
6278 (description "Totem is a simple yet featureful media player for GNOME
6279 which can read a large number of file formats.")
6280 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6281 ;; to be used and distributed together with GStreamer and Totem. See
6282 ;; file://COPYING in the source distribution for details.
6283 (license license:gpl2+)))
6285 (define-public rhythmbox
6291 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6292 (version-major+minor version) "/"
6293 "rhythmbox-" version ".tar.xz"))
6296 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6297 (build-system glib-or-gtk-build-system)
6300 (list "--enable-lirc"
6307 (modify-phases %standard-phases
6309 'install 'wrap-rhythmbox
6310 (lambda* (#:key inputs outputs #:allow-other-keys)
6311 (let ((out (assoc-ref outputs "out"))
6312 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6313 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6314 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6315 (python-path (getenv "PYTHONPATH")))
6316 (wrap-program (string-append out "/bin/rhythmbox")
6317 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6318 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6319 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6320 `("PYTHONPATH" ":" prefix (,python-path))))
6323 `(("dconf" ,dconf)))
6325 `(("itstool" ,itstool)
6326 ("intltool" ,intltool)
6327 ("glib" ,glib "bin")
6328 ("gobject-introspection" ,gobject-introspection)
6329 ("desktop-file-utils" ,desktop-file-utils)
6330 ("pkg-config" ,pkg-config)
6331 ("xmllint" ,libxml2)))
6333 `(("json-glib" ,json-glib)
6335 ("gnome-desktop" ,gnome-desktop)
6337 ("python-pygobject" ,python2-pygobject)
6340 ("adwaita-icon-theme" ,adwaita-icon-theme)
6342 ("grilo-plugins" ,grilo-plugins)
6343 ("gstreamer" ,gstreamer)
6344 ("gst-plugins-base" ,gst-plugins-base)
6345 ("gst-plugins-good" ,gst-plugins-good)
6346 ("totem-pl-parser" ,totem-pl-parser)
6347 ("libgudev" ,libgudev)
6348 ;;("libmtp" ,libmtp) FIXME: Not detected
6349 ("libsecret" ,libsecret)
6350 ("libsoup" ,libsoup)
6351 ("libnotify" ,libnotify)
6352 ("libpeas" ,libpeas)
6354 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6355 ;;("clutter" ,clutter)
6356 ;;("clutter-gtk" ,clutter-gtk)
6357 ;;("clutter-gst" ,clutter-gst)
6358 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6365 ("brasero" ,brasero)))
6366 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6367 (synopsis "Music player for GNOME")
6368 (description "Rhythmbox is a music playing application for GNOME. It
6369 supports playlists, song ratings, and any codecs installed through gstreamer.")
6370 (license license:gpl2+)))
6378 (uri (string-append "mirror://gnome/sources/" name "/"
6379 (version-major+minor version) "/"
6380 name "-" version ".tar.xz"))
6383 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6384 (build-system meson-build-system)
6387 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6388 (list (string-append "-Dc_link_args=-Wl,-rpath="
6389 (assoc-ref %outputs "out") "/lib/eog"))
6391 (modify-phases %standard-phases
6392 (add-after 'unpack 'skip-gtk-update-icon-cache
6393 ;; Don't create 'icon-theme.cache'.
6395 (substitute* "meson_post_install.py"
6396 (("gtk-update-icon-cache") "true"))
6398 (add-after 'install 'wrap-eog
6399 (lambda* (#:key outputs #:allow-other-keys)
6400 (let ((out (assoc-ref outputs "out"))
6401 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6402 (wrap-program (string-append out "/bin/eog")
6403 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6406 `(("dconf" ,dconf)))
6408 `(("intltool" ,intltool)
6409 ("itstool" ,itstool)
6410 ("glib" ,glib "bin")
6411 ("gobject-introspection" ,gobject-introspection)
6412 ("pkg-config" ,pkg-config)
6413 ("xmllint" ,libxml2)))
6415 `(("gnome-desktop" ,gnome-desktop)
6416 ("shared-mime-info" ,shared-mime-info)
6417 ("adwaita-icon-theme" ,adwaita-icon-theme)
6420 ("libexif" ,libexif)
6421 ("libpeas" ,libpeas)
6422 ("libjpeg" ,libjpeg-turbo)
6423 ("librsvg" ,librsvg-next)
6424 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6426 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6427 (synopsis "GNOME image viewer")
6428 (description "Eye of GNOME is the GNOME image viewer. It
6429 supports image conversion, rotation, and slideshows.")
6430 (license license:gpl2+)))
6432 (define-public eog-plugins
6433 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6434 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6435 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6436 ;; 'XDG_DATA_DIRS' appropriately set.
6438 (name "eog-plugins")
6442 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6443 (version-major+minor version) "/"
6444 "eog-plugins-" version ".tar.xz"))
6447 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6448 (build-system gnu-build-system)
6449 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6450 (synopsis "Extensions for the Eye of GNOME image viewer")
6452 `(("pkg-config" ,pkg-config)
6453 ("gettext" ,gettext-minimal)))
6458 ("libpeas" ,libpeas)
6459 ("libexif" ,libexif)
6460 ("libchamplain" ,libchamplain)))
6462 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6466 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6467 @item @dfn{Map}, which displays a map of where the picture was taken on the
6469 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6472 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6473 ;; long suspicious byte stream that goes to a
6474 ;; ".gresource.eog_postasa_plugin" ELF section.
6475 (license license:gpl2+)))
6477 (define-public libgudev
6483 (uri (string-append "mirror://gnome/sources/" name "/"
6484 version "/" name "-" version ".tar.xz"))
6487 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6488 (build-system gnu-build-system)
6491 ;; umockdev depends on libgudev.
6492 (list "--disable-umockdev")))
6494 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6495 ("gobject-introspection" ,gobject-introspection)
6496 ("pkg-config" ,pkg-config)))
6498 `(("glib" ,glib))) ; required by gudev-1.0.pc
6501 (home-page "https://wiki.gnome.org/Projects/libgudev")
6502 (synopsis "GObject bindings for libudev")
6504 "This library provides GObject bindings for libudev. It was originally
6505 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6506 (license license:lgpl2.1+)))
6514 (uri (string-append "mirror://gnome/sources/gvfs/"
6515 (version-major+minor version) "/"
6516 "gvfs-" version ".tar.xz"))
6519 "07lpcfric3h0302n9b1pwa38mjb76r9s98kg2867y2d1qvzfivxx"))
6520 ;; This patch may be removed when upgrading to version 1.46.x.
6522 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6523 (build-system meson-build-system)
6527 (list "-Dsystemduserunitdir=no"
6529 ;; Otherwise, the RUNPATH will lack the final path component.
6530 (string-append "-Dc_link_args=-Wl,-rpath="
6531 (assoc-ref %outputs "out") "/lib/gvfs"))))
6533 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6534 ("gettext" ,gettext-minimal)
6535 ("gtk-doc" ,gtk-doc/stable)
6536 ("pkg-config" ,pkg-config)
6537 ("xsltproc" ,libxslt)))
6540 ("docbook-xml" ,docbook-xml-4.2)
6541 ("docbook-xsl" ,docbook-xsl)
6543 ("elogind" ,elogind)
6547 ("gnome-online-accounts" ,gnome-online-accounts)
6548 ("libarchive" ,libarchive)
6549 ("libbluray" ,libbluray)
6551 ("libcdio-paranoia" ,libcdio-paranoia)
6552 ("libgcrypt" ,libgcrypt)
6553 ("libgdata" ,libgdata)
6554 ("libgphoto2" ,libgphoto2)
6555 ("libgudev" ,libgudev)
6556 ("libimobiledevice" ,libimobiledevice)
6559 ("libsecret" ,libsecret)
6560 ("libsmbclient" ,samba)
6561 ("libsoup" ,libsoup)
6562 ("libxml2" ,libxml2)
6563 ("openssh" ,openssh)
6565 ("udisks" ,udisks)))
6566 ;; CVE-2019-{12447,12448,12449} are fixed in the 1.40.2 release.
6567 (properties '((lint-hidden-cve . ("CVE-2019-12447"
6569 "CVE-2019-12449"))))
6570 (home-page "https://wiki.gnome.org/gvfs/")
6571 (synopsis "Userspace virtual file system for GIO")
6573 "GVFS is a userspace virtual file system designed to work with the I/O
6574 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6575 to all applications using the GIO API. It also supports exposing the GVFS
6576 mounts to non-GIO applications using FUSE.
6578 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6580 (license license:lgpl2.0+)))
6589 (url "https://github.com/hughsie/libgusb")
6591 (file-name (git-file-name name version))
6594 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6595 (build-system meson-build-system)
6597 `(("gobject-introspection" ,gobject-introspection)
6598 ("pkg-config" ,pkg-config)
6600 ("gtk-doc" ,gtk-doc/stable)))
6602 ;; Both of these are required by gusb.pc.
6604 ("libusb" ,libusb)))
6606 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6607 (home-page "https://github.com/hughsie/libgusb")
6608 (synopsis "GLib binding for libusb1")
6610 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6611 asynchronous control, bulk and interrupt transfers with proper cancellation
6612 and integration into a mainloop. This makes it easy to integrate low level
6613 USB transfers with your high-level application or system daemon.")
6614 (license license:lgpl2.1+)))
6616 (define-public simple-scan
6618 (name "simple-scan")
6623 (uri (string-append "mirror://gnome/sources/simple-scan/"
6624 (version-major+minor version) "/"
6625 "simple-scan-" version ".tar.xz"))
6627 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6628 (build-system meson-build-system)
6629 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6631 '(#:glib-or-gtk? #t))
6637 ("gdk-pixbuf" ,gdk-pixbuf)
6639 ("libsane" ,sane-backends)))
6641 `(("gettext" ,gettext-minimal)
6642 ("itstool" ,itstool)
6643 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6644 ("pkg-config" ,pkg-config)
6646 ("xmllint" ,libxml2)))
6647 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6648 (synopsis "Document and image scanner")
6650 "Document Scanner is an easy-to-use application that lets you connect your
6651 scanner and quickly capture images and documents in an appropriate format. It
6652 supports any scanner for which a suitable SANE driver is available, which is
6653 almost all of them.")
6654 (license license:gpl3+)))
6656 (define-public eolie
6662 (uri (string-append "https://adishatz.org/eolie/eolie-"
6666 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6667 (build-system meson-build-system)
6671 (modify-phases %standard-phases
6672 (add-after 'unpack 'skip-gtk-update-icon-cache
6673 ;; Don't create 'icon-theme.cache'.
6675 (substitute* "meson_post_install.py"
6676 (("gtk-update-icon-cache") "true"))
6678 (add-after 'wrap 'wrap-more
6679 (lambda* (#:key inputs outputs #:allow-other-keys)
6680 (let* ((out (assoc-ref outputs "out"))
6681 ;; These libraries must be on LD_LIBRARY_PATH.
6682 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6683 "atk" "gtk+" "gsettings-desktop-schemas"
6684 "gobject-introspection"))
6687 (string-append (assoc-ref inputs lib) "/lib"))
6690 (wrap-program (string-append out "/bin/eolie")
6691 `("LD_LIBRARY_PATH" ":" prefix (,path))
6692 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6693 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6696 `(("intltool" ,intltool)
6697 ("itstool" ,itstool)
6698 ("pkg-config" ,pkg-config)
6700 ("glib:bin" ,glib "bin")))
6702 `(("gobject-introspection" ,gobject-introspection)
6703 ("glib-networking" ,glib-networking)
6706 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6707 ("python" ,python-wrapper)
6708 ("python-dateutil" ,python-dateutil)
6709 ("python-pyfxa" ,python-pyfxa)
6710 ("python-pygobject" ,python-pygobject)
6711 ("python-pycairo" ,python-pycairo)
6712 ("python-pycrypto" ,python-pycrypto)
6713 ("libhandy" ,libhandy)
6714 ("libsecret" ,libsecret)
6715 ("gtkspell3" ,gtkspell3)
6716 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6717 ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
6718 ("webkitgtk" ,webkitgtk)))
6719 (home-page "https://wiki.gnome.org/Apps/Eolie")
6720 (synopsis "Web browser for GNOME")
6722 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6723 a secret password store, an adblocker, and a modern UI.")
6724 (license license:gpl3+)))
6726 (define-public epiphany
6732 (uri (string-append "mirror://gnome/sources/epiphany/"
6733 (version-major+minor version) "/"
6734 "epiphany-" version ".tar.xz"))
6737 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6739 (build-system meson-build-system)
6743 (modify-phases %standard-phases
6744 (add-after 'unpack 'skip-gtk-update-icon-cache
6745 ;; Don't create 'icon-theme.cache'.
6747 (substitute* "post_install.py"
6748 (("gtk-update-icon-cache") "true"))
6750 (add-after 'unpack 'disable-failing-tests
6752 (substitute* "tests/meson.build"
6753 ;; embed_shell fails, because webkitgtk apparently no longer supports
6754 ;; overriding the ftp schema
6755 ;; web_app_utils fails due to missing network access
6756 (("(embed_shell|web_app_utils)_test,")
6757 "find_program('sh'), args: ['-c', 'exit 77'],"))
6759 (add-before 'check 'pre-check
6761 ;; Tests require a running X server.
6762 (system "Xvfb :1 &")
6763 (setenv "DISPLAY" ":1")
6766 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6767 (list (string-append "-Dc_link_args=-Wl,-rpath="
6768 (assoc-ref %outputs "out") "/lib/epiphany"))))
6770 `(("dconf" ,dconf)))
6772 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6773 ("glib:bin" ,glib "bin") ; for glib-mkenums
6774 ("intltool" ,intltool)
6775 ("itstool" ,itstool)
6776 ("pkg-config" ,pkg-config)
6777 ("xmllint" ,libxml2)
6778 ("xorg-server" ,xorg-server-for-tests)))
6782 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6783 ("glib-networking" ,glib-networking)
6784 ("gnome-desktop" ,gnome-desktop)
6785 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6786 ("json-glib" ,json-glib)
6787 ("iso-codes" ,iso-codes)
6788 ("libdazzle" ,libdazzle)
6789 ("libnotify" ,libnotify)
6790 ("libsecret" ,libsecret)
6791 ("libxslt" ,libxslt)
6792 ("nettle" ,nettle) ; for hogweed
6794 ("webkitgtk" ,webkitgtk)))
6795 (home-page "https://wiki.gnome.org/Apps/Web")
6796 (synopsis "GNOME web browser")
6798 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6799 principles are simplicity and standards compliance.")
6800 (license license:gpl2+)))
6802 (define-public d-feet
6808 (uri (string-append "mirror://gnome/sources/" name "/"
6809 (version-major+minor version) "/"
6810 name "-" version ".tar.xz"))
6813 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6814 (build-system glib-or-gtk-build-system)
6816 '(#:out-of-source? #f ; tests need to run in the source directory.
6818 (modify-phases %standard-phases
6822 ;; The test suite requires a running X server.
6823 (system "Xvfb :1 &")
6824 (setenv "DISPLAY" ":1")
6825 ;; Don't fail on missing '/etc/machine-id'.
6826 (setenv "DBUS_FATAL_WARNINGS" "0")
6827 ;; tests.py and window.py don't meet E402:
6828 ;; E402 module level import not at top of file
6829 (substitute* "src/tests/Makefile"
6830 (("--ignore=E123") "--ignore=E123,E402"))
6833 'install 'wrap-program
6834 (lambda* (#:key outputs #:allow-other-keys)
6835 (let ((prog (string-append (assoc-ref outputs "out")
6838 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6839 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6842 `(("intltool" ,intltool)
6843 ("itstool" ,itstool)
6844 ("pkg-config" ,pkg-config)
6845 ("python-pep8" ,python-pep8)
6846 ("xmllint" ,libxml2)
6847 ("xorg-server" ,xorg-server-for-tests)))
6849 `(("gobject-introspection" ,gobject-introspection)
6851 ("python" ,python-wrapper)
6852 ("hicolor-icon-theme" ,hicolor-icon-theme)
6853 ("python-pygobject" ,python-pygobject)))
6854 (home-page "https://wiki.gnome.org/Apps/DFeet")
6855 (synopsis "D-Bus debugger")
6857 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6858 of running programs and invoke methods on those interfaces.")
6859 (license license:gpl2+)))
6861 (define-public yelp-xsl
6869 (string-append "mirror://gnome/sources/" name "/"
6870 (version-major+minor version) "/"
6871 name "-" version ".tar.xz"))
6873 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6874 (build-system gnu-build-system)
6876 `(("gettext-minimal" ,gettext-minimal)
6877 ("itstool" ,itstool)
6878 ("xmllint" ,libxml2)))
6879 (synopsis "XSL stylesheets for Yelp")
6880 (description "Yelp-XSL is a collection of programs and data files to help
6881 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6882 that can be built upon for help viewers and publishing systems. These
6883 stylesheets output JavaScript and CSS content, and reference images
6884 provided by yelp-xsl. It also redistributes copies of the jQuery and
6885 jQuery.Syntax JavaScript libraries.")
6886 (home-page "https://wiki.gnome.org/Apps/Yelp")
6902 (uri (string-append "mirror://gnome/sources/" name "/"
6903 (version-major+minor version) "/"
6904 name "-" version ".tar.xz"))
6907 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6908 (build-system glib-or-gtk-build-system)
6910 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6911 ("intltool" ,intltool)
6912 ("itstool" ,itstool)
6913 ("pkg-config" ,pkg-config)))
6915 `(("dconf" ,dconf)))
6917 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6918 ("libxslt" ,libxslt)
6920 ("webkitgtk" ,webkitgtk)
6921 ("yelp-xsl" ,yelp-xsl)))
6922 (home-page "https://wiki.gnome.org/Apps/Yelp")
6923 (synopsis "GNOME help browser")
6925 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6926 man, info, and HTML documents. It can locate documents according to the
6927 freedesktop.org help system specification.")
6928 (license license:gpl2+)))
6930 (define-public yelp-tools
6938 (string-append "mirror://gnome/sources/" name "/"
6939 (version-major+minor version) "/"
6940 name "-" version ".tar.xz"))
6942 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6943 (build-system gnu-build-system)
6945 `(("pkg-config" ,pkg-config)))
6947 `(("yelp-xsl" ,yelp-xsl)))
6949 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6950 `(("itstool" ,itstool)
6951 ("xmllint" ,libxml2)
6952 ("xsltproc" ,libxslt)))
6953 (synopsis "Yelp documentation tools")
6955 "Yelp-tools is a collection of scripts and build utilities to help create,
6956 manage, and publish documentation for Yelp and the web. Most of the heavy
6957 lifting is done by packages like yelp-xsl and itstool. This package just
6958 wraps things up in a developer-friendly way.")
6959 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6960 (license license:gpl2+)))
6962 (define-public libgee
6968 (uri (string-append "mirror://gnome/sources/libgee/"
6969 (version-major+minor version) "/"
6970 "libgee-" version ".tar.xz"))
6973 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6974 (build-system gnu-build-system)
6977 (modify-phases %standard-phases
6978 (add-after 'unpack 'fix-introspection-install-dir
6979 (lambda* (#:key outputs #:allow-other-keys)
6980 (let ((out (assoc-ref outputs "out")))
6981 (substitute* "gee/Makefile.in"
6982 (("@INTROSPECTION_GIRDIR@")
6983 (string-append out "/share/gir-1.0/"))
6984 (("@INTROSPECTION_TYPELIBDIR@")
6985 (string-append out "/lib/girepository-1.0/")))))))))
6987 `(("glib" ,glib "bin")
6988 ("pkg-config" ,pkg-config)))
6991 ("gobject-introspection" ,gobject-introspection)))
6992 (home-page "https://wiki.gnome.org/Projects/Libgee")
6993 (synopsis "GObject collection library")
6995 "Libgee is a utility library providing GObject-based interfaces and
6996 classes for commonly used data structures.")
6997 (license license:lgpl2.1+)))
6999 (define-public gexiv2
7005 (uri (string-append "mirror://gnome/sources/" name "/"
7006 (version-major+minor version) "/"
7007 name "-" version ".tar.xz"))
7010 "0k4ljzzz5dwqndw8awvlw3ala8rh3b2rk9i4jzvywc53mi9ba8i3"))))
7011 (build-system meson-build-system)
7014 ("glib" ,glib "bin")
7015 ("pkg-config" ,pkg-config)
7018 ;; Listed in "Requires" section of gexiv2.pc
7019 `(("exiv2" ,exiv2)))
7022 ("gobject-introspection" ,gobject-introspection)))
7023 (home-page "https://wiki.gnome.org/Projects/gexiv2")
7024 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
7026 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
7027 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
7028 metadata in photo and video files of various formats.")
7029 (license license:gpl2+)))
7031 (define-public shotwell
7037 (uri (string-append "mirror://gnome/sources/shotwell/"
7038 (version-major+minor version) "/"
7039 "shotwell-" version ".tar.xz"))
7042 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
7043 (build-system meson-build-system)
7047 (modify-phases %standard-phases
7048 (add-after 'unpack 'skip-gtk-update-icon-cache
7050 (substitute* "build-aux/meson/postinstall.py"
7051 (("gtk-update-icon-cache") (which "true"))
7052 (("update-desktop-database") (which "true")))
7055 `(("dconf" ,dconf)))
7057 `(("gettext" ,gettext-minimal)
7058 ("glib:bin" ,glib "bin")
7059 ("itstool" ,itstool)
7060 ("pkg-config" ,pkg-config)
7065 ("gst-plugins-base" ,gst-plugins-base)
7066 ("gstreamer" ,gstreamer)
7067 ("json-glib" ,json-glib)
7068 ("libgdata" ,libgdata)
7070 ("libgphoto2" ,libgphoto2)
7071 ("libgudev" ,libgudev)
7073 ("libsoup" ,libsoup)
7074 ("libxml2" ,libxml2)
7076 ("webkitgtk" ,webkitgtk)))
7077 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7078 (synopsis "Photo manager for GNOME 3")
7080 "Shotwell is a digital photo manager designed for the GNOME desktop
7081 environment. It allows you to import photos from disk or camera, organize
7082 them by keywords and events, view them in full-window or fullscreen mode, and
7083 share them with others via social networking and more.")
7084 (license license:lgpl2.1+)))
7086 (define-public file-roller
7088 (name "file-roller")
7092 (uri (string-append "mirror://gnome/sources/file-roller/"
7093 (version-major+minor version) "/"
7094 "file-roller-" version ".tar.xz"))
7097 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7098 (build-system meson-build-system)
7100 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7101 ("intltool" ,intltool)
7102 ("itstool" ,itstool)
7103 ("pkg-config" ,pkg-config)
7104 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7105 ("glib:bin" ,glib "bin")))
7106 ;; TODO: Add libnautilus.
7109 ("gdk-pixbuf" ,gdk-pixbuf)
7110 ("json-glib" ,json-glib)
7111 ("libarchive" ,libarchive)
7112 ("libnotify" ,libnotify)
7114 ("libxml2" ,libxml2)))
7115 (synopsis "Graphical archive manager for GNOME")
7116 (description "File Roller is an archive manager for the GNOME desktop
7117 environment that allows users to view, unpack, and create compressed archives
7118 such as gzip tarballs.")
7119 (home-page "http://fileroller.sourceforge.net/")
7120 (license license:gpl2+)))
7122 (define-public gnome-session
7124 (name "gnome-session")
7128 (uri (string-append "mirror://gnome/sources/" name "/"
7129 (version-major+minor version) "/"
7130 name "-" version ".tar.xz"))
7133 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7137 (modify-phases %standard-phases
7138 (add-before 'configure 'pre-configure
7139 (lambda* (#:key outputs #:allow-other-keys)
7140 ;; Use elogind instead of systemd.
7141 (substitute* "meson.build"
7142 (("libsystemd-login") "libelogind")
7143 (("and libsystemd_daemon_dep.found.*") ","))
7144 (substitute* "gnome-session/gsm-systemd.c"
7145 (("#include <systemd/sd-login.h>")
7146 "#include <elogind/sd-login.h>"))
7147 ;; Remove uses of the systemd daemon.
7148 (substitute* "gnome-session/gsm-autostart-app.c"
7149 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7151 (add-after 'install 'wrap-gnome-session
7152 (lambda* (#:key inputs outputs #:allow-other-keys)
7153 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7154 (let ((glib (assoc-ref inputs "glib:bin"))
7155 (out (assoc-ref outputs "out")))
7156 (wrap-program (string-append out "/bin/gnome-session")
7157 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7161 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7162 "-Dman=false" ; FIXME: disabled because of docbook validation error
7163 "-Dsystemd_journal=false")))
7164 (build-system meson-build-system)
7166 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7167 ("pkg-config" ,pkg-config)
7168 ("intltool" ,intltool)
7169 ("xsltproc" ,libxslt)
7170 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7171 ("docbook-xsl" ,docbook-xsl)
7172 ("docbook-xml" ,docbook-xml)
7175 `(("elogind" ,elogind)
7176 ("gnome-desktop" ,gnome-desktop)
7177 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7179 ("json-glib" ,json-glib)
7181 ("libxcomposite" ,libxcomposite)
7182 ("libxtst" ,libxtst)
7185 ("xtrans" ,xtrans)))
7186 (synopsis "Session manager for GNOME")
7188 "This package contains the GNOME session manager, as well as a
7189 configuration program to choose applications starting on login.")
7190 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7191 (license license:gpl2+)))
7199 (uri (string-append "mirror://gnome/sources/" name "/"
7200 (version-major+minor version) "/"
7201 name "-" version ".tar.xz"))
7204 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7205 (build-system gnu-build-system)
7208 (modify-phases %standard-phases
7212 ;; The test suite requires a running X server.
7213 (system "Xvfb :1 &")
7214 (setenv "DISPLAY" ":1")
7216 ;; For the missing /etc/machine-id.
7217 (setenv "DBUS_FATAL_WARNINGS" "0")
7219 ;; Our mozjs-38 package does not compile the required Intl API
7220 ;; support for these failing tests.
7221 (substitute* "installed-tests/js/testLocale.js"
7222 ((".*toBeDefined.*") "")
7223 ((".*expect\\(datestr\\).*") ""))
7224 (substitute* "installed-tests/scripts/testCommandLine.sh"
7229 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7230 ("pkg-config" ,pkg-config)
7231 ("xmllint" ,libxml2)
7233 ("dbus-launch" ,dbus)
7234 ("dconf" ,dconf) ; required to properly store settings
7235 ("uuidgen" ,util-linux)
7236 ("xvfb" ,xorg-server-for-tests)))
7238 ;; These are all in the Requires.private field of gjs-1.0.pc.
7240 ("gobject-introspection" ,gobject-introspection)
7241 ("mozjs" ,mozjs-60)))
7244 ("readline" ,readline)))
7245 (synopsis "Javascript bindings for GNOME")
7246 (home-page "https://live.gnome.org/Gjs")
7248 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7249 javascript engine and the GObject introspection framework.")
7250 (license license:gpl2+)))
7252 (define-public gedit
7258 (uri (string-append "mirror://gnome/sources/" name "/"
7259 (version-major+minor version) "/"
7260 name "-" version ".tar.xz"))
7263 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7264 (build-system meson-build-system)
7268 ;; Otherwise, the RUNPATH will lack the final path component.
7269 (list (string-append "-Dc_link_args=-Wl,-rpath="
7270 (assoc-ref %outputs "out") "/lib/gedit"))
7272 ;; XXX: Generated .h files are sometimes used before being built.
7273 #:parallel-build? #f
7276 (modify-phases %standard-phases
7277 (add-after 'unpack 'skip-gtk-update-icon-cache
7278 ;; Don't create 'icon-theme.cache'.
7280 (substitute* "build-aux/meson/post_install.py"
7281 (("gtk-update-icon-cache") (which "true")))
7283 (add-after 'unpack 'patch-libgd-fetch
7284 (lambda* (#:key inputs #:allow-other-keys)
7285 (let ((libgd (assoc-ref inputs "libgd")))
7286 ;; Calling git is unnecessary because libgd is fetched as a
7287 ;; native input to this package.
7288 (substitute* "meson.build"
7290 (copy-recursively libgd "subprojects/libgd")
7292 (add-after 'install 'wrap-gedit
7293 (lambda* (#:key inputs outputs #:allow-other-keys)
7294 (let ((out (assoc-ref outputs "out"))
7295 (gtksourceview (assoc-ref inputs "gtksourceview"))
7296 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7297 (python-path (getenv "PYTHONPATH")))
7298 (wrap-program (string-append out "/bin/gedit")
7300 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7301 `("PYTHONPATH" ":" prefix (,python-path))
7302 ;; For language-specs.
7303 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7307 `(("dconf" ,dconf)))
7309 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7310 ("intltool" ,intltool)
7311 ("itstool" ,itstool)
7312 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7313 ("gobject-introspection" ,gobject-introspection)
7318 (url "https://gitlab.gnome.org/GNOME/libgd")
7319 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7320 (file-name (git-file-name "libgd" version))
7322 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7323 ("pkg-config" ,pkg-config)))
7328 ("gtksourceview" ,gtksourceview)
7329 ("libpeas" ,libpeas)
7330 ("libxml2" ,libxml2)
7331 ("iso-codes" ,iso-codes)
7332 ("python-pygobject" ,python-pygobject)
7334 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7337 ("adwaita-icon-theme" ,adwaita-icon-theme)
7338 ("libsoup" ,libsoup)
7339 ("gnome-desktop" ,gnome-desktop)))
7340 (home-page "https://wiki.gnome.org/Apps/Gedit")
7341 (synopsis "GNOME text editor")
7342 (description "While aiming at simplicity and ease of use, gedit is a
7343 powerful general purpose text editor.")
7344 (license license:gpl2+)))
7346 (define-public zenity
7352 (uri (string-append "mirror://gnome/sources/zenity/"
7353 (version-major+minor version) "/"
7354 "zenity-" version ".tar.xz"))
7357 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7358 (build-system gnu-build-system)
7360 `(("gettext" ,gettext-minimal)
7361 ("itstool" ,itstool)
7362 ("pkg-config" ,pkg-config)))
7364 `(("libnotify" ,libnotify)
7365 ("webkitgtk" ,webkitgtk)))
7366 (synopsis "Display graphical dialog boxes from shell scripts")
7367 (home-page "https://www.gnome.org")
7369 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7370 to display dialog boxes from the commandline and shell scripts.")
7371 (license license:lgpl2.0+)))
7373 (define-public mutter
7379 (uri (string-append "mirror://gnome/sources/" name "/"
7380 (version-major+minor version) "/"
7381 name "-" version ".tar.xz"))
7384 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7385 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7386 ;; versions of cogl and clutter. As a result, many of the inputs,
7387 ;; propagated-inputs, and configure flags used in cogl and clutter are
7388 ;; needed here as well.
7389 (build-system meson-build-system)
7391 '(;; XXX: All mutter tests fail with the following error:
7392 ;; Settings schema 'org.gnome.mutter' is not installed
7396 ;; TODO: Enable profiler when Sysprof is packaged.
7397 (list "-Dprofiler=false"
7398 ;; Otherwise, the RUNPATH will lack the final path component.
7399 (string-append "-Dc_link_args=-Wl,-rpath="
7400 (assoc-ref %outputs "out") "/lib:"
7401 (assoc-ref %outputs "out") "/lib/mutter-5")
7403 ;; The following flags are needed for the bundled clutter
7404 (string-append "-Dxwayland_path="
7405 (assoc-ref %build-inputs "xorg-server-xwayland")
7408 ;; the remaining flags are needed for the bundled cogl
7409 (string-append "-Dopengl_libname="
7410 (assoc-ref %build-inputs "mesa")
7412 #:phases (modify-phases %standard-phases
7413 (add-after 'unpack 'fix-build-with-mesa-20
7415 ;; Mimic upstream commit a444a4c5f58ea516ad for
7416 ;; compatibility with Mesa 20. Remove for 3.36.
7417 (substitute* '("src/backends/meta-egl-ext.h"
7418 "src/backends/meta-egl.c"
7419 "src/backends/meta-egl.h")
7420 (("#include <EGL/eglext\\.h>" all)
7421 (string-append all "\n#include <EGL/eglmesaext.h>")))
7422 (substitute* "cogl/cogl/meson.build"
7423 (("#include <EGL/eglext\\.h>" all)
7424 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7427 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7428 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7429 ("gobject-introspection" ,gobject-introspection)
7430 ("intltool" ,intltool)
7431 ("pkg-config" ,pkg-config)
7432 ("xorg-server" ,xorg-server-for-tests)
7434 ("autoconf" ,autoconf)
7435 ("automake" ,automake)
7436 ("libtool" ,libtool)))
7438 `(;; libmutter.pc refers to these:
7439 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7441 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7444 ("gdk-pixbuf" ,gdk-pixbuf)
7446 ("json-glib" ,json-glib)
7447 ("libinput" ,libinput)
7449 ("libxcomposite" ,libxcomposite)
7450 ("libxdamage" ,libxdamage)
7451 ("libxext" ,libxext)
7452 ("libxfixes" ,libxfixes)
7453 ("libxkbcommon" ,libxkbcommon)
7454 ("libxrandr" ,libxrandr)
7458 ("xinput" ,xinput)))
7460 `(("elogind" ,elogind)
7461 ("gnome-desktop" ,gnome-desktop)
7462 ("gnome-settings-daemon" ,gnome-settings-daemon)
7463 ("libcanberra-gtk" ,libcanberra)
7464 ("libgudev" ,libgudev)
7467 ("libwacom" ,libwacom)
7468 ("libxkbfile" ,libxkbfile)
7469 ("libxrandr" ,libxrandr)
7470 ("libxtst" ,libxtst)
7471 ("pipewire" ,pipewire)
7472 ("startup-notification" ,startup-notification)
7473 ("upower-glib" ,upower)
7474 ("xkeyboard-config" ,xkeyboard-config)
7475 ("xorg-server-xwayland" ,xorg-server-xwayland)
7476 ("zenity" ,zenity)))
7477 (synopsis "Window and compositing manager")
7478 (home-page "https://www.gnome.org")
7480 "Mutter is a window and compositing manager that displays and manages your
7481 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7482 Clutter toolkit with solid window-management logic inherited from the Metacity
7484 (license license:gpl2+)))
7486 (define-public gnome-online-accounts
7488 (name "gnome-online-accounts")
7492 (uri (string-append "mirror://gnome/sources/" name "/"
7493 (version-major+minor version) "/"
7494 name "-" version ".tar.xz"))
7497 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7498 (outputs '("out" "lib"))
7499 (build-system glib-or-gtk-build-system)
7502 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7504 (modify-phases %standard-phases
7505 (add-before 'configure 'patch-libgoa-output
7506 (lambda* (#:key outputs #:allow-other-keys)
7507 (let ((lib (assoc-ref outputs "lib")))
7508 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7510 (("@exec_prefix@") lib)
7511 (("@libdir@") (string-append lib "/lib"))
7512 (("@includedir@") (string-append lib "/include"))
7513 (("@datadir@") (string-append lib "/share")))
7514 ;; Make sure gobject-introspection knows about the output
7515 ;; too (see <https://bugs.gnu.org/36535>).
7516 (setenv "outputs" "out lib")
7519 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7520 ("gobject-introspection" ,gobject-introspection)
7521 ("intltool" ,intltool)
7522 ("pkg-config" ,pkg-config)
7524 ("xsltproc" ,libxslt)))
7526 `(("glib" ,glib) ; required by goa-1.0.pc
7527 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7529 `(("docbook-xsl" ,docbook-xsl)
7530 ("json-glib" ,json-glib)
7531 ("libsecret" ,libsecret)
7533 ("webkitgtk" ,webkitgtk)))
7534 (synopsis "Single sign-on framework for GNOME")
7535 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7537 "GNOME Online Accounts provides interfaces so that applications and
7538 libraries in GNOME can access the user's online accounts. It has providers for
7539 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7540 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7541 (license license:lgpl2.0+)))
7543 (define-public evolution-data-server
7545 (name "evolution-data-server")
7549 (uri (string-append "mirror://gnome/sources/" name "/"
7550 (version-major+minor version) "/"
7551 name "-" version ".tar.xz"))
7552 (patches (search-patches "evolution-data-server-locales.patch"
7553 "evolution-data-server-libical-compat.patch"
7554 "evolution-data-server-CVE-2020-14928.patch"
7555 "evolution-data-server-CVE-2020-16117.patch"))
7558 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7559 (build-system cmake-build-system)
7562 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7563 (runpaths (map (lambda (s)
7564 (string-append lib "/evolution-data-server/" s))
7565 '("addressbook-backends" "calendar-backends"
7566 "camel-providers" "credential-modules"
7567 "registry-modules"))))
7568 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7569 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7570 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7571 "-DENABLE_VALA_BINDINGS=ON"
7572 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7573 (string-append lib "/evolution-data-server;")
7574 (string-join runpaths ";"))
7575 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7577 (modify-phases %standard-phases
7578 (add-after 'unpack 'disable-failing-tests
7580 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7581 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7582 (delete-file-recursively "tests/book-migration")
7583 (substitute* "tests/CMakeLists.txt"
7584 (("add_subdirectory\\(book-migration\\)") ""))
7586 (add-after 'unpack 'patch-paths
7588 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7589 "tests/libedata-book/data-test-utils.c"
7590 "tests/libedata-book/test-book-cache-utils.c"
7591 "tests/libedata-cal/test-cal-cache-utils.c")
7592 (("/bin/rm") (which "rm")))
7594 (add-before 'configure 'dont-override-rpath
7596 (substitute* "CMakeLists.txt"
7597 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7598 ;; Remove it so the configure flag is respected.
7599 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7602 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7603 ("gobject-introspection" ,gobject-introspection)
7605 ("intltool" ,intltool)
7606 ("pkg-config" ,pkg-config)
7608 ("python" ,python-wrapper)))
7610 ;; These are all in the Requires field of .pc files.
7612 ("libical" ,libical)
7613 ("libsecret" ,libsecret)
7614 ("libsoup" ,libsoup)
7616 ("sqlite" ,sqlite)))
7620 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7621 ("json-glib" ,json-glib)
7622 ("libcanberra" ,libcanberra)
7623 ("libgweather" ,libgweather)
7624 ("mit-krb5" ,mit-krb5)
7625 ("openldap" ,openldap)
7626 ("webkitgtk" ,webkitgtk)))
7627 (synopsis "Store address books and calendars")
7628 (home-page "https://wiki.gnome.org/Apps/Evolution")
7630 "This package provides a unified backend for programs that work with
7631 contacts, tasks, and calendar information. It was originally developed for
7632 Evolution (hence the name), but is now used by other packages as well.")
7633 (license license:lgpl2.0)))
7635 (define-public caribou
7641 (uri (string-append "mirror://gnome/sources/" name "/"
7642 (version-major+minor version) "/"
7643 name "-" version ".tar.xz"))
7646 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7647 (build-system glib-or-gtk-build-system)
7650 (modify-phases %standard-phases
7653 (lambda* (#:key outputs #:allow-other-keys)
7654 (let ((out (assoc-ref outputs "out")))
7655 ;; Use absolute shared library path in Caribou-1.0.typelib.
7656 (substitute* "libcaribou/Makefile"
7657 (("--shared-library=libcaribou.so")
7658 (string-append "--shared-library="
7659 out "/lib/libcaribou.so")))
7661 (add-after 'install 'wrap-programs
7662 (lambda* (#:key outputs #:allow-other-keys)
7663 (let* ((out (assoc-ref outputs "out"))
7664 (python-path (getenv "PYTHONPATH"))
7665 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7669 `("PYTHONPATH" ":" prefix (,python-path))
7670 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7671 (list (string-append out "/bin/caribou-preferences")
7672 (string-append out "/libexec/antler-keyboard"))))
7675 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7676 ("gobject-introspection" ,gobject-introspection)
7677 ("intltool" ,intltool)
7678 ("pkg-config" ,pkg-config)
7681 ("xsltproc" ,libxslt)))
7683 ;; caribou-1.0.pc refers to all these.
7684 `(("libgee" ,libgee)
7685 ("libxklavier" ,libxklavier)
7686 ("libxtst" ,libxtst)
7689 `(("clutter" ,clutter)
7692 ("python-pygobject" ,python-pygobject)))
7693 (synopsis "Text entry and UI navigation application")
7694 (home-page "https://wiki.gnome.org/Projects/Caribou")
7696 "Caribou is an input assistive technology intended for switch and pointer
7698 (license license:lgpl2.1)))
7700 (define-public network-manager
7702 (name "network-manager")
7706 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7707 (version-major+minor version) "/"
7708 "NetworkManager-" version ".tar.xz"))
7709 (patches (search-patches "network-manager-plugin-path.patch"))
7712 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7713 (modules '((guix build utils)))
7716 (substitute* "src/devices/wwan/nm-modem-manager.c"
7717 (("systemd") "elogind"))
7719 (build-system meson-build-system)
7721 "doc")) ; 8 MiB of gtk-doc HTML
7724 (let ((out (assoc-ref %outputs "out"))
7725 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7728 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7730 (string-append "-Dc_link_args=-Wl,-rpath="
7732 out "/lib/NetworkManager/" ,version)
7733 "-Dsystemd_journal=false"
7734 "-Dsession_tracking=elogind"
7735 "-Dsuspend_resume=elogind"
7736 "-Dsystemdsystemunitdir=no"
7737 "-Dsession_tracking_consolekit=false"
7746 "--localstatedir=/var"
7747 (string-append "-Dudev_dir="
7749 (string-append "-Ddbus_conf_dir="
7750 out "/etc/dbus-1/system.d")
7752 (string-append "-Ddhclient=" dhclient)))
7754 (modify-phases %standard-phases
7755 (add-before 'configure 'pre-configure
7757 ;; These tests try to test aspects of network-manager's
7758 ;; functionality within restricted containers, but they don't
7759 ;; cope with being already in the Guix build jail as that jail
7760 ;; lacks some features that they would like to proxy over (like
7762 (substitute* "src/platform/tests/meson.build"
7763 ((".*test-address-linux.*") "")
7764 ((".*test-cleanup-linux.*") "")
7765 ((".*test-link-linux.*") "")
7766 ((".*test-route-linux.*") ""))
7767 (substitute* "src/devices/tests/meson.build"
7768 ((".*test-acd.*") "")
7769 ((".*test-lldp.*") ""))
7771 (add-after 'unpack 'patch-docbook-xml
7772 (lambda* (#:key inputs #:allow-other-keys)
7773 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7774 "/xml/dtd/docbook")))
7775 (substitute* (find-files "." ".*\\.(xsl|xml)")
7776 (("http://.*/docbookx\\.dtd")
7777 (string-append xmldoc "/docbookx.dtd")))
7779 (add-before 'check 'pre-check
7781 ;; For the missing /etc/machine-id.
7782 (setenv "DBUS_FATAL_WARNINGS" "0")
7784 (add-before 'install 'no-polkit-magic
7785 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7787 (setenv "PKEXEC_UID" "something")
7789 (add-after 'install 'move-doc
7790 (lambda* (#:key outputs #:allow-other-keys)
7791 (let ((out (assoc-ref outputs "out"))
7792 (doc (assoc-ref outputs "doc")))
7793 (mkdir-p (string-append doc "/share"))
7794 (for-each (lambda (directory)
7795 (copy-recursively (string-append out directory)
7796 (string-append doc directory))
7797 (delete-file-recursively
7798 (string-append out directory)))
7799 '("/share/doc" "/share/gtk-doc"))
7804 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7805 ("gtk-doc" ,gtk-doc/stable)
7806 ("gobject-introspection" ,gobject-introspection)
7807 ("docbook-xml" ,docbook-xml)
7808 ("docbook-xsl" ,docbook-xsl)
7809 ("intltool" ,intltool)
7810 ("libxslt" ,libxslt)
7811 ("libxml2" ,libxml2)
7812 ("pkg-config" ,pkg-config)
7815 ("python" ,python-wrapper)
7816 ("python-dbus" ,python-dbus)
7817 ("python-pygobject" ,python-pygobject)))
7820 ("cyrus-sasl" ,cyrus-sasl)
7821 ("dbus-glib" ,dbus-glib)
7822 ("dnsmasq" ,dnsmasq)
7825 ("iptables" ,iptables)
7826 ("isc-dhcp" ,isc-dhcp)
7827 ("iwd" ,iwd) ; wpa_supplicant alternative
7828 ("jansson" ,jansson)
7830 ("libgcrypt" ,libgcrypt)
7831 ("libgudev" ,libgudev)
7834 ("libsoup" ,libsoup)
7835 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7836 ("modem-manager" ,modem-manager)
7837 ("newt" ,newt) ;for the 'nmtui' console interface
7838 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7841 ("readline" ,readline)
7842 ("util-linux" ,util-linux)
7843 ("elogind" ,elogind)))
7844 (synopsis "Network connection manager")
7845 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7847 "NetworkManager is a system network service that manages your network
7848 devices and connections, attempting to keep active network connectivity when
7849 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7850 devices, and provides VPN integration with a variety of different VPN
7852 ;; “This NetworkManager project consists of the daemon, client tools, and
7853 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7855 (license (list license:gpl2+
7857 (properties '((upstream-name . "NetworkManager")))))
7859 (define-public network-manager-openvpn
7861 (name "network-manager-openvpn")
7866 "mirror://gnome/sources/NetworkManager-openvpn/"
7867 (version-major+minor version)
7868 "/NetworkManager-openvpn-" version ".tar.xz"))
7871 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7872 (build-system gnu-build-system)
7874 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7876 (modify-phases %standard-phases
7877 (add-after 'configure 'patch-path
7878 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7879 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7881 (modprobe (string-append (assoc-ref inputs "kmod")
7883 (pretty-ovpn (string-append "\"" ovpn "\"")))
7887 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7888 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7889 (("\"/sbin/openvpn\"") pretty-ovpn)
7890 (("/sbin/modprobe") modprobe)))
7891 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7894 `(("pkg-config" ,pkg-config)
7895 ("intltool" ,intltool)))
7899 ("openvpn" ,openvpn)
7900 ("network-manager" ,network-manager)
7902 ("libsecret" ,libsecret)))
7903 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7904 (synopsis "OpenVPN plug-in for NetworkManager")
7906 "This extension of NetworkManager allows it to take care of connections
7907 to virtual private networks (VPNs) via OpenVPN.")
7908 (license license:gpl2+)
7909 (properties `((upstream-name . "NetworkManager-openvpn")))))
7911 (define-public network-manager-vpnc
7913 (name "network-manager-vpnc")
7918 "mirror://gnome/sources/NetworkManager-vpnc/"
7919 (version-major+minor version)
7920 "/NetworkManager-vpnc-" version ".tar.xz"))
7923 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7924 (build-system gnu-build-system)
7926 `(#:configure-flags '("--enable-absolute-paths"
7927 "--localstatedir=/var"
7928 ;; libnm-glib has been removed from network-manager
7929 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7930 "--with-libnm-glib=no")
7932 (modify-phases %standard-phases
7933 (add-after 'configure 'patch-path
7934 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7935 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7937 (modprobe (string-append (assoc-ref inputs "kmod")
7939 (pretty-ovpn (string-append "\"" vpnc "\"")))
7940 (substitute* "src/nm-vpnc-service.c"
7941 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7942 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7943 (("\"/sbin/vpnc\"") pretty-ovpn)
7944 (("/sbin/modprobe") modprobe)))
7947 `(("pkg-config" ,pkg-config)
7948 ("intltool" ,intltool)))
7953 ("network-manager" ,network-manager)
7955 ("libsecret" ,libsecret)))
7956 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7957 (synopsis "VPNC plug-in for NetworkManager")
7959 "Support for configuring virtual private networks based on VPNC.
7960 Compatible with Cisco VPN concentrators configured to use IPsec.")
7961 (license license:gpl2+)
7962 (properties `((upstream-name . "NetworkManager-vpnc")))))
7964 (define-public network-manager-openconnect
7966 (name "network-manager-openconnect")
7971 "mirror://gnome/sources/NetworkManager-openconnect/"
7972 (version-major+minor version)
7973 "/NetworkManager-openconnect-" version ".tar.xz"))
7976 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7977 (build-system gnu-build-system)
7979 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7981 (modify-phases %standard-phases
7982 (add-after 'configure 'patch-path
7983 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7984 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7985 "/sbin/openconnect"))
7986 (modprobe (string-append (assoc-ref inputs "kmod")
7988 (pretty-ovpn (string-append "\"" openconnect "\"")))
7989 (substitute* "src/nm-openconnect-service.c"
7990 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7991 (("/sbin/modprobe") modprobe)))
7994 `(("intltool" ,intltool)
7996 ("pkg-config" ,pkg-config)))
8001 ("libsecret" ,libsecret)
8002 ("libxml2" ,libxml2)
8004 ("network-manager" ,network-manager)
8005 ("openconnect" ,openconnect)))
8006 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
8007 (synopsis "OpenConnect plug-in for NetworkManager")
8009 "This extension of NetworkManager allows it to take care of connections
8010 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
8011 Cisco's AnyConnect SSL VPN.")
8012 (license license:gpl2+)
8013 (properties `((upstream-name . "NetworkManager-openconnect")
8015 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
8016 ;; file refers to account "nm-openconnect". Specify it here
8017 ;; so that 'network-manager-service-type' creates it.
8018 (user-accounts . ("nm-openconnect"))))))
8020 (define-public mobile-broadband-provider-info
8022 (name "mobile-broadband-provider-info")
8023 (version "20190116")
8027 "mirror://gnome/sources/"
8028 "mobile-broadband-provider-info/" version "/"
8029 "mobile-broadband-provider-info-" version ".tar.xz"))
8032 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
8033 (build-system gnu-build-system)
8035 `(#:tests? #f)) ; no tests
8036 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8037 (synopsis "Database of broadband connection configuration")
8038 (description "Database of broadband connection configuration.")
8039 (license license:public-domain)))
8041 (define-public network-manager-applet
8043 (name "network-manager-applet")
8047 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
8048 (version-major+minor version) "/"
8049 "network-manager-applet-" version ".tar.xz"))
8052 "0lsjkbv66hn7acl2pg9h6hz4b700zzv4cjwrwjvy7043blw0bcla"))))
8053 (build-system meson-build-system)
8057 '("-Dappindicator=yes")))
8059 `(("intltool" ,intltool)
8060 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
8061 ("gobject-introspection" ,gobject-introspection)
8062 ("gtk-doc" ,gtk-doc/stable)
8063 ("pkg-config" ,pkg-config)))
8065 ;; libnm-gtk.pc refers to all these.
8066 `(("dbus-glib" ,dbus-glib)
8068 ("network-manager" ,network-manager)
8069 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
8070 ("libnma" ,libnma)))
8073 ("libappindicator" ,libappindicator)
8074 ("libgudev" ,libgudev)
8075 ("libnotify" ,libnotify)
8076 ("libsecret" ,libsecret)
8077 ("libselinux" ,libselinux)
8078 ("jansson" ,jansson) ; for team support
8079 ("modem-manager" ,modem-manager)))
8080 (synopsis "Applet for managing network connections")
8081 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8083 "This package contains a systray applet for NetworkManager. It displays
8084 the available networks and allows users to easily switch between them.")
8085 (license license:gpl2+)))
8087 (define-public libxml++
8093 (uri (string-append "mirror://gnome/sources/" name "/"
8094 (version-major+minor version) "/"
8095 name "-" version ".tar.xz"))
8098 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8099 (build-system gnu-build-system)
8100 ;; libxml++-3.0.pc refers to all these.
8102 `(("libxml2" ,libxml2)
8103 ("glibmm" ,glibmm)))
8106 ("pkg-config" ,pkg-config)))
8107 (home-page "http://libxmlplusplus.sourceforge.net/")
8108 (synopsis "C++ wrapper for XML parser library libxml2")
8110 "This package provides a C++ wrapper for the XML parser library
8112 (license license:lgpl2.1+)))
8114 (define-public libxml++-2
8121 (uri (string-append "mirror://gnome/sources/" name "/"
8122 (version-major+minor version) "/"
8123 name "-" version ".tar.xz"))
8126 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8134 (uri (string-append "mirror://gnome/sources/" name "/"
8135 (version-major+minor version) "/"
8136 name "-" version ".tar.xz"))
8139 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8140 (patches (search-patches "gdm-default-session.patch"))))
8141 (build-system glib-or-gtk-build-system)
8144 `("--without-plymouth"
8145 "--disable-systemd-journal"
8147 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8148 ;; instead of having to replace it (i.e., stopping the mingetty
8149 ;; service for TTY 1 before starting GDM).
8150 "--with-initial-vt=7"
8152 ;; Use '/etc/environment' for locale settings instead of the
8153 ;; systemd-specific '/etc/locale.conf'.
8154 "--with-lang-file=/etc/environment"
8156 ,(string-append "--with-udevdir="
8157 (assoc-ref %outputs "out") "/lib/udev")
8159 "--localstatedir=/var"
8160 ,(string-append "--with-default-path="
8161 (string-join '("/run/setuid-programs"
8162 "/run/current-system/profile/bin"
8163 "/run/current-system/profile/sbin")
8165 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8166 ;; XDG_DATA_DIRS so that it finds its schemas.
8167 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8169 (modify-phases %standard-phases
8171 'configure 'pre-configure
8172 (lambda* (#:key inputs outputs #:allow-other-keys)
8173 ;; We don't have <systemd/sd-daemon.h>.
8174 (substitute* '("common/gdm-log.c"
8175 "daemon/gdm-server.c"
8176 "daemon/gdm-session-worker.c"
8177 "daemon/gdm-session-worker-job.c")
8178 (("#include <systemd/sd-daemon\\.h>") ""))
8179 ;; Use elogind for sd-login.
8180 (substitute* '("common/gdm-common.c"
8181 "daemon/gdm-local-display-factory.c"
8182 "daemon/gdm-manager.c"
8183 "libgdm/gdm-user-switching.c")
8184 (("#include <systemd/sd-login\\.h>")
8185 "#include <elogind/sd-login.h>"))
8186 ;; Check for elogind.
8187 (substitute* '("configure")
8190 ;; Look for system-installed sessions in
8191 ;; /run/current-system/profile/share.
8192 (substitute* '("libgdm/gdm-sessions.c"
8193 "daemon/gdm-session.c"
8194 "daemon/gdm-display.c"
8195 "daemon/gdm-launch-environment.c")
8197 "\"/run/current-system/profile/share/x")
8198 (("DATADIR \"/wayland")
8199 "\"/run/current-system/profile/share/wayland")
8200 (("DATADIR \"/gnome")
8201 "\"/run/current-system/profile/share/gnome"))
8202 (let ((propagate '("GDM_CUSTOM_CONF"
8206 ;; XXX: Remove this once GNOME Shell is
8207 ;; a dependency of GDM.
8209 (substitute* "daemon/gdm-session.c"
8210 (("set_up_session_environment \\(self\\);")
8211 (apply string-append
8212 "set_up_session_environment (self);\n"
8215 "gdm_session_set_environment_variable "
8216 "(self, \"" name "\","
8217 "g_getenv (\"" name "\"));\n"))
8219 ;; Find the configuration file using an environment variable.
8220 (substitute* '("common/gdm-settings.c")
8221 (("GDM_CUSTOM_CONF")
8222 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8223 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8224 " : GDM_CUSTOM_CONF)")))
8225 ;; Use service-supplied path to X.
8226 (substitute* '("daemon/gdm-server.c")
8227 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8228 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8229 (substitute* '("daemon/gdm-wayland-session.c"
8230 "daemon/gdm-x-session.c")
8231 (("\"dbus-daemon\"")
8232 "g_getenv (\"GDM_DBUS_DAEMON\")")
8234 "g_getenv (\"GDM_X_SERVER\")")
8235 (("GDMCONFDIR \"/Xsession\"")
8236 "g_getenv (\"GDM_X_SESSION\")"))
8237 ;; Use an absolute path for GNOME Session.
8238 (substitute* "daemon/gdm-launch-environment.c"
8239 (("\"gnome-session\"")
8240 (string-append "\"" (assoc-ref inputs "gnome-session")
8241 "/bin/gnome-session\"")))
8242 ;; Do not automatically select the placeholder session.
8243 (substitute* "daemon/gdm-session.c"
8244 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8245 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8246 "(g_strcmp0(search_dirs[i], \""
8247 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8249 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8250 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8251 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8253 ;; GDM requires that there be at least one desktop entry
8254 ;; file. This phase installs a hidden one that simply
8255 ;; fails. This enables users to use GDM with a
8256 ;; '~/.xsession' script with no other desktop entry files.
8257 ;; See <https://bugs.gnu.org/35068>.
8258 (add-after 'install 'install-placeholder-desktop-entry
8259 (lambda* (#:key inputs outputs #:allow-other-keys)
8260 (let* ((out (assoc-ref outputs "out"))
8261 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8262 (fail (string-append sessions "/fail.desktop")))
8264 (with-output-to-file fail
8268 '("[Desktop Entry]\n"
8270 "Type=Application\n"
8272 "Comment=This session fails immediately.\n"
8276 ;; GDM needs GNOME Session to run these applications. We link
8277 ;; their autostart files in `share/gdm/greeter/autostart'
8278 ;; because GDM explicitly tells GNOME Session to look there.
8280 ;; XXX: GNOME Shell should be linked here too, but currently
8281 ;; GNOME Shell depends on GDM.
8282 (add-after 'install 'link-autostart-files
8283 (lambda* (#:key inputs outputs #:allow-other-keys)
8284 (let* ((out (assoc-ref outputs "out"))
8285 (autostart (string-append out "/share/gdm/"
8286 "greeter/autostart"))
8287 (settings (assoc-ref inputs "gnome-settings-daemon")))
8289 (with-directory-excursion autostart
8290 (for-each (lambda (desktop)
8291 (symlink desktop (basename desktop)))
8292 (find-files (string-append settings "/etc/xdg"))))
8296 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8297 ("gobject-introspection" ,gobject-introspection)
8298 ("intltool" ,intltool)
8299 ("itstool" ,itstool)
8300 ("pkg-config" ,pkg-config)
8301 ("xmllint" ,libxml2)))
8303 `(("accountsservice" ,accountsservice)
8304 ("check" ,check-0.14) ;for testing
8305 ("elogind" ,elogind)
8306 ("gnome-session" ,gnome-session)
8307 ("gnome-settings-daemon" ,gnome-settings-daemon)
8309 ("iso-codes" ,iso-codes)
8310 ("libcanberra" ,libcanberra)
8311 ("linux-pam" ,linux-pam)))
8312 (synopsis "Display manager for GNOME")
8313 (home-page "https://wiki.gnome.org/Projects/GDM/")
8315 "GNOME Display Manager is a system service that is responsible for
8316 providing graphical log-ins and managing local and remote displays.")
8317 (license license:gpl2+)))
8319 (define-public libgtop
8325 (uri (string-append "mirror://gnome/sources/libgtop/"
8326 (version-major+minor version) "/"
8327 "libgtop-" version ".tar.xz"))
8330 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8331 (build-system gnu-build-system)
8333 `(("gobject-introspection" ,gobject-introspection)
8334 ("intltool" ,intltool)
8336 ("pkg-config" ,pkg-config)))
8338 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8339 (synopsis "Portable system access library")
8340 (home-page "https://www.gnome.org/")
8342 "LibGTop is a library to get system specific data such as CPU and memory
8343 usage and information about running processes.")
8344 (license license:gpl2+)))
8346 (define-public gnome-bluetooth
8348 (name "gnome-bluetooth")
8352 (uri (string-append "mirror://gnome/sources/" name "/"
8353 (version-major+minor version) "/"
8354 name "-" version ".tar.xz"))
8357 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8358 (build-system meson-build-system)
8360 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8361 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8362 ("gobject-introspection" ,gobject-introspection)
8363 ("intltool" ,intltool)
8364 ("pkg-config" ,pkg-config)
8365 ("xmllint" ,libxml2)))
8367 ;; gnome-bluetooth-1.0.pc refers to all these.
8372 ("libcanberra" ,libcanberra)
8373 ("libnotify" ,libnotify)))
8374 (synopsis "GNOME Bluetooth subsystem")
8375 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8377 "This package contains tools for managing and manipulating Bluetooth
8378 devices using the GNOME desktop.")
8379 (license license:lgpl2.1+)))
8381 (define-public gnome-control-center
8383 (name "gnome-control-center")
8387 (uri (string-append "mirror://gnome/sources/" name "/"
8388 (version-major+minor version) "/"
8389 name "-" version ".tar.xz"))
8392 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8393 (build-system meson-build-system)
8397 (list "-Dcheese=false"
8398 (string-append "-Dgnome_session_libexecdir="
8399 (assoc-ref %build-inputs "gnome-session")
8402 (modify-phases %standard-phases
8403 (add-before 'configure 'patch-paths
8404 (lambda* (#:key inputs #:allow-other-keys)
8405 (let ((libc (assoc-ref inputs "libc"))
8406 (tzdata (assoc-ref inputs "tzdata"))
8407 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8408 (nm-applet (assoc-ref inputs "network-manager-applet"))
8409 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8410 (substitute* "panels/datetime/tz.h"
8411 (("/usr/share/zoneinfo/zone.tab")
8412 (string-append tzdata "/share/zoneinfo/zone.tab")))
8413 (substitute* "tests/datetime/test-endianess.c"
8414 (("/usr/share/locale")
8415 (string-append libc "/share/locale")))
8416 (substitute* "panels/region/cc-region-panel.c"
8417 (("\"gkbd-keyboard-display")
8418 (string-append "\"" libgnomekbd
8419 "/bin/gkbd-keyboard-display")))
8420 (substitute* '("panels/network/net-device-wifi.c"
8421 "panels/network/net-device.c"
8422 "panels/network/connection-editor/net-connection-editor.c")
8423 (("\"nm-connection-editor")
8424 (string-append "\"" nm-applet
8425 "/bin/nm-connection-editor")))
8426 (substitute* '("panels/user-accounts/run-passwd.c")
8427 (("/usr/bin/passwd")
8428 "/run/setuid-programs/passwd"))
8429 (substitute* "panels/info/cc-info-overview-panel.c"
8430 (("DATADIR \"/gnome/gnome-version.xml\"")
8431 (string-append "\"" gnome-desktop
8432 "/share/gnome/gnome-version.xml\"")))
8434 (add-after 'unpack 'skip-gtk-update-icon-cache
8435 ;; Don't create 'icon-theme.cache'.
8437 (substitute* "build-aux/meson/meson_post_install.py"
8438 (("gtk-update-icon-cache") (which "true")))
8441 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8442 ("intltool" ,intltool)
8443 ("pkg-config" ,pkg-config)
8444 ("xsltproc" ,libxslt)
8446 ("hicolor-icon-theme" ,hicolor-icon-theme)
8447 ("python-dbusmock" ,python-dbusmock)
8448 ("xorg-server" ,xorg-server-for-tests)))
8450 `(("accountsservice" ,accountsservice)
8451 ("clutter-gtk" ,clutter-gtk)
8452 ("colord-gtk" ,colord-gtk)
8455 ("docbook-xsl" ,docbook-xsl)
8456 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8457 ("gnome-bluetooth" ,gnome-bluetooth)
8458 ("gnome-desktop" ,gnome-desktop)
8459 ("gnome-online-accounts" ,gnome-online-accounts)
8460 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8461 ("gnome-session" ,gnome-session)
8462 ("gnome-settings-daemon" ,gnome-settings-daemon)
8466 ("libcanberra" ,libcanberra)
8467 ("libgnomekbd" ,libgnomekbd)
8468 ("libgudev" ,libgudev)
8469 ("libgtop" ,libgtop)
8471 ("libpwquality" ,libpwquality)
8472 ("libsecret" ,libsecret)
8473 ("libsoup" ,libsoup)
8474 ("libxml2" ,libxml2)
8475 ("libwacom" ,libwacom)
8477 ("mit-krb5" ,mit-krb5)
8478 ("modem-manager" ,modem-manager)
8479 ("network-manager-applet" ,network-manager-applet)
8481 ("pulseaudio" ,pulseaudio)
8482 ("smbclient" ,samba)
8485 ("upower" ,upower)))
8486 (synopsis "Utilities to configure the GNOME desktop")
8487 (home-page "https://www.gnome.org/")
8489 "This package contains configuration applets for the GNOME desktop,
8490 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8491 properties, sound setup, desktop theme and background, user interface
8492 properties, screen resolution, and other GNOME parameters.")
8493 (license license:gpl2+)))
8495 (define-public gnome-shell
8497 (name "gnome-shell")
8501 (uri (string-append "mirror://gnome/sources/" name "/"
8502 (version-major+minor version) "/"
8503 name "-" version ".tar.xz"))
8506 "0l3mdn7g2c22mdhrqkxvvc1pk2w0v32f2v4a6n1phvaalwcg75nj"))
8507 (patches (search-patches "gnome-shell-CVE-2020-17489.patch"
8508 "gnome-shell-theme.patch"
8509 "gnome-shell-disable-test.patch"))
8510 (modules '((guix build utils)))
8513 ;; Copy images for use on the GDM log-in screen.
8514 (copy-file #$(file-append %artwork-repository
8515 "/slim/0.x/background.png")
8516 "data/theme/guix-background.png")
8517 (copy-file #$(file-append %artwork-repository
8518 "/logo/Guix-horizontal-white.svg")
8519 "data/theme/guix-logo.svg")
8521 (build-system meson-build-system)
8524 #:disallowed-references ((,glib "bin")
8528 (list "-Dsystemd=false"
8529 ;; Otherwise, the RUNPATH will lack the final path component.
8530 (string-append "-Dc_link_args=-Wl,-rpath="
8531 (assoc-ref %outputs "out")
8532 "/lib/gnome-shell"))
8534 #:modules ((guix build meson-build-system)
8539 (modify-phases %standard-phases
8540 (add-after 'unpack 'fix-keysdir
8541 (lambda* (#:key outputs #:allow-other-keys)
8542 (let* ((out (assoc-ref outputs "out"))
8543 (keysdir (string-append
8544 out "/share/gnome-control-center/keybindings")))
8545 (substitute* "meson.build"
8547 (string-append "keysdir = '" keysdir "'\n")))
8549 (add-before 'configure 'convert-logo-to-png
8550 (lambda* (#:key inputs #:allow-other-keys)
8551 ;; Convert the logo from SVG to PNG.
8552 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8553 "data/theme/guix-logo.svg")))
8554 (add-before 'configure 'record-absolute-file-names
8555 (lambda* (#:key inputs #:allow-other-keys)
8556 (substitute* "js/misc/ibusManager.js"
8558 (string-append "'" (assoc-ref inputs "ibus")
8559 "/bin/ibus-daemon'")))
8560 (substitute* "js/ui/status/keyboard.js"
8561 (("'gkbd-keyboard-display'")
8562 (string-append "'" (assoc-ref inputs "libgnomekbd")
8563 "/bin/gkbd-keyboard-display'")))
8565 (add-before 'check 'pre-check
8566 (lambda* (#:key inputs #:allow-other-keys)
8567 ;; Tests require a running X server.
8568 (system "Xvfb :1 &")
8569 (setenv "DISPLAY" ":1")
8571 (add-after 'install 'wrap-programs
8572 (lambda* (#:key inputs outputs #:allow-other-keys)
8573 (let ((out (assoc-ref outputs "out"))
8574 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8575 (python-path (getenv "PYTHONPATH")))
8576 (wrap-program (string-append out "/bin/gnome-shell")
8577 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8578 ;; FIXME: gnome-shell loads these libraries with unqualified
8579 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8580 ;; alternative might be to patch gnome-shell.
8581 `("LD_LIBRARY_PATH" ":" prefix
8583 (string-append (assoc-ref inputs pkg) "/lib"))
8585 "gnome-bluetooth" "librsvg" "libgweather"))))
8588 (wrap-program (string-append out "/bin/" prog)
8589 `("PYTHONPATH" ":" prefix (,python-path))
8590 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8591 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8593 (replace 'glib-or-gtk-wrap
8594 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8595 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8596 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8597 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8598 ;; phase. Fix that since we don't need these.
8599 (wrap #:inputs (fold alist-delete inputs
8600 '("inkscape" "intltool" "glib:bin"))
8601 #:outputs outputs)))))))
8603 `(("asciidoc" ,asciidoc)
8604 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8605 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8606 ("gobject-introspection" ,gobject-introspection)
8607 ("inkscape" ,inkscape)
8608 ("intltool" ,intltool)
8609 ("pkg-config" ,pkg-config)
8611 ("ruby-sass" ,ruby-sass)
8613 ("xsltproc" ,libxslt)
8615 ("xorg-server" ,xorg-server-for-tests)))
8617 `(("accountsservice" ,accountsservice)
8618 ("caribou" ,caribou)
8619 ("docbook-xsl" ,docbook-xsl)
8620 ("evolution-data-server" ,evolution-data-server)
8623 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8625 ("gnome-autoar" ,gnome-autoar)
8626 ("gnome-bluetooth" ,gnome-bluetooth)
8627 ("gnome-desktop" ,gnome-desktop)
8628 ("gnome-settings-daemon" ,gnome-settings-daemon)
8629 ("gst-plugins-base" ,gst-plugins-base)
8631 ("libcanberra" ,libcanberra)
8632 ("libcroco" ,libcroco)
8633 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8634 ("libgweather" ,libgweather)
8636 ("libsoup" ,libsoup)
8637 ("mesa-headers" ,mesa-headers)
8639 ("network-manager-applet" ,network-manager-applet)
8641 ("pulseaudio" ,pulseaudio)
8642 ("python-pygobject" ,python-pygobject)
8643 ("startup-notification" ,startup-notification)
8644 ("telepathy-logger" ,telepathy-logger)
8646 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8647 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8648 ("librsvg" ,librsvg)
8649 ("geoclue" ,geoclue)))
8650 ;; CVE-2019-3820 was fixed before GNOME 3.34 was released, in upstream
8651 ;; commit f0a7395b3006360905ccdc642982f9fc67378927.
8652 (properties '((lint-hidden-cve . ("CVE-2019-3820"))))
8653 (synopsis "Desktop shell for GNOME")
8654 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8656 "GNOME Shell provides core user interface functions for the GNOME desktop,
8657 like switching to windows and launching applications.")
8658 (license license:gpl2+)))
8660 (define-public gtk-vnc
8668 (string-append "mirror://gnome/sources/" name "/"
8669 (version-major+minor version) "/"
8670 name "-" version ".tar.xz"))
8672 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8673 (build-system meson-build-system)
8675 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8678 ("glib:bin" ,glib "bin")
8679 ("gobject-introspection" ,gobject-introspection)
8680 ("intltool" ,intltool)
8683 ("pkg-config" ,pkg-config)
8684 ("python" ,python-wrapper)
8688 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8691 ("libgcrypt" ,libgcrypt)
8692 ("libsasl" ,cyrus-sasl)
8693 ("pulseaudio" ,pulseaudio)
8698 (synopsis "VNC client viewer widget for GTK+")
8699 (description "GTK-VNC is a project providing client side APIs for the RFB
8700 protocol / VNC remote desktop technology. It is built using coroutines allowing
8701 it to be completely asynchronous while remaining single threaded. It provides a
8702 core C library, and bindings for Python (PyGTK).")
8703 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8704 (license license:lgpl2.1+)))
8706 (define-public gnome-autoar
8708 (name "gnome-autoar")
8712 (uri (string-append "mirror://gnome/sources/" name "/"
8713 (version-major+minor version) "/"
8714 name "-" version ".tar.xz"))
8717 "1y6hh5dldhdq7mpbmd571zl0yadfackvifhnxvykkqqddwz72y0f"))))
8718 (build-system glib-or-gtk-build-system)
8720 `(("gobject-introspection" ,gobject-introspection)
8721 ("pkg-config" ,pkg-config)))
8723 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8726 (synopsis "Archives integration support for GNOME")
8727 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8729 "GNOME Autoar is a library which makes creating and extracting archives
8730 easy, safe, and automatic.")
8731 (license license:lgpl2.1+)))
8733 (define-public tracker
8739 (uri (string-append "mirror://gnome/sources/tracker/"
8740 (version-major+minor version) "/"
8741 "tracker-" version ".tar.xz"))
8744 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8745 (build-system meson-build-system)
8749 ;; Otherwise, the RUNPATH will lack the final path component.
8750 (list (string-append "-Dc_link_args=-Wl,-rpath="
8751 (assoc-ref %outputs "out") "/lib:"
8752 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8754 (modify-phases %standard-phases
8755 (add-before 'check 'pre-check
8757 ;; Some tests expect to write to $HOME.
8758 (setenv "HOME" "/tmp")
8761 `(("glib:bin" ,glib "bin")
8762 ("gobject-introspection" ,gobject-introspection)
8763 ("python-pygobject" ,python-pygobject)
8764 ("intltool" ,intltool)
8765 ("pkg-config" ,pkg-config)
8770 ("libxml2" ,libxml2)
8771 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8772 ("json-glib" ,json-glib)
8773 ("libsoup" ,libsoup)))
8774 (synopsis "Metadata database, indexer and search tool")
8775 (home-page "https://wiki.gnome.org/Projects/Tracker")
8777 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8779 It is a middleware component aimed at desktop application developers who want
8780 their apps to browse and search user content. It's not designed to be used
8781 directly by desktop users, but it provides a commandline tool named
8782 @command{tracker} for the adventurous.
8784 Tracker allows your application to instantly perform full-text searches across
8785 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8786 example. This is achieved by indexing the user's home directory in the
8789 Tracker also allows your application to query and list content that the user
8790 has stored. For example, GNOME Music displays all the music files that are
8791 found by Tracker. This means that GNOME Music doesn't need to maintain a
8792 database of its own.
8794 If you need to go beyond simple searches, Tracker is also a linked data
8795 endpoint and it understands SPARQL. ")
8796 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8797 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8798 ;; libstemmer is bsd-3 and the rest is gpl2+.
8799 (license (list license:gpl2+
8801 license:lgpl2.1+))))
8803 (define-public tracker-miners
8805 (name "tracker-miners")
8809 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8810 (version-major+minor version)
8811 "/tracker-miners-" version ".tar.xz"))
8814 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8815 (build-system meson-build-system)
8819 (list "-Dminer_rss=false" ; libgrss is required.
8820 ;; Ensure the RUNPATH contains all installed library locations.
8821 (string-append "-Dc_link_args=-Wl,-rpath="
8822 (assoc-ref %outputs "out")
8823 "/lib/tracker-miners-2.0")
8824 ;; TODO: Enable functional tests. Currently, the following error
8826 ;; Exception: The functional tests require DConf to be the default
8827 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8828 "-Dfunctional_tests=false")))
8831 ("intltool" ,intltool)
8832 ("glib:bin" ,glib "bin")
8833 ("gobject-introspection" ,gobject-introspection)
8834 ("pkg-config" ,pkg-config)
8835 ("python-pygobject" ,python-pygobject)))
8837 `(("exempi" ,exempi)
8842 ("gstreamer" ,gstreamer)
8845 ("libexif" ,libexif)
8847 ("libgxps" ,libgxps)
8848 ("libiptcdata" ,libiptcdata)
8849 ("libjpeg" ,libjpeg-turbo)
8850 ("libosinfo" ,libosinfo)
8852 ("libseccomp" ,libseccomp)
8853 ("libtiff" ,libtiff)
8854 ("libvorbis" ,libvorbis)
8855 ("libxml2" ,libxml2)
8856 ("poppler" ,poppler)
8858 ("totem-pl-parser" ,totem-pl-parser)
8859 ("tracker" ,tracker)
8862 (synopsis "Metadata database, indexer and search tool")
8863 (home-page "https://wiki.gnome.org/Projects/Tracker")
8865 "Tracker is an advanced framework for first class objects with associated
8866 metadata and tags. It provides a one stop solution for all metadata, tags,
8867 shared object databases, search tools and indexing.")
8868 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8869 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8870 (license (list license:gpl2+
8872 license:lgpl2.0+))))
8874 (define-public nautilus
8880 (uri (string-append "mirror://gnome/sources/" name "/"
8881 (version-major+minor version) "/"
8882 name "-" version ".tar.xz"))
8885 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8886 (build-system meson-build-system)
8890 (modify-phases %standard-phases
8891 (add-after 'unpack 'skip-gtk-update-icon-cache
8892 ;; Don't create 'icon-theme.cache'.
8894 (substitute* "build-aux/meson/postinstall.py"
8895 (("gtk-update-icon-cache") "true"))
8897 ;; XXX: FAIL: check-nautilus
8898 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8901 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8902 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8903 ("gobject-introspection" ,gobject-introspection)
8904 ("intltool" ,intltool)
8905 ("pkg-config" ,pkg-config)))
8911 ("gnome-desktop" ,gnome-desktop)
8912 ("gnome-autoar" ,gnome-autoar)
8913 ("gst-plugins-base" ,gst-plugins-base)
8914 ("libseccomp" ,libseccomp)
8915 ("libselinux" ,libselinux)
8916 ("tracker" ,tracker)
8917 ("tracker-miners" ,tracker-miners)
8918 ;; XXX: gtk+ is required by libnautilus-extension.pc
8920 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8922 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8924 ("libexif" ,libexif)
8925 ("libxml2" ,libxml2)))
8926 (synopsis "File manager for GNOME")
8927 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8929 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8930 design and behaviour, giving the user a simple way to navigate and manage its
8932 (license license:gpl2+)))
8934 (define-public baobab
8941 "mirror://gnome/sources/" name "/"
8942 (version-major+minor version) "/"
8943 name "-" version ".tar.xz"))
8946 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8947 (build-system meson-build-system)
8949 '(#:glib-or-gtk? #t))
8951 `(("intltool" ,intltool)
8952 ("pkg-config" ,pkg-config)
8953 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8954 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8955 ("itstool" ,itstool)
8956 ("xmllint" ,libxml2)
8957 ("glib" ,glib "bin")
8961 (synopsis "Disk usage analyzer for GNOME")
8963 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8964 usage in the GNOME desktop environment. It can easily scan device volumes or
8965 a specific user-requested directory branch (local or remote). Once the scan
8966 is complete it provides a graphical representation of each selected folder.")
8967 (home-page "https://wiki.gnome.org/Apps/Baobab")
8968 (license license:gpl2+)))
8970 (define-public gnome-backgrounds
8972 (name "gnome-backgrounds")
8977 (uri (string-append "mirror://gnome/sources/" name "/"
8978 (version-major+minor version) "/"
8979 name "-" version ".tar.xz"))
8982 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8983 (build-system meson-build-system)
8985 `(("intltool" ,intltool)))
8986 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8987 (synopsis "Background images for the GNOME desktop")
8989 "GNOME backgrounds package contains a collection of graphics files which
8990 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8991 the package creates the proper framework and directory structure so that you
8992 can add your own files to the collection.")
8993 (license (list license:gpl2+
8996 license:cc-by-sa3.0))))
8998 (define-public gnome-screenshot
9000 (name "gnome-screenshot")
9005 (uri (string-append "mirror://gnome/sources/" name "/"
9006 (version-major+minor version) "/"
9007 name "-" version ".tar.xz"))
9010 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
9011 (build-system meson-build-system)
9014 (modify-phases %standard-phases
9015 (add-after 'unpack 'skip-gtk-update-icon-cache
9016 ;; Don't create 'icon-theme.cache'.
9018 (substitute* "build-aux/postinstall.py"
9019 (("gtk-update-icon-cache") "true"))
9022 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
9023 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9024 ("intltool" ,intltool)
9025 ("appstream-glib" ,appstream-glib)
9026 ("pkg-config" ,pkg-config)))
9029 ("libcanberra" ,libcanberra)
9031 ("libxext" ,libxext)))
9032 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
9033 (synopsis "Take pictures of your screen")
9035 "GNOME Screenshot is a utility used for taking screenshots of the entire
9036 screen, a window or a user defined area of the screen, with optional
9037 beautifying border effects.")
9038 (license license:gpl2+)))
9040 (define-public dconf-editor
9042 (name "dconf-editor")
9047 (uri (string-append "mirror://gnome/sources/" name "/"
9048 (version-major+minor version) "/"
9049 name "-" version ".tar.xz"))
9052 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
9053 (build-system meson-build-system)
9055 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9056 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9057 ("intltool" ,intltool)
9058 ("pkg-config" ,pkg-config)
9063 ("libxml2" ,libxml2)))
9064 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
9065 (synopsis "Graphical editor for GNOME's dconf configuration system")
9067 "Dconf-editor is a graphical tool for browsing and editing the dconf
9068 configuration system for GNOME. It allows users to configure desktop
9069 software that do not provide their own configuration interface.")
9070 (license license:lgpl2.1+)))
9072 (define-public gnome-default-applications
9074 (name "gnome-default-applications")
9076 (build-system trivial-build-system)
9079 `(("nautilus" ,nautilus)
9080 ("evince" ,evince)))
9082 `(#:modules ((guix build utils))
9085 (use-modules (guix build utils))
9086 (let* ((out (assoc-ref %outputs "out"))
9087 (apps (string-append out "/share/applications")))
9089 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9091 (format port "[Default Applications]\n")
9092 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9093 (format port "application/pdf=evince.desktop\n")
9094 (format port "application/postscript=evince.desktop\n")))
9096 (synopsis "Default MIME type associations for the GNOME desktop")
9098 "Given many installed packages which might handle a given MIME type, a
9099 user running the GNOME desktop probably has some preferences: for example,
9100 that folders be opened by default by the Nautilus file manager, not the Baobab
9101 disk usage analyzer. This package establishes that set of default MIME type
9102 associations for GNOME.")
9103 (license license:gpl3+)
9106 (define-public libgovirt
9112 (uri (string-append "mirror://gnome/sources/" name "/"
9113 (version-major+minor version) "/"
9114 name "-" version ".tar.xz"))
9117 "1y0x1wyakj3ya33hgj0w1jkbcn50q21gmn2zyalxysqp55i1ij8x"))))
9118 (build-system glib-or-gtk-build-system)
9120 `(("gettext" ,gettext-minimal)
9121 ("glib:bin" ,glib "bin")
9122 ("gobject-introspection" ,gobject-introspection)
9123 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9124 ("gtk+:bin" ,gtk+ "bin")
9125 ("pkg-config" ,pkg-config)))
9127 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9129 (synopsis "GoVirt Library")
9130 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9131 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9132 (license license:gpl2+)))
9134 (define-public gnome-weather
9136 (name "gnome-weather")
9140 (uri (string-append "mirror://gnome/sources/" name "/"
9141 (version-major+minor version) "/"
9142 name "-" version ".tar.xz"))
9145 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9146 (build-system meson-build-system)
9148 `(("gettext" ,gettext-minimal)
9149 ("glib:bin" ,glib "bin")
9150 ("gobject-introspection" ,gobject-introspection)
9151 ("gtk+:bin" ,gtk+ "bin")
9152 ("pkg-config" ,pkg-config)))
9154 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9155 ("appstream-glib" ,appstream-glib)
9156 ("geoclue" ,geoclue)
9157 ("gdk-pixbuf" ,gdk-pixbuf)
9159 ("gnome-desktop" ,gnome-desktop)
9160 ("libgweather" ,libgweather)))
9164 (modify-phases %standard-phases
9165 (add-after 'install 'fix-desktop-file
9166 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9167 ;; See https://issues.guix.gnu.org/issue/39324.
9168 (lambda* (#:key outputs #:allow-other-keys)
9169 (let* ((out (assoc-ref outputs "out"))
9170 (applications (string-append out "/share/applications")))
9171 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9172 (("Exec=.*") "Exec=gnome-weather\n"))
9174 (add-after 'install 'wrap
9175 (lambda* (#:key inputs outputs #:allow-other-keys)
9176 (let ((out (assoc-ref outputs "out"))
9177 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9178 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9179 (wrap-program (string-append out "/bin/gnome-weather")
9180 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9182 (synopsis "Weather monitoring for GNOME desktop")
9183 (description "GNOME Weather is a small application that allows you to
9184 monitor the current weather conditions for your city, or anywhere in the
9186 (home-page "https://wiki.gnome.org/Apps/Weather")
9187 (license license:gpl2+)))
9189 (define-public gnome
9192 (version (package-version gnome-shell))
9194 (build-system trivial-build-system)
9195 (arguments '(#:builder (begin (mkdir %output) #t)))
9197 ;; TODO: Add or remove packages according to:
9198 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9200 ;; GNOME-Core-OS-Services
9201 ("accountsservice" ,accountsservice)
9202 ("network-manager" ,network-manager)
9203 ("packagekit" ,packagekit)
9206 ("adwaita-icon-theme" ,adwaita-icon-theme)
9208 ("glib-networking" ,glib-networking)
9209 ("gnome-backgrounds" ,gnome-backgrounds)
9210 ("gnome-bluetooth" ,gnome-bluetooth)
9211 ("gnome-color-manager" ,gnome-color-manager)
9212 ("gnome-control-center" ,gnome-control-center)
9213 ("gnome-desktop" ,gnome-desktop)
9214 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9215 ("gnome-initial-setup" ,gnome-initial-setup)
9216 ("gnome-keyring" ,gnome-keyring)
9217 ("gnome-menus" ,gnome-menus)
9218 ("gnome-session" ,gnome-session)
9219 ("gnome-settings-daemon" ,gnome-settings-daemon)
9220 ("gnome-shell-extensions" ,gnome-shell-extensions)
9221 ("gnome-shell" ,gnome-shell)
9222 ("gnome-themes-extra" ,gnome-themes-extra)
9223 ("gnome-user-docs" ,gnome-user-docs)
9224 ("gnome-user-share" ,gnome-user-share)
9225 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9231 ;; GNOME-Core-Utilities
9234 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9235 ;; only works on x86_64, so exclude it on other architectures.
9236 ,@(if (string-prefix? "x86_64" (%current-system))
9239 ("epiphany" ,epiphany)
9241 ("file-roller" ,file-roller)
9243 ("gnome-boxes" ,gnome-boxes)
9244 ("gnome-calculator" ,gnome-calculator)
9245 ("gnome-calendar" ,gnome-calendar)
9246 ("gnome-characters" ,gnome-characters)
9247 ("gnome-clocks" ,gnome-clocks)
9248 ("gnome-contacts" ,gnome-contacts)
9249 ("gnome-disk-utility" ,gnome-disk-utility)
9250 ("gnome-font-viewer" ,gnome-font-viewer)
9251 ("gnome-maps" ,gnome-maps)
9252 ; TODO: ("gnome-music" ,gnome-music)
9253 ; TODO: ("gnome-photos" ,gnome-photos)
9254 ("gnome-screenshot" ,gnome-screenshot)
9255 ("gnome-system-monitor" ,gnome-system-monitor)
9256 ("gnome-terminal" ,gnome-terminal)
9257 ("gnome-weather" ,gnome-weather)
9258 ("nautilus" ,nautilus)
9259 ("simple-scan" ,simple-scan)
9263 ("hicolor-icon-theme" ,hicolor-icon-theme)
9264 ("gnome-online-accounts" ,gnome-online-accounts)
9266 ;; Packages not part of GNOME proper but that are needed for a good
9267 ;; experience. See <https://bugs.gnu.org/39646>.
9268 ;; XXX: Find out exactly which ones are needed and why.
9269 ("font-cantarell" ,font-cantarell)
9270 ("font-dejavu" ,font-dejavu)
9271 ("at-spi2-core" ,at-spi2-core)
9274 ("desktop-file-utils" ,desktop-file-utils)
9275 ("gnome-default-applications" ,gnome-default-applications)
9276 ("gnome-themes-standard" ,gnome-themes-standard)
9277 ("gst-plugins-base" ,gst-plugins-base)
9278 ("gst-plugins-good" ,gst-plugins-good)
9279 ("gucharmap" ,gucharmap)
9280 ("pinentry-gnome3" ,pinentry-gnome3)
9281 ("pulseaudio" ,pulseaudio)
9282 ("shared-mime-info" ,shared-mime-info)
9283 ("system-config-printer" ,system-config-printer)
9284 ("xdg-user-dirs" ,xdg-user-dirs)
9286 ("zenity" ,zenity)))
9287 (synopsis "The GNU desktop environment")
9288 (home-page "https://www.gnome.org/")
9290 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9291 applications for browsing the web, editing text and images, creating
9292 documents and diagrams, playing media, scanning, and much more.")
9293 (license license:gpl2+)))
9295 (define-public byzanz
9296 ;; The last stable release of Byzanz was in 2011, but there have been many
9297 ;; useful commits made to the Byzanz repository since then that it would be
9298 ;; silly to use such an old release.
9299 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9302 (version (string-append "0.2-1." (string-take commit 7)))
9306 (url "https://git.gnome.org/browse/byzanz")
9308 (file-name (string-append name "-" version "-checkout"))
9311 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9312 (build-system glib-or-gtk-build-system)
9315 (modify-phases %standard-phases
9316 (add-before 'bootstrap 'build-without-Werror
9318 ;; The build system cleverly detects that we're not building from
9319 ;; a release tarball and turns on -Werror for GCC.
9320 ;; Unsurprisingly, there is a warning during compilation that
9321 ;; causes the build to fail unnecessarily, so we remove the flag.
9322 (substitute* '("configure.ac")
9326 `(("autoconf" ,autoconf)
9327 ("automake" ,automake)
9328 ("gnome-common" ,gnome-common)
9329 ("intltool" ,intltool)
9330 ("libtool" ,libtool)
9331 ("pkg-config" ,pkg-config)
9335 ("gstreamer" ,gstreamer)
9336 ("gst-plugins-base" ,gst-plugins-base)
9338 (synopsis "Desktop recording program")
9339 (description "Byzanz is a simple desktop recording program with a
9340 command-line interface. It can record part or all of an X display for a
9341 specified duration and save it as a GIF encoded animated image file.")
9342 (home-page "https://git.gnome.org/browse/byzanz")
9343 (license license:gpl2+))))
9345 (define-public authenticator
9347 (name "authenticator")
9353 (url "https://gitlab.gnome.org/World/Authenticator")
9355 (file-name (git-file-name name version))
9357 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9358 (build-system meson-build-system)
9362 (modify-phases %standard-phases
9363 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9364 (lambda* (#:key inputs outputs #:allow-other-keys)
9365 (let ((prog (string-append (assoc-ref outputs "out")
9366 "/bin/authenticator"))
9367 (pylib (string-append (assoc-ref outputs "out")
9369 ,(version-major+minor
9370 (package-version python))
9373 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9374 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9377 `(("desktop-file-utils" ,desktop-file-utils)
9378 ("gettext" ,gettext-minimal)
9379 ("glib:bin" ,glib "bin")
9380 ("gobject-introspection" ,gobject-introspection)
9381 ("gtk+:bin" ,gtk+ "bin")
9382 ("pkg-config" ,pkg-config)))
9384 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9386 ("libhandy" ,libhandy-0.0)
9387 ("libsecret" ,libsecret)
9388 ("python-beautifulsoup4" ,python-beautifulsoup4)
9389 ("python-pillow" ,python-pillow)
9390 ("python-pyfavicon" ,python-pyfavicon)
9391 ("python-pygobject" ,python-pygobject)
9392 ("python-pyotp" ,python-pyotp)
9393 ("python-pyzbar" ,python-pyzbar)
9394 ("yoyo-migrations" ,yoyo-migrations)
9396 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9397 (synopsis "Two-factor authentication application built for GNOME")
9399 "Authenticator is a two-factor authentication (2FA) application built for
9400 the GNOME desktop environment.
9405 @item QR code scanner
9407 @item Huge database of more than 560 supported services
9408 @item Keep your PIN tokens secure by locking the application with a password
9409 @item Automatically fetch an image for services using their favicon
9410 @item The possibility to add new services
9412 (license license:gpl3+)))
9414 (define-public gsound
9420 (uri (string-append "mirror://gnome/sources/" name "/"
9421 (version-major+minor version) "/"
9422 name "-" version ".tar.xz"))
9425 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9426 (build-system glib-or-gtk-build-system)
9428 `(("pkg-config" ,pkg-config)
9429 ("gobject-introspection" ,gobject-introspection)
9433 ("libcanberra" ,libcanberra)))
9434 (home-page "https://wiki.gnome.org/Projects/GSound")
9435 (synopsis "GObject wrapper for libcanberra")
9437 "GSound is a small library for playing system sounds. It's designed to be
9438 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9440 (license license:lgpl2.1+)))
9442 (define-public libzapojit
9448 (uri (string-append "mirror://gnome/sources/" name "/"
9449 (version-major+minor version) "/"
9450 name "-" version ".tar.xz"))
9453 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9454 (build-system gnu-build-system)
9456 `(("gobject-introspection" ,gobject-introspection)
9457 ("intltool" ,intltool)
9458 ("pkg-config" ,pkg-config)))
9460 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9461 ("json-glib" ,json-glib)
9463 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9464 (synopsis "Library for accessing SkyDrive and Hotmail")
9466 "Libzapojit is a GLib-based library for accessing online service APIs of
9467 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9468 (license license:lgpl2.1+)))
9470 (define-public gnome-clocks
9472 (name "gnome-clocks")
9476 (uri (string-append "mirror://gnome/sources/" name "/"
9477 (version-major+minor version) "/"
9478 name "-" version ".tar.xz"))
9481 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9482 (build-system meson-build-system)
9486 (modify-phases %standard-phases
9487 (add-after 'unpack 'skip-gtk-update-icon-cache
9488 ;; Don't create 'icon-theme.cache'.
9490 (substitute* "build-aux/post-install.py"
9491 (("gtk-update-icon-cache") "true"))
9495 ("pkg-config" ,pkg-config)
9496 ("glib" ,glib "bin") ; for glib-compile-resources
9497 ("desktop-file-utils" ,desktop-file-utils)
9498 ("gettext" ,gettext-minimal)
9499 ("itstool" ,itstool)))
9504 ("geoclue" ,geoclue)
9505 ("geocode-glib" ,geocode-glib)
9506 ("libgweather" ,libgweather)
9507 ("gnome-desktop" ,gnome-desktop)))
9508 (home-page "https://wiki.gnome.org/Apps/Clocks")
9509 (synopsis "GNOME's clock application")
9511 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9512 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9513 (license license:gpl3+)))
9515 (define-public gnome-calendar
9517 (name "gnome-calendar")
9521 (uri (string-append "mirror://gnome/sources/" name "/"
9522 (version-major+minor version) "/"
9523 name "-" version ".tar.xz"))
9526 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9527 (build-system meson-build-system)
9530 ;; gnome-calendar has to be installed before the tests can be run
9531 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9534 (modify-phases %standard-phases
9535 (add-after 'unpack 'skip-gtk-update-icon-cache
9536 ;; Don't create 'icon-theme.cache'.
9538 (substitute* "build-aux/meson/meson_post_install.py"
9539 (("gtk-update-icon-cache") "true"))
9542 `(("gettext" ,gettext-minimal)
9543 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9544 ("pkg-config" ,pkg-config)))
9546 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9547 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9548 ("libdazzle" ,libdazzle)
9549 ("libedataserverui" ,evolution-data-server)
9550 ("libgweather" ,libgweather)
9551 ("geoclue" ,geoclue)))
9553 `(("evolution-data-server" ,evolution-data-server)))
9554 (home-page "https://wiki.gnome.org/Apps/Calendar")
9555 (synopsis "GNOME's calendar application")
9557 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9558 desktop. It supports multiple calendars, month, week and year view.")
9559 (license license:gpl3+)))
9561 (define-public gnome-todo
9567 (uri (string-append "mirror://gnome/sources/" name "/"
9568 (version-major+minor version) "/"
9569 name "-" version ".tar.xz"))
9572 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9574 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9575 (build-system meson-build-system)
9578 #:phases (modify-phases %standard-phases
9580 'install 'wrap-gnome-todo
9581 (lambda* (#:key inputs outputs #:allow-other-keys)
9582 (let ((out (assoc-ref outputs "out"))
9583 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9584 (python-path (getenv "PYTHONPATH")))
9585 (wrap-program (string-append out "/bin/gnome-todo")
9586 ;; XXX: gi plugins are broken.
9587 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9589 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9590 `("PYTHONPATH" ":" prefix (,python-path))))
9593 `(("gettext" ,gettext-minimal)
9594 ("gobject-introspection" ,gobject-introspection)
9595 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9596 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9597 ("pkg-config" ,pkg-config)))
9599 `(("rest" ,rest) ; For Todoist plugin
9600 ("json-glib" ,json-glib) ; For Todoist plugin
9601 ("libedataserverui" ,evolution-data-server)
9602 ("libical" ,libical)
9603 ("libpeas" ,libpeas)
9604 ("python-pygobject" ,python-pygobject)
9605 ("evolution-data-server" ,evolution-data-server)
9606 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9607 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9608 (home-page "https://wiki.gnome.org/Apps/Todo")
9609 (synopsis "GNOME's ToDo Application")
9611 "GNOME To Do is a simplistic personal task manager designed to perfectly
9612 fit the GNOME desktop.")
9613 (license license:gpl3+)))
9615 (define-public gnome-dictionary
9617 (name "gnome-dictionary")
9621 (uri (string-append "mirror://gnome/sources/" name "/"
9622 (version-major+minor version) "/"
9623 name "-" version ".tar.xz"))
9626 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9627 (build-system meson-build-system)
9628 (arguments '(#:glib-or-gtk? #t
9629 #:phases (modify-phases %standard-phases
9630 (add-after 'unpack 'patch-install-script
9632 ;; This script attempts to compile glib schemas
9633 ;; and create an empty MIME database. We do
9634 ;; that elsewhere, so prevent it from running.
9635 (substitute* "build-aux/post-install.sh"
9636 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9639 `(("glib:bin" ,glib "bin")
9640 ("gobject-introspection" ,gobject-introspection)
9641 ("intltool" ,intltool)
9642 ("itstool" ,itstool)
9643 ("pkg-config" ,pkg-config)
9644 ("xmllint" ,libxml2)))
9646 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9648 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9649 (synopsis "Look up words in dictionary sources")
9651 "GNOME Dictionary can look for the definition or translation of a word in
9652 existing databases over the internet.")
9653 (license license:gpl3+)))
9655 (define-public gnome-tweaks
9657 (name "gnome-tweaks")
9661 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9662 (version-major+minor version) "/"
9663 "gnome-tweaks-" version ".tar.xz"))
9665 (list (search-patch "gnome-tweaks-search-paths.patch")))
9668 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9669 (build-system meson-build-system)
9672 #:configure-flags '("-Dlocalstatedir=/tmp"
9673 "-Dsysconfdir=/tmp")
9674 #:imported-modules ((guix build python-build-system)
9675 ,@%meson-build-system-modules)
9677 (modify-phases %standard-phases
9678 (add-after 'unpack 'skip-gtk-update-icon-cache
9679 ;; Don't create 'icon-theme.cache'.
9681 (substitute* "meson-postinstall.py"
9682 (("gtk-update-icon-cache") "true"))
9684 (add-after 'install 'wrap
9685 (@@ (guix build python-build-system) wrap))
9686 (add-after 'wrap 'wrap-gi-typelib
9687 (lambda* (#:key inputs outputs #:allow-other-keys)
9688 (let ((out (assoc-ref outputs "out"))
9689 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9690 (wrap-program (string-append out "/bin/gnome-tweaks")
9691 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9694 `(("intltool" ,intltool)
9695 ("pkg-config" ,pkg-config)))
9697 `(("gnome-desktop" ,gnome-desktop)
9699 ("gobject-introspection" ,gobject-introspection)
9700 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9701 ("libhandy" ,libhandy-0.0)
9702 ("libnotify" ,libnotify)
9703 ("libsoup" ,libsoup)
9704 ("nautilus" ,nautilus)
9706 ("python-pygobject" ,python-pygobject)))
9707 (synopsis "Customize advanced GNOME 3 options")
9708 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9710 "GNOME Tweaks allows adjusting advanced configuration settings in
9711 GNOME 3. This includes things like the fonts used in user interface elements,
9712 alternative user interface themes, changes in window management behavior,
9713 GNOME Shell appearance and extension, etc.")
9714 (license license:gpl3+)))
9716 (define-public gnome-shell-extensions
9718 (name "gnome-shell-extensions")
9722 (uri (string-append "mirror://gnome/sources/" name "/"
9723 (version-major+minor version) "/"
9724 name "-" version ".tar.xz"))
9727 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9728 (build-system meson-build-system)
9730 '(#:configure-flags '("-Dextension_set=all")))
9732 `(("glib:bin" ,glib "bin")
9733 ("intltool" ,intltool)
9734 ("pkg-config" ,pkg-config)))
9737 (synopsis "Extensions for GNOME Shell")
9738 (description "GNOME Shell extensions modify and extend GNOME Shell
9739 functionality and behavior.")
9740 (home-page "https://extensions.gnome.org/")
9741 (license license:gpl3+)))
9743 (define-public folks
9750 "mirror://gnome/sources/folks/"
9751 (version-major+minor version) "/"
9752 "folks-" version ".tar.xz"))
9755 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9756 (build-system meson-build-system)
9759 (modify-phases %standard-phases
9760 (add-after 'unpack 'skip-gtk-update-icon-cache
9761 ;; Don't create 'icon-theme.cache'.
9763 (substitute* "meson_post_install.py"
9764 (("gtk-update-icon-cache") "true"))
9768 ("dbus-glib" ,dbus-glib)
9769 ("evolution-data-server" ,evolution-data-server)
9772 ("readline" ,readline)
9773 ("telepathy-glib" ,telepathy-glib)))
9775 `(("glib:bin" ,glib "bin")
9776 ("gobject-introspection" ,gobject-introspection)
9777 ("intltool" ,intltool)
9778 ("pkg-config" ,pkg-config)
9780 (synopsis "Library to aggregate data about people")
9781 (description "Libfolks is a library that aggregates information about people
9782 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9783 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9784 etc.) to create metacontacts. It's written in Vala, which generates C code when
9786 (home-page "https://wiki.gnome.org/Projects/Folks")
9787 (license license:lgpl2.1+)))
9789 (define-public gfbgraph
9796 "mirror://gnome/sources/gfbgraph/"
9797 (version-major+minor version) "/"
9798 "gfbgraph-" version ".tar.xz"))
9801 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9802 (build-system glib-or-gtk-build-system)
9804 `(#:tests? #f ; tests appear to require the network
9805 #:configure-flags '("--disable-static"
9807 "--enable-introspection")))
9809 `(("gobject-introspection" ,gobject-introspection)
9810 ("gtk-doc" ,gtk-doc/stable)
9811 ("pkg-config" ,pkg-config)
9813 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9814 ("autoconf" ,autoconf)
9815 ("automake" ,automake)
9816 ("libtool" ,libtool)
9819 `(("json-glib" ,json-glib)
9820 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9822 (synopsis "GLib/GObject wrapper for the Facebook API")
9823 (description "This library allows you to use the Facebook API from
9824 GLib/GObject code.")
9825 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9826 (license license:lgpl2.1+)))
9828 (define-public libgnomekbd
9830 (name "libgnomekbd")
9834 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9835 (version-major+minor version) "/"
9836 "libgnomekbd-" version ".tar.xz"))
9839 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9840 (build-system gnu-build-system)
9842 `(("pkg-config" ,pkg-config)
9843 ("glib" ,glib "bin")
9844 ("intltool" ,intltool)))
9846 ;; Referred to in .h files and .pc.
9849 ("libxklavier" ,libxklavier)))
9850 (home-page "https://www.gnome.org")
9851 (synopsis "GNOME keyboard configuration library")
9853 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9854 environment, which can notably display keyboard layouts.")
9855 (license license:lgpl2.0+)))
9857 ;;; This package is no longer maintained:
9858 ;;; https://wiki.gnome.org/Attic/LibUnique
9859 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9860 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9861 (define-public libunique
9867 (uri (string-append "mirror://gnome/sources/" name "/"
9868 (version-major+minor version) "/"
9869 name "-" version ".tar.xz"))
9872 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9873 (build-system glib-or-gtk-build-system)
9875 `(#:configure-flags '("--disable-static"
9876 "--disable-dbus" ; use gdbus
9877 "--enable-introspection")))
9879 `(("pkg-config" ,pkg-config)
9880 ("gobject-introspection" ,gobject-introspection)
9881 ("glib:bin" ,glib "bin")
9882 ("gtk-doc" ,gtk-doc/stable)))
9884 ;; Referred to in .h files and .pc.
9886 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9887 (synopsis "Library for writing single instance applications")
9889 "Libunique is a library for writing single instance applications. If you
9890 launch a single instance application twice, the second instance will either just
9891 quit or will send a message to the running instance. Libunique makes it easy to
9892 write this kind of application, by providing a base class, taking care of all
9893 the IPC machinery needed to send messages to a running instance, and also
9894 handling the startup notification side.")
9895 (license license:lgpl2.1+)))
9897 (define-public gnome-calculator
9899 (name "gnome-calculator")
9904 (uri (string-append "mirror://gnome/sources/" name "/"
9905 (version-major+minor version) "/"
9906 name "-" version ".tar.xz"))
9909 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9910 (build-system meson-build-system)
9911 (arguments '(#:glib-or-gtk? #t))
9913 `(("gettext" ,gettext-minimal)
9914 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9915 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9916 ("itstool" ,itstool)
9918 ("pkg-config" ,pkg-config)))
9921 ("gtksourceview" ,gtksourceview)
9923 ("libsoup" ,libsoup)
9924 ("libxml2" ,libxml2)
9927 (home-page "https://wiki.gnome.org/Apps/Calculator")
9928 (synopsis "Desktop calculator")
9930 "Calculator is an application that solves mathematical equations and
9931 is suitable as a default application in a Desktop environment.")
9932 (license license:gpl3)))
9941 (uri (string-append "https://launchpad.net/xpad/trunk/"
9942 version "/+download/"
9943 name "-" version ".tar.bz2"))
9946 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9947 (build-system gnu-build-system)
9949 `(("autoconf" ,autoconf)
9950 ("automake" ,automake)
9951 ("gtk+:bin" ,gtk+ "bin")
9952 ("intltool" ,intltool)
9953 ("pkg-config" ,pkg-config)))
9955 `(("gtksourceview" ,gtksourceview-3)
9957 (home-page "https://wiki.gnome.org/Apps/Xpad")
9958 (synopsis "Virtual sticky note")
9960 "Xpad is a sticky note that strives to be simple, fault tolerant,
9961 and customizable. Xpad consists of independent pad windows, each is
9962 basically a text box in which notes can be written.")
9963 (license license:gpl3+)))
9965 (define-public gucharmap
9966 (let ((unicode-files
9968 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9970 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9972 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9974 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9976 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9978 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9985 (uri (string-append "mirror://gnome/sources/" name "/"
9986 (version-major+minor version) "/"
9987 name "-" version ".tar.xz"))
9990 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9991 (build-system glib-or-gtk-build-system)
9993 `(#:modules ((ice-9 match)
9994 (guix build glib-or-gtk-build-system)
9997 (list "--with-unicode-data=../unicode-data")
9999 (modify-phases %standard-phases
10000 (add-after 'unpack 'prepare-unicode-data
10001 (lambda* (#:key inputs #:allow-other-keys)
10002 (mkdir-p "../unicode-data")
10003 (with-directory-excursion "../unicode-data"
10004 (for-each (match-lambda
10006 (install-file (assoc-ref inputs file) ".")))
10010 `(("desktop-file-utils" ,desktop-file-utils)
10011 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
10012 ("gobject-introspection" ,gobject-introspection)
10013 ("intltool" ,intltool)
10014 ("itstool" ,itstool)
10015 ("pkg-config" ,pkg-config)
10016 ,@(map (match-lambda
10021 (uri (string-append
10022 "http://www.unicode.org/Public/12.0.0/ucd/"
10024 (sha256 (base32 hash))))))
10029 ("xmllint" ,libxml2)))
10030 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
10031 (synopsis "Unicode character picker and font browser")
10033 "This program allows you to browse through all the available Unicode
10034 characters and categories for the installed fonts, and to examine their
10035 detailed properties. It is an easy way to find the character you might
10036 only know by its Unicode name or code point.")
10037 (license license:gpl3+))))
10039 (define-public bluefish
10046 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10047 "bluefish-" version ".tar.gz"))
10049 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10050 (build-system gnu-build-system)
10052 `(("desktop-file-utils" ,desktop-file-utils)
10053 ("intltool" ,intltool)
10054 ("pkg-config" ,pkg-config)))
10056 `(("enchant" ,enchant)
10058 ("python" ,python-wrapper)
10059 ("xmllint" ,libxml2)
10060 ("gucharmap" ,gucharmap)))
10061 (home-page "http://bluefish.openoffice.nl")
10062 (synopsis "Web development studio")
10064 "Bluefish is an editor aimed at programmers and web developers,
10065 with many options to write web sites, scripts and other code.
10066 Bluefish supports many programming and markup languages.")
10067 (license license:gpl3+)))
10069 (define-public gnome-system-monitor
10071 (name "gnome-system-monitor")
10076 (uri (string-append "mirror://gnome/sources/" name "/"
10077 (version-major+minor version) "/"
10078 name "-" version ".tar.xz"))
10081 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10082 (build-system meson-build-system)
10084 '(#:glib-or-gtk? #t
10085 #:configure-flags '("-Dsystemd=false")))
10087 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10088 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10089 ("intltool" ,intltool)
10090 ("itstool" ,itstool)
10091 ("libgtop" ,libgtop)
10093 ("pkg-config" ,pkg-config)))
10095 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10098 ("librsvg" ,librsvg)
10099 ("libxml2" ,libxml2)
10100 ("libwnck" ,libwnck)))
10101 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10102 (synopsis "Process viewer and system resource monitor for GNOME")
10104 "GNOME System Monitor is a GNOME process viewer and system monitor with
10105 an attractive, easy-to-use interface. It has features, such as a tree view
10106 for process dependencies, icons for processes, the ability to hide processes,
10107 graphical time histories of CPU/memory/swap usage and the ability to
10108 kill/reinice processes.")
10109 (license license:gpl2+)))
10111 (define-public python-pyatspi
10113 (name "python-pyatspi")
10117 (uri (string-append
10118 "mirror://gnome/sources/pyatspi/"
10119 (version-major+minor version)
10120 "/pyatspi-" version ".tar.xz"))
10123 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10124 (build-system gnu-build-system)
10127 (modify-phases %standard-phases
10128 (add-before 'build 'fix-atk-load
10130 (substitute* "pyatspi/__init__.py"
10131 (("from gi.repository import Atspi")
10132 "gi.require_version('Gtk', '3.0')
10133 from gi.repository import Gtk
10134 from gi.repository import Atspi"))
10137 `(("pkg-config" ,pkg-config)))
10139 `(("python" ,python)))
10141 `(("python-pygobject" ,python-pygobject)))
10142 (synopsis "Python client bindings for D-Bus AT-SPI")
10143 (home-page "https://wiki.linuxfoundation.org/accessibility\
10144 /atk/at-spi/at-spi_on_d-bus")
10146 "This package includes a python client library for the AT-SPI D-Bus
10147 accessibility infrastructure.")
10148 (license license:lgpl2.0)
10149 (properties '((upstream-name . "pyatspi")))))
10151 (define-public python2-pyatspi
10152 (package/inherit python-pyatspi
10153 (name "python2-pyatspi")
10155 `(("python" ,python-2)))
10157 `(("python-pygobject" ,python2-pygobject)))))
10159 (define-public orca
10165 (uri (string-append
10166 "mirror://gnome/sources/" name "/"
10167 (version-major+minor version) "/"
10168 name "-" version ".tar.xz"))
10171 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10172 (build-system glib-or-gtk-build-system)
10175 (modify-phases %standard-phases
10176 (add-before 'configure 'qualify-xkbcomp
10177 (lambda* (#:key inputs #:allow-other-keys)
10178 (let ((xkbcomp (string-append
10179 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10180 (substitute* "src/orca/orca.py"
10181 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10183 (add-after 'install 'wrap-orca
10184 (lambda* (#:key outputs #:allow-other-keys)
10185 (let* ((out (assoc-ref outputs "out"))
10186 (prog (string-append out "/bin/orca")))
10188 `("GI_TYPELIB_PATH" ":" prefix
10189 (,(getenv "GI_TYPELIB_PATH")))
10190 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10191 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10192 `("PYTHONPATH" ":" prefix
10193 (,(getenv "PYTHONPATH")))))
10196 `(("intltool" ,intltool)
10197 ("itstool" ,itstool)
10198 ("pkg-config" ,pkg-config)
10199 ("xmllint" ,libxml2)))
10201 `(("at-spi2-atk" ,at-spi2-atk)
10202 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10203 ("gstreamer" ,gstreamer)
10204 ("gst-plugins-base" ,gst-plugins-base)
10205 ("gst-plugins-good" ,gst-plugins-good)
10208 ("python-pygobject" ,python-pygobject)
10209 ("python-pyatspi" ,python-pyatspi)
10210 ("python-speechd" ,speech-dispatcher)
10211 ("xkbcomp" ,xkbcomp)))
10213 "Screen reader for individuals who are blind or visually impaired")
10214 (home-page "https://wiki.gnome.org/Projects/Orca")
10216 "Orca is a screen reader that provides access to the graphical desktop
10217 via speech and refreshable braille. Orca works with applications and toolkits
10218 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10219 (license license:lgpl2.1+)))
10221 (define-public gspell
10227 (uri (string-append "mirror://gnome/sources/" name "/"
10228 (version-major+minor version) "/"
10229 name "-" version ".tar.xz"))
10232 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10233 (patches (search-patches "gspell-dash-test.patch"))))
10234 (build-system glib-or-gtk-build-system)
10236 '(#:configure-flags (list "--enable-vala")
10238 (modify-phases %standard-phases
10239 (add-before 'check 'pre-check
10240 (lambda* (#:key inputs #:allow-other-keys)
10241 ;; Tests require a running X server.
10242 (system "Xvfb :1 &")
10243 (setenv "DISPLAY" ":1")
10245 ;; For the missing /etc/machine-id.
10246 (setenv "DBUS_FATAL_WARNINGS" "0")
10248 ;; Allow Enchant and its Aspell backend to find the en_US
10250 (setenv "ASPELL_DICT_DIR"
10251 (string-append (assoc-ref inputs "aspell-dict-en")
10257 ("iso-codes" ,iso-codes)))
10259 `(("glib" ,glib "bin")
10260 ("gobject-introspection" ,gobject-introspection)
10261 ("pkg-config" ,pkg-config)
10262 ("vala" ,vala) ;for VAPI, needed by Geary
10263 ("xmllint" ,libxml2)
10266 ("aspell-dict-en" ,aspell-dict-en)
10267 ("xorg-server" ,xorg-server-for-tests)))
10269 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10270 (home-page "https://wiki.gnome.org/Projects/gspell")
10271 (synopsis "GNOME's alternative spell checker")
10273 "gspell provides a flexible API to add spell-checking to a GTK+
10274 application. It provides a GObject API, spell-checking to text entries and
10275 text views, and buttons to choose the language.")
10276 (license license:gpl2+)))
10278 (define-public gnome-planner
10280 (name "gnome-planner")
10284 (uri (string-append "mirror://gnome/sources/planner/"
10285 (version-major+minor version) "/planner-"
10286 version ".tar.xz"))
10289 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10290 (build-system glib-or-gtk-build-system)
10292 ;; Disable the Python bindings because the Planner program functions
10293 ;; without them, and (as of 2017-06-13) we have not packaged all of
10294 ;; packages that are necessary for building the Python bindings.
10295 `(#:configure-flags
10296 (list "--disable-python"
10297 ,@(if (string=? "aarch64-linux" (%current-system))
10298 '("--build=aarch64-unknown-linux-gnu")
10301 `(("libgnomecanvas" ,libgnomecanvas)
10302 ("libgnomeui" ,libgnomeui)
10303 ("libglade" ,libglade)
10304 ("gnome-vfs" ,gnome-vfs)
10306 ("libxml2" ,libxml2)
10307 ("libxslt" ,libxslt)
10311 `(("intltool" ,intltool)
10312 ("scrollkeeper" ,scrollkeeper)
10313 ("pkg-config" ,pkg-config)))
10314 (home-page "https://wiki.gnome.org/Apps/Planner")
10315 (synopsis "Project management software for the GNOME desktop")
10317 "GNOME Planner is a project management tool based on the Work Breakdown
10318 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10319 the resources, tasks, and constraints that you define, Planner generates
10320 various views into a project. For example, Planner can show a Gantt chart of
10321 the project. It can show a detailed summary of tasks including their
10322 duration, cost, and current progress. It can also show a report of resource
10323 utilization that highlights under-utilized and over-utilized resources. These
10324 views can be printed as PDF or PostScript files, or exported to HTML.")
10325 (license license:gpl2+)))
10327 (define-public lollypop
10334 (uri (string-append "https://adishatz.org/lollypop/"
10335 "lollypop-" version ".tar.xz"))
10337 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10338 (build-system meson-build-system)
10340 `(#:imported-modules
10341 (,@%meson-build-system-modules
10342 (guix build python-build-system))
10344 ((guix build meson-build-system)
10345 ((guix build python-build-system) #:prefix python:)
10346 (guix build utils))
10348 #:tests? #f ; no test suite
10350 (modify-phases %standard-phases
10351 (add-after 'install 'wrap-program
10352 (lambda* (#:key outputs #:allow-other-keys)
10353 (let ((out (assoc-ref outputs "out"))
10354 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10355 (wrap-program (string-append out "/bin/lollypop")
10356 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10358 (add-after 'install 'wrap-python
10359 (assoc-ref python:%standard-phases 'wrap)))))
10361 `(("intltool" ,intltool)
10362 ("itstool" ,itstool)
10363 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10364 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10365 ("pkg-config" ,pkg-config)))
10367 `(("glib-networking" ,glib-networking)
10368 ("gobject-introspection" ,gobject-introspection)
10369 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10370 ("gst-plugins-base" ,gst-plugins-base)
10371 ("libnotify" ,libnotify)
10372 ("libsecret" ,libsecret)
10373 ("libhandy" ,libhandy)
10374 ("libsoup" ,libsoup)
10376 ("python-beautifulsoup4" ,python-beautifulsoup4)
10377 ("python-gst" ,python-gst)
10378 ("python-pil" ,python-pillow)
10379 ("python-pycairo" ,python-pycairo)
10380 ("python-pygobject" ,python-pygobject)
10381 ("python-pylast" ,python-pylast)
10382 ("totem-pl-parser" ,totem-pl-parser)
10383 ("webkitgtk" ,webkitgtk)))
10385 `(;; gst-plugins-base is required to start Lollypop,
10386 ;; the others are required to play streaming.
10387 ("gst-plugins-good" ,gst-plugins-good)
10388 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10389 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10390 (synopsis "GNOME music playing application")
10392 "Lollypop is a music player designed to play well with GNOME desktop.
10393 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10394 from artists and tracks from the web. It also fetches cover artworks
10395 automatically and it can stream songs from online music services and charts.")
10396 (license license:gpl3+)))
10398 (define-public gnome-video-effects
10400 (name "gnome-video-effects")
10404 (uri (string-append "mirror://gnome/sources/" name "/"
10405 (version-major+minor version) "/" name "-"
10406 version ".tar.xz"))
10409 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10410 (build-system meson-build-system)
10412 `(("gettext" ,gettext-minimal)
10413 ("pkg-config" ,pkg-config)))
10414 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10415 (synopsis "Video effects for Cheese and other GNOME applications")
10417 "A collection of GStreamer video filters and effects to be used in
10418 photo-booth-like software, such as Cheese.")
10419 (license license:gpl2+)))
10421 (define-public cheese
10427 (uri (string-append "mirror://gnome/sources/" name "/"
10428 (version-major+minor version) "/" name "-"
10429 version ".tar.xz"))
10432 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10434 `(#:glib-or-gtk? #t
10435 ;; Tests require GDK.
10438 (modify-phases %standard-phases
10439 (add-after 'unpack 'skip-gtk-update-icon-cache
10441 ;; Don't create 'icon-theme.cache'
10442 (substitute* "meson_post_install.py"
10443 (("gtk-update-icon-cache") (which "true")))
10445 (add-after 'unpack 'patch-docbook-xml
10446 (lambda* (#:key inputs #:allow-other-keys)
10447 ;; Avoid a network connection attempt during the build.
10448 (substitute* '("docs/reference/cheese.xml"
10449 "docs/reference/cheese-docs.xml")
10450 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10451 (string-append (assoc-ref inputs "docbook-xml")
10452 "/xml/dtd/docbook/docbookx.dtd")))
10454 (add-after 'install 'wrap-cheese
10455 (lambda* (#:key inputs outputs #:allow-other-keys)
10456 (let ((out (assoc-ref outputs "out"))
10457 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10458 (wrap-program (string-append out "/bin/cheese")
10459 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10461 (build-system meson-build-system)
10463 `(("docbook-xsl" ,docbook-xsl)
10464 ("docbook-xml" ,docbook-xml-4.3)
10465 ("gettext" ,gettext-minimal)
10466 ("glib:bin" ,glib "bin")
10467 ("gtk-doc" ,gtk-doc/stable)
10468 ("itstool" ,itstool)
10469 ("libxml2" ,libxml2)
10470 ("libxslt" ,libxslt)
10471 ("pkg-config" ,pkg-config)
10474 `(("gnome-video-effects" ,gnome-video-effects)
10475 ("clutter" ,clutter)
10476 ("clutter-gst" ,clutter-gst)
10477 ("clutter-gtk" ,clutter-gtk)
10478 ("libcanberra" ,libcanberra)
10479 ("gdk-pixbuf" ,gdk-pixbuf)
10481 ("gstreamer" ,gstreamer)))
10483 `(("gnome-desktop" ,gnome-desktop)
10484 ("gobject-introspection" ,gobject-introspection)
10485 ("gst-plugins-base" ,gst-plugins-base)
10486 ("gst-plugins-good" ,gst-plugins-good)
10487 ("gst-plugins-bad" ,gst-plugins-bad)
10490 ("libxtst" ,libxtst)))
10491 (home-page "https://wiki.gnome.org/Apps/Cheese")
10492 (synopsis "Webcam photo booth software for GNOME")
10494 "Cheese uses your webcam to take photos and videos. Cheese can also
10495 apply fancy special effects and lets you share the fun with others.")
10496 (license license:gpl2+)))
10498 (define-public passwordsafe
10500 (name "passwordsafe")
10505 (uri (git-reference
10506 (url "https://gitlab.gnome.org/World/PasswordSafe")
10508 (file-name (git-file-name name version))
10510 (base32 "0pi2l4gwf8paxm858mxrcsk5nr0c0zw5ycax40mghndb6b1qmmhf"))))
10511 (build-system meson-build-system)
10513 `(#:glib-or-gtk? #t
10515 (modify-phases %standard-phases
10516 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10517 (lambda* (#:key outputs #:allow-other-keys)
10518 (let ((prog (string-append (assoc-ref outputs "out")
10519 "/bin/gnome-passwordsafe"))
10520 (pylib (string-append (assoc-ref outputs "out")
10522 ,(version-major+minor
10523 (package-version python))
10524 "/site-packages")))
10526 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10527 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10530 `(("desktop-file-utils" ,desktop-file-utils)
10531 ("gettext" ,gettext-minimal)
10532 ("glib:bin" ,glib "bin")
10533 ("gobject-introspection" ,gobject-introspection)
10534 ("gtk+:bin" ,gtk+ "bin")
10535 ("pkg-config" ,pkg-config)))
10538 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10540 ("libhandy" ,libhandy-0.0)
10541 ("libpwquality" ,libpwquality)
10542 ("python-pygobject" ,python-pygobject)
10543 ("python-pykeepass" ,python-pykeepass)))
10544 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10545 (synopsis "Password manager for the GNOME desktop")
10547 "Password Safe is a password manager which makes use of the KeePass v4
10548 format. It integrates perfectly with the GNOME desktop and provides an easy
10549 and uncluttered interface for the management of password databases.")
10550 (license license:gpl3+)))
10552 (define-public sound-juicer
10554 (name "sound-juicer")
10559 (uri (string-append "mirror://gnome/sources/" name "/"
10560 (version-major+minor version) "/"
10561 name "-" version ".tar.xz"))
10564 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10565 (build-system glib-or-gtk-build-system)
10567 `(("desktop-file-utils" ,desktop-file-utils)
10568 ("intltool" ,intltool)
10569 ("itstool" ,itstool)
10570 ("pkg-config" ,pkg-config)
10571 ("xmllint" ,libxml2)))
10574 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10575 ("gstreamer" ,gstreamer)
10576 ("gst-plugins-base" ,gst-plugins-base)
10577 ("gst-plugins-good" ,gst-plugins-good)
10578 ("iso-codes" ,iso-codes)
10579 ("libbrasero-media3" ,brasero)
10580 ("libcanberra" ,libcanberra)
10581 ("libdiscid" ,libdiscid)
10582 ("libmusicbrainz" ,libmusicbrainz)
10584 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10585 (synopsis "Audio music cd ripper")
10586 (description "Sound Juicer extracts audio from compact discs and convert it
10587 into audio files that a personal computer or digital audio player can play.
10588 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10589 mp3, Ogg Vorbis and FLAC")
10590 (license license:gpl2+)))
10592 (define-public soundconverter
10594 (name "soundconverter")
10599 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10600 version "/+download/"
10601 "soundconverter-" version ".tar.xz"))
10604 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10605 (build-system glib-or-gtk-build-system)
10607 `(#:imported-modules ((guix build python-build-system)
10608 (guix build glib-or-gtk-build-system)
10609 ,@%gnu-build-system-modules)
10611 #:modules ((guix build glib-or-gtk-build-system)
10613 ((guix build gnu-build-system) #:prefix gnu:)
10614 ((guix build python-build-system) #:prefix python:))
10617 (modify-phases %standard-phases
10618 (add-after 'install 'wrap-soundconverter-for-python
10619 (assoc-ref python:%standard-phases 'wrap))
10620 (add-after 'install 'wrap-soundconverter
10621 (lambda* (#:key inputs outputs #:allow-other-keys)
10622 (let ((out (assoc-ref outputs "out"))
10623 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10624 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10625 (wrap-program (string-append out "/bin/soundconverter")
10626 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10627 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10630 `(("intltool" ,intltool)
10631 ("pkg-config" ,pkg-config)
10632 ("glib:bin" ,glib "bin")))
10636 ("python-pygobject" ,python-pygobject)
10637 ("gstreamer" ,gstreamer)
10638 ("gst-plugins-base" ,gst-plugins-base)))
10639 (home-page "https://soundconverter.org/")
10640 (synopsis "Convert between audio formats with a graphical interface")
10642 "SoundConverter supports converting between many audio formats including
10643 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10644 configurable file renaming. ")
10645 (license license:gpl3)))
10647 (define-public workrave
10650 (version "1.10.42")
10654 (uri (git-reference
10655 (url "https://github.com/rcaelers/workrave")
10656 (commit (string-append "v" (string-map
10657 (match-lambda (#\. #\_) (chr chr))
10659 (file-name (git-file-name name version))
10661 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10662 (build-system glib-or-gtk-build-system)
10664 ;; The only tests are maintainer tests (in po/), which fail.
10666 (inputs `(("glib" ,glib)
10668 ("gdk-pixbuf" ,gdk-pixbuf)
10672 ("libxtst" ,libxtst)
10676 ("libxscrnsaver" ,libxscrnsaver)))
10677 (native-inputs `(("boost" ,boost)
10678 ("pkg-config" ,pkg-config)
10679 ("gettext" ,gettext-minimal)
10680 ("autoconf" ,autoconf)
10681 ("autoconf-archive" , autoconf-archive)
10682 ("automake" ,automake)
10683 ("libtool" ,libtool)
10684 ("intltool" ,intltool)
10685 ("gobject-introspection" ,gobject-introspection)
10686 ("python3" ,python-3)
10687 ("python-jinja2" ,python-jinja2)))
10688 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10690 "Workrave is a program that assists in the recovery and prevention of
10691 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10692 micro-pauses and rest breaks, and restricts you to your daily limit.")
10693 (home-page "http://www.workrave.org")
10694 (license license:gpl3+)))
10696 (define-public ghex
10702 (uri (string-append "mirror://gnome/sources/ghex/"
10703 (version-major+minor version) "/"
10704 "ghex-" version ".tar.xz"))
10707 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10708 (build-system meson-build-system)
10710 '(#:glib-or-gtk? #t
10712 (modify-phases %standard-phases
10713 (add-after 'unpack 'skip-gtk-update-icon-cache
10714 ;; Don't create 'icon-theme.cache'.
10716 (substitute* "meson_post_install.py"
10717 (("gtk-update-icon-cache") (which "true")))
10720 `(("pkg-config" ,pkg-config)
10721 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10722 ("gnome-common" ,gnome-common)
10724 ("intltool" ,intltool)
10725 ("yelp-tools" ,yelp-tools)
10726 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10730 (synopsis "GNOME hexadecimal editor")
10731 (description "The GHex program can view and edit files in two ways:
10732 hexadecimal or ASCII. It is useful for editing binary files in general.")
10733 (home-page "https://wiki.gnome.org/Apps/Ghex")
10734 (license license:gpl2)))
10736 (define-public libdazzle
10742 (uri (string-append "mirror://gnome/sources/libdazzle/"
10743 (version-major+minor version) "/"
10744 "libdazzle-" version ".tar.xz"))
10747 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10748 (build-system meson-build-system)
10751 (modify-phases %standard-phases
10752 (add-before 'check 'pre-check
10754 ;; Tests require a running X server.
10755 (system "Xvfb :1 &")
10756 (setenv "DISPLAY" ":1")
10759 `(("glib" ,glib "bin") ; glib-compile-resources
10760 ("pkg-config" ,pkg-config)
10762 ("xorg-server" ,xorg-server-for-tests)))
10765 ("gobject-introspection" ,gobject-introspection)
10768 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10769 (synopsis "Companion library to GObject and Gtk+")
10770 (description "The libdazzle library is a companion library to GObject and
10771 Gtk+. It provides various features that the authors wish were in the
10772 underlying library but cannot for various reasons. In most cases, they are
10773 wildly out of scope for those libraries. In other cases, they are not quite
10774 generic enough to work for everyone.")
10775 (license license:gpl3+)))
10777 (define-public evolution
10783 (uri (string-append "mirror://gnome/sources/evolution/"
10784 (version-major+minor version) "/"
10785 "evolution-" version ".tar.xz"))
10788 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))
10789 (patches (search-patches "evolution-CVE-2020-11879.patch"))))
10790 (build-system cmake-build-system)
10792 `(#:imported-modules (,@%cmake-build-system-modules
10793 (guix build glib-or-gtk-build-system))
10794 #:modules ((guix build cmake-build-system)
10795 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10796 (guix build utils))
10798 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10799 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10800 ; in four years and cannot be built.
10802 (modify-phases %standard-phases
10803 ;; The build system attempts to install user interface modules to the
10804 ;; output directory of the "evolution-data-server" package. This
10805 ;; change redirects that change.
10806 (add-after 'unpack 'patch-ui-module-dir
10807 (lambda* (#:key outputs #:allow-other-keys)
10808 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10809 (("\\$\\{edsuimoduledir\\}")
10810 (string-append (assoc-ref outputs "out")
10811 "/lib/evolution-data-server/ui-modules")))
10813 (add-after 'install 'glib-or-gtk-compile-schemas
10814 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10815 (add-after 'install 'glib-or-gtk-wrap
10816 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10818 `(("glib" ,glib "bin") ; glib-mkenums
10819 ("pkg-config" ,pkg-config)
10820 ("intltool" ,intltool)
10821 ("itstool" ,itstool)))
10823 `(("enchant" ,enchant)
10824 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10826 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10827 ("gnome-autoar" ,gnome-autoar)
10828 ("gnome-desktop" ,gnome-desktop)
10830 ("highlight" ,highlight)
10831 ("libcanberra" ,libcanberra)
10832 ("libgweather" ,libgweather)
10833 ("libnotify" ,libnotify)
10834 ("libsoup" ,libsoup)
10836 ("openldap" ,openldap)
10837 ("webkitgtk" ,webkitgtk)
10839 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10840 (synopsis "Manage your email, contacts and schedule")
10841 (description "Evolution is a personal information management application
10842 that provides integrated mail, calendaring and address book
10844 ;; See COPYING for details.
10845 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10846 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10847 license:lgpl2.1+)))) ; smime/lib/*
10849 (define-public gthumb
10855 (uri (string-append "mirror://gnome/sources/gthumb/"
10856 (version-major+minor version) "/"
10857 "gthumb-" version ".tar.xz"))
10860 "14sw8d37g1lkp44dwsgyxjjsgh5pnpp4wq00mcy9p3rp30lf9spx"))))
10861 (build-system meson-build-system)
10863 `(#:glib-or-gtk? #t
10865 ;; Ensure the RUNPATH contains all installed library locations.
10866 (list (string-append "-Dc_link_args=-Wl,-rpath="
10867 (assoc-ref %outputs "out")
10868 "/lib/gthumb/extensions")
10869 (string-append "-Dcpp_link_args=-Wl,-rpath="
10870 (assoc-ref %outputs "out")
10871 "/lib/gthumb/extensions"))))
10873 `(("pkg-config" ,pkg-config)
10874 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10875 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10876 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10877 ("intltool" ,intltool)
10878 ("itstool" ,itstool)))
10882 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10883 ("gstreamer" ,gstreamer)
10884 ("clutter" ,clutter)
10885 ("clutter-gst" ,clutter-gst)
10886 ("clutter-gtk" ,clutter-gtk)
10887 ("libjpeg" ,libjpeg-turbo)
10888 ("libtiff" ,libtiff)
10889 ("libraw" ,libraw)))
10890 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10891 (synopsis "GNOME image viewer and browser")
10892 (description "GThumb is an image viewer, browser, organizer, editor and
10893 advanced image management tool")
10894 (license license:gpl2+)))
10896 (define-public terminator
10898 (name "terminator")
10903 (uri (string-append "https://github.com/gnome-terminator/terminator/"
10904 "releases/download/v" version "/"
10905 name "-" version ".tar.gz"))
10907 (base32 "0xdgmam7ghnxw6g38a4gjw3kk3rhga8c66lns18k928jlr9fmddw"))))
10908 (build-system python-build-system)
10910 `(("gettext" ,gettext-minimal)
10911 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10912 ("gobject-introspection" ,gobject-introspection)
10913 ("intltool" ,intltool)
10914 ("pkg-config" ,pkg-config)
10915 ("python-psutil" ,python-psutil)
10916 ("python-pytest-runner" ,python-pytest-runner)
10917 ("python-pytest" ,python-pytest)))
10920 ("dbus-glib" ,dbus-glib)
10921 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10923 ("python" ,python-wrapper)
10924 ("python-dbus" ,python-dbus)
10925 ("python-notify2" ,python-notify2)
10926 ("python-pycairo" ,python-pycairo)
10927 ("python-pygobject" ,python-pygobject)
10930 `(("python-configobj" ,python-configobj)))
10932 ;; One test out of 28 fails due to dbus-python and python-notify; skip
10935 #:imported-modules ((guix build glib-or-gtk-build-system)
10936 ,@%python-build-system-modules)
10937 #:modules ((guix build python-build-system)
10938 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10939 (guix build utils))
10941 (modify-phases %standard-phases
10942 (add-after 'unpack 'handle-dbus-python
10944 ;; python-dbus cannot be found but it's really there. See
10945 ;; https://github.com/SpotlightKid/jack-select/issues/2
10946 (substitute* "setup.py"
10947 (("'dbus-python',") ""))
10949 (add-after 'install 'wrap-program
10950 (lambda* (#:key outputs #:allow-other-keys)
10951 (let ((prog (string-append (assoc-ref outputs "out")
10952 "/bin/terminator"))
10953 (pylib (string-append (assoc-ref outputs "out")
10955 ,(version-major+minor
10956 (package-version python))
10957 "/site-packages")))
10959 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10960 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10962 (add-after 'wrap-program 'glib-or-gtk-wrap
10963 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10964 (home-page "https://gnome-terminator.org/")
10965 (synopsis "Store and run multiple GNOME terminals in one window")
10967 "Terminator allows you to run multiple GNOME terminals in a grid and
10968 tabs, and it supports drag and drop re-ordering of terminals.")
10969 (license license:gpl2)))
10971 (define-public libhandy
10978 (uri (git-reference
10979 (url "https://gitlab.gnome.org/GNOME/libhandy")
10981 (file-name (git-file-name name version))
10983 (base32 "1mkxvqk8r6kk5my2c7nnb7z0y39grgrl7y41cnq857qs6ljqlrfv"))))
10984 (build-system meson-build-system)
10986 `(#:configure-flags
10987 '("-Dglade_catalog=enabled"
10990 (modify-phases %standard-phases
10991 (add-before 'check 'pre-check
10993 ;; Tests require a running X server.
10994 (system "Xvfb :1 &")
10995 (setenv "DISPLAY" ":1")
11000 ("libxml2" ,libxml2)))
11002 `(("glib:bin" ,glib "bin")
11003 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
11005 ("gtk-doc" ,gtk-doc/stable)
11006 ("pkg-config" ,pkg-config)
11007 ("gettext" ,gettext-minimal)
11009 ;; Test suite dependencies.
11010 ("xorg-server" ,xorg-server-for-tests)
11011 ("hicolor-icon-theme" ,hicolor-icon-theme)))
11012 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
11013 (synopsis "Library full of GTK+ widgets for mobile phones")
11014 (description "The aim of the handy library is to help with developing user
11015 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
11016 for usage on small and big screens.")
11017 (license license:lgpl2.1+)))
11019 (define-public libhandy-0.0
11026 (uri (git-reference
11027 (url "https://gitlab.gnome.org/GNOME/libhandy")
11028 (commit (string-append "v" version))))
11029 (file-name (git-file-name "libhandy" version))
11031 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
11033 (substitute-keyword-arguments (package-arguments libhandy)
11034 ((#:configure-flags flags)
11035 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
11037 (define-public libgit2-glib
11039 (name "libgit2-glib")
11040 (version "0.99.0.1")
11043 (uri (string-append "mirror://gnome/sources/" name "/"
11044 (version-major+minor version) "/"
11045 name "-" version ".tar.xz"))
11048 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
11049 (build-system meson-build-system)
11051 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
11052 ("gobject-introspection" ,gobject-introspection)
11053 ("pkg-config" ,pkg-config)
11054 ("python-pygobject" ,python-pygobject)
11055 ("python-wrapper" ,python-wrapper)
11059 ("libssh2" ,libssh2)))
11061 `(;; In Requires of libgit2-glib.pc.
11062 ("libgit2" ,libgit2)))
11063 (synopsis "GLib wrapper around the libgit2 Git access library")
11064 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11065 access library. It only implements the core plumbing functions, not really the
11066 higher level porcelain stuff.")
11067 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11068 (license license:gpl2+)))
11070 (define-public gitg
11076 (uri (string-append "mirror://gnome/sources/" name "/"
11077 (version-major+minor version) "/"
11078 name "-" version ".tar.xz"))
11081 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11082 (build-system meson-build-system)
11084 `(#:glib-or-gtk? #t
11086 (modify-phases %standard-phases
11087 (add-after 'unpack 'disable-post-install-partially
11089 (substitute* "meson_post_install.py"
11090 (("'python'") ; there are no python sources to compile
11091 (string-append "'" (which "true") "'"))
11092 (("gtk-update-icon-cache") (which "true")))
11094 (add-after 'unpack 'fix-test-sources
11096 (substitute* "tests/libgitg/test-commit.vala"
11097 (("/bin/bash") (which "bash")))
11099 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11100 (lambda* (#:key outputs #:allow-other-keys)
11101 (let ((prog (string-append (assoc-ref outputs "out")
11104 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11108 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11110 ("gtkspell3" ,gtkspell3)
11111 ("gtksourceview" ,gtksourceview-3)
11112 ("json-glib" ,json-glib)
11113 ("libdazzle" ,libdazzle)
11115 ("libgit2-glib" ,libgit2-glib)
11116 ("libpeas" ,libpeas)
11117 ("libsecret" ,libsecret)
11118 ("libsoup" ,libsoup)
11119 ("libxml2" ,libxml2)))
11121 `(("glib:bin" ,glib "bin")
11122 ("gtk+:bin" ,gtk+ "bin")
11123 ("gobject-introspection" ,gobject-introspection)
11124 ("intltool" ,intltool)
11125 ("pkg-config" ,pkg-config)
11127 (synopsis "Graphical user interface for git")
11129 "gitg is a graphical user interface for git. It aims at being a small,
11130 fast and convenient tool to visualize the history of git repositories.
11131 Besides visualization, gitg also provides several utilities to manage your
11132 repository and commit your work.")
11133 (home-page "https://wiki.gnome.org/Apps/Gitg")
11134 (license license:gpl2+)))
11136 (define-public gamin
11142 (uri (string-append "mirror://gnome/sources/" name "/"
11143 (version-major+minor version) "/"
11144 name "-" version ".tar.bz2"))
11147 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11148 (build-system gnu-build-system)
11151 (modify-phases %standard-phases
11152 (add-after 'unpack 'remove-deprecated-macro
11154 (substitute* '("server/gam_node.c"
11155 "server/gam_subscription.h"
11156 "server/gam_node.h"
11157 "server/gam_subscription.c")
11158 (("G_CONST_RETURN") "const"))
11163 `(("intltool" ,intltool)
11164 ("pkg-config" ,pkg-config)))
11165 (home-page "https://people.gnome.org/~veillard/gamin/")
11166 (synopsis "File alteration monitor")
11168 "Gamin is a file and directory monitoring system defined to be a subset
11169 of the FAM (File Alteration Monitor) system. This is a service provided by a
11170 library which detects when a file or a directory has been modified.")
11171 (license license:gpl2+)))
11173 (define-public gnome-mahjongg
11175 (name "gnome-mahjongg")
11179 (uri (git-reference
11180 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11182 (file-name (git-file-name name version))
11185 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11186 (build-system meson-build-system)
11188 `(#:glib-or-gtk? #t))
11190 `(("appstream-glib" ,appstream-glib)
11191 ("gettext" ,gettext-minimal)
11192 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11193 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11194 ("itstool" ,itstool)
11195 ("pkg-config" ,pkg-config)
11198 `(("dconf" ,dconf)))
11202 ("librsvg" ,librsvg)))
11203 (synopsis "Mahjongg tile-matching game")
11204 (description "GNOME Mahjongg is a game based on the classic Chinese
11205 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11206 and a high score table.")
11207 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11208 (license license:gpl2+)))
11210 (define-public gnome-themes-extra
11212 (name "gnome-themes-extra")
11217 (uri (string-append "mirror://gnome/sources/" name "/"
11218 (version-major+minor version) "/" name "-"
11219 version ".tar.xz"))
11222 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11223 (build-system gnu-build-system)
11225 '(#:configure-flags
11226 ;; Don't create 'icon-theme.cache'.
11227 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11228 (true (string-append coreutils "/bin/true")))
11229 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11231 `(("glib:bin" ,glib "bin")
11232 ("intltool" ,intltool)
11233 ("pkg-config" ,pkg-config)))
11238 ("librsvg" ,librsvg)
11239 ("libxml2" ,libxml2)))
11240 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11241 (synopsis "GNOME Extra Themes")
11242 (description "This package provides themes and related elements that don't
11243 really fit in other upstream packages. It offers legacy support for GTK+ 2
11244 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11245 index files needed for Adwaita to be used outside of GNOME.")
11246 (license license:lgpl2.1+)))
11248 (define-public gnote
11255 (uri (string-append "mirror://gnome/sources/" name "/"
11256 (version-major+minor version) "/"
11257 "gnote-" version ".tar.xz"))
11259 (base32 "1adjfjhmsm2d33999khjyzvli6kiz1jlzavn77jhd49kfzhxa9y4"))))
11260 (build-system glib-or-gtk-build-system)
11262 `(("desktop-file-utils" ,desktop-file-utils)
11263 ("glib:bin" ,glib "bin")
11264 ("gobject-introspection" ,gobject-introspection)
11265 ("intltool" ,intltool)
11266 ("itstool" ,itstool)
11267 ("pkg-config" ,pkg-config)
11268 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11270 `(("glibmm" ,glibmm)
11271 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11275 ("libsecret" ,libsecret)
11276 ("libuuid" ,util-linux "lib")
11277 ("libxml2" ,libxml2)
11278 ("libxslt" ,libxslt)))
11279 (synopsis "Note-taking application for the GNOME desktop")
11281 "Gnote is a note-taking application written for the GNOME desktop
11283 (home-page "https://wiki.gnome.org/Apps/Gnote")
11284 (license license:gpl3+)))
11286 (define-public polari
11292 (uri (string-append "mirror://gnome/sources/polari/"
11293 (version-major+minor version)
11294 "/polari-" version ".tar.xz"))
11297 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11298 (build-system meson-build-system)
11300 `(#:glib-or-gtk? #t
11302 (modify-phases %standard-phases
11303 (add-after 'unpack 'skip-gtk-update-icon-cache
11305 (substitute* "meson/meson-postinstall.sh"
11306 (("gtk-update-icon-cache") (which "true")))
11308 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11309 (lambda* (#:key outputs #:allow-other-keys)
11310 (let ((prog (string-append (assoc-ref outputs "out")
11313 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11317 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11321 ("libsecret" ,libsecret)
11322 ("libsoup" ,libsoup)
11323 ("telepathy-glib" ,telepathy-glib)
11324 ("telepathy-logger" ,telepathy-logger)))
11326 `(("glib:bin" ,glib "bin")
11327 ("gobject-introspection" ,gobject-introspection)
11328 ("intltool" ,intltool)
11329 ("pkg-config" ,pkg-config)
11330 ("yelp-tools" ,yelp-tools)))
11332 `(("telepathy-idle" ,telepathy-idle)
11333 ("telepathy-mission-control" ,telepathy-mission-control)))
11334 (synopsis "Simple IRC Client")
11336 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11337 integrate seamlessly with the GNOME desktop.")
11338 (home-page "https://wiki.gnome.org/Apps/Polari")
11339 (license license:gpl2+)))
11341 (define-public gnome-boxes
11343 (name "gnome-boxes")
11348 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11349 (version-major+minor version) "/"
11350 "gnome-boxes-" version ".tar.xz"))
11352 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11353 (build-system meson-build-system)
11355 '(#:glib-or-gtk? #t
11356 #:configure-flags (list "-Drdp=false"
11357 (string-append "-Dc_link_args=-Wl,-rpath="
11358 (assoc-ref %outputs "out")
11359 "/lib/gnome-boxes"))))
11361 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11362 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11363 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11364 ("itstool" ,itstool)
11365 ("intltool" ,intltool)
11367 ("pkg-config" ,pkg-config)))
11369 `(("libarchive" ,libarchive)
11370 ("glib-networking" ,glib-networking) ;for TLS support
11371 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11373 ("gtk-vnc" ,gtk-vnc)
11374 ("libosinfo" ,libosinfo)
11375 ("libsecret" ,libsecret)
11376 ("libsoup" ,libsoup)
11378 ("libvirt" ,libvirt)
11379 ("libvirt-glib" ,libvirt-glib)
11380 ("libxml" ,libxml2)
11381 ("spice-gtk" ,spice-gtk)
11382 ("sparql-query" ,sparql-query)
11384 ("webkitgtk" ,webkitgtk)
11385 ("tracker" ,tracker)
11386 ("libgudev" ,libgudev)))
11387 (home-page "https://wiki.gnome.org/Apps/Boxes")
11388 (synopsis "View, access, and manage remote and virtual systems")
11389 (description "GNOME Boxes is a simple application to view, access, and
11390 manage remote and virtual systems. Note that this application requires the
11391 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11392 @command{info '(guix) Virtualization Services'} to learn how to configure
11393 these services on the Guix System.")
11395 ;; For data/icons/empty-boxes.png.
11398 license:lgpl2.0+))))
11400 (define-public geary
11406 (uri (git-reference
11407 (url "https://gitlab.gnome.org/GNOME/geary")
11409 (file-name (git-file-name name version))
11412 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))
11413 (patches (search-patches "geary-CVE-2020-24661.patch"))))
11414 (build-system meson-build-system)
11416 `(#:glib-or-gtk? #t
11417 #:phases (modify-phases %standard-phases
11418 (add-after 'unpack 'disable-failing-tests
11420 (substitute* "test/meson.build"
11421 (("test\\('client-tests', geary_test_client_bin\\)")
11424 (add-after 'unpack 'disable-postinstall-script
11426 (substitute* "meson.build"
11427 (("meson.add_install_script\\(\
11428 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11431 (add-before 'check 'setup-xvfb
11433 (system "Xvfb :1 &")
11434 (setenv "DISPLAY" ":1")
11437 `(("enchant" ,enchant)
11441 ("gmime" ,gmime-2.6)
11442 ("gnome-online-accounts:lib"
11443 ,gnome-online-accounts "lib")
11446 ("iso-codes" ,iso-codes)
11447 ("json-glib" ,json-glib)
11448 ("libcanberra" ,libcanberra)
11450 ("libhandy" ,libhandy-0.0)
11451 ("libpeas" ,libpeas)
11452 ("libsecret" ,libsecret)
11453 ("libunwind" ,libunwind)
11455 ("webkitgtk" ,webkitgtk)
11458 `(("appstream-glib" ,appstream-glib)
11459 ("cmake-minimal" ,cmake-minimal)
11460 ("desktop-file-utils" ,desktop-file-utils)
11461 ("gettext" ,gettext-minimal)
11462 ("glib:bin" ,glib "bin")
11463 ("gobject-introspection" ,gobject-introspection)
11464 ("itstool" ,itstool)
11465 ("libarchive" ,libarchive)
11466 ("libxml2" ,libxml2)
11467 ("pkg-config" ,pkg-config)
11469 ("xvfb" ,xorg-server-for-tests)))
11470 (synopsis "GNOME email application built around conversations")
11472 "Geary collects related messages together into conversations,
11473 making it easy to find and follow your discussions. Full-text and keyword
11474 search makes it easy to find the email you are looking for. Geary's
11475 full-featured composer lets you send rich, styled text with images, links, and
11476 lists, but also send lightweight, easy to read text messages. Geary
11477 automatically picks up your existing GNOME Online Accounts, and adding more is
11478 easy. Geary has a clean, fast, modern interface that works like you want it
11480 (home-page "https://wiki.gnome.org/Apps/Geary")
11486 license:cc-by-sa3.0
11487 license:public-domain
11491 (define-public glabels
11498 (uri (string-append "mirror://gnome/sources/" name "/"
11499 (version-major+minor version) "/"
11500 "glabels-" version ".tar.xz"))
11502 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11503 (build-system glib-or-gtk-build-system)
11505 `(("gettext" ,gettext-minimal)
11506 ("glib:bin" ,glib "bin")
11507 ("intltool" ,intltool)
11508 ("itstool" ,itstool)
11509 ("pkg-config" ,pkg-config)))
11512 ("librsvg" ,librsvg)
11513 ("libxml2" ,libxml2)))
11514 (home-page "https://glabels.org/")
11515 (synopsis "Program for creating labels and business cards")
11517 "gLabels is a program for creating labels and business cards. It is
11518 designed to work with various laser/ink-jet peel-off label and business
11519 card sheets that you’ll find at most office supply stores.")
11520 (license license:gpl3+)))
11522 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11523 (define-public gnome-latex
11525 (name "gnome-latex")
11530 (uri (string-append "mirror://gnome/sources/" name "/"
11531 (version-major+minor version) "/"
11532 "gnome-latex-" version ".tar.xz"))
11534 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11535 (build-system glib-or-gtk-build-system)
11537 `(("gettext" ,gettext-minimal)
11538 ("glib:bin" ,glib "bin")
11539 ("gobject-introspection" ,gobject-introspection)
11540 ("gtk-doc" ,gtk-doc/stable)
11541 ("intltool" ,intltool)
11542 ("itstool" ,itstool)
11543 ("pkg-config" ,pkg-config)
11549 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11552 ("gtksourceview" ,gtksourceview)
11555 ("uchardet" ,uchardet)))
11556 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11557 (synopsis "LaTeX editor for the GNOME desktop")
11559 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11560 such as build tools, completion of LaTeX commands, structure navigation,
11561 symbol tables, document templates, project management, spell-checking, menus
11563 (license license:gpl3+)))
11565 (define-public setzer
11572 (uri (git-reference
11573 (url "https://github.com/cvfosammmm/Setzer")
11574 (commit (string-append "v" version))))
11575 (file-name (git-file-name name version))
11577 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11578 (build-system meson-build-system)
11580 `(#:glib-or-gtk? #t
11582 (modify-phases %standard-phases
11583 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11584 (lambda* (#:key outputs #:allow-other-keys)
11585 (let ((prog (string-append (assoc-ref outputs "out")
11587 (pylib (string-append (assoc-ref outputs "out")
11589 ,(version-major+minor
11590 (package-version python))
11591 "/site-packages")))
11593 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11594 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11597 `(("desktop-file-utils" ,desktop-file-utils)
11598 ("gettext" ,gettext-minimal)
11599 ("glib:bin" ,glib "bin")
11600 ("gobject-introspection" ,gobject-introspection)
11601 ("gtk+:bin" ,gtk+ "bin")))
11603 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11606 ("gtksourceview" ,gtksourceview)
11608 ("poppler" ,poppler)
11609 ("python-pdfminer" ,python-pdfminer-six)
11610 ("python-pycairo" ,python-pycairo)
11611 ("python-pygobject" ,python-pygobject)
11612 ("python-pyxdg" ,python-pyxdg)
11613 ("webkitgtk" ,webkitgtk)
11614 ("xdg-utils" ,xdg-utils)))
11615 (home-page "https://www.cvfosammmm.org/setzer/")
11616 (synopsis "LaTeX editor written in Python with GTK+")
11618 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11619 GTK+. It integrates well with the GNOME desktop environment.")
11620 (license license:gpl3+)))
11622 (define-public libratbag
11629 (uri (git-reference
11630 (url "https://github.com/libratbag/libratbag")
11631 (commit (string-append "v" version))))
11632 (file-name (git-file-name name version))
11634 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11635 (build-system meson-build-system)
11637 `(#:configure-flags
11638 (list "-Dsystemd=false"
11639 "-Dlogind-provider=elogind")
11641 (modify-phases %standard-phases
11642 (add-after 'install 'wrap
11643 (lambda* (#:key inputs outputs #:allow-other-keys)
11644 (let* ((out (assoc-ref outputs "out"))
11645 (site (string-append
11647 ,(version-major+minor (package-version python))
11649 (evdev (string-append
11650 (assoc-ref inputs "python-evdev") site))
11651 (pygo (string-append
11652 (assoc-ref inputs "python-pygobject") site))
11654 `("PYTHONPATH" = (,evdev ,pygo))))
11655 (wrap-program (string-append out "/bin/" "ratbagctl")
11660 ("pkg-config" ,pkg-config)
11662 ("valgrind" ,valgrind)))
11665 ("json-glib" ,json-glib)
11666 ("libevdev" ,libevdev)
11667 ("libsystemd" ,elogind)
11668 ("libunistring" ,libunistring)
11669 ("python-evdev" ,python-evdev)
11670 ("python-pygobject" ,python-pygobject)
11672 (home-page "https://github.com/libratbag/libratbag")
11673 (synopsis "DBus daemon and utility for configuring gaming mice")
11674 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11675 configure input devices, mainly gaming mice. The daemon provides a generic
11676 way to access the various features exposed by these mice and abstracts away
11677 hardware-specific and kernel-specific quirks. There is also the
11678 @command{ratbagctl} command line interface for configuring devices.
11680 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11683 The ratbagd DBus service can be enabled by adding the following service to
11684 your operating-system definition:
11686 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11687 (license license:expat)))
11689 (define-public piper
11696 (uri (git-reference
11697 (url "https://github.com/libratbag/piper")
11700 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11701 (file-name (git-file-name name version))))
11702 (build-system meson-build-system)
11704 `(("gettext" ,gettext-minimal)
11705 ("glib:bin" ,glib "bin")
11706 ("gobject-introspection" ,gobject-introspection)
11707 ("pkg-config" ,pkg-config)
11708 ("python-flake8" ,python-flake8)))
11710 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11712 ("gtk:bin" ,gtk+ "bin")
11713 ("librsvg" ,librsvg)
11714 ("python-evdev" ,python-evdev)
11715 ("python-lxml" ,python-lxml)
11716 ("python-pycairo" ,python-pycairo)
11717 ("python-pygobject" ,python-pygobject)))
11719 `(#:imported-modules ((guix build python-build-system)
11720 ,@%meson-build-system-modules)
11721 #:modules (((guix build python-build-system) #:prefix python:)
11722 (guix build meson-build-system)
11723 (guix build utils))
11724 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11726 (modify-phases %standard-phases
11727 (add-after 'unpack 'dont-update-gtk-icon-cache
11729 (substitute* "meson.build"
11730 (("meson.add_install_script('meson_install.sh')") ""))
11732 ;; TODO: Switch to wrap-script when it is fixed.
11733 (add-after 'install 'wrap-python
11734 (assoc-ref python:%standard-phases 'wrap))
11735 (add-after 'wrap-python 'wrap
11736 (lambda* (#:key outputs #:allow-other-keys)
11738 (string-append (assoc-ref outputs "out" )"/bin/piper")
11739 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11741 (home-page "https://github.com/libratbag/piper/")
11742 (synopsis "Configure bindings and LEDs on gaming mice")
11743 (description "Piper is a GTK+ application for configuring gaming mice with
11744 onboard configuration for key bindings via libratbag. Piper requires
11745 a @command{ratbagd} daemon running with root privileges. It can be run
11746 manually as root, but is preferably configured as a DBus service that can
11747 launch on demand. This can be configured by enabling the following service,
11748 provided there is a DBus service present:
11750 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11751 (license license:gpl2)))
11753 (define-public parlatype
11760 (uri (git-reference
11761 (url "https://github.com/gkarsay/parlatype")
11762 (commit (string-append "v" version))))
11763 (file-name (git-file-name name version))
11765 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11766 (build-system meson-build-system)
11768 `(#:glib-or-gtk? #t
11769 #:tests? #f ;require internet access
11771 (modify-phases %standard-phases
11772 (add-after 'install 'wrap-parlatype
11773 ;; Add gstreamer plugin provided in this package to system's
11775 (lambda* (#:key outputs #:allow-other-keys)
11776 (let* ((out (assoc-ref outputs "out"))
11777 (gst-plugin-path (string-append
11778 out "/lib/gstreamer-1.0/"
11780 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11781 (wrap-program (string-append out "/bin/parlatype")
11782 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11785 `(("appstream-glib" ,appstream-glib)
11786 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11787 ("gettext" ,gettext-minimal)
11788 ("glib" ,glib "bin") ;for glib-compile-resources
11789 ("pkg-config" ,pkg-config)
11790 ("yelp-tools" ,yelp-tools)))
11792 `(("gst-plugins-base" ,gst-plugins-base)
11793 ("gst-plugins-good" ,gst-plugins-good)
11794 ("gstreamer" ,gstreamer)
11796 ("pocketsphinx" ,pocketsphinx)
11797 ("pulseaudio" ,pulseaudio)
11798 ("sphinxbase" ,sphinxbase)))
11799 (home-page "http://gkarsay.github.io/parlatype/")
11800 (synopsis "GNOME audio player for transcription")
11801 (description "Parlatype is an audio player for the GNOME desktop
11802 environment. Its main purpose is the manual transcription of spoken
11804 (license license:gpl3+)))
11806 (define-public jsonrpc-glib
11808 (name "jsonrpc-glib")
11812 (uri (string-append "mirror://gnome/sources/" name "/"
11813 (version-major+minor version) "/"
11814 name "-" version ".tar.xz"))
11817 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11818 (build-system meson-build-system)
11820 `(("json-glib" ,json-glib)
11823 `(("pkg-config" ,pkg-config)
11824 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11825 ("gobject-introspection" ,gobject-introspection)
11827 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11828 (synopsis "JSON-RPC library for GLib")
11829 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11830 peers in either a synchronous or asynchronous fashion. It also allows
11831 communicating using the GVariant serialization format instead of JSON when
11832 both peers support it. You might want that when communicating on a single
11833 host to avoid parser overhead and memory-allocator fragmentation.")
11834 (license license:lgpl2.1+)))
11836 (define-public feedbackd
11839 (version "0.0.0+git20200527")
11842 (uri (git-reference
11843 (url "https://source.puri.sm/Librem5/feedbackd.git")
11844 (commit (string-append "v" version))))
11845 (file-name (git-file-name name version))
11848 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11849 (build-system meson-build-system)
11851 `(("glib:bin" ,glib "bin")
11852 ("gobject-introspection" ,gobject-introspection)
11853 ("pkg-config" ,pkg-config)
11858 ("json-glib" ,json-glib)
11859 ("libgudev" ,libgudev)))
11861 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11862 (synopsis "Haptic/visual/audio feedback via DBus")
11863 (description "Feedbackd provides a DBus daemon to act on events to provide
11864 haptic, visual and audio feedback. It offers the libfeedbackd library and
11865 GObject introspection bindings.")
11866 (home-page "https://source.puri.sm/Librem5/feedbackd")
11867 (license (list license:lgpl2.1+ ; libfeedbackd
11868 license:lgpl3+)))) ; the rest
11870 (define-public sysprof
11877 (uri (string-append "mirror://gnome/sources/sysprof/"
11878 (version-major+minor version) "/"
11879 "sysprof-" version ".tar.xz"))
11881 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11882 (build-system meson-build-system)
11884 `(#:configure-flags
11885 (list (string-append "-Dsystemdunitdir="
11888 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11890 (modify-phases %standard-phases
11891 (add-after 'unpack 'patch-install-script
11893 (substitute* "build-aux/meson/post_install.sh"
11894 (("gtk-update-icon-cache") "true")
11895 (("update-desktop-database") "true"))
11900 ("libdazzle" ,libdazzle)
11901 ("polkit" ,polkit)))
11903 `(("gettext" ,gettext-minimal)
11904 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11905 ("itstool" ,itstool)
11906 ("pkg-config" ,pkg-config)
11907 ("xmllint" ,libxml2)))
11908 ;; This home page is so woefully out of date as to be essentially useless.
11909 ;; (home-page "http://www.sysprof.com")
11910 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11911 (synopsis "System-wide performance profiler for GNU/Linux")
11913 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11914 GNU/Linux system including the kernel and all user-space applications. This
11915 helps find the function(s) in which a program spends most of its time.
11917 It uses the kernel's built-in @code{ptrace} feature and handles shared
11918 libraries. Applications do not need to be recompiled--or even restarted.")
11919 (license license:gpl3+)))
11921 (define-public gnome-builder
11923 (name "gnome-builder")
11927 (uri (string-append "mirror://gnome/sources/" name "/"
11928 (version-major+minor version) "/"
11929 name "-" version ".tar.xz"))
11932 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11933 (build-system meson-build-system)
11935 `(#:configure-flags (list "-Dnetwork_tests=false"
11936 ;; TODO: Enable all plugins...
11937 "-Dplugin_clang=false"
11938 "-Dplugin_flatpak=false"
11939 "-Dplugin_glade=false"
11940 ;; XXX: This one has been shown not to work in
11941 ;; <https://issues.guix.gnu.org/45272>
11942 "-Dplugin_jedi=false"
11943 ;; ... except this one.
11944 "-Dplugin_update_manager=false")
11946 (modify-phases %standard-phases
11947 (add-after 'unpack 'patch-meson
11948 (lambda* (#:key inputs #:allow-other-keys)
11949 (substitute* "build-aux/meson/post_install.py"
11950 (("gtk-update-icon-cache") "true")
11951 (("update-desktop-database") "true"))
11952 (substitute* "src/libide/meson.build"
11954 (string-append (assoc-ref inputs "python-pygobject")
11957 (add-after 'configure 'fix-ninja
11959 ;; #43296: meson(?) incorrectly assumes we want to link
11960 ;; this PIE against a static libselinux.
11961 (substitute* "build.ninja"
11962 (("libselinux\\.a") "libselinux.so"))
11964 (add-before 'check 'pre-check
11966 (system "Xvfb :1 &")
11967 (setenv "DISPLAY" ":1")
11970 `(("devhelp" ,devhelp)
11973 ("json-glib" ,json-glib)
11974 ("jsonrpc-glib" ,jsonrpc-glib)
11975 ("libdazzle" ,libdazzle)
11976 ("libgit2-glib" ,libgit2-glib)
11977 ("libpeas" ,libpeas)
11978 ("python-pygobject" ,python-pygobject)
11979 ("sysprof" ,sysprof)
11980 ("template-glib" ,template-glib)
11982 ("webkitgtk" ,webkitgtk)))
11984 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11986 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11987 ("glib:bin" ,glib "bin")
11988 ("gettext" ,gettext-minimal)
11989 ("pkg-config" ,pkg-config)
11991 ("xorg-server" ,xorg-server-for-tests)))
11992 (home-page "https://wiki.gnome.org/Apps/Builder")
11993 (synopsis "Toolsmith for GNOME-based applications")
11994 (description "Builder aims to be an integrated development
11995 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11996 auto-completion, a mini code map, documentation browsing, Git integration, an
11997 integrated profiler via Sysprof, debugging support, and more.")
11998 (license license:gpl3+)))
12000 (define-public komikku
12007 (uri (git-reference
12008 (url "https://gitlab.com/valos/Komikku/")
12009 (commit (string-append "v" version))))
12010 (file-name (git-file-name name version))
12013 "0mj4bsy7jp9wjj1dqz9zdq5aj0ib813wkz5k1481k80jp9dnlqnv"))))
12014 (build-system meson-build-system)
12016 `(#:glib-or-gtk? #t
12018 (modify-phases %standard-phases
12019 (add-after 'unpack 'patch-sources
12021 (substitute* "komikku/utils.py"
12022 (("from komikku\\.servers import get_servers_list")
12023 ;; code following that line should migrate old databases
12024 ;; but the line itself results in an import error
12025 "return data_dir_path"))))
12026 (add-after 'unpack 'skip-gtk-update-icon-cache
12028 (substitute* "meson_post_install.py"
12029 (("gtk-update-icon-cache") (which "true")))
12031 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
12032 (lambda* (#:key outputs #:allow-other-keys)
12033 (let ((prog (string-append (assoc-ref outputs "out")
12036 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
12037 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12041 ("libhandy" ,libhandy)
12042 ("libnotify" ,libnotify)
12043 ("libsecret" ,libsecret)
12044 ("python-beautifulsoup4" ,python-beautifulsoup4)
12045 ("python-brotli" ,python-brotli)
12046 ("python-dateparser" ,python-dateparser)
12047 ("python-keyring" ,python-keyring)
12048 ("python-lxml" ,python-lxml)
12049 ("python-magic" ,python-magic)
12050 ("python-pillow" ,python-pillow)
12051 ("python-pure-protobuf" ,python-pure-protobuf)
12052 ("python-pycairo" ,python-pycairo)
12053 ("python-pygobject" ,python-pygobject)
12054 ("python-requests" ,python-requests)
12055 ("python-unidecode" ,python-unidecode)
12056 ("webkitgtk" ,webkitgtk)))
12058 `(("desktop-file-utils" ,desktop-file-utils)
12059 ("gettext" ,gettext-minimal)
12060 ("glib:bin" ,glib "bin")
12061 ("gobject-introspection" ,gobject-introspection)
12062 ("pkg-config" ,pkg-config)))
12063 (home-page "https://gitlab.com/valos/Komikku")
12064 (synopsis "Manga reader for GNOME")
12065 (description "Komikku is an online/offline manga reader for GNOME,
12066 developed with the aim of being used with the Librem 5 phone.")
12067 (license license:gpl3+)))
12069 (define-public libgda
12076 (uri (git-reference
12077 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12078 (commit (string-append "LIBGDA_" (string-replace-substring
12079 version "." "_")))))
12080 (file-name (git-file-name name version))
12082 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12083 (build-system gnu-build-system)
12085 `(#:configure-flags '("--enable-vala")
12086 ;; There's a race between check_cnc_lock and check_threaded_cnc
12087 ;; in tests/multi-threading.
12088 #:parallel-tests? #f
12090 (modify-phases %standard-phases
12091 (add-after 'unpack 'fix-glade-install
12093 (substitute* "configure.ac"
12094 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12095 "${datadir}/glade/catalogs")
12096 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12097 "${datadir}/glade/pixmaps"))
12099 (add-before 'check 'pre-check
12100 (lambda* (#:key inputs #:allow-other-keys)
12101 ;; Tests require a running X server.
12102 (system "Xvfb :1 &")
12103 (setenv "DISPLAY" ":1")
12105 (add-after 'install 'symlink-glade-module
12106 (lambda* (#:key outputs #:allow-other-keys)
12107 (let* ((shlib "libgda-ui-5.0.so")
12108 (out (assoc-ref outputs "out"))
12109 (out/lib (string-append out "/lib"))
12110 (moduledir (string-append out/lib "/glade/modules")))
12111 (mkdir-p moduledir)
12112 (symlink (string-append out/lib "/" shlib)
12113 (string-append moduledir "/" shlib))
12116 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12121 ("libsecret" ,libsecret)
12122 ("libxslt" ,libxslt)
12123 ("openssl" ,openssl)
12126 `(("autoconf" ,autoconf)
12127 ("autoconf-archive" ,autoconf-archive)
12128 ("automake" ,automake)
12129 ("glib:bin" ,glib "bin")
12130 ("gnome-common" ,gnome-common)
12131 ("gobject-introspection" ,gobject-introspection)
12132 ("gtk-doc" ,gtk-doc/stable)
12133 ("intltool" ,intltool)
12134 ("libtool" ,libtool)
12135 ("pkg-config" ,pkg-config)
12138 ("xorg-server" ,xorg-server-for-tests)
12139 ("yelp-tools" ,yelp-tools)))
12140 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12141 (synopsis "Uniform data access")
12143 "GNU Data Access (GDA) is an attempt to provide uniform access to
12144 different kinds of data sources (databases, information servers, mail spools,
12145 etc). It is a complete architecture that provides all you need to access
12147 (license license:lgpl2.1+)))
12149 (define-public gtranslator
12151 (name "gtranslator")
12155 (uri (string-append "mirror://gnome/sources/" name "/"
12156 (version-major+minor version) "/"
12157 name "-" version ".tar.xz"))
12160 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12161 (build-system meson-build-system)
12163 `(("json-glib" ,json-glib)
12164 ("jsonrpc-glib" ,jsonrpc-glib)
12165 ("gettext" ,gettext-minimal)
12168 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12170 ("libdazzle" ,libdazzle)
12172 ("libsoup" ,libsoup)))
12174 `(("glib:bin" ,glib "bin")
12175 ("itstool" ,itstool)
12176 ("pkg-config" ,pkg-config)))
12178 `(("gtksourceview" ,gtksourceview))) ; required for source view
12180 `(#:build-type "release"
12183 (modify-phases %standard-phases
12184 (add-after 'unpack 'skip-gtk-update-icon-cache
12186 (substitute* "build-aux/meson/meson_post_install.py"
12187 (("gtk-update-icon-cache") (which "true")))
12189 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12190 (synopsis "Translation making program")
12192 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12193 for the GNOME 3.x platform with many features. It aims to be a very complete
12194 editing environment for translation issues within the GNU gettext/GNOME desktop
12196 (license license:gpl3+)))
12199 (define-public ocrfeeder
12205 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12206 (version-major+minor version) "/"
12207 "ocrfeeder-" version ".tar.xz"))
12210 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12211 (build-system gnu-build-system)
12214 (modify-phases %standard-phases
12216 'install 'wrap-program
12217 (lambda* (#:key outputs #:allow-other-keys)
12218 (let ((prog (string-append (assoc-ref outputs "out")
12219 "/bin/" "ocrfeeder"))
12220 (pylib (string-append (assoc-ref outputs "out")
12222 ,(version-major+minor
12223 (package-version python))
12224 "/site-packages")))
12226 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
12227 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12230 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12231 ("gobject-introspection" ,gobject-introspection)
12232 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12233 ("intltool" ,intltool)
12234 ("itstool" ,itstool)
12235 ("pkg-config" ,pkg-config)
12236 ("xmllint" ,libxml2)))
12238 `(("enchant" ,enchant)
12240 ("goocanvas" ,goocanvas)
12242 ("gtkspell3" ,gtkspell3)
12243 ("libjpeg" ,libjpeg-turbo)
12244 ("libtiff" ,libtiff)
12247 ("python" ,python-wrapper)
12248 ("python-pygobject" ,python-pygobject)
12249 ("python-odfpy" ,python-odfpy)
12250 ("python-pillow" ,python-pillow)
12251 ("python-pyenchant" ,python-pyenchant)
12252 ("python-reportlab" ,python-reportlab)
12253 ("python-sane" ,python-sane)
12254 ("sane-backends" ,sane-backends)
12255 ("tesseract-ocr" ,tesseract-ocr)))
12256 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12257 (synopsis "Complete OCR Suite")
12258 (description "OCRFeeder is a complete Optical Character Recognition and
12259 Document Analysis and Recognition program.")
12260 (license license:gpl3+)))