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"))
5697 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
5698 (build-system meson-build-system)
5700 `(("gettext" ,gettext-minimal)
5701 ("glib:bin" ,glib "bin")
5702 ("gtk+:bin" ,gtk+ "bin")
5703 ("itstool" ,itstool)
5704 ("pkg-config" ,pkg-config)))
5705 ;; TODO: ahavi, gstreamer
5708 ;("gmime" ,gmime) ; unused
5709 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5711 ;("gssdp" ,gssdp) ; unused
5712 ;("gupnp" ,gupnp) ; unused
5713 ;("gupnp-av" ,gupnp-av) ; unused
5714 ("json-glib" ,json-glib)
5716 ("libgdata" ,libgdata)
5717 ("libmediaart" ,libmediaart)
5718 ;("librest" ,rest) ; unused
5719 ("libsoup" ,libsoup)
5720 ("totam-pl-parser" ,totem-pl-parser)
5721 ("tracker" ,tracker))) ; unused because it's too old
5724 ;;Disable lua-factory as it needs missing dependencies
5725 #:configure-flags '("-Denable-lua-factory=no")))
5726 (home-page "https://live.gnome.org/Grilo")
5727 (synopsis "Plugins for the Grilo media discovery library")
5729 "Grilo is a framework focused on making media discovery and browsing easy
5730 for application developers. This package provides plugins for common media
5731 discovery protocols.")
5732 (license license:lgpl2.1+)))
5734 (define-public totem
5741 (uri (string-append "mirror://gnome/sources/totem/"
5742 (version-major+minor version) "/"
5743 "totem-" version ".tar.xz"))
5746 "028sc6xbyi7rs884862d8f3di6zhcm0lhvlpc3r69ifzjsq9my3b"))))
5747 (build-system meson-build-system)
5749 `(("pkg-config" ,pkg-config)
5750 ("desktop-file-utils" ,desktop-file-utils)
5751 ("gobject-introspection" ,gobject-introspection)
5752 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
5753 ("intltool" ,intltool)
5754 ("itstool" ,itstool)
5755 ("xmllint" ,libxml2)
5756 ("xorg-server" ,xorg-server-for-tests)))
5758 `(("dconf" ,dconf)))
5761 ("gdk-pixbuf" ,gdk-pixbuf)
5764 ("dbus-glib" ,dbus-glib)
5765 ("clutter" ,clutter)
5766 ("clutter-gtk" ,clutter-gtk)
5767 ("clutter-gst" ,clutter-gst)
5768 ("xorgproto" ,xorgproto)
5769 ("libxxf86vm" ,libxxf86vm)
5770 ("libxtst" ,libxtst)
5771 ("libxrandr" ,libxrandr)
5772 ("libxml2" ,libxml2)
5773 ("libsoup" ,libsoup)
5774 ("libpeas" ,libpeas)
5775 ("librsvg" ,librsvg)
5777 ("gnome-desktop" ,gnome-desktop)
5778 ("gstreamer" ,gstreamer)
5779 ("gst-plugins-base" ,gst-plugins-base)
5780 ("gst-plugins-good" ,gst-plugins-good)
5781 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5782 ("adwaita-icon-theme" ,adwaita-icon-theme)
5784 ("python-pygobject" ,python-pygobject)
5785 ("totem-pl-parser" ,totem-pl-parser)
5787 ("grilo-plugins" ,grilo-plugins)
5792 ;; Disable automatic GStreamer plugin installation via PackageKit and
5794 #:configure-flags '("-D" "enable-easy-codec-installation=no"
5796 ;; Do not build .a files for the plugins, it's
5797 ;; completely useless. This saves 2 MiB.
5798 "--default-library" "shared")
5800 (modify-phases %standard-phases
5801 (add-after 'unpack 'skip-gtk-update-icon-cache
5802 ;; Don't create 'icon-theme.cache'.
5804 (substitute* "meson_post_install.py"
5805 (("gtk-update-icon-cache") "true"))
5808 'install 'disable-cache-generation
5810 (setenv "DESTDIR" "/")
5815 ;; Tests require a running X server.
5816 (system "Xvfb :1 &")
5817 (setenv "DISPLAY" ":1")
5820 'install 'wrap-totem
5821 (lambda* (#:key inputs outputs #:allow-other-keys)
5822 (let ((out (assoc-ref outputs "out"))
5823 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5824 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
5825 (wrap-program (string-append out "/bin/totem")
5826 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5827 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
5828 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
5829 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
5831 (home-page "https://wiki.gnome.org/Apps/Videos")
5832 (synopsis "Simple media player for GNOME based on GStreamer")
5833 (description "Totem is a simple yet featureful media player for GNOME
5834 which can read a large number of file formats.")
5835 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
5836 ;; to be used and distributed together with GStreamer and Totem. See
5837 ;; file://COPYING in the source distribution for details.
5838 (license license:gpl2+)))
5840 (define-public rhythmbox
5846 (uri (string-append "mirror://gnome/sources/rhythmbox/"
5847 (version-major+minor version) "/"
5848 "rhythmbox-" version ".tar.xz"))
5851 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
5852 (build-system glib-or-gtk-build-system)
5855 (list "--enable-lirc"
5862 (modify-phases %standard-phases
5864 'install 'wrap-rhythmbox
5865 (lambda* (#:key inputs outputs #:allow-other-keys)
5866 (let ((out (assoc-ref outputs "out"))
5867 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5868 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5869 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5870 (python-path (getenv "PYTHONPATH")))
5871 (wrap-program (string-append out "/bin/rhythmbox")
5872 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5873 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
5874 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5875 `("PYTHONPATH" ":" prefix (,python-path))))
5878 `(("dconf" ,dconf)))
5880 `(("itstool" ,itstool)
5881 ("intltool" ,intltool)
5882 ("glib" ,glib "bin")
5883 ("gobject-introspection" ,gobject-introspection)
5884 ("desktop-file-utils" ,desktop-file-utils)
5885 ("pkg-config" ,pkg-config)
5886 ("xmllint" ,libxml2)))
5888 `(("json-glib" ,json-glib)
5890 ("gnome-desktop" ,gnome-desktop)
5892 ("python-pygobject" ,python2-pygobject)
5895 ("adwaita-icon-theme" ,adwaita-icon-theme)
5897 ("grilo-plugins" ,grilo-plugins)
5898 ("gstreamer" ,gstreamer)
5899 ("gst-plugins-base" ,gst-plugins-base)
5900 ("gst-plugins-good" ,gst-plugins-good)
5901 ("totem-pl-parser" ,totem-pl-parser)
5902 ("libgudev" ,libgudev)
5903 ;;("libmtp" ,libmtp) FIXME: Not detected
5904 ("libsecret" ,libsecret)
5905 ("libsoup" ,libsoup)
5906 ("libnotify" ,libnotify)
5907 ("libpeas" ,libpeas)
5909 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5910 ;;("clutter" ,clutter)
5911 ;;("clutter-gtk" ,clutter-gtk)
5912 ;;("clutter-gst" ,clutter-gst)
5913 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5920 ("brasero" ,brasero)))
5921 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5922 (synopsis "Music player for GNOME")
5923 (description "Rhythmbox is a music playing application for GNOME. It
5924 supports playlists, song ratings, and any codecs installed through gstreamer.")
5925 (license license:gpl2+)))
5933 (uri (string-append "mirror://gnome/sources/" name "/"
5934 (version-major+minor version) "/"
5935 name "-" version ".tar.xz"))
5938 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
5939 (build-system meson-build-system)
5942 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5943 (list (string-append "-Dc_link_args=-Wl,-rpath="
5944 (assoc-ref %outputs "out") "/lib/eog"))
5946 (modify-phases %standard-phases
5947 (add-after 'unpack 'skip-gtk-update-icon-cache
5948 ;; Don't create 'icon-theme.cache'.
5950 (substitute* "meson_post_install.py"
5951 (("gtk-update-icon-cache") "true"))
5953 (add-after 'install 'wrap-eog
5954 (lambda* (#:key outputs #:allow-other-keys)
5955 (let ((out (assoc-ref outputs "out"))
5956 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5957 (wrap-program (string-append out "/bin/eog")
5958 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5961 `(("dconf" ,dconf)))
5963 `(("intltool" ,intltool)
5964 ("itstool" ,itstool)
5965 ("glib" ,glib "bin")
5966 ("gobject-introspection" ,gobject-introspection)
5967 ("pkg-config" ,pkg-config)
5968 ("xmllint" ,libxml2)))
5970 `(("gnome-desktop" ,gnome-desktop)
5971 ("shared-mime-info" ,shared-mime-info)
5972 ("adwaita-icon-theme" ,adwaita-icon-theme)
5975 ("libexif" ,libexif)
5976 ("libpeas" ,libpeas)
5977 ("libjpeg" ,libjpeg-turbo)
5978 ("librsvg" ,librsvg-next)
5979 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5981 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5982 (synopsis "GNOME image viewer")
5983 (description "Eye of GNOME is the GNOME image viewer. It
5984 supports image conversion, rotation, and slideshows.")
5985 (license license:gpl2+)))
5987 (define-public eog-plugins
5988 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5989 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5990 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5991 ;; 'XDG_DATA_DIRS' appropriately set.
5993 (name "eog-plugins")
5997 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5998 (version-major+minor version) "/"
5999 "eog-plugins-" version ".tar.xz"))
6002 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6003 (build-system gnu-build-system)
6004 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6005 (synopsis "Extensions for the Eye of GNOME image viewer")
6007 `(("pkg-config" ,pkg-config)
6008 ("gettext" ,gettext-minimal)))
6013 ("libpeas" ,libpeas)
6014 ("libexif" ,libexif)
6015 ("libchamplain" ,libchamplain)))
6017 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6021 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6022 @item @dfn{Map}, which displays a map of where the picture was taken on the
6024 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6027 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6028 ;; long suspicious byte stream that goes to a
6029 ;; ".gresource.eog_postasa_plugin" ELF section.
6030 (license license:gpl2+)))
6032 (define-public libgudev
6038 (uri (string-append "mirror://gnome/sources/" name "/"
6039 version "/" name "-" version ".tar.xz"))
6042 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6043 (build-system gnu-build-system)
6046 ;; umockdev depends on libgudev.
6047 (list "--disable-umockdev")))
6049 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6050 ("gobject-introspection" ,gobject-introspection)
6051 ("pkg-config" ,pkg-config)))
6053 `(("glib" ,glib))) ; required by gudev-1.0.pc
6056 (home-page "https://wiki.gnome.org/Projects/libgudev")
6057 (synopsis "GObject bindings for libudev")
6059 "This library provides GObject bindings for libudev. It was originally
6060 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6061 (license license:lgpl2.1+)))
6069 (uri (string-append "mirror://gnome/sources/gvfs/"
6070 (version-major+minor version) "/"
6071 "gvfs-" version ".tar.xz"))
6074 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
6075 ;; This patch may be removed when upgrading to version 1.46.x.
6077 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6078 (build-system meson-build-system)
6082 (list "-Dsystemduserunitdir=no"
6084 ;; Otherwise, the RUNPATH will lack the final path component.
6085 (string-append "-Dc_link_args=-Wl,-rpath="
6086 (assoc-ref %outputs "out") "/lib/gvfs"))))
6088 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6089 ("gettext" ,gettext-minimal)
6090 ("gtk-doc" ,gtk-doc)
6091 ("pkg-config" ,pkg-config)
6092 ("xsltproc" ,libxslt)))
6095 ("docbook-xml" ,docbook-xml-4.2)
6096 ("docbook-xsl" ,docbook-xsl)
6098 ("elogind" ,elogind)
6102 ("gnome-online-accounts" ,gnome-online-accounts)
6103 ("libarchive" ,libarchive)
6104 ("libbluray" ,libbluray)
6106 ("libcdio-paranoia" ,libcdio-paranoia)
6107 ("libgcrypt" ,libgcrypt)
6108 ("libgdata" ,libgdata)
6109 ("libgphoto2" ,libgphoto2)
6110 ("libgudev" ,libgudev)
6111 ("libimobiledevice" ,libimobiledevice)
6114 ("libsecret" ,libsecret)
6115 ("libsmbclient" ,samba)
6116 ("libsoup" ,libsoup)
6117 ("libxml2" ,libxml2)
6118 ("openssh" ,openssh)
6120 ("udisks" ,udisks)))
6121 (home-page "https://wiki.gnome.org/gvfs/")
6122 (synopsis "Userspace virtual file system for GIO")
6124 "GVFS is a userspace virtual file system designed to work with the I/O
6125 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6126 to all applications using the GIO API. It also supports exposing the GVFS
6127 mounts to non-GIO applications using FUSE.
6129 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6131 (license license:lgpl2.0+)))
6140 (url "https://github.com/hughsie/libgusb")
6142 (file-name (git-file-name name version))
6145 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
6146 (build-system meson-build-system)
6148 `(("gobject-introspection" ,gobject-introspection)
6149 ("pkg-config" ,pkg-config)
6151 ("gtk-doc" ,gtk-doc)))
6153 ;; Both of these are required by gusb.pc.
6155 ("libusb" ,libusb)))
6157 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6158 (home-page "https://github.com/hughsie/libgusb")
6159 (synopsis "GLib binding for libusb1")
6161 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6162 asynchronous control, bulk and interrupt transfers with proper cancellation
6163 and integration into a mainloop. This makes it easy to integrate low level
6164 USB transfers with your high-level application or system daemon.")
6165 (license license:lgpl2.1+)))
6167 (define-public simple-scan
6169 (name "simple-scan")
6174 (uri (string-append "mirror://gnome/sources/simple-scan/"
6175 (version-major+minor version) "/"
6176 "simple-scan-" version ".tar.xz"))
6178 (base32 "09gmzrlljdqkj3w6wa1c27wypy6j8z9dw3jzv9izfqvp38liibsn"))))
6179 (build-system meson-build-system)
6180 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6182 '(#:glib-or-gtk? #t))
6188 ("gdk-pixbuf" ,gdk-pixbuf)
6190 ("libsane" ,sane-backends)))
6192 `(("gettext" ,gettext-minimal)
6193 ("itstool" ,itstool)
6194 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6195 ("pkg-config" ,pkg-config)
6197 ("xmllint" ,libxml2)))
6198 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6199 (synopsis "Document and image scanner")
6201 "Document Scanner is an easy-to-use application that lets you connect your
6202 scanner and quickly capture images and documents in an appropriate format. It
6203 supports any scanner for which a suitable SANE driver is available, which is
6204 almost all of them.")
6205 (license license:gpl3+)))
6207 (define-public eolie
6210 (version "0.9.98.1")
6213 (uri (string-append "https://adishatz.org/eolie/eolie-"
6217 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
6218 (build-system meson-build-system)
6222 (modify-phases %standard-phases
6223 (add-after 'unpack 'skip-gtk-update-icon-cache
6224 ;; Don't create 'icon-theme.cache'.
6226 (substitute* "meson_post_install.py"
6227 (("gtk-update-icon-cache") "true"))
6229 (add-after 'wrap 'wrap-more
6230 (lambda* (#:key inputs outputs #:allow-other-keys)
6231 (let* ((out (assoc-ref outputs "out"))
6232 ;; These libraries must be on LD_LIBRARY_PATH.
6233 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6234 "atk" "gtk+" "gsettings-desktop-schemas"
6235 "gobject-introspection"))
6238 (string-append (assoc-ref inputs lib) "/lib"))
6241 (wrap-program (string-append out "/bin/eolie")
6242 `("LD_LIBRARY_PATH" ":" prefix (,path))
6243 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6244 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6247 `(("intltool" ,intltool)
6248 ("itstool" ,itstool)
6249 ("pkg-config" ,pkg-config)
6251 ("glib:bin" ,glib "bin")))
6253 `(("gobject-introspection" ,gobject-introspection)
6254 ("glib-networking" ,glib-networking)
6257 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6258 ("python" ,python-wrapper)
6259 ("python-dateutil" ,python-dateutil)
6260 ("python-pyfxa" ,python-pyfxa)
6261 ("python-pygobject" ,python-pygobject)
6262 ("python-pycairo" ,python-pycairo)
6263 ("python-pycrypto" ,python-pycrypto)
6264 ("libsecret" ,libsecret)
6265 ("gtkspell3" ,gtkspell3)
6266 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6267 ("webkitgtk" ,webkitgtk)))
6268 (home-page "https://wiki.gnome.org/Apps/Eolie")
6269 (synopsis "Web browser for GNOME")
6271 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6272 a secret password store, an adblocker, and a modern UI.")
6273 (license license:gpl3+)))
6275 (define-public epiphany
6281 (uri (string-append "mirror://gnome/sources/epiphany/"
6282 (version-major+minor version) "/"
6283 "epiphany-" version ".tar.xz"))
6286 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6288 (build-system meson-build-system)
6292 (modify-phases %standard-phases
6293 (add-after 'unpack 'skip-gtk-update-icon-cache
6294 ;; Don't create 'icon-theme.cache'.
6296 (substitute* "post_install.py"
6297 (("gtk-update-icon-cache") "true"))
6299 (add-after 'unpack 'disable-failing-tests
6301 (substitute* "tests/meson.build"
6302 ;; embed_shell fails, because webkitgtk apparently no longer supports
6303 ;; overriding the ftp schema
6304 ;; web_app_utils fails due to missing network access
6305 (("(embed_shell|web_app_utils)_test,")
6306 "find_program('sh'), args: ['-c', 'exit 77'],"))
6308 (add-before 'check 'pre-check
6310 ;; Tests require a running X server.
6311 (system "Xvfb :1 &")
6312 (setenv "DISPLAY" ":1")
6315 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6316 (list (string-append "-Dc_link_args=-Wl,-rpath="
6317 (assoc-ref %outputs "out") "/lib/epiphany"))))
6319 `(("dconf" ,dconf)))
6321 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6322 ("glib:bin" ,glib "bin") ; for glib-mkenums
6323 ("intltool" ,intltool)
6324 ("itstool" ,itstool)
6325 ("pkg-config" ,pkg-config)
6326 ("xmllint" ,libxml2)
6327 ("xorg-server" ,xorg-server-for-tests)))
6331 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6332 ("glib-networking" ,glib-networking)
6333 ("gnome-desktop" ,gnome-desktop)
6334 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6335 ("json-glib" ,json-glib)
6336 ("iso-codes" ,iso-codes)
6337 ("libdazzle" ,libdazzle)
6338 ("libnotify" ,libnotify)
6339 ("libsecret" ,libsecret)
6340 ("libxslt" ,libxslt)
6341 ("nettle" ,nettle) ; for hogweed
6343 ("webkitgtk" ,webkitgtk)))
6344 (home-page "https://wiki.gnome.org/Apps/Web")
6345 (synopsis "GNOME web browser")
6347 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6348 principles are simplicity and standards compliance.")
6349 (license license:gpl2+)))
6351 (define-public d-feet
6357 (uri (string-append "mirror://gnome/sources/" name "/"
6358 (version-major+minor version) "/"
6359 name "-" version ".tar.xz"))
6362 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6363 (build-system glib-or-gtk-build-system)
6365 '(#:out-of-source? #f ; tests need to run in the source directory.
6367 (modify-phases %standard-phases
6371 ;; The test suite requires a running X server.
6372 (system "Xvfb :1 &")
6373 (setenv "DISPLAY" ":1")
6374 ;; Don't fail on missing '/etc/machine-id'.
6375 (setenv "DBUS_FATAL_WARNINGS" "0")
6376 ;; tests.py and window.py don't meet E402:
6377 ;; E402 module level import not at top of file
6378 (substitute* "src/tests/Makefile"
6379 (("--ignore=E123") "--ignore=E123,E402"))
6382 'install 'wrap-program
6383 (lambda* (#:key outputs #:allow-other-keys)
6384 (let ((prog (string-append (assoc-ref outputs "out")
6387 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6388 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6391 `(("intltool" ,intltool)
6392 ("itstool" ,itstool)
6393 ("pkg-config" ,pkg-config)
6394 ("python-pep8" ,python-pep8)
6395 ("xmllint" ,libxml2)
6396 ("xorg-server" ,xorg-server-for-tests)))
6398 `(("gobject-introspection" ,gobject-introspection)
6400 ("python" ,python-wrapper)
6401 ("hicolor-icon-theme" ,hicolor-icon-theme)
6402 ("python-pygobject" ,python-pygobject)))
6403 (home-page "https://wiki.gnome.org/Apps/DFeet")
6404 (synopsis "D-Bus debugger")
6406 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6407 of running programs and invoke methods on those interfaces.")
6408 (license license:gpl2+)))
6410 (define-public yelp-xsl
6416 (uri (string-append "mirror://gnome/sources/" name "/"
6417 (version-major+minor version) "/"
6418 name "-" version ".tar.xz"))
6421 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6422 (build-system gnu-build-system)
6424 `(("gettext-minimal" ,gettext-minimal)
6425 ("itstool" ,itstool)
6426 ("xmllint" ,libxml2)))
6427 (home-page "https://wiki.gnome.org/Apps/Yelp")
6428 (synopsis "XSL stylesheets for Yelp")
6430 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
6431 to format Docbook and Mallard documents.")
6432 (license license:gpl2+)))
6440 (uri (string-append "mirror://gnome/sources/" name "/"
6441 (version-major+minor version) "/"
6442 name "-" version ".tar.xz"))
6445 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6446 (build-system glib-or-gtk-build-system)
6448 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6449 ("intltool" ,intltool)
6450 ("itstool" ,itstool)
6451 ("pkg-config" ,pkg-config)))
6453 `(("dconf" ,dconf)))
6455 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6456 ("libxslt" ,libxslt)
6458 ("webkitgtk" ,webkitgtk)
6459 ("yelp-xsl" ,yelp-xsl)))
6460 (home-page "https://wiki.gnome.org/Apps/Yelp")
6461 (synopsis "GNOME help browser")
6463 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6464 man, info, and HTML documents. It can locate documents according to the
6465 freedesktop.org help system specification.")
6466 (license license:gpl2+)))
6468 (define-public yelp-tools
6474 (uri (string-append "mirror://gnome/sources/" name "/"
6475 (version-major+minor version) "/"
6476 name "-" version ".tar.xz"))
6479 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6480 (build-system gnu-build-system)
6482 `(("pkg-config" ,pkg-config)))
6484 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6485 `(("itstool" ,itstool)
6486 ("xmllint" ,libxml2)
6487 ("xsltproc" ,libxslt)))
6489 `(("yelp-xsl" ,yelp-xsl)))
6490 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6491 (synopsis "Yelp documentation tools")
6493 "Yelp-tools is a collection of scripts and build utilities to help create,
6494 manage, and publish documentation for Yelp and the web. Most of the heavy
6495 lifting is done by packages like yelp-xsl and itstool. This package just
6496 wraps things up in a developer-friendly way.")
6497 (license license:gpl2+)))
6499 (define-public libgee
6505 (uri (string-append "mirror://gnome/sources/libgee/"
6506 (version-major+minor version) "/"
6507 "libgee-" version ".tar.xz"))
6510 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6511 (build-system gnu-build-system)
6514 (modify-phases %standard-phases
6515 (add-after 'unpack 'fix-introspection-install-dir
6516 (lambda* (#:key outputs #:allow-other-keys)
6517 (let ((out (assoc-ref outputs "out")))
6518 (substitute* "gee/Makefile.in"
6519 (("@INTROSPECTION_GIRDIR@")
6520 (string-append out "/share/gir-1.0/"))
6521 (("@INTROSPECTION_TYPELIBDIR@")
6522 (string-append out "/lib/girepository-1.0/")))))))))
6524 `(("glib" ,glib "bin")
6525 ("pkg-config" ,pkg-config)))
6528 ("gobject-introspection" ,gobject-introspection)))
6529 (home-page "https://wiki.gnome.org/Projects/Libgee")
6530 (synopsis "GObject collection library")
6532 "Libgee is a utility library providing GObject-based interfaces and
6533 classes for commonly used data structures.")
6534 (license license:lgpl2.1+)))
6536 (define-public gexiv2
6542 (uri (string-append "mirror://gnome/sources/" name "/"
6543 (version-major+minor version) "/"
6544 name "-" version ".tar.xz"))
6547 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
6548 (build-system meson-build-system)
6551 ("glib" ,glib "bin")
6552 ("pkg-config" ,pkg-config)
6555 ;; Listed in "Requires" section of gexiv2.pc
6556 `(("exiv2" ,exiv2)))
6559 ("gobject-introspection" ,gobject-introspection)))
6560 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6561 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6563 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6564 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6565 metadata in photo and video files of various formats.")
6566 (license license:gpl2+)))
6568 (define-public shotwell
6574 (uri (string-append "mirror://gnome/sources/shotwell/"
6575 (version-major+minor version) "/"
6576 "shotwell-" version ".tar.xz"))
6579 "1y556yyzfya0310v5wqjkf17hy5lhf028iminvvgi2pdfva344id"))))
6580 (build-system meson-build-system)
6584 (modify-phases %standard-phases
6585 (add-after 'unpack 'skip-gtk-update-icon-cache
6587 (substitute* "build-aux/meson/postinstall.py"
6588 (("gtk-update-icon-cache") (which "true"))
6589 (("update-desktop-database") (which "true")))
6592 `(("dconf" ,dconf)))
6594 `(("gettext" ,gettext-minimal)
6595 ("glib:bin" ,glib "bin")
6596 ("itstool" ,itstool)
6597 ("pkg-config" ,pkg-config)
6602 ("gst-plugins-base" ,gst-plugins-base)
6603 ("gstreamer" ,gstreamer)
6604 ("json-glib" ,json-glib)
6605 ("libgdata" ,libgdata)
6607 ("libgphoto2" ,libgphoto2)
6608 ("libgudev" ,libgudev)
6610 ("libsoup" ,libsoup)
6611 ("libxml2" ,libxml2)
6613 ("webkitgtk" ,webkitgtk)))
6614 (home-page "https://wiki.gnome.org/Apps/Shotwell")
6615 (synopsis "Photo manager for GNOME 3")
6617 "Shotwell is a digital photo manager designed for the GNOME desktop
6618 environment. It allows you to import photos from disk or camera, organize
6619 them by keywords and events, view them in full-window or fullscreen mode, and
6620 share them with others via social networking and more.")
6621 (license license:lgpl2.1+)))
6623 (define-public file-roller
6625 (name "file-roller")
6629 (uri (string-append "mirror://gnome/sources/file-roller/"
6630 (version-major+minor version) "/"
6631 "file-roller-" version ".tar.xz"))
6634 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
6635 (build-system meson-build-system)
6637 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6638 ("intltool" ,intltool)
6639 ("itstool" ,itstool)
6640 ("pkg-config" ,pkg-config)
6641 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6642 ("glib:bin" ,glib "bin")))
6643 ;; TODO: Add libnautilus.
6646 ("gdk-pixbuf" ,gdk-pixbuf)
6647 ("json-glib" ,json-glib)
6648 ("libarchive" ,libarchive)
6649 ("libnotify" ,libnotify)
6651 ("libxml2" ,libxml2)))
6652 (synopsis "Graphical archive manager for GNOME")
6653 (description "File Roller is an archive manager for the GNOME desktop
6654 environment that allows users to view, unpack, and create compressed archives
6655 such as gzip tarballs.")
6656 (home-page "http://fileroller.sourceforge.net/")
6657 (license license:gpl2+)))
6659 (define-public gnome-session
6661 (name "gnome-session")
6665 (uri (string-append "mirror://gnome/sources/" name "/"
6666 (version-major+minor version) "/"
6667 name "-" version ".tar.xz"))
6670 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
6674 (modify-phases %standard-phases
6675 (add-before 'configure 'pre-configure
6676 (lambda* (#:key outputs #:allow-other-keys)
6677 ;; Use elogind instead of systemd.
6678 (substitute* "meson.build"
6679 (("libsystemd-login") "libelogind")
6680 (("and libsystemd_daemon_dep.found.*") ","))
6681 (substitute* "gnome-session/gsm-systemd.c"
6682 (("#include <systemd/sd-login.h>")
6683 "#include <elogind/sd-login.h>"))
6684 ;; Remove uses of the systemd daemon.
6685 (substitute* "gnome-session/gsm-autostart-app.c"
6686 (("#ifdef HAVE_SYSTEMD") "#if 0"))
6688 (add-after 'install 'wrap-gnome-session
6689 (lambda* (#:key inputs outputs #:allow-other-keys)
6690 ;; Make sure 'gnome-session' finds the 'gsettings' program.
6691 (let ((glib (assoc-ref inputs "glib:bin"))
6692 (out (assoc-ref outputs "out")))
6693 (wrap-program (string-append out "/bin/gnome-session")
6694 `("PATH" ":" prefix (,(string-append glib "/bin"))))
6698 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
6699 "-Dman=false" ; FIXME: disabled because of docbook validation error
6700 "-Dsystemd_journal=false")))
6701 (build-system meson-build-system)
6703 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6704 ("pkg-config" ,pkg-config)
6705 ("intltool" ,intltool)
6706 ("xsltproc" ,libxslt)
6707 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
6708 ("docbook-xsl" ,docbook-xsl)
6709 ("docbook-xml" ,docbook-xml)
6712 `(("elogind" ,elogind)
6713 ("gnome-desktop" ,gnome-desktop)
6714 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6716 ("json-glib" ,json-glib)
6718 ("libxcomposite" ,libxcomposite)
6719 ("libxtst" ,libxtst)
6722 ("xtrans" ,xtrans)))
6723 (synopsis "Session manager for GNOME")
6725 "This package contains the GNOME session manager, as well as a
6726 configuration program to choose applications starting on login.")
6727 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
6728 (license license:gpl2+)))
6736 (uri (string-append "mirror://gnome/sources/" name "/"
6737 (version-major+minor version) "/"
6738 name "-" version ".tar.xz"))
6741 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
6742 (build-system gnu-build-system)
6745 (modify-phases %standard-phases
6749 ;; The test suite requires a running X server.
6750 (system "Xvfb :1 &")
6751 (setenv "DISPLAY" ":1")
6753 ;; For the missing /etc/machine-id.
6754 (setenv "DBUS_FATAL_WARNINGS" "0")
6756 ;; Our mozjs-38 package does not compile the required Intl API
6757 ;; support for these failing tests.
6758 (substitute* "installed-tests/js/testLocale.js"
6759 ((".*toBeDefined.*") "")
6760 ((".*expect\\(datestr\\).*") ""))
6761 (substitute* "installed-tests/scripts/testCommandLine.sh"
6766 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
6767 ("pkg-config" ,pkg-config)
6768 ("xmllint" ,libxml2)
6770 ("dbus-launch" ,dbus)
6771 ("dconf" ,dconf) ; required to properly store settings
6772 ("uuidgen" ,util-linux)
6773 ("xvfb" ,xorg-server-for-tests)))
6775 ;; These are all in the Requires.private field of gjs-1.0.pc.
6777 ("gobject-introspection" ,gobject-introspection)
6778 ("mozjs" ,mozjs-60)))
6781 ("readline" ,readline)))
6782 (synopsis "Javascript bindings for GNOME")
6783 (home-page "https://live.gnome.org/Gjs")
6785 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
6786 javascript engine and the GObject introspection framework.")
6787 (license license:gpl2+)))
6789 (define-public gedit
6795 (uri (string-append "mirror://gnome/sources/" name "/"
6796 (version-major+minor version) "/"
6797 name "-" version ".tar.xz"))
6800 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
6801 (build-system meson-build-system)
6805 ;; Otherwise, the RUNPATH will lack the final path component.
6806 (list (string-append "-Dc_link_args=-Wl,-rpath="
6807 (assoc-ref %outputs "out") "/lib/gedit"))
6809 ;; XXX: Generated .h files are sometimes used before being built.
6810 #:parallel-build? #f
6813 (modify-phases %standard-phases
6814 (add-after 'unpack 'skip-gtk-update-icon-cache
6815 ;; Don't create 'icon-theme.cache'.
6817 (substitute* "build-aux/meson/post_install.py"
6818 (("gtk-update-icon-cache") (which "true")))
6820 (add-after 'unpack 'patch-libgd-fetch
6821 (lambda* (#:key inputs #:allow-other-keys)
6822 (let ((libgd (assoc-ref inputs "libgd")))
6823 ;; Calling git is unnecessary because libgd is fetched as a
6824 ;; native input to this package.
6825 (substitute* "meson.build"
6827 (copy-recursively libgd "subprojects/libgd")
6829 (add-after 'install 'wrap-gedit
6830 (lambda* (#:key inputs outputs #:allow-other-keys)
6831 (let ((out (assoc-ref outputs "out"))
6832 (gtksourceview (assoc-ref inputs "gtksourceview"))
6833 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6834 (python-path (getenv "PYTHONPATH")))
6835 (wrap-program (string-append out "/bin/gedit")
6837 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6838 `("PYTHONPATH" ":" prefix (,python-path))
6839 ;; For language-specs.
6840 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
6844 `(("dconf" ,dconf)))
6846 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6847 ("intltool" ,intltool)
6848 ("itstool" ,itstool)
6849 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6850 ("gobject-introspection" ,gobject-introspection)
6855 (url "https://gitlab.gnome.org/GNOME/libgd")
6856 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6857 (file-name (git-file-name "libgd" version))
6859 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
6860 ("pkg-config" ,pkg-config)))
6865 ("gtksourceview" ,gtksourceview)
6866 ("libpeas" ,libpeas)
6867 ("libxml2" ,libxml2)
6868 ("iso-codes" ,iso-codes)
6869 ("python-pygobject" ,python-pygobject)
6871 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6874 ("adwaita-icon-theme" ,adwaita-icon-theme)
6875 ("libsoup" ,libsoup)
6876 ("gnome-desktop" ,gnome-desktop)))
6877 (home-page "https://wiki.gnome.org/Apps/Gedit")
6878 (synopsis "GNOME text editor")
6879 (description "While aiming at simplicity and ease of use, gedit is a
6880 powerful general purpose text editor.")
6881 (license license:gpl2+)))
6883 (define-public zenity
6889 (uri (string-append "mirror://gnome/sources/zenity/"
6890 (version-major+minor version) "/"
6891 "zenity-" version ".tar.xz"))
6894 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
6895 (build-system gnu-build-system)
6897 `(("gettext" ,gettext-minimal)
6898 ("itstool" ,itstool)
6899 ("pkg-config" ,pkg-config)))
6901 `(("libnotify" ,libnotify)
6902 ("webkitgtk" ,webkitgtk)))
6903 (synopsis "Display graphical dialog boxes from shell scripts")
6904 (home-page "https://www.gnome.org")
6906 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6907 to display dialog boxes from the commandline and shell scripts.")
6908 (license license:lgpl2.0+)))
6910 (define-public mutter
6916 (uri (string-append "mirror://gnome/sources/" name "/"
6917 (version-major+minor version) "/"
6918 name "-" version ".tar.xz"))
6921 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
6922 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6923 ;; versions of cogl and clutter. As a result, many of the inputs,
6924 ;; propagated-inputs, and configure flags used in cogl and clutter are
6925 ;; needed here as well.
6926 (build-system meson-build-system)
6928 '(;; XXX: All mutter tests fail with the following error:
6929 ;; Settings schema 'org.gnome.mutter' is not installed
6933 ;; TODO: Enable profiler when Sysprof is packaged.
6934 (list "-Dprofiler=false"
6935 ;; Otherwise, the RUNPATH will lack the final path component.
6936 (string-append "-Dc_link_args=-Wl,-rpath="
6937 (assoc-ref %outputs "out") "/lib:"
6938 (assoc-ref %outputs "out") "/lib/mutter-5")
6940 ;; The following flags are needed for the bundled clutter
6941 (string-append "-Dxwayland_path="
6942 (assoc-ref %build-inputs "xorg-server-xwayland")
6945 ;; the remaining flags are needed for the bundled cogl
6946 (string-append "-Dopengl_libname="
6947 (assoc-ref %build-inputs "mesa")
6949 #:phases (modify-phases %standard-phases
6950 (add-after 'unpack 'fix-build-with-mesa-20
6952 ;; Mimic upstream commit a444a4c5f58ea516ad for
6953 ;; compatibility with Mesa 20. Remove for 3.36.
6954 (substitute* '("src/backends/meta-egl-ext.h"
6955 "src/backends/meta-egl.c"
6956 "src/backends/meta-egl.h")
6957 (("#include <EGL/eglext\\.h>" all)
6958 (string-append all "\n#include <EGL/eglmesaext.h>")))
6959 (substitute* "cogl/cogl/meson.build"
6960 (("#include <EGL/eglext\\.h>" all)
6961 (string-append all "\\n#include <EGL/eglmesaext.h>")))
6964 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6965 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6966 ("gobject-introspection" ,gobject-introspection)
6967 ("intltool" ,intltool)
6968 ("pkg-config" ,pkg-config)
6969 ("xorg-server" ,xorg-server-for-tests)
6971 ("autoconf" ,autoconf)
6972 ("automake" ,automake)
6973 ("libtool" ,libtool)))
6975 `(;; libmutter.pc refers to these:
6976 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6978 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6981 ("gdk-pixbuf" ,gdk-pixbuf)
6983 ("json-glib" ,json-glib)
6984 ("libinput" ,libinput)
6986 ("libxcomposite" ,libxcomposite)
6987 ("libxdamage" ,libxdamage)
6988 ("libxext" ,libxext)
6989 ("libxfixes" ,libxfixes)
6990 ("libxkbcommon" ,libxkbcommon)
6991 ("libxrandr" ,libxrandr)
6995 ("xinput" ,xinput)))
6997 `(("elogind" ,elogind)
6998 ("gnome-desktop" ,gnome-desktop)
6999 ("gnome-settings-daemon" ,gnome-settings-daemon)
7000 ("libcanberra-gtk" ,libcanberra)
7001 ("libgudev" ,libgudev)
7004 ("libwacom" ,libwacom)
7005 ("libxkbfile" ,libxkbfile)
7006 ("libxrandr" ,libxrandr)
7007 ("libxtst" ,libxtst)
7008 ("pipewire" ,pipewire)
7009 ("startup-notification" ,startup-notification)
7010 ("upower-glib" ,upower)
7011 ("xkeyboard-config" ,xkeyboard-config)
7012 ("xorg-server-xwayland" ,xorg-server-xwayland)
7013 ("zenity" ,zenity)))
7014 (synopsis "Window and compositing manager")
7015 (home-page "https://www.gnome.org")
7017 "Mutter is a window and compositing manager that displays and manages your
7018 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7019 Clutter toolkit with solid window-management logic inherited from the Metacity
7021 (license license:gpl2+)))
7023 (define-public gnome-online-accounts
7025 (name "gnome-online-accounts")
7029 (uri (string-append "mirror://gnome/sources/" name "/"
7030 (version-major+minor version) "/"
7031 name "-" version ".tar.xz"))
7034 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7035 (outputs '("out" "lib"))
7036 (build-system glib-or-gtk-build-system)
7039 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7041 (modify-phases %standard-phases
7042 (add-before 'configure 'patch-libgoa-output
7043 (lambda* (#:key outputs #:allow-other-keys)
7044 (let ((lib (assoc-ref outputs "lib")))
7045 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7047 (("@exec_prefix@") lib)
7048 (("@libdir@") (string-append lib "/lib"))
7049 (("@includedir@") (string-append lib "/include"))
7050 (("@datadir@") (string-append lib "/share")))
7051 ;; Make sure gobject-introspection knows about the output
7052 ;; too (see <https://bugs.gnu.org/36535>).
7053 (setenv "outputs" "out lib")
7056 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7057 ("gobject-introspection" ,gobject-introspection)
7058 ("intltool" ,intltool)
7059 ("pkg-config" ,pkg-config)
7061 ("xsltproc" ,libxslt)))
7063 `(("glib" ,glib) ; required by goa-1.0.pc
7064 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7066 `(("docbook-xsl" ,docbook-xsl)
7067 ("json-glib" ,json-glib)
7068 ("libsecret" ,libsecret)
7070 ("webkitgtk" ,webkitgtk)))
7071 (synopsis "Single sign-on framework for GNOME")
7072 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7074 "GNOME Online Accounts provides interfaces so that applications and
7075 libraries in GNOME can access the user's online accounts. It has providers for
7076 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7077 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7078 (license license:lgpl2.0+)))
7080 (define-public evolution-data-server
7082 (name "evolution-data-server")
7086 (uri (string-append "mirror://gnome/sources/" name "/"
7087 (version-major+minor version) "/"
7088 name "-" version ".tar.xz"))
7089 (patches (search-patches "evolution-data-server-locales.patch"
7090 "evolution-data-server-libical-compat.patch"))
7093 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7094 (build-system cmake-build-system)
7097 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7098 (runpaths (map (lambda (s)
7099 (string-append lib "/evolution-data-server/" s))
7100 '("addressbook-backends" "calendar-backends"
7101 "camel-providers" "credential-modules"
7102 "registry-modules"))))
7103 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7104 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7105 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7106 "-DENABLE_VALA_BINDINGS=ON"
7107 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7108 (string-append lib "/evolution-data-server;")
7109 (string-join runpaths ";"))
7110 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7112 (modify-phases %standard-phases
7113 (add-after 'unpack 'disable-failing-tests
7115 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7116 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7117 (delete-file-recursively "tests/book-migration")
7118 (substitute* "tests/CMakeLists.txt"
7119 (("add_subdirectory\\(book-migration\\)") ""))
7121 (add-after 'unpack 'patch-paths
7123 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7124 "tests/libedata-book/data-test-utils.c"
7125 "tests/libedata-book/test-book-cache-utils.c"
7126 "tests/libedata-cal/test-cal-cache-utils.c")
7127 (("/bin/rm") (which "rm")))
7129 (add-before 'configure 'dont-override-rpath
7131 (substitute* "CMakeLists.txt"
7132 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7133 ;; Remove it so the configure flag is respected.
7134 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7137 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7138 ("gobject-introspection" ,gobject-introspection)
7140 ("intltool" ,intltool)
7141 ("pkg-config" ,pkg-config)
7143 ("python" ,python-wrapper)))
7145 ;; These are all in the Requires field of .pc files.
7147 ("libical" ,libical)
7148 ("libsecret" ,libsecret)
7149 ("libsoup" ,libsoup)
7151 ("sqlite" ,sqlite)))
7155 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7156 ("json-glib" ,json-glib)
7157 ("libcanberra" ,libcanberra)
7158 ("libgweather" ,libgweather)
7159 ("mit-krb5" ,mit-krb5)
7160 ("openldap" ,openldap)
7161 ("webkitgtk" ,webkitgtk)))
7162 (synopsis "Store address books and calendars")
7163 (home-page "https://wiki.gnome.org/Apps/Evolution")
7165 "This package provides a unified backend for programs that work with
7166 contacts, tasks, and calendar information. It was originally developed for
7167 Evolution (hence the name), but is now used by other packages as well.")
7168 (license license:lgpl2.0)))
7170 (define-public caribou
7176 (uri (string-append "mirror://gnome/sources/" name "/"
7177 (version-major+minor version) "/"
7178 name "-" version ".tar.xz"))
7181 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7182 (build-system glib-or-gtk-build-system)
7185 (modify-phases %standard-phases
7188 (lambda* (#:key outputs #:allow-other-keys)
7189 (let ((out (assoc-ref outputs "out")))
7190 ;; Use absolute shared library path in Caribou-1.0.typelib.
7191 (substitute* "libcaribou/Makefile"
7192 (("--shared-library=libcaribou.so")
7193 (string-append "--shared-library="
7194 out "/lib/libcaribou.so")))
7196 (add-after 'install 'wrap-programs
7197 (lambda* (#:key outputs #:allow-other-keys)
7198 (let* ((out (assoc-ref outputs "out"))
7199 (python-path (getenv "PYTHONPATH"))
7200 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7204 `("PYTHONPATH" ":" prefix (,python-path))
7205 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7206 (list (string-append out "/bin/caribou-preferences")
7207 (string-append out "/libexec/antler-keyboard"))))
7210 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7211 ("gobject-introspection" ,gobject-introspection)
7212 ("intltool" ,intltool)
7213 ("pkg-config" ,pkg-config)
7216 ("xsltproc" ,libxslt)))
7218 ;; caribou-1.0.pc refers to all these.
7219 `(("libgee" ,libgee)
7220 ("libxklavier" ,libxklavier)
7221 ("libxtst" ,libxtst)
7224 `(("clutter" ,clutter)
7227 ("python-pygobject" ,python-pygobject)))
7228 (synopsis "Text entry and UI navigation application")
7229 (home-page "https://wiki.gnome.org/Projects/Caribou")
7231 "Caribou is an input assistive technology intended for switch and pointer
7233 (license license:lgpl2.1)))
7235 (define-public network-manager
7237 (name "network-manager")
7241 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7242 (version-major+minor version) "/"
7243 "NetworkManager-" version ".tar.xz"))
7244 (patches (search-patches "network-manager-plugin-path.patch"))
7247 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7248 (modules '((guix build utils)))
7251 (substitute* "src/devices/wwan/nm-modem-manager.c"
7252 (("systemd") "elogind"))
7254 (build-system meson-build-system)
7256 "doc")) ; 8 MiB of gtk-doc HTML
7259 (let ((out (assoc-ref %outputs "out"))
7260 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7263 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7265 (string-append "-Dc_link_args=-Wl,-rpath="
7267 out "/lib/NetworkManager/" ,version)
7268 "-Dsystemd_journal=false"
7269 "-Dsession_tracking=elogind"
7270 "-Dsuspend_resume=elogind"
7271 "-Dsystemdsystemunitdir=no"
7272 "-Dsession_tracking_consolekit=false"
7281 "--localstatedir=/var"
7282 (string-append "-Dudev_dir="
7284 (string-append "-Ddbus_conf_dir="
7285 out "/etc/dbus-1/system.d")
7287 (string-append "-Ddhclient=" dhclient)))
7289 (modify-phases %standard-phases
7290 (add-before 'configure 'pre-configure
7292 ;; These tests try to test aspects of network-manager's
7293 ;; functionality within restricted containers, but they don't
7294 ;; cope with being already in the Guix build jail as that jail
7295 ;; lacks some features that they would like to proxy over (like
7297 (substitute* "src/platform/tests/meson.build"
7298 ((".*test-address-linux.*") "")
7299 ((".*test-cleanup-linux.*") "")
7300 ((".*test-link-linux.*") "")
7301 ((".*test-route-linux.*") ""))
7302 (substitute* "src/devices/tests/meson.build"
7303 ((".*test-acd.*") "")
7304 ((".*test-lldp.*") ""))
7306 (add-after 'unpack 'patch-docbook-xml
7307 (lambda* (#:key inputs #:allow-other-keys)
7308 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7309 "/xml/dtd/docbook")))
7310 (substitute* (find-files "." ".*\\.(xsl|xml)")
7311 (("http://.*/docbookx\\.dtd")
7312 (string-append xmldoc "/docbookx.dtd")))
7314 (add-before 'check 'pre-check
7316 ;; For the missing /etc/machine-id.
7317 (setenv "DBUS_FATAL_WARNINGS" "0")
7319 (add-before 'install 'no-polkit-magic
7320 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7322 (setenv "PKEXEC_UID" "something")
7324 (add-after 'install 'move-doc
7325 (lambda* (#:key outputs #:allow-other-keys)
7326 (let ((out (assoc-ref outputs "out"))
7327 (doc (assoc-ref outputs "doc")))
7328 (mkdir-p (string-append doc "/share"))
7329 (for-each (lambda (directory)
7330 (copy-recursively (string-append out directory)
7331 (string-append doc directory))
7332 (delete-file-recursively
7333 (string-append out directory)))
7334 '("/share/doc" "/share/gtk-doc"))
7339 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7340 ("gtk-doc" ,gtk-doc)
7341 ("gobject-introspection" ,gobject-introspection)
7342 ("docbook-xml" ,docbook-xml)
7343 ("docbook-xsl" ,docbook-xsl)
7344 ("intltool" ,intltool)
7345 ("libxslt" ,libxslt)
7346 ("libxml2" ,libxml2)
7347 ("pkg-config" ,pkg-config)
7350 ("python" ,python-wrapper)
7351 ("python-dbus" ,python-dbus)
7352 ("python-pygobject" ,python-pygobject)))
7355 ("cyrus-sasl" ,cyrus-sasl)
7356 ("dbus-glib" ,dbus-glib)
7357 ("dnsmasq" ,dnsmasq)
7360 ("iptables" ,iptables)
7361 ("isc-dhcp" ,isc-dhcp)
7362 ("iwd" ,iwd) ; wpa_supplicant alternative
7363 ("jansson" ,jansson)
7365 ("libgcrypt" ,libgcrypt)
7366 ("libgudev" ,libgudev)
7369 ("libsoup" ,libsoup)
7370 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7371 ("modem-manager" ,modem-manager)
7372 ("newt" ,newt) ;for the 'nmtui' console interface
7373 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7376 ("readline" ,readline)
7377 ("util-linux" ,util-linux)
7378 ("elogind" ,elogind)))
7379 (synopsis "Network connection manager")
7380 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7382 "NetworkManager is a system network service that manages your network
7383 devices and connections, attempting to keep active network connectivity when
7384 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7385 devices, and provides VPN integration with a variety of different VPN
7387 ;; “This NetworkManager project consists of the daemon, client tools, and
7388 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7390 (license (list license:gpl2+
7392 (properties '((upstream-name . "NetworkManager")))))
7394 (define-public network-manager-openvpn
7396 (name "network-manager-openvpn")
7401 "mirror://gnome/sources/NetworkManager-openvpn/"
7402 (version-major+minor version)
7403 "/NetworkManager-openvpn-" version ".tar.xz"))
7406 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7407 (build-system gnu-build-system)
7409 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7411 (modify-phases %standard-phases
7412 (add-after 'configure 'patch-path
7413 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7414 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7416 (modprobe (string-append (assoc-ref inputs "kmod")
7418 (pretty-ovpn (string-append "\"" ovpn "\"")))
7422 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7423 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7424 (("\"/sbin/openvpn\"") pretty-ovpn)
7425 (("/sbin/modprobe") modprobe)))
7426 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7429 `(("pkg-config" ,pkg-config)
7430 ("intltool" ,intltool)))
7434 ("openvpn" ,openvpn)
7435 ("network-manager" ,network-manager)
7437 ("libsecret" ,libsecret)))
7438 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7439 (synopsis "OpenVPN plug-in for NetworkManager")
7441 "This extension of NetworkManager allows it to take care of connections
7442 to virtual private networks (VPNs) via OpenVPN.")
7443 (license license:gpl2+)
7444 (properties `((upstream-name . "NetworkManager-openvpn")))))
7446 (define-public network-manager-vpnc
7448 (name "network-manager-vpnc")
7453 "mirror://gnome/sources/NetworkManager-vpnc/"
7454 (version-major+minor version)
7455 "/NetworkManager-vpnc-" version ".tar.xz"))
7458 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7459 (build-system gnu-build-system)
7461 `(#:configure-flags '("--enable-absolute-paths"
7462 "--localstatedir=/var"
7463 ;; libnm-glib has been removed from network-manager
7464 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7465 "--with-libnm-glib=no")
7467 (modify-phases %standard-phases
7468 (add-after 'configure 'patch-path
7469 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7470 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7472 (modprobe (string-append (assoc-ref inputs "kmod")
7474 (pretty-ovpn (string-append "\"" vpnc "\"")))
7475 (substitute* "src/nm-vpnc-service.c"
7476 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7477 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7478 (("\"/sbin/vpnc\"") pretty-ovpn)
7479 (("/sbin/modprobe") modprobe)))
7482 `(("pkg-config" ,pkg-config)
7483 ("intltool" ,intltool)))
7488 ("network-manager" ,network-manager)
7490 ("libsecret" ,libsecret)))
7491 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7492 (synopsis "VPNC plug-in for NetworkManager")
7494 "Support for configuring virtual private networks based on VPNC.
7495 Compatible with Cisco VPN concentrators configured to use IPsec.")
7496 (license license:gpl2+)
7497 (properties `((upstream-name . "NetworkManager-vpnc")))))
7499 (define-public network-manager-openconnect
7501 (name "network-manager-openconnect")
7506 "mirror://gnome/sources/NetworkManager-openconnect/"
7507 (version-major+minor version)
7508 "/NetworkManager-openconnect-" version ".tar.xz"))
7511 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7512 (build-system gnu-build-system)
7514 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7516 (modify-phases %standard-phases
7517 (add-after 'configure 'patch-path
7518 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7519 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7520 "/sbin/openconnect"))
7521 (modprobe (string-append (assoc-ref inputs "kmod")
7523 (pretty-ovpn (string-append "\"" openconnect "\"")))
7524 (substitute* "src/nm-openconnect-service.c"
7525 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7526 (("/sbin/modprobe") modprobe)))
7529 `(("intltool" ,intltool)
7531 ("pkg-config" ,pkg-config)))
7536 ("libsecret" ,libsecret)
7537 ("libxml2" ,libxml2)
7539 ("network-manager" ,network-manager)
7540 ("openconnect" ,openconnect)))
7541 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7542 (synopsis "OpenConnect plug-in for NetworkManager")
7544 "This extension of NetworkManager allows it to take care of connections
7545 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7546 Cisco's AnyConnect SSL VPN.")
7547 (license license:gpl2+)
7548 (properties `((upstream-name . "NetworkManager-openconnect")
7550 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7551 ;; file refers to account "nm-openconnect". Specify it here
7552 ;; so that 'network-manager-service-type' creates it.
7553 (user-accounts . ("nm-openconnect"))))))
7555 (define-public mobile-broadband-provider-info
7557 (name "mobile-broadband-provider-info")
7558 (version "20190116")
7562 "mirror://gnome/sources/"
7563 "mobile-broadband-provider-info/" version "/"
7564 "mobile-broadband-provider-info-" version ".tar.xz"))
7567 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7568 (build-system gnu-build-system)
7570 `(#:tests? #f)) ; no tests
7571 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7572 (synopsis "Database of broadband connection configuration")
7573 (description "Database of broadband connection configuration.")
7574 (license license:public-domain)))
7576 (define-public network-manager-applet
7578 (name "network-manager-applet")
7582 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7583 (version-major+minor version) "/"
7584 "network-manager-applet-" version ".tar.xz"))
7587 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
7588 (build-system meson-build-system)
7590 '(#:glib-or-gtk? #t))
7592 `(("intltool" ,intltool)
7593 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7594 ("gobject-introspection" ,gobject-introspection)
7595 ("gtk-doc" ,gtk-doc)
7596 ("pkg-config" ,pkg-config)))
7598 ;; libnm-gtk.pc refers to all these.
7599 `(("dbus-glib" ,dbus-glib)
7601 ("network-manager" ,network-manager)
7602 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7603 ("libnma" ,libnma)))
7606 ("libgudev" ,libgudev)
7607 ("libnotify" ,libnotify)
7608 ("libsecret" ,libsecret)
7609 ("libselinux" ,libselinux)
7610 ("jansson" ,jansson) ; for team support
7611 ("modem-manager" ,modem-manager)))
7612 (synopsis "Applet for managing network connections")
7613 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7615 "This package contains a systray applet for NetworkManager. It displays
7616 the available networks and allows users to easily switch between them.")
7617 (license license:gpl2+)))
7619 (define-public libxml++
7625 (uri (string-append "mirror://gnome/sources/" name "/"
7626 (version-major+minor version) "/"
7627 name "-" version ".tar.xz"))
7630 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
7631 (build-system gnu-build-system)
7632 ;; libxml++-3.0.pc refers to all these.
7634 `(("libxml2" ,libxml2)
7635 ("glibmm" ,glibmm)))
7638 ("pkg-config" ,pkg-config)))
7639 (home-page "http://libxmlplusplus.sourceforge.net/")
7640 (synopsis "C++ wrapper for XML parser library libxml2")
7642 "This package provides a C++ wrapper for the XML parser library
7644 (license license:lgpl2.1+)))
7646 (define-public libxml++-2
7653 (uri (string-append "mirror://gnome/sources/" name "/"
7654 (version-major+minor version) "/"
7655 name "-" version ".tar.xz"))
7658 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
7666 (uri (string-append "mirror://gnome/sources/" name "/"
7667 (version-major+minor version) "/"
7668 name "-" version ".tar.xz"))
7671 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
7672 (patches (search-patches "gdm-default-session.patch"))))
7673 (build-system glib-or-gtk-build-system)
7676 `("--without-plymouth"
7677 "--disable-systemd-journal"
7679 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
7680 ;; instead of having to replace it (i.e., stopping the mingetty
7681 ;; service for TTY 1 before starting GDM).
7682 "--with-initial-vt=7"
7684 ;; Use '/etc/environment' for locale settings instead of the
7685 ;; systemd-specific '/etc/locale.conf'.
7686 "--with-lang-file=/etc/environment"
7688 ,(string-append "--with-udevdir="
7689 (assoc-ref %outputs "out") "/lib/udev")
7691 "--localstatedir=/var"
7692 ,(string-append "--with-default-path="
7693 (string-join '("/run/setuid-programs"
7694 "/run/current-system/profile/bin"
7695 "/run/current-system/profile/sbin")
7697 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
7698 ;; XDG_DATA_DIRS so that it finds its schemas.
7699 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
7701 (modify-phases %standard-phases
7703 'configure 'pre-configure
7704 (lambda* (#:key inputs outputs #:allow-other-keys)
7705 ;; We don't have <systemd/sd-daemon.h>.
7706 (substitute* '("common/gdm-log.c"
7707 "daemon/gdm-server.c"
7708 "daemon/gdm-session-worker.c"
7709 "daemon/gdm-session-worker-job.c")
7710 (("#include <systemd/sd-daemon\\.h>") ""))
7711 ;; Use elogind for sd-login.
7712 (substitute* '("common/gdm-common.c"
7713 "daemon/gdm-local-display-factory.c"
7714 "daemon/gdm-manager.c"
7715 "libgdm/gdm-user-switching.c")
7716 (("#include <systemd/sd-login\\.h>")
7717 "#include <elogind/sd-login.h>"))
7718 ;; Check for elogind.
7719 (substitute* '("configure")
7722 ;; Look for system-installed sessions in
7723 ;; /run/current-system/profile/share.
7724 (substitute* '("libgdm/gdm-sessions.c"
7725 "daemon/gdm-session.c"
7726 "daemon/gdm-display.c"
7727 "daemon/gdm-launch-environment.c")
7729 "\"/run/current-system/profile/share/x")
7730 (("DATADIR \"/wayland")
7731 "\"/run/current-system/profile/share/wayland")
7732 (("DATADIR \"/gnome")
7733 "\"/run/current-system/profile/share/gnome"))
7734 (let ((propagate '("GDM_CUSTOM_CONF"
7738 ;; XXX: Remove this once GNOME Shell is
7739 ;; a dependency of GDM.
7741 (substitute* "daemon/gdm-session.c"
7742 (("set_up_session_environment \\(self\\);")
7743 (apply string-append
7744 "set_up_session_environment (self);\n"
7747 "gdm_session_set_environment_variable "
7748 "(self, \"" name "\","
7749 "g_getenv (\"" name "\"));\n"))
7751 ;; Find the configuration file using an environment variable.
7752 (substitute* '("common/gdm-settings.c")
7753 (("GDM_CUSTOM_CONF")
7754 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
7755 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
7756 " : GDM_CUSTOM_CONF)")))
7757 ;; Use service-supplied path to X.
7758 (substitute* '("daemon/gdm-server.c")
7759 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
7760 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
7761 (substitute* '("daemon/gdm-wayland-session.c"
7762 "daemon/gdm-x-session.c")
7763 (("\"dbus-daemon\"")
7764 "g_getenv (\"GDM_DBUS_DAEMON\")")
7766 "g_getenv (\"GDM_X_SERVER\")")
7767 (("GDMCONFDIR \"/Xsession\"")
7768 "g_getenv (\"GDM_X_SESSION\")"))
7769 ;; Use an absolute path for GNOME Session.
7770 (substitute* "daemon/gdm-launch-environment.c"
7771 (("\"gnome-session\"")
7772 (string-append "\"" (assoc-ref inputs "gnome-session")
7773 "/bin/gnome-session\"")))
7774 ;; Do not automatically select the placeholder session.
7775 (substitute* "daemon/gdm-session.c"
7776 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
7777 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
7778 "(g_strcmp0(search_dirs[i], \""
7779 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
7781 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
7782 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
7783 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
7785 ;; GDM requires that there be at least one desktop entry
7786 ;; file. This phase installs a hidden one that simply
7787 ;; fails. This enables users to use GDM with a
7788 ;; '~/.xsession' script with no other desktop entry files.
7789 ;; See <https://bugs.gnu.org/35068>.
7790 (add-after 'install 'install-placeholder-desktop-entry
7791 (lambda* (#:key inputs outputs #:allow-other-keys)
7792 (let* ((out (assoc-ref outputs "out"))
7793 (sessions (string-append out "/share/gdm/BuiltInSessions"))
7794 (fail (string-append sessions "/fail.desktop")))
7796 (with-output-to-file fail
7800 '("[Desktop Entry]\n"
7802 "Type=Application\n"
7804 "Comment=This session fails immediately.\n"
7808 ;; GDM needs GNOME Session to run these applications. We link
7809 ;; their autostart files in `share/gdm/greeter/autostart'
7810 ;; because GDM explicitly tells GNOME Session to look there.
7812 ;; XXX: GNOME Shell should be linked here too, but currently
7813 ;; GNOME Shell depends on GDM.
7814 (add-after 'install 'link-autostart-files
7815 (lambda* (#:key inputs outputs #:allow-other-keys)
7816 (let* ((out (assoc-ref outputs "out"))
7817 (autostart (string-append out "/share/gdm/"
7818 "greeter/autostart"))
7819 (settings (assoc-ref inputs "gnome-settings-daemon")))
7821 (with-directory-excursion autostart
7822 (for-each (lambda (desktop)
7823 (symlink desktop (basename desktop)))
7824 (find-files (string-append settings "/etc/xdg"))))
7828 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7829 ("gobject-introspection" ,gobject-introspection)
7830 ("intltool" ,intltool)
7831 ("itstool" ,itstool)
7832 ("pkg-config" ,pkg-config)
7833 ("xmllint" ,libxml2)))
7835 `(("accountsservice" ,accountsservice)
7836 ("check" ,check) ; for testing
7837 ("elogind" ,elogind)
7838 ("gnome-session" ,gnome-session)
7839 ("gnome-settings-daemon" ,gnome-settings-daemon)
7841 ("iso-codes" ,iso-codes)
7842 ("libcanberra" ,libcanberra)
7843 ("linux-pam" ,linux-pam)))
7844 (synopsis "Display manager for GNOME")
7845 (home-page "https://wiki.gnome.org/Projects/GDM/")
7847 "GNOME Display Manager is a system service that is responsible for
7848 providing graphical log-ins and managing local and remote displays.")
7849 (license license:gpl2+)))
7851 (define-public libgtop
7857 (uri (string-append "mirror://gnome/sources/libgtop/"
7858 (version-major+minor version) "/"
7859 "libgtop-" version ".tar.xz"))
7862 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
7863 (build-system gnu-build-system)
7865 `(("gobject-introspection" ,gobject-introspection)
7866 ("intltool" ,intltool)
7868 ("pkg-config" ,pkg-config)))
7870 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7871 (synopsis "Portable system access library")
7872 (home-page "https://www.gnome.org/")
7874 "LibGTop is a library to get system specific data such as CPU and memory
7875 usage and information about running processes.")
7876 (license license:gpl2+)))
7878 (define-public gnome-bluetooth
7880 (name "gnome-bluetooth")
7884 (uri (string-append "mirror://gnome/sources/" name "/"
7885 (version-major+minor version) "/"
7886 name "-" version ".tar.xz"))
7889 "1bvbxcsjkyl0givy8nfm7112bq3c0vn1v89fdk2pip714dsfcrz8"))))
7890 (build-system meson-build-system)
7892 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
7893 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7894 ("gobject-introspection" ,gobject-introspection)
7895 ("intltool" ,intltool)
7896 ("pkg-config" ,pkg-config)
7897 ("xmllint" ,libxml2)))
7899 ;; gnome-bluetooth-1.0.pc refers to all these.
7904 ("libcanberra" ,libcanberra)
7905 ("libnotify" ,libnotify)))
7906 (synopsis "GNOME Bluetooth subsystem")
7907 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7909 "This package contains tools for managing and manipulating Bluetooth
7910 devices using the GNOME desktop.")
7911 (license license:lgpl2.1+)))
7913 (define-public gnome-control-center
7915 (name "gnome-control-center")
7919 (uri (string-append "mirror://gnome/sources/" name "/"
7920 (version-major+minor version) "/"
7921 name "-" version ".tar.xz"))
7924 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
7925 (build-system meson-build-system)
7929 (list "-Dcheese=false"
7930 (string-append "-Dgnome_session_libexecdir="
7931 (assoc-ref %build-inputs "gnome-session")
7934 (modify-phases %standard-phases
7935 (add-before 'configure 'patch-paths
7936 (lambda* (#:key inputs #:allow-other-keys)
7937 (let ((libc (assoc-ref inputs "libc"))
7938 (tzdata (assoc-ref inputs "tzdata"))
7939 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
7940 (nm-applet (assoc-ref inputs "network-manager-applet"))
7941 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
7942 (substitute* "panels/datetime/tz.h"
7943 (("/usr/share/zoneinfo/zone.tab")
7944 (string-append tzdata "/share/zoneinfo/zone.tab")))
7945 (substitute* "tests/datetime/test-endianess.c"
7946 (("/usr/share/locale")
7947 (string-append libc "/share/locale")))
7948 (substitute* "panels/region/cc-region-panel.c"
7949 (("\"gkbd-keyboard-display")
7950 (string-append "\"" libgnomekbd
7951 "/bin/gkbd-keyboard-display")))
7952 (substitute* '("panels/network/net-device-wifi.c"
7953 "panels/network/net-device.c"
7954 "panels/network/connection-editor/net-connection-editor.c")
7955 (("\"nm-connection-editor")
7956 (string-append "\"" nm-applet
7957 "/bin/nm-connection-editor")))
7958 (substitute* '("panels/user-accounts/run-passwd.c")
7959 (("/usr/bin/passwd")
7960 "/run/setuid-programs/passwd"))
7961 (substitute* "panels/info/cc-info-overview-panel.c"
7962 (("DATADIR \"/gnome/gnome-version.xml\"")
7963 (string-append "\"" gnome-desktop
7964 "/share/gnome/gnome-version.xml\"")))
7966 (add-after 'unpack 'skip-gtk-update-icon-cache
7967 ;; Don't create 'icon-theme.cache'.
7969 (substitute* "build-aux/meson/meson_post_install.py"
7970 (("gtk-update-icon-cache") (which "true")))
7973 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7974 ("intltool" ,intltool)
7975 ("pkg-config" ,pkg-config)
7976 ("xsltproc" ,libxslt)
7978 ("hicolor-icon-theme" ,hicolor-icon-theme)
7979 ("python-dbusmock" ,python-dbusmock)
7980 ("xorg-server" ,xorg-server-for-tests)))
7982 `(("accountsservice" ,accountsservice)
7983 ("clutter-gtk" ,clutter-gtk)
7984 ("colord-gtk" ,colord-gtk)
7987 ("docbook-xsl" ,docbook-xsl)
7988 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7989 ("gnome-bluetooth" ,gnome-bluetooth)
7990 ("gnome-desktop" ,gnome-desktop)
7991 ("gnome-online-accounts" ,gnome-online-accounts)
7992 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7993 ("gnome-session" ,gnome-session)
7994 ("gnome-settings-daemon" ,gnome-settings-daemon)
7998 ("libcanberra" ,libcanberra)
7999 ("libgnomekbd" ,libgnomekbd)
8000 ("libgudev" ,libgudev)
8001 ("libgtop" ,libgtop)
8003 ("libpwquality" ,libpwquality)
8004 ("libsecret" ,libsecret)
8005 ("libsoup" ,libsoup)
8006 ("libxml2" ,libxml2)
8007 ("libwacom" ,libwacom)
8009 ("mit-krb5" ,mit-krb5)
8010 ("modem-manager" ,modem-manager)
8011 ("network-manager-applet" ,network-manager-applet)
8013 ("pulseaudio" ,pulseaudio)
8014 ("smbclient" ,samba)
8017 ("upower" ,upower)))
8018 (synopsis "Utilities to configure the GNOME desktop")
8019 (home-page "https://www.gnome.org/")
8021 "This package contains configuration applets for the GNOME desktop,
8022 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8023 properties, sound setup, desktop theme and background, user interface
8024 properties, screen resolution, and other GNOME parameters.")
8025 (license license:gpl2+)))
8027 (define-public gnome-shell
8029 (name "gnome-shell")
8033 (uri (string-append "mirror://gnome/sources/" name "/"
8034 (version-major+minor version) "/"
8035 name "-" version ".tar.xz"))
8038 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
8039 (patches (search-patches "gnome-shell-theme.patch"
8040 "gnome-shell-disable-test.patch"))
8041 (modules '((guix build utils)))
8044 ;; Copy images for use on the GDM log-in screen.
8045 (copy-file #$(file-append %artwork-repository
8046 "/slim/0.x/background.png")
8047 "data/theme/guix-background.png")
8048 (copy-file #$(file-append %artwork-repository
8049 "/logo/Guix-horizontal-white.svg")
8050 "data/theme/guix-logo.svg")
8052 (build-system meson-build-system)
8055 #:disallowed-references ((,glib "bin")
8059 (list "-Dsystemd=false"
8060 ;; Otherwise, the RUNPATH will lack the final path component.
8061 (string-append "-Dc_link_args=-Wl,-rpath="
8062 (assoc-ref %outputs "out")
8063 "/lib/gnome-shell"))
8065 #:modules ((guix build meson-build-system)
8070 (modify-phases %standard-phases
8071 (add-after 'unpack 'fix-keysdir
8072 (lambda* (#:key outputs #:allow-other-keys)
8073 (let* ((out (assoc-ref outputs "out"))
8074 (keysdir (string-append
8075 out "/share/gnome-control-center/keybindings")))
8076 (substitute* "meson.build"
8078 (string-append "keysdir = '" keysdir "'\n")))
8080 (add-before 'configure 'convert-logo-to-png
8081 (lambda* (#:key inputs #:allow-other-keys)
8082 ;; Convert the logo from SVG to PNG.
8083 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8084 "data/theme/guix-logo.svg")))
8085 (add-before 'configure 'record-absolute-file-names
8086 (lambda* (#:key inputs #:allow-other-keys)
8087 (substitute* "js/misc/ibusManager.js"
8089 (string-append "'" (assoc-ref inputs "ibus")
8090 "/bin/ibus-daemon'")))
8091 (substitute* "js/ui/status/keyboard.js"
8092 (("'gkbd-keyboard-display'")
8093 (string-append "'" (assoc-ref inputs "libgnomekbd")
8094 "/bin/gkbd-keyboard-display'")))
8096 (add-before 'check 'pre-check
8097 (lambda* (#:key inputs #:allow-other-keys)
8098 ;; Tests require a running X server.
8099 (system "Xvfb :1 &")
8100 (setenv "DISPLAY" ":1")
8102 (add-after 'install 'wrap-programs
8103 (lambda* (#:key inputs outputs #:allow-other-keys)
8104 (let ((out (assoc-ref outputs "out"))
8105 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8106 (python-path (getenv "PYTHONPATH")))
8107 (wrap-program (string-append out "/bin/gnome-shell")
8108 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8109 ;; FIXME: gnome-shell loads these libraries with unqualified
8110 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8111 ;; alternative might be to patch gnome-shell.
8112 `("LD_LIBRARY_PATH" ":" prefix
8114 (string-append (assoc-ref inputs pkg) "/lib"))
8116 "gnome-bluetooth" "librsvg" "libgweather"))))
8119 (wrap-program (string-append out "/bin/" prog)
8120 `("PYTHONPATH" ":" prefix (,python-path))
8121 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8122 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8124 (replace 'glib-or-gtk-wrap
8125 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8126 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8127 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8128 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8129 ;; phase. Fix that since we don't need these.
8130 (wrap #:inputs (fold alist-delete inputs
8131 '("inkscape" "intltool" "glib:bin"))
8132 #:outputs outputs)))))))
8134 `(("asciidoc" ,asciidoc)
8135 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8136 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8137 ("gobject-introspection" ,gobject-introspection)
8138 ("inkscape" ,inkscape)
8139 ("intltool" ,intltool)
8140 ("pkg-config" ,pkg-config)
8142 ("ruby-sass" ,ruby-sass)
8144 ("xsltproc" ,libxslt)
8146 ("xorg-server" ,xorg-server-for-tests)))
8148 `(("accountsservice" ,accountsservice)
8149 ("caribou" ,caribou)
8150 ("docbook-xsl" ,docbook-xsl)
8151 ("evolution-data-server" ,evolution-data-server)
8154 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8156 ("gnome-autoar" ,gnome-autoar)
8157 ("gnome-bluetooth" ,gnome-bluetooth)
8158 ("gnome-desktop" ,gnome-desktop)
8159 ("gnome-settings-daemon" ,gnome-settings-daemon)
8160 ("gst-plugins-base" ,gst-plugins-base)
8162 ("libcanberra" ,libcanberra)
8163 ("libcroco" ,libcroco)
8164 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8165 ("libgweather" ,libgweather)
8167 ("libsoup" ,libsoup)
8168 ("mesa-headers" ,mesa-headers)
8170 ("network-manager-applet" ,network-manager-applet)
8172 ("pulseaudio" ,pulseaudio)
8173 ("python-pygobject" ,python-pygobject)
8174 ("startup-notification" ,startup-notification)
8175 ("telepathy-logger" ,telepathy-logger)
8177 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8178 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8179 ("librsvg" ,librsvg)
8180 ("geoclue" ,geoclue)))
8181 (synopsis "Desktop shell for GNOME")
8182 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8184 "GNOME Shell provides core user interface functions for the GNOME desktop,
8185 like switching to windows and launching applications.")
8186 (license license:gpl2+)))
8188 (define-public gtk-vnc
8196 (string-append "mirror://gnome/sources/" name "/"
8197 (version-major+minor version) "/"
8198 name "-" version ".tar.xz"))
8200 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8201 (build-system meson-build-system)
8203 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8206 ("glib:bin" ,glib "bin")
8207 ("gobject-introspection" ,gobject-introspection)
8208 ("intltool" ,intltool)
8211 ("pkg-config" ,pkg-config)
8212 ("python" ,python-wrapper)
8216 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8219 ("libgcrypt" ,libgcrypt)
8220 ("libsasl" ,cyrus-sasl)
8221 ("pulseaudio" ,pulseaudio)
8226 (synopsis "VNC client viewer widget for GTK+")
8227 (description "GTK-VNC is a project providing client side APIs for the RFB
8228 protocol / VNC remote desktop technology. It is built using coroutines allowing
8229 it to be completely asynchronous while remaining single threaded. It provides a
8230 core C library, and bindings for Python (PyGTK).")
8231 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8232 (license license:lgpl2.1+)))
8234 (define-public gnome-autoar
8236 (name "gnome-autoar")
8240 (uri (string-append "mirror://gnome/sources/" name "/"
8241 (version-major+minor version) "/"
8242 name "-" version ".tar.xz"))
8245 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
8246 (build-system glib-or-gtk-build-system)
8248 `(("gobject-introspection" ,gobject-introspection)
8249 ("pkg-config" ,pkg-config)))
8251 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8254 (synopsis "Archives integration support for GNOME")
8255 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8257 "GNOME Autoar is a library which makes creating and extracting archives
8258 easy, safe, and automatic.")
8259 (license license:lgpl2.1+)))
8261 (define-public tracker
8267 (uri (string-append "mirror://gnome/sources/tracker/"
8268 (version-major+minor version) "/"
8269 "tracker-" version ".tar.xz"))
8272 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8273 (build-system meson-build-system)
8277 ;; Otherwise, the RUNPATH will lack the final path component.
8278 (list (string-append "-Dc_link_args=-Wl,-rpath="
8279 (assoc-ref %outputs "out") "/lib:"
8280 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8282 (modify-phases %standard-phases
8283 (add-before 'check 'pre-check
8285 ;; Some tests expect to write to $HOME.
8286 (setenv "HOME" "/tmp")
8289 `(("glib:bin" ,glib "bin")
8290 ("gobject-introspection" ,gobject-introspection)
8291 ("python-pygobject" ,python-pygobject)
8292 ("intltool" ,intltool)
8293 ("pkg-config" ,pkg-config)
8298 ("libxml2" ,libxml2)
8299 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8300 ("json-glib" ,json-glib)
8301 ("libsoup" ,libsoup)))
8302 (synopsis "Metadata database, indexer and search tool")
8303 (home-page "https://wiki.gnome.org/Projects/Tracker")
8305 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8307 It is a middleware component aimed at desktop application developers who want
8308 their apps to browse and search user content. It's not designed to be used
8309 directly by desktop users, but it provides a commandline tool named
8310 @command{tracker} for the adventurous.
8312 Tracker allows your application to instantly perform full-text searches across
8313 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8314 example. This is achieved by indexing the user's home directory in the
8317 Tracker also allows your application to query and list content that the user
8318 has stored. For example, GNOME Music displays all the music files that are
8319 found by Tracker. This means that GNOME Music doesn't need to maintain a
8320 database of its own.
8322 If you need to go beyond simple searches, Tracker is also a linked data
8323 endpoint and it understands SPARQL. ")
8324 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8325 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8326 ;; libstemmer is bsd-3 and the rest is gpl2+.
8327 (license (list license:gpl2+
8329 license:lgpl2.1+))))
8331 (define-public tracker-miners
8333 (name "tracker-miners")
8337 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8338 (version-major+minor version)
8339 "/tracker-miners-" version ".tar.xz"))
8342 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8343 (build-system meson-build-system)
8347 (list "-Dminer_rss=false" ; libgrss is required.
8348 ;; Ensure the RUNPATH contains all installed library locations.
8349 (string-append "-Dc_link_args=-Wl,-rpath="
8350 (assoc-ref %outputs "out")
8351 "/lib/tracker-miners-2.0")
8352 ;; TODO: Enable functional tests. Currently, the following error
8354 ;; Exception: The functional tests require DConf to be the default
8355 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8356 "-Dfunctional_tests=false")))
8359 ("intltool" ,intltool)
8360 ("glib:bin" ,glib "bin")
8361 ("gobject-introspection" ,gobject-introspection)
8362 ("pkg-config" ,pkg-config)
8363 ("python-pygobject" ,python-pygobject)))
8365 `(("exempi" ,exempi)
8370 ("gstreamer" ,gstreamer)
8373 ("libexif" ,libexif)
8375 ("libgxps" ,libgxps)
8376 ("libiptcdata" ,libiptcdata)
8377 ("libjpeg" ,libjpeg-turbo)
8378 ("libosinfo" ,libosinfo)
8380 ("libseccomp" ,libseccomp)
8381 ("libtiff" ,libtiff)
8382 ("libvorbis" ,libvorbis)
8383 ("libxml2" ,libxml2)
8384 ("poppler" ,poppler)
8386 ("totem-pl-parser" ,totem-pl-parser)
8387 ("tracker" ,tracker)
8390 (synopsis "Metadata database, indexer and search tool")
8391 (home-page "https://wiki.gnome.org/Projects/Tracker")
8393 "Tracker is an advanced framework for first class objects with associated
8394 metadata and tags. It provides a one stop solution for all metadata, tags,
8395 shared object databases, search tools and indexing.")
8396 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8397 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8398 (license (list license:gpl2+
8400 license:lgpl2.0+))))
8402 (define-public nautilus
8408 (uri (string-append "mirror://gnome/sources/" name "/"
8409 (version-major+minor version) "/"
8410 name "-" version ".tar.xz"))
8413 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8414 (build-system meson-build-system)
8418 (modify-phases %standard-phases
8419 (add-after 'unpack 'skip-gtk-update-icon-cache
8420 ;; Don't create 'icon-theme.cache'.
8422 (substitute* "build-aux/meson/postinstall.py"
8423 (("gtk-update-icon-cache") "true"))
8425 ;; XXX: FAIL: check-nautilus
8426 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8429 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8430 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8431 ("gobject-introspection" ,gobject-introspection)
8432 ("intltool" ,intltool)
8433 ("pkg-config" ,pkg-config)))
8439 ("gnome-desktop" ,gnome-desktop)
8440 ("gnome-autoar" ,gnome-autoar)
8441 ("gst-plugins-base" ,gst-plugins-base)
8442 ("libseccomp" ,libseccomp)
8443 ("libselinux" ,libselinux)
8444 ("tracker" ,tracker)
8445 ("tracker-miners" ,tracker-miners)
8446 ;; XXX: gtk+ is required by libnautilus-extension.pc
8448 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8450 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8452 ("libexif" ,libexif)
8453 ("libxml2" ,libxml2)))
8454 (synopsis "File manager for GNOME")
8455 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8457 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8458 design and behaviour, giving the user a simple way to navigate and manage its
8460 (license license:gpl2+)))
8462 (define-public baobab
8469 "mirror://gnome/sources/" name "/"
8470 (version-major+minor version) "/"
8471 name "-" version ".tar.xz"))
8474 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
8475 (build-system meson-build-system)
8477 '(#:glib-or-gtk? #t))
8479 `(("intltool" ,intltool)
8480 ("pkg-config" ,pkg-config)
8481 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8482 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8483 ("itstool" ,itstool)
8484 ("xmllint" ,libxml2)
8485 ("glib" ,glib "bin")
8489 (synopsis "Disk usage analyzer for GNOME")
8491 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8492 usage in the GNOME desktop environment. It can easily scan device volumes or
8493 a specific user-requested directory branch (local or remote). Once the scan
8494 is complete it provides a graphical representation of each selected folder.")
8495 (home-page "https://wiki.gnome.org/Apps/Baobab")
8496 (license license:gpl2+)))
8498 (define-public gnome-backgrounds
8500 (name "gnome-backgrounds")
8505 (uri (string-append "mirror://gnome/sources/" name "/"
8506 (version-major+minor version) "/"
8507 name "-" version ".tar.xz"))
8510 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8511 (build-system meson-build-system)
8513 `(("intltool" ,intltool)))
8514 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8515 (synopsis "Background images for the GNOME desktop")
8517 "GNOME backgrounds package contains a collection of graphics files which
8518 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8519 the package creates the proper framework and directory structure so that you
8520 can add your own files to the collection.")
8521 (license (list license:gpl2+
8524 license:cc-by-sa3.0))))
8526 (define-public gnome-screenshot
8528 (name "gnome-screenshot")
8533 (uri (string-append "mirror://gnome/sources/" name "/"
8534 (version-major+minor version) "/"
8535 name "-" version ".tar.xz"))
8538 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8539 (build-system meson-build-system)
8542 (modify-phases %standard-phases
8543 (add-after 'unpack 'skip-gtk-update-icon-cache
8544 ;; Don't create 'icon-theme.cache'.
8546 (substitute* "build-aux/postinstall.py"
8547 (("gtk-update-icon-cache") "true"))
8550 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8551 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8552 ("intltool" ,intltool)
8553 ("appstream-glib" ,appstream-glib)
8554 ("pkg-config" ,pkg-config)))
8557 ("libcanberra" ,libcanberra)
8559 ("libxext" ,libxext)))
8560 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8561 (synopsis "Take pictures of your screen")
8563 "GNOME Screenshot is a utility used for taking screenshots of the entire
8564 screen, a window or a user defined area of the screen, with optional
8565 beautifying border effects.")
8566 (license license:gpl2+)))
8568 (define-public dconf-editor
8570 (name "dconf-editor")
8575 (uri (string-append "mirror://gnome/sources/" name "/"
8576 (version-major+minor version) "/"
8577 name "-" version ".tar.xz"))
8580 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8581 (build-system meson-build-system)
8583 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8584 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8585 ("intltool" ,intltool)
8586 ("pkg-config" ,pkg-config)
8591 ("libxml2" ,libxml2)))
8592 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8593 (synopsis "Graphical editor for GNOME's dconf configuration system")
8595 "Dconf-editor is a graphical tool for browsing and editing the dconf
8596 configuration system for GNOME. It allows users to configure desktop
8597 software that do not provide their own configuration interface.")
8598 (license license:lgpl2.1+)))
8600 (define-public gnome-default-applications
8602 (name "gnome-default-applications")
8604 (build-system trivial-build-system)
8607 `(("nautilus" ,nautilus)
8608 ("evince" ,evince)))
8610 `(#:modules ((guix build utils))
8613 (use-modules (guix build utils))
8614 (let* ((out (assoc-ref %outputs "out"))
8615 (apps (string-append out "/share/applications")))
8617 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
8619 (format port "[Default Applications]\n")
8620 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
8621 (format port "application/pdf=evince.desktop\n")
8622 (format port "application/postscript=evince.desktop\n")))
8624 (synopsis "Default MIME type associations for the GNOME desktop")
8626 "Given many installed packages which might handle a given MIME type, a
8627 user running the GNOME desktop probably has some preferences: for example,
8628 that folders be opened by default by the Nautilus file manager, not the Baobab
8629 disk usage analyzer. This package establishes that set of default MIME type
8630 associations for GNOME.")
8631 (license license:gpl3+)
8634 (define-public libgovirt
8640 (uri (string-append "mirror://gnome/sources/" name "/"
8641 (version-major+minor version) "/"
8642 name "-" version ".tar.xz"))
8645 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
8646 (build-system glib-or-gtk-build-system)
8648 `(("gettext" ,gettext-minimal)
8649 ("glib:bin" ,glib "bin")
8650 ("gobject-introspection" ,gobject-introspection)
8651 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8652 ("gtk+:bin" ,gtk+ "bin")
8653 ("pkg-config" ,pkg-config)))
8655 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
8657 (synopsis "GoVirt Library")
8658 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
8659 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
8660 (license license:gpl2+)))
8662 (define-public gnome-weather
8664 (name "gnome-weather")
8668 (uri (string-append "mirror://gnome/sources/" name "/"
8669 (version-major+minor version) "/"
8670 name "-" version ".tar.xz"))
8673 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
8674 (build-system meson-build-system)
8676 `(("gettext" ,gettext-minimal)
8677 ("glib:bin" ,glib "bin")
8678 ("gobject-introspection" ,gobject-introspection)
8679 ("gtk+:bin" ,gtk+ "bin")
8680 ("pkg-config" ,pkg-config)))
8682 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
8683 ("appstream-glib" ,appstream-glib)
8684 ("geoclue" ,geoclue)
8685 ("gdk-pixbuf" ,gdk-pixbuf)
8687 ("gnome-desktop" ,gnome-desktop)
8688 ("libgweather" ,libgweather)))
8692 (modify-phases %standard-phases
8693 (add-after 'install 'fix-desktop-file
8694 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
8695 ;; See https://issues.guix.gnu.org/issue/39324.
8696 (lambda* (#:key outputs #:allow-other-keys)
8697 (let* ((out (assoc-ref outputs "out"))
8698 (applications (string-append out "/share/applications")))
8699 (substitute* (string-append applications "/org.gnome.Weather.desktop")
8700 (("Exec=.*") "Exec=gnome-weather\n"))
8702 (add-after 'install 'wrap
8703 (lambda* (#:key inputs outputs #:allow-other-keys)
8704 (let ((out (assoc-ref outputs "out"))
8705 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8706 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
8707 (wrap-program (string-append out "/bin/gnome-weather")
8708 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
8710 (synopsis "Weather monitoring for GNOME desktop")
8711 (description "GNOME Weather is a small application that allows you to
8712 monitor the current weather conditions for your city, or anywhere in the
8714 (home-page "https://wiki.gnome.org/Apps/Weather")
8715 (license license:gpl2+)))
8717 (define-public gnome
8720 (version (package-version gnome-shell))
8722 (build-system trivial-build-system)
8723 (arguments '(#:builder (begin (mkdir %output) #t)))
8725 ;; TODO: Add or remove packages according to:
8726 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
8728 ;; GNOME-Core-OS-Services
8729 ("accountsservice" ,accountsservice)
8730 ("network-manager" ,network-manager)
8731 ("packagekit" ,packagekit)
8734 ("adwaita-icon-theme" ,adwaita-icon-theme)
8736 ("glib-networking" ,glib-networking)
8737 ("gnome-backgrounds" ,gnome-backgrounds)
8738 ("gnome-bluetooth" ,gnome-bluetooth)
8739 ("gnome-color-manager" ,gnome-color-manager)
8740 ("gnome-control-center" ,gnome-control-center)
8741 ("gnome-desktop" ,gnome-desktop)
8742 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
8743 ("gnome-initial-setup" ,gnome-initial-setup)
8744 ("gnome-keyring" ,gnome-keyring)
8745 ("gnome-menus" ,gnome-menus)
8746 ("gnome-session" ,gnome-session)
8747 ("gnome-settings-daemon" ,gnome-settings-daemon)
8748 ("gnome-shell-extensions" ,gnome-shell-extensions)
8749 ("gnome-shell" ,gnome-shell)
8750 ("gnome-themes-extra" ,gnome-themes-extra)
8751 ("gnome-user-docs" ,gnome-user-docs)
8752 ("gnome-user-share" ,gnome-user-share)
8753 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8759 ;; GNOME-Core-Utilities
8762 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
8763 ;; only works on x86_64, so exclude it on other architectures.
8764 ,@(if (string-prefix? "x86_64" (%current-system))
8767 ("epiphany" ,epiphany)
8769 ("file-roller" ,file-roller)
8771 ("gnome-boxes" ,gnome-boxes)
8772 ("gnome-calculator" ,gnome-calculator)
8773 ("gnome-calendar" ,gnome-calendar)
8774 ("gnome-characters" ,gnome-characters)
8775 ("gnome-clocks" ,gnome-clocks)
8776 ("gnome-contacts" ,gnome-contacts)
8777 ("gnome-disk-utility" ,gnome-disk-utility)
8778 ("gnome-font-viewer" ,gnome-font-viewer)
8779 ("gnome-maps" ,gnome-maps)
8780 ; TODO: ("gnome-music" ,gnome-music)
8781 ; TODO: ("gnome-photos" ,gnome-photos)
8782 ("gnome-screenshot" ,gnome-screenshot)
8783 ("gnome-system-monitor" ,gnome-system-monitor)
8784 ("gnome-terminal" ,gnome-terminal)
8785 ("gnome-weather" ,gnome-weather)
8786 ("nautilus" ,nautilus)
8787 ("simple-scan" ,simple-scan)
8791 ("hicolor-icon-theme" ,hicolor-icon-theme)
8792 ("gnome-online-accounts" ,gnome-online-accounts)
8794 ;; Packages not part of GNOME proper but that are needed for a good
8795 ;; experience. See <https://bugs.gnu.org/39646>.
8796 ;; XXX: Find out exactly which ones are needed and why.
8797 ("font-cantarell" ,font-cantarell)
8798 ("font-dejavu" ,font-dejavu)
8799 ("at-spi2-core" ,at-spi2-core)
8802 ("desktop-file-utils" ,desktop-file-utils)
8803 ("gnome-default-applications" ,gnome-default-applications)
8804 ("gnome-themes-standard" ,gnome-themes-standard)
8805 ("gst-plugins-base" ,gst-plugins-base)
8806 ("gst-plugins-good" ,gst-plugins-good)
8807 ("gucharmap" ,gucharmap)
8808 ("pinentry-gnome3" ,pinentry-gnome3)
8809 ("pulseaudio" ,pulseaudio)
8810 ("shared-mime-info" ,shared-mime-info)
8811 ("system-config-printer" ,system-config-printer)
8812 ("xdg-user-dirs" ,xdg-user-dirs)
8814 ("zenity" ,zenity)))
8815 (synopsis "The GNU desktop environment")
8816 (home-page "https://www.gnome.org/")
8818 "GNOME is the graphical desktop for GNU. It includes a wide variety of
8819 applications for browsing the web, editing text and images, creating
8820 documents and diagrams, playing media, scanning, and much more.")
8821 (license license:gpl2+)))
8823 (define-public byzanz
8824 ;; The last stable release of Byzanz was in 2011, but there have been many
8825 ;; useful commits made to the Byzanz repository since then that it would be
8826 ;; silly to use such an old release.
8827 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
8830 (version (string-append "0.2-1." (string-take commit 7)))
8834 (url "https://git.gnome.org/browse/byzanz")
8836 (file-name (string-append name "-" version "-checkout"))
8839 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
8840 (build-system glib-or-gtk-build-system)
8843 (modify-phases %standard-phases
8844 (add-before 'bootstrap 'build-without-Werror
8846 ;; The build system cleverly detects that we're not building from
8847 ;; a release tarball and turns on -Werror for GCC.
8848 ;; Unsurprisingly, there is a warning during compilation that
8849 ;; causes the build to fail unnecessarily, so we remove the flag.
8850 (substitute* '("configure.ac")
8854 `(("autoconf" ,autoconf)
8855 ("automake" ,automake)
8856 ("gnome-common" ,gnome-common)
8857 ("intltool" ,intltool)
8858 ("libtool" ,libtool)
8859 ("pkg-config" ,pkg-config)
8863 ("gstreamer" ,gstreamer)
8864 ("gst-plugins-base" ,gst-plugins-base)
8866 (synopsis "Desktop recording program")
8867 (description "Byzanz is a simple desktop recording program with a
8868 command-line interface. It can record part or all of an X display for a
8869 specified duration and save it as a GIF encoded animated image file.")
8870 (home-page "https://git.gnome.org/browse/byzanz")
8871 (license license:gpl2+))))
8873 (define-public gsound
8879 (uri (string-append "mirror://gnome/sources/" name "/"
8880 (version-major+minor version) "/"
8881 name "-" version ".tar.xz"))
8884 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8885 (build-system glib-or-gtk-build-system)
8887 `(("pkg-config" ,pkg-config)
8888 ("gobject-introspection" ,gobject-introspection)
8892 ("libcanberra" ,libcanberra)))
8893 (home-page "https://wiki.gnome.org/Projects/GSound")
8894 (synopsis "GObject wrapper for libcanberra")
8896 "GSound is a small library for playing system sounds. It's designed to be
8897 used via GObject Introspection, and is a thin wrapper around the libcanberra C
8899 (license license:lgpl2.1+)))
8901 (define-public libzapojit
8907 (uri (string-append "mirror://gnome/sources/" name "/"
8908 (version-major+minor version) "/"
8909 name "-" version ".tar.xz"))
8912 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8913 (build-system gnu-build-system)
8915 `(("gobject-introspection" ,gobject-introspection)
8916 ("intltool" ,intltool)
8917 ("pkg-config" ,pkg-config)))
8919 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8920 ("json-glib" ,json-glib)
8922 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8923 (synopsis "Library for accessing SkyDrive and Hotmail")
8925 "Libzapojit is a GLib-based library for accessing online service APIs of
8926 Microsoft SkyDrive and Hotmail, using their REST protocols.")
8927 (license license:lgpl2.1+)))
8929 (define-public gnome-clocks
8931 (name "gnome-clocks")
8935 (uri (string-append "mirror://gnome/sources/" name "/"
8936 (version-major+minor version) "/"
8937 name "-" version ".tar.xz"))
8940 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
8941 (build-system meson-build-system)
8945 (modify-phases %standard-phases
8946 (add-after 'unpack 'skip-gtk-update-icon-cache
8947 ;; Don't create 'icon-theme.cache'.
8949 (substitute* "build-aux/post-install.py"
8950 (("gtk-update-icon-cache") "true"))
8954 ("pkg-config" ,pkg-config)
8955 ("glib" ,glib "bin") ; for glib-compile-resources
8956 ("desktop-file-utils" ,desktop-file-utils)
8957 ("gettext" ,gettext-minimal)
8958 ("itstool" ,itstool)))
8963 ("geoclue" ,geoclue)
8964 ("geocode-glib" ,geocode-glib)
8965 ("libgweather" ,libgweather)
8966 ("gnome-desktop" ,gnome-desktop)))
8967 (home-page "https://wiki.gnome.org/Apps/Clocks")
8968 (synopsis "GNOME's clock application")
8970 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8971 desktop. It supports world clock, stop watch, alarms, and count down timer.")
8972 (license license:gpl3+)))
8974 (define-public gnome-calendar
8976 (name "gnome-calendar")
8980 (uri (string-append "mirror://gnome/sources/" name "/"
8981 (version-major+minor version) "/"
8982 name "-" version ".tar.xz"))
8985 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
8986 (build-system meson-build-system)
8989 ;; gnome-calendar has to be installed before the tests can be run
8990 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8993 (modify-phases %standard-phases
8994 (add-after 'unpack 'skip-gtk-update-icon-cache
8995 ;; Don't create 'icon-theme.cache'.
8997 (substitute* "build-aux/meson/meson_post_install.py"
8998 (("gtk-update-icon-cache") "true"))
9001 `(("gettext" ,gettext-minimal)
9002 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9003 ("pkg-config" ,pkg-config)))
9005 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9006 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9007 ("libdazzle" ,libdazzle)
9008 ("libedataserverui" ,evolution-data-server)
9009 ("libgweather" ,libgweather)
9010 ("geoclue" ,geoclue)))
9012 `(("evolution-data-server" ,evolution-data-server)))
9013 (home-page "https://wiki.gnome.org/Apps/Calendar")
9014 (synopsis "GNOME's calendar application")
9016 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9017 desktop. It supports multiple calendars, month, week and year view.")
9018 (license license:gpl3+)))
9020 (define-public gnome-todo
9026 (uri (string-append "mirror://gnome/sources/" name "/"
9027 (version-major+minor version) "/"
9028 name "-" version ".tar.xz"))
9031 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9033 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9034 (build-system meson-build-system)
9037 #:phases (modify-phases %standard-phases
9039 'install 'wrap-gnome-todo
9040 (lambda* (#:key inputs outputs #:allow-other-keys)
9041 (let ((out (assoc-ref outputs "out"))
9042 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9043 (python-path (getenv "PYTHONPATH")))
9044 (wrap-program (string-append out "/bin/gnome-todo")
9045 ;; XXX: gi plugins are broken.
9046 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9048 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9049 `("PYTHONPATH" ":" prefix (,python-path))))
9052 `(("gettext" ,gettext-minimal)
9053 ("gobject-introspection" ,gobject-introspection)
9054 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9055 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9056 ("pkg-config" ,pkg-config)))
9058 `(("rest" ,rest) ; For Todoist plugin
9059 ("json-glib" ,json-glib) ; For Todoist plugin
9060 ("libedataserverui" ,evolution-data-server)
9061 ("libical" ,libical)
9062 ("libpeas" ,libpeas)
9063 ("python-pygobject" ,python-pygobject)
9064 ("evolution-data-server" ,evolution-data-server)
9065 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9066 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9067 (home-page "https://wiki.gnome.org/Apps/Todo")
9068 (synopsis "GNOME's ToDo Application")
9070 "GNOME To Do is a simplistic personal task manager designed to perfectly
9071 fit the GNOME desktop.")
9072 (license license:gpl3+)))
9074 (define-public gnome-dictionary
9076 (name "gnome-dictionary")
9080 (uri (string-append "mirror://gnome/sources/" name "/"
9081 (version-major+minor version) "/"
9082 name "-" version ".tar.xz"))
9085 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9086 (build-system meson-build-system)
9087 (arguments '(#:glib-or-gtk? #t
9088 #:phases (modify-phases %standard-phases
9089 (add-after 'unpack 'patch-install-script
9091 ;; This script attempts to compile glib schemas
9092 ;; and create an empty MIME database. We do
9093 ;; that elsewhere, so prevent it from running.
9094 (substitute* "build-aux/post-install.sh"
9095 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9098 `(("glib:bin" ,glib "bin")
9099 ("gobject-introspection" ,gobject-introspection)
9100 ("intltool" ,intltool)
9101 ("itstool" ,itstool)
9102 ("pkg-config" ,pkg-config)
9103 ("xmllint" ,libxml2)))
9105 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9107 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9108 (synopsis "Look up words in dictionary sources")
9110 "GNOME Dictionary can look for the definition or translation of a word in
9111 existing databases over the internet.")
9112 (license license:gpl3+)))
9114 (define-public gnome-tweaks
9116 (name "gnome-tweaks")
9120 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9121 (version-major+minor version) "/"
9122 "gnome-tweaks-" version ".tar.xz"))
9124 (list (search-patch "gnome-tweaks-search-paths.patch")))
9127 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
9128 (build-system meson-build-system)
9131 #:configure-flags '("-Dlocalstatedir=/tmp"
9132 "-Dsysconfdir=/tmp")
9133 #:imported-modules ((guix build python-build-system)
9134 ,@%meson-build-system-modules)
9136 (modify-phases %standard-phases
9137 (add-after 'unpack 'skip-gtk-update-icon-cache
9138 ;; Don't create 'icon-theme.cache'.
9140 (substitute* "meson-postinstall.py"
9141 (("gtk-update-icon-cache") "true"))
9143 (add-after 'install 'wrap
9144 (@@ (guix build python-build-system) wrap))
9145 (add-after 'wrap 'wrap-gi-typelib
9146 (lambda* (#:key inputs outputs #:allow-other-keys)
9147 (let ((out (assoc-ref outputs "out"))
9148 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9149 (wrap-program (string-append out "/bin/gnome-tweaks")
9150 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9153 `(("intltool" ,intltool)
9154 ("pkg-config" ,pkg-config)))
9156 `(("gnome-desktop" ,gnome-desktop)
9158 ("gobject-introspection" ,gobject-introspection)
9159 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9160 ("libhandy" ,libhandy)
9161 ("libnotify" ,libnotify)
9162 ("libsoup" ,libsoup)
9163 ("nautilus" ,nautilus)
9165 ("python-pygobject" ,python-pygobject)))
9166 (synopsis "Customize advanced GNOME 3 options")
9167 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9169 "GNOME Tweaks allows adjusting advanced configuration settings in
9170 GNOME 3. This includes things like the fonts used in user interface elements,
9171 alternative user interface themes, changes in window management behavior,
9172 GNOME Shell appearance and extension, etc.")
9173 (license license:gpl3+)))
9175 (define-public gnome-shell-extensions
9177 (name "gnome-shell-extensions")
9181 (uri (string-append "mirror://gnome/sources/" name "/"
9182 (version-major+minor version) "/"
9183 name "-" version ".tar.xz"))
9186 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9187 (build-system meson-build-system)
9189 '(#:configure-flags '("-Dextension_set=all")))
9191 `(("glib:bin" ,glib "bin")
9192 ("intltool" ,intltool)
9193 ("pkg-config" ,pkg-config)))
9196 (synopsis "Extensions for GNOME Shell")
9197 (description "GNOME Shell extensions modify and extend GNOME Shell
9198 functionality and behavior.")
9199 (home-page "https://extensions.gnome.org/")
9200 (license license:gpl3+)))
9202 (define-public arc-theme
9205 (version "20190917")
9209 (url "https://github.com/NicoHood/arc-theme")
9211 (file-name (git-file-name name version))
9214 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
9215 (build-system gnu-build-system)
9218 (modify-phases %standard-phases
9219 ;; autogen.sh calls configure at the end of the script.
9221 (lambda _ (invoke "autoreconf" "-vfi")))
9222 (add-before 'build 'set-home ;placate Inkscape
9224 (setenv "HOME" (getcwd))
9227 `(("autoconf" ,autoconf)
9228 ("automake" ,automake)
9229 ("glib" ,glib "bin") ; for glib-compile-resources
9230 ("gnome-shell" ,gnome-shell)
9232 ("inkscape" ,inkscape)
9233 ("optipng" ,optipng)
9234 ("pkg-config" ,pkg-config)
9235 ("sassc" ,sassc/libsass-3.5)))
9236 (synopsis "A flat GTK+ theme with transparent elements")
9237 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
9238 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
9239 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
9240 (home-page "https://github.com/horst3180/arc-theme")
9241 ;; No "or later" language found.
9242 (license license:gpl3+)))
9244 (define-public faba-icon-theme
9246 (name "faba-icon-theme")
9252 (url "https://github.com/snwh/faba-icon-theme")
9253 (commit (string-append "v" version))))
9254 (file-name (git-file-name name version))
9256 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
9257 (build-system meson-build-system)
9260 (modify-phases %standard-phases
9261 (add-before 'configure 'disable-post-install
9263 (substitute* "meson.build"
9264 (("meson.add_install_script.*") "")))))))
9266 `(("autoconf" ,autoconf)
9267 ("automake" ,automake)))
9268 (synopsis "Faba icon theme")
9270 "Faba is a minimal icon set used as a basis for other themes such as
9272 (home-page "https://snwh.org/moka")
9273 (license (list license:lgpl3+
9274 license:cc-by-sa4.0))))
9276 (define-public moka-icon-theme
9278 (inherit faba-icon-theme)
9279 (name "moka-icon-theme")
9285 (url "https://github.com/snwh/moka-icon-theme")
9286 (commit (string-append "v" version))))
9287 (file-name (git-file-name name version))
9289 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
9291 ;; Moka is based on Faba by using it as a fallback icon set instead of
9292 ;; bundling it, so we need to add it as a propagated input.
9293 `(("faba-icon-theme" ,faba-icon-theme)))
9294 (synopsis "Moka icon theme")
9295 (description "Moka is a stylized desktop icon set, designed to be clear,
9296 simple and consistent.")
9297 (license (list license:gpl3+
9298 license:cc-by-sa4.0))))
9300 (define-public arc-icon-theme
9302 (name "arc-icon-theme")
9303 (version "20161122")
9308 (url "https://github.com/horst3180/arc-icon-theme")
9310 (file-name (git-file-name name version))
9312 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
9313 (build-system gnu-build-system)
9316 (modify-phases %standard-phases
9317 (add-after 'unpack 'disable-configure-during-bootstrap
9319 (substitute* "autogen.sh"
9320 (("^\"\\$srcdir/configure\".*") ""))
9323 `(("autoconf" ,autoconf)
9324 ("automake" ,automake)))
9325 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
9327 `(("moka-icon-theme" ,moka-icon-theme)))
9328 (synopsis "Arc icon theme")
9329 (description "The Arc icon theme provides a set of icons matching the
9330 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
9331 the Moka icon theme.")
9332 (home-page "https://github.com/horst3180/arc-icon-theme")
9333 (license license:gpl3+)))
9335 (define-public folks
9342 "mirror://gnome/sources/folks/"
9343 (version-major+minor version) "/"
9344 "folks-" version ".tar.xz"))
9347 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9348 (build-system meson-build-system)
9351 (modify-phases %standard-phases
9352 (add-after 'unpack 'skip-gtk-update-icon-cache
9353 ;; Don't create 'icon-theme.cache'.
9355 (substitute* "meson_post_install.py"
9356 (("gtk-update-icon-cache") "true"))
9360 ("dbus-glib" ,dbus-glib)
9361 ("evolution-data-server" ,evolution-data-server)
9364 ("readline" ,readline)
9365 ("telepathy-glib" ,telepathy-glib)))
9367 `(("glib:bin" ,glib "bin")
9368 ("gobject-introspection" ,gobject-introspection)
9369 ("intltool" ,intltool)
9370 ("pkg-config" ,pkg-config)
9372 (synopsis "Library to aggregate data about people")
9373 (description "Libfolks is a library that aggregates information about people
9374 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9375 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9376 etc.) to create metacontacts. It's written in Vala, which generates C code when
9378 (home-page "https://wiki.gnome.org/Projects/Folks")
9379 (license license:lgpl2.1+)))
9381 (define-public gfbgraph
9388 "mirror://gnome/sources/gfbgraph/"
9389 (version-major+minor version) "/"
9390 "gfbgraph-" version ".tar.xz"))
9393 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9394 (build-system glib-or-gtk-build-system)
9396 `(#:tests? #f ; tests appear to require the network
9397 #:configure-flags '("--disable-static"
9399 "--enable-introspection")))
9401 `(("gobject-introspection" ,gobject-introspection)
9402 ("gtk-doc" ,gtk-doc)
9403 ("pkg-config" ,pkg-config)
9405 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9406 ("autoconf" ,autoconf)
9407 ("automake" ,automake)
9408 ("libtool" ,libtool)
9411 `(("json-glib" ,json-glib)
9412 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9414 (synopsis "GLib/GObject wrapper for the Facebook API")
9415 (description "This library allows you to use the Facebook API from
9416 GLib/GObject code.")
9417 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9418 (license license:lgpl2.1+)))
9420 (define-public libgnomekbd
9422 (name "libgnomekbd")
9426 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9427 (version-major+minor version) "/"
9428 "libgnomekbd-" version ".tar.xz"))
9431 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9432 (build-system gnu-build-system)
9434 `(("pkg-config" ,pkg-config)
9435 ("glib" ,glib "bin")
9436 ("intltool" ,intltool)))
9438 ;; Referred to in .h files and .pc.
9441 ("libxklavier" ,libxklavier)))
9442 (home-page "https://www.gnome.org")
9443 (synopsis "GNOME keyboard configuration library")
9445 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9446 environment, which can notably display keyboard layouts.")
9447 (license license:lgpl2.0+)))
9449 ;;; This package is no longer maintained:
9450 ;;; https://wiki.gnome.org/Attic/LibUnique
9451 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9452 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9453 (define-public libunique
9459 (uri (string-append "mirror://gnome/sources/" name "/"
9460 (version-major+minor version) "/"
9461 name "-" version ".tar.xz"))
9464 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9465 (build-system glib-or-gtk-build-system)
9467 `(#:configure-flags '("--disable-static"
9468 "--disable-dbus" ; use gdbus
9469 "--enable-introspection")))
9471 `(("pkg-config" ,pkg-config)
9472 ("gobject-introspection" ,gobject-introspection)
9473 ("glib:bin" ,glib "bin")
9474 ("gtk-doc" ,gtk-doc)))
9476 ;; Referred to in .h files and .pc.
9478 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9479 (synopsis "Library for writing single instance applications")
9481 "Libunique is a library for writing single instance applications. If you
9482 launch a single instance application twice, the second instance will either just
9483 quit or will send a message to the running instance. Libunique makes it easy to
9484 write this kind of application, by providing a base class, taking care of all
9485 the IPC machinery needed to send messages to a running instance, and also
9486 handling the startup notification side.")
9487 (license license:lgpl2.1+)))
9489 (define-public gnome-calculator
9491 (name "gnome-calculator")
9496 (uri (string-append "mirror://gnome/sources/" name "/"
9497 (version-major+minor version) "/"
9498 name "-" version ".tar.xz"))
9501 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9502 (build-system meson-build-system)
9503 (arguments '(#:glib-or-gtk? #t))
9505 `(("gettext" ,gettext-minimal)
9506 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9507 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9508 ("itstool" ,itstool)
9510 ("pkg-config" ,pkg-config)))
9513 ("gtksourceview" ,gtksourceview)
9515 ("libsoup" ,libsoup)
9516 ("libxml2" ,libxml2)
9519 (home-page "https://wiki.gnome.org/Apps/Calculator")
9520 (synopsis "Desktop calculator")
9522 "Calculator is an application that solves mathematical equations and
9523 is suitable as a default application in a Desktop environment.")
9524 (license license:gpl3)))
9533 (uri (string-append "https://launchpad.net/xpad/trunk/"
9534 version "/+download/"
9535 name "-" version ".tar.bz2"))
9538 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9539 (build-system gnu-build-system)
9541 `(("autoconf" ,autoconf)
9542 ("automake" ,automake)
9543 ("gtk+:bin" ,gtk+ "bin")
9544 ("intltool" ,intltool)
9545 ("pkg-config" ,pkg-config)))
9547 `(("gtksourceview" ,gtksourceview-3)
9549 (home-page "https://wiki.gnome.org/Apps/Xpad")
9550 (synopsis "Virtual sticky note")
9552 "Xpad is a sticky note that strives to be simple, fault tolerant,
9553 and customizable. Xpad consists of independent pad windows, each is
9554 basically a text box in which notes can be written.")
9555 (license license:gpl3+)))
9557 (define-public gucharmap
9558 (let ((unicode-files
9560 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9562 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9564 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9566 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9568 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9570 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9577 (uri (string-append "mirror://gnome/sources/" name "/"
9578 (version-major+minor version) "/"
9579 name "-" version ".tar.xz"))
9582 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9583 (build-system glib-or-gtk-build-system)
9585 `(#:modules ((ice-9 match)
9586 (guix build glib-or-gtk-build-system)
9589 (list "--with-unicode-data=../unicode-data")
9591 (modify-phases %standard-phases
9592 (add-after 'unpack 'prepare-unicode-data
9593 (lambda* (#:key inputs #:allow-other-keys)
9594 (mkdir-p "../unicode-data")
9595 (with-directory-excursion "../unicode-data"
9596 (for-each (match-lambda
9598 (install-file (assoc-ref inputs file) ".")))
9602 `(("desktop-file-utils" ,desktop-file-utils)
9603 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9604 ("gobject-introspection" ,gobject-introspection)
9605 ("intltool" ,intltool)
9606 ("itstool" ,itstool)
9607 ("pkg-config" ,pkg-config)
9608 ,@(map (match-lambda
9614 "http://www.unicode.org/Public/12.0.0/ucd/"
9616 (sha256 (base32 hash))))))
9621 ("xmllint" ,libxml2)))
9622 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9623 (synopsis "Unicode character picker and font browser")
9625 "This program allows you to browse through all the available Unicode
9626 characters and categories for the installed fonts, and to examine their
9627 detailed properties. It is an easy way to find the character you might
9628 only know by its Unicode name or code point.")
9629 (license license:gpl3+))))
9631 (define-public bluefish
9638 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
9639 "bluefish-" version ".tar.gz"))
9641 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
9642 (build-system gnu-build-system)
9644 `(("desktop-file-utils" ,desktop-file-utils)
9645 ("intltool" ,intltool)
9646 ("pkg-config" ,pkg-config)))
9648 `(("enchant" ,enchant)
9650 ("python" ,python-wrapper)
9651 ("xmllint" ,libxml2)
9652 ("gucharmap" ,gucharmap)))
9653 (home-page "http://bluefish.openoffice.nl")
9654 (synopsis "Web development studio")
9656 "Bluefish is an editor targeted towards programmers and web developers,
9657 with many options to write web sites, scripts and other code.
9658 Bluefish supports many programming and markup languages.")
9659 (license license:gpl3+)))
9661 (define-public gnome-system-monitor
9663 (name "gnome-system-monitor")
9668 (uri (string-append "mirror://gnome/sources/" name "/"
9669 (version-major+minor version) "/"
9670 name "-" version ".tar.xz"))
9673 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
9674 (build-system meson-build-system)
9677 #:configure-flags '("-Dsystemd=false")))
9679 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
9680 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
9681 ("intltool" ,intltool)
9682 ("itstool" ,itstool)
9683 ("libgtop" ,libgtop)
9685 ("pkg-config" ,pkg-config)))
9687 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
9690 ("librsvg" ,librsvg)
9691 ("libxml2" ,libxml2)
9692 ("libwnck" ,libwnck)))
9693 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
9694 (synopsis "Process viewer and system resource monitor for GNOME")
9696 "GNOME System Monitor is a GNOME process viewer and system monitor with
9697 an attractive, easy-to-use interface. It has features, such as a tree view
9698 for process dependencies, icons for processes, the ability to hide processes,
9699 graphical time histories of CPU/memory/swap usage and the ability to
9700 kill/reinice processes.")
9701 (license license:gpl2+)))
9703 (define-public python-pyatspi
9705 (name "python-pyatspi")
9710 "mirror://gnome/sources/pyatspi/"
9711 (version-major+minor version)
9712 "/pyatspi-" version ".tar.xz"))
9715 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
9716 (build-system gnu-build-system)
9719 (modify-phases %standard-phases
9720 (add-before 'build 'fix-atk-load
9722 (substitute* "pyatspi/__init__.py"
9723 (("from gi.repository import Atspi")
9724 "gi.require_version('Gtk', '3.0')
9725 from gi.repository import Gtk
9726 from gi.repository import Atspi"))
9729 `(("pkg-config" ,pkg-config)))
9731 `(("python" ,python)))
9733 `(("python-pygobject" ,python-pygobject)))
9734 (synopsis "Python client bindings for D-Bus AT-SPI")
9735 (home-page "https://wiki.linuxfoundation.org/accessibility\
9736 /atk/at-spi/at-spi_on_d-bus")
9738 "This package includes a python client library for the AT-SPI D-Bus
9739 accessibility infrastructure.")
9740 (license license:lgpl2.0)
9741 (properties '((upstream-name . "pyatspi")))))
9743 (define-public python2-pyatspi
9745 (inherit python-pyatspi)
9746 (name "python2-pyatspi")
9748 `(("python" ,python-2)))
9750 `(("python-pygobject" ,python2-pygobject)))))
9759 "mirror://gnome/sources/" name "/"
9760 (version-major+minor version) "/"
9761 name "-" version ".tar.xz"))
9764 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
9765 (build-system glib-or-gtk-build-system)
9768 (modify-phases %standard-phases
9769 (add-before 'configure 'qualify-xkbcomp
9770 (lambda* (#:key inputs #:allow-other-keys)
9771 (let ((xkbcomp (string-append
9772 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
9773 (substitute* "src/orca/orca.py"
9774 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
9776 (add-after 'install 'wrap-orca
9777 (lambda* (#:key outputs #:allow-other-keys)
9778 (let* ((out (assoc-ref outputs "out"))
9779 (prog (string-append out "/bin/orca")))
9781 `("GI_TYPELIB_PATH" ":" prefix
9782 (,(getenv "GI_TYPELIB_PATH")))
9783 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
9784 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
9785 `("PYTHONPATH" ":" prefix
9786 (,(getenv "PYTHONPATH")))))
9789 `(("intltool" ,intltool)
9790 ("itstool" ,itstool)
9791 ("pkg-config" ,pkg-config)
9792 ("xmllint" ,libxml2)))
9794 `(("at-spi2-atk" ,at-spi2-atk)
9795 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9796 ("gstreamer" ,gstreamer)
9797 ("gst-plugins-base" ,gst-plugins-base)
9798 ("gst-plugins-good" ,gst-plugins-good)
9801 ("python-pygobject" ,python-pygobject)
9802 ("python-pyatspi" ,python-pyatspi)
9803 ("python-speechd" ,speech-dispatcher)
9804 ("xkbcomp" ,xkbcomp)))
9806 "Screen reader for individuals who are blind or visually impaired")
9807 (home-page "https://wiki.gnome.org/Projects/Orca")
9809 "Orca is a screen reader that provides access to the graphical desktop
9810 via speech and refreshable braille. Orca works with applications and toolkits
9811 that support the Assistive Technology Service Provider Interface (AT-SPI).")
9812 (license license:lgpl2.1+)))
9814 (define-public gspell
9820 (uri (string-append "mirror://gnome/sources/" name "/"
9821 (version-major+minor version) "/"
9822 name "-" version ".tar.xz"))
9825 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
9826 (patches (search-patches "gspell-dash-test.patch"))))
9827 (build-system glib-or-gtk-build-system)
9829 '(#:configure-flags (list "--enable-vala")
9831 (modify-phases %standard-phases
9832 (add-before 'check 'pre-check
9833 (lambda* (#:key inputs #:allow-other-keys)
9834 ;; Tests require a running X server.
9835 (system "Xvfb :1 &")
9836 (setenv "DISPLAY" ":1")
9838 ;; For the missing /etc/machine-id.
9839 (setenv "DBUS_FATAL_WARNINGS" "0")
9841 ;; Allow Enchant and its Aspell backend to find the en_US
9843 (setenv "ASPELL_DICT_DIR"
9844 (string-append (assoc-ref inputs "aspell-dict-en")
9850 ("iso-codes" ,iso-codes)))
9852 `(("glib" ,glib "bin")
9853 ("gobject-introspection" ,gobject-introspection)
9854 ("pkg-config" ,pkg-config)
9855 ("vala" ,vala) ;for VAPI, needed by Geary
9856 ("xmllint" ,libxml2)
9859 ("aspell-dict-en" ,aspell-dict-en)
9860 ("xorg-server" ,xorg-server-for-tests)))
9862 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
9863 (home-page "https://wiki.gnome.org/Projects/gspell")
9864 (synopsis "GNOME's alternative spell checker")
9866 "gspell provides a flexible API to add spell-checking to a GTK+
9867 application. It provides a GObject API, spell-checking to text entries and
9868 text views, and buttons to choose the language.")
9869 (license license:gpl2+)))
9871 (define-public gnome-planner
9873 (name "gnome-planner")
9877 (uri (string-append "mirror://gnome/sources/planner/"
9878 (version-major+minor version) "/planner-"
9882 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
9883 (build-system glib-or-gtk-build-system)
9885 ;; Disable the Python bindings because the Planner program functions
9886 ;; without them, and (as of 2017-06-13) we have not packaged all of
9887 ;; packages that are necessary for building the Python bindings.
9889 (list "--disable-python"
9890 ,@(if (string=? "aarch64-linux" (%current-system))
9891 '("--build=aarch64-unknown-linux-gnu")
9894 `(("libgnomecanvas" ,libgnomecanvas)
9895 ("libgnomeui" ,libgnomeui)
9896 ("libglade" ,libglade)
9897 ("gnome-vfs" ,gnome-vfs)
9899 ("libxml2" ,libxml2)
9900 ("libxslt" ,libxslt)
9904 `(("intltool" ,intltool)
9905 ("scrollkeeper" ,scrollkeeper)
9906 ("pkg-config" ,pkg-config)))
9907 (home-page "https://wiki.gnome.org/Apps/Planner")
9908 (synopsis "Project management software for the GNOME desktop")
9910 "GNOME Planner is a project management tool based on the Work Breakdown
9911 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9912 the resources, tasks, and constraints that you define, Planner generates
9913 various views into a project. For example, Planner can show a Gantt chart of
9914 the project. It can show a detailed summary of tasks including their
9915 duration, cost, and current progress. It can also show a report of resource
9916 utilization that highlights under-utilized and over-utilized resources. These
9917 views can be printed as PDF or PostScript files, or exported to HTML.")
9918 (license license:gpl2+)))
9920 (define-public lollypop
9927 (uri (string-append "https://adishatz.org/lollypop/"
9928 "lollypop-" version ".tar.xz"))
9930 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
9931 (build-system meson-build-system)
9933 `(#:imported-modules
9934 (,@%meson-build-system-modules
9935 (guix build python-build-system))
9937 ((guix build meson-build-system)
9938 ((guix build python-build-system) #:prefix python:)
9941 #:tests? #f ; no test suite
9943 (modify-phases %standard-phases
9944 (add-after 'install 'wrap-program
9945 (lambda* (#:key outputs #:allow-other-keys)
9946 (let ((out (assoc-ref outputs "out"))
9947 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9948 (wrap-program (string-append out "/bin/lollypop")
9949 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9951 (add-after 'install 'wrap-python
9952 (assoc-ref python:%standard-phases 'wrap)))))
9954 `(("intltool" ,intltool)
9955 ("itstool" ,itstool)
9956 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9957 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9958 ("pkg-config" ,pkg-config)))
9960 `(("gobject-introspection" ,gobject-introspection)
9961 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9962 ("gst-plugins-base" ,gst-plugins-base)
9963 ("libnotify" ,libnotify)
9964 ("libsecret" ,libsecret)
9965 ("libsoup" ,libsoup)
9967 ("python-beautifulsoup4" ,python-beautifulsoup4)
9968 ("python-gst" ,python-gst)
9969 ("python-pil" ,python-pillow)
9970 ("python-pycairo" ,python-pycairo)
9971 ("python-pygobject" ,python-pygobject)
9972 ("python-pylast" ,python-pylast)
9973 ("totem-pl-parser" ,totem-pl-parser)
9974 ("webkitgtk" ,webkitgtk)))
9976 `(;; gst-plugins-base is required to start Lollypop,
9977 ;; the others are required to play streaming.
9978 ("gst-plugins-good" ,gst-plugins-good)
9979 ("gst-plugins-ugly" ,gst-plugins-ugly)))
9980 (home-page "https://wiki.gnome.org/Apps/Lollypop")
9981 (synopsis "GNOME music playing application")
9983 "Lollypop is a music player designed to play well with GNOME desktop.
9984 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9985 from artists and tracks from the web. It also fetches cover artworks
9986 automatically and it can stream songs from online music services and charts.")
9987 (license license:gpl3+)))
9989 (define-public gnome-video-effects
9991 (name "gnome-video-effects")
9995 (uri (string-append "mirror://gnome/sources/" name "/"
9996 (version-major+minor version) "/" name "-"
10000 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
10001 (build-system glib-or-gtk-build-system)
10003 `(#:out-of-source? #f))
10005 `(("glib:bin" ,glib "bin")
10006 ("intltool" ,intltool)
10007 ("gettext" ,gettext-minimal)
10008 ("pkg-config" ,pkg-config)))
10009 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10010 (synopsis "Video effects for Cheese and other GNOME applications")
10012 "A collection of GStreamer video filters and effects to be used in
10013 photo-booth-like software, such as Cheese.")
10014 (license license:gpl2+)))
10016 (define-public cheese
10022 (uri (string-append "mirror://gnome/sources/" name "/"
10023 (version-major+minor version) "/" name "-"
10024 version ".tar.xz"))
10027 "0wvyc9wb0avrprvm529m42y5fkv3lirdphqydc9jw0c8mh05d1ni"))))
10029 `(#:glib-or-gtk? #t
10030 ;; Tests require GDK.
10033 (modify-phases %standard-phases
10034 (add-after 'unpack 'skip-gtk-update-icon-cache
10036 ;; Don't create 'icon-theme.cache'
10037 (substitute* "meson_post_install.py"
10038 (("gtk-update-icon-cache") (which "true")))
10040 (add-after 'install 'wrap-cheese
10041 (lambda* (#:key inputs outputs #:allow-other-keys)
10042 (let ((out (assoc-ref outputs "out"))
10043 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10044 (wrap-program (string-append out "/bin/cheese")
10045 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10047 (build-system meson-build-system)
10049 `(("docbook-xsl" ,docbook-xsl)
10050 ("glib:bin" ,glib "bin")
10051 ("gtk-doc" ,gtk-doc)
10052 ("intltool" ,intltool)
10053 ("itstool" ,itstool)
10054 ("libxml2" ,libxml2)
10055 ("libxslt" ,libxslt)
10056 ("pkg-config" ,pkg-config)
10059 `(("gnome-video-effects" ,gnome-video-effects)
10060 ("clutter" ,clutter)
10061 ("clutter-gst" ,clutter-gst)
10062 ("clutter-gtk" ,clutter-gtk)
10063 ("libcanberra" ,libcanberra)
10064 ("gdk-pixbuf" ,gdk-pixbuf)
10066 ("gstreamer" ,gstreamer)))
10068 `(("gnome-desktop" ,gnome-desktop)
10069 ("gobject-introspection" ,gobject-introspection)
10070 ("gst-plugins-base" ,gst-plugins-base)
10071 ("gst-plugins-bad" ,gst-plugins-bad)
10074 ("libxtst" ,libxtst)))
10075 (home-page "https://wiki.gnome.org/Apps/Cheese")
10076 (synopsis "Webcam photo booth software for GNOME")
10078 "Cheese uses your webcam to take photos and videos. Cheese can also
10079 apply fancy special effects and lets you share the fun with others.")
10080 (license license:gpl2+)))
10082 (define-public sound-juicer
10084 (name "sound-juicer")
10089 (uri (string-append "mirror://gnome/sources/" name "/"
10090 (version-major+minor version) "/"
10091 name "-" version ".tar.xz"))
10094 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10095 (build-system glib-or-gtk-build-system)
10097 `(("desktop-file-utils" ,desktop-file-utils)
10098 ("intltool" ,intltool)
10099 ("itstool" ,itstool)
10100 ("pkg-config" ,pkg-config)
10101 ("xmllint" ,libxml2)))
10104 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10105 ("gstreamer" ,gstreamer)
10106 ("gst-plugins-base" ,gst-plugins-base)
10107 ("gst-plugins-good" ,gst-plugins-good)
10108 ("iso-codes" ,iso-codes)
10109 ("libbrasero-media3" ,brasero)
10110 ("libcanberra" ,libcanberra)
10111 ("libdiscid" ,libdiscid)
10112 ("libmusicbrainz" ,libmusicbrainz)
10114 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10115 (synopsis "Audio music cd ripper")
10116 (description "Sound Juicer extracts audio from compact discs and convert it
10117 into audio files that a personal computer or digital audio player can play.
10118 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10119 mp3, Ogg Vorbis and FLAC")
10120 (license license:gpl2+)))
10122 (define-public soundconverter
10124 (name "soundconverter")
10129 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10130 version "/+download/"
10131 "soundconverter-" version ".tar.xz"))
10134 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10135 (build-system glib-or-gtk-build-system)
10137 `(#:imported-modules ((guix build python-build-system)
10138 (guix build glib-or-gtk-build-system)
10139 ,@%gnu-build-system-modules)
10141 #:modules ((guix build glib-or-gtk-build-system)
10143 ((guix build gnu-build-system) #:prefix gnu:)
10144 ((guix build python-build-system) #:prefix python:))
10147 (modify-phases %standard-phases
10148 (add-after 'install 'wrap-soundconverter-for-python
10149 (assoc-ref python:%standard-phases 'wrap))
10150 (add-after 'install 'wrap-soundconverter
10151 (lambda* (#:key inputs outputs #:allow-other-keys)
10152 (let ((out (assoc-ref outputs "out"))
10153 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10154 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10155 (wrap-program (string-append out "/bin/soundconverter")
10156 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10157 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10160 `(("intltool" ,intltool)
10161 ("pkg-config" ,pkg-config)
10162 ("glib:bin" ,glib "bin")))
10166 ("python-pygobject" ,python-pygobject)
10167 ("gstreamer" ,gstreamer)
10168 ("gst-plugins-base" ,gst-plugins-base)))
10169 (home-page "https://soundconverter.org/")
10170 (synopsis "Convert between audio formats with a graphical interface")
10172 "SoundConverter supports converting between many audio formats including
10173 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10174 configurable file renaming. ")
10175 (license license:gpl3)))
10177 (define-public workrave
10180 (version "1.10.42")
10184 (uri (git-reference
10185 (url "https://github.com/rcaelers/workrave")
10186 (commit (string-append "v" (string-map
10187 (match-lambda (#\. #\_) (chr chr))
10189 (file-name (git-file-name name version))
10191 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10192 (build-system glib-or-gtk-build-system)
10194 ;; The only tests are maintainer tests (in po/), which fail.
10196 (inputs `(("glib" ,glib)
10198 ("gdk-pixbuf" ,gdk-pixbuf)
10202 ("libxtst" ,libxtst)
10206 ("libxscrnsaver" ,libxscrnsaver)))
10207 (native-inputs `(("boost" ,boost)
10208 ("pkg-config" ,pkg-config)
10209 ("gettext" ,gettext-minimal)
10210 ("autoconf" ,autoconf)
10211 ("autoconf-archive" , autoconf-archive)
10212 ("automake" ,automake)
10213 ("libtool" ,libtool)
10214 ("intltool" ,intltool)
10215 ("gobject-introspection" ,gobject-introspection)
10216 ("python3" ,python-3)
10217 ("python-jinja2" ,python-jinja2)))
10218 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10220 "Workrave is a program that assists in the recovery and prevention of
10221 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10222 micro-pauses and rest breaks, and restricts you to your daily limit.")
10223 (home-page "http://www.workrave.org")
10224 (license license:gpl3+)))
10226 (define-public ghex
10232 (uri (string-append "mirror://gnome/sources/ghex/"
10233 (version-major+minor version) "/"
10234 "ghex-" version ".tar.xz"))
10237 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10238 (build-system meson-build-system)
10240 '(#:glib-or-gtk? #t
10242 (modify-phases %standard-phases
10243 (add-after 'unpack 'skip-gtk-update-icon-cache
10244 ;; Don't create 'icon-theme.cache'.
10246 (substitute* "meson_post_install.py"
10247 (("gtk-update-icon-cache") (which "true")))
10250 `(("pkg-config" ,pkg-config)
10251 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10252 ("gnome-common" ,gnome-common)
10254 ("intltool" ,intltool)
10255 ("yelp-tools" ,yelp-tools)
10256 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10260 (synopsis "GNOME hexadecimal editor")
10261 (description "The GHex program can view and edit files in two ways:
10262 hexadecimal or ASCII. It is useful for editing binary files in general.")
10263 (home-page "https://wiki.gnome.org/Apps/Ghex")
10264 (license license:gpl2)))
10266 (define-public libdazzle
10272 (uri (string-append "mirror://gnome/sources/libdazzle/"
10273 (version-major+minor version) "/"
10274 "libdazzle-" version ".tar.xz"))
10277 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10278 (build-system meson-build-system)
10281 (modify-phases %standard-phases
10282 (add-before 'check 'pre-check
10284 ;; Tests require a running X server.
10285 (system "Xvfb :1 &")
10286 (setenv "DISPLAY" ":1")
10289 `(("glib" ,glib "bin") ; glib-compile-resources
10290 ("pkg-config" ,pkg-config)
10292 ("xorg-server" ,xorg-server-for-tests)))
10295 ("gobject-introspection" ,gobject-introspection)
10298 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10299 (synopsis "Companion library to GObject and Gtk+")
10300 (description "The libdazzle library is a companion library to GObject and
10301 Gtk+. It provides various features that the authors wish were in the
10302 underlying library but cannot for various reasons. In most cases, they are
10303 wildly out of scope for those libraries. In other cases, they are not quite
10304 generic enough to work for everyone.")
10305 (license license:gpl3+)))
10307 (define-public evolution
10313 (uri (string-append "mirror://gnome/sources/evolution/"
10314 (version-major+minor version) "/"
10315 "evolution-" version ".tar.xz"))
10318 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
10319 (build-system cmake-build-system)
10321 `(#:imported-modules (,@%cmake-build-system-modules
10322 (guix build glib-or-gtk-build-system))
10323 #:modules ((guix build cmake-build-system)
10324 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10325 (guix build utils))
10327 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10328 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10329 ; in four years and cannot be built.
10331 (modify-phases %standard-phases
10332 ;; The build system attempts to install user interface modules to the
10333 ;; output directory of the "evolution-data-server" package. This
10334 ;; change redirects that change.
10335 (add-after 'unpack 'patch-ui-module-dir
10336 (lambda* (#:key outputs #:allow-other-keys)
10337 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10338 (("\\$\\{edsuimoduledir\\}")
10339 (string-append (assoc-ref outputs "out")
10340 "/lib/evolution-data-server/ui-modules")))
10342 (add-after 'install 'glib-or-gtk-compile-schemas
10343 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10344 (add-after 'install 'glib-or-gtk-wrap
10345 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10347 `(("glib" ,glib "bin") ; glib-mkenums
10348 ("pkg-config" ,pkg-config)
10349 ("intltool" ,intltool)
10350 ("itstool" ,itstool)))
10352 `(("enchant" ,enchant)
10353 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10355 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10356 ("gnome-autoar" ,gnome-autoar)
10357 ("gnome-desktop" ,gnome-desktop)
10359 ("highlight" ,highlight)
10360 ("libcanberra" ,libcanberra)
10361 ("libgweather" ,libgweather)
10362 ("libnotify" ,libnotify)
10363 ("libsoup" ,libsoup)
10365 ("openldap" ,openldap)
10366 ("webkitgtk" ,webkitgtk)
10368 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10369 (synopsis "Manage your email, contacts and schedule")
10370 (description "Evolution is a personal information management application
10371 that provides integrated mail, calendaring and address book
10373 ;; See COPYING for details.
10374 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10375 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10376 license:lgpl2.1+)))) ; smime/lib/*
10378 (define-public gthumb
10384 (uri (string-append "mirror://gnome/sources/gthumb/"
10385 (version-major+minor version) "/"
10386 "gthumb-" version ".tar.xz"))
10389 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
10390 (build-system meson-build-system)
10392 `(#:glib-or-gtk? #t
10394 ;; Ensure the RUNPATH contains all installed library locations.
10395 (list (string-append "-Dc_link_args=-Wl,-rpath="
10396 (assoc-ref %outputs "out")
10397 "/lib/gthumb/extensions")
10398 (string-append "-Dcpp_link_args=-Wl,-rpath="
10399 (assoc-ref %outputs "out")
10400 "/lib/gthumb/extensions"))))
10402 `(("pkg-config" ,pkg-config)
10403 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10404 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10405 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10406 ("intltool" ,intltool)
10407 ("itstool" ,itstool)))
10411 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10412 ("gstreamer" ,gstreamer)
10413 ("clutter" ,clutter)
10414 ("clutter-gst" ,clutter-gst)
10415 ("clutter-gtk" ,clutter-gtk)
10416 ("libjpeg" ,libjpeg-turbo)
10417 ("libtiff" ,libtiff)
10418 ("libraw" ,libraw)))
10419 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10420 (synopsis "GNOME image viewer and browser")
10421 (description "GThumb is an image viewer, browser, organizer, editor and
10422 advanced image management tool")
10423 (license license:gpl2+)))
10425 (define-public terminator
10427 (name "terminator")
10431 (uri (string-append "https://launchpad.net/" name "/"
10432 "gtk3/" version "/" "+download/"
10433 name "-" version ".tar.gz"))
10436 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
10437 (build-system python-build-system)
10439 `(("intltool" ,intltool)
10440 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10441 ("gettext" ,gettext-minimal)
10442 ("pkg-config" ,pkg-config)))
10445 ("gobject-introspection" ,gobject-introspection)
10446 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10447 ("python2-pycairo" ,python2-pycairo)
10448 ("python2-pygobject" ,python2-pygobject)
10449 ("python2-psutil" ,python2-psutil)
10452 `(#:python ,python-2 ; Python 3 isn't supported
10453 #:imported-modules ((guix build glib-or-gtk-build-system)
10454 ,@%python-build-system-modules)
10455 #:modules ((guix build python-build-system)
10456 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10457 (guix build utils))
10459 (modify-phases %standard-phases
10461 'install 'wrap-program
10462 (lambda* (#:key outputs #:allow-other-keys)
10463 (let ((prog (string-append (assoc-ref outputs "out")
10464 "/bin/terminator")))
10466 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
10467 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10469 (add-after 'wrap-program 'glib-or-gtk-wrap
10470 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10471 (home-page "https://gnometerminator.blogspot.com/")
10472 (synopsis "Store and run multiple GNOME terminals in one window")
10474 "Terminator allows you to run multiple GNOME terminals in a grid and
10475 +tabs, and it supports drag and drop re-ordering of terminals.")
10476 (license license:gpl2)))
10478 (define-public libhandy
10485 (uri (git-reference
10486 (url "https://gitlab.gnome.org/GNOME/libhandy")
10488 (file-name (git-file-name name version))
10490 (base32 "1zpfbn2x27lp69w819afxf3ylkgfz9k44srfgmkbb2c33r14ajwy"))))
10491 (build-system meson-build-system)
10493 `(#:configure-flags
10494 '("-Dglade_catalog=disabled"
10497 (modify-phases %standard-phases
10498 (add-before 'check 'pre-check
10500 ;; Tests require a running X server.
10501 (system "Xvfb :1 &")
10502 (setenv "DISPLAY" ":1")
10507 `(("glib:bin" ,glib "bin")
10508 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10510 ("gtk-doc" ,gtk-doc)
10511 ("pkg-config" ,pkg-config)
10512 ("gettext" ,gettext-minimal)
10514 ;; Test suite dependencies.
10515 ("xorg-server" ,xorg-server-for-tests)
10516 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10517 (home-page "https://source.puri.sm/Librem5/libhandy")
10518 (synopsis "Library full of GTK+ widgets for mobile phones")
10519 (description "The aim of the handy library is to help with developing user
10520 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
10521 for usage on small and big screens.")
10522 (license license:lgpl2.1+)))
10524 (define-public libgit2-glib
10526 (name "libgit2-glib")
10527 (version "0.99.0.1")
10530 (uri (string-append "mirror://gnome/sources/" name "/"
10531 (version-major+minor version) "/"
10532 name "-" version ".tar.xz"))
10535 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
10536 (build-system meson-build-system)
10538 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
10539 ("gobject-introspection" ,gobject-introspection)
10540 ("pkg-config" ,pkg-config)
10541 ("python-pygobject" ,python-pygobject)
10542 ("python-wrapper" ,python-wrapper)
10546 ("libssh2" ,libssh2)))
10548 `(;; In Requires of libgit2-glib.pc.
10549 ("libgit2" ,libgit2)))
10550 (synopsis "GLib wrapper around the libgit2 Git access library")
10551 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
10552 access library. It only implements the core plumbing functions, not really the
10553 higher level porcelain stuff.")
10554 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
10555 (license license:gpl2+)))
10557 (define-public gitg
10563 (uri (string-append "mirror://gnome/sources/" name "/"
10564 (version-major+minor version) "/"
10565 name "-" version ".tar.xz"))
10568 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
10569 (build-system meson-build-system)
10571 `(#:glib-or-gtk? #t
10573 (modify-phases %standard-phases
10574 (add-after 'unpack 'disable-post-install-partially
10576 (substitute* "meson_post_install.py"
10577 (("'python'") ; there are no python sources to compile
10578 (string-append "'" (which "true") "'"))
10579 (("gtk-update-icon-cache") (which "true")))
10581 (add-after 'unpack 'fix-test-sources
10583 (substitute* "tests/libgitg/test-commit.vala"
10584 (("/bin/bash") (which "bash")))
10586 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10587 (lambda* (#:key outputs #:allow-other-keys)
10588 (let ((prog (string-append (assoc-ref outputs "out")
10591 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10595 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10597 ("gtkspell3" ,gtkspell3)
10598 ("gtksourceview" ,gtksourceview-3)
10599 ("json-glib" ,json-glib)
10600 ("libdazzle" ,libdazzle)
10602 ("libgit2-glib" ,libgit2-glib)
10603 ("libpeas" ,libpeas)
10604 ("libsecret" ,libsecret)
10605 ("libsoup" ,libsoup)
10606 ("libxml2" ,libxml2)))
10608 `(("glib:bin" ,glib "bin")
10609 ("gtk+:bin" ,gtk+ "bin")
10610 ("gobject-introspection" ,gobject-introspection)
10611 ("intltool" ,intltool)
10612 ("pkg-config" ,pkg-config)
10614 (synopsis "Graphical user interface for git")
10616 "gitg is a graphical user interface for git. It aims at being a small,
10617 fast and convenient tool to visualize the history of git repositories.
10618 Besides visualization, gitg also provides several utilities to manage your
10619 repository and commit your work.")
10620 (home-page "https://wiki.gnome.org/Apps/Gitg")
10621 (license license:gpl2+)))
10623 (define-public gamin
10629 (uri (string-append "mirror://gnome/sources/" name "/"
10630 (version-major+minor version) "/"
10631 name "-" version ".tar.bz2"))
10634 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
10635 (build-system gnu-build-system)
10638 (modify-phases %standard-phases
10639 (add-after 'unpack 'remove-deprecated-macro
10641 (substitute* '("server/gam_node.c"
10642 "server/gam_subscription.h"
10643 "server/gam_node.h"
10644 "server/gam_subscription.c")
10645 (("G_CONST_RETURN") "const"))
10650 `(("intltool" ,intltool)
10651 ("pkg-config" ,pkg-config)))
10652 (home-page "https://people.gnome.org/~veillard/gamin/")
10653 (synopsis "File alteration monitor")
10655 "Gamin is a file and directory monitoring system defined to be a subset
10656 of the FAM (File Alteration Monitor) system. This is a service provided by a
10657 library which detects when a file or a directory has been modified.")
10658 (license license:gpl2+)))
10660 (define-public gnome-mahjongg
10662 (name "gnome-mahjongg")
10666 (uri (git-reference
10667 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
10669 (file-name (git-file-name name version))
10672 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
10673 (build-system meson-build-system)
10675 `(#:glib-or-gtk? #t))
10677 `(("appstream-glib" ,appstream-glib)
10678 ("gettext" ,gettext-minimal)
10679 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
10680 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
10681 ("itstool" ,itstool)
10682 ("pkg-config" ,pkg-config)
10685 `(("dconf" ,dconf)))
10689 ("librsvg" ,librsvg)))
10690 (synopsis "Mahjongg tile-matching game")
10691 (description "GNOME Mahjongg is a game based on the classic Chinese
10692 tile-matching game Mahjong. It features multiple board layouts, tile themes,
10693 and a high score table.")
10694 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
10695 (license license:gpl2+)))
10697 (define-public gnome-themes-extra
10699 (name "gnome-themes-extra")
10704 (uri (string-append "mirror://gnome/sources/" name "/"
10705 (version-major+minor version) "/" name "-"
10706 version ".tar.xz"))
10709 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
10710 (build-system gnu-build-system)
10712 '(#:configure-flags
10713 ;; Don't create 'icon-theme.cache'.
10714 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
10715 (true (string-append coreutils "/bin/true")))
10716 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
10718 `(("glib:bin" ,glib "bin")
10719 ("intltool" ,intltool)
10720 ("pkg-config" ,pkg-config)))
10725 ("librsvg" ,librsvg)
10726 ("libxml2" ,libxml2)))
10727 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
10728 (synopsis "GNOME Extra Themes")
10729 (description "This package provides themes and related elements that don't
10730 really fit in other upstream packages. It offers legacy support for GTK+ 2
10731 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
10732 index files needed for Adwaita to be used outside of GNOME.")
10733 (license license:lgpl2.1+)))
10735 (define-public polari
10741 (uri (string-append "mirror://gnome/sources/polari/"
10742 (version-major+minor version)
10743 "/polari-" version ".tar.xz"))
10746 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
10747 (build-system meson-build-system)
10749 `(#:glib-or-gtk? #t
10751 (modify-phases %standard-phases
10752 (add-after 'unpack 'skip-gtk-update-icon-cache
10754 (substitute* "meson/meson-postinstall.sh"
10755 (("gtk-update-icon-cache") (which "true")))
10757 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10758 (lambda* (#:key outputs #:allow-other-keys)
10759 (let ((prog (string-append (assoc-ref outputs "out")
10762 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10766 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10770 ("libsecret" ,libsecret)
10771 ("libsoup" ,libsoup)
10772 ("telepathy-glib" ,telepathy-glib)
10773 ("telepathy-logger" ,telepathy-logger)))
10775 `(("glib:bin" ,glib "bin")
10776 ("gobject-introspection" ,gobject-introspection)
10777 ("intltool" ,intltool)
10778 ("pkg-config" ,pkg-config)
10779 ("yelp-tools" ,yelp-tools)))
10781 `(("telepathy-idle" ,telepathy-idle)
10782 ("telepathy-mission-control" ,telepathy-mission-control)))
10783 (synopsis "Simple IRC Client")
10785 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
10786 integrate seamlessly with the GNOME desktop.")
10787 (home-page "https://wiki.gnome.org/Apps/Polari")
10788 (license license:gpl2+)))
10790 (define-public gnome-boxes
10792 (name "gnome-boxes")
10797 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
10798 (version-major+minor version) "/"
10799 "gnome-boxes-" version ".tar.xz"))
10801 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
10802 (build-system meson-build-system)
10804 '(#:glib-or-gtk? #t
10805 #:configure-flags (list "-Drdp=false"
10806 (string-append "-Dc_link_args=-Wl,-rpath="
10807 (assoc-ref %outputs "out")
10808 "/lib/gnome-boxes"))))
10810 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
10811 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10812 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10813 ("itstool" ,itstool)
10814 ("intltool" ,intltool)
10816 ("pkg-config" ,pkg-config)))
10818 `(("libarchive" ,libarchive)
10819 ("glib-networking" ,glib-networking) ;for TLS support
10820 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10822 ("gtk-vnc" ,gtk-vnc)
10823 ("libosinfo" ,libosinfo)
10824 ("libsecret" ,libsecret)
10825 ("libsoup" ,libsoup)
10827 ("libvirt" ,libvirt)
10828 ("libvirt-glib" ,libvirt-glib)
10829 ("libxml" ,libxml2)
10830 ("spice-gtk" ,spice-gtk)
10831 ("sparql-query" ,sparql-query)
10833 ("webkitgtk" ,webkitgtk)
10834 ("tracker" ,tracker)
10835 ("libgudev" ,libgudev)))
10836 (home-page "https://wiki.gnome.org/Apps/Boxes")
10837 (synopsis "View, access, and manage remote and virtual systems")
10838 (description "GNOME Boxes is a simple application to view, access, and
10839 manage remote and virtual systems. Note that this application requires the
10840 @code{libvirt} and @code{virtlog} daemons to run. Use the command
10841 @command{info '(guix) Virtualization Services'} to learn how to configure
10842 these services on the Guix System.")
10844 ;; For data/icons/empty-boxes.png.
10847 license:lgpl2.0+))))
10849 (define-public geary
10855 (uri (git-reference
10856 (url "https://gitlab.gnome.org/GNOME/geary")
10858 (file-name (git-file-name name version))
10861 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
10862 (build-system meson-build-system)
10864 `(#:glib-or-gtk? #t
10865 #:phases (modify-phases %standard-phases
10866 (add-after 'unpack 'disable-failing-tests
10868 (substitute* "test/meson.build"
10869 (("test\\('client-tests', geary_test_client_bin\\)")
10872 (add-after 'unpack 'disable-postinstall-script
10874 (substitute* "meson.build"
10875 (("meson.add_install_script\\(\
10876 join_paths\\('build-aux', 'post_install.py'\\)\\)")
10879 (add-before 'check 'setup-xvfb
10881 (system "Xvfb :1 &")
10882 (setenv "DISPLAY" ":1")
10885 `(("enchant" ,enchant)
10889 ("gmime" ,gmime-2.6)
10890 ("gnome-online-accounts:lib"
10891 ,gnome-online-accounts "lib")
10894 ("iso-codes" ,iso-codes)
10895 ("json-glib" ,json-glib)
10896 ("libcanberra" ,libcanberra)
10898 ("libhandy" ,libhandy)
10899 ("libpeas" ,libpeas)
10900 ("libsecret" ,libsecret)
10901 ("libunwind" ,libunwind)
10903 ("webkitgtk" ,webkitgtk)
10906 `(("appstream-glib" ,appstream-glib)
10907 ("cmake-minimal" ,cmake-minimal)
10908 ("desktop-file-utils" ,desktop-file-utils)
10909 ("gettext" ,gettext-minimal)
10910 ("glib:bin" ,glib "bin")
10911 ("gobject-introspection" ,gobject-introspection)
10912 ("itstool" ,itstool)
10913 ("libarchive" ,libarchive)
10914 ("libxml2" ,libxml2)
10915 ("pkg-config" ,pkg-config)
10917 ("xvfb" ,xorg-server-for-tests)))
10918 (synopsis "GNOME email application built around conversations")
10920 "Geary collects related messages together into conversations,
10921 making it easy to find and follow your discussions. Full-text and keyword
10922 search makes it easy to find the email you are looking for. Geary's
10923 full-featured composer lets you send rich, styled text with images, links, and
10924 lists, but also send lightweight, easy to read text messages. Geary
10925 automatically picks up your existing GNOME Online Accounts, and adding more is
10926 easy. Geary has a clean, fast, modern interface that works like you want it
10928 (home-page "https://wiki.gnome.org/Apps/Geary")
10934 license:cc-by-sa3.0
10935 license:public-domain
10939 (define-public glabels
10946 (uri (string-append "mirror://gnome/sources/" name "/"
10947 (version-major+minor version) "/"
10948 "glabels-" version ".tar.xz"))
10950 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
10951 (build-system glib-or-gtk-build-system)
10953 `(("gettext" ,gettext-minimal)
10954 ("glib:bin" ,glib "bin")
10955 ("intltool" ,intltool)
10956 ("itstool" ,itstool)
10957 ("pkg-config" ,pkg-config)))
10960 ("librsvg" ,librsvg)
10961 ("libxml2" ,libxml2)))
10962 (home-page "https://glabels.org/")
10963 (synopsis "Program for creating labels and business cards")
10965 "gLabels is a program for creating labels and business cards. It is
10966 designed to work with various laser/ink-jet peel-off label and business
10967 card sheets that you’ll find at most office supply stores.")
10968 (license license:gpl3+)))
10970 (define-public libratbag
10977 (uri (git-reference
10978 (url "https://github.com/libratbag/libratbag")
10979 (commit (string-append "v" version))))
10980 (file-name (git-file-name name version))
10982 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
10983 (build-system meson-build-system)
10985 `(#:configure-flags
10986 (list "-Dsystemd=false"
10987 "-Dlogind-provider=elogind")
10989 (modify-phases %standard-phases
10990 (add-after 'install 'wrap
10991 (lambda* (#:key inputs outputs #:allow-other-keys)
10992 (let* ((out (assoc-ref outputs "out"))
10993 (site (string-append
10995 ,(version-major+minor (package-version python))
10997 (evdev (string-append
10998 (assoc-ref inputs "python-evdev") site))
10999 (pygo (string-append
11000 (assoc-ref inputs "python-pygobject") site))
11002 `("PYTHONPATH" = (,evdev ,pygo))))
11003 (wrap-program (string-append out "/bin/" "ratbagctl")
11008 ("pkg-config" ,pkg-config)
11010 ("valgrind" ,valgrind)))
11013 ("json-glib" ,json-glib)
11014 ("libevdev" ,libevdev)
11015 ("libsystemd" ,elogind)
11016 ("libunistring" ,libunistring)
11017 ("python-evdev" ,python-evdev)
11018 ("python-pygobject" ,python-pygobject)
11020 (home-page "https://github.com/libratbag/libratbag")
11021 (synopsis "DBus daemon and utility for configuring gaming mice")
11022 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11023 configure input devices, mainly gaming mice. The daemon provides a generic
11024 way to access the various features exposed by these mice and abstracts away
11025 hardware-specific and kernel-specific quirks. There is also the
11026 @command{ratbagctl} command line interface for configuring devices.
11028 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11031 The ratbagd DBus service can be enabled by adding the following service to
11032 your operating-system definition:
11034 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11035 (license license:expat)))
11037 (define-public piper
11044 (uri (git-reference
11045 (url "https://github.com/libratbag/piper")
11048 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11049 (file-name (git-file-name name version))))
11050 (build-system meson-build-system)
11052 `(("gettext" ,gettext-minimal)
11053 ("glib:bin" ,glib "bin")
11054 ("gobject-introspection" ,gobject-introspection)
11055 ("pkg-config" ,pkg-config)
11056 ("python-flake8" ,python-flake8)))
11058 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11060 ("gtk:bin" ,gtk+ "bin")
11061 ("librsvg" ,librsvg)
11062 ("python-evdev" ,python-evdev)
11063 ("python-lxml" ,python-lxml)
11064 ("python-pycairo" ,python-pycairo)
11065 ("python-pygobject" ,python-pygobject)))
11067 `(#:imported-modules ((guix build python-build-system)
11068 ,@%meson-build-system-modules)
11069 #:modules (((guix build python-build-system) #:prefix python:)
11070 (guix build meson-build-system)
11071 (guix build utils))
11072 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11074 (modify-phases %standard-phases
11075 (add-after 'unpack 'dont-update-gtk-icon-cache
11077 (substitute* "meson.build"
11078 (("meson.add_install_script('meson_install.sh')") ""))
11080 ;; TODO: Switch to wrap-script when it is fixed.
11081 (add-after 'install 'wrap-python
11082 (assoc-ref python:%standard-phases 'wrap))
11083 (add-after 'wrap-python 'wrap
11084 (lambda* (#:key outputs #:allow-other-keys)
11086 (string-append (assoc-ref outputs "out" )"/bin/piper")
11087 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11089 (home-page "https://github.com/libratbag/piper/")
11090 (synopsis "Configure bindings and LEDs on gaming mice")
11091 (description "Piper is a GTK+ application for configuring gaming mice with
11092 onboard configuration for key bindings via libratbag. Piper requires
11093 a @command{ratbagd} daemon running with root privileges. It can be run
11094 manually as root, but is preferably configured as a DBus service that can
11095 launch on demand. This can be configured by enabling the following service,
11096 provided there is a DBus service present:
11098 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11099 (license license:gpl2)))
11101 (define-public parlatype
11108 (uri (git-reference
11109 (url "https://github.com/gkarsay/parlatype.git")
11110 (commit (string-append "v" version))))
11111 (file-name (git-file-name name version))
11113 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11114 (build-system meson-build-system)
11116 `(#:glib-or-gtk? #t
11117 #:tests? #f ;require internet access
11119 (modify-phases %standard-phases
11120 (add-after 'install 'wrap-parlatype
11121 ;; Add gstreamer plugin provided in this package to system's
11123 (lambda* (#:key outputs #:allow-other-keys)
11124 (let* ((out (assoc-ref outputs "out"))
11125 (gst-plugin-path (string-append
11126 out "/lib/gstreamer-1.0/"
11128 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11129 (wrap-program (string-append out "/bin/parlatype")
11130 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11133 `(("appstream-glib" ,appstream-glib)
11134 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11135 ("gettext" ,gettext-minimal)
11136 ("glib" ,glib "bin") ;for glib-compile-resources
11137 ("pkg-config" ,pkg-config)
11138 ("yelp-tools" ,yelp-tools)))
11140 `(("gst-plugins-base" ,gst-plugins-base)
11141 ("gst-plugins-good" ,gst-plugins-good)
11142 ("gstreamer" ,gstreamer)
11144 ("pocketsphinx" ,pocketsphinx)
11145 ("pulseaudio" ,pulseaudio)
11146 ("sphinxbase" ,sphinxbase)))
11147 (home-page "http://gkarsay.github.io/parlatype/")
11148 (synopsis "GNOME audio player for transcription")
11149 (description "Parlatype is an audio player for the GNOME desktop
11150 environment. Its main purpose is the manual transcription of spoken
11152 (license license:gpl3+)))
11154 (define-public jsonrpc-glib
11156 (name "jsonrpc-glib")
11160 (uri (string-append "mirror://gnome/sources/" name "/"
11161 (version-major+minor version) "/"
11162 name "-" version ".tar.xz"))
11165 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11166 (build-system meson-build-system)
11168 `(("json-glib" ,json-glib)
11171 `(("pkg-config" ,pkg-config)
11172 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11173 ("gobject-introspection" ,gobject-introspection)
11175 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11176 (synopsis "JSON-RPC library for GLib")
11177 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11178 peers in either a synchronous or asynchronous fashion. It also allows
11179 communicating using the GVariant serialization format instead of JSON when
11180 both peers support it. You might want that when communicating on a single
11181 host to avoid parser overhead and memory-allocator fragmentation.")
11182 (license license:lgpl2.1+)))
11184 (define-public feedbackd
11187 (version "0.0.0+git20200527")
11190 (uri (git-reference
11191 (url "https://source.puri.sm/Librem5/feedbackd.git")
11192 (commit (string-append "v" version))))
11193 (file-name (git-file-name name version))
11196 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11197 (build-system meson-build-system)
11199 `(("glib:bin" ,glib "bin")
11200 ("gobject-introspection" ,gobject-introspection)
11201 ("pkg-config" ,pkg-config)
11206 ("json-glib" ,json-glib)
11207 ("libgudev" ,libgudev)))
11209 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11210 (synopsis "Haptic/visual/audio feedback via DBus")
11211 (description "Feedbackd provides a DBus daemon to act on events to provide
11212 haptic, visual and audio feedback. It offers the libfeedbackd library and
11213 GObject introspection bindings.")
11214 (home-page "https://source.puri.sm/Librem5/feedbackd")
11215 (license (list license:lgpl2.1+ ; libfeedbackd
11216 license:lgpl3+)))) ; the rest
11218 (define-public sysprof
11225 (uri (string-append "mirror://gnome/sources/sysprof/"
11226 (version-major+minor version) "/"
11227 "sysprof-" version ".tar.xz"))
11229 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11230 (build-system meson-build-system)
11232 `(#:configure-flags
11233 (list (string-append "-Dsystemdunitdir="
11236 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11238 (modify-phases %standard-phases
11239 (add-after 'unpack 'patch-install-script
11241 (substitute* "build-aux/meson/post_install.sh"
11242 (("gtk-update-icon-cache") "true")
11243 (("update-desktop-database") "true"))
11248 ("libdazzle" ,libdazzle)
11249 ("polkit" ,polkit)))
11251 `(("gettext" ,gettext-minimal)
11252 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11253 ("itstool" ,itstool)
11254 ("pkg-config" ,pkg-config)
11255 ("xmllint" ,libxml2)))
11256 ;; This home page is so woefully out of date as to be essentially useless.
11257 ;; (home-page "http://www.sysprof.com")
11258 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11259 (synopsis "System-wide performance profiler for GNU/Linux")
11261 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11262 GNU/Linux system including the kernel and all user-space applications. This
11263 helps find the function(s) in which a program spends most of its time.
11265 It uses the kernel's built-in @code{ptrace} feature and handles shared
11266 libraries. Applications do not need to be recompiled--or even restarted.")
11267 (license license:gpl3+)))
11269 (define-public gnome-builder
11271 (name "gnome-builder")
11275 (uri (string-append "mirror://gnome/sources/" name "/"
11276 (version-major+minor version) "/"
11277 name "-" version ".tar.xz"))
11280 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11281 (build-system meson-build-system)
11283 `(#:configure-flags (list "-Dnetwork_tests=false"
11284 ;; TODO: Enable all plugins...
11285 "-Dplugin_clang=false"
11286 "-Dplugin_flatpak=false"
11287 "-Dplugin_glade=false"
11288 ;; ... except this one.
11289 "-Dplugin_update_manager=false")
11291 (modify-phases %standard-phases
11292 (add-after 'unpack 'patch-meson
11293 (lambda* (#:key inputs #:allow-other-keys)
11294 (substitute* "build-aux/meson/post_install.py"
11295 (("gtk-update-icon-cache") "true")
11296 (("update-desktop-database") "true"))
11297 (substitute* "src/libide/meson.build"
11299 (string-append (assoc-ref inputs "python-pygobject")
11302 (add-before 'check 'pre-check
11304 (system "Xvfb :1 &")
11305 (setenv "DISPLAY" ":1")
11308 `(("devhelp" ,devhelp)
11311 ("json-glib" ,json-glib)
11312 ("jsonrpc-glib" ,jsonrpc-glib)
11313 ("libdazzle" ,libdazzle)
11314 ("libgit2-glib" ,libgit2-glib)
11315 ("libpeas" ,libpeas)
11316 ("python-pygobject" ,python-pygobject)
11317 ("sysprof" ,sysprof)
11318 ("template-glib" ,template-glib)
11320 ("webkitgtk" ,webkitgtk)))
11322 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11324 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11325 ("glib:bin" ,glib "bin")
11326 ("gettext" ,gettext-minimal)
11327 ("pkg-config" ,pkg-config)
11329 ("xorg-server" ,xorg-server-for-tests)))
11330 (home-page "https://wiki.gnome.org/Apps/Builder")
11331 (synopsis "Toolsmith for GNOME-based applications")
11332 (description "Builder aims to be an integrated development
11333 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11334 auto-completion, a mini code map, documentation browsing, Git integration, an
11335 integrated profiler via Sysprof, debugging support, and more.")
11336 (license license:gpl3+)))
11338 (define-public komikku
11345 (uri (git-reference
11346 (url "https://gitlab.com/valos/Komikku/")
11347 (commit (string-append "v" version))))
11348 (file-name (git-file-name name version))
11351 "16d7k500nd9klnjqqcgk3glhv2sy78yndkz3n0x7lynvblsy45kk"))))
11352 (build-system meson-build-system)
11354 `(#:glib-or-gtk? #t
11356 (modify-phases %standard-phases
11357 (add-after 'unpack 'patch-sources
11359 (substitute* "komikku/utils.py"
11360 (("from komikku\\.servers import get_servers_list")
11361 ;; code following that line should migrate old databases
11362 ;; but the line itself results in an import error
11363 "return data_dir_path"))))
11364 (add-after 'unpack 'skip-gtk-update-icon-cache
11366 (substitute* "meson_post_install.py"
11367 (("gtk-update-icon-cache") (which "true")))
11369 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11370 (lambda* (#:key outputs #:allow-other-keys)
11371 (let ((prog (string-append (assoc-ref outputs "out")
11374 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
11375 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11379 ("libhandy" ,libhandy)
11380 ("libnotify" ,libnotify)
11381 ("libsecret" ,libsecret)
11382 ("python-beautifulsoup4" ,python-beautifulsoup4)
11383 ("python-cloudscraper" ,python-cloudscraper)
11384 ("python-dateparser" ,python-dateparser)
11385 ("python-keyring" ,python-keyring)
11386 ("python-lxml" ,python-lxml)
11387 ("python-magic" ,python-magic)
11388 ("python-pillow" ,python-pillow)
11389 ("python-pure-protobuf" ,python-pure-protobuf)
11390 ("python-pycairo" ,python-pycairo)
11391 ("python-pygobject" ,python-pygobject)
11392 ("python-unidecode" ,python-unidecode)))
11394 `(("desktop-file-utils" ,desktop-file-utils)
11395 ("gettext" ,gettext-minimal)
11396 ("glib:bin" ,glib "bin")
11397 ("gobject-introspection" ,gobject-introspection)
11398 ("pkg-config" ,pkg-config)))
11399 (home-page "https://gitlab.com/valos/Komikku")
11400 (synopsis "Manga reader for GNOME")
11401 (description "Komikku is an online/offline manga reader for GNOME,
11402 developed with the aim of being used with the Librem 5 phone.")
11403 (license license:gpl3+)))