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 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, 2017, 2018, 2019, 2020 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 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 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>
59 ;;; This file is part of GNU Guix.
61 ;;; GNU Guix is free software; you can redistribute it and/or modify it
62 ;;; under the terms of the GNU General Public License as published by
63 ;;; the Free Software Foundation; either version 3 of the License, or (at
64 ;;; your option) any later version.
66 ;;; GNU Guix is distributed in the hope that it will be useful, but
67 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
68 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
69 ;;; GNU General Public License for more details.
71 ;;; You should have received a copy of the GNU General Public License
72 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
74 (define-module (gnu packages gnome)
75 #:use-module (gnu packages)
76 #:use-module (gnu packages admin)
77 #:use-module (gnu packages aspell)
78 #:use-module (gnu packages autotools)
79 #:use-module (gnu packages avahi)
80 #:use-module (gnu packages backup)
81 #:use-module (gnu packages base)
82 #:use-module (gnu packages bash)
83 #:use-module (gnu packages bison)
84 #:use-module (gnu packages boost)
85 #:use-module (gnu packages build-tools)
86 #:use-module (gnu packages calendar)
87 #:use-module (gnu packages cdrom)
88 #:use-module (gnu packages check)
89 #:use-module (gnu packages cmake)
90 #:use-module (gnu packages compression)
91 #:use-module (gnu packages crates-io)
92 #:use-module (gnu packages cups)
93 #:use-module (gnu packages curl)
94 #:use-module (gnu packages cyrus-sasl)
95 #:use-module (gnu packages databases)
96 #:use-module (gnu packages dbm)
97 #:use-module (gnu packages djvu)
98 #:use-module (gnu packages dns)
99 #:use-module (gnu packages docbook)
100 #:use-module (gnu packages documentation)
101 #:use-module (gnu packages enchant)
102 #:use-module (gnu packages flex)
103 #:use-module (gnu packages fonts)
104 #:use-module (gnu packages file-systems)
105 #:use-module (gnu packages fontutils)
106 #:use-module (gnu packages freedesktop)
107 #:use-module (gnu packages game-development)
108 #:use-module (gnu packages gettext)
109 #:use-module (gnu packages ghostscript)
110 #:use-module (gnu packages gimp)
111 #:use-module (gnu packages gl)
112 #:use-module (gnu packages glib)
113 #:use-module (gnu packages gnupg)
114 #:use-module (gnu packages gnuzilla)
115 #:use-module (gnu packages geo)
116 #:use-module (gnu packages gperf)
117 #:use-module (gnu packages graphviz)
118 #:use-module (gnu packages gstreamer)
119 #:use-module (gnu packages gtk)
120 #:use-module (gnu packages guile)
121 #:use-module (gnu packages ibus)
122 #:use-module (gnu packages icu4c)
123 #:use-module (gnu packages image)
124 #:use-module (gnu packages imagemagick)
125 #:use-module (gnu packages inkscape)
126 #:use-module (gnu packages iso-codes)
127 #:use-module (gnu packages kerberos)
128 #:use-module (gnu packages libcanberra)
129 #:use-module (gnu packages libffi)
130 #:use-module (gnu packages libunistring)
131 #:use-module (gnu packages libunwind)
132 #:use-module (gnu packages libusb)
133 #:use-module (gnu packages linux)
134 #:use-module (gnu packages lirc)
135 #:use-module (gnu packages lua)
136 #:use-module (gnu packages mail)
137 #:use-module (gnu packages mp3)
138 #:use-module (gnu packages multiprecision)
139 #:use-module (gnu packages music)
140 #:use-module (gnu packages ncurses)
141 #:use-module (gnu packages nettle)
142 #:use-module (gnu packages networking)
143 #:use-module (gnu packages ninja)
144 #:use-module (gnu packages node)
145 #:use-module (gnu packages nss)
146 #:use-module (gnu packages openldap)
147 #:use-module (gnu packages package-management)
148 #:use-module (gnu packages password-utils)
149 #:use-module (gnu packages pcre)
150 #:use-module (gnu packages pdf)
151 #:use-module (gnu packages perl)
152 #:use-module (gnu packages photo)
153 #:use-module (gnu packages php)
154 #:use-module (gnu packages pkg-config)
155 #:use-module (gnu packages polkit)
156 #:use-module (gnu packages popt)
157 #:use-module (gnu packages pretty-print)
158 #:use-module (gnu packages pulseaudio)
159 #:use-module (gnu packages python)
160 #:use-module (gnu packages python-crypto)
161 #:use-module (gnu packages python-web)
162 #:use-module (gnu packages python-xyz)
163 #:use-module (gnu packages rdesktop)
164 #:use-module (gnu packages rdf)
165 #:use-module (gnu packages readline)
166 #:use-module (gnu packages ruby)
167 #:use-module (gnu packages rust)
168 #:use-module (gnu packages samba)
169 #:use-module (gnu packages scanner)
170 #:use-module (gnu packages sdl)
171 #:use-module (gnu packages search)
172 #:use-module (gnu packages selinux)
173 #:use-module (gnu packages slang)
174 #:use-module (gnu packages speech)
175 #:use-module (gnu packages spice)
176 #:use-module (gnu packages sqlite)
177 #:use-module (gnu packages ssh)
178 #:use-module (gnu packages swig)
179 #:use-module (gnu packages tex)
180 #:use-module (gnu packages time)
181 #:use-module (gnu packages tls)
182 #:use-module (gnu packages valgrind)
183 #:use-module (gnu packages version-control)
184 #:use-module (gnu packages video)
185 #:use-module (gnu packages virtualization)
186 #:use-module (gnu packages vpn)
187 #:use-module (gnu packages web)
188 #:use-module (gnu packages webkit)
189 #:use-module (gnu packages xdisorg)
190 #:use-module (gnu packages xiph)
191 #:use-module (gnu packages xml)
192 #:use-module (gnu packages xorg)
193 #:use-module (gnu artwork)
194 #:use-module ((guix build utils) #:select (modify-phases))
195 #:use-module (guix build-system cargo)
196 #:use-module (guix build-system cmake)
197 #:use-module (guix build-system glib-or-gtk)
198 #:use-module (guix build-system gnu)
199 #:use-module (guix build-system meson)
200 #:use-module (guix build-system python)
201 #:use-module (guix build-system trivial)
202 #:use-module (guix download)
203 #:use-module (guix git-download)
204 #:use-module ((guix licenses) #:prefix license:)
205 #:use-module (guix packages)
206 #:use-module (guix utils)
207 #:use-module (guix gexp)
208 #:use-module (guix monads)
209 #:use-module (guix store)
210 #:use-module (ice-9 match)
211 #:use-module (srfi srfi-1))
213 (define-public brasero
219 (uri (string-append "mirror://gnome/sources/brasero/"
220 (version-major+minor version) "/"
221 "brasero-" version ".tar.xz"))
224 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
225 (build-system glib-or-gtk-build-system)
227 `(#:configure-flags (list
228 (string-append "--with-girdir="
229 (assoc-ref %outputs "out")
231 (string-append "--with-typelibdir="
232 (assoc-ref %outputs "out")
233 "/lib/girepository-1.0"))
235 (modify-phases %standard-phases
236 (add-before 'configure 'embed-growisofs
237 (lambda* (#:key inputs #:allow-other-keys)
238 (substitute* "plugins/growisofs/burn-growisofs.c"
239 (("\"growisofs") (string-append "\"" (which "growisofs"))))
242 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
244 `(("intltool" ,intltool)
246 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
247 ("gobject-introspection" ,gobject-introspection)
248 ("pkg-config" ,pkg-config)))
250 `(("dvd+rw-tools" ,dvd+rw-tools)
252 ("gnome-doc-utils" ,gnome-doc-utils)
253 ("gstreamer" ,gstreamer)
254 ("gst-plugins-base" ,gst-plugins-base)
256 ("libcanberra" ,libcanberra)
258 ("libnotify" ,libnotify)
261 ("totem-pl-parser" ,totem-pl-parser)))
262 (home-page "https://wiki.gnome.org/Apps/Brasero")
263 (synopsis "CD/DVD burning tool for Gnome")
264 (description "Brasero is an application to burn CD/DVD for the Gnome
265 Desktop. It is designed to be as simple as possible and has some unique
266 features to enable users to create their discs easily and quickly.")
267 (license license:gpl2+)))
269 (define-public libcloudproviders
271 (name "libcloudproviders")
277 (string-append "mirror://gnome/sources/" name "/"
278 (version-major+minor version) "/"
279 name "-" version ".tar.xz"))
281 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
282 (build-system meson-build-system)
283 (outputs '("out" "doc"))
285 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
288 "-Denable-gtk-doc=true")
290 (modify-phases %standard-phases
291 (add-after 'install 'move-doc
292 (lambda* (#:key outputs #:allow-other-keys)
293 (let* ((out (assoc-ref outputs "out"))
294 (doc (assoc-ref outputs "doc")))
295 (mkdir-p (string-append doc "/share"))
297 (string-append out "/share/gtk-doc")
298 (string-append doc "/share/gtk-doc"))
301 `(("glib:bin" ,glib "bin")
302 ("gobject-introspection" ,gobject-introspection)
304 ("pkg-config" ,pkg-config)
308 ("glib-networking" ,glib-networking)))
309 (synopsis "Cloudproviders Integration API")
310 (description "Libcloudproviders is a DBus API that allows cloud storage sync
311 clients to expose their services. Clients such as file managers and desktop
312 environments can then provide integrated access to the cloud providers
314 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
315 (license license:lgpl3+)))
317 (define-public libgrss
325 (string-append "mirror://gnome/sources/" name "/"
326 (version-major+minor version) "/"
327 name "-" version ".tar.xz"))
329 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
330 (build-system glib-or-gtk-build-system)
331 (outputs '("out" "doc"))
336 (string-append "--with-html-dir="
337 (assoc-ref %outputs "doc")
338 "/share/gtk-doc/html"))
340 (modify-phases %standard-phases
341 (add-after 'unpack 'patch-docbook-xml
342 (lambda* (#:key inputs #:allow-other-keys)
343 (with-directory-excursion "doc/reference"
344 (substitute* "libgrss-docs.sgml"
345 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
346 (string-append (assoc-ref inputs "docbook-xml")
347 "/xml/dtd/docbook/"))))
350 `(("docbook-xml" ,docbook-xml-4.1.2)
351 ("gobject-introspection" ,gobject-introspection)
353 ("pkg-config" ,pkg-config)))
357 ("libxml2" ,libxml2)))
358 (synopsis "Glib library for feeds")
359 (description "LibGRSS is a Glib abstaction to handle feeds in RSS, Atom and
361 (home-page "https://wiki.gnome.org/Projects/Libgrss")
362 (license license:lgpl3+)))
364 (define-public gnome-js-common
366 (name "gnome-js-common")
372 (string-append "mirror://gnome/sources/" name "/"
373 (version-major+minor version) "/"
374 name "-" version ".tar.gz"))
376 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
377 (build-system glib-or-gtk-build-system)
381 "--disable-static")))
383 `(("gettext" ,gettext-minimal)
384 ("intltool" ,intltool)
385 ("pkg-config" ,pkg-config)))
386 (synopsis "Common JS Modules")
387 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
389 (home-page "https://wiki.gnome.org/Projects/Seed")
390 (license license:gpl3+)))
400 (string-append "mirror://gnome/sources/" name "/"
401 (version-major+minor version) "/"
402 name "-" version ".tar.xz"))
404 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
406 (search-patches "seed-webkit.patch"))))
407 (build-system glib-or-gtk-build-system)
408 (outputs '("out" "doc"))
413 "--enable-xorg-module"
414 (string-append "--with-html-dir="
415 (assoc-ref %outputs "doc")
416 "/share/gtk-doc/html")
419 (modify-phases %standard-phases
420 ;; The seed-webkit.patch patches configure.ac.
421 ;; So the source files need to be re-bootstrapped.
422 (add-after 'unpack 'trigger-bootstrap
424 (for-each delete-file
429 (add-after 'unpack 'patch-tests
430 (lambda* (#:key outputs #:allow-other-keys)
431 (substitute* (find-files "." "\\.js$")
432 (("#!/usr/bin/env seed")
433 (string-append "#!" (getcwd) "/src/seed")))
435 (add-before 'build 'patch-docbook-xml
436 (lambda* (#:key inputs #:allow-other-keys)
437 (with-directory-excursion "doc"
438 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
439 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
440 (string-append (assoc-ref inputs "docbook-xml")
441 "/xml/dtd/docbook/"))))
444 `(("autoconf" ,autoconf)
445 ("automake" ,automake)
446 ("docbook-xml" ,docbook-xml-4.1.2)
447 ("gettext" ,gettext-minimal)
448 ("gobject-introspection" ,gobject-introspection)
450 ("intltool" ,intltool)
452 ("pkg-config" ,pkg-config)))
456 ("dbus-glib" ,dbus-glib)
457 ("gnome-js-common" ,gnome-js-common)
463 ("readline" ,readline)
465 ("xscrnsaver" ,libxscrnsaver)))
468 ("webkit" ,webkitgtk)))
469 (synopsis "GObject JavaScriptCore bridge")
470 (description "Seed is a library and interpreter, dynamically bridging
471 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
472 GNOME platform. It serves as something which enables you to write standalone
473 applications in JavaScript, or easily enable your application to be extensible
475 (home-page "https://wiki.gnome.org/Projects/Seed")
476 (license license:lgpl2.0+)))
478 (define-public libdmapsharing
480 (name "libdmapsharing")
486 (string-append "https://www.flyn.org/projects/"
487 name "/" name "-" version ".tar.gz"))
489 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
490 (build-system glib-or-gtk-build-system)
491 (outputs '("out" "doc"))
493 `(#:tests? #f ; Tests require networking.
497 (string-append "--with-html-dir="
498 (assoc-ref %outputs "doc")
499 "/share/gtk-doc/html"))
501 (modify-phases %standard-phases
502 (add-after 'unpack 'patch-docbook-xml
503 (lambda* (#:key inputs #:allow-other-keys)
504 (with-directory-excursion "doc"
505 (substitute* "libdmapsharing-4.0-docs.xml"
506 (("http://www.oasis-open.org/docbook/xml/4.3/")
507 (string-append (assoc-ref inputs "docbook-xml")
508 "/xml/dtd/docbook/"))))
512 ("docbook-xml" ,docbook-xml-4.3)
513 ("gobject-introspection" ,gobject-introspection)
514 ("pedansee" ,pedansee)
515 ("pkg-config" ,pkg-config)
519 ("gdk-pixbuf" ,gdk-pixbuf+svg)
521 ("gst-plugins-base" ,gst-plugins-base)
525 ("glib-networking" ,glib-networking)
526 ("gstreamer" ,gstreamer)
527 ("libsoup" ,libsoup)))
528 (synopsis "Media management library")
529 (description "Libdmapsharing is a library which allows programs to access,
530 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
531 It is written in C using GObject and libsoup.")
532 (home-page "https://launchpad.net/gtx")
533 (license license:lgpl2.1+)))
543 (string-append "https://launchpad.net/gtx/trunk/"
544 version "/+download/gtx-" version ".tar.gz"))
546 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
547 (build-system glib-or-gtk-build-system)
548 (outputs '("out" "doc"))
554 (string-append "--with-html-dir="
555 (assoc-ref %outputs "doc")
556 "/share/gtk-doc/html"))))
558 `(("gobject-introspection" ,gobject-introspection)
560 ("pkg-config" ,pkg-config)))
563 (synopsis "GLib Testing Framework")
564 (description "GTX is a small collection of convenience functions intended to
565 enhance the GLib testing framework. With specific emphasis on easing the pain
566 of writing test cases for asynchronous interactions.")
567 (home-page "https://launchpad.net/gtx")
568 (license license:lgpl2.1+)))
578 (string-append "https://launchpad.net/dee/1.0/"
579 version "/+download/dee-" version ".tar.gz"))
581 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
583 (search-patches "dee-vapi.patch"))))
584 (build-system glib-or-gtk-build-system)
585 (outputs '("out" "doc"))
589 "--disable-maintainer-flags"
590 (string-append "--with-pygi-overrides-dir="
591 (assoc-ref %outputs "out")
593 ,(version-major+minor
594 (package-version python))
595 "/site-packages/gi/overrides")
596 (string-append "--with-html-dir="
597 (assoc-ref %outputs "doc")
598 "/share/gtk-doc/html"))
600 (modify-phases %standard-phases
601 (add-after 'unpack 'patch-docbook-xml
602 (lambda* (#:key inputs #:allow-other-keys)
603 (with-directory-excursion "doc/reference/dee-1.0"
604 (substitute* "dee-1.0-docs.sgml"
605 (("http://www.oasis-open.org/docbook/xml/4.3/")
606 (string-append (assoc-ref inputs "docbook-xml")
607 "/xml/dtd/docbook/"))))
609 (add-after 'patch-docbook-xml 'disable-failing-tests
611 (substitute* "tests/test-icu.c"
612 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
614 (("setup, test_ascii_folder, teardown\\);")
617 (add-before 'check 'pre-check
619 ;; Tests require a running dbus-daemon.
620 (system "dbus-daemon &")
621 ;; For missing '/etc/machine-id'.
622 (setenv "DBUS_FATAL_WARNINGS" "0")
626 ("dbus-test-runner" ,dbus-test-runner)
627 ("docbook-xml" ,docbook-xml-4.3)
628 ("gobject-introspection" ,gobject-introspection)
630 ;; Would only be required by configure flag "--enable-extended-tests".
632 ("pkg-config" ,pkg-config)
633 ("pygobject" ,python-pygobject)
634 ("python" ,python-wrapper)
640 (synopsis "Model to synchronize multiple instances over DBus")
641 (description "Dee is a library that uses DBus to provide objects allowing
642 you to create Model-View-Controller type programs across DBus. It also consists
643 of utility objects which extend DBus allowing for peer-to-peer discoverability
644 of known objects without needing a central registrar.")
645 (home-page "https://launchpad.net/dee")
652 (define-public zeitgeist
661 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
663 (string-append "v" version))))
665 (git-file-name name version))
667 (base32 "0ig3d3j1n0ghaxsgfww6g2hhcdwx8cljwwfmp9jk1nrvkxd6rnmv"))))
668 (build-system glib-or-gtk-build-system)
672 "--enable-explain-queries"
676 (modify-phases %standard-phases
677 (add-after 'unpack 'patch-docbook-xml
678 (lambda* (#:key inputs #:allow-other-keys)
679 (with-directory-excursion "doc/libzeitgeist"
680 (substitute* "zeitgeist-gtkdoc-index.sgml"
681 (("http://www.oasis-open.org/docbook/xml/4.3/")
682 (string-append (assoc-ref inputs "docbook-xml")
683 "/xml/dtd/docbook/"))))
685 (add-after 'patch-docbook-xml 'disable-failing-tests
687 (substitute* "test/direct/Makefile.am"
690 (substitute* "test/c/Makefile.am"
694 (add-before 'bootstrap 'remove-autogen-script
696 ;; To honor `autoreconf -vif` by build-system.
697 (delete-file "autogen.sh")
700 `(("autoconf" ,autoconf)
701 ("automake" ,automake)
702 ("docbook-xml" ,docbook-xml-4.3)
703 ("gettext" ,gettext-minimal)
704 ("gobject-introspection" ,gobject-introspection)
707 ("pkg-config" ,pkg-config)
709 ("xorg-server-for-tests" ,xorg-server-for-tests)))
713 ("json-glib" ,json-glib)
715 ("telepathy-glib" ,telepathy-glib)
716 ("python" ,python-wrapper)
717 ("python-rdflib" ,python-rdflib)
718 ("xapian-config" ,xapian)))
721 (synopsis "Desktop Activity Logging")
722 (description "Zeitgeist is a service which logs the users’s activities and
723 events, anywhere from files opened to websites visited and conversations. It
724 makes this information readily available for other applications to use. It is
725 able to establish relationships between items based on similarity and usage
727 (home-page "https://zeitgeist.freedesktop.org/")
734 (define-public gnome-photos
736 (name "gnome-photos")
742 (string-append "mirror://gnome/sources/" name "/"
743 (version-major+minor version) "/"
744 name "-" version ".tar.xz"))
747 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
748 (build-system meson-build-system)
752 (list "-Ddogtail=false" ; Not available
753 ;; Required for RUNPATH validation.
754 (string-append "-Dc_link_args=-Wl,-rpath="
755 (assoc-ref %outputs "out") "/lib/gnome-photos"))
757 (modify-phases %standard-phases
758 (add-after 'install 'wrap-gnome-photos
759 (lambda* (#:key inputs outputs #:allow-other-keys)
761 ((out (assoc-ref outputs "out")))
762 (wrap-program (string-append out "/bin/gnome-photos")
763 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
767 ("desktop-file-utils" ,desktop-file-utils)
768 ("gettext" ,gettext-minimal)
770 ("glib:bin" ,glib "bin")
771 ("gobject-introspection" ,gobject-introspection)
772 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
773 ("gtk+:bin" ,gtk+ "bin")
775 ("pkg-config" ,pkg-config)))
779 ("gdk-pixbuf" ,gdk-pixbuf+svg)
781 ("geocode-glib" ,geocode-glib)
783 ("gnome-online-accounts" ,gnome-online-accounts)
784 ("gnome-online-miners" ,gnome-online-miners)
786 ("grilo-plugins" ,grilo-plugins)
788 ("libdazzle" ,libdazzle)
789 ("libgdata" ,libgdata)
790 ("libgfbgraph" ,gfbgraph)
791 ("libjpeg" ,libjpeg-turbo)
794 ("pygobject" ,python-pygobject)
796 ("tracker-miners" ,tracker-miners)))
797 (synopsis "Access, organize and share your photos on GNOME desktop")
798 (description "GNOME Photos is a simple and elegant replacement for using a
799 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
800 cloud integration is offered through GNOME Online Accounts.")
801 (home-page "https://wiki.gnome.org/Apps/Photos")
802 (license license:gpl3+)))
804 (define-public gnome-music
812 (string-append "mirror://gnome/sources/" name "/"
813 (version-major+minor version) "/"
814 name "-" version ".tar.xz"))
817 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
818 (build-system meson-build-system)
822 (modify-phases %standard-phases
823 (add-after 'install 'wrap-gnome-music
824 (lambda* (#:key inputs outputs #:allow-other-keys)
826 ((out (assoc-ref outputs "out"))
827 (pylib (string-append out "/lib/python"
828 ,(version-major+minor
829 (package-version python))
831 (wrap-program (string-append out "/bin/gnome-music")
832 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
833 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
834 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
835 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
838 `(("desktop-file-utils" ,desktop-file-utils)
839 ("gettext" ,gettext-minimal)
840 ("glib:bin" ,glib "bin")
841 ("gobject-introspection" ,gobject-introspection)
842 ("gtk+:bin" ,gtk+ "bin")
843 ("itstools" ,itstool)
844 ("pkg-config" ,pkg-config)))
846 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
848 ("grilo-plugins" ,grilo-plugins)
849 ("gst-plugins-base" ,gst-plugins-base)
850 ("gstreamer" ,gstreamer)
852 ("libdazzle" ,libdazzle)
853 ("libmediaart" ,libmediaart)
855 ("pycairo" ,python-pycairo)
856 ("pygobject" ,python-pygobject)
858 ("tracker-miners" ,tracker-miners)))
859 (synopsis "Simple music player for GNOME desktop")
860 (description "GNOME Music is the new GNOME music playing application that
861 aims to combine an elegant and immersive browsing experience with simple
862 and straightforward controls.")
863 (home-page "https://wiki.gnome.org/Apps/Music")
864 (license license:gpl2+)))
866 (define-public portablexdr
874 (string-append "https://people.redhat.com/~rjones/" name "/files/"
875 name "-" version ".tar.gz"))
878 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
879 (build-system gnu-build-system)
880 (synopsis "External Data Representation Library")
881 (description "PortableXDR is an implementation of External Data
882 Representation (XDR) Library. It is a standard data serialization format, for
883 uses such as computer network protocols. It allows data to be transferred
884 between different kinds of computer systems.")
885 (home-page "https://people.redhat.com/~rjones/portablexdr/")
899 (string-append "mirror://gnome/sources/" name "/"
900 (version-major+minor version) "/"
901 name "-" version ".tar.xz"))
904 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
905 (build-system glib-or-gtk-build-system)
907 `(#:tests? #f)) ; FIX-ME: Requires gvfs
909 `(("gobject-introspection" ,gobject-introspection)
910 ("pkg-config" ,pkg-config)))
915 ("gtksourceview" ,gtksourceview)
917 ("uchardet" ,uchardet)))
918 (synopsis "Text editor product line")
919 (description "Tepl is a library that eases the development of
920 GtkSourceView-based text editors and IDEs.")
921 (home-page "https://wiki.gnome.org/Projects/Tepl")
922 (license license:lgpl2.1+)))
924 (define-public krb5-auth-dialog
926 (name "krb5-auth-dialog")
932 (string-append "mirror://gnome/sources/" name "/"
933 (version-major+minor version) "/"
934 name "-" version ".tar.xz"))
937 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
938 (build-system glib-or-gtk-build-system)
940 `(("intltool" ,intltool)
943 ("pkg-config" ,pkg-config)
944 ("python-wrapper" ,python-wrapper)))
948 ("libnotify" ,libnotify)
949 ("mit-krb5" ,mit-krb5)
950 ("network-manager" ,network-manager)))
951 (synopsis "Popup dialogs for Kerberos 5")
952 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
953 tickets, and pops up a dialog when they are about to expire.")
954 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
955 (license license:gpl2+)))
957 (define-public notification-daemon
959 (name "notification-daemon")
965 (string-append "mirror://gnome/sources/" name "/"
966 (version-major+minor version) "/"
967 name "-" version ".tar.xz"))
970 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
971 (build-system glib-or-gtk-build-system)
973 `(("intltool" ,intltool)
974 ("pkg-config" ,pkg-config)))
979 (synopsis "Notification Daemon for GNOME Desktop")
980 (description "Notification-Daemon is the server implementation of the
981 freedesktop.org desktop notification specification.")
982 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
983 (license license:gpl2+)))
985 (define-public mm-common
991 (uri (string-append "mirror://gnome/sources/mm-common/"
992 (version-major+minor version) "/"
993 "mm-common-" version ".tar.xz"))
996 "1jasx9a9g7nqf7jcv3mrg4qh5cp9sq724jxjaz4wa1dzmxsxg8i8"))))
997 (build-system meson-build-system)
1000 (modify-phases %standard-phases
1001 (add-after 'unpack 'patch
1002 (lambda* (#:key inputs #:allow-other-keys)
1003 (substitute* "util/mm-common-prepare.in"
1004 (("ln") (string-append (assoc-ref inputs "coreutils")
1006 (("cp") (string-append (assoc-ref inputs "coreutils")
1008 (("sed") (string-append (assoc-ref inputs "sed")
1010 (("cat") (string-append (assoc-ref inputs "coreutils")
1014 `(("coreutils" ,coreutils)
1015 ("gettext" ,gettext-minimal)
1016 ("pkg-config" ,pkg-config)
1019 `(("python" ,python)))
1020 (synopsis "Module of GNOME C++ bindings")
1021 (description "The mm-common module provides the build infrastructure
1022 and utilities shared among the GNOME C++ binding libraries. Release
1023 archives of mm-common include the Doxygen tag file for the GNU C++
1024 Library reference documentation.")
1025 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1026 (license license:gpl2+)))
1028 (define-public phodav
1034 (uri (string-append "mirror://gnome/sources/" name "/"
1035 (version-major+minor version) "/"
1036 name "-" version ".tar.xz"))
1039 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
1040 (build-system meson-build-system)
1042 `(("gettext" ,gettext-minimal)
1043 ("glib:bin" ,glib "bin")
1044 ("gtk-doc" ,gtk-doc)
1045 ("pkg-config" ,pkg-config)))
1048 ("libgudev" ,libgudev)
1049 ("libsoup" ,libsoup)))
1050 (synopsis "WebDav server implementation using libsoup")
1051 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1052 but it is generic enough to be reused in other projects,
1053 in particular in the GNOME desktop.")
1054 (home-page "https://wiki.gnome.org/phodav")
1055 (license license:lgpl2.1+)))
1057 (define-public gnome-color-manager
1059 (name "gnome-color-manager")
1063 (uri (string-append "mirror://gnome/sources/" name "/"
1064 (version-major+minor version) "/"
1065 name "-" version ".tar.xz"))
1068 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1069 (build-system meson-build-system)
1073 (modify-phases %standard-phases
1077 ;; Tests require a running X server.
1078 (system "Xvfb :1 &")
1079 (setenv "DISPLAY" ":1")
1082 `(("desktop-file-utils" ,desktop-file-utils)
1083 ("gettext" ,gettext-minimal)
1084 ("glib:bin" ,glib "bin")
1085 ("gtk+:bin" ,gtk+ "bin")
1086 ("itstool" ,itstool)
1087 ("pkg-config" ,pkg-config)
1088 ("xorg-server" ,xorg-server-for-tests)))
1090 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1091 ("appstream-glib" ,appstream-glib)
1092 ("colord-gtk" ,colord-gtk)
1094 ("gnome-desktop" ,gnome-desktop)
1095 ("libcanberra" ,libcanberra)
1096 ("libexif" ,libexif)
1097 ("libtiff" ,libtiff)
1098 ("libxrandr" ,libxrandr)
1099 ("libxtst" ,libxtst)
1100 ("libxxf86vm" ,libxxf86vm)
1102 ("xorgproto" ,xorgproto)))
1103 (synopsis "Color profile manager for the GNOME desktop")
1104 (description "GNOME Color Manager is a session framework that makes
1105 it easy to manage, install and generate color profiles
1106 in the GNOME desktop.")
1107 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1108 (license license:gpl2+)))
1110 (define-public gnome-online-miners
1112 (name "gnome-online-miners")
1116 (uri (string-append "mirror://gnome/sources/" name "/"
1117 (version-major+minor version) "/"
1118 name "-" version ".tar.xz"))
1121 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1122 (build-system glib-or-gtk-build-system)
1124 `(("gettext" ,gettext-minimal)
1125 ("glib:bin" ,glib "bin")
1126 ("gobject-introspection" ,gobject-introspection)
1127 ("gtk+:bin" ,gtk+ "bin")
1128 ("pkg-config" ,pkg-config)))
1130 `(("gnome-online-accounts" ,gnome-online-accounts)
1131 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1133 ("libgdata" ,libgdata)
1134 ("libgfbgraph" ,gfbgraph)
1135 ("libzapojit" ,libzapojit)
1137 ("tracker" ,tracker)))
1138 (synopsis "Web Crawlers for GNOME")
1139 (description "GNOME Online Miners provides a set of crawlers that
1140 go through your online content and index them locally in Tracker.
1141 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1142 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1143 (license license:gpl2+)))
1145 (define-public gssdp
1151 (uri (string-append "mirror://gnome/sources/" name "/"
1152 (version-major+minor version) "/"
1153 name "-" version ".tar.xz"))
1156 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1157 (build-system meson-build-system)
1159 `(("gettext" ,gettext-minimal)
1160 ("glib:bin" ,glib "bin")
1161 ("gobject-introspection" ,gobject-introspection)
1162 ("gtk-doc" ,gtk-doc)
1163 ("pkg-config" ,pkg-config)
1167 ("libsoup" ,libsoup)))
1168 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1169 Protocol} for GNOME")
1170 (description "This package provides a library to handle resource discovery
1171 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1172 a debugging tool, @command{gssdp-device-sniffer}.")
1173 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1174 (license license:lgpl2.0+)))
1176 (define-public gupnp
1182 (uri (string-append "mirror://gnome/sources/" name "/"
1183 (version-major+minor version) "/"
1184 name "-" version ".tar.xz"))
1187 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1188 (build-system meson-build-system)
1190 `(("gettext" ,gettext-minimal)
1191 ("glib:bin" ,glib "bin")
1192 ("gobject-introspection" ,gobject-introspection)
1193 ("gtk-doc" ,gtk-doc)
1194 ("pkg-config" ,pkg-config)
1199 ("libsoup" ,libsoup)))
1200 (synopsis "PnP API for GNOME")
1201 (description "This package provides GUPnP, an object-oriented framework
1202 for creating UPnP devices and control points, written in C using
1203 @code{GObject} and @code{libsoup}.")
1204 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1205 (license license:lgpl2.0+)))
1207 (define-public gupnp-dlna
1213 (uri (string-append "mirror://gnome/sources/" name "/"
1214 (version-major+minor version) "/"
1215 name "-" version ".tar.xz"))
1218 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1219 (build-system gnu-build-system)
1221 `(("gettext" ,gettext-minimal)
1222 ("glib:bin" ,glib "bin")
1223 ("gobject-introspection" ,gobject-introspection)
1224 ("gtk-doc" ,gtk-doc)
1226 ("pkg-config" ,pkg-config)
1229 `(("gstreamer" ,gstreamer)
1232 `(("gst-plugins-base" ,gst-plugins-base)
1233 ("gst-plugins-good" ,gst-plugins-good)))
1234 (synopsis "GUPnP DLNA for GNOME")
1235 (description "This package provides a small utility library to
1236 support DLNA-related tasks such as media profile guessing, transcoding to a
1237 given profile, etc. DLNA is a subset of UPnP A/V.")
1238 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1239 (license license:lgpl2.0+)))
1241 (define-public gupnp-av
1247 (uri (string-append "mirror://gnome/sources/" name "/"
1248 (version-major+minor version) "/"
1249 name "-" version ".tar.xz"))
1252 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1253 (build-system gnu-build-system)
1255 `(("gettext" ,gettext-minimal)
1256 ("glib:bin" ,glib "bin")
1257 ("gobject-introspection" ,gobject-introspection)
1258 ("gtk-doc" ,gtk-doc)
1260 ("pkg-config" ,pkg-config)))
1264 (synopsis "GUPnP A/V for GNOME")
1265 (description "This package provides a small library for handling
1266 and implementation of UPnP A/V profiles.")
1267 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1268 (license license:lgpl2.0+)))
1270 (define-public libmediaart
1272 (name "libmediaart")
1276 (uri (string-append "mirror://gnome/sources/" name "/"
1277 (version-major+minor version) "/"
1278 name "-" version ".tar.xz"))
1281 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1282 (build-system gnu-build-system)
1284 `(("glib:bin" ,glib "bin")
1285 ("pkg-config" ,pkg-config)))
1287 `(("gdk-pixbuf" ,gdk-pixbuf)
1288 ("gettext" ,gettext-minimal)
1289 ("gobject-introspection" ,gobject-introspection)
1290 ("gtk+:doc", gtk+ "doc")
1292 (synopsis "Media art library for the GNOME desktop")
1294 "The libmediaart library is the foundation for media art caching,
1295 extraction, and lookup for applications on the desktop.")
1296 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1297 (license license:lgpl2.1+)))
1299 (define-public gnome-initial-setup
1301 (name "gnome-initial-setup")
1305 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1306 (version-major+minor version)
1307 "/gnome-initial-setup-" version ".tar.xz"))
1310 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1311 (build-system meson-build-system)
1313 '(#:configure-flags '(;; Enable camera support for user selfie.
1316 #:phases (modify-phases %standard-phases
1317 (add-after 'unpack 'set-gkbd-file-name
1318 (lambda* (#:key inputs #:allow-other-keys)
1319 ;; Allow the "Preview" button in the keyboard layout
1320 ;; selection dialog to display the layout.
1321 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1322 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1323 (("\"gkbd-keyboard-display")
1324 (string-append "\"" libgnomekbd
1325 "/bin/gkbd-keyboard-display")))
1328 `(("gettext" ,gettext-minimal)
1329 ("glib:bin" ,glib "bin")
1330 ("gobject-introspection" ,gobject-introspection)
1331 ("gtk+:bin" ,gtk+ "bin")
1332 ("pkg-config" ,pkg-config)))
1334 `(("accountsservice" ,accountsservice)
1335 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1337 ("geoclue" ,geoclue)
1338 ("gnome-desktop" ,gnome-desktop)
1339 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1340 ("gnome-online-accounts" ,gnome-online-accounts)
1341 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1342 ("gstreamer" ,gstreamer)
1344 ("json-glib" ,json-glib)
1346 ("libgweather" ,libgweather)
1348 ("libsecret" ,libsecret)
1349 ("network-manager" ,network-manager)
1350 ("packagekit" ,packagekit)
1352 ("pwquality" ,libpwquality)
1355 ("webkitgtk" ,webkitgtk)
1356 ("libgnomekbd" ,libgnomekbd)))
1357 (synopsis "Initial setup wizard for GNOME desktop")
1358 (description "This package provides a set-up wizard when a
1359 user logs into GNOME for the first time. It typically provides a
1360 tour of all gnome components and allows the user to set them up.")
1361 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1362 (license license:gpl2)))
1364 (define-public gnome-user-share
1366 (name "gnome-user-share")
1370 (uri (string-append "mirror://gnome/sources/" name "/"
1371 (version-major+minor version) "/"
1372 name "-" version ".tar.xz"))
1375 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1376 (build-system meson-build-system)
1381 ;; Enable nautilus extension for file sharing.
1382 "-Dnautilus_extension=true")))
1384 `(("gettext" ,gettext-minimal)
1385 ("glib:bin" ,glib "bin")
1386 ("gobject-introspection" ,gobject-introspection)
1387 ("gtk+:bin" ,gtk+ "bin")
1388 ("pkg-config" ,pkg-config)
1389 ("yelp-tools" ,yelp-tools)))
1392 ("gnome-bluetooth" ,gnome-bluetooth)
1394 ("libcanberra" ,libcanberra)
1395 ("libnotify" ,libnotify)
1396 ("nautilus" ,nautilus))) ; For nautilus extension.
1397 (synopsis "File sharing for GNOME desktop")
1398 (description "GNOME User Share is a small package that binds together
1399 various free software projects to bring easy to use user-level file
1400 sharing to the masses.")
1401 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1402 (license license:gpl2+)))
1404 (define-public sushi
1410 (uri (string-append "mirror://gnome/sources/" name "/"
1411 (version-major+minor version) "/"
1412 name "-" version ".tar.xz"))
1415 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1416 (build-system meson-build-system)
1420 (modify-phases %standard-phases
1421 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1422 (lambda* (#:key outputs #:allow-other-keys)
1423 (let ((prog (string-append (assoc-ref outputs "out")
1425 ;; Put existing typelibs before sushi's deps, so as to correctly
1428 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1431 `(("glib:bin" ,glib "bin")
1432 ("gettext" ,gettext-minimal)
1433 ("gobject-introspection" ,gobject-introspection)
1434 ("pkg-config" ,pkg-config)))
1436 `(("clutter" ,clutter)
1437 ("clutter-gst" ,clutter-gst)
1438 ("clutter-gtk" ,clutter-gtk)
1439 ("evince" ,evince) ; For file previewing.
1440 ("freetype" ,freetype)
1441 ("gdk-pixbuf" ,gdk-pixbuf)
1443 ("gst-plugins-base" ,gst-plugins-base)
1444 ("gstreamer" ,gstreamer)
1445 ("gtksourceview" ,gtksourceview-3)
1446 ("harfbuzz" ,harfbuzz)
1447 ("libepoxy" ,libepoxy)
1448 ("libmusicbrainz" ,libmusicbrainz)
1449 ("libxml2" ,libxml2)
1451 ("webkitgtk" ,webkitgtk)))
1452 (synopsis "File previewer for the GNOME desktop")
1453 (description "Sushi is a DBus-activated service that allows applications to
1454 preview files on the GNOME desktop.")
1455 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1456 (license license:gpl2+)))
1458 (define-public rygel
1464 (uri (string-append "mirror://gnome/sources/" name "/"
1465 (version-major+minor version) "/"
1466 name "-" version ".tar.xz"))
1469 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1470 (build-system gnu-build-system)
1472 `(("gettext" ,gettext-minimal)
1473 ("gobject-introspection" ,gobject-introspection)
1474 ("gtk-doc" ,gtk-doc)
1475 ("pkg-config" ,pkg-config)
1478 `(("gdk-pixbuf" ,gdk-pixbuf)
1480 ("gstreamer" ,gstreamer)
1481 ("gst-plugins-base" ,gst-plugins-base)
1484 ("gupnp-av" ,gupnp-av)
1485 ("gupnp-dlna" ,gupnp-dlna)
1487 ("libmediaart" ,libmediaart)
1488 ("libsoup" ,libsoup)
1489 ("libxslt" ,libxslt)
1490 ("libunistring" ,libunistring)
1491 ("tracker" ,tracker)))
1492 (synopsis "Share audio, video, and pictures with other devices")
1494 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1495 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1496 pictures, and to control a media player on your home network.
1498 Rygel achieves interoperability with other devices by trying to conform to the
1499 strict requirements of DLNA and by converting media on-the-fly to formats that
1500 client devices can handle.")
1501 (home-page "https://wiki.gnome.org/Projects/Rygel")
1503 ;; For logo (data/icons/*).
1506 license:lgpl2.1+))))
1508 (define-public libnma
1514 (uri (string-append "mirror://gnome/sources/" name "/"
1515 (version-major+minor version) "/"
1516 name "-" version ".tar.xz"))
1519 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1520 (build-system meson-build-system)
1523 (modify-phases %standard-phases
1524 (add-after 'unpack 'patch-docbook-xml
1525 (lambda* (#:key inputs #:allow-other-keys)
1526 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1527 "/xml/dtd/docbook")))
1528 (substitute* "libnma-docs.xml"
1529 (("http://.*/docbookx\\.dtd")
1530 (string-append xmldoc "/docbookx.dtd")))
1533 `(("docbook-xml" ,docbook-xml-4.3)
1534 ("gettext" ,gettext-minimal)
1535 ("glib:bin" ,glib "bin")
1536 ("gtk-doc" ,gtk-doc)
1537 ("gobject-introspection" ,gobject-introspection)
1538 ("pkg-config" ,pkg-config)
1543 ("iso-codes" ,iso-codes)
1544 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1545 ("network-manager" ,network-manager)))
1546 (synopsis "Network Manager's applet library")
1547 (description "Libnma is an applet library for Network Manager. It was
1548 initially part of network-manager-applet and has now become a separate
1550 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1551 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1553 (license license:gpl2+)))
1555 (define-public gnome-menus
1557 (name "gnome-menus")
1561 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1562 (version-major+minor version) "/"
1563 name "-" version ".tar.xz"))
1566 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1567 (build-system gnu-build-system)
1569 `(("gettext" ,gettext-minimal)
1571 ("pkg-config" ,pkg-config)))
1572 (synopsis "Menu support for GNOME desktop")
1573 (description "GNOME Menus contains the libgnome-menu library, the layout
1574 configuration files for the GNOME menu, as well as a simple menu editor.")
1575 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1576 (license license:lgpl2.0+)))
1578 (define-public deja-dup
1584 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1585 version "/deja-dup-" version ".tar.bz2"))
1588 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1589 (build-system meson-build-system)
1594 ;; Otherwise, the RUNPATH will lack the final path component.
1595 (string-append "-Dc_link_args=-Wl,-rpath="
1596 (assoc-ref %outputs "out") "/lib/deja-dup"))
1598 (modify-phases %standard-phases
1599 (add-after 'unpack 'patch-paths
1600 (lambda* (#:key inputs #:allow-other-keys)
1601 (let ((python (assoc-ref inputs "python")))
1602 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1603 "libdeja/tests/scripts/instance-error.test")
1606 (substitute* "libdeja/tests/runner.vala"
1609 (substitute* "libdeja/tests/scripts/instance-error.test"
1610 (("`which python3`")
1611 (string-append python "/bin/python3"))))))
1612 (add-after 'unpack 'patch-libgpg-error
1613 (lambda* (#:key inputs #:allow-other-keys)
1614 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1615 (substitute* "meson.build"
1616 (("(gpgerror_libs = ).*" _ var)
1617 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1619 (add-after 'unpack 'skip-gtk-update-icon-cache
1620 ;; Don't create 'icon-theme.cache'.
1622 (substitute* "data/post-install.sh"
1623 (("gtk-update-icon-cache") "true"))
1626 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1627 ("duplicity" ,duplicity)
1629 ("python-pygobject" ,python-pygobject)
1631 ("json-glib" ,json-glib)
1632 ("libnotify" ,libnotify)
1633 ("libgpg-error" ,libgpg-error)
1634 ("libsecret" ,libsecret)
1635 ("libsoup" ,libsoup)
1636 ("packagekit" ,packagekit)))
1638 `(("appstream-glib" ,appstream-glib)
1639 ("desktop-file-utils" ,desktop-file-utils)
1640 ("gettext" ,gettext-minimal)
1641 ("glib" ,glib "bin") ; for glib-compile-schemas.
1642 ("gobject-introspection" ,gobject-introspection)
1643 ("itstool" ,itstool)
1644 ("pkg-config" ,pkg-config)
1646 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1647 (synopsis "Simple backup tool, for regular encrypted backups")
1649 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1650 uses duplicity as the backend, which supports incremental backups and storage
1651 either on a local, or remote machine via a number of methods.")
1652 (license license:gpl3+)))
1654 (define-public gnome-user-docs
1656 (name "gnome-user-docs")
1661 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1662 (version-major+minor version)
1663 "/gnome-user-docs-" version ".tar.xz"))
1665 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1666 (build-system gnu-build-system)
1668 `(("gettext" ,gettext-minimal)
1669 ("itstool" ,itstool)
1670 ("pkg-config" ,pkg-config)
1671 ("xmllint" ,libxml2)))
1672 (synopsis "User documentation for the GNOME desktop")
1674 "The GNOME User Documentation explains how to use the GNOME desktop and its
1675 components. It covers usage and setup of the core GNOME programs by end-users
1676 and system administrators.")
1677 (home-page "https://live.gnome.org/DocumentationProject")
1678 (license license:cc-by3.0)))
1680 (define-public gnome-getting-started-docs
1682 (name "gnome-getting-started-docs")
1687 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1688 (version-major+minor version)
1689 "/gnome-getting-started-docs-" version ".tar.xz"))
1691 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1692 (build-system gnu-build-system)
1694 `(("gettext" ,gettext-minimal)
1695 ("itstool" ,itstool)
1696 ("pkg-config" ,pkg-config)
1697 ("xmllint" ,libxml2)))
1698 (synopsis "Help to get new users started with the GNOME desktop")
1700 "The GNOME Getting Started Documentation contains GNOME's intuitive
1701 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1703 It is normally used together with @command{gnome-initial-setup}, but is also
1704 useful as a tutorial and users' guide for new or less experienced users.")
1705 (home-page "https://live.gnome.org/DocumentationProject")
1706 (license license:cc-by-sa3.0)))
1709 ;; This version from GNOME's repository includes fixes for compiling with
1710 ;; recent versions of the build tools. The latest activity on the
1711 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1713 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1717 (version (git-version "0.97.3" revision commit))
1721 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1723 (file-name (git-file-name name version))
1726 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1727 (build-system meson-build-system)
1729 `(("graphene" ,graphene)
1731 ("libxml2" ,libxml2)
1732 ("libxslt" ,libxslt)
1733 ("poppler" ,poppler)
1734 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1735 ;; ERROR: Unknown method "dependency" in object.
1736 ("python-2" ,python-2)))
1738 `(("appstream-glib" ,appstream-glib)
1739 ("docbook-xsl" ,docbook-xsl)
1740 ("glib" ,glib "bin")
1741 ("intltool" ,intltool)
1742 ("pkg-config" ,pkg-config)))
1743 (home-page "https://wiki.gnome.org/Apps/Dia")
1744 (synopsis "Diagram creation for GNOME")
1745 (description "Dia can be used to draw different types of diagrams, and
1746 includes support for UML static structure diagrams (class diagrams), entity
1747 relationship modeling, and network diagrams. The program supports various file
1748 formats like PNG, SVG, PDF and EPS.")
1749 (license license:gpl2+))))
1751 ;; This is the unstable release, but it is required for the current stable
1752 ;; release of gvfs (1.38.1).
1753 (define-public libgdata
1759 (uri (string-append "mirror://gnome/sources/" name "/"
1760 (version-major+minor version) "/"
1761 name "-" version ".tar.xz"))
1764 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1765 (build-system gnu-build-system)
1768 (modify-phases %standard-phases
1769 (add-before 'check 'disable-failing-tests
1771 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1772 ;; They have been removed in libgdata 0.17.6, so just do the same.
1773 (substitute* "gdata/tests/Makefile"
1774 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1777 `(("glib:bin" ,glib "bin")
1778 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1779 ("intltool" ,intltool)
1780 ("pkg-config" ,pkg-config)
1781 ("uhttpmock" ,uhttpmock)))
1783 `(("cyrus-sasl" ,cyrus-sasl)
1784 ("glib-networking" ,glib-networking)))
1788 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1789 ("json-glib" ,json-glib)
1790 ("liboauth" ,liboauth)
1791 ("libsoup" ,libsoup)
1792 ("libxml2" ,libxml2)))
1793 (home-page "https://wiki.gnome.org/Projects/libgdata")
1794 (synopsis "Library for accessing online service APIs")
1796 "libgdata is a GLib-based library for accessing online service APIs using
1797 the GData protocol — most notably, Google's services. It provides APIs to
1798 access the common Google services, and has full asynchronous support.")
1799 (license license:lgpl2.1+)))
1801 (define-public libgxps
1807 (uri (string-append "mirror://gnome/sources/" name "/"
1808 (version-major+minor version) "/"
1809 name "-" version ".tar.xz"))
1812 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1813 (build-system meson-build-system)
1815 `(("gobject-introspection" ,gobject-introspection)
1816 ("pkg-config" ,pkg-config)))
1819 ("libjpeg" ,libjpeg-turbo)
1821 ("libtiff" ,libtiff)))
1823 ;; In Requires of libgxps.pc.
1826 ("libarchive" ,libarchive)))
1827 (home-page "https://wiki.gnome.org/Projects/libgxps")
1828 (synopsis "GObject-based library for handling and rendering XPS documents")
1830 "libgxps is a GObject-based library for handling and rendering XPS
1831 documents. This package also contains binaries that can convert XPS documents
1833 (license license:lgpl2.1+)))
1835 (define-public gnome-characters
1837 (name "gnome-characters")
1842 (uri (string-append "mirror://gnome/sources/"
1843 "gnome-characters/" (version-major+minor version)
1844 "/gnome-characters-" version ".tar.xz"))
1847 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1848 (build-system meson-build-system)
1851 #:phases (modify-phases %standard-phases
1852 (add-after 'install 'wrap
1853 (lambda* (#:key outputs #:allow-other-keys)
1854 ;; GNOME Characters needs Typelib files from GTK and
1856 (wrap-program (string-append (assoc-ref outputs "out")
1857 "/bin/gnome-characters")
1858 `("GI_TYPELIB_PATH" ":" prefix
1859 (,(getenv "GI_TYPELIB_PATH"))))
1862 `(("gettext" ,gettext-minimal)
1863 ("glib:bin" ,glib "bin")
1864 ("gtk+:bin" ,gtk+ "bin")
1865 ("pkg-config" ,pkg-config)
1866 ("python" ,python-minimal)))
1870 ("libunistring" ,libunistring)
1871 ("gnome-desktop" ,gnome-desktop)))
1872 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1873 (synopsis "Find and insert unusual characters")
1874 (description "Characters is a simple utility application to find
1875 and insert unusual characters. It allows you to quickly find the
1876 character you are looking for by searching for keywords.")
1877 (license license:bsd-3)))
1879 (define-public gnome-common
1881 (name "gnome-common")
1886 (uri (string-append "mirror://gnome/sources/" name "/"
1887 (version-major+minor version) "/"
1888 name "-" version ".tar.xz"))
1891 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1892 (build-system gnu-build-system)
1893 (home-page "https://www.gnome.org/")
1894 (synopsis "Bootstrap GNOME modules built from Git")
1895 (description "gnome-common contains various files needed to bootstrap
1896 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1897 can be used to configure a source directory checked out from Git and some
1898 commonly used macros.")
1899 (license license:gpl2+)))
1901 (define-public gnome-contacts
1903 (name "gnome-contacts")
1907 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1908 (version-major+minor version) "/"
1909 name "-" version ".tar.xz"))
1912 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1913 (build-system meson-build-system)
1915 `(#:configure-flags '("-Dcheese=false")
1917 (modify-phases %standard-phases
1918 (add-after 'unpack 'generate-vapis
1919 (lambda* (#:key inputs #:allow-other-keys)
1920 ;; To generate goa's missing .vapi file
1922 (assoc-ref inputs "gnome-online-accounts:lib"))
1924 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1926 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1928 (add-after 'unpack 'skip-gtk-update-icon-cache
1929 ;; Don't create 'icon-theme.cache'.
1931 (substitute* "build-aux/meson_post_install.py"
1932 (("gtk-update-icon-cache") "true"))
1935 `(("glib:bin" ,glib "bin")
1936 ("pkg-config" ,pkg-config)))
1938 `(("docbook-xml" ,docbook-xml)
1939 ("dockbook-xsl" ,docbook-xsl)
1940 ("evolution-data-server" ,evolution-data-server)
1941 ("gettext" ,gettext-minimal)
1942 ("gnome-desktop" ,gnome-desktop)
1943 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1944 ("gobject-introspection" ,gobject-introspection)
1945 ("gst-plugins-base" ,gst-plugins-base)
1948 ("libxslt" ,libxslt)
1949 ("telepathy-glib" ,telepathy-glib)
1953 ("telepathy-mission-control" ,telepathy-mission-control)))
1954 (synopsis "GNOME's integrated address book")
1956 "GNOME Contacts organizes your contact information from online and
1957 offline sources, providing a centralized place for managing your contacts.")
1958 (home-page "https://wiki.gnome.org/Apps/Contacts")
1959 (license license:gpl2+)))
1961 (define-public gnome-desktop
1963 (name "gnome-desktop")
1968 (uri (string-append "mirror://gnome/sources/" name "/"
1969 (version-major+minor version) "/"
1970 name "-" version ".tar.xz"))
1973 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1974 (build-system meson-build-system)
1977 (modify-phases %standard-phases
1978 (add-before 'configure 'patch-path
1979 (lambda* (#:key inputs #:allow-other-keys)
1980 (let ((libc (assoc-ref inputs "libc")))
1981 (substitute* "libgnome-desktop/gnome-languages.c"
1983 (string-append "\"" libc "/bin/locale\"")))
1985 (add-before 'configure 'patch-bubblewrap
1986 (lambda* (#:key inputs #:allow-other-keys)
1987 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
1989 (string-append "\"" (which "bwrap") "\","))
1990 (("\"--ro-bind\", \"/usr\", \"/usr\",")
1991 (string-append "\"--ro-bind\", \""
1996 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
1998 (add-before 'check 'pre-check
1999 (lambda* (#:key inputs #:allow-other-keys)
2000 ;; Tests require a running X server and locales.
2001 (system "Xvfb :1 &")
2002 (setenv "DISPLAY" ":1")
2003 (setenv "GUIX_LOCPATH"
2004 (string-append (assoc-ref inputs "glibc-locales")
2008 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2009 ("glibc-locales" ,glibc-locales) ; for tests
2010 ("gobject-introspection" ,gobject-introspection)
2011 ("itstool" ,itstool)
2012 ("intltool" ,intltool)
2013 ("pkg-config" ,pkg-config)
2014 ("xmllint" ,libxml2)
2015 ("xorg-server" ,xorg-server-for-tests)))
2017 ;; Required by gnome-desktop-3.0.pc.
2018 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2020 ("iso-codes" ,iso-codes)
2021 ("libseccomp" ,libseccomp)
2023 ("xkeyboard-config" ,xkeyboard-config)))
2025 `(("gdk-pixbuf" ,gdk-pixbuf)
2027 ("bubblewrap" ,bubblewrap)
2028 ("libxext" ,libxext)
2029 ("libxkbfile" ,libxkbfile)
2030 ("libxrandr" ,libxrandr)))
2031 (home-page "https://www.gnome.org/")
2033 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2035 "The libgnome-desktop library provides API shared by several applications
2036 on the desktop, but that cannot live in the platform for various reasons.
2037 There is no API or ABI guarantee, although we are doing our best to provide
2038 stability. Documentation for the API is available with gtk-doc.
2040 The gnome-about program helps find which version of GNOME is installed.")
2041 ; Some bits under the LGPL.
2042 (license license:gpl2+)))
2044 (define-public gnome-doc-utils
2046 (name "gnome-doc-utils")
2051 (uri (string-append "mirror://gnome/sources/" name "/"
2052 (version-major+minor version) "/"
2053 name "-" version ".tar.xz"))
2056 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2057 (build-system gnu-build-system)
2059 `(("intltool" ,intltool)
2060 ("docbook-xml" ,docbook-xml-4.4)
2061 ("python2-libxml2" ,python2-libxml2)
2062 ("libxml2" ,libxml2)
2063 ("libxslt" ,libxslt)
2064 ("pkg-config" ,pkg-config)
2065 ("python-2" ,python-2)))
2066 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2068 "Documentation utilities for the Gnome project")
2070 "Gnome-doc-utils is a collection of documentation utilities for the
2071 Gnome project. It includes xml2po tool which makes it easier to translate
2072 and keep up to date translations of documentation.")
2073 (license license:gpl2+))) ; xslt under lgpl
2075 (define-public gnome-disk-utility
2077 (name "gnome-disk-utility")
2081 (uri (string-append "mirror://gnome/sources/" name "/"
2082 (version-major+minor version) "/"
2083 name "-" version ".tar.xz"))
2086 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2087 (build-system meson-build-system)
2089 '(#:configure-flags '("-Dlogind=libelogind")
2091 (modify-phases %standard-phases
2092 (add-after 'unpack 'skip-gtk-update-icon-cache
2093 ;; Don't create 'icon-theme.cache'.
2095 (substitute* "meson_post_install.py"
2096 (("gtk-update-icon-cache") "true"))
2099 `(("glib:bin" ,glib "bin")
2100 ("intltool" ,intltool)
2101 ("pkg-config" ,pkg-config)
2102 ("docbook-xml" ,docbook-xml)
2103 ("docbook-xsl" ,docbook-xsl)
2104 ("libxml2" ,libxml2)
2105 ("libxslt" ,libxslt)))
2107 `(("elogind" ,elogind)
2109 ("appstream-glib" ,appstream-glib)
2110 ("gnome-settings-daemon" ,gnome-settings-daemon)
2112 ("libcanberra" ,libcanberra)
2113 ("libdvdread" ,libdvdread)
2114 ("libnotify" ,libnotify)
2115 ("libpwquality" ,libpwquality)
2116 ("libsecret" ,libsecret)
2117 ("udisks" ,udisks)))
2118 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2119 (synopsis "Disk management utility for GNOME")
2120 (description "Disk management utility for GNOME.")
2121 (license license:gpl2+)))
2123 (define-public gnome-font-viewer
2125 (name "gnome-font-viewer")
2129 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2130 (version-major+minor version)
2131 "/gnome-font-viewer-" version ".tar.xz"))
2134 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2135 (build-system meson-build-system)
2138 (modify-phases %standard-phases
2139 (add-after 'unpack 'patch-post-install-script
2141 (substitute* "meson-postinstall.sh"
2142 (("update-desktop-database") (which "true")))
2145 `(("gettext" ,gettext-minimal)
2146 ("glib:bin" ,glib "bin")
2147 ("pkg-config" ,pkg-config)))
2150 ("gnome-desktop" ,gnome-desktop)
2152 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2153 (synopsis "GNOME Fonts")
2154 (description "Application to show you the fonts installed on your computer
2155 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2156 the font would look under various sizes.")
2157 (license license:gpl2+)))
2165 (uri (string-append "mirror://gnome/sources/" name "/"
2166 (version-major+minor version) "/"
2167 name "-" version ".tar.xz"))
2170 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2171 (build-system gnu-build-system)
2174 (modify-phases %standard-phases
2175 ;; These fail because /var/lib/dbus/machine-id is not present in the
2176 ;; build environment.
2177 (add-after 'unpack 'disable-failing-tests
2179 (substitute* "Makefile.in"
2180 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2183 (add-before 'check 'pre-check
2185 ;; Some tests expect to write to $HOME.
2186 (setenv "HOME" "/tmp")
2190 ("gnupg" ,gnupg) ;called as a child process during tests
2191 ("libgcrypt" ,libgcrypt)))
2193 `(("python" ,python-wrapper) ;for tests
2194 ("pkg-config" ,pkg-config)
2195 ("gettext" ,gettext-minimal)
2196 ("glib" ,glib "bin")
2197 ("gobject-introspection" ,gobject-introspection)
2198 ("libxml2" ,libxml2)
2200 ("xsltproc" ,libxslt)))
2201 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2203 `(("p11-kit" ,p11-kit)
2206 (home-page "https://www.gnome.org")
2207 (synopsis "Libraries for displaying certificates and accessing key stores")
2209 "The GCR package contains libraries used for displaying certificates and
2210 accessing key stores. It also provides the viewer for crypto files on the
2212 (license license:lgpl2.1+)))
2221 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2222 (commit (string-append "GDL_" (string-map (match-lambda
2226 (file-name (git-file-name name version))
2229 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2230 (build-system gnu-build-system)
2232 `(("autoconf" ,autoconf)
2233 ("automake" ,automake)
2234 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2235 ("gnome-common" ,gnome-common)
2236 ("gtk-doc" ,gtk-doc)
2237 ("intltool" ,intltool)
2238 ("pkg-config" ,pkg-config)
2239 ("libtool" ,libtool)
2242 `(("libxml2" ,libxml2)))
2244 ;; The gdl-3.0.pc file 'Requires' GTK+.
2246 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2247 (synopsis "GNOME docking library")
2248 (description "This library provides docking features for gtk+.")
2249 (license license:lgpl2.1+)))
2251 ;;; A minimal variant used to break a cycle with Inkscape.
2252 (define-public gdl-minimal
2255 (name "gdl-minimal")
2258 (modify-phases %standard-phases
2259 (add-after 'unpack 'disable-doc-generation
2260 ;; XXX: There is no easy way to disable generating the
2263 (substitute* "configure.in"
2264 (("GTK_DOC_CHECK.*") "")
2266 (substitute* "Makefile.am"
2267 (("gdl docs po") "gdl po"))
2269 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2271 (define-public libgnome-keyring
2273 (name "libgnome-keyring")
2277 (uri (string-append "mirror://gnome/sources/" name "/"
2278 (version-major+minor version) "/"
2279 name "-" version ".tar.xz"))
2282 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2283 (build-system gnu-build-system)
2285 `(("libgcrypt" ,libgcrypt)
2288 `(("pkg-config" ,pkg-config)
2289 ("glib" ,glib "bin")
2290 ("intltool" ,intltool)))
2292 ;; Referred to in .h files and .pc.
2294 (home-page "https://www.gnome.org")
2295 (synopsis "Accessing passwords from the GNOME keyring")
2297 "Client library to access passwords from the GNOME keyring.")
2299 ;; Though a couple of files are LGPLv2.1+.
2300 (license license:lgpl2.0+)))
2302 (define-public gnome-keyring
2304 (name "gnome-keyring")
2308 (uri (string-append "mirror://gnome/sources/" name "/"
2309 (version-major+minor version) "/"
2310 name "-" version ".tar.xz"))
2313 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2314 (build-system gnu-build-system)
2316 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2320 (string-append "--with-pkcs11-config="
2321 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2322 (string-append "--with-pkcs11-modules="
2323 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2325 (modify-phases %standard-phases
2326 (add-after 'unpack 'fix-/bin/sh-reference
2328 (substitute* "po/Makefile.in.in"
2329 (("/bin/sh") (which "sh")))
2331 (add-after 'unpack 'fix-docbook
2332 (lambda* (#:key inputs #:allow-other-keys)
2333 (substitute* "docs/Makefile.am"
2334 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2335 (string-append (assoc-ref inputs "docbook-xsl")
2336 "/xml/xsl/docbook-xsl-"
2337 ,(package-version docbook-xsl)
2338 "/manpages/docbook.xsl")))
2339 (setenv "XML_CATALOG_FILES"
2340 (string-append (assoc-ref inputs "docbook-xml")
2341 "/xml/dtd/docbook/catalog.xml"))
2342 ;; Rerun the whole thing to avoid version mismatch ("This is
2343 ;; Automake 1.15.1, but the definition used by this
2344 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2345 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2348 (invoke "automake" "-ac"))))))
2350 `(("libgcrypt" ,libgcrypt)
2351 ("linux-pam" ,linux-pam)
2352 ("openssh" ,openssh)
2356 `(("pkg-config" ,pkg-config)
2357 ("glib" ,glib "bin")
2358 ("glib" ,glib) ; for m4 macros
2359 ("python" ,python-2) ;for tests
2360 ("intltool" ,intltool)
2361 ("autoconf" ,autoconf)
2362 ("automake" ,automake)
2363 ("libxslt" ,libxslt) ;for documentation
2364 ("docbook-xml" ,docbook-xml-4.2)
2365 ("docbook-xsl" ,docbook-xsl)))
2366 (home-page "https://www.gnome.org")
2367 (synopsis "Daemon to store passwords and encryption keys")
2369 "gnome-keyring is a program that keeps passwords and other secrets for
2370 users. It is run as a daemon in the session, similar to ssh-agent, and other
2371 applications locate it via an environment variable or D-Bus.
2373 The program can manage several keyrings, each with its own master password,
2374 and there is also a session keyring which is never stored to disk, but
2375 forgotten when the session ends.")
2376 (license license:lgpl2.1+)))
2378 (define-public evince
2384 (uri (string-append "mirror://gnome/sources/evince/"
2385 (version-major+minor version) "/"
2386 "evince-" version ".tar.xz"))
2389 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2390 (build-system glib-or-gtk-build-system)
2392 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2394 (modify-phases %standard-phases
2395 (add-before 'install 'skip-gtk-update-icon-cache
2396 ;; Don't create 'icon-theme.cache'.
2398 (substitute* "data/Makefile"
2399 (("gtk-update-icon-cache") "true"))
2402 `(("libarchive" ,libarchive)
2403 ("libgxps" ,libgxps)
2404 ("libspectre" ,libspectre)
2405 ("djvulibre" ,djvulibre)
2406 ("ghostscript" ,ghostscript)
2407 ("poppler" ,poppler)
2408 ("libtiff" ,libtiff)
2410 ;; Build libkpathsea as a shared library for DVI support.
2411 ;; ("libkpathsea" ,texlive-bin)
2412 ("gnome-desktop" ,gnome-desktop)
2413 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2415 ("libgnome-keyring" ,libgnome-keyring)
2416 ("adwaita-icon-theme" ,adwaita-icon-theme)
2417 ("gdk-pixbuf" ,gdk-pixbuf)
2422 ("libxml2" ,libxml2)
2425 ("shared-mime-info" ,shared-mime-info)
2427 ("libcanberra" ,libcanberra)
2428 ("libsecret" ,libsecret)
2431 ("dogtail" ,python2-dogtail)))
2433 `(("itstool" ,itstool)
2434 ("intltool" ,intltool)
2435 ("glib" ,glib "bin")
2436 ("gobject-introspection" ,gobject-introspection)
2437 ("pkg-config" ,pkg-config)
2438 ("xmllint" ,libxml2)))
2439 (home-page "https://www.gnome.org/projects/evince/")
2440 (synopsis "GNOME's document viewer")
2442 "Evince is a document viewer for multiple document formats. It
2443 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2444 of Evince is to replace the multiple document viewers that exist
2445 on the GNOME Desktop with a single simple application.")
2446 (license license:gpl2+)))
2448 (define-public gsettings-desktop-schemas
2450 (name "gsettings-desktop-schemas")
2455 (uri (string-append "mirror://gnome/sources/" name "/"
2456 (version-major+minor version) "/"
2457 name "-" version ".tar.xz"))
2460 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2461 (build-system meson-build-system)
2463 '(#:phases (modify-phases %standard-phases
2464 (add-after 'unpack 'patch-schemas
2465 (lambda* (#:key inputs #:allow-other-keys)
2466 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2467 (substitute* (find-files "schemas"
2468 "\\.gschema\\.xml\\.in$")
2469 ;; Provide the correct file name of the default GNOME
2470 ;; background, 'adwaita-timed.xml'.
2471 (("@datadir@/backgrounds/gnome")
2472 (string-append theme "/share/backgrounds/gnome"))
2473 ;; Do not reference fonts, that may not exist.
2474 (("'Source Code Pro 10'") "'Monospace 11'"))
2478 ("gnome-backgrounds" ,gnome-backgrounds)))
2480 `(("intltool" ,intltool)
2481 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2482 ("gobject-introspection" ,gobject-introspection)
2483 ("pkg-config" ,pkg-config)))
2484 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2486 "GNOME settings for various desktop components")
2488 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2489 for settings shared by various components of the GNOME desktop.")
2490 (license license:lgpl2.1+)))
2492 (define-public icon-naming-utils
2494 (name "icon-naming-utils")
2499 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2500 version ".tar.bz2"))
2503 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2504 (build-system gnu-build-system)
2507 ("perl-xml-simple" ,perl-xml-simple)))
2510 (modify-phases %standard-phases
2511 (add-after 'install 'set-load-paths
2512 ;; Tell 'icon-name-mapping' where XML::Simple is.
2513 (lambda* (#:key outputs #:allow-other-keys)
2514 (let* ((out (assoc-ref outputs "out"))
2515 (prog (string-append out "/libexec/icon-name-mapping")))
2518 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2520 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2522 "Utility to implement the Freedesktop Icon Naming Specification")
2524 "To help with the transition to the Freedesktop Icon Naming
2525 Specification, the icon naming utility maps the icon names used by the
2526 GNOME and KDE desktops to the icon names proposed in the specification.")
2527 (license license:lgpl2.1+)))
2529 (define-public gnome-icon-theme
2531 (name "gnome-icon-theme")
2536 (uri (string-append "mirror://gnome/sources/" name "/"
2537 (version-major+minor version) "/"
2538 name "-" version ".tar.xz"))
2541 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2542 (build-system gnu-build-system)
2545 ;; Don't create 'icon-theme.cache'.
2546 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2547 (true (string-append coreutils "/bin/true")))
2548 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2550 `(("icon-naming-utils" ,icon-naming-utils)
2551 ("intltool" ,intltool)
2552 ("pkg-config" ,pkg-config)))
2553 (home-page "https://wiki.gnome.org/Personalization")
2554 (synopsis "GNOME icon theme")
2555 (description "Icons for the GNOME desktop.")
2556 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2558 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2559 (define-public adwaita-icon-theme
2560 (package (inherit gnome-icon-theme)
2561 (name "adwaita-icon-theme")
2565 (uri (string-append "mirror://gnome/sources/" name "/"
2566 (version-major+minor version) "/"
2567 name "-" version ".tar.xz"))
2570 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2572 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2574 (define-public tango-icon-theme
2576 (name "tango-icon-theme")
2580 (uri (string-append "http://tango.freedesktop.org/releases/"
2581 "tango-icon-theme-" version ".tar.bz2"))
2584 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2585 (build-system gnu-build-system)
2587 `(("icon-naming-utils" ,icon-naming-utils)
2588 ("intltool" ,intltool)
2589 ("imagemagick" ,imagemagick)
2590 ("pkg-config" ,pkg-config)))
2591 (home-page "http://tango-project.org/")
2592 (synopsis "Tango icon theme")
2593 (description "This is an icon theme that follows the Tango visual
2595 (license license:public-domain)))
2597 (define-public shared-mime-info
2599 (name "shared-mime-info")
2604 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2605 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2609 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2610 (build-system gnu-build-system)
2612 ;; The build system appears not to be parallel-safe.
2613 '(#:parallel-build? #f))
2616 ("libxml2" ,libxml2)))
2618 `(("gettext" ,gettext-minimal)
2619 ("itstool" ,itstool)
2620 ("pkg-config" ,pkg-config)))
2621 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2622 (synopsis "Database of common MIME types")
2624 "The shared-mime-info package contains the core database of common types
2625 and the update-mime-database command used to extend it. It requires glib2 to
2626 be installed for building the update command. Additionally, it uses intltool
2627 for translations, though this is only a dependency for the maintainers. This
2628 database is translated at Transifex.")
2629 (license license:gpl2+)))
2631 (define-public system-config-printer
2633 (name "system-config-printer")
2639 "https://github.com/OpenPrinting/system-config-printer/releases/"
2641 "/system-config-printer-" version ".tar.xz"))
2643 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
2644 (build-system glib-or-gtk-build-system)
2646 `(#:imported-modules ((guix build python-build-system)
2647 ,@%glib-or-gtk-build-system-modules)
2649 (modify-phases %standard-phases
2650 (add-after 'unpack 'patch-Makefile.am
2652 ;; The Makefile generates some scripts, so set a valid shebang
2653 (substitute* "Makefile.am"
2654 (("/bin/bash") (which "bash")))
2655 (delete-file "configure")
2657 (add-after 'unpack 'patch-docbook-xml
2658 (lambda* (#:key inputs #:allow-other-keys)
2659 ;; Modify the man XML otherwise xmlto tries to access the network
2660 (substitute* "man/system-config-printer.xml"
2661 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2662 (string-append (assoc-ref inputs "docbook-xml")
2663 "/xml/dtd/docbook/")))
2665 (add-after 'install 'wrap-for-python
2666 (@@ (guix build python-build-system) wrap))
2667 (add-after 'install 'wrap
2668 (lambda* (#:key outputs #:allow-other-keys)
2669 (let ((out (assoc-ref outputs "out"))
2670 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2673 (wrap-program program
2674 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2676 (string-append out "/bin/" name))
2677 '("system-config-printer"
2678 "system-config-printer-applet"
2679 "install-printerdriver"
2680 "scp-dbus-service"))))
2683 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2684 ("gobject-introspection" ,gobject-introspection)
2688 ("python-dbus" ,python-dbus)
2689 ("python-pygobject" ,python-pygobject)
2690 ("python-pycups" ,python-pycups)
2691 ("python-requests" ,python-requests)
2692 ("python-pycairo" ,python-pycairo)
2693 ("libnotify" ,libnotify)
2694 ("packagekit" ,packagekit)))
2696 `(("pkg-config" ,pkg-config)
2697 ("desktop-file-utils" ,desktop-file-utils)
2699 ("autoconf" ,autoconf)
2700 ("automake" ,automake)
2701 ("intltool" ,intltool)
2703 ("docbook-xml" ,docbook-xml-4.1.2)
2704 ("docbook-xsl" ,docbook-xsl)
2705 ("libxml2" ,libxml2)))
2706 (home-page "https://github.com/zdohnal/system-config-printer")
2707 (synopsis "CUPS administration tool")
2709 "system-config-printer is a CUPS administration tool. It's written in
2710 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2712 (license license:gpl2+)))
2714 (define-public hicolor-icon-theme
2716 (name "hicolor-icon-theme")
2721 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
2722 "hicolor-icon-theme-" version ".tar.xz"))
2725 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
2726 (build-system gnu-build-system)
2728 `(#:tests? #f)) ; no check target
2729 (home-page "https://icon-theme.freedesktop.org/releases/")
2731 "Freedesktop icon theme")
2733 "Freedesktop icon theme.")
2734 (license license:gpl2)))
2736 (define-public libnotify
2743 (uri (string-append "mirror://gnome/sources/" name "/"
2744 (version-major+minor version) "/"
2745 name "-" version ".tar.xz"))
2748 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
2749 (build-system gnu-build-system)
2751 `(#:configure-flags '("--disable-static")))
2753 `(;; In Requires of libnotify.pc.
2754 ("gdk-pixbuf" ,gdk-pixbuf)
2758 ("libpng" ,libpng)))
2760 `(("pkg-config" ,pkg-config)
2761 ("glib" ,glib "bin")
2762 ("gobject-introspection" ,gobject-introspection)))
2763 (home-page "https://developer-next.gnome.org/libnotify/")
2765 "GNOME desktop notification library")
2767 "Libnotify is a library that sends desktop notifications to a
2768 notification daemon, as defined in the Desktop Notifications spec. These
2769 notifications can be used to inform the user about an event or display
2770 some form of information without getting in the user's way.")
2771 (license license:lgpl2.1+)))
2773 (define-public libpeas
2780 (uri (string-append "mirror://gnome/sources/" name "/"
2781 (version-major+minor version) "/"
2782 name "-" version ".tar.xz"))
2785 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2786 (build-system meson-build-system)
2789 (modify-phases %standard-phases
2790 (add-before 'check 'start-xserver
2791 (lambda* (#:key inputs #:allow-other-keys)
2792 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2794 (setenv "DISPLAY" disp)
2795 ;; Tests require a running X server.
2796 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2802 ("python-pygobject" ,python-pygobject)))
2804 `(("pkg-config" ,pkg-config)
2805 ("gettext" ,gettext-minimal)
2806 ("glib:bin" ,glib "bin")
2807 ("gobject-introspection" ,gobject-introspection)
2808 ("xorg-server" ,xorg-server-for-tests)))
2810 ;; The .pc file "Requires" gobject-introspection.
2811 `(("gobject-introspection" ,gobject-introspection)))
2812 (home-page "https://wiki.gnome.org/Libpeas")
2813 (synopsis "GObject plugin system")
2815 "Libpeas is a gobject-based plugin engine, targeted at giving every
2816 application the chance to assume its own extensibility. It also has a set of
2817 features including, but not limited to: multiple extension points; on-demand
2818 (lazy) programming language support for C, Python and JS; simplicity of the
2820 (license license:lgpl2.0+)))
2822 (define-public gtkglext
2828 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2829 version "/gtkglext-" version ".tar.gz"))
2831 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2832 (patches (search-patches
2833 "gtkglext-disable-disable-deprecated.patch"))))
2834 (build-system gnu-build-system)
2837 (modify-phases %standard-phases
2838 ;; Fix a collision between a local variable and a definition from
2839 ;; glibc's string.h.
2840 (add-after 'unpack 'fix-collision
2842 (substitute* "gdk/gdkglshapes.c"
2843 ((" index") " triangle_index"))
2845 (inputs `(("gtk+" ,gtk+-2)
2850 (native-inputs `(("pkg-config" ,pkg-config)
2851 ("glib" ,glib "bin")))
2852 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2853 (home-page "https://projects.gnome.org/gtkglext")
2854 (synopsis "OpenGL extension to GTK+")
2855 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2856 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2857 API add-ons to make GTK+ widgets OpenGL-capable.")
2858 (license license:lgpl2.1+)))
2860 (define-public glade3
2866 (uri (string-append "mirror://gnome/sources/" name "/"
2867 (version-major+minor version) "/"
2868 name "-" version ".tar.xz"))
2871 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
2872 (build-system glib-or-gtk-build-system)
2875 (modify-phases %standard-phases
2876 (add-before 'configure 'fix-docbook
2877 (lambda* (#:key inputs #:allow-other-keys)
2878 (substitute* "man/Makefile.in"
2879 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2880 (string-append (assoc-ref inputs "docbook-xsl")
2881 "/xml/xsl/docbook-xsl-"
2882 ,(package-version docbook-xsl)
2883 "/manpages/docbook.xsl")))
2885 (add-before 'check 'pre-check
2887 (setenv "HOME" "/tmp")
2888 ;; Tests require a running X server.
2889 (system "Xvfb :1 &")
2890 (setenv "DISPLAY" ":1")
2894 ("libxml2" ,libxml2)))
2896 `(("hicolor-icon-theme" ,hicolor-icon-theme)
2897 ("intltool" ,intltool)
2898 ("itstool" ,itstool)
2899 ("libxslt" ,libxslt) ;for xsltproc
2900 ("docbook-xml" ,docbook-xml-4.2)
2901 ("docbook-xsl" ,docbook-xsl)
2902 ("python" ,python-2)
2903 ("pkg-config" ,pkg-config)
2904 ("xorg-server" ,xorg-server-for-tests)))
2905 (home-page "https://glade.gnome.org")
2906 (synopsis "GTK+ rapid application development tool")
2907 (description "Glade is a rapid application development (RAD) tool to
2908 enable quick & easy development of user interfaces for the GTK+ toolkit and
2909 the GNOME desktop environment.")
2910 (license license:lgpl2.0+)))
2912 (define-public libcroco
2918 (uri (string-append "mirror://gnome/sources/" name "/"
2919 (version-major+minor version) "/"
2920 name "-" version ".tar.xz"))
2923 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2924 (build-system gnu-build-system)
2926 `(("pkg-config" ,pkg-config)))
2929 ("libxml2" ,libxml2)
2931 (home-page "https://github.com/GNOME/libcroco")
2932 (synopsis "CSS2 parsing and manipulation library")
2934 "Libcroco is a standalone CSS2 parsing and manipulation library.
2935 The parser provides a low level event driven SAC-like API and a CSS object
2936 model like API. Libcroco provides a CSS2 selection engine and an experimental
2937 XML/CSS rendering engine.")
2940 (license license:lgpl2.1)))
2942 (define-public libgsf
2948 (uri (string-append "mirror://gnome/sources/" name "/"
2949 (version-major+minor version) "/"
2950 name "-" version ".tar.xz"))
2953 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2954 (build-system gnu-build-system)
2956 '(#:configure-flags '("--disable-static")))
2958 `(("pkg-config" ,pkg-config)
2959 ("gettext" ,gettext-minimal)
2963 ("perl-xml-parser" ,perl-xml-parser)))
2968 `(("gdk-pixbuf" ,gdk-pixbuf)
2970 ("libxml2" ,libxml2)))
2971 (home-page "https://www.gnome.org/projects/libgsf")
2972 (synopsis "GNOME's Structured File Library")
2974 "Libgsf aims to provide an efficient extensible I/O abstraction for
2975 dealing with different structured file formats.")
2978 (license license:lgpl2.1)))
2980 (define-public librsvg
2986 (uri (string-append "mirror://gnome/sources/" name "/"
2987 (version-major+minor version) "/"
2988 name "-" version ".tar.xz"))
2991 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2992 (build-system gnu-build-system)
2995 (list "--disable-static"
2996 "--enable-vala") ; needed for e.g. gnome-mines
2998 (modify-phases %standard-phases
2999 (add-before 'configure 'pre-configure
3000 (lambda* (#:key inputs #:allow-other-keys)
3001 (substitute* "gdk-pixbuf-loader/Makefile.in"
3002 ;; By default the gdk-pixbuf loader is installed under
3003 ;; gdk-pixbuf's prefix. Work around that.
3004 (("gdk_pixbuf_moduledir = .*$")
3005 (string-append "gdk_pixbuf_moduledir = "
3006 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3008 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3009 (("gdk_pixbuf_cache_file = .*$")
3010 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3012 (add-before 'check 'remove-failing-tests
3014 (with-directory-excursion "tests/fixtures/reftests"
3015 (for-each delete-file
3016 '(;; This test fails on i686:
3017 "svg1.1/masking-path-04-b.svg"
3018 ;; This test fails on armhf:
3019 "svg1.1/masking-mask-01-b.svg"
3020 ;; This test fails on aarch64:
3021 "bugs/777834-empty-text-children.svg")))
3024 `(("pkg-config" ,pkg-config)
3026 ("glib" ,glib "bin") ; glib-mkenums, etc.
3027 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3029 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3030 ;; this ancient version of librsvg.
3031 ("pango" ,pango-1.42)
3032 ("libcroco" ,libcroco)
3035 ("libxml2" ,libxml2)))
3037 ;; librsvg-2.0.pc refers to all of that.
3039 ("gdk-pixbuf" ,gdk-pixbuf)
3041 (home-page "https://wiki.gnome.org/LibRsvg")
3042 (synopsis "Render SVG files using Cairo")
3044 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3046 (license license:lgpl2.0+)))
3048 (define-public librsvg-next
3054 (uri (string-append "mirror://gnome/sources/librsvg/"
3055 (version-major+minor version) "/"
3056 "librsvg-" version ".tar.xz"))
3059 "14i6xzghcidv64cyd3g0wdjbl82rph737yxn9s3x29nzpcjs707l"))
3060 (modules '((guix build utils)))
3062 '(begin (delete-file-recursively "vendor")
3064 (build-system cargo-build-system)
3065 (outputs '("out" "doc"))
3068 ((guix build cargo-build-system)
3070 ((guix build gnu-build-system) #:prefix gnu:))
3072 (("rust-bitflags" ,rust-bitflags-1)
3073 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3074 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3075 ("rust-cast" ,rust-cast-0.2)
3076 ("rust-cssparser" ,rust-cssparser-0.27)
3077 ("rust-data-url" ,rust-data-url-0.1)
3078 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
3079 ("rust-encoding" ,rust-encoding-0.2)
3080 ("rust-float-cmp" ,rust-float-cmp-0.6)
3081 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3082 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3083 ("rust-gio" ,rust-gio-0.8)
3084 ("rust-gio-sys" ,rust-gio-sys-0.9)
3085 ("rust-glib" ,rust-glib-0.9)
3086 ("rust-glib-sys" ,rust-glib-sys-0.9)
3087 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3088 ("rust-itertools" ,rust-itertools-0.8)
3089 ("rust-language-tags" ,rust-language-tags-0.2)
3090 ("rust-libc" ,rust-libc-0.2)
3091 ("rust-locale-config" ,rust-locale-config-0.3)
3092 ("rust-markup5ever" ,rust-markup5ever-0.10)
3093 ("rust-nalgebra" ,rust-nalgebra-0.19)
3094 ("rust-num-traits" ,rust-num-traits-0.2)
3095 ("rust-once-cell" ,rust-once-cell-1.2)
3096 ("rust-pkg-config" ,rust-pkg-config-0.3)
3097 ("rust-pango" ,rust-pango-0.8)
3098 ("rust-pango-sys" ,rust-pango-sys-0.9)
3099 ("rust-pangocairo" ,rust-pangocairo-0.9)
3100 ("rust-rayon" ,rust-rayon-1)
3101 ("rust-rctree" ,rust-rctree-0.3)
3102 ("rust-rgb" ,rust-rgb-0.8)
3103 ("rust-regex" ,rust-regex-1)
3104 ("rust-selectors" ,rust-selectors-0.22)
3105 ("rust-url" ,rust-url-2.1)
3106 ("rust-xml5ever" ,rust-xml5ever-0.16))
3107 #:cargo-development-inputs
3108 (("rust-cairo-rs" ,rust-cairo-rs-0.8)
3109 ("rust-criterion" ,rust-criterion-0.3))
3111 (modify-phases %standard-phases
3112 (add-after 'unpack 'patch-docbook-xml
3113 (lambda* (#:key inputs #:allow-other-keys)
3114 (with-directory-excursion "doc"
3115 (substitute* "rsvg-docs.xml"
3116 (("http://www.oasis-open.org/docbook/xml/4.3/")
3117 (string-append (assoc-ref inputs "docbook-xml")
3118 "/xml/dtd/docbook/"))))
3120 (add-after 'unpack 'prepare-for-build
3122 ;; In lieu of #:make-flags
3123 (setenv "CC" ,(cc-for-target))
3124 ;; Something about the build environment resists building
3125 ;; successfully with the '--locked' flag.
3126 (substitute* '("Makefile.am" "Makefile.in")
3129 (add-before 'configure 'pre-configure
3131 (substitute* "gdk-pixbuf-loader/Makefile.in"
3132 ;; By default the gdk-pixbuf loader is installed under
3133 ;; gdk-pixbuf's prefix. Work around that.
3134 (("gdk_pixbuf_moduledir = .*$")
3135 (string-append "gdk_pixbuf_moduledir = "
3136 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3138 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3139 (("gdk_pixbuf_cache_file = .*$")
3140 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3142 (add-after 'configure 'gnu-configure
3143 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3144 ((assoc-ref gnu:%standard-phases 'configure)
3145 #:native-inputs native-inputs
3149 (list "--disable-static"
3151 (string-append "--with-html-dir="
3152 (assoc-ref %outputs "doc")
3153 "/share/gtk-doc/html")))))
3154 (add-after 'configure 'dont-vendor-self
3155 (lambda* (#:key vendor-dir #:allow-other-keys)
3156 ;; Don't keep the whole tarball in the vendor directory
3157 (delete-file-recursively
3158 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3161 (assoc-ref gnu:%standard-phases 'build))
3164 ((assoc-ref gnu:%standard-phases 'check)
3165 #:test-target "check")))
3167 (assoc-ref gnu:%standard-phases 'install)))))
3169 `(("docbook-xml" ,docbook-xml-4.3)
3170 ("glib" ,glib "bin")
3171 ("gobject-introspection" ,gobject-introspection)
3172 ("pkg-config" ,pkg-config)
3173 ("python" ,python-wrapper)
3178 ("fontconfig" ,fontconfig)
3179 ("freetype" ,freetype)
3180 ("harfbuzz" ,harfbuzz)
3181 ("libcroco" ,libcroco)
3183 ("libxml2" ,libxml2)
3187 ("gdk-pixbuf" ,gdk-pixbuf)
3189 (synopsis "SVG rendering library")
3190 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3191 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3192 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3194 (home-page "https://wiki.gnome.org/LibRsvg")
3195 (license license:lgpl2.1+)))
3197 (define-public libidl
3203 (uri (string-append "mirror://gnome/sources/libIDL/"
3204 (version-major+minor version) "/"
3205 "libIDL-" version ".tar.bz2"))
3208 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3209 (build-system gnu-build-system)
3210 (inputs `(("glib" ,glib)))
3212 `(("pkg-config" ,pkg-config)
3215 (home-page "http://freecode.com/projects/libidl")
3216 (synopsis "Create trees of CORBA Interface Definition Language files")
3217 (description "Libidl is a library for creating trees of CORBA Interface
3218 Definition Language (idl) files, which is a specification for defining
3219 portable interfaces. libidl was initially written for orbit (the orb from the
3220 GNOME project, and the primary means of libidl distribution). However, the
3221 functionality was designed to be as reusable and portable as possible.")
3222 (properties `((upstream-name . "libIDL")))
3223 (license license:lgpl2.0+)))
3226 (define-public orbit2
3232 (uri (let ((upstream-name "ORBit2"))
3233 (string-append "mirror://gnome/sources/" upstream-name "/"
3234 (version-major+minor version) "/"
3235 upstream-name "-" version ".tar.bz2")))
3238 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3239 (build-system gnu-build-system)
3241 `(;; The "timeout-server" test hangs when run in parallel.
3242 #:parallel-tests? #f
3244 '(;; We don't need static libraries, plus they don't build reproducibly
3245 ;; (non-deterministic ordering of .o files in the archive.)
3248 ;; The programmer kindly gives us a hook to turn off deprecation
3250 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3251 ;; ... which they then completly ignore !!
3253 (modify-phases %standard-phases
3254 (add-before 'configure 'ignore-deprecations
3256 (substitute* "linc2/src/Makefile.in"
3257 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3259 (inputs `(("glib" ,glib)
3260 ("libidl" ,libidl)))
3262 `(("pkg-config" ,pkg-config)))
3263 (home-page "https://projects.gnome.org/orbit2/")
3264 (synopsis "CORBA 2.4-compliant Object Request Broker")
3265 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3266 featuring mature C, C++ and Python bindings.")
3267 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3268 ;; a version. SOME of the code files have licence notices for GPLv2+.
3269 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3270 (license license:gpl2+)
3271 (properties `((upstream-name . "ORBit2")))))
3274 (define-public libbonobo
3280 (uri (string-append "mirror://gnome/sources/" name "/"
3281 (version-major+minor version)
3282 "/" name "-" version ".tar.bz2"))
3284 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3285 (patches (search-patches
3286 "libbonobo-activation-test-race.patch"))))
3287 (build-system gnu-build-system)
3289 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3291 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3292 ;; ... which they then completly ignore !!
3294 (modify-phases %standard-phases
3295 (add-before 'configure 'ignore-deprecations
3297 (substitute* "activation-server/Makefile.in"
3298 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3301 ;; There's apparently a race condition between the server stub
3302 ;; generation and linking of the example under 'samples/echo' that can
3303 ;; lead do undefined references when building in parallel, as reported
3304 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3305 ;; Thus, disable parallel builds.
3306 #:parallel-build? #f))
3307 (inputs `(("popt" ,popt)
3308 ("libxml2" ,libxml2)))
3309 ;; The following are Required by the .pc file
3312 ("orbit2" ,orbit2)))
3314 `(("intltool" ,intltool)
3315 ("pkg-config" ,pkg-config)
3316 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3319 (home-page "https://developer.gnome.org/libbonobo/")
3320 (synopsis "Framework for creating reusable components for use in GNOME applications")
3321 (description "Bonobo is a framework for creating reusable components for
3322 use in GNOME applications, built on top of CORBA.")
3323 ;; Licence not explicitly stated. Source files contain no licence notices.
3324 ;; Tarball contains text of both GPLv2 and LGPLv2
3325 ;; GPLv2 covers both conditions
3326 (license license:gpl2+)))
3329 (define-public gconf
3336 (let ((upstream-name "GConf"))
3337 (string-append "mirror://gnome/sources/" upstream-name "/"
3338 (version-major+minor version) "/"
3339 upstream-name "-" version ".tar.xz")))
3341 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3342 (build-system gnu-build-system)
3343 (inputs `(("dbus-glib" ,dbus-glib)
3344 ("libxml2" ,libxml2)))
3345 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3346 ("orbit2" ,orbit2)))
3348 `(("intltool" ,intltool)
3349 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3350 ("pkg-config" ,pkg-config)))
3351 (home-page "https://projects.gnome.org/gconf/")
3352 (synopsis "Store application preferences")
3353 (description "Gconf is a system for storing application preferences. It
3354 is intended for user preferences; not arbitrary data storage.")
3355 (license license:lgpl2.0+)
3356 (properties '((upstream-name . "GConf")))))
3359 (define-public gnome-mime-data
3361 (name "gnome-mime-data")
3365 (uri (string-append "mirror://gnome/sources/" name "/"
3366 (version-major+minor version) "/"
3367 name "-" version ".tar.bz2"))
3370 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3371 (build-system gnu-build-system)
3374 ("intltool" ,intltool)))
3376 '(#:phases (modify-phases %standard-phases
3377 (add-after 'configure 'use-our-intltool
3379 ;; Do not use the bundled intltool commands, which lack
3380 ;; the "dotless @INC" fixes of our 'intltool' package.
3381 (substitute* (find-files "." "^Makefile$")
3382 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3383 (string-append "INTLTOOL_" tool " = intltool-"
3384 (string-downcase tool) "\n")))
3386 (home-page "https://www.gnome.org")
3387 (synopsis "Base MIME and Application database for GNOME")
3388 (description "GNOME Mime Data is a module which contains the base MIME
3389 and Application database for GNOME. The data stored by this module is
3390 designed to be accessed through the MIME functions in GnomeVFS.")
3391 (license license:gpl2+)))
3394 (define-public gnome-vfs
3400 (uri (string-append "mirror://gnome/sources/" name "/"
3401 (version-major+minor version) "/"
3402 name "-" version ".tar.bz2"))
3405 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3406 (build-system gnu-build-system)
3409 (modify-phases %standard-phases
3410 (add-before 'configure 'ignore-deprecations
3412 (substitute* '("libgnomevfs/Makefile.in"
3413 "daemon/Makefile.in")
3414 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3416 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3418 (substitute* "test/test-async-cancel.c"
3419 (("EXIT_FAILURE") "77"))
3421 (inputs `(("libxml2" ,libxml2)
3422 ("dbus-glib" ,dbus-glib)
3424 ("gnome-mime-data" ,gnome-mime-data)
3427 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3428 ("intltool" ,intltool)
3429 ("pkg-config" ,pkg-config)))
3430 (home-page "https://developer.gnome.org/gnome-vfs/")
3431 (synopsis "Access files and folders in GNOME applications")
3433 "GnomeVFS is the core library used to access files and folders in GNOME
3434 applications. It provides a file system abstraction which allows applications
3435 to access local and remote files with a single consistent API.")
3436 (license license:lgpl2.0+)))
3440 (define-public libgnome
3446 (uri (string-append "mirror://gnome/sources/" name "/"
3447 (version-major+minor version) "/"
3448 name "-" version ".tar.bz2"))
3451 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3452 (patches (search-patches "libgnome-encoding.patch"))))
3453 (build-system gnu-build-system)
3456 (modify-phases %standard-phases
3457 (add-before 'configure 'enable-deprecated
3459 (substitute* "libgnome/Makefile.in"
3460 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3462 (inputs `(("libxml2" ,libxml2)))
3464 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3465 ("intltool" ,intltool)
3466 ("pkg-config" ,pkg-config)))
3467 ;; The following are listed as Required in the .pc file
3468 ;; (except for libcanberra -- which seems to be oversight on the part
3469 ;; of the upstream developers -- anything that links against libgnome,
3470 ;; must also link against libcanberra
3472 `(("libcanberra" ,libcanberra)
3473 ("libbonobo" ,libbonobo)
3475 ("gnome-vfs" ,gnome-vfs)
3476 ("popt" ,popt))) ;gnome-program.h includes popt.h
3477 (home-page "https://developer.gnome.org/libgnome/")
3478 (synopsis "Useful routines for building applications")
3479 (description "The libgnome library provides a number of useful routines
3480 for building modern applications, including session management, activation of
3481 files and URIs, and displaying help.")
3482 (license license:lgpl2.0+)))
3485 (define-public libart-lgpl
3487 (name "libart-lgpl")
3491 (uri (let ((upstream-name "libart_lgpl"))
3492 (string-append "mirror://gnome/sources/" upstream-name "/"
3493 (version-major+minor version) "/"
3494 upstream-name "-" version ".tar.bz2")))
3497 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3498 (build-system gnu-build-system)
3500 `(("pkg-config" ,pkg-config)))
3501 (home-page "https://people.gnome.org/~mathieu/libart")
3502 (synopsis "2D drawing library")
3503 (description "Libart is a 2D drawing library intended as a
3504 high-quality vector-based 2D library with antialiasing and alpha composition.")
3505 (license license:lgpl2.0+)))
3509 (define-public libgnomecanvas
3511 (name "libgnomecanvas")
3515 (uri (string-append "mirror://gnome/sources/" name "/"
3516 (version-major+minor version) "/"
3517 name "-" version ".tar.gz"))
3520 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3521 (build-system gnu-build-system)
3522 ;; Mentioned as Required in the .pc file
3523 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3526 `(("intltool" ,intltool)
3527 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3528 ("pkg-config" ,pkg-config)))
3529 (home-page "https://developer.gnome.org/libgnomecanvas/")
3530 (synopsis "Flexible widget for creating interactive structured graphics")
3531 (description "The GnomeCanvas widget provides a flexible widget for
3532 creating interactive structured graphics.")
3533 (license license:lgpl2.0+)))
3535 (define-public libgnomecanvasmm
3537 (name "libgnomecanvasmm")
3541 (uri (string-append "mirror://gnome/sources/" name "/"
3542 (version-major+minor version) "/"
3543 name "-" version ".tar.bz2"))
3546 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3547 (build-system gnu-build-system)
3548 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3550 `(("gtkmm-2" ,gtkmm-2)
3551 ("pkg-config" ,pkg-config)))
3552 (home-page "https://gtkmm.org")
3553 (synopsis "C++ bindings to the GNOME Canvas library")
3554 (description "C++ bindings to the GNOME Canvas library.")
3555 (license license:lgpl2.0+)))
3557 (define-public libgnomeui
3563 (uri (string-append "mirror://gnome/sources/" name "/"
3564 (version-major+minor version) "/"
3565 name "-" version ".tar.bz2"))
3566 (patches (search-patches "libgnomeui-utf8.patch"))
3569 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3570 (build-system gnu-build-system)
3571 ;; Mentioned as Required in the .pc file
3572 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3573 ("libgnome" ,libgnome)
3574 ("libgnomecanvas" ,libgnomecanvas)
3575 ("libgnome-keyring" ,libgnome-keyring)))
3576 (inputs `(("libjpeg" ,libjpeg-turbo)
3578 ("libbonobo" ,libbonobo)
3579 ("libxml2" ,libxml2)
3580 ("libglade" ,libglade)))
3582 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3583 ("intltool" ,intltool)
3584 ("pkg-config" ,pkg-config)))
3585 (home-page "https://developer.gnome.org/libgnomeui/")
3586 (synopsis "Additional widgets for applications")
3587 (description "The libgnomeui library provides additional widgets for
3588 applications. Many of the widgets from libgnomeui have already been
3590 (license license:lgpl2.0+)))
3592 (define-public libglade
3598 (uri (string-append "mirror://gnome/sources/" name "/"
3599 (version-major+minor version) "/"
3600 name "-" version ".tar.bz2"))
3603 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3604 (build-system gnu-build-system)
3606 `(("python" ,python))) ;; needed for the optional libglade-convert program
3608 `(("gtk+-2" ,gtk+-2)
3609 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3611 `(("pkg-config" ,pkg-config)))
3612 (home-page "https://developer.gnome.org/libglade")
3613 (synopsis "Load glade interfaces and access the glade built widgets")
3614 (description "Libglade is a library that provides interfaces for loading
3615 graphical interfaces described in glade files and for accessing the
3616 widgets built in the loading process.")
3617 (license license:gpl2+))) ; This is correct. GPL not LGPL
3619 (define-public libgnomeprint
3620 ;; This library has been deprecated since 2006; see
3621 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3623 (name "libgnomeprint")
3627 (uri (string-append "mirror://gnome/sources/" name "/"
3628 (version-major+minor version) "/"
3629 name "-" version ".tar.bz2"))
3632 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3633 (build-system gnu-build-system)
3636 ("libart-lgpl" ,libart-lgpl)
3638 ("libxml2" ,libxml2)))
3640 `(("intltool" ,intltool)
3641 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3642 ("pkg-config" ,pkg-config)))
3643 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3644 (synopsis "Printing framework for GNOME")
3646 "GNOME-print was a printing framework for GNOME. It has been deprecated
3647 since ca. 2006, when GTK+ itself incorporated printing support.")
3648 (license license:lgpl2.0+)))
3651 (define-public libgnomeprintui
3652 ;; Deprecated; see libgnomeprint.
3654 (name "libgnomeprintui")
3658 (uri (string-append "mirror://gnome/sources/" name "/"
3659 (version-major+minor version) "/"
3660 name "-" version ".tar.bz2"))
3663 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
3664 (build-system gnu-build-system)
3665 ;; Mentioned as Required in the .pc file
3666 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
3667 (inputs `(("gtk+" ,gtk+-2)
3669 ("gnome-icon-theme" ,gnome-icon-theme)
3670 ("libgnomecanvas" ,libgnomecanvas)
3671 ("libxml2" ,libxml2)))
3673 `(("intltool" ,intltool)
3674 ("pkg-config" ,pkg-config)))
3675 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3676 (synopsis "Printing framework for GNOME")
3677 (description (package-description libgnomeprint))
3678 (license license:lgpl2.0+)))
3680 (define-public libbonoboui
3682 (name "libbonoboui")
3686 (uri (string-append "mirror://gnome/sources/" name "/"
3687 (version-major+minor version) "/"
3688 name "-" version ".tar.bz2"))
3691 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
3692 (build-system gnu-build-system)
3695 (modify-phases %standard-phases
3696 (add-before 'check 'start-xserver
3697 (lambda* (#:key inputs #:allow-other-keys)
3698 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3701 (setenv "HOME" (getcwd))
3702 (setenv "DISPLAY" disp)
3703 ;; There must be a running X server and make check doesn't start one.
3704 ;; Therefore we must do it.
3705 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
3706 ;; Mentioned as Required by the .pc file
3707 (propagated-inputs `(("libxml2" ,libxml2)))
3710 ("pangox-compat" ,pangox-compat)
3711 ("libgnome" ,libgnome)
3712 ("libgnomecanvas" ,libgnomecanvas)
3713 ("libglade" ,libglade)))
3715 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
3716 ("intltool" ,intltool)
3717 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
3718 ("pkg-config" ,pkg-config)))
3719 (home-page "https://developer.gnome.org/libbonoboui/")
3720 (synopsis "Some user interface controls using Bonobo")
3721 (description "The Bonobo UI library provides a number of user interface
3722 controls using the Bonobo component framework.")
3723 (license license:lgpl2.0+)))
3725 (define-public libwnck
3731 (uri (string-append "mirror://gnome/sources/" name "/"
3732 (version-major+minor version) "/"
3733 name "-" version ".tar.xz"))
3736 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
3737 (build-system meson-build-system)
3739 `(("pkg-config" ,pkg-config)
3740 ("glib" ,glib "bin") ; for glib-mkenums
3741 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
3742 ("intltool" ,intltool)))
3745 ("libxres" ,libxres)
3746 ("startup-notification" ,startup-notification)))
3747 (home-page "https://developer.gnome.org/libwnck/")
3748 (synopsis "Window Navigator Construction Kit")
3750 "Libwnck is the Window Navigator Construction Kit, a library for use in
3751 writing pagers, tasklists, and more generally applications that are dealing
3752 with window management. It tries hard to respect the Extended Window Manager
3753 Hints specification (EWMH).")
3754 (license license:lgpl2.0+)))
3756 ;; stable version for gtk2, required by xfwm4.
3757 (define-public libwnck-2
3758 (package (inherit libwnck)
3763 (uri (string-append "mirror://gnome/sources/" name "/"
3764 (version-major+minor version) "/"
3765 name "-" version ".tar.xz"))
3768 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
3769 (build-system gnu-build-system)
3771 `(("pkg-config" ,pkg-config)
3772 ("intltool" ,intltool)))
3775 ("libxres" ,libxres)
3776 ("startup-notification" ,startup-notification)))))
3778 (define-public goffice
3784 (uri (string-append "mirror://gnome/sources/goffice/"
3785 (version-major+minor version) "/"
3786 "goffice-" version ".tar.xz"))
3788 (base32 "0xmigfdzvmlpa0fw79mf3xwchmxc8rlidryn5syv8bz7msmrb215"))))
3789 (build-system gnu-build-system)
3791 "doc")) ; 4.0 MiB of gtk-doc
3793 '(#:configure-flags (list (string-append "--with-html-dir="
3794 (assoc-ref %outputs "doc")
3795 "/share/gtk-doc/html"))))
3799 ("librsvg" ,librsvg)
3800 ("libxslt" ,libxslt)
3801 ("libxml2" ,libxml2)))
3803 `(("intltool" ,intltool)
3804 ("glib" ,glib "bin")
3805 ("pkg-config" ,pkg-config)))
3806 (home-page "https://developer.gnome.org/goffice/")
3807 (synopsis "Document-centric objects and utilities")
3808 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3810 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3812 (list license:gpl2 license:gpl3))))
3814 (define-public goffice-0.8
3815 (package (inherit goffice)
3819 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3820 (version-major+minor version) "/"
3821 (package-name goffice) "-" version ".tar.xz"))
3823 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3826 (modify-phases %standard-phases
3827 (add-after 'unpack 'fix-pcre-check
3829 ;; Only glib.h can be included directly. See
3830 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3831 (substitute* "configure"
3832 (("glib/gregex\\.h") "glib.h")) #t)))
3834 ,@(package-arguments goffice)))
3836 ;; libgoffice-0.8.pc mentions libgsf-1
3837 `(("libgsf" ,libgsf)))
3840 ,@(alist-delete "gtk" (package-inputs goffice))))))
3842 (define-public gnumeric
3848 (uri (string-append "mirror://gnome/sources/gnumeric/"
3849 (version-major+minor version) "/"
3850 "gnumeric-" version ".tar.xz"))
3853 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3854 (build-system glib-or-gtk-build-system)
3856 `(;; The gnumeric developers don't worry much about failing tests.
3857 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3860 (modify-phases %standard-phases
3862 'configure 'pre-conf
3863 (lambda* (#:key outputs #:allow-other-keys)
3864 ;; Make install tries to write into the directory of goffice
3865 ;; I am informed that this only affects the possibility to embed a
3866 ;; spreadsheet inside an Abiword document. So presumably when we
3867 ;; package Abiword we'll have to refer it to this directory.
3868 (substitute* "configure"
3869 (("^GOFFICE_PLUGINS_DIR=.*")
3870 (string-append "GOFFICE_PLUGINS_DIR="
3871 (assoc-ref outputs "out")
3872 "/goffice/plugins"))))))))
3876 ("goffice" ,goffice)
3878 ("librsvg" ,librsvg)
3879 ("libxml2" ,libxml2)
3880 ("libxslt" ,libxslt)
3881 ("python" ,python-2)
3882 ("python2-pygobject" ,python2-pygobject)
3886 ("docbook-xml" ,docbook-xml)
3887 ("intltool" ,intltool)
3888 ("itstool" ,itstool)
3889 ("glib:bin" ,glib "bin")
3890 ("pkg-config" ,pkg-config)))
3891 (home-page "http://www.gnumeric.org")
3892 (synopsis "Spreadsheet application")
3894 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3895 interoperable with other spreadsheet applications. It has a vast array of
3896 features beyond typical spreadsheet functionality, such as support for linear
3897 and non-linear solvers, statistical analysis, and telecommunication
3900 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3901 (list license:gpl2 license:gpl3))))
3903 (define-public gnome-themes-standard
3905 (name "gnome-themes-standard")
3910 (uri (string-append "mirror://gnome/sources/" name "/"
3911 (version-major+minor version) "/" name "-"
3915 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3916 (build-system gnu-build-system)
3919 ;; Don't create 'icon-theme.cache'.
3920 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3921 (true (string-append coreutils "/bin/true")))
3922 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3926 ("librsvg" ,librsvg)
3927 ("libxml2" ,libxml2)
3930 `(("intltool" ,intltool)
3931 ("glib:bin" ,glib "bin")
3932 ("pkg-config" ,pkg-config)))
3933 (home-page "https://launchpad.net/gnome-themes-standard")
3934 (synopsis "Default GNOME 3 themes")
3936 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3937 (license license:lgpl2.1+)))
3939 (define-public seahorse
3946 (uri (string-append "mirror://gnome/sources/" name "/"
3947 (version-major+minor version) "/" name "-"
3951 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3952 (build-system meson-build-system)
3956 (modify-phases %standard-phases
3957 (add-after 'unpack 'skip-gtk-update-icon-cache
3958 ;; Don't create 'icon-theme.cache'.
3960 (substitute* "build-aux/meson_post_install.py"
3961 (("gtk-update-icon-cache") "true"))
3968 ("openldap" ,openldap)
3969 ("openssh" ,openssh)
3971 ("libpwquality" ,libpwquality)
3972 ("libsecret" ,libsecret)
3973 ("libsoup" ,libsoup)))
3975 `(("gettext" ,gettext-minimal)
3976 ("glib:bin" ,glib "bin")
3977 ("itstool" ,itstool)
3978 ("pkg-config" ,pkg-config)
3980 ("xmllint" ,libxml2)))
3981 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3982 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3984 "Seahorse is a GNOME application for managing encryption keys and
3985 passwords in the GNOME keyring.")
3986 (license license:gpl2+)))
3994 (uri (string-append "mirror://gnome/sources/" name "/"
3995 (version-major+minor version) "/"
3996 name "-" version ".tar.xz"))
3999 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4000 (build-system gnu-build-system)
4003 (modify-phases %standard-phases
4004 (add-before 'check 'pre-check
4007 (substitute* "valadoc/tests/testrunner.sh"
4008 (("export PKG_CONFIG_PATH=" m)
4009 (string-append m "$PKG_CONFIG_PATH:")))
4010 ;; For missing '/etc/machine-id'.
4011 (setenv "DBUS_FATAL_WARNINGS" "0")
4014 `(("pkg-config" ,pkg-config)
4017 ("xsltproc" ,libxslt)
4018 ("dbus" ,dbus) ; for dbus tests
4019 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4021 `(("graphviz" ,graphviz)))
4023 `(("glib" ,glib))) ; required by libvala-0.40.pc
4024 (home-page "https://live.gnome.org/Vala/")
4025 (synopsis "Compiler for the GObject type system")
4027 "Vala is a programming language that aims to bring modern programming
4028 language features to GNOME developers without imposing any additional runtime
4029 requirements and without using a different ABI compared to applications and
4030 libraries written in C.")
4031 (license license:lgpl2.1+)))
4033 (define-public vala-0.48
4039 (uri (string-append "mirror://gnome/sources/vala/"
4040 (version-major+minor version) "/"
4041 "vala-" version ".tar.xz"))
4044 "0lswkb7gj0chas9n3l3dbrm9l71hs77adhvm2v600id2ipi37pi8"))))))
4052 (uri (string-append "mirror://gnome/sources/vte/"
4053 (version-major+minor version) "/"
4054 "vte-" version ".tar.xz"))
4057 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4058 (build-system meson-build-system)
4062 "-D_systemd=false")))
4064 `(("pkg-config" ,pkg-config)
4065 ("gettext" ,gettext-minimal)
4067 ("gobject-introspection" ,gobject-introspection)
4068 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4070 ("xmllint" ,libxml2)))
4072 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4073 ("gnutls" ,gnutls) ; ditto
4074 ("pcre2" ,pcre2))) ; ditto
4075 (home-page "https://www.gnome.org/")
4076 (synopsis "Virtual Terminal Emulator")
4078 "VTE is a library (libvte) implementing a terminal emulator widget for
4079 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4080 gnome-terminal, but can also be used to embed a console/terminal in games,
4081 editors, IDEs, etc.")
4082 (license license:lgpl2.1+)))
4084 (define-public vte-ng
4088 (version "0.58.2.a")
4089 (home-page "https://github.com/thestinger/vte-ng")
4092 (uri (git-reference (url home-page) (commit version)))
4093 (file-name (git-file-name name version))
4096 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4097 (build-system meson-build-system)
4099 `(("gtk-doc" ,gtk-doc)
4100 ,@(package-native-inputs vte)))
4102 `(#:configure-flags '("-Ddocs=true")))
4103 (synopsis "Enhanced VTE terminal widget")
4105 "VTE is a library (libvte) implementing a terminal emulator widget for
4106 GTK+, this fork provides additional functions exposed for keyboard text
4107 selection and URL hints.")))
4109 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4110 (define-public vte/gtk+-2
4111 (package (inherit vte)
4116 (uri (string-append "mirror://gnome/sources/" name "/"
4117 (version-major+minor version) "/"
4118 name "-" version ".tar.xz"))
4121 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4122 (patches (search-patches
4123 "vte-CVE-2012-2738-pt1.patch"
4124 "vte-CVE-2012-2738-pt2.patch"))))
4125 (build-system gnu-build-system)
4127 '(#:configure-flags '("--disable-python")))
4129 `(("pkg-config" ,pkg-config)
4130 ("intltool" ,intltool)
4131 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4133 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4134 ("ncurses" ,ncurses))))) ; required by libvte.la
4136 (define-public vinagre
4142 (uri (string-append "mirror://gnome/sources/" name "/"
4143 (version-major+minor version) "/"
4144 name "-" version ".tar.xz"))
4145 (patches (search-patches "vinagre-newer-freerdp.patch"
4146 "vinagre-newer-rdp-parameters.patch"))
4149 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4150 (build-system glib-or-gtk-build-system)
4152 ;; Disable -Werror and such, to avoid build failures on compilation
4154 '(#:configure-flags '("--enable-compile-warnings=minimum")
4156 (modify-phases %standard-phases
4157 (add-before 'install 'skip-gtk-update-icon-cache
4159 ;; Don't create 'icon-theme.cache'
4160 (substitute* (find-files "." "^Makefile$")
4161 (("gtk-update-icon-cache") (which "true")))
4163 (add-after 'unpack 'patch-configure
4165 (substitute* "configure"
4166 (("freerdp") "freerdp2"))
4169 `(("pkg-config" ,pkg-config)
4170 ("intltool" ,intltool)
4171 ("itstool" ,itstool)
4172 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4174 `(("libxml2" ,libxml2)
4175 ("gtk-vnc" ,gtk-vnc)
4176 ("gnome-keyring" ,gnome-keyring)
4177 ("libsecret" ,libsecret)
4178 ("freerdp" ,freerdp)
4180 ("spice-gtk" ,spice-gtk)
4181 ("telepathy-glib" ,telepathy-glib)
4183 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4184 (synopsis "Remote desktop viewer for GNOME")
4185 (description "Vinagre is a remote display client supporting the VNC, SPICE
4186 and RDP protocols.")
4187 (license license:gpl3+)))
4189 (define-public dconf
4196 "mirror://gnome/sources/" name "/"
4197 (version-major+minor version) "/"
4198 name "-" version ".tar.xz"))
4199 (patches (search-patches "dconf-meson-0.52.patch"))
4202 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
4203 (build-system meson-build-system)
4205 ;; In Requires of dconf.pc.
4211 `(("bash-completion" ,bash-completion)
4212 ("libxslt" ,libxslt) ;for xsltproc
4213 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4214 ("docbook-xml" ,docbook-xml-4.2)
4215 ("docbook-xsl" ,docbook-xsl)
4216 ("glib:bin" ,glib "bin")
4217 ("gtk-doc" ,gtk-doc)
4218 ("pkg-config" ,pkg-config)
4221 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
4222 ; or /etc/machine-id.
4224 #:configure-flags '("-Denable-gtk-doc=true")))
4225 (home-page "https://developer.gnome.org/dconf/")
4226 (synopsis "Low-level GNOME configuration system")
4227 (description "Dconf is a low-level configuration system. Its main purpose
4228 is to provide a backend to GSettings on platforms that don't already have
4229 configuration storage systems.")
4230 (license license:lgpl2.1+)))
4232 (define-public json-glib
4238 (uri (string-append "mirror://gnome/sources/" name "/"
4239 (version-major+minor version) "/"
4240 name "-" version ".tar.xz"))
4243 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4244 (build-system meson-build-system)
4246 `(("gettext" ,gettext-minimal)
4247 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4248 ("gobject-introspection" ,gobject-introspection)
4249 ("pkg-config" ,pkg-config)))
4251 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4252 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4253 (synopsis "Compiler for the GObject type system")
4255 "JSON-GLib is a C library based on GLib providing serialization and
4256 deserialization support for the JavaScript Object Notation (JSON) format
4257 described by RFC 4627. It provides parser and generator GObject classes and
4258 various wrappers for the complex data types employed by JSON, such as arrays
4260 (license license:lgpl2.1+)))
4262 (define-public libxklavier
4264 (name "libxklavier")
4267 ;; Note: There's no tarball at ftp.gnome.org for this version.
4270 (url "https://anongit.freedesktop.org/git/libxklavier")
4271 (commit (string-append "libxklavier-" version))))
4274 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4275 (file-name (git-file-name name version))))
4276 (build-system gnu-build-system)
4279 (list (string-append "--with-xkb-base="
4280 (assoc-ref %build-inputs "xkeyboard-config")
4282 "--disable-xmodmap-support")))
4284 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4285 ("gobject-introspection" ,gobject-introspection)
4286 ("pkg-config" ,pkg-config)
4287 ("gtk-doc" ,gtk-doc)
4288 ("intltool" ,intltool)
4290 ("autoconf" ,autoconf)
4291 ("automake" ,automake)
4292 ("libtool" ,libtool)))
4294 ;; Required by libxklavier.pc.
4296 ("libxml2" ,libxml2)))
4298 `(("iso-codes" ,iso-codes)
4300 ("libxkbfile" ,libxkbfile)
4301 ("xkbcomp" ,xkbcomp)
4302 ("xkeyboard-config" ,xkeyboard-config)))
4303 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4304 (synopsis "High-level API for X Keyboard Extension")
4306 "LibXklavier is a library providing high-level API for X Keyboard
4307 Extension known as XKB. This library is intended to support XFree86 and other
4308 commercial X servers. It is useful for creating XKB-related software (layout
4310 (license license:lgpl2.0+)))
4312 (define-public python2-rsvg
4313 ;; XXX: This is actually a subset of gnome-python-desktop.
4315 (name "python2-rsvg")
4321 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4322 version ".tar.bz2"))
4325 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4326 (build-system gnu-build-system)
4328 `(("pkg-config" ,pkg-config)))
4330 `(("python" ,python-2)
4331 ("python2-pygtk" ,python2-pygtk)
4332 ("librsvg" ,librsvg)))
4333 (home-page "https://www.gnome.org")
4334 (synopsis "Python bindings to librsvg")
4336 "This package provides Python bindings to librsvg, the SVG rendering
4339 ;; This is the license of the rsvg bindings. The license of each module
4340 ;; of gnome-python-desktop is given in 'COPYING'.
4341 (license license:lgpl2.1+)))
4343 (define-public glib-networking
4345 (name "glib-networking")
4349 (uri (string-append "mirror://gnome/sources/glib-networking/"
4350 (version-major+minor version) "/"
4351 "glib-networking-" version ".tar.xz"))
4354 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4355 (build-system meson-build-system)
4357 `(#:configure-flags '("-Dlibproxy_support=false")))
4359 `(("pkg-config" ,pkg-config)
4360 ("intltool" ,intltool)))
4364 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4365 (home-page "https://www.gnome.org")
4366 (synopsis "Network-related GIO modules")
4368 "This package contains various network related extensions for the GIO
4370 (license license:lgpl2.0+)))
4378 (uri (string-append "mirror://gnome/sources/rest/"
4379 (version-major+minor version) "/"
4380 name "-" version ".tar.xz"))
4383 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4384 (build-system gnu-build-system)
4386 '(#:tests? #f ; tests require internet connection
4388 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4390 `(("glib-mkenums" ,glib "bin")
4391 ("gobject-introspection" ,gobject-introspection)
4392 ("pkg-config" ,pkg-config)))
4394 ;; rest-0.7.pc refers to all these.
4396 ("libsoup" ,libsoup)
4397 ("libxml2" ,libxml2)))
4398 (home-page "https://www.gtk.org/")
4399 (synopsis "RESTful web api query library")
4401 "This library was designed to make it easier to access web services that
4402 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4403 libxml to ease remote use of the RESTful API.")
4404 (license license:lgpl2.1+)))
4406 (define-public libsoup
4412 (uri (string-append "mirror://gnome/sources/libsoup/"
4413 (version-major+minor version) "/"
4414 "libsoup-" version ".tar.xz"))
4417 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
4418 (build-system meson-build-system)
4419 (outputs '("out" "doc"))
4421 `(#:modules ((guix build utils)
4422 (guix build meson-build-system)
4425 #:configure-flags '("-Dgtk_doc=true")
4427 (modify-phases %standard-phases
4428 (add-after 'unpack 'adjust-tests
4430 ;; This test fails due to missing /etc/nsswitch.conf
4431 ;; in the build environment.
4432 (substitute* "tests/socket-test.c"
4433 ((".*/sockets/unconnected.*") ""))
4435 ;; These fail because "subdomain.localhost" does not resolve in
4436 ;; the build environment.
4437 (substitute* "tests/hsts-test.c"
4438 ((".*/hsts/basic.*") "")
4439 ((".*/hsts/subdomains.*") "")
4440 ((".*/hsts/superdomain.*") "")
4441 ((".*/hsts/utf8-address.*") ""))
4442 (substitute* "tests/hsts-db-test.c"
4443 ((".*/hsts-db/subdomains.*") ""))
4445 ;; Generate a self-signed certificate that has "localhost" as its
4446 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4447 ;; 3.5.12, tests such as "ssl-tests" fail:
4449 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4451 ;; 'certtool' is interactive so we have to pipe it the answers.
4452 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4453 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4454 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4455 (for-each (lambda (line)
4460 "Guix" ;Organizational unit name
4461 "GNU" ;Organization name
4463 "" ;State or province
4465 "" ;subject's domain component (DC)
4468 "-1" ;expiration time
4469 "N" ;belong to authority?
4470 "N" ;web client certificate?
4472 "Y" ;web server certificate?
4473 "localhost" ;dnsName of subject
4474 "" ;dnsName of subject (end)
4476 "127.0.0.1" ;IP address of subject
4478 "" ;encryption (RSA)?
4479 "" ;data encryption?
4480 "" ;sign OCSP requests?
4483 "" ;email protection?
4484 "" ;URI of the CRL distribution point
4489 (add-after 'install 'move-doc
4490 (lambda* (#:key outputs #:allow-other-keys)
4491 (let ((out (assoc-ref outputs "out"))
4492 (doc (assoc-ref outputs "doc")))
4493 (mkdir-p (string-append doc "/share"))
4494 (copy-recursively (string-append out "/share/gtk-doc")
4495 (string-append doc "/share/gtk-doc"))
4496 (delete-file-recursively (string-append out "/share/gtk-doc"))
4499 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4500 ("gobject-introspection" ,gobject-introspection)
4501 ("gtk-doc" ,gtk-doc)
4502 ("intltool" ,intltool)
4503 ("pkg-config" ,pkg-config)
4504 ("python" ,python-wrapper)
4508 ("gnutls" ,gnutls) ;for 'certtool'
4511 ;; libsoup-2.4.pc refers to all these.
4512 `(("brotli" ,google-brotli)
4515 ("libxml2" ,libxml2)
4519 `(("glib-networking" ,glib-networking)
4520 ("mit-krb5" ,mit-krb5)))
4521 (home-page "https://live.gnome.org/LibSoup/")
4522 (synopsis "GLib-based HTTP Library")
4524 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4525 and the GLib main loop, to integrate well with GNOME applications.")
4526 (license license:lgpl2.0+)))
4529 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4530 (define-public libsoup-minimal
4533 (name "libsoup-minimal")
4534 (outputs (delete "doc" (package-outputs libsoup)))
4536 (substitute-keyword-arguments (package-arguments libsoup)
4537 ((#:configure-flags configure-flags)
4538 `(delete "-Dgtk_doc=true" ,configure-flags))
4540 `(modify-phases ,phases
4541 (delete 'move-doc)))))
4542 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4544 (define-public libsecret
4551 "mirror://gnome/sources/libsecret/"
4552 (version-major+minor version) "/"
4553 "libsecret-" version ".tar.xz"))
4556 "1r4habxdzmn02id324m0m4mg5isf22q1z436bg3vjjmcz1b3rjsg"))))
4557 (build-system gnu-build-system)
4558 (outputs '("out" "doc"))
4560 `(#:tests? #f ; FIXME: Testing hangs.
4562 (list (string-append "--with-html-dir="
4563 (assoc-ref %outputs "doc")
4564 "/share/gtk-doc/html"))))
4566 `(("gettext" ,gettext-minimal)
4567 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4568 ("gobject-introspection" ,gobject-introspection)
4569 ("pkg-config" ,pkg-config)
4571 ("xsltproc" ,libxslt)))
4572 ;; These are needed for the tests.
4573 ;; FIXME: Add gjs once available.
4575 ;("python2" ,python-2)
4576 ;("python2-dbus" ,python2-dbus)
4577 ;("python2-pygobject" ,python2-pygobject)
4578 ;("python2-pygobject-2" ,python2-pygobject-2)))
4580 `(("glib" ,glib))) ; required by libsecret-1.pc
4582 `(("docbook-xsl" ,docbook-xsl)
4583 ("libgcrypt" ,libgcrypt)
4584 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4585 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4586 (synopsis "GObject bindings for \"Secret Service\" API")
4588 "Libsecret is a GObject based library for storing and retrieving passwords
4589 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4590 (license license:lgpl2.1+)))
4592 (define-public five-or-more
4594 (name "five-or-more")
4599 (uri (string-append "mirror://gnome/sources/five-or-more/"
4600 (version-major+minor version) "/"
4601 "five-or-more-" version ".tar.xz"))
4603 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4604 (build-system meson-build-system)
4608 (modify-phases %standard-phases
4609 (add-after 'unpack 'skip-gtk-update-icon-cache
4611 (substitute* "meson_post_install.py"
4612 (("gtk-update-icon-cache") (which "true")))
4615 `(("pkg-config" ,pkg-config)
4616 ("appstream-glib" ,appstream-glib)
4617 ("desktop-file-utils" ,desktop-file-utils)
4618 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4619 ("intltool" ,intltool)
4620 ("itstool" ,itstool)
4622 ("xmllint" ,libxml2)))
4625 ("libgnome-games-support" ,libgnome-games-support)
4626 ("librsvg" ,librsvg)))
4627 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4628 (synopsis "Logic puzzle game")
4629 (description "Five or More is a game where you try to align
4630 five or more objects of the same color and shape causing them to disappear.
4631 On every turn more objects will appear, until the board is full.
4632 Try to last as long as possible.")
4633 (license license:gpl2+)))
4635 (define-public gnome-mines
4637 (name "gnome-mines")
4642 (uri (string-append "mirror://gnome/sources/" name "/"
4643 (version-major+minor version) "/"
4644 name "-" version ".tar.xz"))
4647 "1spxa6qr1y8s5rrsvpciywpvhk812ngn95s1apaxaigwy2g1iw54"))))
4648 (build-system meson-build-system)
4652 (modify-phases %standard-phases
4653 (add-after 'unpack 'skip-gtk-update-icon-cache
4655 (substitute* "build-aux/meson_post_install.py"
4656 (("gtk-update-icon-cache") (which "true")))
4659 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4660 ("pkg-config" ,pkg-config)
4661 ("desktop-file-utils" ,desktop-file-utils)
4662 ("intltool" ,intltool)
4663 ("itstool" ,itstool)
4666 ("appstream-glib" ,appstream-glib)))
4669 ("libgnome-games-support" ,libgnome-games-support)
4670 ("librsvg" ,librsvg)))
4671 (home-page "https://wiki.gnome.org/Apps/Mines")
4672 (synopsis "Minesweeper game")
4674 "Mines (previously gnomine) is a puzzle game where you locate mines
4675 floating in an ocean using only your brain and a little bit of luck.")
4676 (license license:gpl2+)))
4678 (define-public gnome-multi-writer
4680 (name "gnome-multi-writer")
4685 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
4686 (version-major+minor version) "/"
4687 "gnome-multi-writer-" version ".tar.xz"))
4690 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
4691 (build-system meson-build-system)
4695 (modify-phases %standard-phases
4696 (add-after 'unpack 'skip-post-install
4698 (substitute* "meson.build"
4699 (("meson.add_install_script" &) (string-append "# " &)))
4702 `(("glib:bin" ,glib "bin")
4703 ("pkg-config" ,pkg-config)))
4706 ("glib" ,glib) ; for gio
4709 ("libgudev" ,libgudev)
4710 ("libcanberra" ,libcanberra)
4711 ("polkit" ,polkit)))
4712 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
4713 (synopsis "Write to multiple USB devices at once")
4715 "MultiWriter can be used to write an ISO file to multiple USB devices at
4717 (license license:gpl2+)))
4719 (define-public gnome-sudoku
4721 (name "gnome-sudoku")
4726 (uri (string-append "mirror://gnome/sources/" name "/"
4727 (version-major+minor version) "/"
4728 name "-" version ".tar.xz"))
4731 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
4732 (build-system meson-build-system)
4736 (modify-phases %standard-phases
4737 (add-after 'unpack 'skip-gtk-update-icon-cache
4739 (substitute* "build-aux/post_install.py"
4740 (("gtk-update-icon-cache") (which "true")))
4743 `(("pkg-config" ,pkg-config)
4744 ("desktop-file-utils" ,desktop-file-utils)
4745 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4746 ("intltool" ,intltool)
4747 ("itstool" ,itstool)
4749 ("xmllint" ,libxml2)))
4752 ("json-glib" ,json-glib)
4754 ("librsvg" ,librsvg)
4755 ("qqwing" ,qqwing)))
4756 (home-page "https://wiki.gnome.org/Apps/Sudoku")
4757 (synopsis "Japanese logic game")
4759 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
4760 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
4761 possible while still providing features that make playing difficult Sudoku
4763 (license license:gpl2+)))
4765 (define-public gnome-terminal
4767 (name "gnome-terminal")
4772 (uri (string-append "mirror://gnome/sources/" name "/"
4773 (version-major+minor version) "/"
4774 name "-" version ".tar.xz"))
4777 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
4778 (build-system glib-or-gtk-build-system)
4781 (list "--disable-migration" "--disable-search-provider"
4782 "--without-nautilus-extension")
4784 (modify-phases %standard-phases
4785 (add-before 'configure 'patch-/bin/true
4787 (substitute* "configure"
4788 (("/bin/true") (which "true"))))))))
4790 `(("pkg-config" ,pkg-config)
4791 ("desktop-file-utils" ,desktop-file-utils)
4792 ("intltool" ,intltool)
4793 ("itstool" ,itstool)
4794 ("xmllint" ,libxml2)))
4796 `(("dconf" ,dconf)))
4801 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4802 ("util-linux" ,util-linux "lib")
4804 (home-page "https://wiki.gnome.org/Apps/Terminal")
4805 (synopsis "Terminal emulator")
4807 "GNOME Terminal is a terminal emulator application for accessing a
4808 UNIX shell environment which can be used to run programs available on
4811 It supports several profiles, multiple tabs and implements several
4812 keyboard shortcuts.")
4813 (license license:gpl3+)))
4815 (define-public colord
4822 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
4823 "colord-" version ".tar.xz"))
4825 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
4826 (build-system meson-build-system)
4828 '(;; FIXME: One test fails:
4829 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
4830 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
4831 ;; application/x-zerosize
4834 #:configure-flags (list "-Dlocalstatedir=/var"
4835 ;; No dep on systemd.
4837 ;; Wants to install to global completion dir;
4839 "-Dbash_completion=false"
4840 "-Ddaemon_user=colord"
4843 ;; Requires spotread.
4844 "-Dargyllcms_sensor=false"
4845 ;; TODO: Requires docbook2x.
4848 (modify-phases %standard-phases
4849 (add-before 'configure 'patch-build-system
4850 (lambda* (#:key outputs #:allow-other-keys)
4851 (substitute* "rules/meson.build"
4852 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4853 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
4855 (add-before 'configure 'set-sqlite3-file-name
4856 (lambda* (#:key inputs #:allow-other-keys)
4857 ;; "colormgr dump" works by invoking the "sqlite3" command.
4858 ;; Record its absolute file name.
4859 (let ((sqlite (assoc-ref inputs "sqlite")))
4860 (substitute* "client/cd-util.c"
4862 (string-append "\"" sqlite "/bin/sqlite3\"")))
4865 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4866 ("gettext" ,gettext-minimal)
4867 ("gobject-introspection" ,gobject-introspection)
4868 ("gtk-doc" ,gtk-doc)
4869 ("pkg-config" ,pkg-config)
4872 ;; colord.pc refers to all these.
4877 `(("dbus-glib" ,dbus-glib)
4879 ("libgudev" ,libgudev)
4882 ("python" ,python-wrapper)
4884 ("sane-backends" ,sane-backends)))
4885 (home-page "https://www.freedesktop.org/software/colord/")
4886 (synopsis "Color management service")
4887 (description "Colord is a system service that makes it easy to manage,
4888 install and generate color profiles to accurately color manage input and
4890 (license license:gpl2+)))
4892 (define-public geoclue
4900 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4901 version "/geoclue-" version ".tar.bz2"))
4903 (base32 "0a833x5apzabxj80ywvsh8crd635vni2i9v9c1p095f6hvmfc45k"))
4904 (patches (search-patches "geoclue-config.patch"))))
4905 (build-system meson-build-system)
4907 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
4909 `(("pkg-config" ,pkg-config)
4910 ("gobject-introspection" ,gobject-introspection)
4911 ("modem-manager" ,modem-manager)
4912 ("libnotify" ,libnotify)
4913 ("gtk-doc", gtk-doc)
4914 ("intltool" ,intltool)))
4917 ("glib:bin" ,glib "bin")
4918 ("glib-networking" ,glib-networking)
4919 ("json-glib" ,json-glib)
4920 ("libsoup" ,libsoup)))
4921 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4922 (synopsis "Geolocation service")
4923 (description "Geoclue is a D-Bus service that provides location
4924 information. The primary goal of the Geoclue project is to make creating
4925 location-aware applications as simple as possible, while the secondary goal is
4926 to ensure that no application can access location information without explicit
4927 permission from user.")
4928 (license license:gpl2+)))
4930 (define-public geocode-glib
4932 (name "geocode-glib")
4936 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4937 (version-major+minor version) "/"
4938 "geocode-glib-" version ".tar.xz"))
4941 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
4942 (build-system meson-build-system)
4945 (modify-phases %standard-phases
4946 ;; The tests require a bunch of locales.
4947 (add-before 'check 'set-locales
4948 (lambda* (#:key inputs #:allow-other-keys)
4949 (setenv "GUIX_LOCPATH"
4950 (string-append (assoc-ref inputs "glibc-locales")
4954 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4955 ("glibc-locales" ,glibc-locales) ; for tests
4956 ("gettext" ,gettext-minimal)
4957 ("gobject-introspection" ,gobject-introspection)
4958 ("gtk-doc" ,gtk-doc)
4959 ("pkg-config" ,pkg-config)
4960 ("json-glib" ,json-glib)))
4962 ;; geocode-glib-1.0.pc refers to GIO.
4965 `(("libsoup" ,libsoup)))
4966 (home-page "https://github.com/GNOME/geocode-glib/")
4967 (synopsis "Geocoding and reverse-geocoding library")
4969 "geocode-glib is a convenience library for geocoding (finding longitude,
4970 and latitude from an address) and reverse geocoding (finding an address from
4971 coordinates) using the Nominatim service. geocode-glib caches requests for
4972 faster results and to avoid unnecessary server load.")
4973 (license license:lgpl2.0+)))
4975 (define-public upower
4981 (uri (string-append "https://upower.freedesktop.org/releases/"
4982 "upower-" version ".tar.xz"))
4985 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4986 (patches (search-patches "upower-builddir.patch"))
4987 (modules '((guix build utils)))
4991 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4992 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4993 ;; 'dbus-configuration-directory' in (gnu services dbus)
4994 ;; expects it in etc/. Thus, move it back to its previous
4996 (substitute* "src/Makefile.in"
4997 (("^dbusconfdir =.*$")
4998 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5000 (build-system glib-or-gtk-build-system)
5003 (modify-phases %standard-phases
5004 (add-before 'check 'pre-check
5005 (lambda* (#:key inputs #:allow-other-keys)
5006 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5008 (setenv "LD_LIBRARY_PATH" umockdev))
5010 #:configure-flags (list "--localstatedir=/var"
5011 (string-append "--with-udevrulesdir="
5012 (assoc-ref %outputs "out")
5013 "/lib/udev/rules.d"))))
5015 `(("gobject-introspection" ,gobject-introspection)
5016 ("pkg-config" ,pkg-config)
5017 ("intltool" ,intltool)
5021 ("python-dbus" ,python-dbus)
5022 ("python-dbusmock" ,python-dbusmock)
5023 ("python-pygobject" ,python-pygobject)
5024 ("umockdev" ,umockdev)
5027 ("libxslt" ,libxslt) ;for 'xsltproc'
5028 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5029 ("docbook-xsl" ,docbook-xsl)))
5031 `(("dbus-glib" ,dbus-glib)
5032 ("libgudev" ,libgudev)
5033 ("libusb" ,libusb)))
5035 ;; In Requires of upower-glib.pc.
5037 (home-page "https://upower.freedesktop.org/")
5038 (synopsis "System daemon for managing power devices")
5040 "UPower is an abstraction for enumerating power devices,
5041 listening to device events and querying history and statistics. Any
5042 application or service on the system can access the org.freedesktop.UPower
5043 service via the system message bus.")
5044 (license license:gpl2+)))
5046 (define-public libgweather
5048 (name "libgweather")
5052 (uri (string-append "mirror://gnome/sources/" name "/"
5053 (version-major+minor version) "/"
5054 name "-" version ".tar.xz"))
5057 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5058 (build-system meson-build-system)
5060 `(#:tests? #f ; one of two tests requires network access
5062 `(,(string-append "-Dzoneinfo_dir="
5063 (assoc-ref %build-inputs "tzdata")
5064 "/share/zoneinfo"))))
5066 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5067 ("gobject-introspection" ,gobject-introspection)
5068 ("pkg-config" ,pkg-config)
5070 ("intltool" ,intltool)))
5072 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5075 ("gdk-pixbuf" ,gdk-pixbuf)
5076 ("libxml2" ,libxml2)
5077 ("libsoup" ,libsoup)
5078 ("geocode-glib" ,geocode-glib)))
5080 `(("tzdata" ,tzdata)))
5081 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5082 (synopsis "Location, time zone, and weather library for GNOME")
5084 "libgweather is a library to access weather information from online
5085 services for numerous locations.")
5086 (license license:gpl2+)))
5088 (define-public gnome-settings-daemon
5090 (name "gnome-settings-daemon")
5095 (uri (string-append "mirror://gnome/sources/" name "/"
5096 (version-major+minor version) "/"
5097 name "-" version ".tar.xz"))
5100 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))))
5101 (build-system meson-build-system)
5105 (list (string-append "-Dudev_dir="
5106 (assoc-ref %outputs "out")
5107 "/lib/udev/rules.d/")
5109 ;; Otherwise, the RUNPATH will lack the final path component.
5110 (string-append "-Dc_link_args=-Wl,-rpath="
5111 (assoc-ref %outputs "out")
5112 "/lib/gnome-settings-daemon-3.0"))
5113 ;; Color management test can't reach the colord system service.
5116 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5117 ("pkg-config" ,pkg-config)
5118 ("intltool" ,intltool)
5119 ("xsltproc" ,libxslt)
5120 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5121 ("docbook-xml" ,docbook-xml-4.2)
5122 ("docbook-xsl" ,docbook-xsl)))
5124 `(("alsa-lib" ,alsa-lib)
5126 ("libgudev" ,libgudev)
5129 ("pulseaudio" ,pulseaudio)
5130 ("libcanberra" ,libcanberra)
5132 ("libxtst" ,libxtst)
5134 ("libnotify" ,libnotify)
5135 ("geoclue" ,geoclue)
5136 ("geocode-glib" ,geocode-glib)
5137 ("libgweather" ,libgweather)
5138 ("gnome-desktop" ,gnome-desktop)
5141 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5142 ("libwacom" ,libwacom)
5143 ("librsvg" ,librsvg)
5144 ("xf86-input-wacom" ,xf86-input-wacom)
5145 ("wayland" ,wayland)
5146 ("network-manager" ,network-manager)
5148 ("modem-manager" ,modem-manager)))
5149 (home-page "https://www.gnome.org")
5150 (synopsis "GNOME settings daemon")
5152 "This package contains the daemon responsible for setting the various
5153 parameters of a GNOME session and the applications that run under it. It
5154 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5155 settings, themes, mouse settings, and startup of other daemons.")
5156 (license license:gpl2+)))
5158 (define-public totem-pl-parser
5160 (name "totem-pl-parser")
5164 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5165 (version-major+minor version) "/"
5166 "totem-pl-parser-" version ".tar.xz"))
5169 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
5170 (build-system meson-build-system)
5172 ;; FIXME: Tests require gvfs.
5175 `(("intltool" ,intltool)
5176 ("glib" ,glib "bin")
5177 ("gobject-introspection" ,gobject-introspection)
5178 ("pkg-config" ,pkg-config)))
5182 ("libarchive" ,libarchive)
5183 ("libgcrypt" ,libgcrypt)
5184 ("libxml2" ,libxml2)))
5186 `(("libsoup" ,libsoup)))
5187 (home-page "https://projects.gnome.org/totem")
5188 (synopsis "Library to parse and save media playlists for GNOME")
5189 (description "Totem-pl-parser is a GObjects-based library to parse and save
5190 playlists in a variety of formats.")
5191 (license license:lgpl2.0+)))
5193 (define-public aisleriot
5199 (uri (string-append "mirror://gnome/sources/aisleriot/"
5200 (version-major+minor version) "/"
5201 "aisleriot-" version ".tar.xz"))
5204 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5205 (build-system glib-or-gtk-build-system)
5208 '("--with-platform=gtk-only"
5209 "--with-card-theme-formats=svg")))
5211 `(("desktop-file-utils" ,desktop-file-utils)
5212 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5213 ("intltool" ,intltool)
5214 ("itstool" ,itstool)
5215 ("pkg-config" ,pkg-config)
5216 ("xmllint" ,libxml2)))
5219 ("guile" ,guile-2.2)
5220 ("libcanberra" ,libcanberra)
5221 ("librsvg" ,librsvg)))
5222 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5223 (synopsis "Solitaire card games")
5225 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5226 which are easy to play with the aid of a mouse.")
5227 (license license:gpl3+)))
5235 (uri (string-append "mirror://gnome/sources/amtk/"
5236 (version-major+minor version) "/"
5237 "amtk-" version ".tar.xz"))
5240 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5241 (build-system gnu-build-system)
5243 '(#:configure-flags '("--enable-gtk-doc")))
5245 `(("gobject-introspection" ,gobject-introspection)
5246 ("glib:bin" ,glib "bin") ; for glib-mkenums
5247 ("gtk-doc" ,gtk-doc)
5248 ("pkg-config" ,pkg-config)))
5252 (home-page "https://wiki.gnome.org/Projects/Amtk")
5253 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5255 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5256 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5257 both a traditional UI or a modern UI with a GtkHeaderBar.")
5258 (license license:lgpl2.1+)))
5260 (define-public devhelp
5266 (uri (string-append "mirror://gnome/sources/" name "/"
5267 (version-major+minor version) "/"
5268 name "-" version ".tar.xz"))
5271 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5272 (build-system meson-build-system)
5276 (modify-phases %standard-phases
5277 (add-after 'unpack 'skip-gtk-update-icon-cache
5278 ;; Don't create 'icon-theme.cache'.
5280 (substitute* "meson_post_install.py"
5281 (("gtk-update-icon-cache") "true"))
5284 `(("intltool" ,intltool)
5285 ("itstool" ,itstool)
5286 ("gobject-introspection" ,gobject-introspection)
5287 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5288 ("pkg-config" ,pkg-config)))
5291 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5292 ("webkitgtk" ,webkitgtk)))
5293 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5294 (synopsis "API documentation browser for GNOME")
5296 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5297 natively with GTK-Doc (the API reference system developed for GTK+ and used
5298 throughout GNOME for API documentation).")
5299 (license license:gpl2+)))
5308 (uri (string-append "mirror://gnome/sources/cogl/"
5309 (version-major+minor version) "/"
5310 "cogl-" version ".tar.xz"))
5312 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5313 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5314 ;; cogl, corresponding changes may be appropriate in mutter as well.
5315 (build-system gnu-build-system)
5317 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5318 ("gobject-introspection" ,gobject-introspection)
5319 ("xorg-server" ,xorg-server-for-tests)
5320 ("pkg-config" ,pkg-config)))
5323 ("gdk-pixbuf" ,gdk-pixbuf)
5325 ("libxext" ,libxext)
5326 ("libxfixes" ,libxfixes)
5327 ("libxdamage" ,libxdamage)
5328 ("libxcomposite" ,libxcomposite)
5329 ("libxrandr" ,libxrandr)))
5334 ("gstreamer" ,gstreamer)
5335 ("gst-plugins-base" ,gst-plugins-base)
5336 ("wayland" ,wayland)))
5338 `(#:disallowed-references (,xorg-server-for-tests)
5339 #:configure-flags (list "--enable-cogl-gst"
5340 "--enable-wayland-egl-platform"
5341 "--enable-wayland-egl-server"
5343 ;; Arrange to pass an absolute file name to
5344 ;; dlopen for libGL.so.
5345 (string-append "--with-gl-libname="
5346 (assoc-ref %build-inputs "mesa")
5349 (modify-phases %standard-phases
5350 (add-after 'unpack 'fix-build-with-mesa-20
5352 ;; Work around a problem with Mesa 20 where some macros used by
5353 ;; Cogl went missing from eglext.h. This can likely be removed
5354 ;; for newer versions of Cogl or Mesa.
5355 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5356 (substitute* '("configure"
5357 "cogl/winsys/cogl-winsys-egl-kms.c")
5358 (("#include <EGL/eglext.h>" all)
5359 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5361 (add-before 'check 'start-xorg-server
5362 (lambda* (#:key tests? inputs #:allow-other-keys)
5365 ;; The test suite requires a running X server.
5366 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5367 (assoc-ref inputs "xorg-server")))
5368 (setenv "DISPLAY" ":1")
5370 (format #t "test suite not run~%"))
5372 (home-page "https://www.cogl3d.org")
5373 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5375 "Cogl is a small library for using 3D graphics hardware to draw pretty
5376 pictures. The API departs from the flat state machine style of OpenGL and is
5377 designed to make it easy to write orthogonal components that can render
5378 without stepping on each others toes.")
5379 (license (list license:expat ; most of the code
5380 license:bsd-3 ; cogl/cogl-point-in-poly.c
5381 license:sgifreeb2.0 ; cogl-path/tesselator/
5382 license:asl2.0)))) ; examples/android/
5384 (define-public clutter
5391 (uri (string-append "mirror://gnome/sources/" name "/"
5392 (version-major+minor version) "/"
5393 name "-" version ".tar.xz"))
5396 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5397 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5398 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5399 (build-system gnu-build-system)
5401 "doc")) ;9 MiB of gtk-doc HTML pages
5403 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5404 ("gobject-introspection" ,gobject-introspection)
5405 ("pkg-config" ,pkg-config)
5406 ("xsltproc" ,libxslt)))
5412 ("json-glib" ,json-glib)
5414 ("libxcomposite" ,libxcomposite)
5415 ("libxdamage" ,libxdamage)
5416 ("libxext" ,libxext)
5417 ("xinput" ,xinput)))
5419 `(("libxkbcommon" ,libxkbcommon)
5422 `(#:configure-flags (list "--enable-x11-backend=yes"
5424 ;; This produces share/doc/{clutter,cally}.
5425 (string-append "--with-html-dir="
5426 (assoc-ref %outputs "doc")
5428 ;; XXX FIXME: Get test suite working. It would probably fail in the
5429 ;; same way the cogl tests fail, since clutter is based on cogl.
5431 (home-page "http://www.clutter-project.org")
5432 (synopsis "OpenGL-based interactive canvas library")
5434 "Clutter is an OpenGL-based interactive canvas library, designed for
5435 creating fast, mainly 2D single window applications such as media box UIs,
5436 presentations, kiosk style applications and so on.")
5437 (license license:lgpl2.0+)))
5439 (define-public clutter-gtk
5441 (name "clutter-gtk")
5446 (uri (string-append "mirror://gnome/sources/" name "/"
5447 (version-major+minor version) "/"
5448 name "-" version ".tar.xz"))
5451 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5452 (build-system gnu-build-system)
5454 `(("pkg-config" ,pkg-config)
5455 ("gobject-introspection" ,gobject-introspection)))
5457 ;; clutter-gtk.pc refers to all these.
5458 `(("clutter" ,clutter)
5460 (home-page "http://www.clutter-project.org")
5461 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5463 "Clutter is an OpenGL-based interactive canvas library, designed for
5464 creating fast, mainly 2D single window applications such as media box UIs,
5465 presentations, kiosk style applications and so on.")
5466 (license license:lgpl2.0+)))
5468 (define-public clutter-gst
5470 (name "clutter-gst")
5475 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5476 (version-major+minor version) "/"
5477 "clutter-gst-" version ".tar.xz"))
5479 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5480 (build-system gnu-build-system)
5482 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5483 ("pkg-config" ,pkg-config)
5484 ("gobject-introspection" ,gobject-introspection)))
5486 `(("clutter" ,clutter)
5487 ("gstreamer" ,gstreamer)
5488 ("gst-plugins-base" ,gst-plugins-base)))
5489 (home-page "http://www.clutter-project.org")
5490 (synopsis "Integration library for using GStreamer with Clutter")
5492 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5493 It provides a GStreamer sink to upload frames to GL and an actor that
5494 implements the ClutterGstPlayer interface using playbin. Clutter is an
5495 OpenGL-based interactive canvas library.")
5496 (license license:lgpl2.0+)))
5498 (define-public libchamplain
5500 (name "libchamplain")
5505 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5509 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5510 (build-system gnu-build-system)
5511 (arguments '(#:configure-flags '("--enable-vala")))
5513 `(("gobject-introspection" ,gobject-introspection)
5514 ("pkg-config" ,pkg-config)
5517 `(("libsoup" ,libsoup)
5519 ("clutter" ,clutter)
5520 ("clutter-gtk" ,clutter-gtk)
5521 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5525 (home-page "https://projects.gnome.org/libchamplain/")
5526 (synopsis "C library providing a ClutterActor to display maps")
5528 "libchamplain is a C library providing a ClutterActor to display maps.
5529 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5530 and Perl bindings are also available. It supports numerous free map sources
5531 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5532 (license license:lgpl2.1+)))
5541 (uri (string-append "mirror://gnome/sources/gom/"
5542 (version-major+minor version) "/"
5543 "gom-" version ".tar.xz"))
5546 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5547 (build-system gnu-build-system)
5549 `(("intltool" ,intltool)
5550 ("pkg-config" ,pkg-config)
5551 ("gobject-introspection" ,gobject-introspection)))
5554 ("gdk-pixbuf" ,gdk-pixbuf)
5555 ("sqlite" ,sqlite)))
5556 ;; XXX TODO: Figure out how to run the test suite.
5557 (arguments `(#:tests? #f))
5558 (home-page "https://wiki.gnome.org/Projects/Gom")
5559 (synopsis "Object mapper from GObjects to SQLite")
5561 "Gom provides an object mapper from GObjects to SQLite. It helps you
5562 write applications that need to store structured data as well as make complex
5563 queries upon that data.")
5564 (license license:lgpl2.1+)))
5566 (define-public libgnome-games-support
5568 (name "libgnome-games-support")
5572 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5573 (version-major+minor version) "/"
5574 "libgnome-games-support-" version ".tar.xz"))
5577 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
5578 (build-system gnu-build-system)
5581 (modify-phases %standard-phases
5582 (add-before 'check 'pre-check
5584 ;; Tests require a writable HOME.
5585 (setenv "HOME" (getcwd))
5588 `(("intltool" ,intltool)
5589 ("pkg-config" ,pkg-config)
5592 ;; Required by libgnome-games-support-1.0.pc
5594 ("libgee" ,libgee)))
5595 (home-page "https://www.gnome.org/")
5596 (synopsis "Useful functionality shared among GNOME games")
5598 "libgnome-games-support is a small library intended for internal use by
5599 GNOME Games, but it may be used by others.")
5600 (license license:lgpl3+)))
5602 (define-public gnome-klotski
5604 (name "gnome-klotski")
5608 (uri (string-append "mirror://gnome/sources/" name "/"
5609 (version-major+minor version) "/"
5610 name "-" version ".tar.xz"))
5613 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
5614 (build-system meson-build-system)
5618 (modify-phases %standard-phases
5619 (add-after 'unpack 'skip-gtk-update-icon-cache
5620 ;; Don't create 'icon-theme.cache'.
5622 (substitute* "build-aux/meson_post_install.py"
5623 (("gtk-update-icon-cache") (which "true")))
5626 `(("desktop-file-utils" ,desktop-file-utils)
5627 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5628 ("intltool" ,intltool)
5629 ("itstool" ,itstool)
5630 ("pkg-config" ,pkg-config)
5632 ("xmllint" ,libxml2)))
5635 ("libgnome-games-support" ,libgnome-games-support)
5636 ("librsvg" ,librsvg)))
5637 (home-page "https://wiki.gnome.org/Apps/Klotski")
5638 (synopsis "Sliding block puzzles")
5640 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
5641 the patterned block to the area bordered by green markers. To do so, you will
5642 need to slide other blocks out of the way. Complete each puzzle in as few moves
5644 (license license:gpl2+)))
5646 (define-public grilo
5653 (uri (string-append "mirror://gnome/sources/" name "/"
5654 (version-major+minor version) "/"
5655 name "-" version ".tar.xz"))
5658 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
5659 (build-system meson-build-system)
5661 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
5662 ("intltool" ,intltool)
5663 ("pkg-config" ,pkg-config)
5664 ("gobject-introspection" ,gobject-introspection)
5665 ("gtk-doc" ,gtk-doc)
5668 `(("cyrus-sasl" ,cyrus-sasl)
5671 ("libxml2" ,libxml2)
5672 ("liboauth" ,liboauth)
5673 ("libsoup" ,libsoup)
5674 ("totem-pl-parser" ,totem-pl-parser)))
5675 (native-search-paths
5676 (list (search-path-specification
5677 (variable "GRL_PLUGIN_PATH")
5678 (files (list (string-append "lib/grilo-"
5679 (version-major+minor version)))))))
5680 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
5681 (synopsis "Framework for discovering and browsing media")
5683 "Grilo is a framework focused on making media discovery and browsing easy
5684 for application developers.")
5685 (license license:lgpl2.1+)))
5687 (define-public grilo-plugins
5689 (name "grilo-plugins")
5694 (uri (string-append "mirror://gnome/sources/" name "/"
5695 (version-major+minor version) "/"
5696 name "-" version ".tar.xz"))
5699 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
5700 (build-system meson-build-system)
5702 `(("gettext" ,gettext-minimal)
5703 ("glib:bin" ,glib "bin")
5704 ("gtk+:bin" ,gtk+ "bin")
5705 ("itstool" ,itstool)
5706 ("pkg-config" ,pkg-config)))
5707 ;; TODO: ahavi, gstreamer
5710 ;("gmime" ,gmime) ; unused
5711 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5713 ;("gssdp" ,gssdp) ; unused
5714 ;("gupnp" ,gupnp) ; unused
5715 ;("gupnp-av" ,gupnp-av) ; unused
5716 ("json-glib" ,json-glib)
5718 ("libgdata" ,libgdata)
5719 ("libmediaart" ,libmediaart)
5720 ;("librest" ,rest) ; unused
5721 ("libsoup" ,libsoup)
5722 ("totam-pl-parser" ,totem-pl-parser)
5723 ("tracker" ,tracker))) ; unused because it's too old
5726 ;;Disable lua-factory as it needs missing dependencies
5727 #:configure-flags '("-Denable-lua-factory=no")))
5728 (home-page "https://live.gnome.org/Grilo")
5729 (synopsis "Plugins for the Grilo media discovery library")
5731 "Grilo is a framework focused on making media discovery and browsing easy
5732 for application developers. This package provides plugins for common media
5733 discovery protocols.")
5734 (license license:lgpl2.1+)))
5736 (define-public totem
5743 (uri (string-append "mirror://gnome/sources/totem/"
5744 (version-major+minor version) "/"
5745 "totem-" version ".tar.xz"))
5748 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
5749 (build-system meson-build-system)
5751 `(("pkg-config" ,pkg-config)
5752 ("desktop-file-utils" ,desktop-file-utils)
5753 ("gobject-introspection" ,gobject-introspection)
5754 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
5755 ("intltool" ,intltool)
5756 ("itstool" ,itstool)
5757 ("xmllint" ,libxml2)
5758 ("xorg-server" ,xorg-server-for-tests)))
5760 `(("dconf" ,dconf)))
5763 ("gdk-pixbuf" ,gdk-pixbuf)
5766 ("dbus-glib" ,dbus-glib)
5767 ("clutter" ,clutter)
5768 ("clutter-gtk" ,clutter-gtk)
5769 ("clutter-gst" ,clutter-gst)
5770 ("xorgproto" ,xorgproto)
5771 ("libxxf86vm" ,libxxf86vm)
5772 ("libxtst" ,libxtst)
5773 ("libxrandr" ,libxrandr)
5774 ("libxml2" ,libxml2)
5775 ("libsoup" ,libsoup)
5776 ("libpeas" ,libpeas)
5777 ("librsvg" ,librsvg)
5779 ("gnome-desktop" ,gnome-desktop)
5780 ("gstreamer" ,gstreamer)
5781 ("gst-plugins-base" ,gst-plugins-base)
5782 ("gst-plugins-good" ,gst-plugins-good)
5783 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5784 ("adwaita-icon-theme" ,adwaita-icon-theme)
5786 ("python-pygobject" ,python-pygobject)
5787 ("totem-pl-parser" ,totem-pl-parser)
5789 ("grilo-plugins" ,grilo-plugins)
5794 ;; Disable automatic GStreamer plugin installation via PackageKit and
5796 #:configure-flags '("-D" "enable-easy-codec-installation=no"
5798 ;; Do not build .a files for the plugins, it's
5799 ;; completely useless. This saves 2 MiB.
5800 "--default-library" "shared")
5802 (modify-phases %standard-phases
5803 (add-after 'unpack 'skip-gtk-update-icon-cache
5804 ;; Don't create 'icon-theme.cache'.
5806 (substitute* "meson_post_install.py"
5807 (("gtk-update-icon-cache") "true"))
5810 'install 'disable-cache-generation
5812 (setenv "DESTDIR" "/")
5817 ;; Tests require a running X server.
5818 (system "Xvfb :1 &")
5819 (setenv "DISPLAY" ":1")
5822 'install 'wrap-totem
5823 (lambda* (#:key inputs outputs #:allow-other-keys)
5824 (let ((out (assoc-ref outputs "out"))
5825 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5826 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
5827 (wrap-program (string-append out "/bin/totem")
5828 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5829 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
5830 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
5831 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
5833 (home-page "https://wiki.gnome.org/Apps/Videos")
5834 (synopsis "Simple media player for GNOME based on GStreamer")
5835 (description "Totem is a simple yet featureful media player for GNOME
5836 which can read a large number of file formats.")
5837 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
5838 ;; to be used and distributed together with GStreamer and Totem. See
5839 ;; file://COPYING in the source distribution for details.
5840 (license license:gpl2+)))
5842 (define-public rhythmbox
5848 (uri (string-append "mirror://gnome/sources/rhythmbox/"
5849 (version-major+minor version) "/"
5850 "rhythmbox-" version ".tar.xz"))
5853 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
5854 (build-system glib-or-gtk-build-system)
5857 (list "--enable-lirc"
5864 (modify-phases %standard-phases
5866 'install 'wrap-rhythmbox
5867 (lambda* (#:key inputs outputs #:allow-other-keys)
5868 (let ((out (assoc-ref outputs "out"))
5869 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5870 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5871 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5872 (python-path (getenv "PYTHONPATH")))
5873 (wrap-program (string-append out "/bin/rhythmbox")
5874 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5875 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5876 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5877 `("PYTHONPATH" ":" prefix (,python-path))))
5880 `(("dconf" ,dconf)))
5882 `(("itstool" ,itstool)
5883 ("intltool" ,intltool)
5884 ("glib" ,glib "bin")
5885 ("gobject-introspection" ,gobject-introspection)
5886 ("desktop-file-utils" ,desktop-file-utils)
5887 ("pkg-config" ,pkg-config)
5888 ("xmllint" ,libxml2)))
5890 `(("json-glib" ,json-glib)
5892 ("gnome-desktop" ,gnome-desktop)
5894 ("python-pygobject" ,python2-pygobject)
5897 ("adwaita-icon-theme" ,adwaita-icon-theme)
5899 ("grilo-plugins" ,grilo-plugins)
5900 ("gstreamer" ,gstreamer)
5901 ("gst-plugins-base" ,gst-plugins-base)
5902 ("gst-plugins-good" ,gst-plugins-good)
5903 ("totem-pl-parser" ,totem-pl-parser)
5904 ("libgudev" ,libgudev)
5905 ;;("libmtp" ,libmtp) FIXME: Not detected
5906 ("libsecret" ,libsecret)
5907 ("libsoup" ,libsoup)
5908 ("libnotify" ,libnotify)
5909 ("libpeas" ,libpeas)
5911 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5912 ;;("clutter" ,clutter)
5913 ;;("clutter-gtk" ,clutter-gtk)
5914 ;;("clutter-gst" ,clutter-gst)
5915 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5922 ("brasero" ,brasero)))
5923 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5924 (synopsis "Music player for GNOME")
5925 (description "Rhythmbox is a music playing application for GNOME. It
5926 supports playlists, song ratings, and any codecs installed through gstreamer.")
5927 (license license:gpl2+)))
5935 (uri (string-append "mirror://gnome/sources/" name "/"
5936 (version-major+minor version) "/"
5937 name "-" version ".tar.xz"))
5940 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5941 (build-system meson-build-system)
5944 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5945 (list (string-append "-Dc_link_args=-Wl,-rpath="
5946 (assoc-ref %outputs "out") "/lib/eog"))
5948 (modify-phases %standard-phases
5949 (add-after 'unpack 'skip-gtk-update-icon-cache
5950 ;; Don't create 'icon-theme.cache'.
5952 (substitute* "meson_post_install.py"
5953 (("gtk-update-icon-cache") "true"))
5955 (add-after 'install 'wrap-eog
5956 (lambda* (#:key outputs #:allow-other-keys)
5957 (let ((out (assoc-ref outputs "out"))
5958 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5959 (wrap-program (string-append out "/bin/eog")
5960 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5963 `(("dconf" ,dconf)))
5965 `(("intltool" ,intltool)
5966 ("itstool" ,itstool)
5967 ("glib" ,glib "bin")
5968 ("gobject-introspection" ,gobject-introspection)
5969 ("pkg-config" ,pkg-config)
5970 ("xmllint" ,libxml2)))
5972 `(("gnome-desktop" ,gnome-desktop)
5973 ("shared-mime-info" ,shared-mime-info)
5974 ("adwaita-icon-theme" ,adwaita-icon-theme)
5977 ("libexif" ,libexif)
5978 ("libpeas" ,libpeas)
5979 ("libjpeg" ,libjpeg-turbo)
5980 ("librsvg" ,librsvg-next)
5981 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5983 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5984 (synopsis "GNOME image viewer")
5985 (description "Eye of GNOME is the GNOME image viewer. It
5986 supports image conversion, rotation, and slideshows.")
5987 (license license:gpl2+)))
5989 (define-public eog-plugins
5990 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5991 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5992 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5993 ;; 'XDG_DATA_DIRS' appropriately set.
5995 (name "eog-plugins")
5999 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6000 (version-major+minor version) "/"
6001 "eog-plugins-" version ".tar.xz"))
6004 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6005 (build-system gnu-build-system)
6006 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6007 (synopsis "Extensions for the Eye of GNOME image viewer")
6009 `(("pkg-config" ,pkg-config)
6010 ("gettext" ,gettext-minimal)))
6015 ("libpeas" ,libpeas)
6016 ("libexif" ,libexif)
6017 ("libchamplain" ,libchamplain)))
6019 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6023 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6024 @item @dfn{Map}, which displays a map of where the picture was taken on the
6026 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6029 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6030 ;; long suspicious byte stream that goes to a
6031 ;; ".gresource.eog_postasa_plugin" ELF section.
6032 (license license:gpl2+)))
6034 (define-public libgudev
6040 (uri (string-append "mirror://gnome/sources/" name "/"
6041 version "/" name "-" version ".tar.xz"))
6044 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6045 (build-system gnu-build-system)
6048 ;; umockdev depends on libgudev.
6049 (list "--disable-umockdev")))
6051 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6052 ("gobject-introspection" ,gobject-introspection)
6053 ("pkg-config" ,pkg-config)))
6055 `(("glib" ,glib))) ; required by gudev-1.0.pc
6058 (home-page "https://wiki.gnome.org/Projects/libgudev")
6059 (synopsis "GObject bindings for libudev")
6061 "This library provides GObject bindings for libudev. It was originally
6062 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6063 (license license:lgpl2.1+)))
6071 (uri (string-append "mirror://gnome/sources/gvfs/"
6072 (version-major+minor version) "/"
6073 "gvfs-" version ".tar.xz"))
6076 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
6077 ;; This patch may be removed when upgrading to version 1.46.x.
6079 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6080 (build-system meson-build-system)
6084 (list "-Dsystemduserunitdir=no"
6086 ;; Otherwise, the RUNPATH will lack the final path component.
6087 (string-append "-Dc_link_args=-Wl,-rpath="
6088 (assoc-ref %outputs "out") "/lib/gvfs"))))
6090 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6091 ("gettext" ,gettext-minimal)
6092 ("gtk-doc" ,gtk-doc)
6093 ("pkg-config" ,pkg-config)
6094 ("xsltproc" ,libxslt)))
6097 ("docbook-xml" ,docbook-xml-4.2)
6098 ("docbook-xsl" ,docbook-xsl)
6100 ("elogind" ,elogind)
6104 ("gnome-online-accounts" ,gnome-online-accounts)
6105 ("libarchive" ,libarchive)
6106 ("libbluray" ,libbluray)
6108 ("libcdio-paranoia" ,libcdio-paranoia)
6109 ("libgcrypt" ,libgcrypt)
6110 ("libgdata" ,libgdata)
6111 ("libgphoto2" ,libgphoto2)
6112 ("libgudev" ,libgudev)
6113 ("libimobiledevice" ,libimobiledevice)
6116 ("libsecret" ,libsecret)
6117 ("libsmbclient" ,samba)
6118 ("libsoup" ,libsoup)
6119 ("libxml2" ,libxml2)
6120 ("openssh" ,openssh)
6122 ("udisks" ,udisks)))
6123 (home-page "https://wiki.gnome.org/gvfs/")
6124 (synopsis "Userspace virtual file system for GIO")
6126 "GVFS is a userspace virtual file system designed to work with the I/O
6127 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6128 to all applications using the GIO API. It also supports exposing the GVFS
6129 mounts to non-GIO applications using FUSE.
6131 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6133 (license license:lgpl2.0+)))
6142 (url "https://github.com/hughsie/libgusb")
6144 (file-name (git-file-name name version))
6147 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
6148 (build-system meson-build-system)
6150 `(("gobject-introspection" ,gobject-introspection)
6151 ("pkg-config" ,pkg-config)
6153 ("gtk-doc" ,gtk-doc)))
6155 ;; Both of these are required by gusb.pc.
6157 ("libusb" ,libusb)))
6159 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6160 (home-page "https://github.com/hughsie/libgusb")
6161 (synopsis "GLib binding for libusb1")
6163 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6164 asynchronous control, bulk and interrupt transfers with proper cancellation
6165 and integration into a mainloop. This makes it easy to integrate low level
6166 USB transfers with your high-level application or system daemon.")
6167 (license license:lgpl2.1+)))
6169 (define-public simple-scan
6171 (name "simple-scan")
6176 (uri (string-append "mirror://gnome/sources/simple-scan/"
6177 (version-major+minor version) "/"
6178 "simple-scan-" version ".tar.xz"))
6180 (base32 "09gmzrlljdqkj3w6wa1c27wypy6j8z9dw3jzv9izfqvp38liibsn"))))
6181 (build-system meson-build-system)
6182 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6184 '(#:glib-or-gtk? #t))
6190 ("gdk-pixbuf" ,gdk-pixbuf)
6192 ("libsane" ,sane-backends)))
6194 `(("gettext" ,gettext-minimal)
6195 ("itstool" ,itstool)
6196 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6197 ("pkg-config" ,pkg-config)
6199 ("xmllint" ,libxml2)))
6200 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6201 (synopsis "Document and image scanner")
6203 "Document Scanner is an easy-to-use application that lets you connect your
6204 scanner and quickly capture images and documents in an appropriate format. It
6205 supports any scanner for which a suitable SANE driver is available, which is
6206 almost all of them.")
6207 (license license:gpl3+)))
6209 (define-public eolie
6212 (version "0.9.98.1")
6215 (uri (string-append "https://adishatz.org/eolie/eolie-"
6219 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
6220 (build-system meson-build-system)
6224 (modify-phases %standard-phases
6225 (add-after 'unpack 'skip-gtk-update-icon-cache
6226 ;; Don't create 'icon-theme.cache'.
6228 (substitute* "meson_post_install.py"
6229 (("gtk-update-icon-cache") "true"))
6231 (add-after 'wrap 'wrap-more
6232 (lambda* (#:key inputs outputs #:allow-other-keys)
6233 (let* ((out (assoc-ref outputs "out"))
6234 ;; These libraries must be on LD_LIBRARY_PATH.
6235 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6236 "atk" "gtk+" "gsettings-desktop-schemas"
6237 "gobject-introspection"))
6240 (string-append (assoc-ref inputs lib) "/lib"))
6243 (wrap-program (string-append out "/bin/eolie")
6244 `("LD_LIBRARY_PATH" ":" prefix (,path))
6245 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6246 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6249 `(("intltool" ,intltool)
6250 ("itstool" ,itstool)
6251 ("pkg-config" ,pkg-config)
6253 ("glib:bin" ,glib "bin")))
6255 `(("gobject-introspection" ,gobject-introspection)
6256 ("glib-networking" ,glib-networking)
6259 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6260 ("python" ,python-wrapper)
6261 ("python-dateutil" ,python-dateutil)
6262 ("python-pyfxa" ,python-pyfxa)
6263 ("python-pygobject" ,python-pygobject)
6264 ("python-pycairo" ,python-pycairo)
6265 ("python-pycrypto" ,python-pycrypto)
6266 ("libsecret" ,libsecret)
6267 ("gtkspell3" ,gtkspell3)
6268 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6269 ("webkitgtk" ,webkitgtk)))
6270 (home-page "https://wiki.gnome.org/Apps/Eolie")
6271 (synopsis "Web browser for GNOME")
6273 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6274 a secret password store, an adblocker, and a modern UI.")
6275 (license license:gpl3+)))
6277 (define-public epiphany
6283 (uri (string-append "mirror://gnome/sources/epiphany/"
6284 (version-major+minor version) "/"
6285 "epiphany-" version ".tar.xz"))
6288 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6290 (build-system meson-build-system)
6294 (modify-phases %standard-phases
6295 (add-after 'unpack 'skip-gtk-update-icon-cache
6296 ;; Don't create 'icon-theme.cache'.
6298 (substitute* "post_install.py"
6299 (("gtk-update-icon-cache") "true"))
6301 (add-after 'unpack 'disable-failing-tests
6303 (substitute* "tests/meson.build"
6304 ;; embed_shell fails, because webkitgtk apparently no longer supports
6305 ;; overriding the ftp schema
6306 ;; web_app_utils fails due to missing network access
6307 (("(embed_shell|web_app_utils)_test,")
6308 "find_program('sh'), args: ['-c', 'exit 77'],"))
6310 (add-before 'check 'pre-check
6312 ;; Tests require a running X server.
6313 (system "Xvfb :1 &")
6314 (setenv "DISPLAY" ":1")
6317 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6318 (list (string-append "-Dc_link_args=-Wl,-rpath="
6319 (assoc-ref %outputs "out") "/lib/epiphany"))))
6321 `(("dconf" ,dconf)))
6323 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6324 ("glib:bin" ,glib "bin") ; for glib-mkenums
6325 ("intltool" ,intltool)
6326 ("itstool" ,itstool)
6327 ("pkg-config" ,pkg-config)
6328 ("xmllint" ,libxml2)
6329 ("xorg-server" ,xorg-server-for-tests)))
6333 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6334 ("glib-networking" ,glib-networking)
6335 ("gnome-desktop" ,gnome-desktop)
6336 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6337 ("json-glib" ,json-glib)
6338 ("iso-codes" ,iso-codes)
6339 ("libdazzle" ,libdazzle)
6340 ("libnotify" ,libnotify)
6341 ("libsecret" ,libsecret)
6342 ("libxslt" ,libxslt)
6343 ("nettle" ,nettle) ; for hogweed
6345 ("webkitgtk" ,webkitgtk)))
6346 (home-page "https://wiki.gnome.org/Apps/Web")
6347 (synopsis "GNOME web browser")
6349 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6350 principles are simplicity and standards compliance.")
6351 (license license:gpl2+)))
6353 (define-public d-feet
6359 (uri (string-append "mirror://gnome/sources/" name "/"
6360 (version-major+minor version) "/"
6361 name "-" version ".tar.xz"))
6364 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6365 (build-system glib-or-gtk-build-system)
6367 '(#:out-of-source? #f ; tests need to run in the source directory.
6369 (modify-phases %standard-phases
6373 ;; The test suite requires a running X server.
6374 (system "Xvfb :1 &")
6375 (setenv "DISPLAY" ":1")
6376 ;; Don't fail on missing '/etc/machine-id'.
6377 (setenv "DBUS_FATAL_WARNINGS" "0")
6378 ;; tests.py and window.py don't meet E402:
6379 ;; E402 module level import not at top of file
6380 (substitute* "src/tests/Makefile"
6381 (("--ignore=E123") "--ignore=E123,E402"))
6384 'install 'wrap-program
6385 (lambda* (#:key outputs #:allow-other-keys)
6386 (let ((prog (string-append (assoc-ref outputs "out")
6389 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6390 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6393 `(("intltool" ,intltool)
6394 ("itstool" ,itstool)
6395 ("pkg-config" ,pkg-config)
6396 ("python-pep8" ,python-pep8)
6397 ("xmllint" ,libxml2)
6398 ("xorg-server" ,xorg-server-for-tests)))
6400 `(("gobject-introspection" ,gobject-introspection)
6402 ("python" ,python-wrapper)
6403 ("hicolor-icon-theme" ,hicolor-icon-theme)
6404 ("python-pygobject" ,python-pygobject)))
6405 (home-page "https://wiki.gnome.org/Apps/DFeet")
6406 (synopsis "D-Bus debugger")
6408 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6409 of running programs and invoke methods on those interfaces.")
6410 (license license:gpl2+)))
6412 (define-public yelp-xsl
6418 (uri (string-append "mirror://gnome/sources/" name "/"
6419 (version-major+minor version) "/"
6420 name "-" version ".tar.xz"))
6423 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6424 (build-system gnu-build-system)
6426 `(("gettext-minimal" ,gettext-minimal)
6427 ("itstool" ,itstool)
6428 ("xmllint" ,libxml2)))
6429 (home-page "https://wiki.gnome.org/Apps/Yelp")
6430 (synopsis "XSL stylesheets for Yelp")
6432 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
6433 to format Docbook and Mallard documents.")
6434 (license license:gpl2+)))
6442 (uri (string-append "mirror://gnome/sources/" name "/"
6443 (version-major+minor version) "/"
6444 name "-" version ".tar.xz"))
6447 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6448 (build-system glib-or-gtk-build-system)
6450 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6451 ("intltool" ,intltool)
6452 ("itstool" ,itstool)
6453 ("pkg-config" ,pkg-config)))
6455 `(("dconf" ,dconf)))
6457 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6458 ("libxslt" ,libxslt)
6460 ("webkitgtk" ,webkitgtk)
6461 ("yelp-xsl" ,yelp-xsl)))
6462 (home-page "https://wiki.gnome.org/Apps/Yelp")
6463 (synopsis "GNOME help browser")
6465 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6466 man, info, and HTML documents. It can locate documents according to the
6467 freedesktop.org help system specification.")
6468 (license license:gpl2+)))
6470 (define-public yelp-tools
6476 (uri (string-append "mirror://gnome/sources/" name "/"
6477 (version-major+minor version) "/"
6478 name "-" version ".tar.xz"))
6481 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6482 (build-system gnu-build-system)
6484 `(("pkg-config" ,pkg-config)))
6486 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6487 `(("itstool" ,itstool)
6488 ("xmllint" ,libxml2)
6489 ("xsltproc" ,libxslt)))
6491 `(("yelp-xsl" ,yelp-xsl)))
6492 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6493 (synopsis "Yelp documentation tools")
6495 "Yelp-tools is a collection of scripts and build utilities to help create,
6496 manage, and publish documentation for Yelp and the web. Most of the heavy
6497 lifting is done by packages like yelp-xsl and itstool. This package just
6498 wraps things up in a developer-friendly way.")
6499 (license license:gpl2+)))
6501 (define-public libgee
6507 (uri (string-append "mirror://gnome/sources/libgee/"
6508 (version-major+minor version) "/"
6509 "libgee-" version ".tar.xz"))
6512 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6513 (build-system gnu-build-system)
6516 (modify-phases %standard-phases
6517 (add-after 'unpack 'fix-introspection-install-dir
6518 (lambda* (#:key outputs #:allow-other-keys)
6519 (let ((out (assoc-ref outputs "out")))
6520 (substitute* "gee/Makefile.in"
6521 (("@INTROSPECTION_GIRDIR@")
6522 (string-append out "/share/gir-1.0/"))
6523 (("@INTROSPECTION_TYPELIBDIR@")
6524 (string-append out "/lib/girepository-1.0/")))))))))
6526 `(("glib" ,glib "bin")
6527 ("pkg-config" ,pkg-config)))
6530 ("gobject-introspection" ,gobject-introspection)))
6531 (home-page "https://wiki.gnome.org/Projects/Libgee")
6532 (synopsis "GObject collection library")
6534 "Libgee is a utility library providing GObject-based interfaces and
6535 classes for commonly used data structures.")
6536 (license license:lgpl2.1+)))
6538 (define-public gexiv2
6544 (uri (string-append "mirror://gnome/sources/" name "/"
6545 (version-major+minor version) "/"
6546 name "-" version ".tar.xz"))
6549 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
6550 (build-system meson-build-system)
6553 ("glib" ,glib "bin")
6554 ("pkg-config" ,pkg-config)
6557 ;; Listed in "Requires" section of gexiv2.pc
6558 `(("exiv2" ,exiv2)))
6561 ("gobject-introspection" ,gobject-introspection)))
6562 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6563 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6565 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6566 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6567 metadata in photo and video files of various formats.")
6568 (license license:gpl2+)))
6570 (define-public shotwell
6576 (uri (string-append "mirror://gnome/sources/shotwell/"
6577 (version-major+minor version) "/"
6578 "shotwell-" version ".tar.xz"))
6581 "1y556yyzfya0310v5wqjkf17hy5lhf028iminvvgi2pdfva344id"))))
6582 (build-system meson-build-system)
6586 (modify-phases %standard-phases
6587 (add-after 'unpack 'skip-gtk-update-icon-cache
6589 (substitute* "build-aux/meson/postinstall.py"
6590 (("gtk-update-icon-cache") (which "true"))
6591 (("update-desktop-database") (which "true")))
6594 `(("dconf" ,dconf)))
6596 `(("gettext" ,gettext-minimal)
6597 ("glib:bin" ,glib "bin")
6598 ("itstool" ,itstool)
6599 ("pkg-config" ,pkg-config)
6604 ("gst-plugins-base" ,gst-plugins-base)
6605 ("gstreamer" ,gstreamer)
6606 ("json-glib" ,json-glib)
6607 ("libgdata" ,libgdata)
6609 ("libgphoto2" ,libgphoto2)
6610 ("libgudev" ,libgudev)
6612 ("libsoup" ,libsoup)
6613 ("libxml2" ,libxml2)
6615 ("webkitgtk" ,webkitgtk)))
6616 (home-page "https://wiki.gnome.org/Apps/Shotwell")
6617 (synopsis "Photo manager for GNOME 3")
6619 "Shotwell is a digital photo manager designed for the GNOME desktop
6620 environment. It allows you to import photos from disk or camera, organize
6621 them by keywords and events, view them in full-window or fullscreen mode, and
6622 share them with others via social networking and more.")
6623 (license license:lgpl2.1+)))
6625 (define-public file-roller
6627 (name "file-roller")
6631 (uri (string-append "mirror://gnome/sources/file-roller/"
6632 (version-major+minor version) "/"
6633 "file-roller-" version ".tar.xz"))
6636 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
6637 (build-system meson-build-system)
6639 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6640 ("intltool" ,intltool)
6641 ("itstool" ,itstool)
6642 ("pkg-config" ,pkg-config)
6643 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6644 ("glib:bin" ,glib "bin")))
6645 ;; TODO: Add libnautilus.
6648 ("gdk-pixbuf" ,gdk-pixbuf)
6649 ("json-glib" ,json-glib)
6650 ("libarchive" ,libarchive)
6651 ("libnotify" ,libnotify)
6653 ("libxml2" ,libxml2)))
6654 (synopsis "Graphical archive manager for GNOME")
6655 (description "File Roller is an archive manager for the GNOME desktop
6656 environment that allows users to view, unpack, and create compressed archives
6657 such as gzip tarballs.")
6658 (home-page "http://fileroller.sourceforge.net/")
6659 (license license:gpl2+)))
6661 (define-public gnome-session
6663 (name "gnome-session")
6667 (uri (string-append "mirror://gnome/sources/" name "/"
6668 (version-major+minor version) "/"
6669 name "-" version ".tar.xz"))
6672 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
6676 (modify-phases %standard-phases
6677 (add-before 'configure 'pre-configure
6678 (lambda* (#:key outputs #:allow-other-keys)
6679 ;; Use elogind instead of systemd.
6680 (substitute* "meson.build"
6681 (("libsystemd-login") "libelogind")
6682 (("and libsystemd_daemon_dep.found.*") ","))
6683 (substitute* "gnome-session/gsm-systemd.c"
6684 (("#include <systemd/sd-login.h>")
6685 "#include <elogind/sd-login.h>"))
6686 ;; Remove uses of the systemd daemon.
6687 (substitute* "gnome-session/gsm-autostart-app.c"
6688 (("#ifdef HAVE_SYSTEMD") "#if 0"))
6690 (add-after 'install 'wrap-gnome-session
6691 (lambda* (#:key inputs outputs #:allow-other-keys)
6692 ;; Make sure 'gnome-session' finds the 'gsettings' program.
6693 (let ((glib (assoc-ref inputs "glib:bin"))
6694 (out (assoc-ref outputs "out")))
6695 (wrap-program (string-append out "/bin/gnome-session")
6696 `("PATH" ":" prefix (,(string-append glib "/bin"))))
6700 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
6701 "-Dman=false" ; FIXME: disabled because of docbook validation error
6702 "-Dsystemd_journal=false")))
6703 (build-system meson-build-system)
6705 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6706 ("pkg-config" ,pkg-config)
6707 ("intltool" ,intltool)
6708 ("xsltproc" ,libxslt)
6709 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
6710 ("docbook-xsl" ,docbook-xsl)
6711 ("docbook-xml" ,docbook-xml)
6714 `(("elogind" ,elogind)
6715 ("gnome-desktop" ,gnome-desktop)
6716 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6718 ("json-glib" ,json-glib)
6720 ("libxcomposite" ,libxcomposite)
6721 ("libxtst" ,libxtst)
6724 ("xtrans" ,xtrans)))
6725 (synopsis "Session manager for GNOME")
6727 "This package contains the GNOME session manager, as well as a
6728 configuration program to choose applications starting on login.")
6729 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
6730 (license license:gpl2+)))
6738 (uri (string-append "mirror://gnome/sources/" name "/"
6739 (version-major+minor version) "/"
6740 name "-" version ".tar.xz"))
6743 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
6744 (build-system gnu-build-system)
6747 (modify-phases %standard-phases
6751 ;; The test suite requires a running X server.
6752 (system "Xvfb :1 &")
6753 (setenv "DISPLAY" ":1")
6755 ;; For the missing /etc/machine-id.
6756 (setenv "DBUS_FATAL_WARNINGS" "0")
6758 ;; Our mozjs-38 package does not compile the required Intl API
6759 ;; support for these failing tests.
6760 (substitute* "installed-tests/js/testLocale.js"
6761 ((".*toBeDefined.*") "")
6762 ((".*expect\\(datestr\\).*") ""))
6763 (substitute* "installed-tests/scripts/testCommandLine.sh"
6768 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
6769 ("pkg-config" ,pkg-config)
6770 ("xmllint" ,libxml2)
6772 ("dbus-launch" ,dbus)
6773 ("dconf" ,dconf) ; required to properly store settings
6774 ("uuidgen" ,util-linux)
6775 ("xvfb" ,xorg-server-for-tests)))
6777 ;; These are all in the Requires.private field of gjs-1.0.pc.
6779 ("gobject-introspection" ,gobject-introspection)
6780 ("mozjs" ,mozjs-60)))
6783 ("readline" ,readline)))
6784 (synopsis "Javascript bindings for GNOME")
6785 (home-page "https://live.gnome.org/Gjs")
6787 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
6788 javascript engine and the GObject introspection framework.")
6789 (license license:gpl2+)))
6791 (define-public gedit
6797 (uri (string-append "mirror://gnome/sources/" name "/"
6798 (version-major+minor version) "/"
6799 name "-" version ".tar.xz"))
6802 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
6803 (build-system meson-build-system)
6807 ;; Otherwise, the RUNPATH will lack the final path component.
6808 (list (string-append "-Dc_link_args=-Wl,-rpath="
6809 (assoc-ref %outputs "out") "/lib/gedit"))
6811 ;; XXX: Generated .h files are sometimes used before being built.
6812 #:parallel-build? #f
6815 (modify-phases %standard-phases
6816 (add-after 'unpack 'skip-gtk-update-icon-cache
6817 ;; Don't create 'icon-theme.cache'.
6819 (substitute* "build-aux/meson/post_install.py"
6820 (("gtk-update-icon-cache") (which "true")))
6822 (add-after 'unpack 'patch-libgd-fetch
6823 (lambda* (#:key inputs #:allow-other-keys)
6824 (let ((libgd (assoc-ref inputs "libgd")))
6825 ;; Calling git is unnecessary because libgd is fetched as a
6826 ;; native input to this package.
6827 (substitute* "meson.build"
6829 (copy-recursively libgd "subprojects/libgd")
6831 (add-after 'install 'wrap-gedit
6832 (lambda* (#:key inputs outputs #:allow-other-keys)
6833 (let ((out (assoc-ref outputs "out"))
6834 (gtksourceview (assoc-ref inputs "gtksourceview"))
6835 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6836 (python-path (getenv "PYTHONPATH")))
6837 (wrap-program (string-append out "/bin/gedit")
6839 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6840 `("PYTHONPATH" ":" prefix (,python-path))
6841 ;; For language-specs.
6842 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
6846 `(("dconf" ,dconf)))
6848 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6849 ("intltool" ,intltool)
6850 ("itstool" ,itstool)
6851 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6852 ("gobject-introspection" ,gobject-introspection)
6857 (url "https://gitlab.gnome.org/GNOME/libgd")
6858 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6859 (file-name (git-file-name "libgd" version))
6861 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
6862 ("pkg-config" ,pkg-config)))
6867 ("gtksourceview" ,gtksourceview)
6868 ("libpeas" ,libpeas)
6869 ("libxml2" ,libxml2)
6870 ("iso-codes" ,iso-codes)
6871 ("python-pygobject" ,python-pygobject)
6873 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6876 ("adwaita-icon-theme" ,adwaita-icon-theme)
6877 ("libsoup" ,libsoup)
6878 ("gnome-desktop" ,gnome-desktop)))
6879 (home-page "https://wiki.gnome.org/Apps/Gedit")
6880 (synopsis "GNOME text editor")
6881 (description "While aiming at simplicity and ease of use, gedit is a
6882 powerful general purpose text editor.")
6883 (license license:gpl2+)))
6885 (define-public zenity
6891 (uri (string-append "mirror://gnome/sources/zenity/"
6892 (version-major+minor version) "/"
6893 "zenity-" version ".tar.xz"))
6896 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6897 (build-system gnu-build-system)
6899 `(("gettext" ,gettext-minimal)
6900 ("itstool" ,itstool)
6901 ("pkg-config" ,pkg-config)))
6903 `(("libnotify" ,libnotify)
6904 ("webkitgtk" ,webkitgtk)))
6905 (synopsis "Display graphical dialog boxes from shell scripts")
6906 (home-page "https://www.gnome.org")
6908 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6909 to display dialog boxes from the commandline and shell scripts.")
6910 (license license:lgpl2.0+)))
6912 (define-public mutter
6918 (uri (string-append "mirror://gnome/sources/" name "/"
6919 (version-major+minor version) "/"
6920 name "-" version ".tar.xz"))
6923 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6924 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6925 ;; versions of cogl and clutter. As a result, many of the inputs,
6926 ;; propagated-inputs, and configure flags used in cogl and clutter are
6927 ;; needed here as well.
6928 (build-system meson-build-system)
6930 '(;; XXX: All mutter tests fail with the following error:
6931 ;; Settings schema 'org.gnome.mutter' is not installed
6935 ;; TODO: Enable profiler when Sysprof is packaged.
6936 (list "-Dprofiler=false"
6937 ;; Otherwise, the RUNPATH will lack the final path component.
6938 (string-append "-Dc_link_args=-Wl,-rpath="
6939 (assoc-ref %outputs "out") "/lib:"
6940 (assoc-ref %outputs "out") "/lib/mutter-5")
6942 ;; The following flags are needed for the bundled clutter
6943 (string-append "-Dxwayland_path="
6944 (assoc-ref %build-inputs "xorg-server-xwayland")
6947 ;; the remaining flags are needed for the bundled cogl
6948 (string-append "-Dopengl_libname="
6949 (assoc-ref %build-inputs "mesa")
6951 #:phases (modify-phases %standard-phases
6952 (add-after 'unpack 'fix-build-with-mesa-20
6954 ;; Mimic upstream commit a444a4c5f58ea516ad for
6955 ;; compatibility with Mesa 20. Remove for 3.36.
6956 (substitute* '("src/backends/meta-egl-ext.h"
6957 "src/backends/meta-egl.c"
6958 "src/backends/meta-egl.h")
6959 (("#include <EGL/eglext\\.h>" all)
6960 (string-append all "\n#include <EGL/eglmesaext.h>")))
6961 (substitute* "cogl/cogl/meson.build"
6962 (("#include <EGL/eglext\\.h>" all)
6963 (string-append all "\\n#include <EGL/eglmesaext.h>")))
6966 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6967 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6968 ("gobject-introspection" ,gobject-introspection)
6969 ("intltool" ,intltool)
6970 ("pkg-config" ,pkg-config)
6971 ("xorg-server" ,xorg-server-for-tests)
6973 ("autoconf" ,autoconf)
6974 ("automake" ,automake)
6975 ("libtool" ,libtool)))
6977 `(;; libmutter.pc refers to these:
6978 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6980 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6983 ("gdk-pixbuf" ,gdk-pixbuf)
6985 ("json-glib" ,json-glib)
6986 ("libinput" ,libinput)
6988 ("libxcomposite" ,libxcomposite)
6989 ("libxdamage" ,libxdamage)
6990 ("libxext" ,libxext)
6991 ("libxfixes" ,libxfixes)
6992 ("libxkbcommon" ,libxkbcommon)
6993 ("libxrandr" ,libxrandr)
6997 ("xinput" ,xinput)))
6999 `(("elogind" ,elogind)
7000 ("gnome-desktop" ,gnome-desktop)
7001 ("gnome-settings-daemon" ,gnome-settings-daemon)
7002 ("libcanberra-gtk" ,libcanberra)
7003 ("libgudev" ,libgudev)
7006 ("libwacom" ,libwacom)
7007 ("libxkbfile" ,libxkbfile)
7008 ("libxrandr" ,libxrandr)
7009 ("libxtst" ,libxtst)
7010 ("pipewire" ,pipewire)
7011 ("startup-notification" ,startup-notification)
7012 ("upower-glib" ,upower)
7013 ("xkeyboard-config" ,xkeyboard-config)
7014 ("xorg-server-xwayland" ,xorg-server-xwayland)
7015 ("zenity" ,zenity)))
7016 (synopsis "Window and compositing manager")
7017 (home-page "https://www.gnome.org")
7019 "Mutter is a window and compositing manager that displays and manages your
7020 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7021 Clutter toolkit with solid window-management logic inherited from the Metacity
7023 (license license:gpl2+)))
7025 (define-public gnome-online-accounts
7027 (name "gnome-online-accounts")
7031 (uri (string-append "mirror://gnome/sources/" name "/"
7032 (version-major+minor version) "/"
7033 name "-" version ".tar.xz"))
7036 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7037 (outputs '("out" "lib"))
7038 (build-system glib-or-gtk-build-system)
7041 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7043 (modify-phases %standard-phases
7044 (add-before 'configure 'patch-libgoa-output
7045 (lambda* (#:key outputs #:allow-other-keys)
7046 (let ((lib (assoc-ref outputs "lib")))
7047 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7049 (("@exec_prefix@") lib)
7050 (("@libdir@") (string-append lib "/lib"))
7051 (("@includedir@") (string-append lib "/include"))
7052 (("@datadir@") (string-append lib "/share")))
7053 ;; Make sure gobject-introspection knows about the output
7054 ;; too (see <https://bugs.gnu.org/36535>).
7055 (setenv "outputs" "out lib")
7058 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7059 ("gobject-introspection" ,gobject-introspection)
7060 ("intltool" ,intltool)
7061 ("pkg-config" ,pkg-config)
7063 ("xsltproc" ,libxslt)))
7065 `(("glib" ,glib) ; required by goa-1.0.pc
7066 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7068 `(("docbook-xsl" ,docbook-xsl)
7069 ("json-glib" ,json-glib)
7070 ("libsecret" ,libsecret)
7072 ("webkitgtk" ,webkitgtk)))
7073 (synopsis "Single sign-on framework for GNOME")
7074 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7076 "GNOME Online Accounts provides interfaces so that applications and
7077 libraries in GNOME can access the user's online accounts. It has providers for
7078 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7079 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7080 (license license:lgpl2.0+)))
7082 (define-public evolution-data-server
7084 (name "evolution-data-server")
7088 (uri (string-append "mirror://gnome/sources/" name "/"
7089 (version-major+minor version) "/"
7090 name "-" version ".tar.xz"))
7091 (patches (search-patches "evolution-data-server-locales.patch"
7092 "evolution-data-server-libical-compat.patch"))
7095 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7096 (build-system cmake-build-system)
7099 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7100 (runpaths (map (lambda (s)
7101 (string-append lib "/evolution-data-server/" s))
7102 '("addressbook-backends" "calendar-backends"
7103 "camel-providers" "credential-modules"
7104 "registry-modules"))))
7105 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7106 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7107 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7108 "-DENABLE_VALA_BINDINGS=ON"
7109 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7110 (string-append lib "/evolution-data-server;")
7111 (string-join runpaths ";"))
7112 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7114 (modify-phases %standard-phases
7115 (add-after 'unpack 'disable-failing-tests
7117 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7118 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7119 (delete-file-recursively "tests/book-migration")
7120 (substitute* "tests/CMakeLists.txt"
7121 (("add_subdirectory\\(book-migration\\)") ""))
7123 (add-after 'unpack 'patch-paths
7125 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7126 "tests/libedata-book/data-test-utils.c"
7127 "tests/libedata-book/test-book-cache-utils.c"
7128 "tests/libedata-cal/test-cal-cache-utils.c")
7129 (("/bin/rm") (which "rm")))
7131 (add-before 'configure 'dont-override-rpath
7133 (substitute* "CMakeLists.txt"
7134 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7135 ;; Remove it so the configure flag is respected.
7136 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7139 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7140 ("gobject-introspection" ,gobject-introspection)
7142 ("intltool" ,intltool)
7143 ("pkg-config" ,pkg-config)
7145 ("python" ,python-wrapper)))
7147 ;; These are all in the Requires field of .pc files.
7149 ("libical" ,libical)
7150 ("libsecret" ,libsecret)
7151 ("libsoup" ,libsoup)
7153 ("sqlite" ,sqlite)))
7157 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7158 ("json-glib" ,json-glib)
7159 ("libcanberra" ,libcanberra)
7160 ("libgweather" ,libgweather)
7161 ("mit-krb5" ,mit-krb5)
7162 ("openldap" ,openldap)
7163 ("webkitgtk" ,webkitgtk)))
7164 (synopsis "Store address books and calendars")
7165 (home-page "https://wiki.gnome.org/Apps/Evolution")
7167 "This package provides a unified backend for programs that work with
7168 contacts, tasks, and calendar information. It was originally developed for
7169 Evolution (hence the name), but is now used by other packages as well.")
7170 (license license:lgpl2.0)))
7172 (define-public caribou
7178 (uri (string-append "mirror://gnome/sources/" name "/"
7179 (version-major+minor version) "/"
7180 name "-" version ".tar.xz"))
7183 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7184 (build-system glib-or-gtk-build-system)
7187 (modify-phases %standard-phases
7190 (lambda* (#:key outputs #:allow-other-keys)
7191 (let ((out (assoc-ref outputs "out")))
7192 ;; Use absolute shared library path in Caribou-1.0.typelib.
7193 (substitute* "libcaribou/Makefile"
7194 (("--shared-library=libcaribou.so")
7195 (string-append "--shared-library="
7196 out "/lib/libcaribou.so")))
7198 (add-after 'install 'wrap-programs
7199 (lambda* (#:key outputs #:allow-other-keys)
7200 (let* ((out (assoc-ref outputs "out"))
7201 (python-path (getenv "PYTHONPATH"))
7202 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7206 `("PYTHONPATH" ":" prefix (,python-path))
7207 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7208 (list (string-append out "/bin/caribou-preferences")
7209 (string-append out "/libexec/antler-keyboard"))))
7212 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7213 ("gobject-introspection" ,gobject-introspection)
7214 ("intltool" ,intltool)
7215 ("pkg-config" ,pkg-config)
7218 ("xsltproc" ,libxslt)))
7220 ;; caribou-1.0.pc refers to all these.
7221 `(("libgee" ,libgee)
7222 ("libxklavier" ,libxklavier)
7223 ("libxtst" ,libxtst)
7226 `(("clutter" ,clutter)
7229 ("python-pygobject" ,python-pygobject)))
7230 (synopsis "Text entry and UI navigation application")
7231 (home-page "https://wiki.gnome.org/Projects/Caribou")
7233 "Caribou is an input assistive technology intended for switch and pointer
7235 (license license:lgpl2.1)))
7237 (define-public network-manager
7239 (name "network-manager")
7243 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7244 (version-major+minor version) "/"
7245 "NetworkManager-" version ".tar.xz"))
7246 (patches (search-patches "network-manager-plugin-path.patch"))
7249 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7250 (modules '((guix build utils)))
7253 (substitute* "src/devices/wwan/nm-modem-manager.c"
7254 (("systemd") "elogind"))
7256 (build-system meson-build-system)
7258 "doc")) ; 8 MiB of gtk-doc HTML
7261 (let ((out (assoc-ref %outputs "out"))
7262 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7265 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7267 (string-append "-Dc_link_args=-Wl,-rpath="
7269 out "/lib/NetworkManager/" ,version)
7270 "-Dsystemd_journal=false"
7271 "-Dsession_tracking=elogind"
7272 "-Dsuspend_resume=elogind"
7273 "-Dsystemdsystemunitdir=no"
7274 "-Dsession_tracking_consolekit=false"
7283 "--localstatedir=/var"
7284 (string-append "-Dudev_dir="
7286 (string-append "-Ddbus_conf_dir="
7287 out "/etc/dbus-1/system.d")
7289 (string-append "-Ddhclient=" dhclient)))
7291 (modify-phases %standard-phases
7292 (add-before 'configure 'pre-configure
7294 ;; These tests try to test aspects of network-manager's
7295 ;; functionality within restricted containers, but they don't
7296 ;; cope with being already in the Guix build jail as that jail
7297 ;; lacks some features that they would like to proxy over (like
7299 (substitute* "src/platform/tests/meson.build"
7300 ((".*test-address-linux.*") "")
7301 ((".*test-cleanup-linux.*") "")
7302 ((".*test-link-linux.*") "")
7303 ((".*test-route-linux.*") ""))
7304 (substitute* "src/devices/tests/meson.build"
7305 ((".*test-acd.*") "")
7306 ((".*test-lldp.*") ""))
7308 (add-after 'unpack 'patch-docbook-xml
7309 (lambda* (#:key inputs #:allow-other-keys)
7310 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7311 "/xml/dtd/docbook")))
7312 (substitute* (find-files "." ".*\\.(xsl|xml)")
7313 (("http://.*/docbookx\\.dtd")
7314 (string-append xmldoc "/docbookx.dtd")))
7316 (add-before 'check 'pre-check
7318 ;; For the missing /etc/machine-id.
7319 (setenv "DBUS_FATAL_WARNINGS" "0")
7321 (add-before 'install 'no-polkit-magic
7322 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7324 (setenv "PKEXEC_UID" "something")
7326 (add-after 'install 'move-doc
7327 (lambda* (#:key outputs #:allow-other-keys)
7328 (let ((out (assoc-ref outputs "out"))
7329 (doc (assoc-ref outputs "doc")))
7330 (mkdir-p (string-append doc "/share"))
7331 (for-each (lambda (directory)
7332 (copy-recursively (string-append out directory)
7333 (string-append doc directory))
7334 (delete-file-recursively
7335 (string-append out directory)))
7336 '("/share/doc" "/share/gtk-doc"))
7341 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7342 ("gtk-doc" ,gtk-doc)
7343 ("gobject-introspection" ,gobject-introspection)
7344 ("docbook-xml" ,docbook-xml)
7345 ("docbook-xsl" ,docbook-xsl)
7346 ("intltool" ,intltool)
7347 ("libxslt" ,libxslt)
7348 ("libxml2" ,libxml2)
7349 ("pkg-config" ,pkg-config)
7352 ("python" ,python-wrapper)
7353 ("python-dbus" ,python-dbus)
7354 ("python-pygobject" ,python-pygobject)))
7357 ("cyrus-sasl" ,cyrus-sasl)
7358 ("dbus-glib" ,dbus-glib)
7359 ("dnsmasq" ,dnsmasq)
7362 ("iptables" ,iptables)
7363 ("isc-dhcp" ,isc-dhcp)
7364 ("iwd" ,iwd) ; wpa_supplicant alternative
7365 ("jansson" ,jansson)
7367 ("libgcrypt" ,libgcrypt)
7368 ("libgudev" ,libgudev)
7371 ("libsoup" ,libsoup)
7372 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7373 ("modem-manager" ,modem-manager)
7374 ("newt" ,newt) ;for the 'nmtui' console interface
7375 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7378 ("readline" ,readline)
7379 ("util-linux" ,util-linux)
7380 ("elogind" ,elogind)))
7381 (synopsis "Network connection manager")
7382 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7384 "NetworkManager is a system network service that manages your network
7385 devices and connections, attempting to keep active network connectivity when
7386 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7387 devices, and provides VPN integration with a variety of different VPN
7389 ;; “This NetworkManager project consists of the daemon, client tools, and
7390 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7392 (license (list license:gpl2+
7394 (properties '((upstream-name . "NetworkManager")))))
7396 (define-public network-manager-openvpn
7398 (name "network-manager-openvpn")
7403 "mirror://gnome/sources/NetworkManager-openvpn/"
7404 (version-major+minor version)
7405 "/NetworkManager-openvpn-" version ".tar.xz"))
7408 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7409 (build-system gnu-build-system)
7411 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7413 (modify-phases %standard-phases
7414 (add-after 'configure 'patch-path
7415 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7416 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7418 (modprobe (string-append (assoc-ref inputs "kmod")
7420 (pretty-ovpn (string-append "\"" ovpn "\"")))
7424 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7425 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7426 (("\"/sbin/openvpn\"") pretty-ovpn)
7427 (("/sbin/modprobe") modprobe)))
7428 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7431 `(("pkg-config" ,pkg-config)
7432 ("intltool" ,intltool)))
7436 ("openvpn" ,openvpn)
7437 ("network-manager" ,network-manager)
7439 ("libsecret" ,libsecret)))
7440 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7441 (synopsis "OpenVPN plug-in for NetworkManager")
7443 "This extension of NetworkManager allows it to take care of connections
7444 to virtual private networks (VPNs) via OpenVPN.")
7445 (license license:gpl2+)
7446 (properties `((upstream-name . "NetworkManager-openvpn")))))
7448 (define-public network-manager-vpnc
7450 (name "network-manager-vpnc")
7455 "mirror://gnome/sources/NetworkManager-vpnc/"
7456 (version-major+minor version)
7457 "/NetworkManager-vpnc-" version ".tar.xz"))
7460 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7461 (build-system gnu-build-system)
7463 `(#:configure-flags '("--enable-absolute-paths"
7464 "--localstatedir=/var"
7465 ;; libnm-glib has been removed from network-manager
7466 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7467 "--with-libnm-glib=no")
7469 (modify-phases %standard-phases
7470 (add-after 'configure 'patch-path
7471 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7472 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7474 (modprobe (string-append (assoc-ref inputs "kmod")
7476 (pretty-ovpn (string-append "\"" vpnc "\"")))
7477 (substitute* "src/nm-vpnc-service.c"
7478 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7479 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7480 (("\"/sbin/vpnc\"") pretty-ovpn)
7481 (("/sbin/modprobe") modprobe)))
7484 `(("pkg-config" ,pkg-config)
7485 ("intltool" ,intltool)))
7490 ("network-manager" ,network-manager)
7492 ("libsecret" ,libsecret)))
7493 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7494 (synopsis "VPNC plug-in for NetworkManager")
7496 "Support for configuring virtual private networks based on VPNC.
7497 Compatible with Cisco VPN concentrators configured to use IPsec.")
7498 (license license:gpl2+)
7499 (properties `((upstream-name . "NetworkManager-vpnc")))))
7501 (define-public network-manager-openconnect
7503 (name "network-manager-openconnect")
7508 "mirror://gnome/sources/NetworkManager-openconnect/"
7509 (version-major+minor version)
7510 "/NetworkManager-openconnect-" version ".tar.xz"))
7513 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7514 (build-system gnu-build-system)
7516 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7518 (modify-phases %standard-phases
7519 (add-after 'configure 'patch-path
7520 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7521 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7522 "/sbin/openconnect"))
7523 (modprobe (string-append (assoc-ref inputs "kmod")
7525 (pretty-ovpn (string-append "\"" openconnect "\"")))
7526 (substitute* "src/nm-openconnect-service.c"
7527 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7528 (("/sbin/modprobe") modprobe)))
7531 `(("intltool" ,intltool)
7533 ("pkg-config" ,pkg-config)))
7538 ("libsecret" ,libsecret)
7539 ("libxml2" ,libxml2)
7541 ("network-manager" ,network-manager)
7542 ("openconnect" ,openconnect)))
7543 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7544 (synopsis "OpenConnect plug-in for NetworkManager")
7546 "This extension of NetworkManager allows it to take care of connections
7547 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7548 Cisco's AnyConnect SSL VPN.")
7549 (license license:gpl2+)
7550 (properties `((upstream-name . "NetworkManager-openconnect")
7552 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7553 ;; file refers to account "nm-openconnect". Specify it here
7554 ;; so that 'network-manager-service-type' creates it.
7555 (user-accounts . ("nm-openconnect"))))))
7557 (define-public mobile-broadband-provider-info
7559 (name "mobile-broadband-provider-info")
7560 (version "20190116")
7564 "mirror://gnome/sources/"
7565 "mobile-broadband-provider-info/" version "/"
7566 "mobile-broadband-provider-info-" version ".tar.xz"))
7569 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7570 (build-system gnu-build-system)
7572 `(#:tests? #f)) ; no tests
7573 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7574 (synopsis "Database of broadband connection configuration")
7575 (description "Database of broadband connection configuration.")
7576 (license license:public-domain)))
7578 (define-public network-manager-applet
7580 (name "network-manager-applet")
7584 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7585 (version-major+minor version) "/"
7586 "network-manager-applet-" version ".tar.xz"))
7589 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
7590 (build-system meson-build-system)
7592 '(#:glib-or-gtk? #t))
7594 `(("intltool" ,intltool)
7595 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7596 ("gobject-introspection" ,gobject-introspection)
7597 ("gtk-doc" ,gtk-doc)
7598 ("pkg-config" ,pkg-config)))
7600 ;; libnm-gtk.pc refers to all these.
7601 `(("dbus-glib" ,dbus-glib)
7603 ("network-manager" ,network-manager)
7604 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7605 ("libnma" ,libnma)))
7608 ("libgudev" ,libgudev)
7609 ("libnotify" ,libnotify)
7610 ("libsecret" ,libsecret)
7611 ("libselinux" ,libselinux)
7612 ("jansson" ,jansson) ; for team support
7613 ("modem-manager" ,modem-manager)))
7614 (synopsis "Applet for managing network connections")
7615 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7617 "This package contains a systray applet for NetworkManager. It displays
7618 the available networks and allows users to easily switch between them.")
7619 (license license:gpl2+)))
7621 (define-public libxml++
7627 (uri (string-append "mirror://gnome/sources/" name "/"
7628 (version-major+minor version) "/"
7629 name "-" version ".tar.xz"))
7632 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
7633 (build-system gnu-build-system)
7634 ;; libxml++-3.0.pc refers to all these.
7636 `(("libxml2" ,libxml2)
7637 ("glibmm" ,glibmm)))
7640 ("pkg-config" ,pkg-config)))
7641 (home-page "http://libxmlplusplus.sourceforge.net/")
7642 (synopsis "C++ wrapper for XML parser library libxml2")
7644 "This package provides a C++ wrapper for the XML parser library
7646 (license license:lgpl2.1+)))
7648 (define-public libxml++-2
7655 (uri (string-append "mirror://gnome/sources/" name "/"
7656 (version-major+minor version) "/"
7657 name "-" version ".tar.xz"))
7660 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
7668 (uri (string-append "mirror://gnome/sources/" name "/"
7669 (version-major+minor version) "/"
7670 name "-" version ".tar.xz"))
7673 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
7674 (patches (search-patches "gdm-default-session.patch"))))
7675 (build-system glib-or-gtk-build-system)
7678 `("--without-plymouth"
7679 "--disable-systemd-journal"
7681 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
7682 ;; instead of having to replace it (i.e., stopping the mingetty
7683 ;; service for TTY 1 before starting GDM).
7684 "--with-initial-vt=7"
7686 ;; Use '/etc/environment' for locale settings instead of the
7687 ;; systemd-specific '/etc/locale.conf'.
7688 "--with-lang-file=/etc/environment"
7690 ,(string-append "--with-udevdir="
7691 (assoc-ref %outputs "out") "/lib/udev")
7693 "--localstatedir=/var"
7694 ,(string-append "--with-default-path="
7695 (string-join '("/run/setuid-programs"
7696 "/run/current-system/profile/bin"
7697 "/run/current-system/profile/sbin")
7699 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
7700 ;; XDG_DATA_DIRS so that it finds its schemas.
7701 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
7703 (modify-phases %standard-phases
7705 'configure 'pre-configure
7706 (lambda* (#:key inputs outputs #:allow-other-keys)
7707 ;; We don't have <systemd/sd-daemon.h>.
7708 (substitute* '("common/gdm-log.c"
7709 "daemon/gdm-server.c"
7710 "daemon/gdm-session-worker.c"
7711 "daemon/gdm-session-worker-job.c")
7712 (("#include <systemd/sd-daemon\\.h>") ""))
7713 ;; Use elogind for sd-login.
7714 (substitute* '("common/gdm-common.c"
7715 "daemon/gdm-local-display-factory.c"
7716 "daemon/gdm-manager.c"
7717 "libgdm/gdm-user-switching.c")
7718 (("#include <systemd/sd-login\\.h>")
7719 "#include <elogind/sd-login.h>"))
7720 ;; Check for elogind.
7721 (substitute* '("configure")
7724 ;; Look for system-installed sessions in
7725 ;; /run/current-system/profile/share.
7726 (substitute* '("libgdm/gdm-sessions.c"
7727 "daemon/gdm-session.c"
7728 "daemon/gdm-display.c"
7729 "daemon/gdm-launch-environment.c")
7731 "\"/run/current-system/profile/share/x")
7732 (("DATADIR \"/wayland")
7733 "\"/run/current-system/profile/share/wayland")
7734 (("DATADIR \"/gnome")
7735 "\"/run/current-system/profile/share/gnome"))
7736 (let ((propagate '("GDM_CUSTOM_CONF"
7740 ;; XXX: Remove this once GNOME Shell is
7741 ;; a dependency of GDM.
7743 (substitute* "daemon/gdm-session.c"
7744 (("set_up_session_environment \\(self\\);")
7745 (apply string-append
7746 "set_up_session_environment (self);\n"
7749 "gdm_session_set_environment_variable "
7750 "(self, \"" name "\","
7751 "g_getenv (\"" name "\"));\n"))
7753 ;; Find the configuration file using an environment variable.
7754 (substitute* '("common/gdm-settings.c")
7755 (("GDM_CUSTOM_CONF")
7756 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
7757 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
7758 " : GDM_CUSTOM_CONF)")))
7759 ;; Use service-supplied path to X.
7760 (substitute* '("daemon/gdm-server.c")
7761 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
7762 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
7763 (substitute* '("daemon/gdm-wayland-session.c"
7764 "daemon/gdm-x-session.c")
7765 (("\"dbus-daemon\"")
7766 "g_getenv (\"GDM_DBUS_DAEMON\")")
7768 "g_getenv (\"GDM_X_SERVER\")")
7769 (("GDMCONFDIR \"/Xsession\"")
7770 "g_getenv (\"GDM_X_SESSION\")"))
7771 ;; Use an absolute path for GNOME Session.
7772 (substitute* "daemon/gdm-launch-environment.c"
7773 (("\"gnome-session\"")
7774 (string-append "\"" (assoc-ref inputs "gnome-session")
7775 "/bin/gnome-session\"")))
7776 ;; Do not automatically select the placeholder session.
7777 (substitute* "daemon/gdm-session.c"
7778 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
7779 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
7780 "(g_strcmp0(search_dirs[i], \""
7781 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
7783 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
7784 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
7785 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
7787 ;; GDM requires that there be at least one desktop entry
7788 ;; file. This phase installs a hidden one that simply
7789 ;; fails. This enables users to use GDM with a
7790 ;; '~/.xsession' script with no other desktop entry files.
7791 ;; See <https://bugs.gnu.org/35068>.
7792 (add-after 'install 'install-placeholder-desktop-entry
7793 (lambda* (#:key inputs outputs #:allow-other-keys)
7794 (let* ((out (assoc-ref outputs "out"))
7795 (sessions (string-append out "/share/gdm/BuiltInSessions"))
7796 (fail (string-append sessions "/fail.desktop")))
7798 (with-output-to-file fail
7802 '("[Desktop Entry]\n"
7804 "Type=Application\n"
7806 "Comment=This session fails immediately.\n"
7810 ;; GDM needs GNOME Session to run these applications. We link
7811 ;; their autostart files in `share/gdm/greeter/autostart'
7812 ;; because GDM explicitly tells GNOME Session to look there.
7814 ;; XXX: GNOME Shell should be linked here too, but currently
7815 ;; GNOME Shell depends on GDM.
7816 (add-after 'install 'link-autostart-files
7817 (lambda* (#:key inputs outputs #:allow-other-keys)
7818 (let* ((out (assoc-ref outputs "out"))
7819 (autostart (string-append out "/share/gdm/"
7820 "greeter/autostart"))
7821 (settings (assoc-ref inputs "gnome-settings-daemon")))
7823 (with-directory-excursion autostart
7824 (for-each (lambda (desktop)
7825 (symlink desktop (basename desktop)))
7826 (find-files (string-append settings "/etc/xdg"))))
7830 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7831 ("gobject-introspection" ,gobject-introspection)
7832 ("intltool" ,intltool)
7833 ("itstool" ,itstool)
7834 ("pkg-config" ,pkg-config)
7835 ("xmllint" ,libxml2)))
7837 `(("accountsservice" ,accountsservice)
7838 ("check" ,check) ; for testing
7839 ("elogind" ,elogind)
7840 ("gnome-session" ,gnome-session)
7841 ("gnome-settings-daemon" ,gnome-settings-daemon)
7843 ("iso-codes" ,iso-codes)
7844 ("libcanberra" ,libcanberra)
7845 ("linux-pam" ,linux-pam)))
7846 (synopsis "Display manager for GNOME")
7847 (home-page "https://wiki.gnome.org/Projects/GDM/")
7849 "GNOME Display Manager is a system service that is responsible for
7850 providing graphical log-ins and managing local and remote displays.")
7851 (license license:gpl2+)))
7853 (define-public libgtop
7859 (uri (string-append "mirror://gnome/sources/libgtop/"
7860 (version-major+minor version) "/"
7861 "libgtop-" version ".tar.xz"))
7864 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
7865 (build-system gnu-build-system)
7867 `(("gobject-introspection" ,gobject-introspection)
7868 ("intltool" ,intltool)
7870 ("pkg-config" ,pkg-config)))
7872 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7873 (synopsis "Portable system access library")
7874 (home-page "https://www.gnome.org/")
7876 "LibGTop is a library to get system specific data such as CPU and memory
7877 usage and information about running processes.")
7878 (license license:gpl2+)))
7880 (define-public gnome-bluetooth
7882 (name "gnome-bluetooth")
7886 (uri (string-append "mirror://gnome/sources/" name "/"
7887 (version-major+minor version) "/"
7888 name "-" version ".tar.xz"))
7891 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
7892 (build-system meson-build-system)
7894 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7895 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7896 ("gobject-introspection" ,gobject-introspection)
7897 ("intltool" ,intltool)
7898 ("pkg-config" ,pkg-config)
7899 ("xmllint" ,libxml2)))
7901 ;; gnome-bluetooth-1.0.pc refers to all these.
7906 ("libcanberra" ,libcanberra)
7907 ("libnotify" ,libnotify)))
7908 (synopsis "GNOME Bluetooth subsystem")
7909 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7911 "This package contains tools for managing and manipulating Bluetooth
7912 devices using the GNOME desktop.")
7913 (license license:lgpl2.1+)))
7915 (define-public gnome-control-center
7917 (name "gnome-control-center")
7921 (uri (string-append "mirror://gnome/sources/" name "/"
7922 (version-major+minor version) "/"
7923 name "-" version ".tar.xz"))
7926 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7927 (build-system meson-build-system)
7931 (list "-Dcheese=false"
7932 (string-append "-Dgnome_session_libexecdir="
7933 (assoc-ref %build-inputs "gnome-session")
7936 (modify-phases %standard-phases
7937 (add-before 'configure 'patch-paths
7938 (lambda* (#:key inputs #:allow-other-keys)
7939 (let ((libc (assoc-ref inputs "libc"))
7940 (tzdata (assoc-ref inputs "tzdata"))
7941 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7942 (nm-applet (assoc-ref inputs "network-manager-applet"))
7943 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7944 (substitute* "panels/datetime/tz.h"
7945 (("/usr/share/zoneinfo/zone.tab")
7946 (string-append tzdata "/share/zoneinfo/zone.tab")))
7947 (substitute* "tests/datetime/test-endianess.c"
7948 (("/usr/share/locale")
7949 (string-append libc "/share/locale")))
7950 (substitute* "panels/region/cc-region-panel.c"
7951 (("\"gkbd-keyboard-display")
7952 (string-append "\"" libgnomekbd
7953 "/bin/gkbd-keyboard-display")))
7954 (substitute* '("panels/network/net-device-wifi.c"
7955 "panels/network/net-device.c"
7956 "panels/network/connection-editor/net-connection-editor.c")
7957 (("\"nm-connection-editor")
7958 (string-append "\"" nm-applet
7959 "/bin/nm-connection-editor")))
7960 (substitute* '("panels/user-accounts/run-passwd.c")
7961 (("/usr/bin/passwd")
7962 "/run/setuid-programs/passwd"))
7963 (substitute* "panels/info/cc-info-overview-panel.c"
7964 (("DATADIR \"/gnome/gnome-version.xml\"")
7965 (string-append "\"" gnome-desktop
7966 "/share/gnome/gnome-version.xml\"")))
7968 (add-after 'unpack 'skip-gtk-update-icon-cache
7969 ;; Don't create 'icon-theme.cache'.
7971 (substitute* "build-aux/meson/meson_post_install.py"
7972 (("gtk-update-icon-cache") (which "true")))
7975 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7976 ("intltool" ,intltool)
7977 ("pkg-config" ,pkg-config)
7978 ("xsltproc" ,libxslt)
7980 ("hicolor-icon-theme" ,hicolor-icon-theme)
7981 ("python-dbusmock" ,python-dbusmock)
7982 ("xorg-server" ,xorg-server-for-tests)))
7984 `(("accountsservice" ,accountsservice)
7985 ("clutter-gtk" ,clutter-gtk)
7986 ("colord-gtk" ,colord-gtk)
7989 ("docbook-xsl" ,docbook-xsl)
7990 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7991 ("gnome-bluetooth" ,gnome-bluetooth)
7992 ("gnome-desktop" ,gnome-desktop)
7993 ("gnome-online-accounts" ,gnome-online-accounts)
7994 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7995 ("gnome-session" ,gnome-session)
7996 ("gnome-settings-daemon" ,gnome-settings-daemon)
8000 ("libcanberra" ,libcanberra)
8001 ("libgnomekbd" ,libgnomekbd)
8002 ("libgudev" ,libgudev)
8003 ("libgtop" ,libgtop)
8005 ("libpwquality" ,libpwquality)
8006 ("libsecret" ,libsecret)
8007 ("libsoup" ,libsoup)
8008 ("libxml2" ,libxml2)
8009 ("libwacom" ,libwacom)
8011 ("mit-krb5" ,mit-krb5)
8012 ("modem-manager" ,modem-manager)
8013 ("network-manager-applet" ,network-manager-applet)
8015 ("pulseaudio" ,pulseaudio)
8016 ("smbclient" ,samba)
8019 ("upower" ,upower)))
8020 (synopsis "Utilities to configure the GNOME desktop")
8021 (home-page "https://www.gnome.org/")
8023 "This package contains configuration applets for the GNOME desktop,
8024 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8025 properties, sound setup, desktop theme and background, user interface
8026 properties, screen resolution, and other GNOME parameters.")
8027 (license license:gpl2+)))
8029 (define-public gnome-shell
8031 (name "gnome-shell")
8035 (uri (string-append "mirror://gnome/sources/" name "/"
8036 (version-major+minor version) "/"
8037 name "-" version ".tar.xz"))
8040 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
8041 (patches (search-patches "gnome-shell-theme.patch"
8042 "gnome-shell-disable-test.patch"))
8043 (modules '((guix build utils)))
8046 ;; Copy images for use on the GDM log-in screen.
8047 (copy-file #$(file-append %artwork-repository
8048 "/slim/0.x/background.png")
8049 "data/theme/guix-background.png")
8050 (copy-file #$(file-append %artwork-repository
8051 "/logo/Guix-horizontal-white.svg")
8052 "data/theme/guix-logo.svg")
8054 (build-system meson-build-system)
8057 #:disallowed-references ((,glib "bin")
8061 (list "-Dsystemd=false"
8062 ;; Otherwise, the RUNPATH will lack the final path component.
8063 (string-append "-Dc_link_args=-Wl,-rpath="
8064 (assoc-ref %outputs "out")
8065 "/lib/gnome-shell"))
8067 #:modules ((guix build meson-build-system)
8072 (modify-phases %standard-phases
8073 (add-after 'unpack 'fix-keysdir
8074 (lambda* (#:key outputs #:allow-other-keys)
8075 (let* ((out (assoc-ref outputs "out"))
8076 (keysdir (string-append
8077 out "/share/gnome-control-center/keybindings")))
8078 (substitute* "meson.build"
8080 (string-append "keysdir = '" keysdir "'\n")))
8082 (add-before 'configure 'convert-logo-to-png
8083 (lambda* (#:key inputs #:allow-other-keys)
8084 ;; Convert the logo from SVG to PNG.
8085 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8086 "data/theme/guix-logo.svg")))
8087 (add-before 'configure 'record-absolute-file-names
8088 (lambda* (#:key inputs #:allow-other-keys)
8089 (substitute* "js/misc/ibusManager.js"
8091 (string-append "'" (assoc-ref inputs "ibus")
8092 "/bin/ibus-daemon'")))
8093 (substitute* "js/ui/status/keyboard.js"
8094 (("'gkbd-keyboard-display'")
8095 (string-append "'" (assoc-ref inputs "libgnomekbd")
8096 "/bin/gkbd-keyboard-display'")))
8098 (add-before 'check 'pre-check
8099 (lambda* (#:key inputs #:allow-other-keys)
8100 ;; Tests require a running X server.
8101 (system "Xvfb :1 &")
8102 (setenv "DISPLAY" ":1")
8104 (add-after 'install 'wrap-programs
8105 (lambda* (#:key inputs outputs #:allow-other-keys)
8106 (let ((out (assoc-ref outputs "out"))
8107 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8108 (python-path (getenv "PYTHONPATH")))
8109 (wrap-program (string-append out "/bin/gnome-shell")
8110 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8111 ;; FIXME: gnome-shell loads these libraries with unqualified
8112 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8113 ;; alternative might be to patch gnome-shell.
8114 `("LD_LIBRARY_PATH" ":" prefix
8116 (string-append (assoc-ref inputs pkg) "/lib"))
8118 "gnome-bluetooth" "librsvg" "libgweather"))))
8121 (wrap-program (string-append out "/bin/" prog)
8122 `("PYTHONPATH" ":" prefix (,python-path))
8123 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8124 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8126 (replace 'glib-or-gtk-wrap
8127 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8128 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8129 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8130 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8131 ;; phase. Fix that since we don't need these.
8132 (wrap #:inputs (fold alist-delete inputs
8133 '("inkscape" "intltool" "glib:bin"))
8134 #:outputs outputs)))))))
8136 `(("asciidoc" ,asciidoc)
8137 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8138 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8139 ("gobject-introspection" ,gobject-introspection)
8140 ("inkscape" ,inkscape)
8141 ("intltool" ,intltool)
8142 ("pkg-config" ,pkg-config)
8144 ("ruby-sass" ,ruby-sass)
8146 ("xsltproc" ,libxslt)
8148 ("xorg-server" ,xorg-server-for-tests)))
8150 `(("accountsservice" ,accountsservice)
8151 ("caribou" ,caribou)
8152 ("docbook-xsl" ,docbook-xsl)
8153 ("evolution-data-server" ,evolution-data-server)
8156 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8158 ("gnome-autoar" ,gnome-autoar)
8159 ("gnome-bluetooth" ,gnome-bluetooth)
8160 ("gnome-desktop" ,gnome-desktop)
8161 ("gnome-settings-daemon" ,gnome-settings-daemon)
8162 ("gst-plugins-base" ,gst-plugins-base)
8164 ("libcanberra" ,libcanberra)
8165 ("libcroco" ,libcroco)
8166 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8167 ("libgweather" ,libgweather)
8169 ("libsoup" ,libsoup)
8170 ("mesa-headers" ,mesa-headers)
8172 ("network-manager-applet" ,network-manager-applet)
8174 ("pulseaudio" ,pulseaudio)
8175 ("python-pygobject" ,python-pygobject)
8176 ("startup-notification" ,startup-notification)
8177 ("telepathy-logger" ,telepathy-logger)
8179 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8180 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8181 ("librsvg" ,librsvg)
8182 ("geoclue" ,geoclue)))
8183 (synopsis "Desktop shell for GNOME")
8184 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8186 "GNOME Shell provides core user interface functions for the GNOME desktop,
8187 like switching to windows and launching applications.")
8188 (license license:gpl2+)))
8190 (define-public gtk-vnc
8198 (string-append "mirror://gnome/sources/" name "/"
8199 (version-major+minor version) "/"
8200 name "-" version ".tar.xz"))
8202 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8203 (build-system meson-build-system)
8205 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8208 ("glib:bin" ,glib "bin")
8209 ("gobject-introspection" ,gobject-introspection)
8210 ("intltool" ,intltool)
8213 ("pkg-config" ,pkg-config)
8214 ("python" ,python-wrapper)
8218 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8221 ("libgcrypt" ,libgcrypt)
8222 ("libsasl" ,cyrus-sasl)
8223 ("pulseaudio" ,pulseaudio)
8228 (synopsis "VNC client viewer widget for GTK+")
8229 (description "GTK-VNC is a project providing client side APIs for the RFB
8230 protocol / VNC remote desktop technology. It is built using coroutines allowing
8231 it to be completely asynchronous while remaining single threaded. It provides a
8232 core C library, and bindings for Python (PyGTK).")
8233 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8234 (license license:lgpl2.1+)))
8236 (define-public gnome-autoar
8238 (name "gnome-autoar")
8242 (uri (string-append "mirror://gnome/sources/" name "/"
8243 (version-major+minor version) "/"
8244 name "-" version ".tar.xz"))
8247 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
8248 (build-system glib-or-gtk-build-system)
8250 `(("gobject-introspection" ,gobject-introspection)
8251 ("pkg-config" ,pkg-config)))
8253 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8256 (synopsis "Archives integration support for GNOME")
8257 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8259 "GNOME Autoar is a library which makes creating and extracting archives
8260 easy, safe, and automatic.")
8261 (license license:lgpl2.1+)))
8263 (define-public tracker
8269 (uri (string-append "mirror://gnome/sources/tracker/"
8270 (version-major+minor version) "/"
8271 "tracker-" version ".tar.xz"))
8274 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
8275 (build-system meson-build-system)
8279 ;; Otherwise, the RUNPATH will lack the final path component.
8280 (list (string-append "-Dc_link_args=-Wl,-rpath="
8281 (assoc-ref %outputs "out") "/lib:"
8282 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8284 (modify-phases %standard-phases
8285 (add-before 'check 'pre-check
8287 ;; Some tests expect to write to $HOME.
8288 (setenv "HOME" "/tmp")
8291 `(("glib:bin" ,glib "bin")
8292 ("gobject-introspection" ,gobject-introspection)
8293 ("python-pygobject" ,python-pygobject)
8294 ("intltool" ,intltool)
8295 ("pkg-config" ,pkg-config)
8300 ("libxml2" ,libxml2)
8301 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8302 ("json-glib" ,json-glib)
8303 ("libsoup" ,libsoup)))
8304 (synopsis "Metadata database, indexer and search tool")
8305 (home-page "https://wiki.gnome.org/Projects/Tracker")
8307 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8309 It is a middleware component aimed at desktop application developers who want
8310 their apps to browse and search user content. It's not designed to be used
8311 directly by desktop users, but it provides a commandline tool named
8312 @command{tracker} for the adventurous.
8314 Tracker allows your application to instantly perform full-text searches across
8315 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8316 example. This is achieved by indexing the user's home directory in the
8319 Tracker also allows your application to query and list content that the user
8320 has stored. For example, GNOME Music displays all the music files that are
8321 found by Tracker. This means that GNOME Music doesn't need to maintain a
8322 database of its own.
8324 If you need to go beyond simple searches, Tracker is also a linked data
8325 endpoint and it understands SPARQL. ")
8326 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8327 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8328 ;; libstemmer is bsd-3 and the rest is gpl2+.
8329 (license (list license:gpl2+
8331 license:lgpl2.1+))))
8333 (define-public tracker-miners
8335 (name "tracker-miners")
8339 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8340 (version-major+minor version)
8341 "/tracker-miners-" version ".tar.xz"))
8344 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
8345 (build-system meson-build-system)
8349 (list "-Dminer_rss=false" ; libgrss is required.
8350 ;; Ensure the RUNPATH contains all installed library locations.
8351 (string-append "-Dc_link_args=-Wl,-rpath="
8352 (assoc-ref %outputs "out")
8353 "/lib/tracker-miners-2.0")
8354 ;; TODO: Enable functional tests. Currently, the following error
8356 ;; Exception: The functional tests require DConf to be the default
8357 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8358 "-Dfunctional_tests=false")))
8361 ("intltool" ,intltool)
8362 ("glib:bin" ,glib "bin")
8363 ("gobject-introspection" ,gobject-introspection)
8364 ("pkg-config" ,pkg-config)
8365 ("python-pygobject" ,python-pygobject)))
8367 `(("exempi" ,exempi)
8372 ("gstreamer" ,gstreamer)
8375 ("libexif" ,libexif)
8377 ("libgxps" ,libgxps)
8378 ("libiptcdata" ,libiptcdata)
8379 ("libjpeg" ,libjpeg-turbo)
8380 ("libosinfo" ,libosinfo)
8382 ("libseccomp" ,libseccomp)
8383 ("libtiff" ,libtiff)
8384 ("libvorbis" ,libvorbis)
8385 ("libxml2" ,libxml2)
8386 ("poppler" ,poppler)
8388 ("totem-pl-parser" ,totem-pl-parser)
8389 ("tracker" ,tracker)
8392 (synopsis "Metadata database, indexer and search tool")
8393 (home-page "https://wiki.gnome.org/Projects/Tracker")
8395 "Tracker is an advanced framework for first class objects with associated
8396 metadata and tags. It provides a one stop solution for all metadata, tags,
8397 shared object databases, search tools and indexing.")
8398 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8399 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8400 (license (list license:gpl2+
8402 license:lgpl2.0+))))
8404 (define-public nautilus
8410 (uri (string-append "mirror://gnome/sources/" name "/"
8411 (version-major+minor version) "/"
8412 name "-" version ".tar.xz"))
8415 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8416 (build-system meson-build-system)
8420 (modify-phases %standard-phases
8421 (add-after 'unpack 'skip-gtk-update-icon-cache
8422 ;; Don't create 'icon-theme.cache'.
8424 (substitute* "build-aux/meson/postinstall.py"
8425 (("gtk-update-icon-cache") "true"))
8427 ;; XXX: FAIL: check-nautilus
8428 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8431 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8432 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8433 ("gobject-introspection" ,gobject-introspection)
8434 ("intltool" ,intltool)
8435 ("pkg-config" ,pkg-config)))
8441 ("gnome-desktop" ,gnome-desktop)
8442 ("gnome-autoar" ,gnome-autoar)
8443 ("gst-plugins-base" ,gst-plugins-base)
8444 ("libseccomp" ,libseccomp)
8445 ("libselinux" ,libselinux)
8446 ("tracker" ,tracker)
8447 ("tracker-miners" ,tracker-miners)
8448 ;; XXX: gtk+ is required by libnautilus-extension.pc
8450 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8452 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8454 ("libexif" ,libexif)
8455 ("libxml2" ,libxml2)))
8456 (synopsis "File manager for GNOME")
8457 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8459 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8460 design and behaviour, giving the user a simple way to navigate and manage its
8462 (license license:gpl2+)))
8464 (define-public baobab
8471 "mirror://gnome/sources/" name "/"
8472 (version-major+minor version) "/"
8473 name "-" version ".tar.xz"))
8476 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
8477 (build-system meson-build-system)
8479 '(#:glib-or-gtk? #t))
8481 `(("intltool" ,intltool)
8482 ("pkg-config" ,pkg-config)
8483 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8484 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8485 ("itstool" ,itstool)
8486 ("xmllint" ,libxml2)
8487 ("glib" ,glib "bin")
8491 (synopsis "Disk usage analyzer for GNOME")
8493 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8494 usage in the GNOME desktop environment. It can easily scan device volumes or
8495 a specific user-requested directory branch (local or remote). Once the scan
8496 is complete it provides a graphical representation of each selected folder.")
8497 (home-page "https://wiki.gnome.org/Apps/Baobab")
8498 (license license:gpl2+)))
8500 (define-public gnome-backgrounds
8502 (name "gnome-backgrounds")
8507 (uri (string-append "mirror://gnome/sources/" name "/"
8508 (version-major+minor version) "/"
8509 name "-" version ".tar.xz"))
8512 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8513 (build-system meson-build-system)
8515 `(("intltool" ,intltool)))
8516 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8517 (synopsis "Background images for the GNOME desktop")
8519 "GNOME backgrounds package contains a collection of graphics files which
8520 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8521 the package creates the proper framework and directory structure so that you
8522 can add your own files to the collection.")
8523 (license (list license:gpl2+
8526 license:cc-by-sa3.0))))
8528 (define-public gnome-screenshot
8530 (name "gnome-screenshot")
8535 (uri (string-append "mirror://gnome/sources/" name "/"
8536 (version-major+minor version) "/"
8537 name "-" version ".tar.xz"))
8540 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8541 (build-system meson-build-system)
8544 (modify-phases %standard-phases
8545 (add-after 'unpack 'skip-gtk-update-icon-cache
8546 ;; Don't create 'icon-theme.cache'.
8548 (substitute* "build-aux/postinstall.py"
8549 (("gtk-update-icon-cache") "true"))
8552 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8553 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8554 ("intltool" ,intltool)
8555 ("appstream-glib" ,appstream-glib)
8556 ("pkg-config" ,pkg-config)))
8559 ("libcanberra" ,libcanberra)
8561 ("libxext" ,libxext)))
8562 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8563 (synopsis "Take pictures of your screen")
8565 "GNOME Screenshot is a utility used for taking screenshots of the entire
8566 screen, a window or a user defined area of the screen, with optional
8567 beautifying border effects.")
8568 (license license:gpl2+)))
8570 (define-public dconf-editor
8572 (name "dconf-editor")
8577 (uri (string-append "mirror://gnome/sources/" name "/"
8578 (version-major+minor version) "/"
8579 name "-" version ".tar.xz"))
8582 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8583 (build-system meson-build-system)
8585 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8586 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8587 ("intltool" ,intltool)
8588 ("pkg-config" ,pkg-config)
8593 ("libxml2" ,libxml2)))
8594 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8595 (synopsis "Graphical editor for GNOME's dconf configuration system")
8597 "Dconf-editor is a graphical tool for browsing and editing the dconf
8598 configuration system for GNOME. It allows users to configure desktop
8599 software that do not provide their own configuration interface.")
8600 (license license:lgpl2.1+)))
8602 (define-public gnome-default-applications
8604 (name "gnome-default-applications")
8606 (build-system trivial-build-system)
8609 `(("nautilus" ,nautilus)
8610 ("evince" ,evince)))
8612 `(#:modules ((guix build utils))
8615 (use-modules (guix build utils))
8616 (let* ((out (assoc-ref %outputs "out"))
8617 (apps (string-append out "/share/applications")))
8619 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
8621 (format port "[Default Applications]\n")
8622 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
8623 (format port "application/pdf=evince.desktop\n")
8624 (format port "application/postscript=evince.desktop\n")))
8626 (synopsis "Default MIME type associations for the GNOME desktop")
8628 "Given many installed packages which might handle a given MIME type, a
8629 user running the GNOME desktop probably has some preferences: for example,
8630 that folders be opened by default by the Nautilus file manager, not the Baobab
8631 disk usage analyzer. This package establishes that set of default MIME type
8632 associations for GNOME.")
8633 (license license:gpl3+)
8636 (define-public libgovirt
8642 (uri (string-append "mirror://gnome/sources/" name "/"
8643 (version-major+minor version) "/"
8644 name "-" version ".tar.xz"))
8647 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
8648 (build-system glib-or-gtk-build-system)
8650 `(("gettext" ,gettext-minimal)
8651 ("glib:bin" ,glib "bin")
8652 ("gobject-introspection" ,gobject-introspection)
8653 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8654 ("gtk+:bin" ,gtk+ "bin")
8655 ("pkg-config" ,pkg-config)))
8657 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
8659 (synopsis "GoVirt Library")
8660 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
8661 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
8662 (license license:gpl2+)))
8664 (define-public gnome-weather
8666 (name "gnome-weather")
8670 (uri (string-append "mirror://gnome/sources/" name "/"
8671 (version-major+minor version) "/"
8672 name "-" version ".tar.xz"))
8675 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
8676 (build-system meson-build-system)
8678 `(("gettext" ,gettext-minimal)
8679 ("glib:bin" ,glib "bin")
8680 ("gobject-introspection" ,gobject-introspection)
8681 ("gtk+:bin" ,gtk+ "bin")
8682 ("pkg-config" ,pkg-config)))
8684 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
8685 ("appstream-glib" ,appstream-glib)
8686 ("geoclue" ,geoclue)
8687 ("gdk-pixbuf" ,gdk-pixbuf)
8689 ("gnome-desktop" ,gnome-desktop)
8690 ("libgweather" ,libgweather)))
8694 (modify-phases %standard-phases
8695 (add-after 'install 'fix-desktop-file
8696 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
8697 ;; See https://issues.guix.gnu.org/issue/39324.
8698 (lambda* (#:key outputs #:allow-other-keys)
8699 (let* ((out (assoc-ref outputs "out"))
8700 (applications (string-append out "/share/applications")))
8701 (substitute* (string-append applications "/org.gnome.Weather.desktop")
8702 (("Exec=.*") "Exec=gnome-weather\n"))
8704 (add-after 'install 'wrap
8705 (lambda* (#:key inputs outputs #:allow-other-keys)
8706 (let ((out (assoc-ref outputs "out"))
8707 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8708 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
8709 (wrap-program (string-append out "/bin/gnome-weather")
8710 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
8712 (synopsis "Weather monitoring for GNOME desktop")
8713 (description "GNOME Weather is a small application that allows you to
8714 monitor the current weather conditions for your city, or anywhere in the
8716 (home-page "https://wiki.gnome.org/Apps/Weather")
8717 (license license:gpl2+)))
8719 (define-public gnome
8722 (version (package-version gnome-shell))
8724 (build-system trivial-build-system)
8725 (arguments '(#:builder (begin (mkdir %output) #t)))
8727 ;; TODO: Add or remove packages according to:
8728 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
8730 ;; GNOME-Core-OS-Services
8731 ("accountsservice" ,accountsservice)
8732 ("network-manager" ,network-manager)
8733 ("packagekit" ,packagekit)
8736 ("adwaita-icon-theme" ,adwaita-icon-theme)
8738 ("glib-networking" ,glib-networking)
8739 ("gnome-backgrounds" ,gnome-backgrounds)
8740 ("gnome-bluetooth" ,gnome-bluetooth)
8741 ("gnome-color-manager" ,gnome-color-manager)
8742 ("gnome-control-center" ,gnome-control-center)
8743 ("gnome-desktop" ,gnome-desktop)
8744 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
8745 ("gnome-initial-setup" ,gnome-initial-setup)
8746 ("gnome-keyring" ,gnome-keyring)
8747 ("gnome-menus" ,gnome-menus)
8748 ("gnome-session" ,gnome-session)
8749 ("gnome-settings-daemon" ,gnome-settings-daemon)
8750 ("gnome-shell-extensions" ,gnome-shell-extensions)
8751 ("gnome-shell" ,gnome-shell)
8752 ("gnome-themes-extra" ,gnome-themes-extra)
8753 ("gnome-user-docs" ,gnome-user-docs)
8754 ("gnome-user-share" ,gnome-user-share)
8755 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8761 ;; GNOME-Core-Utilities
8764 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
8765 ;; only works on x86_64, so exclude it on other architectures.
8766 ,@(if (string-prefix? "x86_64" (%current-system))
8769 ("epiphany" ,epiphany)
8771 ("file-roller" ,file-roller)
8773 ("gnome-boxes" ,gnome-boxes)
8774 ("gnome-calculator" ,gnome-calculator)
8775 ("gnome-calendar" ,gnome-calendar)
8776 ("gnome-characters" ,gnome-characters)
8777 ("gnome-clocks" ,gnome-clocks)
8778 ("gnome-contacts" ,gnome-contacts)
8779 ("gnome-disk-utility" ,gnome-disk-utility)
8780 ("gnome-font-viewer" ,gnome-font-viewer)
8781 ("gnome-maps" ,gnome-maps)
8782 ; TODO: ("gnome-music" ,gnome-music)
8783 ; TODO: ("gnome-photos" ,gnome-photos)
8784 ("gnome-screenshot" ,gnome-screenshot)
8785 ("gnome-system-monitor" ,gnome-system-monitor)
8786 ("gnome-terminal" ,gnome-terminal)
8787 ("gnome-weather" ,gnome-weather)
8788 ("nautilus" ,nautilus)
8789 ("simple-scan" ,simple-scan)
8793 ("hicolor-icon-theme" ,hicolor-icon-theme)
8794 ("gnome-online-accounts" ,gnome-online-accounts)
8796 ;; Packages not part of GNOME proper but that are needed for a good
8797 ;; experience. See <https://bugs.gnu.org/39646>.
8798 ;; XXX: Find out exactly which ones are needed and why.
8799 ("font-cantarell" ,font-cantarell)
8800 ("font-dejavu" ,font-dejavu)
8801 ("at-spi2-core" ,at-spi2-core)
8804 ("desktop-file-utils" ,desktop-file-utils)
8805 ("gnome-default-applications" ,gnome-default-applications)
8806 ("gnome-themes-standard" ,gnome-themes-standard)
8807 ("gst-plugins-base" ,gst-plugins-base)
8808 ("gst-plugins-good" ,gst-plugins-good)
8809 ("gucharmap" ,gucharmap)
8810 ("pinentry-gnome3" ,pinentry-gnome3)
8811 ("pulseaudio" ,pulseaudio)
8812 ("shared-mime-info" ,shared-mime-info)
8813 ("system-config-printer" ,system-config-printer)
8814 ("xdg-user-dirs" ,xdg-user-dirs)
8816 ("zenity" ,zenity)))
8817 (synopsis "The GNU desktop environment")
8818 (home-page "https://www.gnome.org/")
8820 "GNOME is the graphical desktop for GNU. It includes a wide variety of
8821 applications for browsing the web, editing text and images, creating
8822 documents and diagrams, playing media, scanning, and much more.")
8823 (license license:gpl2+)))
8825 (define-public byzanz
8826 ;; The last stable release of Byzanz was in 2011, but there have been many
8827 ;; useful commits made to the Byzanz repository since then that it would be
8828 ;; silly to use such an old release.
8829 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
8832 (version (string-append "0.2-1." (string-take commit 7)))
8836 (url "https://git.gnome.org/browse/byzanz")
8838 (file-name (string-append name "-" version "-checkout"))
8841 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
8842 (build-system glib-or-gtk-build-system)
8845 (modify-phases %standard-phases
8846 (add-before 'bootstrap 'build-without-Werror
8848 ;; The build system cleverly detects that we're not building from
8849 ;; a release tarball and turns on -Werror for GCC.
8850 ;; Unsurprisingly, there is a warning during compilation that
8851 ;; causes the build to fail unnecessarily, so we remove the flag.
8852 (substitute* '("configure.ac")
8856 `(("autoconf" ,autoconf)
8857 ("automake" ,automake)
8858 ("gnome-common" ,gnome-common)
8859 ("intltool" ,intltool)
8860 ("libtool" ,libtool)
8861 ("pkg-config" ,pkg-config)
8865 ("gstreamer" ,gstreamer)
8866 ("gst-plugins-base" ,gst-plugins-base)
8868 (synopsis "Desktop recording program")
8869 (description "Byzanz is a simple desktop recording program with a
8870 command-line interface. It can record part or all of an X display for a
8871 specified duration and save it as a GIF encoded animated image file.")
8872 (home-page "https://git.gnome.org/browse/byzanz")
8873 (license license:gpl2+))))
8875 (define-public gsound
8881 (uri (string-append "mirror://gnome/sources/" name "/"
8882 (version-major+minor version) "/"
8883 name "-" version ".tar.xz"))
8886 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8887 (build-system glib-or-gtk-build-system)
8889 `(("pkg-config" ,pkg-config)
8890 ("gobject-introspection" ,gobject-introspection)
8894 ("libcanberra" ,libcanberra)))
8895 (home-page "https://wiki.gnome.org/Projects/GSound")
8896 (synopsis "GObject wrapper for libcanberra")
8898 "GSound is a small library for playing system sounds. It's designed to be
8899 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8901 (license license:lgpl2.1+)))
8903 (define-public libzapojit
8909 (uri (string-append "mirror://gnome/sources/" name "/"
8910 (version-major+minor version) "/"
8911 name "-" version ".tar.xz"))
8914 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8915 (build-system gnu-build-system)
8917 `(("gobject-introspection" ,gobject-introspection)
8918 ("intltool" ,intltool)
8919 ("pkg-config" ,pkg-config)))
8921 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8922 ("json-glib" ,json-glib)
8924 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8925 (synopsis "Library for accessing SkyDrive and Hotmail")
8927 "Libzapojit is a GLib-based library for accessing online service APIs of
8928 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8929 (license license:lgpl2.1+)))
8931 (define-public gnome-clocks
8933 (name "gnome-clocks")
8937 (uri (string-append "mirror://gnome/sources/" name "/"
8938 (version-major+minor version) "/"
8939 name "-" version ".tar.xz"))
8942 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8943 (build-system meson-build-system)
8947 (modify-phases %standard-phases
8948 (add-after 'unpack 'skip-gtk-update-icon-cache
8949 ;; Don't create 'icon-theme.cache'.
8951 (substitute* "build-aux/post-install.py"
8952 (("gtk-update-icon-cache") "true"))
8956 ("pkg-config" ,pkg-config)
8957 ("glib" ,glib "bin") ; for glib-compile-resources
8958 ("desktop-file-utils" ,desktop-file-utils)
8959 ("gettext" ,gettext-minimal)
8960 ("itstool" ,itstool)))
8965 ("geoclue" ,geoclue)
8966 ("geocode-glib" ,geocode-glib)
8967 ("libgweather" ,libgweather)
8968 ("gnome-desktop" ,gnome-desktop)))
8969 (home-page "https://wiki.gnome.org/Apps/Clocks")
8970 (synopsis "GNOME's clock application")
8972 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8973 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8974 (license license:gpl3+)))
8976 (define-public gnome-calendar
8978 (name "gnome-calendar")
8982 (uri (string-append "mirror://gnome/sources/" name "/"
8983 (version-major+minor version) "/"
8984 name "-" version ".tar.xz"))
8987 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8988 (build-system meson-build-system)
8991 ;; gnome-calendar has to be installed before the tests can be run
8992 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8995 (modify-phases %standard-phases
8996 (add-after 'unpack 'skip-gtk-update-icon-cache
8997 ;; Don't create 'icon-theme.cache'.
8999 (substitute* "build-aux/meson/meson_post_install.py"
9000 (("gtk-update-icon-cache") "true"))
9003 `(("gettext" ,gettext-minimal)
9004 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9005 ("pkg-config" ,pkg-config)))
9007 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9008 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9009 ("libdazzle" ,libdazzle)
9010 ("libedataserverui" ,evolution-data-server)
9011 ("libgweather" ,libgweather)
9012 ("geoclue" ,geoclue)))
9014 `(("evolution-data-server" ,evolution-data-server)))
9015 (home-page "https://wiki.gnome.org/Apps/Calendar")
9016 (synopsis "GNOME's calendar application")
9018 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9019 desktop. It supports multiple calendars, month, week and year view.")
9020 (license license:gpl3+)))
9022 (define-public gnome-todo
9028 (uri (string-append "mirror://gnome/sources/" name "/"
9029 (version-major+minor version) "/"
9030 name "-" version ".tar.xz"))
9033 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9035 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9036 (build-system meson-build-system)
9039 #:phases (modify-phases %standard-phases
9041 'install 'wrap-gnome-todo
9042 (lambda* (#:key inputs outputs #:allow-other-keys)
9043 (let ((out (assoc-ref outputs "out"))
9044 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9045 (python-path (getenv "PYTHONPATH")))
9046 (wrap-program (string-append out "/bin/gnome-todo")
9047 ;; XXX: gi plugins are broken.
9048 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9050 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9051 `("PYTHONPATH" ":" prefix (,python-path))))
9054 `(("gettext" ,gettext-minimal)
9055 ("gobject-introspection" ,gobject-introspection)
9056 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9057 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9058 ("pkg-config" ,pkg-config)))
9060 `(("rest" ,rest) ; For Todoist plugin
9061 ("json-glib" ,json-glib) ; For Todoist plugin
9062 ("libedataserverui" ,evolution-data-server)
9063 ("libical" ,libical)
9064 ("libpeas" ,libpeas)
9065 ("python-pygobject" ,python-pygobject)
9066 ("evolution-data-server" ,evolution-data-server)
9067 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9068 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9069 (home-page "https://wiki.gnome.org/Apps/Todo")
9070 (synopsis "GNOME's ToDo Application")
9072 "GNOME To Do is a simplistic personal task manager designed to perfectly
9073 fit the GNOME desktop.")
9074 (license license:gpl3+)))
9076 (define-public gnome-dictionary
9078 (name "gnome-dictionary")
9082 (uri (string-append "mirror://gnome/sources/" name "/"
9083 (version-major+minor version) "/"
9084 name "-" version ".tar.xz"))
9087 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9088 (build-system meson-build-system)
9089 (arguments '(#:glib-or-gtk? #t
9090 #:phases (modify-phases %standard-phases
9091 (add-after 'unpack 'patch-install-script
9093 ;; This script attempts to compile glib schemas
9094 ;; and create an empty MIME database. We do
9095 ;; that elsewhere, so prevent it from running.
9096 (substitute* "build-aux/post-install.sh"
9097 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9100 `(("glib:bin" ,glib "bin")
9101 ("gobject-introspection" ,gobject-introspection)
9102 ("intltool" ,intltool)
9103 ("itstool" ,itstool)
9104 ("pkg-config" ,pkg-config)
9105 ("xmllint" ,libxml2)))
9107 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9109 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9110 (synopsis "Look up words in dictionary sources")
9112 "GNOME Dictionary can look for the definition or translation of a word in
9113 existing databases over the internet.")
9114 (license license:gpl3+)))
9116 (define-public gnome-tweaks
9118 (name "gnome-tweaks")
9122 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9123 (version-major+minor version) "/"
9124 "gnome-tweaks-" version ".tar.xz"))
9126 (list (search-patch "gnome-tweaks-search-paths.patch")))
9129 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
9130 (build-system meson-build-system)
9133 #:configure-flags '("-Dlocalstatedir=/tmp"
9134 "-Dsysconfdir=/tmp")
9135 #:imported-modules ((guix build python-build-system)
9136 ,@%meson-build-system-modules)
9138 (modify-phases %standard-phases
9139 (add-after 'unpack 'skip-gtk-update-icon-cache
9140 ;; Don't create 'icon-theme.cache'.
9142 (substitute* "meson-postinstall.py"
9143 (("gtk-update-icon-cache") "true"))
9145 (add-after 'install 'wrap
9146 (@@ (guix build python-build-system) wrap))
9147 (add-after 'wrap 'wrap-gi-typelib
9148 (lambda* (#:key inputs outputs #:allow-other-keys)
9149 (let ((out (assoc-ref outputs "out"))
9150 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9151 (wrap-program (string-append out "/bin/gnome-tweaks")
9152 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9155 `(("intltool" ,intltool)
9156 ("pkg-config" ,pkg-config)))
9158 `(("gnome-desktop" ,gnome-desktop)
9160 ("gobject-introspection" ,gobject-introspection)
9161 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9162 ("libhandy" ,libhandy)
9163 ("libnotify" ,libnotify)
9164 ("libsoup" ,libsoup)
9165 ("nautilus" ,nautilus)
9167 ("python-pygobject" ,python-pygobject)))
9168 (synopsis "Customize advanced GNOME 3 options")
9169 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9171 "GNOME Tweaks allows adjusting advanced configuration settings in
9172 GNOME 3. This includes things like the fonts used in user interface elements,
9173 alternative user interface themes, changes in window management behavior,
9174 GNOME Shell appearance and extension, etc.")
9175 (license license:gpl3+)))
9177 (define-public gnome-shell-extensions
9179 (name "gnome-shell-extensions")
9183 (uri (string-append "mirror://gnome/sources/" name "/"
9184 (version-major+minor version) "/"
9185 name "-" version ".tar.xz"))
9188 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9189 (build-system meson-build-system)
9191 '(#:configure-flags '("-Dextension_set=all")))
9193 `(("glib:bin" ,glib "bin")
9194 ("intltool" ,intltool)
9195 ("pkg-config" ,pkg-config)))
9198 (synopsis "Extensions for GNOME Shell")
9199 (description "GNOME Shell extensions modify and extend GNOME Shell
9200 functionality and behavior.")
9201 (home-page "https://extensions.gnome.org/")
9202 (license license:gpl3+)))
9204 (define-public arc-theme
9207 (version "20190917")
9211 (url "https://github.com/NicoHood/arc-theme")
9213 (file-name (git-file-name name version))
9216 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
9217 (build-system gnu-build-system)
9220 (modify-phases %standard-phases
9221 ;; autogen.sh calls configure at the end of the script.
9223 (lambda _ (invoke "autoreconf" "-vfi")))
9224 (add-before 'build 'set-home ;placate Inkscape
9226 (setenv "HOME" (getcwd))
9229 `(("autoconf" ,autoconf)
9230 ("automake" ,automake)
9231 ("glib" ,glib "bin") ; for glib-compile-resources
9232 ("gnome-shell" ,gnome-shell)
9234 ("inkscape" ,inkscape)
9235 ("optipng" ,optipng)
9236 ("pkg-config" ,pkg-config)
9237 ("sassc" ,sassc/libsass-3.5)))
9238 (synopsis "A flat GTK+ theme with transparent elements")
9239 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
9240 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
9241 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
9242 (home-page "https://github.com/horst3180/arc-theme")
9243 ;; No "or later" language found.
9244 (license license:gpl3+)))
9246 (define-public faba-icon-theme
9248 (name "faba-icon-theme")
9254 (url "https://github.com/snwh/faba-icon-theme")
9255 (commit (string-append "v" version))))
9256 (file-name (git-file-name name version))
9258 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
9259 (build-system meson-build-system)
9262 (modify-phases %standard-phases
9263 (add-before 'configure 'disable-post-install
9265 (substitute* "meson.build"
9266 (("meson.add_install_script.*") "")))))))
9268 `(("autoconf" ,autoconf)
9269 ("automake" ,automake)))
9270 (synopsis "Faba icon theme")
9272 "Faba is a minimal icon set used as a basis for other themes such as
9274 (home-page "https://snwh.org/moka")
9275 (license (list license:lgpl3+
9276 license:cc-by-sa4.0))))
9278 (define-public moka-icon-theme
9280 (inherit faba-icon-theme)
9281 (name "moka-icon-theme")
9287 (url "https://github.com/snwh/moka-icon-theme")
9288 (commit (string-append "v" version))))
9289 (file-name (git-file-name name version))
9291 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
9293 ;; Moka is based on Faba by using it as a fallback icon set instead of
9294 ;; bundling it, so we need to add it as a propagated input.
9295 `(("faba-icon-theme" ,faba-icon-theme)))
9296 (synopsis "Moka icon theme")
9297 (description "Moka is a stylized desktop icon set, designed to be clear,
9298 simple and consistent.")
9299 (license (list license:gpl3+
9300 license:cc-by-sa4.0))))
9302 (define-public arc-icon-theme
9304 (name "arc-icon-theme")
9305 (version "20161122")
9310 (url "https://github.com/horst3180/arc-icon-theme")
9312 (file-name (git-file-name name version))
9314 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
9315 (build-system gnu-build-system)
9318 (modify-phases %standard-phases
9319 (add-after 'unpack 'disable-configure-during-bootstrap
9321 (substitute* "autogen.sh"
9322 (("^\"\\$srcdir/configure\".*") ""))
9325 `(("autoconf" ,autoconf)
9326 ("automake" ,automake)))
9327 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
9329 `(("moka-icon-theme" ,moka-icon-theme)))
9330 (synopsis "Arc icon theme")
9331 (description "The Arc icon theme provides a set of icons matching the
9332 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
9333 the Moka icon theme.")
9334 (home-page "https://github.com/horst3180/arc-icon-theme")
9335 (license license:gpl3+)))
9337 (define-public folks
9344 "mirror://gnome/sources/folks/"
9345 (version-major+minor version) "/"
9346 "folks-" version ".tar.xz"))
9349 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9350 (build-system meson-build-system)
9353 (modify-phases %standard-phases
9354 (add-after 'unpack 'skip-gtk-update-icon-cache
9355 ;; Don't create 'icon-theme.cache'.
9357 (substitute* "meson_post_install.py"
9358 (("gtk-update-icon-cache") "true"))
9362 ("dbus-glib" ,dbus-glib)
9363 ("evolution-data-server" ,evolution-data-server)
9366 ("readline" ,readline)
9367 ("telepathy-glib" ,telepathy-glib)))
9369 `(("glib:bin" ,glib "bin")
9370 ("gobject-introspection" ,gobject-introspection)
9371 ("intltool" ,intltool)
9372 ("pkg-config" ,pkg-config)
9374 (synopsis "Library to aggregate data about people")
9375 (description "Libfolks is a library that aggregates information about people
9376 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9377 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9378 etc.) to create metacontacts. It's written in Vala, which generates C code when
9380 (home-page "https://wiki.gnome.org/Projects/Folks")
9381 (license license:lgpl2.1+)))
9383 (define-public gfbgraph
9390 "mirror://gnome/sources/gfbgraph/"
9391 (version-major+minor version) "/"
9392 "gfbgraph-" version ".tar.xz"))
9395 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9396 (build-system glib-or-gtk-build-system)
9398 `(#:tests? #f ; tests appear to require the network
9399 #:configure-flags '("--disable-static"
9401 "--enable-introspection")))
9403 `(("gobject-introspection" ,gobject-introspection)
9404 ("gtk-doc" ,gtk-doc)
9405 ("pkg-config" ,pkg-config)
9407 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9408 ("autoconf" ,autoconf)
9409 ("automake" ,automake)
9410 ("libtool" ,libtool)
9413 `(("json-glib" ,json-glib)
9414 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9416 (synopsis "GLib/GObject wrapper for the Facebook API")
9417 (description "This library allows you to use the Facebook API from
9418 GLib/GObject code.")
9419 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9420 (license license:lgpl2.1+)))
9422 (define-public libgnomekbd
9424 (name "libgnomekbd")
9428 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9429 (version-major+minor version) "/"
9430 "libgnomekbd-" version ".tar.xz"))
9433 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9434 (build-system gnu-build-system)
9436 `(("pkg-config" ,pkg-config)
9437 ("glib" ,glib "bin")
9438 ("intltool" ,intltool)))
9440 ;; Referred to in .h files and .pc.
9443 ("libxklavier" ,libxklavier)))
9444 (home-page "https://www.gnome.org")
9445 (synopsis "GNOME keyboard configuration library")
9447 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9448 environment, which can notably display keyboard layouts.")
9449 (license license:lgpl2.0+)))
9451 ;;; This package is no longer maintained:
9452 ;;; https://wiki.gnome.org/Attic/LibUnique
9453 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9454 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9455 (define-public libunique
9461 (uri (string-append "mirror://gnome/sources/" name "/"
9462 (version-major+minor version) "/"
9463 name "-" version ".tar.xz"))
9466 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9467 (build-system glib-or-gtk-build-system)
9469 `(#:configure-flags '("--disable-static"
9470 "--disable-dbus" ; use gdbus
9471 "--enable-introspection")))
9473 `(("pkg-config" ,pkg-config)
9474 ("gobject-introspection" ,gobject-introspection)
9475 ("glib:bin" ,glib "bin")
9476 ("gtk-doc" ,gtk-doc)))
9478 ;; Referred to in .h files and .pc.
9480 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9481 (synopsis "Library for writing single instance applications")
9483 "Libunique is a library for writing single instance applications. If you
9484 launch a single instance application twice, the second instance will either just
9485 quit or will send a message to the running instance. Libunique makes it easy to
9486 write this kind of application, by providing a base class, taking care of all
9487 the IPC machinery needed to send messages to a running instance, and also
9488 handling the startup notification side.")
9489 (license license:lgpl2.1+)))
9491 (define-public gnome-calculator
9493 (name "gnome-calculator")
9498 (uri (string-append "mirror://gnome/sources/" name "/"
9499 (version-major+minor version) "/"
9500 name "-" version ".tar.xz"))
9503 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9504 (build-system meson-build-system)
9505 (arguments '(#:glib-or-gtk? #t))
9507 `(("gettext" ,gettext-minimal)
9508 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9509 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9510 ("itstool" ,itstool)
9512 ("pkg-config" ,pkg-config)))
9515 ("gtksourceview" ,gtksourceview)
9517 ("libsoup" ,libsoup)
9518 ("libxml2" ,libxml2)
9521 (home-page "https://wiki.gnome.org/Apps/Calculator")
9522 (synopsis "Desktop calculator")
9524 "Calculator is an application that solves mathematical equations and
9525 is suitable as a default application in a Desktop environment.")
9526 (license license:gpl3)))
9535 (uri (string-append "https://launchpad.net/xpad/trunk/"
9536 version "/+download/"
9537 name "-" version ".tar.bz2"))
9540 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9541 (build-system gnu-build-system)
9543 `(("autoconf" ,autoconf)
9544 ("automake" ,automake)
9545 ("gtk+:bin" ,gtk+ "bin")
9546 ("intltool" ,intltool)
9547 ("pkg-config" ,pkg-config)))
9549 `(("gtksourceview" ,gtksourceview-3)
9551 (home-page "https://wiki.gnome.org/Apps/Xpad")
9552 (synopsis "Virtual sticky note")
9554 "Xpad is a sticky note that strives to be simple, fault tolerant,
9555 and customizable. Xpad consists of independent pad windows, each is
9556 basically a text box in which notes can be written.")
9557 (license license:gpl3+)))
9559 (define-public gucharmap
9560 (let ((unicode-files
9562 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9564 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9566 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9568 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9570 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9572 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9579 (uri (string-append "mirror://gnome/sources/" name "/"
9580 (version-major+minor version) "/"
9581 name "-" version ".tar.xz"))
9584 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9585 (build-system glib-or-gtk-build-system)
9587 `(#:modules ((ice-9 match)
9588 (guix build glib-or-gtk-build-system)
9591 (list "--with-unicode-data=../unicode-data")
9593 (modify-phases %standard-phases
9594 (add-after 'unpack 'prepare-unicode-data
9595 (lambda* (#:key inputs #:allow-other-keys)
9596 (mkdir-p "../unicode-data")
9597 (with-directory-excursion "../unicode-data"
9598 (for-each (match-lambda
9600 (install-file (assoc-ref inputs file) ".")))
9604 `(("desktop-file-utils" ,desktop-file-utils)
9605 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9606 ("gobject-introspection" ,gobject-introspection)
9607 ("intltool" ,intltool)
9608 ("itstool" ,itstool)
9609 ("pkg-config" ,pkg-config)
9610 ,@(map (match-lambda
9616 "http://www.unicode.org/Public/12.0.0/ucd/"
9618 (sha256 (base32 hash))))))
9623 ("xmllint" ,libxml2)))
9624 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9625 (synopsis "Unicode character picker and font browser")
9627 "This program allows you to browse through all the available Unicode
9628 characters and categories for the installed fonts, and to examine their
9629 detailed properties. It is an easy way to find the character you might
9630 only know by its Unicode name or code point.")
9631 (license license:gpl3+))))
9633 (define-public bluefish
9640 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
9641 "bluefish-" version ".tar.gz"))
9643 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
9644 (build-system gnu-build-system)
9646 `(("desktop-file-utils" ,desktop-file-utils)
9647 ("intltool" ,intltool)
9648 ("pkg-config" ,pkg-config)))
9650 `(("enchant" ,enchant)
9652 ("python" ,python-wrapper)
9653 ("xmllint" ,libxml2)
9654 ("gucharmap" ,gucharmap)))
9655 (home-page "http://bluefish.openoffice.nl")
9656 (synopsis "Web development studio")
9658 "Bluefish is an editor targeted towards programmers and web developers,
9659 with many options to write web sites, scripts and other code.
9660 Bluefish supports many programming and markup languages.")
9661 (license license:gpl3+)))
9663 (define-public gnome-system-monitor
9665 (name "gnome-system-monitor")
9670 (uri (string-append "mirror://gnome/sources/" name "/"
9671 (version-major+minor version) "/"
9672 name "-" version ".tar.xz"))
9675 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
9676 (build-system meson-build-system)
9679 #:configure-flags '("-Dsystemd=false")))
9681 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
9682 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
9683 ("intltool" ,intltool)
9684 ("itstool" ,itstool)
9685 ("libgtop" ,libgtop)
9687 ("pkg-config" ,pkg-config)))
9689 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
9692 ("librsvg" ,librsvg)
9693 ("libxml2" ,libxml2)
9694 ("libwnck" ,libwnck)))
9695 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
9696 (synopsis "Process viewer and system resource monitor for GNOME")
9698 "GNOME System Monitor is a GNOME process viewer and system monitor with
9699 an attractive, easy-to-use interface. It has features, such as a tree view
9700 for process dependencies, icons for processes, the ability to hide processes,
9701 graphical time histories of CPU/memory/swap usage and the ability to
9702 kill/reinice processes.")
9703 (license license:gpl2+)))
9705 (define-public python-pyatspi
9707 (name "python-pyatspi")
9712 "mirror://gnome/sources/pyatspi/"
9713 (version-major+minor version)
9714 "/pyatspi-" version ".tar.xz"))
9717 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
9718 (build-system gnu-build-system)
9721 (modify-phases %standard-phases
9722 (add-before 'build 'fix-atk-load
9724 (substitute* "pyatspi/__init__.py"
9725 (("from gi.repository import Atspi")
9726 "gi.require_version('Gtk', '3.0')
9727 from gi.repository import Gtk
9728 from gi.repository import Atspi"))
9731 `(("pkg-config" ,pkg-config)))
9733 `(("python" ,python)))
9735 `(("python-pygobject" ,python-pygobject)))
9736 (synopsis "Python client bindings for D-Bus AT-SPI")
9737 (home-page "https://wiki.linuxfoundation.org/accessibility\
9738 /atk/at-spi/at-spi_on_d-bus")
9740 "This package includes a python client library for the AT-SPI D-Bus
9741 accessibility infrastructure.")
9742 (license license:lgpl2.0)
9743 (properties '((upstream-name . "pyatspi")))))
9745 (define-public python2-pyatspi
9747 (inherit python-pyatspi)
9748 (name "python2-pyatspi")
9750 `(("python" ,python-2)))
9752 `(("python-pygobject" ,python2-pygobject)))))
9761 "mirror://gnome/sources/" name "/"
9762 (version-major+minor version) "/"
9763 name "-" version ".tar.xz"))
9766 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
9767 (build-system glib-or-gtk-build-system)
9770 (modify-phases %standard-phases
9771 (add-before 'configure 'qualify-xkbcomp
9772 (lambda* (#:key inputs #:allow-other-keys)
9773 (let ((xkbcomp (string-append
9774 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
9775 (substitute* "src/orca/orca.py"
9776 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
9778 (add-after 'install 'wrap-orca
9779 (lambda* (#:key outputs #:allow-other-keys)
9780 (let* ((out (assoc-ref outputs "out"))
9781 (prog (string-append out "/bin/orca")))
9783 `("GI_TYPELIB_PATH" ":" prefix
9784 (,(getenv "GI_TYPELIB_PATH")))
9785 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
9786 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
9787 `("PYTHONPATH" ":" prefix
9788 (,(getenv "PYTHONPATH")))))
9791 `(("intltool" ,intltool)
9792 ("itstool" ,itstool)
9793 ("pkg-config" ,pkg-config)
9794 ("xmllint" ,libxml2)))
9796 `(("at-spi2-atk" ,at-spi2-atk)
9797 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9798 ("gstreamer" ,gstreamer)
9799 ("gst-plugins-base" ,gst-plugins-base)
9800 ("gst-plugins-good" ,gst-plugins-good)
9803 ("python-pygobject" ,python-pygobject)
9804 ("python-pyatspi" ,python-pyatspi)
9805 ("python-speechd" ,speech-dispatcher)
9806 ("xkbcomp" ,xkbcomp)))
9808 "Screen reader for individuals who are blind or visually impaired")
9809 (home-page "https://wiki.gnome.org/Projects/Orca")
9811 "Orca is a screen reader that provides access to the graphical desktop
9812 via speech and refreshable braille. Orca works with applications and toolkits
9813 that support the Assistive Technology Service Provider Interface (AT-SPI).")
9814 (license license:lgpl2.1+)))
9816 (define-public gspell
9822 (uri (string-append "mirror://gnome/sources/" name "/"
9823 (version-major+minor version) "/"
9824 name "-" version ".tar.xz"))
9827 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
9828 (patches (search-patches "gspell-dash-test.patch"))))
9829 (build-system glib-or-gtk-build-system)
9831 '(#:configure-flags (list "--enable-vala")
9833 (modify-phases %standard-phases
9834 (add-before 'check 'pre-check
9835 (lambda* (#:key inputs #:allow-other-keys)
9836 ;; Tests require a running X server.
9837 (system "Xvfb :1 &")
9838 (setenv "DISPLAY" ":1")
9840 ;; For the missing /etc/machine-id.
9841 (setenv "DBUS_FATAL_WARNINGS" "0")
9843 ;; Allow Enchant and its Aspell backend to find the en_US
9845 (setenv "ASPELL_DICT_DIR"
9846 (string-append (assoc-ref inputs "aspell-dict-en")
9852 ("iso-codes" ,iso-codes)))
9854 `(("glib" ,glib "bin")
9855 ("gobject-introspection" ,gobject-introspection)
9856 ("pkg-config" ,pkg-config)
9857 ("vala" ,vala) ;for VAPI, needed by Geary
9858 ("xmllint" ,libxml2)
9861 ("aspell-dict-en" ,aspell-dict-en)
9862 ("xorg-server" ,xorg-server-for-tests)))
9864 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
9865 (home-page "https://wiki.gnome.org/Projects/gspell")
9866 (synopsis "GNOME's alternative spell checker")
9868 "gspell provides a flexible API to add spell-checking to a GTK+
9869 application. It provides a GObject API, spell-checking to text entries and
9870 text views, and buttons to choose the language.")
9871 (license license:gpl2+)))
9873 (define-public gnome-planner
9875 (name "gnome-planner")
9879 (uri (string-append "mirror://gnome/sources/planner/"
9880 (version-major+minor version) "/planner-"
9884 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
9885 (build-system glib-or-gtk-build-system)
9887 ;; Disable the Python bindings because the Planner program functions
9888 ;; without them, and (as of 2017-06-13) we have not packaged all of
9889 ;; packages that are necessary for building the Python bindings.
9891 (list "--disable-python"
9892 ,@(if (string=? "aarch64-linux" (%current-system))
9893 '("--build=aarch64-unknown-linux-gnu")
9896 `(("libgnomecanvas" ,libgnomecanvas)
9897 ("libgnomeui" ,libgnomeui)
9898 ("libglade" ,libglade)
9899 ("gnome-vfs" ,gnome-vfs)
9901 ("libxml2" ,libxml2)
9902 ("libxslt" ,libxslt)
9906 `(("intltool" ,intltool)
9907 ("scrollkeeper" ,scrollkeeper)
9908 ("pkg-config" ,pkg-config)))
9909 (home-page "https://wiki.gnome.org/Apps/Planner")
9910 (synopsis "Project management software for the GNOME desktop")
9912 "GNOME Planner is a project management tool based on the Work Breakdown
9913 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9914 the resources, tasks, and constraints that you define, Planner generates
9915 various views into a project. For example, Planner can show a Gantt chart of
9916 the project. It can show a detailed summary of tasks including their
9917 duration, cost, and current progress. It can also show a report of resource
9918 utilization that highlights under-utilized and over-utilized resources. These
9919 views can be printed as PDF or PostScript files, or exported to HTML.")
9920 (license license:gpl2+)))
9922 (define-public lollypop
9929 (uri (string-append "https://adishatz.org/lollypop/"
9930 "lollypop-" version ".tar.xz"))
9932 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9933 (build-system meson-build-system)
9935 `(#:imported-modules
9936 (,@%meson-build-system-modules
9937 (guix build python-build-system))
9939 ((guix build meson-build-system)
9940 ((guix build python-build-system) #:prefix python:)
9943 #:tests? #f ; no test suite
9945 (modify-phases %standard-phases
9946 (add-after 'install 'wrap-program
9947 (lambda* (#:key outputs #:allow-other-keys)
9948 (let ((out (assoc-ref outputs "out"))
9949 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9950 (wrap-program (string-append out "/bin/lollypop")
9951 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9953 (add-after 'install 'wrap-python
9954 (assoc-ref python:%standard-phases 'wrap)))))
9956 `(("intltool" ,intltool)
9957 ("itstool" ,itstool)
9958 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9959 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9960 ("pkg-config" ,pkg-config)))
9962 `(("gobject-introspection" ,gobject-introspection)
9963 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9964 ("gst-plugins-base" ,gst-plugins-base)
9965 ("libnotify" ,libnotify)
9966 ("libsecret" ,libsecret)
9967 ("libsoup" ,libsoup)
9969 ("python-beautifulsoup4" ,python-beautifulsoup4)
9970 ("python-gst" ,python-gst)
9971 ("python-pil" ,python-pillow)
9972 ("python-pycairo" ,python-pycairo)
9973 ("python-pygobject" ,python-pygobject)
9974 ("python-pylast" ,python-pylast)
9975 ("totem-pl-parser" ,totem-pl-parser)
9976 ("webkitgtk" ,webkitgtk)))
9978 `(;; gst-plugins-base is required to start Lollypop,
9979 ;; the others are required to play streaming.
9980 ("gst-plugins-good" ,gst-plugins-good)
9981 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9982 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9983 (synopsis "GNOME music playing application")
9985 "Lollypop is a music player designed to play well with GNOME desktop.
9986 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9987 from artists and tracks from the web. It also fetches cover artworks
9988 automatically and it can stream songs from online music services and charts.")
9989 (license license:gpl3+)))
9991 (define-public gnome-video-effects
9993 (name "gnome-video-effects")
9997 (uri (string-append "mirror://gnome/sources/" name "/"
9998 (version-major+minor version) "/" name "-"
10002 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
10003 (build-system glib-or-gtk-build-system)
10005 `(#:out-of-source? #f))
10007 `(("glib:bin" ,glib "bin")
10008 ("intltool" ,intltool)
10009 ("gettext" ,gettext-minimal)
10010 ("pkg-config" ,pkg-config)))
10011 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10012 (synopsis "Video effects for Cheese and other GNOME applications")
10014 "A collection of GStreamer video filters and effects to be used in
10015 photo-booth-like software, such as Cheese.")
10016 (license license:gpl2+)))
10018 (define-public cheese
10024 (uri (string-append "mirror://gnome/sources/" name "/"
10025 (version-major+minor version) "/" name "-"
10026 version ".tar.xz"))
10029 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
10031 `(#:glib-or-gtk? #t
10032 ;; Tests require GDK.
10035 (modify-phases %standard-phases
10036 (add-after 'unpack 'skip-gtk-update-icon-cache
10038 ;; Don't create 'icon-theme.cache'
10039 (substitute* "meson_post_install.py"
10040 (("gtk-update-icon-cache") (which "true")))
10042 (add-after 'install 'wrap-cheese
10043 (lambda* (#:key inputs outputs #:allow-other-keys)
10044 (let ((out (assoc-ref outputs "out"))
10045 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10046 (wrap-program (string-append out "/bin/cheese")
10047 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10049 (build-system meson-build-system)
10051 `(("docbook-xsl" ,docbook-xsl)
10052 ("glib:bin" ,glib "bin")
10053 ("gtk-doc" ,gtk-doc)
10054 ("intltool" ,intltool)
10055 ("itstool" ,itstool)
10056 ("libxml2" ,libxml2)
10057 ("libxslt" ,libxslt)
10058 ("pkg-config" ,pkg-config)
10061 `(("gnome-video-effects" ,gnome-video-effects)
10062 ("clutter" ,clutter)
10063 ("clutter-gst" ,clutter-gst)
10064 ("clutter-gtk" ,clutter-gtk)
10065 ("libcanberra" ,libcanberra)
10066 ("gdk-pixbuf" ,gdk-pixbuf)
10068 ("gstreamer" ,gstreamer)))
10070 `(("gnome-desktop" ,gnome-desktop)
10071 ("gobject-introspection" ,gobject-introspection)
10072 ("gst-plugins-base" ,gst-plugins-base)
10073 ("gst-plugins-bad" ,gst-plugins-bad)
10076 ("libxtst" ,libxtst)))
10077 (home-page "https://wiki.gnome.org/Apps/Cheese")
10078 (synopsis "Webcam photo booth software for GNOME")
10080 "Cheese uses your webcam to take photos and videos. Cheese can also
10081 apply fancy special effects and lets you share the fun with others.")
10082 (license license:gpl2+)))
10084 (define-public sound-juicer
10086 (name "sound-juicer")
10091 (uri (string-append "mirror://gnome/sources/" name "/"
10092 (version-major+minor version) "/"
10093 name "-" version ".tar.xz"))
10096 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10097 (build-system glib-or-gtk-build-system)
10099 `(("desktop-file-utils" ,desktop-file-utils)
10100 ("intltool" ,intltool)
10101 ("itstool" ,itstool)
10102 ("pkg-config" ,pkg-config)
10103 ("xmllint" ,libxml2)))
10106 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10107 ("gstreamer" ,gstreamer)
10108 ("gst-plugins-base" ,gst-plugins-base)
10109 ("gst-plugins-good" ,gst-plugins-good)
10110 ("iso-codes" ,iso-codes)
10111 ("libbrasero-media3" ,brasero)
10112 ("libcanberra" ,libcanberra)
10113 ("libdiscid" ,libdiscid)
10114 ("libmusicbrainz" ,libmusicbrainz)
10116 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10117 (synopsis "Audio music cd ripper")
10118 (description "Sound Juicer extracts audio from compact discs and convert it
10119 into audio files that a personal computer or digital audio player can play.
10120 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10121 mp3, Ogg Vorbis and FLAC")
10122 (license license:gpl2+)))
10124 (define-public soundconverter
10126 (name "soundconverter")
10131 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10132 version "/+download/"
10133 "soundconverter-" version ".tar.xz"))
10136 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10137 (build-system glib-or-gtk-build-system)
10139 `(#:imported-modules ((guix build python-build-system)
10140 (guix build glib-or-gtk-build-system)
10141 ,@%gnu-build-system-modules)
10143 #:modules ((guix build glib-or-gtk-build-system)
10145 ((guix build gnu-build-system) #:prefix gnu:)
10146 ((guix build python-build-system) #:prefix python:))
10149 (modify-phases %standard-phases
10150 (add-after 'install 'wrap-soundconverter-for-python
10151 (assoc-ref python:%standard-phases 'wrap))
10152 (add-after 'install 'wrap-soundconverter
10153 (lambda* (#:key inputs outputs #:allow-other-keys)
10154 (let ((out (assoc-ref outputs "out"))
10155 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10156 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10157 (wrap-program (string-append out "/bin/soundconverter")
10158 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10159 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10162 `(("intltool" ,intltool)
10163 ("pkg-config" ,pkg-config)
10164 ("glib:bin" ,glib "bin")))
10168 ("python-pygobject" ,python-pygobject)
10169 ("gstreamer" ,gstreamer)
10170 ("gst-plugins-base" ,gst-plugins-base)))
10171 (home-page "https://soundconverter.org/")
10172 (synopsis "Convert between audio formats with a graphical interface")
10174 "SoundConverter supports converting between many audio formats including
10175 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10176 configurable file renaming. ")
10177 (license license:gpl3)))
10179 (define-public workrave
10182 (version "1.10.42")
10186 (uri (git-reference
10187 (url "https://github.com/rcaelers/workrave")
10188 (commit (string-append "v" (string-map
10189 (match-lambda (#\. #\_) (chr chr))
10191 (file-name (git-file-name name version))
10193 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10194 (build-system glib-or-gtk-build-system)
10196 ;; The only tests are maintainer tests (in po/), which fail.
10198 (inputs `(("glib" ,glib)
10200 ("gdk-pixbuf" ,gdk-pixbuf)
10204 ("libxtst" ,libxtst)
10208 ("libxscrnsaver" ,libxscrnsaver)))
10209 (native-inputs `(("boost" ,boost)
10210 ("pkg-config" ,pkg-config)
10211 ("gettext" ,gettext-minimal)
10212 ("autoconf" ,autoconf)
10213 ("autoconf-archive" , autoconf-archive)
10214 ("automake" ,automake)
10215 ("libtool" ,libtool)
10216 ("intltool" ,intltool)
10217 ("gobject-introspection" ,gobject-introspection)
10218 ("python3" ,python-3)
10219 ("python-jinja2" ,python-jinja2)))
10220 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10222 "Workrave is a program that assists in the recovery and prevention of
10223 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10224 micro-pauses and rest breaks, and restricts you to your daily limit.")
10225 (home-page "http://www.workrave.org")
10226 (license license:gpl3+)))
10228 (define-public ghex
10234 (uri (string-append "mirror://gnome/sources/ghex/"
10235 (version-major+minor version) "/"
10236 "ghex-" version ".tar.xz"))
10239 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10240 (build-system meson-build-system)
10242 '(#:glib-or-gtk? #t
10244 (modify-phases %standard-phases
10245 (add-after 'unpack 'skip-gtk-update-icon-cache
10246 ;; Don't create 'icon-theme.cache'.
10248 (substitute* "meson_post_install.py"
10249 (("gtk-update-icon-cache") (which "true")))
10252 `(("pkg-config" ,pkg-config)
10253 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10254 ("gnome-common" ,gnome-common)
10256 ("intltool" ,intltool)
10257 ("yelp-tools" ,yelp-tools)
10258 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10262 (synopsis "GNOME hexadecimal editor")
10263 (description "The GHex program can view and edit files in two ways:
10264 hexadecimal or ASCII. It is useful for editing binary files in general.")
10265 (home-page "https://wiki.gnome.org/Apps/Ghex")
10266 (license license:gpl2)))
10268 (define-public libdazzle
10274 (uri (string-append "mirror://gnome/sources/libdazzle/"
10275 (version-major+minor version) "/"
10276 "libdazzle-" version ".tar.xz"))
10279 "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"))))
10280 (build-system meson-build-system)
10283 (modify-phases %standard-phases
10284 (add-before 'check 'pre-check
10286 ;; Tests require a running X server.
10287 (system "Xvfb :1 &")
10288 (setenv "DISPLAY" ":1")
10291 `(("glib" ,glib "bin") ; glib-compile-resources
10292 ("pkg-config" ,pkg-config)
10294 ("xorg-server" ,xorg-server-for-tests)))
10297 ("gobject-introspection" ,gobject-introspection)
10300 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10301 (synopsis "Companion library to GObject and Gtk+")
10302 (description "The libdazzle library is a companion library to GObject and
10303 Gtk+. It provides various features that the authors wish were in the
10304 underlying library but cannot for various reasons. In most cases, they are
10305 wildly out of scope for those libraries. In other cases, they are not quite
10306 generic enough to work for everyone.")
10307 (license license:gpl3+)))
10309 (define-public evolution
10315 (uri (string-append "mirror://gnome/sources/evolution/"
10316 (version-major+minor version) "/"
10317 "evolution-" version ".tar.xz"))
10320 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
10321 (build-system cmake-build-system)
10323 `(#:imported-modules (,@%cmake-build-system-modules
10324 (guix build glib-or-gtk-build-system))
10325 #:modules ((guix build cmake-build-system)
10326 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10327 (guix build utils))
10329 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10330 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10331 ; in four years and cannot be built.
10333 (modify-phases %standard-phases
10334 ;; The build system attempts to install user interface modules to the
10335 ;; output directory of the "evolution-data-server" package. This
10336 ;; change redirects that change.
10337 (add-after 'unpack 'patch-ui-module-dir
10338 (lambda* (#:key outputs #:allow-other-keys)
10339 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10340 (("\\$\\{edsuimoduledir\\}")
10341 (string-append (assoc-ref outputs "out")
10342 "/lib/evolution-data-server/ui-modules")))
10344 (add-after 'install 'glib-or-gtk-compile-schemas
10345 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10346 (add-after 'install 'glib-or-gtk-wrap
10347 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10349 `(("glib" ,glib "bin") ; glib-mkenums
10350 ("pkg-config" ,pkg-config)
10351 ("intltool" ,intltool)
10352 ("itstool" ,itstool)))
10354 `(("enchant" ,enchant)
10355 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10357 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10358 ("gnome-autoar" ,gnome-autoar)
10359 ("gnome-desktop" ,gnome-desktop)
10361 ("highlight" ,highlight)
10362 ("libcanberra" ,libcanberra)
10363 ("libgweather" ,libgweather)
10364 ("libnotify" ,libnotify)
10365 ("libsoup" ,libsoup)
10367 ("openldap" ,openldap)
10368 ("webkitgtk" ,webkitgtk)
10370 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10371 (synopsis "Manage your email, contacts and schedule")
10372 (description "Evolution is a personal information management application
10373 that provides integrated mail, calendaring and address book
10375 ;; See COPYING for details.
10376 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10377 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10378 license:lgpl2.1+)))) ; smime/lib/*
10380 (define-public gthumb
10386 (uri (string-append "mirror://gnome/sources/gthumb/"
10387 (version-major+minor version) "/"
10388 "gthumb-" version ".tar.xz"))
10391 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
10392 (build-system meson-build-system)
10394 `(#:glib-or-gtk? #t
10396 ;; Ensure the RUNPATH contains all installed library locations.
10397 (list (string-append "-Dc_link_args=-Wl,-rpath="
10398 (assoc-ref %outputs "out")
10399 "/lib/gthumb/extensions")
10400 (string-append "-Dcpp_link_args=-Wl,-rpath="
10401 (assoc-ref %outputs "out")
10402 "/lib/gthumb/extensions"))))
10404 `(("pkg-config" ,pkg-config)
10405 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10406 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10407 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10408 ("intltool" ,intltool)
10409 ("itstool" ,itstool)))
10413 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10414 ("gstreamer" ,gstreamer)
10415 ("clutter" ,clutter)
10416 ("clutter-gst" ,clutter-gst)
10417 ("clutter-gtk" ,clutter-gtk)
10418 ("libjpeg" ,libjpeg-turbo)
10419 ("libtiff" ,libtiff)
10420 ("libraw" ,libraw)))
10421 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10422 (synopsis "GNOME image viewer and browser")
10423 (description "GThumb is an image viewer, browser, organizer, editor and
10424 advanced image management tool")
10425 (license license:gpl2+)))
10427 (define-public terminator
10429 (name "terminator")
10433 (uri (string-append "https://launchpad.net/" name "/"
10434 "gtk3/" version "/" "+download/"
10435 name "-" version ".tar.gz"))
10438 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
10439 (build-system python-build-system)
10441 `(("intltool" ,intltool)
10442 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10443 ("gettext" ,gettext-minimal)
10444 ("pkg-config" ,pkg-config)))
10447 ("gobject-introspection" ,gobject-introspection)
10448 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10449 ("python2-pycairo" ,python2-pycairo)
10450 ("python2-pygobject" ,python2-pygobject)
10451 ("python2-psutil" ,python2-psutil)
10454 `(#:python ,python-2 ; Python 3 isn't supported
10455 #:imported-modules ((guix build glib-or-gtk-build-system)
10456 ,@%python-build-system-modules)
10457 #:modules ((guix build python-build-system)
10458 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10459 (guix build utils))
10461 (modify-phases %standard-phases
10463 'install 'wrap-program
10464 (lambda* (#:key outputs #:allow-other-keys)
10465 (let ((prog (string-append (assoc-ref outputs "out")
10466 "/bin/terminator")))
10468 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
10469 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10471 (add-after 'wrap-program 'glib-or-gtk-wrap
10472 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10473 (home-page "https://gnometerminator.blogspot.com/")
10474 (synopsis "Store and run multiple GNOME terminals in one window")
10476 "Terminator allows you to run multiple GNOME terminals in a grid and
10477 +tabs, and it supports drag and drop re-ordering of terminals.")
10478 (license license:gpl2)))
10480 (define-public libhandy
10487 (uri (git-reference
10488 (url "https://source.puri.sm/Librem5/libhandy")
10489 (commit (string-append "v" version))))
10490 (file-name (git-file-name name version))
10492 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
10493 (build-system meson-build-system)
10495 `(#:configure-flags
10496 '("-Dglade_catalog=disabled"
10499 (modify-phases %standard-phases
10500 (add-before 'check 'pre-check
10502 ;; Tests require a running X server.
10503 (system "Xvfb :1 &")
10504 (setenv "DISPLAY" ":1")
10509 `(("glib:bin" ,glib "bin")
10510 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10512 ("gtk-doc" ,gtk-doc)
10513 ("pkg-config" ,pkg-config)
10514 ("gettext" ,gettext-minimal)
10516 ;; Test suite dependencies.
10517 ("xorg-server" ,xorg-server-for-tests)
10518 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10519 (home-page "https://source.puri.sm/Librem5/libhandy")
10520 (synopsis "Library full of GTK+ widgets for mobile phones")
10521 (description "The aim of the handy library is to help with developing user
10522 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
10523 for usage on small and big screens.")
10524 (license license:lgpl2.1+)))
10526 (define-public libgit2-glib
10528 (name "libgit2-glib")
10529 (version "0.99.0.1")
10532 (uri (string-append "mirror://gnome/sources/" name "/"
10533 (version-major+minor version) "/"
10534 name "-" version ".tar.xz"))
10537 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
10538 (build-system meson-build-system)
10540 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
10541 ("gobject-introspection" ,gobject-introspection)
10542 ("pkg-config" ,pkg-config)
10543 ("python-pygobject" ,python-pygobject)
10544 ("python-wrapper" ,python-wrapper)
10548 ("libssh2" ,libssh2)))
10550 `(;; In Requires of libgit2-glib.pc.
10551 ("libgit2" ,libgit2)))
10552 (synopsis "GLib wrapper around the libgit2 Git access library")
10553 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
10554 access library. It only implements the core plumbing functions, not really the
10555 higher level porcelain stuff.")
10556 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
10557 (license license:gpl2+)))
10559 (define-public gitg
10565 (uri (string-append "mirror://gnome/sources/" name "/"
10566 (version-major+minor version) "/"
10567 name "-" version ".tar.xz"))
10570 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
10571 (build-system meson-build-system)
10573 `(#:glib-or-gtk? #t
10575 (modify-phases %standard-phases
10576 (add-after 'unpack 'disable-post-install-partially
10578 (substitute* "meson_post_install.py"
10579 (("'python'") ; there are no python sources to compile
10580 (string-append "'" (which "true") "'"))
10581 (("gtk-update-icon-cache") (which "true")))
10583 (add-after 'unpack 'fix-test-sources
10585 (substitute* "tests/libgitg/test-commit.vala"
10586 (("/bin/bash") (which "bash")))
10588 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10589 (lambda* (#:key outputs #:allow-other-keys)
10590 (let ((prog (string-append (assoc-ref outputs "out")
10593 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10597 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10599 ("gtkspell3" ,gtkspell3)
10600 ("gtksourceview" ,gtksourceview-3)
10601 ("json-glib" ,json-glib)
10602 ("libdazzle" ,libdazzle)
10604 ("libgit2-glib" ,libgit2-glib)
10605 ("libpeas" ,libpeas)
10606 ("libsecret" ,libsecret)
10607 ("libsoup" ,libsoup)
10608 ("libxml2" ,libxml2)))
10610 `(("glib:bin" ,glib "bin")
10611 ("gtk+:bin" ,gtk+ "bin")
10612 ("gobject-introspection" ,gobject-introspection)
10613 ("intltool" ,intltool)
10614 ("pkg-config" ,pkg-config)
10616 (synopsis "Graphical user interface for git")
10618 "gitg is a graphical user interface for git. It aims at being a small,
10619 fast and convenient tool to visualize the history of git repositories.
10620 Besides visualization, gitg also provides several utilities to manage your
10621 repository and commit your work.")
10622 (home-page "https://wiki.gnome.org/Apps/Gitg")
10623 (license license:gpl2+)))
10625 (define-public gamin
10631 (uri (string-append "mirror://gnome/sources/" name "/"
10632 (version-major+minor version) "/"
10633 name "-" version ".tar.bz2"))
10636 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
10637 (build-system gnu-build-system)
10640 (modify-phases %standard-phases
10641 (add-after 'unpack 'remove-deprecated-macro
10643 (substitute* '("server/gam_node.c"
10644 "server/gam_subscription.h"
10645 "server/gam_node.h"
10646 "server/gam_subscription.c")
10647 (("G_CONST_RETURN") "const"))
10652 `(("intltool" ,intltool)
10653 ("pkg-config" ,pkg-config)))
10654 (home-page "https://people.gnome.org/~veillard/gamin/")
10655 (synopsis "File alteration monitor")
10657 "Gamin is a file and directory monitoring system defined to be a subset
10658 of the FAM (File Alteration Monitor) system. This is a service provided by a
10659 library which detects when a file or a directory has been modified.")
10660 (license license:gpl2+)))
10662 (define-public gnome-mahjongg
10664 (name "gnome-mahjongg")
10668 (uri (git-reference
10669 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
10671 (file-name (git-file-name name version))
10674 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
10675 (build-system meson-build-system)
10677 `(#:glib-or-gtk? #t))
10679 `(("appstream-glib" ,appstream-glib)
10680 ("gettext" ,gettext-minimal)
10681 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
10682 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
10683 ("itstool" ,itstool)
10684 ("pkg-config" ,pkg-config)
10687 `(("dconf" ,dconf)))
10691 ("librsvg" ,librsvg)))
10692 (synopsis "Mahjongg tile-matching game")
10693 (description "GNOME Mahjongg is a game based on the classic Chinese
10694 tile-matching game Mahjong. It features multiple board layouts, tile themes,
10695 and a high score table.")
10696 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
10697 (license license:gpl2+)))
10699 (define-public gnome-themes-extra
10701 (name "gnome-themes-extra")
10706 (uri (string-append "mirror://gnome/sources/" name "/"
10707 (version-major+minor version) "/" name "-"
10708 version ".tar.xz"))
10711 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
10712 (build-system gnu-build-system)
10714 '(#:configure-flags
10715 ;; Don't create 'icon-theme.cache'.
10716 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
10717 (true (string-append coreutils "/bin/true")))
10718 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
10720 `(("glib:bin" ,glib "bin")
10721 ("intltool" ,intltool)
10722 ("pkg-config" ,pkg-config)))
10727 ("librsvg" ,librsvg)
10728 ("libxml2" ,libxml2)))
10729 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
10730 (synopsis "GNOME Extra Themes")
10731 (description "This package provides themes and related elements that don't
10732 really fit in other upstream packages. It offers legacy support for GTK+ 2
10733 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
10734 index files needed for Adwaita to be used outside of GNOME.")
10735 (license license:lgpl2.1+)))
10737 (define-public polari
10743 (uri (string-append "mirror://gnome/sources/polari/"
10744 (version-major+minor version)
10745 "/polari-" version ".tar.xz"))
10748 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
10749 (build-system meson-build-system)
10751 `(#:glib-or-gtk? #t
10753 (modify-phases %standard-phases
10754 (add-after 'unpack 'skip-gtk-update-icon-cache
10756 (substitute* "meson/meson-postinstall.sh"
10757 (("gtk-update-icon-cache") (which "true")))
10759 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10760 (lambda* (#:key outputs #:allow-other-keys)
10761 (let ((prog (string-append (assoc-ref outputs "out")
10764 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10768 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10772 ("libsecret" ,libsecret)
10773 ("libsoup" ,libsoup)
10774 ("telepathy-glib" ,telepathy-glib)
10775 ("telepathy-logger" ,telepathy-logger)))
10777 `(("glib:bin" ,glib "bin")
10778 ("gobject-introspection" ,gobject-introspection)
10779 ("intltool" ,intltool)
10780 ("pkg-config" ,pkg-config)
10781 ("yelp-tools" ,yelp-tools)))
10783 `(("telepathy-idle" ,telepathy-idle)
10784 ("telepathy-mission-control" ,telepathy-mission-control)))
10785 (synopsis "Simple IRC Client")
10787 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
10788 integrate seamlessly with the GNOME desktop.")
10789 (home-page "https://wiki.gnome.org/Apps/Polari")
10790 (license license:gpl2+)))
10792 (define-public gnome-boxes
10794 (name "gnome-boxes")
10799 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
10800 (version-major+minor version) "/"
10801 "gnome-boxes-" version ".tar.xz"))
10803 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
10804 (build-system meson-build-system)
10806 '(#:glib-or-gtk? #t
10807 #:configure-flags (list "-Drdp=false"
10808 (string-append "-Dc_link_args=-Wl,-rpath="
10809 (assoc-ref %outputs "out")
10810 "/lib/gnome-boxes"))))
10812 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
10813 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10814 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10815 ("itstool" ,itstool)
10816 ("intltool" ,intltool)
10818 ("pkg-config" ,pkg-config)))
10820 `(("libarchive" ,libarchive)
10821 ("glib-networking" ,glib-networking) ;for TLS support
10822 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10824 ("gtk-vnc" ,gtk-vnc)
10825 ("libosinfo" ,libosinfo)
10826 ("libsecret" ,libsecret)
10827 ("libsoup" ,libsoup)
10829 ("libvirt" ,libvirt)
10830 ("libvirt-glib" ,libvirt-glib)
10831 ("libxml" ,libxml2)
10832 ("spice-gtk" ,spice-gtk)
10833 ("sparql-query" ,sparql-query)
10835 ("webkitgtk" ,webkitgtk)
10836 ("tracker" ,tracker)
10837 ("libgudev" ,libgudev)))
10838 (home-page "https://wiki.gnome.org/Apps/Boxes")
10839 (synopsis "View, access, and manage remote and virtual systems")
10840 (description "GNOME Boxes is a simple application to view, access, and
10841 manage remote and virtual systems. Note that this application requires the
10842 @code{libvirt} and @code{virtlog} daemons to run. Use the command
10843 @command{info '(guix) Virtualization Services'} to learn how to configure
10844 these services on the Guix System.")
10846 ;; For data/icons/empty-boxes.png.
10849 license:lgpl2.0+))))
10851 (define-public geary
10857 (uri (git-reference
10858 (url "https://gitlab.gnome.org/GNOME/geary")
10860 (file-name (git-file-name name version))
10863 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
10864 (build-system meson-build-system)
10866 `(#:glib-or-gtk? #t
10867 #:phases (modify-phases %standard-phases
10868 (add-after 'unpack 'disable-failing-tests
10870 (substitute* "test/meson.build"
10871 (("test\\('client-tests', geary_test_client_bin\\)")
10874 (add-after 'unpack 'disable-postinstall-script
10876 (substitute* "meson.build"
10877 (("meson.add_install_script\\(\
10878 join_paths\\('build-aux', 'post_install.py'\\)\\)")
10881 (add-before 'check 'setup-xvfb
10883 (system "Xvfb :1 &")
10884 (setenv "DISPLAY" ":1")
10887 `(("enchant" ,enchant)
10891 ("gmime" ,gmime-2.6)
10892 ("gnome-online-accounts:lib"
10893 ,gnome-online-accounts "lib")
10896 ("iso-codes" ,iso-codes)
10897 ("json-glib" ,json-glib)
10898 ("libcanberra" ,libcanberra)
10900 ("libhandy" ,libhandy)
10901 ("libpeas" ,libpeas)
10902 ("libsecret" ,libsecret)
10903 ("libunwind" ,libunwind)
10905 ("webkitgtk" ,webkitgtk)
10908 `(("appstream-glib" ,appstream-glib)
10909 ("cmake-minimal" ,cmake-minimal)
10910 ("desktop-file-utils" ,desktop-file-utils)
10911 ("gettext" ,gettext-minimal)
10912 ("glib:bin" ,glib "bin")
10913 ("gobject-introspection" ,gobject-introspection)
10914 ("itstool" ,itstool)
10915 ("libarchive" ,libarchive)
10916 ("libxml2" ,libxml2)
10917 ("pkg-config" ,pkg-config)
10919 ("xvfb" ,xorg-server-for-tests)))
10920 (synopsis "GNOME email application built around conversations")
10922 "Geary collects related messages together into conversations,
10923 making it easy to find and follow your discussions. Full-text and keyword
10924 search makes it easy to find the email you are looking for. Geary's
10925 full-featured composer lets you send rich, styled text with images, links, and
10926 lists, but also send lightweight, easy to read text messages. Geary
10927 automatically picks up your existing GNOME Online Accounts, and adding more is
10928 easy. Geary has a clean, fast, modern interface that works like you want it
10930 (home-page "https://wiki.gnome.org/Apps/Geary")
10936 license:cc-by-sa3.0
10937 license:public-domain
10941 (define-public glabels
10948 (uri (string-append "mirror://gnome/sources/" name "/"
10949 (version-major+minor version) "/"
10950 "glabels-" version ".tar.xz"))
10952 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
10953 (build-system glib-or-gtk-build-system)
10955 `(("gettext" ,gettext-minimal)
10956 ("glib:bin" ,glib "bin")
10957 ("intltool" ,intltool)
10958 ("itstool" ,itstool)
10959 ("pkg-config" ,pkg-config)))
10962 ("librsvg" ,librsvg)
10963 ("libxml2" ,libxml2)))
10964 (home-page "https://glabels.org/")
10965 (synopsis "Program for creating labels and business cards")
10967 "gLabels is a program for creating labels and business cards. It is
10968 designed to work with various laser/ink-jet peel-off label and business
10969 card sheets that you’ll find at most office supply stores.")
10970 (license license:gpl3+)))
10972 (define-public libratbag
10979 (uri (git-reference
10980 (url "https://github.com/libratbag/libratbag")
10981 (commit (string-append "v" version))))
10982 (file-name (git-file-name name version))
10984 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
10985 (build-system meson-build-system)
10987 `(#:configure-flags
10988 (list "-Dsystemd=false"
10989 "-Dlogind-provider=elogind")
10991 (modify-phases %standard-phases
10992 (add-after 'install 'wrap
10993 (lambda* (#:key inputs outputs #:allow-other-keys)
10994 (let* ((out (assoc-ref outputs "out"))
10995 (site (string-append
10997 ,(version-major+minor (package-version python))
10999 (evdev (string-append
11000 (assoc-ref inputs "python-evdev") site))
11001 (pygo (string-append
11002 (assoc-ref inputs "python-pygobject") site))
11004 `("PYTHONPATH" = (,evdev ,pygo))))
11005 (wrap-program (string-append out "/bin/" "ratbagctl")
11010 ("pkg-config" ,pkg-config)
11012 ("valgrind" ,valgrind)))
11015 ("json-glib" ,json-glib)
11016 ("libevdev" ,libevdev)
11017 ("libsystemd" ,elogind)
11018 ("libunistring" ,libunistring)
11019 ("python-evdev" ,python-evdev)
11020 ("python-pygobject" ,python-pygobject)
11022 (home-page "https://github.com/libratbag/libratbag")
11023 (synopsis "DBus daemon and utility for configuring gaming mice")
11024 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11025 configure input devices, mainly gaming mice. The daemon provides a generic
11026 way to access the various features exposed by these mice and abstracts away
11027 hardware-specific and kernel-specific quirks. There is also the
11028 @command{ratbagctl} command line interface for configuring devices.
11030 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11033 The ratbagd DBus service can be enabled by adding the following service to
11034 your operating-system definition:
11036 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11037 (license license:expat)))
11039 (define-public piper
11046 (uri (git-reference
11047 (url "https://github.com/libratbag/piper")
11050 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11051 (file-name (git-file-name name version))))
11052 (build-system meson-build-system)
11054 `(("gettext" ,gettext-minimal)
11055 ("glib:bin" ,glib "bin")
11056 ("gobject-introspection" ,gobject-introspection)
11057 ("pkg-config" ,pkg-config)
11058 ("python-flake8" ,python-flake8)))
11060 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11062 ("gtk:bin" ,gtk+ "bin")
11063 ("librsvg" ,librsvg)
11064 ("python-evdev" ,python-evdev)
11065 ("python-lxml" ,python-lxml)
11066 ("python-pycairo" ,python-pycairo)
11067 ("python-pygobject" ,python-pygobject)))
11069 `(#:imported-modules ((guix build python-build-system)
11070 ,@%meson-build-system-modules)
11071 #:modules (((guix build python-build-system) #:prefix python:)
11072 (guix build meson-build-system)
11073 (guix build utils))
11074 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11076 (modify-phases %standard-phases
11077 (add-after 'unpack 'dont-update-gtk-icon-cache
11079 (substitute* "meson.build"
11080 (("meson.add_install_script('meson_install.sh')") ""))
11082 ;; TODO: Switch to wrap-script when it is fixed.
11083 (add-after 'install 'wrap-python
11084 (assoc-ref python:%standard-phases 'wrap))
11085 (add-after 'wrap-python 'wrap
11086 (lambda* (#:key outputs #:allow-other-keys)
11088 (string-append (assoc-ref outputs "out" )"/bin/piper")
11089 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11091 (home-page "https://github.com/libratbag/piper/")
11092 (synopsis "Configure bindings and LEDs on gaming mice")
11093 (description "Piper is a GTK+ application for configuring gaming mice with
11094 onboard configuration for key bindings via libratbag. Piper requires
11095 a @command{ratbagd} daemon running with root privileges. It can be run
11096 manually as root, but is preferably configured as a DBus service that can
11097 launch on demand. This can be configured by enabling the following service,
11098 provided there is a DBus service present:
11100 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11101 (license license:gpl2)))
11103 (define-public parlatype
11110 (uri (git-reference
11111 (url "https://github.com/gkarsay/parlatype.git")
11112 (commit (string-append "v" version))))
11113 (file-name (git-file-name name version))
11115 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11116 (build-system meson-build-system)
11118 `(#:glib-or-gtk? #t
11119 #:tests? #f ;require internet access
11121 (modify-phases %standard-phases
11122 (add-after 'install 'wrap-parlatype
11123 ;; Add gstreamer plugin provided in this package to system's
11125 (lambda* (#:key outputs #:allow-other-keys)
11126 (let* ((out (assoc-ref outputs "out"))
11127 (gst-plugin-path (string-append
11128 out "/lib/gstreamer-1.0/"
11130 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11131 (wrap-program (string-append out "/bin/parlatype")
11132 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11135 `(("appstream-glib" ,appstream-glib)
11136 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11137 ("gettext" ,gettext-minimal)
11138 ("glib" ,glib "bin") ;for glib-compile-resources
11139 ("pkg-config" ,pkg-config)
11140 ("yelp-tools" ,yelp-tools)))
11142 `(("gst-plugins-base" ,gst-plugins-base)
11143 ("gst-plugins-good" ,gst-plugins-good)
11144 ("gstreamer" ,gstreamer)
11146 ("pocketsphinx" ,pocketsphinx)
11147 ("pulseaudio" ,pulseaudio)
11148 ("sphinxbase" ,sphinxbase)))
11149 (home-page "http://gkarsay.github.io/parlatype/")
11150 (synopsis "GNOME audio player for transcription")
11151 (description "Parlatype is an audio player for the GNOME desktop
11152 environment. Its main purpose is the manual transcription of spoken
11154 (license license:gpl3+)))
11156 (define-public jsonrpc-glib
11158 (name "jsonrpc-glib")
11162 (uri (string-append "mirror://gnome/sources/" name "/"
11163 (version-major+minor version) "/"
11164 name "-" version ".tar.xz"))
11167 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11168 (build-system meson-build-system)
11170 `(("json-glib" ,json-glib)
11173 `(("pkg-config" ,pkg-config)
11174 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11175 ("gobject-introspection" ,gobject-introspection)
11177 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11178 (synopsis "JSON-RPC library for GLib")
11179 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11180 peers in either a synchronous or asynchronous fashion. It also allows
11181 communicating using the GVariant serialization format instead of JSON when
11182 both peers support it. You might want that when communicating on a single
11183 host to avoid parser overhead and memory-allocator fragmentation.")
11184 (license license:lgpl2.1+)))
11186 (define-public feedbackd
11189 (version "0.0.0+git20200527")
11192 (uri (git-reference
11193 (url "https://source.puri.sm/Librem5/feedbackd.git")
11194 (commit (string-append "v" version))))
11195 (file-name (git-file-name name version))
11198 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11199 (build-system meson-build-system)
11201 `(("glib:bin" ,glib "bin")
11202 ("gobject-introspection" ,gobject-introspection)
11203 ("pkg-config" ,pkg-config)
11208 ("json-glib" ,json-glib)
11209 ("libgudev" ,libgudev)))
11211 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11212 (synopsis "Haptic/visual/audio feedback via DBus")
11213 (description "Feedbackd provides a DBus daemon to act on events to provide
11214 haptic, visual and audio feedback. It offers the libfeedbackd library and
11215 GObject introspection bindings.")
11216 (home-page "https://source.puri.sm/Librem5/feedbackd")
11217 (license (list license:lgpl2.1+ ; libfeedbackd
11218 license:lgpl3+)))) ; the rest
11220 (define-public sysprof
11227 (uri (string-append "mirror://gnome/sources/sysprof/"
11228 (version-major+minor version) "/"
11229 "sysprof-" version ".tar.xz"))
11231 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11232 (build-system meson-build-system)
11234 `(#:configure-flags
11235 (list (string-append "-Dsystemdunitdir="
11238 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11240 (modify-phases %standard-phases
11241 (add-after 'unpack 'patch-install-script
11243 (substitute* "build-aux/meson/post_install.sh"
11244 (("gtk-update-icon-cache") "true")
11245 (("update-desktop-database") "true"))
11250 ("libdazzle" ,libdazzle)
11251 ("polkit" ,polkit)))
11253 `(("gettext" ,gettext-minimal)
11254 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11255 ("itstool" ,itstool)
11256 ("pkg-config" ,pkg-config)
11257 ("xmllint" ,libxml2)))
11258 ;; This home page is so woefully out of date as to be essentially useless.
11259 ;; (home-page "http://www.sysprof.com")
11260 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11261 (synopsis "System-wide performance profiler for GNU/Linux")
11263 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11264 GNU/Linux system including the kernel and all user-space applications. This
11265 helps find the function(s) in which a program spends most of its time.
11267 It uses the kernel's built-in @code{ptrace} feature and handles shared
11268 libraries. Applications do not need to be recompiled--or even restarted.")
11269 (license license:gpl3+)))
11271 (define-public gnome-builder
11273 (name "gnome-builder")
11277 (uri (string-append "mirror://gnome/sources/" name "/"
11278 (version-major+minor version) "/"
11279 name "-" version ".tar.xz"))
11282 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11283 (build-system meson-build-system)
11285 `(#:configure-flags (list "-Dnetwork_tests=false"
11286 ;; TODO: Enable all plugins...
11287 "-Dplugin_clang=false"
11288 "-Dplugin_flatpak=false"
11289 "-Dplugin_glade=false"
11290 ;; ... except this one.
11291 "-Dplugin_update_manager=false")
11293 (modify-phases %standard-phases
11294 (add-after 'unpack 'patch-meson
11295 (lambda* (#:key inputs #:allow-other-keys)
11296 (substitute* "build-aux/meson/post_install.py"
11297 (("gtk-update-icon-cache") "true")
11298 (("update-desktop-database") "true"))
11299 (substitute* "src/libide/meson.build"
11301 (string-append (assoc-ref inputs "python-pygobject")
11304 (add-before 'check 'pre-check
11306 (system "Xvfb :1 &")
11307 (setenv "DISPLAY" ":1")
11310 `(("devhelp" ,devhelp)
11313 ("json-glib" ,json-glib)
11314 ("jsonrpc-glib" ,jsonrpc-glib)
11315 ("libdazzle" ,libdazzle)
11316 ("libgit2-glib" ,libgit2-glib)
11317 ("libpeas" ,libpeas)
11318 ("python-pygobject" ,python-pygobject)
11319 ("sysprof" ,sysprof)
11320 ("template-glib" ,template-glib)
11322 ("webkitgtk" ,webkitgtk)))
11324 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11326 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11327 ("glib:bin" ,glib "bin")
11328 ("gettext" ,gettext-minimal)
11329 ("pkg-config" ,pkg-config)
11331 ("xorg-server" ,xorg-server-for-tests)))
11332 (home-page "https://wiki.gnome.org/Apps/Builder")
11333 (synopsis "Toolsmith for GNOME-based applications")
11334 (description "Builder aims to be an integrated development
11335 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11336 auto-completion, a mini code map, documentation browsing, Git integration, an
11337 integrated profiler via Sysprof, debugging support, and more.")
11338 (license license:gpl3+)))