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 protobuf)
159 #:use-module (gnu packages pulseaudio)
160 #:use-module (gnu packages python)
161 #:use-module (gnu packages python-crypto)
162 #:use-module (gnu packages python-web)
163 #:use-module (gnu packages python-xyz)
164 #:use-module (gnu packages rdesktop)
165 #:use-module (gnu packages rdf)
166 #:use-module (gnu packages readline)
167 #:use-module (gnu packages ruby)
168 #:use-module (gnu packages rust)
169 #:use-module (gnu packages samba)
170 #:use-module (gnu packages scanner)
171 #:use-module (gnu packages sdl)
172 #:use-module (gnu packages search)
173 #:use-module (gnu packages selinux)
174 #:use-module (gnu packages slang)
175 #:use-module (gnu packages speech)
176 #:use-module (gnu packages spice)
177 #:use-module (gnu packages sqlite)
178 #:use-module (gnu packages ssh)
179 #:use-module (gnu packages swig)
180 #:use-module (gnu packages tex)
181 #:use-module (gnu packages time)
182 #:use-module (gnu packages tls)
183 #:use-module (gnu packages valgrind)
184 #:use-module (gnu packages version-control)
185 #:use-module (gnu packages video)
186 #:use-module (gnu packages virtualization)
187 #:use-module (gnu packages vpn)
188 #:use-module (gnu packages web)
189 #:use-module (gnu packages webkit)
190 #:use-module (gnu packages xdisorg)
191 #:use-module (gnu packages xiph)
192 #:use-module (gnu packages xml)
193 #:use-module (gnu packages xorg)
194 #:use-module (gnu artwork)
195 #:use-module ((guix build utils) #:select (modify-phases))
196 #:use-module (guix build-system cargo)
197 #:use-module (guix build-system cmake)
198 #:use-module (guix build-system glib-or-gtk)
199 #:use-module (guix build-system gnu)
200 #:use-module (guix build-system meson)
201 #:use-module (guix build-system python)
202 #:use-module (guix build-system trivial)
203 #:use-module (guix download)
204 #:use-module (guix git-download)
205 #:use-module ((guix licenses) #:prefix license:)
206 #:use-module (guix packages)
207 #:use-module (guix utils)
208 #:use-module (guix gexp)
209 #:use-module (guix monads)
210 #:use-module (guix store)
211 #:use-module (ice-9 match)
212 #:use-module (srfi srfi-1))
214 (define-public brasero
220 (uri (string-append "mirror://gnome/sources/brasero/"
221 (version-major+minor version) "/"
222 "brasero-" version ".tar.xz"))
225 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
226 (build-system glib-or-gtk-build-system)
228 `(#:configure-flags (list
229 (string-append "--with-girdir="
230 (assoc-ref %outputs "out")
232 (string-append "--with-typelibdir="
233 (assoc-ref %outputs "out")
234 "/lib/girepository-1.0"))
236 (modify-phases %standard-phases
237 (add-before 'configure 'embed-growisofs
238 (lambda* (#:key inputs #:allow-other-keys)
239 (substitute* "plugins/growisofs/burn-growisofs.c"
240 (("\"growisofs") (string-append "\"" (which "growisofs"))))
243 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
245 `(("intltool" ,intltool)
247 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
248 ("gobject-introspection" ,gobject-introspection)
249 ("pkg-config" ,pkg-config)))
251 `(("dvd+rw-tools" ,dvd+rw-tools)
253 ("gnome-doc-utils" ,gnome-doc-utils)
254 ("gstreamer" ,gstreamer)
255 ("gst-plugins-base" ,gst-plugins-base)
257 ("libcanberra" ,libcanberra)
259 ("libnotify" ,libnotify)
262 ("totem-pl-parser" ,totem-pl-parser)))
263 (home-page "https://wiki.gnome.org/Apps/Brasero")
264 (synopsis "CD/DVD burning tool for Gnome")
265 (description "Brasero is an application to burn CD/DVD for the Gnome
266 Desktop. It is designed to be as simple as possible and has some unique
267 features to enable users to create their discs easily and quickly.")
268 (license license:gpl2+)))
270 (define-public libcloudproviders
272 (name "libcloudproviders")
278 (string-append "mirror://gnome/sources/" name "/"
279 (version-major+minor version) "/"
280 name "-" version ".tar.xz"))
282 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
283 (build-system meson-build-system)
284 (outputs '("out" "doc"))
286 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
289 "-Denable-gtk-doc=true")
291 (modify-phases %standard-phases
292 (add-after 'install 'move-doc
293 (lambda* (#:key outputs #:allow-other-keys)
294 (let* ((out (assoc-ref outputs "out"))
295 (doc (assoc-ref outputs "doc")))
296 (mkdir-p (string-append doc "/share"))
298 (string-append out "/share/gtk-doc")
299 (string-append doc "/share/gtk-doc"))
302 `(("glib:bin" ,glib "bin")
303 ("gobject-introspection" ,gobject-introspection)
305 ("pkg-config" ,pkg-config)
309 ("glib-networking" ,glib-networking)))
310 (synopsis "Cloudproviders Integration API")
311 (description "Libcloudproviders is a DBus API that allows cloud storage sync
312 clients to expose their services. Clients such as file managers and desktop
313 environments can then provide integrated access to the cloud providers
315 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
316 (license license:lgpl3+)))
318 (define-public libgrss
326 (string-append "mirror://gnome/sources/" name "/"
327 (version-major+minor version) "/"
328 name "-" version ".tar.xz"))
330 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
331 (build-system glib-or-gtk-build-system)
332 (outputs '("out" "doc"))
337 (string-append "--with-html-dir="
338 (assoc-ref %outputs "doc")
339 "/share/gtk-doc/html"))
341 (modify-phases %standard-phases
342 (add-after 'unpack 'patch-docbook-xml
343 (lambda* (#:key inputs #:allow-other-keys)
344 (with-directory-excursion "doc/reference"
345 (substitute* "libgrss-docs.sgml"
346 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
347 (string-append (assoc-ref inputs "docbook-xml")
348 "/xml/dtd/docbook/"))))
351 `(("docbook-xml" ,docbook-xml-4.1.2)
352 ("gobject-introspection" ,gobject-introspection)
354 ("pkg-config" ,pkg-config)))
358 ("libxml2" ,libxml2)))
359 (synopsis "Glib library for feeds")
360 (description "LibGRSS is a Glib abstaction to handle feeds in RSS, Atom and
362 (home-page "https://wiki.gnome.org/Projects/Libgrss")
363 (license license:lgpl3+)))
365 (define-public gnome-js-common
367 (name "gnome-js-common")
373 (string-append "mirror://gnome/sources/" name "/"
374 (version-major+minor version) "/"
375 name "-" version ".tar.gz"))
377 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
378 (build-system glib-or-gtk-build-system)
382 "--disable-static")))
384 `(("gettext" ,gettext-minimal)
385 ("intltool" ,intltool)
386 ("pkg-config" ,pkg-config)))
387 (synopsis "Common JS Modules")
388 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
390 (home-page "https://wiki.gnome.org/Projects/Seed")
391 (license license:gpl3+)))
401 (string-append "mirror://gnome/sources/" name "/"
402 (version-major+minor version) "/"
403 name "-" version ".tar.xz"))
405 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
407 (search-patches "seed-webkit.patch"))))
408 (build-system glib-or-gtk-build-system)
409 (outputs '("out" "doc"))
414 "--enable-xorg-module"
415 (string-append "--with-html-dir="
416 (assoc-ref %outputs "doc")
417 "/share/gtk-doc/html")
420 (modify-phases %standard-phases
421 ;; The seed-webkit.patch patches configure.ac.
422 ;; So the source files need to be re-bootstrapped.
423 (add-after 'unpack 'trigger-bootstrap
425 (for-each delete-file
430 (add-after 'unpack 'patch-tests
431 (lambda* (#:key outputs #:allow-other-keys)
432 (substitute* (find-files "." "\\.js$")
433 (("#!/usr/bin/env seed")
434 (string-append "#!" (getcwd) "/src/seed")))
436 (add-before 'build 'patch-docbook-xml
437 (lambda* (#:key inputs #:allow-other-keys)
438 (with-directory-excursion "doc"
439 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
440 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
441 (string-append (assoc-ref inputs "docbook-xml")
442 "/xml/dtd/docbook/"))))
445 `(("autoconf" ,autoconf)
446 ("automake" ,automake)
447 ("docbook-xml" ,docbook-xml-4.1.2)
448 ("gettext" ,gettext-minimal)
449 ("gobject-introspection" ,gobject-introspection)
451 ("intltool" ,intltool)
453 ("pkg-config" ,pkg-config)))
457 ("dbus-glib" ,dbus-glib)
458 ("gnome-js-common" ,gnome-js-common)
464 ("readline" ,readline)
466 ("xscrnsaver" ,libxscrnsaver)))
469 ("webkit" ,webkitgtk)))
470 (synopsis "GObject JavaScriptCore bridge")
471 (description "Seed is a library and interpreter, dynamically bridging
472 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
473 GNOME platform. It serves as something which enables you to write standalone
474 applications in JavaScript, or easily enable your application to be extensible
476 (home-page "https://wiki.gnome.org/Projects/Seed")
477 (license license:lgpl2.0+)))
479 (define-public libdmapsharing
481 (name "libdmapsharing")
487 (string-append "https://www.flyn.org/projects/"
488 name "/" name "-" version ".tar.gz"))
490 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
491 (build-system glib-or-gtk-build-system)
492 (outputs '("out" "doc"))
494 `(#:tests? #f ; Tests require networking.
498 (string-append "--with-html-dir="
499 (assoc-ref %outputs "doc")
500 "/share/gtk-doc/html"))
502 (modify-phases %standard-phases
503 (add-after 'unpack 'patch-docbook-xml
504 (lambda* (#:key inputs #:allow-other-keys)
505 (with-directory-excursion "doc"
506 (substitute* "libdmapsharing-4.0-docs.xml"
507 (("http://www.oasis-open.org/docbook/xml/4.3/")
508 (string-append (assoc-ref inputs "docbook-xml")
509 "/xml/dtd/docbook/"))))
513 ("docbook-xml" ,docbook-xml-4.3)
514 ("gobject-introspection" ,gobject-introspection)
515 ("pedansee" ,pedansee)
516 ("pkg-config" ,pkg-config)
520 ("gdk-pixbuf" ,gdk-pixbuf+svg)
522 ("gst-plugins-base" ,gst-plugins-base)
526 ("glib-networking" ,glib-networking)
527 ("gstreamer" ,gstreamer)
528 ("libsoup" ,libsoup)))
529 (synopsis "Media management library")
530 (description "Libdmapsharing is a library which allows programs to access,
531 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
532 It is written in C using GObject and libsoup.")
533 (home-page "https://launchpad.net/gtx")
534 (license license:lgpl2.1+)))
544 (string-append "https://launchpad.net/gtx/trunk/"
545 version "/+download/gtx-" version ".tar.gz"))
547 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
548 (build-system glib-or-gtk-build-system)
549 (outputs '("out" "doc"))
555 (string-append "--with-html-dir="
556 (assoc-ref %outputs "doc")
557 "/share/gtk-doc/html"))))
559 `(("gobject-introspection" ,gobject-introspection)
561 ("pkg-config" ,pkg-config)))
564 (synopsis "GLib Testing Framework")
565 (description "GTX is a small collection of convenience functions intended to
566 enhance the GLib testing framework. With specific emphasis on easing the pain
567 of writing test cases for asynchronous interactions.")
568 (home-page "https://launchpad.net/gtx")
569 (license license:lgpl2.1+)))
579 (string-append "https://launchpad.net/dee/1.0/"
580 version "/+download/dee-" version ".tar.gz"))
582 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
584 (search-patches "dee-vapi.patch"))))
585 (build-system glib-or-gtk-build-system)
586 (outputs '("out" "doc"))
590 "--disable-maintainer-flags"
591 (string-append "--with-pygi-overrides-dir="
592 (assoc-ref %outputs "out")
594 ,(version-major+minor
595 (package-version python))
596 "/site-packages/gi/overrides")
597 (string-append "--with-html-dir="
598 (assoc-ref %outputs "doc")
599 "/share/gtk-doc/html"))
601 (modify-phases %standard-phases
602 (add-after 'unpack 'patch-docbook-xml
603 (lambda* (#:key inputs #:allow-other-keys)
604 (with-directory-excursion "doc/reference/dee-1.0"
605 (substitute* "dee-1.0-docs.sgml"
606 (("http://www.oasis-open.org/docbook/xml/4.3/")
607 (string-append (assoc-ref inputs "docbook-xml")
608 "/xml/dtd/docbook/"))))
610 (add-after 'patch-docbook-xml 'disable-failing-tests
612 (substitute* "tests/test-icu.c"
613 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
615 (("setup, test_ascii_folder, teardown\\);")
618 (add-before 'check 'pre-check
620 ;; Tests require a running dbus-daemon.
621 (system "dbus-daemon &")
622 ;; For missing '/etc/machine-id'.
623 (setenv "DBUS_FATAL_WARNINGS" "0")
627 ("dbus-test-runner" ,dbus-test-runner)
628 ("docbook-xml" ,docbook-xml-4.3)
629 ("gobject-introspection" ,gobject-introspection)
631 ;; Would only be required by configure flag "--enable-extended-tests".
633 ("pkg-config" ,pkg-config)
634 ("pygobject" ,python-pygobject)
635 ("python" ,python-wrapper)
641 (synopsis "Model to synchronize multiple instances over DBus")
642 (description "Dee is a library that uses DBus to provide objects allowing
643 you to create Model-View-Controller type programs across DBus. It also consists
644 of utility objects which extend DBus allowing for peer-to-peer discoverability
645 of known objects without needing a central registrar.")
646 (home-page "https://launchpad.net/dee")
653 (define-public zeitgeist
662 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
664 (string-append "v" version))))
666 (git-file-name name version))
668 (base32 "0ig3d3j1n0ghaxsgfww6g2hhcdwx8cljwwfmp9jk1nrvkxd6rnmv"))))
669 (build-system glib-or-gtk-build-system)
673 "--enable-explain-queries"
677 (modify-phases %standard-phases
678 (add-after 'unpack 'patch-docbook-xml
679 (lambda* (#:key inputs #:allow-other-keys)
680 (with-directory-excursion "doc/libzeitgeist"
681 (substitute* "zeitgeist-gtkdoc-index.sgml"
682 (("http://www.oasis-open.org/docbook/xml/4.3/")
683 (string-append (assoc-ref inputs "docbook-xml")
684 "/xml/dtd/docbook/"))))
686 (add-after 'patch-docbook-xml 'disable-failing-tests
688 (substitute* "test/direct/Makefile.am"
691 (substitute* "test/c/Makefile.am"
695 (add-before 'bootstrap 'remove-autogen-script
697 ;; To honor `autoreconf -vif` by build-system.
698 (delete-file "autogen.sh")
701 `(("autoconf" ,autoconf)
702 ("automake" ,automake)
703 ("docbook-xml" ,docbook-xml-4.3)
704 ("gettext" ,gettext-minimal)
705 ("gobject-introspection" ,gobject-introspection)
708 ("pkg-config" ,pkg-config)
710 ("xorg-server-for-tests" ,xorg-server-for-tests)))
714 ("json-glib" ,json-glib)
716 ("telepathy-glib" ,telepathy-glib)
717 ("python" ,python-wrapper)
718 ("python-rdflib" ,python-rdflib)
719 ("xapian-config" ,xapian)))
722 (synopsis "Desktop Activity Logging")
723 (description "Zeitgeist is a service which logs the users’s activities and
724 events, anywhere from files opened to websites visited and conversations. It
725 makes this information readily available for other applications to use. It is
726 able to establish relationships between items based on similarity and usage
728 (home-page "https://zeitgeist.freedesktop.org/")
735 (define-public gnome-photos
737 (name "gnome-photos")
743 (string-append "mirror://gnome/sources/" name "/"
744 (version-major+minor version) "/"
745 name "-" version ".tar.xz"))
748 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
749 (build-system meson-build-system)
753 (list "-Ddogtail=false" ; Not available
754 ;; Required for RUNPATH validation.
755 (string-append "-Dc_link_args=-Wl,-rpath="
756 (assoc-ref %outputs "out") "/lib/gnome-photos"))
758 (modify-phases %standard-phases
759 (add-after 'install 'wrap-gnome-photos
760 (lambda* (#:key inputs outputs #:allow-other-keys)
762 ((out (assoc-ref outputs "out")))
763 (wrap-program (string-append out "/bin/gnome-photos")
764 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
768 ("desktop-file-utils" ,desktop-file-utils)
769 ("gettext" ,gettext-minimal)
771 ("glib:bin" ,glib "bin")
772 ("gobject-introspection" ,gobject-introspection)
773 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
774 ("gtk+:bin" ,gtk+ "bin")
776 ("pkg-config" ,pkg-config)))
780 ("gdk-pixbuf" ,gdk-pixbuf+svg)
782 ("geocode-glib" ,geocode-glib)
784 ("gnome-online-accounts" ,gnome-online-accounts)
785 ("gnome-online-miners" ,gnome-online-miners)
787 ("grilo-plugins" ,grilo-plugins)
789 ("libdazzle" ,libdazzle)
790 ("libgdata" ,libgdata)
791 ("libgfbgraph" ,gfbgraph)
792 ("libjpeg" ,libjpeg-turbo)
795 ("pygobject" ,python-pygobject)
797 ("tracker-miners" ,tracker-miners)))
798 (synopsis "Access, organize and share your photos on GNOME desktop")
799 (description "GNOME Photos is a simple and elegant replacement for using a
800 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
801 cloud integration is offered through GNOME Online Accounts.")
802 (home-page "https://wiki.gnome.org/Apps/Photos")
803 (license license:gpl3+)))
805 (define-public gnome-music
813 (string-append "mirror://gnome/sources/" name "/"
814 (version-major+minor version) "/"
815 name "-" version ".tar.xz"))
818 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
819 (build-system meson-build-system)
823 (modify-phases %standard-phases
824 (add-after 'install 'wrap-gnome-music
825 (lambda* (#:key inputs outputs #:allow-other-keys)
827 ((out (assoc-ref outputs "out"))
828 (pylib (string-append out "/lib/python"
829 ,(version-major+minor
830 (package-version python))
832 (wrap-program (string-append out "/bin/gnome-music")
833 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
834 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
835 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
836 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
839 `(("desktop-file-utils" ,desktop-file-utils)
840 ("gettext" ,gettext-minimal)
841 ("glib:bin" ,glib "bin")
842 ("gobject-introspection" ,gobject-introspection)
843 ("gtk+:bin" ,gtk+ "bin")
844 ("itstools" ,itstool)
845 ("pkg-config" ,pkg-config)))
847 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
849 ("grilo-plugins" ,grilo-plugins)
850 ("gst-plugins-base" ,gst-plugins-base)
851 ("gstreamer" ,gstreamer)
853 ("libdazzle" ,libdazzle)
854 ("libmediaart" ,libmediaart)
856 ("pycairo" ,python-pycairo)
857 ("pygobject" ,python-pygobject)
859 ("tracker-miners" ,tracker-miners)))
860 (synopsis "Simple music player for GNOME desktop")
861 (description "GNOME Music is the new GNOME music playing application that
862 aims to combine an elegant and immersive browsing experience with simple
863 and straightforward controls.")
864 (home-page "https://wiki.gnome.org/Apps/Music")
865 (license license:gpl2+)))
867 (define-public portablexdr
875 (string-append "https://people.redhat.com/~rjones/" name "/files/"
876 name "-" version ".tar.gz"))
879 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
880 (build-system gnu-build-system)
881 (synopsis "External Data Representation Library")
882 (description "PortableXDR is an implementation of External Data
883 Representation (XDR) Library. It is a standard data serialization format, for
884 uses such as computer network protocols. It allows data to be transferred
885 between different kinds of computer systems.")
886 (home-page "https://people.redhat.com/~rjones/portablexdr/")
900 (string-append "mirror://gnome/sources/" name "/"
901 (version-major+minor version) "/"
902 name "-" version ".tar.xz"))
905 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
906 (build-system glib-or-gtk-build-system)
908 `(#:tests? #f)) ; FIX-ME: Requires gvfs
910 `(("gobject-introspection" ,gobject-introspection)
911 ("pkg-config" ,pkg-config)))
916 ("gtksourceview" ,gtksourceview)
918 ("uchardet" ,uchardet)))
919 (synopsis "Text editor product line")
920 (description "Tepl is a library that eases the development of
921 GtkSourceView-based text editors and IDEs.")
922 (home-page "https://wiki.gnome.org/Projects/Tepl")
923 (license license:lgpl2.1+)))
925 (define-public krb5-auth-dialog
927 (name "krb5-auth-dialog")
933 (string-append "mirror://gnome/sources/" name "/"
934 (version-major+minor version) "/"
935 name "-" version ".tar.xz"))
938 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
939 (build-system glib-or-gtk-build-system)
941 `(("intltool" ,intltool)
944 ("pkg-config" ,pkg-config)
945 ("python-wrapper" ,python-wrapper)))
949 ("libnotify" ,libnotify)
950 ("mit-krb5" ,mit-krb5)
951 ("network-manager" ,network-manager)))
952 (synopsis "Popup dialogs for Kerberos 5")
953 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
954 tickets, and pops up a dialog when they are about to expire.")
955 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
956 (license license:gpl2+)))
958 (define-public notification-daemon
960 (name "notification-daemon")
966 (string-append "mirror://gnome/sources/" name "/"
967 (version-major+minor version) "/"
968 name "-" version ".tar.xz"))
971 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
972 (build-system glib-or-gtk-build-system)
974 `(("intltool" ,intltool)
975 ("pkg-config" ,pkg-config)))
980 (synopsis "Notification Daemon for GNOME Desktop")
981 (description "Notification-Daemon is the server implementation of the
982 freedesktop.org desktop notification specification.")
983 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
984 (license license:gpl2+)))
986 (define-public mm-common
992 (uri (string-append "mirror://gnome/sources/mm-common/"
993 (version-major+minor version) "/"
994 "mm-common-" version ".tar.xz"))
997 "1jasx9a9g7nqf7jcv3mrg4qh5cp9sq724jxjaz4wa1dzmxsxg8i8"))))
998 (build-system meson-build-system)
1001 (modify-phases %standard-phases
1002 (add-after 'unpack 'patch
1003 (lambda* (#:key inputs #:allow-other-keys)
1004 (substitute* "util/mm-common-prepare.in"
1005 (("ln") (string-append (assoc-ref inputs "coreutils")
1007 (("cp") (string-append (assoc-ref inputs "coreutils")
1009 (("sed") (string-append (assoc-ref inputs "sed")
1011 (("cat") (string-append (assoc-ref inputs "coreutils")
1015 `(("coreutils" ,coreutils)
1016 ("gettext" ,gettext-minimal)
1017 ("pkg-config" ,pkg-config)
1020 `(("python" ,python)))
1021 (synopsis "Module of GNOME C++ bindings")
1022 (description "The mm-common module provides the build infrastructure
1023 and utilities shared among the GNOME C++ binding libraries. Release
1024 archives of mm-common include the Doxygen tag file for the GNU C++
1025 Library reference documentation.")
1026 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1027 (license license:gpl2+)))
1029 (define-public phodav
1035 (uri (string-append "mirror://gnome/sources/" name "/"
1036 (version-major+minor version) "/"
1037 name "-" version ".tar.xz"))
1040 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
1041 (build-system meson-build-system)
1043 `(("gettext" ,gettext-minimal)
1044 ("glib:bin" ,glib "bin")
1045 ("gtk-doc" ,gtk-doc)
1046 ("pkg-config" ,pkg-config)))
1049 ("libgudev" ,libgudev)
1050 ("libsoup" ,libsoup)))
1051 (synopsis "WebDav server implementation using libsoup")
1052 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1053 but it is generic enough to be reused in other projects,
1054 in particular in the GNOME desktop.")
1055 (home-page "https://wiki.gnome.org/phodav")
1056 (license license:lgpl2.1+)))
1058 (define-public gnome-color-manager
1060 (name "gnome-color-manager")
1064 (uri (string-append "mirror://gnome/sources/" name "/"
1065 (version-major+minor version) "/"
1066 name "-" version ".tar.xz"))
1069 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1070 (build-system meson-build-system)
1074 (modify-phases %standard-phases
1078 ;; Tests require a running X server.
1079 (system "Xvfb :1 &")
1080 (setenv "DISPLAY" ":1")
1083 `(("desktop-file-utils" ,desktop-file-utils)
1084 ("gettext" ,gettext-minimal)
1085 ("glib:bin" ,glib "bin")
1086 ("gtk+:bin" ,gtk+ "bin")
1087 ("itstool" ,itstool)
1088 ("pkg-config" ,pkg-config)
1089 ("xorg-server" ,xorg-server-for-tests)))
1091 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1092 ("appstream-glib" ,appstream-glib)
1093 ("colord-gtk" ,colord-gtk)
1095 ("gnome-desktop" ,gnome-desktop)
1096 ("libcanberra" ,libcanberra)
1097 ("libexif" ,libexif)
1098 ("libtiff" ,libtiff)
1099 ("libxrandr" ,libxrandr)
1100 ("libxtst" ,libxtst)
1101 ("libxxf86vm" ,libxxf86vm)
1103 ("xorgproto" ,xorgproto)))
1104 (synopsis "Color profile manager for the GNOME desktop")
1105 (description "GNOME Color Manager is a session framework that makes
1106 it easy to manage, install and generate color profiles
1107 in the GNOME desktop.")
1108 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1109 (license license:gpl2+)))
1111 (define-public gnome-online-miners
1113 (name "gnome-online-miners")
1117 (uri (string-append "mirror://gnome/sources/" name "/"
1118 (version-major+minor version) "/"
1119 name "-" version ".tar.xz"))
1122 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1123 (build-system glib-or-gtk-build-system)
1125 `(("gettext" ,gettext-minimal)
1126 ("glib:bin" ,glib "bin")
1127 ("gobject-introspection" ,gobject-introspection)
1128 ("gtk+:bin" ,gtk+ "bin")
1129 ("pkg-config" ,pkg-config)))
1131 `(("gnome-online-accounts" ,gnome-online-accounts)
1132 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1134 ("libgdata" ,libgdata)
1135 ("libgfbgraph" ,gfbgraph)
1136 ("libzapojit" ,libzapojit)
1138 ("tracker" ,tracker)))
1139 (synopsis "Web Crawlers for GNOME")
1140 (description "GNOME Online Miners provides a set of crawlers that
1141 go through your online content and index them locally in Tracker.
1142 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1143 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1144 (license license:gpl2+)))
1146 (define-public gssdp
1152 (uri (string-append "mirror://gnome/sources/" name "/"
1153 (version-major+minor version) "/"
1154 name "-" version ".tar.xz"))
1157 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1158 (build-system meson-build-system)
1160 `(("gettext" ,gettext-minimal)
1161 ("glib:bin" ,glib "bin")
1162 ("gobject-introspection" ,gobject-introspection)
1163 ("gtk-doc" ,gtk-doc)
1164 ("pkg-config" ,pkg-config)
1168 ("libsoup" ,libsoup)))
1169 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1170 Protocol} for GNOME")
1171 (description "This package provides a library to handle resource discovery
1172 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1173 a debugging tool, @command{gssdp-device-sniffer}.")
1174 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1175 (license license:lgpl2.0+)))
1177 (define-public gupnp
1183 (uri (string-append "mirror://gnome/sources/" name "/"
1184 (version-major+minor version) "/"
1185 name "-" version ".tar.xz"))
1188 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1189 (build-system meson-build-system)
1191 `(("gettext" ,gettext-minimal)
1192 ("glib:bin" ,glib "bin")
1193 ("gobject-introspection" ,gobject-introspection)
1194 ("gtk-doc" ,gtk-doc)
1195 ("pkg-config" ,pkg-config)
1200 ("libsoup" ,libsoup)))
1201 (synopsis "PnP API for GNOME")
1202 (description "This package provides GUPnP, an object-oriented framework
1203 for creating UPnP devices and control points, written in C using
1204 @code{GObject} and @code{libsoup}.")
1205 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1206 (license license:lgpl2.0+)))
1208 (define-public gupnp-dlna
1214 (uri (string-append "mirror://gnome/sources/" name "/"
1215 (version-major+minor version) "/"
1216 name "-" version ".tar.xz"))
1219 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1220 (build-system gnu-build-system)
1222 `(("gettext" ,gettext-minimal)
1223 ("glib:bin" ,glib "bin")
1224 ("gobject-introspection" ,gobject-introspection)
1225 ("gtk-doc" ,gtk-doc)
1227 ("pkg-config" ,pkg-config)
1230 `(("gstreamer" ,gstreamer)
1233 `(("gst-plugins-base" ,gst-plugins-base)
1234 ("gst-plugins-good" ,gst-plugins-good)))
1235 (synopsis "GUPnP DLNA for GNOME")
1236 (description "This package provides a small utility library to
1237 support DLNA-related tasks such as media profile guessing, transcoding to a
1238 given profile, etc. DLNA is a subset of UPnP A/V.")
1239 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1240 (license license:lgpl2.0+)))
1242 (define-public gupnp-av
1248 (uri (string-append "mirror://gnome/sources/" name "/"
1249 (version-major+minor version) "/"
1250 name "-" version ".tar.xz"))
1253 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1254 (build-system gnu-build-system)
1256 `(("gettext" ,gettext-minimal)
1257 ("glib:bin" ,glib "bin")
1258 ("gobject-introspection" ,gobject-introspection)
1259 ("gtk-doc" ,gtk-doc)
1261 ("pkg-config" ,pkg-config)))
1265 (synopsis "GUPnP A/V for GNOME")
1266 (description "This package provides a small library for handling
1267 and implementation of UPnP A/V profiles.")
1268 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1269 (license license:lgpl2.0+)))
1271 (define-public libmediaart
1273 (name "libmediaart")
1277 (uri (string-append "mirror://gnome/sources/" name "/"
1278 (version-major+minor version) "/"
1279 name "-" version ".tar.xz"))
1282 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1283 (build-system gnu-build-system)
1285 `(("glib:bin" ,glib "bin")
1286 ("pkg-config" ,pkg-config)))
1288 `(("gdk-pixbuf" ,gdk-pixbuf)
1289 ("gettext" ,gettext-minimal)
1290 ("gobject-introspection" ,gobject-introspection)
1291 ("gtk+:doc", gtk+ "doc")
1293 (synopsis "Media art library for the GNOME desktop")
1295 "The libmediaart library is the foundation for media art caching,
1296 extraction, and lookup for applications on the desktop.")
1297 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1298 (license license:lgpl2.1+)))
1300 (define-public gnome-initial-setup
1302 (name "gnome-initial-setup")
1306 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1307 (version-major+minor version)
1308 "/gnome-initial-setup-" version ".tar.xz"))
1311 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1312 (build-system meson-build-system)
1314 '(#:configure-flags '(;; Enable camera support for user selfie.
1317 #:phases (modify-phases %standard-phases
1318 (add-after 'unpack 'set-gkbd-file-name
1319 (lambda* (#:key inputs #:allow-other-keys)
1320 ;; Allow the "Preview" button in the keyboard layout
1321 ;; selection dialog to display the layout.
1322 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1323 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1324 (("\"gkbd-keyboard-display")
1325 (string-append "\"" libgnomekbd
1326 "/bin/gkbd-keyboard-display")))
1329 `(("gettext" ,gettext-minimal)
1330 ("glib:bin" ,glib "bin")
1331 ("gobject-introspection" ,gobject-introspection)
1332 ("gtk+:bin" ,gtk+ "bin")
1333 ("pkg-config" ,pkg-config)))
1335 `(("accountsservice" ,accountsservice)
1336 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1338 ("geoclue" ,geoclue)
1339 ("gnome-desktop" ,gnome-desktop)
1340 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1341 ("gnome-online-accounts" ,gnome-online-accounts)
1342 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1343 ("gstreamer" ,gstreamer)
1345 ("json-glib" ,json-glib)
1347 ("libgweather" ,libgweather)
1349 ("libsecret" ,libsecret)
1350 ("network-manager" ,network-manager)
1351 ("packagekit" ,packagekit)
1353 ("pwquality" ,libpwquality)
1356 ("webkitgtk" ,webkitgtk)
1357 ("libgnomekbd" ,libgnomekbd)))
1358 (synopsis "Initial setup wizard for GNOME desktop")
1359 (description "This package provides a set-up wizard when a
1360 user logs into GNOME for the first time. It typically provides a
1361 tour of all gnome components and allows the user to set them up.")
1362 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1363 (license license:gpl2)))
1365 (define-public gnome-user-share
1367 (name "gnome-user-share")
1371 (uri (string-append "mirror://gnome/sources/" name "/"
1372 (version-major+minor version) "/"
1373 name "-" version ".tar.xz"))
1376 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1377 (build-system meson-build-system)
1382 ;; Enable nautilus extension for file sharing.
1383 "-Dnautilus_extension=true")))
1385 `(("gettext" ,gettext-minimal)
1386 ("glib:bin" ,glib "bin")
1387 ("gobject-introspection" ,gobject-introspection)
1388 ("gtk+:bin" ,gtk+ "bin")
1389 ("pkg-config" ,pkg-config)
1390 ("yelp-tools" ,yelp-tools)))
1393 ("gnome-bluetooth" ,gnome-bluetooth)
1395 ("libcanberra" ,libcanberra)
1396 ("libnotify" ,libnotify)
1397 ("nautilus" ,nautilus))) ; For nautilus extension.
1398 (synopsis "File sharing for GNOME desktop")
1399 (description "GNOME User Share is a small package that binds together
1400 various free software projects to bring easy to use user-level file
1401 sharing to the masses.")
1402 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1403 (license license:gpl2+)))
1405 (define-public sushi
1411 (uri (string-append "mirror://gnome/sources/" name "/"
1412 (version-major+minor version) "/"
1413 name "-" version ".tar.xz"))
1416 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1417 (build-system meson-build-system)
1421 (modify-phases %standard-phases
1422 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1423 (lambda* (#:key outputs #:allow-other-keys)
1424 (let ((prog (string-append (assoc-ref outputs "out")
1426 ;; Put existing typelibs before sushi's deps, so as to correctly
1429 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1432 `(("glib:bin" ,glib "bin")
1433 ("gettext" ,gettext-minimal)
1434 ("gobject-introspection" ,gobject-introspection)
1435 ("pkg-config" ,pkg-config)))
1437 `(("clutter" ,clutter)
1438 ("clutter-gst" ,clutter-gst)
1439 ("clutter-gtk" ,clutter-gtk)
1440 ("evince" ,evince) ; For file previewing.
1441 ("freetype" ,freetype)
1442 ("gdk-pixbuf" ,gdk-pixbuf)
1444 ("gst-plugins-base" ,gst-plugins-base)
1445 ("gstreamer" ,gstreamer)
1446 ("gtksourceview" ,gtksourceview-3)
1447 ("harfbuzz" ,harfbuzz)
1448 ("libepoxy" ,libepoxy)
1449 ("libmusicbrainz" ,libmusicbrainz)
1450 ("libxml2" ,libxml2)
1452 ("webkitgtk" ,webkitgtk)))
1453 (synopsis "File previewer for the GNOME desktop")
1454 (description "Sushi is a DBus-activated service that allows applications to
1455 preview files on the GNOME desktop.")
1456 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1457 (license license:gpl2+)))
1459 (define-public rygel
1465 (uri (string-append "mirror://gnome/sources/" name "/"
1466 (version-major+minor version) "/"
1467 name "-" version ".tar.xz"))
1470 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1471 (build-system gnu-build-system)
1473 `(("gettext" ,gettext-minimal)
1474 ("gobject-introspection" ,gobject-introspection)
1475 ("gtk-doc" ,gtk-doc)
1476 ("pkg-config" ,pkg-config)
1479 `(("gdk-pixbuf" ,gdk-pixbuf)
1481 ("gstreamer" ,gstreamer)
1482 ("gst-plugins-base" ,gst-plugins-base)
1485 ("gupnp-av" ,gupnp-av)
1486 ("gupnp-dlna" ,gupnp-dlna)
1488 ("libmediaart" ,libmediaart)
1489 ("libsoup" ,libsoup)
1490 ("libxslt" ,libxslt)
1491 ("libunistring" ,libunistring)
1492 ("tracker" ,tracker)))
1493 (synopsis "Share audio, video, and pictures with other devices")
1495 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1496 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1497 pictures, and to control a media player on your home network.
1499 Rygel achieves interoperability with other devices by trying to conform to the
1500 strict requirements of DLNA and by converting media on-the-fly to formats that
1501 client devices can handle.")
1502 (home-page "https://wiki.gnome.org/Projects/Rygel")
1504 ;; For logo (data/icons/*).
1507 license:lgpl2.1+))))
1509 (define-public libnma
1515 (uri (string-append "mirror://gnome/sources/" name "/"
1516 (version-major+minor version) "/"
1517 name "-" version ".tar.xz"))
1520 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1521 (build-system meson-build-system)
1524 (modify-phases %standard-phases
1525 (add-after 'unpack 'patch-docbook-xml
1526 (lambda* (#:key inputs #:allow-other-keys)
1527 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1528 "/xml/dtd/docbook")))
1529 (substitute* "libnma-docs.xml"
1530 (("http://.*/docbookx\\.dtd")
1531 (string-append xmldoc "/docbookx.dtd")))
1534 `(("docbook-xml" ,docbook-xml-4.3)
1535 ("gettext" ,gettext-minimal)
1536 ("glib:bin" ,glib "bin")
1537 ("gtk-doc" ,gtk-doc)
1538 ("gobject-introspection" ,gobject-introspection)
1539 ("pkg-config" ,pkg-config)
1544 ("iso-codes" ,iso-codes)
1545 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1546 ("network-manager" ,network-manager)))
1547 (synopsis "Network Manager's applet library")
1548 (description "Libnma is an applet library for Network Manager. It was
1549 initially part of network-manager-applet and has now become a separate
1551 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1552 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1554 (license license:gpl2+)))
1556 (define-public gnome-menus
1558 (name "gnome-menus")
1562 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1563 (version-major+minor version) "/"
1564 name "-" version ".tar.xz"))
1567 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1568 (build-system gnu-build-system)
1570 `(("gettext" ,gettext-minimal)
1572 ("pkg-config" ,pkg-config)))
1573 (synopsis "Menu support for GNOME desktop")
1574 (description "GNOME Menus contains the libgnome-menu library, the layout
1575 configuration files for the GNOME menu, as well as a simple menu editor.")
1576 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1577 (license license:lgpl2.0+)))
1579 (define-public deja-dup
1585 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1586 version "/deja-dup-" version ".tar.bz2"))
1589 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1590 (build-system meson-build-system)
1595 ;; Otherwise, the RUNPATH will lack the final path component.
1596 (string-append "-Dc_link_args=-Wl,-rpath="
1597 (assoc-ref %outputs "out") "/lib/deja-dup"))
1599 (modify-phases %standard-phases
1600 (add-after 'unpack 'patch-paths
1601 (lambda* (#:key inputs #:allow-other-keys)
1602 (let ((python (assoc-ref inputs "python")))
1603 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1604 "libdeja/tests/scripts/instance-error.test")
1607 (substitute* "libdeja/tests/runner.vala"
1610 (substitute* "libdeja/tests/scripts/instance-error.test"
1611 (("`which python3`")
1612 (string-append python "/bin/python3"))))))
1613 (add-after 'unpack 'patch-libgpg-error
1614 (lambda* (#:key inputs #:allow-other-keys)
1615 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1616 (substitute* "meson.build"
1617 (("(gpgerror_libs = ).*" _ var)
1618 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1620 (add-after 'unpack 'skip-gtk-update-icon-cache
1621 ;; Don't create 'icon-theme.cache'.
1623 (substitute* "data/post-install.sh"
1624 (("gtk-update-icon-cache") "true"))
1627 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1628 ("duplicity" ,duplicity)
1630 ("python-pygobject" ,python-pygobject)
1632 ("json-glib" ,json-glib)
1633 ("libnotify" ,libnotify)
1634 ("libgpg-error" ,libgpg-error)
1635 ("libsecret" ,libsecret)
1636 ("libsoup" ,libsoup)
1637 ("packagekit" ,packagekit)))
1639 `(("appstream-glib" ,appstream-glib)
1640 ("desktop-file-utils" ,desktop-file-utils)
1641 ("gettext" ,gettext-minimal)
1642 ("glib" ,glib "bin") ; for glib-compile-schemas.
1643 ("gobject-introspection" ,gobject-introspection)
1644 ("itstool" ,itstool)
1645 ("pkg-config" ,pkg-config)
1647 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1648 (synopsis "Simple backup tool, for regular encrypted backups")
1650 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1651 uses duplicity as the backend, which supports incremental backups and storage
1652 either on a local, or remote machine via a number of methods.")
1653 (license license:gpl3+)))
1655 (define-public gnome-user-docs
1657 (name "gnome-user-docs")
1662 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1663 (version-major+minor version)
1664 "/gnome-user-docs-" version ".tar.xz"))
1666 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1667 (build-system gnu-build-system)
1669 `(("gettext" ,gettext-minimal)
1670 ("itstool" ,itstool)
1671 ("pkg-config" ,pkg-config)
1672 ("xmllint" ,libxml2)))
1673 (synopsis "User documentation for the GNOME desktop")
1675 "The GNOME User Documentation explains how to use the GNOME desktop and its
1676 components. It covers usage and setup of the core GNOME programs by end-users
1677 and system administrators.")
1678 (home-page "https://live.gnome.org/DocumentationProject")
1679 (license license:cc-by3.0)))
1681 (define-public gnome-getting-started-docs
1683 (name "gnome-getting-started-docs")
1688 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1689 (version-major+minor version)
1690 "/gnome-getting-started-docs-" version ".tar.xz"))
1692 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1693 (build-system gnu-build-system)
1695 `(("gettext" ,gettext-minimal)
1696 ("itstool" ,itstool)
1697 ("pkg-config" ,pkg-config)
1698 ("xmllint" ,libxml2)))
1699 (synopsis "Help to get new users started with the GNOME desktop")
1701 "The GNOME Getting Started Documentation contains GNOME's intuitive
1702 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1704 It is normally used together with @command{gnome-initial-setup}, but is also
1705 useful as a tutorial and users' guide for new or less experienced users.")
1706 (home-page "https://live.gnome.org/DocumentationProject")
1707 (license license:cc-by-sa3.0)))
1710 ;; This version from GNOME's repository includes fixes for compiling with
1711 ;; recent versions of the build tools. The latest activity on the
1712 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1714 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1718 (version (git-version "0.97.3" revision commit))
1722 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1724 (file-name (git-file-name name version))
1727 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1728 (build-system meson-build-system)
1730 `(("graphene" ,graphene)
1732 ("libxml2" ,libxml2)
1733 ("libxslt" ,libxslt)
1734 ("poppler" ,poppler)
1735 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1736 ;; ERROR: Unknown method "dependency" in object.
1737 ("python-2" ,python-2)))
1739 `(("appstream-glib" ,appstream-glib)
1740 ("docbook-xsl" ,docbook-xsl)
1741 ("glib" ,glib "bin")
1742 ("intltool" ,intltool)
1743 ("pkg-config" ,pkg-config)))
1744 (home-page "https://wiki.gnome.org/Apps/Dia")
1745 (synopsis "Diagram creation for GNOME")
1746 (description "Dia can be used to draw different types of diagrams, and
1747 includes support for UML static structure diagrams (class diagrams), entity
1748 relationship modeling, and network diagrams. The program supports various file
1749 formats like PNG, SVG, PDF and EPS.")
1750 (license license:gpl2+))))
1752 ;; This is the unstable release, but it is required for the current stable
1753 ;; release of gvfs (1.38.1).
1754 (define-public libgdata
1760 (uri (string-append "mirror://gnome/sources/" name "/"
1761 (version-major+minor version) "/"
1762 name "-" version ".tar.xz"))
1765 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1766 (build-system gnu-build-system)
1769 (modify-phases %standard-phases
1770 (add-before 'check 'disable-failing-tests
1772 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1773 ;; They have been removed in libgdata 0.17.6, so just do the same.
1774 (substitute* "gdata/tests/Makefile"
1775 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1778 `(("glib:bin" ,glib "bin")
1779 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1780 ("intltool" ,intltool)
1781 ("pkg-config" ,pkg-config)
1782 ("uhttpmock" ,uhttpmock)))
1784 `(("cyrus-sasl" ,cyrus-sasl)
1785 ("glib-networking" ,glib-networking)))
1789 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1790 ("json-glib" ,json-glib)
1791 ("liboauth" ,liboauth)
1792 ("libsoup" ,libsoup)
1793 ("libxml2" ,libxml2)))
1794 (home-page "https://wiki.gnome.org/Projects/libgdata")
1795 (synopsis "Library for accessing online service APIs")
1797 "libgdata is a GLib-based library for accessing online service APIs using
1798 the GData protocol — most notably, Google's services. It provides APIs to
1799 access the common Google services, and has full asynchronous support.")
1800 (license license:lgpl2.1+)))
1802 (define-public libgxps
1808 (uri (string-append "mirror://gnome/sources/" name "/"
1809 (version-major+minor version) "/"
1810 name "-" version ".tar.xz"))
1813 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1814 (build-system meson-build-system)
1816 `(("gobject-introspection" ,gobject-introspection)
1817 ("pkg-config" ,pkg-config)))
1820 ("libjpeg" ,libjpeg-turbo)
1822 ("libtiff" ,libtiff)))
1824 ;; In Requires of libgxps.pc.
1827 ("libarchive" ,libarchive)))
1828 (home-page "https://wiki.gnome.org/Projects/libgxps")
1829 (synopsis "GObject-based library for handling and rendering XPS documents")
1831 "libgxps is a GObject-based library for handling and rendering XPS
1832 documents. This package also contains binaries that can convert XPS documents
1834 (license license:lgpl2.1+)))
1836 (define-public gnome-characters
1838 (name "gnome-characters")
1843 (uri (string-append "mirror://gnome/sources/"
1844 "gnome-characters/" (version-major+minor version)
1845 "/gnome-characters-" version ".tar.xz"))
1848 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1849 (build-system meson-build-system)
1852 #:phases (modify-phases %standard-phases
1853 (add-after 'install 'wrap
1854 (lambda* (#:key outputs #:allow-other-keys)
1855 ;; GNOME Characters needs Typelib files from GTK and
1857 (wrap-program (string-append (assoc-ref outputs "out")
1858 "/bin/gnome-characters")
1859 `("GI_TYPELIB_PATH" ":" prefix
1860 (,(getenv "GI_TYPELIB_PATH"))))
1863 `(("gettext" ,gettext-minimal)
1864 ("glib:bin" ,glib "bin")
1865 ("gtk+:bin" ,gtk+ "bin")
1866 ("pkg-config" ,pkg-config)
1867 ("python" ,python-minimal)))
1871 ("libunistring" ,libunistring)
1872 ("gnome-desktop" ,gnome-desktop)))
1873 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1874 (synopsis "Find and insert unusual characters")
1875 (description "Characters is a simple utility application to find
1876 and insert unusual characters. It allows you to quickly find the
1877 character you are looking for by searching for keywords.")
1878 (license license:bsd-3)))
1880 (define-public gnome-common
1882 (name "gnome-common")
1887 (uri (string-append "mirror://gnome/sources/" name "/"
1888 (version-major+minor version) "/"
1889 name "-" version ".tar.xz"))
1892 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1893 (build-system gnu-build-system)
1894 (home-page "https://www.gnome.org/")
1895 (synopsis "Bootstrap GNOME modules built from Git")
1896 (description "gnome-common contains various files needed to bootstrap
1897 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1898 can be used to configure a source directory checked out from Git and some
1899 commonly used macros.")
1900 (license license:gpl2+)))
1902 (define-public gnome-contacts
1904 (name "gnome-contacts")
1908 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1909 (version-major+minor version) "/"
1910 name "-" version ".tar.xz"))
1913 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
1914 (build-system meson-build-system)
1916 `(#:configure-flags '("-Dcheese=false")
1918 (modify-phases %standard-phases
1919 (add-after 'unpack 'generate-vapis
1920 (lambda* (#:key inputs #:allow-other-keys)
1921 ;; To generate goa's missing .vapi file
1923 (assoc-ref inputs "gnome-online-accounts:lib"))
1925 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1927 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1929 (add-after 'unpack 'skip-gtk-update-icon-cache
1930 ;; Don't create 'icon-theme.cache'.
1932 (substitute* "build-aux/meson_post_install.py"
1933 (("gtk-update-icon-cache") "true"))
1936 `(("glib:bin" ,glib "bin")
1937 ("pkg-config" ,pkg-config)))
1939 `(("docbook-xml" ,docbook-xml)
1940 ("dockbook-xsl" ,docbook-xsl)
1941 ("evolution-data-server" ,evolution-data-server)
1942 ("gettext" ,gettext-minimal)
1943 ("gnome-desktop" ,gnome-desktop)
1944 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1945 ("gobject-introspection" ,gobject-introspection)
1946 ("gst-plugins-base" ,gst-plugins-base)
1949 ("libxslt" ,libxslt)
1950 ("telepathy-glib" ,telepathy-glib)
1954 ("telepathy-mission-control" ,telepathy-mission-control)))
1955 (synopsis "GNOME's integrated address book")
1957 "GNOME Contacts organizes your contact information from online and
1958 offline sources, providing a centralized place for managing your contacts.")
1959 (home-page "https://wiki.gnome.org/Apps/Contacts")
1960 (license license:gpl2+)))
1962 (define-public gnome-desktop
1964 (name "gnome-desktop")
1969 (uri (string-append "mirror://gnome/sources/" name "/"
1970 (version-major+minor version) "/"
1971 name "-" version ".tar.xz"))
1974 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
1975 (build-system meson-build-system)
1978 (modify-phases %standard-phases
1979 (add-before 'configure 'patch-path
1980 (lambda* (#:key inputs #:allow-other-keys)
1981 (let ((libc (assoc-ref inputs "libc")))
1982 (substitute* "libgnome-desktop/gnome-languages.c"
1984 (string-append "\"" libc "/bin/locale\"")))
1986 (add-before 'configure 'patch-bubblewrap
1987 (lambda* (#:key inputs #:allow-other-keys)
1988 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
1990 (string-append "\"" (which "bwrap") "\","))
1991 (("\"--ro-bind\", \"/usr\", \"/usr\",")
1992 (string-append "\"--ro-bind\", \""
1997 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
1999 (add-before 'check 'pre-check
2000 (lambda* (#:key inputs #:allow-other-keys)
2001 ;; Tests require a running X server and locales.
2002 (system "Xvfb :1 &")
2003 (setenv "DISPLAY" ":1")
2004 (setenv "GUIX_LOCPATH"
2005 (string-append (assoc-ref inputs "glibc-locales")
2009 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2010 ("glibc-locales" ,glibc-locales) ; for tests
2011 ("gobject-introspection" ,gobject-introspection)
2012 ("itstool" ,itstool)
2013 ("intltool" ,intltool)
2014 ("pkg-config" ,pkg-config)
2015 ("xmllint" ,libxml2)
2016 ("xorg-server" ,xorg-server-for-tests)))
2018 ;; Required by gnome-desktop-3.0.pc.
2019 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2021 ("iso-codes" ,iso-codes)
2022 ("libseccomp" ,libseccomp)
2024 ("xkeyboard-config" ,xkeyboard-config)))
2026 `(("gdk-pixbuf" ,gdk-pixbuf)
2028 ("bubblewrap" ,bubblewrap)
2029 ("libxext" ,libxext)
2030 ("libxkbfile" ,libxkbfile)
2031 ("libxrandr" ,libxrandr)))
2032 (home-page "https://www.gnome.org/")
2034 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2036 "The libgnome-desktop library provides API shared by several applications
2037 on the desktop, but that cannot live in the platform for various reasons.
2038 There is no API or ABI guarantee, although we are doing our best to provide
2039 stability. Documentation for the API is available with gtk-doc.
2041 The gnome-about program helps find which version of GNOME is installed.")
2042 ; Some bits under the LGPL.
2043 (license license:gpl2+)))
2045 (define-public gnome-doc-utils
2047 (name "gnome-doc-utils")
2052 (uri (string-append "mirror://gnome/sources/" name "/"
2053 (version-major+minor version) "/"
2054 name "-" version ".tar.xz"))
2057 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2058 (build-system gnu-build-system)
2060 `(("intltool" ,intltool)
2061 ("docbook-xml" ,docbook-xml-4.4)
2062 ("python2-libxml2" ,python2-libxml2)
2063 ("libxml2" ,libxml2)
2064 ("libxslt" ,libxslt)
2065 ("pkg-config" ,pkg-config)
2066 ("python-2" ,python-2)))
2067 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2069 "Documentation utilities for the Gnome project")
2071 "Gnome-doc-utils is a collection of documentation utilities for the
2072 Gnome project. It includes xml2po tool which makes it easier to translate
2073 and keep up to date translations of documentation.")
2074 (license license:gpl2+))) ; xslt under lgpl
2076 (define-public gnome-disk-utility
2078 (name "gnome-disk-utility")
2082 (uri (string-append "mirror://gnome/sources/" name "/"
2083 (version-major+minor version) "/"
2084 name "-" version ".tar.xz"))
2087 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2088 (build-system meson-build-system)
2090 '(#:configure-flags '("-Dlogind=libelogind")
2092 (modify-phases %standard-phases
2093 (add-after 'unpack 'skip-gtk-update-icon-cache
2094 ;; Don't create 'icon-theme.cache'.
2096 (substitute* "meson_post_install.py"
2097 (("gtk-update-icon-cache") "true"))
2100 `(("glib:bin" ,glib "bin")
2101 ("intltool" ,intltool)
2102 ("pkg-config" ,pkg-config)
2103 ("docbook-xml" ,docbook-xml)
2104 ("docbook-xsl" ,docbook-xsl)
2105 ("libxml2" ,libxml2)
2106 ("libxslt" ,libxslt)))
2108 `(("elogind" ,elogind)
2110 ("appstream-glib" ,appstream-glib)
2111 ("gnome-settings-daemon" ,gnome-settings-daemon)
2113 ("libcanberra" ,libcanberra)
2114 ("libdvdread" ,libdvdread)
2115 ("libnotify" ,libnotify)
2116 ("libpwquality" ,libpwquality)
2117 ("libsecret" ,libsecret)
2118 ("udisks" ,udisks)))
2119 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2120 (synopsis "Disk management utility for GNOME")
2121 (description "Disk management utility for GNOME.")
2122 (license license:gpl2+)))
2124 (define-public gnome-font-viewer
2126 (name "gnome-font-viewer")
2130 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2131 (version-major+minor version)
2132 "/gnome-font-viewer-" version ".tar.xz"))
2135 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2136 (build-system meson-build-system)
2139 (modify-phases %standard-phases
2140 (add-after 'unpack 'patch-post-install-script
2142 (substitute* "meson-postinstall.sh"
2143 (("update-desktop-database") (which "true")))
2146 `(("gettext" ,gettext-minimal)
2147 ("glib:bin" ,glib "bin")
2148 ("pkg-config" ,pkg-config)))
2151 ("gnome-desktop" ,gnome-desktop)
2153 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2154 (synopsis "GNOME Fonts")
2155 (description "Application to show you the fonts installed on your computer
2156 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2157 the font would look under various sizes.")
2158 (license license:gpl2+)))
2166 (uri (string-append "mirror://gnome/sources/" name "/"
2167 (version-major+minor version) "/"
2168 name "-" version ".tar.xz"))
2171 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2172 (build-system gnu-build-system)
2175 (modify-phases %standard-phases
2176 ;; These fail because /var/lib/dbus/machine-id is not present in the
2177 ;; build environment.
2178 (add-after 'unpack 'disable-failing-tests
2180 (substitute* "Makefile.in"
2181 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2184 (add-before 'check 'pre-check
2186 ;; Some tests expect to write to $HOME.
2187 (setenv "HOME" "/tmp")
2191 ("gnupg" ,gnupg) ;called as a child process during tests
2192 ("libgcrypt" ,libgcrypt)))
2194 `(("python" ,python-wrapper) ;for tests
2195 ("pkg-config" ,pkg-config)
2196 ("gettext" ,gettext-minimal)
2197 ("glib" ,glib "bin")
2198 ("gobject-introspection" ,gobject-introspection)
2199 ("libxml2" ,libxml2)
2201 ("xsltproc" ,libxslt)))
2202 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2204 `(("p11-kit" ,p11-kit)
2207 (home-page "https://www.gnome.org")
2208 (synopsis "Libraries for displaying certificates and accessing key stores")
2210 "The GCR package contains libraries used for displaying certificates and
2211 accessing key stores. It also provides the viewer for crypto files on the
2213 (license license:lgpl2.1+)))
2222 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2223 (commit (string-append "GDL_" (string-map (match-lambda
2227 (file-name (git-file-name name version))
2230 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2231 (build-system gnu-build-system)
2233 `(("autoconf" ,autoconf)
2234 ("automake" ,automake)
2235 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2236 ("gnome-common" ,gnome-common)
2237 ("gtk-doc" ,gtk-doc)
2238 ("intltool" ,intltool)
2239 ("pkg-config" ,pkg-config)
2240 ("libtool" ,libtool)
2243 `(("libxml2" ,libxml2)))
2245 ;; The gdl-3.0.pc file 'Requires' GTK+.
2247 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2248 (synopsis "GNOME docking library")
2249 (description "This library provides docking features for gtk+.")
2250 (license license:lgpl2.1+)))
2252 ;;; A minimal variant used to break a cycle with Inkscape.
2253 (define-public gdl-minimal
2256 (name "gdl-minimal")
2259 (modify-phases %standard-phases
2260 (add-after 'unpack 'disable-doc-generation
2261 ;; XXX: There is no easy way to disable generating the
2264 (substitute* "configure.in"
2265 (("GTK_DOC_CHECK.*") "")
2267 (substitute* "Makefile.am"
2268 (("gdl docs po") "gdl po"))
2270 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2272 (define-public libgnome-keyring
2274 (name "libgnome-keyring")
2278 (uri (string-append "mirror://gnome/sources/" name "/"
2279 (version-major+minor version) "/"
2280 name "-" version ".tar.xz"))
2283 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2284 (build-system gnu-build-system)
2286 `(("libgcrypt" ,libgcrypt)
2289 `(("pkg-config" ,pkg-config)
2290 ("glib" ,glib "bin")
2291 ("intltool" ,intltool)))
2293 ;; Referred to in .h files and .pc.
2295 (home-page "https://www.gnome.org")
2296 (synopsis "Accessing passwords from the GNOME keyring")
2298 "Client library to access passwords from the GNOME keyring.")
2300 ;; Though a couple of files are LGPLv2.1+.
2301 (license license:lgpl2.0+)))
2303 (define-public gnome-keyring
2305 (name "gnome-keyring")
2309 (uri (string-append "mirror://gnome/sources/" name "/"
2310 (version-major+minor version) "/"
2311 name "-" version ".tar.xz"))
2314 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2315 (build-system gnu-build-system)
2317 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2321 (string-append "--with-pkcs11-config="
2322 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2323 (string-append "--with-pkcs11-modules="
2324 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2326 (modify-phases %standard-phases
2327 (add-after 'unpack 'fix-/bin/sh-reference
2329 (substitute* "po/Makefile.in.in"
2330 (("/bin/sh") (which "sh")))
2332 (add-after 'unpack 'fix-docbook
2333 (lambda* (#:key inputs #:allow-other-keys)
2334 (substitute* "docs/Makefile.am"
2335 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2336 (string-append (assoc-ref inputs "docbook-xsl")
2337 "/xml/xsl/docbook-xsl-"
2338 ,(package-version docbook-xsl)
2339 "/manpages/docbook.xsl")))
2340 (setenv "XML_CATALOG_FILES"
2341 (string-append (assoc-ref inputs "docbook-xml")
2342 "/xml/dtd/docbook/catalog.xml"))
2343 ;; Rerun the whole thing to avoid version mismatch ("This is
2344 ;; Automake 1.15.1, but the definition used by this
2345 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2346 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2349 (invoke "automake" "-ac"))))))
2351 `(("libgcrypt" ,libgcrypt)
2352 ("linux-pam" ,linux-pam)
2353 ("openssh" ,openssh)
2357 `(("pkg-config" ,pkg-config)
2358 ("glib" ,glib "bin")
2359 ("glib" ,glib) ; for m4 macros
2360 ("python" ,python-2) ;for tests
2361 ("intltool" ,intltool)
2362 ("autoconf" ,autoconf)
2363 ("automake" ,automake)
2364 ("libxslt" ,libxslt) ;for documentation
2365 ("docbook-xml" ,docbook-xml-4.2)
2366 ("docbook-xsl" ,docbook-xsl)))
2367 (home-page "https://www.gnome.org")
2368 (synopsis "Daemon to store passwords and encryption keys")
2370 "gnome-keyring is a program that keeps passwords and other secrets for
2371 users. It is run as a daemon in the session, similar to ssh-agent, and other
2372 applications locate it via an environment variable or D-Bus.
2374 The program can manage several keyrings, each with its own master password,
2375 and there is also a session keyring which is never stored to disk, but
2376 forgotten when the session ends.")
2377 (license license:lgpl2.1+)))
2379 (define-public evince
2385 (uri (string-append "mirror://gnome/sources/evince/"
2386 (version-major+minor version) "/"
2387 "evince-" version ".tar.xz"))
2390 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2391 (build-system glib-or-gtk-build-system)
2393 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2395 (modify-phases %standard-phases
2396 (add-before 'install 'skip-gtk-update-icon-cache
2397 ;; Don't create 'icon-theme.cache'.
2399 (substitute* "data/Makefile"
2400 (("gtk-update-icon-cache") "true"))
2403 `(("libarchive" ,libarchive)
2404 ("libgxps" ,libgxps)
2405 ("libspectre" ,libspectre)
2406 ("djvulibre" ,djvulibre)
2407 ("ghostscript" ,ghostscript)
2408 ("poppler" ,poppler)
2409 ("libtiff" ,libtiff)
2411 ;; Build libkpathsea as a shared library for DVI support.
2412 ;; ("libkpathsea" ,texlive-bin)
2413 ("gnome-desktop" ,gnome-desktop)
2414 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2416 ("libgnome-keyring" ,libgnome-keyring)
2417 ("adwaita-icon-theme" ,adwaita-icon-theme)
2418 ("gdk-pixbuf" ,gdk-pixbuf)
2423 ("libxml2" ,libxml2)
2426 ("shared-mime-info" ,shared-mime-info)
2428 ("libcanberra" ,libcanberra)
2429 ("libsecret" ,libsecret)
2432 ("dogtail" ,python2-dogtail)))
2434 `(("itstool" ,itstool)
2435 ("intltool" ,intltool)
2436 ("glib" ,glib "bin")
2437 ("gobject-introspection" ,gobject-introspection)
2438 ("pkg-config" ,pkg-config)
2439 ("xmllint" ,libxml2)))
2440 (home-page "https://www.gnome.org/projects/evince/")
2441 (synopsis "GNOME's document viewer")
2443 "Evince is a document viewer for multiple document formats. It
2444 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2445 of Evince is to replace the multiple document viewers that exist
2446 on the GNOME Desktop with a single simple application.")
2447 (license license:gpl2+)))
2449 (define-public gsettings-desktop-schemas
2451 (name "gsettings-desktop-schemas")
2456 (uri (string-append "mirror://gnome/sources/" name "/"
2457 (version-major+minor version) "/"
2458 name "-" version ".tar.xz"))
2461 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2462 (build-system meson-build-system)
2464 '(#:phases (modify-phases %standard-phases
2465 (add-after 'unpack 'patch-schemas
2466 (lambda* (#:key inputs #:allow-other-keys)
2467 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2468 (substitute* (find-files "schemas"
2469 "\\.gschema\\.xml\\.in$")
2470 ;; Provide the correct file name of the default GNOME
2471 ;; background, 'adwaita-timed.xml'.
2472 (("@datadir@/backgrounds/gnome")
2473 (string-append theme "/share/backgrounds/gnome"))
2474 ;; Do not reference fonts, that may not exist.
2475 (("'Source Code Pro 10'") "'Monospace 11'"))
2479 ("gnome-backgrounds" ,gnome-backgrounds)))
2481 `(("intltool" ,intltool)
2482 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2483 ("gobject-introspection" ,gobject-introspection)
2484 ("pkg-config" ,pkg-config)))
2485 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2487 "GNOME settings for various desktop components")
2489 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2490 for settings shared by various components of the GNOME desktop.")
2491 (license license:lgpl2.1+)))
2493 (define-public icon-naming-utils
2495 (name "icon-naming-utils")
2500 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2501 version ".tar.bz2"))
2504 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2505 (build-system gnu-build-system)
2508 ("perl-xml-simple" ,perl-xml-simple)))
2511 (modify-phases %standard-phases
2512 (add-after 'install 'set-load-paths
2513 ;; Tell 'icon-name-mapping' where XML::Simple is.
2514 (lambda* (#:key outputs #:allow-other-keys)
2515 (let* ((out (assoc-ref outputs "out"))
2516 (prog (string-append out "/libexec/icon-name-mapping")))
2519 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2521 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2523 "Utility to implement the Freedesktop Icon Naming Specification")
2525 "To help with the transition to the Freedesktop Icon Naming
2526 Specification, the icon naming utility maps the icon names used by the
2527 GNOME and KDE desktops to the icon names proposed in the specification.")
2528 (license license:lgpl2.1+)))
2530 (define-public gnome-icon-theme
2532 (name "gnome-icon-theme")
2537 (uri (string-append "mirror://gnome/sources/" name "/"
2538 (version-major+minor version) "/"
2539 name "-" version ".tar.xz"))
2542 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2543 (build-system gnu-build-system)
2546 ;; Don't create 'icon-theme.cache'.
2547 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2548 (true (string-append coreutils "/bin/true")))
2549 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2551 `(("icon-naming-utils" ,icon-naming-utils)
2552 ("intltool" ,intltool)
2553 ("pkg-config" ,pkg-config)))
2554 (home-page "https://wiki.gnome.org/Personalization")
2555 (synopsis "GNOME icon theme")
2556 (description "Icons for the GNOME desktop.")
2557 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2559 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2560 (define-public adwaita-icon-theme
2561 (package (inherit gnome-icon-theme)
2562 (name "adwaita-icon-theme")
2566 (uri (string-append "mirror://gnome/sources/" name "/"
2567 (version-major+minor version) "/"
2568 name "-" version ".tar.xz"))
2571 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2573 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2575 (define-public tango-icon-theme
2577 (name "tango-icon-theme")
2581 (uri (string-append "http://tango.freedesktop.org/releases/"
2582 "tango-icon-theme-" version ".tar.bz2"))
2585 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2586 (build-system gnu-build-system)
2588 `(("icon-naming-utils" ,icon-naming-utils)
2589 ("intltool" ,intltool)
2590 ("imagemagick" ,imagemagick)
2591 ("pkg-config" ,pkg-config)))
2592 (home-page "http://tango-project.org/")
2593 (synopsis "Tango icon theme")
2594 (description "This is an icon theme that follows the Tango visual
2596 (license license:public-domain)))
2598 (define-public shared-mime-info
2600 (name "shared-mime-info")
2605 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2606 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2610 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2611 (build-system gnu-build-system)
2613 ;; The build system appears not to be parallel-safe.
2614 '(#:parallel-build? #f))
2617 ("libxml2" ,libxml2)))
2619 `(("gettext" ,gettext-minimal)
2620 ("itstool" ,itstool)
2621 ("pkg-config" ,pkg-config)))
2622 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2623 (synopsis "Database of common MIME types")
2625 "The shared-mime-info package contains the core database of common types
2626 and the update-mime-database command used to extend it. It requires glib2 to
2627 be installed for building the update command. Additionally, it uses intltool
2628 for translations, though this is only a dependency for the maintainers. This
2629 database is translated at Transifex.")
2630 (license license:gpl2+)))
2632 (define-public system-config-printer
2634 (name "system-config-printer")
2640 "https://github.com/OpenPrinting/system-config-printer/releases/"
2642 "/system-config-printer-" version ".tar.xz"))
2644 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
2645 (build-system glib-or-gtk-build-system)
2647 `(#:imported-modules ((guix build python-build-system)
2648 ,@%glib-or-gtk-build-system-modules)
2650 (modify-phases %standard-phases
2651 (add-after 'unpack 'patch-Makefile.am
2653 ;; The Makefile generates some scripts, so set a valid shebang
2654 (substitute* "Makefile.am"
2655 (("/bin/bash") (which "bash")))
2656 (delete-file "configure")
2658 (add-after 'unpack 'patch-docbook-xml
2659 (lambda* (#:key inputs #:allow-other-keys)
2660 ;; Modify the man XML otherwise xmlto tries to access the network
2661 (substitute* "man/system-config-printer.xml"
2662 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2663 (string-append (assoc-ref inputs "docbook-xml")
2664 "/xml/dtd/docbook/")))
2666 (add-after 'install 'wrap-for-python
2667 (@@ (guix build python-build-system) wrap))
2668 (add-after 'install 'wrap
2669 (lambda* (#:key outputs #:allow-other-keys)
2670 (let ((out (assoc-ref outputs "out"))
2671 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2674 (wrap-program program
2675 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2677 (string-append out "/bin/" name))
2678 '("system-config-printer"
2679 "system-config-printer-applet"
2680 "install-printerdriver"
2681 "scp-dbus-service"))))
2684 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2685 ("gobject-introspection" ,gobject-introspection)
2689 ("python-dbus" ,python-dbus)
2690 ("python-pygobject" ,python-pygobject)
2691 ("python-pycups" ,python-pycups)
2692 ("python-requests" ,python-requests)
2693 ("python-pycairo" ,python-pycairo)
2694 ("libnotify" ,libnotify)
2695 ("packagekit" ,packagekit)))
2697 `(("pkg-config" ,pkg-config)
2698 ("desktop-file-utils" ,desktop-file-utils)
2700 ("autoconf" ,autoconf)
2701 ("automake" ,automake)
2702 ("intltool" ,intltool)
2704 ("docbook-xml" ,docbook-xml-4.1.2)
2705 ("docbook-xsl" ,docbook-xsl)
2706 ("libxml2" ,libxml2)))
2707 (home-page "https://github.com/zdohnal/system-config-printer")
2708 (synopsis "CUPS administration tool")
2710 "system-config-printer is a CUPS administration tool. It's written in
2711 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2713 (license license:gpl2+)))
2715 (define-public hicolor-icon-theme
2717 (name "hicolor-icon-theme")
2722 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
2723 "hicolor-icon-theme-" version ".tar.xz"))
2726 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
2727 (build-system gnu-build-system)
2729 `(#:tests? #f)) ; no check target
2730 (home-page "https://icon-theme.freedesktop.org/releases/")
2732 "Freedesktop icon theme")
2734 "Freedesktop icon theme.")
2735 (license license:gpl2)))
2737 (define-public libnotify
2744 (uri (string-append "mirror://gnome/sources/" name "/"
2745 (version-major+minor version) "/"
2746 name "-" version ".tar.xz"))
2749 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
2750 (build-system gnu-build-system)
2752 `(#:configure-flags '("--disable-static")))
2754 `(;; In Requires of libnotify.pc.
2755 ("gdk-pixbuf" ,gdk-pixbuf)
2759 ("libpng" ,libpng)))
2761 `(("pkg-config" ,pkg-config)
2762 ("glib" ,glib "bin")
2763 ("gobject-introspection" ,gobject-introspection)))
2764 (home-page "https://developer-next.gnome.org/libnotify/")
2766 "GNOME desktop notification library")
2768 "Libnotify is a library that sends desktop notifications to a
2769 notification daemon, as defined in the Desktop Notifications spec. These
2770 notifications can be used to inform the user about an event or display
2771 some form of information without getting in the user's way.")
2772 (license license:lgpl2.1+)))
2774 (define-public libpeas
2781 (uri (string-append "mirror://gnome/sources/" name "/"
2782 (version-major+minor version) "/"
2783 name "-" version ".tar.xz"))
2786 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2787 (build-system meson-build-system)
2790 (modify-phases %standard-phases
2791 (add-before 'check 'start-xserver
2792 (lambda* (#:key inputs #:allow-other-keys)
2793 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2795 (setenv "DISPLAY" disp)
2796 ;; Tests require a running X server.
2797 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
2803 ("python-pygobject" ,python-pygobject)))
2805 `(("pkg-config" ,pkg-config)
2806 ("gettext" ,gettext-minimal)
2807 ("glib:bin" ,glib "bin")
2808 ("gobject-introspection" ,gobject-introspection)
2809 ("xorg-server" ,xorg-server-for-tests)))
2811 ;; The .pc file "Requires" gobject-introspection.
2812 `(("gobject-introspection" ,gobject-introspection)))
2813 (home-page "https://wiki.gnome.org/Libpeas")
2814 (synopsis "GObject plugin system")
2816 "Libpeas is a gobject-based plugin engine, targeted at giving every
2817 application the chance to assume its own extensibility. It also has a set of
2818 features including, but not limited to: multiple extension points; on-demand
2819 (lazy) programming language support for C, Python and JS; simplicity of the
2821 (license license:lgpl2.0+)))
2823 (define-public gtkglext
2829 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
2830 version "/gtkglext-" version ".tar.gz"))
2832 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
2833 (patches (search-patches
2834 "gtkglext-disable-disable-deprecated.patch"))))
2835 (build-system gnu-build-system)
2838 (modify-phases %standard-phases
2839 ;; Fix a collision between a local variable and a definition from
2840 ;; glibc's string.h.
2841 (add-after 'unpack 'fix-collision
2843 (substitute* "gdk/gdkglshapes.c"
2844 ((" index") " triangle_index"))
2846 (inputs `(("gtk+" ,gtk+-2)
2851 (native-inputs `(("pkg-config" ,pkg-config)
2852 ("glib" ,glib "bin")))
2853 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
2854 (home-page "https://projects.gnome.org/gtkglext")
2855 (synopsis "OpenGL extension to GTK+")
2856 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
2857 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
2858 API add-ons to make GTK+ widgets OpenGL-capable.")
2859 (license license:lgpl2.1+)))
2861 (define-public glade3
2867 (uri (string-append "mirror://gnome/sources/" name "/"
2868 (version-major+minor version) "/"
2869 name "-" version ".tar.xz"))
2872 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
2873 (build-system glib-or-gtk-build-system)
2876 (modify-phases %standard-phases
2877 (add-before 'configure 'fix-docbook
2878 (lambda* (#:key inputs #:allow-other-keys)
2879 (substitute* "man/Makefile.in"
2880 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2881 (string-append (assoc-ref inputs "docbook-xsl")
2882 "/xml/xsl/docbook-xsl-"
2883 ,(package-version docbook-xsl)
2884 "/manpages/docbook.xsl")))
2886 (add-before 'check 'pre-check
2888 (setenv "HOME" "/tmp")
2889 ;; Tests require a running X server.
2890 (system "Xvfb :1 &")
2891 (setenv "DISPLAY" ":1")
2895 ("libxml2" ,libxml2)))
2897 `(("hicolor-icon-theme" ,hicolor-icon-theme)
2898 ("intltool" ,intltool)
2899 ("itstool" ,itstool)
2900 ("libxslt" ,libxslt) ;for xsltproc
2901 ("docbook-xml" ,docbook-xml-4.2)
2902 ("docbook-xsl" ,docbook-xsl)
2903 ("python" ,python-2)
2904 ("pkg-config" ,pkg-config)
2905 ("xorg-server" ,xorg-server-for-tests)))
2906 (home-page "https://glade.gnome.org")
2907 (synopsis "GTK+ rapid application development tool")
2908 (description "Glade is a rapid application development (RAD) tool to
2909 enable quick & easy development of user interfaces for the GTK+ toolkit and
2910 the GNOME desktop environment.")
2911 (license license:lgpl2.0+)))
2913 (define-public libcroco
2919 (uri (string-append "mirror://gnome/sources/" name "/"
2920 (version-major+minor version) "/"
2921 name "-" version ".tar.xz"))
2924 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2925 (build-system gnu-build-system)
2927 `(("pkg-config" ,pkg-config)))
2930 ("libxml2" ,libxml2)
2932 (home-page "https://github.com/GNOME/libcroco")
2933 (synopsis "CSS2 parsing and manipulation library")
2935 "Libcroco is a standalone CSS2 parsing and manipulation library.
2936 The parser provides a low level event driven SAC-like API and a CSS object
2937 model like API. Libcroco provides a CSS2 selection engine and an experimental
2938 XML/CSS rendering engine.")
2941 (license license:lgpl2.1)))
2943 (define-public libgsf
2949 (uri (string-append "mirror://gnome/sources/" name "/"
2950 (version-major+minor version) "/"
2951 name "-" version ".tar.xz"))
2954 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
2955 (build-system gnu-build-system)
2957 '(#:configure-flags '("--disable-static")))
2959 `(("pkg-config" ,pkg-config)
2960 ("gettext" ,gettext-minimal)
2964 ("perl-xml-parser" ,perl-xml-parser)))
2969 `(("gdk-pixbuf" ,gdk-pixbuf)
2971 ("libxml2" ,libxml2)))
2972 (home-page "https://www.gnome.org/projects/libgsf")
2973 (synopsis "GNOME's Structured File Library")
2975 "Libgsf aims to provide an efficient extensible I/O abstraction for
2976 dealing with different structured file formats.")
2979 (license license:lgpl2.1)))
2981 (define-public librsvg
2987 (uri (string-append "mirror://gnome/sources/" name "/"
2988 (version-major+minor version) "/"
2989 name "-" version ".tar.xz"))
2992 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
2993 (build-system gnu-build-system)
2996 (list "--disable-static"
2997 "--enable-vala") ; needed for e.g. gnome-mines
2999 (modify-phases %standard-phases
3000 (add-before 'configure 'pre-configure
3001 (lambda* (#:key inputs #:allow-other-keys)
3002 (substitute* "gdk-pixbuf-loader/Makefile.in"
3003 ;; By default the gdk-pixbuf loader is installed under
3004 ;; gdk-pixbuf's prefix. Work around that.
3005 (("gdk_pixbuf_moduledir = .*$")
3006 (string-append "gdk_pixbuf_moduledir = "
3007 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3009 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3010 (("gdk_pixbuf_cache_file = .*$")
3011 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3013 (add-before 'check 'remove-failing-tests
3015 (with-directory-excursion "tests/fixtures/reftests"
3016 (for-each delete-file
3017 '(;; This test fails on i686:
3018 "svg1.1/masking-path-04-b.svg"
3019 ;; This test fails on armhf:
3020 "svg1.1/masking-mask-01-b.svg"
3021 ;; This test fails on aarch64:
3022 "bugs/777834-empty-text-children.svg")))
3025 `(("pkg-config" ,pkg-config)
3027 ("glib" ,glib "bin") ; glib-mkenums, etc.
3028 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3030 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3031 ;; this ancient version of librsvg.
3032 ("pango" ,pango-1.42)
3033 ("libcroco" ,libcroco)
3036 ("libxml2" ,libxml2)))
3038 ;; librsvg-2.0.pc refers to all of that.
3040 ("gdk-pixbuf" ,gdk-pixbuf)
3042 (home-page "https://wiki.gnome.org/LibRsvg")
3043 (synopsis "Render SVG files using Cairo")
3045 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3047 (license license:lgpl2.0+)))
3049 (define-public librsvg-next
3055 (uri (string-append "mirror://gnome/sources/librsvg/"
3056 (version-major+minor version) "/"
3057 "librsvg-" version ".tar.xz"))
3060 "14i6xzghcidv64cyd3g0wdjbl82rph737yxn9s3x29nzpcjs707l"))
3061 (modules '((guix build utils)))
3063 '(begin (delete-file-recursively "vendor")
3065 (build-system cargo-build-system)
3066 (outputs '("out" "doc"))
3069 ((guix build cargo-build-system)
3071 ((guix build gnu-build-system) #:prefix gnu:))
3073 (("rust-bitflags" ,rust-bitflags-1)
3074 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3075 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3076 ("rust-cast" ,rust-cast-0.2)
3077 ("rust-cssparser" ,rust-cssparser-0.27)
3078 ("rust-data-url" ,rust-data-url-0.1)
3079 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
3080 ("rust-encoding" ,rust-encoding-0.2)
3081 ("rust-float-cmp" ,rust-float-cmp-0.6)
3082 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3083 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3084 ("rust-gio" ,rust-gio-0.8)
3085 ("rust-gio-sys" ,rust-gio-sys-0.9)
3086 ("rust-glib" ,rust-glib-0.9)
3087 ("rust-glib-sys" ,rust-glib-sys-0.9)
3088 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3089 ("rust-itertools" ,rust-itertools-0.8)
3090 ("rust-language-tags" ,rust-language-tags-0.2)
3091 ("rust-libc" ,rust-libc-0.2)
3092 ("rust-locale-config" ,rust-locale-config-0.3)
3093 ("rust-markup5ever" ,rust-markup5ever-0.10)
3094 ("rust-nalgebra" ,rust-nalgebra-0.19)
3095 ("rust-num-traits" ,rust-num-traits-0.2)
3096 ("rust-once-cell" ,rust-once-cell-1.2)
3097 ("rust-pkg-config" ,rust-pkg-config-0.3)
3098 ("rust-pango" ,rust-pango-0.8)
3099 ("rust-pango-sys" ,rust-pango-sys-0.9)
3100 ("rust-pangocairo" ,rust-pangocairo-0.9)
3101 ("rust-rayon" ,rust-rayon-1)
3102 ("rust-rctree" ,rust-rctree-0.3)
3103 ("rust-rgb" ,rust-rgb-0.8)
3104 ("rust-regex" ,rust-regex-1)
3105 ("rust-selectors" ,rust-selectors-0.22)
3106 ("rust-url" ,rust-url-2.1)
3107 ("rust-xml5ever" ,rust-xml5ever-0.16))
3108 #:cargo-development-inputs
3109 (("rust-cairo-rs" ,rust-cairo-rs-0.8)
3110 ("rust-criterion" ,rust-criterion-0.3))
3112 (modify-phases %standard-phases
3113 (add-after 'unpack 'patch-docbook-xml
3114 (lambda* (#:key inputs #:allow-other-keys)
3115 (with-directory-excursion "doc"
3116 (substitute* "rsvg-docs.xml"
3117 (("http://www.oasis-open.org/docbook/xml/4.3/")
3118 (string-append (assoc-ref inputs "docbook-xml")
3119 "/xml/dtd/docbook/"))))
3121 (add-after 'unpack 'prepare-for-build
3123 ;; In lieu of #:make-flags
3124 (setenv "CC" ,(cc-for-target))
3125 ;; Something about the build environment resists building
3126 ;; successfully with the '--locked' flag.
3127 (substitute* '("Makefile.am" "Makefile.in")
3130 (add-before 'configure 'pre-configure
3132 (substitute* "gdk-pixbuf-loader/Makefile.in"
3133 ;; By default the gdk-pixbuf loader is installed under
3134 ;; gdk-pixbuf's prefix. Work around that.
3135 (("gdk_pixbuf_moduledir = .*$")
3136 (string-append "gdk_pixbuf_moduledir = "
3137 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3139 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3140 (("gdk_pixbuf_cache_file = .*$")
3141 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3143 (add-after 'configure 'gnu-configure
3144 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3145 ((assoc-ref gnu:%standard-phases 'configure)
3146 #:native-inputs native-inputs
3150 (list "--disable-static"
3152 (string-append "--with-html-dir="
3153 (assoc-ref %outputs "doc")
3154 "/share/gtk-doc/html")))))
3155 (add-after 'configure 'dont-vendor-self
3156 (lambda* (#:key vendor-dir #:allow-other-keys)
3157 ;; Don't keep the whole tarball in the vendor directory
3158 (delete-file-recursively
3159 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3162 (assoc-ref gnu:%standard-phases 'build))
3165 ((assoc-ref gnu:%standard-phases 'check)
3166 #:test-target "check")))
3168 (assoc-ref gnu:%standard-phases 'install)))))
3170 `(("docbook-xml" ,docbook-xml-4.3)
3171 ("glib" ,glib "bin")
3172 ("gobject-introspection" ,gobject-introspection)
3173 ("pkg-config" ,pkg-config)
3174 ("python" ,python-wrapper)
3179 ("fontconfig" ,fontconfig)
3180 ("freetype" ,freetype)
3181 ("harfbuzz" ,harfbuzz)
3182 ("libcroco" ,libcroco)
3184 ("libxml2" ,libxml2)
3188 ("gdk-pixbuf" ,gdk-pixbuf)
3190 (synopsis "SVG rendering library")
3191 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3192 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3193 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3195 (home-page "https://wiki.gnome.org/LibRsvg")
3196 (license license:lgpl2.1+)))
3198 (define-public libidl
3204 (uri (string-append "mirror://gnome/sources/libIDL/"
3205 (version-major+minor version) "/"
3206 "libIDL-" version ".tar.bz2"))
3209 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3210 (build-system gnu-build-system)
3211 (inputs `(("glib" ,glib)))
3213 `(("pkg-config" ,pkg-config)
3216 (home-page "http://freecode.com/projects/libidl")
3217 (synopsis "Create trees of CORBA Interface Definition Language files")
3218 (description "Libidl is a library for creating trees of CORBA Interface
3219 Definition Language (idl) files, which is a specification for defining
3220 portable interfaces. libidl was initially written for orbit (the orb from the
3221 GNOME project, and the primary means of libidl distribution). However, the
3222 functionality was designed to be as reusable and portable as possible.")
3223 (properties `((upstream-name . "libIDL")))
3224 (license license:lgpl2.0+)))
3227 (define-public orbit2
3233 (uri (let ((upstream-name "ORBit2"))
3234 (string-append "mirror://gnome/sources/" upstream-name "/"
3235 (version-major+minor version) "/"
3236 upstream-name "-" version ".tar.bz2")))
3239 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3240 (build-system gnu-build-system)
3242 `(;; The "timeout-server" test hangs when run in parallel.
3243 #:parallel-tests? #f
3245 '(;; We don't need static libraries, plus they don't build reproducibly
3246 ;; (non-deterministic ordering of .o files in the archive.)
3249 ;; The programmer kindly gives us a hook to turn off deprecation
3251 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3252 ;; ... which they then completly ignore !!
3254 (modify-phases %standard-phases
3255 (add-before 'configure 'ignore-deprecations
3257 (substitute* "linc2/src/Makefile.in"
3258 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3260 (inputs `(("glib" ,glib)
3261 ("libidl" ,libidl)))
3263 `(("pkg-config" ,pkg-config)))
3264 (home-page "https://projects.gnome.org/orbit2/")
3265 (synopsis "CORBA 2.4-compliant Object Request Broker")
3266 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3267 featuring mature C, C++ and Python bindings.")
3268 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3269 ;; a version. SOME of the code files have licence notices for GPLv2+.
3270 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3271 (license license:gpl2+)
3272 (properties `((upstream-name . "ORBit2")))))
3275 (define-public libbonobo
3281 (uri (string-append "mirror://gnome/sources/" name "/"
3282 (version-major+minor version)
3283 "/" name "-" version ".tar.bz2"))
3285 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3286 (patches (search-patches
3287 "libbonobo-activation-test-race.patch"))))
3288 (build-system gnu-build-system)
3290 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3292 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3293 ;; ... which they then completly ignore !!
3295 (modify-phases %standard-phases
3296 (add-before 'configure 'ignore-deprecations
3298 (substitute* "activation-server/Makefile.in"
3299 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3302 ;; There's apparently a race condition between the server stub
3303 ;; generation and linking of the example under 'samples/echo' that can
3304 ;; lead do undefined references when building in parallel, as reported
3305 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3306 ;; Thus, disable parallel builds.
3307 #:parallel-build? #f))
3308 (inputs `(("popt" ,popt)
3309 ("libxml2" ,libxml2)))
3310 ;; The following are Required by the .pc file
3313 ("orbit2" ,orbit2)))
3315 `(("intltool" ,intltool)
3316 ("pkg-config" ,pkg-config)
3317 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3320 (home-page "https://developer.gnome.org/libbonobo/")
3321 (synopsis "Framework for creating reusable components for use in GNOME applications")
3322 (description "Bonobo is a framework for creating reusable components for
3323 use in GNOME applications, built on top of CORBA.")
3324 ;; Licence not explicitly stated. Source files contain no licence notices.
3325 ;; Tarball contains text of both GPLv2 and LGPLv2
3326 ;; GPLv2 covers both conditions
3327 (license license:gpl2+)))
3330 (define-public gconf
3337 (let ((upstream-name "GConf"))
3338 (string-append "mirror://gnome/sources/" upstream-name "/"
3339 (version-major+minor version) "/"
3340 upstream-name "-" version ".tar.xz")))
3342 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3343 (build-system gnu-build-system)
3344 (inputs `(("dbus-glib" ,dbus-glib)
3345 ("libxml2" ,libxml2)))
3346 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3347 ("orbit2" ,orbit2)))
3349 `(("intltool" ,intltool)
3350 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3351 ("pkg-config" ,pkg-config)))
3352 (home-page "https://projects.gnome.org/gconf/")
3353 (synopsis "Store application preferences")
3354 (description "Gconf is a system for storing application preferences. It
3355 is intended for user preferences; not arbitrary data storage.")
3356 (license license:lgpl2.0+)
3357 (properties '((upstream-name . "GConf")))))
3360 (define-public gnome-mime-data
3362 (name "gnome-mime-data")
3366 (uri (string-append "mirror://gnome/sources/" name "/"
3367 (version-major+minor version) "/"
3368 name "-" version ".tar.bz2"))
3371 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3372 (build-system gnu-build-system)
3375 ("intltool" ,intltool)))
3377 '(#:phases (modify-phases %standard-phases
3378 (add-after 'configure 'use-our-intltool
3380 ;; Do not use the bundled intltool commands, which lack
3381 ;; the "dotless @INC" fixes of our 'intltool' package.
3382 (substitute* (find-files "." "^Makefile$")
3383 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3384 (string-append "INTLTOOL_" tool " = intltool-"
3385 (string-downcase tool) "\n")))
3387 (home-page "https://www.gnome.org")
3388 (synopsis "Base MIME and Application database for GNOME")
3389 (description "GNOME Mime Data is a module which contains the base MIME
3390 and Application database for GNOME. The data stored by this module is
3391 designed to be accessed through the MIME functions in GnomeVFS.")
3392 (license license:gpl2+)))
3395 (define-public gnome-vfs
3401 (uri (string-append "mirror://gnome/sources/" name "/"
3402 (version-major+minor version) "/"
3403 name "-" version ".tar.bz2"))
3406 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3407 (build-system gnu-build-system)
3410 (modify-phases %standard-phases
3411 (add-before 'configure 'ignore-deprecations
3413 (substitute* '("libgnomevfs/Makefile.in"
3414 "daemon/Makefile.in")
3415 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3417 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3419 (substitute* "test/test-async-cancel.c"
3420 (("EXIT_FAILURE") "77"))
3422 (inputs `(("libxml2" ,libxml2)
3423 ("dbus-glib" ,dbus-glib)
3425 ("gnome-mime-data" ,gnome-mime-data)
3428 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3429 ("intltool" ,intltool)
3430 ("pkg-config" ,pkg-config)))
3431 (home-page "https://developer.gnome.org/gnome-vfs/")
3432 (synopsis "Access files and folders in GNOME applications")
3434 "GnomeVFS is the core library used to access files and folders in GNOME
3435 applications. It provides a file system abstraction which allows applications
3436 to access local and remote files with a single consistent API.")
3437 (license license:lgpl2.0+)))
3441 (define-public libgnome
3447 (uri (string-append "mirror://gnome/sources/" name "/"
3448 (version-major+minor version) "/"
3449 name "-" version ".tar.bz2"))
3452 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3453 (patches (search-patches "libgnome-encoding.patch"))))
3454 (build-system gnu-build-system)
3457 (modify-phases %standard-phases
3458 (add-before 'configure 'enable-deprecated
3460 (substitute* "libgnome/Makefile.in"
3461 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3463 (inputs `(("libxml2" ,libxml2)))
3465 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3466 ("intltool" ,intltool)
3467 ("pkg-config" ,pkg-config)))
3468 ;; The following are listed as Required in the .pc file
3469 ;; (except for libcanberra -- which seems to be oversight on the part
3470 ;; of the upstream developers -- anything that links against libgnome,
3471 ;; must also link against libcanberra
3473 `(("libcanberra" ,libcanberra)
3474 ("libbonobo" ,libbonobo)
3476 ("gnome-vfs" ,gnome-vfs)
3477 ("popt" ,popt))) ;gnome-program.h includes popt.h
3478 (home-page "https://developer.gnome.org/libgnome/")
3479 (synopsis "Useful routines for building applications")
3480 (description "The libgnome library provides a number of useful routines
3481 for building modern applications, including session management, activation of
3482 files and URIs, and displaying help.")
3483 (license license:lgpl2.0+)))
3486 (define-public libart-lgpl
3488 (name "libart-lgpl")
3492 (uri (let ((upstream-name "libart_lgpl"))
3493 (string-append "mirror://gnome/sources/" upstream-name "/"
3494 (version-major+minor version) "/"
3495 upstream-name "-" version ".tar.bz2")))
3498 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3499 (build-system gnu-build-system)
3501 `(("pkg-config" ,pkg-config)))
3502 (home-page "https://people.gnome.org/~mathieu/libart")
3503 (synopsis "2D drawing library")
3504 (description "Libart is a 2D drawing library intended as a
3505 high-quality vector-based 2D library with antialiasing and alpha composition.")
3506 (license license:lgpl2.0+)))
3510 (define-public libgnomecanvas
3512 (name "libgnomecanvas")
3516 (uri (string-append "mirror://gnome/sources/" name "/"
3517 (version-major+minor version) "/"
3518 name "-" version ".tar.gz"))
3521 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3522 (build-system gnu-build-system)
3523 ;; Mentioned as Required in the .pc file
3524 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3527 `(("intltool" ,intltool)
3528 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3529 ("pkg-config" ,pkg-config)))
3530 (home-page "https://developer.gnome.org/libgnomecanvas/")
3531 (synopsis "Flexible widget for creating interactive structured graphics")
3532 (description "The GnomeCanvas widget provides a flexible widget for
3533 creating interactive structured graphics.")
3534 (license license:lgpl2.0+)))
3536 (define-public libgnomecanvasmm
3538 (name "libgnomecanvasmm")
3542 (uri (string-append "mirror://gnome/sources/" name "/"
3543 (version-major+minor version) "/"
3544 name "-" version ".tar.bz2"))
3547 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3548 (build-system gnu-build-system)
3549 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3551 `(("gtkmm-2" ,gtkmm-2)
3552 ("pkg-config" ,pkg-config)))
3553 (home-page "https://gtkmm.org")
3554 (synopsis "C++ bindings to the GNOME Canvas library")
3555 (description "C++ bindings to the GNOME Canvas library.")
3556 (license license:lgpl2.0+)))
3558 (define-public libgnomeui
3564 (uri (string-append "mirror://gnome/sources/" name "/"
3565 (version-major+minor version) "/"
3566 name "-" version ".tar.bz2"))
3567 (patches (search-patches "libgnomeui-utf8.patch"))
3570 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3571 (build-system gnu-build-system)
3572 ;; Mentioned as Required in the .pc file
3573 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3574 ("libgnome" ,libgnome)
3575 ("libgnomecanvas" ,libgnomecanvas)
3576 ("libgnome-keyring" ,libgnome-keyring)))
3577 (inputs `(("libjpeg" ,libjpeg-turbo)
3579 ("libbonobo" ,libbonobo)
3580 ("libxml2" ,libxml2)
3581 ("libglade" ,libglade)))
3583 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3584 ("intltool" ,intltool)
3585 ("pkg-config" ,pkg-config)))
3586 (home-page "https://developer.gnome.org/libgnomeui/")
3587 (synopsis "Additional widgets for applications")
3588 (description "The libgnomeui library provides additional widgets for
3589 applications. Many of the widgets from libgnomeui have already been
3591 (license license:lgpl2.0+)))
3593 (define-public libglade
3599 (uri (string-append "mirror://gnome/sources/" name "/"
3600 (version-major+minor version) "/"
3601 name "-" version ".tar.bz2"))
3604 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3605 (build-system gnu-build-system)
3607 `(("python" ,python))) ;; needed for the optional libglade-convert program
3609 `(("gtk+-2" ,gtk+-2)
3610 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3612 `(("pkg-config" ,pkg-config)))
3613 (home-page "https://developer.gnome.org/libglade")
3614 (synopsis "Load glade interfaces and access the glade built widgets")
3615 (description "Libglade is a library that provides interfaces for loading
3616 graphical interfaces described in glade files and for accessing the
3617 widgets built in the loading process.")
3618 (license license:gpl2+))) ; This is correct. GPL not LGPL
3620 (define-public libgnomeprint
3621 ;; This library has been deprecated since 2006; see
3622 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3624 (name "libgnomeprint")
3628 (uri (string-append "mirror://gnome/sources/" name "/"
3629 (version-major+minor version) "/"
3630 name "-" version ".tar.bz2"))
3633 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3634 (build-system gnu-build-system)
3637 ("libart-lgpl" ,libart-lgpl)
3639 ("libxml2" ,libxml2)))
3641 `(("intltool" ,intltool)
3642 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3643 ("pkg-config" ,pkg-config)))
3644 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3645 (synopsis "Printing framework for GNOME")
3647 "GNOME-print was a printing framework for GNOME. It has been deprecated
3648 since ca. 2006, when GTK+ itself incorporated printing support.")
3649 (license license:lgpl2.0+)))
3652 (define-public libgnomeprintui
3653 ;; Deprecated; see libgnomeprint.
3655 (name "libgnomeprintui")
3659 (uri (string-append "mirror://gnome/sources/" name "/"
3660 (version-major+minor version) "/"
3661 name "-" version ".tar.bz2"))
3664 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
3665 (build-system gnu-build-system)
3666 ;; Mentioned as Required in the .pc file
3667 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
3668 (inputs `(("gtk+" ,gtk+-2)
3670 ("gnome-icon-theme" ,gnome-icon-theme)
3671 ("libgnomecanvas" ,libgnomecanvas)
3672 ("libxml2" ,libxml2)))
3674 `(("intltool" ,intltool)
3675 ("pkg-config" ,pkg-config)))
3676 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3677 (synopsis "Printing framework for GNOME")
3678 (description (package-description libgnomeprint))
3679 (license license:lgpl2.0+)))
3681 (define-public libbonoboui
3683 (name "libbonoboui")
3687 (uri (string-append "mirror://gnome/sources/" name "/"
3688 (version-major+minor version) "/"
3689 name "-" version ".tar.bz2"))
3692 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
3693 (build-system gnu-build-system)
3696 (modify-phases %standard-phases
3697 (add-before 'check 'start-xserver
3698 (lambda* (#:key inputs #:allow-other-keys)
3699 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3702 (setenv "HOME" (getcwd))
3703 (setenv "DISPLAY" disp)
3704 ;; There must be a running X server and make check doesn't start one.
3705 ;; Therefore we must do it.
3706 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
3707 ;; Mentioned as Required by the .pc file
3708 (propagated-inputs `(("libxml2" ,libxml2)))
3711 ("pangox-compat" ,pangox-compat)
3712 ("libgnome" ,libgnome)
3713 ("libgnomecanvas" ,libgnomecanvas)
3714 ("libglade" ,libglade)))
3716 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
3717 ("intltool" ,intltool)
3718 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
3719 ("pkg-config" ,pkg-config)))
3720 (home-page "https://developer.gnome.org/libbonoboui/")
3721 (synopsis "Some user interface controls using Bonobo")
3722 (description "The Bonobo UI library provides a number of user interface
3723 controls using the Bonobo component framework.")
3724 (license license:lgpl2.0+)))
3726 (define-public libwnck
3732 (uri (string-append "mirror://gnome/sources/" name "/"
3733 (version-major+minor version) "/"
3734 name "-" version ".tar.xz"))
3737 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
3738 (build-system meson-build-system)
3740 `(("pkg-config" ,pkg-config)
3741 ("glib" ,glib "bin") ; for glib-mkenums
3742 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
3743 ("intltool" ,intltool)))
3746 ("libxres" ,libxres)
3747 ("startup-notification" ,startup-notification)))
3748 (home-page "https://developer.gnome.org/libwnck/")
3749 (synopsis "Window Navigator Construction Kit")
3751 "Libwnck is the Window Navigator Construction Kit, a library for use in
3752 writing pagers, tasklists, and more generally applications that are dealing
3753 with window management. It tries hard to respect the Extended Window Manager
3754 Hints specification (EWMH).")
3755 (license license:lgpl2.0+)))
3757 ;; stable version for gtk2, required by xfwm4.
3758 (define-public libwnck-2
3759 (package (inherit libwnck)
3764 (uri (string-append "mirror://gnome/sources/" name "/"
3765 (version-major+minor version) "/"
3766 name "-" version ".tar.xz"))
3769 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
3770 (build-system gnu-build-system)
3772 `(("pkg-config" ,pkg-config)
3773 ("intltool" ,intltool)))
3776 ("libxres" ,libxres)
3777 ("startup-notification" ,startup-notification)))))
3779 (define-public goffice
3785 (uri (string-append "mirror://gnome/sources/goffice/"
3786 (version-major+minor version) "/"
3787 "goffice-" version ".tar.xz"))
3789 (base32 "0xmigfdzvmlpa0fw79mf3xwchmxc8rlidryn5syv8bz7msmrb215"))))
3790 (build-system gnu-build-system)
3792 "doc")) ; 4.0 MiB of gtk-doc
3794 '(#:configure-flags (list (string-append "--with-html-dir="
3795 (assoc-ref %outputs "doc")
3796 "/share/gtk-doc/html"))))
3800 ("librsvg" ,librsvg)
3801 ("libxslt" ,libxslt)
3802 ("libxml2" ,libxml2)))
3804 `(("intltool" ,intltool)
3805 ("glib" ,glib "bin")
3806 ("pkg-config" ,pkg-config)))
3807 (home-page "https://developer.gnome.org/goffice/")
3808 (synopsis "Document-centric objects and utilities")
3809 (description "A GLib/GTK+ set of document-centric objects and utilities.")
3811 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3813 (list license:gpl2 license:gpl3))))
3815 (define-public goffice-0.8
3816 (package (inherit goffice)
3820 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3821 (version-major+minor version) "/"
3822 (package-name goffice) "-" version ".tar.xz"))
3824 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3827 (modify-phases %standard-phases
3828 (add-after 'unpack 'fix-pcre-check
3830 ;; Only glib.h can be included directly. See
3831 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3832 (substitute* "configure"
3833 (("glib/gregex\\.h") "glib.h")) #t)))
3835 ,@(package-arguments goffice)))
3837 ;; libgoffice-0.8.pc mentions libgsf-1
3838 `(("libgsf" ,libgsf)))
3841 ,@(alist-delete "gtk" (package-inputs goffice))))))
3843 (define-public gnumeric
3849 (uri (string-append "mirror://gnome/sources/gnumeric/"
3850 (version-major+minor version) "/"
3851 "gnumeric-" version ".tar.xz"))
3854 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
3855 (build-system glib-or-gtk-build-system)
3857 `(;; The gnumeric developers don't worry much about failing tests.
3858 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
3861 (modify-phases %standard-phases
3863 'configure 'pre-conf
3864 (lambda* (#:key outputs #:allow-other-keys)
3865 ;; Make install tries to write into the directory of goffice
3866 ;; I am informed that this only affects the possibility to embed a
3867 ;; spreadsheet inside an Abiword document. So presumably when we
3868 ;; package Abiword we'll have to refer it to this directory.
3869 (substitute* "configure"
3870 (("^GOFFICE_PLUGINS_DIR=.*")
3871 (string-append "GOFFICE_PLUGINS_DIR="
3872 (assoc-ref outputs "out")
3873 "/goffice/plugins"))))))))
3877 ("goffice" ,goffice)
3879 ("librsvg" ,librsvg)
3880 ("libxml2" ,libxml2)
3881 ("libxslt" ,libxslt)
3882 ("python" ,python-2)
3883 ("python2-pygobject" ,python2-pygobject)
3887 ("docbook-xml" ,docbook-xml)
3888 ("intltool" ,intltool)
3889 ("itstool" ,itstool)
3890 ("glib:bin" ,glib "bin")
3891 ("pkg-config" ,pkg-config)))
3892 (home-page "http://www.gnumeric.org")
3893 (synopsis "Spreadsheet application")
3895 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3896 interoperable with other spreadsheet applications. It has a vast array of
3897 features beyond typical spreadsheet functionality, such as support for linear
3898 and non-linear solvers, statistical analysis, and telecommunication
3901 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3902 (list license:gpl2 license:gpl3))))
3904 (define-public gnome-themes-standard
3906 (name "gnome-themes-standard")
3911 (uri (string-append "mirror://gnome/sources/" name "/"
3912 (version-major+minor version) "/" name "-"
3916 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3917 (build-system gnu-build-system)
3920 ;; Don't create 'icon-theme.cache'.
3921 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3922 (true (string-append coreutils "/bin/true")))
3923 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3927 ("librsvg" ,librsvg)
3928 ("libxml2" ,libxml2)
3931 `(("intltool" ,intltool)
3932 ("glib:bin" ,glib "bin")
3933 ("pkg-config" ,pkg-config)))
3934 (home-page "https://launchpad.net/gnome-themes-standard")
3935 (synopsis "Default GNOME 3 themes")
3937 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3938 (license license:lgpl2.1+)))
3940 (define-public seahorse
3947 (uri (string-append "mirror://gnome/sources/" name "/"
3948 (version-major+minor version) "/" name "-"
3952 "16sfnqrdlr5xx6kixx2ln1mva7nngjlw1k3f5n454vyaigffjh2v"))))
3953 (build-system meson-build-system)
3957 (modify-phases %standard-phases
3958 (add-after 'unpack 'skip-gtk-update-icon-cache
3959 ;; Don't create 'icon-theme.cache'.
3961 (substitute* "build-aux/meson_post_install.py"
3962 (("gtk-update-icon-cache") "true"))
3969 ("openldap" ,openldap)
3970 ("openssh" ,openssh)
3972 ("libpwquality" ,libpwquality)
3973 ("libsecret" ,libsecret)
3974 ("libsoup" ,libsoup)))
3976 `(("gettext" ,gettext-minimal)
3977 ("glib:bin" ,glib "bin")
3978 ("itstool" ,itstool)
3979 ("pkg-config" ,pkg-config)
3981 ("xmllint" ,libxml2)))
3982 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3983 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3985 "Seahorse is a GNOME application for managing encryption keys and
3986 passwords in the GNOME keyring.")
3987 (license license:gpl2+)))
3995 (uri (string-append "mirror://gnome/sources/" name "/"
3996 (version-major+minor version) "/"
3997 name "-" version ".tar.xz"))
4000 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4001 (build-system gnu-build-system)
4004 (modify-phases %standard-phases
4005 (add-before 'check 'pre-check
4008 (substitute* "valadoc/tests/testrunner.sh"
4009 (("export PKG_CONFIG_PATH=" m)
4010 (string-append m "$PKG_CONFIG_PATH:")))
4011 ;; For missing '/etc/machine-id'.
4012 (setenv "DBUS_FATAL_WARNINGS" "0")
4015 `(("pkg-config" ,pkg-config)
4018 ("xsltproc" ,libxslt)
4019 ("dbus" ,dbus) ; for dbus tests
4020 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4022 `(("graphviz" ,graphviz)))
4024 `(("glib" ,glib))) ; required by libvala-0.40.pc
4025 (home-page "https://live.gnome.org/Vala/")
4026 (synopsis "Compiler for the GObject type system")
4028 "Vala is a programming language that aims to bring modern programming
4029 language features to GNOME developers without imposing any additional runtime
4030 requirements and without using a different ABI compared to applications and
4031 libraries written in C.")
4032 (license license:lgpl2.1+)))
4034 (define-public vala-0.48
4040 (uri (string-append "mirror://gnome/sources/vala/"
4041 (version-major+minor version) "/"
4042 "vala-" version ".tar.xz"))
4045 "0lswkb7gj0chas9n3l3dbrm9l71hs77adhvm2v600id2ipi37pi8"))))))
4053 (uri (string-append "mirror://gnome/sources/vte/"
4054 (version-major+minor version) "/"
4055 "vte-" version ".tar.xz"))
4058 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4059 (build-system meson-build-system)
4063 "-D_systemd=false")))
4065 `(("pkg-config" ,pkg-config)
4066 ("gettext" ,gettext-minimal)
4068 ("gobject-introspection" ,gobject-introspection)
4069 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4071 ("xmllint" ,libxml2)))
4073 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4074 ("gnutls" ,gnutls) ; ditto
4075 ("pcre2" ,pcre2))) ; ditto
4076 (home-page "https://www.gnome.org/")
4077 (synopsis "Virtual Terminal Emulator")
4079 "VTE is a library (libvte) implementing a terminal emulator widget for
4080 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4081 gnome-terminal, but can also be used to embed a console/terminal in games,
4082 editors, IDEs, etc.")
4083 (license license:lgpl2.1+)))
4085 (define-public vte-ng
4089 (version "0.58.2.a")
4090 (home-page "https://github.com/thestinger/vte-ng")
4093 (uri (git-reference (url home-page) (commit version)))
4094 (file-name (git-file-name name version))
4097 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4098 (build-system meson-build-system)
4100 `(("gtk-doc" ,gtk-doc)
4101 ,@(package-native-inputs vte)))
4103 `(#:configure-flags '("-Ddocs=true")))
4104 (synopsis "Enhanced VTE terminal widget")
4106 "VTE is a library (libvte) implementing a terminal emulator widget for
4107 GTK+, this fork provides additional functions exposed for keyboard text
4108 selection and URL hints.")))
4110 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4111 (define-public vte/gtk+-2
4112 (package (inherit vte)
4117 (uri (string-append "mirror://gnome/sources/" name "/"
4118 (version-major+minor version) "/"
4119 name "-" version ".tar.xz"))
4122 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4123 (patches (search-patches
4124 "vte-CVE-2012-2738-pt1.patch"
4125 "vte-CVE-2012-2738-pt2.patch"))))
4126 (build-system gnu-build-system)
4128 '(#:configure-flags '("--disable-python")))
4130 `(("pkg-config" ,pkg-config)
4131 ("intltool" ,intltool)
4132 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4134 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4135 ("ncurses" ,ncurses))))) ; required by libvte.la
4137 (define-public vinagre
4143 (uri (string-append "mirror://gnome/sources/" name "/"
4144 (version-major+minor version) "/"
4145 name "-" version ".tar.xz"))
4146 (patches (search-patches "vinagre-newer-freerdp.patch"
4147 "vinagre-newer-rdp-parameters.patch"))
4150 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4151 (build-system glib-or-gtk-build-system)
4153 ;; Disable -Werror and such, to avoid build failures on compilation
4155 '(#:configure-flags '("--enable-compile-warnings=minimum")
4157 (modify-phases %standard-phases
4158 (add-before 'install 'skip-gtk-update-icon-cache
4160 ;; Don't create 'icon-theme.cache'
4161 (substitute* (find-files "." "^Makefile$")
4162 (("gtk-update-icon-cache") (which "true")))
4164 (add-after 'unpack 'patch-configure
4166 (substitute* "configure"
4167 (("freerdp") "freerdp2"))
4170 `(("pkg-config" ,pkg-config)
4171 ("intltool" ,intltool)
4172 ("itstool" ,itstool)
4173 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4175 `(("libxml2" ,libxml2)
4176 ("gtk-vnc" ,gtk-vnc)
4177 ("gnome-keyring" ,gnome-keyring)
4178 ("libsecret" ,libsecret)
4179 ("freerdp" ,freerdp)
4181 ("spice-gtk" ,spice-gtk)
4182 ("telepathy-glib" ,telepathy-glib)
4184 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4185 (synopsis "Remote desktop viewer for GNOME")
4186 (description "Vinagre is a remote display client supporting the VNC, SPICE
4187 and RDP protocols.")
4188 (license license:gpl3+)))
4190 (define-public dconf
4197 "mirror://gnome/sources/" name "/"
4198 (version-major+minor version) "/"
4199 name "-" version ".tar.xz"))
4200 (patches (search-patches "dconf-meson-0.52.patch"))
4203 "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"))))
4204 (build-system meson-build-system)
4206 ;; In Requires of dconf.pc.
4212 `(("bash-completion" ,bash-completion)
4213 ("libxslt" ,libxslt) ;for xsltproc
4214 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4215 ("docbook-xml" ,docbook-xml-4.2)
4216 ("docbook-xsl" ,docbook-xsl)
4217 ("glib:bin" ,glib "bin")
4218 ("gtk-doc" ,gtk-doc)
4219 ("pkg-config" ,pkg-config)
4222 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
4223 ; or /etc/machine-id.
4225 #:configure-flags '("-Denable-gtk-doc=true")))
4226 (home-page "https://developer.gnome.org/dconf/")
4227 (synopsis "Low-level GNOME configuration system")
4228 (description "Dconf is a low-level configuration system. Its main purpose
4229 is to provide a backend to GSettings on platforms that don't already have
4230 configuration storage systems.")
4231 (license license:lgpl2.1+)))
4233 (define-public json-glib
4239 (uri (string-append "mirror://gnome/sources/" name "/"
4240 (version-major+minor version) "/"
4241 name "-" version ".tar.xz"))
4244 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4245 (build-system meson-build-system)
4247 `(("gettext" ,gettext-minimal)
4248 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4249 ("gobject-introspection" ,gobject-introspection)
4250 ("pkg-config" ,pkg-config)))
4252 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4253 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4254 (synopsis "Compiler for the GObject type system")
4256 "JSON-GLib is a C library based on GLib providing serialization and
4257 deserialization support for the JavaScript Object Notation (JSON) format
4258 described by RFC 4627. It provides parser and generator GObject classes and
4259 various wrappers for the complex data types employed by JSON, such as arrays
4261 (license license:lgpl2.1+)))
4263 (define-public libxklavier
4265 (name "libxklavier")
4268 ;; Note: There's no tarball at ftp.gnome.org for this version.
4271 (url "https://anongit.freedesktop.org/git/libxklavier")
4272 (commit (string-append "libxklavier-" version))))
4275 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4276 (file-name (git-file-name name version))))
4277 (build-system gnu-build-system)
4280 (list (string-append "--with-xkb-base="
4281 (assoc-ref %build-inputs "xkeyboard-config")
4283 "--disable-xmodmap-support")))
4285 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4286 ("gobject-introspection" ,gobject-introspection)
4287 ("pkg-config" ,pkg-config)
4288 ("gtk-doc" ,gtk-doc)
4289 ("intltool" ,intltool)
4291 ("autoconf" ,autoconf)
4292 ("automake" ,automake)
4293 ("libtool" ,libtool)))
4295 ;; Required by libxklavier.pc.
4297 ("libxml2" ,libxml2)))
4299 `(("iso-codes" ,iso-codes)
4301 ("libxkbfile" ,libxkbfile)
4302 ("xkbcomp" ,xkbcomp)
4303 ("xkeyboard-config" ,xkeyboard-config)))
4304 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4305 (synopsis "High-level API for X Keyboard Extension")
4307 "LibXklavier is a library providing high-level API for X Keyboard
4308 Extension known as XKB. This library is intended to support XFree86 and other
4309 commercial X servers. It is useful for creating XKB-related software (layout
4311 (license license:lgpl2.0+)))
4313 (define-public python2-rsvg
4314 ;; XXX: This is actually a subset of gnome-python-desktop.
4316 (name "python2-rsvg")
4322 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4323 version ".tar.bz2"))
4326 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4327 (build-system gnu-build-system)
4329 `(("pkg-config" ,pkg-config)))
4331 `(("python" ,python-2)
4332 ("python2-pygtk" ,python2-pygtk)
4333 ("librsvg" ,librsvg)))
4334 (home-page "https://www.gnome.org")
4335 (synopsis "Python bindings to librsvg")
4337 "This package provides Python bindings to librsvg, the SVG rendering
4340 ;; This is the license of the rsvg bindings. The license of each module
4341 ;; of gnome-python-desktop is given in 'COPYING'.
4342 (license license:lgpl2.1+)))
4344 (define-public glib-networking
4346 (name "glib-networking")
4350 (uri (string-append "mirror://gnome/sources/glib-networking/"
4351 (version-major+minor version) "/"
4352 "glib-networking-" version ".tar.xz"))
4355 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4356 (build-system meson-build-system)
4358 `(#:configure-flags '("-Dlibproxy_support=false")))
4360 `(("pkg-config" ,pkg-config)
4361 ("intltool" ,intltool)))
4365 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4366 (home-page "https://www.gnome.org")
4367 (synopsis "Network-related GIO modules")
4369 "This package contains various network related extensions for the GIO
4371 (license license:lgpl2.0+)))
4379 (uri (string-append "mirror://gnome/sources/rest/"
4380 (version-major+minor version) "/"
4381 name "-" version ".tar.xz"))
4384 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4385 (build-system gnu-build-system)
4387 '(#:tests? #f ; tests require internet connection
4389 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4391 `(("glib-mkenums" ,glib "bin")
4392 ("gobject-introspection" ,gobject-introspection)
4393 ("pkg-config" ,pkg-config)))
4395 ;; rest-0.7.pc refers to all these.
4397 ("libsoup" ,libsoup)
4398 ("libxml2" ,libxml2)))
4399 (home-page "https://www.gtk.org/")
4400 (synopsis "RESTful web api query library")
4402 "This library was designed to make it easier to access web services that
4403 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4404 libxml to ease remote use of the RESTful API.")
4405 (license license:lgpl2.1+)))
4407 (define-public libsoup
4413 (uri (string-append "mirror://gnome/sources/libsoup/"
4414 (version-major+minor version) "/"
4415 "libsoup-" version ".tar.xz"))
4418 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
4419 (build-system meson-build-system)
4420 (outputs '("out" "doc"))
4422 `(#:modules ((guix build utils)
4423 (guix build meson-build-system)
4426 #:configure-flags '("-Dgtk_doc=true")
4428 (modify-phases %standard-phases
4429 (add-after 'unpack 'adjust-tests
4431 ;; This test fails due to missing /etc/nsswitch.conf
4432 ;; in the build environment.
4433 (substitute* "tests/socket-test.c"
4434 ((".*/sockets/unconnected.*") ""))
4436 ;; These fail because "subdomain.localhost" does not resolve in
4437 ;; the build environment.
4438 (substitute* "tests/hsts-test.c"
4439 ((".*/hsts/basic.*") "")
4440 ((".*/hsts/subdomains.*") "")
4441 ((".*/hsts/superdomain.*") "")
4442 ((".*/hsts/utf8-address.*") ""))
4443 (substitute* "tests/hsts-db-test.c"
4444 ((".*/hsts-db/subdomains.*") ""))
4446 ;; Generate a self-signed certificate that has "localhost" as its
4447 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4448 ;; 3.5.12, tests such as "ssl-tests" fail:
4450 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4452 ;; 'certtool' is interactive so we have to pipe it the answers.
4453 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4454 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4455 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4456 (for-each (lambda (line)
4461 "Guix" ;Organizational unit name
4462 "GNU" ;Organization name
4464 "" ;State or province
4466 "" ;subject's domain component (DC)
4469 "-1" ;expiration time
4470 "N" ;belong to authority?
4471 "N" ;web client certificate?
4473 "Y" ;web server certificate?
4474 "localhost" ;dnsName of subject
4475 "" ;dnsName of subject (end)
4477 "127.0.0.1" ;IP address of subject
4479 "" ;encryption (RSA)?
4480 "" ;data encryption?
4481 "" ;sign OCSP requests?
4484 "" ;email protection?
4485 "" ;URI of the CRL distribution point
4490 (add-after 'install 'move-doc
4491 (lambda* (#:key outputs #:allow-other-keys)
4492 (let ((out (assoc-ref outputs "out"))
4493 (doc (assoc-ref outputs "doc")))
4494 (mkdir-p (string-append doc "/share"))
4495 (copy-recursively (string-append out "/share/gtk-doc")
4496 (string-append doc "/share/gtk-doc"))
4497 (delete-file-recursively (string-append out "/share/gtk-doc"))
4500 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4501 ("gobject-introspection" ,gobject-introspection)
4502 ("gtk-doc" ,gtk-doc)
4503 ("intltool" ,intltool)
4504 ("pkg-config" ,pkg-config)
4505 ("python" ,python-wrapper)
4509 ("gnutls" ,gnutls) ;for 'certtool'
4512 ;; libsoup-2.4.pc refers to all these.
4513 `(("brotli" ,google-brotli)
4516 ("libxml2" ,libxml2)
4520 `(("glib-networking" ,glib-networking)
4521 ("mit-krb5" ,mit-krb5)))
4522 (home-page "https://live.gnome.org/LibSoup/")
4523 (synopsis "GLib-based HTTP Library")
4525 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4526 and the GLib main loop, to integrate well with GNOME applications.")
4527 (license license:lgpl2.0+)))
4530 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4531 (define-public libsoup-minimal
4534 (name "libsoup-minimal")
4535 (outputs (delete "doc" (package-outputs libsoup)))
4537 (substitute-keyword-arguments (package-arguments libsoup)
4538 ((#:configure-flags configure-flags)
4539 `(delete "-Dgtk_doc=true" ,configure-flags))
4541 `(modify-phases ,phases
4542 (delete 'move-doc)))))
4543 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4545 (define-public libsecret
4552 "mirror://gnome/sources/libsecret/"
4553 (version-major+minor version) "/"
4554 "libsecret-" version ".tar.xz"))
4557 "1r4habxdzmn02id324m0m4mg5isf22q1z436bg3vjjmcz1b3rjsg"))))
4558 (build-system gnu-build-system)
4559 (outputs '("out" "doc"))
4561 `(#:tests? #f ; FIXME: Testing hangs.
4563 (list (string-append "--with-html-dir="
4564 (assoc-ref %outputs "doc")
4565 "/share/gtk-doc/html"))))
4567 `(("gettext" ,gettext-minimal)
4568 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4569 ("gobject-introspection" ,gobject-introspection)
4570 ("pkg-config" ,pkg-config)
4572 ("xsltproc" ,libxslt)))
4573 ;; These are needed for the tests.
4574 ;; FIXME: Add gjs once available.
4576 ;("python2" ,python-2)
4577 ;("python2-dbus" ,python2-dbus)
4578 ;("python2-pygobject" ,python2-pygobject)
4579 ;("python2-pygobject-2" ,python2-pygobject-2)))
4581 `(("glib" ,glib))) ; required by libsecret-1.pc
4583 `(("docbook-xsl" ,docbook-xsl)
4584 ("libgcrypt" ,libgcrypt)
4585 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4586 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4587 (synopsis "GObject bindings for \"Secret Service\" API")
4589 "Libsecret is a GObject based library for storing and retrieving passwords
4590 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4591 (license license:lgpl2.1+)))
4593 (define-public five-or-more
4595 (name "five-or-more")
4600 (uri (string-append "mirror://gnome/sources/five-or-more/"
4601 (version-major+minor version) "/"
4602 "five-or-more-" version ".tar.xz"))
4604 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4605 (build-system meson-build-system)
4609 (modify-phases %standard-phases
4610 (add-after 'unpack 'skip-gtk-update-icon-cache
4612 (substitute* "meson_post_install.py"
4613 (("gtk-update-icon-cache") (which "true")))
4616 `(("pkg-config" ,pkg-config)
4617 ("appstream-glib" ,appstream-glib)
4618 ("desktop-file-utils" ,desktop-file-utils)
4619 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4620 ("intltool" ,intltool)
4621 ("itstool" ,itstool)
4623 ("xmllint" ,libxml2)))
4626 ("libgnome-games-support" ,libgnome-games-support)
4627 ("librsvg" ,librsvg)))
4628 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4629 (synopsis "Logic puzzle game")
4630 (description "Five or More is a game where you try to align
4631 five or more objects of the same color and shape causing them to disappear.
4632 On every turn more objects will appear, until the board is full.
4633 Try to last as long as possible.")
4634 (license license:gpl2+)))
4636 (define-public gnome-mines
4638 (name "gnome-mines")
4643 (uri (string-append "mirror://gnome/sources/" name "/"
4644 (version-major+minor version) "/"
4645 name "-" version ".tar.xz"))
4647 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
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 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
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/grilo/"
5654 (version-major+minor version) "/"
5655 "grilo-" version ".tar.xz"))
5657 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
5658 (build-system meson-build-system)
5660 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
5661 ("intltool" ,intltool)
5662 ("pkg-config" ,pkg-config)
5663 ("gobject-introspection" ,gobject-introspection)
5664 ("gtk-doc" ,gtk-doc)
5667 `(("cyrus-sasl" ,cyrus-sasl)
5670 ("libxml2" ,libxml2)
5671 ("liboauth" ,liboauth)
5672 ("libsoup" ,libsoup)
5673 ("totem-pl-parser" ,totem-pl-parser)))
5674 (native-search-paths
5675 (list (search-path-specification
5676 (variable "GRL_PLUGIN_PATH")
5677 (files (list (string-append "lib/grilo-"
5678 (version-major+minor version)))))))
5679 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
5680 (synopsis "Framework for discovering and browsing media")
5682 "Grilo is a framework focused on making media discovery and browsing easy
5683 for application developers.")
5684 (license license:lgpl2.1+)))
5686 (define-public grilo-plugins
5688 (name "grilo-plugins")
5693 (uri (string-append "mirror://gnome/sources/" name "/"
5694 (version-major+minor version) "/"
5695 name "-" version ".tar.xz"))
5698 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
5699 (build-system meson-build-system)
5701 `(("gettext" ,gettext-minimal)
5702 ("glib:bin" ,glib "bin")
5703 ("gtk+:bin" ,gtk+ "bin")
5704 ("itstool" ,itstool)
5705 ("pkg-config" ,pkg-config)))
5706 ;; TODO: ahavi, gstreamer
5709 ;("gmime" ,gmime) ; unused
5710 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5712 ;("gssdp" ,gssdp) ; unused
5713 ;("gupnp" ,gupnp) ; unused
5714 ;("gupnp-av" ,gupnp-av) ; unused
5715 ("json-glib" ,json-glib)
5717 ("libgdata" ,libgdata)
5718 ("libmediaart" ,libmediaart)
5719 ;("librest" ,rest) ; unused
5720 ("libsoup" ,libsoup)
5721 ("totam-pl-parser" ,totem-pl-parser)
5722 ("tracker" ,tracker))) ; unused because it's too old
5725 ;;Disable lua-factory as it needs missing dependencies
5726 #:configure-flags '("-Denable-lua-factory=no")))
5727 (home-page "https://live.gnome.org/Grilo")
5728 (synopsis "Plugins for the Grilo media discovery library")
5730 "Grilo is a framework focused on making media discovery and browsing easy
5731 for application developers. This package provides plugins for common media
5732 discovery protocols.")
5733 (license license:lgpl2.1+)))
5735 (define-public totem
5742 (uri (string-append "mirror://gnome/sources/totem/"
5743 (version-major+minor version) "/"
5744 "totem-" version ".tar.xz"))
5747 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
5748 (build-system meson-build-system)
5750 `(("pkg-config" ,pkg-config)
5751 ("desktop-file-utils" ,desktop-file-utils)
5752 ("gobject-introspection" ,gobject-introspection)
5753 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
5754 ("intltool" ,intltool)
5755 ("itstool" ,itstool)
5756 ("xmllint" ,libxml2)
5757 ("xorg-server" ,xorg-server-for-tests)))
5759 `(("dconf" ,dconf)))
5762 ("gdk-pixbuf" ,gdk-pixbuf)
5765 ("dbus-glib" ,dbus-glib)
5766 ("clutter" ,clutter)
5767 ("clutter-gtk" ,clutter-gtk)
5768 ("clutter-gst" ,clutter-gst)
5769 ("xorgproto" ,xorgproto)
5770 ("libxxf86vm" ,libxxf86vm)
5771 ("libxtst" ,libxtst)
5772 ("libxrandr" ,libxrandr)
5773 ("libxml2" ,libxml2)
5774 ("libsoup" ,libsoup)
5775 ("libpeas" ,libpeas)
5776 ("librsvg" ,librsvg)
5778 ("gnome-desktop" ,gnome-desktop)
5779 ("gstreamer" ,gstreamer)
5780 ("gst-plugins-base" ,gst-plugins-base)
5781 ("gst-plugins-good" ,gst-plugins-good)
5782 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5783 ("adwaita-icon-theme" ,adwaita-icon-theme)
5785 ("python-pygobject" ,python-pygobject)
5786 ("totem-pl-parser" ,totem-pl-parser)
5788 ("grilo-plugins" ,grilo-plugins)
5793 ;; Disable automatic GStreamer plugin installation via PackageKit and
5795 #:configure-flags '("-D" "enable-easy-codec-installation=no"
5797 ;; Do not build .a files for the plugins, it's
5798 ;; completely useless. This saves 2 MiB.
5799 "--default-library" "shared")
5801 (modify-phases %standard-phases
5802 (add-after 'unpack 'skip-gtk-update-icon-cache
5803 ;; Don't create 'icon-theme.cache'.
5805 (substitute* "meson_post_install.py"
5806 (("gtk-update-icon-cache") "true"))
5809 'install 'disable-cache-generation
5811 (setenv "DESTDIR" "/")
5816 ;; Tests require a running X server.
5817 (system "Xvfb :1 &")
5818 (setenv "DISPLAY" ":1")
5821 'install 'wrap-totem
5822 (lambda* (#:key inputs outputs #:allow-other-keys)
5823 (let ((out (assoc-ref outputs "out"))
5824 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5825 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
5826 (wrap-program (string-append out "/bin/totem")
5827 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5828 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
5829 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
5830 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
5832 (home-page "https://wiki.gnome.org/Apps/Videos")
5833 (synopsis "Simple media player for GNOME based on GStreamer")
5834 (description "Totem is a simple yet featureful media player for GNOME
5835 which can read a large number of file formats.")
5836 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
5837 ;; to be used and distributed together with GStreamer and Totem. See
5838 ;; file://COPYING in the source distribution for details.
5839 (license license:gpl2+)))
5841 (define-public rhythmbox
5847 (uri (string-append "mirror://gnome/sources/rhythmbox/"
5848 (version-major+minor version) "/"
5849 "rhythmbox-" version ".tar.xz"))
5852 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
5853 (build-system glib-or-gtk-build-system)
5856 (list "--enable-lirc"
5863 (modify-phases %standard-phases
5865 'install 'wrap-rhythmbox
5866 (lambda* (#:key inputs outputs #:allow-other-keys)
5867 (let ((out (assoc-ref outputs "out"))
5868 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5869 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5870 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5871 (python-path (getenv "PYTHONPATH")))
5872 (wrap-program (string-append out "/bin/rhythmbox")
5873 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5874 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5875 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5876 `("PYTHONPATH" ":" prefix (,python-path))))
5879 `(("dconf" ,dconf)))
5881 `(("itstool" ,itstool)
5882 ("intltool" ,intltool)
5883 ("glib" ,glib "bin")
5884 ("gobject-introspection" ,gobject-introspection)
5885 ("desktop-file-utils" ,desktop-file-utils)
5886 ("pkg-config" ,pkg-config)
5887 ("xmllint" ,libxml2)))
5889 `(("json-glib" ,json-glib)
5891 ("gnome-desktop" ,gnome-desktop)
5893 ("python-pygobject" ,python2-pygobject)
5896 ("adwaita-icon-theme" ,adwaita-icon-theme)
5898 ("grilo-plugins" ,grilo-plugins)
5899 ("gstreamer" ,gstreamer)
5900 ("gst-plugins-base" ,gst-plugins-base)
5901 ("gst-plugins-good" ,gst-plugins-good)
5902 ("totem-pl-parser" ,totem-pl-parser)
5903 ("libgudev" ,libgudev)
5904 ;;("libmtp" ,libmtp) FIXME: Not detected
5905 ("libsecret" ,libsecret)
5906 ("libsoup" ,libsoup)
5907 ("libnotify" ,libnotify)
5908 ("libpeas" ,libpeas)
5910 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5911 ;;("clutter" ,clutter)
5912 ;;("clutter-gtk" ,clutter-gtk)
5913 ;;("clutter-gst" ,clutter-gst)
5914 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5921 ("brasero" ,brasero)))
5922 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5923 (synopsis "Music player for GNOME")
5924 (description "Rhythmbox is a music playing application for GNOME. It
5925 supports playlists, song ratings, and any codecs installed through gstreamer.")
5926 (license license:gpl2+)))
5934 (uri (string-append "mirror://gnome/sources/" name "/"
5935 (version-major+minor version) "/"
5936 name "-" version ".tar.xz"))
5939 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5940 (build-system meson-build-system)
5943 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5944 (list (string-append "-Dc_link_args=-Wl,-rpath="
5945 (assoc-ref %outputs "out") "/lib/eog"))
5947 (modify-phases %standard-phases
5948 (add-after 'unpack 'skip-gtk-update-icon-cache
5949 ;; Don't create 'icon-theme.cache'.
5951 (substitute* "meson_post_install.py"
5952 (("gtk-update-icon-cache") "true"))
5954 (add-after 'install 'wrap-eog
5955 (lambda* (#:key outputs #:allow-other-keys)
5956 (let ((out (assoc-ref outputs "out"))
5957 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5958 (wrap-program (string-append out "/bin/eog")
5959 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5962 `(("dconf" ,dconf)))
5964 `(("intltool" ,intltool)
5965 ("itstool" ,itstool)
5966 ("glib" ,glib "bin")
5967 ("gobject-introspection" ,gobject-introspection)
5968 ("pkg-config" ,pkg-config)
5969 ("xmllint" ,libxml2)))
5971 `(("gnome-desktop" ,gnome-desktop)
5972 ("shared-mime-info" ,shared-mime-info)
5973 ("adwaita-icon-theme" ,adwaita-icon-theme)
5976 ("libexif" ,libexif)
5977 ("libpeas" ,libpeas)
5978 ("libjpeg" ,libjpeg-turbo)
5979 ("librsvg" ,librsvg-next)
5980 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5982 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5983 (synopsis "GNOME image viewer")
5984 (description "Eye of GNOME is the GNOME image viewer. It
5985 supports image conversion, rotation, and slideshows.")
5986 (license license:gpl2+)))
5988 (define-public eog-plugins
5989 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5990 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5991 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5992 ;; 'XDG_DATA_DIRS' appropriately set.
5994 (name "eog-plugins")
5998 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5999 (version-major+minor version) "/"
6000 "eog-plugins-" version ".tar.xz"))
6003 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6004 (build-system gnu-build-system)
6005 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6006 (synopsis "Extensions for the Eye of GNOME image viewer")
6008 `(("pkg-config" ,pkg-config)
6009 ("gettext" ,gettext-minimal)))
6014 ("libpeas" ,libpeas)
6015 ("libexif" ,libexif)
6016 ("libchamplain" ,libchamplain)))
6018 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6022 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6023 @item @dfn{Map}, which displays a map of where the picture was taken on the
6025 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6028 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6029 ;; long suspicious byte stream that goes to a
6030 ;; ".gresource.eog_postasa_plugin" ELF section.
6031 (license license:gpl2+)))
6033 (define-public libgudev
6039 (uri (string-append "mirror://gnome/sources/" name "/"
6040 version "/" name "-" version ".tar.xz"))
6043 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6044 (build-system gnu-build-system)
6047 ;; umockdev depends on libgudev.
6048 (list "--disable-umockdev")))
6050 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6051 ("gobject-introspection" ,gobject-introspection)
6052 ("pkg-config" ,pkg-config)))
6054 `(("glib" ,glib))) ; required by gudev-1.0.pc
6057 (home-page "https://wiki.gnome.org/Projects/libgudev")
6058 (synopsis "GObject bindings for libudev")
6060 "This library provides GObject bindings for libudev. It was originally
6061 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6062 (license license:lgpl2.1+)))
6070 (uri (string-append "mirror://gnome/sources/gvfs/"
6071 (version-major+minor version) "/"
6072 "gvfs-" version ".tar.xz"))
6075 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
6076 ;; This patch may be removed when upgrading to version 1.46.x.
6078 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6079 (build-system meson-build-system)
6083 (list "-Dsystemduserunitdir=no"
6085 ;; Otherwise, the RUNPATH will lack the final path component.
6086 (string-append "-Dc_link_args=-Wl,-rpath="
6087 (assoc-ref %outputs "out") "/lib/gvfs"))))
6089 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6090 ("gettext" ,gettext-minimal)
6091 ("gtk-doc" ,gtk-doc)
6092 ("pkg-config" ,pkg-config)
6093 ("xsltproc" ,libxslt)))
6096 ("docbook-xml" ,docbook-xml-4.2)
6097 ("docbook-xsl" ,docbook-xsl)
6099 ("elogind" ,elogind)
6103 ("gnome-online-accounts" ,gnome-online-accounts)
6104 ("libarchive" ,libarchive)
6105 ("libbluray" ,libbluray)
6107 ("libcdio-paranoia" ,libcdio-paranoia)
6108 ("libgcrypt" ,libgcrypt)
6109 ("libgdata" ,libgdata)
6110 ("libgphoto2" ,libgphoto2)
6111 ("libgudev" ,libgudev)
6112 ("libimobiledevice" ,libimobiledevice)
6115 ("libsecret" ,libsecret)
6116 ("libsmbclient" ,samba)
6117 ("libsoup" ,libsoup)
6118 ("libxml2" ,libxml2)
6119 ("openssh" ,openssh)
6121 ("udisks" ,udisks)))
6122 (home-page "https://wiki.gnome.org/gvfs/")
6123 (synopsis "Userspace virtual file system for GIO")
6125 "GVFS is a userspace virtual file system designed to work with the I/O
6126 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6127 to all applications using the GIO API. It also supports exposing the GVFS
6128 mounts to non-GIO applications using FUSE.
6130 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6132 (license license:lgpl2.0+)))
6141 (url "https://github.com/hughsie/libgusb")
6143 (file-name (git-file-name name version))
6146 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
6147 (build-system meson-build-system)
6149 `(("gobject-introspection" ,gobject-introspection)
6150 ("pkg-config" ,pkg-config)
6152 ("gtk-doc" ,gtk-doc)))
6154 ;; Both of these are required by gusb.pc.
6156 ("libusb" ,libusb)))
6158 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6159 (home-page "https://github.com/hughsie/libgusb")
6160 (synopsis "GLib binding for libusb1")
6162 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6163 asynchronous control, bulk and interrupt transfers with proper cancellation
6164 and integration into a mainloop. This makes it easy to integrate low level
6165 USB transfers with your high-level application or system daemon.")
6166 (license license:lgpl2.1+)))
6168 (define-public simple-scan
6170 (name "simple-scan")
6175 (uri (string-append "mirror://gnome/sources/simple-scan/"
6176 (version-major+minor version) "/"
6177 "simple-scan-" version ".tar.xz"))
6179 (base32 "09gmzrlljdqkj3w6wa1c27wypy6j8z9dw3jzv9izfqvp38liibsn"))))
6180 (build-system meson-build-system)
6181 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6183 '(#:glib-or-gtk? #t))
6189 ("gdk-pixbuf" ,gdk-pixbuf)
6191 ("libsane" ,sane-backends)))
6193 `(("gettext" ,gettext-minimal)
6194 ("itstool" ,itstool)
6195 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6196 ("pkg-config" ,pkg-config)
6198 ("xmllint" ,libxml2)))
6199 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6200 (synopsis "Document and image scanner")
6202 "Document Scanner is an easy-to-use application that lets you connect your
6203 scanner and quickly capture images and documents in an appropriate format. It
6204 supports any scanner for which a suitable SANE driver is available, which is
6205 almost all of them.")
6206 (license license:gpl3+)))
6208 (define-public eolie
6211 (version "0.9.98.1")
6214 (uri (string-append "https://adishatz.org/eolie/eolie-"
6218 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
6219 (build-system meson-build-system)
6223 (modify-phases %standard-phases
6224 (add-after 'unpack 'skip-gtk-update-icon-cache
6225 ;; Don't create 'icon-theme.cache'.
6227 (substitute* "meson_post_install.py"
6228 (("gtk-update-icon-cache") "true"))
6230 (add-after 'wrap 'wrap-more
6231 (lambda* (#:key inputs outputs #:allow-other-keys)
6232 (let* ((out (assoc-ref outputs "out"))
6233 ;; These libraries must be on LD_LIBRARY_PATH.
6234 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6235 "atk" "gtk+" "gsettings-desktop-schemas"
6236 "gobject-introspection"))
6239 (string-append (assoc-ref inputs lib) "/lib"))
6242 (wrap-program (string-append out "/bin/eolie")
6243 `("LD_LIBRARY_PATH" ":" prefix (,path))
6244 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6245 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6248 `(("intltool" ,intltool)
6249 ("itstool" ,itstool)
6250 ("pkg-config" ,pkg-config)
6252 ("glib:bin" ,glib "bin")))
6254 `(("gobject-introspection" ,gobject-introspection)
6255 ("glib-networking" ,glib-networking)
6258 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6259 ("python" ,python-wrapper)
6260 ("python-dateutil" ,python-dateutil)
6261 ("python-pyfxa" ,python-pyfxa)
6262 ("python-pygobject" ,python-pygobject)
6263 ("python-pycairo" ,python-pycairo)
6264 ("python-pycrypto" ,python-pycrypto)
6265 ("libsecret" ,libsecret)
6266 ("gtkspell3" ,gtkspell3)
6267 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6268 ("webkitgtk" ,webkitgtk)))
6269 (home-page "https://wiki.gnome.org/Apps/Eolie")
6270 (synopsis "Web browser for GNOME")
6272 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6273 a secret password store, an adblocker, and a modern UI.")
6274 (license license:gpl3+)))
6276 (define-public epiphany
6282 (uri (string-append "mirror://gnome/sources/epiphany/"
6283 (version-major+minor version) "/"
6284 "epiphany-" version ".tar.xz"))
6287 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6289 (build-system meson-build-system)
6293 (modify-phases %standard-phases
6294 (add-after 'unpack 'skip-gtk-update-icon-cache
6295 ;; Don't create 'icon-theme.cache'.
6297 (substitute* "post_install.py"
6298 (("gtk-update-icon-cache") "true"))
6300 (add-after 'unpack 'disable-failing-tests
6302 (substitute* "tests/meson.build"
6303 ;; embed_shell fails, because webkitgtk apparently no longer supports
6304 ;; overriding the ftp schema
6305 ;; web_app_utils fails due to missing network access
6306 (("(embed_shell|web_app_utils)_test,")
6307 "find_program('sh'), args: ['-c', 'exit 77'],"))
6309 (add-before 'check 'pre-check
6311 ;; Tests require a running X server.
6312 (system "Xvfb :1 &")
6313 (setenv "DISPLAY" ":1")
6316 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6317 (list (string-append "-Dc_link_args=-Wl,-rpath="
6318 (assoc-ref %outputs "out") "/lib/epiphany"))))
6320 `(("dconf" ,dconf)))
6322 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6323 ("glib:bin" ,glib "bin") ; for glib-mkenums
6324 ("intltool" ,intltool)
6325 ("itstool" ,itstool)
6326 ("pkg-config" ,pkg-config)
6327 ("xmllint" ,libxml2)
6328 ("xorg-server" ,xorg-server-for-tests)))
6332 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6333 ("glib-networking" ,glib-networking)
6334 ("gnome-desktop" ,gnome-desktop)
6335 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6336 ("json-glib" ,json-glib)
6337 ("iso-codes" ,iso-codes)
6338 ("libdazzle" ,libdazzle)
6339 ("libnotify" ,libnotify)
6340 ("libsecret" ,libsecret)
6341 ("libxslt" ,libxslt)
6342 ("nettle" ,nettle) ; for hogweed
6344 ("webkitgtk" ,webkitgtk)))
6345 (home-page "https://wiki.gnome.org/Apps/Web")
6346 (synopsis "GNOME web browser")
6348 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6349 principles are simplicity and standards compliance.")
6350 (license license:gpl2+)))
6352 (define-public d-feet
6358 (uri (string-append "mirror://gnome/sources/" name "/"
6359 (version-major+minor version) "/"
6360 name "-" version ".tar.xz"))
6363 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6364 (build-system glib-or-gtk-build-system)
6366 '(#:out-of-source? #f ; tests need to run in the source directory.
6368 (modify-phases %standard-phases
6372 ;; The test suite requires a running X server.
6373 (system "Xvfb :1 &")
6374 (setenv "DISPLAY" ":1")
6375 ;; Don't fail on missing '/etc/machine-id'.
6376 (setenv "DBUS_FATAL_WARNINGS" "0")
6377 ;; tests.py and window.py don't meet E402:
6378 ;; E402 module level import not at top of file
6379 (substitute* "src/tests/Makefile"
6380 (("--ignore=E123") "--ignore=E123,E402"))
6383 'install 'wrap-program
6384 (lambda* (#:key outputs #:allow-other-keys)
6385 (let ((prog (string-append (assoc-ref outputs "out")
6388 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6389 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6392 `(("intltool" ,intltool)
6393 ("itstool" ,itstool)
6394 ("pkg-config" ,pkg-config)
6395 ("python-pep8" ,python-pep8)
6396 ("xmllint" ,libxml2)
6397 ("xorg-server" ,xorg-server-for-tests)))
6399 `(("gobject-introspection" ,gobject-introspection)
6401 ("python" ,python-wrapper)
6402 ("hicolor-icon-theme" ,hicolor-icon-theme)
6403 ("python-pygobject" ,python-pygobject)))
6404 (home-page "https://wiki.gnome.org/Apps/DFeet")
6405 (synopsis "D-Bus debugger")
6407 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6408 of running programs and invoke methods on those interfaces.")
6409 (license license:gpl2+)))
6411 (define-public yelp-xsl
6417 (uri (string-append "mirror://gnome/sources/" name "/"
6418 (version-major+minor version) "/"
6419 name "-" version ".tar.xz"))
6422 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6423 (build-system gnu-build-system)
6425 `(("gettext-minimal" ,gettext-minimal)
6426 ("itstool" ,itstool)
6427 ("xmllint" ,libxml2)))
6428 (home-page "https://wiki.gnome.org/Apps/Yelp")
6429 (synopsis "XSL stylesheets for Yelp")
6431 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
6432 to format Docbook and Mallard documents.")
6433 (license license:gpl2+)))
6441 (uri (string-append "mirror://gnome/sources/" name "/"
6442 (version-major+minor version) "/"
6443 name "-" version ".tar.xz"))
6446 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6447 (build-system glib-or-gtk-build-system)
6449 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6450 ("intltool" ,intltool)
6451 ("itstool" ,itstool)
6452 ("pkg-config" ,pkg-config)))
6454 `(("dconf" ,dconf)))
6456 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6457 ("libxslt" ,libxslt)
6459 ("webkitgtk" ,webkitgtk)
6460 ("yelp-xsl" ,yelp-xsl)))
6461 (home-page "https://wiki.gnome.org/Apps/Yelp")
6462 (synopsis "GNOME help browser")
6464 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6465 man, info, and HTML documents. It can locate documents according to the
6466 freedesktop.org help system specification.")
6467 (license license:gpl2+)))
6469 (define-public yelp-tools
6475 (uri (string-append "mirror://gnome/sources/" name "/"
6476 (version-major+minor version) "/"
6477 name "-" version ".tar.xz"))
6480 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6481 (build-system gnu-build-system)
6483 `(("pkg-config" ,pkg-config)))
6485 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6486 `(("itstool" ,itstool)
6487 ("xmllint" ,libxml2)
6488 ("xsltproc" ,libxslt)))
6490 `(("yelp-xsl" ,yelp-xsl)))
6491 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6492 (synopsis "Yelp documentation tools")
6494 "Yelp-tools is a collection of scripts and build utilities to help create,
6495 manage, and publish documentation for Yelp and the web. Most of the heavy
6496 lifting is done by packages like yelp-xsl and itstool. This package just
6497 wraps things up in a developer-friendly way.")
6498 (license license:gpl2+)))
6500 (define-public libgee
6506 (uri (string-append "mirror://gnome/sources/libgee/"
6507 (version-major+minor version) "/"
6508 "libgee-" version ".tar.xz"))
6511 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6512 (build-system gnu-build-system)
6515 (modify-phases %standard-phases
6516 (add-after 'unpack 'fix-introspection-install-dir
6517 (lambda* (#:key outputs #:allow-other-keys)
6518 (let ((out (assoc-ref outputs "out")))
6519 (substitute* "gee/Makefile.in"
6520 (("@INTROSPECTION_GIRDIR@")
6521 (string-append out "/share/gir-1.0/"))
6522 (("@INTROSPECTION_TYPELIBDIR@")
6523 (string-append out "/lib/girepository-1.0/")))))))))
6525 `(("glib" ,glib "bin")
6526 ("pkg-config" ,pkg-config)))
6529 ("gobject-introspection" ,gobject-introspection)))
6530 (home-page "https://wiki.gnome.org/Projects/Libgee")
6531 (synopsis "GObject collection library")
6533 "Libgee is a utility library providing GObject-based interfaces and
6534 classes for commonly used data structures.")
6535 (license license:lgpl2.1+)))
6537 (define-public gexiv2
6543 (uri (string-append "mirror://gnome/sources/" name "/"
6544 (version-major+minor version) "/"
6545 name "-" version ".tar.xz"))
6548 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
6549 (build-system meson-build-system)
6552 ("glib" ,glib "bin")
6553 ("pkg-config" ,pkg-config)
6556 ;; Listed in "Requires" section of gexiv2.pc
6557 `(("exiv2" ,exiv2)))
6560 ("gobject-introspection" ,gobject-introspection)))
6561 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6562 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6564 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6565 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6566 metadata in photo and video files of various formats.")
6567 (license license:gpl2+)))
6569 (define-public shotwell
6575 (uri (string-append "mirror://gnome/sources/shotwell/"
6576 (version-major+minor version) "/"
6577 "shotwell-" version ".tar.xz"))
6580 "1y556yyzfya0310v5wqjkf17hy5lhf028iminvvgi2pdfva344id"))))
6581 (build-system meson-build-system)
6585 (modify-phases %standard-phases
6586 (add-after 'unpack 'skip-gtk-update-icon-cache
6588 (substitute* "build-aux/meson/postinstall.py"
6589 (("gtk-update-icon-cache") (which "true"))
6590 (("update-desktop-database") (which "true")))
6593 `(("dconf" ,dconf)))
6595 `(("gettext" ,gettext-minimal)
6596 ("glib:bin" ,glib "bin")
6597 ("itstool" ,itstool)
6598 ("pkg-config" ,pkg-config)
6603 ("gst-plugins-base" ,gst-plugins-base)
6604 ("gstreamer" ,gstreamer)
6605 ("json-glib" ,json-glib)
6606 ("libgdata" ,libgdata)
6608 ("libgphoto2" ,libgphoto2)
6609 ("libgudev" ,libgudev)
6611 ("libsoup" ,libsoup)
6612 ("libxml2" ,libxml2)
6614 ("webkitgtk" ,webkitgtk)))
6615 (home-page "https://wiki.gnome.org/Apps/Shotwell")
6616 (synopsis "Photo manager for GNOME 3")
6618 "Shotwell is a digital photo manager designed for the GNOME desktop
6619 environment. It allows you to import photos from disk or camera, organize
6620 them by keywords and events, view them in full-window or fullscreen mode, and
6621 share them with others via social networking and more.")
6622 (license license:lgpl2.1+)))
6624 (define-public file-roller
6626 (name "file-roller")
6630 (uri (string-append "mirror://gnome/sources/file-roller/"
6631 (version-major+minor version) "/"
6632 "file-roller-" version ".tar.xz"))
6635 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
6636 (build-system meson-build-system)
6638 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6639 ("intltool" ,intltool)
6640 ("itstool" ,itstool)
6641 ("pkg-config" ,pkg-config)
6642 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6643 ("glib:bin" ,glib "bin")))
6644 ;; TODO: Add libnautilus.
6647 ("gdk-pixbuf" ,gdk-pixbuf)
6648 ("json-glib" ,json-glib)
6649 ("libarchive" ,libarchive)
6650 ("libnotify" ,libnotify)
6652 ("libxml2" ,libxml2)))
6653 (synopsis "Graphical archive manager for GNOME")
6654 (description "File Roller is an archive manager for the GNOME desktop
6655 environment that allows users to view, unpack, and create compressed archives
6656 such as gzip tarballs.")
6657 (home-page "http://fileroller.sourceforge.net/")
6658 (license license:gpl2+)))
6660 (define-public gnome-session
6662 (name "gnome-session")
6666 (uri (string-append "mirror://gnome/sources/" name "/"
6667 (version-major+minor version) "/"
6668 name "-" version ".tar.xz"))
6671 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
6675 (modify-phases %standard-phases
6676 (add-before 'configure 'pre-configure
6677 (lambda* (#:key outputs #:allow-other-keys)
6678 ;; Use elogind instead of systemd.
6679 (substitute* "meson.build"
6680 (("libsystemd-login") "libelogind")
6681 (("and libsystemd_daemon_dep.found.*") ","))
6682 (substitute* "gnome-session/gsm-systemd.c"
6683 (("#include <systemd/sd-login.h>")
6684 "#include <elogind/sd-login.h>"))
6685 ;; Remove uses of the systemd daemon.
6686 (substitute* "gnome-session/gsm-autostart-app.c"
6687 (("#ifdef HAVE_SYSTEMD") "#if 0"))
6689 (add-after 'install 'wrap-gnome-session
6690 (lambda* (#:key inputs outputs #:allow-other-keys)
6691 ;; Make sure 'gnome-session' finds the 'gsettings' program.
6692 (let ((glib (assoc-ref inputs "glib:bin"))
6693 (out (assoc-ref outputs "out")))
6694 (wrap-program (string-append out "/bin/gnome-session")
6695 `("PATH" ":" prefix (,(string-append glib "/bin"))))
6699 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
6700 "-Dman=false" ; FIXME: disabled because of docbook validation error
6701 "-Dsystemd_journal=false")))
6702 (build-system meson-build-system)
6704 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6705 ("pkg-config" ,pkg-config)
6706 ("intltool" ,intltool)
6707 ("xsltproc" ,libxslt)
6708 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
6709 ("docbook-xsl" ,docbook-xsl)
6710 ("docbook-xml" ,docbook-xml)
6713 `(("elogind" ,elogind)
6714 ("gnome-desktop" ,gnome-desktop)
6715 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6717 ("json-glib" ,json-glib)
6719 ("libxcomposite" ,libxcomposite)
6720 ("libxtst" ,libxtst)
6723 ("xtrans" ,xtrans)))
6724 (synopsis "Session manager for GNOME")
6726 "This package contains the GNOME session manager, as well as a
6727 configuration program to choose applications starting on login.")
6728 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
6729 (license license:gpl2+)))
6737 (uri (string-append "mirror://gnome/sources/" name "/"
6738 (version-major+minor version) "/"
6739 name "-" version ".tar.xz"))
6742 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
6743 (build-system gnu-build-system)
6746 (modify-phases %standard-phases
6750 ;; The test suite requires a running X server.
6751 (system "Xvfb :1 &")
6752 (setenv "DISPLAY" ":1")
6754 ;; For the missing /etc/machine-id.
6755 (setenv "DBUS_FATAL_WARNINGS" "0")
6757 ;; Our mozjs-38 package does not compile the required Intl API
6758 ;; support for these failing tests.
6759 (substitute* "installed-tests/js/testLocale.js"
6760 ((".*toBeDefined.*") "")
6761 ((".*expect\\(datestr\\).*") ""))
6762 (substitute* "installed-tests/scripts/testCommandLine.sh"
6767 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
6768 ("pkg-config" ,pkg-config)
6769 ("xmllint" ,libxml2)
6771 ("dbus-launch" ,dbus)
6772 ("dconf" ,dconf) ; required to properly store settings
6773 ("uuidgen" ,util-linux)
6774 ("xvfb" ,xorg-server-for-tests)))
6776 ;; These are all in the Requires.private field of gjs-1.0.pc.
6778 ("gobject-introspection" ,gobject-introspection)
6779 ("mozjs" ,mozjs-60)))
6782 ("readline" ,readline)))
6783 (synopsis "Javascript bindings for GNOME")
6784 (home-page "https://live.gnome.org/Gjs")
6786 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
6787 javascript engine and the GObject introspection framework.")
6788 (license license:gpl2+)))
6790 (define-public gedit
6796 (uri (string-append "mirror://gnome/sources/" name "/"
6797 (version-major+minor version) "/"
6798 name "-" version ".tar.xz"))
6801 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
6802 (build-system meson-build-system)
6806 ;; Otherwise, the RUNPATH will lack the final path component.
6807 (list (string-append "-Dc_link_args=-Wl,-rpath="
6808 (assoc-ref %outputs "out") "/lib/gedit"))
6810 ;; XXX: Generated .h files are sometimes used before being built.
6811 #:parallel-build? #f
6814 (modify-phases %standard-phases
6815 (add-after 'unpack 'skip-gtk-update-icon-cache
6816 ;; Don't create 'icon-theme.cache'.
6818 (substitute* "build-aux/meson/post_install.py"
6819 (("gtk-update-icon-cache") (which "true")))
6821 (add-after 'unpack 'patch-libgd-fetch
6822 (lambda* (#:key inputs #:allow-other-keys)
6823 (let ((libgd (assoc-ref inputs "libgd")))
6824 ;; Calling git is unnecessary because libgd is fetched as a
6825 ;; native input to this package.
6826 (substitute* "meson.build"
6828 (copy-recursively libgd "subprojects/libgd")
6830 (add-after 'install 'wrap-gedit
6831 (lambda* (#:key inputs outputs #:allow-other-keys)
6832 (let ((out (assoc-ref outputs "out"))
6833 (gtksourceview (assoc-ref inputs "gtksourceview"))
6834 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6835 (python-path (getenv "PYTHONPATH")))
6836 (wrap-program (string-append out "/bin/gedit")
6838 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6839 `("PYTHONPATH" ":" prefix (,python-path))
6840 ;; For language-specs.
6841 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
6845 `(("dconf" ,dconf)))
6847 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6848 ("intltool" ,intltool)
6849 ("itstool" ,itstool)
6850 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6851 ("gobject-introspection" ,gobject-introspection)
6856 (url "https://gitlab.gnome.org/GNOME/libgd")
6857 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6858 (file-name (git-file-name "libgd" version))
6860 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
6861 ("pkg-config" ,pkg-config)))
6866 ("gtksourceview" ,gtksourceview)
6867 ("libpeas" ,libpeas)
6868 ("libxml2" ,libxml2)
6869 ("iso-codes" ,iso-codes)
6870 ("python-pygobject" ,python-pygobject)
6872 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6875 ("adwaita-icon-theme" ,adwaita-icon-theme)
6876 ("libsoup" ,libsoup)
6877 ("gnome-desktop" ,gnome-desktop)))
6878 (home-page "https://wiki.gnome.org/Apps/Gedit")
6879 (synopsis "GNOME text editor")
6880 (description "While aiming at simplicity and ease of use, gedit is a
6881 powerful general purpose text editor.")
6882 (license license:gpl2+)))
6884 (define-public zenity
6890 (uri (string-append "mirror://gnome/sources/zenity/"
6891 (version-major+minor version) "/"
6892 "zenity-" version ".tar.xz"))
6895 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6896 (build-system gnu-build-system)
6898 `(("gettext" ,gettext-minimal)
6899 ("itstool" ,itstool)
6900 ("pkg-config" ,pkg-config)))
6902 `(("libnotify" ,libnotify)
6903 ("webkitgtk" ,webkitgtk)))
6904 (synopsis "Display graphical dialog boxes from shell scripts")
6905 (home-page "https://www.gnome.org")
6907 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6908 to display dialog boxes from the commandline and shell scripts.")
6909 (license license:lgpl2.0+)))
6911 (define-public mutter
6917 (uri (string-append "mirror://gnome/sources/" name "/"
6918 (version-major+minor version) "/"
6919 name "-" version ".tar.xz"))
6922 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6923 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6924 ;; versions of cogl and clutter. As a result, many of the inputs,
6925 ;; propagated-inputs, and configure flags used in cogl and clutter are
6926 ;; needed here as well.
6927 (build-system meson-build-system)
6929 '(;; XXX: All mutter tests fail with the following error:
6930 ;; Settings schema 'org.gnome.mutter' is not installed
6934 ;; TODO: Enable profiler when Sysprof is packaged.
6935 (list "-Dprofiler=false"
6936 ;; Otherwise, the RUNPATH will lack the final path component.
6937 (string-append "-Dc_link_args=-Wl,-rpath="
6938 (assoc-ref %outputs "out") "/lib:"
6939 (assoc-ref %outputs "out") "/lib/mutter-5")
6941 ;; The following flags are needed for the bundled clutter
6942 (string-append "-Dxwayland_path="
6943 (assoc-ref %build-inputs "xorg-server-xwayland")
6946 ;; the remaining flags are needed for the bundled cogl
6947 (string-append "-Dopengl_libname="
6948 (assoc-ref %build-inputs "mesa")
6950 #:phases (modify-phases %standard-phases
6951 (add-after 'unpack 'fix-build-with-mesa-20
6953 ;; Mimic upstream commit a444a4c5f58ea516ad for
6954 ;; compatibility with Mesa 20. Remove for 3.36.
6955 (substitute* '("src/backends/meta-egl-ext.h"
6956 "src/backends/meta-egl.c"
6957 "src/backends/meta-egl.h")
6958 (("#include <EGL/eglext\\.h>" all)
6959 (string-append all "\n#include <EGL/eglmesaext.h>")))
6960 (substitute* "cogl/cogl/meson.build"
6961 (("#include <EGL/eglext\\.h>" all)
6962 (string-append all "\\n#include <EGL/eglmesaext.h>")))
6965 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6966 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6967 ("gobject-introspection" ,gobject-introspection)
6968 ("intltool" ,intltool)
6969 ("pkg-config" ,pkg-config)
6970 ("xorg-server" ,xorg-server-for-tests)
6972 ("autoconf" ,autoconf)
6973 ("automake" ,automake)
6974 ("libtool" ,libtool)))
6976 `(;; libmutter.pc refers to these:
6977 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6979 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6982 ("gdk-pixbuf" ,gdk-pixbuf)
6984 ("json-glib" ,json-glib)
6985 ("libinput" ,libinput)
6987 ("libxcomposite" ,libxcomposite)
6988 ("libxdamage" ,libxdamage)
6989 ("libxext" ,libxext)
6990 ("libxfixes" ,libxfixes)
6991 ("libxkbcommon" ,libxkbcommon)
6992 ("libxrandr" ,libxrandr)
6996 ("xinput" ,xinput)))
6998 `(("elogind" ,elogind)
6999 ("gnome-desktop" ,gnome-desktop)
7000 ("gnome-settings-daemon" ,gnome-settings-daemon)
7001 ("libcanberra-gtk" ,libcanberra)
7002 ("libgudev" ,libgudev)
7005 ("libwacom" ,libwacom)
7006 ("libxkbfile" ,libxkbfile)
7007 ("libxrandr" ,libxrandr)
7008 ("libxtst" ,libxtst)
7009 ("pipewire" ,pipewire)
7010 ("startup-notification" ,startup-notification)
7011 ("upower-glib" ,upower)
7012 ("xkeyboard-config" ,xkeyboard-config)
7013 ("xorg-server-xwayland" ,xorg-server-xwayland)
7014 ("zenity" ,zenity)))
7015 (synopsis "Window and compositing manager")
7016 (home-page "https://www.gnome.org")
7018 "Mutter is a window and compositing manager that displays and manages your
7019 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7020 Clutter toolkit with solid window-management logic inherited from the Metacity
7022 (license license:gpl2+)))
7024 (define-public gnome-online-accounts
7026 (name "gnome-online-accounts")
7030 (uri (string-append "mirror://gnome/sources/" name "/"
7031 (version-major+minor version) "/"
7032 name "-" version ".tar.xz"))
7035 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7036 (outputs '("out" "lib"))
7037 (build-system glib-or-gtk-build-system)
7040 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7042 (modify-phases %standard-phases
7043 (add-before 'configure 'patch-libgoa-output
7044 (lambda* (#:key outputs #:allow-other-keys)
7045 (let ((lib (assoc-ref outputs "lib")))
7046 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7048 (("@exec_prefix@") lib)
7049 (("@libdir@") (string-append lib "/lib"))
7050 (("@includedir@") (string-append lib "/include"))
7051 (("@datadir@") (string-append lib "/share")))
7052 ;; Make sure gobject-introspection knows about the output
7053 ;; too (see <https://bugs.gnu.org/36535>).
7054 (setenv "outputs" "out lib")
7057 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7058 ("gobject-introspection" ,gobject-introspection)
7059 ("intltool" ,intltool)
7060 ("pkg-config" ,pkg-config)
7062 ("xsltproc" ,libxslt)))
7064 `(("glib" ,glib) ; required by goa-1.0.pc
7065 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7067 `(("docbook-xsl" ,docbook-xsl)
7068 ("json-glib" ,json-glib)
7069 ("libsecret" ,libsecret)
7071 ("webkitgtk" ,webkitgtk)))
7072 (synopsis "Single sign-on framework for GNOME")
7073 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7075 "GNOME Online Accounts provides interfaces so that applications and
7076 libraries in GNOME can access the user's online accounts. It has providers for
7077 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7078 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7079 (license license:lgpl2.0+)))
7081 (define-public evolution-data-server
7083 (name "evolution-data-server")
7087 (uri (string-append "mirror://gnome/sources/" name "/"
7088 (version-major+minor version) "/"
7089 name "-" version ".tar.xz"))
7090 (patches (search-patches "evolution-data-server-locales.patch"
7091 "evolution-data-server-libical-compat.patch"))
7094 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7095 (build-system cmake-build-system)
7098 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7099 (runpaths (map (lambda (s)
7100 (string-append lib "/evolution-data-server/" s))
7101 '("addressbook-backends" "calendar-backends"
7102 "camel-providers" "credential-modules"
7103 "registry-modules"))))
7104 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7105 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7106 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7107 "-DENABLE_VALA_BINDINGS=ON"
7108 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7109 (string-append lib "/evolution-data-server;")
7110 (string-join runpaths ";"))
7111 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7113 (modify-phases %standard-phases
7114 (add-after 'unpack 'disable-failing-tests
7116 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7117 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7118 (delete-file-recursively "tests/book-migration")
7119 (substitute* "tests/CMakeLists.txt"
7120 (("add_subdirectory\\(book-migration\\)") ""))
7122 (add-after 'unpack 'patch-paths
7124 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7125 "tests/libedata-book/data-test-utils.c"
7126 "tests/libedata-book/test-book-cache-utils.c"
7127 "tests/libedata-cal/test-cal-cache-utils.c")
7128 (("/bin/rm") (which "rm")))
7130 (add-before 'configure 'dont-override-rpath
7132 (substitute* "CMakeLists.txt"
7133 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7134 ;; Remove it so the configure flag is respected.
7135 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7138 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7139 ("gobject-introspection" ,gobject-introspection)
7141 ("intltool" ,intltool)
7142 ("pkg-config" ,pkg-config)
7144 ("python" ,python-wrapper)))
7146 ;; These are all in the Requires field of .pc files.
7148 ("libical" ,libical)
7149 ("libsecret" ,libsecret)
7150 ("libsoup" ,libsoup)
7152 ("sqlite" ,sqlite)))
7156 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7157 ("json-glib" ,json-glib)
7158 ("libcanberra" ,libcanberra)
7159 ("libgweather" ,libgweather)
7160 ("mit-krb5" ,mit-krb5)
7161 ("openldap" ,openldap)
7162 ("webkitgtk" ,webkitgtk)))
7163 (synopsis "Store address books and calendars")
7164 (home-page "https://wiki.gnome.org/Apps/Evolution")
7166 "This package provides a unified backend for programs that work with
7167 contacts, tasks, and calendar information. It was originally developed for
7168 Evolution (hence the name), but is now used by other packages as well.")
7169 (license license:lgpl2.0)))
7171 (define-public caribou
7177 (uri (string-append "mirror://gnome/sources/" name "/"
7178 (version-major+minor version) "/"
7179 name "-" version ".tar.xz"))
7182 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7183 (build-system glib-or-gtk-build-system)
7186 (modify-phases %standard-phases
7189 (lambda* (#:key outputs #:allow-other-keys)
7190 (let ((out (assoc-ref outputs "out")))
7191 ;; Use absolute shared library path in Caribou-1.0.typelib.
7192 (substitute* "libcaribou/Makefile"
7193 (("--shared-library=libcaribou.so")
7194 (string-append "--shared-library="
7195 out "/lib/libcaribou.so")))
7197 (add-after 'install 'wrap-programs
7198 (lambda* (#:key outputs #:allow-other-keys)
7199 (let* ((out (assoc-ref outputs "out"))
7200 (python-path (getenv "PYTHONPATH"))
7201 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7205 `("PYTHONPATH" ":" prefix (,python-path))
7206 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7207 (list (string-append out "/bin/caribou-preferences")
7208 (string-append out "/libexec/antler-keyboard"))))
7211 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7212 ("gobject-introspection" ,gobject-introspection)
7213 ("intltool" ,intltool)
7214 ("pkg-config" ,pkg-config)
7217 ("xsltproc" ,libxslt)))
7219 ;; caribou-1.0.pc refers to all these.
7220 `(("libgee" ,libgee)
7221 ("libxklavier" ,libxklavier)
7222 ("libxtst" ,libxtst)
7225 `(("clutter" ,clutter)
7228 ("python-pygobject" ,python-pygobject)))
7229 (synopsis "Text entry and UI navigation application")
7230 (home-page "https://wiki.gnome.org/Projects/Caribou")
7232 "Caribou is an input assistive technology intended for switch and pointer
7234 (license license:lgpl2.1)))
7236 (define-public network-manager
7238 (name "network-manager")
7242 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7243 (version-major+minor version) "/"
7244 "NetworkManager-" version ".tar.xz"))
7245 (patches (search-patches "network-manager-plugin-path.patch"))
7248 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7249 (modules '((guix build utils)))
7252 (substitute* "src/devices/wwan/nm-modem-manager.c"
7253 (("systemd") "elogind"))
7255 (build-system meson-build-system)
7257 "doc")) ; 8 MiB of gtk-doc HTML
7260 (let ((out (assoc-ref %outputs "out"))
7261 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7264 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7266 (string-append "-Dc_link_args=-Wl,-rpath="
7268 out "/lib/NetworkManager/" ,version)
7269 "-Dsystemd_journal=false"
7270 "-Dsession_tracking=elogind"
7271 "-Dsuspend_resume=elogind"
7272 "-Dsystemdsystemunitdir=no"
7273 "-Dsession_tracking_consolekit=false"
7282 "--localstatedir=/var"
7283 (string-append "-Dudev_dir="
7285 (string-append "-Ddbus_conf_dir="
7286 out "/etc/dbus-1/system.d")
7288 (string-append "-Ddhclient=" dhclient)))
7290 (modify-phases %standard-phases
7291 (add-before 'configure 'pre-configure
7293 ;; These tests try to test aspects of network-manager's
7294 ;; functionality within restricted containers, but they don't
7295 ;; cope with being already in the Guix build jail as that jail
7296 ;; lacks some features that they would like to proxy over (like
7298 (substitute* "src/platform/tests/meson.build"
7299 ((".*test-address-linux.*") "")
7300 ((".*test-cleanup-linux.*") "")
7301 ((".*test-link-linux.*") "")
7302 ((".*test-route-linux.*") ""))
7303 (substitute* "src/devices/tests/meson.build"
7304 ((".*test-acd.*") "")
7305 ((".*test-lldp.*") ""))
7307 (add-after 'unpack 'patch-docbook-xml
7308 (lambda* (#:key inputs #:allow-other-keys)
7309 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7310 "/xml/dtd/docbook")))
7311 (substitute* (find-files "." ".*\\.(xsl|xml)")
7312 (("http://.*/docbookx\\.dtd")
7313 (string-append xmldoc "/docbookx.dtd")))
7315 (add-before 'check 'pre-check
7317 ;; For the missing /etc/machine-id.
7318 (setenv "DBUS_FATAL_WARNINGS" "0")
7320 (add-before 'install 'no-polkit-magic
7321 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7323 (setenv "PKEXEC_UID" "something")
7325 (add-after 'install 'move-doc
7326 (lambda* (#:key outputs #:allow-other-keys)
7327 (let ((out (assoc-ref outputs "out"))
7328 (doc (assoc-ref outputs "doc")))
7329 (mkdir-p (string-append doc "/share"))
7330 (for-each (lambda (directory)
7331 (copy-recursively (string-append out directory)
7332 (string-append doc directory))
7333 (delete-file-recursively
7334 (string-append out directory)))
7335 '("/share/doc" "/share/gtk-doc"))
7340 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7341 ("gtk-doc" ,gtk-doc)
7342 ("gobject-introspection" ,gobject-introspection)
7343 ("docbook-xml" ,docbook-xml)
7344 ("docbook-xsl" ,docbook-xsl)
7345 ("intltool" ,intltool)
7346 ("libxslt" ,libxslt)
7347 ("libxml2" ,libxml2)
7348 ("pkg-config" ,pkg-config)
7351 ("python" ,python-wrapper)
7352 ("python-dbus" ,python-dbus)
7353 ("python-pygobject" ,python-pygobject)))
7356 ("cyrus-sasl" ,cyrus-sasl)
7357 ("dbus-glib" ,dbus-glib)
7358 ("dnsmasq" ,dnsmasq)
7361 ("iptables" ,iptables)
7362 ("isc-dhcp" ,isc-dhcp)
7363 ("iwd" ,iwd) ; wpa_supplicant alternative
7364 ("jansson" ,jansson)
7366 ("libgcrypt" ,libgcrypt)
7367 ("libgudev" ,libgudev)
7370 ("libsoup" ,libsoup)
7371 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7372 ("modem-manager" ,modem-manager)
7373 ("newt" ,newt) ;for the 'nmtui' console interface
7374 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7377 ("readline" ,readline)
7378 ("util-linux" ,util-linux)
7379 ("elogind" ,elogind)))
7380 (synopsis "Network connection manager")
7381 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7383 "NetworkManager is a system network service that manages your network
7384 devices and connections, attempting to keep active network connectivity when
7385 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7386 devices, and provides VPN integration with a variety of different VPN
7388 ;; “This NetworkManager project consists of the daemon, client tools, and
7389 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7391 (license (list license:gpl2+
7393 (properties '((upstream-name . "NetworkManager")))))
7395 (define-public network-manager-openvpn
7397 (name "network-manager-openvpn")
7402 "mirror://gnome/sources/NetworkManager-openvpn/"
7403 (version-major+minor version)
7404 "/NetworkManager-openvpn-" version ".tar.xz"))
7407 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7408 (build-system gnu-build-system)
7410 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7412 (modify-phases %standard-phases
7413 (add-after 'configure 'patch-path
7414 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7415 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7417 (modprobe (string-append (assoc-ref inputs "kmod")
7419 (pretty-ovpn (string-append "\"" ovpn "\"")))
7423 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7424 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7425 (("\"/sbin/openvpn\"") pretty-ovpn)
7426 (("/sbin/modprobe") modprobe)))
7427 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7430 `(("pkg-config" ,pkg-config)
7431 ("intltool" ,intltool)))
7435 ("openvpn" ,openvpn)
7436 ("network-manager" ,network-manager)
7438 ("libsecret" ,libsecret)))
7439 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7440 (synopsis "OpenVPN plug-in for NetworkManager")
7442 "This extension of NetworkManager allows it to take care of connections
7443 to virtual private networks (VPNs) via OpenVPN.")
7444 (license license:gpl2+)
7445 (properties `((upstream-name . "NetworkManager-openvpn")))))
7447 (define-public network-manager-vpnc
7449 (name "network-manager-vpnc")
7454 "mirror://gnome/sources/NetworkManager-vpnc/"
7455 (version-major+minor version)
7456 "/NetworkManager-vpnc-" version ".tar.xz"))
7459 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7460 (build-system gnu-build-system)
7462 `(#:configure-flags '("--enable-absolute-paths"
7463 "--localstatedir=/var"
7464 ;; libnm-glib has been removed from network-manager
7465 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7466 "--with-libnm-glib=no")
7468 (modify-phases %standard-phases
7469 (add-after 'configure 'patch-path
7470 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7471 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7473 (modprobe (string-append (assoc-ref inputs "kmod")
7475 (pretty-ovpn (string-append "\"" vpnc "\"")))
7476 (substitute* "src/nm-vpnc-service.c"
7477 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7478 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7479 (("\"/sbin/vpnc\"") pretty-ovpn)
7480 (("/sbin/modprobe") modprobe)))
7483 `(("pkg-config" ,pkg-config)
7484 ("intltool" ,intltool)))
7489 ("network-manager" ,network-manager)
7491 ("libsecret" ,libsecret)))
7492 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7493 (synopsis "VPNC plug-in for NetworkManager")
7495 "Support for configuring virtual private networks based on VPNC.
7496 Compatible with Cisco VPN concentrators configured to use IPsec.")
7497 (license license:gpl2+)
7498 (properties `((upstream-name . "NetworkManager-vpnc")))))
7500 (define-public network-manager-openconnect
7502 (name "network-manager-openconnect")
7507 "mirror://gnome/sources/NetworkManager-openconnect/"
7508 (version-major+minor version)
7509 "/NetworkManager-openconnect-" version ".tar.xz"))
7512 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7513 (build-system gnu-build-system)
7515 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7517 (modify-phases %standard-phases
7518 (add-after 'configure 'patch-path
7519 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7520 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7521 "/sbin/openconnect"))
7522 (modprobe (string-append (assoc-ref inputs "kmod")
7524 (pretty-ovpn (string-append "\"" openconnect "\"")))
7525 (substitute* "src/nm-openconnect-service.c"
7526 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7527 (("/sbin/modprobe") modprobe)))
7530 `(("intltool" ,intltool)
7532 ("pkg-config" ,pkg-config)))
7537 ("libsecret" ,libsecret)
7538 ("libxml2" ,libxml2)
7540 ("network-manager" ,network-manager)
7541 ("openconnect" ,openconnect)))
7542 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7543 (synopsis "OpenConnect plug-in for NetworkManager")
7545 "This extension of NetworkManager allows it to take care of connections
7546 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7547 Cisco's AnyConnect SSL VPN.")
7548 (license license:gpl2+)
7549 (properties `((upstream-name . "NetworkManager-openconnect")
7551 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7552 ;; file refers to account "nm-openconnect". Specify it here
7553 ;; so that 'network-manager-service-type' creates it.
7554 (user-accounts . ("nm-openconnect"))))))
7556 (define-public mobile-broadband-provider-info
7558 (name "mobile-broadband-provider-info")
7559 (version "20190116")
7563 "mirror://gnome/sources/"
7564 "mobile-broadband-provider-info/" version "/"
7565 "mobile-broadband-provider-info-" version ".tar.xz"))
7568 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7569 (build-system gnu-build-system)
7571 `(#:tests? #f)) ; no tests
7572 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7573 (synopsis "Database of broadband connection configuration")
7574 (description "Database of broadband connection configuration.")
7575 (license license:public-domain)))
7577 (define-public network-manager-applet
7579 (name "network-manager-applet")
7583 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7584 (version-major+minor version) "/"
7585 "network-manager-applet-" version ".tar.xz"))
7588 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
7589 (build-system meson-build-system)
7591 '(#:glib-or-gtk? #t))
7593 `(("intltool" ,intltool)
7594 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7595 ("gobject-introspection" ,gobject-introspection)
7596 ("gtk-doc" ,gtk-doc)
7597 ("pkg-config" ,pkg-config)))
7599 ;; libnm-gtk.pc refers to all these.
7600 `(("dbus-glib" ,dbus-glib)
7602 ("network-manager" ,network-manager)
7603 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7604 ("libnma" ,libnma)))
7607 ("libgudev" ,libgudev)
7608 ("libnotify" ,libnotify)
7609 ("libsecret" ,libsecret)
7610 ("libselinux" ,libselinux)
7611 ("jansson" ,jansson) ; for team support
7612 ("modem-manager" ,modem-manager)))
7613 (synopsis "Applet for managing network connections")
7614 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7616 "This package contains a systray applet for NetworkManager. It displays
7617 the available networks and allows users to easily switch between them.")
7618 (license license:gpl2+)))
7620 (define-public libxml++
7626 (uri (string-append "mirror://gnome/sources/" name "/"
7627 (version-major+minor version) "/"
7628 name "-" version ".tar.xz"))
7631 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
7632 (build-system gnu-build-system)
7633 ;; libxml++-3.0.pc refers to all these.
7635 `(("libxml2" ,libxml2)
7636 ("glibmm" ,glibmm)))
7639 ("pkg-config" ,pkg-config)))
7640 (home-page "http://libxmlplusplus.sourceforge.net/")
7641 (synopsis "C++ wrapper for XML parser library libxml2")
7643 "This package provides a C++ wrapper for the XML parser library
7645 (license license:lgpl2.1+)))
7647 (define-public libxml++-2
7654 (uri (string-append "mirror://gnome/sources/" name "/"
7655 (version-major+minor version) "/"
7656 name "-" version ".tar.xz"))
7659 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
7667 (uri (string-append "mirror://gnome/sources/" name "/"
7668 (version-major+minor version) "/"
7669 name "-" version ".tar.xz"))
7672 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
7673 (patches (search-patches "gdm-default-session.patch"))))
7674 (build-system glib-or-gtk-build-system)
7677 `("--without-plymouth"
7678 "--disable-systemd-journal"
7680 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
7681 ;; instead of having to replace it (i.e., stopping the mingetty
7682 ;; service for TTY 1 before starting GDM).
7683 "--with-initial-vt=7"
7685 ;; Use '/etc/environment' for locale settings instead of the
7686 ;; systemd-specific '/etc/locale.conf'.
7687 "--with-lang-file=/etc/environment"
7689 ,(string-append "--with-udevdir="
7690 (assoc-ref %outputs "out") "/lib/udev")
7692 "--localstatedir=/var"
7693 ,(string-append "--with-default-path="
7694 (string-join '("/run/setuid-programs"
7695 "/run/current-system/profile/bin"
7696 "/run/current-system/profile/sbin")
7698 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
7699 ;; XDG_DATA_DIRS so that it finds its schemas.
7700 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
7702 (modify-phases %standard-phases
7704 'configure 'pre-configure
7705 (lambda* (#:key inputs outputs #:allow-other-keys)
7706 ;; We don't have <systemd/sd-daemon.h>.
7707 (substitute* '("common/gdm-log.c"
7708 "daemon/gdm-server.c"
7709 "daemon/gdm-session-worker.c"
7710 "daemon/gdm-session-worker-job.c")
7711 (("#include <systemd/sd-daemon\\.h>") ""))
7712 ;; Use elogind for sd-login.
7713 (substitute* '("common/gdm-common.c"
7714 "daemon/gdm-local-display-factory.c"
7715 "daemon/gdm-manager.c"
7716 "libgdm/gdm-user-switching.c")
7717 (("#include <systemd/sd-login\\.h>")
7718 "#include <elogind/sd-login.h>"))
7719 ;; Check for elogind.
7720 (substitute* '("configure")
7723 ;; Look for system-installed sessions in
7724 ;; /run/current-system/profile/share.
7725 (substitute* '("libgdm/gdm-sessions.c"
7726 "daemon/gdm-session.c"
7727 "daemon/gdm-display.c"
7728 "daemon/gdm-launch-environment.c")
7730 "\"/run/current-system/profile/share/x")
7731 (("DATADIR \"/wayland")
7732 "\"/run/current-system/profile/share/wayland")
7733 (("DATADIR \"/gnome")
7734 "\"/run/current-system/profile/share/gnome"))
7735 (let ((propagate '("GDM_CUSTOM_CONF"
7739 ;; XXX: Remove this once GNOME Shell is
7740 ;; a dependency of GDM.
7742 (substitute* "daemon/gdm-session.c"
7743 (("set_up_session_environment \\(self\\);")
7744 (apply string-append
7745 "set_up_session_environment (self);\n"
7748 "gdm_session_set_environment_variable "
7749 "(self, \"" name "\","
7750 "g_getenv (\"" name "\"));\n"))
7752 ;; Find the configuration file using an environment variable.
7753 (substitute* '("common/gdm-settings.c")
7754 (("GDM_CUSTOM_CONF")
7755 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
7756 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
7757 " : GDM_CUSTOM_CONF)")))
7758 ;; Use service-supplied path to X.
7759 (substitute* '("daemon/gdm-server.c")
7760 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
7761 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
7762 (substitute* '("daemon/gdm-wayland-session.c"
7763 "daemon/gdm-x-session.c")
7764 (("\"dbus-daemon\"")
7765 "g_getenv (\"GDM_DBUS_DAEMON\")")
7767 "g_getenv (\"GDM_X_SERVER\")")
7768 (("GDMCONFDIR \"/Xsession\"")
7769 "g_getenv (\"GDM_X_SESSION\")"))
7770 ;; Use an absolute path for GNOME Session.
7771 (substitute* "daemon/gdm-launch-environment.c"
7772 (("\"gnome-session\"")
7773 (string-append "\"" (assoc-ref inputs "gnome-session")
7774 "/bin/gnome-session\"")))
7775 ;; Do not automatically select the placeholder session.
7776 (substitute* "daemon/gdm-session.c"
7777 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
7778 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
7779 "(g_strcmp0(search_dirs[i], \""
7780 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
7782 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
7783 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
7784 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
7786 ;; GDM requires that there be at least one desktop entry
7787 ;; file. This phase installs a hidden one that simply
7788 ;; fails. This enables users to use GDM with a
7789 ;; '~/.xsession' script with no other desktop entry files.
7790 ;; See <https://bugs.gnu.org/35068>.
7791 (add-after 'install 'install-placeholder-desktop-entry
7792 (lambda* (#:key inputs outputs #:allow-other-keys)
7793 (let* ((out (assoc-ref outputs "out"))
7794 (sessions (string-append out "/share/gdm/BuiltInSessions"))
7795 (fail (string-append sessions "/fail.desktop")))
7797 (with-output-to-file fail
7801 '("[Desktop Entry]\n"
7803 "Type=Application\n"
7805 "Comment=This session fails immediately.\n"
7809 ;; GDM needs GNOME Session to run these applications. We link
7810 ;; their autostart files in `share/gdm/greeter/autostart'
7811 ;; because GDM explicitly tells GNOME Session to look there.
7813 ;; XXX: GNOME Shell should be linked here too, but currently
7814 ;; GNOME Shell depends on GDM.
7815 (add-after 'install 'link-autostart-files
7816 (lambda* (#:key inputs outputs #:allow-other-keys)
7817 (let* ((out (assoc-ref outputs "out"))
7818 (autostart (string-append out "/share/gdm/"
7819 "greeter/autostart"))
7820 (settings (assoc-ref inputs "gnome-settings-daemon")))
7822 (with-directory-excursion autostart
7823 (for-each (lambda (desktop)
7824 (symlink desktop (basename desktop)))
7825 (find-files (string-append settings "/etc/xdg"))))
7829 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7830 ("gobject-introspection" ,gobject-introspection)
7831 ("intltool" ,intltool)
7832 ("itstool" ,itstool)
7833 ("pkg-config" ,pkg-config)
7834 ("xmllint" ,libxml2)))
7836 `(("accountsservice" ,accountsservice)
7837 ("check" ,check) ; for testing
7838 ("elogind" ,elogind)
7839 ("gnome-session" ,gnome-session)
7840 ("gnome-settings-daemon" ,gnome-settings-daemon)
7842 ("iso-codes" ,iso-codes)
7843 ("libcanberra" ,libcanberra)
7844 ("linux-pam" ,linux-pam)))
7845 (synopsis "Display manager for GNOME")
7846 (home-page "https://wiki.gnome.org/Projects/GDM/")
7848 "GNOME Display Manager is a system service that is responsible for
7849 providing graphical log-ins and managing local and remote displays.")
7850 (license license:gpl2+)))
7852 (define-public libgtop
7858 (uri (string-append "mirror://gnome/sources/libgtop/"
7859 (version-major+minor version) "/"
7860 "libgtop-" version ".tar.xz"))
7863 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
7864 (build-system gnu-build-system)
7866 `(("gobject-introspection" ,gobject-introspection)
7867 ("intltool" ,intltool)
7869 ("pkg-config" ,pkg-config)))
7871 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7872 (synopsis "Portable system access library")
7873 (home-page "https://www.gnome.org/")
7875 "LibGTop is a library to get system specific data such as CPU and memory
7876 usage and information about running processes.")
7877 (license license:gpl2+)))
7879 (define-public gnome-bluetooth
7881 (name "gnome-bluetooth")
7885 (uri (string-append "mirror://gnome/sources/" name "/"
7886 (version-major+minor version) "/"
7887 name "-" version ".tar.xz"))
7890 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
7891 (build-system meson-build-system)
7893 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7894 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7895 ("gobject-introspection" ,gobject-introspection)
7896 ("intltool" ,intltool)
7897 ("pkg-config" ,pkg-config)
7898 ("xmllint" ,libxml2)))
7900 ;; gnome-bluetooth-1.0.pc refers to all these.
7905 ("libcanberra" ,libcanberra)
7906 ("libnotify" ,libnotify)))
7907 (synopsis "GNOME Bluetooth subsystem")
7908 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7910 "This package contains tools for managing and manipulating Bluetooth
7911 devices using the GNOME desktop.")
7912 (license license:lgpl2.1+)))
7914 (define-public gnome-control-center
7916 (name "gnome-control-center")
7920 (uri (string-append "mirror://gnome/sources/" name "/"
7921 (version-major+minor version) "/"
7922 name "-" version ".tar.xz"))
7925 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7926 (build-system meson-build-system)
7930 (list "-Dcheese=false"
7931 (string-append "-Dgnome_session_libexecdir="
7932 (assoc-ref %build-inputs "gnome-session")
7935 (modify-phases %standard-phases
7936 (add-before 'configure 'patch-paths
7937 (lambda* (#:key inputs #:allow-other-keys)
7938 (let ((libc (assoc-ref inputs "libc"))
7939 (tzdata (assoc-ref inputs "tzdata"))
7940 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7941 (nm-applet (assoc-ref inputs "network-manager-applet"))
7942 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7943 (substitute* "panels/datetime/tz.h"
7944 (("/usr/share/zoneinfo/zone.tab")
7945 (string-append tzdata "/share/zoneinfo/zone.tab")))
7946 (substitute* "tests/datetime/test-endianess.c"
7947 (("/usr/share/locale")
7948 (string-append libc "/share/locale")))
7949 (substitute* "panels/region/cc-region-panel.c"
7950 (("\"gkbd-keyboard-display")
7951 (string-append "\"" libgnomekbd
7952 "/bin/gkbd-keyboard-display")))
7953 (substitute* '("panels/network/net-device-wifi.c"
7954 "panels/network/net-device.c"
7955 "panels/network/connection-editor/net-connection-editor.c")
7956 (("\"nm-connection-editor")
7957 (string-append "\"" nm-applet
7958 "/bin/nm-connection-editor")))
7959 (substitute* '("panels/user-accounts/run-passwd.c")
7960 (("/usr/bin/passwd")
7961 "/run/setuid-programs/passwd"))
7962 (substitute* "panels/info/cc-info-overview-panel.c"
7963 (("DATADIR \"/gnome/gnome-version.xml\"")
7964 (string-append "\"" gnome-desktop
7965 "/share/gnome/gnome-version.xml\"")))
7967 (add-after 'unpack 'skip-gtk-update-icon-cache
7968 ;; Don't create 'icon-theme.cache'.
7970 (substitute* "build-aux/meson/meson_post_install.py"
7971 (("gtk-update-icon-cache") (which "true")))
7974 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7975 ("intltool" ,intltool)
7976 ("pkg-config" ,pkg-config)
7977 ("xsltproc" ,libxslt)
7979 ("hicolor-icon-theme" ,hicolor-icon-theme)
7980 ("python-dbusmock" ,python-dbusmock)
7981 ("xorg-server" ,xorg-server-for-tests)))
7983 `(("accountsservice" ,accountsservice)
7984 ("clutter-gtk" ,clutter-gtk)
7985 ("colord-gtk" ,colord-gtk)
7988 ("docbook-xsl" ,docbook-xsl)
7989 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7990 ("gnome-bluetooth" ,gnome-bluetooth)
7991 ("gnome-desktop" ,gnome-desktop)
7992 ("gnome-online-accounts" ,gnome-online-accounts)
7993 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7994 ("gnome-session" ,gnome-session)
7995 ("gnome-settings-daemon" ,gnome-settings-daemon)
7999 ("libcanberra" ,libcanberra)
8000 ("libgnomekbd" ,libgnomekbd)
8001 ("libgudev" ,libgudev)
8002 ("libgtop" ,libgtop)
8004 ("libpwquality" ,libpwquality)
8005 ("libsecret" ,libsecret)
8006 ("libsoup" ,libsoup)
8007 ("libxml2" ,libxml2)
8008 ("libwacom" ,libwacom)
8010 ("mit-krb5" ,mit-krb5)
8011 ("modem-manager" ,modem-manager)
8012 ("network-manager-applet" ,network-manager-applet)
8014 ("pulseaudio" ,pulseaudio)
8015 ("smbclient" ,samba)
8018 ("upower" ,upower)))
8019 (synopsis "Utilities to configure the GNOME desktop")
8020 (home-page "https://www.gnome.org/")
8022 "This package contains configuration applets for the GNOME desktop,
8023 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8024 properties, sound setup, desktop theme and background, user interface
8025 properties, screen resolution, and other GNOME parameters.")
8026 (license license:gpl2+)))
8028 (define-public gnome-shell
8030 (name "gnome-shell")
8034 (uri (string-append "mirror://gnome/sources/" name "/"
8035 (version-major+minor version) "/"
8036 name "-" version ".tar.xz"))
8039 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
8040 (patches (search-patches "gnome-shell-theme.patch"
8041 "gnome-shell-disable-test.patch"))
8042 (modules '((guix build utils)))
8045 ;; Copy images for use on the GDM log-in screen.
8046 (copy-file #$(file-append %artwork-repository
8047 "/slim/0.x/background.png")
8048 "data/theme/guix-background.png")
8049 (copy-file #$(file-append %artwork-repository
8050 "/logo/Guix-horizontal-white.svg")
8051 "data/theme/guix-logo.svg")
8053 (build-system meson-build-system)
8056 #:disallowed-references ((,glib "bin")
8060 (list "-Dsystemd=false"
8061 ;; Otherwise, the RUNPATH will lack the final path component.
8062 (string-append "-Dc_link_args=-Wl,-rpath="
8063 (assoc-ref %outputs "out")
8064 "/lib/gnome-shell"))
8066 #:modules ((guix build meson-build-system)
8071 (modify-phases %standard-phases
8072 (add-after 'unpack 'fix-keysdir
8073 (lambda* (#:key outputs #:allow-other-keys)
8074 (let* ((out (assoc-ref outputs "out"))
8075 (keysdir (string-append
8076 out "/share/gnome-control-center/keybindings")))
8077 (substitute* "meson.build"
8079 (string-append "keysdir = '" keysdir "'\n")))
8081 (add-before 'configure 'convert-logo-to-png
8082 (lambda* (#:key inputs #:allow-other-keys)
8083 ;; Convert the logo from SVG to PNG.
8084 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8085 "data/theme/guix-logo.svg")))
8086 (add-before 'configure 'record-absolute-file-names
8087 (lambda* (#:key inputs #:allow-other-keys)
8088 (substitute* "js/misc/ibusManager.js"
8090 (string-append "'" (assoc-ref inputs "ibus")
8091 "/bin/ibus-daemon'")))
8092 (substitute* "js/ui/status/keyboard.js"
8093 (("'gkbd-keyboard-display'")
8094 (string-append "'" (assoc-ref inputs "libgnomekbd")
8095 "/bin/gkbd-keyboard-display'")))
8097 (add-before 'check 'pre-check
8098 (lambda* (#:key inputs #:allow-other-keys)
8099 ;; Tests require a running X server.
8100 (system "Xvfb :1 &")
8101 (setenv "DISPLAY" ":1")
8103 (add-after 'install 'wrap-programs
8104 (lambda* (#:key inputs outputs #:allow-other-keys)
8105 (let ((out (assoc-ref outputs "out"))
8106 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8107 (python-path (getenv "PYTHONPATH")))
8108 (wrap-program (string-append out "/bin/gnome-shell")
8109 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8110 ;; FIXME: gnome-shell loads these libraries with unqualified
8111 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8112 ;; alternative might be to patch gnome-shell.
8113 `("LD_LIBRARY_PATH" ":" prefix
8115 (string-append (assoc-ref inputs pkg) "/lib"))
8117 "gnome-bluetooth" "librsvg" "libgweather"))))
8120 (wrap-program (string-append out "/bin/" prog)
8121 `("PYTHONPATH" ":" prefix (,python-path))
8122 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8123 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8125 (replace 'glib-or-gtk-wrap
8126 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8127 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8128 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8129 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8130 ;; phase. Fix that since we don't need these.
8131 (wrap #:inputs (fold alist-delete inputs
8132 '("inkscape" "intltool" "glib:bin"))
8133 #:outputs outputs)))))))
8135 `(("asciidoc" ,asciidoc)
8136 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8137 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8138 ("gobject-introspection" ,gobject-introspection)
8139 ("inkscape" ,inkscape)
8140 ("intltool" ,intltool)
8141 ("pkg-config" ,pkg-config)
8143 ("ruby-sass" ,ruby-sass)
8145 ("xsltproc" ,libxslt)
8147 ("xorg-server" ,xorg-server-for-tests)))
8149 `(("accountsservice" ,accountsservice)
8150 ("caribou" ,caribou)
8151 ("docbook-xsl" ,docbook-xsl)
8152 ("evolution-data-server" ,evolution-data-server)
8155 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8157 ("gnome-autoar" ,gnome-autoar)
8158 ("gnome-bluetooth" ,gnome-bluetooth)
8159 ("gnome-desktop" ,gnome-desktop)
8160 ("gnome-settings-daemon" ,gnome-settings-daemon)
8161 ("gst-plugins-base" ,gst-plugins-base)
8163 ("libcanberra" ,libcanberra)
8164 ("libcroco" ,libcroco)
8165 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8166 ("libgweather" ,libgweather)
8168 ("libsoup" ,libsoup)
8169 ("mesa-headers" ,mesa-headers)
8171 ("network-manager-applet" ,network-manager-applet)
8173 ("pulseaudio" ,pulseaudio)
8174 ("python-pygobject" ,python-pygobject)
8175 ("startup-notification" ,startup-notification)
8176 ("telepathy-logger" ,telepathy-logger)
8178 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8179 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8180 ("librsvg" ,librsvg)
8181 ("geoclue" ,geoclue)))
8182 (synopsis "Desktop shell for GNOME")
8183 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8185 "GNOME Shell provides core user interface functions for the GNOME desktop,
8186 like switching to windows and launching applications.")
8187 (license license:gpl2+)))
8189 (define-public gtk-vnc
8197 (string-append "mirror://gnome/sources/" name "/"
8198 (version-major+minor version) "/"
8199 name "-" version ".tar.xz"))
8201 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8202 (build-system meson-build-system)
8204 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8207 ("glib:bin" ,glib "bin")
8208 ("gobject-introspection" ,gobject-introspection)
8209 ("intltool" ,intltool)
8212 ("pkg-config" ,pkg-config)
8213 ("python" ,python-wrapper)
8217 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8220 ("libgcrypt" ,libgcrypt)
8221 ("libsasl" ,cyrus-sasl)
8222 ("pulseaudio" ,pulseaudio)
8227 (synopsis "VNC client viewer widget for GTK+")
8228 (description "GTK-VNC is a project providing client side APIs for the RFB
8229 protocol / VNC remote desktop technology. It is built using coroutines allowing
8230 it to be completely asynchronous while remaining single threaded. It provides a
8231 core C library, and bindings for Python (PyGTK).")
8232 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8233 (license license:lgpl2.1+)))
8235 (define-public gnome-autoar
8237 (name "gnome-autoar")
8241 (uri (string-append "mirror://gnome/sources/" name "/"
8242 (version-major+minor version) "/"
8243 name "-" version ".tar.xz"))
8246 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
8247 (build-system glib-or-gtk-build-system)
8249 `(("gobject-introspection" ,gobject-introspection)
8250 ("pkg-config" ,pkg-config)))
8252 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8255 (synopsis "Archives integration support for GNOME")
8256 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8258 "GNOME Autoar is a library which makes creating and extracting archives
8259 easy, safe, and automatic.")
8260 (license license:lgpl2.1+)))
8262 (define-public tracker
8268 (uri (string-append "mirror://gnome/sources/tracker/"
8269 (version-major+minor version) "/"
8270 "tracker-" version ".tar.xz"))
8273 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
8274 (build-system meson-build-system)
8278 ;; Otherwise, the RUNPATH will lack the final path component.
8279 (list (string-append "-Dc_link_args=-Wl,-rpath="
8280 (assoc-ref %outputs "out") "/lib:"
8281 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8283 (modify-phases %standard-phases
8284 (add-before 'check 'pre-check
8286 ;; Some tests expect to write to $HOME.
8287 (setenv "HOME" "/tmp")
8290 `(("glib:bin" ,glib "bin")
8291 ("gobject-introspection" ,gobject-introspection)
8292 ("python-pygobject" ,python-pygobject)
8293 ("intltool" ,intltool)
8294 ("pkg-config" ,pkg-config)
8299 ("libxml2" ,libxml2)
8300 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8301 ("json-glib" ,json-glib)
8302 ("libsoup" ,libsoup)))
8303 (synopsis "Metadata database, indexer and search tool")
8304 (home-page "https://wiki.gnome.org/Projects/Tracker")
8306 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8308 It is a middleware component aimed at desktop application developers who want
8309 their apps to browse and search user content. It's not designed to be used
8310 directly by desktop users, but it provides a commandline tool named
8311 @command{tracker} for the adventurous.
8313 Tracker allows your application to instantly perform full-text searches across
8314 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8315 example. This is achieved by indexing the user's home directory in the
8318 Tracker also allows your application to query and list content that the user
8319 has stored. For example, GNOME Music displays all the music files that are
8320 found by Tracker. This means that GNOME Music doesn't need to maintain a
8321 database of its own.
8323 If you need to go beyond simple searches, Tracker is also a linked data
8324 endpoint and it understands SPARQL. ")
8325 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8326 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8327 ;; libstemmer is bsd-3 and the rest is gpl2+.
8328 (license (list license:gpl2+
8330 license:lgpl2.1+))))
8332 (define-public tracker-miners
8334 (name "tracker-miners")
8338 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8339 (version-major+minor version)
8340 "/tracker-miners-" version ".tar.xz"))
8343 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
8344 (build-system meson-build-system)
8348 (list "-Dminer_rss=false" ; libgrss is required.
8349 ;; Ensure the RUNPATH contains all installed library locations.
8350 (string-append "-Dc_link_args=-Wl,-rpath="
8351 (assoc-ref %outputs "out")
8352 "/lib/tracker-miners-2.0")
8353 ;; TODO: Enable functional tests. Currently, the following error
8355 ;; Exception: The functional tests require DConf to be the default
8356 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8357 "-Dfunctional_tests=false")))
8360 ("intltool" ,intltool)
8361 ("glib:bin" ,glib "bin")
8362 ("gobject-introspection" ,gobject-introspection)
8363 ("pkg-config" ,pkg-config)
8364 ("python-pygobject" ,python-pygobject)))
8366 `(("exempi" ,exempi)
8371 ("gstreamer" ,gstreamer)
8374 ("libexif" ,libexif)
8376 ("libgxps" ,libgxps)
8377 ("libiptcdata" ,libiptcdata)
8378 ("libjpeg" ,libjpeg-turbo)
8379 ("libosinfo" ,libosinfo)
8381 ("libseccomp" ,libseccomp)
8382 ("libtiff" ,libtiff)
8383 ("libvorbis" ,libvorbis)
8384 ("libxml2" ,libxml2)
8385 ("poppler" ,poppler)
8387 ("totem-pl-parser" ,totem-pl-parser)
8388 ("tracker" ,tracker)
8391 (synopsis "Metadata database, indexer and search tool")
8392 (home-page "https://wiki.gnome.org/Projects/Tracker")
8394 "Tracker is an advanced framework for first class objects with associated
8395 metadata and tags. It provides a one stop solution for all metadata, tags,
8396 shared object databases, search tools and indexing.")
8397 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8398 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8399 (license (list license:gpl2+
8401 license:lgpl2.0+))))
8403 (define-public nautilus
8409 (uri (string-append "mirror://gnome/sources/" name "/"
8410 (version-major+minor version) "/"
8411 name "-" version ".tar.xz"))
8414 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8415 (build-system meson-build-system)
8419 (modify-phases %standard-phases
8420 (add-after 'unpack 'skip-gtk-update-icon-cache
8421 ;; Don't create 'icon-theme.cache'.
8423 (substitute* "build-aux/meson/postinstall.py"
8424 (("gtk-update-icon-cache") "true"))
8426 ;; XXX: FAIL: check-nautilus
8427 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8430 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8431 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8432 ("gobject-introspection" ,gobject-introspection)
8433 ("intltool" ,intltool)
8434 ("pkg-config" ,pkg-config)))
8440 ("gnome-desktop" ,gnome-desktop)
8441 ("gnome-autoar" ,gnome-autoar)
8442 ("gst-plugins-base" ,gst-plugins-base)
8443 ("libseccomp" ,libseccomp)
8444 ("libselinux" ,libselinux)
8445 ("tracker" ,tracker)
8446 ("tracker-miners" ,tracker-miners)
8447 ;; XXX: gtk+ is required by libnautilus-extension.pc
8449 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8451 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8453 ("libexif" ,libexif)
8454 ("libxml2" ,libxml2)))
8455 (synopsis "File manager for GNOME")
8456 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8458 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8459 design and behaviour, giving the user a simple way to navigate and manage its
8461 (license license:gpl2+)))
8463 (define-public baobab
8470 "mirror://gnome/sources/" name "/"
8471 (version-major+minor version) "/"
8472 name "-" version ".tar.xz"))
8475 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
8476 (build-system meson-build-system)
8478 '(#:glib-or-gtk? #t))
8480 `(("intltool" ,intltool)
8481 ("pkg-config" ,pkg-config)
8482 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8483 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8484 ("itstool" ,itstool)
8485 ("xmllint" ,libxml2)
8486 ("glib" ,glib "bin")
8490 (synopsis "Disk usage analyzer for GNOME")
8492 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8493 usage in the GNOME desktop environment. It can easily scan device volumes or
8494 a specific user-requested directory branch (local or remote). Once the scan
8495 is complete it provides a graphical representation of each selected folder.")
8496 (home-page "https://wiki.gnome.org/Apps/Baobab")
8497 (license license:gpl2+)))
8499 (define-public gnome-backgrounds
8501 (name "gnome-backgrounds")
8506 (uri (string-append "mirror://gnome/sources/" name "/"
8507 (version-major+minor version) "/"
8508 name "-" version ".tar.xz"))
8511 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8512 (build-system meson-build-system)
8514 `(("intltool" ,intltool)))
8515 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8516 (synopsis "Background images for the GNOME desktop")
8518 "GNOME backgrounds package contains a collection of graphics files which
8519 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8520 the package creates the proper framework and directory structure so that you
8521 can add your own files to the collection.")
8522 (license (list license:gpl2+
8525 license:cc-by-sa3.0))))
8527 (define-public gnome-screenshot
8529 (name "gnome-screenshot")
8534 (uri (string-append "mirror://gnome/sources/" name "/"
8535 (version-major+minor version) "/"
8536 name "-" version ".tar.xz"))
8539 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8540 (build-system meson-build-system)
8543 (modify-phases %standard-phases
8544 (add-after 'unpack 'skip-gtk-update-icon-cache
8545 ;; Don't create 'icon-theme.cache'.
8547 (substitute* "build-aux/postinstall.py"
8548 (("gtk-update-icon-cache") "true"))
8551 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8552 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8553 ("intltool" ,intltool)
8554 ("appstream-glib" ,appstream-glib)
8555 ("pkg-config" ,pkg-config)))
8558 ("libcanberra" ,libcanberra)
8560 ("libxext" ,libxext)))
8561 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8562 (synopsis "Take pictures of your screen")
8564 "GNOME Screenshot is a utility used for taking screenshots of the entire
8565 screen, a window or a user defined area of the screen, with optional
8566 beautifying border effects.")
8567 (license license:gpl2+)))
8569 (define-public dconf-editor
8571 (name "dconf-editor")
8576 (uri (string-append "mirror://gnome/sources/" name "/"
8577 (version-major+minor version) "/"
8578 name "-" version ".tar.xz"))
8581 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8582 (build-system meson-build-system)
8584 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8585 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8586 ("intltool" ,intltool)
8587 ("pkg-config" ,pkg-config)
8592 ("libxml2" ,libxml2)))
8593 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8594 (synopsis "Graphical editor for GNOME's dconf configuration system")
8596 "Dconf-editor is a graphical tool for browsing and editing the dconf
8597 configuration system for GNOME. It allows users to configure desktop
8598 software that do not provide their own configuration interface.")
8599 (license license:lgpl2.1+)))
8601 (define-public gnome-default-applications
8603 (name "gnome-default-applications")
8605 (build-system trivial-build-system)
8608 `(("nautilus" ,nautilus)
8609 ("evince" ,evince)))
8611 `(#:modules ((guix build utils))
8614 (use-modules (guix build utils))
8615 (let* ((out (assoc-ref %outputs "out"))
8616 (apps (string-append out "/share/applications")))
8618 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
8620 (format port "[Default Applications]\n")
8621 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
8622 (format port "application/pdf=evince.desktop\n")
8623 (format port "application/postscript=evince.desktop\n")))
8625 (synopsis "Default MIME type associations for the GNOME desktop")
8627 "Given many installed packages which might handle a given MIME type, a
8628 user running the GNOME desktop probably has some preferences: for example,
8629 that folders be opened by default by the Nautilus file manager, not the Baobab
8630 disk usage analyzer. This package establishes that set of default MIME type
8631 associations for GNOME.")
8632 (license license:gpl3+)
8635 (define-public libgovirt
8641 (uri (string-append "mirror://gnome/sources/" name "/"
8642 (version-major+minor version) "/"
8643 name "-" version ".tar.xz"))
8646 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
8647 (build-system glib-or-gtk-build-system)
8649 `(("gettext" ,gettext-minimal)
8650 ("glib:bin" ,glib "bin")
8651 ("gobject-introspection" ,gobject-introspection)
8652 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8653 ("gtk+:bin" ,gtk+ "bin")
8654 ("pkg-config" ,pkg-config)))
8656 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
8658 (synopsis "GoVirt Library")
8659 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
8660 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
8661 (license license:gpl2+)))
8663 (define-public gnome-weather
8665 (name "gnome-weather")
8669 (uri (string-append "mirror://gnome/sources/" name "/"
8670 (version-major+minor version) "/"
8671 name "-" version ".tar.xz"))
8674 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
8675 (build-system meson-build-system)
8677 `(("gettext" ,gettext-minimal)
8678 ("glib:bin" ,glib "bin")
8679 ("gobject-introspection" ,gobject-introspection)
8680 ("gtk+:bin" ,gtk+ "bin")
8681 ("pkg-config" ,pkg-config)))
8683 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
8684 ("appstream-glib" ,appstream-glib)
8685 ("geoclue" ,geoclue)
8686 ("gdk-pixbuf" ,gdk-pixbuf)
8688 ("gnome-desktop" ,gnome-desktop)
8689 ("libgweather" ,libgweather)))
8693 (modify-phases %standard-phases
8694 (add-after 'install 'fix-desktop-file
8695 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
8696 ;; See https://issues.guix.gnu.org/issue/39324.
8697 (lambda* (#:key outputs #:allow-other-keys)
8698 (let* ((out (assoc-ref outputs "out"))
8699 (applications (string-append out "/share/applications")))
8700 (substitute* (string-append applications "/org.gnome.Weather.desktop")
8701 (("Exec=.*") "Exec=gnome-weather\n"))
8703 (add-after 'install 'wrap
8704 (lambda* (#:key inputs outputs #:allow-other-keys)
8705 (let ((out (assoc-ref outputs "out"))
8706 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8707 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
8708 (wrap-program (string-append out "/bin/gnome-weather")
8709 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
8711 (synopsis "Weather monitoring for GNOME desktop")
8712 (description "GNOME Weather is a small application that allows you to
8713 monitor the current weather conditions for your city, or anywhere in the
8715 (home-page "https://wiki.gnome.org/Apps/Weather")
8716 (license license:gpl2+)))
8718 (define-public gnome
8721 (version (package-version gnome-shell))
8723 (build-system trivial-build-system)
8724 (arguments '(#:builder (begin (mkdir %output) #t)))
8726 ;; TODO: Add or remove packages according to:
8727 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
8729 ;; GNOME-Core-OS-Services
8730 ("accountsservice" ,accountsservice)
8731 ("network-manager" ,network-manager)
8732 ("packagekit" ,packagekit)
8735 ("adwaita-icon-theme" ,adwaita-icon-theme)
8737 ("glib-networking" ,glib-networking)
8738 ("gnome-backgrounds" ,gnome-backgrounds)
8739 ("gnome-bluetooth" ,gnome-bluetooth)
8740 ("gnome-color-manager" ,gnome-color-manager)
8741 ("gnome-control-center" ,gnome-control-center)
8742 ("gnome-desktop" ,gnome-desktop)
8743 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
8744 ("gnome-initial-setup" ,gnome-initial-setup)
8745 ("gnome-keyring" ,gnome-keyring)
8746 ("gnome-menus" ,gnome-menus)
8747 ("gnome-session" ,gnome-session)
8748 ("gnome-settings-daemon" ,gnome-settings-daemon)
8749 ("gnome-shell-extensions" ,gnome-shell-extensions)
8750 ("gnome-shell" ,gnome-shell)
8751 ("gnome-themes-extra" ,gnome-themes-extra)
8752 ("gnome-user-docs" ,gnome-user-docs)
8753 ("gnome-user-share" ,gnome-user-share)
8754 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8760 ;; GNOME-Core-Utilities
8763 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
8764 ;; only works on x86_64, so exclude it on other architectures.
8765 ,@(if (string-prefix? "x86_64" (%current-system))
8768 ("epiphany" ,epiphany)
8770 ("file-roller" ,file-roller)
8772 ("gnome-boxes" ,gnome-boxes)
8773 ("gnome-calculator" ,gnome-calculator)
8774 ("gnome-calendar" ,gnome-calendar)
8775 ("gnome-characters" ,gnome-characters)
8776 ("gnome-clocks" ,gnome-clocks)
8777 ("gnome-contacts" ,gnome-contacts)
8778 ("gnome-disk-utility" ,gnome-disk-utility)
8779 ("gnome-font-viewer" ,gnome-font-viewer)
8780 ("gnome-maps" ,gnome-maps)
8781 ; TODO: ("gnome-music" ,gnome-music)
8782 ; TODO: ("gnome-photos" ,gnome-photos)
8783 ("gnome-screenshot" ,gnome-screenshot)
8784 ("gnome-system-monitor" ,gnome-system-monitor)
8785 ("gnome-terminal" ,gnome-terminal)
8786 ("gnome-weather" ,gnome-weather)
8787 ("nautilus" ,nautilus)
8788 ("simple-scan" ,simple-scan)
8792 ("hicolor-icon-theme" ,hicolor-icon-theme)
8793 ("gnome-online-accounts" ,gnome-online-accounts)
8795 ;; Packages not part of GNOME proper but that are needed for a good
8796 ;; experience. See <https://bugs.gnu.org/39646>.
8797 ;; XXX: Find out exactly which ones are needed and why.
8798 ("font-cantarell" ,font-cantarell)
8799 ("font-dejavu" ,font-dejavu)
8800 ("at-spi2-core" ,at-spi2-core)
8803 ("desktop-file-utils" ,desktop-file-utils)
8804 ("gnome-default-applications" ,gnome-default-applications)
8805 ("gnome-themes-standard" ,gnome-themes-standard)
8806 ("gst-plugins-base" ,gst-plugins-base)
8807 ("gst-plugins-good" ,gst-plugins-good)
8808 ("gucharmap" ,gucharmap)
8809 ("pinentry-gnome3" ,pinentry-gnome3)
8810 ("pulseaudio" ,pulseaudio)
8811 ("shared-mime-info" ,shared-mime-info)
8812 ("system-config-printer" ,system-config-printer)
8813 ("xdg-user-dirs" ,xdg-user-dirs)
8815 ("zenity" ,zenity)))
8816 (synopsis "The GNU desktop environment")
8817 (home-page "https://www.gnome.org/")
8819 "GNOME is the graphical desktop for GNU. It includes a wide variety of
8820 applications for browsing the web, editing text and images, creating
8821 documents and diagrams, playing media, scanning, and much more.")
8822 (license license:gpl2+)))
8824 (define-public byzanz
8825 ;; The last stable release of Byzanz was in 2011, but there have been many
8826 ;; useful commits made to the Byzanz repository since then that it would be
8827 ;; silly to use such an old release.
8828 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
8831 (version (string-append "0.2-1." (string-take commit 7)))
8835 (url "https://git.gnome.org/browse/byzanz")
8837 (file-name (string-append name "-" version "-checkout"))
8840 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
8841 (build-system glib-or-gtk-build-system)
8844 (modify-phases %standard-phases
8845 (add-before 'bootstrap 'build-without-Werror
8847 ;; The build system cleverly detects that we're not building from
8848 ;; a release tarball and turns on -Werror for GCC.
8849 ;; Unsurprisingly, there is a warning during compilation that
8850 ;; causes the build to fail unnecessarily, so we remove the flag.
8851 (substitute* '("configure.ac")
8855 `(("autoconf" ,autoconf)
8856 ("automake" ,automake)
8857 ("gnome-common" ,gnome-common)
8858 ("intltool" ,intltool)
8859 ("libtool" ,libtool)
8860 ("pkg-config" ,pkg-config)
8864 ("gstreamer" ,gstreamer)
8865 ("gst-plugins-base" ,gst-plugins-base)
8867 (synopsis "Desktop recording program")
8868 (description "Byzanz is a simple desktop recording program with a
8869 command-line interface. It can record part or all of an X display for a
8870 specified duration and save it as a GIF encoded animated image file.")
8871 (home-page "https://git.gnome.org/browse/byzanz")
8872 (license license:gpl2+))))
8874 (define-public gsound
8880 (uri (string-append "mirror://gnome/sources/" name "/"
8881 (version-major+minor version) "/"
8882 name "-" version ".tar.xz"))
8885 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8886 (build-system glib-or-gtk-build-system)
8888 `(("pkg-config" ,pkg-config)
8889 ("gobject-introspection" ,gobject-introspection)
8893 ("libcanberra" ,libcanberra)))
8894 (home-page "https://wiki.gnome.org/Projects/GSound")
8895 (synopsis "GObject wrapper for libcanberra")
8897 "GSound is a small library for playing system sounds. It's designed to be
8898 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8900 (license license:lgpl2.1+)))
8902 (define-public libzapojit
8908 (uri (string-append "mirror://gnome/sources/" name "/"
8909 (version-major+minor version) "/"
8910 name "-" version ".tar.xz"))
8913 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8914 (build-system gnu-build-system)
8916 `(("gobject-introspection" ,gobject-introspection)
8917 ("intltool" ,intltool)
8918 ("pkg-config" ,pkg-config)))
8920 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8921 ("json-glib" ,json-glib)
8923 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8924 (synopsis "Library for accessing SkyDrive and Hotmail")
8926 "Libzapojit is a GLib-based library for accessing online service APIs of
8927 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8928 (license license:lgpl2.1+)))
8930 (define-public gnome-clocks
8932 (name "gnome-clocks")
8936 (uri (string-append "mirror://gnome/sources/" name "/"
8937 (version-major+minor version) "/"
8938 name "-" version ".tar.xz"))
8941 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8942 (build-system meson-build-system)
8946 (modify-phases %standard-phases
8947 (add-after 'unpack 'skip-gtk-update-icon-cache
8948 ;; Don't create 'icon-theme.cache'.
8950 (substitute* "build-aux/post-install.py"
8951 (("gtk-update-icon-cache") "true"))
8955 ("pkg-config" ,pkg-config)
8956 ("glib" ,glib "bin") ; for glib-compile-resources
8957 ("desktop-file-utils" ,desktop-file-utils)
8958 ("gettext" ,gettext-minimal)
8959 ("itstool" ,itstool)))
8964 ("geoclue" ,geoclue)
8965 ("geocode-glib" ,geocode-glib)
8966 ("libgweather" ,libgweather)
8967 ("gnome-desktop" ,gnome-desktop)))
8968 (home-page "https://wiki.gnome.org/Apps/Clocks")
8969 (synopsis "GNOME's clock application")
8971 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8972 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8973 (license license:gpl3+)))
8975 (define-public gnome-calendar
8977 (name "gnome-calendar")
8981 (uri (string-append "mirror://gnome/sources/" name "/"
8982 (version-major+minor version) "/"
8983 name "-" version ".tar.xz"))
8986 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8987 (build-system meson-build-system)
8990 ;; gnome-calendar has to be installed before the tests can be run
8991 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8994 (modify-phases %standard-phases
8995 (add-after 'unpack 'skip-gtk-update-icon-cache
8996 ;; Don't create 'icon-theme.cache'.
8998 (substitute* "build-aux/meson/meson_post_install.py"
8999 (("gtk-update-icon-cache") "true"))
9002 `(("gettext" ,gettext-minimal)
9003 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9004 ("pkg-config" ,pkg-config)))
9006 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9007 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9008 ("libdazzle" ,libdazzle)
9009 ("libedataserverui" ,evolution-data-server)
9010 ("libgweather" ,libgweather)
9011 ("geoclue" ,geoclue)))
9013 `(("evolution-data-server" ,evolution-data-server)))
9014 (home-page "https://wiki.gnome.org/Apps/Calendar")
9015 (synopsis "GNOME's calendar application")
9017 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9018 desktop. It supports multiple calendars, month, week and year view.")
9019 (license license:gpl3+)))
9021 (define-public gnome-todo
9027 (uri (string-append "mirror://gnome/sources/" name "/"
9028 (version-major+minor version) "/"
9029 name "-" version ".tar.xz"))
9032 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9034 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9035 (build-system meson-build-system)
9038 #:phases (modify-phases %standard-phases
9040 'install 'wrap-gnome-todo
9041 (lambda* (#:key inputs outputs #:allow-other-keys)
9042 (let ((out (assoc-ref outputs "out"))
9043 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9044 (python-path (getenv "PYTHONPATH")))
9045 (wrap-program (string-append out "/bin/gnome-todo")
9046 ;; XXX: gi plugins are broken.
9047 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9049 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9050 `("PYTHONPATH" ":" prefix (,python-path))))
9053 `(("gettext" ,gettext-minimal)
9054 ("gobject-introspection" ,gobject-introspection)
9055 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9056 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9057 ("pkg-config" ,pkg-config)))
9059 `(("rest" ,rest) ; For Todoist plugin
9060 ("json-glib" ,json-glib) ; For Todoist plugin
9061 ("libedataserverui" ,evolution-data-server)
9062 ("libical" ,libical)
9063 ("libpeas" ,libpeas)
9064 ("python-pygobject" ,python-pygobject)
9065 ("evolution-data-server" ,evolution-data-server)
9066 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9067 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9068 (home-page "https://wiki.gnome.org/Apps/Todo")
9069 (synopsis "GNOME's ToDo Application")
9071 "GNOME To Do is a simplistic personal task manager designed to perfectly
9072 fit the GNOME desktop.")
9073 (license license:gpl3+)))
9075 (define-public gnome-dictionary
9077 (name "gnome-dictionary")
9081 (uri (string-append "mirror://gnome/sources/" name "/"
9082 (version-major+minor version) "/"
9083 name "-" version ".tar.xz"))
9086 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9087 (build-system meson-build-system)
9088 (arguments '(#:glib-or-gtk? #t
9089 #:phases (modify-phases %standard-phases
9090 (add-after 'unpack 'patch-install-script
9092 ;; This script attempts to compile glib schemas
9093 ;; and create an empty MIME database. We do
9094 ;; that elsewhere, so prevent it from running.
9095 (substitute* "build-aux/post-install.sh"
9096 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9099 `(("glib:bin" ,glib "bin")
9100 ("gobject-introspection" ,gobject-introspection)
9101 ("intltool" ,intltool)
9102 ("itstool" ,itstool)
9103 ("pkg-config" ,pkg-config)
9104 ("xmllint" ,libxml2)))
9106 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9108 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9109 (synopsis "Look up words in dictionary sources")
9111 "GNOME Dictionary can look for the definition or translation of a word in
9112 existing databases over the internet.")
9113 (license license:gpl3+)))
9115 (define-public gnome-tweaks
9117 (name "gnome-tweaks")
9121 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9122 (version-major+minor version) "/"
9123 "gnome-tweaks-" version ".tar.xz"))
9125 (list (search-patch "gnome-tweaks-search-paths.patch")))
9128 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
9129 (build-system meson-build-system)
9132 #:configure-flags '("-Dlocalstatedir=/tmp"
9133 "-Dsysconfdir=/tmp")
9134 #:imported-modules ((guix build python-build-system)
9135 ,@%meson-build-system-modules)
9137 (modify-phases %standard-phases
9138 (add-after 'unpack 'skip-gtk-update-icon-cache
9139 ;; Don't create 'icon-theme.cache'.
9141 (substitute* "meson-postinstall.py"
9142 (("gtk-update-icon-cache") "true"))
9144 (add-after 'install 'wrap
9145 (@@ (guix build python-build-system) wrap))
9146 (add-after 'wrap 'wrap-gi-typelib
9147 (lambda* (#:key inputs outputs #:allow-other-keys)
9148 (let ((out (assoc-ref outputs "out"))
9149 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9150 (wrap-program (string-append out "/bin/gnome-tweaks")
9151 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9154 `(("intltool" ,intltool)
9155 ("pkg-config" ,pkg-config)))
9157 `(("gnome-desktop" ,gnome-desktop)
9159 ("gobject-introspection" ,gobject-introspection)
9160 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9161 ("libhandy" ,libhandy)
9162 ("libnotify" ,libnotify)
9163 ("libsoup" ,libsoup)
9164 ("nautilus" ,nautilus)
9166 ("python-pygobject" ,python-pygobject)))
9167 (synopsis "Customize advanced GNOME 3 options")
9168 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9170 "GNOME Tweaks allows adjusting advanced configuration settings in
9171 GNOME 3. This includes things like the fonts used in user interface elements,
9172 alternative user interface themes, changes in window management behavior,
9173 GNOME Shell appearance and extension, etc.")
9174 (license license:gpl3+)))
9176 (define-public gnome-shell-extensions
9178 (name "gnome-shell-extensions")
9182 (uri (string-append "mirror://gnome/sources/" name "/"
9183 (version-major+minor version) "/"
9184 name "-" version ".tar.xz"))
9187 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9188 (build-system meson-build-system)
9190 '(#:configure-flags '("-Dextension_set=all")))
9192 `(("glib:bin" ,glib "bin")
9193 ("intltool" ,intltool)
9194 ("pkg-config" ,pkg-config)))
9197 (synopsis "Extensions for GNOME Shell")
9198 (description "GNOME Shell extensions modify and extend GNOME Shell
9199 functionality and behavior.")
9200 (home-page "https://extensions.gnome.org/")
9201 (license license:gpl3+)))
9203 (define-public arc-theme
9206 (version "20190917")
9210 (url "https://github.com/NicoHood/arc-theme")
9212 (file-name (git-file-name name version))
9215 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
9216 (build-system gnu-build-system)
9219 (modify-phases %standard-phases
9220 ;; autogen.sh calls configure at the end of the script.
9222 (lambda _ (invoke "autoreconf" "-vfi")))
9223 (add-before 'build 'set-home ;placate Inkscape
9225 (setenv "HOME" (getcwd))
9228 `(("autoconf" ,autoconf)
9229 ("automake" ,automake)
9230 ("glib" ,glib "bin") ; for glib-compile-resources
9231 ("gnome-shell" ,gnome-shell)
9233 ("inkscape" ,inkscape)
9234 ("optipng" ,optipng)
9235 ("pkg-config" ,pkg-config)
9236 ("sassc" ,sassc/libsass-3.5)))
9237 (synopsis "A flat GTK+ theme with transparent elements")
9238 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
9239 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
9240 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
9241 (home-page "https://github.com/horst3180/arc-theme")
9242 ;; No "or later" language found.
9243 (license license:gpl3+)))
9245 (define-public faba-icon-theme
9247 (name "faba-icon-theme")
9253 (url "https://github.com/snwh/faba-icon-theme")
9254 (commit (string-append "v" version))))
9255 (file-name (git-file-name name version))
9257 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
9258 (build-system meson-build-system)
9261 (modify-phases %standard-phases
9262 (add-before 'configure 'disable-post-install
9264 (substitute* "meson.build"
9265 (("meson.add_install_script.*") "")))))))
9267 `(("autoconf" ,autoconf)
9268 ("automake" ,automake)))
9269 (synopsis "Faba icon theme")
9271 "Faba is a minimal icon set used as a basis for other themes such as
9273 (home-page "https://snwh.org/moka")
9274 (license (list license:lgpl3+
9275 license:cc-by-sa4.0))))
9277 (define-public moka-icon-theme
9279 (inherit faba-icon-theme)
9280 (name "moka-icon-theme")
9286 (url "https://github.com/snwh/moka-icon-theme")
9287 (commit (string-append "v" version))))
9288 (file-name (git-file-name name version))
9290 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
9292 ;; Moka is based on Faba by using it as a fallback icon set instead of
9293 ;; bundling it, so we need to add it as a propagated input.
9294 `(("faba-icon-theme" ,faba-icon-theme)))
9295 (synopsis "Moka icon theme")
9296 (description "Moka is a stylized desktop icon set, designed to be clear,
9297 simple and consistent.")
9298 (license (list license:gpl3+
9299 license:cc-by-sa4.0))))
9301 (define-public arc-icon-theme
9303 (name "arc-icon-theme")
9304 (version "20161122")
9309 (url "https://github.com/horst3180/arc-icon-theme")
9311 (file-name (git-file-name name version))
9313 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
9314 (build-system gnu-build-system)
9317 (modify-phases %standard-phases
9318 (add-after 'unpack 'disable-configure-during-bootstrap
9320 (substitute* "autogen.sh"
9321 (("^\"\\$srcdir/configure\".*") ""))
9324 `(("autoconf" ,autoconf)
9325 ("automake" ,automake)))
9326 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
9328 `(("moka-icon-theme" ,moka-icon-theme)))
9329 (synopsis "Arc icon theme")
9330 (description "The Arc icon theme provides a set of icons matching the
9331 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
9332 the Moka icon theme.")
9333 (home-page "https://github.com/horst3180/arc-icon-theme")
9334 (license license:gpl3+)))
9336 (define-public folks
9343 "mirror://gnome/sources/folks/"
9344 (version-major+minor version) "/"
9345 "folks-" version ".tar.xz"))
9348 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9349 (build-system meson-build-system)
9352 (modify-phases %standard-phases
9353 (add-after 'unpack 'skip-gtk-update-icon-cache
9354 ;; Don't create 'icon-theme.cache'.
9356 (substitute* "meson_post_install.py"
9357 (("gtk-update-icon-cache") "true"))
9361 ("dbus-glib" ,dbus-glib)
9362 ("evolution-data-server" ,evolution-data-server)
9365 ("readline" ,readline)
9366 ("telepathy-glib" ,telepathy-glib)))
9368 `(("glib:bin" ,glib "bin")
9369 ("gobject-introspection" ,gobject-introspection)
9370 ("intltool" ,intltool)
9371 ("pkg-config" ,pkg-config)
9373 (synopsis "Library to aggregate data about people")
9374 (description "Libfolks is a library that aggregates information about people
9375 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9376 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9377 etc.) to create metacontacts. It's written in Vala, which generates C code when
9379 (home-page "https://wiki.gnome.org/Projects/Folks")
9380 (license license:lgpl2.1+)))
9382 (define-public gfbgraph
9389 "mirror://gnome/sources/gfbgraph/"
9390 (version-major+minor version) "/"
9391 "gfbgraph-" version ".tar.xz"))
9394 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9395 (build-system glib-or-gtk-build-system)
9397 `(#:tests? #f ; tests appear to require the network
9398 #:configure-flags '("--disable-static"
9400 "--enable-introspection")))
9402 `(("gobject-introspection" ,gobject-introspection)
9403 ("gtk-doc" ,gtk-doc)
9404 ("pkg-config" ,pkg-config)
9406 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9407 ("autoconf" ,autoconf)
9408 ("automake" ,automake)
9409 ("libtool" ,libtool)
9412 `(("json-glib" ,json-glib)
9413 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9415 (synopsis "GLib/GObject wrapper for the Facebook API")
9416 (description "This library allows you to use the Facebook API from
9417 GLib/GObject code.")
9418 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9419 (license license:lgpl2.1+)))
9421 (define-public libgnomekbd
9423 (name "libgnomekbd")
9427 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9428 (version-major+minor version) "/"
9429 "libgnomekbd-" version ".tar.xz"))
9432 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9433 (build-system gnu-build-system)
9435 `(("pkg-config" ,pkg-config)
9436 ("glib" ,glib "bin")
9437 ("intltool" ,intltool)))
9439 ;; Referred to in .h files and .pc.
9442 ("libxklavier" ,libxklavier)))
9443 (home-page "https://www.gnome.org")
9444 (synopsis "GNOME keyboard configuration library")
9446 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9447 environment, which can notably display keyboard layouts.")
9448 (license license:lgpl2.0+)))
9450 ;;; This package is no longer maintained:
9451 ;;; https://wiki.gnome.org/Attic/LibUnique
9452 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9453 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9454 (define-public libunique
9460 (uri (string-append "mirror://gnome/sources/" name "/"
9461 (version-major+minor version) "/"
9462 name "-" version ".tar.xz"))
9465 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9466 (build-system glib-or-gtk-build-system)
9468 `(#:configure-flags '("--disable-static"
9469 "--disable-dbus" ; use gdbus
9470 "--enable-introspection")))
9472 `(("pkg-config" ,pkg-config)
9473 ("gobject-introspection" ,gobject-introspection)
9474 ("glib:bin" ,glib "bin")
9475 ("gtk-doc" ,gtk-doc)))
9477 ;; Referred to in .h files and .pc.
9479 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9480 (synopsis "Library for writing single instance applications")
9482 "Libunique is a library for writing single instance applications. If you
9483 launch a single instance application twice, the second instance will either just
9484 quit or will send a message to the running instance. Libunique makes it easy to
9485 write this kind of application, by providing a base class, taking care of all
9486 the IPC machinery needed to send messages to a running instance, and also
9487 handling the startup notification side.")
9488 (license license:lgpl2.1+)))
9490 (define-public gnome-calculator
9492 (name "gnome-calculator")
9497 (uri (string-append "mirror://gnome/sources/" name "/"
9498 (version-major+minor version) "/"
9499 name "-" version ".tar.xz"))
9502 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9503 (build-system meson-build-system)
9504 (arguments '(#:glib-or-gtk? #t))
9506 `(("gettext" ,gettext-minimal)
9507 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9508 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9509 ("itstool" ,itstool)
9511 ("pkg-config" ,pkg-config)))
9514 ("gtksourceview" ,gtksourceview)
9516 ("libsoup" ,libsoup)
9517 ("libxml2" ,libxml2)
9520 (home-page "https://wiki.gnome.org/Apps/Calculator")
9521 (synopsis "Desktop calculator")
9523 "Calculator is an application that solves mathematical equations and
9524 is suitable as a default application in a Desktop environment.")
9525 (license license:gpl3)))
9534 (uri (string-append "https://launchpad.net/xpad/trunk/"
9535 version "/+download/"
9536 name "-" version ".tar.bz2"))
9539 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9540 (build-system gnu-build-system)
9542 `(("autoconf" ,autoconf)
9543 ("automake" ,automake)
9544 ("gtk+:bin" ,gtk+ "bin")
9545 ("intltool" ,intltool)
9546 ("pkg-config" ,pkg-config)))
9548 `(("gtksourceview" ,gtksourceview-3)
9550 (home-page "https://wiki.gnome.org/Apps/Xpad")
9551 (synopsis "Virtual sticky note")
9553 "Xpad is a sticky note that strives to be simple, fault tolerant,
9554 and customizable. Xpad consists of independent pad windows, each is
9555 basically a text box in which notes can be written.")
9556 (license license:gpl3+)))
9558 (define-public gucharmap
9559 (let ((unicode-files
9561 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9563 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9565 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9567 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9569 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9571 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9578 (uri (string-append "mirror://gnome/sources/" name "/"
9579 (version-major+minor version) "/"
9580 name "-" version ".tar.xz"))
9583 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9584 (build-system glib-or-gtk-build-system)
9586 `(#:modules ((ice-9 match)
9587 (guix build glib-or-gtk-build-system)
9590 (list "--with-unicode-data=../unicode-data")
9592 (modify-phases %standard-phases
9593 (add-after 'unpack 'prepare-unicode-data
9594 (lambda* (#:key inputs #:allow-other-keys)
9595 (mkdir-p "../unicode-data")
9596 (with-directory-excursion "../unicode-data"
9597 (for-each (match-lambda
9599 (install-file (assoc-ref inputs file) ".")))
9603 `(("desktop-file-utils" ,desktop-file-utils)
9604 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9605 ("gobject-introspection" ,gobject-introspection)
9606 ("intltool" ,intltool)
9607 ("itstool" ,itstool)
9608 ("pkg-config" ,pkg-config)
9609 ,@(map (match-lambda
9615 "http://www.unicode.org/Public/12.0.0/ucd/"
9617 (sha256 (base32 hash))))))
9622 ("xmllint" ,libxml2)))
9623 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9624 (synopsis "Unicode character picker and font browser")
9626 "This program allows you to browse through all the available Unicode
9627 characters and categories for the installed fonts, and to examine their
9628 detailed properties. It is an easy way to find the character you might
9629 only know by its Unicode name or code point.")
9630 (license license:gpl3+))))
9632 (define-public bluefish
9639 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
9640 "bluefish-" version ".tar.gz"))
9642 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
9643 (build-system gnu-build-system)
9645 `(("desktop-file-utils" ,desktop-file-utils)
9646 ("intltool" ,intltool)
9647 ("pkg-config" ,pkg-config)))
9649 `(("enchant" ,enchant)
9651 ("python" ,python-wrapper)
9652 ("xmllint" ,libxml2)
9653 ("gucharmap" ,gucharmap)))
9654 (home-page "http://bluefish.openoffice.nl")
9655 (synopsis "Web development studio")
9657 "Bluefish is an editor targeted towards programmers and web developers,
9658 with many options to write web sites, scripts and other code.
9659 Bluefish supports many programming and markup languages.")
9660 (license license:gpl3+)))
9662 (define-public gnome-system-monitor
9664 (name "gnome-system-monitor")
9669 (uri (string-append "mirror://gnome/sources/" name "/"
9670 (version-major+minor version) "/"
9671 name "-" version ".tar.xz"))
9674 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
9675 (build-system meson-build-system)
9678 #:configure-flags '("-Dsystemd=false")))
9680 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
9681 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
9682 ("intltool" ,intltool)
9683 ("itstool" ,itstool)
9684 ("libgtop" ,libgtop)
9686 ("pkg-config" ,pkg-config)))
9688 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
9691 ("librsvg" ,librsvg)
9692 ("libxml2" ,libxml2)
9693 ("libwnck" ,libwnck)))
9694 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
9695 (synopsis "Process viewer and system resource monitor for GNOME")
9697 "GNOME System Monitor is a GNOME process viewer and system monitor with
9698 an attractive, easy-to-use interface. It has features, such as a tree view
9699 for process dependencies, icons for processes, the ability to hide processes,
9700 graphical time histories of CPU/memory/swap usage and the ability to
9701 kill/reinice processes.")
9702 (license license:gpl2+)))
9704 (define-public python-pyatspi
9706 (name "python-pyatspi")
9711 "mirror://gnome/sources/pyatspi/"
9712 (version-major+minor version)
9713 "/pyatspi-" version ".tar.xz"))
9716 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
9717 (build-system gnu-build-system)
9720 (modify-phases %standard-phases
9721 (add-before 'build 'fix-atk-load
9723 (substitute* "pyatspi/__init__.py"
9724 (("from gi.repository import Atspi")
9725 "gi.require_version('Gtk', '3.0')
9726 from gi.repository import Gtk
9727 from gi.repository import Atspi"))
9730 `(("pkg-config" ,pkg-config)))
9732 `(("python" ,python)))
9734 `(("python-pygobject" ,python-pygobject)))
9735 (synopsis "Python client bindings for D-Bus AT-SPI")
9736 (home-page "https://wiki.linuxfoundation.org/accessibility\
9737 /atk/at-spi/at-spi_on_d-bus")
9739 "This package includes a python client library for the AT-SPI D-Bus
9740 accessibility infrastructure.")
9741 (license license:lgpl2.0)
9742 (properties '((upstream-name . "pyatspi")))))
9744 (define-public python2-pyatspi
9746 (inherit python-pyatspi)
9747 (name "python2-pyatspi")
9749 `(("python" ,python-2)))
9751 `(("python-pygobject" ,python2-pygobject)))))
9760 "mirror://gnome/sources/" name "/"
9761 (version-major+minor version) "/"
9762 name "-" version ".tar.xz"))
9765 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
9766 (build-system glib-or-gtk-build-system)
9769 (modify-phases %standard-phases
9770 (add-before 'configure 'qualify-xkbcomp
9771 (lambda* (#:key inputs #:allow-other-keys)
9772 (let ((xkbcomp (string-append
9773 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
9774 (substitute* "src/orca/orca.py"
9775 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
9777 (add-after 'install 'wrap-orca
9778 (lambda* (#:key outputs #:allow-other-keys)
9779 (let* ((out (assoc-ref outputs "out"))
9780 (prog (string-append out "/bin/orca")))
9782 `("GI_TYPELIB_PATH" ":" prefix
9783 (,(getenv "GI_TYPELIB_PATH")))
9784 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
9785 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
9786 `("PYTHONPATH" ":" prefix
9787 (,(getenv "PYTHONPATH")))))
9790 `(("intltool" ,intltool)
9791 ("itstool" ,itstool)
9792 ("pkg-config" ,pkg-config)
9793 ("xmllint" ,libxml2)))
9795 `(("at-spi2-atk" ,at-spi2-atk)
9796 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9797 ("gstreamer" ,gstreamer)
9798 ("gst-plugins-base" ,gst-plugins-base)
9799 ("gst-plugins-good" ,gst-plugins-good)
9802 ("python-pygobject" ,python-pygobject)
9803 ("python-pyatspi" ,python-pyatspi)
9804 ("python-speechd" ,speech-dispatcher)
9805 ("xkbcomp" ,xkbcomp)))
9807 "Screen reader for individuals who are blind or visually impaired")
9808 (home-page "https://wiki.gnome.org/Projects/Orca")
9810 "Orca is a screen reader that provides access to the graphical desktop
9811 via speech and refreshable braille. Orca works with applications and toolkits
9812 that support the Assistive Technology Service Provider Interface (AT-SPI).")
9813 (license license:lgpl2.1+)))
9815 (define-public gspell
9821 (uri (string-append "mirror://gnome/sources/" name "/"
9822 (version-major+minor version) "/"
9823 name "-" version ".tar.xz"))
9826 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
9827 (patches (search-patches "gspell-dash-test.patch"))))
9828 (build-system glib-or-gtk-build-system)
9830 '(#:configure-flags (list "--enable-vala")
9832 (modify-phases %standard-phases
9833 (add-before 'check 'pre-check
9834 (lambda* (#:key inputs #:allow-other-keys)
9835 ;; Tests require a running X server.
9836 (system "Xvfb :1 &")
9837 (setenv "DISPLAY" ":1")
9839 ;; For the missing /etc/machine-id.
9840 (setenv "DBUS_FATAL_WARNINGS" "0")
9842 ;; Allow Enchant and its Aspell backend to find the en_US
9844 (setenv "ASPELL_DICT_DIR"
9845 (string-append (assoc-ref inputs "aspell-dict-en")
9851 ("iso-codes" ,iso-codes)))
9853 `(("glib" ,glib "bin")
9854 ("gobject-introspection" ,gobject-introspection)
9855 ("pkg-config" ,pkg-config)
9856 ("vala" ,vala) ;for VAPI, needed by Geary
9857 ("xmllint" ,libxml2)
9860 ("aspell-dict-en" ,aspell-dict-en)
9861 ("xorg-server" ,xorg-server-for-tests)))
9863 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
9864 (home-page "https://wiki.gnome.org/Projects/gspell")
9865 (synopsis "GNOME's alternative spell checker")
9867 "gspell provides a flexible API to add spell-checking to a GTK+
9868 application. It provides a GObject API, spell-checking to text entries and
9869 text views, and buttons to choose the language.")
9870 (license license:gpl2+)))
9872 (define-public gnome-planner
9874 (name "gnome-planner")
9878 (uri (string-append "mirror://gnome/sources/planner/"
9879 (version-major+minor version) "/planner-"
9883 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
9884 (build-system glib-or-gtk-build-system)
9886 ;; Disable the Python bindings because the Planner program functions
9887 ;; without them, and (as of 2017-06-13) we have not packaged all of
9888 ;; packages that are necessary for building the Python bindings.
9890 (list "--disable-python"
9891 ,@(if (string=? "aarch64-linux" (%current-system))
9892 '("--build=aarch64-unknown-linux-gnu")
9895 `(("libgnomecanvas" ,libgnomecanvas)
9896 ("libgnomeui" ,libgnomeui)
9897 ("libglade" ,libglade)
9898 ("gnome-vfs" ,gnome-vfs)
9900 ("libxml2" ,libxml2)
9901 ("libxslt" ,libxslt)
9905 `(("intltool" ,intltool)
9906 ("scrollkeeper" ,scrollkeeper)
9907 ("pkg-config" ,pkg-config)))
9908 (home-page "https://wiki.gnome.org/Apps/Planner")
9909 (synopsis "Project management software for the GNOME desktop")
9911 "GNOME Planner is a project management tool based on the Work Breakdown
9912 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9913 the resources, tasks, and constraints that you define, Planner generates
9914 various views into a project. For example, Planner can show a Gantt chart of
9915 the project. It can show a detailed summary of tasks including their
9916 duration, cost, and current progress. It can also show a report of resource
9917 utilization that highlights under-utilized and over-utilized resources. These
9918 views can be printed as PDF or PostScript files, or exported to HTML.")
9919 (license license:gpl2+)))
9921 (define-public lollypop
9928 (uri (string-append "https://adishatz.org/lollypop/"
9929 "lollypop-" version ".tar.xz"))
9931 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9932 (build-system meson-build-system)
9934 `(#:imported-modules
9935 (,@%meson-build-system-modules
9936 (guix build python-build-system))
9938 ((guix build meson-build-system)
9939 ((guix build python-build-system) #:prefix python:)
9942 #:tests? #f ; no test suite
9944 (modify-phases %standard-phases
9945 (add-after 'install 'wrap-program
9946 (lambda* (#:key outputs #:allow-other-keys)
9947 (let ((out (assoc-ref outputs "out"))
9948 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9949 (wrap-program (string-append out "/bin/lollypop")
9950 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9952 (add-after 'install 'wrap-python
9953 (assoc-ref python:%standard-phases 'wrap)))))
9955 `(("intltool" ,intltool)
9956 ("itstool" ,itstool)
9957 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9958 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9959 ("pkg-config" ,pkg-config)))
9961 `(("gobject-introspection" ,gobject-introspection)
9962 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9963 ("gst-plugins-base" ,gst-plugins-base)
9964 ("libnotify" ,libnotify)
9965 ("libsecret" ,libsecret)
9966 ("libsoup" ,libsoup)
9968 ("python-beautifulsoup4" ,python-beautifulsoup4)
9969 ("python-gst" ,python-gst)
9970 ("python-pil" ,python-pillow)
9971 ("python-pycairo" ,python-pycairo)
9972 ("python-pygobject" ,python-pygobject)
9973 ("python-pylast" ,python-pylast)
9974 ("totem-pl-parser" ,totem-pl-parser)
9975 ("webkitgtk" ,webkitgtk)))
9977 `(;; gst-plugins-base is required to start Lollypop,
9978 ;; the others are required to play streaming.
9979 ("gst-plugins-good" ,gst-plugins-good)
9980 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9981 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9982 (synopsis "GNOME music playing application")
9984 "Lollypop is a music player designed to play well with GNOME desktop.
9985 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9986 from artists and tracks from the web. It also fetches cover artworks
9987 automatically and it can stream songs from online music services and charts.")
9988 (license license:gpl3+)))
9990 (define-public gnome-video-effects
9992 (name "gnome-video-effects")
9996 (uri (string-append "mirror://gnome/sources/" name "/"
9997 (version-major+minor version) "/" name "-"
10001 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
10002 (build-system glib-or-gtk-build-system)
10004 `(#:out-of-source? #f))
10006 `(("glib:bin" ,glib "bin")
10007 ("intltool" ,intltool)
10008 ("gettext" ,gettext-minimal)
10009 ("pkg-config" ,pkg-config)))
10010 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10011 (synopsis "Video effects for Cheese and other GNOME applications")
10013 "A collection of GStreamer video filters and effects to be used in
10014 photo-booth-like software, such as Cheese.")
10015 (license license:gpl2+)))
10017 (define-public cheese
10023 (uri (string-append "mirror://gnome/sources/" name "/"
10024 (version-major+minor version) "/" name "-"
10025 version ".tar.xz"))
10028 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
10030 `(#:glib-or-gtk? #t
10031 ;; Tests require GDK.
10034 (modify-phases %standard-phases
10035 (add-after 'unpack 'skip-gtk-update-icon-cache
10037 ;; Don't create 'icon-theme.cache'
10038 (substitute* "meson_post_install.py"
10039 (("gtk-update-icon-cache") (which "true")))
10041 (add-after 'install 'wrap-cheese
10042 (lambda* (#:key inputs outputs #:allow-other-keys)
10043 (let ((out (assoc-ref outputs "out"))
10044 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10045 (wrap-program (string-append out "/bin/cheese")
10046 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10048 (build-system meson-build-system)
10050 `(("docbook-xsl" ,docbook-xsl)
10051 ("glib:bin" ,glib "bin")
10052 ("gtk-doc" ,gtk-doc)
10053 ("intltool" ,intltool)
10054 ("itstool" ,itstool)
10055 ("libxml2" ,libxml2)
10056 ("libxslt" ,libxslt)
10057 ("pkg-config" ,pkg-config)
10060 `(("gnome-video-effects" ,gnome-video-effects)
10061 ("clutter" ,clutter)
10062 ("clutter-gst" ,clutter-gst)
10063 ("clutter-gtk" ,clutter-gtk)
10064 ("libcanberra" ,libcanberra)
10065 ("gdk-pixbuf" ,gdk-pixbuf)
10067 ("gstreamer" ,gstreamer)))
10069 `(("gnome-desktop" ,gnome-desktop)
10070 ("gobject-introspection" ,gobject-introspection)
10071 ("gst-plugins-base" ,gst-plugins-base)
10072 ("gst-plugins-bad" ,gst-plugins-bad)
10075 ("libxtst" ,libxtst)))
10076 (home-page "https://wiki.gnome.org/Apps/Cheese")
10077 (synopsis "Webcam photo booth software for GNOME")
10079 "Cheese uses your webcam to take photos and videos. Cheese can also
10080 apply fancy special effects and lets you share the fun with others.")
10081 (license license:gpl2+)))
10083 (define-public sound-juicer
10085 (name "sound-juicer")
10090 (uri (string-append "mirror://gnome/sources/" name "/"
10091 (version-major+minor version) "/"
10092 name "-" version ".tar.xz"))
10095 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10096 (build-system glib-or-gtk-build-system)
10098 `(("desktop-file-utils" ,desktop-file-utils)
10099 ("intltool" ,intltool)
10100 ("itstool" ,itstool)
10101 ("pkg-config" ,pkg-config)
10102 ("xmllint" ,libxml2)))
10105 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10106 ("gstreamer" ,gstreamer)
10107 ("gst-plugins-base" ,gst-plugins-base)
10108 ("gst-plugins-good" ,gst-plugins-good)
10109 ("iso-codes" ,iso-codes)
10110 ("libbrasero-media3" ,brasero)
10111 ("libcanberra" ,libcanberra)
10112 ("libdiscid" ,libdiscid)
10113 ("libmusicbrainz" ,libmusicbrainz)
10115 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10116 (synopsis "Audio music cd ripper")
10117 (description "Sound Juicer extracts audio from compact discs and convert it
10118 into audio files that a personal computer or digital audio player can play.
10119 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10120 mp3, Ogg Vorbis and FLAC")
10121 (license license:gpl2+)))
10123 (define-public soundconverter
10125 (name "soundconverter")
10130 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10131 version "/+download/"
10132 "soundconverter-" version ".tar.xz"))
10135 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10136 (build-system glib-or-gtk-build-system)
10138 `(#:imported-modules ((guix build python-build-system)
10139 (guix build glib-or-gtk-build-system)
10140 ,@%gnu-build-system-modules)
10142 #:modules ((guix build glib-or-gtk-build-system)
10144 ((guix build gnu-build-system) #:prefix gnu:)
10145 ((guix build python-build-system) #:prefix python:))
10148 (modify-phases %standard-phases
10149 (add-after 'install 'wrap-soundconverter-for-python
10150 (assoc-ref python:%standard-phases 'wrap))
10151 (add-after 'install 'wrap-soundconverter
10152 (lambda* (#:key inputs outputs #:allow-other-keys)
10153 (let ((out (assoc-ref outputs "out"))
10154 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10155 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10156 (wrap-program (string-append out "/bin/soundconverter")
10157 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10158 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10161 `(("intltool" ,intltool)
10162 ("pkg-config" ,pkg-config)
10163 ("glib:bin" ,glib "bin")))
10167 ("python-pygobject" ,python-pygobject)
10168 ("gstreamer" ,gstreamer)
10169 ("gst-plugins-base" ,gst-plugins-base)))
10170 (home-page "https://soundconverter.org/")
10171 (synopsis "Convert between audio formats with a graphical interface")
10173 "SoundConverter supports converting between many audio formats including
10174 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10175 configurable file renaming. ")
10176 (license license:gpl3)))
10178 (define-public workrave
10181 (version "1.10.42")
10185 (uri (git-reference
10186 (url "https://github.com/rcaelers/workrave")
10187 (commit (string-append "v" (string-map
10188 (match-lambda (#\. #\_) (chr chr))
10190 (file-name (git-file-name name version))
10192 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10193 (build-system glib-or-gtk-build-system)
10195 ;; The only tests are maintainer tests (in po/), which fail.
10197 (inputs `(("glib" ,glib)
10199 ("gdk-pixbuf" ,gdk-pixbuf)
10203 ("libxtst" ,libxtst)
10207 ("libxscrnsaver" ,libxscrnsaver)))
10208 (native-inputs `(("boost" ,boost)
10209 ("pkg-config" ,pkg-config)
10210 ("gettext" ,gettext-minimal)
10211 ("autoconf" ,autoconf)
10212 ("autoconf-archive" , autoconf-archive)
10213 ("automake" ,automake)
10214 ("libtool" ,libtool)
10215 ("intltool" ,intltool)
10216 ("gobject-introspection" ,gobject-introspection)
10217 ("python3" ,python-3)
10218 ("python-jinja2" ,python-jinja2)))
10219 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10221 "Workrave is a program that assists in the recovery and prevention of
10222 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10223 micro-pauses and rest breaks, and restricts you to your daily limit.")
10224 (home-page "http://www.workrave.org")
10225 (license license:gpl3+)))
10227 (define-public ghex
10233 (uri (string-append "mirror://gnome/sources/ghex/"
10234 (version-major+minor version) "/"
10235 "ghex-" version ".tar.xz"))
10238 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10239 (build-system meson-build-system)
10241 '(#:glib-or-gtk? #t
10243 (modify-phases %standard-phases
10244 (add-after 'unpack 'skip-gtk-update-icon-cache
10245 ;; Don't create 'icon-theme.cache'.
10247 (substitute* "meson_post_install.py"
10248 (("gtk-update-icon-cache") (which "true")))
10251 `(("pkg-config" ,pkg-config)
10252 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10253 ("gnome-common" ,gnome-common)
10255 ("intltool" ,intltool)
10256 ("yelp-tools" ,yelp-tools)
10257 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10261 (synopsis "GNOME hexadecimal editor")
10262 (description "The GHex program can view and edit files in two ways:
10263 hexadecimal or ASCII. It is useful for editing binary files in general.")
10264 (home-page "https://wiki.gnome.org/Apps/Ghex")
10265 (license license:gpl2)))
10267 (define-public libdazzle
10273 (uri (string-append "mirror://gnome/sources/libdazzle/"
10274 (version-major+minor version) "/"
10275 "libdazzle-" version ".tar.xz"))
10278 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10279 (build-system meson-build-system)
10282 (modify-phases %standard-phases
10283 (add-before 'check 'pre-check
10285 ;; Tests require a running X server.
10286 (system "Xvfb :1 &")
10287 (setenv "DISPLAY" ":1")
10290 `(("glib" ,glib "bin") ; glib-compile-resources
10291 ("pkg-config" ,pkg-config)
10293 ("xorg-server" ,xorg-server-for-tests)))
10296 ("gobject-introspection" ,gobject-introspection)
10299 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10300 (synopsis "Companion library to GObject and Gtk+")
10301 (description "The libdazzle library is a companion library to GObject and
10302 Gtk+. It provides various features that the authors wish were in the
10303 underlying library but cannot for various reasons. In most cases, they are
10304 wildly out of scope for those libraries. In other cases, they are not quite
10305 generic enough to work for everyone.")
10306 (license license:gpl3+)))
10308 (define-public evolution
10314 (uri (string-append "mirror://gnome/sources/evolution/"
10315 (version-major+minor version) "/"
10316 "evolution-" version ".tar.xz"))
10319 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
10320 (build-system cmake-build-system)
10322 `(#:imported-modules (,@%cmake-build-system-modules
10323 (guix build glib-or-gtk-build-system))
10324 #:modules ((guix build cmake-build-system)
10325 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10326 (guix build utils))
10328 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10329 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10330 ; in four years and cannot be built.
10332 (modify-phases %standard-phases
10333 ;; The build system attempts to install user interface modules to the
10334 ;; output directory of the "evolution-data-server" package. This
10335 ;; change redirects that change.
10336 (add-after 'unpack 'patch-ui-module-dir
10337 (lambda* (#:key outputs #:allow-other-keys)
10338 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10339 (("\\$\\{edsuimoduledir\\}")
10340 (string-append (assoc-ref outputs "out")
10341 "/lib/evolution-data-server/ui-modules")))
10343 (add-after 'install 'glib-or-gtk-compile-schemas
10344 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10345 (add-after 'install 'glib-or-gtk-wrap
10346 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10348 `(("glib" ,glib "bin") ; glib-mkenums
10349 ("pkg-config" ,pkg-config)
10350 ("intltool" ,intltool)
10351 ("itstool" ,itstool)))
10353 `(("enchant" ,enchant)
10354 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10356 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10357 ("gnome-autoar" ,gnome-autoar)
10358 ("gnome-desktop" ,gnome-desktop)
10360 ("highlight" ,highlight)
10361 ("libcanberra" ,libcanberra)
10362 ("libgweather" ,libgweather)
10363 ("libnotify" ,libnotify)
10364 ("libsoup" ,libsoup)
10366 ("openldap" ,openldap)
10367 ("webkitgtk" ,webkitgtk)
10369 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10370 (synopsis "Manage your email, contacts and schedule")
10371 (description "Evolution is a personal information management application
10372 that provides integrated mail, calendaring and address book
10374 ;; See COPYING for details.
10375 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10376 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10377 license:lgpl2.1+)))) ; smime/lib/*
10379 (define-public gthumb
10385 (uri (string-append "mirror://gnome/sources/gthumb/"
10386 (version-major+minor version) "/"
10387 "gthumb-" version ".tar.xz"))
10390 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
10391 (build-system meson-build-system)
10393 `(#:glib-or-gtk? #t
10395 ;; Ensure the RUNPATH contains all installed library locations.
10396 (list (string-append "-Dc_link_args=-Wl,-rpath="
10397 (assoc-ref %outputs "out")
10398 "/lib/gthumb/extensions")
10399 (string-append "-Dcpp_link_args=-Wl,-rpath="
10400 (assoc-ref %outputs "out")
10401 "/lib/gthumb/extensions"))))
10403 `(("pkg-config" ,pkg-config)
10404 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10405 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10406 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10407 ("intltool" ,intltool)
10408 ("itstool" ,itstool)))
10412 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10413 ("gstreamer" ,gstreamer)
10414 ("clutter" ,clutter)
10415 ("clutter-gst" ,clutter-gst)
10416 ("clutter-gtk" ,clutter-gtk)
10417 ("libjpeg" ,libjpeg-turbo)
10418 ("libtiff" ,libtiff)
10419 ("libraw" ,libraw)))
10420 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10421 (synopsis "GNOME image viewer and browser")
10422 (description "GThumb is an image viewer, browser, organizer, editor and
10423 advanced image management tool")
10424 (license license:gpl2+)))
10426 (define-public terminator
10428 (name "terminator")
10432 (uri (string-append "https://launchpad.net/" name "/"
10433 "gtk3/" version "/" "+download/"
10434 name "-" version ".tar.gz"))
10437 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
10438 (build-system python-build-system)
10440 `(("intltool" ,intltool)
10441 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10442 ("gettext" ,gettext-minimal)
10443 ("pkg-config" ,pkg-config)))
10446 ("gobject-introspection" ,gobject-introspection)
10447 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10448 ("python2-pycairo" ,python2-pycairo)
10449 ("python2-pygobject" ,python2-pygobject)
10450 ("python2-psutil" ,python2-psutil)
10453 `(#:python ,python-2 ; Python 3 isn't supported
10454 #:imported-modules ((guix build glib-or-gtk-build-system)
10455 ,@%python-build-system-modules)
10456 #:modules ((guix build python-build-system)
10457 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10458 (guix build utils))
10460 (modify-phases %standard-phases
10462 'install 'wrap-program
10463 (lambda* (#:key outputs #:allow-other-keys)
10464 (let ((prog (string-append (assoc-ref outputs "out")
10465 "/bin/terminator")))
10467 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
10468 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10470 (add-after 'wrap-program 'glib-or-gtk-wrap
10471 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10472 (home-page "https://gnometerminator.blogspot.com/")
10473 (synopsis "Store and run multiple GNOME terminals in one window")
10475 "Terminator allows you to run multiple GNOME terminals in a grid and
10476 +tabs, and it supports drag and drop re-ordering of terminals.")
10477 (license license:gpl2)))
10479 (define-public libhandy
10486 (uri (git-reference
10487 (url "https://gitlab.gnome.org/GNOME/libhandy")
10489 (file-name (git-file-name name version))
10491 (base32 "1zpfbn2x27lp69w819afxf3ylkgfz9k44srfgmkbb2c33r14ajwy"))))
10492 (build-system meson-build-system)
10494 `(#:configure-flags
10495 '("-Dglade_catalog=disabled"
10498 (modify-phases %standard-phases
10499 (add-before 'check 'pre-check
10501 ;; Tests require a running X server.
10502 (system "Xvfb :1 &")
10503 (setenv "DISPLAY" ":1")
10508 `(("glib:bin" ,glib "bin")
10509 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10511 ("gtk-doc" ,gtk-doc)
10512 ("pkg-config" ,pkg-config)
10513 ("gettext" ,gettext-minimal)
10515 ;; Test suite dependencies.
10516 ("xorg-server" ,xorg-server-for-tests)
10517 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10518 (home-page "https://source.puri.sm/Librem5/libhandy")
10519 (synopsis "Library full of GTK+ widgets for mobile phones")
10520 (description "The aim of the handy library is to help with developing user
10521 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
10522 for usage on small and big screens.")
10523 (license license:lgpl2.1+)))
10525 (define-public libgit2-glib
10527 (name "libgit2-glib")
10528 (version "0.99.0.1")
10531 (uri (string-append "mirror://gnome/sources/" name "/"
10532 (version-major+minor version) "/"
10533 name "-" version ".tar.xz"))
10536 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
10537 (build-system meson-build-system)
10539 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
10540 ("gobject-introspection" ,gobject-introspection)
10541 ("pkg-config" ,pkg-config)
10542 ("python-pygobject" ,python-pygobject)
10543 ("python-wrapper" ,python-wrapper)
10547 ("libssh2" ,libssh2)))
10549 `(;; In Requires of libgit2-glib.pc.
10550 ("libgit2" ,libgit2)))
10551 (synopsis "GLib wrapper around the libgit2 Git access library")
10552 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
10553 access library. It only implements the core plumbing functions, not really the
10554 higher level porcelain stuff.")
10555 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
10556 (license license:gpl2+)))
10558 (define-public gitg
10564 (uri (string-append "mirror://gnome/sources/" name "/"
10565 (version-major+minor version) "/"
10566 name "-" version ".tar.xz"))
10569 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
10570 (build-system meson-build-system)
10572 `(#:glib-or-gtk? #t
10574 (modify-phases %standard-phases
10575 (add-after 'unpack 'disable-post-install-partially
10577 (substitute* "meson_post_install.py"
10578 (("'python'") ; there are no python sources to compile
10579 (string-append "'" (which "true") "'"))
10580 (("gtk-update-icon-cache") (which "true")))
10582 (add-after 'unpack 'fix-test-sources
10584 (substitute* "tests/libgitg/test-commit.vala"
10585 (("/bin/bash") (which "bash")))
10587 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10588 (lambda* (#:key outputs #:allow-other-keys)
10589 (let ((prog (string-append (assoc-ref outputs "out")
10592 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10596 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10598 ("gtkspell3" ,gtkspell3)
10599 ("gtksourceview" ,gtksourceview-3)
10600 ("json-glib" ,json-glib)
10601 ("libdazzle" ,libdazzle)
10603 ("libgit2-glib" ,libgit2-glib)
10604 ("libpeas" ,libpeas)
10605 ("libsecret" ,libsecret)
10606 ("libsoup" ,libsoup)
10607 ("libxml2" ,libxml2)))
10609 `(("glib:bin" ,glib "bin")
10610 ("gtk+:bin" ,gtk+ "bin")
10611 ("gobject-introspection" ,gobject-introspection)
10612 ("intltool" ,intltool)
10613 ("pkg-config" ,pkg-config)
10615 (synopsis "Graphical user interface for git")
10617 "gitg is a graphical user interface for git. It aims at being a small,
10618 fast and convenient tool to visualize the history of git repositories.
10619 Besides visualization, gitg also provides several utilities to manage your
10620 repository and commit your work.")
10621 (home-page "https://wiki.gnome.org/Apps/Gitg")
10622 (license license:gpl2+)))
10624 (define-public gamin
10630 (uri (string-append "mirror://gnome/sources/" name "/"
10631 (version-major+minor version) "/"
10632 name "-" version ".tar.bz2"))
10635 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
10636 (build-system gnu-build-system)
10639 (modify-phases %standard-phases
10640 (add-after 'unpack 'remove-deprecated-macro
10642 (substitute* '("server/gam_node.c"
10643 "server/gam_subscription.h"
10644 "server/gam_node.h"
10645 "server/gam_subscription.c")
10646 (("G_CONST_RETURN") "const"))
10651 `(("intltool" ,intltool)
10652 ("pkg-config" ,pkg-config)))
10653 (home-page "https://people.gnome.org/~veillard/gamin/")
10654 (synopsis "File alteration monitor")
10656 "Gamin is a file and directory monitoring system defined to be a subset
10657 of the FAM (File Alteration Monitor) system. This is a service provided by a
10658 library which detects when a file or a directory has been modified.")
10659 (license license:gpl2+)))
10661 (define-public gnome-mahjongg
10663 (name "gnome-mahjongg")
10667 (uri (git-reference
10668 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
10670 (file-name (git-file-name name version))
10673 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
10674 (build-system meson-build-system)
10676 `(#:glib-or-gtk? #t))
10678 `(("appstream-glib" ,appstream-glib)
10679 ("gettext" ,gettext-minimal)
10680 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
10681 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
10682 ("itstool" ,itstool)
10683 ("pkg-config" ,pkg-config)
10686 `(("dconf" ,dconf)))
10690 ("librsvg" ,librsvg)))
10691 (synopsis "Mahjongg tile-matching game")
10692 (description "GNOME Mahjongg is a game based on the classic Chinese
10693 tile-matching game Mahjong. It features multiple board layouts, tile themes,
10694 and a high score table.")
10695 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
10696 (license license:gpl2+)))
10698 (define-public gnome-themes-extra
10700 (name "gnome-themes-extra")
10705 (uri (string-append "mirror://gnome/sources/" name "/"
10706 (version-major+minor version) "/" name "-"
10707 version ".tar.xz"))
10710 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
10711 (build-system gnu-build-system)
10713 '(#:configure-flags
10714 ;; Don't create 'icon-theme.cache'.
10715 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
10716 (true (string-append coreutils "/bin/true")))
10717 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
10719 `(("glib:bin" ,glib "bin")
10720 ("intltool" ,intltool)
10721 ("pkg-config" ,pkg-config)))
10726 ("librsvg" ,librsvg)
10727 ("libxml2" ,libxml2)))
10728 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
10729 (synopsis "GNOME Extra Themes")
10730 (description "This package provides themes and related elements that don't
10731 really fit in other upstream packages. It offers legacy support for GTK+ 2
10732 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
10733 index files needed for Adwaita to be used outside of GNOME.")
10734 (license license:lgpl2.1+)))
10736 (define-public polari
10742 (uri (string-append "mirror://gnome/sources/polari/"
10743 (version-major+minor version)
10744 "/polari-" version ".tar.xz"))
10747 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
10748 (build-system meson-build-system)
10750 `(#:glib-or-gtk? #t
10752 (modify-phases %standard-phases
10753 (add-after 'unpack 'skip-gtk-update-icon-cache
10755 (substitute* "meson/meson-postinstall.sh"
10756 (("gtk-update-icon-cache") (which "true")))
10758 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10759 (lambda* (#:key outputs #:allow-other-keys)
10760 (let ((prog (string-append (assoc-ref outputs "out")
10763 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10767 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10771 ("libsecret" ,libsecret)
10772 ("libsoup" ,libsoup)
10773 ("telepathy-glib" ,telepathy-glib)
10774 ("telepathy-logger" ,telepathy-logger)))
10776 `(("glib:bin" ,glib "bin")
10777 ("gobject-introspection" ,gobject-introspection)
10778 ("intltool" ,intltool)
10779 ("pkg-config" ,pkg-config)
10780 ("yelp-tools" ,yelp-tools)))
10782 `(("telepathy-idle" ,telepathy-idle)
10783 ("telepathy-mission-control" ,telepathy-mission-control)))
10784 (synopsis "Simple IRC Client")
10786 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
10787 integrate seamlessly with the GNOME desktop.")
10788 (home-page "https://wiki.gnome.org/Apps/Polari")
10789 (license license:gpl2+)))
10791 (define-public gnome-boxes
10793 (name "gnome-boxes")
10798 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
10799 (version-major+minor version) "/"
10800 "gnome-boxes-" version ".tar.xz"))
10802 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
10803 (build-system meson-build-system)
10805 '(#:glib-or-gtk? #t
10806 #:configure-flags (list "-Drdp=false"
10807 (string-append "-Dc_link_args=-Wl,-rpath="
10808 (assoc-ref %outputs "out")
10809 "/lib/gnome-boxes"))))
10811 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
10812 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10813 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10814 ("itstool" ,itstool)
10815 ("intltool" ,intltool)
10817 ("pkg-config" ,pkg-config)))
10819 `(("libarchive" ,libarchive)
10820 ("glib-networking" ,glib-networking) ;for TLS support
10821 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10823 ("gtk-vnc" ,gtk-vnc)
10824 ("libosinfo" ,libosinfo)
10825 ("libsecret" ,libsecret)
10826 ("libsoup" ,libsoup)
10828 ("libvirt" ,libvirt)
10829 ("libvirt-glib" ,libvirt-glib)
10830 ("libxml" ,libxml2)
10831 ("spice-gtk" ,spice-gtk)
10832 ("sparql-query" ,sparql-query)
10834 ("webkitgtk" ,webkitgtk)
10835 ("tracker" ,tracker)
10836 ("libgudev" ,libgudev)))
10837 (home-page "https://wiki.gnome.org/Apps/Boxes")
10838 (synopsis "View, access, and manage remote and virtual systems")
10839 (description "GNOME Boxes is a simple application to view, access, and
10840 manage remote and virtual systems. Note that this application requires the
10841 @code{libvirt} and @code{virtlog} daemons to run. Use the command
10842 @command{info '(guix) Virtualization Services'} to learn how to configure
10843 these services on the Guix System.")
10845 ;; For data/icons/empty-boxes.png.
10848 license:lgpl2.0+))))
10850 (define-public geary
10856 (uri (git-reference
10857 (url "https://gitlab.gnome.org/GNOME/geary")
10859 (file-name (git-file-name name version))
10862 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
10863 (build-system meson-build-system)
10865 `(#:glib-or-gtk? #t
10866 #:phases (modify-phases %standard-phases
10867 (add-after 'unpack 'disable-failing-tests
10869 (substitute* "test/meson.build"
10870 (("test\\('client-tests', geary_test_client_bin\\)")
10873 (add-after 'unpack 'disable-postinstall-script
10875 (substitute* "meson.build"
10876 (("meson.add_install_script\\(\
10877 join_paths\\('build-aux', 'post_install.py'\\)\\)")
10880 (add-before 'check 'setup-xvfb
10882 (system "Xvfb :1 &")
10883 (setenv "DISPLAY" ":1")
10886 `(("enchant" ,enchant)
10890 ("gmime" ,gmime-2.6)
10891 ("gnome-online-accounts:lib"
10892 ,gnome-online-accounts "lib")
10895 ("iso-codes" ,iso-codes)
10896 ("json-glib" ,json-glib)
10897 ("libcanberra" ,libcanberra)
10899 ("libhandy" ,libhandy)
10900 ("libpeas" ,libpeas)
10901 ("libsecret" ,libsecret)
10902 ("libunwind" ,libunwind)
10904 ("webkitgtk" ,webkitgtk)
10907 `(("appstream-glib" ,appstream-glib)
10908 ("cmake-minimal" ,cmake-minimal)
10909 ("desktop-file-utils" ,desktop-file-utils)
10910 ("gettext" ,gettext-minimal)
10911 ("glib:bin" ,glib "bin")
10912 ("gobject-introspection" ,gobject-introspection)
10913 ("itstool" ,itstool)
10914 ("libarchive" ,libarchive)
10915 ("libxml2" ,libxml2)
10916 ("pkg-config" ,pkg-config)
10918 ("xvfb" ,xorg-server-for-tests)))
10919 (synopsis "GNOME email application built around conversations")
10921 "Geary collects related messages together into conversations,
10922 making it easy to find and follow your discussions. Full-text and keyword
10923 search makes it easy to find the email you are looking for. Geary's
10924 full-featured composer lets you send rich, styled text with images, links, and
10925 lists, but also send lightweight, easy to read text messages. Geary
10926 automatically picks up your existing GNOME Online Accounts, and adding more is
10927 easy. Geary has a clean, fast, modern interface that works like you want it
10929 (home-page "https://wiki.gnome.org/Apps/Geary")
10935 license:cc-by-sa3.0
10936 license:public-domain
10940 (define-public glabels
10947 (uri (string-append "mirror://gnome/sources/" name "/"
10948 (version-major+minor version) "/"
10949 "glabels-" version ".tar.xz"))
10951 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
10952 (build-system glib-or-gtk-build-system)
10954 `(("gettext" ,gettext-minimal)
10955 ("glib:bin" ,glib "bin")
10956 ("intltool" ,intltool)
10957 ("itstool" ,itstool)
10958 ("pkg-config" ,pkg-config)))
10961 ("librsvg" ,librsvg)
10962 ("libxml2" ,libxml2)))
10963 (home-page "https://glabels.org/")
10964 (synopsis "Program for creating labels and business cards")
10966 "gLabels is a program for creating labels and business cards. It is
10967 designed to work with various laser/ink-jet peel-off label and business
10968 card sheets that you’ll find at most office supply stores.")
10969 (license license:gpl3+)))
10971 (define-public libratbag
10978 (uri (git-reference
10979 (url "https://github.com/libratbag/libratbag")
10980 (commit (string-append "v" version))))
10981 (file-name (git-file-name name version))
10983 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
10984 (build-system meson-build-system)
10986 `(#:configure-flags
10987 (list "-Dsystemd=false"
10988 "-Dlogind-provider=elogind")
10990 (modify-phases %standard-phases
10991 (add-after 'install 'wrap
10992 (lambda* (#:key inputs outputs #:allow-other-keys)
10993 (let* ((out (assoc-ref outputs "out"))
10994 (site (string-append
10996 ,(version-major+minor (package-version python))
10998 (evdev (string-append
10999 (assoc-ref inputs "python-evdev") site))
11000 (pygo (string-append
11001 (assoc-ref inputs "python-pygobject") site))
11003 `("PYTHONPATH" = (,evdev ,pygo))))
11004 (wrap-program (string-append out "/bin/" "ratbagctl")
11009 ("pkg-config" ,pkg-config)
11011 ("valgrind" ,valgrind)))
11014 ("json-glib" ,json-glib)
11015 ("libevdev" ,libevdev)
11016 ("libsystemd" ,elogind)
11017 ("libunistring" ,libunistring)
11018 ("python-evdev" ,python-evdev)
11019 ("python-pygobject" ,python-pygobject)
11021 (home-page "https://github.com/libratbag/libratbag")
11022 (synopsis "DBus daemon and utility for configuring gaming mice")
11023 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11024 configure input devices, mainly gaming mice. The daemon provides a generic
11025 way to access the various features exposed by these mice and abstracts away
11026 hardware-specific and kernel-specific quirks. There is also the
11027 @command{ratbagctl} command line interface for configuring devices.
11029 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11032 The ratbagd DBus service can be enabled by adding the following service to
11033 your operating-system definition:
11035 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11036 (license license:expat)))
11038 (define-public piper
11045 (uri (git-reference
11046 (url "https://github.com/libratbag/piper")
11049 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11050 (file-name (git-file-name name version))))
11051 (build-system meson-build-system)
11053 `(("gettext" ,gettext-minimal)
11054 ("glib:bin" ,glib "bin")
11055 ("gobject-introspection" ,gobject-introspection)
11056 ("pkg-config" ,pkg-config)
11057 ("python-flake8" ,python-flake8)))
11059 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11061 ("gtk:bin" ,gtk+ "bin")
11062 ("librsvg" ,librsvg)
11063 ("python-evdev" ,python-evdev)
11064 ("python-lxml" ,python-lxml)
11065 ("python-pycairo" ,python-pycairo)
11066 ("python-pygobject" ,python-pygobject)))
11068 `(#:imported-modules ((guix build python-build-system)
11069 ,@%meson-build-system-modules)
11070 #:modules (((guix build python-build-system) #:prefix python:)
11071 (guix build meson-build-system)
11072 (guix build utils))
11073 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11075 (modify-phases %standard-phases
11076 (add-after 'unpack 'dont-update-gtk-icon-cache
11078 (substitute* "meson.build"
11079 (("meson.add_install_script('meson_install.sh')") ""))
11081 ;; TODO: Switch to wrap-script when it is fixed.
11082 (add-after 'install 'wrap-python
11083 (assoc-ref python:%standard-phases 'wrap))
11084 (add-after 'wrap-python 'wrap
11085 (lambda* (#:key outputs #:allow-other-keys)
11087 (string-append (assoc-ref outputs "out" )"/bin/piper")
11088 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11090 (home-page "https://github.com/libratbag/piper/")
11091 (synopsis "Configure bindings and LEDs on gaming mice")
11092 (description "Piper is a GTK+ application for configuring gaming mice with
11093 onboard configuration for key bindings via libratbag. Piper requires
11094 a @command{ratbagd} daemon running with root privileges. It can be run
11095 manually as root, but is preferably configured as a DBus service that can
11096 launch on demand. This can be configured by enabling the following service,
11097 provided there is a DBus service present:
11099 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11100 (license license:gpl2)))
11102 (define-public parlatype
11109 (uri (git-reference
11110 (url "https://github.com/gkarsay/parlatype.git")
11111 (commit (string-append "v" version))))
11112 (file-name (git-file-name name version))
11114 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11115 (build-system meson-build-system)
11117 `(#:glib-or-gtk? #t
11118 #:tests? #f ;require internet access
11120 (modify-phases %standard-phases
11121 (add-after 'install 'wrap-parlatype
11122 ;; Add gstreamer plugin provided in this package to system's
11124 (lambda* (#:key outputs #:allow-other-keys)
11125 (let* ((out (assoc-ref outputs "out"))
11126 (gst-plugin-path (string-append
11127 out "/lib/gstreamer-1.0/"
11129 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11130 (wrap-program (string-append out "/bin/parlatype")
11131 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11134 `(("appstream-glib" ,appstream-glib)
11135 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11136 ("gettext" ,gettext-minimal)
11137 ("glib" ,glib "bin") ;for glib-compile-resources
11138 ("pkg-config" ,pkg-config)
11139 ("yelp-tools" ,yelp-tools)))
11141 `(("gst-plugins-base" ,gst-plugins-base)
11142 ("gst-plugins-good" ,gst-plugins-good)
11143 ("gstreamer" ,gstreamer)
11145 ("pocketsphinx" ,pocketsphinx)
11146 ("pulseaudio" ,pulseaudio)
11147 ("sphinxbase" ,sphinxbase)))
11148 (home-page "http://gkarsay.github.io/parlatype/")
11149 (synopsis "GNOME audio player for transcription")
11150 (description "Parlatype is an audio player for the GNOME desktop
11151 environment. Its main purpose is the manual transcription of spoken
11153 (license license:gpl3+)))
11155 (define-public jsonrpc-glib
11157 (name "jsonrpc-glib")
11161 (uri (string-append "mirror://gnome/sources/" name "/"
11162 (version-major+minor version) "/"
11163 name "-" version ".tar.xz"))
11166 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11167 (build-system meson-build-system)
11169 `(("json-glib" ,json-glib)
11172 `(("pkg-config" ,pkg-config)
11173 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11174 ("gobject-introspection" ,gobject-introspection)
11176 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11177 (synopsis "JSON-RPC library for GLib")
11178 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11179 peers in either a synchronous or asynchronous fashion. It also allows
11180 communicating using the GVariant serialization format instead of JSON when
11181 both peers support it. You might want that when communicating on a single
11182 host to avoid parser overhead and memory-allocator fragmentation.")
11183 (license license:lgpl2.1+)))
11185 (define-public feedbackd
11188 (version "0.0.0+git20200527")
11191 (uri (git-reference
11192 (url "https://source.puri.sm/Librem5/feedbackd.git")
11193 (commit (string-append "v" version))))
11194 (file-name (git-file-name name version))
11197 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11198 (build-system meson-build-system)
11200 `(("glib:bin" ,glib "bin")
11201 ("gobject-introspection" ,gobject-introspection)
11202 ("pkg-config" ,pkg-config)
11207 ("json-glib" ,json-glib)
11208 ("libgudev" ,libgudev)))
11210 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11211 (synopsis "Haptic/visual/audio feedback via DBus")
11212 (description "Feedbackd provides a DBus daemon to act on events to provide
11213 haptic, visual and audio feedback. It offers the libfeedbackd library and
11214 GObject introspection bindings.")
11215 (home-page "https://source.puri.sm/Librem5/feedbackd")
11216 (license (list license:lgpl2.1+ ; libfeedbackd
11217 license:lgpl3+)))) ; the rest
11219 (define-public sysprof
11226 (uri (string-append "mirror://gnome/sources/sysprof/"
11227 (version-major+minor version) "/"
11228 "sysprof-" version ".tar.xz"))
11230 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11231 (build-system meson-build-system)
11233 `(#:configure-flags
11234 (list (string-append "-Dsystemdunitdir="
11237 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11239 (modify-phases %standard-phases
11240 (add-after 'unpack 'patch-install-script
11242 (substitute* "build-aux/meson/post_install.sh"
11243 (("gtk-update-icon-cache") "true")
11244 (("update-desktop-database") "true"))
11249 ("libdazzle" ,libdazzle)
11250 ("polkit" ,polkit)))
11252 `(("gettext" ,gettext-minimal)
11253 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11254 ("itstool" ,itstool)
11255 ("pkg-config" ,pkg-config)
11256 ("xmllint" ,libxml2)))
11257 ;; This home page is so woefully out of date as to be essentially useless.
11258 ;; (home-page "http://www.sysprof.com")
11259 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11260 (synopsis "System-wide performance profiler for GNU/Linux")
11262 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11263 GNU/Linux system including the kernel and all user-space applications. This
11264 helps find the function(s) in which a program spends most of its time.
11266 It uses the kernel's built-in @code{ptrace} feature and handles shared
11267 libraries. Applications do not need to be recompiled--or even restarted.")
11268 (license license:gpl3+)))
11270 (define-public gnome-builder
11272 (name "gnome-builder")
11276 (uri (string-append "mirror://gnome/sources/" name "/"
11277 (version-major+minor version) "/"
11278 name "-" version ".tar.xz"))
11281 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11282 (build-system meson-build-system)
11284 `(#:configure-flags (list "-Dnetwork_tests=false"
11285 ;; TODO: Enable all plugins...
11286 "-Dplugin_clang=false"
11287 "-Dplugin_flatpak=false"
11288 "-Dplugin_glade=false"
11289 ;; ... except this one.
11290 "-Dplugin_update_manager=false")
11292 (modify-phases %standard-phases
11293 (add-after 'unpack 'patch-meson
11294 (lambda* (#:key inputs #:allow-other-keys)
11295 (substitute* "build-aux/meson/post_install.py"
11296 (("gtk-update-icon-cache") "true")
11297 (("update-desktop-database") "true"))
11298 (substitute* "src/libide/meson.build"
11300 (string-append (assoc-ref inputs "python-pygobject")
11303 (add-before 'check 'pre-check
11305 (system "Xvfb :1 &")
11306 (setenv "DISPLAY" ":1")
11309 `(("devhelp" ,devhelp)
11312 ("json-glib" ,json-glib)
11313 ("jsonrpc-glib" ,jsonrpc-glib)
11314 ("libdazzle" ,libdazzle)
11315 ("libgit2-glib" ,libgit2-glib)
11316 ("libpeas" ,libpeas)
11317 ("python-pygobject" ,python-pygobject)
11318 ("sysprof" ,sysprof)
11319 ("template-glib" ,template-glib)
11321 ("webkitgtk" ,webkitgtk)))
11323 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11325 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11326 ("glib:bin" ,glib "bin")
11327 ("gettext" ,gettext-minimal)
11328 ("pkg-config" ,pkg-config)
11330 ("xorg-server" ,xorg-server-for-tests)))
11331 (home-page "https://wiki.gnome.org/Apps/Builder")
11332 (synopsis "Toolsmith for GNOME-based applications")
11333 (description "Builder aims to be an integrated development
11334 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11335 auto-completion, a mini code map, documentation browsing, Git integration, an
11336 integrated profiler via Sysprof, debugging support, and more.")
11337 (license license:gpl3+)))
11339 (define-public komikku
11346 (uri (git-reference
11347 (url "https://gitlab.com/valos/Komikku/")
11348 (commit (string-append "v" version))))
11349 (file-name (git-file-name name version))
11352 "16d7k500nd9klnjqqcgk3glhv2sy78yndkz3n0x7lynvblsy45kk"))))
11353 (build-system meson-build-system)
11355 `(#:glib-or-gtk? #t
11357 (modify-phases %standard-phases
11358 (add-after 'unpack 'patch-sources
11360 (substitute* "komikku/utils.py"
11361 (("from komikku\\.servers import get_servers_list")
11362 ;; code following that line should migrate old databases
11363 ;; but the line itself results in an import error
11364 "return data_dir_path"))))
11365 (add-after 'unpack 'skip-gtk-update-icon-cache
11367 (substitute* "meson_post_install.py"
11368 (("gtk-update-icon-cache") (which "true")))
11370 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11371 (lambda* (#:key outputs #:allow-other-keys)
11372 (let ((prog (string-append (assoc-ref outputs "out")
11375 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
11376 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11380 ("libhandy" ,libhandy)
11381 ("libnotify" ,libnotify)
11382 ("libsecret" ,libsecret)
11383 ("python-beautifulsoup4" ,python-beautifulsoup4)
11384 ("python-cloudscraper" ,python-cloudscraper)
11385 ("python-dateparser" ,python-dateparser)
11386 ("python-keyring" ,python-keyring)
11387 ("python-lxml" ,python-lxml)
11388 ("python-magic" ,python-magic)
11389 ("python-pillow" ,python-pillow)
11390 ("python-pure-protobuf" ,python-pure-protobuf)
11391 ("python-pycairo" ,python-pycairo)
11392 ("python-pygobject" ,python-pygobject)
11393 ("python-unidecode" ,python-unidecode)))
11395 `(("desktop-file-utils" ,desktop-file-utils)
11396 ("gettext" ,gettext-minimal)
11397 ("glib:bin" ,glib "bin")
11398 ("gobject-introspection" ,gobject-introspection)
11399 ("pkg-config" ,pkg-config)))
11400 (home-page "https://gitlab.com/valos/Komikku")
11401 (synopsis "Manga reader for GNOME")
11402 (description "Komikku is an online/offline manga reader for GNOME,
11403 developed with the aim of being used with the Librem 5 phone.")
11404 (license license:gpl3+)))