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 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 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 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 Andy Tai <atai@atai.org>
61 ;;; This file is part of GNU Guix.
63 ;;; GNU Guix is free software; you can redistribute it and/or modify it
64 ;;; under the terms of the GNU General Public License as published by
65 ;;; the Free Software Foundation; either version 3 of the License, or (at
66 ;;; your option) any later version.
68 ;;; GNU Guix is distributed in the hope that it will be useful, but
69 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
70 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
71 ;;; GNU General Public License for more details.
73 ;;; You should have received a copy of the GNU General Public License
74 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
76 (define-module (gnu packages gnome)
77 #:use-module (gnu packages)
78 #:use-module (gnu packages admin)
79 #:use-module (gnu packages aidc)
80 #:use-module (gnu packages aspell)
81 #:use-module (gnu packages autotools)
82 #:use-module (gnu packages avahi)
83 #:use-module (gnu packages backup)
84 #:use-module (gnu packages base)
85 #:use-module (gnu packages bash)
86 #:use-module (gnu packages bison)
87 #:use-module (gnu packages boost)
88 #:use-module (gnu packages build-tools)
89 #:use-module (gnu packages calendar)
90 #:use-module (gnu packages cdrom)
91 #:use-module (gnu packages check)
92 #:use-module (gnu packages cmake)
93 #:use-module (gnu packages compression)
94 #:use-module (gnu packages crates-io)
95 #:use-module (gnu packages crates-graphics)
96 #:use-module (gnu packages crates-gtk)
97 #:use-module (gnu packages cups)
98 #:use-module (gnu packages curl)
99 #:use-module (gnu packages cyrus-sasl)
100 #:use-module (gnu packages databases)
101 #:use-module (gnu packages dbm)
102 #:use-module (gnu packages djvu)
103 #:use-module (gnu packages dns)
104 #:use-module (gnu packages docbook)
105 #:use-module (gnu packages documentation)
106 #:use-module (gnu packages enchant)
107 #:use-module (gnu packages flex)
108 #:use-module (gnu packages fonts)
109 #:use-module (gnu packages file-systems)
110 #:use-module (gnu packages fontutils)
111 #:use-module (gnu packages freedesktop)
112 #:use-module (gnu packages game-development)
113 #:use-module (gnu packages gcc)
114 #:use-module (gnu packages gettext)
115 #:use-module (gnu packages ghostscript)
116 #:use-module (gnu packages gimp)
117 #:use-module (gnu packages gl)
118 #:use-module (gnu packages glib)
119 #:use-module (gnu packages gnupg)
120 #:use-module (gnu packages gnuzilla)
121 #:use-module (gnu packages geo)
122 #:use-module (gnu packages gperf)
123 #:use-module (gnu packages graphviz)
124 #:use-module (gnu packages gstreamer)
125 #:use-module (gnu packages gtk)
126 #:use-module (gnu packages guile)
127 #:use-module (gnu packages ibus)
128 #:use-module (gnu packages icu4c)
129 #:use-module (gnu packages image)
130 #:use-module (gnu packages imagemagick)
131 #:use-module (gnu packages inkscape)
132 #:use-module (gnu packages iso-codes)
133 #:use-module (gnu packages kerberos)
134 #:use-module (gnu packages libcanberra)
135 #:use-module (gnu packages libffi)
136 #:use-module (gnu packages libunistring)
137 #:use-module (gnu packages libunwind)
138 #:use-module (gnu packages libusb)
139 #:use-module (gnu packages linux)
140 #:use-module (gnu packages lirc)
141 #:use-module (gnu packages lua)
142 #:use-module (gnu packages mail)
143 #:use-module (gnu packages mp3)
144 #:use-module (gnu packages multiprecision)
145 #:use-module (gnu packages music)
146 #:use-module (gnu packages ncurses)
147 #:use-module (gnu packages nettle)
148 #:use-module (gnu packages networking)
149 #:use-module (gnu packages ninja)
150 #:use-module (gnu packages node)
151 #:use-module (gnu packages nss)
152 #:use-module (gnu packages openldap)
153 #:use-module (gnu packages package-management)
154 #:use-module (gnu packages password-utils)
155 #:use-module (gnu packages pcre)
156 #:use-module (gnu packages pdf)
157 #:use-module (gnu packages perl)
158 #:use-module (gnu packages photo)
159 #:use-module (gnu packages php)
160 #:use-module (gnu packages pkg-config)
161 #:use-module (gnu packages polkit)
162 #:use-module (gnu packages popt)
163 #:use-module (gnu packages pretty-print)
164 #:use-module (gnu packages protobuf)
165 #:use-module (gnu packages pulseaudio)
166 #:use-module (gnu packages python)
167 #:use-module (gnu packages python-crypto)
168 #:use-module (gnu packages python-web)
169 #:use-module (gnu packages python-xyz)
170 #:use-module (gnu packages rdesktop)
171 #:use-module (gnu packages rdf)
172 #:use-module (gnu packages readline)
173 #:use-module (gnu packages ruby)
174 #:use-module (gnu packages rust)
175 #:use-module (gnu packages samba)
176 #:use-module (gnu packages scanner)
177 #:use-module (gnu packages sdl)
178 #:use-module (gnu packages search)
179 #:use-module (gnu packages selinux)
180 #:use-module (gnu packages slang)
181 #:use-module (gnu packages speech)
182 #:use-module (gnu packages spice)
183 #:use-module (gnu packages sqlite)
184 #:use-module (gnu packages ssh)
185 #:use-module (gnu packages swig)
186 #:use-module (gnu packages tex)
187 #:use-module (gnu packages time)
188 #:use-module (gnu packages tls)
189 #:use-module (gnu packages valgrind)
190 #:use-module (gnu packages version-control)
191 #:use-module (gnu packages video)
192 #:use-module (gnu packages virtualization)
193 #:use-module (gnu packages vpn)
194 #:use-module (gnu packages web)
195 #:use-module (gnu packages webkit)
196 #:use-module (gnu packages xdisorg)
197 #:use-module (gnu packages xiph)
198 #:use-module (gnu packages xml)
199 #:use-module (gnu packages xorg)
200 #:use-module (gnu artwork)
201 #:use-module ((guix build utils) #:select (modify-phases))
202 #:use-module (guix build-system cargo)
203 #:use-module (guix build-system cmake)
204 #:use-module (guix build-system glib-or-gtk)
205 #:use-module (guix build-system gnu)
206 #:use-module (guix build-system meson)
207 #:use-module (guix build-system python)
208 #:use-module (guix build-system trivial)
209 #:use-module (guix download)
210 #:use-module (guix git-download)
211 #:use-module ((guix licenses) #:prefix license:)
212 #:use-module (guix packages)
213 #:use-module (guix utils)
214 #:use-module (guix gexp)
215 #:use-module (guix monads)
216 #:use-module (guix store)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
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)
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
2436 (name "gdl-minimal")
2439 (modify-phases %standard-phases
2440 (add-after 'unpack 'disable-doc-generation
2441 ;; XXX: There is no easy way to disable generating the
2444 (substitute* "configure.in"
2445 (("GTK_DOC_CHECK.*") "")
2447 (substitute* "Makefile.am"
2448 (("gdl docs po") "gdl po"))
2450 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2452 (define-public libgnome-keyring
2454 (name "libgnome-keyring")
2458 (uri (string-append "mirror://gnome/sources/" name "/"
2459 (version-major+minor version) "/"
2460 name "-" version ".tar.xz"))
2463 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2464 (build-system gnu-build-system)
2466 `(("libgcrypt" ,libgcrypt)
2469 `(("pkg-config" ,pkg-config)
2470 ("glib" ,glib "bin")
2471 ("intltool" ,intltool)))
2473 ;; Referred to in .h files and .pc.
2475 (home-page "https://www.gnome.org")
2476 (synopsis "Accessing passwords from the GNOME keyring")
2478 "Client library to access passwords from the GNOME keyring.")
2480 ;; Though a couple of files are LGPLv2.1+.
2481 (license license:lgpl2.0+)))
2483 (define-public gnome-keyring
2485 (name "gnome-keyring")
2489 (uri (string-append "mirror://gnome/sources/" name "/"
2490 (version-major+minor version) "/"
2491 name "-" version ".tar.xz"))
2494 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2495 (build-system gnu-build-system)
2497 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2501 (string-append "--with-pkcs11-config="
2502 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2503 (string-append "--with-pkcs11-modules="
2504 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2506 (modify-phases %standard-phases
2507 (add-after 'unpack 'fix-/bin/sh-reference
2509 (substitute* "po/Makefile.in.in"
2510 (("/bin/sh") (which "sh")))
2512 (add-after 'unpack 'fix-docbook
2513 (lambda* (#:key inputs #:allow-other-keys)
2514 (substitute* "docs/Makefile.am"
2515 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2516 (string-append (assoc-ref inputs "docbook-xsl")
2517 "/xml/xsl/docbook-xsl-"
2518 ,(package-version docbook-xsl)
2519 "/manpages/docbook.xsl")))
2520 (setenv "XML_CATALOG_FILES"
2521 (string-append (assoc-ref inputs "docbook-xml")
2522 "/xml/dtd/docbook/catalog.xml"))
2523 ;; Rerun the whole thing to avoid version mismatch ("This is
2524 ;; Automake 1.15.1, but the definition used by this
2525 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2526 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2529 (invoke "automake" "-ac"))))))
2531 `(("libgcrypt" ,libgcrypt)
2532 ("linux-pam" ,linux-pam)
2533 ("openssh" ,openssh)
2537 `(("pkg-config" ,pkg-config)
2538 ("glib" ,glib "bin")
2539 ("glib" ,glib) ; for m4 macros
2540 ("python" ,python-2) ;for tests
2541 ("intltool" ,intltool)
2542 ("autoconf" ,autoconf)
2543 ("automake" ,automake)
2544 ("libxslt" ,libxslt) ;for documentation
2545 ("docbook-xml" ,docbook-xml-4.2)
2546 ("docbook-xsl" ,docbook-xsl)))
2549 (home-page "https://www.gnome.org")
2550 (synopsis "Daemon to store passwords and encryption keys")
2552 "gnome-keyring is a program that keeps passwords and other secrets for
2553 users. It is run as a daemon in the session, similar to ssh-agent, and other
2554 applications locate it via an environment variable or D-Bus.
2556 The program can manage several keyrings, each with its own master password,
2557 and there is also a session keyring which is never stored to disk, but
2558 forgotten when the session ends.")
2559 (license license:lgpl2.1+)))
2561 (define-public evince
2567 (uri (string-append "mirror://gnome/sources/evince/"
2568 (version-major+minor version) "/"
2569 "evince-" version ".tar.xz"))
2572 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2573 (build-system glib-or-gtk-build-system)
2575 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2577 (modify-phases %standard-phases
2578 (add-before 'install 'skip-gtk-update-icon-cache
2579 ;; Don't create 'icon-theme.cache'.
2581 (substitute* "data/Makefile"
2582 (("gtk-update-icon-cache") "true"))
2585 `(("libarchive" ,libarchive)
2586 ("libgxps" ,libgxps)
2587 ("libspectre" ,libspectre)
2588 ("djvulibre" ,djvulibre)
2589 ("ghostscript" ,ghostscript)
2590 ("poppler" ,poppler)
2591 ("libtiff" ,libtiff)
2593 ;; Build libkpathsea as a shared library for DVI support.
2594 ;; ("libkpathsea" ,texlive-bin)
2595 ("gnome-desktop" ,gnome-desktop)
2596 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2598 ("libgnome-keyring" ,libgnome-keyring)
2599 ("adwaita-icon-theme" ,adwaita-icon-theme)
2600 ("gdk-pixbuf" ,gdk-pixbuf)
2605 ("libxml2" ,libxml2)
2608 ("shared-mime-info" ,shared-mime-info)
2610 ("libcanberra" ,libcanberra)
2611 ("libsecret" ,libsecret)
2614 ("dogtail" ,python2-dogtail)))
2616 `(("itstool" ,itstool)
2617 ("intltool" ,intltool)
2618 ("glib" ,glib "bin")
2619 ("gobject-introspection" ,gobject-introspection)
2620 ("pkg-config" ,pkg-config)
2621 ("xmllint" ,libxml2)))
2622 (home-page "https://www.gnome.org/projects/evince/")
2623 (synopsis "GNOME's document viewer")
2625 "Evince is a document viewer for multiple document formats. It
2626 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2627 of Evince is to replace the multiple document viewers that exist
2628 on the GNOME Desktop with a single simple application.")
2629 (license license:gpl2+)))
2631 (define-public gsettings-desktop-schemas
2633 (name "gsettings-desktop-schemas")
2638 (uri (string-append "mirror://gnome/sources/" name "/"
2639 (version-major+minor version) "/"
2640 name "-" version ".tar.xz"))
2643 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2644 (build-system meson-build-system)
2646 '(#:phases (modify-phases %standard-phases
2647 (add-after 'unpack 'patch-schemas
2648 (lambda* (#:key inputs #:allow-other-keys)
2649 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2650 (substitute* (find-files "schemas"
2651 "\\.gschema\\.xml\\.in$")
2652 ;; Provide the correct file name of the default GNOME
2653 ;; background, 'adwaita-timed.xml'.
2654 (("@datadir@/backgrounds/gnome")
2655 (string-append theme "/share/backgrounds/gnome"))
2656 ;; Do not reference fonts, that may not exist.
2657 (("'Source Code Pro 10'") "'Monospace 11'"))
2661 ("gnome-backgrounds" ,gnome-backgrounds)))
2663 `(("intltool" ,intltool)
2664 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2665 ("gobject-introspection" ,gobject-introspection)
2666 ("pkg-config" ,pkg-config)))
2667 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2669 "GNOME settings for various desktop components")
2671 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2672 for settings shared by various components of the GNOME desktop.")
2673 (license license:lgpl2.1+)))
2675 (define-public python-liblarch
2677 (name "python-liblarch")
2683 (url "https://github.com/getting-things-gnome/liblarch")
2684 (commit (string-append "v" version))))
2685 (file-name (git-file-name name version))
2687 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2688 (build-system python-build-system)
2691 (modify-phases %standard-phases
2692 (add-before 'check 'start-xserver
2693 (lambda* (#:key inputs #:allow-other-keys)
2694 (system (format #f "~a/bin/Xvfb :1 &"
2695 (assoc-ref inputs "xorg-server")))
2696 (setenv "DISPLAY" ":1")
2699 `(("xorg-server" ,xorg-server-for-tests)))
2703 `(("python-pygobject" ,python-pygobject)))
2704 (home-page "https://wiki.gnome.org/Projects/liblarch")
2705 (synopsis "Library to easily handle complex data structures")
2707 "Liblarch is a Python library built to easily handle data structures such
2708 as lists, trees and acyclic graphs. There's also a GTK binding that will
2709 allow you to use your data structure in a @code{Gtk.Treeview}.
2711 Liblarch support multiple views of one data structure and complex filtering.
2712 That way, you have a clear separation between your data themselves (Model)
2713 and how they are displayed (View).")
2714 (license license:lgpl3+)))
2724 (url "https://github.com/getting-things-gnome/gtg")
2725 (commit (string-append "v" version))))
2726 (file-name (git-file-name name version))
2728 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2729 (build-system meson-build-system)
2733 (modify-phases %standard-phases
2734 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2735 (lambda* (#:key outputs #:allow-other-keys)
2736 (let ((prog (string-append (assoc-ref outputs "out")
2738 (pylib (string-append (assoc-ref outputs "out")
2740 ,(version-major+minor
2741 (package-version python))
2744 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2745 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2748 `(("desktop-file-utils" ,desktop-file-utils)
2749 ("gettext" ,gettext-minimal)
2750 ("glib:bin" ,glib "bin")
2751 ("gobject-introspection" ,gobject-introspection)
2752 ("gtk+:bin" ,gtk+ "bin")
2753 ("pkg-config" ,pkg-config)))
2755 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2757 ("python-dbus" ,python-dbus)
2758 ("python-liblarch" ,python-liblarch)
2759 ("python-pycairo" ,python-pycairo)
2760 ("python-pygobject" ,python-pygobject)
2761 ("python-pyxdg" ,python-pyxdg)))
2762 (home-page "https://wiki.gnome.org/Apps/GTG")
2763 (synopsis "Personal organizer for the GNOME desktop")
2765 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2766 organizer for the GNOME desktop environment inspired by the Getting Things
2767 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2768 and ease of use in mind so it can be used as more than just GTD software.
2769 GTG is intended to help you track everything you need to do and need to
2770 know, from small tasks to large projects.")
2771 (license license:gpl3+)))
2773 (define-public icon-naming-utils
2775 (name "icon-naming-utils")
2780 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2781 version ".tar.bz2"))
2784 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2785 (build-system gnu-build-system)
2788 ("perl-xml-simple" ,perl-xml-simple)))
2791 (modify-phases %standard-phases
2792 (add-after 'install 'set-load-paths
2793 ;; Tell 'icon-name-mapping' where XML::Simple is.
2794 (lambda* (#:key outputs #:allow-other-keys)
2795 (let* ((out (assoc-ref outputs "out"))
2796 (prog (string-append out "/libexec/icon-name-mapping")))
2799 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2801 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2803 "Utility to implement the Freedesktop Icon Naming Specification")
2805 "To help with the transition to the Freedesktop Icon Naming
2806 Specification, the icon naming utility maps the icon names used by the
2807 GNOME and KDE desktops to the icon names proposed in the specification.")
2808 (license license:lgpl2.1+)))
2810 (define-public gnome-icon-theme
2812 (name "gnome-icon-theme")
2817 (uri (string-append "mirror://gnome/sources/" name "/"
2818 (version-major+minor version) "/"
2819 name "-" version ".tar.xz"))
2822 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2823 (build-system gnu-build-system)
2826 ;; Don't create 'icon-theme.cache'.
2827 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2828 (true (string-append coreutils "/bin/true")))
2829 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2831 `(("icon-naming-utils" ,icon-naming-utils)
2832 ("intltool" ,intltool)
2833 ("pkg-config" ,pkg-config)))
2834 (home-page "https://wiki.gnome.org/Personalization")
2835 (synopsis "GNOME icon theme")
2836 (description "Icons for the GNOME desktop.")
2837 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2839 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2840 (define-public adwaita-icon-theme
2841 (package (inherit gnome-icon-theme)
2842 (name "adwaita-icon-theme")
2846 (uri (string-append "mirror://gnome/sources/" name "/"
2847 (version-major+minor version) "/"
2848 name "-" version ".tar.xz"))
2851 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2853 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2855 (define-public tango-icon-theme
2857 (name "tango-icon-theme")
2861 (uri (string-append "http://tango.freedesktop.org/releases/"
2862 "tango-icon-theme-" version ".tar.bz2"))
2865 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2866 (build-system gnu-build-system)
2868 `(("icon-naming-utils" ,icon-naming-utils)
2869 ("intltool" ,intltool)
2870 ("imagemagick" ,imagemagick)
2871 ("pkg-config" ,pkg-config)))
2872 (home-page "http://tango-project.org/")
2873 (synopsis "Tango icon theme")
2874 (description "This is an icon theme that follows the Tango visual
2876 (license license:public-domain)))
2878 (define-public shared-mime-info
2880 (name "shared-mime-info")
2885 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2886 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2890 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2891 (build-system gnu-build-system)
2893 ;; The build system appears not to be parallel-safe.
2894 '(#:parallel-build? #f))
2897 ("libxml2" ,libxml2)))
2899 `(("gettext" ,gettext-minimal)
2900 ("itstool" ,itstool)
2901 ("pkg-config" ,pkg-config)))
2902 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2903 (synopsis "Database of common MIME types")
2905 "The shared-mime-info package contains the core database of common types
2906 and the update-mime-database command used to extend it. It requires glib2 to
2907 be installed for building the update command. Additionally, it uses intltool
2908 for translations, though this is only a dependency for the maintainers. This
2909 database is translated at Transifex.")
2910 (license license:gpl2+)))
2912 (define-public system-config-printer
2914 (name "system-config-printer")
2920 "https://github.com/OpenPrinting/system-config-printer/releases/"
2921 "download/v" version
2922 "/system-config-printer-" version ".tar.xz"))
2924 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2925 (build-system glib-or-gtk-build-system)
2927 `(#:imported-modules ((guix build python-build-system)
2928 ,@%glib-or-gtk-build-system-modules)
2930 (modify-phases %standard-phases
2931 (add-after 'unpack 'patch-Makefile.am
2933 ;; The Makefile generates some scripts, so set a valid shebang
2934 (substitute* "Makefile.am"
2935 (("/bin/bash") (which "bash")))
2936 (delete-file "configure")
2938 (add-after 'unpack 'patch-docbook-xml
2939 (lambda* (#:key inputs #:allow-other-keys)
2940 ;; Modify the man XML otherwise xmlto tries to access the network
2941 (substitute* "man/system-config-printer.xml"
2942 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2943 (string-append (assoc-ref inputs "docbook-xml")
2944 "/xml/dtd/docbook/")))
2946 (add-after 'install 'wrap-for-python
2947 (@@ (guix build python-build-system) wrap))
2948 (add-after 'install 'wrap
2949 (lambda* (#:key outputs #:allow-other-keys)
2950 (let ((out (assoc-ref outputs "out"))
2951 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2954 (wrap-program program
2955 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2957 (string-append out "/bin/" name))
2958 '("system-config-printer"
2959 "system-config-printer-applet"
2960 "install-printerdriver"
2961 "scp-dbus-service"))))
2964 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2965 ("gobject-introspection" ,gobject-introspection)
2969 ("python-dbus" ,python-dbus)
2970 ("python-pygobject" ,python-pygobject)
2971 ("python-pycups" ,python-pycups)
2972 ("python-requests" ,python-requests)
2973 ("python-pycairo" ,python-pycairo)
2974 ("libnotify" ,libnotify)
2975 ("packagekit" ,packagekit)))
2977 `(("pkg-config" ,pkg-config)
2978 ("desktop-file-utils" ,desktop-file-utils)
2980 ("autoconf" ,autoconf)
2981 ("automake" ,automake)
2982 ("intltool" ,intltool)
2984 ("docbook-xml" ,docbook-xml-4.1.2)
2985 ("docbook-xsl" ,docbook-xsl)
2986 ("libxml2" ,libxml2)))
2987 (home-page "https://github.com/zdohnal/system-config-printer")
2988 (synopsis "CUPS administration tool")
2990 "system-config-printer is a CUPS administration tool. It's written in
2991 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2993 (license license:gpl2+)))
2995 (define-public hicolor-icon-theme
2997 (name "hicolor-icon-theme")
3002 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3003 "hicolor-icon-theme-" version ".tar.xz"))
3006 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3007 (build-system gnu-build-system)
3009 `(#:tests? #f)) ; no check target
3010 (home-page "https://icon-theme.freedesktop.org/releases/")
3012 "Freedesktop icon theme")
3014 "Freedesktop icon theme.")
3015 (license license:gpl2)))
3017 (define-public libnotify
3024 (uri (string-append "mirror://gnome/sources/" name "/"
3025 (version-major+minor version) "/"
3026 name "-" version ".tar.xz"))
3029 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3030 (build-system meson-build-system)
3033 (modify-phases %standard-phases
3034 (add-after 'unpack 'fix-docbook
3035 (lambda* (#:key inputs #:allow-other-keys)
3036 ;; Don't attempt to download XSL schema.
3037 (substitute* "meson.build"
3038 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3039 /manpages/docbook.xsl")
3040 (string-append (assoc-ref inputs "docbook-xsl")
3041 "/xml/xsl/docbook-xsl-"
3042 ,(package-version docbook-xsl)
3043 "/manpages/docbook.xsl")))
3046 `(;; In Requires of libnotify.pc.
3047 ("gdk-pixbuf" ,gdk-pixbuf)
3051 ("libpng" ,libpng)))
3053 `(("pkg-config" ,pkg-config)
3054 ("glib" ,glib "bin")
3055 ("gobject-introspection" ,gobject-introspection)
3057 ;; For the documentation.
3058 ("gtk-doc" ,gtk-doc)
3059 ("xsltproc" ,libxslt)
3060 ("docbook-xsl" ,docbook-xsl)))
3061 (home-page "https://developer-next.gnome.org/libnotify/")
3063 "GNOME desktop notification library")
3065 "Libnotify is a library that sends desktop notifications to a
3066 notification daemon, as defined in the Desktop Notifications spec. These
3067 notifications can be used to inform the user about an event or display
3068 some form of information without getting in the user's way.")
3069 (license license:lgpl2.1+)))
3071 (define-public libpeas
3078 (uri (string-append "mirror://gnome/sources/" name "/"
3079 (version-major+minor version) "/"
3080 name "-" version ".tar.xz"))
3083 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3084 (build-system meson-build-system)
3087 (modify-phases %standard-phases
3088 (add-before 'check 'start-xserver
3089 (lambda* (#:key inputs #:allow-other-keys)
3090 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3092 (setenv "DISPLAY" disp)
3093 ;; Tests require a running X server.
3094 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3100 ("python-pygobject" ,python-pygobject)))
3102 `(("pkg-config" ,pkg-config)
3103 ("gettext" ,gettext-minimal)
3104 ("glib:bin" ,glib "bin")
3105 ("gobject-introspection" ,gobject-introspection)
3106 ("xorg-server" ,xorg-server-for-tests)))
3108 ;; The .pc file "Requires" gobject-introspection.
3109 `(("gobject-introspection" ,gobject-introspection)))
3110 (home-page "https://wiki.gnome.org/Libpeas")
3111 (synopsis "GObject plugin system")
3113 "Libpeas is a gobject-based plugin engine, targeted at giving every
3114 application the chance to assume its own extensibility. It also has a set of
3115 features including, but not limited to: multiple extension points; on-demand
3116 (lazy) programming language support for C, Python and JS; simplicity of the
3118 (license license:lgpl2.0+)))
3120 (define-public gtkglext
3126 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3127 version "/gtkglext-" version ".tar.gz"))
3129 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3130 (patches (search-patches
3131 "gtkglext-disable-disable-deprecated.patch"))))
3132 (build-system gnu-build-system)
3135 (modify-phases %standard-phases
3136 ;; Fix a collision between a local variable and a definition from
3137 ;; glibc's string.h.
3138 (add-after 'unpack 'fix-collision
3140 (substitute* "gdk/gdkglshapes.c"
3141 ((" index") " triangle_index"))
3143 (inputs `(("gtk+" ,gtk+-2)
3148 (native-inputs `(("pkg-config" ,pkg-config)
3149 ("glib" ,glib "bin")))
3150 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3151 (home-page "https://projects.gnome.org/gtkglext")
3152 (synopsis "OpenGL extension to GTK+")
3153 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3154 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3155 API add-ons to make GTK+ widgets OpenGL-capable.")
3156 (license license:lgpl2.1+)))
3158 (define-public glade3
3164 (uri (string-append "mirror://gnome/sources/" name "/"
3165 (version-major+minor version) "/"
3166 name "-" version ".tar.xz"))
3169 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3170 (build-system glib-or-gtk-build-system)
3173 (modify-phases %standard-phases
3174 (add-before 'configure 'fix-docbook
3175 (lambda* (#:key inputs #:allow-other-keys)
3176 (substitute* "man/Makefile.in"
3177 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3178 (string-append (assoc-ref inputs "docbook-xsl")
3179 "/xml/xsl/docbook-xsl-"
3180 ,(package-version docbook-xsl)
3181 "/manpages/docbook.xsl")))
3183 (add-before 'check 'pre-check
3185 (setenv "HOME" "/tmp")
3186 ;; Tests require a running X server.
3187 (system "Xvfb :1 &")
3188 (setenv "DISPLAY" ":1")
3192 ("libxml2" ,libxml2)))
3194 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3195 ("intltool" ,intltool)
3196 ("itstool" ,itstool)
3197 ("libxslt" ,libxslt) ;for xsltproc
3198 ("docbook-xml" ,docbook-xml-4.2)
3199 ("docbook-xsl" ,docbook-xsl)
3200 ("python" ,python-2)
3201 ("pkg-config" ,pkg-config)
3202 ("xorg-server" ,xorg-server-for-tests)))
3203 (home-page "https://glade.gnome.org")
3204 (synopsis "GTK+ rapid application development tool")
3205 (description "Glade is a rapid application development (RAD) tool to
3206 enable quick & easy development of user interfaces for the GTK+ toolkit and
3207 the GNOME desktop environment.")
3208 (license license:lgpl2.0+)
3209 (native-search-paths (list (search-path-specification
3210 (variable "GLADE_CATALOG_SEARCH_PATH")
3211 (files '("share/glade/catalogs")))
3212 (search-path-specification
3213 (variable "GLADE_MODULE_SEARCH_PATH")
3214 (files '("lib/glade/modules")))))))
3216 (define-public libcroco
3222 (uri (string-append "mirror://gnome/sources/" name "/"
3223 (version-major+minor version) "/"
3224 name "-" version ".tar.xz"))
3227 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
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-public libgsf
3252 (uri (string-append "mirror://gnome/sources/" name "/"
3253 (version-major+minor version) "/"
3254 name "-" version ".tar.xz"))
3257 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3258 (build-system gnu-build-system)
3260 '(#:configure-flags '("--disable-static")))
3262 `(("pkg-config" ,pkg-config)
3263 ("gettext" ,gettext-minimal)
3267 ("perl-xml-parser" ,perl-xml-parser)))
3272 `(("gdk-pixbuf" ,gdk-pixbuf)
3274 ("libxml2" ,libxml2)))
3275 (home-page "https://www.gnome.org/projects/libgsf")
3276 (synopsis "GNOME's Structured File Library")
3278 "Libgsf aims to provide an efficient extensible I/O abstraction for
3279 dealing with different structured file formats.")
3282 (license license:lgpl2.1)))
3284 (define-public librsvg
3290 (uri (string-append "mirror://gnome/sources/" name "/"
3291 (version-major+minor version) "/"
3292 name "-" version ".tar.xz"))
3295 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3296 (build-system gnu-build-system)
3299 (list "--disable-static"
3300 "--enable-vala") ; needed for e.g. gnome-mines
3302 (modify-phases %standard-phases
3303 (add-before 'configure 'pre-configure
3304 (lambda* (#:key inputs #:allow-other-keys)
3305 (substitute* "gdk-pixbuf-loader/Makefile.in"
3306 ;; By default the gdk-pixbuf loader is installed under
3307 ;; gdk-pixbuf's prefix. Work around that.
3308 (("gdk_pixbuf_moduledir = .*$")
3309 (string-append "gdk_pixbuf_moduledir = "
3310 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3312 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3313 (("gdk_pixbuf_cache_file = .*$")
3314 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3316 (add-before 'check 'remove-failing-tests
3318 (with-directory-excursion "tests/fixtures/reftests"
3319 (for-each delete-file
3320 '(;; This test fails on i686:
3321 "svg1.1/masking-path-04-b.svg"
3322 ;; This test fails on armhf:
3323 "svg1.1/masking-mask-01-b.svg"
3324 ;; This test fails on aarch64:
3325 "bugs/777834-empty-text-children.svg")))
3328 `(("pkg-config" ,pkg-config)
3330 ("glib" ,glib "bin") ; glib-mkenums, etc.
3331 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3333 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3334 ;; this ancient version of librsvg.
3335 ("pango" ,pango-1.42)
3336 ("libcroco" ,libcroco)
3339 ("libxml2" ,libxml2)))
3341 ;; librsvg-2.0.pc refers to all of that.
3343 ("gdk-pixbuf" ,gdk-pixbuf)
3345 (home-page "https://wiki.gnome.org/LibRsvg")
3346 (synopsis "Render SVG files using Cairo")
3348 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3350 (license license:lgpl2.0+)))
3352 (define-public librsvg-next
3358 (uri (string-append "mirror://gnome/sources/librsvg/"
3359 (version-major+minor version) "/"
3360 "librsvg-" version ".tar.xz"))
3363 "1lsnl08b5pjf01q3agixjd53islw5rqkc38r31rlmm2crrqz44b2"))
3364 (modules '((guix build utils)))
3366 '(begin (delete-file-recursively "vendor")
3368 (build-system cargo-build-system)
3369 (outputs '("out" "doc"))
3372 ((guix build cargo-build-system)
3374 ((guix build gnu-build-system) #:prefix gnu:))
3376 (("rust-bitflags" ,rust-bitflags-1)
3377 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3378 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3379 ("rust-cast" ,rust-cast-0.2)
3380 ("rust-cssparser" ,rust-cssparser-0.27)
3381 ("rust-data-url" ,rust-data-url-0.1)
3382 ("rust-encoding" ,rust-encoding-0.2)
3383 ("rust-float-cmp" ,rust-float-cmp-0.8)
3384 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3385 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3386 ("rust-gio" ,rust-gio-0.8)
3387 ("rust-gio-sys" ,rust-gio-sys-0.9)
3388 ("rust-glib" ,rust-glib-0.9)
3389 ("rust-glib-sys" ,rust-glib-sys-0.9)
3390 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3391 ("rust-itertools" ,rust-itertools-0.9)
3392 ("rust-language-tags" ,rust-language-tags-0.2)
3393 ("rust-libc" ,rust-libc-0.2)
3394 ("rust-locale-config" ,rust-locale-config-0.3)
3395 ("rust-markup5ever" ,rust-markup5ever-0.10)
3396 ("rust-nalgebra" ,rust-nalgebra-0.21)
3397 ("rust-num-traits" ,rust-num-traits-0.2)
3398 ("rust-once-cell" ,rust-once-cell-1)
3399 ("rust-pkg-config" ,rust-pkg-config-0.3)
3400 ("rust-pango" ,rust-pango-0.8)
3401 ("rust-pango-sys" ,rust-pango-sys-0.9)
3402 ("rust-pangocairo" ,rust-pangocairo-0.9)
3403 ("rust-rayon" ,rust-rayon-1)
3404 ("rust-rctree" ,rust-rctree-0.3)
3405 ("rust-rgb" ,rust-rgb-0.8)
3406 ("rust-regex" ,rust-regex-1)
3407 ("rust-selectors" ,rust-selectors-0.22)
3408 ("rust-string-cache" ,rust-string-cache-0.8)
3409 ("rust-tinyvec" ,rust-tinyvec-0.3)
3410 ("rust-url" ,rust-url-2)
3411 ("rust-xml5ever" ,rust-xml5ever-0.16))
3412 #:cargo-development-inputs
3413 (("rust-assert-cmd" ,rust-assert-cmd-1)
3414 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3415 ("rust-chrono" ,rust-chrono-0.4)
3416 ("rust-criterion" ,rust-criterion-0.3)
3417 ("rust-float-cmp" ,rust-float-cmp-0.8)
3418 ("rust-lopdf" ,rust-lopdf-0.25)
3419 ("rust-png" ,rust-png-0.16)
3420 ("rust-predicates" ,rust-predicates-1)
3421 ("rust-tempfile" ,rust-tempfile-3))
3423 (modify-phases %standard-phases
3424 (add-after 'unpack 'patch-docbook-xml
3425 (lambda* (#:key inputs #:allow-other-keys)
3426 (with-directory-excursion "doc"
3427 (substitute* "rsvg-docs.xml"
3428 (("http://www.oasis-open.org/docbook/xml/4.3/")
3429 (string-append (assoc-ref inputs "docbook-xml")
3430 "/xml/dtd/docbook/"))))
3432 (add-after 'unpack 'prepare-for-build
3434 ;; In lieu of #:make-flags
3435 (setenv "CC" ,(cc-for-target))
3436 ;; Something about the build environment resists building
3437 ;; successfully with the '--locked' flag.
3438 (substitute* '("Makefile.am" "Makefile.in")
3441 (add-before 'configure 'pre-configure
3443 (substitute* "gdk-pixbuf-loader/Makefile.in"
3444 ;; By default the gdk-pixbuf loader is installed under
3445 ;; gdk-pixbuf's prefix. Work around that.
3446 (("gdk_pixbuf_moduledir = .*$")
3447 (string-append "gdk_pixbuf_moduledir = "
3448 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3450 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3451 (("gdk_pixbuf_cache_file = .*$")
3452 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3454 (add-after 'configure 'gnu-configure
3455 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3456 ((assoc-ref gnu:%standard-phases 'configure)
3457 #:native-inputs native-inputs
3461 (list "--disable-static"
3463 (string-append "--with-html-dir="
3464 (assoc-ref %outputs "doc")
3465 "/share/gtk-doc/html")))))
3466 (add-after 'configure 'dont-vendor-self
3467 (lambda* (#:key vendor-dir #:allow-other-keys)
3468 ;; Don't keep the whole tarball in the vendor directory
3469 (delete-file-recursively
3470 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3473 (assoc-ref gnu:%standard-phases 'build))
3474 (add-before 'check 'ignore-failing-tests
3475 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3477 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3478 (("fn background_color_option_invalid_color_yields_error" all)
3479 (string-append "#[ignore] " all))
3480 (("fn empty_input_yields_error" all)
3481 (string-append "#[ignore] " all))
3482 (("fn empty_svg_yields_error" all)
3483 (string-append "#[ignore] " all))
3484 (("fn env_source_data_epoch_empty" all)
3485 (string-append "#[ignore] " all))
3486 (("fn env_source_data_epoch_no_digits" all)
3487 (string-append "#[ignore] " all))
3488 (("fn env_source_data_epoch_trailing_garbage" all)
3489 (string-append "#[ignore] " all))
3490 (("fn export_id_option_error" all)
3491 (string-append "#[ignore] " all))
3492 (("fn huge_zoom_factor_yields_error" all)
3493 (string-append "#[ignore] " all))
3494 (("fn multiple_input_files_not_allowed_for_png_output" all)
3495 (string-append "#[ignore] " all))
3496 (("fn stylesheet_option_error" all)
3497 (string-append "#[ignore] " all)))
3501 ((assoc-ref gnu:%standard-phases 'check)
3502 #:test-target "check")))
3504 (assoc-ref gnu:%standard-phases 'install)))))
3506 `(("docbook-xml" ,docbook-xml-4.3)
3507 ("glib" ,glib "bin")
3508 ("gobject-introspection" ,gobject-introspection)
3509 ("pkg-config" ,pkg-config)
3510 ("python" ,python-wrapper)
3515 ("fontconfig" ,fontconfig)
3516 ("freetype" ,freetype)
3517 ("harfbuzz" ,harfbuzz)
3518 ("libcroco" ,libcroco)
3520 ("libxml2" ,libxml2)
3524 ("gdk-pixbuf" ,gdk-pixbuf)
3526 (synopsis "SVG rendering library")
3527 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3528 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3529 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3531 (home-page "https://wiki.gnome.org/LibRsvg")
3532 (license license:lgpl2.1+)))
3534 (define-public libidl
3540 (uri (string-append "mirror://gnome/sources/libIDL/"
3541 (version-major+minor version) "/"
3542 "libIDL-" version ".tar.bz2"))
3545 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3546 (build-system gnu-build-system)
3547 (inputs `(("glib" ,glib)))
3549 `(("pkg-config" ,pkg-config)
3552 (home-page "http://freecode.com/projects/libidl")
3553 (synopsis "Create trees of CORBA Interface Definition Language files")
3554 (description "Libidl is a library for creating trees of CORBA Interface
3555 Definition Language (idl) files, which is a specification for defining
3556 portable interfaces. libidl was initially written for orbit (the orb from the
3557 GNOME project, and the primary means of libidl distribution). However, the
3558 functionality was designed to be as reusable and portable as possible.")
3559 (properties `((upstream-name . "libIDL")))
3560 (license license:lgpl2.0+)))
3563 (define-public orbit2
3569 (uri (let ((upstream-name "ORBit2"))
3570 (string-append "mirror://gnome/sources/" upstream-name "/"
3571 (version-major+minor version) "/"
3572 upstream-name "-" version ".tar.bz2")))
3575 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3576 (build-system gnu-build-system)
3578 `(;; The "timeout-server" test hangs when run in parallel.
3579 #:parallel-tests? #f
3581 '(;; We don't need static libraries, plus they don't build reproducibly
3582 ;; (non-deterministic ordering of .o files in the archive.)
3585 ;; The programmer kindly gives us a hook to turn off deprecation
3587 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3588 ;; ... which they then completly ignore !!
3590 (modify-phases %standard-phases
3591 (add-before 'configure 'ignore-deprecations
3593 (substitute* "linc2/src/Makefile.in"
3594 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3596 (inputs `(("glib" ,glib)
3597 ("libidl" ,libidl)))
3599 `(("pkg-config" ,pkg-config)))
3600 (home-page "https://projects.gnome.org/orbit2/")
3601 (synopsis "CORBA 2.4-compliant Object Request Broker")
3602 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3603 featuring mature C, C++ and Python bindings.")
3604 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3605 ;; a version. SOME of the code files have licence notices for GPLv2+.
3606 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3607 (license license:gpl2+)
3608 (properties `((upstream-name . "ORBit2")))))
3611 (define-public libbonobo
3617 (uri (string-append "mirror://gnome/sources/" name "/"
3618 (version-major+minor version)
3619 "/" name "-" version ".tar.bz2"))
3621 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3622 (patches (search-patches
3623 "libbonobo-activation-test-race.patch"))))
3624 (build-system gnu-build-system)
3626 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3628 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3629 ;; ... which they then completly ignore !!
3631 (modify-phases %standard-phases
3632 (add-before 'configure 'ignore-deprecations
3634 (substitute* "activation-server/Makefile.in"
3635 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3638 ;; There's apparently a race condition between the server stub
3639 ;; generation and linking of the example under 'samples/echo' that can
3640 ;; lead do undefined references when building in parallel, as reported
3641 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3642 ;; Thus, disable parallel builds.
3643 #:parallel-build? #f))
3644 (inputs `(("popt" ,popt)
3645 ("libxml2" ,libxml2)))
3646 ;; The following are Required by the .pc file
3649 ("orbit2" ,orbit2)))
3651 `(("intltool" ,intltool)
3652 ("pkg-config" ,pkg-config)
3653 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3656 (home-page "https://developer.gnome.org/libbonobo/")
3657 (synopsis "Framework for creating reusable components for use in GNOME applications")
3658 (description "Bonobo is a framework for creating reusable components for
3659 use in GNOME applications, built on top of CORBA.")
3660 ;; Licence not explicitly stated. Source files contain no licence notices.
3661 ;; Tarball contains text of both GPLv2 and LGPLv2
3662 ;; GPLv2 covers both conditions
3663 (license license:gpl2+)))
3666 (define-public gconf
3673 (let ((upstream-name "GConf"))
3674 (string-append "mirror://gnome/sources/" upstream-name "/"
3675 (version-major+minor version) "/"
3676 upstream-name "-" version ".tar.xz")))
3678 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3679 (build-system gnu-build-system)
3680 (inputs `(("dbus-glib" ,dbus-glib)
3681 ("libxml2" ,libxml2)))
3682 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3683 ("orbit2" ,orbit2)))
3685 `(("intltool" ,intltool)
3686 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3687 ("pkg-config" ,pkg-config)))
3688 (home-page "https://projects.gnome.org/gconf/")
3689 (synopsis "Store application preferences")
3690 (description "Gconf is a system for storing application preferences. It
3691 is intended for user preferences; not arbitrary data storage.")
3692 (license license:lgpl2.0+)
3693 (properties '((upstream-name . "GConf")))))
3696 (define-public gnome-mime-data
3698 (name "gnome-mime-data")
3702 (uri (string-append "mirror://gnome/sources/" name "/"
3703 (version-major+minor version) "/"
3704 name "-" version ".tar.bz2"))
3707 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3708 (build-system gnu-build-system)
3711 ("intltool" ,intltool)))
3713 '(#:phases (modify-phases %standard-phases
3714 (add-after 'configure 'use-our-intltool
3716 ;; Do not use the bundled intltool commands, which lack
3717 ;; the "dotless @INC" fixes of our 'intltool' package.
3718 (substitute* (find-files "." "^Makefile$")
3719 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3720 (string-append "INTLTOOL_" tool " = intltool-"
3721 (string-downcase tool) "\n")))
3723 (home-page "https://www.gnome.org")
3724 (synopsis "Base MIME and Application database for GNOME")
3725 (description "GNOME Mime Data is a module which contains the base MIME
3726 and Application database for GNOME. The data stored by this module is
3727 designed to be accessed through the MIME functions in GnomeVFS.")
3728 (license license:gpl2+)))
3731 (define-public gnome-vfs
3737 (uri (string-append "mirror://gnome/sources/" name "/"
3738 (version-major+minor version) "/"
3739 name "-" version ".tar.bz2"))
3742 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3743 (build-system gnu-build-system)
3746 (modify-phases %standard-phases
3747 (add-before 'configure 'ignore-deprecations
3749 (substitute* '("libgnomevfs/Makefile.in"
3750 "daemon/Makefile.in")
3751 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3753 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3755 (substitute* "test/test-async-cancel.c"
3756 (("EXIT_FAILURE") "77"))
3758 (inputs `(("libxml2" ,libxml2)
3759 ("dbus-glib" ,dbus-glib)
3761 ("gnome-mime-data" ,gnome-mime-data)
3764 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3765 ("intltool" ,intltool)
3766 ("pkg-config" ,pkg-config)))
3767 (home-page "https://developer.gnome.org/gnome-vfs/")
3768 (synopsis "Access files and folders in GNOME applications")
3770 "GnomeVFS is the core library used to access files and folders in GNOME
3771 applications. It provides a file system abstraction which allows applications
3772 to access local and remote files with a single consistent API.")
3773 (license license:lgpl2.0+)))
3777 (define-public libgnome
3783 (uri (string-append "mirror://gnome/sources/" name "/"
3784 (version-major+minor version) "/"
3785 name "-" version ".tar.bz2"))
3788 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3789 (patches (search-patches "libgnome-encoding.patch"))))
3790 (build-system gnu-build-system)
3793 (modify-phases %standard-phases
3794 (add-before 'configure 'enable-deprecated
3796 (substitute* "libgnome/Makefile.in"
3797 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3799 (inputs `(("libxml2" ,libxml2)))
3801 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3802 ("intltool" ,intltool)
3803 ("pkg-config" ,pkg-config)))
3804 ;; The following are listed as Required in the .pc file
3805 ;; (except for libcanberra -- which seems to be oversight on the part
3806 ;; of the upstream developers -- anything that links against libgnome,
3807 ;; must also link against libcanberra
3809 `(("libcanberra" ,libcanberra)
3810 ("libbonobo" ,libbonobo)
3812 ("gnome-vfs" ,gnome-vfs)
3813 ("popt" ,popt))) ;gnome-program.h includes popt.h
3814 (home-page "https://developer.gnome.org/libgnome/")
3815 (synopsis "Useful routines for building applications")
3816 (description "The libgnome library provides a number of useful routines
3817 for building modern applications, including session management, activation of
3818 files and URIs, and displaying help.")
3819 (license license:lgpl2.0+)))
3822 (define-public libart-lgpl
3824 (name "libart-lgpl")
3828 (uri (let ((upstream-name "libart_lgpl"))
3829 (string-append "mirror://gnome/sources/" upstream-name "/"
3830 (version-major+minor version) "/"
3831 upstream-name "-" version ".tar.bz2")))
3834 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3835 (build-system gnu-build-system)
3837 `(("pkg-config" ,pkg-config)))
3838 (home-page "https://people.gnome.org/~mathieu/libart")
3839 (synopsis "2D drawing library")
3840 (description "Libart is a 2D drawing library intended as a
3841 high-quality vector-based 2D library with antialiasing and alpha composition.")
3842 (license license:lgpl2.0+)))
3846 (define-public libgnomecanvas
3848 (name "libgnomecanvas")
3852 (uri (string-append "mirror://gnome/sources/" name "/"
3853 (version-major+minor version) "/"
3854 name "-" version ".tar.gz"))
3857 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3858 (build-system gnu-build-system)
3859 ;; Mentioned as Required in the .pc file
3860 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3863 `(("intltool" ,intltool)
3864 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3865 ("pkg-config" ,pkg-config)))
3866 (home-page "https://developer.gnome.org/libgnomecanvas/")
3867 (synopsis "Flexible widget for creating interactive structured graphics")
3868 (description "The GnomeCanvas widget provides a flexible widget for
3869 creating interactive structured graphics.")
3870 (license license:lgpl2.0+)))
3872 (define-public libgnomecanvasmm
3874 (name "libgnomecanvasmm")
3878 (uri (string-append "mirror://gnome/sources/" name "/"
3879 (version-major+minor version) "/"
3880 name "-" version ".tar.bz2"))
3883 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3884 (build-system gnu-build-system)
3885 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3887 `(("gtkmm-2" ,gtkmm-2)
3888 ("pkg-config" ,pkg-config)))
3889 (home-page "https://gtkmm.org")
3890 (synopsis "C++ bindings to the GNOME Canvas library")
3891 (description "C++ bindings to the GNOME Canvas library.")
3892 (license license:lgpl2.0+)))
3894 (define-public libgnomeui
3900 (uri (string-append "mirror://gnome/sources/" name "/"
3901 (version-major+minor version) "/"
3902 name "-" version ".tar.bz2"))
3903 (patches (search-patches "libgnomeui-utf8.patch"))
3906 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3907 (build-system gnu-build-system)
3908 ;; Mentioned as Required in the .pc file
3909 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3910 ("libgnome" ,libgnome)
3911 ("libgnomecanvas" ,libgnomecanvas)
3912 ("libgnome-keyring" ,libgnome-keyring)))
3913 (inputs `(("libjpeg" ,libjpeg-turbo)
3915 ("libbonobo" ,libbonobo)
3916 ("libxml2" ,libxml2)
3917 ("libglade" ,libglade)))
3919 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3920 ("intltool" ,intltool)
3921 ("pkg-config" ,pkg-config)))
3922 (home-page "https://developer.gnome.org/libgnomeui/")
3923 (synopsis "Additional widgets for applications")
3924 (description "The libgnomeui library provides additional widgets for
3925 applications. Many of the widgets from libgnomeui have already been
3927 (license license:lgpl2.0+)))
3929 (define-public libglade
3935 (uri (string-append "mirror://gnome/sources/" name "/"
3936 (version-major+minor version) "/"
3937 name "-" version ".tar.bz2"))
3940 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3941 (build-system gnu-build-system)
3943 `(("python" ,python))) ;; needed for the optional libglade-convert program
3945 `(("gtk+-2" ,gtk+-2)
3946 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3948 `(("pkg-config" ,pkg-config)))
3949 (home-page "https://developer.gnome.org/libglade")
3950 (synopsis "Load glade interfaces and access the glade built widgets")
3951 (description "Libglade is a library that provides interfaces for loading
3952 graphical interfaces described in glade files and for accessing the
3953 widgets built in the loading process.")
3954 (license license:gpl2+))) ; This is correct. GPL not LGPL
3956 (define-public libgnomeprint
3957 ;; This library has been deprecated since 2006; see
3958 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3960 (name "libgnomeprint")
3964 (uri (string-append "mirror://gnome/sources/" name "/"
3965 (version-major+minor version) "/"
3966 name "-" version ".tar.bz2"))
3969 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3970 (build-system gnu-build-system)
3973 ("libart-lgpl" ,libart-lgpl)
3975 ("libxml2" ,libxml2)))
3977 `(("intltool" ,intltool)
3978 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3979 ("pkg-config" ,pkg-config)))
3980 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3981 (synopsis "Printing framework for GNOME")
3983 "GNOME-print was a printing framework for GNOME. It has been deprecated
3984 since ca. 2006, when GTK+ itself incorporated printing support.")
3985 (license license:lgpl2.0+)))
3988 (define-public libgnomeprintui
3989 ;; Deprecated; see libgnomeprint.
3991 (name "libgnomeprintui")
3995 (uri (string-append "mirror://gnome/sources/" name "/"
3996 (version-major+minor version) "/"
3997 name "-" version ".tar.bz2"))
4000 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4001 (build-system gnu-build-system)
4002 ;; Mentioned as Required in the .pc file
4003 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4004 (inputs `(("gtk+" ,gtk+-2)
4006 ("gnome-icon-theme" ,gnome-icon-theme)
4007 ("libgnomecanvas" ,libgnomecanvas)
4008 ("libxml2" ,libxml2)))
4010 `(("intltool" ,intltool)
4011 ("pkg-config" ,pkg-config)))
4012 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4013 (synopsis "Printing framework for GNOME")
4014 (description (package-description libgnomeprint))
4015 (license license:lgpl2.0+)))
4017 (define-public libbonoboui
4019 (name "libbonoboui")
4023 (uri (string-append "mirror://gnome/sources/" name "/"
4024 (version-major+minor version) "/"
4025 name "-" version ".tar.bz2"))
4028 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4029 (build-system gnu-build-system)
4032 (modify-phases %standard-phases
4033 (add-before 'check 'start-xserver
4034 (lambda* (#:key inputs #:allow-other-keys)
4035 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4038 (setenv "HOME" (getcwd))
4039 (setenv "DISPLAY" disp)
4040 ;; There must be a running X server and make check doesn't start one.
4041 ;; Therefore we must do it.
4042 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4043 ;; Mentioned as Required by the .pc file
4044 (propagated-inputs `(("libxml2" ,libxml2)))
4047 ("pangox-compat" ,pangox-compat)
4048 ("libgnome" ,libgnome)
4049 ("libgnomecanvas" ,libgnomecanvas)
4050 ("libglade" ,libglade)))
4052 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4053 ("intltool" ,intltool)
4054 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4055 ("pkg-config" ,pkg-config)))
4056 (home-page "https://developer.gnome.org/libbonoboui/")
4057 (synopsis "Some user interface controls using Bonobo")
4058 (description "The Bonobo UI library provides a number of user interface
4059 controls using the Bonobo component framework.")
4060 (license license:lgpl2.0+)))
4062 (define-public libwnck
4068 (uri (string-append "mirror://gnome/sources/" name "/"
4069 (version-major+minor version) "/"
4070 name "-" version ".tar.xz"))
4073 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4074 (build-system meson-build-system)
4076 `(("pkg-config" ,pkg-config)
4077 ("glib" ,glib "bin") ; for glib-mkenums
4078 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4079 ("intltool" ,intltool)))
4082 ("libxres" ,libxres)
4083 ("startup-notification" ,startup-notification)))
4084 (home-page "https://developer.gnome.org/libwnck/")
4085 (synopsis "Window Navigator Construction Kit")
4087 "Libwnck is the Window Navigator Construction Kit, a library for use in
4088 writing pagers, tasklists, and more generally applications that are dealing
4089 with window management. It tries hard to respect the Extended Window Manager
4090 Hints specification (EWMH).")
4091 (license license:lgpl2.0+)))
4093 ;; stable version for gtk2, required by xfwm4.
4094 (define-public libwnck-2
4095 (package (inherit libwnck)
4100 (uri (string-append "mirror://gnome/sources/" name "/"
4101 (version-major+minor version) "/"
4102 name "-" version ".tar.xz"))
4105 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4106 (build-system gnu-build-system)
4108 `(("pkg-config" ,pkg-config)
4109 ("intltool" ,intltool)))
4112 ("libxres" ,libxres)
4113 ("startup-notification" ,startup-notification)))))
4115 (define-public goffice
4121 (uri (string-append "mirror://gnome/sources/goffice/"
4122 (version-major+minor version) "/"
4123 "goffice-" version ".tar.xz"))
4125 (base32 "1z6f3q8fxkd1ysqrwdxdi0844zqa00vjpf07gq8mh3kal8picfd4"))))
4126 (build-system gnu-build-system)
4128 "doc")) ; 4.0 MiB of gtk-doc
4130 '(#:configure-flags (list (string-append "--with-html-dir="
4131 (assoc-ref %outputs "doc")
4132 "/share/gtk-doc/html"))))
4136 ("librsvg" ,librsvg)
4137 ("libxslt" ,libxslt)
4138 ("libxml2" ,libxml2)))
4140 `(("intltool" ,intltool)
4141 ("glib" ,glib "bin")
4142 ("pkg-config" ,pkg-config)))
4143 (home-page "https://developer.gnome.org/goffice/")
4144 (synopsis "Document-centric objects and utilities")
4145 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4147 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4149 (list license:gpl2 license:gpl3))))
4151 (define-public goffice-0.8
4152 (package (inherit goffice)
4156 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4157 (version-major+minor version) "/"
4158 (package-name goffice) "-" version ".tar.xz"))
4160 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4163 (modify-phases %standard-phases
4164 (add-after 'unpack 'fix-pcre-check
4166 ;; Only glib.h can be included directly. See
4167 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4168 (substitute* "configure"
4169 (("glib/gregex\\.h") "glib.h")) #t)))
4171 ,@(package-arguments goffice)))
4173 ;; libgoffice-0.8.pc mentions libgsf-1
4174 `(("libgsf" ,libgsf)))
4177 ,@(alist-delete "gtk" (package-inputs goffice))))))
4179 (define-public gnumeric
4185 (uri (string-append "mirror://gnome/sources/gnumeric/"
4186 (version-major+minor version) "/"
4187 "gnumeric-" version ".tar.xz"))
4190 "14556b0vyxdvdwjlin0rv7jk0vq4nplbmvp9j89bhkfk84xf7k2p"))))
4191 (build-system glib-or-gtk-build-system)
4193 `(;; The gnumeric developers don't worry much about failing tests.
4194 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4197 (modify-phases %standard-phases
4199 'configure 'pre-conf
4200 (lambda* (#:key outputs #:allow-other-keys)
4201 ;; Make install tries to write into the directory of goffice
4202 ;; I am informed that this only affects the possibility to embed a
4203 ;; spreadsheet inside an Abiword document. So presumably when we
4204 ;; package Abiword we'll have to refer it to this directory.
4205 (substitute* "configure"
4206 (("^GOFFICE_PLUGINS_DIR=.*")
4207 (string-append "GOFFICE_PLUGINS_DIR="
4208 (assoc-ref outputs "out")
4209 "/goffice/plugins"))))))))
4213 ("goffice" ,goffice)
4215 ("librsvg" ,librsvg)
4216 ("libxml2" ,libxml2)
4217 ("libxslt" ,libxslt)
4219 ("python-pygobject" ,python-pygobject)
4223 ("docbook-xml" ,docbook-xml)
4224 ("intltool" ,intltool)
4225 ("itstool" ,itstool)
4226 ("glib:bin" ,glib "bin")
4227 ("pkg-config" ,pkg-config)))
4228 (home-page "http://www.gnumeric.org")
4229 (synopsis "Spreadsheet application")
4231 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4232 interoperable with other spreadsheet applications. It has a vast array of
4233 features beyond typical spreadsheet functionality, such as support for linear
4234 and non-linear solvers, statistical analysis, and telecommunication
4237 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4238 (list license:gpl2 license:gpl3))))
4240 (define-public gnome-themes-standard
4242 (name "gnome-themes-standard")
4247 (uri (string-append "mirror://gnome/sources/" name "/"
4248 (version-major+minor version) "/" name "-"
4252 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4253 (build-system gnu-build-system)
4256 ;; Don't create 'icon-theme.cache'.
4257 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4258 (true (string-append coreutils "/bin/true")))
4259 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4263 ("librsvg" ,librsvg)
4264 ("libxml2" ,libxml2)
4267 `(("intltool" ,intltool)
4268 ("glib:bin" ,glib "bin")
4269 ("pkg-config" ,pkg-config)))
4270 (home-page "https://launchpad.net/gnome-themes-standard")
4271 (synopsis "Default GNOME 3 themes")
4273 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4274 (license license:lgpl2.1+)))
4276 (define-public seahorse
4283 (uri (string-append "mirror://gnome/sources/" name "/"
4284 (version-major+minor version) "/" name "-"
4287 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4288 (build-system meson-build-system)
4292 (modify-phases %standard-phases
4293 (add-after 'unpack 'skip-gtk-update-icon-cache
4294 ;; Don't create 'icon-theme.cache'.
4296 (substitute* "build-aux/meson_post_install.py"
4297 (("gtk-update-icon-cache") "true"))
4304 ("openldap" ,openldap)
4305 ("openssh" ,openssh)
4307 ("libhandy" ,libhandy-0.0)
4308 ("libpwquality" ,libpwquality)
4309 ("libsecret" ,libsecret)
4310 ("libsoup" ,libsoup)))
4312 `(("gettext" ,gettext-minimal)
4313 ("glib:bin" ,glib "bin")
4314 ("itstool" ,itstool)
4315 ("pkg-config" ,pkg-config)
4317 ("xmllint" ,libxml2)))
4318 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4319 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4321 "Seahorse is a GNOME application for managing encryption keys and
4322 passwords in the GNOME keyring.")
4323 (license license:gpl2+)))
4331 (uri (string-append "mirror://gnome/sources/" name "/"
4332 (version-major+minor version) "/"
4333 name "-" version ".tar.xz"))
4336 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4337 (build-system gnu-build-system)
4340 (modify-phases %standard-phases
4341 (add-before 'check 'pre-check
4344 (substitute* "valadoc/tests/testrunner.sh"
4345 (("export PKG_CONFIG_PATH=" m)
4346 (string-append m "$PKG_CONFIG_PATH:")))
4347 ;; For missing '/etc/machine-id'.
4348 (setenv "DBUS_FATAL_WARNINGS" "0")
4351 `(("pkg-config" ,pkg-config)
4354 ("xsltproc" ,libxslt)
4355 ("dbus" ,dbus) ; for dbus tests
4356 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4358 `(("graphviz" ,graphviz)))
4360 `(("glib" ,glib))) ; required by libvala-0.40.pc
4361 (home-page "https://wiki.gnome.org/Projects/Vala/")
4362 (synopsis "Compiler for the GObject type system")
4364 "Vala is a programming language that aims to bring modern programming
4365 language features to GNOME developers without imposing any additional runtime
4366 requirements and without using a different ABI compared to applications and
4367 libraries written in C.")
4368 (license license:lgpl2.1+)))
4370 (define-public vala-0.50
4376 (uri (string-append "mirror://gnome/sources/vala/"
4377 (version-major+minor version) "/"
4378 "vala-" version ".tar.xz"))
4381 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4389 (uri (string-append "mirror://gnome/sources/vte/"
4390 (version-major+minor version) "/"
4391 "vte-" version ".tar.xz"))
4394 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4395 (build-system meson-build-system)
4399 "-D_systemd=false")))
4401 `(("pkg-config" ,pkg-config)
4402 ("gettext" ,gettext-minimal)
4404 ("gobject-introspection" ,gobject-introspection)
4405 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4407 ("xmllint" ,libxml2)))
4409 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4410 ("gnutls" ,gnutls) ; ditto
4411 ("pcre2" ,pcre2))) ; ditto
4412 (home-page "https://www.gnome.org/")
4413 (synopsis "Virtual Terminal Emulator")
4415 "VTE is a library (libvte) implementing a terminal emulator widget for
4416 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4417 gnome-terminal, but can also be used to embed a console/terminal in games,
4418 editors, IDEs, etc.")
4419 (license license:lgpl2.1+)))
4421 (define-public vte-ng
4425 (version "0.58.2.a")
4426 (home-page "https://github.com/thestinger/vte-ng")
4429 (uri (git-reference (url home-page) (commit version)))
4430 (file-name (git-file-name name version))
4433 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4434 (build-system meson-build-system)
4436 `(("gtk-doc" ,gtk-doc)
4437 ,@(package-native-inputs vte)))
4439 `(#:configure-flags '("-Ddocs=true")))
4440 (synopsis "Enhanced VTE terminal widget")
4442 "VTE is a library (libvte) implementing a terminal emulator widget for
4443 GTK+, this fork provides additional functions exposed for keyboard text
4444 selection and URL hints.")))
4446 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4447 (define-public vte/gtk+-2
4448 (package (inherit vte)
4453 (uri (string-append "mirror://gnome/sources/" name "/"
4454 (version-major+minor version) "/"
4455 name "-" version ".tar.xz"))
4458 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4459 (patches (search-patches
4460 "vte-CVE-2012-2738-pt1.patch"
4461 "vte-CVE-2012-2738-pt2.patch"))))
4462 (build-system gnu-build-system)
4464 '(#:configure-flags '("--disable-python")))
4466 `(("pkg-config" ,pkg-config)
4467 ("intltool" ,intltool)
4468 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4470 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4471 ("ncurses" ,ncurses))))) ; required by libvte.la
4473 (define-public vinagre
4479 (uri (string-append "mirror://gnome/sources/" name "/"
4480 (version-major+minor version) "/"
4481 name "-" version ".tar.xz"))
4482 (patches (search-patches "vinagre-newer-freerdp.patch"
4483 "vinagre-newer-rdp-parameters.patch"))
4486 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4487 (build-system glib-or-gtk-build-system)
4489 ;; Disable -Werror and such, to avoid build failures on compilation
4491 '(#:configure-flags '("--enable-compile-warnings=minimum")
4493 (modify-phases %standard-phases
4494 (add-before 'install 'skip-gtk-update-icon-cache
4496 ;; Don't create 'icon-theme.cache'
4497 (substitute* (find-files "." "^Makefile$")
4498 (("gtk-update-icon-cache") (which "true")))
4500 (add-after 'unpack 'patch-configure
4502 (substitute* "configure"
4503 (("freerdp") "freerdp2"))
4506 `(("pkg-config" ,pkg-config)
4507 ("intltool" ,intltool)
4508 ("itstool" ,itstool)
4509 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4511 `(("libxml2" ,libxml2)
4512 ("gtk-vnc" ,gtk-vnc)
4513 ("gnome-keyring" ,gnome-keyring)
4514 ("libsecret" ,libsecret)
4515 ("freerdp" ,freerdp)
4517 ("spice-gtk" ,spice-gtk)
4518 ("telepathy-glib" ,telepathy-glib)
4520 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4521 (synopsis "Remote desktop viewer for GNOME")
4522 (description "Vinagre is a remote display client supporting the VNC, SPICE
4523 and RDP protocols.")
4524 (license license:gpl3+)))
4526 (define-public dconf
4533 "mirror://gnome/sources/" name "/"
4534 (version-major+minor version) "/"
4535 name "-" version ".tar.xz"))
4538 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4539 (build-system meson-build-system)
4541 ;; In Requires of dconf.pc.
4547 `(("bash-completion" ,bash-completion)
4548 ("libxslt" ,libxslt) ;for xsltproc
4549 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4550 ("docbook-xml" ,docbook-xml-4.2)
4551 ("docbook-xsl" ,docbook-xsl)
4552 ("glib:bin" ,glib "bin")
4553 ("gtk-doc" ,gtk-doc)
4554 ("pkg-config" ,pkg-config)
4558 #:configure-flags '("-Denable-gtk-doc=true")
4559 #:phases (modify-phases %standard-phases
4560 (add-after 'unpack 'increase-test-timeout
4562 ;; On big-memory systems, the engine test may take
4563 ;; much longer than the default of 30 seconds.
4564 (substitute* "tests/meson.build"
4565 (("test\\(unit_test\\[0\\], exe" all)
4566 (string-append all ", timeout : 90")))
4568 (home-page "https://developer.gnome.org/dconf/")
4569 (synopsis "Low-level GNOME configuration system")
4570 (description "Dconf is a low-level configuration system. Its main purpose
4571 is to provide a backend to GSettings on platforms that don't already have
4572 configuration storage systems.")
4573 (license license:lgpl2.1+)))
4575 (define-public json-glib
4581 (uri (string-append "mirror://gnome/sources/" name "/"
4582 (version-major+minor version) "/"
4583 name "-" version ".tar.xz"))
4586 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4587 (build-system meson-build-system)
4589 `(("gettext" ,gettext-minimal)
4590 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4591 ("gobject-introspection" ,gobject-introspection)
4592 ("pkg-config" ,pkg-config)))
4594 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4595 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4596 (synopsis "Compiler for the GObject type system")
4598 "JSON-GLib is a C library based on GLib providing serialization and
4599 deserialization support for the JavaScript Object Notation (JSON) format
4600 described by RFC 4627. It provides parser and generator GObject classes and
4601 various wrappers for the complex data types employed by JSON, such as arrays
4603 (license license:lgpl2.1+)))
4605 (define-public libxklavier
4607 (name "libxklavier")
4610 ;; Note: There's no tarball at ftp.gnome.org for this version.
4613 (url "https://anongit.freedesktop.org/git/libxklavier")
4614 (commit (string-append "libxklavier-" version))))
4617 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4618 (file-name (git-file-name name version))))
4619 (build-system gnu-build-system)
4622 (list (string-append "--with-xkb-base="
4623 (assoc-ref %build-inputs "xkeyboard-config")
4625 "--disable-xmodmap-support")))
4627 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4628 ("gobject-introspection" ,gobject-introspection)
4629 ("pkg-config" ,pkg-config)
4630 ("gtk-doc" ,gtk-doc)
4631 ("intltool" ,intltool)
4633 ("autoconf" ,autoconf)
4634 ("automake" ,automake)
4635 ("libtool" ,libtool)))
4637 ;; Required by libxklavier.pc.
4639 ("libxml2" ,libxml2)))
4641 `(("iso-codes" ,iso-codes)
4643 ("libxkbfile" ,libxkbfile)
4644 ("xkbcomp" ,xkbcomp)
4645 ("xkeyboard-config" ,xkeyboard-config)))
4646 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4647 (synopsis "High-level API for X Keyboard Extension")
4649 "LibXklavier is a library providing high-level API for X Keyboard
4650 Extension known as XKB. This library is intended to support XFree86 and other
4651 commercial X servers. It is useful for creating XKB-related software (layout
4653 (license license:lgpl2.0+)))
4655 (define-public python2-rsvg
4656 ;; XXX: This is actually a subset of gnome-python-desktop.
4658 (name "python2-rsvg")
4664 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4665 version ".tar.bz2"))
4668 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4669 (build-system gnu-build-system)
4671 `(("pkg-config" ,pkg-config)))
4673 `(("python" ,python-2)
4674 ("python2-pygtk" ,python2-pygtk)
4675 ("librsvg" ,librsvg)))
4676 (home-page "https://www.gnome.org")
4677 (synopsis "Python bindings to librsvg")
4679 "This package provides Python bindings to librsvg, the SVG rendering
4682 ;; This is the license of the rsvg bindings. The license of each module
4683 ;; of gnome-python-desktop is given in 'COPYING'.
4684 (license license:lgpl2.1+)))
4686 (define-public glib-networking
4688 (name "glib-networking")
4692 (uri (string-append "mirror://gnome/sources/glib-networking/"
4693 (version-major+minor version) "/"
4694 "glib-networking-" version ".tar.xz"))
4697 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4698 (build-system meson-build-system)
4700 `(#:configure-flags '("-Dlibproxy_support=false")))
4702 `(("pkg-config" ,pkg-config)
4703 ("intltool" ,intltool)))
4707 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4708 (home-page "https://www.gnome.org")
4709 (synopsis "Network-related GIO modules")
4711 "This package contains various network related extensions for the GIO
4713 (license license:lgpl2.0+)))
4721 (uri (string-append "mirror://gnome/sources/rest/"
4722 (version-major+minor version) "/"
4723 name "-" version ".tar.xz"))
4726 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4727 (build-system gnu-build-system)
4729 '(#:tests? #f ; tests require internet connection
4731 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4733 `(("glib-mkenums" ,glib "bin")
4734 ("gobject-introspection" ,gobject-introspection)
4735 ("pkg-config" ,pkg-config)))
4737 ;; rest-0.7.pc refers to all these.
4739 ("libsoup" ,libsoup)
4740 ("libxml2" ,libxml2)))
4741 (home-page "https://www.gtk.org/")
4742 (synopsis "RESTful web api query library")
4744 "This library was designed to make it easier to access web services that
4745 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4746 libxml to ease remote use of the RESTful API.")
4747 (license license:lgpl2.1+)))
4749 (define-public libsoup
4755 (uri (string-append "mirror://gnome/sources/libsoup/"
4756 (version-major+minor version) "/"
4757 "libsoup-" version ".tar.xz"))
4760 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4761 (build-system meson-build-system)
4762 (outputs '("out" "doc"))
4764 `(#:modules ((guix build utils)
4765 (guix build meson-build-system)
4768 #:configure-flags '("-Dgtk_doc=true")
4770 (modify-phases %standard-phases
4771 (add-after 'unpack 'patch-docbook-xml
4772 (lambda* (#:key inputs #:allow-other-keys)
4773 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4774 "/xml/dtd/docbook")))
4775 (substitute* (find-files "docs/reference")
4776 (("http://.*/docbookx\\.dtd")
4777 (string-append xmldoc "/docbookx.dtd")))
4779 (add-after 'unpack 'adjust-tests
4781 ;; This test fails due to missing /etc/nsswitch.conf
4782 ;; in the build environment.
4783 (substitute* "tests/socket-test.c"
4784 ((".*/sockets/unconnected.*") ""))
4786 ;; These fail because "subdomain.localhost" does not resolve in
4787 ;; the build environment.
4788 (substitute* "tests/hsts-test.c"
4789 ((".*/hsts/basic.*") "")
4790 ((".*/hsts/subdomains.*") "")
4791 ((".*/hsts/superdomain.*") "")
4792 ((".*/hsts/utf8-address.*") ""))
4793 (substitute* "tests/hsts-db-test.c"
4794 ((".*/hsts-db/subdomains.*") ""))
4796 ;; Generate a self-signed certificate that has "localhost" as its
4797 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4798 ;; 3.5.12, tests such as "ssl-tests" fail:
4800 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4802 ;; 'certtool' is interactive so we have to pipe it the answers.
4803 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4804 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4805 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4806 (for-each (lambda (line)
4811 "Guix" ;Organizational unit name
4812 "GNU" ;Organization name
4814 "" ;State or province
4816 "" ;subject's domain component (DC)
4819 "-1" ;expiration time
4820 "N" ;belong to authority?
4821 "N" ;web client certificate?
4823 "Y" ;web server certificate?
4824 "localhost" ;dnsName of subject
4825 "" ;dnsName of subject (end)
4827 "127.0.0.1" ;IP address of subject
4829 "" ;encryption (RSA)?
4830 "" ;data encryption?
4831 "" ;sign OCSP requests?
4834 "" ;email protection?
4835 "" ;URI of the CRL distribution point
4840 (add-after 'install 'move-doc
4841 (lambda* (#:key outputs #:allow-other-keys)
4842 (let ((out (assoc-ref outputs "out"))
4843 (doc (assoc-ref outputs "doc")))
4844 (mkdir-p (string-append doc "/share"))
4845 (copy-recursively (string-append out "/share/gtk-doc")
4846 (string-append doc "/share/gtk-doc"))
4847 (delete-file-recursively (string-append out "/share/gtk-doc"))
4850 `(("docbook-xml" ,docbook-xml-4.1.2)
4851 ("glib:bin" ,glib "bin") ; for glib-mkenums
4852 ("gobject-introspection" ,gobject-introspection)
4853 ("gtk-doc" ,gtk-doc)
4854 ("intltool" ,intltool)
4855 ("pkg-config" ,pkg-config)
4856 ("python" ,python-wrapper)
4860 ("gnutls" ,gnutls) ;for 'certtool'
4863 ;; libsoup-2.4.pc refers to all these.
4864 `(("brotli" ,google-brotli)
4867 ("libxml2" ,libxml2)
4871 `(("glib-networking" ,glib-networking)
4872 ("mit-krb5" ,mit-krb5)))
4873 (home-page "https://live.gnome.org/LibSoup/")
4874 (synopsis "GLib-based HTTP Library")
4876 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4877 and the GLib main loop, to integrate well with GNOME applications.")
4878 (license license:lgpl2.0+)))
4881 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4882 (define-public libsoup-minimal
4885 (name "libsoup-minimal")
4886 (outputs (delete "doc" (package-outputs libsoup)))
4888 (substitute-keyword-arguments (package-arguments libsoup)
4889 ((#:configure-flags configure-flags)
4890 `(delete "-Dgtk_doc=true" ,configure-flags))
4892 `(modify-phases ,phases
4893 (delete 'move-doc)))))
4894 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4896 (define-public libsecret
4903 "mirror://gnome/sources/libsecret/"
4904 (version-major+minor version) "/"
4905 "libsecret-" version ".tar.xz"))
4908 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4909 (build-system gnu-build-system)
4910 (outputs '("out" "doc"))
4912 `(#:tests? #f ; FIXME: Testing hangs.
4914 (list (string-append "--with-html-dir="
4915 (assoc-ref %outputs "doc")
4916 "/share/gtk-doc/html"))))
4918 `(("gettext" ,gettext-minimal)
4919 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4920 ("gobject-introspection" ,gobject-introspection)
4921 ("pkg-config" ,pkg-config)
4923 ("xsltproc" ,libxslt)))
4924 ;; These are needed for the tests.
4925 ;; FIXME: Add gjs once available.
4927 ;("python2" ,python-2)
4928 ;("python2-dbus" ,python2-dbus)
4929 ;("python2-pygobject" ,python2-pygobject)
4930 ;("python2-pygobject-2" ,python2-pygobject-2)))
4932 `(("glib" ,glib))) ; required by libsecret-1.pc
4934 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4935 ;; doesn't seem to affect the build result.
4936 `(("docbook-xsl" ,docbook-xsl)
4937 ("libgcrypt" ,libgcrypt)
4938 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4939 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4940 (synopsis "GObject bindings for \"Secret Service\" API")
4942 "Libsecret is a GObject based library for storing and retrieving passwords
4943 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4944 (license license:lgpl2.1+)))
4946 (define-public five-or-more
4948 (name "five-or-more")
4953 (uri (string-append "mirror://gnome/sources/five-or-more/"
4954 (version-major+minor version) "/"
4955 "five-or-more-" version ".tar.xz"))
4957 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4958 (build-system meson-build-system)
4962 (modify-phases %standard-phases
4963 (add-after 'unpack 'skip-gtk-update-icon-cache
4965 (substitute* "meson_post_install.py"
4966 (("gtk-update-icon-cache") (which "true")))
4969 `(("pkg-config" ,pkg-config)
4970 ("appstream-glib" ,appstream-glib)
4971 ("desktop-file-utils" ,desktop-file-utils)
4972 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4973 ("intltool" ,intltool)
4974 ("itstool" ,itstool)
4976 ("xmllint" ,libxml2)))
4979 ("libgnome-games-support" ,libgnome-games-support)
4980 ("librsvg" ,librsvg)))
4981 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4982 (synopsis "Logic puzzle game")
4983 (description "Five or More is a game where you try to align
4984 five or more objects of the same color and shape causing them to disappear.
4985 On every turn more objects will appear, until the board is full.
4986 Try to last as long as possible.")
4987 (license license:gpl2+)))
4989 (define-public gnome-mines
4991 (name "gnome-mines")
4996 (uri (string-append "mirror://gnome/sources/" name "/"
4997 (version-major+minor version) "/"
4998 name "-" version ".tar.xz"))
5000 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5001 (build-system meson-build-system)
5005 (modify-phases %standard-phases
5006 (add-after 'unpack 'skip-gtk-update-icon-cache
5008 (substitute* "build-aux/meson_post_install.py"
5009 (("gtk-update-icon-cache") (which "true")))
5012 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5013 ("pkg-config" ,pkg-config)
5014 ("desktop-file-utils" ,desktop-file-utils)
5015 ("intltool" ,intltool)
5016 ("itstool" ,itstool)
5019 ("appstream-glib" ,appstream-glib)))
5022 ("libgnome-games-support" ,libgnome-games-support)
5023 ("librsvg" ,librsvg)))
5024 (home-page "https://wiki.gnome.org/Apps/Mines")
5025 (synopsis "Minesweeper game")
5027 "Mines (previously gnomine) is a puzzle game where you locate mines
5028 floating in an ocean using only your brain and a little bit of luck.")
5029 (license license:gpl2+)))
5031 (define-public gnome-multi-writer
5033 (name "gnome-multi-writer")
5038 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5039 (version-major+minor version) "/"
5040 "gnome-multi-writer-" version ".tar.xz"))
5043 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5044 (build-system meson-build-system)
5048 (modify-phases %standard-phases
5049 (add-after 'unpack 'skip-post-install
5051 (substitute* "meson.build"
5052 (("meson.add_install_script" &) (string-append "# " &)))
5055 `(("glib:bin" ,glib "bin")
5056 ("pkg-config" ,pkg-config)))
5059 ("glib" ,glib) ; for gio
5062 ("libgudev" ,libgudev)
5063 ("libcanberra" ,libcanberra)
5064 ("polkit" ,polkit)))
5065 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5066 (synopsis "Write to multiple USB devices at once")
5068 "MultiWriter can be used to write an ISO file to multiple USB devices at
5070 (license license:gpl2+)))
5072 (define-public gnome-sudoku
5074 (name "gnome-sudoku")
5079 (uri (string-append "mirror://gnome/sources/" name "/"
5080 (version-major+minor version) "/"
5081 name "-" version ".tar.xz"))
5084 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5085 (build-system meson-build-system)
5089 (modify-phases %standard-phases
5090 (add-after 'unpack 'skip-gtk-update-icon-cache
5092 (substitute* "build-aux/post_install.py"
5093 (("gtk-update-icon-cache") (which "true")))
5096 `(("pkg-config" ,pkg-config)
5097 ("desktop-file-utils" ,desktop-file-utils)
5098 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5099 ("intltool" ,intltool)
5100 ("itstool" ,itstool)
5102 ("xmllint" ,libxml2)))
5105 ("json-glib" ,json-glib)
5107 ("librsvg" ,librsvg)
5108 ("qqwing" ,qqwing)))
5109 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5110 (synopsis "Japanese logic game")
5112 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5113 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5114 possible while still providing features that make playing difficult Sudoku
5116 (license license:gpl2+)))
5118 (define-public gnome-terminal
5120 (name "gnome-terminal")
5125 (uri (string-append "mirror://gnome/sources/" name "/"
5126 (version-major+minor version) "/"
5127 name "-" version ".tar.xz"))
5130 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5131 (build-system glib-or-gtk-build-system)
5134 (list "--disable-migration" "--disable-search-provider"
5135 "--without-nautilus-extension")
5137 (modify-phases %standard-phases
5138 (add-before 'configure 'patch-/bin/true
5140 (substitute* "configure"
5141 (("/bin/true") (which "true"))))))))
5143 `(("pkg-config" ,pkg-config)
5144 ("desktop-file-utils" ,desktop-file-utils)
5145 ("intltool" ,intltool)
5146 ("itstool" ,itstool)
5147 ("xmllint" ,libxml2)))
5149 `(("dconf" ,dconf)))
5154 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5155 ("util-linux" ,util-linux "lib")
5157 (home-page "https://wiki.gnome.org/Apps/Terminal")
5158 (synopsis "Terminal emulator")
5160 "GNOME Terminal is a terminal emulator application for accessing a
5161 UNIX shell environment which can be used to run programs available on
5164 It supports several profiles, multiple tabs and implements several
5165 keyboard shortcuts.")
5166 (license license:gpl3+)))
5168 (define-public colord
5175 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5176 "colord-" version ".tar.xz"))
5178 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5179 (build-system meson-build-system)
5181 '(;; FIXME: One test fails:
5182 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5183 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5184 ;; application/x-zerosize
5187 #:configure-flags (list "-Dlocalstatedir=/var"
5188 ;; No dep on systemd.
5190 ;; Wants to install to global completion dir;
5192 "-Dbash_completion=false"
5193 "-Ddaemon_user=colord"
5196 ;; Requires spotread.
5197 "-Dargyllcms_sensor=false"
5198 ;; TODO: Requires docbook2x.
5201 (modify-phases %standard-phases
5202 (add-before 'configure 'patch-build-system
5203 (lambda* (#:key outputs #:allow-other-keys)
5204 (substitute* "rules/meson.build"
5205 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5206 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5208 (add-before 'configure 'set-sqlite3-file-name
5209 (lambda* (#:key inputs #:allow-other-keys)
5210 ;; "colormgr dump" works by invoking the "sqlite3" command.
5211 ;; Record its absolute file name.
5212 (let ((sqlite (assoc-ref inputs "sqlite")))
5213 (substitute* "client/cd-util.c"
5215 (string-append "\"" sqlite "/bin/sqlite3\"")))
5218 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5219 ("gettext" ,gettext-minimal)
5220 ("gobject-introspection" ,gobject-introspection)
5221 ("gtk-doc" ,gtk-doc)
5222 ("pkg-config" ,pkg-config)
5225 ;; colord.pc refers to all these.
5230 `(("dbus-glib" ,dbus-glib)
5232 ("libgudev" ,libgudev)
5235 ("python" ,python-wrapper)
5237 ("sane-backends" ,sane-backends)))
5238 (home-page "https://www.freedesktop.org/software/colord/")
5239 (synopsis "Color management service")
5240 (description "Colord is a system service that makes it easy to manage,
5241 install and generate color profiles to accurately color manage input and
5243 (license license:gpl2+)))
5245 (define-public geoclue
5253 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5254 version "/geoclue-" version ".tar.bz2"))
5256 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5257 (patches (search-patches "geoclue-config.patch"))))
5258 (build-system meson-build-system)
5260 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5262 `(("pkg-config" ,pkg-config)
5263 ("gobject-introspection" ,gobject-introspection)
5264 ("modem-manager" ,modem-manager)
5265 ("libnotify" ,libnotify)
5266 ("gtk-doc" ,gtk-doc)
5267 ("intltool" ,intltool)))
5270 ("glib:bin" ,glib "bin")
5271 ("glib-networking" ,glib-networking)
5272 ("json-glib" ,json-glib)
5273 ("libsoup" ,libsoup)))
5274 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5275 (synopsis "Geolocation service")
5276 (description "Geoclue is a D-Bus service that provides location
5277 information. The primary goal of the Geoclue project is to make creating
5278 location-aware applications as simple as possible, while the secondary goal is
5279 to ensure that no application can access location information without explicit
5280 permission from user.")
5281 (license license:gpl2+)))
5283 (define-public geocode-glib
5285 (name "geocode-glib")
5289 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5290 (version-major+minor version) "/"
5291 "geocode-glib-" version ".tar.xz"))
5294 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5295 (build-system meson-build-system)
5298 (modify-phases %standard-phases
5299 ;; The tests require a bunch of locales.
5300 (add-before 'check 'set-locales
5301 (lambda* (#:key inputs #:allow-other-keys)
5302 (setenv "GUIX_LOCPATH"
5303 (string-append (assoc-ref inputs "glibc-locales")
5307 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5308 ("glibc-locales" ,glibc-locales) ; for tests
5309 ("gettext" ,gettext-minimal)
5310 ("gobject-introspection" ,gobject-introspection)
5311 ("gtk-doc" ,gtk-doc)
5312 ("pkg-config" ,pkg-config)
5313 ("json-glib" ,json-glib)))
5315 ;; geocode-glib-1.0.pc refers to GIO.
5318 `(("libsoup" ,libsoup)))
5319 (home-page "https://github.com/GNOME/geocode-glib/")
5320 (synopsis "Geocoding and reverse-geocoding library")
5322 "geocode-glib is a convenience library for geocoding (finding longitude,
5323 and latitude from an address) and reverse geocoding (finding an address from
5324 coordinates) using the Nominatim service. geocode-glib caches requests for
5325 faster results and to avoid unnecessary server load.")
5326 (license license:lgpl2.0+)))
5328 (define-public upower
5334 (uri (string-append "https://upower.freedesktop.org/releases/"
5335 "upower-" version ".tar.xz"))
5338 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5339 (patches (search-patches "upower-builddir.patch"))
5340 (modules '((guix build utils)))
5344 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5345 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5346 ;; 'dbus-configuration-directory' in (gnu services dbus)
5347 ;; expects it in etc/. Thus, move it back to its previous
5349 (substitute* "src/Makefile.in"
5350 (("^dbusconfdir =.*$")
5351 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5353 (build-system glib-or-gtk-build-system)
5356 (modify-phases %standard-phases
5357 (add-before 'check 'pre-check
5358 (lambda* (#:key inputs #:allow-other-keys)
5359 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5361 (setenv "LD_LIBRARY_PATH" umockdev))
5363 #:configure-flags (list "--localstatedir=/var"
5364 (string-append "--with-udevrulesdir="
5365 (assoc-ref %outputs "out")
5366 "/lib/udev/rules.d"))))
5368 `(("gobject-introspection" ,gobject-introspection)
5369 ("pkg-config" ,pkg-config)
5370 ("intltool" ,intltool)
5374 ("python-dbus" ,python-dbus)
5375 ("python-dbusmock" ,python-dbusmock)
5376 ("python-pygobject" ,python-pygobject)
5377 ("umockdev" ,umockdev)
5380 ("libxslt" ,libxslt) ;for 'xsltproc'
5381 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5382 ("docbook-xsl" ,docbook-xsl)))
5384 `(("dbus-glib" ,dbus-glib)
5385 ("libgudev" ,libgudev)
5386 ("libusb" ,libusb)))
5388 ;; In Requires of upower-glib.pc.
5390 (home-page "https://upower.freedesktop.org/")
5391 (synopsis "System daemon for managing power devices")
5393 "UPower is an abstraction for enumerating power devices,
5394 listening to device events and querying history and statistics. Any
5395 application or service on the system can access the org.freedesktop.UPower
5396 service via the system message bus.")
5397 (license license:gpl2+)))
5399 (define-public libgweather
5401 (name "libgweather")
5405 (uri (string-append "mirror://gnome/sources/" name "/"
5406 (version-major+minor version) "/"
5407 name "-" version ".tar.xz"))
5410 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5411 (build-system meson-build-system)
5413 `(#:tests? #f ; one of two tests requires network access
5415 `(,(string-append "-Dzoneinfo_dir="
5416 (assoc-ref %build-inputs "tzdata")
5417 "/share/zoneinfo"))))
5419 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5420 ("gobject-introspection" ,gobject-introspection)
5421 ("pkg-config" ,pkg-config)
5423 ("intltool" ,intltool)))
5425 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5428 ("gdk-pixbuf" ,gdk-pixbuf)
5429 ("libxml2" ,libxml2)
5430 ("libsoup" ,libsoup)
5431 ("geocode-glib" ,geocode-glib)))
5433 `(("tzdata" ,tzdata)))
5434 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5435 (synopsis "Location, time zone, and weather library for GNOME")
5437 "libgweather is a library to access weather information from online
5438 services for numerous locations.")
5439 (license license:gpl2+)))
5441 (define-public gnome-settings-daemon
5443 (name "gnome-settings-daemon")
5448 (uri (string-append "mirror://gnome/sources/" name "/"
5449 (version-major+minor version) "/"
5450 name "-" version ".tar.xz"))
5453 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5454 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5455 (build-system meson-build-system)
5459 (list (string-append "-Dudev_dir="
5460 (assoc-ref %outputs "out")
5461 "/lib/udev/rules.d/")
5463 ;; Otherwise, the RUNPATH will lack the final path component.
5464 (string-append "-Dc_link_args=-Wl,-rpath="
5465 (assoc-ref %outputs "out")
5466 "/lib/gnome-settings-daemon-3.0"))
5468 #:phases (modify-phases %standard-phases
5469 (add-before 'configure 'set-baobab-file-name
5470 (lambda* (#:key inputs #:allow-other-keys)
5471 ;; Hard-code the file name of Baobab instead of looking
5472 ;; it up in $PATH. This ensures users get the "Examine"
5473 ;; button in the low disk space notification of GDM even
5474 ;; if they don't have GNOME in their main profile.
5475 (let ((baobab (assoc-ref inputs "baobab")))
5476 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5477 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5478 (string-append "g_strdup (\"" baobab
5482 ;; Color management test can't reach the colord system service.
5485 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5486 ("pkg-config" ,pkg-config)
5487 ("intltool" ,intltool)
5488 ("xsltproc" ,libxslt)
5489 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5490 ("docbook-xml" ,docbook-xml-4.2)
5491 ("docbook-xsl" ,docbook-xsl)))
5493 `(("alsa-lib" ,alsa-lib)
5496 ("libgudev" ,libgudev)
5499 ("pulseaudio" ,pulseaudio)
5500 ("libcanberra" ,libcanberra)
5502 ("libxtst" ,libxtst)
5504 ("libnotify" ,libnotify)
5505 ("geoclue" ,geoclue)
5506 ("geocode-glib" ,geocode-glib)
5507 ("libgweather" ,libgweather)
5508 ("gnome-desktop" ,gnome-desktop)
5511 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5512 ("libwacom" ,libwacom)
5513 ("librsvg" ,librsvg)
5514 ("xf86-input-wacom" ,xf86-input-wacom)
5515 ("wayland" ,wayland)
5516 ("network-manager" ,network-manager)
5518 ("modem-manager" ,modem-manager)))
5519 (home-page "https://www.gnome.org")
5520 (synopsis "GNOME settings daemon")
5522 "This package contains the daemon responsible for setting the various
5523 parameters of a GNOME session and the applications that run under it. It
5524 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5525 settings, themes, mouse settings, and startup of other daemons.")
5526 (license license:gpl2+)))
5528 (define-public totem-pl-parser
5530 (name "totem-pl-parser")
5534 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5535 (version-major+minor version) "/"
5536 "totem-pl-parser-" version ".tar.xz"))
5539 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5540 (build-system meson-build-system)
5542 ;; FIXME: Tests require gvfs.
5545 `(("intltool" ,intltool)
5546 ("glib" ,glib "bin")
5547 ("gobject-introspection" ,gobject-introspection)
5548 ("pkg-config" ,pkg-config)))
5552 ("libarchive" ,libarchive)
5553 ("libgcrypt" ,libgcrypt)
5554 ("libxml2" ,libxml2)))
5556 `(("libsoup" ,libsoup)))
5557 (home-page "https://projects.gnome.org/totem")
5558 (synopsis "Library to parse and save media playlists for GNOME")
5559 (description "Totem-pl-parser is a GObjects-based library to parse and save
5560 playlists in a variety of formats.")
5561 (license license:lgpl2.0+)))
5563 (define-public aisleriot
5569 (uri (string-append "mirror://gnome/sources/aisleriot/"
5570 (version-major+minor version) "/"
5571 "aisleriot-" version ".tar.xz"))
5574 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5575 (build-system glib-or-gtk-build-system)
5578 '("--with-platform=gtk-only"
5579 "--with-card-theme-formats=svg")))
5581 `(("desktop-file-utils" ,desktop-file-utils)
5582 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5583 ("intltool" ,intltool)
5584 ("itstool" ,itstool)
5585 ("pkg-config" ,pkg-config)
5586 ("xmllint" ,libxml2)))
5589 ("guile" ,guile-2.2)
5590 ("libcanberra" ,libcanberra)
5591 ("librsvg" ,librsvg)))
5592 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5593 (synopsis "Solitaire card games")
5595 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5596 which are easy to play with the aid of a mouse.")
5597 (license license:gpl3+)))
5605 (uri (string-append "mirror://gnome/sources/amtk/"
5606 (version-major+minor version) "/"
5607 "amtk-" version ".tar.xz"))
5610 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5611 (build-system gnu-build-system)
5613 '(#:configure-flags '("--enable-gtk-doc")))
5615 `(("gobject-introspection" ,gobject-introspection)
5616 ("glib:bin" ,glib "bin") ; for glib-mkenums
5617 ("gtk-doc" ,gtk-doc)
5618 ("pkg-config" ,pkg-config)))
5622 (home-page "https://wiki.gnome.org/Projects/Amtk")
5623 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5625 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5626 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5627 both a traditional UI or a modern UI with a GtkHeaderBar.")
5628 (license license:lgpl2.1+)))
5630 (define-public devhelp
5636 (uri (string-append "mirror://gnome/sources/" name "/"
5637 (version-major+minor version) "/"
5638 name "-" version ".tar.xz"))
5641 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5642 (build-system meson-build-system)
5646 (modify-phases %standard-phases
5647 (add-after 'unpack 'skip-gtk-update-icon-cache
5648 ;; Don't create 'icon-theme.cache'.
5650 (substitute* "meson_post_install.py"
5651 (("gtk-update-icon-cache") "true"))
5654 `(("intltool" ,intltool)
5655 ("itstool" ,itstool)
5656 ("gobject-introspection" ,gobject-introspection)
5657 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5658 ("pkg-config" ,pkg-config)))
5661 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5662 ("webkitgtk" ,webkitgtk)))
5663 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5664 (synopsis "API documentation browser for GNOME")
5666 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5667 natively with GTK-Doc (the API reference system developed for GTK+ and used
5668 throughout GNOME for API documentation).")
5669 (license license:gpl2+)))
5678 (uri (string-append "mirror://gnome/sources/cogl/"
5679 (version-major+minor version) "/"
5680 "cogl-" version ".tar.xz"))
5682 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5683 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5684 ;; cogl, corresponding changes may be appropriate in mutter as well.
5685 (build-system gnu-build-system)
5687 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5688 ("gobject-introspection" ,gobject-introspection)
5689 ("xorg-server" ,xorg-server-for-tests)
5690 ("pkg-config" ,pkg-config)))
5693 ("gdk-pixbuf" ,gdk-pixbuf)
5695 ("libxext" ,libxext)
5696 ("libxfixes" ,libxfixes)
5697 ("libxdamage" ,libxdamage)
5698 ("libxcomposite" ,libxcomposite)
5699 ("libxrandr" ,libxrandr)))
5704 ("gstreamer" ,gstreamer)
5705 ("gst-plugins-base" ,gst-plugins-base)
5706 ("wayland" ,wayland)))
5708 `(#:disallowed-references (,xorg-server-for-tests)
5709 #:configure-flags (list "--enable-cogl-gst"
5710 "--enable-wayland-egl-platform"
5711 "--enable-wayland-egl-server"
5713 ;; Arrange to pass an absolute file name to
5714 ;; dlopen for libGL.so.
5715 (string-append "--with-gl-libname="
5716 (assoc-ref %build-inputs "mesa")
5719 (modify-phases %standard-phases
5720 (add-after 'unpack 'fix-build-with-mesa-20
5722 ;; Work around a problem with Mesa 20 where some macros used by
5723 ;; Cogl went missing from eglext.h. This can likely be removed
5724 ;; for newer versions of Cogl or Mesa.
5725 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5726 (substitute* '("configure"
5727 "cogl/winsys/cogl-winsys-egl-kms.c")
5728 (("#include <EGL/eglext.h>" all)
5729 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5731 (add-before 'check 'start-xorg-server
5732 (lambda* (#:key tests? inputs #:allow-other-keys)
5735 ;; The test suite requires a running X server.
5736 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5737 (assoc-ref inputs "xorg-server")))
5738 (setenv "DISPLAY" ":1")
5740 (format #t "test suite not run~%"))
5742 (home-page "https://www.cogl3d.org")
5743 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5745 "Cogl is a small library for using 3D graphics hardware to draw pretty
5746 pictures. The API departs from the flat state machine style of OpenGL and is
5747 designed to make it easy to write orthogonal components that can render
5748 without stepping on each others toes.")
5749 (license (list license:expat ; most of the code
5750 license:bsd-3 ; cogl/cogl-point-in-poly.c
5751 license:sgifreeb2.0 ; cogl-path/tesselator/
5752 license:asl2.0)))) ; examples/android/
5754 (define-public clutter
5761 (uri (string-append "mirror://gnome/sources/" name "/"
5762 (version-major+minor version) "/"
5763 name "-" version ".tar.xz"))
5766 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5767 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5768 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5769 (build-system gnu-build-system)
5771 "doc")) ;9 MiB of gtk-doc HTML pages
5773 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5774 ("gobject-introspection" ,gobject-introspection)
5775 ("pkg-config" ,pkg-config)
5776 ("xsltproc" ,libxslt)))
5782 ("json-glib" ,json-glib)
5784 ("libxcomposite" ,libxcomposite)
5785 ("libxdamage" ,libxdamage)
5786 ("libxext" ,libxext)
5787 ("xinput" ,xinput)))
5789 `(("libxkbcommon" ,libxkbcommon)
5792 `(#:configure-flags (list "--enable-x11-backend=yes"
5794 ;; This produces share/doc/{clutter,cally}.
5795 (string-append "--with-html-dir="
5796 (assoc-ref %outputs "doc")
5798 ;; XXX FIXME: Get test suite working. It would probably fail in the
5799 ;; same way the cogl tests fail, since clutter is based on cogl.
5801 (home-page "http://www.clutter-project.org")
5802 (synopsis "OpenGL-based interactive canvas library")
5804 "Clutter is an OpenGL-based interactive canvas library, designed for
5805 creating fast, mainly 2D single window applications such as media box UIs,
5806 presentations, kiosk style applications and so on.")
5807 (license license:lgpl2.0+)))
5809 (define-public clutter-gtk
5811 (name "clutter-gtk")
5816 (uri (string-append "mirror://gnome/sources/" name "/"
5817 (version-major+minor version) "/"
5818 name "-" version ".tar.xz"))
5821 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5822 (build-system gnu-build-system)
5824 `(("pkg-config" ,pkg-config)
5825 ("gobject-introspection" ,gobject-introspection)))
5827 ;; clutter-gtk.pc refers to all these.
5828 `(("clutter" ,clutter)
5830 (home-page "http://www.clutter-project.org")
5831 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5833 "Clutter is an OpenGL-based interactive canvas library, designed for
5834 creating fast, mainly 2D single window applications such as media box UIs,
5835 presentations, kiosk style applications and so on.")
5836 (license license:lgpl2.0+)))
5838 (define-public clutter-gst
5840 (name "clutter-gst")
5845 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5846 (version-major+minor version) "/"
5847 "clutter-gst-" version ".tar.xz"))
5849 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5850 (build-system gnu-build-system)
5852 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5853 ("pkg-config" ,pkg-config)
5854 ("gobject-introspection" ,gobject-introspection)))
5856 `(("clutter" ,clutter)
5857 ("gstreamer" ,gstreamer)
5858 ("gst-plugins-base" ,gst-plugins-base)))
5859 (home-page "http://www.clutter-project.org")
5860 (synopsis "Integration library for using GStreamer with Clutter")
5862 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5863 It provides a GStreamer sink to upload frames to GL and an actor that
5864 implements the ClutterGstPlayer interface using playbin. Clutter is an
5865 OpenGL-based interactive canvas library.")
5866 (license license:lgpl2.0+)))
5868 (define-public libchamplain
5870 (name "libchamplain")
5875 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5879 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5880 (build-system gnu-build-system)
5881 (arguments '(#:configure-flags '("--enable-vala")))
5883 `(("gobject-introspection" ,gobject-introspection)
5884 ("pkg-config" ,pkg-config)
5887 `(("libsoup" ,libsoup)
5889 ("clutter" ,clutter)
5890 ("clutter-gtk" ,clutter-gtk)
5891 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5895 (home-page "https://projects.gnome.org/libchamplain/")
5896 (synopsis "C library providing a ClutterActor to display maps")
5898 "libchamplain is a C library providing a ClutterActor to display maps.
5899 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5900 and Perl bindings are also available. It supports numerous free map sources
5901 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5902 (license license:lgpl2.1+)))
5911 (uri (string-append "mirror://gnome/sources/gom/"
5912 (version-major+minor version) "/"
5913 "gom-" version ".tar.xz"))
5916 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5917 (build-system gnu-build-system)
5919 `(("intltool" ,intltool)
5920 ("pkg-config" ,pkg-config)
5921 ("gobject-introspection" ,gobject-introspection)))
5924 ("gdk-pixbuf" ,gdk-pixbuf)
5925 ("sqlite" ,sqlite)))
5926 ;; XXX TODO: Figure out how to run the test suite.
5927 (arguments `(#:tests? #f))
5928 (home-page "https://wiki.gnome.org/Projects/Gom")
5929 (synopsis "Object mapper from GObjects to SQLite")
5931 "Gom provides an object mapper from GObjects to SQLite. It helps you
5932 write applications that need to store structured data as well as make complex
5933 queries upon that data.")
5934 (license license:lgpl2.1+)))
5936 (define-public libgnome-games-support
5938 (name "libgnome-games-support")
5942 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5943 (version-major+minor version) "/"
5944 "libgnome-games-support-" version ".tar.xz"))
5947 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
5948 (build-system gnu-build-system)
5951 (modify-phases %standard-phases
5952 (add-before 'check 'pre-check
5954 ;; Tests require a writable HOME.
5955 (setenv "HOME" (getcwd))
5958 `(("intltool" ,intltool)
5959 ("pkg-config" ,pkg-config)
5962 ;; Required by libgnome-games-support-1.0.pc
5964 ("libgee" ,libgee)))
5965 (home-page "https://www.gnome.org/")
5966 (synopsis "Useful functionality shared among GNOME games")
5968 "libgnome-games-support is a small library intended for internal use by
5969 GNOME Games, but it may be used by others.")
5970 (license license:lgpl3+)))
5972 (define-public gnome-klotski
5974 (name "gnome-klotski")
5978 (uri (string-append "mirror://gnome/sources/" name "/"
5979 (version-major+minor version) "/"
5980 name "-" version ".tar.xz"))
5983 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
5984 (build-system meson-build-system)
5988 (modify-phases %standard-phases
5989 (add-after 'unpack 'skip-gtk-update-icon-cache
5990 ;; Don't create 'icon-theme.cache'.
5992 (substitute* "build-aux/meson_post_install.py"
5993 (("gtk-update-icon-cache") (which "true")))
5996 `(("desktop-file-utils" ,desktop-file-utils)
5997 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5998 ("intltool" ,intltool)
5999 ("itstool" ,itstool)
6000 ("pkg-config" ,pkg-config)
6002 ("xmllint" ,libxml2)))
6005 ("libgnome-games-support" ,libgnome-games-support)
6006 ("librsvg" ,librsvg)))
6007 (home-page "https://wiki.gnome.org/Apps/Klotski")
6008 (synopsis "Sliding block puzzles")
6010 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6011 the patterned block to the area bordered by green markers. To do so, you will
6012 need to slide other blocks out of the way. Complete each puzzle in as few moves
6014 (license license:gpl2+)))
6016 (define-public grilo
6023 (uri (string-append "mirror://gnome/sources/grilo/"
6024 (version-major+minor version) "/"
6025 "grilo-" version ".tar.xz"))
6027 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6028 (build-system meson-build-system)
6030 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6031 ("intltool" ,intltool)
6032 ("pkg-config" ,pkg-config)
6033 ("gobject-introspection" ,gobject-introspection)
6034 ("gtk-doc" ,gtk-doc)
6037 `(("cyrus-sasl" ,cyrus-sasl)
6040 ("libxml2" ,libxml2)
6041 ("liboauth" ,liboauth)
6042 ("libsoup" ,libsoup)
6043 ("totem-pl-parser" ,totem-pl-parser)))
6044 (native-search-paths
6045 (list (search-path-specification
6046 (variable "GRL_PLUGIN_PATH")
6047 (files (list (string-append "lib/grilo-"
6048 (version-major+minor version)))))))
6049 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6050 (synopsis "Framework for discovering and browsing media")
6052 "Grilo is a framework focused on making media discovery and browsing easy
6053 for application developers.")
6054 (license license:lgpl2.1+)))
6056 (define-public grilo-plugins
6058 (name "grilo-plugins")
6063 (uri (string-append "mirror://gnome/sources/" name "/"
6064 (version-major+minor version) "/"
6065 name "-" version ".tar.xz"))
6067 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6068 (build-system meson-build-system)
6070 `(("gettext" ,gettext-minimal)
6071 ("glib:bin" ,glib "bin")
6072 ("gtk+:bin" ,gtk+ "bin")
6073 ("itstool" ,itstool)
6074 ("pkg-config" ,pkg-config)))
6075 ;; TODO: ahavi, gstreamer
6078 ;("gmime" ,gmime) ; unused
6079 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6081 ;("gssdp" ,gssdp) ; unused
6082 ;("gupnp" ,gupnp) ; unused
6083 ;("gupnp-av" ,gupnp-av) ; unused
6084 ("json-glib" ,json-glib)
6086 ("libgdata" ,libgdata)
6087 ("libmediaart" ,libmediaart)
6088 ;("librest" ,rest) ; unused
6089 ("libsoup" ,libsoup)
6090 ("totam-pl-parser" ,totem-pl-parser)
6091 ("tracker" ,tracker))) ; unused because it's too old
6094 ;;Disable lua-factory as it needs missing dependencies
6095 #:configure-flags '("-Denable-lua-factory=no")))
6096 (home-page "https://live.gnome.org/Grilo")
6097 (synopsis "Plugins for the Grilo media discovery library")
6099 "Grilo is a framework focused on making media discovery and browsing easy
6100 for application developers. This package provides plugins for common media
6101 discovery protocols.")
6102 (license license:lgpl2.1+)))
6104 (define-public totem
6111 (uri (string-append "mirror://gnome/sources/totem/"
6112 (version-major+minor version) "/"
6113 "totem-" version ".tar.xz"))
6116 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6117 (build-system meson-build-system)
6119 `(("pkg-config" ,pkg-config)
6120 ("desktop-file-utils" ,desktop-file-utils)
6121 ("gettext" ,gettext-minimal)
6122 ("gobject-introspection" ,gobject-introspection)
6123 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6124 ("itstool" ,itstool)
6125 ("xmllint" ,libxml2)
6126 ("xorg-server" ,xorg-server-for-tests)))
6128 `(("dconf" ,dconf)))
6131 ("gdk-pixbuf" ,gdk-pixbuf)
6134 ("dbus-glib" ,dbus-glib)
6135 ("clutter" ,clutter)
6136 ("clutter-gtk" ,clutter-gtk)
6137 ("clutter-gst" ,clutter-gst)
6138 ("xorgproto" ,xorgproto)
6139 ("libxxf86vm" ,libxxf86vm)
6140 ("libxtst" ,libxtst)
6141 ("libxrandr" ,libxrandr)
6142 ("libxml2" ,libxml2)
6143 ("libsoup" ,libsoup)
6144 ("libpeas" ,libpeas)
6145 ("librsvg" ,librsvg)
6147 ("gnome-desktop" ,gnome-desktop)
6148 ("gstreamer" ,gstreamer)
6149 ("gst-plugins-base" ,gst-plugins-base)
6150 ("gst-plugins-good" ,gst-plugins-good)
6151 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6152 ("adwaita-icon-theme" ,adwaita-icon-theme)
6154 ("python-pygobject" ,python-pygobject)
6155 ("totem-pl-parser" ,totem-pl-parser)
6157 ("grilo-plugins" ,grilo-plugins)
6162 ;; Disable automatic GStreamer plugin installation via PackageKit and
6164 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6166 ;; Do not build .a files for the plugins, it's
6167 ;; completely useless. This saves 2 MiB.
6168 "--default-library" "shared")
6170 (modify-phases %standard-phases
6171 (add-after 'unpack 'skip-gtk-update-icon-cache
6172 ;; Don't create 'icon-theme.cache'.
6174 (substitute* "meson_post_install.py"
6175 (("gtk-update-icon-cache") "true"))
6177 (add-after 'unpack 'patch-failing-test
6179 ;; Work around test failure with GStreamer 1.18, because the test
6180 ;; relies on "und" not being mapped to a particular language:
6181 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6182 (substitute* "src/test-totem.c"
6183 (("und") "nosuchlang"))
6186 'install 'disable-cache-generation
6188 (setenv "DESTDIR" "/")
6193 ;; Tests require a running X server.
6194 (system "Xvfb :1 &")
6195 (setenv "DISPLAY" ":1")
6198 'install 'wrap-totem
6199 (lambda* (#:key inputs outputs #:allow-other-keys)
6200 (let ((out (assoc-ref outputs "out"))
6201 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6202 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6203 (wrap-program (string-append out "/bin/totem")
6204 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6205 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6206 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6207 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6209 (home-page "https://wiki.gnome.org/Apps/Videos")
6210 (synopsis "Simple media player for GNOME based on GStreamer")
6211 (description "Totem is a simple yet featureful media player for GNOME
6212 which can read a large number of file formats.")
6213 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6214 ;; to be used and distributed together with GStreamer and Totem. See
6215 ;; file://COPYING in the source distribution for details.
6216 (license license:gpl2+)))
6218 (define-public rhythmbox
6224 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6225 (version-major+minor version) "/"
6226 "rhythmbox-" version ".tar.xz"))
6229 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6230 (build-system glib-or-gtk-build-system)
6233 (list "--enable-lirc"
6240 (modify-phases %standard-phases
6242 'install 'wrap-rhythmbox
6243 (lambda* (#:key inputs outputs #:allow-other-keys)
6244 (let ((out (assoc-ref outputs "out"))
6245 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6246 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6247 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6248 (python-path (getenv "PYTHONPATH")))
6249 (wrap-program (string-append out "/bin/rhythmbox")
6250 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6251 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6252 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6253 `("PYTHONPATH" ":" prefix (,python-path))))
6256 `(("dconf" ,dconf)))
6258 `(("itstool" ,itstool)
6259 ("intltool" ,intltool)
6260 ("glib" ,glib "bin")
6261 ("gobject-introspection" ,gobject-introspection)
6262 ("desktop-file-utils" ,desktop-file-utils)
6263 ("pkg-config" ,pkg-config)
6264 ("xmllint" ,libxml2)))
6266 `(("json-glib" ,json-glib)
6268 ("gnome-desktop" ,gnome-desktop)
6270 ("python-pygobject" ,python2-pygobject)
6273 ("adwaita-icon-theme" ,adwaita-icon-theme)
6275 ("grilo-plugins" ,grilo-plugins)
6276 ("gstreamer" ,gstreamer)
6277 ("gst-plugins-base" ,gst-plugins-base)
6278 ("gst-plugins-good" ,gst-plugins-good)
6279 ("totem-pl-parser" ,totem-pl-parser)
6280 ("libgudev" ,libgudev)
6281 ;;("libmtp" ,libmtp) FIXME: Not detected
6282 ("libsecret" ,libsecret)
6283 ("libsoup" ,libsoup)
6284 ("libnotify" ,libnotify)
6285 ("libpeas" ,libpeas)
6287 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6288 ;;("clutter" ,clutter)
6289 ;;("clutter-gtk" ,clutter-gtk)
6290 ;;("clutter-gst" ,clutter-gst)
6291 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6298 ("brasero" ,brasero)))
6299 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6300 (synopsis "Music player for GNOME")
6301 (description "Rhythmbox is a music playing application for GNOME. It
6302 supports playlists, song ratings, and any codecs installed through gstreamer.")
6303 (license license:gpl2+)))
6311 (uri (string-append "mirror://gnome/sources/" name "/"
6312 (version-major+minor version) "/"
6313 name "-" version ".tar.xz"))
6316 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6317 (build-system meson-build-system)
6320 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6321 (list (string-append "-Dc_link_args=-Wl,-rpath="
6322 (assoc-ref %outputs "out") "/lib/eog"))
6324 (modify-phases %standard-phases
6325 (add-after 'unpack 'skip-gtk-update-icon-cache
6326 ;; Don't create 'icon-theme.cache'.
6328 (substitute* "meson_post_install.py"
6329 (("gtk-update-icon-cache") "true"))
6331 (add-after 'install 'wrap-eog
6332 (lambda* (#:key outputs #:allow-other-keys)
6333 (let ((out (assoc-ref outputs "out"))
6334 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6335 (wrap-program (string-append out "/bin/eog")
6336 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6339 `(("dconf" ,dconf)))
6341 `(("intltool" ,intltool)
6342 ("itstool" ,itstool)
6343 ("glib" ,glib "bin")
6344 ("gobject-introspection" ,gobject-introspection)
6345 ("pkg-config" ,pkg-config)
6346 ("xmllint" ,libxml2)))
6348 `(("gnome-desktop" ,gnome-desktop)
6349 ("shared-mime-info" ,shared-mime-info)
6350 ("adwaita-icon-theme" ,adwaita-icon-theme)
6353 ("libexif" ,libexif)
6354 ("libpeas" ,libpeas)
6355 ("libjpeg" ,libjpeg-turbo)
6356 ("librsvg" ,librsvg-next)
6357 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6359 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6360 (synopsis "GNOME image viewer")
6361 (description "Eye of GNOME is the GNOME image viewer. It
6362 supports image conversion, rotation, and slideshows.")
6363 (license license:gpl2+)))
6365 (define-public eog-plugins
6366 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6367 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6368 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6369 ;; 'XDG_DATA_DIRS' appropriately set.
6371 (name "eog-plugins")
6375 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6376 (version-major+minor version) "/"
6377 "eog-plugins-" version ".tar.xz"))
6380 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6381 (build-system gnu-build-system)
6382 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6383 (synopsis "Extensions for the Eye of GNOME image viewer")
6385 `(("pkg-config" ,pkg-config)
6386 ("gettext" ,gettext-minimal)))
6391 ("libpeas" ,libpeas)
6392 ("libexif" ,libexif)
6393 ("libchamplain" ,libchamplain)))
6395 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6399 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6400 @item @dfn{Map}, which displays a map of where the picture was taken on the
6402 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6405 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6406 ;; long suspicious byte stream that goes to a
6407 ;; ".gresource.eog_postasa_plugin" ELF section.
6408 (license license:gpl2+)))
6410 (define-public libgudev
6416 (uri (string-append "mirror://gnome/sources/" name "/"
6417 version "/" name "-" version ".tar.xz"))
6420 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6421 (build-system gnu-build-system)
6424 ;; umockdev depends on libgudev.
6425 (list "--disable-umockdev")))
6427 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6428 ("gobject-introspection" ,gobject-introspection)
6429 ("pkg-config" ,pkg-config)))
6431 `(("glib" ,glib))) ; required by gudev-1.0.pc
6434 (home-page "https://wiki.gnome.org/Projects/libgudev")
6435 (synopsis "GObject bindings for libudev")
6437 "This library provides GObject bindings for libudev. It was originally
6438 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6439 (license license:lgpl2.1+)))
6447 (uri (string-append "mirror://gnome/sources/gvfs/"
6448 (version-major+minor version) "/"
6449 "gvfs-" version ".tar.xz"))
6452 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
6453 ;; This patch may be removed when upgrading to version 1.46.x.
6455 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6456 (build-system meson-build-system)
6460 (list "-Dsystemduserunitdir=no"
6462 ;; Otherwise, the RUNPATH will lack the final path component.
6463 (string-append "-Dc_link_args=-Wl,-rpath="
6464 (assoc-ref %outputs "out") "/lib/gvfs"))))
6466 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6467 ("gettext" ,gettext-minimal)
6468 ("gtk-doc" ,gtk-doc)
6469 ("pkg-config" ,pkg-config)
6470 ("xsltproc" ,libxslt)))
6473 ("docbook-xml" ,docbook-xml-4.2)
6474 ("docbook-xsl" ,docbook-xsl)
6476 ("elogind" ,elogind)
6480 ("gnome-online-accounts" ,gnome-online-accounts)
6481 ("libarchive" ,libarchive)
6482 ("libbluray" ,libbluray)
6484 ("libcdio-paranoia" ,libcdio-paranoia)
6485 ("libgcrypt" ,libgcrypt)
6486 ("libgdata" ,libgdata)
6487 ("libgphoto2" ,libgphoto2)
6488 ("libgudev" ,libgudev)
6489 ("libimobiledevice" ,libimobiledevice)
6492 ("libsecret" ,libsecret)
6493 ("libsmbclient" ,samba)
6494 ("libsoup" ,libsoup)
6495 ("libxml2" ,libxml2)
6496 ("openssh" ,openssh)
6498 ("udisks" ,udisks)))
6499 (home-page "https://wiki.gnome.org/gvfs/")
6500 (synopsis "Userspace virtual file system for GIO")
6502 "GVFS is a userspace virtual file system designed to work with the I/O
6503 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6504 to all applications using the GIO API. It also supports exposing the GVFS
6505 mounts to non-GIO applications using FUSE.
6507 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6509 (license license:lgpl2.0+)))
6518 (url "https://github.com/hughsie/libgusb")
6520 (file-name (git-file-name name version))
6523 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6524 (build-system meson-build-system)
6526 `(("gobject-introspection" ,gobject-introspection)
6527 ("pkg-config" ,pkg-config)
6529 ("gtk-doc" ,gtk-doc)))
6531 ;; Both of these are required by gusb.pc.
6533 ("libusb" ,libusb)))
6535 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6536 (home-page "https://github.com/hughsie/libgusb")
6537 (synopsis "GLib binding for libusb1")
6539 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6540 asynchronous control, bulk and interrupt transfers with proper cancellation
6541 and integration into a mainloop. This makes it easy to integrate low level
6542 USB transfers with your high-level application or system daemon.")
6543 (license license:lgpl2.1+)))
6545 (define-public simple-scan
6547 (name "simple-scan")
6552 (uri (string-append "mirror://gnome/sources/simple-scan/"
6553 (version-major+minor version) "/"
6554 "simple-scan-" version ".tar.xz"))
6556 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6557 (build-system meson-build-system)
6558 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6560 '(#:glib-or-gtk? #t))
6566 ("gdk-pixbuf" ,gdk-pixbuf)
6568 ("libsane" ,sane-backends)))
6570 `(("gettext" ,gettext-minimal)
6571 ("itstool" ,itstool)
6572 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6573 ("pkg-config" ,pkg-config)
6575 ("xmllint" ,libxml2)))
6576 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6577 (synopsis "Document and image scanner")
6579 "Document Scanner is an easy-to-use application that lets you connect your
6580 scanner and quickly capture images and documents in an appropriate format. It
6581 supports any scanner for which a suitable SANE driver is available, which is
6582 almost all of them.")
6583 (license license:gpl3+)))
6585 (define-public eolie
6591 (uri (string-append "https://adishatz.org/eolie/eolie-"
6595 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6596 (build-system meson-build-system)
6600 (modify-phases %standard-phases
6601 (add-after 'unpack 'skip-gtk-update-icon-cache
6602 ;; Don't create 'icon-theme.cache'.
6604 (substitute* "meson_post_install.py"
6605 (("gtk-update-icon-cache") "true"))
6607 (add-after 'wrap 'wrap-more
6608 (lambda* (#:key inputs outputs #:allow-other-keys)
6609 (let* ((out (assoc-ref outputs "out"))
6610 ;; These libraries must be on LD_LIBRARY_PATH.
6611 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6612 "atk" "gtk+" "gsettings-desktop-schemas"
6613 "gobject-introspection"))
6616 (string-append (assoc-ref inputs lib) "/lib"))
6619 (wrap-program (string-append out "/bin/eolie")
6620 `("LD_LIBRARY_PATH" ":" prefix (,path))
6621 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6622 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6625 `(("intltool" ,intltool)
6626 ("itstool" ,itstool)
6627 ("pkg-config" ,pkg-config)
6629 ("glib:bin" ,glib "bin")))
6631 `(("gobject-introspection" ,gobject-introspection)
6632 ("glib-networking" ,glib-networking)
6635 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6636 ("python" ,python-wrapper)
6637 ("python-dateutil" ,python-dateutil)
6638 ("python-pyfxa" ,python-pyfxa)
6639 ("python-pygobject" ,python-pygobject)
6640 ("python-pycairo" ,python-pycairo)
6641 ("python-pycrypto" ,python-pycrypto)
6642 ("libsecret" ,libsecret)
6643 ("gtkspell3" ,gtkspell3)
6644 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6645 ("webkitgtk" ,webkitgtk)))
6646 (home-page "https://wiki.gnome.org/Apps/Eolie")
6647 (synopsis "Web browser for GNOME")
6649 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6650 a secret password store, an adblocker, and a modern UI.")
6651 (license license:gpl3+)))
6653 (define-public epiphany
6659 (uri (string-append "mirror://gnome/sources/epiphany/"
6660 (version-major+minor version) "/"
6661 "epiphany-" version ".tar.xz"))
6664 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6666 (build-system meson-build-system)
6670 (modify-phases %standard-phases
6671 (add-after 'unpack 'skip-gtk-update-icon-cache
6672 ;; Don't create 'icon-theme.cache'.
6674 (substitute* "post_install.py"
6675 (("gtk-update-icon-cache") "true"))
6677 (add-after 'unpack 'disable-failing-tests
6679 (substitute* "tests/meson.build"
6680 ;; embed_shell fails, because webkitgtk apparently no longer supports
6681 ;; overriding the ftp schema
6682 ;; web_app_utils fails due to missing network access
6683 (("(embed_shell|web_app_utils)_test,")
6684 "find_program('sh'), args: ['-c', 'exit 77'],"))
6686 (add-before 'check 'pre-check
6688 ;; Tests require a running X server.
6689 (system "Xvfb :1 &")
6690 (setenv "DISPLAY" ":1")
6693 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6694 (list (string-append "-Dc_link_args=-Wl,-rpath="
6695 (assoc-ref %outputs "out") "/lib/epiphany"))))
6697 `(("dconf" ,dconf)))
6699 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6700 ("glib:bin" ,glib "bin") ; for glib-mkenums
6701 ("intltool" ,intltool)
6702 ("itstool" ,itstool)
6703 ("pkg-config" ,pkg-config)
6704 ("xmllint" ,libxml2)
6705 ("xorg-server" ,xorg-server-for-tests)))
6709 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6710 ("glib-networking" ,glib-networking)
6711 ("gnome-desktop" ,gnome-desktop)
6712 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6713 ("json-glib" ,json-glib)
6714 ("iso-codes" ,iso-codes)
6715 ("libdazzle" ,libdazzle)
6716 ("libnotify" ,libnotify)
6717 ("libsecret" ,libsecret)
6718 ("libxslt" ,libxslt)
6719 ("nettle" ,nettle) ; for hogweed
6721 ("webkitgtk" ,webkitgtk)))
6722 (home-page "https://wiki.gnome.org/Apps/Web")
6723 (synopsis "GNOME web browser")
6725 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6726 principles are simplicity and standards compliance.")
6727 (license license:gpl2+)))
6729 (define-public d-feet
6735 (uri (string-append "mirror://gnome/sources/" name "/"
6736 (version-major+minor version) "/"
6737 name "-" version ".tar.xz"))
6740 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6741 (build-system glib-or-gtk-build-system)
6743 '(#:out-of-source? #f ; tests need to run in the source directory.
6745 (modify-phases %standard-phases
6749 ;; The test suite requires a running X server.
6750 (system "Xvfb :1 &")
6751 (setenv "DISPLAY" ":1")
6752 ;; Don't fail on missing '/etc/machine-id'.
6753 (setenv "DBUS_FATAL_WARNINGS" "0")
6754 ;; tests.py and window.py don't meet E402:
6755 ;; E402 module level import not at top of file
6756 (substitute* "src/tests/Makefile"
6757 (("--ignore=E123") "--ignore=E123,E402"))
6760 'install 'wrap-program
6761 (lambda* (#:key outputs #:allow-other-keys)
6762 (let ((prog (string-append (assoc-ref outputs "out")
6765 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6766 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6769 `(("intltool" ,intltool)
6770 ("itstool" ,itstool)
6771 ("pkg-config" ,pkg-config)
6772 ("python-pep8" ,python-pep8)
6773 ("xmllint" ,libxml2)
6774 ("xorg-server" ,xorg-server-for-tests)))
6776 `(("gobject-introspection" ,gobject-introspection)
6778 ("python" ,python-wrapper)
6779 ("hicolor-icon-theme" ,hicolor-icon-theme)
6780 ("python-pygobject" ,python-pygobject)))
6781 (home-page "https://wiki.gnome.org/Apps/DFeet")
6782 (synopsis "D-Bus debugger")
6784 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6785 of running programs and invoke methods on those interfaces.")
6786 (license license:gpl2+)))
6788 (define-public yelp-xsl
6796 (string-append "mirror://gnome/sources/" name "/"
6797 (version-major+minor version) "/"
6798 name "-" version ".tar.xz"))
6800 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6801 (build-system gnu-build-system)
6803 `(("gettext-minimal" ,gettext-minimal)
6804 ("itstool" ,itstool)
6805 ("xmllint" ,libxml2)))
6806 (synopsis "XSL stylesheets for Yelp")
6807 (description "Yelp-XSL is a collection of programs and data files to help
6808 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6809 that can be built upon for help viewers and publishing systems. These
6810 stylesheets output JavaScript and CSS content, and reference images
6811 provided by yelp-xsl. It also redistributes copies of the jQuery and
6812 jQuery.Syntax JavaScript libraries.")
6813 (home-page "https://wiki.gnome.org/Apps/Yelp")
6829 (uri (string-append "mirror://gnome/sources/" name "/"
6830 (version-major+minor version) "/"
6831 name "-" version ".tar.xz"))
6834 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6835 (build-system glib-or-gtk-build-system)
6837 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6838 ("intltool" ,intltool)
6839 ("itstool" ,itstool)
6840 ("pkg-config" ,pkg-config)))
6842 `(("dconf" ,dconf)))
6844 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6845 ("libxslt" ,libxslt)
6847 ("webkitgtk" ,webkitgtk)
6848 ("yelp-xsl" ,yelp-xsl)))
6849 (home-page "https://wiki.gnome.org/Apps/Yelp")
6850 (synopsis "GNOME help browser")
6852 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6853 man, info, and HTML documents. It can locate documents according to the
6854 freedesktop.org help system specification.")
6855 (license license:gpl2+)))
6857 (define-public yelp-tools
6865 (string-append "mirror://gnome/sources/" name "/"
6866 (version-major+minor version) "/"
6867 name "-" version ".tar.xz"))
6869 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6870 (build-system gnu-build-system)
6872 `(("pkg-config" ,pkg-config)))
6874 `(("yelp-xsl" ,yelp-xsl)))
6876 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6877 `(("itstool" ,itstool)
6878 ("xmllint" ,libxml2)
6879 ("xsltproc" ,libxslt)))
6880 (synopsis "Yelp documentation tools")
6882 "Yelp-tools is a collection of scripts and build utilities to help create,
6883 manage, and publish documentation for Yelp and the web. Most of the heavy
6884 lifting is done by packages like yelp-xsl and itstool. This package just
6885 wraps things up in a developer-friendly way.")
6886 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6887 (license license:gpl2+)))
6889 (define-public libgee
6895 (uri (string-append "mirror://gnome/sources/libgee/"
6896 (version-major+minor version) "/"
6897 "libgee-" version ".tar.xz"))
6900 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6901 (build-system gnu-build-system)
6904 (modify-phases %standard-phases
6905 (add-after 'unpack 'fix-introspection-install-dir
6906 (lambda* (#:key outputs #:allow-other-keys)
6907 (let ((out (assoc-ref outputs "out")))
6908 (substitute* "gee/Makefile.in"
6909 (("@INTROSPECTION_GIRDIR@")
6910 (string-append out "/share/gir-1.0/"))
6911 (("@INTROSPECTION_TYPELIBDIR@")
6912 (string-append out "/lib/girepository-1.0/")))))))))
6914 `(("glib" ,glib "bin")
6915 ("pkg-config" ,pkg-config)))
6918 ("gobject-introspection" ,gobject-introspection)))
6919 (home-page "https://wiki.gnome.org/Projects/Libgee")
6920 (synopsis "GObject collection library")
6922 "Libgee is a utility library providing GObject-based interfaces and
6923 classes for commonly used data structures.")
6924 (license license:lgpl2.1+)))
6926 (define-public gexiv2
6932 (uri (string-append "mirror://gnome/sources/" name "/"
6933 (version-major+minor version) "/"
6934 name "-" version ".tar.xz"))
6937 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
6938 (build-system meson-build-system)
6941 ("glib" ,glib "bin")
6942 ("pkg-config" ,pkg-config)
6945 ;; Listed in "Requires" section of gexiv2.pc
6946 `(("exiv2" ,exiv2)))
6949 ("gobject-introspection" ,gobject-introspection)))
6950 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6951 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6953 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6954 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6955 metadata in photo and video files of various formats.")
6956 (license license:gpl2+)))
6958 (define-public shotwell
6964 (uri (string-append "mirror://gnome/sources/shotwell/"
6965 (version-major+minor version) "/"
6966 "shotwell-" version ".tar.xz"))
6969 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
6970 (build-system meson-build-system)
6974 (modify-phases %standard-phases
6975 (add-after 'unpack 'skip-gtk-update-icon-cache
6977 (substitute* "build-aux/meson/postinstall.py"
6978 (("gtk-update-icon-cache") (which "true"))
6979 (("update-desktop-database") (which "true")))
6982 `(("dconf" ,dconf)))
6984 `(("gettext" ,gettext-minimal)
6985 ("glib:bin" ,glib "bin")
6986 ("itstool" ,itstool)
6987 ("pkg-config" ,pkg-config)
6992 ("gst-plugins-base" ,gst-plugins-base)
6993 ("gstreamer" ,gstreamer)
6994 ("json-glib" ,json-glib)
6995 ("libgdata" ,libgdata)
6997 ("libgphoto2" ,libgphoto2)
6998 ("libgudev" ,libgudev)
7000 ("libsoup" ,libsoup)
7001 ("libxml2" ,libxml2)
7003 ("webkitgtk" ,webkitgtk)))
7004 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7005 (synopsis "Photo manager for GNOME 3")
7007 "Shotwell is a digital photo manager designed for the GNOME desktop
7008 environment. It allows you to import photos from disk or camera, organize
7009 them by keywords and events, view them in full-window or fullscreen mode, and
7010 share them with others via social networking and more.")
7011 (license license:lgpl2.1+)))
7013 (define-public file-roller
7015 (name "file-roller")
7019 (uri (string-append "mirror://gnome/sources/file-roller/"
7020 (version-major+minor version) "/"
7021 "file-roller-" version ".tar.xz"))
7024 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7025 (build-system meson-build-system)
7027 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7028 ("intltool" ,intltool)
7029 ("itstool" ,itstool)
7030 ("pkg-config" ,pkg-config)
7031 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7032 ("glib:bin" ,glib "bin")))
7033 ;; TODO: Add libnautilus.
7036 ("gdk-pixbuf" ,gdk-pixbuf)
7037 ("json-glib" ,json-glib)
7038 ("libarchive" ,libarchive)
7039 ("libnotify" ,libnotify)
7041 ("libxml2" ,libxml2)))
7042 (synopsis "Graphical archive manager for GNOME")
7043 (description "File Roller is an archive manager for the GNOME desktop
7044 environment that allows users to view, unpack, and create compressed archives
7045 such as gzip tarballs.")
7046 (home-page "http://fileroller.sourceforge.net/")
7047 (license license:gpl2+)))
7049 (define-public gnome-session
7051 (name "gnome-session")
7055 (uri (string-append "mirror://gnome/sources/" name "/"
7056 (version-major+minor version) "/"
7057 name "-" version ".tar.xz"))
7060 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7064 (modify-phases %standard-phases
7065 (add-before 'configure 'pre-configure
7066 (lambda* (#:key outputs #:allow-other-keys)
7067 ;; Use elogind instead of systemd.
7068 (substitute* "meson.build"
7069 (("libsystemd-login") "libelogind")
7070 (("and libsystemd_daemon_dep.found.*") ","))
7071 (substitute* "gnome-session/gsm-systemd.c"
7072 (("#include <systemd/sd-login.h>")
7073 "#include <elogind/sd-login.h>"))
7074 ;; Remove uses of the systemd daemon.
7075 (substitute* "gnome-session/gsm-autostart-app.c"
7076 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7078 (add-after 'install 'wrap-gnome-session
7079 (lambda* (#:key inputs outputs #:allow-other-keys)
7080 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7081 (let ((glib (assoc-ref inputs "glib:bin"))
7082 (out (assoc-ref outputs "out")))
7083 (wrap-program (string-append out "/bin/gnome-session")
7084 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7088 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7089 "-Dman=false" ; FIXME: disabled because of docbook validation error
7090 "-Dsystemd_journal=false")))
7091 (build-system meson-build-system)
7093 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7094 ("pkg-config" ,pkg-config)
7095 ("intltool" ,intltool)
7096 ("xsltproc" ,libxslt)
7097 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7098 ("docbook-xsl" ,docbook-xsl)
7099 ("docbook-xml" ,docbook-xml)
7102 `(("elogind" ,elogind)
7103 ("gnome-desktop" ,gnome-desktop)
7104 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7106 ("json-glib" ,json-glib)
7108 ("libxcomposite" ,libxcomposite)
7109 ("libxtst" ,libxtst)
7112 ("xtrans" ,xtrans)))
7113 (synopsis "Session manager for GNOME")
7115 "This package contains the GNOME session manager, as well as a
7116 configuration program to choose applications starting on login.")
7117 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7118 (license license:gpl2+)))
7126 (uri (string-append "mirror://gnome/sources/" name "/"
7127 (version-major+minor version) "/"
7128 name "-" version ".tar.xz"))
7131 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7132 (build-system gnu-build-system)
7135 (modify-phases %standard-phases
7139 ;; The test suite requires a running X server.
7140 (system "Xvfb :1 &")
7141 (setenv "DISPLAY" ":1")
7143 ;; For the missing /etc/machine-id.
7144 (setenv "DBUS_FATAL_WARNINGS" "0")
7146 ;; Our mozjs-38 package does not compile the required Intl API
7147 ;; support for these failing tests.
7148 (substitute* "installed-tests/js/testLocale.js"
7149 ((".*toBeDefined.*") "")
7150 ((".*expect\\(datestr\\).*") ""))
7151 (substitute* "installed-tests/scripts/testCommandLine.sh"
7156 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7157 ("pkg-config" ,pkg-config)
7158 ("xmllint" ,libxml2)
7160 ("dbus-launch" ,dbus)
7161 ("dconf" ,dconf) ; required to properly store settings
7162 ("uuidgen" ,util-linux)
7163 ("xvfb" ,xorg-server-for-tests)))
7165 ;; These are all in the Requires.private field of gjs-1.0.pc.
7167 ("gobject-introspection" ,gobject-introspection)
7168 ("mozjs" ,mozjs-60)))
7171 ("readline" ,readline)))
7172 (synopsis "Javascript bindings for GNOME")
7173 (home-page "https://live.gnome.org/Gjs")
7175 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7176 javascript engine and the GObject introspection framework.")
7177 (license license:gpl2+)))
7179 (define-public gedit
7185 (uri (string-append "mirror://gnome/sources/" name "/"
7186 (version-major+minor version) "/"
7187 name "-" version ".tar.xz"))
7190 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7191 (build-system meson-build-system)
7195 ;; Otherwise, the RUNPATH will lack the final path component.
7196 (list (string-append "-Dc_link_args=-Wl,-rpath="
7197 (assoc-ref %outputs "out") "/lib/gedit"))
7199 ;; XXX: Generated .h files are sometimes used before being built.
7200 #:parallel-build? #f
7203 (modify-phases %standard-phases
7204 (add-after 'unpack 'skip-gtk-update-icon-cache
7205 ;; Don't create 'icon-theme.cache'.
7207 (substitute* "build-aux/meson/post_install.py"
7208 (("gtk-update-icon-cache") (which "true")))
7210 (add-after 'unpack 'patch-libgd-fetch
7211 (lambda* (#:key inputs #:allow-other-keys)
7212 (let ((libgd (assoc-ref inputs "libgd")))
7213 ;; Calling git is unnecessary because libgd is fetched as a
7214 ;; native input to this package.
7215 (substitute* "meson.build"
7217 (copy-recursively libgd "subprojects/libgd")
7219 (add-after 'install 'wrap-gedit
7220 (lambda* (#:key inputs outputs #:allow-other-keys)
7221 (let ((out (assoc-ref outputs "out"))
7222 (gtksourceview (assoc-ref inputs "gtksourceview"))
7223 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7224 (python-path (getenv "PYTHONPATH")))
7225 (wrap-program (string-append out "/bin/gedit")
7227 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7228 `("PYTHONPATH" ":" prefix (,python-path))
7229 ;; For language-specs.
7230 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7234 `(("dconf" ,dconf)))
7236 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7237 ("intltool" ,intltool)
7238 ("itstool" ,itstool)
7239 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7240 ("gobject-introspection" ,gobject-introspection)
7245 (url "https://gitlab.gnome.org/GNOME/libgd")
7246 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7247 (file-name (git-file-name "libgd" version))
7249 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7250 ("pkg-config" ,pkg-config)))
7255 ("gtksourceview" ,gtksourceview)
7256 ("libpeas" ,libpeas)
7257 ("libxml2" ,libxml2)
7258 ("iso-codes" ,iso-codes)
7259 ("python-pygobject" ,python-pygobject)
7261 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7264 ("adwaita-icon-theme" ,adwaita-icon-theme)
7265 ("libsoup" ,libsoup)
7266 ("gnome-desktop" ,gnome-desktop)))
7267 (home-page "https://wiki.gnome.org/Apps/Gedit")
7268 (synopsis "GNOME text editor")
7269 (description "While aiming at simplicity and ease of use, gedit is a
7270 powerful general purpose text editor.")
7271 (license license:gpl2+)))
7273 (define-public zenity
7279 (uri (string-append "mirror://gnome/sources/zenity/"
7280 (version-major+minor version) "/"
7281 "zenity-" version ".tar.xz"))
7284 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7285 (build-system gnu-build-system)
7287 `(("gettext" ,gettext-minimal)
7288 ("itstool" ,itstool)
7289 ("pkg-config" ,pkg-config)))
7291 `(("libnotify" ,libnotify)
7292 ("webkitgtk" ,webkitgtk)))
7293 (synopsis "Display graphical dialog boxes from shell scripts")
7294 (home-page "https://www.gnome.org")
7296 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7297 to display dialog boxes from the commandline and shell scripts.")
7298 (license license:lgpl2.0+)))
7300 (define-public mutter
7306 (uri (string-append "mirror://gnome/sources/" name "/"
7307 (version-major+minor version) "/"
7308 name "-" version ".tar.xz"))
7311 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7312 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7313 ;; versions of cogl and clutter. As a result, many of the inputs,
7314 ;; propagated-inputs, and configure flags used in cogl and clutter are
7315 ;; needed here as well.
7316 (build-system meson-build-system)
7318 '(;; XXX: All mutter tests fail with the following error:
7319 ;; Settings schema 'org.gnome.mutter' is not installed
7323 ;; TODO: Enable profiler when Sysprof is packaged.
7324 (list "-Dprofiler=false"
7325 ;; Otherwise, the RUNPATH will lack the final path component.
7326 (string-append "-Dc_link_args=-Wl,-rpath="
7327 (assoc-ref %outputs "out") "/lib:"
7328 (assoc-ref %outputs "out") "/lib/mutter-5")
7330 ;; The following flags are needed for the bundled clutter
7331 (string-append "-Dxwayland_path="
7332 (assoc-ref %build-inputs "xorg-server-xwayland")
7335 ;; the remaining flags are needed for the bundled cogl
7336 (string-append "-Dopengl_libname="
7337 (assoc-ref %build-inputs "mesa")
7339 #:phases (modify-phases %standard-phases
7340 (add-after 'unpack 'fix-build-with-mesa-20
7342 ;; Mimic upstream commit a444a4c5f58ea516ad for
7343 ;; compatibility with Mesa 20. Remove for 3.36.
7344 (substitute* '("src/backends/meta-egl-ext.h"
7345 "src/backends/meta-egl.c"
7346 "src/backends/meta-egl.h")
7347 (("#include <EGL/eglext\\.h>" all)
7348 (string-append all "\n#include <EGL/eglmesaext.h>")))
7349 (substitute* "cogl/cogl/meson.build"
7350 (("#include <EGL/eglext\\.h>" all)
7351 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7354 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7355 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7356 ("gobject-introspection" ,gobject-introspection)
7357 ("intltool" ,intltool)
7358 ("pkg-config" ,pkg-config)
7359 ("xorg-server" ,xorg-server-for-tests)
7361 ("autoconf" ,autoconf)
7362 ("automake" ,automake)
7363 ("libtool" ,libtool)))
7365 `(;; libmutter.pc refers to these:
7366 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7368 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7371 ("gdk-pixbuf" ,gdk-pixbuf)
7373 ("json-glib" ,json-glib)
7374 ("libinput" ,libinput)
7376 ("libxcomposite" ,libxcomposite)
7377 ("libxdamage" ,libxdamage)
7378 ("libxext" ,libxext)
7379 ("libxfixes" ,libxfixes)
7380 ("libxkbcommon" ,libxkbcommon)
7381 ("libxrandr" ,libxrandr)
7385 ("xinput" ,xinput)))
7387 `(("elogind" ,elogind)
7388 ("gnome-desktop" ,gnome-desktop)
7389 ("gnome-settings-daemon" ,gnome-settings-daemon)
7390 ("libcanberra-gtk" ,libcanberra)
7391 ("libgudev" ,libgudev)
7394 ("libwacom" ,libwacom)
7395 ("libxkbfile" ,libxkbfile)
7396 ("libxrandr" ,libxrandr)
7397 ("libxtst" ,libxtst)
7398 ("pipewire" ,pipewire)
7399 ("startup-notification" ,startup-notification)
7400 ("upower-glib" ,upower)
7401 ("xkeyboard-config" ,xkeyboard-config)
7402 ("xorg-server-xwayland" ,xorg-server-xwayland)
7403 ("zenity" ,zenity)))
7404 (synopsis "Window and compositing manager")
7405 (home-page "https://www.gnome.org")
7407 "Mutter is a window and compositing manager that displays and manages your
7408 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7409 Clutter toolkit with solid window-management logic inherited from the Metacity
7411 (license license:gpl2+)))
7413 (define-public gnome-online-accounts
7415 (name "gnome-online-accounts")
7419 (uri (string-append "mirror://gnome/sources/" name "/"
7420 (version-major+minor version) "/"
7421 name "-" version ".tar.xz"))
7424 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7425 (outputs '("out" "lib"))
7426 (build-system glib-or-gtk-build-system)
7429 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7431 (modify-phases %standard-phases
7432 (add-before 'configure 'patch-libgoa-output
7433 (lambda* (#:key outputs #:allow-other-keys)
7434 (let ((lib (assoc-ref outputs "lib")))
7435 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7437 (("@exec_prefix@") lib)
7438 (("@libdir@") (string-append lib "/lib"))
7439 (("@includedir@") (string-append lib "/include"))
7440 (("@datadir@") (string-append lib "/share")))
7441 ;; Make sure gobject-introspection knows about the output
7442 ;; too (see <https://bugs.gnu.org/36535>).
7443 (setenv "outputs" "out lib")
7446 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7447 ("gobject-introspection" ,gobject-introspection)
7448 ("intltool" ,intltool)
7449 ("pkg-config" ,pkg-config)
7451 ("xsltproc" ,libxslt)))
7453 `(("glib" ,glib) ; required by goa-1.0.pc
7454 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7456 `(("docbook-xsl" ,docbook-xsl)
7457 ("json-glib" ,json-glib)
7458 ("libsecret" ,libsecret)
7460 ("webkitgtk" ,webkitgtk)))
7461 (synopsis "Single sign-on framework for GNOME")
7462 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7464 "GNOME Online Accounts provides interfaces so that applications and
7465 libraries in GNOME can access the user's online accounts. It has providers for
7466 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7467 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7468 (license license:lgpl2.0+)))
7470 (define-public evolution-data-server
7472 (name "evolution-data-server")
7476 (uri (string-append "mirror://gnome/sources/" name "/"
7477 (version-major+minor version) "/"
7478 name "-" version ".tar.xz"))
7479 (patches (search-patches "evolution-data-server-locales.patch"
7480 "evolution-data-server-libical-compat.patch"))
7483 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7484 (build-system cmake-build-system)
7487 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7488 (runpaths (map (lambda (s)
7489 (string-append lib "/evolution-data-server/" s))
7490 '("addressbook-backends" "calendar-backends"
7491 "camel-providers" "credential-modules"
7492 "registry-modules"))))
7493 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7494 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7495 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7496 "-DENABLE_VALA_BINDINGS=ON"
7497 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7498 (string-append lib "/evolution-data-server;")
7499 (string-join runpaths ";"))
7500 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7502 (modify-phases %standard-phases
7503 (add-after 'unpack 'disable-failing-tests
7505 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7506 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7507 (delete-file-recursively "tests/book-migration")
7508 (substitute* "tests/CMakeLists.txt"
7509 (("add_subdirectory\\(book-migration\\)") ""))
7511 (add-after 'unpack 'patch-paths
7513 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7514 "tests/libedata-book/data-test-utils.c"
7515 "tests/libedata-book/test-book-cache-utils.c"
7516 "tests/libedata-cal/test-cal-cache-utils.c")
7517 (("/bin/rm") (which "rm")))
7519 (add-before 'configure 'dont-override-rpath
7521 (substitute* "CMakeLists.txt"
7522 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7523 ;; Remove it so the configure flag is respected.
7524 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7527 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7528 ("gobject-introspection" ,gobject-introspection)
7530 ("intltool" ,intltool)
7531 ("pkg-config" ,pkg-config)
7533 ("python" ,python-wrapper)))
7535 ;; These are all in the Requires field of .pc files.
7537 ("libical" ,libical)
7538 ("libsecret" ,libsecret)
7539 ("libsoup" ,libsoup)
7541 ("sqlite" ,sqlite)))
7545 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7546 ("json-glib" ,json-glib)
7547 ("libcanberra" ,libcanberra)
7548 ("libgweather" ,libgweather)
7549 ("mit-krb5" ,mit-krb5)
7550 ("openldap" ,openldap)
7551 ("webkitgtk" ,webkitgtk)))
7552 (synopsis "Store address books and calendars")
7553 (home-page "https://wiki.gnome.org/Apps/Evolution")
7555 "This package provides a unified backend for programs that work with
7556 contacts, tasks, and calendar information. It was originally developed for
7557 Evolution (hence the name), but is now used by other packages as well.")
7558 (license license:lgpl2.0)))
7560 (define-public caribou
7566 (uri (string-append "mirror://gnome/sources/" name "/"
7567 (version-major+minor version) "/"
7568 name "-" version ".tar.xz"))
7571 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7572 (build-system glib-or-gtk-build-system)
7575 (modify-phases %standard-phases
7578 (lambda* (#:key outputs #:allow-other-keys)
7579 (let ((out (assoc-ref outputs "out")))
7580 ;; Use absolute shared library path in Caribou-1.0.typelib.
7581 (substitute* "libcaribou/Makefile"
7582 (("--shared-library=libcaribou.so")
7583 (string-append "--shared-library="
7584 out "/lib/libcaribou.so")))
7586 (add-after 'install 'wrap-programs
7587 (lambda* (#:key outputs #:allow-other-keys)
7588 (let* ((out (assoc-ref outputs "out"))
7589 (python-path (getenv "PYTHONPATH"))
7590 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7594 `("PYTHONPATH" ":" prefix (,python-path))
7595 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7596 (list (string-append out "/bin/caribou-preferences")
7597 (string-append out "/libexec/antler-keyboard"))))
7600 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7601 ("gobject-introspection" ,gobject-introspection)
7602 ("intltool" ,intltool)
7603 ("pkg-config" ,pkg-config)
7606 ("xsltproc" ,libxslt)))
7608 ;; caribou-1.0.pc refers to all these.
7609 `(("libgee" ,libgee)
7610 ("libxklavier" ,libxklavier)
7611 ("libxtst" ,libxtst)
7614 `(("clutter" ,clutter)
7617 ("python-pygobject" ,python-pygobject)))
7618 (synopsis "Text entry and UI navigation application")
7619 (home-page "https://wiki.gnome.org/Projects/Caribou")
7621 "Caribou is an input assistive technology intended for switch and pointer
7623 (license license:lgpl2.1)))
7625 (define-public network-manager
7627 (name "network-manager")
7631 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7632 (version-major+minor version) "/"
7633 "NetworkManager-" version ".tar.xz"))
7634 (patches (search-patches "network-manager-plugin-path.patch"))
7637 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7638 (modules '((guix build utils)))
7641 (substitute* "src/devices/wwan/nm-modem-manager.c"
7642 (("systemd") "elogind"))
7644 (build-system meson-build-system)
7646 "doc")) ; 8 MiB of gtk-doc HTML
7649 (let ((out (assoc-ref %outputs "out"))
7650 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7653 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7655 (string-append "-Dc_link_args=-Wl,-rpath="
7657 out "/lib/NetworkManager/" ,version)
7658 "-Dsystemd_journal=false"
7659 "-Dsession_tracking=elogind"
7660 "-Dsuspend_resume=elogind"
7661 "-Dsystemdsystemunitdir=no"
7662 "-Dsession_tracking_consolekit=false"
7671 "--localstatedir=/var"
7672 (string-append "-Dudev_dir="
7674 (string-append "-Ddbus_conf_dir="
7675 out "/etc/dbus-1/system.d")
7677 (string-append "-Ddhclient=" dhclient)))
7679 (modify-phases %standard-phases
7680 (add-before 'configure 'pre-configure
7682 ;; These tests try to test aspects of network-manager's
7683 ;; functionality within restricted containers, but they don't
7684 ;; cope with being already in the Guix build jail as that jail
7685 ;; lacks some features that they would like to proxy over (like
7687 (substitute* "src/platform/tests/meson.build"
7688 ((".*test-address-linux.*") "")
7689 ((".*test-cleanup-linux.*") "")
7690 ((".*test-link-linux.*") "")
7691 ((".*test-route-linux.*") ""))
7692 (substitute* "src/devices/tests/meson.build"
7693 ((".*test-acd.*") "")
7694 ((".*test-lldp.*") ""))
7696 (add-after 'unpack 'patch-docbook-xml
7697 (lambda* (#:key inputs #:allow-other-keys)
7698 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7699 "/xml/dtd/docbook")))
7700 (substitute* (find-files "." ".*\\.(xsl|xml)")
7701 (("http://.*/docbookx\\.dtd")
7702 (string-append xmldoc "/docbookx.dtd")))
7704 (add-before 'check 'pre-check
7706 ;; For the missing /etc/machine-id.
7707 (setenv "DBUS_FATAL_WARNINGS" "0")
7709 (add-before 'install 'no-polkit-magic
7710 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7712 (setenv "PKEXEC_UID" "something")
7714 (add-after 'install 'move-doc
7715 (lambda* (#:key outputs #:allow-other-keys)
7716 (let ((out (assoc-ref outputs "out"))
7717 (doc (assoc-ref outputs "doc")))
7718 (mkdir-p (string-append doc "/share"))
7719 (for-each (lambda (directory)
7720 (copy-recursively (string-append out directory)
7721 (string-append doc directory))
7722 (delete-file-recursively
7723 (string-append out directory)))
7724 '("/share/doc" "/share/gtk-doc"))
7729 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7730 ("gtk-doc" ,gtk-doc)
7731 ("gobject-introspection" ,gobject-introspection)
7732 ("docbook-xml" ,docbook-xml)
7733 ("docbook-xsl" ,docbook-xsl)
7734 ("intltool" ,intltool)
7735 ("libxslt" ,libxslt)
7736 ("libxml2" ,libxml2)
7737 ("pkg-config" ,pkg-config)
7740 ("python" ,python-wrapper)
7741 ("python-dbus" ,python-dbus)
7742 ("python-pygobject" ,python-pygobject)))
7745 ("cyrus-sasl" ,cyrus-sasl)
7746 ("dbus-glib" ,dbus-glib)
7747 ("dnsmasq" ,dnsmasq)
7750 ("iptables" ,iptables)
7751 ("isc-dhcp" ,isc-dhcp)
7752 ("iwd" ,iwd) ; wpa_supplicant alternative
7753 ("jansson" ,jansson)
7755 ("libgcrypt" ,libgcrypt)
7756 ("libgudev" ,libgudev)
7759 ("libsoup" ,libsoup)
7760 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7761 ("modem-manager" ,modem-manager)
7762 ("newt" ,newt) ;for the 'nmtui' console interface
7763 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7766 ("readline" ,readline)
7767 ("util-linux" ,util-linux)
7768 ("elogind" ,elogind)))
7769 (synopsis "Network connection manager")
7770 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7772 "NetworkManager is a system network service that manages your network
7773 devices and connections, attempting to keep active network connectivity when
7774 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7775 devices, and provides VPN integration with a variety of different VPN
7777 ;; “This NetworkManager project consists of the daemon, client tools, and
7778 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7780 (license (list license:gpl2+
7782 (properties '((upstream-name . "NetworkManager")))))
7784 (define-public network-manager-openvpn
7786 (name "network-manager-openvpn")
7791 "mirror://gnome/sources/NetworkManager-openvpn/"
7792 (version-major+minor version)
7793 "/NetworkManager-openvpn-" version ".tar.xz"))
7796 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7797 (build-system gnu-build-system)
7799 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7801 (modify-phases %standard-phases
7802 (add-after 'configure 'patch-path
7803 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7804 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7806 (modprobe (string-append (assoc-ref inputs "kmod")
7808 (pretty-ovpn (string-append "\"" ovpn "\"")))
7812 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7813 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7814 (("\"/sbin/openvpn\"") pretty-ovpn)
7815 (("/sbin/modprobe") modprobe)))
7816 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7819 `(("pkg-config" ,pkg-config)
7820 ("intltool" ,intltool)))
7824 ("openvpn" ,openvpn)
7825 ("network-manager" ,network-manager)
7827 ("libsecret" ,libsecret)))
7828 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7829 (synopsis "OpenVPN plug-in for NetworkManager")
7831 "This extension of NetworkManager allows it to take care of connections
7832 to virtual private networks (VPNs) via OpenVPN.")
7833 (license license:gpl2+)
7834 (properties `((upstream-name . "NetworkManager-openvpn")))))
7836 (define-public network-manager-vpnc
7838 (name "network-manager-vpnc")
7843 "mirror://gnome/sources/NetworkManager-vpnc/"
7844 (version-major+minor version)
7845 "/NetworkManager-vpnc-" version ".tar.xz"))
7848 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7849 (build-system gnu-build-system)
7851 `(#:configure-flags '("--enable-absolute-paths"
7852 "--localstatedir=/var"
7853 ;; libnm-glib has been removed from network-manager
7854 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7855 "--with-libnm-glib=no")
7857 (modify-phases %standard-phases
7858 (add-after 'configure 'patch-path
7859 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7860 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7862 (modprobe (string-append (assoc-ref inputs "kmod")
7864 (pretty-ovpn (string-append "\"" vpnc "\"")))
7865 (substitute* "src/nm-vpnc-service.c"
7866 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7867 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7868 (("\"/sbin/vpnc\"") pretty-ovpn)
7869 (("/sbin/modprobe") modprobe)))
7872 `(("pkg-config" ,pkg-config)
7873 ("intltool" ,intltool)))
7878 ("network-manager" ,network-manager)
7880 ("libsecret" ,libsecret)))
7881 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7882 (synopsis "VPNC plug-in for NetworkManager")
7884 "Support for configuring virtual private networks based on VPNC.
7885 Compatible with Cisco VPN concentrators configured to use IPsec.")
7886 (license license:gpl2+)
7887 (properties `((upstream-name . "NetworkManager-vpnc")))))
7889 (define-public network-manager-openconnect
7891 (name "network-manager-openconnect")
7896 "mirror://gnome/sources/NetworkManager-openconnect/"
7897 (version-major+minor version)
7898 "/NetworkManager-openconnect-" version ".tar.xz"))
7901 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7902 (build-system gnu-build-system)
7904 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7906 (modify-phases %standard-phases
7907 (add-after 'configure 'patch-path
7908 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7909 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7910 "/sbin/openconnect"))
7911 (modprobe (string-append (assoc-ref inputs "kmod")
7913 (pretty-ovpn (string-append "\"" openconnect "\"")))
7914 (substitute* "src/nm-openconnect-service.c"
7915 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7916 (("/sbin/modprobe") modprobe)))
7919 `(("intltool" ,intltool)
7921 ("pkg-config" ,pkg-config)))
7926 ("libsecret" ,libsecret)
7927 ("libxml2" ,libxml2)
7929 ("network-manager" ,network-manager)
7930 ("openconnect" ,openconnect)))
7931 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7932 (synopsis "OpenConnect plug-in for NetworkManager")
7934 "This extension of NetworkManager allows it to take care of connections
7935 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7936 Cisco's AnyConnect SSL VPN.")
7937 (license license:gpl2+)
7938 (properties `((upstream-name . "NetworkManager-openconnect")
7940 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7941 ;; file refers to account "nm-openconnect". Specify it here
7942 ;; so that 'network-manager-service-type' creates it.
7943 (user-accounts . ("nm-openconnect"))))))
7945 (define-public mobile-broadband-provider-info
7947 (name "mobile-broadband-provider-info")
7948 (version "20190116")
7952 "mirror://gnome/sources/"
7953 "mobile-broadband-provider-info/" version "/"
7954 "mobile-broadband-provider-info-" version ".tar.xz"))
7957 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7958 (build-system gnu-build-system)
7960 `(#:tests? #f)) ; no tests
7961 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7962 (synopsis "Database of broadband connection configuration")
7963 (description "Database of broadband connection configuration.")
7964 (license license:public-domain)))
7966 (define-public network-manager-applet
7968 (name "network-manager-applet")
7972 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7973 (version-major+minor version) "/"
7974 "network-manager-applet-" version ".tar.xz"))
7977 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
7978 (build-system meson-build-system)
7980 '(#:glib-or-gtk? #t))
7982 `(("intltool" ,intltool)
7983 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7984 ("gobject-introspection" ,gobject-introspection)
7985 ("gtk-doc" ,gtk-doc)
7986 ("pkg-config" ,pkg-config)))
7988 ;; libnm-gtk.pc refers to all these.
7989 `(("dbus-glib" ,dbus-glib)
7991 ("network-manager" ,network-manager)
7992 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7993 ("libnma" ,libnma)))
7996 ("libgudev" ,libgudev)
7997 ("libnotify" ,libnotify)
7998 ("libsecret" ,libsecret)
7999 ("libselinux" ,libselinux)
8000 ("jansson" ,jansson) ; for team support
8001 ("modem-manager" ,modem-manager)))
8002 (synopsis "Applet for managing network connections")
8003 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8005 "This package contains a systray applet for NetworkManager. It displays
8006 the available networks and allows users to easily switch between them.")
8007 (license license:gpl2+)))
8009 (define-public libxml++
8015 (uri (string-append "mirror://gnome/sources/" name "/"
8016 (version-major+minor version) "/"
8017 name "-" version ".tar.xz"))
8020 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8021 (build-system gnu-build-system)
8022 ;; libxml++-3.0.pc refers to all these.
8024 `(("libxml2" ,libxml2)
8025 ("glibmm" ,glibmm)))
8028 ("pkg-config" ,pkg-config)))
8029 (home-page "http://libxmlplusplus.sourceforge.net/")
8030 (synopsis "C++ wrapper for XML parser library libxml2")
8032 "This package provides a C++ wrapper for the XML parser library
8034 (license license:lgpl2.1+)))
8036 (define-public libxml++-2
8043 (uri (string-append "mirror://gnome/sources/" name "/"
8044 (version-major+minor version) "/"
8045 name "-" version ".tar.xz"))
8048 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8056 (uri (string-append "mirror://gnome/sources/" name "/"
8057 (version-major+minor version) "/"
8058 name "-" version ".tar.xz"))
8061 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8062 (patches (search-patches "gdm-default-session.patch"))))
8063 (build-system glib-or-gtk-build-system)
8066 `("--without-plymouth"
8067 "--disable-systemd-journal"
8069 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8070 ;; instead of having to replace it (i.e., stopping the mingetty
8071 ;; service for TTY 1 before starting GDM).
8072 "--with-initial-vt=7"
8074 ;; Use '/etc/environment' for locale settings instead of the
8075 ;; systemd-specific '/etc/locale.conf'.
8076 "--with-lang-file=/etc/environment"
8078 ,(string-append "--with-udevdir="
8079 (assoc-ref %outputs "out") "/lib/udev")
8081 "--localstatedir=/var"
8082 ,(string-append "--with-default-path="
8083 (string-join '("/run/setuid-programs"
8084 "/run/current-system/profile/bin"
8085 "/run/current-system/profile/sbin")
8087 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8088 ;; XDG_DATA_DIRS so that it finds its schemas.
8089 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8091 (modify-phases %standard-phases
8093 'configure 'pre-configure
8094 (lambda* (#:key inputs outputs #:allow-other-keys)
8095 ;; We don't have <systemd/sd-daemon.h>.
8096 (substitute* '("common/gdm-log.c"
8097 "daemon/gdm-server.c"
8098 "daemon/gdm-session-worker.c"
8099 "daemon/gdm-session-worker-job.c")
8100 (("#include <systemd/sd-daemon\\.h>") ""))
8101 ;; Use elogind for sd-login.
8102 (substitute* '("common/gdm-common.c"
8103 "daemon/gdm-local-display-factory.c"
8104 "daemon/gdm-manager.c"
8105 "libgdm/gdm-user-switching.c")
8106 (("#include <systemd/sd-login\\.h>")
8107 "#include <elogind/sd-login.h>"))
8108 ;; Check for elogind.
8109 (substitute* '("configure")
8112 ;; Look for system-installed sessions in
8113 ;; /run/current-system/profile/share.
8114 (substitute* '("libgdm/gdm-sessions.c"
8115 "daemon/gdm-session.c"
8116 "daemon/gdm-display.c"
8117 "daemon/gdm-launch-environment.c")
8119 "\"/run/current-system/profile/share/x")
8120 (("DATADIR \"/wayland")
8121 "\"/run/current-system/profile/share/wayland")
8122 (("DATADIR \"/gnome")
8123 "\"/run/current-system/profile/share/gnome"))
8124 (let ((propagate '("GDM_CUSTOM_CONF"
8128 ;; XXX: Remove this once GNOME Shell is
8129 ;; a dependency of GDM.
8131 (substitute* "daemon/gdm-session.c"
8132 (("set_up_session_environment \\(self\\);")
8133 (apply string-append
8134 "set_up_session_environment (self);\n"
8137 "gdm_session_set_environment_variable "
8138 "(self, \"" name "\","
8139 "g_getenv (\"" name "\"));\n"))
8141 ;; Find the configuration file using an environment variable.
8142 (substitute* '("common/gdm-settings.c")
8143 (("GDM_CUSTOM_CONF")
8144 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8145 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8146 " : GDM_CUSTOM_CONF)")))
8147 ;; Use service-supplied path to X.
8148 (substitute* '("daemon/gdm-server.c")
8149 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8150 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8151 (substitute* '("daemon/gdm-wayland-session.c"
8152 "daemon/gdm-x-session.c")
8153 (("\"dbus-daemon\"")
8154 "g_getenv (\"GDM_DBUS_DAEMON\")")
8156 "g_getenv (\"GDM_X_SERVER\")")
8157 (("GDMCONFDIR \"/Xsession\"")
8158 "g_getenv (\"GDM_X_SESSION\")"))
8159 ;; Use an absolute path for GNOME Session.
8160 (substitute* "daemon/gdm-launch-environment.c"
8161 (("\"gnome-session\"")
8162 (string-append "\"" (assoc-ref inputs "gnome-session")
8163 "/bin/gnome-session\"")))
8164 ;; Do not automatically select the placeholder session.
8165 (substitute* "daemon/gdm-session.c"
8166 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8167 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8168 "(g_strcmp0(search_dirs[i], \""
8169 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8171 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8172 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8173 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8175 ;; GDM requires that there be at least one desktop entry
8176 ;; file. This phase installs a hidden one that simply
8177 ;; fails. This enables users to use GDM with a
8178 ;; '~/.xsession' script with no other desktop entry files.
8179 ;; See <https://bugs.gnu.org/35068>.
8180 (add-after 'install 'install-placeholder-desktop-entry
8181 (lambda* (#:key inputs outputs #:allow-other-keys)
8182 (let* ((out (assoc-ref outputs "out"))
8183 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8184 (fail (string-append sessions "/fail.desktop")))
8186 (with-output-to-file fail
8190 '("[Desktop Entry]\n"
8192 "Type=Application\n"
8194 "Comment=This session fails immediately.\n"
8198 ;; GDM needs GNOME Session to run these applications. We link
8199 ;; their autostart files in `share/gdm/greeter/autostart'
8200 ;; because GDM explicitly tells GNOME Session to look there.
8202 ;; XXX: GNOME Shell should be linked here too, but currently
8203 ;; GNOME Shell depends on GDM.
8204 (add-after 'install 'link-autostart-files
8205 (lambda* (#:key inputs outputs #:allow-other-keys)
8206 (let* ((out (assoc-ref outputs "out"))
8207 (autostart (string-append out "/share/gdm/"
8208 "greeter/autostart"))
8209 (settings (assoc-ref inputs "gnome-settings-daemon")))
8211 (with-directory-excursion autostart
8212 (for-each (lambda (desktop)
8213 (symlink desktop (basename desktop)))
8214 (find-files (string-append settings "/etc/xdg"))))
8218 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8219 ("gobject-introspection" ,gobject-introspection)
8220 ("intltool" ,intltool)
8221 ("itstool" ,itstool)
8222 ("pkg-config" ,pkg-config)
8223 ("xmllint" ,libxml2)))
8225 `(("accountsservice" ,accountsservice)
8226 ("check" ,check-0.14) ;for testing
8227 ("elogind" ,elogind)
8228 ("gnome-session" ,gnome-session)
8229 ("gnome-settings-daemon" ,gnome-settings-daemon)
8231 ("iso-codes" ,iso-codes)
8232 ("libcanberra" ,libcanberra)
8233 ("linux-pam" ,linux-pam)))
8234 (synopsis "Display manager for GNOME")
8235 (home-page "https://wiki.gnome.org/Projects/GDM/")
8237 "GNOME Display Manager is a system service that is responsible for
8238 providing graphical log-ins and managing local and remote displays.")
8239 (license license:gpl2+)))
8241 (define-public libgtop
8247 (uri (string-append "mirror://gnome/sources/libgtop/"
8248 (version-major+minor version) "/"
8249 "libgtop-" version ".tar.xz"))
8252 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8253 (build-system gnu-build-system)
8255 `(("gobject-introspection" ,gobject-introspection)
8256 ("intltool" ,intltool)
8258 ("pkg-config" ,pkg-config)))
8260 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8261 (synopsis "Portable system access library")
8262 (home-page "https://www.gnome.org/")
8264 "LibGTop is a library to get system specific data such as CPU and memory
8265 usage and information about running processes.")
8266 (license license:gpl2+)))
8268 (define-public gnome-bluetooth
8270 (name "gnome-bluetooth")
8274 (uri (string-append "mirror://gnome/sources/" name "/"
8275 (version-major+minor version) "/"
8276 name "-" version ".tar.xz"))
8279 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8280 (build-system meson-build-system)
8282 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8283 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8284 ("gobject-introspection" ,gobject-introspection)
8285 ("intltool" ,intltool)
8286 ("pkg-config" ,pkg-config)
8287 ("xmllint" ,libxml2)))
8289 ;; gnome-bluetooth-1.0.pc refers to all these.
8294 ("libcanberra" ,libcanberra)
8295 ("libnotify" ,libnotify)))
8296 (synopsis "GNOME Bluetooth subsystem")
8297 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8299 "This package contains tools for managing and manipulating Bluetooth
8300 devices using the GNOME desktop.")
8301 (license license:lgpl2.1+)))
8303 (define-public gnome-control-center
8305 (name "gnome-control-center")
8309 (uri (string-append "mirror://gnome/sources/" name "/"
8310 (version-major+minor version) "/"
8311 name "-" version ".tar.xz"))
8314 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8315 (build-system meson-build-system)
8319 (list "-Dcheese=false"
8320 (string-append "-Dgnome_session_libexecdir="
8321 (assoc-ref %build-inputs "gnome-session")
8324 (modify-phases %standard-phases
8325 (add-before 'configure 'patch-paths
8326 (lambda* (#:key inputs #:allow-other-keys)
8327 (let ((libc (assoc-ref inputs "libc"))
8328 (tzdata (assoc-ref inputs "tzdata"))
8329 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8330 (nm-applet (assoc-ref inputs "network-manager-applet"))
8331 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8332 (substitute* "panels/datetime/tz.h"
8333 (("/usr/share/zoneinfo/zone.tab")
8334 (string-append tzdata "/share/zoneinfo/zone.tab")))
8335 (substitute* "tests/datetime/test-endianess.c"
8336 (("/usr/share/locale")
8337 (string-append libc "/share/locale")))
8338 (substitute* "panels/region/cc-region-panel.c"
8339 (("\"gkbd-keyboard-display")
8340 (string-append "\"" libgnomekbd
8341 "/bin/gkbd-keyboard-display")))
8342 (substitute* '("panels/network/net-device-wifi.c"
8343 "panels/network/net-device.c"
8344 "panels/network/connection-editor/net-connection-editor.c")
8345 (("\"nm-connection-editor")
8346 (string-append "\"" nm-applet
8347 "/bin/nm-connection-editor")))
8348 (substitute* '("panels/user-accounts/run-passwd.c")
8349 (("/usr/bin/passwd")
8350 "/run/setuid-programs/passwd"))
8351 (substitute* "panels/info/cc-info-overview-panel.c"
8352 (("DATADIR \"/gnome/gnome-version.xml\"")
8353 (string-append "\"" gnome-desktop
8354 "/share/gnome/gnome-version.xml\"")))
8356 (add-after 'unpack 'skip-gtk-update-icon-cache
8357 ;; Don't create 'icon-theme.cache'.
8359 (substitute* "build-aux/meson/meson_post_install.py"
8360 (("gtk-update-icon-cache") (which "true")))
8363 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8364 ("intltool" ,intltool)
8365 ("pkg-config" ,pkg-config)
8366 ("xsltproc" ,libxslt)
8368 ("hicolor-icon-theme" ,hicolor-icon-theme)
8369 ("python-dbusmock" ,python-dbusmock)
8370 ("xorg-server" ,xorg-server-for-tests)))
8372 `(("accountsservice" ,accountsservice)
8373 ("clutter-gtk" ,clutter-gtk)
8374 ("colord-gtk" ,colord-gtk)
8377 ("docbook-xsl" ,docbook-xsl)
8378 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8379 ("gnome-bluetooth" ,gnome-bluetooth)
8380 ("gnome-desktop" ,gnome-desktop)
8381 ("gnome-online-accounts" ,gnome-online-accounts)
8382 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8383 ("gnome-session" ,gnome-session)
8384 ("gnome-settings-daemon" ,gnome-settings-daemon)
8388 ("libcanberra" ,libcanberra)
8389 ("libgnomekbd" ,libgnomekbd)
8390 ("libgudev" ,libgudev)
8391 ("libgtop" ,libgtop)
8393 ("libpwquality" ,libpwquality)
8394 ("libsecret" ,libsecret)
8395 ("libsoup" ,libsoup)
8396 ("libxml2" ,libxml2)
8397 ("libwacom" ,libwacom)
8399 ("mit-krb5" ,mit-krb5)
8400 ("modem-manager" ,modem-manager)
8401 ("network-manager-applet" ,network-manager-applet)
8403 ("pulseaudio" ,pulseaudio)
8404 ("smbclient" ,samba)
8407 ("upower" ,upower)))
8408 (synopsis "Utilities to configure the GNOME desktop")
8409 (home-page "https://www.gnome.org/")
8411 "This package contains configuration applets for the GNOME desktop,
8412 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8413 properties, sound setup, desktop theme and background, user interface
8414 properties, screen resolution, and other GNOME parameters.")
8415 (license license:gpl2+)))
8417 (define-public gnome-shell
8419 (name "gnome-shell")
8423 (uri (string-append "mirror://gnome/sources/" name "/"
8424 (version-major+minor version) "/"
8425 name "-" version ".tar.xz"))
8428 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
8429 (patches (search-patches "gnome-shell-theme.patch"
8430 "gnome-shell-disable-test.patch"))
8431 (modules '((guix build utils)))
8434 ;; Copy images for use on the GDM log-in screen.
8435 (copy-file #$(file-append %artwork-repository
8436 "/slim/0.x/background.png")
8437 "data/theme/guix-background.png")
8438 (copy-file #$(file-append %artwork-repository
8439 "/logo/Guix-horizontal-white.svg")
8440 "data/theme/guix-logo.svg")
8442 (build-system meson-build-system)
8445 #:disallowed-references ((,glib "bin")
8449 (list "-Dsystemd=false"
8450 ;; Otherwise, the RUNPATH will lack the final path component.
8451 (string-append "-Dc_link_args=-Wl,-rpath="
8452 (assoc-ref %outputs "out")
8453 "/lib/gnome-shell"))
8455 #:modules ((guix build meson-build-system)
8460 (modify-phases %standard-phases
8461 (add-after 'unpack 'fix-keysdir
8462 (lambda* (#:key outputs #:allow-other-keys)
8463 (let* ((out (assoc-ref outputs "out"))
8464 (keysdir (string-append
8465 out "/share/gnome-control-center/keybindings")))
8466 (substitute* "meson.build"
8468 (string-append "keysdir = '" keysdir "'\n")))
8470 (add-before 'configure 'convert-logo-to-png
8471 (lambda* (#:key inputs #:allow-other-keys)
8472 ;; Convert the logo from SVG to PNG.
8473 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8474 "data/theme/guix-logo.svg")))
8475 (add-before 'configure 'record-absolute-file-names
8476 (lambda* (#:key inputs #:allow-other-keys)
8477 (substitute* "js/misc/ibusManager.js"
8479 (string-append "'" (assoc-ref inputs "ibus")
8480 "/bin/ibus-daemon'")))
8481 (substitute* "js/ui/status/keyboard.js"
8482 (("'gkbd-keyboard-display'")
8483 (string-append "'" (assoc-ref inputs "libgnomekbd")
8484 "/bin/gkbd-keyboard-display'")))
8486 (add-before 'check 'pre-check
8487 (lambda* (#:key inputs #:allow-other-keys)
8488 ;; Tests require a running X server.
8489 (system "Xvfb :1 &")
8490 (setenv "DISPLAY" ":1")
8492 (add-after 'install 'wrap-programs
8493 (lambda* (#:key inputs outputs #:allow-other-keys)
8494 (let ((out (assoc-ref outputs "out"))
8495 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8496 (python-path (getenv "PYTHONPATH")))
8497 (wrap-program (string-append out "/bin/gnome-shell")
8498 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8499 ;; FIXME: gnome-shell loads these libraries with unqualified
8500 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8501 ;; alternative might be to patch gnome-shell.
8502 `("LD_LIBRARY_PATH" ":" prefix
8504 (string-append (assoc-ref inputs pkg) "/lib"))
8506 "gnome-bluetooth" "librsvg" "libgweather"))))
8509 (wrap-program (string-append out "/bin/" prog)
8510 `("PYTHONPATH" ":" prefix (,python-path))
8511 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8512 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8514 (replace 'glib-or-gtk-wrap
8515 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8516 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8517 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8518 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8519 ;; phase. Fix that since we don't need these.
8520 (wrap #:inputs (fold alist-delete inputs
8521 '("inkscape" "intltool" "glib:bin"))
8522 #:outputs outputs)))))))
8524 `(("asciidoc" ,asciidoc)
8525 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8526 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8527 ("gobject-introspection" ,gobject-introspection)
8528 ("inkscape" ,inkscape)
8529 ("intltool" ,intltool)
8530 ("pkg-config" ,pkg-config)
8532 ("ruby-sass" ,ruby-sass)
8534 ("xsltproc" ,libxslt)
8536 ("xorg-server" ,xorg-server-for-tests)))
8538 `(("accountsservice" ,accountsservice)
8539 ("caribou" ,caribou)
8540 ("docbook-xsl" ,docbook-xsl)
8541 ("evolution-data-server" ,evolution-data-server)
8544 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8546 ("gnome-autoar" ,gnome-autoar)
8547 ("gnome-bluetooth" ,gnome-bluetooth)
8548 ("gnome-desktop" ,gnome-desktop)
8549 ("gnome-settings-daemon" ,gnome-settings-daemon)
8550 ("gst-plugins-base" ,gst-plugins-base)
8552 ("libcanberra" ,libcanberra)
8553 ("libcroco" ,libcroco)
8554 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8555 ("libgweather" ,libgweather)
8557 ("libsoup" ,libsoup)
8558 ("mesa-headers" ,mesa-headers)
8560 ("network-manager-applet" ,network-manager-applet)
8562 ("pulseaudio" ,pulseaudio)
8563 ("python-pygobject" ,python-pygobject)
8564 ("startup-notification" ,startup-notification)
8565 ("telepathy-logger" ,telepathy-logger)
8567 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8568 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8569 ("librsvg" ,librsvg)
8570 ("geoclue" ,geoclue)))
8571 (synopsis "Desktop shell for GNOME")
8572 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8574 "GNOME Shell provides core user interface functions for the GNOME desktop,
8575 like switching to windows and launching applications.")
8576 (license license:gpl2+)))
8578 (define-public gtk-vnc
8586 (string-append "mirror://gnome/sources/" name "/"
8587 (version-major+minor version) "/"
8588 name "-" version ".tar.xz"))
8590 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8591 (build-system meson-build-system)
8593 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8596 ("glib:bin" ,glib "bin")
8597 ("gobject-introspection" ,gobject-introspection)
8598 ("intltool" ,intltool)
8601 ("pkg-config" ,pkg-config)
8602 ("python" ,python-wrapper)
8606 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8609 ("libgcrypt" ,libgcrypt)
8610 ("libsasl" ,cyrus-sasl)
8611 ("pulseaudio" ,pulseaudio)
8616 (synopsis "VNC client viewer widget for GTK+")
8617 (description "GTK-VNC is a project providing client side APIs for the RFB
8618 protocol / VNC remote desktop technology. It is built using coroutines allowing
8619 it to be completely asynchronous while remaining single threaded. It provides a
8620 core C library, and bindings for Python (PyGTK).")
8621 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8622 (license license:lgpl2.1+)))
8624 (define-public gnome-autoar
8626 (name "gnome-autoar")
8630 (uri (string-append "mirror://gnome/sources/" name "/"
8631 (version-major+minor version) "/"
8632 name "-" version ".tar.xz"))
8635 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
8636 (build-system glib-or-gtk-build-system)
8638 `(("gobject-introspection" ,gobject-introspection)
8639 ("pkg-config" ,pkg-config)))
8641 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8644 (synopsis "Archives integration support for GNOME")
8645 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8647 "GNOME Autoar is a library which makes creating and extracting archives
8648 easy, safe, and automatic.")
8649 (license license:lgpl2.1+)))
8651 (define-public tracker
8657 (uri (string-append "mirror://gnome/sources/tracker/"
8658 (version-major+minor version) "/"
8659 "tracker-" version ".tar.xz"))
8662 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8663 (build-system meson-build-system)
8667 ;; Otherwise, the RUNPATH will lack the final path component.
8668 (list (string-append "-Dc_link_args=-Wl,-rpath="
8669 (assoc-ref %outputs "out") "/lib:"
8670 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8672 (modify-phases %standard-phases
8673 (add-before 'check 'pre-check
8675 ;; Some tests expect to write to $HOME.
8676 (setenv "HOME" "/tmp")
8679 `(("glib:bin" ,glib "bin")
8680 ("gobject-introspection" ,gobject-introspection)
8681 ("python-pygobject" ,python-pygobject)
8682 ("intltool" ,intltool)
8683 ("pkg-config" ,pkg-config)
8688 ("libxml2" ,libxml2)
8689 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8690 ("json-glib" ,json-glib)
8691 ("libsoup" ,libsoup)))
8692 (synopsis "Metadata database, indexer and search tool")
8693 (home-page "https://wiki.gnome.org/Projects/Tracker")
8695 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8697 It is a middleware component aimed at desktop application developers who want
8698 their apps to browse and search user content. It's not designed to be used
8699 directly by desktop users, but it provides a commandline tool named
8700 @command{tracker} for the adventurous.
8702 Tracker allows your application to instantly perform full-text searches across
8703 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8704 example. This is achieved by indexing the user's home directory in the
8707 Tracker also allows your application to query and list content that the user
8708 has stored. For example, GNOME Music displays all the music files that are
8709 found by Tracker. This means that GNOME Music doesn't need to maintain a
8710 database of its own.
8712 If you need to go beyond simple searches, Tracker is also a linked data
8713 endpoint and it understands SPARQL. ")
8714 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8715 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8716 ;; libstemmer is bsd-3 and the rest is gpl2+.
8717 (license (list license:gpl2+
8719 license:lgpl2.1+))))
8721 (define-public tracker-miners
8723 (name "tracker-miners")
8727 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8728 (version-major+minor version)
8729 "/tracker-miners-" version ".tar.xz"))
8732 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8733 (build-system meson-build-system)
8737 (list "-Dminer_rss=false" ; libgrss is required.
8738 ;; Ensure the RUNPATH contains all installed library locations.
8739 (string-append "-Dc_link_args=-Wl,-rpath="
8740 (assoc-ref %outputs "out")
8741 "/lib/tracker-miners-2.0")
8742 ;; TODO: Enable functional tests. Currently, the following error
8744 ;; Exception: The functional tests require DConf to be the default
8745 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8746 "-Dfunctional_tests=false")))
8749 ("intltool" ,intltool)
8750 ("glib:bin" ,glib "bin")
8751 ("gobject-introspection" ,gobject-introspection)
8752 ("pkg-config" ,pkg-config)
8753 ("python-pygobject" ,python-pygobject)))
8755 `(("exempi" ,exempi)
8760 ("gstreamer" ,gstreamer)
8763 ("libexif" ,libexif)
8765 ("libgxps" ,libgxps)
8766 ("libiptcdata" ,libiptcdata)
8767 ("libjpeg" ,libjpeg-turbo)
8768 ("libosinfo" ,libosinfo)
8770 ("libseccomp" ,libseccomp)
8771 ("libtiff" ,libtiff)
8772 ("libvorbis" ,libvorbis)
8773 ("libxml2" ,libxml2)
8774 ("poppler" ,poppler)
8776 ("totem-pl-parser" ,totem-pl-parser)
8777 ("tracker" ,tracker)
8780 (synopsis "Metadata database, indexer and search tool")
8781 (home-page "https://wiki.gnome.org/Projects/Tracker")
8783 "Tracker is an advanced framework for first class objects with associated
8784 metadata and tags. It provides a one stop solution for all metadata, tags,
8785 shared object databases, search tools and indexing.")
8786 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8787 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8788 (license (list license:gpl2+
8790 license:lgpl2.0+))))
8792 (define-public nautilus
8798 (uri (string-append "mirror://gnome/sources/" name "/"
8799 (version-major+minor version) "/"
8800 name "-" version ".tar.xz"))
8803 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8804 (build-system meson-build-system)
8808 (modify-phases %standard-phases
8809 (add-after 'unpack 'skip-gtk-update-icon-cache
8810 ;; Don't create 'icon-theme.cache'.
8812 (substitute* "build-aux/meson/postinstall.py"
8813 (("gtk-update-icon-cache") "true"))
8815 ;; XXX: FAIL: check-nautilus
8816 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8819 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8820 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8821 ("gobject-introspection" ,gobject-introspection)
8822 ("intltool" ,intltool)
8823 ("pkg-config" ,pkg-config)))
8829 ("gnome-desktop" ,gnome-desktop)
8830 ("gnome-autoar" ,gnome-autoar)
8831 ("gst-plugins-base" ,gst-plugins-base)
8832 ("libseccomp" ,libseccomp)
8833 ("libselinux" ,libselinux)
8834 ("tracker" ,tracker)
8835 ("tracker-miners" ,tracker-miners)
8836 ;; XXX: gtk+ is required by libnautilus-extension.pc
8838 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8840 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8842 ("libexif" ,libexif)
8843 ("libxml2" ,libxml2)))
8844 (synopsis "File manager for GNOME")
8845 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8847 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8848 design and behaviour, giving the user a simple way to navigate and manage its
8850 (license license:gpl2+)))
8852 (define-public baobab
8859 "mirror://gnome/sources/" name "/"
8860 (version-major+minor version) "/"
8861 name "-" version ".tar.xz"))
8864 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8865 (build-system meson-build-system)
8867 '(#:glib-or-gtk? #t))
8869 `(("intltool" ,intltool)
8870 ("pkg-config" ,pkg-config)
8871 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8872 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8873 ("itstool" ,itstool)
8874 ("xmllint" ,libxml2)
8875 ("glib" ,glib "bin")
8879 (synopsis "Disk usage analyzer for GNOME")
8881 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8882 usage in the GNOME desktop environment. It can easily scan device volumes or
8883 a specific user-requested directory branch (local or remote). Once the scan
8884 is complete it provides a graphical representation of each selected folder.")
8885 (home-page "https://wiki.gnome.org/Apps/Baobab")
8886 (license license:gpl2+)))
8888 (define-public gnome-backgrounds
8890 (name "gnome-backgrounds")
8895 (uri (string-append "mirror://gnome/sources/" name "/"
8896 (version-major+minor version) "/"
8897 name "-" version ".tar.xz"))
8900 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8901 (build-system meson-build-system)
8903 `(("intltool" ,intltool)))
8904 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8905 (synopsis "Background images for the GNOME desktop")
8907 "GNOME backgrounds package contains a collection of graphics files which
8908 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8909 the package creates the proper framework and directory structure so that you
8910 can add your own files to the collection.")
8911 (license (list license:gpl2+
8914 license:cc-by-sa3.0))))
8916 (define-public gnome-screenshot
8918 (name "gnome-screenshot")
8923 (uri (string-append "mirror://gnome/sources/" name "/"
8924 (version-major+minor version) "/"
8925 name "-" version ".tar.xz"))
8928 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8929 (build-system meson-build-system)
8932 (modify-phases %standard-phases
8933 (add-after 'unpack 'skip-gtk-update-icon-cache
8934 ;; Don't create 'icon-theme.cache'.
8936 (substitute* "build-aux/postinstall.py"
8937 (("gtk-update-icon-cache") "true"))
8940 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8941 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8942 ("intltool" ,intltool)
8943 ("appstream-glib" ,appstream-glib)
8944 ("pkg-config" ,pkg-config)))
8947 ("libcanberra" ,libcanberra)
8949 ("libxext" ,libxext)))
8950 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8951 (synopsis "Take pictures of your screen")
8953 "GNOME Screenshot is a utility used for taking screenshots of the entire
8954 screen, a window or a user defined area of the screen, with optional
8955 beautifying border effects.")
8956 (license license:gpl2+)))
8958 (define-public dconf-editor
8960 (name "dconf-editor")
8965 (uri (string-append "mirror://gnome/sources/" name "/"
8966 (version-major+minor version) "/"
8967 name "-" version ".tar.xz"))
8970 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8971 (build-system meson-build-system)
8973 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8974 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8975 ("intltool" ,intltool)
8976 ("pkg-config" ,pkg-config)
8981 ("libxml2" ,libxml2)))
8982 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8983 (synopsis "Graphical editor for GNOME's dconf configuration system")
8985 "Dconf-editor is a graphical tool for browsing and editing the dconf
8986 configuration system for GNOME. It allows users to configure desktop
8987 software that do not provide their own configuration interface.")
8988 (license license:lgpl2.1+)))
8990 (define-public gnome-default-applications
8992 (name "gnome-default-applications")
8994 (build-system trivial-build-system)
8997 `(("nautilus" ,nautilus)
8998 ("evince" ,evince)))
9000 `(#:modules ((guix build utils))
9003 (use-modules (guix build utils))
9004 (let* ((out (assoc-ref %outputs "out"))
9005 (apps (string-append out "/share/applications")))
9007 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9009 (format port "[Default Applications]\n")
9010 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9011 (format port "application/pdf=evince.desktop\n")
9012 (format port "application/postscript=evince.desktop\n")))
9014 (synopsis "Default MIME type associations for the GNOME desktop")
9016 "Given many installed packages which might handle a given MIME type, a
9017 user running the GNOME desktop probably has some preferences: for example,
9018 that folders be opened by default by the Nautilus file manager, not the Baobab
9019 disk usage analyzer. This package establishes that set of default MIME type
9020 associations for GNOME.")
9021 (license license:gpl3+)
9024 (define-public libgovirt
9030 (uri (string-append "mirror://gnome/sources/" name "/"
9031 (version-major+minor version) "/"
9032 name "-" version ".tar.xz"))
9035 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
9036 (build-system glib-or-gtk-build-system)
9038 `(("gettext" ,gettext-minimal)
9039 ("glib:bin" ,glib "bin")
9040 ("gobject-introspection" ,gobject-introspection)
9041 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9042 ("gtk+:bin" ,gtk+ "bin")
9043 ("pkg-config" ,pkg-config)))
9045 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9047 (synopsis "GoVirt Library")
9048 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9049 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9050 (license license:gpl2+)))
9052 (define-public gnome-weather
9054 (name "gnome-weather")
9058 (uri (string-append "mirror://gnome/sources/" name "/"
9059 (version-major+minor version) "/"
9060 name "-" version ".tar.xz"))
9063 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9064 (build-system meson-build-system)
9066 `(("gettext" ,gettext-minimal)
9067 ("glib:bin" ,glib "bin")
9068 ("gobject-introspection" ,gobject-introspection)
9069 ("gtk+:bin" ,gtk+ "bin")
9070 ("pkg-config" ,pkg-config)))
9072 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9073 ("appstream-glib" ,appstream-glib)
9074 ("geoclue" ,geoclue)
9075 ("gdk-pixbuf" ,gdk-pixbuf)
9077 ("gnome-desktop" ,gnome-desktop)
9078 ("libgweather" ,libgweather)))
9082 (modify-phases %standard-phases
9083 (add-after 'install 'fix-desktop-file
9084 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9085 ;; See https://issues.guix.gnu.org/issue/39324.
9086 (lambda* (#:key outputs #:allow-other-keys)
9087 (let* ((out (assoc-ref outputs "out"))
9088 (applications (string-append out "/share/applications")))
9089 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9090 (("Exec=.*") "Exec=gnome-weather\n"))
9092 (add-after 'install 'wrap
9093 (lambda* (#:key inputs outputs #:allow-other-keys)
9094 (let ((out (assoc-ref outputs "out"))
9095 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9096 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9097 (wrap-program (string-append out "/bin/gnome-weather")
9098 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9100 (synopsis "Weather monitoring for GNOME desktop")
9101 (description "GNOME Weather is a small application that allows you to
9102 monitor the current weather conditions for your city, or anywhere in the
9104 (home-page "https://wiki.gnome.org/Apps/Weather")
9105 (license license:gpl2+)))
9107 (define-public gnome
9110 (version (package-version gnome-shell))
9112 (build-system trivial-build-system)
9113 (arguments '(#:builder (begin (mkdir %output) #t)))
9115 ;; TODO: Add or remove packages according to:
9116 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9118 ;; GNOME-Core-OS-Services
9119 ("accountsservice" ,accountsservice)
9120 ("network-manager" ,network-manager)
9121 ("packagekit" ,packagekit)
9124 ("adwaita-icon-theme" ,adwaita-icon-theme)
9126 ("glib-networking" ,glib-networking)
9127 ("gnome-backgrounds" ,gnome-backgrounds)
9128 ("gnome-bluetooth" ,gnome-bluetooth)
9129 ("gnome-color-manager" ,gnome-color-manager)
9130 ("gnome-control-center" ,gnome-control-center)
9131 ("gnome-desktop" ,gnome-desktop)
9132 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9133 ("gnome-initial-setup" ,gnome-initial-setup)
9134 ("gnome-keyring" ,gnome-keyring)
9135 ("gnome-menus" ,gnome-menus)
9136 ("gnome-session" ,gnome-session)
9137 ("gnome-settings-daemon" ,gnome-settings-daemon)
9138 ("gnome-shell-extensions" ,gnome-shell-extensions)
9139 ("gnome-shell" ,gnome-shell)
9140 ("gnome-themes-extra" ,gnome-themes-extra)
9141 ("gnome-user-docs" ,gnome-user-docs)
9142 ("gnome-user-share" ,gnome-user-share)
9143 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9149 ;; GNOME-Core-Utilities
9152 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9153 ;; only works on x86_64, so exclude it on other architectures.
9154 ,@(if (string-prefix? "x86_64" (%current-system))
9157 ("epiphany" ,epiphany)
9159 ("file-roller" ,file-roller)
9161 ("gnome-boxes" ,gnome-boxes)
9162 ("gnome-calculator" ,gnome-calculator)
9163 ("gnome-calendar" ,gnome-calendar)
9164 ("gnome-characters" ,gnome-characters)
9165 ("gnome-clocks" ,gnome-clocks)
9166 ("gnome-contacts" ,gnome-contacts)
9167 ("gnome-disk-utility" ,gnome-disk-utility)
9168 ("gnome-font-viewer" ,gnome-font-viewer)
9169 ("gnome-maps" ,gnome-maps)
9170 ; TODO: ("gnome-music" ,gnome-music)
9171 ; TODO: ("gnome-photos" ,gnome-photos)
9172 ("gnome-screenshot" ,gnome-screenshot)
9173 ("gnome-system-monitor" ,gnome-system-monitor)
9174 ("gnome-terminal" ,gnome-terminal)
9175 ("gnome-weather" ,gnome-weather)
9176 ("nautilus" ,nautilus)
9177 ("simple-scan" ,simple-scan)
9181 ("hicolor-icon-theme" ,hicolor-icon-theme)
9182 ("gnome-online-accounts" ,gnome-online-accounts)
9184 ;; Packages not part of GNOME proper but that are needed for a good
9185 ;; experience. See <https://bugs.gnu.org/39646>.
9186 ;; XXX: Find out exactly which ones are needed and why.
9187 ("font-cantarell" ,font-cantarell)
9188 ("font-dejavu" ,font-dejavu)
9189 ("at-spi2-core" ,at-spi2-core)
9192 ("desktop-file-utils" ,desktop-file-utils)
9193 ("gnome-default-applications" ,gnome-default-applications)
9194 ("gnome-themes-standard" ,gnome-themes-standard)
9195 ("gst-plugins-base" ,gst-plugins-base)
9196 ("gst-plugins-good" ,gst-plugins-good)
9197 ("gucharmap" ,gucharmap)
9198 ("pinentry-gnome3" ,pinentry-gnome3)
9199 ("pulseaudio" ,pulseaudio)
9200 ("shared-mime-info" ,shared-mime-info)
9201 ("system-config-printer" ,system-config-printer)
9202 ("xdg-user-dirs" ,xdg-user-dirs)
9204 ("zenity" ,zenity)))
9205 (synopsis "The GNU desktop environment")
9206 (home-page "https://www.gnome.org/")
9208 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9209 applications for browsing the web, editing text and images, creating
9210 documents and diagrams, playing media, scanning, and much more.")
9211 (license license:gpl2+)))
9213 (define-public byzanz
9214 ;; The last stable release of Byzanz was in 2011, but there have been many
9215 ;; useful commits made to the Byzanz repository since then that it would be
9216 ;; silly to use such an old release.
9217 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9220 (version (string-append "0.2-1." (string-take commit 7)))
9224 (url "https://git.gnome.org/browse/byzanz")
9226 (file-name (string-append name "-" version "-checkout"))
9229 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9230 (build-system glib-or-gtk-build-system)
9233 (modify-phases %standard-phases
9234 (add-before 'bootstrap 'build-without-Werror
9236 ;; The build system cleverly detects that we're not building from
9237 ;; a release tarball and turns on -Werror for GCC.
9238 ;; Unsurprisingly, there is a warning during compilation that
9239 ;; causes the build to fail unnecessarily, so we remove the flag.
9240 (substitute* '("configure.ac")
9244 `(("autoconf" ,autoconf)
9245 ("automake" ,automake)
9246 ("gnome-common" ,gnome-common)
9247 ("intltool" ,intltool)
9248 ("libtool" ,libtool)
9249 ("pkg-config" ,pkg-config)
9253 ("gstreamer" ,gstreamer)
9254 ("gst-plugins-base" ,gst-plugins-base)
9256 (synopsis "Desktop recording program")
9257 (description "Byzanz is a simple desktop recording program with a
9258 command-line interface. It can record part or all of an X display for a
9259 specified duration and save it as a GIF encoded animated image file.")
9260 (home-page "https://git.gnome.org/browse/byzanz")
9261 (license license:gpl2+))))
9263 (define-public authenticator
9265 (name "authenticator")
9271 (url "https://gitlab.gnome.org/World/Authenticator")
9273 (file-name (git-file-name name version))
9275 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9276 (build-system meson-build-system)
9280 (modify-phases %standard-phases
9281 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9282 (lambda* (#:key inputs outputs #:allow-other-keys)
9283 (let ((prog (string-append (assoc-ref outputs "out")
9284 "/bin/authenticator"))
9285 (pylib (string-append (assoc-ref outputs "out")
9287 ,(version-major+minor
9288 (package-version python))
9291 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9292 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9295 `(("desktop-file-utils" ,desktop-file-utils)
9296 ("gettext" ,gettext-minimal)
9297 ("glib:bin" ,glib "bin")
9298 ("gobject-introspection" ,gobject-introspection)
9299 ("gtk+:bin" ,gtk+ "bin")
9300 ("pkg-config" ,pkg-config)))
9302 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9304 ("libhandy" ,libhandy-0.0)
9305 ("libsecret" ,libsecret)
9306 ("python-beautifulsoup4" ,python-beautifulsoup4)
9307 ("python-pillow" ,python-pillow)
9308 ("python-pyfavicon" ,python-pyfavicon)
9309 ("python-pygobject" ,python-pygobject)
9310 ("python-pyotp" ,python-pyotp)
9311 ("python-pyzbar" ,python-pyzbar)
9312 ("yoyo-migrations" ,yoyo-migrations)
9314 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9315 (synopsis "Two-factor authentication application built for GNOME")
9317 "Authenticator is a two-factor authentication (2FA) application built for
9318 the GNOME desktop environment.
9323 @item QR code scanner
9325 @item Huge database of more than 560 supported services
9326 @item Keep your PIN tokens secure by locking the application with a password
9327 @item Automatically fetch an image for services using their favicon
9328 @item The possibility to add new services
9330 (license license:gpl3+)))
9332 (define-public gsound
9338 (uri (string-append "mirror://gnome/sources/" name "/"
9339 (version-major+minor version) "/"
9340 name "-" version ".tar.xz"))
9343 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9344 (build-system glib-or-gtk-build-system)
9346 `(("pkg-config" ,pkg-config)
9347 ("gobject-introspection" ,gobject-introspection)
9351 ("libcanberra" ,libcanberra)))
9352 (home-page "https://wiki.gnome.org/Projects/GSound")
9353 (synopsis "GObject wrapper for libcanberra")
9355 "GSound is a small library for playing system sounds. It's designed to be
9356 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9358 (license license:lgpl2.1+)))
9360 (define-public libzapojit
9366 (uri (string-append "mirror://gnome/sources/" name "/"
9367 (version-major+minor version) "/"
9368 name "-" version ".tar.xz"))
9371 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9372 (build-system gnu-build-system)
9374 `(("gobject-introspection" ,gobject-introspection)
9375 ("intltool" ,intltool)
9376 ("pkg-config" ,pkg-config)))
9378 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9379 ("json-glib" ,json-glib)
9381 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9382 (synopsis "Library for accessing SkyDrive and Hotmail")
9384 "Libzapojit is a GLib-based library for accessing online service APIs of
9385 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9386 (license license:lgpl2.1+)))
9388 (define-public gnome-clocks
9390 (name "gnome-clocks")
9394 (uri (string-append "mirror://gnome/sources/" name "/"
9395 (version-major+minor version) "/"
9396 name "-" version ".tar.xz"))
9399 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9400 (build-system meson-build-system)
9404 (modify-phases %standard-phases
9405 (add-after 'unpack 'skip-gtk-update-icon-cache
9406 ;; Don't create 'icon-theme.cache'.
9408 (substitute* "build-aux/post-install.py"
9409 (("gtk-update-icon-cache") "true"))
9413 ("pkg-config" ,pkg-config)
9414 ("glib" ,glib "bin") ; for glib-compile-resources
9415 ("desktop-file-utils" ,desktop-file-utils)
9416 ("gettext" ,gettext-minimal)
9417 ("itstool" ,itstool)))
9422 ("geoclue" ,geoclue)
9423 ("geocode-glib" ,geocode-glib)
9424 ("libgweather" ,libgweather)
9425 ("gnome-desktop" ,gnome-desktop)))
9426 (home-page "https://wiki.gnome.org/Apps/Clocks")
9427 (synopsis "GNOME's clock application")
9429 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9430 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9431 (license license:gpl3+)))
9433 (define-public gnome-calendar
9435 (name "gnome-calendar")
9439 (uri (string-append "mirror://gnome/sources/" name "/"
9440 (version-major+minor version) "/"
9441 name "-" version ".tar.xz"))
9444 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9445 (build-system meson-build-system)
9448 ;; gnome-calendar has to be installed before the tests can be run
9449 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9452 (modify-phases %standard-phases
9453 (add-after 'unpack 'skip-gtk-update-icon-cache
9454 ;; Don't create 'icon-theme.cache'.
9456 (substitute* "build-aux/meson/meson_post_install.py"
9457 (("gtk-update-icon-cache") "true"))
9460 `(("gettext" ,gettext-minimal)
9461 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9462 ("pkg-config" ,pkg-config)))
9464 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9465 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9466 ("libdazzle" ,libdazzle)
9467 ("libedataserverui" ,evolution-data-server)
9468 ("libgweather" ,libgweather)
9469 ("geoclue" ,geoclue)))
9471 `(("evolution-data-server" ,evolution-data-server)))
9472 (home-page "https://wiki.gnome.org/Apps/Calendar")
9473 (synopsis "GNOME's calendar application")
9475 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9476 desktop. It supports multiple calendars, month, week and year view.")
9477 (license license:gpl3+)))
9479 (define-public gnome-todo
9485 (uri (string-append "mirror://gnome/sources/" name "/"
9486 (version-major+minor version) "/"
9487 name "-" version ".tar.xz"))
9490 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9492 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9493 (build-system meson-build-system)
9496 #:phases (modify-phases %standard-phases
9498 'install 'wrap-gnome-todo
9499 (lambda* (#:key inputs outputs #:allow-other-keys)
9500 (let ((out (assoc-ref outputs "out"))
9501 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9502 (python-path (getenv "PYTHONPATH")))
9503 (wrap-program (string-append out "/bin/gnome-todo")
9504 ;; XXX: gi plugins are broken.
9505 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9507 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9508 `("PYTHONPATH" ":" prefix (,python-path))))
9511 `(("gettext" ,gettext-minimal)
9512 ("gobject-introspection" ,gobject-introspection)
9513 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9514 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9515 ("pkg-config" ,pkg-config)))
9517 `(("rest" ,rest) ; For Todoist plugin
9518 ("json-glib" ,json-glib) ; For Todoist plugin
9519 ("libedataserverui" ,evolution-data-server)
9520 ("libical" ,libical)
9521 ("libpeas" ,libpeas)
9522 ("python-pygobject" ,python-pygobject)
9523 ("evolution-data-server" ,evolution-data-server)
9524 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9525 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9526 (home-page "https://wiki.gnome.org/Apps/Todo")
9527 (synopsis "GNOME's ToDo Application")
9529 "GNOME To Do is a simplistic personal task manager designed to perfectly
9530 fit the GNOME desktop.")
9531 (license license:gpl3+)))
9533 (define-public gnome-dictionary
9535 (name "gnome-dictionary")
9539 (uri (string-append "mirror://gnome/sources/" name "/"
9540 (version-major+minor version) "/"
9541 name "-" version ".tar.xz"))
9544 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9545 (build-system meson-build-system)
9546 (arguments '(#:glib-or-gtk? #t
9547 #:phases (modify-phases %standard-phases
9548 (add-after 'unpack 'patch-install-script
9550 ;; This script attempts to compile glib schemas
9551 ;; and create an empty MIME database. We do
9552 ;; that elsewhere, so prevent it from running.
9553 (substitute* "build-aux/post-install.sh"
9554 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9557 `(("glib:bin" ,glib "bin")
9558 ("gobject-introspection" ,gobject-introspection)
9559 ("intltool" ,intltool)
9560 ("itstool" ,itstool)
9561 ("pkg-config" ,pkg-config)
9562 ("xmllint" ,libxml2)))
9564 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9566 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9567 (synopsis "Look up words in dictionary sources")
9569 "GNOME Dictionary can look for the definition or translation of a word in
9570 existing databases over the internet.")
9571 (license license:gpl3+)))
9573 (define-public gnome-tweaks
9575 (name "gnome-tweaks")
9579 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9580 (version-major+minor version) "/"
9581 "gnome-tweaks-" version ".tar.xz"))
9583 (list (search-patch "gnome-tweaks-search-paths.patch")))
9586 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9587 (build-system meson-build-system)
9590 #:configure-flags '("-Dlocalstatedir=/tmp"
9591 "-Dsysconfdir=/tmp")
9592 #:imported-modules ((guix build python-build-system)
9593 ,@%meson-build-system-modules)
9595 (modify-phases %standard-phases
9596 (add-after 'unpack 'skip-gtk-update-icon-cache
9597 ;; Don't create 'icon-theme.cache'.
9599 (substitute* "meson-postinstall.py"
9600 (("gtk-update-icon-cache") "true"))
9602 (add-after 'install 'wrap
9603 (@@ (guix build python-build-system) wrap))
9604 (add-after 'wrap 'wrap-gi-typelib
9605 (lambda* (#:key inputs outputs #:allow-other-keys)
9606 (let ((out (assoc-ref outputs "out"))
9607 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9608 (wrap-program (string-append out "/bin/gnome-tweaks")
9609 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9612 `(("intltool" ,intltool)
9613 ("pkg-config" ,pkg-config)))
9615 `(("gnome-desktop" ,gnome-desktop)
9617 ("gobject-introspection" ,gobject-introspection)
9618 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9619 ("libhandy" ,libhandy-0.0)
9620 ("libnotify" ,libnotify)
9621 ("libsoup" ,libsoup)
9622 ("nautilus" ,nautilus)
9624 ("python-pygobject" ,python-pygobject)))
9625 (synopsis "Customize advanced GNOME 3 options")
9626 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9628 "GNOME Tweaks allows adjusting advanced configuration settings in
9629 GNOME 3. This includes things like the fonts used in user interface elements,
9630 alternative user interface themes, changes in window management behavior,
9631 GNOME Shell appearance and extension, etc.")
9632 (license license:gpl3+)))
9634 (define-public gnome-shell-extensions
9636 (name "gnome-shell-extensions")
9640 (uri (string-append "mirror://gnome/sources/" name "/"
9641 (version-major+minor version) "/"
9642 name "-" version ".tar.xz"))
9645 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9646 (build-system meson-build-system)
9648 '(#:configure-flags '("-Dextension_set=all")))
9650 `(("glib:bin" ,glib "bin")
9651 ("intltool" ,intltool)
9652 ("pkg-config" ,pkg-config)))
9655 (synopsis "Extensions for GNOME Shell")
9656 (description "GNOME Shell extensions modify and extend GNOME Shell
9657 functionality and behavior.")
9658 (home-page "https://extensions.gnome.org/")
9659 (license license:gpl3+)))
9661 (define-public folks
9668 "mirror://gnome/sources/folks/"
9669 (version-major+minor version) "/"
9670 "folks-" version ".tar.xz"))
9673 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9674 (build-system meson-build-system)
9677 (modify-phases %standard-phases
9678 (add-after 'unpack 'skip-gtk-update-icon-cache
9679 ;; Don't create 'icon-theme.cache'.
9681 (substitute* "meson_post_install.py"
9682 (("gtk-update-icon-cache") "true"))
9686 ("dbus-glib" ,dbus-glib)
9687 ("evolution-data-server" ,evolution-data-server)
9690 ("readline" ,readline)
9691 ("telepathy-glib" ,telepathy-glib)))
9693 `(("glib:bin" ,glib "bin")
9694 ("gobject-introspection" ,gobject-introspection)
9695 ("intltool" ,intltool)
9696 ("pkg-config" ,pkg-config)
9698 (synopsis "Library to aggregate data about people")
9699 (description "Libfolks is a library that aggregates information about people
9700 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9701 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9702 etc.) to create metacontacts. It's written in Vala, which generates C code when
9704 (home-page "https://wiki.gnome.org/Projects/Folks")
9705 (license license:lgpl2.1+)))
9707 (define-public gfbgraph
9714 "mirror://gnome/sources/gfbgraph/"
9715 (version-major+minor version) "/"
9716 "gfbgraph-" version ".tar.xz"))
9719 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9720 (build-system glib-or-gtk-build-system)
9722 `(#:tests? #f ; tests appear to require the network
9723 #:configure-flags '("--disable-static"
9725 "--enable-introspection")))
9727 `(("gobject-introspection" ,gobject-introspection)
9728 ("gtk-doc" ,gtk-doc)
9729 ("pkg-config" ,pkg-config)
9731 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9732 ("autoconf" ,autoconf)
9733 ("automake" ,automake)
9734 ("libtool" ,libtool)
9737 `(("json-glib" ,json-glib)
9738 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9740 (synopsis "GLib/GObject wrapper for the Facebook API")
9741 (description "This library allows you to use the Facebook API from
9742 GLib/GObject code.")
9743 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9744 (license license:lgpl2.1+)))
9746 (define-public libgnomekbd
9748 (name "libgnomekbd")
9752 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9753 (version-major+minor version) "/"
9754 "libgnomekbd-" version ".tar.xz"))
9757 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9758 (build-system gnu-build-system)
9760 `(("pkg-config" ,pkg-config)
9761 ("glib" ,glib "bin")
9762 ("intltool" ,intltool)))
9764 ;; Referred to in .h files and .pc.
9767 ("libxklavier" ,libxklavier)))
9768 (home-page "https://www.gnome.org")
9769 (synopsis "GNOME keyboard configuration library")
9771 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9772 environment, which can notably display keyboard layouts.")
9773 (license license:lgpl2.0+)))
9775 ;;; This package is no longer maintained:
9776 ;;; https://wiki.gnome.org/Attic/LibUnique
9777 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9778 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9779 (define-public libunique
9785 (uri (string-append "mirror://gnome/sources/" name "/"
9786 (version-major+minor version) "/"
9787 name "-" version ".tar.xz"))
9790 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9791 (build-system glib-or-gtk-build-system)
9793 `(#:configure-flags '("--disable-static"
9794 "--disable-dbus" ; use gdbus
9795 "--enable-introspection")))
9797 `(("pkg-config" ,pkg-config)
9798 ("gobject-introspection" ,gobject-introspection)
9799 ("glib:bin" ,glib "bin")
9800 ("gtk-doc" ,gtk-doc)))
9802 ;; Referred to in .h files and .pc.
9804 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9805 (synopsis "Library for writing single instance applications")
9807 "Libunique is a library for writing single instance applications. If you
9808 launch a single instance application twice, the second instance will either just
9809 quit or will send a message to the running instance. Libunique makes it easy to
9810 write this kind of application, by providing a base class, taking care of all
9811 the IPC machinery needed to send messages to a running instance, and also
9812 handling the startup notification side.")
9813 (license license:lgpl2.1+)))
9815 (define-public gnome-calculator
9817 (name "gnome-calculator")
9822 (uri (string-append "mirror://gnome/sources/" name "/"
9823 (version-major+minor version) "/"
9824 name "-" version ".tar.xz"))
9827 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9828 (build-system meson-build-system)
9829 (arguments '(#:glib-or-gtk? #t))
9831 `(("gettext" ,gettext-minimal)
9832 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9833 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9834 ("itstool" ,itstool)
9836 ("pkg-config" ,pkg-config)))
9839 ("gtksourceview" ,gtksourceview)
9841 ("libsoup" ,libsoup)
9842 ("libxml2" ,libxml2)
9845 (home-page "https://wiki.gnome.org/Apps/Calculator")
9846 (synopsis "Desktop calculator")
9848 "Calculator is an application that solves mathematical equations and
9849 is suitable as a default application in a Desktop environment.")
9850 (license license:gpl3)))
9859 (uri (string-append "https://launchpad.net/xpad/trunk/"
9860 version "/+download/"
9861 name "-" version ".tar.bz2"))
9864 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9865 (build-system gnu-build-system)
9867 `(("autoconf" ,autoconf)
9868 ("automake" ,automake)
9869 ("gtk+:bin" ,gtk+ "bin")
9870 ("intltool" ,intltool)
9871 ("pkg-config" ,pkg-config)))
9873 `(("gtksourceview" ,gtksourceview-3)
9875 (home-page "https://wiki.gnome.org/Apps/Xpad")
9876 (synopsis "Virtual sticky note")
9878 "Xpad is a sticky note that strives to be simple, fault tolerant,
9879 and customizable. Xpad consists of independent pad windows, each is
9880 basically a text box in which notes can be written.")
9881 (license license:gpl3+)))
9883 (define-public gucharmap
9884 (let ((unicode-files
9886 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9888 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9890 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9892 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9894 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9896 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9903 (uri (string-append "mirror://gnome/sources/" name "/"
9904 (version-major+minor version) "/"
9905 name "-" version ".tar.xz"))
9908 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9909 (build-system glib-or-gtk-build-system)
9911 `(#:modules ((ice-9 match)
9912 (guix build glib-or-gtk-build-system)
9915 (list "--with-unicode-data=../unicode-data")
9917 (modify-phases %standard-phases
9918 (add-after 'unpack 'prepare-unicode-data
9919 (lambda* (#:key inputs #:allow-other-keys)
9920 (mkdir-p "../unicode-data")
9921 (with-directory-excursion "../unicode-data"
9922 (for-each (match-lambda
9924 (install-file (assoc-ref inputs file) ".")))
9928 `(("desktop-file-utils" ,desktop-file-utils)
9929 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9930 ("gobject-introspection" ,gobject-introspection)
9931 ("intltool" ,intltool)
9932 ("itstool" ,itstool)
9933 ("pkg-config" ,pkg-config)
9934 ,@(map (match-lambda
9940 "http://www.unicode.org/Public/12.0.0/ucd/"
9942 (sha256 (base32 hash))))))
9947 ("xmllint" ,libxml2)))
9948 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9949 (synopsis "Unicode character picker and font browser")
9951 "This program allows you to browse through all the available Unicode
9952 characters and categories for the installed fonts, and to examine their
9953 detailed properties. It is an easy way to find the character you might
9954 only know by its Unicode name or code point.")
9955 (license license:gpl3+))))
9957 (define-public bluefish
9964 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
9965 "bluefish-" version ".tar.gz"))
9967 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
9968 (build-system gnu-build-system)
9970 `(("desktop-file-utils" ,desktop-file-utils)
9971 ("intltool" ,intltool)
9972 ("pkg-config" ,pkg-config)))
9974 `(("enchant" ,enchant)
9976 ("python" ,python-wrapper)
9977 ("xmllint" ,libxml2)
9978 ("gucharmap" ,gucharmap)))
9979 (home-page "http://bluefish.openoffice.nl")
9980 (synopsis "Web development studio")
9982 "Bluefish is an editor aimed at programmers and web developers,
9983 with many options to write web sites, scripts and other code.
9984 Bluefish supports many programming and markup languages.")
9985 (license license:gpl3+)))
9987 (define-public gnome-system-monitor
9989 (name "gnome-system-monitor")
9994 (uri (string-append "mirror://gnome/sources/" name "/"
9995 (version-major+minor version) "/"
9996 name "-" version ".tar.xz"))
9999 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10000 (build-system meson-build-system)
10002 '(#:glib-or-gtk? #t
10003 #:configure-flags '("-Dsystemd=false")))
10005 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10006 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10007 ("intltool" ,intltool)
10008 ("itstool" ,itstool)
10009 ("libgtop" ,libgtop)
10011 ("pkg-config" ,pkg-config)))
10013 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10016 ("librsvg" ,librsvg)
10017 ("libxml2" ,libxml2)
10018 ("libwnck" ,libwnck)))
10019 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10020 (synopsis "Process viewer and system resource monitor for GNOME")
10022 "GNOME System Monitor is a GNOME process viewer and system monitor with
10023 an attractive, easy-to-use interface. It has features, such as a tree view
10024 for process dependencies, icons for processes, the ability to hide processes,
10025 graphical time histories of CPU/memory/swap usage and the ability to
10026 kill/reinice processes.")
10027 (license license:gpl2+)))
10029 (define-public python-pyatspi
10031 (name "python-pyatspi")
10035 (uri (string-append
10036 "mirror://gnome/sources/pyatspi/"
10037 (version-major+minor version)
10038 "/pyatspi-" version ".tar.xz"))
10041 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10042 (build-system gnu-build-system)
10045 (modify-phases %standard-phases
10046 (add-before 'build 'fix-atk-load
10048 (substitute* "pyatspi/__init__.py"
10049 (("from gi.repository import Atspi")
10050 "gi.require_version('Gtk', '3.0')
10051 from gi.repository import Gtk
10052 from gi.repository import Atspi"))
10055 `(("pkg-config" ,pkg-config)))
10057 `(("python" ,python)))
10059 `(("python-pygobject" ,python-pygobject)))
10060 (synopsis "Python client bindings for D-Bus AT-SPI")
10061 (home-page "https://wiki.linuxfoundation.org/accessibility\
10062 /atk/at-spi/at-spi_on_d-bus")
10064 "This package includes a python client library for the AT-SPI D-Bus
10065 accessibility infrastructure.")
10066 (license license:lgpl2.0)
10067 (properties '((upstream-name . "pyatspi")))))
10069 (define-public python2-pyatspi
10071 (inherit python-pyatspi)
10072 (name "python2-pyatspi")
10074 `(("python" ,python-2)))
10076 `(("python-pygobject" ,python2-pygobject)))))
10078 (define-public orca
10084 (uri (string-append
10085 "mirror://gnome/sources/" name "/"
10086 (version-major+minor version) "/"
10087 name "-" version ".tar.xz"))
10090 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10091 (build-system glib-or-gtk-build-system)
10094 (modify-phases %standard-phases
10095 (add-before 'configure 'qualify-xkbcomp
10096 (lambda* (#:key inputs #:allow-other-keys)
10097 (let ((xkbcomp (string-append
10098 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10099 (substitute* "src/orca/orca.py"
10100 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10102 (add-after 'install 'wrap-orca
10103 (lambda* (#:key outputs #:allow-other-keys)
10104 (let* ((out (assoc-ref outputs "out"))
10105 (prog (string-append out "/bin/orca")))
10107 `("GI_TYPELIB_PATH" ":" prefix
10108 (,(getenv "GI_TYPELIB_PATH")))
10109 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10110 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10111 `("PYTHONPATH" ":" prefix
10112 (,(getenv "PYTHONPATH")))))
10115 `(("intltool" ,intltool)
10116 ("itstool" ,itstool)
10117 ("pkg-config" ,pkg-config)
10118 ("xmllint" ,libxml2)))
10120 `(("at-spi2-atk" ,at-spi2-atk)
10121 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10122 ("gstreamer" ,gstreamer)
10123 ("gst-plugins-base" ,gst-plugins-base)
10124 ("gst-plugins-good" ,gst-plugins-good)
10127 ("python-pygobject" ,python-pygobject)
10128 ("python-pyatspi" ,python-pyatspi)
10129 ("python-speechd" ,speech-dispatcher)
10130 ("xkbcomp" ,xkbcomp)))
10132 "Screen reader for individuals who are blind or visually impaired")
10133 (home-page "https://wiki.gnome.org/Projects/Orca")
10135 "Orca is a screen reader that provides access to the graphical desktop
10136 via speech and refreshable braille. Orca works with applications and toolkits
10137 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10138 (license license:lgpl2.1+)))
10140 (define-public gspell
10146 (uri (string-append "mirror://gnome/sources/" name "/"
10147 (version-major+minor version) "/"
10148 name "-" version ".tar.xz"))
10151 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10152 (patches (search-patches "gspell-dash-test.patch"))))
10153 (build-system glib-or-gtk-build-system)
10155 '(#:configure-flags (list "--enable-vala")
10157 (modify-phases %standard-phases
10158 (add-before 'check 'pre-check
10159 (lambda* (#:key inputs #:allow-other-keys)
10160 ;; Tests require a running X server.
10161 (system "Xvfb :1 &")
10162 (setenv "DISPLAY" ":1")
10164 ;; For the missing /etc/machine-id.
10165 (setenv "DBUS_FATAL_WARNINGS" "0")
10167 ;; Allow Enchant and its Aspell backend to find the en_US
10169 (setenv "ASPELL_DICT_DIR"
10170 (string-append (assoc-ref inputs "aspell-dict-en")
10176 ("iso-codes" ,iso-codes)))
10178 `(("glib" ,glib "bin")
10179 ("gobject-introspection" ,gobject-introspection)
10180 ("pkg-config" ,pkg-config)
10181 ("vala" ,vala) ;for VAPI, needed by Geary
10182 ("xmllint" ,libxml2)
10185 ("aspell-dict-en" ,aspell-dict-en)
10186 ("xorg-server" ,xorg-server-for-tests)))
10188 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10189 (home-page "https://wiki.gnome.org/Projects/gspell")
10190 (synopsis "GNOME's alternative spell checker")
10192 "gspell provides a flexible API to add spell-checking to a GTK+
10193 application. It provides a GObject API, spell-checking to text entries and
10194 text views, and buttons to choose the language.")
10195 (license license:gpl2+)))
10197 (define-public gnome-planner
10199 (name "gnome-planner")
10203 (uri (string-append "mirror://gnome/sources/planner/"
10204 (version-major+minor version) "/planner-"
10205 version ".tar.xz"))
10208 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10209 (build-system glib-or-gtk-build-system)
10211 ;; Disable the Python bindings because the Planner program functions
10212 ;; without them, and (as of 2017-06-13) we have not packaged all of
10213 ;; packages that are necessary for building the Python bindings.
10214 `(#:configure-flags
10215 (list "--disable-python"
10216 ,@(if (string=? "aarch64-linux" (%current-system))
10217 '("--build=aarch64-unknown-linux-gnu")
10220 `(("libgnomecanvas" ,libgnomecanvas)
10221 ("libgnomeui" ,libgnomeui)
10222 ("libglade" ,libglade)
10223 ("gnome-vfs" ,gnome-vfs)
10225 ("libxml2" ,libxml2)
10226 ("libxslt" ,libxslt)
10230 `(("intltool" ,intltool)
10231 ("scrollkeeper" ,scrollkeeper)
10232 ("pkg-config" ,pkg-config)))
10233 (home-page "https://wiki.gnome.org/Apps/Planner")
10234 (synopsis "Project management software for the GNOME desktop")
10236 "GNOME Planner is a project management tool based on the Work Breakdown
10237 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10238 the resources, tasks, and constraints that you define, Planner generates
10239 various views into a project. For example, Planner can show a Gantt chart of
10240 the project. It can show a detailed summary of tasks including their
10241 duration, cost, and current progress. It can also show a report of resource
10242 utilization that highlights under-utilized and over-utilized resources. These
10243 views can be printed as PDF or PostScript files, or exported to HTML.")
10244 (license license:gpl2+)))
10246 (define-public lollypop
10253 (uri (string-append "https://adishatz.org/lollypop/"
10254 "lollypop-" version ".tar.xz"))
10256 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10257 (build-system meson-build-system)
10259 `(#:imported-modules
10260 (,@%meson-build-system-modules
10261 (guix build python-build-system))
10263 ((guix build meson-build-system)
10264 ((guix build python-build-system) #:prefix python:)
10265 (guix build utils))
10267 #:tests? #f ; no test suite
10269 (modify-phases %standard-phases
10270 (add-after 'install 'wrap-program
10271 (lambda* (#:key outputs #:allow-other-keys)
10272 (let ((out (assoc-ref outputs "out"))
10273 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10274 (wrap-program (string-append out "/bin/lollypop")
10275 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10277 (add-after 'install 'wrap-python
10278 (assoc-ref python:%standard-phases 'wrap)))))
10280 `(("intltool" ,intltool)
10281 ("itstool" ,itstool)
10282 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10283 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10284 ("pkg-config" ,pkg-config)))
10286 `(("glib-networking" ,glib-networking)
10287 ("gobject-introspection" ,gobject-introspection)
10288 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10289 ("gst-plugins-base" ,gst-plugins-base)
10290 ("libnotify" ,libnotify)
10291 ("libsecret" ,libsecret)
10292 ("libhandy" ,libhandy)
10293 ("libsoup" ,libsoup)
10295 ("python-beautifulsoup4" ,python-beautifulsoup4)
10296 ("python-gst" ,python-gst)
10297 ("python-pil" ,python-pillow)
10298 ("python-pycairo" ,python-pycairo)
10299 ("python-pygobject" ,python-pygobject)
10300 ("python-pylast" ,python-pylast)
10301 ("totem-pl-parser" ,totem-pl-parser)
10302 ("webkitgtk" ,webkitgtk)))
10304 `(;; gst-plugins-base is required to start Lollypop,
10305 ;; the others are required to play streaming.
10306 ("gst-plugins-good" ,gst-plugins-good)
10307 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10308 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10309 (synopsis "GNOME music playing application")
10311 "Lollypop is a music player designed to play well with GNOME desktop.
10312 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10313 from artists and tracks from the web. It also fetches cover artworks
10314 automatically and it can stream songs from online music services and charts.")
10315 (license license:gpl3+)))
10317 (define-public gnome-video-effects
10319 (name "gnome-video-effects")
10323 (uri (string-append "mirror://gnome/sources/" name "/"
10324 (version-major+minor version) "/" name "-"
10325 version ".tar.xz"))
10328 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10329 (build-system meson-build-system)
10331 `(("gettext" ,gettext-minimal)
10332 ("pkg-config" ,pkg-config)))
10333 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10334 (synopsis "Video effects for Cheese and other GNOME applications")
10336 "A collection of GStreamer video filters and effects to be used in
10337 photo-booth-like software, such as Cheese.")
10338 (license license:gpl2+)))
10340 (define-public cheese
10346 (uri (string-append "mirror://gnome/sources/" name "/"
10347 (version-major+minor version) "/" name "-"
10348 version ".tar.xz"))
10351 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10353 `(#:glib-or-gtk? #t
10354 ;; Tests require GDK.
10357 (modify-phases %standard-phases
10358 (add-after 'unpack 'skip-gtk-update-icon-cache
10360 ;; Don't create 'icon-theme.cache'
10361 (substitute* "meson_post_install.py"
10362 (("gtk-update-icon-cache") (which "true")))
10364 (add-after 'unpack 'patch-docbook-xml
10365 (lambda* (#:key inputs #:allow-other-keys)
10366 ;; Avoid a network connection attempt during the build.
10367 (substitute* '("docs/reference/cheese.xml"
10368 "docs/reference/cheese-docs.xml")
10369 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10370 (string-append (assoc-ref inputs "docbook-xml")
10371 "/xml/dtd/docbook/docbookx.dtd")))
10373 (add-after 'install 'wrap-cheese
10374 (lambda* (#:key inputs outputs #:allow-other-keys)
10375 (let ((out (assoc-ref outputs "out"))
10376 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10377 (wrap-program (string-append out "/bin/cheese")
10378 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10380 (build-system meson-build-system)
10382 `(("docbook-xsl" ,docbook-xsl)
10383 ("docbook-xml" ,docbook-xml-4.3)
10384 ("gettext" ,gettext-minimal)
10385 ("glib:bin" ,glib "bin")
10386 ("gtk-doc" ,gtk-doc)
10387 ("itstool" ,itstool)
10388 ("libxml2" ,libxml2)
10389 ("libxslt" ,libxslt)
10390 ("pkg-config" ,pkg-config)
10393 `(("gnome-video-effects" ,gnome-video-effects)
10394 ("clutter" ,clutter)
10395 ("clutter-gst" ,clutter-gst)
10396 ("clutter-gtk" ,clutter-gtk)
10397 ("libcanberra" ,libcanberra)
10398 ("gdk-pixbuf" ,gdk-pixbuf)
10400 ("gstreamer" ,gstreamer)))
10402 `(("gnome-desktop" ,gnome-desktop)
10403 ("gobject-introspection" ,gobject-introspection)
10404 ("gst-plugins-base" ,gst-plugins-base)
10405 ("gst-plugins-good" ,gst-plugins-good)
10406 ("gst-plugins-bad" ,gst-plugins-bad)
10409 ("libxtst" ,libxtst)))
10410 (home-page "https://wiki.gnome.org/Apps/Cheese")
10411 (synopsis "Webcam photo booth software for GNOME")
10413 "Cheese uses your webcam to take photos and videos. Cheese can also
10414 apply fancy special effects and lets you share the fun with others.")
10415 (license license:gpl2+)))
10417 (define-public passwordsafe
10419 (name "passwordsafe")
10424 (uri (git-reference
10425 (url "https://gitlab.gnome.org/World/PasswordSafe")
10427 (file-name (git-file-name name version))
10429 (base32 "0pi2l4gwf8paxm858mxrcsk5nr0c0zw5ycax40mghndb6b1qmmhf"))))
10430 (build-system meson-build-system)
10432 `(#:glib-or-gtk? #t
10434 (modify-phases %standard-phases
10435 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10436 (lambda* (#:key outputs #:allow-other-keys)
10437 (let ((prog (string-append (assoc-ref outputs "out")
10438 "/bin/gnome-passwordsafe"))
10439 (pylib (string-append (assoc-ref outputs "out")
10441 ,(version-major+minor
10442 (package-version python))
10443 "/site-packages")))
10445 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10446 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10449 `(("desktop-file-utils" ,desktop-file-utils)
10450 ("gettext" ,gettext-minimal)
10451 ("glib:bin" ,glib "bin")
10452 ("gobject-introspection" ,gobject-introspection)
10453 ("gtk+:bin" ,gtk+ "bin")
10454 ("pkg-config" ,pkg-config)))
10457 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10459 ("libhandy" ,libhandy-0.0)
10460 ("libpwquality" ,libpwquality)
10461 ("python-pygobject" ,python-pygobject)
10462 ("python-pykeepass" ,python-pykeepass)))
10463 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10464 (synopsis "Password manager for the GNOME desktop")
10466 "Password Safe is a password manager which makes use of the KeePass v4
10467 format. It integrates perfectly with the GNOME desktop and provides an easy
10468 and uncluttered interface for the management of password databases.")
10469 (license license:gpl3+)))
10471 (define-public sound-juicer
10473 (name "sound-juicer")
10478 (uri (string-append "mirror://gnome/sources/" name "/"
10479 (version-major+minor version) "/"
10480 name "-" version ".tar.xz"))
10483 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10484 (build-system glib-or-gtk-build-system)
10486 `(("desktop-file-utils" ,desktop-file-utils)
10487 ("intltool" ,intltool)
10488 ("itstool" ,itstool)
10489 ("pkg-config" ,pkg-config)
10490 ("xmllint" ,libxml2)))
10493 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10494 ("gstreamer" ,gstreamer)
10495 ("gst-plugins-base" ,gst-plugins-base)
10496 ("gst-plugins-good" ,gst-plugins-good)
10497 ("iso-codes" ,iso-codes)
10498 ("libbrasero-media3" ,brasero)
10499 ("libcanberra" ,libcanberra)
10500 ("libdiscid" ,libdiscid)
10501 ("libmusicbrainz" ,libmusicbrainz)
10503 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10504 (synopsis "Audio music cd ripper")
10505 (description "Sound Juicer extracts audio from compact discs and convert it
10506 into audio files that a personal computer or digital audio player can play.
10507 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10508 mp3, Ogg Vorbis and FLAC")
10509 (license license:gpl2+)))
10511 (define-public soundconverter
10513 (name "soundconverter")
10518 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10519 version "/+download/"
10520 "soundconverter-" version ".tar.xz"))
10523 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10524 (build-system glib-or-gtk-build-system)
10526 `(#:imported-modules ((guix build python-build-system)
10527 (guix build glib-or-gtk-build-system)
10528 ,@%gnu-build-system-modules)
10530 #:modules ((guix build glib-or-gtk-build-system)
10532 ((guix build gnu-build-system) #:prefix gnu:)
10533 ((guix build python-build-system) #:prefix python:))
10536 (modify-phases %standard-phases
10537 (add-after 'install 'wrap-soundconverter-for-python
10538 (assoc-ref python:%standard-phases 'wrap))
10539 (add-after 'install 'wrap-soundconverter
10540 (lambda* (#:key inputs outputs #:allow-other-keys)
10541 (let ((out (assoc-ref outputs "out"))
10542 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10543 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10544 (wrap-program (string-append out "/bin/soundconverter")
10545 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10546 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10549 `(("intltool" ,intltool)
10550 ("pkg-config" ,pkg-config)
10551 ("glib:bin" ,glib "bin")))
10555 ("python-pygobject" ,python-pygobject)
10556 ("gstreamer" ,gstreamer)
10557 ("gst-plugins-base" ,gst-plugins-base)))
10558 (home-page "https://soundconverter.org/")
10559 (synopsis "Convert between audio formats with a graphical interface")
10561 "SoundConverter supports converting between many audio formats including
10562 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10563 configurable file renaming. ")
10564 (license license:gpl3)))
10566 (define-public workrave
10569 (version "1.10.42")
10573 (uri (git-reference
10574 (url "https://github.com/rcaelers/workrave")
10575 (commit (string-append "v" (string-map
10576 (match-lambda (#\. #\_) (chr chr))
10578 (file-name (git-file-name name version))
10580 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10581 (build-system glib-or-gtk-build-system)
10583 ;; The only tests are maintainer tests (in po/), which fail.
10585 (inputs `(("glib" ,glib)
10587 ("gdk-pixbuf" ,gdk-pixbuf)
10591 ("libxtst" ,libxtst)
10595 ("libxscrnsaver" ,libxscrnsaver)))
10596 (native-inputs `(("boost" ,boost)
10597 ("pkg-config" ,pkg-config)
10598 ("gettext" ,gettext-minimal)
10599 ("autoconf" ,autoconf)
10600 ("autoconf-archive" , autoconf-archive)
10601 ("automake" ,automake)
10602 ("libtool" ,libtool)
10603 ("intltool" ,intltool)
10604 ("gobject-introspection" ,gobject-introspection)
10605 ("python3" ,python-3)
10606 ("python-jinja2" ,python-jinja2)))
10607 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10609 "Workrave is a program that assists in the recovery and prevention of
10610 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10611 micro-pauses and rest breaks, and restricts you to your daily limit.")
10612 (home-page "http://www.workrave.org")
10613 (license license:gpl3+)))
10615 (define-public ghex
10621 (uri (string-append "mirror://gnome/sources/ghex/"
10622 (version-major+minor version) "/"
10623 "ghex-" version ".tar.xz"))
10626 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10627 (build-system meson-build-system)
10629 '(#:glib-or-gtk? #t
10631 (modify-phases %standard-phases
10632 (add-after 'unpack 'skip-gtk-update-icon-cache
10633 ;; Don't create 'icon-theme.cache'.
10635 (substitute* "meson_post_install.py"
10636 (("gtk-update-icon-cache") (which "true")))
10639 `(("pkg-config" ,pkg-config)
10640 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10641 ("gnome-common" ,gnome-common)
10643 ("intltool" ,intltool)
10644 ("yelp-tools" ,yelp-tools)
10645 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10649 (synopsis "GNOME hexadecimal editor")
10650 (description "The GHex program can view and edit files in two ways:
10651 hexadecimal or ASCII. It is useful for editing binary files in general.")
10652 (home-page "https://wiki.gnome.org/Apps/Ghex")
10653 (license license:gpl2)))
10655 (define-public libdazzle
10661 (uri (string-append "mirror://gnome/sources/libdazzle/"
10662 (version-major+minor version) "/"
10663 "libdazzle-" version ".tar.xz"))
10666 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10667 (build-system meson-build-system)
10670 (modify-phases %standard-phases
10671 (add-before 'check 'pre-check
10673 ;; Tests require a running X server.
10674 (system "Xvfb :1 &")
10675 (setenv "DISPLAY" ":1")
10678 `(("glib" ,glib "bin") ; glib-compile-resources
10679 ("pkg-config" ,pkg-config)
10681 ("xorg-server" ,xorg-server-for-tests)))
10684 ("gobject-introspection" ,gobject-introspection)
10687 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10688 (synopsis "Companion library to GObject and Gtk+")
10689 (description "The libdazzle library is a companion library to GObject and
10690 Gtk+. It provides various features that the authors wish were in the
10691 underlying library but cannot for various reasons. In most cases, they are
10692 wildly out of scope for those libraries. In other cases, they are not quite
10693 generic enough to work for everyone.")
10694 (license license:gpl3+)))
10696 (define-public evolution
10702 (uri (string-append "mirror://gnome/sources/evolution/"
10703 (version-major+minor version) "/"
10704 "evolution-" version ".tar.xz"))
10707 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
10708 (build-system cmake-build-system)
10710 `(#:imported-modules (,@%cmake-build-system-modules
10711 (guix build glib-or-gtk-build-system))
10712 #:modules ((guix build cmake-build-system)
10713 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10714 (guix build utils))
10716 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10717 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10718 ; in four years and cannot be built.
10720 (modify-phases %standard-phases
10721 ;; The build system attempts to install user interface modules to the
10722 ;; output directory of the "evolution-data-server" package. This
10723 ;; change redirects that change.
10724 (add-after 'unpack 'patch-ui-module-dir
10725 (lambda* (#:key outputs #:allow-other-keys)
10726 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10727 (("\\$\\{edsuimoduledir\\}")
10728 (string-append (assoc-ref outputs "out")
10729 "/lib/evolution-data-server/ui-modules")))
10731 (add-after 'install 'glib-or-gtk-compile-schemas
10732 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10733 (add-after 'install 'glib-or-gtk-wrap
10734 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10736 `(("glib" ,glib "bin") ; glib-mkenums
10737 ("pkg-config" ,pkg-config)
10738 ("intltool" ,intltool)
10739 ("itstool" ,itstool)))
10741 `(("enchant" ,enchant)
10742 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10744 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10745 ("gnome-autoar" ,gnome-autoar)
10746 ("gnome-desktop" ,gnome-desktop)
10748 ("highlight" ,highlight)
10749 ("libcanberra" ,libcanberra)
10750 ("libgweather" ,libgweather)
10751 ("libnotify" ,libnotify)
10752 ("libsoup" ,libsoup)
10754 ("openldap" ,openldap)
10755 ("webkitgtk" ,webkitgtk)
10757 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10758 (synopsis "Manage your email, contacts and schedule")
10759 (description "Evolution is a personal information management application
10760 that provides integrated mail, calendaring and address book
10762 ;; See COPYING for details.
10763 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10764 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10765 license:lgpl2.1+)))) ; smime/lib/*
10767 (define-public gthumb
10773 (uri (string-append "mirror://gnome/sources/gthumb/"
10774 (version-major+minor version) "/"
10775 "gthumb-" version ".tar.xz"))
10778 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
10779 (build-system meson-build-system)
10781 `(#:glib-or-gtk? #t
10783 ;; Ensure the RUNPATH contains all installed library locations.
10784 (list (string-append "-Dc_link_args=-Wl,-rpath="
10785 (assoc-ref %outputs "out")
10786 "/lib/gthumb/extensions")
10787 (string-append "-Dcpp_link_args=-Wl,-rpath="
10788 (assoc-ref %outputs "out")
10789 "/lib/gthumb/extensions"))))
10791 `(("pkg-config" ,pkg-config)
10792 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10793 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10794 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10795 ("intltool" ,intltool)
10796 ("itstool" ,itstool)))
10800 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10801 ("gstreamer" ,gstreamer)
10802 ("clutter" ,clutter)
10803 ("clutter-gst" ,clutter-gst)
10804 ("clutter-gtk" ,clutter-gtk)
10805 ("libjpeg" ,libjpeg-turbo)
10806 ("libtiff" ,libtiff)
10807 ("libraw" ,libraw)))
10808 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10809 (synopsis "GNOME image viewer and browser")
10810 (description "GThumb is an image viewer, browser, organizer, editor and
10811 advanced image management tool")
10812 (license license:gpl2+)))
10814 (define-public terminator
10816 (name "terminator")
10820 (uri (string-append "https://github.com/gnome-" name "/" name "/"
10821 "releases/download/v" version "/"
10822 name "-" version ".tar.gz"))
10825 "1wbkfp0nk6x9bcwi681zy30qmrp4h754sdz6b7hi9j22mmvdd50z"))))
10826 (build-system python-build-system)
10828 `(("gettext" ,gettext-minimal)
10829 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10830 ("gobject-introspection" ,gobject-introspection)
10831 ("intltool" ,intltool)
10832 ("pkg-config" ,pkg-config)
10833 ("python-psutil" ,python-psutil)
10834 ("python-pytest-runner" ,python-pytest-runner)
10835 ("python-pytest" ,python-pytest)))
10838 ("dbus-glib" ,dbus-glib)
10839 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10841 ("python-pycairo" ,python-pycairo)
10842 ("python-pygobject" ,python-pygobject)
10845 `(("python-configobj" ,python-configobj)))
10847 `(#:imported-modules ((guix build glib-or-gtk-build-system)
10848 ,@%python-build-system-modules)
10849 #:modules ((guix build python-build-system)
10850 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10851 (guix build utils))
10853 (modify-phases %standard-phases
10855 'install 'wrap-program
10856 (lambda* (#:key outputs #:allow-other-keys)
10857 (let ((prog (string-append (assoc-ref outputs "out")
10858 "/bin/terminator"))
10859 (pylib (string-append (assoc-ref outputs "out")
10861 ,(version-major+minor
10862 (package-version python))
10863 "/site-packages")))
10865 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10866 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10868 (add-after 'wrap-program 'glib-or-gtk-wrap
10869 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10870 (home-page "https://gnome-terminator.org/")
10871 (synopsis "Store and run multiple GNOME terminals in one window")
10873 "Terminator allows you to run multiple GNOME terminals in a grid and
10874 tabs, and it supports drag and drop re-ordering of terminals.")
10875 (license license:gpl2)))
10877 (define-public libhandy
10884 (uri (git-reference
10885 (url "https://gitlab.gnome.org/GNOME/libhandy")
10887 (file-name (git-file-name name version))
10889 (base32 "0flgwlm921801i3ns0dwqpnxl89f3rzn4y9h723i13bmflch3in7"))))
10890 (build-system meson-build-system)
10892 `(#:configure-flags
10893 '("-Dglade_catalog=enabled"
10896 (modify-phases %standard-phases
10897 (add-before 'check 'pre-check
10899 ;; Tests require a running X server.
10900 (system "Xvfb :1 &")
10901 (setenv "DISPLAY" ":1")
10906 ("libxml2" ,libxml2)))
10908 `(("glib:bin" ,glib "bin")
10909 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10911 ("gtk-doc" ,gtk-doc)
10912 ("pkg-config" ,pkg-config)
10913 ("gettext" ,gettext-minimal)
10915 ;; Test suite dependencies.
10916 ("xorg-server" ,xorg-server-for-tests)
10917 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10918 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
10919 (synopsis "Library full of GTK+ widgets for mobile phones")
10920 (description "The aim of the handy library is to help with developing user
10921 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
10922 for usage on small and big screens.")
10923 (license license:lgpl2.1+)))
10925 (define-public libhandy-0.0
10932 (uri (git-reference
10933 (url "https://gitlab.gnome.org/GNOME/libhandy")
10934 (commit (string-append "v" version))))
10935 (file-name (git-file-name "libhandy" version))
10937 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
10939 (substitute-keyword-arguments (package-arguments libhandy)
10940 ((#:configure-flags flags)
10941 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
10943 (define-public libgit2-glib
10945 (name "libgit2-glib")
10946 (version "0.99.0.1")
10949 (uri (string-append "mirror://gnome/sources/" name "/"
10950 (version-major+minor version) "/"
10951 name "-" version ".tar.xz"))
10954 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
10955 (build-system meson-build-system)
10957 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
10958 ("gobject-introspection" ,gobject-introspection)
10959 ("pkg-config" ,pkg-config)
10960 ("python-pygobject" ,python-pygobject)
10961 ("python-wrapper" ,python-wrapper)
10965 ("libssh2" ,libssh2)))
10967 `(;; In Requires of libgit2-glib.pc.
10968 ("libgit2" ,libgit2)))
10969 (synopsis "GLib wrapper around the libgit2 Git access library")
10970 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
10971 access library. It only implements the core plumbing functions, not really the
10972 higher level porcelain stuff.")
10973 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
10974 (license license:gpl2+)))
10976 (define-public gitg
10982 (uri (string-append "mirror://gnome/sources/" name "/"
10983 (version-major+minor version) "/"
10984 name "-" version ".tar.xz"))
10987 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
10988 (build-system meson-build-system)
10990 `(#:glib-or-gtk? #t
10992 (modify-phases %standard-phases
10993 (add-after 'unpack 'disable-post-install-partially
10995 (substitute* "meson_post_install.py"
10996 (("'python'") ; there are no python sources to compile
10997 (string-append "'" (which "true") "'"))
10998 (("gtk-update-icon-cache") (which "true")))
11000 (add-after 'unpack 'fix-test-sources
11002 (substitute* "tests/libgitg/test-commit.vala"
11003 (("/bin/bash") (which "bash")))
11005 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11006 (lambda* (#:key outputs #:allow-other-keys)
11007 (let ((prog (string-append (assoc-ref outputs "out")
11010 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11014 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11016 ("gtkspell3" ,gtkspell3)
11017 ("gtksourceview" ,gtksourceview-3)
11018 ("json-glib" ,json-glib)
11019 ("libdazzle" ,libdazzle)
11021 ("libgit2-glib" ,libgit2-glib)
11022 ("libpeas" ,libpeas)
11023 ("libsecret" ,libsecret)
11024 ("libsoup" ,libsoup)
11025 ("libxml2" ,libxml2)))
11027 `(("glib:bin" ,glib "bin")
11028 ("gtk+:bin" ,gtk+ "bin")
11029 ("gobject-introspection" ,gobject-introspection)
11030 ("intltool" ,intltool)
11031 ("pkg-config" ,pkg-config)
11033 (synopsis "Graphical user interface for git")
11035 "gitg is a graphical user interface for git. It aims at being a small,
11036 fast and convenient tool to visualize the history of git repositories.
11037 Besides visualization, gitg also provides several utilities to manage your
11038 repository and commit your work.")
11039 (home-page "https://wiki.gnome.org/Apps/Gitg")
11040 (license license:gpl2+)))
11042 (define-public gamin
11048 (uri (string-append "mirror://gnome/sources/" name "/"
11049 (version-major+minor version) "/"
11050 name "-" version ".tar.bz2"))
11053 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11054 (build-system gnu-build-system)
11057 (modify-phases %standard-phases
11058 (add-after 'unpack 'remove-deprecated-macro
11060 (substitute* '("server/gam_node.c"
11061 "server/gam_subscription.h"
11062 "server/gam_node.h"
11063 "server/gam_subscription.c")
11064 (("G_CONST_RETURN") "const"))
11069 `(("intltool" ,intltool)
11070 ("pkg-config" ,pkg-config)))
11071 (home-page "https://people.gnome.org/~veillard/gamin/")
11072 (synopsis "File alteration monitor")
11074 "Gamin is a file and directory monitoring system defined to be a subset
11075 of the FAM (File Alteration Monitor) system. This is a service provided by a
11076 library which detects when a file or a directory has been modified.")
11077 (license license:gpl2+)))
11079 (define-public gnome-mahjongg
11081 (name "gnome-mahjongg")
11085 (uri (git-reference
11086 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11088 (file-name (git-file-name name version))
11091 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11092 (build-system meson-build-system)
11094 `(#:glib-or-gtk? #t))
11096 `(("appstream-glib" ,appstream-glib)
11097 ("gettext" ,gettext-minimal)
11098 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11099 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11100 ("itstool" ,itstool)
11101 ("pkg-config" ,pkg-config)
11104 `(("dconf" ,dconf)))
11108 ("librsvg" ,librsvg)))
11109 (synopsis "Mahjongg tile-matching game")
11110 (description "GNOME Mahjongg is a game based on the classic Chinese
11111 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11112 and a high score table.")
11113 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11114 (license license:gpl2+)))
11116 (define-public gnome-themes-extra
11118 (name "gnome-themes-extra")
11123 (uri (string-append "mirror://gnome/sources/" name "/"
11124 (version-major+minor version) "/" name "-"
11125 version ".tar.xz"))
11128 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11129 (build-system gnu-build-system)
11131 '(#:configure-flags
11132 ;; Don't create 'icon-theme.cache'.
11133 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11134 (true (string-append coreutils "/bin/true")))
11135 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11137 `(("glib:bin" ,glib "bin")
11138 ("intltool" ,intltool)
11139 ("pkg-config" ,pkg-config)))
11144 ("librsvg" ,librsvg)
11145 ("libxml2" ,libxml2)))
11146 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11147 (synopsis "GNOME Extra Themes")
11148 (description "This package provides themes and related elements that don't
11149 really fit in other upstream packages. It offers legacy support for GTK+ 2
11150 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11151 index files needed for Adwaita to be used outside of GNOME.")
11152 (license license:lgpl2.1+)))
11154 (define-public gnote
11161 (uri (string-append "mirror://gnome/sources/" name "/"
11162 (version-major+minor version) "/"
11163 "gnote-" version ".tar.xz"))
11165 (base32 "1ingbaw4d8vpjn083xvzqw7kz8z0k2bx7msk78pbzd68bwgkadpx"))))
11166 (build-system glib-or-gtk-build-system)
11168 `(("desktop-file-utils" ,desktop-file-utils)
11169 ("glib:bin" ,glib "bin")
11170 ("gobject-introspection" ,gobject-introspection)
11171 ("intltool" ,intltool)
11172 ("itstool" ,itstool)
11173 ("pkg-config" ,pkg-config)
11174 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11176 `(("glibmm" ,glibmm)
11177 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11181 ("libsecret" ,libsecret)
11182 ("libuuid" ,util-linux "lib")
11183 ("libxml2" ,libxml2)
11184 ("libxslt" ,libxslt)))
11185 (synopsis "Note-taking application for the GNOME desktop")
11187 "Gnote is a note-taking application written for the GNOME desktop
11189 (home-page "https://wiki.gnome.org/Apps/Gnote")
11190 (license license:gpl3+)))
11192 (define-public polari
11198 (uri (string-append "mirror://gnome/sources/polari/"
11199 (version-major+minor version)
11200 "/polari-" version ".tar.xz"))
11203 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11204 (build-system meson-build-system)
11206 `(#:glib-or-gtk? #t
11208 (modify-phases %standard-phases
11209 (add-after 'unpack 'skip-gtk-update-icon-cache
11211 (substitute* "meson/meson-postinstall.sh"
11212 (("gtk-update-icon-cache") (which "true")))
11214 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11215 (lambda* (#:key outputs #:allow-other-keys)
11216 (let ((prog (string-append (assoc-ref outputs "out")
11219 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11223 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11227 ("libsecret" ,libsecret)
11228 ("libsoup" ,libsoup)
11229 ("telepathy-glib" ,telepathy-glib)
11230 ("telepathy-logger" ,telepathy-logger)))
11232 `(("glib:bin" ,glib "bin")
11233 ("gobject-introspection" ,gobject-introspection)
11234 ("intltool" ,intltool)
11235 ("pkg-config" ,pkg-config)
11236 ("yelp-tools" ,yelp-tools)))
11238 `(("telepathy-idle" ,telepathy-idle)
11239 ("telepathy-mission-control" ,telepathy-mission-control)))
11240 (synopsis "Simple IRC Client")
11242 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11243 integrate seamlessly with the GNOME desktop.")
11244 (home-page "https://wiki.gnome.org/Apps/Polari")
11245 (license license:gpl2+)))
11247 (define-public gnome-boxes
11249 (name "gnome-boxes")
11254 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11255 (version-major+minor version) "/"
11256 "gnome-boxes-" version ".tar.xz"))
11258 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11259 (build-system meson-build-system)
11261 '(#:glib-or-gtk? #t
11262 #:configure-flags (list "-Drdp=false"
11263 (string-append "-Dc_link_args=-Wl,-rpath="
11264 (assoc-ref %outputs "out")
11265 "/lib/gnome-boxes"))))
11267 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11268 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11269 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11270 ("itstool" ,itstool)
11271 ("intltool" ,intltool)
11273 ("pkg-config" ,pkg-config)))
11275 `(("libarchive" ,libarchive)
11276 ("glib-networking" ,glib-networking) ;for TLS support
11277 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11279 ("gtk-vnc" ,gtk-vnc)
11280 ("libosinfo" ,libosinfo)
11281 ("libsecret" ,libsecret)
11282 ("libsoup" ,libsoup)
11284 ("libvirt" ,libvirt)
11285 ("libvirt-glib" ,libvirt-glib)
11286 ("libxml" ,libxml2)
11287 ("spice-gtk" ,spice-gtk)
11288 ("sparql-query" ,sparql-query)
11290 ("webkitgtk" ,webkitgtk)
11291 ("tracker" ,tracker)
11292 ("libgudev" ,libgudev)))
11293 (home-page "https://wiki.gnome.org/Apps/Boxes")
11294 (synopsis "View, access, and manage remote and virtual systems")
11295 (description "GNOME Boxes is a simple application to view, access, and
11296 manage remote and virtual systems. Note that this application requires the
11297 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11298 @command{info '(guix) Virtualization Services'} to learn how to configure
11299 these services on the Guix System.")
11301 ;; For data/icons/empty-boxes.png.
11304 license:lgpl2.0+))))
11306 (define-public geary
11312 (uri (git-reference
11313 (url "https://gitlab.gnome.org/GNOME/geary")
11315 (file-name (git-file-name name version))
11318 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
11319 (build-system meson-build-system)
11321 `(#:glib-or-gtk? #t
11322 #:phases (modify-phases %standard-phases
11323 (add-after 'unpack 'disable-failing-tests
11325 (substitute* "test/meson.build"
11326 (("test\\('client-tests', geary_test_client_bin\\)")
11329 (add-after 'unpack 'disable-postinstall-script
11331 (substitute* "meson.build"
11332 (("meson.add_install_script\\(\
11333 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11336 (add-before 'check 'setup-xvfb
11338 (system "Xvfb :1 &")
11339 (setenv "DISPLAY" ":1")
11342 `(("enchant" ,enchant)
11346 ("gmime" ,gmime-2.6)
11347 ("gnome-online-accounts:lib"
11348 ,gnome-online-accounts "lib")
11351 ("iso-codes" ,iso-codes)
11352 ("json-glib" ,json-glib)
11353 ("libcanberra" ,libcanberra)
11355 ("libhandy" ,libhandy-0.0)
11356 ("libpeas" ,libpeas)
11357 ("libsecret" ,libsecret)
11358 ("libunwind" ,libunwind)
11360 ("webkitgtk" ,webkitgtk)
11363 `(("appstream-glib" ,appstream-glib)
11364 ("cmake-minimal" ,cmake-minimal)
11365 ("desktop-file-utils" ,desktop-file-utils)
11366 ("gettext" ,gettext-minimal)
11367 ("glib:bin" ,glib "bin")
11368 ("gobject-introspection" ,gobject-introspection)
11369 ("itstool" ,itstool)
11370 ("libarchive" ,libarchive)
11371 ("libxml2" ,libxml2)
11372 ("pkg-config" ,pkg-config)
11374 ("xvfb" ,xorg-server-for-tests)))
11375 (synopsis "GNOME email application built around conversations")
11377 "Geary collects related messages together into conversations,
11378 making it easy to find and follow your discussions. Full-text and keyword
11379 search makes it easy to find the email you are looking for. Geary's
11380 full-featured composer lets you send rich, styled text with images, links, and
11381 lists, but also send lightweight, easy to read text messages. Geary
11382 automatically picks up your existing GNOME Online Accounts, and adding more is
11383 easy. Geary has a clean, fast, modern interface that works like you want it
11385 (home-page "https://wiki.gnome.org/Apps/Geary")
11391 license:cc-by-sa3.0
11392 license:public-domain
11396 (define-public glabels
11403 (uri (string-append "mirror://gnome/sources/" name "/"
11404 (version-major+minor version) "/"
11405 "glabels-" version ".tar.xz"))
11407 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11408 (build-system glib-or-gtk-build-system)
11410 `(("gettext" ,gettext-minimal)
11411 ("glib:bin" ,glib "bin")
11412 ("intltool" ,intltool)
11413 ("itstool" ,itstool)
11414 ("pkg-config" ,pkg-config)))
11417 ("librsvg" ,librsvg)
11418 ("libxml2" ,libxml2)))
11419 (home-page "https://glabels.org/")
11420 (synopsis "Program for creating labels and business cards")
11422 "gLabels is a program for creating labels and business cards. It is
11423 designed to work with various laser/ink-jet peel-off label and business
11424 card sheets that you’ll find at most office supply stores.")
11425 (license license:gpl3+)))
11427 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11428 (define-public gnome-latex
11430 (name "gnome-latex")
11435 (uri (string-append "mirror://gnome/sources/" name "/"
11436 (version-major+minor version) "/"
11437 "gnome-latex-" version ".tar.xz"))
11439 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11440 (build-system glib-or-gtk-build-system)
11442 `(("gettext" ,gettext-minimal)
11443 ("glib:bin" ,glib "bin")
11444 ("gobject-introspection" ,gobject-introspection)
11445 ("gtk-doc" ,gtk-doc)
11446 ("intltool" ,intltool)
11447 ("itstool" ,itstool)
11448 ("pkg-config" ,pkg-config)
11454 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11457 ("gtksourceview" ,gtksourceview)
11460 ("uchardet" ,uchardet)))
11461 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11462 (synopsis "LaTeX editor for the GNOME desktop")
11464 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11465 such as build tools, completion of LaTeX commands, structure navigation,
11466 symbol tables, document templates, project management, spell-checking, menus
11468 (license license:gpl3+)))
11470 (define-public setzer
11477 (uri (git-reference
11478 (url "https://github.com/cvfosammmm/Setzer")
11479 (commit (string-append "v" version))))
11480 (file-name (git-file-name name version))
11482 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11483 (build-system meson-build-system)
11485 `(#:glib-or-gtk? #t
11487 (modify-phases %standard-phases
11488 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11489 (lambda* (#:key outputs #:allow-other-keys)
11490 (let ((prog (string-append (assoc-ref outputs "out")
11492 (pylib (string-append (assoc-ref outputs "out")
11494 ,(version-major+minor
11495 (package-version python))
11496 "/site-packages")))
11498 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11499 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11502 `(("desktop-file-utils" ,desktop-file-utils)
11503 ("gettext" ,gettext-minimal)
11504 ("glib:bin" ,glib "bin")
11505 ("gobject-introspection" ,gobject-introspection)
11506 ("gtk+:bin" ,gtk+ "bin")))
11508 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11511 ("gtksourceview" ,gtksourceview)
11513 ("poppler" ,poppler)
11514 ("python-pdfminer" ,python-pdfminer-six)
11515 ("python-pycairo" ,python-pycairo)
11516 ("python-pygobject" ,python-pygobject)
11517 ("python-pyxdg" ,python-pyxdg)
11518 ("webkitgtk" ,webkitgtk)
11519 ("xdg-utils" ,xdg-utils)))
11520 (home-page "https://www.cvfosammmm.org/setzer/")
11521 (synopsis "LaTeX editor written in Python with GTK+")
11523 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11524 GTK+. It integrates well with the GNOME desktop environment.")
11525 (license license:gpl3+)))
11527 (define-public libratbag
11534 (uri (git-reference
11535 (url "https://github.com/libratbag/libratbag")
11536 (commit (string-append "v" version))))
11537 (file-name (git-file-name name version))
11539 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11540 (build-system meson-build-system)
11542 `(#:configure-flags
11543 (list "-Dsystemd=false"
11544 "-Dlogind-provider=elogind")
11546 (modify-phases %standard-phases
11547 (add-after 'install 'wrap
11548 (lambda* (#:key inputs outputs #:allow-other-keys)
11549 (let* ((out (assoc-ref outputs "out"))
11550 (site (string-append
11552 ,(version-major+minor (package-version python))
11554 (evdev (string-append
11555 (assoc-ref inputs "python-evdev") site))
11556 (pygo (string-append
11557 (assoc-ref inputs "python-pygobject") site))
11559 `("PYTHONPATH" = (,evdev ,pygo))))
11560 (wrap-program (string-append out "/bin/" "ratbagctl")
11565 ("pkg-config" ,pkg-config)
11567 ("valgrind" ,valgrind)))
11570 ("json-glib" ,json-glib)
11571 ("libevdev" ,libevdev)
11572 ("libsystemd" ,elogind)
11573 ("libunistring" ,libunistring)
11574 ("python-evdev" ,python-evdev)
11575 ("python-pygobject" ,python-pygobject)
11577 (home-page "https://github.com/libratbag/libratbag")
11578 (synopsis "DBus daemon and utility for configuring gaming mice")
11579 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11580 configure input devices, mainly gaming mice. The daemon provides a generic
11581 way to access the various features exposed by these mice and abstracts away
11582 hardware-specific and kernel-specific quirks. There is also the
11583 @command{ratbagctl} command line interface for configuring devices.
11585 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11588 The ratbagd DBus service can be enabled by adding the following service to
11589 your operating-system definition:
11591 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11592 (license license:expat)))
11594 (define-public piper
11601 (uri (git-reference
11602 (url "https://github.com/libratbag/piper")
11605 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11606 (file-name (git-file-name name version))))
11607 (build-system meson-build-system)
11609 `(("gettext" ,gettext-minimal)
11610 ("glib:bin" ,glib "bin")
11611 ("gobject-introspection" ,gobject-introspection)
11612 ("pkg-config" ,pkg-config)
11613 ("python-flake8" ,python-flake8)))
11615 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11617 ("gtk:bin" ,gtk+ "bin")
11618 ("librsvg" ,librsvg)
11619 ("python-evdev" ,python-evdev)
11620 ("python-lxml" ,python-lxml)
11621 ("python-pycairo" ,python-pycairo)
11622 ("python-pygobject" ,python-pygobject)))
11624 `(#:imported-modules ((guix build python-build-system)
11625 ,@%meson-build-system-modules)
11626 #:modules (((guix build python-build-system) #:prefix python:)
11627 (guix build meson-build-system)
11628 (guix build utils))
11629 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11631 (modify-phases %standard-phases
11632 (add-after 'unpack 'dont-update-gtk-icon-cache
11634 (substitute* "meson.build"
11635 (("meson.add_install_script('meson_install.sh')") ""))
11637 ;; TODO: Switch to wrap-script when it is fixed.
11638 (add-after 'install 'wrap-python
11639 (assoc-ref python:%standard-phases 'wrap))
11640 (add-after 'wrap-python 'wrap
11641 (lambda* (#:key outputs #:allow-other-keys)
11643 (string-append (assoc-ref outputs "out" )"/bin/piper")
11644 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11646 (home-page "https://github.com/libratbag/piper/")
11647 (synopsis "Configure bindings and LEDs on gaming mice")
11648 (description "Piper is a GTK+ application for configuring gaming mice with
11649 onboard configuration for key bindings via libratbag. Piper requires
11650 a @command{ratbagd} daemon running with root privileges. It can be run
11651 manually as root, but is preferably configured as a DBus service that can
11652 launch on demand. This can be configured by enabling the following service,
11653 provided there is a DBus service present:
11655 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11656 (license license:gpl2)))
11658 (define-public parlatype
11665 (uri (git-reference
11666 (url "https://github.com/gkarsay/parlatype")
11667 (commit (string-append "v" version))))
11668 (file-name (git-file-name name version))
11670 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11671 (build-system meson-build-system)
11673 `(#:glib-or-gtk? #t
11674 #:tests? #f ;require internet access
11676 (modify-phases %standard-phases
11677 (add-after 'install 'wrap-parlatype
11678 ;; Add gstreamer plugin provided in this package to system's
11680 (lambda* (#:key outputs #:allow-other-keys)
11681 (let* ((out (assoc-ref outputs "out"))
11682 (gst-plugin-path (string-append
11683 out "/lib/gstreamer-1.0/"
11685 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11686 (wrap-program (string-append out "/bin/parlatype")
11687 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11690 `(("appstream-glib" ,appstream-glib)
11691 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11692 ("gettext" ,gettext-minimal)
11693 ("glib" ,glib "bin") ;for glib-compile-resources
11694 ("pkg-config" ,pkg-config)
11695 ("yelp-tools" ,yelp-tools)))
11697 `(("gst-plugins-base" ,gst-plugins-base)
11698 ("gst-plugins-good" ,gst-plugins-good)
11699 ("gstreamer" ,gstreamer)
11701 ("pocketsphinx" ,pocketsphinx)
11702 ("pulseaudio" ,pulseaudio)
11703 ("sphinxbase" ,sphinxbase)))
11704 (home-page "http://gkarsay.github.io/parlatype/")
11705 (synopsis "GNOME audio player for transcription")
11706 (description "Parlatype is an audio player for the GNOME desktop
11707 environment. Its main purpose is the manual transcription of spoken
11709 (license license:gpl3+)))
11711 (define-public jsonrpc-glib
11713 (name "jsonrpc-glib")
11717 (uri (string-append "mirror://gnome/sources/" name "/"
11718 (version-major+minor version) "/"
11719 name "-" version ".tar.xz"))
11722 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11723 (build-system meson-build-system)
11725 `(("json-glib" ,json-glib)
11728 `(("pkg-config" ,pkg-config)
11729 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11730 ("gobject-introspection" ,gobject-introspection)
11732 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11733 (synopsis "JSON-RPC library for GLib")
11734 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11735 peers in either a synchronous or asynchronous fashion. It also allows
11736 communicating using the GVariant serialization format instead of JSON when
11737 both peers support it. You might want that when communicating on a single
11738 host to avoid parser overhead and memory-allocator fragmentation.")
11739 (license license:lgpl2.1+)))
11741 (define-public feedbackd
11744 (version "0.0.0+git20200527")
11747 (uri (git-reference
11748 (url "https://source.puri.sm/Librem5/feedbackd.git")
11749 (commit (string-append "v" version))))
11750 (file-name (git-file-name name version))
11753 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11754 (build-system meson-build-system)
11756 `(("glib:bin" ,glib "bin")
11757 ("gobject-introspection" ,gobject-introspection)
11758 ("pkg-config" ,pkg-config)
11763 ("json-glib" ,json-glib)
11764 ("libgudev" ,libgudev)))
11766 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11767 (synopsis "Haptic/visual/audio feedback via DBus")
11768 (description "Feedbackd provides a DBus daemon to act on events to provide
11769 haptic, visual and audio feedback. It offers the libfeedbackd library and
11770 GObject introspection bindings.")
11771 (home-page "https://source.puri.sm/Librem5/feedbackd")
11772 (license (list license:lgpl2.1+ ; libfeedbackd
11773 license:lgpl3+)))) ; the rest
11775 (define-public sysprof
11782 (uri (string-append "mirror://gnome/sources/sysprof/"
11783 (version-major+minor version) "/"
11784 "sysprof-" version ".tar.xz"))
11786 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11787 (build-system meson-build-system)
11789 `(#:configure-flags
11790 (list (string-append "-Dsystemdunitdir="
11793 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11795 (modify-phases %standard-phases
11796 (add-after 'unpack 'patch-install-script
11798 (substitute* "build-aux/meson/post_install.sh"
11799 (("gtk-update-icon-cache") "true")
11800 (("update-desktop-database") "true"))
11805 ("libdazzle" ,libdazzle)
11806 ("polkit" ,polkit)))
11808 `(("gettext" ,gettext-minimal)
11809 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11810 ("itstool" ,itstool)
11811 ("pkg-config" ,pkg-config)
11812 ("xmllint" ,libxml2)))
11813 ;; This home page is so woefully out of date as to be essentially useless.
11814 ;; (home-page "http://www.sysprof.com")
11815 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11816 (synopsis "System-wide performance profiler for GNU/Linux")
11818 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11819 GNU/Linux system including the kernel and all user-space applications. This
11820 helps find the function(s) in which a program spends most of its time.
11822 It uses the kernel's built-in @code{ptrace} feature and handles shared
11823 libraries. Applications do not need to be recompiled--or even restarted.")
11824 (license license:gpl3+)))
11826 (define-public gnome-builder
11828 (name "gnome-builder")
11832 (uri (string-append "mirror://gnome/sources/" name "/"
11833 (version-major+minor version) "/"
11834 name "-" version ".tar.xz"))
11837 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11838 (build-system meson-build-system)
11840 `(#:configure-flags (list "-Dnetwork_tests=false"
11841 ;; TODO: Enable all plugins...
11842 "-Dplugin_clang=false"
11843 "-Dplugin_flatpak=false"
11844 "-Dplugin_glade=false"
11845 ;; XXX: This one has been shown not to work in
11846 ;; <https://issues.guix.gnu.org/45272>
11847 "-Dplugin_jedi=false"
11848 ;; ... except this one.
11849 "-Dplugin_update_manager=false")
11851 (modify-phases %standard-phases
11852 (add-after 'unpack 'patch-meson
11853 (lambda* (#:key inputs #:allow-other-keys)
11854 (substitute* "build-aux/meson/post_install.py"
11855 (("gtk-update-icon-cache") "true")
11856 (("update-desktop-database") "true"))
11857 (substitute* "src/libide/meson.build"
11859 (string-append (assoc-ref inputs "python-pygobject")
11862 (add-after 'configure 'fix-ninja
11864 ;; #43296: meson(?) incorrectly assumes we want to link
11865 ;; this PIE against a static libselinux.
11866 (substitute* "build.ninja"
11867 (("libselinux\\.a") "libselinux.so"))
11869 (add-before 'check 'pre-check
11871 (system "Xvfb :1 &")
11872 (setenv "DISPLAY" ":1")
11875 `(("devhelp" ,devhelp)
11878 ("json-glib" ,json-glib)
11879 ("jsonrpc-glib" ,jsonrpc-glib)
11880 ("libdazzle" ,libdazzle)
11881 ("libgit2-glib" ,libgit2-glib)
11882 ("libpeas" ,libpeas)
11883 ("python-pygobject" ,python-pygobject)
11884 ("sysprof" ,sysprof)
11885 ("template-glib" ,template-glib)
11887 ("webkitgtk" ,webkitgtk)))
11889 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11891 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11892 ("glib:bin" ,glib "bin")
11893 ("gettext" ,gettext-minimal)
11894 ("pkg-config" ,pkg-config)
11896 ("xorg-server" ,xorg-server-for-tests)))
11897 (home-page "https://wiki.gnome.org/Apps/Builder")
11898 (synopsis "Toolsmith for GNOME-based applications")
11899 (description "Builder aims to be an integrated development
11900 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11901 auto-completion, a mini code map, documentation browsing, Git integration, an
11902 integrated profiler via Sysprof, debugging support, and more.")
11903 (license license:gpl3+)))
11905 (define-public komikku
11912 (uri (git-reference
11913 (url "https://gitlab.com/valos/Komikku/")
11914 (commit (string-append "v" version))))
11915 (file-name (git-file-name name version))
11918 "1mas409c14p6g0v10w4cf5hsjbs0922h6h9k9pyj9s8y7yi2ikz2"))))
11919 (build-system meson-build-system)
11921 `(#:glib-or-gtk? #t
11923 (modify-phases %standard-phases
11924 (add-after 'unpack 'patch-sources
11926 (substitute* "komikku/utils.py"
11927 (("from komikku\\.servers import get_servers_list")
11928 ;; code following that line should migrate old databases
11929 ;; but the line itself results in an import error
11930 "return data_dir_path"))))
11931 (add-after 'unpack 'skip-gtk-update-icon-cache
11933 (substitute* "meson_post_install.py"
11934 (("gtk-update-icon-cache") (which "true")))
11936 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11937 (lambda* (#:key outputs #:allow-other-keys)
11938 (let ((prog (string-append (assoc-ref outputs "out")
11941 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
11942 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11946 ("libhandy" ,libhandy)
11947 ("libnotify" ,libnotify)
11948 ("libsecret" ,libsecret)
11949 ("python-beautifulsoup4" ,python-beautifulsoup4)
11950 ("python-dateparser" ,python-dateparser)
11951 ("python-keyring" ,python-keyring)
11952 ("python-lxml" ,python-lxml)
11953 ("python-magic" ,python-magic)
11954 ("python-pillow" ,python-pillow)
11955 ("python-pure-protobuf" ,python-pure-protobuf)
11956 ("python-pycairo" ,python-pycairo)
11957 ("python-pygobject" ,python-pygobject)
11958 ("python-requests" ,python-requests)
11959 ("python-unidecode" ,python-unidecode)))
11961 `(("desktop-file-utils" ,desktop-file-utils)
11962 ("gettext" ,gettext-minimal)
11963 ("glib:bin" ,glib "bin")
11964 ("gobject-introspection" ,gobject-introspection)
11965 ("pkg-config" ,pkg-config)))
11966 (home-page "https://gitlab.com/valos/Komikku")
11967 (synopsis "Manga reader for GNOME")
11968 (description "Komikku is an online/offline manga reader for GNOME,
11969 developed with the aim of being used with the Librem 5 phone.")
11970 (license license:gpl3+)))
11972 (define-public libgda
11979 (uri (git-reference
11980 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
11981 (commit (string-append "LIBGDA_" (string-replace-substring
11982 version "." "_")))))
11983 (file-name (git-file-name name version))
11985 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
11986 (build-system gnu-build-system)
11988 `(#:configure-flags '("--enable-vala")
11989 ;; There's a race between check_cnc_lock and check_threaded_cnc
11990 ;; in tests/multi-threading.
11991 #:parallel-tests? #f
11993 (modify-phases %standard-phases
11994 (add-after 'unpack 'fix-glade-install
11996 (substitute* "configure.ac"
11997 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
11998 "${datadir}/glade/catalogs")
11999 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12000 "${datadir}/glade/pixmaps"))
12002 (add-before 'check 'pre-check
12003 (lambda* (#:key inputs #:allow-other-keys)
12004 ;; Tests require a running X server.
12005 (system "Xvfb :1 &")
12006 (setenv "DISPLAY" ":1")
12008 (add-after 'install 'symlink-glade-module
12009 (lambda* (#:key outputs #:allow-other-keys)
12010 (let* ((shlib "libgda-ui-5.0.so")
12011 (out (assoc-ref outputs "out"))
12012 (out/lib (string-append out "/lib"))
12013 (moduledir (string-append out/lib "/glade/modules")))
12014 (mkdir-p moduledir)
12015 (symlink (string-append out/lib "/" shlib)
12016 (string-append moduledir "/" shlib))
12019 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12024 ("libsecret" ,libsecret)
12025 ("libxslt" ,libxslt)
12026 ("openssl" ,openssl)
12029 `(("autoconf" ,autoconf)
12030 ("autoconf-archive" ,autoconf-archive)
12031 ("automake" ,automake)
12032 ("glib:bin" ,glib "bin")
12033 ("gnome-common" ,gnome-common)
12034 ("gobject-introspection" ,gobject-introspection)
12035 ("gtk-doc" ,gtk-doc)
12036 ("intltool" ,intltool)
12037 ("libtool" ,libtool)
12038 ("pkg-config" ,pkg-config)
12041 ("xorg-server" ,xorg-server-for-tests)
12042 ("yelp-tools" ,yelp-tools)))
12043 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12044 (synopsis "Uniform data access")
12046 "GNU Data Access (GDA) is an attempt to provide uniform access to
12047 different kinds of data sources (databases, information servers, mail spools,
12048 etc). It is a complete architecture that provides all you need to access
12050 (license license:lgpl2.1+)))
12052 (define-public gtranslator
12054 (name "gtranslator")
12058 (uri (string-append "mirror://gnome/sources/" name "/"
12059 (version-major+minor version) "/"
12060 name "-" version ".tar.xz"))
12063 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12064 (build-system meson-build-system)
12066 `(("json-glib" ,json-glib)
12067 ("jsonrpc-glib" ,jsonrpc-glib)
12068 ("gettext" ,gettext-minimal)
12071 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12073 ("libdazzle" ,libdazzle)
12075 ("libsoup" ,libsoup)))
12077 `(("glib:bin" ,glib "bin")
12078 ("itstool" ,itstool)
12079 ("pkg-config" ,pkg-config)))
12081 `(("gtksourceview" ,gtksourceview))) ; required for source view
12083 `(#:build-type "release"
12086 (modify-phases %standard-phases
12087 (add-after 'unpack 'skip-gtk-update-icon-cache
12089 (substitute* "build-aux/meson/meson_post_install.py"
12090 (("gtk-update-icon-cache") (which "true")))
12092 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12093 (synopsis "Translation making program")
12095 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12096 for the GNOME 3.x platform with many features. It aims to be a very complete
12097 editing environment for translation issues within the GNU gettext/GNOME desktop
12099 (license license:gpl3+)))