gnu: eigen: Update to 3.3.7.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
CommitLineData
995b7261 1;;; GNU Guix --- Functional package management for GNU
109da1c0 2;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
5dc6d5ce 3;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
29a7c98a 4;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
7108425c 5;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
58d32305 6;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
8b877545 7;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
7aab13f1 8;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
63ad9b80 9;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
1e7464a9 10;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
ed783404 11;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
64a153bd 12;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
293ff8b2 13;;; Copyright © 2015 David Thompson <davet@gnu.org>
e19cb895 14;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
35e2d0cf 15;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
3c697ffd 16;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
03be9874 17;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
277a7d82 18;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
a56be436 19;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
e19f9c24 20;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
71d9b980 21;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
47956fa0 22;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
e5e1df4d 23;;; Copyright © 2016 David Craven <david@craven.ch>
ac631328 24;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
cce0da5e 25;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
d04687dc 26;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
3c5dbd2b 27;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
d1d739fa 28;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
1d3fcf94 29;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
dcfa0acd 30;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot>
0438f1d8 31;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
4e3fdeb7 32;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
2eee7ee3 33;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
a18f8eaf 34;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
e57c2adb 35;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
8caa4589 36;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
f2d56e39 37;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
3e9c80b2 38;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
a7a31827 39;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
633422b0 40;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
213315d4 41;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
4690e3a4 42;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
50e96d25 43;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
93beace0 44;;; Copyright © 2019 David Wilson <david@daviwil.com>
d36fa50f 45;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
f6501b9f 46;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
26ba3f07 47;;; Copyright © 2019 Leo Prikler <leo.prikler@student.tugraz.at>
fa01e10d 48;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
63db190a 49;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
995b7261
AE
50;;;
51;;; This file is part of GNU Guix.
52;;;
53;;; GNU Guix is free software; you can redistribute it and/or modify it
54;;; under the terms of the GNU General Public License as published by
55;;; the Free Software Foundation; either version 3 of the License, or (at
56;;; your option) any later version.
57;;;
58;;; GNU Guix is distributed in the hope that it will be useful, but
59;;; WITHOUT ANY WARRANTY; without even the implied warranty of
60;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
61;;; GNU General Public License for more details.
62;;;
63;;; You should have received a copy of the GNU General Public License
64;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
65
66(define-module (gnu packages gnome)
ed19903d 67 #:use-module (gnu packages)
ba5dd105 68 #:use-module (gnu packages admin)
411ba511 69 #:use-module (gnu packages aspell)
75016d07 70 #:use-module (gnu packages autotools)
7b212526 71 #:use-module (gnu packages avahi)
b29909b4 72 #:use-module (gnu packages backup)
6a180f6f 73 #:use-module (gnu packages base)
1e33331c 74 #:use-module (gnu packages bash)
5698b8b8 75 #:use-module (gnu packages bison)
aa51d92c 76 #:use-module (gnu packages boost)
5fc9b6c1 77 #:use-module (gnu packages build-tools)
df217748 78 #:use-module (gnu packages calendar)
b29909b4 79 #:use-module (gnu packages cdrom)
df12f04a 80 #:use-module (gnu packages check)
d61a894b 81 #:use-module (gnu packages cmake)
b29909b4 82 #:use-module (gnu packages compression)
8f523eb9 83 #:use-module (gnu packages crates-io)
23a22af6 84 #:use-module (gnu packages cups)
6e1bb642 85 #:use-module (gnu packages curl)
c3f29bc9 86 #:use-module (gnu packages cyrus-sasl)
6e1bb642 87 #:use-module (gnu packages databases)
255d1bbe 88 #:use-module (gnu packages dbm)
c769cf9f 89 #:use-module (gnu packages djvu)
ba5dd105 90 #:use-module (gnu packages dns)
b4ce6300 91 #:use-module (gnu packages docbook)
b29909b4 92 #:use-module (gnu packages documentation)
329d731b 93 #:use-module (gnu packages enchant)
b29909b4
TGR
94 #:use-module (gnu packages flex)
95 #:use-module (gnu packages fonts)
e762d943 96 #:use-module (gnu packages file-systems)
a56be436 97 #:use-module (gnu packages fontutils)
b29909b4 98 #:use-module (gnu packages freedesktop)
dfc407f3 99 #:use-module (gnu packages game-development)
fed5a689 100 #:use-module (gnu packages gettext)
b29909b4
TGR
101 #:use-module (gnu packages ghostscript)
102 #:use-module (gnu packages gl)
995b7261 103 #:use-module (gnu packages glib)
c1354b90 104 #:use-module (gnu packages gnupg)
23a22af6 105 #:use-module (gnu packages gnuzilla)
8d8c6bff 106 #:use-module (gnu packages geo)
b29909b4
TGR
107 #:use-module (gnu packages gperf)
108 #:use-module (gnu packages graphviz)
85f5dc19 109 #:use-module (gnu packages gstreamer)
d9c1a22b 110 #:use-module (gnu packages gtk)
6b888eff 111 #:use-module (gnu packages guile)
b645146f 112 #:use-module (gnu packages ibus)
03be9874 113 #:use-module (gnu packages icu4c)
b29909b4
TGR
114 #:use-module (gnu packages image)
115 #:use-module (gnu packages imagemagick)
116 #:use-module (gnu packages inkscape)
9cc98f8a 117 #:use-module (gnu packages iso-codes)
b29909b4 118 #:use-module (gnu packages kerberos)
85f5dc19 119 #:use-module (gnu packages libcanberra)
b64e217f 120 #:use-module (gnu packages libunistring)
75016d07 121 #:use-module (gnu packages libusb)
b29909b4 122 #:use-module (gnu packages linux)
4e3fc547 123 #:use-module (gnu packages lirc)
7b212526 124 #:use-module (gnu packages lua)
b29909b4 125 #:use-module (gnu packages mail)
03be9874 126 #:use-module (gnu packages mp3)
b29909b4 127 #:use-module (gnu packages multiprecision)
64fce637 128 #:use-module (gnu packages music)
b29909b4
TGR
129 #:use-module (gnu packages ncurses)
130 #:use-module (gnu packages nettle)
ba5dd105 131 #:use-module (gnu packages networking)
5fc9b6c1 132 #:use-module (gnu packages ninja)
aff0cce9 133 #:use-module (gnu packages nss)
b29909b4 134 #:use-module (gnu packages openldap)
b645146f 135 #:use-module (gnu packages password-utils)
de1215e2 136 #:use-module (gnu packages pcre)
b29909b4 137 #:use-module (gnu packages pdf)
27477d2d 138 #:use-module (gnu packages perl)
f70d8383 139 #:use-module (gnu packages photo)
995b7261 140 #:use-module (gnu packages pkg-config)
b29909b4
TGR
141 #:use-module (gnu packages polkit)
142 #:use-module (gnu packages popt)
7d3bb433 143 #:use-module (gnu packages pretty-print)
23a22af6 144 #:use-module (gnu packages pulseaudio)
995b7261 145 #:use-module (gnu packages python)
00014781
RW
146 #:use-module (gnu packages python-crypto)
147 #:use-module (gnu packages python-web)
44d10b1f 148 #:use-module (gnu packages python-xyz)
cce0da5e 149 #:use-module (gnu packages rdesktop)
b29909b4 150 #:use-module (gnu packages readline)
a76d0f03 151 #:use-module (gnu packages ruby)
ec47c07d 152 #:use-module (gnu packages rust)
b29909b4 153 #:use-module (gnu packages samba)
75016d07 154 #:use-module (gnu packages scanner)
240cee8a 155 #:use-module (gnu packages selinux)
c27e02bf 156 #:use-module (gnu packages slang)
b29909b4
TGR
157 #:use-module (gnu packages speech)
158 #:use-module (gnu packages spice)
cd0322a3 159 #:use-module (gnu packages sqlite)
4a1bf090 160 #:use-module (gnu packages ssh)
8f9ac901 161 #:use-module (gnu packages tex)
33dc54b0 162 #:use-module (gnu packages time)
a7fd7b68 163 #:use-module (gnu packages tls)
3c5dbd2b 164 #:use-module (gnu packages version-control)
b29909b4 165 #:use-module (gnu packages video)
59132b80 166 #:use-module (gnu packages virtualization)
f2b96b3a 167 #:use-module (gnu packages vpn)
a18f8eaf 168 #:use-module (gnu packages web)
b29909b4
TGR
169 #:use-module (gnu packages webkit)
170 #:use-module (gnu packages xdisorg)
171 #:use-module (gnu packages xiph)
172 #:use-module (gnu packages xml)
d633f2f6 173 #:use-module (gnu packages xorg)
a76d0f03 174 #:use-module (gnu artwork)
8f523eb9 175 #:use-module (guix build-system cargo)
b29909b4
TGR
176 #:use-module (guix build-system cmake)
177 #:use-module (guix build-system glib-or-gtk)
178 #:use-module (guix build-system gnu)
179 #:use-module (guix build-system meson)
08be02be 180 #:use-module (guix build-system python)
b29909b4
TGR
181 #:use-module (guix build-system trivial)
182 #:use-module (guix download)
183 #:use-module (guix git-download)
184 #:use-module ((guix licenses) #:prefix license:)
185 #:use-module (guix packages)
186 #:use-module (guix utils)
a76d0f03 187 #:use-module (guix gexp)
8f523eb9
EF
188 #:use-module (guix monads)
189 #:use-module (guix store)
4e3fdeb7 190 #:use-module (ice-9 match)
c024ae36 191 #:use-module (srfi srfi-1))
85f5dc19
AE
192
193(define-public brasero
194 (package
195 (name "brasero")
e2bf423a 196 (version "3.12.2")
85f5dc19
AE
197 (source (origin
198 (method url-fetch)
d1df7554 199 (uri (string-append "mirror://gnome/sources/brasero/"
e8627cd9 200 (version-major+minor version) "/"
d1df7554 201 "brasero-" version ".tar.xz"))
85f5dc19
AE
202 (sha256
203 (base32
e2bf423a 204 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
1c40e3b7 205 (build-system glib-or-gtk-build-system)
e8627cd9
DH
206 (arguments
207 `(#:configure-flags (list
208 (string-append "--with-girdir="
209 (assoc-ref %outputs "out")
210 "/share/gir-1.0")
211 (string-append "--with-typelibdir="
212 (assoc-ref %outputs "out")
ce426deb
TD
213 "/lib/girepository-1.0"))
214 #:phases
215 (modify-phases %standard-phases
216 (add-before 'configure 'embed-growisofs
217 (lambda* (#:key inputs #:allow-other-keys)
218 (substitute* "plugins/growisofs/burn-growisofs.c"
219 (("\"growisofs") (string-append "\"" (which "growisofs"))))
e2bf423a 220 #t)))))
85f5dc19
AE
221 (propagated-inputs
222 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
9cc98f8a
CR
223 (native-inputs
224 `(("intltool" ,intltool)
ba549e17 225 ("itstool" ,itstool)
426adbe8 226 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
e8627cd9 227 ("gobject-introspection" ,gobject-introspection)
9cc98f8a 228 ("pkg-config" ,pkg-config)))
85f5dc19 229 (inputs
ce426deb
TD
230 `(("dvd+rw-tools" ,dvd+rw-tools)
231 ("glib" ,glib)
85f5dc19
AE
232 ("gnome-doc-utils" ,gnome-doc-utils)
233 ("gstreamer" ,gstreamer)
234 ("gst-plugins-base" ,gst-plugins-base)
235 ("gtk+" ,gtk+)
85f5dc19
AE
236 ("libcanberra" ,libcanberra)
237 ("libice" ,libice)
238 ("libnotify" ,libnotify)
239 ("libsm" ,libsm)
e8627cd9 240 ("libxml2" ,libxml2)
e8627cd9 241 ("totem-pl-parser" ,totem-pl-parser)))
fb9399e9 242 (home-page "https://wiki.gnome.org/Apps/Brasero")
85f5dc19
AE
243 (synopsis "CD/DVD burning tool for Gnome")
244 (description "Brasero is an application to burn CD/DVD for the Gnome
245Desktop. It is designed to be as simple as possible and has some unique
246features to enable users to create their discs easily and quickly.")
1dd26275 247 (license license:gpl2+)))
995b7261 248
e05ce17d
RG
249(define-public phodav
250 (package
251 (name "phodav")
252 (version "2.4")
253 (source (origin
254 (method url-fetch)
255 (uri (string-append "mirror://gnome/sources/" name "/"
256 (version-major+minor version) "/"
257 name "-" version ".tar.xz"))
258 (sha256
259 (base32
260 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
261 (build-system meson-build-system)
262 (native-inputs
263 `(("gettext" ,gettext-minimal)
264 ("glib:bin" ,glib "bin")
265 ("gtk-doc" ,gtk-doc)
266 ("pkg-config" ,pkg-config)))
267 (inputs
268 `(("avahi" ,avahi)
269 ("libgudev" ,libgudev)
270 ("libsoup" ,libsoup)))
271 (synopsis "WebDav server implementation using libsoup")
272 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
273but it is generic enough to be reused in other projects,
274in particular in the GNOME desktop.")
275 (home-page "https://wiki.gnome.org/phodav")
276 (license license:lgpl2.1+)))
277
29ae18db
RG
278(define-public gnome-color-manager
279 (package
280 (name "gnome-color-manager")
281 (version "3.32.0")
282 (source (origin
283 (method url-fetch)
284 (uri (string-append "mirror://gnome/sources/" name "/"
285 (version-major+minor version) "/"
286 name "-" version ".tar.xz"))
287 (sha256
288 (base32
289 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
290 (build-system meson-build-system)
291 (arguments
292 `(#:glib-or-gtk? #t
293 #:phases
294 (modify-phases %standard-phases
295 (add-before
296 'check 'pre-check
297 (lambda _
298 ;; Tests require a running X server.
299 (system "Xvfb :1 &")
300 (setenv "DISPLAY" ":1")
301 #t)))))
302 (native-inputs
303 `(("desktop-file-utils" ,desktop-file-utils)
304 ("gettext" ,gettext-minimal)
305 ("glib:bin" ,glib "bin")
306 ("gtk+:bin" ,gtk+ "bin")
307 ("itstool" ,itstool)
308 ("pkg-config" ,pkg-config)
309 ("xorg-server" ,xorg-server-for-tests)))
310 (inputs
311 `(("adwaita-icon-theme" ,adwaita-icon-theme)
312 ("appstream-glib" ,appstream-glib)
313 ("colord-gtk" ,colord-gtk)
314 ("exiv2" ,exiv2)
315 ("gnome-desktop" ,gnome-desktop)
316 ("libcanberra" ,libcanberra)
317 ("libexif" ,libexif)
318 ("libtiff" ,libtiff)
319 ("libxrandr" ,libxrandr)
320 ("libxtst" ,libxtst)
321 ("libxxf86vm" ,libxxf86vm)
322 ("vte" ,vte)
323 ("xorgproto" ,xorgproto)))
324 (synopsis "Color profile manager for the GNOME desktop")
325 (description "GNOME Color Manager is a session framework that makes
326it easy to manage, install and generate color profiles
327in the GNOME desktop.")
328 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
7bd000d1 329 (license license:gpl2+)))
29ae18db 330
e05471a1
RG
331(define-public gnome-online-miners
332 (package
333 (name "gnome-online-miners")
334 (version "3.30.0")
335 (source (origin
336 (method url-fetch)
337 (uri (string-append "mirror://gnome/sources/" name "/"
338 (version-major+minor version) "/"
339 name "-" version ".tar.xz"))
340 (sha256
341 (base32
342 "0pjamwwzn5wqgihyss357dyl2q70r0bngnqmwsqawchx5f9aja9c"))))
343 (build-system glib-or-gtk-build-system)
344 (native-inputs
345 `(("gettext" ,gettext-minimal)
346 ("glib:bin" ,glib "bin")
29ae18db 347 ("gobject-introspection" ,gobject-introspection)
e05471a1
RG
348 ("gtk+:bin" ,gtk+ "bin")
349 ("pkg-config" ,pkg-config)))
350 (inputs
351 `(("gnome-online-accounts" ,gnome-online-accounts)
352 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
e05471a1
RG
353 ("grilo" ,grilo)
354 ("libgdata" ,libgdata)
355 ("libgfbgraph" ,gfbgraph)
356 ("libzapojit" ,libzapojit)
357 ("rest" ,rest)
358 ("tracker" ,tracker)))
359 (synopsis "Web Crawlers for GNOME")
360 (description "GNOME Online Miners provides a set of crawlers that
361go through your online content and index them locally in Tracker.
362It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
363 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
7bd000d1 364 (license license:gpl2+)))
e05471a1 365
e2aed29c
RG
366(define-public gssdp
367 (package
368 (name "gssdp")
369 (version "1.2.2")
370 (source (origin
371 (method url-fetch)
372 (uri (string-append "mirror://gnome/sources/" name "/"
373 (version-major+minor version) "/"
374 name "-" version ".tar.xz"))
375 (sha256
376 (base32
377 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
378 (build-system meson-build-system)
379 (native-inputs
380 `(("gettext" ,gettext-minimal)
381 ("glib:bin" ,glib "bin")
382 ("gobject-introspection" ,gobject-introspection)
383 ("gtk-doc" ,gtk-doc)
384 ("pkg-config" ,pkg-config)
385 ("vala" ,vala)))
386 (inputs
387 `(("gtk+" ,gtk+)
388 ("libsoup" ,libsoup)))
389 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
390Protocol} for GNOME")
391 (description "This package provides a library to handle resource discovery
392and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
393a debugging tool, @command{gssdp-device-sniffer}.")
394 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
395 (license license:lgpl2.0+)))
396
291a85b2
RG
397(define-public gupnp
398 (package
399 (name "gupnp")
400 (version "1.2.2")
401 (source (origin
402 (method url-fetch)
403 (uri (string-append "mirror://gnome/sources/" name "/"
404 (version-major+minor version) "/"
405 name "-" version ".tar.xz"))
406 (sha256
407 (base32
408 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
409 (build-system meson-build-system)
410 (native-inputs
411 `(("gettext" ,gettext-minimal)
412 ("glib:bin" ,glib "bin")
413 ("gobject-introspection" ,gobject-introspection)
414 ("gtk-doc" ,gtk-doc)
415 ("pkg-config" ,pkg-config)
416 ("vala" ,vala)))
417 (inputs
418 `(("gssdp" ,gssdp)
419 ("gtk+" ,gtk+)
420 ("libsoup" ,libsoup)))
421 (synopsis "PnP API for GNOME")
422 (description "This package provides GUPnP, an object-oriented framework
423for creating UPnP devices and control points, written in C using
424@code{GObject} and @code{libsoup}.")
425 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
426 (license license:lgpl2.0+)))
427
747d7fe4
RG
428(define-public gupnp-dlna
429 (package
430 (name "gupnp-dlna")
431 (version "0.10.5")
432 (source (origin
433 (method url-fetch)
434 (uri (string-append "mirror://gnome/sources/" name "/"
435 (version-major+minor version) "/"
436 name "-" version ".tar.xz"))
437 (sha256
438 (base32
439 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
440 (build-system gnu-build-system)
441 (native-inputs
442 `(("gettext" ,gettext-minimal)
443 ("glib:bin" ,glib "bin")
444 ("gobject-introspection" ,gobject-introspection)
445 ("gtk-doc" ,gtk-doc)
446 ("libxml" ,libxml2)
447 ("pkg-config" ,pkg-config)
448 ("vala" ,vala)))
449 (inputs
450 `(("gstreamer" ,gstreamer)
451 ("gupnp" ,gupnp)))
452 (propagated-inputs
453 `(("gst-plugins-base" ,gst-plugins-base)
454 ("gst-plugins-good" ,gst-plugins-good)))
455 (synopsis "GUPnP DLNA for GNOME")
456 (description "This package provides a small utility library to
457support DLNA-related tasks such as media profile guessing, transcoding to a
458given profile, etc. DLNA is a subset of UPnP A/V.")
459 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
460 (license license:lgpl2.0+)))
461
1b4cb628
RG
462(define-public gupnp-av
463 (package
464 (name "gupnp-av")
465 (version "0.12.11")
466 (source (origin
467 (method url-fetch)
468 (uri (string-append "mirror://gnome/sources/" name "/"
469 (version-major+minor version) "/"
470 name "-" version ".tar.xz"))
471 (sha256
472 (base32
473 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
474 (build-system gnu-build-system)
475 (native-inputs
476 `(("gettext" ,gettext-minimal)
477 ("glib:bin" ,glib "bin")
478 ("gobject-introspection" ,gobject-introspection)
479 ("gtk-doc" ,gtk-doc)
480 ("libxml" ,libxml2)
481 ("pkg-config" ,pkg-config)))
482 (inputs
483 `(("gtk+" ,gtk+)
484 ("gupnp" ,gupnp)))
485 (synopsis "GUPnP A/V for GNOME")
486 (description "This package provides a small library for handling
487and implementation of UPnP A/V profiles.")
488 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
489 (license license:lgpl2.0+)))
490
02ebbca8
RG
491(define-public libmediaart
492 (package
493 (name "libmediaart")
494 (version "1.9.4")
495 (source (origin
496 (method url-fetch)
497 (uri (string-append "mirror://gnome/sources/" name "/"
498 (version-major+minor version) "/"
499 name "-" version ".tar.xz"))
500 (sha256
501 (base32
502 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
503 (build-system gnu-build-system)
504 (native-inputs
505 `(("glib:bin" ,glib "bin")
506 ("pkg-config" ,pkg-config)))
507 (inputs
508 `(("gdk-pixbuf" ,gdk-pixbuf)
509 ("gettext" ,gettext-minimal)
510 ("gobject-introspection" ,gobject-introspection)
511 ("gtk+:doc", gtk+ "doc")
512 ("vala" ,vala)))
513 (synopsis "Media art library for the GNOME desktop")
514 (description
515 "The libmediaart library is the foundation for media art caching,
516extraction, and lookup for applications on the desktop.")
517 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
518 (license license:lgpl2.1+)))
519
a26680eb
RG
520(define-public gnome-initial-setup
521 (package
522 (name "gnome-initial-setup")
523 (version "3.32.1")
524 (source (origin
525 (method url-fetch)
526 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
527 (version-major+minor version)
528 "/gnome-initial-setup-" version ".tar.xz"))
529 (sha256
530 (base32
531 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
532 (build-system meson-build-system)
533 (arguments
a65cc579
DM
534 '(#:configure-flags '(;; Enable camera support for user selfie.
535 "-Dcheese=auto"
536 "-Dsystemd=false")))
a26680eb
RG
537 (native-inputs
538 `(("gettext" ,gettext-minimal)
539 ("glib:bin" ,glib "bin")
540 ("gobject-introspection" ,gobject-introspection)
541 ("gtk+:bin" ,gtk+ "bin")
542 ("pkg-config" ,pkg-config)))
543 (inputs
544 `(("accountsservice" ,accountsservice)
545 ;("adwaita-icon-theme" ,adwaita-icon-theme)
546 ("gdm" ,gdm)
547 ("geoclue" ,geoclue)
548 ("gnome-desktop" ,gnome-desktop)
549 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
550 ("gnome-online-accounts" ,gnome-online-accounts)
551 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
552 ("gstreamer" ,gstreamer)
553 ("ibus" ,ibus)
554 ("json-glib" ,json-glib)
555 ("krb5" ,mit-krb5)
556 ("libgweather" ,libgweather)
557 ("libsecret" ,libsecret)
558 ("network-manager" ,network-manager)
559 ("network-manager-applet" ,network-manager-applet)
560 ("packagekit" ,packagekit)
561 ("polkit" ,polkit)
562 ("pwquality" ,libpwquality)
563 ("rest" ,rest)
564 ("upower" ,upower)
565 ("webkitgtk" ,webkitgtk)))
566 (synopsis "Initial setup wizard for GNOME desktop")
a65cc579
DM
567 (description "This package provides a set-up wizard when a
568user logs into GNOME for the first time. It typically provides a
569tour of all gnome components and allows the user to set them up.")
a26680eb
RG
570 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
571 (license license:gpl2)))
572
b5f01392
RG
573(define-public gnome-user-share
574 (package
575 (name "gnome-user-share")
576 (version "3.33.1")
577 (source (origin
578 (method url-fetch)
579 (uri (string-append "mirror://gnome/sources/" name "/"
580 (version-major+minor version) "/"
581 name "-" version ".tar.xz"))
582 (sha256
583 (base32
584 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
585 (build-system meson-build-system)
586 (arguments
587 `(#:glib-or-gtk? #t
588 #:configure-flags
589 `("-Dsystemd=false"
590 ;; Enable nautilus extension for file sharing.
591 "-Dnautilus_extension=true")))
592 (native-inputs
593 `(("gettext" ,gettext-minimal)
594 ("glib:bin" ,glib "bin")
595 ("gobject-introspection" ,gobject-introspection)
596 ("gtk+:bin" ,gtk+ "bin")
597 ("pkg-config" ,pkg-config)
598 ("yelp-tools" ,yelp-tools)))
599 (inputs
600 `(("glib" ,glib)
601 ("gnome-bluetooth" ,gnome-bluetooth)
602 ("gtk+" ,gtk+)
603 ("libcanberra" ,libcanberra)
604 ("libnotify" ,libnotify)
605 ("nautilus" ,nautilus))) ; For nautilus extension.
606 (synopsis "File sharing for GNOME desktop")
607 (description "GNOME User Share is a small package that binds together
608various free software projects to bring easy to use user-level file
609sharing to the masses.")
610 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
2aeca24b 611 (license license:gpl2+)))
b5f01392 612
04b201bb
RG
613(define-public sushi
614 (package
615 (name "sushi")
616 (version "3.32.1")
617 (source (origin
618 (method url-fetch)
619 (uri (string-append "mirror://gnome/sources/" name "/"
620 (version-major+minor version) "/"
621 name "-" version ".tar.xz"))
622 (sha256
623 (base32
624 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
625 (build-system meson-build-system)
626 (arguments
627 `(#:glib-or-gtk? #t
628 #:phases
629 (modify-phases %standard-phases
630 (add-after 'glib-or-gtk-wrap 'wrap-typelib
631 (lambda* (#:key outputs #:allow-other-keys)
632 (let ((prog (string-append (assoc-ref outputs "out")
633 "/bin/sushi")))
634 ;; Put existing typelibs before sushi's deps, so as to correctly
635 ;; infer gdk-pixbuf
636 (wrap-program prog
637 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
638 #t))))))
639 (native-inputs
640 `(("glib:bin" ,glib "bin")
641 ("gettext" ,gettext-minimal)
642 ("gobject-introspection" ,gobject-introspection)
643 ("pkg-config" ,pkg-config)))
644 (inputs
645 `(("clutter" ,clutter)
646 ("clutter-gst" ,clutter-gst)
647 ("clutter-gtk" ,clutter-gtk)
648 ("evince" ,evince) ; For file previewing.
649 ("freetype" ,freetype)
650 ("gdk-pixbuf" ,gdk-pixbuf)
651 ("gjs" ,gjs)
652 ("gst-plugins-base" ,gst-plugins-base)
653 ("gstreamer" ,gstreamer)
654 ("gtksourceview" ,gtksourceview-3)
655 ("harfbuzz" ,harfbuzz)
656 ("libepoxy" ,libepoxy)
657 ("libmusicbrainz" ,libmusicbrainz)
658 ("libxml2" ,libxml2)
659 ("neon" ,neon)
660 ("webkitgtk" ,webkitgtk)))
661 (synopsis "File previewer for the GNOME desktop")
662 (description "Sushi is a DBus-activated service that allows applications to
663preview files on the GNOME desktop.")
664 (home-page "https://gitlab.gnome.org/GNOME/sushi")
665 (license license:gpl2+)))
666
89af0902
RG
667(define-public rygel
668 (package
669 (name "rygel")
670 (version "0.38.3")
671 (source (origin
672 (method url-fetch)
673 (uri (string-append "mirror://gnome/sources/" name "/"
674 (version-major+minor version) "/"
675 name "-" version ".tar.xz"))
676 (sha256
677 (base32
678 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
679 (build-system gnu-build-system)
680 (native-inputs
681 `(("gettext" ,gettext-minimal)
682 ("gobject-introspection" ,gobject-introspection)
683 ("gtk-doc" ,gtk-doc)
684 ("pkg-config" ,pkg-config)
685 ("vala" ,vala)))
686 (inputs
687 `(("gdk-pixbuf" ,gdk-pixbuf)
688 ("gssdp" ,gssdp)
689 ("gstreamer" ,gstreamer)
690 ("gst-plugins-base" ,gst-plugins-base)
691 ("gtk+" ,gtk+)
692 ("gupnp" ,gupnp)
693 ("gupnp-av" ,gupnp-av)
694 ("gupnp-dlna" ,gupnp-dlna)
695 ("libgee" ,libgee)
696 ("libmediaart" ,libmediaart)
697 ("libsoup" ,libsoup)
698 ("libxslt" ,libxslt)
699 ("libunistring" ,libunistring)
700 ("tracker" ,tracker)))
701 (synopsis "Share audio, video, and pictures with other devices")
702 (description
703 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
704MediaRenderer}) for GNOME that allows you to easily share audio, video, and
705pictures, and to control a media player on your home network.
706
707Rygel achieves interoperability with other devices by trying to conform to the
708strict requirements of DLNA and by converting media on-the-fly to formats that
709client devices can handle.")
710 (home-page "https://wiki.gnome.org/Projects/Rygel")
711 (license (list
712 ;; For logo (data/icons/*).
713 license:cc-by-sa3.0
714 ;; For all others.
715 license:lgpl2.1+))))
716
47e87093
RG
717(define-public libnma
718 (package
719 (name "libnma")
720 (version "1.8.26")
721 (source (origin
722 (method url-fetch)
723 (uri (string-append "mirror://gnome/sources/" name "/"
724 (version-major+minor version) "/"
725 name "-" version ".tar.xz"))
726 (sha256
727 (base32
728 "1w9lld38risnk1krknfwln24kabdxnj274pyz4jhndphwigrshaf"))))
729 (build-system meson-build-system)
730 (arguments
731 `(#:glib-or-gtk? #t))
732 (native-inputs
733 `(("gettext" ,gettext-minimal)
734 ("glib:bin" ,glib "bin")
735 ("gtk-doc" ,gtk-doc)
736 ("gobject-introspection" ,gobject-introspection)
737 ("pkg-config" ,pkg-config)))
738 (inputs
739 `(("adwaita-icon-theme" ,adwaita-icon-theme)
740 ("gcr" ,gcr)
741 ("gtk+" ,gtk+)
742 ("iso-codes" ,iso-codes)
743 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
744 ("network-manager" ,network-manager)))
745 (synopsis "Network Manager's applet library")
746 (description "Libnma is an applet library for Network Manager. It was
747initially part of network-manager-applet and has now become a separate
748project.")
749 (home-page "https://gitlab.gnome.org/GNOME/libnma")
750
751 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
752 ;; "LGPL-2.1+".
753 (license license:gpl2+)))
754
30416265
RG
755(define-public gnome-menus
756 (package
757 (name "gnome-menus")
758 (version "3.32.0")
759 (source (origin
760 (method url-fetch)
761 (uri (string-append "mirror://gnome/sources/gnome-menus/"
762 (version-major+minor version) "/"
763 name "-" version ".tar.xz"))
764 (sha256
765 (base32
766 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
767 (build-system gnu-build-system)
768 (native-inputs
769 `(("gettext" ,gettext-minimal)
770 ("glib" ,glib)
771 ("pkg-config" ,pkg-config)))
772 (synopsis "Menu support for GNOME desktop")
773 (description "GNOME Menus contains the libgnome-menu library, the layout
774configuration files for the GNOME menu, as well as a simple menu editor.")
775 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
7bd000d1 776 (license license:lgpl2.0+)))
30416265 777
d61a894b
CB
778(define-public deja-dup
779 (package
780 (name "deja-dup")
781 (version "34.3")
782 (source (origin
783 (method url-fetch)
784 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
785 (sha256
786 (base32
787 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
788 (patches
789 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
790 (build-system glib-or-gtk-build-system)
791 (arguments
792 `(#:modules ((guix build gnu-build-system)
793 ((guix build cmake-build-system) #:prefix cmake:)
794 (guix build glib-or-gtk-build-system)
795 (guix build utils))
796 #:imported-modules (,@%glib-or-gtk-build-system-modules
797 (guix build cmake-build-system))
798 #:test-target "test"
799 #:configure-flags (list (string-append
800 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
801 (string-append
802 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
803 #:phases
804 (modify-phases %standard-phases
805 (add-after 'unpack 'patch-lockfile-deletion
806 (lambda rest
807 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
808 (("/bin/rm")
809 (which "rm")))))
810 (replace 'configure
811 (assoc-ref cmake:%standard-phases 'configure))
812 (delete 'check) ;; Fails due to issues with DBus
813 (add-after 'install 'wrap-deja-dup
814 (lambda* (#:key inputs outputs #:allow-other-keys)
815 (let ((python (assoc-ref inputs "python"))
816 (python-path (getenv "PYTHONPATH"))
817 (duplicity (assoc-ref inputs "duplicity"))
818 (out (assoc-ref outputs "out")))
819 (for-each
820 (lambda (program)
821 (wrap-program program
822 `("PATH" ":" prefix (,(string-append python "/bin")
823 ,(string-append duplicity "/bin"))))
824 (wrap-program program
825 `("PYTHONPATH" ":" prefix (,python-path))))
826
827 (find-files (string-append out "/bin")))
828 #t))))))
829 (inputs
830 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
831 ("gobject-introspection" ,gobject-introspection)
832 ("duplicity" ,duplicity)
61506fe5 833 ("python" ,python-2)
d61a894b
CB
834 ("python-pygobject" ,python2-pygobject)
835 ("gtk+" ,gtk+)
836 ("libnotify" ,libnotify)
837 ("libpeas" ,libpeas)
838 ("libsecret" ,libsecret)
839 ("packagekit" ,packagekit)))
840 (native-inputs
841 `(("pkg-config" ,pkg-config)
842 ("vala" ,vala)
843 ("gettext" ,gettext-minimal)
844 ("itstool" ,itstool)
845 ("intltool" ,intltool)
c69959f0 846 ("cmake" ,cmake-minimal)))
d61a894b
CB
847 (home-page "https://launchpad.net/deja-dup")
848 (synopsis "Simple backup tool, for regular encrypted backups")
849 (description
850 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
851uses duplicity as the backend, which supports incremental backups and storage
852either on a local, or remote machine via a number of methods.")
853 (license license:gpl3+)))
854
823b77fb
RG
855(define-public gnome-user-docs
856 (package
857 (name "gnome-user-docs")
858 (version "3.32.3")
859 (source
860 (origin
861 (method url-fetch)
862 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
863 (version-major+minor version)
864 "/gnome-user-docs-" version ".tar.xz"))
865 (sha256
866 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
867 (build-system gnu-build-system)
868 (native-inputs
869 `(("gettext" ,gettext-minimal)
870 ("itstool" ,itstool)
871 ("pkg-config" ,pkg-config)
872 ("xmllint" ,libxml2)))
873 (synopsis "User documentation for the GNOME desktop")
874 (description
875 "The GNOME User Documentation explains how to use the GNOME desktop and its
876components. It covers usage and setup of the core GNOME programs by end-users
877and system administrators.")
878 (home-page "https://live.gnome.org/DocumentationProject")
879 (license license:cc-by3.0)))
880
be93299d
RG
881(define-public gnome-getting-started-docs
882 (package
883 (name "gnome-getting-started-docs")
884 (version "3.32.2")
885 (source
886 (origin
887 (method url-fetch)
888 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
889 (version-major+minor version)
890 "/gnome-getting-started-docs-" version ".tar.xz"))
891 (sha256
892 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
893 (build-system gnu-build-system)
894 (native-inputs
895 `(("gettext" ,gettext-minimal)
896 ("itstool" ,itstool)
897 ("pkg-config" ,pkg-config)
898 ("xmllint" ,libxml2)))
899 (synopsis "Help to get new users started with the GNOME desktop")
900 (description
901 "The GNOME Getting Started Documentation contains GNOME's intuitive
902\"Getting Started\" tour, with video guides, that can be viewed with Yelp.
903
904It is normally used together with @command{gnome-initial-setup}, but is also
905useful as a tutorial and users' guide for new or less experienced users.")
906 (home-page "https://live.gnome.org/DocumentationProject")
907 (license license:cc-by-sa3.0)))
908
a56be436
RJ
909(define-public dia
910 ;; This version from GNOME's repository includes fixes for compiling with
911 ;; recent versions of the build tools. The latest activity on the
912 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
913 ;; fixes in 2016.
914 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
915 (package
916 (name "dia")
914c8cdf 917 (version (git-version "0.97.3" "1" commit))
a56be436
RJ
918 (source (origin
919 (method git-fetch)
920 (uri (git-reference
914c8cdf 921 (url "https://gitlab.gnome.org/GNOME/dia.git/")
a56be436 922 (commit commit)))
914c8cdf 923 (file-name (git-file-name name version))
a56be436
RJ
924 (sha256
925 (base32
926 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
927 (build-system gnu-build-system)
928 (inputs
a315afa3 929 `(("freetype" ,freetype)
a56be436
RJ
930 ("gdk-pixbuf" ,gdk-pixbuf)
931 ("gtk+" ,gtk+-2)
a315afa3 932 ("libart-lgpl" ,libart-lgpl)
a56be436 933 ("libxml2" ,libxml2)
a315afa3 934 ("pango" ,pango)))
a56be436 935 (native-inputs
a315afa3 936 `(("autoconf" ,autoconf)
a56be436 937 ("automake" ,automake)
a315afa3
EF
938 ("intltool" ,intltool)
939 ("glib" ,glib "bin")
a56be436
RJ
940 ("libtool" ,libtool)
941 ("perl" ,perl)
a315afa3 942 ("pkg-config" ,pkg-config)
a56be436
RJ
943 ("python-wrapper" ,python-wrapper)))
944 (arguments
945 `(#:phases
946 (modify-phases %standard-phases
4b3e91de 947 (add-before 'bootstrap 'dont-configure-during-bootstrap
a56be436 948 (lambda _
4b3e91de
EF
949 (setenv "NOCONFIGURE" "true")
950 #t)))))
a56be436
RJ
951 (home-page "https://wiki.gnome.org/Apps/Dia")
952 (synopsis "Diagram creation for GNOME")
953 (description "Dia can be used to draw different types of diagrams, and
954includes support for UML static structure diagrams (class diagrams), entity
955relationship modeling, and network diagrams. The program supports various file
956formats like PNG, SVG, PDF and EPS.")
957 (license license:gpl2+))))
958
d0b19e44
RW
959;; This is the unstable release, but it is required for the current stable
960;; release of gvfs (1.38.1).
adc5cb1b
KK
961(define-public libgdata
962 (package
963 (name "libgdata")
d0b19e44 964 (version "0.17.9")
adc5cb1b
KK
965 (source (origin
966 (method url-fetch)
967 (uri (string-append "mirror://gnome/sources/" name "/"
968 (version-major+minor version) "/"
969 name "-" version ".tar.xz"))
970 (sha256
971 (base32
d0b19e44 972 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
adc5cb1b
KK
973 (build-system gnu-build-system)
974 (arguments
975 '(#:phases
976 (modify-phases %standard-phases
448052b7
TGR
977 (add-before 'check 'disable-failing-tests
978 (lambda _
979 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
980 ;; They have been removed in libgdata 0.17.6, so just do the same.
981 (substitute* "gdata/tests/Makefile"
982 (("picasaweb\\$\\(EXEEXT\\) ") ""))
adc5cb1b
KK
983 #t)))))
984 (native-inputs
985 `(("glib:bin" ,glib "bin")
986 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
987 ("intltool" ,intltool)
988 ("pkg-config" ,pkg-config)
989 ("uhttpmock" ,uhttpmock)))
990 (inputs
991 `(("cyrus-sasl" ,cyrus-sasl)
d0b19e44 992 ("glib-networking" ,glib-networking)))
adc5cb1b
KK
993 (propagated-inputs
994 `(("gcr" ,gcr)
d0b19e44 995 ("glib" ,glib)
14c297fd 996 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
d0b19e44 997 ("json-glib" ,json-glib)
adc5cb1b 998 ("liboauth" ,liboauth)
d0b19e44 999 ("libsoup" ,libsoup)
adc5cb1b
KK
1000 ("libxml2" ,libxml2)))
1001 (home-page "https://wiki.gnome.org/Projects/libgdata")
1002 (synopsis "Library for accessing online service APIs")
1003 (description
1004 "libgdata is a GLib-based library for accessing online service APIs using
1005the GData protocol — most notably, Google's services. It provides APIs to
1006access the common Google services, and has full asynchronous support.")
1007 (license license:lgpl2.1+)))
1008
94e10cf4
KK
1009(define-public libgxps
1010 (package
1011 (name "libgxps")
66470a5a 1012 (version "0.3.1")
94e10cf4
KK
1013 (source (origin
1014 (method url-fetch)
7f10628c 1015 (uri (string-append "mirror://gnome/sources/" name "/"
94e10cf4
KK
1016 (version-major+minor version) "/"
1017 name "-" version ".tar.xz"))
1018 (sha256
1019 (base32
66470a5a 1020 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
b6b3e512 1021 (build-system meson-build-system)
94e10cf4
KK
1022 (native-inputs
1023 `(("gobject-introspection" ,gobject-introspection)
1024 ("pkg-config" ,pkg-config)))
1025 (inputs
c8d62d93 1026 `(("gtk+" ,gtk+)
b6b3e512 1027 ("libjpeg" ,libjpeg-turbo)
94e10cf4 1028 ("lcms" ,lcms)
0a6e9e13 1029 ("libtiff" ,libtiff)))
c8d62d93
MB
1030 (propagated-inputs
1031 ;; In Requires of libgxps.pc.
1032 `(("cairo" ,cairo)
1033 ("glib" ,glib)
1034 ("libarchive" ,libarchive)))
94e10cf4
KK
1035 (home-page "https://wiki.gnome.org/Projects/libgxps")
1036 (synopsis "GObject-based library for handling and rendering XPS documents")
1037 (description
1038 "libgxps is a GObject-based library for handling and rendering XPS
1039documents. This package also contains binaries that can convert XPS documents
1040to other formats.")
1041 (license license:lgpl2.1+)))
1042
4e09f57a
RG
1043(define-public gnome-characters
1044 (package
1045 (name "gnome-characters")
1046 (version "3.30.0")
1047 (source
1048 (origin
1049 (method url-fetch)
1050 (uri (string-append "mirror://gnome/sources/"
1051 "gnome-characters/" (version-major+minor version)
1052 "/gnome-characters-" version ".tar.xz"))
1053 (sha256
1054 (base32
1055 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1056 (build-system meson-build-system)
5757c641 1057 (arguments
1058 `(#:glib-or-gtk? #t
1059 #:phases (modify-phases %standard-phases
1060 (add-after 'install 'wrap
1061 (lambda* (#:key outputs #:allow-other-keys)
1062 ;; GNOME Characters needs Typelib files from GTK and
1063 ;; gnome-desktop.
1064 (wrap-program (string-append (assoc-ref outputs "out")
1065 "/bin/gnome-characters")
1066 `("GI_TYPELIB_PATH" ":" prefix
1067 (,(getenv "GI_TYPELIB_PATH"))))
1068 #t)))))
4e09f57a
RG
1069 (native-inputs
1070 `(("gettext" ,gettext-minimal)
1071 ("glib:bin" ,glib "bin")
1072 ("gtk+:bin" ,gtk+ "bin")
1073 ("pkg-config" ,pkg-config)
1074 ("python" ,python-minimal)))
1075 (inputs
1076 `(("gjs" ,gjs)
1077 ("gtk+" ,gtk+)
5757c641 1078 ("libunistring" ,libunistring)
1079 ("gnome-desktop" ,gnome-desktop)))
4e09f57a
RG
1080 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1081 (synopsis "Find and insert unusual characters")
1082 (description "Characters is a simple utility application to find
1083and insert unusual characters. It allows you to quickly find the
1084character you are looking for by searching for keywords.")
1085 (license license:bsd-3)))
1086
7aab13f1
ML
1087(define-public gnome-common
1088 (package
1089 (name "gnome-common")
af83490d 1090 (version "3.18.0")
7aab13f1
ML
1091 (source
1092 (origin
1093 (method url-fetch)
1094 (uri (string-append "mirror://gnome/sources/" name "/"
1095 (version-major+minor version) "/"
1096 name "-" version ".tar.xz"))
1097 (sha256
1098 (base32
af83490d 1099 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
7aab13f1
ML
1100 (build-system gnu-build-system)
1101 (home-page "https://www.gnome.org/")
1102 (synopsis "Bootstrap GNOME modules built from Git")
1103 (description "gnome-common contains various files needed to bootstrap
1104GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1105can be used to configure a source directory checked out from Git and some
1106commonly used macros.")
1107 (license license:gpl2+)))
1108
4e868d22
RG
1109(define-public gnome-contacts
1110 (package
1111 (name "gnome-contacts")
6a6138b2 1112 (version "3.32.1")
4e868d22
RG
1113 (source (origin
1114 (method url-fetch)
1115 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1116 (version-major+minor version) "/"
1117 name "-" version ".tar.xz"))
1118 (sha256
1119 (base32
6a6138b2 1120 "17g1gh8yj58cfpdx69h2szivlbjgvv982kmhnkkh0i5bwj0zs2yy"))))
4e868d22
RG
1121 (build-system meson-build-system)
1122 (arguments
1123 `(#:phases
1124 (modify-phases %standard-phases
1125 (add-after 'unpack 'generate-vapis
1126 (lambda* (#:key inputs #:allow-other-keys)
1127 ;; To generate goa's missing .vapi file
1128 (define goa
1129 (assoc-ref inputs "gnome-online-accounts:lib"))
1130
1131 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1132 "--library=goa-1.0"
1133 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1134 #t)))))
1135 (native-inputs
1136 `(("glib:bin" ,glib "bin")
1137 ("gtk+:bin" ,gtk+ "bin")
1138 ("pkg-config" ,pkg-config)))
1139 (inputs
1140 `(("cheese" ,cheese)
1141 ("docbook-xml" ,docbook-xml)
1142 ("dockbook-xsl" ,docbook-xsl)
1143 ("evolution-data-server" ,evolution-data-server)
1144 ("gettext" ,gettext-minimal)
1145 ("gnome-desktop" ,gnome-desktop)
1146 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1147 ("gobject-introspection" ,gobject-introspection)
1148 ("gst-plugins-base" ,gst-plugins-base)
1149 ("gtk+" ,gtk+)
1150 ("libgee" ,libgee)
1151 ("libxslt" ,libxslt)
1152 ("telepathy-glib" ,telepathy-glib)
1153 ("vala" ,vala)))
1154 (propagated-inputs
1155 `(("folks", folks)
1156 ("telepathy-mission-control" ,telepathy-mission-control)))
1157 (synopsis "GNOME's integrated address book")
1158 (description
1159 "GNOME Contacts organizes your contact information from online and
1160offline sources, providing a centralized place for managing your contacts.")
1161 (home-page "https://wiki.gnome.org/Apps/Contacts")
1162 (license license:gpl2+)))
1163
9cc98f8a
CR
1164(define-public gnome-desktop
1165 (package
1166 (name "gnome-desktop")
e8a26caa 1167 (version "3.32.2")
9cc98f8a
CR
1168 (source
1169 (origin
1170 (method url-fetch)
b38e45d8
EB
1171 (uri (string-append "mirror://gnome/sources/" name "/"
1172 (version-major+minor version) "/"
9cc98f8a
CR
1173 name "-" version ".tar.xz"))
1174 (sha256
1175 (base32
e8a26caa
KK
1176 "0bidx4626x7k2myv6f64qv4fzmxv8v475wibiz19kj8hjfr737q9"))))
1177 (build-system meson-build-system)
a0fe7c06
CB
1178 (arguments
1179 '(#:phases
1180 (modify-phases %standard-phases
1181 (add-before 'configure 'patch-path
1182 (lambda* (#:key inputs #:allow-other-keys)
1183 (let ((libc (assoc-ref inputs "libc")))
1184 (substitute* "libgnome-desktop/gnome-languages.c"
1185 (("\"locale\"")
1186 (string-append "\"" libc "/bin/locale\"")))
e8a26caa
KK
1187 #t)))
1188 (add-before 'check 'pre-check
1189 (lambda* (#:key inputs #:allow-other-keys)
1190 ;; Tests require a running X server and locales.
1191 (system "Xvfb :1 &")
1192 (setenv "DISPLAY" ":1")
1193 (setenv "GUIX_LOCPATH"
1194 (string-append (assoc-ref inputs "glibc-locales")
1195 "/lib/locale"))
1196 #t)))))
9cc98f8a 1197 (native-inputs
e8a26caa
KK
1198 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1199 ("glibc-locales" ,glibc-locales) ; for tests
1200 ("gobject-introspection" ,gobject-introspection)
a8340482 1201 ("itstool" ,itstool)
bcb354ad
SB
1202 ("intltool" ,intltool)
1203 ("pkg-config" ,pkg-config)
e8a26caa
KK
1204 ("xmllint" ,libxml2)
1205 ("xorg-server" ,xorg-server-for-tests)))
a8340482
SB
1206 (propagated-inputs
1207 ;; Required by gnome-desktop-3.0.pc.
1208 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
e8a26caa 1209 ("gtk+" ,gtk+)
9cc98f8a 1210 ("iso-codes" ,iso-codes)
9863ce20 1211 ("libseccomp" ,libseccomp)
9cc98f8a 1212 ("libx11" ,libx11)
e8a26caa
KK
1213 ("xkeyboard-config" ,xkeyboard-config)))
1214 (inputs
1215 `(("gdk-pixbuf" ,gdk-pixbuf)
1216 ("glib" ,glib)
9cc98f8a
CR
1217 ("libxext" ,libxext)
1218 ("libxkbfile" ,libxkbfile)
e8a26caa 1219 ("libxrandr" ,libxrandr)))
9cc98f8a
CR
1220 (home-page "https://www.gnome.org/")
1221 (synopsis
35b9e423 1222 "Libgnome-desktop, gnome-about, and desktop-wide documents")
9cc98f8a
CR
1223 (description
1224 "The libgnome-desktop library provides API shared by several applications
35b9e423
EB
1225on the desktop, but that cannot live in the platform for various reasons.
1226There is no API or ABI guarantee, although we are doing our best to provide
1227stability. Documentation for the API is available with gtk-doc.
9cc98f8a
CR
1228
1229The gnome-about program helps find which version of GNOME is installed.")
1230 ; Some bits under the LGPL.
1dd26275 1231 (license license:gpl2+)))
9cc98f8a 1232
995b7261
AE
1233(define-public gnome-doc-utils
1234 (package
1235 (name "gnome-doc-utils")
1236 (version "0.20.10")
1237 (source
1238 (origin
1239 (method url-fetch)
b38e45d8
EB
1240 (uri (string-append "mirror://gnome/sources/" name "/"
1241 (version-major+minor version) "/"
995b7261
AE
1242 name "-" version ".tar.xz"))
1243 (sha256
1244 (base32
1245 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1246 (build-system gnu-build-system)
c4c4cc05 1247 (native-inputs
995b7261 1248 `(("intltool" ,intltool)
b4ce6300 1249 ("docbook-xml" ,docbook-xml-4.4)
d80b0d4a 1250 ("python2-libxml2" ,python2-libxml2)
995b7261
AE
1251 ("libxml2" ,libxml2)
1252 ("libxslt" ,libxslt)
1253 ("pkg-config" ,pkg-config)
1254 ("python-2" ,python-2)))
995b7261
AE
1255 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1256 (synopsis
1257 "Documentation utilities for the Gnome project")
1258 (description
1259 "Gnome-doc-utils is a collection of documentation utilities for the
1260Gnome project. It includes xml2po tool which makes it easier to translate
1261and keep up to date translations of documentation.")
1dd26275 1262 (license license:gpl2+))) ; xslt under lgpl
d9c1a22b 1263
6c4f7022
DC
1264(define-public gnome-disk-utility
1265 (package
1266 (name "gnome-disk-utility")
e106d0a6 1267 (version "3.32.1")
6c4f7022
DC
1268 (source (origin
1269 (method url-fetch)
1270 (uri (string-append "mirror://gnome/sources/" name "/"
1271 (version-major+minor version) "/"
1272 name "-" version ".tar.xz"))
1273 (sha256
1274 (base32
e106d0a6 1275 "08vwbji9m1nhjjdiyhhaqi8cncys7i89b4bpy095f8475v8y05bg"))))
4b9a65bf 1276 (build-system meson-build-system)
321c73c3
EF
1277 (arguments
1278 '(#:phases
1279 (modify-phases %standard-phases
1280 (add-after 'unpack 'skip-gtk-update-icon-cache
1281 ;; Don't create 'icon-theme.cache'.
1282 (lambda _
1283 (substitute* "meson_post_install.py"
1284 (("gtk-update-icon-cache") "true"))
1285 #t)))))
6c4f7022
DC
1286 (native-inputs
1287 `(("glib:bin" ,glib "bin")
1288 ("intltool" ,intltool)
1289 ("pkg-config" ,pkg-config)
1290 ("docbook-xml" ,docbook-xml)
1291 ("docbook-xsl" ,docbook-xsl)
1292 ("libxml2" ,libxml2)
1293 ("libxslt" ,libxslt)))
1294 (inputs
1295 `(("glib" ,glib)
1296 ("appstream-glib" ,appstream-glib)
1297 ("gnome-settings-daemon" ,gnome-settings-daemon)
1298 ("gtk+" ,gtk+)
1299 ("libcanberra" ,libcanberra)
1300 ("libdvdread" ,libdvdread)
1301 ("libnotify" ,libnotify)
1302 ("libpwquality" ,libpwquality)
1303 ("libsecret" ,libsecret)
1304 ("udisks" ,udisks)))
1305 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1306 (synopsis "Disk management utility for GNOME")
1307 (description "Disk management utility for GNOME.")
1308 (license license:gpl2+)))
1309
3d217317
RG
1310(define-public gnome-font-viewer
1311 (package
1312 (name "gnome-font-viewer")
1313 (version "3.30.0")
1314 (source (origin
1315 (method url-fetch)
1316 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1317 (version-major+minor version)
1318 "/gnome-font-viewer-" version ".tar.xz"))
1319 (sha256
1320 (base32
1321 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1322 (build-system meson-build-system)
1323 (arguments
1324 '(#:phases
1325 (modify-phases %standard-phases
1326 (add-after 'unpack 'patch-post-install-script
1327 (lambda _
1328 (substitute* "meson-postinstall.sh"
1329 (("update-desktop-database") (which "true")))
1330 #t)))))
1331 (native-inputs
1332 `(("gettext" ,gettext-minimal)
1333 ("glib:bin" ,glib "bin")
1334 ("pkg-config" ,pkg-config)))
1335 (inputs
1336 `(("glib" ,glib)
1337 ("gnome-desktop" ,gnome-desktop)
1338 ("gtk+" ,gtk+)))
1339 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1340 (synopsis "GNOME Fonts")
1341 (description "Application to show you the fonts installed on your computer
1342for your use as thumbnails. Selecting any thumbnails shows the full view of how
1343the font would look under various sizes.")
1344 (license license:gpl2+)))
1345
8ff49011
RW
1346(define-public gcr
1347 (package
1348 (name "gcr")
bea6b829 1349 (version "3.28.1")
8ff49011 1350 (source (origin
0daf0efb
RW
1351 (method url-fetch)
1352 (uri (string-append "mirror://gnome/sources/" name "/"
1353 (version-major+minor version) "/"
1354 name "-" version ".tar.xz"))
1355 (sha256
1356 (base32
bea6b829 1357 "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m"))
03ecf85a
MB
1358 (patches
1359 (list
1360 ;; This patch solves an ordering issue that showed up when
1361 ;; running the test suite against newer Glib 2.60. See
1362 ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
1363 (origin
1364 (method url-fetch)
1365 (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
1366 "45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
1367 (file-name "gcr-hashtable-ordering.patch")
1368 (sha256
1369 (base32
1370 "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
8ff49011
RW
1371 (build-system gnu-build-system)
1372 (arguments
0daf0efb
RW
1373 '(#:phases
1374 (modify-phases %standard-phases
1375 ;; These fail because /var/lib/dbus/machine-id is not present in the
1376 ;; build environment.
1377 (add-after 'unpack 'disable-failing-tests
1378 (lambda _
1379 (substitute* "gcr/test-system-prompt.c"
1380 (("g_test_add") "//")
1381 (("return.*") "return 0;"))
1382 #t))
1383 (add-before 'check 'pre-check
1384 (lambda _
1385 ;; Some tests expect to write to $HOME.
1386 (setenv "HOME" "/tmp")
1387 #t)))))
8ff49011
RW
1388 (inputs
1389 `(("dbus" ,dbus)
0daf0efb 1390 ("gnupg" ,gnupg) ;called as a child process during tests
8ff49011
RW
1391 ("libgcrypt" ,libgcrypt)))
1392 (native-inputs
0daf0efb 1393 `(("python" ,python-2) ;for tests
8ff49011
RW
1394 ("pkg-config" ,pkg-config)
1395 ("glib" ,glib "bin")
2af4f5b0
SB
1396 ("gobject-introspection" ,gobject-introspection)
1397 ("intltool" ,intltool)
0daf0efb 1398 ("libxml2" ,libxml2)
bea6b829 1399 ("vala" ,vala)
2af4f5b0 1400 ("xsltproc" ,libxslt)))
8ff49011
RW
1401 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1402 (propagated-inputs
1403 `(("p11-kit" ,p11-kit)
1404 ("glib" ,glib)
1405 ("gtk+" ,gtk+)))
f032d0be 1406 (home-page "https://www.gnome.org")
8ff49011
RW
1407 (synopsis "Libraries for displaying certificates and accessing key stores")
1408 (description
1409 "The GCR package contains libraries used for displaying certificates and
1410accessing key stores. It also provides the viewer for crypto files on the
1411GNOME Desktop.")
1412 (license license:lgpl2.1+)))
1413
c1354b90
LC
1414(define-public libgnome-keyring
1415 (package
1416 (name "libgnome-keyring")
5e8aec2c 1417 (version "3.12.0")
c1354b90
LC
1418 (source (origin
1419 (method url-fetch)
b38e45d8
EB
1420 (uri (string-append "mirror://gnome/sources/" name "/"
1421 (version-major+minor version) "/"
1422 name "-" version ".tar.xz"))
c1354b90
LC
1423 (sha256
1424 (base32
5e8aec2c 1425 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
c1354b90 1426 (build-system gnu-build-system)
c1354b90 1427 (inputs
c4c4cc05 1428 `(("libgcrypt" ,libgcrypt)
c1354b90 1429 ("dbus" ,dbus)))
c4c4cc05
JD
1430 (native-inputs
1431 `(("pkg-config" ,pkg-config)
426adbe8 1432 ("glib" ,glib "bin")
c4c4cc05 1433 ("intltool" ,intltool)))
c1354b90
LC
1434 (propagated-inputs
1435 ;; Referred to in .h files and .pc.
1436 `(("glib" ,glib)))
f032d0be 1437 (home-page "https://www.gnome.org")
c1354b90
LC
1438 (synopsis "Accessing passwords from the GNOME keyring")
1439 (description
1440 "Client library to access passwords from the GNOME keyring.")
1441
1442 ;; Though a couple of files are LGPLv2.1+.
1dd26275 1443 (license license:lgpl2.0+)))
c1354b90 1444
e99a3d6f
RW
1445(define-public gnome-keyring
1446 (package
1447 (name "gnome-keyring")
ab35cc6e 1448 (version "3.28.2")
e99a3d6f
RW
1449 (source (origin
1450 (method url-fetch)
1451 (uri (string-append "mirror://gnome/sources/" name "/"
1452 (version-major+minor version) "/"
1453 name "-" version ".tar.xz"))
1454 (sha256
1455 (base32
ab35cc6e 1456 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
e99a3d6f
RW
1457 (build-system gnu-build-system)
1458 (arguments
1459 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1460 ;not exist
1461 #:configure-flags
1462 (list
1463 (string-append "--with-pkcs11-config="
1464 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1465 (string-append "--with-pkcs11-modules="
1466 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1467 #:phases
1468 (modify-phases %standard-phases
ab35cc6e
RW
1469 (add-after 'unpack 'fix-/bin/sh-reference
1470 (lambda _
1471 (substitute* "po/Makefile.in.in"
1472 (("/bin/sh") (which "sh")))
1473 #t))
5120f24f
RW
1474 (add-after 'unpack 'fix-docbook
1475 (lambda* (#:key inputs #:allow-other-keys)
1476 (substitute* "docs/Makefile.am"
1477 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1478 (string-append (assoc-ref inputs "docbook-xsl")
1479 "/xml/xsl/docbook-xsl-"
1480 ,(package-version docbook-xsl)
1481 "/manpages/docbook.xsl")))
1482 (setenv "XML_CATALOG_FILES"
1483 (string-append (assoc-ref inputs "docbook-xml")
1484 "/xml/dtd/docbook/catalog.xml"))
1485 ;; Rerun the whole thing to avoid version mismatch ("This is
1486 ;; Automake 1.15.1, but the definition used by this
1487 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1488 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1489 (invoke "autoconf")
1490 (invoke "aclocal")
1491 (invoke "automake" "-ac"))))))
e99a3d6f
RW
1492 (inputs
1493 `(("libgcrypt" ,libgcrypt)
1a0b2d82 1494 ("linux-pam" ,linux-pam)
ab35cc6e 1495 ("openssh" ,openssh)
e99a3d6f
RW
1496 ("dbus" ,dbus)
1497 ("gcr" ,gcr)))
1498 (native-inputs
1499 `(("pkg-config" ,pkg-config)
1500 ("glib" ,glib "bin")
5120f24f 1501 ("glib" ,glib) ; for m4 macros
e99a3d6f
RW
1502 ("python" ,python-2) ;for tests
1503 ("intltool" ,intltool)
1504 ("autoconf" ,autoconf)
1505 ("automake" ,automake)
1506 ("libxslt" ,libxslt) ;for documentation
1507 ("docbook-xml" ,docbook-xml-4.2)
1508 ("docbook-xsl" ,docbook-xsl)))
f032d0be 1509 (home-page "https://www.gnome.org")
e99a3d6f
RW
1510 (synopsis "Daemon to store passwords and encryption keys")
1511 (description
1512 "gnome-keyring is a program that keeps passwords and other secrets for
1513users. It is run as a daemon in the session, similar to ssh-agent, and other
1514applications locate it via an environment variable or D-Bus.
1515
1516The program can manage several keyrings, each with its own master password,
1517and there is also a session keyring which is never stored to disk, but
1518forgotten when the session ends.")
1519 (license license:lgpl2.1+)))
1520
c1354b90
LC
1521(define-public evince
1522 (package
1523 (name "evince")
936d5642 1524 (version "3.34.2")
c1354b90
LC
1525 (source (origin
1526 (method url-fetch)
ac631328 1527 (uri (string-append "mirror://gnome/sources/evince/"
b38e45d8 1528 (version-major+minor version) "/"
ac631328 1529 "evince-" version ".tar.xz"))
c1354b90
LC
1530 (sha256
1531 (base32
936d5642 1532 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
121de2e1 1533 (build-system glib-or-gtk-build-system)
c1354b90 1534 (arguments
169b8f77 1535 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
554b2dac
SB
1536 #:phases
1537 (modify-phases %standard-phases
1538 (add-before 'install 'skip-gtk-update-icon-cache
1539 ;; Don't create 'icon-theme.cache'.
1540 (lambda _
1541 (substitute* "data/Makefile"
1542 (("gtk-update-icon-cache") "true"))
1543 #t)))))
c1354b90 1544 (inputs
9a096881
KK
1545 `(("libarchive" ,libarchive)
1546 ("libgxps" ,libgxps)
1547 ("libspectre" ,libspectre)
c769cf9f 1548 ("djvulibre" ,djvulibre)
c1354b90
LC
1549 ("ghostscript" ,ghostscript)
1550 ("poppler" ,poppler)
c769cf9f
SB
1551 ("libtiff" ,libtiff)
1552 ;; TODO:
c769cf9f
SB
1553 ;; Build libkpathsea as a shared library for DVI support.
1554 ;; ("libkpathsea" ,texlive-bin)
1555 ("gnome-desktop" ,gnome-desktop)
c1354b90 1556 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2dfc16d1 1557 ("gspell" ,gspell)
c1354b90 1558 ("libgnome-keyring" ,libgnome-keyring)
c769cf9f 1559 ("adwaita-icon-theme" ,adwaita-icon-theme)
c1354b90
LC
1560 ("gdk-pixbuf" ,gdk-pixbuf)
1561 ("atk" ,atk)
1562 ("pango" ,pango)
1563 ("gtk+" ,gtk+)
1564 ("glib" ,glib)
1565 ("libxml2" ,libxml2)
c1354b90
LC
1566 ("libsm" ,libsm)
1567 ("libice" ,libice)
96e42467 1568 ("shared-mime-info" ,shared-mime-info)
3d243e9c
FB
1569 ("dconf" ,dconf)
1570 ("libcanberra" ,libcanberra)
c769cf9f 1571 ("libsecret" ,libsecret)
a271096b 1572
c1354b90
LC
1573 ;; For tests.
1574 ("dogtail" ,python2-dogtail)))
96e42467 1575 (native-inputs
bcb354ad
SB
1576 `(("itstool" ,itstool)
1577 ("intltool" ,intltool)
426adbe8 1578 ("glib" ,glib "bin")
169b8f77 1579 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
1580 ("pkg-config" ,pkg-config)
1581 ("xmllint" ,libxml2)))
c1354b90 1582 (home-page
f032d0be 1583 "https://www.gnome.org/projects/evince/")
c1354b90
LC
1584 (synopsis "GNOME's document viewer")
1585 (description
1586 "Evince is a document viewer for multiple document formats. It
1587currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1588of Evince is to replace the multiple document viewers that exist
96e42467 1589on the GNOME Desktop with a single simple application.")
1dd26275 1590 (license license:gpl2+)))
c1354b90 1591
22e32e69
AE
1592(define-public gsettings-desktop-schemas
1593 (package
1594 (name "gsettings-desktop-schemas")
c900dabd 1595 (version "3.32.0")
22e32e69
AE
1596 (source
1597 (origin
1598 (method url-fetch)
1599 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1600 (version-major+minor version) "/"
22e32e69
AE
1601 name "-" version ".tar.xz"))
1602 (sha256
1603 (base32
c900dabd
KK
1604 "0d8a6479vappgplq5crdr3ah0ykqcr3fw533wkx9v1a8lnrv8n9d"))))
1605 (build-system meson-build-system)
65209ffa
LC
1606 (arguments
1607 '(#:phases (modify-phases %standard-phases
1608 (add-after 'unpack 'set-adwaita-theme-file-name
1609 (lambda* (#:key inputs #:allow-other-keys)
1610 ;; Provide the correct file name of the default GNOME
1611 ;; background, 'adwaita-timed.xml'.
1612 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1613 (substitute* (find-files "schemas"
1614 "\\.gschema\\.xml\\.in$")
1615 (("@datadir@/backgrounds/gnome")
1616 (string-append theme "/share/backgrounds/gnome")))
1617 #t))))))
22e32e69 1618 (inputs
65209ffa
LC
1619 `(("glib" ,glib)
1620 ("gnome-backgrounds" ,gnome-backgrounds)))
c4c4cc05
JD
1621 (native-inputs
1622 `(("intltool" ,intltool)
426adbe8 1623 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
7211944a 1624 ("gobject-introspection" ,gobject-introspection)
22e32e69
AE
1625 ("pkg-config" ,pkg-config)))
1626 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1627 (synopsis
1628 "GNOME settings for various desktop components")
1629 (description
1630 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1631for settings shared by various components of the GNOME desktop.")
1dd26275 1632 (license license:lgpl2.1+)))
22e32e69 1633
27477d2d
AE
1634(define-public icon-naming-utils
1635 (package
1636 (name "icon-naming-utils")
1637 (version "0.8.90")
1638 (source
1639 (origin
1640 (method url-fetch)
5cc3096c 1641 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
27477d2d
AE
1642 version ".tar.bz2"))
1643 (sha256
1644 (base32
1645 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1646 (build-system gnu-build-system)
1647 (inputs
1648 `(("perl" ,perl)
1649 ("perl-xml-simple" ,perl-xml-simple)))
f4e97277
SB
1650 (arguments
1651 '(#:phases
dc1d3cde
KK
1652 (modify-phases %standard-phases
1653 (add-after 'install 'set-load-paths
1654 ;; Tell 'icon-name-mapping' where XML::Simple is.
1655 (lambda* (#:key outputs #:allow-other-keys)
1656 (let* ((out (assoc-ref outputs "out"))
1657 (prog (string-append out "/libexec/icon-name-mapping")))
1658 (wrap-program
1659 prog
1660 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1661 #t)))))
27477d2d
AE
1662 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1663 (synopsis
1664 "Utility to implement the Freedesktop Icon Naming Specification")
1665 (description
1666 "To help with the transition to the Freedesktop Icon Naming
1667Specification, the icon naming utility maps the icon names used by the
1668GNOME and KDE desktops to the icon names proposed in the specification.")
1dd26275 1669 (license license:lgpl2.1+)))
27477d2d 1670
7d3f3651
AE
1671(define-public gnome-icon-theme
1672 (package
1673 (name "gnome-icon-theme")
b32f58dd 1674 (version "3.12.0")
7d3f3651
AE
1675 (source
1676 (origin
1677 (method url-fetch)
1678 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1679 (version-major+minor version) "/"
7d3f3651
AE
1680 name "-" version ".tar.xz"))
1681 (sha256
1682 (base32
b32f58dd 1683 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
7d3f3651 1684 (build-system gnu-build-system)
5613c27d
SB
1685 (arguments
1686 '(#:configure-flags
1687 ;; Don't create 'icon-theme.cache'.
1688 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1689 (true (string-append coreutils "/bin/true")))
1690 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
c4c4cc05 1691 (native-inputs
5613c27d 1692 `(("icon-naming-utils" ,icon-naming-utils)
73b6cf42
SB
1693 ("intltool" ,intltool)
1694 ("pkg-config" ,pkg-config)))
5c610d4f
KK
1695 (home-page "https://wiki.gnome.org/Personalization")
1696 (synopsis "GNOME icon theme")
1697 (description "Icons for the GNOME desktop.")
1dd26275 1698 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
7d3f3651 1699
14eeefa2
SB
1700;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1701(define-public adwaita-icon-theme
1702 (package (inherit gnome-icon-theme)
1703 (name "adwaita-icon-theme")
9be59d7f 1704 (version "3.32.0")
14eeefa2
SB
1705 (source (origin
1706 (method url-fetch)
1707 (uri (string-append "mirror://gnome/sources/" name "/"
1708 (version-major+minor version) "/"
1709 name "-" version ".tar.xz"))
1710 (sha256
1711 (base32
9be59d7f 1712 "11ij35na8nisvxx3qh527iz33h6z2q1a7iinqyp7p65v0zjbd3b9"))))
5613c27d
SB
1713 (native-inputs
1714 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
14eeefa2 1715
ae792dba
RW
1716(define-public tango-icon-theme
1717 (package
1718 (name "tango-icon-theme")
1719 (version "0.8.90")
1720 (source (origin
1721 (method url-fetch)
1722 (uri (string-append "http://tango.freedesktop.org/releases/"
1723 "tango-icon-theme-" version ".tar.bz2"))
1724 (sha256
1725 (base32
1726 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1727 (build-system gnu-build-system)
1728 (native-inputs
1729 `(("icon-naming-utils" ,icon-naming-utils)
1730 ("intltool" ,intltool)
1731 ("imagemagick" ,imagemagick)
1732 ("pkg-config" ,pkg-config)))
1733 (home-page "http://tango-project.org/")
1734 (synopsis "Tango icon theme")
1735 (description "This is an icon theme that follows the Tango visual
1736guidelines.")
1737 (license license:public-domain)))
1738
9167f8e6
LC
1739(define-public shared-mime-info
1740 (package
1741 (name "shared-mime-info")
18138ab9 1742 (version "1.10")
9167f8e6
LC
1743 (source (origin
1744 (method url-fetch)
5cc3096c 1745 (uri (string-append "https://freedesktop.org/~hadess/"
b38e45d8 1746 "shared-mime-info-" version ".tar.xz"))
9167f8e6
LC
1747 (sha256
1748 (base32
18138ab9 1749 "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"))))
9167f8e6
LC
1750 (build-system gnu-build-system)
1751 (arguments
1752 ;; The build system appears not to be parallel-safe.
1753 '(#:parallel-build? #f))
1754 (inputs
1755 `(("glib" ,glib)
c4c4cc05 1756 ("libxml2" ,libxml2)))
9167f8e6 1757 (native-inputs
c4c4cc05
JD
1758 `(("intltool" ,intltool)
1759 ("pkg-config" ,pkg-config)))
57e7d748 1760 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
9167f8e6
LC
1761 (synopsis "Database of common MIME types")
1762 (description
1763 "The shared-mime-info package contains the core database of common types
1764and the update-mime-database command used to extend it. It requires glib2 to
1765be installed for building the update command. Additionally, it uses intltool
1766for translations, though this is only a dependency for the maintainers. This
1767database is translated at Transifex.")
1dd26275 1768 (license license:gpl2+)))
9167f8e6 1769
dd1fcddc
CB
1770(define-public system-config-printer
1771 (package
1772 (name "system-config-printer")
fa01e10d 1773 (version "1.5.12")
a5643044
TGR
1774 (source
1775 (origin
1776 (method url-fetch)
1777 (uri (string-append
1778 "https://github.com/OpenPrinting/system-config-printer/releases/"
1779 "download/" version
1780 "/system-config-printer-" version ".tar.xz"))
1781 (sha256
fa01e10d 1782 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
dd1fcddc
CB
1783 (build-system glib-or-gtk-build-system)
1784 (arguments
1785 `(#:imported-modules ((guix build python-build-system)
1786 ,@%glib-or-gtk-build-system-modules)
1787 #:phases
1788 (modify-phases %standard-phases
1789 (add-after 'unpack 'patch-Makefile.am
1790 (lambda _
1791 ;; The Makefile generates some scripts, so set a valid shebang
1792 (substitute* "Makefile.am"
1793 (("/bin/bash") (which "bash")))
1794 (delete-file "configure")
1795 #t))
1796 (add-after 'unpack 'patch-docbook-xml
1797 (lambda* (#:key inputs #:allow-other-keys)
1798 ;; Modify the man XML otherwise xmlto tries to access the network
1799 (substitute* "man/system-config-printer.xml"
1800 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1801 (string-append (assoc-ref inputs "docbook-xml")
1802 "/xml/dtd/docbook/")))
1803 #t))
1804 (add-after 'install 'wrap-for-python
1805 (@@ (guix build python-build-system) wrap))
1806 (add-after 'install 'wrap
1807 (lambda* (#:key outputs #:allow-other-keys)
1808 (let ((out (assoc-ref outputs "out"))
1809 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1810 (for-each
1811 (lambda (program)
1812 (wrap-program program
1813 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1814 (map (lambda (name)
1815 (string-append out "/bin/" name))
1816 '("system-config-printer"
1817 "system-config-printer-applet"
1818 "install-printerdriver"
1819 "scp-dbus-service"))))
1820 #t)))))
1821 (inputs
1822 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1823 ("gobject-introspection" ,gobject-introspection)
1824 ("python" ,python)
1825 ("cups" ,cups)
1826 ("python-dbus" ,python-dbus)
1827 ("python-pygobject" ,python-pygobject)
1828 ("python-pycups" ,python-pycups)
1829 ("python-requests" ,python-requests)
1830 ("python-pycairo" ,python-pycairo)
1831 ("libnotify" ,libnotify)
1832 ("packagekit" ,packagekit)))
1833 (native-inputs
1834 `(("pkg-config" ,pkg-config)
1835 ("desktop-file-utils" ,desktop-file-utils)
1836 ("glib" ,glib)
1837 ("autoconf" ,autoconf)
1838 ("automake" ,automake)
1839 ("intltool" ,intltool)
1840 ("xmlto" ,xmlto)
1841 ("docbook-xml" ,docbook-xml-4.1.2)
1842 ("docbook-xsl" ,docbook-xsl)
1843 ("libxml2" ,libxml2)))
1844 (home-page "https://github.com/zdohnal/system-config-printer")
1845 (synopsis "CUPS administration tool")
1846 (description
1847 "system-config-printer is a CUPS administration tool. It's written in
1848Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1849configuring CUPS.")
1850 (license license:gpl2+)))
1851
bef4dd92
AE
1852(define-public hicolor-icon-theme
1853 (package
1854 (name "hicolor-icon-theme")
851cb6dd 1855 (version "0.17")
bef4dd92
AE
1856 (source
1857 (origin
1858 (method url-fetch)
5cc3096c 1859 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
b62a0070 1860 "hicolor-icon-theme-" version ".tar.xz"))
bef4dd92
AE
1861 (sha256
1862 (base32
851cb6dd 1863 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
bef4dd92
AE
1864 (build-system gnu-build-system)
1865 (arguments
1866 `(#:tests? #f)) ; no check target
57e7d748 1867 (home-page "https://icon-theme.freedesktop.org/releases/")
bef4dd92
AE
1868 (synopsis
1869 "Freedesktop icon theme")
1870 (description
1871 "Freedesktop icon theme.")
1dd26275 1872 (license license:gpl2)))
bef4dd92 1873
d9c1a22b
AE
1874(define-public libnotify
1875 (package
1876 (name "libnotify")
195bfa68 1877 (version "0.7.7")
d9c1a22b
AE
1878 (source
1879 (origin
1880 (method url-fetch)
1881 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1882 (version-major+minor version) "/"
d9c1a22b
AE
1883 name "-" version ".tar.xz"))
1884 (sha256
1885 (base32
195bfa68 1886 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
d9c1a22b 1887 (build-system gnu-build-system)
6acf6cec
MB
1888 (arguments
1889 `(#:configure-flags '("--disable-static")))
7ef08efa
UK
1890 (propagated-inputs
1891 `(;; In Requires of libnotify.pc.
1892 ("gdk-pixbuf" ,gdk-pixbuf)
1893 ("glib" ,glib)))
d9c1a22b 1894 (inputs
7ef08efa 1895 `(("gtk+" ,gtk+)
c4c4cc05
JD
1896 ("libpng" ,libpng)))
1897 (native-inputs
426adbe8 1898 `(("pkg-config" ,pkg-config)
277a7d82
JN
1899 ("glib" ,glib "bin")
1900 ("gobject-introspection" ,gobject-introspection)))
d9c1a22b
AE
1901 (home-page "https://developer-next.gnome.org/libnotify/")
1902 (synopsis
1903 "GNOME desktop notification library")
1904 (description
1905 "Libnotify is a library that sends desktop notifications to a
35b9e423 1906notification daemon, as defined in the Desktop Notifications spec. These
d9c1a22b
AE
1907notifications can be used to inform the user about an event or display
1908some form of information without getting in the user's way.")
1dd26275 1909 (license license:lgpl2.1+)))
7a8605ce
CR
1910
1911(define-public libpeas
1912 (package
1913 (name "libpeas")
f2d56e39 1914 (version "1.24.1")
7a8605ce
CR
1915 (source
1916 (origin
1917 (method url-fetch)
1918 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1919 (version-major+minor version) "/"
7a8605ce
CR
1920 name "-" version ".tar.xz"))
1921 (sha256
1922 (base32
f2d56e39
MB
1923 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
1924 (build-system meson-build-system)
1925 (arguments
1926 '(#:phases
1927 (modify-phases %standard-phases
1928 (add-before 'check 'start-xserver
1929 (lambda* (#:key inputs #:allow-other-keys)
1930 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1931 (disp ":1"))
1932 (setenv "DISPLAY" disp)
1933 ;; Tests require a running X server.
1934 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
1935 #t))))))
7a8605ce 1936 (inputs
2ed6522a
SB
1937 `(("gtk+" ,gtk+)
1938 ("glade" ,glade3)
2ed6522a
SB
1939 ("python" ,python)
1940 ("python-pygobject" ,python-pygobject)))
141aed80
LC
1941 (native-inputs
1942 `(("pkg-config" ,pkg-config)
f2d56e39 1943 ("gettext" ,gettext-minimal)
93622993 1944 ("glib:bin" ,glib "bin")
141aed80 1945 ("gobject-introspection" ,gobject-introspection)
f2d56e39 1946 ("xorg-server" ,xorg-server-for-tests)))
55b7bbd8
LC
1947 (propagated-inputs
1948 ;; The .pc file "Requires" gobject-introspection.
1949 `(("gobject-introspection" ,gobject-introspection)))
7a8605ce
CR
1950 (home-page "https://wiki.gnome.org/Libpeas")
1951 (synopsis "GObject plugin system")
1952 (description
d1e4ad1b
TGR
1953 "Libpeas is a gobject-based plugin engine, targeted at giving every
1954application the chance to assume its own extensibility. It also has a set of
1955features including, but not limited to: multiple extension points; on-demand
1956(lazy) programming language support for C, Python and JS; simplicity of the
1957API.")
1dd26275 1958 (license license:lgpl2.0+)))
ed19903d
JD
1959
1960(define-public gtkglext
1961 (package
1962 (name "gtkglext")
1963 (version "1.2.0")
1964 (source (origin
1965 (method url-fetch)
0f971a04 1966 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
ed19903d
JD
1967 version "/gtkglext-" version ".tar.gz"))
1968 (sha256
1969 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
fc1adab1
AK
1970 (patches (search-patches
1971 "gtkglext-disable-disable-deprecated.patch"))))
ed19903d 1972 (build-system gnu-build-system)
14e2f61a
RW
1973 (arguments
1974 `(#:phases
1975 (modify-phases %standard-phases
1976 ;; Fix a collision between a local variable and a definition from
1977 ;; glibc's string.h.
1978 (add-after 'unpack 'fix-collision
1979 (lambda _
1980 (substitute* "gdk/gdkglshapes.c"
1981 ((" index") " triangle_index"))
1982 #t)))))
ed19903d
JD
1983 (inputs `(("gtk+" ,gtk+-2)
1984 ("mesa" ,mesa)
cc8b02f4 1985 ("glu" ,glu)
ed19903d
JD
1986 ("libx11" ,libx11)
1987 ("libxt" ,libxt)))
426adbe8
LC
1988 (native-inputs `(("pkg-config" ,pkg-config)
1989 ("glib" ,glib "bin")))
a83b6a06 1990 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
ed19903d 1991 (home-page "https://projects.gnome.org/gtkglext")
9e771e3b 1992 (synopsis "OpenGL extension to GTK+")
35b9e423 1993 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
ed19903d
JD
1994additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1995API add-ons to make GTK+ widgets OpenGL-capable.")
1dd26275 1996 (license license:lgpl2.1+)))
3600420e
JD
1997
1998(define-public glade3
1999 (package
2000 (name "glade")
c6571adb 2001 (version "3.22.1")
b38e45d8
EB
2002 (source (origin
2003 (method url-fetch)
2004 (uri (string-append "mirror://gnome/sources/" name "/"
2005 (version-major+minor version) "/"
f5ca44b8 2006 name "-" version ".tar.xz"))
3600420e 2007 (sha256
f714d9fe 2008 (base32
c6571adb 2009 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
6983ba56 2010 (build-system glib-or-gtk-build-system)
f5ca44b8
RW
2011 (arguments
2012 `(#:tests? #f ; needs X, GL, and software rendering
2013 #:phases
2014 (modify-phases %standard-phases
2015 (add-before 'configure 'fix-docbook
2016 (lambda* (#:key inputs #:allow-other-keys)
2017 (substitute* "man/Makefile.in"
2018 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2019 (string-append (assoc-ref inputs "docbook-xsl")
2020 "/xml/xsl/docbook-xsl-"
2021 ,(package-version docbook-xsl)
2022 "/manpages/docbook.xsl")))
2023 #t)))))
3600420e 2024 (inputs
f5ca44b8 2025 `(("gtk+" ,gtk+)
3600420e
JD
2026 ("libxml2" ,libxml2)))
2027 (native-inputs
2028 `(("intltool" ,intltool)
f5ca44b8
RW
2029 ("itstool" ,itstool)
2030 ("libxslt" ,libxslt) ;for xsltproc
2031 ("docbook-xml" ,docbook-xml-4.2)
2032 ("docbook-xsl" ,docbook-xsl)
2033 ("python" ,python-2)
3600420e
JD
2034 ("pkg-config" ,pkg-config)))
2035 (home-page "https://glade.gnome.org")
2036 (synopsis "GTK+ rapid application development tool")
2037 (description "Glade is a rapid application development (RAD) tool to
2038enable quick & easy development of user interfaces for the GTK+ toolkit and
2039the GNOME desktop environment.")
1dd26275
LC
2040 (license license:lgpl2.0+)))
2041
2042(define-public libcroco
2043 (package
2044 (name "libcroco")
8bdacad2 2045 (version "0.6.13")
1dd26275
LC
2046 (source (origin
2047 (method url-fetch)
b38e45d8
EB
2048 (uri (string-append "mirror://gnome/sources/" name "/"
2049 (version-major+minor version) "/"
2050 name "-" version ".tar.xz"))
1dd26275
LC
2051 (sha256
2052 (base32
8bdacad2 2053 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
1dd26275
LC
2054 (build-system gnu-build-system)
2055 (native-inputs
2056 `(("pkg-config" ,pkg-config)))
2057 (inputs
2058 `(("glib" ,glib)
2059 ("libxml2" ,libxml2)
2060 ("zlib" ,zlib)))
2061 (home-page "https://github.com/GNOME/libcroco")
2062 (synopsis "CSS2 parsing and manipulation library")
2063 (description
2064 "Libcroco is a standalone CSS2 parsing and manipulation library.
2065The parser provides a low level event driven SAC-like API and a CSS object
2066model like API. Libcroco provides a CSS2 selection engine and an experimental
2067XML/CSS rendering engine.")
2068
2069 ;; LGPLv2.1-only.
2070 (license license:lgpl2.1)))
25178594
LC
2071
2072(define-public libgsf
2073 (package
2074 (name "libgsf")
8d1644a1 2075 (version "1.14.46")
25178594
LC
2076 (source (origin
2077 (method url-fetch)
b38e45d8
EB
2078 (uri (string-append "mirror://gnome/sources/" name "/"
2079 (version-major+minor version) "/"
2080 name "-" version ".tar.xz"))
25178594
LC
2081 (sha256
2082 (base32
8d1644a1 2083 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
25178594
LC
2084 (build-system gnu-build-system)
2085 (native-inputs
2086 `(("intltool" ,intltool)
2087 ("pkg-config" ,pkg-config)))
2088 (inputs
2089 `(("python" ,python)
2090 ("zlib" ,zlib)
2091 ("bzip2" ,bzip2)))
2092 (propagated-inputs
2093 `(("gdk-pixbuf" ,gdk-pixbuf)
2094 ("glib" ,glib)
2095 ("libxml2" ,libxml2)))
f032d0be 2096 (home-page "https://www.gnome.org/projects/libgsf")
25178594
LC
2097 (synopsis "GNOME's Structured File Library")
2098 (description
2099 "Libgsf aims to provide an efficient extensible I/O abstraction for
2100dealing with different structured file formats.")
2101
2102 ;; LGPLv2.1-only.
2103 (license license:lgpl2.1)))
63016e7c
LC
2104
2105(define-public librsvg
f67417a1 2106 (package
35b256f5 2107 (replacement librsvg/fixed)
f67417a1
MB
2108 (name "librsvg")
2109 (version "2.40.20")
2110 (source (origin
2111 (method url-fetch)
2112 (uri (string-append "mirror://gnome/sources/" name "/"
2113 (version-major+minor version) "/"
2114 name "-" version ".tar.xz"))
2115 (sha256
2116 (base32
2117 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
2118 (build-system gnu-build-system)
2119 (arguments
2120 `(#:configure-flags
2121 (list "--disable-static"
2122 "--enable-vala") ; needed for e.g. gnome-mines
2123 #:phases
2124 (modify-phases %standard-phases
2125 (add-before 'configure 'pre-configure
2126 (lambda* (#:key inputs #:allow-other-keys)
2127 (substitute* "gdk-pixbuf-loader/Makefile.in"
2128 ;; By default the gdk-pixbuf loader is installed under
2129 ;; gdk-pixbuf's prefix. Work around that.
2130 (("gdk_pixbuf_moduledir = .*$")
2131 (string-append "gdk_pixbuf_moduledir = "
2132 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2133 "loaders\n"))
2134 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2135 (("gdk_pixbuf_cache_file = .*$")
2136 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2137 #t))
2138 (add-before 'check 'remove-failing-tests
2139 (lambda _
2140 (with-directory-excursion "tests/fixtures/reftests"
2141 (for-each delete-file
2142 '(;; This test fails on i686:
2143 "svg1.1/masking-path-04-b.svg"
2144 ;; This test fails on armhf:
2145 "svg1.1/masking-mask-01-b.svg"
2146 ;; This test fails on aarch64:
2147 "bugs/777834-empty-text-children.svg")))
2148 #t)))))
2149 (native-inputs
2150 `(("pkg-config" ,pkg-config)
2151 ("vala" ,vala)
2152 ("glib" ,glib "bin") ; glib-mkenums, etc.
2153 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2154 (inputs
2155 `(("pango" ,pango)
2156 ("libcroco" ,libcroco)
2157 ("bzip2" ,bzip2)
2158 ("libgsf" ,libgsf)
2159 ("libxml2" ,libxml2)))
2160 (propagated-inputs
2161 ;; librsvg-2.0.pc refers to all of that.
2162 `(("cairo" ,cairo)
2163 ("gdk-pixbuf" ,gdk-pixbuf)
2164 ("glib" ,glib)))
2165 (home-page "https://wiki.gnome.org/LibRsvg")
2166 (synopsis "Render SVG files using Cairo")
2167 (description
2168 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2169library.")
2170 (license license:lgpl2.0+)))
2171
23f33de1
EF
2172(define librsvg/fixed
2173 (package
2174 (inherit librsvg)
2175 (name "librsvg")
2176 (version "2.40.21")
2177 (source (origin
2178 (method url-fetch)
2179 (uri (string-append "mirror://gnome/sources/" name "/"
2180 (version-major+minor version) "/"
2181 name "-" version ".tar.xz"))
2182 (sha256
2183 (base32
2184 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))))
2185
8f523eb9
EF
2186(define* (computed-origin-method gexp-promise hash-algo hash
2187 #:optional (name "source")
2188 #:key (system (%current-system))
2189 (guile (default-guile)))
2190 "Return a derivation that executes the G-expression that results
2191from forcing GEXP-PROMISE."
2192 (mlet %store-monad ((guile (package->derivation guile system)))
2193 (gexp->derivation (or name "computed-origin")
2194 (force gexp-promise)
2195 #:graft? #f ;nothing to graft
2196 #:system system
2197 #:guile-for-build guile)))
2198
2199(define librsvg-next-source
8d6f9168 2200 (let* ((version "2.46.4")
8f523eb9
EF
2201 (upstream-source (origin
2202 (method url-fetch)
2203 (uri (string-append "mirror://gnome/sources/librsvg/"
2204 (version-major+minor version) "/"
2205 "librsvg-" version ".tar.xz"))
2206 (sha256
2207 (base32
8d6f9168 2208 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl")))))
8f523eb9
EF
2209 (origin
2210 (method computed-origin-method)
2211 (file-name (string-append "librsvg-" version ".tar.xz"))
2212 (sha256 #f)
2213 (uri
2214 (delay
2215 (with-imported-modules '((guix build utils))
2216 #~(begin
2217 (use-modules (guix build utils))
2218 (set-path-environment-variable
2219 "PATH" '("bin")
2220 (list "/tmp"
2221 #+(canonical-package xz)
2222 #+(canonical-package gzip)
2223 #+(canonical-package tar)))
2224 (invoke "tar" "xvf" #+upstream-source)
2225 (with-directory-excursion (string-append "librsvg-" #$version)
91f0c790
JS
2226 ;; The following crate(s) are needed in addition to the ones replaced:
2227 (begin
2228 (invoke
5213b697
EF
2229 "tar" "xvf" #+(package-source rust-autocfg-0.1) "-C" "vendor")
2230 (invoke
2231 "tar" "xvf" #+(package-source rust-proc-macro2-0.4) "-C" "vendor")
2232 (invoke
2233 "tar" "xvf" #+(package-source rust-quote-0.6) "-C" "vendor")
2234 (invoke
2235 "tar" "xvf" #+(package-source rust-unicode-xid-0.1) "-C" "vendor")
2236 (invoke
2237 "tar" "xvf" #+(package-source rust-maybe-uninit-2.0) "-C" "vendor"))
8f523eb9
EF
2238 (for-each
2239 (lambda (crate)
2240 (delete-file-recursively (string-append "vendor/" (car crate)))
2241 (invoke "tar" "xvf" (cdr crate) "-C" "vendor"))
393d7214 2242 '(("aho-corasick" . #+(package-source rust-aho-corasick-0.7))
8f523eb9 2243;; alga 0.9
e19cb895
EF
2244 ("approx" . #+(package-source rust-approx-0.3))
2245 ("arrayvec" . #+(package-source rust-arrayvec-0.4))
8f523eb9 2246 ("atty" . #+(package-source rust-atty-0.2))
91f0c790 2247 ("autocfg" . #+(package-source rust-autocfg-1.0))
8f523eb9
EF
2248 ("bitflags" . #+(package-source rust-bitflags-1))
2249;; block 0.1
e19cb895
EF
2250 ("bstr" . #+(package-source rust-bstr-0.2))
2251 ("byteorder" . #+(package-source rust-byteorder-1.3))
8f523eb9
EF
2252;; cairo-rs 0.7
2253;; cairo-sys-rs 0.9
e19cb895 2254 ("cast" . #+(package-source rust-cast-0.2))
8f523eb9
EF
2255 ("cfg-if" . #+(package-source rust-cfg-if-0.1))
2256 ("clap" . #+(package-source rust-clap-2))
e19cb895
EF
2257 ("cloudabi" . #+(package-source rust-cloudabi-0.0))
2258 ("criterion" . #+(package-source rust-criterion-0.2))
2259 ("criterion-plot" . #+(package-source rust-criterion-plot-0.3))
393d7214
JS
2260 ("crossbeam-deque" . #+(package-source rust-crossbeam-deque-0.7))
2261 ("crossbeam-epoch" . #+(package-source rust-crossbeam-epoch-0.8))
2262 ("crossbeam-queue" . #+(package-source rust-crossbeam-queue-0.2))
2263 ("crossbeam-utils" . #+(package-source rust-crossbeam-utils-0.7))
8f523eb9
EF
2264;; cssparser 0.25
2265;; cssparser-macros 0.3
e19cb895
EF
2266 ("csv" . #+(package-source rust-csv-1.1))
2267 ("csv-core" . #+(package-source rust-csv-core-0.1))
8f523eb9
EF
2268;; data-url 0.1
2269;; downcast-rs 1.0
2270 ("dtoa" . #+(package-source rust-dtoa-0.4))
2271;; dtoa-short 0.3
e19cb895
EF
2272 ("either" . #+(package-source rust-either-1.5))
2273 ("encoding" . #+(package-source rust-encoding-0.2))
2274 ("encoding-index-japanese" . #+(package-source rust-encoding-index-japanese-1.20141219))
2275 ("encoding-index-korean" . #+(package-source rust-encoding-index-korean-1.20141219))
2276 ("encoding-index-simpchinese" . #+(package-source rust-encoding-index-simpchinese-1.20141219))
2277 ("encoding-index-singlebyte" . #+(package-source rust-encoding-index-singlebyte-1.20141219))
2278 ("encoding-index-tradchinese" . #+(package-source rust-encoding-index-tradchinese-1.20141219))
2279 ("encoding_index_tests" . #+(package-source rust-encoding-index-tests-0.1))
8f523eb9
EF
2280;; float-cmp 0.5
2281;; fragile 0.3
e19cb895
EF
2282 ("fuchsia-cprng" . #+(package-source rust-fuchsia-cprng-0.1))
2283 ("futf" . #+(package-source rust-futf-0.1))
8f523eb9
EF
2284;; gdk-pixbuf 0.7
2285;; gdk-pixbuf-sys 0.9
e19cb895 2286 ("generic-array" . #+(package-source rust-generic-array-0.12))
8f523eb9 2287;; gio 0.7
8d6f9168 2288 ("gio-sys" . #+(package-source rust-gio-sys-0.9))
8f523eb9 2289;; glib 0.8
8d6f9168
EF
2290 ("glib-sys" . #+(package-source rust-glib-sys-0.9))
2291 ("gobject-sys" . #+(package-source rust-gobject-sys-0.9))
393d7214 2292 ("idna" . #+(package-source rust-idna-0.2))
e19cb895 2293 ("itertools" . #+(package-source rust-itertools-0.8))
8f523eb9 2294 ("itoa" . #+(package-source rust-itoa-0.4))
e19cb895 2295 ("language-tags" . #+(package-source rust-language-tags-0.2))
21c8ec75 2296 ("lazy_static" . #+(package-source rust-lazy-static-1))
8f523eb9 2297 ("libc" . #+(package-source rust-libc-0.2))
91f0c790 2298 ("libm" . #+(package-source rust-libm-0.1))
8d6f9168 2299 ("locale_config" . #+(package-source rust-locale-config-0.3))
8f523eb9 2300 ("log" . #+(package-source rust-log-0.4))
e19cb895 2301 ("mac" . #+(package-source rust-mac-0.1))
5213b697 2302 ("malloc_buf" . #+(package-source rust-malloc-buf-0.0))
8f523eb9 2303;; markup5ever 0.9
e19cb895 2304 ("matches" . #+(package-source rust-matches-0.1))
8f523eb9 2305;; matrixmultiply 0.2
393d7214
JS
2306 ("memchr" . #+(package-source rust-memchr-2.2))
2307 ("memoffset" . #+(package-source rust-memoffset-0.5))
8f523eb9 2308;; nalgebra 0.18
e19cb895 2309 ("new_debug_unreachable" . #+(package-source rust-new-debug-unreachable-1.0))
8f523eb9 2310 ("nodrop" . #+(package-source rust-nodrop-0.1))
e19cb895 2311 ("num-complex" . #+(package-source rust-num-complex-0.2))
8f523eb9 2312 ("num-integer" . #+(package-source rust-num-integer-0.1))
5213b697 2313 ("num-rational" . #+(package-source rust-num-rational-0.2))
8f523eb9
EF
2314 ("num-traits" . #+(package-source rust-num-traits-0.2))
2315 ("num_cpus" . #+(package-source rust-num-cpus-1.10))
5213b697
EF
2316 ("objc" . #+(package-source rust-objc-0.2))
2317 ("objc-foundation" . #+(package-source rust-objc-foundation-0.1))
2318 ("objc_id" . #+(package-source rust-objc-id-0.1))
8f523eb9
EF
2319;; pango 0.7
2320;; pango-sys 0.9
2321;; pangocairo 0.8
2322;; pangocairo-sys 0.10
2323 ("percent-encoding" . #+(package-source rust-percent-encoding-2.1))
e19cb895
EF
2324 ("phf" . #+(package-source rust-phf-0.7))
2325 ("phf_codegen" . #+(package-source rust-phf-codegen-0.7))
2326 ("phf_generator" . #+(package-source rust-phf-generator-0.7))
2327 ("phf_shared" . #+(package-source rust-phf-shared-0.7))
2328 ("pkg-config" . #+(package-source rust-pkg-config-0.3))
2329 ("precomputed-hash" . #+(package-source rust-precomputed-hash-0.1))
8f523eb9
EF
2330 ("proc-macro2" . #+(package-source rust-proc-macro2-1.0))
2331;; procedural-masquerade 0.1
2332 ("quote" . #+(package-source rust-quote-1.0))
e19cb895 2333 ("rand" . #+(package-source rust-rand-0.6))
8f523eb9
EF
2334 ("rand_chacha" . #+(package-source rust-rand-chacha-0.1))
2335 ("rand_core-0.3.1" . #+(package-source rust-rand-core-0.3))
2336 ("rand_core" . #+(package-source rust-rand-core-0.4))
2337 ("rand_hc" . #+(package-source rust-rand-hc-0.1))
2338 ("rand_isaac" . #+(package-source rust-rand-isaac-0.1))
2339 ("rand_jitter" . #+(package-source rust-rand-jitter-0.1))
2340 ("rand_os" . #+(package-source rust-rand-os-0.1))
2341 ("rand_pcg" . #+(package-source rust-rand-pcg-0.1))
2342 ("rand_xorshift" . #+(package-source rust-rand-xorshift-0.1))
393d7214 2343 ("rand_xoshiro" . #+(package-source rust-rand-xoshiro-0.1))
e19cb895 2344;; rawpointer 0.2
393d7214
JS
2345 ("rayon" . #+(package-source rust-rayon-1.3))
2346 ("rayon-core" . #+(package-source rust-rayon-core-1.7))
8f523eb9
EF
2347;; rctree 0.3
2348 ("rdrand" . #+(package-source rust-rdrand-0.4))
393d7214 2349 ("regex" . #+(package-source rust-regex-1.3))
e19cb895 2350 ("regex-automata" . #+(package-source rust-regex-automata-0.1))
393d7214 2351 ("regex-syntax" . #+(package-source rust-regex-syntax-0.6))
e19cb895 2352 ("rustc_version" . #+(package-source rust-rustc-version-0.2))
8f523eb9
EF
2353 ("ryu" . #+(package-source rust-ryu-1.0))
2354 ("same-file" . #+(package-source rust-same-file-1.0))
2355 ("scopeguard" . #+(package-source rust-scopeguard-1.0))
e19cb895
EF
2356 ("semver" . #+(package-source rust-semver-0.9))
2357 ("semver-parser" . #+(package-source rust-semver-parser-0.7))
8f523eb9
EF
2358 ("serde" . #+(package-source rust-serde-1.0))
2359 ("serde_derive" . #+(package-source rust-serde-derive-1.0))
2360 ("serde_json" . #+(package-source rust-serde-json-1.0))
e19cb895
EF
2361 ("siphasher" . #+(package-source rust-siphasher-0.2))
2362 ("smallvec" . #+(package-source rust-smallvec-0.6))
2363 ("string_cache" . #+(package-source rust-string-cache-0.7))
5213b697 2364 ("string_cache_codegen" . #+(package-source rust-string-cache-codegen-0.4))
e19cb895 2365 ("string_cache_shared" . #+(package-source rust-string-cache-shared-0.3))
8f523eb9 2366 ("syn" . #+(package-source rust-syn-1.0))
e19cb895 2367 ("tendril" . #+(package-source rust-tendril-0.4))
8f523eb9 2368 ("textwrap" . #+(package-source rust-textwrap-0.11))
393d7214 2369 ("thread_local" . #+(package-source rust-thread-local-1.0))
e19cb895
EF
2370 ("tinytemplate" . #+(package-source rust-tinytemplate-1.0))
2371 ("typenum" . #+(package-source rust-typenum-1.10))
2372 ("unicode-bidi" . #+(package-source rust-unicode-bidi-0.3))
2373 ("unicode-normalization" . #+(package-source rust-unicode-normalization-0.1))
8f523eb9
EF
2374 ("unicode-width" . #+(package-source rust-unicode-width-0.1))
2375 ("unicode-xid" . #+(package-source rust-unicode-xid-0.2))
393d7214 2376 ("url" . #+(package-source rust-url-2.1))
e19cb895 2377 ("utf-8" . #+(package-source rust-utf-8-0.7))
8f523eb9
EF
2378 ("walkdir" . #+(package-source rust-walkdir-2.2))
2379 ("winapi" . #+(package-source rust-winapi-0.3))
e19cb895 2380 ("winapi-i686-pc-windows-gnu" . #+(package-source rust-winapi-i686-pc-windows-gnu-0.4))
8f523eb9 2381 ("winapi-util" . #+(package-source rust-winapi-util-0.1))
e19cb895 2382 ("winapi-x86_64-pc-windows-gnu" . #+(package-source rust-winapi-x86-64-pc-windows-gnu-0.4))
5213b697 2383 ("xml-rs" . #+(package-source rust-xml-rs-0.8)))))
8f523eb9
EF
2384 (format #t "Replacing vendored crates in the tarball and repacking ...~%")
2385 (force-output)
2386 (invoke "tar" "cfa" #$output
2387 ;; Avoid non-determinism in the archive. We set the
2388 ;; mtime of files in the archive to early 1980 because
2389 ;; the build process fails if the mtime of source
2390 ;; files is pre-1980, due to the creation of zip
2391 ;; archives.
2392 "--mtime=@315619200" ; 1980-01-02 UTC
2393 "--owner=root:0"
2394 "--group=root:0"
2395 "--sort=name"
2396 (string-append "librsvg-" #$version))
2397 #t)))))))
2398
f67417a1 2399(define-public librsvg-next
63016e7c
LC
2400 (package
2401 (name "librsvg")
3276e123 2402 (version "2.46.4")
8f523eb9 2403 (source librsvg-next-source)
63016e7c
LC
2404 (build-system gnu-build-system)
2405 (arguments
d953418a
RW
2406 `(#:configure-flags
2407 (list "--disable-static"
2408 "--enable-vala") ; needed for e.g. gnome-mines
7e0f4cb1 2409 #:make-flags '("CC=gcc")
8f523eb9 2410 #:imported-modules ,%cargo-utils-modules ;for `generate-all-checksums'
ec47c07d 2411 #:phases
b6239e45 2412 (modify-phases %standard-phases
8f523eb9 2413 (add-after 'configure 'patch-cargo-checksums
ec47c07d 2414 (lambda _
8f523eb9
EF
2415 (use-modules (guix build cargo-utils))
2416 (substitute* "librsvg/Cargo.toml"
2417 (("bitflags .*") "bitflags = \"1\"\n")) ; 1.2 is vendored
8d6f9168
EF
2418 (substitute* "rsvg_internals/Cargo.toml"
2419 (("\"=") "\""))
b665a246 2420 (generate-all-checksums "vendor")
8f523eb9
EF
2421 (delete-file "Cargo.lock")
2422 (invoke "cargo" "generate-lockfile")))
b6239e45
EF
2423 (add-before 'configure 'pre-configure
2424 (lambda* (#:key inputs #:allow-other-keys)
2425 (substitute* "gdk-pixbuf-loader/Makefile.in"
2426 ;; By default the gdk-pixbuf loader is installed under
2427 ;; gdk-pixbuf's prefix. Work around that.
2428 (("gdk_pixbuf_moduledir = .*$")
2429 (string-append "gdk_pixbuf_moduledir = "
2430 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2431 "loaders\n"))
2432 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2433 (("gdk_pixbuf_cache_file = .*$")
2434 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2435 #t))
ec47c07d 2436 (add-before 'check 'remove-failing-tests
b6239e45 2437 (lambda _
64a153bd
MW
2438 (with-directory-excursion "tests/fixtures/reftests"
2439 (for-each delete-file
ec47c07d
MB
2440 '(;; The images produced by these tests differ slightly
2441 ;; from their reference counterparts due to differences
2442 ;; in the build environment (missing fonts, etc). See
2443 ;; <tests/README.md> for details.
2444 ;; These fail on x86_64.
2445 "svg1.1/coords-viewattr-02-b.svg"
2446 "svg1.1/filters-composite-04-f.svg"
2447 "svg1.1/filters-image-01-b.svg"
2448 "svg1.1/filters-conv-02-f.svg"
2449 "svg1.1/filters-conv-04-f.svg"
2450 ;; This test fails on i686:
64a153bd 2451 "svg1.1/masking-path-04-b.svg"
64a153bd
MW
2452 ;; This test fails on armhf:
2453 "svg1.1/masking-mask-01-b.svg"
64a153bd 2454 ;; This test fails on aarch64:
ec47c07d 2455 "bugs/777834-empty-text-children.svg")))
b6239e45 2456 #t)))))
63016e7c
LC
2457 (native-inputs
2458 `(("pkg-config" ,pkg-config)
64855281
MB
2459 ;; This is the minimum supported Rust version in Librsvg 2.46.
2460 ("rust" ,rust-1.34)
2461 ("cargo" ,rust-1.34 "cargo")
d953418a 2462 ("vala" ,vala)
44add1ce 2463 ("glib" ,glib "bin") ; glib-mkenums, etc.
63016e7c
LC
2464 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2465 (inputs
2466 `(("pango" ,pango)
2467 ("libcroco" ,libcroco)
2468 ("bzip2" ,bzip2)
2469 ("libgsf" ,libgsf)
2470 ("libxml2" ,libxml2)))
2471 (propagated-inputs
2472 ;; librsvg-2.0.pc refers to all of that.
2473 `(("cairo" ,cairo)
2474 ("gdk-pixbuf" ,gdk-pixbuf)
2475 ("glib" ,glib)))
2476 (home-page "https://wiki.gnome.org/LibRsvg")
2477 (synopsis "Render SVG files using Cairo")
2478 (description
35b9e423 2479 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
63016e7c 2480library.")
cf9dad6c 2481 (license license:lgpl2.1+)))
5698b8b8
JD
2482
2483(define-public libidl
2484 (package
2485 (name "libidl")
2486 (version "0.8.14")
2487 (source (origin
2488 (method url-fetch)
80a06e62
EF
2489 (uri (string-append "mirror://gnome/sources/libIDL/"
2490 (version-major+minor version) "/"
2491 "libIDL-" version ".tar.bz2"))
5698b8b8
JD
2492 (sha256
2493 (base32
2494 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2495 (build-system gnu-build-system)
2496 (inputs `(("glib" ,glib)))
2497 (native-inputs
2498 `(("pkg-config" ,pkg-config)
b3546174 2499 ("flex" ,flex)
5698b8b8
JD
2500 ("bison" ,bison)))
2501 (home-page "http://freecode.com/projects/libidl")
2502 (synopsis "Create trees of CORBA Interface Definition Language files")
35b9e423 2503 (description "Libidl is a library for creating trees of CORBA Interface
5698b8b8
JD
2504Definition Language (idl) files, which is a specification for defining
2505portable interfaces. libidl was initially written for orbit (the orb from the
35b9e423 2506GNOME project, and the primary means of libidl distribution). However, the
2e6ecc5c 2507functionality was designed to be as reusable and portable as possible.")
ef2c55bb 2508 (properties `((upstream-name . "libIDL")))
5698b8b8
JD
2509 (license license:lgpl2.0+)))
2510
2511
2512(define-public orbit2
2513 (package
2514 (name "orbit2")
2515 (version "2.14.19")
2516 (source (origin
2517 (method url-fetch)
2e6ecc5c 2518 (uri (let ((upstream-name "ORBit2"))
a124bbd2 2519 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
2520 (version-major+minor version) "/"
2521 upstream-name "-" version ".tar.bz2")))
5698b8b8 2522 (sha256
a124bbd2
SB
2523 (base32
2524 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
5698b8b8
JD
2525 (build-system gnu-build-system)
2526 (arguments
a124bbd2 2527 `(#:configure-flags
8aad2e32
LC
2528 '(;; We don't need static libraries, plus they don't build reproducibly
2529 ;; (non-deterministic ordering of .o files in the archive.)
2530 "--disable-static"
2531
2532 ;; The programmer kindly gives us a hook to turn off deprecation
2533 ;; warnings ...
2534 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
a124bbd2
SB
2535 ;; ... which they then completly ignore !!
2536 #:phases
dc1d3cde
KK
2537 (modify-phases %standard-phases
2538 (add-before 'configure 'ignore-deprecations
2539 (lambda _
2540 (substitute* "linc2/src/Makefile.in"
2541 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2542 #t)))))
5698b8b8
JD
2543 (inputs `(("glib" ,glib)
2544 ("libidl" ,libidl)))
2545 (native-inputs
2546 `(("pkg-config" ,pkg-config)))
2547 (home-page "https://projects.gnome.org/orbit2/")
2548 (synopsis "CORBA 2.4-compliant Object Request Broker")
35b9e423 2549 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2e6ecc5c 2550featuring mature C, C++ and Python bindings.")
a124bbd2
SB
2551 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2552 ;; a version. SOME of the code files have licence notices for GPLv2+.
2553 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
892307ae
LC
2554 (license license:gpl2+)
2555 (properties `((upstream-name . "ORBit2")))))
5698b8b8
JD
2556
2557
2558(define-public libbonobo
2559 (package
2560 (name "libbonobo")
2561 (version "2.32.1")
2562 (source (origin
2563 (method url-fetch)
5becd025 2564 (uri (string-append "mirror://gnome/sources/" name "/"
29a7c98a 2565 (version-major+minor version)
5becd025 2566 "/" name "-" version ".tar.bz2"))
5698b8b8 2567 (sha256
f1fc45a9 2568 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
fc1adab1
AK
2569 (patches (search-patches
2570 "libbonobo-activation-test-race.patch"))))
5698b8b8
JD
2571 (build-system gnu-build-system)
2572 (arguments
2573 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
5becd025
EB
2574 `(#:configure-flags
2575 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2576 ;; ... which they then completly ignore !!
2577 #:phases
dc1d3cde
KK
2578 (modify-phases %standard-phases
2579 (add-before 'configure 'ignore-deprecations
2580 (lambda _
2581 (substitute* "activation-server/Makefile.in"
2582 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
994b5b1d
LC
2583 #t)))
2584
2585 ;; There's apparently a race condition between the server stub
2586 ;; generation and linking of the example under 'samples/echo' that can
2587 ;; lead do undefined references when building in parallel, as reported
2588 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2589 ;; Thus, disable parallel builds.
2590 #:parallel-build? #f))
5698b8b8
JD
2591 (inputs `(("popt" ,popt)
2592 ("libxml2" ,libxml2)))
2593 ;; The following are Required by the .pc file
44add1ce 2594 (propagated-inputs
5698b8b8
JD
2595 `(("glib" ,glib)
2596 ("orbit2" ,orbit2)))
2597 (native-inputs
2598 `(("intltool" ,intltool)
2599 ("pkg-config" ,pkg-config)
221ed17a 2600 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2601 ("flex" ,flex)
2602 ("bison" ,bison)))
2603 (home-page "https://developer.gnome.org/libbonobo/")
2604 (synopsis "Framework for creating reusable components for use in GNOME applications")
2605 (description "Bonobo is a framework for creating reusable components for
2e6ecc5c 2606use in GNOME applications, built on top of CORBA.")
5698b8b8
JD
2607 ;; Licence not explicitly stated. Source files contain no licence notices.
2608 ;; Tarball contains text of both GPLv2 and LGPLv2
2609 ;; GPLv2 covers both conditions
2610 (license license:gpl2+)))
2611
2612
2613(define-public gconf
2614 (package
2615 (name "gconf")
2616 (version "3.2.6")
2617 (source (origin
2618 (method url-fetch)
a124bbd2
SB
2619 (uri
2620 (let ((upstream-name "GConf"))
2621 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
2622 (version-major+minor version) "/"
2623 upstream-name "-" version ".tar.xz")))
5698b8b8
JD
2624 (sha256
2625 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2626 (build-system gnu-build-system)
2e88d113 2627 (inputs `(("dbus-glib" ,dbus-glib)
5698b8b8 2628 ("libxml2" ,libxml2)))
2e6ecc5c
AE
2629 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2630 ("orbit2" ,orbit2)))
5698b8b8
JD
2631 (native-inputs
2632 `(("intltool" ,intltool)
221ed17a 2633 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2634 ("pkg-config" ,pkg-config)))
2635 (home-page "https://projects.gnome.org/gconf/")
35b9e423
EB
2636 (synopsis "Store application preferences")
2637 (description "Gconf is a system for storing application preferences. It
2638is intended for user preferences; not arbitrary data storage.")
29d2f451
LC
2639 (license license:lgpl2.0+)
2640 (properties '((upstream-name . "GConf")))))
5698b8b8
JD
2641
2642
2643(define-public gnome-mime-data
2644 (package
2645 (name "gnome-mime-data")
2646 (version "2.18.0")
2647 (source (origin
2648 (method url-fetch)
b38e45d8
EB
2649 (uri (string-append "mirror://gnome/sources/" name "/"
2650 (version-major+minor version) "/"
2651 name "-" version ".tar.bz2"))
5698b8b8
JD
2652 (sha256
2653 (base32
2654 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2655 (build-system gnu-build-system)
2656 (native-inputs
2657 `(("perl" ,perl)
2658 ("intltool" ,intltool)))
3e6add96
LC
2659 (arguments
2660 '(#:phases (modify-phases %standard-phases
2661 (add-after 'configure 'use-our-intltool
2662 (lambda _
2663 ;; Do not use the bundled intltool commands, which lack
2664 ;; the "dotless @INC" fixes of our 'intltool' package.
2665 (substitute* (find-files "." "^Makefile$")
2666 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2667 (string-append "INTLTOOL_" tool " = intltool-"
2668 (string-downcase tool) "\n")))
2669 #t)))))
f032d0be 2670 (home-page "https://www.gnome.org")
35b9e423 2671 (synopsis "Base MIME and Application database for GNOME")
5698b8b8
JD
2672 (description "GNOME Mime Data is a module which contains the base MIME
2673and Application database for GNOME. The data stored by this module is
2674designed to be accessed through the MIME functions in GnomeVFS.")
2675 (license license:gpl2+)))
2676
2677
2678(define-public gnome-vfs
2679 (package
2680 (name "gnome-vfs")
2681 (version "2.24.4")
2682 (source (origin
2683 (method url-fetch)
b38e45d8
EB
2684 (uri (string-append "mirror://gnome/sources/" name "/"
2685 (version-major+minor version) "/"
2686 name "-" version ".tar.bz2"))
5698b8b8 2687 (sha256
9e12bc34
MW
2688 (base32
2689 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
5698b8b8
JD
2690 (build-system gnu-build-system)
2691 (arguments
db5127d8 2692 `(#:phases
dc1d3cde
KK
2693 (modify-phases %standard-phases
2694 (add-before 'configure 'ignore-deprecations
2695 (lambda _
2696 (substitute* '("libgnomevfs/Makefile.in"
2697 "daemon/Makefile.in")
2698 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2699 #t))
2700 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2701 (lambda _
2702 (substitute* "test/test-async-cancel.c"
2703 (("EXIT_FAILURE") "77"))
2704 #t)))))
2e6ecc5c 2705 (inputs `(("libxml2" ,libxml2)
5698b8b8 2706 ("dbus-glib" ,dbus-glib)
5698b8b8
JD
2707 ("gconf" ,gconf)
2708 ("gnome-mime-data" ,gnome-mime-data)
2709 ("zlib" ,zlib)))
2710 (native-inputs
221ed17a
EB
2711 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2712 ("intltool" ,intltool)
5698b8b8
JD
2713 ("pkg-config" ,pkg-config)))
2714 (home-page "https://developer.gnome.org/gnome-vfs/")
35b9e423 2715 (synopsis "Access files and folders in GNOME applications")
9e12bc34
MW
2716 (description
2717 "GnomeVFS is the core library used to access files and folders in GNOME
2718applications. It provides a file system abstraction which allows applications
2719to access local and remote files with a single consistent API.")
5698b8b8
JD
2720 (license license:lgpl2.0+)))
2721
2722
2723
2724(define-public libgnome
2725 (package
2726 (name "libgnome")
2727 (version "2.32.1")
2728 (source (origin
2729 (method url-fetch)
b38e45d8
EB
2730 (uri (string-append "mirror://gnome/sources/" name "/"
2731 (version-major+minor version) "/"
2732 name "-" version ".tar.bz2"))
5698b8b8
JD
2733 (sha256
2734 (base32
17c3eea7
LC
2735 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2736 (patches (search-patches "libgnome-encoding.patch"))))
5698b8b8
JD
2737 (build-system gnu-build-system)
2738 (arguments
2739 `(#:phases
dc1d3cde
KK
2740 (modify-phases %standard-phases
2741 (add-before 'configure 'enable-deprecated
2742 (lambda _
2743 (substitute* "libgnome/Makefile.in"
2744 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2745 #t)))))
25338e9f 2746 (inputs `(("libxml2" ,libxml2)))
5698b8b8 2747 (native-inputs
221ed17a
EB
2748 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2749 ("intltool" ,intltool)
5698b8b8
JD
2750 ("pkg-config" ,pkg-config)))
2751 ;; The following are listed as Required in the .pc file
2752 ;; (except for libcanberra -- which seems to be oversight on the part
2753 ;; of the upstream developers -- anything that links against libgnome,
2754 ;; must also link against libcanberra
2755 (propagated-inputs
2756 `(("libcanberra" ,libcanberra)
2757 ("libbonobo" ,libbonobo)
2758 ("gconf" ,gconf)
a640d3d5
LC
2759 ("gnome-vfs" ,gnome-vfs)
2760 ("popt" ,popt))) ;gnome-program.h includes popt.h
5698b8b8
JD
2761 (home-page "https://developer.gnome.org/libgnome/")
2762 (synopsis "Useful routines for building applications")
2763 (description "The libgnome library provides a number of useful routines
2764for building modern applications, including session management, activation of
2765files and URIs, and displaying help.")
2766 (license license:lgpl2.0+)))
2767
2768
2769(define-public libart-lgpl
2770 (package
2771 (name "libart-lgpl")
76c9b6aa 2772 (version "2.3.21")
5698b8b8
JD
2773 (source (origin
2774 (method url-fetch)
2775 (uri (let ((upstream-name "libart_lgpl"))
b38e45d8
EB
2776 (string-append "mirror://gnome/sources/" upstream-name "/"
2777 (version-major+minor version) "/"
2778 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
2779 (sha256
2780 (base32
76c9b6aa 2781 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
5698b8b8
JD
2782 (build-system gnu-build-system)
2783 (native-inputs
2784 `(("pkg-config" ,pkg-config)))
2785 (home-page "https://people.gnome.org/~mathieu/libart")
2786 (synopsis "2D drawing library")
2e6ecc5c 2787 (description "Libart is a 2D drawing library intended as a
5698b8b8
JD
2788high-quality vector-based 2D library with antialiasing and alpha composition.")
2789 (license license:lgpl2.0+)))
2790
2791
2792
2793(define-public libgnomecanvas
2794 (package
2795 (name "libgnomecanvas")
2796 (version "2.30.3")
2797 (source (origin
2798 (method url-fetch)
b38e45d8
EB
2799 (uri (string-append "mirror://gnome/sources/" name "/"
2800 (version-major+minor version) "/"
2801 name "-" version ".tar.gz"))
5698b8b8
JD
2802 (sha256
2803 (base32
2804 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2805 (build-system gnu-build-system)
2806 ;; Mentioned as Required in the .pc file
2807 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2808 ("gtk+" ,gtk+-2)))
2809 (native-inputs
2810 `(("intltool" ,intltool)
221ed17a 2811 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2812 ("pkg-config" ,pkg-config)))
2813 (home-page "https://developer.gnome.org/libgnomecanvas/")
2814 (synopsis "Flexible widget for creating interactive structured graphics")
2815 (description "The GnomeCanvas widget provides a flexible widget for
2816creating interactive structured graphics.")
2817 (license license:lgpl2.0+)))
2818
eadc734e
RW
2819(define-public libgnomecanvasmm
2820 (package
2821 (name "libgnomecanvasmm")
2822 (version "2.26.0")
2823 (source (origin
2824 (method url-fetch)
2825 (uri (string-append "mirror://gnome/sources/" name "/"
2826 (version-major+minor version) "/"
2827 name "-" version ".tar.bz2"))
2828 (sha256
2829 (base32
2830 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2831 (build-system gnu-build-system)
2832 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2833 (native-inputs
2834 `(("gtkmm-2" ,gtkmm-2)
2835 ("pkg-config" ,pkg-config)))
8e933cb3 2836 (home-page "https://gtkmm.org")
eadc734e
RW
2837 (synopsis "C++ bindings to the GNOME Canvas library")
2838 (description "C++ bindings to the GNOME Canvas library.")
2839 (license license:lgpl2.0+)))
2840
5698b8b8
JD
2841(define-public libgnomeui
2842 (package
2843 (name "libgnomeui")
2844 (version "2.24.5")
2845 (source (origin
2846 (method url-fetch)
b38e45d8
EB
2847 (uri (string-append "mirror://gnome/sources/" name "/"
2848 (version-major+minor version) "/"
2849 name "-" version ".tar.bz2"))
8fa1872a 2850 (patches (search-patches "libgnomeui-utf8.patch"))
5698b8b8
JD
2851 (sha256
2852 (base32
2853 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2854 (build-system gnu-build-system)
2855 ;; Mentioned as Required in the .pc file
0a38a497
AE
2856 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2857 ("libgnome" ,libgnome)
2858 ("libgnomecanvas" ,libgnomecanvas)
5698b8b8 2859 ("libgnome-keyring" ,libgnome-keyring)))
0a38a497 2860 (inputs `(("libjpeg" ,libjpeg)
5698b8b8
JD
2861 ("popt" ,popt)
2862 ("libbonobo" ,libbonobo)
2863 ("libxml2" ,libxml2)
2864 ("libglade" ,libglade)))
2865 (native-inputs
221ed17a
EB
2866 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2867 ("intltool" ,intltool)
5698b8b8
JD
2868 ("pkg-config" ,pkg-config)))
2869 (home-page "https://developer.gnome.org/libgnomeui/")
2870 (synopsis "Additional widgets for applications")
35b9e423 2871 (description "The libgnomeui library provides additional widgets for
e881752c
AK
2872applications. Many of the widgets from libgnomeui have already been
2873ported to GTK+.")
5698b8b8
JD
2874 (license license:lgpl2.0+)))
2875
2876(define-public libglade
2877 (package
2878 (name "libglade")
2879 (version "2.6.4")
2880 (source (origin
2881 (method url-fetch)
b38e45d8
EB
2882 (uri (string-append "mirror://gnome/sources/" name "/"
2883 (version-major+minor version) "/"
2884 name "-" version ".tar.bz2"))
5698b8b8
JD
2885 (sha256
2886 (base32
2887 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2888 (build-system gnu-build-system)
2889 (inputs
92dcc23d
AE
2890 `(("python" ,python))) ;; needed for the optional libglade-convert program
2891 (propagated-inputs
5698b8b8 2892 `(("gtk+-2" ,gtk+-2)
92dcc23d 2893 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
5698b8b8
JD
2894 (native-inputs
2895 `(("pkg-config" ,pkg-config)))
2896 (home-page "https://developer.gnome.org/libglade")
35b9e423
EB
2897 (synopsis "Load glade interfaces and access the glade built widgets")
2898 (description "Libglade is a library that provides interfaces for loading
5698b8b8
JD
2899graphical interfaces described in glade files and for accessing the
2900widgets built in the loading process.")
2901 (license license:gpl2+))) ; This is correct. GPL not LGPL
2902
2903(define-public libgnomeprint
eb497b66
LC
2904 ;; This library has been deprecated since 2006; see
2905 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
5698b8b8
JD
2906 (package
2907 (name "libgnomeprint")
d19db454 2908 (version "2.18.8")
5698b8b8
JD
2909 (source (origin
2910 (method url-fetch)
b38e45d8
EB
2911 (uri (string-append "mirror://gnome/sources/" name "/"
2912 (version-major+minor version) "/"
2913 name "-" version ".tar.bz2"))
5698b8b8
JD
2914 (sha256
2915 (base32
d19db454 2916 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
5698b8b8
JD
2917 (build-system gnu-build-system)
2918 (inputs
2919 `(("popt" ,popt)
2920 ("libart-lgpl" ,libart-lgpl)
2921 ("gtk+" ,gtk+-2)
44add1ce 2922 ("libxml2" ,libxml2)))
5698b8b8
JD
2923 (native-inputs
2924 `(("intltool" ,intltool)
221ed17a 2925 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2926 ("pkg-config" ,pkg-config)))
2927 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
35b9e423 2928 (synopsis "Printing framework for GNOME")
eb497b66
LC
2929 (description
2930 "GNOME-print was a printing framework for GNOME. It has been deprecated
2931since ca. 2006, when GTK+ itself incorporated printing support.")
5698b8b8
JD
2932 (license license:lgpl2.0+)))
2933
2934
2935(define-public libgnomeprintui
eb497b66 2936 ;; Deprecated; see libgnomeprint.
5698b8b8
JD
2937 (package
2938 (name "libgnomeprintui")
36053d7f 2939 (version "2.18.6")
5698b8b8
JD
2940 (source (origin
2941 (method url-fetch)
b38e45d8
EB
2942 (uri (string-append "mirror://gnome/sources/" name "/"
2943 (version-major+minor version) "/"
2944 name "-" version ".tar.bz2"))
5698b8b8
JD
2945 (sha256
2946 (base32
36053d7f 2947 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
5698b8b8
JD
2948 (build-system gnu-build-system)
2949 ;; Mentioned as Required in the .pc file
2950 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2951 (inputs `(("gtk+" ,gtk+-2)
2952 ("glib" ,glib)
2953 ("gnome-icon-theme" ,gnome-icon-theme)
2954 ("libgnomecanvas" ,libgnomecanvas)
2e6ecc5c 2955 ("libxml2" ,libxml2)))
5698b8b8
JD
2956 (native-inputs
2957 `(("intltool" ,intltool)
2958 ("pkg-config" ,pkg-config)))
2959 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2960 (synopsis "Printing framework for GNOME")
eb497b66 2961 (description (package-description libgnomeprint))
5698b8b8
JD
2962 (license license:lgpl2.0+)))
2963
5698b8b8
JD
2964(define-public libbonoboui
2965 (package
2966 (name "libbonoboui")
2967 (version "2.24.5")
2968 (source (origin
2969 (method url-fetch)
b38e45d8
EB
2970 (uri (string-append "mirror://gnome/sources/" name "/"
2971 (version-major+minor version) "/"
2972 name "-" version ".tar.bz2"))
5698b8b8
JD
2973 (sha256
2974 (base32
2975 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2976 (build-system gnu-build-system)
2977 (arguments
2978 `(#:phases
dc1d3cde
KK
2979 (modify-phases %standard-phases
2980 (add-before 'check 'start-xserver
2981 (lambda* (#:key inputs #:allow-other-keys)
2982 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2983 (disp ":1"))
2984
2985 (setenv "HOME" (getcwd))
2986 (setenv "DISPLAY" disp)
2987 ;; There must be a running X server and make check doesn't start one.
2988 ;; Therefore we must do it.
2989 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
5698b8b8
JD
2990 ;; Mentioned as Required by the .pc file
2991 (propagated-inputs `(("libxml2" ,libxml2)))
2992 (inputs
2993 `(("popt" ,popt)
2994 ("pangox-compat" ,pangox-compat)
2995 ("libgnome" ,libgnome)
2996 ("libgnomecanvas" ,libgnomecanvas)
2997 ("libglade" ,libglade)))
2998 (native-inputs
221ed17a
EB
2999 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
3000 ("intltool" ,intltool)
ff337525 3001 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
5698b8b8
JD
3002 ("pkg-config" ,pkg-config)))
3003 (home-page "https://developer.gnome.org/libbonoboui/")
3004 (synopsis "Some user interface controls using Bonobo")
3005 (description "The Bonobo UI library provides a number of user interface
3006controls using the Bonobo component framework.")
3007 (license license:lgpl2.0+)))
3008
fecbf86e
SB
3009(define-public libwnck
3010 (package
3011 (name "libwnck")
d3b40696 3012 (version "3.32.0")
fecbf86e
SB
3013 (source (origin
3014 (method url-fetch)
3015 (uri (string-append "mirror://gnome/sources/" name "/"
3016 (version-major+minor version) "/"
3017 name "-" version ".tar.xz"))
3018 (sha256
ad9b8987 3019 (base32
d3b40696
KK
3020 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
3021 (build-system meson-build-system)
fecbf86e
SB
3022 (native-inputs
3023 `(("pkg-config" ,pkg-config)
d3b40696
KK
3024 ("glib" ,glib "bin") ; for glib-mkenums
3025 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
fecbf86e
SB
3026 ("intltool" ,intltool)))
3027 (propagated-inputs
427476d5
SB
3028 `(("gtk+" ,gtk+)
3029 ("libxres" ,libxres)
3030 ("startup-notification" ,startup-notification)))
fecbf86e
SB
3031 (home-page "https://developer.gnome.org/libwnck/")
3032 (synopsis "Window Navigator Construction Kit")
3033 (description
3034 "Libwnck is the Window Navigator Construction Kit, a library for use in
3035writing pagers, tasklists, and more generally applications that are dealing
3036with window management. It tries hard to respect the Extended Window Manager
3037Hints specification (EWMH).")
3038 (license license:lgpl2.0+)))
3039
3040;; stable version for gtk2, required by xfwm4.
dbb7a081 3041(define-public libwnck-2
fecbf86e
SB
3042 (package (inherit libwnck)
3043 (name "libwnck")
3044 (version "2.30.7")
3045 (source (origin
3046 (method url-fetch)
3047 (uri (string-append "mirror://gnome/sources/" name "/"
3048 (version-major+minor version) "/"
3049 name "-" version ".tar.xz"))
3050 (sha256
3051 (base32
3052 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
ba7fed8e
MÁAV
3053 (build-system gnu-build-system)
3054 (native-inputs
3055 `(("pkg-config" ,pkg-config)
3056 ("intltool" ,intltool)))
fecbf86e 3057 (propagated-inputs
427476d5
SB
3058 `(("gtk+" ,gtk+-2)
3059 ("libxres" ,libxres)
3060 ("startup-notification" ,startup-notification)))))
b804c61e
JD
3061
3062(define-public goffice
3063 (package
3064 (name "goffice")
09abffcc 3065 (version "0.10.46")
b804c61e
JD
3066 (source (origin
3067 (method url-fetch)
16243f0b 3068 (uri (string-append "mirror://gnome/sources/goffice/"
b38e45d8 3069 (version-major+minor version) "/"
16243f0b 3070 "goffice-" version ".tar.xz"))
b804c61e 3071 (sha256
09abffcc 3072 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
b804c61e 3073 (build-system gnu-build-system)
72a06d3e 3074 (outputs '("out"
355420c6 3075 "doc")) ; 4.0 MiB of gtk-doc
72a06d3e
LC
3076 (arguments
3077 '(#:configure-flags (list (string-append "--with-html-dir="
3078 (assoc-ref %outputs "doc")
3079 "/share/gtk-doc/html"))))
b804c61e
JD
3080 (inputs
3081 `(("gtk+" ,gtk+)
3082 ("libgsf" ,libgsf)
3083 ("librsvg" ,librsvg)
3084 ("libxslt" ,libxslt)
3085 ("libxml2" ,libxml2)))
3086 (native-inputs
3087 `(("intltool" ,intltool)
f280cdb1 3088 ("glib" ,glib "bin")
b804c61e
JD
3089 ("pkg-config" ,pkg-config)))
3090 (home-page "https://developer.gnome.org/goffice/")
3091 (synopsis "Document-centric objects and utilities")
3092 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2e6ecc5c 3093 (license
b804c61e
JD
3094 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3095 ;; Note: NOT LGPL
3096 (list license:gpl2 license:gpl3))))
3097
c024ae36
RW
3098(define-public goffice-0.8
3099 (package (inherit goffice)
3100 (version "0.8.17")
3101 (source (origin
3102 (method url-fetch)
3103 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3104 (version-major+minor version) "/"
3105 (package-name goffice) "-" version ".tar.xz"))
3106 (sha256
3107 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3108 (arguments
3109 `(#:phases
dc1d3cde
KK
3110 (modify-phases %standard-phases
3111 (add-after 'unpack 'fix-pcre-check
3112 (lambda _
3113 ;; Only glib.h can be included directly. See
3114 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3115 (substitute* "configure"
3116 (("glib/gregex\\.h") "glib.h")) #t)))
72a06d3e
LC
3117
3118 ,@(package-arguments goffice)))
c024ae36
RW
3119 (propagated-inputs
3120 ;; libgoffice-0.8.pc mentions libgsf-1
3121 `(("libgsf" ,libgsf)))
3122 (inputs
3123 `(("gtk" ,gtk+-2)
3124 ,@(alist-delete "gtk" (package-inputs goffice))))))
3125
b804c61e
JD
3126(define-public gnumeric
3127 (package
3128 (name "gnumeric")
f0517b5d 3129 (version "1.12.46")
b804c61e
JD
3130 (source (origin
3131 (method url-fetch)
b7fd0217 3132 (uri (string-append "mirror://gnome/sources/gnumeric/"
b38e45d8 3133 (version-major+minor version) "/"
b7fd0217 3134 "gnumeric-" version ".tar.xz"))
b804c61e
JD
3135 (sha256
3136 (base32
f0517b5d 3137 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
bd1b1e05 3138 (build-system glib-or-gtk-build-system)
b804c61e
JD
3139 (arguments
3140 `(;; The gnumeric developers don't worry much about failing tests.
3141 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2e6ecc5c 3142 #:tests? #f
b804c61e 3143 #:phases
7bcbd40d
EF
3144 (modify-phases %standard-phases
3145 (add-before
3146 'configure 'pre-conf
3147 (lambda* (#:key outputs #:allow-other-keys)
3148 ;; Make install tries to write into the directory of goffice
3149 ;; I am informed that this only affects the possibility to embed a
3150 ;; spreadsheet inside an Abiword document. So presumably when we
3151 ;; package Abiword we'll have to refer it to this directory.
3152 (substitute* "configure"
3153 (("^GOFFICE_PLUGINS_DIR=.*")
3154 (string-append "GOFFICE_PLUGINS_DIR="
3155 (assoc-ref outputs "out")
3156 "/goffice/plugins"))))))))
b804c61e
JD
3157 (inputs
3158 `(("glib" ,glib)
3159 ("gtk+" ,gtk+)
3160 ("goffice" ,goffice)
3161 ("libgsf" ,libgsf)
7bcbd40d 3162 ("librsvg" ,librsvg)
b804c61e 3163 ("libxml2" ,libxml2)
7bcbd40d 3164 ("libxslt" ,libxslt)
2e4c5457 3165 ("python" ,python-2)
6983ba56 3166 ("python2-pygobject" ,python2-pygobject)
b804c61e
JD
3167 ("zlib" ,zlib)))
3168 (native-inputs
6983ba56 3169 `(("bison" ,bison)
1ed398d1 3170 ("docbook-xml" ,docbook-xml)
6983ba56 3171 ("intltool" ,intltool)
3a2efbc8 3172 ("itstool" ,itstool/fixed) ;see <https://bugs.gnu.org/37468>
b9663471 3173 ("glib:bin" ,glib "bin")
b804c61e
JD
3174 ("pkg-config" ,pkg-config)))
3175 (home-page "http://www.gnumeric.org")
66672a45
LC
3176 (synopsis "Spreadsheet application")
3177 (description
3178 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3179interoperable with other spreadsheet applications. It has a vast array of
3180features beyond typical spreadsheet functionality, such as support for linear
3181and non-linear solvers, statistical analysis, and telecommunication
3182engineering.")
3183 (license
b804c61e
JD
3184 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3185 (list license:gpl2 license:gpl3))))
6f885c05
FB
3186
3187(define-public gnome-themes-standard
3188 (package
3189 (name "gnome-themes-standard")
0b7b8fb0 3190 (version "3.22.3")
6f885c05
FB
3191 (source
3192 (origin
3193 (method url-fetch)
2e6ecc5c 3194 (uri (string-append "mirror://gnome/sources/" name "/"
6f885c05
FB
3195 (version-major+minor version) "/" name "-"
3196 version ".tar.xz"))
3197 (sha256
3198 (base32
0b7b8fb0 3199 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
6f885c05 3200 (build-system gnu-build-system)
8ac70c7f
SB
3201 (arguments
3202 '(#:configure-flags
3203 ;; Don't create 'icon-theme.cache'.
3204 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3205 (true (string-append coreutils "/bin/true")))
3206 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
6f885c05
FB
3207 (inputs
3208 `(("gtk+" ,gtk+)
3209 ("gtk+-2" ,gtk+-2)
3210 ("librsvg" ,librsvg)
3211 ("libxml2" ,libxml2)
3212 ("glib" ,glib)))
3213 (native-inputs
3214 `(("intltool" ,intltool)
3215 ("glib:bin" ,glib "bin")
3216 ("pkg-config" ,pkg-config)))
6f885c05
FB
3217 (home-page "https://launchpad.net/gnome-themes-standard")
3218 (synopsis "Default GNOME 3 themes")
3219 (description
3220 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3221 (license license:lgpl2.1+)))
5a659a48 3222
df90c701
RW
3223(define-public seahorse
3224 (package
3225 (name "seahorse")
bcea3c11 3226 (version "3.32.2")
df90c701
RW
3227 (source
3228 (origin
3229 (method url-fetch)
3230 (uri (string-append "mirror://gnome/sources/" name "/"
3231 (version-major+minor version) "/" name "-"
3232 version ".tar.xz"))
3233 (sha256
3234 (base32
bcea3c11 3235 "0d8zdzmlz7fjv9xl20zl4ckidf465mvdjnbpxy3k08y9iw423q4x"))
af561664
MÁAV
3236 (patches (search-patches
3237 "seahorse-gkr-use-0-on-empty-flags.patch"))))
3238 (build-system meson-build-system)
3239 (arguments
bcea3c11
KK
3240 '(#:glib-or-gtk? #t
3241 #:phases
af561664
MÁAV
3242 (modify-phases %standard-phases
3243 (add-after 'unpack 'skip-gtk-update-icon-cache
3244 ;; Don't create 'icon-theme.cache'.
3245 (lambda _
3246 (substitute* "build-aux/meson_post_install.py"
3247 (("gtk-update-icon-cache") "true"))
3248 #t)))))
df90c701
RW
3249 (inputs
3250 `(("gtk+" ,gtk+)
3251 ("gcr" ,gcr)
34b979b9 3252 ("gnupg" ,gnupg)
df90c701 3253 ("gpgme" ,gpgme)
34b979b9 3254 ("openldap" ,openldap)
4a1bf090 3255 ("openssh" ,openssh)
af561664 3256 ("avahi" ,avahi)
bcea3c11 3257 ("libpwquality" ,libpwquality)
34b979b9
EF
3258 ("libsecret" ,libsecret)
3259 ("libsoup" ,libsoup)))
df90c701 3260 (native-inputs
af561664 3261 `(("gettext" ,gettext-minimal)
df90c701
RW
3262 ("glib:bin" ,glib "bin")
3263 ("itstool" ,itstool)
bcb354ad 3264 ("pkg-config" ,pkg-config)
af561664 3265 ("vala" ,vala)
bcb354ad 3266 ("xmllint" ,libxml2)))
bcea3c11 3267 (home-page "https://wiki.gnome.org/Apps/Seahorse")
df90c701
RW
3268 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3269 (description
3270 "Seahorse is a GNOME application for managing encryption keys and
3271passwords in the GNOME keyring.")
3272 (license license:gpl2+)))
3273
5a659a48
SB
3274(define-public vala
3275 (package
3276 (name "vala")
2d6872f6 3277 (version "0.44.5")
5a659a48
SB
3278 (source (origin
3279 (method url-fetch)
3280 (uri (string-append "mirror://gnome/sources/" name "/"
3281 (version-major+minor version) "/"
3282 name "-" version ".tar.xz"))
3283 (sha256
3284 (base32
2d6872f6 3285 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
5a659a48 3286 (build-system gnu-build-system)
1ea90625
SB
3287 (arguments
3288 '(#:phases
3289 (modify-phases %standard-phases
f4925a4f 3290 (add-before 'check 'pre-check
1ea90625
SB
3291 (lambda _
3292 (setenv "CC" "gcc")
8839b6be
RW
3293 (substitute* "valadoc/tests/testrunner.sh"
3294 (("export PKG_CONFIG_PATH=" m)
3295 (string-append m "$PKG_CONFIG_PATH:")))
f4925a4f
SB
3296 ;; For missing '/etc/machine-id'.
3297 (setenv "DBUS_FATAL_WARNINGS" "0")
8839b6be 3298 #t)))))
5a659a48
SB
3299 (native-inputs
3300 `(("pkg-config" ,pkg-config)
3301 ("flex" ,flex)
3302 ("bison" ,bison)
3303 ("xsltproc" ,libxslt)
3304 ("dbus" ,dbus) ; for dbus tests
3305 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
8839b6be
RW
3306 (inputs
3307 `(("graphviz" ,graphviz)))
5a659a48 3308 (propagated-inputs
8839b6be 3309 `(("glib" ,glib))) ; required by libvala-0.40.pc
f032d0be 3310 (home-page "https://live.gnome.org/Vala/")
5a659a48
SB
3311 (synopsis "Compiler for the GObject type system")
3312 (description
3313 "Vala is a programming language that aims to bring modern programming
3314language features to GNOME developers without imposing any additional runtime
3315requirements and without using a different ABI compared to applications and
3316libraries written in C.")
3317 (license license:lgpl2.1+)))
ea57378f
SB
3318
3319(define-public vte
3320 (package
3321 (name "vte")
68c47474 3322 (version "0.58.3")
ea57378f
SB
3323 (source (origin
3324 (method url-fetch)
ac87ffb8 3325 (uri (string-append "mirror://gnome/sources/vte/"
ea57378f 3326 (version-major+minor version) "/"
ac87ffb8 3327 "vte-" version ".tar.xz"))
ea57378f
SB
3328 (sha256
3329 (base32
68c47474
TGR
3330 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
3331 (build-system meson-build-system)
ea57378f
SB
3332 (native-inputs
3333 `(("pkg-config" ,pkg-config)
3334 ("intltool" ,intltool)
3335 ("vala" ,vala)
3336 ("gobject-introspection" ,gobject-introspection)
68c47474 3337 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
73f0e1ab 3338 ("gperf" ,gperf)
ea57378f
SB
3339 ("xmllint" ,libxml2)))
3340 (propagated-inputs
68c47474
TGR
3341 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3342 ("gnutls" ,gnutls) ; ditto
3343 ("pcre2" ,pcre2))) ; ditto
f032d0be 3344 (home-page "https://www.gnome.org/")
ea57378f
SB
3345 (synopsis "Virtual Terminal Emulator")
3346 (description
3347 "VTE is a library (libvte) implementing a terminal emulator widget for
3348GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3349gnome-terminal, but can also be used to embed a console/terminal in games,
3350editors, IDEs, etc.")
3351 (license license:lgpl2.1+)))
3352
c44fb4df
MO
3353(define-public vte-ng
3354 (package
3355 (inherit vte)
3356 (name "vte-ng")
24f4fcbe 3357 (version "0.58.2.a")
afd90f8d 3358 (home-page "https://github.com/thestinger/vte-ng")
6bc00737
MB
3359 (source (origin
3360 (method git-fetch)
3361 (uri (git-reference (url home-page) (commit version)))
3362 (file-name (git-file-name name version))
3363 (sha256
3364 (base32
24f4fcbe
MB
3365 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3366 (build-system meson-build-system)
c44fb4df
MO
3367 (native-inputs
3368 `(("gtk-doc" ,gtk-doc)
c44fb4df 3369 ,@(package-native-inputs vte)))
c44fb4df 3370 (arguments
24f4fcbe 3371 `(#:configure-flags '("-Ddocs=true")))
c44fb4df
MO
3372 (synopsis "Enhanced VTE terminal widget")
3373 (description
3374 "VTE is a library (libvte) implementing a terminal emulator widget for
3375GTK+, this fork provides additional functions exposed for keyboard text
3376selection and URL hints.")))
3377
2776d72c
EF
3378;; provides vte 2.90, required for some terminal emulators
3379;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3380;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3381;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3382;; pantheon-terminal, roxterm are not currently packaged
3383(define-public vte-0.36
3384 (package (inherit vte)
3385 (name "vte")
3386 (version "0.36.5")
3387 (source (origin
3388 (method url-fetch)
3389 (uri (string-append "mirror://gnome/sources/" name "/"
3390 (version-major+minor version) "/"
3391 name "-" version ".tar.xz"))
3392 (sha256
3393 (base32
3394 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3395 (propagated-inputs
3396 `(("gtk" ,gtk+)
3397 ("ncurses" ,ncurses)))))
3398
ea57378f
SB
3399;; stable version for gtk2, required by xfce4-terminal.
3400(define-public vte/gtk+-2
3401 (package (inherit vte)
3402 (name "vte")
3403 (version "0.28.2")
3404 (source (origin
3405 (method url-fetch)
3406 (uri (string-append "mirror://gnome/sources/" name "/"
3407 (version-major+minor version) "/"
3408 name "-" version ".tar.xz"))
3409 (sha256
3410 (base32
7d48938a
EF
3411 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3412 (patches (search-patches
3413 "vte-CVE-2012-2738-pt1.patch"
3414 "vte-CVE-2012-2738-pt2.patch"))))
8eebde74 3415 (build-system gnu-build-system)
ea57378f
SB
3416 (arguments
3417 '(#:configure-flags '("--disable-python")))
3418 (native-inputs
3419 `(("pkg-config" ,pkg-config)
3420 ("intltool" ,intltool)
3421 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3422 (propagated-inputs
3423 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3424 ("ncurses" ,ncurses))))) ; required by libvte.la
b47e1b20 3425
cce0da5e
TD
3426(define-public vinagre
3427 (package
3428 (name "vinagre")
3429 (version "3.22.0")
3430 (source (origin
3431 (method url-fetch)
3432 (uri (string-append "mirror://gnome/sources/" name "/"
3433 (version-major+minor version) "/"
3434 name "-" version ".tar.xz"))
684f97f8
EF
3435 (patches (search-patches "vinagre-newer-freerdp.patch"
3436 "vinagre-newer-rdp-parameters.patch"))
cce0da5e
TD
3437 (sha256
3438 (base32
3439 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3440 (build-system glib-or-gtk-build-system)
684f97f8 3441 (arguments
7f486d25
MC
3442 ;; Disable -Werror and such, to avoid build failures on compilation
3443 ;; warnings.
3444 '(#:configure-flags '("--enable-compile-warnings=minimum")
3445 #:phases
684f97f8 3446 (modify-phases %standard-phases
1839768c
EF
3447 (add-before 'install 'skip-gtk-update-icon-cache
3448 (lambda _
3449 ;; Don't create 'icon-theme.cache'
3450 (substitute* (find-files "." "^Makefile$")
3451 (("gtk-update-icon-cache") (which "true")))
3452 #t))
684f97f8
EF
3453 (add-after 'unpack 'patch-configure
3454 (lambda _
3455 (substitute* "configure"
3456 (("freerdp") "freerdp2"))
3457 #t)))))
cce0da5e
TD
3458 (native-inputs
3459 `(("pkg-config" ,pkg-config)
3460 ("intltool" ,intltool)
3461 ("itstool" ,itstool)
1839768c 3462 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
cce0da5e
TD
3463 (inputs
3464 `(("libxml2" ,libxml2)
3465 ("gtk-vnc" ,gtk-vnc)
3466 ("gnome-keyring" ,gnome-keyring)
3467 ("libsecret" ,libsecret)
3468 ("freerdp" ,freerdp)
3469 ("spice" ,spice)
3470 ("spice-gtk" ,spice-gtk)
3471 ("telepathy-glib" ,telepathy-glib)
3472 ("vte" ,vte)))
cce0da5e
TD
3473 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3474 (synopsis "Remote desktop viewer for GNOME")
3475 (description "Vinagre is a remote display client supporting the VNC, SPICE
3476and RDP protocols.")
3477 (license license:gpl3+)))
3478
b47e1b20
FB
3479(define-public dconf
3480 (package
3481 (name "dconf")
1e33331c 3482 (version "0.32.0")
b47e1b20
FB
3483 (source (origin
3484 (method url-fetch)
3485 (uri (string-append
2e6ecc5c 3486 "mirror://gnome/sources/" name "/"
b47e1b20
FB
3487 (version-major+minor version) "/"
3488 name "-" version ".tar.xz"))
3489 (sha256
f05c809f 3490 (base32
1e33331c 3491 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
35fa923d 3492 (build-system meson-build-system)
bc036f4c
MB
3493 (propagated-inputs
3494 ;; In Requires of dconf.pc.
3495 `(("glib" ,glib)))
b47e1b20
FB
3496 (inputs
3497 `(("gtk+" ,gtk+)
bc036f4c 3498 ("dbus" ,dbus)))
b47e1b20 3499 (native-inputs
1e33331c
MB
3500 `(("bash-completion" ,bash-completion)
3501 ("libxslt" ,libxslt) ;for xsltproc
bc036f4c 3502 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
b47e1b20
FB
3503 ("docbook-xml" ,docbook-xml-4.2)
3504 ("docbook-xsl" ,docbook-xsl)
35fa923d 3505 ("glib:bin" ,glib "bin")
03676d6f 3506 ("gtk-doc" ,gtk-doc)
35fa923d
MB
3507 ("pkg-config" ,pkg-config)
3508 ("vala" ,vala)))
b47e1b20
FB
3509 (arguments
3510 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3511 ; or /etc/machine-id.
35fa923d
MB
3512 #:glib-or-gtk? #t
3513 #:configure-flags '("-Denable-gtk-doc=true")))
b47e1b20
FB
3514 (home-page "https://developer.gnome.org/dconf")
3515 (synopsis "Low-level GNOME configuration system")
3516 (description "Dconf is a low-level configuration system. Its main purpose
3517is to provide a backend to GSettings on platforms that don't already have
3518configuration storage systems.")
e20e6b40 3519 (license license:lgpl2.1+)))
109da1c0
AE
3520
3521(define-public json-glib
3522 (package
3523 (name "json-glib")
4115e8ea 3524 (version "1.4.4")
109da1c0
AE
3525 (source (origin
3526 (method url-fetch)
3527 (uri (string-append "mirror://gnome/sources/" name "/"
3528 (version-major+minor version) "/"
3529 name "-" version ".tar.xz"))
3530 (sha256
3531 (base32
4115e8ea 3532 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
98afa184 3533 (build-system meson-build-system)
109da1c0 3534 (native-inputs
98afa184
MB
3535 `(("gettext" ,gettext-minimal)
3536 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
3537 ("gobject-introspection" ,gobject-introspection)
3538 ("pkg-config" ,pkg-config)))
3539 (propagated-inputs
88c6b580 3540 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
3541 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3542 (synopsis "Compiler for the GObject type system")
7c125ce0
AK
3543 (description
3544 "JSON-GLib is a C library based on GLib providing serialization and
3545deserialization support for the JavaScript Object Notation (JSON) format
3546described by RFC 4627. It provides parser and generator GObject classes and
3547various wrappers for the complex data types employed by JSON, such as arrays
3548and objects.")
109da1c0 3549 (license license:lgpl2.1+)))
6f96a359
SB
3550
3551(define-public libxklavier
3552 (package
3553 (name "libxklavier")
5f39050b 3554 (version "5.4")
6f96a359 3555 (source (origin
5f39050b 3556 ;; Note: There's no tarball at ftp.gnome.org for this version.
3557 (method git-fetch)
3558 (uri (git-reference
3559 (url "https://anongit.freedesktop.org/git/libxklavier")
3560 (commit (string-append "libxklavier-" version))))
6f96a359
SB
3561 (sha256
3562 (base32
5f39050b 3563 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3564 (file-name (git-file-name name version))))
6f96a359
SB
3565 (build-system gnu-build-system)
3566 (arguments
5f39050b 3567 '(#:phases
3568 (modify-phases %standard-phases
3569 (add-after 'unpack 'no-configure
3570 (lambda* _
3571 (setenv "NOCONFIGURE" "1")
3572 #t)))
3573 #:configure-flags
6f96a359
SB
3574 (list (string-append "--with-xkb-base="
3575 (assoc-ref %build-inputs "xkeyboard-config")
5f39050b 3576 "/share/X11/xkb")
3577 "--disable-xmodmap-support")))
6f96a359
SB
3578 (native-inputs
3579 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3580 ("gobject-introspection" ,gobject-introspection)
5f39050b 3581 ("pkg-config" ,pkg-config)
3582 ("gtk-doc" ,gtk-doc)
3583 ("intltool" ,intltool)
3584 ("which" ,which)
3585 ("autoconf" ,autoconf)
3586 ("automake" ,automake)
3587 ("libtool" ,libtool)))
6f96a359
SB
3588 (propagated-inputs
3589 ;; Required by libxklavier.pc.
3590 `(("glib" ,glib)
3591 ("libxml2" ,libxml2)))
3592 (inputs
3593 `(("iso-codes" ,iso-codes)
3594 ("libxi" ,libxi)
3595 ("libxkbfile" ,libxkbfile)
3596 ("xkbcomp" ,xkbcomp)
3597 ("xkeyboard-config" ,xkeyboard-config)))
57e7d748 3598 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
6f96a359
SB
3599 (synopsis "High-level API for X Keyboard Extension")
3600 (description
3601 "LibXklavier is a library providing high-level API for X Keyboard
e881752c
AK
3602Extension known as XKB. This library is intended to support XFree86 and other
3603commercial X servers. It is useful for creating XKB-related software (layout
6f96a359
SB
3604indicators etc).")
3605 (license license:lgpl2.0+)))
619936a4
LC
3606
3607(define-public python2-rsvg
3608 ;; XXX: This is actually a subset of gnome-python-desktop.
3609 (package
3610 (name "python2-rsvg")
3611 (version "2.32.0")
3612 (source
3613 (origin
3614 (method url-fetch)
3615 (uri (string-append
3616 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3617 version ".tar.bz2"))
3618 (sha256
3619 (base32
3620 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3621 (build-system gnu-build-system)
3622 (native-inputs
3623 `(("pkg-config" ,pkg-config)))
3624 (inputs
3625 `(("python" ,python-2)
3626 ("python2-pygtk" ,python2-pygtk)
3627 ("librsvg" ,librsvg)))
f032d0be 3628 (home-page "https://www.gnome.org")
619936a4
LC
3629 (synopsis "Python bindings to librsvg")
3630 (description
3ad75446 3631 "This package provides Python bindings to librsvg, the SVG rendering
619936a4
LC
3632library.")
3633
3634 ;; This is the license of the rsvg bindings. The license of each module
3635 ;; of gnome-python-desktop is given in 'COPYING'.
3636 (license license:lgpl2.1+)))
a31a6d22 3637
f2ca414a
SB
3638(define-public glib-networking
3639 (package
3640 (name "glib-networking")
0d75c64d 3641 (version "2.60.3")
f2ca414a
SB
3642 (source (origin
3643 (method url-fetch)
3644 (uri (string-append "mirror://gnome/sources/glib-networking/"
3645 (version-major+minor version) "/"
fb8fe1e8 3646 "glib-networking-" version ".tar.xz"))
f2ca414a
SB
3647 (sha256
3648 (base32
0d75c64d 3649 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
65211552 3650 (build-system meson-build-system)
f2ca414a 3651 (arguments
0d75c64d 3652 `(#:configure-flags '("-Dlibproxy_support=false")))
f2ca414a
SB
3653 (native-inputs
3654 `(("pkg-config" ,pkg-config)
3655 ("intltool" ,intltool)))
3656 (inputs
3657 `(("glib" ,glib)
3658 ("gnutls" ,gnutls)
4b8f1313 3659 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
f032d0be 3660 (home-page "https://www.gnome.org")
f2ca414a
SB
3661 (synopsis "Network-related GIO modules")
3662 (description
3663 "This package contains various network related extensions for the GIO
3664library.")
3665 (license license:lgpl2.0+)))
3666
ca649680 3667(define-public rest
4510b2da 3668 (package
ca649680 3669 (name "rest")
a4194d16 3670 (version "0.8.1")
4510b2da
SB
3671 (source (origin
3672 (method url-fetch)
3673 (uri (string-append "mirror://gnome/sources/rest/"
ca649680
SB
3674 (version-major+minor version) "/"
3675 name "-" version ".tar.xz"))
4510b2da
SB
3676 (sha256
3677 (base32
a4194d16 3678 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4510b2da
SB
3679 (build-system gnu-build-system)
3680 (arguments
3681 '(#:tests? #f ; tests require internet connection
3682 #:configure-flags
3683 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3684 (native-inputs
3685 `(("glib-mkenums" ,glib "bin")
3686 ("gobject-introspection" ,gobject-introspection)
3687 ("pkg-config" ,pkg-config)))
3688 (propagated-inputs
3689 ;; rest-0.7.pc refers to all these.
3690 `(("glib" ,glib)
3691 ("libsoup" ,libsoup)
3692 ("libxml2" ,libxml2)))
24d6cc1d 3693 (home-page "https://www.gtk.org/")
4510b2da
SB
3694 (synopsis "RESTful web api query library")
3695 (description
3696 "This library was designed to make it easier to access web services that
3697claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3698libxml to ease remote use of the RESTful API.")
3699 (license license:lgpl2.1+)))
3700
6e1bb642
SB
3701(define-public libsoup
3702 (package
3703 (name "libsoup")
16af0dd9 3704 (version "2.68.4")
6e1bb642
SB
3705 (source (origin
3706 (method url-fetch)
3707 (uri (string-append "mirror://gnome/sources/libsoup/"
3708 (version-major+minor version) "/"
c1b79b36 3709 "libsoup-" version ".tar.xz"))
6e1bb642
SB
3710 (sha256
3711 (base32
16af0dd9 3712 "151j5dc84gbl6a917pxvd0b372lw5za48n63lyv6llfc48lv2l1d"))))
eccaa8bf 3713 (build-system meson-build-system)
6e1bb642
SB
3714 (outputs '("out" "doc"))
3715 (arguments
2deb146f 3716 `(#:modules ((guix build utils)
eccaa8bf 3717 (guix build meson-build-system)
2deb146f
LC
3718 (ice-9 popen))
3719
f8026a79 3720 #:configure-flags '("-Dgtk_doc=true")
6e1bb642
SB
3721 #:phases
3722 (modify-phases %standard-phases
eccaa8bf 3723 (add-after 'unpack 'adjust-tests
26c228f9 3724 (lambda _
eccaa8bf
MB
3725 ;; This test fails due to missing /etc/nsswitch.conf
3726 ;; in the build environment.
26c228f9
LC
3727 (substitute* "tests/socket-test.c"
3728 ((".*/sockets/unconnected.*") ""))
2deb146f 3729
f8026a79
MB
3730 ;; These fail because "subdomain.localhost" does not resolve in
3731 ;; the build environment.
3732 (substitute* "tests/hsts-test.c"
3733 ((".*/hsts/basic.*") "")
3734 ((".*/hsts/subdomains.*") "")
3735 ((".*/hsts/superdomain.*") "")
3736 ((".*/hsts/utf8-address.*") ""))
3737 (substitute* "tests/hsts-db-test.c"
3738 ((".*/hsts-db/subdomains.*") ""))
3739
2deb146f
LC
3740 ;; Generate a self-signed certificate that has "localhost" as its
3741 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3742 ;; 3.5.12, tests such as "ssl-tests" fail:
3743 ;;
3744 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3745 ;;
3746 ;; 'certtool' is interactive so we have to pipe it the answers.
3747 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3748 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3749 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3750 (for-each (lambda (line)
3751 (display line pipe)
3752 (newline pipe))
3753 '("" ;Common name
3754 "" ;UID
3755 "Guix" ;Organizational unit name
3756 "GNU" ;Organization name
3757 "" ;Locality name
3758 "" ;State or province
3759 "" ;Country
3760 "" ;subject's domain component (DC)
3761 "" ;E-mail
3762 "" ;serial number
3763 "-1" ;expiration time
3764 "N" ;belong to authority?
3765 "N" ;web client certificate?
3766 "N" ;IPsec IKE?
3767 "Y" ;web server certificate?
3768 "localhost" ;dnsName of subject
3769 "" ;dnsName of subject (end)
3770 "" ;URI of subject
3771 "127.0.0.1" ;IP address of subject
3772 "" ;signing?
06f5bc4e
MB
3773 "" ;encryption (RSA)?
3774 "" ;data encryption?
2deb146f
LC
3775 "" ;sign OCSP requests?
3776 "" ;sign code?
3777 "" ;time stamping?
3778 "" ;email protection?
3779 "" ;URI of the CRL distribution point
3780 "y" ;above info OK?
3781 ))
3782 (close-pipe pipe))
26c228f9 3783 #t))
eccaa8bf
MB
3784 (add-after 'install 'move-doc
3785 (lambda* (#:key outputs #:allow-other-keys)
3786 (let ((out (assoc-ref outputs "out"))
3787 (doc (assoc-ref outputs "doc")))
3788 (mkdir-p (string-append doc "/share"))
3789 (copy-recursively (string-append out "/share/gtk-doc")
3790 (string-append doc "/share/gtk-doc"))
3791 (delete-file-recursively (string-append out "/share/gtk-doc"))
3792 #t))))))
6e1bb642 3793 (native-inputs
26c228f9 3794 `(("glib:bin" ,glib "bin") ; for glib-mkenums
6e1bb642 3795 ("gobject-introspection" ,gobject-introspection)
eccaa8bf 3796 ("gtk-doc" ,gtk-doc)
6e1bb642
SB
3797 ("intltool" ,intltool)
3798 ("pkg-config" ,pkg-config)
3799 ("python" ,python-wrapper)
fd730590 3800 ("vala" ,vala)
6e1bb642
SB
3801 ;; These are needed for the tests.
3802 ;; FIXME: Add PHP once available.
3803 ("curl" ,curl)
2deb146f 3804 ("gnutls" ,gnutls) ;for 'certtool'
6e1bb642
SB
3805 ("httpd" ,httpd)))
3806 (propagated-inputs
3807 ;; libsoup-2.4.pc refers to all these.
f8026a79
MB
3808 `(("brotli" ,google-brotli)
3809 ("glib" ,glib)
249846bf 3810 ("libpsl" ,libpsl)
eccaa8bf 3811 ("libxml2" ,libxml2)
f8026a79
MB
3812 ("sqlite" ,sqlite)
3813 ("zlib" ,zlib)))
eccaa8bf
MB
3814 (inputs
3815 `(("glib-networking" ,glib-networking)
3816 ("mit-krb5" ,mit-krb5)))
6e1bb642
SB
3817 (home-page "https://live.gnome.org/LibSoup/")
3818 (synopsis "GLib-based HTTP Library")
3819 (description
3820 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3821and the GLib main loop, to integrate well with GNOME applications.")
3822 (license license:lgpl2.0+)))
3823
bba229a3
SB
3824(define-public libsecret
3825 (package
3826 (name "libsecret")
a866dd18 3827 (version "0.20.1")
bba229a3
SB
3828 (source (origin
3829 (method url-fetch)
3830 (uri (string-append
896dcbc7
EF
3831 "mirror://gnome/sources/libsecret/"
3832 (version-major+minor version) "/"
0ada4e29 3833 "libsecret-" version ".tar.xz"))
bba229a3
SB
3834 (sha256
3835 (base32
a866dd18 3836 "0ir4ynpf8b64xss1azvsi5x6697lik7hkf3z0xxa2qv2xja3xxsp"))))
bba229a3
SB
3837 (build-system gnu-build-system)
3838 (outputs '("out" "doc"))
3839 (arguments
3840 `(#:tests? #f ; FIXME: Testing hangs.
bba229a3
SB
3841 #:configure-flags
3842 (list (string-append "--with-html-dir="
3843 (assoc-ref %outputs "doc")
3844 "/share/gtk-doc/html"))))
3845 (native-inputs
c06ef010
MB
3846 `(("gettext" ,gettext-minimal)
3847 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
bba229a3 3848 ("gobject-introspection" ,gobject-introspection)
bba229a3
SB
3849 ("pkg-config" ,pkg-config)
3850 ("vala" ,vala)
3851 ("xsltproc" ,libxslt)))
3852 ;; These are needed for the tests.
3853 ;; FIXME: Add gjs once available.
3854 ;("dbus" ,dbus)
3855 ;("python2" ,python-2)
3856 ;("python2-dbus" ,python2-dbus)
3857 ;("python2-pygobject" ,python2-pygobject)
3858 ;("python2-pygobject-2" ,python2-pygobject-2)))
3859 (propagated-inputs
3860 `(("glib" ,glib))) ; required by libsecret-1.pc
3861 (inputs
3862 `(("docbook-xsl" ,docbook-xsl)
3863 ("libgcrypt" ,libgcrypt)
3864 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3865 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3866 (synopsis "GObject bindings for \"Secret Service\" API")
3867 (description
3868 "Libsecret is a GObject based library for storing and retrieving passwords
3869and other secrets. It communicates with the \"Secret Service\" using DBus.")
3870 (license license:lgpl2.1+)))
3871
b6821ee0 3872(define-public five-or-more
3873 (package
3874 (name "five-or-more")
d9795e93 3875 (version "3.32.0")
b6821ee0 3876 (source
3877 (origin
3878 (method url-fetch)
3879 (uri (string-append "mirror://gnome/sources/" name "/"
3880 (version-major+minor version) "/"
3881 name "-" version ".tar.xz"))
3882 (sha256
3883 (base32
d9795e93
KK
3884 "0v52i22ygv6y4zqs8nyb1qmacmj9whhqrw7qss6vn7by4nsikhrn"))))
3885 (build-system meson-build-system)
3886 (arguments
3887 '(#:glib-or-gtk? #t
3888 #:phases
3889 (modify-phases %standard-phases
3890 (add-after 'unpack 'skip-gtk-update-icon-cache
3891 (lambda _
3892 (substitute* "meson_post_install.py"
3893 (("gtk-update-icon-cache") (which "true")))
3894 #t)))))
b6821ee0 3895 (native-inputs
3896 `(("pkg-config" ,pkg-config)
d9795e93 3897 ("appstream-glib" ,appstream-glib)
b6821ee0 3898 ("desktop-file-utils" ,desktop-file-utils)
d9795e93 3899 ("glib:bin" ,glib "bin") ; for glib-compile-resources
b6821ee0 3900 ("intltool" ,intltool)
3901 ("itstool" ,itstool)
d9795e93 3902 ("vala" ,vala)
b6821ee0 3903 ("xmllint" ,libxml2)))
3904 (inputs
3905 `(("gtk+" ,gtk+)
d9795e93 3906 ("libgnome-games-support" ,libgnome-games-support)
b6821ee0 3907 ("librsvg" ,librsvg)))
3908 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3909 (synopsis "Logic puzzle game")
3910 (description "Five or More is a game where you try to align
3911 five or more objects of the same color and shape causing them to disappear.
3912 On every turn more objects will appear, until the board is full.
3913 Try to last as long as possible.")
3914 (license license:gpl2+)))
3915
a31a6d22
SB
3916(define-public gnome-mines
3917 (package
3918 (name "gnome-mines")
2d817e41 3919 (version "3.32.2")
a31a6d22
SB
3920 (source
3921 (origin
3922 (method url-fetch)
3923 (uri (string-append "mirror://gnome/sources/" name "/"
3924 (version-major+minor version) "/"
3925 name "-" version ".tar.xz"))
3926 (sha256
3927 (base32
2d817e41 3928 "1nv966wkp2rqxzcdb76bwlbzpjqadcaqzrnkxpzwnvjjr167yx8g"))))
8c0fab36 3929 (build-system meson-build-system)
a31a6d22 3930 (arguments
2d817e41
KK
3931 '(#:glib-or-gtk? #t
3932 #:phases
a31a6d22 3933 (modify-phases %standard-phases
2d817e41
KK
3934 (add-after 'unpack 'skip-gtk-update-icon-cache
3935 (lambda _
3936 (substitute* "build-aux/meson_post_install.py"
3937 (("gtk-update-icon-cache") (which "true")))
3938 #t)))))
a31a6d22 3939 (native-inputs
8c0fab36
RW
3940 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3941 ("pkg-config" ,pkg-config)
a31a6d22
SB
3942 ("desktop-file-utils" ,desktop-file-utils)
3943 ("intltool" ,intltool)
bcb354ad 3944 ("itstool" ,itstool)
8c0fab36
RW
3945 ("vala" ,vala)
3946 ("yelp" ,yelp)
3947 ("appstream-glib" ,appstream-glib)))
a31a6d22
SB
3948 (inputs
3949 `(("gtk+" ,gtk+)
73992962 3950 ("libgnome-games-support" ,libgnome-games-support)
a31a6d22
SB
3951 ("librsvg" ,librsvg)))
3952 (home-page "https://wiki.gnome.org/Apps/Mines")
3953 (synopsis "Minesweeper game")
3954 (description
3955 "Mines (previously gnomine) is a puzzle game where you locate mines
3956floating in an ocean using only your brain and a little bit of luck.")
3957 (license license:gpl2+)))
88f70665 3958
dfc407f3
KY
3959(define-public gnome-sudoku
3960 (package
3961 (name "gnome-sudoku")
7dc728c4 3962 (version "3.32.0")
dfc407f3
KY
3963 (source
3964 (origin
3965 (method url-fetch)
3966 (uri (string-append "mirror://gnome/sources/" name "/"
3967 (version-major+minor version) "/"
3968 name "-" version ".tar.xz"))
3969 (sha256
3970 (base32
7dc728c4
KK
3971 "1wwdjflw1lbx3cv6gvqcgp5jnjkrq37ld6mjbjj03g3vr90qaf0l"))))
3972 (build-system meson-build-system)
3973 (arguments
3974 '(#:glib-or-gtk? #t
3975 #:phases
3976 (modify-phases %standard-phases
3977 (add-after 'unpack 'skip-gtk-update-icon-cache
3978 (lambda _
3979 (substitute* "build-aux/post_install.py"
3980 (("gtk-update-icon-cache") (which "true")))
3981 #t)))))
dfc407f3
KY
3982 (native-inputs
3983 `(("pkg-config" ,pkg-config)
3984 ("desktop-file-utils" ,desktop-file-utils)
7dc728c4 3985 ("glib:bin" ,glib "bin") ; for glib-compile-resources
dfc407f3
KY
3986 ("intltool" ,intltool)
3987 ("itstool" ,itstool)
7dc728c4 3988 ("vala" ,vala)
dfc407f3
KY
3989 ("xmllint" ,libxml2)))
3990 (inputs
3991 `(("gtk+" ,gtk+)
3992 ("json-glib" ,json-glib)
3993 ("libgee" ,libgee)
3994 ("librsvg" ,librsvg)
3995 ("qqwing" ,qqwing)))
3996 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3997 (synopsis "Japanese logic game")
3998 (description
3999 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
4000GNOME Sudoku is meant to have an interface as simple and unobstrusive as
4001possible while still providing features that make playing difficult Sudoku
4002more fun.")
4003 (license license:gpl2+)))
4004
88f70665
AW
4005(define-public gnome-terminal
4006 (package
4007 (name "gnome-terminal")
7dee3942 4008 (version "3.32.2")
88f70665
AW
4009 (source
4010 (origin
4011 (method url-fetch)
4012 (uri (string-append "mirror://gnome/sources/" name "/"
4013 (version-major+minor version) "/"
4014 name "-" version ".tar.xz"))
4015 (sha256
4016 (base32
7dee3942 4017 "0shhpnagasyp1kxgjczfrivcxbgrrl3y8lzvp1z101m67h4jp6km"))))
88f70665
AW
4018 (build-system glib-or-gtk-build-system)
4019 (arguments
4020 '(#:configure-flags
4021 (list "--disable-migration" "--disable-search-provider"
4022 "--without-nautilus-extension")
4023 #:phases
4024 (modify-phases %standard-phases
3a4de6b2 4025 (add-before 'configure 'patch-/bin/true
88f70665
AW
4026 (lambda _
4027 (substitute* "configure"
4028 (("/bin/true") (which "true"))))))))
4029 (native-inputs
4030 `(("pkg-config" ,pkg-config)
4031 ("desktop-file-utils" ,desktop-file-utils)
4032 ("intltool" ,intltool)
bcb354ad
SB
4033 ("itstool" ,itstool)
4034 ("xmllint" ,libxml2)))
68702167
MW
4035 (propagated-inputs
4036 `(("dconf" ,dconf)))
88f70665
AW
4037 (inputs
4038 `(("gtk+" ,gtk+)
4039 ("vte" ,vte)
4040 ("gnutls" ,gnutls)
88f70665
AW
4041 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4042 ("util-linux" ,util-linux)
4043 ("vala" ,vala)))
4044 (home-page "https://wiki.gnome.org/Apps/Terminal")
4045 (synopsis "Terminal emulator")
4046 (description
4047 "GNOME Terminal is a terminal emulator application for accessing a
4048UNIX shell environment which can be used to run programs available on
4049your system.
4050
4051It supports several profiles, multiple tabs and implements several
4052keyboard shortcuts.")
4053 (license license:gpl3+)))
75016d07
AW
4054
4055(define-public colord
4056 (package
4057 (name "colord")
f98be942 4058 (version "1.4.4")
75016d07
AW
4059 (source
4060 (origin
4061 (method url-fetch)
5cc3096c 4062 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
d21778aa 4063 "colord-" version ".tar.xz"))
75016d07 4064 (sha256
f98be942 4065 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
a68544a8 4066 (build-system meson-build-system)
75016d07 4067 (arguments
a68544a8
RW
4068 '(;; FIXME: One test fails:
4069 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
4070 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
4071 ;; application/x-zerosize
75016d07 4072 #:tests? #f
a68544a8
RW
4073 #:glib-or-gtk? #t
4074 #:configure-flags (list "-Dlocalstatedir=/var"
75016d07 4075 ;; No dep on systemd.
a68544a8 4076 "-Dsystemd=false"
75016d07
AW
4077 ;; Wants to install to global completion dir;
4078 ;; punt.
a68544a8 4079 "-Dbash_completion=false"
a68544a8
RW
4080 "-Ddaemon_user=colord"
4081 "-Dsane=true"
dac26e22 4082 "-Dvapi=true"
6f20e2dc 4083 ;; Requires spotread.
a68544a8 4084 "-Dargyllcms_sensor=false"
6f20e2dc 4085 ;; TODO: Requires docbook2x.
a68544a8 4086 "-Dman=false")
75016d07
AW
4087 #:phases
4088 (modify-phases %standard-phases
a68544a8
RW
4089 (add-before 'configure 'patch-build-system
4090 (lambda* (#:key outputs #:allow-other-keys)
4091 (substitute* "rules/meson.build"
4092 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4093 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
2a1f3e3f
LC
4094 #t))
4095 (add-before 'configure 'set-sqlite3-file-name
4096 (lambda* (#:key inputs #:allow-other-keys)
4097 ;; "colormgr dump" works by invoking the "sqlite3" command.
4098 ;; Record its absolute file name.
4099 (let ((sqlite (assoc-ref inputs "sqlite")))
4100 (substitute* "client/cd-util.c"
4101 (("\"sqlite3\"")
4102 (string-append "\"" sqlite "/bin/sqlite3\"")))
4103 #t))))))
75016d07 4104 (native-inputs
6f20e2dc 4105 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
2536027c 4106 ("gettext" ,gettext-minimal)
75016d07 4107 ("gobject-introspection" ,gobject-introspection)
a68544a8 4108 ("gtk-doc" ,gtk-doc)
dac26e22
TGR
4109 ("pkg-config" ,pkg-config)
4110 ("vala" ,vala)))
65cb2d61
SB
4111 (propagated-inputs
4112 ;; colord.pc refers to all these.
4113 `(("glib" ,glib)
6f20e2dc
TGR
4114 ("lcms" ,lcms)
4115 ("udev" ,eudev)))
75016d07 4116 (inputs
65cb2d61 4117 `(("dbus-glib" ,dbus-glib)
a68544a8 4118 ("gusb" ,gusb)
80c7dd1a 4119 ("libgudev" ,libgudev)
75016d07 4120 ("libusb" ,libusb)
75016d07 4121 ("polkit" ,polkit)
a68544a8 4122 ("python" ,python-wrapper)
6f20e2dc 4123 ("sqlite" ,sqlite)
4c928743 4124 ("sane-backends" ,sane-backends)))
57e7d748 4125 (home-page "https://www.freedesktop.org/software/colord/")
75016d07
AW
4126 (synopsis "Color management service")
4127 (description "Colord is a system service that makes it easy to manage,
4128install and generate color profiles to accurately color manage input and
4129output devices.")
4130 (license license:gpl2+)))
7b2abd00
AW
4131
4132(define-public geoclue
4133 (package
4134 (name "geoclue")
50e96d25 4135 (version "2.5.5")
7b2abd00
AW
4136 (source
4137 (origin
4138 (method url-fetch)
50e96d25
MB
4139 (uri
4140 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4141 version "/geoclue-" version ".tar.bz2"))
7b2abd00
AW
4142 (sha256
4143 (base32
50e96d25 4144 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
fc1adab1 4145 (patches (search-patches "geoclue-config.patch"))))
50e96d25 4146 (build-system meson-build-system)
7b2abd00 4147 (arguments
50e96d25 4148 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
7b2abd00
AW
4149 (native-inputs
4150 `(("pkg-config" ,pkg-config)
758798a9 4151 ("gobject-introspection" ,gobject-introspection)
50e96d25
MB
4152 ("modem-manager" ,modem-manager)
4153 ("libnotify" ,libnotify)
4154 ("gtk-doc", gtk-doc)
7b2abd00
AW
4155 ("intltool" ,intltool)))
4156 (inputs
54e911bc 4157 `(("avahi" ,avahi)
50e96d25
MB
4158 ("glib:bin" ,glib "bin")
4159 ("glib-networking" ,glib-networking)
7b2abd00
AW
4160 ("json-glib" ,json-glib)
4161 ("libsoup" ,libsoup)))
50e96d25 4162 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
7b2abd00
AW
4163 (synopsis "Geolocation service")
4164 (description "Geoclue is a D-Bus service that provides location
4165information. The primary goal of the Geoclue project is to make creating
4166location-aware applications as simple as possible, while the secondary goal is
4167to ensure that no application can access location information without explicit
e881752c 4168permission from user.")
7b2abd00 4169 (license license:gpl2+)))
2bfe7437
AW
4170
4171(define-public geocode-glib
4172 (package
4173 (name "geocode-glib")
65de725f 4174 (version "3.26.1")
2bfe7437
AW
4175 (source (origin
4176 (method url-fetch)
4177 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4178 (version-major+minor version) "/"
d485cdc0 4179 "geocode-glib-" version ".tar.xz"))
2bfe7437
AW
4180 (sha256
4181 (base32
65de725f 4182 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
a7dd0c02 4183 (build-system meson-build-system)
2bfe7437 4184 (arguments
a7dd0c02
RW
4185 `(#:phases
4186 (modify-phases %standard-phases
4187 ;; The tests require a bunch of locales.
4188 (add-before 'check 'set-locales
4189 (lambda* (#:key inputs #:allow-other-keys)
4190 (setenv "GUIX_LOCPATH"
4191 (string-append (assoc-ref inputs "glibc-locales")
4192 "/lib/locale"))
4193 #t)))))
2bfe7437
AW
4194 (native-inputs
4195 `(("glib:bin" ,glib "bin") ; for glib-mkenums
a7dd0c02
RW
4196 ("glibc-locales" ,glibc-locales) ; for tests
4197 ("gettext" ,gettext-minimal)
2bfe7437 4198 ("gobject-introspection" ,gobject-introspection)
a7dd0c02 4199 ("gtk-doc" ,gtk-doc)
2bfe7437
AW
4200 ("pkg-config" ,pkg-config)
4201 ("json-glib" ,json-glib)))
4202 (propagated-inputs
4203 ;; geocode-glib-1.0.pc refers to GIO.
4204 `(("glib" ,glib)))
4205 (inputs
4206 `(("libsoup" ,libsoup)))
4207 (home-page "https://github.com/GNOME/geocode-glib/")
4208 (synopsis "Geocoding and reverse-geocoding library")
4209 (description
4210 "geocode-glib is a convenience library for geocoding (finding longitude,
4211and latitude from an address) and reverse geocoding (finding an address from
4212coordinates) using the Nominatim service. geocode-glib caches requests for
4213faster results and to avoid unnecessary server load.")
4214 (license license:lgpl2.0+)))
a1d5bb0e
AW
4215
4216(define-public upower
4217 (package
4218 (name "upower")
df45af90 4219 (version "0.99.11")
a1d5bb0e
AW
4220 (source (origin
4221 (method url-fetch)
df45af90 4222 (uri (string-append "https://upower.freedesktop.org/releases/"
9ec54965 4223 "upower-" version ".tar.xz"))
a1d5bb0e
AW
4224 (sha256
4225 (base32
df45af90 4226 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5dc6d5ce
LC
4227 (patches (search-patches "upower-builddir.patch"))
4228 (modules '((guix build utils)))
4229 (snippet
4230 '(begin
4231 ;; Upstream commit
4232 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4233 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4234 ;; 'dbus-configuration-directory' in (gnu services dbus)
4235 ;; expects it in etc/. Thus, move it back to its previous
4236 ;; location.
4237 (substitute* "src/Makefile.in"
4238 (("^dbusconfdir =.*$")
4239 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4240 #t))))
a1d5bb0e
AW
4241 (build-system glib-or-gtk-build-system)
4242 (arguments
4243 '( ;; The tests want to contact the system bus, which can't be done in the
4244 ;; build environment. The integration test can run, but the last of
4245 ;; the up-self-tests doesn't. Disable tests for now.
4246 #:tests? #f
4247 #:configure-flags (list "--localstatedir=/var"
4248 (string-append "--with-udevrulesdir="
4249 (assoc-ref %outputs "out")
9ec54965 4250 "/lib/udev/rules.d"))))
a1d5bb0e 4251 (native-inputs
ebeabe2d
SB
4252 `(("gobject-introspection" ,gobject-introspection)
4253 ("pkg-config" ,pkg-config)
a1d5bb0e 4254 ("intltool" ,intltool)
55409295
LC
4255 ("python" ,python)
4256
4257 ;; For man pages.
4258 ("libxslt" ,libxslt) ;for 'xsltproc'
4259 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4260 ("docbook-xsl" ,docbook-xsl)))
a1d5bb0e 4261 (inputs
ea226291
SB
4262 `(("dbus-glib" ,dbus-glib)
4263 ("libgudev" ,libgudev)
a1d5bb0e 4264 ("libusb" ,libusb)))
d7a503fc
MB
4265 (propagated-inputs
4266 ;; In Requires of upower-glib.pc.
4267 `(("glib" ,glib)))
57e7d748 4268 (home-page "https://upower.freedesktop.org/")
a1d5bb0e
AW
4269 (synopsis "System daemon for managing power devices")
4270 (description
4271 "UPower is an abstraction for enumerating power devices,
4272listening to device events and querying history and statistics. Any
4273application or service on the system can access the org.freedesktop.UPower
4274service via the system message bus.")
4275 (license license:gpl2+)))
6a180f6f
AW
4276
4277(define-public libgweather
4278 (package
4279 (name "libgweather")
794ce8ea 4280 (version "3.28.3")
6a180f6f
AW
4281 (source (origin
4282 (method url-fetch)
4283 (uri (string-append "mirror://gnome/sources/" name "/"
4284 (version-major+minor version) "/"
4285 name "-" version ".tar.xz"))
4286 (sha256
4287 (base32
794ce8ea 4288 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
cf6cbc34 4289 (build-system meson-build-system)
6a180f6f 4290 (arguments
cf6cbc34
RW
4291 `(#:tests? #f ; one of two tests requires network access
4292 #:configure-flags
4293 `(,(string-append "-Dzoneinfo_dir="
b6072e6b 4294 (assoc-ref %build-inputs "tzdata")
cf6cbc34 4295 "/share/zoneinfo"))))
6a180f6f
AW
4296 (native-inputs
4297 `(("glib:bin" ,glib "bin") ; for glib-mkenums
b6072e6b 4298 ("gobject-introspection" ,gobject-introspection)
6a180f6f 4299 ("pkg-config" ,pkg-config)
1d3fcf94 4300 ("vala" ,vala)
6a180f6f
AW
4301 ("intltool" ,intltool)))
4302 (propagated-inputs
4303 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4304 ;; libsoup.
4305 `(("gtk+" ,gtk+)
4306 ("gdk-pixbuf" ,gdk-pixbuf)
4307 ("libxml2" ,libxml2)
cf6cbc34 4308 ("libsoup" ,libsoup)
6a180f6f 4309 ("geocode-glib" ,geocode-glib)))
cf6cbc34
RW
4310 (inputs
4311 `(("tzdata" ,tzdata)))
6a180f6f
AW
4312 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4313 (synopsis "Location, time zone, and weather library for GNOME")
4314 (description
4315 "libgweather is a library to access weather information from online
4316services for numerous locations.")
4317 (license license:gpl2+)))
23a22af6
AW
4318
4319(define-public gnome-settings-daemon
4320 (package
4321 (name "gnome-settings-daemon")
4be0719f 4322 (version "3.32.1")
23a22af6
AW
4323 (source
4324 (origin
4325 (method url-fetch)
4326 (uri (string-append "mirror://gnome/sources/" name "/"
4327 (version-major+minor version) "/"
4328 name "-" version ".tar.xz"))
4329 (sha256
4330 (base32
4be0719f 4331 "02d0s0g2mmqfib44r3sf0499r08p61s8l2ndsjssbam1bi7x2dks"))))
e644f9fa 4332 (build-system meson-build-system)
23a22af6 4333 (arguments
e644f9fa
RW
4334 `(#:glib-or-gtk? #t
4335 #:configure-flags
4336 (list (string-append "-Dudev_dir="
4337 (assoc-ref %outputs "out")
4d0e085b
RW
4338 "/lib/udev/rules.d/")
4339 ;; Otherwise, the RUNPATH will lack the final path component.
4340 (string-append "-Dc_link_args=-Wl,-rpath="
4341 (assoc-ref %outputs "out")
4342 "/lib/gnome-settings-daemon-3.0"))
e644f9fa 4343 ;; Color management test can't reach the colord system service.
23a22af6
AW
4344 #:tests? #f))
4345 (native-inputs
e644f9fa
RW
4346 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4347 ("pkg-config" ,pkg-config)
23a22af6
AW
4348 ("intltool" ,intltool)
4349 ("xsltproc" ,libxslt)
4350 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4351 ("docbook-xml" ,docbook-xml-4.2)
4352 ("docbook-xsl" ,docbook-xsl)))
4353 (inputs
e644f9fa
RW
4354 `(("alsa-lib" ,alsa-lib)
4355 ("colord" ,colord)
ea226291 4356 ("libgudev" ,libgudev)
23a22af6
AW
4357 ("upower" ,upower)
4358 ("polkit" ,polkit)
4359 ("pulseaudio" ,pulseaudio)
4360 ("libcanberra" ,libcanberra)
4361 ("libx11" ,libx11)
4362 ("libxtst" ,libxtst)
4363 ("lcms" ,lcms)
4364 ("libnotify" ,libnotify)
4365 ("geoclue" ,geoclue)
4366 ("geocode-glib" ,geocode-glib)
4367 ("libgweather" ,libgweather)
4368 ("gnome-desktop" ,gnome-desktop)
4369 ("nss" ,nss)
4370 ("cups" ,cups)
ec2b1921
AW
4371 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4372 ("libwacom" ,libwacom)
4373 ("librsvg" ,librsvg)
eee7878f 4374 ("xf86-input-wacom" ,xf86-input-wacom)
e644f9fa 4375 ("wayland" ,wayland)
eee7878f 4376 ("network-manager" ,network-manager)))
f032d0be 4377 (home-page "https://www.gnome.org")
23a22af6
AW
4378 (synopsis "GNOME settings daemon")
4379 (description
4380 "This package contains the daemon responsible for setting the various
4381parameters of a GNOME session and the applications that run under it. It
4382handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4383settings, themes, mouse settings, and startup of other daemons.")
4384 (license license:gpl2+)))
1e7464a9
DH
4385
4386(define-public totem-pl-parser
4387 (package
4388 (name "totem-pl-parser")
77425f04 4389 (version "3.26.3")
1e7464a9
DH
4390 (source (origin
4391 (method url-fetch)
e980cbe9
MW
4392 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4393 (version-major+minor version) "/"
1e7464a9
DH
4394 "totem-pl-parser-" version ".tar.xz"))
4395 (sha256
4396 (base32
77425f04 4397 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
1e9b19dd 4398 (build-system meson-build-system)
1e7464a9
DH
4399 (arguments
4400 ;; FIXME: Tests require gvfs.
4401 `(#:tests? #f))
4402 (native-inputs
4403 `(("intltool" ,intltool)
4404 ("glib" ,glib "bin")
4d6d8281 4405 ("gobject-introspection" ,gobject-introspection)
1e7464a9 4406 ("pkg-config" ,pkg-config)))
22a6ad6a 4407 (propagated-inputs
1e7464a9
DH
4408 `(("glib" ,glib)
4409 ("gmime" ,gmime)
1e9b19dd
RW
4410 ("libarchive" ,libarchive)
4411 ("libgcrypt" ,libgcrypt)
22a6ad6a
MW
4412 ("libxml2" ,libxml2)))
4413 (inputs
0a6e9e13 4414 `(("libsoup" ,libsoup)))
1e7464a9
DH
4415 (home-page "https://projects.gnome.org/totem")
4416 (synopsis "Library to parse and save media playlists for GNOME")
4417 (description "Totem-pl-parser is a GObjects-based library to parse and save
4418playlists in a variety of formats.")
4419 (license license:lgpl2.0+)))
4420
6b888eff
SB
4421(define-public aisleriot
4422 (package
4423 (name "aisleriot")
36ed9b46 4424 (version "3.22.9")
6b888eff
SB
4425 (source (origin
4426 (method url-fetch)
e43f622a 4427 (uri (string-append "mirror://gnome/sources/aisleriot/"
6b888eff 4428 (version-major+minor version) "/"
e43f622a 4429 "aisleriot-" version ".tar.xz"))
6b888eff
SB
4430 (sha256
4431 (base32
36ed9b46 4432 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
6b888eff
SB
4433 (build-system glib-or-gtk-build-system)
4434 (arguments
4435 '(#:configure-flags
4436 '("--with-platform=gtk-only"
4437 "--with-card-theme-formats=svg")))
4438 (native-inputs
4439 `(("desktop-file-utils" ,desktop-file-utils)
4440 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4441 ("intltool" ,intltool)
4442 ("itstool" ,itstool)
4443 ("pkg-config" ,pkg-config)
4444 ("xmllint" ,libxml2)))
4445 (inputs
4446 `(("gtk+" ,gtk+)
226e57d6 4447 ("guile" ,guile-2.2)
6b888eff
SB
4448 ("libcanberra" ,libcanberra)
4449 ("librsvg" ,librsvg)))
4450 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4451 (synopsis "Solitaire card games")
4452 (description
4453 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4454which are easy to play with the aid of a mouse.")
4455 (license license:gpl3+)))
4a79e256 4456
f828d05b
KK
4457(define-public amtk
4458 (package
4459 (name "amtk")
0e08ca14 4460 (version "5.0.2")
f828d05b
KK
4461 (source (origin
4462 (method url-fetch)
bf92ba6b 4463 (uri (string-append "mirror://gnome/sources/amtk/"
f828d05b 4464 (version-major+minor version) "/"
bf92ba6b 4465 "amtk-" version ".tar.xz"))
f828d05b
KK
4466 (sha256
4467 (base32
0e08ca14 4468 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
f828d05b
KK
4469 (build-system gnu-build-system)
4470 (arguments
4471 '(#:configure-flags '("--enable-gtk-doc")))
4472 (native-inputs
4473 `(("gobject-introspection" ,gobject-introspection)
09c4e43f 4474 ("glib:bin" ,glib "bin") ; for glib-mkenums
f828d05b
KK
4475 ("gtk-doc" ,gtk-doc)
4476 ("pkg-config" ,pkg-config)))
4477 (inputs
4478 `(("glib" ,glib)
4479 ("gtk+" ,gtk+)))
4480 (home-page "https://wiki.gnome.org/Projects/Amtk")
4481 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4482 (description
4483 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4484It is a basic GtkUIManager replacement based on GAction. It is suitable for
4485both a traditional UI or a modern UI with a GtkHeaderBar.")
4486 (license license:lgpl2.1+)))
4487
4a79e256
SB
4488(define-public devhelp
4489 (package
4490 (name "devhelp")
20db7a3d 4491 (version "3.32.0")
4a79e256
SB
4492 (source (origin
4493 (method url-fetch)
4494 (uri (string-append "mirror://gnome/sources/" name "/"
4495 (version-major+minor version) "/"
4496 name "-" version ".tar.xz"))
4497 (sha256
4498 (base32
20db7a3d 4499 "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq"))))
11d28bd9 4500 (build-system meson-build-system)
35407f94 4501 (arguments
20db7a3d
KK
4502 '(#:glib-or-gtk? #t
4503 #:phases
35407f94
EF
4504 (modify-phases %standard-phases
4505 (add-after 'unpack 'skip-gtk-update-icon-cache
4506 ;; Don't create 'icon-theme.cache'.
4507 (lambda _
4508 (substitute* "meson_post_install.py"
4509 (("gtk-update-icon-cache") "true"))
4510 #t)))))
4a79e256
SB
4511 (native-inputs
4512 `(("intltool" ,intltool)
5dd12afc 4513 ("itstool" ,itstool)
11d28bd9
KK
4514 ("gobject-introspection" ,gobject-introspection)
4515 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4a79e256
SB
4516 ("pkg-config" ,pkg-config)))
4517 (inputs
11d28bd9
KK
4518 `(("amtk" ,amtk)
4519 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4a79e256
SB
4520 ("webkitgtk" ,webkitgtk)))
4521 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4522 (synopsis "API documentation browser for GNOME")
4523 (description
4524 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4525natively with GTK-Doc (the API reference system developed for GTK+ and used
4526throughout GNOME for API documentation).")
4527 (license license:gpl2+)))
ba421ab7
MW
4528
4529(define-public cogl
4530 (package
4531 (name "cogl")
54c69ae1 4532 (version "1.22.4")
ba421ab7
MW
4533 (source
4534 (origin
4535 (method url-fetch)
5754f0cf 4536 (uri (string-append "mirror://gnome/sources/cogl/"
ba421ab7 4537 (version-major+minor version) "/"
5754f0cf 4538 "cogl-" version ".tar.xz"))
ba421ab7 4539 (sha256
54c69ae1 4540 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
a88d5a0c
MW
4541 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4542 ;; cogl, corresponding changes may be appropriate in mutter as well.
ba421ab7
MW
4543 (build-system gnu-build-system)
4544 (native-inputs
4545 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4546 ("gobject-introspection" ,gobject-introspection)
4547 ;;("xorg-server" ,xorg-server) ; for the test suite
4548 ("pkg-config" ,pkg-config)))
4549 (propagated-inputs
4550 `(("glib" ,glib)
4551 ("gdk-pixbuf" ,gdk-pixbuf)
4552 ("libx11" ,libx11)
4553 ("libxext" ,libxext)
4554 ("libxfixes" ,libxfixes)
4555 ("libxdamage" ,libxdamage)
4556 ("libxcomposite" ,libxcomposite)
4557 ("libxrandr" ,libxrandr)))
4558 (inputs
4559 `(("mesa" ,mesa)
4560 ("cairo" ,cairo)
4561 ("pango" ,pango)
4562 ("gstreamer" ,gstreamer)
31860852
KK
4563 ("gst-plugins-base" ,gst-plugins-base)
4564 ("wayland" ,wayland)))
ba421ab7
MW
4565 (arguments
4566 `(#:configure-flags (list "--enable-cogl-gst"
31860852
KK
4567 "--enable-wayland-egl-platform"
4568 "--enable-wayland-egl-server"
4569
ba421ab7
MW
4570 ;; Arrange to pass an absolute file name to
4571 ;; dlopen for libGL.so.
4572 (string-append "--with-gl-libname="
4573 (assoc-ref %build-inputs "mesa")
4574 "/lib/libGL.so"))
4575 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4576 ;; _FontTransOpen: Unable to Parse address
4577 ;; ${prefix}/share/fonts/X11/misc/
4578 #:tests? #f
4579 #; #:phases
4580 #;
4581 (modify-phases %standard-phases
4582 (add-before 'check 'start-xorg-server
4583 (lambda* (#:key inputs #:allow-other-keys)
4584 ;; The test suite requires a running X server.
4585 (system (format #f "~a/bin/Xvfb :1 &"
4586 (assoc-ref inputs "xorg-server")))
4587 (setenv "DISPLAY" ":1")
4588 #t)))))
89b49245 4589 (home-page "https://www.cogl3d.org")
ba421ab7
MW
4590 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4591 (description
4592 "Cogl is a small library for using 3D graphics hardware to draw pretty
4593pictures. The API departs from the flat state machine style of OpenGL and is
4594designed to make it easy to write orthogonal components that can render
4595without stepping on each others toes.")
4596 (license (list license:expat ; most of the code
4597 license:bsd-3 ; cogl/cogl-point-in-poly.c
4598 license:sgifreeb2.0 ; cogl-path/tesselator/
4599 license:asl2.0)))) ; examples/android/
fb182b8a
MW
4600
4601(define-public clutter
4602 (package
4603 (name "clutter")
6a88e4ee 4604 (version "1.26.2")
fb182b8a
MW
4605 (source
4606 (origin
4607 (method url-fetch)
4608 (uri (string-append "mirror://gnome/sources/" name "/"
4609 (version-major+minor version) "/"
4610 name "-" version ".tar.xz"))
4611 (sha256
4612 (base32
6a88e4ee 4613 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
a88d5a0c
MW
4614 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4615 ;; to clutter, corresponding changes may be appropriate in mutter as well.
fb182b8a 4616 (build-system gnu-build-system)
600233bd
LC
4617 (outputs '("out"
4618 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
4619 (native-inputs
4620 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4621 ("gobject-introspection" ,gobject-introspection)
4622 ("pkg-config" ,pkg-config)
4623 ("xsltproc" ,libxslt)))
4624 (propagated-inputs
4625 `(("cogl" ,cogl)
4626 ("cairo" ,cairo)
4627 ("atk" ,atk)
4628 ("gtk+" ,gtk+)
4629 ("json-glib" ,json-glib)
4630 ("glib" ,glib)
4631 ("libxcomposite" ,libxcomposite)
4632 ("libxdamage" ,libxdamage)
4633 ("libxext" ,libxext)
4634 ("xinput" ,xinput)))
4635 (inputs
4636 `(("libxkbcommon" ,libxkbcommon)
4637 ("udev" ,eudev)))
4638 (arguments
600233bd
LC
4639 `(#:configure-flags (list "--enable-x11-backend=yes"
4640
4641 ;; This produces share/doc/{clutter,cally}.
4642 (string-append "--with-html-dir="
4643 (assoc-ref %outputs "doc")
4644 "/share/doc"))
fb182b8a
MW
4645 ;; XXX FIXME: Get test suite working. It would probably fail in the
4646 ;; same way the cogl tests fail, since clutter is based on cogl.
4647 #:tests? #f))
4648 (home-page "http://www.clutter-project.org")
476af713 4649 (synopsis "OpenGL-based interactive canvas library")
fb182b8a 4650 (description
476af713 4651 "Clutter is an OpenGL-based interactive canvas library, designed for
fb182b8a
MW
4652creating fast, mainly 2D single window applications such as media box UIs,
4653presentations, kiosk style applications and so on.")
4654 (license license:lgpl2.0+)))
bf7f17ba
MW
4655
4656(define-public clutter-gtk
4657 (package
4658 (name "clutter-gtk")
5d1a3219 4659 (version "1.8.4")
bf7f17ba
MW
4660 (source
4661 (origin
4662 (method url-fetch)
4663 (uri (string-append "mirror://gnome/sources/" name "/"
4664 (version-major+minor version) "/"
4665 name "-" version ".tar.xz"))
4666 (sha256
4667 (base32
5d1a3219 4668 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
bf7f17ba
MW
4669 (build-system gnu-build-system)
4670 (native-inputs
4671 `(("pkg-config" ,pkg-config)
4672 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
4673 (propagated-inputs
4674 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
4675 `(("clutter" ,clutter)
4676 ("gtk+" ,gtk+)))
4677 (home-page "http://www.clutter-project.org")
476af713 4678 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
bf7f17ba 4679 (description
476af713 4680 "Clutter is an OpenGL-based interactive canvas library, designed for
bf7f17ba
MW
4681creating fast, mainly 2D single window applications such as media box UIs,
4682presentations, kiosk style applications and so on.")
4683 (license license:lgpl2.0+)))
86d6a893
MW
4684
4685(define-public clutter-gst
4686 (package
4687 (name "clutter-gst")
ba07ac19 4688 (version "3.0.27")
86d6a893
MW
4689 (source
4690 (origin
4691 (method url-fetch)
f010f89b 4692 (uri (string-append "mirror://gnome/sources/clutter-gst/"
86d6a893 4693 (version-major+minor version) "/"
f010f89b 4694 "clutter-gst-" version ".tar.xz"))
86d6a893 4695 (sha256
ba07ac19 4696 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
86d6a893
MW
4697 (build-system gnu-build-system)
4698 (native-inputs
ba07ac19 4699 `(("glib:bin" ,glib "bin") ; for glib-mkenums
86d6a893
MW
4700 ("pkg-config" ,pkg-config)
4701 ("gobject-introspection" ,gobject-introspection)))
4702 (inputs
4703 `(("clutter" ,clutter)
4704 ("gstreamer" ,gstreamer)
4705 ("gst-plugins-base" ,gst-plugins-base)))
4706 (home-page "http://www.clutter-project.org")
4707 (synopsis "Integration library for using GStreamer with Clutter")
4708 (description
4709 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4710It provides a GStreamer sink to upload frames to GL and an actor that
476af713
TGR
4711implements the ClutterGstPlayer interface using playbin. Clutter is an
4712OpenGL-based interactive canvas library.")
86d6a893 4713 (license license:lgpl2.0+)))
607a04ae 4714
30dc88d9
LC
4715(define-public libchamplain
4716 (package
4717 (name "libchamplain")
5564b2c5 4718 (version "0.12.16")
30dc88d9
LC
4719 (source (origin
4720 (method url-fetch)
4721 (uri (string-append
4722 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4723 version ".tar.xz"))
4724 (sha256
4725 (base32
5564b2c5 4726 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
30dc88d9 4727 (build-system gnu-build-system)
f7c6833f
LF
4728 (arguments '(#:configure-flags '("--enable-vala")))
4729 (native-inputs
4730 `(("gobject-introspection" ,gobject-introspection)
4731 ("pkg-config" ,pkg-config)
4732 ("vala" ,vala)))
30dc88d9
LC
4733 (propagated-inputs
4734 `(("libsoup" ,libsoup)
4735 ("sqlite" ,sqlite)
4736 ("clutter" ,clutter)
4737 ("clutter-gtk" ,clutter-gtk)
4738 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4739 ("cairo" ,cairo)
4740 ("gtk+3" ,gtk+)
4741 ("glib" ,glib)))
f032d0be 4742 (home-page "https://projects.gnome.org/libchamplain/")
30dc88d9
LC
4743 (synopsis "C library providing a ClutterActor to display maps")
4744 (description
4745 "libchamplain is a C library providing a ClutterActor to display maps.
4746It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4747and Perl bindings are also available. It supports numerous free map sources
4748such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4749 (license license:lgpl2.1+)))
4750
607a04ae
MW
4751(define-public gom
4752 (package
4753 (name "gom")
0510440b 4754 (version "0.3.2")
607a04ae
MW
4755 (source
4756 (origin
4757 (method url-fetch)
6c8a0b6f 4758 (uri (string-append "mirror://gnome/sources/gom/"
607a04ae 4759 (version-major+minor version) "/"
6c8a0b6f 4760 "gom-" version ".tar.xz"))
607a04ae
MW
4761 (sha256
4762 (base32
0510440b 4763 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
607a04ae
MW
4764 (build-system gnu-build-system)
4765 (native-inputs
4766 `(("intltool" ,intltool)
4767 ("pkg-config" ,pkg-config)
4768 ("gobject-introspection" ,gobject-introspection)))
4769 (inputs
4770 `(("glib" ,glib)
4771 ("gdk-pixbuf" ,gdk-pixbuf)
4772 ("sqlite" ,sqlite)))
4773 ;; XXX TODO: Figure out how to run the test suite.
4774 (arguments `(#:tests? #f))
4775 (home-page "https://wiki.gnome.org/Projects/Gom")
4776 (synopsis "Object mapper from GObjects to SQLite")
4777 (description
4778 "Gom provides an object mapper from GObjects to SQLite. It helps you
4779write applications that need to store structured data as well as make complex
4780queries upon that data.")
4781 (license license:lgpl2.1+)))
b7a3cf11 4782
865aacc9 4783(define-public libgnome-games-support
f09520db 4784 (package
865aacc9 4785 (name "libgnome-games-support")
4c6d15cf 4786 (version "1.4.4")
f09520db
SB
4787 (source (origin
4788 (method url-fetch)
2d8dca9d 4789 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
f09520db 4790 (version-major+minor version) "/"
2d8dca9d 4791 "libgnome-games-support-" version ".tar.xz"))
f09520db
SB
4792 (sha256
4793 (base32
4c6d15cf 4794 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
f09520db
SB
4795 (build-system gnu-build-system)
4796 (arguments
4797 '(#:phases
4798 (modify-phases %standard-phases
4799 (add-before 'check 'pre-check
4800 (lambda _
865aacc9 4801 ;; Tests require a writable HOME.
f09520db
SB
4802 (setenv "HOME" (getcwd))
4803 #t)))))
4804 (native-inputs
4805 `(("intltool" ,intltool)
4806 ("pkg-config" ,pkg-config)
4807 ("vala" ,vala)))
4808 (propagated-inputs
865aacc9 4809 ;; Required by libgnome-games-support-1.0.pc
f09520db
SB
4810 `(("gtk+" ,gtk+)
4811 ("libgee" ,libgee)))
4812 (home-page "https://www.gnome.org/")
4813 (synopsis "Useful functionality shared among GNOME games")
4814 (description
865aacc9 4815 "libgnome-games-support is a small library intended for internal use by
f09520db
SB
4816GNOME Games, but it may be used by others.")
4817 (license license:lgpl3+)))
4818
b7a3cf11
SB
4819(define-public gnome-klotski
4820 (package
4821 (name "gnome-klotski")
c1e419c4 4822 (version "3.32.0")
b7a3cf11
SB
4823 (source (origin
4824 (method url-fetch)
4825 (uri (string-append "mirror://gnome/sources/" name "/"
4826 (version-major+minor version) "/"
4827 name "-" version ".tar.xz"))
4828 (sha256
4829 (base32
c1e419c4
KK
4830 "1p4s15gxj6gasix22z9vlx2yrx196fvcxr6v6qrl569idfgjbi72"))))
4831 (build-system meson-build-system)
4832 (arguments
4833 '(#:glib-or-gtk? #t
4834 #:phases
4835 (modify-phases %standard-phases
4836 (add-after 'unpack 'skip-gtk-update-icon-cache
4837 ;; Don't create 'icon-theme.cache'.
4838 (lambda _
4839 (substitute* "build-aux/meson_post_install.py"
4840 (("gtk-update-icon-cache") (which "true")))
4841 #t)))))
b7a3cf11
SB
4842 (native-inputs
4843 `(("desktop-file-utils" ,desktop-file-utils)
c1e419c4 4844 ("glib:bin" ,glib "bin") ; for glib-compile-resources
b7a3cf11
SB
4845 ("intltool" ,intltool)
4846 ("itstool" ,itstool)
bcb354ad 4847 ("pkg-config" ,pkg-config)
c1e419c4 4848 ("vala" ,vala)
bcb354ad 4849 ("xmllint" ,libxml2)))
b7a3cf11
SB
4850 (inputs
4851 `(("gtk+" ,gtk+)
f4eae76f 4852 ("libgnome-games-support" ,libgnome-games-support)
b7a3cf11
SB
4853 ("librsvg" ,librsvg)))
4854 (home-page "https://wiki.gnome.org/Apps/Klotski")
4855 (synopsis "Sliding block puzzles")
4856 (description
4857 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4858the patterned block to the area bordered by green markers. To do so, you will
4859need to slide other blocks out of the way. Complete each puzzle in as few moves
4860as possible!")
4861 (license license:gpl2+)))
8d4791bf
MW
4862
4863(define-public grilo
4864 (package
4865 (name "grilo")
a865e938 4866 (version "0.3.10")
8d4791bf
MW
4867 (source
4868 (origin
4869 (method url-fetch)
4870 (uri (string-append "mirror://gnome/sources/" name "/"
4871 (version-major+minor version) "/"
4872 name "-" version ".tar.xz"))
4873 (sha256
4874 (base32
a865e938 4875 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
d48d4c98 4876 (build-system meson-build-system)
8d4791bf
MW
4877 (native-inputs
4878 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4879 ("intltool" ,intltool)
4880 ("pkg-config" ,pkg-config)
d48d4c98
KK
4881 ("gobject-introspection" ,gobject-introspection)
4882 ("gtk-doc" ,gtk-doc)
4883 ("vala" ,vala)))
8d4791bf 4884 (inputs
6d7273a0
KK
4885 `(("cyrus-sasl" ,cyrus-sasl)
4886 ("glib" ,glib)
8d4791bf
MW
4887 ("gtk+" ,gtk+)
4888 ("libxml2" ,libxml2)
6d7273a0 4889 ("liboauth" ,liboauth)
8d4791bf
MW
4890 ("libsoup" ,libsoup)
4891 ("totem-pl-parser" ,totem-pl-parser)))
8d4791bf
MW
4892 (native-search-paths
4893 (list (search-path-specification
4894 (variable "GRL_PLUGIN_PATH")
4895 (files (list (string-append "lib/grilo-"
4896 (version-major+minor version)))))))
d48d4c98 4897 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
8d4791bf
MW
4898 (synopsis "Framework for discovering and browsing media")
4899 (description
4900 "Grilo is a framework focused on making media discovery and browsing easy
4901for application developers.")
4902 (license license:lgpl2.1+)))
7b212526
MW
4903
4904(define-public grilo-plugins
4905 (package
4906 (name "grilo-plugins")
281f6b3a 4907 (version "0.3.10")
7b212526
MW
4908 (source
4909 (origin
4910 (method url-fetch)
4911 (uri (string-append "mirror://gnome/sources/" name "/"
4912 (version-major+minor version) "/"
4913 name "-" version ".tar.xz"))
4914 (sha256
4915 (base32
281f6b3a
RG
4916 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4917 (build-system meson-build-system)
7b212526 4918 (native-inputs
281f6b3a
RG
4919 `(("gettext" ,gettext-minimal)
4920 ("glib:bin" ,glib "bin")
4921 ("gtk+:bin" ,gtk+ "bin")
7b212526
MW
4922 ("itstool" ,itstool)
4923 ("pkg-config" ,pkg-config)))
281f6b3a 4924 ;; TODO: ahavi, gstreamer
7b212526
MW
4925 (inputs
4926 `(("grilo" ,grilo)
281f6b3a
RG
4927 ;("gmime" ,gmime) ; unused
4928 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7b212526 4929 ("gom" ,gom)
281f6b3a
RG
4930 ;("gssdp" ,gssdp) ; unused
4931 ;("gupnp" ,gupnp) ; unused
4932 ;("gupnp-av" ,gupnp-av) ; unused
7b212526
MW
4933 ("json-glib" ,json-glib)
4934 ("avahi" ,avahi)
281f6b3a
RG
4935 ("libgdata" ,libgdata)
4936 ("libmediaart" ,libmediaart)
4937 ;("librest" ,rest) ; unused
7b212526 4938 ("libsoup" ,libsoup)
281f6b3a
RG
4939 ("totam-pl-parser" ,totem-pl-parser)
4940 ("tracker" ,tracker))) ; unused because it's too old
7b212526 4941 (arguments
281f6b3a
RG
4942 `(#:glib-or-gtk? #t
4943 ;;Disable lua-factory as it needs missing dependencies
4944 #:configure-flags '("-Denable-lua-factory=no")))
f032d0be 4945 (home-page "https://live.gnome.org/Grilo")
7b212526
MW
4946 (synopsis "Plugins for the Grilo media discovery library")
4947 (description
4948 "Grilo is a framework focused on making media discovery and browsing easy
281f6b3a
RG
4949for application developers. This package provides plugins for common media
4950discovery protocols.")
7b212526 4951 (license license:lgpl2.1+)))
4e3fc547
MW
4952
4953(define-public totem
4954 (package
4955 (name "totem")
995ef5ea 4956 (version "3.32.1")
4e3fc547
MW
4957 (source
4958 (origin
4959 (method url-fetch)
4960 (uri (string-append "mirror://gnome/sources/" name "/"
4961 (version-major+minor version) "/"
4962 name "-" version ".tar.xz"))
4963 (sha256
4964 (base32
995ef5ea 4965 "0yra8apc7smpwf7d1k8crhrm8d4wix24ds6i9yxbch1v11jnhr3v"))))
7ad81b8b 4966 (build-system meson-build-system)
4e3fc547
MW
4967 (native-inputs
4968 `(("pkg-config" ,pkg-config)
4969 ("desktop-file-utils" ,desktop-file-utils)
4970 ("gobject-introspection" ,gobject-introspection)
7ad81b8b 4971 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4e3fc547 4972 ("intltool" ,intltool)
bcb354ad 4973 ("itstool" ,itstool)
995ef5ea
KK
4974 ("xmllint" ,libxml2)
4975 ("python-pylint" ,python-pylint)
4976 ("xorg-server" ,xorg-server-for-tests)))
4e3fc547
MW
4977 (propagated-inputs
4978 `(("dconf" ,dconf)))
4979 (inputs
4980 `(("gtk+" ,gtk+)
4981 ("gdk-pixbuf" ,gdk-pixbuf)
4982 ("atk" ,atk)
4983 ("cairo" ,cairo)
4984 ("dbus-glib" ,dbus-glib)
4985 ("clutter" ,clutter)
4986 ("clutter-gtk" ,clutter-gtk)
4987 ("clutter-gst" ,clutter-gst)
6a6db57f 4988 ("xorgproto" ,xorgproto)
4e3fc547
MW
4989 ("libxxf86vm" ,libxxf86vm)
4990 ("libxtst" ,libxtst)
4991 ("libxrandr" ,libxrandr)
4992 ("libxml2" ,libxml2)
4993 ("libsoup" ,libsoup)
4994 ("libpeas" ,libpeas)
4995 ("librsvg" ,librsvg)
4996 ("lirc" ,lirc)
4997 ("gnome-desktop" ,gnome-desktop)
4998 ("gstreamer" ,gstreamer)
4999 ("gst-plugins-base" ,gst-plugins-base)
5000 ("gst-plugins-good" ,gst-plugins-good)
5001 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5002 ("adwaita-icon-theme" ,adwaita-icon-theme)
d7b63ba9 5003 ("python" ,python)
995ef5ea 5004 ("python-pygobject" ,python-pygobject)
4e3fc547
MW
5005 ("totem-pl-parser" ,totem-pl-parser)
5006 ("grilo" ,grilo)
5007 ("grilo-plugins" ,grilo-plugins)
4e3fc547
MW
5008 ("vala" ,vala)))
5009 (arguments
7ad81b8b
LC
5010 `(#:glib-or-gtk? #t
5011
5012 ;; Disable automatic GStreamer plugin installation via PackageKit and
ec5c24f9 5013 ;; all that.
7ad81b8b 5014 #:configure-flags '("-D" "enable-easy-codec-installation=no"
a388c951
LC
5015
5016 ;; Do not build .a files for the plugins, it's
5017 ;; completely useless. This saves 2 MiB.
7ad81b8b 5018 "--default-library" "shared")
ec5c24f9 5019 #:phases
4e3fc547 5020 (modify-phases %standard-phases
d51b19ad
EF
5021 (add-after 'unpack 'skip-gtk-update-icon-cache
5022 ;; Don't create 'icon-theme.cache'.
5023 (lambda _
5024 (substitute* "meson_post_install.py"
5025 (("gtk-update-icon-cache") "true"))
5026 #t))
6368eb39
DM
5027 (add-before
5028 'install 'disable-cache-generation
5029 (lambda _
5030 (setenv "DESTDIR" "/")
5031 #t))
995ef5ea
KK
5032 (add-before
5033 'check 'pre-check
5034 (lambda _
5035 ;; Tests require a running X server.
5036 (system "Xvfb :1 &")
5037 (setenv "DISPLAY" ":1")
5038 #t))
4e3fc547
MW
5039 (add-after
5040 'install 'wrap-totem
5041 (lambda* (#:key inputs outputs #:allow-other-keys)
5042 (let ((out (assoc-ref outputs "out"))
5043 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5044 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
5045 (wrap-program (string-append out "/bin/totem")
5046 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
39c853bd
AW
5047 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
5048 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
5049 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4e3fc547
MW
5050 #t)))))
5051 (home-page "https://wiki.gnome.org/Apps/Videos")
5052 (synopsis "Simple media player for GNOME based on GStreamer")
5053 (description "Totem is a simple yet featureful media player for GNOME
5054which can read a large number of file formats.")
5055 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
5056 ;; to be used and distributed together with GStreamer and Totem. See
5057 ;; file://COPYING in the source distribution for details.
5058 (license license:gpl2+)))
f0afb0c8
DH
5059
5060(define-public rhythmbox
5061 (package
5062 (name "rhythmbox")
eda580c0 5063 (version "3.4.4")
f0afb0c8
DH
5064 (source (origin
5065 (method url-fetch)
2588693d 5066 (uri (string-append "mirror://gnome/sources/rhythmbox/"
f0afb0c8 5067 (version-major+minor version) "/"
2588693d 5068 "rhythmbox-" version ".tar.xz"))
f0afb0c8
DH
5069 (sha256
5070 (base32
eda580c0 5071 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
f0afb0c8
DH
5072 (build-system glib-or-gtk-build-system)
5073 (arguments
5074 `(#:configure-flags
5075 (list "--enable-lirc"
5076 "--enable-python"
5077 "--enable-vala"
5078 "--with-brasero"
5079 "--with-gudev"
5080 "--with-libsecret")
5081 #:phases
5082 (modify-phases %standard-phases
5083 (add-after
5084 'install 'wrap-rhythmbox
5085 (lambda* (#:key inputs outputs #:allow-other-keys)
5086 (let ((out (assoc-ref outputs "out"))
5087 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5088 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
349cef58
TGR
5089 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5090 (python-path (getenv "PYTHONPATH")))
f0afb0c8
DH
5091 (wrap-program (string-append out "/bin/rhythmbox")
5092 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5093 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
349cef58
TGR
5094 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5095 `("PYTHONPATH" ":" prefix (,python-path))))
f0afb0c8
DH
5096 #t)))))
5097 (propagated-inputs
5098 `(("dconf" ,dconf)))
5099 (native-inputs
bcb354ad
SB
5100 `(("itstool" ,itstool)
5101 ("intltool" ,intltool)
f0afb0c8
DH
5102 ("glib" ,glib "bin")
5103 ("gobject-introspection" ,gobject-introspection)
5104 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
5105 ("pkg-config" ,pkg-config)
5106 ("xmllint" ,libxml2)))
f0afb0c8
DH
5107 (inputs
5108 `(("json-glib" ,json-glib)
5109 ("tdb" ,tdb)
5110 ("gnome-desktop" ,gnome-desktop)
5111 ("python" ,python)
5112 ("python-pygobject" ,python2-pygobject)
5113 ("vala" ,vala)
5114 ("gmime" ,gmime)
f0afb0c8
DH
5115 ("adwaita-icon-theme" ,adwaita-icon-theme)
5116 ("grilo" ,grilo)
5117 ("grilo-plugins" ,grilo-plugins)
5118 ("gstreamer" ,gstreamer)
5119 ("gst-plugins-base" ,gst-plugins-base)
5120 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 5121 ("totem-pl-parser" ,totem-pl-parser)
ea226291 5122 ("libgudev" ,libgudev)
f0afb0c8
DH
5123 ;;("libmtp" ,libmtp) FIXME: Not detected
5124 ("libsecret" ,libsecret)
5125 ("libsoup" ,libsoup)
5126 ("libnotify" ,libnotify)
5127 ("libpeas" ,libpeas)
5128 ("lirc" ,lirc)
5129 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5130 ;;("clutter" ,clutter)
5131 ;;("clutter-gtk" ,clutter-gtk)
5132 ;;("clutter-gst" ,clutter-gst)
5133 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5134 ("atk" ,atk)
5135 ("pango" ,pango)
5136 ("gtk+" ,gtk+)
5137 ;; TODO:
5138 ;; * libgpod
5139 ;; * mx
f0afb0c8
DH
5140 ("brasero" ,brasero)))
5141 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5142 (synopsis "Music player for GNOME")
5143 (description "Rhythmbox is a music playing application for GNOME. It
5144supports playlists, song ratings, and any codecs installed through gstreamer.")
5145 (license license:gpl2+)))
f70d8383
DH
5146
5147(define-public eog
5148 (package
5149 (name "eog")
b0f24a82 5150 (version "3.32.2")
f70d8383
DH
5151 (source (origin
5152 (method url-fetch)
5153 (uri (string-append "mirror://gnome/sources/" name "/"
5154 (version-major+minor version) "/"
5155 name "-" version ".tar.xz"))
5156 (sha256
5157 (base32
b0f24a82 5158 "1bcxpqgzlk2cy4wfb3b5h66mhpj2fhrk1rrb5qqcv5xrr62ik5xy"))))
61fb581f 5159 (build-system meson-build-system)
f70d8383 5160 (arguments
34c44a34
RW
5161 `(#:configure-flags
5162 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5163 (list (string-append "-Dc_link_args=-Wl,-rpath="
5164 (assoc-ref %outputs "out") "/lib/eog"))
5165 #:phases
f70d8383 5166 (modify-phases %standard-phases
7a034665
EF
5167 (add-after 'unpack 'skip-gtk-update-icon-cache
5168 ;; Don't create 'icon-theme.cache'.
5169 (lambda _
5170 (substitute* "meson_post_install.py"
5171 (("gtk-update-icon-cache") "true"))
5172 #t))
61fb581f
RW
5173 (add-after 'install 'wrap-eog
5174 (lambda* (#:key outputs #:allow-other-keys)
5175 (let ((out (assoc-ref outputs "out"))
5176 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5177 (wrap-program (string-append out "/bin/eog")
5178 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5179 #t)))))
f70d8383
DH
5180 (propagated-inputs
5181 `(("dconf" ,dconf)))
5182 (native-inputs
5183 `(("intltool" ,intltool)
b3546174 5184 ("itstool" ,itstool)
f70d8383
DH
5185 ("glib" ,glib "bin")
5186 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
5187 ("pkg-config" ,pkg-config)
5188 ("xmllint" ,libxml2)))
f70d8383
DH
5189 (inputs
5190 `(("gnome-desktop" ,gnome-desktop)
5191 ("shared-mime-info" ,shared-mime-info)
5192 ("adwaita-icon-theme" ,adwaita-icon-theme)
5193 ("exempi" ,exempi)
5194 ("lcms" ,lcms)
5195 ("libexif" ,libexif)
5196 ("libpeas" ,libpeas)
5197 ("libjpeg" ,libjpeg)
5198 ("librsvg" ,librsvg)
5199 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5200 ("gtk+" ,gtk+)))
5201 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5202 (synopsis "GNOME image viewer")
5203 (description "Eye of GNOME is the GNOME image viewer. It
5204supports image conversion, rotation, and slideshows.")
5205 (license license:gpl2+)))
41af5e7b 5206
0c3f8cb8
LC
5207(define-public eog-plugins
5208 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5209 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5210 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5211 ;; 'XDG_DATA_DIRS' appropriately set.
5212 (package
5213 (name "eog-plugins")
54b74cc6 5214 (version "3.26.4")
0c3f8cb8
LC
5215 (source (origin
5216 (method url-fetch)
f3b88ed2 5217 (uri (string-append "mirror://gnome/sources/eog-plugins/"
0c3f8cb8 5218 (version-major+minor version) "/"
f3b88ed2 5219 "eog-plugins-" version ".tar.xz"))
0c3f8cb8
LC
5220 (sha256
5221 (base32
54b74cc6 5222 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
0c3f8cb8
LC
5223 (build-system gnu-build-system)
5224 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5225 (synopsis "Extensions for the Eye of GNOME image viewer")
5226 (native-inputs
5227 `(("pkg-config" ,pkg-config)
5228 ("gettext" ,gnu-gettext)))
5229 (inputs
5230 `(("eog" ,eog)
5231 ("glib" ,glib)
5232 ("gtk+" ,gtk+)
5233 ("libpeas" ,libpeas)
5234 ("libexif" ,libexif)
5235 ("libchamplain" ,libchamplain)))
5236 (description
5237 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5238notably:
5239
5240@itemize
5241@item @dfn{EXIF Display}, which displays camera (EXIF) information;
5242@item @dfn{Map}, which displays a map of where the picture was taken on the
5243side panel;
5244@item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5245@end itemize\n")
5246
5247 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5248 ;; long suspicious byte stream that goes to a
5249 ;; ".gresource.eog_postasa_plugin" ELF section.
5250 (license license:gpl2+)))
5251
41af5e7b
SB
5252(define-public libgudev
5253 (package
5254 (name "libgudev")
b78f5118 5255 (version "232")
41af5e7b
SB
5256 (source (origin
5257 (method url-fetch)
5258 (uri (string-append "mirror://gnome/sources/" name "/"
5259 version "/" name "-" version ".tar.xz"))
5260 (sha256
5261 (base32
b78f5118 5262 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
41af5e7b 5263 (build-system gnu-build-system)
b78f5118
RW
5264 (arguments
5265 '(#:configure-flags
5266 ;; umockdev depends on libgudev.
5267 (list "--disable-umockdev")))
41af5e7b
SB
5268 (native-inputs
5269 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5270 ("gobject-introspection" ,gobject-introspection)
5271 ("pkg-config" ,pkg-config)))
5272 (propagated-inputs
5273 `(("glib" ,glib))) ; required by gudev-1.0.pc
5274 (inputs
5275 `(("udev" ,eudev)))
5276 (home-page "https://wiki.gnome.org/Projects/libgudev")
5277 (synopsis "GObject bindings for libudev")
5278 (description
5279 "This library provides GObject bindings for libudev. It was originally
5280part of udev-extras, then udev, then systemd. It's now a project on its own.")
5281 (license license:lgpl2.1+)))
3dc8828f
SB
5282
5283(define-public gvfs
5284 (package
5285 (name "gvfs")
12fe4846 5286 (version "1.40.1")
3dc8828f
SB
5287 (source (origin
5288 (method url-fetch)
1d68eb32 5289 (uri (string-append "mirror://gnome/sources/gvfs/"
3dc8828f 5290 (version-major+minor version) "/"
1d68eb32 5291 "gvfs-" version ".tar.xz"))
3dc8828f
SB
5292 (sha256
5293 (base32
12fe4846 5294 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
e762d943 5295 (build-system meson-build-system)
3dc8828f 5296 (arguments
e762d943
RW
5297 '(#:glib-or-gtk? #t
5298 #:configure-flags
5299 (list "-Dsystemduserunitdir=no"
5300 "-Dtmpfilesdir=no"
5301 ;; Otherwise, the RUNPATH will lack the final path component.
5302 (string-append "-Dc_link_args=-Wl,-rpath="
5303 (assoc-ref %outputs "out") "/lib/gvfs"))))
3dc8828f
SB
5304 (native-inputs
5305 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
0ab9f949
RW
5306 ("gettext" ,gettext-minimal)
5307 ("gtk-doc" ,gtk-doc)
3dc8828f
SB
5308 ("pkg-config" ,pkg-config)
5309 ("xsltproc" ,libxslt)))
5310 (inputs
5311 `(("avahi" ,avahi)
5312 ("docbook-xml" ,docbook-xml-4.2)
5313 ("docbook-xsl" ,docbook-xsl)
5314 ("dbus" ,dbus)
e762d943 5315 ("elogind" ,elogind)
3dc8828f 5316 ("fuse" ,fuse)
24a78aa6 5317 ("gcr" ,gcr)
3dc8828f 5318 ("glib" ,glib)
e762d943 5319 ("gnome-online-accounts" ,gnome-online-accounts)
3dc8828f
SB
5320 ("libarchive" ,libarchive)
5321 ("libbluray" ,libbluray)
8852ca24 5322 ("libcap" ,libcap)
3dc8828f
SB
5323 ("libcdio-paranoia" ,libcdio-paranoia)
5324 ("libgcrypt" ,libgcrypt)
e762d943 5325 ("libgdata" ,libgdata)
3dc8828f
SB
5326 ("libgphoto2" ,libgphoto2)
5327 ("libgudev" ,libgudev)
0ab9f949 5328 ("libimobiledevice" ,libimobiledevice)
3dc8828f 5329 ("libmtp" ,libmtp)
e762d943 5330 ("libnfs" ,libnfs)
3dc8828f
SB
5331 ("libsecret" ,libsecret)
5332 ("libsmbclient" ,samba)
5333 ("libsoup" ,libsoup)
5334 ("libxml2" ,libxml2)
e762d943 5335 ("openssh" ,openssh)
8852ca24 5336 ("polkit" ,polkit)
3dc8828f
SB
5337 ("udisks" ,udisks)))
5338 (home-page "https://wiki.gnome.org/gvfs/")
8f65585b 5339 (synopsis "Userspace virtual file system for GIO")
3dc8828f 5340 (description
8f65585b 5341 "GVFS is a userspace virtual file system designed to work with the I/O
3dc8828f
SB
5342abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5343to all applications using the GIO API. It also supports exposing the GVFS
5344mounts to non-GIO applications using FUSE.
5345
5346GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5347DAV, and others.")
5348 (license license:lgpl2.0+)))
7c88b6bd
AW
5349
5350(define-public gusb
5351 (package
5352 (name "gusb")
536b3274 5353 (version "0.3.0")
7c88b6bd 5354 (source (origin
bbfb36f9
EF
5355 (method git-fetch)
5356 (uri (git-reference
5357 (url "https://github.com/hughsie/libgusb.git")
5358 (commit version)))
5359 (file-name (git-file-name name version))
7c88b6bd
AW
5360 (sha256
5361 (base32
bbfb36f9 5362 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
536b3274 5363 (build-system meson-build-system)
7c88b6bd 5364 (native-inputs
536b3274 5365 `(("gobject-introspection" ,gobject-introspection)
7c88b6bd
AW
5366 ("pkg-config" ,pkg-config)
5367 ("vala" ,vala)
7c88b6bd
AW
5368 ("gtk-doc" ,gtk-doc)))
5369 (propagated-inputs
5370 ;; Both of these are required by gusb.pc.
5371 `(("glib" ,glib)
5372 ("libusb" ,libusb)))
5373 (arguments
536b3274 5374 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
8f1640ed 5375 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 5376 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
5377 (description
5378 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5379asynchronous control, bulk and interrupt transfers with proper cancellation
5380and integration into a mainloop. This makes it easy to integrate low level
5381USB transfers with your high-level application or system daemon.")
5382 (license license:lgpl2.1+)))
0abe1d86
AW
5383
5384(define-public simple-scan
5385 (package
5386 (name "simple-scan")
fe6cfa99 5387 (version "3.36.0")
d9f6d587
TGR
5388 (source
5389 (origin
5390 (method url-fetch)
5391 (uri (string-append "mirror://gnome/sources/simple-scan/"
5392 (version-major+minor version) "/"
5393 "simple-scan-" version ".tar.xz"))
5394 (sha256
fe6cfa99 5395 (base32 "198l3yhqhb2wzfdcgi8fzbwycr0njn44583dazz6wy1gqbiqnzgm"))))
d9f6d587
TGR
5396 (build-system meson-build-system)
5397 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5398 (arguments
5399 '(#:glib-or-gtk? #t))
0abe1d86
AW
5400 (inputs
5401 `(("gtk" ,gtk+)
5402 ("zlib" ,zlib)
5403 ("cairo" ,cairo)
c501f592 5404 ("colord" ,colord)
0abe1d86
AW
5405 ("gdk-pixbuf" ,gdk-pixbuf)
5406 ("gusb" ,gusb)
4c928743 5407 ("libsane" ,sane-backends)))
0abe1d86 5408 (native-inputs
b94a6ca0 5409 `(("gettext" ,gettext-minimal)
0abe1d86 5410 ("itstool" ,itstool)
c501f592 5411 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
0abe1d86 5412 ("pkg-config" ,pkg-config)
bcb354ad
SB
5413 ("vala" ,vala)
5414 ("xmllint" ,libxml2)))
dff0eedb 5415 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
0abe1d86 5416 (synopsis "Document and image scanner")
d9f6d587
TGR
5417 (description
5418 "Document Scanner is an easy-to-use application that lets you connect your
5419scanner and quickly capture images and documents in an appropriate format. It
5420supports any scanner for which a suitable SANE driver is available, which is
5421almost all of them.")
0abe1d86 5422 (license license:gpl3+)))
7549f984 5423
ab466d79
RW
5424(define-public eolie
5425 (package
5426 (name "eolie")
ed783404 5427 (version "0.9.98.1")
ab466d79
RW
5428 (source (origin
5429 (method url-fetch)
ed783404
RW
5430 (uri (string-append "https://adishatz.org/eolie/eolie-"
5431 version ".tar.xz"))
ab466d79
RW
5432 (sha256
5433 (base32
ed783404 5434 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
00014781 5435 (build-system meson-build-system)
ab466d79 5436 (arguments
00014781
RW
5437 `(#:glib-or-gtk? #t
5438 #:phases
ab466d79 5439 (modify-phases %standard-phases
f0c68100
EF
5440 (add-after 'unpack 'skip-gtk-update-icon-cache
5441 ;; Don't create 'icon-theme.cache'.
5442 (lambda _
5443 (substitute* "meson_post_install.py"
5444 (("gtk-update-icon-cache") "true"))
5445 #t))
ab466d79
RW
5446 (add-after 'wrap 'wrap-more
5447 (lambda* (#:key inputs outputs #:allow-other-keys)
5448 (let* ((out (assoc-ref outputs "out"))
5449 ;; These libraries must be on LD_LIBRARY_PATH.
5450 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5451 "atk" "gtk+" "gsettings-desktop-schemas"
5452 "gobject-introspection"))
5453 (path (string-join
5454 (map (lambda (lib)
5455 (string-append (assoc-ref inputs lib) "/lib"))
5456 libs)
5457 ":")))
5458 (wrap-program (string-append out "/bin/eolie")
5459 `("LD_LIBRARY_PATH" ":" prefix (,path))
5460 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5461 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5462 #t)))))
5463 (native-inputs
f85ca6ed 5464 `(("intltool" ,intltool)
ab466d79 5465 ("itstool" ,itstool)
d95f1041 5466 ("pkg-config" ,pkg-config)
d95f1041 5467 ("python" ,python)
f0c68100 5468 ("glib:bin" ,glib "bin")))
ab466d79
RW
5469 (inputs
5470 `(("gobject-introspection" ,gobject-introspection)
5471 ("glib-networking" ,glib-networking)
5472 ("cairo" ,cairo)
5473 ("gtk+" ,gtk+)
5474 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5475 ("python" ,python-wrapper)
d72f76df 5476 ("python-dateutil" ,python-dateutil)
00014781 5477 ("python-pyfxa" ,python-pyfxa)
ab466d79
RW
5478 ("python-pygobject" ,python-pygobject)
5479 ("python-pycairo" ,python-pycairo)
00014781 5480 ("python-pycrypto" ,python-pycrypto)
ab466d79
RW
5481 ("libsecret" ,libsecret)
5482 ("gtkspell3" ,gtkspell3)
5483 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
f85ca6ed 5484 ("webkitgtk" ,webkitgtk)))
166b2c97 5485 (home-page "https://wiki.gnome.org/Apps/Eolie")
ab466d79
RW
5486 (synopsis "Web browser for GNOME")
5487 (description
5488 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5489a secret password store, an adblocker, and a modern UI.")
5490 (license license:gpl3+)))
5491
7549f984
SB
5492(define-public epiphany
5493 (package
5494 (name "epiphany")
60680365 5495 (version "3.32.5")
7549f984
SB
5496 (source (origin
5497 (method url-fetch)
dd3266ec 5498 (uri (string-append "mirror://gnome/sources/epiphany/"
7549f984 5499 (version-major+minor version) "/"
dd3266ec 5500 "epiphany-" version ".tar.xz"))
7549f984
SB
5501 (sha256
5502 (base32
60680365 5503 "1hj4yy53fwh96h17cqiw3gxc070vmc7yqwc7phvhnpyinkp9g5my"))))
fc5c5b92
R
5504
5505 (build-system meson-build-system)
7549f984
SB
5506 (arguments
5507 ;; FIXME: tests run under Xvfb, but fail with:
5508 ;; /src/bookmarks/ephy-bookmarks/create:
5509 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
5510 ;; subsystem
5511 ;; FAIL
6f48d9db 5512 '(#:tests? #f
e19f9c24 5513 #:glib-or-gtk? #t
bb7ff88f
EF
5514 #:phases
5515 (modify-phases %standard-phases
5516 (add-after 'unpack 'skip-gtk-update-icon-cache
5517 ;; Don't create 'icon-theme.cache'.
5518 (lambda _
5519 (substitute* "post_install.py"
5520 (("gtk-update-icon-cache") "true"))
5521 #t)))
e19f9c24
LF
5522 #:configure-flags
5523 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5524 (list (string-append "-Dc_link_args=-Wl,-rpath="
5525 (assoc-ref %outputs "out") "/lib/epiphany"))))
80a747c4
SB
5526 (propagated-inputs
5527 `(("dconf" ,dconf)))
7549f984 5528 (native-inputs
fc5c5b92
R
5529 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5530 ("glib:bin" ,glib "bin") ; for glib-mkenums
fc5c5b92 5531 ("intltool" ,intltool)
7549f984 5532 ("itstool" ,itstool)
bcb354ad
SB
5533 ("pkg-config" ,pkg-config)
5534 ("xmllint" ,libxml2)))
7549f984
SB
5535 (inputs
5536 `(("avahi" ,avahi)
5537 ("gcr" ,gcr)
fc5c5b92 5538 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
7549f984
SB
5539 ("glib-networking" ,glib-networking)
5540 ("gnome-desktop" ,gnome-desktop)
5541 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
eb6f315b 5542 ("json-glib" ,json-glib)
7549f984 5543 ("iso-codes" ,iso-codes)
8748e29c 5544 ("libdazzle" ,libdazzle)
7549f984
SB
5545 ("libnotify" ,libnotify)
5546 ("libsecret" ,libsecret)
7549f984 5547 ("libxslt" ,libxslt)
fc5c5b92 5548 ("nettle" ,nettle) ; for hogweed
7549f984 5549 ("sqlite" ,sqlite)
f85ca6ed 5550 ("webkitgtk" ,webkitgtk)))
7549f984
SB
5551 (home-page "https://wiki.gnome.org/Apps/Web")
5552 (synopsis "GNOME web browser")
5553 (description
5554 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5555principles are simplicity and standards compliance.")
5556 (license license:gpl2+)))
a3856b2c
SB
5557
5558(define-public d-feet
5559 (package
5560 (name "d-feet")
458e9221 5561 (version "0.3.14")
a3856b2c
SB
5562 (source (origin
5563 (method url-fetch)
5564 (uri (string-append "mirror://gnome/sources/" name "/"
5565 (version-major+minor version) "/"
5566 name "-" version ".tar.xz"))
5567 (sha256
5568 (base32
458e9221 5569 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
a3856b2c
SB
5570 (build-system glib-or-gtk-build-system)
5571 (arguments
5572 '(#:out-of-source? #f ; tests need to run in the source directory.
5573 #:phases
5574 (modify-phases %standard-phases
5575 (add-before
5576 'check 'pre-check
86aff791 5577 (lambda _
a3856b2c
SB
5578 ;; The test suite requires a running X server.
5579 (system "Xvfb :1 &")
5580 (setenv "DISPLAY" ":1")
5581 ;; Don't fail on missing '/etc/machine-id'.
5582 (setenv "DBUS_FATAL_WARNINGS" "0")
5583 ;; tests.py and window.py don't meet E402:
5584 ;; E402 module level import not at top of file
5585 (substitute* "src/tests/Makefile"
86aff791
MW
5586 (("--ignore=E123") "--ignore=E123,E402"))
5587 #t))
a3856b2c
SB
5588 (add-after
5589 'install 'wrap-program
5590 (lambda* (#:key outputs #:allow-other-keys)
5591 (let ((prog (string-append (assoc-ref outputs "out")
5592 "/bin/d-feet")))
5593 (wrap-program prog
5594 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
5595 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5596 #t))))))
a3856b2c
SB
5597 (native-inputs
5598 `(("intltool" ,intltool)
5599 ("itstool" ,itstool)
5600 ("pkg-config" ,pkg-config)
5601 ("python-pep8" ,python-pep8)
5602 ("xmllint" ,libxml2)
ff337525 5603 ("xorg-server" ,xorg-server-for-tests)))
a3856b2c
SB
5604 (inputs
5605 `(("gobject-introspection" ,gobject-introspection)
5606 ("gtk+" ,gtk+)
5607 ("python" ,python-wrapper)
458e9221 5608 ("hicolor-icon-theme" ,hicolor-icon-theme)
a3856b2c
SB
5609 ("python-pygobject" ,python-pygobject)))
5610 (home-page "https://wiki.gnome.org/Apps/DFeet")
5611 (synopsis "D-Bus debugger")
5612 (description
5613 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5614of running programs and invoke methods on those interfaces.")
5615 (license license:gpl2+)))
c3b97bd9
SB
5616
5617(define-public yelp-xsl
5618 (package
5619 (name "yelp-xsl")
b3640e79 5620 (version "3.32.1")
c3b97bd9
SB
5621 (source (origin
5622 (method url-fetch)
5623 (uri (string-append "mirror://gnome/sources/" name "/"
5624 (version-major+minor version) "/"
5625 name "-" version ".tar.xz"))
5626 (sha256
5627 (base32
b3640e79 5628 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
c3b97bd9
SB
5629 (build-system gnu-build-system)
5630 (native-inputs
5631 `(("intltool" ,intltool)
5632 ("itstool" ,itstool)
5633 ("xmllint" ,libxml2)))
5634 (home-page "https://wiki.gnome.org/Apps/Yelp")
5635 (synopsis "XSL stylesheets for Yelp")
5636 (description
5637 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5638to format Docbook and Mallard documents.")
5639 (license license:gpl2+)))
de3d612a
SB
5640
5641(define-public yelp
5642 (package
5643 (name "yelp")
1f1b6d60 5644 (version "3.32.2")
de3d612a
SB
5645 (source (origin
5646 (method url-fetch)
5647 (uri (string-append "mirror://gnome/sources/" name "/"
5648 (version-major+minor version) "/"
5649 name "-" version ".tar.xz"))
5650 (sha256
5651 (base32
1f1b6d60 5652 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
de3d612a
SB
5653 (build-system glib-or-gtk-build-system)
5654 (native-inputs
5655 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5656 ("intltool" ,intltool)
5657 ("itstool" ,itstool)
5658 ("pkg-config" ,pkg-config)))
5659 (propagated-inputs
5660 `(("dconf" ,dconf)))
5661 (inputs
ad1b7d8b
SB
5662 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5663 ("libxslt" ,libxslt)
de3d612a 5664 ("sqlite" ,sqlite)
4c28ca1d
SB
5665 ("webkitgtk" ,webkitgtk)
5666 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
5667 (home-page "https://wiki.gnome.org/Apps/Yelp")
5668 (synopsis "GNOME help browser")
5669 (description
5670 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5671man, info, and HTML documents. It can locate documents according to the
5672freedesktop.org help system specification.")
5673 (license license:gpl2+)))
122d0d10
SB
5674
5675(define-public yelp-tools
5676 (package
5677 (name "yelp-tools")
2089bca5 5678 (version "3.28.0")
122d0d10
SB
5679 (source (origin
5680 (method url-fetch)
5681 (uri (string-append "mirror://gnome/sources/" name "/"
5682 (version-major+minor version) "/"
5683 name "-" version ".tar.xz"))
5684 (sha256
5685 (base32
2089bca5 5686 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
122d0d10
SB
5687 (build-system gnu-build-system)
5688 (native-inputs
5689 `(("pkg-config" ,pkg-config)))
5690 (propagated-inputs
5691 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5692 `(("itstool" ,itstool)
5693 ("xmllint" ,libxml2)
5694 ("xsltproc" ,libxslt)))
5695 (inputs
5696 `(("yelp-xsl" ,yelp-xsl)))
5697 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5698 (synopsis "Yelp documentation tools")
5699 (description
5700 "Yelp-tools is a collection of scripts and build utilities to help create,
5701manage, and publish documentation for Yelp and the web. Most of the heavy
5702lifting is done by packages like yelp-xsl and itstool. This package just
5703wraps things up in a developer-friendly way.")
5704 (license license:gpl2+)))
af8f9f23 5705
4ed041d9
MB
5706(define-public yelp-tools/fixed
5707 ;; This variant fixes a python-libxml2 crash when processing UTF-8
5708 ;; sequences: <https://bugs.gnu.org/37468>. TODO: Remove this in
5709 ;; the next rebuild cycle.
5710 (hidden-package
5711 (package/inherit
5712 yelp-tools
5713 (propagated-inputs
5714 `(("itstool" ,itstool/fixed)
5715 ,@(alist-delete "itstool" (package-propagated-inputs yelp-tools)))))))
5716
af8f9f23
RW
5717(define-public libgee
5718 (package
5719 (name "libgee")
9cedae2a 5720 (version "0.20.3")
af8f9f23
RW
5721 (source (origin
5722 (method url-fetch)
84a1b007 5723 (uri (string-append "mirror://gnome/sources/libgee/"
af8f9f23 5724 (version-major+minor version) "/"
84a1b007 5725 "libgee-" version ".tar.xz"))
af8f9f23
RW
5726 (sha256
5727 (base32
9cedae2a 5728 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
af8f9f23
RW
5729 (build-system gnu-build-system)
5730 (arguments
5731 `(#:phases
5732 (modify-phases %standard-phases
5733 (add-after 'unpack 'fix-introspection-install-dir
5734 (lambda* (#:key outputs #:allow-other-keys)
5735 (let ((out (assoc-ref outputs "out")))
5736 (substitute* "gee/Makefile.in"
5737 (("@INTROSPECTION_GIRDIR@")
5738 (string-append out "/share/gir-1.0/"))
5739 (("@INTROSPECTION_TYPELIBDIR@")
5740 (string-append out "/lib/girepository-1.0/")))))))))
5741 (native-inputs
5742 `(("glib" ,glib "bin")
5743 ("pkg-config" ,pkg-config)))
5744 (inputs
5745 `(("glib" ,glib)
5746 ("gobject-introspection" ,gobject-introspection)))
5747 (home-page "https://wiki.gnome.org/Projects/Libgee")
5748 (synopsis "GObject collection library")
5749 (description
5750 "Libgee is a utility library providing GObject-based interfaces and
5751classes for commonly used data structures.")
5752 (license license:lgpl2.1+)))
b0f9c4b8
RW
5753
5754(define-public gexiv2
5755 (package
5756 (name "gexiv2")
b1a8b408 5757 (version "0.12.0")
b0f9c4b8
RW
5758 (source (origin
5759 (method url-fetch)
5760 (uri (string-append "mirror://gnome/sources/" name "/"
5761 (version-major+minor version) "/"
5762 name "-" version ".tar.xz"))
5763 (sha256
5764 (base32
b1a8b408 5765 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
51c482e4 5766 (build-system meson-build-system)
b0f9c4b8 5767 (native-inputs
b1a8b408
KK
5768 `(("gcr" ,gcr)
5769 ("glib" ,glib "bin")
5770 ("pkg-config" ,pkg-config)
5771 ("vala" ,vala)))
b0f9c4b8
RW
5772 (propagated-inputs
5773 ;; Listed in "Requires" section of gexiv2.pc
5774 `(("exiv2" ,exiv2)))
5775 (inputs
5776 `(("glib" ,glib)
5777 ("gobject-introspection" ,gobject-introspection)))
5778 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5779 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5780 (description
5781 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5782allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5783metadata in photo and video files of various formats.")
5784 (license license:gpl2+)))
fed5a689
RW
5785
5786(define-public shotwell
5787 (package
5788 (name "shotwell")
bcea20cc 5789 (version "0.30.8")
fed5a689
RW
5790 (source (origin
5791 (method url-fetch)
5497d682 5792 (uri (string-append "mirror://gnome/sources/shotwell/"
fed5a689 5793 (version-major+minor version) "/"
5497d682 5794 "shotwell-" version ".tar.xz"))
fed5a689
RW
5795 (sha256
5796 (base32
bcea20cc 5797 "1f7m007g6w1sz8s60w6x81ghp2rrjmik8phd958b2hy8zz92wbbj"))))
3b79afa6
KK
5798 (build-system meson-build-system)
5799 (arguments
5a0beca3
EF
5800 '(#:glib-or-gtk? #t
5801 #:phases
5802 (modify-phases %standard-phases
5803 (add-after 'unpack 'skip-gtk-update-icon-cache
5804 (lambda _
5805 (substitute* "build-aux/meson/postinstall.py"
5806 (("gtk-update-icon-cache") (which "true"))
5807 (("update-desktop-database") (which "true")))
5808 #t)))))
735b8db6
TGR
5809 (propagated-inputs
5810 `(("dconf" ,dconf)))
fed5a689 5811 (native-inputs
5a0beca3
EF
5812 `(("gettext" ,gettext-minimal)
5813 ("glib:bin" ,glib "bin")
735b8db6 5814 ("itstool" ,itstool)
3b79afa6 5815 ("pkg-config" ,pkg-config)
735b8db6 5816 ("vala" ,vala)))
fed5a689 5817 (inputs
5a0beca3
EF
5818 `(("gcr" ,gcr)
5819 ("gexiv2" ,gexiv2)
fed5a689 5820 ("gst-plugins-base" ,gst-plugins-base)
5a0beca3
EF
5821 ("gstreamer" ,gstreamer)
5822 ("json-glib" ,json-glib)
dfb0323d 5823 ("libgdata" ,libgdata)
fed5a689 5824 ("libgee" ,libgee)
5a0beca3
EF
5825 ("libgphoto2" ,libgphoto2)
5826 ("libgudev" ,libgudev)
fed5a689 5827 ("libraw" ,libraw)
fed5a689
RW
5828 ("libsoup" ,libsoup)
5829 ("libxml2" ,libxml2)
5a0beca3
EF
5830 ("sqlite" ,sqlite)
5831 ("webkitgtk" ,webkitgtk)))
fed5a689
RW
5832 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5833 (synopsis "Photo manager for GNOME 3")
5834 (description
5835 "Shotwell is a digital photo manager designed for the GNOME desktop
5836environment. It allows you to import photos from disk or camera, organize
5837them by keywords and events, view them in full-window or fullscreen mode, and
5838share them with others via social networking and more.")
5839 (license license:lgpl2.1+)))
293ff8b2
DT
5840
5841(define-public file-roller
5842 (package
5843 (name "file-roller")
dcae4270 5844 (version "3.32.3")
293ff8b2
DT
5845 (source (origin
5846 (method url-fetch)
f89a27c6 5847 (uri (string-append "mirror://gnome/sources/file-roller/"
293ff8b2 5848 (version-major+minor version) "/"
f89a27c6 5849 "file-roller-" version ".tar.xz"))
293ff8b2
DT
5850 (sha256
5851 (base32
dcae4270 5852 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
0a500745 5853 (build-system meson-build-system)
293ff8b2 5854 (native-inputs
0a500745
RW
5855 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5856 ("intltool" ,intltool)
4c96e5d1 5857 ("itstool" ,itstool)
0a500745
RW
5858 ("pkg-config" ,pkg-config)
5859 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5860 ("glib:bin" ,glib "bin")))
293ff8b2
DT
5861 ;; TODO: Add libnautilus.
5862 (inputs
5863 `(("gtk+" ,gtk+)
5864 ("gdk-pixbuf" ,gdk-pixbuf)
5865 ("json-glib" ,json-glib)
5866 ("libarchive" ,libarchive)
5867 ("libnotify" ,libnotify)
4c96e5d1 5868 ("nettle" ,nettle)
293ff8b2
DT
5869 ("libxml2" ,libxml2)))
5870 (synopsis "Graphical archive manager for GNOME")
5871 (description "File Roller is an archive manager for the GNOME desktop
5872environment that allows users to view, unpack, and create compressed archives
5873such as gzip tarballs.")
5874 (home-page "http://fileroller.sourceforge.net/")
5875 (license license:gpl2+)))
7ce49365
SB
5876
5877(define-public gnome-session
5878 (package
5879 (name "gnome-session")
1fc2ec79 5880 (version "3.32.0")
7ce49365
SB
5881 (source (origin
5882 (method url-fetch)
5883 (uri (string-append "mirror://gnome/sources/" name "/"
5884 (version-major+minor version) "/"
5885 name "-" version ".tar.xz"))
5886 (sha256
5887 (base32
1fc2ec79 5888 "0zrzkpd406i159mla7bfs5npa32fgqh66aip1rfq02rgsgmc9m5v"))))
2914af3c 5889 (arguments
df278071
RW
5890 '(#:glib-or-gtk? #t
5891 #:phases
2914af3c
AW
5892 (modify-phases %standard-phases
5893 (add-before 'configure 'pre-configure
5894 (lambda* (#:key outputs #:allow-other-keys)
5895 ;; Use elogind instead of systemd.
df278071
RW
5896 (substitute* "meson.build"
5897 (("libsystemd-login") "libelogind")
5898 (("and libsystemd_daemon_dep.found.*") ","))
2914af3c
AW
5899 (substitute* "gnome-session/gsm-systemd.c"
5900 (("#include <systemd/sd-login.h>")
5901 "#include <elogind/sd-login.h>"))
df278071 5902 ;; Remove uses of the systemd daemon.
803ab416
SB
5903 (substitute* "gnome-session/gsm-autostart-app.c"
5904 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
5905 #t))
5906 (add-after 'install 'wrap-gnome-session
5907 (lambda* (#:key inputs outputs #:allow-other-keys)
5908 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5909 (let ((glib (assoc-ref inputs "glib:bin"))
5910 (out (assoc-ref outputs "out")))
5911 (wrap-program (string-append out "/bin/gnome-session")
5912 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5913 #t))))
6cbc8d57 5914
2914af3c 5915 #:configure-flags
df278071
RW
5916 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5917 "-Dman=false" ; FIXME: disabled because of docbook validation error
5918 "-Dsystemd_journal=false")))
5919 (build-system meson-build-system)
7ce49365
SB
5920 (native-inputs
5921 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5922 ("pkg-config" ,pkg-config)
5923 ("intltool" ,intltool)
df278071
RW
5924 ("xsltproc" ,libxslt)
5925 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5926 ("docbook-xsl" ,docbook-xsl)
5927 ("docbook-xml" ,docbook-xml)
5928 ("xmlto" ,xmlto)))
7ce49365 5929 (inputs
2914af3c
AW
5930 `(("elogind" ,elogind)
5931 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 5932 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
5933 ("gtk+" ,gtk+)
5934 ("json-glib" ,json-glib)
5935 ("libsm" ,libsm)
5936 ("libxcomposite" ,libxcomposite)
5937 ("libxtst" ,libxtst)
5938 ("mesa" ,mesa)
5939 ("upower" ,upower)
5940 ("xtrans" ,xtrans)))
5941 (synopsis "Session manager for GNOME")
5942 (description
5943 "This package contains the GNOME session manager, as well as a
5944configuration program to choose applications starting on login.")
5945 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5946 (license license:gpl2+)))
f47ba77e
SB
5947
5948(define-public gjs
5949 (package
5950 (name "gjs")
d054fbf5 5951 (version "1.56.2")
f47ba77e
SB
5952 (source (origin
5953 (method url-fetch)
5954 (uri (string-append "mirror://gnome/sources/" name "/"
5955 (version-major+minor version) "/"
5956 name "-" version ".tar.xz"))
5957 (sha256
5958 (base32
d054fbf5 5959 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
f47ba77e
SB
5960 (build-system gnu-build-system)
5961 (arguments
5962 '(#:phases
5963 (modify-phases %standard-phases
5964 (add-before
5965 'check 'pre-check
5966 (lambda _
fc119619
MW
5967 ;; The test suite requires a running X server.
5968 (system "Xvfb :1 &")
5969 (setenv "DISPLAY" ":1")
5970
f47ba77e
SB
5971 ;; For the missing /etc/machine-id.
5972 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07 5973
144f94d0
KK
5974 ;; Our mozjs-38 package does not compile the required Intl API
5975 ;; support for these failing tests.
5976 (substitute* "installed-tests/js/testLocale.js"
5977 ((".*toBeDefined.*") "")
5978 ((".*expect\\(datestr\\).*") ""))
d054fbf5
KK
5979 (substitute* "installed-tests/scripts/testCommandLine.sh"
5980 (("Valentín") "")
5981 (("☭") ""))
f47ba77e
SB
5982 #t)))))
5983 (native-inputs
8a831c6f 5984 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
f47ba77e
SB
5985 ("pkg-config" ,pkg-config)
5986 ("xmllint" ,libxml2)
5987 ;; For testing
5988 ("dbus-launch" ,dbus)
5989 ("uuidgen" ,util-linux)
ebebee94 5990 ("xvfb" ,xorg-server-for-tests)))
f47ba77e
SB
5991 (propagated-inputs
5992 ;; These are all in the Requires.private field of gjs-1.0.pc.
144f94d0
KK
5993 `(("cairo" ,cairo)
5994 ("gobject-introspection" ,gobject-introspection)
d054fbf5 5995 ("mozjs" ,mozjs-60)))
f47ba77e
SB
5996 (inputs
5997 `(("gtk+" ,gtk+)
5998 ("readline" ,readline)))
5999 (synopsis "Javascript bindings for GNOME")
f032d0be 6000 (home-page "https://live.gnome.org/Gjs")
f47ba77e
SB
6001 (description
6002 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
6003javascript engine and the GObject introspection framework.")
6004 (license license:gpl2+)))
329d731b
DH
6005
6006(define-public gedit
6007 (package
6008 (name "gedit")
480c9226 6009 (version "3.32.2")
329d731b
DH
6010 (source (origin
6011 (method url-fetch)
6012 (uri (string-append "mirror://gnome/sources/" name "/"
6013 (version-major+minor version) "/"
6014 name "-" version ".tar.xz"))
6015 (sha256
6016 (base32
480c9226
KK
6017 "1q2rk7fym542c7k3bn2wlnzgy384gxacbifsjny0spbg95gfybvl"))))
6018 (build-system meson-build-system)
329d731b 6019 (arguments
480c9226
KK
6020 `(#:glib-or-gtk? #t
6021 #:configure-flags
6022 ;; Otherwise, the RUNPATH will lack the final path component.
6023 (list (string-append "-Dc_link_args=-Wl,-rpath="
6024 (assoc-ref %outputs "out") "/lib/gedit"))
d9b4022c
LC
6025
6026 ;; XXX: Generated .h files are sometimes used before being built.
6027 #:parallel-build? #f
6028
480c9226 6029 #:phases
329d731b 6030 (modify-phases %standard-phases
480c9226
KK
6031 (add-after 'unpack 'skip-gtk-update-icon-cache
6032 ;; Don't create 'icon-theme.cache'.
6033 (lambda _
6034 (substitute* "build-aux/meson/post_install.py"
6035 (("gtk-update-icon-cache") (which "true")))
6036 #t))
6037 (add-after 'unpack 'patch-libgd-fetch
6038 (lambda* (#:key inputs #:allow-other-keys)
6039 (let ((libgd (assoc-ref inputs "libgd")))
6040 ;; Calling git is unnecessary because libgd is fetched as a
6041 ;; native input to this package.
6042 (substitute* "meson.build"
6043 ((".*git.*") ""))
6044 (copy-recursively libgd "subprojects/libgd")
6045 #t)))
6046 (add-after 'install 'wrap-gedit
6047 (lambda* (#:key inputs outputs #:allow-other-keys)
6048 (let ((out (assoc-ref outputs "out"))
6049 (gtksourceview (assoc-ref inputs "gtksourceview"))
6050 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6051 (python-path (getenv "PYTHONPATH")))
6052 (wrap-program (string-append out "/bin/gedit")
6053 ;; For plugins.
6054 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6055 `("PYTHONPATH" ":" prefix (,python-path))
6056 ;; For language-specs.
6057 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
6058 "/share")))))
6059 #t)))))
329d731b
DH
6060 (propagated-inputs
6061 `(("dconf" ,dconf)))
6062 (native-inputs
480c9226
KK
6063 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6064 ("intltool" ,intltool)
b3546174 6065 ("itstool" ,itstool)
480c9226 6066 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
329d731b 6067 ("gobject-introspection" ,gobject-introspection)
480c9226
KK
6068 ("libgd"
6069 ,(origin
6070 (method git-fetch)
6071 (uri (git-reference
6072 (url "https://gitlab.gnome.org/GNOME/libgd")
6073 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6074 (file-name (git-file-name "libgd" version))
6075 (sha256
6076 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
329d731b
DH
6077 ("pkg-config" ,pkg-config)))
6078 (inputs
6079 `(("glib" ,glib)
0d2df50c 6080 ("gspell" ,gspell)
329d731b 6081 ("gtk+" ,gtk+)
480c9226 6082 ("gtksourceview" ,gtksourceview)
329d731b
DH
6083 ("libpeas" ,libpeas)
6084 ("libxml2" ,libxml2)
329d731b
DH
6085 ("iso-codes" ,iso-codes)
6086 ("python-pygobject" ,python-pygobject)
6087 ("python" ,python)
6088 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6089 ("libx11" ,libx11)
6090 ("vala" ,vala)
6091 ("adwaita-icon-theme" ,adwaita-icon-theme)
6092 ("libsoup" ,libsoup)
6093 ("gnome-desktop" ,gnome-desktop)))
6094 (home-page "https://wiki.gnome.org/Apps/Gedit")
6095 (synopsis "GNOME text editor")
6096 (description "While aiming at simplicity and ease of use, gedit is a
6097powerful general purpose text editor.")
6098 (license license:gpl2+)))
b7179363
SB
6099
6100(define-public zenity
6101 (package
6102 (name "zenity")
4f581bd0 6103 (version "3.32.0")
b7179363
SB
6104 (source (origin
6105 (method url-fetch)
5958df04 6106 (uri (string-append "mirror://gnome/sources/zenity/"
b7179363 6107 (version-major+minor version) "/"
5958df04 6108 "zenity-" version ".tar.xz"))
b7179363
SB
6109 (sha256
6110 (base32
4f581bd0 6111 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
b7179363
SB
6112 (build-system gnu-build-system)
6113 (native-inputs
b94a6ca0 6114 `(("gettext" ,gettext-minimal)
b7179363
SB
6115 ("itstool" ,itstool)
6116 ("pkg-config" ,pkg-config)))
6117 (inputs
6118 `(("libnotify" ,libnotify)
6119 ("webkitgtk" ,webkitgtk)))
6120 (synopsis "Display graphical dialog boxes from shell scripts")
f032d0be 6121 (home-page "https://www.gnome.org")
b7179363
SB
6122 (description
6123 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6124to display dialog boxes from the commandline and shell scripts.")
6125 (license license:lgpl2.0+)))
60c3627c
SB
6126
6127(define-public mutter
6128 (package
6129 (name "mutter")
edf43f68 6130 (version "3.32.2")
60c3627c 6131 (source (origin
86c44e72
KK
6132 (method url-fetch)
6133 (uri (string-append "mirror://gnome/sources/" name "/"
6134 (version-major+minor version) "/"
6135 name "-" version ".tar.xz"))
60c3627c
SB
6136 (sha256
6137 (base32
edf43f68 6138 "1h577i2ap7dpfy1jg101jvc6nzccc0csgvd55ahydlr8f94frcva"))))
86c44e72
KK
6139 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6140 ;; versions of cogl and clutter. As a result, many of the inputs,
6141 ;; propagated-inputs, and configure flags used in cogl and clutter are
6142 ;; needed here as well.
edf43f68 6143 (build-system meson-build-system)
60c3627c 6144 (arguments
edf43f68
KK
6145 '(;; XXX: All mutter tests fail with the following error:
6146 ;; Settings schema 'org.gnome.mutter' is not installed
6147 #:tests? #f
6148 #:glib-or-gtk? #t
6149 #:configure-flags
6150 ;; Otherwise, the RUNPATH will lack the final path component.
6151 (list (string-append "-Dc_link_args=-Wl,-rpath="
6152 (assoc-ref %outputs "out") "/lib:"
6153 (assoc-ref %outputs "out") "/lib/mutter-4")
a88d5a0c
MW
6154
6155 ;; The following flags are needed for the bundled clutter
edf43f68 6156 (string-append "-Dxwayland_path="
d633f2f6
RH
6157 (assoc-ref %build-inputs "xorg-server-xwayland")
6158 "/bin/Xwayland")
6159
a88d5a0c 6160 ;; the remaining flags are needed for the bundled cogl
edf43f68 6161 (string-append "-Dopengl_libname="
a88d5a0c 6162 (assoc-ref %build-inputs "mesa")
f23052a6
DC
6163 "/lib/libGL.so"))
6164 #:phases
6165 (modify-phases %standard-phases
edf43f68
KK
6166 (add-after 'unpack 'disable-werror
6167 (lambda _
6168 ;; XXX: build fails with [-Werror]:
6169 ;; backends/meta-cursor-renderer.c:112:5: error:
6170 ;; implicit declaration of function ?roundf?
6171 (substitute* "meson.build"
6172 (("'-Werror=.*',") ""))
6173 #t))
86c44e72
KK
6174 ;; Replace references to systemd libraries to elogind references.
6175 (add-before 'configure 'use-elogind
6176 (lambda _
edf43f68 6177 (substitute* (list "meson.build"
86c44e72
KK
6178 "src/backends/native/meta-launcher.c"
6179 "src/core/main.c")
6180 (("systemd") "elogind"))
6181 #t)))))
60c3627c
SB
6182 (native-inputs
6183 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6184 ("gobject-introspection" ,gobject-introspection)
6185 ("intltool" ,intltool)
f23052a6 6186 ("pkg-config" ,pkg-config)
edf43f68 6187 ("xorg-server" ,xorg-server-for-tests)
f23052a6
DC
6188 ;; For git build
6189 ("autoconf" ,autoconf)
6190 ("automake" ,automake)
6191 ("libtool" ,libtool)))
60c3627c 6192 (propagated-inputs
a88d5a0c
MW
6193 `(;; libmutter.pc refers to these:
6194 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6195 ("gtk+" ,gtk+)
6196 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6197 ("atk" ,atk)
6198 ("cairo" ,cairo)
6199 ("gdk-pixbuf" ,gdk-pixbuf)
6200 ("glib" ,glib)
a88d5a0c
MW
6201 ("json-glib" ,json-glib)
6202 ("libinput" ,libinput)
6203 ("libx11" ,libx11)
6204 ("libxcomposite" ,libxcomposite)
6205 ("libxdamage" ,libxdamage)
6206 ("libxext" ,libxext)
6207 ("libxfixes" ,libxfixes)
6208 ("libxkbcommon" ,libxkbcommon)
6209 ("libxrandr" ,libxrandr)
6210 ("mesa" ,mesa)
6211 ("pango" ,pango)
6212 ("udev" ,eudev)
a88d5a0c 6213 ("xinput" ,xinput)))
60c3627c 6214 (inputs
86c44e72
KK
6215 `(("elogind" ,elogind)
6216 ("gnome-desktop" ,gnome-desktop)
edf43f68 6217 ("gnome-settings-daemon" ,gnome-settings-daemon)
60c3627c 6218 ("libcanberra-gtk" ,libcanberra)
a88d5a0c 6219 ("libgudev" ,libgudev)
60c3627c
SB
6220 ("libice" ,libice)
6221 ("libsm" ,libsm)
edf43f68 6222 ("libwacom" ,libwacom)
60c3627c 6223 ("libxkbfile" ,libxkbfile)
a88d5a0c 6224 ("libxrandr" ,libxrandr)
86c44e72 6225 ("libxtst" ,libxtst)
edf43f68 6226 ("pipewire" ,pipewire)
60c3627c
SB
6227 ("startup-notification" ,startup-notification)
6228 ("upower-glib" ,upower)
6229 ("xkeyboard-config" ,xkeyboard-config)
d633f2f6 6230 ("xorg-server-xwayland" ,xorg-server-xwayland)
60c3627c
SB
6231 ("zenity" ,zenity)))
6232 (synopsis "Window and compositing manager")
f032d0be 6233 (home-page "https://www.gnome.org")
60c3627c
SB
6234 (description
6235 "Mutter is a window and compositing manager that displays and manages your
6236desktop via OpenGL. Mutter combines a sophisticated display engine using the
6237Clutter toolkit with solid window-management logic inherited from the Metacity
6238window manager.")
86c44e72 6239 (license license:gpl2+)))
685cee87
SB
6240
6241(define-public gnome-online-accounts
6242 (package
6243 (name "gnome-online-accounts")
aa200347 6244 (version "3.32.1")
685cee87
SB
6245 (source (origin
6246 (method url-fetch)
6247 (uri (string-append "mirror://gnome/sources/" name "/"
6248 (version-major+minor version) "/"
6249 name "-" version ".tar.xz"))
6250 (sha256
6251 (base32
aa200347 6252 "08g9kdj8fzcgp76z2zsj9m7wfjks9z6xfrfrbfmcr69k40mapfx8"))))
14c297fd 6253 (outputs '("out" "lib"))
685cee87 6254 (build-system glib-or-gtk-build-system)
14c297fd
TS
6255 (arguments
6256 `(#:configure-flags
6257 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6258 #:phases
6259 (modify-phases %standard-phases
6260 (add-before 'configure 'patch-libgoa-output
6261 (lambda* (#:key outputs #:allow-other-keys)
6262 (let ((lib (assoc-ref outputs "lib")))
6263 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6264 (("@prefix@") lib)
6265 (("@exec_prefix@") lib)
6266 (("@libdir@") (string-append lib "/lib"))
6267 (("@includedir@") (string-append lib "/include"))
6268 (("@datadir@") (string-append lib "/share")))
7555d539
MB
6269 ;; Make sure gobject-introspection knows about the output
6270 ;; too (see <https://bugs.gnu.org/36535>).
6271 (setenv "outputs" "out lib")
14c297fd 6272 #t))))))
685cee87
SB
6273 (native-inputs
6274 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6275 ("gobject-introspection" ,gobject-introspection)
6276 ("intltool" ,intltool)
6277 ("pkg-config" ,pkg-config)
ebb2873d 6278 ("vala" ,vala)
685cee87
SB
6279 ("xsltproc" ,libxslt)))
6280 (propagated-inputs
6281 `(("glib" ,glib) ; required by goa-1.0.pc
6282 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6283 (inputs
6284 `(("docbook-xsl" ,docbook-xsl)
6285 ("json-glib" ,json-glib)
6286 ("libsecret" ,libsecret)
6287 ("rest" ,rest)
685cee87
SB
6288 ("webkitgtk" ,webkitgtk)))
6289 (synopsis "Single sign-on framework for GNOME")
6290 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6291 (description
6292 "GNOME Online Accounts provides interfaces so that applications and
6293libraries in GNOME can access the user's online accounts. It has providers for
6294Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6295Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6296 (license license:lgpl2.0+)))
df217748
SB
6297
6298(define-public evolution-data-server
6299 (package
6300 (name "evolution-data-server")
2196a8d4 6301 (version "3.32.4")
df217748
SB
6302 (source (origin
6303 (method url-fetch)
6304 (uri (string-append "mirror://gnome/sources/" name "/"
6305 (version-major+minor version) "/"
6306 name "-" version ".tar.xz"))
43190ac6
MB
6307 (patches (search-patches "evolution-data-server-locales.patch"
6308 "evolution-data-server-libical-compat.patch"))
df217748
SB
6309 (sha256
6310 (base32
2196a8d4 6311 "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3"))))
743aebd7 6312 (build-system cmake-build-system)
df217748 6313 (arguments
b468eedc
RW
6314 '(#:configure-flags
6315 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6316 (runpaths (map (lambda (s)
6317 (string-append lib "/evolution-data-server/" s))
ac033c7b
MB
6318 '("addressbook-backends" "calendar-backends"
6319 "camel-providers" "credential-modules"
6320 "registry-modules"))))
6321 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6322 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6323 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6324 "-DENABLE_VALA_BINDINGS=ON"
ac033c7b
MB
6325 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6326 (string-append lib "/evolution-data-server;")
6327 (string-join runpaths ";"))
6328 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
df217748
SB
6329 #:phases
6330 (modify-phases %standard-phases
b468eedc
RW
6331 (add-after 'unpack 'disable-failing-tests
6332 (lambda _
6333 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6334 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6335 (delete-file-recursively "tests/book-migration")
6336 (substitute* "tests/CMakeLists.txt"
6337 (("add_subdirectory\\(book-migration\\)") ""))
2196a8d4
KK
6338 ;; tests/libebook/client/test-book-client-view-operations:8077):
6339 ;; e-data-server-WARNING **:
6340 ;; (src/libedataserver/e-source-registry.c:264):thread_closure_free:
6341 ;; runtime check failed:
6342 ;; (!g_main_context_pending (closure->main_context))
6343 (substitute* "tests/libebook/client/CMakeLists.txt"
6344 (("test-book-client-view-operations") ""))
b468eedc 6345 #t))
743aebd7 6346 (add-after 'unpack 'patch-paths
df217748 6347 (lambda _
b468eedc
RW
6348 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6349 "tests/libedata-book/data-test-utils.c"
6350 "tests/libedata-book/test-book-cache-utils.c"
6351 "tests/libedata-cal/test-cal-cache-utils.c")
df217748 6352 (("/bin/rm") (which "rm")))
ac033c7b
MB
6353 #t))
6354 (add-before 'configure 'dont-override-rpath
6355 (lambda _
6356 (substitute* "CMakeLists.txt"
6357 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6358 ;; Remove it so the configure flag is respected.
6359 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
b63c06f1 6360 #t)))))
df217748
SB
6361 (native-inputs
6362 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6363 ("gobject-introspection" ,gobject-introspection)
6364 ("gperf" ,gperf)
6365 ("intltool" ,intltool)
6366 ("pkg-config" ,pkg-config)
a73c1cf8 6367 ("vala" ,vala)
743aebd7 6368 ("python" ,python-wrapper)))
df217748
SB
6369 (propagated-inputs
6370 ;; These are all in the Requires field of .pc files.
6371 `(("gtk+" ,gtk+)
6372 ("libical" ,libical)
6373 ("libsecret" ,libsecret)
6374 ("libsoup" ,libsoup)
6375 ("nss" ,nss)
6376 ("sqlite" ,sqlite)))
6377 (inputs
6378 `(("bdb" ,bdb)
6379 ("gcr" ,gcr)
14c297fd 6380 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
891199c6 6381 ("json-glib" ,json-glib)
b468eedc 6382 ("libcanberra" ,libcanberra)
743aebd7
MB
6383 ("libgweather" ,libgweather)
6384 ("mit-krb5" ,mit-krb5)
891199c6
MW
6385 ("openldap" ,openldap)
6386 ("webkitgtk" ,webkitgtk)))
df217748
SB
6387 (synopsis "Store address books and calendars")
6388 (home-page "https://wiki.gnome.org/Apps/Evolution")
6389 (description
6390 "This package provides a unified backend for programs that work with
6391contacts, tasks, and calendar information. It was originally developed for
6392Evolution (hence the name), but is now used by other packages as well.")
6393 (license license:lgpl2.0)))
bd7dfafa
SB
6394
6395(define-public caribou
6396 (package
6397 (name "caribou")
fe964bb5 6398 (version "0.4.21")
bd7dfafa
SB
6399 (source (origin
6400 (method url-fetch)
6401 (uri (string-append "mirror://gnome/sources/" name "/"
6402 (version-major+minor version) "/"
6403 name "-" version ".tar.xz"))
6404 (sha256
6405 (base32
fe964bb5 6406 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
6407 (build-system glib-or-gtk-build-system)
6408 (arguments
6409 '(#:phases
6410 (modify-phases %standard-phases
6411 (add-before
6412 'build 'pre-build
6413 (lambda* (#:key outputs #:allow-other-keys)
6414 (let ((out (assoc-ref outputs "out")))
6415 ;; Use absolute shared library path in Caribou-1.0.typelib.
6416 (substitute* "libcaribou/Makefile"
6417 (("--shared-library=libcaribou.so")
6418 (string-append "--shared-library="
6419 out "/lib/libcaribou.so")))
6420 #t)))
6421 (add-after 'install 'wrap-programs
6422 (lambda* (#:key outputs #:allow-other-keys)
6423 (let* ((out (assoc-ref outputs "out"))
6424 (python-path (getenv "PYTHONPATH"))
6425 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6426 (for-each
6427 (lambda (prog)
6428 (wrap-program prog
6429 `("PYTHONPATH" ":" prefix (,python-path))
6430 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6431 (list (string-append out "/bin/caribou-preferences")
6432 (string-append out "/libexec/antler-keyboard"))))
6433 #t)))))
6434 (native-inputs
6435 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6436 ("gobject-introspection" ,gobject-introspection)
6437 ("intltool" ,intltool)
6438 ("pkg-config" ,pkg-config)
9f7f5ba2 6439 ("python" ,python)
bd7dfafa
SB
6440 ("vala" ,vala)
6441 ("xsltproc" ,libxslt)))
6442 (propagated-inputs
6443 ;; caribou-1.0.pc refers to all these.
6444 `(("libgee" ,libgee)
6445 ("libxklavier" ,libxklavier)
6446 ("libxtst" ,libxtst)
6447 ("gtk+" ,gtk+)))
6448 (inputs
6449 `(("clutter" ,clutter)
6450 ("dconf" ,dconf)
6451 ("gtk+-2" ,gtk+-2)
9f7f5ba2 6452 ("python-pygobject" ,python-pygobject)))
bd7dfafa
SB
6453 (synopsis "Text entry and UI navigation application")
6454 (home-page "https://wiki.gnome.org/Projects/Caribou")
6455 (description
6456 "Caribou is an input assistive technology intended for switch and pointer
6457users.")
6458 (license license:lgpl2.1)))
ba5dd105 6459
ba5dd105
SB
6460(define-public network-manager
6461 (package
6462 (name "network-manager")
6425d87a 6463 (version "1.18.4")
ba5dd105
SB
6464 (source (origin
6465 (method url-fetch)
6466 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6467 (version-major+minor version) "/"
6468 "NetworkManager-" version ".tar.xz"))
7d1861e2 6469 (patches (search-patches "nm-plugin-path.patch"))
ba5dd105
SB
6470 (sha256
6471 (base32
6425d87a 6472 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
02710a9b 6473 (modules '((guix build utils)))
fd070f35 6474 (snippet
02710a9b
RW
6475 '(begin
6476 (substitute* "src/devices/wwan/nm-modem-manager.c"
6477 (("systemd") "elogind"))
6478 #t))))
ba5dd105
SB
6479 (build-system gnu-build-system)
6480 (outputs '("out"
6481 "doc")) ; 8 MiB of gtk-doc HTML
6482 (arguments
6483 '(#:configure-flags
6484 (let ((out (assoc-ref %outputs "out"))
6485 (doc (assoc-ref %outputs "doc"))
6486 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6487 "/sbin/dhclient")))
02710a9b
RW
6488 (list "--with-libnm-glib" ; needed by network-manager-applet
6489 "--with-systemd-journal=no"
6490 "--with-session-tracking=elogind"
6491 "--with-suspend-resume=elogind"
fd070f35
CM
6492 "--with-consolekit=no"
6493 "--with-crypto=gnutls"
ba5dd105
SB
6494 "--disable-config-plugin-ibft"
6495 "--sysconfdir=/etc"
6496 "--localstatedir=/var"
6497 (string-append "--with-udev-dir="
6498 out "/lib/udev")
6499 (string-append "--with-dbus-sys-dir="
6500 out "/etc/dbus-1/system.d")
6501 (string-append "--with-html-dir="
6502 doc "/share/gtk-doc/html")
6503 (string-append "--with-dhclient=" dhclient)))
6504 #:phases
6505 (modify-phases %standard-phases
02710a9b
RW
6506 ;; This bare "ls" invocation breaks some tests.
6507 (add-after 'unpack 'patch-ls-invocation
6508 (lambda _
6509 (substitute* "build-aux/ltmain.sh"
6510 (("`ls -")
6511 (string-append "`" (which "ls") " -")))
6512 #t))
b4f59d87
AW
6513 (add-before 'configure 'pre-configure
6514 (lambda _
6515 ;; These tests try to test aspects of network-manager's
6516 ;; functionality within restricted containers, but they don't
6517 ;; cope with being already in the Guix build jail as that jail
6518 ;; lacks some features that they would like to proxy over (like
6519 ;; a /sys mount).
d04687dc
HG
6520 (substitute* '("Makefile.in")
6521 (("src/platform/tests/test-address-linux") " ")
6522 (("src/platform/tests/test-cleanup-linux") " ")
6523 (("src/platform/tests/test-link-linux") " ")
6524 (("src/platform/tests/test-route-linux") " ")
02710a9b 6525 (("src/devices/tests/test-acd") "")
d04687dc
HG
6526 (("src/devices/tests/test-arping") " ")
6527 (("src/devices/tests/test-lldp") " ")
6528 (("src/tests/test-route-manager-linux") " "))
b4f59d87 6529 #t))
45f80fce
RW
6530 (add-after 'unpack 'delete-failing-tests
6531 (lambda _
02710a9b 6532 ;; FIXME: These three tests fail for unknown reasons.
45f80fce
RW
6533 ;; ERROR:libnm-core/tests/test-general.c:5842:
6534 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6535 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6536 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6537 ;; ERROR:libnm-core/tests/test-setting.c:907:
6538 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
45f80fce
RW
6539 (substitute* "Makefile.in"
6540 (("libnm-core/tests/test-general") " ")
6541 (("libnm-core/tests/test-keyfile") " ")
02710a9b 6542 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
45f80fce 6543 #t))
ba5dd105
SB
6544 (add-before 'check 'pre-check
6545 (lambda _
6546 ;; For the missing /etc/machine-id.
6547 (setenv "DBUS_FATAL_WARNINGS" "0")
6548 #t))
6549 (replace 'install
6550 (lambda _
45f80fce
RW
6551 (invoke "make"
6552 "sysconfdir=/tmp"
6553 "rundir=/tmp"
6554 "statedir=/tmp"
6555 "nmstatedir=/tmp/nm"
6556 "install")
6557 #t)))))
b93502d6
DC
6558 (propagated-inputs
6559 `(("glib" ,glib)))
ba5dd105
SB
6560 (native-inputs
6561 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6562 ("gobject-introspection" ,gobject-introspection)
d04687dc 6563 ("docbook-xsl" ,docbook-xsl)
ba5dd105 6564 ("intltool" ,intltool)
d04687dc
HG
6565 ("libxslt" ,libxslt)
6566 ("libxml2" ,libxml2)
ba5dd105
SB
6567 ("pkg-config" ,pkg-config)
6568 ;; For testing.
6569 ("python" ,python-wrapper)
6570 ("python-dbus" ,python-dbus)
6571 ("python-pygobject" ,python-pygobject)))
6572 (inputs
02710a9b
RW
6573 `(("coreutils" ,coreutils) ; for ls
6574 ("curl" ,curl)
856ca567
KK
6575 ("cyrus-sasl" ,cyrus-sasl)
6576 ("dbus-glib" ,dbus-glib)
ba5dd105 6577 ("dnsmasq" ,dnsmasq)
856ca567 6578 ("eudev" ,eudev)
ba5dd105
SB
6579 ("gnutls" ,gnutls)
6580 ("iptables" ,iptables)
6581 ("isc-dhcp" ,isc-dhcp)
d04687dc 6582 ("jansson" ,jansson)
ba5dd105
SB
6583 ("libgcrypt" ,libgcrypt)
6584 ("libgudev" ,libgudev)
6585 ("libndp" ,libndp)
6586 ("libnl" ,libnl)
6587 ("libsoup" ,libsoup)
142bdcbc 6588 ("modem-manager" ,modem-manager)
c27e02bf 6589 ("newt" ,newt) ;for the 'nmtui' console interface
ba5dd105
SB
6590 ("polkit" ,polkit)
6591 ("ppp" ,ppp)
6592 ("readline" ,readline)
fd070f35
CM
6593 ("util-linux" ,util-linux)
6594 ("elogind" ,elogind)))
ba5dd105 6595 (synopsis "Network connection manager")
f032d0be 6596 (home-page "https://www.gnome.org/projects/NetworkManager/")
ba5dd105
SB
6597 (description
6598 "NetworkManager is a system network service that manages your network
6599devices and connections, attempting to keep active network connectivity when
6600available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6601devices, and provides VPN integration with a variety of different VPN
6602services.")
29d2f451
LC
6603 (license license:gpl2+)
6604 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 6605
f2b96b3a
LC
6606(define-public network-manager-openvpn
6607 (package
6608 (name "network-manager-openvpn")
be1c4b07 6609 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
7d87eede 6610 (version "1.8.10")
f2b96b3a
LC
6611 (source (origin
6612 (method url-fetch)
6613 (uri (string-append
6614 "mirror://gnome/sources/NetworkManager-openvpn/"
6615 (version-major+minor version)
6616 "/NetworkManager-openvpn-" version ".tar.xz"))
6617 (sha256
6618 (base32
7d87eede 6619 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
f2b96b3a
LC
6620 (build-system gnu-build-system)
6621 (arguments
633422b0
JL
6622 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6623 #:phases
6624 (modify-phases %standard-phases
6625 (add-after 'configure 'patch-path
6626 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6627 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6628 "/sbin/openvpn"))
6629 (modprobe (string-append (assoc-ref inputs "kmod")
6630 "/bin/modprobe"))
6631 (pretty-ovpn (string-append "\"" ovpn "\"")))
6632 (for-each
6633 (lambda (file)
6634 (substitute* file
6635 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6636 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6637 (("\"/sbin/openvpn\"") pretty-ovpn)
6638 (("/sbin/modprobe") modprobe)))
6639 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6640 #t)))))
f2b96b3a
LC
6641 (native-inputs
6642 `(("pkg-config" ,pkg-config)
6643 ("intltool" ,intltool)))
6644 (inputs
6645 `(("gtk+" ,gtk+)
633422b0 6646 ("kmod" ,kmod)
f2b96b3a
LC
6647 ("openvpn" ,openvpn)
6648 ("network-manager" ,network-manager)
6649 ("network-manager-applet" ,network-manager-applet) ;for libnma
6650 ("libsecret" ,libsecret)))
6651 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6652 (synopsis "OpenVPN plug-in for NetworkManager")
6653 (description
6654 "This extension of NetworkManager allows it to take care of connections
6655to virtual private networks (VPNs) via OpenVPN.")
6656 (license license:gpl2+)
6657 (properties `((upstream-name . "NetworkManager-openvpn")))))
6658
d376129f
JL
6659(define-public network-manager-vpnc
6660 (package
6661 (name "network-manager-vpnc")
6662 (version "1.2.6")
6663 (source (origin
6664 (method url-fetch)
6665 (uri (string-append
6666 "mirror://gnome/sources/NetworkManager-vpnc/"
6667 (version-major+minor version)
6668 "/NetworkManager-vpnc-" version ".tar.xz"))
6669 (sha256
6670 (base32
6671 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6672 (build-system gnu-build-system)
6673 (arguments
6674 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6675 #:phases
6676 (modify-phases %standard-phases
6677 (add-after 'configure 'patch-path
6678 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6679 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6680 "/sbin/vpnc"))
6681 (modprobe (string-append (assoc-ref inputs "kmod")
6682 "/bin/modprobe"))
6683 (pretty-ovpn (string-append "\"" vpnc "\"")))
6684 (substitute* "src/nm-vpnc-service.c"
6685 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6686 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6687 (("\"/sbin/vpnc\"") pretty-ovpn)
6688 (("/sbin/modprobe") modprobe)))
6689 #t)))))
6690 (native-inputs
6691 `(("pkg-config" ,pkg-config)
6692 ("intltool" ,intltool)))
6693 (inputs
6694 `(("gtk+" ,gtk+)
6695 ("kmod" ,kmod)
6696 ("vpnc" ,vpnc)
6697 ("network-manager" ,network-manager)
6698 ("network-manager-applet" ,network-manager-applet) ;for libnma
6699 ("libsecret" ,libsecret)))
6700 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6701 (synopsis "VPNC plug-in for NetworkManager")
6702 (description
6703 "Support for configuring virtual private networks based on VPNC.
6704Compatible with Cisco VPN concentrators configured to use IPsec.")
6705 (license license:gpl2+)
6706 (properties `((upstream-name . "NetworkManager-vpnc")))))
6707
8378c87a
EF
6708(define-public network-manager-openconnect
6709 (package
6710 (name "network-manager-openconnect")
6711 (version "1.2.6")
6712 (source (origin
6713 (method url-fetch)
6714 (uri (string-append
6715 "mirror://gnome/sources/NetworkManager-openconnect/"
6716 (version-major+minor version)
6717 "/NetworkManager-openconnect-" version ".tar.xz"))
6718 (sha256
6719 (base32
6720 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6721 (build-system gnu-build-system)
6722 (arguments
6723 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6724 #:phases
6725 (modify-phases %standard-phases
6726 (add-after 'configure 'patch-path
6727 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6728 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6729 "/sbin/openconnect"))
6730 (modprobe (string-append (assoc-ref inputs "kmod")
6731 "/bin/modprobe"))
6732 (pretty-ovpn (string-append "\"" openconnect "\"")))
6733 (substitute* "src/nm-openconnect-service.c"
6734 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6735 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6736 (("/sbin/modprobe") modprobe)))
6737 #t)))))
6738 (native-inputs
6739 `(("intltool" ,intltool)
6740 ("network-manager-applet" ,network-manager-applet) ;for libnma
6741 ("pkg-config" ,pkg-config)))
6742 (inputs
6743 `(("gcr" ,gcr)
6744 ("gtk+" ,gtk+)
6745 ("kmod" ,kmod)
6746 ("libsecret" ,libsecret)
6747 ("libxml2" ,libxml2)
6748 ("network-manager" ,network-manager)
6749 ("openconnect" ,openconnect)))
6750 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6751 (synopsis "OpenConnect plug-in for NetworkManager")
6752 (description
6753 "This extension of NetworkManager allows it to take care of connections
6754to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6755Cisco's AnyConnect SSL VPN.")
6756 (license license:gpl2+)
e52b9534
LC
6757 (properties `((upstream-name . "NetworkManager-openconnect")
6758
6759 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6760 ;; file refers to account "nm-openconnect". Specify it here
6761 ;; so that 'network-manager-service-type' creates it.
6762 (user-accounts . ("nm-openconnect"))))))
8378c87a 6763
e5e1df4d
DC
6764(define-public mobile-broadband-provider-info
6765 (package
6766 (name "mobile-broadband-provider-info")
310c89e3 6767 (version "20190116")
e5e1df4d
DC
6768 (source (origin
6769 (method url-fetch)
6770 (uri (string-append
6771 "mirror://gnome/sources/"
6772 "mobile-broadband-provider-info/" version "/"
6773 "mobile-broadband-provider-info-" version ".tar.xz"))
6774 (sha256
6775 (base32
310c89e3 6776 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
e5e1df4d
DC
6777 (build-system gnu-build-system)
6778 (arguments
310c89e3 6779 `(#:tests? #f)) ; no tests
e5e1df4d
DC
6780 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6781 (synopsis "Database of broadband connection configuration")
6782 (description "Database of broadband connection configuration.")
6783 (license license:public-domain)))
6784
4d62a9d3
SB
6785(define-public network-manager-applet
6786 (package
6787 (name "network-manager-applet")
8fc3a337 6788 (version "1.8.24")
4d62a9d3
SB
6789 (source (origin
6790 (method url-fetch)
3df63444 6791 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
4d62a9d3 6792 (version-major+minor version) "/"
3df63444 6793 "network-manager-applet-" version ".tar.xz"))
4d62a9d3
SB
6794 (sha256
6795 (base32
8fc3a337 6796 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
cd7f718e
RW
6797 (build-system meson-build-system)
6798 (arguments
be1c4b07
TGR
6799 '(#:configure-flags
6800 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6801 (list "-Dlibnm_gtk=true")
6802 #:glib-or-gtk? #t))
4d62a9d3
SB
6803 (native-inputs
6804 `(("intltool" ,intltool)
cd7f718e 6805 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4d62a9d3 6806 ("gobject-introspection" ,gobject-introspection)
cd7f718e 6807 ("gtk-doc" ,gtk-doc)
4d62a9d3
SB
6808 ("pkg-config" ,pkg-config)))
6809 (propagated-inputs
6810 ;; libnm-gtk.pc refers to all these.
6811 `(("dbus-glib" ,dbus-glib)
6812 ("gtk+" ,gtk+)
6813 ("network-manager" ,network-manager)))
6814 (inputs
cd7f718e
RW
6815 `(("gcr" ,gcr)
6816 ("iso-codes" ,iso-codes)
4d62a9d3
SB
6817 ("libgudev" ,libgudev)
6818 ("libnotify" ,libnotify)
2116bfb3 6819 ("libsecret" ,libsecret)
240cee8a
KK
6820 ("libselinux" ,libselinux)
6821 ("jansson" ,jansson) ; for team support
3e9c80b2
FP
6822 ("modem-manager" ,modem-manager)
6823 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
4d62a9d3 6824 (synopsis "Applet for managing network connections")
f032d0be 6825 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
6826 (description
6827 "This package contains a systray applet for NetworkManager. It displays
6828the available networks and allows users to easily switch between them.")
6829 (license license:gpl2+)))
56196594
RW
6830
6831(define-public libxml++
6832 (package
6833 (name "libxml++")
8344a85e 6834 (version "3.0.1")
56196594
RW
6835 (source (origin
6836 (method url-fetch)
6837 (uri (string-append "mirror://gnome/sources/" name "/"
6838 (version-major+minor version) "/"
6839 name "-" version ".tar.xz"))
6840 (sha256
6841 (base32
8344a85e 6842 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
6843 (build-system gnu-build-system)
6844 ;; libxml++-3.0.pc refers to all these.
6845 (propagated-inputs
6846 `(("libxml2" ,libxml2)
6847 ("glibmm" ,glibmm)))
6848 (native-inputs
6849 `(("perl" ,perl)
6850 ("pkg-config" ,pkg-config)))
6851 (home-page "http://libxmlplusplus.sourceforge.net/")
6852 (synopsis "C++ wrapper for XML parser library libxml2")
6853 (description
6854 "This package provides a C++ wrapper for the XML parser library
6855libxml2.")
6856 (license license:lgpl2.1+)))
df12f04a 6857
b61d9627
AW
6858(define-public libxml++-2
6859 (package
6860 (inherit libxml++)
6861 (name "libxml++")
6862 (version "2.40.1")
6863 (source (origin
6864 (method url-fetch)
6865 (uri (string-append "mirror://gnome/sources/" name "/"
6866 (version-major+minor version) "/"
6867 name "-" version ".tar.xz"))
6868 (sha256
6869 (base32
6870 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6871
df12f04a
SB
6872(define-public gdm
6873 (package
6874 (name "gdm")
bcca95dc 6875 (version "3.32.0")
df12f04a
SB
6876 (source (origin
6877 (method url-fetch)
6878 (uri (string-append "mirror://gnome/sources/" name "/"
6879 (version-major+minor version) "/"
6880 name "-" version ".tar.xz"))
6881 (sha256
6882 (base32
bcca95dc 6883 "12ypdz9i24hwbl1d1wnnxb8zlvfa4f49n9ac5cl9d6h8qp4b0gb4"))))
957dbc0a 6884 (build-system glib-or-gtk-build-system)
df12f04a
SB
6885 (arguments
6886 '(#:configure-flags
af37e6bb 6887 `("--without-plymouth"
957dbc0a 6888 "--disable-systemd-journal"
51bc8357
TS
6889
6890 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6891 ;; instead of having to replace it (i.e., stopping the mingetty
6892 ;; service for TTY 1 before starting GDM).
6893 "--with-initial-vt=7"
6894
89c86562
TS
6895 ;; Use '/etc/environment' for locale settings instead of the
6896 ;; systemd-specific '/etc/locale.conf'.
6897 "--with-lang-file=/etc/environment"
6898
b74ef0ba
RW
6899 ,(string-append "--with-udevdir="
6900 (assoc-ref %outputs "out") "/lib/udev")
6901
af37e6bb
AW
6902 "--localstatedir=/var"
6903 ,(string-append "--with-default-path="
6904 (string-join '("/run/setuid-programs"
6905 "/run/current-system/profile/bin"
6906 "/run/current-system/profile/sbin")
957dbc0a
AW
6907 ":"))
6908 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6909 ;; XDG_DATA_DIRS so that it finds its schemas.
6910 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
6911 #:phases
6912 (modify-phases %standard-phases
6913 (add-before
6914 'configure 'pre-configure
e8c6e771 6915 (lambda* (#:key inputs outputs #:allow-other-keys)
df12f04a
SB
6916 ;; We don't have <systemd/sd-daemon.h>.
6917 (substitute* '("common/gdm-log.c"
6918 "daemon/gdm-server.c"
6919 "daemon/gdm-session-worker.c"
6920 "daemon/gdm-session-worker-job.c")
6921 (("#include <systemd/sd-daemon\\.h>") ""))
6922 ;; Use elogind for sd-login.
6923 (substitute* '("common/gdm-common.c"
6924 "daemon/gdm-manager.c"
6925 "libgdm/gdm-user-switching.c")
6926 (("#include <systemd/sd-login\\.h>")
6927 "#include <elogind/sd-login.h>"))
957dbc0a
AW
6928 ;; Check for elogind.
6929 (substitute* '("configure")
6930 (("libsystemd")
6931 "libelogind"))
af37e6bb
AW
6932 ;; Look for system-installed sessions in
6933 ;; /run/current-system/profile/share.
6934 (substitute* '("libgdm/gdm-sessions.c"
6935 "daemon/gdm-session.c"
6936 "daemon/gdm-display.c"
6937 "daemon/gdm-launch-environment.c")
6938 (("DATADIR \"/x")
6939 "\"/run/current-system/profile/share/x")
6940 (("DATADIR \"/wayland")
6941 "\"/run/current-system/profile/share/wayland")
6942 (("DATADIR \"/gnome")
6943 "\"/run/current-system/profile/share/gnome"))
c9ff92b5 6944 (let ((propagate '("GDM_CUSTOM_CONF"
1f564c15 6945 "GDM_DBUS_DAEMON"
c9ff92b5 6946 "GDM_X_SERVER"
41fa9f18 6947 "GDM_X_SESSION"
c9ff92b5
TS
6948 ;; XXX: Remove this once GNOME Shell is
6949 ;; a dependency of GDM.
6950 "XDG_DATA_DIRS")))
6951 (substitute* "daemon/gdm-session.c"
6952 (("set_up_session_environment \\(self\\);")
6953 (apply string-append
6954 "set_up_session_environment (self);\n"
6955 (map (lambda (name)
6956 (string-append
6957 "gdm_session_set_environment_variable "
6958 "(self, \"" name "\","
6959 "g_getenv (\"" name "\"));\n"))
6960 propagate)))))
a430a350
TS
6961 ;; Find the configuration file using an environment variable.
6962 (substitute* '("common/gdm-settings.c")
e0e6756f 6963 (("GDM_CUSTOM_CONF")
e57c2adb
TS
6964 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6965 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6966 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
6967 ;; Use service-supplied path to X.
6968 (substitute* '("daemon/gdm-server.c")
6969 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6970 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6971 (substitute* '("daemon/gdm-x-session.c")
1f564c15
TS
6972 (("\"dbus-daemon\"")
6973 "g_getenv (\"GDM_DBUS_DAEMON\")")
e0e6756f 6974 (("X_SERVER")
41fa9f18
TS
6975 "g_getenv (\"GDM_X_SERVER\")")
6976 (("GDMCONFDIR \"/Xsession\"")
6977 "g_getenv (\"GDM_X_SESSION\")"))
def6d6b6
TS
6978 ;; Use an absolute path for GNOME Session.
6979 (substitute* "daemon/gdm-launch-environment.c"
6980 (("\"gnome-session\"")
6981 (string-append "\"" (assoc-ref inputs "gnome-session")
6982 "/bin/gnome-session\"")))
e8c6e771
TS
6983 ;; Do not automatically select the placeholder session.
6984 (substitute* "daemon/gdm-session.c"
6985 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6986 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6987 "(g_strcmp0(search_dirs[i], \""
6988 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6989 "\") == 0 && "
6990 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6991 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
bcca95dc 6992 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
69544798 6993 #t))
8caa4589
TS
6994 ;; GDM requires that there be at least one desktop entry
6995 ;; file. This phase installs a hidden one that simply
6996 ;; fails. This enables users to use GDM with a
6997 ;; '~/.xsession' script with no other desktop entry files.
6998 ;; See <https://bugs.gnu.org/35068>.
6999 (add-after 'install 'install-placeholder-desktop-entry
7000 (lambda* (#:key inputs outputs #:allow-other-keys)
7001 (let* ((out (assoc-ref outputs "out"))
7002 (sessions (string-append out "/share/gdm/BuiltInSessions"))
7003 (fail (string-append sessions "/fail.desktop")))
7004 (mkdir-p sessions)
7005 (with-output-to-file fail
7006 (lambda ()
7007 (for-each
7008 display
7009 '("[Desktop Entry]\n"
7010 "Encoding=UTF-8\n"
7011 "Type=Application\n"
7012 "Name=Fail\n"
7013 "Comment=This session fails immediately.\n"
7014 "NoDisplay=true\n"
7015 "Exec=false\n"))))
7016 #t)))
69544798
TS
7017 ;; GDM needs GNOME Session to run these applications. We link
7018 ;; their autostart files in `share/gdm/greeter/autostart'
7019 ;; because GDM explicitly tells GNOME Session to look there.
7020 ;;
7021 ;; XXX: GNOME Shell should be linked here too, but currently
7022 ;; GNOME Shell depends on GDM.
7023 (add-after 'install 'link-autostart-files
7024 (lambda* (#:key inputs outputs #:allow-other-keys)
7025 (let* ((out (assoc-ref outputs "out"))
7026 (autostart (string-append out "/share/gdm/"
7027 "greeter/autostart"))
7028 (settings (assoc-ref inputs "gnome-settings-daemon")))
7029 (mkdir-p autostart)
7030 (with-directory-excursion autostart
7031 (for-each (lambda (desktop)
7032 (symlink desktop (basename desktop)))
7033 (find-files (string-append settings "/etc/xdg"))))
7034 #t))))))
df12f04a
SB
7035 (native-inputs
7036 `(("dconf" ,dconf)
7037 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7038 ("gobject-introspection" ,gobject-introspection)
7039 ("intltool" ,intltool)
7040 ("itstool" ,itstool)
7041 ("pkg-config" ,pkg-config)
7042 ("xmllint" ,libxml2)))
7043 (inputs
7044 `(("accountsservice" ,accountsservice)
7045 ("check" ,check) ; for testing
7046 ("elogind" ,elogind)
def6d6b6 7047 ("gnome-session" ,gnome-session)
69544798 7048 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
7049 ("gtk+" ,gtk+)
7050 ("iso-codes" ,iso-codes)
7051 ("libcanberra" ,libcanberra)
7052 ("linux-pam" ,linux-pam)))
7053 (synopsis "Display manager for GNOME")
f032d0be 7054 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
7055 (description
7056 "GNOME Display Manager is a system service that is responsible for
7057providing graphical log-ins and managing local and remote displays.")
7058 (license license:gpl2+)))
8e1dd04f
SB
7059
7060(define-public libgtop
7061 (package
7062 (name "libgtop")
015fc036 7063 (version "2.40.0")
8e1dd04f
SB
7064 (source (origin
7065 (method url-fetch)
59487fc2 7066 (uri (string-append "mirror://gnome/sources/libgtop/"
8e1dd04f 7067 (version-major+minor version) "/"
59487fc2 7068 "libgtop-" version ".tar.xz"))
8e1dd04f
SB
7069 (sha256
7070 (base32
015fc036 7071 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8e1dd04f
SB
7072 (build-system gnu-build-system)
7073 (native-inputs
7074 `(("gobject-introspection" ,gobject-introspection)
7075 ("intltool" ,intltool)
7076 ("perl" ,perl)
7077 ("pkg-config" ,pkg-config)))
7078 (propagated-inputs
7079 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7080 (synopsis "Portable system access library")
7081 (home-page "https://www.gnome.org/")
7082 (description
7083 "LibGTop is a library to get system specific data such as CPU and memory
7084usage and information about running processes.")
7085 (license license:gpl2+)))
b96c4260
SB
7086
7087(define-public gnome-bluetooth
7088 (package
7089 (name "gnome-bluetooth")
723afae6 7090 (version "3.32.1")
b96c4260
SB
7091 (source (origin
7092 (method url-fetch)
7093 (uri (string-append "mirror://gnome/sources/" name "/"
7094 (version-major+minor version) "/"
7095 name "-" version ".tar.xz"))
7096 (sha256
7097 (base32
723afae6 7098 "1am1gf0nzwg6x1s8ly13j0xnjzgrfj06j0dp52x4zy9s67ywlhb4"))))
fd3b1171 7099 (build-system meson-build-system)
b96c4260
SB
7100 (native-inputs
7101 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
fd3b1171 7102 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
b96c4260
SB
7103 ("gobject-introspection" ,gobject-introspection)
7104 ("intltool" ,intltool)
7105 ("pkg-config" ,pkg-config)
7106 ("xmllint" ,libxml2)))
7107 (propagated-inputs
7108 ;; gnome-bluetooth-1.0.pc refers to all these.
723afae6
KK
7109 `(("glib" ,glib)
7110 ("gtk+" ,gtk+)))
b96c4260 7111 (inputs
723afae6
KK
7112 `(("eudev" ,eudev)
7113 ("libcanberra" ,libcanberra)
b96c4260
SB
7114 ("libnotify" ,libnotify)))
7115 (synopsis "GNOME Bluetooth subsystem")
7116 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7117 (description
7118 "This package contains tools for managing and manipulating Bluetooth
7119devices using the GNOME desktop.")
7120 (license license:lgpl2.1+)))
b645146f
SB
7121
7122(define-public gnome-control-center
7123 (package
7124 (name "gnome-control-center")
a6938bac 7125 (version "3.32.2")
b645146f
SB
7126 (source (origin
7127 (method url-fetch)
7128 (uri (string-append "mirror://gnome/sources/" name "/"
7129 (version-major+minor version) "/"
7130 name "-" version ".tar.xz"))
7131 (sha256
7132 (base32
a6938bac 7133 "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
59dac026 7134 (build-system meson-build-system)
b645146f 7135 (arguments
59dac026
RW
7136 '(#:glib-or-gtk? #t
7137 #:configure-flags
64c70430
KK
7138 (list "-Dcheese=false"
7139 (string-append "-Dgnome_session_libexecdir="
7140 (assoc-ref %build-inputs "gnome-session")
7141 "/libexec"))
59dac026 7142 #:phases
b645146f
SB
7143 (modify-phases %standard-phases
7144 (add-before 'configure 'patch-paths
7145 (lambda* (#:key inputs #:allow-other-keys)
7146 (let ((libc (assoc-ref inputs "libc"))
1df38cfc 7147 (tzdata (assoc-ref inputs "tzdata"))
341225ac 7148 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
64c70430
KK
7149 (nm-applet (assoc-ref inputs "network-manager-applet"))
7150 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
b645146f
SB
7151 (substitute* "panels/datetime/tz.h"
7152 (("/usr/share/zoneinfo/zone.tab")
7153 (string-append tzdata "/share/zoneinfo/zone.tab")))
982c0b36 7154 (substitute* "tests/datetime/test-endianess.c"
b645146f
SB
7155 (("/usr/share/locale")
7156 (string-append libc "/share/locale")))
1df38cfc
LC
7157 (substitute* "panels/region/cc-region-panel.c"
7158 (("\"gkbd-keyboard-display")
7159 (string-append "\"" libgnomekbd
7160 "/bin/gkbd-keyboard-display")))
341225ac
LC
7161 (substitute* '("panels/network/net-device-wifi.c"
7162 "panels/network/net-device.c"
7163 "panels/network/connection-editor/net-connection-editor.c")
7164 (("\"nm-connection-editor")
7165 (string-append "\"" nm-applet
7166 "/bin/nm-connection-editor")))
1acd107c
FP
7167 (substitute* '("panels/user-accounts/run-passwd.c")
7168 (("/usr/bin/passwd")
7169 "/run/setuid-programs/passwd"))
64c70430
KK
7170 (substitute* "panels/info/cc-info-overview-panel.c"
7171 (("DATADIR \"/gnome/gnome-version.xml\"")
7172 (string-append "\"" gnome-desktop
7173 "/share/gnome/gnome-version.xml\"")))
b645146f
SB
7174 #t))))))
7175 (native-inputs
7176 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
59dac026 7177 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
b645146f
SB
7178 ("intltool" ,intltool)
7179 ("pkg-config" ,pkg-config)
a6938bac
KK
7180 ("xsltproc" ,libxslt)
7181 ;; For tests
7182 ("hicolor-icon-theme" ,hicolor-icon-theme)
7183 ("python-dbusmock" ,python-dbusmock)
7184 ("xorg-server" ,xorg-server-for-tests)))
b645146f
SB
7185 (inputs
7186 `(("accountsservice" ,accountsservice)
7187 ("clutter-gtk" ,clutter-gtk)
7188 ("colord-gtk" ,colord-gtk)
7189 ("cups" ,cups)
7190 ("dconf" ,dconf)
7191 ("docbook-xsl" ,docbook-xsl)
3446ffb5 7192 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
7193 ("gnome-bluetooth" ,gnome-bluetooth)
7194 ("gnome-desktop" ,gnome-desktop)
7195 ("gnome-online-accounts" ,gnome-online-accounts)
14c297fd 7196 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
64c70430 7197 ("gnome-session" ,gnome-session)
b645146f
SB
7198 ("gnome-settings-daemon" ,gnome-settings-daemon)
7199 ("grilo" ,grilo)
a6938bac 7200 ("gsound" ,gsound)
b645146f
SB
7201 ("ibus" ,ibus)
7202 ("libcanberra" ,libcanberra)
1df38cfc 7203 ("libgnomekbd" ,libgnomekbd)
b645146f
SB
7204 ("libgudev" ,libgudev)
7205 ("libgtop" ,libgtop)
7206 ("libpwquality" ,libpwquality)
982c0b36 7207 ("libsecret" ,libsecret)
b645146f
SB
7208 ("libsoup" ,libsoup)
7209 ("libxml2" ,libxml2)
7210 ("libwacom" ,libwacom)
7211 ("mesa" ,mesa)
7212 ("mit-krb5" ,mit-krb5)
7213 ("modem-manager" ,modem-manager)
7214 ("network-manager-applet" ,network-manager-applet)
7215 ("polkit" ,polkit)
7216 ("pulseaudio" ,pulseaudio)
7217 ("smbclient" ,samba)
7218 ("tzdata" ,tzdata)
982c0b36 7219 ("udisks" ,udisks)
b645146f
SB
7220 ("upower" ,upower)))
7221 (synopsis "Utilities to configure the GNOME desktop")
7222 (home-page "https://www.gnome.org/")
7223 (description
7224 "This package contains configuration applets for the GNOME desktop,
7225allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7226properties, sound setup, desktop theme and background, user interface
7227properties, screen resolution, and other GNOME parameters.")
7228 (license license:gpl2+)))
a4df5756
SB
7229
7230(define-public gnome-shell
7231 (package
7232 (name "gnome-shell")
d5e615ca 7233 (version "3.32.2")
a4df5756
SB
7234 (source (origin
7235 (method url-fetch)
7236 (uri (string-append "mirror://gnome/sources/" name "/"
7237 (version-major+minor version) "/"
7238 name "-" version ".tar.xz"))
7239 (sha256
7240 (base32
d5e615ca 7241 "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5"))
a76d0f03
LC
7242 (patches (search-patches "gnome-shell-theme.patch"))
7243 (modules '((guix build utils)))
7244 (snippet
7245 #~(begin
a76d0f03
LC
7246 ;; Copy images for use on the GDM log-in screen.
7247 (copy-file #$(file-append %artwork-repository
7248 "/slim/0.x/background.png")
7249 "data/theme/guix-background.png")
45fef894
LC
7250 (copy-file #$(file-append %artwork-repository
7251 "/logo/Guix-horizontal-white.svg")
7252 "data/theme/guix-logo.svg")
a76d0f03 7253 #t))))
2b0c755d 7254 (build-system meson-build-system)
a4df5756 7255 (arguments
08185081
MB
7256 `(#:glib-or-gtk? #t
7257 #:disallowed-references ((,glib "bin")
11e1df56
LC
7258 ,inkscape ,libxslt
7259 ,ruby-sass)
2b0c755d
RW
7260 #:configure-flags
7261 (list "-Dsystemd=false"
7262 ;; Otherwise, the RUNPATH will lack the final path component.
7263 (string-append "-Dc_link_args=-Wl,-rpath="
7264 (assoc-ref %outputs "out")
7265 "/lib/gnome-shell"))
11e1df56 7266
08185081 7267 #:modules ((guix build meson-build-system)
11e1df56
LC
7268 (guix build utils)
7269 (srfi srfi-1))
7270
2b0c755d 7271 #:phases
a4df5756 7272 (modify-phases %standard-phases
2b0c755d 7273 (add-after 'unpack 'fix-keysdir
a4df5756
SB
7274 (lambda* (#:key outputs #:allow-other-keys)
7275 (let* ((out (assoc-ref outputs "out"))
7276 (keysdir (string-append
7277 out "/share/gnome-control-center/keybindings")))
2b0c755d
RW
7278 (substitute* "meson.build"
7279 (("keysdir =.*")
7280 (string-append "keysdir = '" keysdir "'\n")))
7281 #t)))
ebfe259f
MB
7282 (add-before 'configure 'convert-logo-to-png
7283 (lambda* (#:key inputs #:allow-other-keys)
7284 ;; Convert the logo from SVG to PNG.
7285 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7286 "data/theme/guix-logo.svg")))
ba00235a 7287 (add-before 'configure 'record-absolute-file-names
2472cdec
LC
7288 (lambda* (#:key inputs #:allow-other-keys)
7289 (substitute* "js/misc/ibusManager.js"
7290 (("'ibus-daemon'")
7291 (string-append "'" (assoc-ref inputs "ibus")
7292 "/bin/ibus-daemon'")))
d6fda4d3
LC
7293 (substitute* "js/ui/status/keyboard.js"
7294 (("'gkbd-keyboard-display'")
7295 (string-append "'" (assoc-ref inputs "libgnomekbd")
7296 "/bin/gkbd-keyboard-display'")))
2472cdec 7297 #t))
2b0c755d
RW
7298 (add-before 'check 'pre-check
7299 (lambda* (#:key inputs #:allow-other-keys)
7300 ;; Tests require a running X server.
7301 (system "Xvfb :1 &")
7302 (setenv "DISPLAY" ":1")
7303 #t))
7304 (add-after 'install 'wrap-programs
7305 (lambda* (#:key inputs outputs #:allow-other-keys)
7306 (let ((out (assoc-ref outputs "out"))
7307 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7308 (python-path (getenv "PYTHONPATH")))
7309 (wrap-program (string-append out "/bin/gnome-shell")
7310 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7311 ;; FIXME: gnome-shell loads these libraries with unqualified
7312 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7313 ;; alternative might be to patch gnome-shell.
7314 `("LD_LIBRARY_PATH" ":" prefix
7315 ,(map (lambda (pkg)
7316 (string-append (assoc-ref inputs pkg) "/lib"))
cd8dce8a
RW
7317 '("gdk-pixbuf"
7318 "gnome-bluetooth" "librsvg" "libgweather"))))
2b0c755d
RW
7319 (for-each
7320 (lambda (prog)
7321 (wrap-program (string-append out "/bin/" prog)
7322 `("PYTHONPATH" ":" prefix (,python-path))
7323 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7324 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
08185081 7325 #t)))
11e1df56
LC
7326 (replace 'glib-or-gtk-wrap
7327 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7328 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7329 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7330 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7331 ;; phase. Fix that since we don't need these.
7332 (wrap #:inputs (fold alist-delete inputs
7333 '("inkscape" "intltool" "glib:bin"))
7334 #:outputs outputs)))))))
a4df5756
SB
7335 (native-inputs
7336 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2b0c755d 7337 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
a4df5756 7338 ("gobject-introspection" ,gobject-introspection)
ebfe259f 7339 ("inkscape" ,inkscape)
a4df5756
SB
7340 ("intltool" ,intltool)
7341 ("pkg-config" ,pkg-config)
7342 ("python" ,python)
2b0c755d
RW
7343 ("ruby-sass" ,ruby-sass)
7344 ("sassc" ,sassc)
a76d0f03 7345 ("xsltproc" ,libxslt)
2b0c755d 7346 ;; For tests
0b4504f6 7347 ("xorg-server" ,xorg-server-for-tests)))
a4df5756
SB
7348 (inputs
7349 `(("accountsservice" ,accountsservice)
7350 ("caribou" ,caribou)
7351 ("docbook-xsl" ,docbook-xsl)
7352 ("evolution-data-server" ,evolution-data-server)
7353 ("gcr" ,gcr)
7354 ("gdm" ,gdm)
c5db31d4 7355 ("gdk-pixbuf" ,gdk-pixbuf+svg)
a4df5756
SB
7356 ("gjs" ,gjs)
7357 ("gnome-bluetooth" ,gnome-bluetooth)
a4df5756
SB
7358 ("gnome-desktop" ,gnome-desktop)
7359 ("gnome-settings-daemon" ,gnome-settings-daemon)
7360 ("gst-plugins-base" ,gst-plugins-base)
7361 ("ibus" ,ibus)
7362 ("libcanberra" ,libcanberra)
7363 ("libcroco" ,libcroco)
d6fda4d3 7364 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
a4df5756
SB
7365 ("libgweather" ,libgweather)
7366 ("libsoup" ,libsoup)
7367 ("mesa-headers" ,mesa-headers)
7368 ("mutter" ,mutter)
7369 ("network-manager-applet" ,network-manager-applet)
7370 ("polkit" ,polkit)
7371 ("pulseaudio" ,pulseaudio)
7372 ("python-pygobject" ,python-pygobject)
7373 ("startup-notification" ,startup-notification)
7374 ("telepathy-logger" ,telepathy-logger)
7375 ("upower" ,upower)
30e760f0
MB
7376 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7377 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7378 ("librsvg" ,librsvg)
2b0c755d 7379 ("geoclue" ,geoclue)))
a4df5756
SB
7380 (synopsis "Desktop shell for GNOME")
7381 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7382 (description
7383 "GNOME Shell provides core user interface functions for the GNOME desktop,
7384like switching to windows and launching applications.")
7385 (license license:gpl2+)))
c3f29bc9
RS
7386
7387(define-public gtk-vnc
7388 (package
7389 (name "gtk-vnc")
965ff023 7390 (version "0.9.0")
c3f29bc9
RS
7391 (source
7392 (origin
7393 (method url-fetch)
7394 (uri (string-append "mirror://gnome/sources/" name "/"
7395 (version-major+minor version) "/"
7396 name "-" version ".tar.xz"))
7397 (sha256
7398 (base32
965ff023 7399 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
7400 (build-system gnu-build-system)
7401 (arguments
7402 '(#:configure-flags '("--with-gtk=3.0")))
7403 (propagated-inputs
7404 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7405 (inputs
7406 `(("cyrus-sasl" ,cyrus-sasl)
7407 ("gnutls" ,gnutls)
7408 ("libgcrypt" ,libgcrypt)
7409 ("pulseaudio" ,pulseaudio)))
7410 (native-inputs
7411 `(("glib:bin" ,glib "bin")
7412 ("gobject-introspection" ,gobject-introspection)
7413 ("intltool" ,intltool)
7414 ("pkg-config" ,pkg-config)
2f17e939 7415 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
7416 ("vala" ,vala)))
7417 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7418 (synopsis "VNC viewer widget for GTK+")
7419 (description
7420 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7421applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7422GTK-VNC implements client side RFB protocol and authentication extensions such
7423as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7424 (license license:lgpl2.1+)))
8b877545 7425
dc69fe18
MW
7426(define-public gnome-autoar
7427 (package
7428 (name "gnome-autoar")
c7da8510 7429 (version "0.2.3")
dc69fe18
MW
7430 (source (origin
7431 (method url-fetch)
7432 (uri (string-append "mirror://gnome/sources/" name "/"
7433 (version-major+minor version) "/"
7434 name "-" version ".tar.xz"))
7435 (sha256
7436 (base32
c7da8510 7437 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
7438 (build-system glib-or-gtk-build-system)
7439 (native-inputs
7440 `(("gnome-common" ,gnome-common)
7441 ("gobject-introspection" ,gobject-introspection)
7442 ("pkg-config" ,pkg-config)))
7443 (propagated-inputs
7444 `(("libarchive" ,libarchive))) ; XXX document why
7445 (inputs
0a6e9e13 7446 `(("gtk+" ,gtk+)))
dc69fe18
MW
7447 (synopsis "Archives integration support for GNOME")
7448 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7449 (description
7450 "GNOME Autoar is a library which makes creating and extracting archives
7451easy, safe, and automatic.")
7452 (license license:lgpl2.1+)))
7453
b64e217f
MW
7454(define-public tracker
7455 (package
7456 (name "tracker")
63db190a 7457 (version "2.3.2")
b64e217f
MW
7458 (source (origin
7459 (method url-fetch)
b5b0fd23 7460 (uri (string-append "mirror://gnome/sources/tracker/"
b64e217f 7461 (version-major+minor version) "/"
b5b0fd23 7462 "tracker-" version ".tar.xz"))
b64e217f
MW
7463 (sha256
7464 (base32
63db190a 7465 "1nzbnvwwsk6kv6kqbxwlz8vk70l9ai6b4r9qypw51vp4qy72ny54"))))
5ada561c 7466 (build-system meson-build-system)
c8bdf589 7467 (arguments
5ada561c
KK
7468 `(#:glib-or-gtk? #t
7469 #:configure-flags
7470 ;; Otherwise, the RUNPATH will lack the final path component.
7471 (list (string-append "-Dc_link_args=-Wl,-rpath="
7472 (assoc-ref %outputs "out") "/lib:"
7473 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7474 #:phases
c8bdf589 7475 (modify-phases %standard-phases
c8bdf589
RW
7476 (add-before 'check 'pre-check
7477 (lambda _
63db190a
PN
7478 ;; Some tests expect to write to $HOME.
7479 (setenv "HOME" "/tmp")
c8bdf589 7480 #t)))))
b64e217f 7481 (native-inputs
5ada561c 7482 `(("glib:bin" ,glib "bin")
b64e217f 7483 ("gobject-introspection" ,gobject-introspection)
5ada561c 7484 ("python-pygobject" ,python-pygobject)
b64e217f
MW
7485 ("intltool" ,intltool)
7486 ("pkg-config" ,pkg-config)
7487 ("vala" ,vala)))
7488 (inputs
63db190a 7489 `(("dbus" ,dbus)
44ed6284 7490 ("sqlite" ,sqlite)
b64e217f 7491 ("libxml2" ,libxml2)
63db190a 7492 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
0ef48cd9 7493 ("json-glib" ,json-glib)
63db190a 7494 ("libsoup" ,libsoup)))
b64e217f
MW
7495 (synopsis "Metadata database, indexer and search tool")
7496 (home-page "https://wiki.gnome.org/Projects/Tracker")
7497 (description
63db190a
PN
7498 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7499
7500It is a middleware component aimed at desktop application developers who want
7501their apps to browse and search user content. It's not designed to be used
7502directly by desktop users, but it provides a commandline tool named
7503@command{tracker} for the adventurous.
7504
7505Tracker allows your application to instantly perform full-text searches across
7506all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7507example. This is achieved by indexing the user's home directory in the
7508background.
7509
7510Tracker also allows your application to query and list content that the user
7511has stored. For example, GNOME Music displays all the music files that are
7512found by Tracker. This means that GNOME Music doesn't need to maintain a
7513database of its own.
7514
7515If you need to go beyond simple searches, Tracker is also a linked data
7516endpoint and it understands SPARQL. ")
7517 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
b64e217f 7518 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
63db190a 7519 ;; libstemmer is bsd-3 and the rest is gpl2+.
b64e217f 7520 (license (list license:gpl2+
63db190a
PN
7521 license:bsd-3
7522 license:lgpl2.1+))))
b64e217f 7523
03be9874
KK
7524(define-public tracker-miners
7525 (package
7526 (name "tracker-miners")
852fa605 7527 (version "2.3.2")
03be9874
KK
7528 (source (origin
7529 (method url-fetch)
7530 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7531 (version-major+minor version)
7532 "/tracker-miners-" version ".tar.xz"))
7533 (sha256
7534 (base32
852fa605 7535 "1kizavw9gbdjkw4wykgv0fcl2y6fj788nycx9p4byn6ylb1277h6"))))
03be9874
KK
7536 (build-system meson-build-system)
7537 (arguments
7538 `(#:glib-or-gtk? #t
7539 #:configure-flags
7540 (list "-Dminer_rss=false" ; libgrss is required.
7541 ;; Ensure the RUNPATH contains all installed library locations.
7542 (string-append "-Dc_link_args=-Wl,-rpath="
7543 (assoc-ref %outputs "out")
7544 "/lib/tracker-miners-2.0")
7545 ;; TODO: Enable functional tests. Currently, the following error
7546 ;; appears:
7547 ;; Exception: The functional tests require DConf to be the default
7548 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7549 "-Dfunctional_tests=false")))
7550 (native-inputs
7551 `(("dbus" ,dbus)
7552 ("intltool" ,intltool)
7553 ("glib:bin" ,glib "bin")
7554 ("gobject-introspection" ,gobject-introspection)
7555 ("pkg-config" ,pkg-config)
7556 ("python-pygobject" ,python-pygobject)))
7557 (inputs
7558 `(("exempi" ,exempi)
7559 ("ffmpeg" ,ffmpeg)
7560 ("flac" ,flac)
7561 ("giflib" ,giflib)
7562 ("glib" ,glib)
7563 ("gstreamer" ,gstreamer)
7564 ("icu4c" ,icu4c)
7565 ("libcue" ,libcue)
7566 ("libexif" ,libexif)
7567 ("libgsf" ,libgsf)
7568 ("libgxps" ,libgxps)
7569 ("libiptcdata" ,libiptcdata)
7570 ("libjpeg" ,libjpeg)
7571 ("libosinfo" ,libosinfo)
7572 ("libpng" ,libpng)
7573 ("libseccomp" ,libseccomp)
7574 ("libtiff" ,libtiff)
7575 ("libvorbis" ,libvorbis)
7576 ("libxml2" ,libxml2)
7577 ("poppler" ,poppler)
7578 ("taglib" ,taglib)
7579 ("totem-pl-parser" ,totem-pl-parser)
7580 ("tracker" ,tracker)
7581 ("upower" ,upower)
7582 ("zlib" ,zlib)))
7583 (synopsis "Metadata database, indexer and search tool")
7584 (home-page "https://wiki.gnome.org/Projects/Tracker")
7585 (description
7586 "Tracker is an advanced framework for first class objects with associated
7587metadata and tags. It provides a one stop solution for all metadata, tags,
7588shared object databases, search tools and indexing.")
7589 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7590 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7591 (license (list license:gpl2+
7592 license:lgpl2.1+
7593 license:lgpl2.0+))))
7594
8b877545
RS
7595(define-public nautilus
7596 (package
7597 (name "nautilus")
d682c599 7598 (version "3.32.3")
8b877545
RS
7599 (source (origin
7600 (method url-fetch)
7601 (uri (string-append "mirror://gnome/sources/" name "/"
7602 (version-major+minor version) "/"
7603 name "-" version ".tar.xz"))
7604 (sha256
7605 (base32
d682c599 7606 "1x9crzbj6rrrf8w5dkcx0c14j40byr4ijpzkwd5dcrbfvvdy1r01"))))
35e2d0cf 7607 (build-system meson-build-system)
8b877545 7608 (arguments
35e2d0cf 7609 '(#:glib-or-gtk? #t
8b877545
RS
7610 ;; XXX: FAIL: check-nautilus
7611 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7612 #:tests? #f))
7613 (native-inputs
35e2d0cf
R
7614 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7615 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7616 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
7617 ("gobject-introspection" ,gobject-introspection)
7618 ("intltool" ,intltool)
7619 ("pkg-config" ,pkg-config)))
8b877545 7620 (inputs
8b877545 7621 `(("dconf" ,dconf)
caf6c363 7622 ("gexiv2" ,gexiv2)
dd05e731 7623 ("gvfs" ,gvfs)
8b877545
RS
7624 ("exempi" ,exempi)
7625 ("gnome-desktop" ,gnome-desktop)
09d88905 7626 ("gnome-autoar" ,gnome-autoar)
3cafb9d4 7627 ("gst-plugins-base" ,gst-plugins-base)
ec66ebd4 7628 ("libseccomp" ,libseccomp)
35e2d0cf 7629 ("libselinux" ,libselinux)
09d88905 7630 ("tracker" ,tracker)
3cafb9d4 7631 ("tracker-miners" ,tracker-miners)
ce6027bf
SB
7632 ;; XXX: gtk+ is required by libnautilus-extension.pc
7633 ;;
7634 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7635 ;; package. See:
7636 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7637 ("gtk+" ,gtk+)
8b877545
RS
7638 ("libexif" ,libexif)
7639 ("libxml2" ,libxml2)))
7640 (synopsis "File manager for GNOME")
7641 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7642 (description
7643 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7644design and behaviour, giving the user a simple way to navigate and manage its
7645files.")
7646 (license license:gpl2+)))
3c697ffd
JR
7647
7648(define-public baobab
7649 (package
7650 (name "baobab")
e0c5f20c 7651 (version "3.32.0")
3c697ffd
JR
7652 (source (origin
7653 (method url-fetch)
7654 (uri (string-append
7655 "mirror://gnome/sources/" name "/"
7656 (version-major+minor version) "/"
7657 name "-" version ".tar.xz"))
7658 (sha256
7659 (base32
e0c5f20c 7660 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
d233d373
RJ
7661 (build-system meson-build-system)
7662 (arguments
7663 '(#:glib-or-gtk? #t))
3c697ffd
JR
7664 (native-inputs
7665 `(("intltool" ,intltool)
7666 ("pkg-config" ,pkg-config)
d233d373
RJ
7667 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7668 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
7669 ("itstool" ,itstool)
7670 ("xmllint" ,libxml2)
7671 ("glib" ,glib "bin")
7672 ("vala" ,vala)))
7673 (inputs
7674 `(("gtk+" ,gtk+)))
7675 (synopsis "Disk usage analyzer for GNOME")
7676 (description
7677 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7678usage in the GNOME desktop environment. It can easily scan device volumes or
7679a specific user-requested directory branch (local or remote). Once the scan
7680is complete it provides a graphical representation of each selected folder.")
7681 (home-page "https://wiki.gnome.org/Apps/Baobab")
7682 (license license:gpl2+)))
dc050251 7683
fdba447c
RS
7684(define-public gnome-backgrounds
7685 (package
7686 (name "gnome-backgrounds")
e04e8a8c 7687 (version "3.32.0")
fdba447c
RS
7688 (source
7689 (origin
7690 (method url-fetch)
7691 (uri (string-append "mirror://gnome/sources/" name "/"
7692 (version-major+minor version) "/"
7693 name "-" version ".tar.xz"))
7694 (sha256
7695 (base32
e04e8a8c 7696 "1s5krdmd3md44p1fgr2lqm5ifxb8s1vzx6hm11sb4cgzr4dw6lrz"))))
9ca381f0 7697 (build-system meson-build-system)
fdba447c
RS
7698 (native-inputs
7699 `(("intltool" ,intltool)))
e04e8a8c 7700 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
fdba447c
RS
7701 (synopsis "Background images for the GNOME desktop")
7702 (description
7703 "GNOME backgrounds package contains a collection of graphics files which
7704can be used as backgrounds in the GNOME Desktop environment. Additionally,
7705the package creates the proper framework and directory structure so that you
7706can add your own files to the collection.")
7707 (license (list license:gpl2+
7708 license:cc-by2.0
7709 license:cc-by-sa2.0
7710 license:cc-by-sa3.0))))
7711
b784b1a9
RS
7712(define-public gnome-screenshot
7713 (package
7714 (name "gnome-screenshot")
6acf4033 7715 (version "3.32.0")
b784b1a9
RS
7716 (source
7717 (origin
7718 (method url-fetch)
7719 (uri (string-append "mirror://gnome/sources/" name "/"
7720 (version-major+minor version) "/"
7721 name "-" version ".tar.xz"))
7722 (sha256
7723 (base32
6acf4033 7724 "09ha7dizjm5ymqpjyrqd10ijfb3xlqc1mwg9ajkrbfry11q9yq4b"))))
8356aefa 7725 (build-system meson-build-system)
b784b1a9
RS
7726 (native-inputs
7727 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8356aefa
RW
7728 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7729 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b784b1a9 7730 ("intltool" ,intltool)
8356aefa 7731 ("appstream-glib" ,appstream-glib)
b784b1a9
RS
7732 ("pkg-config" ,pkg-config)))
7733 (inputs
7734 `(("gtk+" ,gtk+)
7735 ("libcanberra" ,libcanberra)
7736 ("libx11" ,libx11)
7737 ("libxext" ,libxext)))
676e7cb4 7738 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
b784b1a9
RS
7739 (synopsis "Take pictures of your screen")
7740 (description
7741 "GNOME Screenshot is a utility used for taking screenshots of the entire
7742screen, a window or a user defined area of the screen, with optional
7743beautifying border effects.")
7744 (license license:gpl2+)))
7745
66d59111
RS
7746(define-public dconf-editor
7747 (package
7748 (name "dconf-editor")
66261451 7749 (version "3.32.0")
66d59111
RS
7750 (source
7751 (origin
7752 (method url-fetch)
7753 (uri (string-append "mirror://gnome/sources/" name "/"
7754 (version-major+minor version) "/"
7755 name "-" version ".tar.xz"))
7756 (sha256
7757 (base32
66261451 7758 "1fmsmlh16njjm948grz20mzrsvb4wjj7pl1fvkrkxqi7mhr177gi"))))
294ff39d 7759 (build-system meson-build-system)
86f2124b
LC
7760 (arguments
7761 '(#:phases (modify-phases %standard-phases
7762 (add-before 'configure 'set-glib-minimum-version
7763 (lambda _
7764 ;; Change the minimum required GLib version so that
7765 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
7766 ;; do that, it complains that "55" is not an even
7767 ;; number. See <https://bugs.gnu.org/37503>.
7768 (substitute* "editor/meson.build"
7769 (("2\\.55\\.1") "2.60.0"))
7770 #t)))))
66d59111
RS
7771 (native-inputs
7772 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
294ff39d 7773 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
66d59111 7774 ("intltool" ,intltool)
294ff39d
RW
7775 ("pkg-config" ,pkg-config)
7776 ("vala" ,vala)))
66d59111
RS
7777 (inputs
7778 `(("dconf" ,dconf)
7779 ("gtk+" ,gtk+)
7780 ("libxml2" ,libxml2)))
7781 (home-page "https://git.gnome.org/browse/dconf-editor")
7782 (synopsis "Graphical editor for GNOME's dconf configuration system")
7783 (description
7784 "Dconf-editor is a graphical tool for browsing and editing the dconf
7785configuration system for GNOME. It allows users to configure desktop
7786software that do not provide their own configuration interface.")
7787 (license license:lgpl2.1+)))
7788
96d36f38
AW
7789(define-public gnome-default-applications
7790 (package
7791 (name "gnome-default-applications")
7792 (version "0")
7793 (build-system trivial-build-system)
7794 (source #f)
7795 (propagated-inputs
8ad4f0aa
LC
7796 `(("nautilus" ,nautilus)
7797 ("evince" ,evince)))
96d36f38
AW
7798 (arguments
7799 `(#:modules ((guix build utils))
7800 #:builder
7801 (begin
7802 (use-modules (guix build utils))
7803 (let* ((out (assoc-ref %outputs "out"))
7804 (apps (string-append out "/share/applications")))
7805 (mkdir-p apps)
7806 (call-with-output-file (string-append apps "/defaults.list")
7807 (lambda (port)
7808 (format port "[Default Applications]\n")
8ad4f0aa
LC
7809 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7810 (format port "application/pdf=evince.desktop\n")
7811 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
7812 #t))))
7813 (synopsis "Default MIME type associations for the GNOME desktop")
7814 (description
7815 "Given many installed packages which might handle a given MIME type, a
7816user running the GNOME desktop probably has some preferences: for example,
7817that folders be opened by default by the Nautilus file manager, not the Baobab
7818disk usage analyzer. This package establishes that set of default MIME type
7819associations for GNOME.")
7820 (license license:gpl3+)
7821 (home-page #f)))
7822
3f1ed953
RG
7823(define-public libgovirt
7824 (package
7825 (name "libgovirt")
7826 (version "0.3.6")
7827 (source (origin
7828 (method url-fetch)
7829 (uri (string-append "mirror://gnome/sources/" name "/"
7830 (version-major+minor version) "/"
7831 name "-" version ".tar.xz"))
7832 (sha256
7833 (base32
7834 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7835 (build-system glib-or-gtk-build-system)
7836 (native-inputs
7837 `(("gettext" ,gettext-minimal)
7838 ("glib:bin" ,glib "bin")
7839 ("gobject-introspection" ,gobject-introspection)
7840 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7841 ("gtk+:bin" ,gtk+ "bin")
7842 ("pkg-config" ,pkg-config)))
7843 (inputs
7844 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7845 ("librest" ,rest)))
7846 (synopsis "GoVirt Library")
7847 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7848 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7849 (license license:gpl2+)))
7850
8672e5e9
RG
7851(define-public gnome-weather
7852 (package
7853 (name "gnome-weather")
7854 (version "3.34.0")
7855 (source (origin
7856 (method url-fetch)
7857 (uri (string-append "mirror://gnome/sources/" name "/"
7858 (version-major+minor version) "/"
7859 name "-" version ".tar.xz"))
7860 (sha256
7861 (base32
7862 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7863 (build-system meson-build-system)
7864 (native-inputs
7865 `(("gettext" ,gettext-minimal)
7866 ("glib:bin" ,glib "bin")
7867 ("gobject-introspection" ,gobject-introspection)
7868 ("gtk+:bin" ,gtk+ "bin")
7869 ("pkg-config" ,pkg-config)))
7870 (inputs
7871 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7872 ("appstream-glib" ,appstream-glib)
7873 ("geoclue" ,geoclue)
7874 ("gdk-pixbuf" ,gdk-pixbuf)
7875 ("gjs" ,gjs)
7876 ("gnome-desktop" ,gnome-desktop)
7877 ("libgweather" ,libgweather)))
7878 (synopsis "Weather monitoring for GNOME desktop")
7879 (description "GNOME Weather is a small application that allows you to
7880monitor the current weather conditions for your city, or anywhere in the
7881world.")
7882 (home-page "https://wiki.gnome.org/Apps/Weather")
7883 (license license:gpl2+)))
7884
dc050251
SB
7885(define-public gnome
7886 (package
7887 (name "gnome")
7888 (version (package-version gnome-shell))
7889 (source #f)
7890 (build-system trivial-build-system)
e3cfef22 7891 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251 7892 (propagated-inputs
8d8c6bff 7893 ;; TODO: Add or remove packages according to:
a8cda7f5 7894 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7922b6f7 7895 `(
8d8c6bff 7896 ;; GNOME-Core-OS-Services
7922b6f7 7897 ("accountsservice" ,accountsservice)
8d8c6bff
RG
7898 ("network-manager" ,network-manager)
7899 ("packagekit" ,packagekit)
7900 ("upower" ,upower)
7901 ;; GNOME-Core-Shell
7902 ("adwaita-icon-theme" ,adwaita-icon-theme)
7903 ("gdm" ,gdm)
7904 ("glib-networking" ,glib-networking)
7905 ("gnome-backgrounds" ,gnome-backgrounds)
7906 ("gnome-bluetooth" ,gnome-bluetooth)
d36fa50f 7907 ("gnome-color-manager" ,gnome-color-manager)
8d8c6bff
RG
7908 ("gnome-control-center" ,gnome-control-center)
7909 ("gnome-desktop" ,gnome-desktop)
7922b6f7 7910 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
24882d3d 7911 ("gnome-initial-setup" ,gnome-initial-setup)
8d8c6bff 7912 ("gnome-keyring" ,gnome-keyring)
7922b6f7 7913 ("gnome-menus" ,gnome-menus)
8d8c6bff
RG
7914 ("gnome-session" ,gnome-session)
7915 ("gnome-settings-daemon" ,gnome-settings-daemon)
7916 ("gnome-shell-extensions" ,gnome-shell-extensions)
7917 ("gnome-shell" ,gnome-shell)
7918 ("gnome-themes-extra" ,gnome-themes-extra)
7922b6f7 7919 ("gnome-user-docs" ,gnome-user-docs)
d36fa50f 7920 ("gnome-user-share" ,gnome-user-share)
a8cda7f5 7921 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8d8c6bff
RG
7922 ("gvfs" ,gvfs)
7923 ("mutter" ,mutter)
7924 ("orca" ,orca)
d36fa50f
RG
7925 ("rygel" ,rygel)
7926 ("sushi" ,sushi)
8d8c6bff
RG
7927 ;; GNOME-Core-Utilities
7928 ("baobab" ,baobab)
7929 ("cheese" ,cheese)
7930 ("eog" ,eog)
7931 ("epiphany" ,epiphany)
7932 ("evince" ,evince)
7933 ("file-roller" ,file-roller)
7934 ("gedit" ,gedit)
d36fa50f 7935 ; TODO: ("gnome-boxes" ,gnome-boxes)
8d8c6bff
RG
7936 ("gnome-calculator" ,gnome-calculator)
7937 ("gnome-calendar" ,gnome-calendar)
7938 ("gnome-characters" ,gnome-characters)
7939 ("gnome-clocks" ,gnome-clocks)
7940 ("gnome-contacts" ,gnome-contacts)
7941 ("gnome-disk-utility" ,gnome-disk-utility)
7942 ("gnome-font-viewer" ,gnome-font-viewer)
7943 ("gnome-maps" ,gnome-maps)
d36fa50f
RG
7944 ; TODO: ("gnome-music" ,gnome-music)
7945 ; TODO: ("gnome-photos" ,gnome-photos)
8d8c6bff
RG
7946 ("gnome-screenshot" ,gnome-screenshot)
7947 ("gnome-system-monitor" ,gnome-system-monitor)
7948 ("gnome-terminal" ,gnome-terminal)
d36fa50f 7949 ("gnome-weather" ,gnome-weather)
8d8c6bff
RG
7950 ("nautilus" ,nautilus)
7951 ("simple-scan" ,simple-scan)
7952 ("totem" ,totem)
7922b6f7
RG
7953 ("yelp" ,yelp)
7954 ;; Others
7955 ("hicolor-icon-theme" ,hicolor-icon-theme)
9f2fef4f
LC
7956 ("gnome-online-accounts" ,gnome-online-accounts)
7957
7958 ;; Packages not part of GNOME proper but that are needed for a good
7959 ;; experience. See <https://bugs.gnu.org/39646>.
7960 ;; XXX: Find out exactly which ones are needed and why.
7961 ("font-cantarell" ,font-cantarell)
7962 ("font-dejavu" ,font-dejavu)
7963 ("at-spi2-core" ,at-spi2-core)
7964 ("dbus" ,dbus)
7965 ("dconf" ,dconf)
7966 ("desktop-file-utils" ,desktop-file-utils)
7967 ("gnome-default-applications" ,gnome-default-applications)
7968 ("gnome-themes-standard" ,gnome-themes-standard)
7969 ("gst-plugins-base" ,gst-plugins-base)
7970 ("gst-plugins-good" ,gst-plugins-good)
7971 ("gucharmap" ,gucharmap)
7972 ("pinentry-gnome3" ,pinentry-gnome3)
7973 ("pulseaudio" ,pulseaudio)
7974 ("shared-mime-info" ,shared-mime-info)
7975 ("system-config-printer" ,system-config-printer)
7976 ("xdg-user-dirs" ,xdg-user-dirs)
7977 ("yelp" ,yelp)
7978 ("zenity" ,zenity)))
fe4e698d 7979 (synopsis "The GNU desktop environment")
dc050251
SB
7980 (home-page "https://www.gnome.org/")
7981 (description
fe4e698d
LC
7982 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7983applications for browsing the web, editing text and images, creating
7984documents and diagrams, playing media, scanning, and much more.")
dc050251 7985 (license license:gpl2+)))
4a526711
DT
7986
7987(define-public byzanz
7988 ;; The last stable release of Byzanz was in 2011, but there have been many
7989 ;; useful commits made to the Byzanz repository since then that it would be
7990 ;; silly to use such an old release.
7991 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7992 (package
7993 (name "byzanz")
7994 (version (string-append "0.2-1." (string-take commit 7)))
7995 (source (origin
7996 (method git-fetch)
7997 (uri (git-reference
5f13bf09 7998 (url "https://git.gnome.org/browse/byzanz")
4a526711 7999 (commit commit)))
5a6527e4 8000 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
8001 (sha256
8002 (base32
8003 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
8004 (build-system glib-or-gtk-build-system)
8005 (arguments
8006 '(#:phases
8007 (modify-phases %standard-phases
189be331 8008 (replace 'bootstrap
4a526711
DT
8009 (lambda _
8010 ;; The build system cleverly detects that we're not building from
8011 ;; a release tarball and turns on -Werror for GCC.
8012 ;; Unsurprisingly, there is a warning during compilation that
8013 ;; causes the build to fail unnecessarily, so we remove the flag.
8014 (substitute* '("configure.ac")
8015 (("-Werror") ""))
8016 ;; The autogen.sh script in gnome-common will run ./configure
8017 ;; by default, which is problematic because source shebangs
8018 ;; have not yet been patched.
8019 (setenv "NOCONFIGURE" "t")
8020 (zero? (system* "sh" "autogen.sh")))))))
8021 (native-inputs
8022 `(("autoconf" ,autoconf)
8023 ("automake" ,automake)
8024 ("gnome-common" ,gnome-common)
8025 ("intltool" ,intltool)
8026 ("libtool" ,libtool)
8027 ("pkg-config" ,pkg-config)
8028 ("which" ,which)))
8029 (inputs
8030 `(("glib" ,glib)
8031 ("gstreamer" ,gstreamer)
8032 ("gst-plugins-base" ,gst-plugins-base)
8033 ("gtk+" ,gtk+)))
8034 (synopsis "Desktop recording program")
8035 (description "Byzanz is a simple desktop recording program with a
8036command-line interface. It can record part or all of an X display for a
8037specified duration and save it as a GIF encoded animated image file.")
8038 (home-page "https://git.gnome.org/browse/byzanz")
8039 (license license:gpl2+))))
3a9a4c51 8040
0ec171ec
MS
8041(define-public gsound
8042 (package
8043 (name "gsound")
8044 (version "1.0.2")
8045 (source (origin
8046 (method url-fetch)
8047 (uri (string-append "mirror://gnome/sources/" name "/"
8048 (version-major+minor version) "/"
8049 name "-" version ".tar.xz"))
8050 (sha256
8051 (base32
8052 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8053 (build-system glib-or-gtk-build-system)
8054 (native-inputs
8055 `(("pkg-config" ,pkg-config)
8056 ("gobject-introspection" ,gobject-introspection)
8057 ("vala" ,vala)))
8058 (inputs
8059 `(("glib" ,glib)
8060 ("libcanberra" ,libcanberra)))
8061 (home-page "https://wiki.gnome.org/Projects/GSound")
8062 (synopsis "GObject wrapper for libcanberra")
8063 (description
8064 "GSound is a small library for playing system sounds. It's designed to be
8065used via GObject Introspection, and is a thin wrapper around the libcanberra C
8066library.")
8067 (license license:lgpl2.1+)))
8068
3a9a4c51
RS
8069(define-public libzapojit
8070 (package
8071 (name "libzapojit")
8072 (version "0.0.3")
8073 (source (origin
8074 (method url-fetch)
8075 (uri (string-append "mirror://gnome/sources/" name "/"
8076 (version-major+minor version) "/"
8077 name "-" version ".tar.xz"))
8078 (sha256
8079 (base32
8080 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8081 (build-system gnu-build-system)
8082 (native-inputs
8083 `(("gobject-introspection" ,gobject-introspection)
8084 ("intltool" ,intltool)
8085 ("pkg-config" ,pkg-config)))
8086 (inputs
14c297fd 8087 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
3a9a4c51
RS
8088 ("json-glib" ,json-glib)
8089 ("rest" ,rest)))
8090 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8091 (synopsis "Library for accessing SkyDrive and Hotmail")
8092 (description
8093 "Libzapojit is a GLib-based library for accessing online service APIs of
8094Microsoft SkyDrive and Hotmail, using their REST protocols.")
8095 (license license:lgpl2.1+)))
9365ee1c 8096
60e2a9ae
MS
8097(define-public gnome-clocks
8098 (package
8099 (name "gnome-clocks")
c76d0dbc 8100 (version "3.32.0")
60e2a9ae
MS
8101 (source (origin
8102 (method url-fetch)
8103 (uri (string-append "mirror://gnome/sources/" name "/"
8104 (version-major+minor version) "/"
8105 name "-" version ".tar.xz"))
8106 (sha256
8107 (base32
c76d0dbc 8108 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
60e2a9ae
MS
8109 (build-system meson-build-system)
8110 (arguments
8111 '(#:glib-or-gtk? #t))
8112 (native-inputs
8113 `(("vala" ,vala)
8114 ("pkg-config" ,pkg-config)
8115 ("glib" ,glib "bin") ; for glib-compile-resources
8116 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8117 ("desktop-file-utils" ,desktop-file-utils)
8118 ("gettext" ,gettext-minimal)
8119 ("itstool" ,itstool)))
8120 (inputs
8121 `(("glib" ,glib)
8122 ("gtk+" ,gtk+)
8123 ("gsound" ,gsound)
8124 ("geoclue" ,geoclue)
8125 ("geocode-glib" ,geocode-glib)
8126 ("libgweather" ,libgweather)
8127 ("gnome-desktop" ,gnome-desktop)))
8128 (home-page "https://wiki.gnome.org/Apps/Clocks")
8129 (synopsis "GNOME's clock application")
8130 (description
8131 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8132desktop. It supports world clock, stop watch, alarms, and count down timer.")
8133 (license license:gpl3+)))
8134
3c474897
KY
8135(define-public gnome-calendar
8136 (package
8137 (name "gnome-calendar")
339b59bf 8138 (version "3.32.2")
3c474897
KY
8139 (source (origin
8140 (method url-fetch)
8141 (uri (string-append "mirror://gnome/sources/" name "/"
8142 (version-major+minor version) "/"
8143 name "-" version ".tar.xz"))
8144 (sha256
8145 (base32
339b59bf 8146 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
a49d3e37
MS
8147 (build-system meson-build-system)
8148 (arguments
8149 '(#:glib-or-gtk? #t
8150 ;; gnome-calendar has to be installed before the tests can be run
8151 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8152 #:tests? #f))
3c474897 8153 (native-inputs
a49d3e37
MS
8154 `(("gettext" ,gettext-minimal)
8155 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8156 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
8157 ("pkg-config" ,pkg-config)))
8158 (inputs
a49d3e37 8159 `(("evolution-data-server" ,evolution-data-server)
14c297fd 8160 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
a286b5eb
RW
8161 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8162 ("libdazzle" ,libdazzle)
b63c06f1 8163 ("libedataserverui" ,evolution-data-server)
a286b5eb
RW
8164 ("libgweather" ,libgweather)
8165 ("geoclue" ,geoclue)))
3c474897
KY
8166 (home-page "https://wiki.gnome.org/Apps/Calendar")
8167 (synopsis "GNOME's calendar application")
8168 (description
8169 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 8170desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
8171 (license license:gpl3+)))
8172
57b14665
MS
8173(define-public gnome-todo
8174 (package
8175 (name "gnome-todo")
9f3c6c88 8176 (version "3.28.1")
57b14665
MS
8177 (source (origin
8178 (method url-fetch)
8179 (uri (string-append "mirror://gnome/sources/" name "/"
8180 (version-major+minor version) "/"
8181 name "-" version ".tar.xz"))
8182 (sha256
8183 (base32
9f3c6c88 8184 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
57b14665
MS
8185 (build-system meson-build-system)
8186 (arguments
8187 '(#:glib-or-gtk? #t
8188 #:phases (modify-phases %standard-phases
8189 (add-after
8190 'install 'wrap-gnome-todo
8191 (lambda* (#:key inputs outputs #:allow-other-keys)
8192 (let ((out (assoc-ref outputs "out"))
8193 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8194 (python-path (getenv "PYTHONPATH")))
8195 (wrap-program (string-append out "/bin/gnome-todo")
8196 ;; XXX: gi plugins are broken.
8197 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8198 ;; For plugins.
8199 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8200 `("PYTHONPATH" ":" prefix (,python-path))))
8201 #t)))))
8202 (native-inputs
8203 `(("gettext" ,gettext-minimal)
8204 ("gobject-introspection" ,gobject-introspection)
8205 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8206 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8207 ("pkg-config" ,pkg-config)))
8208 (inputs
8209 `(("rest" ,rest) ; For Todoist plugin
8210 ("json-glib" ,json-glib) ; For Todoist plugin
b63c06f1 8211 ("libedataserverui" ,evolution-data-server)
57b14665
MS
8212 ("libical" ,libical)
8213 ("libpeas" ,libpeas)
8214 ("python-pygobject" ,python-pygobject)
8215 ("evolution-data-server" ,evolution-data-server)
14c297fd 8216 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
57b14665
MS
8217 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8218 (home-page "https://wiki.gnome.org/Apps/Todo")
8219 (synopsis "GNOME's ToDo Application")
8220 (description
8221 "GNOME To Do is a simplistic personal task manager designed to perfectly
8222fit the GNOME desktop.")
8223 (license license:gpl3+)))
8224
ab179eaf
SB
8225(define-public gnome-dictionary
8226 (package
8227 (name "gnome-dictionary")
cf81ddef 8228 (version "3.26.1")
ab179eaf
SB
8229 (source (origin
8230 (method url-fetch)
8231 (uri (string-append "mirror://gnome/sources/" name "/"
8232 (version-major+minor version) "/"
8233 name "-" version ".tar.xz"))
8234 (sha256
8235 (base32
cf81ddef
LC
8236 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8237 (build-system meson-build-system)
2776b5d5
MB
8238 (arguments '(#:glib-or-gtk? #t
8239 #:phases (modify-phases %standard-phases
8240 (add-after 'unpack 'patch-install-script
8241 (lambda _
8242 ;; This script attempts to compile glib schemas
8243 ;; and create an empty MIME database. We do
8244 ;; that elsewhere, so prevent it from running.
8245 (substitute* "build-aux/post-install.sh"
8246 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8247 #t)))))
ab179eaf
SB
8248 (native-inputs
8249 `(("glib:bin" ,glib "bin")
8250 ("gobject-introspection" ,gobject-introspection)
8251 ("intltool" ,intltool)
8252 ("itstool" ,itstool)
8253 ("pkg-config" ,pkg-config)
8254 ("xmllint" ,libxml2)))
8255 (inputs
8256 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8257 ("gtk+" ,gtk+)))
8258 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8259 (synopsis "Look up words in dictionary sources")
8260 (description
8261 "GNOME Dictionary can look for the definition or translation of a word in
8262existing databases over the internet.")
8263 (license license:gpl3+)))
8264
d13f3a03 8265(define-public gnome-tweaks
9365ee1c 8266 (package
d13f3a03 8267 (name "gnome-tweaks")
652af676 8268 (version "3.32.0")
9365ee1c
JN
8269 (source (origin
8270 (method url-fetch)
d13f3a03 8271 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9365ee1c 8272 (version-major+minor version) "/"
d13f3a03
RW
8273 "gnome-tweaks-" version ".tar.xz"))
8274 (patches
8275 (list (search-patch "gnome-tweaks-search-paths.patch")))
9365ee1c
JN
8276 (sha256
8277 (base32
652af676 8278 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
d13f3a03 8279 (build-system meson-build-system)
9365ee1c 8280 (arguments
d13f3a03
RW
8281 `(#:glib-or-gtk? #t
8282 #:configure-flags '("-Dlocalstatedir=/tmp"
8283 "-Dsysconfdir=/tmp")
9365ee1c 8284 #:imported-modules ((guix build python-build-system)
d13f3a03
RW
8285 ,@%meson-build-system-modules)
8286 #:phases
8287 (modify-phases %standard-phases
8288 (add-after 'install 'wrap
8289 (@@ (guix build python-build-system) wrap))
8290 (add-after 'wrap 'wrap-gi-typelib
8291 (lambda* (#:key inputs outputs #:allow-other-keys)
8292 (let ((out (assoc-ref outputs "out"))
8293 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8294 (wrap-program (string-append out "/bin/gnome-tweaks")
8295 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8296 #t)))))
9365ee1c 8297 (native-inputs
c7fc414e
RH
8298 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8299 ("intltool" ,intltool)
9365ee1c
JN
8300 ("pkg-config" ,pkg-config)))
8301 (inputs
c7fc414e
RH
8302 `(("gnome-desktop" ,gnome-desktop)
8303 ("gtk+" ,gtk+)
9365ee1c
JN
8304 ("gobject-introspection" ,gobject-introspection)
8305 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
8306 ("libnotify" ,libnotify)
8307 ("libsoup" ,libsoup)
8308 ("nautilus" ,nautilus)
8309 ("python" ,python)
8310 ("python-pygobject" ,python-pygobject)))
9365ee1c 8311 (synopsis "Customize advanced GNOME 3 options")
d13f3a03 8312 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9365ee1c 8313 (description
d13f3a03 8314 "GNOME Tweaks allows adjusting advanced configuration settings in
9365ee1c
JN
8315GNOME 3. This includes things like the fonts used in user interface elements,
8316alternative user interface themes, changes in window management behavior,
8317GNOME Shell appearance and extension, etc.")
8318 (license license:gpl3+)))
813f814a 8319
d13f3a03
RW
8320;; This package has been renamed by upstream.
8321(define-public gnome-tweak-tool
8322 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
8323
32ac717c
DT
8324(define-public gnome-shell-extensions
8325 (package
8326 (name "gnome-shell-extensions")
ae4c05e0 8327 (version "3.32.1")
32ac717c
DT
8328 (source (origin
8329 (method url-fetch)
8330 (uri (string-append "mirror://gnome/sources/" name "/"
8331 (version-major+minor version) "/"
8332 name "-" version ".tar.xz"))
8333 (sha256
8334 (base32
ae4c05e0 8335 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
100f625b 8336 (build-system meson-build-system)
32ac717c 8337 (arguments
100f625b 8338 '(#:configure-flags '("-Dextension_set=all")))
32ac717c 8339 (native-inputs
c9ea8873
LP
8340 `(("glib:bin" ,glib "bin")
8341 ("intltool" ,intltool)
32ac717c
DT
8342 ("pkg-config" ,pkg-config)))
8343 (propagated-inputs
c9ea8873 8344 `(("glib" ,glib)))
32ac717c
DT
8345 (synopsis "Extensions for GNOME Shell")
8346 (description "GNOME Shell extensions modify and extend GNOME Shell
8347functionality and behavior.")
8348 (home-page "https://extensions.gnome.org/")
8349 (license license:gpl3+)))
8350
813f814a
DT
8351(define-public arc-theme
8352 (package
8353 (name "arc-theme")
37781323 8354 (version "20190917")
813f814a 8355 (source (origin
a18f8eaf
BH
8356 (method git-fetch)
8357 (uri (git-reference
8358 (url "https://github.com/NicoHood/arc-theme.git")
8359 (commit version)))
8360 (file-name (git-file-name name version))
813f814a
DT
8361 (sha256
8362 (base32
37781323 8363 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
813f814a 8364 (build-system gnu-build-system)
d88884fa
EF
8365 (arguments
8366 '(#:phases
8367 (modify-phases %standard-phases
8368 ;; autogen.sh calls configure at the end of the script.
8369 (replace 'bootstrap
4690e3a4
MC
8370 (lambda _ (invoke "autoreconf" "-vfi")))
8371 (add-before 'build 'set-home ;placate Inkscape
8372 (lambda _
8373 (setenv "HOME" (getcwd))
8374 #t)))))
813f814a
DT
8375 (native-inputs
8376 `(("autoconf" ,autoconf)
8377 ("automake" ,automake)
a18f8eaf
BH
8378 ("glib" ,glib "bin") ; for glib-compile-resources
8379 ("gnome-shell" ,gnome-shell)
8380 ("gtk+" ,gtk+)
8381 ("inkscape" ,inkscape)
8382 ("optipng" ,optipng)
8383 ("pkg-config" ,pkg-config)
bed24ecf 8384 ("sassc" ,sassc/libsass-3.5)))
813f814a
DT
8385 (synopsis "A flat GTK+ theme with transparent elements")
8386 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
83872, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8388like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8389 (home-page "https://github.com/horst3180/arc-theme")
8390 ;; No "or later" language found.
a18f8eaf 8391 (license license:gpl3+)))
9987c57c 8392
d935e6a1 8393(define-public faba-icon-theme
9987c57c 8394 (package
d935e6a1 8395 (name "faba-icon-theme")
2eee7ee3 8396 (version "4.3")
d935e6a1
BT
8397 (source
8398 (origin
757e4027
TGR
8399 (method git-fetch)
8400 (uri (git-reference
8401 (url "https://github.com/snwh/faba-icon-theme.git")
8402 (commit (string-append "v" version))))
8403 (file-name (git-file-name name version))
d935e6a1 8404 (sha256
757e4027 8405 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
f6a9b345 8406 (build-system meson-build-system)
9987c57c 8407 (arguments
82da291a 8408 `(#:phases
9987c57c 8409 (modify-phases %standard-phases
82da291a 8410 (add-before 'configure 'disable-post-install
9987c57c 8411 (lambda _
82da291a
JL
8412 (substitute* "meson.build"
8413 (("meson.add_install_script.*") "")))))))
9987c57c
DT
8414 (native-inputs
8415 `(("autoconf" ,autoconf)
8416 ("automake" ,automake)))
d935e6a1
BT
8417 (synopsis "Faba icon theme")
8418 (description
8419 "Faba is a minimal icon set used as a basis for other themes such as
8420Moka")
8421 (home-page "https://snwh.org/moka")
8422 (license (list license:lgpl3+
8423 license:cc-by-sa4.0))))
8424
9987c57c
DT
8425(define-public moka-icon-theme
8426 (package
8b0e4177 8427 (inherit faba-icon-theme)
9987c57c 8428 (name "moka-icon-theme")
105a3625 8429 (version "5.4.0")
8c3f2170
TGR
8430 (source
8431 (origin
8432 (method git-fetch)
8433 (uri (git-reference
8434 (url "https://github.com/snwh/moka-icon-theme.git")
8435 (commit (string-append "v" version))))
8436 (file-name (git-file-name name version))
8437 (sha256
8438 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
550281fb
BT
8439 (propagated-inputs
8440 ;; Moka is based on Faba by using it as a fallback icon set instead of
8441 ;; bundling it, so we need to add it as a propagated input.
8442 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
8443 (synopsis "Moka icon theme")
8444 (description "Moka is a stylized desktop icon set, designed to be clear,
8445simple and consistent.")
fedde43b
BT
8446 (license (list license:gpl3+
8447 license:cc-by-sa4.0))))
6fd8f8d6
DT
8448
8449(define-public arc-icon-theme
8450 (package
8451 (name "arc-icon-theme")
c4180240 8452 (version "20161122")
bbf66cbf
TGR
8453 (source
8454 (origin
8455 (method git-fetch)
8456 (uri (git-reference
8457 (url "https://github.com/horst3180/arc-icon-theme.git")
8458 (commit version)))
8459 (file-name (git-file-name name version))
8460 (sha256
8461 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
6fd8f8d6 8462 (build-system gnu-build-system)
9e1ede95
JL
8463 (arguments
8464 `(#:phases
8465 (modify-phases %standard-phases
8466 (add-after 'unpack 'disable-configure-during-bootstrap
8467 (lambda _
8468 (substitute* "autogen.sh"
8469 (("^\"\\$srcdir/configure\".*") ""))
8470 #t)))))
6fd8f8d6
DT
8471 (native-inputs
8472 `(("autoconf" ,autoconf)
8473 ("automake" ,automake)))
8474 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8475 (propagated-inputs
8476 `(("moka-icon-theme" ,moka-icon-theme)))
8477 (synopsis "Arc icon theme")
8478 (description "The Arc icon theme provides a set of icons matching the
8479style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8480the Moka icon theme.")
8481 (home-page "https://github.com/horst3180/arc-icon-theme")
8482 (license license:gpl3+)))
6064a4e8
LF
8483
8484(define-public folks
8485 (package
8486 (name "folks")
d23495fa 8487 (version "0.11.4")
6064a4e8
LF
8488 (source (origin
8489 (method url-fetch)
8490 (uri (string-append
e5f4796e 8491 "mirror://gnome/sources/folks/"
6064a4e8 8492 (version-major+minor version) "/"
e5f4796e 8493 "folks-" version ".tar.xz"))
6064a4e8
LF
8494 (sha256
8495 (base32
d23495fa 8496 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6064a4e8
LF
8497 (build-system glib-or-gtk-build-system)
8498 (inputs
8499 `(("bdb" ,bdb)
8500 ("dbus-glib" ,dbus-glib)
8501 ("evolution-data-server" ,evolution-data-server)
8502 ("glib" ,glib)
8503 ("libgee" ,libgee)
8504 ("telepathy-glib" ,telepathy-glib)))
8505 (native-inputs
8506 `(("gobject-introspection" ,gobject-introspection)
8507 ("intltool" ,intltool)
8508 ("pkg-config" ,pkg-config)
8509 ("vala" ,vala)))
8510 (synopsis "Library to aggregate data about people")
8511 (description "Libfolks is a library that aggregates information about people
8512from multiple sources (e.g., Telepathy connection managers for IM contacts,
8513Evolution Data Server for local contacts, libsocialweb for web service contacts,
8514etc.) to create metacontacts. It's written in Vala, which generates C code when
8515compiled.")
8516 (home-page "https://wiki.gnome.org/Projects/Folks")
8517 (license license:lgpl2.1+)))
01ea778f
LF
8518
8519(define-public gfbgraph
8520 (package
8521 (name "gfbgraph")
8522 (version "0.2.3")
8523 (source (origin
8524 (method url-fetch)
8525 (uri (string-append
237d4cf7 8526 "mirror://gnome/sources/gfbgraph/"
01ea778f 8527 (version-major+minor version) "/"
237d4cf7 8528 "gfbgraph-" version ".tar.xz"))
01ea778f
LF
8529 (sha256
8530 (base32
8531 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8532 (build-system glib-or-gtk-build-system)
8533 (arguments
8534 `(#:tests? #f ; Tests appear to require the network.
8535 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8536 #:configure-flags '("--disable-gtk-doc"
8537 "--disable-static"
8538 "--enable-introspection")))
8539 (native-inputs
8540 `(("pkg-config" ,pkg-config)
8541 ("gobject-introspection" ,gobject-introspection)))
8542 (inputs
8543 `(("json-glib" ,json-glib)
14c297fd 8544 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
01ea778f
LF
8545 ("rest" ,rest)))
8546 (synopsis "GLib/GObject wrapper for the Facebook API")
8547 (description "This library allows you to use the Facebook API from
8548GLib/GObject code.")
8549 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8550 (license license:lgpl2.1+)))
3920868c 8551
8552(define-public libgnomekbd
8553 (package
8554 (name "libgnomekbd")
70f2b0f9 8555 (version "3.26.1")
3920868c 8556 (source (origin
8557 (method url-fetch)
d47fa82d 8558 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
3920868c 8559 (version-major+minor version) "/"
d47fa82d 8560 "libgnomekbd-" version ".tar.xz"))
3920868c 8561 (sha256
8562 (base32
70f2b0f9 8563 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
3920868c 8564 (build-system gnu-build-system)
8565 (native-inputs
8566 `(("pkg-config" ,pkg-config)
8567 ("glib" ,glib "bin")
8568 ("intltool" ,intltool)))
8569 (propagated-inputs
8570 ;; Referred to in .h files and .pc.
8571 `(("glib" ,glib)
8572 ("gtk+" ,gtk+)
8573 ("libxklavier" ,libxklavier)))
8574 (home-page "https://www.gnome.org")
8575 (synopsis "GNOME keyboard configuration library")
8576 (description
8577 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8578environment, which can notably display keyboard layouts.")
8579 (license license:lgpl2.0+)))
85327d0d 8580
8581;;; This package is no longer maintained:
8582;;; https://wiki.gnome.org/Attic/LibUnique
8583;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8584;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8585(define-public libunique
8586 (package
8587 (name "libunique")
8588 (version "3.0.2")
8589 (source (origin
8590 (method url-fetch)
8591 (uri (string-append "mirror://gnome/sources/" name "/"
8592 (version-major+minor version) "/"
8593 name "-" version ".tar.xz"))
8594 (sha256
8595 (base32
8596 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8597 (build-system glib-or-gtk-build-system)
8598 (arguments
8599 `(#:configure-flags '("--disable-static"
8600 "--disable-dbus" ; use gdbus
8601 "--enable-introspection")))
8602 (native-inputs
8603 `(("pkg-config" ,pkg-config)
8604 ("gobject-introspection" ,gobject-introspection)
8605 ("glib:bin" ,glib "bin")
8606 ("gtk-doc" ,gtk-doc)))
8607 (propagated-inputs
8608 ;; Referred to in .h files and .pc.
8609 `(("gtk+" ,gtk+)))
8610 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8611 (synopsis "Library for writing single instance applications")
8612 (description
8613 "Libunique is a library for writing single instance applications. If you
8614launch a single instance application twice, the second instance will either just
8615quit or will send a message to the running instance. Libunique makes it easy to
8616write this kind of application, by providing a base class, taking care of all
8617the IPC machinery needed to send messages to a running instance, and also
8618handling the startup notification side.")
8619 (license license:lgpl2.1+)))
54021cd8
RS
8620
8621(define-public gnome-calculator
8622 (package
8623 (name "gnome-calculator")
07ace641 8624 (version "3.32.2")
54021cd8
RS
8625 (source
8626 (origin
8627 (method url-fetch)
8628 (uri (string-append "mirror://gnome/sources/" name "/"
8629 (version-major+minor version) "/"
8630 name "-" version ".tar.xz"))
8631 (sha256
8632 (base32
07ace641 8633 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
2d475910
RW
8634 (build-system meson-build-system)
8635 (arguments '(#:glib-or-gtk? #t))
54021cd8
RS
8636 (native-inputs
8637 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
2d475910 8638 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
54021cd8
RS
8639 ("intltool" ,intltool)
8640 ("itstool" ,itstool)
2d475910 8641 ("vala" ,vala)
54021cd8
RS
8642 ("pkg-config" ,pkg-config)))
8643 (inputs
112e9083 8644 `(("glib" ,glib)
07ace641 8645 ("gtksourceview" ,gtksourceview)
54021cd8 8646 ("libsoup" ,libsoup)
112e9083 8647 ("libxml2" ,libxml2)
2c2da7ec 8648 ("mpc" ,mpc)
54021cd8
RS
8649 ("mpfr" ,mpfr)))
8650 (home-page "https://wiki.gnome.org/Apps/Calculator")
8651 (synopsis "Desktop calculator")
8652 (description
8653 "Calculator is an application that solves mathematical equations and
8654is suitable as a default application in a Desktop environment.")
8655 (license license:gpl3)))
0bd69759
RS
8656
8657(define-public xpad
8658 (package
8659 (name "xpad")
c85626bb 8660 (version "5.1.0")
0bd69759
RS
8661 (source
8662 (origin
8663 (method url-fetch)
08fda9c6
R
8664 (uri (string-append "https://launchpad.net/xpad/trunk/"
8665 version "/+download/"
0bd69759
RS
8666 name "-" version ".tar.bz2"))
8667 (sha256
8668 (base32
c85626bb 8669 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
8670 (build-system gnu-build-system)
8671 (native-inputs
08fda9c6
R
8672 `(("autoconf" ,autoconf)
8673 ("automake" ,automake)
8674 ("gtk+:bin" ,gtk+ "bin")
8675 ("intltool" ,intltool)
0bd69759
RS
8676 ("pkg-config" ,pkg-config)))
8677 (inputs
c72647fb 8678 `(("gtksourceview" ,gtksourceview-3)
0bd69759
RS
8679 ("libsm" ,libsm)))
8680 (home-page "https://wiki.gnome.org/Apps/Xpad")
8681 (synopsis "Virtual sticky note")
8682 (description
8683 "Xpad is a sticky note that strives to be simple, fault tolerant,
8684and customizable. Xpad consists of independent pad windows, each is
8685basically a text box in which notes can be written.")
8686 (license license:gpl3+)))
3ad7dce1
RS
8687
8688(define-public gucharmap
c60063ea
RW
8689 (let ((unicode-files
8690 '(("Blocks.txt"
1f8b5515 8691 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
c60063ea 8692 ("DerivedAge.txt"
1f8b5515 8693 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
c60063ea 8694 ("NamesList.txt"
1f8b5515 8695 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
c60063ea 8696 ("Scripts.txt"
1f8b5515 8697 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
c60063ea 8698 ("UnicodeData.txt"
1f8b5515 8699 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
c60063ea 8700 ("Unihan.zip"
1f8b5515 8701 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
c60063ea
RW
8702 (package
8703 (name "gucharmap")
1f8b5515 8704 (version "12.0.1")
c60063ea
RW
8705 (source
8706 (origin
8707 (method url-fetch)
8708 (uri (string-append "mirror://gnome/sources/" name "/"
8709 (version-major+minor version) "/"
8710 name "-" version ".tar.xz"))
8711 (sha256
8712 (base32
1f8b5515 8713 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
c60063ea
RW
8714 (build-system glib-or-gtk-build-system)
8715 (arguments
8716 `(#:modules ((ice-9 match)
8717 (guix build glib-or-gtk-build-system)
8718 (guix build utils))
8719 #:configure-flags
8720 (list "--with-unicode-data=../unicode-data")
8721 #:phases
8722 (modify-phases %standard-phases
8723 (add-after 'unpack 'prepare-unicode-data
8724 (lambda* (#:key inputs #:allow-other-keys)
8725 (mkdir-p "../unicode-data")
8726 (with-directory-excursion "../unicode-data"
8727 (for-each (match-lambda
8728 ((file _)
8729 (install-file (assoc-ref inputs file) ".")))
8730 ',unicode-files))
8731 #t)))))
8732 (native-inputs
8733 `(("desktop-file-utils" ,desktop-file-utils)
8734 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8735 ("gobject-introspection" ,gobject-introspection)
8736 ("intltool" ,intltool)
8737 ("itstool" ,itstool)
8738 ("pkg-config" ,pkg-config)
8739 ,@(map (match-lambda
8740 ((file hash)
8741 `(,file
8742 ,(origin
8743 (method url-fetch)
8744 (uri (string-append
1f8b5515 8745 "http://www.unicode.org/Public/12.0.0/ucd/"
c60063ea
RW
8746 file))
8747 (sha256 (base32 hash))))))
8748 unicode-files)
8749 ("unzip" ,unzip)))
8750 (inputs
8751 `(("gtk+" ,gtk+)
8752 ("xmllint" ,libxml2)))
8753 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8754 (synopsis "Unicode character picker and font browser")
8755 (description
8756 "This program allows you to browse through all the available Unicode
3ad7dce1
RS
8757characters and categories for the installed fonts, and to examine their
8758detailed properties. It is an easy way to find the character you might
8759only know by its Unicode name or code point.")
c60063ea 8760 (license license:gpl3+))))
04ce840a
RS
8761
8762(define-public bluefish
8763 (package
8764 (name "bluefish")
290fe81d 8765 (version "2.2.11")
04ce840a
RS
8766 (source
8767 (origin
8768 (method url-fetch)
8769 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
99aa7a2d 8770 "bluefish-" version ".tar.gz"))
04ce840a 8771 (sha256
290fe81d 8772 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
04ce840a
RS
8773 (build-system gnu-build-system)
8774 (native-inputs
8775 `(("desktop-file-utils" ,desktop-file-utils)
8776 ("intltool" ,intltool)
8777 ("pkg-config" ,pkg-config)))
8778 (inputs
8779 `(("enchant" ,enchant)
8780 ("gtk+" ,gtk+)
290fe81d 8781 ("python" ,python-wrapper)
04ce840a
RS
8782 ("xmllint" ,libxml2)
8783 ("gucharmap" ,gucharmap)))
8784 (home-page "http://bluefish.openoffice.nl")
8785 (synopsis "Web development studio")
8786 (description
8787 "Bluefish is an editor targeted towards programmers and web developers,
8788with many options to write web sites, scripts and other code.
8789Bluefish supports many programming and markup languages.")
8790 (license license:gpl3+)))
1f6a73ee
RS
8791
8792(define-public gnome-system-monitor
8793 (package
8794 (name "gnome-system-monitor")
083cffaf 8795 (version "3.32.1")
1f6a73ee
RS
8796 (source
8797 (origin
8798 (method url-fetch)
8799 (uri (string-append "mirror://gnome/sources/" name "/"
8800 (version-major+minor version) "/"
8801 name "-" version ".tar.xz"))
8802 (sha256
8803 (base32
083cffaf 8804 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
85fb3df3
RW
8805 (build-system meson-build-system)
8806 (arguments
8807 '(#:glib-or-gtk? #t
8808 #:configure-flags '("-Dsystemd=false")))
1f6a73ee
RS
8809 (native-inputs
8810 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
85fb3df3 8811 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
1f6a73ee
RS
8812 ("intltool" ,intltool)
8813 ("itstool" ,itstool)
8814 ("libgtop" ,libgtop)
4985d9aa 8815 ("polkit" ,polkit)
1f6a73ee
RS
8816 ("pkg-config" ,pkg-config)))
8817 (inputs
8818 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8819 ("gtk+" ,gtk+)
8820 ("gtkmm" ,gtkmm)
8821 ("librsvg" ,librsvg)
4985d9aa
RW
8822 ("libxml2" ,libxml2)
8823 ("libwnck" ,libwnck)))
1f6a73ee
RS
8824 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8825 (synopsis "Process viewer and system resource monitor for GNOME")
8826 (description
8827 "GNOME System Monitor is a GNOME process viewer and system monitor with
8828an attractive, easy-to-use interface. It has features, such as a tree view
8829for process dependencies, icons for processes, the ability to hide processes,
8830graphical time histories of CPU/memory/swap usage and the ability to
8831kill/reinice processes.")
8832 (license license:gpl2+)))
3e00ac47
SB
8833
8834(define-public python-pyatspi
8835 (package
8836 (name "python-pyatspi")
4f937a32 8837 (version "2.34.0")
3e00ac47
SB
8838 (source (origin
8839 (method url-fetch)
8840 (uri (string-append
8841 "mirror://gnome/sources/pyatspi/"
8842 (version-major+minor version)
8843 "/pyatspi-" version ".tar.xz"))
8844 (sha256
8845 (base32
4f937a32 8846 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
3e00ac47 8847 (build-system gnu-build-system)
b95af3f6
JL
8848 (arguments
8849 `(#:phases
8850 (modify-phases %standard-phases
8851 (add-before 'build 'fix-atk-load
8852 (lambda _
8853 (substitute* "pyatspi/__init__.py"
8854 (("from gi.repository import Atspi")
8855 "gi.require_version('Gtk', '3.0')
8856from gi.repository import Gtk
8857from gi.repository import Atspi"))
8858 #t)))))
3e00ac47
SB
8859 (native-inputs
8860 `(("pkg-config" ,pkg-config)))
8861 (inputs
8862 `(("python" ,python)
8863 ("python-pygobject" ,python-pygobject)))
8864 (synopsis "Python client bindings for D-Bus AT-SPI")
8865 (home-page "https://wiki.linuxfoundation.org/accessibility\
8866/atk/at-spi/at-spi_on_d-bus")
8867 (description
8868 "This package includes a python client library for the AT-SPI D-Bus
8869accessibility infrastructure.")
8870 (license license:lgpl2.0)
8871 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
8872
8873(define-public orca
8874 (package
8875 (name "orca")
089e8585 8876 (version "3.32.0")
53201c0d
SB
8877 (source (origin
8878 (method url-fetch)
8879 (uri (string-append
8880 "mirror://gnome/sources/" name "/"
8881 (version-major+minor version) "/"
8882 name "-" version ".tar.xz"))
8883 (sha256
8884 (base32
089e8585 8885 "05jqzlg0f1x53hyl0l9282ynmw37159g6dsbrid12b7sjs12cc1i"))))
53201c0d
SB
8886 (build-system glib-or-gtk-build-system)
8887 (arguments
8888 '(#:phases
8889 (modify-phases %standard-phases
8890 (add-before 'configure 'qualify-xkbcomp
8891 (lambda* (#:key inputs #:allow-other-keys)
8892 (let ((xkbcomp (string-append
8893 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8894 (substitute* "src/orca/orca.py"
8895 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8896 #t))
8897 (add-after 'install 'wrap-orca
8898 (lambda* (#:key outputs #:allow-other-keys)
8899 (let* ((out (assoc-ref outputs "out"))
8900 (prog (string-append out "/bin/orca")))
8901 (wrap-program prog
8902 `("GI_TYPELIB_PATH" ":" prefix
8903 (,(getenv "GI_TYPELIB_PATH")))
8904 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8905 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8906 `("PYTHONPATH" ":" prefix
8907 (,(getenv "PYTHONPATH")))))
8908 #t)))))
8909 (native-inputs
8910 `(("intltool" ,intltool)
8911 ("itstool" ,itstool)
8912 ("pkg-config" ,pkg-config)
8913 ("xmllint" ,libxml2)))
8914 (inputs
8915 `(("at-spi2-atk" ,at-spi2-atk)
8916 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8917 ("gstreamer" ,gstreamer)
8918 ("gst-plugins-base" ,gst-plugins-base)
8919 ("gst-plugins-good" ,gst-plugins-good)
8920 ("gtk+" ,gtk+)
8921 ("python" ,python)
8922 ("python-pygobject" ,python-pygobject)
8923 ("python-pyatspi" ,python-pyatspi)
8924 ("python-speechd" ,speech-dispatcher)
8925 ("xkbcomp" ,xkbcomp)))
8926 (synopsis
8927 "Screen reader for individuals who are blind or visually impaired")
8928 (home-page "https://wiki.gnome.org/Projects/Orca")
8929 (description
8930 "Orca is a screen reader that provides access to the graphical desktop
8931via speech and refreshable braille. Orca works with applications and toolkits
8932that support the Assistive Technology Service Provider Interface (AT-SPI).")
8933 (license license:lgpl2.1+)))
411ba511
LC
8934
8935(define-public gspell
8936 (package
8937 (name "gspell")
7a6bbe9b 8938 (version "1.8.2")
411ba511
LC
8939 (source (origin
8940 (method url-fetch)
8941 (uri (string-append "mirror://gnome/sources/" name "/"
8942 (version-major+minor version) "/"
8943 name "-" version ".tar.xz"))
8944 (sha256
8945 (base32
7a6bbe9b 8946 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
411ba511
LC
8947 (patches (search-patches "gspell-dash-test.patch"))))
8948 (build-system glib-or-gtk-build-system)
8949 (arguments
8950 '(#:phases
8951 (modify-phases %standard-phases
8952 (add-before 'check 'pre-check
8953 (lambda* (#:key inputs #:allow-other-keys)
8954 ;; Tests require a running X server.
8955 (system "Xvfb :1 &")
8956 (setenv "DISPLAY" ":1")
8957
8958 ;; For the missing /etc/machine-id.
8959 (setenv "DBUS_FATAL_WARNINGS" "0")
8960
8961 ;; Allow Enchant and its Aspell backend to find the en_US
8962 ;; dictionary.
8963 (setenv "ASPELL_DICT_DIR"
8964 (string-append (assoc-ref inputs "aspell-dict-en")
8965 "/lib/aspell"))
8966 #t)))))
8967 (inputs
eccd35be 8968 `(("gtk+" ,gtk+)
a801ae4c
TGR
8969 ("glib" ,glib)
8970 ("iso-codes" ,iso-codes)))
411ba511
LC
8971 (native-inputs
8972 `(("glib" ,glib "bin")
26ba3f07 8973 ("gobject-introspection" ,gobject-introspection)
411ba511
LC
8974 ("pkg-config" ,pkg-config)
8975 ("xmllint" ,libxml2)
8976
8977 ;; For tests.
a801ae4c 8978 ("aspell-dict-en" ,aspell-dict-en)
ff337525 8979 ("xorg-server" ,xorg-server-for-tests)))
eccd35be 8980 (propagated-inputs
9b1bb757 8981 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
8982 (home-page "https://wiki.gnome.org/Projects/gspell")
8983 (synopsis "GNOME's alternative spell checker")
8984 (description
8985 "gspell provides a flexible API to add spell-checking to a GTK+
8986application. It provides a GObject API, spell-checking to text entries and
8987text views, and buttons to choose the language.")
8988 (license license:gpl2+)))
d1d739fa
CM
8989
8990(define-public gnome-planner
8991 (package
8992 (name "gnome-planner")
8993 (version "0.14.6")
8994 (source (origin
8995 (method url-fetch)
8996 (uri (string-append "mirror://gnome/sources/planner/"
8997 (version-major+minor version) "/planner-"
8998 version ".tar.xz"))
8999 (sha256
9000 (base32
9001 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
9002 (build-system glib-or-gtk-build-system)
9003 (arguments
9004 ;; Disable the Python bindings because the Planner program functions
9005 ;; without them, and (as of 2017-06-13) we have not packaged all of
9006 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
9007 `(#:configure-flags
9008 (list "--disable-python"
9009 ,@(if (string=? "aarch64-linux" (%current-system))
9010 '("--build=aarch64-unknown-linux-gnu")
9011 '()))))
d1d739fa
CM
9012 (inputs
9013 `(("libgnomecanvas" ,libgnomecanvas)
9014 ("libgnomeui" ,libgnomeui)
9015 ("libglade" ,libglade)
9016 ("gnome-vfs" ,gnome-vfs)
9017 ("gconf" ,gconf)
9018 ("libxml2" ,libxml2)
9019 ("libxslt" ,libxslt)
9020 ("gtk+" ,gtk+)
9021 ("glib" ,glib)))
9022 (native-inputs
9023 `(("intltool" ,intltool)
9024 ("scrollkeeper" ,scrollkeeper)
9025 ("pkg-config" ,pkg-config)))
9026 (home-page "https://wiki.gnome.org/Apps/Planner")
9027 (synopsis "Project management software for the GNOME desktop")
9028 (description
9029 "GNOME Planner is a project management tool based on the Work Breakdown
9030Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9031the resources, tasks, and constraints that you define, Planner generates
9032various views into a project. For example, Planner can show a Gantt chart of
9033the project. It can show a detailed summary of tasks including their
9034duration, cost, and current progress. It can also show a report of resource
9035utilization that highlights under-utilized and over-utilized resources. These
9036views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 9037 (license license:gpl2+)))
64fce637
RS
9038
9039(define-public lollypop
9040 (package
9041 (name "lollypop")
ca32627a 9042 (version "1.2.7")
64fce637
RS
9043 (source
9044 (origin
9045 (method url-fetch)
b98eace8 9046 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
ca32627a 9047 "08f973788c7ca46d9285eec2ac818edb/"
3275d43d 9048 "lollypop-" version ".tar.xz"))
64fce637 9049 (sha256
ca32627a 9050 (base32 "0hvq6m4i62i0m63bg4gzpfb9rv1fk6vq5jl2g3ppcgm4srmfm77j"))))
aa498fc0 9051 (build-system meson-build-system)
64fce637
RS
9052 (arguments
9053 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
9054 ,@%meson-build-system-modules)
9055 #:glib-or-gtk? #t
5fc9b6c1
EF
9056 #:tests? #f ; no test suite
9057 #:phases
9058 (modify-phases %standard-phases
5fc9b6c1
EF
9059 (add-after 'install 'wrap-program
9060 (lambda* (#:key outputs #:allow-other-keys)
9061 (let ((out (assoc-ref outputs "out"))
9062 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9063 (wrap-program (string-append out "/bin/lollypop")
9064 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9065 #t))
8ac8b3b3
TGR
9066 (add-after 'install 'wrap-python
9067 (@@ (guix build python-build-system) wrap))
9068 (add-after 'install 'wrap-glib-or-gtk
9069 (@@ (guix build glib-or-gtk-build-system) wrap-all-programs)))))
64fce637
RS
9070 (native-inputs
9071 `(("intltool" ,intltool)
9072 ("itstool" ,itstool)
aa498fc0
TD
9073 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9074 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
9075 ("pkg-config" ,pkg-config)))
9076 (inputs
9077 `(("gobject-introspection" ,gobject-introspection)
8ac8b3b3 9078 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5fc9b6c1 9079 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
9080 ("libnotify" ,libnotify)
9081 ("libsecret" ,libsecret)
9082 ("libsoup" ,libsoup)
9083 ("python" ,python)
9084 ("python-beautifulsoup4" ,python-beautifulsoup4)
9085 ("python-gst" ,python-gst)
d029afdd 9086 ("python-pil" ,python-pillow)
64fce637 9087 ("python-pycairo" ,python-pycairo)
7460f346 9088 ("python-pygobject" ,python-pygobject-3.34)
64fce637
RS
9089 ("python-pylast" ,python-pylast)
9090 ("totem-pl-parser" ,totem-pl-parser)
9091 ("webkitgtk" ,webkitgtk)))
9092 (propagated-inputs
9093 `(;; gst-plugins-base is required to start Lollypop,
9094 ;; the others are required to play streaming.
64fce637
RS
9095 ("gst-plugins-good" ,gst-plugins-good)
9096 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 9097 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
9098 (synopsis "GNOME music playing application")
9099 (description
9100 "Lollypop is a music player designed to play well with GNOME desktop.
9101Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9102from artists and tracks from the web. It also fetches cover artworks
9103automatically and it can stream songs from online music services and charts.")
9104 (license license:gpl3+)))
d831d49d
AW
9105
9106(define-public gnome-video-effects
9107 (package
9108 (name "gnome-video-effects")
9109 (version "0.4.3")
9110 (source (origin
9111 (method url-fetch)
9112 (uri (string-append "mirror://gnome/sources/" name "/"
9113 (version-major+minor version) "/" name "-"
9114 version ".tar.xz"))
9115 (sha256
9116 (base32
9117 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9118 (build-system glib-or-gtk-build-system)
9119 (arguments
9120 `(#:out-of-source? #f))
9121 (native-inputs
9122 `(("glib:bin" ,glib "bin")
9123 ("intltool" ,intltool)
9124 ("gettext" ,gettext-minimal)
9125 ("pkg-config" ,pkg-config)))
9126 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9127 (synopsis "Video effects for Cheese and other GNOME applications")
9128 (description
9129 "A collection of GStreamer video filters and effects to be used in
9130photo-booth-like software, such as Cheese.")
9131 (license license:gpl2+)))
3511c780
AW
9132
9133(define-public cheese
9134 (package
9135 (name "cheese")
dd33b337 9136 (version "3.32.1")
3511c780
AW
9137 (source (origin
9138 (method url-fetch)
9139 (uri (string-append "mirror://gnome/sources/" name "/"
9140 (version-major+minor version) "/" name "-"
9141 version ".tar.xz"))
9142 (sha256
9143 (base32
dd33b337 9144 "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv"))))
3511c780
AW
9145 (arguments
9146 ;; Tests require GDK.
9147 `(#:tests? #f
9148 #:phases
9149 (modify-phases %standard-phases
9150 (add-before 'install 'skip-gtk-update-icon-cache
9151 (lambda _
9152 ;; Don't create 'icon-theme.cache'
9153 (substitute* "Makefile"
9154 (("gtk-update-icon-cache") (which "true")))
9155 #t))
9156 (add-after 'install 'wrap-cheese
9157 (lambda* (#:key inputs outputs #:allow-other-keys)
9158 (let ((out (assoc-ref outputs "out"))
9159 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9160 (wrap-program (string-append out "/bin/cheese")
9161 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9162 #t)))))
9163 (build-system glib-or-gtk-build-system)
9164 (native-inputs
9165 `(("glib:bin" ,glib "bin")
9166 ("intltool" ,intltool)
9167 ("itstool" ,itstool)
9168 ("libxml2" ,libxml2)
9169 ("pkg-config" ,pkg-config)
9170 ("vala" ,vala)))
9171 (propagated-inputs
6a19f03e
RW
9172 `(("gnome-video-effects" ,gnome-video-effects)
9173 ("clutter" ,clutter)
3511c780
AW
9174 ("clutter-gst" ,clutter-gst)
9175 ("clutter-gtk" ,clutter-gtk)
6a19f03e 9176 ("libcanberra" ,libcanberra)
3511c780
AW
9177 ("gdk-pixbuf" ,gdk-pixbuf)
9178 ("glib" ,glib)
6a19f03e
RW
9179 ("gstreamer" ,gstreamer)))
9180 (inputs
9181 `(("gnome-desktop" ,gnome-desktop)
3511c780 9182 ("gobject-introspection" ,gobject-introspection)
3511c780
AW
9183 ("gst-plugins-base" ,gst-plugins-base)
9184 ("gst-plugins-bad" ,gst-plugins-bad)
9185 ("gtk+" ,gtk+)
3511c780
AW
9186 ("libx11" ,libx11)
9187 ("libxtst" ,libxtst)))
9188 (home-page "https://wiki.gnome.org/Apps/Cheese")
9189 (synopsis "Webcam photo booth software for GNOME")
9190 (description
9191 "Cheese uses your webcam to take photos and videos. Cheese can also
9192apply fancy special effects and lets you share the fun with others.")
9193 (license license:gpl2+)))
3c5dbd2b 9194
9195(define-public sound-juicer
9196 (package
9197 (name "sound-juicer")
9198 (version "3.24.0")
9199 (source
9200 (origin
9201 (method url-fetch)
9202 (uri (string-append "mirror://gnome/sources/" name "/"
9203 (version-major+minor version) "/"
9204 name "-" version ".tar.xz"))
9205 (sha256
9206 (base32
9207 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9208 (build-system glib-or-gtk-build-system)
9209 (native-inputs
9210 `(("desktop-file-utils" ,desktop-file-utils)
9211 ("intltool" ,intltool)
9212 ("itstool" ,itstool)
9213 ("pkg-config" ,pkg-config)
9214 ("xmllint" ,libxml2)))
9215 (inputs
9216 `(("gtk+" ,gtk+)
9217 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9218 ("gstreamer" ,gstreamer)
9219 ("gst-plugins-base" ,gst-plugins-base)
9220 ("gst-plugins-good" ,gst-plugins-good)
9221 ("iso-codes" ,iso-codes)
9222 ("libbrasero-media3" ,brasero)
9223 ("libcanberra" ,libcanberra)
9224 ("libdiscid" ,libdiscid)
9225 ("libmusicbrainz" ,libmusicbrainz)
9226 ("neon" ,neon)))
9227 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9228 (synopsis "Audio music cd ripper")
9229 (description "Sound Juicer extracts audio from compact discs and convert it
9230into audio files that a personal computer or digital audio player can play.
9231It supports ripping to any audio codec supported by a GStreamer plugin, such as
9232mp3, Ogg Vorbis and FLAC")
9233 (license license:gpl2+)))
4e3fdeb7 9234
0d3f1708
CB
9235(define-public soundconverter
9236 (package
9237 (name "soundconverter")
fa75a213 9238 (version "3.0.1")
0d3f1708
CB
9239 (source
9240 (origin
9241 (method url-fetch)
9242 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9243 version "/+download/"
9244 "soundconverter-" version ".tar.xz"))
9245
9246 (sha256
fa75a213 9247 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
0d3f1708
CB
9248 (patches
9249 (search-patches
9250 "soundconverter-remove-gconf-dependency.patch"))))
9251 (build-system glib-or-gtk-build-system)
9252 (arguments
9253 `(#:imported-modules ((guix build python-build-system)
9254 (guix build glib-or-gtk-build-system)
9255 ,@%gnu-build-system-modules)
9256
9257 #:modules ((guix build glib-or-gtk-build-system)
9258 (guix build utils)
9259 ((guix build gnu-build-system) #:prefix gnu:)
9260 ((guix build python-build-system) #:prefix python:))
9261
9262 #:phases
9263 (modify-phases %standard-phases
0d3f1708
CB
9264 (add-after 'install 'wrap-soundconverter-for-python
9265 (assoc-ref python:%standard-phases 'wrap))
9266 (add-after 'install 'wrap-soundconverter
9267 (lambda* (#:key inputs outputs #:allow-other-keys)
9268 (let ((out (assoc-ref outputs "out"))
9269 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9270 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9271 (wrap-program (string-append out "/bin/soundconverter")
9272 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9273 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9274 #t)))))
9275 (native-inputs
9276 `(("intltool" ,intltool)
9277 ("pkg-config" ,pkg-config)
9278 ("glib:bin" ,glib "bin")))
9279 (inputs
9280 `(("gtk+" ,gtk+)
9281 ("python" ,python)
9282 ("python-pygobject" ,python-pygobject)
9283 ("gstreamer" ,gstreamer)
9284 ("gst-plugins-base" ,gst-plugins-base)))
e42399e8 9285 (home-page "https://soundconverter.org/")
0d3f1708
CB
9286 (synopsis "Convert between audio formats with a graphical interface")
9287 (description
9288 "SoundConverter supports converting between many audio formats including
9289Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9290configurable file renaming. ")
9291 (license license:gpl3)))
9292
4e3fdeb7 9293(define-public workrave
89f2d736
TGR
9294 (package
9295 (name "workrave")
aa51d92c 9296 (version "1.10.34")
89f2d736
TGR
9297 (source
9298 (origin
9299 (method git-fetch)
9300 (uri (git-reference
9301 (url "https://github.com/rcaelers/workrave.git")
c2e50474
TGR
9302 (commit (string-append "v" (string-map
9303 (match-lambda (#\. #\_) (chr chr))
9304 version)))))
89f2d736
TGR
9305 (file-name (git-file-name name version))
9306 (sha256
aa51d92c 9307 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
89f2d736 9308 (build-system glib-or-gtk-build-system)
d1c96847
MC
9309 (inputs `(("glib" ,glib)
9310 ("gtk+" ,gtk+)
9311 ("gdk-pixbuf" ,gdk-pixbuf)
9312 ("gtkmm" ,gtkmm)
9313 ("glibmm" ,glibmm)
9314 ("libx11" ,libx11)
9315 ("libxtst" ,libxtst)
9316 ("dconf" ,dconf)
9317 ("libice" ,libice)
9318 ("libsm" ,libsm)
9319 ("libxscrnsaver" ,libxscrnsaver)))
aa51d92c 9320 (native-inputs `(("boost" ,boost)
89f2d736
TGR
9321 ("pkg-config" ,pkg-config)
9322 ("gettext" ,gnu-gettext)
9323 ("autoconf" ,autoconf)
9324 ("autoconf-archive" , autoconf-archive)
9325 ("automake" ,automake)
9326 ("libtool" ,libtool)
9327 ("intltool" ,intltool)
89f2d736 9328 ("gobject-introspection" ,gobject-introspection)
aa51d92c
MC
9329 ("python3" ,python-3)
9330 ("python-jinja2" ,python-jinja2)))
89f2d736
TGR
9331 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9332 (description
9333 "Workrave is a program that assists in the recovery and prevention of
cc00249b
TGR
9334repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9335micro-pauses and rest breaks, and restricts you to your daily limit.")
89f2d736
TGR
9336 (home-page "http://www.workrave.org")
9337 (license license:gpl3+)))
312afa7d
LC
9338
9339(define-public ghex
9340 (package
9341 (name "ghex")
3748992a 9342 (version "3.18.4")
312afa7d
LC
9343 (source (origin
9344 (method url-fetch)
2fbab848 9345 (uri (string-append "mirror://gnome/sources/ghex/"
312afa7d 9346 (version-major+minor version) "/"
2fbab848 9347 "ghex-" version ".tar.xz"))
312afa7d
LC
9348 (sha256
9349 (base32
3748992a
KK
9350 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9351 (build-system meson-build-system)
9352 (arguments
9353 '(#:glib-or-gtk? #t
9354 #:phases
9355 (modify-phases %standard-phases
9356 (add-after 'unpack 'skip-gtk-update-icon-cache
9357 ;; Don't create 'icon-theme.cache'.
9358 (lambda _
9359 (substitute* "meson_post_install.py"
9360 (("gtk-update-icon-cache") (which "true")))
9361 #t)))))
312afa7d
LC
9362 (native-inputs
9363 `(("pkg-config" ,pkg-config)
3748992a 9364 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
312afa7d
LC
9365 ("gnome-common" ,gnome-common)
9366 ("which" ,which)
9367 ("intltool" ,intltool)
9368 ("yelp-tools" ,yelp-tools)
2fbab848 9369 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
312afa7d
LC
9370 (inputs
9371 `(("atk" ,atk)
9372 ("gtk" ,gtk+)))
9373 (synopsis "GNOME hexadecimal editor")
9374 (description "The GHex program can view and edit files in two ways:
9375hexadecimal or ASCII. It is useful for editing binary files in general.")
9376 (home-page "https://wiki.gnome.org/Apps/Ghex")
9377 (license license:gpl2)))
4b2ed6c2
RW
9378
9379(define-public libdazzle
9380 (package
9381 (name "libdazzle")
64fa66ba 9382 (version "3.33.90")
4b2ed6c2
RW
9383 (source (origin
9384 (method url-fetch)
687b4909 9385 (uri (string-append "mirror://gnome/sources/libdazzle/"
4b2ed6c2 9386 (version-major+minor version) "/"
687b4909 9387 "libdazzle-" version ".tar.xz"))
4b2ed6c2
RW
9388 (sha256
9389 (base32
64fa66ba 9390 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
4b2ed6c2
RW
9391 (build-system meson-build-system)
9392 (arguments
9393 `(#:phases
9394 (modify-phases %standard-phases
4b2ed6c2
RW
9395 (add-before 'check 'pre-check
9396 (lambda _
9397 ;; Tests require a running X server.
9398 (system "Xvfb :1 &")
9399 (setenv "DISPLAY" ":1")
9400 #t)))))
9401 (native-inputs
687b4909 9402 `(("glib" ,glib "bin") ; glib-compile-resources
4b2ed6c2 9403 ("pkg-config" ,pkg-config)
687b4909 9404 ;; For tests.
ff337525 9405 ("xorg-server" ,xorg-server-for-tests)))
4b2ed6c2
RW
9406 (inputs
9407 `(("glib" ,glib)
9408 ("gobject-introspection" ,gobject-introspection)
9409 ("gtk+" ,gtk+)
9410 ("vala" ,vala)))
9411 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9412 (synopsis "Companion library to GObject and Gtk+")
9413 (description "The libdazzle library is a companion library to GObject and
9414Gtk+. It provides various features that the authors wish were in the
9415underlying library but cannot for various reasons. In most cases, they are
9416wildly out of scope for those libraries. In other cases, they are not quite
9417generic enough to work for everyone.")
9418 (license license:gpl3+)))
7d3bb433
RW
9419
9420(define-public evolution
9421 (package
9422 (name "evolution")
06141f83 9423 (version "3.32.4")
7d3bb433
RW
9424 (source (origin
9425 (method url-fetch)
9426 (uri (string-append "mirror://gnome/sources/evolution/"
9427 (version-major+minor version) "/"
9428 "evolution-" version ".tar.xz"))
9429 (sha256
9430 (base32
06141f83 9431 "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh"))))
7d3bb433
RW
9432 (build-system cmake-build-system)
9433 (arguments
5229bea1
KK
9434 `(#:imported-modules (,@%cmake-build-system-modules
9435 (guix build glib-or-gtk-build-system))
9436 #:modules ((guix build cmake-build-system)
9437 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9438 (guix build utils))
9439 #:configure-flags
7d3bb433 9440 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
5229bea1 9441 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
7d3bb433 9442 ; in four years and cannot be built.
5229bea1
KK
9443 #:phases
9444 (modify-phases %standard-phases
9445 ;; The build system attempts to install user interface modules to the
9446 ;; output directory of the "evolution-data-server" package. This
9447 ;; change redirects that change.
9448 (add-after 'unpack 'patch-ui-module-dir
9449 (lambda* (#:key outputs #:allow-other-keys)
9450 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9451 (("\\$\\{edsuimoduledir\\}")
9452 (string-append (assoc-ref outputs "out")
9453 "/lib/evolution-data-server/ui-modules")))
9454 #t))
9455 (add-after 'install 'glib-or-gtk-compile-schemas
9456 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9457 (add-after 'install 'glib-or-gtk-wrap
9458 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
7d3bb433 9459 (native-inputs
ad6e168b 9460 `(("glib" ,glib "bin") ; glib-mkenums
7d3bb433
RW
9461 ("pkg-config" ,pkg-config)
9462 ("intltool" ,intltool)
9463 ("itstool" ,itstool)))
9464 (inputs
9465 `(("enchant" ,enchant)
9466 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9467 ("gcr" ,gcr)
ad6e168b 9468 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7d3bb433
RW
9469 ("gnome-autoar" ,gnome-autoar)
9470 ("gnome-desktop" ,gnome-desktop)
9471 ("gtkspell3" ,gtkspell3)
9472 ("highlight" ,highlight)
9473 ("libcanberra" ,libcanberra)
b63c06f1 9474 ("libedataserverui" ,evolution-data-server)
7d3bb433
RW
9475 ("libgweather" ,libgweather)
9476 ("libnotify" ,libnotify)
9477 ("libsoup" ,libsoup)
9478 ("nss" ,nss)
9479 ("openldap" ,openldap)
9480 ("webkitgtk" ,webkitgtk)
9481 ("ytnef" ,ytnef)))
9482 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9483 (synopsis "Manage your email, contacts and schedule")
9484 (description "Evolution is a personal information management application
9485that provides integrated mail, calendaring and address book
9486functionality.")
9487 ;; See COPYING for details.
23dbe621 9488 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7d3bb433 9489 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
23dbe621 9490 license:lgpl2.1+)))) ; smime/lib/*
169d63f5
AT
9491
9492(define-public gthumb
9493 (package
9494 (name "gthumb")
8280676b 9495 (version "3.8.2")
169d63f5
AT
9496 (source (origin
9497 (method url-fetch)
9498 (uri (string-append "mirror://gnome/sources/gthumb/"
9499 (version-major+minor version) "/"
9500 "gthumb-" version ".tar.xz"))
9501 (sha256
9502 (base32
8280676b 9503 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
169d63f5
AT
9504 (build-system meson-build-system)
9505 (arguments
9506 `(#:glib-or-gtk? #t
9507 #:configure-flags
9508 ;; Ensure the RUNPATH contains all installed library locations.
9509 (list (string-append "-Dc_link_args=-Wl,-rpath="
9510 (assoc-ref %outputs "out")
9511 "/lib/gthumb/extensions")
9512 (string-append "-Dcpp_link_args=-Wl,-rpath="
9513 (assoc-ref %outputs "out")
9514 "/lib/gthumb/extensions"))))
9515 (native-inputs
9516 `(("pkg-config" ,pkg-config)
9517 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9518 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9519 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9520 ("intltool" ,intltool)
9521 ("itstool" ,itstool)))
9522 (inputs
9523 `(("exiv2" ,exiv2)
9524 ("gtk" ,gtk+)
9525 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9526 ("gstreamer" ,gstreamer)
9527 ("clutter" ,clutter)
9528 ("clutter-gst" ,clutter-gst)
9529 ("clutter-gtk" ,clutter-gtk)
9530 ("libjpeg" ,libjpeg)
9531 ("libtiff" ,libtiff)
9532 ("libraw" ,libraw)))
9533 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9534 (synopsis "GNOME image viewer and browser")
9535 (description "GThumb is an image viewer, browser, organizer, editor and
9536advanced image management tool")
9537 (license license:gpl2+)))
08be02be
AT
9538
9539(define-public terminator
9540 (package
9541 (name "terminator")
9542 (version "1.91")
9543 (source (origin
9544 (method url-fetch)
9545 (uri (string-append "https://launchpad.net/" name "/"
9546 "gtk3/" version "/" "+download/"
9547 name "-" version ".tar.gz"))
9548 (sha256
9549 (base32
9550 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9551 (build-system python-build-system)
9552 (native-inputs
9553 `(("intltool" ,intltool)
9554 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9555 ("gettext" ,gettext-minimal)
9556 ("pkg-config" ,pkg-config)))
9557 (inputs
9558 `(("cairo" ,cairo)
9559 ("gobject-introspection" ,gobject-introspection)
96681d4b 9560 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
08be02be
AT
9561 ("python2-pycairo" ,python2-pycairo)
9562 ("python2-pygobject" ,python2-pygobject)
9563 ("python2-psutil" ,python2-psutil)
9564 ("vte" ,vte)))
9565 (arguments
96681d4b
TGR
9566 `(#:python ,python-2 ; Python 3 isn't supported
9567 #:imported-modules ((guix build glib-or-gtk-build-system)
9568 ,@%python-build-system-modules)
9569 #:modules ((guix build python-build-system)
9570 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9571 (guix build utils))
08be02be
AT
9572 #:phases
9573 (modify-phases %standard-phases
9574 (add-after
9575 'install 'wrap-program
9576 (lambda* (#:key outputs #:allow-other-keys)
9577 (let ((prog (string-append (assoc-ref outputs "out")
9578 "/bin/terminator")))
9579 (wrap-program prog
9580 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9581 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
96681d4b
TGR
9582 #t)))
9583 (add-after 'wrap-program 'glib-or-gtk-wrap
9584 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
08be02be
AT
9585 (home-page "https://gnometerminator.blogspot.com/")
9586 (synopsis "Store and run multiple GNOME terminals in one window")
9587 (description
9588 "Terminator allows you to run multiple GNOME terminals in a grid and
9589+tabs, and it supports drag and drop re-ordering of terminals.")
9590 (license license:gpl2)))
213315d4
JF
9591
9592(define-public libhandy
9593 (package
9594 (name "libhandy")
f6501b9f 9595 (version "0.0.12")
213315d4
JF
9596 (source
9597 (origin
9598 (method git-fetch)
9599 (uri (git-reference
9600 (url "https://source.puri.sm/Librem5/libhandy")
9601 (commit (string-append "v" version))))
9602 (file-name (git-file-name name version))
9603 (sha256
f6501b9f 9604 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
213315d4
JF
9605 (build-system meson-build-system)
9606 (arguments
9607 `(#:configure-flags
9608 '("-Dglade_catalog=disabled"
9609 "-Dgtk_doc=true")
9610 #:phases
9611 (modify-phases %standard-phases
213315d4
JF
9612 (add-before 'check 'pre-check
9613 (lambda _
9614 ;; Tests require a running X server.
9615 (system "Xvfb :1 &")
9616 (setenv "DISPLAY" ":1")
9617 #t)))))
9618 (inputs
9619 `(("gtk+" ,gtk+)))
9620 (native-inputs
9621 `(("glib:bin" ,glib "bin")
9622 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9623 ("vala" ,vala)
9624 ("gtk-doc" ,gtk-doc)
9625 ("pkg-config" ,pkg-config)
9626 ("gettext" ,gettext-minimal)
d41ee146
TGR
9627
9628 ;; Test suite dependencies.
ff337525 9629 ("xorg-server" ,xorg-server-for-tests)
d41ee146 9630 ("hicolor-icon-theme" ,hicolor-icon-theme)))
213315d4
JF
9631 (home-page "https://source.puri.sm/Librem5/libhandy")
9632 (synopsis "Library full of GTK+ widgets for mobile phones")
9633 (description "The aim of the handy library is to help with developing user
ae4e1414
JB
9634interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9635for usage on small and big screens.")
213315d4 9636 (license license:lgpl2.1+)))
a830d14d
GL
9637
9638(define-public libgit2-glib
9639 (package
9640 (name "libgit2-glib")
6448c2e1 9641 (version "0.99.0.1")
a830d14d
GL
9642 (source (origin
9643 (method url-fetch)
9644 (uri (string-append "mirror://gnome/sources/" name "/"
9645 (version-major+minor version) "/"
9646 name "-" version ".tar.xz"))
9647 (sha256
9648 (base32
6448c2e1 9649 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
a830d14d
GL
9650 (build-system meson-build-system)
9651 (native-inputs
9652 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9653 ("gobject-introspection" ,gobject-introspection)
a830d14d
GL
9654 ("pkg-config" ,pkg-config)
9655 ("python-pygobject" ,python-pygobject)
9656 ("python-wrapper" ,python-wrapper)
9657 ("vala" ,vala)))
9658 (inputs
9659 `(("glib" ,glib)
8c6aae46
MB
9660 ("libssh2" ,libssh2)))
9661 (propagated-inputs
9662 `(;; In Requires of libgit2-glib.pc.
a830d14d
GL
9663 ("libgit2" ,libgit2)))
9664 (synopsis "GLib wrapper around the libgit2 Git access library")
9665 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9666access library. It only implements the core plumbing functions, not really the
9667higher level porcelain stuff.")
9668 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9669 (license license:gpl2+)))
93beace0 9670
08db81c9
LP
9671(define-public gitg
9672 (package
9673 (name "gitg")
9674 (version "3.32.1")
9675 (source (origin
9676 (method url-fetch)
9677 (uri (string-append "mirror://gnome/sources/" name "/"
9678 (version-major+minor version) "/"
9679 name "-" version ".tar.xz"))
9680 (sha256
9681 (base32
9682 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9683 (build-system meson-build-system)
9684 (arguments
9685 `(#:glib-or-gtk? #t
9686 #:phases
9687 (modify-phases %standard-phases
9688 (add-after 'unpack 'disable-post-install-partially
9689 (lambda _
9690 (substitute* "meson_post_install.py"
9691 (("'python'") ; there are no python sources to compile
9692 (string-append "'" (which "true") "'"))
9693 (("gtk-update-icon-cache") (which "true")))
9694 #t))
9695 (add-after 'unpack 'fix-test-sources
9696 (lambda _
9697 (substitute* "tests/libgitg/test-commit.vala"
9698 (("/bin/bash") (which "bash")))
9699 #t))
9700 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9701 (lambda* (#:key outputs #:allow-other-keys)
9702 (let ((prog (string-append (assoc-ref outputs "out")
9703 "/bin/gitg")))
9704 (wrap-program prog
9705 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9706 #t))))))
9707 (inputs
9708 `(("glib" ,glib)
9709 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9710 ("gtk+" ,gtk+)
9711 ("gtkspell3" ,gtkspell3)
9712 ("gtksourceview" ,gtksourceview-3)
9713 ("json-glib" ,json-glib)
9714 ("libdazzle" ,libdazzle)
9715 ("libgee" ,libgee)
08db81c9
LP
9716 ("libgit2-glib" ,libgit2-glib)
9717 ("libpeas" ,libpeas)
9718 ("libsecret" ,libsecret)
9719 ("libsoup" ,libsoup)
9720 ("libxml2" ,libxml2)))
9721 (native-inputs
9722 `(("glib:bin" ,glib "bin")
9723 ("gtk+:bin" ,gtk+ "bin")
9724 ("gobject-introspection" ,gobject-introspection)
9725 ("intltool" ,intltool)
9726 ("pkg-config" ,pkg-config)
9727 ("vala" ,vala)))
9728 (synopsis "Graphical user interface for git")
9729 (description
9730 "gitg is a graphical user interface for git. It aims at being a small,
9731fast and convenient tool to visualize the history of git repositories.
9732Besides visualization, gitg also provides several utilities to manage your
9733repository and commit your work.")
9734 (home-page "https://wiki.gnome.org/Apps/Gitg")
9735 (license license:gpl2+)))
9736
1e600ed0
RW
9737(define-public gamin
9738 (package
9739 (name "gamin")
9740 (version "0.1.10")
9741 (source (origin
9742 (method url-fetch)
9743 (uri (string-append "mirror://gnome/sources/" name "/"
9744 (version-major+minor version) "/"
9745 name "-" version ".tar.bz2"))
9746 (sha256
9747 (base32
9748 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9749 (build-system gnu-build-system)
9750 (arguments
9751 `(#:phases
9752 (modify-phases %standard-phases
9753 (add-after 'unpack 'remove-deprecated-macro
9754 (lambda _
9755 (substitute* '("server/gam_node.c"
9756 "server/gam_subscription.h"
9757 "server/gam_node.h"
9758 "server/gam_subscription.c")
9759 (("G_CONST_RETURN") "const"))
9760 #t)))))
9761 (inputs
9762 `(("glib" ,glib)))
9763 (native-inputs
9764 `(("intltool" ,intltool)
9765 ("pkg-config" ,pkg-config)))
9766 (home-page "https://people.gnome.org/~veillard/gamin/")
9767 (synopsis "File alteration monitor")
9768 (description
9769 "Gamin is a file and directory monitoring system defined to be a subset
9770of the FAM (File Alteration Monitor) system. This is a service provided by a
9771library which allows to detect when a file or a directory has been modified.")
9772 (license license:gpl2+)))
9773
93beace0
DW
9774(define-public gnome-mahjongg
9775 (package
9776 (name "gnome-mahjongg")
9777 (version "3.35.1")
9778 (source (origin
9779 (method git-fetch)
9780 (uri (git-reference
9781 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9782 (commit version)))
9783 (file-name (git-file-name name version))
9784 (sha256
9785 (base32
9786 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9787 (build-system meson-build-system)
9788 (arguments
9789 `(#:glib-or-gtk? #t))
9790 (native-inputs
9791 `(("appstream-glib" ,appstream-glib)
9792 ("gettext" ,gettext-minimal)
9793 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9794 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9795 ("itstool" ,itstool)
9796 ("pkg-config" ,pkg-config)
9797 ("vala" ,vala)))
9798 (propagated-inputs
9799 `(("dconf" ,dconf)))
9800 (inputs
9801 `(("glib" ,glib)
9802 ("gtk+" ,gtk+)
9803 ("librsvg" ,librsvg)))
9804 (synopsis "Mahjongg tile-matching game")
9805 (description "GNOME Mahjongg is a game based on the classic Chinese
9806tile-matching game Mahjong. It features multiple board layouts, tile themes,
9807and a high score table.")
9808 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9809 (license license:gpl2+)))
f825476c 9810
76ea7632
RG
9811(define-public gnome-themes-extra
9812 (package
9813 (name "gnome-themes-extra")
9814 (version "3.28")
9815 (source
9816 (origin
9817 (method url-fetch)
9818 (uri (string-append "mirror://gnome/sources/" name "/"
9819 (version-major+minor version) "/" name "-"
9820 version ".tar.xz"))
9821 (sha256
9822 (base32
9823 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9824 (build-system gnu-build-system)
885424bf
RG
9825 (arguments
9826 '(#:configure-flags
9827 ;; Don't create 'icon-theme.cache'.
9828 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9829 (true (string-append coreutils "/bin/true")))
9830 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
76ea7632
RG
9831 (native-inputs
9832 `(("glib:bin" ,glib "bin")
9833 ("intltool" ,intltool)
9834 ("pkg-config" ,pkg-config)))
9835 (inputs
9836 `(("glib" ,glib)
9837 ("gtk+" ,gtk+)
9838 ("gtk+-2" ,gtk+-2)
9839 ("librsvg" ,librsvg)
9840 ("libxml2" ,libxml2)))
9841 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9842 (synopsis "GNOME Extra Themes")
9843 (description "This package provides themes and related elements that don't
9844really fit in other upstream packages. It offers legacy support for GTK+ 2
9845versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9846index files needed for Adwaita to be used outside of GNOME.")
9847 (license license:lgpl2.1+)))
9848
f825476c
LP
9849(define-public polari
9850 (package
9851 (name "polari")
9852 (version "3.32.2")
9853 (source (origin
9854 (method url-fetch)
9855 (uri (string-append "mirror://gnome/sources/polari/"
9856 (version-major+minor version)
9857 "/polari-" version ".tar.xz"))
9858 (sha256
9859 (base32
9860 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9861 (build-system meson-build-system)
9862 (arguments
9863 `(#:glib-or-gtk? #t
9864 #:phases
9865 (modify-phases %standard-phases
9866 (add-after 'unpack 'skip-gtk-update-icon-cache
9867 (lambda _
9868 (substitute* "meson/meson-postinstall.sh"
9869 (("gtk-update-icon-cache") (which "true")))
9870 #t))
9871 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9872 (lambda* (#:key outputs #:allow-other-keys)
9873 (let ((prog (string-append (assoc-ref outputs "out")
9874 "/bin/polari")))
9875 (wrap-program prog
9876 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9877 #t))))))
9878 (inputs
9879 `(("glib" ,glib)
9880 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9881 ("gspell" ,gspell)
9882 ("gtk+" ,gtk+)
9883 ("gjs" ,gjs)
9884 ("libsecret" ,libsecret)
9885 ("libsoup" ,libsoup)
9886 ("telepathy-glib" ,telepathy-glib)
9887 ("telepathy-logger" ,telepathy-logger)))
9888 (native-inputs
9889 `(("glib:bin" ,glib "bin")
9890 ("gobject-introspection" ,gobject-introspection)
9891 ("intltool" ,intltool)
9892 ("pkg-config" ,pkg-config)
9893 ("yelp-tools" ,yelp-tools)))
9894 (propagated-inputs
9895 `(("telepathy-idle" ,telepathy-idle)
9896 ("telepathy-mission-control" ,telepathy-mission-control)))
9897 (synopsis "Simple IRC Client")
9898 (description
9899 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9900integrate seamlessly with the GNOME desktop.")
9901 (home-page "https://wiki.gnome.org/Apps/Polari")
9902 (license license:gpl2+)))
59d4c8c2
PN
9903
9904(define-public gnome-boxes
9905 (package
9906 (name "gnome-boxes")
9907 (version "3.35.91")
9908 (source
9909 (origin
9910 (method url-fetch)
9911 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
9912 (version-major+minor version) "/"
9913 "gnome-boxes-" version ".tar.xz"))
9914 (sha256
9915 (base32
9916 "0l96spz6pc8q4l5p9a58cc0kgvdr7pbc89hy6ixn72k5pl3s7fxj"))))
9917 (build-system meson-build-system)
9918 (arguments
9919 '(#:glib-or-gtk? #t
9920 #:configure-flags (list "-Drdp=false"
9921 (string-append "-Dc_link_args=-Wl,-rpath="
9922 (assoc-ref %outputs "out")
9923 "/lib/gnome-boxes"))))
9924 (native-inputs
9925 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
9926 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9927 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9928 ("itstool" ,itstool)
9929 ("intltool" ,intltool)
9930 ("vala" ,vala)
9931 ("pkg-config" ,pkg-config)))
9932 (inputs
9933 `(("libarchive" ,libarchive)
9934 ("gtk" ,gtk+)
9935 ("gtk-vnc" ,gtk-vnc)
9936 ("libosinfo" ,libosinfo)
9937 ("libsecret" ,libsecret)
9938 ("libsoup" ,libsoup)
9939 ("libusb" ,libusb)
9940 ("libvirt" ,libvirt)
9941 ("libvirt-glib" ,libvirt-glib)
9942 ("libxml" ,libxml2)
9943 ("spice-gtk" ,spice-gtk)
9944 ("sparql-query" ,sparql-query)
9945 ("vte" ,vte)
9946 ("webkitgtk" ,webkitgtk)
9947 ("tracker" ,tracker)
9948 ("libgudev" ,libgudev)))
9949 (home-page "https://wiki.gnome.org/Apps/Boxes")
9950 (synopsis "View, access, and manage remote and virtual systems")
9951 (description "GNOME Boxes is a simple application to view, access, and
9952manage remote and virtual systems.")
9953 (license (list
9954 ;; For data/icons/empty-boxes.png.
9955 license:cc-by2.0
9956 ;; For all others.
9957 license:lgpl2.0+))))