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 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017 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 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>
52 ;;; This file is part of GNU Guix.
54 ;;; GNU Guix is free software; you can redistribute it and/or modify it
55 ;;; under the terms of the GNU General Public License as published by
56 ;;; the Free Software Foundation; either version 3 of the License, or (at
57 ;;; your option) any later version.
59 ;;; GNU Guix is distributed in the hope that it will be useful, but
60 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
61 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
62 ;;; GNU General Public License for more details.
64 ;;; You should have received a copy of the GNU General Public License
65 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
67 (define-module (gnu packages gnome)
68 #:use-module (gnu packages)
69 #:use-module (gnu packages admin)
70 #:use-module (gnu packages aspell)
71 #:use-module (gnu packages autotools)
72 #:use-module (gnu packages avahi)
73 #:use-module (gnu packages backup)
74 #:use-module (gnu packages base)
75 #:use-module (gnu packages bash)
76 #:use-module (gnu packages bison)
77 #:use-module (gnu packages boost)
78 #:use-module (gnu packages build-tools)
79 #:use-module (gnu packages calendar)
80 #:use-module (gnu packages cdrom)
81 #:use-module (gnu packages check)
82 #:use-module (gnu packages cmake)
83 #:use-module (gnu packages compression)
84 #:use-module (gnu packages crates-io)
85 #:use-module (gnu packages cups)
86 #:use-module (gnu packages curl)
87 #:use-module (gnu packages cyrus-sasl)
88 #:use-module (gnu packages databases)
89 #:use-module (gnu packages dbm)
90 #:use-module (gnu packages djvu)
91 #:use-module (gnu packages dns)
92 #:use-module (gnu packages docbook)
93 #:use-module (gnu packages documentation)
94 #:use-module (gnu packages enchant)
95 #:use-module (gnu packages flex)
96 #:use-module (gnu packages fonts)
97 #:use-module (gnu packages file-systems)
98 #:use-module (gnu packages fontutils)
99 #:use-module (gnu packages freedesktop)
100 #:use-module (gnu packages game-development)
101 #:use-module (gnu packages gettext)
102 #:use-module (gnu packages ghostscript)
103 #:use-module (gnu packages gl)
104 #:use-module (gnu packages glib)
105 #:use-module (gnu packages gnupg)
106 #:use-module (gnu packages gnuzilla)
107 #:use-module (gnu packages geo)
108 #:use-module (gnu packages gperf)
109 #:use-module (gnu packages graphviz)
110 #:use-module (gnu packages gstreamer)
111 #:use-module (gnu packages gtk)
112 #:use-module (gnu packages guile)
113 #:use-module (gnu packages ibus)
114 #:use-module (gnu packages icu4c)
115 #:use-module (gnu packages image)
116 #:use-module (gnu packages imagemagick)
117 #:use-module (gnu packages inkscape)
118 #:use-module (gnu packages iso-codes)
119 #:use-module (gnu packages kerberos)
120 #:use-module (gnu packages libcanberra)
121 #:use-module (gnu packages libunistring)
122 #:use-module (gnu packages libunwind)
123 #:use-module (gnu packages libusb)
124 #:use-module (gnu packages linux)
125 #:use-module (gnu packages lirc)
126 #:use-module (gnu packages lua)
127 #:use-module (gnu packages mail)
128 #:use-module (gnu packages mp3)
129 #:use-module (gnu packages multiprecision)
130 #:use-module (gnu packages music)
131 #:use-module (gnu packages ncurses)
132 #:use-module (gnu packages nettle)
133 #:use-module (gnu packages networking)
134 #:use-module (gnu packages ninja)
135 #:use-module (gnu packages nss)
136 #:use-module (gnu packages openldap)
137 #:use-module (gnu packages password-utils)
138 #:use-module (gnu packages pcre)
139 #:use-module (gnu packages pdf)
140 #:use-module (gnu packages perl)
141 #:use-module (gnu packages photo)
142 #:use-module (gnu packages pkg-config)
143 #:use-module (gnu packages polkit)
144 #:use-module (gnu packages popt)
145 #:use-module (gnu packages pretty-print)
146 #:use-module (gnu packages pulseaudio)
147 #:use-module (gnu packages python)
148 #:use-module (gnu packages python-crypto)
149 #:use-module (gnu packages python-web)
150 #:use-module (gnu packages python-xyz)
151 #:use-module (gnu packages rdesktop)
152 #:use-module (gnu packages readline)
153 #:use-module (gnu packages ruby)
154 #:use-module (gnu packages rust)
155 #:use-module (gnu packages samba)
156 #:use-module (gnu packages scanner)
157 #:use-module (gnu packages selinux)
158 #:use-module (gnu packages slang)
159 #:use-module (gnu packages speech)
160 #:use-module (gnu packages spice)
161 #:use-module (gnu packages sqlite)
162 #:use-module (gnu packages ssh)
163 #:use-module (gnu packages tex)
164 #:use-module (gnu packages time)
165 #:use-module (gnu packages tls)
166 #:use-module (gnu packages version-control)
167 #:use-module (gnu packages video)
168 #:use-module (gnu packages virtualization)
169 #:use-module (gnu packages vpn)
170 #:use-module (gnu packages web)
171 #:use-module (gnu packages webkit)
172 #:use-module (gnu packages xdisorg)
173 #:use-module (gnu packages xiph)
174 #:use-module (gnu packages xml)
175 #:use-module (gnu packages xorg)
176 #:use-module (gnu artwork)
177 #:use-module (guix build-system cargo)
178 #:use-module (guix build-system cmake)
179 #:use-module (guix build-system glib-or-gtk)
180 #:use-module (guix build-system gnu)
181 #:use-module (guix build-system meson)
182 #:use-module (guix build-system python)
183 #:use-module (guix build-system trivial)
184 #:use-module (guix download)
185 #:use-module (guix git-download)
186 #:use-module ((guix licenses) #:prefix license:)
187 #:use-module (guix packages)
188 #:use-module (guix utils)
189 #:use-module (guix gexp)
190 #:use-module (guix monads)
191 #:use-module (guix store)
192 #:use-module (ice-9 match)
193 #:use-module (srfi srfi-1))
195 (define-public brasero
201 (uri (string-append "mirror://gnome/sources/brasero/"
202 (version-major+minor version) "/"
203 "brasero-" version ".tar.xz"))
206 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
207 (build-system glib-or-gtk-build-system)
209 `(#:configure-flags (list
210 (string-append "--with-girdir="
211 (assoc-ref %outputs "out")
213 (string-append "--with-typelibdir="
214 (assoc-ref %outputs "out")
215 "/lib/girepository-1.0"))
217 (modify-phases %standard-phases
218 (add-before 'configure 'embed-growisofs
219 (lambda* (#:key inputs #:allow-other-keys)
220 (substitute* "plugins/growisofs/burn-growisofs.c"
221 (("\"growisofs") (string-append "\"" (which "growisofs"))))
224 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
226 `(("intltool" ,intltool)
228 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
229 ("gobject-introspection" ,gobject-introspection)
230 ("pkg-config" ,pkg-config)))
232 `(("dvd+rw-tools" ,dvd+rw-tools)
234 ("gnome-doc-utils" ,gnome-doc-utils)
235 ("gstreamer" ,gstreamer)
236 ("gst-plugins-base" ,gst-plugins-base)
238 ("libcanberra" ,libcanberra)
240 ("libnotify" ,libnotify)
243 ("totem-pl-parser" ,totem-pl-parser)))
244 (home-page "https://wiki.gnome.org/Apps/Brasero")
245 (synopsis "CD/DVD burning tool for Gnome")
246 (description "Brasero is an application to burn CD/DVD for the Gnome
247 Desktop. It is designed to be as simple as possible and has some unique
248 features to enable users to create their discs easily and quickly.")
249 (license license:gpl2+)))
251 (define-public phodav
257 (uri (string-append "mirror://gnome/sources/" name "/"
258 (version-major+minor version) "/"
259 name "-" version ".tar.xz"))
262 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
263 (build-system meson-build-system)
265 `(("gettext" ,gettext-minimal)
266 ("glib:bin" ,glib "bin")
268 ("pkg-config" ,pkg-config)))
271 ("libgudev" ,libgudev)
272 ("libsoup" ,libsoup)))
273 (synopsis "WebDav server implementation using libsoup")
274 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
275 but it is generic enough to be reused in other projects,
276 in particular in the GNOME desktop.")
277 (home-page "https://wiki.gnome.org/phodav")
278 (license license:lgpl2.1+)))
280 (define-public gnome-color-manager
282 (name "gnome-color-manager")
286 (uri (string-append "mirror://gnome/sources/" name "/"
287 (version-major+minor version) "/"
288 name "-" version ".tar.xz"))
291 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
292 (build-system meson-build-system)
296 (modify-phases %standard-phases
300 ;; Tests require a running X server.
302 (setenv "DISPLAY" ":1")
305 `(("desktop-file-utils" ,desktop-file-utils)
306 ("gettext" ,gettext-minimal)
307 ("glib:bin" ,glib "bin")
308 ("gtk+:bin" ,gtk+ "bin")
310 ("pkg-config" ,pkg-config)
311 ("xorg-server" ,xorg-server-for-tests)))
313 `(("adwaita-icon-theme" ,adwaita-icon-theme)
314 ("appstream-glib" ,appstream-glib)
315 ("colord-gtk" ,colord-gtk)
317 ("gnome-desktop" ,gnome-desktop)
318 ("libcanberra" ,libcanberra)
321 ("libxrandr" ,libxrandr)
323 ("libxxf86vm" ,libxxf86vm)
325 ("xorgproto" ,xorgproto)))
326 (synopsis "Color profile manager for the GNOME desktop")
327 (description "GNOME Color Manager is a session framework that makes
328 it easy to manage, install and generate color profiles
329 in the GNOME desktop.")
330 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
331 (license license:gpl2+)))
333 (define-public gnome-online-miners
335 (name "gnome-online-miners")
339 (uri (string-append "mirror://gnome/sources/" name "/"
340 (version-major+minor version) "/"
341 name "-" version ".tar.xz"))
344 "0pjamwwzn5wqgihyss357dyl2q70r0bngnqmwsqawchx5f9aja9c"))))
345 (build-system glib-or-gtk-build-system)
347 `(("gettext" ,gettext-minimal)
348 ("glib:bin" ,glib "bin")
349 ("gobject-introspection" ,gobject-introspection)
350 ("gtk+:bin" ,gtk+ "bin")
351 ("pkg-config" ,pkg-config)))
353 `(("gnome-online-accounts" ,gnome-online-accounts)
354 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
356 ("libgdata" ,libgdata)
357 ("libgfbgraph" ,gfbgraph)
358 ("libzapojit" ,libzapojit)
360 ("tracker" ,tracker)))
361 (synopsis "Web Crawlers for GNOME")
362 (description "GNOME Online Miners provides a set of crawlers that
363 go through your online content and index them locally in Tracker.
364 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
365 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
366 (license license:gpl2+)))
374 (uri (string-append "mirror://gnome/sources/" name "/"
375 (version-major+minor version) "/"
376 name "-" version ".tar.xz"))
379 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
380 (build-system meson-build-system)
382 `(("gettext" ,gettext-minimal)
383 ("glib:bin" ,glib "bin")
384 ("gobject-introspection" ,gobject-introspection)
386 ("pkg-config" ,pkg-config)
390 ("libsoup" ,libsoup)))
391 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
392 Protocol} for GNOME")
393 (description "This package provides a library to handle resource discovery
394 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
395 a debugging tool, @command{gssdp-device-sniffer}.")
396 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
397 (license license:lgpl2.0+)))
405 (uri (string-append "mirror://gnome/sources/" name "/"
406 (version-major+minor version) "/"
407 name "-" version ".tar.xz"))
410 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
411 (build-system meson-build-system)
413 `(("gettext" ,gettext-minimal)
414 ("glib:bin" ,glib "bin")
415 ("gobject-introspection" ,gobject-introspection)
417 ("pkg-config" ,pkg-config)
422 ("libsoup" ,libsoup)))
423 (synopsis "PnP API for GNOME")
424 (description "This package provides GUPnP, an object-oriented framework
425 for creating UPnP devices and control points, written in C using
426 @code{GObject} and @code{libsoup}.")
427 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
428 (license license:lgpl2.0+)))
430 (define-public gupnp-dlna
436 (uri (string-append "mirror://gnome/sources/" name "/"
437 (version-major+minor version) "/"
438 name "-" version ".tar.xz"))
441 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
442 (build-system gnu-build-system)
444 `(("gettext" ,gettext-minimal)
445 ("glib:bin" ,glib "bin")
446 ("gobject-introspection" ,gobject-introspection)
449 ("pkg-config" ,pkg-config)
452 `(("gstreamer" ,gstreamer)
455 `(("gst-plugins-base" ,gst-plugins-base)
456 ("gst-plugins-good" ,gst-plugins-good)))
457 (synopsis "GUPnP DLNA for GNOME")
458 (description "This package provides a small utility library to
459 support DLNA-related tasks such as media profile guessing, transcoding to a
460 given profile, etc. DLNA is a subset of UPnP A/V.")
461 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
462 (license license:lgpl2.0+)))
464 (define-public gupnp-av
470 (uri (string-append "mirror://gnome/sources/" name "/"
471 (version-major+minor version) "/"
472 name "-" version ".tar.xz"))
475 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
476 (build-system gnu-build-system)
478 `(("gettext" ,gettext-minimal)
479 ("glib:bin" ,glib "bin")
480 ("gobject-introspection" ,gobject-introspection)
483 ("pkg-config" ,pkg-config)))
487 (synopsis "GUPnP A/V for GNOME")
488 (description "This package provides a small library for handling
489 and implementation of UPnP A/V profiles.")
490 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
491 (license license:lgpl2.0+)))
493 (define-public libmediaart
499 (uri (string-append "mirror://gnome/sources/" name "/"
500 (version-major+minor version) "/"
501 name "-" version ".tar.xz"))
504 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
505 (build-system gnu-build-system)
507 `(("glib:bin" ,glib "bin")
508 ("pkg-config" ,pkg-config)))
510 `(("gdk-pixbuf" ,gdk-pixbuf)
511 ("gettext" ,gettext-minimal)
512 ("gobject-introspection" ,gobject-introspection)
513 ("gtk+:doc", gtk+ "doc")
515 (synopsis "Media art library for the GNOME desktop")
517 "The libmediaart library is the foundation for media art caching,
518 extraction, and lookup for applications on the desktop.")
519 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
520 (license license:lgpl2.1+)))
522 (define-public gnome-initial-setup
524 (name "gnome-initial-setup")
528 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
529 (version-major+minor version)
530 "/gnome-initial-setup-" version ".tar.xz"))
533 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
534 (build-system meson-build-system)
536 '(#:configure-flags '(;; Enable camera support for user selfie.
540 `(("gettext" ,gettext-minimal)
541 ("glib:bin" ,glib "bin")
542 ("gobject-introspection" ,gobject-introspection)
543 ("gtk+:bin" ,gtk+ "bin")
544 ("pkg-config" ,pkg-config)))
546 `(("accountsservice" ,accountsservice)
547 ;("adwaita-icon-theme" ,adwaita-icon-theme)
550 ("gnome-desktop" ,gnome-desktop)
551 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
552 ("gnome-online-accounts" ,gnome-online-accounts)
553 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
554 ("gstreamer" ,gstreamer)
556 ("json-glib" ,json-glib)
558 ("libgweather" ,libgweather)
559 ("libsecret" ,libsecret)
560 ("network-manager" ,network-manager)
561 ("network-manager-applet" ,network-manager-applet)
562 ("packagekit" ,packagekit)
564 ("pwquality" ,libpwquality)
567 ("webkitgtk" ,webkitgtk)))
568 (synopsis "Initial setup wizard for GNOME desktop")
569 (description "This package provides a set-up wizard when a
570 user logs into GNOME for the first time. It typically provides a
571 tour of all gnome components and allows the user to set them up.")
572 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
573 (license license:gpl2)))
575 (define-public gnome-user-share
577 (name "gnome-user-share")
581 (uri (string-append "mirror://gnome/sources/" name "/"
582 (version-major+minor version) "/"
583 name "-" version ".tar.xz"))
586 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
587 (build-system meson-build-system)
592 ;; Enable nautilus extension for file sharing.
593 "-Dnautilus_extension=true")))
595 `(("gettext" ,gettext-minimal)
596 ("glib:bin" ,glib "bin")
597 ("gobject-introspection" ,gobject-introspection)
598 ("gtk+:bin" ,gtk+ "bin")
599 ("pkg-config" ,pkg-config)
600 ("yelp-tools" ,yelp-tools)))
603 ("gnome-bluetooth" ,gnome-bluetooth)
605 ("libcanberra" ,libcanberra)
606 ("libnotify" ,libnotify)
607 ("nautilus" ,nautilus))) ; For nautilus extension.
608 (synopsis "File sharing for GNOME desktop")
609 (description "GNOME User Share is a small package that binds together
610 various free software projects to bring easy to use user-level file
611 sharing to the masses.")
612 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
613 (license license:gpl2+)))
621 (uri (string-append "mirror://gnome/sources/" name "/"
622 (version-major+minor version) "/"
623 name "-" version ".tar.xz"))
626 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
627 (build-system meson-build-system)
631 (modify-phases %standard-phases
632 (add-after 'glib-or-gtk-wrap 'wrap-typelib
633 (lambda* (#:key outputs #:allow-other-keys)
634 (let ((prog (string-append (assoc-ref outputs "out")
636 ;; Put existing typelibs before sushi's deps, so as to correctly
639 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
642 `(("glib:bin" ,glib "bin")
643 ("gettext" ,gettext-minimal)
644 ("gobject-introspection" ,gobject-introspection)
645 ("pkg-config" ,pkg-config)))
647 `(("clutter" ,clutter)
648 ("clutter-gst" ,clutter-gst)
649 ("clutter-gtk" ,clutter-gtk)
650 ("evince" ,evince) ; For file previewing.
651 ("freetype" ,freetype)
652 ("gdk-pixbuf" ,gdk-pixbuf)
654 ("gst-plugins-base" ,gst-plugins-base)
655 ("gstreamer" ,gstreamer)
656 ("gtksourceview" ,gtksourceview-3)
657 ("harfbuzz" ,harfbuzz)
658 ("libepoxy" ,libepoxy)
659 ("libmusicbrainz" ,libmusicbrainz)
662 ("webkitgtk" ,webkitgtk)))
663 (synopsis "File previewer for the GNOME desktop")
664 (description "Sushi is a DBus-activated service that allows applications to
665 preview files on the GNOME desktop.")
666 (home-page "https://gitlab.gnome.org/GNOME/sushi")
667 (license license:gpl2+)))
675 (uri (string-append "mirror://gnome/sources/" name "/"
676 (version-major+minor version) "/"
677 name "-" version ".tar.xz"))
680 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
681 (build-system gnu-build-system)
683 `(("gettext" ,gettext-minimal)
684 ("gobject-introspection" ,gobject-introspection)
686 ("pkg-config" ,pkg-config)
689 `(("gdk-pixbuf" ,gdk-pixbuf)
691 ("gstreamer" ,gstreamer)
692 ("gst-plugins-base" ,gst-plugins-base)
695 ("gupnp-av" ,gupnp-av)
696 ("gupnp-dlna" ,gupnp-dlna)
698 ("libmediaart" ,libmediaart)
701 ("libunistring" ,libunistring)
702 ("tracker" ,tracker)))
703 (synopsis "Share audio, video, and pictures with other devices")
705 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
706 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
707 pictures, and to control a media player on your home network.
709 Rygel achieves interoperability with other devices by trying to conform to the
710 strict requirements of DLNA and by converting media on-the-fly to formats that
711 client devices can handle.")
712 (home-page "https://wiki.gnome.org/Projects/Rygel")
714 ;; For logo (data/icons/*).
719 (define-public libnma
725 (uri (string-append "mirror://gnome/sources/" name "/"
726 (version-major+minor version) "/"
727 name "-" version ".tar.xz"))
730 "1w9lld38risnk1krknfwln24kabdxnj274pyz4jhndphwigrshaf"))))
731 (build-system meson-build-system)
733 `(#:glib-or-gtk? #t))
735 `(("gettext" ,gettext-minimal)
736 ("glib:bin" ,glib "bin")
738 ("gobject-introspection" ,gobject-introspection)
739 ("pkg-config" ,pkg-config)))
741 `(("adwaita-icon-theme" ,adwaita-icon-theme)
744 ("iso-codes" ,iso-codes)
745 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
746 ("network-manager" ,network-manager)))
747 (synopsis "Network Manager's applet library")
748 (description "Libnma is an applet library for Network Manager. It was
749 initially part of network-manager-applet and has now become a separate
751 (home-page "https://gitlab.gnome.org/GNOME/libnma")
753 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
755 (license license:gpl2+)))
757 (define-public gnome-menus
763 (uri (string-append "mirror://gnome/sources/gnome-menus/"
764 (version-major+minor version) "/"
765 name "-" version ".tar.xz"))
768 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
769 (build-system gnu-build-system)
771 `(("gettext" ,gettext-minimal)
773 ("pkg-config" ,pkg-config)))
774 (synopsis "Menu support for GNOME desktop")
775 (description "GNOME Menus contains the libgnome-menu library, the layout
776 configuration files for the GNOME menu, as well as a simple menu editor.")
777 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
778 (license license:lgpl2.0+)))
780 (define-public deja-dup
786 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
789 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
791 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
792 (build-system glib-or-gtk-build-system)
794 `(#:modules ((guix build gnu-build-system)
795 ((guix build cmake-build-system) #:prefix cmake:)
796 (guix build glib-or-gtk-build-system)
798 #:imported-modules (,@%glib-or-gtk-build-system-modules
799 (guix build cmake-build-system))
801 #:configure-flags (list (string-append
802 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
804 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
806 (modify-phases %standard-phases
807 (add-after 'unpack 'patch-lockfile-deletion
809 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
813 (assoc-ref cmake:%standard-phases 'configure))
814 (delete 'check) ;; Fails due to issues with DBus
815 (add-after 'install 'wrap-deja-dup
816 (lambda* (#:key inputs outputs #:allow-other-keys)
817 (let ((python (assoc-ref inputs "python"))
818 (python-path (getenv "PYTHONPATH"))
819 (duplicity (assoc-ref inputs "duplicity"))
820 (out (assoc-ref outputs "out")))
823 (wrap-program program
824 `("PATH" ":" prefix (,(string-append python "/bin")
825 ,(string-append duplicity "/bin"))))
826 (wrap-program program
827 `("PYTHONPATH" ":" prefix (,python-path))))
829 (find-files (string-append out "/bin")))
832 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
833 ("gobject-introspection" ,gobject-introspection)
834 ("duplicity" ,duplicity)
836 ("python-pygobject" ,python2-pygobject)
838 ("libnotify" ,libnotify)
840 ("libsecret" ,libsecret)
841 ("packagekit" ,packagekit)))
843 `(("pkg-config" ,pkg-config)
845 ("gettext" ,gettext-minimal)
847 ("intltool" ,intltool)
848 ("cmake" ,cmake-minimal)))
849 (home-page "https://launchpad.net/deja-dup")
850 (synopsis "Simple backup tool, for regular encrypted backups")
852 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
853 uses duplicity as the backend, which supports incremental backups and storage
854 either on a local, or remote machine via a number of methods.")
855 (license license:gpl3+)))
857 (define-public gnome-user-docs
859 (name "gnome-user-docs")
864 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
865 (version-major+minor version)
866 "/gnome-user-docs-" version ".tar.xz"))
868 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
869 (build-system gnu-build-system)
871 `(("gettext" ,gettext-minimal)
873 ("pkg-config" ,pkg-config)
874 ("xmllint" ,libxml2)))
875 (synopsis "User documentation for the GNOME desktop")
877 "The GNOME User Documentation explains how to use the GNOME desktop and its
878 components. It covers usage and setup of the core GNOME programs by end-users
879 and system administrators.")
880 (home-page "https://live.gnome.org/DocumentationProject")
881 (license license:cc-by3.0)))
883 (define-public gnome-getting-started-docs
885 (name "gnome-getting-started-docs")
890 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
891 (version-major+minor version)
892 "/gnome-getting-started-docs-" version ".tar.xz"))
894 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
895 (build-system gnu-build-system)
897 `(("gettext" ,gettext-minimal)
899 ("pkg-config" ,pkg-config)
900 ("xmllint" ,libxml2)))
901 (synopsis "Help to get new users started with the GNOME desktop")
903 "The GNOME Getting Started Documentation contains GNOME's intuitive
904 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
906 It is normally used together with @command{gnome-initial-setup}, but is also
907 useful as a tutorial and users' guide for new or less experienced users.")
908 (home-page "https://live.gnome.org/DocumentationProject")
909 (license license:cc-by-sa3.0)))
912 ;; This version from GNOME's repository includes fixes for compiling with
913 ;; recent versions of the build tools. The latest activity on the
914 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
916 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
919 (version (git-version "0.97.3" "1" commit))
923 (url "https://gitlab.gnome.org/GNOME/dia.git/")
925 (file-name (git-file-name name version))
928 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
929 (build-system gnu-build-system)
931 `(("freetype" ,freetype)
932 ("gdk-pixbuf" ,gdk-pixbuf)
934 ("libart-lgpl" ,libart-lgpl)
938 `(("autoconf" ,autoconf)
939 ("automake" ,automake)
940 ("intltool" ,intltool)
944 ("pkg-config" ,pkg-config)
945 ("python-wrapper" ,python-wrapper)))
948 (modify-phases %standard-phases
949 (add-before 'bootstrap 'dont-configure-during-bootstrap
951 (setenv "NOCONFIGURE" "true")
953 (home-page "https://wiki.gnome.org/Apps/Dia")
954 (synopsis "Diagram creation for GNOME")
955 (description "Dia can be used to draw different types of diagrams, and
956 includes support for UML static structure diagrams (class diagrams), entity
957 relationship modeling, and network diagrams. The program supports various file
958 formats like PNG, SVG, PDF and EPS.")
959 (license license:gpl2+))))
961 ;; This is the unstable release, but it is required for the current stable
962 ;; release of gvfs (1.38.1).
963 (define-public libgdata
969 (uri (string-append "mirror://gnome/sources/" name "/"
970 (version-major+minor version) "/"
971 name "-" version ".tar.xz"))
974 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
975 (build-system gnu-build-system)
978 (modify-phases %standard-phases
979 (add-before 'check 'disable-failing-tests
981 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
982 ;; They have been removed in libgdata 0.17.6, so just do the same.
983 (substitute* "gdata/tests/Makefile"
984 (("picasaweb\\$\\(EXEEXT\\) ") ""))
987 `(("glib:bin" ,glib "bin")
988 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
989 ("intltool" ,intltool)
990 ("pkg-config" ,pkg-config)
991 ("uhttpmock" ,uhttpmock)))
993 `(("cyrus-sasl" ,cyrus-sasl)
994 ("glib-networking" ,glib-networking)))
998 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
999 ("json-glib" ,json-glib)
1000 ("liboauth" ,liboauth)
1001 ("libsoup" ,libsoup)
1002 ("libxml2" ,libxml2)))
1003 (home-page "https://wiki.gnome.org/Projects/libgdata")
1004 (synopsis "Library for accessing online service APIs")
1006 "libgdata is a GLib-based library for accessing online service APIs using
1007 the GData protocol — most notably, Google's services. It provides APIs to
1008 access the common Google services, and has full asynchronous support.")
1009 (license license:lgpl2.1+)))
1011 (define-public libgxps
1017 (uri (string-append "mirror://gnome/sources/" name "/"
1018 (version-major+minor version) "/"
1019 name "-" version ".tar.xz"))
1022 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1023 (build-system meson-build-system)
1025 `(("gobject-introspection" ,gobject-introspection)
1026 ("pkg-config" ,pkg-config)))
1029 ("libjpeg" ,libjpeg-turbo)
1031 ("libtiff" ,libtiff)))
1033 ;; In Requires of libgxps.pc.
1036 ("libarchive" ,libarchive)))
1037 (home-page "https://wiki.gnome.org/Projects/libgxps")
1038 (synopsis "GObject-based library for handling and rendering XPS documents")
1040 "libgxps is a GObject-based library for handling and rendering XPS
1041 documents. This package also contains binaries that can convert XPS documents
1043 (license license:lgpl2.1+)))
1045 (define-public gnome-characters
1047 (name "gnome-characters")
1052 (uri (string-append "mirror://gnome/sources/"
1053 "gnome-characters/" (version-major+minor version)
1054 "/gnome-characters-" version ".tar.xz"))
1057 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1058 (build-system meson-build-system)
1061 #:phases (modify-phases %standard-phases
1062 (add-after 'install 'wrap
1063 (lambda* (#:key outputs #:allow-other-keys)
1064 ;; GNOME Characters needs Typelib files from GTK and
1066 (wrap-program (string-append (assoc-ref outputs "out")
1067 "/bin/gnome-characters")
1068 `("GI_TYPELIB_PATH" ":" prefix
1069 (,(getenv "GI_TYPELIB_PATH"))))
1072 `(("gettext" ,gettext-minimal)
1073 ("glib:bin" ,glib "bin")
1074 ("gtk+:bin" ,gtk+ "bin")
1075 ("pkg-config" ,pkg-config)
1076 ("python" ,python-minimal)))
1080 ("libunistring" ,libunistring)
1081 ("gnome-desktop" ,gnome-desktop)))
1082 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1083 (synopsis "Find and insert unusual characters")
1084 (description "Characters is a simple utility application to find
1085 and insert unusual characters. It allows you to quickly find the
1086 character you are looking for by searching for keywords.")
1087 (license license:bsd-3)))
1089 (define-public gnome-common
1091 (name "gnome-common")
1096 (uri (string-append "mirror://gnome/sources/" name "/"
1097 (version-major+minor version) "/"
1098 name "-" version ".tar.xz"))
1101 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
1102 (build-system gnu-build-system)
1103 (home-page "https://www.gnome.org/")
1104 (synopsis "Bootstrap GNOME modules built from Git")
1105 (description "gnome-common contains various files needed to bootstrap
1106 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1107 can be used to configure a source directory checked out from Git and some
1108 commonly used macros.")
1109 (license license:gpl2+)))
1111 (define-public gnome-contacts
1113 (name "gnome-contacts")
1117 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1118 (version-major+minor version) "/"
1119 name "-" version ".tar.xz"))
1122 "17g1gh8yj58cfpdx69h2szivlbjgvv982kmhnkkh0i5bwj0zs2yy"))))
1123 (build-system meson-build-system)
1126 (modify-phases %standard-phases
1127 (add-after 'unpack 'generate-vapis
1128 (lambda* (#:key inputs #:allow-other-keys)
1129 ;; To generate goa's missing .vapi file
1131 (assoc-ref inputs "gnome-online-accounts:lib"))
1133 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1135 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1138 `(("glib:bin" ,glib "bin")
1139 ("gtk+:bin" ,gtk+ "bin")
1140 ("pkg-config" ,pkg-config)))
1142 `(("cheese" ,cheese)
1143 ("docbook-xml" ,docbook-xml)
1144 ("dockbook-xsl" ,docbook-xsl)
1145 ("evolution-data-server" ,evolution-data-server)
1146 ("gettext" ,gettext-minimal)
1147 ("gnome-desktop" ,gnome-desktop)
1148 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1149 ("gobject-introspection" ,gobject-introspection)
1150 ("gst-plugins-base" ,gst-plugins-base)
1153 ("libxslt" ,libxslt)
1154 ("telepathy-glib" ,telepathy-glib)
1158 ("telepathy-mission-control" ,telepathy-mission-control)))
1159 (synopsis "GNOME's integrated address book")
1161 "GNOME Contacts organizes your contact information from online and
1162 offline sources, providing a centralized place for managing your contacts.")
1163 (home-page "https://wiki.gnome.org/Apps/Contacts")
1164 (license license:gpl2+)))
1166 (define-public gnome-desktop
1168 (name "gnome-desktop")
1173 (uri (string-append "mirror://gnome/sources/" name "/"
1174 (version-major+minor version) "/"
1175 name "-" version ".tar.xz"))
1178 "0bidx4626x7k2myv6f64qv4fzmxv8v475wibiz19kj8hjfr737q9"))))
1179 (build-system meson-build-system)
1182 (modify-phases %standard-phases
1183 (add-before 'configure 'patch-path
1184 (lambda* (#:key inputs #:allow-other-keys)
1185 (let ((libc (assoc-ref inputs "libc")))
1186 (substitute* "libgnome-desktop/gnome-languages.c"
1188 (string-append "\"" libc "/bin/locale\"")))
1190 (add-before 'check 'pre-check
1191 (lambda* (#:key inputs #:allow-other-keys)
1192 ;; Tests require a running X server and locales.
1193 (system "Xvfb :1 &")
1194 (setenv "DISPLAY" ":1")
1195 (setenv "GUIX_LOCPATH"
1196 (string-append (assoc-ref inputs "glibc-locales")
1200 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1201 ("glibc-locales" ,glibc-locales) ; for tests
1202 ("gobject-introspection" ,gobject-introspection)
1203 ("itstool" ,itstool)
1204 ("intltool" ,intltool)
1205 ("pkg-config" ,pkg-config)
1206 ("xmllint" ,libxml2)
1207 ("xorg-server" ,xorg-server-for-tests)))
1209 ;; Required by gnome-desktop-3.0.pc.
1210 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1212 ("iso-codes" ,iso-codes)
1213 ("libseccomp" ,libseccomp)
1215 ("xkeyboard-config" ,xkeyboard-config)))
1217 `(("gdk-pixbuf" ,gdk-pixbuf)
1219 ("libxext" ,libxext)
1220 ("libxkbfile" ,libxkbfile)
1221 ("libxrandr" ,libxrandr)))
1222 (home-page "https://www.gnome.org/")
1224 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1226 "The libgnome-desktop library provides API shared by several applications
1227 on the desktop, but that cannot live in the platform for various reasons.
1228 There is no API or ABI guarantee, although we are doing our best to provide
1229 stability. Documentation for the API is available with gtk-doc.
1231 The gnome-about program helps find which version of GNOME is installed.")
1232 ; Some bits under the LGPL.
1233 (license license:gpl2+)))
1235 (define-public gnome-doc-utils
1237 (name "gnome-doc-utils")
1242 (uri (string-append "mirror://gnome/sources/" name "/"
1243 (version-major+minor version) "/"
1244 name "-" version ".tar.xz"))
1247 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1248 (build-system gnu-build-system)
1250 `(("intltool" ,intltool)
1251 ("docbook-xml" ,docbook-xml-4.4)
1252 ("python2-libxml2" ,python2-libxml2)
1253 ("libxml2" ,libxml2)
1254 ("libxslt" ,libxslt)
1255 ("pkg-config" ,pkg-config)
1256 ("python-2" ,python-2)))
1257 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1259 "Documentation utilities for the Gnome project")
1261 "Gnome-doc-utils is a collection of documentation utilities for the
1262 Gnome project. It includes xml2po tool which makes it easier to translate
1263 and keep up to date translations of documentation.")
1264 (license license:gpl2+))) ; xslt under lgpl
1266 (define-public gnome-disk-utility
1268 (name "gnome-disk-utility")
1272 (uri (string-append "mirror://gnome/sources/" name "/"
1273 (version-major+minor version) "/"
1274 name "-" version ".tar.xz"))
1277 "08vwbji9m1nhjjdiyhhaqi8cncys7i89b4bpy095f8475v8y05bg"))))
1278 (build-system meson-build-system)
1281 (modify-phases %standard-phases
1282 (add-after 'unpack 'skip-gtk-update-icon-cache
1283 ;; Don't create 'icon-theme.cache'.
1285 (substitute* "meson_post_install.py"
1286 (("gtk-update-icon-cache") "true"))
1289 `(("glib:bin" ,glib "bin")
1290 ("intltool" ,intltool)
1291 ("pkg-config" ,pkg-config)
1292 ("docbook-xml" ,docbook-xml)
1293 ("docbook-xsl" ,docbook-xsl)
1294 ("libxml2" ,libxml2)
1295 ("libxslt" ,libxslt)))
1298 ("appstream-glib" ,appstream-glib)
1299 ("gnome-settings-daemon" ,gnome-settings-daemon)
1301 ("libcanberra" ,libcanberra)
1302 ("libdvdread" ,libdvdread)
1303 ("libnotify" ,libnotify)
1304 ("libpwquality" ,libpwquality)
1305 ("libsecret" ,libsecret)
1306 ("udisks" ,udisks)))
1307 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1308 (synopsis "Disk management utility for GNOME")
1309 (description "Disk management utility for GNOME.")
1310 (license license:gpl2+)))
1312 (define-public gnome-font-viewer
1314 (name "gnome-font-viewer")
1318 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1319 (version-major+minor version)
1320 "/gnome-font-viewer-" version ".tar.xz"))
1323 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1324 (build-system meson-build-system)
1327 (modify-phases %standard-phases
1328 (add-after 'unpack 'patch-post-install-script
1330 (substitute* "meson-postinstall.sh"
1331 (("update-desktop-database") (which "true")))
1334 `(("gettext" ,gettext-minimal)
1335 ("glib:bin" ,glib "bin")
1336 ("pkg-config" ,pkg-config)))
1339 ("gnome-desktop" ,gnome-desktop)
1341 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1342 (synopsis "GNOME Fonts")
1343 (description "Application to show you the fonts installed on your computer
1344 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1345 the font would look under various sizes.")
1346 (license license:gpl2+)))
1354 (uri (string-append "mirror://gnome/sources/" name "/"
1355 (version-major+minor version) "/"
1356 name "-" version ".tar.xz"))
1359 "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m"))
1362 ;; This patch solves an ordering issue that showed up when
1363 ;; running the test suite against newer Glib 2.60. See
1364 ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
1367 (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
1368 "45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
1369 (file-name "gcr-hashtable-ordering.patch")
1372 "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
1373 (build-system gnu-build-system)
1376 (modify-phases %standard-phases
1377 ;; These fail because /var/lib/dbus/machine-id is not present in the
1378 ;; build environment.
1379 (add-after 'unpack 'disable-failing-tests
1381 (substitute* "gcr/test-system-prompt.c"
1382 (("g_test_add") "//")
1383 (("return.*") "return 0;"))
1385 (add-before 'check 'pre-check
1387 ;; Some tests expect to write to $HOME.
1388 (setenv "HOME" "/tmp")
1392 ("gnupg" ,gnupg) ;called as a child process during tests
1393 ("libgcrypt" ,libgcrypt)))
1395 `(("python" ,python-2) ;for tests
1396 ("pkg-config" ,pkg-config)
1397 ("glib" ,glib "bin")
1398 ("gobject-introspection" ,gobject-introspection)
1399 ("intltool" ,intltool)
1400 ("libxml2" ,libxml2)
1402 ("xsltproc" ,libxslt)))
1403 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1405 `(("p11-kit" ,p11-kit)
1408 (home-page "https://www.gnome.org")
1409 (synopsis "Libraries for displaying certificates and accessing key stores")
1411 "The GCR package contains libraries used for displaying certificates and
1412 accessing key stores. It also provides the viewer for crypto files on the
1414 (license license:lgpl2.1+)))
1416 (define-public libgnome-keyring
1418 (name "libgnome-keyring")
1422 (uri (string-append "mirror://gnome/sources/" name "/"
1423 (version-major+minor version) "/"
1424 name "-" version ".tar.xz"))
1427 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1428 (build-system gnu-build-system)
1430 `(("libgcrypt" ,libgcrypt)
1433 `(("pkg-config" ,pkg-config)
1434 ("glib" ,glib "bin")
1435 ("intltool" ,intltool)))
1437 ;; Referred to in .h files and .pc.
1439 (home-page "https://www.gnome.org")
1440 (synopsis "Accessing passwords from the GNOME keyring")
1442 "Client library to access passwords from the GNOME keyring.")
1444 ;; Though a couple of files are LGPLv2.1+.
1445 (license license:lgpl2.0+)))
1447 (define-public gnome-keyring
1449 (name "gnome-keyring")
1453 (uri (string-append "mirror://gnome/sources/" name "/"
1454 (version-major+minor version) "/"
1455 name "-" version ".tar.xz"))
1458 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
1459 (build-system gnu-build-system)
1461 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1465 (string-append "--with-pkcs11-config="
1466 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1467 (string-append "--with-pkcs11-modules="
1468 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1470 (modify-phases %standard-phases
1471 (add-after 'unpack 'fix-/bin/sh-reference
1473 (substitute* "po/Makefile.in.in"
1474 (("/bin/sh") (which "sh")))
1476 (add-after 'unpack 'fix-docbook
1477 (lambda* (#:key inputs #:allow-other-keys)
1478 (substitute* "docs/Makefile.am"
1479 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1480 (string-append (assoc-ref inputs "docbook-xsl")
1481 "/xml/xsl/docbook-xsl-"
1482 ,(package-version docbook-xsl)
1483 "/manpages/docbook.xsl")))
1484 (setenv "XML_CATALOG_FILES"
1485 (string-append (assoc-ref inputs "docbook-xml")
1486 "/xml/dtd/docbook/catalog.xml"))
1487 ;; Rerun the whole thing to avoid version mismatch ("This is
1488 ;; Automake 1.15.1, but the definition used by this
1489 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1490 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1493 (invoke "automake" "-ac"))))))
1495 `(("libgcrypt" ,libgcrypt)
1496 ("linux-pam" ,linux-pam)
1497 ("openssh" ,openssh)
1501 `(("pkg-config" ,pkg-config)
1502 ("glib" ,glib "bin")
1503 ("glib" ,glib) ; for m4 macros
1504 ("python" ,python-2) ;for tests
1505 ("intltool" ,intltool)
1506 ("autoconf" ,autoconf)
1507 ("automake" ,automake)
1508 ("libxslt" ,libxslt) ;for documentation
1509 ("docbook-xml" ,docbook-xml-4.2)
1510 ("docbook-xsl" ,docbook-xsl)))
1511 (home-page "https://www.gnome.org")
1512 (synopsis "Daemon to store passwords and encryption keys")
1514 "gnome-keyring is a program that keeps passwords and other secrets for
1515 users. It is run as a daemon in the session, similar to ssh-agent, and other
1516 applications locate it via an environment variable or D-Bus.
1518 The program can manage several keyrings, each with its own master password,
1519 and there is also a session keyring which is never stored to disk, but
1520 forgotten when the session ends.")
1521 (license license:lgpl2.1+)))
1523 (define-public evince
1529 (uri (string-append "mirror://gnome/sources/evince/"
1530 (version-major+minor version) "/"
1531 "evince-" version ".tar.xz"))
1534 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
1535 (build-system glib-or-gtk-build-system)
1537 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1539 (modify-phases %standard-phases
1540 (add-before 'install 'skip-gtk-update-icon-cache
1541 ;; Don't create 'icon-theme.cache'.
1543 (substitute* "data/Makefile"
1544 (("gtk-update-icon-cache") "true"))
1547 `(("libarchive" ,libarchive)
1548 ("libgxps" ,libgxps)
1549 ("libspectre" ,libspectre)
1550 ("djvulibre" ,djvulibre)
1551 ("ghostscript" ,ghostscript)
1552 ("poppler" ,poppler)
1553 ("libtiff" ,libtiff)
1555 ;; Build libkpathsea as a shared library for DVI support.
1556 ;; ("libkpathsea" ,texlive-bin)
1557 ("gnome-desktop" ,gnome-desktop)
1558 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1560 ("libgnome-keyring" ,libgnome-keyring)
1561 ("adwaita-icon-theme" ,adwaita-icon-theme)
1562 ("gdk-pixbuf" ,gdk-pixbuf)
1567 ("libxml2" ,libxml2)
1570 ("shared-mime-info" ,shared-mime-info)
1572 ("libcanberra" ,libcanberra)
1573 ("libsecret" ,libsecret)
1576 ("dogtail" ,python2-dogtail)))
1578 `(("itstool" ,itstool)
1579 ("intltool" ,intltool)
1580 ("glib" ,glib "bin")
1581 ("gobject-introspection" ,gobject-introspection)
1582 ("pkg-config" ,pkg-config)
1583 ("xmllint" ,libxml2)))
1585 "https://www.gnome.org/projects/evince/")
1586 (synopsis "GNOME's document viewer")
1588 "Evince is a document viewer for multiple document formats. It
1589 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1590 of Evince is to replace the multiple document viewers that exist
1591 on the GNOME Desktop with a single simple application.")
1592 (license license:gpl2+)))
1594 (define-public gsettings-desktop-schemas
1596 (name "gsettings-desktop-schemas")
1601 (uri (string-append "mirror://gnome/sources/" name "/"
1602 (version-major+minor version) "/"
1603 name "-" version ".tar.xz"))
1606 "0d8a6479vappgplq5crdr3ah0ykqcr3fw533wkx9v1a8lnrv8n9d"))))
1607 (build-system meson-build-system)
1609 '(#:phases (modify-phases %standard-phases
1610 (add-after 'unpack 'patch-schemas
1611 (lambda* (#:key inputs #:allow-other-keys)
1612 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1613 (substitute* (find-files "schemas"
1614 "\\.gschema\\.xml\\.in$")
1615 ;; Provide the correct file name of the default GNOME
1616 ;; background, 'adwaita-timed.xml'.
1617 (("@datadir@/backgrounds/gnome")
1618 (string-append theme "/share/backgrounds/gnome"))
1619 ;; Do not reference fonts, that may not exist.
1620 (("'Source Code Pro 10'") "'Monospace 11'"))
1624 ("gnome-backgrounds" ,gnome-backgrounds)))
1626 `(("intltool" ,intltool)
1627 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1628 ("gobject-introspection" ,gobject-introspection)
1629 ("pkg-config" ,pkg-config)))
1630 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1632 "GNOME settings for various desktop components")
1634 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1635 for settings shared by various components of the GNOME desktop.")
1636 (license license:lgpl2.1+)))
1638 (define-public icon-naming-utils
1640 (name "icon-naming-utils")
1645 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1646 version ".tar.bz2"))
1649 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1650 (build-system gnu-build-system)
1653 ("perl-xml-simple" ,perl-xml-simple)))
1656 (modify-phases %standard-phases
1657 (add-after 'install 'set-load-paths
1658 ;; Tell 'icon-name-mapping' where XML::Simple is.
1659 (lambda* (#:key outputs #:allow-other-keys)
1660 (let* ((out (assoc-ref outputs "out"))
1661 (prog (string-append out "/libexec/icon-name-mapping")))
1664 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1666 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1668 "Utility to implement the Freedesktop Icon Naming Specification")
1670 "To help with the transition to the Freedesktop Icon Naming
1671 Specification, the icon naming utility maps the icon names used by the
1672 GNOME and KDE desktops to the icon names proposed in the specification.")
1673 (license license:lgpl2.1+)))
1675 (define-public gnome-icon-theme
1677 (name "gnome-icon-theme")
1682 (uri (string-append "mirror://gnome/sources/" name "/"
1683 (version-major+minor version) "/"
1684 name "-" version ".tar.xz"))
1687 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1688 (build-system gnu-build-system)
1691 ;; Don't create 'icon-theme.cache'.
1692 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1693 (true (string-append coreutils "/bin/true")))
1694 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1696 `(("icon-naming-utils" ,icon-naming-utils)
1697 ("intltool" ,intltool)
1698 ("pkg-config" ,pkg-config)))
1699 (home-page "https://wiki.gnome.org/Personalization")
1700 (synopsis "GNOME icon theme")
1701 (description "Icons for the GNOME desktop.")
1702 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1704 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1705 (define-public adwaita-icon-theme
1706 (package (inherit gnome-icon-theme)
1707 (name "adwaita-icon-theme")
1711 (uri (string-append "mirror://gnome/sources/" name "/"
1712 (version-major+minor version) "/"
1713 name "-" version ".tar.xz"))
1716 "11ij35na8nisvxx3qh527iz33h6z2q1a7iinqyp7p65v0zjbd3b9"))))
1718 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1720 (define-public tango-icon-theme
1722 (name "tango-icon-theme")
1726 (uri (string-append "http://tango.freedesktop.org/releases/"
1727 "tango-icon-theme-" version ".tar.bz2"))
1730 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1731 (build-system gnu-build-system)
1733 `(("icon-naming-utils" ,icon-naming-utils)
1734 ("intltool" ,intltool)
1735 ("imagemagick" ,imagemagick)
1736 ("pkg-config" ,pkg-config)))
1737 (home-page "http://tango-project.org/")
1738 (synopsis "Tango icon theme")
1739 (description "This is an icon theme that follows the Tango visual
1741 (license license:public-domain)))
1743 (define-public shared-mime-info
1745 (name "shared-mime-info")
1749 (uri (string-append "https://freedesktop.org/~hadess/"
1750 "shared-mime-info-" version ".tar.xz"))
1753 "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"))))
1754 (build-system gnu-build-system)
1756 ;; The build system appears not to be parallel-safe.
1757 '(#:parallel-build? #f))
1760 ("libxml2" ,libxml2)))
1762 `(("intltool" ,intltool)
1763 ("pkg-config" ,pkg-config)))
1764 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1765 (synopsis "Database of common MIME types")
1767 "The shared-mime-info package contains the core database of common types
1768 and the update-mime-database command used to extend it. It requires glib2 to
1769 be installed for building the update command. Additionally, it uses intltool
1770 for translations, though this is only a dependency for the maintainers. This
1771 database is translated at Transifex.")
1772 (license license:gpl2+)))
1774 (define-public system-config-printer
1776 (name "system-config-printer")
1782 "https://github.com/OpenPrinting/system-config-printer/releases/"
1784 "/system-config-printer-" version ".tar.xz"))
1786 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1787 (build-system glib-or-gtk-build-system)
1789 `(#:imported-modules ((guix build python-build-system)
1790 ,@%glib-or-gtk-build-system-modules)
1792 (modify-phases %standard-phases
1793 (add-after 'unpack 'patch-Makefile.am
1795 ;; The Makefile generates some scripts, so set a valid shebang
1796 (substitute* "Makefile.am"
1797 (("/bin/bash") (which "bash")))
1798 (delete-file "configure")
1800 (add-after 'unpack 'patch-docbook-xml
1801 (lambda* (#:key inputs #:allow-other-keys)
1802 ;; Modify the man XML otherwise xmlto tries to access the network
1803 (substitute* "man/system-config-printer.xml"
1804 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1805 (string-append (assoc-ref inputs "docbook-xml")
1806 "/xml/dtd/docbook/")))
1808 (add-after 'install 'wrap-for-python
1809 (@@ (guix build python-build-system) wrap))
1810 (add-after 'install 'wrap
1811 (lambda* (#:key outputs #:allow-other-keys)
1812 (let ((out (assoc-ref outputs "out"))
1813 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1816 (wrap-program program
1817 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1819 (string-append out "/bin/" name))
1820 '("system-config-printer"
1821 "system-config-printer-applet"
1822 "install-printerdriver"
1823 "scp-dbus-service"))))
1826 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1827 ("gobject-introspection" ,gobject-introspection)
1830 ("python-dbus" ,python-dbus)
1831 ("python-pygobject" ,python-pygobject)
1832 ("python-pycups" ,python-pycups)
1833 ("python-requests" ,python-requests)
1834 ("python-pycairo" ,python-pycairo)
1835 ("libnotify" ,libnotify)
1836 ("packagekit" ,packagekit)))
1838 `(("pkg-config" ,pkg-config)
1839 ("desktop-file-utils" ,desktop-file-utils)
1841 ("autoconf" ,autoconf)
1842 ("automake" ,automake)
1843 ("intltool" ,intltool)
1845 ("docbook-xml" ,docbook-xml-4.1.2)
1846 ("docbook-xsl" ,docbook-xsl)
1847 ("libxml2" ,libxml2)))
1848 (home-page "https://github.com/zdohnal/system-config-printer")
1849 (synopsis "CUPS administration tool")
1851 "system-config-printer is a CUPS administration tool. It's written in
1852 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1854 (license license:gpl2+)))
1856 (define-public hicolor-icon-theme
1858 (name "hicolor-icon-theme")
1863 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1864 "hicolor-icon-theme-" version ".tar.xz"))
1867 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1868 (build-system gnu-build-system)
1870 `(#:tests? #f)) ; no check target
1871 (home-page "https://icon-theme.freedesktop.org/releases/")
1873 "Freedesktop icon theme")
1875 "Freedesktop icon theme.")
1876 (license license:gpl2)))
1878 (define-public libnotify
1885 (uri (string-append "mirror://gnome/sources/" name "/"
1886 (version-major+minor version) "/"
1887 name "-" version ".tar.xz"))
1890 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1891 (build-system gnu-build-system)
1893 `(#:configure-flags '("--disable-static")))
1895 `(;; In Requires of libnotify.pc.
1896 ("gdk-pixbuf" ,gdk-pixbuf)
1900 ("libpng" ,libpng)))
1902 `(("pkg-config" ,pkg-config)
1903 ("glib" ,glib "bin")
1904 ("gobject-introspection" ,gobject-introspection)))
1905 (home-page "https://developer-next.gnome.org/libnotify/")
1907 "GNOME desktop notification library")
1909 "Libnotify is a library that sends desktop notifications to a
1910 notification daemon, as defined in the Desktop Notifications spec. These
1911 notifications can be used to inform the user about an event or display
1912 some form of information without getting in the user's way.")
1913 (license license:lgpl2.1+)))
1915 (define-public libpeas
1922 (uri (string-append "mirror://gnome/sources/" name "/"
1923 (version-major+minor version) "/"
1924 name "-" version ".tar.xz"))
1927 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
1928 (build-system meson-build-system)
1931 (modify-phases %standard-phases
1932 (add-before 'check 'start-xserver
1933 (lambda* (#:key inputs #:allow-other-keys)
1934 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1936 (setenv "DISPLAY" disp)
1937 ;; Tests require a running X server.
1938 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
1944 ("python-pygobject" ,python-pygobject)))
1946 `(("pkg-config" ,pkg-config)
1947 ("gettext" ,gettext-minimal)
1948 ("glib:bin" ,glib "bin")
1949 ("gobject-introspection" ,gobject-introspection)
1950 ("xorg-server" ,xorg-server-for-tests)))
1952 ;; The .pc file "Requires" gobject-introspection.
1953 `(("gobject-introspection" ,gobject-introspection)))
1954 (home-page "https://wiki.gnome.org/Libpeas")
1955 (synopsis "GObject plugin system")
1957 "Libpeas is a gobject-based plugin engine, targeted at giving every
1958 application the chance to assume its own extensibility. It also has a set of
1959 features including, but not limited to: multiple extension points; on-demand
1960 (lazy) programming language support for C, Python and JS; simplicity of the
1962 (license license:lgpl2.0+)))
1964 (define-public gtkglext
1970 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1971 version "/gtkglext-" version ".tar.gz"))
1973 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1974 (patches (search-patches
1975 "gtkglext-disable-disable-deprecated.patch"))))
1976 (build-system gnu-build-system)
1979 (modify-phases %standard-phases
1980 ;; Fix a collision between a local variable and a definition from
1981 ;; glibc's string.h.
1982 (add-after 'unpack 'fix-collision
1984 (substitute* "gdk/gdkglshapes.c"
1985 ((" index") " triangle_index"))
1987 (inputs `(("gtk+" ,gtk+-2)
1992 (native-inputs `(("pkg-config" ,pkg-config)
1993 ("glib" ,glib "bin")))
1994 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1995 (home-page "https://projects.gnome.org/gtkglext")
1996 (synopsis "OpenGL extension to GTK+")
1997 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1998 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1999 API add-ons to make GTK+ widgets OpenGL-capable.")
2000 (license license:lgpl2.1+)))
2002 (define-public glade3
2008 (uri (string-append "mirror://gnome/sources/" name "/"
2009 (version-major+minor version) "/"
2010 name "-" version ".tar.xz"))
2013 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
2014 (build-system glib-or-gtk-build-system)
2016 `(#:tests? #f ; needs X, GL, and software rendering
2018 (modify-phases %standard-phases
2019 (add-before 'configure 'fix-docbook
2020 (lambda* (#:key inputs #:allow-other-keys)
2021 (substitute* "man/Makefile.in"
2022 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2023 (string-append (assoc-ref inputs "docbook-xsl")
2024 "/xml/xsl/docbook-xsl-"
2025 ,(package-version docbook-xsl)
2026 "/manpages/docbook.xsl")))
2030 ("libxml2" ,libxml2)))
2032 `(("intltool" ,intltool)
2033 ("itstool" ,itstool)
2034 ("libxslt" ,libxslt) ;for xsltproc
2035 ("docbook-xml" ,docbook-xml-4.2)
2036 ("docbook-xsl" ,docbook-xsl)
2037 ("python" ,python-2)
2038 ("pkg-config" ,pkg-config)))
2039 (home-page "https://glade.gnome.org")
2040 (synopsis "GTK+ rapid application development tool")
2041 (description "Glade is a rapid application development (RAD) tool to
2042 enable quick & easy development of user interfaces for the GTK+ toolkit and
2043 the GNOME desktop environment.")
2044 (license license:lgpl2.0+)))
2046 (define-public libcroco
2052 (uri (string-append "mirror://gnome/sources/" name "/"
2053 (version-major+minor version) "/"
2054 name "-" version ".tar.xz"))
2057 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
2058 (build-system gnu-build-system)
2060 `(("pkg-config" ,pkg-config)))
2063 ("libxml2" ,libxml2)
2065 (home-page "https://github.com/GNOME/libcroco")
2066 (synopsis "CSS2 parsing and manipulation library")
2068 "Libcroco is a standalone CSS2 parsing and manipulation library.
2069 The parser provides a low level event driven SAC-like API and a CSS object
2070 model like API. Libcroco provides a CSS2 selection engine and an experimental
2071 XML/CSS rendering engine.")
2074 (license license:lgpl2.1)))
2076 (define-public libgsf
2082 (uri (string-append "mirror://gnome/sources/" name "/"
2083 (version-major+minor version) "/"
2084 name "-" version ".tar.xz"))
2087 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
2088 (build-system gnu-build-system)
2090 `(("intltool" ,intltool)
2091 ("pkg-config" ,pkg-config)))
2093 `(("python" ,python)
2097 `(("gdk-pixbuf" ,gdk-pixbuf)
2099 ("libxml2" ,libxml2)))
2100 (home-page "https://www.gnome.org/projects/libgsf")
2101 (synopsis "GNOME's Structured File Library")
2103 "Libgsf aims to provide an efficient extensible I/O abstraction for
2104 dealing with different structured file formats.")
2107 (license license:lgpl2.1)))
2109 (define-public librsvg
2111 (replacement librsvg/fixed)
2116 (uri (string-append "mirror://gnome/sources/" name "/"
2117 (version-major+minor version) "/"
2118 name "-" version ".tar.xz"))
2121 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
2122 (build-system gnu-build-system)
2125 (list "--disable-static"
2126 "--enable-vala") ; needed for e.g. gnome-mines
2128 (modify-phases %standard-phases
2129 (add-before 'configure 'pre-configure
2130 (lambda* (#:key inputs #:allow-other-keys)
2131 (substitute* "gdk-pixbuf-loader/Makefile.in"
2132 ;; By default the gdk-pixbuf loader is installed under
2133 ;; gdk-pixbuf's prefix. Work around that.
2134 (("gdk_pixbuf_moduledir = .*$")
2135 (string-append "gdk_pixbuf_moduledir = "
2136 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2138 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2139 (("gdk_pixbuf_cache_file = .*$")
2140 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2142 (add-before 'check 'remove-failing-tests
2144 (with-directory-excursion "tests/fixtures/reftests"
2145 (for-each delete-file
2146 '(;; This test fails on i686:
2147 "svg1.1/masking-path-04-b.svg"
2148 ;; This test fails on armhf:
2149 "svg1.1/masking-mask-01-b.svg"
2150 ;; This test fails on aarch64:
2151 "bugs/777834-empty-text-children.svg")))
2154 `(("pkg-config" ,pkg-config)
2156 ("glib" ,glib "bin") ; glib-mkenums, etc.
2157 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2160 ("libcroco" ,libcroco)
2163 ("libxml2" ,libxml2)))
2165 ;; librsvg-2.0.pc refers to all of that.
2167 ("gdk-pixbuf" ,gdk-pixbuf)
2169 (home-page "https://wiki.gnome.org/LibRsvg")
2170 (synopsis "Render SVG files using Cairo")
2172 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2174 (license license:lgpl2.0+)))
2176 (define librsvg/fixed
2183 (uri (string-append "mirror://gnome/sources/" name "/"
2184 (version-major+minor version) "/"
2185 name "-" version ".tar.xz"))
2188 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))))
2190 (define-public librsvg-next
2197 (uri (string-append "mirror://gnome/sources/librsvg/"
2198 (version-major+minor version) "/"
2199 "librsvg-" version ".tar.xz"))
2202 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl"))
2203 (modules '((guix build utils)))
2205 '(begin (delete-file-recursively "vendor")
2206 ;; Don't demand an exact version for string_cache
2207 (substitute* "rsvg_internals/Cargo.toml"
2210 (build-system cargo-build-system)
2212 `(#:modules ((guix build cargo-build-system)
2214 ((guix build gnu-build-system) #:prefix gnu:))
2215 #:vendor-dir "vendor"
2217 (("rust-bitflags" ,rust-bitflags-1)
2218 ("rust-cairo-rs" ,rust-cairo-rs-0.7)
2219 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
2220 ("rust-cssparser" ,rust-cssparser-0.25)
2221 ("rust-data-url" ,rust-data-url-0.1)
2222 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2223 ("rust-encoding" ,rust-encoding-0.2)
2224 ("rust-float-cmp" ,rust-float-cmp-0.5)
2225 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.7)
2226 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
2227 ("rust-gio" ,rust-gio-0.7)
2228 ("rust-gio-sys" ,rust-gio-sys-0.9)
2229 ("rust-glib" ,rust-glib-0.8)
2230 ("rust-glib-sys" ,rust-glib-sys-0.9)
2231 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
2232 ("rust-itertools" ,rust-itertools-0.8)
2233 ("rust-language-tags" ,rust-language-tags-0.2)
2234 ("rust-lazy-static" ,rust-lazy-static-1)
2235 ("rust-libc" ,rust-libc-0.2)
2236 ("rust-locale-config" ,rust-locale-config-0.3)
2237 ("rust-markup5ever" ,rust-markup5ever-0.9)
2238 ("rust-nalgebra" ,rust-nalgebra-0.18)
2239 ("rust-num-traits" ,rust-num-traits-0.2)
2240 ("rust-pkg-config" ,rust-pkg-config-0.3)
2241 ("rust-pango" ,rust-pango-0.7)
2242 ("rust-pango-sys" ,rust-pango-sys-0.9)
2243 ("rust-pangocairo" ,rust-pangocairo-0.8)
2244 ("rust-phf" ,rust-phf-0.7)
2245 ("rust-rayon" ,rust-rayon-1.3)
2246 ("rust-rctree" ,rust-rctree-0.3)
2247 ("rust-string-cache" ,rust-string-cache-0.7)
2248 ("rust-regex" ,rust-regex-1.3)
2249 ("rust-url" ,rust-url-2.1)
2250 ("rust-xml-rs" ,rust-xml-rs-0.8))
2251 #:cargo-development-inputs
2252 (("rust-cairo-rs" ,rust-cairo-rs-0.7)
2253 ("rust-criterion" ,rust-criterion-0.2))
2255 (modify-phases %standard-phases
2256 (add-after 'unpack 'prepare-for-build
2258 ;; In lieu of #:make-flags
2260 ;; Something about the build environment resists building
2261 ;; successfully with the '--locked' flag.
2262 (substitute* '("Makefile.am"
2266 (add-before 'configure 'pre-configure
2268 (substitute* "gdk-pixbuf-loader/Makefile.in"
2269 ;; By default the gdk-pixbuf loader is installed under
2270 ;; gdk-pixbuf's prefix. Work around that.
2271 (("gdk_pixbuf_moduledir = .*$")
2272 (string-append "gdk_pixbuf_moduledir = "
2273 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2275 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2276 (("gdk_pixbuf_cache_file = .*$")
2277 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2279 (add-after 'configure 'gnu-configure
2280 (assoc-ref gnu:%standard-phases 'configure))
2281 ;(lambda* (#:key outputs #:allow-other-keys)
2282 ; ((assoc-ref gnu:%standard-phases 'configure)
2284 ; #:configure-flags ("--disable-static"
2285 ; "--enable-vala"))))
2286 (add-after 'configure 'dont-vendor-self
2287 (lambda* (#:key vendor-dir #:allow-other-keys)
2288 ;; Don't keep the whole tarball in the vendor directory
2289 (delete-file-recursively
2290 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
2293 (assoc-ref gnu:%standard-phases 'build))
2296 ((assoc-ref gnu:%standard-phases 'check)
2297 #:test-target "check")))
2299 (assoc-ref gnu:%standard-phases 'install))
2300 (add-before 'check 'remove-failing-tests
2302 (with-directory-excursion "tests/fixtures/reftests"
2303 (for-each delete-file
2304 '(;; The images produced by these tests differ slightly
2305 ;; from their reference counterparts due to differences
2306 ;; in the build environment (missing fonts, etc). See
2307 ;; <tests/README.md> for details.
2308 ;; These fail on x86_64.
2309 "svg1.1/coords-viewattr-02-b.svg"
2310 "svg1.1/filters-composite-04-f.svg"
2311 "svg1.1/filters-image-01-b.svg"
2312 "svg1.1/filters-conv-02-f.svg"
2313 "svg1.1/filters-conv-04-f.svg"
2314 ;; This test fails on i686:
2315 "svg1.1/masking-path-04-b.svg"
2316 ;; This test fails on armhf:
2317 "svg1.1/masking-mask-01-b.svg"
2318 ;; This test fails on aarch64:
2319 "bugs/777834-empty-text-children.svg")))
2321 (license license:lgpl2.1+)))
2323 (define-public libidl
2329 (uri (string-append "mirror://gnome/sources/libIDL/"
2330 (version-major+minor version) "/"
2331 "libIDL-" version ".tar.bz2"))
2334 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2335 (build-system gnu-build-system)
2336 (inputs `(("glib" ,glib)))
2338 `(("pkg-config" ,pkg-config)
2341 (home-page "http://freecode.com/projects/libidl")
2342 (synopsis "Create trees of CORBA Interface Definition Language files")
2343 (description "Libidl is a library for creating trees of CORBA Interface
2344 Definition Language (idl) files, which is a specification for defining
2345 portable interfaces. libidl was initially written for orbit (the orb from the
2346 GNOME project, and the primary means of libidl distribution). However, the
2347 functionality was designed to be as reusable and portable as possible.")
2348 (properties `((upstream-name . "libIDL")))
2349 (license license:lgpl2.0+)))
2352 (define-public orbit2
2358 (uri (let ((upstream-name "ORBit2"))
2359 (string-append "mirror://gnome/sources/" upstream-name "/"
2360 (version-major+minor version) "/"
2361 upstream-name "-" version ".tar.bz2")))
2364 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2365 (build-system gnu-build-system)
2368 '(;; We don't need static libraries, plus they don't build reproducibly
2369 ;; (non-deterministic ordering of .o files in the archive.)
2372 ;; The programmer kindly gives us a hook to turn off deprecation
2374 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2375 ;; ... which they then completly ignore !!
2377 (modify-phases %standard-phases
2378 (add-before 'configure 'ignore-deprecations
2380 (substitute* "linc2/src/Makefile.in"
2381 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2383 (inputs `(("glib" ,glib)
2384 ("libidl" ,libidl)))
2386 `(("pkg-config" ,pkg-config)))
2387 (home-page "https://projects.gnome.org/orbit2/")
2388 (synopsis "CORBA 2.4-compliant Object Request Broker")
2389 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2390 featuring mature C, C++ and Python bindings.")
2391 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2392 ;; a version. SOME of the code files have licence notices for GPLv2+.
2393 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2394 (license license:gpl2+)
2395 (properties `((upstream-name . "ORBit2")))))
2398 (define-public libbonobo
2404 (uri (string-append "mirror://gnome/sources/" name "/"
2405 (version-major+minor version)
2406 "/" name "-" version ".tar.bz2"))
2408 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2409 (patches (search-patches
2410 "libbonobo-activation-test-race.patch"))))
2411 (build-system gnu-build-system)
2413 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2415 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2416 ;; ... which they then completly ignore !!
2418 (modify-phases %standard-phases
2419 (add-before 'configure 'ignore-deprecations
2421 (substitute* "activation-server/Makefile.in"
2422 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2425 ;; There's apparently a race condition between the server stub
2426 ;; generation and linking of the example under 'samples/echo' that can
2427 ;; lead do undefined references when building in parallel, as reported
2428 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2429 ;; Thus, disable parallel builds.
2430 #:parallel-build? #f))
2431 (inputs `(("popt" ,popt)
2432 ("libxml2" ,libxml2)))
2433 ;; The following are Required by the .pc file
2436 ("orbit2" ,orbit2)))
2438 `(("intltool" ,intltool)
2439 ("pkg-config" ,pkg-config)
2440 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2443 (home-page "https://developer.gnome.org/libbonobo/")
2444 (synopsis "Framework for creating reusable components for use in GNOME applications")
2445 (description "Bonobo is a framework for creating reusable components for
2446 use in GNOME applications, built on top of CORBA.")
2447 ;; Licence not explicitly stated. Source files contain no licence notices.
2448 ;; Tarball contains text of both GPLv2 and LGPLv2
2449 ;; GPLv2 covers both conditions
2450 (license license:gpl2+)))
2453 (define-public gconf
2460 (let ((upstream-name "GConf"))
2461 (string-append "mirror://gnome/sources/" upstream-name "/"
2462 (version-major+minor version) "/"
2463 upstream-name "-" version ".tar.xz")))
2465 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2466 (build-system gnu-build-system)
2467 (inputs `(("dbus-glib" ,dbus-glib)
2468 ("libxml2" ,libxml2)))
2469 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2470 ("orbit2" ,orbit2)))
2472 `(("intltool" ,intltool)
2473 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2474 ("pkg-config" ,pkg-config)))
2475 (home-page "https://projects.gnome.org/gconf/")
2476 (synopsis "Store application preferences")
2477 (description "Gconf is a system for storing application preferences. It
2478 is intended for user preferences; not arbitrary data storage.")
2479 (license license:lgpl2.0+)
2480 (properties '((upstream-name . "GConf")))))
2483 (define-public gnome-mime-data
2485 (name "gnome-mime-data")
2489 (uri (string-append "mirror://gnome/sources/" name "/"
2490 (version-major+minor version) "/"
2491 name "-" version ".tar.bz2"))
2494 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2495 (build-system gnu-build-system)
2498 ("intltool" ,intltool)))
2500 '(#:phases (modify-phases %standard-phases
2501 (add-after 'configure 'use-our-intltool
2503 ;; Do not use the bundled intltool commands, which lack
2504 ;; the "dotless @INC" fixes of our 'intltool' package.
2505 (substitute* (find-files "." "^Makefile$")
2506 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2507 (string-append "INTLTOOL_" tool " = intltool-"
2508 (string-downcase tool) "\n")))
2510 (home-page "https://www.gnome.org")
2511 (synopsis "Base MIME and Application database for GNOME")
2512 (description "GNOME Mime Data is a module which contains the base MIME
2513 and Application database for GNOME. The data stored by this module is
2514 designed to be accessed through the MIME functions in GnomeVFS.")
2515 (license license:gpl2+)))
2518 (define-public gnome-vfs
2524 (uri (string-append "mirror://gnome/sources/" name "/"
2525 (version-major+minor version) "/"
2526 name "-" version ".tar.bz2"))
2529 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2530 (build-system gnu-build-system)
2533 (modify-phases %standard-phases
2534 (add-before 'configure 'ignore-deprecations
2536 (substitute* '("libgnomevfs/Makefile.in"
2537 "daemon/Makefile.in")
2538 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2540 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2542 (substitute* "test/test-async-cancel.c"
2543 (("EXIT_FAILURE") "77"))
2545 (inputs `(("libxml2" ,libxml2)
2546 ("dbus-glib" ,dbus-glib)
2548 ("gnome-mime-data" ,gnome-mime-data)
2551 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2552 ("intltool" ,intltool)
2553 ("pkg-config" ,pkg-config)))
2554 (home-page "https://developer.gnome.org/gnome-vfs/")
2555 (synopsis "Access files and folders in GNOME applications")
2557 "GnomeVFS is the core library used to access files and folders in GNOME
2558 applications. It provides a file system abstraction which allows applications
2559 to access local and remote files with a single consistent API.")
2560 (license license:lgpl2.0+)))
2564 (define-public libgnome
2570 (uri (string-append "mirror://gnome/sources/" name "/"
2571 (version-major+minor version) "/"
2572 name "-" version ".tar.bz2"))
2575 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2576 (patches (search-patches "libgnome-encoding.patch"))))
2577 (build-system gnu-build-system)
2580 (modify-phases %standard-phases
2581 (add-before 'configure 'enable-deprecated
2583 (substitute* "libgnome/Makefile.in"
2584 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2586 (inputs `(("libxml2" ,libxml2)))
2588 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2589 ("intltool" ,intltool)
2590 ("pkg-config" ,pkg-config)))
2591 ;; The following are listed as Required in the .pc file
2592 ;; (except for libcanberra -- which seems to be oversight on the part
2593 ;; of the upstream developers -- anything that links against libgnome,
2594 ;; must also link against libcanberra
2596 `(("libcanberra" ,libcanberra)
2597 ("libbonobo" ,libbonobo)
2599 ("gnome-vfs" ,gnome-vfs)
2600 ("popt" ,popt))) ;gnome-program.h includes popt.h
2601 (home-page "https://developer.gnome.org/libgnome/")
2602 (synopsis "Useful routines for building applications")
2603 (description "The libgnome library provides a number of useful routines
2604 for building modern applications, including session management, activation of
2605 files and URIs, and displaying help.")
2606 (license license:lgpl2.0+)))
2609 (define-public libart-lgpl
2611 (name "libart-lgpl")
2615 (uri (let ((upstream-name "libart_lgpl"))
2616 (string-append "mirror://gnome/sources/" upstream-name "/"
2617 (version-major+minor version) "/"
2618 upstream-name "-" version ".tar.bz2")))
2621 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2622 (build-system gnu-build-system)
2624 `(("pkg-config" ,pkg-config)))
2625 (home-page "https://people.gnome.org/~mathieu/libart")
2626 (synopsis "2D drawing library")
2627 (description "Libart is a 2D drawing library intended as a
2628 high-quality vector-based 2D library with antialiasing and alpha composition.")
2629 (license license:lgpl2.0+)))
2633 (define-public libgnomecanvas
2635 (name "libgnomecanvas")
2639 (uri (string-append "mirror://gnome/sources/" name "/"
2640 (version-major+minor version) "/"
2641 name "-" version ".tar.gz"))
2644 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2645 (build-system gnu-build-system)
2646 ;; Mentioned as Required in the .pc file
2647 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2650 `(("intltool" ,intltool)
2651 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2652 ("pkg-config" ,pkg-config)))
2653 (home-page "https://developer.gnome.org/libgnomecanvas/")
2654 (synopsis "Flexible widget for creating interactive structured graphics")
2655 (description "The GnomeCanvas widget provides a flexible widget for
2656 creating interactive structured graphics.")
2657 (license license:lgpl2.0+)))
2659 (define-public libgnomecanvasmm
2661 (name "libgnomecanvasmm")
2665 (uri (string-append "mirror://gnome/sources/" name "/"
2666 (version-major+minor version) "/"
2667 name "-" version ".tar.bz2"))
2670 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2671 (build-system gnu-build-system)
2672 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2674 `(("gtkmm-2" ,gtkmm-2)
2675 ("pkg-config" ,pkg-config)))
2676 (home-page "https://gtkmm.org")
2677 (synopsis "C++ bindings to the GNOME Canvas library")
2678 (description "C++ bindings to the GNOME Canvas library.")
2679 (license license:lgpl2.0+)))
2681 (define-public libgnomeui
2687 (uri (string-append "mirror://gnome/sources/" name "/"
2688 (version-major+minor version) "/"
2689 name "-" version ".tar.bz2"))
2690 (patches (search-patches "libgnomeui-utf8.patch"))
2693 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2694 (build-system gnu-build-system)
2695 ;; Mentioned as Required in the .pc file
2696 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2697 ("libgnome" ,libgnome)
2698 ("libgnomecanvas" ,libgnomecanvas)
2699 ("libgnome-keyring" ,libgnome-keyring)))
2700 (inputs `(("libjpeg" ,libjpeg)
2702 ("libbonobo" ,libbonobo)
2703 ("libxml2" ,libxml2)
2704 ("libglade" ,libglade)))
2706 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2707 ("intltool" ,intltool)
2708 ("pkg-config" ,pkg-config)))
2709 (home-page "https://developer.gnome.org/libgnomeui/")
2710 (synopsis "Additional widgets for applications")
2711 (description "The libgnomeui library provides additional widgets for
2712 applications. Many of the widgets from libgnomeui have already been
2714 (license license:lgpl2.0+)))
2716 (define-public libglade
2722 (uri (string-append "mirror://gnome/sources/" name "/"
2723 (version-major+minor version) "/"
2724 name "-" version ".tar.bz2"))
2727 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2728 (build-system gnu-build-system)
2730 `(("python" ,python))) ;; needed for the optional libglade-convert program
2732 `(("gtk+-2" ,gtk+-2)
2733 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2735 `(("pkg-config" ,pkg-config)))
2736 (home-page "https://developer.gnome.org/libglade")
2737 (synopsis "Load glade interfaces and access the glade built widgets")
2738 (description "Libglade is a library that provides interfaces for loading
2739 graphical interfaces described in glade files and for accessing the
2740 widgets built in the loading process.")
2741 (license license:gpl2+))) ; This is correct. GPL not LGPL
2743 (define-public libgnomeprint
2744 ;; This library has been deprecated since 2006; see
2745 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2747 (name "libgnomeprint")
2751 (uri (string-append "mirror://gnome/sources/" name "/"
2752 (version-major+minor version) "/"
2753 name "-" version ".tar.bz2"))
2756 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2757 (build-system gnu-build-system)
2760 ("libart-lgpl" ,libart-lgpl)
2762 ("libxml2" ,libxml2)))
2764 `(("intltool" ,intltool)
2765 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2766 ("pkg-config" ,pkg-config)))
2767 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2768 (synopsis "Printing framework for GNOME")
2770 "GNOME-print was a printing framework for GNOME. It has been deprecated
2771 since ca. 2006, when GTK+ itself incorporated printing support.")
2772 (license license:lgpl2.0+)))
2775 (define-public libgnomeprintui
2776 ;; Deprecated; see libgnomeprint.
2778 (name "libgnomeprintui")
2782 (uri (string-append "mirror://gnome/sources/" name "/"
2783 (version-major+minor version) "/"
2784 name "-" version ".tar.bz2"))
2787 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2788 (build-system gnu-build-system)
2789 ;; Mentioned as Required in the .pc file
2790 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2791 (inputs `(("gtk+" ,gtk+-2)
2793 ("gnome-icon-theme" ,gnome-icon-theme)
2794 ("libgnomecanvas" ,libgnomecanvas)
2795 ("libxml2" ,libxml2)))
2797 `(("intltool" ,intltool)
2798 ("pkg-config" ,pkg-config)))
2799 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2800 (synopsis "Printing framework for GNOME")
2801 (description (package-description libgnomeprint))
2802 (license license:lgpl2.0+)))
2804 (define-public libbonoboui
2806 (name "libbonoboui")
2810 (uri (string-append "mirror://gnome/sources/" name "/"
2811 (version-major+minor version) "/"
2812 name "-" version ".tar.bz2"))
2815 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2816 (build-system gnu-build-system)
2819 (modify-phases %standard-phases
2820 (add-before 'check 'start-xserver
2821 (lambda* (#:key inputs #:allow-other-keys)
2822 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2825 (setenv "HOME" (getcwd))
2826 (setenv "DISPLAY" disp)
2827 ;; There must be a running X server and make check doesn't start one.
2828 ;; Therefore we must do it.
2829 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2830 ;; Mentioned as Required by the .pc file
2831 (propagated-inputs `(("libxml2" ,libxml2)))
2834 ("pangox-compat" ,pangox-compat)
2835 ("libgnome" ,libgnome)
2836 ("libgnomecanvas" ,libgnomecanvas)
2837 ("libglade" ,libglade)))
2839 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2840 ("intltool" ,intltool)
2841 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2842 ("pkg-config" ,pkg-config)))
2843 (home-page "https://developer.gnome.org/libbonoboui/")
2844 (synopsis "Some user interface controls using Bonobo")
2845 (description "The Bonobo UI library provides a number of user interface
2846 controls using the Bonobo component framework.")
2847 (license license:lgpl2.0+)))
2849 (define-public libwnck
2855 (uri (string-append "mirror://gnome/sources/" name "/"
2856 (version-major+minor version) "/"
2857 name "-" version ".tar.xz"))
2860 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2861 (build-system meson-build-system)
2863 `(("pkg-config" ,pkg-config)
2864 ("glib" ,glib "bin") ; for glib-mkenums
2865 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
2866 ("intltool" ,intltool)))
2869 ("libxres" ,libxres)
2870 ("startup-notification" ,startup-notification)))
2871 (home-page "https://developer.gnome.org/libwnck/")
2872 (synopsis "Window Navigator Construction Kit")
2874 "Libwnck is the Window Navigator Construction Kit, a library for use in
2875 writing pagers, tasklists, and more generally applications that are dealing
2876 with window management. It tries hard to respect the Extended Window Manager
2877 Hints specification (EWMH).")
2878 (license license:lgpl2.0+)))
2880 ;; stable version for gtk2, required by xfwm4.
2881 (define-public libwnck-2
2882 (package (inherit libwnck)
2887 (uri (string-append "mirror://gnome/sources/" name "/"
2888 (version-major+minor version) "/"
2889 name "-" version ".tar.xz"))
2892 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2893 (build-system gnu-build-system)
2895 `(("pkg-config" ,pkg-config)
2896 ("intltool" ,intltool)))
2899 ("libxres" ,libxres)
2900 ("startup-notification" ,startup-notification)))))
2902 (define-public goffice
2908 (uri (string-append "mirror://gnome/sources/goffice/"
2909 (version-major+minor version) "/"
2910 "goffice-" version ".tar.xz"))
2912 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
2913 (build-system gnu-build-system)
2915 "doc")) ; 4.0 MiB of gtk-doc
2917 '(#:configure-flags (list (string-append "--with-html-dir="
2918 (assoc-ref %outputs "doc")
2919 "/share/gtk-doc/html"))))
2923 ("librsvg" ,librsvg)
2924 ("libxslt" ,libxslt)
2925 ("libxml2" ,libxml2)))
2927 `(("intltool" ,intltool)
2928 ("glib" ,glib "bin")
2929 ("pkg-config" ,pkg-config)))
2930 (home-page "https://developer.gnome.org/goffice/")
2931 (synopsis "Document-centric objects and utilities")
2932 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2934 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2936 (list license:gpl2 license:gpl3))))
2938 (define-public goffice-0.8
2939 (package (inherit goffice)
2943 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2944 (version-major+minor version) "/"
2945 (package-name goffice) "-" version ".tar.xz"))
2947 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2950 (modify-phases %standard-phases
2951 (add-after 'unpack 'fix-pcre-check
2953 ;; Only glib.h can be included directly. See
2954 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2955 (substitute* "configure"
2956 (("glib/gregex\\.h") "glib.h")) #t)))
2958 ,@(package-arguments goffice)))
2960 ;; libgoffice-0.8.pc mentions libgsf-1
2961 `(("libgsf" ,libgsf)))
2964 ,@(alist-delete "gtk" (package-inputs goffice))))))
2966 (define-public gnumeric
2972 (uri (string-append "mirror://gnome/sources/gnumeric/"
2973 (version-major+minor version) "/"
2974 "gnumeric-" version ".tar.xz"))
2977 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
2978 (build-system glib-or-gtk-build-system)
2980 `(;; The gnumeric developers don't worry much about failing tests.
2981 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2984 (modify-phases %standard-phases
2986 'configure 'pre-conf
2987 (lambda* (#:key outputs #:allow-other-keys)
2988 ;; Make install tries to write into the directory of goffice
2989 ;; I am informed that this only affects the possibility to embed a
2990 ;; spreadsheet inside an Abiword document. So presumably when we
2991 ;; package Abiword we'll have to refer it to this directory.
2992 (substitute* "configure"
2993 (("^GOFFICE_PLUGINS_DIR=.*")
2994 (string-append "GOFFICE_PLUGINS_DIR="
2995 (assoc-ref outputs "out")
2996 "/goffice/plugins"))))))))
3000 ("goffice" ,goffice)
3002 ("librsvg" ,librsvg)
3003 ("libxml2" ,libxml2)
3004 ("libxslt" ,libxslt)
3005 ("python" ,python-2)
3006 ("python2-pygobject" ,python2-pygobject)
3010 ("docbook-xml" ,docbook-xml)
3011 ("intltool" ,intltool)
3012 ("itstool" ,itstool/fixed) ;see <https://bugs.gnu.org/37468>
3013 ("glib:bin" ,glib "bin")
3014 ("pkg-config" ,pkg-config)))
3015 (home-page "http://www.gnumeric.org")
3016 (synopsis "Spreadsheet application")
3018 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3019 interoperable with other spreadsheet applications. It has a vast array of
3020 features beyond typical spreadsheet functionality, such as support for linear
3021 and non-linear solvers, statistical analysis, and telecommunication
3024 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3025 (list license:gpl2 license:gpl3))))
3027 (define-public gnome-themes-standard
3029 (name "gnome-themes-standard")
3034 (uri (string-append "mirror://gnome/sources/" name "/"
3035 (version-major+minor version) "/" name "-"
3039 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
3040 (build-system gnu-build-system)
3043 ;; Don't create 'icon-theme.cache'.
3044 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3045 (true (string-append coreutils "/bin/true")))
3046 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3050 ("librsvg" ,librsvg)
3051 ("libxml2" ,libxml2)
3054 `(("intltool" ,intltool)
3055 ("glib:bin" ,glib "bin")
3056 ("pkg-config" ,pkg-config)))
3057 (home-page "https://launchpad.net/gnome-themes-standard")
3058 (synopsis "Default GNOME 3 themes")
3060 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3061 (license license:lgpl2.1+)))
3063 (define-public seahorse
3070 (uri (string-append "mirror://gnome/sources/" name "/"
3071 (version-major+minor version) "/" name "-"
3075 "0d8zdzmlz7fjv9xl20zl4ckidf465mvdjnbpxy3k08y9iw423q4x"))
3076 (patches (search-patches
3077 "seahorse-gkr-use-0-on-empty-flags.patch"))))
3078 (build-system meson-build-system)
3082 (modify-phases %standard-phases
3083 (add-after 'unpack 'skip-gtk-update-icon-cache
3084 ;; Don't create 'icon-theme.cache'.
3086 (substitute* "build-aux/meson_post_install.py"
3087 (("gtk-update-icon-cache") "true"))
3094 ("openldap" ,openldap)
3095 ("openssh" ,openssh)
3097 ("libpwquality" ,libpwquality)
3098 ("libsecret" ,libsecret)
3099 ("libsoup" ,libsoup)))
3101 `(("gettext" ,gettext-minimal)
3102 ("glib:bin" ,glib "bin")
3103 ("itstool" ,itstool)
3104 ("pkg-config" ,pkg-config)
3106 ("xmllint" ,libxml2)))
3107 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3108 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3110 "Seahorse is a GNOME application for managing encryption keys and
3111 passwords in the GNOME keyring.")
3112 (license license:gpl2+)))
3120 (uri (string-append "mirror://gnome/sources/" name "/"
3121 (version-major+minor version) "/"
3122 name "-" version ".tar.xz"))
3125 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
3126 (build-system gnu-build-system)
3129 (modify-phases %standard-phases
3130 (add-before 'check 'pre-check
3133 (substitute* "valadoc/tests/testrunner.sh"
3134 (("export PKG_CONFIG_PATH=" m)
3135 (string-append m "$PKG_CONFIG_PATH:")))
3136 ;; For missing '/etc/machine-id'.
3137 (setenv "DBUS_FATAL_WARNINGS" "0")
3140 `(("pkg-config" ,pkg-config)
3143 ("xsltproc" ,libxslt)
3144 ("dbus" ,dbus) ; for dbus tests
3145 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3147 `(("graphviz" ,graphviz)))
3149 `(("glib" ,glib))) ; required by libvala-0.40.pc
3150 (home-page "https://live.gnome.org/Vala/")
3151 (synopsis "Compiler for the GObject type system")
3153 "Vala is a programming language that aims to bring modern programming
3154 language features to GNOME developers without imposing any additional runtime
3155 requirements and without using a different ABI compared to applications and
3156 libraries written in C.")
3157 (license license:lgpl2.1+)))
3165 (uri (string-append "mirror://gnome/sources/vte/"
3166 (version-major+minor version) "/"
3167 "vte-" version ".tar.xz"))
3170 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
3171 (build-system meson-build-system)
3173 `(("pkg-config" ,pkg-config)
3174 ("intltool" ,intltool)
3176 ("gobject-introspection" ,gobject-introspection)
3177 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3179 ("xmllint" ,libxml2)))
3181 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3182 ("gnutls" ,gnutls) ; ditto
3183 ("pcre2" ,pcre2))) ; ditto
3184 (home-page "https://www.gnome.org/")
3185 (synopsis "Virtual Terminal Emulator")
3187 "VTE is a library (libvte) implementing a terminal emulator widget for
3188 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3189 gnome-terminal, but can also be used to embed a console/terminal in games,
3190 editors, IDEs, etc.")
3191 (license license:lgpl2.1+)))
3193 (define-public vte-ng
3197 (version "0.58.2.a")
3198 (home-page "https://github.com/thestinger/vte-ng")
3201 (uri (git-reference (url home-page) (commit version)))
3202 (file-name (git-file-name name version))
3205 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3206 (build-system meson-build-system)
3208 `(("gtk-doc" ,gtk-doc)
3209 ,@(package-native-inputs vte)))
3211 `(#:configure-flags '("-Ddocs=true")))
3212 (synopsis "Enhanced VTE terminal widget")
3214 "VTE is a library (libvte) implementing a terminal emulator widget for
3215 GTK+, this fork provides additional functions exposed for keyboard text
3216 selection and URL hints.")))
3218 ;; provides vte 2.90, required for some terminal emulators
3219 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3220 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3221 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3222 ;; pantheon-terminal, roxterm are not currently packaged
3223 (define-public vte-0.36
3224 (package (inherit vte)
3229 (uri (string-append "mirror://gnome/sources/" name "/"
3230 (version-major+minor version) "/"
3231 name "-" version ".tar.xz"))
3234 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3237 ("ncurses" ,ncurses)))))
3239 ;; stable version for gtk2, required by xfce4-terminal.
3240 (define-public vte/gtk+-2
3241 (package (inherit vte)
3246 (uri (string-append "mirror://gnome/sources/" name "/"
3247 (version-major+minor version) "/"
3248 name "-" version ".tar.xz"))
3251 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3252 (patches (search-patches
3253 "vte-CVE-2012-2738-pt1.patch"
3254 "vte-CVE-2012-2738-pt2.patch"))))
3255 (build-system gnu-build-system)
3257 '(#:configure-flags '("--disable-python")))
3259 `(("pkg-config" ,pkg-config)
3260 ("intltool" ,intltool)
3261 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3263 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3264 ("ncurses" ,ncurses))))) ; required by libvte.la
3266 (define-public vinagre
3272 (uri (string-append "mirror://gnome/sources/" name "/"
3273 (version-major+minor version) "/"
3274 name "-" version ".tar.xz"))
3275 (patches (search-patches "vinagre-newer-freerdp.patch"
3276 "vinagre-newer-rdp-parameters.patch"))
3279 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3280 (build-system glib-or-gtk-build-system)
3282 ;; Disable -Werror and such, to avoid build failures on compilation
3284 '(#:configure-flags '("--enable-compile-warnings=minimum")
3286 (modify-phases %standard-phases
3287 (add-before 'install 'skip-gtk-update-icon-cache
3289 ;; Don't create 'icon-theme.cache'
3290 (substitute* (find-files "." "^Makefile$")
3291 (("gtk-update-icon-cache") (which "true")))
3293 (add-after 'unpack 'patch-configure
3295 (substitute* "configure"
3296 (("freerdp") "freerdp2"))
3299 `(("pkg-config" ,pkg-config)
3300 ("intltool" ,intltool)
3301 ("itstool" ,itstool)
3302 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3304 `(("libxml2" ,libxml2)
3305 ("gtk-vnc" ,gtk-vnc)
3306 ("gnome-keyring" ,gnome-keyring)
3307 ("libsecret" ,libsecret)
3308 ("freerdp" ,freerdp)
3310 ("spice-gtk" ,spice-gtk)
3311 ("telepathy-glib" ,telepathy-glib)
3313 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3314 (synopsis "Remote desktop viewer for GNOME")
3315 (description "Vinagre is a remote display client supporting the VNC, SPICE
3316 and RDP protocols.")
3317 (license license:gpl3+)))
3319 (define-public dconf
3326 "mirror://gnome/sources/" name "/"
3327 (version-major+minor version) "/"
3328 name "-" version ".tar.xz"))
3331 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
3332 (build-system meson-build-system)
3334 ;; In Requires of dconf.pc.
3340 `(("bash-completion" ,bash-completion)
3341 ("libxslt" ,libxslt) ;for xsltproc
3342 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3343 ("docbook-xml" ,docbook-xml-4.2)
3344 ("docbook-xsl" ,docbook-xsl)
3345 ("glib:bin" ,glib "bin")
3346 ("gtk-doc" ,gtk-doc)
3347 ("pkg-config" ,pkg-config)
3350 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3351 ; or /etc/machine-id.
3353 #:configure-flags '("-Denable-gtk-doc=true")))
3354 (home-page "https://developer.gnome.org/dconf")
3355 (synopsis "Low-level GNOME configuration system")
3356 (description "Dconf is a low-level configuration system. Its main purpose
3357 is to provide a backend to GSettings on platforms that don't already have
3358 configuration storage systems.")
3359 (license license:lgpl2.1+)))
3361 (define-public json-glib
3367 (uri (string-append "mirror://gnome/sources/" name "/"
3368 (version-major+minor version) "/"
3369 name "-" version ".tar.xz"))
3372 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3373 (build-system meson-build-system)
3375 `(("gettext" ,gettext-minimal)
3376 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3377 ("gobject-introspection" ,gobject-introspection)
3378 ("pkg-config" ,pkg-config)))
3380 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3381 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3382 (synopsis "Compiler for the GObject type system")
3384 "JSON-GLib is a C library based on GLib providing serialization and
3385 deserialization support for the JavaScript Object Notation (JSON) format
3386 described by RFC 4627. It provides parser and generator GObject classes and
3387 various wrappers for the complex data types employed by JSON, such as arrays
3389 (license license:lgpl2.1+)))
3391 (define-public libxklavier
3393 (name "libxklavier")
3396 ;; Note: There's no tarball at ftp.gnome.org for this version.
3399 (url "https://anongit.freedesktop.org/git/libxklavier")
3400 (commit (string-append "libxklavier-" version))))
3403 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3404 (file-name (git-file-name name version))))
3405 (build-system gnu-build-system)
3408 (modify-phases %standard-phases
3409 (add-after 'unpack 'no-configure
3411 (setenv "NOCONFIGURE" "1")
3414 (list (string-append "--with-xkb-base="
3415 (assoc-ref %build-inputs "xkeyboard-config")
3417 "--disable-xmodmap-support")))
3419 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3420 ("gobject-introspection" ,gobject-introspection)
3421 ("pkg-config" ,pkg-config)
3422 ("gtk-doc" ,gtk-doc)
3423 ("intltool" ,intltool)
3425 ("autoconf" ,autoconf)
3426 ("automake" ,automake)
3427 ("libtool" ,libtool)))
3429 ;; Required by libxklavier.pc.
3431 ("libxml2" ,libxml2)))
3433 `(("iso-codes" ,iso-codes)
3435 ("libxkbfile" ,libxkbfile)
3436 ("xkbcomp" ,xkbcomp)
3437 ("xkeyboard-config" ,xkeyboard-config)))
3438 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3439 (synopsis "High-level API for X Keyboard Extension")
3441 "LibXklavier is a library providing high-level API for X Keyboard
3442 Extension known as XKB. This library is intended to support XFree86 and other
3443 commercial X servers. It is useful for creating XKB-related software (layout
3445 (license license:lgpl2.0+)))
3447 (define-public python2-rsvg
3448 ;; XXX: This is actually a subset of gnome-python-desktop.
3450 (name "python2-rsvg")
3456 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3457 version ".tar.bz2"))
3460 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3461 (build-system gnu-build-system)
3463 `(("pkg-config" ,pkg-config)))
3465 `(("python" ,python-2)
3466 ("python2-pygtk" ,python2-pygtk)
3467 ("librsvg" ,librsvg)))
3468 (home-page "https://www.gnome.org")
3469 (synopsis "Python bindings to librsvg")
3471 "This package provides Python bindings to librsvg, the SVG rendering
3474 ;; This is the license of the rsvg bindings. The license of each module
3475 ;; of gnome-python-desktop is given in 'COPYING'.
3476 (license license:lgpl2.1+)))
3478 (define-public glib-networking
3480 (name "glib-networking")
3484 (uri (string-append "mirror://gnome/sources/glib-networking/"
3485 (version-major+minor version) "/"
3486 "glib-networking-" version ".tar.xz"))
3489 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
3490 (build-system meson-build-system)
3492 `(#:configure-flags '("-Dlibproxy_support=false")))
3494 `(("pkg-config" ,pkg-config)
3495 ("intltool" ,intltool)))
3499 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3500 (home-page "https://www.gnome.org")
3501 (synopsis "Network-related GIO modules")
3503 "This package contains various network related extensions for the GIO
3505 (license license:lgpl2.0+)))
3513 (uri (string-append "mirror://gnome/sources/rest/"
3514 (version-major+minor version) "/"
3515 name "-" version ".tar.xz"))
3518 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3519 (build-system gnu-build-system)
3521 '(#:tests? #f ; tests require internet connection
3523 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3525 `(("glib-mkenums" ,glib "bin")
3526 ("gobject-introspection" ,gobject-introspection)
3527 ("pkg-config" ,pkg-config)))
3529 ;; rest-0.7.pc refers to all these.
3531 ("libsoup" ,libsoup)
3532 ("libxml2" ,libxml2)))
3533 (home-page "https://www.gtk.org/")
3534 (synopsis "RESTful web api query library")
3536 "This library was designed to make it easier to access web services that
3537 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3538 libxml to ease remote use of the RESTful API.")
3539 (license license:lgpl2.1+)))
3541 (define-public libsoup
3547 (uri (string-append "mirror://gnome/sources/libsoup/"
3548 (version-major+minor version) "/"
3549 "libsoup-" version ".tar.xz"))
3552 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
3553 (build-system meson-build-system)
3554 (outputs '("out" "doc"))
3556 `(#:modules ((guix build utils)
3557 (guix build meson-build-system)
3560 #:configure-flags '("-Dgtk_doc=true")
3562 (modify-phases %standard-phases
3563 (add-after 'unpack 'adjust-tests
3565 ;; This test fails due to missing /etc/nsswitch.conf
3566 ;; in the build environment.
3567 (substitute* "tests/socket-test.c"
3568 ((".*/sockets/unconnected.*") ""))
3570 ;; These fail because "subdomain.localhost" does not resolve in
3571 ;; the build environment.
3572 (substitute* "tests/hsts-test.c"
3573 ((".*/hsts/basic.*") "")
3574 ((".*/hsts/subdomains.*") "")
3575 ((".*/hsts/superdomain.*") "")
3576 ((".*/hsts/utf8-address.*") ""))
3577 (substitute* "tests/hsts-db-test.c"
3578 ((".*/hsts-db/subdomains.*") ""))
3580 ;; Generate a self-signed certificate that has "localhost" as its
3581 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3582 ;; 3.5.12, tests such as "ssl-tests" fail:
3584 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3586 ;; 'certtool' is interactive so we have to pipe it the answers.
3587 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3588 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3589 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3590 (for-each (lambda (line)
3595 "Guix" ;Organizational unit name
3596 "GNU" ;Organization name
3598 "" ;State or province
3600 "" ;subject's domain component (DC)
3603 "-1" ;expiration time
3604 "N" ;belong to authority?
3605 "N" ;web client certificate?
3607 "Y" ;web server certificate?
3608 "localhost" ;dnsName of subject
3609 "" ;dnsName of subject (end)
3611 "127.0.0.1" ;IP address of subject
3613 "" ;encryption (RSA)?
3614 "" ;data encryption?
3615 "" ;sign OCSP requests?
3618 "" ;email protection?
3619 "" ;URI of the CRL distribution point
3624 (add-after 'install 'move-doc
3625 (lambda* (#:key outputs #:allow-other-keys)
3626 (let ((out (assoc-ref outputs "out"))
3627 (doc (assoc-ref outputs "doc")))
3628 (mkdir-p (string-append doc "/share"))
3629 (copy-recursively (string-append out "/share/gtk-doc")
3630 (string-append doc "/share/gtk-doc"))
3631 (delete-file-recursively (string-append out "/share/gtk-doc"))
3634 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3635 ("gobject-introspection" ,gobject-introspection)
3636 ("gtk-doc" ,gtk-doc)
3637 ("intltool" ,intltool)
3638 ("pkg-config" ,pkg-config)
3639 ("python" ,python-wrapper)
3641 ;; These are needed for the tests.
3642 ;; FIXME: Add PHP once available.
3644 ("gnutls" ,gnutls) ;for 'certtool'
3647 ;; libsoup-2.4.pc refers to all these.
3648 `(("brotli" ,google-brotli)
3651 ("libxml2" ,libxml2)
3655 `(("glib-networking" ,glib-networking)
3656 ("mit-krb5" ,mit-krb5)))
3657 (home-page "https://live.gnome.org/LibSoup/")
3658 (synopsis "GLib-based HTTP Library")
3660 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3661 and the GLib main loop, to integrate well with GNOME applications.")
3662 (license license:lgpl2.0+)))
3664 (define-public libsecret
3671 "mirror://gnome/sources/libsecret/"
3672 (version-major+minor version) "/"
3673 "libsecret-" version ".tar.xz"))
3676 "1hzz34gmsxxf1jm1b7qin390rkwbg8sx198xdkwxqp3q6cw19sc1"))))
3677 (build-system gnu-build-system)
3678 (outputs '("out" "doc"))
3680 `(#:tests? #f ; FIXME: Testing hangs.
3682 (list (string-append "--with-html-dir="
3683 (assoc-ref %outputs "doc")
3684 "/share/gtk-doc/html"))))
3686 `(("gettext" ,gettext-minimal)
3687 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3688 ("gobject-introspection" ,gobject-introspection)
3689 ("pkg-config" ,pkg-config)
3691 ("xsltproc" ,libxslt)))
3692 ;; These are needed for the tests.
3693 ;; FIXME: Add gjs once available.
3695 ;("python2" ,python-2)
3696 ;("python2-dbus" ,python2-dbus)
3697 ;("python2-pygobject" ,python2-pygobject)
3698 ;("python2-pygobject-2" ,python2-pygobject-2)))
3700 `(("glib" ,glib))) ; required by libsecret-1.pc
3702 `(("docbook-xsl" ,docbook-xsl)
3703 ("libgcrypt" ,libgcrypt)
3704 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3705 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3706 (synopsis "GObject bindings for \"Secret Service\" API")
3708 "Libsecret is a GObject based library for storing and retrieving passwords
3709 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3710 (license license:lgpl2.1+)))
3712 (define-public five-or-more
3714 (name "five-or-more")
3719 (uri (string-append "mirror://gnome/sources/five-or-more/"
3720 (version-major+minor version) "/"
3721 "five-or-more-" version ".tar.xz"))
3723 (base32 "0xw05dd2dwi9vsph9h158b4n89s5k07xrh6bjz1icm0pdmjwhpgk"))))
3724 (build-system meson-build-system)
3728 (modify-phases %standard-phases
3729 (add-after 'unpack 'skip-gtk-update-icon-cache
3731 (substitute* "meson_post_install.py"
3732 (("gtk-update-icon-cache") (which "true")))
3735 `(("pkg-config" ,pkg-config)
3736 ("appstream-glib" ,appstream-glib)
3737 ("desktop-file-utils" ,desktop-file-utils)
3738 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3739 ("intltool" ,intltool)
3740 ("itstool" ,itstool)
3742 ("xmllint" ,libxml2)))
3745 ("libgnome-games-support" ,libgnome-games-support)
3746 ("librsvg" ,librsvg)))
3747 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3748 (synopsis "Logic puzzle game")
3749 (description "Five or More is a game where you try to align
3750 five or more objects of the same color and shape causing them to disappear.
3751 On every turn more objects will appear, until the board is full.
3752 Try to last as long as possible.")
3753 (license license:gpl2+)))
3755 (define-public gnome-mines
3757 (name "gnome-mines")
3762 (uri (string-append "mirror://gnome/sources/" name "/"
3763 (version-major+minor version) "/"
3764 name "-" version ".tar.xz"))
3767 "1nv966wkp2rqxzcdb76bwlbzpjqadcaqzrnkxpzwnvjjr167yx8g"))))
3768 (build-system meson-build-system)
3772 (modify-phases %standard-phases
3773 (add-after 'unpack 'skip-gtk-update-icon-cache
3775 (substitute* "build-aux/meson_post_install.py"
3776 (("gtk-update-icon-cache") (which "true")))
3779 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3780 ("pkg-config" ,pkg-config)
3781 ("desktop-file-utils" ,desktop-file-utils)
3782 ("intltool" ,intltool)
3783 ("itstool" ,itstool)
3786 ("appstream-glib" ,appstream-glib)))
3789 ("libgnome-games-support" ,libgnome-games-support)
3790 ("librsvg" ,librsvg)))
3791 (home-page "https://wiki.gnome.org/Apps/Mines")
3792 (synopsis "Minesweeper game")
3794 "Mines (previously gnomine) is a puzzle game where you locate mines
3795 floating in an ocean using only your brain and a little bit of luck.")
3796 (license license:gpl2+)))
3798 (define-public gnome-sudoku
3800 (name "gnome-sudoku")
3805 (uri (string-append "mirror://gnome/sources/" name "/"
3806 (version-major+minor version) "/"
3807 name "-" version ".tar.xz"))
3810 "1wwdjflw1lbx3cv6gvqcgp5jnjkrq37ld6mjbjj03g3vr90qaf0l"))))
3811 (build-system meson-build-system)
3815 (modify-phases %standard-phases
3816 (add-after 'unpack 'skip-gtk-update-icon-cache
3818 (substitute* "build-aux/post_install.py"
3819 (("gtk-update-icon-cache") (which "true")))
3822 `(("pkg-config" ,pkg-config)
3823 ("desktop-file-utils" ,desktop-file-utils)
3824 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3825 ("intltool" ,intltool)
3826 ("itstool" ,itstool)
3828 ("xmllint" ,libxml2)))
3831 ("json-glib" ,json-glib)
3833 ("librsvg" ,librsvg)
3834 ("qqwing" ,qqwing)))
3835 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3836 (synopsis "Japanese logic game")
3838 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3839 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3840 possible while still providing features that make playing difficult Sudoku
3842 (license license:gpl2+)))
3844 (define-public gnome-terminal
3846 (name "gnome-terminal")
3851 (uri (string-append "mirror://gnome/sources/" name "/"
3852 (version-major+minor version) "/"
3853 name "-" version ".tar.xz"))
3856 "0shhpnagasyp1kxgjczfrivcxbgrrl3y8lzvp1z101m67h4jp6km"))))
3857 (build-system glib-or-gtk-build-system)
3860 (list "--disable-migration" "--disable-search-provider"
3861 "--without-nautilus-extension")
3863 (modify-phases %standard-phases
3864 (add-before 'configure 'patch-/bin/true
3866 (substitute* "configure"
3867 (("/bin/true") (which "true"))))))))
3869 `(("pkg-config" ,pkg-config)
3870 ("desktop-file-utils" ,desktop-file-utils)
3871 ("intltool" ,intltool)
3872 ("itstool" ,itstool)
3873 ("xmllint" ,libxml2)))
3875 `(("dconf" ,dconf)))
3880 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3881 ("util-linux" ,util-linux)
3883 (home-page "https://wiki.gnome.org/Apps/Terminal")
3884 (synopsis "Terminal emulator")
3886 "GNOME Terminal is a terminal emulator application for accessing a
3887 UNIX shell environment which can be used to run programs available on
3890 It supports several profiles, multiple tabs and implements several
3891 keyboard shortcuts.")
3892 (license license:gpl3+)))
3894 (define-public colord
3901 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3902 "colord-" version ".tar.xz"))
3904 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3905 (build-system meson-build-system)
3907 '(;; FIXME: One test fails:
3908 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3909 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3910 ;; application/x-zerosize
3913 #:configure-flags (list "-Dlocalstatedir=/var"
3914 ;; No dep on systemd.
3916 ;; Wants to install to global completion dir;
3918 "-Dbash_completion=false"
3919 "-Ddaemon_user=colord"
3922 ;; Requires spotread.
3923 "-Dargyllcms_sensor=false"
3924 ;; TODO: Requires docbook2x.
3927 (modify-phases %standard-phases
3928 (add-before 'configure 'patch-build-system
3929 (lambda* (#:key outputs #:allow-other-keys)
3930 (substitute* "rules/meson.build"
3931 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3932 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
3934 (add-before 'configure 'set-sqlite3-file-name
3935 (lambda* (#:key inputs #:allow-other-keys)
3936 ;; "colormgr dump" works by invoking the "sqlite3" command.
3937 ;; Record its absolute file name.
3938 (let ((sqlite (assoc-ref inputs "sqlite")))
3939 (substitute* "client/cd-util.c"
3941 (string-append "\"" sqlite "/bin/sqlite3\"")))
3944 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
3945 ("gettext" ,gettext-minimal)
3946 ("gobject-introspection" ,gobject-introspection)
3947 ("gtk-doc" ,gtk-doc)
3948 ("pkg-config" ,pkg-config)
3951 ;; colord.pc refers to all these.
3956 `(("dbus-glib" ,dbus-glib)
3958 ("libgudev" ,libgudev)
3961 ("python" ,python-wrapper)
3963 ("sane-backends" ,sane-backends)))
3964 (home-page "https://www.freedesktop.org/software/colord/")
3965 (synopsis "Color management service")
3966 (description "Colord is a system service that makes it easy to manage,
3967 install and generate color profiles to accurately color manage input and
3969 (license license:gpl2+)))
3971 (define-public geoclue
3979 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
3980 version "/geoclue-" version ".tar.bz2"))
3983 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
3984 (patches (search-patches "geoclue-config.patch"))))
3985 (build-system meson-build-system)
3987 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
3989 `(("pkg-config" ,pkg-config)
3990 ("gobject-introspection" ,gobject-introspection)
3991 ("modem-manager" ,modem-manager)
3992 ("libnotify" ,libnotify)
3993 ("gtk-doc", gtk-doc)
3994 ("intltool" ,intltool)))
3997 ("glib:bin" ,glib "bin")
3998 ("glib-networking" ,glib-networking)
3999 ("json-glib" ,json-glib)
4000 ("libsoup" ,libsoup)))
4001 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
4002 (synopsis "Geolocation service")
4003 (description "Geoclue is a D-Bus service that provides location
4004 information. The primary goal of the Geoclue project is to make creating
4005 location-aware applications as simple as possible, while the secondary goal is
4006 to ensure that no application can access location information without explicit
4007 permission from user.")
4008 (license license:gpl2+)))
4010 (define-public geocode-glib
4012 (name "geocode-glib")
4016 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4017 (version-major+minor version) "/"
4018 "geocode-glib-" version ".tar.xz"))
4021 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
4022 (build-system meson-build-system)
4025 (modify-phases %standard-phases
4026 ;; The tests require a bunch of locales.
4027 (add-before 'check 'set-locales
4028 (lambda* (#:key inputs #:allow-other-keys)
4029 (setenv "GUIX_LOCPATH"
4030 (string-append (assoc-ref inputs "glibc-locales")
4034 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4035 ("glibc-locales" ,glibc-locales) ; for tests
4036 ("gettext" ,gettext-minimal)
4037 ("gobject-introspection" ,gobject-introspection)
4038 ("gtk-doc" ,gtk-doc)
4039 ("pkg-config" ,pkg-config)
4040 ("json-glib" ,json-glib)))
4042 ;; geocode-glib-1.0.pc refers to GIO.
4045 `(("libsoup" ,libsoup)))
4046 (home-page "https://github.com/GNOME/geocode-glib/")
4047 (synopsis "Geocoding and reverse-geocoding library")
4049 "geocode-glib is a convenience library for geocoding (finding longitude,
4050 and latitude from an address) and reverse geocoding (finding an address from
4051 coordinates) using the Nominatim service. geocode-glib caches requests for
4052 faster results and to avoid unnecessary server load.")
4053 (license license:lgpl2.0+)))
4055 (define-public upower
4061 (uri (string-append "https://upower.freedesktop.org/releases/"
4062 "upower-" version ".tar.xz"))
4065 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4066 (patches (search-patches "upower-builddir.patch"))
4067 (modules '((guix build utils)))
4071 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4072 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4073 ;; 'dbus-configuration-directory' in (gnu services dbus)
4074 ;; expects it in etc/. Thus, move it back to its previous
4076 (substitute* "src/Makefile.in"
4077 (("^dbusconfdir =.*$")
4078 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4080 (build-system glib-or-gtk-build-system)
4082 '( ;; The tests want to contact the system bus, which can't be done in the
4083 ;; build environment. The integration test can run, but the last of
4084 ;; the up-self-tests doesn't. Disable tests for now.
4086 #:configure-flags (list "--localstatedir=/var"
4087 (string-append "--with-udevrulesdir="
4088 (assoc-ref %outputs "out")
4089 "/lib/udev/rules.d"))))
4091 `(("gobject-introspection" ,gobject-introspection)
4092 ("pkg-config" ,pkg-config)
4093 ("intltool" ,intltool)
4097 ("libxslt" ,libxslt) ;for 'xsltproc'
4098 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4099 ("docbook-xsl" ,docbook-xsl)))
4101 `(("dbus-glib" ,dbus-glib)
4102 ("libgudev" ,libgudev)
4103 ("libusb" ,libusb)))
4105 ;; In Requires of upower-glib.pc.
4107 (home-page "https://upower.freedesktop.org/")
4108 (synopsis "System daemon for managing power devices")
4110 "UPower is an abstraction for enumerating power devices,
4111 listening to device events and querying history and statistics. Any
4112 application or service on the system can access the org.freedesktop.UPower
4113 service via the system message bus.")
4114 (license license:gpl2+)))
4116 (define-public libgweather
4118 (name "libgweather")
4122 (uri (string-append "mirror://gnome/sources/" name "/"
4123 (version-major+minor version) "/"
4124 name "-" version ".tar.xz"))
4127 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
4128 (build-system meson-build-system)
4130 `(#:tests? #f ; one of two tests requires network access
4132 `(,(string-append "-Dzoneinfo_dir="
4133 (assoc-ref %build-inputs "tzdata")
4134 "/share/zoneinfo"))))
4136 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4137 ("gobject-introspection" ,gobject-introspection)
4138 ("pkg-config" ,pkg-config)
4140 ("intltool" ,intltool)))
4142 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4145 ("gdk-pixbuf" ,gdk-pixbuf)
4146 ("libxml2" ,libxml2)
4147 ("libsoup" ,libsoup)
4148 ("geocode-glib" ,geocode-glib)))
4150 `(("tzdata" ,tzdata)))
4151 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4152 (synopsis "Location, time zone, and weather library for GNOME")
4154 "libgweather is a library to access weather information from online
4155 services for numerous locations.")
4156 (license license:gpl2+)))
4158 (define-public gnome-settings-daemon
4160 (name "gnome-settings-daemon")
4165 (uri (string-append "mirror://gnome/sources/" name "/"
4166 (version-major+minor version) "/"
4167 name "-" version ".tar.xz"))
4170 "02d0s0g2mmqfib44r3sf0499r08p61s8l2ndsjssbam1bi7x2dks"))))
4171 (build-system meson-build-system)
4175 (list (string-append "-Dudev_dir="
4176 (assoc-ref %outputs "out")
4177 "/lib/udev/rules.d/")
4178 ;; Otherwise, the RUNPATH will lack the final path component.
4179 (string-append "-Dc_link_args=-Wl,-rpath="
4180 (assoc-ref %outputs "out")
4181 "/lib/gnome-settings-daemon-3.0"))
4182 ;; Color management test can't reach the colord system service.
4185 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4186 ("pkg-config" ,pkg-config)
4187 ("intltool" ,intltool)
4188 ("xsltproc" ,libxslt)
4189 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4190 ("docbook-xml" ,docbook-xml-4.2)
4191 ("docbook-xsl" ,docbook-xsl)))
4193 `(("alsa-lib" ,alsa-lib)
4195 ("libgudev" ,libgudev)
4198 ("pulseaudio" ,pulseaudio)
4199 ("libcanberra" ,libcanberra)
4201 ("libxtst" ,libxtst)
4203 ("libnotify" ,libnotify)
4204 ("geoclue" ,geoclue)
4205 ("geocode-glib" ,geocode-glib)
4206 ("libgweather" ,libgweather)
4207 ("gnome-desktop" ,gnome-desktop)
4210 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4211 ("libwacom" ,libwacom)
4212 ("librsvg" ,librsvg)
4213 ("xf86-input-wacom" ,xf86-input-wacom)
4214 ("wayland" ,wayland)
4215 ("network-manager" ,network-manager)))
4216 (home-page "https://www.gnome.org")
4217 (synopsis "GNOME settings daemon")
4219 "This package contains the daemon responsible for setting the various
4220 parameters of a GNOME session and the applications that run under it. It
4221 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4222 settings, themes, mouse settings, and startup of other daemons.")
4223 (license license:gpl2+)))
4225 (define-public totem-pl-parser
4227 (name "totem-pl-parser")
4231 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4232 (version-major+minor version) "/"
4233 "totem-pl-parser-" version ".tar.xz"))
4236 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4237 (build-system meson-build-system)
4239 ;; FIXME: Tests require gvfs.
4242 `(("intltool" ,intltool)
4243 ("glib" ,glib "bin")
4244 ("gobject-introspection" ,gobject-introspection)
4245 ("pkg-config" ,pkg-config)))
4249 ("libarchive" ,libarchive)
4250 ("libgcrypt" ,libgcrypt)
4251 ("libxml2" ,libxml2)))
4253 `(("libsoup" ,libsoup)))
4254 (home-page "https://projects.gnome.org/totem")
4255 (synopsis "Library to parse and save media playlists for GNOME")
4256 (description "Totem-pl-parser is a GObjects-based library to parse and save
4257 playlists in a variety of formats.")
4258 (license license:lgpl2.0+)))
4260 (define-public aisleriot
4266 (uri (string-append "mirror://gnome/sources/aisleriot/"
4267 (version-major+minor version) "/"
4268 "aisleriot-" version ".tar.xz"))
4271 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4272 (build-system glib-or-gtk-build-system)
4275 '("--with-platform=gtk-only"
4276 "--with-card-theme-formats=svg")))
4278 `(("desktop-file-utils" ,desktop-file-utils)
4279 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4280 ("intltool" ,intltool)
4281 ("itstool" ,itstool)
4282 ("pkg-config" ,pkg-config)
4283 ("xmllint" ,libxml2)))
4286 ("guile" ,guile-2.2)
4287 ("libcanberra" ,libcanberra)
4288 ("librsvg" ,librsvg)))
4289 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4290 (synopsis "Solitaire card games")
4292 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4293 which are easy to play with the aid of a mouse.")
4294 (license license:gpl3+)))
4302 (uri (string-append "mirror://gnome/sources/amtk/"
4303 (version-major+minor version) "/"
4304 "amtk-" version ".tar.xz"))
4307 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
4308 (build-system gnu-build-system)
4310 '(#:configure-flags '("--enable-gtk-doc")))
4312 `(("gobject-introspection" ,gobject-introspection)
4313 ("glib:bin" ,glib "bin") ; for glib-mkenums
4314 ("gtk-doc" ,gtk-doc)
4315 ("pkg-config" ,pkg-config)))
4319 (home-page "https://wiki.gnome.org/Projects/Amtk")
4320 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4322 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4323 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4324 both a traditional UI or a modern UI with a GtkHeaderBar.")
4325 (license license:lgpl2.1+)))
4327 (define-public devhelp
4333 (uri (string-append "mirror://gnome/sources/" name "/"
4334 (version-major+minor version) "/"
4335 name "-" version ".tar.xz"))
4338 "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq"))))
4339 (build-system meson-build-system)
4343 (modify-phases %standard-phases
4344 (add-after 'unpack 'skip-gtk-update-icon-cache
4345 ;; Don't create 'icon-theme.cache'.
4347 (substitute* "meson_post_install.py"
4348 (("gtk-update-icon-cache") "true"))
4351 `(("intltool" ,intltool)
4352 ("itstool" ,itstool)
4353 ("gobject-introspection" ,gobject-introspection)
4354 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4355 ("pkg-config" ,pkg-config)))
4358 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4359 ("webkitgtk" ,webkitgtk)))
4360 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4361 (synopsis "API documentation browser for GNOME")
4363 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4364 natively with GTK-Doc (the API reference system developed for GTK+ and used
4365 throughout GNOME for API documentation).")
4366 (license license:gpl2+)))
4375 (uri (string-append "mirror://gnome/sources/cogl/"
4376 (version-major+minor version) "/"
4377 "cogl-" version ".tar.xz"))
4379 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
4380 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4381 ;; cogl, corresponding changes may be appropriate in mutter as well.
4382 (build-system gnu-build-system)
4384 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4385 ("gobject-introspection" ,gobject-introspection)
4386 ;;("xorg-server" ,xorg-server) ; for the test suite
4387 ("pkg-config" ,pkg-config)))
4390 ("gdk-pixbuf" ,gdk-pixbuf)
4392 ("libxext" ,libxext)
4393 ("libxfixes" ,libxfixes)
4394 ("libxdamage" ,libxdamage)
4395 ("libxcomposite" ,libxcomposite)
4396 ("libxrandr" ,libxrandr)))
4401 ("gstreamer" ,gstreamer)
4402 ("gst-plugins-base" ,gst-plugins-base)
4403 ("wayland" ,wayland)))
4405 `(#:configure-flags (list "--enable-cogl-gst"
4406 "--enable-wayland-egl-platform"
4407 "--enable-wayland-egl-server"
4409 ;; Arrange to pass an absolute file name to
4410 ;; dlopen for libGL.so.
4411 (string-append "--with-gl-libname="
4412 (assoc-ref %build-inputs "mesa")
4414 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4415 ;; _FontTransOpen: Unable to Parse address
4416 ;; ${prefix}/share/fonts/X11/misc/
4420 (modify-phases %standard-phases
4421 (add-before 'check 'start-xorg-server
4422 (lambda* (#:key inputs #:allow-other-keys)
4423 ;; The test suite requires a running X server.
4424 (system (format #f "~a/bin/Xvfb :1 &"
4425 (assoc-ref inputs "xorg-server")))
4426 (setenv "DISPLAY" ":1")
4428 (home-page "https://www.cogl3d.org")
4429 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4431 "Cogl is a small library for using 3D graphics hardware to draw pretty
4432 pictures. The API departs from the flat state machine style of OpenGL and is
4433 designed to make it easy to write orthogonal components that can render
4434 without stepping on each others toes.")
4435 (license (list license:expat ; most of the code
4436 license:bsd-3 ; cogl/cogl-point-in-poly.c
4437 license:sgifreeb2.0 ; cogl-path/tesselator/
4438 license:asl2.0)))) ; examples/android/
4440 (define-public clutter
4447 (uri (string-append "mirror://gnome/sources/" name "/"
4448 (version-major+minor version) "/"
4449 name "-" version ".tar.xz"))
4452 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4453 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4454 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4455 (build-system gnu-build-system)
4457 "doc")) ;9 MiB of gtk-doc HTML pages
4459 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4460 ("gobject-introspection" ,gobject-introspection)
4461 ("pkg-config" ,pkg-config)
4462 ("xsltproc" ,libxslt)))
4468 ("json-glib" ,json-glib)
4470 ("libxcomposite" ,libxcomposite)
4471 ("libxdamage" ,libxdamage)
4472 ("libxext" ,libxext)
4473 ("xinput" ,xinput)))
4475 `(("libxkbcommon" ,libxkbcommon)
4478 `(#:configure-flags (list "--enable-x11-backend=yes"
4480 ;; This produces share/doc/{clutter,cally}.
4481 (string-append "--with-html-dir="
4482 (assoc-ref %outputs "doc")
4484 ;; XXX FIXME: Get test suite working. It would probably fail in the
4485 ;; same way the cogl tests fail, since clutter is based on cogl.
4487 (home-page "http://www.clutter-project.org")
4488 (synopsis "OpenGL-based interactive canvas library")
4490 "Clutter is an OpenGL-based interactive canvas library, designed for
4491 creating fast, mainly 2D single window applications such as media box UIs,
4492 presentations, kiosk style applications and so on.")
4493 (license license:lgpl2.0+)))
4495 (define-public clutter-gtk
4497 (name "clutter-gtk")
4502 (uri (string-append "mirror://gnome/sources/" name "/"
4503 (version-major+minor version) "/"
4504 name "-" version ".tar.xz"))
4507 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4508 (build-system gnu-build-system)
4510 `(("pkg-config" ,pkg-config)
4511 ("gobject-introspection" ,gobject-introspection)))
4513 ;; clutter-gtk.pc refers to all these.
4514 `(("clutter" ,clutter)
4516 (home-page "http://www.clutter-project.org")
4517 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4519 "Clutter is an OpenGL-based interactive canvas library, designed for
4520 creating fast, mainly 2D single window applications such as media box UIs,
4521 presentations, kiosk style applications and so on.")
4522 (license license:lgpl2.0+)))
4524 (define-public clutter-gst
4526 (name "clutter-gst")
4531 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4532 (version-major+minor version) "/"
4533 "clutter-gst-" version ".tar.xz"))
4535 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4536 (build-system gnu-build-system)
4538 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4539 ("pkg-config" ,pkg-config)
4540 ("gobject-introspection" ,gobject-introspection)))
4542 `(("clutter" ,clutter)
4543 ("gstreamer" ,gstreamer)
4544 ("gst-plugins-base" ,gst-plugins-base)))
4545 (home-page "http://www.clutter-project.org")
4546 (synopsis "Integration library for using GStreamer with Clutter")
4548 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4549 It provides a GStreamer sink to upload frames to GL and an actor that
4550 implements the ClutterGstPlayer interface using playbin. Clutter is an
4551 OpenGL-based interactive canvas library.")
4552 (license license:lgpl2.0+)))
4554 (define-public libchamplain
4556 (name "libchamplain")
4561 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4565 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4566 (build-system gnu-build-system)
4567 (arguments '(#:configure-flags '("--enable-vala")))
4569 `(("gobject-introspection" ,gobject-introspection)
4570 ("pkg-config" ,pkg-config)
4573 `(("libsoup" ,libsoup)
4575 ("clutter" ,clutter)
4576 ("clutter-gtk" ,clutter-gtk)
4577 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4581 (home-page "https://projects.gnome.org/libchamplain/")
4582 (synopsis "C library providing a ClutterActor to display maps")
4584 "libchamplain is a C library providing a ClutterActor to display maps.
4585 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4586 and Perl bindings are also available. It supports numerous free map sources
4587 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4588 (license license:lgpl2.1+)))
4597 (uri (string-append "mirror://gnome/sources/gom/"
4598 (version-major+minor version) "/"
4599 "gom-" version ".tar.xz"))
4602 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4603 (build-system gnu-build-system)
4605 `(("intltool" ,intltool)
4606 ("pkg-config" ,pkg-config)
4607 ("gobject-introspection" ,gobject-introspection)))
4610 ("gdk-pixbuf" ,gdk-pixbuf)
4611 ("sqlite" ,sqlite)))
4612 ;; XXX TODO: Figure out how to run the test suite.
4613 (arguments `(#:tests? #f))
4614 (home-page "https://wiki.gnome.org/Projects/Gom")
4615 (synopsis "Object mapper from GObjects to SQLite")
4617 "Gom provides an object mapper from GObjects to SQLite. It helps you
4618 write applications that need to store structured data as well as make complex
4619 queries upon that data.")
4620 (license license:lgpl2.1+)))
4622 (define-public libgnome-games-support
4624 (name "libgnome-games-support")
4628 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4629 (version-major+minor version) "/"
4630 "libgnome-games-support-" version ".tar.xz"))
4633 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4634 (build-system gnu-build-system)
4637 (modify-phases %standard-phases
4638 (add-before 'check 'pre-check
4640 ;; Tests require a writable HOME.
4641 (setenv "HOME" (getcwd))
4644 `(("intltool" ,intltool)
4645 ("pkg-config" ,pkg-config)
4648 ;; Required by libgnome-games-support-1.0.pc
4650 ("libgee" ,libgee)))
4651 (home-page "https://www.gnome.org/")
4652 (synopsis "Useful functionality shared among GNOME games")
4654 "libgnome-games-support is a small library intended for internal use by
4655 GNOME Games, but it may be used by others.")
4656 (license license:lgpl3+)))
4658 (define-public gnome-klotski
4660 (name "gnome-klotski")
4664 (uri (string-append "mirror://gnome/sources/" name "/"
4665 (version-major+minor version) "/"
4666 name "-" version ".tar.xz"))
4669 "1p4s15gxj6gasix22z9vlx2yrx196fvcxr6v6qrl569idfgjbi72"))))
4670 (build-system meson-build-system)
4674 (modify-phases %standard-phases
4675 (add-after 'unpack 'skip-gtk-update-icon-cache
4676 ;; Don't create 'icon-theme.cache'.
4678 (substitute* "build-aux/meson_post_install.py"
4679 (("gtk-update-icon-cache") (which "true")))
4682 `(("desktop-file-utils" ,desktop-file-utils)
4683 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4684 ("intltool" ,intltool)
4685 ("itstool" ,itstool)
4686 ("pkg-config" ,pkg-config)
4688 ("xmllint" ,libxml2)))
4691 ("libgnome-games-support" ,libgnome-games-support)
4692 ("librsvg" ,librsvg)))
4693 (home-page "https://wiki.gnome.org/Apps/Klotski")
4694 (synopsis "Sliding block puzzles")
4696 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4697 the patterned block to the area bordered by green markers. To do so, you will
4698 need to slide other blocks out of the way. Complete each puzzle in as few moves
4700 (license license:gpl2+)))
4702 (define-public grilo
4709 (uri (string-append "mirror://gnome/sources/" name "/"
4710 (version-major+minor version) "/"
4711 name "-" version ".tar.xz"))
4714 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4715 (build-system meson-build-system)
4717 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4718 ("intltool" ,intltool)
4719 ("pkg-config" ,pkg-config)
4720 ("gobject-introspection" ,gobject-introspection)
4721 ("gtk-doc" ,gtk-doc)
4724 `(("cyrus-sasl" ,cyrus-sasl)
4727 ("libxml2" ,libxml2)
4728 ("liboauth" ,liboauth)
4729 ("libsoup" ,libsoup)
4730 ("totem-pl-parser" ,totem-pl-parser)))
4731 (native-search-paths
4732 (list (search-path-specification
4733 (variable "GRL_PLUGIN_PATH")
4734 (files (list (string-append "lib/grilo-"
4735 (version-major+minor version)))))))
4736 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4737 (synopsis "Framework for discovering and browsing media")
4739 "Grilo is a framework focused on making media discovery and browsing easy
4740 for application developers.")
4741 (license license:lgpl2.1+)))
4743 (define-public grilo-plugins
4745 (name "grilo-plugins")
4750 (uri (string-append "mirror://gnome/sources/" name "/"
4751 (version-major+minor version) "/"
4752 name "-" version ".tar.xz"))
4755 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4756 (build-system meson-build-system)
4758 `(("gettext" ,gettext-minimal)
4759 ("glib:bin" ,glib "bin")
4760 ("gtk+:bin" ,gtk+ "bin")
4761 ("itstool" ,itstool)
4762 ("pkg-config" ,pkg-config)))
4763 ;; TODO: ahavi, gstreamer
4766 ;("gmime" ,gmime) ; unused
4767 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4769 ;("gssdp" ,gssdp) ; unused
4770 ;("gupnp" ,gupnp) ; unused
4771 ;("gupnp-av" ,gupnp-av) ; unused
4772 ("json-glib" ,json-glib)
4774 ("libgdata" ,libgdata)
4775 ("libmediaart" ,libmediaart)
4776 ;("librest" ,rest) ; unused
4777 ("libsoup" ,libsoup)
4778 ("totam-pl-parser" ,totem-pl-parser)
4779 ("tracker" ,tracker))) ; unused because it's too old
4782 ;;Disable lua-factory as it needs missing dependencies
4783 #:configure-flags '("-Denable-lua-factory=no")))
4784 (home-page "https://live.gnome.org/Grilo")
4785 (synopsis "Plugins for the Grilo media discovery library")
4787 "Grilo is a framework focused on making media discovery and browsing easy
4788 for application developers. This package provides plugins for common media
4789 discovery protocols.")
4790 (license license:lgpl2.1+)))
4792 (define-public totem
4799 (uri (string-append "mirror://gnome/sources/" name "/"
4800 (version-major+minor version) "/"
4801 name "-" version ".tar.xz"))
4804 "0yra8apc7smpwf7d1k8crhrm8d4wix24ds6i9yxbch1v11jnhr3v"))))
4805 (build-system meson-build-system)
4807 `(("pkg-config" ,pkg-config)
4808 ("desktop-file-utils" ,desktop-file-utils)
4809 ("gobject-introspection" ,gobject-introspection)
4810 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4811 ("intltool" ,intltool)
4812 ("itstool" ,itstool)
4813 ("xmllint" ,libxml2)
4814 ("python-pylint" ,python-pylint)
4815 ("xorg-server" ,xorg-server-for-tests)))
4817 `(("dconf" ,dconf)))
4820 ("gdk-pixbuf" ,gdk-pixbuf)
4823 ("dbus-glib" ,dbus-glib)
4824 ("clutter" ,clutter)
4825 ("clutter-gtk" ,clutter-gtk)
4826 ("clutter-gst" ,clutter-gst)
4827 ("xorgproto" ,xorgproto)
4828 ("libxxf86vm" ,libxxf86vm)
4829 ("libxtst" ,libxtst)
4830 ("libxrandr" ,libxrandr)
4831 ("libxml2" ,libxml2)
4832 ("libsoup" ,libsoup)
4833 ("libpeas" ,libpeas)
4834 ("librsvg" ,librsvg)
4836 ("gnome-desktop" ,gnome-desktop)
4837 ("gstreamer" ,gstreamer)
4838 ("gst-plugins-base" ,gst-plugins-base)
4839 ("gst-plugins-good" ,gst-plugins-good)
4840 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4841 ("adwaita-icon-theme" ,adwaita-icon-theme)
4843 ("python-pygobject" ,python-pygobject)
4844 ("totem-pl-parser" ,totem-pl-parser)
4846 ("grilo-plugins" ,grilo-plugins)
4851 ;; Disable automatic GStreamer plugin installation via PackageKit and
4853 #:configure-flags '("-D" "enable-easy-codec-installation=no"
4855 ;; Do not build .a files for the plugins, it's
4856 ;; completely useless. This saves 2 MiB.
4857 "--default-library" "shared")
4859 (modify-phases %standard-phases
4860 (add-after 'unpack 'skip-gtk-update-icon-cache
4861 ;; Don't create 'icon-theme.cache'.
4863 (substitute* "meson_post_install.py"
4864 (("gtk-update-icon-cache") "true"))
4867 'install 'disable-cache-generation
4869 (setenv "DESTDIR" "/")
4874 ;; Tests require a running X server.
4875 (system "Xvfb :1 &")
4876 (setenv "DISPLAY" ":1")
4879 'install 'wrap-totem
4880 (lambda* (#:key inputs outputs #:allow-other-keys)
4881 (let ((out (assoc-ref outputs "out"))
4882 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4883 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4884 (wrap-program (string-append out "/bin/totem")
4885 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4886 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4887 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4888 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4890 (home-page "https://wiki.gnome.org/Apps/Videos")
4891 (synopsis "Simple media player for GNOME based on GStreamer")
4892 (description "Totem is a simple yet featureful media player for GNOME
4893 which can read a large number of file formats.")
4894 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4895 ;; to be used and distributed together with GStreamer and Totem. See
4896 ;; file://COPYING in the source distribution for details.
4897 (license license:gpl2+)))
4899 (define-public rhythmbox
4905 (uri (string-append "mirror://gnome/sources/rhythmbox/"
4906 (version-major+minor version) "/"
4907 "rhythmbox-" version ".tar.xz"))
4910 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
4911 (build-system glib-or-gtk-build-system)
4914 (list "--enable-lirc"
4921 (modify-phases %standard-phases
4923 'install 'wrap-rhythmbox
4924 (lambda* (#:key inputs outputs #:allow-other-keys)
4925 (let ((out (assoc-ref outputs "out"))
4926 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4927 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4928 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4929 (python-path (getenv "PYTHONPATH")))
4930 (wrap-program (string-append out "/bin/rhythmbox")
4931 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4932 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4933 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
4934 `("PYTHONPATH" ":" prefix (,python-path))))
4937 `(("dconf" ,dconf)))
4939 `(("itstool" ,itstool)
4940 ("intltool" ,intltool)
4941 ("glib" ,glib "bin")
4942 ("gobject-introspection" ,gobject-introspection)
4943 ("desktop-file-utils" ,desktop-file-utils)
4944 ("pkg-config" ,pkg-config)
4945 ("xmllint" ,libxml2)))
4947 `(("json-glib" ,json-glib)
4949 ("gnome-desktop" ,gnome-desktop)
4951 ("python-pygobject" ,python2-pygobject)
4954 ("adwaita-icon-theme" ,adwaita-icon-theme)
4956 ("grilo-plugins" ,grilo-plugins)
4957 ("gstreamer" ,gstreamer)
4958 ("gst-plugins-base" ,gst-plugins-base)
4959 ("gst-plugins-good" ,gst-plugins-good)
4960 ("totem-pl-parser" ,totem-pl-parser)
4961 ("libgudev" ,libgudev)
4962 ;;("libmtp" ,libmtp) FIXME: Not detected
4963 ("libsecret" ,libsecret)
4964 ("libsoup" ,libsoup)
4965 ("libnotify" ,libnotify)
4966 ("libpeas" ,libpeas)
4968 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4969 ;;("clutter" ,clutter)
4970 ;;("clutter-gtk" ,clutter-gtk)
4971 ;;("clutter-gst" ,clutter-gst)
4972 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4979 ("brasero" ,brasero)))
4980 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4981 (synopsis "Music player for GNOME")
4982 (description "Rhythmbox is a music playing application for GNOME. It
4983 supports playlists, song ratings, and any codecs installed through gstreamer.")
4984 (license license:gpl2+)))
4992 (uri (string-append "mirror://gnome/sources/" name "/"
4993 (version-major+minor version) "/"
4994 name "-" version ".tar.xz"))
4997 "1bcxpqgzlk2cy4wfb3b5h66mhpj2fhrk1rrb5qqcv5xrr62ik5xy"))))
4998 (build-system meson-build-system)
5001 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5002 (list (string-append "-Dc_link_args=-Wl,-rpath="
5003 (assoc-ref %outputs "out") "/lib/eog"))
5005 (modify-phases %standard-phases
5006 (add-after 'unpack 'skip-gtk-update-icon-cache
5007 ;; Don't create 'icon-theme.cache'.
5009 (substitute* "meson_post_install.py"
5010 (("gtk-update-icon-cache") "true"))
5012 (add-after 'install 'wrap-eog
5013 (lambda* (#:key outputs #:allow-other-keys)
5014 (let ((out (assoc-ref outputs "out"))
5015 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5016 (wrap-program (string-append out "/bin/eog")
5017 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5020 `(("dconf" ,dconf)))
5022 `(("intltool" ,intltool)
5023 ("itstool" ,itstool)
5024 ("glib" ,glib "bin")
5025 ("gobject-introspection" ,gobject-introspection)
5026 ("pkg-config" ,pkg-config)
5027 ("xmllint" ,libxml2)))
5029 `(("gnome-desktop" ,gnome-desktop)
5030 ("shared-mime-info" ,shared-mime-info)
5031 ("adwaita-icon-theme" ,adwaita-icon-theme)
5034 ("libexif" ,libexif)
5035 ("libpeas" ,libpeas)
5036 ("libjpeg" ,libjpeg)
5037 ("librsvg" ,librsvg)
5038 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5040 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5041 (synopsis "GNOME image viewer")
5042 (description "Eye of GNOME is the GNOME image viewer. It
5043 supports image conversion, rotation, and slideshows.")
5044 (license license:gpl2+)))
5046 (define-public eog-plugins
5047 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5048 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5049 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5050 ;; 'XDG_DATA_DIRS' appropriately set.
5052 (name "eog-plugins")
5056 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5057 (version-major+minor version) "/"
5058 "eog-plugins-" version ".tar.xz"))
5061 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5062 (build-system gnu-build-system)
5063 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5064 (synopsis "Extensions for the Eye of GNOME image viewer")
5066 `(("pkg-config" ,pkg-config)
5067 ("gettext" ,gnu-gettext)))
5072 ("libpeas" ,libpeas)
5073 ("libexif" ,libexif)
5074 ("libchamplain" ,libchamplain)))
5076 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5080 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5081 @item @dfn{Map}, which displays a map of where the picture was taken on the
5083 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5086 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5087 ;; long suspicious byte stream that goes to a
5088 ;; ".gresource.eog_postasa_plugin" ELF section.
5089 (license license:gpl2+)))
5091 (define-public libgudev
5097 (uri (string-append "mirror://gnome/sources/" name "/"
5098 version "/" name "-" version ".tar.xz"))
5101 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5102 (build-system gnu-build-system)
5105 ;; umockdev depends on libgudev.
5106 (list "--disable-umockdev")))
5108 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5109 ("gobject-introspection" ,gobject-introspection)
5110 ("pkg-config" ,pkg-config)))
5112 `(("glib" ,glib))) ; required by gudev-1.0.pc
5115 (home-page "https://wiki.gnome.org/Projects/libgudev")
5116 (synopsis "GObject bindings for libudev")
5118 "This library provides GObject bindings for libudev. It was originally
5119 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5120 (license license:lgpl2.1+)))
5128 (uri (string-append "mirror://gnome/sources/gvfs/"
5129 (version-major+minor version) "/"
5130 "gvfs-" version ".tar.xz"))
5133 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5134 (build-system meson-build-system)
5138 (list "-Dsystemduserunitdir=no"
5140 ;; Otherwise, the RUNPATH will lack the final path component.
5141 (string-append "-Dc_link_args=-Wl,-rpath="
5142 (assoc-ref %outputs "out") "/lib/gvfs"))))
5144 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5145 ("gettext" ,gettext-minimal)
5146 ("gtk-doc" ,gtk-doc)
5147 ("pkg-config" ,pkg-config)
5148 ("xsltproc" ,libxslt)))
5151 ("docbook-xml" ,docbook-xml-4.2)
5152 ("docbook-xsl" ,docbook-xsl)
5154 ("elogind" ,elogind)
5158 ("gnome-online-accounts" ,gnome-online-accounts)
5159 ("libarchive" ,libarchive)
5160 ("libbluray" ,libbluray)
5162 ("libcdio-paranoia" ,libcdio-paranoia)
5163 ("libgcrypt" ,libgcrypt)
5164 ("libgdata" ,libgdata)
5165 ("libgphoto2" ,libgphoto2)
5166 ("libgudev" ,libgudev)
5167 ("libimobiledevice" ,libimobiledevice)
5170 ("libsecret" ,libsecret)
5171 ("libsmbclient" ,samba)
5172 ("libsoup" ,libsoup)
5173 ("libxml2" ,libxml2)
5174 ("openssh" ,openssh)
5176 ("udisks" ,udisks)))
5177 (home-page "https://wiki.gnome.org/gvfs/")
5178 (synopsis "Userspace virtual file system for GIO")
5180 "GVFS is a userspace virtual file system designed to work with the I/O
5181 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5182 to all applications using the GIO API. It also supports exposing the GVFS
5183 mounts to non-GIO applications using FUSE.
5185 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5187 (license license:lgpl2.0+)))
5196 (url "https://github.com/hughsie/libgusb.git")
5198 (file-name (git-file-name name version))
5201 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5202 (build-system meson-build-system)
5204 `(("gobject-introspection" ,gobject-introspection)
5205 ("pkg-config" ,pkg-config)
5207 ("gtk-doc" ,gtk-doc)))
5209 ;; Both of these are required by gusb.pc.
5211 ("libusb" ,libusb)))
5213 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5214 (home-page "https://github.com/hughsie/libgusb")
5215 (synopsis "GLib binding for libusb1")
5217 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5218 asynchronous control, bulk and interrupt transfers with proper cancellation
5219 and integration into a mainloop. This makes it easy to integrate low level
5220 USB transfers with your high-level application or system daemon.")
5221 (license license:lgpl2.1+)))
5223 (define-public simple-scan
5225 (name "simple-scan")
5230 (uri (string-append "mirror://gnome/sources/simple-scan/"
5231 (version-major+minor version) "/"
5232 "simple-scan-" version ".tar.xz"))
5234 (base32 "198l3yhqhb2wzfdcgi8fzbwycr0njn44583dazz6wy1gqbiqnzgm"))))
5235 (build-system meson-build-system)
5236 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5238 '(#:glib-or-gtk? #t))
5244 ("gdk-pixbuf" ,gdk-pixbuf)
5246 ("libsane" ,sane-backends)))
5248 `(("gettext" ,gettext-minimal)
5249 ("itstool" ,itstool)
5250 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5251 ("pkg-config" ,pkg-config)
5253 ("xmllint" ,libxml2)))
5254 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5255 (synopsis "Document and image scanner")
5257 "Document Scanner is an easy-to-use application that lets you connect your
5258 scanner and quickly capture images and documents in an appropriate format. It
5259 supports any scanner for which a suitable SANE driver is available, which is
5260 almost all of them.")
5261 (license license:gpl3+)))
5263 (define-public eolie
5266 (version "0.9.98.1")
5269 (uri (string-append "https://adishatz.org/eolie/eolie-"
5273 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
5274 (build-system meson-build-system)
5278 (modify-phases %standard-phases
5279 (add-after 'unpack 'skip-gtk-update-icon-cache
5280 ;; Don't create 'icon-theme.cache'.
5282 (substitute* "meson_post_install.py"
5283 (("gtk-update-icon-cache") "true"))
5285 (add-after 'wrap 'wrap-more
5286 (lambda* (#:key inputs outputs #:allow-other-keys)
5287 (let* ((out (assoc-ref outputs "out"))
5288 ;; These libraries must be on LD_LIBRARY_PATH.
5289 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5290 "atk" "gtk+" "gsettings-desktop-schemas"
5291 "gobject-introspection"))
5294 (string-append (assoc-ref inputs lib) "/lib"))
5297 (wrap-program (string-append out "/bin/eolie")
5298 `("LD_LIBRARY_PATH" ":" prefix (,path))
5299 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5300 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5303 `(("intltool" ,intltool)
5304 ("itstool" ,itstool)
5305 ("pkg-config" ,pkg-config)
5307 ("glib:bin" ,glib "bin")))
5309 `(("gobject-introspection" ,gobject-introspection)
5310 ("glib-networking" ,glib-networking)
5313 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5314 ("python" ,python-wrapper)
5315 ("python-dateutil" ,python-dateutil)
5316 ("python-pyfxa" ,python-pyfxa)
5317 ("python-pygobject" ,python-pygobject)
5318 ("python-pycairo" ,python-pycairo)
5319 ("python-pycrypto" ,python-pycrypto)
5320 ("libsecret" ,libsecret)
5321 ("gtkspell3" ,gtkspell3)
5322 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5323 ("webkitgtk" ,webkitgtk)))
5324 (home-page "https://wiki.gnome.org/Apps/Eolie")
5325 (synopsis "Web browser for GNOME")
5327 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5328 a secret password store, an adblocker, and a modern UI.")
5329 (license license:gpl3+)))
5331 (define-public epiphany
5337 (uri (string-append "mirror://gnome/sources/epiphany/"
5338 (version-major+minor version) "/"
5339 "epiphany-" version ".tar.xz"))
5342 "1hj4yy53fwh96h17cqiw3gxc070vmc7yqwc7phvhnpyinkp9g5my"))))
5344 (build-system meson-build-system)
5346 ;; FIXME: tests run under Xvfb, but fail with:
5347 ;; /src/bookmarks/ephy-bookmarks/create:
5348 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
5354 (modify-phases %standard-phases
5355 (add-after 'unpack 'skip-gtk-update-icon-cache
5356 ;; Don't create 'icon-theme.cache'.
5358 (substitute* "post_install.py"
5359 (("gtk-update-icon-cache") "true"))
5362 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5363 (list (string-append "-Dc_link_args=-Wl,-rpath="
5364 (assoc-ref %outputs "out") "/lib/epiphany"))))
5366 `(("dconf" ,dconf)))
5368 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5369 ("glib:bin" ,glib "bin") ; for glib-mkenums
5370 ("intltool" ,intltool)
5371 ("itstool" ,itstool)
5372 ("pkg-config" ,pkg-config)
5373 ("xmllint" ,libxml2)))
5377 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5378 ("glib-networking" ,glib-networking)
5379 ("gnome-desktop" ,gnome-desktop)
5380 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5381 ("json-glib" ,json-glib)
5382 ("iso-codes" ,iso-codes)
5383 ("libdazzle" ,libdazzle)
5384 ("libnotify" ,libnotify)
5385 ("libsecret" ,libsecret)
5386 ("libxslt" ,libxslt)
5387 ("nettle" ,nettle) ; for hogweed
5389 ("webkitgtk" ,webkitgtk)))
5390 (home-page "https://wiki.gnome.org/Apps/Web")
5391 (synopsis "GNOME web browser")
5393 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5394 principles are simplicity and standards compliance.")
5395 (license license:gpl2+)))
5397 (define-public d-feet
5403 (uri (string-append "mirror://gnome/sources/" name "/"
5404 (version-major+minor version) "/"
5405 name "-" version ".tar.xz"))
5408 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5409 (build-system glib-or-gtk-build-system)
5411 '(#:out-of-source? #f ; tests need to run in the source directory.
5413 (modify-phases %standard-phases
5417 ;; The test suite requires a running X server.
5418 (system "Xvfb :1 &")
5419 (setenv "DISPLAY" ":1")
5420 ;; Don't fail on missing '/etc/machine-id'.
5421 (setenv "DBUS_FATAL_WARNINGS" "0")
5422 ;; tests.py and window.py don't meet E402:
5423 ;; E402 module level import not at top of file
5424 (substitute* "src/tests/Makefile"
5425 (("--ignore=E123") "--ignore=E123,E402"))
5428 'install 'wrap-program
5429 (lambda* (#:key outputs #:allow-other-keys)
5430 (let ((prog (string-append (assoc-ref outputs "out")
5433 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5434 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5437 `(("intltool" ,intltool)
5438 ("itstool" ,itstool)
5439 ("pkg-config" ,pkg-config)
5440 ("python-pep8" ,python-pep8)
5441 ("xmllint" ,libxml2)
5442 ("xorg-server" ,xorg-server-for-tests)))
5444 `(("gobject-introspection" ,gobject-introspection)
5446 ("python" ,python-wrapper)
5447 ("hicolor-icon-theme" ,hicolor-icon-theme)
5448 ("python-pygobject" ,python-pygobject)))
5449 (home-page "https://wiki.gnome.org/Apps/DFeet")
5450 (synopsis "D-Bus debugger")
5452 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5453 of running programs and invoke methods on those interfaces.")
5454 (license license:gpl2+)))
5456 (define-public yelp-xsl
5462 (uri (string-append "mirror://gnome/sources/" name "/"
5463 (version-major+minor version) "/"
5464 name "-" version ".tar.xz"))
5467 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
5468 (build-system gnu-build-system)
5470 `(("intltool" ,intltool)
5471 ("itstool" ,itstool)
5472 ("xmllint" ,libxml2)))
5473 (home-page "https://wiki.gnome.org/Apps/Yelp")
5474 (synopsis "XSL stylesheets for Yelp")
5476 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5477 to format Docbook and Mallard documents.")
5478 (license license:gpl2+)))
5486 (uri (string-append "mirror://gnome/sources/" name "/"
5487 (version-major+minor version) "/"
5488 name "-" version ".tar.xz"))
5491 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5492 (build-system glib-or-gtk-build-system)
5494 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5495 ("intltool" ,intltool)
5496 ("itstool" ,itstool)
5497 ("pkg-config" ,pkg-config)))
5499 `(("dconf" ,dconf)))
5501 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5502 ("libxslt" ,libxslt)
5504 ("webkitgtk" ,webkitgtk)
5505 ("yelp-xsl" ,yelp-xsl)))
5506 (home-page "https://wiki.gnome.org/Apps/Yelp")
5507 (synopsis "GNOME help browser")
5509 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5510 man, info, and HTML documents. It can locate documents according to the
5511 freedesktop.org help system specification.")
5512 (license license:gpl2+)))
5514 (define-public yelp-tools
5520 (uri (string-append "mirror://gnome/sources/" name "/"
5521 (version-major+minor version) "/"
5522 name "-" version ".tar.xz"))
5525 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
5526 (build-system gnu-build-system)
5528 `(("pkg-config" ,pkg-config)))
5530 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5531 `(("itstool" ,itstool)
5532 ("xmllint" ,libxml2)
5533 ("xsltproc" ,libxslt)))
5535 `(("yelp-xsl" ,yelp-xsl)))
5536 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5537 (synopsis "Yelp documentation tools")
5539 "Yelp-tools is a collection of scripts and build utilities to help create,
5540 manage, and publish documentation for Yelp and the web. Most of the heavy
5541 lifting is done by packages like yelp-xsl and itstool. This package just
5542 wraps things up in a developer-friendly way.")
5543 (license license:gpl2+)))
5545 (define-public yelp-tools/fixed
5546 ;; This variant fixes a python-libxml2 crash when processing UTF-8
5547 ;; sequences: <https://bugs.gnu.org/37468>. TODO: Remove this in
5548 ;; the next rebuild cycle.
5553 `(("itstool" ,itstool/fixed)
5554 ,@(alist-delete "itstool" (package-propagated-inputs yelp-tools)))))))
5556 (define-public libgee
5562 (uri (string-append "mirror://gnome/sources/libgee/"
5563 (version-major+minor version) "/"
5564 "libgee-" version ".tar.xz"))
5567 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
5568 (build-system gnu-build-system)
5571 (modify-phases %standard-phases
5572 (add-after 'unpack 'fix-introspection-install-dir
5573 (lambda* (#:key outputs #:allow-other-keys)
5574 (let ((out (assoc-ref outputs "out")))
5575 (substitute* "gee/Makefile.in"
5576 (("@INTROSPECTION_GIRDIR@")
5577 (string-append out "/share/gir-1.0/"))
5578 (("@INTROSPECTION_TYPELIBDIR@")
5579 (string-append out "/lib/girepository-1.0/")))))))))
5581 `(("glib" ,glib "bin")
5582 ("pkg-config" ,pkg-config)))
5585 ("gobject-introspection" ,gobject-introspection)))
5586 (home-page "https://wiki.gnome.org/Projects/Libgee")
5587 (synopsis "GObject collection library")
5589 "Libgee is a utility library providing GObject-based interfaces and
5590 classes for commonly used data structures.")
5591 (license license:lgpl2.1+)))
5593 (define-public gexiv2
5599 (uri (string-append "mirror://gnome/sources/" name "/"
5600 (version-major+minor version) "/"
5601 name "-" version ".tar.xz"))
5604 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
5605 (build-system meson-build-system)
5608 ("glib" ,glib "bin")
5609 ("pkg-config" ,pkg-config)
5612 ;; Listed in "Requires" section of gexiv2.pc
5613 `(("exiv2" ,exiv2)))
5616 ("gobject-introspection" ,gobject-introspection)))
5617 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5618 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5620 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5621 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5622 metadata in photo and video files of various formats.")
5623 (license license:gpl2+)))
5625 (define-public shotwell
5631 (uri (string-append "mirror://gnome/sources/shotwell/"
5632 (version-major+minor version) "/"
5633 "shotwell-" version ".tar.xz"))
5636 "1f7m007g6w1sz8s60w6x81ghp2rrjmik8phd958b2hy8zz92wbbj"))))
5637 (build-system meson-build-system)
5641 (modify-phases %standard-phases
5642 (add-after 'unpack 'skip-gtk-update-icon-cache
5644 (substitute* "build-aux/meson/postinstall.py"
5645 (("gtk-update-icon-cache") (which "true"))
5646 (("update-desktop-database") (which "true")))
5649 `(("dconf" ,dconf)))
5651 `(("gettext" ,gettext-minimal)
5652 ("glib:bin" ,glib "bin")
5653 ("itstool" ,itstool)
5654 ("pkg-config" ,pkg-config)
5659 ("gst-plugins-base" ,gst-plugins-base)
5660 ("gstreamer" ,gstreamer)
5661 ("json-glib" ,json-glib)
5662 ("libgdata" ,libgdata)
5664 ("libgphoto2" ,libgphoto2)
5665 ("libgudev" ,libgudev)
5667 ("libsoup" ,libsoup)
5668 ("libxml2" ,libxml2)
5670 ("webkitgtk" ,webkitgtk)))
5671 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5672 (synopsis "Photo manager for GNOME 3")
5674 "Shotwell is a digital photo manager designed for the GNOME desktop
5675 environment. It allows you to import photos from disk or camera, organize
5676 them by keywords and events, view them in full-window or fullscreen mode, and
5677 share them with others via social networking and more.")
5678 (license license:lgpl2.1+)))
5680 (define-public file-roller
5682 (name "file-roller")
5686 (uri (string-append "mirror://gnome/sources/file-roller/"
5687 (version-major+minor version) "/"
5688 "file-roller-" version ".tar.xz"))
5691 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5692 (build-system meson-build-system)
5694 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5695 ("intltool" ,intltool)
5696 ("itstool" ,itstool)
5697 ("pkg-config" ,pkg-config)
5698 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5699 ("glib:bin" ,glib "bin")))
5700 ;; TODO: Add libnautilus.
5703 ("gdk-pixbuf" ,gdk-pixbuf)
5704 ("json-glib" ,json-glib)
5705 ("libarchive" ,libarchive)
5706 ("libnotify" ,libnotify)
5708 ("libxml2" ,libxml2)))
5709 (synopsis "Graphical archive manager for GNOME")
5710 (description "File Roller is an archive manager for the GNOME desktop
5711 environment that allows users to view, unpack, and create compressed archives
5712 such as gzip tarballs.")
5713 (home-page "http://fileroller.sourceforge.net/")
5714 (license license:gpl2+)))
5716 (define-public gnome-session
5718 (name "gnome-session")
5722 (uri (string-append "mirror://gnome/sources/" name "/"
5723 (version-major+minor version) "/"
5724 name "-" version ".tar.xz"))
5727 "0zrzkpd406i159mla7bfs5npa32fgqh66aip1rfq02rgsgmc9m5v"))))
5731 (modify-phases %standard-phases
5732 (add-before 'configure 'pre-configure
5733 (lambda* (#:key outputs #:allow-other-keys)
5734 ;; Use elogind instead of systemd.
5735 (substitute* "meson.build"
5736 (("libsystemd-login") "libelogind")
5737 (("and libsystemd_daemon_dep.found.*") ","))
5738 (substitute* "gnome-session/gsm-systemd.c"
5739 (("#include <systemd/sd-login.h>")
5740 "#include <elogind/sd-login.h>"))
5741 ;; Remove uses of the systemd daemon.
5742 (substitute* "gnome-session/gsm-autostart-app.c"
5743 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5745 (add-after 'install 'wrap-gnome-session
5746 (lambda* (#:key inputs outputs #:allow-other-keys)
5747 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5748 (let ((glib (assoc-ref inputs "glib:bin"))
5749 (out (assoc-ref outputs "out")))
5750 (wrap-program (string-append out "/bin/gnome-session")
5751 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5755 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5756 "-Dman=false" ; FIXME: disabled because of docbook validation error
5757 "-Dsystemd_journal=false")))
5758 (build-system meson-build-system)
5760 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5761 ("pkg-config" ,pkg-config)
5762 ("intltool" ,intltool)
5763 ("xsltproc" ,libxslt)
5764 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5765 ("docbook-xsl" ,docbook-xsl)
5766 ("docbook-xml" ,docbook-xml)
5769 `(("elogind" ,elogind)
5770 ("gnome-desktop" ,gnome-desktop)
5771 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5773 ("json-glib" ,json-glib)
5775 ("libxcomposite" ,libxcomposite)
5776 ("libxtst" ,libxtst)
5779 ("xtrans" ,xtrans)))
5780 (synopsis "Session manager for GNOME")
5782 "This package contains the GNOME session manager, as well as a
5783 configuration program to choose applications starting on login.")
5784 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5785 (license license:gpl2+)))
5793 (uri (string-append "mirror://gnome/sources/" name "/"
5794 (version-major+minor version) "/"
5795 name "-" version ".tar.xz"))
5798 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
5799 (build-system gnu-build-system)
5802 (modify-phases %standard-phases
5806 ;; The test suite requires a running X server.
5807 (system "Xvfb :1 &")
5808 (setenv "DISPLAY" ":1")
5810 ;; For the missing /etc/machine-id.
5811 (setenv "DBUS_FATAL_WARNINGS" "0")
5813 ;; Our mozjs-38 package does not compile the required Intl API
5814 ;; support for these failing tests.
5815 (substitute* "installed-tests/js/testLocale.js"
5816 ((".*toBeDefined.*") "")
5817 ((".*expect\\(datestr\\).*") ""))
5818 (substitute* "installed-tests/scripts/testCommandLine.sh"
5823 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5824 ("pkg-config" ,pkg-config)
5825 ("xmllint" ,libxml2)
5827 ("dbus-launch" ,dbus)
5828 ("uuidgen" ,util-linux)
5829 ("xvfb" ,xorg-server-for-tests)))
5831 ;; These are all in the Requires.private field of gjs-1.0.pc.
5833 ("gobject-introspection" ,gobject-introspection)
5834 ("mozjs" ,mozjs-60)))
5837 ("readline" ,readline)))
5838 (synopsis "Javascript bindings for GNOME")
5839 (home-page "https://live.gnome.org/Gjs")
5841 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5842 javascript engine and the GObject introspection framework.")
5843 (license license:gpl2+)))
5845 (define-public gedit
5851 (uri (string-append "mirror://gnome/sources/" name "/"
5852 (version-major+minor version) "/"
5853 name "-" version ".tar.xz"))
5856 "1q2rk7fym542c7k3bn2wlnzgy384gxacbifsjny0spbg95gfybvl"))))
5857 (build-system meson-build-system)
5861 ;; Otherwise, the RUNPATH will lack the final path component.
5862 (list (string-append "-Dc_link_args=-Wl,-rpath="
5863 (assoc-ref %outputs "out") "/lib/gedit"))
5865 ;; XXX: Generated .h files are sometimes used before being built.
5866 #:parallel-build? #f
5869 (modify-phases %standard-phases
5870 (add-after 'unpack 'skip-gtk-update-icon-cache
5871 ;; Don't create 'icon-theme.cache'.
5873 (substitute* "build-aux/meson/post_install.py"
5874 (("gtk-update-icon-cache") (which "true")))
5876 (add-after 'unpack 'patch-libgd-fetch
5877 (lambda* (#:key inputs #:allow-other-keys)
5878 (let ((libgd (assoc-ref inputs "libgd")))
5879 ;; Calling git is unnecessary because libgd is fetched as a
5880 ;; native input to this package.
5881 (substitute* "meson.build"
5883 (copy-recursively libgd "subprojects/libgd")
5885 (add-after 'install 'wrap-gedit
5886 (lambda* (#:key inputs outputs #:allow-other-keys)
5887 (let ((out (assoc-ref outputs "out"))
5888 (gtksourceview (assoc-ref inputs "gtksourceview"))
5889 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5890 (python-path (getenv "PYTHONPATH")))
5891 (wrap-program (string-append out "/bin/gedit")
5893 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5894 `("PYTHONPATH" ":" prefix (,python-path))
5895 ;; For language-specs.
5896 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5900 `(("dconf" ,dconf)))
5902 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5903 ("intltool" ,intltool)
5904 ("itstool" ,itstool)
5905 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5906 ("gobject-introspection" ,gobject-introspection)
5911 (url "https://gitlab.gnome.org/GNOME/libgd")
5912 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
5913 (file-name (git-file-name "libgd" version))
5915 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
5916 ("pkg-config" ,pkg-config)))
5921 ("gtksourceview" ,gtksourceview)
5922 ("libpeas" ,libpeas)
5923 ("libxml2" ,libxml2)
5924 ("iso-codes" ,iso-codes)
5925 ("python-pygobject" ,python-pygobject)
5927 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5930 ("adwaita-icon-theme" ,adwaita-icon-theme)
5931 ("libsoup" ,libsoup)
5932 ("gnome-desktop" ,gnome-desktop)))
5933 (home-page "https://wiki.gnome.org/Apps/Gedit")
5934 (synopsis "GNOME text editor")
5935 (description "While aiming at simplicity and ease of use, gedit is a
5936 powerful general purpose text editor.")
5937 (license license:gpl2+)))
5939 (define-public zenity
5945 (uri (string-append "mirror://gnome/sources/zenity/"
5946 (version-major+minor version) "/"
5947 "zenity-" version ".tar.xz"))
5950 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
5951 (build-system gnu-build-system)
5953 `(("gettext" ,gettext-minimal)
5954 ("itstool" ,itstool)
5955 ("pkg-config" ,pkg-config)))
5957 `(("libnotify" ,libnotify)
5958 ("webkitgtk" ,webkitgtk)))
5959 (synopsis "Display graphical dialog boxes from shell scripts")
5960 (home-page "https://www.gnome.org")
5962 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
5963 to display dialog boxes from the commandline and shell scripts.")
5964 (license license:lgpl2.0+)))
5966 (define-public mutter
5972 (uri (string-append "mirror://gnome/sources/" name "/"
5973 (version-major+minor version) "/"
5974 name "-" version ".tar.xz"))
5977 "1h577i2ap7dpfy1jg101jvc6nzccc0csgvd55ahydlr8f94frcva"))))
5978 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
5979 ;; versions of cogl and clutter. As a result, many of the inputs,
5980 ;; propagated-inputs, and configure flags used in cogl and clutter are
5981 ;; needed here as well.
5982 (build-system meson-build-system)
5984 '(;; XXX: All mutter tests fail with the following error:
5985 ;; Settings schema 'org.gnome.mutter' is not installed
5989 ;; Otherwise, the RUNPATH will lack the final path component.
5990 (list (string-append "-Dc_link_args=-Wl,-rpath="
5991 (assoc-ref %outputs "out") "/lib:"
5992 (assoc-ref %outputs "out") "/lib/mutter-4")
5994 ;; The following flags are needed for the bundled clutter
5995 (string-append "-Dxwayland_path="
5996 (assoc-ref %build-inputs "xorg-server-xwayland")
5999 ;; the remaining flags are needed for the bundled cogl
6000 (string-append "-Dopengl_libname="
6001 (assoc-ref %build-inputs "mesa")
6004 (modify-phases %standard-phases
6005 (add-after 'unpack 'disable-werror
6007 ;; XXX: build fails with [-Werror]:
6008 ;; backends/meta-cursor-renderer.c:112:5: error:
6009 ;; implicit declaration of function ?roundf?
6010 (substitute* "meson.build"
6011 (("'-Werror=.*',") ""))
6013 ;; Replace references to systemd libraries to elogind references.
6014 (add-before 'configure 'use-elogind
6016 (substitute* (list "meson.build"
6017 "src/backends/native/meta-launcher.c"
6019 (("systemd") "elogind"))
6022 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6023 ("gobject-introspection" ,gobject-introspection)
6024 ("intltool" ,intltool)
6025 ("pkg-config" ,pkg-config)
6026 ("xorg-server" ,xorg-server-for-tests)
6028 ("autoconf" ,autoconf)
6029 ("automake" ,automake)
6030 ("libtool" ,libtool)))
6032 `(;; libmutter.pc refers to these:
6033 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6035 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6038 ("gdk-pixbuf" ,gdk-pixbuf)
6040 ("json-glib" ,json-glib)
6041 ("libinput" ,libinput)
6043 ("libxcomposite" ,libxcomposite)
6044 ("libxdamage" ,libxdamage)
6045 ("libxext" ,libxext)
6046 ("libxfixes" ,libxfixes)
6047 ("libxkbcommon" ,libxkbcommon)
6048 ("libxrandr" ,libxrandr)
6052 ("xinput" ,xinput)))
6054 `(("elogind" ,elogind)
6055 ("gnome-desktop" ,gnome-desktop)
6056 ("gnome-settings-daemon" ,gnome-settings-daemon)
6057 ("libcanberra-gtk" ,libcanberra)
6058 ("libgudev" ,libgudev)
6061 ("libwacom" ,libwacom)
6062 ("libxkbfile" ,libxkbfile)
6063 ("libxrandr" ,libxrandr)
6064 ("libxtst" ,libxtst)
6065 ("pipewire" ,pipewire)
6066 ("startup-notification" ,startup-notification)
6067 ("upower-glib" ,upower)
6068 ("xkeyboard-config" ,xkeyboard-config)
6069 ("xorg-server-xwayland" ,xorg-server-xwayland)
6070 ("zenity" ,zenity)))
6071 (synopsis "Window and compositing manager")
6072 (home-page "https://www.gnome.org")
6074 "Mutter is a window and compositing manager that displays and manages your
6075 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6076 Clutter toolkit with solid window-management logic inherited from the Metacity
6078 (license license:gpl2+)))
6080 (define-public gnome-online-accounts
6082 (name "gnome-online-accounts")
6086 (uri (string-append "mirror://gnome/sources/" name "/"
6087 (version-major+minor version) "/"
6088 name "-" version ".tar.xz"))
6091 "08g9kdj8fzcgp76z2zsj9m7wfjks9z6xfrfrbfmcr69k40mapfx8"))))
6092 (outputs '("out" "lib"))
6093 (build-system glib-or-gtk-build-system)
6096 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6098 (modify-phases %standard-phases
6099 (add-before 'configure 'patch-libgoa-output
6100 (lambda* (#:key outputs #:allow-other-keys)
6101 (let ((lib (assoc-ref outputs "lib")))
6102 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6104 (("@exec_prefix@") lib)
6105 (("@libdir@") (string-append lib "/lib"))
6106 (("@includedir@") (string-append lib "/include"))
6107 (("@datadir@") (string-append lib "/share")))
6108 ;; Make sure gobject-introspection knows about the output
6109 ;; too (see <https://bugs.gnu.org/36535>).
6110 (setenv "outputs" "out lib")
6113 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6114 ("gobject-introspection" ,gobject-introspection)
6115 ("intltool" ,intltool)
6116 ("pkg-config" ,pkg-config)
6118 ("xsltproc" ,libxslt)))
6120 `(("glib" ,glib) ; required by goa-1.0.pc
6121 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6123 `(("docbook-xsl" ,docbook-xsl)
6124 ("json-glib" ,json-glib)
6125 ("libsecret" ,libsecret)
6127 ("webkitgtk" ,webkitgtk)))
6128 (synopsis "Single sign-on framework for GNOME")
6129 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6131 "GNOME Online Accounts provides interfaces so that applications and
6132 libraries in GNOME can access the user's online accounts. It has providers for
6133 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6134 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6135 (license license:lgpl2.0+)))
6137 (define-public evolution-data-server
6139 (name "evolution-data-server")
6143 (uri (string-append "mirror://gnome/sources/" name "/"
6144 (version-major+minor version) "/"
6145 name "-" version ".tar.xz"))
6146 (patches (search-patches "evolution-data-server-locales.patch"
6147 "evolution-data-server-libical-compat.patch"))
6150 "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3"))))
6151 (build-system cmake-build-system)
6154 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6155 (runpaths (map (lambda (s)
6156 (string-append lib "/evolution-data-server/" s))
6157 '("addressbook-backends" "calendar-backends"
6158 "camel-providers" "credential-modules"
6159 "registry-modules"))))
6160 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6161 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6162 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6163 "-DENABLE_VALA_BINDINGS=ON"
6164 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6165 (string-append lib "/evolution-data-server;")
6166 (string-join runpaths ";"))
6167 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6169 (modify-phases %standard-phases
6170 (add-after 'unpack 'disable-failing-tests
6172 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6173 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6174 (delete-file-recursively "tests/book-migration")
6175 (substitute* "tests/CMakeLists.txt"
6176 (("add_subdirectory\\(book-migration\\)") ""))
6177 ;; tests/libebook/client/test-book-client-view-operations:8077):
6178 ;; e-data-server-WARNING **:
6179 ;; (src/libedataserver/e-source-registry.c:264):thread_closure_free:
6180 ;; runtime check failed:
6181 ;; (!g_main_context_pending (closure->main_context))
6182 (substitute* "tests/libebook/client/CMakeLists.txt"
6183 (("test-book-client-view-operations") ""))
6185 (add-after 'unpack 'patch-paths
6187 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6188 "tests/libedata-book/data-test-utils.c"
6189 "tests/libedata-book/test-book-cache-utils.c"
6190 "tests/libedata-cal/test-cal-cache-utils.c")
6191 (("/bin/rm") (which "rm")))
6193 (add-before 'configure 'dont-override-rpath
6195 (substitute* "CMakeLists.txt"
6196 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6197 ;; Remove it so the configure flag is respected.
6198 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6201 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6202 ("gobject-introspection" ,gobject-introspection)
6204 ("intltool" ,intltool)
6205 ("pkg-config" ,pkg-config)
6207 ("python" ,python-wrapper)))
6209 ;; These are all in the Requires field of .pc files.
6211 ("libical" ,libical)
6212 ("libsecret" ,libsecret)
6213 ("libsoup" ,libsoup)
6215 ("sqlite" ,sqlite)))
6219 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6220 ("json-glib" ,json-glib)
6221 ("libcanberra" ,libcanberra)
6222 ("libgweather" ,libgweather)
6223 ("mit-krb5" ,mit-krb5)
6224 ("openldap" ,openldap)
6225 ("webkitgtk" ,webkitgtk)))
6226 (synopsis "Store address books and calendars")
6227 (home-page "https://wiki.gnome.org/Apps/Evolution")
6229 "This package provides a unified backend for programs that work with
6230 contacts, tasks, and calendar information. It was originally developed for
6231 Evolution (hence the name), but is now used by other packages as well.")
6232 (license license:lgpl2.0)))
6234 (define-public caribou
6240 (uri (string-append "mirror://gnome/sources/" name "/"
6241 (version-major+minor version) "/"
6242 name "-" version ".tar.xz"))
6245 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6246 (build-system glib-or-gtk-build-system)
6249 (modify-phases %standard-phases
6252 (lambda* (#:key outputs #:allow-other-keys)
6253 (let ((out (assoc-ref outputs "out")))
6254 ;; Use absolute shared library path in Caribou-1.0.typelib.
6255 (substitute* "libcaribou/Makefile"
6256 (("--shared-library=libcaribou.so")
6257 (string-append "--shared-library="
6258 out "/lib/libcaribou.so")))
6260 (add-after 'install 'wrap-programs
6261 (lambda* (#:key outputs #:allow-other-keys)
6262 (let* ((out (assoc-ref outputs "out"))
6263 (python-path (getenv "PYTHONPATH"))
6264 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6268 `("PYTHONPATH" ":" prefix (,python-path))
6269 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6270 (list (string-append out "/bin/caribou-preferences")
6271 (string-append out "/libexec/antler-keyboard"))))
6274 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6275 ("gobject-introspection" ,gobject-introspection)
6276 ("intltool" ,intltool)
6277 ("pkg-config" ,pkg-config)
6280 ("xsltproc" ,libxslt)))
6282 ;; caribou-1.0.pc refers to all these.
6283 `(("libgee" ,libgee)
6284 ("libxklavier" ,libxklavier)
6285 ("libxtst" ,libxtst)
6288 `(("clutter" ,clutter)
6291 ("python-pygobject" ,python-pygobject)))
6292 (synopsis "Text entry and UI navigation application")
6293 (home-page "https://wiki.gnome.org/Projects/Caribou")
6295 "Caribou is an input assistive technology intended for switch and pointer
6297 (license license:lgpl2.1)))
6299 (define-public network-manager
6301 (name "network-manager")
6305 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6306 (version-major+minor version) "/"
6307 "NetworkManager-" version ".tar.xz"))
6308 (patches (search-patches "nm-plugin-path.patch"))
6311 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
6312 (modules '((guix build utils)))
6315 (substitute* "src/devices/wwan/nm-modem-manager.c"
6316 (("systemd") "elogind"))
6318 (build-system gnu-build-system)
6320 "doc")) ; 8 MiB of gtk-doc HTML
6323 (let ((out (assoc-ref %outputs "out"))
6324 (doc (assoc-ref %outputs "doc"))
6325 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6327 (list "--with-libnm-glib" ; needed by network-manager-applet
6328 "--with-systemd-journal=no"
6329 "--with-session-tracking=elogind"
6330 "--with-suspend-resume=elogind"
6331 "--with-consolekit=no"
6332 "--with-crypto=gnutls"
6333 "--disable-config-plugin-ibft"
6335 "--localstatedir=/var"
6336 (string-append "--with-udev-dir="
6338 (string-append "--with-dbus-sys-dir="
6339 out "/etc/dbus-1/system.d")
6340 (string-append "--with-html-dir="
6341 doc "/share/gtk-doc/html")
6342 (string-append "--with-dhclient=" dhclient)))
6344 (modify-phases %standard-phases
6345 ;; This bare "ls" invocation breaks some tests.
6346 (add-after 'unpack 'patch-ls-invocation
6348 (substitute* "build-aux/ltmain.sh"
6350 (string-append "`" (which "ls") " -")))
6352 (add-before 'configure 'pre-configure
6354 ;; These tests try to test aspects of network-manager's
6355 ;; functionality within restricted containers, but they don't
6356 ;; cope with being already in the Guix build jail as that jail
6357 ;; lacks some features that they would like to proxy over (like
6359 (substitute* '("Makefile.in")
6360 (("src/platform/tests/test-address-linux") " ")
6361 (("src/platform/tests/test-cleanup-linux") " ")
6362 (("src/platform/tests/test-link-linux") " ")
6363 (("src/platform/tests/test-route-linux") " ")
6364 (("src/devices/tests/test-acd") "")
6365 (("src/devices/tests/test-arping") " ")
6366 (("src/devices/tests/test-lldp") " ")
6367 (("src/tests/test-route-manager-linux") " "))
6369 (add-after 'unpack 'delete-failing-tests
6371 ;; FIXME: These three tests fail for unknown reasons.
6372 ;; ERROR:libnm-core/tests/test-general.c:5842:
6373 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6374 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6375 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6376 ;; ERROR:libnm-core/tests/test-setting.c:907:
6377 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
6378 (substitute* "Makefile.in"
6379 (("libnm-core/tests/test-general") " ")
6380 (("libnm-core/tests/test-keyfile") " ")
6381 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
6383 (add-before 'check 'pre-check
6385 ;; For the missing /etc/machine-id.
6386 (setenv "DBUS_FATAL_WARNINGS" "0")
6394 "nmstatedir=/tmp/nm"
6400 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6401 ("gobject-introspection" ,gobject-introspection)
6402 ("docbook-xsl" ,docbook-xsl)
6403 ("intltool" ,intltool)
6404 ("libxslt" ,libxslt)
6405 ("libxml2" ,libxml2)
6406 ("pkg-config" ,pkg-config)
6408 ("python" ,python-wrapper)
6409 ("python-dbus" ,python-dbus)
6410 ("python-pygobject" ,python-pygobject)))
6412 `(("coreutils" ,coreutils) ; for ls
6414 ("cyrus-sasl" ,cyrus-sasl)
6415 ("dbus-glib" ,dbus-glib)
6416 ("dnsmasq" ,dnsmasq)
6419 ("iptables" ,iptables)
6420 ("isc-dhcp" ,isc-dhcp)
6421 ("jansson" ,jansson)
6422 ("libgcrypt" ,libgcrypt)
6423 ("libgudev" ,libgudev)
6426 ("libsoup" ,libsoup)
6427 ("modem-manager" ,modem-manager)
6428 ("newt" ,newt) ;for the 'nmtui' console interface
6431 ("readline" ,readline)
6432 ("util-linux" ,util-linux)
6433 ("elogind" ,elogind)))
6434 (synopsis "Network connection manager")
6435 (home-page "https://www.gnome.org/projects/NetworkManager/")
6437 "NetworkManager is a system network service that manages your network
6438 devices and connections, attempting to keep active network connectivity when
6439 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6440 devices, and provides VPN integration with a variety of different VPN
6442 (license license:gpl2+)
6443 (properties '((upstream-name . "NetworkManager")))))
6445 (define-public network-manager-openvpn
6447 (name "network-manager-openvpn")
6448 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
6453 "mirror://gnome/sources/NetworkManager-openvpn/"
6454 (version-major+minor version)
6455 "/NetworkManager-openvpn-" version ".tar.xz"))
6458 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
6459 (build-system gnu-build-system)
6461 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6463 (modify-phases %standard-phases
6464 (add-after 'configure 'patch-path
6465 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6466 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6468 (modprobe (string-append (assoc-ref inputs "kmod")
6470 (pretty-ovpn (string-append "\"" ovpn "\"")))
6474 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6475 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6476 (("\"/sbin/openvpn\"") pretty-ovpn)
6477 (("/sbin/modprobe") modprobe)))
6478 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6481 `(("pkg-config" ,pkg-config)
6482 ("intltool" ,intltool)))
6486 ("openvpn" ,openvpn)
6487 ("network-manager" ,network-manager)
6488 ("network-manager-applet" ,network-manager-applet) ;for libnma
6489 ("libsecret" ,libsecret)))
6490 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6491 (synopsis "OpenVPN plug-in for NetworkManager")
6493 "This extension of NetworkManager allows it to take care of connections
6494 to virtual private networks (VPNs) via OpenVPN.")
6495 (license license:gpl2+)
6496 (properties `((upstream-name . "NetworkManager-openvpn")))))
6498 (define-public network-manager-vpnc
6500 (name "network-manager-vpnc")
6505 "mirror://gnome/sources/NetworkManager-vpnc/"
6506 (version-major+minor version)
6507 "/NetworkManager-vpnc-" version ".tar.xz"))
6510 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6511 (build-system gnu-build-system)
6513 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6515 (modify-phases %standard-phases
6516 (add-after 'configure 'patch-path
6517 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6518 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6520 (modprobe (string-append (assoc-ref inputs "kmod")
6522 (pretty-ovpn (string-append "\"" vpnc "\"")))
6523 (substitute* "src/nm-vpnc-service.c"
6524 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6525 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6526 (("\"/sbin/vpnc\"") pretty-ovpn)
6527 (("/sbin/modprobe") modprobe)))
6530 `(("pkg-config" ,pkg-config)
6531 ("intltool" ,intltool)))
6536 ("network-manager" ,network-manager)
6537 ("network-manager-applet" ,network-manager-applet) ;for libnma
6538 ("libsecret" ,libsecret)))
6539 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6540 (synopsis "VPNC plug-in for NetworkManager")
6542 "Support for configuring virtual private networks based on VPNC.
6543 Compatible with Cisco VPN concentrators configured to use IPsec.")
6544 (license license:gpl2+)
6545 (properties `((upstream-name . "NetworkManager-vpnc")))))
6547 (define-public network-manager-openconnect
6549 (name "network-manager-openconnect")
6554 "mirror://gnome/sources/NetworkManager-openconnect/"
6555 (version-major+minor version)
6556 "/NetworkManager-openconnect-" version ".tar.xz"))
6559 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6560 (build-system gnu-build-system)
6562 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6564 (modify-phases %standard-phases
6565 (add-after 'configure 'patch-path
6566 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6567 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6568 "/sbin/openconnect"))
6569 (modprobe (string-append (assoc-ref inputs "kmod")
6571 (pretty-ovpn (string-append "\"" openconnect "\"")))
6572 (substitute* "src/nm-openconnect-service.c"
6573 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6574 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6575 (("/sbin/modprobe") modprobe)))
6578 `(("intltool" ,intltool)
6579 ("network-manager-applet" ,network-manager-applet) ;for libnma
6580 ("pkg-config" ,pkg-config)))
6585 ("libsecret" ,libsecret)
6586 ("libxml2" ,libxml2)
6587 ("network-manager" ,network-manager)
6588 ("openconnect" ,openconnect)))
6589 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6590 (synopsis "OpenConnect plug-in for NetworkManager")
6592 "This extension of NetworkManager allows it to take care of connections
6593 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6594 Cisco's AnyConnect SSL VPN.")
6595 (license license:gpl2+)
6596 (properties `((upstream-name . "NetworkManager-openconnect")
6598 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6599 ;; file refers to account "nm-openconnect". Specify it here
6600 ;; so that 'network-manager-service-type' creates it.
6601 (user-accounts . ("nm-openconnect"))))))
6603 (define-public mobile-broadband-provider-info
6605 (name "mobile-broadband-provider-info")
6606 (version "20190116")
6610 "mirror://gnome/sources/"
6611 "mobile-broadband-provider-info/" version "/"
6612 "mobile-broadband-provider-info-" version ".tar.xz"))
6615 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6616 (build-system gnu-build-system)
6618 `(#:tests? #f)) ; no tests
6619 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6620 (synopsis "Database of broadband connection configuration")
6621 (description "Database of broadband connection configuration.")
6622 (license license:public-domain)))
6624 (define-public network-manager-applet
6626 (name "network-manager-applet")
6630 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6631 (version-major+minor version) "/"
6632 "network-manager-applet-" version ".tar.xz"))
6635 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
6636 (build-system meson-build-system)
6639 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6640 (list "-Dlibnm_gtk=true")
6643 `(("intltool" ,intltool)
6644 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6645 ("gobject-introspection" ,gobject-introspection)
6646 ("gtk-doc" ,gtk-doc)
6647 ("pkg-config" ,pkg-config)))
6649 ;; libnm-gtk.pc refers to all these.
6650 `(("dbus-glib" ,dbus-glib)
6652 ("network-manager" ,network-manager)))
6655 ("iso-codes" ,iso-codes)
6656 ("libgudev" ,libgudev)
6657 ("libnotify" ,libnotify)
6658 ("libsecret" ,libsecret)
6659 ("libselinux" ,libselinux)
6660 ("jansson" ,jansson) ; for team support
6661 ("modem-manager" ,modem-manager)
6662 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
6663 (synopsis "Applet for managing network connections")
6664 (home-page "https://www.gnome.org/projects/NetworkManager/")
6666 "This package contains a systray applet for NetworkManager. It displays
6667 the available networks and allows users to easily switch between them.")
6668 (license license:gpl2+)))
6670 (define-public libxml++
6676 (uri (string-append "mirror://gnome/sources/" name "/"
6677 (version-major+minor version) "/"
6678 name "-" version ".tar.xz"))
6681 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6682 (build-system gnu-build-system)
6683 ;; libxml++-3.0.pc refers to all these.
6685 `(("libxml2" ,libxml2)
6686 ("glibmm" ,glibmm)))
6689 ("pkg-config" ,pkg-config)))
6690 (home-page "http://libxmlplusplus.sourceforge.net/")
6691 (synopsis "C++ wrapper for XML parser library libxml2")
6693 "This package provides a C++ wrapper for the XML parser library
6695 (license license:lgpl2.1+)))
6697 (define-public libxml++-2
6704 (uri (string-append "mirror://gnome/sources/" name "/"
6705 (version-major+minor version) "/"
6706 name "-" version ".tar.xz"))
6709 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6717 (uri (string-append "mirror://gnome/sources/" name "/"
6718 (version-major+minor version) "/"
6719 name "-" version ".tar.xz"))
6722 "12ypdz9i24hwbl1d1wnnxb8zlvfa4f49n9ac5cl9d6h8qp4b0gb4"))))
6723 (build-system glib-or-gtk-build-system)
6726 `("--without-plymouth"
6727 "--disable-systemd-journal"
6729 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6730 ;; instead of having to replace it (i.e., stopping the mingetty
6731 ;; service for TTY 1 before starting GDM).
6732 "--with-initial-vt=7"
6734 ;; Use '/etc/environment' for locale settings instead of the
6735 ;; systemd-specific '/etc/locale.conf'.
6736 "--with-lang-file=/etc/environment"
6738 ,(string-append "--with-udevdir="
6739 (assoc-ref %outputs "out") "/lib/udev")
6741 "--localstatedir=/var"
6742 ,(string-append "--with-default-path="
6743 (string-join '("/run/setuid-programs"
6744 "/run/current-system/profile/bin"
6745 "/run/current-system/profile/sbin")
6747 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6748 ;; XDG_DATA_DIRS so that it finds its schemas.
6749 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6751 (modify-phases %standard-phases
6753 'configure 'pre-configure
6754 (lambda* (#:key inputs outputs #:allow-other-keys)
6755 ;; We don't have <systemd/sd-daemon.h>.
6756 (substitute* '("common/gdm-log.c"
6757 "daemon/gdm-server.c"
6758 "daemon/gdm-session-worker.c"
6759 "daemon/gdm-session-worker-job.c")
6760 (("#include <systemd/sd-daemon\\.h>") ""))
6761 ;; Use elogind for sd-login.
6762 (substitute* '("common/gdm-common.c"
6763 "daemon/gdm-manager.c"
6764 "libgdm/gdm-user-switching.c")
6765 (("#include <systemd/sd-login\\.h>")
6766 "#include <elogind/sd-login.h>"))
6767 ;; Check for elogind.
6768 (substitute* '("configure")
6771 ;; Look for system-installed sessions in
6772 ;; /run/current-system/profile/share.
6773 (substitute* '("libgdm/gdm-sessions.c"
6774 "daemon/gdm-session.c"
6775 "daemon/gdm-display.c"
6776 "daemon/gdm-launch-environment.c")
6778 "\"/run/current-system/profile/share/x")
6779 (("DATADIR \"/wayland")
6780 "\"/run/current-system/profile/share/wayland")
6781 (("DATADIR \"/gnome")
6782 "\"/run/current-system/profile/share/gnome"))
6783 (let ((propagate '("GDM_CUSTOM_CONF"
6787 ;; XXX: Remove this once GNOME Shell is
6788 ;; a dependency of GDM.
6790 (substitute* "daemon/gdm-session.c"
6791 (("set_up_session_environment \\(self\\);")
6792 (apply string-append
6793 "set_up_session_environment (self);\n"
6796 "gdm_session_set_environment_variable "
6797 "(self, \"" name "\","
6798 "g_getenv (\"" name "\"));\n"))
6800 ;; Find the configuration file using an environment variable.
6801 (substitute* '("common/gdm-settings.c")
6802 (("GDM_CUSTOM_CONF")
6803 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6804 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6805 " : GDM_CUSTOM_CONF)")))
6806 ;; Use service-supplied path to X.
6807 (substitute* '("daemon/gdm-server.c")
6808 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6809 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6810 (substitute* '("daemon/gdm-x-session.c")
6811 (("\"dbus-daemon\"")
6812 "g_getenv (\"GDM_DBUS_DAEMON\")")
6814 "g_getenv (\"GDM_X_SERVER\")")
6815 (("GDMCONFDIR \"/Xsession\"")
6816 "g_getenv (\"GDM_X_SESSION\")"))
6817 ;; Use an absolute path for GNOME Session.
6818 (substitute* "daemon/gdm-launch-environment.c"
6819 (("\"gnome-session\"")
6820 (string-append "\"" (assoc-ref inputs "gnome-session")
6821 "/bin/gnome-session\"")))
6822 ;; Do not automatically select the placeholder session.
6823 (substitute* "daemon/gdm-session.c"
6824 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6825 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6826 "(g_strcmp0(search_dirs[i], \""
6827 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6829 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6830 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6831 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
6833 ;; GDM requires that there be at least one desktop entry
6834 ;; file. This phase installs a hidden one that simply
6835 ;; fails. This enables users to use GDM with a
6836 ;; '~/.xsession' script with no other desktop entry files.
6837 ;; See <https://bugs.gnu.org/35068>.
6838 (add-after 'install 'install-placeholder-desktop-entry
6839 (lambda* (#:key inputs outputs #:allow-other-keys)
6840 (let* ((out (assoc-ref outputs "out"))
6841 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6842 (fail (string-append sessions "/fail.desktop")))
6844 (with-output-to-file fail
6848 '("[Desktop Entry]\n"
6850 "Type=Application\n"
6852 "Comment=This session fails immediately.\n"
6856 ;; GDM needs GNOME Session to run these applications. We link
6857 ;; their autostart files in `share/gdm/greeter/autostart'
6858 ;; because GDM explicitly tells GNOME Session to look there.
6860 ;; XXX: GNOME Shell should be linked here too, but currently
6861 ;; GNOME Shell depends on GDM.
6862 (add-after 'install 'link-autostart-files
6863 (lambda* (#:key inputs outputs #:allow-other-keys)
6864 (let* ((out (assoc-ref outputs "out"))
6865 (autostart (string-append out "/share/gdm/"
6866 "greeter/autostart"))
6867 (settings (assoc-ref inputs "gnome-settings-daemon")))
6869 (with-directory-excursion autostart
6870 (for-each (lambda (desktop)
6871 (symlink desktop (basename desktop)))
6872 (find-files (string-append settings "/etc/xdg"))))
6876 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6877 ("gobject-introspection" ,gobject-introspection)
6878 ("intltool" ,intltool)
6879 ("itstool" ,itstool)
6880 ("pkg-config" ,pkg-config)
6881 ("xmllint" ,libxml2)))
6883 `(("accountsservice" ,accountsservice)
6884 ("check" ,check) ; for testing
6885 ("elogind" ,elogind)
6886 ("gnome-session" ,gnome-session)
6887 ("gnome-settings-daemon" ,gnome-settings-daemon)
6889 ("iso-codes" ,iso-codes)
6890 ("libcanberra" ,libcanberra)
6891 ("linux-pam" ,linux-pam)))
6892 (synopsis "Display manager for GNOME")
6893 (home-page "https://wiki.gnome.org/Projects/GDM/")
6895 "GNOME Display Manager is a system service that is responsible for
6896 providing graphical log-ins and managing local and remote displays.")
6897 (license license:gpl2+)))
6899 (define-public libgtop
6905 (uri (string-append "mirror://gnome/sources/libgtop/"
6906 (version-major+minor version) "/"
6907 "libgtop-" version ".tar.xz"))
6910 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
6911 (build-system gnu-build-system)
6913 `(("gobject-introspection" ,gobject-introspection)
6914 ("intltool" ,intltool)
6916 ("pkg-config" ,pkg-config)))
6918 `(("glib" ,glib))) ; required by libgtop-2.0.pc
6919 (synopsis "Portable system access library")
6920 (home-page "https://www.gnome.org/")
6922 "LibGTop is a library to get system specific data such as CPU and memory
6923 usage and information about running processes.")
6924 (license license:gpl2+)))
6926 (define-public gnome-bluetooth
6928 (name "gnome-bluetooth")
6932 (uri (string-append "mirror://gnome/sources/" name "/"
6933 (version-major+minor version) "/"
6934 name "-" version ".tar.xz"))
6937 "1am1gf0nzwg6x1s8ly13j0xnjzgrfj06j0dp52x4zy9s67ywlhb4"))))
6938 (build-system meson-build-system)
6940 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
6941 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6942 ("gobject-introspection" ,gobject-introspection)
6943 ("intltool" ,intltool)
6944 ("pkg-config" ,pkg-config)
6945 ("xmllint" ,libxml2)))
6947 ;; gnome-bluetooth-1.0.pc refers to all these.
6952 ("libcanberra" ,libcanberra)
6953 ("libnotify" ,libnotify)))
6954 (synopsis "GNOME Bluetooth subsystem")
6955 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
6957 "This package contains tools for managing and manipulating Bluetooth
6958 devices using the GNOME desktop.")
6959 (license license:lgpl2.1+)))
6961 (define-public gnome-control-center
6963 (name "gnome-control-center")
6967 (uri (string-append "mirror://gnome/sources/" name "/"
6968 (version-major+minor version) "/"
6969 name "-" version ".tar.xz"))
6972 "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
6973 (build-system meson-build-system)
6977 (list "-Dcheese=false"
6978 (string-append "-Dgnome_session_libexecdir="
6979 (assoc-ref %build-inputs "gnome-session")
6982 (modify-phases %standard-phases
6983 (add-before 'configure 'patch-paths
6984 (lambda* (#:key inputs #:allow-other-keys)
6985 (let ((libc (assoc-ref inputs "libc"))
6986 (tzdata (assoc-ref inputs "tzdata"))
6987 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
6988 (nm-applet (assoc-ref inputs "network-manager-applet"))
6989 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
6990 (substitute* "panels/datetime/tz.h"
6991 (("/usr/share/zoneinfo/zone.tab")
6992 (string-append tzdata "/share/zoneinfo/zone.tab")))
6993 (substitute* "tests/datetime/test-endianess.c"
6994 (("/usr/share/locale")
6995 (string-append libc "/share/locale")))
6996 (substitute* "panels/region/cc-region-panel.c"
6997 (("\"gkbd-keyboard-display")
6998 (string-append "\"" libgnomekbd
6999 "/bin/gkbd-keyboard-display")))
7000 (substitute* '("panels/network/net-device-wifi.c"
7001 "panels/network/net-device.c"
7002 "panels/network/connection-editor/net-connection-editor.c")
7003 (("\"nm-connection-editor")
7004 (string-append "\"" nm-applet
7005 "/bin/nm-connection-editor")))
7006 (substitute* '("panels/user-accounts/run-passwd.c")
7007 (("/usr/bin/passwd")
7008 "/run/setuid-programs/passwd"))
7009 (substitute* "panels/info/cc-info-overview-panel.c"
7010 (("DATADIR \"/gnome/gnome-version.xml\"")
7011 (string-append "\"" gnome-desktop
7012 "/share/gnome/gnome-version.xml\"")))
7015 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7016 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7017 ("intltool" ,intltool)
7018 ("pkg-config" ,pkg-config)
7019 ("xsltproc" ,libxslt)
7021 ("hicolor-icon-theme" ,hicolor-icon-theme)
7022 ("python-dbusmock" ,python-dbusmock)
7023 ("xorg-server" ,xorg-server-for-tests)))
7025 `(("accountsservice" ,accountsservice)
7026 ("clutter-gtk" ,clutter-gtk)
7027 ("colord-gtk" ,colord-gtk)
7030 ("docbook-xsl" ,docbook-xsl)
7031 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
7032 ("gnome-bluetooth" ,gnome-bluetooth)
7033 ("gnome-desktop" ,gnome-desktop)
7034 ("gnome-online-accounts" ,gnome-online-accounts)
7035 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7036 ("gnome-session" ,gnome-session)
7037 ("gnome-settings-daemon" ,gnome-settings-daemon)
7041 ("libcanberra" ,libcanberra)
7042 ("libgnomekbd" ,libgnomekbd)
7043 ("libgudev" ,libgudev)
7044 ("libgtop" ,libgtop)
7045 ("libpwquality" ,libpwquality)
7046 ("libsecret" ,libsecret)
7047 ("libsoup" ,libsoup)
7048 ("libxml2" ,libxml2)
7049 ("libwacom" ,libwacom)
7051 ("mit-krb5" ,mit-krb5)
7052 ("modem-manager" ,modem-manager)
7053 ("network-manager-applet" ,network-manager-applet)
7055 ("pulseaudio" ,pulseaudio)
7056 ("smbclient" ,samba)
7059 ("upower" ,upower)))
7060 (synopsis "Utilities to configure the GNOME desktop")
7061 (home-page "https://www.gnome.org/")
7063 "This package contains configuration applets for the GNOME desktop,
7064 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7065 properties, sound setup, desktop theme and background, user interface
7066 properties, screen resolution, and other GNOME parameters.")
7067 (license license:gpl2+)))
7069 (define-public gnome-shell
7071 (name "gnome-shell")
7075 (uri (string-append "mirror://gnome/sources/" name "/"
7076 (version-major+minor version) "/"
7077 name "-" version ".tar.xz"))
7080 "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5"))
7081 (patches (search-patches "gnome-shell-theme.patch"))
7082 (modules '((guix build utils)))
7085 ;; Copy images for use on the GDM log-in screen.
7086 (copy-file #$(file-append %artwork-repository
7087 "/slim/0.x/background.png")
7088 "data/theme/guix-background.png")
7089 (copy-file #$(file-append %artwork-repository
7090 "/logo/Guix-horizontal-white.svg")
7091 "data/theme/guix-logo.svg")
7093 (build-system meson-build-system)
7096 #:disallowed-references ((,glib "bin")
7100 (list "-Dsystemd=false"
7101 ;; Otherwise, the RUNPATH will lack the final path component.
7102 (string-append "-Dc_link_args=-Wl,-rpath="
7103 (assoc-ref %outputs "out")
7104 "/lib/gnome-shell"))
7106 #:modules ((guix build meson-build-system)
7111 (modify-phases %standard-phases
7112 (add-after 'unpack 'fix-keysdir
7113 (lambda* (#:key outputs #:allow-other-keys)
7114 (let* ((out (assoc-ref outputs "out"))
7115 (keysdir (string-append
7116 out "/share/gnome-control-center/keybindings")))
7117 (substitute* "meson.build"
7119 (string-append "keysdir = '" keysdir "'\n")))
7121 (add-before 'configure 'convert-logo-to-png
7122 (lambda* (#:key inputs #:allow-other-keys)
7123 ;; Convert the logo from SVG to PNG.
7124 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7125 "data/theme/guix-logo.svg")))
7126 (add-before 'configure 'record-absolute-file-names
7127 (lambda* (#:key inputs #:allow-other-keys)
7128 (substitute* "js/misc/ibusManager.js"
7130 (string-append "'" (assoc-ref inputs "ibus")
7131 "/bin/ibus-daemon'")))
7132 (substitute* "js/ui/status/keyboard.js"
7133 (("'gkbd-keyboard-display'")
7134 (string-append "'" (assoc-ref inputs "libgnomekbd")
7135 "/bin/gkbd-keyboard-display'")))
7137 (add-before 'check 'pre-check
7138 (lambda* (#:key inputs #:allow-other-keys)
7139 ;; Tests require a running X server.
7140 (system "Xvfb :1 &")
7141 (setenv "DISPLAY" ":1")
7143 (add-after 'install 'wrap-programs
7144 (lambda* (#:key inputs outputs #:allow-other-keys)
7145 (let ((out (assoc-ref outputs "out"))
7146 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7147 (python-path (getenv "PYTHONPATH")))
7148 (wrap-program (string-append out "/bin/gnome-shell")
7149 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7150 ;; FIXME: gnome-shell loads these libraries with unqualified
7151 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7152 ;; alternative might be to patch gnome-shell.
7153 `("LD_LIBRARY_PATH" ":" prefix
7155 (string-append (assoc-ref inputs pkg) "/lib"))
7157 "gnome-bluetooth" "librsvg" "libgweather"))))
7160 (wrap-program (string-append out "/bin/" prog)
7161 `("PYTHONPATH" ":" prefix (,python-path))
7162 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7163 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7165 (replace 'glib-or-gtk-wrap
7166 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7167 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7168 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7169 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7170 ;; phase. Fix that since we don't need these.
7171 (wrap #:inputs (fold alist-delete inputs
7172 '("inkscape" "intltool" "glib:bin"))
7173 #:outputs outputs)))))))
7175 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7176 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7177 ("gobject-introspection" ,gobject-introspection)
7178 ("inkscape" ,inkscape)
7179 ("intltool" ,intltool)
7180 ("pkg-config" ,pkg-config)
7182 ("ruby-sass" ,ruby-sass)
7184 ("xsltproc" ,libxslt)
7186 ("xorg-server" ,xorg-server-for-tests)))
7188 `(("accountsservice" ,accountsservice)
7189 ("caribou" ,caribou)
7190 ("docbook-xsl" ,docbook-xsl)
7191 ("evolution-data-server" ,evolution-data-server)
7194 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7196 ("gnome-bluetooth" ,gnome-bluetooth)
7197 ("gnome-desktop" ,gnome-desktop)
7198 ("gnome-settings-daemon" ,gnome-settings-daemon)
7199 ("gst-plugins-base" ,gst-plugins-base)
7201 ("libcanberra" ,libcanberra)
7202 ("libcroco" ,libcroco)
7203 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7204 ("libgweather" ,libgweather)
7205 ("libsoup" ,libsoup)
7206 ("mesa-headers" ,mesa-headers)
7208 ("network-manager-applet" ,network-manager-applet)
7210 ("pulseaudio" ,pulseaudio)
7211 ("python-pygobject" ,python-pygobject)
7212 ("startup-notification" ,startup-notification)
7213 ("telepathy-logger" ,telepathy-logger)
7215 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7216 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7217 ("librsvg" ,librsvg)
7218 ("geoclue" ,geoclue)))
7219 (synopsis "Desktop shell for GNOME")
7220 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7222 "GNOME Shell provides core user interface functions for the GNOME desktop,
7223 like switching to windows and launching applications.")
7224 (license license:gpl2+)))
7226 (define-public gtk-vnc
7233 (uri (string-append "mirror://gnome/sources/" name "/"
7234 (version-major+minor version) "/"
7235 name "-" version ".tar.xz"))
7238 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7239 (build-system gnu-build-system)
7241 '(#:configure-flags '("--with-gtk=3.0")))
7243 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7245 `(("cyrus-sasl" ,cyrus-sasl)
7247 ("libgcrypt" ,libgcrypt)
7248 ("pulseaudio" ,pulseaudio)))
7250 `(("glib:bin" ,glib "bin")
7251 ("gobject-introspection" ,gobject-introspection)
7252 ("intltool" ,intltool)
7253 ("pkg-config" ,pkg-config)
7254 ("python-wrapper" ,python-wrapper)
7256 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7257 (synopsis "VNC viewer widget for GTK+")
7259 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7260 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7261 GTK-VNC implements client side RFB protocol and authentication extensions such
7262 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7263 (license license:lgpl2.1+)))
7265 (define-public gnome-autoar
7267 (name "gnome-autoar")
7271 (uri (string-append "mirror://gnome/sources/" name "/"
7272 (version-major+minor version) "/"
7273 name "-" version ".tar.xz"))
7276 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
7277 (build-system glib-or-gtk-build-system)
7279 `(("gnome-common" ,gnome-common)
7280 ("gobject-introspection" ,gobject-introspection)
7281 ("pkg-config" ,pkg-config)))
7283 `(("libarchive" ,libarchive))) ; XXX document why
7286 (synopsis "Archives integration support for GNOME")
7287 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7289 "GNOME Autoar is a library which makes creating and extracting archives
7290 easy, safe, and automatic.")
7291 (license license:lgpl2.1+)))
7293 (define-public tracker
7299 (uri (string-append "mirror://gnome/sources/tracker/"
7300 (version-major+minor version) "/"
7301 "tracker-" version ".tar.xz"))
7304 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
7305 (build-system meson-build-system)
7309 ;; Otherwise, the RUNPATH will lack the final path component.
7310 (list (string-append "-Dc_link_args=-Wl,-rpath="
7311 (assoc-ref %outputs "out") "/lib:"
7312 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7314 (modify-phases %standard-phases
7315 (add-before 'check 'pre-check
7317 ;; Some tests expect to write to $HOME.
7318 (setenv "HOME" "/tmp")
7321 `(("glib:bin" ,glib "bin")
7322 ("gobject-introspection" ,gobject-introspection)
7323 ("python-pygobject" ,python-pygobject)
7324 ("intltool" ,intltool)
7325 ("pkg-config" ,pkg-config)
7330 ("libxml2" ,libxml2)
7331 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
7332 ("json-glib" ,json-glib)
7333 ("libsoup" ,libsoup)))
7334 (synopsis "Metadata database, indexer and search tool")
7335 (home-page "https://wiki.gnome.org/Projects/Tracker")
7337 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7339 It is a middleware component aimed at desktop application developers who want
7340 their apps to browse and search user content. It's not designed to be used
7341 directly by desktop users, but it provides a commandline tool named
7342 @command{tracker} for the adventurous.
7344 Tracker allows your application to instantly perform full-text searches across
7345 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7346 example. This is achieved by indexing the user's home directory in the
7349 Tracker also allows your application to query and list content that the user
7350 has stored. For example, GNOME Music displays all the music files that are
7351 found by Tracker. This means that GNOME Music doesn't need to maintain a
7352 database of its own.
7354 If you need to go beyond simple searches, Tracker is also a linked data
7355 endpoint and it understands SPARQL. ")
7356 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
7357 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7358 ;; libstemmer is bsd-3 and the rest is gpl2+.
7359 (license (list license:gpl2+
7361 license:lgpl2.1+))))
7363 (define-public tracker-miners
7365 (name "tracker-miners")
7369 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7370 (version-major+minor version)
7371 "/tracker-miners-" version ".tar.xz"))
7374 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
7375 (build-system meson-build-system)
7379 (list "-Dminer_rss=false" ; libgrss is required.
7380 ;; Ensure the RUNPATH contains all installed library locations.
7381 (string-append "-Dc_link_args=-Wl,-rpath="
7382 (assoc-ref %outputs "out")
7383 "/lib/tracker-miners-2.0")
7384 ;; TODO: Enable functional tests. Currently, the following error
7386 ;; Exception: The functional tests require DConf to be the default
7387 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7388 "-Dfunctional_tests=false")))
7391 ("intltool" ,intltool)
7392 ("glib:bin" ,glib "bin")
7393 ("gobject-introspection" ,gobject-introspection)
7394 ("pkg-config" ,pkg-config)
7395 ("python-pygobject" ,python-pygobject)))
7397 `(("exempi" ,exempi)
7402 ("gstreamer" ,gstreamer)
7405 ("libexif" ,libexif)
7407 ("libgxps" ,libgxps)
7408 ("libiptcdata" ,libiptcdata)
7409 ("libjpeg" ,libjpeg)
7410 ("libosinfo" ,libosinfo)
7412 ("libseccomp" ,libseccomp)
7413 ("libtiff" ,libtiff)
7414 ("libvorbis" ,libvorbis)
7415 ("libxml2" ,libxml2)
7416 ("poppler" ,poppler)
7418 ("totem-pl-parser" ,totem-pl-parser)
7419 ("tracker" ,tracker)
7422 (synopsis "Metadata database, indexer and search tool")
7423 (home-page "https://wiki.gnome.org/Projects/Tracker")
7425 "Tracker is an advanced framework for first class objects with associated
7426 metadata and tags. It provides a one stop solution for all metadata, tags,
7427 shared object databases, search tools and indexing.")
7428 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7429 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7430 (license (list license:gpl2+
7432 license:lgpl2.0+))))
7434 (define-public nautilus
7440 (uri (string-append "mirror://gnome/sources/" name "/"
7441 (version-major+minor version) "/"
7442 name "-" version ".tar.xz"))
7445 "1x9crzbj6rrrf8w5dkcx0c14j40byr4ijpzkwd5dcrbfvvdy1r01"))))
7446 (build-system meson-build-system)
7449 ;; XXX: FAIL: check-nautilus
7450 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7453 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7454 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7455 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7456 ("gobject-introspection" ,gobject-introspection)
7457 ("intltool" ,intltool)
7458 ("pkg-config" ,pkg-config)))
7464 ("gnome-desktop" ,gnome-desktop)
7465 ("gnome-autoar" ,gnome-autoar)
7466 ("gst-plugins-base" ,gst-plugins-base)
7467 ("libseccomp" ,libseccomp)
7468 ("libselinux" ,libselinux)
7469 ("tracker" ,tracker)
7470 ("tracker-miners" ,tracker-miners)
7471 ;; XXX: gtk+ is required by libnautilus-extension.pc
7473 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7475 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7477 ("libexif" ,libexif)
7478 ("libxml2" ,libxml2)))
7479 (synopsis "File manager for GNOME")
7480 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7482 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7483 design and behaviour, giving the user a simple way to navigate and manage its
7485 (license license:gpl2+)))
7487 (define-public baobab
7494 "mirror://gnome/sources/" name "/"
7495 (version-major+minor version) "/"
7496 name "-" version ".tar.xz"))
7499 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7500 (build-system meson-build-system)
7502 '(#:glib-or-gtk? #t))
7504 `(("intltool" ,intltool)
7505 ("pkg-config" ,pkg-config)
7506 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7507 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7508 ("itstool" ,itstool)
7509 ("xmllint" ,libxml2)
7510 ("glib" ,glib "bin")
7514 (synopsis "Disk usage analyzer for GNOME")
7516 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7517 usage in the GNOME desktop environment. It can easily scan device volumes or
7518 a specific user-requested directory branch (local or remote). Once the scan
7519 is complete it provides a graphical representation of each selected folder.")
7520 (home-page "https://wiki.gnome.org/Apps/Baobab")
7521 (license license:gpl2+)))
7523 (define-public gnome-backgrounds
7525 (name "gnome-backgrounds")
7530 (uri (string-append "mirror://gnome/sources/" name "/"
7531 (version-major+minor version) "/"
7532 name "-" version ".tar.xz"))
7535 "1s5krdmd3md44p1fgr2lqm5ifxb8s1vzx6hm11sb4cgzr4dw6lrz"))))
7536 (build-system meson-build-system)
7538 `(("intltool" ,intltool)))
7539 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7540 (synopsis "Background images for the GNOME desktop")
7542 "GNOME backgrounds package contains a collection of graphics files which
7543 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7544 the package creates the proper framework and directory structure so that you
7545 can add your own files to the collection.")
7546 (license (list license:gpl2+
7549 license:cc-by-sa3.0))))
7551 (define-public gnome-screenshot
7553 (name "gnome-screenshot")
7558 (uri (string-append "mirror://gnome/sources/" name "/"
7559 (version-major+minor version) "/"
7560 name "-" version ".tar.xz"))
7563 "09ha7dizjm5ymqpjyrqd10ijfb3xlqc1mwg9ajkrbfry11q9yq4b"))))
7564 (build-system meson-build-system)
7566 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7567 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7568 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7569 ("intltool" ,intltool)
7570 ("appstream-glib" ,appstream-glib)
7571 ("pkg-config" ,pkg-config)))
7574 ("libcanberra" ,libcanberra)
7576 ("libxext" ,libxext)))
7577 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7578 (synopsis "Take pictures of your screen")
7580 "GNOME Screenshot is a utility used for taking screenshots of the entire
7581 screen, a window or a user defined area of the screen, with optional
7582 beautifying border effects.")
7583 (license license:gpl2+)))
7585 (define-public dconf-editor
7587 (name "dconf-editor")
7592 (uri (string-append "mirror://gnome/sources/" name "/"
7593 (version-major+minor version) "/"
7594 name "-" version ".tar.xz"))
7597 "1fmsmlh16njjm948grz20mzrsvb4wjj7pl1fvkrkxqi7mhr177gi"))))
7598 (build-system meson-build-system)
7600 '(#:phases (modify-phases %standard-phases
7601 (add-before 'configure 'set-glib-minimum-version
7603 ;; Change the minimum required GLib version so that
7604 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
7605 ;; do that, it complains that "55" is not an even
7606 ;; number. See <https://bugs.gnu.org/37503>.
7607 (substitute* "editor/meson.build"
7608 (("2\\.55\\.1") "2.60.0"))
7611 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7612 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7613 ("intltool" ,intltool)
7614 ("pkg-config" ,pkg-config)
7619 ("libxml2" ,libxml2)))
7620 (home-page "https://git.gnome.org/browse/dconf-editor")
7621 (synopsis "Graphical editor for GNOME's dconf configuration system")
7623 "Dconf-editor is a graphical tool for browsing and editing the dconf
7624 configuration system for GNOME. It allows users to configure desktop
7625 software that do not provide their own configuration interface.")
7626 (license license:lgpl2.1+)))
7628 (define-public gnome-default-applications
7630 (name "gnome-default-applications")
7632 (build-system trivial-build-system)
7635 `(("nautilus" ,nautilus)
7636 ("evince" ,evince)))
7638 `(#:modules ((guix build utils))
7641 (use-modules (guix build utils))
7642 (let* ((out (assoc-ref %outputs "out"))
7643 (apps (string-append out "/share/applications")))
7645 (call-with-output-file (string-append apps "/defaults.list")
7647 (format port "[Default Applications]\n")
7648 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7649 (format port "application/pdf=evince.desktop\n")
7650 (format port "application/postscript=evince.desktop\n")))
7652 (synopsis "Default MIME type associations for the GNOME desktop")
7654 "Given many installed packages which might handle a given MIME type, a
7655 user running the GNOME desktop probably has some preferences: for example,
7656 that folders be opened by default by the Nautilus file manager, not the Baobab
7657 disk usage analyzer. This package establishes that set of default MIME type
7658 associations for GNOME.")
7659 (license license:gpl3+)
7662 (define-public libgovirt
7668 (uri (string-append "mirror://gnome/sources/" name "/"
7669 (version-major+minor version) "/"
7670 name "-" version ".tar.xz"))
7673 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7674 (build-system glib-or-gtk-build-system)
7676 `(("gettext" ,gettext-minimal)
7677 ("glib:bin" ,glib "bin")
7678 ("gobject-introspection" ,gobject-introspection)
7679 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7680 ("gtk+:bin" ,gtk+ "bin")
7681 ("pkg-config" ,pkg-config)))
7683 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7685 (synopsis "GoVirt Library")
7686 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7687 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7688 (license license:gpl2+)))
7690 (define-public gnome-weather
7692 (name "gnome-weather")
7696 (uri (string-append "mirror://gnome/sources/" name "/"
7697 (version-major+minor version) "/"
7698 name "-" version ".tar.xz"))
7701 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7702 (build-system meson-build-system)
7704 `(("gettext" ,gettext-minimal)
7705 ("glib:bin" ,glib "bin")
7706 ("gobject-introspection" ,gobject-introspection)
7707 ("gtk+:bin" ,gtk+ "bin")
7708 ("pkg-config" ,pkg-config)))
7710 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7711 ("appstream-glib" ,appstream-glib)
7712 ("geoclue" ,geoclue)
7713 ("gdk-pixbuf" ,gdk-pixbuf)
7715 ("gnome-desktop" ,gnome-desktop)
7716 ("libgweather" ,libgweather)))
7717 (synopsis "Weather monitoring for GNOME desktop")
7718 (description "GNOME Weather is a small application that allows you to
7719 monitor the current weather conditions for your city, or anywhere in the
7721 (home-page "https://wiki.gnome.org/Apps/Weather")
7722 (license license:gpl2+)))
7724 (define-public gnome
7727 (version (package-version gnome-shell))
7729 (build-system trivial-build-system)
7730 (arguments '(#:builder (begin (mkdir %output) #t)))
7732 ;; TODO: Add or remove packages according to:
7733 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7735 ;; GNOME-Core-OS-Services
7736 ("accountsservice" ,accountsservice)
7737 ("network-manager" ,network-manager)
7738 ("packagekit" ,packagekit)
7741 ("adwaita-icon-theme" ,adwaita-icon-theme)
7743 ("glib-networking" ,glib-networking)
7744 ("gnome-backgrounds" ,gnome-backgrounds)
7745 ("gnome-bluetooth" ,gnome-bluetooth)
7746 ("gnome-color-manager" ,gnome-color-manager)
7747 ("gnome-control-center" ,gnome-control-center)
7748 ("gnome-desktop" ,gnome-desktop)
7749 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
7750 ("gnome-initial-setup" ,gnome-initial-setup)
7751 ("gnome-keyring" ,gnome-keyring)
7752 ("gnome-menus" ,gnome-menus)
7753 ("gnome-session" ,gnome-session)
7754 ("gnome-settings-daemon" ,gnome-settings-daemon)
7755 ("gnome-shell-extensions" ,gnome-shell-extensions)
7756 ("gnome-shell" ,gnome-shell)
7757 ("gnome-themes-extra" ,gnome-themes-extra)
7758 ("gnome-user-docs" ,gnome-user-docs)
7759 ("gnome-user-share" ,gnome-user-share)
7760 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7766 ;; GNOME-Core-Utilities
7770 ("epiphany" ,epiphany)
7772 ("file-roller" ,file-roller)
7774 ; TODO: ("gnome-boxes" ,gnome-boxes)
7775 ("gnome-calculator" ,gnome-calculator)
7776 ("gnome-calendar" ,gnome-calendar)
7777 ("gnome-characters" ,gnome-characters)
7778 ("gnome-clocks" ,gnome-clocks)
7779 ("gnome-contacts" ,gnome-contacts)
7780 ("gnome-disk-utility" ,gnome-disk-utility)
7781 ("gnome-font-viewer" ,gnome-font-viewer)
7782 ("gnome-maps" ,gnome-maps)
7783 ; TODO: ("gnome-music" ,gnome-music)
7784 ; TODO: ("gnome-photos" ,gnome-photos)
7785 ("gnome-screenshot" ,gnome-screenshot)
7786 ("gnome-system-monitor" ,gnome-system-monitor)
7787 ("gnome-terminal" ,gnome-terminal)
7788 ("gnome-weather" ,gnome-weather)
7789 ("nautilus" ,nautilus)
7790 ("simple-scan" ,simple-scan)
7794 ("hicolor-icon-theme" ,hicolor-icon-theme)
7795 ("gnome-online-accounts" ,gnome-online-accounts)
7797 ;; Packages not part of GNOME proper but that are needed for a good
7798 ;; experience. See <https://bugs.gnu.org/39646>.
7799 ;; XXX: Find out exactly which ones are needed and why.
7800 ("font-cantarell" ,font-cantarell)
7801 ("font-dejavu" ,font-dejavu)
7802 ("at-spi2-core" ,at-spi2-core)
7805 ("desktop-file-utils" ,desktop-file-utils)
7806 ("gnome-default-applications" ,gnome-default-applications)
7807 ("gnome-themes-standard" ,gnome-themes-standard)
7808 ("gst-plugins-base" ,gst-plugins-base)
7809 ("gst-plugins-good" ,gst-plugins-good)
7810 ("gucharmap" ,gucharmap)
7811 ("pinentry-gnome3" ,pinentry-gnome3)
7812 ("pulseaudio" ,pulseaudio)
7813 ("shared-mime-info" ,shared-mime-info)
7814 ("system-config-printer" ,system-config-printer)
7815 ("xdg-user-dirs" ,xdg-user-dirs)
7817 ("zenity" ,zenity)))
7818 (synopsis "The GNU desktop environment")
7819 (home-page "https://www.gnome.org/")
7821 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7822 applications for browsing the web, editing text and images, creating
7823 documents and diagrams, playing media, scanning, and much more.")
7824 (license license:gpl2+)))
7826 (define-public byzanz
7827 ;; The last stable release of Byzanz was in 2011, but there have been many
7828 ;; useful commits made to the Byzanz repository since then that it would be
7829 ;; silly to use such an old release.
7830 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7833 (version (string-append "0.2-1." (string-take commit 7)))
7837 (url "https://git.gnome.org/browse/byzanz")
7839 (file-name (string-append name "-" version "-checkout"))
7842 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7843 (build-system glib-or-gtk-build-system)
7846 (modify-phases %standard-phases
7849 ;; The build system cleverly detects that we're not building from
7850 ;; a release tarball and turns on -Werror for GCC.
7851 ;; Unsurprisingly, there is a warning during compilation that
7852 ;; causes the build to fail unnecessarily, so we remove the flag.
7853 (substitute* '("configure.ac")
7855 ;; The autogen.sh script in gnome-common will run ./configure
7856 ;; by default, which is problematic because source shebangs
7857 ;; have not yet been patched.
7858 (setenv "NOCONFIGURE" "t")
7859 (zero? (system* "sh" "autogen.sh")))))))
7861 `(("autoconf" ,autoconf)
7862 ("automake" ,automake)
7863 ("gnome-common" ,gnome-common)
7864 ("intltool" ,intltool)
7865 ("libtool" ,libtool)
7866 ("pkg-config" ,pkg-config)
7870 ("gstreamer" ,gstreamer)
7871 ("gst-plugins-base" ,gst-plugins-base)
7873 (synopsis "Desktop recording program")
7874 (description "Byzanz is a simple desktop recording program with a
7875 command-line interface. It can record part or all of an X display for a
7876 specified duration and save it as a GIF encoded animated image file.")
7877 (home-page "https://git.gnome.org/browse/byzanz")
7878 (license license:gpl2+))))
7880 (define-public gsound
7886 (uri (string-append "mirror://gnome/sources/" name "/"
7887 (version-major+minor version) "/"
7888 name "-" version ".tar.xz"))
7891 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7892 (build-system glib-or-gtk-build-system)
7894 `(("pkg-config" ,pkg-config)
7895 ("gobject-introspection" ,gobject-introspection)
7899 ("libcanberra" ,libcanberra)))
7900 (home-page "https://wiki.gnome.org/Projects/GSound")
7901 (synopsis "GObject wrapper for libcanberra")
7903 "GSound is a small library for playing system sounds. It's designed to be
7904 used via GObject Introspection, and is a thin wrapper around the libcanberra C
7906 (license license:lgpl2.1+)))
7908 (define-public libzapojit
7914 (uri (string-append "mirror://gnome/sources/" name "/"
7915 (version-major+minor version) "/"
7916 name "-" version ".tar.xz"))
7919 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
7920 (build-system gnu-build-system)
7922 `(("gobject-introspection" ,gobject-introspection)
7923 ("intltool" ,intltool)
7924 ("pkg-config" ,pkg-config)))
7926 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7927 ("json-glib" ,json-glib)
7929 (home-page "https://wiki.gnome.org/Projects/Zapojit")
7930 (synopsis "Library for accessing SkyDrive and Hotmail")
7932 "Libzapojit is a GLib-based library for accessing online service APIs of
7933 Microsoft SkyDrive and Hotmail, using their REST protocols.")
7934 (license license:lgpl2.1+)))
7936 (define-public gnome-clocks
7938 (name "gnome-clocks")
7942 (uri (string-append "mirror://gnome/sources/" name "/"
7943 (version-major+minor version) "/"
7944 name "-" version ".tar.xz"))
7947 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
7948 (build-system meson-build-system)
7950 '(#:glib-or-gtk? #t))
7953 ("pkg-config" ,pkg-config)
7954 ("glib" ,glib "bin") ; for glib-compile-resources
7955 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7956 ("desktop-file-utils" ,desktop-file-utils)
7957 ("gettext" ,gettext-minimal)
7958 ("itstool" ,itstool)))
7963 ("geoclue" ,geoclue)
7964 ("geocode-glib" ,geocode-glib)
7965 ("libgweather" ,libgweather)
7966 ("gnome-desktop" ,gnome-desktop)))
7967 (home-page "https://wiki.gnome.org/Apps/Clocks")
7968 (synopsis "GNOME's clock application")
7970 "GNOME Clocks is a simple clocks application designed to fit the GNOME
7971 desktop. It supports world clock, stop watch, alarms, and count down timer.")
7972 (license license:gpl3+)))
7974 (define-public gnome-calendar
7976 (name "gnome-calendar")
7980 (uri (string-append "mirror://gnome/sources/" name "/"
7981 (version-major+minor version) "/"
7982 name "-" version ".tar.xz"))
7985 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
7986 (build-system meson-build-system)
7989 ;; gnome-calendar has to be installed before the tests can be run
7990 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
7993 `(("gettext" ,gettext-minimal)
7994 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
7995 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7996 ("pkg-config" ,pkg-config)))
7998 `(("evolution-data-server" ,evolution-data-server)
7999 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8000 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8001 ("libdazzle" ,libdazzle)
8002 ("libedataserverui" ,evolution-data-server)
8003 ("libgweather" ,libgweather)
8004 ("geoclue" ,geoclue)))
8005 (home-page "https://wiki.gnome.org/Apps/Calendar")
8006 (synopsis "GNOME's calendar application")
8008 "GNOME Calendar is a simple calendar application designed to fit the GNOME
8009 desktop. It supports multiple calendars, month, week and year view.")
8010 (license license:gpl3+)))
8012 (define-public gnome-todo
8018 (uri (string-append "mirror://gnome/sources/" name "/"
8019 (version-major+minor version) "/"
8020 name "-" version ".tar.xz"))
8023 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
8024 (build-system meson-build-system)
8027 #:phases (modify-phases %standard-phases
8029 'install 'wrap-gnome-todo
8030 (lambda* (#:key inputs outputs #:allow-other-keys)
8031 (let ((out (assoc-ref outputs "out"))
8032 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8033 (python-path (getenv "PYTHONPATH")))
8034 (wrap-program (string-append out "/bin/gnome-todo")
8035 ;; XXX: gi plugins are broken.
8036 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8038 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8039 `("PYTHONPATH" ":" prefix (,python-path))))
8042 `(("gettext" ,gettext-minimal)
8043 ("gobject-introspection" ,gobject-introspection)
8044 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8045 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8046 ("pkg-config" ,pkg-config)))
8048 `(("rest" ,rest) ; For Todoist plugin
8049 ("json-glib" ,json-glib) ; For Todoist plugin
8050 ("libedataserverui" ,evolution-data-server)
8051 ("libical" ,libical)
8052 ("libpeas" ,libpeas)
8053 ("python-pygobject" ,python-pygobject)
8054 ("evolution-data-server" ,evolution-data-server)
8055 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8056 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8057 (home-page "https://wiki.gnome.org/Apps/Todo")
8058 (synopsis "GNOME's ToDo Application")
8060 "GNOME To Do is a simplistic personal task manager designed to perfectly
8061 fit the GNOME desktop.")
8062 (license license:gpl3+)))
8064 (define-public gnome-dictionary
8066 (name "gnome-dictionary")
8070 (uri (string-append "mirror://gnome/sources/" name "/"
8071 (version-major+minor version) "/"
8072 name "-" version ".tar.xz"))
8075 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8076 (build-system meson-build-system)
8077 (arguments '(#:glib-or-gtk? #t
8078 #:phases (modify-phases %standard-phases
8079 (add-after 'unpack 'patch-install-script
8081 ;; This script attempts to compile glib schemas
8082 ;; and create an empty MIME database. We do
8083 ;; that elsewhere, so prevent it from running.
8084 (substitute* "build-aux/post-install.sh"
8085 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8088 `(("glib:bin" ,glib "bin")
8089 ("gobject-introspection" ,gobject-introspection)
8090 ("intltool" ,intltool)
8091 ("itstool" ,itstool)
8092 ("pkg-config" ,pkg-config)
8093 ("xmllint" ,libxml2)))
8095 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8097 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8098 (synopsis "Look up words in dictionary sources")
8100 "GNOME Dictionary can look for the definition or translation of a word in
8101 existing databases over the internet.")
8102 (license license:gpl3+)))
8104 (define-public gnome-tweaks
8106 (name "gnome-tweaks")
8110 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8111 (version-major+minor version) "/"
8112 "gnome-tweaks-" version ".tar.xz"))
8114 (list (search-patch "gnome-tweaks-search-paths.patch")))
8117 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
8118 (build-system meson-build-system)
8121 #:configure-flags '("-Dlocalstatedir=/tmp"
8122 "-Dsysconfdir=/tmp")
8123 #:imported-modules ((guix build python-build-system)
8124 ,@%meson-build-system-modules)
8126 (modify-phases %standard-phases
8127 (add-after 'install 'wrap
8128 (@@ (guix build python-build-system) wrap))
8129 (add-after 'wrap 'wrap-gi-typelib
8130 (lambda* (#:key inputs outputs #:allow-other-keys)
8131 (let ((out (assoc-ref outputs "out"))
8132 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8133 (wrap-program (string-append out "/bin/gnome-tweaks")
8134 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8137 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8138 ("intltool" ,intltool)
8139 ("pkg-config" ,pkg-config)))
8141 `(("gnome-desktop" ,gnome-desktop)
8143 ("gobject-introspection" ,gobject-introspection)
8144 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8145 ("libnotify" ,libnotify)
8146 ("libsoup" ,libsoup)
8147 ("nautilus" ,nautilus)
8149 ("python-pygobject" ,python-pygobject)))
8150 (synopsis "Customize advanced GNOME 3 options")
8151 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8153 "GNOME Tweaks allows adjusting advanced configuration settings in
8154 GNOME 3. This includes things like the fonts used in user interface elements,
8155 alternative user interface themes, changes in window management behavior,
8156 GNOME Shell appearance and extension, etc.")
8157 (license license:gpl3+)))
8159 ;; This package has been renamed by upstream.
8160 (define-public gnome-tweak-tool
8161 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
8163 (define-public gnome-shell-extensions
8165 (name "gnome-shell-extensions")
8169 (uri (string-append "mirror://gnome/sources/" name "/"
8170 (version-major+minor version) "/"
8171 name "-" version ".tar.xz"))
8174 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
8175 (build-system meson-build-system)
8177 '(#:configure-flags '("-Dextension_set=all")))
8179 `(("glib:bin" ,glib "bin")
8180 ("intltool" ,intltool)
8181 ("pkg-config" ,pkg-config)))
8184 (synopsis "Extensions for GNOME Shell")
8185 (description "GNOME Shell extensions modify and extend GNOME Shell
8186 functionality and behavior.")
8187 (home-page "https://extensions.gnome.org/")
8188 (license license:gpl3+)))
8190 (define-public arc-theme
8193 (version "20190917")
8197 (url "https://github.com/NicoHood/arc-theme.git")
8199 (file-name (git-file-name name version))
8202 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8203 (build-system gnu-build-system)
8206 (modify-phases %standard-phases
8207 ;; autogen.sh calls configure at the end of the script.
8209 (lambda _ (invoke "autoreconf" "-vfi")))
8210 (add-before 'build 'set-home ;placate Inkscape
8212 (setenv "HOME" (getcwd))
8215 `(("autoconf" ,autoconf)
8216 ("automake" ,automake)
8217 ("glib" ,glib "bin") ; for glib-compile-resources
8218 ("gnome-shell" ,gnome-shell)
8220 ("inkscape" ,inkscape)
8221 ("optipng" ,optipng)
8222 ("pkg-config" ,pkg-config)
8223 ("sassc" ,sassc/libsass-3.5)))
8224 (synopsis "A flat GTK+ theme with transparent elements")
8225 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8226 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8227 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8228 (home-page "https://github.com/horst3180/arc-theme")
8229 ;; No "or later" language found.
8230 (license license:gpl3+)))
8232 (define-public faba-icon-theme
8234 (name "faba-icon-theme")
8240 (url "https://github.com/snwh/faba-icon-theme.git")
8241 (commit (string-append "v" version))))
8242 (file-name (git-file-name name version))
8244 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8245 (build-system meson-build-system)
8248 (modify-phases %standard-phases
8249 (add-before 'configure 'disable-post-install
8251 (substitute* "meson.build"
8252 (("meson.add_install_script.*") "")))))))
8254 `(("autoconf" ,autoconf)
8255 ("automake" ,automake)))
8256 (synopsis "Faba icon theme")
8258 "Faba is a minimal icon set used as a basis for other themes such as
8260 (home-page "https://snwh.org/moka")
8261 (license (list license:lgpl3+
8262 license:cc-by-sa4.0))))
8264 (define-public moka-icon-theme
8266 (inherit faba-icon-theme)
8267 (name "moka-icon-theme")
8273 (url "https://github.com/snwh/moka-icon-theme.git")
8274 (commit (string-append "v" version))))
8275 (file-name (git-file-name name version))
8277 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8279 ;; Moka is based on Faba by using it as a fallback icon set instead of
8280 ;; bundling it, so we need to add it as a propagated input.
8281 `(("faba-icon-theme" ,faba-icon-theme)))
8282 (synopsis "Moka icon theme")
8283 (description "Moka is a stylized desktop icon set, designed to be clear,
8284 simple and consistent.")
8285 (license (list license:gpl3+
8286 license:cc-by-sa4.0))))
8288 (define-public arc-icon-theme
8290 (name "arc-icon-theme")
8291 (version "20161122")
8296 (url "https://github.com/horst3180/arc-icon-theme.git")
8298 (file-name (git-file-name name version))
8300 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8301 (build-system gnu-build-system)
8304 (modify-phases %standard-phases
8305 (add-after 'unpack 'disable-configure-during-bootstrap
8307 (substitute* "autogen.sh"
8308 (("^\"\\$srcdir/configure\".*") ""))
8311 `(("autoconf" ,autoconf)
8312 ("automake" ,automake)))
8313 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8315 `(("moka-icon-theme" ,moka-icon-theme)))
8316 (synopsis "Arc icon theme")
8317 (description "The Arc icon theme provides a set of icons matching the
8318 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8319 the Moka icon theme.")
8320 (home-page "https://github.com/horst3180/arc-icon-theme")
8321 (license license:gpl3+)))
8323 (define-public folks
8330 "mirror://gnome/sources/folks/"
8331 (version-major+minor version) "/"
8332 "folks-" version ".tar.xz"))
8335 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
8336 (build-system glib-or-gtk-build-system)
8339 ("dbus-glib" ,dbus-glib)
8340 ("evolution-data-server" ,evolution-data-server)
8343 ("telepathy-glib" ,telepathy-glib)))
8345 `(("gobject-introspection" ,gobject-introspection)
8346 ("intltool" ,intltool)
8347 ("pkg-config" ,pkg-config)
8349 (synopsis "Library to aggregate data about people")
8350 (description "Libfolks is a library that aggregates information about people
8351 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8352 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8353 etc.) to create metacontacts. It's written in Vala, which generates C code when
8355 (home-page "https://wiki.gnome.org/Projects/Folks")
8356 (license license:lgpl2.1+)))
8358 (define-public gfbgraph
8365 "mirror://gnome/sources/gfbgraph/"
8366 (version-major+minor version) "/"
8367 "gfbgraph-" version ".tar.xz"))
8370 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8371 (build-system glib-or-gtk-build-system)
8373 `(#:tests? #f ; Tests appear to require the network.
8374 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8375 #:configure-flags '("--disable-gtk-doc"
8377 "--enable-introspection")))
8379 `(("pkg-config" ,pkg-config)
8380 ("gobject-introspection" ,gobject-introspection)))
8382 `(("json-glib" ,json-glib)
8383 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8385 (synopsis "GLib/GObject wrapper for the Facebook API")
8386 (description "This library allows you to use the Facebook API from
8387 GLib/GObject code.")
8388 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8389 (license license:lgpl2.1+)))
8391 (define-public libgnomekbd
8393 (name "libgnomekbd")
8397 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8398 (version-major+minor version) "/"
8399 "libgnomekbd-" version ".tar.xz"))
8402 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8403 (build-system gnu-build-system)
8405 `(("pkg-config" ,pkg-config)
8406 ("glib" ,glib "bin")
8407 ("intltool" ,intltool)))
8409 ;; Referred to in .h files and .pc.
8412 ("libxklavier" ,libxklavier)))
8413 (home-page "https://www.gnome.org")
8414 (synopsis "GNOME keyboard configuration library")
8416 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8417 environment, which can notably display keyboard layouts.")
8418 (license license:lgpl2.0+)))
8420 ;;; This package is no longer maintained:
8421 ;;; https://wiki.gnome.org/Attic/LibUnique
8422 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8423 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8424 (define-public libunique
8430 (uri (string-append "mirror://gnome/sources/" name "/"
8431 (version-major+minor version) "/"
8432 name "-" version ".tar.xz"))
8435 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8436 (build-system glib-or-gtk-build-system)
8438 `(#:configure-flags '("--disable-static"
8439 "--disable-dbus" ; use gdbus
8440 "--enable-introspection")))
8442 `(("pkg-config" ,pkg-config)
8443 ("gobject-introspection" ,gobject-introspection)
8444 ("glib:bin" ,glib "bin")
8445 ("gtk-doc" ,gtk-doc)))
8447 ;; Referred to in .h files and .pc.
8449 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8450 (synopsis "Library for writing single instance applications")
8452 "Libunique is a library for writing single instance applications. If you
8453 launch a single instance application twice, the second instance will either just
8454 quit or will send a message to the running instance. Libunique makes it easy to
8455 write this kind of application, by providing a base class, taking care of all
8456 the IPC machinery needed to send messages to a running instance, and also
8457 handling the startup notification side.")
8458 (license license:lgpl2.1+)))
8460 (define-public gnome-calculator
8462 (name "gnome-calculator")
8467 (uri (string-append "mirror://gnome/sources/" name "/"
8468 (version-major+minor version) "/"
8469 name "-" version ".tar.xz"))
8472 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
8473 (build-system meson-build-system)
8474 (arguments '(#:glib-or-gtk? #t))
8476 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8477 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8478 ("intltool" ,intltool)
8479 ("itstool" ,itstool)
8481 ("pkg-config" ,pkg-config)))
8484 ("gtksourceview" ,gtksourceview)
8485 ("libsoup" ,libsoup)
8486 ("libxml2" ,libxml2)
8489 (home-page "https://wiki.gnome.org/Apps/Calculator")
8490 (synopsis "Desktop calculator")
8492 "Calculator is an application that solves mathematical equations and
8493 is suitable as a default application in a Desktop environment.")
8494 (license license:gpl3)))
8503 (uri (string-append "https://launchpad.net/xpad/trunk/"
8504 version "/+download/"
8505 name "-" version ".tar.bz2"))
8508 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8509 (build-system gnu-build-system)
8511 `(("autoconf" ,autoconf)
8512 ("automake" ,automake)
8513 ("gtk+:bin" ,gtk+ "bin")
8514 ("intltool" ,intltool)
8515 ("pkg-config" ,pkg-config)))
8517 `(("gtksourceview" ,gtksourceview-3)
8519 (home-page "https://wiki.gnome.org/Apps/Xpad")
8520 (synopsis "Virtual sticky note")
8522 "Xpad is a sticky note that strives to be simple, fault tolerant,
8523 and customizable. Xpad consists of independent pad windows, each is
8524 basically a text box in which notes can be written.")
8525 (license license:gpl3+)))
8527 (define-public gucharmap
8528 (let ((unicode-files
8530 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8532 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8534 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8536 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8538 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8540 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8547 (uri (string-append "mirror://gnome/sources/" name "/"
8548 (version-major+minor version) "/"
8549 name "-" version ".tar.xz"))
8552 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8553 (build-system glib-or-gtk-build-system)
8555 `(#:modules ((ice-9 match)
8556 (guix build glib-or-gtk-build-system)
8559 (list "--with-unicode-data=../unicode-data")
8561 (modify-phases %standard-phases
8562 (add-after 'unpack 'prepare-unicode-data
8563 (lambda* (#:key inputs #:allow-other-keys)
8564 (mkdir-p "../unicode-data")
8565 (with-directory-excursion "../unicode-data"
8566 (for-each (match-lambda
8568 (install-file (assoc-ref inputs file) ".")))
8572 `(("desktop-file-utils" ,desktop-file-utils)
8573 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8574 ("gobject-introspection" ,gobject-introspection)
8575 ("intltool" ,intltool)
8576 ("itstool" ,itstool)
8577 ("pkg-config" ,pkg-config)
8578 ,@(map (match-lambda
8584 "http://www.unicode.org/Public/12.0.0/ucd/"
8586 (sha256 (base32 hash))))))
8591 ("xmllint" ,libxml2)))
8592 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8593 (synopsis "Unicode character picker and font browser")
8595 "This program allows you to browse through all the available Unicode
8596 characters and categories for the installed fonts, and to examine their
8597 detailed properties. It is an easy way to find the character you might
8598 only know by its Unicode name or code point.")
8599 (license license:gpl3+))))
8601 (define-public bluefish
8608 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8609 "bluefish-" version ".tar.gz"))
8611 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
8612 (build-system gnu-build-system)
8614 `(("desktop-file-utils" ,desktop-file-utils)
8615 ("intltool" ,intltool)
8616 ("pkg-config" ,pkg-config)))
8618 `(("enchant" ,enchant)
8620 ("python" ,python-wrapper)
8621 ("xmllint" ,libxml2)
8622 ("gucharmap" ,gucharmap)))
8623 (home-page "http://bluefish.openoffice.nl")
8624 (synopsis "Web development studio")
8626 "Bluefish is an editor targeted towards programmers and web developers,
8627 with many options to write web sites, scripts and other code.
8628 Bluefish supports many programming and markup languages.")
8629 (license license:gpl3+)))
8631 (define-public gnome-system-monitor
8633 (name "gnome-system-monitor")
8638 (uri (string-append "mirror://gnome/sources/" name "/"
8639 (version-major+minor version) "/"
8640 name "-" version ".tar.xz"))
8643 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8644 (build-system meson-build-system)
8647 #:configure-flags '("-Dsystemd=false")))
8649 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8650 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8651 ("intltool" ,intltool)
8652 ("itstool" ,itstool)
8653 ("libgtop" ,libgtop)
8655 ("pkg-config" ,pkg-config)))
8657 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8660 ("librsvg" ,librsvg)
8661 ("libxml2" ,libxml2)
8662 ("libwnck" ,libwnck)))
8663 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8664 (synopsis "Process viewer and system resource monitor for GNOME")
8666 "GNOME System Monitor is a GNOME process viewer and system monitor with
8667 an attractive, easy-to-use interface. It has features, such as a tree view
8668 for process dependencies, icons for processes, the ability to hide processes,
8669 graphical time histories of CPU/memory/swap usage and the ability to
8670 kill/reinice processes.")
8671 (license license:gpl2+)))
8673 (define-public python-pyatspi
8675 (name "python-pyatspi")
8680 "mirror://gnome/sources/pyatspi/"
8681 (version-major+minor version)
8682 "/pyatspi-" version ".tar.xz"))
8685 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8686 (build-system gnu-build-system)
8689 (modify-phases %standard-phases
8690 (add-before 'build 'fix-atk-load
8692 (substitute* "pyatspi/__init__.py"
8693 (("from gi.repository import Atspi")
8694 "gi.require_version('Gtk', '3.0')
8695 from gi.repository import Gtk
8696 from gi.repository import Atspi"))
8699 `(("pkg-config" ,pkg-config)))
8701 `(("python" ,python)
8702 ("python-pygobject" ,python-pygobject)))
8703 (synopsis "Python client bindings for D-Bus AT-SPI")
8704 (home-page "https://wiki.linuxfoundation.org/accessibility\
8705 /atk/at-spi/at-spi_on_d-bus")
8707 "This package includes a python client library for the AT-SPI D-Bus
8708 accessibility infrastructure.")
8709 (license license:lgpl2.0)
8710 (properties '((upstream-name . "pyatspi")))))
8719 "mirror://gnome/sources/" name "/"
8720 (version-major+minor version) "/"
8721 name "-" version ".tar.xz"))
8724 "05jqzlg0f1x53hyl0l9282ynmw37159g6dsbrid12b7sjs12cc1i"))))
8725 (build-system glib-or-gtk-build-system)
8728 (modify-phases %standard-phases
8729 (add-before 'configure 'qualify-xkbcomp
8730 (lambda* (#:key inputs #:allow-other-keys)
8731 (let ((xkbcomp (string-append
8732 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8733 (substitute* "src/orca/orca.py"
8734 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8736 (add-after 'install 'wrap-orca
8737 (lambda* (#:key outputs #:allow-other-keys)
8738 (let* ((out (assoc-ref outputs "out"))
8739 (prog (string-append out "/bin/orca")))
8741 `("GI_TYPELIB_PATH" ":" prefix
8742 (,(getenv "GI_TYPELIB_PATH")))
8743 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8744 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8745 `("PYTHONPATH" ":" prefix
8746 (,(getenv "PYTHONPATH")))))
8749 `(("intltool" ,intltool)
8750 ("itstool" ,itstool)
8751 ("pkg-config" ,pkg-config)
8752 ("xmllint" ,libxml2)))
8754 `(("at-spi2-atk" ,at-spi2-atk)
8755 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8756 ("gstreamer" ,gstreamer)
8757 ("gst-plugins-base" ,gst-plugins-base)
8758 ("gst-plugins-good" ,gst-plugins-good)
8761 ("python-pygobject" ,python-pygobject)
8762 ("python-pyatspi" ,python-pyatspi)
8763 ("python-speechd" ,speech-dispatcher)
8764 ("xkbcomp" ,xkbcomp)))
8766 "Screen reader for individuals who are blind or visually impaired")
8767 (home-page "https://wiki.gnome.org/Projects/Orca")
8769 "Orca is a screen reader that provides access to the graphical desktop
8770 via speech and refreshable braille. Orca works with applications and toolkits
8771 that support the Assistive Technology Service Provider Interface (AT-SPI).")
8772 (license license:lgpl2.1+)))
8774 (define-public gspell
8780 (uri (string-append "mirror://gnome/sources/" name "/"
8781 (version-major+minor version) "/"
8782 name "-" version ".tar.xz"))
8785 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
8786 (patches (search-patches "gspell-dash-test.patch"))))
8787 (build-system glib-or-gtk-build-system)
8789 '(#:configure-flags (list "--enable-vala")
8791 (modify-phases %standard-phases
8792 (add-before 'check 'pre-check
8793 (lambda* (#:key inputs #:allow-other-keys)
8794 ;; Tests require a running X server.
8795 (system "Xvfb :1 &")
8796 (setenv "DISPLAY" ":1")
8798 ;; For the missing /etc/machine-id.
8799 (setenv "DBUS_FATAL_WARNINGS" "0")
8801 ;; Allow Enchant and its Aspell backend to find the en_US
8803 (setenv "ASPELL_DICT_DIR"
8804 (string-append (assoc-ref inputs "aspell-dict-en")
8810 ("iso-codes" ,iso-codes)))
8812 `(("glib" ,glib "bin")
8813 ("gobject-introspection" ,gobject-introspection)
8814 ("pkg-config" ,pkg-config)
8815 ("vala" ,vala) ;for VAPI, needed by Geary
8816 ("xmllint" ,libxml2)
8819 ("aspell-dict-en" ,aspell-dict-en)
8820 ("xorg-server" ,xorg-server-for-tests)))
8822 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
8823 (home-page "https://wiki.gnome.org/Projects/gspell")
8824 (synopsis "GNOME's alternative spell checker")
8826 "gspell provides a flexible API to add spell-checking to a GTK+
8827 application. It provides a GObject API, spell-checking to text entries and
8828 text views, and buttons to choose the language.")
8829 (license license:gpl2+)))
8831 (define-public gnome-planner
8833 (name "gnome-planner")
8837 (uri (string-append "mirror://gnome/sources/planner/"
8838 (version-major+minor version) "/planner-"
8842 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8843 (build-system glib-or-gtk-build-system)
8845 ;; Disable the Python bindings because the Planner program functions
8846 ;; without them, and (as of 2017-06-13) we have not packaged all of
8847 ;; packages that are necessary for building the Python bindings.
8849 (list "--disable-python"
8850 ,@(if (string=? "aarch64-linux" (%current-system))
8851 '("--build=aarch64-unknown-linux-gnu")
8854 `(("libgnomecanvas" ,libgnomecanvas)
8855 ("libgnomeui" ,libgnomeui)
8856 ("libglade" ,libglade)
8857 ("gnome-vfs" ,gnome-vfs)
8859 ("libxml2" ,libxml2)
8860 ("libxslt" ,libxslt)
8864 `(("intltool" ,intltool)
8865 ("scrollkeeper" ,scrollkeeper)
8866 ("pkg-config" ,pkg-config)))
8867 (home-page "https://wiki.gnome.org/Apps/Planner")
8868 (synopsis "Project management software for the GNOME desktop")
8870 "GNOME Planner is a project management tool based on the Work Breakdown
8871 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8872 the resources, tasks, and constraints that you define, Planner generates
8873 various views into a project. For example, Planner can show a Gantt chart of
8874 the project. It can show a detailed summary of tasks including their
8875 duration, cost, and current progress. It can also show a report of resource
8876 utilization that highlights under-utilized and over-utilized resources. These
8877 views can be printed as PDF or PostScript files, or exported to HTML.")
8878 (license license:gpl2+)))
8880 (define-public lollypop
8887 (uri (string-append "https://adishatz.org/lollypop/"
8888 "lollypop-" version ".tar.xz"))
8890 (base32 "1ng9492k8754vlqggbfsyzbmfdx4w17fzc4ad21fr92710na0w5a"))))
8891 (build-system meson-build-system)
8893 `(#:imported-modules ((guix build python-build-system)
8894 ,@%meson-build-system-modules)
8896 #:tests? #f ; no test suite
8898 (modify-phases %standard-phases
8899 (add-after 'install 'wrap-program
8900 (lambda* (#:key outputs #:allow-other-keys)
8901 (let ((out (assoc-ref outputs "out"))
8902 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8903 (wrap-program (string-append out "/bin/lollypop")
8904 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8906 (add-after 'install 'wrap-python
8907 (@@ (guix build python-build-system) wrap))
8908 (add-after 'install 'wrap-glib-or-gtk
8909 (@@ (guix build glib-or-gtk-build-system) wrap-all-programs)))))
8911 `(("intltool" ,intltool)
8912 ("itstool" ,itstool)
8913 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8914 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8915 ("pkg-config" ,pkg-config)))
8917 `(("gobject-introspection" ,gobject-introspection)
8918 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8919 ("gst-plugins-base" ,gst-plugins-base)
8920 ("libnotify" ,libnotify)
8921 ("libsecret" ,libsecret)
8922 ("libsoup" ,libsoup)
8924 ("python-beautifulsoup4" ,python-beautifulsoup4)
8925 ("python-gst" ,python-gst)
8926 ("python-pil" ,python-pillow)
8927 ("python-pycairo" ,python-pycairo)
8928 ("python-pygobject" ,python-pygobject-3.34)
8929 ("python-pylast" ,python-pylast)
8930 ("totem-pl-parser" ,totem-pl-parser)
8931 ("webkitgtk" ,webkitgtk)))
8933 `(;; gst-plugins-base is required to start Lollypop,
8934 ;; the others are required to play streaming.
8935 ("gst-plugins-good" ,gst-plugins-good)
8936 ("gst-plugins-ugly" ,gst-plugins-ugly)))
8937 (home-page "https://wiki.gnome.org/Apps/Lollypop")
8938 (synopsis "GNOME music playing application")
8940 "Lollypop is a music player designed to play well with GNOME desktop.
8941 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
8942 from artists and tracks from the web. It also fetches cover artworks
8943 automatically and it can stream songs from online music services and charts.")
8944 (license license:gpl3+)))
8946 (define-public gnome-video-effects
8948 (name "gnome-video-effects")
8952 (uri (string-append "mirror://gnome/sources/" name "/"
8953 (version-major+minor version) "/" name "-"
8957 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
8958 (build-system glib-or-gtk-build-system)
8960 `(#:out-of-source? #f))
8962 `(("glib:bin" ,glib "bin")
8963 ("intltool" ,intltool)
8964 ("gettext" ,gettext-minimal)
8965 ("pkg-config" ,pkg-config)))
8966 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
8967 (synopsis "Video effects for Cheese and other GNOME applications")
8969 "A collection of GStreamer video filters and effects to be used in
8970 photo-booth-like software, such as Cheese.")
8971 (license license:gpl2+)))
8973 (define-public cheese
8979 (uri (string-append "mirror://gnome/sources/" name "/"
8980 (version-major+minor version) "/" name "-"
8984 "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv"))))
8986 ;; Tests require GDK.
8989 (modify-phases %standard-phases
8990 (add-before 'install 'skip-gtk-update-icon-cache
8992 ;; Don't create 'icon-theme.cache'
8993 (substitute* "Makefile"
8994 (("gtk-update-icon-cache") (which "true")))
8996 (add-after 'install 'wrap-cheese
8997 (lambda* (#:key inputs outputs #:allow-other-keys)
8998 (let ((out (assoc-ref outputs "out"))
8999 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9000 (wrap-program (string-append out "/bin/cheese")
9001 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9003 (build-system glib-or-gtk-build-system)
9005 `(("glib:bin" ,glib "bin")
9006 ("intltool" ,intltool)
9007 ("itstool" ,itstool)
9008 ("libxml2" ,libxml2)
9009 ("pkg-config" ,pkg-config)
9012 `(("gnome-video-effects" ,gnome-video-effects)
9013 ("clutter" ,clutter)
9014 ("clutter-gst" ,clutter-gst)
9015 ("clutter-gtk" ,clutter-gtk)
9016 ("libcanberra" ,libcanberra)
9017 ("gdk-pixbuf" ,gdk-pixbuf)
9019 ("gstreamer" ,gstreamer)))
9021 `(("gnome-desktop" ,gnome-desktop)
9022 ("gobject-introspection" ,gobject-introspection)
9023 ("gst-plugins-base" ,gst-plugins-base)
9024 ("gst-plugins-bad" ,gst-plugins-bad)
9027 ("libxtst" ,libxtst)))
9028 (home-page "https://wiki.gnome.org/Apps/Cheese")
9029 (synopsis "Webcam photo booth software for GNOME")
9031 "Cheese uses your webcam to take photos and videos. Cheese can also
9032 apply fancy special effects and lets you share the fun with others.")
9033 (license license:gpl2+)))
9035 (define-public sound-juicer
9037 (name "sound-juicer")
9042 (uri (string-append "mirror://gnome/sources/" name "/"
9043 (version-major+minor version) "/"
9044 name "-" version ".tar.xz"))
9047 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9048 (build-system glib-or-gtk-build-system)
9050 `(("desktop-file-utils" ,desktop-file-utils)
9051 ("intltool" ,intltool)
9052 ("itstool" ,itstool)
9053 ("pkg-config" ,pkg-config)
9054 ("xmllint" ,libxml2)))
9057 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9058 ("gstreamer" ,gstreamer)
9059 ("gst-plugins-base" ,gst-plugins-base)
9060 ("gst-plugins-good" ,gst-plugins-good)
9061 ("iso-codes" ,iso-codes)
9062 ("libbrasero-media3" ,brasero)
9063 ("libcanberra" ,libcanberra)
9064 ("libdiscid" ,libdiscid)
9065 ("libmusicbrainz" ,libmusicbrainz)
9067 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9068 (synopsis "Audio music cd ripper")
9069 (description "Sound Juicer extracts audio from compact discs and convert it
9070 into audio files that a personal computer or digital audio player can play.
9071 It supports ripping to any audio codec supported by a GStreamer plugin, such as
9072 mp3, Ogg Vorbis and FLAC")
9073 (license license:gpl2+)))
9075 (define-public soundconverter
9077 (name "soundconverter")
9082 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9083 version "/+download/"
9084 "soundconverter-" version ".tar.xz"))
9087 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
9090 "soundconverter-remove-gconf-dependency.patch"))))
9091 (build-system glib-or-gtk-build-system)
9093 `(#:imported-modules ((guix build python-build-system)
9094 (guix build glib-or-gtk-build-system)
9095 ,@%gnu-build-system-modules)
9097 #:modules ((guix build glib-or-gtk-build-system)
9099 ((guix build gnu-build-system) #:prefix gnu:)
9100 ((guix build python-build-system) #:prefix python:))
9103 (modify-phases %standard-phases
9104 (add-after 'install 'wrap-soundconverter-for-python
9105 (assoc-ref python:%standard-phases 'wrap))
9106 (add-after 'install 'wrap-soundconverter
9107 (lambda* (#:key inputs outputs #:allow-other-keys)
9108 (let ((out (assoc-ref outputs "out"))
9109 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9110 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9111 (wrap-program (string-append out "/bin/soundconverter")
9112 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9113 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9116 `(("intltool" ,intltool)
9117 ("pkg-config" ,pkg-config)
9118 ("glib:bin" ,glib "bin")))
9122 ("python-pygobject" ,python-pygobject)
9123 ("gstreamer" ,gstreamer)
9124 ("gst-plugins-base" ,gst-plugins-base)))
9125 (home-page "https://soundconverter.org/")
9126 (synopsis "Convert between audio formats with a graphical interface")
9128 "SoundConverter supports converting between many audio formats including
9129 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9130 configurable file renaming. ")
9131 (license license:gpl3)))
9133 (define-public workrave
9141 (url "https://github.com/rcaelers/workrave.git")
9142 (commit (string-append "v" (string-map
9143 (match-lambda (#\. #\_) (chr chr))
9145 (file-name (git-file-name name version))
9147 (base32 "01cxy7606hx9wgxl550l4p2xa9hsy0rk7swsp58hyi842z2z0y13"))))
9148 (build-system glib-or-gtk-build-system)
9150 ;; The only tests are maintainer tests (in po/), which fail.
9152 (inputs `(("glib" ,glib)
9154 ("gdk-pixbuf" ,gdk-pixbuf)
9158 ("libxtst" ,libxtst)
9162 ("libxscrnsaver" ,libxscrnsaver)))
9163 (native-inputs `(("boost" ,boost)
9164 ("pkg-config" ,pkg-config)
9165 ("gettext" ,gnu-gettext)
9166 ("autoconf" ,autoconf)
9167 ("autoconf-archive" , autoconf-archive)
9168 ("automake" ,automake)
9169 ("libtool" ,libtool)
9170 ("intltool" ,intltool)
9171 ("gobject-introspection" ,gobject-introspection)
9172 ("python3" ,python-3)
9173 ("python-jinja2" ,python-jinja2)))
9174 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9176 "Workrave is a program that assists in the recovery and prevention of
9177 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9178 micro-pauses and rest breaks, and restricts you to your daily limit.")
9179 (home-page "http://www.workrave.org")
9180 (license license:gpl3+)))
9188 (uri (string-append "mirror://gnome/sources/ghex/"
9189 (version-major+minor version) "/"
9190 "ghex-" version ".tar.xz"))
9193 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9194 (build-system meson-build-system)
9198 (modify-phases %standard-phases
9199 (add-after 'unpack 'skip-gtk-update-icon-cache
9200 ;; Don't create 'icon-theme.cache'.
9202 (substitute* "meson_post_install.py"
9203 (("gtk-update-icon-cache") (which "true")))
9206 `(("pkg-config" ,pkg-config)
9207 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9208 ("gnome-common" ,gnome-common)
9210 ("intltool" ,intltool)
9211 ("yelp-tools" ,yelp-tools)
9212 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9216 (synopsis "GNOME hexadecimal editor")
9217 (description "The GHex program can view and edit files in two ways:
9218 hexadecimal or ASCII. It is useful for editing binary files in general.")
9219 (home-page "https://wiki.gnome.org/Apps/Ghex")
9220 (license license:gpl2)))
9222 (define-public libdazzle
9228 (uri (string-append "mirror://gnome/sources/libdazzle/"
9229 (version-major+minor version) "/"
9230 "libdazzle-" version ".tar.xz"))
9233 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
9234 (build-system meson-build-system)
9237 (modify-phases %standard-phases
9238 (add-before 'check 'pre-check
9240 ;; Tests require a running X server.
9241 (system "Xvfb :1 &")
9242 (setenv "DISPLAY" ":1")
9245 `(("glib" ,glib "bin") ; glib-compile-resources
9246 ("pkg-config" ,pkg-config)
9248 ("xorg-server" ,xorg-server-for-tests)))
9251 ("gobject-introspection" ,gobject-introspection)
9254 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9255 (synopsis "Companion library to GObject and Gtk+")
9256 (description "The libdazzle library is a companion library to GObject and
9257 Gtk+. It provides various features that the authors wish were in the
9258 underlying library but cannot for various reasons. In most cases, they are
9259 wildly out of scope for those libraries. In other cases, they are not quite
9260 generic enough to work for everyone.")
9261 (license license:gpl3+)))
9263 (define-public evolution
9269 (uri (string-append "mirror://gnome/sources/evolution/"
9270 (version-major+minor version) "/"
9271 "evolution-" version ".tar.xz"))
9274 "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh"))))
9275 (build-system cmake-build-system)
9277 `(#:imported-modules (,@%cmake-build-system-modules
9278 (guix build glib-or-gtk-build-system))
9279 #:modules ((guix build cmake-build-system)
9280 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9283 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9284 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9285 ; in four years and cannot be built.
9287 (modify-phases %standard-phases
9288 ;; The build system attempts to install user interface modules to the
9289 ;; output directory of the "evolution-data-server" package. This
9290 ;; change redirects that change.
9291 (add-after 'unpack 'patch-ui-module-dir
9292 (lambda* (#:key outputs #:allow-other-keys)
9293 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9294 (("\\$\\{edsuimoduledir\\}")
9295 (string-append (assoc-ref outputs "out")
9296 "/lib/evolution-data-server/ui-modules")))
9298 (add-after 'install 'glib-or-gtk-compile-schemas
9299 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9300 (add-after 'install 'glib-or-gtk-wrap
9301 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9303 `(("glib" ,glib "bin") ; glib-mkenums
9304 ("pkg-config" ,pkg-config)
9305 ("intltool" ,intltool)
9306 ("itstool" ,itstool)))
9308 `(("enchant" ,enchant)
9309 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9311 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9312 ("gnome-autoar" ,gnome-autoar)
9313 ("gnome-desktop" ,gnome-desktop)
9314 ("gtkspell3" ,gtkspell3)
9315 ("highlight" ,highlight)
9316 ("libcanberra" ,libcanberra)
9317 ("libedataserverui" ,evolution-data-server)
9318 ("libgweather" ,libgweather)
9319 ("libnotify" ,libnotify)
9320 ("libsoup" ,libsoup)
9322 ("openldap" ,openldap)
9323 ("webkitgtk" ,webkitgtk)
9325 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9326 (synopsis "Manage your email, contacts and schedule")
9327 (description "Evolution is a personal information management application
9328 that provides integrated mail, calendaring and address book
9330 ;; See COPYING for details.
9331 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9332 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9333 license:lgpl2.1+)))) ; smime/lib/*
9335 (define-public gthumb
9341 (uri (string-append "mirror://gnome/sources/gthumb/"
9342 (version-major+minor version) "/"
9343 "gthumb-" version ".tar.xz"))
9346 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9347 (build-system meson-build-system)
9351 ;; Ensure the RUNPATH contains all installed library locations.
9352 (list (string-append "-Dc_link_args=-Wl,-rpath="
9353 (assoc-ref %outputs "out")
9354 "/lib/gthumb/extensions")
9355 (string-append "-Dcpp_link_args=-Wl,-rpath="
9356 (assoc-ref %outputs "out")
9357 "/lib/gthumb/extensions"))))
9359 `(("pkg-config" ,pkg-config)
9360 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9361 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9362 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9363 ("intltool" ,intltool)
9364 ("itstool" ,itstool)))
9368 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9369 ("gstreamer" ,gstreamer)
9370 ("clutter" ,clutter)
9371 ("clutter-gst" ,clutter-gst)
9372 ("clutter-gtk" ,clutter-gtk)
9373 ("libjpeg" ,libjpeg)
9374 ("libtiff" ,libtiff)
9375 ("libraw" ,libraw)))
9376 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9377 (synopsis "GNOME image viewer and browser")
9378 (description "GThumb is an image viewer, browser, organizer, editor and
9379 advanced image management tool")
9380 (license license:gpl2+)))
9382 (define-public terminator
9388 (uri (string-append "https://launchpad.net/" name "/"
9389 "gtk3/" version "/" "+download/"
9390 name "-" version ".tar.gz"))
9393 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9394 (build-system python-build-system)
9396 `(("intltool" ,intltool)
9397 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9398 ("gettext" ,gettext-minimal)
9399 ("pkg-config" ,pkg-config)))
9402 ("gobject-introspection" ,gobject-introspection)
9403 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9404 ("python2-pycairo" ,python2-pycairo)
9405 ("python2-pygobject" ,python2-pygobject)
9406 ("python2-psutil" ,python2-psutil)
9409 `(#:python ,python-2 ; Python 3 isn't supported
9410 #:imported-modules ((guix build glib-or-gtk-build-system)
9411 ,@%python-build-system-modules)
9412 #:modules ((guix build python-build-system)
9413 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9416 (modify-phases %standard-phases
9418 'install 'wrap-program
9419 (lambda* (#:key outputs #:allow-other-keys)
9420 (let ((prog (string-append (assoc-ref outputs "out")
9421 "/bin/terminator")))
9423 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9424 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9426 (add-after 'wrap-program 'glib-or-gtk-wrap
9427 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9428 (home-page "https://gnometerminator.blogspot.com/")
9429 (synopsis "Store and run multiple GNOME terminals in one window")
9431 "Terminator allows you to run multiple GNOME terminals in a grid and
9432 +tabs, and it supports drag and drop re-ordering of terminals.")
9433 (license license:gpl2)))
9435 (define-public libhandy
9443 (url "https://source.puri.sm/Librem5/libhandy")
9444 (commit (string-append "v" version))))
9445 (file-name (git-file-name name version))
9447 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9448 (build-system meson-build-system)
9451 '("-Dglade_catalog=disabled"
9454 (modify-phases %standard-phases
9455 (add-before 'check 'pre-check
9457 ;; Tests require a running X server.
9458 (system "Xvfb :1 &")
9459 (setenv "DISPLAY" ":1")
9464 `(("glib:bin" ,glib "bin")
9465 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9467 ("gtk-doc" ,gtk-doc)
9468 ("pkg-config" ,pkg-config)
9469 ("gettext" ,gettext-minimal)
9471 ;; Test suite dependencies.
9472 ("xorg-server" ,xorg-server-for-tests)
9473 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9474 (home-page "https://source.puri.sm/Librem5/libhandy")
9475 (synopsis "Library full of GTK+ widgets for mobile phones")
9476 (description "The aim of the handy library is to help with developing user
9477 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9478 for usage on small and big screens.")
9479 (license license:lgpl2.1+)))
9481 (define-public libgit2-glib
9483 (name "libgit2-glib")
9484 (version "0.99.0.1")
9487 (uri (string-append "mirror://gnome/sources/" name "/"
9488 (version-major+minor version) "/"
9489 name "-" version ".tar.xz"))
9492 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
9493 (build-system meson-build-system)
9495 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9496 ("gobject-introspection" ,gobject-introspection)
9497 ("pkg-config" ,pkg-config)
9498 ("python-pygobject" ,python-pygobject)
9499 ("python-wrapper" ,python-wrapper)
9503 ("libssh2" ,libssh2)))
9505 `(;; In Requires of libgit2-glib.pc.
9506 ("libgit2" ,libgit2)))
9507 (synopsis "GLib wrapper around the libgit2 Git access library")
9508 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9509 access library. It only implements the core plumbing functions, not really the
9510 higher level porcelain stuff.")
9511 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9512 (license license:gpl2+)))
9520 (uri (string-append "mirror://gnome/sources/" name "/"
9521 (version-major+minor version) "/"
9522 name "-" version ".tar.xz"))
9525 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9526 (build-system meson-build-system)
9530 (modify-phases %standard-phases
9531 (add-after 'unpack 'disable-post-install-partially
9533 (substitute* "meson_post_install.py"
9534 (("'python'") ; there are no python sources to compile
9535 (string-append "'" (which "true") "'"))
9536 (("gtk-update-icon-cache") (which "true")))
9538 (add-after 'unpack 'fix-test-sources
9540 (substitute* "tests/libgitg/test-commit.vala"
9541 (("/bin/bash") (which "bash")))
9543 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9544 (lambda* (#:key outputs #:allow-other-keys)
9545 (let ((prog (string-append (assoc-ref outputs "out")
9548 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9552 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9554 ("gtkspell3" ,gtkspell3)
9555 ("gtksourceview" ,gtksourceview-3)
9556 ("json-glib" ,json-glib)
9557 ("libdazzle" ,libdazzle)
9559 ("libgit2-glib" ,libgit2-glib)
9560 ("libpeas" ,libpeas)
9561 ("libsecret" ,libsecret)
9562 ("libsoup" ,libsoup)
9563 ("libxml2" ,libxml2)))
9565 `(("glib:bin" ,glib "bin")
9566 ("gtk+:bin" ,gtk+ "bin")
9567 ("gobject-introspection" ,gobject-introspection)
9568 ("intltool" ,intltool)
9569 ("pkg-config" ,pkg-config)
9571 (synopsis "Graphical user interface for git")
9573 "gitg is a graphical user interface for git. It aims at being a small,
9574 fast and convenient tool to visualize the history of git repositories.
9575 Besides visualization, gitg also provides several utilities to manage your
9576 repository and commit your work.")
9577 (home-page "https://wiki.gnome.org/Apps/Gitg")
9578 (license license:gpl2+)))
9580 (define-public gamin
9586 (uri (string-append "mirror://gnome/sources/" name "/"
9587 (version-major+minor version) "/"
9588 name "-" version ".tar.bz2"))
9591 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9592 (build-system gnu-build-system)
9595 (modify-phases %standard-phases
9596 (add-after 'unpack 'remove-deprecated-macro
9598 (substitute* '("server/gam_node.c"
9599 "server/gam_subscription.h"
9601 "server/gam_subscription.c")
9602 (("G_CONST_RETURN") "const"))
9607 `(("intltool" ,intltool)
9608 ("pkg-config" ,pkg-config)))
9609 (home-page "https://people.gnome.org/~veillard/gamin/")
9610 (synopsis "File alteration monitor")
9612 "Gamin is a file and directory monitoring system defined to be a subset
9613 of the FAM (File Alteration Monitor) system. This is a service provided by a
9614 library which allows to detect when a file or a directory has been modified.")
9615 (license license:gpl2+)))
9617 (define-public gnome-mahjongg
9619 (name "gnome-mahjongg")
9624 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9626 (file-name (git-file-name name version))
9629 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9630 (build-system meson-build-system)
9632 `(#:glib-or-gtk? #t))
9634 `(("appstream-glib" ,appstream-glib)
9635 ("gettext" ,gettext-minimal)
9636 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9637 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9638 ("itstool" ,itstool)
9639 ("pkg-config" ,pkg-config)
9642 `(("dconf" ,dconf)))
9646 ("librsvg" ,librsvg)))
9647 (synopsis "Mahjongg tile-matching game")
9648 (description "GNOME Mahjongg is a game based on the classic Chinese
9649 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9650 and a high score table.")
9651 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9652 (license license:gpl2+)))
9654 (define-public gnome-themes-extra
9656 (name "gnome-themes-extra")
9661 (uri (string-append "mirror://gnome/sources/" name "/"
9662 (version-major+minor version) "/" name "-"
9666 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9667 (build-system gnu-build-system)
9670 ;; Don't create 'icon-theme.cache'.
9671 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9672 (true (string-append coreutils "/bin/true")))
9673 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9675 `(("glib:bin" ,glib "bin")
9676 ("intltool" ,intltool)
9677 ("pkg-config" ,pkg-config)))
9682 ("librsvg" ,librsvg)
9683 ("libxml2" ,libxml2)))
9684 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9685 (synopsis "GNOME Extra Themes")
9686 (description "This package provides themes and related elements that don't
9687 really fit in other upstream packages. It offers legacy support for GTK+ 2
9688 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9689 index files needed for Adwaita to be used outside of GNOME.")
9690 (license license:lgpl2.1+)))
9692 (define-public polari
9698 (uri (string-append "mirror://gnome/sources/polari/"
9699 (version-major+minor version)
9700 "/polari-" version ".tar.xz"))
9703 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9704 (build-system meson-build-system)
9708 (modify-phases %standard-phases
9709 (add-after 'unpack 'skip-gtk-update-icon-cache
9711 (substitute* "meson/meson-postinstall.sh"
9712 (("gtk-update-icon-cache") (which "true")))
9714 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9715 (lambda* (#:key outputs #:allow-other-keys)
9716 (let ((prog (string-append (assoc-ref outputs "out")
9719 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9723 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9727 ("libsecret" ,libsecret)
9728 ("libsoup" ,libsoup)
9729 ("telepathy-glib" ,telepathy-glib)
9730 ("telepathy-logger" ,telepathy-logger)))
9732 `(("glib:bin" ,glib "bin")
9733 ("gobject-introspection" ,gobject-introspection)
9734 ("intltool" ,intltool)
9735 ("pkg-config" ,pkg-config)
9736 ("yelp-tools" ,yelp-tools)))
9738 `(("telepathy-idle" ,telepathy-idle)
9739 ("telepathy-mission-control" ,telepathy-mission-control)))
9740 (synopsis "Simple IRC Client")
9742 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9743 integrate seamlessly with the GNOME desktop.")
9744 (home-page "https://wiki.gnome.org/Apps/Polari")
9745 (license license:gpl2+)))
9747 (define-public gnome-boxes
9749 (name "gnome-boxes")
9754 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
9755 (version-major+minor version) "/"
9756 "gnome-boxes-" version ".tar.xz"))
9759 "0l96spz6pc8q4l5p9a58cc0kgvdr7pbc89hy6ixn72k5pl3s7fxj"))))
9760 (build-system meson-build-system)
9763 #:configure-flags (list "-Drdp=false"
9764 (string-append "-Dc_link_args=-Wl,-rpath="
9765 (assoc-ref %outputs "out")
9766 "/lib/gnome-boxes"))))
9768 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
9769 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9770 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9771 ("itstool" ,itstool)
9772 ("intltool" ,intltool)
9774 ("pkg-config" ,pkg-config)))
9776 `(("libarchive" ,libarchive)
9778 ("gtk-vnc" ,gtk-vnc)
9779 ("libosinfo" ,libosinfo)
9780 ("libsecret" ,libsecret)
9781 ("libsoup" ,libsoup)
9783 ("libvirt" ,libvirt)
9784 ("libvirt-glib" ,libvirt-glib)
9786 ("spice-gtk" ,spice-gtk)
9787 ("sparql-query" ,sparql-query)
9789 ("webkitgtk" ,webkitgtk)
9790 ("tracker" ,tracker)
9791 ("libgudev" ,libgudev)))
9792 (home-page "https://wiki.gnome.org/Apps/Boxes")
9793 (synopsis "View, access, and manage remote and virtual systems")
9794 (description "GNOME Boxes is a simple application to view, access, and
9795 manage remote and virtual systems.")
9797 ;; For data/icons/empty-boxes.png.
9800 license:lgpl2.0+))))
9802 (define-public geary
9809 (url "https://gitlab.gnome.org/GNOME/geary")
9811 (file-name (git-file-name name version))
9814 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
9815 (build-system meson-build-system)
9818 #:phases (modify-phases %standard-phases
9819 (add-after 'unpack 'disable-failing-tests
9821 (substitute* "test/meson.build"
9822 (("test\\('client-tests', geary_test_client_bin\\)")
9825 (add-after 'unpack 'disable-postinstall-script
9827 (substitute* "meson.build"
9828 (("meson.add_install_script\\(\
9829 join_paths\\('build-aux', 'post_install.py'\\)\\)")
9832 (add-before 'check 'setup-xvfb
9834 (system "Xvfb :1 &")
9835 (setenv "DISPLAY" ":1")
9838 `(("enchant" ,enchant)
9842 ("gmime" ,gmime-2.6)
9843 ("gnome-online-accounts:lib"
9844 ,gnome-online-accounts "lib")
9847 ("iso-codes" ,iso-codes)
9848 ("json-glib" ,json-glib)
9849 ("libcanberra" ,libcanberra)
9851 ("libhandy" ,libhandy)
9852 ("libpeas" ,libpeas)
9853 ("libsecret" ,libsecret)
9854 ("libunwind" ,libunwind)
9856 ("webkitgtk" ,webkitgtk)
9859 `(("appstream-glib" ,appstream-glib)
9860 ("cmake-minimal" ,cmake-minimal)
9861 ("desktop-file-utils" ,desktop-file-utils)
9862 ("gettext" ,gnu-gettext)
9863 ("glib:bin" ,glib "bin")
9864 ("gobject-introspection" ,gobject-introspection)
9865 ("itstool" ,itstool)
9866 ("libarchive" ,libarchive)
9867 ("libxml2" ,libxml2)
9868 ("pkg-config" ,pkg-config)
9870 ("xvfb" ,xorg-server-for-tests)))
9871 (synopsis "GNOME email application built around conversations")
9873 "Geary collects related messages together into conversations,
9874 making it easy to find and follow your discussions. Full-text and keyword
9875 search makes it easy to find the email you are looking for. Geary's
9876 full-featured composer lets you send rich, styled text with images, links, and
9877 lists, but also send lightweight, easy to read text messages. Geary
9878 automatically picks up your existing GNOME Online Accounts, and adding more is
9879 easy. Geary has a clean, fast, modern interface that works like you want it
9881 (home-page "https://wiki.gnome.org/Apps/Geary")
9888 license:public-domain