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 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
58 ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
59 ;;; Copyright © 2020 Andy Tai <atai@atai.org>
61 ;;; This file is part of GNU Guix.
63 ;;; GNU Guix is free software; you can redistribute it and/or modify it
64 ;;; under the terms of the GNU General Public License as published by
65 ;;; the Free Software Foundation; either version 3 of the License, or (at
66 ;;; your option) any later version.
68 ;;; GNU Guix is distributed in the hope that it will be useful, but
69 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
70 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
71 ;;; GNU General Public License for more details.
73 ;;; You should have received a copy of the GNU General Public License
74 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
76 (define-module (gnu packages gnome)
77 #:use-module (gnu packages)
78 #:use-module (gnu packages admin)
79 #:use-module (gnu packages aidc)
80 #:use-module (gnu packages aspell)
81 #:use-module (gnu packages autotools)
82 #:use-module (gnu packages avahi)
83 #:use-module (gnu packages backup)
84 #:use-module (gnu packages base)
85 #:use-module (gnu packages bash)
86 #:use-module (gnu packages bison)
87 #:use-module (gnu packages boost)
88 #:use-module (gnu packages build-tools)
89 #:use-module (gnu packages calendar)
90 #:use-module (gnu packages cdrom)
91 #:use-module (gnu packages check)
92 #:use-module (gnu packages cmake)
93 #:use-module (gnu packages compression)
94 #:use-module (gnu packages crates-io)
95 #:use-module (gnu packages crates-graphics)
96 #:use-module (gnu packages crates-gtk)
97 #:use-module (gnu packages cups)
98 #:use-module (gnu packages curl)
99 #:use-module (gnu packages cyrus-sasl)
100 #:use-module (gnu packages databases)
101 #:use-module (gnu packages dbm)
102 #:use-module (gnu packages djvu)
103 #:use-module (gnu packages dns)
104 #:use-module (gnu packages docbook)
105 #:use-module (gnu packages documentation)
106 #:use-module (gnu packages enchant)
107 #:use-module (gnu packages flex)
108 #:use-module (gnu packages fonts)
109 #:use-module (gnu packages file-systems)
110 #:use-module (gnu packages fontutils)
111 #:use-module (gnu packages freedesktop)
112 #:use-module (gnu packages game-development)
113 #:use-module (gnu packages gcc)
114 #:use-module (gnu packages gettext)
115 #:use-module (gnu packages ghostscript)
116 #:use-module (gnu packages gimp)
117 #:use-module (gnu packages gl)
118 #:use-module (gnu packages glib)
119 #:use-module (gnu packages gnupg)
120 #:use-module (gnu packages gnuzilla)
121 #:use-module (gnu packages geo)
122 #:use-module (gnu packages gperf)
123 #:use-module (gnu packages graphviz)
124 #:use-module (gnu packages gstreamer)
125 #:use-module (gnu packages gtk)
126 #:use-module (gnu packages guile)
127 #:use-module (gnu packages ibus)
128 #:use-module (gnu packages icu4c)
129 #:use-module (gnu packages image)
130 #:use-module (gnu packages imagemagick)
131 #:use-module (gnu packages inkscape)
132 #:use-module (gnu packages iso-codes)
133 #:use-module (gnu packages kerberos)
134 #:use-module (gnu packages libcanberra)
135 #:use-module (gnu packages libffi)
136 #:use-module (gnu packages libunistring)
137 #:use-module (gnu packages libunwind)
138 #:use-module (gnu packages libusb)
139 #:use-module (gnu packages linux)
140 #:use-module (gnu packages lirc)
141 #:use-module (gnu packages lua)
142 #:use-module (gnu packages mail)
143 #:use-module (gnu packages mp3)
144 #:use-module (gnu packages multiprecision)
145 #:use-module (gnu packages music)
146 #:use-module (gnu packages ncurses)
147 #:use-module (gnu packages nettle)
148 #:use-module (gnu packages networking)
149 #:use-module (gnu packages ninja)
150 #:use-module (gnu packages node)
151 #:use-module (gnu packages nss)
152 #:use-module (gnu packages openldap)
153 #:use-module (gnu packages package-management)
154 #:use-module (gnu packages password-utils)
155 #:use-module (gnu packages pcre)
156 #:use-module (gnu packages pdf)
157 #:use-module (gnu packages perl)
158 #:use-module (gnu packages photo)
159 #:use-module (gnu packages php)
160 #:use-module (gnu packages pkg-config)
161 #:use-module (gnu packages polkit)
162 #:use-module (gnu packages popt)
163 #:use-module (gnu packages pretty-print)
164 #:use-module (gnu packages protobuf)
165 #:use-module (gnu packages pulseaudio)
166 #:use-module (gnu packages python)
167 #:use-module (gnu packages python-crypto)
168 #:use-module (gnu packages python-web)
169 #:use-module (gnu packages python-xyz)
170 #:use-module (gnu packages rdesktop)
171 #:use-module (gnu packages rdf)
172 #:use-module (gnu packages readline)
173 #:use-module (gnu packages ruby)
174 #:use-module (gnu packages rust)
175 #:use-module (gnu packages samba)
176 #:use-module (gnu packages scanner)
177 #:use-module (gnu packages sdl)
178 #:use-module (gnu packages search)
179 #:use-module (gnu packages selinux)
180 #:use-module (gnu packages slang)
181 #:use-module (gnu packages speech)
182 #:use-module (gnu packages spice)
183 #:use-module (gnu packages sqlite)
184 #:use-module (gnu packages ssh)
185 #:use-module (gnu packages swig)
186 #:use-module (gnu packages tex)
187 #:use-module (gnu packages time)
188 #:use-module (gnu packages tls)
189 #:use-module (gnu packages valgrind)
190 #:use-module (gnu packages version-control)
191 #:use-module (gnu packages video)
192 #:use-module (gnu packages virtualization)
193 #:use-module (gnu packages vpn)
194 #:use-module (gnu packages web)
195 #:use-module (gnu packages webkit)
196 #:use-module (gnu packages xdisorg)
197 #:use-module (gnu packages xiph)
198 #:use-module (gnu packages xml)
199 #:use-module (gnu packages xorg)
200 #:use-module (gnu artwork)
201 #:use-module ((guix build utils) #:select (modify-phases))
202 #:use-module (guix build-system cargo)
203 #:use-module (guix build-system cmake)
204 #:use-module (guix build-system glib-or-gtk)
205 #:use-module (guix build-system gnu)
206 #:use-module (guix build-system meson)
207 #:use-module (guix build-system python)
208 #:use-module (guix build-system trivial)
209 #:use-module (guix download)
210 #:use-module (guix git-download)
211 #:use-module ((guix licenses) #:prefix license:)
212 #:use-module (guix packages)
213 #:use-module (guix utils)
214 #:use-module (guix gexp)
215 #:use-module (guix monads)
216 #:use-module (guix store)
217 #:use-module (ice-9 match)
218 #:use-module (srfi srfi-1))
220 (define-public gupnp-igd
228 (string-append "mirror://gnome/sources/" name "/"
229 (version-major+minor version) "/"
230 name "-" version ".tar.xz"))
232 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
233 (build-system meson-build-system)
234 (outputs '("out" "doc"))
236 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
237 #:configure-flags (list "-Dgtk_doc=true")
239 (modify-phases %standard-phases
240 (add-after 'unpack 'patch-docbook-xml
241 (lambda* (#:key inputs #:allow-other-keys)
242 (with-directory-excursion "doc"
243 (substitute* "gupnp-igd-docs.xml"
244 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
245 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
246 "/xml/dtd/docbook/"))))
248 (add-after 'install 'move-doc
249 (lambda* (#:key outputs #:allow-other-keys)
250 (let* ((out (assoc-ref outputs "out"))
251 (doc (assoc-ref outputs "doc")))
252 (mkdir-p (string-append doc "/share"))
254 (string-append out "/share/gtk-doc")
255 (string-append doc "/share/gtk-doc"))
258 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
259 ("docbook-xsl" ,docbook-xsl)
260 ("glib:bin" ,glib "bin")
261 ("gobject-introspection" ,gobject-introspection)
262 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
264 ("pkg-config" ,pkg-config)))
267 ("glib-networking" ,glib-networking)
270 ("libsoup" ,libsoup)))
271 (synopsis "UPnP IGD for GNOME")
272 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
273 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
274 (license license:lgpl2.1+)))
276 (define-public brasero
282 (uri (string-append "mirror://gnome/sources/brasero/"
283 (version-major+minor version) "/"
284 "brasero-" version ".tar.xz"))
287 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
288 (build-system glib-or-gtk-build-system)
290 `(#:configure-flags (list
291 (string-append "--with-girdir="
292 (assoc-ref %outputs "out")
294 (string-append "--with-typelibdir="
295 (assoc-ref %outputs "out")
296 "/lib/girepository-1.0"))
298 (modify-phases %standard-phases
299 (add-before 'configure 'embed-growisofs
300 (lambda* (#:key inputs #:allow-other-keys)
301 (substitute* "plugins/growisofs/burn-growisofs.c"
302 (("\"growisofs") (string-append "\"" (which "growisofs"))))
305 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
307 `(("intltool" ,intltool)
309 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
310 ("gobject-introspection" ,gobject-introspection)
311 ("pkg-config" ,pkg-config)))
313 `(("dvd+rw-tools" ,dvd+rw-tools)
315 ("gnome-doc-utils" ,gnome-doc-utils)
316 ("gstreamer" ,gstreamer)
317 ("gst-plugins-base" ,gst-plugins-base)
319 ("libcanberra" ,libcanberra)
321 ("libnotify" ,libnotify)
324 ("totem-pl-parser" ,totem-pl-parser)))
325 (home-page "https://wiki.gnome.org/Apps/Brasero")
326 (synopsis "CD/DVD burning tool for Gnome")
327 (description "Brasero is an application to burn CD/DVD for the Gnome
328 Desktop. It is designed to be as simple as possible and has some unique
329 features to enable users to create their discs easily and quickly.")
330 (license license:gpl2+)))
332 (define-public libcloudproviders
334 (name "libcloudproviders")
340 (string-append "mirror://gnome/sources/" name "/"
341 (version-major+minor version) "/"
342 name "-" version ".tar.xz"))
344 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
345 (build-system meson-build-system)
346 (outputs '("out" "doc"))
348 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
351 "-Denable-gtk-doc=true")
353 (modify-phases %standard-phases
354 (add-after 'install 'move-doc
355 (lambda* (#:key outputs #:allow-other-keys)
356 (let* ((out (assoc-ref outputs "out"))
357 (doc (assoc-ref outputs "doc")))
358 (mkdir-p (string-append doc "/share"))
360 (string-append out "/share/gtk-doc")
361 (string-append doc "/share/gtk-doc"))
364 `(("glib:bin" ,glib "bin")
365 ("gobject-introspection" ,gobject-introspection)
367 ("pkg-config" ,pkg-config)
371 ("glib-networking" ,glib-networking)))
372 (synopsis "Cloudproviders Integration API")
373 (description "Libcloudproviders is a DBus API that allows cloud storage sync
374 clients to expose their services. Clients such as file managers and desktop
375 environments can then provide integrated access to the cloud providers
377 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
378 (license license:lgpl3+)))
380 (define-public libgrss
388 (string-append "mirror://gnome/sources/" name "/"
389 (version-major+minor version) "/"
390 name "-" version ".tar.xz"))
392 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
393 (build-system glib-or-gtk-build-system)
394 (outputs '("out" "doc"))
399 (string-append "--with-html-dir="
400 (assoc-ref %outputs "doc")
401 "/share/gtk-doc/html"))
403 (modify-phases %standard-phases
404 (add-after 'unpack 'patch-docbook-xml
405 (lambda* (#:key inputs #:allow-other-keys)
406 (with-directory-excursion "doc/reference"
407 (substitute* "libgrss-docs.sgml"
408 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
409 (string-append (assoc-ref inputs "docbook-xml")
410 "/xml/dtd/docbook/"))))
413 `(("docbook-xml" ,docbook-xml-4.1.2)
414 ("gobject-introspection" ,gobject-introspection)
416 ("pkg-config" ,pkg-config)))
420 ("libxml2" ,libxml2)))
421 (synopsis "Glib library for feeds")
422 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
424 (home-page "https://wiki.gnome.org/Projects/Libgrss")
425 (license license:lgpl3+)))
427 (define-public gnome-js-common
429 (name "gnome-js-common")
435 (string-append "mirror://gnome/sources/" name "/"
436 (version-major+minor version) "/"
437 name "-" version ".tar.gz"))
439 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
440 (build-system glib-or-gtk-build-system)
444 "--disable-static")))
446 `(("gettext" ,gettext-minimal)
447 ("intltool" ,intltool)
448 ("pkg-config" ,pkg-config)))
449 (synopsis "Common JS Modules")
450 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
452 (home-page "https://wiki.gnome.org/Projects/Seed")
453 (license license:gpl3+)))
463 (string-append "mirror://gnome/sources/" name "/"
464 (version-major+minor version) "/"
465 name "-" version ".tar.xz"))
467 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
469 (search-patches "seed-webkit.patch"))))
470 (build-system glib-or-gtk-build-system)
471 (outputs '("out" "doc"))
476 "--enable-xorg-module"
477 (string-append "--with-html-dir="
478 (assoc-ref %outputs "doc")
479 "/share/gtk-doc/html")
482 (modify-phases %standard-phases
483 ;; The seed-webkit.patch patches configure.ac.
484 ;; So the source files need to be re-bootstrapped.
485 (add-after 'unpack 'trigger-bootstrap
487 (for-each delete-file
492 (add-after 'unpack 'patch-tests
493 (lambda* (#:key outputs #:allow-other-keys)
494 (substitute* (find-files "." "\\.js$")
495 (("#!/usr/bin/env seed")
496 (string-append "#!" (getcwd) "/src/seed")))
498 (add-before 'build 'patch-docbook-xml
499 (lambda* (#:key inputs #:allow-other-keys)
500 (with-directory-excursion "doc"
501 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
502 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
503 (string-append (assoc-ref inputs "docbook-xml")
504 "/xml/dtd/docbook/"))))
507 `(("autoconf" ,autoconf)
508 ("automake" ,automake)
509 ("docbook-xml" ,docbook-xml-4.1.2)
510 ("gettext" ,gettext-minimal)
511 ("gobject-introspection" ,gobject-introspection)
513 ("intltool" ,intltool)
515 ("pkg-config" ,pkg-config)))
519 ("dbus-glib" ,dbus-glib)
520 ("gnome-js-common" ,gnome-js-common)
526 ("readline" ,readline)
528 ("xscrnsaver" ,libxscrnsaver)))
531 ("webkit" ,webkitgtk)))
532 (synopsis "GObject JavaScriptCore bridge")
533 (description "Seed is a library and interpreter, dynamically bridging
534 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
535 GNOME platform. It serves as something which enables you to write standalone
536 applications in JavaScript, or easily enable your application to be extensible
538 (home-page "https://wiki.gnome.org/Projects/Seed")
539 (license license:lgpl2.0+)))
541 (define-public libdmapsharing
543 (name "libdmapsharing")
549 (string-append "https://www.flyn.org/projects/"
550 name "/" name "-" version ".tar.gz"))
552 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
553 (build-system glib-or-gtk-build-system)
554 (outputs '("out" "doc"))
556 `(#:tests? #f ; Tests require networking.
560 (string-append "--with-html-dir="
561 (assoc-ref %outputs "doc")
562 "/share/gtk-doc/html"))
564 (modify-phases %standard-phases
565 (add-after 'unpack 'patch-docbook-xml
566 (lambda* (#:key inputs #:allow-other-keys)
567 (with-directory-excursion "doc"
568 (substitute* "libdmapsharing-4.0-docs.xml"
569 (("http://www.oasis-open.org/docbook/xml/4.3/")
570 (string-append (assoc-ref inputs "docbook-xml")
571 "/xml/dtd/docbook/"))))
575 ("docbook-xml" ,docbook-xml-4.3)
576 ("gobject-introspection" ,gobject-introspection)
577 ("pedansee" ,pedansee)
578 ("pkg-config" ,pkg-config)
582 ("gdk-pixbuf" ,gdk-pixbuf+svg)
584 ("gst-plugins-base" ,gst-plugins-base)
588 ("glib-networking" ,glib-networking)
589 ("gstreamer" ,gstreamer)
590 ("libsoup" ,libsoup)))
591 (synopsis "Media management library")
592 (description "Libdmapsharing is a library which allows programs to access,
593 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
594 It is written in C using GObject and libsoup.")
595 (home-page "https://launchpad.net/gtx")
596 (license license:lgpl2.1+)))
606 (string-append "https://launchpad.net/gtx/trunk/"
607 version "/+download/gtx-" version ".tar.gz"))
609 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
610 (build-system glib-or-gtk-build-system)
611 (outputs '("out" "doc"))
617 (string-append "--with-html-dir="
618 (assoc-ref %outputs "doc")
619 "/share/gtk-doc/html"))))
621 `(("gobject-introspection" ,gobject-introspection)
623 ("pkg-config" ,pkg-config)))
626 (synopsis "GLib Testing Framework")
627 (description "GTX is a small collection of convenience functions intended to
628 enhance the GLib testing framework. With specific emphasis on easing the pain
629 of writing test cases for asynchronous interactions.")
630 (home-page "https://launchpad.net/gtx")
631 (license license:lgpl2.1+)))
641 (string-append "https://launchpad.net/dee/1.0/"
642 version "/+download/dee-" version ".tar.gz"))
644 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
646 (search-patches "dee-vapi.patch"))))
647 (build-system glib-or-gtk-build-system)
648 (outputs '("out" "doc"))
652 "--disable-maintainer-flags"
653 (string-append "--with-pygi-overrides-dir="
654 (assoc-ref %outputs "out")
656 ,(version-major+minor
657 (package-version python))
658 "/site-packages/gi/overrides")
659 (string-append "--with-html-dir="
660 (assoc-ref %outputs "doc")
661 "/share/gtk-doc/html"))
663 (modify-phases %standard-phases
664 (add-after 'unpack 'patch-docbook-xml
665 (lambda* (#:key inputs #:allow-other-keys)
666 (with-directory-excursion "doc/reference/dee-1.0"
667 (substitute* "dee-1.0-docs.sgml"
668 (("http://www.oasis-open.org/docbook/xml/4.3/")
669 (string-append (assoc-ref inputs "docbook-xml")
670 "/xml/dtd/docbook/"))))
672 (add-after 'patch-docbook-xml 'disable-failing-tests
674 (substitute* "tests/test-icu.c"
675 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
677 (("setup, test_ascii_folder, teardown\\);")
680 (add-before 'check 'pre-check
682 ;; Tests require a running dbus-daemon.
683 (system "dbus-daemon &")
684 ;; For missing '/etc/machine-id'.
685 (setenv "DBUS_FATAL_WARNINGS" "0")
689 ("dbus-test-runner" ,dbus-test-runner)
690 ("docbook-xml" ,docbook-xml-4.3)
691 ("gobject-introspection" ,gobject-introspection)
693 ;; Would only be required by configure flag "--enable-extended-tests".
695 ("pkg-config" ,pkg-config)
696 ("pygobject" ,python-pygobject)
697 ("python" ,python-wrapper)
703 (synopsis "Model to synchronize multiple instances over DBus")
704 (description "Dee is a library that uses DBus to provide objects allowing
705 you to create Model-View-Controller type programs across DBus. It also consists
706 of utility objects which extend DBus allowing for peer-to-peer discoverability
707 of known objects without needing a central registrar.")
708 (home-page "https://launchpad.net/dee")
715 (define-public zeitgeist
724 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
726 (string-append "v" version))))
728 (git-file-name name version))
730 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
731 (build-system glib-or-gtk-build-system)
735 "--enable-explain-queries"
739 (modify-phases %standard-phases
740 (add-after 'unpack 'patch-docbook-xml
741 (lambda* (#:key inputs #:allow-other-keys)
742 (with-directory-excursion "doc/libzeitgeist"
743 (substitute* "zeitgeist-gtkdoc-index.sgml"
744 (("http://www.oasis-open.org/docbook/xml/4.3/")
745 (string-append (assoc-ref inputs "docbook-xml")
746 "/xml/dtd/docbook/"))))
748 (add-after 'patch-docbook-xml 'disable-failing-tests
750 (substitute* "test/direct/Makefile.am"
753 (substitute* "test/c/Makefile.am"
757 (add-before 'bootstrap 'remove-autogen-script
759 ;; To honor `autoreconf -vif` by build-system.
760 (delete-file "autogen.sh")
763 `(("autoconf" ,autoconf)
764 ("automake" ,automake)
765 ("docbook-xml" ,docbook-xml-4.3)
766 ("gettext" ,gettext-minimal)
767 ("gobject-introspection" ,gobject-introspection)
770 ("pkg-config" ,pkg-config)
772 ("xorg-server-for-tests" ,xorg-server-for-tests)))
776 ("json-glib" ,json-glib)
778 ("telepathy-glib" ,telepathy-glib)
779 ("python" ,python-wrapper)
780 ("python-rdflib" ,python-rdflib)
781 ("xapian-config" ,xapian)))
784 (synopsis "Desktop Activity Logging")
785 (description "Zeitgeist is a service which logs the users’s activities and
786 events, anywhere from files opened to websites visited and conversations. It
787 makes this information readily available for other applications to use. It is
788 able to establish relationships between items based on similarity and usage
790 (home-page "https://zeitgeist.freedesktop.org/")
797 (define-public gnome-photos
799 (name "gnome-photos")
805 (string-append "mirror://gnome/sources/" name "/"
806 (version-major+minor version) "/"
807 name "-" version ".tar.xz"))
810 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
811 (build-system meson-build-system)
815 (list "-Ddogtail=false" ; Not available
816 ;; Required for RUNPATH validation.
817 (string-append "-Dc_link_args=-Wl,-rpath="
818 (assoc-ref %outputs "out") "/lib/gnome-photos"))
820 (modify-phases %standard-phases
821 (add-after 'install 'wrap-gnome-photos
822 (lambda* (#:key inputs outputs #:allow-other-keys)
824 ((out (assoc-ref outputs "out")))
825 (wrap-program (string-append out "/bin/gnome-photos")
826 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
830 ("desktop-file-utils" ,desktop-file-utils)
831 ("gettext" ,gettext-minimal)
833 ("glib:bin" ,glib "bin")
834 ("gobject-introspection" ,gobject-introspection)
835 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
836 ("gtk+:bin" ,gtk+ "bin")
838 ("pkg-config" ,pkg-config)))
842 ("gdk-pixbuf" ,gdk-pixbuf+svg)
844 ("geocode-glib" ,geocode-glib)
846 ("gnome-online-accounts" ,gnome-online-accounts)
847 ("gnome-online-miners" ,gnome-online-miners)
849 ("grilo-plugins" ,grilo-plugins)
851 ("libdazzle" ,libdazzle)
852 ("libgdata" ,libgdata)
853 ("libgfbgraph" ,gfbgraph)
854 ("libjpeg" ,libjpeg-turbo)
857 ("pygobject" ,python-pygobject)
859 ("tracker-miners" ,tracker-miners)))
860 (synopsis "Access, organize and share your photos on GNOME desktop")
861 (description "GNOME Photos is a simple and elegant replacement for using a
862 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
863 cloud integration is offered through GNOME Online Accounts.")
864 (home-page "https://wiki.gnome.org/Apps/Photos")
865 (license license:gpl3+)))
867 (define-public gnome-music
875 (string-append "mirror://gnome/sources/" name "/"
876 (version-major+minor version) "/"
877 name "-" version ".tar.xz"))
880 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
881 (build-system meson-build-system)
885 (modify-phases %standard-phases
886 (add-after 'install 'wrap-gnome-music
887 (lambda* (#:key inputs outputs #:allow-other-keys)
889 ((out (assoc-ref outputs "out"))
890 (pylib (string-append out "/lib/python"
891 ,(version-major+minor
892 (package-version python))
894 (wrap-program (string-append out "/bin/gnome-music")
895 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
896 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
897 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
898 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
901 `(("desktop-file-utils" ,desktop-file-utils)
902 ("gettext" ,gettext-minimal)
903 ("glib:bin" ,glib "bin")
904 ("gobject-introspection" ,gobject-introspection)
905 ("gtk+:bin" ,gtk+ "bin")
906 ("itstools" ,itstool)
907 ("pkg-config" ,pkg-config)))
909 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
911 ("grilo-plugins" ,grilo-plugins)
912 ("gst-plugins-base" ,gst-plugins-base)
913 ("gstreamer" ,gstreamer)
915 ("libdazzle" ,libdazzle)
916 ("libmediaart" ,libmediaart)
918 ("pycairo" ,python-pycairo)
919 ("pygobject" ,python-pygobject)
921 ("tracker-miners" ,tracker-miners)))
922 (synopsis "Simple music player for GNOME desktop")
923 (description "GNOME Music is the new GNOME music playing application that
924 aims to combine an elegant and immersive browsing experience with simple
925 and straightforward controls.")
926 (home-page "https://wiki.gnome.org/Apps/Music")
927 (license license:gpl2+)))
929 (define-public portablexdr
937 (string-append "https://people.redhat.com/~rjones/" name "/files/"
938 name "-" version ".tar.gz"))
941 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
942 (build-system gnu-build-system)
943 (synopsis "External Data Representation Library")
944 (description "PortableXDR is an implementation of External Data
945 Representation (XDR) Library. It is a standard data serialization format, for
946 uses such as computer network protocols. It allows data to be transferred
947 between different kinds of computer systems.")
948 (home-page "https://people.redhat.com/~rjones/portablexdr/")
962 (string-append "mirror://gnome/sources/" name "/"
963 (version-major+minor version) "/"
964 name "-" version ".tar.xz"))
967 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
968 (build-system glib-or-gtk-build-system)
970 `(#:tests? #f)) ; FIX-ME: Requires gvfs
972 `(("gobject-introspection" ,gobject-introspection)
973 ("pkg-config" ,pkg-config)))
978 ("gtksourceview" ,gtksourceview)
980 ("uchardet" ,uchardet)))
981 (synopsis "Text editor product line")
982 (description "Tepl is a library that eases the development of
983 GtkSourceView-based text editors and IDEs.")
984 (home-page "https://wiki.gnome.org/Projects/Tepl")
985 (license license:lgpl2.1+)))
987 (define-public krb5-auth-dialog
989 (name "krb5-auth-dialog")
995 (string-append "mirror://gnome/sources/" name "/"
996 (version-major+minor version) "/"
997 name "-" version ".tar.xz"))
1000 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1001 (build-system glib-or-gtk-build-system)
1003 `(("intltool" ,intltool)
1004 ("itstool" ,itstool)
1005 ("libxml2" ,libxml2)
1006 ("pkg-config" ,pkg-config)
1007 ("python-wrapper" ,python-wrapper)))
1011 ("libnotify" ,libnotify)
1012 ("mit-krb5" ,mit-krb5)
1013 ("network-manager" ,network-manager)))
1014 (synopsis "Popup dialogs for Kerberos 5")
1015 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1016 tickets, and pops up a dialog when they are about to expire.")
1017 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1018 (license license:gpl2+)))
1020 (define-public notification-daemon
1022 (name "notification-daemon")
1028 (string-append "mirror://gnome/sources/" name "/"
1029 (version-major+minor version) "/"
1030 name "-" version ".tar.xz"))
1033 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1034 (build-system glib-or-gtk-build-system)
1036 `(("intltool" ,intltool)
1037 ("pkg-config" ,pkg-config)))
1042 (synopsis "Notification Daemon for GNOME Desktop")
1043 (description "Notification-Daemon is the server implementation of the
1044 freedesktop.org desktop notification specification.")
1045 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1046 (license license:gpl2+)))
1048 (define-public mm-common
1054 (uri (string-append "mirror://gnome/sources/mm-common/"
1055 (version-major+minor version) "/"
1056 "mm-common-" version ".tar.xz"))
1059 "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2"))))
1060 (build-system meson-build-system)
1063 (modify-phases %standard-phases
1064 (add-after 'unpack 'patch
1065 (lambda* (#:key inputs #:allow-other-keys)
1066 (substitute* "util/mm-common-prepare.in"
1067 (("ln") (string-append (assoc-ref inputs "coreutils")
1069 (("cp") (string-append (assoc-ref inputs "coreutils")
1071 (("sed") (string-append (assoc-ref inputs "sed")
1073 (("cat") (string-append (assoc-ref inputs "coreutils")
1077 `(("coreutils" ,coreutils)
1078 ("gettext" ,gettext-minimal)
1079 ("pkg-config" ,pkg-config)
1082 `(("python" ,python)))
1083 (synopsis "Module of GNOME C++ bindings")
1084 (description "The mm-common module provides the build infrastructure
1085 and utilities shared among the GNOME C++ binding libraries. Release
1086 archives of mm-common include the Doxygen tag file for the GNU C++
1087 Library reference documentation.")
1088 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1089 (license license:gpl2+)))
1091 (define-public phodav
1097 (uri (string-append "mirror://gnome/sources/" name "/"
1098 (version-major+minor version) "/"
1099 name "-" version ".tar.xz"))
1102 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1103 (build-system meson-build-system)
1106 (modify-phases %standard-phases
1107 (add-before 'check 'start-virtual-dir-server
1108 ;; The same server when started by tests/virtual-dir returns an
1109 ;; unexpected status (4 instead of 200) and fails a test. It is
1110 ;; unclear why starting it manually here makes it pass.
1112 (system "tests/virtual-dir-server &")
1115 `(("docbook-xml" ,docbook-xml-4.3)
1116 ("gettext" ,gettext-minimal)
1117 ("glib:bin" ,glib "bin")
1118 ("gtk-doc" ,gtk-doc)
1119 ("pkg-config" ,pkg-config)))
1122 ("libgudev" ,libgudev)
1123 ("libsoup" ,libsoup)))
1124 (synopsis "WebDav server implementation using libsoup")
1125 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1126 but it is generic enough to be reused in other projects,
1127 in particular in the GNOME desktop.")
1128 (home-page "https://wiki.gnome.org/phodav")
1129 (license license:lgpl2.1+)))
1131 (define-public gnome-color-manager
1133 (name "gnome-color-manager")
1137 (uri (string-append "mirror://gnome/sources/" name "/"
1138 (version-major+minor version) "/"
1139 name "-" version ".tar.xz"))
1142 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1143 (build-system meson-build-system)
1147 (modify-phases %standard-phases
1151 ;; Tests require a running X server.
1152 (system "Xvfb :1 &")
1153 (setenv "DISPLAY" ":1")
1156 `(("desktop-file-utils" ,desktop-file-utils)
1157 ("gettext" ,gettext-minimal)
1158 ("glib:bin" ,glib "bin")
1159 ("gtk+:bin" ,gtk+ "bin")
1160 ("itstool" ,itstool)
1161 ("pkg-config" ,pkg-config)
1162 ("xorg-server" ,xorg-server-for-tests)))
1164 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1165 ("appstream-glib" ,appstream-glib)
1166 ("colord-gtk" ,colord-gtk)
1168 ("gnome-desktop" ,gnome-desktop)
1169 ("libcanberra" ,libcanberra)
1170 ("libexif" ,libexif)
1171 ("libtiff" ,libtiff)
1172 ("libxrandr" ,libxrandr)
1173 ("libxtst" ,libxtst)
1174 ("libxxf86vm" ,libxxf86vm)
1176 ("xorgproto" ,xorgproto)))
1177 (synopsis "Color profile manager for the GNOME desktop")
1178 (description "GNOME Color Manager is a session framework that makes
1179 it easy to manage, install and generate color profiles
1180 in the GNOME desktop.")
1181 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1182 (license license:gpl2+)))
1184 (define-public gnome-online-miners
1186 (name "gnome-online-miners")
1190 (uri (string-append "mirror://gnome/sources/" name "/"
1191 (version-major+minor version) "/"
1192 name "-" version ".tar.xz"))
1195 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1196 (build-system glib-or-gtk-build-system)
1198 `(("gettext" ,gettext-minimal)
1199 ("glib:bin" ,glib "bin")
1200 ("gobject-introspection" ,gobject-introspection)
1201 ("gtk+:bin" ,gtk+ "bin")
1202 ("pkg-config" ,pkg-config)))
1204 `(("gnome-online-accounts" ,gnome-online-accounts)
1205 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1207 ("libgdata" ,libgdata)
1208 ("libgfbgraph" ,gfbgraph)
1209 ("libzapojit" ,libzapojit)
1211 ("tracker" ,tracker)))
1212 (synopsis "Web Crawlers for GNOME")
1213 (description "GNOME Online Miners provides a set of crawlers that
1214 go through your online content and index them locally in Tracker.
1215 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1216 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1217 (license license:gpl2+)))
1219 (define-public gssdp
1225 (uri (string-append "mirror://gnome/sources/" name "/"
1226 (version-major+minor version) "/"
1227 name "-" version ".tar.xz"))
1230 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1231 (build-system meson-build-system)
1233 `(("gettext" ,gettext-minimal)
1234 ("glib:bin" ,glib "bin")
1235 ("gobject-introspection" ,gobject-introspection)
1236 ("gtk-doc" ,gtk-doc)
1237 ("pkg-config" ,pkg-config)
1241 ("libsoup" ,libsoup)))
1242 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1243 Protocol} for GNOME")
1244 (description "This package provides a library to handle resource discovery
1245 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1246 a debugging tool, @command{gssdp-device-sniffer}.")
1247 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1248 (license license:lgpl2.0+)))
1250 (define-public gupnp
1256 (uri (string-append "mirror://gnome/sources/" name "/"
1257 (version-major+minor version) "/"
1258 name "-" version ".tar.xz"))
1261 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1262 (build-system meson-build-system)
1264 `(("gettext" ,gettext-minimal)
1265 ("glib:bin" ,glib "bin")
1266 ("gobject-introspection" ,gobject-introspection)
1267 ("gtk-doc" ,gtk-doc)
1268 ("pkg-config" ,pkg-config)
1273 ("libsoup" ,libsoup)))
1274 (synopsis "PnP API for GNOME")
1275 (description "This package provides GUPnP, an object-oriented framework
1276 for creating UPnP devices and control points, written in C using
1277 @code{GObject} and @code{libsoup}.")
1278 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1279 (license license:lgpl2.0+)))
1281 (define-public gupnp-dlna
1287 (uri (string-append "mirror://gnome/sources/" name "/"
1288 (version-major+minor version) "/"
1289 name "-" version ".tar.xz"))
1292 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1293 (build-system gnu-build-system)
1295 `(("gettext" ,gettext-minimal)
1296 ("glib:bin" ,glib "bin")
1297 ("gobject-introspection" ,gobject-introspection)
1298 ("gtk-doc" ,gtk-doc)
1300 ("pkg-config" ,pkg-config)
1303 `(("gstreamer" ,gstreamer)
1306 `(("gst-plugins-base" ,gst-plugins-base)
1307 ("gst-plugins-good" ,gst-plugins-good)))
1308 (synopsis "GUPnP DLNA for GNOME")
1309 (description "This package provides a small utility library to
1310 support DLNA-related tasks such as media profile guessing, transcoding to a
1311 given profile, etc. DLNA is a subset of UPnP A/V.")
1312 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1313 (license license:lgpl2.0+)))
1315 (define-public gupnp-av
1321 (uri (string-append "mirror://gnome/sources/" name "/"
1322 (version-major+minor version) "/"
1323 name "-" version ".tar.xz"))
1326 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1327 (build-system gnu-build-system)
1329 `(("gettext" ,gettext-minimal)
1330 ("glib:bin" ,glib "bin")
1331 ("gobject-introspection" ,gobject-introspection)
1332 ("gtk-doc" ,gtk-doc)
1334 ("pkg-config" ,pkg-config)))
1338 (synopsis "GUPnP A/V for GNOME")
1339 (description "This package provides a small library for handling
1340 and implementation of UPnP A/V profiles.")
1341 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1342 (license license:lgpl2.0+)))
1344 (define-public libmediaart
1346 (name "libmediaart")
1350 (uri (string-append "mirror://gnome/sources/" name "/"
1351 (version-major+minor version) "/"
1352 name "-" version ".tar.xz"))
1355 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1356 (build-system gnu-build-system)
1358 `(("glib:bin" ,glib "bin")
1359 ("pkg-config" ,pkg-config)))
1361 `(("gdk-pixbuf" ,gdk-pixbuf)
1362 ("gettext" ,gettext-minimal)
1363 ("gobject-introspection" ,gobject-introspection)
1364 ("gtk+:doc" ,gtk+ "doc")
1366 (synopsis "Media art library for the GNOME desktop")
1368 "The libmediaart library is the foundation for media art caching,
1369 extraction, and lookup for applications on the desktop.")
1370 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1371 (license license:lgpl2.1+)))
1373 (define-public gnome-initial-setup
1375 (name "gnome-initial-setup")
1379 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1380 (version-major+minor version)
1381 "/gnome-initial-setup-" version ".tar.xz"))
1384 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1385 (build-system meson-build-system)
1387 '(#:configure-flags '(;; Enable camera support for user selfie.
1390 #:phases (modify-phases %standard-phases
1391 (add-after 'unpack 'set-gkbd-file-name
1392 (lambda* (#:key inputs #:allow-other-keys)
1393 ;; Allow the "Preview" button in the keyboard layout
1394 ;; selection dialog to display the layout.
1395 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1396 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1397 (("\"gkbd-keyboard-display")
1398 (string-append "\"" libgnomekbd
1399 "/bin/gkbd-keyboard-display")))
1402 `(("gettext" ,gettext-minimal)
1403 ("glib:bin" ,glib "bin")
1404 ("gobject-introspection" ,gobject-introspection)
1405 ("gtk+:bin" ,gtk+ "bin")
1406 ("pkg-config" ,pkg-config)))
1408 `(("accountsservice" ,accountsservice)
1409 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1411 ("geoclue" ,geoclue)
1412 ("gnome-desktop" ,gnome-desktop)
1413 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1414 ("gnome-online-accounts" ,gnome-online-accounts)
1415 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1416 ("gstreamer" ,gstreamer)
1418 ("json-glib" ,json-glib)
1420 ("libgweather" ,libgweather)
1422 ("libsecret" ,libsecret)
1423 ("network-manager" ,network-manager)
1424 ("packagekit" ,packagekit)
1426 ("pwquality" ,libpwquality)
1429 ("webkitgtk" ,webkitgtk)
1430 ("libgnomekbd" ,libgnomekbd)))
1431 (synopsis "Initial setup wizard for GNOME desktop")
1432 (description "This package provides a set-up wizard when a
1433 user logs into GNOME for the first time. It typically provides a
1434 tour of all gnome components and allows the user to set them up.")
1435 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1436 (license license:gpl2)))
1438 (define-public gnome-user-share
1440 (name "gnome-user-share")
1444 (uri (string-append "mirror://gnome/sources/" name "/"
1445 (version-major+minor version) "/"
1446 name "-" version ".tar.xz"))
1449 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1450 (build-system meson-build-system)
1455 ;; Enable nautilus extension for file sharing.
1456 "-Dnautilus_extension=true")))
1458 `(("gettext" ,gettext-minimal)
1459 ("glib:bin" ,glib "bin")
1460 ("gobject-introspection" ,gobject-introspection)
1461 ("gtk+:bin" ,gtk+ "bin")
1462 ("pkg-config" ,pkg-config)
1463 ("yelp-tools" ,yelp-tools)))
1466 ("gnome-bluetooth" ,gnome-bluetooth)
1468 ("libcanberra" ,libcanberra)
1469 ("libnotify" ,libnotify)
1470 ("nautilus" ,nautilus))) ; For nautilus extension.
1471 (synopsis "File sharing for GNOME desktop")
1472 (description "GNOME User Share is a small package that binds together
1473 various free software projects to bring easy to use user-level file
1474 sharing to the masses.")
1475 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1476 (license license:gpl2+)))
1478 (define-public sushi
1484 (uri (string-append "mirror://gnome/sources/" name "/"
1485 (version-major+minor version) "/"
1486 name "-" version ".tar.xz"))
1489 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1490 (build-system meson-build-system)
1494 (modify-phases %standard-phases
1495 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1496 (lambda* (#:key outputs #:allow-other-keys)
1497 (let ((prog (string-append (assoc-ref outputs "out")
1499 ;; Put existing typelibs before sushi's deps, so as to correctly
1502 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1505 `(("glib:bin" ,glib "bin")
1506 ("gettext" ,gettext-minimal)
1507 ("gobject-introspection" ,gobject-introspection)
1508 ("pkg-config" ,pkg-config)))
1510 `(("clutter" ,clutter)
1511 ("clutter-gst" ,clutter-gst)
1512 ("clutter-gtk" ,clutter-gtk)
1513 ("evince" ,evince) ; For file previewing.
1514 ("freetype" ,freetype)
1515 ("gdk-pixbuf" ,gdk-pixbuf)
1517 ("gst-plugins-base" ,gst-plugins-base)
1518 ("gstreamer" ,gstreamer)
1519 ("gtksourceview" ,gtksourceview-3)
1520 ("harfbuzz" ,harfbuzz)
1521 ("libepoxy" ,libepoxy)
1522 ("libmusicbrainz" ,libmusicbrainz)
1523 ("libxml2" ,libxml2)
1525 ("webkitgtk" ,webkitgtk)))
1526 (synopsis "File previewer for the GNOME desktop")
1527 (description "Sushi is a DBus-activated service that allows applications to
1528 preview files on the GNOME desktop.")
1529 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1530 (license license:gpl2+)))
1532 (define-public rygel
1538 (uri (string-append "mirror://gnome/sources/" name "/"
1539 (version-major+minor version) "/"
1540 name "-" version ".tar.xz"))
1543 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1544 (build-system gnu-build-system)
1546 `(("gettext" ,gettext-minimal)
1547 ("gobject-introspection" ,gobject-introspection)
1548 ("gtk-doc" ,gtk-doc)
1549 ("pkg-config" ,pkg-config)
1552 `(("gdk-pixbuf" ,gdk-pixbuf)
1554 ("gstreamer" ,gstreamer)
1555 ("gst-plugins-base" ,gst-plugins-base)
1558 ("gupnp-av" ,gupnp-av)
1559 ("gupnp-dlna" ,gupnp-dlna)
1561 ("libmediaart" ,libmediaart)
1562 ("libsoup" ,libsoup)
1563 ("libxslt" ,libxslt)
1564 ("libunistring" ,libunistring)
1565 ("tracker" ,tracker)))
1566 (synopsis "Share audio, video, and pictures with other devices")
1568 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1569 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1570 pictures, and to control a media player on your home network.
1572 Rygel achieves interoperability with other devices by trying to conform to the
1573 strict requirements of DLNA and by converting media on-the-fly to formats that
1574 client devices can handle.")
1575 (home-page "https://wiki.gnome.org/Projects/Rygel")
1577 ;; For logo (data/icons/*).
1580 license:lgpl2.1+))))
1582 (define-public libnma
1588 (uri (string-append "mirror://gnome/sources/" name "/"
1589 (version-major+minor version) "/"
1590 name "-" version ".tar.xz"))
1593 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1594 (build-system meson-build-system)
1597 (modify-phases %standard-phases
1598 (add-after 'unpack 'patch-docbook-xml
1599 (lambda* (#:key inputs #:allow-other-keys)
1600 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1601 "/xml/dtd/docbook")))
1602 (substitute* "libnma-docs.xml"
1603 (("http://.*/docbookx\\.dtd")
1604 (string-append xmldoc "/docbookx.dtd")))
1607 `(("docbook-xml" ,docbook-xml-4.3)
1608 ("gettext" ,gettext-minimal)
1609 ("glib:bin" ,glib "bin")
1610 ("gtk-doc" ,gtk-doc)
1611 ("gobject-introspection" ,gobject-introspection)
1612 ("pkg-config" ,pkg-config)
1617 ("iso-codes" ,iso-codes)
1618 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1619 ("network-manager" ,network-manager)))
1620 (synopsis "Network Manager's applet library")
1621 (description "Libnma is an applet library for Network Manager. It was
1622 initially part of network-manager-applet and has now become a separate
1624 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1625 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1627 (license license:gpl2+)))
1629 (define-public gnome-menus
1631 (name "gnome-menus")
1635 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1636 (version-major+minor version) "/"
1637 name "-" version ".tar.xz"))
1640 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1641 (build-system gnu-build-system)
1643 `(("gettext" ,gettext-minimal)
1645 ("pkg-config" ,pkg-config)))
1646 (synopsis "Menu support for GNOME desktop")
1647 (description "GNOME Menus contains the libgnome-menu library, the layout
1648 configuration files for the GNOME menu, as well as a simple menu editor.")
1649 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1650 (license license:lgpl2.0+)))
1652 (define-public deja-dup
1658 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1659 version "/deja-dup-" version ".tar.bz2"))
1662 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1663 (build-system meson-build-system)
1668 ;; Otherwise, the RUNPATH will lack the final path component.
1669 (string-append "-Dc_link_args=-Wl,-rpath="
1670 (assoc-ref %outputs "out") "/lib/deja-dup"))
1672 (modify-phases %standard-phases
1673 (add-after 'unpack 'patch-paths
1674 (lambda* (#:key inputs #:allow-other-keys)
1675 (let ((python (assoc-ref inputs "python")))
1676 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1677 "libdeja/tests/scripts/instance-error.test")
1680 (substitute* "libdeja/tests/runner.vala"
1683 (substitute* "libdeja/tests/scripts/instance-error.test"
1684 (("`which python3`")
1685 (string-append python "/bin/python3"))))))
1686 (add-after 'unpack 'patch-libgpg-error
1687 (lambda* (#:key inputs #:allow-other-keys)
1688 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1689 (substitute* "meson.build"
1690 (("(gpgerror_libs = ).*" _ var)
1691 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1693 (add-after 'unpack 'skip-gtk-update-icon-cache
1694 ;; Don't create 'icon-theme.cache'.
1696 (substitute* "data/post-install.sh"
1697 (("gtk-update-icon-cache") "true"))
1700 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1701 ("duplicity" ,duplicity)
1703 ("python-pygobject" ,python-pygobject)
1705 ("json-glib" ,json-glib)
1706 ("libnotify" ,libnotify)
1707 ("libgpg-error" ,libgpg-error)
1708 ("libsecret" ,libsecret)
1709 ("libsoup" ,libsoup)
1710 ("packagekit" ,packagekit)))
1712 `(("appstream-glib" ,appstream-glib)
1713 ("desktop-file-utils" ,desktop-file-utils)
1714 ("gettext" ,gettext-minimal)
1715 ("glib" ,glib "bin") ; for glib-compile-schemas.
1716 ("gobject-introspection" ,gobject-introspection)
1717 ("itstool" ,itstool)
1718 ("pkg-config" ,pkg-config)
1720 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1721 (synopsis "Simple backup tool, for regular encrypted backups")
1723 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1724 uses duplicity as the backend, which supports incremental backups and storage
1725 either on a local, or remote machine via a number of methods.")
1726 (license license:gpl3+)))
1728 (define-public gnome-commander
1730 (name "gnome-commander")
1735 (uri (string-append "mirror://gnome/sources/" name "/"
1736 (version-major+minor version) "/"
1737 "gnome-commander-" version ".tar.xz"))
1739 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1740 (build-system glib-or-gtk-build-system)
1742 `(("desktop-file-utils" ,desktop-file-utils)
1743 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1744 ("gettext" ,gettext-minimal)
1745 ("glib:bin" ,glib "bin")
1746 ("gobject-introspection" ,gobject-introspection)
1747 ("googletest" ,googletest)
1748 ("intltool" ,intltool)
1749 ("itstool" ,itstool)
1750 ("libtool" ,libtool)
1751 ("pkg-config" ,pkg-config)))
1754 ("gnome-vfs" ,gnome-vfs)
1756 ("libxml2" ,libxml2)))
1757 (home-page "https://gcmd.github.io/")
1758 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1760 "GNOME Commander is a two-pane graphical file manager using GNOME
1761 libraries. It aims to fulfill the demands of more advanced users who
1762 like to focus on file management, their work through special applications
1763 and running smart commands.")
1764 (license license:gpl2+)))
1766 (define-public gnome-user-docs
1768 (name "gnome-user-docs")
1773 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1774 (version-major+minor version)
1775 "/gnome-user-docs-" version ".tar.xz"))
1777 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1778 (build-system gnu-build-system)
1780 `(("gettext" ,gettext-minimal)
1781 ("itstool" ,itstool)
1782 ("pkg-config" ,pkg-config)
1783 ("xmllint" ,libxml2)))
1784 (synopsis "User documentation for the GNOME desktop")
1786 "The GNOME User Documentation explains how to use the GNOME desktop and its
1787 components. It covers usage and setup of the core GNOME programs by end-users
1788 and system administrators.")
1789 (home-page "https://live.gnome.org/DocumentationProject")
1790 (license license:cc-by3.0)))
1792 (define-public gnome-getting-started-docs
1794 (name "gnome-getting-started-docs")
1799 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1800 (version-major+minor version)
1801 "/gnome-getting-started-docs-" version ".tar.xz"))
1803 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1804 (build-system gnu-build-system)
1806 `(("gettext" ,gettext-minimal)
1807 ("itstool" ,itstool)
1808 ("pkg-config" ,pkg-config)
1809 ("xmllint" ,libxml2)))
1810 (synopsis "Help to get new users started with the GNOME desktop")
1812 "The GNOME Getting Started Documentation contains GNOME's intuitive
1813 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1815 It is normally used together with @command{gnome-initial-setup}, but is also
1816 useful as a tutorial and users' guide for new or less experienced users.")
1817 (home-page "https://live.gnome.org/DocumentationProject")
1818 (license license:cc-by-sa3.0)))
1821 ;; This version from GNOME's repository includes fixes for compiling with
1822 ;; recent versions of the build tools. The latest activity on the
1823 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1825 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1829 (version (git-version "0.97.3" revision commit))
1833 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1835 (file-name (git-file-name name version))
1838 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1839 (build-system meson-build-system)
1841 `(("graphene" ,graphene)
1843 ("libxml2" ,libxml2)
1844 ("libxslt" ,libxslt)
1845 ("poppler" ,poppler)
1846 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1847 ;; ERROR: Unknown method "dependency" in object.
1848 ("python-2" ,python-2)))
1850 `(("appstream-glib" ,appstream-glib)
1851 ("docbook-xsl" ,docbook-xsl)
1852 ("glib" ,glib "bin")
1853 ("intltool" ,intltool)
1854 ("pkg-config" ,pkg-config)))
1855 (home-page "https://wiki.gnome.org/Apps/Dia")
1856 (synopsis "Diagram creation for GNOME")
1857 (description "Dia can be used to draw different types of diagrams, and
1858 includes support for UML static structure diagrams (class diagrams), entity
1859 relationship modeling, and network diagrams. The program supports various file
1860 formats like PNG, SVG, PDF and EPS.")
1861 (license license:gpl2+))))
1863 ;; This is the unstable release, but it is required for the current stable
1864 ;; release of gvfs (1.38.1).
1865 (define-public libgdata
1871 (uri (string-append "mirror://gnome/sources/" name "/"
1872 (version-major+minor version) "/"
1873 name "-" version ".tar.xz"))
1876 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1877 (build-system gnu-build-system)
1880 (modify-phases %standard-phases
1881 (add-before 'check 'disable-failing-tests
1883 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1884 ;; They have been removed in libgdata 0.17.6, so just do the same.
1885 (substitute* "gdata/tests/Makefile"
1886 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1889 `(("glib:bin" ,glib "bin")
1890 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1891 ("intltool" ,intltool)
1892 ("pkg-config" ,pkg-config)
1893 ("uhttpmock" ,uhttpmock)))
1895 `(("cyrus-sasl" ,cyrus-sasl)
1896 ("glib-networking" ,glib-networking)))
1900 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1901 ("json-glib" ,json-glib)
1902 ("liboauth" ,liboauth)
1903 ("libsoup" ,libsoup)
1904 ("libxml2" ,libxml2)))
1905 (home-page "https://wiki.gnome.org/Projects/libgdata")
1906 (synopsis "Library for accessing online service APIs")
1908 "libgdata is a GLib-based library for accessing online service APIs using
1909 the GData protocol — most notably, Google's services. It provides APIs to
1910 access the common Google services, and has full asynchronous support.")
1911 (license license:lgpl2.1+)))
1913 (define-public libgxps
1919 (uri (string-append "mirror://gnome/sources/" name "/"
1920 (version-major+minor version) "/"
1921 name "-" version ".tar.xz"))
1924 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1925 (build-system meson-build-system)
1927 `(("gobject-introspection" ,gobject-introspection)
1928 ("pkg-config" ,pkg-config)))
1931 ("libjpeg" ,libjpeg-turbo)
1933 ("libtiff" ,libtiff)))
1935 ;; In Requires of libgxps.pc.
1938 ("libarchive" ,libarchive)))
1939 (home-page "https://wiki.gnome.org/Projects/libgxps")
1940 (synopsis "GObject-based library for handling and rendering XPS documents")
1942 "libgxps is a GObject-based library for handling and rendering XPS
1943 documents. This package also contains binaries that can convert XPS documents
1945 (license license:lgpl2.1+)))
1947 (define-public gnome-characters
1949 (name "gnome-characters")
1954 (uri (string-append "mirror://gnome/sources/"
1955 "gnome-characters/" (version-major+minor version)
1956 "/gnome-characters-" version ".tar.xz"))
1959 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1960 (build-system meson-build-system)
1963 #:phases (modify-phases %standard-phases
1964 (add-after 'install 'wrap
1965 (lambda* (#:key outputs #:allow-other-keys)
1966 ;; GNOME Characters needs Typelib files from GTK and
1968 (wrap-program (string-append (assoc-ref outputs "out")
1969 "/bin/gnome-characters")
1970 `("GI_TYPELIB_PATH" ":" prefix
1971 (,(getenv "GI_TYPELIB_PATH"))))
1974 `(("gettext" ,gettext-minimal)
1975 ("glib:bin" ,glib "bin")
1976 ("gtk+:bin" ,gtk+ "bin")
1977 ("pkg-config" ,pkg-config)
1978 ("python" ,python-minimal)))
1982 ("libunistring" ,libunistring)
1983 ("gnome-desktop" ,gnome-desktop)))
1984 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1985 (synopsis "Find and insert unusual characters")
1986 (description "Characters is a simple utility application to find
1987 and insert unusual characters. It allows you to quickly find the
1988 character you are looking for by searching for keywords.")
1989 (license license:bsd-3)))
1991 (define-public gnome-common
1993 (name "gnome-common")
1998 (uri (string-append "mirror://gnome/sources/" name "/"
1999 (version-major+minor version) "/"
2000 name "-" version ".tar.xz"))
2003 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2004 (build-system gnu-build-system)
2005 (home-page "https://www.gnome.org/")
2006 (synopsis "Bootstrap GNOME modules built from Git")
2007 (description "gnome-common contains various files needed to bootstrap
2008 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2009 can be used to configure a source directory checked out from Git and some
2010 commonly used macros.")
2011 (license license:gpl2+)))
2013 (define-public gnome-contacts
2015 (name "gnome-contacts")
2019 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2020 (version-major+minor version) "/"
2021 name "-" version ".tar.xz"))
2024 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2025 (build-system meson-build-system)
2027 `(#:configure-flags '("-Dcheese=false")
2029 (modify-phases %standard-phases
2030 (add-after 'unpack 'generate-vapis
2031 (lambda* (#:key inputs #:allow-other-keys)
2032 ;; To generate goa's missing .vapi file
2034 (assoc-ref inputs "gnome-online-accounts:lib"))
2036 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2038 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2040 (add-after 'unpack 'skip-gtk-update-icon-cache
2041 ;; Don't create 'icon-theme.cache'.
2043 (substitute* "build-aux/meson_post_install.py"
2044 (("gtk-update-icon-cache") "true"))
2047 `(("glib:bin" ,glib "bin")
2048 ("pkg-config" ,pkg-config)))
2050 `(("docbook-xml" ,docbook-xml)
2051 ("dockbook-xsl" ,docbook-xsl)
2052 ("evolution-data-server" ,evolution-data-server)
2053 ("gettext" ,gettext-minimal)
2054 ("gnome-desktop" ,gnome-desktop)
2055 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2056 ("gobject-introspection" ,gobject-introspection)
2057 ("gst-plugins-base" ,gst-plugins-base)
2060 ("libxslt" ,libxslt)
2061 ("telepathy-glib" ,telepathy-glib)
2065 ("telepathy-mission-control" ,telepathy-mission-control)))
2066 (synopsis "GNOME's integrated address book")
2068 "GNOME Contacts organizes your contact information from online and
2069 offline sources, providing a centralized place for managing your contacts.")
2070 (home-page "https://wiki.gnome.org/Apps/Contacts")
2071 (license license:gpl2+)))
2073 (define-public gnome-desktop
2075 (name "gnome-desktop")
2080 (uri (string-append "mirror://gnome/sources/" name "/"
2081 (version-major+minor version) "/"
2082 name "-" version ".tar.xz"))
2085 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2086 (build-system meson-build-system)
2089 (modify-phases %standard-phases
2090 (add-before 'configure 'patch-path
2091 (lambda* (#:key inputs #:allow-other-keys)
2092 (let ((libc (assoc-ref inputs "libc")))
2093 (substitute* "libgnome-desktop/gnome-languages.c"
2095 (string-append "\"" libc "/bin/locale\"")))
2097 (add-before 'configure 'patch-bubblewrap
2098 (lambda* (#:key inputs #:allow-other-keys)
2099 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2101 (string-append "\"" (which "bwrap") "\","))
2102 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2103 (string-append "\"--ro-bind\", \""
2108 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2110 (add-before 'check 'pre-check
2111 (lambda* (#:key inputs #:allow-other-keys)
2112 ;; Tests require a running X server and locales.
2113 (system "Xvfb :1 &")
2114 (setenv "DISPLAY" ":1")
2115 (setenv "GUIX_LOCPATH"
2116 (string-append (assoc-ref inputs "glibc-locales")
2120 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2121 ("glibc-locales" ,glibc-locales) ; for tests
2122 ("gobject-introspection" ,gobject-introspection)
2123 ("itstool" ,itstool)
2124 ("intltool" ,intltool)
2125 ("pkg-config" ,pkg-config)
2126 ("xmllint" ,libxml2)
2127 ("xorg-server" ,xorg-server-for-tests)))
2129 ;; Required by gnome-desktop-3.0.pc.
2130 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2132 ("iso-codes" ,iso-codes)
2133 ("libseccomp" ,libseccomp)
2135 ("xkeyboard-config" ,xkeyboard-config)))
2137 `(("gdk-pixbuf" ,gdk-pixbuf)
2139 ("bubblewrap" ,bubblewrap)
2140 ("libxext" ,libxext)
2141 ("libxkbfile" ,libxkbfile)
2142 ("libxrandr" ,libxrandr)))
2143 (home-page "https://www.gnome.org/")
2145 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2147 "The libgnome-desktop library provides API shared by several applications
2148 on the desktop, but that cannot live in the platform for various reasons.
2149 There is no API or ABI guarantee, although we are doing our best to provide
2150 stability. Documentation for the API is available with gtk-doc.
2152 The gnome-about program helps find which version of GNOME is installed.")
2153 ; Some bits under the LGPL.
2154 (license license:gpl2+)))
2156 (define-public gnome-doc-utils
2158 (name "gnome-doc-utils")
2163 (uri (string-append "mirror://gnome/sources/" name "/"
2164 (version-major+minor version) "/"
2165 name "-" version ".tar.xz"))
2168 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2169 (build-system gnu-build-system)
2171 `(("intltool" ,intltool)
2172 ("docbook-xml" ,docbook-xml-4.4)
2173 ("python2-libxml2" ,python2-libxml2)
2174 ("libxml2" ,libxml2)
2175 ("libxslt" ,libxslt)
2176 ("pkg-config" ,pkg-config)
2177 ("python-2" ,python-2)))
2178 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2180 "Documentation utilities for the Gnome project")
2182 "Gnome-doc-utils is a collection of documentation utilities for the
2183 Gnome project. It includes xml2po tool which makes it easier to translate
2184 and keep up to date translations of documentation.")
2185 (license license:gpl2+))) ; xslt under lgpl
2187 (define-public gnome-disk-utility
2189 (name "gnome-disk-utility")
2193 (uri (string-append "mirror://gnome/sources/" name "/"
2194 (version-major+minor version) "/"
2195 name "-" version ".tar.xz"))
2198 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2199 (build-system meson-build-system)
2201 '(#:configure-flags '("-Dlogind=libelogind")
2203 (modify-phases %standard-phases
2204 (add-after 'unpack 'skip-gtk-update-icon-cache
2205 ;; Don't create 'icon-theme.cache'.
2207 (substitute* "meson_post_install.py"
2208 (("gtk-update-icon-cache") "true"))
2211 `(("glib:bin" ,glib "bin")
2212 ("intltool" ,intltool)
2213 ("pkg-config" ,pkg-config)
2214 ("docbook-xml" ,docbook-xml)
2215 ("docbook-xsl" ,docbook-xsl)
2216 ("libxml2" ,libxml2)
2217 ("libxslt" ,libxslt)))
2219 `(("elogind" ,elogind)
2221 ("appstream-glib" ,appstream-glib)
2222 ("gnome-settings-daemon" ,gnome-settings-daemon)
2224 ("libcanberra" ,libcanberra)
2225 ("libdvdread" ,libdvdread)
2226 ("libnotify" ,libnotify)
2227 ("libpwquality" ,libpwquality)
2228 ("libsecret" ,libsecret)
2229 ("udisks" ,udisks)))
2230 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2231 (synopsis "Disk management utility for GNOME")
2232 (description "Disk management utility for GNOME.")
2233 (license license:gpl2+)))
2235 (define-public gnome-font-viewer
2237 (name "gnome-font-viewer")
2241 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2242 (version-major+minor version)
2243 "/gnome-font-viewer-" version ".tar.xz"))
2246 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2247 (build-system meson-build-system)
2250 (modify-phases %standard-phases
2251 (add-after 'unpack 'patch-post-install-script
2253 (substitute* "meson-postinstall.sh"
2254 (("update-desktop-database") (which "true")))
2256 (add-after 'install 'patch-thumbnailer
2257 (lambda* (#:key outputs #:allow-other-keys)
2258 (let ((out (assoc-ref outputs "out")))
2262 "/share/thumbnailers/gnome-font-viewer.thumbnailer")
2263 (("gnome-thumbnail-font")
2264 (string-append out "/bin/gnome-thumbnail-font"))))
2267 `(("gettext" ,gettext-minimal)
2268 ("glib:bin" ,glib "bin")
2269 ("pkg-config" ,pkg-config)))
2272 ("gnome-desktop" ,gnome-desktop)
2274 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2275 (synopsis "GNOME Fonts")
2276 (description "Application to show you the fonts installed on your computer
2277 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2278 the font would look under various sizes.")
2279 (license license:gpl2+)))
2287 (uri (string-append "mirror://gnome/sources/" name "/"
2288 (version-major+minor version) "/"
2289 name "-" version ".tar.xz"))
2292 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2293 (build-system gnu-build-system)
2296 (modify-phases %standard-phases
2297 ;; These fail because /var/lib/dbus/machine-id is not present in the
2298 ;; build environment.
2299 (add-after 'unpack 'disable-failing-tests
2301 (substitute* "Makefile.in"
2302 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2305 (add-before 'check 'pre-check
2307 ;; Some tests expect to write to $HOME.
2308 (setenv "HOME" "/tmp")
2312 ("gnupg" ,gnupg) ;called as a child process during tests
2313 ("libgcrypt" ,libgcrypt)))
2315 `(("python" ,python-wrapper) ;for tests
2316 ("pkg-config" ,pkg-config)
2317 ("gettext" ,gettext-minimal)
2318 ("glib" ,glib "bin")
2319 ("gobject-introspection" ,gobject-introspection)
2320 ("libxml2" ,libxml2)
2322 ("xsltproc" ,libxslt)))
2323 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2325 `(("p11-kit" ,p11-kit)
2328 (home-page "https://www.gnome.org")
2329 (synopsis "Libraries for displaying certificates and accessing key stores")
2331 "The GCR package contains libraries used for displaying certificates and
2332 accessing key stores. It also provides the viewer for crypto files on the
2334 (license license:lgpl2.1+)))
2343 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2344 (commit (string-append "GDL_" (string-map (match-lambda
2348 (file-name (git-file-name name version))
2351 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2352 (build-system gnu-build-system)
2354 `(("autoconf" ,autoconf)
2355 ("automake" ,automake)
2356 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2357 ("gnome-common" ,gnome-common)
2358 ("gtk-doc" ,gtk-doc)
2359 ("intltool" ,intltool)
2360 ("pkg-config" ,pkg-config)
2361 ("libtool" ,libtool)
2364 `(("libxml2" ,libxml2)))
2366 ;; The gdl-3.0.pc file 'Requires' GTK+.
2368 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2369 (synopsis "GNOME docking library")
2370 (description "This library provides docking features for gtk+.")
2371 (license license:lgpl2.1+)))
2373 ;;; A minimal variant used to break a cycle with Inkscape.
2374 (define-public gdl-minimal
2377 (name "gdl-minimal")
2380 (modify-phases %standard-phases
2381 (add-after 'unpack 'disable-doc-generation
2382 ;; XXX: There is no easy way to disable generating the
2385 (substitute* "configure.in"
2386 (("GTK_DOC_CHECK.*") "")
2388 (substitute* "Makefile.am"
2389 (("gdl docs po") "gdl po"))
2391 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2393 (define-public libgnome-keyring
2395 (name "libgnome-keyring")
2399 (uri (string-append "mirror://gnome/sources/" name "/"
2400 (version-major+minor version) "/"
2401 name "-" version ".tar.xz"))
2404 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2405 (build-system gnu-build-system)
2407 `(("libgcrypt" ,libgcrypt)
2410 `(("pkg-config" ,pkg-config)
2411 ("glib" ,glib "bin")
2412 ("intltool" ,intltool)))
2414 ;; Referred to in .h files and .pc.
2416 (home-page "https://www.gnome.org")
2417 (synopsis "Accessing passwords from the GNOME keyring")
2419 "Client library to access passwords from the GNOME keyring.")
2421 ;; Though a couple of files are LGPLv2.1+.
2422 (license license:lgpl2.0+)))
2424 (define-public gnome-keyring
2426 (name "gnome-keyring")
2430 (uri (string-append "mirror://gnome/sources/" name "/"
2431 (version-major+minor version) "/"
2432 name "-" version ".tar.xz"))
2435 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2436 (build-system gnu-build-system)
2438 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2442 (string-append "--with-pkcs11-config="
2443 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2444 (string-append "--with-pkcs11-modules="
2445 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2447 (modify-phases %standard-phases
2448 (add-after 'unpack 'fix-/bin/sh-reference
2450 (substitute* "po/Makefile.in.in"
2451 (("/bin/sh") (which "sh")))
2453 (add-after 'unpack 'fix-docbook
2454 (lambda* (#:key inputs #:allow-other-keys)
2455 (substitute* "docs/Makefile.am"
2456 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2457 (string-append (assoc-ref inputs "docbook-xsl")
2458 "/xml/xsl/docbook-xsl-"
2459 ,(package-version docbook-xsl)
2460 "/manpages/docbook.xsl")))
2461 (setenv "XML_CATALOG_FILES"
2462 (string-append (assoc-ref inputs "docbook-xml")
2463 "/xml/dtd/docbook/catalog.xml"))
2464 ;; Rerun the whole thing to avoid version mismatch ("This is
2465 ;; Automake 1.15.1, but the definition used by this
2466 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2467 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2470 (invoke "automake" "-ac"))))))
2472 `(("libgcrypt" ,libgcrypt)
2473 ("linux-pam" ,linux-pam)
2474 ("openssh" ,openssh)
2478 `(("pkg-config" ,pkg-config)
2479 ("glib" ,glib "bin")
2480 ("glib" ,glib) ; for m4 macros
2481 ("python" ,python-2) ;for tests
2482 ("intltool" ,intltool)
2483 ("autoconf" ,autoconf)
2484 ("automake" ,automake)
2485 ("libxslt" ,libxslt) ;for documentation
2486 ("docbook-xml" ,docbook-xml-4.2)
2487 ("docbook-xsl" ,docbook-xsl)))
2488 (home-page "https://www.gnome.org")
2489 (synopsis "Daemon to store passwords and encryption keys")
2491 "gnome-keyring is a program that keeps passwords and other secrets for
2492 users. It is run as a daemon in the session, similar to ssh-agent, and other
2493 applications locate it via an environment variable or D-Bus.
2495 The program can manage several keyrings, each with its own master password,
2496 and there is also a session keyring which is never stored to disk, but
2497 forgotten when the session ends.")
2498 (license license:lgpl2.1+)))
2500 (define-public evince
2506 (uri (string-append "mirror://gnome/sources/evince/"
2507 (version-major+minor version) "/"
2508 "evince-" version ".tar.xz"))
2511 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2512 (build-system glib-or-gtk-build-system)
2514 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2516 (modify-phases %standard-phases
2517 (add-before 'install 'skip-gtk-update-icon-cache
2518 ;; Don't create 'icon-theme.cache'.
2520 (substitute* "data/Makefile"
2521 (("gtk-update-icon-cache") "true"))
2524 `(("libarchive" ,libarchive)
2525 ("libgxps" ,libgxps)
2526 ("libspectre" ,libspectre)
2527 ("djvulibre" ,djvulibre)
2528 ("ghostscript" ,ghostscript)
2529 ("poppler" ,poppler)
2530 ("libtiff" ,libtiff)
2532 ;; Build libkpathsea as a shared library for DVI support.
2533 ;; ("libkpathsea" ,texlive-bin)
2534 ("gnome-desktop" ,gnome-desktop)
2535 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2537 ("libgnome-keyring" ,libgnome-keyring)
2538 ("adwaita-icon-theme" ,adwaita-icon-theme)
2539 ("gdk-pixbuf" ,gdk-pixbuf)
2544 ("libxml2" ,libxml2)
2547 ("shared-mime-info" ,shared-mime-info)
2549 ("libcanberra" ,libcanberra)
2550 ("libsecret" ,libsecret)
2553 ("dogtail" ,python2-dogtail)))
2555 `(("itstool" ,itstool)
2556 ("intltool" ,intltool)
2557 ("glib" ,glib "bin")
2558 ("gobject-introspection" ,gobject-introspection)
2559 ("pkg-config" ,pkg-config)
2560 ("xmllint" ,libxml2)))
2561 (home-page "https://www.gnome.org/projects/evince/")
2562 (synopsis "GNOME's document viewer")
2564 "Evince is a document viewer for multiple document formats. It
2565 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2566 of Evince is to replace the multiple document viewers that exist
2567 on the GNOME Desktop with a single simple application.")
2568 (license license:gpl2+)))
2570 (define-public gsettings-desktop-schemas
2572 (name "gsettings-desktop-schemas")
2577 (uri (string-append "mirror://gnome/sources/" name "/"
2578 (version-major+minor version) "/"
2579 name "-" version ".tar.xz"))
2582 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2583 (build-system meson-build-system)
2585 '(#:phases (modify-phases %standard-phases
2586 (add-after 'unpack 'patch-schemas
2587 (lambda* (#:key inputs #:allow-other-keys)
2588 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2589 (substitute* (find-files "schemas"
2590 "\\.gschema\\.xml\\.in$")
2591 ;; Provide the correct file name of the default GNOME
2592 ;; background, 'adwaita-timed.xml'.
2593 (("@datadir@/backgrounds/gnome")
2594 (string-append theme "/share/backgrounds/gnome"))
2595 ;; Do not reference fonts, that may not exist.
2596 (("'Source Code Pro 10'") "'Monospace 11'"))
2600 ("gnome-backgrounds" ,gnome-backgrounds)))
2602 `(("intltool" ,intltool)
2603 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2604 ("gobject-introspection" ,gobject-introspection)
2605 ("pkg-config" ,pkg-config)))
2606 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2608 "GNOME settings for various desktop components")
2610 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2611 for settings shared by various components of the GNOME desktop.")
2612 (license license:lgpl2.1+)))
2614 (define-public python-liblarch
2616 (name "python-liblarch")
2622 (url "https://github.com/getting-things-gnome/liblarch")
2623 (commit (string-append "v" version))))
2624 (file-name (git-file-name name version))
2626 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2627 (build-system python-build-system)
2630 (modify-phases %standard-phases
2631 (add-before 'check 'start-xserver
2632 (lambda* (#:key inputs #:allow-other-keys)
2633 (system (format #f "~a/bin/Xvfb :1 &"
2634 (assoc-ref inputs "xorg-server")))
2635 (setenv "DISPLAY" ":1")
2638 `(("xorg-server" ,xorg-server-for-tests)))
2642 `(("python-pygobject" ,python-pygobject)))
2643 (home-page "https://wiki.gnome.org/Projects/liblarch")
2644 (synopsis "Library to easily handle complex data structures")
2646 "Liblarch is a Python library built to easily handle data structures such
2647 as lists, trees and acyclic graphs. There's also a GTK binding that will
2648 allow you to use your data structure in a @code{Gtk.Treeview}.
2650 Liblarch support multiple views of one data structure and complex filtering.
2651 That way, you have a clear separation between your data themselves (Model)
2652 and how they are displayed (View).")
2653 (license license:lgpl3+)))
2663 (url "https://github.com/getting-things-gnome/gtg")
2664 (commit (string-append "v" version))))
2665 (file-name (git-file-name name version))
2667 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2668 (build-system meson-build-system)
2672 (modify-phases %standard-phases
2673 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2674 (lambda* (#:key outputs #:allow-other-keys)
2675 (let ((prog (string-append (assoc-ref outputs "out")
2677 (pylib (string-append (assoc-ref outputs "out")
2679 ,(version-major+minor
2680 (package-version python))
2683 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2684 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2687 `(("desktop-file-utils" ,desktop-file-utils)
2688 ("gettext" ,gettext-minimal)
2689 ("glib:bin" ,glib "bin")
2690 ("gobject-introspection" ,gobject-introspection)
2691 ("gtk+:bin" ,gtk+ "bin")
2692 ("pkg-config" ,pkg-config)))
2694 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2696 ("python-dbus" ,python-dbus)
2697 ("python-liblarch" ,python-liblarch)
2698 ("python-pycairo" ,python-pycairo)
2699 ("python-pygobject" ,python-pygobject)
2700 ("python-pyxdg" ,python-pyxdg)))
2701 (home-page "https://wiki.gnome.org/Apps/GTG")
2702 (synopsis "Personal organizer for the GNOME desktop")
2704 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2705 organizer for the GNOME desktop environment inspired by the Getting Things
2706 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2707 and ease of use in mind so it can be used as more than just GTD software.
2708 GTG is intended to help you track everything you need to do and need to
2709 know, from small tasks to large projects.")
2710 (license license:gpl3+)))
2712 (define-public icon-naming-utils
2714 (name "icon-naming-utils")
2719 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2720 version ".tar.bz2"))
2723 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2724 (build-system gnu-build-system)
2727 ("perl-xml-simple" ,perl-xml-simple)))
2730 (modify-phases %standard-phases
2731 (add-after 'install 'set-load-paths
2732 ;; Tell 'icon-name-mapping' where XML::Simple is.
2733 (lambda* (#:key outputs #:allow-other-keys)
2734 (let* ((out (assoc-ref outputs "out"))
2735 (prog (string-append out "/libexec/icon-name-mapping")))
2738 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2740 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2742 "Utility to implement the Freedesktop Icon Naming Specification")
2744 "To help with the transition to the Freedesktop Icon Naming
2745 Specification, the icon naming utility maps the icon names used by the
2746 GNOME and KDE desktops to the icon names proposed in the specification.")
2747 (license license:lgpl2.1+)))
2749 (define-public gnome-icon-theme
2751 (name "gnome-icon-theme")
2756 (uri (string-append "mirror://gnome/sources/" name "/"
2757 (version-major+minor version) "/"
2758 name "-" version ".tar.xz"))
2761 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2762 (build-system gnu-build-system)
2765 ;; Don't create 'icon-theme.cache'.
2766 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2767 (true (string-append coreutils "/bin/true")))
2768 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2770 `(("icon-naming-utils" ,icon-naming-utils)
2771 ("intltool" ,intltool)
2772 ("pkg-config" ,pkg-config)))
2773 (home-page "https://wiki.gnome.org/Personalization")
2774 (synopsis "GNOME icon theme")
2775 (description "Icons for the GNOME desktop.")
2776 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2778 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2779 (define-public adwaita-icon-theme
2780 (package (inherit gnome-icon-theme)
2781 (name "adwaita-icon-theme")
2785 (uri (string-append "mirror://gnome/sources/" name "/"
2786 (version-major+minor version) "/"
2787 name "-" version ".tar.xz"))
2790 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2792 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2794 (define-public tango-icon-theme
2796 (name "tango-icon-theme")
2800 (uri (string-append "http://tango.freedesktop.org/releases/"
2801 "tango-icon-theme-" version ".tar.bz2"))
2804 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2805 (build-system gnu-build-system)
2807 `(("icon-naming-utils" ,icon-naming-utils)
2808 ("intltool" ,intltool)
2809 ("imagemagick" ,imagemagick)
2810 ("pkg-config" ,pkg-config)))
2811 (home-page "http://tango-project.org/")
2812 (synopsis "Tango icon theme")
2813 (description "This is an icon theme that follows the Tango visual
2815 (license license:public-domain)))
2817 (define-public shared-mime-info
2819 (name "shared-mime-info")
2824 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2825 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2829 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2830 (build-system gnu-build-system)
2832 ;; The build system appears not to be parallel-safe.
2833 '(#:parallel-build? #f))
2836 ("libxml2" ,libxml2)))
2838 `(("gettext" ,gettext-minimal)
2839 ("itstool" ,itstool)
2840 ("pkg-config" ,pkg-config)))
2841 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2842 (synopsis "Database of common MIME types")
2844 "The shared-mime-info package contains the core database of common types
2845 and the update-mime-database command used to extend it. It requires glib2 to
2846 be installed for building the update command. Additionally, it uses intltool
2847 for translations, though this is only a dependency for the maintainers. This
2848 database is translated at Transifex.")
2849 (license license:gpl2+)))
2851 (define-public system-config-printer
2853 (name "system-config-printer")
2859 "https://github.com/OpenPrinting/system-config-printer/releases/"
2860 "download/v" version
2861 "/system-config-printer-" version ".tar.xz"))
2863 (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
2864 (build-system glib-or-gtk-build-system)
2866 `(#:imported-modules ((guix build python-build-system)
2867 ,@%glib-or-gtk-build-system-modules)
2869 (modify-phases %standard-phases
2870 (add-after 'unpack 'patch-Makefile.am
2872 ;; The Makefile generates some scripts, so set a valid shebang
2873 (substitute* "Makefile.am"
2874 (("/bin/bash") (which "bash")))
2875 (delete-file "configure")
2877 (add-after 'unpack 'patch-docbook-xml
2878 (lambda* (#:key inputs #:allow-other-keys)
2879 ;; Modify the man XML otherwise xmlto tries to access the network
2880 (substitute* "man/system-config-printer.xml"
2881 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2882 (string-append (assoc-ref inputs "docbook-xml")
2883 "/xml/dtd/docbook/")))
2885 (add-after 'install 'wrap-for-python
2886 (@@ (guix build python-build-system) wrap))
2887 (add-after 'install 'wrap
2888 (lambda* (#:key outputs #:allow-other-keys)
2889 (let ((out (assoc-ref outputs "out"))
2890 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2893 (wrap-program program
2894 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2896 (string-append out "/bin/" name))
2897 '("system-config-printer"
2898 "system-config-printer-applet"
2899 "install-printerdriver"
2900 "scp-dbus-service"))))
2903 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2904 ("gobject-introspection" ,gobject-introspection)
2908 ("python-dbus" ,python-dbus)
2909 ("python-pygobject" ,python-pygobject)
2910 ("python-pycups" ,python-pycups)
2911 ("python-requests" ,python-requests)
2912 ("python-pycairo" ,python-pycairo)
2913 ("libnotify" ,libnotify)
2914 ("packagekit" ,packagekit)))
2916 `(("pkg-config" ,pkg-config)
2917 ("desktop-file-utils" ,desktop-file-utils)
2919 ("autoconf" ,autoconf)
2920 ("automake" ,automake)
2921 ("intltool" ,intltool)
2923 ("docbook-xml" ,docbook-xml-4.1.2)
2924 ("docbook-xsl" ,docbook-xsl)
2925 ("libxml2" ,libxml2)))
2926 (home-page "https://github.com/zdohnal/system-config-printer")
2927 (synopsis "CUPS administration tool")
2929 "system-config-printer is a CUPS administration tool. It's written in
2930 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2932 (license license:gpl2+)))
2934 (define-public hicolor-icon-theme
2936 (name "hicolor-icon-theme")
2941 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
2942 "hicolor-icon-theme-" version ".tar.xz"))
2945 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
2946 (build-system gnu-build-system)
2948 `(#:tests? #f)) ; no check target
2949 (home-page "https://icon-theme.freedesktop.org/releases/")
2951 "Freedesktop icon theme")
2953 "Freedesktop icon theme.")
2954 (license license:gpl2)))
2956 (define-public libnotify
2963 (uri (string-append "mirror://gnome/sources/" name "/"
2964 (version-major+minor version) "/"
2965 name "-" version ".tar.xz"))
2968 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
2969 (build-system gnu-build-system)
2971 `(#:configure-flags '("--disable-static")))
2973 `(;; In Requires of libnotify.pc.
2974 ("gdk-pixbuf" ,gdk-pixbuf)
2978 ("libpng" ,libpng)))
2980 `(("pkg-config" ,pkg-config)
2981 ("glib" ,glib "bin")
2982 ("gobject-introspection" ,gobject-introspection)))
2983 (home-page "https://developer-next.gnome.org/libnotify/")
2985 "GNOME desktop notification library")
2987 "Libnotify is a library that sends desktop notifications to a
2988 notification daemon, as defined in the Desktop Notifications spec. These
2989 notifications can be used to inform the user about an event or display
2990 some form of information without getting in the user's way.")
2991 (license license:lgpl2.1+)))
2993 (define-public libpeas
3000 (uri (string-append "mirror://gnome/sources/" name "/"
3001 (version-major+minor version) "/"
3002 name "-" version ".tar.xz"))
3005 "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2"))))
3006 (build-system meson-build-system)
3009 (modify-phases %standard-phases
3010 (add-before 'check 'start-xserver
3011 (lambda* (#:key inputs #:allow-other-keys)
3012 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3014 (setenv "DISPLAY" disp)
3015 ;; Tests require a running X server.
3016 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3022 ("python-pygobject" ,python-pygobject)))
3024 `(("pkg-config" ,pkg-config)
3025 ("gettext" ,gettext-minimal)
3026 ("glib:bin" ,glib "bin")
3027 ("gobject-introspection" ,gobject-introspection)
3028 ("xorg-server" ,xorg-server-for-tests)))
3030 ;; The .pc file "Requires" gobject-introspection.
3031 `(("gobject-introspection" ,gobject-introspection)))
3032 (home-page "https://wiki.gnome.org/Libpeas")
3033 (synopsis "GObject plugin system")
3035 "Libpeas is a gobject-based plugin engine, targeted at giving every
3036 application the chance to assume its own extensibility. It also has a set of
3037 features including, but not limited to: multiple extension points; on-demand
3038 (lazy) programming language support for C, Python and JS; simplicity of the
3040 (license license:lgpl2.0+)))
3042 (define-public gtkglext
3048 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3049 version "/gtkglext-" version ".tar.gz"))
3051 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3052 (patches (search-patches
3053 "gtkglext-disable-disable-deprecated.patch"))))
3054 (build-system gnu-build-system)
3057 (modify-phases %standard-phases
3058 ;; Fix a collision between a local variable and a definition from
3059 ;; glibc's string.h.
3060 (add-after 'unpack 'fix-collision
3062 (substitute* "gdk/gdkglshapes.c"
3063 ((" index") " triangle_index"))
3065 (inputs `(("gtk+" ,gtk+-2)
3070 (native-inputs `(("pkg-config" ,pkg-config)
3071 ("glib" ,glib "bin")))
3072 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3073 (home-page "https://projects.gnome.org/gtkglext")
3074 (synopsis "OpenGL extension to GTK+")
3075 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3076 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3077 API add-ons to make GTK+ widgets OpenGL-capable.")
3078 (license license:lgpl2.1+)))
3080 (define-public glade3
3086 (uri (string-append "mirror://gnome/sources/" name "/"
3087 (version-major+minor version) "/"
3088 name "-" version ".tar.xz"))
3091 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3092 (build-system glib-or-gtk-build-system)
3095 (modify-phases %standard-phases
3096 (add-before 'configure 'fix-docbook
3097 (lambda* (#:key inputs #:allow-other-keys)
3098 (substitute* "man/Makefile.in"
3099 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3100 (string-append (assoc-ref inputs "docbook-xsl")
3101 "/xml/xsl/docbook-xsl-"
3102 ,(package-version docbook-xsl)
3103 "/manpages/docbook.xsl")))
3105 (add-before 'check 'pre-check
3107 (setenv "HOME" "/tmp")
3108 ;; Tests require a running X server.
3109 (system "Xvfb :1 &")
3110 (setenv "DISPLAY" ":1")
3114 ("libxml2" ,libxml2)))
3116 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3117 ("intltool" ,intltool)
3118 ("itstool" ,itstool)
3119 ("libxslt" ,libxslt) ;for xsltproc
3120 ("docbook-xml" ,docbook-xml-4.2)
3121 ("docbook-xsl" ,docbook-xsl)
3122 ("python" ,python-2)
3123 ("pkg-config" ,pkg-config)
3124 ("xorg-server" ,xorg-server-for-tests)))
3125 (home-page "https://glade.gnome.org")
3126 (synopsis "GTK+ rapid application development tool")
3127 (description "Glade is a rapid application development (RAD) tool to
3128 enable quick & easy development of user interfaces for the GTK+ toolkit and
3129 the GNOME desktop environment.")
3130 (license license:lgpl2.0+)
3131 (native-search-paths (list (search-path-specification
3132 (variable "GLADE_CATALOG_SEARCH_PATH")
3133 (files '("share/glade/catalogs")))
3134 (search-path-specification
3135 (variable "GLADE_MODULE_SEARCH_PATH")
3136 (files '("lib/glade/modules")))))))
3138 (define-public libcroco
3144 (uri (string-append "mirror://gnome/sources/" name "/"
3145 (version-major+minor version) "/"
3146 name "-" version ".tar.xz"))
3149 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3150 (build-system gnu-build-system)
3152 `(("pkg-config" ,pkg-config)))
3155 ("libxml2" ,libxml2)
3157 (home-page "https://github.com/GNOME/libcroco")
3158 (synopsis "CSS2 parsing and manipulation library")
3160 "Libcroco is a standalone CSS2 parsing and manipulation library.
3161 The parser provides a low level event driven SAC-like API and a CSS object
3162 model like API. Libcroco provides a CSS2 selection engine and an experimental
3163 XML/CSS rendering engine.")
3166 (license license:lgpl2.1)))
3168 (define-public libgsf
3174 (uri (string-append "mirror://gnome/sources/" name "/"
3175 (version-major+minor version) "/"
3176 name "-" version ".tar.xz"))
3179 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3180 (build-system gnu-build-system)
3182 '(#:configure-flags '("--disable-static")))
3184 `(("pkg-config" ,pkg-config)
3185 ("gettext" ,gettext-minimal)
3189 ("perl-xml-parser" ,perl-xml-parser)))
3194 `(("gdk-pixbuf" ,gdk-pixbuf)
3196 ("libxml2" ,libxml2)))
3197 (home-page "https://www.gnome.org/projects/libgsf")
3198 (synopsis "GNOME's Structured File Library")
3200 "Libgsf aims to provide an efficient extensible I/O abstraction for
3201 dealing with different structured file formats.")
3204 (license license:lgpl2.1)))
3206 (define-public librsvg
3212 (uri (string-append "mirror://gnome/sources/" name "/"
3213 (version-major+minor version) "/"
3214 name "-" version ".tar.xz"))
3217 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3218 (build-system gnu-build-system)
3221 (list "--disable-static"
3222 "--enable-vala") ; needed for e.g. gnome-mines
3224 (modify-phases %standard-phases
3225 (add-before 'configure 'pre-configure
3226 (lambda* (#:key inputs #:allow-other-keys)
3227 (substitute* "gdk-pixbuf-loader/Makefile.in"
3228 ;; By default the gdk-pixbuf loader is installed under
3229 ;; gdk-pixbuf's prefix. Work around that.
3230 (("gdk_pixbuf_moduledir = .*$")
3231 (string-append "gdk_pixbuf_moduledir = "
3232 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3234 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3235 (("gdk_pixbuf_cache_file = .*$")
3236 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3238 (add-before 'check 'remove-failing-tests
3240 (with-directory-excursion "tests/fixtures/reftests"
3241 (for-each delete-file
3242 '(;; This test fails on i686:
3243 "svg1.1/masking-path-04-b.svg"
3244 ;; This test fails on armhf:
3245 "svg1.1/masking-mask-01-b.svg"
3246 ;; This test fails on aarch64:
3247 "bugs/777834-empty-text-children.svg")))
3250 `(("pkg-config" ,pkg-config)
3252 ("glib" ,glib "bin") ; glib-mkenums, etc.
3253 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3255 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3256 ;; this ancient version of librsvg.
3257 ("pango" ,pango-1.42)
3258 ("libcroco" ,libcroco)
3261 ("libxml2" ,libxml2)))
3263 ;; librsvg-2.0.pc refers to all of that.
3265 ("gdk-pixbuf" ,gdk-pixbuf)
3267 (home-page "https://wiki.gnome.org/LibRsvg")
3268 (synopsis "Render SVG files using Cairo")
3270 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3272 (license license:lgpl2.0+)))
3274 (define-public librsvg-next
3280 (uri (string-append "mirror://gnome/sources/librsvg/"
3281 (version-major+minor version) "/"
3282 "librsvg-" version ".tar.xz"))
3285 "1lsnl08b5pjf01q3agixjd53islw5rqkc38r31rlmm2crrqz44b2"))
3286 (modules '((guix build utils)))
3288 '(begin (delete-file-recursively "vendor")
3290 (build-system cargo-build-system)
3291 (outputs '("out" "doc"))
3294 ((guix build cargo-build-system)
3296 ((guix build gnu-build-system) #:prefix gnu:))
3298 (("rust-bitflags" ,rust-bitflags-1)
3299 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3300 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3301 ("rust-cast" ,rust-cast-0.2)
3302 ("rust-cssparser" ,rust-cssparser-0.27)
3303 ("rust-data-url" ,rust-data-url-0.1)
3304 ("rust-encoding" ,rust-encoding-0.2)
3305 ("rust-float-cmp" ,rust-float-cmp-0.8)
3306 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3307 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3308 ("rust-gio" ,rust-gio-0.8)
3309 ("rust-gio-sys" ,rust-gio-sys-0.9)
3310 ("rust-glib" ,rust-glib-0.9)
3311 ("rust-glib-sys" ,rust-glib-sys-0.9)
3312 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3313 ("rust-itertools" ,rust-itertools-0.9)
3314 ("rust-language-tags" ,rust-language-tags-0.2)
3315 ("rust-libc" ,rust-libc-0.2)
3316 ("rust-locale-config" ,rust-locale-config-0.3)
3317 ("rust-markup5ever" ,rust-markup5ever-0.10)
3318 ("rust-nalgebra" ,rust-nalgebra-0.21)
3319 ("rust-num-traits" ,rust-num-traits-0.2)
3320 ("rust-once-cell" ,rust-once-cell-1)
3321 ("rust-pkg-config" ,rust-pkg-config-0.3)
3322 ("rust-pango" ,rust-pango-0.8)
3323 ("rust-pango-sys" ,rust-pango-sys-0.9)
3324 ("rust-pangocairo" ,rust-pangocairo-0.9)
3325 ("rust-rayon" ,rust-rayon-1)
3326 ("rust-rctree" ,rust-rctree-0.3)
3327 ("rust-rgb" ,rust-rgb-0.8)
3328 ("rust-regex" ,rust-regex-1)
3329 ("rust-selectors" ,rust-selectors-0.22)
3330 ("rust-string-cache" ,rust-string-cache-0.8)
3331 ("rust-tinyvec" ,rust-tinyvec-0.3)
3332 ("rust-url" ,rust-url-2)
3333 ("rust-xml5ever" ,rust-xml5ever-0.16))
3334 #:cargo-development-inputs
3335 (("rust-assert-cmd" ,rust-assert-cmd-1)
3336 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3337 ("rust-chrono" ,rust-chrono-0.4)
3338 ("rust-criterion" ,rust-criterion-0.3)
3339 ("rust-float-cmp" ,rust-float-cmp-0.8)
3340 ("rust-lopdf" ,rust-lopdf-0.25)
3341 ("rust-png" ,rust-png-0.16)
3342 ("rust-predicates" ,rust-predicates-1)
3343 ("rust-tempfile" ,rust-tempfile-3))
3345 (modify-phases %standard-phases
3346 (add-after 'unpack 'patch-docbook-xml
3347 (lambda* (#:key inputs #:allow-other-keys)
3348 (with-directory-excursion "doc"
3349 (substitute* "rsvg-docs.xml"
3350 (("http://www.oasis-open.org/docbook/xml/4.3/")
3351 (string-append (assoc-ref inputs "docbook-xml")
3352 "/xml/dtd/docbook/"))))
3354 (add-after 'unpack 'prepare-for-build
3356 ;; In lieu of #:make-flags
3357 (setenv "CC" ,(cc-for-target))
3358 ;; Something about the build environment resists building
3359 ;; successfully with the '--locked' flag.
3360 (substitute* '("Makefile.am" "Makefile.in")
3363 (add-before 'configure 'pre-configure
3365 (substitute* "gdk-pixbuf-loader/Makefile.in"
3366 ;; By default the gdk-pixbuf loader is installed under
3367 ;; gdk-pixbuf's prefix. Work around that.
3368 (("gdk_pixbuf_moduledir = .*$")
3369 (string-append "gdk_pixbuf_moduledir = "
3370 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3372 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3373 (("gdk_pixbuf_cache_file = .*$")
3374 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3376 (add-after 'configure 'gnu-configure
3377 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3378 ((assoc-ref gnu:%standard-phases 'configure)
3379 #:native-inputs native-inputs
3383 (list "--disable-static"
3385 (string-append "--with-html-dir="
3386 (assoc-ref %outputs "doc")
3387 "/share/gtk-doc/html")))))
3388 (add-after 'configure 'dont-vendor-self
3389 (lambda* (#:key vendor-dir #:allow-other-keys)
3390 ;; Don't keep the whole tarball in the vendor directory
3391 (delete-file-recursively
3392 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3395 (assoc-ref gnu:%standard-phases 'build))
3396 (add-before 'check 'ignore-failing-tests
3397 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3399 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3400 (("fn background_color_option_invalid_color_yields_error" all)
3401 (string-append "#[ignore] " all))
3402 (("fn empty_input_yields_error" all)
3403 (string-append "#[ignore] " all))
3404 (("fn empty_svg_yields_error" all)
3405 (string-append "#[ignore] " all))
3406 (("fn env_source_data_epoch_empty" all)
3407 (string-append "#[ignore] " all))
3408 (("fn env_source_data_epoch_no_digits" all)
3409 (string-append "#[ignore] " all))
3410 (("fn env_source_data_epoch_trailing_garbage" all)
3411 (string-append "#[ignore] " all))
3412 (("fn export_id_option_error" all)
3413 (string-append "#[ignore] " all))
3414 (("fn huge_zoom_factor_yields_error" all)
3415 (string-append "#[ignore] " all))
3416 (("fn multiple_input_files_not_allowed_for_png_output" all)
3417 (string-append "#[ignore] " all))
3418 (("fn stylesheet_option_error" all)
3419 (string-append "#[ignore] " all)))
3423 ((assoc-ref gnu:%standard-phases 'check)
3424 #:test-target "check")))
3426 (assoc-ref gnu:%standard-phases 'install)))))
3428 `(("docbook-xml" ,docbook-xml-4.3)
3429 ("glib" ,glib "bin")
3430 ("gobject-introspection" ,gobject-introspection)
3431 ("pkg-config" ,pkg-config)
3432 ("python" ,python-wrapper)
3437 ("fontconfig" ,fontconfig)
3438 ("freetype" ,freetype)
3439 ("harfbuzz" ,harfbuzz)
3440 ("libcroco" ,libcroco)
3442 ("libxml2" ,libxml2)
3446 ("gdk-pixbuf" ,gdk-pixbuf)
3448 (synopsis "SVG rendering library")
3449 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3450 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3451 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3453 (home-page "https://wiki.gnome.org/LibRsvg")
3454 (license license:lgpl2.1+)))
3456 (define-public libidl
3462 (uri (string-append "mirror://gnome/sources/libIDL/"
3463 (version-major+minor version) "/"
3464 "libIDL-" version ".tar.bz2"))
3467 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3468 (build-system gnu-build-system)
3469 (inputs `(("glib" ,glib)))
3471 `(("pkg-config" ,pkg-config)
3474 (home-page "http://freecode.com/projects/libidl")
3475 (synopsis "Create trees of CORBA Interface Definition Language files")
3476 (description "Libidl is a library for creating trees of CORBA Interface
3477 Definition Language (idl) files, which is a specification for defining
3478 portable interfaces. libidl was initially written for orbit (the orb from the
3479 GNOME project, and the primary means of libidl distribution). However, the
3480 functionality was designed to be as reusable and portable as possible.")
3481 (properties `((upstream-name . "libIDL")))
3482 (license license:lgpl2.0+)))
3485 (define-public orbit2
3491 (uri (let ((upstream-name "ORBit2"))
3492 (string-append "mirror://gnome/sources/" upstream-name "/"
3493 (version-major+minor version) "/"
3494 upstream-name "-" version ".tar.bz2")))
3497 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3498 (build-system gnu-build-system)
3500 `(;; The "timeout-server" test hangs when run in parallel.
3501 #:parallel-tests? #f
3503 '(;; We don't need static libraries, plus they don't build reproducibly
3504 ;; (non-deterministic ordering of .o files in the archive.)
3507 ;; The programmer kindly gives us a hook to turn off deprecation
3509 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3510 ;; ... which they then completly ignore !!
3512 (modify-phases %standard-phases
3513 (add-before 'configure 'ignore-deprecations
3515 (substitute* "linc2/src/Makefile.in"
3516 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3518 (inputs `(("glib" ,glib)
3519 ("libidl" ,libidl)))
3521 `(("pkg-config" ,pkg-config)))
3522 (home-page "https://projects.gnome.org/orbit2/")
3523 (synopsis "CORBA 2.4-compliant Object Request Broker")
3524 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3525 featuring mature C, C++ and Python bindings.")
3526 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3527 ;; a version. SOME of the code files have licence notices for GPLv2+.
3528 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3529 (license license:gpl2+)
3530 (properties `((upstream-name . "ORBit2")))))
3533 (define-public libbonobo
3539 (uri (string-append "mirror://gnome/sources/" name "/"
3540 (version-major+minor version)
3541 "/" name "-" version ".tar.bz2"))
3543 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3544 (patches (search-patches
3545 "libbonobo-activation-test-race.patch"))))
3546 (build-system gnu-build-system)
3548 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3550 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3551 ;; ... which they then completly ignore !!
3553 (modify-phases %standard-phases
3554 (add-before 'configure 'ignore-deprecations
3556 (substitute* "activation-server/Makefile.in"
3557 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3560 ;; There's apparently a race condition between the server stub
3561 ;; generation and linking of the example under 'samples/echo' that can
3562 ;; lead do undefined references when building in parallel, as reported
3563 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3564 ;; Thus, disable parallel builds.
3565 #:parallel-build? #f))
3566 (inputs `(("popt" ,popt)
3567 ("libxml2" ,libxml2)))
3568 ;; The following are Required by the .pc file
3571 ("orbit2" ,orbit2)))
3573 `(("intltool" ,intltool)
3574 ("pkg-config" ,pkg-config)
3575 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3578 (home-page "https://developer.gnome.org/libbonobo/")
3579 (synopsis "Framework for creating reusable components for use in GNOME applications")
3580 (description "Bonobo is a framework for creating reusable components for
3581 use in GNOME applications, built on top of CORBA.")
3582 ;; Licence not explicitly stated. Source files contain no licence notices.
3583 ;; Tarball contains text of both GPLv2 and LGPLv2
3584 ;; GPLv2 covers both conditions
3585 (license license:gpl2+)))
3588 (define-public gconf
3595 (let ((upstream-name "GConf"))
3596 (string-append "mirror://gnome/sources/" upstream-name "/"
3597 (version-major+minor version) "/"
3598 upstream-name "-" version ".tar.xz")))
3600 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3601 (build-system gnu-build-system)
3602 (inputs `(("dbus-glib" ,dbus-glib)
3603 ("libxml2" ,libxml2)))
3604 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3605 ("orbit2" ,orbit2)))
3607 `(("intltool" ,intltool)
3608 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3609 ("pkg-config" ,pkg-config)))
3610 (home-page "https://projects.gnome.org/gconf/")
3611 (synopsis "Store application preferences")
3612 (description "Gconf is a system for storing application preferences. It
3613 is intended for user preferences; not arbitrary data storage.")
3614 (license license:lgpl2.0+)
3615 (properties '((upstream-name . "GConf")))))
3618 (define-public gnome-mime-data
3620 (name "gnome-mime-data")
3624 (uri (string-append "mirror://gnome/sources/" name "/"
3625 (version-major+minor version) "/"
3626 name "-" version ".tar.bz2"))
3629 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3630 (build-system gnu-build-system)
3633 ("intltool" ,intltool)))
3635 '(#:phases (modify-phases %standard-phases
3636 (add-after 'configure 'use-our-intltool
3638 ;; Do not use the bundled intltool commands, which lack
3639 ;; the "dotless @INC" fixes of our 'intltool' package.
3640 (substitute* (find-files "." "^Makefile$")
3641 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3642 (string-append "INTLTOOL_" tool " = intltool-"
3643 (string-downcase tool) "\n")))
3645 (home-page "https://www.gnome.org")
3646 (synopsis "Base MIME and Application database for GNOME")
3647 (description "GNOME Mime Data is a module which contains the base MIME
3648 and Application database for GNOME. The data stored by this module is
3649 designed to be accessed through the MIME functions in GnomeVFS.")
3650 (license license:gpl2+)))
3653 (define-public gnome-vfs
3659 (uri (string-append "mirror://gnome/sources/" name "/"
3660 (version-major+minor version) "/"
3661 name "-" version ".tar.bz2"))
3664 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3665 (build-system gnu-build-system)
3668 (modify-phases %standard-phases
3669 (add-before 'configure 'ignore-deprecations
3671 (substitute* '("libgnomevfs/Makefile.in"
3672 "daemon/Makefile.in")
3673 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3675 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3677 (substitute* "test/test-async-cancel.c"
3678 (("EXIT_FAILURE") "77"))
3680 (inputs `(("libxml2" ,libxml2)
3681 ("dbus-glib" ,dbus-glib)
3683 ("gnome-mime-data" ,gnome-mime-data)
3686 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3687 ("intltool" ,intltool)
3688 ("pkg-config" ,pkg-config)))
3689 (home-page "https://developer.gnome.org/gnome-vfs/")
3690 (synopsis "Access files and folders in GNOME applications")
3692 "GnomeVFS is the core library used to access files and folders in GNOME
3693 applications. It provides a file system abstraction which allows applications
3694 to access local and remote files with a single consistent API.")
3695 (license license:lgpl2.0+)))
3699 (define-public libgnome
3705 (uri (string-append "mirror://gnome/sources/" name "/"
3706 (version-major+minor version) "/"
3707 name "-" version ".tar.bz2"))
3710 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3711 (patches (search-patches "libgnome-encoding.patch"))))
3712 (build-system gnu-build-system)
3715 (modify-phases %standard-phases
3716 (add-before 'configure 'enable-deprecated
3718 (substitute* "libgnome/Makefile.in"
3719 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3721 (inputs `(("libxml2" ,libxml2)))
3723 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3724 ("intltool" ,intltool)
3725 ("pkg-config" ,pkg-config)))
3726 ;; The following are listed as Required in the .pc file
3727 ;; (except for libcanberra -- which seems to be oversight on the part
3728 ;; of the upstream developers -- anything that links against libgnome,
3729 ;; must also link against libcanberra
3731 `(("libcanberra" ,libcanberra)
3732 ("libbonobo" ,libbonobo)
3734 ("gnome-vfs" ,gnome-vfs)
3735 ("popt" ,popt))) ;gnome-program.h includes popt.h
3736 (home-page "https://developer.gnome.org/libgnome/")
3737 (synopsis "Useful routines for building applications")
3738 (description "The libgnome library provides a number of useful routines
3739 for building modern applications, including session management, activation of
3740 files and URIs, and displaying help.")
3741 (license license:lgpl2.0+)))
3744 (define-public libart-lgpl
3746 (name "libart-lgpl")
3750 (uri (let ((upstream-name "libart_lgpl"))
3751 (string-append "mirror://gnome/sources/" upstream-name "/"
3752 (version-major+minor version) "/"
3753 upstream-name "-" version ".tar.bz2")))
3756 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3757 (build-system gnu-build-system)
3759 `(("pkg-config" ,pkg-config)))
3760 (home-page "https://people.gnome.org/~mathieu/libart")
3761 (synopsis "2D drawing library")
3762 (description "Libart is a 2D drawing library intended as a
3763 high-quality vector-based 2D library with antialiasing and alpha composition.")
3764 (license license:lgpl2.0+)))
3768 (define-public libgnomecanvas
3770 (name "libgnomecanvas")
3774 (uri (string-append "mirror://gnome/sources/" name "/"
3775 (version-major+minor version) "/"
3776 name "-" version ".tar.gz"))
3779 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3780 (build-system gnu-build-system)
3781 ;; Mentioned as Required in the .pc file
3782 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3785 `(("intltool" ,intltool)
3786 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3787 ("pkg-config" ,pkg-config)))
3788 (home-page "https://developer.gnome.org/libgnomecanvas/")
3789 (synopsis "Flexible widget for creating interactive structured graphics")
3790 (description "The GnomeCanvas widget provides a flexible widget for
3791 creating interactive structured graphics.")
3792 (license license:lgpl2.0+)))
3794 (define-public libgnomecanvasmm
3796 (name "libgnomecanvasmm")
3800 (uri (string-append "mirror://gnome/sources/" name "/"
3801 (version-major+minor version) "/"
3802 name "-" version ".tar.bz2"))
3805 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3806 (build-system gnu-build-system)
3807 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3809 `(("gtkmm-2" ,gtkmm-2)
3810 ("pkg-config" ,pkg-config)))
3811 (home-page "https://gtkmm.org")
3812 (synopsis "C++ bindings to the GNOME Canvas library")
3813 (description "C++ bindings to the GNOME Canvas library.")
3814 (license license:lgpl2.0+)))
3816 (define-public libgnomeui
3822 (uri (string-append "mirror://gnome/sources/" name "/"
3823 (version-major+minor version) "/"
3824 name "-" version ".tar.bz2"))
3825 (patches (search-patches "libgnomeui-utf8.patch"))
3828 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3829 (build-system gnu-build-system)
3830 ;; Mentioned as Required in the .pc file
3831 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3832 ("libgnome" ,libgnome)
3833 ("libgnomecanvas" ,libgnomecanvas)
3834 ("libgnome-keyring" ,libgnome-keyring)))
3835 (inputs `(("libjpeg" ,libjpeg-turbo)
3837 ("libbonobo" ,libbonobo)
3838 ("libxml2" ,libxml2)
3839 ("libglade" ,libglade)))
3841 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3842 ("intltool" ,intltool)
3843 ("pkg-config" ,pkg-config)))
3844 (home-page "https://developer.gnome.org/libgnomeui/")
3845 (synopsis "Additional widgets for applications")
3846 (description "The libgnomeui library provides additional widgets for
3847 applications. Many of the widgets from libgnomeui have already been
3849 (license license:lgpl2.0+)))
3851 (define-public libglade
3857 (uri (string-append "mirror://gnome/sources/" name "/"
3858 (version-major+minor version) "/"
3859 name "-" version ".tar.bz2"))
3862 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3863 (build-system gnu-build-system)
3865 `(("python" ,python))) ;; needed for the optional libglade-convert program
3867 `(("gtk+-2" ,gtk+-2)
3868 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3870 `(("pkg-config" ,pkg-config)))
3871 (home-page "https://developer.gnome.org/libglade")
3872 (synopsis "Load glade interfaces and access the glade built widgets")
3873 (description "Libglade is a library that provides interfaces for loading
3874 graphical interfaces described in glade files and for accessing the
3875 widgets built in the loading process.")
3876 (license license:gpl2+))) ; This is correct. GPL not LGPL
3878 (define-public libgnomeprint
3879 ;; This library has been deprecated since 2006; see
3880 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3882 (name "libgnomeprint")
3886 (uri (string-append "mirror://gnome/sources/" name "/"
3887 (version-major+minor version) "/"
3888 name "-" version ".tar.bz2"))
3891 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3892 (build-system gnu-build-system)
3895 ("libart-lgpl" ,libart-lgpl)
3897 ("libxml2" ,libxml2)))
3899 `(("intltool" ,intltool)
3900 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3901 ("pkg-config" ,pkg-config)))
3902 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3903 (synopsis "Printing framework for GNOME")
3905 "GNOME-print was a printing framework for GNOME. It has been deprecated
3906 since ca. 2006, when GTK+ itself incorporated printing support.")
3907 (license license:lgpl2.0+)))
3910 (define-public libgnomeprintui
3911 ;; Deprecated; see libgnomeprint.
3913 (name "libgnomeprintui")
3917 (uri (string-append "mirror://gnome/sources/" name "/"
3918 (version-major+minor version) "/"
3919 name "-" version ".tar.bz2"))
3922 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
3923 (build-system gnu-build-system)
3924 ;; Mentioned as Required in the .pc file
3925 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
3926 (inputs `(("gtk+" ,gtk+-2)
3928 ("gnome-icon-theme" ,gnome-icon-theme)
3929 ("libgnomecanvas" ,libgnomecanvas)
3930 ("libxml2" ,libxml2)))
3932 `(("intltool" ,intltool)
3933 ("pkg-config" ,pkg-config)))
3934 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3935 (synopsis "Printing framework for GNOME")
3936 (description (package-description libgnomeprint))
3937 (license license:lgpl2.0+)))
3939 (define-public libbonoboui
3941 (name "libbonoboui")
3945 (uri (string-append "mirror://gnome/sources/" name "/"
3946 (version-major+minor version) "/"
3947 name "-" version ".tar.bz2"))
3950 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
3951 (build-system gnu-build-system)
3954 (modify-phases %standard-phases
3955 (add-before 'check 'start-xserver
3956 (lambda* (#:key inputs #:allow-other-keys)
3957 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3960 (setenv "HOME" (getcwd))
3961 (setenv "DISPLAY" disp)
3962 ;; There must be a running X server and make check doesn't start one.
3963 ;; Therefore we must do it.
3964 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
3965 ;; Mentioned as Required by the .pc file
3966 (propagated-inputs `(("libxml2" ,libxml2)))
3969 ("pangox-compat" ,pangox-compat)
3970 ("libgnome" ,libgnome)
3971 ("libgnomecanvas" ,libgnomecanvas)
3972 ("libglade" ,libglade)))
3974 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
3975 ("intltool" ,intltool)
3976 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
3977 ("pkg-config" ,pkg-config)))
3978 (home-page "https://developer.gnome.org/libbonoboui/")
3979 (synopsis "Some user interface controls using Bonobo")
3980 (description "The Bonobo UI library provides a number of user interface
3981 controls using the Bonobo component framework.")
3982 (license license:lgpl2.0+)))
3984 (define-public libwnck
3990 (uri (string-append "mirror://gnome/sources/" name "/"
3991 (version-major+minor version) "/"
3992 name "-" version ".tar.xz"))
3995 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
3996 (build-system meson-build-system)
3998 `(("pkg-config" ,pkg-config)
3999 ("glib" ,glib "bin") ; for glib-mkenums
4000 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
4001 ("intltool" ,intltool)))
4004 ("libxres" ,libxres)
4005 ("startup-notification" ,startup-notification)))
4006 (home-page "https://developer.gnome.org/libwnck/")
4007 (synopsis "Window Navigator Construction Kit")
4009 "Libwnck is the Window Navigator Construction Kit, a library for use in
4010 writing pagers, tasklists, and more generally applications that are dealing
4011 with window management. It tries hard to respect the Extended Window Manager
4012 Hints specification (EWMH).")
4013 (license license:lgpl2.0+)))
4015 ;; stable version for gtk2, required by xfwm4.
4016 (define-public libwnck-2
4017 (package (inherit libwnck)
4022 (uri (string-append "mirror://gnome/sources/" name "/"
4023 (version-major+minor version) "/"
4024 name "-" version ".tar.xz"))
4027 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4028 (build-system gnu-build-system)
4030 `(("pkg-config" ,pkg-config)
4031 ("intltool" ,intltool)))
4034 ("libxres" ,libxres)
4035 ("startup-notification" ,startup-notification)))))
4037 (define-public goffice
4043 (uri (string-append "mirror://gnome/sources/goffice/"
4044 (version-major+minor version) "/"
4045 "goffice-" version ".tar.xz"))
4047 (base32 "1z6f3q8fxkd1ysqrwdxdi0844zqa00vjpf07gq8mh3kal8picfd4"))))
4048 (build-system gnu-build-system)
4050 "doc")) ; 4.0 MiB of gtk-doc
4052 '(#:configure-flags (list (string-append "--with-html-dir="
4053 (assoc-ref %outputs "doc")
4054 "/share/gtk-doc/html"))))
4058 ("librsvg" ,librsvg)
4059 ("libxslt" ,libxslt)
4060 ("libxml2" ,libxml2)))
4062 `(("intltool" ,intltool)
4063 ("glib" ,glib "bin")
4064 ("pkg-config" ,pkg-config)))
4065 (home-page "https://developer.gnome.org/goffice/")
4066 (synopsis "Document-centric objects and utilities")
4067 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4069 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4071 (list license:gpl2 license:gpl3))))
4073 (define-public goffice-0.8
4074 (package (inherit goffice)
4078 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4079 (version-major+minor version) "/"
4080 (package-name goffice) "-" version ".tar.xz"))
4082 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4085 (modify-phases %standard-phases
4086 (add-after 'unpack 'fix-pcre-check
4088 ;; Only glib.h can be included directly. See
4089 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4090 (substitute* "configure"
4091 (("glib/gregex\\.h") "glib.h")) #t)))
4093 ,@(package-arguments goffice)))
4095 ;; libgoffice-0.8.pc mentions libgsf-1
4096 `(("libgsf" ,libgsf)))
4099 ,@(alist-delete "gtk" (package-inputs goffice))))))
4101 (define-public gnumeric
4107 (uri (string-append "mirror://gnome/sources/gnumeric/"
4108 (version-major+minor version) "/"
4109 "gnumeric-" version ".tar.xz"))
4112 "14556b0vyxdvdwjlin0rv7jk0vq4nplbmvp9j89bhkfk84xf7k2p"))))
4113 (build-system glib-or-gtk-build-system)
4115 `(;; The gnumeric developers don't worry much about failing tests.
4116 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4119 (modify-phases %standard-phases
4121 'configure 'pre-conf
4122 (lambda* (#:key outputs #:allow-other-keys)
4123 ;; Make install tries to write into the directory of goffice
4124 ;; I am informed that this only affects the possibility to embed a
4125 ;; spreadsheet inside an Abiword document. So presumably when we
4126 ;; package Abiword we'll have to refer it to this directory.
4127 (substitute* "configure"
4128 (("^GOFFICE_PLUGINS_DIR=.*")
4129 (string-append "GOFFICE_PLUGINS_DIR="
4130 (assoc-ref outputs "out")
4131 "/goffice/plugins"))))))))
4135 ("goffice" ,goffice)
4137 ("librsvg" ,librsvg)
4138 ("libxml2" ,libxml2)
4139 ("libxslt" ,libxslt)
4141 ("python-pygobject" ,python-pygobject)
4145 ("docbook-xml" ,docbook-xml)
4146 ("intltool" ,intltool)
4147 ("itstool" ,itstool)
4148 ("glib:bin" ,glib "bin")
4149 ("pkg-config" ,pkg-config)))
4150 (home-page "http://www.gnumeric.org")
4151 (synopsis "Spreadsheet application")
4153 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4154 interoperable with other spreadsheet applications. It has a vast array of
4155 features beyond typical spreadsheet functionality, such as support for linear
4156 and non-linear solvers, statistical analysis, and telecommunication
4159 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4160 (list license:gpl2 license:gpl3))))
4162 (define-public gnome-themes-standard
4164 (name "gnome-themes-standard")
4169 (uri (string-append "mirror://gnome/sources/" name "/"
4170 (version-major+minor version) "/" name "-"
4174 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4175 (build-system gnu-build-system)
4178 ;; Don't create 'icon-theme.cache'.
4179 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4180 (true (string-append coreutils "/bin/true")))
4181 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4185 ("librsvg" ,librsvg)
4186 ("libxml2" ,libxml2)
4189 `(("intltool" ,intltool)
4190 ("glib:bin" ,glib "bin")
4191 ("pkg-config" ,pkg-config)))
4192 (home-page "https://launchpad.net/gnome-themes-standard")
4193 (synopsis "Default GNOME 3 themes")
4195 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4196 (license license:lgpl2.1+)))
4198 (define-public seahorse
4205 (uri (string-append "mirror://gnome/sources/" name "/"
4206 (version-major+minor version) "/" name "-"
4209 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4210 (build-system meson-build-system)
4214 (modify-phases %standard-phases
4215 (add-after 'unpack 'skip-gtk-update-icon-cache
4216 ;; Don't create 'icon-theme.cache'.
4218 (substitute* "build-aux/meson_post_install.py"
4219 (("gtk-update-icon-cache") "true"))
4226 ("openldap" ,openldap)
4227 ("openssh" ,openssh)
4229 ("libhandy" ,libhandy-0.0)
4230 ("libpwquality" ,libpwquality)
4231 ("libsecret" ,libsecret)
4232 ("libsoup" ,libsoup)))
4234 `(("gettext" ,gettext-minimal)
4235 ("glib:bin" ,glib "bin")
4236 ("itstool" ,itstool)
4237 ("pkg-config" ,pkg-config)
4239 ("xmllint" ,libxml2)))
4240 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4241 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4243 "Seahorse is a GNOME application for managing encryption keys and
4244 passwords in the GNOME keyring.")
4245 (license license:gpl2+)))
4253 (uri (string-append "mirror://gnome/sources/" name "/"
4254 (version-major+minor version) "/"
4255 name "-" version ".tar.xz"))
4258 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4259 (build-system gnu-build-system)
4262 (modify-phases %standard-phases
4263 (add-before 'check 'pre-check
4266 (substitute* "valadoc/tests/testrunner.sh"
4267 (("export PKG_CONFIG_PATH=" m)
4268 (string-append m "$PKG_CONFIG_PATH:")))
4269 ;; For missing '/etc/machine-id'.
4270 (setenv "DBUS_FATAL_WARNINGS" "0")
4273 `(("pkg-config" ,pkg-config)
4276 ("xsltproc" ,libxslt)
4277 ("dbus" ,dbus) ; for dbus tests
4278 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4280 `(("graphviz" ,graphviz)))
4282 `(("glib" ,glib))) ; required by libvala-0.40.pc
4283 (home-page "https://wiki.gnome.org/Projects/Vala/")
4284 (synopsis "Compiler for the GObject type system")
4286 "Vala is a programming language that aims to bring modern programming
4287 language features to GNOME developers without imposing any additional runtime
4288 requirements and without using a different ABI compared to applications and
4289 libraries written in C.")
4290 (license license:lgpl2.1+)))
4292 (define-public vala-0.50
4298 (uri (string-append "mirror://gnome/sources/vala/"
4299 (version-major+minor version) "/"
4300 "vala-" version ".tar.xz"))
4303 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4311 (uri (string-append "mirror://gnome/sources/vte/"
4312 (version-major+minor version) "/"
4313 "vte-" version ".tar.xz"))
4316 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4317 (build-system meson-build-system)
4321 "-D_systemd=false")))
4323 `(("pkg-config" ,pkg-config)
4324 ("gettext" ,gettext-minimal)
4326 ("gobject-introspection" ,gobject-introspection)
4327 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4329 ("xmllint" ,libxml2)))
4331 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4332 ("gnutls" ,gnutls) ; ditto
4333 ("pcre2" ,pcre2))) ; ditto
4334 (home-page "https://www.gnome.org/")
4335 (synopsis "Virtual Terminal Emulator")
4337 "VTE is a library (libvte) implementing a terminal emulator widget for
4338 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4339 gnome-terminal, but can also be used to embed a console/terminal in games,
4340 editors, IDEs, etc.")
4341 (license license:lgpl2.1+)))
4343 (define-public vte-ng
4347 (version "0.58.2.a")
4348 (home-page "https://github.com/thestinger/vte-ng")
4351 (uri (git-reference (url home-page) (commit version)))
4352 (file-name (git-file-name name version))
4355 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4356 (build-system meson-build-system)
4358 `(("gtk-doc" ,gtk-doc)
4359 ,@(package-native-inputs vte)))
4361 `(#:configure-flags '("-Ddocs=true")))
4362 (synopsis "Enhanced VTE terminal widget")
4364 "VTE is a library (libvte) implementing a terminal emulator widget for
4365 GTK+, this fork provides additional functions exposed for keyboard text
4366 selection and URL hints.")))
4368 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4369 (define-public vte/gtk+-2
4370 (package (inherit vte)
4375 (uri (string-append "mirror://gnome/sources/" name "/"
4376 (version-major+minor version) "/"
4377 name "-" version ".tar.xz"))
4380 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4381 (patches (search-patches
4382 "vte-CVE-2012-2738-pt1.patch"
4383 "vte-CVE-2012-2738-pt2.patch"))))
4384 (build-system gnu-build-system)
4386 '(#:configure-flags '("--disable-python")))
4388 `(("pkg-config" ,pkg-config)
4389 ("intltool" ,intltool)
4390 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4392 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4393 ("ncurses" ,ncurses))))) ; required by libvte.la
4395 (define-public vinagre
4401 (uri (string-append "mirror://gnome/sources/" name "/"
4402 (version-major+minor version) "/"
4403 name "-" version ".tar.xz"))
4404 (patches (search-patches "vinagre-newer-freerdp.patch"
4405 "vinagre-newer-rdp-parameters.patch"))
4408 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4409 (build-system glib-or-gtk-build-system)
4411 ;; Disable -Werror and such, to avoid build failures on compilation
4413 '(#:configure-flags '("--enable-compile-warnings=minimum")
4415 (modify-phases %standard-phases
4416 (add-before 'install 'skip-gtk-update-icon-cache
4418 ;; Don't create 'icon-theme.cache'
4419 (substitute* (find-files "." "^Makefile$")
4420 (("gtk-update-icon-cache") (which "true")))
4422 (add-after 'unpack 'patch-configure
4424 (substitute* "configure"
4425 (("freerdp") "freerdp2"))
4428 `(("pkg-config" ,pkg-config)
4429 ("intltool" ,intltool)
4430 ("itstool" ,itstool)
4431 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4433 `(("libxml2" ,libxml2)
4434 ("gtk-vnc" ,gtk-vnc)
4435 ("gnome-keyring" ,gnome-keyring)
4436 ("libsecret" ,libsecret)
4437 ("freerdp" ,freerdp)
4439 ("spice-gtk" ,spice-gtk)
4440 ("telepathy-glib" ,telepathy-glib)
4442 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4443 (synopsis "Remote desktop viewer for GNOME")
4444 (description "Vinagre is a remote display client supporting the VNC, SPICE
4445 and RDP protocols.")
4446 (license license:gpl3+)))
4448 (define-public dconf
4455 "mirror://gnome/sources/" name "/"
4456 (version-major+minor version) "/"
4457 name "-" version ".tar.xz"))
4460 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4461 (build-system meson-build-system)
4463 ;; In Requires of dconf.pc.
4469 `(("bash-completion" ,bash-completion)
4470 ("libxslt" ,libxslt) ;for xsltproc
4471 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4472 ("docbook-xml" ,docbook-xml-4.2)
4473 ("docbook-xsl" ,docbook-xsl)
4474 ("glib:bin" ,glib "bin")
4475 ("gtk-doc" ,gtk-doc)
4476 ("pkg-config" ,pkg-config)
4480 #:configure-flags '("-Denable-gtk-doc=true")
4481 #:phases (modify-phases %standard-phases
4482 (add-after 'unpack 'increase-test-timeout
4484 ;; On big-memory systems, the engine test may take
4485 ;; much longer than the default of 30 seconds.
4486 (substitute* "tests/meson.build"
4487 (("test\\(unit_test\\[0\\], exe" all)
4488 (string-append all ", timeout : 90")))
4490 (home-page "https://developer.gnome.org/dconf/")
4491 (synopsis "Low-level GNOME configuration system")
4492 (description "Dconf is a low-level configuration system. Its main purpose
4493 is to provide a backend to GSettings on platforms that don't already have
4494 configuration storage systems.")
4495 (license license:lgpl2.1+)))
4497 (define-public json-glib
4503 (uri (string-append "mirror://gnome/sources/" name "/"
4504 (version-major+minor version) "/"
4505 name "-" version ".tar.xz"))
4508 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4509 (build-system meson-build-system)
4511 `(("gettext" ,gettext-minimal)
4512 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4513 ("gobject-introspection" ,gobject-introspection)
4514 ("pkg-config" ,pkg-config)))
4516 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4517 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4518 (synopsis "Compiler for the GObject type system")
4520 "JSON-GLib is a C library based on GLib providing serialization and
4521 deserialization support for the JavaScript Object Notation (JSON) format
4522 described by RFC 4627. It provides parser and generator GObject classes and
4523 various wrappers for the complex data types employed by JSON, such as arrays
4525 (license license:lgpl2.1+)))
4527 (define-public libxklavier
4529 (name "libxklavier")
4532 ;; Note: There's no tarball at ftp.gnome.org for this version.
4535 (url "https://anongit.freedesktop.org/git/libxklavier")
4536 (commit (string-append "libxklavier-" version))))
4539 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4540 (file-name (git-file-name name version))))
4541 (build-system gnu-build-system)
4544 (list (string-append "--with-xkb-base="
4545 (assoc-ref %build-inputs "xkeyboard-config")
4547 "--disable-xmodmap-support")))
4549 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4550 ("gobject-introspection" ,gobject-introspection)
4551 ("pkg-config" ,pkg-config)
4552 ("gtk-doc" ,gtk-doc)
4553 ("intltool" ,intltool)
4555 ("autoconf" ,autoconf)
4556 ("automake" ,automake)
4557 ("libtool" ,libtool)))
4559 ;; Required by libxklavier.pc.
4561 ("libxml2" ,libxml2)))
4563 `(("iso-codes" ,iso-codes)
4565 ("libxkbfile" ,libxkbfile)
4566 ("xkbcomp" ,xkbcomp)
4567 ("xkeyboard-config" ,xkeyboard-config)))
4568 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4569 (synopsis "High-level API for X Keyboard Extension")
4571 "LibXklavier is a library providing high-level API for X Keyboard
4572 Extension known as XKB. This library is intended to support XFree86 and other
4573 commercial X servers. It is useful for creating XKB-related software (layout
4575 (license license:lgpl2.0+)))
4577 (define-public python2-rsvg
4578 ;; XXX: This is actually a subset of gnome-python-desktop.
4580 (name "python2-rsvg")
4586 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4587 version ".tar.bz2"))
4590 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4591 (build-system gnu-build-system)
4593 `(("pkg-config" ,pkg-config)))
4595 `(("python" ,python-2)
4596 ("python2-pygtk" ,python2-pygtk)
4597 ("librsvg" ,librsvg)))
4598 (home-page "https://www.gnome.org")
4599 (synopsis "Python bindings to librsvg")
4601 "This package provides Python bindings to librsvg, the SVG rendering
4604 ;; This is the license of the rsvg bindings. The license of each module
4605 ;; of gnome-python-desktop is given in 'COPYING'.
4606 (license license:lgpl2.1+)))
4608 (define-public glib-networking
4610 (name "glib-networking")
4614 (uri (string-append "mirror://gnome/sources/glib-networking/"
4615 (version-major+minor version) "/"
4616 "glib-networking-" version ".tar.xz"))
4619 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4620 (build-system meson-build-system)
4622 `(#:configure-flags '("-Dlibproxy_support=false")))
4624 `(("pkg-config" ,pkg-config)
4625 ("intltool" ,intltool)))
4629 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4630 (home-page "https://www.gnome.org")
4631 (synopsis "Network-related GIO modules")
4633 "This package contains various network related extensions for the GIO
4635 (license license:lgpl2.0+)))
4643 (uri (string-append "mirror://gnome/sources/rest/"
4644 (version-major+minor version) "/"
4645 name "-" version ".tar.xz"))
4648 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4649 (build-system gnu-build-system)
4651 '(#:tests? #f ; tests require internet connection
4653 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4655 `(("glib-mkenums" ,glib "bin")
4656 ("gobject-introspection" ,gobject-introspection)
4657 ("pkg-config" ,pkg-config)))
4659 ;; rest-0.7.pc refers to all these.
4661 ("libsoup" ,libsoup)
4662 ("libxml2" ,libxml2)))
4663 (home-page "https://www.gtk.org/")
4664 (synopsis "RESTful web api query library")
4666 "This library was designed to make it easier to access web services that
4667 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4668 libxml to ease remote use of the RESTful API.")
4669 (license license:lgpl2.1+)))
4671 (define-public libsoup
4677 (uri (string-append "mirror://gnome/sources/libsoup/"
4678 (version-major+minor version) "/"
4679 "libsoup-" version ".tar.xz"))
4682 "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p"))))
4683 (build-system meson-build-system)
4684 (outputs '("out" "doc"))
4686 `(#:modules ((guix build utils)
4687 (guix build meson-build-system)
4690 #:configure-flags '("-Dgtk_doc=true")
4692 (modify-phases %standard-phases
4693 (add-after 'unpack 'patch-docbook-xml
4694 (lambda* (#:key inputs #:allow-other-keys)
4695 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4696 "/xml/dtd/docbook")))
4697 (substitute* (find-files "docs/reference")
4698 (("http://.*/docbookx\\.dtd")
4699 (string-append xmldoc "/docbookx.dtd")))
4701 (add-after 'unpack 'adjust-tests
4703 ;; This test fails due to missing /etc/nsswitch.conf
4704 ;; in the build environment.
4705 (substitute* "tests/socket-test.c"
4706 ((".*/sockets/unconnected.*") ""))
4708 ;; These fail because "subdomain.localhost" does not resolve in
4709 ;; the build environment.
4710 (substitute* "tests/hsts-test.c"
4711 ((".*/hsts/basic.*") "")
4712 ((".*/hsts/subdomains.*") "")
4713 ((".*/hsts/superdomain.*") "")
4714 ((".*/hsts/utf8-address.*") ""))
4715 (substitute* "tests/hsts-db-test.c"
4716 ((".*/hsts-db/subdomains.*") ""))
4718 ;; Generate a self-signed certificate that has "localhost" as its
4719 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4720 ;; 3.5.12, tests such as "ssl-tests" fail:
4722 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4724 ;; 'certtool' is interactive so we have to pipe it the answers.
4725 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4726 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4727 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4728 (for-each (lambda (line)
4733 "Guix" ;Organizational unit name
4734 "GNU" ;Organization name
4736 "" ;State or province
4738 "" ;subject's domain component (DC)
4741 "-1" ;expiration time
4742 "N" ;belong to authority?
4743 "N" ;web client certificate?
4745 "Y" ;web server certificate?
4746 "localhost" ;dnsName of subject
4747 "" ;dnsName of subject (end)
4749 "127.0.0.1" ;IP address of subject
4751 "" ;encryption (RSA)?
4752 "" ;data encryption?
4753 "" ;sign OCSP requests?
4756 "" ;email protection?
4757 "" ;URI of the CRL distribution point
4762 (add-after 'install 'move-doc
4763 (lambda* (#:key outputs #:allow-other-keys)
4764 (let ((out (assoc-ref outputs "out"))
4765 (doc (assoc-ref outputs "doc")))
4766 (mkdir-p (string-append doc "/share"))
4767 (copy-recursively (string-append out "/share/gtk-doc")
4768 (string-append doc "/share/gtk-doc"))
4769 (delete-file-recursively (string-append out "/share/gtk-doc"))
4772 `(("docbook-xml" ,docbook-xml-4.1.2)
4773 ("glib:bin" ,glib "bin") ; for glib-mkenums
4774 ("gobject-introspection" ,gobject-introspection)
4775 ("gtk-doc" ,gtk-doc)
4776 ("intltool" ,intltool)
4777 ("pkg-config" ,pkg-config)
4778 ("python" ,python-wrapper)
4782 ("gnutls" ,gnutls) ;for 'certtool'
4785 ;; libsoup-2.4.pc refers to all these.
4786 `(("brotli" ,google-brotli)
4789 ("libxml2" ,libxml2)
4793 `(("glib-networking" ,glib-networking)
4794 ("mit-krb5" ,mit-krb5)))
4795 (home-page "https://live.gnome.org/LibSoup/")
4796 (synopsis "GLib-based HTTP Library")
4798 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4799 and the GLib main loop, to integrate well with GNOME applications.")
4800 (license license:lgpl2.0+)))
4803 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4804 (define-public libsoup-minimal
4807 (name "libsoup-minimal")
4808 (outputs (delete "doc" (package-outputs libsoup)))
4810 (substitute-keyword-arguments (package-arguments libsoup)
4811 ((#:configure-flags configure-flags)
4812 `(delete "-Dgtk_doc=true" ,configure-flags))
4814 `(modify-phases ,phases
4815 (delete 'move-doc)))))
4816 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4818 (define-public libsecret
4825 "mirror://gnome/sources/libsecret/"
4826 (version-major+minor version) "/"
4827 "libsecret-" version ".tar.xz"))
4830 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4831 (build-system gnu-build-system)
4832 (outputs '("out" "doc"))
4834 `(#:tests? #f ; FIXME: Testing hangs.
4836 (list (string-append "--with-html-dir="
4837 (assoc-ref %outputs "doc")
4838 "/share/gtk-doc/html"))))
4840 `(("gettext" ,gettext-minimal)
4841 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4842 ("gobject-introspection" ,gobject-introspection)
4843 ("pkg-config" ,pkg-config)
4845 ("xsltproc" ,libxslt)))
4846 ;; These are needed for the tests.
4847 ;; FIXME: Add gjs once available.
4849 ;("python2" ,python-2)
4850 ;("python2-dbus" ,python2-dbus)
4851 ;("python2-pygobject" ,python2-pygobject)
4852 ;("python2-pygobject-2" ,python2-pygobject-2)))
4854 `(("glib" ,glib))) ; required by libsecret-1.pc
4856 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4857 ;; doesn't seem to affect the build result.
4858 `(("docbook-xsl" ,docbook-xsl)
4859 ("libgcrypt" ,libgcrypt)
4860 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4861 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4862 (synopsis "GObject bindings for \"Secret Service\" API")
4864 "Libsecret is a GObject based library for storing and retrieving passwords
4865 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4866 (license license:lgpl2.1+)))
4868 (define-public five-or-more
4870 (name "five-or-more")
4875 (uri (string-append "mirror://gnome/sources/five-or-more/"
4876 (version-major+minor version) "/"
4877 "five-or-more-" version ".tar.xz"))
4879 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4880 (build-system meson-build-system)
4884 (modify-phases %standard-phases
4885 (add-after 'unpack 'skip-gtk-update-icon-cache
4887 (substitute* "meson_post_install.py"
4888 (("gtk-update-icon-cache") (which "true")))
4891 `(("pkg-config" ,pkg-config)
4892 ("appstream-glib" ,appstream-glib)
4893 ("desktop-file-utils" ,desktop-file-utils)
4894 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4895 ("intltool" ,intltool)
4896 ("itstool" ,itstool)
4898 ("xmllint" ,libxml2)))
4901 ("libgnome-games-support" ,libgnome-games-support)
4902 ("librsvg" ,librsvg)))
4903 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4904 (synopsis "Logic puzzle game")
4905 (description "Five or More is a game where you try to align
4906 five or more objects of the same color and shape causing them to disappear.
4907 On every turn more objects will appear, until the board is full.
4908 Try to last as long as possible.")
4909 (license license:gpl2+)))
4911 (define-public gnome-mines
4913 (name "gnome-mines")
4918 (uri (string-append "mirror://gnome/sources/" name "/"
4919 (version-major+minor version) "/"
4920 name "-" version ".tar.xz"))
4922 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
4923 (build-system meson-build-system)
4927 (modify-phases %standard-phases
4928 (add-after 'unpack 'skip-gtk-update-icon-cache
4930 (substitute* "build-aux/meson_post_install.py"
4931 (("gtk-update-icon-cache") (which "true")))
4934 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4935 ("pkg-config" ,pkg-config)
4936 ("desktop-file-utils" ,desktop-file-utils)
4937 ("intltool" ,intltool)
4938 ("itstool" ,itstool)
4941 ("appstream-glib" ,appstream-glib)))
4944 ("libgnome-games-support" ,libgnome-games-support)
4945 ("librsvg" ,librsvg)))
4946 (home-page "https://wiki.gnome.org/Apps/Mines")
4947 (synopsis "Minesweeper game")
4949 "Mines (previously gnomine) is a puzzle game where you locate mines
4950 floating in an ocean using only your brain and a little bit of luck.")
4951 (license license:gpl2+)))
4953 (define-public gnome-multi-writer
4955 (name "gnome-multi-writer")
4960 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
4961 (version-major+minor version) "/"
4962 "gnome-multi-writer-" version ".tar.xz"))
4965 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
4966 (build-system meson-build-system)
4970 (modify-phases %standard-phases
4971 (add-after 'unpack 'skip-post-install
4973 (substitute* "meson.build"
4974 (("meson.add_install_script" &) (string-append "# " &)))
4977 `(("glib:bin" ,glib "bin")
4978 ("pkg-config" ,pkg-config)))
4981 ("glib" ,glib) ; for gio
4984 ("libgudev" ,libgudev)
4985 ("libcanberra" ,libcanberra)
4986 ("polkit" ,polkit)))
4987 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
4988 (synopsis "Write to multiple USB devices at once")
4990 "MultiWriter can be used to write an ISO file to multiple USB devices at
4992 (license license:gpl2+)))
4994 (define-public gnome-sudoku
4996 (name "gnome-sudoku")
5001 (uri (string-append "mirror://gnome/sources/" name "/"
5002 (version-major+minor version) "/"
5003 name "-" version ".tar.xz"))
5006 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
5007 (build-system meson-build-system)
5011 (modify-phases %standard-phases
5012 (add-after 'unpack 'skip-gtk-update-icon-cache
5014 (substitute* "build-aux/post_install.py"
5015 (("gtk-update-icon-cache") (which "true")))
5018 `(("pkg-config" ,pkg-config)
5019 ("desktop-file-utils" ,desktop-file-utils)
5020 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5021 ("intltool" ,intltool)
5022 ("itstool" ,itstool)
5024 ("xmllint" ,libxml2)))
5027 ("json-glib" ,json-glib)
5029 ("librsvg" ,librsvg)
5030 ("qqwing" ,qqwing)))
5031 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5032 (synopsis "Japanese logic game")
5034 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5035 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5036 possible while still providing features that make playing difficult Sudoku
5038 (license license:gpl2+)))
5040 (define-public gnome-terminal
5042 (name "gnome-terminal")
5047 (uri (string-append "mirror://gnome/sources/" name "/"
5048 (version-major+minor version) "/"
5049 name "-" version ".tar.xz"))
5052 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5053 (build-system glib-or-gtk-build-system)
5056 (list "--disable-migration" "--disable-search-provider"
5057 "--without-nautilus-extension")
5059 (modify-phases %standard-phases
5060 (add-before 'configure 'patch-/bin/true
5062 (substitute* "configure"
5063 (("/bin/true") (which "true"))))))))
5065 `(("pkg-config" ,pkg-config)
5066 ("desktop-file-utils" ,desktop-file-utils)
5067 ("intltool" ,intltool)
5068 ("itstool" ,itstool)
5069 ("xmllint" ,libxml2)))
5071 `(("dconf" ,dconf)))
5076 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5077 ("util-linux" ,util-linux "lib")
5079 (home-page "https://wiki.gnome.org/Apps/Terminal")
5080 (synopsis "Terminal emulator")
5082 "GNOME Terminal is a terminal emulator application for accessing a
5083 UNIX shell environment which can be used to run programs available on
5086 It supports several profiles, multiple tabs and implements several
5087 keyboard shortcuts.")
5088 (license license:gpl3+)))
5090 (define-public colord
5097 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5098 "colord-" version ".tar.xz"))
5100 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5101 (build-system meson-build-system)
5103 '(;; FIXME: One test fails:
5104 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5105 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5106 ;; application/x-zerosize
5109 #:configure-flags (list "-Dlocalstatedir=/var"
5110 ;; No dep on systemd.
5112 ;; Wants to install to global completion dir;
5114 "-Dbash_completion=false"
5115 "-Ddaemon_user=colord"
5118 ;; Requires spotread.
5119 "-Dargyllcms_sensor=false"
5120 ;; TODO: Requires docbook2x.
5123 (modify-phases %standard-phases
5124 (add-before 'configure 'patch-build-system
5125 (lambda* (#:key outputs #:allow-other-keys)
5126 (substitute* "rules/meson.build"
5127 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5128 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5130 (add-before 'configure 'set-sqlite3-file-name
5131 (lambda* (#:key inputs #:allow-other-keys)
5132 ;; "colormgr dump" works by invoking the "sqlite3" command.
5133 ;; Record its absolute file name.
5134 (let ((sqlite (assoc-ref inputs "sqlite")))
5135 (substitute* "client/cd-util.c"
5137 (string-append "\"" sqlite "/bin/sqlite3\"")))
5140 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5141 ("gettext" ,gettext-minimal)
5142 ("gobject-introspection" ,gobject-introspection)
5143 ("gtk-doc" ,gtk-doc)
5144 ("pkg-config" ,pkg-config)
5147 ;; colord.pc refers to all these.
5152 `(("dbus-glib" ,dbus-glib)
5154 ("libgudev" ,libgudev)
5157 ("python" ,python-wrapper)
5159 ("sane-backends" ,sane-backends)))
5160 (home-page "https://www.freedesktop.org/software/colord/")
5161 (synopsis "Color management service")
5162 (description "Colord is a system service that makes it easy to manage,
5163 install and generate color profiles to accurately color manage input and
5165 (license license:gpl2+)))
5167 (define-public geoclue
5175 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5176 version "/geoclue-" version ".tar.bz2"))
5178 (base32 "09ww26a76kanldhgwnn5sqy9ly2940k45zpp68spykkv2zjdpivc"))
5179 (patches (search-patches "geoclue-config.patch"))))
5180 (build-system meson-build-system)
5182 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5184 `(("pkg-config" ,pkg-config)
5185 ("gobject-introspection" ,gobject-introspection)
5186 ("modem-manager" ,modem-manager)
5187 ("libnotify" ,libnotify)
5188 ("gtk-doc" ,gtk-doc)
5189 ("intltool" ,intltool)))
5192 ("glib:bin" ,glib "bin")
5193 ("glib-networking" ,glib-networking)
5194 ("json-glib" ,json-glib)
5195 ("libsoup" ,libsoup)))
5196 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5197 (synopsis "Geolocation service")
5198 (description "Geoclue is a D-Bus service that provides location
5199 information. The primary goal of the Geoclue project is to make creating
5200 location-aware applications as simple as possible, while the secondary goal is
5201 to ensure that no application can access location information without explicit
5202 permission from user.")
5203 (license license:gpl2+)))
5205 (define-public geocode-glib
5207 (name "geocode-glib")
5211 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5212 (version-major+minor version) "/"
5213 "geocode-glib-" version ".tar.xz"))
5216 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5217 (build-system meson-build-system)
5220 (modify-phases %standard-phases
5221 ;; The tests require a bunch of locales.
5222 (add-before 'check 'set-locales
5223 (lambda* (#:key inputs #:allow-other-keys)
5224 (setenv "GUIX_LOCPATH"
5225 (string-append (assoc-ref inputs "glibc-locales")
5229 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5230 ("glibc-locales" ,glibc-locales) ; for tests
5231 ("gettext" ,gettext-minimal)
5232 ("gobject-introspection" ,gobject-introspection)
5233 ("gtk-doc" ,gtk-doc)
5234 ("pkg-config" ,pkg-config)
5235 ("json-glib" ,json-glib)))
5237 ;; geocode-glib-1.0.pc refers to GIO.
5240 `(("libsoup" ,libsoup)))
5241 (home-page "https://github.com/GNOME/geocode-glib/")
5242 (synopsis "Geocoding and reverse-geocoding library")
5244 "geocode-glib is a convenience library for geocoding (finding longitude,
5245 and latitude from an address) and reverse geocoding (finding an address from
5246 coordinates) using the Nominatim service. geocode-glib caches requests for
5247 faster results and to avoid unnecessary server load.")
5248 (license license:lgpl2.0+)))
5250 (define-public upower
5256 (uri (string-append "https://upower.freedesktop.org/releases/"
5257 "upower-" version ".tar.xz"))
5260 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5261 (patches (search-patches "upower-builddir.patch"))
5262 (modules '((guix build utils)))
5266 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5267 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5268 ;; 'dbus-configuration-directory' in (gnu services dbus)
5269 ;; expects it in etc/. Thus, move it back to its previous
5271 (substitute* "src/Makefile.in"
5272 (("^dbusconfdir =.*$")
5273 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5275 (build-system glib-or-gtk-build-system)
5278 (modify-phases %standard-phases
5279 (add-before 'check 'pre-check
5280 (lambda* (#:key inputs #:allow-other-keys)
5281 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5283 (setenv "LD_LIBRARY_PATH" umockdev))
5285 #:configure-flags (list "--localstatedir=/var"
5286 (string-append "--with-udevrulesdir="
5287 (assoc-ref %outputs "out")
5288 "/lib/udev/rules.d"))))
5290 `(("gobject-introspection" ,gobject-introspection)
5291 ("pkg-config" ,pkg-config)
5292 ("intltool" ,intltool)
5296 ("python-dbus" ,python-dbus)
5297 ("python-dbusmock" ,python-dbusmock)
5298 ("python-pygobject" ,python-pygobject)
5299 ("umockdev" ,umockdev)
5302 ("libxslt" ,libxslt) ;for 'xsltproc'
5303 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5304 ("docbook-xsl" ,docbook-xsl)))
5306 `(("dbus-glib" ,dbus-glib)
5307 ("libgudev" ,libgudev)
5308 ("libusb" ,libusb)))
5310 ;; In Requires of upower-glib.pc.
5312 (home-page "https://upower.freedesktop.org/")
5313 (synopsis "System daemon for managing power devices")
5315 "UPower is an abstraction for enumerating power devices,
5316 listening to device events and querying history and statistics. Any
5317 application or service on the system can access the org.freedesktop.UPower
5318 service via the system message bus.")
5319 (license license:gpl2+)))
5321 (define-public libgweather
5323 (name "libgweather")
5327 (uri (string-append "mirror://gnome/sources/" name "/"
5328 (version-major+minor version) "/"
5329 name "-" version ".tar.xz"))
5332 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5333 (build-system meson-build-system)
5335 `(#:tests? #f ; one of two tests requires network access
5337 `(,(string-append "-Dzoneinfo_dir="
5338 (assoc-ref %build-inputs "tzdata")
5339 "/share/zoneinfo"))))
5341 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5342 ("gobject-introspection" ,gobject-introspection)
5343 ("pkg-config" ,pkg-config)
5345 ("intltool" ,intltool)))
5347 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5350 ("gdk-pixbuf" ,gdk-pixbuf)
5351 ("libxml2" ,libxml2)
5352 ("libsoup" ,libsoup)
5353 ("geocode-glib" ,geocode-glib)))
5355 `(("tzdata" ,tzdata)))
5356 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5357 (synopsis "Location, time zone, and weather library for GNOME")
5359 "libgweather is a library to access weather information from online
5360 services for numerous locations.")
5361 (license license:gpl2+)))
5363 (define-public gnome-settings-daemon
5365 (name "gnome-settings-daemon")
5370 (uri (string-append "mirror://gnome/sources/" name "/"
5371 (version-major+minor version) "/"
5372 name "-" version ".tar.xz"))
5375 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5376 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5377 (build-system meson-build-system)
5381 (list (string-append "-Dudev_dir="
5382 (assoc-ref %outputs "out")
5383 "/lib/udev/rules.d/")
5385 ;; Otherwise, the RUNPATH will lack the final path component.
5386 (string-append "-Dc_link_args=-Wl,-rpath="
5387 (assoc-ref %outputs "out")
5388 "/lib/gnome-settings-daemon-3.0"))
5390 #:phases (modify-phases %standard-phases
5391 (add-before 'configure 'set-baobab-file-name
5392 (lambda* (#:key inputs #:allow-other-keys)
5393 ;; Hard-code the file name of Baobab instead of looking
5394 ;; it up in $PATH. This ensures users get the "Examine"
5395 ;; button in the low disk space notification of GDM even
5396 ;; if they don't have GNOME in their main profile.
5397 (let ((baobab (assoc-ref inputs "baobab")))
5398 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5399 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5400 (string-append "g_strdup (\"" baobab
5404 ;; Color management test can't reach the colord system service.
5407 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5408 ("pkg-config" ,pkg-config)
5409 ("intltool" ,intltool)
5410 ("xsltproc" ,libxslt)
5411 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5412 ("docbook-xml" ,docbook-xml-4.2)
5413 ("docbook-xsl" ,docbook-xsl)))
5415 `(("alsa-lib" ,alsa-lib)
5418 ("libgudev" ,libgudev)
5421 ("pulseaudio" ,pulseaudio)
5422 ("libcanberra" ,libcanberra)
5424 ("libxtst" ,libxtst)
5426 ("libnotify" ,libnotify)
5427 ("geoclue" ,geoclue)
5428 ("geocode-glib" ,geocode-glib)
5429 ("libgweather" ,libgweather)
5430 ("gnome-desktop" ,gnome-desktop)
5433 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5434 ("libwacom" ,libwacom)
5435 ("librsvg" ,librsvg)
5436 ("xf86-input-wacom" ,xf86-input-wacom)
5437 ("wayland" ,wayland)
5438 ("network-manager" ,network-manager)
5440 ("modem-manager" ,modem-manager)))
5441 (home-page "https://www.gnome.org")
5442 (synopsis "GNOME settings daemon")
5444 "This package contains the daemon responsible for setting the various
5445 parameters of a GNOME session and the applications that run under it. It
5446 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5447 settings, themes, mouse settings, and startup of other daemons.")
5448 (license license:gpl2+)))
5450 (define-public totem-pl-parser
5452 (name "totem-pl-parser")
5456 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5457 (version-major+minor version) "/"
5458 "totem-pl-parser-" version ".tar.xz"))
5461 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5462 (build-system meson-build-system)
5464 ;; FIXME: Tests require gvfs.
5467 `(("intltool" ,intltool)
5468 ("glib" ,glib "bin")
5469 ("gobject-introspection" ,gobject-introspection)
5470 ("pkg-config" ,pkg-config)))
5474 ("libarchive" ,libarchive)
5475 ("libgcrypt" ,libgcrypt)
5476 ("libxml2" ,libxml2)))
5478 `(("libsoup" ,libsoup)))
5479 (home-page "https://projects.gnome.org/totem")
5480 (synopsis "Library to parse and save media playlists for GNOME")
5481 (description "Totem-pl-parser is a GObjects-based library to parse and save
5482 playlists in a variety of formats.")
5483 (license license:lgpl2.0+)))
5485 (define-public aisleriot
5491 (uri (string-append "mirror://gnome/sources/aisleriot/"
5492 (version-major+minor version) "/"
5493 "aisleriot-" version ".tar.xz"))
5496 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5497 (build-system glib-or-gtk-build-system)
5500 '("--with-platform=gtk-only"
5501 "--with-card-theme-formats=svg")))
5503 `(("desktop-file-utils" ,desktop-file-utils)
5504 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5505 ("intltool" ,intltool)
5506 ("itstool" ,itstool)
5507 ("pkg-config" ,pkg-config)
5508 ("xmllint" ,libxml2)))
5511 ("guile" ,guile-2.2)
5512 ("libcanberra" ,libcanberra)
5513 ("librsvg" ,librsvg)))
5514 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5515 (synopsis "Solitaire card games")
5517 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5518 which are easy to play with the aid of a mouse.")
5519 (license license:gpl3+)))
5527 (uri (string-append "mirror://gnome/sources/amtk/"
5528 (version-major+minor version) "/"
5529 "amtk-" version ".tar.xz"))
5532 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5533 (build-system gnu-build-system)
5535 '(#:configure-flags '("--enable-gtk-doc")))
5537 `(("gobject-introspection" ,gobject-introspection)
5538 ("glib:bin" ,glib "bin") ; for glib-mkenums
5539 ("gtk-doc" ,gtk-doc)
5540 ("pkg-config" ,pkg-config)))
5544 (home-page "https://wiki.gnome.org/Projects/Amtk")
5545 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5547 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5548 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5549 both a traditional UI or a modern UI with a GtkHeaderBar.")
5550 (license license:lgpl2.1+)))
5552 (define-public devhelp
5558 (uri (string-append "mirror://gnome/sources/" name "/"
5559 (version-major+minor version) "/"
5560 name "-" version ".tar.xz"))
5563 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5564 (build-system meson-build-system)
5568 (modify-phases %standard-phases
5569 (add-after 'unpack 'skip-gtk-update-icon-cache
5570 ;; Don't create 'icon-theme.cache'.
5572 (substitute* "meson_post_install.py"
5573 (("gtk-update-icon-cache") "true"))
5576 `(("intltool" ,intltool)
5577 ("itstool" ,itstool)
5578 ("gobject-introspection" ,gobject-introspection)
5579 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5580 ("pkg-config" ,pkg-config)))
5583 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5584 ("webkitgtk" ,webkitgtk)))
5585 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5586 (synopsis "API documentation browser for GNOME")
5588 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5589 natively with GTK-Doc (the API reference system developed for GTK+ and used
5590 throughout GNOME for API documentation).")
5591 (license license:gpl2+)))
5600 (uri (string-append "mirror://gnome/sources/cogl/"
5601 (version-major+minor version) "/"
5602 "cogl-" version ".tar.xz"))
5604 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5605 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5606 ;; cogl, corresponding changes may be appropriate in mutter as well.
5607 (build-system gnu-build-system)
5609 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5610 ("gobject-introspection" ,gobject-introspection)
5611 ("xorg-server" ,xorg-server-for-tests)
5612 ("pkg-config" ,pkg-config)))
5615 ("gdk-pixbuf" ,gdk-pixbuf)
5617 ("libxext" ,libxext)
5618 ("libxfixes" ,libxfixes)
5619 ("libxdamage" ,libxdamage)
5620 ("libxcomposite" ,libxcomposite)
5621 ("libxrandr" ,libxrandr)))
5626 ("gstreamer" ,gstreamer)
5627 ("gst-plugins-base" ,gst-plugins-base)
5628 ("wayland" ,wayland)))
5630 `(#:disallowed-references (,xorg-server-for-tests)
5631 #:configure-flags (list "--enable-cogl-gst"
5632 "--enable-wayland-egl-platform"
5633 "--enable-wayland-egl-server"
5635 ;; Arrange to pass an absolute file name to
5636 ;; dlopen for libGL.so.
5637 (string-append "--with-gl-libname="
5638 (assoc-ref %build-inputs "mesa")
5641 (modify-phases %standard-phases
5642 (add-after 'unpack 'fix-build-with-mesa-20
5644 ;; Work around a problem with Mesa 20 where some macros used by
5645 ;; Cogl went missing from eglext.h. This can likely be removed
5646 ;; for newer versions of Cogl or Mesa.
5647 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5648 (substitute* '("configure"
5649 "cogl/winsys/cogl-winsys-egl-kms.c")
5650 (("#include <EGL/eglext.h>" all)
5651 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5653 (add-before 'check 'start-xorg-server
5654 (lambda* (#:key tests? inputs #:allow-other-keys)
5657 ;; The test suite requires a running X server.
5658 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5659 (assoc-ref inputs "xorg-server")))
5660 (setenv "DISPLAY" ":1")
5662 (format #t "test suite not run~%"))
5664 (home-page "https://www.cogl3d.org")
5665 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5667 "Cogl is a small library for using 3D graphics hardware to draw pretty
5668 pictures. The API departs from the flat state machine style of OpenGL and is
5669 designed to make it easy to write orthogonal components that can render
5670 without stepping on each others toes.")
5671 (license (list license:expat ; most of the code
5672 license:bsd-3 ; cogl/cogl-point-in-poly.c
5673 license:sgifreeb2.0 ; cogl-path/tesselator/
5674 license:asl2.0)))) ; examples/android/
5676 (define-public clutter
5683 (uri (string-append "mirror://gnome/sources/" name "/"
5684 (version-major+minor version) "/"
5685 name "-" version ".tar.xz"))
5688 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5689 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5690 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5691 (build-system gnu-build-system)
5693 "doc")) ;9 MiB of gtk-doc HTML pages
5695 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5696 ("gobject-introspection" ,gobject-introspection)
5697 ("pkg-config" ,pkg-config)
5698 ("xsltproc" ,libxslt)))
5704 ("json-glib" ,json-glib)
5706 ("libxcomposite" ,libxcomposite)
5707 ("libxdamage" ,libxdamage)
5708 ("libxext" ,libxext)
5709 ("xinput" ,xinput)))
5711 `(("libxkbcommon" ,libxkbcommon)
5714 `(#:configure-flags (list "--enable-x11-backend=yes"
5716 ;; This produces share/doc/{clutter,cally}.
5717 (string-append "--with-html-dir="
5718 (assoc-ref %outputs "doc")
5720 ;; XXX FIXME: Get test suite working. It would probably fail in the
5721 ;; same way the cogl tests fail, since clutter is based on cogl.
5723 (home-page "http://www.clutter-project.org")
5724 (synopsis "OpenGL-based interactive canvas library")
5726 "Clutter is an OpenGL-based interactive canvas library, designed for
5727 creating fast, mainly 2D single window applications such as media box UIs,
5728 presentations, kiosk style applications and so on.")
5729 (license license:lgpl2.0+)))
5731 (define-public clutter-gtk
5733 (name "clutter-gtk")
5738 (uri (string-append "mirror://gnome/sources/" name "/"
5739 (version-major+minor version) "/"
5740 name "-" version ".tar.xz"))
5743 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5744 (build-system gnu-build-system)
5746 `(("pkg-config" ,pkg-config)
5747 ("gobject-introspection" ,gobject-introspection)))
5749 ;; clutter-gtk.pc refers to all these.
5750 `(("clutter" ,clutter)
5752 (home-page "http://www.clutter-project.org")
5753 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5755 "Clutter is an OpenGL-based interactive canvas library, designed for
5756 creating fast, mainly 2D single window applications such as media box UIs,
5757 presentations, kiosk style applications and so on.")
5758 (license license:lgpl2.0+)))
5760 (define-public clutter-gst
5762 (name "clutter-gst")
5767 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5768 (version-major+minor version) "/"
5769 "clutter-gst-" version ".tar.xz"))
5771 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5772 (build-system gnu-build-system)
5774 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5775 ("pkg-config" ,pkg-config)
5776 ("gobject-introspection" ,gobject-introspection)))
5778 `(("clutter" ,clutter)
5779 ("gstreamer" ,gstreamer)
5780 ("gst-plugins-base" ,gst-plugins-base)))
5781 (home-page "http://www.clutter-project.org")
5782 (synopsis "Integration library for using GStreamer with Clutter")
5784 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5785 It provides a GStreamer sink to upload frames to GL and an actor that
5786 implements the ClutterGstPlayer interface using playbin. Clutter is an
5787 OpenGL-based interactive canvas library.")
5788 (license license:lgpl2.0+)))
5790 (define-public libchamplain
5792 (name "libchamplain")
5797 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5801 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5802 (build-system gnu-build-system)
5803 (arguments '(#:configure-flags '("--enable-vala")))
5805 `(("gobject-introspection" ,gobject-introspection)
5806 ("pkg-config" ,pkg-config)
5809 `(("libsoup" ,libsoup)
5811 ("clutter" ,clutter)
5812 ("clutter-gtk" ,clutter-gtk)
5813 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5817 (home-page "https://projects.gnome.org/libchamplain/")
5818 (synopsis "C library providing a ClutterActor to display maps")
5820 "libchamplain is a C library providing a ClutterActor to display maps.
5821 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5822 and Perl bindings are also available. It supports numerous free map sources
5823 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5824 (license license:lgpl2.1+)))
5833 (uri (string-append "mirror://gnome/sources/gom/"
5834 (version-major+minor version) "/"
5835 "gom-" version ".tar.xz"))
5838 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5839 (build-system gnu-build-system)
5841 `(("intltool" ,intltool)
5842 ("pkg-config" ,pkg-config)
5843 ("gobject-introspection" ,gobject-introspection)))
5846 ("gdk-pixbuf" ,gdk-pixbuf)
5847 ("sqlite" ,sqlite)))
5848 ;; XXX TODO: Figure out how to run the test suite.
5849 (arguments `(#:tests? #f))
5850 (home-page "https://wiki.gnome.org/Projects/Gom")
5851 (synopsis "Object mapper from GObjects to SQLite")
5853 "Gom provides an object mapper from GObjects to SQLite. It helps you
5854 write applications that need to store structured data as well as make complex
5855 queries upon that data.")
5856 (license license:lgpl2.1+)))
5858 (define-public libgnome-games-support
5860 (name "libgnome-games-support")
5864 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5865 (version-major+minor version) "/"
5866 "libgnome-games-support-" version ".tar.xz"))
5869 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
5870 (build-system gnu-build-system)
5873 (modify-phases %standard-phases
5874 (add-before 'check 'pre-check
5876 ;; Tests require a writable HOME.
5877 (setenv "HOME" (getcwd))
5880 `(("intltool" ,intltool)
5881 ("pkg-config" ,pkg-config)
5884 ;; Required by libgnome-games-support-1.0.pc
5886 ("libgee" ,libgee)))
5887 (home-page "https://www.gnome.org/")
5888 (synopsis "Useful functionality shared among GNOME games")
5890 "libgnome-games-support is a small library intended for internal use by
5891 GNOME Games, but it may be used by others.")
5892 (license license:lgpl3+)))
5894 (define-public gnome-klotski
5896 (name "gnome-klotski")
5900 (uri (string-append "mirror://gnome/sources/" name "/"
5901 (version-major+minor version) "/"
5902 name "-" version ".tar.xz"))
5905 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
5906 (build-system meson-build-system)
5910 (modify-phases %standard-phases
5911 (add-after 'unpack 'skip-gtk-update-icon-cache
5912 ;; Don't create 'icon-theme.cache'.
5914 (substitute* "build-aux/meson_post_install.py"
5915 (("gtk-update-icon-cache") (which "true")))
5918 `(("desktop-file-utils" ,desktop-file-utils)
5919 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5920 ("intltool" ,intltool)
5921 ("itstool" ,itstool)
5922 ("pkg-config" ,pkg-config)
5924 ("xmllint" ,libxml2)))
5927 ("libgnome-games-support" ,libgnome-games-support)
5928 ("librsvg" ,librsvg)))
5929 (home-page "https://wiki.gnome.org/Apps/Klotski")
5930 (synopsis "Sliding block puzzles")
5932 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
5933 the patterned block to the area bordered by green markers. To do so, you will
5934 need to slide other blocks out of the way. Complete each puzzle in as few moves
5936 (license license:gpl2+)))
5938 (define-public grilo
5945 (uri (string-append "mirror://gnome/sources/grilo/"
5946 (version-major+minor version) "/"
5947 "grilo-" version ".tar.xz"))
5949 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
5950 (build-system meson-build-system)
5952 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
5953 ("intltool" ,intltool)
5954 ("pkg-config" ,pkg-config)
5955 ("gobject-introspection" ,gobject-introspection)
5956 ("gtk-doc" ,gtk-doc)
5959 `(("cyrus-sasl" ,cyrus-sasl)
5962 ("libxml2" ,libxml2)
5963 ("liboauth" ,liboauth)
5964 ("libsoup" ,libsoup)
5965 ("totem-pl-parser" ,totem-pl-parser)))
5966 (native-search-paths
5967 (list (search-path-specification
5968 (variable "GRL_PLUGIN_PATH")
5969 (files (list (string-append "lib/grilo-"
5970 (version-major+minor version)))))))
5971 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
5972 (synopsis "Framework for discovering and browsing media")
5974 "Grilo is a framework focused on making media discovery and browsing easy
5975 for application developers.")
5976 (license license:lgpl2.1+)))
5978 (define-public grilo-plugins
5980 (name "grilo-plugins")
5985 (uri (string-append "mirror://gnome/sources/" name "/"
5986 (version-major+minor version) "/"
5987 name "-" version ".tar.xz"))
5989 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
5990 (build-system meson-build-system)
5992 `(("gettext" ,gettext-minimal)
5993 ("glib:bin" ,glib "bin")
5994 ("gtk+:bin" ,gtk+ "bin")
5995 ("itstool" ,itstool)
5996 ("pkg-config" ,pkg-config)))
5997 ;; TODO: ahavi, gstreamer
6000 ;("gmime" ,gmime) ; unused
6001 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6003 ;("gssdp" ,gssdp) ; unused
6004 ;("gupnp" ,gupnp) ; unused
6005 ;("gupnp-av" ,gupnp-av) ; unused
6006 ("json-glib" ,json-glib)
6008 ("libgdata" ,libgdata)
6009 ("libmediaart" ,libmediaart)
6010 ;("librest" ,rest) ; unused
6011 ("libsoup" ,libsoup)
6012 ("totam-pl-parser" ,totem-pl-parser)
6013 ("tracker" ,tracker))) ; unused because it's too old
6016 ;;Disable lua-factory as it needs missing dependencies
6017 #:configure-flags '("-Denable-lua-factory=no")))
6018 (home-page "https://live.gnome.org/Grilo")
6019 (synopsis "Plugins for the Grilo media discovery library")
6021 "Grilo is a framework focused on making media discovery and browsing easy
6022 for application developers. This package provides plugins for common media
6023 discovery protocols.")
6024 (license license:lgpl2.1+)))
6026 (define-public totem
6033 (uri (string-append "mirror://gnome/sources/totem/"
6034 (version-major+minor version) "/"
6035 "totem-" version ".tar.xz"))
6038 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6039 (build-system meson-build-system)
6041 `(("pkg-config" ,pkg-config)
6042 ("desktop-file-utils" ,desktop-file-utils)
6043 ("gettext" ,gettext-minimal)
6044 ("gobject-introspection" ,gobject-introspection)
6045 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6046 ("itstool" ,itstool)
6047 ("xmllint" ,libxml2)
6048 ("xorg-server" ,xorg-server-for-tests)))
6050 `(("dconf" ,dconf)))
6053 ("gdk-pixbuf" ,gdk-pixbuf)
6056 ("dbus-glib" ,dbus-glib)
6057 ("clutter" ,clutter)
6058 ("clutter-gtk" ,clutter-gtk)
6059 ("clutter-gst" ,clutter-gst)
6060 ("xorgproto" ,xorgproto)
6061 ("libxxf86vm" ,libxxf86vm)
6062 ("libxtst" ,libxtst)
6063 ("libxrandr" ,libxrandr)
6064 ("libxml2" ,libxml2)
6065 ("libsoup" ,libsoup)
6066 ("libpeas" ,libpeas)
6067 ("librsvg" ,librsvg)
6069 ("gnome-desktop" ,gnome-desktop)
6070 ("gstreamer" ,gstreamer)
6071 ("gst-plugins-base" ,gst-plugins-base)
6072 ("gst-plugins-good" ,gst-plugins-good)
6073 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6074 ("adwaita-icon-theme" ,adwaita-icon-theme)
6076 ("python-pygobject" ,python-pygobject)
6077 ("totem-pl-parser" ,totem-pl-parser)
6079 ("grilo-plugins" ,grilo-plugins)
6084 ;; Disable automatic GStreamer plugin installation via PackageKit and
6086 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6088 ;; Do not build .a files for the plugins, it's
6089 ;; completely useless. This saves 2 MiB.
6090 "--default-library" "shared")
6092 (modify-phases %standard-phases
6093 (add-after 'unpack 'skip-gtk-update-icon-cache
6094 ;; Don't create 'icon-theme.cache'.
6096 (substitute* "meson_post_install.py"
6097 (("gtk-update-icon-cache") "true"))
6099 (add-after 'unpack 'patch-failing-test
6101 ;; Work around test failure with GStreamer 1.18, because the test
6102 ;; relies on "und" not being mapped to a particular language:
6103 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6104 (substitute* "src/test-totem.c"
6105 (("und") "nosuchlang"))
6108 'install 'disable-cache-generation
6110 (setenv "DESTDIR" "/")
6115 ;; Tests require a running X server.
6116 (system "Xvfb :1 &")
6117 (setenv "DISPLAY" ":1")
6120 'install 'wrap-totem
6121 (lambda* (#:key inputs outputs #:allow-other-keys)
6122 (let ((out (assoc-ref outputs "out"))
6123 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6124 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6125 (wrap-program (string-append out "/bin/totem")
6126 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6127 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6128 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6129 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6131 (home-page "https://wiki.gnome.org/Apps/Videos")
6132 (synopsis "Simple media player for GNOME based on GStreamer")
6133 (description "Totem is a simple yet featureful media player for GNOME
6134 which can read a large number of file formats.")
6135 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6136 ;; to be used and distributed together with GStreamer and Totem. See
6137 ;; file://COPYING in the source distribution for details.
6138 (license license:gpl2+)))
6140 (define-public rhythmbox
6146 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6147 (version-major+minor version) "/"
6148 "rhythmbox-" version ".tar.xz"))
6151 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6152 (build-system glib-or-gtk-build-system)
6155 (list "--enable-lirc"
6162 (modify-phases %standard-phases
6164 'install 'wrap-rhythmbox
6165 (lambda* (#:key inputs outputs #:allow-other-keys)
6166 (let ((out (assoc-ref outputs "out"))
6167 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6168 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6169 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6170 (python-path (getenv "PYTHONPATH")))
6171 (wrap-program (string-append out "/bin/rhythmbox")
6172 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6173 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6174 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6175 `("PYTHONPATH" ":" prefix (,python-path))))
6178 `(("dconf" ,dconf)))
6180 `(("itstool" ,itstool)
6181 ("intltool" ,intltool)
6182 ("glib" ,glib "bin")
6183 ("gobject-introspection" ,gobject-introspection)
6184 ("desktop-file-utils" ,desktop-file-utils)
6185 ("pkg-config" ,pkg-config)
6186 ("xmllint" ,libxml2)))
6188 `(("json-glib" ,json-glib)
6190 ("gnome-desktop" ,gnome-desktop)
6192 ("python-pygobject" ,python2-pygobject)
6195 ("adwaita-icon-theme" ,adwaita-icon-theme)
6197 ("grilo-plugins" ,grilo-plugins)
6198 ("gstreamer" ,gstreamer)
6199 ("gst-plugins-base" ,gst-plugins-base)
6200 ("gst-plugins-good" ,gst-plugins-good)
6201 ("totem-pl-parser" ,totem-pl-parser)
6202 ("libgudev" ,libgudev)
6203 ;;("libmtp" ,libmtp) FIXME: Not detected
6204 ("libsecret" ,libsecret)
6205 ("libsoup" ,libsoup)
6206 ("libnotify" ,libnotify)
6207 ("libpeas" ,libpeas)
6209 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6210 ;;("clutter" ,clutter)
6211 ;;("clutter-gtk" ,clutter-gtk)
6212 ;;("clutter-gst" ,clutter-gst)
6213 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6220 ("brasero" ,brasero)))
6221 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6222 (synopsis "Music player for GNOME")
6223 (description "Rhythmbox is a music playing application for GNOME. It
6224 supports playlists, song ratings, and any codecs installed through gstreamer.")
6225 (license license:gpl2+)))
6233 (uri (string-append "mirror://gnome/sources/" name "/"
6234 (version-major+minor version) "/"
6235 name "-" version ".tar.xz"))
6238 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6239 (build-system meson-build-system)
6242 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6243 (list (string-append "-Dc_link_args=-Wl,-rpath="
6244 (assoc-ref %outputs "out") "/lib/eog"))
6246 (modify-phases %standard-phases
6247 (add-after 'unpack 'skip-gtk-update-icon-cache
6248 ;; Don't create 'icon-theme.cache'.
6250 (substitute* "meson_post_install.py"
6251 (("gtk-update-icon-cache") "true"))
6253 (add-after 'install 'wrap-eog
6254 (lambda* (#:key outputs #:allow-other-keys)
6255 (let ((out (assoc-ref outputs "out"))
6256 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6257 (wrap-program (string-append out "/bin/eog")
6258 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6261 `(("dconf" ,dconf)))
6263 `(("intltool" ,intltool)
6264 ("itstool" ,itstool)
6265 ("glib" ,glib "bin")
6266 ("gobject-introspection" ,gobject-introspection)
6267 ("pkg-config" ,pkg-config)
6268 ("xmllint" ,libxml2)))
6270 `(("gnome-desktop" ,gnome-desktop)
6271 ("shared-mime-info" ,shared-mime-info)
6272 ("adwaita-icon-theme" ,adwaita-icon-theme)
6275 ("libexif" ,libexif)
6276 ("libpeas" ,libpeas)
6277 ("libjpeg" ,libjpeg-turbo)
6278 ("librsvg" ,librsvg-next)
6279 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6281 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6282 (synopsis "GNOME image viewer")
6283 (description "Eye of GNOME is the GNOME image viewer. It
6284 supports image conversion, rotation, and slideshows.")
6285 (license license:gpl2+)))
6287 (define-public eog-plugins
6288 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6289 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6290 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6291 ;; 'XDG_DATA_DIRS' appropriately set.
6293 (name "eog-plugins")
6297 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6298 (version-major+minor version) "/"
6299 "eog-plugins-" version ".tar.xz"))
6302 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6303 (build-system gnu-build-system)
6304 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6305 (synopsis "Extensions for the Eye of GNOME image viewer")
6307 `(("pkg-config" ,pkg-config)
6308 ("gettext" ,gettext-minimal)))
6313 ("libpeas" ,libpeas)
6314 ("libexif" ,libexif)
6315 ("libchamplain" ,libchamplain)))
6317 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6321 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6322 @item @dfn{Map}, which displays a map of where the picture was taken on the
6324 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6327 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6328 ;; long suspicious byte stream that goes to a
6329 ;; ".gresource.eog_postasa_plugin" ELF section.
6330 (license license:gpl2+)))
6332 (define-public libgudev
6338 (uri (string-append "mirror://gnome/sources/" name "/"
6339 version "/" name "-" version ".tar.xz"))
6342 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6343 (build-system gnu-build-system)
6346 ;; umockdev depends on libgudev.
6347 (list "--disable-umockdev")))
6349 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6350 ("gobject-introspection" ,gobject-introspection)
6351 ("pkg-config" ,pkg-config)))
6353 `(("glib" ,glib))) ; required by gudev-1.0.pc
6356 (home-page "https://wiki.gnome.org/Projects/libgudev")
6357 (synopsis "GObject bindings for libudev")
6359 "This library provides GObject bindings for libudev. It was originally
6360 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6361 (license license:lgpl2.1+)))
6369 (uri (string-append "mirror://gnome/sources/gvfs/"
6370 (version-major+minor version) "/"
6371 "gvfs-" version ".tar.xz"))
6374 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
6375 ;; This patch may be removed when upgrading to version 1.46.x.
6377 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6378 (build-system meson-build-system)
6382 (list "-Dsystemduserunitdir=no"
6384 ;; Otherwise, the RUNPATH will lack the final path component.
6385 (string-append "-Dc_link_args=-Wl,-rpath="
6386 (assoc-ref %outputs "out") "/lib/gvfs"))))
6388 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6389 ("gettext" ,gettext-minimal)
6390 ("gtk-doc" ,gtk-doc)
6391 ("pkg-config" ,pkg-config)
6392 ("xsltproc" ,libxslt)))
6395 ("docbook-xml" ,docbook-xml-4.2)
6396 ("docbook-xsl" ,docbook-xsl)
6398 ("elogind" ,elogind)
6402 ("gnome-online-accounts" ,gnome-online-accounts)
6403 ("libarchive" ,libarchive)
6404 ("libbluray" ,libbluray)
6406 ("libcdio-paranoia" ,libcdio-paranoia)
6407 ("libgcrypt" ,libgcrypt)
6408 ("libgdata" ,libgdata)
6409 ("libgphoto2" ,libgphoto2)
6410 ("libgudev" ,libgudev)
6411 ("libimobiledevice" ,libimobiledevice)
6414 ("libsecret" ,libsecret)
6415 ("libsmbclient" ,samba)
6416 ("libsoup" ,libsoup)
6417 ("libxml2" ,libxml2)
6418 ("openssh" ,openssh)
6420 ("udisks" ,udisks)))
6421 (home-page "https://wiki.gnome.org/gvfs/")
6422 (synopsis "Userspace virtual file system for GIO")
6424 "GVFS is a userspace virtual file system designed to work with the I/O
6425 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6426 to all applications using the GIO API. It also supports exposing the GVFS
6427 mounts to non-GIO applications using FUSE.
6429 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6431 (license license:lgpl2.0+)))
6440 (url "https://github.com/hughsie/libgusb")
6442 (file-name (git-file-name name version))
6445 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
6446 (build-system meson-build-system)
6448 `(("gobject-introspection" ,gobject-introspection)
6449 ("pkg-config" ,pkg-config)
6451 ("gtk-doc" ,gtk-doc)))
6453 ;; Both of these are required by gusb.pc.
6455 ("libusb" ,libusb)))
6457 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6458 (home-page "https://github.com/hughsie/libgusb")
6459 (synopsis "GLib binding for libusb1")
6461 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6462 asynchronous control, bulk and interrupt transfers with proper cancellation
6463 and integration into a mainloop. This makes it easy to integrate low level
6464 USB transfers with your high-level application or system daemon.")
6465 (license license:lgpl2.1+)))
6467 (define-public simple-scan
6469 (name "simple-scan")
6474 (uri (string-append "mirror://gnome/sources/simple-scan/"
6475 (version-major+minor version) "/"
6476 "simple-scan-" version ".tar.xz"))
6478 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6479 (build-system meson-build-system)
6480 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6482 '(#:glib-or-gtk? #t))
6488 ("gdk-pixbuf" ,gdk-pixbuf)
6490 ("libsane" ,sane-backends)))
6492 `(("gettext" ,gettext-minimal)
6493 ("itstool" ,itstool)
6494 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6495 ("pkg-config" ,pkg-config)
6497 ("xmllint" ,libxml2)))
6498 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6499 (synopsis "Document and image scanner")
6501 "Document Scanner is an easy-to-use application that lets you connect your
6502 scanner and quickly capture images and documents in an appropriate format. It
6503 supports any scanner for which a suitable SANE driver is available, which is
6504 almost all of them.")
6505 (license license:gpl3+)))
6507 (define-public eolie
6513 (uri (string-append "https://adishatz.org/eolie/eolie-"
6517 "1v8n21y75abdzsnx5idyd0q6yfb6cd0sqbknlbkwh5fdgvjzyvwn"))))
6518 (build-system meson-build-system)
6522 (modify-phases %standard-phases
6523 (add-after 'unpack 'skip-gtk-update-icon-cache
6524 ;; Don't create 'icon-theme.cache'.
6526 (substitute* "meson_post_install.py"
6527 (("gtk-update-icon-cache") "true"))
6529 (add-after 'wrap 'wrap-more
6530 (lambda* (#:key inputs outputs #:allow-other-keys)
6531 (let* ((out (assoc-ref outputs "out"))
6532 ;; These libraries must be on LD_LIBRARY_PATH.
6533 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6534 "atk" "gtk+" "gsettings-desktop-schemas"
6535 "gobject-introspection"))
6538 (string-append (assoc-ref inputs lib) "/lib"))
6541 (wrap-program (string-append out "/bin/eolie")
6542 `("LD_LIBRARY_PATH" ":" prefix (,path))
6543 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6544 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6547 `(("intltool" ,intltool)
6548 ("itstool" ,itstool)
6549 ("pkg-config" ,pkg-config)
6551 ("glib:bin" ,glib "bin")))
6553 `(("gobject-introspection" ,gobject-introspection)
6554 ("glib-networking" ,glib-networking)
6557 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6558 ("python" ,python-wrapper)
6559 ("python-dateutil" ,python-dateutil)
6560 ("python-pyfxa" ,python-pyfxa)
6561 ("python-pygobject" ,python-pygobject)
6562 ("python-pycairo" ,python-pycairo)
6563 ("python-pycrypto" ,python-pycrypto)
6564 ("libsecret" ,libsecret)
6565 ("gtkspell3" ,gtkspell3)
6566 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6567 ("webkitgtk" ,webkitgtk)))
6568 (home-page "https://wiki.gnome.org/Apps/Eolie")
6569 (synopsis "Web browser for GNOME")
6571 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6572 a secret password store, an adblocker, and a modern UI.")
6573 (license license:gpl3+)))
6575 (define-public epiphany
6581 (uri (string-append "mirror://gnome/sources/epiphany/"
6582 (version-major+minor version) "/"
6583 "epiphany-" version ".tar.xz"))
6586 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6588 (build-system meson-build-system)
6592 (modify-phases %standard-phases
6593 (add-after 'unpack 'skip-gtk-update-icon-cache
6594 ;; Don't create 'icon-theme.cache'.
6596 (substitute* "post_install.py"
6597 (("gtk-update-icon-cache") "true"))
6599 (add-after 'unpack 'disable-failing-tests
6601 (substitute* "tests/meson.build"
6602 ;; embed_shell fails, because webkitgtk apparently no longer supports
6603 ;; overriding the ftp schema
6604 ;; web_app_utils fails due to missing network access
6605 (("(embed_shell|web_app_utils)_test,")
6606 "find_program('sh'), args: ['-c', 'exit 77'],"))
6608 (add-before 'check 'pre-check
6610 ;; Tests require a running X server.
6611 (system "Xvfb :1 &")
6612 (setenv "DISPLAY" ":1")
6615 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6616 (list (string-append "-Dc_link_args=-Wl,-rpath="
6617 (assoc-ref %outputs "out") "/lib/epiphany"))))
6619 `(("dconf" ,dconf)))
6621 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6622 ("glib:bin" ,glib "bin") ; for glib-mkenums
6623 ("intltool" ,intltool)
6624 ("itstool" ,itstool)
6625 ("pkg-config" ,pkg-config)
6626 ("xmllint" ,libxml2)
6627 ("xorg-server" ,xorg-server-for-tests)))
6631 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6632 ("glib-networking" ,glib-networking)
6633 ("gnome-desktop" ,gnome-desktop)
6634 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6635 ("json-glib" ,json-glib)
6636 ("iso-codes" ,iso-codes)
6637 ("libdazzle" ,libdazzle)
6638 ("libnotify" ,libnotify)
6639 ("libsecret" ,libsecret)
6640 ("libxslt" ,libxslt)
6641 ("nettle" ,nettle) ; for hogweed
6643 ("webkitgtk" ,webkitgtk)))
6644 (home-page "https://wiki.gnome.org/Apps/Web")
6645 (synopsis "GNOME web browser")
6647 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6648 principles are simplicity and standards compliance.")
6649 (license license:gpl2+)))
6651 (define-public d-feet
6657 (uri (string-append "mirror://gnome/sources/" name "/"
6658 (version-major+minor version) "/"
6659 name "-" version ".tar.xz"))
6662 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6663 (build-system glib-or-gtk-build-system)
6665 '(#:out-of-source? #f ; tests need to run in the source directory.
6667 (modify-phases %standard-phases
6671 ;; The test suite requires a running X server.
6672 (system "Xvfb :1 &")
6673 (setenv "DISPLAY" ":1")
6674 ;; Don't fail on missing '/etc/machine-id'.
6675 (setenv "DBUS_FATAL_WARNINGS" "0")
6676 ;; tests.py and window.py don't meet E402:
6677 ;; E402 module level import not at top of file
6678 (substitute* "src/tests/Makefile"
6679 (("--ignore=E123") "--ignore=E123,E402"))
6682 'install 'wrap-program
6683 (lambda* (#:key outputs #:allow-other-keys)
6684 (let ((prog (string-append (assoc-ref outputs "out")
6687 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6688 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6691 `(("intltool" ,intltool)
6692 ("itstool" ,itstool)
6693 ("pkg-config" ,pkg-config)
6694 ("python-pep8" ,python-pep8)
6695 ("xmllint" ,libxml2)
6696 ("xorg-server" ,xorg-server-for-tests)))
6698 `(("gobject-introspection" ,gobject-introspection)
6700 ("python" ,python-wrapper)
6701 ("hicolor-icon-theme" ,hicolor-icon-theme)
6702 ("python-pygobject" ,python-pygobject)))
6703 (home-page "https://wiki.gnome.org/Apps/DFeet")
6704 (synopsis "D-Bus debugger")
6706 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6707 of running programs and invoke methods on those interfaces.")
6708 (license license:gpl2+)))
6710 (define-public yelp-xsl
6718 (string-append "mirror://gnome/sources/" name "/"
6719 (version-major+minor version) "/"
6720 name "-" version ".tar.xz"))
6722 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6723 (build-system gnu-build-system)
6725 `(("gettext-minimal" ,gettext-minimal)
6726 ("itstool" ,itstool)
6727 ("xmllint" ,libxml2)))
6728 (synopsis "XSL stylesheets for Yelp")
6729 (description "Yelp-XSL is a collection of programs and data files to help
6730 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6731 that can be built upon for help viewers and publishing systems. These
6732 stylesheets output JavaScript and CSS content, and reference images
6733 provided by yelp-xsl. It also redistributes copies of the jQuery and
6734 jQuery.Syntax JavaScript libraries.")
6735 (home-page "https://wiki.gnome.org/Apps/Yelp")
6751 (uri (string-append "mirror://gnome/sources/" name "/"
6752 (version-major+minor version) "/"
6753 name "-" version ".tar.xz"))
6756 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6757 (build-system glib-or-gtk-build-system)
6759 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6760 ("intltool" ,intltool)
6761 ("itstool" ,itstool)
6762 ("pkg-config" ,pkg-config)))
6764 `(("dconf" ,dconf)))
6766 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6767 ("libxslt" ,libxslt)
6769 ("webkitgtk" ,webkitgtk)
6770 ("yelp-xsl" ,yelp-xsl)))
6771 (home-page "https://wiki.gnome.org/Apps/Yelp")
6772 (synopsis "GNOME help browser")
6774 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6775 man, info, and HTML documents. It can locate documents according to the
6776 freedesktop.org help system specification.")
6777 (license license:gpl2+)))
6779 (define-public yelp-tools
6787 (string-append "mirror://gnome/sources/" name "/"
6788 (version-major+minor version) "/"
6789 name "-" version ".tar.xz"))
6791 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6792 (build-system gnu-build-system)
6794 `(("pkg-config" ,pkg-config)))
6796 `(("yelp-xsl" ,yelp-xsl)))
6798 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6799 `(("itstool" ,itstool)
6800 ("xmllint" ,libxml2)
6801 ("xsltproc" ,libxslt)))
6802 (synopsis "Yelp documentation tools")
6804 "Yelp-tools is a collection of scripts and build utilities to help create,
6805 manage, and publish documentation for Yelp and the web. Most of the heavy
6806 lifting is done by packages like yelp-xsl and itstool. This package just
6807 wraps things up in a developer-friendly way.")
6808 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6809 (license license:gpl2+)))
6811 (define-public libgee
6817 (uri (string-append "mirror://gnome/sources/libgee/"
6818 (version-major+minor version) "/"
6819 "libgee-" version ".tar.xz"))
6822 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6823 (build-system gnu-build-system)
6826 (modify-phases %standard-phases
6827 (add-after 'unpack 'fix-introspection-install-dir
6828 (lambda* (#:key outputs #:allow-other-keys)
6829 (let ((out (assoc-ref outputs "out")))
6830 (substitute* "gee/Makefile.in"
6831 (("@INTROSPECTION_GIRDIR@")
6832 (string-append out "/share/gir-1.0/"))
6833 (("@INTROSPECTION_TYPELIBDIR@")
6834 (string-append out "/lib/girepository-1.0/")))))))))
6836 `(("glib" ,glib "bin")
6837 ("pkg-config" ,pkg-config)))
6840 ("gobject-introspection" ,gobject-introspection)))
6841 (home-page "https://wiki.gnome.org/Projects/Libgee")
6842 (synopsis "GObject collection library")
6844 "Libgee is a utility library providing GObject-based interfaces and
6845 classes for commonly used data structures.")
6846 (license license:lgpl2.1+)))
6848 (define-public gexiv2
6854 (uri (string-append "mirror://gnome/sources/" name "/"
6855 (version-major+minor version) "/"
6856 name "-" version ".tar.xz"))
6859 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
6860 (build-system meson-build-system)
6863 ("glib" ,glib "bin")
6864 ("pkg-config" ,pkg-config)
6867 ;; Listed in "Requires" section of gexiv2.pc
6868 `(("exiv2" ,exiv2)))
6871 ("gobject-introspection" ,gobject-introspection)))
6872 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6873 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6875 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6876 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6877 metadata in photo and video files of various formats.")
6878 (license license:gpl2+)))
6880 (define-public shotwell
6886 (uri (string-append "mirror://gnome/sources/shotwell/"
6887 (version-major+minor version) "/"
6888 "shotwell-" version ".tar.xz"))
6891 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
6892 (build-system meson-build-system)
6896 (modify-phases %standard-phases
6897 (add-after 'unpack 'skip-gtk-update-icon-cache
6899 (substitute* "build-aux/meson/postinstall.py"
6900 (("gtk-update-icon-cache") (which "true"))
6901 (("update-desktop-database") (which "true")))
6904 `(("dconf" ,dconf)))
6906 `(("gettext" ,gettext-minimal)
6907 ("glib:bin" ,glib "bin")
6908 ("itstool" ,itstool)
6909 ("pkg-config" ,pkg-config)
6914 ("gst-plugins-base" ,gst-plugins-base)
6915 ("gstreamer" ,gstreamer)
6916 ("json-glib" ,json-glib)
6917 ("libgdata" ,libgdata)
6919 ("libgphoto2" ,libgphoto2)
6920 ("libgudev" ,libgudev)
6922 ("libsoup" ,libsoup)
6923 ("libxml2" ,libxml2)
6925 ("webkitgtk" ,webkitgtk)))
6926 (home-page "https://wiki.gnome.org/Apps/Shotwell")
6927 (synopsis "Photo manager for GNOME 3")
6929 "Shotwell is a digital photo manager designed for the GNOME desktop
6930 environment. It allows you to import photos from disk or camera, organize
6931 them by keywords and events, view them in full-window or fullscreen mode, and
6932 share them with others via social networking and more.")
6933 (license license:lgpl2.1+)))
6935 (define-public file-roller
6937 (name "file-roller")
6941 (uri (string-append "mirror://gnome/sources/file-roller/"
6942 (version-major+minor version) "/"
6943 "file-roller-" version ".tar.xz"))
6946 "06ikvjjcgb8nxabkn2rywy76a1c7s6w8dszaxvaxldbxarp1qgbj"))))
6947 (build-system meson-build-system)
6949 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6950 ("intltool" ,intltool)
6951 ("itstool" ,itstool)
6952 ("pkg-config" ,pkg-config)
6953 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6954 ("glib:bin" ,glib "bin")))
6955 ;; TODO: Add libnautilus.
6958 ("gdk-pixbuf" ,gdk-pixbuf)
6959 ("json-glib" ,json-glib)
6960 ("libarchive" ,libarchive)
6961 ("libnotify" ,libnotify)
6963 ("libxml2" ,libxml2)))
6964 (synopsis "Graphical archive manager for GNOME")
6965 (description "File Roller is an archive manager for the GNOME desktop
6966 environment that allows users to view, unpack, and create compressed archives
6967 such as gzip tarballs.")
6968 (home-page "http://fileroller.sourceforge.net/")
6969 (license license:gpl2+)))
6971 (define-public gnome-session
6973 (name "gnome-session")
6977 (uri (string-append "mirror://gnome/sources/" name "/"
6978 (version-major+minor version) "/"
6979 name "-" version ".tar.xz"))
6982 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
6986 (modify-phases %standard-phases
6987 (add-before 'configure 'pre-configure
6988 (lambda* (#:key outputs #:allow-other-keys)
6989 ;; Use elogind instead of systemd.
6990 (substitute* "meson.build"
6991 (("libsystemd-login") "libelogind")
6992 (("and libsystemd_daemon_dep.found.*") ","))
6993 (substitute* "gnome-session/gsm-systemd.c"
6994 (("#include <systemd/sd-login.h>")
6995 "#include <elogind/sd-login.h>"))
6996 ;; Remove uses of the systemd daemon.
6997 (substitute* "gnome-session/gsm-autostart-app.c"
6998 (("#ifdef HAVE_SYSTEMD") "#if 0"))
7000 (add-after 'install 'wrap-gnome-session
7001 (lambda* (#:key inputs outputs #:allow-other-keys)
7002 ;; Make sure 'gnome-session' finds the 'gsettings' program.
7003 (let ((glib (assoc-ref inputs "glib:bin"))
7004 (out (assoc-ref outputs "out")))
7005 (wrap-program (string-append out "/bin/gnome-session")
7006 `("PATH" ":" prefix (,(string-append glib "/bin"))))
7010 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7011 "-Dman=false" ; FIXME: disabled because of docbook validation error
7012 "-Dsystemd_journal=false")))
7013 (build-system meson-build-system)
7015 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7016 ("pkg-config" ,pkg-config)
7017 ("intltool" ,intltool)
7018 ("xsltproc" ,libxslt)
7019 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7020 ("docbook-xsl" ,docbook-xsl)
7021 ("docbook-xml" ,docbook-xml)
7024 `(("elogind" ,elogind)
7025 ("gnome-desktop" ,gnome-desktop)
7026 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7028 ("json-glib" ,json-glib)
7030 ("libxcomposite" ,libxcomposite)
7031 ("libxtst" ,libxtst)
7034 ("xtrans" ,xtrans)))
7035 (synopsis "Session manager for GNOME")
7037 "This package contains the GNOME session manager, as well as a
7038 configuration program to choose applications starting on login.")
7039 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7040 (license license:gpl2+)))
7048 (uri (string-append "mirror://gnome/sources/" name "/"
7049 (version-major+minor version) "/"
7050 name "-" version ".tar.xz"))
7053 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7054 (build-system gnu-build-system)
7057 (modify-phases %standard-phases
7061 ;; The test suite requires a running X server.
7062 (system "Xvfb :1 &")
7063 (setenv "DISPLAY" ":1")
7065 ;; For the missing /etc/machine-id.
7066 (setenv "DBUS_FATAL_WARNINGS" "0")
7068 ;; Our mozjs-38 package does not compile the required Intl API
7069 ;; support for these failing tests.
7070 (substitute* "installed-tests/js/testLocale.js"
7071 ((".*toBeDefined.*") "")
7072 ((".*expect\\(datestr\\).*") ""))
7073 (substitute* "installed-tests/scripts/testCommandLine.sh"
7078 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7079 ("pkg-config" ,pkg-config)
7080 ("xmllint" ,libxml2)
7082 ("dbus-launch" ,dbus)
7083 ("dconf" ,dconf) ; required to properly store settings
7084 ("uuidgen" ,util-linux)
7085 ("xvfb" ,xorg-server-for-tests)))
7087 ;; These are all in the Requires.private field of gjs-1.0.pc.
7089 ("gobject-introspection" ,gobject-introspection)
7090 ("mozjs" ,mozjs-60)))
7093 ("readline" ,readline)))
7094 (synopsis "Javascript bindings for GNOME")
7095 (home-page "https://live.gnome.org/Gjs")
7097 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7098 javascript engine and the GObject introspection framework.")
7099 (license license:gpl2+)))
7101 (define-public gedit
7107 (uri (string-append "mirror://gnome/sources/" name "/"
7108 (version-major+minor version) "/"
7109 name "-" version ".tar.xz"))
7112 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7113 (build-system meson-build-system)
7117 ;; Otherwise, the RUNPATH will lack the final path component.
7118 (list (string-append "-Dc_link_args=-Wl,-rpath="
7119 (assoc-ref %outputs "out") "/lib/gedit"))
7121 ;; XXX: Generated .h files are sometimes used before being built.
7122 #:parallel-build? #f
7125 (modify-phases %standard-phases
7126 (add-after 'unpack 'skip-gtk-update-icon-cache
7127 ;; Don't create 'icon-theme.cache'.
7129 (substitute* "build-aux/meson/post_install.py"
7130 (("gtk-update-icon-cache") (which "true")))
7132 (add-after 'unpack 'patch-libgd-fetch
7133 (lambda* (#:key inputs #:allow-other-keys)
7134 (let ((libgd (assoc-ref inputs "libgd")))
7135 ;; Calling git is unnecessary because libgd is fetched as a
7136 ;; native input to this package.
7137 (substitute* "meson.build"
7139 (copy-recursively libgd "subprojects/libgd")
7141 (add-after 'install 'wrap-gedit
7142 (lambda* (#:key inputs outputs #:allow-other-keys)
7143 (let ((out (assoc-ref outputs "out"))
7144 (gtksourceview (assoc-ref inputs "gtksourceview"))
7145 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7146 (python-path (getenv "PYTHONPATH")))
7147 (wrap-program (string-append out "/bin/gedit")
7149 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7150 `("PYTHONPATH" ":" prefix (,python-path))
7151 ;; For language-specs.
7152 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7156 `(("dconf" ,dconf)))
7158 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7159 ("intltool" ,intltool)
7160 ("itstool" ,itstool)
7161 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7162 ("gobject-introspection" ,gobject-introspection)
7167 (url "https://gitlab.gnome.org/GNOME/libgd")
7168 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7169 (file-name (git-file-name "libgd" version))
7171 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7172 ("pkg-config" ,pkg-config)))
7177 ("gtksourceview" ,gtksourceview)
7178 ("libpeas" ,libpeas)
7179 ("libxml2" ,libxml2)
7180 ("iso-codes" ,iso-codes)
7181 ("python-pygobject" ,python-pygobject)
7183 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7186 ("adwaita-icon-theme" ,adwaita-icon-theme)
7187 ("libsoup" ,libsoup)
7188 ("gnome-desktop" ,gnome-desktop)))
7189 (home-page "https://wiki.gnome.org/Apps/Gedit")
7190 (synopsis "GNOME text editor")
7191 (description "While aiming at simplicity and ease of use, gedit is a
7192 powerful general purpose text editor.")
7193 (license license:gpl2+)))
7195 (define-public zenity
7201 (uri (string-append "mirror://gnome/sources/zenity/"
7202 (version-major+minor version) "/"
7203 "zenity-" version ".tar.xz"))
7206 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7207 (build-system gnu-build-system)
7209 `(("gettext" ,gettext-minimal)
7210 ("itstool" ,itstool)
7211 ("pkg-config" ,pkg-config)))
7213 `(("libnotify" ,libnotify)
7214 ("webkitgtk" ,webkitgtk)))
7215 (synopsis "Display graphical dialog boxes from shell scripts")
7216 (home-page "https://www.gnome.org")
7218 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7219 to display dialog boxes from the commandline and shell scripts.")
7220 (license license:lgpl2.0+)))
7222 (define-public mutter
7228 (uri (string-append "mirror://gnome/sources/" name "/"
7229 (version-major+minor version) "/"
7230 name "-" version ".tar.xz"))
7233 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7234 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7235 ;; versions of cogl and clutter. As a result, many of the inputs,
7236 ;; propagated-inputs, and configure flags used in cogl and clutter are
7237 ;; needed here as well.
7238 (build-system meson-build-system)
7240 '(;; XXX: All mutter tests fail with the following error:
7241 ;; Settings schema 'org.gnome.mutter' is not installed
7245 ;; TODO: Enable profiler when Sysprof is packaged.
7246 (list "-Dprofiler=false"
7247 ;; Otherwise, the RUNPATH will lack the final path component.
7248 (string-append "-Dc_link_args=-Wl,-rpath="
7249 (assoc-ref %outputs "out") "/lib:"
7250 (assoc-ref %outputs "out") "/lib/mutter-5")
7252 ;; The following flags are needed for the bundled clutter
7253 (string-append "-Dxwayland_path="
7254 (assoc-ref %build-inputs "xorg-server-xwayland")
7257 ;; the remaining flags are needed for the bundled cogl
7258 (string-append "-Dopengl_libname="
7259 (assoc-ref %build-inputs "mesa")
7261 #:phases (modify-phases %standard-phases
7262 (add-after 'unpack 'fix-build-with-mesa-20
7264 ;; Mimic upstream commit a444a4c5f58ea516ad for
7265 ;; compatibility with Mesa 20. Remove for 3.36.
7266 (substitute* '("src/backends/meta-egl-ext.h"
7267 "src/backends/meta-egl.c"
7268 "src/backends/meta-egl.h")
7269 (("#include <EGL/eglext\\.h>" all)
7270 (string-append all "\n#include <EGL/eglmesaext.h>")))
7271 (substitute* "cogl/cogl/meson.build"
7272 (("#include <EGL/eglext\\.h>" all)
7273 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7276 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7277 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7278 ("gobject-introspection" ,gobject-introspection)
7279 ("intltool" ,intltool)
7280 ("pkg-config" ,pkg-config)
7281 ("xorg-server" ,xorg-server-for-tests)
7283 ("autoconf" ,autoconf)
7284 ("automake" ,automake)
7285 ("libtool" ,libtool)))
7287 `(;; libmutter.pc refers to these:
7288 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7290 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7293 ("gdk-pixbuf" ,gdk-pixbuf)
7295 ("json-glib" ,json-glib)
7296 ("libinput" ,libinput)
7298 ("libxcomposite" ,libxcomposite)
7299 ("libxdamage" ,libxdamage)
7300 ("libxext" ,libxext)
7301 ("libxfixes" ,libxfixes)
7302 ("libxkbcommon" ,libxkbcommon)
7303 ("libxrandr" ,libxrandr)
7307 ("xinput" ,xinput)))
7309 `(("elogind" ,elogind)
7310 ("gnome-desktop" ,gnome-desktop)
7311 ("gnome-settings-daemon" ,gnome-settings-daemon)
7312 ("libcanberra-gtk" ,libcanberra)
7313 ("libgudev" ,libgudev)
7316 ("libwacom" ,libwacom)
7317 ("libxkbfile" ,libxkbfile)
7318 ("libxrandr" ,libxrandr)
7319 ("libxtst" ,libxtst)
7320 ("pipewire" ,pipewire)
7321 ("startup-notification" ,startup-notification)
7322 ("upower-glib" ,upower)
7323 ("xkeyboard-config" ,xkeyboard-config)
7324 ("xorg-server-xwayland" ,xorg-server-xwayland)
7325 ("zenity" ,zenity)))
7326 (synopsis "Window and compositing manager")
7327 (home-page "https://www.gnome.org")
7329 "Mutter is a window and compositing manager that displays and manages your
7330 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7331 Clutter toolkit with solid window-management logic inherited from the Metacity
7333 (license license:gpl2+)))
7335 (define-public gnome-online-accounts
7337 (name "gnome-online-accounts")
7341 (uri (string-append "mirror://gnome/sources/" name "/"
7342 (version-major+minor version) "/"
7343 name "-" version ".tar.xz"))
7346 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7347 (outputs '("out" "lib"))
7348 (build-system glib-or-gtk-build-system)
7351 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7353 (modify-phases %standard-phases
7354 (add-before 'configure 'patch-libgoa-output
7355 (lambda* (#:key outputs #:allow-other-keys)
7356 (let ((lib (assoc-ref outputs "lib")))
7357 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7359 (("@exec_prefix@") lib)
7360 (("@libdir@") (string-append lib "/lib"))
7361 (("@includedir@") (string-append lib "/include"))
7362 (("@datadir@") (string-append lib "/share")))
7363 ;; Make sure gobject-introspection knows about the output
7364 ;; too (see <https://bugs.gnu.org/36535>).
7365 (setenv "outputs" "out lib")
7368 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7369 ("gobject-introspection" ,gobject-introspection)
7370 ("intltool" ,intltool)
7371 ("pkg-config" ,pkg-config)
7373 ("xsltproc" ,libxslt)))
7375 `(("glib" ,glib) ; required by goa-1.0.pc
7376 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7378 `(("docbook-xsl" ,docbook-xsl)
7379 ("json-glib" ,json-glib)
7380 ("libsecret" ,libsecret)
7382 ("webkitgtk" ,webkitgtk)))
7383 (synopsis "Single sign-on framework for GNOME")
7384 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7386 "GNOME Online Accounts provides interfaces so that applications and
7387 libraries in GNOME can access the user's online accounts. It has providers for
7388 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7389 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7390 (license license:lgpl2.0+)))
7392 (define-public evolution-data-server
7394 (name "evolution-data-server")
7398 (uri (string-append "mirror://gnome/sources/" name "/"
7399 (version-major+minor version) "/"
7400 name "-" version ".tar.xz"))
7401 (patches (search-patches "evolution-data-server-locales.patch"
7402 "evolution-data-server-libical-compat.patch"))
7405 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7406 (build-system cmake-build-system)
7409 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7410 (runpaths (map (lambda (s)
7411 (string-append lib "/evolution-data-server/" s))
7412 '("addressbook-backends" "calendar-backends"
7413 "camel-providers" "credential-modules"
7414 "registry-modules"))))
7415 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7416 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7417 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7418 "-DENABLE_VALA_BINDINGS=ON"
7419 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7420 (string-append lib "/evolution-data-server;")
7421 (string-join runpaths ";"))
7422 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7424 (modify-phases %standard-phases
7425 (add-after 'unpack 'disable-failing-tests
7427 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7428 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7429 (delete-file-recursively "tests/book-migration")
7430 (substitute* "tests/CMakeLists.txt"
7431 (("add_subdirectory\\(book-migration\\)") ""))
7433 (add-after 'unpack 'patch-paths
7435 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7436 "tests/libedata-book/data-test-utils.c"
7437 "tests/libedata-book/test-book-cache-utils.c"
7438 "tests/libedata-cal/test-cal-cache-utils.c")
7439 (("/bin/rm") (which "rm")))
7441 (add-before 'configure 'dont-override-rpath
7443 (substitute* "CMakeLists.txt"
7444 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7445 ;; Remove it so the configure flag is respected.
7446 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7449 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7450 ("gobject-introspection" ,gobject-introspection)
7452 ("intltool" ,intltool)
7453 ("pkg-config" ,pkg-config)
7455 ("python" ,python-wrapper)))
7457 ;; These are all in the Requires field of .pc files.
7459 ("libical" ,libical)
7460 ("libsecret" ,libsecret)
7461 ("libsoup" ,libsoup)
7463 ("sqlite" ,sqlite)))
7467 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7468 ("json-glib" ,json-glib)
7469 ("libcanberra" ,libcanberra)
7470 ("libgweather" ,libgweather)
7471 ("mit-krb5" ,mit-krb5)
7472 ("openldap" ,openldap)
7473 ("webkitgtk" ,webkitgtk)))
7474 (synopsis "Store address books and calendars")
7475 (home-page "https://wiki.gnome.org/Apps/Evolution")
7477 "This package provides a unified backend for programs that work with
7478 contacts, tasks, and calendar information. It was originally developed for
7479 Evolution (hence the name), but is now used by other packages as well.")
7480 (license license:lgpl2.0)))
7482 (define-public caribou
7488 (uri (string-append "mirror://gnome/sources/" name "/"
7489 (version-major+minor version) "/"
7490 name "-" version ".tar.xz"))
7493 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7494 (build-system glib-or-gtk-build-system)
7497 (modify-phases %standard-phases
7500 (lambda* (#:key outputs #:allow-other-keys)
7501 (let ((out (assoc-ref outputs "out")))
7502 ;; Use absolute shared library path in Caribou-1.0.typelib.
7503 (substitute* "libcaribou/Makefile"
7504 (("--shared-library=libcaribou.so")
7505 (string-append "--shared-library="
7506 out "/lib/libcaribou.so")))
7508 (add-after 'install 'wrap-programs
7509 (lambda* (#:key outputs #:allow-other-keys)
7510 (let* ((out (assoc-ref outputs "out"))
7511 (python-path (getenv "PYTHONPATH"))
7512 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7516 `("PYTHONPATH" ":" prefix (,python-path))
7517 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7518 (list (string-append out "/bin/caribou-preferences")
7519 (string-append out "/libexec/antler-keyboard"))))
7522 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7523 ("gobject-introspection" ,gobject-introspection)
7524 ("intltool" ,intltool)
7525 ("pkg-config" ,pkg-config)
7528 ("xsltproc" ,libxslt)))
7530 ;; caribou-1.0.pc refers to all these.
7531 `(("libgee" ,libgee)
7532 ("libxklavier" ,libxklavier)
7533 ("libxtst" ,libxtst)
7536 `(("clutter" ,clutter)
7539 ("python-pygobject" ,python-pygobject)))
7540 (synopsis "Text entry and UI navigation application")
7541 (home-page "https://wiki.gnome.org/Projects/Caribou")
7543 "Caribou is an input assistive technology intended for switch and pointer
7545 (license license:lgpl2.1)))
7547 (define-public network-manager
7549 (name "network-manager")
7553 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7554 (version-major+minor version) "/"
7555 "NetworkManager-" version ".tar.xz"))
7556 (patches (search-patches "network-manager-plugin-path.patch"))
7559 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7560 (modules '((guix build utils)))
7563 (substitute* "src/devices/wwan/nm-modem-manager.c"
7564 (("systemd") "elogind"))
7566 (build-system meson-build-system)
7568 "doc")) ; 8 MiB of gtk-doc HTML
7571 (let ((out (assoc-ref %outputs "out"))
7572 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7575 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7577 (string-append "-Dc_link_args=-Wl,-rpath="
7579 out "/lib/NetworkManager/" ,version)
7580 "-Dsystemd_journal=false"
7581 "-Dsession_tracking=elogind"
7582 "-Dsuspend_resume=elogind"
7583 "-Dsystemdsystemunitdir=no"
7584 "-Dsession_tracking_consolekit=false"
7593 "--localstatedir=/var"
7594 (string-append "-Dudev_dir="
7596 (string-append "-Ddbus_conf_dir="
7597 out "/etc/dbus-1/system.d")
7599 (string-append "-Ddhclient=" dhclient)))
7601 (modify-phases %standard-phases
7602 (add-before 'configure 'pre-configure
7604 ;; These tests try to test aspects of network-manager's
7605 ;; functionality within restricted containers, but they don't
7606 ;; cope with being already in the Guix build jail as that jail
7607 ;; lacks some features that they would like to proxy over (like
7609 (substitute* "src/platform/tests/meson.build"
7610 ((".*test-address-linux.*") "")
7611 ((".*test-cleanup-linux.*") "")
7612 ((".*test-link-linux.*") "")
7613 ((".*test-route-linux.*") ""))
7614 (substitute* "src/devices/tests/meson.build"
7615 ((".*test-acd.*") "")
7616 ((".*test-lldp.*") ""))
7618 (add-after 'unpack 'patch-docbook-xml
7619 (lambda* (#:key inputs #:allow-other-keys)
7620 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7621 "/xml/dtd/docbook")))
7622 (substitute* (find-files "." ".*\\.(xsl|xml)")
7623 (("http://.*/docbookx\\.dtd")
7624 (string-append xmldoc "/docbookx.dtd")))
7626 (add-before 'check 'pre-check
7628 ;; For the missing /etc/machine-id.
7629 (setenv "DBUS_FATAL_WARNINGS" "0")
7631 (add-before 'install 'no-polkit-magic
7632 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7634 (setenv "PKEXEC_UID" "something")
7636 (add-after 'install 'move-doc
7637 (lambda* (#:key outputs #:allow-other-keys)
7638 (let ((out (assoc-ref outputs "out"))
7639 (doc (assoc-ref outputs "doc")))
7640 (mkdir-p (string-append doc "/share"))
7641 (for-each (lambda (directory)
7642 (copy-recursively (string-append out directory)
7643 (string-append doc directory))
7644 (delete-file-recursively
7645 (string-append out directory)))
7646 '("/share/doc" "/share/gtk-doc"))
7651 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7652 ("gtk-doc" ,gtk-doc)
7653 ("gobject-introspection" ,gobject-introspection)
7654 ("docbook-xml" ,docbook-xml)
7655 ("docbook-xsl" ,docbook-xsl)
7656 ("intltool" ,intltool)
7657 ("libxslt" ,libxslt)
7658 ("libxml2" ,libxml2)
7659 ("pkg-config" ,pkg-config)
7662 ("python" ,python-wrapper)
7663 ("python-dbus" ,python-dbus)
7664 ("python-pygobject" ,python-pygobject)))
7667 ("cyrus-sasl" ,cyrus-sasl)
7668 ("dbus-glib" ,dbus-glib)
7669 ("dnsmasq" ,dnsmasq)
7672 ("iptables" ,iptables)
7673 ("isc-dhcp" ,isc-dhcp)
7674 ("iwd" ,iwd) ; wpa_supplicant alternative
7675 ("jansson" ,jansson)
7677 ("libgcrypt" ,libgcrypt)
7678 ("libgudev" ,libgudev)
7681 ("libsoup" ,libsoup)
7682 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7683 ("modem-manager" ,modem-manager)
7684 ("newt" ,newt) ;for the 'nmtui' console interface
7685 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7688 ("readline" ,readline)
7689 ("util-linux" ,util-linux)
7690 ("elogind" ,elogind)))
7691 (synopsis "Network connection manager")
7692 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7694 "NetworkManager is a system network service that manages your network
7695 devices and connections, attempting to keep active network connectivity when
7696 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7697 devices, and provides VPN integration with a variety of different VPN
7699 ;; “This NetworkManager project consists of the daemon, client tools, and
7700 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7702 (license (list license:gpl2+
7704 (properties '((upstream-name . "NetworkManager")))))
7706 (define-public network-manager-openvpn
7708 (name "network-manager-openvpn")
7713 "mirror://gnome/sources/NetworkManager-openvpn/"
7714 (version-major+minor version)
7715 "/NetworkManager-openvpn-" version ".tar.xz"))
7718 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7719 (build-system gnu-build-system)
7721 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7723 (modify-phases %standard-phases
7724 (add-after 'configure 'patch-path
7725 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7726 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7728 (modprobe (string-append (assoc-ref inputs "kmod")
7730 (pretty-ovpn (string-append "\"" ovpn "\"")))
7734 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7735 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7736 (("\"/sbin/openvpn\"") pretty-ovpn)
7737 (("/sbin/modprobe") modprobe)))
7738 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7741 `(("pkg-config" ,pkg-config)
7742 ("intltool" ,intltool)))
7746 ("openvpn" ,openvpn)
7747 ("network-manager" ,network-manager)
7749 ("libsecret" ,libsecret)))
7750 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7751 (synopsis "OpenVPN plug-in for NetworkManager")
7753 "This extension of NetworkManager allows it to take care of connections
7754 to virtual private networks (VPNs) via OpenVPN.")
7755 (license license:gpl2+)
7756 (properties `((upstream-name . "NetworkManager-openvpn")))))
7758 (define-public network-manager-vpnc
7760 (name "network-manager-vpnc")
7765 "mirror://gnome/sources/NetworkManager-vpnc/"
7766 (version-major+minor version)
7767 "/NetworkManager-vpnc-" version ".tar.xz"))
7770 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7771 (build-system gnu-build-system)
7773 `(#:configure-flags '("--enable-absolute-paths"
7774 "--localstatedir=/var"
7775 ;; libnm-glib has been removed from network-manager
7776 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7777 "--with-libnm-glib=no")
7779 (modify-phases %standard-phases
7780 (add-after 'configure 'patch-path
7781 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7782 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7784 (modprobe (string-append (assoc-ref inputs "kmod")
7786 (pretty-ovpn (string-append "\"" vpnc "\"")))
7787 (substitute* "src/nm-vpnc-service.c"
7788 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7789 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7790 (("\"/sbin/vpnc\"") pretty-ovpn)
7791 (("/sbin/modprobe") modprobe)))
7794 `(("pkg-config" ,pkg-config)
7795 ("intltool" ,intltool)))
7800 ("network-manager" ,network-manager)
7802 ("libsecret" ,libsecret)))
7803 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7804 (synopsis "VPNC plug-in for NetworkManager")
7806 "Support for configuring virtual private networks based on VPNC.
7807 Compatible with Cisco VPN concentrators configured to use IPsec.")
7808 (license license:gpl2+)
7809 (properties `((upstream-name . "NetworkManager-vpnc")))))
7811 (define-public network-manager-openconnect
7813 (name "network-manager-openconnect")
7818 "mirror://gnome/sources/NetworkManager-openconnect/"
7819 (version-major+minor version)
7820 "/NetworkManager-openconnect-" version ".tar.xz"))
7823 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7824 (build-system gnu-build-system)
7826 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7828 (modify-phases %standard-phases
7829 (add-after 'configure 'patch-path
7830 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7831 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7832 "/sbin/openconnect"))
7833 (modprobe (string-append (assoc-ref inputs "kmod")
7835 (pretty-ovpn (string-append "\"" openconnect "\"")))
7836 (substitute* "src/nm-openconnect-service.c"
7837 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7838 (("/sbin/modprobe") modprobe)))
7841 `(("intltool" ,intltool)
7843 ("pkg-config" ,pkg-config)))
7848 ("libsecret" ,libsecret)
7849 ("libxml2" ,libxml2)
7851 ("network-manager" ,network-manager)
7852 ("openconnect" ,openconnect)))
7853 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7854 (synopsis "OpenConnect plug-in for NetworkManager")
7856 "This extension of NetworkManager allows it to take care of connections
7857 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7858 Cisco's AnyConnect SSL VPN.")
7859 (license license:gpl2+)
7860 (properties `((upstream-name . "NetworkManager-openconnect")
7862 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7863 ;; file refers to account "nm-openconnect". Specify it here
7864 ;; so that 'network-manager-service-type' creates it.
7865 (user-accounts . ("nm-openconnect"))))))
7867 (define-public mobile-broadband-provider-info
7869 (name "mobile-broadband-provider-info")
7870 (version "20190116")
7874 "mirror://gnome/sources/"
7875 "mobile-broadband-provider-info/" version "/"
7876 "mobile-broadband-provider-info-" version ".tar.xz"))
7879 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7880 (build-system gnu-build-system)
7882 `(#:tests? #f)) ; no tests
7883 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7884 (synopsis "Database of broadband connection configuration")
7885 (description "Database of broadband connection configuration.")
7886 (license license:public-domain)))
7888 (define-public network-manager-applet
7890 (name "network-manager-applet")
7894 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7895 (version-major+minor version) "/"
7896 "network-manager-applet-" version ".tar.xz"))
7899 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
7900 (build-system meson-build-system)
7902 '(#:glib-or-gtk? #t))
7904 `(("intltool" ,intltool)
7905 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7906 ("gobject-introspection" ,gobject-introspection)
7907 ("gtk-doc" ,gtk-doc)
7908 ("pkg-config" ,pkg-config)))
7910 ;; libnm-gtk.pc refers to all these.
7911 `(("dbus-glib" ,dbus-glib)
7913 ("network-manager" ,network-manager)
7914 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7915 ("libnma" ,libnma)))
7918 ("libgudev" ,libgudev)
7919 ("libnotify" ,libnotify)
7920 ("libsecret" ,libsecret)
7921 ("libselinux" ,libselinux)
7922 ("jansson" ,jansson) ; for team support
7923 ("modem-manager" ,modem-manager)))
7924 (synopsis "Applet for managing network connections")
7925 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7927 "This package contains a systray applet for NetworkManager. It displays
7928 the available networks and allows users to easily switch between them.")
7929 (license license:gpl2+)))
7931 (define-public libxml++
7937 (uri (string-append "mirror://gnome/sources/" name "/"
7938 (version-major+minor version) "/"
7939 name "-" version ".tar.xz"))
7942 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
7943 (build-system gnu-build-system)
7944 ;; libxml++-3.0.pc refers to all these.
7946 `(("libxml2" ,libxml2)
7947 ("glibmm" ,glibmm)))
7950 ("pkg-config" ,pkg-config)))
7951 (home-page "http://libxmlplusplus.sourceforge.net/")
7952 (synopsis "C++ wrapper for XML parser library libxml2")
7954 "This package provides a C++ wrapper for the XML parser library
7956 (license license:lgpl2.1+)))
7958 (define-public libxml++-2
7965 (uri (string-append "mirror://gnome/sources/" name "/"
7966 (version-major+minor version) "/"
7967 name "-" version ".tar.xz"))
7970 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
7978 (uri (string-append "mirror://gnome/sources/" name "/"
7979 (version-major+minor version) "/"
7980 name "-" version ".tar.xz"))
7983 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
7984 (patches (search-patches "gdm-default-session.patch"))))
7985 (build-system glib-or-gtk-build-system)
7988 `("--without-plymouth"
7989 "--disable-systemd-journal"
7991 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
7992 ;; instead of having to replace it (i.e., stopping the mingetty
7993 ;; service for TTY 1 before starting GDM).
7994 "--with-initial-vt=7"
7996 ;; Use '/etc/environment' for locale settings instead of the
7997 ;; systemd-specific '/etc/locale.conf'.
7998 "--with-lang-file=/etc/environment"
8000 ,(string-append "--with-udevdir="
8001 (assoc-ref %outputs "out") "/lib/udev")
8003 "--localstatedir=/var"
8004 ,(string-append "--with-default-path="
8005 (string-join '("/run/setuid-programs"
8006 "/run/current-system/profile/bin"
8007 "/run/current-system/profile/sbin")
8009 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8010 ;; XDG_DATA_DIRS so that it finds its schemas.
8011 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8013 (modify-phases %standard-phases
8015 'configure 'pre-configure
8016 (lambda* (#:key inputs outputs #:allow-other-keys)
8017 ;; We don't have <systemd/sd-daemon.h>.
8018 (substitute* '("common/gdm-log.c"
8019 "daemon/gdm-server.c"
8020 "daemon/gdm-session-worker.c"
8021 "daemon/gdm-session-worker-job.c")
8022 (("#include <systemd/sd-daemon\\.h>") ""))
8023 ;; Use elogind for sd-login.
8024 (substitute* '("common/gdm-common.c"
8025 "daemon/gdm-local-display-factory.c"
8026 "daemon/gdm-manager.c"
8027 "libgdm/gdm-user-switching.c")
8028 (("#include <systemd/sd-login\\.h>")
8029 "#include <elogind/sd-login.h>"))
8030 ;; Check for elogind.
8031 (substitute* '("configure")
8034 ;; Look for system-installed sessions in
8035 ;; /run/current-system/profile/share.
8036 (substitute* '("libgdm/gdm-sessions.c"
8037 "daemon/gdm-session.c"
8038 "daemon/gdm-display.c"
8039 "daemon/gdm-launch-environment.c")
8041 "\"/run/current-system/profile/share/x")
8042 (("DATADIR \"/wayland")
8043 "\"/run/current-system/profile/share/wayland")
8044 (("DATADIR \"/gnome")
8045 "\"/run/current-system/profile/share/gnome"))
8046 (let ((propagate '("GDM_CUSTOM_CONF"
8050 ;; XXX: Remove this once GNOME Shell is
8051 ;; a dependency of GDM.
8053 (substitute* "daemon/gdm-session.c"
8054 (("set_up_session_environment \\(self\\);")
8055 (apply string-append
8056 "set_up_session_environment (self);\n"
8059 "gdm_session_set_environment_variable "
8060 "(self, \"" name "\","
8061 "g_getenv (\"" name "\"));\n"))
8063 ;; Find the configuration file using an environment variable.
8064 (substitute* '("common/gdm-settings.c")
8065 (("GDM_CUSTOM_CONF")
8066 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8067 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8068 " : GDM_CUSTOM_CONF)")))
8069 ;; Use service-supplied path to X.
8070 (substitute* '("daemon/gdm-server.c")
8071 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8072 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8073 (substitute* '("daemon/gdm-wayland-session.c"
8074 "daemon/gdm-x-session.c")
8075 (("\"dbus-daemon\"")
8076 "g_getenv (\"GDM_DBUS_DAEMON\")")
8078 "g_getenv (\"GDM_X_SERVER\")")
8079 (("GDMCONFDIR \"/Xsession\"")
8080 "g_getenv (\"GDM_X_SESSION\")"))
8081 ;; Use an absolute path for GNOME Session.
8082 (substitute* "daemon/gdm-launch-environment.c"
8083 (("\"gnome-session\"")
8084 (string-append "\"" (assoc-ref inputs "gnome-session")
8085 "/bin/gnome-session\"")))
8086 ;; Do not automatically select the placeholder session.
8087 (substitute* "daemon/gdm-session.c"
8088 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8089 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8090 "(g_strcmp0(search_dirs[i], \""
8091 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8093 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8094 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8095 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8097 ;; GDM requires that there be at least one desktop entry
8098 ;; file. This phase installs a hidden one that simply
8099 ;; fails. This enables users to use GDM with a
8100 ;; '~/.xsession' script with no other desktop entry files.
8101 ;; See <https://bugs.gnu.org/35068>.
8102 (add-after 'install 'install-placeholder-desktop-entry
8103 (lambda* (#:key inputs outputs #:allow-other-keys)
8104 (let* ((out (assoc-ref outputs "out"))
8105 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8106 (fail (string-append sessions "/fail.desktop")))
8108 (with-output-to-file fail
8112 '("[Desktop Entry]\n"
8114 "Type=Application\n"
8116 "Comment=This session fails immediately.\n"
8120 ;; GDM needs GNOME Session to run these applications. We link
8121 ;; their autostart files in `share/gdm/greeter/autostart'
8122 ;; because GDM explicitly tells GNOME Session to look there.
8124 ;; XXX: GNOME Shell should be linked here too, but currently
8125 ;; GNOME Shell depends on GDM.
8126 (add-after 'install 'link-autostart-files
8127 (lambda* (#:key inputs outputs #:allow-other-keys)
8128 (let* ((out (assoc-ref outputs "out"))
8129 (autostart (string-append out "/share/gdm/"
8130 "greeter/autostart"))
8131 (settings (assoc-ref inputs "gnome-settings-daemon")))
8133 (with-directory-excursion autostart
8134 (for-each (lambda (desktop)
8135 (symlink desktop (basename desktop)))
8136 (find-files (string-append settings "/etc/xdg"))))
8140 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8141 ("gobject-introspection" ,gobject-introspection)
8142 ("intltool" ,intltool)
8143 ("itstool" ,itstool)
8144 ("pkg-config" ,pkg-config)
8145 ("xmllint" ,libxml2)))
8147 `(("accountsservice" ,accountsservice)
8148 ("check" ,check-0.14) ;for testing
8149 ("elogind" ,elogind)
8150 ("gnome-session" ,gnome-session)
8151 ("gnome-settings-daemon" ,gnome-settings-daemon)
8153 ("iso-codes" ,iso-codes)
8154 ("libcanberra" ,libcanberra)
8155 ("linux-pam" ,linux-pam)))
8156 (synopsis "Display manager for GNOME")
8157 (home-page "https://wiki.gnome.org/Projects/GDM/")
8159 "GNOME Display Manager is a system service that is responsible for
8160 providing graphical log-ins and managing local and remote displays.")
8161 (license license:gpl2+)))
8163 (define-public libgtop
8169 (uri (string-append "mirror://gnome/sources/libgtop/"
8170 (version-major+minor version) "/"
8171 "libgtop-" version ".tar.xz"))
8174 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8175 (build-system gnu-build-system)
8177 `(("gobject-introspection" ,gobject-introspection)
8178 ("intltool" ,intltool)
8180 ("pkg-config" ,pkg-config)))
8182 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8183 (synopsis "Portable system access library")
8184 (home-page "https://www.gnome.org/")
8186 "LibGTop is a library to get system specific data such as CPU and memory
8187 usage and information about running processes.")
8188 (license license:gpl2+)))
8190 (define-public gnome-bluetooth
8192 (name "gnome-bluetooth")
8196 (uri (string-append "mirror://gnome/sources/" name "/"
8197 (version-major+minor version) "/"
8198 name "-" version ".tar.xz"))
8201 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8202 (build-system meson-build-system)
8204 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8205 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8206 ("gobject-introspection" ,gobject-introspection)
8207 ("intltool" ,intltool)
8208 ("pkg-config" ,pkg-config)
8209 ("xmllint" ,libxml2)))
8211 ;; gnome-bluetooth-1.0.pc refers to all these.
8216 ("libcanberra" ,libcanberra)
8217 ("libnotify" ,libnotify)))
8218 (synopsis "GNOME Bluetooth subsystem")
8219 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8221 "This package contains tools for managing and manipulating Bluetooth
8222 devices using the GNOME desktop.")
8223 (license license:lgpl2.1+)))
8225 (define-public gnome-control-center
8227 (name "gnome-control-center")
8231 (uri (string-append "mirror://gnome/sources/" name "/"
8232 (version-major+minor version) "/"
8233 name "-" version ".tar.xz"))
8236 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8237 (build-system meson-build-system)
8241 (list "-Dcheese=false"
8242 (string-append "-Dgnome_session_libexecdir="
8243 (assoc-ref %build-inputs "gnome-session")
8246 (modify-phases %standard-phases
8247 (add-before 'configure 'patch-paths
8248 (lambda* (#:key inputs #:allow-other-keys)
8249 (let ((libc (assoc-ref inputs "libc"))
8250 (tzdata (assoc-ref inputs "tzdata"))
8251 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8252 (nm-applet (assoc-ref inputs "network-manager-applet"))
8253 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8254 (substitute* "panels/datetime/tz.h"
8255 (("/usr/share/zoneinfo/zone.tab")
8256 (string-append tzdata "/share/zoneinfo/zone.tab")))
8257 (substitute* "tests/datetime/test-endianess.c"
8258 (("/usr/share/locale")
8259 (string-append libc "/share/locale")))
8260 (substitute* "panels/region/cc-region-panel.c"
8261 (("\"gkbd-keyboard-display")
8262 (string-append "\"" libgnomekbd
8263 "/bin/gkbd-keyboard-display")))
8264 (substitute* '("panels/network/net-device-wifi.c"
8265 "panels/network/net-device.c"
8266 "panels/network/connection-editor/net-connection-editor.c")
8267 (("\"nm-connection-editor")
8268 (string-append "\"" nm-applet
8269 "/bin/nm-connection-editor")))
8270 (substitute* '("panels/user-accounts/run-passwd.c")
8271 (("/usr/bin/passwd")
8272 "/run/setuid-programs/passwd"))
8273 (substitute* "panels/info/cc-info-overview-panel.c"
8274 (("DATADIR \"/gnome/gnome-version.xml\"")
8275 (string-append "\"" gnome-desktop
8276 "/share/gnome/gnome-version.xml\"")))
8278 (add-after 'unpack 'skip-gtk-update-icon-cache
8279 ;; Don't create 'icon-theme.cache'.
8281 (substitute* "build-aux/meson/meson_post_install.py"
8282 (("gtk-update-icon-cache") (which "true")))
8285 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8286 ("intltool" ,intltool)
8287 ("pkg-config" ,pkg-config)
8288 ("xsltproc" ,libxslt)
8290 ("hicolor-icon-theme" ,hicolor-icon-theme)
8291 ("python-dbusmock" ,python-dbusmock)
8292 ("xorg-server" ,xorg-server-for-tests)))
8294 `(("accountsservice" ,accountsservice)
8295 ("clutter-gtk" ,clutter-gtk)
8296 ("colord-gtk" ,colord-gtk)
8299 ("docbook-xsl" ,docbook-xsl)
8300 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8301 ("gnome-bluetooth" ,gnome-bluetooth)
8302 ("gnome-desktop" ,gnome-desktop)
8303 ("gnome-online-accounts" ,gnome-online-accounts)
8304 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8305 ("gnome-session" ,gnome-session)
8306 ("gnome-settings-daemon" ,gnome-settings-daemon)
8310 ("libcanberra" ,libcanberra)
8311 ("libgnomekbd" ,libgnomekbd)
8312 ("libgudev" ,libgudev)
8313 ("libgtop" ,libgtop)
8315 ("libpwquality" ,libpwquality)
8316 ("libsecret" ,libsecret)
8317 ("libsoup" ,libsoup)
8318 ("libxml2" ,libxml2)
8319 ("libwacom" ,libwacom)
8321 ("mit-krb5" ,mit-krb5)
8322 ("modem-manager" ,modem-manager)
8323 ("network-manager-applet" ,network-manager-applet)
8325 ("pulseaudio" ,pulseaudio)
8326 ("smbclient" ,samba)
8329 ("upower" ,upower)))
8330 (synopsis "Utilities to configure the GNOME desktop")
8331 (home-page "https://www.gnome.org/")
8333 "This package contains configuration applets for the GNOME desktop,
8334 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8335 properties, sound setup, desktop theme and background, user interface
8336 properties, screen resolution, and other GNOME parameters.")
8337 (license license:gpl2+)))
8339 (define-public gnome-shell
8341 (name "gnome-shell")
8345 (uri (string-append "mirror://gnome/sources/" name "/"
8346 (version-major+minor version) "/"
8347 name "-" version ".tar.xz"))
8350 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
8351 (patches (search-patches "gnome-shell-theme.patch"
8352 "gnome-shell-disable-test.patch"))
8353 (modules '((guix build utils)))
8356 ;; Copy images for use on the GDM log-in screen.
8357 (copy-file #$(file-append %artwork-repository
8358 "/slim/0.x/background.png")
8359 "data/theme/guix-background.png")
8360 (copy-file #$(file-append %artwork-repository
8361 "/logo/Guix-horizontal-white.svg")
8362 "data/theme/guix-logo.svg")
8364 (build-system meson-build-system)
8367 #:disallowed-references ((,glib "bin")
8371 (list "-Dsystemd=false"
8372 ;; Otherwise, the RUNPATH will lack the final path component.
8373 (string-append "-Dc_link_args=-Wl,-rpath="
8374 (assoc-ref %outputs "out")
8375 "/lib/gnome-shell"))
8377 #:modules ((guix build meson-build-system)
8382 (modify-phases %standard-phases
8383 (add-after 'unpack 'fix-keysdir
8384 (lambda* (#:key outputs #:allow-other-keys)
8385 (let* ((out (assoc-ref outputs "out"))
8386 (keysdir (string-append
8387 out "/share/gnome-control-center/keybindings")))
8388 (substitute* "meson.build"
8390 (string-append "keysdir = '" keysdir "'\n")))
8392 (add-before 'configure 'convert-logo-to-png
8393 (lambda* (#:key inputs #:allow-other-keys)
8394 ;; Convert the logo from SVG to PNG.
8395 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8396 "data/theme/guix-logo.svg")))
8397 (add-before 'configure 'record-absolute-file-names
8398 (lambda* (#:key inputs #:allow-other-keys)
8399 (substitute* "js/misc/ibusManager.js"
8401 (string-append "'" (assoc-ref inputs "ibus")
8402 "/bin/ibus-daemon'")))
8403 (substitute* "js/ui/status/keyboard.js"
8404 (("'gkbd-keyboard-display'")
8405 (string-append "'" (assoc-ref inputs "libgnomekbd")
8406 "/bin/gkbd-keyboard-display'")))
8408 (add-before 'check 'pre-check
8409 (lambda* (#:key inputs #:allow-other-keys)
8410 ;; Tests require a running X server.
8411 (system "Xvfb :1 &")
8412 (setenv "DISPLAY" ":1")
8414 (add-after 'install 'wrap-programs
8415 (lambda* (#:key inputs outputs #:allow-other-keys)
8416 (let ((out (assoc-ref outputs "out"))
8417 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8418 (python-path (getenv "PYTHONPATH")))
8419 (wrap-program (string-append out "/bin/gnome-shell")
8420 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8421 ;; FIXME: gnome-shell loads these libraries with unqualified
8422 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8423 ;; alternative might be to patch gnome-shell.
8424 `("LD_LIBRARY_PATH" ":" prefix
8426 (string-append (assoc-ref inputs pkg) "/lib"))
8428 "gnome-bluetooth" "librsvg" "libgweather"))))
8431 (wrap-program (string-append out "/bin/" prog)
8432 `("PYTHONPATH" ":" prefix (,python-path))
8433 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8434 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8436 (replace 'glib-or-gtk-wrap
8437 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8438 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8439 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8440 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8441 ;; phase. Fix that since we don't need these.
8442 (wrap #:inputs (fold alist-delete inputs
8443 '("inkscape" "intltool" "glib:bin"))
8444 #:outputs outputs)))))))
8446 `(("asciidoc" ,asciidoc)
8447 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8448 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8449 ("gobject-introspection" ,gobject-introspection)
8450 ("inkscape" ,inkscape)
8451 ("intltool" ,intltool)
8452 ("pkg-config" ,pkg-config)
8454 ("ruby-sass" ,ruby-sass)
8456 ("xsltproc" ,libxslt)
8458 ("xorg-server" ,xorg-server-for-tests)))
8460 `(("accountsservice" ,accountsservice)
8461 ("caribou" ,caribou)
8462 ("docbook-xsl" ,docbook-xsl)
8463 ("evolution-data-server" ,evolution-data-server)
8466 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8468 ("gnome-autoar" ,gnome-autoar)
8469 ("gnome-bluetooth" ,gnome-bluetooth)
8470 ("gnome-desktop" ,gnome-desktop)
8471 ("gnome-settings-daemon" ,gnome-settings-daemon)
8472 ("gst-plugins-base" ,gst-plugins-base)
8474 ("libcanberra" ,libcanberra)
8475 ("libcroco" ,libcroco)
8476 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8477 ("libgweather" ,libgweather)
8479 ("libsoup" ,libsoup)
8480 ("mesa-headers" ,mesa-headers)
8482 ("network-manager-applet" ,network-manager-applet)
8484 ("pulseaudio" ,pulseaudio)
8485 ("python-pygobject" ,python-pygobject)
8486 ("startup-notification" ,startup-notification)
8487 ("telepathy-logger" ,telepathy-logger)
8489 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8490 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8491 ("librsvg" ,librsvg)
8492 ("geoclue" ,geoclue)))
8493 (synopsis "Desktop shell for GNOME")
8494 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8496 "GNOME Shell provides core user interface functions for the GNOME desktop,
8497 like switching to windows and launching applications.")
8498 (license license:gpl2+)))
8500 (define-public gtk-vnc
8508 (string-append "mirror://gnome/sources/" name "/"
8509 (version-major+minor version) "/"
8510 name "-" version ".tar.xz"))
8512 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8513 (build-system meson-build-system)
8515 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8518 ("glib:bin" ,glib "bin")
8519 ("gobject-introspection" ,gobject-introspection)
8520 ("intltool" ,intltool)
8523 ("pkg-config" ,pkg-config)
8524 ("python" ,python-wrapper)
8528 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8531 ("libgcrypt" ,libgcrypt)
8532 ("libsasl" ,cyrus-sasl)
8533 ("pulseaudio" ,pulseaudio)
8538 (synopsis "VNC client viewer widget for GTK+")
8539 (description "GTK-VNC is a project providing client side APIs for the RFB
8540 protocol / VNC remote desktop technology. It is built using coroutines allowing
8541 it to be completely asynchronous while remaining single threaded. It provides a
8542 core C library, and bindings for Python (PyGTK).")
8543 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8544 (license license:lgpl2.1+)))
8546 (define-public gnome-autoar
8548 (name "gnome-autoar")
8552 (uri (string-append "mirror://gnome/sources/" name "/"
8553 (version-major+minor version) "/"
8554 name "-" version ".tar.xz"))
8557 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
8558 (build-system glib-or-gtk-build-system)
8560 `(("gobject-introspection" ,gobject-introspection)
8561 ("pkg-config" ,pkg-config)))
8563 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8566 (synopsis "Archives integration support for GNOME")
8567 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8569 "GNOME Autoar is a library which makes creating and extracting archives
8570 easy, safe, and automatic.")
8571 (license license:lgpl2.1+)))
8573 (define-public tracker
8579 (uri (string-append "mirror://gnome/sources/tracker/"
8580 (version-major+minor version) "/"
8581 "tracker-" version ".tar.xz"))
8584 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8585 (build-system meson-build-system)
8589 ;; Otherwise, the RUNPATH will lack the final path component.
8590 (list (string-append "-Dc_link_args=-Wl,-rpath="
8591 (assoc-ref %outputs "out") "/lib:"
8592 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8594 (modify-phases %standard-phases
8595 (add-before 'check 'pre-check
8597 ;; Some tests expect to write to $HOME.
8598 (setenv "HOME" "/tmp")
8601 `(("glib:bin" ,glib "bin")
8602 ("gobject-introspection" ,gobject-introspection)
8603 ("python-pygobject" ,python-pygobject)
8604 ("intltool" ,intltool)
8605 ("pkg-config" ,pkg-config)
8610 ("libxml2" ,libxml2)
8611 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8612 ("json-glib" ,json-glib)
8613 ("libsoup" ,libsoup)))
8614 (synopsis "Metadata database, indexer and search tool")
8615 (home-page "https://wiki.gnome.org/Projects/Tracker")
8617 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8619 It is a middleware component aimed at desktop application developers who want
8620 their apps to browse and search user content. It's not designed to be used
8621 directly by desktop users, but it provides a commandline tool named
8622 @command{tracker} for the adventurous.
8624 Tracker allows your application to instantly perform full-text searches across
8625 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8626 example. This is achieved by indexing the user's home directory in the
8629 Tracker also allows your application to query and list content that the user
8630 has stored. For example, GNOME Music displays all the music files that are
8631 found by Tracker. This means that GNOME Music doesn't need to maintain a
8632 database of its own.
8634 If you need to go beyond simple searches, Tracker is also a linked data
8635 endpoint and it understands SPARQL. ")
8636 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8637 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8638 ;; libstemmer is bsd-3 and the rest is gpl2+.
8639 (license (list license:gpl2+
8641 license:lgpl2.1+))))
8643 (define-public tracker-miners
8645 (name "tracker-miners")
8649 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8650 (version-major+minor version)
8651 "/tracker-miners-" version ".tar.xz"))
8654 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8655 (build-system meson-build-system)
8659 (list "-Dminer_rss=false" ; libgrss is required.
8660 ;; Ensure the RUNPATH contains all installed library locations.
8661 (string-append "-Dc_link_args=-Wl,-rpath="
8662 (assoc-ref %outputs "out")
8663 "/lib/tracker-miners-2.0")
8664 ;; TODO: Enable functional tests. Currently, the following error
8666 ;; Exception: The functional tests require DConf to be the default
8667 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8668 "-Dfunctional_tests=false")))
8671 ("intltool" ,intltool)
8672 ("glib:bin" ,glib "bin")
8673 ("gobject-introspection" ,gobject-introspection)
8674 ("pkg-config" ,pkg-config)
8675 ("python-pygobject" ,python-pygobject)))
8677 `(("exempi" ,exempi)
8682 ("gstreamer" ,gstreamer)
8685 ("libexif" ,libexif)
8687 ("libgxps" ,libgxps)
8688 ("libiptcdata" ,libiptcdata)
8689 ("libjpeg" ,libjpeg-turbo)
8690 ("libosinfo" ,libosinfo)
8692 ("libseccomp" ,libseccomp)
8693 ("libtiff" ,libtiff)
8694 ("libvorbis" ,libvorbis)
8695 ("libxml2" ,libxml2)
8696 ("poppler" ,poppler)
8698 ("totem-pl-parser" ,totem-pl-parser)
8699 ("tracker" ,tracker)
8702 (synopsis "Metadata database, indexer and search tool")
8703 (home-page "https://wiki.gnome.org/Projects/Tracker")
8705 "Tracker is an advanced framework for first class objects with associated
8706 metadata and tags. It provides a one stop solution for all metadata, tags,
8707 shared object databases, search tools and indexing.")
8708 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8709 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8710 (license (list license:gpl2+
8712 license:lgpl2.0+))))
8714 (define-public nautilus
8720 (uri (string-append "mirror://gnome/sources/" name "/"
8721 (version-major+minor version) "/"
8722 name "-" version ".tar.xz"))
8725 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8726 (build-system meson-build-system)
8730 (modify-phases %standard-phases
8731 (add-after 'unpack 'skip-gtk-update-icon-cache
8732 ;; Don't create 'icon-theme.cache'.
8734 (substitute* "build-aux/meson/postinstall.py"
8735 (("gtk-update-icon-cache") "true"))
8737 ;; XXX: FAIL: check-nautilus
8738 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8741 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8742 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8743 ("gobject-introspection" ,gobject-introspection)
8744 ("intltool" ,intltool)
8745 ("pkg-config" ,pkg-config)))
8751 ("gnome-desktop" ,gnome-desktop)
8752 ("gnome-autoar" ,gnome-autoar)
8753 ("gst-plugins-base" ,gst-plugins-base)
8754 ("libseccomp" ,libseccomp)
8755 ("libselinux" ,libselinux)
8756 ("tracker" ,tracker)
8757 ("tracker-miners" ,tracker-miners)
8758 ;; XXX: gtk+ is required by libnautilus-extension.pc
8760 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8762 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8764 ("libexif" ,libexif)
8765 ("libxml2" ,libxml2)))
8766 (synopsis "File manager for GNOME")
8767 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8769 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8770 design and behaviour, giving the user a simple way to navigate and manage its
8772 (license license:gpl2+)))
8774 (define-public baobab
8781 "mirror://gnome/sources/" name "/"
8782 (version-major+minor version) "/"
8783 name "-" version ".tar.xz"))
8786 "0ac3fbl15l836yvgw724q4whbkws9v4b6l2xy6bnp0b0g0a6i104"))))
8787 (build-system meson-build-system)
8789 '(#:glib-or-gtk? #t))
8791 `(("intltool" ,intltool)
8792 ("pkg-config" ,pkg-config)
8793 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8794 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8795 ("itstool" ,itstool)
8796 ("xmllint" ,libxml2)
8797 ("glib" ,glib "bin")
8801 (synopsis "Disk usage analyzer for GNOME")
8803 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8804 usage in the GNOME desktop environment. It can easily scan device volumes or
8805 a specific user-requested directory branch (local or remote). Once the scan
8806 is complete it provides a graphical representation of each selected folder.")
8807 (home-page "https://wiki.gnome.org/Apps/Baobab")
8808 (license license:gpl2+)))
8810 (define-public gnome-backgrounds
8812 (name "gnome-backgrounds")
8817 (uri (string-append "mirror://gnome/sources/" name "/"
8818 (version-major+minor version) "/"
8819 name "-" version ".tar.xz"))
8822 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8823 (build-system meson-build-system)
8825 `(("intltool" ,intltool)))
8826 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8827 (synopsis "Background images for the GNOME desktop")
8829 "GNOME backgrounds package contains a collection of graphics files which
8830 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8831 the package creates the proper framework and directory structure so that you
8832 can add your own files to the collection.")
8833 (license (list license:gpl2+
8836 license:cc-by-sa3.0))))
8838 (define-public gnome-screenshot
8840 (name "gnome-screenshot")
8845 (uri (string-append "mirror://gnome/sources/" name "/"
8846 (version-major+minor version) "/"
8847 name "-" version ".tar.xz"))
8850 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8851 (build-system meson-build-system)
8854 (modify-phases %standard-phases
8855 (add-after 'unpack 'skip-gtk-update-icon-cache
8856 ;; Don't create 'icon-theme.cache'.
8858 (substitute* "build-aux/postinstall.py"
8859 (("gtk-update-icon-cache") "true"))
8862 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8863 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8864 ("intltool" ,intltool)
8865 ("appstream-glib" ,appstream-glib)
8866 ("pkg-config" ,pkg-config)))
8869 ("libcanberra" ,libcanberra)
8871 ("libxext" ,libxext)))
8872 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8873 (synopsis "Take pictures of your screen")
8875 "GNOME Screenshot is a utility used for taking screenshots of the entire
8876 screen, a window or a user defined area of the screen, with optional
8877 beautifying border effects.")
8878 (license license:gpl2+)))
8880 (define-public dconf-editor
8882 (name "dconf-editor")
8887 (uri (string-append "mirror://gnome/sources/" name "/"
8888 (version-major+minor version) "/"
8889 name "-" version ".tar.xz"))
8892 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8893 (build-system meson-build-system)
8895 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8896 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8897 ("intltool" ,intltool)
8898 ("pkg-config" ,pkg-config)
8903 ("libxml2" ,libxml2)))
8904 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8905 (synopsis "Graphical editor for GNOME's dconf configuration system")
8907 "Dconf-editor is a graphical tool for browsing and editing the dconf
8908 configuration system for GNOME. It allows users to configure desktop
8909 software that do not provide their own configuration interface.")
8910 (license license:lgpl2.1+)))
8912 (define-public gnome-default-applications
8914 (name "gnome-default-applications")
8916 (build-system trivial-build-system)
8919 `(("nautilus" ,nautilus)
8920 ("evince" ,evince)))
8922 `(#:modules ((guix build utils))
8925 (use-modules (guix build utils))
8926 (let* ((out (assoc-ref %outputs "out"))
8927 (apps (string-append out "/share/applications")))
8929 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
8931 (format port "[Default Applications]\n")
8932 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
8933 (format port "application/pdf=evince.desktop\n")
8934 (format port "application/postscript=evince.desktop\n")))
8936 (synopsis "Default MIME type associations for the GNOME desktop")
8938 "Given many installed packages which might handle a given MIME type, a
8939 user running the GNOME desktop probably has some preferences: for example,
8940 that folders be opened by default by the Nautilus file manager, not the Baobab
8941 disk usage analyzer. This package establishes that set of default MIME type
8942 associations for GNOME.")
8943 (license license:gpl3+)
8946 (define-public libgovirt
8952 (uri (string-append "mirror://gnome/sources/" name "/"
8953 (version-major+minor version) "/"
8954 name "-" version ".tar.xz"))
8957 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
8958 (build-system glib-or-gtk-build-system)
8960 `(("gettext" ,gettext-minimal)
8961 ("glib:bin" ,glib "bin")
8962 ("gobject-introspection" ,gobject-introspection)
8963 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8964 ("gtk+:bin" ,gtk+ "bin")
8965 ("pkg-config" ,pkg-config)))
8967 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
8969 (synopsis "GoVirt Library")
8970 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
8971 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
8972 (license license:gpl2+)))
8974 (define-public gnome-weather
8976 (name "gnome-weather")
8980 (uri (string-append "mirror://gnome/sources/" name "/"
8981 (version-major+minor version) "/"
8982 name "-" version ".tar.xz"))
8985 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
8986 (build-system meson-build-system)
8988 `(("gettext" ,gettext-minimal)
8989 ("glib:bin" ,glib "bin")
8990 ("gobject-introspection" ,gobject-introspection)
8991 ("gtk+:bin" ,gtk+ "bin")
8992 ("pkg-config" ,pkg-config)))
8994 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
8995 ("appstream-glib" ,appstream-glib)
8996 ("geoclue" ,geoclue)
8997 ("gdk-pixbuf" ,gdk-pixbuf)
8999 ("gnome-desktop" ,gnome-desktop)
9000 ("libgweather" ,libgweather)))
9004 (modify-phases %standard-phases
9005 (add-after 'install 'fix-desktop-file
9006 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
9007 ;; See https://issues.guix.gnu.org/issue/39324.
9008 (lambda* (#:key outputs #:allow-other-keys)
9009 (let* ((out (assoc-ref outputs "out"))
9010 (applications (string-append out "/share/applications")))
9011 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9012 (("Exec=.*") "Exec=gnome-weather\n"))
9014 (add-after 'install 'wrap
9015 (lambda* (#:key inputs outputs #:allow-other-keys)
9016 (let ((out (assoc-ref outputs "out"))
9017 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9018 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9019 (wrap-program (string-append out "/bin/gnome-weather")
9020 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9022 (synopsis "Weather monitoring for GNOME desktop")
9023 (description "GNOME Weather is a small application that allows you to
9024 monitor the current weather conditions for your city, or anywhere in the
9026 (home-page "https://wiki.gnome.org/Apps/Weather")
9027 (license license:gpl2+)))
9029 (define-public gnome
9032 (version (package-version gnome-shell))
9034 (build-system trivial-build-system)
9035 (arguments '(#:builder (begin (mkdir %output) #t)))
9037 ;; TODO: Add or remove packages according to:
9038 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9040 ;; GNOME-Core-OS-Services
9041 ("accountsservice" ,accountsservice)
9042 ("network-manager" ,network-manager)
9043 ("packagekit" ,packagekit)
9046 ("adwaita-icon-theme" ,adwaita-icon-theme)
9048 ("glib-networking" ,glib-networking)
9049 ("gnome-backgrounds" ,gnome-backgrounds)
9050 ("gnome-bluetooth" ,gnome-bluetooth)
9051 ("gnome-color-manager" ,gnome-color-manager)
9052 ("gnome-control-center" ,gnome-control-center)
9053 ("gnome-desktop" ,gnome-desktop)
9054 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9055 ("gnome-initial-setup" ,gnome-initial-setup)
9056 ("gnome-keyring" ,gnome-keyring)
9057 ("gnome-menus" ,gnome-menus)
9058 ("gnome-session" ,gnome-session)
9059 ("gnome-settings-daemon" ,gnome-settings-daemon)
9060 ("gnome-shell-extensions" ,gnome-shell-extensions)
9061 ("gnome-shell" ,gnome-shell)
9062 ("gnome-themes-extra" ,gnome-themes-extra)
9063 ("gnome-user-docs" ,gnome-user-docs)
9064 ("gnome-user-share" ,gnome-user-share)
9065 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9071 ;; GNOME-Core-Utilities
9074 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9075 ;; only works on x86_64, so exclude it on other architectures.
9076 ,@(if (string-prefix? "x86_64" (%current-system))
9079 ("epiphany" ,epiphany)
9081 ("file-roller" ,file-roller)
9083 ("gnome-boxes" ,gnome-boxes)
9084 ("gnome-calculator" ,gnome-calculator)
9085 ("gnome-calendar" ,gnome-calendar)
9086 ("gnome-characters" ,gnome-characters)
9087 ("gnome-clocks" ,gnome-clocks)
9088 ("gnome-contacts" ,gnome-contacts)
9089 ("gnome-disk-utility" ,gnome-disk-utility)
9090 ("gnome-font-viewer" ,gnome-font-viewer)
9091 ("gnome-maps" ,gnome-maps)
9092 ; TODO: ("gnome-music" ,gnome-music)
9093 ; TODO: ("gnome-photos" ,gnome-photos)
9094 ("gnome-screenshot" ,gnome-screenshot)
9095 ("gnome-system-monitor" ,gnome-system-monitor)
9096 ("gnome-terminal" ,gnome-terminal)
9097 ("gnome-weather" ,gnome-weather)
9098 ("nautilus" ,nautilus)
9099 ("simple-scan" ,simple-scan)
9103 ("hicolor-icon-theme" ,hicolor-icon-theme)
9104 ("gnome-online-accounts" ,gnome-online-accounts)
9106 ;; Packages not part of GNOME proper but that are needed for a good
9107 ;; experience. See <https://bugs.gnu.org/39646>.
9108 ;; XXX: Find out exactly which ones are needed and why.
9109 ("font-cantarell" ,font-cantarell)
9110 ("font-dejavu" ,font-dejavu)
9111 ("at-spi2-core" ,at-spi2-core)
9114 ("desktop-file-utils" ,desktop-file-utils)
9115 ("gnome-default-applications" ,gnome-default-applications)
9116 ("gnome-themes-standard" ,gnome-themes-standard)
9117 ("gst-plugins-base" ,gst-plugins-base)
9118 ("gst-plugins-good" ,gst-plugins-good)
9119 ("gucharmap" ,gucharmap)
9120 ("pinentry-gnome3" ,pinentry-gnome3)
9121 ("pulseaudio" ,pulseaudio)
9122 ("shared-mime-info" ,shared-mime-info)
9123 ("system-config-printer" ,system-config-printer)
9124 ("xdg-user-dirs" ,xdg-user-dirs)
9126 ("zenity" ,zenity)))
9127 (synopsis "The GNU desktop environment")
9128 (home-page "https://www.gnome.org/")
9130 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9131 applications for browsing the web, editing text and images, creating
9132 documents and diagrams, playing media, scanning, and much more.")
9133 (license license:gpl2+)))
9135 (define-public byzanz
9136 ;; The last stable release of Byzanz was in 2011, but there have been many
9137 ;; useful commits made to the Byzanz repository since then that it would be
9138 ;; silly to use such an old release.
9139 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9142 (version (string-append "0.2-1." (string-take commit 7)))
9146 (url "https://git.gnome.org/browse/byzanz")
9148 (file-name (string-append name "-" version "-checkout"))
9151 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9152 (build-system glib-or-gtk-build-system)
9155 (modify-phases %standard-phases
9156 (add-before 'bootstrap 'build-without-Werror
9158 ;; The build system cleverly detects that we're not building from
9159 ;; a release tarball and turns on -Werror for GCC.
9160 ;; Unsurprisingly, there is a warning during compilation that
9161 ;; causes the build to fail unnecessarily, so we remove the flag.
9162 (substitute* '("configure.ac")
9166 `(("autoconf" ,autoconf)
9167 ("automake" ,automake)
9168 ("gnome-common" ,gnome-common)
9169 ("intltool" ,intltool)
9170 ("libtool" ,libtool)
9171 ("pkg-config" ,pkg-config)
9175 ("gstreamer" ,gstreamer)
9176 ("gst-plugins-base" ,gst-plugins-base)
9178 (synopsis "Desktop recording program")
9179 (description "Byzanz is a simple desktop recording program with a
9180 command-line interface. It can record part or all of an X display for a
9181 specified duration and save it as a GIF encoded animated image file.")
9182 (home-page "https://git.gnome.org/browse/byzanz")
9183 (license license:gpl2+))))
9185 (define-public authenticator
9187 (name "authenticator")
9193 (url "https://gitlab.gnome.org/World/Authenticator")
9195 (file-name (git-file-name name version))
9197 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9198 (build-system meson-build-system)
9202 (modify-phases %standard-phases
9203 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9204 (lambda* (#:key inputs outputs #:allow-other-keys)
9205 (let ((prog (string-append (assoc-ref outputs "out")
9206 "/bin/authenticator"))
9207 (pylib (string-append (assoc-ref outputs "out")
9209 ,(version-major+minor
9210 (package-version python))
9213 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9214 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9217 `(("desktop-file-utils" ,desktop-file-utils)
9218 ("gettext" ,gettext-minimal)
9219 ("glib:bin" ,glib "bin")
9220 ("gobject-introspection" ,gobject-introspection)
9221 ("gtk+:bin" ,gtk+ "bin")
9222 ("pkg-config" ,pkg-config)))
9224 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9226 ("libhandy" ,libhandy-0.0)
9227 ("libsecret" ,libsecret)
9228 ("python-beautifulsoup4" ,python-beautifulsoup4)
9229 ("python-pillow" ,python-pillow)
9230 ("python-pyfavicon" ,python-pyfavicon)
9231 ("python-pygobject" ,python-pygobject)
9232 ("python-pyotp" ,python-pyotp)
9233 ("python-pyzbar" ,python-pyzbar)
9234 ("yoyo-migrations" ,yoyo-migrations)
9236 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9237 (synopsis "Two-factor authentication application built for GNOME")
9239 "Authenticator is a two-factor authentication (2FA) application built for
9240 the GNOME desktop environment.
9245 @item QR code scanner
9247 @item Huge database of more than 560 supported services
9248 @item Keep your PIN tokens secure by locking the application with a password
9249 @item Automatically fetch an image for services using their favicon
9250 @item The possibility to add new services
9252 (license license:gpl3+)))
9254 (define-public gsound
9260 (uri (string-append "mirror://gnome/sources/" name "/"
9261 (version-major+minor version) "/"
9262 name "-" version ".tar.xz"))
9265 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9266 (build-system glib-or-gtk-build-system)
9268 `(("pkg-config" ,pkg-config)
9269 ("gobject-introspection" ,gobject-introspection)
9273 ("libcanberra" ,libcanberra)))
9274 (home-page "https://wiki.gnome.org/Projects/GSound")
9275 (synopsis "GObject wrapper for libcanberra")
9277 "GSound is a small library for playing system sounds. It's designed to be
9278 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9280 (license license:lgpl2.1+)))
9282 (define-public libzapojit
9288 (uri (string-append "mirror://gnome/sources/" name "/"
9289 (version-major+minor version) "/"
9290 name "-" version ".tar.xz"))
9293 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9294 (build-system gnu-build-system)
9296 `(("gobject-introspection" ,gobject-introspection)
9297 ("intltool" ,intltool)
9298 ("pkg-config" ,pkg-config)))
9300 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9301 ("json-glib" ,json-glib)
9303 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9304 (synopsis "Library for accessing SkyDrive and Hotmail")
9306 "Libzapojit is a GLib-based library for accessing online service APIs of
9307 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9308 (license license:lgpl2.1+)))
9310 (define-public gnome-clocks
9312 (name "gnome-clocks")
9316 (uri (string-append "mirror://gnome/sources/" name "/"
9317 (version-major+minor version) "/"
9318 name "-" version ".tar.xz"))
9321 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9322 (build-system meson-build-system)
9326 (modify-phases %standard-phases
9327 (add-after 'unpack 'skip-gtk-update-icon-cache
9328 ;; Don't create 'icon-theme.cache'.
9330 (substitute* "build-aux/post-install.py"
9331 (("gtk-update-icon-cache") "true"))
9335 ("pkg-config" ,pkg-config)
9336 ("glib" ,glib "bin") ; for glib-compile-resources
9337 ("desktop-file-utils" ,desktop-file-utils)
9338 ("gettext" ,gettext-minimal)
9339 ("itstool" ,itstool)))
9344 ("geoclue" ,geoclue)
9345 ("geocode-glib" ,geocode-glib)
9346 ("libgweather" ,libgweather)
9347 ("gnome-desktop" ,gnome-desktop)))
9348 (home-page "https://wiki.gnome.org/Apps/Clocks")
9349 (synopsis "GNOME's clock application")
9351 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9352 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9353 (license license:gpl3+)))
9355 (define-public gnome-calendar
9357 (name "gnome-calendar")
9361 (uri (string-append "mirror://gnome/sources/" name "/"
9362 (version-major+minor version) "/"
9363 name "-" version ".tar.xz"))
9366 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9367 (build-system meson-build-system)
9370 ;; gnome-calendar has to be installed before the tests can be run
9371 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9374 (modify-phases %standard-phases
9375 (add-after 'unpack 'skip-gtk-update-icon-cache
9376 ;; Don't create 'icon-theme.cache'.
9378 (substitute* "build-aux/meson/meson_post_install.py"
9379 (("gtk-update-icon-cache") "true"))
9382 `(("gettext" ,gettext-minimal)
9383 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9384 ("pkg-config" ,pkg-config)))
9386 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9387 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9388 ("libdazzle" ,libdazzle)
9389 ("libedataserverui" ,evolution-data-server)
9390 ("libgweather" ,libgweather)
9391 ("geoclue" ,geoclue)))
9393 `(("evolution-data-server" ,evolution-data-server)))
9394 (home-page "https://wiki.gnome.org/Apps/Calendar")
9395 (synopsis "GNOME's calendar application")
9397 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9398 desktop. It supports multiple calendars, month, week and year view.")
9399 (license license:gpl3+)))
9401 (define-public gnome-todo
9407 (uri (string-append "mirror://gnome/sources/" name "/"
9408 (version-major+minor version) "/"
9409 name "-" version ".tar.xz"))
9412 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9414 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9415 (build-system meson-build-system)
9418 #:phases (modify-phases %standard-phases
9420 'install 'wrap-gnome-todo
9421 (lambda* (#:key inputs outputs #:allow-other-keys)
9422 (let ((out (assoc-ref outputs "out"))
9423 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9424 (python-path (getenv "PYTHONPATH")))
9425 (wrap-program (string-append out "/bin/gnome-todo")
9426 ;; XXX: gi plugins are broken.
9427 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9429 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9430 `("PYTHONPATH" ":" prefix (,python-path))))
9433 `(("gettext" ,gettext-minimal)
9434 ("gobject-introspection" ,gobject-introspection)
9435 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9436 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9437 ("pkg-config" ,pkg-config)))
9439 `(("rest" ,rest) ; For Todoist plugin
9440 ("json-glib" ,json-glib) ; For Todoist plugin
9441 ("libedataserverui" ,evolution-data-server)
9442 ("libical" ,libical)
9443 ("libpeas" ,libpeas)
9444 ("python-pygobject" ,python-pygobject)
9445 ("evolution-data-server" ,evolution-data-server)
9446 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9447 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9448 (home-page "https://wiki.gnome.org/Apps/Todo")
9449 (synopsis "GNOME's ToDo Application")
9451 "GNOME To Do is a simplistic personal task manager designed to perfectly
9452 fit the GNOME desktop.")
9453 (license license:gpl3+)))
9455 (define-public gnome-dictionary
9457 (name "gnome-dictionary")
9461 (uri (string-append "mirror://gnome/sources/" name "/"
9462 (version-major+minor version) "/"
9463 name "-" version ".tar.xz"))
9466 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9467 (build-system meson-build-system)
9468 (arguments '(#:glib-or-gtk? #t
9469 #:phases (modify-phases %standard-phases
9470 (add-after 'unpack 'patch-install-script
9472 ;; This script attempts to compile glib schemas
9473 ;; and create an empty MIME database. We do
9474 ;; that elsewhere, so prevent it from running.
9475 (substitute* "build-aux/post-install.sh"
9476 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9479 `(("glib:bin" ,glib "bin")
9480 ("gobject-introspection" ,gobject-introspection)
9481 ("intltool" ,intltool)
9482 ("itstool" ,itstool)
9483 ("pkg-config" ,pkg-config)
9484 ("xmllint" ,libxml2)))
9486 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9488 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9489 (synopsis "Look up words in dictionary sources")
9491 "GNOME Dictionary can look for the definition or translation of a word in
9492 existing databases over the internet.")
9493 (license license:gpl3+)))
9495 (define-public gnome-tweaks
9497 (name "gnome-tweaks")
9501 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9502 (version-major+minor version) "/"
9503 "gnome-tweaks-" version ".tar.xz"))
9505 (list (search-patch "gnome-tweaks-search-paths.patch")))
9508 "19y62dj4n5i6v4zpjllxl51dch6ndy8xs45v5aqmmq9xyfrqk5yq"))))
9509 (build-system meson-build-system)
9512 #:configure-flags '("-Dlocalstatedir=/tmp"
9513 "-Dsysconfdir=/tmp")
9514 #:imported-modules ((guix build python-build-system)
9515 ,@%meson-build-system-modules)
9517 (modify-phases %standard-phases
9518 (add-after 'unpack 'skip-gtk-update-icon-cache
9519 ;; Don't create 'icon-theme.cache'.
9521 (substitute* "meson-postinstall.py"
9522 (("gtk-update-icon-cache") "true"))
9524 (add-after 'install 'wrap
9525 (@@ (guix build python-build-system) wrap))
9526 (add-after 'wrap 'wrap-gi-typelib
9527 (lambda* (#:key inputs outputs #:allow-other-keys)
9528 (let ((out (assoc-ref outputs "out"))
9529 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9530 (wrap-program (string-append out "/bin/gnome-tweaks")
9531 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9534 `(("intltool" ,intltool)
9535 ("pkg-config" ,pkg-config)))
9537 `(("gnome-desktop" ,gnome-desktop)
9539 ("gobject-introspection" ,gobject-introspection)
9540 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9541 ("libhandy" ,libhandy-0.0)
9542 ("libnotify" ,libnotify)
9543 ("libsoup" ,libsoup)
9544 ("nautilus" ,nautilus)
9546 ("python-pygobject" ,python-pygobject)))
9547 (synopsis "Customize advanced GNOME 3 options")
9548 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9550 "GNOME Tweaks allows adjusting advanced configuration settings in
9551 GNOME 3. This includes things like the fonts used in user interface elements,
9552 alternative user interface themes, changes in window management behavior,
9553 GNOME Shell appearance and extension, etc.")
9554 (license license:gpl3+)))
9556 (define-public gnome-shell-extensions
9558 (name "gnome-shell-extensions")
9562 (uri (string-append "mirror://gnome/sources/" name "/"
9563 (version-major+minor version) "/"
9564 name "-" version ".tar.xz"))
9567 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9568 (build-system meson-build-system)
9570 '(#:configure-flags '("-Dextension_set=all")))
9572 `(("glib:bin" ,glib "bin")
9573 ("intltool" ,intltool)
9574 ("pkg-config" ,pkg-config)))
9577 (synopsis "Extensions for GNOME Shell")
9578 (description "GNOME Shell extensions modify and extend GNOME Shell
9579 functionality and behavior.")
9580 (home-page "https://extensions.gnome.org/")
9581 (license license:gpl3+)))
9583 (define-public folks
9590 "mirror://gnome/sources/folks/"
9591 (version-major+minor version) "/"
9592 "folks-" version ".tar.xz"))
9595 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9596 (build-system meson-build-system)
9599 (modify-phases %standard-phases
9600 (add-after 'unpack 'skip-gtk-update-icon-cache
9601 ;; Don't create 'icon-theme.cache'.
9603 (substitute* "meson_post_install.py"
9604 (("gtk-update-icon-cache") "true"))
9608 ("dbus-glib" ,dbus-glib)
9609 ("evolution-data-server" ,evolution-data-server)
9612 ("readline" ,readline)
9613 ("telepathy-glib" ,telepathy-glib)))
9615 `(("glib:bin" ,glib "bin")
9616 ("gobject-introspection" ,gobject-introspection)
9617 ("intltool" ,intltool)
9618 ("pkg-config" ,pkg-config)
9620 (synopsis "Library to aggregate data about people")
9621 (description "Libfolks is a library that aggregates information about people
9622 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9623 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9624 etc.) to create metacontacts. It's written in Vala, which generates C code when
9626 (home-page "https://wiki.gnome.org/Projects/Folks")
9627 (license license:lgpl2.1+)))
9629 (define-public gfbgraph
9636 "mirror://gnome/sources/gfbgraph/"
9637 (version-major+minor version) "/"
9638 "gfbgraph-" version ".tar.xz"))
9641 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9642 (build-system glib-or-gtk-build-system)
9644 `(#:tests? #f ; tests appear to require the network
9645 #:configure-flags '("--disable-static"
9647 "--enable-introspection")))
9649 `(("gobject-introspection" ,gobject-introspection)
9650 ("gtk-doc" ,gtk-doc)
9651 ("pkg-config" ,pkg-config)
9653 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9654 ("autoconf" ,autoconf)
9655 ("automake" ,automake)
9656 ("libtool" ,libtool)
9659 `(("json-glib" ,json-glib)
9660 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9662 (synopsis "GLib/GObject wrapper for the Facebook API")
9663 (description "This library allows you to use the Facebook API from
9664 GLib/GObject code.")
9665 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9666 (license license:lgpl2.1+)))
9668 (define-public libgnomekbd
9670 (name "libgnomekbd")
9674 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9675 (version-major+minor version) "/"
9676 "libgnomekbd-" version ".tar.xz"))
9679 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9680 (build-system gnu-build-system)
9682 `(("pkg-config" ,pkg-config)
9683 ("glib" ,glib "bin")
9684 ("intltool" ,intltool)))
9686 ;; Referred to in .h files and .pc.
9689 ("libxklavier" ,libxklavier)))
9690 (home-page "https://www.gnome.org")
9691 (synopsis "GNOME keyboard configuration library")
9693 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9694 environment, which can notably display keyboard layouts.")
9695 (license license:lgpl2.0+)))
9697 ;;; This package is no longer maintained:
9698 ;;; https://wiki.gnome.org/Attic/LibUnique
9699 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9700 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9701 (define-public libunique
9707 (uri (string-append "mirror://gnome/sources/" name "/"
9708 (version-major+minor version) "/"
9709 name "-" version ".tar.xz"))
9712 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9713 (build-system glib-or-gtk-build-system)
9715 `(#:configure-flags '("--disable-static"
9716 "--disable-dbus" ; use gdbus
9717 "--enable-introspection")))
9719 `(("pkg-config" ,pkg-config)
9720 ("gobject-introspection" ,gobject-introspection)
9721 ("glib:bin" ,glib "bin")
9722 ("gtk-doc" ,gtk-doc)))
9724 ;; Referred to in .h files and .pc.
9726 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9727 (synopsis "Library for writing single instance applications")
9729 "Libunique is a library for writing single instance applications. If you
9730 launch a single instance application twice, the second instance will either just
9731 quit or will send a message to the running instance. Libunique makes it easy to
9732 write this kind of application, by providing a base class, taking care of all
9733 the IPC machinery needed to send messages to a running instance, and also
9734 handling the startup notification side.")
9735 (license license:lgpl2.1+)))
9737 (define-public gnome-calculator
9739 (name "gnome-calculator")
9744 (uri (string-append "mirror://gnome/sources/" name "/"
9745 (version-major+minor version) "/"
9746 name "-" version ".tar.xz"))
9749 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9750 (build-system meson-build-system)
9751 (arguments '(#:glib-or-gtk? #t))
9753 `(("gettext" ,gettext-minimal)
9754 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9755 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9756 ("itstool" ,itstool)
9758 ("pkg-config" ,pkg-config)))
9761 ("gtksourceview" ,gtksourceview)
9763 ("libsoup" ,libsoup)
9764 ("libxml2" ,libxml2)
9767 (home-page "https://wiki.gnome.org/Apps/Calculator")
9768 (synopsis "Desktop calculator")
9770 "Calculator is an application that solves mathematical equations and
9771 is suitable as a default application in a Desktop environment.")
9772 (license license:gpl3)))
9781 (uri (string-append "https://launchpad.net/xpad/trunk/"
9782 version "/+download/"
9783 name "-" version ".tar.bz2"))
9786 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9787 (build-system gnu-build-system)
9789 `(("autoconf" ,autoconf)
9790 ("automake" ,automake)
9791 ("gtk+:bin" ,gtk+ "bin")
9792 ("intltool" ,intltool)
9793 ("pkg-config" ,pkg-config)))
9795 `(("gtksourceview" ,gtksourceview-3)
9797 (home-page "https://wiki.gnome.org/Apps/Xpad")
9798 (synopsis "Virtual sticky note")
9800 "Xpad is a sticky note that strives to be simple, fault tolerant,
9801 and customizable. Xpad consists of independent pad windows, each is
9802 basically a text box in which notes can be written.")
9803 (license license:gpl3+)))
9805 (define-public gucharmap
9806 (let ((unicode-files
9808 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9810 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9812 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9814 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9816 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9818 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9825 (uri (string-append "mirror://gnome/sources/" name "/"
9826 (version-major+minor version) "/"
9827 name "-" version ".tar.xz"))
9830 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9831 (build-system glib-or-gtk-build-system)
9833 `(#:modules ((ice-9 match)
9834 (guix build glib-or-gtk-build-system)
9837 (list "--with-unicode-data=../unicode-data")
9839 (modify-phases %standard-phases
9840 (add-after 'unpack 'prepare-unicode-data
9841 (lambda* (#:key inputs #:allow-other-keys)
9842 (mkdir-p "../unicode-data")
9843 (with-directory-excursion "../unicode-data"
9844 (for-each (match-lambda
9846 (install-file (assoc-ref inputs file) ".")))
9850 `(("desktop-file-utils" ,desktop-file-utils)
9851 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9852 ("gobject-introspection" ,gobject-introspection)
9853 ("intltool" ,intltool)
9854 ("itstool" ,itstool)
9855 ("pkg-config" ,pkg-config)
9856 ,@(map (match-lambda
9862 "http://www.unicode.org/Public/12.0.0/ucd/"
9864 (sha256 (base32 hash))))))
9869 ("xmllint" ,libxml2)))
9870 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9871 (synopsis "Unicode character picker and font browser")
9873 "This program allows you to browse through all the available Unicode
9874 characters and categories for the installed fonts, and to examine their
9875 detailed properties. It is an easy way to find the character you might
9876 only know by its Unicode name or code point.")
9877 (license license:gpl3+))))
9879 (define-public bluefish
9886 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
9887 "bluefish-" version ".tar.gz"))
9889 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
9890 (build-system gnu-build-system)
9892 `(("desktop-file-utils" ,desktop-file-utils)
9893 ("intltool" ,intltool)
9894 ("pkg-config" ,pkg-config)))
9896 `(("enchant" ,enchant)
9898 ("python" ,python-wrapper)
9899 ("xmllint" ,libxml2)
9900 ("gucharmap" ,gucharmap)))
9901 (home-page "http://bluefish.openoffice.nl")
9902 (synopsis "Web development studio")
9904 "Bluefish is an editor aimed at programmers and web developers,
9905 with many options to write web sites, scripts and other code.
9906 Bluefish supports many programming and markup languages.")
9907 (license license:gpl3+)))
9909 (define-public gnome-system-monitor
9911 (name "gnome-system-monitor")
9916 (uri (string-append "mirror://gnome/sources/" name "/"
9917 (version-major+minor version) "/"
9918 name "-" version ".tar.xz"))
9921 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
9922 (build-system meson-build-system)
9925 #:configure-flags '("-Dsystemd=false")))
9927 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
9928 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
9929 ("intltool" ,intltool)
9930 ("itstool" ,itstool)
9931 ("libgtop" ,libgtop)
9933 ("pkg-config" ,pkg-config)))
9935 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
9938 ("librsvg" ,librsvg)
9939 ("libxml2" ,libxml2)
9940 ("libwnck" ,libwnck)))
9941 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
9942 (synopsis "Process viewer and system resource monitor for GNOME")
9944 "GNOME System Monitor is a GNOME process viewer and system monitor with
9945 an attractive, easy-to-use interface. It has features, such as a tree view
9946 for process dependencies, icons for processes, the ability to hide processes,
9947 graphical time histories of CPU/memory/swap usage and the ability to
9948 kill/reinice processes.")
9949 (license license:gpl2+)))
9951 (define-public python-pyatspi
9953 (name "python-pyatspi")
9958 "mirror://gnome/sources/pyatspi/"
9959 (version-major+minor version)
9960 "/pyatspi-" version ".tar.xz"))
9963 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
9964 (build-system gnu-build-system)
9967 (modify-phases %standard-phases
9968 (add-before 'build 'fix-atk-load
9970 (substitute* "pyatspi/__init__.py"
9971 (("from gi.repository import Atspi")
9972 "gi.require_version('Gtk', '3.0')
9973 from gi.repository import Gtk
9974 from gi.repository import Atspi"))
9977 `(("pkg-config" ,pkg-config)))
9979 `(("python" ,python)))
9981 `(("python-pygobject" ,python-pygobject)))
9982 (synopsis "Python client bindings for D-Bus AT-SPI")
9983 (home-page "https://wiki.linuxfoundation.org/accessibility\
9984 /atk/at-spi/at-spi_on_d-bus")
9986 "This package includes a python client library for the AT-SPI D-Bus
9987 accessibility infrastructure.")
9988 (license license:lgpl2.0)
9989 (properties '((upstream-name . "pyatspi")))))
9991 (define-public python2-pyatspi
9993 (inherit python-pyatspi)
9994 (name "python2-pyatspi")
9996 `(("python" ,python-2)))
9998 `(("python-pygobject" ,python2-pygobject)))))
10000 (define-public orca
10006 (uri (string-append
10007 "mirror://gnome/sources/" name "/"
10008 (version-major+minor version) "/"
10009 name "-" version ".tar.xz"))
10012 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10013 (build-system glib-or-gtk-build-system)
10016 (modify-phases %standard-phases
10017 (add-before 'configure 'qualify-xkbcomp
10018 (lambda* (#:key inputs #:allow-other-keys)
10019 (let ((xkbcomp (string-append
10020 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10021 (substitute* "src/orca/orca.py"
10022 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10024 (add-after 'install 'wrap-orca
10025 (lambda* (#:key outputs #:allow-other-keys)
10026 (let* ((out (assoc-ref outputs "out"))
10027 (prog (string-append out "/bin/orca")))
10029 `("GI_TYPELIB_PATH" ":" prefix
10030 (,(getenv "GI_TYPELIB_PATH")))
10031 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10032 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10033 `("PYTHONPATH" ":" prefix
10034 (,(getenv "PYTHONPATH")))))
10037 `(("intltool" ,intltool)
10038 ("itstool" ,itstool)
10039 ("pkg-config" ,pkg-config)
10040 ("xmllint" ,libxml2)))
10042 `(("at-spi2-atk" ,at-spi2-atk)
10043 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10044 ("gstreamer" ,gstreamer)
10045 ("gst-plugins-base" ,gst-plugins-base)
10046 ("gst-plugins-good" ,gst-plugins-good)
10049 ("python-pygobject" ,python-pygobject)
10050 ("python-pyatspi" ,python-pyatspi)
10051 ("python-speechd" ,speech-dispatcher)
10052 ("xkbcomp" ,xkbcomp)))
10054 "Screen reader for individuals who are blind or visually impaired")
10055 (home-page "https://wiki.gnome.org/Projects/Orca")
10057 "Orca is a screen reader that provides access to the graphical desktop
10058 via speech and refreshable braille. Orca works with applications and toolkits
10059 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10060 (license license:lgpl2.1+)))
10062 (define-public gspell
10068 (uri (string-append "mirror://gnome/sources/" name "/"
10069 (version-major+minor version) "/"
10070 name "-" version ".tar.xz"))
10073 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10074 (patches (search-patches "gspell-dash-test.patch"))))
10075 (build-system glib-or-gtk-build-system)
10077 '(#:configure-flags (list "--enable-vala")
10079 (modify-phases %standard-phases
10080 (add-before 'check 'pre-check
10081 (lambda* (#:key inputs #:allow-other-keys)
10082 ;; Tests require a running X server.
10083 (system "Xvfb :1 &")
10084 (setenv "DISPLAY" ":1")
10086 ;; For the missing /etc/machine-id.
10087 (setenv "DBUS_FATAL_WARNINGS" "0")
10089 ;; Allow Enchant and its Aspell backend to find the en_US
10091 (setenv "ASPELL_DICT_DIR"
10092 (string-append (assoc-ref inputs "aspell-dict-en")
10098 ("iso-codes" ,iso-codes)))
10100 `(("glib" ,glib "bin")
10101 ("gobject-introspection" ,gobject-introspection)
10102 ("pkg-config" ,pkg-config)
10103 ("vala" ,vala) ;for VAPI, needed by Geary
10104 ("xmllint" ,libxml2)
10107 ("aspell-dict-en" ,aspell-dict-en)
10108 ("xorg-server" ,xorg-server-for-tests)))
10110 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10111 (home-page "https://wiki.gnome.org/Projects/gspell")
10112 (synopsis "GNOME's alternative spell checker")
10114 "gspell provides a flexible API to add spell-checking to a GTK+
10115 application. It provides a GObject API, spell-checking to text entries and
10116 text views, and buttons to choose the language.")
10117 (license license:gpl2+)))
10119 (define-public gnome-planner
10121 (name "gnome-planner")
10125 (uri (string-append "mirror://gnome/sources/planner/"
10126 (version-major+minor version) "/planner-"
10127 version ".tar.xz"))
10130 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10131 (build-system glib-or-gtk-build-system)
10133 ;; Disable the Python bindings because the Planner program functions
10134 ;; without them, and (as of 2017-06-13) we have not packaged all of
10135 ;; packages that are necessary for building the Python bindings.
10136 `(#:configure-flags
10137 (list "--disable-python"
10138 ,@(if (string=? "aarch64-linux" (%current-system))
10139 '("--build=aarch64-unknown-linux-gnu")
10142 `(("libgnomecanvas" ,libgnomecanvas)
10143 ("libgnomeui" ,libgnomeui)
10144 ("libglade" ,libglade)
10145 ("gnome-vfs" ,gnome-vfs)
10147 ("libxml2" ,libxml2)
10148 ("libxslt" ,libxslt)
10152 `(("intltool" ,intltool)
10153 ("scrollkeeper" ,scrollkeeper)
10154 ("pkg-config" ,pkg-config)))
10155 (home-page "https://wiki.gnome.org/Apps/Planner")
10156 (synopsis "Project management software for the GNOME desktop")
10158 "GNOME Planner is a project management tool based on the Work Breakdown
10159 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10160 the resources, tasks, and constraints that you define, Planner generates
10161 various views into a project. For example, Planner can show a Gantt chart of
10162 the project. It can show a detailed summary of tasks including their
10163 duration, cost, and current progress. It can also show a report of resource
10164 utilization that highlights under-utilized and over-utilized resources. These
10165 views can be printed as PDF or PostScript files, or exported to HTML.")
10166 (license license:gpl2+)))
10168 (define-public lollypop
10175 (uri (string-append "https://adishatz.org/lollypop/"
10176 "lollypop-" version ".tar.xz"))
10178 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10179 (build-system meson-build-system)
10181 `(#:imported-modules
10182 (,@%meson-build-system-modules
10183 (guix build python-build-system))
10185 ((guix build meson-build-system)
10186 ((guix build python-build-system) #:prefix python:)
10187 (guix build utils))
10189 #:tests? #f ; no test suite
10191 (modify-phases %standard-phases
10192 (add-after 'install 'wrap-program
10193 (lambda* (#:key outputs #:allow-other-keys)
10194 (let ((out (assoc-ref outputs "out"))
10195 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10196 (wrap-program (string-append out "/bin/lollypop")
10197 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10199 (add-after 'install 'wrap-python
10200 (assoc-ref python:%standard-phases 'wrap)))))
10202 `(("intltool" ,intltool)
10203 ("itstool" ,itstool)
10204 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10205 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10206 ("pkg-config" ,pkg-config)))
10208 `(("glib-networking" ,glib-networking)
10209 ("gobject-introspection" ,gobject-introspection)
10210 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10211 ("gst-plugins-base" ,gst-plugins-base)
10212 ("libnotify" ,libnotify)
10213 ("libsecret" ,libsecret)
10214 ("libhandy" ,libhandy)
10215 ("libsoup" ,libsoup)
10217 ("python-beautifulsoup4" ,python-beautifulsoup4)
10218 ("python-gst" ,python-gst)
10219 ("python-pil" ,python-pillow)
10220 ("python-pycairo" ,python-pycairo)
10221 ("python-pygobject" ,python-pygobject)
10222 ("python-pylast" ,python-pylast)
10223 ("totem-pl-parser" ,totem-pl-parser)
10224 ("webkitgtk" ,webkitgtk)))
10226 `(;; gst-plugins-base is required to start Lollypop,
10227 ;; the others are required to play streaming.
10228 ("gst-plugins-good" ,gst-plugins-good)
10229 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10230 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10231 (synopsis "GNOME music playing application")
10233 "Lollypop is a music player designed to play well with GNOME desktop.
10234 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10235 from artists and tracks from the web. It also fetches cover artworks
10236 automatically and it can stream songs from online music services and charts.")
10237 (license license:gpl3+)))
10239 (define-public gnome-video-effects
10241 (name "gnome-video-effects")
10245 (uri (string-append "mirror://gnome/sources/" name "/"
10246 (version-major+minor version) "/" name "-"
10247 version ".tar.xz"))
10250 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10251 (build-system meson-build-system)
10253 `(("gettext" ,gettext-minimal)
10254 ("pkg-config" ,pkg-config)))
10255 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10256 (synopsis "Video effects for Cheese and other GNOME applications")
10258 "A collection of GStreamer video filters and effects to be used in
10259 photo-booth-like software, such as Cheese.")
10260 (license license:gpl2+)))
10262 (define-public cheese
10268 (uri (string-append "mirror://gnome/sources/" name "/"
10269 (version-major+minor version) "/" name "-"
10270 version ".tar.xz"))
10273 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10275 `(#:glib-or-gtk? #t
10276 ;; Tests require GDK.
10279 (modify-phases %standard-phases
10280 (add-after 'unpack 'skip-gtk-update-icon-cache
10282 ;; Don't create 'icon-theme.cache'
10283 (substitute* "meson_post_install.py"
10284 (("gtk-update-icon-cache") (which "true")))
10286 (add-after 'unpack 'patch-docbook-xml
10287 (lambda* (#:key inputs #:allow-other-keys)
10288 ;; Avoid a network connection attempt during the build.
10289 (substitute* '("docs/reference/cheese.xml"
10290 "docs/reference/cheese-docs.xml")
10291 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10292 (string-append (assoc-ref inputs "docbook-xml")
10293 "/xml/dtd/docbook/docbookx.dtd")))
10295 (add-after 'install 'wrap-cheese
10296 (lambda* (#:key inputs outputs #:allow-other-keys)
10297 (let ((out (assoc-ref outputs "out"))
10298 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10299 (wrap-program (string-append out "/bin/cheese")
10300 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10302 (build-system meson-build-system)
10304 `(("docbook-xsl" ,docbook-xsl)
10305 ("docbook-xml" ,docbook-xml-4.3)
10306 ("gettext" ,gettext-minimal)
10307 ("glib:bin" ,glib "bin")
10308 ("gtk-doc" ,gtk-doc)
10309 ("itstool" ,itstool)
10310 ("libxml2" ,libxml2)
10311 ("libxslt" ,libxslt)
10312 ("pkg-config" ,pkg-config)
10315 `(("gnome-video-effects" ,gnome-video-effects)
10316 ("clutter" ,clutter)
10317 ("clutter-gst" ,clutter-gst)
10318 ("clutter-gtk" ,clutter-gtk)
10319 ("libcanberra" ,libcanberra)
10320 ("gdk-pixbuf" ,gdk-pixbuf)
10322 ("gstreamer" ,gstreamer)))
10324 `(("gnome-desktop" ,gnome-desktop)
10325 ("gobject-introspection" ,gobject-introspection)
10326 ("gst-plugins-base" ,gst-plugins-base)
10327 ("gst-plugins-bad" ,gst-plugins-bad)
10330 ("libxtst" ,libxtst)))
10331 (home-page "https://wiki.gnome.org/Apps/Cheese")
10332 (synopsis "Webcam photo booth software for GNOME")
10334 "Cheese uses your webcam to take photos and videos. Cheese can also
10335 apply fancy special effects and lets you share the fun with others.")
10336 (license license:gpl2+)))
10338 (define-public passwordsafe
10340 (name "passwordsafe")
10345 (uri (git-reference
10346 (url "https://gitlab.gnome.org/World/PasswordSafe")
10348 (file-name (git-file-name name version))
10350 (base32 "0pi2l4gwf8paxm858mxrcsk5nr0c0zw5ycax40mghndb6b1qmmhf"))))
10351 (build-system meson-build-system)
10353 `(#:glib-or-gtk? #t
10355 (modify-phases %standard-phases
10356 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10357 (lambda* (#:key outputs #:allow-other-keys)
10358 (let ((prog (string-append (assoc-ref outputs "out")
10359 "/bin/gnome-passwordsafe"))
10360 (pylib (string-append (assoc-ref outputs "out")
10362 ,(version-major+minor
10363 (package-version python))
10364 "/site-packages")))
10366 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10367 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10370 `(("desktop-file-utils" ,desktop-file-utils)
10371 ("gettext" ,gettext-minimal)
10372 ("glib:bin" ,glib "bin")
10373 ("gobject-introspection" ,gobject-introspection)
10374 ("gtk+:bin" ,gtk+ "bin")
10375 ("pkg-config" ,pkg-config)))
10378 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10380 ("libhandy" ,libhandy-0.0)
10381 ("libpwquality" ,libpwquality)
10382 ("python-pygobject" ,python-pygobject)
10383 ("python-pykeepass" ,python-pykeepass)))
10384 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10385 (synopsis "Password manager for the GNOME desktop")
10387 "Password Safe is a password manager which makes use of the KeePass v4
10388 format. It integrates perfectly with the GNOME desktop and provides an easy
10389 and uncluttered interface for the management of password databases.")
10390 (license license:gpl3+)))
10392 (define-public sound-juicer
10394 (name "sound-juicer")
10399 (uri (string-append "mirror://gnome/sources/" name "/"
10400 (version-major+minor version) "/"
10401 name "-" version ".tar.xz"))
10404 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10405 (build-system glib-or-gtk-build-system)
10407 `(("desktop-file-utils" ,desktop-file-utils)
10408 ("intltool" ,intltool)
10409 ("itstool" ,itstool)
10410 ("pkg-config" ,pkg-config)
10411 ("xmllint" ,libxml2)))
10414 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10415 ("gstreamer" ,gstreamer)
10416 ("gst-plugins-base" ,gst-plugins-base)
10417 ("gst-plugins-good" ,gst-plugins-good)
10418 ("iso-codes" ,iso-codes)
10419 ("libbrasero-media3" ,brasero)
10420 ("libcanberra" ,libcanberra)
10421 ("libdiscid" ,libdiscid)
10422 ("libmusicbrainz" ,libmusicbrainz)
10424 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10425 (synopsis "Audio music cd ripper")
10426 (description "Sound Juicer extracts audio from compact discs and convert it
10427 into audio files that a personal computer or digital audio player can play.
10428 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10429 mp3, Ogg Vorbis and FLAC")
10430 (license license:gpl2+)))
10432 (define-public soundconverter
10434 (name "soundconverter")
10439 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10440 version "/+download/"
10441 "soundconverter-" version ".tar.xz"))
10444 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10445 (build-system glib-or-gtk-build-system)
10447 `(#:imported-modules ((guix build python-build-system)
10448 (guix build glib-or-gtk-build-system)
10449 ,@%gnu-build-system-modules)
10451 #:modules ((guix build glib-or-gtk-build-system)
10453 ((guix build gnu-build-system) #:prefix gnu:)
10454 ((guix build python-build-system) #:prefix python:))
10457 (modify-phases %standard-phases
10458 (add-after 'install 'wrap-soundconverter-for-python
10459 (assoc-ref python:%standard-phases 'wrap))
10460 (add-after 'install 'wrap-soundconverter
10461 (lambda* (#:key inputs outputs #:allow-other-keys)
10462 (let ((out (assoc-ref outputs "out"))
10463 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10464 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10465 (wrap-program (string-append out "/bin/soundconverter")
10466 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10467 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10470 `(("intltool" ,intltool)
10471 ("pkg-config" ,pkg-config)
10472 ("glib:bin" ,glib "bin")))
10476 ("python-pygobject" ,python-pygobject)
10477 ("gstreamer" ,gstreamer)
10478 ("gst-plugins-base" ,gst-plugins-base)))
10479 (home-page "https://soundconverter.org/")
10480 (synopsis "Convert between audio formats with a graphical interface")
10482 "SoundConverter supports converting between many audio formats including
10483 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10484 configurable file renaming. ")
10485 (license license:gpl3)))
10487 (define-public workrave
10490 (version "1.10.42")
10494 (uri (git-reference
10495 (url "https://github.com/rcaelers/workrave")
10496 (commit (string-append "v" (string-map
10497 (match-lambda (#\. #\_) (chr chr))
10499 (file-name (git-file-name name version))
10501 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10502 (build-system glib-or-gtk-build-system)
10504 ;; The only tests are maintainer tests (in po/), which fail.
10506 (inputs `(("glib" ,glib)
10508 ("gdk-pixbuf" ,gdk-pixbuf)
10512 ("libxtst" ,libxtst)
10516 ("libxscrnsaver" ,libxscrnsaver)))
10517 (native-inputs `(("boost" ,boost)
10518 ("pkg-config" ,pkg-config)
10519 ("gettext" ,gettext-minimal)
10520 ("autoconf" ,autoconf)
10521 ("autoconf-archive" , autoconf-archive)
10522 ("automake" ,automake)
10523 ("libtool" ,libtool)
10524 ("intltool" ,intltool)
10525 ("gobject-introspection" ,gobject-introspection)
10526 ("python3" ,python-3)
10527 ("python-jinja2" ,python-jinja2)))
10528 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10530 "Workrave is a program that assists in the recovery and prevention of
10531 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10532 micro-pauses and rest breaks, and restricts you to your daily limit.")
10533 (home-page "http://www.workrave.org")
10534 (license license:gpl3+)))
10536 (define-public ghex
10542 (uri (string-append "mirror://gnome/sources/ghex/"
10543 (version-major+minor version) "/"
10544 "ghex-" version ".tar.xz"))
10547 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10548 (build-system meson-build-system)
10550 '(#:glib-or-gtk? #t
10552 (modify-phases %standard-phases
10553 (add-after 'unpack 'skip-gtk-update-icon-cache
10554 ;; Don't create 'icon-theme.cache'.
10556 (substitute* "meson_post_install.py"
10557 (("gtk-update-icon-cache") (which "true")))
10560 `(("pkg-config" ,pkg-config)
10561 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10562 ("gnome-common" ,gnome-common)
10564 ("intltool" ,intltool)
10565 ("yelp-tools" ,yelp-tools)
10566 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10570 (synopsis "GNOME hexadecimal editor")
10571 (description "The GHex program can view and edit files in two ways:
10572 hexadecimal or ASCII. It is useful for editing binary files in general.")
10573 (home-page "https://wiki.gnome.org/Apps/Ghex")
10574 (license license:gpl2)))
10576 (define-public libdazzle
10582 (uri (string-append "mirror://gnome/sources/libdazzle/"
10583 (version-major+minor version) "/"
10584 "libdazzle-" version ".tar.xz"))
10587 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10588 (build-system meson-build-system)
10591 (modify-phases %standard-phases
10592 (add-before 'check 'pre-check
10594 ;; Tests require a running X server.
10595 (system "Xvfb :1 &")
10596 (setenv "DISPLAY" ":1")
10599 `(("glib" ,glib "bin") ; glib-compile-resources
10600 ("pkg-config" ,pkg-config)
10602 ("xorg-server" ,xorg-server-for-tests)))
10605 ("gobject-introspection" ,gobject-introspection)
10608 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10609 (synopsis "Companion library to GObject and Gtk+")
10610 (description "The libdazzle library is a companion library to GObject and
10611 Gtk+. It provides various features that the authors wish were in the
10612 underlying library but cannot for various reasons. In most cases, they are
10613 wildly out of scope for those libraries. In other cases, they are not quite
10614 generic enough to work for everyone.")
10615 (license license:gpl3+)))
10617 (define-public evolution
10623 (uri (string-append "mirror://gnome/sources/evolution/"
10624 (version-major+minor version) "/"
10625 "evolution-" version ".tar.xz"))
10628 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
10629 (build-system cmake-build-system)
10631 `(#:imported-modules (,@%cmake-build-system-modules
10632 (guix build glib-or-gtk-build-system))
10633 #:modules ((guix build cmake-build-system)
10634 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10635 (guix build utils))
10637 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10638 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10639 ; in four years and cannot be built.
10641 (modify-phases %standard-phases
10642 ;; The build system attempts to install user interface modules to the
10643 ;; output directory of the "evolution-data-server" package. This
10644 ;; change redirects that change.
10645 (add-after 'unpack 'patch-ui-module-dir
10646 (lambda* (#:key outputs #:allow-other-keys)
10647 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10648 (("\\$\\{edsuimoduledir\\}")
10649 (string-append (assoc-ref outputs "out")
10650 "/lib/evolution-data-server/ui-modules")))
10652 (add-after 'install 'glib-or-gtk-compile-schemas
10653 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10654 (add-after 'install 'glib-or-gtk-wrap
10655 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10657 `(("glib" ,glib "bin") ; glib-mkenums
10658 ("pkg-config" ,pkg-config)
10659 ("intltool" ,intltool)
10660 ("itstool" ,itstool)))
10662 `(("enchant" ,enchant)
10663 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10665 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10666 ("gnome-autoar" ,gnome-autoar)
10667 ("gnome-desktop" ,gnome-desktop)
10669 ("highlight" ,highlight)
10670 ("libcanberra" ,libcanberra)
10671 ("libgweather" ,libgweather)
10672 ("libnotify" ,libnotify)
10673 ("libsoup" ,libsoup)
10675 ("openldap" ,openldap)
10676 ("webkitgtk" ,webkitgtk)
10678 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10679 (synopsis "Manage your email, contacts and schedule")
10680 (description "Evolution is a personal information management application
10681 that provides integrated mail, calendaring and address book
10683 ;; See COPYING for details.
10684 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10685 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10686 license:lgpl2.1+)))) ; smime/lib/*
10688 (define-public gthumb
10694 (uri (string-append "mirror://gnome/sources/gthumb/"
10695 (version-major+minor version) "/"
10696 "gthumb-" version ".tar.xz"))
10699 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
10700 (build-system meson-build-system)
10702 `(#:glib-or-gtk? #t
10704 ;; Ensure the RUNPATH contains all installed library locations.
10705 (list (string-append "-Dc_link_args=-Wl,-rpath="
10706 (assoc-ref %outputs "out")
10707 "/lib/gthumb/extensions")
10708 (string-append "-Dcpp_link_args=-Wl,-rpath="
10709 (assoc-ref %outputs "out")
10710 "/lib/gthumb/extensions"))))
10712 `(("pkg-config" ,pkg-config)
10713 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10714 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10715 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10716 ("intltool" ,intltool)
10717 ("itstool" ,itstool)))
10721 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10722 ("gstreamer" ,gstreamer)
10723 ("clutter" ,clutter)
10724 ("clutter-gst" ,clutter-gst)
10725 ("clutter-gtk" ,clutter-gtk)
10726 ("libjpeg" ,libjpeg-turbo)
10727 ("libtiff" ,libtiff)
10728 ("libraw" ,libraw)))
10729 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10730 (synopsis "GNOME image viewer and browser")
10731 (description "GThumb is an image viewer, browser, organizer, editor and
10732 advanced image management tool")
10733 (license license:gpl2+)))
10735 (define-public terminator
10737 (name "terminator")
10741 (uri (string-append "https://github.com/gnome-" name "/" name "/"
10742 "releases/download/v" version "/"
10743 name "-" version ".tar.gz"))
10746 "1wbkfp0nk6x9bcwi681zy30qmrp4h754sdz6b7hi9j22mmvdd50z"))))
10747 (build-system python-build-system)
10749 `(("gettext" ,gettext-minimal)
10750 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10751 ("gobject-introspection" ,gobject-introspection)
10752 ("intltool" ,intltool)
10753 ("pkg-config" ,pkg-config)
10754 ("python-psutil" ,python-psutil)
10755 ("python-pytest-runner" ,python-pytest-runner)
10756 ("python-pytest" ,python-pytest)))
10759 ("dbus-glib" ,dbus-glib)
10760 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10762 ("python-pycairo" ,python-pycairo)
10763 ("python-pygobject" ,python-pygobject)
10766 `(("python-configobj" ,python-configobj)))
10768 `(#:imported-modules ((guix build glib-or-gtk-build-system)
10769 ,@%python-build-system-modules)
10770 #:modules ((guix build python-build-system)
10771 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10772 (guix build utils))
10774 (modify-phases %standard-phases
10776 'install 'wrap-program
10777 (lambda* (#:key outputs #:allow-other-keys)
10778 (let ((prog (string-append (assoc-ref outputs "out")
10779 "/bin/terminator"))
10780 (pylib (string-append (assoc-ref outputs "out")
10782 ,(version-major+minor
10783 (package-version python))
10784 "/site-packages")))
10786 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10787 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10789 (add-after 'wrap-program 'glib-or-gtk-wrap
10790 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10791 (home-page "https://gnome-terminator.org/")
10792 (synopsis "Store and run multiple GNOME terminals in one window")
10794 "Terminator allows you to run multiple GNOME terminals in a grid and
10795 tabs, and it supports drag and drop re-ordering of terminals.")
10796 (license license:gpl2)))
10798 (define-public libhandy
10805 (uri (git-reference
10806 (url "https://gitlab.gnome.org/GNOME/libhandy")
10808 (file-name (git-file-name name version))
10810 (base32 "0flgwlm921801i3ns0dwqpnxl89f3rzn4y9h723i13bmflch3in7"))))
10811 (build-system meson-build-system)
10813 `(#:configure-flags
10814 '("-Dglade_catalog=enabled"
10817 (modify-phases %standard-phases
10818 (add-before 'check 'pre-check
10820 ;; Tests require a running X server.
10821 (system "Xvfb :1 &")
10822 (setenv "DISPLAY" ":1")
10827 ("libxml2" ,libxml2)))
10829 `(("glib:bin" ,glib "bin")
10830 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10832 ("gtk-doc" ,gtk-doc)
10833 ("pkg-config" ,pkg-config)
10834 ("gettext" ,gettext-minimal)
10836 ;; Test suite dependencies.
10837 ("xorg-server" ,xorg-server-for-tests)
10838 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10839 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
10840 (synopsis "Library full of GTK+ widgets for mobile phones")
10841 (description "The aim of the handy library is to help with developing user
10842 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
10843 for usage on small and big screens.")
10844 (license license:lgpl2.1+)))
10846 (define-public libhandy-0.0
10853 (uri (git-reference
10854 (url "https://gitlab.gnome.org/GNOME/libhandy")
10855 (commit (string-append "v" version))))
10856 (file-name (git-file-name "libhandy" version))
10858 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
10860 (substitute-keyword-arguments (package-arguments libhandy)
10861 ((#:configure-flags flags)
10862 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
10864 (define-public libgit2-glib
10866 (name "libgit2-glib")
10867 (version "0.99.0.1")
10870 (uri (string-append "mirror://gnome/sources/" name "/"
10871 (version-major+minor version) "/"
10872 name "-" version ".tar.xz"))
10875 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
10876 (build-system meson-build-system)
10878 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
10879 ("gobject-introspection" ,gobject-introspection)
10880 ("pkg-config" ,pkg-config)
10881 ("python-pygobject" ,python-pygobject)
10882 ("python-wrapper" ,python-wrapper)
10886 ("libssh2" ,libssh2)))
10888 `(;; In Requires of libgit2-glib.pc.
10889 ("libgit2" ,libgit2)))
10890 (synopsis "GLib wrapper around the libgit2 Git access library")
10891 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
10892 access library. It only implements the core plumbing functions, not really the
10893 higher level porcelain stuff.")
10894 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
10895 (license license:gpl2+)))
10897 (define-public gitg
10903 (uri (string-append "mirror://gnome/sources/" name "/"
10904 (version-major+minor version) "/"
10905 name "-" version ".tar.xz"))
10908 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
10909 (build-system meson-build-system)
10911 `(#:glib-or-gtk? #t
10913 (modify-phases %standard-phases
10914 (add-after 'unpack 'disable-post-install-partially
10916 (substitute* "meson_post_install.py"
10917 (("'python'") ; there are no python sources to compile
10918 (string-append "'" (which "true") "'"))
10919 (("gtk-update-icon-cache") (which "true")))
10921 (add-after 'unpack 'fix-test-sources
10923 (substitute* "tests/libgitg/test-commit.vala"
10924 (("/bin/bash") (which "bash")))
10926 (add-after 'glib-or-gtk-wrap 'wrap-typelib
10927 (lambda* (#:key outputs #:allow-other-keys)
10928 (let ((prog (string-append (assoc-ref outputs "out")
10931 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10935 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10937 ("gtkspell3" ,gtkspell3)
10938 ("gtksourceview" ,gtksourceview-3)
10939 ("json-glib" ,json-glib)
10940 ("libdazzle" ,libdazzle)
10942 ("libgit2-glib" ,libgit2-glib)
10943 ("libpeas" ,libpeas)
10944 ("libsecret" ,libsecret)
10945 ("libsoup" ,libsoup)
10946 ("libxml2" ,libxml2)))
10948 `(("glib:bin" ,glib "bin")
10949 ("gtk+:bin" ,gtk+ "bin")
10950 ("gobject-introspection" ,gobject-introspection)
10951 ("intltool" ,intltool)
10952 ("pkg-config" ,pkg-config)
10954 (synopsis "Graphical user interface for git")
10956 "gitg is a graphical user interface for git. It aims at being a small,
10957 fast and convenient tool to visualize the history of git repositories.
10958 Besides visualization, gitg also provides several utilities to manage your
10959 repository and commit your work.")
10960 (home-page "https://wiki.gnome.org/Apps/Gitg")
10961 (license license:gpl2+)))
10963 (define-public gamin
10969 (uri (string-append "mirror://gnome/sources/" name "/"
10970 (version-major+minor version) "/"
10971 name "-" version ".tar.bz2"))
10974 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
10975 (build-system gnu-build-system)
10978 (modify-phases %standard-phases
10979 (add-after 'unpack 'remove-deprecated-macro
10981 (substitute* '("server/gam_node.c"
10982 "server/gam_subscription.h"
10983 "server/gam_node.h"
10984 "server/gam_subscription.c")
10985 (("G_CONST_RETURN") "const"))
10990 `(("intltool" ,intltool)
10991 ("pkg-config" ,pkg-config)))
10992 (home-page "https://people.gnome.org/~veillard/gamin/")
10993 (synopsis "File alteration monitor")
10995 "Gamin is a file and directory monitoring system defined to be a subset
10996 of the FAM (File Alteration Monitor) system. This is a service provided by a
10997 library which detects when a file or a directory has been modified.")
10998 (license license:gpl2+)))
11000 (define-public gnome-mahjongg
11002 (name "gnome-mahjongg")
11006 (uri (git-reference
11007 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11009 (file-name (git-file-name name version))
11012 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11013 (build-system meson-build-system)
11015 `(#:glib-or-gtk? #t))
11017 `(("appstream-glib" ,appstream-glib)
11018 ("gettext" ,gettext-minimal)
11019 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11020 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11021 ("itstool" ,itstool)
11022 ("pkg-config" ,pkg-config)
11025 `(("dconf" ,dconf)))
11029 ("librsvg" ,librsvg)))
11030 (synopsis "Mahjongg tile-matching game")
11031 (description "GNOME Mahjongg is a game based on the classic Chinese
11032 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11033 and a high score table.")
11034 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11035 (license license:gpl2+)))
11037 (define-public gnome-themes-extra
11039 (name "gnome-themes-extra")
11044 (uri (string-append "mirror://gnome/sources/" name "/"
11045 (version-major+minor version) "/" name "-"
11046 version ".tar.xz"))
11049 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11050 (build-system gnu-build-system)
11052 '(#:configure-flags
11053 ;; Don't create 'icon-theme.cache'.
11054 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11055 (true (string-append coreutils "/bin/true")))
11056 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11058 `(("glib:bin" ,glib "bin")
11059 ("intltool" ,intltool)
11060 ("pkg-config" ,pkg-config)))
11065 ("librsvg" ,librsvg)
11066 ("libxml2" ,libxml2)))
11067 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11068 (synopsis "GNOME Extra Themes")
11069 (description "This package provides themes and related elements that don't
11070 really fit in other upstream packages. It offers legacy support for GTK+ 2
11071 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11072 index files needed for Adwaita to be used outside of GNOME.")
11073 (license license:lgpl2.1+)))
11075 (define-public gnote
11082 (uri (string-append "mirror://gnome/sources/" name "/"
11083 (version-major+minor version) "/"
11084 "gnote-" version ".tar.xz"))
11086 (base32 "1ingbaw4d8vpjn083xvzqw7kz8z0k2bx7msk78pbzd68bwgkadpx"))))
11087 (build-system glib-or-gtk-build-system)
11089 `(("desktop-file-utils" ,desktop-file-utils)
11090 ("glib:bin" ,glib "bin")
11091 ("gobject-introspection" ,gobject-introspection)
11092 ("intltool" ,intltool)
11093 ("itstool" ,itstool)
11094 ("pkg-config" ,pkg-config)
11095 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11097 `(("glibmm" ,glibmm)
11098 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11102 ("libsecret" ,libsecret)
11103 ("libuuid" ,util-linux "lib")
11104 ("libxml2" ,libxml2)
11105 ("libxslt" ,libxslt)))
11106 (synopsis "Note-taking application for the GNOME desktop")
11108 "Gnote is a note-taking application written for the GNOME desktop
11110 (home-page "https://wiki.gnome.org/Apps/Gnote")
11111 (license license:gpl3+)))
11113 (define-public polari
11119 (uri (string-append "mirror://gnome/sources/polari/"
11120 (version-major+minor version)
11121 "/polari-" version ".tar.xz"))
11124 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11125 (build-system meson-build-system)
11127 `(#:glib-or-gtk? #t
11129 (modify-phases %standard-phases
11130 (add-after 'unpack 'skip-gtk-update-icon-cache
11132 (substitute* "meson/meson-postinstall.sh"
11133 (("gtk-update-icon-cache") (which "true")))
11135 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11136 (lambda* (#:key outputs #:allow-other-keys)
11137 (let ((prog (string-append (assoc-ref outputs "out")
11140 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11144 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11148 ("libsecret" ,libsecret)
11149 ("libsoup" ,libsoup)
11150 ("telepathy-glib" ,telepathy-glib)
11151 ("telepathy-logger" ,telepathy-logger)))
11153 `(("glib:bin" ,glib "bin")
11154 ("gobject-introspection" ,gobject-introspection)
11155 ("intltool" ,intltool)
11156 ("pkg-config" ,pkg-config)
11157 ("yelp-tools" ,yelp-tools)))
11159 `(("telepathy-idle" ,telepathy-idle)
11160 ("telepathy-mission-control" ,telepathy-mission-control)))
11161 (synopsis "Simple IRC Client")
11163 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11164 integrate seamlessly with the GNOME desktop.")
11165 (home-page "https://wiki.gnome.org/Apps/Polari")
11166 (license license:gpl2+)))
11168 (define-public gnome-boxes
11170 (name "gnome-boxes")
11175 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11176 (version-major+minor version) "/"
11177 "gnome-boxes-" version ".tar.xz"))
11179 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11180 (build-system meson-build-system)
11182 '(#:glib-or-gtk? #t
11183 #:configure-flags (list "-Drdp=false"
11184 (string-append "-Dc_link_args=-Wl,-rpath="
11185 (assoc-ref %outputs "out")
11186 "/lib/gnome-boxes"))))
11188 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11189 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11190 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11191 ("itstool" ,itstool)
11192 ("intltool" ,intltool)
11194 ("pkg-config" ,pkg-config)))
11196 `(("libarchive" ,libarchive)
11197 ("glib-networking" ,glib-networking) ;for TLS support
11198 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11200 ("gtk-vnc" ,gtk-vnc)
11201 ("libosinfo" ,libosinfo)
11202 ("libsecret" ,libsecret)
11203 ("libsoup" ,libsoup)
11205 ("libvirt" ,libvirt)
11206 ("libvirt-glib" ,libvirt-glib)
11207 ("libxml" ,libxml2)
11208 ("spice-gtk" ,spice-gtk)
11209 ("sparql-query" ,sparql-query)
11211 ("webkitgtk" ,webkitgtk)
11212 ("tracker" ,tracker)
11213 ("libgudev" ,libgudev)))
11214 (home-page "https://wiki.gnome.org/Apps/Boxes")
11215 (synopsis "View, access, and manage remote and virtual systems")
11216 (description "GNOME Boxes is a simple application to view, access, and
11217 manage remote and virtual systems. Note that this application requires the
11218 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11219 @command{info '(guix) Virtualization Services'} to learn how to configure
11220 these services on the Guix System.")
11222 ;; For data/icons/empty-boxes.png.
11225 license:lgpl2.0+))))
11227 (define-public geary
11233 (uri (git-reference
11234 (url "https://gitlab.gnome.org/GNOME/geary")
11236 (file-name (git-file-name name version))
11239 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
11240 (build-system meson-build-system)
11242 `(#:glib-or-gtk? #t
11243 #:phases (modify-phases %standard-phases
11244 (add-after 'unpack 'disable-failing-tests
11246 (substitute* "test/meson.build"
11247 (("test\\('client-tests', geary_test_client_bin\\)")
11250 (add-after 'unpack 'disable-postinstall-script
11252 (substitute* "meson.build"
11253 (("meson.add_install_script\\(\
11254 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11257 (add-before 'check 'setup-xvfb
11259 (system "Xvfb :1 &")
11260 (setenv "DISPLAY" ":1")
11263 `(("enchant" ,enchant)
11267 ("gmime" ,gmime-2.6)
11268 ("gnome-online-accounts:lib"
11269 ,gnome-online-accounts "lib")
11272 ("iso-codes" ,iso-codes)
11273 ("json-glib" ,json-glib)
11274 ("libcanberra" ,libcanberra)
11276 ("libhandy" ,libhandy-0.0)
11277 ("libpeas" ,libpeas)
11278 ("libsecret" ,libsecret)
11279 ("libunwind" ,libunwind)
11281 ("webkitgtk" ,webkitgtk)
11284 `(("appstream-glib" ,appstream-glib)
11285 ("cmake-minimal" ,cmake-minimal)
11286 ("desktop-file-utils" ,desktop-file-utils)
11287 ("gettext" ,gettext-minimal)
11288 ("glib:bin" ,glib "bin")
11289 ("gobject-introspection" ,gobject-introspection)
11290 ("itstool" ,itstool)
11291 ("libarchive" ,libarchive)
11292 ("libxml2" ,libxml2)
11293 ("pkg-config" ,pkg-config)
11295 ("xvfb" ,xorg-server-for-tests)))
11296 (synopsis "GNOME email application built around conversations")
11298 "Geary collects related messages together into conversations,
11299 making it easy to find and follow your discussions. Full-text and keyword
11300 search makes it easy to find the email you are looking for. Geary's
11301 full-featured composer lets you send rich, styled text with images, links, and
11302 lists, but also send lightweight, easy to read text messages. Geary
11303 automatically picks up your existing GNOME Online Accounts, and adding more is
11304 easy. Geary has a clean, fast, modern interface that works like you want it
11306 (home-page "https://wiki.gnome.org/Apps/Geary")
11312 license:cc-by-sa3.0
11313 license:public-domain
11317 (define-public glabels
11324 (uri (string-append "mirror://gnome/sources/" name "/"
11325 (version-major+minor version) "/"
11326 "glabels-" version ".tar.xz"))
11328 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11329 (build-system glib-or-gtk-build-system)
11331 `(("gettext" ,gettext-minimal)
11332 ("glib:bin" ,glib "bin")
11333 ("intltool" ,intltool)
11334 ("itstool" ,itstool)
11335 ("pkg-config" ,pkg-config)))
11338 ("librsvg" ,librsvg)
11339 ("libxml2" ,libxml2)))
11340 (home-page "https://glabels.org/")
11341 (synopsis "Program for creating labels and business cards")
11343 "gLabels is a program for creating labels and business cards. It is
11344 designed to work with various laser/ink-jet peel-off label and business
11345 card sheets that you’ll find at most office supply stores.")
11346 (license license:gpl3+)))
11348 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11349 (define-public gnome-latex
11351 (name "gnome-latex")
11356 (uri (string-append "mirror://gnome/sources/" name "/"
11357 (version-major+minor version) "/"
11358 "gnome-latex-" version ".tar.xz"))
11360 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11361 (build-system glib-or-gtk-build-system)
11363 `(("gettext" ,gettext-minimal)
11364 ("glib:bin" ,glib "bin")
11365 ("gobject-introspection" ,gobject-introspection)
11366 ("gtk-doc" ,gtk-doc)
11367 ("intltool" ,intltool)
11368 ("itstool" ,itstool)
11369 ("pkg-config" ,pkg-config)
11375 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11378 ("gtksourceview" ,gtksourceview)
11381 ("uchardet" ,uchardet)))
11382 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11383 (synopsis "LaTeX editor for the GNOME desktop")
11385 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11386 such as build tools, completion of LaTeX commands, structure navigation,
11387 symbol tables, document templates, project management, spell-checking, menus
11389 (license license:gpl3+)))
11391 (define-public setzer
11398 (uri (git-reference
11399 (url "https://github.com/cvfosammmm/Setzer")
11400 (commit (string-append "v" version))))
11401 (file-name (git-file-name name version))
11403 (base32 "1qmy2bxl8x6pijjaaj91v6rqdipha6iyy0b6b9y1lk3r2p3azd42"))))
11404 (build-system meson-build-system)
11406 `(#:glib-or-gtk? #t
11408 (modify-phases %standard-phases
11409 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11410 (lambda* (#:key outputs #:allow-other-keys)
11411 (let ((prog (string-append (assoc-ref outputs "out")
11413 (pylib (string-append (assoc-ref outputs "out")
11415 ,(version-major+minor
11416 (package-version python))
11417 "/site-packages")))
11419 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11420 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11423 `(("desktop-file-utils" ,desktop-file-utils)
11424 ("gettext" ,gettext-minimal)
11425 ("glib:bin" ,glib "bin")
11426 ("gobject-introspection" ,gobject-introspection)
11427 ("gtk+:bin" ,gtk+ "bin")))
11429 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11432 ("gtksourceview" ,gtksourceview)
11434 ("poppler" ,poppler)
11435 ("python-pycairo" ,python-pycairo)
11436 ("python-pygobject" ,python-pygobject)
11437 ("python-pyxdg" ,python-pyxdg)
11438 ("webkitgtk" ,webkitgtk)
11439 ("xdg-utils" ,xdg-utils)))
11440 (home-page "https://www.cvfosammmm.org/setzer/")
11441 (synopsis "LaTeX editor written in Python with GTK+")
11443 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11444 GTK+. It integrates well with the GNOME desktop environment.")
11445 (license license:gpl3+)))
11447 (define-public libratbag
11454 (uri (git-reference
11455 (url "https://github.com/libratbag/libratbag")
11456 (commit (string-append "v" version))))
11457 (file-name (git-file-name name version))
11459 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11460 (build-system meson-build-system)
11462 `(#:configure-flags
11463 (list "-Dsystemd=false"
11464 "-Dlogind-provider=elogind")
11466 (modify-phases %standard-phases
11467 (add-after 'install 'wrap
11468 (lambda* (#:key inputs outputs #:allow-other-keys)
11469 (let* ((out (assoc-ref outputs "out"))
11470 (site (string-append
11472 ,(version-major+minor (package-version python))
11474 (evdev (string-append
11475 (assoc-ref inputs "python-evdev") site))
11476 (pygo (string-append
11477 (assoc-ref inputs "python-pygobject") site))
11479 `("PYTHONPATH" = (,evdev ,pygo))))
11480 (wrap-program (string-append out "/bin/" "ratbagctl")
11485 ("pkg-config" ,pkg-config)
11487 ("valgrind" ,valgrind)))
11490 ("json-glib" ,json-glib)
11491 ("libevdev" ,libevdev)
11492 ("libsystemd" ,elogind)
11493 ("libunistring" ,libunistring)
11494 ("python-evdev" ,python-evdev)
11495 ("python-pygobject" ,python-pygobject)
11497 (home-page "https://github.com/libratbag/libratbag")
11498 (synopsis "DBus daemon and utility for configuring gaming mice")
11499 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11500 configure input devices, mainly gaming mice. The daemon provides a generic
11501 way to access the various features exposed by these mice and abstracts away
11502 hardware-specific and kernel-specific quirks. There is also the
11503 @command{ratbagctl} command line interface for configuring devices.
11505 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11508 The ratbagd DBus service can be enabled by adding the following service to
11509 your operating-system definition:
11511 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11512 (license license:expat)))
11514 (define-public piper
11521 (uri (git-reference
11522 (url "https://github.com/libratbag/piper")
11525 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11526 (file-name (git-file-name name version))))
11527 (build-system meson-build-system)
11529 `(("gettext" ,gettext-minimal)
11530 ("glib:bin" ,glib "bin")
11531 ("gobject-introspection" ,gobject-introspection)
11532 ("pkg-config" ,pkg-config)
11533 ("python-flake8" ,python-flake8)))
11535 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11537 ("gtk:bin" ,gtk+ "bin")
11538 ("librsvg" ,librsvg)
11539 ("python-evdev" ,python-evdev)
11540 ("python-lxml" ,python-lxml)
11541 ("python-pycairo" ,python-pycairo)
11542 ("python-pygobject" ,python-pygobject)))
11544 `(#:imported-modules ((guix build python-build-system)
11545 ,@%meson-build-system-modules)
11546 #:modules (((guix build python-build-system) #:prefix python:)
11547 (guix build meson-build-system)
11548 (guix build utils))
11549 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11551 (modify-phases %standard-phases
11552 (add-after 'unpack 'dont-update-gtk-icon-cache
11554 (substitute* "meson.build"
11555 (("meson.add_install_script('meson_install.sh')") ""))
11557 ;; TODO: Switch to wrap-script when it is fixed.
11558 (add-after 'install 'wrap-python
11559 (assoc-ref python:%standard-phases 'wrap))
11560 (add-after 'wrap-python 'wrap
11561 (lambda* (#:key outputs #:allow-other-keys)
11563 (string-append (assoc-ref outputs "out" )"/bin/piper")
11564 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11566 (home-page "https://github.com/libratbag/piper/")
11567 (synopsis "Configure bindings and LEDs on gaming mice")
11568 (description "Piper is a GTK+ application for configuring gaming mice with
11569 onboard configuration for key bindings via libratbag. Piper requires
11570 a @command{ratbagd} daemon running with root privileges. It can be run
11571 manually as root, but is preferably configured as a DBus service that can
11572 launch on demand. This can be configured by enabling the following service,
11573 provided there is a DBus service present:
11575 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11576 (license license:gpl2)))
11578 (define-public parlatype
11585 (uri (git-reference
11586 (url "https://github.com/gkarsay/parlatype")
11587 (commit (string-append "v" version))))
11588 (file-name (git-file-name name version))
11590 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11591 (build-system meson-build-system)
11593 `(#:glib-or-gtk? #t
11594 #:tests? #f ;require internet access
11596 (modify-phases %standard-phases
11597 (add-after 'install 'wrap-parlatype
11598 ;; Add gstreamer plugin provided in this package to system's
11600 (lambda* (#:key outputs #:allow-other-keys)
11601 (let* ((out (assoc-ref outputs "out"))
11602 (gst-plugin-path (string-append
11603 out "/lib/gstreamer-1.0/"
11605 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11606 (wrap-program (string-append out "/bin/parlatype")
11607 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11610 `(("appstream-glib" ,appstream-glib)
11611 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11612 ("gettext" ,gettext-minimal)
11613 ("glib" ,glib "bin") ;for glib-compile-resources
11614 ("pkg-config" ,pkg-config)
11615 ("yelp-tools" ,yelp-tools)))
11617 `(("gst-plugins-base" ,gst-plugins-base)
11618 ("gst-plugins-good" ,gst-plugins-good)
11619 ("gstreamer" ,gstreamer)
11621 ("pocketsphinx" ,pocketsphinx)
11622 ("pulseaudio" ,pulseaudio)
11623 ("sphinxbase" ,sphinxbase)))
11624 (home-page "http://gkarsay.github.io/parlatype/")
11625 (synopsis "GNOME audio player for transcription")
11626 (description "Parlatype is an audio player for the GNOME desktop
11627 environment. Its main purpose is the manual transcription of spoken
11629 (license license:gpl3+)))
11631 (define-public jsonrpc-glib
11633 (name "jsonrpc-glib")
11637 (uri (string-append "mirror://gnome/sources/" name "/"
11638 (version-major+minor version) "/"
11639 name "-" version ".tar.xz"))
11642 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11643 (build-system meson-build-system)
11645 `(("json-glib" ,json-glib)
11648 `(("pkg-config" ,pkg-config)
11649 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11650 ("gobject-introspection" ,gobject-introspection)
11652 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11653 (synopsis "JSON-RPC library for GLib")
11654 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11655 peers in either a synchronous or asynchronous fashion. It also allows
11656 communicating using the GVariant serialization format instead of JSON when
11657 both peers support it. You might want that when communicating on a single
11658 host to avoid parser overhead and memory-allocator fragmentation.")
11659 (license license:lgpl2.1+)))
11661 (define-public feedbackd
11664 (version "0.0.0+git20200527")
11667 (uri (git-reference
11668 (url "https://source.puri.sm/Librem5/feedbackd.git")
11669 (commit (string-append "v" version))))
11670 (file-name (git-file-name name version))
11673 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11674 (build-system meson-build-system)
11676 `(("glib:bin" ,glib "bin")
11677 ("gobject-introspection" ,gobject-introspection)
11678 ("pkg-config" ,pkg-config)
11683 ("json-glib" ,json-glib)
11684 ("libgudev" ,libgudev)))
11686 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11687 (synopsis "Haptic/visual/audio feedback via DBus")
11688 (description "Feedbackd provides a DBus daemon to act on events to provide
11689 haptic, visual and audio feedback. It offers the libfeedbackd library and
11690 GObject introspection bindings.")
11691 (home-page "https://source.puri.sm/Librem5/feedbackd")
11692 (license (list license:lgpl2.1+ ; libfeedbackd
11693 license:lgpl3+)))) ; the rest
11695 (define-public sysprof
11702 (uri (string-append "mirror://gnome/sources/sysprof/"
11703 (version-major+minor version) "/"
11704 "sysprof-" version ".tar.xz"))
11706 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11707 (build-system meson-build-system)
11709 `(#:configure-flags
11710 (list (string-append "-Dsystemdunitdir="
11713 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11715 (modify-phases %standard-phases
11716 (add-after 'unpack 'patch-install-script
11718 (substitute* "build-aux/meson/post_install.sh"
11719 (("gtk-update-icon-cache") "true")
11720 (("update-desktop-database") "true"))
11725 ("libdazzle" ,libdazzle)
11726 ("polkit" ,polkit)))
11728 `(("gettext" ,gettext-minimal)
11729 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11730 ("itstool" ,itstool)
11731 ("pkg-config" ,pkg-config)
11732 ("xmllint" ,libxml2)))
11733 ;; This home page is so woefully out of date as to be essentially useless.
11734 ;; (home-page "http://www.sysprof.com")
11735 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11736 (synopsis "System-wide performance profiler for GNU/Linux")
11738 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11739 GNU/Linux system including the kernel and all user-space applications. This
11740 helps find the function(s) in which a program spends most of its time.
11742 It uses the kernel's built-in @code{ptrace} feature and handles shared
11743 libraries. Applications do not need to be recompiled--or even restarted.")
11744 (license license:gpl3+)))
11746 (define-public gnome-builder
11748 (name "gnome-builder")
11752 (uri (string-append "mirror://gnome/sources/" name "/"
11753 (version-major+minor version) "/"
11754 name "-" version ".tar.xz"))
11757 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11758 (build-system meson-build-system)
11760 `(#:configure-flags (list "-Dnetwork_tests=false"
11761 ;; TODO: Enable all plugins...
11762 "-Dplugin_clang=false"
11763 "-Dplugin_flatpak=false"
11764 "-Dplugin_glade=false"
11765 ;; XXX: This one has been shown not to work in
11766 ;; <https://issues.guix.gnu.org/45272>
11767 "-Dplugin_jedi=false"
11768 ;; ... except this one.
11769 "-Dplugin_update_manager=false")
11771 (modify-phases %standard-phases
11772 (add-after 'unpack 'patch-meson
11773 (lambda* (#:key inputs #:allow-other-keys)
11774 (substitute* "build-aux/meson/post_install.py"
11775 (("gtk-update-icon-cache") "true")
11776 (("update-desktop-database") "true"))
11777 (substitute* "src/libide/meson.build"
11779 (string-append (assoc-ref inputs "python-pygobject")
11782 (add-after 'configure 'fix-ninja
11784 ;; #43296: meson(?) incorrectly assumes we want to link
11785 ;; this PIE against a static libselinux.
11786 (substitute* "build.ninja"
11787 (("libselinux\\.a") "libselinux.so"))
11789 (add-before 'check 'pre-check
11791 (system "Xvfb :1 &")
11792 (setenv "DISPLAY" ":1")
11795 `(("devhelp" ,devhelp)
11798 ("json-glib" ,json-glib)
11799 ("jsonrpc-glib" ,jsonrpc-glib)
11800 ("libdazzle" ,libdazzle)
11801 ("libgit2-glib" ,libgit2-glib)
11802 ("libpeas" ,libpeas)
11803 ("python-pygobject" ,python-pygobject)
11804 ("sysprof" ,sysprof)
11805 ("template-glib" ,template-glib)
11807 ("webkitgtk" ,webkitgtk)))
11809 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11811 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11812 ("glib:bin" ,glib "bin")
11813 ("gettext" ,gettext-minimal)
11814 ("pkg-config" ,pkg-config)
11816 ("xorg-server" ,xorg-server-for-tests)))
11817 (home-page "https://wiki.gnome.org/Apps/Builder")
11818 (synopsis "Toolsmith for GNOME-based applications")
11819 (description "Builder aims to be an integrated development
11820 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11821 auto-completion, a mini code map, documentation browsing, Git integration, an
11822 integrated profiler via Sysprof, debugging support, and more.")
11823 (license license:gpl3+)))
11825 (define-public komikku
11832 (uri (git-reference
11833 (url "https://gitlab.com/valos/Komikku/")
11834 (commit (string-append "v" version))))
11835 (file-name (git-file-name name version))
11838 "03skci66y9qqiv4bqbbc0w6d6agilwmx95cw7sribj06zcykm7m3"))))
11839 (build-system meson-build-system)
11841 `(#:glib-or-gtk? #t
11843 (modify-phases %standard-phases
11844 (add-after 'unpack 'patch-sources
11846 (substitute* "komikku/utils.py"
11847 (("from komikku\\.servers import get_servers_list")
11848 ;; code following that line should migrate old databases
11849 ;; but the line itself results in an import error
11850 "return data_dir_path"))))
11851 (add-after 'unpack 'skip-gtk-update-icon-cache
11853 (substitute* "meson_post_install.py"
11854 (("gtk-update-icon-cache") (which "true")))
11856 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11857 (lambda* (#:key outputs #:allow-other-keys)
11858 (let ((prog (string-append (assoc-ref outputs "out")
11861 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
11862 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11866 ("libhandy" ,libhandy)
11867 ("libnotify" ,libnotify)
11868 ("libsecret" ,libsecret)
11869 ("python-beautifulsoup4" ,python-beautifulsoup4)
11870 ("python-dateparser" ,python-dateparser)
11871 ("python-keyring" ,python-keyring)
11872 ("python-lxml" ,python-lxml)
11873 ("python-magic" ,python-magic)
11874 ("python-pillow" ,python-pillow)
11875 ("python-pure-protobuf" ,python-pure-protobuf)
11876 ("python-pycairo" ,python-pycairo)
11877 ("python-pygobject" ,python-pygobject)
11878 ("python-requests" ,python-requests)
11879 ("python-unidecode" ,python-unidecode)))
11881 `(("desktop-file-utils" ,desktop-file-utils)
11882 ("gettext" ,gettext-minimal)
11883 ("glib:bin" ,glib "bin")
11884 ("gobject-introspection" ,gobject-introspection)
11885 ("pkg-config" ,pkg-config)))
11886 (home-page "https://gitlab.com/valos/Komikku")
11887 (synopsis "Manga reader for GNOME")
11888 (description "Komikku is an online/offline manga reader for GNOME,
11889 developed with the aim of being used with the Librem 5 phone.")
11890 (license license:gpl3+)))
11892 (define-public libgda
11899 (uri (git-reference
11900 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
11901 (commit (string-append "LIBGDA_" (string-replace-substring
11902 version "." "_")))))
11903 (file-name (git-file-name name version))
11905 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
11906 (build-system gnu-build-system)
11908 `(#:configure-flags '("--enable-vala")
11909 ;; There's a race between check_cnc_lock and check_threaded_cnc
11910 ;; in tests/multi-threading.
11911 #:parallel-tests? #f
11913 (modify-phases %standard-phases
11914 (add-after 'unpack 'fix-glade-install
11916 (substitute* "configure.ac"
11917 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
11918 "${datadir}/glade/catalogs")
11919 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
11920 "${datadir}/glade/pixmaps"))
11922 (add-before 'check 'pre-check
11923 (lambda* (#:key inputs #:allow-other-keys)
11924 ;; Tests require a running X server.
11925 (system "Xvfb :1 &")
11926 (setenv "DISPLAY" ":1")
11928 (add-after 'install 'symlink-glade-module
11929 (lambda* (#:key outputs #:allow-other-keys)
11930 (let* ((shlib "libgda-ui-5.0.so")
11931 (out (assoc-ref outputs "out"))
11932 (out/lib (string-append out "/lib"))
11933 (moduledir (string-append out/lib "/glade/modules")))
11934 (mkdir-p moduledir)
11935 (symlink (string-append out/lib "/" shlib)
11936 (string-append moduledir "/" shlib))
11939 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
11944 ("libsecret" ,libsecret)
11945 ("libxslt" ,libxslt)
11946 ("openssl" ,openssl)
11949 `(("autoconf" ,autoconf)
11950 ("autoconf-archive" ,autoconf-archive)
11951 ("automake" ,automake)
11952 ("glib:bin" ,glib "bin")
11953 ("gnome-common" ,gnome-common)
11954 ("gobject-introspection" ,gobject-introspection)
11955 ("gtk-doc" ,gtk-doc)
11956 ("intltool" ,intltool)
11957 ("libtool" ,libtool)
11958 ("pkg-config" ,pkg-config)
11961 ("xorg-server" ,xorg-server-for-tests)
11962 ("yelp-tools" ,yelp-tools)))
11963 (home-page "https://gitlab.gnome.org/GNOME/libgda")
11964 (synopsis "Uniform data access")
11966 "GNU Data Access (GDA) is an attempt to provide uniform access to
11967 different kinds of data sources (databases, information servers, mail spools,
11968 etc). It is a complete architecture that provides all you need to access
11970 (license license:lgpl2.1+)))
11972 (define-public gtranslator
11974 (name "gtranslator")
11978 (uri (string-append "mirror://gnome/sources/" name "/"
11979 (version-major+minor version) "/"
11980 name "-" version ".tar.xz"))
11983 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
11984 (build-system meson-build-system)
11986 `(("json-glib" ,json-glib)
11987 ("jsonrpc-glib" ,jsonrpc-glib)
11988 ("gettext" ,gettext-minimal)
11991 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11993 ("libdazzle" ,libdazzle)
11995 ("libsoup" ,libsoup)))
11997 `(("glib:bin" ,glib "bin")
11998 ("itstool" ,itstool)
11999 ("pkg-config" ,pkg-config)))
12001 `(("gtksourceview" ,gtksourceview))) ; required for source view
12003 `(#:build-type "release"
12006 (modify-phases %standard-phases
12007 (add-after 'unpack 'skip-gtk-update-icon-cache
12009 (substitute* "build-aux/meson/meson_post_install.py"
12010 (("gtk-update-icon-cache") (which "true")))
12012 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12013 (synopsis "Translation making program")
12015 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12016 for the GNOME 3.x platform with many features. It aims to be a very complete
12017 editing environment for translation issues within the GNU gettext/GNOME desktop
12019 (license license:gpl3+)))