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 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 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 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 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
50 ;;; This file is part of GNU Guix.
52 ;;; GNU Guix is free software; you can redistribute it and/or modify it
53 ;;; under the terms of the GNU General Public License as published by
54 ;;; the Free Software Foundation; either version 3 of the License, or (at
55 ;;; your option) any later version.
57 ;;; GNU Guix is distributed in the hope that it will be useful, but
58 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
59 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
60 ;;; GNU General Public License for more details.
62 ;;; You should have received a copy of the GNU General Public License
63 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
65 (define-module (gnu packages gnome)
66 #:use-module (gnu packages)
67 #:use-module (gnu packages admin)
68 #:use-module (gnu packages aspell)
69 #:use-module (gnu packages autotools)
70 #:use-module (gnu packages avahi)
71 #:use-module (gnu packages backup)
72 #:use-module (gnu packages base)
73 #:use-module (gnu packages bash)
74 #:use-module (gnu packages bison)
75 #:use-module (gnu packages boost)
76 #:use-module (gnu packages build-tools)
77 #:use-module (gnu packages calendar)
78 #:use-module (gnu packages cdrom)
79 #:use-module (gnu packages check)
80 #:use-module (gnu packages cmake)
81 #:use-module (gnu packages compression)
82 #:use-module (gnu packages crates-io)
83 #:use-module (gnu packages cups)
84 #:use-module (gnu packages curl)
85 #:use-module (gnu packages cyrus-sasl)
86 #:use-module (gnu packages databases)
87 #:use-module (gnu packages dbm)
88 #:use-module (gnu packages djvu)
89 #:use-module (gnu packages dns)
90 #:use-module (gnu packages docbook)
91 #:use-module (gnu packages documentation)
92 #:use-module (gnu packages enchant)
93 #:use-module (gnu packages flex)
94 #:use-module (gnu packages fonts)
95 #:use-module (gnu packages file-systems)
96 #:use-module (gnu packages fontutils)
97 #:use-module (gnu packages freedesktop)
98 #:use-module (gnu packages game-development)
99 #:use-module (gnu packages gettext)
100 #:use-module (gnu packages ghostscript)
101 #:use-module (gnu packages gl)
102 #:use-module (gnu packages glib)
103 #:use-module (gnu packages gnupg)
104 #:use-module (gnu packages gnuzilla)
105 #:use-module (gnu packages geo)
106 #:use-module (gnu packages gperf)
107 #:use-module (gnu packages graphviz)
108 #:use-module (gnu packages gstreamer)
109 #:use-module (gnu packages gtk)
110 #:use-module (gnu packages guile)
111 #:use-module (gnu packages ibus)
112 #:use-module (gnu packages icu4c)
113 #:use-module (gnu packages image)
114 #:use-module (gnu packages imagemagick)
115 #:use-module (gnu packages inkscape)
116 #:use-module (gnu packages iso-codes)
117 #:use-module (gnu packages kerberos)
118 #:use-module (gnu packages libcanberra)
119 #:use-module (gnu packages libunistring)
120 #:use-module (gnu packages libusb)
121 #:use-module (gnu packages linux)
122 #:use-module (gnu packages lirc)
123 #:use-module (gnu packages lua)
124 #:use-module (gnu packages mail)
125 #:use-module (gnu packages mp3)
126 #:use-module (gnu packages multiprecision)
127 #:use-module (gnu packages music)
128 #:use-module (gnu packages ncurses)
129 #:use-module (gnu packages nettle)
130 #:use-module (gnu packages networking)
131 #:use-module (gnu packages ninja)
132 #:use-module (gnu packages nss)
133 #:use-module (gnu packages openldap)
134 #:use-module (gnu packages password-utils)
135 #:use-module (gnu packages pcre)
136 #:use-module (gnu packages pdf)
137 #:use-module (gnu packages perl)
138 #:use-module (gnu packages photo)
139 #:use-module (gnu packages pkg-config)
140 #:use-module (gnu packages polkit)
141 #:use-module (gnu packages popt)
142 #:use-module (gnu packages pretty-print)
143 #:use-module (gnu packages pulseaudio)
144 #:use-module (gnu packages python)
145 #:use-module (gnu packages python-crypto)
146 #:use-module (gnu packages python-web)
147 #:use-module (gnu packages python-xyz)
148 #:use-module (gnu packages rdesktop)
149 #:use-module (gnu packages readline)
150 #:use-module (gnu packages ruby)
151 #:use-module (gnu packages rust)
152 #:use-module (gnu packages samba)
153 #:use-module (gnu packages scanner)
154 #:use-module (gnu packages selinux)
155 #:use-module (gnu packages slang)
156 #:use-module (gnu packages speech)
157 #:use-module (gnu packages spice)
158 #:use-module (gnu packages sqlite)
159 #:use-module (gnu packages ssh)
160 #:use-module (gnu packages tex)
161 #:use-module (gnu packages time)
162 #:use-module (gnu packages tls)
163 #:use-module (gnu packages version-control)
164 #:use-module (gnu packages video)
165 #:use-module (gnu packages virtualization)
166 #:use-module (gnu packages vpn)
167 #:use-module (gnu packages web)
168 #:use-module (gnu packages web)
169 #:use-module (gnu packages webkit)
170 #:use-module (gnu packages xdisorg)
171 #:use-module (gnu packages xiph)
172 #:use-module (gnu packages xml)
173 #:use-module (gnu packages xorg)
174 #:use-module (gnu packages xorg)
175 #:use-module (gnu artwork)
176 #:use-module (guix build-system cargo)
177 #:use-module (guix build-system cmake)
178 #:use-module (guix build-system glib-or-gtk)
179 #:use-module (guix build-system gnu)
180 #:use-module (guix build-system meson)
181 #:use-module (guix build-system python)
182 #:use-module (guix build-system trivial)
183 #:use-module (guix download)
184 #:use-module (guix git-download)
185 #:use-module ((guix licenses) #:prefix license:)
186 #:use-module (guix packages)
187 #:use-module (guix utils)
188 #:use-module (guix gexp)
189 #:use-module (guix monads)
190 #:use-module (guix store)
191 #:use-module (ice-9 match)
192 #:use-module (srfi srfi-1))
194 (define-public brasero
200 (uri (string-append "mirror://gnome/sources/brasero/"
201 (version-major+minor version) "/"
202 "brasero-" version ".tar.xz"))
205 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
206 (build-system glib-or-gtk-build-system)
208 `(#:configure-flags (list
209 (string-append "--with-girdir="
210 (assoc-ref %outputs "out")
212 (string-append "--with-typelibdir="
213 (assoc-ref %outputs "out")
214 "/lib/girepository-1.0"))
216 (modify-phases %standard-phases
217 (add-before 'configure 'embed-growisofs
218 (lambda* (#:key inputs #:allow-other-keys)
219 (substitute* "plugins/growisofs/burn-growisofs.c"
220 (("\"growisofs") (string-append "\"" (which "growisofs"))))
223 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
225 `(("intltool" ,intltool)
227 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
228 ("gobject-introspection" ,gobject-introspection)
229 ("pkg-config" ,pkg-config)))
231 `(("dvd+rw-tools" ,dvd+rw-tools)
233 ("gnome-doc-utils" ,gnome-doc-utils)
234 ("gstreamer" ,gstreamer)
235 ("gst-plugins-base" ,gst-plugins-base)
237 ("libcanberra" ,libcanberra)
239 ("libnotify" ,libnotify)
242 ("totem-pl-parser" ,totem-pl-parser)))
243 (home-page "https://wiki.gnome.org/Apps/Brasero")
244 (synopsis "CD/DVD burning tool for Gnome")
245 (description "Brasero is an application to burn CD/DVD for the Gnome
246 Desktop. It is designed to be as simple as possible and has some unique
247 features to enable users to create their discs easily and quickly.")
248 (license license:gpl2+)))
250 (define-public gnome-color-manager
252 (name "gnome-color-manager")
256 (uri (string-append "mirror://gnome/sources/" name "/"
257 (version-major+minor version) "/"
258 name "-" version ".tar.xz"))
261 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
262 (build-system meson-build-system)
266 (modify-phases %standard-phases
270 ;; Tests require a running X server.
272 (setenv "DISPLAY" ":1")
275 `(("desktop-file-utils" ,desktop-file-utils)
276 ("gettext" ,gettext-minimal)
277 ("glib:bin" ,glib "bin")
278 ("gtk+:bin" ,gtk+ "bin")
280 ("pkg-config" ,pkg-config)
281 ("xorg-server" ,xorg-server-for-tests)))
283 `(("adwaita-icon-theme" ,adwaita-icon-theme)
284 ("appstream-glib" ,appstream-glib)
285 ("colord-gtk" ,colord-gtk)
287 ("gnome-desktop" ,gnome-desktop)
288 ("libcanberra" ,libcanberra)
291 ("libxrandr" ,libxrandr)
293 ("libxxf86vm" ,libxxf86vm)
295 ("xorgproto" ,xorgproto)))
296 (synopsis "Color profile manager for the GNOME desktop")
297 (description "GNOME Color Manager is a session framework that makes
298 it easy to manage, install and generate color profiles
299 in the GNOME desktop.")
300 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
301 (license license:gpl2+)))
303 (define-public gnome-online-miners
305 (name "gnome-online-miners")
309 (uri (string-append "mirror://gnome/sources/" name "/"
310 (version-major+minor version) "/"
311 name "-" version ".tar.xz"))
314 "0pjamwwzn5wqgihyss357dyl2q70r0bngnqmwsqawchx5f9aja9c"))))
315 (build-system glib-or-gtk-build-system)
317 `(("gettext" ,gettext-minimal)
318 ("glib:bin" ,glib "bin")
319 ("gobject-introspection" ,gobject-introspection)
320 ("gtk+:bin" ,gtk+ "bin")
321 ("pkg-config" ,pkg-config)))
323 `(("gnome-online-accounts" ,gnome-online-accounts)
324 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
326 ("libgdata" ,libgdata)
327 ("libgfbgraph" ,gfbgraph)
328 ("libzapojit" ,libzapojit)
330 ("tracker" ,tracker)))
331 (synopsis "Web Crawlers for GNOME")
332 (description "GNOME Online Miners provides a set of crawlers that
333 go through your online content and index them locally in Tracker.
334 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
335 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
336 (license license:gpl2+)))
344 (uri (string-append "mirror://gnome/sources/" name "/"
345 (version-major+minor version) "/"
346 name "-" version ".tar.xz"))
349 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
350 (build-system meson-build-system)
352 `(("gettext" ,gettext-minimal)
353 ("glib:bin" ,glib "bin")
354 ("gobject-introspection" ,gobject-introspection)
356 ("pkg-config" ,pkg-config)
360 ("libsoup" ,libsoup)))
361 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
362 Protocol} for GNOME")
363 (description "This package provides a library to handle resource discovery
364 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
365 a debugging tool, @command{gssdp-device-sniffer}.")
366 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
367 (license license:lgpl2.0+)))
375 (uri (string-append "mirror://gnome/sources/" name "/"
376 (version-major+minor version) "/"
377 name "-" version ".tar.xz"))
380 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
381 (build-system meson-build-system)
383 `(("gettext" ,gettext-minimal)
384 ("glib:bin" ,glib "bin")
385 ("gobject-introspection" ,gobject-introspection)
387 ("pkg-config" ,pkg-config)
392 ("libsoup" ,libsoup)))
393 (synopsis "PnP API for GNOME")
394 (description "This package provides GUPnP, an object-oriented framework
395 for creating UPnP devices and control points, written in C using
396 @code{GObject} and @code{libsoup}.")
397 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
398 (license license:lgpl2.0+)))
400 (define-public gupnp-dlna
406 (uri (string-append "mirror://gnome/sources/" name "/"
407 (version-major+minor version) "/"
408 name "-" version ".tar.xz"))
411 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
412 (build-system gnu-build-system)
414 `(("gettext" ,gettext-minimal)
415 ("glib:bin" ,glib "bin")
416 ("gobject-introspection" ,gobject-introspection)
419 ("pkg-config" ,pkg-config)
422 `(("gstreamer" ,gstreamer)
425 `(("gst-plugins-base" ,gst-plugins-base)
426 ("gst-plugins-good" ,gst-plugins-good)))
427 (synopsis "GUPnP DLNA for GNOME")
428 (description "This package provides a small utility library to
429 support DLNA-related tasks such as media profile guessing, transcoding to a
430 given profile, etc. DLNA is a subset of UPnP A/V.")
431 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
432 (license license:lgpl2.0+)))
434 (define-public gupnp-av
440 (uri (string-append "mirror://gnome/sources/" name "/"
441 (version-major+minor version) "/"
442 name "-" version ".tar.xz"))
445 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
446 (build-system gnu-build-system)
448 `(("gettext" ,gettext-minimal)
449 ("glib:bin" ,glib "bin")
450 ("gobject-introspection" ,gobject-introspection)
453 ("pkg-config" ,pkg-config)))
457 (synopsis "GUPnP A/V for GNOME")
458 (description "This package provides a small library for handling
459 and implementation of UPnP A/V profiles.")
460 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
461 (license license:lgpl2.0+)))
463 (define-public libmediaart
469 (uri (string-append "mirror://gnome/sources/" name "/"
470 (version-major+minor version) "/"
471 name "-" version ".tar.xz"))
474 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
475 (build-system gnu-build-system)
477 `(("glib:bin" ,glib "bin")
478 ("pkg-config" ,pkg-config)))
480 `(("gdk-pixbuf" ,gdk-pixbuf)
481 ("gettext" ,gettext-minimal)
482 ("gobject-introspection" ,gobject-introspection)
483 ("gtk+:doc", gtk+ "doc")
485 (synopsis "Media art library for the GNOME desktop")
487 "The libmediaart library is the foundation for media art caching,
488 extraction, and lookup for applications on the desktop.")
489 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
490 (license license:lgpl2.1+)))
492 (define-public gnome-initial-setup
494 (name "gnome-initial-setup")
498 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
499 (version-major+minor version)
500 "/gnome-initial-setup-" version ".tar.xz"))
503 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
504 (build-system meson-build-system)
506 '(#:configure-flags '(;; Enable camera support for user selfie.
510 `(("gettext" ,gettext-minimal)
511 ("glib:bin" ,glib "bin")
512 ("gobject-introspection" ,gobject-introspection)
513 ("gtk+:bin" ,gtk+ "bin")
514 ("pkg-config" ,pkg-config)))
516 `(("accountsservice" ,accountsservice)
517 ;("adwaita-icon-theme" ,adwaita-icon-theme)
520 ("gnome-desktop" ,gnome-desktop)
521 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
522 ("gnome-online-accounts" ,gnome-online-accounts)
523 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
524 ("gstreamer" ,gstreamer)
526 ("json-glib" ,json-glib)
528 ("libgweather" ,libgweather)
529 ("libsecret" ,libsecret)
530 ("network-manager" ,network-manager)
531 ("network-manager-applet" ,network-manager-applet)
532 ("packagekit" ,packagekit)
534 ("pwquality" ,libpwquality)
537 ("webkitgtk" ,webkitgtk)))
538 (synopsis "Initial setup wizard for GNOME desktop")
539 (description "This package provides a set-up wizard when a
540 user logs into GNOME for the first time. It typically provides a
541 tour of all gnome components and allows the user to set them up.")
542 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
543 (license license:gpl2)))
545 (define-public gnome-user-share
547 (name "gnome-user-share")
551 (uri (string-append "mirror://gnome/sources/" name "/"
552 (version-major+minor version) "/"
553 name "-" version ".tar.xz"))
556 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
557 (build-system meson-build-system)
562 ;; Enable nautilus extension for file sharing.
563 "-Dnautilus_extension=true")))
565 `(("gettext" ,gettext-minimal)
566 ("glib:bin" ,glib "bin")
567 ("gobject-introspection" ,gobject-introspection)
568 ("gtk+:bin" ,gtk+ "bin")
569 ("pkg-config" ,pkg-config)
570 ("yelp-tools" ,yelp-tools)))
573 ("gnome-bluetooth" ,gnome-bluetooth)
575 ("libcanberra" ,libcanberra)
576 ("libnotify" ,libnotify)
577 ("nautilus" ,nautilus))) ; For nautilus extension.
578 (synopsis "File sharing for GNOME desktop")
579 (description "GNOME User Share is a small package that binds together
580 various free software projects to bring easy to use user-level file
581 sharing to the masses.")
582 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
583 (license license:gpl2+)))
585 (define-public gnome-menus
591 (uri (string-append "mirror://gnome/sources/gnome-menus/"
592 (version-major+minor version) "/"
593 name "-" version ".tar.xz"))
596 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
597 (build-system gnu-build-system)
599 `(("gettext" ,gettext-minimal)
601 ("pkg-config" ,pkg-config)))
602 (synopsis "Menu support for GNOME desktop")
603 (description "GNOME Menus contains the libgnome-menu library, the layout
604 configuration files for the GNOME menu, as well as a simple menu editor.")
605 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
606 (license license:lgpl2.0+)))
608 (define-public deja-dup
614 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
617 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
619 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
620 (build-system glib-or-gtk-build-system)
622 `(#:modules ((guix build gnu-build-system)
623 ((guix build cmake-build-system) #:prefix cmake:)
624 (guix build glib-or-gtk-build-system)
626 #:imported-modules (,@%glib-or-gtk-build-system-modules
627 (guix build cmake-build-system))
629 #:configure-flags (list (string-append
630 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
632 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
634 (modify-phases %standard-phases
635 (add-after 'unpack 'patch-lockfile-deletion
637 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
641 (assoc-ref cmake:%standard-phases 'configure))
642 (delete 'check) ;; Fails due to issues with DBus
643 (add-after 'install 'wrap-deja-dup
644 (lambda* (#:key inputs outputs #:allow-other-keys)
645 (let ((python (assoc-ref inputs "python"))
646 (python-path (getenv "PYTHONPATH"))
647 (duplicity (assoc-ref inputs "duplicity"))
648 (out (assoc-ref outputs "out")))
651 (wrap-program program
652 `("PATH" ":" prefix (,(string-append python "/bin")
653 ,(string-append duplicity "/bin"))))
654 (wrap-program program
655 `("PYTHONPATH" ":" prefix (,python-path))))
657 (find-files (string-append out "/bin")))
660 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
661 ("gobject-introspection" ,gobject-introspection)
662 ("duplicity" ,duplicity)
664 ("python-pygobject" ,python2-pygobject)
666 ("libnotify" ,libnotify)
668 ("libsecret" ,libsecret)
669 ("packagekit" ,packagekit)))
671 `(("pkg-config" ,pkg-config)
673 ("gettext" ,gettext-minimal)
675 ("intltool" ,intltool)
676 ("cmake" ,cmake-minimal)))
677 (home-page "https://launchpad.net/deja-dup")
678 (synopsis "Simple backup tool, for regular encrypted backups")
680 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
681 uses duplicity as the backend, which supports incremental backups and storage
682 either on a local, or remote machine via a number of methods.")
683 (license license:gpl3+)))
685 (define-public gnome-user-docs
687 (name "gnome-user-docs")
692 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
693 (version-major+minor version)
694 "/gnome-user-docs-" version ".tar.xz"))
696 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
697 (build-system gnu-build-system)
699 `(("gettext" ,gettext-minimal)
701 ("pkg-config" ,pkg-config)
702 ("xmllint" ,libxml2)))
703 (synopsis "User documentation for the GNOME desktop")
705 "The GNOME User Documentation explains how to use the GNOME desktop and its
706 components. It covers usage and setup of the core GNOME programs by end-users
707 and system administrators.")
708 (home-page "https://live.gnome.org/DocumentationProject")
709 (license license:cc-by3.0)))
711 (define-public gnome-getting-started-docs
713 (name "gnome-getting-started-docs")
718 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
719 (version-major+minor version)
720 "/gnome-getting-started-docs-" version ".tar.xz"))
722 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
723 (build-system gnu-build-system)
725 `(("gettext" ,gettext-minimal)
727 ("pkg-config" ,pkg-config)
728 ("xmllint" ,libxml2)))
729 (synopsis "Help to get new users started with the GNOME desktop")
731 "The GNOME Getting Started Documentation contains GNOME's intuitive
732 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
734 It is normally used together with @command{gnome-initial-setup}, but is also
735 useful as a tutorial and users' guide for new or less experienced users.")
736 (home-page "https://live.gnome.org/DocumentationProject")
737 (license license:cc-by-sa3.0)))
740 ;; This version from GNOME's repository includes fixes for compiling with
741 ;; recent versions of the build tools. The latest activity on the
742 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
744 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
747 (version (git-version "0.97.3" "1" commit))
751 (url "https://gitlab.gnome.org/GNOME/dia.git/")
753 (file-name (git-file-name name version))
756 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
757 (build-system gnu-build-system)
759 `(("freetype" ,freetype)
760 ("gdk-pixbuf" ,gdk-pixbuf)
762 ("libart-lgpl" ,libart-lgpl)
766 `(("autoconf" ,autoconf)
767 ("automake" ,automake)
768 ("intltool" ,intltool)
772 ("pkg-config" ,pkg-config)
773 ("python-wrapper" ,python-wrapper)))
776 (modify-phases %standard-phases
777 (add-before 'bootstrap 'dont-configure-during-bootstrap
779 (setenv "NOCONFIGURE" "true")
781 (home-page "https://wiki.gnome.org/Apps/Dia")
782 (synopsis "Diagram creation for GNOME")
783 (description "Dia can be used to draw different types of diagrams, and
784 includes support for UML static structure diagrams (class diagrams), entity
785 relationship modeling, and network diagrams. The program supports various file
786 formats like PNG, SVG, PDF and EPS.")
787 (license license:gpl2+))))
789 ;; This is the unstable release, but it is required for the current stable
790 ;; release of gvfs (1.38.1).
791 (define-public libgdata
797 (uri (string-append "mirror://gnome/sources/" name "/"
798 (version-major+minor version) "/"
799 name "-" version ".tar.xz"))
802 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
803 (build-system gnu-build-system)
806 (modify-phases %standard-phases
807 (add-before 'check 'disable-failing-tests
809 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
810 ;; They have been removed in libgdata 0.17.6, so just do the same.
811 (substitute* "gdata/tests/Makefile"
812 (("picasaweb\\$\\(EXEEXT\\) ") ""))
815 `(("glib:bin" ,glib "bin")
816 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
817 ("intltool" ,intltool)
818 ("pkg-config" ,pkg-config)
819 ("uhttpmock" ,uhttpmock)))
821 `(("cyrus-sasl" ,cyrus-sasl)
822 ("glib-networking" ,glib-networking)))
826 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
827 ("json-glib" ,json-glib)
828 ("liboauth" ,liboauth)
830 ("libxml2" ,libxml2)))
831 (home-page "https://wiki.gnome.org/Projects/libgdata")
832 (synopsis "Library for accessing online service APIs")
834 "libgdata is a GLib-based library for accessing online service APIs using
835 the GData protocol — most notably, Google's services. It provides APIs to
836 access the common Google services, and has full asynchronous support.")
837 (license license:lgpl2.1+)))
839 (define-public libgxps
845 (uri (string-append "mirror://gnome/sources/" name "/"
846 (version-major+minor version) "/"
847 name "-" version ".tar.xz"))
850 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
851 (build-system meson-build-system)
853 `(("gobject-introspection" ,gobject-introspection)
854 ("pkg-config" ,pkg-config)))
857 ("libjpeg" ,libjpeg-turbo)
859 ("libtiff" ,libtiff)))
861 ;; In Requires of libgxps.pc.
864 ("libarchive" ,libarchive)))
865 (home-page "https://wiki.gnome.org/Projects/libgxps")
866 (synopsis "GObject-based library for handling and rendering XPS documents")
868 "libgxps is a GObject-based library for handling and rendering XPS
869 documents. This package also contains binaries that can convert XPS documents
871 (license license:lgpl2.1+)))
873 (define-public gnome-characters
875 (name "gnome-characters")
880 (uri (string-append "mirror://gnome/sources/"
881 "gnome-characters/" (version-major+minor version)
882 "/gnome-characters-" version ".tar.xz"))
885 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
886 (build-system meson-build-system)
889 #:phases (modify-phases %standard-phases
890 (add-after 'install 'wrap
891 (lambda* (#:key outputs #:allow-other-keys)
892 ;; GNOME Characters needs Typelib files from GTK and
894 (wrap-program (string-append (assoc-ref outputs "out")
895 "/bin/gnome-characters")
896 `("GI_TYPELIB_PATH" ":" prefix
897 (,(getenv "GI_TYPELIB_PATH"))))
900 `(("gettext" ,gettext-minimal)
901 ("glib:bin" ,glib "bin")
902 ("gtk+:bin" ,gtk+ "bin")
903 ("pkg-config" ,pkg-config)
904 ("python" ,python-minimal)))
908 ("libunistring" ,libunistring)
909 ("gnome-desktop" ,gnome-desktop)))
910 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
911 (synopsis "Find and insert unusual characters")
912 (description "Characters is a simple utility application to find
913 and insert unusual characters. It allows you to quickly find the
914 character you are looking for by searching for keywords.")
915 (license license:bsd-3)))
917 (define-public gnome-common
919 (name "gnome-common")
924 (uri (string-append "mirror://gnome/sources/" name "/"
925 (version-major+minor version) "/"
926 name "-" version ".tar.xz"))
929 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
930 (build-system gnu-build-system)
931 (home-page "https://www.gnome.org/")
932 (synopsis "Bootstrap GNOME modules built from Git")
933 (description "gnome-common contains various files needed to bootstrap
934 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
935 can be used to configure a source directory checked out from Git and some
936 commonly used macros.")
937 (license license:gpl2+)))
939 (define-public gnome-contacts
941 (name "gnome-contacts")
945 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
946 (version-major+minor version) "/"
947 name "-" version ".tar.xz"))
950 "17g1gh8yj58cfpdx69h2szivlbjgvv982kmhnkkh0i5bwj0zs2yy"))))
951 (build-system meson-build-system)
954 (modify-phases %standard-phases
955 (add-after 'unpack 'generate-vapis
956 (lambda* (#:key inputs #:allow-other-keys)
957 ;; To generate goa's missing .vapi file
959 (assoc-ref inputs "gnome-online-accounts:lib"))
961 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
963 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
966 `(("glib:bin" ,glib "bin")
967 ("gtk+:bin" ,gtk+ "bin")
968 ("pkg-config" ,pkg-config)))
971 ("docbook-xml" ,docbook-xml)
972 ("dockbook-xsl" ,docbook-xsl)
973 ("evolution-data-server" ,evolution-data-server)
974 ("gettext" ,gettext-minimal)
975 ("gnome-desktop" ,gnome-desktop)
976 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
977 ("gobject-introspection" ,gobject-introspection)
978 ("gst-plugins-base" ,gst-plugins-base)
982 ("telepathy-glib" ,telepathy-glib)
986 ("telepathy-mission-control" ,telepathy-mission-control)))
987 (synopsis "GNOME's integrated address book")
989 "GNOME Contacts organizes your contact information from online and
990 offline sources, providing a centralized place for managing your contacts.")
991 (home-page "https://wiki.gnome.org/Apps/Contacts")
992 (license license:gpl2+)))
994 (define-public gnome-desktop
996 (name "gnome-desktop")
1001 (uri (string-append "mirror://gnome/sources/" name "/"
1002 (version-major+minor version) "/"
1003 name "-" version ".tar.xz"))
1006 "0bidx4626x7k2myv6f64qv4fzmxv8v475wibiz19kj8hjfr737q9"))))
1007 (build-system meson-build-system)
1010 (modify-phases %standard-phases
1011 (add-before 'configure 'patch-path
1012 (lambda* (#:key inputs #:allow-other-keys)
1013 (let ((libc (assoc-ref inputs "libc")))
1014 (substitute* "libgnome-desktop/gnome-languages.c"
1016 (string-append "\"" libc "/bin/locale\"")))
1018 (add-before 'check 'pre-check
1019 (lambda* (#:key inputs #:allow-other-keys)
1020 ;; Tests require a running X server and locales.
1021 (system "Xvfb :1 &")
1022 (setenv "DISPLAY" ":1")
1023 (setenv "GUIX_LOCPATH"
1024 (string-append (assoc-ref inputs "glibc-locales")
1028 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1029 ("glibc-locales" ,glibc-locales) ; for tests
1030 ("gobject-introspection" ,gobject-introspection)
1031 ("itstool" ,itstool)
1032 ("intltool" ,intltool)
1033 ("pkg-config" ,pkg-config)
1034 ("xmllint" ,libxml2)
1035 ("xorg-server" ,xorg-server-for-tests)))
1037 ;; Required by gnome-desktop-3.0.pc.
1038 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1040 ("iso-codes" ,iso-codes)
1041 ("libseccomp" ,libseccomp)
1043 ("xkeyboard-config" ,xkeyboard-config)))
1045 `(("gdk-pixbuf" ,gdk-pixbuf)
1047 ("libxext" ,libxext)
1048 ("libxkbfile" ,libxkbfile)
1049 ("libxrandr" ,libxrandr)))
1050 (home-page "https://www.gnome.org/")
1052 "Libgnome-desktop, gnome-about, and desktop-wide documents")
1054 "The libgnome-desktop library provides API shared by several applications
1055 on the desktop, but that cannot live in the platform for various reasons.
1056 There is no API or ABI guarantee, although we are doing our best to provide
1057 stability. Documentation for the API is available with gtk-doc.
1059 The gnome-about program helps find which version of GNOME is installed.")
1060 ; Some bits under the LGPL.
1061 (license license:gpl2+)))
1063 (define-public gnome-doc-utils
1065 (name "gnome-doc-utils")
1070 (uri (string-append "mirror://gnome/sources/" name "/"
1071 (version-major+minor version) "/"
1072 name "-" version ".tar.xz"))
1075 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1076 (build-system gnu-build-system)
1078 `(("intltool" ,intltool)
1079 ("docbook-xml" ,docbook-xml-4.4)
1080 ("python2-libxml2" ,python2-libxml2)
1081 ("libxml2" ,libxml2)
1082 ("libxslt" ,libxslt)
1083 ("pkg-config" ,pkg-config)
1084 ("python-2" ,python-2)))
1085 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1087 "Documentation utilities for the Gnome project")
1089 "Gnome-doc-utils is a collection of documentation utilities for the
1090 Gnome project. It includes xml2po tool which makes it easier to translate
1091 and keep up to date translations of documentation.")
1092 (license license:gpl2+))) ; xslt under lgpl
1094 (define-public gnome-disk-utility
1096 (name "gnome-disk-utility")
1100 (uri (string-append "mirror://gnome/sources/" name "/"
1101 (version-major+minor version) "/"
1102 name "-" version ".tar.xz"))
1105 "08vwbji9m1nhjjdiyhhaqi8cncys7i89b4bpy095f8475v8y05bg"))))
1106 (build-system meson-build-system)
1109 (modify-phases %standard-phases
1110 (add-after 'unpack 'skip-gtk-update-icon-cache
1111 ;; Don't create 'icon-theme.cache'.
1113 (substitute* "meson_post_install.py"
1114 (("gtk-update-icon-cache") "true"))
1117 `(("glib:bin" ,glib "bin")
1118 ("intltool" ,intltool)
1119 ("pkg-config" ,pkg-config)
1120 ("docbook-xml" ,docbook-xml)
1121 ("docbook-xsl" ,docbook-xsl)
1122 ("libxml2" ,libxml2)
1123 ("libxslt" ,libxslt)))
1126 ("appstream-glib" ,appstream-glib)
1127 ("gnome-settings-daemon" ,gnome-settings-daemon)
1129 ("libcanberra" ,libcanberra)
1130 ("libdvdread" ,libdvdread)
1131 ("libnotify" ,libnotify)
1132 ("libpwquality" ,libpwquality)
1133 ("libsecret" ,libsecret)
1134 ("udisks" ,udisks)))
1135 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1136 (synopsis "Disk management utility for GNOME")
1137 (description "Disk management utility for GNOME.")
1138 (license license:gpl2+)))
1140 (define-public gnome-font-viewer
1142 (name "gnome-font-viewer")
1146 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1147 (version-major+minor version)
1148 "/gnome-font-viewer-" version ".tar.xz"))
1151 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1152 (build-system meson-build-system)
1155 (modify-phases %standard-phases
1156 (add-after 'unpack 'patch-post-install-script
1158 (substitute* "meson-postinstall.sh"
1159 (("update-desktop-database") (which "true")))
1162 `(("gettext" ,gettext-minimal)
1163 ("glib:bin" ,glib "bin")
1164 ("pkg-config" ,pkg-config)))
1167 ("gnome-desktop" ,gnome-desktop)
1169 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1170 (synopsis "GNOME Fonts")
1171 (description "Application to show you the fonts installed on your computer
1172 for your use as thumbnails. Selecting any thumbnails shows the full view of how
1173 the font would look under various sizes.")
1174 (license license:gpl2+)))
1182 (uri (string-append "mirror://gnome/sources/" name "/"
1183 (version-major+minor version) "/"
1184 name "-" version ".tar.xz"))
1187 "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m"))
1190 ;; This patch solves an ordering issue that showed up when
1191 ;; running the test suite against newer Glib 2.60. See
1192 ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
1195 (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
1196 "45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
1197 (file-name "gcr-hashtable-ordering.patch")
1200 "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
1201 (build-system gnu-build-system)
1204 (modify-phases %standard-phases
1205 ;; These fail because /var/lib/dbus/machine-id is not present in the
1206 ;; build environment.
1207 (add-after 'unpack 'disable-failing-tests
1209 (substitute* "gcr/test-system-prompt.c"
1210 (("g_test_add") "//")
1211 (("return.*") "return 0;"))
1213 (add-before 'check 'pre-check
1215 ;; Some tests expect to write to $HOME.
1216 (setenv "HOME" "/tmp")
1220 ("gnupg" ,gnupg) ;called as a child process during tests
1221 ("libgcrypt" ,libgcrypt)))
1223 `(("python" ,python-2) ;for tests
1224 ("pkg-config" ,pkg-config)
1225 ("glib" ,glib "bin")
1226 ("gobject-introspection" ,gobject-introspection)
1227 ("intltool" ,intltool)
1228 ("libxml2" ,libxml2)
1230 ("xsltproc" ,libxslt)))
1231 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1233 `(("p11-kit" ,p11-kit)
1236 (home-page "https://www.gnome.org")
1237 (synopsis "Libraries for displaying certificates and accessing key stores")
1239 "The GCR package contains libraries used for displaying certificates and
1240 accessing key stores. It also provides the viewer for crypto files on the
1242 (license license:lgpl2.1+)))
1244 (define-public libgnome-keyring
1246 (name "libgnome-keyring")
1250 (uri (string-append "mirror://gnome/sources/" name "/"
1251 (version-major+minor version) "/"
1252 name "-" version ".tar.xz"))
1255 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
1256 (build-system gnu-build-system)
1258 `(("libgcrypt" ,libgcrypt)
1261 `(("pkg-config" ,pkg-config)
1262 ("glib" ,glib "bin")
1263 ("intltool" ,intltool)))
1265 ;; Referred to in .h files and .pc.
1267 (home-page "https://www.gnome.org")
1268 (synopsis "Accessing passwords from the GNOME keyring")
1270 "Client library to access passwords from the GNOME keyring.")
1272 ;; Though a couple of files are LGPLv2.1+.
1273 (license license:lgpl2.0+)))
1275 (define-public gnome-keyring
1277 (name "gnome-keyring")
1281 (uri (string-append "mirror://gnome/sources/" name "/"
1282 (version-major+minor version) "/"
1283 name "-" version ".tar.xz"))
1286 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
1287 (build-system gnu-build-system)
1289 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1293 (string-append "--with-pkcs11-config="
1294 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1295 (string-append "--with-pkcs11-modules="
1296 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1298 (modify-phases %standard-phases
1299 (add-after 'unpack 'fix-/bin/sh-reference
1301 (substitute* "po/Makefile.in.in"
1302 (("/bin/sh") (which "sh")))
1304 (add-after 'unpack 'fix-docbook
1305 (lambda* (#:key inputs #:allow-other-keys)
1306 (substitute* "docs/Makefile.am"
1307 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1308 (string-append (assoc-ref inputs "docbook-xsl")
1309 "/xml/xsl/docbook-xsl-"
1310 ,(package-version docbook-xsl)
1311 "/manpages/docbook.xsl")))
1312 (setenv "XML_CATALOG_FILES"
1313 (string-append (assoc-ref inputs "docbook-xml")
1314 "/xml/dtd/docbook/catalog.xml"))
1315 ;; Rerun the whole thing to avoid version mismatch ("This is
1316 ;; Automake 1.15.1, but the definition used by this
1317 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1318 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1321 (invoke "automake" "-ac"))))))
1323 `(("libgcrypt" ,libgcrypt)
1324 ("linux-pam" ,linux-pam)
1325 ("openssh" ,openssh)
1329 `(("pkg-config" ,pkg-config)
1330 ("glib" ,glib "bin")
1331 ("glib" ,glib) ; for m4 macros
1332 ("python" ,python-2) ;for tests
1333 ("intltool" ,intltool)
1334 ("autoconf" ,autoconf)
1335 ("automake" ,automake)
1336 ("libxslt" ,libxslt) ;for documentation
1337 ("docbook-xml" ,docbook-xml-4.2)
1338 ("docbook-xsl" ,docbook-xsl)))
1339 (home-page "https://www.gnome.org")
1340 (synopsis "Daemon to store passwords and encryption keys")
1342 "gnome-keyring is a program that keeps passwords and other secrets for
1343 users. It is run as a daemon in the session, similar to ssh-agent, and other
1344 applications locate it via an environment variable or D-Bus.
1346 The program can manage several keyrings, each with its own master password,
1347 and there is also a session keyring which is never stored to disk, but
1348 forgotten when the session ends.")
1349 (license license:lgpl2.1+)))
1351 (define-public evince
1357 (uri (string-append "mirror://gnome/sources/evince/"
1358 (version-major+minor version) "/"
1359 "evince-" version ".tar.xz"))
1362 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
1363 (build-system glib-or-gtk-build-system)
1365 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
1367 (modify-phases %standard-phases
1368 (add-before 'install 'skip-gtk-update-icon-cache
1369 ;; Don't create 'icon-theme.cache'.
1371 (substitute* "data/Makefile"
1372 (("gtk-update-icon-cache") "true"))
1375 `(("libarchive" ,libarchive)
1376 ("libgxps" ,libgxps)
1377 ("libspectre" ,libspectre)
1378 ("djvulibre" ,djvulibre)
1379 ("ghostscript" ,ghostscript)
1380 ("poppler" ,poppler)
1381 ("libtiff" ,libtiff)
1383 ;; Build libkpathsea as a shared library for DVI support.
1384 ;; ("libkpathsea" ,texlive-bin)
1385 ("gnome-desktop" ,gnome-desktop)
1386 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1388 ("libgnome-keyring" ,libgnome-keyring)
1389 ("adwaita-icon-theme" ,adwaita-icon-theme)
1390 ("gdk-pixbuf" ,gdk-pixbuf)
1395 ("libxml2" ,libxml2)
1398 ("shared-mime-info" ,shared-mime-info)
1400 ("libcanberra" ,libcanberra)
1401 ("libsecret" ,libsecret)
1404 ("dogtail" ,python2-dogtail)))
1406 `(("itstool" ,itstool)
1407 ("intltool" ,intltool)
1408 ("glib" ,glib "bin")
1409 ("gobject-introspection" ,gobject-introspection)
1410 ("pkg-config" ,pkg-config)
1411 ("xmllint" ,libxml2)))
1413 "https://www.gnome.org/projects/evince/")
1414 (synopsis "GNOME's document viewer")
1416 "Evince is a document viewer for multiple document formats. It
1417 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1418 of Evince is to replace the multiple document viewers that exist
1419 on the GNOME Desktop with a single simple application.")
1420 (license license:gpl2+)))
1422 (define-public gsettings-desktop-schemas
1424 (name "gsettings-desktop-schemas")
1429 (uri (string-append "mirror://gnome/sources/" name "/"
1430 (version-major+minor version) "/"
1431 name "-" version ".tar.xz"))
1434 "0d8a6479vappgplq5crdr3ah0ykqcr3fw533wkx9v1a8lnrv8n9d"))))
1435 (build-system meson-build-system)
1437 '(#:phases (modify-phases %standard-phases
1438 (add-after 'unpack 'set-adwaita-theme-file-name
1439 (lambda* (#:key inputs #:allow-other-keys)
1440 ;; Provide the correct file name of the default GNOME
1441 ;; background, 'adwaita-timed.xml'.
1442 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1443 (substitute* (find-files "schemas"
1444 "\\.gschema\\.xml\\.in$")
1445 (("@datadir@/backgrounds/gnome")
1446 (string-append theme "/share/backgrounds/gnome")))
1450 ("gnome-backgrounds" ,gnome-backgrounds)))
1452 `(("intltool" ,intltool)
1453 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
1454 ("gobject-introspection" ,gobject-introspection)
1455 ("pkg-config" ,pkg-config)))
1456 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1458 "GNOME settings for various desktop components")
1460 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1461 for settings shared by various components of the GNOME desktop.")
1462 (license license:lgpl2.1+)))
1464 (define-public icon-naming-utils
1466 (name "icon-naming-utils")
1471 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
1472 version ".tar.bz2"))
1475 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1476 (build-system gnu-build-system)
1479 ("perl-xml-simple" ,perl-xml-simple)))
1482 (modify-phases %standard-phases
1483 (add-after 'install 'set-load-paths
1484 ;; Tell 'icon-name-mapping' where XML::Simple is.
1485 (lambda* (#:key outputs #:allow-other-keys)
1486 (let* ((out (assoc-ref outputs "out"))
1487 (prog (string-append out "/libexec/icon-name-mapping")))
1490 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1492 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1494 "Utility to implement the Freedesktop Icon Naming Specification")
1496 "To help with the transition to the Freedesktop Icon Naming
1497 Specification, the icon naming utility maps the icon names used by the
1498 GNOME and KDE desktops to the icon names proposed in the specification.")
1499 (license license:lgpl2.1+)))
1501 (define-public gnome-icon-theme
1503 (name "gnome-icon-theme")
1508 (uri (string-append "mirror://gnome/sources/" name "/"
1509 (version-major+minor version) "/"
1510 name "-" version ".tar.xz"))
1513 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
1514 (build-system gnu-build-system)
1517 ;; Don't create 'icon-theme.cache'.
1518 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1519 (true (string-append coreutils "/bin/true")))
1520 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
1522 `(("icon-naming-utils" ,icon-naming-utils)
1523 ("intltool" ,intltool)
1524 ("pkg-config" ,pkg-config)))
1525 (home-page "https://wiki.gnome.org/Personalization")
1526 (synopsis "GNOME icon theme")
1527 (description "Icons for the GNOME desktop.")
1528 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
1530 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1531 (define-public adwaita-icon-theme
1532 (package (inherit gnome-icon-theme)
1533 (name "adwaita-icon-theme")
1537 (uri (string-append "mirror://gnome/sources/" name "/"
1538 (version-major+minor version) "/"
1539 name "-" version ".tar.xz"))
1542 "11ij35na8nisvxx3qh527iz33h6z2q1a7iinqyp7p65v0zjbd3b9"))))
1544 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
1546 (define-public tango-icon-theme
1548 (name "tango-icon-theme")
1552 (uri (string-append "http://tango.freedesktop.org/releases/"
1553 "tango-icon-theme-" version ".tar.bz2"))
1556 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1557 (build-system gnu-build-system)
1559 `(("icon-naming-utils" ,icon-naming-utils)
1560 ("intltool" ,intltool)
1561 ("imagemagick" ,imagemagick)
1562 ("pkg-config" ,pkg-config)))
1563 (home-page "http://tango-project.org/")
1564 (synopsis "Tango icon theme")
1565 (description "This is an icon theme that follows the Tango visual
1567 (license license:public-domain)))
1569 (define-public shared-mime-info
1571 (name "shared-mime-info")
1575 (uri (string-append "https://freedesktop.org/~hadess/"
1576 "shared-mime-info-" version ".tar.xz"))
1579 "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"))))
1580 (build-system gnu-build-system)
1582 ;; The build system appears not to be parallel-safe.
1583 '(#:parallel-build? #f))
1586 ("libxml2" ,libxml2)))
1588 `(("intltool" ,intltool)
1589 ("pkg-config" ,pkg-config)))
1590 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
1591 (synopsis "Database of common MIME types")
1593 "The shared-mime-info package contains the core database of common types
1594 and the update-mime-database command used to extend it. It requires glib2 to
1595 be installed for building the update command. Additionally, it uses intltool
1596 for translations, though this is only a dependency for the maintainers. This
1597 database is translated at Transifex.")
1598 (license license:gpl2+)))
1600 (define-public system-config-printer
1602 (name "system-config-printer")
1608 "https://github.com/OpenPrinting/system-config-printer/releases/"
1610 "/system-config-printer-" version ".tar.xz"))
1612 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
1613 (build-system glib-or-gtk-build-system)
1615 `(#:imported-modules ((guix build python-build-system)
1616 ,@%glib-or-gtk-build-system-modules)
1618 (modify-phases %standard-phases
1619 (add-after 'unpack 'patch-Makefile.am
1621 ;; The Makefile generates some scripts, so set a valid shebang
1622 (substitute* "Makefile.am"
1623 (("/bin/bash") (which "bash")))
1624 (delete-file "configure")
1626 (add-after 'unpack 'patch-docbook-xml
1627 (lambda* (#:key inputs #:allow-other-keys)
1628 ;; Modify the man XML otherwise xmlto tries to access the network
1629 (substitute* "man/system-config-printer.xml"
1630 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1631 (string-append (assoc-ref inputs "docbook-xml")
1632 "/xml/dtd/docbook/")))
1634 (add-after 'install 'wrap-for-python
1635 (@@ (guix build python-build-system) wrap))
1636 (add-after 'install 'wrap
1637 (lambda* (#:key outputs #:allow-other-keys)
1638 (let ((out (assoc-ref outputs "out"))
1639 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1642 (wrap-program program
1643 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1645 (string-append out "/bin/" name))
1646 '("system-config-printer"
1647 "system-config-printer-applet"
1648 "install-printerdriver"
1649 "scp-dbus-service"))))
1652 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1653 ("gobject-introspection" ,gobject-introspection)
1656 ("python-dbus" ,python-dbus)
1657 ("python-pygobject" ,python-pygobject)
1658 ("python-pycups" ,python-pycups)
1659 ("python-requests" ,python-requests)
1660 ("python-pycairo" ,python-pycairo)
1661 ("libnotify" ,libnotify)
1662 ("packagekit" ,packagekit)))
1664 `(("pkg-config" ,pkg-config)
1665 ("desktop-file-utils" ,desktop-file-utils)
1667 ("autoconf" ,autoconf)
1668 ("automake" ,automake)
1669 ("intltool" ,intltool)
1671 ("docbook-xml" ,docbook-xml-4.1.2)
1672 ("docbook-xsl" ,docbook-xsl)
1673 ("libxml2" ,libxml2)))
1674 (home-page "https://github.com/zdohnal/system-config-printer")
1675 (synopsis "CUPS administration tool")
1677 "system-config-printer is a CUPS administration tool. It's written in
1678 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1680 (license license:gpl2+)))
1682 (define-public hicolor-icon-theme
1684 (name "hicolor-icon-theme")
1689 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
1690 "hicolor-icon-theme-" version ".tar.xz"))
1693 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
1694 (build-system gnu-build-system)
1696 `(#:tests? #f)) ; no check target
1697 (home-page "https://icon-theme.freedesktop.org/releases/")
1699 "Freedesktop icon theme")
1701 "Freedesktop icon theme.")
1702 (license license:gpl2)))
1704 (define-public libnotify
1711 (uri (string-append "mirror://gnome/sources/" name "/"
1712 (version-major+minor version) "/"
1713 name "-" version ".tar.xz"))
1716 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
1717 (build-system gnu-build-system)
1719 `(#:configure-flags '("--disable-static")))
1721 `(;; In Requires of libnotify.pc.
1722 ("gdk-pixbuf" ,gdk-pixbuf)
1726 ("libpng" ,libpng)))
1728 `(("pkg-config" ,pkg-config)
1729 ("glib" ,glib "bin")
1730 ("gobject-introspection" ,gobject-introspection)))
1731 (home-page "https://developer-next.gnome.org/libnotify/")
1733 "GNOME desktop notification library")
1735 "Libnotify is a library that sends desktop notifications to a
1736 notification daemon, as defined in the Desktop Notifications spec. These
1737 notifications can be used to inform the user about an event or display
1738 some form of information without getting in the user's way.")
1739 (license license:lgpl2.1+)))
1741 (define-public libpeas
1748 (uri (string-append "mirror://gnome/sources/" name "/"
1749 (version-major+minor version) "/"
1750 name "-" version ".tar.xz"))
1753 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
1754 (build-system gnu-build-system)
1759 ("python-pygobject" ,python-pygobject)))
1761 `(("pkg-config" ,pkg-config)
1762 ("glib:bin" ,glib "bin")
1763 ("gobject-introspection" ,gobject-introspection)
1764 ("intltool" ,intltool)))
1766 ;; The .pc file "Requires" gobject-introspection.
1767 `(("gobject-introspection" ,gobject-introspection)))
1768 (home-page "https://wiki.gnome.org/Libpeas")
1769 (synopsis "GObject plugin system")
1771 "Libpeas is a gobject-based plugin engine, targeted at giving every
1772 application the chance to assume its own extensibility. It also has a set of
1773 features including, but not limited to: multiple extension points; on-demand
1774 (lazy) programming language support for C, Python and JS; simplicity of the
1776 (license license:lgpl2.0+)))
1778 (define-public gtkglext
1784 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
1785 version "/gtkglext-" version ".tar.gz"))
1787 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
1788 (patches (search-patches
1789 "gtkglext-disable-disable-deprecated.patch"))))
1790 (build-system gnu-build-system)
1793 (modify-phases %standard-phases
1794 ;; Fix a collision between a local variable and a definition from
1795 ;; glibc's string.h.
1796 (add-after 'unpack 'fix-collision
1798 (substitute* "gdk/gdkglshapes.c"
1799 ((" index") " triangle_index"))
1801 (inputs `(("gtk+" ,gtk+-2)
1806 (native-inputs `(("pkg-config" ,pkg-config)
1807 ("glib" ,glib "bin")))
1808 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
1809 (home-page "https://projects.gnome.org/gtkglext")
1810 (synopsis "OpenGL extension to GTK+")
1811 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
1812 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1813 API add-ons to make GTK+ widgets OpenGL-capable.")
1814 (license license:lgpl2.1+)))
1816 (define-public glade3
1822 (uri (string-append "mirror://gnome/sources/" name "/"
1823 (version-major+minor version) "/"
1824 name "-" version ".tar.xz"))
1827 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
1828 (build-system glib-or-gtk-build-system)
1830 `(#:tests? #f ; needs X, GL, and software rendering
1832 (modify-phases %standard-phases
1833 (add-before 'configure 'fix-docbook
1834 (lambda* (#:key inputs #:allow-other-keys)
1835 (substitute* "man/Makefile.in"
1836 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1837 (string-append (assoc-ref inputs "docbook-xsl")
1838 "/xml/xsl/docbook-xsl-"
1839 ,(package-version docbook-xsl)
1840 "/manpages/docbook.xsl")))
1844 ("libxml2" ,libxml2)))
1846 `(("intltool" ,intltool)
1847 ("itstool" ,itstool)
1848 ("libxslt" ,libxslt) ;for xsltproc
1849 ("docbook-xml" ,docbook-xml-4.2)
1850 ("docbook-xsl" ,docbook-xsl)
1851 ("python" ,python-2)
1852 ("pkg-config" ,pkg-config)))
1853 (home-page "https://glade.gnome.org")
1854 (synopsis "GTK+ rapid application development tool")
1855 (description "Glade is a rapid application development (RAD) tool to
1856 enable quick & easy development of user interfaces for the GTK+ toolkit and
1857 the GNOME desktop environment.")
1858 (license license:lgpl2.0+)))
1860 (define-public libcroco
1866 (uri (string-append "mirror://gnome/sources/" name "/"
1867 (version-major+minor version) "/"
1868 name "-" version ".tar.xz"))
1871 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
1872 (build-system gnu-build-system)
1874 `(("pkg-config" ,pkg-config)))
1877 ("libxml2" ,libxml2)
1879 (home-page "https://github.com/GNOME/libcroco")
1880 (synopsis "CSS2 parsing and manipulation library")
1882 "Libcroco is a standalone CSS2 parsing and manipulation library.
1883 The parser provides a low level event driven SAC-like API and a CSS object
1884 model like API. Libcroco provides a CSS2 selection engine and an experimental
1885 XML/CSS rendering engine.")
1888 (license license:lgpl2.1)))
1890 (define-public libgsf
1896 (uri (string-append "mirror://gnome/sources/" name "/"
1897 (version-major+minor version) "/"
1898 name "-" version ".tar.xz"))
1901 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
1902 (build-system gnu-build-system)
1904 `(("intltool" ,intltool)
1905 ("pkg-config" ,pkg-config)))
1907 `(("python" ,python)
1911 `(("gdk-pixbuf" ,gdk-pixbuf)
1913 ("libxml2" ,libxml2)))
1914 (home-page "https://www.gnome.org/projects/libgsf")
1915 (synopsis "GNOME's Structured File Library")
1917 "Libgsf aims to provide an efficient extensible I/O abstraction for
1918 dealing with different structured file formats.")
1921 (license license:lgpl2.1)))
1923 (define-public librsvg
1929 (uri (string-append "mirror://gnome/sources/" name "/"
1930 (version-major+minor version) "/"
1931 name "-" version ".tar.xz"))
1934 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1935 (build-system gnu-build-system)
1938 (list "--disable-static"
1939 "--enable-vala") ; needed for e.g. gnome-mines
1941 (modify-phases %standard-phases
1942 (add-before 'configure 'pre-configure
1943 (lambda* (#:key inputs #:allow-other-keys)
1944 (substitute* "gdk-pixbuf-loader/Makefile.in"
1945 ;; By default the gdk-pixbuf loader is installed under
1946 ;; gdk-pixbuf's prefix. Work around that.
1947 (("gdk_pixbuf_moduledir = .*$")
1948 (string-append "gdk_pixbuf_moduledir = "
1949 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1951 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1952 (("gdk_pixbuf_cache_file = .*$")
1953 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1955 (add-before 'check 'remove-failing-tests
1957 (with-directory-excursion "tests/fixtures/reftests"
1958 (for-each delete-file
1959 '(;; This test fails on i686:
1960 "svg1.1/masking-path-04-b.svg"
1961 ;; This test fails on armhf:
1962 "svg1.1/masking-mask-01-b.svg"
1963 ;; This test fails on aarch64:
1964 "bugs/777834-empty-text-children.svg")))
1967 `(("pkg-config" ,pkg-config)
1969 ("glib" ,glib "bin") ; glib-mkenums, etc.
1970 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1972 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
1973 ;; this ancient version of librsvg.
1974 ("pango" ,pango-1.42)
1975 ("libcroco" ,libcroco)
1978 ("libxml2" ,libxml2)))
1980 ;; librsvg-2.0.pc refers to all of that.
1982 ("gdk-pixbuf" ,gdk-pixbuf)
1984 (home-page "https://wiki.gnome.org/LibRsvg")
1985 (synopsis "Render SVG files using Cairo")
1987 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1989 (license license:lgpl2.0+)))
1991 (define* (computed-origin-method gexp-promise hash-algo hash
1992 #:optional (name "source")
1993 #:key (system (%current-system))
1994 (guile (default-guile)))
1995 "Return a derivation that executes the G-expression that results
1996 from forcing GEXP-PROMISE."
1997 (mlet %store-monad ((guile (package->derivation guile system)))
1998 (gexp->derivation (or name "computed-origin")
1999 (force gexp-promise)
2000 #:graft? #f ;nothing to graft
2002 #:guile-for-build guile)))
2004 (define librsvg-next-source
2005 (let* ((version "2.46.3")
2006 (upstream-source (origin
2008 (uri (string-append "mirror://gnome/sources/librsvg/"
2009 (version-major+minor version) "/"
2010 "librsvg-" version ".tar.xz"))
2013 "1s3a96i7f4pynjwxxvhysp4b6r7kyi8nasdxfyi62hc7gm34d3kn")))))
2015 (method computed-origin-method)
2016 (file-name (string-append "librsvg-" version ".tar.xz"))
2020 (with-imported-modules '((guix build utils))
2022 (use-modules (guix build utils))
2023 (set-path-environment-variable
2026 #+(canonical-package xz)
2027 #+(canonical-package gzip)
2028 #+(canonical-package tar)))
2029 (invoke "tar" "xvf" #+upstream-source)
2030 (with-directory-excursion (string-append "librsvg-" #$version)
2033 (delete-file-recursively (string-append "vendor/" (car crate)))
2034 (invoke "tar" "xvf" (cdr crate) "-C" "vendor"))
2035 '(;("aho-corasick" . #+(package-source rust-aho-corasick-0.7))
2037 ("approx" . #+(package-source rust-approx-0.3))
2038 ("arrayvec" . #+(package-source rust-arrayvec-0.4))
2039 ("atty" . #+(package-source rust-atty-0.2))
2040 ("autocfg" . #+(package-source rust-autocfg-0.1))
2041 ("bitflags" . #+(package-source rust-bitflags-1))
2043 ("bstr" . #+(package-source rust-bstr-0.2))
2044 ("byteorder" . #+(package-source rust-byteorder-1.3))
2047 ("cast" . #+(package-source rust-cast-0.2))
2048 ("cfg-if" . #+(package-source rust-cfg-if-0.1))
2049 ("clap" . #+(package-source rust-clap-2))
2050 ("cloudabi" . #+(package-source rust-cloudabi-0.0))
2051 ("criterion" . #+(package-source rust-criterion-0.2))
2052 ("criterion-plot" . #+(package-source rust-criterion-plot-0.3))
2053 ("crossbeam-deque" . #+(package-source rust-crossbeam-deque-0.7))
2054 ;("crossbeam-epoch" . #+(package-source rust-crossbeam-epoch-0.7))
2055 ("crossbeam-queue" . #+(package-source rust-crossbeam-queue-0.1))
2056 ("crossbeam-utils" . #+(package-source rust-crossbeam-utils-0.6))
2058 ;; cssparser-macros 0.3
2059 ("csv" . #+(package-source rust-csv-1.1))
2060 ("csv-core" . #+(package-source rust-csv-core-0.1))
2063 ("dtoa" . #+(package-source rust-dtoa-0.4))
2065 ("either" . #+(package-source rust-either-1.5))
2066 ("encoding" . #+(package-source rust-encoding-0.2))
2067 ("encoding-index-japanese" . #+(package-source rust-encoding-index-japanese-1.20141219))
2068 ("encoding-index-korean" . #+(package-source rust-encoding-index-korean-1.20141219))
2069 ("encoding-index-simpchinese" . #+(package-source rust-encoding-index-simpchinese-1.20141219))
2070 ("encoding-index-singlebyte" . #+(package-source rust-encoding-index-singlebyte-1.20141219))
2071 ("encoding-index-tradchinese" . #+(package-source rust-encoding-index-tradchinese-1.20141219))
2072 ("encoding_index_tests" . #+(package-source rust-encoding-index-tests-0.1))
2075 ("fuchsia-cprng" . #+(package-source rust-fuchsia-cprng-0.1))
2076 ("futf" . #+(package-source rust-futf-0.1))
2078 ;; gdk-pixbuf-sys 0.9
2079 ("generic-array" . #+(package-source rust-generic-array-0.12))
2086 ("itertools" . #+(package-source rust-itertools-0.8))
2087 ("itoa" . #+(package-source rust-itoa-0.4))
2088 ("language-tags" . #+(package-source rust-language-tags-0.2))
2089 ("lazy_static" . #+(package-source rust-lazy-static-1.3))
2090 ("libc" . #+(package-source rust-libc-0.2))
2092 ;; locale_config 0.3
2093 ("log" . #+(package-source rust-log-0.4))
2094 ("mac" . #+(package-source rust-mac-0.1))
2097 ("matches" . #+(package-source rust-matches-0.1))
2098 ;; matrixmultiply 0.2
2099 ;("memchr" . #+(package-source rust-memchr-2.2))
2102 ("new_debug_unreachable" . #+(package-source rust-new-debug-unreachable-1.0))
2103 ("nodrop" . #+(package-source rust-nodrop-0.1))
2104 ("num-complex" . #+(package-source rust-num-complex-0.2))
2105 ("num-integer" . #+(package-source rust-num-integer-0.1))
2107 ("num-traits" . #+(package-source rust-num-traits-0.2))
2108 ("num_cpus" . #+(package-source rust-num-cpus-1.10))
2110 ;; objc-foundation 0.1
2115 ;; pangocairo-sys 0.10
2116 ("percent-encoding" . #+(package-source rust-percent-encoding-2.1))
2117 ("phf" . #+(package-source rust-phf-0.7))
2118 ("phf_codegen" . #+(package-source rust-phf-codegen-0.7))
2119 ("phf_generator" . #+(package-source rust-phf-generator-0.7))
2120 ("phf_shared" . #+(package-source rust-phf-shared-0.7))
2121 ("pkg-config" . #+(package-source rust-pkg-config-0.3))
2122 ("precomputed-hash" . #+(package-source rust-precomputed-hash-0.1))
2123 ("proc-macro2" . #+(package-source rust-proc-macro2-1.0))
2124 ;; procedural-masquerade 0.1
2125 ("quote" . #+(package-source rust-quote-1.0))
2126 ("rand" . #+(package-source rust-rand-0.6))
2127 ("rand_chacha" . #+(package-source rust-rand-chacha-0.1))
2128 ("rand_core-0.3.1" . #+(package-source rust-rand-core-0.3))
2129 ("rand_core" . #+(package-source rust-rand-core-0.4))
2130 ("rand_hc" . #+(package-source rust-rand-hc-0.1))
2131 ("rand_isaac" . #+(package-source rust-rand-isaac-0.1))
2132 ("rand_jitter" . #+(package-source rust-rand-jitter-0.1))
2133 ("rand_os" . #+(package-source rust-rand-os-0.1))
2134 ("rand_pcg" . #+(package-source rust-rand-pcg-0.1))
2135 ("rand_xorshift" . #+(package-source rust-rand-xorshift-0.1))
2141 ("rdrand" . #+(package-source rust-rdrand-0.4))
2143 ("regex-automata" . #+(package-source rust-regex-automata-0.1))
2144 ;("regex-syntax" . #+(package-source rust-regex-syntax-0.6))
2145 ("rustc_version" . #+(package-source rust-rustc-version-0.2))
2146 ("ryu" . #+(package-source rust-ryu-1.0))
2147 ("same-file" . #+(package-source rust-same-file-1.0))
2148 ("scopeguard" . #+(package-source rust-scopeguard-1.0))
2149 ("semver" . #+(package-source rust-semver-0.9))
2150 ("semver-parser" . #+(package-source rust-semver-parser-0.7))
2151 ("serde" . #+(package-source rust-serde-1.0))
2152 ("serde_derive" . #+(package-source rust-serde-derive-1.0))
2153 ("serde_json" . #+(package-source rust-serde-json-1.0))
2154 ("siphasher" . #+(package-source rust-siphasher-0.2))
2155 ("smallvec" . #+(package-source rust-smallvec-0.6))
2156 ("string_cache" . #+(package-source rust-string-cache-0.7))
2157 ;("string_cache_codegen" . #+(package-source rust-string-cache-codegen-0.4))
2158 ("string_cache_shared" . #+(package-source rust-string-cache-shared-0.3))
2159 ("syn" . #+(package-source rust-syn-1.0))
2160 ("tendril" . #+(package-source rust-tendril-0.4))
2161 ("textwrap" . #+(package-source rust-textwrap-0.11))
2162 ("thread_local" . #+(package-source rust-thread-local-0.3))
2163 ("tinytemplate" . #+(package-source rust-tinytemplate-1.0))
2164 ("typenum" . #+(package-source rust-typenum-1.10))
2165 ("unicode-bidi" . #+(package-source rust-unicode-bidi-0.3))
2166 ("unicode-normalization" . #+(package-source rust-unicode-normalization-0.1))
2167 ("unicode-width" . #+(package-source rust-unicode-width-0.1))
2168 ("unicode-xid" . #+(package-source rust-unicode-xid-0.2))
2170 ("utf-8" . #+(package-source rust-utf-8-0.7))
2171 ("walkdir" . #+(package-source rust-walkdir-2.2))
2172 ("winapi" . #+(package-source rust-winapi-0.3))
2173 ("winapi-i686-pc-windows-gnu" . #+(package-source rust-winapi-i686-pc-windows-gnu-0.4))
2174 ("winapi-util" . #+(package-source rust-winapi-util-0.1))
2175 ("winapi-x86_64-pc-windows-gnu" . #+(package-source rust-winapi-x86-64-pc-windows-gnu-0.4))
2178 (format #t "Replacing vendored crates in the tarball and repacking ...~%")
2180 (invoke "tar" "cfa" #$output
2181 ;; Avoid non-determinism in the archive. We set the
2182 ;; mtime of files in the archive to early 1980 because
2183 ;; the build process fails if the mtime of source
2184 ;; files is pre-1980, due to the creation of zip
2186 "--mtime=@315619200" ; 1980-01-02 UTC
2190 (string-append "librsvg-" #$version))
2193 (define-public librsvg-next
2197 (source librsvg-next-source)
2198 (build-system gnu-build-system)
2201 (list "--disable-static"
2202 "--enable-vala") ; needed for e.g. gnome-mines
2203 #:make-flags '("CC=gcc")
2204 #:imported-modules ,%cargo-utils-modules ;for `generate-all-checksums'
2206 (modify-phases %standard-phases
2207 (add-after 'configure 'patch-cargo-checksums
2209 (use-modules (guix build cargo-utils))
2210 (substitute* "librsvg/Cargo.toml"
2211 (("bitflags .*") "bitflags = \"1\"\n")) ; 1.2 is vendored
2212 (generate-all-checksums "vendor")
2213 (delete-file "Cargo.lock")
2214 (invoke "cargo" "generate-lockfile")))
2215 (add-before 'configure 'pre-configure
2216 (lambda* (#:key inputs #:allow-other-keys)
2217 (substitute* "gdk-pixbuf-loader/Makefile.in"
2218 ;; By default the gdk-pixbuf loader is installed under
2219 ;; gdk-pixbuf's prefix. Work around that.
2220 (("gdk_pixbuf_moduledir = .*$")
2221 (string-append "gdk_pixbuf_moduledir = "
2222 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2224 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2225 (("gdk_pixbuf_cache_file = .*$")
2226 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2228 (add-before 'check 'remove-failing-tests
2230 (with-directory-excursion "tests/fixtures/reftests"
2231 (for-each delete-file
2232 '(;; The images produced by these tests differ slightly
2233 ;; from their reference counterparts due to differences
2234 ;; in the build environment (missing fonts, etc). See
2235 ;; <tests/README.md> for details.
2236 ;; These fail on x86_64.
2237 "svg1.1/coords-viewattr-02-b.svg"
2238 "svg1.1/filters-composite-04-f.svg"
2239 "svg1.1/filters-image-01-b.svg"
2240 "svg1.1/filters-conv-02-f.svg"
2241 "svg1.1/filters-conv-04-f.svg"
2242 ;; This test fails on i686:
2243 "svg1.1/masking-path-04-b.svg"
2244 ;; This test fails on armhf:
2245 "svg1.1/masking-mask-01-b.svg"
2246 ;; This test fails on aarch64:
2247 "bugs/777834-empty-text-children.svg")))
2250 `(("pkg-config" ,pkg-config)
2251 ;; This is the minimum supported Rust version in Librsvg 2.46.
2253 ("cargo" ,rust-1.34 "cargo")
2255 ("glib" ,glib "bin") ; glib-mkenums, etc.
2256 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2259 ("libcroco" ,libcroco)
2262 ("libxml2" ,libxml2)))
2264 ;; librsvg-2.0.pc refers to all of that.
2266 ("gdk-pixbuf" ,gdk-pixbuf)
2268 (home-page "https://wiki.gnome.org/LibRsvg")
2269 (synopsis "Render SVG files using Cairo")
2271 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2273 (license license:lgpl2.1+)))
2275 (define-public libidl
2281 (uri (string-append "mirror://gnome/sources/libIDL/"
2282 (version-major+minor version) "/"
2283 "libIDL-" version ".tar.bz2"))
2286 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2287 (build-system gnu-build-system)
2288 (inputs `(("glib" ,glib)))
2290 `(("pkg-config" ,pkg-config)
2293 (home-page "http://freecode.com/projects/libidl")
2294 (synopsis "Create trees of CORBA Interface Definition Language files")
2295 (description "Libidl is a library for creating trees of CORBA Interface
2296 Definition Language (idl) files, which is a specification for defining
2297 portable interfaces. libidl was initially written for orbit (the orb from the
2298 GNOME project, and the primary means of libidl distribution). However, the
2299 functionality was designed to be as reusable and portable as possible.")
2300 (properties `((upstream-name . "libIDL")))
2301 (license license:lgpl2.0+)))
2304 (define-public orbit2
2310 (uri (let ((upstream-name "ORBit2"))
2311 (string-append "mirror://gnome/sources/" upstream-name "/"
2312 (version-major+minor version) "/"
2313 upstream-name "-" version ".tar.bz2")))
2316 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
2317 (build-system gnu-build-system)
2320 '(;; We don't need static libraries, plus they don't build reproducibly
2321 ;; (non-deterministic ordering of .o files in the archive.)
2324 ;; The programmer kindly gives us a hook to turn off deprecation
2326 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2327 ;; ... which they then completly ignore !!
2329 (modify-phases %standard-phases
2330 (add-before 'configure 'ignore-deprecations
2332 (substitute* "linc2/src/Makefile.in"
2333 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2335 (inputs `(("glib" ,glib)
2336 ("libidl" ,libidl)))
2338 `(("pkg-config" ,pkg-config)))
2339 (home-page "https://projects.gnome.org/orbit2/")
2340 (synopsis "CORBA 2.4-compliant Object Request Broker")
2341 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2342 featuring mature C, C++ and Python bindings.")
2343 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2344 ;; a version. SOME of the code files have licence notices for GPLv2+.
2345 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
2346 (license license:gpl2+)
2347 (properties `((upstream-name . "ORBit2")))))
2350 (define-public libbonobo
2356 (uri (string-append "mirror://gnome/sources/" name "/"
2357 (version-major+minor version)
2358 "/" name "-" version ".tar.bz2"))
2360 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
2361 (patches (search-patches
2362 "libbonobo-activation-test-race.patch"))))
2363 (build-system gnu-build-system)
2365 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
2367 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2368 ;; ... which they then completly ignore !!
2370 (modify-phases %standard-phases
2371 (add-before 'configure 'ignore-deprecations
2373 (substitute* "activation-server/Makefile.in"
2374 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2377 ;; There's apparently a race condition between the server stub
2378 ;; generation and linking of the example under 'samples/echo' that can
2379 ;; lead do undefined references when building in parallel, as reported
2380 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2381 ;; Thus, disable parallel builds.
2382 #:parallel-build? #f))
2383 (inputs `(("popt" ,popt)
2384 ("libxml2" ,libxml2)))
2385 ;; The following are Required by the .pc file
2388 ("orbit2" ,orbit2)))
2390 `(("intltool" ,intltool)
2391 ("pkg-config" ,pkg-config)
2392 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2395 (home-page "https://developer.gnome.org/libbonobo/")
2396 (synopsis "Framework for creating reusable components for use in GNOME applications")
2397 (description "Bonobo is a framework for creating reusable components for
2398 use in GNOME applications, built on top of CORBA.")
2399 ;; Licence not explicitly stated. Source files contain no licence notices.
2400 ;; Tarball contains text of both GPLv2 and LGPLv2
2401 ;; GPLv2 covers both conditions
2402 (license license:gpl2+)))
2405 (define-public gconf
2412 (let ((upstream-name "GConf"))
2413 (string-append "mirror://gnome/sources/" upstream-name "/"
2414 (version-major+minor version) "/"
2415 upstream-name "-" version ".tar.xz")))
2417 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2418 (build-system gnu-build-system)
2419 (inputs `(("dbus-glib" ,dbus-glib)
2420 ("libxml2" ,libxml2)))
2421 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2422 ("orbit2" ,orbit2)))
2424 `(("intltool" ,intltool)
2425 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2426 ("pkg-config" ,pkg-config)))
2427 (home-page "https://projects.gnome.org/gconf/")
2428 (synopsis "Store application preferences")
2429 (description "Gconf is a system for storing application preferences. It
2430 is intended for user preferences; not arbitrary data storage.")
2431 (license license:lgpl2.0+)
2432 (properties '((upstream-name . "GConf")))))
2435 (define-public gnome-mime-data
2437 (name "gnome-mime-data")
2441 (uri (string-append "mirror://gnome/sources/" name "/"
2442 (version-major+minor version) "/"
2443 name "-" version ".tar.bz2"))
2446 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2447 (build-system gnu-build-system)
2450 ("intltool" ,intltool)))
2452 '(#:phases (modify-phases %standard-phases
2453 (add-after 'configure 'use-our-intltool
2455 ;; Do not use the bundled intltool commands, which lack
2456 ;; the "dotless @INC" fixes of our 'intltool' package.
2457 (substitute* (find-files "." "^Makefile$")
2458 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2459 (string-append "INTLTOOL_" tool " = intltool-"
2460 (string-downcase tool) "\n")))
2462 (home-page "https://www.gnome.org")
2463 (synopsis "Base MIME and Application database for GNOME")
2464 (description "GNOME Mime Data is a module which contains the base MIME
2465 and Application database for GNOME. The data stored by this module is
2466 designed to be accessed through the MIME functions in GnomeVFS.")
2467 (license license:gpl2+)))
2470 (define-public gnome-vfs
2476 (uri (string-append "mirror://gnome/sources/" name "/"
2477 (version-major+minor version) "/"
2478 name "-" version ".tar.bz2"))
2481 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
2482 (build-system gnu-build-system)
2485 (modify-phases %standard-phases
2486 (add-before 'configure 'ignore-deprecations
2488 (substitute* '("libgnomevfs/Makefile.in"
2489 "daemon/Makefile.in")
2490 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2492 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2494 (substitute* "test/test-async-cancel.c"
2495 (("EXIT_FAILURE") "77"))
2497 (inputs `(("libxml2" ,libxml2)
2498 ("dbus-glib" ,dbus-glib)
2500 ("gnome-mime-data" ,gnome-mime-data)
2503 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2504 ("intltool" ,intltool)
2505 ("pkg-config" ,pkg-config)))
2506 (home-page "https://developer.gnome.org/gnome-vfs/")
2507 (synopsis "Access files and folders in GNOME applications")
2509 "GnomeVFS is the core library used to access files and folders in GNOME
2510 applications. It provides a file system abstraction which allows applications
2511 to access local and remote files with a single consistent API.")
2512 (license license:lgpl2.0+)))
2516 (define-public libgnome
2522 (uri (string-append "mirror://gnome/sources/" name "/"
2523 (version-major+minor version) "/"
2524 name "-" version ".tar.bz2"))
2527 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2528 (patches (search-patches "libgnome-encoding.patch"))))
2529 (build-system gnu-build-system)
2532 (modify-phases %standard-phases
2533 (add-before 'configure 'enable-deprecated
2535 (substitute* "libgnome/Makefile.in"
2536 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2538 (inputs `(("libxml2" ,libxml2)))
2540 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2541 ("intltool" ,intltool)
2542 ("pkg-config" ,pkg-config)))
2543 ;; The following are listed as Required in the .pc file
2544 ;; (except for libcanberra -- which seems to be oversight on the part
2545 ;; of the upstream developers -- anything that links against libgnome,
2546 ;; must also link against libcanberra
2548 `(("libcanberra" ,libcanberra)
2549 ("libbonobo" ,libbonobo)
2551 ("gnome-vfs" ,gnome-vfs)
2552 ("popt" ,popt))) ;gnome-program.h includes popt.h
2553 (home-page "https://developer.gnome.org/libgnome/")
2554 (synopsis "Useful routines for building applications")
2555 (description "The libgnome library provides a number of useful routines
2556 for building modern applications, including session management, activation of
2557 files and URIs, and displaying help.")
2558 (license license:lgpl2.0+)))
2561 (define-public libart-lgpl
2563 (name "libart-lgpl")
2567 (uri (let ((upstream-name "libart_lgpl"))
2568 (string-append "mirror://gnome/sources/" upstream-name "/"
2569 (version-major+minor version) "/"
2570 upstream-name "-" version ".tar.bz2")))
2573 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
2574 (build-system gnu-build-system)
2576 `(("pkg-config" ,pkg-config)))
2577 (home-page "https://people.gnome.org/~mathieu/libart")
2578 (synopsis "2D drawing library")
2579 (description "Libart is a 2D drawing library intended as a
2580 high-quality vector-based 2D library with antialiasing and alpha composition.")
2581 (license license:lgpl2.0+)))
2585 (define-public libgnomecanvas
2587 (name "libgnomecanvas")
2591 (uri (string-append "mirror://gnome/sources/" name "/"
2592 (version-major+minor version) "/"
2593 name "-" version ".tar.gz"))
2596 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2597 (build-system gnu-build-system)
2598 ;; Mentioned as Required in the .pc file
2599 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2602 `(("intltool" ,intltool)
2603 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2604 ("pkg-config" ,pkg-config)))
2605 (home-page "https://developer.gnome.org/libgnomecanvas/")
2606 (synopsis "Flexible widget for creating interactive structured graphics")
2607 (description "The GnomeCanvas widget provides a flexible widget for
2608 creating interactive structured graphics.")
2609 (license license:lgpl2.0+)))
2611 (define-public libgnomecanvasmm
2613 (name "libgnomecanvasmm")
2617 (uri (string-append "mirror://gnome/sources/" name "/"
2618 (version-major+minor version) "/"
2619 name "-" version ".tar.bz2"))
2622 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2623 (build-system gnu-build-system)
2624 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2626 `(("gtkmm-2" ,gtkmm-2)
2627 ("pkg-config" ,pkg-config)))
2628 (home-page "https://gtkmm.org")
2629 (synopsis "C++ bindings to the GNOME Canvas library")
2630 (description "C++ bindings to the GNOME Canvas library.")
2631 (license license:lgpl2.0+)))
2633 (define-public libgnomeui
2639 (uri (string-append "mirror://gnome/sources/" name "/"
2640 (version-major+minor version) "/"
2641 name "-" version ".tar.bz2"))
2642 (patches (search-patches "libgnomeui-utf8.patch"))
2645 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2646 (build-system gnu-build-system)
2647 ;; Mentioned as Required in the .pc file
2648 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2649 ("libgnome" ,libgnome)
2650 ("libgnomecanvas" ,libgnomecanvas)
2651 ("libgnome-keyring" ,libgnome-keyring)))
2652 (inputs `(("libjpeg" ,libjpeg)
2654 ("libbonobo" ,libbonobo)
2655 ("libxml2" ,libxml2)
2656 ("libglade" ,libglade)))
2658 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2659 ("intltool" ,intltool)
2660 ("pkg-config" ,pkg-config)))
2661 (home-page "https://developer.gnome.org/libgnomeui/")
2662 (synopsis "Additional widgets for applications")
2663 (description "The libgnomeui library provides additional widgets for
2664 applications. Many of the widgets from libgnomeui have already been
2666 (license license:lgpl2.0+)))
2668 (define-public libglade
2674 (uri (string-append "mirror://gnome/sources/" name "/"
2675 (version-major+minor version) "/"
2676 name "-" version ".tar.bz2"))
2679 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2680 (build-system gnu-build-system)
2682 `(("python" ,python))) ;; needed for the optional libglade-convert program
2684 `(("gtk+-2" ,gtk+-2)
2685 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
2687 `(("pkg-config" ,pkg-config)))
2688 (home-page "https://developer.gnome.org/libglade")
2689 (synopsis "Load glade interfaces and access the glade built widgets")
2690 (description "Libglade is a library that provides interfaces for loading
2691 graphical interfaces described in glade files and for accessing the
2692 widgets built in the loading process.")
2693 (license license:gpl2+))) ; This is correct. GPL not LGPL
2695 (define-public libgnomeprint
2696 ;; This library has been deprecated since 2006; see
2697 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
2699 (name "libgnomeprint")
2703 (uri (string-append "mirror://gnome/sources/" name "/"
2704 (version-major+minor version) "/"
2705 name "-" version ".tar.bz2"))
2708 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
2709 (build-system gnu-build-system)
2712 ("libart-lgpl" ,libart-lgpl)
2714 ("libxml2" ,libxml2)))
2716 `(("intltool" ,intltool)
2717 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2718 ("pkg-config" ,pkg-config)))
2719 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2720 (synopsis "Printing framework for GNOME")
2722 "GNOME-print was a printing framework for GNOME. It has been deprecated
2723 since ca. 2006, when GTK+ itself incorporated printing support.")
2724 (license license:lgpl2.0+)))
2727 (define-public libgnomeprintui
2728 ;; Deprecated; see libgnomeprint.
2730 (name "libgnomeprintui")
2734 (uri (string-append "mirror://gnome/sources/" name "/"
2735 (version-major+minor version) "/"
2736 name "-" version ".tar.bz2"))
2739 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
2740 (build-system gnu-build-system)
2741 ;; Mentioned as Required in the .pc file
2742 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2743 (inputs `(("gtk+" ,gtk+-2)
2745 ("gnome-icon-theme" ,gnome-icon-theme)
2746 ("libgnomecanvas" ,libgnomecanvas)
2747 ("libxml2" ,libxml2)))
2749 `(("intltool" ,intltool)
2750 ("pkg-config" ,pkg-config)))
2751 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2752 (synopsis "Printing framework for GNOME")
2753 (description (package-description libgnomeprint))
2754 (license license:lgpl2.0+)))
2756 (define-public libbonoboui
2758 (name "libbonoboui")
2762 (uri (string-append "mirror://gnome/sources/" name "/"
2763 (version-major+minor version) "/"
2764 name "-" version ".tar.bz2"))
2767 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2768 (build-system gnu-build-system)
2771 (modify-phases %standard-phases
2772 (add-before 'check 'start-xserver
2773 (lambda* (#:key inputs #:allow-other-keys)
2774 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2777 (setenv "HOME" (getcwd))
2778 (setenv "DISPLAY" disp)
2779 ;; There must be a running X server and make check doesn't start one.
2780 ;; Therefore we must do it.
2781 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
2782 ;; Mentioned as Required by the .pc file
2783 (propagated-inputs `(("libxml2" ,libxml2)))
2786 ("pangox-compat" ,pangox-compat)
2787 ("libgnome" ,libgnome)
2788 ("libgnomecanvas" ,libgnomecanvas)
2789 ("libglade" ,libglade)))
2791 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2792 ("intltool" ,intltool)
2793 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
2794 ("pkg-config" ,pkg-config)))
2795 (home-page "https://developer.gnome.org/libbonoboui/")
2796 (synopsis "Some user interface controls using Bonobo")
2797 (description "The Bonobo UI library provides a number of user interface
2798 controls using the Bonobo component framework.")
2799 (license license:lgpl2.0+)))
2801 (define-public libwnck
2807 (uri (string-append "mirror://gnome/sources/" name "/"
2808 (version-major+minor version) "/"
2809 name "-" version ".tar.xz"))
2812 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2813 (build-system meson-build-system)
2815 `(("pkg-config" ,pkg-config)
2816 ("glib" ,glib "bin") ; for glib-mkenums
2817 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
2818 ("intltool" ,intltool)))
2821 ("libxres" ,libxres)
2822 ("startup-notification" ,startup-notification)))
2823 (home-page "https://developer.gnome.org/libwnck/")
2824 (synopsis "Window Navigator Construction Kit")
2826 "Libwnck is the Window Navigator Construction Kit, a library for use in
2827 writing pagers, tasklists, and more generally applications that are dealing
2828 with window management. It tries hard to respect the Extended Window Manager
2829 Hints specification (EWMH).")
2830 (license license:lgpl2.0+)))
2832 ;; stable version for gtk2, required by xfwm4.
2833 (define-public libwnck-2
2834 (package (inherit libwnck)
2839 (uri (string-append "mirror://gnome/sources/" name "/"
2840 (version-major+minor version) "/"
2841 name "-" version ".tar.xz"))
2844 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
2845 (build-system gnu-build-system)
2847 `(("pkg-config" ,pkg-config)
2848 ("intltool" ,intltool)))
2851 ("libxres" ,libxres)
2852 ("startup-notification" ,startup-notification)))))
2854 (define-public goffice
2860 (uri (string-append "mirror://gnome/sources/goffice/"
2861 (version-major+minor version) "/"
2862 "goffice-" version ".tar.xz"))
2864 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
2865 (build-system gnu-build-system)
2867 "doc")) ; 4.0 MiB of gtk-doc
2869 '(#:configure-flags (list (string-append "--with-html-dir="
2870 (assoc-ref %outputs "doc")
2871 "/share/gtk-doc/html"))))
2875 ("librsvg" ,librsvg)
2876 ("libxslt" ,libxslt)
2877 ("libxml2" ,libxml2)))
2879 `(("intltool" ,intltool)
2880 ("glib" ,glib "bin")
2881 ("pkg-config" ,pkg-config)))
2882 (home-page "https://developer.gnome.org/goffice/")
2883 (synopsis "Document-centric objects and utilities")
2884 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2886 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2888 (list license:gpl2 license:gpl3))))
2890 (define-public goffice-0.8
2891 (package (inherit goffice)
2895 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2896 (version-major+minor version) "/"
2897 (package-name goffice) "-" version ".tar.xz"))
2899 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2902 (modify-phases %standard-phases
2903 (add-after 'unpack 'fix-pcre-check
2905 ;; Only glib.h can be included directly. See
2906 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2907 (substitute* "configure"
2908 (("glib/gregex\\.h") "glib.h")) #t)))
2910 ,@(package-arguments goffice)))
2912 ;; libgoffice-0.8.pc mentions libgsf-1
2913 `(("libgsf" ,libgsf)))
2916 ,@(alist-delete "gtk" (package-inputs goffice))))))
2918 (define-public gnumeric
2924 (uri (string-append "mirror://gnome/sources/gnumeric/"
2925 (version-major+minor version) "/"
2926 "gnumeric-" version ".tar.xz"))
2929 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
2930 (build-system glib-or-gtk-build-system)
2932 `(;; The gnumeric developers don't worry much about failing tests.
2933 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2936 (modify-phases %standard-phases
2938 'configure 'pre-conf
2939 (lambda* (#:key outputs #:allow-other-keys)
2940 ;; Make install tries to write into the directory of goffice
2941 ;; I am informed that this only affects the possibility to embed a
2942 ;; spreadsheet inside an Abiword document. So presumably when we
2943 ;; package Abiword we'll have to refer it to this directory.
2944 (substitute* "configure"
2945 (("^GOFFICE_PLUGINS_DIR=.*")
2946 (string-append "GOFFICE_PLUGINS_DIR="
2947 (assoc-ref outputs "out")
2948 "/goffice/plugins"))))))))
2952 ("goffice" ,goffice)
2954 ("librsvg" ,librsvg)
2955 ("libxml2" ,libxml2)
2956 ("libxslt" ,libxslt)
2957 ("python" ,python-2)
2958 ("python2-pygobject" ,python2-pygobject)
2962 ("docbook-xml" ,docbook-xml)
2963 ("intltool" ,intltool)
2964 ("itstool" ,itstool)
2965 ("glib:bin" ,glib "bin")
2966 ("pkg-config" ,pkg-config)))
2967 (home-page "http://www.gnumeric.org")
2968 (synopsis "Spreadsheet application")
2970 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
2971 interoperable with other spreadsheet applications. It has a vast array of
2972 features beyond typical spreadsheet functionality, such as support for linear
2973 and non-linear solvers, statistical analysis, and telecommunication
2976 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2977 (list license:gpl2 license:gpl3))))
2979 (define-public gnome-themes-standard
2981 (name "gnome-themes-standard")
2986 (uri (string-append "mirror://gnome/sources/" name "/"
2987 (version-major+minor version) "/" name "-"
2991 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
2992 (build-system gnu-build-system)
2995 ;; Don't create 'icon-theme.cache'.
2996 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2997 (true (string-append coreutils "/bin/true")))
2998 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
3002 ("librsvg" ,librsvg)
3003 ("libxml2" ,libxml2)
3006 `(("intltool" ,intltool)
3007 ("glib:bin" ,glib "bin")
3008 ("pkg-config" ,pkg-config)))
3009 (home-page "https://launchpad.net/gnome-themes-standard")
3010 (synopsis "Default GNOME 3 themes")
3012 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3013 (license license:lgpl2.1+)))
3015 (define-public seahorse
3022 (uri (string-append "mirror://gnome/sources/" name "/"
3023 (version-major+minor version) "/" name "-"
3027 "0d8zdzmlz7fjv9xl20zl4ckidf465mvdjnbpxy3k08y9iw423q4x"))
3028 (patches (search-patches
3029 "seahorse-gkr-use-0-on-empty-flags.patch"))))
3030 (build-system meson-build-system)
3034 (modify-phases %standard-phases
3035 (add-after 'unpack 'skip-gtk-update-icon-cache
3036 ;; Don't create 'icon-theme.cache'.
3038 (substitute* "build-aux/meson_post_install.py"
3039 (("gtk-update-icon-cache") "true"))
3046 ("openldap" ,openldap)
3047 ("openssh" ,openssh)
3049 ("libpwquality" ,libpwquality)
3050 ("libsecret" ,libsecret)
3051 ("libsoup" ,libsoup)))
3053 `(("gettext" ,gettext-minimal)
3054 ("glib:bin" ,glib "bin")
3055 ("itstool" ,itstool)
3056 ("pkg-config" ,pkg-config)
3058 ("xmllint" ,libxml2)))
3059 (home-page "https://wiki.gnome.org/Apps/Seahorse")
3060 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3062 "Seahorse is a GNOME application for managing encryption keys and
3063 passwords in the GNOME keyring.")
3064 (license license:gpl2+)))
3072 (uri (string-append "mirror://gnome/sources/" name "/"
3073 (version-major+minor version) "/"
3074 name "-" version ".tar.xz"))
3077 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
3078 (build-system gnu-build-system)
3081 (modify-phases %standard-phases
3082 (add-before 'check 'pre-check
3085 (substitute* "valadoc/tests/testrunner.sh"
3086 (("export PKG_CONFIG_PATH=" m)
3087 (string-append m "$PKG_CONFIG_PATH:")))
3088 ;; For missing '/etc/machine-id'.
3089 (setenv "DBUS_FATAL_WARNINGS" "0")
3092 `(("pkg-config" ,pkg-config)
3095 ("xsltproc" ,libxslt)
3096 ("dbus" ,dbus) ; for dbus tests
3097 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
3099 `(("graphviz" ,graphviz)))
3101 `(("glib" ,glib))) ; required by libvala-0.40.pc
3102 (home-page "https://live.gnome.org/Vala/")
3103 (synopsis "Compiler for the GObject type system")
3105 "Vala is a programming language that aims to bring modern programming
3106 language features to GNOME developers without imposing any additional runtime
3107 requirements and without using a different ABI compared to applications and
3108 libraries written in C.")
3109 (license license:lgpl2.1+)))
3117 (uri (string-append "mirror://gnome/sources/vte/"
3118 (version-major+minor version) "/"
3119 "vte-" version ".tar.xz"))
3122 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
3123 (build-system meson-build-system)
3125 `(("pkg-config" ,pkg-config)
3126 ("intltool" ,intltool)
3128 ("gobject-introspection" ,gobject-introspection)
3129 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3131 ("xmllint" ,libxml2)))
3133 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3134 ("gnutls" ,gnutls) ; ditto
3135 ("pcre2" ,pcre2))) ; ditto
3136 (home-page "https://www.gnome.org/")
3137 (synopsis "Virtual Terminal Emulator")
3139 "VTE is a library (libvte) implementing a terminal emulator widget for
3140 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3141 gnome-terminal, but can also be used to embed a console/terminal in games,
3142 editors, IDEs, etc.")
3143 (license license:lgpl2.1+)))
3145 (define-public vte-ng
3149 (version "0.58.2.a")
3150 (home-page "https://github.com/thestinger/vte-ng")
3153 (uri (git-reference (url home-page) (commit version)))
3154 (file-name (git-file-name name version))
3157 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3158 (build-system meson-build-system)
3160 `(("gtk-doc" ,gtk-doc)
3161 ,@(package-native-inputs vte)))
3163 `(#:configure-flags '("-Ddocs=true")))
3164 (synopsis "Enhanced VTE terminal widget")
3166 "VTE is a library (libvte) implementing a terminal emulator widget for
3167 GTK+, this fork provides additional functions exposed for keyboard text
3168 selection and URL hints.")))
3170 ;; provides vte 2.90, required for some terminal emulators
3171 ;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3172 ;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3173 ;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3174 ;; pantheon-terminal, roxterm are not currently packaged
3175 (define-public vte-0.36
3176 (package (inherit vte)
3181 (uri (string-append "mirror://gnome/sources/" name "/"
3182 (version-major+minor version) "/"
3183 name "-" version ".tar.xz"))
3186 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3189 ("ncurses" ,ncurses)))))
3191 ;; stable version for gtk2, required by xfce4-terminal.
3192 (define-public vte/gtk+-2
3193 (package (inherit vte)
3198 (uri (string-append "mirror://gnome/sources/" name "/"
3199 (version-major+minor version) "/"
3200 name "-" version ".tar.xz"))
3203 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3204 (patches (search-patches
3205 "vte-CVE-2012-2738-pt1.patch"
3206 "vte-CVE-2012-2738-pt2.patch"))))
3207 (build-system gnu-build-system)
3209 '(#:configure-flags '("--disable-python")))
3211 `(("pkg-config" ,pkg-config)
3212 ("intltool" ,intltool)
3213 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3215 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3216 ("ncurses" ,ncurses))))) ; required by libvte.la
3218 (define-public vinagre
3224 (uri (string-append "mirror://gnome/sources/" name "/"
3225 (version-major+minor version) "/"
3226 name "-" version ".tar.xz"))
3227 (patches (search-patches "vinagre-newer-freerdp.patch"
3228 "vinagre-newer-rdp-parameters.patch"))
3231 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3232 (build-system glib-or-gtk-build-system)
3234 ;; Disable -Werror and such, to avoid build failures on compilation
3236 '(#:configure-flags '("--enable-compile-warnings=minimum")
3238 (modify-phases %standard-phases
3239 (add-before 'install 'skip-gtk-update-icon-cache
3241 ;; Don't create 'icon-theme.cache'
3242 (substitute* (find-files "." "^Makefile$")
3243 (("gtk-update-icon-cache") (which "true")))
3245 (add-after 'unpack 'patch-configure
3247 (substitute* "configure"
3248 (("freerdp") "freerdp2"))
3251 `(("pkg-config" ,pkg-config)
3252 ("intltool" ,intltool)
3253 ("itstool" ,itstool)
3254 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
3256 `(("libxml2" ,libxml2)
3257 ("gtk-vnc" ,gtk-vnc)
3258 ("gnome-keyring" ,gnome-keyring)
3259 ("libsecret" ,libsecret)
3260 ("freerdp" ,freerdp)
3262 ("spice-gtk" ,spice-gtk)
3263 ("telepathy-glib" ,telepathy-glib)
3265 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3266 (synopsis "Remote desktop viewer for GNOME")
3267 (description "Vinagre is a remote display client supporting the VNC, SPICE
3268 and RDP protocols.")
3269 (license license:gpl3+)))
3271 (define-public dconf
3278 "mirror://gnome/sources/" name "/"
3279 (version-major+minor version) "/"
3280 name "-" version ".tar.xz"))
3281 (patches (search-patches "dconf-meson-0.52.patch"))
3284 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
3285 (build-system meson-build-system)
3287 ;; In Requires of dconf.pc.
3293 `(("bash-completion" ,bash-completion)
3294 ("libxslt" ,libxslt) ;for xsltproc
3295 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3296 ("docbook-xml" ,docbook-xml-4.2)
3297 ("docbook-xsl" ,docbook-xsl)
3298 ("glib:bin" ,glib "bin")
3299 ("gtk-doc" ,gtk-doc)
3300 ("pkg-config" ,pkg-config)
3303 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3304 ; or /etc/machine-id.
3306 #:configure-flags '("-Denable-gtk-doc=true")))
3307 (home-page "https://developer.gnome.org/dconf")
3308 (synopsis "Low-level GNOME configuration system")
3309 (description "Dconf is a low-level configuration system. Its main purpose
3310 is to provide a backend to GSettings on platforms that don't already have
3311 configuration storage systems.")
3312 (license license:lgpl2.1+)))
3314 (define-public json-glib
3320 (uri (string-append "mirror://gnome/sources/" name "/"
3321 (version-major+minor version) "/"
3322 name "-" version ".tar.xz"))
3325 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
3326 (build-system meson-build-system)
3328 `(("gettext" ,gettext-minimal)
3329 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
3330 ("gobject-introspection" ,gobject-introspection)
3331 ("pkg-config" ,pkg-config)))
3333 `(("glib" ,glib))) ;according to json-glib-1.0.pc
3334 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3335 (synopsis "Compiler for the GObject type system")
3337 "JSON-GLib is a C library based on GLib providing serialization and
3338 deserialization support for the JavaScript Object Notation (JSON) format
3339 described by RFC 4627. It provides parser and generator GObject classes and
3340 various wrappers for the complex data types employed by JSON, such as arrays
3342 (license license:lgpl2.1+)))
3344 (define-public libxklavier
3346 (name "libxklavier")
3349 ;; Note: There's no tarball at ftp.gnome.org for this version.
3352 (url "https://anongit.freedesktop.org/git/libxklavier")
3353 (commit (string-append "libxklavier-" version))))
3356 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3357 (file-name (git-file-name name version))))
3358 (build-system gnu-build-system)
3361 (modify-phases %standard-phases
3362 (add-after 'unpack 'no-configure
3364 (setenv "NOCONFIGURE" "1")
3367 (list (string-append "--with-xkb-base="
3368 (assoc-ref %build-inputs "xkeyboard-config")
3370 "--disable-xmodmap-support")))
3372 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3373 ("gobject-introspection" ,gobject-introspection)
3374 ("pkg-config" ,pkg-config)
3375 ("gtk-doc" ,gtk-doc)
3376 ("intltool" ,intltool)
3378 ("autoconf" ,autoconf)
3379 ("automake" ,automake)
3380 ("libtool" ,libtool)))
3382 ;; Required by libxklavier.pc.
3384 ("libxml2" ,libxml2)))
3386 `(("iso-codes" ,iso-codes)
3388 ("libxkbfile" ,libxkbfile)
3389 ("xkbcomp" ,xkbcomp)
3390 ("xkeyboard-config" ,xkeyboard-config)))
3391 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
3392 (synopsis "High-level API for X Keyboard Extension")
3394 "LibXklavier is a library providing high-level API for X Keyboard
3395 Extension known as XKB. This library is intended to support XFree86 and other
3396 commercial X servers. It is useful for creating XKB-related software (layout
3398 (license license:lgpl2.0+)))
3400 (define-public python2-rsvg
3401 ;; XXX: This is actually a subset of gnome-python-desktop.
3403 (name "python2-rsvg")
3409 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3410 version ".tar.bz2"))
3413 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3414 (build-system gnu-build-system)
3416 `(("pkg-config" ,pkg-config)))
3418 `(("python" ,python-2)
3419 ("python2-pygtk" ,python2-pygtk)
3420 ("librsvg" ,librsvg)))
3421 (home-page "https://www.gnome.org")
3422 (synopsis "Python bindings to librsvg")
3424 "This package provides Python bindings to librsvg, the SVG rendering
3427 ;; This is the license of the rsvg bindings. The license of each module
3428 ;; of gnome-python-desktop is given in 'COPYING'.
3429 (license license:lgpl2.1+)))
3431 (define-public glib-networking
3433 (name "glib-networking")
3437 (uri (string-append "mirror://gnome/sources/glib-networking/"
3438 (version-major+minor version) "/"
3439 "glib-networking-" version ".tar.xz"))
3442 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
3443 (build-system meson-build-system)
3445 `(#:configure-flags '("-Dlibproxy_support=false")))
3447 `(("pkg-config" ,pkg-config)
3448 ("intltool" ,intltool)))
3452 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
3453 (home-page "https://www.gnome.org")
3454 (synopsis "Network-related GIO modules")
3456 "This package contains various network related extensions for the GIO
3458 (license license:lgpl2.0+)))
3466 (uri (string-append "mirror://gnome/sources/rest/"
3467 (version-major+minor version) "/"
3468 name "-" version ".tar.xz"))
3471 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
3472 (build-system gnu-build-system)
3474 '(#:tests? #f ; tests require internet connection
3476 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3478 `(("glib-mkenums" ,glib "bin")
3479 ("gobject-introspection" ,gobject-introspection)
3480 ("pkg-config" ,pkg-config)))
3482 ;; rest-0.7.pc refers to all these.
3484 ("libsoup" ,libsoup)
3485 ("libxml2" ,libxml2)))
3486 (home-page "https://www.gtk.org/")
3487 (synopsis "RESTful web api query library")
3489 "This library was designed to make it easier to access web services that
3490 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3491 libxml to ease remote use of the RESTful API.")
3492 (license license:lgpl2.1+)))
3494 (define-public libsoup
3500 (uri (string-append "mirror://gnome/sources/libsoup/"
3501 (version-major+minor version) "/"
3502 "libsoup-" version ".tar.xz"))
3505 "1yxs0ax4rq3g0lgkbv7mz497rqj16iyyizddyc13gzxh6n7b0jsk"))))
3506 (build-system meson-build-system)
3507 (outputs '("out" "doc"))
3509 `(#:modules ((guix build utils)
3510 (guix build meson-build-system)
3513 #:configure-flags '("-Dgtk_doc=true")
3515 (modify-phases %standard-phases
3516 (add-after 'unpack 'adjust-tests
3518 ;; This test fails due to missing /etc/nsswitch.conf
3519 ;; in the build environment.
3520 (substitute* "tests/socket-test.c"
3521 ((".*/sockets/unconnected.*") ""))
3523 ;; These fail because "subdomain.localhost" does not resolve in
3524 ;; the build environment.
3525 (substitute* "tests/hsts-test.c"
3526 ((".*/hsts/basic.*") "")
3527 ((".*/hsts/subdomains.*") "")
3528 ((".*/hsts/superdomain.*") "")
3529 ((".*/hsts/utf8-address.*") ""))
3530 (substitute* "tests/hsts-db-test.c"
3531 ((".*/hsts-db/subdomains.*") ""))
3533 ;; Generate a self-signed certificate that has "localhost" as its
3534 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3535 ;; 3.5.12, tests such as "ssl-tests" fail:
3537 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3539 ;; 'certtool' is interactive so we have to pipe it the answers.
3540 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3541 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3542 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3543 (for-each (lambda (line)
3548 "Guix" ;Organizational unit name
3549 "GNU" ;Organization name
3551 "" ;State or province
3553 "" ;subject's domain component (DC)
3556 "-1" ;expiration time
3557 "N" ;belong to authority?
3558 "N" ;web client certificate?
3560 "Y" ;web server certificate?
3561 "localhost" ;dnsName of subject
3562 "" ;dnsName of subject (end)
3564 "127.0.0.1" ;IP address of subject
3566 "" ;encryption (RSA)?
3567 "" ;data encryption?
3568 "" ;sign OCSP requests?
3571 "" ;email protection?
3572 "" ;URI of the CRL distribution point
3577 (add-after 'install 'move-doc
3578 (lambda* (#:key outputs #:allow-other-keys)
3579 (let ((out (assoc-ref outputs "out"))
3580 (doc (assoc-ref outputs "doc")))
3581 (mkdir-p (string-append doc "/share"))
3582 (copy-recursively (string-append out "/share/gtk-doc")
3583 (string-append doc "/share/gtk-doc"))
3584 (delete-file-recursively (string-append out "/share/gtk-doc"))
3587 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3588 ("gobject-introspection" ,gobject-introspection)
3589 ("gtk-doc" ,gtk-doc)
3590 ("intltool" ,intltool)
3591 ("pkg-config" ,pkg-config)
3592 ("python" ,python-wrapper)
3594 ;; These are needed for the tests.
3595 ;; FIXME: Add PHP once available.
3597 ("gnutls" ,gnutls) ;for 'certtool'
3600 ;; libsoup-2.4.pc refers to all these.
3601 `(("brotli" ,google-brotli)
3604 ("libxml2" ,libxml2)
3608 `(("glib-networking" ,glib-networking)
3609 ("mit-krb5" ,mit-krb5)))
3610 (home-page "https://live.gnome.org/LibSoup/")
3611 (synopsis "GLib-based HTTP Library")
3613 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3614 and the GLib main loop, to integrate well with GNOME applications.")
3615 (license license:lgpl2.0+)))
3617 (define-public libsecret
3624 "mirror://gnome/sources/libsecret/"
3625 (version-major+minor version) "/"
3626 "libsecret-" version ".tar.xz"))
3629 "0fhflcsr70b1pps2pcvqcbdhip2ny5am9nbm634f4sj5g40y30w5"))))
3630 (build-system gnu-build-system)
3631 (outputs '("out" "doc"))
3633 `(#:tests? #f ; FIXME: Testing hangs.
3635 (list (string-append "--with-html-dir="
3636 (assoc-ref %outputs "doc")
3637 "/share/gtk-doc/html"))))
3639 `(("gettext" ,gettext-minimal)
3640 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
3641 ("gobject-introspection" ,gobject-introspection)
3642 ("pkg-config" ,pkg-config)
3644 ("xsltproc" ,libxslt)))
3645 ;; These are needed for the tests.
3646 ;; FIXME: Add gjs once available.
3648 ;("python2" ,python-2)
3649 ;("python2-dbus" ,python2-dbus)
3650 ;("python2-pygobject" ,python2-pygobject)
3651 ;("python2-pygobject-2" ,python2-pygobject-2)))
3653 `(("glib" ,glib))) ; required by libsecret-1.pc
3655 `(("docbook-xsl" ,docbook-xsl)
3656 ("libgcrypt" ,libgcrypt)
3657 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3658 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3659 (synopsis "GObject bindings for \"Secret Service\" API")
3661 "Libsecret is a GObject based library for storing and retrieving passwords
3662 and other secrets. It communicates with the \"Secret Service\" using DBus.")
3663 (license license:lgpl2.1+)))
3665 (define-public five-or-more
3667 (name "five-or-more")
3672 (uri (string-append "mirror://gnome/sources/" name "/"
3673 (version-major+minor version) "/"
3674 name "-" version ".tar.xz"))
3677 "0v52i22ygv6y4zqs8nyb1qmacmj9whhqrw7qss6vn7by4nsikhrn"))))
3678 (build-system meson-build-system)
3682 (modify-phases %standard-phases
3683 (add-after 'unpack 'skip-gtk-update-icon-cache
3685 (substitute* "meson_post_install.py"
3686 (("gtk-update-icon-cache") (which "true")))
3689 `(("pkg-config" ,pkg-config)
3690 ("appstream-glib" ,appstream-glib)
3691 ("desktop-file-utils" ,desktop-file-utils)
3692 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3693 ("intltool" ,intltool)
3694 ("itstool" ,itstool)
3696 ("xmllint" ,libxml2)))
3699 ("libgnome-games-support" ,libgnome-games-support)
3700 ("librsvg" ,librsvg)))
3701 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3702 (synopsis "Logic puzzle game")
3703 (description "Five or More is a game where you try to align
3704 five or more objects of the same color and shape causing them to disappear.
3705 On every turn more objects will appear, until the board is full.
3706 Try to last as long as possible.")
3707 (license license:gpl2+)))
3709 (define-public gnome-mines
3711 (name "gnome-mines")
3716 (uri (string-append "mirror://gnome/sources/" name "/"
3717 (version-major+minor version) "/"
3718 name "-" version ".tar.xz"))
3721 "1nv966wkp2rqxzcdb76bwlbzpjqadcaqzrnkxpzwnvjjr167yx8g"))))
3722 (build-system meson-build-system)
3726 (modify-phases %standard-phases
3727 (add-after 'unpack 'skip-gtk-update-icon-cache
3729 (substitute* "build-aux/meson_post_install.py"
3730 (("gtk-update-icon-cache") (which "true")))
3733 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3734 ("pkg-config" ,pkg-config)
3735 ("desktop-file-utils" ,desktop-file-utils)
3736 ("intltool" ,intltool)
3737 ("itstool" ,itstool)
3740 ("appstream-glib" ,appstream-glib)))
3743 ("libgnome-games-support" ,libgnome-games-support)
3744 ("librsvg" ,librsvg)))
3745 (home-page "https://wiki.gnome.org/Apps/Mines")
3746 (synopsis "Minesweeper game")
3748 "Mines (previously gnomine) is a puzzle game where you locate mines
3749 floating in an ocean using only your brain and a little bit of luck.")
3750 (license license:gpl2+)))
3752 (define-public gnome-sudoku
3754 (name "gnome-sudoku")
3759 (uri (string-append "mirror://gnome/sources/" name "/"
3760 (version-major+minor version) "/"
3761 name "-" version ".tar.xz"))
3764 "1wwdjflw1lbx3cv6gvqcgp5jnjkrq37ld6mjbjj03g3vr90qaf0l"))))
3765 (build-system meson-build-system)
3769 (modify-phases %standard-phases
3770 (add-after 'unpack 'skip-gtk-update-icon-cache
3772 (substitute* "build-aux/post_install.py"
3773 (("gtk-update-icon-cache") (which "true")))
3776 `(("pkg-config" ,pkg-config)
3777 ("desktop-file-utils" ,desktop-file-utils)
3778 ("glib:bin" ,glib "bin") ; for glib-compile-resources
3779 ("intltool" ,intltool)
3780 ("itstool" ,itstool)
3782 ("xmllint" ,libxml2)))
3785 ("json-glib" ,json-glib)
3787 ("librsvg" ,librsvg)
3788 ("qqwing" ,qqwing)))
3789 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3790 (synopsis "Japanese logic game")
3792 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3793 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3794 possible while still providing features that make playing difficult Sudoku
3796 (license license:gpl2+)))
3798 (define-public gnome-terminal
3800 (name "gnome-terminal")
3805 (uri (string-append "mirror://gnome/sources/" name "/"
3806 (version-major+minor version) "/"
3807 name "-" version ".tar.xz"))
3810 "0shhpnagasyp1kxgjczfrivcxbgrrl3y8lzvp1z101m67h4jp6km"))))
3811 (build-system glib-or-gtk-build-system)
3814 (list "--disable-migration" "--disable-search-provider"
3815 "--without-nautilus-extension")
3817 (modify-phases %standard-phases
3818 (add-before 'configure 'patch-/bin/true
3820 (substitute* "configure"
3821 (("/bin/true") (which "true"))))))))
3823 `(("pkg-config" ,pkg-config)
3824 ("desktop-file-utils" ,desktop-file-utils)
3825 ("intltool" ,intltool)
3826 ("itstool" ,itstool)
3827 ("xmllint" ,libxml2)))
3829 `(("dconf" ,dconf)))
3834 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3835 ("util-linux" ,util-linux "lib")
3837 (home-page "https://wiki.gnome.org/Apps/Terminal")
3838 (synopsis "Terminal emulator")
3840 "GNOME Terminal is a terminal emulator application for accessing a
3841 UNIX shell environment which can be used to run programs available on
3844 It supports several profiles, multiple tabs and implements several
3845 keyboard shortcuts.")
3846 (license license:gpl3+)))
3848 (define-public colord
3855 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
3856 "colord-" version ".tar.xz"))
3858 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
3859 (build-system meson-build-system)
3861 '(;; FIXME: One test fails:
3862 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3863 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3864 ;; application/x-zerosize
3867 #:configure-flags (list "-Dlocalstatedir=/var"
3868 ;; No dep on systemd.
3870 ;; Wants to install to global completion dir;
3872 "-Dbash_completion=false"
3873 "-Ddaemon_user=colord"
3876 ;; Requires spotread.
3877 "-Dargyllcms_sensor=false"
3878 ;; TODO: Requires docbook2x.
3881 (modify-phases %standard-phases
3882 (add-before 'configure 'patch-build-system
3883 (lambda* (#:key outputs #:allow-other-keys)
3884 (substitute* "rules/meson.build"
3885 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3886 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
3888 (add-before 'configure 'set-sqlite3-file-name
3889 (lambda* (#:key inputs #:allow-other-keys)
3890 ;; "colormgr dump" works by invoking the "sqlite3" command.
3891 ;; Record its absolute file name.
3892 (let ((sqlite (assoc-ref inputs "sqlite")))
3893 (substitute* "client/cd-util.c"
3895 (string-append "\"" sqlite "/bin/sqlite3\"")))
3898 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
3899 ("gettext" ,gettext-minimal)
3900 ("gobject-introspection" ,gobject-introspection)
3901 ("gtk-doc" ,gtk-doc)
3902 ("pkg-config" ,pkg-config)
3905 ;; colord.pc refers to all these.
3910 `(("dbus-glib" ,dbus-glib)
3912 ("libgudev" ,libgudev)
3915 ("python" ,python-wrapper)
3917 ("sane-backends" ,sane-backends)))
3918 (home-page "https://www.freedesktop.org/software/colord/")
3919 (synopsis "Color management service")
3920 (description "Colord is a system service that makes it easy to manage,
3921 install and generate color profiles to accurately color manage input and
3923 (license license:gpl2+)))
3925 (define-public geoclue
3932 (uri (string-append "https://www.freedesktop.org/software/" name
3933 "/releases/" (version-major+minor version) "/"
3934 name "-" version ".tar.xz"))
3937 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
3938 (patches (search-patches "geoclue-config.patch"))))
3939 (build-system glib-or-gtk-build-system)
3941 '(;; The tests want to run the system bus.
3943 #:configure-flags (list ;; Disable bits requiring ModemManager.
3944 "--disable-3g-source"
3945 "--disable-cdma-source"
3946 "--disable-modem-gps-source"
3947 "--with-dbus-service-user=geoclue")
3949 (modify-phases %standard-phases
3950 (add-before 'configure 'patch-/bin/true
3952 (substitute* "configure"
3953 (("/bin/true") (which "true")))
3956 `(("pkg-config" ,pkg-config)
3957 ("gobject-introspection" ,gobject-introspection)
3958 ("intltool" ,intltool)))
3962 ("json-glib" ,json-glib)
3963 ("libsoup" ,libsoup)))
3964 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
3965 (synopsis "Geolocation service")
3966 (description "Geoclue is a D-Bus service that provides location
3967 information. The primary goal of the Geoclue project is to make creating
3968 location-aware applications as simple as possible, while the secondary goal is
3969 to ensure that no application can access location information without explicit
3970 permission from user.")
3971 (license license:gpl2+)))
3973 (define-public geocode-glib
3975 (name "geocode-glib")
3979 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3980 (version-major+minor version) "/"
3981 "geocode-glib-" version ".tar.xz"))
3984 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
3985 (build-system meson-build-system)
3988 (modify-phases %standard-phases
3989 ;; The tests require a bunch of locales.
3990 (add-before 'check 'set-locales
3991 (lambda* (#:key inputs #:allow-other-keys)
3992 (setenv "GUIX_LOCPATH"
3993 (string-append (assoc-ref inputs "glibc-locales")
3997 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3998 ("glibc-locales" ,glibc-locales) ; for tests
3999 ("gettext" ,gettext-minimal)
4000 ("gobject-introspection" ,gobject-introspection)
4001 ("gtk-doc" ,gtk-doc)
4002 ("pkg-config" ,pkg-config)
4003 ("json-glib" ,json-glib)))
4005 ;; geocode-glib-1.0.pc refers to GIO.
4008 `(("libsoup" ,libsoup)))
4009 (home-page "https://github.com/GNOME/geocode-glib/")
4010 (synopsis "Geocoding and reverse-geocoding library")
4012 "geocode-glib is a convenience library for geocoding (finding longitude,
4013 and latitude from an address) and reverse geocoding (finding an address from
4014 coordinates) using the Nominatim service. geocode-glib caches requests for
4015 faster results and to avoid unnecessary server load.")
4016 (license license:lgpl2.0+)))
4018 (define-public upower
4024 (uri (string-append "https://upower.freedesktop.org/releases/"
4025 "upower-" version ".tar.xz"))
4028 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
4029 (patches (search-patches "upower-builddir.patch"))))
4030 (build-system glib-or-gtk-build-system)
4032 '( ;; The tests want to contact the system bus, which can't be done in the
4033 ;; build environment. The integration test can run, but the last of
4034 ;; the up-self-tests doesn't. Disable tests for now.
4036 #:configure-flags (list "--localstatedir=/var"
4037 (string-append "--with-udevrulesdir="
4038 (assoc-ref %outputs "out")
4039 "/lib/udev/rules.d"))))
4041 `(("gobject-introspection" ,gobject-introspection)
4042 ("pkg-config" ,pkg-config)
4043 ("intltool" ,intltool)
4047 ("libxslt" ,libxslt) ;for 'xsltproc'
4048 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4049 ("docbook-xsl" ,docbook-xsl)))
4051 `(("dbus-glib" ,dbus-glib)
4052 ("libgudev" ,libgudev)
4053 ("libusb" ,libusb)))
4055 ;; In Requires of upower-glib.pc.
4057 (home-page "https://upower.freedesktop.org/")
4058 (synopsis "System daemon for managing power devices")
4060 "UPower is an abstraction for enumerating power devices,
4061 listening to device events and querying history and statistics. Any
4062 application or service on the system can access the org.freedesktop.UPower
4063 service via the system message bus.")
4064 (license license:gpl2+)))
4066 (define-public libgweather
4068 (name "libgweather")
4072 (uri (string-append "mirror://gnome/sources/" name "/"
4073 (version-major+minor version) "/"
4074 name "-" version ".tar.xz"))
4077 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
4078 (build-system meson-build-system)
4080 `(#:tests? #f ; one of two tests requires network access
4082 `(,(string-append "-Dzoneinfo_dir="
4083 (assoc-ref %build-inputs "tzdata")
4084 "/share/zoneinfo"))))
4086 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4087 ("gobject-introspection" ,gobject-introspection)
4088 ("pkg-config" ,pkg-config)
4090 ("intltool" ,intltool)))
4092 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4095 ("gdk-pixbuf" ,gdk-pixbuf)
4096 ("libxml2" ,libxml2)
4097 ("libsoup" ,libsoup)
4098 ("geocode-glib" ,geocode-glib)))
4100 `(("tzdata" ,tzdata)))
4101 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4102 (synopsis "Location, time zone, and weather library for GNOME")
4104 "libgweather is a library to access weather information from online
4105 services for numerous locations.")
4106 (license license:gpl2+)))
4108 (define-public gnome-settings-daemon
4110 (name "gnome-settings-daemon")
4115 (uri (string-append "mirror://gnome/sources/" name "/"
4116 (version-major+minor version) "/"
4117 name "-" version ".tar.xz"))
4120 "02d0s0g2mmqfib44r3sf0499r08p61s8l2ndsjssbam1bi7x2dks"))))
4121 (build-system meson-build-system)
4125 (list (string-append "-Dudev_dir="
4126 (assoc-ref %outputs "out")
4127 "/lib/udev/rules.d/")
4128 ;; Otherwise, the RUNPATH will lack the final path component.
4129 (string-append "-Dc_link_args=-Wl,-rpath="
4130 (assoc-ref %outputs "out")
4131 "/lib/gnome-settings-daemon-3.0"))
4132 ;; Color management test can't reach the colord system service.
4135 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4136 ("pkg-config" ,pkg-config)
4137 ("intltool" ,intltool)
4138 ("xsltproc" ,libxslt)
4139 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4140 ("docbook-xml" ,docbook-xml-4.2)
4141 ("docbook-xsl" ,docbook-xsl)))
4143 `(("alsa-lib" ,alsa-lib)
4145 ("libgudev" ,libgudev)
4148 ("pulseaudio" ,pulseaudio)
4149 ("libcanberra" ,libcanberra)
4151 ("libxtst" ,libxtst)
4153 ("libnotify" ,libnotify)
4154 ("geoclue" ,geoclue)
4155 ("geocode-glib" ,geocode-glib)
4156 ("libgweather" ,libgweather)
4157 ("gnome-desktop" ,gnome-desktop)
4160 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4161 ("libwacom" ,libwacom)
4162 ("librsvg" ,librsvg)
4163 ("xf86-input-wacom" ,xf86-input-wacom)
4164 ("wayland" ,wayland)
4165 ("network-manager" ,network-manager)))
4166 (home-page "https://www.gnome.org")
4167 (synopsis "GNOME settings daemon")
4169 "This package contains the daemon responsible for setting the various
4170 parameters of a GNOME session and the applications that run under it. It
4171 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4172 settings, themes, mouse settings, and startup of other daemons.")
4173 (license license:gpl2+)))
4175 (define-public totem-pl-parser
4177 (name "totem-pl-parser")
4181 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4182 (version-major+minor version) "/"
4183 "totem-pl-parser-" version ".tar.xz"))
4186 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
4187 (build-system meson-build-system)
4189 ;; FIXME: Tests require gvfs.
4192 `(("intltool" ,intltool)
4193 ("glib" ,glib "bin")
4194 ("gobject-introspection" ,gobject-introspection)
4195 ("pkg-config" ,pkg-config)))
4199 ("libarchive" ,libarchive)
4200 ("libgcrypt" ,libgcrypt)
4201 ("libxml2" ,libxml2)))
4203 `(("libsoup" ,libsoup)))
4204 (home-page "https://projects.gnome.org/totem")
4205 (synopsis "Library to parse and save media playlists for GNOME")
4206 (description "Totem-pl-parser is a GObjects-based library to parse and save
4207 playlists in a variety of formats.")
4208 (license license:lgpl2.0+)))
4210 (define-public aisleriot
4216 (uri (string-append "mirror://gnome/sources/aisleriot/"
4217 (version-major+minor version) "/"
4218 "aisleriot-" version ".tar.xz"))
4221 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
4222 (build-system glib-or-gtk-build-system)
4225 '("--with-platform=gtk-only"
4226 "--with-card-theme-formats=svg")))
4228 `(("desktop-file-utils" ,desktop-file-utils)
4229 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4230 ("intltool" ,intltool)
4231 ("itstool" ,itstool)
4232 ("pkg-config" ,pkg-config)
4233 ("xmllint" ,libxml2)))
4236 ("guile" ,guile-2.2)
4237 ("libcanberra" ,libcanberra)
4238 ("librsvg" ,librsvg)))
4239 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4240 (synopsis "Solitaire card games")
4242 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4243 which are easy to play with the aid of a mouse.")
4244 (license license:gpl3+)))
4252 (uri (string-append "mirror://gnome/sources/amtk/"
4253 (version-major+minor version) "/"
4254 "amtk-" version ".tar.xz"))
4257 "09yy95w1s83c43mh9vha1jbb780yighf5pd2j0ygjmc68sjg871d"))))
4258 (build-system gnu-build-system)
4260 '(#:configure-flags '("--enable-gtk-doc")))
4262 `(("gobject-introspection" ,gobject-introspection)
4263 ("glib:bin" ,glib "bin") ; for glib-mkenums
4264 ("gtk-doc" ,gtk-doc)
4265 ("pkg-config" ,pkg-config)))
4269 (home-page "https://wiki.gnome.org/Projects/Amtk")
4270 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4272 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4273 It is a basic GtkUIManager replacement based on GAction. It is suitable for
4274 both a traditional UI or a modern UI with a GtkHeaderBar.")
4275 (license license:lgpl2.1+)))
4277 (define-public devhelp
4283 (uri (string-append "mirror://gnome/sources/" name "/"
4284 (version-major+minor version) "/"
4285 name "-" version ".tar.xz"))
4288 "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq"))))
4289 (build-system meson-build-system)
4293 (modify-phases %standard-phases
4294 (add-after 'unpack 'skip-gtk-update-icon-cache
4295 ;; Don't create 'icon-theme.cache'.
4297 (substitute* "meson_post_install.py"
4298 (("gtk-update-icon-cache") "true"))
4301 `(("intltool" ,intltool)
4302 ("itstool" ,itstool)
4303 ("gobject-introspection" ,gobject-introspection)
4304 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4305 ("pkg-config" ,pkg-config)))
4308 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4309 ("webkitgtk" ,webkitgtk)))
4310 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4311 (synopsis "API documentation browser for GNOME")
4313 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4314 natively with GTK-Doc (the API reference system developed for GTK+ and used
4315 throughout GNOME for API documentation).")
4316 (license license:gpl2+)))
4325 (uri (string-append "mirror://gnome/sources/cogl/"
4326 (version-major+minor version) "/"
4327 "cogl-" version ".tar.xz"))
4329 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
4330 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4331 ;; cogl, corresponding changes may be appropriate in mutter as well.
4332 (build-system gnu-build-system)
4334 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4335 ("gobject-introspection" ,gobject-introspection)
4336 ;;("xorg-server" ,xorg-server) ; for the test suite
4337 ("pkg-config" ,pkg-config)))
4340 ("gdk-pixbuf" ,gdk-pixbuf)
4342 ("libxext" ,libxext)
4343 ("libxfixes" ,libxfixes)
4344 ("libxdamage" ,libxdamage)
4345 ("libxcomposite" ,libxcomposite)
4346 ("libxrandr" ,libxrandr)))
4351 ("gstreamer" ,gstreamer)
4352 ("gst-plugins-base" ,gst-plugins-base)
4353 ("wayland" ,wayland)))
4355 `(#:configure-flags (list "--enable-cogl-gst"
4356 "--enable-wayland-egl-platform"
4357 "--enable-wayland-egl-server"
4359 ;; Arrange to pass an absolute file name to
4360 ;; dlopen for libGL.so.
4361 (string-append "--with-gl-libname="
4362 (assoc-ref %build-inputs "mesa")
4364 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4365 ;; _FontTransOpen: Unable to Parse address
4366 ;; ${prefix}/share/fonts/X11/misc/
4370 (modify-phases %standard-phases
4371 (add-before 'check 'start-xorg-server
4372 (lambda* (#:key inputs #:allow-other-keys)
4373 ;; The test suite requires a running X server.
4374 (system (format #f "~a/bin/Xvfb :1 &"
4375 (assoc-ref inputs "xorg-server")))
4376 (setenv "DISPLAY" ":1")
4378 (home-page "http://www.cogl3d.org")
4379 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4381 "Cogl is a small library for using 3D graphics hardware to draw pretty
4382 pictures. The API departs from the flat state machine style of OpenGL and is
4383 designed to make it easy to write orthogonal components that can render
4384 without stepping on each others toes.")
4385 (license (list license:expat ; most of the code
4386 license:bsd-3 ; cogl/cogl-point-in-poly.c
4387 license:sgifreeb2.0 ; cogl-path/tesselator/
4388 license:asl2.0)))) ; examples/android/
4390 (define-public clutter
4397 (uri (string-append "mirror://gnome/sources/" name "/"
4398 (version-major+minor version) "/"
4399 name "-" version ".tar.xz"))
4402 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
4403 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4404 ;; to clutter, corresponding changes may be appropriate in mutter as well.
4405 (build-system gnu-build-system)
4407 "doc")) ;9 MiB of gtk-doc HTML pages
4409 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4410 ("gobject-introspection" ,gobject-introspection)
4411 ("pkg-config" ,pkg-config)
4412 ("xsltproc" ,libxslt)))
4418 ("json-glib" ,json-glib)
4420 ("libxcomposite" ,libxcomposite)
4421 ("libxdamage" ,libxdamage)
4422 ("libxext" ,libxext)
4423 ("xinput" ,xinput)))
4425 `(("libxkbcommon" ,libxkbcommon)
4428 `(#:configure-flags (list "--enable-x11-backend=yes"
4430 ;; This produces share/doc/{clutter,cally}.
4431 (string-append "--with-html-dir="
4432 (assoc-ref %outputs "doc")
4434 ;; XXX FIXME: Get test suite working. It would probably fail in the
4435 ;; same way the cogl tests fail, since clutter is based on cogl.
4437 (home-page "http://www.clutter-project.org")
4438 (synopsis "OpenGL-based interactive canvas library")
4440 "Clutter is an OpenGL-based interactive canvas library, designed for
4441 creating fast, mainly 2D single window applications such as media box UIs,
4442 presentations, kiosk style applications and so on.")
4443 (license license:lgpl2.0+)))
4445 (define-public clutter-gtk
4447 (name "clutter-gtk")
4452 (uri (string-append "mirror://gnome/sources/" name "/"
4453 (version-major+minor version) "/"
4454 name "-" version ".tar.xz"))
4457 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
4458 (build-system gnu-build-system)
4460 `(("pkg-config" ,pkg-config)
4461 ("gobject-introspection" ,gobject-introspection)))
4463 ;; clutter-gtk.pc refers to all these.
4464 `(("clutter" ,clutter)
4466 (home-page "http://www.clutter-project.org")
4467 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
4469 "Clutter is an OpenGL-based interactive canvas library, designed for
4470 creating fast, mainly 2D single window applications such as media box UIs,
4471 presentations, kiosk style applications and so on.")
4472 (license license:lgpl2.0+)))
4474 (define-public clutter-gst
4476 (name "clutter-gst")
4481 (uri (string-append "mirror://gnome/sources/clutter-gst/"
4482 (version-major+minor version) "/"
4483 "clutter-gst-" version ".tar.xz"))
4485 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
4486 (build-system gnu-build-system)
4488 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4489 ("pkg-config" ,pkg-config)
4490 ("gobject-introspection" ,gobject-introspection)))
4492 `(("clutter" ,clutter)
4493 ("gstreamer" ,gstreamer)
4494 ("gst-plugins-base" ,gst-plugins-base)))
4495 (home-page "http://www.clutter-project.org")
4496 (synopsis "Integration library for using GStreamer with Clutter")
4498 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4499 It provides a GStreamer sink to upload frames to GL and an actor that
4500 implements the ClutterGstPlayer interface using playbin. Clutter is an
4501 OpenGL-based interactive canvas library.")
4502 (license license:lgpl2.0+)))
4504 (define-public libchamplain
4506 (name "libchamplain")
4511 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4515 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
4516 (build-system gnu-build-system)
4517 (arguments '(#:configure-flags '("--enable-vala")))
4519 `(("gobject-introspection" ,gobject-introspection)
4520 ("pkg-config" ,pkg-config)
4523 `(("libsoup" ,libsoup)
4525 ("clutter" ,clutter)
4526 ("clutter-gtk" ,clutter-gtk)
4527 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4531 (home-page "https://projects.gnome.org/libchamplain/")
4532 (synopsis "C library providing a ClutterActor to display maps")
4534 "libchamplain is a C library providing a ClutterActor to display maps.
4535 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4536 and Perl bindings are also available. It supports numerous free map sources
4537 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4538 (license license:lgpl2.1+)))
4547 (uri (string-append "mirror://gnome/sources/gom/"
4548 (version-major+minor version) "/"
4549 "gom-" version ".tar.xz"))
4552 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
4553 (build-system gnu-build-system)
4555 `(("intltool" ,intltool)
4556 ("pkg-config" ,pkg-config)
4557 ("gobject-introspection" ,gobject-introspection)))
4560 ("gdk-pixbuf" ,gdk-pixbuf)
4561 ("sqlite" ,sqlite)))
4562 ;; XXX TODO: Figure out how to run the test suite.
4563 (arguments `(#:tests? #f))
4564 (home-page "https://wiki.gnome.org/Projects/Gom")
4565 (synopsis "Object mapper from GObjects to SQLite")
4567 "Gom provides an object mapper from GObjects to SQLite. It helps you
4568 write applications that need to store structured data as well as make complex
4569 queries upon that data.")
4570 (license license:lgpl2.1+)))
4572 (define-public libgnome-games-support
4574 (name "libgnome-games-support")
4578 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
4579 (version-major+minor version) "/"
4580 "libgnome-games-support-" version ".tar.xz"))
4583 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
4584 (build-system gnu-build-system)
4587 (modify-phases %standard-phases
4588 (add-before 'check 'pre-check
4590 ;; Tests require a writable HOME.
4591 (setenv "HOME" (getcwd))
4594 `(("intltool" ,intltool)
4595 ("pkg-config" ,pkg-config)
4598 ;; Required by libgnome-games-support-1.0.pc
4600 ("libgee" ,libgee)))
4601 (home-page "https://www.gnome.org/")
4602 (synopsis "Useful functionality shared among GNOME games")
4604 "libgnome-games-support is a small library intended for internal use by
4605 GNOME Games, but it may be used by others.")
4606 (license license:lgpl3+)))
4608 (define-public gnome-klotski
4610 (name "gnome-klotski")
4614 (uri (string-append "mirror://gnome/sources/" name "/"
4615 (version-major+minor version) "/"
4616 name "-" version ".tar.xz"))
4619 "1p4s15gxj6gasix22z9vlx2yrx196fvcxr6v6qrl569idfgjbi72"))))
4620 (build-system meson-build-system)
4624 (modify-phases %standard-phases
4625 (add-after 'unpack 'skip-gtk-update-icon-cache
4626 ;; Don't create 'icon-theme.cache'.
4628 (substitute* "build-aux/meson_post_install.py"
4629 (("gtk-update-icon-cache") (which "true")))
4632 `(("desktop-file-utils" ,desktop-file-utils)
4633 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4634 ("intltool" ,intltool)
4635 ("itstool" ,itstool)
4636 ("pkg-config" ,pkg-config)
4638 ("xmllint" ,libxml2)))
4641 ("libgnome-games-support" ,libgnome-games-support)
4642 ("librsvg" ,librsvg)))
4643 (home-page "https://wiki.gnome.org/Apps/Klotski")
4644 (synopsis "Sliding block puzzles")
4646 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4647 the patterned block to the area bordered by green markers. To do so, you will
4648 need to slide other blocks out of the way. Complete each puzzle in as few moves
4650 (license license:gpl2+)))
4652 (define-public grilo
4659 (uri (string-append "mirror://gnome/sources/" name "/"
4660 (version-major+minor version) "/"
4661 name "-" version ".tar.xz"))
4664 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
4665 (build-system meson-build-system)
4667 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4668 ("intltool" ,intltool)
4669 ("pkg-config" ,pkg-config)
4670 ("gobject-introspection" ,gobject-introspection)
4671 ("gtk-doc" ,gtk-doc)
4674 `(("cyrus-sasl" ,cyrus-sasl)
4677 ("libxml2" ,libxml2)
4678 ("liboauth" ,liboauth)
4679 ("libsoup" ,libsoup)
4680 ("totem-pl-parser" ,totem-pl-parser)))
4681 (native-search-paths
4682 (list (search-path-specification
4683 (variable "GRL_PLUGIN_PATH")
4684 (files (list (string-append "lib/grilo-"
4685 (version-major+minor version)))))))
4686 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
4687 (synopsis "Framework for discovering and browsing media")
4689 "Grilo is a framework focused on making media discovery and browsing easy
4690 for application developers.")
4691 (license license:lgpl2.1+)))
4693 (define-public grilo-plugins
4695 (name "grilo-plugins")
4700 (uri (string-append "mirror://gnome/sources/" name "/"
4701 (version-major+minor version) "/"
4702 name "-" version ".tar.xz"))
4705 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4706 (build-system meson-build-system)
4708 `(("gettext" ,gettext-minimal)
4709 ("glib:bin" ,glib "bin")
4710 ("gtk+:bin" ,gtk+ "bin")
4711 ("itstool" ,itstool)
4712 ("pkg-config" ,pkg-config)))
4713 ;; TODO: ahavi, gstreamer
4716 ;("gmime" ,gmime) ; unused
4717 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
4719 ;("gssdp" ,gssdp) ; unused
4720 ;("gupnp" ,gupnp) ; unused
4721 ;("gupnp-av" ,gupnp-av) ; unused
4722 ("json-glib" ,json-glib)
4724 ("libgdata" ,libgdata)
4725 ("libmediaart" ,libmediaart)
4726 ;("librest" ,rest) ; unused
4727 ("libsoup" ,libsoup)
4728 ("totam-pl-parser" ,totem-pl-parser)
4729 ("tracker" ,tracker))) ; unused because it's too old
4732 ;;Disable lua-factory as it needs missing dependencies
4733 #:configure-flags '("-Denable-lua-factory=no")))
4734 (home-page "https://live.gnome.org/Grilo")
4735 (synopsis "Plugins for the Grilo media discovery library")
4737 "Grilo is a framework focused on making media discovery and browsing easy
4738 for application developers. This package provides plugins for common media
4739 discovery protocols.")
4740 (license license:lgpl2.1+)))
4742 (define-public totem
4749 (uri (string-append "mirror://gnome/sources/" name "/"
4750 (version-major+minor version) "/"
4751 name "-" version ".tar.xz"))
4754 "0yra8apc7smpwf7d1k8crhrm8d4wix24ds6i9yxbch1v11jnhr3v"))))
4755 (build-system meson-build-system)
4757 `(("pkg-config" ,pkg-config)
4758 ("desktop-file-utils" ,desktop-file-utils)
4759 ("gobject-introspection" ,gobject-introspection)
4760 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4761 ("intltool" ,intltool)
4762 ("itstool" ,itstool)
4763 ("xmllint" ,libxml2)
4764 ("python-pylint" ,python-pylint)
4765 ("xorg-server" ,xorg-server-for-tests)))
4767 `(("dconf" ,dconf)))
4770 ("gdk-pixbuf" ,gdk-pixbuf)
4773 ("dbus-glib" ,dbus-glib)
4774 ("clutter" ,clutter)
4775 ("clutter-gtk" ,clutter-gtk)
4776 ("clutter-gst" ,clutter-gst)
4777 ("xorgproto" ,xorgproto)
4778 ("libxxf86vm" ,libxxf86vm)
4779 ("libxtst" ,libxtst)
4780 ("libxrandr" ,libxrandr)
4781 ("libxml2" ,libxml2)
4782 ("libsoup" ,libsoup)
4783 ("libpeas" ,libpeas)
4784 ("librsvg" ,librsvg)
4786 ("gnome-desktop" ,gnome-desktop)
4787 ("gstreamer" ,gstreamer)
4788 ("gst-plugins-base" ,gst-plugins-base)
4789 ("gst-plugins-good" ,gst-plugins-good)
4790 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4791 ("adwaita-icon-theme" ,adwaita-icon-theme)
4793 ("python-pygobject" ,python-pygobject)
4794 ("totem-pl-parser" ,totem-pl-parser)
4796 ("grilo-plugins" ,grilo-plugins)
4801 ;; Disable automatic GStreamer plugin installation via PackageKit and
4803 #:configure-flags '("-D" "enable-easy-codec-installation=no"
4805 ;; Do not build .a files for the plugins, it's
4806 ;; completely useless. This saves 2 MiB.
4807 "--default-library" "shared")
4809 (modify-phases %standard-phases
4810 (add-after 'unpack 'skip-gtk-update-icon-cache
4811 ;; Don't create 'icon-theme.cache'.
4813 (substitute* "meson_post_install.py"
4814 (("gtk-update-icon-cache") "true"))
4817 'install 'disable-cache-generation
4819 (setenv "DESTDIR" "/")
4824 ;; Tests require a running X server.
4825 (system "Xvfb :1 &")
4826 (setenv "DISPLAY" ":1")
4829 'install 'wrap-totem
4830 (lambda* (#:key inputs outputs #:allow-other-keys)
4831 (let ((out (assoc-ref outputs "out"))
4832 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4833 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4834 (wrap-program (string-append out "/bin/totem")
4835 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4836 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4837 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4838 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4840 (home-page "https://wiki.gnome.org/Apps/Videos")
4841 (synopsis "Simple media player for GNOME based on GStreamer")
4842 (description "Totem is a simple yet featureful media player for GNOME
4843 which can read a large number of file formats.")
4844 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4845 ;; to be used and distributed together with GStreamer and Totem. See
4846 ;; file://COPYING in the source distribution for details.
4847 (license license:gpl2+)))
4849 (define-public rhythmbox
4855 (uri (string-append "mirror://gnome/sources/" name "/"
4856 (version-major+minor version) "/"
4857 name "-" version ".tar.xz"))
4860 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
4861 (build-system glib-or-gtk-build-system)
4864 (list "--enable-lirc"
4871 (modify-phases %standard-phases
4873 'install 'wrap-rhythmbox
4874 (lambda* (#:key inputs outputs #:allow-other-keys)
4875 (let ((out (assoc-ref outputs "out"))
4876 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4877 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4878 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4879 (python-path (getenv "PYTHONPATH")))
4880 (wrap-program (string-append out "/bin/rhythmbox")
4881 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4882 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
4883 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
4884 `("PYTHONPATH" ":" prefix (,python-path))))
4887 `(("dconf" ,dconf)))
4889 `(("itstool" ,itstool)
4890 ("intltool" ,intltool)
4891 ("glib" ,glib "bin")
4892 ("gobject-introspection" ,gobject-introspection)
4893 ("desktop-file-utils" ,desktop-file-utils)
4894 ("pkg-config" ,pkg-config)
4895 ("xmllint" ,libxml2)))
4897 `(("json-glib" ,json-glib)
4899 ("gnome-desktop" ,gnome-desktop)
4901 ("python-pygobject" ,python2-pygobject)
4904 ("adwaita-icon-theme" ,adwaita-icon-theme)
4906 ("grilo-plugins" ,grilo-plugins)
4907 ("gstreamer" ,gstreamer)
4908 ("gst-plugins-base" ,gst-plugins-base)
4909 ("gst-plugins-good" ,gst-plugins-good)
4910 ("totem-pl-parser" ,totem-pl-parser)
4911 ("libgudev" ,libgudev)
4912 ;;("libmtp" ,libmtp) FIXME: Not detected
4913 ("libsecret" ,libsecret)
4914 ("libsoup" ,libsoup)
4915 ("libnotify" ,libnotify)
4916 ("libpeas" ,libpeas)
4918 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4919 ;;("clutter" ,clutter)
4920 ;;("clutter-gtk" ,clutter-gtk)
4921 ;;("clutter-gst" ,clutter-gst)
4922 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4929 ("brasero" ,brasero)))
4930 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4931 (synopsis "Music player for GNOME")
4932 (description "Rhythmbox is a music playing application for GNOME. It
4933 supports playlists, song ratings, and any codecs installed through gstreamer.")
4934 (license license:gpl2+)))
4942 (uri (string-append "mirror://gnome/sources/" name "/"
4943 (version-major+minor version) "/"
4944 name "-" version ".tar.xz"))
4947 "1bcxpqgzlk2cy4wfb3b5h66mhpj2fhrk1rrb5qqcv5xrr62ik5xy"))))
4948 (build-system meson-build-system)
4951 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4952 (list (string-append "-Dc_link_args=-Wl,-rpath="
4953 (assoc-ref %outputs "out") "/lib/eog"))
4955 (modify-phases %standard-phases
4956 (add-after 'unpack 'skip-gtk-update-icon-cache
4957 ;; Don't create 'icon-theme.cache'.
4959 (substitute* "meson_post_install.py"
4960 (("gtk-update-icon-cache") "true"))
4962 (add-after 'install 'wrap-eog
4963 (lambda* (#:key outputs #:allow-other-keys)
4964 (let ((out (assoc-ref outputs "out"))
4965 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4966 (wrap-program (string-append out "/bin/eog")
4967 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4970 `(("dconf" ,dconf)))
4972 `(("intltool" ,intltool)
4973 ("itstool" ,itstool)
4974 ("glib" ,glib "bin")
4975 ("gobject-introspection" ,gobject-introspection)
4976 ("pkg-config" ,pkg-config)
4977 ("xmllint" ,libxml2)))
4979 `(("gnome-desktop" ,gnome-desktop)
4980 ("shared-mime-info" ,shared-mime-info)
4981 ("adwaita-icon-theme" ,adwaita-icon-theme)
4984 ("libexif" ,libexif)
4985 ("libpeas" ,libpeas)
4986 ("libjpeg" ,libjpeg)
4987 ("librsvg" ,librsvg)
4988 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4990 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4991 (synopsis "GNOME image viewer")
4992 (description "Eye of GNOME is the GNOME image viewer. It
4993 supports image conversion, rotation, and slideshows.")
4994 (license license:gpl2+)))
4996 (define-public eog-plugins
4997 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4998 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4999 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5000 ;; 'XDG_DATA_DIRS' appropriately set.
5002 (name "eog-plugins")
5006 (uri (string-append "mirror://gnome/sources/eog-plugins/"
5007 (version-major+minor version) "/"
5008 "eog-plugins-" version ".tar.xz"))
5011 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
5012 (build-system gnu-build-system)
5013 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5014 (synopsis "Extensions for the Eye of GNOME image viewer")
5016 `(("pkg-config" ,pkg-config)
5017 ("gettext" ,gnu-gettext)))
5022 ("libpeas" ,libpeas)
5023 ("libexif" ,libexif)
5024 ("libchamplain" ,libchamplain)))
5026 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5030 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
5031 @item @dfn{Map}, which displays a map of where the picture was taken on the
5033 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5036 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5037 ;; long suspicious byte stream that goes to a
5038 ;; ".gresource.eog_postasa_plugin" ELF section.
5039 (license license:gpl2+)))
5041 (define-public libgudev
5047 (uri (string-append "mirror://gnome/sources/" name "/"
5048 version "/" name "-" version ".tar.xz"))
5051 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
5052 (build-system gnu-build-system)
5055 ;; umockdev depends on libgudev.
5056 (list "--disable-umockdev")))
5058 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5059 ("gobject-introspection" ,gobject-introspection)
5060 ("pkg-config" ,pkg-config)))
5062 `(("glib" ,glib))) ; required by gudev-1.0.pc
5065 (home-page "https://wiki.gnome.org/Projects/libgudev")
5066 (synopsis "GObject bindings for libudev")
5068 "This library provides GObject bindings for libudev. It was originally
5069 part of udev-extras, then udev, then systemd. It's now a project on its own.")
5070 (license license:lgpl2.1+)))
5078 (uri (string-append "mirror://gnome/sources/gvfs/"
5079 (version-major+minor version) "/"
5080 "gvfs-" version ".tar.xz"))
5083 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
5084 (build-system meson-build-system)
5088 (list "-Dsystemduserunitdir=no"
5090 ;; Otherwise, the RUNPATH will lack the final path component.
5091 (string-append "-Dc_link_args=-Wl,-rpath="
5092 (assoc-ref %outputs "out") "/lib/gvfs"))))
5094 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5095 ("gettext" ,gettext-minimal)
5096 ("gtk-doc" ,gtk-doc)
5097 ("pkg-config" ,pkg-config)
5098 ("xsltproc" ,libxslt)))
5101 ("docbook-xml" ,docbook-xml-4.2)
5102 ("docbook-xsl" ,docbook-xsl)
5104 ("elogind" ,elogind)
5108 ("gnome-online-accounts" ,gnome-online-accounts)
5109 ("libarchive" ,libarchive)
5110 ("libbluray" ,libbluray)
5112 ("libcdio-paranoia" ,libcdio-paranoia)
5113 ("libgcrypt" ,libgcrypt)
5114 ("libgdata" ,libgdata)
5115 ("libgphoto2" ,libgphoto2)
5116 ("libgudev" ,libgudev)
5117 ("libimobiledevice" ,libimobiledevice)
5120 ("libsecret" ,libsecret)
5121 ("libsmbclient" ,samba)
5122 ("libsoup" ,libsoup)
5123 ("libxml2" ,libxml2)
5124 ("openssh" ,openssh)
5126 ("udisks" ,udisks)))
5127 (home-page "https://wiki.gnome.org/gvfs/")
5128 (synopsis "Userspace virtual file system for GIO")
5130 "GVFS is a userspace virtual file system designed to work with the I/O
5131 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5132 to all applications using the GIO API. It also supports exposing the GVFS
5133 mounts to non-GIO applications using FUSE.
5135 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5137 (license license:lgpl2.0+)))
5146 (url "https://github.com/hughsie/libgusb.git")
5148 (file-name (git-file-name name version))
5151 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
5152 (build-system meson-build-system)
5154 `(("gobject-introspection" ,gobject-introspection)
5155 ("pkg-config" ,pkg-config)
5157 ("gtk-doc" ,gtk-doc)))
5159 ;; Both of these are required by gusb.pc.
5161 ("libusb" ,libusb)))
5163 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
5164 (home-page "https://github.com/hughsie/libgusb")
5165 (synopsis "GLib binding for libusb1")
5167 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5168 asynchronous control, bulk and interrupt transfers with proper cancellation
5169 and integration into a mainloop. This makes it easy to integrate low level
5170 USB transfers with your high-level application or system daemon.")
5171 (license license:lgpl2.1+)))
5173 (define-public simple-scan
5175 (name "simple-scan")
5180 (uri (string-append "mirror://gnome/sources/simple-scan/"
5181 (version-major+minor version) "/"
5182 "simple-scan-" version ".tar.xz"))
5184 (base32 "1fk3g4f9slckqfwm576jrjq1d1qihw0dlgzdf00ns7qbhzb0kxsp"))))
5185 (build-system meson-build-system)
5186 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5188 '(#:glib-or-gtk? #t))
5194 ("gdk-pixbuf" ,gdk-pixbuf)
5196 ("libsane" ,sane-backends)))
5198 `(("gettext" ,gettext-minimal)
5199 ("itstool" ,itstool)
5200 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
5201 ("pkg-config" ,pkg-config)
5203 ("xmllint" ,libxml2)))
5204 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
5205 (synopsis "Document and image scanner")
5207 "Document Scanner is an easy-to-use application that lets you connect your
5208 scanner and quickly capture images and documents in an appropriate format. It
5209 supports any scanner for which a suitable SANE driver is available, which is
5210 almost all of them.")
5211 (license license:gpl3+)))
5213 (define-public eolie
5219 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
5220 "uploads/d42b466752729a0d3fa828a721e25043/"
5221 "eolie-" version ".tar.xz"))
5224 "11pp8g0w22h1q0bbj9517l5838gcymvvp8fp9kh6h2dmgir2ssih"))))
5225 (build-system meson-build-system)
5229 (modify-phases %standard-phases
5230 (add-after 'unpack 'skip-gtk-update-icon-cache
5231 ;; Don't create 'icon-theme.cache'.
5233 (substitute* "meson_post_install.py"
5234 (("gtk-update-icon-cache") "true"))
5236 (add-after 'wrap 'wrap-more
5237 (lambda* (#:key inputs outputs #:allow-other-keys)
5238 (let* ((out (assoc-ref outputs "out"))
5239 ;; These libraries must be on LD_LIBRARY_PATH.
5240 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5241 "atk" "gtk+" "gsettings-desktop-schemas"
5242 "gobject-introspection"))
5245 (string-append (assoc-ref inputs lib) "/lib"))
5248 (wrap-program (string-append out "/bin/eolie")
5249 `("LD_LIBRARY_PATH" ":" prefix (,path))
5250 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5251 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5254 `(("intltool" ,intltool)
5255 ("itstool" ,itstool)
5256 ("pkg-config" ,pkg-config)
5258 ("glib:bin" ,glib "bin")))
5260 `(("gobject-introspection" ,gobject-introspection)
5261 ("glib-networking" ,glib-networking)
5264 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5265 ("python" ,python-wrapper)
5266 ("python-dateutil" ,python-dateutil)
5267 ("python-pyfxa" ,python-pyfxa)
5268 ("python-pygobject" ,python-pygobject)
5269 ("python-pycairo" ,python-pycairo)
5270 ("python-pycrypto" ,python-pycrypto)
5271 ("libsecret" ,libsecret)
5272 ("gtkspell3" ,gtkspell3)
5273 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5274 ("webkitgtk" ,webkitgtk)))
5275 (home-page "https://wiki.gnome.org/Apps/Eolie")
5276 (synopsis "Web browser for GNOME")
5278 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5279 a secret password store, an adblocker, and a modern UI.")
5280 (license license:gpl3+)))
5282 (define-public epiphany
5288 (uri (string-append "mirror://gnome/sources/epiphany/"
5289 (version-major+minor version) "/"
5290 "epiphany-" version ".tar.xz"))
5293 "1hj4yy53fwh96h17cqiw3gxc070vmc7yqwc7phvhnpyinkp9g5my"))))
5295 (build-system meson-build-system)
5297 ;; FIXME: tests run under Xvfb, but fail with:
5298 ;; /src/bookmarks/ephy-bookmarks/create:
5299 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
5305 (modify-phases %standard-phases
5306 (add-after 'unpack 'skip-gtk-update-icon-cache
5307 ;; Don't create 'icon-theme.cache'.
5309 (substitute* "post_install.py"
5310 (("gtk-update-icon-cache") "true"))
5313 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5314 (list (string-append "-Dc_link_args=-Wl,-rpath="
5315 (assoc-ref %outputs "out") "/lib/epiphany"))))
5317 `(("dconf" ,dconf)))
5319 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5320 ("glib:bin" ,glib "bin") ; for glib-mkenums
5321 ("intltool" ,intltool)
5322 ("itstool" ,itstool)
5323 ("pkg-config" ,pkg-config)
5324 ("xmllint" ,libxml2)))
5328 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
5329 ("glib-networking" ,glib-networking)
5330 ("gnome-desktop" ,gnome-desktop)
5331 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5332 ("json-glib" ,json-glib)
5333 ("iso-codes" ,iso-codes)
5334 ("libdazzle" ,libdazzle)
5335 ("libnotify" ,libnotify)
5336 ("libsecret" ,libsecret)
5337 ("libxslt" ,libxslt)
5338 ("nettle" ,nettle) ; for hogweed
5340 ("webkitgtk" ,webkitgtk)))
5341 (home-page "https://wiki.gnome.org/Apps/Web")
5342 (synopsis "GNOME web browser")
5344 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5345 principles are simplicity and standards compliance.")
5346 (license license:gpl2+)))
5348 (define-public d-feet
5354 (uri (string-append "mirror://gnome/sources/" name "/"
5355 (version-major+minor version) "/"
5356 name "-" version ".tar.xz"))
5359 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
5360 (build-system glib-or-gtk-build-system)
5362 '(#:out-of-source? #f ; tests need to run in the source directory.
5364 (modify-phases %standard-phases
5368 ;; The test suite requires a running X server.
5369 (system "Xvfb :1 &")
5370 (setenv "DISPLAY" ":1")
5371 ;; Don't fail on missing '/etc/machine-id'.
5372 (setenv "DBUS_FATAL_WARNINGS" "0")
5373 ;; tests.py and window.py don't meet E402:
5374 ;; E402 module level import not at top of file
5375 (substitute* "src/tests/Makefile"
5376 (("--ignore=E123") "--ignore=E123,E402"))
5379 'install 'wrap-program
5380 (lambda* (#:key outputs #:allow-other-keys)
5381 (let ((prog (string-append (assoc-ref outputs "out")
5384 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
5385 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5388 `(("intltool" ,intltool)
5389 ("itstool" ,itstool)
5390 ("pkg-config" ,pkg-config)
5391 ("python-pep8" ,python-pep8)
5392 ("xmllint" ,libxml2)
5393 ("xorg-server" ,xorg-server-for-tests)))
5395 `(("gobject-introspection" ,gobject-introspection)
5397 ("python" ,python-wrapper)
5398 ("hicolor-icon-theme" ,hicolor-icon-theme)
5399 ("python-pygobject" ,python-pygobject)))
5400 (home-page "https://wiki.gnome.org/Apps/DFeet")
5401 (synopsis "D-Bus debugger")
5403 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5404 of running programs and invoke methods on those interfaces.")
5405 (license license:gpl2+)))
5407 (define-public yelp-xsl
5413 (uri (string-append "mirror://gnome/sources/" name "/"
5414 (version-major+minor version) "/"
5415 name "-" version ".tar.xz"))
5418 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
5419 (build-system gnu-build-system)
5421 `(("intltool" ,intltool)
5422 ("itstool" ,itstool)
5423 ("xmllint" ,libxml2)))
5424 (home-page "https://wiki.gnome.org/Apps/Yelp")
5425 (synopsis "XSL stylesheets for Yelp")
5427 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5428 to format Docbook and Mallard documents.")
5429 (license license:gpl2+)))
5437 (uri (string-append "mirror://gnome/sources/" name "/"
5438 (version-major+minor version) "/"
5439 name "-" version ".tar.xz"))
5442 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
5443 (build-system glib-or-gtk-build-system)
5445 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5446 ("intltool" ,intltool)
5447 ("itstool" ,itstool)
5448 ("pkg-config" ,pkg-config)))
5450 `(("dconf" ,dconf)))
5452 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5453 ("libxslt" ,libxslt)
5455 ("webkitgtk" ,webkitgtk)
5456 ("yelp-xsl" ,yelp-xsl)))
5457 (home-page "https://wiki.gnome.org/Apps/Yelp")
5458 (synopsis "GNOME help browser")
5460 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5461 man, info, and HTML documents. It can locate documents according to the
5462 freedesktop.org help system specification.")
5463 (license license:gpl2+)))
5465 (define-public yelp-tools
5471 (uri (string-append "mirror://gnome/sources/" name "/"
5472 (version-major+minor version) "/"
5473 name "-" version ".tar.xz"))
5476 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
5477 (build-system gnu-build-system)
5479 `(("pkg-config" ,pkg-config)))
5481 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5482 `(("itstool" ,itstool)
5483 ("xmllint" ,libxml2)
5484 ("xsltproc" ,libxslt)))
5486 `(("yelp-xsl" ,yelp-xsl)))
5487 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5488 (synopsis "Yelp documentation tools")
5490 "Yelp-tools is a collection of scripts and build utilities to help create,
5491 manage, and publish documentation for Yelp and the web. Most of the heavy
5492 lifting is done by packages like yelp-xsl and itstool. This package just
5493 wraps things up in a developer-friendly way.")
5494 (license license:gpl2+)))
5496 (define-public libgee
5502 (uri (string-append "mirror://gnome/sources/libgee/"
5503 (version-major+minor version) "/"
5504 "libgee-" version ".tar.xz"))
5507 "0g1mhl7nidg82v4cikkk8dakzc18hg7wv0dsf2pbyijzfm5mq0wy"))))
5508 (build-system gnu-build-system)
5511 (modify-phases %standard-phases
5512 (add-after 'unpack 'fix-introspection-install-dir
5513 (lambda* (#:key outputs #:allow-other-keys)
5514 (let ((out (assoc-ref outputs "out")))
5515 (substitute* "gee/Makefile.in"
5516 (("@INTROSPECTION_GIRDIR@")
5517 (string-append out "/share/gir-1.0/"))
5518 (("@INTROSPECTION_TYPELIBDIR@")
5519 (string-append out "/lib/girepository-1.0/")))))))))
5521 `(("glib" ,glib "bin")
5522 ("pkg-config" ,pkg-config)))
5525 ("gobject-introspection" ,gobject-introspection)))
5526 (home-page "https://wiki.gnome.org/Projects/Libgee")
5527 (synopsis "GObject collection library")
5529 "Libgee is a utility library providing GObject-based interfaces and
5530 classes for commonly used data structures.")
5531 (license license:lgpl2.1+)))
5533 (define-public gexiv2
5539 (uri (string-append "mirror://gnome/sources/" name "/"
5540 (version-major+minor version) "/"
5541 name "-" version ".tar.xz"))
5544 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
5545 (build-system meson-build-system)
5548 ("glib" ,glib "bin")
5549 ("pkg-config" ,pkg-config)
5552 ;; Listed in "Requires" section of gexiv2.pc
5553 `(("exiv2" ,exiv2)))
5556 ("gobject-introspection" ,gobject-introspection)))
5557 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5558 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5560 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5561 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5562 metadata in photo and video files of various formats.")
5563 (license license:gpl2+)))
5565 (define-public shotwell
5571 (uri (string-append "mirror://gnome/sources/shotwell/"
5572 (version-major+minor version) "/"
5573 "shotwell-" version ".tar.xz"))
5576 "1m9i8r4gyd2hzlxjjwfyck4kz7gdg2vz2k6l6d0ga9hdfq2l4p9l"))))
5577 (build-system meson-build-system)
5581 (modify-phases %standard-phases
5582 (add-after 'unpack 'skip-gtk-update-icon-cache
5584 (substitute* "build-aux/meson/postinstall.py"
5585 (("gtk-update-icon-cache") (which "true"))
5586 (("update-desktop-database") (which "true")))
5589 `(("dconf" ,dconf)))
5591 `(("gettext" ,gettext-minimal)
5592 ("glib:bin" ,glib "bin")
5593 ("itstool" ,itstool)
5594 ("pkg-config" ,pkg-config)
5599 ("gst-plugins-base" ,gst-plugins-base)
5600 ("gstreamer" ,gstreamer)
5601 ("json-glib" ,json-glib)
5602 ("libgdata" ,libgdata)
5604 ("libgphoto2" ,libgphoto2)
5605 ("libgudev" ,libgudev)
5607 ("libsoup" ,libsoup)
5608 ("libxml2" ,libxml2)
5610 ("webkitgtk" ,webkitgtk)))
5611 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5612 (synopsis "Photo manager for GNOME 3")
5614 "Shotwell is a digital photo manager designed for the GNOME desktop
5615 environment. It allows you to import photos from disk or camera, organize
5616 them by keywords and events, view them in full-window or fullscreen mode, and
5617 share them with others via social networking and more.")
5618 (license license:lgpl2.1+)))
5620 (define-public file-roller
5622 (name "file-roller")
5626 (uri (string-append "mirror://gnome/sources/file-roller/"
5627 (version-major+minor version) "/"
5628 "file-roller-" version ".tar.xz"))
5631 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
5632 (build-system meson-build-system)
5634 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5635 ("intltool" ,intltool)
5636 ("itstool" ,itstool)
5637 ("pkg-config" ,pkg-config)
5638 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5639 ("glib:bin" ,glib "bin")))
5640 ;; TODO: Add libnautilus.
5643 ("gdk-pixbuf" ,gdk-pixbuf)
5644 ("json-glib" ,json-glib)
5645 ("libarchive" ,libarchive)
5646 ("libnotify" ,libnotify)
5648 ("libxml2" ,libxml2)))
5649 (synopsis "Graphical archive manager for GNOME")
5650 (description "File Roller is an archive manager for the GNOME desktop
5651 environment that allows users to view, unpack, and create compressed archives
5652 such as gzip tarballs.")
5653 (home-page "http://fileroller.sourceforge.net/")
5654 (license license:gpl2+)))
5656 (define-public gnome-session
5658 (name "gnome-session")
5662 (uri (string-append "mirror://gnome/sources/" name "/"
5663 (version-major+minor version) "/"
5664 name "-" version ".tar.xz"))
5667 "0zrzkpd406i159mla7bfs5npa32fgqh66aip1rfq02rgsgmc9m5v"))))
5671 (modify-phases %standard-phases
5672 (add-before 'configure 'pre-configure
5673 (lambda* (#:key outputs #:allow-other-keys)
5674 ;; Use elogind instead of systemd.
5675 (substitute* "meson.build"
5676 (("libsystemd-login") "libelogind")
5677 (("and libsystemd_daemon_dep.found.*") ","))
5678 (substitute* "gnome-session/gsm-systemd.c"
5679 (("#include <systemd/sd-login.h>")
5680 "#include <elogind/sd-login.h>"))
5681 ;; Remove uses of the systemd daemon.
5682 (substitute* "gnome-session/gsm-autostart-app.c"
5683 (("#ifdef HAVE_SYSTEMD") "#if 0"))
5685 (add-after 'install 'wrap-gnome-session
5686 (lambda* (#:key inputs outputs #:allow-other-keys)
5687 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5688 (let ((glib (assoc-ref inputs "glib:bin"))
5689 (out (assoc-ref outputs "out")))
5690 (wrap-program (string-append out "/bin/gnome-session")
5691 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5695 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5696 "-Dman=false" ; FIXME: disabled because of docbook validation error
5697 "-Dsystemd_journal=false")))
5698 (build-system meson-build-system)
5700 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5701 ("pkg-config" ,pkg-config)
5702 ("intltool" ,intltool)
5703 ("xsltproc" ,libxslt)
5704 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5705 ("docbook-xsl" ,docbook-xsl)
5706 ("docbook-xml" ,docbook-xml)
5709 `(("elogind" ,elogind)
5710 ("gnome-desktop" ,gnome-desktop)
5711 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5713 ("json-glib" ,json-glib)
5715 ("libxcomposite" ,libxcomposite)
5716 ("libxtst" ,libxtst)
5719 ("xtrans" ,xtrans)))
5720 (synopsis "Session manager for GNOME")
5722 "This package contains the GNOME session manager, as well as a
5723 configuration program to choose applications starting on login.")
5724 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5725 (license license:gpl2+)))
5733 (uri (string-append "mirror://gnome/sources/" name "/"
5734 (version-major+minor version) "/"
5735 name "-" version ".tar.xz"))
5738 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
5739 (build-system gnu-build-system)
5742 (modify-phases %standard-phases
5746 ;; The test suite requires a running X server.
5747 (system "Xvfb :1 &")
5748 (setenv "DISPLAY" ":1")
5750 ;; For the missing /etc/machine-id.
5751 (setenv "DBUS_FATAL_WARNINGS" "0")
5753 ;; Our mozjs-38 package does not compile the required Intl API
5754 ;; support for these failing tests.
5755 (substitute* "installed-tests/js/testLocale.js"
5756 ((".*toBeDefined.*") "")
5757 ((".*expect\\(datestr\\).*") ""))
5758 (substitute* "installed-tests/scripts/testCommandLine.sh"
5763 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
5764 ("pkg-config" ,pkg-config)
5765 ("xmllint" ,libxml2)
5767 ("dbus-launch" ,dbus)
5768 ("uuidgen" ,util-linux)
5769 ("xvfb" ,xorg-server-for-tests)))
5771 ;; These are all in the Requires.private field of gjs-1.0.pc.
5773 ("gobject-introspection" ,gobject-introspection)
5774 ("mozjs" ,mozjs-60)))
5777 ("readline" ,readline)))
5778 (synopsis "Javascript bindings for GNOME")
5779 (home-page "https://live.gnome.org/Gjs")
5781 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5782 javascript engine and the GObject introspection framework.")
5783 (license license:gpl2+)))
5785 (define-public gedit
5791 (uri (string-append "mirror://gnome/sources/" name "/"
5792 (version-major+minor version) "/"
5793 name "-" version ".tar.xz"))
5796 "1q2rk7fym542c7k3bn2wlnzgy384gxacbifsjny0spbg95gfybvl"))))
5797 (build-system meson-build-system)
5801 ;; Otherwise, the RUNPATH will lack the final path component.
5802 (list (string-append "-Dc_link_args=-Wl,-rpath="
5803 (assoc-ref %outputs "out") "/lib/gedit"))
5805 ;; XXX: Generated .h files are sometimes used before being built.
5806 #:parallel-build? #f
5809 (modify-phases %standard-phases
5810 (add-after 'unpack 'skip-gtk-update-icon-cache
5811 ;; Don't create 'icon-theme.cache'.
5813 (substitute* "build-aux/meson/post_install.py"
5814 (("gtk-update-icon-cache") (which "true")))
5816 (add-after 'unpack 'patch-libgd-fetch
5817 (lambda* (#:key inputs #:allow-other-keys)
5818 (let ((libgd (assoc-ref inputs "libgd")))
5819 ;; Calling git is unnecessary because libgd is fetched as a
5820 ;; native input to this package.
5821 (substitute* "meson.build"
5823 (copy-recursively libgd "subprojects/libgd")
5825 (add-after 'install 'wrap-gedit
5826 (lambda* (#:key inputs outputs #:allow-other-keys)
5827 (let ((out (assoc-ref outputs "out"))
5828 (gtksourceview (assoc-ref inputs "gtksourceview"))
5829 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5830 (python-path (getenv "PYTHONPATH")))
5831 (wrap-program (string-append out "/bin/gedit")
5833 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5834 `("PYTHONPATH" ":" prefix (,python-path))
5835 ;; For language-specs.
5836 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5840 `(("dconf" ,dconf)))
5842 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5843 ("intltool" ,intltool)
5844 ("itstool" ,itstool)
5845 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5846 ("gobject-introspection" ,gobject-introspection)
5851 (url "https://gitlab.gnome.org/GNOME/libgd")
5852 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
5853 (file-name (git-file-name "libgd" version))
5855 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
5856 ("pkg-config" ,pkg-config)))
5861 ("gtksourceview" ,gtksourceview)
5862 ("libpeas" ,libpeas)
5863 ("libxml2" ,libxml2)
5864 ("iso-codes" ,iso-codes)
5865 ("python-pygobject" ,python-pygobject)
5867 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5870 ("adwaita-icon-theme" ,adwaita-icon-theme)
5871 ("libsoup" ,libsoup)
5872 ("gnome-desktop" ,gnome-desktop)))
5873 (home-page "https://wiki.gnome.org/Apps/Gedit")
5874 (synopsis "GNOME text editor")
5875 (description "While aiming at simplicity and ease of use, gedit is a
5876 powerful general purpose text editor.")
5877 (license license:gpl2+)))
5879 (define-public zenity
5885 (uri (string-append "mirror://gnome/sources/zenity/"
5886 (version-major+minor version) "/"
5887 "zenity-" version ".tar.xz"))
5890 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
5891 (build-system gnu-build-system)
5893 `(("gettext" ,gettext-minimal)
5894 ("itstool" ,itstool)
5895 ("pkg-config" ,pkg-config)))
5897 `(("libnotify" ,libnotify)
5898 ("webkitgtk" ,webkitgtk)))
5899 (synopsis "Display graphical dialog boxes from shell scripts")
5900 (home-page "https://www.gnome.org")
5902 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
5903 to display dialog boxes from the commandline and shell scripts.")
5904 (license license:lgpl2.0+)))
5906 (define-public mutter
5912 (uri (string-append "mirror://gnome/sources/" name "/"
5913 (version-major+minor version) "/"
5914 name "-" version ".tar.xz"))
5917 "1h577i2ap7dpfy1jg101jvc6nzccc0csgvd55ahydlr8f94frcva"))))
5918 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
5919 ;; versions of cogl and clutter. As a result, many of the inputs,
5920 ;; propagated-inputs, and configure flags used in cogl and clutter are
5921 ;; needed here as well.
5922 (build-system meson-build-system)
5924 '(;; XXX: All mutter tests fail with the following error:
5925 ;; Settings schema 'org.gnome.mutter' is not installed
5929 ;; Otherwise, the RUNPATH will lack the final path component.
5930 (list (string-append "-Dc_link_args=-Wl,-rpath="
5931 (assoc-ref %outputs "out") "/lib:"
5932 (assoc-ref %outputs "out") "/lib/mutter-4")
5934 ;; The following flags are needed for the bundled clutter
5935 (string-append "-Dxwayland_path="
5936 (assoc-ref %build-inputs "xorg-server-xwayland")
5939 ;; the remaining flags are needed for the bundled cogl
5940 (string-append "-Dopengl_libname="
5941 (assoc-ref %build-inputs "mesa")
5944 (modify-phases %standard-phases
5945 (add-after 'unpack 'disable-werror
5947 ;; XXX: build fails with [-Werror]:
5948 ;; backends/meta-cursor-renderer.c:112:5: error:
5949 ;; implicit declaration of function ?roundf?
5950 (substitute* "meson.build"
5951 (("'-Werror=.*',") ""))
5953 ;; Replace references to systemd libraries to elogind references.
5954 (add-before 'configure 'use-elogind
5956 (substitute* (list "meson.build"
5957 "src/backends/native/meta-launcher.c"
5959 (("systemd") "elogind"))
5962 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5963 ("gobject-introspection" ,gobject-introspection)
5964 ("intltool" ,intltool)
5965 ("pkg-config" ,pkg-config)
5966 ("xorg-server" ,xorg-server-for-tests)
5968 ("autoconf" ,autoconf)
5969 ("automake" ,automake)
5970 ("libtool" ,libtool)))
5972 `(;; libmutter.pc refers to these:
5973 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5975 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5978 ("gdk-pixbuf" ,gdk-pixbuf)
5980 ("json-glib" ,json-glib)
5981 ("libinput" ,libinput)
5983 ("libxcomposite" ,libxcomposite)
5984 ("libxdamage" ,libxdamage)
5985 ("libxext" ,libxext)
5986 ("libxfixes" ,libxfixes)
5987 ("libxkbcommon" ,libxkbcommon)
5988 ("libxrandr" ,libxrandr)
5992 ("xinput" ,xinput)))
5994 `(("elogind" ,elogind)
5995 ("gnome-desktop" ,gnome-desktop)
5996 ("gnome-settings-daemon" ,gnome-settings-daemon)
5997 ("libcanberra-gtk" ,libcanberra)
5998 ("libgudev" ,libgudev)
6001 ("libwacom" ,libwacom)
6002 ("libxkbfile" ,libxkbfile)
6003 ("libxrandr" ,libxrandr)
6004 ("libxtst" ,libxtst)
6005 ("pipewire" ,pipewire)
6006 ("startup-notification" ,startup-notification)
6007 ("upower-glib" ,upower)
6008 ("xkeyboard-config" ,xkeyboard-config)
6009 ("xorg-server-xwayland" ,xorg-server-xwayland)
6010 ("zenity" ,zenity)))
6011 (synopsis "Window and compositing manager")
6012 (home-page "https://www.gnome.org")
6014 "Mutter is a window and compositing manager that displays and manages your
6015 desktop via OpenGL. Mutter combines a sophisticated display engine using the
6016 Clutter toolkit with solid window-management logic inherited from the Metacity
6018 (license license:gpl2+)))
6020 (define-public gnome-online-accounts
6022 (name "gnome-online-accounts")
6026 (uri (string-append "mirror://gnome/sources/" name "/"
6027 (version-major+minor version) "/"
6028 name "-" version ".tar.xz"))
6031 "08g9kdj8fzcgp76z2zsj9m7wfjks9z6xfrfrbfmcr69k40mapfx8"))))
6032 (outputs '("out" "lib"))
6033 (build-system glib-or-gtk-build-system)
6036 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6038 (modify-phases %standard-phases
6039 (add-before 'configure 'patch-libgoa-output
6040 (lambda* (#:key outputs #:allow-other-keys)
6041 (let ((lib (assoc-ref outputs "lib")))
6042 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6044 (("@exec_prefix@") lib)
6045 (("@libdir@") (string-append lib "/lib"))
6046 (("@includedir@") (string-append lib "/include"))
6047 (("@datadir@") (string-append lib "/share")))
6048 ;; Make sure gobject-introspection knows about the output
6049 ;; too (see <https://bugs.gnu.org/36535>).
6050 (setenv "outputs" "out lib")
6053 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6054 ("gobject-introspection" ,gobject-introspection)
6055 ("intltool" ,intltool)
6056 ("pkg-config" ,pkg-config)
6058 ("xsltproc" ,libxslt)))
6060 `(("glib" ,glib) ; required by goa-1.0.pc
6061 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6063 `(("docbook-xsl" ,docbook-xsl)
6064 ("json-glib" ,json-glib)
6065 ("libsecret" ,libsecret)
6067 ("webkitgtk" ,webkitgtk)))
6068 (synopsis "Single sign-on framework for GNOME")
6069 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6071 "GNOME Online Accounts provides interfaces so that applications and
6072 libraries in GNOME can access the user's online accounts. It has providers for
6073 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6074 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6075 (license license:lgpl2.0+)))
6077 (define-public evolution-data-server
6079 (name "evolution-data-server")
6083 (uri (string-append "mirror://gnome/sources/" name "/"
6084 (version-major+minor version) "/"
6085 name "-" version ".tar.xz"))
6086 (patches (search-patches "evolution-data-server-locales.patch"))
6089 "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3"))))
6090 (build-system cmake-build-system)
6093 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6094 (runpaths (map (lambda (s)
6095 (string-append lib "/evolution-data-server/" s))
6096 '("addressbook-backends" "calendar-backends"
6097 "camel-providers" "credential-modules"
6098 "registry-modules"))))
6099 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6100 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6101 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6102 "-DENABLE_VALA_BINDINGS=ON"
6103 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6104 (string-append lib "/evolution-data-server;")
6105 (string-join runpaths ";"))
6106 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
6108 (modify-phases %standard-phases
6109 (add-after 'unpack 'disable-failing-tests
6111 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6112 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6113 (delete-file-recursively "tests/book-migration")
6114 (substitute* "tests/CMakeLists.txt"
6115 (("add_subdirectory\\(book-migration\\)") ""))
6116 ;; tests/libebook/client/test-book-client-view-operations:8077):
6117 ;; e-data-server-WARNING **:
6118 ;; (src/libedataserver/e-source-registry.c:264):thread_closure_free:
6119 ;; runtime check failed:
6120 ;; (!g_main_context_pending (closure->main_context))
6121 (substitute* "tests/libebook/client/CMakeLists.txt"
6122 (("test-book-client-view-operations") ""))
6124 (add-after 'unpack 'patch-paths
6126 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6127 "tests/libedata-book/data-test-utils.c"
6128 "tests/libedata-book/test-book-cache-utils.c"
6129 "tests/libedata-cal/test-cal-cache-utils.c")
6130 (("/bin/rm") (which "rm")))
6132 (add-before 'configure 'dont-override-rpath
6134 (substitute* "CMakeLists.txt"
6135 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6136 ;; Remove it so the configure flag is respected.
6137 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
6140 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6141 ("gobject-introspection" ,gobject-introspection)
6143 ("intltool" ,intltool)
6144 ("pkg-config" ,pkg-config)
6146 ("python" ,python-wrapper)))
6148 ;; These are all in the Requires field of .pc files.
6150 ("libical" ,libical)
6151 ("libsecret" ,libsecret)
6152 ("libsoup" ,libsoup)
6154 ("sqlite" ,sqlite)))
6158 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6159 ("json-glib" ,json-glib)
6160 ("libcanberra" ,libcanberra)
6161 ("libgweather" ,libgweather)
6162 ("mit-krb5" ,mit-krb5)
6163 ("openldap" ,openldap)
6164 ("webkitgtk" ,webkitgtk)))
6165 (synopsis "Store address books and calendars")
6166 (home-page "https://wiki.gnome.org/Apps/Evolution")
6168 "This package provides a unified backend for programs that work with
6169 contacts, tasks, and calendar information. It was originally developed for
6170 Evolution (hence the name), but is now used by other packages as well.")
6171 (license license:lgpl2.0)))
6173 (define-public caribou
6179 (uri (string-append "mirror://gnome/sources/" name "/"
6180 (version-major+minor version) "/"
6181 name "-" version ".tar.xz"))
6184 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
6185 (build-system glib-or-gtk-build-system)
6188 (modify-phases %standard-phases
6191 (lambda* (#:key outputs #:allow-other-keys)
6192 (let ((out (assoc-ref outputs "out")))
6193 ;; Use absolute shared library path in Caribou-1.0.typelib.
6194 (substitute* "libcaribou/Makefile"
6195 (("--shared-library=libcaribou.so")
6196 (string-append "--shared-library="
6197 out "/lib/libcaribou.so")))
6199 (add-after 'install 'wrap-programs
6200 (lambda* (#:key outputs #:allow-other-keys)
6201 (let* ((out (assoc-ref outputs "out"))
6202 (python-path (getenv "PYTHONPATH"))
6203 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6207 `("PYTHONPATH" ":" prefix (,python-path))
6208 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6209 (list (string-append out "/bin/caribou-preferences")
6210 (string-append out "/libexec/antler-keyboard"))))
6213 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6214 ("gobject-introspection" ,gobject-introspection)
6215 ("intltool" ,intltool)
6216 ("pkg-config" ,pkg-config)
6217 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
6219 ("xsltproc" ,libxslt)))
6221 ;; caribou-1.0.pc refers to all these.
6222 `(("libgee" ,libgee)
6223 ("libxklavier" ,libxklavier)
6224 ("libxtst" ,libxtst)
6227 `(("clutter" ,clutter)
6230 ("python-pygobject" ,python2-pygobject)))
6231 (synopsis "Text entry and UI navigation application")
6232 (home-page "https://wiki.gnome.org/Projects/Caribou")
6234 "Caribou is an input assistive technology intended for switch and pointer
6236 (license license:lgpl2.1)))
6238 (define-public network-manager
6240 (name "network-manager")
6244 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6245 (version-major+minor version) "/"
6246 "NetworkManager-" version ".tar.xz"))
6247 (patches (search-patches "nm-plugin-path.patch"))
6250 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
6251 (modules '((guix build utils)))
6254 (substitute* "src/devices/wwan/nm-modem-manager.c"
6255 (("systemd") "elogind"))
6257 (build-system gnu-build-system)
6259 "doc")) ; 8 MiB of gtk-doc HTML
6262 (let ((out (assoc-ref %outputs "out"))
6263 (doc (assoc-ref %outputs "doc"))
6264 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6266 (list "--with-libnm-glib" ; needed by network-manager-applet
6267 "--with-systemd-journal=no"
6268 "--with-session-tracking=elogind"
6269 "--with-suspend-resume=elogind"
6270 "--with-consolekit=no"
6271 "--with-crypto=gnutls"
6272 "--disable-config-plugin-ibft"
6274 "--localstatedir=/var"
6275 (string-append "--with-udev-dir="
6277 (string-append "--with-dbus-sys-dir="
6278 out "/etc/dbus-1/system.d")
6279 (string-append "--with-html-dir="
6280 doc "/share/gtk-doc/html")
6281 (string-append "--with-dhclient=" dhclient)))
6283 (modify-phases %standard-phases
6284 ;; This bare "ls" invocation breaks some tests.
6285 (add-after 'unpack 'patch-ls-invocation
6287 (substitute* "build-aux/ltmain.sh"
6289 (string-append "`" (which "ls") " -")))
6291 (add-before 'configure 'pre-configure
6293 ;; These tests try to test aspects of network-manager's
6294 ;; functionality within restricted containers, but they don't
6295 ;; cope with being already in the Guix build jail as that jail
6296 ;; lacks some features that they would like to proxy over (like
6298 (substitute* '("Makefile.in")
6299 (("src/platform/tests/test-address-linux") " ")
6300 (("src/platform/tests/test-cleanup-linux") " ")
6301 (("src/platform/tests/test-link-linux") " ")
6302 (("src/platform/tests/test-route-linux") " ")
6303 (("src/devices/tests/test-acd") "")
6304 (("src/devices/tests/test-arping") " ")
6305 (("src/devices/tests/test-lldp") " ")
6306 (("src/tests/test-route-manager-linux") " "))
6308 (add-after 'unpack 'delete-failing-tests
6310 ;; FIXME: These three tests fail for unknown reasons.
6311 ;; ERROR:libnm-core/tests/test-general.c:5842:
6312 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6313 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6314 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6315 ;; ERROR:libnm-core/tests/test-setting.c:907:
6316 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
6317 (substitute* "Makefile.in"
6318 (("libnm-core/tests/test-general") " ")
6319 (("libnm-core/tests/test-keyfile") " ")
6320 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
6322 (add-before 'check 'pre-check
6324 ;; For the missing /etc/machine-id.
6325 (setenv "DBUS_FATAL_WARNINGS" "0")
6333 "nmstatedir=/tmp/nm"
6339 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6340 ("gobject-introspection" ,gobject-introspection)
6341 ("docbook-xsl" ,docbook-xsl)
6342 ("intltool" ,intltool)
6343 ("libxslt" ,libxslt)
6344 ("libxml2" ,libxml2)
6345 ("pkg-config" ,pkg-config)
6347 ("python" ,python-wrapper)
6348 ("python-dbus" ,python-dbus)
6349 ("python-pygobject" ,python-pygobject)))
6351 `(("coreutils" ,coreutils) ; for ls
6353 ("cyrus-sasl" ,cyrus-sasl)
6354 ("dbus-glib" ,dbus-glib)
6355 ("dnsmasq" ,dnsmasq)
6358 ("iptables" ,iptables)
6359 ("isc-dhcp" ,isc-dhcp)
6360 ("jansson" ,jansson)
6361 ("libgcrypt" ,libgcrypt)
6362 ("libgudev" ,libgudev)
6365 ("libsoup" ,libsoup)
6366 ("modem-manager" ,modem-manager)
6367 ("newt" ,newt) ;for the 'nmtui' console interface
6370 ("readline" ,readline)
6371 ("util-linux" ,util-linux)
6372 ("elogind" ,elogind)))
6373 (synopsis "Network connection manager")
6374 (home-page "https://www.gnome.org/projects/NetworkManager/")
6376 "NetworkManager is a system network service that manages your network
6377 devices and connections, attempting to keep active network connectivity when
6378 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6379 devices, and provides VPN integration with a variety of different VPN
6381 (license license:gpl2+)
6382 (properties '((upstream-name . "NetworkManager")))))
6384 (define-public network-manager-openvpn
6386 (name "network-manager-openvpn")
6387 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
6392 "mirror://gnome/sources/NetworkManager-openvpn/"
6393 (version-major+minor version)
6394 "/NetworkManager-openvpn-" version ".tar.xz"))
6397 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
6398 (build-system gnu-build-system)
6400 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6402 (modify-phases %standard-phases
6403 (add-after 'configure 'patch-path
6404 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6405 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6407 (modprobe (string-append (assoc-ref inputs "kmod")
6409 (pretty-ovpn (string-append "\"" ovpn "\"")))
6413 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6414 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6415 (("\"/sbin/openvpn\"") pretty-ovpn)
6416 (("/sbin/modprobe") modprobe)))
6417 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6420 `(("pkg-config" ,pkg-config)
6421 ("intltool" ,intltool)))
6425 ("openvpn" ,openvpn)
6426 ("network-manager" ,network-manager)
6427 ("network-manager-applet" ,network-manager-applet) ;for libnma
6428 ("libsecret" ,libsecret)))
6429 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6430 (synopsis "OpenVPN plug-in for NetworkManager")
6432 "This extension of NetworkManager allows it to take care of connections
6433 to virtual private networks (VPNs) via OpenVPN.")
6434 (license license:gpl2+)
6435 (properties `((upstream-name . "NetworkManager-openvpn")))))
6437 (define-public network-manager-vpnc
6439 (name "network-manager-vpnc")
6444 "mirror://gnome/sources/NetworkManager-vpnc/"
6445 (version-major+minor version)
6446 "/NetworkManager-vpnc-" version ".tar.xz"))
6449 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6450 (build-system gnu-build-system)
6452 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6454 (modify-phases %standard-phases
6455 (add-after 'configure 'patch-path
6456 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6457 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6459 (modprobe (string-append (assoc-ref inputs "kmod")
6461 (pretty-ovpn (string-append "\"" vpnc "\"")))
6462 (substitute* "src/nm-vpnc-service.c"
6463 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6464 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6465 (("\"/sbin/vpnc\"") pretty-ovpn)
6466 (("/sbin/modprobe") modprobe)))
6469 `(("pkg-config" ,pkg-config)
6470 ("intltool" ,intltool)))
6475 ("network-manager" ,network-manager)
6476 ("network-manager-applet" ,network-manager-applet) ;for libnma
6477 ("libsecret" ,libsecret)))
6478 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6479 (synopsis "VPNC plug-in for NetworkManager")
6481 "Support for configuring virtual private networks based on VPNC.
6482 Compatible with Cisco VPN concentrators configured to use IPsec.")
6483 (license license:gpl2+)
6484 (properties `((upstream-name . "NetworkManager-vpnc")))))
6486 (define-public network-manager-openconnect
6488 (name "network-manager-openconnect")
6493 "mirror://gnome/sources/NetworkManager-openconnect/"
6494 (version-major+minor version)
6495 "/NetworkManager-openconnect-" version ".tar.xz"))
6498 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6499 (build-system gnu-build-system)
6501 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6503 (modify-phases %standard-phases
6504 (add-after 'configure 'patch-path
6505 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6506 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6507 "/sbin/openconnect"))
6508 (modprobe (string-append (assoc-ref inputs "kmod")
6510 (pretty-ovpn (string-append "\"" openconnect "\"")))
6511 (substitute* "src/nm-openconnect-service.c"
6512 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6513 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6514 (("/sbin/modprobe") modprobe)))
6517 `(("intltool" ,intltool)
6518 ("network-manager-applet" ,network-manager-applet) ;for libnma
6519 ("pkg-config" ,pkg-config)))
6524 ("libsecret" ,libsecret)
6525 ("libxml2" ,libxml2)
6526 ("network-manager" ,network-manager)
6527 ("openconnect" ,openconnect)))
6528 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6529 (synopsis "OpenConnect plug-in for NetworkManager")
6531 "This extension of NetworkManager allows it to take care of connections
6532 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6533 Cisco's AnyConnect SSL VPN.")
6534 (license license:gpl2+)
6535 (properties `((upstream-name . "NetworkManager-openconnect")
6537 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6538 ;; file refers to account "nm-openconnect". Specify it here
6539 ;; so that 'network-manager-service-type' creates it.
6540 (user-accounts . ("nm-openconnect"))))))
6542 (define-public mobile-broadband-provider-info
6544 (name "mobile-broadband-provider-info")
6545 (version "20190116")
6549 "mirror://gnome/sources/"
6550 "mobile-broadband-provider-info/" version "/"
6551 "mobile-broadband-provider-info-" version ".tar.xz"))
6554 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
6555 (build-system gnu-build-system)
6557 `(#:tests? #f)) ; no tests
6558 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6559 (synopsis "Database of broadband connection configuration")
6560 (description "Database of broadband connection configuration.")
6561 (license license:public-domain)))
6563 (define-public network-manager-applet
6565 (name "network-manager-applet")
6569 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
6570 (version-major+minor version) "/"
6571 "network-manager-applet-" version ".tar.xz"))
6574 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
6575 (build-system meson-build-system)
6578 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6579 (list "-Dlibnm_gtk=true")
6582 `(("intltool" ,intltool)
6583 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
6584 ("gobject-introspection" ,gobject-introspection)
6585 ("gtk-doc" ,gtk-doc)
6586 ("pkg-config" ,pkg-config)))
6588 ;; libnm-gtk.pc refers to all these.
6589 `(("dbus-glib" ,dbus-glib)
6591 ("network-manager" ,network-manager)))
6594 ("iso-codes" ,iso-codes)
6595 ("libgudev" ,libgudev)
6596 ("libnotify" ,libnotify)
6597 ("libsecret" ,libsecret)
6598 ("libselinux" ,libselinux)
6599 ("jansson" ,jansson) ; for team support
6600 ("modem-manager" ,modem-manager)
6601 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
6602 (synopsis "Applet for managing network connections")
6603 (home-page "https://www.gnome.org/projects/NetworkManager/")
6605 "This package contains a systray applet for NetworkManager. It displays
6606 the available networks and allows users to easily switch between them.")
6607 (license license:gpl2+)))
6609 (define-public libxml++
6615 (uri (string-append "mirror://gnome/sources/" name "/"
6616 (version-major+minor version) "/"
6617 name "-" version ".tar.xz"))
6620 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
6621 (build-system gnu-build-system)
6622 ;; libxml++-3.0.pc refers to all these.
6624 `(("libxml2" ,libxml2)
6625 ("glibmm" ,glibmm)))
6628 ("pkg-config" ,pkg-config)))
6629 (home-page "http://libxmlplusplus.sourceforge.net/")
6630 (synopsis "C++ wrapper for XML parser library libxml2")
6632 "This package provides a C++ wrapper for the XML parser library
6634 (license license:lgpl2.1+)))
6636 (define-public libxml++-2
6643 (uri (string-append "mirror://gnome/sources/" name "/"
6644 (version-major+minor version) "/"
6645 name "-" version ".tar.xz"))
6648 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6656 (uri (string-append "mirror://gnome/sources/" name "/"
6657 (version-major+minor version) "/"
6658 name "-" version ".tar.xz"))
6661 "12ypdz9i24hwbl1d1wnnxb8zlvfa4f49n9ac5cl9d6h8qp4b0gb4"))))
6662 (build-system glib-or-gtk-build-system)
6665 `("--without-plymouth"
6666 "--disable-systemd-journal"
6668 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6669 ;; instead of having to replace it (i.e., stopping the mingetty
6670 ;; service for TTY 1 before starting GDM).
6671 "--with-initial-vt=7"
6673 ;; Use '/etc/environment' for locale settings instead of the
6674 ;; systemd-specific '/etc/locale.conf'.
6675 "--with-lang-file=/etc/environment"
6677 ,(string-append "--with-udevdir="
6678 (assoc-ref %outputs "out") "/lib/udev")
6680 "--localstatedir=/var"
6681 ,(string-append "--with-default-path="
6682 (string-join '("/run/setuid-programs"
6683 "/run/current-system/profile/bin"
6684 "/run/current-system/profile/sbin")
6686 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6687 ;; XDG_DATA_DIRS so that it finds its schemas.
6688 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
6690 (modify-phases %standard-phases
6692 'configure 'pre-configure
6693 (lambda* (#:key inputs outputs #:allow-other-keys)
6694 ;; We don't have <systemd/sd-daemon.h>.
6695 (substitute* '("common/gdm-log.c"
6696 "daemon/gdm-server.c"
6697 "daemon/gdm-session-worker.c"
6698 "daemon/gdm-session-worker-job.c")
6699 (("#include <systemd/sd-daemon\\.h>") ""))
6700 ;; Use elogind for sd-login.
6701 (substitute* '("common/gdm-common.c"
6702 "daemon/gdm-manager.c"
6703 "libgdm/gdm-user-switching.c")
6704 (("#include <systemd/sd-login\\.h>")
6705 "#include <elogind/sd-login.h>"))
6706 ;; Check for elogind.
6707 (substitute* '("configure")
6710 ;; Look for system-installed sessions in
6711 ;; /run/current-system/profile/share.
6712 (substitute* '("libgdm/gdm-sessions.c"
6713 "daemon/gdm-session.c"
6714 "daemon/gdm-display.c"
6715 "daemon/gdm-launch-environment.c")
6717 "\"/run/current-system/profile/share/x")
6718 (("DATADIR \"/wayland")
6719 "\"/run/current-system/profile/share/wayland")
6720 (("DATADIR \"/gnome")
6721 "\"/run/current-system/profile/share/gnome"))
6722 (let ((propagate '("GDM_CUSTOM_CONF"
6726 ;; XXX: Remove this once GNOME Shell is
6727 ;; a dependency of GDM.
6729 (substitute* "daemon/gdm-session.c"
6730 (("set_up_session_environment \\(self\\);")
6731 (apply string-append
6732 "set_up_session_environment (self);\n"
6735 "gdm_session_set_environment_variable "
6736 "(self, \"" name "\","
6737 "g_getenv (\"" name "\"));\n"))
6739 ;; Find the configuration file using an environment variable.
6740 (substitute* '("common/gdm-settings.c")
6741 (("GDM_CUSTOM_CONF")
6742 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6743 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6744 " : GDM_CUSTOM_CONF)")))
6745 ;; Use service-supplied path to X.
6746 (substitute* '("daemon/gdm-server.c")
6747 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6748 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6749 (substitute* '("daemon/gdm-x-session.c")
6750 (("\"dbus-daemon\"")
6751 "g_getenv (\"GDM_DBUS_DAEMON\")")
6753 "g_getenv (\"GDM_X_SERVER\")")
6754 (("GDMCONFDIR \"/Xsession\"")
6755 "g_getenv (\"GDM_X_SESSION\")"))
6756 ;; Use an absolute path for GNOME Session.
6757 (substitute* "daemon/gdm-launch-environment.c"
6758 (("\"gnome-session\"")
6759 (string-append "\"" (assoc-ref inputs "gnome-session")
6760 "/bin/gnome-session\"")))
6761 ;; Do not automatically select the placeholder session.
6762 (substitute* "daemon/gdm-session.c"
6763 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6764 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6765 "(g_strcmp0(search_dirs[i], \""
6766 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6768 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6769 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
6770 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
6772 ;; GDM requires that there be at least one desktop entry
6773 ;; file. This phase installs a hidden one that simply
6774 ;; fails. This enables users to use GDM with a
6775 ;; '~/.xsession' script with no other desktop entry files.
6776 ;; See <https://bugs.gnu.org/35068>.
6777 (add-after 'install 'install-placeholder-desktop-entry
6778 (lambda* (#:key inputs outputs #:allow-other-keys)
6779 (let* ((out (assoc-ref outputs "out"))
6780 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6781 (fail (string-append sessions "/fail.desktop")))
6783 (with-output-to-file fail
6787 '("[Desktop Entry]\n"
6789 "Type=Application\n"
6791 "Comment=This session fails immediately.\n"
6795 ;; GDM needs GNOME Session to run these applications. We link
6796 ;; their autostart files in `share/gdm/greeter/autostart'
6797 ;; because GDM explicitly tells GNOME Session to look there.
6799 ;; XXX: GNOME Shell should be linked here too, but currently
6800 ;; GNOME Shell depends on GDM.
6801 (add-after 'install 'link-autostart-files
6802 (lambda* (#:key inputs outputs #:allow-other-keys)
6803 (let* ((out (assoc-ref outputs "out"))
6804 (autostart (string-append out "/share/gdm/"
6805 "greeter/autostart"))
6806 (settings (assoc-ref inputs "gnome-settings-daemon")))
6808 (with-directory-excursion autostart
6809 (for-each (lambda (desktop)
6810 (symlink desktop (basename desktop)))
6811 (find-files (string-append settings "/etc/xdg"))))
6815 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6816 ("gobject-introspection" ,gobject-introspection)
6817 ("intltool" ,intltool)
6818 ("itstool" ,itstool)
6819 ("pkg-config" ,pkg-config)
6820 ("xmllint" ,libxml2)))
6822 `(("accountsservice" ,accountsservice)
6823 ("check" ,check) ; for testing
6824 ("elogind" ,elogind)
6825 ("gnome-session" ,gnome-session)
6826 ("gnome-settings-daemon" ,gnome-settings-daemon)
6828 ("iso-codes" ,iso-codes)
6829 ("libcanberra" ,libcanberra)
6830 ("linux-pam" ,linux-pam)))
6831 (synopsis "Display manager for GNOME")
6832 (home-page "https://wiki.gnome.org/Projects/GDM/")
6834 "GNOME Display Manager is a system service that is responsible for
6835 providing graphical log-ins and managing local and remote displays.")
6836 (license license:gpl2+)))
6838 (define-public libgtop
6844 (uri (string-append "mirror://gnome/sources/libgtop/"
6845 (version-major+minor version) "/"
6846 "libgtop-" version ".tar.xz"))
6849 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
6850 (build-system gnu-build-system)
6852 `(("gobject-introspection" ,gobject-introspection)
6853 ("intltool" ,intltool)
6855 ("pkg-config" ,pkg-config)))
6857 `(("glib" ,glib))) ; required by libgtop-2.0.pc
6858 (synopsis "Portable system access library")
6859 (home-page "https://www.gnome.org/")
6861 "LibGTop is a library to get system specific data such as CPU and memory
6862 usage and information about running processes.")
6863 (license license:gpl2+)))
6865 (define-public gnome-bluetooth
6867 (name "gnome-bluetooth")
6871 (uri (string-append "mirror://gnome/sources/" name "/"
6872 (version-major+minor version) "/"
6873 name "-" version ".tar.xz"))
6876 "1am1gf0nzwg6x1s8ly13j0xnjzgrfj06j0dp52x4zy9s67ywlhb4"))))
6877 (build-system meson-build-system)
6879 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
6880 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6881 ("gobject-introspection" ,gobject-introspection)
6882 ("intltool" ,intltool)
6883 ("pkg-config" ,pkg-config)
6884 ("xmllint" ,libxml2)))
6886 ;; gnome-bluetooth-1.0.pc refers to all these.
6891 ("libcanberra" ,libcanberra)
6892 ("libnotify" ,libnotify)))
6893 (synopsis "GNOME Bluetooth subsystem")
6894 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
6896 "This package contains tools for managing and manipulating Bluetooth
6897 devices using the GNOME desktop.")
6898 (license license:lgpl2.1+)))
6900 (define-public gnome-control-center
6902 (name "gnome-control-center")
6906 (uri (string-append "mirror://gnome/sources/" name "/"
6907 (version-major+minor version) "/"
6908 name "-" version ".tar.xz"))
6911 "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
6912 (build-system meson-build-system)
6916 (list "-Dcheese=false"
6917 (string-append "-Dgnome_session_libexecdir="
6918 (assoc-ref %build-inputs "gnome-session")
6921 (modify-phases %standard-phases
6922 (add-before 'configure 'patch-paths
6923 (lambda* (#:key inputs #:allow-other-keys)
6924 (let ((libc (assoc-ref inputs "libc"))
6925 (tzdata (assoc-ref inputs "tzdata"))
6926 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
6927 (nm-applet (assoc-ref inputs "network-manager-applet"))
6928 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
6929 (substitute* "panels/datetime/tz.h"
6930 (("/usr/share/zoneinfo/zone.tab")
6931 (string-append tzdata "/share/zoneinfo/zone.tab")))
6932 (substitute* "tests/datetime/test-endianess.c"
6933 (("/usr/share/locale")
6934 (string-append libc "/share/locale")))
6935 (substitute* "panels/region/cc-region-panel.c"
6936 (("\"gkbd-keyboard-display")
6937 (string-append "\"" libgnomekbd
6938 "/bin/gkbd-keyboard-display")))
6939 (substitute* '("panels/network/net-device-wifi.c"
6940 "panels/network/net-device.c"
6941 "panels/network/connection-editor/net-connection-editor.c")
6942 (("\"nm-connection-editor")
6943 (string-append "\"" nm-applet
6944 "/bin/nm-connection-editor")))
6945 (substitute* '("panels/user-accounts/run-passwd.c")
6946 (("/usr/bin/passwd")
6947 "/run/setuid-programs/passwd"))
6948 (substitute* "panels/info/cc-info-overview-panel.c"
6949 (("DATADIR \"/gnome/gnome-version.xml\"")
6950 (string-append "\"" gnome-desktop
6951 "/share/gnome/gnome-version.xml\"")))
6954 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6955 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
6956 ("intltool" ,intltool)
6957 ("pkg-config" ,pkg-config)
6958 ("xsltproc" ,libxslt)
6960 ("hicolor-icon-theme" ,hicolor-icon-theme)
6961 ("python-dbusmock" ,python-dbusmock)
6962 ("xorg-server" ,xorg-server-for-tests)))
6964 `(("accountsservice" ,accountsservice)
6965 ("clutter-gtk" ,clutter-gtk)
6966 ("colord-gtk" ,colord-gtk)
6969 ("docbook-xsl" ,docbook-xsl)
6970 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
6971 ("gnome-bluetooth" ,gnome-bluetooth)
6972 ("gnome-desktop" ,gnome-desktop)
6973 ("gnome-online-accounts" ,gnome-online-accounts)
6974 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
6975 ("gnome-session" ,gnome-session)
6976 ("gnome-settings-daemon" ,gnome-settings-daemon)
6980 ("libcanberra" ,libcanberra)
6981 ("libgnomekbd" ,libgnomekbd)
6982 ("libgudev" ,libgudev)
6983 ("libgtop" ,libgtop)
6984 ("libpwquality" ,libpwquality)
6985 ("libsecret" ,libsecret)
6986 ("libsoup" ,libsoup)
6987 ("libxml2" ,libxml2)
6988 ("libwacom" ,libwacom)
6990 ("mit-krb5" ,mit-krb5)
6991 ("modem-manager" ,modem-manager)
6992 ("network-manager-applet" ,network-manager-applet)
6994 ("pulseaudio" ,pulseaudio)
6995 ("smbclient" ,samba)
6998 ("upower" ,upower)))
6999 (synopsis "Utilities to configure the GNOME desktop")
7000 (home-page "https://www.gnome.org/")
7002 "This package contains configuration applets for the GNOME desktop,
7003 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7004 properties, sound setup, desktop theme and background, user interface
7005 properties, screen resolution, and other GNOME parameters.")
7006 (license license:gpl2+)))
7008 (define-public gnome-shell
7010 (name "gnome-shell")
7014 (uri (string-append "mirror://gnome/sources/" name "/"
7015 (version-major+minor version) "/"
7016 name "-" version ".tar.xz"))
7019 "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5"))
7020 (patches (search-patches "gnome-shell-theme.patch"))
7021 (modules '((guix build utils)))
7024 ;; Copy images for use on the GDM log-in screen.
7025 (copy-file #$(file-append %artwork-repository
7026 "/slim/0.x/background.png")
7027 "data/theme/guix-background.png")
7028 (copy-file #$(file-append %artwork-repository
7029 "/logo/Guix-horizontal-white.svg")
7030 "data/theme/guix-logo.svg")
7032 (build-system meson-build-system)
7035 #:disallowed-references ((,glib "bin")
7039 (list "-Dsystemd=false"
7040 ;; Otherwise, the RUNPATH will lack the final path component.
7041 (string-append "-Dc_link_args=-Wl,-rpath="
7042 (assoc-ref %outputs "out")
7043 "/lib/gnome-shell"))
7045 #:modules ((guix build meson-build-system)
7050 (modify-phases %standard-phases
7051 (add-after 'unpack 'fix-keysdir
7052 (lambda* (#:key outputs #:allow-other-keys)
7053 (let* ((out (assoc-ref outputs "out"))
7054 (keysdir (string-append
7055 out "/share/gnome-control-center/keybindings")))
7056 (substitute* "meson.build"
7058 (string-append "keysdir = '" keysdir "'\n")))
7060 (add-before 'configure 'convert-logo-to-png
7061 (lambda* (#:key inputs #:allow-other-keys)
7062 ;; Convert the logo from SVG to PNG.
7063 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7064 "data/theme/guix-logo.svg")))
7065 (add-before 'configure 'record-absolute-file-names
7066 (lambda* (#:key inputs #:allow-other-keys)
7067 (substitute* "js/misc/ibusManager.js"
7069 (string-append "'" (assoc-ref inputs "ibus")
7070 "/bin/ibus-daemon'")))
7071 (substitute* "js/ui/status/keyboard.js"
7072 (("'gkbd-keyboard-display'")
7073 (string-append "'" (assoc-ref inputs "libgnomekbd")
7074 "/bin/gkbd-keyboard-display'")))
7076 (add-before 'check 'pre-check
7077 (lambda* (#:key inputs #:allow-other-keys)
7078 ;; Tests require a running X server.
7079 (system "Xvfb :1 &")
7080 (setenv "DISPLAY" ":1")
7082 (add-after 'install 'wrap-programs
7083 (lambda* (#:key inputs outputs #:allow-other-keys)
7084 (let ((out (assoc-ref outputs "out"))
7085 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7086 (python-path (getenv "PYTHONPATH")))
7087 (wrap-program (string-append out "/bin/gnome-shell")
7088 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7089 ;; FIXME: gnome-shell loads these libraries with unqualified
7090 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7091 ;; alternative might be to patch gnome-shell.
7092 `("LD_LIBRARY_PATH" ":" prefix
7094 (string-append (assoc-ref inputs pkg) "/lib"))
7096 "gnome-bluetooth" "librsvg" "libgweather"))))
7099 (wrap-program (string-append out "/bin/" prog)
7100 `("PYTHONPATH" ":" prefix (,python-path))
7101 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7102 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
7104 (replace 'glib-or-gtk-wrap
7105 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7106 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7107 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7108 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7109 ;; phase. Fix that since we don't need these.
7110 (wrap #:inputs (fold alist-delete inputs
7111 '("inkscape" "intltool" "glib:bin"))
7112 #:outputs outputs)))))))
7114 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7115 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7116 ("gobject-introspection" ,gobject-introspection)
7117 ("inkscape" ,inkscape)
7118 ("intltool" ,intltool)
7119 ("pkg-config" ,pkg-config)
7121 ("ruby-sass" ,ruby-sass)
7123 ("xsltproc" ,libxslt)
7125 ("xorg-server" ,xorg-server-for-tests)))
7127 `(("accountsservice" ,accountsservice)
7128 ("caribou" ,caribou)
7129 ("docbook-xsl" ,docbook-xsl)
7130 ("evolution-data-server" ,evolution-data-server)
7133 ("gdk-pixbuf" ,gdk-pixbuf+svg)
7135 ("gnome-bluetooth" ,gnome-bluetooth)
7136 ("gnome-desktop" ,gnome-desktop)
7137 ("gnome-settings-daemon" ,gnome-settings-daemon)
7138 ("gst-plugins-base" ,gst-plugins-base)
7140 ("libcanberra" ,libcanberra)
7141 ("libcroco" ,libcroco)
7142 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
7143 ("libgweather" ,libgweather)
7144 ("libsoup" ,libsoup)
7145 ("mesa-headers" ,mesa-headers)
7147 ("network-manager-applet" ,network-manager-applet)
7149 ("pulseaudio" ,pulseaudio)
7150 ("python-pygobject" ,python-pygobject)
7151 ("startup-notification" ,startup-notification)
7152 ("telepathy-logger" ,telepathy-logger)
7154 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7155 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7156 ("librsvg" ,librsvg)
7157 ("geoclue" ,geoclue)))
7158 (synopsis "Desktop shell for GNOME")
7159 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7161 "GNOME Shell provides core user interface functions for the GNOME desktop,
7162 like switching to windows and launching applications.")
7163 (license license:gpl2+)))
7165 (define-public gtk-vnc
7172 (uri (string-append "mirror://gnome/sources/" name "/"
7173 (version-major+minor version) "/"
7174 name "-" version ".tar.xz"))
7177 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
7178 (build-system gnu-build-system)
7180 '(#:configure-flags '("--with-gtk=3.0")))
7182 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7184 `(("cyrus-sasl" ,cyrus-sasl)
7186 ("libgcrypt" ,libgcrypt)
7187 ("pulseaudio" ,pulseaudio)))
7189 `(("glib:bin" ,glib "bin")
7190 ("gobject-introspection" ,gobject-introspection)
7191 ("intltool" ,intltool)
7192 ("pkg-config" ,pkg-config)
7193 ("python-wrapper" ,python-wrapper)
7195 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7196 (synopsis "VNC viewer widget for GTK+")
7198 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7199 applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7200 GTK-VNC implements client side RFB protocol and authentication extensions such
7201 as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7202 (license license:lgpl2.1+)))
7204 (define-public gnome-autoar
7206 (name "gnome-autoar")
7210 (uri (string-append "mirror://gnome/sources/" name "/"
7211 (version-major+minor version) "/"
7212 name "-" version ".tar.xz"))
7215 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
7216 (build-system glib-or-gtk-build-system)
7218 `(("gnome-common" ,gnome-common)
7219 ("gobject-introspection" ,gobject-introspection)
7220 ("pkg-config" ,pkg-config)))
7222 `(("libarchive" ,libarchive))) ; XXX document why
7225 (synopsis "Archives integration support for GNOME")
7226 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7228 "GNOME Autoar is a library which makes creating and extracting archives
7229 easy, safe, and automatic.")
7230 (license license:lgpl2.1+)))
7232 (define-public tracker
7238 (uri (string-append "mirror://gnome/sources/tracker/"
7239 (version-major+minor version) "/"
7240 "tracker-" version ".tar.xz"))
7243 "1rp2c6k7ajcm553p9kpni87zgi9aplm3s01rl7pk575az5i399y6"))))
7244 (build-system meson-build-system)
7248 ;; Otherwise, the RUNPATH will lack the final path component.
7249 (list (string-append "-Dc_link_args=-Wl,-rpath="
7250 (assoc-ref %outputs "out") "/lib:"
7251 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7253 (modify-phases %standard-phases
7254 (add-after 'unpack 'disable-broken-tests
7256 ;; These fail because the SPARQL backend could not be loaded.
7257 ;; That's because /etc/machine-id is missing, but
7258 ;; DBUS_FATAL_WARNINGS does not help here.
7259 (substitute* "tests/libtracker-sparql/meson.build"
7261 (substitute* "tests/tracker-steroids/meson.build"
7264 ;; Two tests fail if LANG is not set.
7265 (add-before 'check 'pre-check
7267 (setenv "LANG" "en_US.UTF-8")
7268 ;; For the missing /etc/machine-id.
7269 (setenv "DBUS_FATAL_WARNINGS" "0")
7272 `(("glib:bin" ,glib "bin")
7273 ("gnome-common" ,gnome-common)
7274 ("gobject-introspection" ,gobject-introspection)
7275 ("python-pygobject" ,python-pygobject)
7276 ("intltool" ,intltool)
7277 ("pkg-config" ,pkg-config)
7284 ("poppler" ,poppler)
7286 ("libtiff" ,libtiff)
7288 ("libxml2" ,libxml2)
7289 ("libunistring" ,libunistring)
7290 ("json-glib" ,json-glib)
7291 ("openjpeg" ,openjpeg-1)
7292 ("libseccomp" ,libseccomp)
7293 ("libsoup" ,libsoup)
7294 ("libuuid" ,util-linux "lib")
7295 ("network-manager" ,network-manager)))
7296 (synopsis "Metadata database, indexer and search tool")
7297 (home-page "https://wiki.gnome.org/Projects/Tracker")
7299 "Tracker is an advanced framework for first class objects with associated
7300 metadata and tags. It provides a one stop solution for all metadata, tags,
7301 shared object databases, search tools and indexing.")
7302 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7303 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7304 (license (list license:gpl2+
7306 license:lgpl2.0+))))
7308 (define-public tracker-miners
7310 (name "tracker-miners")
7314 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7315 (version-major+minor version)
7316 "/tracker-miners-" version ".tar.xz"))
7319 "0kk5xaajamb8jlm6cfdbc2m3axzr6bnph84m7697xmb0pkg8hdiw"))))
7320 (build-system meson-build-system)
7324 (list "-Dminer_rss=false" ; libgrss is required.
7325 ;; Ensure the RUNPATH contains all installed library locations.
7326 (string-append "-Dc_link_args=-Wl,-rpath="
7327 (assoc-ref %outputs "out")
7328 "/lib/tracker-miners-2.0")
7329 ;; TODO: Enable functional tests. Currently, the following error
7331 ;; Exception: The functional tests require DConf to be the default
7332 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7333 "-Dfunctional_tests=false")))
7336 ("intltool" ,intltool)
7337 ("glib:bin" ,glib "bin")
7338 ("gobject-introspection" ,gobject-introspection)
7339 ("pkg-config" ,pkg-config)
7340 ("python-pygobject" ,python-pygobject)))
7342 `(("exempi" ,exempi)
7347 ("gstreamer" ,gstreamer)
7350 ("libexif" ,libexif)
7352 ("libgxps" ,libgxps)
7353 ("libiptcdata" ,libiptcdata)
7354 ("libjpeg" ,libjpeg)
7355 ("libosinfo" ,libosinfo)
7357 ("libseccomp" ,libseccomp)
7358 ("libtiff" ,libtiff)
7359 ("libvorbis" ,libvorbis)
7360 ("libxml2" ,libxml2)
7361 ("poppler" ,poppler)
7363 ("totem-pl-parser" ,totem-pl-parser)
7364 ("tracker" ,tracker)
7367 (synopsis "Metadata database, indexer and search tool")
7368 (home-page "https://wiki.gnome.org/Projects/Tracker")
7370 "Tracker is an advanced framework for first class objects with associated
7371 metadata and tags. It provides a one stop solution for all metadata, tags,
7372 shared object databases, search tools and indexing.")
7373 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7374 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7375 (license (list license:gpl2+
7377 license:lgpl2.0+))))
7379 (define-public nautilus
7385 (uri (string-append "mirror://gnome/sources/" name "/"
7386 (version-major+minor version) "/"
7387 name "-" version ".tar.xz"))
7390 "1x9crzbj6rrrf8w5dkcx0c14j40byr4ijpzkwd5dcrbfvvdy1r01"))))
7391 (build-system meson-build-system)
7394 ;; XXX: FAIL: check-nautilus
7395 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7398 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7399 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7400 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7401 ("gobject-introspection" ,gobject-introspection)
7402 ("intltool" ,intltool)
7403 ("pkg-config" ,pkg-config)))
7409 ("gnome-desktop" ,gnome-desktop)
7410 ("gnome-autoar" ,gnome-autoar)
7411 ("gst-plugins-base" ,gst-plugins-base)
7412 ("libseccomp" ,libseccomp)
7413 ("libselinux" ,libselinux)
7414 ("tracker" ,tracker)
7415 ("tracker-miners" ,tracker-miners)
7416 ;; XXX: gtk+ is required by libnautilus-extension.pc
7418 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7420 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7422 ("libexif" ,libexif)
7423 ("libxml2" ,libxml2)))
7424 (synopsis "File manager for GNOME")
7425 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7427 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7428 design and behaviour, giving the user a simple way to navigate and manage its
7430 (license license:gpl2+)))
7432 (define-public baobab
7439 "mirror://gnome/sources/" name "/"
7440 (version-major+minor version) "/"
7441 name "-" version ".tar.xz"))
7444 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
7445 (build-system meson-build-system)
7447 '(#:glib-or-gtk? #t))
7449 `(("intltool" ,intltool)
7450 ("pkg-config" ,pkg-config)
7451 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7452 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7453 ("itstool" ,itstool)
7454 ("xmllint" ,libxml2)
7455 ("glib" ,glib "bin")
7459 (synopsis "Disk usage analyzer for GNOME")
7461 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7462 usage in the GNOME desktop environment. It can easily scan device volumes or
7463 a specific user-requested directory branch (local or remote). Once the scan
7464 is complete it provides a graphical representation of each selected folder.")
7465 (home-page "https://wiki.gnome.org/Apps/Baobab")
7466 (license license:gpl2+)))
7468 (define-public gnome-backgrounds
7470 (name "gnome-backgrounds")
7475 (uri (string-append "mirror://gnome/sources/" name "/"
7476 (version-major+minor version) "/"
7477 name "-" version ".tar.xz"))
7480 "1s5krdmd3md44p1fgr2lqm5ifxb8s1vzx6hm11sb4cgzr4dw6lrz"))))
7481 (build-system meson-build-system)
7483 `(("intltool" ,intltool)))
7484 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
7485 (synopsis "Background images for the GNOME desktop")
7487 "GNOME backgrounds package contains a collection of graphics files which
7488 can be used as backgrounds in the GNOME Desktop environment. Additionally,
7489 the package creates the proper framework and directory structure so that you
7490 can add your own files to the collection.")
7491 (license (list license:gpl2+
7494 license:cc-by-sa3.0))))
7496 (define-public gnome-screenshot
7498 (name "gnome-screenshot")
7503 (uri (string-append "mirror://gnome/sources/" name "/"
7504 (version-major+minor version) "/"
7505 name "-" version ".tar.xz"))
7508 "09ha7dizjm5ymqpjyrqd10ijfb3xlqc1mwg9ajkrbfry11q9yq4b"))))
7509 (build-system meson-build-system)
7511 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7512 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7513 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7514 ("intltool" ,intltool)
7515 ("appstream-glib" ,appstream-glib)
7516 ("pkg-config" ,pkg-config)))
7519 ("libcanberra" ,libcanberra)
7521 ("libxext" ,libxext)))
7522 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
7523 (synopsis "Take pictures of your screen")
7525 "GNOME Screenshot is a utility used for taking screenshots of the entire
7526 screen, a window or a user defined area of the screen, with optional
7527 beautifying border effects.")
7528 (license license:gpl2+)))
7530 (define-public dconf-editor
7532 (name "dconf-editor")
7537 (uri (string-append "mirror://gnome/sources/" name "/"
7538 (version-major+minor version) "/"
7539 name "-" version ".tar.xz"))
7542 "1fmsmlh16njjm948grz20mzrsvb4wjj7pl1fvkrkxqi7mhr177gi"))))
7543 (build-system meson-build-system)
7545 '(#:phases (modify-phases %standard-phases
7546 (add-before 'configure 'set-glib-minimum-version
7548 ;; Change the minimum required GLib version so that
7549 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
7550 ;; do that, it complains that "55" is not an even
7551 ;; number. See <https://bugs.gnu.org/37503>.
7552 (substitute* "editor/meson.build"
7553 (("2\\.55\\.1") "2.60.0"))
7556 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
7557 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7558 ("intltool" ,intltool)
7559 ("pkg-config" ,pkg-config)
7564 ("libxml2" ,libxml2)))
7565 (home-page "https://git.gnome.org/browse/dconf-editor")
7566 (synopsis "Graphical editor for GNOME's dconf configuration system")
7568 "Dconf-editor is a graphical tool for browsing and editing the dconf
7569 configuration system for GNOME. It allows users to configure desktop
7570 software that do not provide their own configuration interface.")
7571 (license license:lgpl2.1+)))
7573 (define-public gnome-default-applications
7575 (name "gnome-default-applications")
7577 (build-system trivial-build-system)
7580 `(("nautilus" ,nautilus)
7581 ("evince" ,evince)))
7583 `(#:modules ((guix build utils))
7586 (use-modules (guix build utils))
7587 (let* ((out (assoc-ref %outputs "out"))
7588 (apps (string-append out "/share/applications")))
7590 (call-with-output-file (string-append apps "/defaults.list")
7592 (format port "[Default Applications]\n")
7593 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7594 (format port "application/pdf=evince.desktop\n")
7595 (format port "application/postscript=evince.desktop\n")))
7597 (synopsis "Default MIME type associations for the GNOME desktop")
7599 "Given many installed packages which might handle a given MIME type, a
7600 user running the GNOME desktop probably has some preferences: for example,
7601 that folders be opened by default by the Nautilus file manager, not the Baobab
7602 disk usage analyzer. This package establishes that set of default MIME type
7603 associations for GNOME.")
7604 (license license:gpl3+)
7607 (define-public libgovirt
7613 (uri (string-append "mirror://gnome/sources/" name "/"
7614 (version-major+minor version) "/"
7615 name "-" version ".tar.xz"))
7618 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7619 (build-system glib-or-gtk-build-system)
7621 `(("gettext" ,gettext-minimal)
7622 ("glib:bin" ,glib "bin")
7623 ("gobject-introspection" ,gobject-introspection)
7624 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7625 ("gtk+:bin" ,gtk+ "bin")
7626 ("pkg-config" ,pkg-config)))
7628 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7630 (synopsis "GoVirt Library")
7631 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7632 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7633 (license license:gpl2+)))
7635 (define-public gnome-weather
7637 (name "gnome-weather")
7641 (uri (string-append "mirror://gnome/sources/" name "/"
7642 (version-major+minor version) "/"
7643 name "-" version ".tar.xz"))
7646 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7647 (build-system meson-build-system)
7649 `(("gettext" ,gettext-minimal)
7650 ("glib:bin" ,glib "bin")
7651 ("gobject-introspection" ,gobject-introspection)
7652 ("gtk+:bin" ,gtk+ "bin")
7653 ("pkg-config" ,pkg-config)))
7655 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7656 ("appstream-glib" ,appstream-glib)
7657 ("geoclue" ,geoclue)
7658 ("gdk-pixbuf" ,gdk-pixbuf)
7660 ("gnome-desktop" ,gnome-desktop)
7661 ("libgweather" ,libgweather)))
7662 (synopsis "Weather monitoring for GNOME desktop")
7663 (description "GNOME Weather is a small application that allows you to
7664 monitor the current weather conditions for your city, or anywhere in the
7666 (home-page "https://wiki.gnome.org/Apps/Weather")
7667 (license license:gpl2+)))
7669 (define-public gnome
7672 (version (package-version gnome-shell))
7674 (build-system trivial-build-system)
7675 (arguments '(#:builder (begin (mkdir %output) #t)))
7677 ;; TODO: Add or remove packages according to:
7678 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7680 ;; GNOME-Core-OS-Services
7681 ("accountsservice" ,accountsservice)
7682 ("network-manager" ,network-manager)
7683 ("packagekit" ,packagekit)
7686 ("adwaita-icon-theme" ,adwaita-icon-theme)
7688 ("glib-networking" ,glib-networking)
7689 ("gnome-backgrounds" ,gnome-backgrounds)
7690 ("gnome-bluetooth" ,gnome-bluetooth)
7691 ("gnome-control-center" ,gnome-control-center)
7692 ("gnome-desktop" ,gnome-desktop)
7693 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
7694 ("gnome-keyring" ,gnome-keyring)
7695 ("gnome-menus" ,gnome-menus)
7696 ("gnome-session" ,gnome-session)
7697 ("gnome-settings-daemon" ,gnome-settings-daemon)
7698 ("gnome-shell-extensions" ,gnome-shell-extensions)
7699 ("gnome-shell" ,gnome-shell)
7700 ("gnome-themes-extra" ,gnome-themes-extra)
7701 ("gnome-user-docs" ,gnome-user-docs)
7702 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7706 ;; GNOME-Core-Utilities
7710 ("epiphany" ,epiphany)
7712 ("file-roller" ,file-roller)
7714 ("gnome-calculator" ,gnome-calculator)
7715 ("gnome-calendar" ,gnome-calendar)
7716 ("gnome-characters" ,gnome-characters)
7717 ("gnome-clocks" ,gnome-clocks)
7718 ("gnome-contacts" ,gnome-contacts)
7719 ("gnome-disk-utility" ,gnome-disk-utility)
7720 ("gnome-font-viewer" ,gnome-font-viewer)
7721 ("gnome-maps" ,gnome-maps)
7722 ("gnome-screenshot" ,gnome-screenshot)
7723 ("gnome-system-monitor" ,gnome-system-monitor)
7724 ("gnome-terminal" ,gnome-terminal)
7725 ("nautilus" ,nautilus)
7726 ("simple-scan" ,simple-scan)
7730 ("hicolor-icon-theme" ,hicolor-icon-theme)
7731 ("gnome-online-accounts" ,gnome-online-accounts)))
7732 (synopsis "The GNU desktop environment")
7733 (home-page "https://www.gnome.org/")
7735 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7736 applications for browsing the web, editing text and images, creating
7737 documents and diagrams, playing media, scanning, and much more.")
7738 (license license:gpl2+)))
7740 (define-public byzanz
7741 ;; The last stable release of Byzanz was in 2011, but there have been many
7742 ;; useful commits made to the Byzanz repository since then that it would be
7743 ;; silly to use such an old release.
7744 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7747 (version (string-append "0.2-1." (string-take commit 7)))
7751 (url "https://git.gnome.org/browse/byzanz")
7753 (file-name (string-append name "-" version "-checkout"))
7756 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7757 (build-system glib-or-gtk-build-system)
7760 (modify-phases %standard-phases
7763 ;; The build system cleverly detects that we're not building from
7764 ;; a release tarball and turns on -Werror for GCC.
7765 ;; Unsurprisingly, there is a warning during compilation that
7766 ;; causes the build to fail unnecessarily, so we remove the flag.
7767 (substitute* '("configure.ac")
7769 ;; The autogen.sh script in gnome-common will run ./configure
7770 ;; by default, which is problematic because source shebangs
7771 ;; have not yet been patched.
7772 (setenv "NOCONFIGURE" "t")
7773 (zero? (system* "sh" "autogen.sh")))))))
7775 `(("autoconf" ,autoconf)
7776 ("automake" ,automake)
7777 ("gnome-common" ,gnome-common)
7778 ("intltool" ,intltool)
7779 ("libtool" ,libtool)
7780 ("pkg-config" ,pkg-config)
7784 ("gstreamer" ,gstreamer)
7785 ("gst-plugins-base" ,gst-plugins-base)
7787 (synopsis "Desktop recording program")
7788 (description "Byzanz is a simple desktop recording program with a
7789 command-line interface. It can record part or all of an X display for a
7790 specified duration and save it as a GIF encoded animated image file.")
7791 (home-page "https://git.gnome.org/browse/byzanz")
7792 (license license:gpl2+))))
7794 (define-public gsound
7800 (uri (string-append "mirror://gnome/sources/" name "/"
7801 (version-major+minor version) "/"
7802 name "-" version ".tar.xz"))
7805 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7806 (build-system glib-or-gtk-build-system)
7808 `(("pkg-config" ,pkg-config)
7809 ("gobject-introspection" ,gobject-introspection)
7813 ("libcanberra" ,libcanberra)))
7814 (home-page "https://wiki.gnome.org/Projects/GSound")
7815 (synopsis "GObject wrapper for libcanberra")
7817 "GSound is a small library for playing system sounds. It's designed to be
7818 used via GObject Introspection, and is a thin wrapper around the libcanberra C
7820 (license license:lgpl2.1+)))
7822 (define-public libzapojit
7828 (uri (string-append "mirror://gnome/sources/" name "/"
7829 (version-major+minor version) "/"
7830 name "-" version ".tar.xz"))
7833 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
7834 (build-system gnu-build-system)
7836 `(("gobject-introspection" ,gobject-introspection)
7837 ("intltool" ,intltool)
7838 ("pkg-config" ,pkg-config)))
7840 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7841 ("json-glib" ,json-glib)
7843 (home-page "https://wiki.gnome.org/Projects/Zapojit")
7844 (synopsis "Library for accessing SkyDrive and Hotmail")
7846 "Libzapojit is a GLib-based library for accessing online service APIs of
7847 Microsoft SkyDrive and Hotmail, using their REST protocols.")
7848 (license license:lgpl2.1+)))
7850 (define-public gnome-clocks
7852 (name "gnome-clocks")
7856 (uri (string-append "mirror://gnome/sources/" name "/"
7857 (version-major+minor version) "/"
7858 name "-" version ".tar.xz"))
7861 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
7862 (build-system meson-build-system)
7864 '(#:glib-or-gtk? #t))
7867 ("pkg-config" ,pkg-config)
7868 ("glib" ,glib "bin") ; for glib-compile-resources
7869 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7870 ("desktop-file-utils" ,desktop-file-utils)
7871 ("gettext" ,gettext-minimal)
7872 ("itstool" ,itstool)))
7877 ("geoclue" ,geoclue)
7878 ("geocode-glib" ,geocode-glib)
7879 ("libgweather" ,libgweather)
7880 ("gnome-desktop" ,gnome-desktop)))
7881 (home-page "https://wiki.gnome.org/Apps/Clocks")
7882 (synopsis "GNOME's clock application")
7884 "GNOME Clocks is a simple clocks application designed to fit the GNOME
7885 desktop. It supports world clock, stop watch, alarms, and count down timer.")
7886 (license license:gpl3+)))
7888 (define-public gnome-calendar
7890 (name "gnome-calendar")
7894 (uri (string-append "mirror://gnome/sources/" name "/"
7895 (version-major+minor version) "/"
7896 name "-" version ".tar.xz"))
7899 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
7900 (build-system meson-build-system)
7903 ;; gnome-calendar has to be installed before the tests can be run
7904 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
7907 `(("gettext" ,gettext-minimal)
7908 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
7909 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7910 ("pkg-config" ,pkg-config)))
7912 `(("evolution-data-server" ,evolution-data-server)
7913 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7914 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7915 ("libdazzle" ,libdazzle)
7916 ("libedataserverui" ,evolution-data-server)
7917 ("libgweather" ,libgweather)
7918 ("geoclue" ,geoclue)))
7919 (home-page "https://wiki.gnome.org/Apps/Calendar")
7920 (synopsis "GNOME's calendar application")
7922 "GNOME Calendar is a simple calendar application designed to fit the GNOME
7923 desktop. It supports multiple calendars, month, week and year view.")
7924 (license license:gpl3+)))
7926 (define-public gnome-todo
7932 (uri (string-append "mirror://gnome/sources/" name "/"
7933 (version-major+minor version) "/"
7934 name "-" version ".tar.xz"))
7937 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
7938 (build-system meson-build-system)
7941 #:phases (modify-phases %standard-phases
7943 'install 'wrap-gnome-todo
7944 (lambda* (#:key inputs outputs #:allow-other-keys)
7945 (let ((out (assoc-ref outputs "out"))
7946 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7947 (python-path (getenv "PYTHONPATH")))
7948 (wrap-program (string-append out "/bin/gnome-todo")
7949 ;; XXX: gi plugins are broken.
7950 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
7952 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7953 `("PYTHONPATH" ":" prefix (,python-path))))
7956 `(("gettext" ,gettext-minimal)
7957 ("gobject-introspection" ,gobject-introspection)
7958 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7959 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7960 ("pkg-config" ,pkg-config)))
7962 `(("rest" ,rest) ; For Todoist plugin
7963 ("json-glib" ,json-glib) ; For Todoist plugin
7964 ("libedataserverui" ,evolution-data-server)
7965 ("libical" ,libical)
7966 ("libpeas" ,libpeas)
7967 ("python-pygobject" ,python-pygobject)
7968 ("evolution-data-server" ,evolution-data-server)
7969 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7970 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
7971 (home-page "https://wiki.gnome.org/Apps/Todo")
7972 (synopsis "GNOME's ToDo Application")
7974 "GNOME To Do is a simplistic personal task manager designed to perfectly
7975 fit the GNOME desktop.")
7976 (license license:gpl3+)))
7978 (define-public gnome-dictionary
7980 (name "gnome-dictionary")
7984 (uri (string-append "mirror://gnome/sources/" name "/"
7985 (version-major+minor version) "/"
7986 name "-" version ".tar.xz"))
7989 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
7990 (build-system meson-build-system)
7991 (arguments '(#:glib-or-gtk? #t
7992 #:phases (modify-phases %standard-phases
7993 (add-after 'unpack 'patch-install-script
7995 ;; This script attempts to compile glib schemas
7996 ;; and create an empty MIME database. We do
7997 ;; that elsewhere, so prevent it from running.
7998 (substitute* "build-aux/post-install.sh"
7999 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8002 `(("glib:bin" ,glib "bin")
8003 ("gobject-introspection" ,gobject-introspection)
8004 ("intltool" ,intltool)
8005 ("itstool" ,itstool)
8006 ("pkg-config" ,pkg-config)
8007 ("xmllint" ,libxml2)))
8009 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8011 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8012 (synopsis "Look up words in dictionary sources")
8014 "GNOME Dictionary can look for the definition or translation of a word in
8015 existing databases over the internet.")
8016 (license license:gpl3+)))
8018 (define-public gnome-tweaks
8020 (name "gnome-tweaks")
8024 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
8025 (version-major+minor version) "/"
8026 "gnome-tweaks-" version ".tar.xz"))
8028 (list (search-patch "gnome-tweaks-search-paths.patch")))
8031 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
8032 (build-system meson-build-system)
8035 #:configure-flags '("-Dlocalstatedir=/tmp"
8036 "-Dsysconfdir=/tmp")
8037 #:imported-modules ((guix build python-build-system)
8038 ,@%meson-build-system-modules)
8040 (modify-phases %standard-phases
8041 (add-after 'install 'wrap
8042 (@@ (guix build python-build-system) wrap))
8043 (add-after 'wrap 'wrap-gi-typelib
8044 (lambda* (#:key inputs outputs #:allow-other-keys)
8045 (let ((out (assoc-ref outputs "out"))
8046 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8047 (wrap-program (string-append out "/bin/gnome-tweaks")
8048 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8051 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8052 ("intltool" ,intltool)
8053 ("pkg-config" ,pkg-config)))
8055 `(("gnome-desktop" ,gnome-desktop)
8057 ("gobject-introspection" ,gobject-introspection)
8058 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8059 ("libnotify" ,libnotify)
8060 ("libsoup" ,libsoup)
8061 ("nautilus" ,nautilus)
8063 ("python-pygobject" ,python-pygobject)))
8064 (synopsis "Customize advanced GNOME 3 options")
8065 (home-page "https://wiki.gnome.org/Apps/Tweaks")
8067 "GNOME Tweaks allows adjusting advanced configuration settings in
8068 GNOME 3. This includes things like the fonts used in user interface elements,
8069 alternative user interface themes, changes in window management behavior,
8070 GNOME Shell appearance and extension, etc.")
8071 (license license:gpl3+)))
8073 ;; This package has been renamed by upstream.
8074 (define-public gnome-tweak-tool
8075 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
8077 (define-public gnome-shell-extensions
8079 (name "gnome-shell-extensions")
8083 (uri (string-append "mirror://gnome/sources/" name "/"
8084 (version-major+minor version) "/"
8085 name "-" version ".tar.xz"))
8088 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
8089 (build-system meson-build-system)
8091 '(#:configure-flags '("-Dextension_set=all")))
8093 `(("glib:bin" ,glib "bin")
8094 ("intltool" ,intltool)
8095 ("pkg-config" ,pkg-config)))
8098 (synopsis "Extensions for GNOME Shell")
8099 (description "GNOME Shell extensions modify and extend GNOME Shell
8100 functionality and behavior.")
8101 (home-page "https://extensions.gnome.org/")
8102 (license license:gpl3+)))
8104 (define-public arc-theme
8107 (version "20190917")
8111 (url "https://github.com/NicoHood/arc-theme.git")
8113 (file-name (git-file-name name version))
8116 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
8117 (build-system gnu-build-system)
8120 (modify-phases %standard-phases
8121 ;; autogen.sh calls configure at the end of the script.
8123 (lambda _ (invoke "autoreconf" "-vfi"))))))
8125 `(("autoconf" ,autoconf)
8126 ("automake" ,automake)
8127 ("glib" ,glib "bin") ; for glib-compile-resources
8128 ("gnome-shell" ,gnome-shell)
8130 ("inkscape" ,inkscape)
8131 ("optipng" ,optipng)
8132 ("pkg-config" ,pkg-config)
8134 (synopsis "A flat GTK+ theme with transparent elements")
8135 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
8136 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8137 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8138 (home-page "https://github.com/horst3180/arc-theme")
8139 ;; No "or later" language found.
8140 (license license:gpl3+)))
8142 (define-public faba-icon-theme
8144 (name "faba-icon-theme")
8150 (url "https://github.com/snwh/faba-icon-theme.git")
8151 (commit (string-append "v" version))))
8152 (file-name (git-file-name name version))
8154 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
8155 (build-system meson-build-system)
8158 (modify-phases %standard-phases
8159 (add-before 'configure 'disable-post-install
8161 (substitute* "meson.build"
8162 (("meson.add_install_script.*") "")))))))
8164 `(("autoconf" ,autoconf)
8165 ("automake" ,automake)))
8166 (synopsis "Faba icon theme")
8168 "Faba is a minimal icon set used as a basis for other themes such as
8170 (home-page "https://snwh.org/moka")
8171 (license (list license:lgpl3+
8172 license:cc-by-sa4.0))))
8174 (define-public moka-icon-theme
8176 (inherit faba-icon-theme)
8177 (name "moka-icon-theme")
8183 (url "https://github.com/snwh/moka-icon-theme.git")
8184 (commit (string-append "v" version))))
8185 (file-name (git-file-name name version))
8187 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
8189 ;; Moka is based on Faba by using it as a fallback icon set instead of
8190 ;; bundling it, so we need to add it as a propagated input.
8191 `(("faba-icon-theme" ,faba-icon-theme)))
8192 (synopsis "Moka icon theme")
8193 (description "Moka is a stylized desktop icon set, designed to be clear,
8194 simple and consistent.")
8195 (license (list license:gpl3+
8196 license:cc-by-sa4.0))))
8198 (define-public arc-icon-theme
8200 (name "arc-icon-theme")
8201 (version "20161122")
8206 (url "https://github.com/horst3180/arc-icon-theme.git")
8208 (file-name (git-file-name name version))
8210 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
8211 (build-system gnu-build-system)
8214 (modify-phases %standard-phases
8215 (add-after 'unpack 'disable-configure-during-bootstrap
8217 (substitute* "autogen.sh"
8218 (("^\"\\$srcdir/configure\".*") ""))
8221 `(("autoconf" ,autoconf)
8222 ("automake" ,automake)))
8223 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8225 `(("moka-icon-theme" ,moka-icon-theme)))
8226 (synopsis "Arc icon theme")
8227 (description "The Arc icon theme provides a set of icons matching the
8228 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8229 the Moka icon theme.")
8230 (home-page "https://github.com/horst3180/arc-icon-theme")
8231 (license license:gpl3+)))
8233 (define-public folks
8240 "mirror://gnome/sources/folks/"
8241 (version-major+minor version) "/"
8242 "folks-" version ".tar.xz"))
8245 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
8246 (build-system glib-or-gtk-build-system)
8249 ("dbus-glib" ,dbus-glib)
8250 ("evolution-data-server" ,evolution-data-server)
8253 ("telepathy-glib" ,telepathy-glib)))
8255 `(("gobject-introspection" ,gobject-introspection)
8256 ("intltool" ,intltool)
8257 ("pkg-config" ,pkg-config)
8259 (synopsis "Library to aggregate data about people")
8260 (description "Libfolks is a library that aggregates information about people
8261 from multiple sources (e.g., Telepathy connection managers for IM contacts,
8262 Evolution Data Server for local contacts, libsocialweb for web service contacts,
8263 etc.) to create metacontacts. It's written in Vala, which generates C code when
8265 (home-page "https://wiki.gnome.org/Projects/Folks")
8266 (license license:lgpl2.1+)))
8268 (define-public gfbgraph
8275 "mirror://gnome/sources/gfbgraph/"
8276 (version-major+minor version) "/"
8277 "gfbgraph-" version ".tar.xz"))
8280 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8281 (build-system glib-or-gtk-build-system)
8283 `(#:tests? #f ; Tests appear to require the network.
8284 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8285 #:configure-flags '("--disable-gtk-doc"
8287 "--enable-introspection")))
8289 `(("pkg-config" ,pkg-config)
8290 ("gobject-introspection" ,gobject-introspection)))
8292 `(("json-glib" ,json-glib)
8293 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8295 (synopsis "GLib/GObject wrapper for the Facebook API")
8296 (description "This library allows you to use the Facebook API from
8297 GLib/GObject code.")
8298 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8299 (license license:lgpl2.1+)))
8301 (define-public libgnomekbd
8303 (name "libgnomekbd")
8307 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
8308 (version-major+minor version) "/"
8309 "libgnomekbd-" version ".tar.xz"))
8312 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
8313 (build-system gnu-build-system)
8315 `(("pkg-config" ,pkg-config)
8316 ("glib" ,glib "bin")
8317 ("intltool" ,intltool)))
8319 ;; Referred to in .h files and .pc.
8322 ("libxklavier" ,libxklavier)))
8323 (home-page "https://www.gnome.org")
8324 (synopsis "GNOME keyboard configuration library")
8326 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8327 environment, which can notably display keyboard layouts.")
8328 (license license:lgpl2.0+)))
8330 ;;; This package is no longer maintained:
8331 ;;; https://wiki.gnome.org/Attic/LibUnique
8332 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8333 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8334 (define-public libunique
8340 (uri (string-append "mirror://gnome/sources/" name "/"
8341 (version-major+minor version) "/"
8342 name "-" version ".tar.xz"))
8345 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8346 (build-system glib-or-gtk-build-system)
8348 `(#:configure-flags '("--disable-static"
8349 "--disable-dbus" ; use gdbus
8350 "--enable-introspection")))
8352 `(("pkg-config" ,pkg-config)
8353 ("gobject-introspection" ,gobject-introspection)
8354 ("glib:bin" ,glib "bin")
8355 ("gtk-doc" ,gtk-doc)))
8357 ;; Referred to in .h files and .pc.
8359 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8360 (synopsis "Library for writing single instance applications")
8362 "Libunique is a library for writing single instance applications. If you
8363 launch a single instance application twice, the second instance will either just
8364 quit or will send a message to the running instance. Libunique makes it easy to
8365 write this kind of application, by providing a base class, taking care of all
8366 the IPC machinery needed to send messages to a running instance, and also
8367 handling the startup notification side.")
8368 (license license:lgpl2.1+)))
8370 (define-public gnome-calculator
8372 (name "gnome-calculator")
8377 (uri (string-append "mirror://gnome/sources/" name "/"
8378 (version-major+minor version) "/"
8379 name "-" version ".tar.xz"))
8382 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
8383 (build-system meson-build-system)
8384 (arguments '(#:glib-or-gtk? #t))
8386 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8387 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8388 ("intltool" ,intltool)
8389 ("itstool" ,itstool)
8391 ("pkg-config" ,pkg-config)))
8394 ("gtksourceview" ,gtksourceview)
8395 ("libsoup" ,libsoup)
8396 ("libxml2" ,libxml2)
8399 (home-page "https://wiki.gnome.org/Apps/Calculator")
8400 (synopsis "Desktop calculator")
8402 "Calculator is an application that solves mathematical equations and
8403 is suitable as a default application in a Desktop environment.")
8404 (license license:gpl3)))
8413 (uri (string-append "https://launchpad.net/xpad/trunk/"
8414 version "/+download/"
8415 name "-" version ".tar.bz2"))
8418 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
8419 (build-system gnu-build-system)
8421 `(("autoconf" ,autoconf)
8422 ("automake" ,automake)
8423 ("gtk+:bin" ,gtk+ "bin")
8424 ("intltool" ,intltool)
8425 ("pkg-config" ,pkg-config)))
8427 `(("gtksourceview" ,gtksourceview-3)
8429 (home-page "https://wiki.gnome.org/Apps/Xpad")
8430 (synopsis "Virtual sticky note")
8432 "Xpad is a sticky note that strives to be simple, fault tolerant,
8433 and customizable. Xpad consists of independent pad windows, each is
8434 basically a text box in which notes can be written.")
8435 (license license:gpl3+)))
8437 (define-public gucharmap
8438 (let ((unicode-files
8440 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
8442 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
8444 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
8446 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
8448 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
8450 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
8457 (uri (string-append "mirror://gnome/sources/" name "/"
8458 (version-major+minor version) "/"
8459 name "-" version ".tar.xz"))
8462 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
8463 (build-system glib-or-gtk-build-system)
8465 `(#:modules ((ice-9 match)
8466 (guix build glib-or-gtk-build-system)
8469 (list "--with-unicode-data=../unicode-data")
8471 (modify-phases %standard-phases
8472 (add-after 'unpack 'prepare-unicode-data
8473 (lambda* (#:key inputs #:allow-other-keys)
8474 (mkdir-p "../unicode-data")
8475 (with-directory-excursion "../unicode-data"
8476 (for-each (match-lambda
8478 (install-file (assoc-ref inputs file) ".")))
8482 `(("desktop-file-utils" ,desktop-file-utils)
8483 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8484 ("gobject-introspection" ,gobject-introspection)
8485 ("intltool" ,intltool)
8486 ("itstool" ,itstool)
8487 ("pkg-config" ,pkg-config)
8488 ,@(map (match-lambda
8494 "http://www.unicode.org/Public/12.0.0/ucd/"
8496 (sha256 (base32 hash))))))
8501 ("xmllint" ,libxml2)))
8502 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8503 (synopsis "Unicode character picker and font browser")
8505 "This program allows you to browse through all the available Unicode
8506 characters and categories for the installed fonts, and to examine their
8507 detailed properties. It is an easy way to find the character you might
8508 only know by its Unicode name or code point.")
8509 (license license:gpl3+))))
8511 (define-public bluefish
8518 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8519 name "-" version ".tar.gz"))
8522 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
8523 (build-system gnu-build-system)
8525 `(("desktop-file-utils" ,desktop-file-utils)
8526 ("intltool" ,intltool)
8527 ("pkg-config" ,pkg-config)))
8529 `(("enchant" ,enchant)
8531 ("python" ,python-2)
8532 ("xmllint" ,libxml2)
8533 ("gucharmap" ,gucharmap)))
8534 (home-page "http://bluefish.openoffice.nl")
8535 (synopsis "Web development studio")
8537 "Bluefish is an editor targeted towards programmers and web developers,
8538 with many options to write web sites, scripts and other code.
8539 Bluefish supports many programming and markup languages.")
8540 (license license:gpl3+)))
8542 (define-public gnome-system-monitor
8544 (name "gnome-system-monitor")
8549 (uri (string-append "mirror://gnome/sources/" name "/"
8550 (version-major+minor version) "/"
8551 name "-" version ".tar.xz"))
8554 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
8555 (build-system meson-build-system)
8558 #:configure-flags '("-Dsystemd=false")))
8560 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
8561 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8562 ("intltool" ,intltool)
8563 ("itstool" ,itstool)
8564 ("libgtop" ,libgtop)
8566 ("pkg-config" ,pkg-config)))
8568 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8571 ("librsvg" ,librsvg)
8572 ("libxml2" ,libxml2)
8573 ("libwnck" ,libwnck)))
8574 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8575 (synopsis "Process viewer and system resource monitor for GNOME")
8577 "GNOME System Monitor is a GNOME process viewer and system monitor with
8578 an attractive, easy-to-use interface. It has features, such as a tree view
8579 for process dependencies, icons for processes, the ability to hide processes,
8580 graphical time histories of CPU/memory/swap usage and the ability to
8581 kill/reinice processes.")
8582 (license license:gpl2+)))
8584 (define-public python-pyatspi
8586 (name "python-pyatspi")
8591 "mirror://gnome/sources/pyatspi/"
8592 (version-major+minor version)
8593 "/pyatspi-" version ".tar.xz"))
8596 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
8597 (build-system gnu-build-system)
8600 (modify-phases %standard-phases
8601 (add-before 'build 'fix-atk-load
8603 (substitute* "pyatspi/__init__.py"
8604 (("from gi.repository import Atspi")
8605 "gi.require_version('Gtk', '3.0')
8606 from gi.repository import Gtk
8607 from gi.repository import Atspi"))
8610 `(("pkg-config" ,pkg-config)))
8612 `(("python" ,python)
8613 ("python-pygobject" ,python-pygobject)))
8614 (synopsis "Python client bindings for D-Bus AT-SPI")
8615 (home-page "https://wiki.linuxfoundation.org/accessibility\
8616 /atk/at-spi/at-spi_on_d-bus")
8618 "This package includes a python client library for the AT-SPI D-Bus
8619 accessibility infrastructure.")
8620 (license license:lgpl2.0)
8621 (properties '((upstream-name . "pyatspi")))))
8630 "mirror://gnome/sources/" name "/"
8631 (version-major+minor version) "/"
8632 name "-" version ".tar.xz"))
8635 "05jqzlg0f1x53hyl0l9282ynmw37159g6dsbrid12b7sjs12cc1i"))))
8636 (build-system glib-or-gtk-build-system)
8639 (modify-phases %standard-phases
8640 (add-before 'configure 'qualify-xkbcomp
8641 (lambda* (#:key inputs #:allow-other-keys)
8642 (let ((xkbcomp (string-append
8643 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8644 (substitute* "src/orca/orca.py"
8645 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8647 (add-after 'install 'wrap-orca
8648 (lambda* (#:key outputs #:allow-other-keys)
8649 (let* ((out (assoc-ref outputs "out"))
8650 (prog (string-append out "/bin/orca")))
8652 `("GI_TYPELIB_PATH" ":" prefix
8653 (,(getenv "GI_TYPELIB_PATH")))
8654 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8655 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8656 `("PYTHONPATH" ":" prefix
8657 (,(getenv "PYTHONPATH")))))
8660 `(("intltool" ,intltool)
8661 ("itstool" ,itstool)
8662 ("pkg-config" ,pkg-config)
8663 ("xmllint" ,libxml2)))
8665 `(("at-spi2-atk" ,at-spi2-atk)
8666 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8667 ("gstreamer" ,gstreamer)
8668 ("gst-plugins-base" ,gst-plugins-base)
8669 ("gst-plugins-good" ,gst-plugins-good)
8672 ("python-pygobject" ,python-pygobject)
8673 ("python-pyatspi" ,python-pyatspi)
8674 ("python-speechd" ,speech-dispatcher)
8675 ("xkbcomp" ,xkbcomp)))
8677 "Screen reader for individuals who are blind or visually impaired")
8678 (home-page "https://wiki.gnome.org/Projects/Orca")
8680 "Orca is a screen reader that provides access to the graphical desktop
8681 via speech and refreshable braille. Orca works with applications and toolkits
8682 that support the Assistive Technology Service Provider Interface (AT-SPI).")
8683 (license license:lgpl2.1+)))
8685 (define-public gspell
8691 (uri (string-append "mirror://gnome/sources/" name "/"
8692 (version-major+minor version) "/"
8693 name "-" version ".tar.xz"))
8696 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
8697 (patches (search-patches "gspell-dash-test.patch"))))
8698 (build-system glib-or-gtk-build-system)
8701 (modify-phases %standard-phases
8702 (add-before 'check 'pre-check
8703 (lambda* (#:key inputs #:allow-other-keys)
8704 ;; Tests require a running X server.
8705 (system "Xvfb :1 &")
8706 (setenv "DISPLAY" ":1")
8708 ;; For the missing /etc/machine-id.
8709 (setenv "DBUS_FATAL_WARNINGS" "0")
8711 ;; Allow Enchant and its Aspell backend to find the en_US
8713 (setenv "ASPELL_DICT_DIR"
8714 (string-append (assoc-ref inputs "aspell-dict-en")
8720 ("iso-codes" ,iso-codes)))
8722 `(("glib" ,glib "bin")
8723 ("gobject-introspection" ,gobject-introspection)
8724 ("pkg-config" ,pkg-config)
8725 ("xmllint" ,libxml2)
8728 ("aspell-dict-en" ,aspell-dict-en)
8729 ("xorg-server" ,xorg-server-for-tests)))
8731 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
8732 (home-page "https://wiki.gnome.org/Projects/gspell")
8733 (synopsis "GNOME's alternative spell checker")
8735 "gspell provides a flexible API to add spell-checking to a GTK+
8736 application. It provides a GObject API, spell-checking to text entries and
8737 text views, and buttons to choose the language.")
8738 (license license:gpl2+)))
8740 (define-public gnome-planner
8742 (name "gnome-planner")
8746 (uri (string-append "mirror://gnome/sources/planner/"
8747 (version-major+minor version) "/planner-"
8751 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8752 (build-system glib-or-gtk-build-system)
8754 ;; Disable the Python bindings because the Planner program functions
8755 ;; without them, and (as of 2017-06-13) we have not packaged all of
8756 ;; packages that are necessary for building the Python bindings.
8758 (list "--disable-python"
8759 ,@(if (string=? "aarch64-linux" (%current-system))
8760 '("--build=aarch64-unknown-linux-gnu")
8763 `(("libgnomecanvas" ,libgnomecanvas)
8764 ("libgnomeui" ,libgnomeui)
8765 ("libglade" ,libglade)
8766 ("gnome-vfs" ,gnome-vfs)
8768 ("libxml2" ,libxml2)
8769 ("libxslt" ,libxslt)
8773 `(("intltool" ,intltool)
8774 ("scrollkeeper" ,scrollkeeper)
8775 ("pkg-config" ,pkg-config)))
8776 (home-page "https://wiki.gnome.org/Apps/Planner")
8777 (synopsis "Project management software for the GNOME desktop")
8779 "GNOME Planner is a project management tool based on the Work Breakdown
8780 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8781 the resources, tasks, and constraints that you define, Planner generates
8782 various views into a project. For example, Planner can show a Gantt chart of
8783 the project. It can show a detailed summary of tasks including their
8784 duration, cost, and current progress. It can also show a report of resource
8785 utilization that highlights under-utilized and over-utilized resources. These
8786 views can be printed as PDF or PostScript files, or exported to HTML.")
8787 (license license:gpl2+)))
8789 (define-public lollypop
8796 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
8797 "08f973788c7ca46d9285eec2ac818edb/"
8798 "lollypop-" version ".tar.xz"))
8800 (base32 "0hvq6m4i62i0m63bg4gzpfb9rv1fk6vq5jl2g3ppcgm4srmfm77j"))))
8801 (build-system meson-build-system)
8803 `(#:imported-modules ((guix build python-build-system)
8804 ,@%meson-build-system-modules)
8806 #:tests? #f ; no test suite
8808 (modify-phases %standard-phases
8809 (add-after 'install 'wrap-program
8810 (lambda* (#:key outputs #:allow-other-keys)
8811 (let ((out (assoc-ref outputs "out"))
8812 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8813 (wrap-program (string-append out "/bin/lollypop")
8814 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8816 (add-after 'install 'wrap-python
8817 (@@ (guix build python-build-system) wrap))
8818 (add-after 'install 'wrap-glib-or-gtk
8819 (@@ (guix build glib-or-gtk-build-system) wrap-all-programs)))))
8821 `(("intltool" ,intltool)
8822 ("itstool" ,itstool)
8823 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8824 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8825 ("pkg-config" ,pkg-config)))
8827 `(("gobject-introspection" ,gobject-introspection)
8828 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8829 ("gst-plugins-base" ,gst-plugins-base)
8830 ("libnotify" ,libnotify)
8831 ("libsecret" ,libsecret)
8832 ("libsoup" ,libsoup)
8834 ("python-beautifulsoup4" ,python-beautifulsoup4)
8835 ("python-gst" ,python-gst)
8836 ("python-pil" ,python-pillow)
8837 ("python-pycairo" ,python-pycairo)
8838 ("python-pygobject" ,python-pygobject-3.34)
8839 ("python-pylast" ,python-pylast)
8840 ("totem-pl-parser" ,totem-pl-parser)
8841 ("webkitgtk" ,webkitgtk)))
8843 `(;; gst-plugins-base is required to start Lollypop,
8844 ;; the others are required to play streaming.
8845 ("gst-plugins-good" ,gst-plugins-good)
8846 ("gst-plugins-ugly" ,gst-plugins-ugly)))
8847 (home-page "https://wiki.gnome.org/Apps/Lollypop")
8848 (synopsis "GNOME music playing application")
8850 "Lollypop is a music player designed to play well with GNOME desktop.
8851 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
8852 from artists and tracks from the web. It also fetches cover artworks
8853 automatically and it can stream songs from online music services and charts.")
8854 (license license:gpl3+)))
8856 (define-public gnome-video-effects
8858 (name "gnome-video-effects")
8862 (uri (string-append "mirror://gnome/sources/" name "/"
8863 (version-major+minor version) "/" name "-"
8867 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
8868 (build-system glib-or-gtk-build-system)
8870 `(#:out-of-source? #f))
8872 `(("glib:bin" ,glib "bin")
8873 ("intltool" ,intltool)
8874 ("gettext" ,gettext-minimal)
8875 ("pkg-config" ,pkg-config)))
8876 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
8877 (synopsis "Video effects for Cheese and other GNOME applications")
8879 "A collection of GStreamer video filters and effects to be used in
8880 photo-booth-like software, such as Cheese.")
8881 (license license:gpl2+)))
8883 (define-public cheese
8889 (uri (string-append "mirror://gnome/sources/" name "/"
8890 (version-major+minor version) "/" name "-"
8894 "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv"))))
8896 ;; Tests require GDK.
8899 (modify-phases %standard-phases
8900 (add-before 'install 'skip-gtk-update-icon-cache
8902 ;; Don't create 'icon-theme.cache'
8903 (substitute* "Makefile"
8904 (("gtk-update-icon-cache") (which "true")))
8906 (add-after 'install 'wrap-cheese
8907 (lambda* (#:key inputs outputs #:allow-other-keys)
8908 (let ((out (assoc-ref outputs "out"))
8909 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
8910 (wrap-program (string-append out "/bin/cheese")
8911 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
8913 (build-system glib-or-gtk-build-system)
8915 `(("glib:bin" ,glib "bin")
8916 ("intltool" ,intltool)
8917 ("itstool" ,itstool)
8918 ("libxml2" ,libxml2)
8919 ("pkg-config" ,pkg-config)
8922 `(("gnome-video-effects" ,gnome-video-effects)
8923 ("clutter" ,clutter)
8924 ("clutter-gst" ,clutter-gst)
8925 ("clutter-gtk" ,clutter-gtk)
8926 ("libcanberra" ,libcanberra)
8927 ("gdk-pixbuf" ,gdk-pixbuf)
8929 ("gstreamer" ,gstreamer)))
8931 `(("gnome-desktop" ,gnome-desktop)
8932 ("gobject-introspection" ,gobject-introspection)
8933 ("gst-plugins-base" ,gst-plugins-base)
8934 ("gst-plugins-bad" ,gst-plugins-bad)
8937 ("libxtst" ,libxtst)))
8938 (home-page "https://wiki.gnome.org/Apps/Cheese")
8939 (synopsis "Webcam photo booth software for GNOME")
8941 "Cheese uses your webcam to take photos and videos. Cheese can also
8942 apply fancy special effects and lets you share the fun with others.")
8943 (license license:gpl2+)))
8945 (define-public sound-juicer
8947 (name "sound-juicer")
8952 (uri (string-append "mirror://gnome/sources/" name "/"
8953 (version-major+minor version) "/"
8954 name "-" version ".tar.xz"))
8957 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
8958 (build-system glib-or-gtk-build-system)
8960 `(("desktop-file-utils" ,desktop-file-utils)
8961 ("intltool" ,intltool)
8962 ("itstool" ,itstool)
8963 ("pkg-config" ,pkg-config)
8964 ("xmllint" ,libxml2)))
8967 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8968 ("gstreamer" ,gstreamer)
8969 ("gst-plugins-base" ,gst-plugins-base)
8970 ("gst-plugins-good" ,gst-plugins-good)
8971 ("iso-codes" ,iso-codes)
8972 ("libbrasero-media3" ,brasero)
8973 ("libcanberra" ,libcanberra)
8974 ("libdiscid" ,libdiscid)
8975 ("libmusicbrainz" ,libmusicbrainz)
8977 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
8978 (synopsis "Audio music cd ripper")
8979 (description "Sound Juicer extracts audio from compact discs and convert it
8980 into audio files that a personal computer or digital audio player can play.
8981 It supports ripping to any audio codec supported by a GStreamer plugin, such as
8982 mp3, Ogg Vorbis and FLAC")
8983 (license license:gpl2+)))
8985 (define-public soundconverter
8987 (name "soundconverter")
8992 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
8993 version "/+download/"
8994 "soundconverter-" version ".tar.xz"))
8997 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
9000 "soundconverter-remove-gconf-dependency.patch"))))
9001 (build-system glib-or-gtk-build-system)
9003 `(#:imported-modules ((guix build python-build-system)
9004 (guix build glib-or-gtk-build-system)
9005 ,@%gnu-build-system-modules)
9007 #:modules ((guix build glib-or-gtk-build-system)
9009 ((guix build gnu-build-system) #:prefix gnu:)
9010 ((guix build python-build-system) #:prefix python:))
9013 (modify-phases %standard-phases
9014 (add-after 'install 'wrap-soundconverter-for-python
9015 (assoc-ref python:%standard-phases 'wrap))
9016 (add-after 'install 'wrap-soundconverter
9017 (lambda* (#:key inputs outputs #:allow-other-keys)
9018 (let ((out (assoc-ref outputs "out"))
9019 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9020 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9021 (wrap-program (string-append out "/bin/soundconverter")
9022 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9023 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9026 `(("intltool" ,intltool)
9027 ("pkg-config" ,pkg-config)
9028 ("glib:bin" ,glib "bin")))
9032 ("python-pygobject" ,python-pygobject)
9033 ("gstreamer" ,gstreamer)
9034 ("gst-plugins-base" ,gst-plugins-base)))
9035 (home-page "http://soundconverter.org/")
9036 (synopsis "Convert between audio formats with a graphical interface")
9038 "SoundConverter supports converting between many audio formats including
9039 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9040 configurable file renaming. ")
9041 (license license:gpl3)))
9043 (define-public workrave
9051 (url "https://github.com/rcaelers/workrave.git")
9052 (commit (string-append "v" (string-map
9053 (match-lambda (#\. #\_) (chr chr))
9055 (file-name (git-file-name name version))
9057 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
9058 (build-system glib-or-gtk-build-system)
9059 (inputs `(("glib" ,glib)
9061 ("gdk-pixbuf" ,gdk-pixbuf)
9065 ("libxtst" ,libxtst)
9069 ("libxscrnsaver" ,libxscrnsaver)))
9070 (native-inputs `(("boost" ,boost)
9071 ("pkg-config" ,pkg-config)
9072 ("gettext" ,gnu-gettext)
9073 ("autoconf" ,autoconf)
9074 ("autoconf-archive" , autoconf-archive)
9075 ("automake" ,automake)
9076 ("libtool" ,libtool)
9077 ("intltool" ,intltool)
9078 ("gobject-introspection" ,gobject-introspection)
9079 ("python3" ,python-3)
9080 ("python-jinja2" ,python-jinja2)))
9081 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9083 "Workrave is a program that assists in the recovery and prevention of
9084 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9085 micro-pauses and rest breaks, and restricts you to your daily limit.")
9086 (home-page "http://www.workrave.org")
9087 (license license:gpl3+)))
9095 (uri (string-append "mirror://gnome/sources/ghex/"
9096 (version-major+minor version) "/"
9097 "ghex-" version ".tar.xz"))
9100 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9101 (build-system meson-build-system)
9105 (modify-phases %standard-phases
9106 (add-after 'unpack 'skip-gtk-update-icon-cache
9107 ;; Don't create 'icon-theme.cache'.
9109 (substitute* "meson_post_install.py"
9110 (("gtk-update-icon-cache") (which "true")))
9113 `(("pkg-config" ,pkg-config)
9114 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
9115 ("gnome-common" ,gnome-common)
9117 ("intltool" ,intltool)
9118 ("yelp-tools" ,yelp-tools)
9119 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
9123 (synopsis "GNOME hexadecimal editor")
9124 (description "The GHex program can view and edit files in two ways:
9125 hexadecimal or ASCII. It is useful for editing binary files in general.")
9126 (home-page "https://wiki.gnome.org/Apps/Ghex")
9127 (license license:gpl2)))
9129 (define-public libdazzle
9135 (uri (string-append "mirror://gnome/sources/libdazzle/"
9136 (version-major+minor version) "/"
9137 "libdazzle-" version ".tar.xz"))
9140 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
9141 (build-system meson-build-system)
9144 (modify-phases %standard-phases
9145 (add-before 'check 'pre-check
9147 ;; Tests require a running X server.
9148 (system "Xvfb :1 &")
9149 (setenv "DISPLAY" ":1")
9152 `(("glib" ,glib "bin") ; glib-compile-resources
9153 ("pkg-config" ,pkg-config)
9155 ("xorg-server" ,xorg-server-for-tests)))
9158 ("gobject-introspection" ,gobject-introspection)
9161 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9162 (synopsis "Companion library to GObject and Gtk+")
9163 (description "The libdazzle library is a companion library to GObject and
9164 Gtk+. It provides various features that the authors wish were in the
9165 underlying library but cannot for various reasons. In most cases, they are
9166 wildly out of scope for those libraries. In other cases, they are not quite
9167 generic enough to work for everyone.")
9168 (license license:gpl3+)))
9170 (define-public evolution
9176 (uri (string-append "mirror://gnome/sources/evolution/"
9177 (version-major+minor version) "/"
9178 "evolution-" version ".tar.xz"))
9181 "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh"))))
9182 (build-system cmake-build-system)
9184 `(#:imported-modules (,@%cmake-build-system-modules
9185 (guix build glib-or-gtk-build-system))
9186 #:modules ((guix build cmake-build-system)
9187 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9190 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
9191 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
9192 ; in four years and cannot be built.
9194 (modify-phases %standard-phases
9195 ;; The build system attempts to install user interface modules to the
9196 ;; output directory of the "evolution-data-server" package. This
9197 ;; change redirects that change.
9198 (add-after 'unpack 'patch-ui-module-dir
9199 (lambda* (#:key outputs #:allow-other-keys)
9200 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9201 (("\\$\\{edsuimoduledir\\}")
9202 (string-append (assoc-ref outputs "out")
9203 "/lib/evolution-data-server/ui-modules")))
9205 (add-after 'install 'glib-or-gtk-compile-schemas
9206 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9207 (add-after 'install 'glib-or-gtk-wrap
9208 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9210 `(("glib" ,glib "bin") ; glib-mkenums
9211 ("pkg-config" ,pkg-config)
9212 ("intltool" ,intltool)
9213 ("itstool" ,itstool)))
9215 `(("enchant" ,enchant)
9216 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9218 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9219 ("gnome-autoar" ,gnome-autoar)
9220 ("gnome-desktop" ,gnome-desktop)
9221 ("gtkspell3" ,gtkspell3)
9222 ("highlight" ,highlight)
9223 ("libcanberra" ,libcanberra)
9224 ("libedataserverui" ,evolution-data-server)
9225 ("libgweather" ,libgweather)
9226 ("libnotify" ,libnotify)
9227 ("libsoup" ,libsoup)
9229 ("openldap" ,openldap)
9230 ("webkitgtk" ,webkitgtk)
9232 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9233 (synopsis "Manage your email, contacts and schedule")
9234 (description "Evolution is a personal information management application
9235 that provides integrated mail, calendaring and address book
9237 ;; See COPYING for details.
9238 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
9239 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
9240 license:lgpl2.1+)))) ; smime/lib/*
9242 (define-public gthumb
9248 (uri (string-append "mirror://gnome/sources/gthumb/"
9249 (version-major+minor version) "/"
9250 "gthumb-" version ".tar.xz"))
9253 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
9254 (build-system meson-build-system)
9258 ;; Ensure the RUNPATH contains all installed library locations.
9259 (list (string-append "-Dc_link_args=-Wl,-rpath="
9260 (assoc-ref %outputs "out")
9261 "/lib/gthumb/extensions")
9262 (string-append "-Dcpp_link_args=-Wl,-rpath="
9263 (assoc-ref %outputs "out")
9264 "/lib/gthumb/extensions"))))
9266 `(("pkg-config" ,pkg-config)
9267 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9268 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9269 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9270 ("intltool" ,intltool)
9271 ("itstool" ,itstool)))
9275 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9276 ("gstreamer" ,gstreamer)
9277 ("clutter" ,clutter)
9278 ("clutter-gst" ,clutter-gst)
9279 ("clutter-gtk" ,clutter-gtk)
9280 ("libjpeg" ,libjpeg)
9281 ("libtiff" ,libtiff)
9282 ("libraw" ,libraw)))
9283 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9284 (synopsis "GNOME image viewer and browser")
9285 (description "GThumb is an image viewer, browser, organizer, editor and
9286 advanced image management tool")
9287 (license license:gpl2+)))
9289 (define-public terminator
9295 (uri (string-append "https://launchpad.net/" name "/"
9296 "gtk3/" version "/" "+download/"
9297 name "-" version ".tar.gz"))
9300 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9301 (build-system python-build-system)
9303 `(("intltool" ,intltool)
9304 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9305 ("gettext" ,gettext-minimal)
9306 ("pkg-config" ,pkg-config)))
9309 ("gobject-introspection" ,gobject-introspection)
9310 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9311 ("python2-pycairo" ,python2-pycairo)
9312 ("python2-pygobject" ,python2-pygobject)
9313 ("python2-psutil" ,python2-psutil)
9316 `(#:python ,python-2 ; Python 3 isn't supported
9317 #:imported-modules ((guix build glib-or-gtk-build-system)
9318 ,@%python-build-system-modules)
9319 #:modules ((guix build python-build-system)
9320 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9323 (modify-phases %standard-phases
9325 'install 'wrap-program
9326 (lambda* (#:key outputs #:allow-other-keys)
9327 (let ((prog (string-append (assoc-ref outputs "out")
9328 "/bin/terminator")))
9330 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9331 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9333 (add-after 'wrap-program 'glib-or-gtk-wrap
9334 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
9335 (home-page "https://gnometerminator.blogspot.com/")
9336 (synopsis "Store and run multiple GNOME terminals in one window")
9338 "Terminator allows you to run multiple GNOME terminals in a grid and
9339 +tabs, and it supports drag and drop re-ordering of terminals.")
9340 (license license:gpl2)))
9342 (define-public libhandy
9350 (url "https://source.puri.sm/Librem5/libhandy")
9351 (commit (string-append "v" version))))
9352 (file-name (git-file-name name version))
9354 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
9355 (build-system meson-build-system)
9358 '("-Dglade_catalog=disabled"
9361 (modify-phases %standard-phases
9362 (add-before 'check 'pre-check
9364 ;; Tests require a running X server.
9365 (system "Xvfb :1 &")
9366 (setenv "DISPLAY" ":1")
9371 `(("glib:bin" ,glib "bin")
9372 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9374 ("gtk-doc" ,gtk-doc)
9375 ("pkg-config" ,pkg-config)
9376 ("gettext" ,gettext-minimal)
9378 ;; Test suite dependencies.
9379 ("xorg-server" ,xorg-server-for-tests)
9380 ("hicolor-icon-theme" ,hicolor-icon-theme)))
9381 (home-page "https://source.puri.sm/Librem5/libhandy")
9382 (synopsis "Library full of GTK+ widgets for mobile phones")
9383 (description "The aim of the handy library is to help with developing user
9384 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9385 for usage on small and big screens.")
9386 (license license:lgpl2.1+)))
9388 (define-public libgit2-glib
9390 (name "libgit2-glib")
9391 (version "0.28.0.1")
9394 (uri (string-append "mirror://gnome/sources/" name "/"
9395 (version-major+minor version) "/"
9396 name "-" version ".tar.xz"))
9399 "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7"))))
9400 (build-system meson-build-system)
9402 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9403 ("gobject-introspection" ,gobject-introspection)
9404 ("intltool" ,intltool)
9405 ("libssh2" ,libssh2)
9406 ("pkg-config" ,pkg-config)
9407 ("python-pygobject" ,python-pygobject)
9408 ("python-wrapper" ,python-wrapper)
9412 ("libgit2" ,libgit2)))
9413 (synopsis "GLib wrapper around the libgit2 Git access library")
9414 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9415 access library. It only implements the core plumbing functions, not really the
9416 higher level porcelain stuff.")
9417 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9418 (license license:gpl2+)))
9426 (uri (string-append "mirror://gnome/sources/" name "/"
9427 (version-major+minor version) "/"
9428 name "-" version ".tar.xz"))
9431 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9432 (build-system meson-build-system)
9436 (modify-phases %standard-phases
9437 (add-after 'unpack 'disable-post-install-partially
9439 (substitute* "meson_post_install.py"
9440 (("'python'") ; there are no python sources to compile
9441 (string-append "'" (which "true") "'"))
9442 (("gtk-update-icon-cache") (which "true")))
9444 (add-after 'unpack 'fix-test-sources
9446 (substitute* "tests/libgitg/test-commit.vala"
9447 (("/bin/bash") (which "bash")))
9449 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9450 (lambda* (#:key outputs #:allow-other-keys)
9451 (let ((prog (string-append (assoc-ref outputs "out")
9454 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9458 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9460 ("gtkspell3" ,gtkspell3)
9461 ("gtksourceview" ,gtksourceview-3)
9462 ("json-glib" ,json-glib)
9463 ("libdazzle" ,libdazzle)
9465 ("libgit2" ,libgit2) ; propagated by libgit2-glib
9466 ("libgit2-glib" ,libgit2-glib)
9467 ("libpeas" ,libpeas)
9468 ("libsecret" ,libsecret)
9469 ("libsoup" ,libsoup)
9470 ("libxml2" ,libxml2)))
9472 `(("glib:bin" ,glib "bin")
9473 ("gtk+:bin" ,gtk+ "bin")
9474 ("gobject-introspection" ,gobject-introspection)
9475 ("intltool" ,intltool)
9476 ("pkg-config" ,pkg-config)
9478 (synopsis "Graphical user interface for git")
9480 "gitg is a graphical user interface for git. It aims at being a small,
9481 fast and convenient tool to visualize the history of git repositories.
9482 Besides visualization, gitg also provides several utilities to manage your
9483 repository and commit your work.")
9484 (home-page "https://wiki.gnome.org/Apps/Gitg")
9485 (license license:gpl2+)))
9487 (define-public gamin
9493 (uri (string-append "mirror://gnome/sources/" name "/"
9494 (version-major+minor version) "/"
9495 name "-" version ".tar.bz2"))
9498 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9499 (build-system gnu-build-system)
9502 (modify-phases %standard-phases
9503 (add-after 'unpack 'remove-deprecated-macro
9505 (substitute* '("server/gam_node.c"
9506 "server/gam_subscription.h"
9508 "server/gam_subscription.c")
9509 (("G_CONST_RETURN") "const"))
9514 `(("intltool" ,intltool)
9515 ("pkg-config" ,pkg-config)))
9516 (home-page "https://people.gnome.org/~veillard/gamin/")
9517 (synopsis "File alteration monitor")
9519 "Gamin is a file and directory monitoring system defined to be a subset
9520 of the FAM (File Alteration Monitor) system. This is a service provided by a
9521 library which allows to detect when a file or a directory has been modified.")
9522 (license license:gpl2+)))
9524 (define-public gnome-mahjongg
9526 (name "gnome-mahjongg")
9531 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9533 (file-name (git-file-name name version))
9536 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9537 (build-system meson-build-system)
9539 `(#:glib-or-gtk? #t))
9541 `(("appstream-glib" ,appstream-glib)
9542 ("gettext" ,gettext-minimal)
9543 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9544 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9545 ("itstool" ,itstool)
9546 ("pkg-config" ,pkg-config)
9549 `(("dconf" ,dconf)))
9553 ("librsvg" ,librsvg)))
9554 (synopsis "Mahjongg tile-matching game")
9555 (description "GNOME Mahjongg is a game based on the classic Chinese
9556 tile-matching game Mahjong. It features multiple board layouts, tile themes,
9557 and a high score table.")
9558 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9559 (license license:gpl2+)))
9561 (define-public gnome-themes-extra
9563 (name "gnome-themes-extra")
9568 (uri (string-append "mirror://gnome/sources/" name "/"
9569 (version-major+minor version) "/" name "-"
9573 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9574 (build-system gnu-build-system)
9577 ;; Don't create 'icon-theme.cache'.
9578 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9579 (true (string-append coreutils "/bin/true")))
9580 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
9582 `(("glib:bin" ,glib "bin")
9583 ("intltool" ,intltool)
9584 ("pkg-config" ,pkg-config)))
9589 ("librsvg" ,librsvg)
9590 ("libxml2" ,libxml2)))
9591 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9592 (synopsis "GNOME Extra Themes")
9593 (description "This package provides themes and related elements that don't
9594 really fit in other upstream packages. It offers legacy support for GTK+ 2
9595 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9596 index files needed for Adwaita to be used outside of GNOME.")
9597 (license license:lgpl2.1+)))
9599 (define-public polari
9605 (uri (string-append "mirror://gnome/sources/polari/"
9606 (version-major+minor version)
9607 "/polari-" version ".tar.xz"))
9610 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9611 (build-system meson-build-system)
9615 (modify-phases %standard-phases
9616 (add-after 'unpack 'skip-gtk-update-icon-cache
9618 (substitute* "meson/meson-postinstall.sh"
9619 (("gtk-update-icon-cache") (which "true")))
9621 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9622 (lambda* (#:key outputs #:allow-other-keys)
9623 (let ((prog (string-append (assoc-ref outputs "out")
9626 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9630 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9634 ("libsecret" ,libsecret)
9635 ("libsoup" ,libsoup)
9636 ("telepathy-glib" ,telepathy-glib)
9637 ("telepathy-logger" ,telepathy-logger)))
9639 `(("glib:bin" ,glib "bin")
9640 ("gobject-introspection" ,gobject-introspection)
9641 ("intltool" ,intltool)
9642 ("pkg-config" ,pkg-config)
9643 ("yelp-tools" ,yelp-tools)))
9645 `(("telepathy-idle" ,telepathy-idle)
9646 ("telepathy-mission-control" ,telepathy-mission-control)))
9647 (synopsis "Simple IRC Client")
9649 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9650 integrate seamlessly with the GNOME desktop.")
9651 (home-page "https://wiki.gnome.org/Apps/Polari")
9652 (license license:gpl2+)))