1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016, 2020 Eric Bavier <bavier@posteo.net>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017, 2020 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019, 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020, 2021 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
58 ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
59 ;;; Copyright © 2020, 2021 Andy Tai <atai@atai.org>
61 ;;; This file is part of GNU Guix.
63 ;;; GNU Guix is free software; you can redistribute it and/or modify it
64 ;;; under the terms of the GNU General Public License as published by
65 ;;; the Free Software Foundation; either version 3 of the License, or (at
66 ;;; your option) any later version.
68 ;;; GNU Guix is distributed in the hope that it will be useful, but
69 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
70 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
71 ;;; GNU General Public License for more details.
73 ;;; You should have received a copy of the GNU General Public License
74 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
76 (define-module (gnu packages gnome)
77 #:use-module (gnu packages)
78 #:use-module (gnu packages admin)
79 #:use-module (gnu packages aidc)
80 #:use-module (gnu packages aspell)
81 #:use-module (gnu packages autotools)
82 #:use-module (gnu packages avahi)
83 #:use-module (gnu packages backup)
84 #:use-module (gnu packages base)
85 #:use-module (gnu packages bash)
86 #:use-module (gnu packages bison)
87 #:use-module (gnu packages boost)
88 #:use-module (gnu packages build-tools)
89 #:use-module (gnu packages calendar)
90 #:use-module (gnu packages cdrom)
91 #:use-module (gnu packages check)
92 #:use-module (gnu packages cmake)
93 #:use-module (gnu packages compression)
94 #:use-module (gnu packages crates-io)
95 #:use-module (gnu packages crates-graphics)
96 #:use-module (gnu packages crates-gtk)
97 #:use-module (gnu packages cups)
98 #:use-module (gnu packages curl)
99 #:use-module (gnu packages cyrus-sasl)
100 #:use-module (gnu packages databases)
101 #:use-module (gnu packages dbm)
102 #:use-module (gnu packages djvu)
103 #:use-module (gnu packages dns)
104 #:use-module (gnu packages docbook)
105 #:use-module (gnu packages documentation)
106 #:use-module (gnu packages enchant)
107 #:use-module (gnu packages flex)
108 #:use-module (gnu packages fonts)
109 #:use-module (gnu packages file-systems)
110 #:use-module (gnu packages fontutils)
111 #:use-module (gnu packages freedesktop)
112 #:use-module (gnu packages game-development)
113 #:use-module (gnu packages gcc)
114 #:use-module (gnu packages gettext)
115 #:use-module (gnu packages ghostscript)
116 #:use-module (gnu packages gimp)
117 #:use-module (gnu packages gl)
118 #:use-module (gnu packages glib)
119 #:use-module (gnu packages gnupg)
120 #:use-module (gnu packages gnuzilla)
121 #:use-module (gnu packages geo)
122 #:use-module (gnu packages gperf)
123 #:use-module (gnu packages graphviz)
124 #:use-module (gnu packages gstreamer)
125 #:use-module (gnu packages gtk)
126 #:use-module (gnu packages guile)
127 #:use-module (gnu packages ibus)
128 #:use-module (gnu packages icu4c)
129 #:use-module (gnu packages image)
130 #:use-module (gnu packages imagemagick)
131 #:use-module (gnu packages inkscape)
132 #:use-module (gnu packages iso-codes)
133 #:use-module (gnu packages kerberos)
134 #:use-module (gnu packages libcanberra)
135 #:use-module (gnu packages libffi)
136 #:use-module (gnu packages libunistring)
137 #:use-module (gnu packages libunwind)
138 #:use-module (gnu packages libusb)
139 #:use-module (gnu packages linux)
140 #:use-module (gnu packages lirc)
141 #:use-module (gnu packages lua)
142 #:use-module (gnu packages mail)
143 #:use-module (gnu packages mp3)
144 #:use-module (gnu packages multiprecision)
145 #:use-module (gnu packages music)
146 #:use-module (gnu packages ncurses)
147 #:use-module (gnu packages nettle)
148 #:use-module (gnu packages networking)
149 #:use-module (gnu packages ninja)
150 #:use-module (gnu packages node)
151 #:use-module (gnu packages nss)
152 #:use-module (gnu packages ocr)
153 #:use-module (gnu packages openldap)
154 #:use-module (gnu packages package-management)
155 #:use-module (gnu packages password-utils)
156 #:use-module (gnu packages pcre)
157 #:use-module (gnu packages pdf)
158 #:use-module (gnu packages perl)
159 #:use-module (gnu packages photo)
160 #:use-module (gnu packages php)
161 #:use-module (gnu packages pkg-config)
162 #:use-module (gnu packages polkit)
163 #:use-module (gnu packages popt)
164 #:use-module (gnu packages pretty-print)
165 #:use-module (gnu packages protobuf)
166 #:use-module (gnu packages pulseaudio)
167 #:use-module (gnu packages python)
168 #:use-module (gnu packages python-crypto)
169 #:use-module (gnu packages python-web)
170 #:use-module (gnu packages python-xyz)
171 #:use-module (gnu packages rdesktop)
172 #:use-module (gnu packages rdf)
173 #:use-module (gnu packages readline)
174 #:use-module (gnu packages ruby)
175 #:use-module (gnu packages rust)
176 #:use-module (gnu packages samba)
177 #:use-module (gnu packages scanner)
178 #:use-module (gnu packages sdl)
179 #:use-module (gnu packages search)
180 #:use-module (gnu packages selinux)
181 #:use-module (gnu packages slang)
182 #:use-module (gnu packages speech)
183 #:use-module (gnu packages spice)
184 #:use-module (gnu packages sqlite)
185 #:use-module (gnu packages ssh)
186 #:use-module (gnu packages swig)
187 #:use-module (gnu packages tex)
188 #:use-module (gnu packages time)
189 #:use-module (gnu packages tls)
190 #:use-module (gnu packages valgrind)
191 #:use-module (gnu packages version-control)
192 #:use-module (gnu packages video)
193 #:use-module (gnu packages virtualization)
194 #:use-module (gnu packages vpn)
195 #:use-module (gnu packages web)
196 #:use-module (gnu packages webkit)
197 #:use-module (gnu packages xdisorg)
198 #:use-module (gnu packages xiph)
199 #:use-module (gnu packages xml)
200 #:use-module (gnu packages xorg)
201 #:use-module (gnu artwork)
202 #:use-module ((guix build utils) #:select (modify-phases))
203 #:use-module (guix build-system cargo)
204 #:use-module (guix build-system cmake)
205 #:use-module (guix build-system glib-or-gtk)
206 #:use-module (guix build-system gnu)
207 #:use-module (guix build-system meson)
208 #:use-module (guix build-system python)
209 #:use-module (guix build-system trivial)
210 #:use-module (guix download)
211 #:use-module (guix git-download)
212 #:use-module ((guix licenses) #:prefix license:)
213 #:use-module (guix packages)
214 #:use-module (guix utils)
215 #:use-module (guix gexp)
216 #:use-module (guix monads)
217 #:use-module (guix store)
218 #:use-module (ice-9 match)
219 #:use-module (srfi srfi-1))
221 (define-public gupnp-igd
229 (string-append "mirror://gnome/sources/" name "/"
230 (version-major+minor version) "/"
231 name "-" version ".tar.xz"))
233 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
234 (build-system meson-build-system)
235 (outputs '("out" "doc"))
237 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
238 #:configure-flags (list "-Dgtk_doc=true")
240 (modify-phases %standard-phases
241 (add-after 'unpack 'patch-docbook-xml
242 (lambda* (#:key inputs #:allow-other-keys)
243 (with-directory-excursion "doc"
244 (substitute* "gupnp-igd-docs.xml"
245 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
246 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
247 "/xml/dtd/docbook/"))))
249 (add-after 'install 'move-doc
250 (lambda* (#:key outputs #:allow-other-keys)
251 (let* ((out (assoc-ref outputs "out"))
252 (doc (assoc-ref outputs "doc")))
253 (mkdir-p (string-append doc "/share"))
255 (string-append out "/share/gtk-doc")
256 (string-append doc "/share/gtk-doc"))
259 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
260 ("docbook-xsl" ,docbook-xsl)
261 ("glib:bin" ,glib "bin")
262 ("gobject-introspection" ,gobject-introspection)
263 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
265 ("pkg-config" ,pkg-config)))
268 ("glib-networking" ,glib-networking)
271 ("libsoup" ,libsoup)))
272 (synopsis "UPnP IGD for GNOME")
273 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
274 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
275 (license license:lgpl2.1+)))
277 (define-public brasero
283 (uri (string-append "mirror://gnome/sources/brasero/"
284 (version-major+minor version) "/"
285 "brasero-" version ".tar.xz"))
288 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
289 (build-system glib-or-gtk-build-system)
291 `(#:configure-flags (list
292 (string-append "--with-girdir="
293 (assoc-ref %outputs "out")
295 (string-append "--with-typelibdir="
296 (assoc-ref %outputs "out")
297 "/lib/girepository-1.0"))
299 (modify-phases %standard-phases
300 (add-before 'configure 'embed-growisofs
301 (lambda* (#:key inputs #:allow-other-keys)
302 (substitute* "plugins/growisofs/burn-growisofs.c"
303 (("\"growisofs") (string-append "\"" (which "growisofs"))))
306 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
308 `(("intltool" ,intltool)
310 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
311 ("gobject-introspection" ,gobject-introspection)
312 ("pkg-config" ,pkg-config)))
314 `(("dvd+rw-tools" ,dvd+rw-tools)
316 ("gnome-doc-utils" ,gnome-doc-utils)
317 ("gstreamer" ,gstreamer)
318 ("gst-plugins-base" ,gst-plugins-base)
320 ("libcanberra" ,libcanberra)
322 ("libnotify" ,libnotify)
325 ("totem-pl-parser" ,totem-pl-parser)))
326 (home-page "https://wiki.gnome.org/Apps/Brasero")
327 (synopsis "CD/DVD burning tool for Gnome")
328 (description "Brasero is an application to burn CD/DVD for the Gnome
329 Desktop. It is designed to be as simple as possible and has some unique
330 features to enable users to create their discs easily and quickly.")
331 (license license:gpl2+)))
333 (define-public libcloudproviders
335 (name "libcloudproviders")
341 (string-append "mirror://gnome/sources/" name "/"
342 (version-major+minor version) "/"
343 name "-" version ".tar.xz"))
345 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
346 (build-system meson-build-system)
347 (outputs '("out" "doc"))
349 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
352 "-Denable-gtk-doc=true")
354 (modify-phases %standard-phases
355 (add-after 'install 'move-doc
356 (lambda* (#:key outputs #:allow-other-keys)
357 (let* ((out (assoc-ref outputs "out"))
358 (doc (assoc-ref outputs "doc")))
359 (mkdir-p (string-append doc "/share"))
361 (string-append out "/share/gtk-doc")
362 (string-append doc "/share/gtk-doc"))
365 `(("glib:bin" ,glib "bin")
366 ("gobject-introspection" ,gobject-introspection)
368 ("pkg-config" ,pkg-config)
372 ("glib-networking" ,glib-networking)))
373 (synopsis "Cloudproviders Integration API")
374 (description "Libcloudproviders is a DBus API that allows cloud storage sync
375 clients to expose their services. Clients such as file managers and desktop
376 environments can then provide integrated access to the cloud providers
378 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
379 (license license:lgpl3+)))
381 (define-public libgrss
389 (string-append "mirror://gnome/sources/" name "/"
390 (version-major+minor version) "/"
391 name "-" version ".tar.xz"))
393 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
394 (build-system glib-or-gtk-build-system)
395 (outputs '("out" "doc"))
400 (string-append "--with-html-dir="
401 (assoc-ref %outputs "doc")
402 "/share/gtk-doc/html"))
404 (modify-phases %standard-phases
405 (add-after 'unpack 'patch-docbook-xml
406 (lambda* (#:key inputs #:allow-other-keys)
407 (with-directory-excursion "doc/reference"
408 (substitute* "libgrss-docs.sgml"
409 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
410 (string-append (assoc-ref inputs "docbook-xml")
411 "/xml/dtd/docbook/"))))
414 `(("docbook-xml" ,docbook-xml-4.1.2)
415 ("gobject-introspection" ,gobject-introspection)
417 ("pkg-config" ,pkg-config)))
421 ("libxml2" ,libxml2)))
422 (synopsis "Glib library for feeds")
423 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
425 (home-page "https://wiki.gnome.org/Projects/Libgrss")
426 (license license:lgpl3+)))
428 (define-public gnome-js-common
430 (name "gnome-js-common")
436 (string-append "mirror://gnome/sources/" name "/"
437 (version-major+minor version) "/"
438 name "-" version ".tar.gz"))
440 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
441 (build-system glib-or-gtk-build-system)
445 "--disable-static")))
447 `(("gettext" ,gettext-minimal)
448 ("intltool" ,intltool)
449 ("pkg-config" ,pkg-config)))
450 (synopsis "Common JS Modules")
451 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
453 (home-page "https://wiki.gnome.org/Projects/Seed")
454 (license license:gpl3+)))
464 (string-append "mirror://gnome/sources/" name "/"
465 (version-major+minor version) "/"
466 name "-" version ".tar.xz"))
468 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
470 (search-patches "seed-webkit.patch"))))
471 (build-system glib-or-gtk-build-system)
472 (outputs '("out" "doc"))
477 "--enable-xorg-module"
478 (string-append "--with-html-dir="
479 (assoc-ref %outputs "doc")
480 "/share/gtk-doc/html")
483 (modify-phases %standard-phases
484 ;; The seed-webkit.patch patches configure.ac.
485 ;; So the source files need to be re-bootstrapped.
486 (add-after 'unpack 'trigger-bootstrap
488 (for-each delete-file
493 (add-after 'unpack 'patch-tests
494 (lambda* (#:key outputs #:allow-other-keys)
495 (substitute* (find-files "." "\\.js$")
496 (("#!/usr/bin/env seed")
497 (string-append "#!" (getcwd) "/src/seed")))
499 (add-before 'build 'patch-docbook-xml
500 (lambda* (#:key inputs #:allow-other-keys)
501 (with-directory-excursion "doc"
502 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
503 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
504 (string-append (assoc-ref inputs "docbook-xml")
505 "/xml/dtd/docbook/"))))
508 `(("autoconf" ,autoconf)
509 ("automake" ,automake)
510 ("docbook-xml" ,docbook-xml-4.1.2)
511 ("gettext" ,gettext-minimal)
512 ("gobject-introspection" ,gobject-introspection)
514 ("intltool" ,intltool)
516 ("pkg-config" ,pkg-config)))
520 ("dbus-glib" ,dbus-glib)
521 ("gnome-js-common" ,gnome-js-common)
527 ("readline" ,readline)
529 ("xscrnsaver" ,libxscrnsaver)))
532 ("webkit" ,webkitgtk)))
533 (synopsis "GObject JavaScriptCore bridge")
534 (description "Seed is a library and interpreter, dynamically bridging
535 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
536 GNOME platform. It serves as something which enables you to write standalone
537 applications in JavaScript, or easily enable your application to be extensible
539 (home-page "https://wiki.gnome.org/Projects/Seed")
540 (license license:lgpl2.0+)))
542 (define-public libdmapsharing
544 (name "libdmapsharing")
550 (string-append "https://www.flyn.org/projects/"
551 name "/" name "-" version ".tar.gz"))
553 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
554 (build-system glib-or-gtk-build-system)
555 (outputs '("out" "doc"))
557 `(#:tests? #f ; Tests require networking.
561 (string-append "--with-html-dir="
562 (assoc-ref %outputs "doc")
563 "/share/gtk-doc/html"))
565 (modify-phases %standard-phases
566 (add-after 'unpack 'patch-docbook-xml
567 (lambda* (#:key inputs #:allow-other-keys)
568 (with-directory-excursion "doc"
569 (substitute* "libdmapsharing-4.0-docs.xml"
570 (("http://www.oasis-open.org/docbook/xml/4.3/")
571 (string-append (assoc-ref inputs "docbook-xml")
572 "/xml/dtd/docbook/"))))
576 ("docbook-xml" ,docbook-xml-4.3)
577 ("gobject-introspection" ,gobject-introspection)
578 ("pedansee" ,pedansee)
579 ("pkg-config" ,pkg-config)
583 ("gdk-pixbuf" ,gdk-pixbuf+svg)
585 ("gst-plugins-base" ,gst-plugins-base)
589 ("glib-networking" ,glib-networking)
590 ("gstreamer" ,gstreamer)
591 ("libsoup" ,libsoup)))
592 (synopsis "Media management library")
593 (description "Libdmapsharing is a library which allows programs to access,
594 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
595 It is written in C using GObject and libsoup.")
596 (home-page "https://launchpad.net/gtx")
597 (license license:lgpl2.1+)))
607 (string-append "https://launchpad.net/gtx/trunk/"
608 version "/+download/gtx-" version ".tar.gz"))
610 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
611 (build-system glib-or-gtk-build-system)
612 (outputs '("out" "doc"))
618 (string-append "--with-html-dir="
619 (assoc-ref %outputs "doc")
620 "/share/gtk-doc/html"))))
622 `(("gobject-introspection" ,gobject-introspection)
624 ("pkg-config" ,pkg-config)))
627 (synopsis "GLib Testing Framework")
628 (description "GTX is a small collection of convenience functions intended to
629 enhance the GLib testing framework. With specific emphasis on easing the pain
630 of writing test cases for asynchronous interactions.")
631 (home-page "https://launchpad.net/gtx")
632 (license license:lgpl2.1+)))
642 (string-append "https://launchpad.net/dee/1.0/"
643 version "/+download/dee-" version ".tar.gz"))
645 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
647 (search-patches "dee-vapi.patch"))))
648 (build-system glib-or-gtk-build-system)
649 (outputs '("out" "doc"))
653 "--disable-maintainer-flags"
654 (string-append "--with-pygi-overrides-dir="
655 (assoc-ref %outputs "out")
657 ,(version-major+minor
658 (package-version python))
659 "/site-packages/gi/overrides")
660 (string-append "--with-html-dir="
661 (assoc-ref %outputs "doc")
662 "/share/gtk-doc/html"))
664 (modify-phases %standard-phases
665 (add-after 'unpack 'patch-docbook-xml
666 (lambda* (#:key inputs #:allow-other-keys)
667 (with-directory-excursion "doc/reference/dee-1.0"
668 (substitute* "dee-1.0-docs.sgml"
669 (("http://www.oasis-open.org/docbook/xml/4.3/")
670 (string-append (assoc-ref inputs "docbook-xml")
671 "/xml/dtd/docbook/"))))
673 (add-after 'patch-docbook-xml 'disable-failing-tests
675 (substitute* "tests/test-icu.c"
676 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
678 (("setup, test_ascii_folder, teardown\\);")
681 (add-before 'check 'pre-check
683 ;; Tests require a running dbus-daemon.
684 (system "dbus-daemon &")
685 ;; For missing '/etc/machine-id'.
686 (setenv "DBUS_FATAL_WARNINGS" "0")
690 ("dbus-test-runner" ,dbus-test-runner)
691 ("docbook-xml" ,docbook-xml-4.3)
692 ("gobject-introspection" ,gobject-introspection)
694 ;; Would only be required by configure flag "--enable-extended-tests".
696 ("pkg-config" ,pkg-config)
697 ("pygobject" ,python-pygobject)
698 ("python" ,python-wrapper)
704 (synopsis "Model to synchronize multiple instances over DBus")
705 (description "Dee is a library that uses DBus to provide objects allowing
706 you to create Model-View-Controller type programs across DBus. It also consists
707 of utility objects which extend DBus allowing for peer-to-peer discoverability
708 of known objects without needing a central registrar.")
709 (home-page "https://launchpad.net/dee")
716 (define-public zeitgeist
725 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
727 (string-append "v" version))))
729 (git-file-name name version))
731 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
732 (build-system glib-or-gtk-build-system)
736 "--enable-explain-queries"
740 (modify-phases %standard-phases
741 (add-after 'unpack 'patch-docbook-xml
742 (lambda* (#:key inputs #:allow-other-keys)
743 (with-directory-excursion "doc/libzeitgeist"
744 (substitute* "zeitgeist-gtkdoc-index.sgml"
745 (("http://www.oasis-open.org/docbook/xml/4.3/")
746 (string-append (assoc-ref inputs "docbook-xml")
747 "/xml/dtd/docbook/"))))
749 (add-after 'patch-docbook-xml 'disable-failing-tests
751 (substitute* "test/direct/Makefile.am"
754 (substitute* "test/c/Makefile.am"
758 (add-before 'bootstrap 'remove-autogen-script
760 ;; To honor `autoreconf -vif` by build-system.
761 (delete-file "autogen.sh")
764 `(("autoconf" ,autoconf)
765 ("automake" ,automake)
766 ("docbook-xml" ,docbook-xml-4.3)
767 ("gettext" ,gettext-minimal)
768 ("gobject-introspection" ,gobject-introspection)
771 ("pkg-config" ,pkg-config)
773 ("xorg-server-for-tests" ,xorg-server-for-tests)))
777 ("json-glib" ,json-glib)
779 ("telepathy-glib" ,telepathy-glib)
780 ("python" ,python-wrapper)
781 ("python-rdflib" ,python-rdflib)
782 ("xapian-config" ,xapian)))
785 (synopsis "Desktop Activity Logging")
786 (description "Zeitgeist is a service which logs the users’s activities and
787 events, anywhere from files opened to websites visited and conversations. It
788 makes this information readily available for other applications to use. It is
789 able to establish relationships between items based on similarity and usage
791 (home-page "https://zeitgeist.freedesktop.org/")
798 (define-public gnome-recipes
800 (name "gnome-recipes")
805 (url "https://gitlab.gnome.org/GNOME/recipes")
807 (file-name (git-file-name name version))
810 "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
811 (build-system meson-build-system)
815 (modify-phases %standard-phases
816 (add-after 'unpack 'skip-gtk-update-icon-cache
818 (substitute* "meson_post_install.py"
819 (("gtk-update-icon-cache") (which "true")))
821 (add-after 'unpack 'unpack-libgd
822 (lambda* (#:key inputs #:allow-other-keys)
823 (let ((libgd (assoc-ref inputs "libgd")))
824 (copy-recursively libgd "subprojects/libgd")
828 ("gnome-autoar" ,gnome-autoar)
829 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
832 ("json-glib" ,json-glib)
833 ("libcanberra" ,libcanberra)
837 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
838 ("gettext" ,gettext-minimal)
839 ("glib:bin" ,glib "bin")
845 (url "https://gitlab.gnome.org/GNOME/libgd")
846 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
847 (file-name (git-file-name "libgd" version))
849 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
850 ("pkg-config" ,pkg-config)))
851 (home-page "https://wiki.gnome.org/Apps/Recipes")
852 (synopsis "Discover recipes for preparing food")
853 (description "GNOME Recipes helps you discover what to cook today,
854 tomorrow, the rest of the week and for special occasions.")
855 (license license:gpl3+)))
857 (define-public gnome-photos
859 (name "gnome-photos")
865 (string-append "mirror://gnome/sources/" name "/"
866 (version-major+minor version) "/"
867 name "-" version ".tar.xz"))
870 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
871 (build-system meson-build-system)
875 (list "-Ddogtail=false" ; Not available
876 ;; Required for RUNPATH validation.
877 (string-append "-Dc_link_args=-Wl,-rpath="
878 (assoc-ref %outputs "out") "/lib/gnome-photos"))
880 (modify-phases %standard-phases
881 (add-after 'install 'wrap-gnome-photos
882 (lambda* (#:key inputs outputs #:allow-other-keys)
884 ((out (assoc-ref outputs "out")))
885 (wrap-program (string-append out "/bin/gnome-photos")
886 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
890 ("desktop-file-utils" ,desktop-file-utils)
891 ("gettext" ,gettext-minimal)
893 ("glib:bin" ,glib "bin")
894 ("gobject-introspection" ,gobject-introspection)
895 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
896 ("gtk+:bin" ,gtk+ "bin")
898 ("pkg-config" ,pkg-config)))
902 ("gdk-pixbuf" ,gdk-pixbuf+svg)
904 ("geocode-glib" ,geocode-glib)
906 ("gnome-online-accounts" ,gnome-online-accounts)
907 ("gnome-online-miners" ,gnome-online-miners)
909 ("grilo-plugins" ,grilo-plugins)
911 ("libdazzle" ,libdazzle)
912 ("libgdata" ,libgdata)
913 ("libgfbgraph" ,gfbgraph)
914 ("libjpeg" ,libjpeg-turbo)
917 ("pygobject" ,python-pygobject)
919 ("tracker-miners" ,tracker-miners)))
920 (synopsis "Access, organize and share your photos on GNOME desktop")
921 (description "GNOME Photos is a simple and elegant replacement for using a
922 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
923 cloud integration is offered through GNOME Online Accounts.")
924 (home-page "https://wiki.gnome.org/Apps/Photos")
925 (license license:gpl3+)))
927 (define-public gnome-music
935 (string-append "mirror://gnome/sources/" name "/"
936 (version-major+minor version) "/"
937 name "-" version ".tar.xz"))
940 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
941 (build-system meson-build-system)
945 (modify-phases %standard-phases
946 (add-after 'install 'wrap-gnome-music
947 (lambda* (#:key inputs outputs #:allow-other-keys)
949 ((out (assoc-ref outputs "out"))
950 (pylib (string-append out "/lib/python"
951 ,(version-major+minor
952 (package-version python))
954 (wrap-program (string-append out "/bin/gnome-music")
955 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
956 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
957 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
958 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
961 `(("desktop-file-utils" ,desktop-file-utils)
962 ("gettext" ,gettext-minimal)
963 ("glib:bin" ,glib "bin")
964 ("gobject-introspection" ,gobject-introspection)
965 ("gtk+:bin" ,gtk+ "bin")
966 ("itstools" ,itstool)
967 ("pkg-config" ,pkg-config)))
969 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
971 ("grilo-plugins" ,grilo-plugins)
972 ("gst-plugins-base" ,gst-plugins-base)
973 ("gstreamer" ,gstreamer)
975 ("libdazzle" ,libdazzle)
976 ("libmediaart" ,libmediaart)
978 ("pycairo" ,python-pycairo)
979 ("pygobject" ,python-pygobject)
981 ("tracker-miners" ,tracker-miners)))
982 (synopsis "Simple music player for GNOME desktop")
983 (description "GNOME Music is the new GNOME music playing application that
984 aims to combine an elegant and immersive browsing experience with simple
985 and straightforward controls.")
986 (home-page "https://wiki.gnome.org/Apps/Music")
987 (license license:gpl2+)))
989 (define-public portablexdr
997 (string-append "https://people.redhat.com/~rjones/" name "/files/"
998 name "-" version ".tar.gz"))
1001 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
1002 (build-system gnu-build-system)
1003 (synopsis "External Data Representation Library")
1004 (description "PortableXDR is an implementation of External Data
1005 Representation (XDR) Library. It is a standard data serialization format, for
1006 uses such as computer network protocols. It allows data to be transferred
1007 between different kinds of computer systems.")
1008 (home-page "https://people.redhat.com/~rjones/portablexdr/")
1012 license:lgpl2.1+))))
1022 (string-append "mirror://gnome/sources/" name "/"
1023 (version-major+minor version) "/"
1024 name "-" version ".tar.xz"))
1027 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
1028 (build-system glib-or-gtk-build-system)
1030 `(#:tests? #f)) ; FIX-ME: Requires gvfs
1032 `(("gobject-introspection" ,gobject-introspection)
1033 ("pkg-config" ,pkg-config)))
1038 ("gtksourceview" ,gtksourceview)
1039 ("libxml2" ,libxml2)
1040 ("uchardet" ,uchardet)))
1041 (synopsis "Text editor product line")
1042 (description "Tepl is a library that eases the development of
1043 GtkSourceView-based text editors and IDEs.")
1044 (home-page "https://wiki.gnome.org/Projects/Tepl")
1045 (license license:lgpl2.1+)))
1047 (define-public krb5-auth-dialog
1049 (name "krb5-auth-dialog")
1055 (string-append "mirror://gnome/sources/" name "/"
1056 (version-major+minor version) "/"
1057 name "-" version ".tar.xz"))
1060 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1061 (build-system glib-or-gtk-build-system)
1063 `(("intltool" ,intltool)
1064 ("itstool" ,itstool)
1065 ("libxml2" ,libxml2)
1066 ("pkg-config" ,pkg-config)
1067 ("python-wrapper" ,python-wrapper)))
1071 ("libnotify" ,libnotify)
1072 ("mit-krb5" ,mit-krb5)
1073 ("network-manager" ,network-manager)))
1074 (synopsis "Popup dialogs for Kerberos 5")
1075 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1076 tickets, and pops up a dialog when they are about to expire.")
1077 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1078 (license license:gpl2+)))
1080 (define-public notification-daemon
1082 (name "notification-daemon")
1088 (string-append "mirror://gnome/sources/" name "/"
1089 (version-major+minor version) "/"
1090 name "-" version ".tar.xz"))
1093 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1094 (build-system glib-or-gtk-build-system)
1096 `(("intltool" ,intltool)
1097 ("pkg-config" ,pkg-config)))
1102 (synopsis "Notification Daemon for GNOME Desktop")
1103 (description "Notification-Daemon is the server implementation of the
1104 freedesktop.org desktop notification specification.")
1105 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1106 (license license:gpl2+)))
1108 (define-public mm-common
1114 (uri (string-append "mirror://gnome/sources/mm-common/"
1115 (version-major+minor version) "/"
1116 "mm-common-" version ".tar.xz"))
1119 "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2"))))
1120 (build-system meson-build-system)
1123 (modify-phases %standard-phases
1124 (add-after 'unpack 'patch
1125 (lambda* (#:key inputs #:allow-other-keys)
1126 (substitute* "util/mm-common-prepare.in"
1127 (("ln") (string-append (assoc-ref inputs "coreutils")
1129 (("cp") (string-append (assoc-ref inputs "coreutils")
1131 (("sed") (string-append (assoc-ref inputs "sed")
1133 (("cat") (string-append (assoc-ref inputs "coreutils")
1137 `(("coreutils" ,coreutils)
1138 ("gettext" ,gettext-minimal)
1139 ("pkg-config" ,pkg-config)
1142 `(("python" ,python)))
1143 (synopsis "Module of GNOME C++ bindings")
1144 (description "The mm-common module provides the build infrastructure
1145 and utilities shared among the GNOME C++ binding libraries. Release
1146 archives of mm-common include the Doxygen tag file for the GNU C++
1147 Library reference documentation.")
1148 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1149 (license license:gpl2+)))
1151 (define-public phodav
1157 (uri (string-append "mirror://gnome/sources/" name "/"
1158 (version-major+minor version) "/"
1159 name "-" version ".tar.xz"))
1162 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1163 (build-system meson-build-system)
1166 (modify-phases %standard-phases
1167 (add-before 'check 'start-virtual-dir-server
1168 ;; The same server when started by tests/virtual-dir returns an
1169 ;; unexpected status (4 instead of 200) and fails a test. It is
1170 ;; unclear why starting it manually here makes it pass.
1172 (system "tests/virtual-dir-server &")
1175 `(("docbook-xml" ,docbook-xml-4.3)
1176 ("gettext" ,gettext-minimal)
1177 ("glib:bin" ,glib "bin")
1178 ("gtk-doc" ,gtk-doc)
1179 ("pkg-config" ,pkg-config)))
1182 ("libgudev" ,libgudev)
1183 ("libsoup" ,libsoup)))
1184 (synopsis "WebDav server implementation using libsoup")
1185 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1186 but it is generic enough to be reused in other projects,
1187 in particular in the GNOME desktop.")
1188 (home-page "https://wiki.gnome.org/phodav")
1189 (license license:lgpl2.1+)))
1191 (define-public gnome-color-manager
1193 (name "gnome-color-manager")
1197 (uri (string-append "mirror://gnome/sources/" name "/"
1198 (version-major+minor version) "/"
1199 name "-" version ".tar.xz"))
1202 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1203 (build-system meson-build-system)
1207 (modify-phases %standard-phases
1211 ;; Tests require a running X server.
1212 (system "Xvfb :1 &")
1213 (setenv "DISPLAY" ":1")
1216 `(("desktop-file-utils" ,desktop-file-utils)
1217 ("gettext" ,gettext-minimal)
1218 ("glib:bin" ,glib "bin")
1219 ("gtk+:bin" ,gtk+ "bin")
1220 ("itstool" ,itstool)
1221 ("pkg-config" ,pkg-config)
1222 ("xorg-server" ,xorg-server-for-tests)))
1224 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1225 ("appstream-glib" ,appstream-glib)
1226 ("colord-gtk" ,colord-gtk)
1228 ("gnome-desktop" ,gnome-desktop)
1229 ("libcanberra" ,libcanberra)
1230 ("libexif" ,libexif)
1231 ("libtiff" ,libtiff)
1232 ("libxrandr" ,libxrandr)
1233 ("libxtst" ,libxtst)
1234 ("libxxf86vm" ,libxxf86vm)
1236 ("xorgproto" ,xorgproto)))
1237 (synopsis "Color profile manager for the GNOME desktop")
1238 (description "GNOME Color Manager is a session framework that makes
1239 it easy to manage, install and generate color profiles
1240 in the GNOME desktop.")
1241 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1242 (license license:gpl2+)))
1244 (define-public gnome-online-miners
1246 (name "gnome-online-miners")
1250 (uri (string-append "mirror://gnome/sources/" name "/"
1251 (version-major+minor version) "/"
1252 name "-" version ".tar.xz"))
1255 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1256 (build-system glib-or-gtk-build-system)
1258 `(("gettext" ,gettext-minimal)
1259 ("glib:bin" ,glib "bin")
1260 ("gobject-introspection" ,gobject-introspection)
1261 ("gtk+:bin" ,gtk+ "bin")
1262 ("pkg-config" ,pkg-config)))
1264 `(("gnome-online-accounts" ,gnome-online-accounts)
1265 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1267 ("libgdata" ,libgdata)
1268 ("libgfbgraph" ,gfbgraph)
1269 ("libzapojit" ,libzapojit)
1271 ("tracker" ,tracker)))
1272 (synopsis "Web Crawlers for GNOME")
1273 (description "GNOME Online Miners provides a set of crawlers that
1274 go through your online content and index them locally in Tracker.
1275 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1276 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1277 (license license:gpl2+)))
1279 (define-public gssdp
1285 (uri (string-append "mirror://gnome/sources/" name "/"
1286 (version-major+minor version) "/"
1287 name "-" version ".tar.xz"))
1290 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1291 (build-system meson-build-system)
1293 `(("gettext" ,gettext-minimal)
1294 ("glib:bin" ,glib "bin")
1295 ("gobject-introspection" ,gobject-introspection)
1296 ("gtk-doc" ,gtk-doc)
1297 ("pkg-config" ,pkg-config)
1301 ("libsoup" ,libsoup)))
1302 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1303 Protocol} for GNOME")
1304 (description "This package provides a library to handle resource discovery
1305 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1306 a debugging tool, @command{gssdp-device-sniffer}.")
1307 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1308 (license license:lgpl2.0+)))
1310 (define-public gupnp
1316 (uri (string-append "mirror://gnome/sources/" name "/"
1317 (version-major+minor version) "/"
1318 name "-" version ".tar.xz"))
1321 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1322 (build-system meson-build-system)
1324 `(("gettext" ,gettext-minimal)
1325 ("glib:bin" ,glib "bin")
1326 ("gobject-introspection" ,gobject-introspection)
1327 ("gtk-doc" ,gtk-doc)
1328 ("pkg-config" ,pkg-config)
1333 ("libsoup" ,libsoup)))
1334 (synopsis "PnP API for GNOME")
1335 (description "This package provides GUPnP, an object-oriented framework
1336 for creating UPnP devices and control points, written in C using
1337 @code{GObject} and @code{libsoup}.")
1338 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1339 (license license:lgpl2.0+)))
1341 (define-public gupnp-dlna
1347 (uri (string-append "mirror://gnome/sources/" name "/"
1348 (version-major+minor version) "/"
1349 name "-" version ".tar.xz"))
1352 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1353 (build-system gnu-build-system)
1355 `(("gettext" ,gettext-minimal)
1356 ("glib:bin" ,glib "bin")
1357 ("gobject-introspection" ,gobject-introspection)
1358 ("gtk-doc" ,gtk-doc)
1360 ("pkg-config" ,pkg-config)
1363 `(("gstreamer" ,gstreamer)
1366 `(("gst-plugins-base" ,gst-plugins-base)
1367 ("gst-plugins-good" ,gst-plugins-good)))
1368 (synopsis "GUPnP DLNA for GNOME")
1369 (description "This package provides a small utility library to
1370 support DLNA-related tasks such as media profile guessing, transcoding to a
1371 given profile, etc. DLNA is a subset of UPnP A/V.")
1372 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1373 (license license:lgpl2.0+)))
1375 (define-public gupnp-av
1381 (uri (string-append "mirror://gnome/sources/" name "/"
1382 (version-major+minor version) "/"
1383 name "-" version ".tar.xz"))
1386 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1387 (build-system gnu-build-system)
1389 `(("gettext" ,gettext-minimal)
1390 ("glib:bin" ,glib "bin")
1391 ("gobject-introspection" ,gobject-introspection)
1392 ("gtk-doc" ,gtk-doc)
1394 ("pkg-config" ,pkg-config)))
1398 (synopsis "GUPnP A/V for GNOME")
1399 (description "This package provides a small library for handling
1400 and implementation of UPnP A/V profiles.")
1401 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1402 (license license:lgpl2.0+)))
1404 (define-public libmediaart
1406 (name "libmediaart")
1410 (uri (string-append "mirror://gnome/sources/" name "/"
1411 (version-major+minor version) "/"
1412 name "-" version ".tar.xz"))
1415 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1416 (build-system gnu-build-system)
1418 `(("glib:bin" ,glib "bin")
1419 ("pkg-config" ,pkg-config)))
1421 `(("gdk-pixbuf" ,gdk-pixbuf)
1422 ("gettext" ,gettext-minimal)
1423 ("gobject-introspection" ,gobject-introspection)
1424 ("gtk+:doc" ,gtk+ "doc")
1426 (synopsis "Media art library for the GNOME desktop")
1428 "The libmediaart library is the foundation for media art caching,
1429 extraction, and lookup for applications on the desktop.")
1430 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1431 (license license:lgpl2.1+)))
1433 (define-public gnome-initial-setup
1435 (name "gnome-initial-setup")
1439 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1440 (version-major+minor version)
1441 "/gnome-initial-setup-" version ".tar.xz"))
1444 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1445 (build-system meson-build-system)
1447 '(#:configure-flags '(;; Enable camera support for user selfie.
1450 #:phases (modify-phases %standard-phases
1451 (add-after 'unpack 'set-gkbd-file-name
1452 (lambda* (#:key inputs #:allow-other-keys)
1453 ;; Allow the "Preview" button in the keyboard layout
1454 ;; selection dialog to display the layout.
1455 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1456 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1457 (("\"gkbd-keyboard-display")
1458 (string-append "\"" libgnomekbd
1459 "/bin/gkbd-keyboard-display")))
1462 `(("gettext" ,gettext-minimal)
1463 ("glib:bin" ,glib "bin")
1464 ("gobject-introspection" ,gobject-introspection)
1465 ("gtk+:bin" ,gtk+ "bin")
1466 ("pkg-config" ,pkg-config)))
1468 `(("accountsservice" ,accountsservice)
1469 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1471 ("geoclue" ,geoclue)
1472 ("gnome-desktop" ,gnome-desktop)
1473 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1474 ("gnome-online-accounts" ,gnome-online-accounts)
1475 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1476 ("gstreamer" ,gstreamer)
1478 ("json-glib" ,json-glib)
1480 ("libgweather" ,libgweather)
1482 ("libsecret" ,libsecret)
1483 ("network-manager" ,network-manager)
1484 ("packagekit" ,packagekit)
1486 ("pwquality" ,libpwquality)
1489 ("webkitgtk" ,webkitgtk)
1490 ("libgnomekbd" ,libgnomekbd)))
1491 (synopsis "Initial setup wizard for GNOME desktop")
1492 (description "This package provides a set-up wizard when a
1493 user logs into GNOME for the first time. It typically provides a
1494 tour of all gnome components and allows the user to set them up.")
1495 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1496 (license license:gpl2)))
1498 (define-public gnome-user-share
1500 (name "gnome-user-share")
1504 (uri (string-append "mirror://gnome/sources/" name "/"
1505 (version-major+minor version) "/"
1506 name "-" version ".tar.xz"))
1509 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1510 (build-system meson-build-system)
1515 ;; Enable nautilus extension for file sharing.
1516 "-Dnautilus_extension=true")))
1518 `(("gettext" ,gettext-minimal)
1519 ("glib:bin" ,glib "bin")
1520 ("gobject-introspection" ,gobject-introspection)
1521 ("gtk+:bin" ,gtk+ "bin")
1522 ("pkg-config" ,pkg-config)
1523 ("yelp-tools" ,yelp-tools)))
1526 ("gnome-bluetooth" ,gnome-bluetooth)
1528 ("libcanberra" ,libcanberra)
1529 ("libnotify" ,libnotify)
1530 ("nautilus" ,nautilus))) ; For nautilus extension.
1531 (synopsis "File sharing for GNOME desktop")
1532 (description "GNOME User Share is a small package that binds together
1533 various free software projects to bring easy to use user-level file
1534 sharing to the masses.")
1535 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1536 (license license:gpl2+)))
1538 (define-public sushi
1544 (uri (string-append "mirror://gnome/sources/" name "/"
1545 (version-major+minor version) "/"
1546 name "-" version ".tar.xz"))
1549 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1550 (build-system meson-build-system)
1554 (modify-phases %standard-phases
1555 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1556 (lambda* (#:key outputs #:allow-other-keys)
1557 (let ((prog (string-append (assoc-ref outputs "out")
1559 ;; Put existing typelibs before sushi's deps, so as to correctly
1562 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1565 `(("glib:bin" ,glib "bin")
1566 ("gettext" ,gettext-minimal)
1567 ("gobject-introspection" ,gobject-introspection)
1568 ("pkg-config" ,pkg-config)))
1570 `(("clutter" ,clutter)
1571 ("clutter-gst" ,clutter-gst)
1572 ("clutter-gtk" ,clutter-gtk)
1573 ("evince" ,evince) ; For file previewing.
1574 ("freetype" ,freetype)
1575 ("gdk-pixbuf" ,gdk-pixbuf)
1577 ("gst-plugins-base" ,gst-plugins-base)
1578 ("gstreamer" ,gstreamer)
1579 ("gtksourceview" ,gtksourceview-3)
1580 ("harfbuzz" ,harfbuzz)
1581 ("libepoxy" ,libepoxy)
1582 ("libmusicbrainz" ,libmusicbrainz)
1583 ("libxml2" ,libxml2)
1585 ("webkitgtk" ,webkitgtk)))
1586 (synopsis "File previewer for the GNOME desktop")
1587 (description "Sushi is a DBus-activated service that allows applications to
1588 preview files on the GNOME desktop.")
1589 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1590 (license license:gpl2+)))
1592 (define-public rygel
1598 (uri (string-append "mirror://gnome/sources/" name "/"
1599 (version-major+minor version) "/"
1600 name "-" version ".tar.xz"))
1603 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1604 (build-system gnu-build-system)
1606 `(("gettext" ,gettext-minimal)
1607 ("gobject-introspection" ,gobject-introspection)
1608 ("gtk-doc" ,gtk-doc)
1609 ("pkg-config" ,pkg-config)
1612 `(("gdk-pixbuf" ,gdk-pixbuf)
1614 ("gstreamer" ,gstreamer)
1615 ("gst-plugins-base" ,gst-plugins-base)
1618 ("gupnp-av" ,gupnp-av)
1619 ("gupnp-dlna" ,gupnp-dlna)
1621 ("libmediaart" ,libmediaart)
1622 ("libsoup" ,libsoup)
1623 ("libxslt" ,libxslt)
1624 ("libunistring" ,libunistring)
1625 ("tracker" ,tracker)))
1626 (synopsis "Share audio, video, and pictures with other devices")
1628 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1629 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1630 pictures, and to control a media player on your home network.
1632 Rygel achieves interoperability with other devices by trying to conform to the
1633 strict requirements of DLNA and by converting media on-the-fly to formats that
1634 client devices can handle.")
1635 (home-page "https://wiki.gnome.org/Projects/Rygel")
1637 ;; For logo (data/icons/*).
1640 license:lgpl2.1+))))
1642 (define-public libnma
1648 (uri (string-append "mirror://gnome/sources/" name "/"
1649 (version-major+minor version) "/"
1650 name "-" version ".tar.xz"))
1653 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1654 (build-system meson-build-system)
1657 (modify-phases %standard-phases
1658 (add-after 'unpack 'patch-docbook-xml
1659 (lambda* (#:key inputs #:allow-other-keys)
1660 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1661 "/xml/dtd/docbook")))
1662 (substitute* "libnma-docs.xml"
1663 (("http://.*/docbookx\\.dtd")
1664 (string-append xmldoc "/docbookx.dtd")))
1667 `(("docbook-xml" ,docbook-xml-4.3)
1668 ("gettext" ,gettext-minimal)
1669 ("glib:bin" ,glib "bin")
1670 ("gtk-doc" ,gtk-doc)
1671 ("gobject-introspection" ,gobject-introspection)
1672 ("pkg-config" ,pkg-config)
1677 ("iso-codes" ,iso-codes)
1678 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1679 ("network-manager" ,network-manager)))
1680 (synopsis "Network Manager's applet library")
1681 (description "Libnma is an applet library for Network Manager. It was
1682 initially part of network-manager-applet and has now become a separate
1684 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1685 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1687 (license license:gpl2+)))
1689 (define-public gnome-menus
1691 (name "gnome-menus")
1695 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1696 (version-major+minor version) "/"
1697 name "-" version ".tar.xz"))
1700 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1701 (build-system gnu-build-system)
1703 `(("gettext" ,gettext-minimal)
1705 ("pkg-config" ,pkg-config)))
1706 (synopsis "Menu support for GNOME desktop")
1707 (description "GNOME Menus contains the libgnome-menu library, the layout
1708 configuration files for the GNOME menu, as well as a simple menu editor.")
1709 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1710 (license license:lgpl2.0+)))
1712 (define-public deja-dup
1718 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1719 version "/deja-dup-" version ".tar.bz2"))
1722 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1723 (build-system meson-build-system)
1728 ;; Otherwise, the RUNPATH will lack the final path component.
1729 (string-append "-Dc_link_args=-Wl,-rpath="
1730 (assoc-ref %outputs "out") "/lib/deja-dup"))
1732 (modify-phases %standard-phases
1733 (add-after 'unpack 'patch-paths
1734 (lambda* (#:key inputs #:allow-other-keys)
1735 (let ((python (assoc-ref inputs "python")))
1736 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1737 "libdeja/tests/scripts/instance-error.test")
1740 (substitute* "libdeja/tests/runner.vala"
1743 (substitute* "libdeja/tests/scripts/instance-error.test"
1744 (("`which python3`")
1745 (string-append python "/bin/python3"))))))
1746 (add-after 'unpack 'patch-libgpg-error
1747 (lambda* (#:key inputs #:allow-other-keys)
1748 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1749 (substitute* "meson.build"
1750 (("(gpgerror_libs = ).*" _ var)
1751 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1753 (add-after 'unpack 'skip-gtk-update-icon-cache
1754 ;; Don't create 'icon-theme.cache'.
1756 (substitute* "data/post-install.sh"
1757 (("gtk-update-icon-cache") "true"))
1760 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1761 ("duplicity" ,duplicity)
1763 ("python-pygobject" ,python-pygobject)
1765 ("json-glib" ,json-glib)
1766 ("libnotify" ,libnotify)
1767 ("libgpg-error" ,libgpg-error)
1768 ("libsecret" ,libsecret)
1769 ("libsoup" ,libsoup)
1770 ("packagekit" ,packagekit)))
1772 `(("appstream-glib" ,appstream-glib)
1773 ("desktop-file-utils" ,desktop-file-utils)
1774 ("gettext" ,gettext-minimal)
1775 ("glib" ,glib "bin") ; for glib-compile-schemas.
1776 ("gobject-introspection" ,gobject-introspection)
1777 ("itstool" ,itstool)
1778 ("pkg-config" ,pkg-config)
1780 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1781 (synopsis "Simple backup tool, for regular encrypted backups")
1783 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1784 uses duplicity as the backend, which supports incremental backups and storage
1785 either on a local, or remote machine via a number of methods.")
1786 (license license:gpl3+)))
1788 (define-public gnome-commander
1790 (name "gnome-commander")
1795 (uri (string-append "mirror://gnome/sources/" name "/"
1796 (version-major+minor version) "/"
1797 "gnome-commander-" version ".tar.xz"))
1799 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1800 (build-system glib-or-gtk-build-system)
1802 `(("desktop-file-utils" ,desktop-file-utils)
1803 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1804 ("gettext" ,gettext-minimal)
1805 ("glib:bin" ,glib "bin")
1806 ("gobject-introspection" ,gobject-introspection)
1807 ("googletest" ,googletest)
1808 ("intltool" ,intltool)
1809 ("itstool" ,itstool)
1810 ("libtool" ,libtool)
1811 ("pkg-config" ,pkg-config)))
1814 ("gnome-vfs" ,gnome-vfs)
1816 ("libxml2" ,libxml2)))
1817 (home-page "https://gcmd.github.io/")
1818 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1820 "GNOME Commander is a two-pane graphical file manager using GNOME
1821 libraries. It aims to fulfill the demands of more advanced users who
1822 like to focus on file management, their work through special applications
1823 and running smart commands.")
1824 (license license:gpl2+)))
1826 (define-public gnome-user-docs
1828 (name "gnome-user-docs")
1833 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1834 (version-major+minor version)
1835 "/gnome-user-docs-" version ".tar.xz"))
1837 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1838 (build-system gnu-build-system)
1840 `(("gettext" ,gettext-minimal)
1841 ("itstool" ,itstool)
1842 ("pkg-config" ,pkg-config)
1843 ("xmllint" ,libxml2)))
1844 (synopsis "User documentation for the GNOME desktop")
1846 "The GNOME User Documentation explains how to use the GNOME desktop and its
1847 components. It covers usage and setup of the core GNOME programs by end-users
1848 and system administrators.")
1849 (home-page "https://live.gnome.org/DocumentationProject")
1850 (license license:cc-by3.0)))
1852 (define-public gnome-getting-started-docs
1854 (name "gnome-getting-started-docs")
1859 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1860 (version-major+minor version)
1861 "/gnome-getting-started-docs-" version ".tar.xz"))
1863 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1864 (build-system gnu-build-system)
1866 `(("gettext" ,gettext-minimal)
1867 ("itstool" ,itstool)
1868 ("pkg-config" ,pkg-config)
1869 ("xmllint" ,libxml2)))
1870 (synopsis "Help to get new users started with the GNOME desktop")
1872 "The GNOME Getting Started Documentation contains GNOME's intuitive
1873 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1875 It is normally used together with @command{gnome-initial-setup}, but is also
1876 useful as a tutorial and users' guide for new or less experienced users.")
1877 (home-page "https://live.gnome.org/DocumentationProject")
1878 (license license:cc-by-sa3.0)))
1881 ;; This version from GNOME's repository includes fixes for compiling with
1882 ;; recent versions of the build tools. The latest activity on the
1883 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1885 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1889 (version (git-version "0.97.3" revision commit))
1893 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1895 (file-name (git-file-name name version))
1898 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1899 (build-system meson-build-system)
1901 `(("graphene" ,graphene)
1903 ("libxml2" ,libxml2)
1904 ("libxslt" ,libxslt)
1905 ("poppler" ,poppler)
1906 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1907 ;; ERROR: Unknown method "dependency" in object.
1908 ("python-2" ,python-2)))
1910 `(("appstream-glib" ,appstream-glib)
1911 ("docbook-xsl" ,docbook-xsl)
1912 ("glib" ,glib "bin")
1913 ("intltool" ,intltool)
1914 ("pkg-config" ,pkg-config)))
1915 (home-page "https://wiki.gnome.org/Apps/Dia")
1916 (synopsis "Diagram creation for GNOME")
1917 (description "Dia can be used to draw different types of diagrams, and
1918 includes support for UML static structure diagrams (class diagrams), entity
1919 relationship modeling, and network diagrams. The program supports various file
1920 formats like PNG, SVG, PDF and EPS.")
1921 (license license:gpl2+))))
1923 ;; This is the unstable release, but it is required for the current stable
1924 ;; release of gvfs (1.38.1).
1925 (define-public libgdata
1931 (uri (string-append "mirror://gnome/sources/" name "/"
1932 (version-major+minor version) "/"
1933 name "-" version ".tar.xz"))
1936 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1937 (build-system gnu-build-system)
1940 (modify-phases %standard-phases
1941 (add-before 'check 'disable-failing-tests
1943 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1944 ;; They have been removed in libgdata 0.17.6, so just do the same.
1945 (substitute* "gdata/tests/Makefile"
1946 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1949 `(("glib:bin" ,glib "bin")
1950 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1951 ("intltool" ,intltool)
1952 ("pkg-config" ,pkg-config)
1953 ("uhttpmock" ,uhttpmock)))
1955 `(("cyrus-sasl" ,cyrus-sasl)
1956 ("glib-networking" ,glib-networking)))
1960 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1961 ("json-glib" ,json-glib)
1962 ("liboauth" ,liboauth)
1963 ("libsoup" ,libsoup)
1964 ("libxml2" ,libxml2)))
1965 (home-page "https://wiki.gnome.org/Projects/libgdata")
1966 (synopsis "Library for accessing online service APIs")
1968 "libgdata is a GLib-based library for accessing online service APIs using
1969 the GData protocol — most notably, Google's services. It provides APIs to
1970 access the common Google services, and has full asynchronous support.")
1971 (license license:lgpl2.1+)))
1973 (define-public libgxps
1979 (uri (string-append "mirror://gnome/sources/" name "/"
1980 (version-major+minor version) "/"
1981 name "-" version ".tar.xz"))
1984 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1985 (build-system meson-build-system)
1987 `(("gobject-introspection" ,gobject-introspection)
1988 ("pkg-config" ,pkg-config)))
1991 ("libjpeg" ,libjpeg-turbo)
1993 ("libtiff" ,libtiff)))
1995 ;; In Requires of libgxps.pc.
1998 ("libarchive" ,libarchive)))
1999 (home-page "https://wiki.gnome.org/Projects/libgxps")
2000 (synopsis "GObject-based library for handling and rendering XPS documents")
2002 "libgxps is a GObject-based library for handling and rendering XPS
2003 documents. This package also contains binaries that can convert XPS documents
2005 (license license:lgpl2.1+)))
2007 (define-public gnome-characters
2009 (name "gnome-characters")
2014 (uri (string-append "mirror://gnome/sources/"
2015 "gnome-characters/" (version-major+minor version)
2016 "/gnome-characters-" version ".tar.xz"))
2019 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
2020 (build-system meson-build-system)
2023 #:phases (modify-phases %standard-phases
2024 (add-after 'install 'wrap
2025 (lambda* (#:key outputs #:allow-other-keys)
2026 ;; GNOME Characters needs Typelib files from GTK and
2028 (wrap-program (string-append (assoc-ref outputs "out")
2029 "/bin/gnome-characters")
2030 `("GI_TYPELIB_PATH" ":" prefix
2031 (,(getenv "GI_TYPELIB_PATH"))))
2034 `(("gettext" ,gettext-minimal)
2035 ("glib:bin" ,glib "bin")
2036 ("gtk+:bin" ,gtk+ "bin")
2037 ("pkg-config" ,pkg-config)
2038 ("python" ,python-minimal)))
2042 ("libunistring" ,libunistring)
2043 ("gnome-desktop" ,gnome-desktop)))
2044 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
2045 (synopsis "Find and insert unusual characters")
2046 (description "Characters is a simple utility application to find
2047 and insert unusual characters. It allows you to quickly find the
2048 character you are looking for by searching for keywords.")
2049 (license license:bsd-3)))
2051 (define-public gnome-common
2053 (name "gnome-common")
2058 (uri (string-append "mirror://gnome/sources/" name "/"
2059 (version-major+minor version) "/"
2060 name "-" version ".tar.xz"))
2063 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2064 (build-system gnu-build-system)
2065 (home-page "https://www.gnome.org/")
2066 (synopsis "Bootstrap GNOME modules built from Git")
2067 (description "gnome-common contains various files needed to bootstrap
2068 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2069 can be used to configure a source directory checked out from Git and some
2070 commonly used macros.")
2071 (license license:gpl2+)))
2073 (define-public gnome-contacts
2075 (name "gnome-contacts")
2079 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2080 (version-major+minor version) "/"
2081 name "-" version ".tar.xz"))
2084 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2085 (build-system meson-build-system)
2087 `(#:configure-flags '("-Dcheese=false")
2089 (modify-phases %standard-phases
2090 (add-after 'unpack 'generate-vapis
2091 (lambda* (#:key inputs #:allow-other-keys)
2092 ;; To generate goa's missing .vapi file
2094 (assoc-ref inputs "gnome-online-accounts:lib"))
2096 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2098 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2100 (add-after 'unpack 'skip-gtk-update-icon-cache
2101 ;; Don't create 'icon-theme.cache'.
2103 (substitute* "build-aux/meson_post_install.py"
2104 (("gtk-update-icon-cache") "true"))
2107 `(("glib:bin" ,glib "bin")
2108 ("pkg-config" ,pkg-config)))
2110 `(("docbook-xml" ,docbook-xml)
2111 ("dockbook-xsl" ,docbook-xsl)
2112 ("evolution-data-server" ,evolution-data-server)
2113 ("gettext" ,gettext-minimal)
2114 ("gnome-desktop" ,gnome-desktop)
2115 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2116 ("gobject-introspection" ,gobject-introspection)
2117 ("gst-plugins-base" ,gst-plugins-base)
2120 ("libxslt" ,libxslt)
2121 ("telepathy-glib" ,telepathy-glib)
2125 ("telepathy-mission-control" ,telepathy-mission-control)))
2126 (synopsis "GNOME's integrated address book")
2128 "GNOME Contacts organizes your contact information from online and
2129 offline sources, providing a centralized place for managing your contacts.")
2130 (home-page "https://wiki.gnome.org/Apps/Contacts")
2131 (license license:gpl2+)))
2133 (define-public gnome-desktop
2135 (name "gnome-desktop")
2140 (uri (string-append "mirror://gnome/sources/" name "/"
2141 (version-major+minor version) "/"
2142 name "-" version ".tar.xz"))
2145 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2146 (build-system meson-build-system)
2149 (modify-phases %standard-phases
2150 (add-before 'configure 'patch-path
2151 (lambda* (#:key inputs #:allow-other-keys)
2152 (let ((libc (assoc-ref inputs "libc")))
2153 (substitute* "libgnome-desktop/gnome-languages.c"
2155 (string-append "\"" libc "/bin/locale\"")))
2157 (add-before 'configure 'patch-bubblewrap
2158 (lambda* (#:key inputs #:allow-other-keys)
2159 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2161 (string-append "\"" (which "bwrap") "\","))
2162 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2163 (string-append "\"--ro-bind\", \""
2168 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2170 (add-before 'check 'pre-check
2171 (lambda* (#:key inputs #:allow-other-keys)
2172 ;; Tests require a running X server and locales.
2173 (system "Xvfb :1 &")
2174 (setenv "DISPLAY" ":1")
2175 (setenv "GUIX_LOCPATH"
2176 (string-append (assoc-ref inputs "glibc-locales")
2180 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2181 ("glibc-locales" ,glibc-locales) ; for tests
2182 ("gobject-introspection" ,gobject-introspection)
2183 ("itstool" ,itstool)
2184 ("intltool" ,intltool)
2185 ("pkg-config" ,pkg-config)
2186 ("xmllint" ,libxml2)
2187 ("xorg-server" ,xorg-server-for-tests)))
2189 ;; Required by gnome-desktop-3.0.pc.
2190 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2192 ("iso-codes" ,iso-codes)
2193 ("libseccomp" ,libseccomp)
2195 ("xkeyboard-config" ,xkeyboard-config)))
2197 `(("gdk-pixbuf" ,gdk-pixbuf)
2199 ("bubblewrap" ,bubblewrap)
2200 ("libxext" ,libxext)
2201 ("libxkbfile" ,libxkbfile)
2202 ("libxrandr" ,libxrandr)))
2203 (home-page "https://www.gnome.org/")
2205 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2207 "The libgnome-desktop library provides API shared by several applications
2208 on the desktop, but that cannot live in the platform for various reasons.
2209 There is no API or ABI guarantee, although we are doing our best to provide
2210 stability. Documentation for the API is available with gtk-doc.
2212 The gnome-about program helps find which version of GNOME is installed.")
2213 ; Some bits under the LGPL.
2214 (license license:gpl2+)))
2216 (define-public gnome-doc-utils
2218 (name "gnome-doc-utils")
2223 (uri (string-append "mirror://gnome/sources/" name "/"
2224 (version-major+minor version) "/"
2225 name "-" version ".tar.xz"))
2228 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2229 (build-system gnu-build-system)
2231 `(("intltool" ,intltool)
2232 ("docbook-xml" ,docbook-xml-4.4)
2233 ("python2-libxml2" ,python2-libxml2)
2234 ("libxml2" ,libxml2)
2235 ("libxslt" ,libxslt)
2236 ("pkg-config" ,pkg-config)
2237 ("python-2" ,python-2)))
2238 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2240 "Documentation utilities for the Gnome project")
2242 "Gnome-doc-utils is a collection of documentation utilities for the
2243 Gnome project. It includes xml2po tool which makes it easier to translate
2244 and keep up to date translations of documentation.")
2245 (license license:gpl2+))) ; xslt under lgpl
2247 (define-public gnome-disk-utility
2249 (name "gnome-disk-utility")
2253 (uri (string-append "mirror://gnome/sources/" name "/"
2254 (version-major+minor version) "/"
2255 name "-" version ".tar.xz"))
2258 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2259 (build-system meson-build-system)
2261 '(#:configure-flags '("-Dlogind=libelogind")
2263 (modify-phases %standard-phases
2264 (add-after 'unpack 'skip-gtk-update-icon-cache
2265 ;; Don't create 'icon-theme.cache'.
2267 (substitute* "meson_post_install.py"
2268 (("gtk-update-icon-cache") "true"))
2271 `(("glib:bin" ,glib "bin")
2272 ("intltool" ,intltool)
2273 ("pkg-config" ,pkg-config)
2274 ("docbook-xml" ,docbook-xml)
2275 ("docbook-xsl" ,docbook-xsl)
2276 ("libxml2" ,libxml2)
2277 ("libxslt" ,libxslt)))
2279 `(("elogind" ,elogind)
2281 ("appstream-glib" ,appstream-glib)
2282 ("gnome-settings-daemon" ,gnome-settings-daemon)
2284 ("libcanberra" ,libcanberra)
2285 ("libdvdread" ,libdvdread)
2286 ("libnotify" ,libnotify)
2287 ("libpwquality" ,libpwquality)
2288 ("libsecret" ,libsecret)
2289 ("udisks" ,udisks)))
2290 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2291 (synopsis "Disk management utility for GNOME")
2292 (description "Disk management utility for GNOME.")
2293 (license license:gpl2+)))
2295 (define-public gnome-font-viewer
2297 (name "gnome-font-viewer")
2301 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2302 (version-major+minor version)
2303 "/gnome-font-viewer-" version ".tar.xz"))
2306 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2307 (build-system meson-build-system)
2310 (modify-phases %standard-phases
2311 (add-after 'unpack 'patch-post-install-script
2313 (substitute* "meson-postinstall.sh"
2314 (("update-desktop-database") (which "true")))
2316 (add-after 'install 'patch-thumbnailer
2317 (lambda* (#:key outputs #:allow-other-keys)
2318 (let ((out (assoc-ref outputs "out")))
2322 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2323 (("gnome-thumbnail-font")
2324 (string-append out "/bin/gnome-thumbnail-font"))))
2327 `(("gettext" ,gettext-minimal)
2328 ("glib:bin" ,glib "bin")
2329 ("pkg-config" ,pkg-config)))
2332 ("gnome-desktop" ,gnome-desktop)
2334 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2335 (synopsis "GNOME Fonts")
2336 (description "Application to show you the fonts installed on your computer
2337 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2338 the font would look under various sizes.")
2339 (license license:gpl2+)))
2347 (uri (string-append "mirror://gnome/sources/" name "/"
2348 (version-major+minor version) "/"
2349 name "-" version ".tar.xz"))
2352 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2353 (build-system gnu-build-system)
2356 (modify-phases %standard-phases
2357 ;; These fail because /var/lib/dbus/machine-id is not present in the
2358 ;; build environment.
2359 (add-after 'unpack 'disable-failing-tests
2361 (substitute* "Makefile.in"
2362 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2365 (add-before 'check 'pre-check
2367 ;; Some tests expect to write to $HOME.
2368 (setenv "HOME" "/tmp")
2372 ("gnupg" ,gnupg) ;called as a child process during tests
2373 ("libgcrypt" ,libgcrypt)))
2375 `(("python" ,python-wrapper) ;for tests
2376 ("pkg-config" ,pkg-config)
2377 ("gettext" ,gettext-minimal)
2378 ("glib" ,glib "bin")
2379 ("gobject-introspection" ,gobject-introspection)
2380 ("libxml2" ,libxml2)
2382 ("xsltproc" ,libxslt)))
2383 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2385 `(("p11-kit" ,p11-kit)
2388 (home-page "https://www.gnome.org")
2389 (synopsis "Libraries for displaying certificates and accessing key stores")
2391 "The GCR package contains libraries used for displaying certificates and
2392 accessing key stores. It also provides the viewer for crypto files on the
2394 (license license:lgpl2.1+)))
2403 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2404 (commit (string-append "GDL_" (string-map (match-lambda
2408 (file-name (git-file-name name version))
2411 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2412 (build-system gnu-build-system)
2414 `(("autoconf" ,autoconf)
2415 ("automake" ,automake)
2416 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2417 ("gnome-common" ,gnome-common)
2418 ("gtk-doc" ,gtk-doc)
2419 ("intltool" ,intltool)
2420 ("pkg-config" ,pkg-config)
2421 ("libtool" ,libtool)
2424 `(("libxml2" ,libxml2)))
2426 ;; The gdl-3.0.pc file 'Requires' GTK+.
2428 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2429 (synopsis "GNOME docking library")
2430 (description "This library provides docking features for gtk+.")
2431 (license license:lgpl2.1+)))
2433 ;;; A minimal variant used to break a cycle with Inkscape.
2434 (define-public gdl-minimal
2437 (name "gdl-minimal")
2440 (modify-phases %standard-phases
2441 (add-after 'unpack 'disable-doc-generation
2442 ;; XXX: There is no easy way to disable generating the
2445 (substitute* "configure.in"
2446 (("GTK_DOC_CHECK.*") "")
2448 (substitute* "Makefile.am"
2449 (("gdl docs po") "gdl po"))
2451 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2453 (define-public libgnome-keyring
2455 (name "libgnome-keyring")
2459 (uri (string-append "mirror://gnome/sources/" name "/"
2460 (version-major+minor version) "/"
2461 name "-" version ".tar.xz"))
2464 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2465 (build-system gnu-build-system)
2467 `(("libgcrypt" ,libgcrypt)
2470 `(("pkg-config" ,pkg-config)
2471 ("glib" ,glib "bin")
2472 ("intltool" ,intltool)))
2474 ;; Referred to in .h files and .pc.
2476 (home-page "https://www.gnome.org")
2477 (synopsis "Accessing passwords from the GNOME keyring")
2479 "Client library to access passwords from the GNOME keyring.")
2481 ;; Though a couple of files are LGPLv2.1+.
2482 (license license:lgpl2.0+)))
2484 (define-public gnome-keyring
2486 (name "gnome-keyring")
2490 (uri (string-append "mirror://gnome/sources/" name "/"
2491 (version-major+minor version) "/"
2492 name "-" version ".tar.xz"))
2495 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2496 (build-system gnu-build-system)
2498 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2502 (string-append "--with-pkcs11-config="
2503 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2504 (string-append "--with-pkcs11-modules="
2505 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2507 (modify-phases %standard-phases
2508 (add-after 'unpack 'fix-/bin/sh-reference
2510 (substitute* "po/Makefile.in.in"
2511 (("/bin/sh") (which "sh")))
2513 (add-after 'unpack 'fix-docbook
2514 (lambda* (#:key inputs #:allow-other-keys)
2515 (substitute* "docs/Makefile.am"
2516 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2517 (string-append (assoc-ref inputs "docbook-xsl")
2518 "/xml/xsl/docbook-xsl-"
2519 ,(package-version docbook-xsl)
2520 "/manpages/docbook.xsl")))
2521 (setenv "XML_CATALOG_FILES"
2522 (string-append (assoc-ref inputs "docbook-xml")
2523 "/xml/dtd/docbook/catalog.xml"))
2524 ;; Rerun the whole thing to avoid version mismatch ("This is
2525 ;; Automake 1.15.1, but the definition used by this
2526 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2527 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2530 (invoke "automake" "-ac"))))))
2532 `(("libgcrypt" ,libgcrypt)
2533 ("linux-pam" ,linux-pam)
2534 ("openssh" ,openssh)
2538 `(("pkg-config" ,pkg-config)
2539 ("glib" ,glib "bin")
2540 ("glib" ,glib) ; for m4 macros
2541 ("python" ,python-2) ;for tests
2542 ("intltool" ,intltool)
2543 ("autoconf" ,autoconf)
2544 ("automake" ,automake)
2545 ("libxslt" ,libxslt) ;for documentation
2546 ("docbook-xml" ,docbook-xml-4.2)
2547 ("docbook-xsl" ,docbook-xsl)))
2550 (home-page "https://www.gnome.org")
2551 (synopsis "Daemon to store passwords and encryption keys")
2553 "gnome-keyring is a program that keeps passwords and other secrets for
2554 users. It is run as a daemon in the session, similar to ssh-agent, and other
2555 applications locate it via an environment variable or D-Bus.
2557 The program can manage several keyrings, each with its own master password,
2558 and there is also a session keyring which is never stored to disk, but
2559 forgotten when the session ends.")
2560 (license license:lgpl2.1+)))
2562 (define-public evince
2568 (uri (string-append "mirror://gnome/sources/evince/"
2569 (version-major+minor version) "/"
2570 "evince-" version ".tar.xz"))
2573 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2574 (build-system glib-or-gtk-build-system)
2576 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2578 (modify-phases %standard-phases
2579 (add-before 'install 'skip-gtk-update-icon-cache
2580 ;; Don't create 'icon-theme.cache'.
2582 (substitute* "data/Makefile"
2583 (("gtk-update-icon-cache") "true"))
2586 `(("libarchive" ,libarchive)
2587 ("libgxps" ,libgxps)
2588 ("libspectre" ,libspectre)
2589 ("djvulibre" ,djvulibre)
2590 ("ghostscript" ,ghostscript)
2591 ("poppler" ,poppler)
2592 ("libtiff" ,libtiff)
2594 ;; Build libkpathsea as a shared library for DVI support.
2595 ;; ("libkpathsea" ,texlive-bin)
2596 ("gnome-desktop" ,gnome-desktop)
2597 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2599 ("libgnome-keyring" ,libgnome-keyring)
2600 ("adwaita-icon-theme" ,adwaita-icon-theme)
2601 ("gdk-pixbuf" ,gdk-pixbuf)
2606 ("libxml2" ,libxml2)
2609 ("shared-mime-info" ,shared-mime-info)
2611 ("libcanberra" ,libcanberra)
2612 ("libsecret" ,libsecret)
2615 ("dogtail" ,python2-dogtail)))
2617 `(("itstool" ,itstool)
2618 ("intltool" ,intltool)
2619 ("glib" ,glib "bin")
2620 ("gobject-introspection" ,gobject-introspection)
2621 ("pkg-config" ,pkg-config)
2622 ("xmllint" ,libxml2)))
2623 (home-page "https://www.gnome.org/projects/evince/")
2624 (synopsis "GNOME's document viewer")
2626 "Evince is a document viewer for multiple document formats. It
2627 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2628 of Evince is to replace the multiple document viewers that exist
2629 on the GNOME Desktop with a single simple application.")
2630 (license license:gpl2+)))
2632 (define-public gsettings-desktop-schemas
2634 (name "gsettings-desktop-schemas")
2639 (uri (string-append "mirror://gnome/sources/" name "/"
2640 (version-major+minor version) "/"
2641 name "-" version ".tar.xz"))
2644 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2645 (build-system meson-build-system)
2647 '(#:phases (modify-phases %standard-phases
2648 (add-after 'unpack 'patch-schemas
2649 (lambda* (#:key inputs #:allow-other-keys)
2650 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2651 (substitute* (find-files "schemas"
2652 "\\.gschema\\.xml\\.in$")
2653 ;; Provide the correct file name of the default GNOME
2654 ;; background, 'adwaita-timed.xml'.
2655 (("@datadir@/backgrounds/gnome")
2656 (string-append theme "/share/backgrounds/gnome"))
2657 ;; Do not reference fonts, that may not exist.
2658 (("'Source Code Pro 10'") "'Monospace 11'"))
2662 ("gnome-backgrounds" ,gnome-backgrounds)))
2664 `(("intltool" ,intltool)
2665 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2666 ("gobject-introspection" ,gobject-introspection)
2667 ("pkg-config" ,pkg-config)))
2668 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2670 "GNOME settings for various desktop components")
2672 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2673 for settings shared by various components of the GNOME desktop.")
2674 (license license:lgpl2.1+)))
2676 (define-public python-liblarch
2678 (name "python-liblarch")
2684 (url "https://github.com/getting-things-gnome/liblarch")
2685 (commit (string-append "v" version))))
2686 (file-name (git-file-name name version))
2688 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2689 (build-system python-build-system)
2692 (modify-phases %standard-phases
2693 (add-before 'check 'start-xserver
2694 (lambda* (#:key inputs #:allow-other-keys)
2695 (system (format #f "~a/bin/Xvfb :1 &"
2696 (assoc-ref inputs "xorg-server")))
2697 (setenv "DISPLAY" ":1")
2700 `(("xorg-server" ,xorg-server-for-tests)))
2704 `(("python-pygobject" ,python-pygobject)))
2705 (home-page "https://wiki.gnome.org/Projects/liblarch")
2706 (synopsis "Library to easily handle complex data structures")
2708 "Liblarch is a Python library built to easily handle data structures such
2709 as lists, trees and acyclic graphs. There's also a GTK binding that will
2710 allow you to use your data structure in a @code{Gtk.Treeview}.
2712 Liblarch support multiple views of one data structure and complex filtering.
2713 That way, you have a clear separation between your data themselves (Model)
2714 and how they are displayed (View).")
2715 (license license:lgpl3+)))
2725 (url "https://github.com/getting-things-gnome/gtg")
2726 (commit (string-append "v" version))))
2727 (file-name (git-file-name name version))
2729 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2730 (build-system meson-build-system)
2734 (modify-phases %standard-phases
2735 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2736 (lambda* (#:key outputs #:allow-other-keys)
2737 (let ((prog (string-append (assoc-ref outputs "out")
2739 (pylib (string-append (assoc-ref outputs "out")
2741 ,(version-major+minor
2742 (package-version python))
2745 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2746 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2749 `(("desktop-file-utils" ,desktop-file-utils)
2750 ("gettext" ,gettext-minimal)
2751 ("glib:bin" ,glib "bin")
2752 ("gobject-introspection" ,gobject-introspection)
2753 ("gtk+:bin" ,gtk+ "bin")
2754 ("pkg-config" ,pkg-config)))
2756 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2758 ("python-dbus" ,python-dbus)
2759 ("python-liblarch" ,python-liblarch)
2760 ("python-pycairo" ,python-pycairo)
2761 ("python-pygobject" ,python-pygobject)
2762 ("python-pyxdg" ,python-pyxdg)))
2763 (home-page "https://wiki.gnome.org/Apps/GTG")
2764 (synopsis "Personal organizer for the GNOME desktop")
2766 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2767 organizer for the GNOME desktop environment inspired by the Getting Things
2768 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2769 and ease of use in mind so it can be used as more than just GTD software.
2770 GTG is intended to help you track everything you need to do and need to
2771 know, from small tasks to large projects.")
2772 (license license:gpl3+)))
2774 (define-public icon-naming-utils
2776 (name "icon-naming-utils")
2781 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2782 version ".tar.bz2"))
2785 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2786 (build-system gnu-build-system)
2789 ("perl-xml-simple" ,perl-xml-simple)))
2792 (modify-phases %standard-phases
2793 (add-after 'install 'set-load-paths
2794 ;; Tell 'icon-name-mapping' where XML::Simple is.
2795 (lambda* (#:key outputs #:allow-other-keys)
2796 (let* ((out (assoc-ref outputs "out"))
2797 (prog (string-append out "/libexec/icon-name-mapping")))
2800 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2802 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2804 "Utility to implement the Freedesktop Icon Naming Specification")
2806 "To help with the transition to the Freedesktop Icon Naming
2807 Specification, the icon naming utility maps the icon names used by the
2808 GNOME and KDE desktops to the icon names proposed in the specification.")
2809 (license license:lgpl2.1+)))
2811 (define-public gnome-icon-theme
2813 (name "gnome-icon-theme")
2818 (uri (string-append "mirror://gnome/sources/" name "/"
2819 (version-major+minor version) "/"
2820 name "-" version ".tar.xz"))
2823 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2824 (build-system gnu-build-system)
2827 ;; Don't create 'icon-theme.cache'.
2828 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2829 (true (string-append coreutils "/bin/true")))
2830 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2832 `(("icon-naming-utils" ,icon-naming-utils)
2833 ("intltool" ,intltool)
2834 ("pkg-config" ,pkg-config)))
2835 (home-page "https://wiki.gnome.org/Personalization")
2836 (synopsis "GNOME icon theme")
2837 (description "Icons for the GNOME desktop.")
2838 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2840 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2841 (define-public adwaita-icon-theme
2842 (package (inherit gnome-icon-theme)
2843 (name "adwaita-icon-theme")
2847 (uri (string-append "mirror://gnome/sources/" name "/"
2848 (version-major+minor version) "/"
2849 name "-" version ".tar.xz"))
2852 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2854 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2856 (define-public tango-icon-theme
2858 (name "tango-icon-theme")
2862 (uri (string-append "http://tango.freedesktop.org/releases/"
2863 "tango-icon-theme-" version ".tar.bz2"))
2866 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2867 (build-system gnu-build-system)
2869 `(("icon-naming-utils" ,icon-naming-utils)
2870 ("intltool" ,intltool)
2871 ("imagemagick" ,imagemagick)
2872 ("pkg-config" ,pkg-config)))
2873 (home-page "http://tango-project.org/")
2874 (synopsis "Tango icon theme")
2875 (description "This is an icon theme that follows the Tango visual
2877 (license license:public-domain)))
2879 (define-public shared-mime-info
2881 (name "shared-mime-info")
2886 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2887 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2891 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2892 (build-system gnu-build-system)
2894 ;; The build system appears not to be parallel-safe.
2895 '(#:parallel-build? #f))
2898 ("libxml2" ,libxml2)))
2900 `(("gettext" ,gettext-minimal)
2901 ("itstool" ,itstool)
2902 ("pkg-config" ,pkg-config)))
2903 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2904 (synopsis "Database of common MIME types")
2906 "The shared-mime-info package contains the core database of common types
2907 and the update-mime-database command used to extend it. It requires glib2 to
2908 be installed for building the update command. Additionally, it uses intltool
2909 for translations, though this is only a dependency for the maintainers. This
2910 database is translated at Transifex.")
2911 (license license:gpl2+)))
2913 (define-public system-config-printer
2915 (name "system-config-printer")
2921 "https://github.com/OpenPrinting/system-config-printer/releases/"
2922 "download/v" version
2923 "/system-config-printer-" version ".tar.xz"))
2925 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2926 (build-system glib-or-gtk-build-system)
2928 `(#:imported-modules ((guix build python-build-system)
2929 ,@%glib-or-gtk-build-system-modules)
2931 (modify-phases %standard-phases
2932 (add-after 'unpack 'patch-Makefile.am
2934 ;; The Makefile generates some scripts, so set a valid shebang
2935 (substitute* "Makefile.am"
2936 (("/bin/bash") (which "bash")))
2937 (delete-file "configure")
2939 (add-after 'unpack 'patch-docbook-xml
2940 (lambda* (#:key inputs #:allow-other-keys)
2941 ;; Modify the man XML otherwise xmlto tries to access the network
2942 (substitute* "man/system-config-printer.xml"
2943 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2944 (string-append (assoc-ref inputs "docbook-xml")
2945 "/xml/dtd/docbook/")))
2947 (add-after 'install 'wrap-for-python
2948 (@@ (guix build python-build-system) wrap))
2949 (add-after 'install 'wrap
2950 (lambda* (#:key outputs #:allow-other-keys)
2951 (let ((out (assoc-ref outputs "out"))
2952 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2955 (wrap-program program
2956 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2958 (string-append out "/bin/" name))
2959 '("system-config-printer"
2960 "system-config-printer-applet"
2961 "install-printerdriver"
2962 "scp-dbus-service"))))
2965 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2966 ("gobject-introspection" ,gobject-introspection)
2970 ("python-dbus" ,python-dbus)
2971 ("python-pygobject" ,python-pygobject)
2972 ("python-pycups" ,python-pycups)
2973 ("python-requests" ,python-requests)
2974 ("python-pycairo" ,python-pycairo)
2975 ("libnotify" ,libnotify)
2976 ("packagekit" ,packagekit)))
2978 `(("pkg-config" ,pkg-config)
2979 ("desktop-file-utils" ,desktop-file-utils)
2981 ("autoconf" ,autoconf)
2982 ("automake" ,automake)
2983 ("intltool" ,intltool)
2985 ("docbook-xml" ,docbook-xml-4.1.2)
2986 ("docbook-xsl" ,docbook-xsl)
2987 ("libxml2" ,libxml2)))
2988 (home-page "https://github.com/zdohnal/system-config-printer")
2989 (synopsis "CUPS administration tool")
2991 "system-config-printer is a CUPS administration tool. It's written in
2992 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2994 (license license:gpl2+)))
2996 (define-public hicolor-icon-theme
2998 (name "hicolor-icon-theme")
3003 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
3004 "hicolor-icon-theme-" version ".tar.xz"))
3007 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
3008 (build-system gnu-build-system)
3010 `(#:tests? #f)) ; no check target
3011 (home-page "https://icon-theme.freedesktop.org/releases/")
3013 "Freedesktop icon theme")
3015 "Freedesktop icon theme.")
3016 (license license:gpl2)))
3018 (define-public libnotify
3025 (uri (string-append "mirror://gnome/sources/" name "/"
3026 (version-major+minor version) "/"
3027 name "-" version ".tar.xz"))
3030 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
3031 (build-system meson-build-system)
3034 (modify-phases %standard-phases
3035 (add-after 'unpack 'fix-docbook
3036 (lambda* (#:key inputs #:allow-other-keys)
3037 ;; Don't attempt to download XSL schema.
3038 (substitute* "meson.build"
3039 (("http://docbook.sourceforge.net/release/xsl-ns/current\
3040 /manpages/docbook.xsl")
3041 (string-append (assoc-ref inputs "docbook-xsl")
3042 "/xml/xsl/docbook-xsl-"
3043 ,(package-version docbook-xsl)
3044 "/manpages/docbook.xsl")))
3047 `(;; In Requires of libnotify.pc.
3048 ("gdk-pixbuf" ,gdk-pixbuf)
3052 ("libpng" ,libpng)))
3054 `(("pkg-config" ,pkg-config)
3055 ("glib" ,glib "bin")
3056 ("gobject-introspection" ,gobject-introspection)
3058 ;; For the documentation.
3059 ("gtk-doc" ,gtk-doc)
3060 ("xsltproc" ,libxslt)
3061 ("docbook-xsl" ,docbook-xsl)))
3062 (home-page "https://developer-next.gnome.org/libnotify/")
3064 "GNOME desktop notification library")
3066 "Libnotify is a library that sends desktop notifications to a
3067 notification daemon, as defined in the Desktop Notifications spec. These
3068 notifications can be used to inform the user about an event or display
3069 some form of information without getting in the user's way.")
3070 (license license:lgpl2.1+)))
3072 (define-public libpeas
3079 (uri (string-append "mirror://gnome/sources/" name "/"
3080 (version-major+minor version) "/"
3081 name "-" version ".tar.xz"))
3084 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3085 (build-system meson-build-system)
3088 (modify-phases %standard-phases
3089 (add-before 'check 'start-xserver
3090 (lambda* (#:key inputs #:allow-other-keys)
3091 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3093 (setenv "DISPLAY" disp)
3094 ;; Tests require a running X server.
3095 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3101 ("python-pygobject" ,python-pygobject)))
3103 `(("pkg-config" ,pkg-config)
3104 ("gettext" ,gettext-minimal)
3105 ("glib:bin" ,glib "bin")
3106 ("gobject-introspection" ,gobject-introspection)
3107 ("xorg-server" ,xorg-server-for-tests)))
3109 ;; The .pc file "Requires" gobject-introspection.
3110 `(("gobject-introspection" ,gobject-introspection)))
3111 (home-page "https://wiki.gnome.org/Libpeas")
3112 (synopsis "GObject plugin system")
3114 "Libpeas is a gobject-based plugin engine, targeted at giving every
3115 application the chance to assume its own extensibility. It also has a set of
3116 features including, but not limited to: multiple extension points; on-demand
3117 (lazy) programming language support for C, Python and JS; simplicity of the
3119 (license license:lgpl2.0+)))
3121 (define-public gtkglext
3127 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3128 version "/gtkglext-" version ".tar.gz"))
3130 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3131 (patches (search-patches
3132 "gtkglext-disable-disable-deprecated.patch"))))
3133 (build-system gnu-build-system)
3136 (modify-phases %standard-phases
3137 ;; Fix a collision between a local variable and a definition from
3138 ;; glibc's string.h.
3139 (add-after 'unpack 'fix-collision
3141 (substitute* "gdk/gdkglshapes.c"
3142 ((" index") " triangle_index"))
3144 (inputs `(("gtk+" ,gtk+-2)
3149 (native-inputs `(("pkg-config" ,pkg-config)
3150 ("glib" ,glib "bin")))
3151 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3152 (home-page "https://projects.gnome.org/gtkglext")
3153 (synopsis "OpenGL extension to GTK+")
3154 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3155 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3156 API add-ons to make GTK+ widgets OpenGL-capable.")
3157 (license license:lgpl2.1+)))
3159 (define-public glade3
3165 (uri (string-append "mirror://gnome/sources/" name "/"
3166 (version-major+minor version) "/"
3167 name "-" version ".tar.xz"))
3170 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3171 (build-system glib-or-gtk-build-system)
3174 (modify-phases %standard-phases
3175 (add-before 'configure 'fix-docbook
3176 (lambda* (#:key inputs #:allow-other-keys)
3177 (substitute* "man/Makefile.in"
3178 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3179 (string-append (assoc-ref inputs "docbook-xsl")
3180 "/xml/xsl/docbook-xsl-"
3181 ,(package-version docbook-xsl)
3182 "/manpages/docbook.xsl")))
3184 (add-before 'check 'pre-check
3186 (setenv "HOME" "/tmp")
3187 ;; Tests require a running X server.
3188 (system "Xvfb :1 &")
3189 (setenv "DISPLAY" ":1")
3193 ("libxml2" ,libxml2)))
3195 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3196 ("intltool" ,intltool)
3197 ("itstool" ,itstool)
3198 ("libxslt" ,libxslt) ;for xsltproc
3199 ("docbook-xml" ,docbook-xml-4.2)
3200 ("docbook-xsl" ,docbook-xsl)
3201 ("python" ,python-2)
3202 ("pkg-config" ,pkg-config)
3203 ("xorg-server" ,xorg-server-for-tests)))
3204 (home-page "https://glade.gnome.org")
3205 (synopsis "GTK+ rapid application development tool")
3206 (description "Glade is a rapid application development (RAD) tool to
3207 enable quick & easy development of user interfaces for the GTK+ toolkit and
3208 the GNOME desktop environment.")
3209 (license license:lgpl2.0+)
3210 (native-search-paths (list (search-path-specification
3211 (variable "GLADE_CATALOG_SEARCH_PATH")
3212 (files '("share/glade/catalogs")))
3213 (search-path-specification
3214 (variable "GLADE_MODULE_SEARCH_PATH")
3215 (files '("lib/glade/modules")))))))
3217 (define-public libcroco
3223 (uri (string-append "mirror://gnome/sources/" name "/"
3224 (version-major+minor version) "/"
3225 name "-" version ".tar.xz"))
3228 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3229 (build-system gnu-build-system)
3231 `(("pkg-config" ,pkg-config)))
3234 ("libxml2" ,libxml2)
3236 (home-page "https://github.com/GNOME/libcroco")
3237 (synopsis "CSS2 parsing and manipulation library")
3239 "Libcroco is a standalone CSS2 parsing and manipulation library.
3240 The parser provides a low level event driven SAC-like API and a CSS object
3241 model like API. Libcroco provides a CSS2 selection engine and an experimental
3242 XML/CSS rendering engine.")
3245 (license license:lgpl2.1)))
3247 (define-public libgsf
3253 (uri (string-append "mirror://gnome/sources/" name "/"
3254 (version-major+minor version) "/"
3255 name "-" version ".tar.xz"))
3258 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3259 (build-system gnu-build-system)
3261 '(#:configure-flags '("--disable-static")))
3263 `(("pkg-config" ,pkg-config)
3264 ("gettext" ,gettext-minimal)
3268 ("perl-xml-parser" ,perl-xml-parser)))
3273 `(("gdk-pixbuf" ,gdk-pixbuf)
3275 ("libxml2" ,libxml2)))
3276 (home-page "https://www.gnome.org/projects/libgsf")
3277 (synopsis "GNOME's Structured File Library")
3279 "Libgsf aims to provide an efficient extensible I/O abstraction for
3280 dealing with different structured file formats.")
3283 (license license:lgpl2.1)))
3285 (define-public librsvg
3291 (uri (string-append "mirror://gnome/sources/" name "/"
3292 (version-major+minor version) "/"
3293 name "-" version ".tar.xz"))
3296 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3297 (build-system gnu-build-system)
3300 (list "--disable-static"
3301 "--enable-vala") ; needed for e.g. gnome-mines
3303 (modify-phases %standard-phases
3304 (add-before 'configure 'pre-configure
3305 (lambda* (#:key inputs #:allow-other-keys)
3306 (substitute* "gdk-pixbuf-loader/Makefile.in"
3307 ;; By default the gdk-pixbuf loader is installed under
3308 ;; gdk-pixbuf's prefix. Work around that.
3309 (("gdk_pixbuf_moduledir = .*$")
3310 (string-append "gdk_pixbuf_moduledir = "
3311 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3313 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3314 (("gdk_pixbuf_cache_file = .*$")
3315 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3317 (add-before 'check 'remove-failing-tests
3319 (with-directory-excursion "tests/fixtures/reftests"
3320 (for-each delete-file
3321 '(;; This test fails on i686:
3322 "svg1.1/masking-path-04-b.svg"
3323 ;; This test fails on armhf:
3324 "svg1.1/masking-mask-01-b.svg"
3325 ;; This test fails on aarch64:
3326 "bugs/777834-empty-text-children.svg")))
3329 `(("pkg-config" ,pkg-config)
3331 ("glib" ,glib "bin") ; glib-mkenums, etc.
3332 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3334 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3335 ;; this ancient version of librsvg.
3336 ("pango" ,pango-1.42)
3337 ("libcroco" ,libcroco)
3340 ("libxml2" ,libxml2)))
3342 ;; librsvg-2.0.pc refers to all of that.
3344 ("gdk-pixbuf" ,gdk-pixbuf)
3346 (home-page "https://wiki.gnome.org/LibRsvg")
3347 (synopsis "Render SVG files using Cairo")
3349 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3351 (license license:lgpl2.0+)))
3353 (define-public librsvg-next
3359 (uri (string-append "mirror://gnome/sources/librsvg/"
3360 (version-major+minor version) "/"
3361 "librsvg-" version ".tar.xz"))
3364 "1lsnl08b5pjf01q3agixjd53islw5rqkc38r31rlmm2crrqz44b2"))
3365 (modules '((guix build utils)))
3367 '(begin (delete-file-recursively "vendor")
3369 (build-system cargo-build-system)
3370 (outputs '("out" "doc"))
3373 ((guix build cargo-build-system)
3375 ((guix build gnu-build-system) #:prefix gnu:))
3377 (("rust-bitflags" ,rust-bitflags-1)
3378 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3379 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3380 ("rust-cast" ,rust-cast-0.2)
3381 ("rust-cssparser" ,rust-cssparser-0.27)
3382 ("rust-data-url" ,rust-data-url-0.1)
3383 ("rust-encoding" ,rust-encoding-0.2)
3384 ("rust-float-cmp" ,rust-float-cmp-0.8)
3385 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3386 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3387 ("rust-gio" ,rust-gio-0.8)
3388 ("rust-gio-sys" ,rust-gio-sys-0.9)
3389 ("rust-glib" ,rust-glib-0.9)
3390 ("rust-glib-sys" ,rust-glib-sys-0.9)
3391 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3392 ("rust-itertools" ,rust-itertools-0.9)
3393 ("rust-language-tags" ,rust-language-tags-0.2)
3394 ("rust-libc" ,rust-libc-0.2)
3395 ("rust-locale-config" ,rust-locale-config-0.3)
3396 ("rust-markup5ever" ,rust-markup5ever-0.10)
3397 ("rust-nalgebra" ,rust-nalgebra-0.21)
3398 ("rust-num-traits" ,rust-num-traits-0.2)
3399 ("rust-once-cell" ,rust-once-cell-1)
3400 ("rust-pkg-config" ,rust-pkg-config-0.3)
3401 ("rust-pango" ,rust-pango-0.8)
3402 ("rust-pango-sys" ,rust-pango-sys-0.9)
3403 ("rust-pangocairo" ,rust-pangocairo-0.9)
3404 ("rust-rayon" ,rust-rayon-1)
3405 ("rust-rctree" ,rust-rctree-0.3)
3406 ("rust-rgb" ,rust-rgb-0.8)
3407 ("rust-regex" ,rust-regex-1)
3408 ("rust-selectors" ,rust-selectors-0.22)
3409 ("rust-string-cache" ,rust-string-cache-0.8)
3410 ("rust-tinyvec" ,rust-tinyvec-0.3)
3411 ("rust-url" ,rust-url-2)
3412 ("rust-xml5ever" ,rust-xml5ever-0.16))
3413 #:cargo-development-inputs
3414 (("rust-assert-cmd" ,rust-assert-cmd-1)
3415 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3416 ("rust-chrono" ,rust-chrono-0.4)
3417 ("rust-criterion" ,rust-criterion-0.3)
3418 ("rust-float-cmp" ,rust-float-cmp-0.8)
3419 ("rust-lopdf" ,rust-lopdf-0.25)
3420 ("rust-png" ,rust-png-0.16)
3421 ("rust-predicates" ,rust-predicates-1)
3422 ("rust-tempfile" ,rust-tempfile-3))
3424 (modify-phases %standard-phases
3425 (add-after 'unpack 'patch-docbook-xml
3426 (lambda* (#:key inputs #:allow-other-keys)
3427 (with-directory-excursion "doc"
3428 (substitute* "rsvg-docs.xml"
3429 (("http://www.oasis-open.org/docbook/xml/4.3/")
3430 (string-append (assoc-ref inputs "docbook-xml")
3431 "/xml/dtd/docbook/"))))
3433 (add-after 'unpack 'prepare-for-build
3435 ;; In lieu of #:make-flags
3436 (setenv "CC" ,(cc-for-target))
3437 ;; Something about the build environment resists building
3438 ;; successfully with the '--locked' flag.
3439 (substitute* '("Makefile.am" "Makefile.in")
3442 (add-before 'configure 'pre-configure
3444 (substitute* "gdk-pixbuf-loader/Makefile.in"
3445 ;; By default the gdk-pixbuf loader is installed under
3446 ;; gdk-pixbuf's prefix. Work around that.
3447 (("gdk_pixbuf_moduledir = .*$")
3448 (string-append "gdk_pixbuf_moduledir = "
3449 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3451 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3452 (("gdk_pixbuf_cache_file = .*$")
3453 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3455 (add-after 'configure 'gnu-configure
3456 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3457 ((assoc-ref gnu:%standard-phases 'configure)
3458 #:native-inputs native-inputs
3462 (list "--disable-static"
3464 (string-append "--with-html-dir="
3465 (assoc-ref %outputs "doc")
3466 "/share/gtk-doc/html")))))
3467 (add-after 'configure 'dont-vendor-self
3468 (lambda* (#:key vendor-dir #:allow-other-keys)
3469 ;; Don't keep the whole tarball in the vendor directory
3470 (delete-file-recursively
3471 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3474 (assoc-ref gnu:%standard-phases 'build))
3475 (add-before 'check 'ignore-failing-tests
3476 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3478 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3479 (("fn background_color_option_invalid_color_yields_error" all)
3480 (string-append "#[ignore] " all))
3481 (("fn empty_input_yields_error" all)
3482 (string-append "#[ignore] " all))
3483 (("fn empty_svg_yields_error" all)
3484 (string-append "#[ignore] " all))
3485 (("fn env_source_data_epoch_empty" all)
3486 (string-append "#[ignore] " all))
3487 (("fn env_source_data_epoch_no_digits" all)
3488 (string-append "#[ignore] " all))
3489 (("fn env_source_data_epoch_trailing_garbage" all)
3490 (string-append "#[ignore] " all))
3491 (("fn export_id_option_error" all)
3492 (string-append "#[ignore] " all))
3493 (("fn huge_zoom_factor_yields_error" all)
3494 (string-append "#[ignore] " all))
3495 (("fn multiple_input_files_not_allowed_for_png_output" all)
3496 (string-append "#[ignore] " all))
3497 (("fn stylesheet_option_error" all)
3498 (string-append "#[ignore] " all)))
3502 ((assoc-ref gnu:%standard-phases 'check)
3503 #:test-target "check")))
3505 (assoc-ref gnu:%standard-phases 'install)))))
3507 `(("docbook-xml" ,docbook-xml-4.3)
3508 ("glib" ,glib "bin")
3509 ("gobject-introspection" ,gobject-introspection)
3510 ("pkg-config" ,pkg-config)
3511 ("python" ,python-wrapper)
3516 ("fontconfig" ,fontconfig)
3517 ("freetype" ,freetype)
3518 ("harfbuzz" ,harfbuzz)
3519 ("libcroco" ,libcroco)
3521 ("libxml2" ,libxml2)
3525 ("gdk-pixbuf" ,gdk-pixbuf)
3527 (synopsis "SVG rendering library")
3528 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3529 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3530 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3532 (home-page "https://wiki.gnome.org/LibRsvg")
3533 (license license:lgpl2.1+)))
3535 (define-public libidl
3541 (uri (string-append "mirror://gnome/sources/libIDL/"
3542 (version-major+minor version) "/"
3543 "libIDL-" version ".tar.bz2"))
3546 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3547 (build-system gnu-build-system)
3548 (inputs `(("glib" ,glib)))
3550 `(("pkg-config" ,pkg-config)
3553 (home-page "http://freecode.com/projects/libidl")
3554 (synopsis "Create trees of CORBA Interface Definition Language files")
3555 (description "Libidl is a library for creating trees of CORBA Interface
3556 Definition Language (idl) files, which is a specification for defining
3557 portable interfaces. libidl was initially written for orbit (the orb from the
3558 GNOME project, and the primary means of libidl distribution). However, the
3559 functionality was designed to be as reusable and portable as possible.")
3560 (properties `((upstream-name . "libIDL")))
3561 (license license:lgpl2.0+)))
3564 (define-public orbit2
3570 (uri (let ((upstream-name "ORBit2"))
3571 (string-append "mirror://gnome/sources/" upstream-name "/"
3572 (version-major+minor version) "/"
3573 upstream-name "-" version ".tar.bz2")))
3576 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3577 (build-system gnu-build-system)
3579 `(;; The "timeout-server" test hangs when run in parallel.
3580 #:parallel-tests? #f
3582 '(;; We don't need static libraries, plus they don't build reproducibly
3583 ;; (non-deterministic ordering of .o files in the archive.)
3586 ;; The programmer kindly gives us a hook to turn off deprecation
3588 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3589 ;; ... which they then completly ignore !!
3591 (modify-phases %standard-phases
3592 (add-before 'configure 'ignore-deprecations
3594 (substitute* "linc2/src/Makefile.in"
3595 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3597 (inputs `(("glib" ,glib)
3598 ("libidl" ,libidl)))
3600 `(("pkg-config" ,pkg-config)))
3601 (home-page "https://projects.gnome.org/orbit2/")
3602 (synopsis "CORBA 2.4-compliant Object Request Broker")
3603 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3604 featuring mature C, C++ and Python bindings.")
3605 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3606 ;; a version. SOME of the code files have licence notices for GPLv2+.
3607 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3608 (license license:gpl2+)
3609 (properties `((upstream-name . "ORBit2")))))
3612 (define-public libbonobo
3618 (uri (string-append "mirror://gnome/sources/" name "/"
3619 (version-major+minor version)
3620 "/" name "-" version ".tar.bz2"))
3622 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3623 (patches (search-patches
3624 "libbonobo-activation-test-race.patch"))))
3625 (build-system gnu-build-system)
3627 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3629 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3630 ;; ... which they then completly ignore !!
3632 (modify-phases %standard-phases
3633 (add-before 'configure 'ignore-deprecations
3635 (substitute* "activation-server/Makefile.in"
3636 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3639 ;; There's apparently a race condition between the server stub
3640 ;; generation and linking of the example under 'samples/echo' that can
3641 ;; lead do undefined references when building in parallel, as reported
3642 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3643 ;; Thus, disable parallel builds.
3644 #:parallel-build? #f))
3645 (inputs `(("popt" ,popt)
3646 ("libxml2" ,libxml2)))
3647 ;; The following are Required by the .pc file
3650 ("orbit2" ,orbit2)))
3652 `(("intltool" ,intltool)
3653 ("pkg-config" ,pkg-config)
3654 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3657 (home-page "https://developer.gnome.org/libbonobo/")
3658 (synopsis "Framework for creating reusable components for use in GNOME applications")
3659 (description "Bonobo is a framework for creating reusable components for
3660 use in GNOME applications, built on top of CORBA.")
3661 ;; Licence not explicitly stated. Source files contain no licence notices.
3662 ;; Tarball contains text of both GPLv2 and LGPLv2
3663 ;; GPLv2 covers both conditions
3664 (license license:gpl2+)))
3667 (define-public gconf
3674 (let ((upstream-name "GConf"))
3675 (string-append "mirror://gnome/sources/" upstream-name "/"
3676 (version-major+minor version) "/"
3677 upstream-name "-" version ".tar.xz")))
3679 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3680 (build-system gnu-build-system)
3681 (inputs `(("dbus-glib" ,dbus-glib)
3682 ("libxml2" ,libxml2)))
3683 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3684 ("orbit2" ,orbit2)))
3686 `(("intltool" ,intltool)
3687 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3688 ("pkg-config" ,pkg-config)))
3689 (home-page "https://projects.gnome.org/gconf/")
3690 (synopsis "Store application preferences")
3691 (description "Gconf is a system for storing application preferences. It
3692 is intended for user preferences; not arbitrary data storage.")
3693 (license license:lgpl2.0+)
3694 (properties '((upstream-name . "GConf")))))
3697 (define-public gnome-mime-data
3699 (name "gnome-mime-data")
3703 (uri (string-append "mirror://gnome/sources/" name "/"
3704 (version-major+minor version) "/"
3705 name "-" version ".tar.bz2"))
3708 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3709 (build-system gnu-build-system)
3712 ("intltool" ,intltool)))
3714 '(#:phases (modify-phases %standard-phases
3715 (add-after 'configure 'use-our-intltool
3717 ;; Do not use the bundled intltool commands, which lack
3718 ;; the "dotless @INC" fixes of our 'intltool' package.
3719 (substitute* (find-files "." "^Makefile$")
3720 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3721 (string-append "INTLTOOL_" tool " = intltool-"
3722 (string-downcase tool) "\n")))
3724 (home-page "https://www.gnome.org")
3725 (synopsis "Base MIME and Application database for GNOME")
3726 (description "GNOME Mime Data is a module which contains the base MIME
3727 and Application database for GNOME. The data stored by this module is
3728 designed to be accessed through the MIME functions in GnomeVFS.")
3729 (license license:gpl2+)))
3732 (define-public gnome-vfs
3738 (uri (string-append "mirror://gnome/sources/" name "/"
3739 (version-major+minor version) "/"
3740 name "-" version ".tar.bz2"))
3743 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3744 (build-system gnu-build-system)
3747 (modify-phases %standard-phases
3748 (add-before 'configure 'ignore-deprecations
3750 (substitute* '("libgnomevfs/Makefile.in"
3751 "daemon/Makefile.in")
3752 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3754 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3756 (substitute* "test/test-async-cancel.c"
3757 (("EXIT_FAILURE") "77"))
3759 (inputs `(("libxml2" ,libxml2)
3760 ("dbus-glib" ,dbus-glib)
3762 ("gnome-mime-data" ,gnome-mime-data)
3765 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3766 ("intltool" ,intltool)
3767 ("pkg-config" ,pkg-config)))
3768 (home-page "https://developer.gnome.org/gnome-vfs/")
3769 (synopsis "Access files and folders in GNOME applications")
3771 "GnomeVFS is the core library used to access files and folders in GNOME
3772 applications. It provides a file system abstraction which allows applications
3773 to access local and remote files with a single consistent API.")
3774 (license license:lgpl2.0+)))
3778 (define-public libgnome
3784 (uri (string-append "mirror://gnome/sources/" name "/"
3785 (version-major+minor version) "/"
3786 name "-" version ".tar.bz2"))
3789 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3790 (patches (search-patches "libgnome-encoding.patch"))))
3791 (build-system gnu-build-system)
3794 (modify-phases %standard-phases
3795 (add-before 'configure 'enable-deprecated
3797 (substitute* "libgnome/Makefile.in"
3798 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3800 (inputs `(("libxml2" ,libxml2)))
3802 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3803 ("intltool" ,intltool)
3804 ("pkg-config" ,pkg-config)))
3805 ;; The following are listed as Required in the .pc file
3806 ;; (except for libcanberra -- which seems to be oversight on the part
3807 ;; of the upstream developers -- anything that links against libgnome,
3808 ;; must also link against libcanberra
3810 `(("libcanberra" ,libcanberra)
3811 ("libbonobo" ,libbonobo)
3813 ("gnome-vfs" ,gnome-vfs)
3814 ("popt" ,popt))) ;gnome-program.h includes popt.h
3815 (home-page "https://developer.gnome.org/libgnome/")
3816 (synopsis "Useful routines for building applications")
3817 (description "The libgnome library provides a number of useful routines
3818 for building modern applications, including session management, activation of
3819 files and URIs, and displaying help.")
3820 (license license:lgpl2.0+)))
3823 (define-public libart-lgpl
3825 (name "libart-lgpl")
3829 (uri (let ((upstream-name "libart_lgpl"))
3830 (string-append "mirror://gnome/sources/" upstream-name "/"
3831 (version-major+minor version) "/"
3832 upstream-name "-" version ".tar.bz2")))
3835 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3836 (build-system gnu-build-system)
3838 `(("pkg-config" ,pkg-config)))
3839 (home-page "https://people.gnome.org/~mathieu/libart")
3840 (synopsis "2D drawing library")
3841 (description "Libart is a 2D drawing library intended as a
3842 high-quality vector-based 2D library with antialiasing and alpha composition.")
3843 (license license:lgpl2.0+)))
3847 (define-public libgnomecanvas
3849 (name "libgnomecanvas")
3853 (uri (string-append "mirror://gnome/sources/" name "/"
3854 (version-major+minor version) "/"
3855 name "-" version ".tar.gz"))
3858 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3859 (build-system gnu-build-system)
3860 ;; Mentioned as Required in the .pc file
3861 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3864 `(("intltool" ,intltool)
3865 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3866 ("pkg-config" ,pkg-config)))
3867 (home-page "https://developer.gnome.org/libgnomecanvas/")
3868 (synopsis "Flexible widget for creating interactive structured graphics")
3869 (description "The GnomeCanvas widget provides a flexible widget for
3870 creating interactive structured graphics.")
3871 (license license:lgpl2.0+)))
3873 (define-public libgnomecanvasmm
3875 (name "libgnomecanvasmm")
3879 (uri (string-append "mirror://gnome/sources/" name "/"
3880 (version-major+minor version) "/"
3881 name "-" version ".tar.bz2"))
3884 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3885 (build-system gnu-build-system)
3886 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3888 `(("gtkmm-2" ,gtkmm-2)
3889 ("pkg-config" ,pkg-config)))
3890 (home-page "https://gtkmm.org")
3891 (synopsis "C++ bindings to the GNOME Canvas library")
3892 (description "C++ bindings to the GNOME Canvas library.")
3893 (license license:lgpl2.0+)))
3895 (define-public libgnomeui
3901 (uri (string-append "mirror://gnome/sources/" name "/"
3902 (version-major+minor version) "/"
3903 name "-" version ".tar.bz2"))
3904 (patches (search-patches "libgnomeui-utf8.patch"))
3907 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3908 (build-system gnu-build-system)
3909 ;; Mentioned as Required in the .pc file
3910 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3911 ("libgnome" ,libgnome)
3912 ("libgnomecanvas" ,libgnomecanvas)
3913 ("libgnome-keyring" ,libgnome-keyring)))
3914 (inputs `(("libjpeg" ,libjpeg-turbo)
3916 ("libbonobo" ,libbonobo)
3917 ("libxml2" ,libxml2)
3918 ("libglade" ,libglade)))
3920 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3921 ("intltool" ,intltool)
3922 ("pkg-config" ,pkg-config)))
3923 (home-page "https://developer.gnome.org/libgnomeui/")
3924 (synopsis "Additional widgets for applications")
3925 (description "The libgnomeui library provides additional widgets for
3926 applications. Many of the widgets from libgnomeui have already been
3928 (license license:lgpl2.0+)))
3930 (define-public libglade
3936 (uri (string-append "mirror://gnome/sources/" name "/"
3937 (version-major+minor version) "/"
3938 name "-" version ".tar.bz2"))
3941 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3942 (build-system gnu-build-system)
3944 `(("python" ,python))) ;; needed for the optional libglade-convert program
3946 `(("gtk+-2" ,gtk+-2)
3947 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3949 `(("pkg-config" ,pkg-config)))
3950 (home-page "https://developer.gnome.org/libglade")
3951 (synopsis "Load glade interfaces and access the glade built widgets")
3952 (description "Libglade is a library that provides interfaces for loading
3953 graphical interfaces described in glade files and for accessing the
3954 widgets built in the loading process.")
3955 (license license:gpl2+))) ; This is correct. GPL not LGPL
3957 (define-public libgnomeprint
3958 ;; This library has been deprecated since 2006; see
3959 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3961 (name "libgnomeprint")
3965 (uri (string-append "mirror://gnome/sources/" name "/"
3966 (version-major+minor version) "/"
3967 name "-" version ".tar.bz2"))
3970 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3971 (build-system gnu-build-system)
3974 ("libart-lgpl" ,libart-lgpl)
3976 ("libxml2" ,libxml2)))
3978 `(("intltool" ,intltool)
3979 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3980 ("pkg-config" ,pkg-config)))
3981 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3982 (synopsis "Printing framework for GNOME")
3984 "GNOME-print was a printing framework for GNOME. It has been deprecated
3985 since ca. 2006, when GTK+ itself incorporated printing support.")
3986 (license license:lgpl2.0+)))
3989 (define-public libgnomeprintui
3990 ;; Deprecated; see libgnomeprint.
3992 (name "libgnomeprintui")
3996 (uri (string-append "mirror://gnome/sources/" name "/"
3997 (version-major+minor version) "/"
3998 name "-" version ".tar.bz2"))
4001 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
4002 (build-system gnu-build-system)
4003 ;; Mentioned as Required in the .pc file
4004 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
4005 (inputs `(("gtk+" ,gtk+-2)
4007 ("gnome-icon-theme" ,gnome-icon-theme)
4008 ("libgnomecanvas" ,libgnomecanvas)
4009 ("libxml2" ,libxml2)))
4011 `(("intltool" ,intltool)
4012 ("pkg-config" ,pkg-config)))
4013 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
4014 (synopsis "Printing framework for GNOME")
4015 (description (package-description libgnomeprint))
4016 (license license:lgpl2.0+)))
4018 (define-public libbonoboui
4020 (name "libbonoboui")
4024 (uri (string-append "mirror://gnome/sources/" name "/"
4025 (version-major+minor version) "/"
4026 name "-" version ".tar.bz2"))
4029 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
4030 (build-system gnu-build-system)
4033 (modify-phases %standard-phases
4034 (add-before 'check 'start-xserver
4035 (lambda* (#:key inputs #:allow-other-keys)
4036 (let ((xorg-server (assoc-ref inputs "xorg-server"))
4039 (setenv "HOME" (getcwd))
4040 (setenv "DISPLAY" disp)
4041 ;; There must be a running X server and make check doesn't start one.
4042 ;; Therefore we must do it.
4043 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
4044 ;; Mentioned as Required by the .pc file
4045 (propagated-inputs `(("libxml2" ,libxml2)))
4048 ("pangox-compat" ,pangox-compat)
4049 ("libgnome" ,libgnome)
4050 ("libgnomecanvas" ,libgnomecanvas)
4051 ("libglade" ,libglade)))
4053 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
4054 ("intltool" ,intltool)
4055 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
4056 ("pkg-config" ,pkg-config)))
4057 (home-page "https://developer.gnome.org/libbonoboui/")
4058 (synopsis "Some user interface controls using Bonobo")
4059 (description "The Bonobo UI library provides a number of user interface
4060 controls using the Bonobo component framework.")
4061 (license license:lgpl2.0+)))
4063 (define-public libwnck
4069 (uri (string-append "mirror://gnome/sources/" name "/"
4070 (version-major+minor version) "/"
4071 name "-" version ".tar.xz"))
4074 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
4075 (build-system meson-build-system)
4077 `(("pkg-config" ,pkg-config)
4078 ("glib" ,glib "bin") ; for glib-mkenums
4079 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4080 ("intltool" ,intltool)))
4083 ("libxres" ,libxres)
4084 ("startup-notification" ,startup-notification)))
4085 (home-page "https://developer.gnome.org/libwnck/")
4086 (synopsis "Window Navigator Construction Kit")
4088 "Libwnck is the Window Navigator Construction Kit, a library for use in
4089 writing pagers, tasklists, and more generally applications that are dealing
4090 with window management. It tries hard to respect the Extended Window Manager
4091 Hints specification (EWMH).")
4092 (license license:lgpl2.0+)))
4094 ;; stable version for gtk2, required by xfwm4.
4095 (define-public libwnck-2
4096 (package (inherit libwnck)
4101 (uri (string-append "mirror://gnome/sources/" name "/"
4102 (version-major+minor version) "/"
4103 name "-" version ".tar.xz"))
4106 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4107 (build-system gnu-build-system)
4109 `(("pkg-config" ,pkg-config)
4110 ("intltool" ,intltool)))
4113 ("libxres" ,libxres)
4114 ("startup-notification" ,startup-notification)))))
4116 (define-public goffice
4122 (uri (string-append "mirror://gnome/sources/goffice/"
4123 (version-major+minor version) "/"
4124 "goffice-" version ".tar.xz"))
4126 (base32 "1z6f3q8fxkd1ysqrwdxdi0844zqa00vjpf07gq8mh3kal8picfd4"))))
4127 (build-system gnu-build-system)
4129 "doc")) ; 4.0 MiB of gtk-doc
4131 '(#:configure-flags (list (string-append "--with-html-dir="
4132 (assoc-ref %outputs "doc")
4133 "/share/gtk-doc/html"))))
4137 ("librsvg" ,librsvg)
4138 ("libxslt" ,libxslt)
4139 ("libxml2" ,libxml2)))
4141 `(("intltool" ,intltool)
4142 ("glib" ,glib "bin")
4143 ("pkg-config" ,pkg-config)))
4144 (home-page "https://developer.gnome.org/goffice/")
4145 (synopsis "Document-centric objects and utilities")
4146 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4148 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4150 (list license:gpl2 license:gpl3))))
4152 (define-public goffice-0.8
4153 (package (inherit goffice)
4157 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4158 (version-major+minor version) "/"
4159 (package-name goffice) "-" version ".tar.xz"))
4161 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4164 (modify-phases %standard-phases
4165 (add-after 'unpack 'fix-pcre-check
4167 ;; Only glib.h can be included directly. See
4168 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4169 (substitute* "configure"
4170 (("glib/gregex\\.h") "glib.h")) #t)))
4172 ,@(package-arguments goffice)))
4174 ;; libgoffice-0.8.pc mentions libgsf-1
4175 `(("libgsf" ,libgsf)))
4178 ,@(alist-delete "gtk" (package-inputs goffice))))))
4180 (define-public gnumeric
4186 (uri (string-append "mirror://gnome/sources/gnumeric/"
4187 (version-major+minor version) "/"
4188 "gnumeric-" version ".tar.xz"))
4191 "14556b0vyxdvdwjlin0rv7jk0vq4nplbmvp9j89bhkfk84xf7k2p"))))
4192 (build-system glib-or-gtk-build-system)
4194 `(;; The gnumeric developers don't worry much about failing tests.
4195 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4198 (modify-phases %standard-phases
4200 'configure 'pre-conf
4201 (lambda* (#:key outputs #:allow-other-keys)
4202 ;; Make install tries to write into the directory of goffice
4203 ;; I am informed that this only affects the possibility to embed a
4204 ;; spreadsheet inside an Abiword document. So presumably when we
4205 ;; package Abiword we'll have to refer it to this directory.
4206 (substitute* "configure"
4207 (("^GOFFICE_PLUGINS_DIR=.*")
4208 (string-append "GOFFICE_PLUGINS_DIR="
4209 (assoc-ref outputs "out")
4210 "/goffice/plugins"))))))))
4214 ("goffice" ,goffice)
4216 ("librsvg" ,librsvg)
4217 ("libxml2" ,libxml2)
4218 ("libxslt" ,libxslt)
4220 ("python-pygobject" ,python-pygobject)
4224 ("docbook-xml" ,docbook-xml)
4225 ("intltool" ,intltool)
4226 ("itstool" ,itstool)
4227 ("glib:bin" ,glib "bin")
4228 ("pkg-config" ,pkg-config)))
4229 (home-page "http://www.gnumeric.org")
4230 (synopsis "Spreadsheet application")
4232 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4233 interoperable with other spreadsheet applications. It has a vast array of
4234 features beyond typical spreadsheet functionality, such as support for linear
4235 and non-linear solvers, statistical analysis, and telecommunication
4238 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4239 (list license:gpl2 license:gpl3))))
4241 (define-public gnome-themes-standard
4243 (name "gnome-themes-standard")
4248 (uri (string-append "mirror://gnome/sources/" name "/"
4249 (version-major+minor version) "/" name "-"
4253 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4254 (build-system gnu-build-system)
4257 ;; Don't create 'icon-theme.cache'.
4258 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4259 (true (string-append coreutils "/bin/true")))
4260 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4264 ("librsvg" ,librsvg)
4265 ("libxml2" ,libxml2)
4268 `(("intltool" ,intltool)
4269 ("glib:bin" ,glib "bin")
4270 ("pkg-config" ,pkg-config)))
4271 (home-page "https://launchpad.net/gnome-themes-standard")
4272 (synopsis "Default GNOME 3 themes")
4274 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4275 (license license:lgpl2.1+)))
4277 (define-public seahorse
4284 (uri (string-append "mirror://gnome/sources/" name "/"
4285 (version-major+minor version) "/" name "-"
4288 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4289 (build-system meson-build-system)
4293 (modify-phases %standard-phases
4294 (add-after 'unpack 'skip-gtk-update-icon-cache
4295 ;; Don't create 'icon-theme.cache'.
4297 (substitute* "build-aux/meson_post_install.py"
4298 (("gtk-update-icon-cache") "true"))
4305 ("openldap" ,openldap)
4306 ("openssh" ,openssh)
4308 ("libhandy" ,libhandy-0.0)
4309 ("libpwquality" ,libpwquality)
4310 ("libsecret" ,libsecret)
4311 ("libsoup" ,libsoup)))
4313 `(("gettext" ,gettext-minimal)
4314 ("glib:bin" ,glib "bin")
4315 ("itstool" ,itstool)
4316 ("pkg-config" ,pkg-config)
4318 ("xmllint" ,libxml2)))
4319 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4320 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4322 "Seahorse is a GNOME application for managing encryption keys and
4323 passwords in the GNOME keyring.")
4324 (license license:gpl2+)))
4332 (uri (string-append "mirror://gnome/sources/" name "/"
4333 (version-major+minor version) "/"
4334 name "-" version ".tar.xz"))
4337 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4338 (build-system gnu-build-system)
4341 (modify-phases %standard-phases
4342 (add-before 'check 'pre-check
4345 (substitute* "valadoc/tests/testrunner.sh"
4346 (("export PKG_CONFIG_PATH=" m)
4347 (string-append m "$PKG_CONFIG_PATH:")))
4348 ;; For missing '/etc/machine-id'.
4349 (setenv "DBUS_FATAL_WARNINGS" "0")
4352 `(("pkg-config" ,pkg-config)
4355 ("xsltproc" ,libxslt)
4356 ("dbus" ,dbus) ; for dbus tests
4357 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4359 `(("graphviz" ,graphviz)))
4361 `(("glib" ,glib))) ; required by libvala-0.40.pc
4362 (home-page "https://wiki.gnome.org/Projects/Vala/")
4363 (synopsis "Compiler for the GObject type system")
4365 "Vala is a programming language that aims to bring modern programming
4366 language features to GNOME developers without imposing any additional runtime
4367 requirements and without using a different ABI compared to applications and
4368 libraries written in C.")
4369 (license license:lgpl2.1+)))
4371 (define-public vala-0.50
4377 (uri (string-append "mirror://gnome/sources/vala/"
4378 (version-major+minor version) "/"
4379 "vala-" version ".tar.xz"))
4382 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4390 (uri (string-append "mirror://gnome/sources/vte/"
4391 (version-major+minor version) "/"
4392 "vte-" version ".tar.xz"))
4395 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4396 (build-system meson-build-system)
4400 "-D_systemd=false")))
4402 `(("pkg-config" ,pkg-config)
4403 ("gettext" ,gettext-minimal)
4405 ("gobject-introspection" ,gobject-introspection)
4406 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4408 ("xmllint" ,libxml2)))
4410 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4411 ("gnutls" ,gnutls) ; ditto
4412 ("pcre2" ,pcre2))) ; ditto
4413 (home-page "https://www.gnome.org/")
4414 (synopsis "Virtual Terminal Emulator")
4416 "VTE is a library (libvte) implementing a terminal emulator widget for
4417 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4418 gnome-terminal, but can also be used to embed a console/terminal in games,
4419 editors, IDEs, etc.")
4420 (license license:lgpl2.1+)))
4422 (define-public vte-ng
4426 (version "0.58.2.a")
4427 (home-page "https://github.com/thestinger/vte-ng")
4430 (uri (git-reference (url home-page) (commit version)))
4431 (file-name (git-file-name name version))
4434 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4435 (build-system meson-build-system)
4437 `(("gtk-doc" ,gtk-doc)
4438 ,@(package-native-inputs vte)))
4440 `(#:configure-flags '("-Ddocs=true")))
4441 (synopsis "Enhanced VTE terminal widget")
4443 "VTE is a library (libvte) implementing a terminal emulator widget for
4444 GTK+, this fork provides additional functions exposed for keyboard text
4445 selection and URL hints.")))
4447 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4448 (define-public vte/gtk+-2
4449 (package (inherit vte)
4454 (uri (string-append "mirror://gnome/sources/" name "/"
4455 (version-major+minor version) "/"
4456 name "-" version ".tar.xz"))
4459 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4460 (patches (search-patches
4461 "vte-CVE-2012-2738-pt1.patch"
4462 "vte-CVE-2012-2738-pt2.patch"))))
4463 (build-system gnu-build-system)
4465 '(#:configure-flags '("--disable-python")))
4467 `(("pkg-config" ,pkg-config)
4468 ("intltool" ,intltool)
4469 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4471 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4472 ("ncurses" ,ncurses))))) ; required by libvte.la
4474 (define-public vinagre
4480 (uri (string-append "mirror://gnome/sources/" name "/"
4481 (version-major+minor version) "/"
4482 name "-" version ".tar.xz"))
4483 (patches (search-patches "vinagre-newer-freerdp.patch"
4484 "vinagre-newer-rdp-parameters.patch"))
4487 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4488 (build-system glib-or-gtk-build-system)
4490 ;; Disable -Werror and such, to avoid build failures on compilation
4492 '(#:configure-flags '("--enable-compile-warnings=minimum")
4494 (modify-phases %standard-phases
4495 (add-before 'install 'skip-gtk-update-icon-cache
4497 ;; Don't create 'icon-theme.cache'
4498 (substitute* (find-files "." "^Makefile$")
4499 (("gtk-update-icon-cache") (which "true")))
4501 (add-after 'unpack 'patch-configure
4503 (substitute* "configure"
4504 (("freerdp") "freerdp2"))
4507 `(("pkg-config" ,pkg-config)
4508 ("intltool" ,intltool)
4509 ("itstool" ,itstool)
4510 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4512 `(("libxml2" ,libxml2)
4513 ("gtk-vnc" ,gtk-vnc)
4514 ("gnome-keyring" ,gnome-keyring)
4515 ("libsecret" ,libsecret)
4516 ("freerdp" ,freerdp)
4518 ("spice-gtk" ,spice-gtk)
4519 ("telepathy-glib" ,telepathy-glib)
4521 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4522 (synopsis "Remote desktop viewer for GNOME")
4523 (description "Vinagre is a remote display client supporting the VNC, SPICE
4524 and RDP protocols.")
4525 (license license:gpl3+)))
4527 (define-public dconf
4534 "mirror://gnome/sources/" name "/"
4535 (version-major+minor version) "/"
4536 name "-" version ".tar.xz"))
4539 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4540 (build-system meson-build-system)
4542 ;; In Requires of dconf.pc.
4548 `(("bash-completion" ,bash-completion)
4549 ("libxslt" ,libxslt) ;for xsltproc
4550 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4551 ("docbook-xml" ,docbook-xml-4.2)
4552 ("docbook-xsl" ,docbook-xsl)
4553 ("glib:bin" ,glib "bin")
4554 ("gtk-doc" ,gtk-doc)
4555 ("pkg-config" ,pkg-config)
4559 #:configure-flags '("-Denable-gtk-doc=true")
4560 #:phases (modify-phases %standard-phases
4561 (add-after 'unpack 'increase-test-timeout
4563 ;; On big-memory systems, the engine test may take
4564 ;; much longer than the default of 30 seconds.
4565 (substitute* "tests/meson.build"
4566 (("test\\(unit_test\\[0\\], exe" all)
4567 (string-append all ", timeout : 90")))
4569 (home-page "https://developer.gnome.org/dconf/")
4570 (synopsis "Low-level GNOME configuration system")
4571 (description "Dconf is a low-level configuration system. Its main purpose
4572 is to provide a backend to GSettings on platforms that don't already have
4573 configuration storage systems.")
4574 (license license:lgpl2.1+)))
4576 (define-public json-glib
4582 (uri (string-append "mirror://gnome/sources/" name "/"
4583 (version-major+minor version) "/"
4584 name "-" version ".tar.xz"))
4587 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4588 (build-system meson-build-system)
4590 `(("gettext" ,gettext-minimal)
4591 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4592 ("gobject-introspection" ,gobject-introspection)
4593 ("pkg-config" ,pkg-config)))
4595 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4596 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4597 (synopsis "Compiler for the GObject type system")
4599 "JSON-GLib is a C library based on GLib providing serialization and
4600 deserialization support for the JavaScript Object Notation (JSON) format
4601 described by RFC 4627. It provides parser and generator GObject classes and
4602 various wrappers for the complex data types employed by JSON, such as arrays
4604 (license license:lgpl2.1+)))
4606 (define-public libxklavier
4608 (name "libxklavier")
4611 ;; Note: There's no tarball at ftp.gnome.org for this version.
4614 (url "https://anongit.freedesktop.org/git/libxklavier")
4615 (commit (string-append "libxklavier-" version))))
4618 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4619 (file-name (git-file-name name version))))
4620 (build-system gnu-build-system)
4623 (list (string-append "--with-xkb-base="
4624 (assoc-ref %build-inputs "xkeyboard-config")
4626 "--disable-xmodmap-support")))
4628 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4629 ("gobject-introspection" ,gobject-introspection)
4630 ("pkg-config" ,pkg-config)
4631 ("gtk-doc" ,gtk-doc)
4632 ("intltool" ,intltool)
4634 ("autoconf" ,autoconf)
4635 ("automake" ,automake)
4636 ("libtool" ,libtool)))
4638 ;; Required by libxklavier.pc.
4640 ("libxml2" ,libxml2)))
4642 `(("iso-codes" ,iso-codes)
4644 ("libxkbfile" ,libxkbfile)
4645 ("xkbcomp" ,xkbcomp)
4646 ("xkeyboard-config" ,xkeyboard-config)))
4647 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4648 (synopsis "High-level API for X Keyboard Extension")
4650 "LibXklavier is a library providing high-level API for X Keyboard
4651 Extension known as XKB. This library is intended to support XFree86 and other
4652 commercial X servers. It is useful for creating XKB-related software (layout
4654 (license license:lgpl2.0+)))
4656 (define-public python2-rsvg
4657 ;; XXX: This is actually a subset of gnome-python-desktop.
4659 (name "python2-rsvg")
4665 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4666 version ".tar.bz2"))
4669 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4670 (build-system gnu-build-system)
4672 `(("pkg-config" ,pkg-config)))
4674 `(("python" ,python-2)
4675 ("python2-pygtk" ,python2-pygtk)
4676 ("librsvg" ,librsvg)))
4677 (home-page "https://www.gnome.org")
4678 (synopsis "Python bindings to librsvg")
4680 "This package provides Python bindings to librsvg, the SVG rendering
4683 ;; This is the license of the rsvg bindings. The license of each module
4684 ;; of gnome-python-desktop is given in 'COPYING'.
4685 (license license:lgpl2.1+)))
4687 (define-public glib-networking
4689 (name "glib-networking")
4693 (uri (string-append "mirror://gnome/sources/glib-networking/"
4694 (version-major+minor version) "/"
4695 "glib-networking-" version ".tar.xz"))
4698 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4699 (build-system meson-build-system)
4701 `(#:configure-flags '("-Dlibproxy_support=false")))
4703 `(("pkg-config" ,pkg-config)
4704 ("intltool" ,intltool)))
4708 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4709 (home-page "https://www.gnome.org")
4710 (synopsis "Network-related GIO modules")
4712 "This package contains various network related extensions for the GIO
4714 (license license:lgpl2.0+)))
4722 (uri (string-append "mirror://gnome/sources/rest/"
4723 (version-major+minor version) "/"
4724 name "-" version ".tar.xz"))
4727 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4728 (build-system gnu-build-system)
4730 '(#:tests? #f ; tests require internet connection
4732 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4734 `(("glib-mkenums" ,glib "bin")
4735 ("gobject-introspection" ,gobject-introspection)
4736 ("pkg-config" ,pkg-config)))
4738 ;; rest-0.7.pc refers to all these.
4740 ("libsoup" ,libsoup)
4741 ("libxml2" ,libxml2)))
4742 (home-page "https://www.gtk.org/")
4743 (synopsis "RESTful web api query library")
4745 "This library was designed to make it easier to access web services that
4746 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4747 libxml to ease remote use of the RESTful API.")
4748 (license license:lgpl2.1+)))
4750 (define-public libsoup
4756 (uri (string-append "mirror://gnome/sources/libsoup/"
4757 (version-major+minor version) "/"
4758 "libsoup-" version ".tar.xz"))
4761 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4762 (build-system meson-build-system)
4763 (outputs '("out" "doc"))
4765 `(#:modules ((guix build utils)
4766 (guix build meson-build-system)
4769 #:configure-flags '("-Dgtk_doc=true")
4771 (modify-phases %standard-phases
4772 (add-after 'unpack 'patch-docbook-xml
4773 (lambda* (#:key inputs #:allow-other-keys)
4774 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4775 "/xml/dtd/docbook")))
4776 (substitute* (find-files "docs/reference")
4777 (("http://.*/docbookx\\.dtd")
4778 (string-append xmldoc "/docbookx.dtd")))
4780 (add-after 'unpack 'adjust-tests
4782 ;; This test fails due to missing /etc/nsswitch.conf
4783 ;; in the build environment.
4784 (substitute* "tests/socket-test.c"
4785 ((".*/sockets/unconnected.*") ""))
4787 ;; These fail because "subdomain.localhost" does not resolve in
4788 ;; the build environment.
4789 (substitute* "tests/hsts-test.c"
4790 ((".*/hsts/basic.*") "")
4791 ((".*/hsts/subdomains.*") "")
4792 ((".*/hsts/superdomain.*") "")
4793 ((".*/hsts/utf8-address.*") ""))
4794 (substitute* "tests/hsts-db-test.c"
4795 ((".*/hsts-db/subdomains.*") ""))
4797 ;; Generate a self-signed certificate that has "localhost" as its
4798 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4799 ;; 3.5.12, tests such as "ssl-tests" fail:
4801 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4803 ;; 'certtool' is interactive so we have to pipe it the answers.
4804 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4805 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4806 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4807 (for-each (lambda (line)
4812 "Guix" ;Organizational unit name
4813 "GNU" ;Organization name
4815 "" ;State or province
4817 "" ;subject's domain component (DC)
4820 "-1" ;expiration time
4821 "N" ;belong to authority?
4822 "N" ;web client certificate?
4824 "Y" ;web server certificate?
4825 "localhost" ;dnsName of subject
4826 "" ;dnsName of subject (end)
4828 "127.0.0.1" ;IP address of subject
4830 "" ;encryption (RSA)?
4831 "" ;data encryption?
4832 "" ;sign OCSP requests?
4835 "" ;email protection?
4836 "" ;URI of the CRL distribution point
4841 (add-after 'install 'move-doc
4842 (lambda* (#:key outputs #:allow-other-keys)
4843 (let ((out (assoc-ref outputs "out"))
4844 (doc (assoc-ref outputs "doc")))
4845 (mkdir-p (string-append doc "/share"))
4846 (copy-recursively (string-append out "/share/gtk-doc")
4847 (string-append doc "/share/gtk-doc"))
4848 (delete-file-recursively (string-append out "/share/gtk-doc"))
4851 `(("docbook-xml" ,docbook-xml-4.1.2)
4852 ("glib:bin" ,glib "bin") ; for glib-mkenums
4853 ("gobject-introspection" ,gobject-introspection)
4854 ("gtk-doc" ,gtk-doc)
4855 ("intltool" ,intltool)
4856 ("pkg-config" ,pkg-config)
4857 ("python" ,python-wrapper)
4861 ("gnutls" ,gnutls) ;for 'certtool'
4864 ;; libsoup-2.4.pc refers to all these.
4865 `(("brotli" ,google-brotli)
4868 ("libxml2" ,libxml2)
4872 `(("glib-networking" ,glib-networking)
4873 ("mit-krb5" ,mit-krb5)))
4874 (home-page "https://live.gnome.org/LibSoup/")
4875 (synopsis "GLib-based HTTP Library")
4877 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4878 and the GLib main loop, to integrate well with GNOME applications.")
4879 (license license:lgpl2.0+)))
4882 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4883 (define-public libsoup-minimal
4886 (name "libsoup-minimal")
4887 (outputs (delete "doc" (package-outputs libsoup)))
4889 (substitute-keyword-arguments (package-arguments libsoup)
4890 ((#:configure-flags configure-flags)
4891 `(delete "-Dgtk_doc=true" ,configure-flags))
4893 `(modify-phases ,phases
4894 (delete 'move-doc)))))
4895 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4897 (define-public libsecret
4904 "mirror://gnome/sources/libsecret/"
4905 (version-major+minor version) "/"
4906 "libsecret-" version ".tar.xz"))
4909 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4910 (build-system gnu-build-system)
4911 (outputs '("out" "doc"))
4913 `(#:tests? #f ; FIXME: Testing hangs.
4915 (list (string-append "--with-html-dir="
4916 (assoc-ref %outputs "doc")
4917 "/share/gtk-doc/html"))))
4919 `(("gettext" ,gettext-minimal)
4920 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4921 ("gobject-introspection" ,gobject-introspection)
4922 ("pkg-config" ,pkg-config)
4924 ("xsltproc" ,libxslt)))
4925 ;; These are needed for the tests.
4926 ;; FIXME: Add gjs once available.
4928 ;("python2" ,python-2)
4929 ;("python2-dbus" ,python2-dbus)
4930 ;("python2-pygobject" ,python2-pygobject)
4931 ;("python2-pygobject-2" ,python2-pygobject-2)))
4933 `(("glib" ,glib))) ; required by libsecret-1.pc
4935 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4936 ;; doesn't seem to affect the build result.
4937 `(("docbook-xsl" ,docbook-xsl)
4938 ("libgcrypt" ,libgcrypt)
4939 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4940 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4941 (synopsis "GObject bindings for \"Secret Service\" API")
4943 "Libsecret is a GObject based library for storing and retrieving passwords
4944 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4945 (license license:lgpl2.1+)))
4947 (define-public five-or-more
4949 (name "five-or-more")
4954 (uri (string-append "mirror://gnome/sources/five-or-more/"
4955 (version-major+minor version) "/"
4956 "five-or-more-" version ".tar.xz"))
4958 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4959 (build-system meson-build-system)
4963 (modify-phases %standard-phases
4964 (add-after 'unpack 'skip-gtk-update-icon-cache
4966 (substitute* "meson_post_install.py"
4967 (("gtk-update-icon-cache") (which "true")))
4970 `(("pkg-config" ,pkg-config)
4971 ("appstream-glib" ,appstream-glib)
4972 ("desktop-file-utils" ,desktop-file-utils)
4973 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4974 ("intltool" ,intltool)
4975 ("itstool" ,itstool)
4977 ("xmllint" ,libxml2)))
4980 ("libgnome-games-support" ,libgnome-games-support)
4981 ("librsvg" ,librsvg)))
4982 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4983 (synopsis "Logic puzzle game")
4984 (description "Five or More is a game where you try to align
4985 five or more objects of the same color and shape causing them to disappear.
4986 On every turn more objects will appear, until the board is full.
4987 Try to last as long as possible.")
4988 (license license:gpl2+)))
4990 (define-public gnome-mines
4992 (name "gnome-mines")
4997 (uri (string-append "mirror://gnome/sources/" name "/"
4998 (version-major+minor version) "/"
4999 name "-" version ".tar.xz"))
5001 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
5002 (build-system meson-build-system)
5006 (modify-phases %standard-phases
5007 (add-after 'unpack 'skip-gtk-update-icon-cache
5009 (substitute* "build-aux/meson_post_install.py"
5010 (("gtk-update-icon-cache") (which "true")))
5013 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5014 ("pkg-config" ,pkg-config)
5015 ("desktop-file-utils" ,desktop-file-utils)
5016 ("intltool" ,intltool)
5017 ("itstool" ,itstool)
5020 ("appstream-glib" ,appstream-glib)))
5023 ("libgnome-games-support" ,libgnome-games-support)
5024 ("librsvg" ,librsvg)))
5025 (home-page "https://wiki.gnome.org/Apps/Mines")
5026 (synopsis "Minesweeper game")
5028 "Mines (previously gnomine) is a puzzle game where you locate mines
5029 floating in an ocean using only your brain and a little bit of luck.")
5030 (license license:gpl2+)))
5032 (define-public gnome-multi-writer
5034 (name "gnome-multi-writer")
5039 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
5040 (version-major+minor version) "/"
5041 "gnome-multi-writer-" version ".tar.xz"))
5044 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
5045 (build-system meson-build-system)
5049 (modify-phases %standard-phases
5050 (add-after 'unpack 'skip-post-install
5052 (substitute* "meson.build"
5053 (("meson.add_install_script" &) (string-append "# " &)))
5056 `(("glib:bin" ,glib "bin")
5057 ("pkg-config" ,pkg-config)))
5060 ("glib" ,glib) ; for gio
5063 ("libgudev" ,libgudev)
5064 ("libcanberra" ,libcanberra)
5065 ("polkit" ,polkit)))
5066 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
5067 (synopsis "Write to multiple USB devices at once")
5069 "MultiWriter can be used to write an ISO file to multiple USB devices at
5071 (license license:gpl2+)))
5073 (define-public gnome-sudoku
5075 (name "gnome-sudoku")
5080 (uri (string-append "mirror://gnome/sources/" name "/"
5081 (version-major+minor version) "/"
5082 name "-" version ".tar.xz"))
5085 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5086 (build-system meson-build-system)
5090 (modify-phases %standard-phases
5091 (add-after 'unpack 'skip-gtk-update-icon-cache
5093 (substitute* "build-aux/post_install.py"
5094 (("gtk-update-icon-cache") (which "true")))
5097 `(("pkg-config" ,pkg-config)
5098 ("desktop-file-utils" ,desktop-file-utils)
5099 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5100 ("intltool" ,intltool)
5101 ("itstool" ,itstool)
5103 ("xmllint" ,libxml2)))
5106 ("json-glib" ,json-glib)
5108 ("librsvg" ,librsvg)
5109 ("qqwing" ,qqwing)))
5110 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5111 (synopsis "Japanese logic game")
5113 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5114 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5115 possible while still providing features that make playing difficult Sudoku
5117 (license license:gpl2+)))
5119 (define-public gnome-terminal
5121 (name "gnome-terminal")
5126 (uri (string-append "mirror://gnome/sources/" name "/"
5127 (version-major+minor version) "/"
5128 name "-" version ".tar.xz"))
5131 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5132 (build-system glib-or-gtk-build-system)
5135 (list "--disable-migration" "--disable-search-provider"
5136 "--without-nautilus-extension")
5138 (modify-phases %standard-phases
5139 (add-before 'configure 'patch-/bin/true
5141 (substitute* "configure"
5142 (("/bin/true") (which "true"))))))))
5144 `(("pkg-config" ,pkg-config)
5145 ("desktop-file-utils" ,desktop-file-utils)
5146 ("intltool" ,intltool)
5147 ("itstool" ,itstool)
5148 ("xmllint" ,libxml2)))
5150 `(("dconf" ,dconf)))
5155 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5156 ("util-linux" ,util-linux "lib")
5158 (home-page "https://wiki.gnome.org/Apps/Terminal")
5159 (synopsis "Terminal emulator")
5161 "GNOME Terminal is a terminal emulator application for accessing a
5162 UNIX shell environment which can be used to run programs available on
5165 It supports several profiles, multiple tabs and implements several
5166 keyboard shortcuts.")
5167 (license license:gpl3+)))
5169 (define-public colord
5176 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5177 "colord-" version ".tar.xz"))
5179 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5180 (build-system meson-build-system)
5182 '(;; FIXME: One test fails:
5183 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5184 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5185 ;; application/x-zerosize
5188 #:configure-flags (list "-Dlocalstatedir=/var"
5189 ;; No dep on systemd.
5191 ;; Wants to install to global completion dir;
5193 "-Dbash_completion=false"
5194 "-Ddaemon_user=colord"
5197 ;; Requires spotread.
5198 "-Dargyllcms_sensor=false"
5199 ;; TODO: Requires docbook2x.
5202 (modify-phases %standard-phases
5203 (add-before 'configure 'patch-build-system
5204 (lambda* (#:key outputs #:allow-other-keys)
5205 (substitute* "rules/meson.build"
5206 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5207 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5209 (add-before 'configure 'set-sqlite3-file-name
5210 (lambda* (#:key inputs #:allow-other-keys)
5211 ;; "colormgr dump" works by invoking the "sqlite3" command.
5212 ;; Record its absolute file name.
5213 (let ((sqlite (assoc-ref inputs "sqlite")))
5214 (substitute* "client/cd-util.c"
5216 (string-append "\"" sqlite "/bin/sqlite3\"")))
5219 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5220 ("gettext" ,gettext-minimal)
5221 ("gobject-introspection" ,gobject-introspection)
5222 ("gtk-doc" ,gtk-doc)
5223 ("pkg-config" ,pkg-config)
5226 ;; colord.pc refers to all these.
5231 `(("dbus-glib" ,dbus-glib)
5233 ("libgudev" ,libgudev)
5236 ("python" ,python-wrapper)
5238 ("sane-backends" ,sane-backends)))
5239 (home-page "https://www.freedesktop.org/software/colord/")
5240 (synopsis "Color management service")
5241 (description "Colord is a system service that makes it easy to manage,
5242 install and generate color profiles to accurately color manage input and
5244 (license license:gpl2+)))
5246 (define-public geoclue
5254 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5255 version "/geoclue-" version ".tar.bz2"))
5257 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5258 (patches (search-patches "geoclue-config.patch"))))
5259 (build-system meson-build-system)
5261 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5263 `(("pkg-config" ,pkg-config)
5264 ("gobject-introspection" ,gobject-introspection)
5265 ("modem-manager" ,modem-manager)
5266 ("libnotify" ,libnotify)
5267 ("gtk-doc" ,gtk-doc)
5268 ("intltool" ,intltool)))
5271 ("glib:bin" ,glib "bin")
5272 ("glib-networking" ,glib-networking)
5273 ("json-glib" ,json-glib)
5274 ("libsoup" ,libsoup)))
5275 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5276 (synopsis "Geolocation service")
5277 (description "Geoclue is a D-Bus service that provides location
5278 information. The primary goal of the Geoclue project is to make creating
5279 location-aware applications as simple as possible, while the secondary goal is
5280 to ensure that no application can access location information without explicit
5281 permission from user.")
5282 (license license:gpl2+)))
5284 (define-public geocode-glib
5286 (name "geocode-glib")
5290 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5291 (version-major+minor version) "/"
5292 "geocode-glib-" version ".tar.xz"))
5295 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5296 (build-system meson-build-system)
5299 (modify-phases %standard-phases
5300 ;; The tests require a bunch of locales.
5301 (add-before 'check 'set-locales
5302 (lambda* (#:key inputs #:allow-other-keys)
5303 (setenv "GUIX_LOCPATH"
5304 (string-append (assoc-ref inputs "glibc-locales")
5308 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5309 ("glibc-locales" ,glibc-locales) ; for tests
5310 ("gettext" ,gettext-minimal)
5311 ("gobject-introspection" ,gobject-introspection)
5312 ("gtk-doc" ,gtk-doc)
5313 ("pkg-config" ,pkg-config)
5314 ("json-glib" ,json-glib)))
5316 ;; geocode-glib-1.0.pc refers to GIO.
5319 `(("libsoup" ,libsoup)))
5320 (home-page "https://github.com/GNOME/geocode-glib/")
5321 (synopsis "Geocoding and reverse-geocoding library")
5323 "geocode-glib is a convenience library for geocoding (finding longitude,
5324 and latitude from an address) and reverse geocoding (finding an address from
5325 coordinates) using the Nominatim service. geocode-glib caches requests for
5326 faster results and to avoid unnecessary server load.")
5327 (license license:lgpl2.0+)))
5329 (define-public upower
5335 (uri (string-append "https://upower.freedesktop.org/releases/"
5336 "upower-" version ".tar.xz"))
5339 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5340 (patches (search-patches "upower-builddir.patch"))
5341 (modules '((guix build utils)))
5345 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5346 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5347 ;; 'dbus-configuration-directory' in (gnu services dbus)
5348 ;; expects it in etc/. Thus, move it back to its previous
5350 (substitute* "src/Makefile.in"
5351 (("^dbusconfdir =.*$")
5352 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5354 (build-system glib-or-gtk-build-system)
5357 (modify-phases %standard-phases
5358 (add-before 'check 'pre-check
5359 (lambda* (#:key inputs #:allow-other-keys)
5360 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5362 (setenv "LD_LIBRARY_PATH" umockdev))
5364 #:configure-flags (list "--localstatedir=/var"
5365 (string-append "--with-udevrulesdir="
5366 (assoc-ref %outputs "out")
5367 "/lib/udev/rules.d"))))
5369 `(("gobject-introspection" ,gobject-introspection)
5370 ("pkg-config" ,pkg-config)
5371 ("intltool" ,intltool)
5375 ("python-dbus" ,python-dbus)
5376 ("python-dbusmock" ,python-dbusmock)
5377 ("python-pygobject" ,python-pygobject)
5378 ("umockdev" ,umockdev)
5381 ("libxslt" ,libxslt) ;for 'xsltproc'
5382 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5383 ("docbook-xsl" ,docbook-xsl)))
5385 `(("dbus-glib" ,dbus-glib)
5386 ("libgudev" ,libgudev)
5387 ("libusb" ,libusb)))
5389 ;; In Requires of upower-glib.pc.
5391 (home-page "https://upower.freedesktop.org/")
5392 (synopsis "System daemon for managing power devices")
5394 "UPower is an abstraction for enumerating power devices,
5395 listening to device events and querying history and statistics. Any
5396 application or service on the system can access the org.freedesktop.UPower
5397 service via the system message bus.")
5398 (license license:gpl2+)))
5400 (define-public libgweather
5402 (name "libgweather")
5406 (uri (string-append "mirror://gnome/sources/" name "/"
5407 (version-major+minor version) "/"
5408 name "-" version ".tar.xz"))
5411 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5412 (build-system meson-build-system)
5414 `(#:tests? #f ; one of two tests requires network access
5416 `(,(string-append "-Dzoneinfo_dir="
5417 (assoc-ref %build-inputs "tzdata")
5418 "/share/zoneinfo"))))
5420 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5421 ("gobject-introspection" ,gobject-introspection)
5422 ("pkg-config" ,pkg-config)
5424 ("intltool" ,intltool)))
5426 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5429 ("gdk-pixbuf" ,gdk-pixbuf)
5430 ("libxml2" ,libxml2)
5431 ("libsoup" ,libsoup)
5432 ("geocode-glib" ,geocode-glib)))
5434 `(("tzdata" ,tzdata)))
5435 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5436 (synopsis "Location, time zone, and weather library for GNOME")
5438 "libgweather is a library to access weather information from online
5439 services for numerous locations.")
5440 (license license:gpl2+)))
5442 (define-public gnome-settings-daemon
5444 (name "gnome-settings-daemon")
5449 (uri (string-append "mirror://gnome/sources/" name "/"
5450 (version-major+minor version) "/"
5451 name "-" version ".tar.xz"))
5454 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5455 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5456 (build-system meson-build-system)
5460 (list (string-append "-Dudev_dir="
5461 (assoc-ref %outputs "out")
5462 "/lib/udev/rules.d/")
5464 ;; Otherwise, the RUNPATH will lack the final path component.
5465 (string-append "-Dc_link_args=-Wl,-rpath="
5466 (assoc-ref %outputs "out")
5467 "/lib/gnome-settings-daemon-3.0"))
5469 #:phases (modify-phases %standard-phases
5470 (add-before 'configure 'set-baobab-file-name
5471 (lambda* (#:key inputs #:allow-other-keys)
5472 ;; Hard-code the file name of Baobab instead of looking
5473 ;; it up in $PATH. This ensures users get the "Examine"
5474 ;; button in the low disk space notification of GDM even
5475 ;; if they don't have GNOME in their main profile.
5476 (let ((baobab (assoc-ref inputs "baobab")))
5477 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5478 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5479 (string-append "g_strdup (\"" baobab
5483 ;; Color management test can't reach the colord system service.
5486 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5487 ("pkg-config" ,pkg-config)
5488 ("intltool" ,intltool)
5489 ("xsltproc" ,libxslt)
5490 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5491 ("docbook-xml" ,docbook-xml-4.2)
5492 ("docbook-xsl" ,docbook-xsl)))
5494 `(("alsa-lib" ,alsa-lib)
5497 ("libgudev" ,libgudev)
5500 ("pulseaudio" ,pulseaudio)
5501 ("libcanberra" ,libcanberra)
5503 ("libxtst" ,libxtst)
5505 ("libnotify" ,libnotify)
5506 ("geoclue" ,geoclue)
5507 ("geocode-glib" ,geocode-glib)
5508 ("libgweather" ,libgweather)
5509 ("gnome-desktop" ,gnome-desktop)
5512 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5513 ("libwacom" ,libwacom)
5514 ("librsvg" ,librsvg)
5515 ("xf86-input-wacom" ,xf86-input-wacom)
5516 ("wayland" ,wayland)
5517 ("network-manager" ,network-manager)
5519 ("modem-manager" ,modem-manager)))
5520 (home-page "https://www.gnome.org")
5521 (synopsis "GNOME settings daemon")
5523 "This package contains the daemon responsible for setting the various
5524 parameters of a GNOME session and the applications that run under it. It
5525 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5526 settings, themes, mouse settings, and startup of other daemons.")
5527 (license license:gpl2+)))
5529 (define-public totem-pl-parser
5531 (name "totem-pl-parser")
5535 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5536 (version-major+minor version) "/"
5537 "totem-pl-parser-" version ".tar.xz"))
5540 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5541 (build-system meson-build-system)
5543 ;; FIXME: Tests require gvfs.
5546 `(("intltool" ,intltool)
5547 ("glib" ,glib "bin")
5548 ("gobject-introspection" ,gobject-introspection)
5549 ("pkg-config" ,pkg-config)))
5553 ("libarchive" ,libarchive)
5554 ("libgcrypt" ,libgcrypt)
5555 ("libxml2" ,libxml2)))
5557 `(("libsoup" ,libsoup)))
5558 (home-page "https://projects.gnome.org/totem")
5559 (synopsis "Library to parse and save media playlists for GNOME")
5560 (description "Totem-pl-parser is a GObjects-based library to parse and save
5561 playlists in a variety of formats.")
5562 (license license:lgpl2.0+)))
5564 (define-public aisleriot
5570 (uri (string-append "mirror://gnome/sources/aisleriot/"
5571 (version-major+minor version) "/"
5572 "aisleriot-" version ".tar.xz"))
5575 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5576 (build-system glib-or-gtk-build-system)
5579 '("--with-platform=gtk-only"
5580 "--with-card-theme-formats=svg")))
5582 `(("desktop-file-utils" ,desktop-file-utils)
5583 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5584 ("intltool" ,intltool)
5585 ("itstool" ,itstool)
5586 ("pkg-config" ,pkg-config)
5587 ("xmllint" ,libxml2)))
5590 ("guile" ,guile-2.2)
5591 ("libcanberra" ,libcanberra)
5592 ("librsvg" ,librsvg)))
5593 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5594 (synopsis "Solitaire card games")
5596 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5597 which are easy to play with the aid of a mouse.")
5598 (license license:gpl3+)))
5606 (uri (string-append "mirror://gnome/sources/amtk/"
5607 (version-major+minor version) "/"
5608 "amtk-" version ".tar.xz"))
5611 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5612 (build-system gnu-build-system)
5614 '(#:configure-flags '("--enable-gtk-doc")))
5616 `(("gobject-introspection" ,gobject-introspection)
5617 ("glib:bin" ,glib "bin") ; for glib-mkenums
5618 ("gtk-doc" ,gtk-doc)
5619 ("pkg-config" ,pkg-config)))
5623 (home-page "https://wiki.gnome.org/Projects/Amtk")
5624 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5626 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5627 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5628 both a traditional UI or a modern UI with a GtkHeaderBar.")
5629 (license license:lgpl2.1+)))
5631 (define-public devhelp
5637 (uri (string-append "mirror://gnome/sources/" name "/"
5638 (version-major+minor version) "/"
5639 name "-" version ".tar.xz"))
5642 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5643 (build-system meson-build-system)
5647 (modify-phases %standard-phases
5648 (add-after 'unpack 'skip-gtk-update-icon-cache
5649 ;; Don't create 'icon-theme.cache'.
5651 (substitute* "meson_post_install.py"
5652 (("gtk-update-icon-cache") "true"))
5655 `(("intltool" ,intltool)
5656 ("itstool" ,itstool)
5657 ("gobject-introspection" ,gobject-introspection)
5658 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5659 ("pkg-config" ,pkg-config)))
5662 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5663 ("webkitgtk" ,webkitgtk)))
5664 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5665 (synopsis "API documentation browser for GNOME")
5667 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5668 natively with GTK-Doc (the API reference system developed for GTK+ and used
5669 throughout GNOME for API documentation).")
5670 (license license:gpl2+)))
5679 (uri (string-append "mirror://gnome/sources/cogl/"
5680 (version-major+minor version) "/"
5681 "cogl-" version ".tar.xz"))
5683 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5684 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5685 ;; cogl, corresponding changes may be appropriate in mutter as well.
5686 (build-system gnu-build-system)
5688 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5689 ("gobject-introspection" ,gobject-introspection)
5690 ("xorg-server" ,xorg-server-for-tests)
5691 ("pkg-config" ,pkg-config)))
5694 ("gdk-pixbuf" ,gdk-pixbuf)
5696 ("libxext" ,libxext)
5697 ("libxfixes" ,libxfixes)
5698 ("libxdamage" ,libxdamage)
5699 ("libxcomposite" ,libxcomposite)
5700 ("libxrandr" ,libxrandr)))
5705 ("gstreamer" ,gstreamer)
5706 ("gst-plugins-base" ,gst-plugins-base)
5707 ("wayland" ,wayland)))
5709 `(#:disallowed-references (,xorg-server-for-tests)
5710 #:configure-flags (list "--enable-cogl-gst"
5711 "--enable-wayland-egl-platform"
5712 "--enable-wayland-egl-server"
5714 ;; Arrange to pass an absolute file name to
5715 ;; dlopen for libGL.so.
5716 (string-append "--with-gl-libname="
5717 (assoc-ref %build-inputs "mesa")
5720 (modify-phases %standard-phases
5721 (add-after 'unpack 'fix-build-with-mesa-20
5723 ;; Work around a problem with Mesa 20 where some macros used by
5724 ;; Cogl went missing from eglext.h. This can likely be removed
5725 ;; for newer versions of Cogl or Mesa.
5726 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5727 (substitute* '("configure"
5728 "cogl/winsys/cogl-winsys-egl-kms.c")
5729 (("#include <EGL/eglext.h>" all)
5730 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5732 (add-before 'check 'start-xorg-server
5733 (lambda* (#:key tests? inputs #:allow-other-keys)
5736 ;; The test suite requires a running X server.
5737 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5738 (assoc-ref inputs "xorg-server")))
5739 (setenv "DISPLAY" ":1")
5741 (format #t "test suite not run~%"))
5743 (home-page "https://www.cogl3d.org")
5744 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5746 "Cogl is a small library for using 3D graphics hardware to draw pretty
5747 pictures. The API departs from the flat state machine style of OpenGL and is
5748 designed to make it easy to write orthogonal components that can render
5749 without stepping on each others toes.")
5750 (license (list license:expat ; most of the code
5751 license:bsd-3 ; cogl/cogl-point-in-poly.c
5752 license:sgifreeb2.0 ; cogl-path/tesselator/
5753 license:asl2.0)))) ; examples/android/
5755 (define-public clutter
5762 (uri (string-append "mirror://gnome/sources/" name "/"
5763 (version-major+minor version) "/"
5764 name "-" version ".tar.xz"))
5767 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5768 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5769 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5770 (build-system gnu-build-system)
5772 "doc")) ;9 MiB of gtk-doc HTML pages
5774 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5775 ("gobject-introspection" ,gobject-introspection)
5776 ("pkg-config" ,pkg-config)
5777 ("xsltproc" ,libxslt)))
5783 ("json-glib" ,json-glib)
5785 ("libxcomposite" ,libxcomposite)
5786 ("libxdamage" ,libxdamage)
5787 ("libxext" ,libxext)
5788 ("xinput" ,xinput)))
5790 `(("libxkbcommon" ,libxkbcommon)
5793 `(#:configure-flags (list "--enable-x11-backend=yes"
5795 ;; This produces share/doc/{clutter,cally}.
5796 (string-append "--with-html-dir="
5797 (assoc-ref %outputs "doc")
5799 ;; XXX FIXME: Get test suite working. It would probably fail in the
5800 ;; same way the cogl tests fail, since clutter is based on cogl.
5802 (home-page "http://www.clutter-project.org")
5803 (synopsis "OpenGL-based interactive canvas library")
5805 "Clutter is an OpenGL-based interactive canvas library, designed for
5806 creating fast, mainly 2D single window applications such as media box UIs,
5807 presentations, kiosk style applications and so on.")
5808 (license license:lgpl2.0+)))
5810 (define-public clutter-gtk
5812 (name "clutter-gtk")
5817 (uri (string-append "mirror://gnome/sources/" name "/"
5818 (version-major+minor version) "/"
5819 name "-" version ".tar.xz"))
5822 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5823 (build-system gnu-build-system)
5825 `(("pkg-config" ,pkg-config)
5826 ("gobject-introspection" ,gobject-introspection)))
5828 ;; clutter-gtk.pc refers to all these.
5829 `(("clutter" ,clutter)
5831 (home-page "http://www.clutter-project.org")
5832 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5834 "Clutter is an OpenGL-based interactive canvas library, designed for
5835 creating fast, mainly 2D single window applications such as media box UIs,
5836 presentations, kiosk style applications and so on.")
5837 (license license:lgpl2.0+)))
5839 (define-public clutter-gst
5841 (name "clutter-gst")
5846 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5847 (version-major+minor version) "/"
5848 "clutter-gst-" version ".tar.xz"))
5850 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5851 (build-system gnu-build-system)
5853 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5854 ("pkg-config" ,pkg-config)
5855 ("gobject-introspection" ,gobject-introspection)))
5857 `(("clutter" ,clutter)
5858 ("gstreamer" ,gstreamer)
5859 ("gst-plugins-base" ,gst-plugins-base)))
5860 (home-page "http://www.clutter-project.org")
5861 (synopsis "Integration library for using GStreamer with Clutter")
5863 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5864 It provides a GStreamer sink to upload frames to GL and an actor that
5865 implements the ClutterGstPlayer interface using playbin. Clutter is an
5866 OpenGL-based interactive canvas library.")
5867 (license license:lgpl2.0+)))
5869 (define-public libchamplain
5871 (name "libchamplain")
5876 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5880 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5881 (build-system gnu-build-system)
5882 (arguments '(#:configure-flags '("--enable-vala")))
5884 `(("gobject-introspection" ,gobject-introspection)
5885 ("pkg-config" ,pkg-config)
5888 `(("libsoup" ,libsoup)
5890 ("clutter" ,clutter)
5891 ("clutter-gtk" ,clutter-gtk)
5892 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5896 (home-page "https://projects.gnome.org/libchamplain/")
5897 (synopsis "C library providing a ClutterActor to display maps")
5899 "libchamplain is a C library providing a ClutterActor to display maps.
5900 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5901 and Perl bindings are also available. It supports numerous free map sources
5902 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5903 (license license:lgpl2.1+)))
5912 (uri (string-append "mirror://gnome/sources/gom/"
5913 (version-major+minor version) "/"
5914 "gom-" version ".tar.xz"))
5917 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5918 (build-system gnu-build-system)
5920 `(("intltool" ,intltool)
5921 ("pkg-config" ,pkg-config)
5922 ("gobject-introspection" ,gobject-introspection)))
5925 ("gdk-pixbuf" ,gdk-pixbuf)
5926 ("sqlite" ,sqlite)))
5927 ;; XXX TODO: Figure out how to run the test suite.
5928 (arguments `(#:tests? #f))
5929 (home-page "https://wiki.gnome.org/Projects/Gom")
5930 (synopsis "Object mapper from GObjects to SQLite")
5932 "Gom provides an object mapper from GObjects to SQLite. It helps you
5933 write applications that need to store structured data as well as make complex
5934 queries upon that data.")
5935 (license license:lgpl2.1+)))
5937 (define-public libgnome-games-support
5939 (name "libgnome-games-support")
5943 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5944 (version-major+minor version) "/"
5945 "libgnome-games-support-" version ".tar.xz"))
5948 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
5949 (build-system gnu-build-system)
5952 (modify-phases %standard-phases
5953 (add-before 'check 'pre-check
5955 ;; Tests require a writable HOME.
5956 (setenv "HOME" (getcwd))
5959 `(("intltool" ,intltool)
5960 ("pkg-config" ,pkg-config)
5963 ;; Required by libgnome-games-support-1.0.pc
5965 ("libgee" ,libgee)))
5966 (home-page "https://www.gnome.org/")
5967 (synopsis "Useful functionality shared among GNOME games")
5969 "libgnome-games-support is a small library intended for internal use by
5970 GNOME Games, but it may be used by others.")
5971 (license license:lgpl3+)))
5973 (define-public gnome-klotski
5975 (name "gnome-klotski")
5979 (uri (string-append "mirror://gnome/sources/" name "/"
5980 (version-major+minor version) "/"
5981 name "-" version ".tar.xz"))
5984 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
5985 (build-system meson-build-system)
5989 (modify-phases %standard-phases
5990 (add-after 'unpack 'skip-gtk-update-icon-cache
5991 ;; Don't create 'icon-theme.cache'.
5993 (substitute* "build-aux/meson_post_install.py"
5994 (("gtk-update-icon-cache") (which "true")))
5997 `(("desktop-file-utils" ,desktop-file-utils)
5998 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5999 ("intltool" ,intltool)
6000 ("itstool" ,itstool)
6001 ("pkg-config" ,pkg-config)
6003 ("xmllint" ,libxml2)))
6006 ("libgnome-games-support" ,libgnome-games-support)
6007 ("librsvg" ,librsvg)))
6008 (home-page "https://wiki.gnome.org/Apps/Klotski")
6009 (synopsis "Sliding block puzzles")
6011 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
6012 the patterned block to the area bordered by green markers. To do so, you will
6013 need to slide other blocks out of the way. Complete each puzzle in as few moves
6015 (license license:gpl2+)))
6017 (define-public grilo
6024 (uri (string-append "mirror://gnome/sources/grilo/"
6025 (version-major+minor version) "/"
6026 "grilo-" version ".tar.xz"))
6028 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
6029 (build-system meson-build-system)
6031 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
6032 ("intltool" ,intltool)
6033 ("pkg-config" ,pkg-config)
6034 ("gobject-introspection" ,gobject-introspection)
6035 ("gtk-doc" ,gtk-doc)
6038 `(("cyrus-sasl" ,cyrus-sasl)
6041 ("libxml2" ,libxml2)
6042 ("liboauth" ,liboauth)
6043 ("libsoup" ,libsoup)
6044 ("totem-pl-parser" ,totem-pl-parser)))
6045 (native-search-paths
6046 (list (search-path-specification
6047 (variable "GRL_PLUGIN_PATH")
6048 (files (list (string-append "lib/grilo-"
6049 (version-major+minor version)))))))
6050 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
6051 (synopsis "Framework for discovering and browsing media")
6053 "Grilo is a framework focused on making media discovery and browsing easy
6054 for application developers.")
6055 (license license:lgpl2.1+)))
6057 (define-public grilo-plugins
6059 (name "grilo-plugins")
6064 (uri (string-append "mirror://gnome/sources/" name "/"
6065 (version-major+minor version) "/"
6066 name "-" version ".tar.xz"))
6068 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
6069 (build-system meson-build-system)
6071 `(("gettext" ,gettext-minimal)
6072 ("glib:bin" ,glib "bin")
6073 ("gtk+:bin" ,gtk+ "bin")
6074 ("itstool" ,itstool)
6075 ("pkg-config" ,pkg-config)))
6076 ;; TODO: ahavi, gstreamer
6079 ;("gmime" ,gmime) ; unused
6080 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6082 ;("gssdp" ,gssdp) ; unused
6083 ;("gupnp" ,gupnp) ; unused
6084 ;("gupnp-av" ,gupnp-av) ; unused
6085 ("json-glib" ,json-glib)
6087 ("libgdata" ,libgdata)
6088 ("libmediaart" ,libmediaart)
6089 ;("librest" ,rest) ; unused
6090 ("libsoup" ,libsoup)
6091 ("totam-pl-parser" ,totem-pl-parser)
6092 ("tracker" ,tracker))) ; unused because it's too old
6095 ;;Disable lua-factory as it needs missing dependencies
6096 #:configure-flags '("-Denable-lua-factory=no")))
6097 (home-page "https://live.gnome.org/Grilo")
6098 (synopsis "Plugins for the Grilo media discovery library")
6100 "Grilo is a framework focused on making media discovery and browsing easy
6101 for application developers. This package provides plugins for common media
6102 discovery protocols.")
6103 (license license:lgpl2.1+)))
6105 (define-public totem
6112 (uri (string-append "mirror://gnome/sources/totem/"
6113 (version-major+minor version) "/"
6114 "totem-" version ".tar.xz"))
6117 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6118 (build-system meson-build-system)
6120 `(("pkg-config" ,pkg-config)
6121 ("desktop-file-utils" ,desktop-file-utils)
6122 ("gettext" ,gettext-minimal)
6123 ("gobject-introspection" ,gobject-introspection)
6124 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6125 ("itstool" ,itstool)
6126 ("xmllint" ,libxml2)
6127 ("xorg-server" ,xorg-server-for-tests)))
6129 `(("dconf" ,dconf)))
6132 ("gdk-pixbuf" ,gdk-pixbuf)
6135 ("dbus-glib" ,dbus-glib)
6136 ("clutter" ,clutter)
6137 ("clutter-gtk" ,clutter-gtk)
6138 ("clutter-gst" ,clutter-gst)
6139 ("xorgproto" ,xorgproto)
6140 ("libxxf86vm" ,libxxf86vm)
6141 ("libxtst" ,libxtst)
6142 ("libxrandr" ,libxrandr)
6143 ("libxml2" ,libxml2)
6144 ("libsoup" ,libsoup)
6145 ("libpeas" ,libpeas)
6146 ("librsvg" ,librsvg)
6148 ("gnome-desktop" ,gnome-desktop)
6149 ("gstreamer" ,gstreamer)
6150 ("gst-plugins-base" ,gst-plugins-base)
6151 ("gst-plugins-good" ,gst-plugins-good)
6152 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6153 ("adwaita-icon-theme" ,adwaita-icon-theme)
6155 ("python-pygobject" ,python-pygobject)
6156 ("totem-pl-parser" ,totem-pl-parser)
6158 ("grilo-plugins" ,grilo-plugins)
6163 ;; Disable automatic GStreamer plugin installation via PackageKit and
6165 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6167 ;; Do not build .a files for the plugins, it's
6168 ;; completely useless. This saves 2 MiB.
6169 "--default-library" "shared")
6171 (modify-phases %standard-phases
6172 (add-after 'unpack 'skip-gtk-update-icon-cache
6173 ;; Don't create 'icon-theme.cache'.
6175 (substitute* "meson_post_install.py"
6176 (("gtk-update-icon-cache") "true"))
6178 (add-after 'unpack 'patch-failing-test
6180 ;; Work around test failure with GStreamer 1.18, because the test
6181 ;; relies on "und" not being mapped to a particular language:
6182 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6183 (substitute* "src/test-totem.c"
6184 (("und") "nosuchlang"))
6187 'install 'disable-cache-generation
6189 (setenv "DESTDIR" "/")
6194 ;; Tests require a running X server.
6195 (system "Xvfb :1 &")
6196 (setenv "DISPLAY" ":1")
6199 'install 'wrap-totem
6200 (lambda* (#:key inputs outputs #:allow-other-keys)
6201 (let ((out (assoc-ref outputs "out"))
6202 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6203 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6204 (wrap-program (string-append out "/bin/totem")
6205 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6206 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6207 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6208 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6210 (home-page "https://wiki.gnome.org/Apps/Videos")
6211 (synopsis "Simple media player for GNOME based on GStreamer")
6212 (description "Totem is a simple yet featureful media player for GNOME
6213 which can read a large number of file formats.")
6214 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6215 ;; to be used and distributed together with GStreamer and Totem. See
6216 ;; file://COPYING in the source distribution for details.
6217 (license license:gpl2+)))
6219 (define-public rhythmbox
6225 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6226 (version-major+minor version) "/"
6227 "rhythmbox-" version ".tar.xz"))
6230 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6231 (build-system glib-or-gtk-build-system)
6234 (list "--enable-lirc"
6241 (modify-phases %standard-phases
6243 'install 'wrap-rhythmbox
6244 (lambda* (#:key inputs outputs #:allow-other-keys)
6245 (let ((out (assoc-ref outputs "out"))
6246 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6247 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6248 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6249 (python-path (getenv "PYTHONPATH")))
6250 (wrap-program (string-append out "/bin/rhythmbox")
6251 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6252 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6253 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6254 `("PYTHONPATH" ":" prefix (,python-path))))
6257 `(("dconf" ,dconf)))
6259 `(("itstool" ,itstool)
6260 ("intltool" ,intltool)
6261 ("glib" ,glib "bin")
6262 ("gobject-introspection" ,gobject-introspection)
6263 ("desktop-file-utils" ,desktop-file-utils)
6264 ("pkg-config" ,pkg-config)
6265 ("xmllint" ,libxml2)))
6267 `(("json-glib" ,json-glib)
6269 ("gnome-desktop" ,gnome-desktop)
6271 ("python-pygobject" ,python2-pygobject)
6274 ("adwaita-icon-theme" ,adwaita-icon-theme)
6276 ("grilo-plugins" ,grilo-plugins)
6277 ("gstreamer" ,gstreamer)
6278 ("gst-plugins-base" ,gst-plugins-base)
6279 ("gst-plugins-good" ,gst-plugins-good)
6280 ("totem-pl-parser" ,totem-pl-parser)
6281 ("libgudev" ,libgudev)
6282 ;;("libmtp" ,libmtp) FIXME: Not detected
6283 ("libsecret" ,libsecret)
6284 ("libsoup" ,libsoup)
6285 ("libnotify" ,libnotify)
6286 ("libpeas" ,libpeas)
6288 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6289 ;;("clutter" ,clutter)
6290 ;;("clutter-gtk" ,clutter-gtk)
6291 ;;("clutter-gst" ,clutter-gst)
6292 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6299 ("brasero" ,brasero)))
6300 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6301 (synopsis "Music player for GNOME")
6302 (description "Rhythmbox is a music playing application for GNOME. It
6303 supports playlists, song ratings, and any codecs installed through gstreamer.")
6304 (license license:gpl2+)))
6312 (uri (string-append "mirror://gnome/sources/" name "/"
6313 (version-major+minor version) "/"
6314 name "-" version ".tar.xz"))
6317 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6318 (build-system meson-build-system)
6321 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6322 (list (string-append "-Dc_link_args=-Wl,-rpath="
6323 (assoc-ref %outputs "out") "/lib/eog"))
6325 (modify-phases %standard-phases
6326 (add-after 'unpack 'skip-gtk-update-icon-cache
6327 ;; Don't create 'icon-theme.cache'.
6329 (substitute* "meson_post_install.py"
6330 (("gtk-update-icon-cache") "true"))
6332 (add-after 'install 'wrap-eog
6333 (lambda* (#:key outputs #:allow-other-keys)
6334 (let ((out (assoc-ref outputs "out"))
6335 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6336 (wrap-program (string-append out "/bin/eog")
6337 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6340 `(("dconf" ,dconf)))
6342 `(("intltool" ,intltool)
6343 ("itstool" ,itstool)
6344 ("glib" ,glib "bin")
6345 ("gobject-introspection" ,gobject-introspection)
6346 ("pkg-config" ,pkg-config)
6347 ("xmllint" ,libxml2)))
6349 `(("gnome-desktop" ,gnome-desktop)
6350 ("shared-mime-info" ,shared-mime-info)
6351 ("adwaita-icon-theme" ,adwaita-icon-theme)
6354 ("libexif" ,libexif)
6355 ("libpeas" ,libpeas)
6356 ("libjpeg" ,libjpeg-turbo)
6357 ("librsvg" ,librsvg-next)
6358 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6360 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6361 (synopsis "GNOME image viewer")
6362 (description "Eye of GNOME is the GNOME image viewer. It
6363 supports image conversion, rotation, and slideshows.")
6364 (license license:gpl2+)))
6366 (define-public eog-plugins
6367 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6368 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6369 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6370 ;; 'XDG_DATA_DIRS' appropriately set.
6372 (name "eog-plugins")
6376 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6377 (version-major+minor version) "/"
6378 "eog-plugins-" version ".tar.xz"))
6381 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6382 (build-system gnu-build-system)
6383 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6384 (synopsis "Extensions for the Eye of GNOME image viewer")
6386 `(("pkg-config" ,pkg-config)
6387 ("gettext" ,gettext-minimal)))
6392 ("libpeas" ,libpeas)
6393 ("libexif" ,libexif)
6394 ("libchamplain" ,libchamplain)))
6396 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6400 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6401 @item @dfn{Map}, which displays a map of where the picture was taken on the
6403 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6406 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6407 ;; long suspicious byte stream that goes to a
6408 ;; ".gresource.eog_postasa_plugin" ELF section.
6409 (license license:gpl2+)))
6411 (define-public libgudev
6417 (uri (string-append "mirror://gnome/sources/" name "/"
6418 version "/" name "-" version ".tar.xz"))
6421 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6422 (build-system gnu-build-system)
6425 ;; umockdev depends on libgudev.
6426 (list "--disable-umockdev")))
6428 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6429 ("gobject-introspection" ,gobject-introspection)
6430 ("pkg-config" ,pkg-config)))
6432 `(("glib" ,glib))) ; required by gudev-1.0.pc
6435 (home-page "https://wiki.gnome.org/Projects/libgudev")
6436 (synopsis "GObject bindings for libudev")
6438 "This library provides GObject bindings for libudev. It was originally
6439 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6440 (license license:lgpl2.1+)))
6448 (uri (string-append "mirror://gnome/sources/gvfs/"
6449 (version-major+minor version) "/"
6450 "gvfs-" version ".tar.xz"))
6453 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
6454 ;; This patch may be removed when upgrading to version 1.46.x.
6456 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6457 (build-system meson-build-system)
6461 (list "-Dsystemduserunitdir=no"
6463 ;; Otherwise, the RUNPATH will lack the final path component.
6464 (string-append "-Dc_link_args=-Wl,-rpath="
6465 (assoc-ref %outputs "out") "/lib/gvfs"))))
6467 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6468 ("gettext" ,gettext-minimal)
6469 ("gtk-doc" ,gtk-doc)
6470 ("pkg-config" ,pkg-config)
6471 ("xsltproc" ,libxslt)))
6474 ("docbook-xml" ,docbook-xml-4.2)
6475 ("docbook-xsl" ,docbook-xsl)
6477 ("elogind" ,elogind)
6481 ("gnome-online-accounts" ,gnome-online-accounts)
6482 ("libarchive" ,libarchive)
6483 ("libbluray" ,libbluray)
6485 ("libcdio-paranoia" ,libcdio-paranoia)
6486 ("libgcrypt" ,libgcrypt)
6487 ("libgdata" ,libgdata)
6488 ("libgphoto2" ,libgphoto2)
6489 ("libgudev" ,libgudev)
6490 ("libimobiledevice" ,libimobiledevice)
6493 ("libsecret" ,libsecret)
6494 ("libsmbclient" ,samba)
6495 ("libsoup" ,libsoup)
6496 ("libxml2" ,libxml2)
6497 ("openssh" ,openssh)
6499 ("udisks" ,udisks)))
6500 (home-page "https://wiki.gnome.org/gvfs/")
6501 (synopsis "Userspace virtual file system for GIO")
6503 "GVFS is a userspace virtual file system designed to work with the I/O
6504 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6505 to all applications using the GIO API. It also supports exposing the GVFS
6506 mounts to non-GIO applications using FUSE.
6508 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6510 (license license:lgpl2.0+)))
6519 (url "https://github.com/hughsie/libgusb")
6521 (file-name (git-file-name name version))
6524 "0ifhdqhpyxwsg0z9s1anj7cf5pya5qsqyp5ksh9n7mqwa4lrjkl8"))))
6525 (build-system meson-build-system)
6527 `(("gobject-introspection" ,gobject-introspection)
6528 ("pkg-config" ,pkg-config)
6530 ("gtk-doc" ,gtk-doc)))
6532 ;; Both of these are required by gusb.pc.
6534 ("libusb" ,libusb)))
6536 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6537 (home-page "https://github.com/hughsie/libgusb")
6538 (synopsis "GLib binding for libusb1")
6540 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6541 asynchronous control, bulk and interrupt transfers with proper cancellation
6542 and integration into a mainloop. This makes it easy to integrate low level
6543 USB transfers with your high-level application or system daemon.")
6544 (license license:lgpl2.1+)))
6546 (define-public simple-scan
6548 (name "simple-scan")
6553 (uri (string-append "mirror://gnome/sources/simple-scan/"
6554 (version-major+minor version) "/"
6555 "simple-scan-" version ".tar.xz"))
6557 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6558 (build-system meson-build-system)
6559 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6561 '(#:glib-or-gtk? #t))
6567 ("gdk-pixbuf" ,gdk-pixbuf)
6569 ("libsane" ,sane-backends)))
6571 `(("gettext" ,gettext-minimal)
6572 ("itstool" ,itstool)
6573 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6574 ("pkg-config" ,pkg-config)
6576 ("xmllint" ,libxml2)))
6577 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6578 (synopsis "Document and image scanner")
6580 "Document Scanner is an easy-to-use application that lets you connect your
6581 scanner and quickly capture images and documents in an appropriate format. It
6582 supports any scanner for which a suitable SANE driver is available, which is
6583 almost all of them.")
6584 (license license:gpl3+)))
6586 (define-public eolie
6592 (uri (string-append "https://adishatz.org/eolie/eolie-"
6596 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6597 (build-system meson-build-system)
6601 (modify-phases %standard-phases
6602 (add-after 'unpack 'skip-gtk-update-icon-cache
6603 ;; Don't create 'icon-theme.cache'.
6605 (substitute* "meson_post_install.py"
6606 (("gtk-update-icon-cache") "true"))
6608 (add-after 'wrap 'wrap-more
6609 (lambda* (#:key inputs outputs #:allow-other-keys)
6610 (let* ((out (assoc-ref outputs "out"))
6611 ;; These libraries must be on LD_LIBRARY_PATH.
6612 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6613 "atk" "gtk+" "gsettings-desktop-schemas"
6614 "gobject-introspection"))
6617 (string-append (assoc-ref inputs lib) "/lib"))
6620 (wrap-program (string-append out "/bin/eolie")
6621 `("LD_LIBRARY_PATH" ":" prefix (,path))
6622 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6623 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6626 `(("intltool" ,intltool)
6627 ("itstool" ,itstool)
6628 ("pkg-config" ,pkg-config)
6630 ("glib:bin" ,glib "bin")))
6632 `(("gobject-introspection" ,gobject-introspection)
6633 ("glib-networking" ,glib-networking)
6636 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6637 ("python" ,python-wrapper)
6638 ("python-dateutil" ,python-dateutil)
6639 ("python-pyfxa" ,python-pyfxa)
6640 ("python-pygobject" ,python-pygobject)
6641 ("python-pycairo" ,python-pycairo)
6642 ("python-pycrypto" ,python-pycrypto)
6643 ("libsecret" ,libsecret)
6644 ("gtkspell3" ,gtkspell3)
6645 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6646 ("webkitgtk" ,webkitgtk)))
6647 (home-page "https://wiki.gnome.org/Apps/Eolie")
6648 (synopsis "Web browser for GNOME")
6650 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6651 a secret password store, an adblocker, and a modern UI.")
6652 (license license:gpl3+)))
6654 (define-public epiphany
6660 (uri (string-append "mirror://gnome/sources/epiphany/"
6661 (version-major+minor version) "/"
6662 "epiphany-" version ".tar.xz"))
6665 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6667 (build-system meson-build-system)
6671 (modify-phases %standard-phases
6672 (add-after 'unpack 'skip-gtk-update-icon-cache
6673 ;; Don't create 'icon-theme.cache'.
6675 (substitute* "post_install.py"
6676 (("gtk-update-icon-cache") "true"))
6678 (add-after 'unpack 'disable-failing-tests
6680 (substitute* "tests/meson.build"
6681 ;; embed_shell fails, because webkitgtk apparently no longer supports
6682 ;; overriding the ftp schema
6683 ;; web_app_utils fails due to missing network access
6684 (("(embed_shell|web_app_utils)_test,")
6685 "find_program('sh'), args: ['-c', 'exit 77'],"))
6687 (add-before 'check 'pre-check
6689 ;; Tests require a running X server.
6690 (system "Xvfb :1 &")
6691 (setenv "DISPLAY" ":1")
6694 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6695 (list (string-append "-Dc_link_args=-Wl,-rpath="
6696 (assoc-ref %outputs "out") "/lib/epiphany"))))
6698 `(("dconf" ,dconf)))
6700 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6701 ("glib:bin" ,glib "bin") ; for glib-mkenums
6702 ("intltool" ,intltool)
6703 ("itstool" ,itstool)
6704 ("pkg-config" ,pkg-config)
6705 ("xmllint" ,libxml2)
6706 ("xorg-server" ,xorg-server-for-tests)))
6710 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6711 ("glib-networking" ,glib-networking)
6712 ("gnome-desktop" ,gnome-desktop)
6713 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6714 ("json-glib" ,json-glib)
6715 ("iso-codes" ,iso-codes)
6716 ("libdazzle" ,libdazzle)
6717 ("libnotify" ,libnotify)
6718 ("libsecret" ,libsecret)
6719 ("libxslt" ,libxslt)
6720 ("nettle" ,nettle) ; for hogweed
6722 ("webkitgtk" ,webkitgtk)))
6723 (home-page "https://wiki.gnome.org/Apps/Web")
6724 (synopsis "GNOME web browser")
6726 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6727 principles are simplicity and standards compliance.")
6728 (license license:gpl2+)))
6730 (define-public d-feet
6736 (uri (string-append "mirror://gnome/sources/" name "/"
6737 (version-major+minor version) "/"
6738 name "-" version ".tar.xz"))
6741 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6742 (build-system glib-or-gtk-build-system)
6744 '(#:out-of-source? #f ; tests need to run in the source directory.
6746 (modify-phases %standard-phases
6750 ;; The test suite requires a running X server.
6751 (system "Xvfb :1 &")
6752 (setenv "DISPLAY" ":1")
6753 ;; Don't fail on missing '/etc/machine-id'.
6754 (setenv "DBUS_FATAL_WARNINGS" "0")
6755 ;; tests.py and window.py don't meet E402:
6756 ;; E402 module level import not at top of file
6757 (substitute* "src/tests/Makefile"
6758 (("--ignore=E123") "--ignore=E123,E402"))
6761 'install 'wrap-program
6762 (lambda* (#:key outputs #:allow-other-keys)
6763 (let ((prog (string-append (assoc-ref outputs "out")
6766 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6767 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6770 `(("intltool" ,intltool)
6771 ("itstool" ,itstool)
6772 ("pkg-config" ,pkg-config)
6773 ("python-pep8" ,python-pep8)
6774 ("xmllint" ,libxml2)
6775 ("xorg-server" ,xorg-server-for-tests)))
6777 `(("gobject-introspection" ,gobject-introspection)
6779 ("python" ,python-wrapper)
6780 ("hicolor-icon-theme" ,hicolor-icon-theme)
6781 ("python-pygobject" ,python-pygobject)))
6782 (home-page "https://wiki.gnome.org/Apps/DFeet")
6783 (synopsis "D-Bus debugger")
6785 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6786 of running programs and invoke methods on those interfaces.")
6787 (license license:gpl2+)))
6789 (define-public yelp-xsl
6797 (string-append "mirror://gnome/sources/" name "/"
6798 (version-major+minor version) "/"
6799 name "-" version ".tar.xz"))
6801 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6802 (build-system gnu-build-system)
6804 `(("gettext-minimal" ,gettext-minimal)
6805 ("itstool" ,itstool)
6806 ("xmllint" ,libxml2)))
6807 (synopsis "XSL stylesheets for Yelp")
6808 (description "Yelp-XSL is a collection of programs and data files to help
6809 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6810 that can be built upon for help viewers and publishing systems. These
6811 stylesheets output JavaScript and CSS content, and reference images
6812 provided by yelp-xsl. It also redistributes copies of the jQuery and
6813 jQuery.Syntax JavaScript libraries.")
6814 (home-page "https://wiki.gnome.org/Apps/Yelp")
6830 (uri (string-append "mirror://gnome/sources/" name "/"
6831 (version-major+minor version) "/"
6832 name "-" version ".tar.xz"))
6835 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6836 (build-system glib-or-gtk-build-system)
6838 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6839 ("intltool" ,intltool)
6840 ("itstool" ,itstool)
6841 ("pkg-config" ,pkg-config)))
6843 `(("dconf" ,dconf)))
6845 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6846 ("libxslt" ,libxslt)
6848 ("webkitgtk" ,webkitgtk)
6849 ("yelp-xsl" ,yelp-xsl)))
6850 (home-page "https://wiki.gnome.org/Apps/Yelp")
6851 (synopsis "GNOME help browser")
6853 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6854 man, info, and HTML documents. It can locate documents according to the
6855 freedesktop.org help system specification.")
6856 (license license:gpl2+)))
6858 (define-public yelp-tools
6866 (string-append "mirror://gnome/sources/" name "/"
6867 (version-major+minor version) "/"
6868 name "-" version ".tar.xz"))
6870 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6871 (build-system gnu-build-system)
6873 `(("pkg-config" ,pkg-config)))
6875 `(("yelp-xsl" ,yelp-xsl)))
6877 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6878 `(("itstool" ,itstool)
6879 ("xmllint" ,libxml2)
6880 ("xsltproc" ,libxslt)))
6881 (synopsis "Yelp documentation tools")
6883 "Yelp-tools is a collection of scripts and build utilities to help create,
6884 manage, and publish documentation for Yelp and the web. Most of the heavy
6885 lifting is done by packages like yelp-xsl and itstool. This package just
6886 wraps things up in a developer-friendly way.")
6887 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6888 (license license:gpl2+)))
6890 (define-public libgee
6896 (uri (string-append "mirror://gnome/sources/libgee/"
6897 (version-major+minor version) "/"
6898 "libgee-" version ".tar.xz"))
6901 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6902 (build-system gnu-build-system)
6905 (modify-phases %standard-phases
6906 (add-after 'unpack 'fix-introspection-install-dir
6907 (lambda* (#:key outputs #:allow-other-keys)
6908 (let ((out (assoc-ref outputs "out")))
6909 (substitute* "gee/Makefile.in"
6910 (("@INTROSPECTION_GIRDIR@")
6911 (string-append out "/share/gir-1.0/"))
6912 (("@INTROSPECTION_TYPELIBDIR@")
6913 (string-append out "/lib/girepository-1.0/")))))))))
6915 `(("glib" ,glib "bin")
6916 ("pkg-config" ,pkg-config)))
6919 ("gobject-introspection" ,gobject-introspection)))
6920 (home-page "https://wiki.gnome.org/Projects/Libgee")
6921 (synopsis "GObject collection library")
6923 "Libgee is a utility library providing GObject-based interfaces and
6924 classes for commonly used data structures.")
6925 (license license:lgpl2.1+)))
6927 (define-public gexiv2
6933 (uri (string-append "mirror://gnome/sources/" name "/"
6934 (version-major+minor version) "/"
6935 name "-" version ".tar.xz"))
6938 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
6939 (build-system meson-build-system)
6942 ("glib" ,glib "bin")
6943 ("pkg-config" ,pkg-config)
6946 ;; Listed in "Requires" section of gexiv2.pc
6947 `(("exiv2" ,exiv2)))
6950 ("gobject-introspection" ,gobject-introspection)))
6951 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6952 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6954 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6955 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6956 metadata in photo and video files of various formats.")
6957 (license license:gpl2+)))
6959 (define-public shotwell
6965 (uri (string-append "mirror://gnome/sources/shotwell/"
6966 (version-major+minor version) "/"
6967 "shotwell-" version ".tar.xz"))
6970 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
6971 (build-system meson-build-system)
6975 (modify-phases %standard-phases
6976 (add-after 'unpack 'skip-gtk-update-icon-cache
6978 (substitute* "build-aux/meson/postinstall.py"
6979 (("gtk-update-icon-cache") (which "true"))
6980 (("update-desktop-database") (which "true")))
6983 `(("dconf" ,dconf)))
6985 `(("gettext" ,gettext-minimal)
6986 ("glib:bin" ,glib "bin")
6987 ("itstool" ,itstool)
6988 ("pkg-config" ,pkg-config)
6993 ("gst-plugins-base" ,gst-plugins-base)
6994 ("gstreamer" ,gstreamer)
6995 ("json-glib" ,json-glib)
6996 ("libgdata" ,libgdata)
6998 ("libgphoto2" ,libgphoto2)
6999 ("libgudev" ,libgudev)
7001 ("libsoup" ,libsoup)
7002 ("libxml2" ,libxml2)
7004 ("webkitgtk" ,webkitgtk)))
7005 (home-page "https://wiki.gnome.org/Apps/Shotwell")
7006 (synopsis "Photo manager for GNOME 3")
7008 "Shotwell is a digital photo manager designed for the GNOME desktop
7009 environment. It allows you to import photos from disk or camera, organize
7010 them by keywords and events, view them in full-window or fullscreen mode, and
7011 share them with others via social networking and more.")
7012 (license license:lgpl2.1+)))
7014 (define-public file-roller
7016 (name "file-roller")
7020 (uri (string-append "mirror://gnome/sources/file-roller/"
7021 (version-major+minor version) "/"
7022 "file-roller-" version ".tar.xz"))
7025 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
7026 (build-system meson-build-system)
7028 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7029 ("intltool" ,intltool)
7030 ("itstool" ,itstool)
7031 ("pkg-config" ,pkg-config)
7032 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
7033 ("glib:bin" ,glib "bin")))
7034 ;; TODO: Add libnautilus.
7037 ("gdk-pixbuf" ,gdk-pixbuf)
7038 ("json-glib" ,json-glib)
7039 ("libarchive" ,libarchive)
7040 ("libnotify" ,libnotify)
7042 ("libxml2" ,libxml2)))
7043 (synopsis "Graphical archive manager for GNOME")
7044 (description "File Roller is an archive manager for the GNOME desktop
7045 environment that allows users to view, unpack, and create compressed archives
7046 such as gzip tarballs.")
7047 (home-page "http://fileroller.sourceforge.net/")
7048 (license license:gpl2+)))
7050 (define-public gnome-session
7052 (name "gnome-session")
7056 (uri (string-append "mirror://gnome/sources/" name "/"
7057 (version-major+minor version) "/"
7058 name "-" version ".tar.xz"))
7061 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
7065 (modify-phases %standard-phases
7066 (add-before 'configure 'pre-configure
7067 (lambda* (#:key outputs #:allow-other-keys)
7068 ;; Use elogind instead of systemd.
7069 (substitute* "meson.build"
7070 (("libsystemd-login") "libelogind")
7071 (("and libsystemd_daemon_dep.found.*") ","))
7072 (substitute* "gnome-session/gsm-systemd.c"
7073 (("#include <systemd/sd-login.h>")
7074 "#include <elogind/sd-login.h>"))
7075 ;; Remove uses of the systemd daemon.
7076 (substitute* "gnome-session/gsm-autostart-app.c"
7077 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7079 (add-after 'install 'wrap-gnome-session
7080 (lambda* (#:key inputs outputs #:allow-other-keys)
7081 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7082 (let ((glib (assoc-ref inputs "glib:bin"))
7083 (out (assoc-ref outputs "out")))
7084 (wrap-program (string-append out "/bin/gnome-session")
7085 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7089 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7090 "-Dman=false" ; FIXME: disabled because of docbook validation error
7091 "-Dsystemd_journal=false")))
7092 (build-system meson-build-system)
7094 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7095 ("pkg-config" ,pkg-config)
7096 ("intltool" ,intltool)
7097 ("xsltproc" ,libxslt)
7098 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7099 ("docbook-xsl" ,docbook-xsl)
7100 ("docbook-xml" ,docbook-xml)
7103 `(("elogind" ,elogind)
7104 ("gnome-desktop" ,gnome-desktop)
7105 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7107 ("json-glib" ,json-glib)
7109 ("libxcomposite" ,libxcomposite)
7110 ("libxtst" ,libxtst)
7113 ("xtrans" ,xtrans)))
7114 (synopsis "Session manager for GNOME")
7116 "This package contains the GNOME session manager, as well as a
7117 configuration program to choose applications starting on login.")
7118 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7119 (license license:gpl2+)))
7127 (uri (string-append "mirror://gnome/sources/" name "/"
7128 (version-major+minor version) "/"
7129 name "-" version ".tar.xz"))
7132 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7133 (build-system gnu-build-system)
7136 (modify-phases %standard-phases
7140 ;; The test suite requires a running X server.
7141 (system "Xvfb :1 &")
7142 (setenv "DISPLAY" ":1")
7144 ;; For the missing /etc/machine-id.
7145 (setenv "DBUS_FATAL_WARNINGS" "0")
7147 ;; Our mozjs-38 package does not compile the required Intl API
7148 ;; support for these failing tests.
7149 (substitute* "installed-tests/js/testLocale.js"
7150 ((".*toBeDefined.*") "")
7151 ((".*expect\\(datestr\\).*") ""))
7152 (substitute* "installed-tests/scripts/testCommandLine.sh"
7157 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7158 ("pkg-config" ,pkg-config)
7159 ("xmllint" ,libxml2)
7161 ("dbus-launch" ,dbus)
7162 ("dconf" ,dconf) ; required to properly store settings
7163 ("uuidgen" ,util-linux)
7164 ("xvfb" ,xorg-server-for-tests)))
7166 ;; These are all in the Requires.private field of gjs-1.0.pc.
7168 ("gobject-introspection" ,gobject-introspection)
7169 ("mozjs" ,mozjs-60)))
7172 ("readline" ,readline)))
7173 (synopsis "Javascript bindings for GNOME")
7174 (home-page "https://live.gnome.org/Gjs")
7176 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7177 javascript engine and the GObject introspection framework.")
7178 (license license:gpl2+)))
7180 (define-public gedit
7186 (uri (string-append "mirror://gnome/sources/" name "/"
7187 (version-major+minor version) "/"
7188 name "-" version ".tar.xz"))
7191 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7192 (build-system meson-build-system)
7196 ;; Otherwise, the RUNPATH will lack the final path component.
7197 (list (string-append "-Dc_link_args=-Wl,-rpath="
7198 (assoc-ref %outputs "out") "/lib/gedit"))
7200 ;; XXX: Generated .h files are sometimes used before being built.
7201 #:parallel-build? #f
7204 (modify-phases %standard-phases
7205 (add-after 'unpack 'skip-gtk-update-icon-cache
7206 ;; Don't create 'icon-theme.cache'.
7208 (substitute* "build-aux/meson/post_install.py"
7209 (("gtk-update-icon-cache") (which "true")))
7211 (add-after 'unpack 'patch-libgd-fetch
7212 (lambda* (#:key inputs #:allow-other-keys)
7213 (let ((libgd (assoc-ref inputs "libgd")))
7214 ;; Calling git is unnecessary because libgd is fetched as a
7215 ;; native input to this package.
7216 (substitute* "meson.build"
7218 (copy-recursively libgd "subprojects/libgd")
7220 (add-after 'install 'wrap-gedit
7221 (lambda* (#:key inputs outputs #:allow-other-keys)
7222 (let ((out (assoc-ref outputs "out"))
7223 (gtksourceview (assoc-ref inputs "gtksourceview"))
7224 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7225 (python-path (getenv "PYTHONPATH")))
7226 (wrap-program (string-append out "/bin/gedit")
7228 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7229 `("PYTHONPATH" ":" prefix (,python-path))
7230 ;; For language-specs.
7231 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7235 `(("dconf" ,dconf)))
7237 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7238 ("intltool" ,intltool)
7239 ("itstool" ,itstool)
7240 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7241 ("gobject-introspection" ,gobject-introspection)
7246 (url "https://gitlab.gnome.org/GNOME/libgd")
7247 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7248 (file-name (git-file-name "libgd" version))
7250 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7251 ("pkg-config" ,pkg-config)))
7256 ("gtksourceview" ,gtksourceview)
7257 ("libpeas" ,libpeas)
7258 ("libxml2" ,libxml2)
7259 ("iso-codes" ,iso-codes)
7260 ("python-pygobject" ,python-pygobject)
7262 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7265 ("adwaita-icon-theme" ,adwaita-icon-theme)
7266 ("libsoup" ,libsoup)
7267 ("gnome-desktop" ,gnome-desktop)))
7268 (home-page "https://wiki.gnome.org/Apps/Gedit")
7269 (synopsis "GNOME text editor")
7270 (description "While aiming at simplicity and ease of use, gedit is a
7271 powerful general purpose text editor.")
7272 (license license:gpl2+)))
7274 (define-public zenity
7280 (uri (string-append "mirror://gnome/sources/zenity/"
7281 (version-major+minor version) "/"
7282 "zenity-" version ".tar.xz"))
7285 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7286 (build-system gnu-build-system)
7288 `(("gettext" ,gettext-minimal)
7289 ("itstool" ,itstool)
7290 ("pkg-config" ,pkg-config)))
7292 `(("libnotify" ,libnotify)
7293 ("webkitgtk" ,webkitgtk)))
7294 (synopsis "Display graphical dialog boxes from shell scripts")
7295 (home-page "https://www.gnome.org")
7297 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7298 to display dialog boxes from the commandline and shell scripts.")
7299 (license license:lgpl2.0+)))
7301 (define-public mutter
7307 (uri (string-append "mirror://gnome/sources/" name "/"
7308 (version-major+minor version) "/"
7309 name "-" version ".tar.xz"))
7312 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7313 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7314 ;; versions of cogl and clutter. As a result, many of the inputs,
7315 ;; propagated-inputs, and configure flags used in cogl and clutter are
7316 ;; needed here as well.
7317 (build-system meson-build-system)
7319 '(;; XXX: All mutter tests fail with the following error:
7320 ;; Settings schema 'org.gnome.mutter' is not installed
7324 ;; TODO: Enable profiler when Sysprof is packaged.
7325 (list "-Dprofiler=false"
7326 ;; Otherwise, the RUNPATH will lack the final path component.
7327 (string-append "-Dc_link_args=-Wl,-rpath="
7328 (assoc-ref %outputs "out") "/lib:"
7329 (assoc-ref %outputs "out") "/lib/mutter-5")
7331 ;; The following flags are needed for the bundled clutter
7332 (string-append "-Dxwayland_path="
7333 (assoc-ref %build-inputs "xorg-server-xwayland")
7336 ;; the remaining flags are needed for the bundled cogl
7337 (string-append "-Dopengl_libname="
7338 (assoc-ref %build-inputs "mesa")
7340 #:phases (modify-phases %standard-phases
7341 (add-after 'unpack 'fix-build-with-mesa-20
7343 ;; Mimic upstream commit a444a4c5f58ea516ad for
7344 ;; compatibility with Mesa 20. Remove for 3.36.
7345 (substitute* '("src/backends/meta-egl-ext.h"
7346 "src/backends/meta-egl.c"
7347 "src/backends/meta-egl.h")
7348 (("#include <EGL/eglext\\.h>" all)
7349 (string-append all "\n#include <EGL/eglmesaext.h>")))
7350 (substitute* "cogl/cogl/meson.build"
7351 (("#include <EGL/eglext\\.h>" all)
7352 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7355 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7356 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7357 ("gobject-introspection" ,gobject-introspection)
7358 ("intltool" ,intltool)
7359 ("pkg-config" ,pkg-config)
7360 ("xorg-server" ,xorg-server-for-tests)
7362 ("autoconf" ,autoconf)
7363 ("automake" ,automake)
7364 ("libtool" ,libtool)))
7366 `(;; libmutter.pc refers to these:
7367 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7369 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7372 ("gdk-pixbuf" ,gdk-pixbuf)
7374 ("json-glib" ,json-glib)
7375 ("libinput" ,libinput)
7377 ("libxcomposite" ,libxcomposite)
7378 ("libxdamage" ,libxdamage)
7379 ("libxext" ,libxext)
7380 ("libxfixes" ,libxfixes)
7381 ("libxkbcommon" ,libxkbcommon)
7382 ("libxrandr" ,libxrandr)
7386 ("xinput" ,xinput)))
7388 `(("elogind" ,elogind)
7389 ("gnome-desktop" ,gnome-desktop)
7390 ("gnome-settings-daemon" ,gnome-settings-daemon)
7391 ("libcanberra-gtk" ,libcanberra)
7392 ("libgudev" ,libgudev)
7395 ("libwacom" ,libwacom)
7396 ("libxkbfile" ,libxkbfile)
7397 ("libxrandr" ,libxrandr)
7398 ("libxtst" ,libxtst)
7399 ("pipewire" ,pipewire)
7400 ("startup-notification" ,startup-notification)
7401 ("upower-glib" ,upower)
7402 ("xkeyboard-config" ,xkeyboard-config)
7403 ("xorg-server-xwayland" ,xorg-server-xwayland)
7404 ("zenity" ,zenity)))
7405 (synopsis "Window and compositing manager")
7406 (home-page "https://www.gnome.org")
7408 "Mutter is a window and compositing manager that displays and manages your
7409 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7410 Clutter toolkit with solid window-management logic inherited from the Metacity
7412 (license license:gpl2+)))
7414 (define-public gnome-online-accounts
7416 (name "gnome-online-accounts")
7420 (uri (string-append "mirror://gnome/sources/" name "/"
7421 (version-major+minor version) "/"
7422 name "-" version ".tar.xz"))
7425 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7426 (outputs '("out" "lib"))
7427 (build-system glib-or-gtk-build-system)
7430 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7432 (modify-phases %standard-phases
7433 (add-before 'configure 'patch-libgoa-output
7434 (lambda* (#:key outputs #:allow-other-keys)
7435 (let ((lib (assoc-ref outputs "lib")))
7436 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7438 (("@exec_prefix@") lib)
7439 (("@libdir@") (string-append lib "/lib"))
7440 (("@includedir@") (string-append lib "/include"))
7441 (("@datadir@") (string-append lib "/share")))
7442 ;; Make sure gobject-introspection knows about the output
7443 ;; too (see <https://bugs.gnu.org/36535>).
7444 (setenv "outputs" "out lib")
7447 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7448 ("gobject-introspection" ,gobject-introspection)
7449 ("intltool" ,intltool)
7450 ("pkg-config" ,pkg-config)
7452 ("xsltproc" ,libxslt)))
7454 `(("glib" ,glib) ; required by goa-1.0.pc
7455 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7457 `(("docbook-xsl" ,docbook-xsl)
7458 ("json-glib" ,json-glib)
7459 ("libsecret" ,libsecret)
7461 ("webkitgtk" ,webkitgtk)))
7462 (synopsis "Single sign-on framework for GNOME")
7463 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7465 "GNOME Online Accounts provides interfaces so that applications and
7466 libraries in GNOME can access the user's online accounts. It has providers for
7467 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7468 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7469 (license license:lgpl2.0+)))
7471 (define-public evolution-data-server
7473 (name "evolution-data-server")
7477 (uri (string-append "mirror://gnome/sources/" name "/"
7478 (version-major+minor version) "/"
7479 name "-" version ".tar.xz"))
7480 (patches (search-patches "evolution-data-server-locales.patch"
7481 "evolution-data-server-libical-compat.patch"))
7484 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7485 (build-system cmake-build-system)
7488 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7489 (runpaths (map (lambda (s)
7490 (string-append lib "/evolution-data-server/" s))
7491 '("addressbook-backends" "calendar-backends"
7492 "camel-providers" "credential-modules"
7493 "registry-modules"))))
7494 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7495 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7496 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7497 "-DENABLE_VALA_BINDINGS=ON"
7498 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7499 (string-append lib "/evolution-data-server;")
7500 (string-join runpaths ";"))
7501 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7503 (modify-phases %standard-phases
7504 (add-after 'unpack 'disable-failing-tests
7506 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7507 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7508 (delete-file-recursively "tests/book-migration")
7509 (substitute* "tests/CMakeLists.txt"
7510 (("add_subdirectory\\(book-migration\\)") ""))
7512 (add-after 'unpack 'patch-paths
7514 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7515 "tests/libedata-book/data-test-utils.c"
7516 "tests/libedata-book/test-book-cache-utils.c"
7517 "tests/libedata-cal/test-cal-cache-utils.c")
7518 (("/bin/rm") (which "rm")))
7520 (add-before 'configure 'dont-override-rpath
7522 (substitute* "CMakeLists.txt"
7523 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7524 ;; Remove it so the configure flag is respected.
7525 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7528 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7529 ("gobject-introspection" ,gobject-introspection)
7531 ("intltool" ,intltool)
7532 ("pkg-config" ,pkg-config)
7534 ("python" ,python-wrapper)))
7536 ;; These are all in the Requires field of .pc files.
7538 ("libical" ,libical)
7539 ("libsecret" ,libsecret)
7540 ("libsoup" ,libsoup)
7542 ("sqlite" ,sqlite)))
7546 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7547 ("json-glib" ,json-glib)
7548 ("libcanberra" ,libcanberra)
7549 ("libgweather" ,libgweather)
7550 ("mit-krb5" ,mit-krb5)
7551 ("openldap" ,openldap)
7552 ("webkitgtk" ,webkitgtk)))
7553 (synopsis "Store address books and calendars")
7554 (home-page "https://wiki.gnome.org/Apps/Evolution")
7556 "This package provides a unified backend for programs that work with
7557 contacts, tasks, and calendar information. It was originally developed for
7558 Evolution (hence the name), but is now used by other packages as well.")
7559 (license license:lgpl2.0)))
7561 (define-public caribou
7567 (uri (string-append "mirror://gnome/sources/" name "/"
7568 (version-major+minor version) "/"
7569 name "-" version ".tar.xz"))
7572 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7573 (build-system glib-or-gtk-build-system)
7576 (modify-phases %standard-phases
7579 (lambda* (#:key outputs #:allow-other-keys)
7580 (let ((out (assoc-ref outputs "out")))
7581 ;; Use absolute shared library path in Caribou-1.0.typelib.
7582 (substitute* "libcaribou/Makefile"
7583 (("--shared-library=libcaribou.so")
7584 (string-append "--shared-library="
7585 out "/lib/libcaribou.so")))
7587 (add-after 'install 'wrap-programs
7588 (lambda* (#:key outputs #:allow-other-keys)
7589 (let* ((out (assoc-ref outputs "out"))
7590 (python-path (getenv "PYTHONPATH"))
7591 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7595 `("PYTHONPATH" ":" prefix (,python-path))
7596 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7597 (list (string-append out "/bin/caribou-preferences")
7598 (string-append out "/libexec/antler-keyboard"))))
7601 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7602 ("gobject-introspection" ,gobject-introspection)
7603 ("intltool" ,intltool)
7604 ("pkg-config" ,pkg-config)
7607 ("xsltproc" ,libxslt)))
7609 ;; caribou-1.0.pc refers to all these.
7610 `(("libgee" ,libgee)
7611 ("libxklavier" ,libxklavier)
7612 ("libxtst" ,libxtst)
7615 `(("clutter" ,clutter)
7618 ("python-pygobject" ,python-pygobject)))
7619 (synopsis "Text entry and UI navigation application")
7620 (home-page "https://wiki.gnome.org/Projects/Caribou")
7622 "Caribou is an input assistive technology intended for switch and pointer
7624 (license license:lgpl2.1)))
7626 (define-public network-manager
7628 (name "network-manager")
7632 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7633 (version-major+minor version) "/"
7634 "NetworkManager-" version ".tar.xz"))
7635 (patches (search-patches "network-manager-plugin-path.patch"))
7638 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7639 (modules '((guix build utils)))
7642 (substitute* "src/devices/wwan/nm-modem-manager.c"
7643 (("systemd") "elogind"))
7645 (build-system meson-build-system)
7647 "doc")) ; 8 MiB of gtk-doc HTML
7650 (let ((out (assoc-ref %outputs "out"))
7651 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7654 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7656 (string-append "-Dc_link_args=-Wl,-rpath="
7658 out "/lib/NetworkManager/" ,version)
7659 "-Dsystemd_journal=false"
7660 "-Dsession_tracking=elogind"
7661 "-Dsuspend_resume=elogind"
7662 "-Dsystemdsystemunitdir=no"
7663 "-Dsession_tracking_consolekit=false"
7672 "--localstatedir=/var"
7673 (string-append "-Dudev_dir="
7675 (string-append "-Ddbus_conf_dir="
7676 out "/etc/dbus-1/system.d")
7678 (string-append "-Ddhclient=" dhclient)))
7680 (modify-phases %standard-phases
7681 (add-before 'configure 'pre-configure
7683 ;; These tests try to test aspects of network-manager's
7684 ;; functionality within restricted containers, but they don't
7685 ;; cope with being already in the Guix build jail as that jail
7686 ;; lacks some features that they would like to proxy over (like
7688 (substitute* "src/platform/tests/meson.build"
7689 ((".*test-address-linux.*") "")
7690 ((".*test-cleanup-linux.*") "")
7691 ((".*test-link-linux.*") "")
7692 ((".*test-route-linux.*") ""))
7693 (substitute* "src/devices/tests/meson.build"
7694 ((".*test-acd.*") "")
7695 ((".*test-lldp.*") ""))
7697 (add-after 'unpack 'patch-docbook-xml
7698 (lambda* (#:key inputs #:allow-other-keys)
7699 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7700 "/xml/dtd/docbook")))
7701 (substitute* (find-files "." ".*\\.(xsl|xml)")
7702 (("http://.*/docbookx\\.dtd")
7703 (string-append xmldoc "/docbookx.dtd")))
7705 (add-before 'check 'pre-check
7707 ;; For the missing /etc/machine-id.
7708 (setenv "DBUS_FATAL_WARNINGS" "0")
7710 (add-before 'install 'no-polkit-magic
7711 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7713 (setenv "PKEXEC_UID" "something")
7715 (add-after 'install 'move-doc
7716 (lambda* (#:key outputs #:allow-other-keys)
7717 (let ((out (assoc-ref outputs "out"))
7718 (doc (assoc-ref outputs "doc")))
7719 (mkdir-p (string-append doc "/share"))
7720 (for-each (lambda (directory)
7721 (copy-recursively (string-append out directory)
7722 (string-append doc directory))
7723 (delete-file-recursively
7724 (string-append out directory)))
7725 '("/share/doc" "/share/gtk-doc"))
7730 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7731 ("gtk-doc" ,gtk-doc)
7732 ("gobject-introspection" ,gobject-introspection)
7733 ("docbook-xml" ,docbook-xml)
7734 ("docbook-xsl" ,docbook-xsl)
7735 ("intltool" ,intltool)
7736 ("libxslt" ,libxslt)
7737 ("libxml2" ,libxml2)
7738 ("pkg-config" ,pkg-config)
7741 ("python" ,python-wrapper)
7742 ("python-dbus" ,python-dbus)
7743 ("python-pygobject" ,python-pygobject)))
7746 ("cyrus-sasl" ,cyrus-sasl)
7747 ("dbus-glib" ,dbus-glib)
7748 ("dnsmasq" ,dnsmasq)
7751 ("iptables" ,iptables)
7752 ("isc-dhcp" ,isc-dhcp)
7753 ("iwd" ,iwd) ; wpa_supplicant alternative
7754 ("jansson" ,jansson)
7756 ("libgcrypt" ,libgcrypt)
7757 ("libgudev" ,libgudev)
7760 ("libsoup" ,libsoup)
7761 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7762 ("modem-manager" ,modem-manager)
7763 ("newt" ,newt) ;for the 'nmtui' console interface
7764 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7767 ("readline" ,readline)
7768 ("util-linux" ,util-linux)
7769 ("elogind" ,elogind)))
7770 (synopsis "Network connection manager")
7771 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7773 "NetworkManager is a system network service that manages your network
7774 devices and connections, attempting to keep active network connectivity when
7775 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7776 devices, and provides VPN integration with a variety of different VPN
7778 ;; “This NetworkManager project consists of the daemon, client tools, and
7779 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7781 (license (list license:gpl2+
7783 (properties '((upstream-name . "NetworkManager")))))
7785 (define-public network-manager-openvpn
7787 (name "network-manager-openvpn")
7792 "mirror://gnome/sources/NetworkManager-openvpn/"
7793 (version-major+minor version)
7794 "/NetworkManager-openvpn-" version ".tar.xz"))
7797 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7798 (build-system gnu-build-system)
7800 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7802 (modify-phases %standard-phases
7803 (add-after 'configure 'patch-path
7804 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7805 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7807 (modprobe (string-append (assoc-ref inputs "kmod")
7809 (pretty-ovpn (string-append "\"" ovpn "\"")))
7813 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7814 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7815 (("\"/sbin/openvpn\"") pretty-ovpn)
7816 (("/sbin/modprobe") modprobe)))
7817 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7820 `(("pkg-config" ,pkg-config)
7821 ("intltool" ,intltool)))
7825 ("openvpn" ,openvpn)
7826 ("network-manager" ,network-manager)
7828 ("libsecret" ,libsecret)))
7829 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7830 (synopsis "OpenVPN plug-in for NetworkManager")
7832 "This extension of NetworkManager allows it to take care of connections
7833 to virtual private networks (VPNs) via OpenVPN.")
7834 (license license:gpl2+)
7835 (properties `((upstream-name . "NetworkManager-openvpn")))))
7837 (define-public network-manager-vpnc
7839 (name "network-manager-vpnc")
7844 "mirror://gnome/sources/NetworkManager-vpnc/"
7845 (version-major+minor version)
7846 "/NetworkManager-vpnc-" version ".tar.xz"))
7849 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7850 (build-system gnu-build-system)
7852 `(#:configure-flags '("--enable-absolute-paths"
7853 "--localstatedir=/var"
7854 ;; libnm-glib has been removed from network-manager
7855 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7856 "--with-libnm-glib=no")
7858 (modify-phases %standard-phases
7859 (add-after 'configure 'patch-path
7860 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7861 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7863 (modprobe (string-append (assoc-ref inputs "kmod")
7865 (pretty-ovpn (string-append "\"" vpnc "\"")))
7866 (substitute* "src/nm-vpnc-service.c"
7867 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7868 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7869 (("\"/sbin/vpnc\"") pretty-ovpn)
7870 (("/sbin/modprobe") modprobe)))
7873 `(("pkg-config" ,pkg-config)
7874 ("intltool" ,intltool)))
7879 ("network-manager" ,network-manager)
7881 ("libsecret" ,libsecret)))
7882 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7883 (synopsis "VPNC plug-in for NetworkManager")
7885 "Support for configuring virtual private networks based on VPNC.
7886 Compatible with Cisco VPN concentrators configured to use IPsec.")
7887 (license license:gpl2+)
7888 (properties `((upstream-name . "NetworkManager-vpnc")))))
7890 (define-public network-manager-openconnect
7892 (name "network-manager-openconnect")
7897 "mirror://gnome/sources/NetworkManager-openconnect/"
7898 (version-major+minor version)
7899 "/NetworkManager-openconnect-" version ".tar.xz"))
7902 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7903 (build-system gnu-build-system)
7905 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7907 (modify-phases %standard-phases
7908 (add-after 'configure 'patch-path
7909 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7910 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7911 "/sbin/openconnect"))
7912 (modprobe (string-append (assoc-ref inputs "kmod")
7914 (pretty-ovpn (string-append "\"" openconnect "\"")))
7915 (substitute* "src/nm-openconnect-service.c"
7916 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7917 (("/sbin/modprobe") modprobe)))
7920 `(("intltool" ,intltool)
7922 ("pkg-config" ,pkg-config)))
7927 ("libsecret" ,libsecret)
7928 ("libxml2" ,libxml2)
7930 ("network-manager" ,network-manager)
7931 ("openconnect" ,openconnect)))
7932 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7933 (synopsis "OpenConnect plug-in for NetworkManager")
7935 "This extension of NetworkManager allows it to take care of connections
7936 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7937 Cisco's AnyConnect SSL VPN.")
7938 (license license:gpl2+)
7939 (properties `((upstream-name . "NetworkManager-openconnect")
7941 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7942 ;; file refers to account "nm-openconnect". Specify it here
7943 ;; so that 'network-manager-service-type' creates it.
7944 (user-accounts . ("nm-openconnect"))))))
7946 (define-public mobile-broadband-provider-info
7948 (name "mobile-broadband-provider-info")
7949 (version "20190116")
7953 "mirror://gnome/sources/"
7954 "mobile-broadband-provider-info/" version "/"
7955 "mobile-broadband-provider-info-" version ".tar.xz"))
7958 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7959 (build-system gnu-build-system)
7961 `(#:tests? #f)) ; no tests
7962 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7963 (synopsis "Database of broadband connection configuration")
7964 (description "Database of broadband connection configuration.")
7965 (license license:public-domain)))
7967 (define-public network-manager-applet
7969 (name "network-manager-applet")
7973 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7974 (version-major+minor version) "/"
7975 "network-manager-applet-" version ".tar.xz"))
7978 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
7979 (build-system meson-build-system)
7981 '(#:glib-or-gtk? #t))
7983 `(("intltool" ,intltool)
7984 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7985 ("gobject-introspection" ,gobject-introspection)
7986 ("gtk-doc" ,gtk-doc)
7987 ("pkg-config" ,pkg-config)))
7989 ;; libnm-gtk.pc refers to all these.
7990 `(("dbus-glib" ,dbus-glib)
7992 ("network-manager" ,network-manager)
7993 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7994 ("libnma" ,libnma)))
7997 ("libgudev" ,libgudev)
7998 ("libnotify" ,libnotify)
7999 ("libsecret" ,libsecret)
8000 ("libselinux" ,libselinux)
8001 ("jansson" ,jansson) ; for team support
8002 ("modem-manager" ,modem-manager)))
8003 (synopsis "Applet for managing network connections")
8004 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
8006 "This package contains a systray applet for NetworkManager. It displays
8007 the available networks and allows users to easily switch between them.")
8008 (license license:gpl2+)))
8010 (define-public libxml++
8016 (uri (string-append "mirror://gnome/sources/" name "/"
8017 (version-major+minor version) "/"
8018 name "-" version ".tar.xz"))
8021 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
8022 (build-system gnu-build-system)
8023 ;; libxml++-3.0.pc refers to all these.
8025 `(("libxml2" ,libxml2)
8026 ("glibmm" ,glibmm)))
8029 ("pkg-config" ,pkg-config)))
8030 (home-page "http://libxmlplusplus.sourceforge.net/")
8031 (synopsis "C++ wrapper for XML parser library libxml2")
8033 "This package provides a C++ wrapper for the XML parser library
8035 (license license:lgpl2.1+)))
8037 (define-public libxml++-2
8044 (uri (string-append "mirror://gnome/sources/" name "/"
8045 (version-major+minor version) "/"
8046 name "-" version ".tar.xz"))
8049 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
8057 (uri (string-append "mirror://gnome/sources/" name "/"
8058 (version-major+minor version) "/"
8059 name "-" version ".tar.xz"))
8062 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
8063 (patches (search-patches "gdm-default-session.patch"))))
8064 (build-system glib-or-gtk-build-system)
8067 `("--without-plymouth"
8068 "--disable-systemd-journal"
8070 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
8071 ;; instead of having to replace it (i.e., stopping the mingetty
8072 ;; service for TTY 1 before starting GDM).
8073 "--with-initial-vt=7"
8075 ;; Use '/etc/environment' for locale settings instead of the
8076 ;; systemd-specific '/etc/locale.conf'.
8077 "--with-lang-file=/etc/environment"
8079 ,(string-append "--with-udevdir="
8080 (assoc-ref %outputs "out") "/lib/udev")
8082 "--localstatedir=/var"
8083 ,(string-append "--with-default-path="
8084 (string-join '("/run/setuid-programs"
8085 "/run/current-system/profile/bin"
8086 "/run/current-system/profile/sbin")
8088 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8089 ;; XDG_DATA_DIRS so that it finds its schemas.
8090 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8092 (modify-phases %standard-phases
8094 'configure 'pre-configure
8095 (lambda* (#:key inputs outputs #:allow-other-keys)
8096 ;; We don't have <systemd/sd-daemon.h>.
8097 (substitute* '("common/gdm-log.c"
8098 "daemon/gdm-server.c"
8099 "daemon/gdm-session-worker.c"
8100 "daemon/gdm-session-worker-job.c")
8101 (("#include <systemd/sd-daemon\\.h>") ""))
8102 ;; Use elogind for sd-login.
8103 (substitute* '("common/gdm-common.c"
8104 "daemon/gdm-local-display-factory.c"
8105 "daemon/gdm-manager.c"
8106 "libgdm/gdm-user-switching.c")
8107 (("#include <systemd/sd-login\\.h>")
8108 "#include <elogind/sd-login.h>"))
8109 ;; Check for elogind.
8110 (substitute* '("configure")
8113 ;; Look for system-installed sessions in
8114 ;; /run/current-system/profile/share.
8115 (substitute* '("libgdm/gdm-sessions.c"
8116 "daemon/gdm-session.c"
8117 "daemon/gdm-display.c"
8118 "daemon/gdm-launch-environment.c")
8120 "\"/run/current-system/profile/share/x")
8121 (("DATADIR \"/wayland")
8122 "\"/run/current-system/profile/share/wayland")
8123 (("DATADIR \"/gnome")
8124 "\"/run/current-system/profile/share/gnome"))
8125 (let ((propagate '("GDM_CUSTOM_CONF"
8129 ;; XXX: Remove this once GNOME Shell is
8130 ;; a dependency of GDM.
8132 (substitute* "daemon/gdm-session.c"
8133 (("set_up_session_environment \\(self\\);")
8134 (apply string-append
8135 "set_up_session_environment (self);\n"
8138 "gdm_session_set_environment_variable "
8139 "(self, \"" name "\","
8140 "g_getenv (\"" name "\"));\n"))
8142 ;; Find the configuration file using an environment variable.
8143 (substitute* '("common/gdm-settings.c")
8144 (("GDM_CUSTOM_CONF")
8145 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8146 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8147 " : GDM_CUSTOM_CONF)")))
8148 ;; Use service-supplied path to X.
8149 (substitute* '("daemon/gdm-server.c")
8150 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8151 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8152 (substitute* '("daemon/gdm-wayland-session.c"
8153 "daemon/gdm-x-session.c")
8154 (("\"dbus-daemon\"")
8155 "g_getenv (\"GDM_DBUS_DAEMON\")")
8157 "g_getenv (\"GDM_X_SERVER\")")
8158 (("GDMCONFDIR \"/Xsession\"")
8159 "g_getenv (\"GDM_X_SESSION\")"))
8160 ;; Use an absolute path for GNOME Session.
8161 (substitute* "daemon/gdm-launch-environment.c"
8162 (("\"gnome-session\"")
8163 (string-append "\"" (assoc-ref inputs "gnome-session")
8164 "/bin/gnome-session\"")))
8165 ;; Do not automatically select the placeholder session.
8166 (substitute* "daemon/gdm-session.c"
8167 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8168 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8169 "(g_strcmp0(search_dirs[i], \""
8170 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8172 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8173 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8174 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8176 ;; GDM requires that there be at least one desktop entry
8177 ;; file. This phase installs a hidden one that simply
8178 ;; fails. This enables users to use GDM with a
8179 ;; '~/.xsession' script with no other desktop entry files.
8180 ;; See <https://bugs.gnu.org/35068>.
8181 (add-after 'install 'install-placeholder-desktop-entry
8182 (lambda* (#:key inputs outputs #:allow-other-keys)
8183 (let* ((out (assoc-ref outputs "out"))
8184 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8185 (fail (string-append sessions "/fail.desktop")))
8187 (with-output-to-file fail
8191 '("[Desktop Entry]\n"
8193 "Type=Application\n"
8195 "Comment=This session fails immediately.\n"
8199 ;; GDM needs GNOME Session to run these applications. We link
8200 ;; their autostart files in `share/gdm/greeter/autostart'
8201 ;; because GDM explicitly tells GNOME Session to look there.
8203 ;; XXX: GNOME Shell should be linked here too, but currently
8204 ;; GNOME Shell depends on GDM.
8205 (add-after 'install 'link-autostart-files
8206 (lambda* (#:key inputs outputs #:allow-other-keys)
8207 (let* ((out (assoc-ref outputs "out"))
8208 (autostart (string-append out "/share/gdm/"
8209 "greeter/autostart"))
8210 (settings (assoc-ref inputs "gnome-settings-daemon")))
8212 (with-directory-excursion autostart
8213 (for-each (lambda (desktop)
8214 (symlink desktop (basename desktop)))
8215 (find-files (string-append settings "/etc/xdg"))))
8219 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8220 ("gobject-introspection" ,gobject-introspection)
8221 ("intltool" ,intltool)
8222 ("itstool" ,itstool)
8223 ("pkg-config" ,pkg-config)
8224 ("xmllint" ,libxml2)))
8226 `(("accountsservice" ,accountsservice)
8227 ("check" ,check-0.14) ;for testing
8228 ("elogind" ,elogind)
8229 ("gnome-session" ,gnome-session)
8230 ("gnome-settings-daemon" ,gnome-settings-daemon)
8232 ("iso-codes" ,iso-codes)
8233 ("libcanberra" ,libcanberra)
8234 ("linux-pam" ,linux-pam)))
8235 (synopsis "Display manager for GNOME")
8236 (home-page "https://wiki.gnome.org/Projects/GDM/")
8238 "GNOME Display Manager is a system service that is responsible for
8239 providing graphical log-ins and managing local and remote displays.")
8240 (license license:gpl2+)))
8242 (define-public libgtop
8248 (uri (string-append "mirror://gnome/sources/libgtop/"
8249 (version-major+minor version) "/"
8250 "libgtop-" version ".tar.xz"))
8253 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8254 (build-system gnu-build-system)
8256 `(("gobject-introspection" ,gobject-introspection)
8257 ("intltool" ,intltool)
8259 ("pkg-config" ,pkg-config)))
8261 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8262 (synopsis "Portable system access library")
8263 (home-page "https://www.gnome.org/")
8265 "LibGTop is a library to get system specific data such as CPU and memory
8266 usage and information about running processes.")
8267 (license license:gpl2+)))
8269 (define-public gnome-bluetooth
8271 (name "gnome-bluetooth")
8275 (uri (string-append "mirror://gnome/sources/" name "/"
8276 (version-major+minor version) "/"
8277 name "-" version ".tar.xz"))
8280 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8281 (build-system meson-build-system)
8283 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8284 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8285 ("gobject-introspection" ,gobject-introspection)
8286 ("intltool" ,intltool)
8287 ("pkg-config" ,pkg-config)
8288 ("xmllint" ,libxml2)))
8290 ;; gnome-bluetooth-1.0.pc refers to all these.
8295 ("libcanberra" ,libcanberra)
8296 ("libnotify" ,libnotify)))
8297 (synopsis "GNOME Bluetooth subsystem")
8298 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8300 "This package contains tools for managing and manipulating Bluetooth
8301 devices using the GNOME desktop.")
8302 (license license:lgpl2.1+)))
8304 (define-public gnome-control-center
8306 (name "gnome-control-center")
8310 (uri (string-append "mirror://gnome/sources/" name "/"
8311 (version-major+minor version) "/"
8312 name "-" version ".tar.xz"))
8315 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8316 (build-system meson-build-system)
8320 (list "-Dcheese=false"
8321 (string-append "-Dgnome_session_libexecdir="
8322 (assoc-ref %build-inputs "gnome-session")
8325 (modify-phases %standard-phases
8326 (add-before 'configure 'patch-paths
8327 (lambda* (#:key inputs #:allow-other-keys)
8328 (let ((libc (assoc-ref inputs "libc"))
8329 (tzdata (assoc-ref inputs "tzdata"))
8330 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8331 (nm-applet (assoc-ref inputs "network-manager-applet"))
8332 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8333 (substitute* "panels/datetime/tz.h"
8334 (("/usr/share/zoneinfo/zone.tab")
8335 (string-append tzdata "/share/zoneinfo/zone.tab")))
8336 (substitute* "tests/datetime/test-endianess.c"
8337 (("/usr/share/locale")
8338 (string-append libc "/share/locale")))
8339 (substitute* "panels/region/cc-region-panel.c"
8340 (("\"gkbd-keyboard-display")
8341 (string-append "\"" libgnomekbd
8342 "/bin/gkbd-keyboard-display")))
8343 (substitute* '("panels/network/net-device-wifi.c"
8344 "panels/network/net-device.c"
8345 "panels/network/connection-editor/net-connection-editor.c")
8346 (("\"nm-connection-editor")
8347 (string-append "\"" nm-applet
8348 "/bin/nm-connection-editor")))
8349 (substitute* '("panels/user-accounts/run-passwd.c")
8350 (("/usr/bin/passwd")
8351 "/run/setuid-programs/passwd"))
8352 (substitute* "panels/info/cc-info-overview-panel.c"
8353 (("DATADIR \"/gnome/gnome-version.xml\"")
8354 (string-append "\"" gnome-desktop
8355 "/share/gnome/gnome-version.xml\"")))
8357 (add-after 'unpack 'skip-gtk-update-icon-cache
8358 ;; Don't create 'icon-theme.cache'.
8360 (substitute* "build-aux/meson/meson_post_install.py"
8361 (("gtk-update-icon-cache") (which "true")))
8364 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8365 ("intltool" ,intltool)
8366 ("pkg-config" ,pkg-config)
8367 ("xsltproc" ,libxslt)
8369 ("hicolor-icon-theme" ,hicolor-icon-theme)
8370 ("python-dbusmock" ,python-dbusmock)
8371 ("xorg-server" ,xorg-server-for-tests)))
8373 `(("accountsservice" ,accountsservice)
8374 ("clutter-gtk" ,clutter-gtk)
8375 ("colord-gtk" ,colord-gtk)
8378 ("docbook-xsl" ,docbook-xsl)
8379 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8380 ("gnome-bluetooth" ,gnome-bluetooth)
8381 ("gnome-desktop" ,gnome-desktop)
8382 ("gnome-online-accounts" ,gnome-online-accounts)
8383 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8384 ("gnome-session" ,gnome-session)
8385 ("gnome-settings-daemon" ,gnome-settings-daemon)
8389 ("libcanberra" ,libcanberra)
8390 ("libgnomekbd" ,libgnomekbd)
8391 ("libgudev" ,libgudev)
8392 ("libgtop" ,libgtop)
8394 ("libpwquality" ,libpwquality)
8395 ("libsecret" ,libsecret)
8396 ("libsoup" ,libsoup)
8397 ("libxml2" ,libxml2)
8398 ("libwacom" ,libwacom)
8400 ("mit-krb5" ,mit-krb5)
8401 ("modem-manager" ,modem-manager)
8402 ("network-manager-applet" ,network-manager-applet)
8404 ("pulseaudio" ,pulseaudio)
8405 ("smbclient" ,samba)
8408 ("upower" ,upower)))
8409 (synopsis "Utilities to configure the GNOME desktop")
8410 (home-page "https://www.gnome.org/")
8412 "This package contains configuration applets for the GNOME desktop,
8413 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8414 properties, sound setup, desktop theme and background, user interface
8415 properties, screen resolution, and other GNOME parameters.")
8416 (license license:gpl2+)))
8418 (define-public gnome-shell
8420 (name "gnome-shell")
8424 (uri (string-append "mirror://gnome/sources/" name "/"
8425 (version-major+minor version) "/"
8426 name "-" version ".tar.xz"))
8429 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
8430 (patches (search-patches "gnome-shell-theme.patch"
8431 "gnome-shell-disable-test.patch"))
8432 (modules '((guix build utils)))
8435 ;; Copy images for use on the GDM log-in screen.
8436 (copy-file #$(file-append %artwork-repository
8437 "/slim/0.x/background.png")
8438 "data/theme/guix-background.png")
8439 (copy-file #$(file-append %artwork-repository
8440 "/logo/Guix-horizontal-white.svg")
8441 "data/theme/guix-logo.svg")
8443 (build-system meson-build-system)
8446 #:disallowed-references ((,glib "bin")
8450 (list "-Dsystemd=false"
8451 ;; Otherwise, the RUNPATH will lack the final path component.
8452 (string-append "-Dc_link_args=-Wl,-rpath="
8453 (assoc-ref %outputs "out")
8454 "/lib/gnome-shell"))
8456 #:modules ((guix build meson-build-system)
8461 (modify-phases %standard-phases
8462 (add-after 'unpack 'fix-keysdir
8463 (lambda* (#:key outputs #:allow-other-keys)
8464 (let* ((out (assoc-ref outputs "out"))
8465 (keysdir (string-append
8466 out "/share/gnome-control-center/keybindings")))
8467 (substitute* "meson.build"
8469 (string-append "keysdir = '" keysdir "'\n")))
8471 (add-before 'configure 'convert-logo-to-png
8472 (lambda* (#:key inputs #:allow-other-keys)
8473 ;; Convert the logo from SVG to PNG.
8474 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8475 "data/theme/guix-logo.svg")))
8476 (add-before 'configure 'record-absolute-file-names
8477 (lambda* (#:key inputs #:allow-other-keys)
8478 (substitute* "js/misc/ibusManager.js"
8480 (string-append "'" (assoc-ref inputs "ibus")
8481 "/bin/ibus-daemon'")))
8482 (substitute* "js/ui/status/keyboard.js"
8483 (("'gkbd-keyboard-display'")
8484 (string-append "'" (assoc-ref inputs "libgnomekbd")
8485 "/bin/gkbd-keyboard-display'")))
8487 (add-before 'check 'pre-check
8488 (lambda* (#:key inputs #:allow-other-keys)
8489 ;; Tests require a running X server.
8490 (system "Xvfb :1 &")
8491 (setenv "DISPLAY" ":1")
8493 (add-after 'install 'wrap-programs
8494 (lambda* (#:key inputs outputs #:allow-other-keys)
8495 (let ((out (assoc-ref outputs "out"))
8496 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8497 (python-path (getenv "PYTHONPATH")))
8498 (wrap-program (string-append out "/bin/gnome-shell")
8499 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8500 ;; FIXME: gnome-shell loads these libraries with unqualified
8501 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8502 ;; alternative might be to patch gnome-shell.
8503 `("LD_LIBRARY_PATH" ":" prefix
8505 (string-append (assoc-ref inputs pkg) "/lib"))
8507 "gnome-bluetooth" "librsvg" "libgweather"))))
8510 (wrap-program (string-append out "/bin/" prog)
8511 `("PYTHONPATH" ":" prefix (,python-path))
8512 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8513 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8515 (replace 'glib-or-gtk-wrap
8516 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8517 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8518 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8519 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8520 ;; phase. Fix that since we don't need these.
8521 (wrap #:inputs (fold alist-delete inputs
8522 '("inkscape" "intltool" "glib:bin"))
8523 #:outputs outputs)))))))
8525 `(("asciidoc" ,asciidoc)
8526 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8527 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8528 ("gobject-introspection" ,gobject-introspection)
8529 ("inkscape" ,inkscape)
8530 ("intltool" ,intltool)
8531 ("pkg-config" ,pkg-config)
8533 ("ruby-sass" ,ruby-sass)
8535 ("xsltproc" ,libxslt)
8537 ("xorg-server" ,xorg-server-for-tests)))
8539 `(("accountsservice" ,accountsservice)
8540 ("caribou" ,caribou)
8541 ("docbook-xsl" ,docbook-xsl)
8542 ("evolution-data-server" ,evolution-data-server)
8545 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8547 ("gnome-autoar" ,gnome-autoar)
8548 ("gnome-bluetooth" ,gnome-bluetooth)
8549 ("gnome-desktop" ,gnome-desktop)
8550 ("gnome-settings-daemon" ,gnome-settings-daemon)
8551 ("gst-plugins-base" ,gst-plugins-base)
8553 ("libcanberra" ,libcanberra)
8554 ("libcroco" ,libcroco)
8555 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8556 ("libgweather" ,libgweather)
8558 ("libsoup" ,libsoup)
8559 ("mesa-headers" ,mesa-headers)
8561 ("network-manager-applet" ,network-manager-applet)
8563 ("pulseaudio" ,pulseaudio)
8564 ("python-pygobject" ,python-pygobject)
8565 ("startup-notification" ,startup-notification)
8566 ("telepathy-logger" ,telepathy-logger)
8568 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8569 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8570 ("librsvg" ,librsvg)
8571 ("geoclue" ,geoclue)))
8572 (synopsis "Desktop shell for GNOME")
8573 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8575 "GNOME Shell provides core user interface functions for the GNOME desktop,
8576 like switching to windows and launching applications.")
8577 (license license:gpl2+)))
8579 (define-public gtk-vnc
8587 (string-append "mirror://gnome/sources/" name "/"
8588 (version-major+minor version) "/"
8589 name "-" version ".tar.xz"))
8591 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8592 (build-system meson-build-system)
8594 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8597 ("glib:bin" ,glib "bin")
8598 ("gobject-introspection" ,gobject-introspection)
8599 ("intltool" ,intltool)
8602 ("pkg-config" ,pkg-config)
8603 ("python" ,python-wrapper)
8607 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8610 ("libgcrypt" ,libgcrypt)
8611 ("libsasl" ,cyrus-sasl)
8612 ("pulseaudio" ,pulseaudio)
8617 (synopsis "VNC client viewer widget for GTK+")
8618 (description "GTK-VNC is a project providing client side APIs for the RFB
8619 protocol / VNC remote desktop technology. It is built using coroutines allowing
8620 it to be completely asynchronous while remaining single threaded. It provides a
8621 core C library, and bindings for Python (PyGTK).")
8622 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8623 (license license:lgpl2.1+)))
8625 (define-public gnome-autoar
8627 (name "gnome-autoar")
8631 (uri (string-append "mirror://gnome/sources/" name "/"
8632 (version-major+minor version) "/"
8633 name "-" version ".tar.xz"))
8636 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
8637 (build-system glib-or-gtk-build-system)
8639 `(("gobject-introspection" ,gobject-introspection)
8640 ("pkg-config" ,pkg-config)))
8642 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8645 (synopsis "Archives integration support for GNOME")
8646 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8648 "GNOME Autoar is a library which makes creating and extracting archives
8649 easy, safe, and automatic.")
8650 (license license:lgpl2.1+)))
8652 (define-public tracker
8658 (uri (string-append "mirror://gnome/sources/tracker/"
8659 (version-major+minor version) "/"
8660 "tracker-" version ".tar.xz"))
8663 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8664 (build-system meson-build-system)
8668 ;; Otherwise, the RUNPATH will lack the final path component.
8669 (list (string-append "-Dc_link_args=-Wl,-rpath="
8670 (assoc-ref %outputs "out") "/lib:"
8671 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8673 (modify-phases %standard-phases
8674 (add-before 'check 'pre-check
8676 ;; Some tests expect to write to $HOME.
8677 (setenv "HOME" "/tmp")
8680 `(("glib:bin" ,glib "bin")
8681 ("gobject-introspection" ,gobject-introspection)
8682 ("python-pygobject" ,python-pygobject)
8683 ("intltool" ,intltool)
8684 ("pkg-config" ,pkg-config)
8689 ("libxml2" ,libxml2)
8690 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8691 ("json-glib" ,json-glib)
8692 ("libsoup" ,libsoup)))
8693 (synopsis "Metadata database, indexer and search tool")
8694 (home-page "https://wiki.gnome.org/Projects/Tracker")
8696 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8698 It is a middleware component aimed at desktop application developers who want
8699 their apps to browse and search user content. It's not designed to be used
8700 directly by desktop users, but it provides a commandline tool named
8701 @command{tracker} for the adventurous.
8703 Tracker allows your application to instantly perform full-text searches across
8704 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8705 example. This is achieved by indexing the user's home directory in the
8708 Tracker also allows your application to query and list content that the user
8709 has stored. For example, GNOME Music displays all the music files that are
8710 found by Tracker. This means that GNOME Music doesn't need to maintain a
8711 database of its own.
8713 If you need to go beyond simple searches, Tracker is also a linked data
8714 endpoint and it understands SPARQL. ")
8715 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8716 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8717 ;; libstemmer is bsd-3 and the rest is gpl2+.
8718 (license (list license:gpl2+
8720 license:lgpl2.1+))))
8722 (define-public tracker-miners
8724 (name "tracker-miners")
8728 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8729 (version-major+minor version)
8730 "/tracker-miners-" version ".tar.xz"))
8733 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8734 (build-system meson-build-system)
8738 (list "-Dminer_rss=false" ; libgrss is required.
8739 ;; Ensure the RUNPATH contains all installed library locations.
8740 (string-append "-Dc_link_args=-Wl,-rpath="
8741 (assoc-ref %outputs "out")
8742 "/lib/tracker-miners-2.0")
8743 ;; TODO: Enable functional tests. Currently, the following error
8745 ;; Exception: The functional tests require DConf to be the default
8746 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8747 "-Dfunctional_tests=false")))
8750 ("intltool" ,intltool)
8751 ("glib:bin" ,glib "bin")
8752 ("gobject-introspection" ,gobject-introspection)
8753 ("pkg-config" ,pkg-config)
8754 ("python-pygobject" ,python-pygobject)))
8756 `(("exempi" ,exempi)
8761 ("gstreamer" ,gstreamer)
8764 ("libexif" ,libexif)
8766 ("libgxps" ,libgxps)
8767 ("libiptcdata" ,libiptcdata)
8768 ("libjpeg" ,libjpeg-turbo)
8769 ("libosinfo" ,libosinfo)
8771 ("libseccomp" ,libseccomp)
8772 ("libtiff" ,libtiff)
8773 ("libvorbis" ,libvorbis)
8774 ("libxml2" ,libxml2)
8775 ("poppler" ,poppler)
8777 ("totem-pl-parser" ,totem-pl-parser)
8778 ("tracker" ,tracker)
8781 (synopsis "Metadata database, indexer and search tool")
8782 (home-page "https://wiki.gnome.org/Projects/Tracker")
8784 "Tracker is an advanced framework for first class objects with associated
8785 metadata and tags. It provides a one stop solution for all metadata, tags,
8786 shared object databases, search tools and indexing.")
8787 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8788 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8789 (license (list license:gpl2+
8791 license:lgpl2.0+))))
8793 (define-public nautilus
8799 (uri (string-append "mirror://gnome/sources/" name "/"
8800 (version-major+minor version) "/"
8801 name "-" version ".tar.xz"))
8804 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8805 (build-system meson-build-system)
8809 (modify-phases %standard-phases
8810 (add-after 'unpack 'skip-gtk-update-icon-cache
8811 ;; Don't create 'icon-theme.cache'.
8813 (substitute* "build-aux/meson/postinstall.py"
8814 (("gtk-update-icon-cache") "true"))
8816 ;; XXX: FAIL: check-nautilus
8817 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8820 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8821 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8822 ("gobject-introspection" ,gobject-introspection)
8823 ("intltool" ,intltool)
8824 ("pkg-config" ,pkg-config)))
8830 ("gnome-desktop" ,gnome-desktop)
8831 ("gnome-autoar" ,gnome-autoar)
8832 ("gst-plugins-base" ,gst-plugins-base)
8833 ("libseccomp" ,libseccomp)
8834 ("libselinux" ,libselinux)
8835 ("tracker" ,tracker)
8836 ("tracker-miners" ,tracker-miners)
8837 ;; XXX: gtk+ is required by libnautilus-extension.pc
8839 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8841 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8843 ("libexif" ,libexif)
8844 ("libxml2" ,libxml2)))
8845 (synopsis "File manager for GNOME")
8846 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8848 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8849 design and behaviour, giving the user a simple way to navigate and manage its
8851 (license license:gpl2+)))
8853 (define-public baobab
8860 "mirror://gnome/sources/" name "/"
8861 (version-major+minor version) "/"
8862 name "-" version ".tar.xz"))
8865 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8866 (build-system meson-build-system)
8868 '(#:glib-or-gtk? #t))
8870 `(("intltool" ,intltool)
8871 ("pkg-config" ,pkg-config)
8872 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8873 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8874 ("itstool" ,itstool)
8875 ("xmllint" ,libxml2)
8876 ("glib" ,glib "bin")
8880 (synopsis "Disk usage analyzer for GNOME")
8882 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8883 usage in the GNOME desktop environment. It can easily scan device volumes or
8884 a specific user-requested directory branch (local or remote). Once the scan
8885 is complete it provides a graphical representation of each selected folder.")
8886 (home-page "https://wiki.gnome.org/Apps/Baobab")
8887 (license license:gpl2+)))
8889 (define-public gnome-backgrounds
8891 (name "gnome-backgrounds")
8896 (uri (string-append "mirror://gnome/sources/" name "/"
8897 (version-major+minor version) "/"
8898 name "-" version ".tar.xz"))
8901 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8902 (build-system meson-build-system)
8904 `(("intltool" ,intltool)))
8905 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8906 (synopsis "Background images for the GNOME desktop")
8908 "GNOME backgrounds package contains a collection of graphics files which
8909 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8910 the package creates the proper framework and directory structure so that you
8911 can add your own files to the collection.")
8912 (license (list license:gpl2+
8915 license:cc-by-sa3.0))))
8917 (define-public gnome-screenshot
8919 (name "gnome-screenshot")
8924 (uri (string-append "mirror://gnome/sources/" name "/"
8925 (version-major+minor version) "/"
8926 name "-" version ".tar.xz"))
8929 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8930 (build-system meson-build-system)
8933 (modify-phases %standard-phases
8934 (add-after 'unpack 'skip-gtk-update-icon-cache
8935 ;; Don't create 'icon-theme.cache'.
8937 (substitute* "build-aux/postinstall.py"
8938 (("gtk-update-icon-cache") "true"))
8941 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8942 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8943 ("intltool" ,intltool)
8944 ("appstream-glib" ,appstream-glib)
8945 ("pkg-config" ,pkg-config)))
8948 ("libcanberra" ,libcanberra)
8950 ("libxext" ,libxext)))
8951 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8952 (synopsis "Take pictures of your screen")
8954 "GNOME Screenshot is a utility used for taking screenshots of the entire
8955 screen, a window or a user defined area of the screen, with optional
8956 beautifying border effects.")
8957 (license license:gpl2+)))
8959 (define-public dconf-editor
8961 (name "dconf-editor")
8966 (uri (string-append "mirror://gnome/sources/" name "/"
8967 (version-major+minor version) "/"
8968 name "-" version ".tar.xz"))
8971 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8972 (build-system meson-build-system)
8974 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8975 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8976 ("intltool" ,intltool)
8977 ("pkg-config" ,pkg-config)
8982 ("libxml2" ,libxml2)))
8983 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8984 (synopsis "Graphical editor for GNOME's dconf configuration system")
8986 "Dconf-editor is a graphical tool for browsing and editing the dconf
8987 configuration system for GNOME. It allows users to configure desktop
8988 software that do not provide their own configuration interface.")
8989 (license license:lgpl2.1+)))
8991 (define-public gnome-default-applications
8993 (name "gnome-default-applications")
8995 (build-system trivial-build-system)
8998 `(("nautilus" ,nautilus)
8999 ("evince" ,evince)))
9001 `(#:modules ((guix build utils))
9004 (use-modules (guix build utils))
9005 (let* ((out (assoc-ref %outputs "out"))
9006 (apps (string-append out "/share/applications")))
9008 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
9010 (format port "[Default Applications]\n")
9011 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
9012 (format port "application/pdf=evince.desktop\n")
9013 (format port "application/postscript=evince.desktop\n")))
9015 (synopsis "Default MIME type associations for the GNOME desktop")
9017 "Given many installed packages which might handle a given MIME type, a
9018 user running the GNOME desktop probably has some preferences: for example,
9019 that folders be opened by default by the Nautilus file manager, not the Baobab
9020 disk usage analyzer. This package establishes that set of default MIME type
9021 associations for GNOME.")
9022 (license license:gpl3+)
9025 (define-public libgovirt
9031 (uri (string-append "mirror://gnome/sources/" name "/"
9032 (version-major+minor version) "/"
9033 name "-" version ".tar.xz"))
9036 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
9037 (build-system glib-or-gtk-build-system)
9039 `(("gettext" ,gettext-minimal)
9040 ("glib:bin" ,glib "bin")
9041 ("gobject-introspection" ,gobject-introspection)
9042 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9043 ("gtk+:bin" ,gtk+ "bin")
9044 ("pkg-config" ,pkg-config)))
9046 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
9048 (synopsis "GoVirt Library")
9049 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
9050 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
9051 (license license:gpl2+)))
9053 (define-public gnome-weather
9055 (name "gnome-weather")
9059 (uri (string-append "mirror://gnome/sources/" name "/"
9060 (version-major+minor version) "/"
9061 name "-" version ".tar.xz"))
9064 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
9065 (build-system meson-build-system)
9067 `(("gettext" ,gettext-minimal)
9068 ("glib:bin" ,glib "bin")
9069 ("gobject-introspection" ,gobject-introspection)
9070 ("gtk+:bin" ,gtk+ "bin")
9071 ("pkg-config" ,pkg-config)))
9073 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
9074 ("appstream-glib" ,appstream-glib)
9075 ("geoclue" ,geoclue)
9076 ("gdk-pixbuf" ,gdk-pixbuf)
9078 ("gnome-desktop" ,gnome-desktop)
9079 ("libgweather" ,libgweather)))
9083 (modify-phases %standard-phases
9084 (add-after 'install 'fix-desktop-file
9085 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9086 ;; See https://issues.guix.gnu.org/issue/39324.
9087 (lambda* (#:key outputs #:allow-other-keys)
9088 (let* ((out (assoc-ref outputs "out"))
9089 (applications (string-append out "/share/applications")))
9090 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9091 (("Exec=.*") "Exec=gnome-weather\n"))
9093 (add-after 'install 'wrap
9094 (lambda* (#:key inputs outputs #:allow-other-keys)
9095 (let ((out (assoc-ref outputs "out"))
9096 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9097 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9098 (wrap-program (string-append out "/bin/gnome-weather")
9099 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9101 (synopsis "Weather monitoring for GNOME desktop")
9102 (description "GNOME Weather is a small application that allows you to
9103 monitor the current weather conditions for your city, or anywhere in the
9105 (home-page "https://wiki.gnome.org/Apps/Weather")
9106 (license license:gpl2+)))
9108 (define-public gnome
9111 (version (package-version gnome-shell))
9113 (build-system trivial-build-system)
9114 (arguments '(#:builder (begin (mkdir %output) #t)))
9116 ;; TODO: Add or remove packages according to:
9117 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9119 ;; GNOME-Core-OS-Services
9120 ("accountsservice" ,accountsservice)
9121 ("network-manager" ,network-manager)
9122 ("packagekit" ,packagekit)
9125 ("adwaita-icon-theme" ,adwaita-icon-theme)
9127 ("glib-networking" ,glib-networking)
9128 ("gnome-backgrounds" ,gnome-backgrounds)
9129 ("gnome-bluetooth" ,gnome-bluetooth)
9130 ("gnome-color-manager" ,gnome-color-manager)
9131 ("gnome-control-center" ,gnome-control-center)
9132 ("gnome-desktop" ,gnome-desktop)
9133 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9134 ("gnome-initial-setup" ,gnome-initial-setup)
9135 ("gnome-keyring" ,gnome-keyring)
9136 ("gnome-menus" ,gnome-menus)
9137 ("gnome-session" ,gnome-session)
9138 ("gnome-settings-daemon" ,gnome-settings-daemon)
9139 ("gnome-shell-extensions" ,gnome-shell-extensions)
9140 ("gnome-shell" ,gnome-shell)
9141 ("gnome-themes-extra" ,gnome-themes-extra)
9142 ("gnome-user-docs" ,gnome-user-docs)
9143 ("gnome-user-share" ,gnome-user-share)
9144 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9150 ;; GNOME-Core-Utilities
9153 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9154 ;; only works on x86_64, so exclude it on other architectures.
9155 ,@(if (string-prefix? "x86_64" (%current-system))
9158 ("epiphany" ,epiphany)
9160 ("file-roller" ,file-roller)
9162 ("gnome-boxes" ,gnome-boxes)
9163 ("gnome-calculator" ,gnome-calculator)
9164 ("gnome-calendar" ,gnome-calendar)
9165 ("gnome-characters" ,gnome-characters)
9166 ("gnome-clocks" ,gnome-clocks)
9167 ("gnome-contacts" ,gnome-contacts)
9168 ("gnome-disk-utility" ,gnome-disk-utility)
9169 ("gnome-font-viewer" ,gnome-font-viewer)
9170 ("gnome-maps" ,gnome-maps)
9171 ; TODO: ("gnome-music" ,gnome-music)
9172 ; TODO: ("gnome-photos" ,gnome-photos)
9173 ("gnome-screenshot" ,gnome-screenshot)
9174 ("gnome-system-monitor" ,gnome-system-monitor)
9175 ("gnome-terminal" ,gnome-terminal)
9176 ("gnome-weather" ,gnome-weather)
9177 ("nautilus" ,nautilus)
9178 ("simple-scan" ,simple-scan)
9182 ("hicolor-icon-theme" ,hicolor-icon-theme)
9183 ("gnome-online-accounts" ,gnome-online-accounts)
9185 ;; Packages not part of GNOME proper but that are needed for a good
9186 ;; experience. See <https://bugs.gnu.org/39646>.
9187 ;; XXX: Find out exactly which ones are needed and why.
9188 ("font-cantarell" ,font-cantarell)
9189 ("font-dejavu" ,font-dejavu)
9190 ("at-spi2-core" ,at-spi2-core)
9193 ("desktop-file-utils" ,desktop-file-utils)
9194 ("gnome-default-applications" ,gnome-default-applications)
9195 ("gnome-themes-standard" ,gnome-themes-standard)
9196 ("gst-plugins-base" ,gst-plugins-base)
9197 ("gst-plugins-good" ,gst-plugins-good)
9198 ("gucharmap" ,gucharmap)
9199 ("pinentry-gnome3" ,pinentry-gnome3)
9200 ("pulseaudio" ,pulseaudio)
9201 ("shared-mime-info" ,shared-mime-info)
9202 ("system-config-printer" ,system-config-printer)
9203 ("xdg-user-dirs" ,xdg-user-dirs)
9205 ("zenity" ,zenity)))
9206 (synopsis "The GNU desktop environment")
9207 (home-page "https://www.gnome.org/")
9209 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9210 applications for browsing the web, editing text and images, creating
9211 documents and diagrams, playing media, scanning, and much more.")
9212 (license license:gpl2+)))
9214 (define-public byzanz
9215 ;; The last stable release of Byzanz was in 2011, but there have been many
9216 ;; useful commits made to the Byzanz repository since then that it would be
9217 ;; silly to use such an old release.
9218 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9221 (version (string-append "0.2-1." (string-take commit 7)))
9225 (url "https://git.gnome.org/browse/byzanz")
9227 (file-name (string-append name "-" version "-checkout"))
9230 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9231 (build-system glib-or-gtk-build-system)
9234 (modify-phases %standard-phases
9235 (add-before 'bootstrap 'build-without-Werror
9237 ;; The build system cleverly detects that we're not building from
9238 ;; a release tarball and turns on -Werror for GCC.
9239 ;; Unsurprisingly, there is a warning during compilation that
9240 ;; causes the build to fail unnecessarily, so we remove the flag.
9241 (substitute* '("configure.ac")
9245 `(("autoconf" ,autoconf)
9246 ("automake" ,automake)
9247 ("gnome-common" ,gnome-common)
9248 ("intltool" ,intltool)
9249 ("libtool" ,libtool)
9250 ("pkg-config" ,pkg-config)
9254 ("gstreamer" ,gstreamer)
9255 ("gst-plugins-base" ,gst-plugins-base)
9257 (synopsis "Desktop recording program")
9258 (description "Byzanz is a simple desktop recording program with a
9259 command-line interface. It can record part or all of an X display for a
9260 specified duration and save it as a GIF encoded animated image file.")
9261 (home-page "https://git.gnome.org/browse/byzanz")
9262 (license license:gpl2+))))
9264 (define-public authenticator
9266 (name "authenticator")
9272 (url "https://gitlab.gnome.org/World/Authenticator")
9274 (file-name (git-file-name name version))
9276 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9277 (build-system meson-build-system)
9281 (modify-phases %standard-phases
9282 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9283 (lambda* (#:key inputs outputs #:allow-other-keys)
9284 (let ((prog (string-append (assoc-ref outputs "out")
9285 "/bin/authenticator"))
9286 (pylib (string-append (assoc-ref outputs "out")
9288 ,(version-major+minor
9289 (package-version python))
9292 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9293 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9296 `(("desktop-file-utils" ,desktop-file-utils)
9297 ("gettext" ,gettext-minimal)
9298 ("glib:bin" ,glib "bin")
9299 ("gobject-introspection" ,gobject-introspection)
9300 ("gtk+:bin" ,gtk+ "bin")
9301 ("pkg-config" ,pkg-config)))
9303 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9305 ("libhandy" ,libhandy-0.0)
9306 ("libsecret" ,libsecret)
9307 ("python-beautifulsoup4" ,python-beautifulsoup4)
9308 ("python-pillow" ,python-pillow)
9309 ("python-pyfavicon" ,python-pyfavicon)
9310 ("python-pygobject" ,python-pygobject)
9311 ("python-pyotp" ,python-pyotp)
9312 ("python-pyzbar" ,python-pyzbar)
9313 ("yoyo-migrations" ,yoyo-migrations)
9315 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9316 (synopsis "Two-factor authentication application built for GNOME")
9318 "Authenticator is a two-factor authentication (2FA) application built for
9319 the GNOME desktop environment.
9324 @item QR code scanner
9326 @item Huge database of more than 560 supported services
9327 @item Keep your PIN tokens secure by locking the application with a password
9328 @item Automatically fetch an image for services using their favicon
9329 @item The possibility to add new services
9331 (license license:gpl3+)))
9333 (define-public gsound
9339 (uri (string-append "mirror://gnome/sources/" name "/"
9340 (version-major+minor version) "/"
9341 name "-" version ".tar.xz"))
9344 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9345 (build-system glib-or-gtk-build-system)
9347 `(("pkg-config" ,pkg-config)
9348 ("gobject-introspection" ,gobject-introspection)
9352 ("libcanberra" ,libcanberra)))
9353 (home-page "https://wiki.gnome.org/Projects/GSound")
9354 (synopsis "GObject wrapper for libcanberra")
9356 "GSound is a small library for playing system sounds. It's designed to be
9357 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9359 (license license:lgpl2.1+)))
9361 (define-public libzapojit
9367 (uri (string-append "mirror://gnome/sources/" name "/"
9368 (version-major+minor version) "/"
9369 name "-" version ".tar.xz"))
9372 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9373 (build-system gnu-build-system)
9375 `(("gobject-introspection" ,gobject-introspection)
9376 ("intltool" ,intltool)
9377 ("pkg-config" ,pkg-config)))
9379 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9380 ("json-glib" ,json-glib)
9382 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9383 (synopsis "Library for accessing SkyDrive and Hotmail")
9385 "Libzapojit is a GLib-based library for accessing online service APIs of
9386 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9387 (license license:lgpl2.1+)))
9389 (define-public gnome-clocks
9391 (name "gnome-clocks")
9395 (uri (string-append "mirror://gnome/sources/" name "/"
9396 (version-major+minor version) "/"
9397 name "-" version ".tar.xz"))
9400 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9401 (build-system meson-build-system)
9405 (modify-phases %standard-phases
9406 (add-after 'unpack 'skip-gtk-update-icon-cache
9407 ;; Don't create 'icon-theme.cache'.
9409 (substitute* "build-aux/post-install.py"
9410 (("gtk-update-icon-cache") "true"))
9414 ("pkg-config" ,pkg-config)
9415 ("glib" ,glib "bin") ; for glib-compile-resources
9416 ("desktop-file-utils" ,desktop-file-utils)
9417 ("gettext" ,gettext-minimal)
9418 ("itstool" ,itstool)))
9423 ("geoclue" ,geoclue)
9424 ("geocode-glib" ,geocode-glib)
9425 ("libgweather" ,libgweather)
9426 ("gnome-desktop" ,gnome-desktop)))
9427 (home-page "https://wiki.gnome.org/Apps/Clocks")
9428 (synopsis "GNOME's clock application")
9430 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9431 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9432 (license license:gpl3+)))
9434 (define-public gnome-calendar
9436 (name "gnome-calendar")
9440 (uri (string-append "mirror://gnome/sources/" name "/"
9441 (version-major+minor version) "/"
9442 name "-" version ".tar.xz"))
9445 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9446 (build-system meson-build-system)
9449 ;; gnome-calendar has to be installed before the tests can be run
9450 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9453 (modify-phases %standard-phases
9454 (add-after 'unpack 'skip-gtk-update-icon-cache
9455 ;; Don't create 'icon-theme.cache'.
9457 (substitute* "build-aux/meson/meson_post_install.py"
9458 (("gtk-update-icon-cache") "true"))
9461 `(("gettext" ,gettext-minimal)
9462 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9463 ("pkg-config" ,pkg-config)))
9465 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9466 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9467 ("libdazzle" ,libdazzle)
9468 ("libedataserverui" ,evolution-data-server)
9469 ("libgweather" ,libgweather)
9470 ("geoclue" ,geoclue)))
9472 `(("evolution-data-server" ,evolution-data-server)))
9473 (home-page "https://wiki.gnome.org/Apps/Calendar")
9474 (synopsis "GNOME's calendar application")
9476 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9477 desktop. It supports multiple calendars, month, week and year view.")
9478 (license license:gpl3+)))
9480 (define-public gnome-todo
9486 (uri (string-append "mirror://gnome/sources/" name "/"
9487 (version-major+minor version) "/"
9488 name "-" version ".tar.xz"))
9491 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9493 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9494 (build-system meson-build-system)
9497 #:phases (modify-phases %standard-phases
9499 'install 'wrap-gnome-todo
9500 (lambda* (#:key inputs outputs #:allow-other-keys)
9501 (let ((out (assoc-ref outputs "out"))
9502 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9503 (python-path (getenv "PYTHONPATH")))
9504 (wrap-program (string-append out "/bin/gnome-todo")
9505 ;; XXX: gi plugins are broken.
9506 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9508 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9509 `("PYTHONPATH" ":" prefix (,python-path))))
9512 `(("gettext" ,gettext-minimal)
9513 ("gobject-introspection" ,gobject-introspection)
9514 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9515 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9516 ("pkg-config" ,pkg-config)))
9518 `(("rest" ,rest) ; For Todoist plugin
9519 ("json-glib" ,json-glib) ; For Todoist plugin
9520 ("libedataserverui" ,evolution-data-server)
9521 ("libical" ,libical)
9522 ("libpeas" ,libpeas)
9523 ("python-pygobject" ,python-pygobject)
9524 ("evolution-data-server" ,evolution-data-server)
9525 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9526 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9527 (home-page "https://wiki.gnome.org/Apps/Todo")
9528 (synopsis "GNOME's ToDo Application")
9530 "GNOME To Do is a simplistic personal task manager designed to perfectly
9531 fit the GNOME desktop.")
9532 (license license:gpl3+)))
9534 (define-public gnome-dictionary
9536 (name "gnome-dictionary")
9540 (uri (string-append "mirror://gnome/sources/" name "/"
9541 (version-major+minor version) "/"
9542 name "-" version ".tar.xz"))
9545 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9546 (build-system meson-build-system)
9547 (arguments '(#:glib-or-gtk? #t
9548 #:phases (modify-phases %standard-phases
9549 (add-after 'unpack 'patch-install-script
9551 ;; This script attempts to compile glib schemas
9552 ;; and create an empty MIME database. We do
9553 ;; that elsewhere, so prevent it from running.
9554 (substitute* "build-aux/post-install.sh"
9555 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9558 `(("glib:bin" ,glib "bin")
9559 ("gobject-introspection" ,gobject-introspection)
9560 ("intltool" ,intltool)
9561 ("itstool" ,itstool)
9562 ("pkg-config" ,pkg-config)
9563 ("xmllint" ,libxml2)))
9565 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9567 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9568 (synopsis "Look up words in dictionary sources")
9570 "GNOME Dictionary can look for the definition or translation of a word in
9571 existing databases over the internet.")
9572 (license license:gpl3+)))
9574 (define-public gnome-tweaks
9576 (name "gnome-tweaks")
9580 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9581 (version-major+minor version) "/"
9582 "gnome-tweaks-" version ".tar.xz"))
9584 (list (search-patch "gnome-tweaks-search-paths.patch")))
9587 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9588 (build-system meson-build-system)
9591 #:configure-flags '("-Dlocalstatedir=/tmp"
9592 "-Dsysconfdir=/tmp")
9593 #:imported-modules ((guix build python-build-system)
9594 ,@%meson-build-system-modules)
9596 (modify-phases %standard-phases
9597 (add-after 'unpack 'skip-gtk-update-icon-cache
9598 ;; Don't create 'icon-theme.cache'.
9600 (substitute* "meson-postinstall.py"
9601 (("gtk-update-icon-cache") "true"))
9603 (add-after 'install 'wrap
9604 (@@ (guix build python-build-system) wrap))
9605 (add-after 'wrap 'wrap-gi-typelib
9606 (lambda* (#:key inputs outputs #:allow-other-keys)
9607 (let ((out (assoc-ref outputs "out"))
9608 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9609 (wrap-program (string-append out "/bin/gnome-tweaks")
9610 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9613 `(("intltool" ,intltool)
9614 ("pkg-config" ,pkg-config)))
9616 `(("gnome-desktop" ,gnome-desktop)
9618 ("gobject-introspection" ,gobject-introspection)
9619 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9620 ("libhandy" ,libhandy-0.0)
9621 ("libnotify" ,libnotify)
9622 ("libsoup" ,libsoup)
9623 ("nautilus" ,nautilus)
9625 ("python-pygobject" ,python-pygobject)))
9626 (synopsis "Customize advanced GNOME 3 options")
9627 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9629 "GNOME Tweaks allows adjusting advanced configuration settings in
9630 GNOME 3. This includes things like the fonts used in user interface elements,
9631 alternative user interface themes, changes in window management behavior,
9632 GNOME Shell appearance and extension, etc.")
9633 (license license:gpl3+)))
9635 (define-public gnome-shell-extensions
9637 (name "gnome-shell-extensions")
9641 (uri (string-append "mirror://gnome/sources/" name "/"
9642 (version-major+minor version) "/"
9643 name "-" version ".tar.xz"))
9646 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9647 (build-system meson-build-system)
9649 '(#:configure-flags '("-Dextension_set=all")))
9651 `(("glib:bin" ,glib "bin")
9652 ("intltool" ,intltool)
9653 ("pkg-config" ,pkg-config)))
9656 (synopsis "Extensions for GNOME Shell")
9657 (description "GNOME Shell extensions modify and extend GNOME Shell
9658 functionality and behavior.")
9659 (home-page "https://extensions.gnome.org/")
9660 (license license:gpl3+)))
9662 (define-public folks
9669 "mirror://gnome/sources/folks/"
9670 (version-major+minor version) "/"
9671 "folks-" version ".tar.xz"))
9674 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9675 (build-system meson-build-system)
9678 (modify-phases %standard-phases
9679 (add-after 'unpack 'skip-gtk-update-icon-cache
9680 ;; Don't create 'icon-theme.cache'.
9682 (substitute* "meson_post_install.py"
9683 (("gtk-update-icon-cache") "true"))
9687 ("dbus-glib" ,dbus-glib)
9688 ("evolution-data-server" ,evolution-data-server)
9691 ("readline" ,readline)
9692 ("telepathy-glib" ,telepathy-glib)))
9694 `(("glib:bin" ,glib "bin")
9695 ("gobject-introspection" ,gobject-introspection)
9696 ("intltool" ,intltool)
9697 ("pkg-config" ,pkg-config)
9699 (synopsis "Library to aggregate data about people")
9700 (description "Libfolks is a library that aggregates information about people
9701 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9702 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9703 etc.) to create metacontacts. It's written in Vala, which generates C code when
9705 (home-page "https://wiki.gnome.org/Projects/Folks")
9706 (license license:lgpl2.1+)))
9708 (define-public gfbgraph
9715 "mirror://gnome/sources/gfbgraph/"
9716 (version-major+minor version) "/"
9717 "gfbgraph-" version ".tar.xz"))
9720 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9721 (build-system glib-or-gtk-build-system)
9723 `(#:tests? #f ; tests appear to require the network
9724 #:configure-flags '("--disable-static"
9726 "--enable-introspection")))
9728 `(("gobject-introspection" ,gobject-introspection)
9729 ("gtk-doc" ,gtk-doc)
9730 ("pkg-config" ,pkg-config)
9732 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9733 ("autoconf" ,autoconf)
9734 ("automake" ,automake)
9735 ("libtool" ,libtool)
9738 `(("json-glib" ,json-glib)
9739 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9741 (synopsis "GLib/GObject wrapper for the Facebook API")
9742 (description "This library allows you to use the Facebook API from
9743 GLib/GObject code.")
9744 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9745 (license license:lgpl2.1+)))
9747 (define-public libgnomekbd
9749 (name "libgnomekbd")
9753 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9754 (version-major+minor version) "/"
9755 "libgnomekbd-" version ".tar.xz"))
9758 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9759 (build-system gnu-build-system)
9761 `(("pkg-config" ,pkg-config)
9762 ("glib" ,glib "bin")
9763 ("intltool" ,intltool)))
9765 ;; Referred to in .h files and .pc.
9768 ("libxklavier" ,libxklavier)))
9769 (home-page "https://www.gnome.org")
9770 (synopsis "GNOME keyboard configuration library")
9772 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9773 environment, which can notably display keyboard layouts.")
9774 (license license:lgpl2.0+)))
9776 ;;; This package is no longer maintained:
9777 ;;; https://wiki.gnome.org/Attic/LibUnique
9778 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9779 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9780 (define-public libunique
9786 (uri (string-append "mirror://gnome/sources/" name "/"
9787 (version-major+minor version) "/"
9788 name "-" version ".tar.xz"))
9791 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9792 (build-system glib-or-gtk-build-system)
9794 `(#:configure-flags '("--disable-static"
9795 "--disable-dbus" ; use gdbus
9796 "--enable-introspection")))
9798 `(("pkg-config" ,pkg-config)
9799 ("gobject-introspection" ,gobject-introspection)
9800 ("glib:bin" ,glib "bin")
9801 ("gtk-doc" ,gtk-doc)))
9803 ;; Referred to in .h files and .pc.
9805 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9806 (synopsis "Library for writing single instance applications")
9808 "Libunique is a library for writing single instance applications. If you
9809 launch a single instance application twice, the second instance will either just
9810 quit or will send a message to the running instance. Libunique makes it easy to
9811 write this kind of application, by providing a base class, taking care of all
9812 the IPC machinery needed to send messages to a running instance, and also
9813 handling the startup notification side.")
9814 (license license:lgpl2.1+)))
9816 (define-public gnome-calculator
9818 (name "gnome-calculator")
9823 (uri (string-append "mirror://gnome/sources/" name "/"
9824 (version-major+minor version) "/"
9825 name "-" version ".tar.xz"))
9828 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9829 (build-system meson-build-system)
9830 (arguments '(#:glib-or-gtk? #t))
9832 `(("gettext" ,gettext-minimal)
9833 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9834 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9835 ("itstool" ,itstool)
9837 ("pkg-config" ,pkg-config)))
9840 ("gtksourceview" ,gtksourceview)
9842 ("libsoup" ,libsoup)
9843 ("libxml2" ,libxml2)
9846 (home-page "https://wiki.gnome.org/Apps/Calculator")
9847 (synopsis "Desktop calculator")
9849 "Calculator is an application that solves mathematical equations and
9850 is suitable as a default application in a Desktop environment.")
9851 (license license:gpl3)))
9860 (uri (string-append "https://launchpad.net/xpad/trunk/"
9861 version "/+download/"
9862 name "-" version ".tar.bz2"))
9865 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9866 (build-system gnu-build-system)
9868 `(("autoconf" ,autoconf)
9869 ("automake" ,automake)
9870 ("gtk+:bin" ,gtk+ "bin")
9871 ("intltool" ,intltool)
9872 ("pkg-config" ,pkg-config)))
9874 `(("gtksourceview" ,gtksourceview-3)
9876 (home-page "https://wiki.gnome.org/Apps/Xpad")
9877 (synopsis "Virtual sticky note")
9879 "Xpad is a sticky note that strives to be simple, fault tolerant,
9880 and customizable. Xpad consists of independent pad windows, each is
9881 basically a text box in which notes can be written.")
9882 (license license:gpl3+)))
9884 (define-public gucharmap
9885 (let ((unicode-files
9887 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9889 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9891 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9893 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9895 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9897 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9904 (uri (string-append "mirror://gnome/sources/" name "/"
9905 (version-major+minor version) "/"
9906 name "-" version ".tar.xz"))
9909 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9910 (build-system glib-or-gtk-build-system)
9912 `(#:modules ((ice-9 match)
9913 (guix build glib-or-gtk-build-system)
9916 (list "--with-unicode-data=../unicode-data")
9918 (modify-phases %standard-phases
9919 (add-after 'unpack 'prepare-unicode-data
9920 (lambda* (#:key inputs #:allow-other-keys)
9921 (mkdir-p "../unicode-data")
9922 (with-directory-excursion "../unicode-data"
9923 (for-each (match-lambda
9925 (install-file (assoc-ref inputs file) ".")))
9929 `(("desktop-file-utils" ,desktop-file-utils)
9930 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9931 ("gobject-introspection" ,gobject-introspection)
9932 ("intltool" ,intltool)
9933 ("itstool" ,itstool)
9934 ("pkg-config" ,pkg-config)
9935 ,@(map (match-lambda
9941 "http://www.unicode.org/Public/12.0.0/ucd/"
9943 (sha256 (base32 hash))))))
9948 ("xmllint" ,libxml2)))
9949 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9950 (synopsis "Unicode character picker and font browser")
9952 "This program allows you to browse through all the available Unicode
9953 characters and categories for the installed fonts, and to examine their
9954 detailed properties. It is an easy way to find the character you might
9955 only know by its Unicode name or code point.")
9956 (license license:gpl3+))))
9958 (define-public bluefish
9965 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
9966 "bluefish-" version ".tar.gz"))
9968 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
9969 (build-system gnu-build-system)
9971 `(("desktop-file-utils" ,desktop-file-utils)
9972 ("intltool" ,intltool)
9973 ("pkg-config" ,pkg-config)))
9975 `(("enchant" ,enchant)
9977 ("python" ,python-wrapper)
9978 ("xmllint" ,libxml2)
9979 ("gucharmap" ,gucharmap)))
9980 (home-page "http://bluefish.openoffice.nl")
9981 (synopsis "Web development studio")
9983 "Bluefish is an editor aimed at programmers and web developers,
9984 with many options to write web sites, scripts and other code.
9985 Bluefish supports many programming and markup languages.")
9986 (license license:gpl3+)))
9988 (define-public gnome-system-monitor
9990 (name "gnome-system-monitor")
9995 (uri (string-append "mirror://gnome/sources/" name "/"
9996 (version-major+minor version) "/"
9997 name "-" version ".tar.xz"))
10000 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10001 (build-system meson-build-system)
10003 '(#:glib-or-gtk? #t
10004 #:configure-flags '("-Dsystemd=false")))
10006 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10007 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10008 ("intltool" ,intltool)
10009 ("itstool" ,itstool)
10010 ("libgtop" ,libgtop)
10012 ("pkg-config" ,pkg-config)))
10014 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10017 ("librsvg" ,librsvg)
10018 ("libxml2" ,libxml2)
10019 ("libwnck" ,libwnck)))
10020 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10021 (synopsis "Process viewer and system resource monitor for GNOME")
10023 "GNOME System Monitor is a GNOME process viewer and system monitor with
10024 an attractive, easy-to-use interface. It has features, such as a tree view
10025 for process dependencies, icons for processes, the ability to hide processes,
10026 graphical time histories of CPU/memory/swap usage and the ability to
10027 kill/reinice processes.")
10028 (license license:gpl2+)))
10030 (define-public python-pyatspi
10032 (name "python-pyatspi")
10036 (uri (string-append
10037 "mirror://gnome/sources/pyatspi/"
10038 (version-major+minor version)
10039 "/pyatspi-" version ".tar.xz"))
10042 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10043 (build-system gnu-build-system)
10046 (modify-phases %standard-phases
10047 (add-before 'build 'fix-atk-load
10049 (substitute* "pyatspi/__init__.py"
10050 (("from gi.repository import Atspi")
10051 "gi.require_version('Gtk', '3.0')
10052 from gi.repository import Gtk
10053 from gi.repository import Atspi"))
10056 `(("pkg-config" ,pkg-config)))
10058 `(("python" ,python)))
10060 `(("python-pygobject" ,python-pygobject)))
10061 (synopsis "Python client bindings for D-Bus AT-SPI")
10062 (home-page "https://wiki.linuxfoundation.org/accessibility\
10063 /atk/at-spi/at-spi_on_d-bus")
10065 "This package includes a python client library for the AT-SPI D-Bus
10066 accessibility infrastructure.")
10067 (license license:lgpl2.0)
10068 (properties '((upstream-name . "pyatspi")))))
10070 (define-public python2-pyatspi
10072 (inherit python-pyatspi)
10073 (name "python2-pyatspi")
10075 `(("python" ,python-2)))
10077 `(("python-pygobject" ,python2-pygobject)))))
10079 (define-public orca
10085 (uri (string-append
10086 "mirror://gnome/sources/" name "/"
10087 (version-major+minor version) "/"
10088 name "-" version ".tar.xz"))
10091 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10092 (build-system glib-or-gtk-build-system)
10095 (modify-phases %standard-phases
10096 (add-before 'configure 'qualify-xkbcomp
10097 (lambda* (#:key inputs #:allow-other-keys)
10098 (let ((xkbcomp (string-append
10099 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10100 (substitute* "src/orca/orca.py"
10101 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10103 (add-after 'install 'wrap-orca
10104 (lambda* (#:key outputs #:allow-other-keys)
10105 (let* ((out (assoc-ref outputs "out"))
10106 (prog (string-append out "/bin/orca")))
10108 `("GI_TYPELIB_PATH" ":" prefix
10109 (,(getenv "GI_TYPELIB_PATH")))
10110 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10111 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10112 `("PYTHONPATH" ":" prefix
10113 (,(getenv "PYTHONPATH")))))
10116 `(("intltool" ,intltool)
10117 ("itstool" ,itstool)
10118 ("pkg-config" ,pkg-config)
10119 ("xmllint" ,libxml2)))
10121 `(("at-spi2-atk" ,at-spi2-atk)
10122 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10123 ("gstreamer" ,gstreamer)
10124 ("gst-plugins-base" ,gst-plugins-base)
10125 ("gst-plugins-good" ,gst-plugins-good)
10128 ("python-pygobject" ,python-pygobject)
10129 ("python-pyatspi" ,python-pyatspi)
10130 ("python-speechd" ,speech-dispatcher)
10131 ("xkbcomp" ,xkbcomp)))
10133 "Screen reader for individuals who are blind or visually impaired")
10134 (home-page "https://wiki.gnome.org/Projects/Orca")
10136 "Orca is a screen reader that provides access to the graphical desktop
10137 via speech and refreshable braille. Orca works with applications and toolkits
10138 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10139 (license license:lgpl2.1+)))
10141 (define-public gspell
10147 (uri (string-append "mirror://gnome/sources/" name "/"
10148 (version-major+minor version) "/"
10149 name "-" version ".tar.xz"))
10152 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10153 (patches (search-patches "gspell-dash-test.patch"))))
10154 (build-system glib-or-gtk-build-system)
10156 '(#:configure-flags (list "--enable-vala")
10158 (modify-phases %standard-phases
10159 (add-before 'check 'pre-check
10160 (lambda* (#:key inputs #:allow-other-keys)
10161 ;; Tests require a running X server.
10162 (system "Xvfb :1 &")
10163 (setenv "DISPLAY" ":1")
10165 ;; For the missing /etc/machine-id.
10166 (setenv "DBUS_FATAL_WARNINGS" "0")
10168 ;; Allow Enchant and its Aspell backend to find the en_US
10170 (setenv "ASPELL_DICT_DIR"
10171 (string-append (assoc-ref inputs "aspell-dict-en")
10177 ("iso-codes" ,iso-codes)))
10179 `(("glib" ,glib "bin")
10180 ("gobject-introspection" ,gobject-introspection)
10181 ("pkg-config" ,pkg-config)
10182 ("vala" ,vala) ;for VAPI, needed by Geary
10183 ("xmllint" ,libxml2)
10186 ("aspell-dict-en" ,aspell-dict-en)
10187 ("xorg-server" ,xorg-server-for-tests)))
10189 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10190 (home-page "https://wiki.gnome.org/Projects/gspell")
10191 (synopsis "GNOME's alternative spell checker")
10193 "gspell provides a flexible API to add spell-checking to a GTK+
10194 application. It provides a GObject API, spell-checking to text entries and
10195 text views, and buttons to choose the language.")
10196 (license license:gpl2+)))
10198 (define-public gnome-planner
10200 (name "gnome-planner")
10204 (uri (string-append "mirror://gnome/sources/planner/"
10205 (version-major+minor version) "/planner-"
10206 version ".tar.xz"))
10209 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10210 (build-system glib-or-gtk-build-system)
10212 ;; Disable the Python bindings because the Planner program functions
10213 ;; without them, and (as of 2017-06-13) we have not packaged all of
10214 ;; packages that are necessary for building the Python bindings.
10215 `(#:configure-flags
10216 (list "--disable-python"
10217 ,@(if (string=? "aarch64-linux" (%current-system))
10218 '("--build=aarch64-unknown-linux-gnu")
10221 `(("libgnomecanvas" ,libgnomecanvas)
10222 ("libgnomeui" ,libgnomeui)
10223 ("libglade" ,libglade)
10224 ("gnome-vfs" ,gnome-vfs)
10226 ("libxml2" ,libxml2)
10227 ("libxslt" ,libxslt)
10231 `(("intltool" ,intltool)
10232 ("scrollkeeper" ,scrollkeeper)
10233 ("pkg-config" ,pkg-config)))
10234 (home-page "https://wiki.gnome.org/Apps/Planner")
10235 (synopsis "Project management software for the GNOME desktop")
10237 "GNOME Planner is a project management tool based on the Work Breakdown
10238 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10239 the resources, tasks, and constraints that you define, Planner generates
10240 various views into a project. For example, Planner can show a Gantt chart of
10241 the project. It can show a detailed summary of tasks including their
10242 duration, cost, and current progress. It can also show a report of resource
10243 utilization that highlights under-utilized and over-utilized resources. These
10244 views can be printed as PDF or PostScript files, or exported to HTML.")
10245 (license license:gpl2+)))
10247 (define-public lollypop
10254 (uri (string-append "https://adishatz.org/lollypop/"
10255 "lollypop-" version ".tar.xz"))
10257 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10258 (build-system meson-build-system)
10260 `(#:imported-modules
10261 (,@%meson-build-system-modules
10262 (guix build python-build-system))
10264 ((guix build meson-build-system)
10265 ((guix build python-build-system) #:prefix python:)
10266 (guix build utils))
10268 #:tests? #f ; no test suite
10270 (modify-phases %standard-phases
10271 (add-after 'install 'wrap-program
10272 (lambda* (#:key outputs #:allow-other-keys)
10273 (let ((out (assoc-ref outputs "out"))
10274 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10275 (wrap-program (string-append out "/bin/lollypop")
10276 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10278 (add-after 'install 'wrap-python
10279 (assoc-ref python:%standard-phases 'wrap)))))
10281 `(("intltool" ,intltool)
10282 ("itstool" ,itstool)
10283 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10284 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10285 ("pkg-config" ,pkg-config)))
10287 `(("glib-networking" ,glib-networking)
10288 ("gobject-introspection" ,gobject-introspection)
10289 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10290 ("gst-plugins-base" ,gst-plugins-base)
10291 ("libnotify" ,libnotify)
10292 ("libsecret" ,libsecret)
10293 ("libhandy" ,libhandy)
10294 ("libsoup" ,libsoup)
10296 ("python-beautifulsoup4" ,python-beautifulsoup4)
10297 ("python-gst" ,python-gst)
10298 ("python-pil" ,python-pillow)
10299 ("python-pycairo" ,python-pycairo)
10300 ("python-pygobject" ,python-pygobject)
10301 ("python-pylast" ,python-pylast)
10302 ("totem-pl-parser" ,totem-pl-parser)
10303 ("webkitgtk" ,webkitgtk)))
10305 `(;; gst-plugins-base is required to start Lollypop,
10306 ;; the others are required to play streaming.
10307 ("gst-plugins-good" ,gst-plugins-good)
10308 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10309 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10310 (synopsis "GNOME music playing application")
10312 "Lollypop is a music player designed to play well with GNOME desktop.
10313 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10314 from artists and tracks from the web. It also fetches cover artworks
10315 automatically and it can stream songs from online music services and charts.")
10316 (license license:gpl3+)))
10318 (define-public gnome-video-effects
10320 (name "gnome-video-effects")
10324 (uri (string-append "mirror://gnome/sources/" name "/"
10325 (version-major+minor version) "/" name "-"
10326 version ".tar.xz"))
10329 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10330 (build-system meson-build-system)
10332 `(("gettext" ,gettext-minimal)
10333 ("pkg-config" ,pkg-config)))
10334 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10335 (synopsis "Video effects for Cheese and other GNOME applications")
10337 "A collection of GStreamer video filters and effects to be used in
10338 photo-booth-like software, such as Cheese.")
10339 (license license:gpl2+)))
10341 (define-public cheese
10347 (uri (string-append "mirror://gnome/sources/" name "/"
10348 (version-major+minor version) "/" name "-"
10349 version ".tar.xz"))
10352 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10354 `(#:glib-or-gtk? #t
10355 ;; Tests require GDK.
10358 (modify-phases %standard-phases
10359 (add-after 'unpack 'skip-gtk-update-icon-cache
10361 ;; Don't create 'icon-theme.cache'
10362 (substitute* "meson_post_install.py"
10363 (("gtk-update-icon-cache") (which "true")))
10365 (add-after 'unpack 'patch-docbook-xml
10366 (lambda* (#:key inputs #:allow-other-keys)
10367 ;; Avoid a network connection attempt during the build.
10368 (substitute* '("docs/reference/cheese.xml"
10369 "docs/reference/cheese-docs.xml")
10370 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10371 (string-append (assoc-ref inputs "docbook-xml")
10372 "/xml/dtd/docbook/docbookx.dtd")))
10374 (add-after 'install 'wrap-cheese
10375 (lambda* (#:key inputs outputs #:allow-other-keys)
10376 (let ((out (assoc-ref outputs "out"))
10377 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10378 (wrap-program (string-append out "/bin/cheese")
10379 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10381 (build-system meson-build-system)
10383 `(("docbook-xsl" ,docbook-xsl)
10384 ("docbook-xml" ,docbook-xml-4.3)
10385 ("gettext" ,gettext-minimal)
10386 ("glib:bin" ,glib "bin")
10387 ("gtk-doc" ,gtk-doc)
10388 ("itstool" ,itstool)
10389 ("libxml2" ,libxml2)
10390 ("libxslt" ,libxslt)
10391 ("pkg-config" ,pkg-config)
10394 `(("gnome-video-effects" ,gnome-video-effects)
10395 ("clutter" ,clutter)
10396 ("clutter-gst" ,clutter-gst)
10397 ("clutter-gtk" ,clutter-gtk)
10398 ("libcanberra" ,libcanberra)
10399 ("gdk-pixbuf" ,gdk-pixbuf)
10401 ("gstreamer" ,gstreamer)))
10403 `(("gnome-desktop" ,gnome-desktop)
10404 ("gobject-introspection" ,gobject-introspection)
10405 ("gst-plugins-base" ,gst-plugins-base)
10406 ("gst-plugins-good" ,gst-plugins-good)
10407 ("gst-plugins-bad" ,gst-plugins-bad)
10410 ("libxtst" ,libxtst)))
10411 (home-page "https://wiki.gnome.org/Apps/Cheese")
10412 (synopsis "Webcam photo booth software for GNOME")
10414 "Cheese uses your webcam to take photos and videos. Cheese can also
10415 apply fancy special effects and lets you share the fun with others.")
10416 (license license:gpl2+)))
10418 (define-public passwordsafe
10420 (name "passwordsafe")
10425 (uri (git-reference
10426 (url "https://gitlab.gnome.org/World/PasswordSafe")
10428 (file-name (git-file-name name version))
10430 (base32 "0pi2l4gwf8paxm858mxrcsk5nr0c0zw5ycax40mghndb6b1qmmhf"))))
10431 (build-system meson-build-system)
10433 `(#:glib-or-gtk? #t
10435 (modify-phases %standard-phases
10436 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10437 (lambda* (#:key outputs #:allow-other-keys)
10438 (let ((prog (string-append (assoc-ref outputs "out")
10439 "/bin/gnome-passwordsafe"))
10440 (pylib (string-append (assoc-ref outputs "out")
10442 ,(version-major+minor
10443 (package-version python))
10444 "/site-packages")))
10446 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10447 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10450 `(("desktop-file-utils" ,desktop-file-utils)
10451 ("gettext" ,gettext-minimal)
10452 ("glib:bin" ,glib "bin")
10453 ("gobject-introspection" ,gobject-introspection)
10454 ("gtk+:bin" ,gtk+ "bin")
10455 ("pkg-config" ,pkg-config)))
10458 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10460 ("libhandy" ,libhandy-0.0)
10461 ("libpwquality" ,libpwquality)
10462 ("python-pygobject" ,python-pygobject)
10463 ("python-pykeepass" ,python-pykeepass)))
10464 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10465 (synopsis "Password manager for the GNOME desktop")
10467 "Password Safe is a password manager which makes use of the KeePass v4
10468 format. It integrates perfectly with the GNOME desktop and provides an easy
10469 and uncluttered interface for the management of password databases.")
10470 (license license:gpl3+)))
10472 (define-public sound-juicer
10474 (name "sound-juicer")
10479 (uri (string-append "mirror://gnome/sources/" name "/"
10480 (version-major+minor version) "/"
10481 name "-" version ".tar.xz"))
10484 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10485 (build-system glib-or-gtk-build-system)
10487 `(("desktop-file-utils" ,desktop-file-utils)
10488 ("intltool" ,intltool)
10489 ("itstool" ,itstool)
10490 ("pkg-config" ,pkg-config)
10491 ("xmllint" ,libxml2)))
10494 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10495 ("gstreamer" ,gstreamer)
10496 ("gst-plugins-base" ,gst-plugins-base)
10497 ("gst-plugins-good" ,gst-plugins-good)
10498 ("iso-codes" ,iso-codes)
10499 ("libbrasero-media3" ,brasero)
10500 ("libcanberra" ,libcanberra)
10501 ("libdiscid" ,libdiscid)
10502 ("libmusicbrainz" ,libmusicbrainz)
10504 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10505 (synopsis "Audio music cd ripper")
10506 (description "Sound Juicer extracts audio from compact discs and convert it
10507 into audio files that a personal computer or digital audio player can play.
10508 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10509 mp3, Ogg Vorbis and FLAC")
10510 (license license:gpl2+)))
10512 (define-public soundconverter
10514 (name "soundconverter")
10519 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10520 version "/+download/"
10521 "soundconverter-" version ".tar.xz"))
10524 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10525 (build-system glib-or-gtk-build-system)
10527 `(#:imported-modules ((guix build python-build-system)
10528 (guix build glib-or-gtk-build-system)
10529 ,@%gnu-build-system-modules)
10531 #:modules ((guix build glib-or-gtk-build-system)
10533 ((guix build gnu-build-system) #:prefix gnu:)
10534 ((guix build python-build-system) #:prefix python:))
10537 (modify-phases %standard-phases
10538 (add-after 'install 'wrap-soundconverter-for-python
10539 (assoc-ref python:%standard-phases 'wrap))
10540 (add-after 'install 'wrap-soundconverter
10541 (lambda* (#:key inputs outputs #:allow-other-keys)
10542 (let ((out (assoc-ref outputs "out"))
10543 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10544 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10545 (wrap-program (string-append out "/bin/soundconverter")
10546 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10547 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10550 `(("intltool" ,intltool)
10551 ("pkg-config" ,pkg-config)
10552 ("glib:bin" ,glib "bin")))
10556 ("python-pygobject" ,python-pygobject)
10557 ("gstreamer" ,gstreamer)
10558 ("gst-plugins-base" ,gst-plugins-base)))
10559 (home-page "https://soundconverter.org/")
10560 (synopsis "Convert between audio formats with a graphical interface")
10562 "SoundConverter supports converting between many audio formats including
10563 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10564 configurable file renaming. ")
10565 (license license:gpl3)))
10567 (define-public workrave
10570 (version "1.10.42")
10574 (uri (git-reference
10575 (url "https://github.com/rcaelers/workrave")
10576 (commit (string-append "v" (string-map
10577 (match-lambda (#\. #\_) (chr chr))
10579 (file-name (git-file-name name version))
10581 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10582 (build-system glib-or-gtk-build-system)
10584 ;; The only tests are maintainer tests (in po/), which fail.
10586 (inputs `(("glib" ,glib)
10588 ("gdk-pixbuf" ,gdk-pixbuf)
10592 ("libxtst" ,libxtst)
10596 ("libxscrnsaver" ,libxscrnsaver)))
10597 (native-inputs `(("boost" ,boost)
10598 ("pkg-config" ,pkg-config)
10599 ("gettext" ,gettext-minimal)
10600 ("autoconf" ,autoconf)
10601 ("autoconf-archive" , autoconf-archive)
10602 ("automake" ,automake)
10603 ("libtool" ,libtool)
10604 ("intltool" ,intltool)
10605 ("gobject-introspection" ,gobject-introspection)
10606 ("python3" ,python-3)
10607 ("python-jinja2" ,python-jinja2)))
10608 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10610 "Workrave is a program that assists in the recovery and prevention of
10611 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10612 micro-pauses and rest breaks, and restricts you to your daily limit.")
10613 (home-page "http://www.workrave.org")
10614 (license license:gpl3+)))
10616 (define-public ghex
10622 (uri (string-append "mirror://gnome/sources/ghex/"
10623 (version-major+minor version) "/"
10624 "ghex-" version ".tar.xz"))
10627 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10628 (build-system meson-build-system)
10630 '(#:glib-or-gtk? #t
10632 (modify-phases %standard-phases
10633 (add-after 'unpack 'skip-gtk-update-icon-cache
10634 ;; Don't create 'icon-theme.cache'.
10636 (substitute* "meson_post_install.py"
10637 (("gtk-update-icon-cache") (which "true")))
10640 `(("pkg-config" ,pkg-config)
10641 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10642 ("gnome-common" ,gnome-common)
10644 ("intltool" ,intltool)
10645 ("yelp-tools" ,yelp-tools)
10646 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10650 (synopsis "GNOME hexadecimal editor")
10651 (description "The GHex program can view and edit files in two ways:
10652 hexadecimal or ASCII. It is useful for editing binary files in general.")
10653 (home-page "https://wiki.gnome.org/Apps/Ghex")
10654 (license license:gpl2)))
10656 (define-public libdazzle
10662 (uri (string-append "mirror://gnome/sources/libdazzle/"
10663 (version-major+minor version) "/"
10664 "libdazzle-" version ".tar.xz"))
10667 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10668 (build-system meson-build-system)
10671 (modify-phases %standard-phases
10672 (add-before 'check 'pre-check
10674 ;; Tests require a running X server.
10675 (system "Xvfb :1 &")
10676 (setenv "DISPLAY" ":1")
10679 `(("glib" ,glib "bin") ; glib-compile-resources
10680 ("pkg-config" ,pkg-config)
10682 ("xorg-server" ,xorg-server-for-tests)))
10685 ("gobject-introspection" ,gobject-introspection)
10688 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10689 (synopsis "Companion library to GObject and Gtk+")
10690 (description "The libdazzle library is a companion library to GObject and
10691 Gtk+. It provides various features that the authors wish were in the
10692 underlying library but cannot for various reasons. In most cases, they are
10693 wildly out of scope for those libraries. In other cases, they are not quite
10694 generic enough to work for everyone.")
10695 (license license:gpl3+)))
10697 (define-public evolution
10703 (uri (string-append "mirror://gnome/sources/evolution/"
10704 (version-major+minor version) "/"
10705 "evolution-" version ".tar.xz"))
10708 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
10709 (build-system cmake-build-system)
10711 `(#:imported-modules (,@%cmake-build-system-modules
10712 (guix build glib-or-gtk-build-system))
10713 #:modules ((guix build cmake-build-system)
10714 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10715 (guix build utils))
10717 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10718 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10719 ; in four years and cannot be built.
10721 (modify-phases %standard-phases
10722 ;; The build system attempts to install user interface modules to the
10723 ;; output directory of the "evolution-data-server" package. This
10724 ;; change redirects that change.
10725 (add-after 'unpack 'patch-ui-module-dir
10726 (lambda* (#:key outputs #:allow-other-keys)
10727 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10728 (("\\$\\{edsuimoduledir\\}")
10729 (string-append (assoc-ref outputs "out")
10730 "/lib/evolution-data-server/ui-modules")))
10732 (add-after 'install 'glib-or-gtk-compile-schemas
10733 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10734 (add-after 'install 'glib-or-gtk-wrap
10735 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10737 `(("glib" ,glib "bin") ; glib-mkenums
10738 ("pkg-config" ,pkg-config)
10739 ("intltool" ,intltool)
10740 ("itstool" ,itstool)))
10742 `(("enchant" ,enchant)
10743 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10745 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10746 ("gnome-autoar" ,gnome-autoar)
10747 ("gnome-desktop" ,gnome-desktop)
10749 ("highlight" ,highlight)
10750 ("libcanberra" ,libcanberra)
10751 ("libgweather" ,libgweather)
10752 ("libnotify" ,libnotify)
10753 ("libsoup" ,libsoup)
10755 ("openldap" ,openldap)
10756 ("webkitgtk" ,webkitgtk)
10758 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10759 (synopsis "Manage your email, contacts and schedule")
10760 (description "Evolution is a personal information management application
10761 that provides integrated mail, calendaring and address book
10763 ;; See COPYING for details.
10764 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10765 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10766 license:lgpl2.1+)))) ; smime/lib/*
10768 (define-public gthumb
10774 (uri (string-append "mirror://gnome/sources/gthumb/"
10775 (version-major+minor version) "/"
10776 "gthumb-" version ".tar.xz"))
10779 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
10780 (build-system meson-build-system)
10782 `(#:glib-or-gtk? #t
10784 ;; Ensure the RUNPATH contains all installed library locations.
10785 (list (string-append "-Dc_link_args=-Wl,-rpath="
10786 (assoc-ref %outputs "out")
10787 "/lib/gthumb/extensions")
10788 (string-append "-Dcpp_link_args=-Wl,-rpath="
10789 (assoc-ref %outputs "out")
10790 "/lib/gthumb/extensions"))))
10792 `(("pkg-config" ,pkg-config)
10793 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10794 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10795 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10796 ("intltool" ,intltool)
10797 ("itstool" ,itstool)))
10801 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10802 ("gstreamer" ,gstreamer)
10803 ("clutter" ,clutter)
10804 ("clutter-gst" ,clutter-gst)
10805 ("clutter-gtk" ,clutter-gtk)
10806 ("libjpeg" ,libjpeg-turbo)
10807 ("libtiff" ,libtiff)
10808 ("libraw" ,libraw)))
10809 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10810 (synopsis "GNOME image viewer and browser")
10811 (description "GThumb is an image viewer, browser, organizer, editor and
10812 advanced image management tool")
10813 (license license:gpl2+)))
10815 (define-public terminator
10817 (name "terminator")
10821 (uri (string-append "https://github.com/gnome-" name "/" name "/"
10822 "releases/download/v" version "/"
10823 name "-" version ".tar.gz"))
10826 "1wbkfp0nk6x9bcwi681zy30qmrp4h754sdz6b7hi9j22mmvdd50z"))))
10827 (build-system python-build-system)
10829 `(("gettext" ,gettext-minimal)
10830 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10831 ("gobject-introspection" ,gobject-introspection)
10832 ("intltool" ,intltool)
10833 ("pkg-config" ,pkg-config)
10834 ("python-psutil" ,python-psutil)
10835 ("python-pytest-runner" ,python-pytest-runner)
10836 ("python-pytest" ,python-pytest)))
10839 ("dbus-glib" ,dbus-glib)
10840 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10842 ("python-pycairo" ,python-pycairo)
10843 ("python-pygobject" ,python-pygobject)
10846 `(("python-configobj" ,python-configobj)))
10848 `(#:imported-modules ((guix build glib-or-gtk-build-system)
10849 ,@%python-build-system-modules)
10850 #:modules ((guix build python-build-system)
10851 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10852 (guix build utils))
10854 (modify-phases %standard-phases
10856 'install 'wrap-program
10857 (lambda* (#:key outputs #:allow-other-keys)
10858 (let ((prog (string-append (assoc-ref outputs "out")
10859 "/bin/terminator"))
10860 (pylib (string-append (assoc-ref outputs "out")
10862 ,(version-major+minor
10863 (package-version python))
10864 "/site-packages")))
10866 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10867 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10869 (add-after 'wrap-program 'glib-or-gtk-wrap
10870 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10871 (home-page "https://gnome-terminator.org/")
10872 (synopsis "Store and run multiple GNOME terminals in one window")
10874 "Terminator allows you to run multiple GNOME terminals in a grid and
10875 tabs, and it supports drag and drop re-ordering of terminals.")
10876 (license license:gpl2)))
10878 (define-public libhandy
10885 (uri (git-reference
10886 (url "https://gitlab.gnome.org/GNOME/libhandy")
10888 (file-name (git-file-name name version))
10890 (base32 "0flgwlm921801i3ns0dwqpnxl89f3rzn4y9h723i13bmflch3in7"))))
10891 (build-system meson-build-system)
10893 `(#:configure-flags
10894 '("-Dglade_catalog=enabled"
10897 (modify-phases %standard-phases
10898 (add-before 'check 'pre-check
10900 ;; Tests require a running X server.
10901 (system "Xvfb :1 &")
10902 (setenv "DISPLAY" ":1")
10907 ("libxml2" ,libxml2)))
10909 `(("glib:bin" ,glib "bin")
10910 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10912 ("gtk-doc" ,gtk-doc)
10913 ("pkg-config" ,pkg-config)
10914 ("gettext" ,gettext-minimal)
10916 ;; Test suite dependencies.
10917 ("xorg-server" ,xorg-server-for-tests)
10918 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10919 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
10920 (synopsis "Library full of GTK+ widgets for mobile phones")
10921 (description "The aim of the handy library is to help with developing user
10922 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
10923 for usage on small and big screens.")
10924 (license license:lgpl2.1+)))
10926 (define-public libhandy-0.0
10933 (uri (git-reference
10934 (url "https://gitlab.gnome.org/GNOME/libhandy")
10935 (commit (string-append "v" version))))
10936 (file-name (git-file-name "libhandy" version))
10938 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
10940 (substitute-keyword-arguments (package-arguments libhandy)
10941 ((#:configure-flags flags)
10942 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
10944 (define-public libgit2-glib
10946 (name "libgit2-glib")
10947 (version "0.99.0.1")
10950 (uri (string-append "mirror://gnome/sources/" name "/"
10951 (version-major+minor version) "/"
10952 name "-" version ".tar.xz"))
10955 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
10956 (build-system meson-build-system)
10958 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
10959 ("gobject-introspection" ,gobject-introspection)
10960 ("pkg-config" ,pkg-config)
10961 ("python-pygobject" ,python-pygobject)
10962 ("python-wrapper" ,python-wrapper)
10966 ("libssh2" ,libssh2)))
10968 `(;; In Requires of libgit2-glib.pc.
10969 ("libgit2" ,libgit2)))
10970 (synopsis "GLib wrapper around the libgit2 Git access library")
10971 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
10972 access library. It only implements the core plumbing functions, not really the
10973 higher level porcelain stuff.")
10974 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
10975 (license license:gpl2+)))
10977 (define-public gitg
10983 (uri (string-append "mirror://gnome/sources/" name "/"
10984 (version-major+minor version) "/"
10985 name "-" version ".tar.xz"))
10988 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
10989 (build-system meson-build-system)
10991 `(#:glib-or-gtk? #t
10993 (modify-phases %standard-phases
10994 (add-after 'unpack 'disable-post-install-partially
10996 (substitute* "meson_post_install.py"
10997 (("'python'") ; there are no python sources to compile
10998 (string-append "'" (which "true") "'"))
10999 (("gtk-update-icon-cache") (which "true")))
11001 (add-after 'unpack 'fix-test-sources
11003 (substitute* "tests/libgitg/test-commit.vala"
11004 (("/bin/bash") (which "bash")))
11006 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11007 (lambda* (#:key outputs #:allow-other-keys)
11008 (let ((prog (string-append (assoc-ref outputs "out")
11011 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11015 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11017 ("gtkspell3" ,gtkspell3)
11018 ("gtksourceview" ,gtksourceview-3)
11019 ("json-glib" ,json-glib)
11020 ("libdazzle" ,libdazzle)
11022 ("libgit2-glib" ,libgit2-glib)
11023 ("libpeas" ,libpeas)
11024 ("libsecret" ,libsecret)
11025 ("libsoup" ,libsoup)
11026 ("libxml2" ,libxml2)))
11028 `(("glib:bin" ,glib "bin")
11029 ("gtk+:bin" ,gtk+ "bin")
11030 ("gobject-introspection" ,gobject-introspection)
11031 ("intltool" ,intltool)
11032 ("pkg-config" ,pkg-config)
11034 (synopsis "Graphical user interface for git")
11036 "gitg is a graphical user interface for git. It aims at being a small,
11037 fast and convenient tool to visualize the history of git repositories.
11038 Besides visualization, gitg also provides several utilities to manage your
11039 repository and commit your work.")
11040 (home-page "https://wiki.gnome.org/Apps/Gitg")
11041 (license license:gpl2+)))
11043 (define-public gamin
11049 (uri (string-append "mirror://gnome/sources/" name "/"
11050 (version-major+minor version) "/"
11051 name "-" version ".tar.bz2"))
11054 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11055 (build-system gnu-build-system)
11058 (modify-phases %standard-phases
11059 (add-after 'unpack 'remove-deprecated-macro
11061 (substitute* '("server/gam_node.c"
11062 "server/gam_subscription.h"
11063 "server/gam_node.h"
11064 "server/gam_subscription.c")
11065 (("G_CONST_RETURN") "const"))
11070 `(("intltool" ,intltool)
11071 ("pkg-config" ,pkg-config)))
11072 (home-page "https://people.gnome.org/~veillard/gamin/")
11073 (synopsis "File alteration monitor")
11075 "Gamin is a file and directory monitoring system defined to be a subset
11076 of the FAM (File Alteration Monitor) system. This is a service provided by a
11077 library which detects when a file or a directory has been modified.")
11078 (license license:gpl2+)))
11080 (define-public gnome-mahjongg
11082 (name "gnome-mahjongg")
11086 (uri (git-reference
11087 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11089 (file-name (git-file-name name version))
11092 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11093 (build-system meson-build-system)
11095 `(#:glib-or-gtk? #t))
11097 `(("appstream-glib" ,appstream-glib)
11098 ("gettext" ,gettext-minimal)
11099 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11100 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11101 ("itstool" ,itstool)
11102 ("pkg-config" ,pkg-config)
11105 `(("dconf" ,dconf)))
11109 ("librsvg" ,librsvg)))
11110 (synopsis "Mahjongg tile-matching game")
11111 (description "GNOME Mahjongg is a game based on the classic Chinese
11112 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11113 and a high score table.")
11114 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11115 (license license:gpl2+)))
11117 (define-public gnome-themes-extra
11119 (name "gnome-themes-extra")
11124 (uri (string-append "mirror://gnome/sources/" name "/"
11125 (version-major+minor version) "/" name "-"
11126 version ".tar.xz"))
11129 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11130 (build-system gnu-build-system)
11132 '(#:configure-flags
11133 ;; Don't create 'icon-theme.cache'.
11134 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11135 (true (string-append coreutils "/bin/true")))
11136 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11138 `(("glib:bin" ,glib "bin")
11139 ("intltool" ,intltool)
11140 ("pkg-config" ,pkg-config)))
11145 ("librsvg" ,librsvg)
11146 ("libxml2" ,libxml2)))
11147 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11148 (synopsis "GNOME Extra Themes")
11149 (description "This package provides themes and related elements that don't
11150 really fit in other upstream packages. It offers legacy support for GTK+ 2
11151 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11152 index files needed for Adwaita to be used outside of GNOME.")
11153 (license license:lgpl2.1+)))
11155 (define-public gnote
11162 (uri (string-append "mirror://gnome/sources/" name "/"
11163 (version-major+minor version) "/"
11164 "gnote-" version ".tar.xz"))
11166 (base32 "1ingbaw4d8vpjn083xvzqw7kz8z0k2bx7msk78pbzd68bwgkadpx"))))
11167 (build-system glib-or-gtk-build-system)
11169 `(("desktop-file-utils" ,desktop-file-utils)
11170 ("glib:bin" ,glib "bin")
11171 ("gobject-introspection" ,gobject-introspection)
11172 ("intltool" ,intltool)
11173 ("itstool" ,itstool)
11174 ("pkg-config" ,pkg-config)
11175 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11177 `(("glibmm" ,glibmm)
11178 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11182 ("libsecret" ,libsecret)
11183 ("libuuid" ,util-linux "lib")
11184 ("libxml2" ,libxml2)
11185 ("libxslt" ,libxslt)))
11186 (synopsis "Note-taking application for the GNOME desktop")
11188 "Gnote is a note-taking application written for the GNOME desktop
11190 (home-page "https://wiki.gnome.org/Apps/Gnote")
11191 (license license:gpl3+)))
11193 (define-public polari
11199 (uri (string-append "mirror://gnome/sources/polari/"
11200 (version-major+minor version)
11201 "/polari-" version ".tar.xz"))
11204 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11205 (build-system meson-build-system)
11207 `(#:glib-or-gtk? #t
11209 (modify-phases %standard-phases
11210 (add-after 'unpack 'skip-gtk-update-icon-cache
11212 (substitute* "meson/meson-postinstall.sh"
11213 (("gtk-update-icon-cache") (which "true")))
11215 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11216 (lambda* (#:key outputs #:allow-other-keys)
11217 (let ((prog (string-append (assoc-ref outputs "out")
11220 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11224 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11228 ("libsecret" ,libsecret)
11229 ("libsoup" ,libsoup)
11230 ("telepathy-glib" ,telepathy-glib)
11231 ("telepathy-logger" ,telepathy-logger)))
11233 `(("glib:bin" ,glib "bin")
11234 ("gobject-introspection" ,gobject-introspection)
11235 ("intltool" ,intltool)
11236 ("pkg-config" ,pkg-config)
11237 ("yelp-tools" ,yelp-tools)))
11239 `(("telepathy-idle" ,telepathy-idle)
11240 ("telepathy-mission-control" ,telepathy-mission-control)))
11241 (synopsis "Simple IRC Client")
11243 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11244 integrate seamlessly with the GNOME desktop.")
11245 (home-page "https://wiki.gnome.org/Apps/Polari")
11246 (license license:gpl2+)))
11248 (define-public gnome-boxes
11250 (name "gnome-boxes")
11255 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11256 (version-major+minor version) "/"
11257 "gnome-boxes-" version ".tar.xz"))
11259 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11260 (build-system meson-build-system)
11262 '(#:glib-or-gtk? #t
11263 #:configure-flags (list "-Drdp=false"
11264 (string-append "-Dc_link_args=-Wl,-rpath="
11265 (assoc-ref %outputs "out")
11266 "/lib/gnome-boxes"))))
11268 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11269 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11270 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11271 ("itstool" ,itstool)
11272 ("intltool" ,intltool)
11274 ("pkg-config" ,pkg-config)))
11276 `(("libarchive" ,libarchive)
11277 ("glib-networking" ,glib-networking) ;for TLS support
11278 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11280 ("gtk-vnc" ,gtk-vnc)
11281 ("libosinfo" ,libosinfo)
11282 ("libsecret" ,libsecret)
11283 ("libsoup" ,libsoup)
11285 ("libvirt" ,libvirt)
11286 ("libvirt-glib" ,libvirt-glib)
11287 ("libxml" ,libxml2)
11288 ("spice-gtk" ,spice-gtk)
11289 ("sparql-query" ,sparql-query)
11291 ("webkitgtk" ,webkitgtk)
11292 ("tracker" ,tracker)
11293 ("libgudev" ,libgudev)))
11294 (home-page "https://wiki.gnome.org/Apps/Boxes")
11295 (synopsis "View, access, and manage remote and virtual systems")
11296 (description "GNOME Boxes is a simple application to view, access, and
11297 manage remote and virtual systems. Note that this application requires the
11298 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11299 @command{info '(guix) Virtualization Services'} to learn how to configure
11300 these services on the Guix System.")
11302 ;; For data/icons/empty-boxes.png.
11305 license:lgpl2.0+))))
11307 (define-public geary
11313 (uri (git-reference
11314 (url "https://gitlab.gnome.org/GNOME/geary")
11316 (file-name (git-file-name name version))
11319 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
11320 (build-system meson-build-system)
11322 `(#:glib-or-gtk? #t
11323 #:phases (modify-phases %standard-phases
11324 (add-after 'unpack 'disable-failing-tests
11326 (substitute* "test/meson.build"
11327 (("test\\('client-tests', geary_test_client_bin\\)")
11330 (add-after 'unpack 'disable-postinstall-script
11332 (substitute* "meson.build"
11333 (("meson.add_install_script\\(\
11334 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11337 (add-before 'check 'setup-xvfb
11339 (system "Xvfb :1 &")
11340 (setenv "DISPLAY" ":1")
11343 `(("enchant" ,enchant)
11347 ("gmime" ,gmime-2.6)
11348 ("gnome-online-accounts:lib"
11349 ,gnome-online-accounts "lib")
11352 ("iso-codes" ,iso-codes)
11353 ("json-glib" ,json-glib)
11354 ("libcanberra" ,libcanberra)
11356 ("libhandy" ,libhandy-0.0)
11357 ("libpeas" ,libpeas)
11358 ("libsecret" ,libsecret)
11359 ("libunwind" ,libunwind)
11361 ("webkitgtk" ,webkitgtk)
11364 `(("appstream-glib" ,appstream-glib)
11365 ("cmake-minimal" ,cmake-minimal)
11366 ("desktop-file-utils" ,desktop-file-utils)
11367 ("gettext" ,gettext-minimal)
11368 ("glib:bin" ,glib "bin")
11369 ("gobject-introspection" ,gobject-introspection)
11370 ("itstool" ,itstool)
11371 ("libarchive" ,libarchive)
11372 ("libxml2" ,libxml2)
11373 ("pkg-config" ,pkg-config)
11375 ("xvfb" ,xorg-server-for-tests)))
11376 (synopsis "GNOME email application built around conversations")
11378 "Geary collects related messages together into conversations,
11379 making it easy to find and follow your discussions. Full-text and keyword
11380 search makes it easy to find the email you are looking for. Geary's
11381 full-featured composer lets you send rich, styled text with images, links, and
11382 lists, but also send lightweight, easy to read text messages. Geary
11383 automatically picks up your existing GNOME Online Accounts, and adding more is
11384 easy. Geary has a clean, fast, modern interface that works like you want it
11386 (home-page "https://wiki.gnome.org/Apps/Geary")
11392 license:cc-by-sa3.0
11393 license:public-domain
11397 (define-public glabels
11404 (uri (string-append "mirror://gnome/sources/" name "/"
11405 (version-major+minor version) "/"
11406 "glabels-" version ".tar.xz"))
11408 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11409 (build-system glib-or-gtk-build-system)
11411 `(("gettext" ,gettext-minimal)
11412 ("glib:bin" ,glib "bin")
11413 ("intltool" ,intltool)
11414 ("itstool" ,itstool)
11415 ("pkg-config" ,pkg-config)))
11418 ("librsvg" ,librsvg)
11419 ("libxml2" ,libxml2)))
11420 (home-page "https://glabels.org/")
11421 (synopsis "Program for creating labels and business cards")
11423 "gLabels is a program for creating labels and business cards. It is
11424 designed to work with various laser/ink-jet peel-off label and business
11425 card sheets that you’ll find at most office supply stores.")
11426 (license license:gpl3+)))
11428 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11429 (define-public gnome-latex
11431 (name "gnome-latex")
11436 (uri (string-append "mirror://gnome/sources/" name "/"
11437 (version-major+minor version) "/"
11438 "gnome-latex-" version ".tar.xz"))
11440 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11441 (build-system glib-or-gtk-build-system)
11443 `(("gettext" ,gettext-minimal)
11444 ("glib:bin" ,glib "bin")
11445 ("gobject-introspection" ,gobject-introspection)
11446 ("gtk-doc" ,gtk-doc)
11447 ("intltool" ,intltool)
11448 ("itstool" ,itstool)
11449 ("pkg-config" ,pkg-config)
11455 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11458 ("gtksourceview" ,gtksourceview)
11461 ("uchardet" ,uchardet)))
11462 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11463 (synopsis "LaTeX editor for the GNOME desktop")
11465 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11466 such as build tools, completion of LaTeX commands, structure navigation,
11467 symbol tables, document templates, project management, spell-checking, menus
11469 (license license:gpl3+)))
11471 (define-public setzer
11478 (uri (git-reference
11479 (url "https://github.com/cvfosammmm/Setzer")
11480 (commit (string-append "v" version))))
11481 (file-name (git-file-name name version))
11483 (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"))))
11484 (build-system meson-build-system)
11486 `(#:glib-or-gtk? #t
11488 (modify-phases %standard-phases
11489 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11490 (lambda* (#:key outputs #:allow-other-keys)
11491 (let ((prog (string-append (assoc-ref outputs "out")
11493 (pylib (string-append (assoc-ref outputs "out")
11495 ,(version-major+minor
11496 (package-version python))
11497 "/site-packages")))
11499 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11500 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11503 `(("desktop-file-utils" ,desktop-file-utils)
11504 ("gettext" ,gettext-minimal)
11505 ("glib:bin" ,glib "bin")
11506 ("gobject-introspection" ,gobject-introspection)
11507 ("gtk+:bin" ,gtk+ "bin")))
11509 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11512 ("gtksourceview" ,gtksourceview)
11514 ("poppler" ,poppler)
11515 ("python-pdfminer" ,python-pdfminer-six)
11516 ("python-pycairo" ,python-pycairo)
11517 ("python-pygobject" ,python-pygobject)
11518 ("python-pyxdg" ,python-pyxdg)
11519 ("webkitgtk" ,webkitgtk)
11520 ("xdg-utils" ,xdg-utils)))
11521 (home-page "https://www.cvfosammmm.org/setzer/")
11522 (synopsis "LaTeX editor written in Python with GTK+")
11524 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11525 GTK+. It integrates well with the GNOME desktop environment.")
11526 (license license:gpl3+)))
11528 (define-public libratbag
11535 (uri (git-reference
11536 (url "https://github.com/libratbag/libratbag")
11537 (commit (string-append "v" version))))
11538 (file-name (git-file-name name version))
11540 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11541 (build-system meson-build-system)
11543 `(#:configure-flags
11544 (list "-Dsystemd=false"
11545 "-Dlogind-provider=elogind")
11547 (modify-phases %standard-phases
11548 (add-after 'install 'wrap
11549 (lambda* (#:key inputs outputs #:allow-other-keys)
11550 (let* ((out (assoc-ref outputs "out"))
11551 (site (string-append
11553 ,(version-major+minor (package-version python))
11555 (evdev (string-append
11556 (assoc-ref inputs "python-evdev") site))
11557 (pygo (string-append
11558 (assoc-ref inputs "python-pygobject") site))
11560 `("PYTHONPATH" = (,evdev ,pygo))))
11561 (wrap-program (string-append out "/bin/" "ratbagctl")
11566 ("pkg-config" ,pkg-config)
11568 ("valgrind" ,valgrind)))
11571 ("json-glib" ,json-glib)
11572 ("libevdev" ,libevdev)
11573 ("libsystemd" ,elogind)
11574 ("libunistring" ,libunistring)
11575 ("python-evdev" ,python-evdev)
11576 ("python-pygobject" ,python-pygobject)
11578 (home-page "https://github.com/libratbag/libratbag")
11579 (synopsis "DBus daemon and utility for configuring gaming mice")
11580 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11581 configure input devices, mainly gaming mice. The daemon provides a generic
11582 way to access the various features exposed by these mice and abstracts away
11583 hardware-specific and kernel-specific quirks. There is also the
11584 @command{ratbagctl} command line interface for configuring devices.
11586 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11589 The ratbagd DBus service can be enabled by adding the following service to
11590 your operating-system definition:
11592 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11593 (license license:expat)))
11595 (define-public piper
11602 (uri (git-reference
11603 (url "https://github.com/libratbag/piper")
11606 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11607 (file-name (git-file-name name version))))
11608 (build-system meson-build-system)
11610 `(("gettext" ,gettext-minimal)
11611 ("glib:bin" ,glib "bin")
11612 ("gobject-introspection" ,gobject-introspection)
11613 ("pkg-config" ,pkg-config)
11614 ("python-flake8" ,python-flake8)))
11616 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11618 ("gtk:bin" ,gtk+ "bin")
11619 ("librsvg" ,librsvg)
11620 ("python-evdev" ,python-evdev)
11621 ("python-lxml" ,python-lxml)
11622 ("python-pycairo" ,python-pycairo)
11623 ("python-pygobject" ,python-pygobject)))
11625 `(#:imported-modules ((guix build python-build-system)
11626 ,@%meson-build-system-modules)
11627 #:modules (((guix build python-build-system) #:prefix python:)
11628 (guix build meson-build-system)
11629 (guix build utils))
11630 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11632 (modify-phases %standard-phases
11633 (add-after 'unpack 'dont-update-gtk-icon-cache
11635 (substitute* "meson.build"
11636 (("meson.add_install_script('meson_install.sh')") ""))
11638 ;; TODO: Switch to wrap-script when it is fixed.
11639 (add-after 'install 'wrap-python
11640 (assoc-ref python:%standard-phases 'wrap))
11641 (add-after 'wrap-python 'wrap
11642 (lambda* (#:key outputs #:allow-other-keys)
11644 (string-append (assoc-ref outputs "out" )"/bin/piper")
11645 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11647 (home-page "https://github.com/libratbag/piper/")
11648 (synopsis "Configure bindings and LEDs on gaming mice")
11649 (description "Piper is a GTK+ application for configuring gaming mice with
11650 onboard configuration for key bindings via libratbag. Piper requires
11651 a @command{ratbagd} daemon running with root privileges. It can be run
11652 manually as root, but is preferably configured as a DBus service that can
11653 launch on demand. This can be configured by enabling the following service,
11654 provided there is a DBus service present:
11656 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11657 (license license:gpl2)))
11659 (define-public parlatype
11666 (uri (git-reference
11667 (url "https://github.com/gkarsay/parlatype")
11668 (commit (string-append "v" version))))
11669 (file-name (git-file-name name version))
11671 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11672 (build-system meson-build-system)
11674 `(#:glib-or-gtk? #t
11675 #:tests? #f ;require internet access
11677 (modify-phases %standard-phases
11678 (add-after 'install 'wrap-parlatype
11679 ;; Add gstreamer plugin provided in this package to system's
11681 (lambda* (#:key outputs #:allow-other-keys)
11682 (let* ((out (assoc-ref outputs "out"))
11683 (gst-plugin-path (string-append
11684 out "/lib/gstreamer-1.0/"
11686 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11687 (wrap-program (string-append out "/bin/parlatype")
11688 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11691 `(("appstream-glib" ,appstream-glib)
11692 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11693 ("gettext" ,gettext-minimal)
11694 ("glib" ,glib "bin") ;for glib-compile-resources
11695 ("pkg-config" ,pkg-config)
11696 ("yelp-tools" ,yelp-tools)))
11698 `(("gst-plugins-base" ,gst-plugins-base)
11699 ("gst-plugins-good" ,gst-plugins-good)
11700 ("gstreamer" ,gstreamer)
11702 ("pocketsphinx" ,pocketsphinx)
11703 ("pulseaudio" ,pulseaudio)
11704 ("sphinxbase" ,sphinxbase)))
11705 (home-page "http://gkarsay.github.io/parlatype/")
11706 (synopsis "GNOME audio player for transcription")
11707 (description "Parlatype is an audio player for the GNOME desktop
11708 environment. Its main purpose is the manual transcription of spoken
11710 (license license:gpl3+)))
11712 (define-public jsonrpc-glib
11714 (name "jsonrpc-glib")
11718 (uri (string-append "mirror://gnome/sources/" name "/"
11719 (version-major+minor version) "/"
11720 name "-" version ".tar.xz"))
11723 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11724 (build-system meson-build-system)
11726 `(("json-glib" ,json-glib)
11729 `(("pkg-config" ,pkg-config)
11730 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11731 ("gobject-introspection" ,gobject-introspection)
11733 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11734 (synopsis "JSON-RPC library for GLib")
11735 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11736 peers in either a synchronous or asynchronous fashion. It also allows
11737 communicating using the GVariant serialization format instead of JSON when
11738 both peers support it. You might want that when communicating on a single
11739 host to avoid parser overhead and memory-allocator fragmentation.")
11740 (license license:lgpl2.1+)))
11742 (define-public feedbackd
11745 (version "0.0.0+git20200527")
11748 (uri (git-reference
11749 (url "https://source.puri.sm/Librem5/feedbackd.git")
11750 (commit (string-append "v" version))))
11751 (file-name (git-file-name name version))
11754 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11755 (build-system meson-build-system)
11757 `(("glib:bin" ,glib "bin")
11758 ("gobject-introspection" ,gobject-introspection)
11759 ("pkg-config" ,pkg-config)
11764 ("json-glib" ,json-glib)
11765 ("libgudev" ,libgudev)))
11767 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11768 (synopsis "Haptic/visual/audio feedback via DBus")
11769 (description "Feedbackd provides a DBus daemon to act on events to provide
11770 haptic, visual and audio feedback. It offers the libfeedbackd library and
11771 GObject introspection bindings.")
11772 (home-page "https://source.puri.sm/Librem5/feedbackd")
11773 (license (list license:lgpl2.1+ ; libfeedbackd
11774 license:lgpl3+)))) ; the rest
11776 (define-public sysprof
11783 (uri (string-append "mirror://gnome/sources/sysprof/"
11784 (version-major+minor version) "/"
11785 "sysprof-" version ".tar.xz"))
11787 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11788 (build-system meson-build-system)
11790 `(#:configure-flags
11791 (list (string-append "-Dsystemdunitdir="
11794 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11796 (modify-phases %standard-phases
11797 (add-after 'unpack 'patch-install-script
11799 (substitute* "build-aux/meson/post_install.sh"
11800 (("gtk-update-icon-cache") "true")
11801 (("update-desktop-database") "true"))
11806 ("libdazzle" ,libdazzle)
11807 ("polkit" ,polkit)))
11809 `(("gettext" ,gettext-minimal)
11810 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11811 ("itstool" ,itstool)
11812 ("pkg-config" ,pkg-config)
11813 ("xmllint" ,libxml2)))
11814 ;; This home page is so woefully out of date as to be essentially useless.
11815 ;; (home-page "http://www.sysprof.com")
11816 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11817 (synopsis "System-wide performance profiler for GNU/Linux")
11819 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11820 GNU/Linux system including the kernel and all user-space applications. This
11821 helps find the function(s) in which a program spends most of its time.
11823 It uses the kernel's built-in @code{ptrace} feature and handles shared
11824 libraries. Applications do not need to be recompiled--or even restarted.")
11825 (license license:gpl3+)))
11827 (define-public gnome-builder
11829 (name "gnome-builder")
11833 (uri (string-append "mirror://gnome/sources/" name "/"
11834 (version-major+minor version) "/"
11835 name "-" version ".tar.xz"))
11838 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11839 (build-system meson-build-system)
11841 `(#:configure-flags (list "-Dnetwork_tests=false"
11842 ;; TODO: Enable all plugins...
11843 "-Dplugin_clang=false"
11844 "-Dplugin_flatpak=false"
11845 "-Dplugin_glade=false"
11846 ;; XXX: This one has been shown not to work in
11847 ;; <https://issues.guix.gnu.org/45272>
11848 "-Dplugin_jedi=false"
11849 ;; ... except this one.
11850 "-Dplugin_update_manager=false")
11852 (modify-phases %standard-phases
11853 (add-after 'unpack 'patch-meson
11854 (lambda* (#:key inputs #:allow-other-keys)
11855 (substitute* "build-aux/meson/post_install.py"
11856 (("gtk-update-icon-cache") "true")
11857 (("update-desktop-database") "true"))
11858 (substitute* "src/libide/meson.build"
11860 (string-append (assoc-ref inputs "python-pygobject")
11863 (add-after 'configure 'fix-ninja
11865 ;; #43296: meson(?) incorrectly assumes we want to link
11866 ;; this PIE against a static libselinux.
11867 (substitute* "build.ninja"
11868 (("libselinux\\.a") "libselinux.so"))
11870 (add-before 'check 'pre-check
11872 (system "Xvfb :1 &")
11873 (setenv "DISPLAY" ":1")
11876 `(("devhelp" ,devhelp)
11879 ("json-glib" ,json-glib)
11880 ("jsonrpc-glib" ,jsonrpc-glib)
11881 ("libdazzle" ,libdazzle)
11882 ("libgit2-glib" ,libgit2-glib)
11883 ("libpeas" ,libpeas)
11884 ("python-pygobject" ,python-pygobject)
11885 ("sysprof" ,sysprof)
11886 ("template-glib" ,template-glib)
11888 ("webkitgtk" ,webkitgtk)))
11890 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11892 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11893 ("glib:bin" ,glib "bin")
11894 ("gettext" ,gettext-minimal)
11895 ("pkg-config" ,pkg-config)
11897 ("xorg-server" ,xorg-server-for-tests)))
11898 (home-page "https://wiki.gnome.org/Apps/Builder")
11899 (synopsis "Toolsmith for GNOME-based applications")
11900 (description "Builder aims to be an integrated development
11901 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11902 auto-completion, a mini code map, documentation browsing, Git integration, an
11903 integrated profiler via Sysprof, debugging support, and more.")
11904 (license license:gpl3+)))
11906 (define-public komikku
11913 (uri (git-reference
11914 (url "https://gitlab.com/valos/Komikku/")
11915 (commit (string-append "v" version))))
11916 (file-name (git-file-name name version))
11919 "1mas409c14p6g0v10w4cf5hsjbs0922h6h9k9pyj9s8y7yi2ikz2"))))
11920 (build-system meson-build-system)
11922 `(#:glib-or-gtk? #t
11924 (modify-phases %standard-phases
11925 (add-after 'unpack 'patch-sources
11927 (substitute* "komikku/utils.py"
11928 (("from komikku\\.servers import get_servers_list")
11929 ;; code following that line should migrate old databases
11930 ;; but the line itself results in an import error
11931 "return data_dir_path"))))
11932 (add-after 'unpack 'skip-gtk-update-icon-cache
11934 (substitute* "meson_post_install.py"
11935 (("gtk-update-icon-cache") (which "true")))
11937 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11938 (lambda* (#:key outputs #:allow-other-keys)
11939 (let ((prog (string-append (assoc-ref outputs "out")
11942 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
11943 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11947 ("libhandy" ,libhandy)
11948 ("libnotify" ,libnotify)
11949 ("libsecret" ,libsecret)
11950 ("python-beautifulsoup4" ,python-beautifulsoup4)
11951 ("python-dateparser" ,python-dateparser)
11952 ("python-keyring" ,python-keyring)
11953 ("python-lxml" ,python-lxml)
11954 ("python-magic" ,python-magic)
11955 ("python-pillow" ,python-pillow)
11956 ("python-pure-protobuf" ,python-pure-protobuf)
11957 ("python-pycairo" ,python-pycairo)
11958 ("python-pygobject" ,python-pygobject)
11959 ("python-requests" ,python-requests)
11960 ("python-unidecode" ,python-unidecode)))
11962 `(("desktop-file-utils" ,desktop-file-utils)
11963 ("gettext" ,gettext-minimal)
11964 ("glib:bin" ,glib "bin")
11965 ("gobject-introspection" ,gobject-introspection)
11966 ("pkg-config" ,pkg-config)))
11967 (home-page "https://gitlab.com/valos/Komikku")
11968 (synopsis "Manga reader for GNOME")
11969 (description "Komikku is an online/offline manga reader for GNOME,
11970 developed with the aim of being used with the Librem 5 phone.")
11971 (license license:gpl3+)))
11973 (define-public libgda
11980 (uri (git-reference
11981 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
11982 (commit (string-append "LIBGDA_" (string-replace-substring
11983 version "." "_")))))
11984 (file-name (git-file-name name version))
11986 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
11987 (build-system gnu-build-system)
11989 `(#:configure-flags '("--enable-vala")
11990 ;; There's a race between check_cnc_lock and check_threaded_cnc
11991 ;; in tests/multi-threading.
11992 #:parallel-tests? #f
11994 (modify-phases %standard-phases
11995 (add-after 'unpack 'fix-glade-install
11997 (substitute* "configure.ac"
11998 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
11999 "${datadir}/glade/catalogs")
12000 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12001 "${datadir}/glade/pixmaps"))
12003 (add-before 'check 'pre-check
12004 (lambda* (#:key inputs #:allow-other-keys)
12005 ;; Tests require a running X server.
12006 (system "Xvfb :1 &")
12007 (setenv "DISPLAY" ":1")
12009 (add-after 'install 'symlink-glade-module
12010 (lambda* (#:key outputs #:allow-other-keys)
12011 (let* ((shlib "libgda-ui-5.0.so")
12012 (out (assoc-ref outputs "out"))
12013 (out/lib (string-append out "/lib"))
12014 (moduledir (string-append out/lib "/glade/modules")))
12015 (mkdir-p moduledir)
12016 (symlink (string-append out/lib "/" shlib)
12017 (string-append moduledir "/" shlib))
12020 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12025 ("libsecret" ,libsecret)
12026 ("libxslt" ,libxslt)
12027 ("openssl" ,openssl)
12030 `(("autoconf" ,autoconf)
12031 ("autoconf-archive" ,autoconf-archive)
12032 ("automake" ,automake)
12033 ("glib:bin" ,glib "bin")
12034 ("gnome-common" ,gnome-common)
12035 ("gobject-introspection" ,gobject-introspection)
12036 ("gtk-doc" ,gtk-doc)
12037 ("intltool" ,intltool)
12038 ("libtool" ,libtool)
12039 ("pkg-config" ,pkg-config)
12042 ("xorg-server" ,xorg-server-for-tests)
12043 ("yelp-tools" ,yelp-tools)))
12044 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12045 (synopsis "Uniform data access")
12047 "GNU Data Access (GDA) is an attempt to provide uniform access to
12048 different kinds of data sources (databases, information servers, mail spools,
12049 etc). It is a complete architecture that provides all you need to access
12051 (license license:lgpl2.1+)))
12053 (define-public gtranslator
12055 (name "gtranslator")
12059 (uri (string-append "mirror://gnome/sources/" name "/"
12060 (version-major+minor version) "/"
12061 name "-" version ".tar.xz"))
12064 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12065 (build-system meson-build-system)
12067 `(("json-glib" ,json-glib)
12068 ("jsonrpc-glib" ,jsonrpc-glib)
12069 ("gettext" ,gettext-minimal)
12072 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12074 ("libdazzle" ,libdazzle)
12076 ("libsoup" ,libsoup)))
12078 `(("glib:bin" ,glib "bin")
12079 ("itstool" ,itstool)
12080 ("pkg-config" ,pkg-config)))
12082 `(("gtksourceview" ,gtksourceview))) ; required for source view
12084 `(#:build-type "release"
12087 (modify-phases %standard-phases
12088 (add-after 'unpack 'skip-gtk-update-icon-cache
12090 (substitute* "build-aux/meson/meson_post_install.py"
12091 (("gtk-update-icon-cache") (which "true")))
12093 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12094 (synopsis "Translation making program")
12096 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12097 for the GNOME 3.x platform with many features. It aims to be a very complete
12098 editing environment for translation issues within the GNU gettext/GNOME desktop
12100 (license license:gpl3+)))
12103 (define-public ocrfeeder
12109 (uri (string-append "mirror://gnome/sources/ocrfeeder/"
12110 (version-major+minor version) "/"
12111 "ocrfeeder-" version ".tar.xz"))
12114 "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"))))
12115 (build-system gnu-build-system)
12118 (modify-phases %standard-phases
12120 'install 'wrap-program
12121 (lambda* (#:key outputs #:allow-other-keys)
12122 (let ((prog (string-append (assoc-ref outputs "out")
12123 "/bin/" "ocrfeeder"))
12124 (pylib (string-append (assoc-ref outputs "out")
12126 ,(version-major+minor
12127 (package-version python))
12128 "/site-packages")))
12130 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
12131 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
12134 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
12135 ("gobject-introspection" ,gobject-introspection)
12136 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
12137 ("intltool" ,intltool)
12138 ("itstool" ,itstool)
12139 ("pkg-config" ,pkg-config)
12140 ("xmllint" ,libxml2)))
12142 `(("enchant" ,enchant)
12144 ("goocanvas" ,goocanvas)
12146 ("gtkspell3" ,gtkspell3)
12147 ("libjpeg" ,libjpeg-turbo)
12148 ("libtiff" ,libtiff)
12151 ("python" ,python-wrapper)
12152 ("python-pygobject" ,python-pygobject)
12153 ("python-odfpy" ,python-odfpy)
12154 ("python-pillow" ,python-pillow)
12155 ("python-pyenchant" ,python-pyenchant)
12156 ("python-reportlab" ,python-reportlab)
12157 ("python-sane" ,python-sane)
12158 ("sane-backends" ,sane-backends)
12159 ("tesseract-ocr" ,tesseract-ocr)))
12160 (home-page "https://wiki.gnome.org/Apps/OCRFeeder")
12161 (synopsis "Complete OCR Suite")
12162 (description "OCRFeeder is a complete Optical Character Recognition and
12163 Document Analysis and Recognition program.")
12164 (license license:gpl3+)))