gnu: glibmm: Update to 2.62.0.
[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>
7d3bb433 11;;; Copyright © 2015, 2016, 2017, 2018, 2019 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>
aa51d92c 42;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
ad6e168b 43;;; Copyright © 2019 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>
995b7261
AE
49;;;
50;;; This file is part of GNU Guix.
51;;;
52;;; GNU Guix is free software; you can redistribute it and/or modify it
53;;; under the terms of the GNU General Public License as published by
54;;; the Free Software Foundation; either version 3 of the License, or (at
55;;; your option) any later version.
56;;;
57;;; GNU Guix is distributed in the hope that it will be useful, but
58;;; WITHOUT ANY WARRANTY; without even the implied warranty of
59;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
60;;; GNU General Public License for more details.
61;;;
62;;; You should have received a copy of the GNU General Public License
63;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
64
65(define-module (gnu packages gnome)
ed19903d 66 #:use-module (gnu packages)
ba5dd105 67 #:use-module (gnu packages admin)
411ba511 68 #:use-module (gnu packages aspell)
75016d07 69 #:use-module (gnu packages autotools)
7b212526 70 #:use-module (gnu packages avahi)
b29909b4 71 #:use-module (gnu packages backup)
6a180f6f 72 #:use-module (gnu packages base)
1e33331c 73 #:use-module (gnu packages bash)
5698b8b8 74 #:use-module (gnu packages bison)
aa51d92c 75 #:use-module (gnu packages boost)
5fc9b6c1 76 #:use-module (gnu packages build-tools)
df217748 77 #:use-module (gnu packages calendar)
b29909b4 78 #:use-module (gnu packages cdrom)
df12f04a 79 #:use-module (gnu packages check)
d61a894b 80 #:use-module (gnu packages cmake)
b29909b4 81 #:use-module (gnu packages compression)
8f523eb9 82 #:use-module (gnu packages crates-io)
23a22af6 83 #:use-module (gnu packages cups)
6e1bb642 84 #:use-module (gnu packages curl)
c3f29bc9 85 #:use-module (gnu packages cyrus-sasl)
6e1bb642 86 #:use-module (gnu packages databases)
255d1bbe 87 #:use-module (gnu packages dbm)
c769cf9f 88 #:use-module (gnu packages djvu)
ba5dd105 89 #:use-module (gnu packages dns)
b4ce6300 90 #:use-module (gnu packages docbook)
b29909b4 91 #:use-module (gnu packages documentation)
329d731b 92 #:use-module (gnu packages enchant)
b29909b4
TGR
93 #:use-module (gnu packages flex)
94 #:use-module (gnu packages fonts)
e762d943 95 #:use-module (gnu packages file-systems)
a56be436 96 #:use-module (gnu packages fontutils)
b29909b4 97 #:use-module (gnu packages freedesktop)
dfc407f3 98 #:use-module (gnu packages game-development)
fed5a689 99 #:use-module (gnu packages gettext)
b29909b4
TGR
100 #:use-module (gnu packages ghostscript)
101 #:use-module (gnu packages gl)
995b7261 102 #:use-module (gnu packages glib)
c1354b90 103 #:use-module (gnu packages gnupg)
23a22af6 104 #:use-module (gnu packages gnuzilla)
8d8c6bff 105 #:use-module (gnu packages geo)
b29909b4
TGR
106 #:use-module (gnu packages gperf)
107 #:use-module (gnu packages graphviz)
85f5dc19 108 #:use-module (gnu packages gstreamer)
d9c1a22b 109 #:use-module (gnu packages gtk)
6b888eff 110 #:use-module (gnu packages guile)
b645146f 111 #:use-module (gnu packages ibus)
03be9874 112 #:use-module (gnu packages icu4c)
b29909b4
TGR
113 #:use-module (gnu packages image)
114 #:use-module (gnu packages imagemagick)
115 #:use-module (gnu packages inkscape)
9cc98f8a 116 #:use-module (gnu packages iso-codes)
b29909b4 117 #:use-module (gnu packages kerberos)
85f5dc19 118 #:use-module (gnu packages libcanberra)
b64e217f 119 #:use-module (gnu packages libunistring)
75016d07 120 #:use-module (gnu packages libusb)
b29909b4 121 #:use-module (gnu packages linux)
4e3fc547 122 #:use-module (gnu packages lirc)
7b212526 123 #:use-module (gnu packages lua)
b29909b4 124 #:use-module (gnu packages mail)
03be9874 125 #:use-module (gnu packages mp3)
b29909b4 126 #:use-module (gnu packages multiprecision)
64fce637 127 #:use-module (gnu packages music)
b29909b4
TGR
128 #:use-module (gnu packages ncurses)
129 #:use-module (gnu packages nettle)
ba5dd105 130 #:use-module (gnu packages networking)
5fc9b6c1 131 #:use-module (gnu packages ninja)
aff0cce9 132 #:use-module (gnu packages nss)
b29909b4 133 #:use-module (gnu packages openldap)
b645146f 134 #:use-module (gnu packages password-utils)
de1215e2 135 #:use-module (gnu packages pcre)
b29909b4 136 #:use-module (gnu packages pdf)
27477d2d 137 #:use-module (gnu packages perl)
f70d8383 138 #:use-module (gnu packages photo)
995b7261 139 #:use-module (gnu packages pkg-config)
b29909b4
TGR
140 #:use-module (gnu packages polkit)
141 #:use-module (gnu packages popt)
7d3bb433 142 #:use-module (gnu packages pretty-print)
23a22af6 143 #:use-module (gnu packages pulseaudio)
995b7261 144 #:use-module (gnu packages python)
00014781
RW
145 #:use-module (gnu packages python-crypto)
146 #:use-module (gnu packages python-web)
44d10b1f 147 #:use-module (gnu packages python-xyz)
cce0da5e 148 #:use-module (gnu packages rdesktop)
b29909b4 149 #:use-module (gnu packages readline)
a76d0f03 150 #:use-module (gnu packages ruby)
ec47c07d 151 #:use-module (gnu packages rust)
b29909b4 152 #:use-module (gnu packages samba)
75016d07 153 #:use-module (gnu packages scanner)
240cee8a 154 #:use-module (gnu packages selinux)
c27e02bf 155 #:use-module (gnu packages slang)
b29909b4
TGR
156 #:use-module (gnu packages speech)
157 #:use-module (gnu packages spice)
cd0322a3 158 #:use-module (gnu packages sqlite)
4a1bf090 159 #:use-module (gnu packages ssh)
8f9ac901 160 #:use-module (gnu packages tex)
33dc54b0 161 #:use-module (gnu packages time)
a7fd7b68 162 #:use-module (gnu packages tls)
3c5dbd2b 163 #:use-module (gnu packages version-control)
b29909b4 164 #:use-module (gnu packages video)
59132b80 165 #:use-module (gnu packages virtualization)
f2b96b3a 166 #:use-module (gnu packages vpn)
a18f8eaf 167 #:use-module (gnu packages web)
b29909b4
TGR
168 #:use-module (gnu packages webkit)
169 #:use-module (gnu packages xdisorg)
170 #:use-module (gnu packages xiph)
171 #:use-module (gnu packages xml)
d633f2f6 172 #:use-module (gnu packages xorg)
a76d0f03 173 #:use-module (gnu artwork)
8f523eb9 174 #:use-module (guix build-system cargo)
b29909b4
TGR
175 #:use-module (guix build-system cmake)
176 #:use-module (guix build-system glib-or-gtk)
177 #:use-module (guix build-system gnu)
178 #:use-module (guix build-system meson)
08be02be 179 #:use-module (guix build-system python)
b29909b4
TGR
180 #:use-module (guix build-system trivial)
181 #:use-module (guix download)
182 #:use-module (guix git-download)
183 #:use-module ((guix licenses) #:prefix license:)
184 #:use-module (guix packages)
185 #:use-module (guix utils)
a76d0f03 186 #:use-module (guix gexp)
8f523eb9
EF
187 #:use-module (guix monads)
188 #:use-module (guix store)
4e3fdeb7 189 #:use-module (ice-9 match)
c024ae36 190 #:use-module (srfi srfi-1))
85f5dc19
AE
191
192(define-public brasero
193 (package
194 (name "brasero")
e2bf423a 195 (version "3.12.2")
85f5dc19
AE
196 (source (origin
197 (method url-fetch)
d1df7554 198 (uri (string-append "mirror://gnome/sources/brasero/"
e8627cd9 199 (version-major+minor version) "/"
d1df7554 200 "brasero-" version ".tar.xz"))
85f5dc19
AE
201 (sha256
202 (base32
e2bf423a 203 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
1c40e3b7 204 (build-system glib-or-gtk-build-system)
e8627cd9
DH
205 (arguments
206 `(#:configure-flags (list
207 (string-append "--with-girdir="
208 (assoc-ref %outputs "out")
209 "/share/gir-1.0")
210 (string-append "--with-typelibdir="
211 (assoc-ref %outputs "out")
ce426deb
TD
212 "/lib/girepository-1.0"))
213 #:phases
214 (modify-phases %standard-phases
215 (add-before 'configure 'embed-growisofs
216 (lambda* (#:key inputs #:allow-other-keys)
217 (substitute* "plugins/growisofs/burn-growisofs.c"
218 (("\"growisofs") (string-append "\"" (which "growisofs"))))
e2bf423a 219 #t)))))
85f5dc19
AE
220 (propagated-inputs
221 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
9cc98f8a
CR
222 (native-inputs
223 `(("intltool" ,intltool)
ba549e17 224 ("itstool" ,itstool)
426adbe8 225 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
e8627cd9 226 ("gobject-introspection" ,gobject-introspection)
9cc98f8a 227 ("pkg-config" ,pkg-config)))
85f5dc19 228 (inputs
ce426deb
TD
229 `(("dvd+rw-tools" ,dvd+rw-tools)
230 ("glib" ,glib)
85f5dc19
AE
231 ("gnome-doc-utils" ,gnome-doc-utils)
232 ("gstreamer" ,gstreamer)
233 ("gst-plugins-base" ,gst-plugins-base)
234 ("gtk+" ,gtk+)
85f5dc19
AE
235 ("libcanberra" ,libcanberra)
236 ("libice" ,libice)
237 ("libnotify" ,libnotify)
238 ("libsm" ,libsm)
e8627cd9 239 ("libxml2" ,libxml2)
e8627cd9 240 ("totem-pl-parser" ,totem-pl-parser)))
fb9399e9 241 (home-page "https://wiki.gnome.org/Apps/Brasero")
85f5dc19
AE
242 (synopsis "CD/DVD burning tool for Gnome")
243 (description "Brasero is an application to burn CD/DVD for the Gnome
244Desktop. It is designed to be as simple as possible and has some unique
245features to enable users to create their discs easily and quickly.")
1dd26275 246 (license license:gpl2+)))
995b7261 247
29ae18db
RG
248(define-public gnome-color-manager
249 (package
250 (name "gnome-color-manager")
251 (version "3.32.0")
252 (source (origin
253 (method url-fetch)
254 (uri (string-append "mirror://gnome/sources/" name "/"
255 (version-major+minor version) "/"
256 name "-" version ".tar.xz"))
257 (sha256
258 (base32
259 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
260 (build-system meson-build-system)
261 (arguments
262 `(#:glib-or-gtk? #t
263 #:phases
264 (modify-phases %standard-phases
265 (add-before
266 'check 'pre-check
267 (lambda _
268 ;; Tests require a running X server.
269 (system "Xvfb :1 &")
270 (setenv "DISPLAY" ":1")
271 #t)))))
272 (native-inputs
273 `(("desktop-file-utils" ,desktop-file-utils)
274 ("gettext" ,gettext-minimal)
275 ("glib:bin" ,glib "bin")
276 ("gtk+:bin" ,gtk+ "bin")
277 ("itstool" ,itstool)
278 ("pkg-config" ,pkg-config)
279 ("xorg-server" ,xorg-server-for-tests)))
280 (inputs
281 `(("adwaita-icon-theme" ,adwaita-icon-theme)
282 ("appstream-glib" ,appstream-glib)
283 ("colord-gtk" ,colord-gtk)
284 ("exiv2" ,exiv2)
285 ("gnome-desktop" ,gnome-desktop)
286 ("libcanberra" ,libcanberra)
287 ("libexif" ,libexif)
288 ("libtiff" ,libtiff)
289 ("libxrandr" ,libxrandr)
290 ("libxtst" ,libxtst)
291 ("libxxf86vm" ,libxxf86vm)
292 ("vte" ,vte)
293 ("xorgproto" ,xorgproto)))
294 (synopsis "Color profile manager for the GNOME desktop")
295 (description "GNOME Color Manager is a session framework that makes
296it easy to manage, install and generate color profiles
297in the GNOME desktop.")
298 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
7bd000d1 299 (license license:gpl2+)))
29ae18db 300
e05471a1
RG
301(define-public gnome-online-miners
302 (package
303 (name "gnome-online-miners")
304 (version "3.30.0")
305 (source (origin
306 (method url-fetch)
307 (uri (string-append "mirror://gnome/sources/" name "/"
308 (version-major+minor version) "/"
309 name "-" version ".tar.xz"))
310 (sha256
311 (base32
312 "0pjamwwzn5wqgihyss357dyl2q70r0bngnqmwsqawchx5f9aja9c"))))
313 (build-system glib-or-gtk-build-system)
314 (native-inputs
315 `(("gettext" ,gettext-minimal)
316 ("glib:bin" ,glib "bin")
29ae18db 317 ("gobject-introspection" ,gobject-introspection)
e05471a1
RG
318 ("gtk+:bin" ,gtk+ "bin")
319 ("pkg-config" ,pkg-config)))
320 (inputs
321 `(("gnome-online-accounts" ,gnome-online-accounts)
322 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
e05471a1
RG
323 ("grilo" ,grilo)
324 ("libgdata" ,libgdata)
325 ("libgfbgraph" ,gfbgraph)
326 ("libzapojit" ,libzapojit)
327 ("rest" ,rest)
328 ("tracker" ,tracker)))
329 (synopsis "Web Crawlers for GNOME")
330 (description "GNOME Online Miners provides a set of crawlers that
331go through your online content and index them locally in Tracker.
332It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
333 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
7bd000d1 334 (license license:gpl2+)))
e05471a1 335
e2aed29c
RG
336(define-public gssdp
337 (package
338 (name "gssdp")
339 (version "1.2.2")
340 (source (origin
341 (method url-fetch)
342 (uri (string-append "mirror://gnome/sources/" name "/"
343 (version-major+minor version) "/"
344 name "-" version ".tar.xz"))
345 (sha256
346 (base32
347 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
348 (build-system meson-build-system)
349 (native-inputs
350 `(("gettext" ,gettext-minimal)
351 ("glib:bin" ,glib "bin")
352 ("gobject-introspection" ,gobject-introspection)
353 ("gtk-doc" ,gtk-doc)
354 ("pkg-config" ,pkg-config)
355 ("vala" ,vala)))
356 (inputs
357 `(("gtk+" ,gtk+)
358 ("libsoup" ,libsoup)))
359 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
360Protocol} for GNOME")
361 (description "This package provides a library to handle resource discovery
362and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
363a debugging tool, @command{gssdp-device-sniffer}.")
364 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
365 (license license:lgpl2.0+)))
366
291a85b2
RG
367(define-public gupnp
368 (package
369 (name "gupnp")
370 (version "1.2.2")
371 (source (origin
372 (method url-fetch)
373 (uri (string-append "mirror://gnome/sources/" name "/"
374 (version-major+minor version) "/"
375 name "-" version ".tar.xz"))
376 (sha256
377 (base32
378 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
379 (build-system meson-build-system)
380 (native-inputs
381 `(("gettext" ,gettext-minimal)
382 ("glib:bin" ,glib "bin")
383 ("gobject-introspection" ,gobject-introspection)
384 ("gtk-doc" ,gtk-doc)
385 ("pkg-config" ,pkg-config)
386 ("vala" ,vala)))
387 (inputs
388 `(("gssdp" ,gssdp)
389 ("gtk+" ,gtk+)
390 ("libsoup" ,libsoup)))
391 (synopsis "PnP API for GNOME")
392 (description "This package provides GUPnP, an object-oriented framework
393for creating UPnP devices and control points, written in C using
394@code{GObject} and @code{libsoup}.")
395 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
396 (license license:lgpl2.0+)))
397
747d7fe4
RG
398(define-public gupnp-dlna
399 (package
400 (name "gupnp-dlna")
401 (version "0.10.5")
402 (source (origin
403 (method url-fetch)
404 (uri (string-append "mirror://gnome/sources/" name "/"
405 (version-major+minor version) "/"
406 name "-" version ".tar.xz"))
407 (sha256
408 (base32
409 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
410 (build-system gnu-build-system)
411 (native-inputs
412 `(("gettext" ,gettext-minimal)
413 ("glib:bin" ,glib "bin")
414 ("gobject-introspection" ,gobject-introspection)
415 ("gtk-doc" ,gtk-doc)
416 ("libxml" ,libxml2)
417 ("pkg-config" ,pkg-config)
418 ("vala" ,vala)))
419 (inputs
420 `(("gstreamer" ,gstreamer)
421 ("gupnp" ,gupnp)))
422 (propagated-inputs
423 `(("gst-plugins-base" ,gst-plugins-base)
424 ("gst-plugins-good" ,gst-plugins-good)))
425 (synopsis "GUPnP DLNA for GNOME")
426 (description "This package provides a small utility library to
427support DLNA-related tasks such as media profile guessing, transcoding to a
428given profile, etc. DLNA is a subset of UPnP A/V.")
429 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
430 (license license:lgpl2.0+)))
431
1b4cb628
RG
432(define-public gupnp-av
433 (package
434 (name "gupnp-av")
435 (version "0.12.11")
436 (source (origin
437 (method url-fetch)
438 (uri (string-append "mirror://gnome/sources/" name "/"
439 (version-major+minor version) "/"
440 name "-" version ".tar.xz"))
441 (sha256
442 (base32
443 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
444 (build-system gnu-build-system)
445 (native-inputs
446 `(("gettext" ,gettext-minimal)
447 ("glib:bin" ,glib "bin")
448 ("gobject-introspection" ,gobject-introspection)
449 ("gtk-doc" ,gtk-doc)
450 ("libxml" ,libxml2)
451 ("pkg-config" ,pkg-config)))
452 (inputs
453 `(("gtk+" ,gtk+)
454 ("gupnp" ,gupnp)))
455 (synopsis "GUPnP A/V for GNOME")
456 (description "This package provides a small library for handling
457and implementation of UPnP A/V profiles.")
458 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
459 (license license:lgpl2.0+)))
e05471a1 460
02ebbca8
RG
461(define-public libmediaart
462 (package
463 (name "libmediaart")
464 (version "1.9.4")
465 (source (origin
466 (method url-fetch)
467 (uri (string-append "mirror://gnome/sources/" name "/"
468 (version-major+minor version) "/"
469 name "-" version ".tar.xz"))
470 (sha256
471 (base32
472 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
473 (build-system gnu-build-system)
474 (native-inputs
475 `(("glib:bin" ,glib "bin")
476 ("pkg-config" ,pkg-config)))
477 (inputs
478 `(("gdk-pixbuf" ,gdk-pixbuf)
479 ("gettext" ,gettext-minimal)
480 ("gobject-introspection" ,gobject-introspection)
481 ("gtk+:doc", gtk+ "doc")
482 ("vala" ,vala)))
483 (synopsis "Media art library for the GNOME desktop")
484 (description
485 "The libmediaart library is the foundation for media art caching,
486extraction, and lookup for applications on the desktop.")
487 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
488 (license license:lgpl2.1+)))
489
a26680eb
RG
490(define-public gnome-initial-setup
491 (package
492 (name "gnome-initial-setup")
493 (version "3.32.1")
494 (source (origin
495 (method url-fetch)
496 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
497 (version-major+minor version)
498 "/gnome-initial-setup-" version ".tar.xz"))
499 (sha256
500 (base32
501 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
502 (build-system meson-build-system)
503 (arguments
a65cc579
DM
504 '(#:configure-flags '(;; Enable camera support for user selfie.
505 "-Dcheese=auto"
506 "-Dsystemd=false")))
a26680eb
RG
507 (native-inputs
508 `(("gettext" ,gettext-minimal)
509 ("glib:bin" ,glib "bin")
510 ("gobject-introspection" ,gobject-introspection)
511 ("gtk+:bin" ,gtk+ "bin")
512 ("pkg-config" ,pkg-config)))
513 (inputs
514 `(("accountsservice" ,accountsservice)
515 ;("adwaita-icon-theme" ,adwaita-icon-theme)
516 ("gdm" ,gdm)
517 ("geoclue" ,geoclue)
518 ("gnome-desktop" ,gnome-desktop)
519 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
520 ("gnome-online-accounts" ,gnome-online-accounts)
521 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
522 ("gstreamer" ,gstreamer)
523 ("ibus" ,ibus)
524 ("json-glib" ,json-glib)
525 ("krb5" ,mit-krb5)
526 ("libgweather" ,libgweather)
527 ("libsecret" ,libsecret)
528 ("network-manager" ,network-manager)
529 ("network-manager-applet" ,network-manager-applet)
530 ("packagekit" ,packagekit)
531 ("polkit" ,polkit)
532 ("pwquality" ,libpwquality)
533 ("rest" ,rest)
534 ("upower" ,upower)
535 ("webkitgtk" ,webkitgtk)))
536 (synopsis "Initial setup wizard for GNOME desktop")
a65cc579
DM
537 (description "This package provides a set-up wizard when a
538user logs into GNOME for the first time. It typically provides a
539tour of all gnome components and allows the user to set them up.")
a26680eb
RG
540 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
541 (license license:gpl2)))
542
b5f01392
RG
543(define-public gnome-user-share
544 (package
545 (name "gnome-user-share")
546 (version "3.33.1")
547 (source (origin
548 (method url-fetch)
549 (uri (string-append "mirror://gnome/sources/" name "/"
550 (version-major+minor version) "/"
551 name "-" version ".tar.xz"))
552 (sha256
553 (base32
554 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
555 (build-system meson-build-system)
556 (arguments
557 `(#:glib-or-gtk? #t
558 #:configure-flags
559 `("-Dsystemd=false"
560 ;; Enable nautilus extension for file sharing.
561 "-Dnautilus_extension=true")))
562 (native-inputs
563 `(("gettext" ,gettext-minimal)
564 ("glib:bin" ,glib "bin")
565 ("gobject-introspection" ,gobject-introspection)
566 ("gtk+:bin" ,gtk+ "bin")
567 ("pkg-config" ,pkg-config)
568 ("yelp-tools" ,yelp-tools)))
569 (inputs
570 `(("glib" ,glib)
571 ("gnome-bluetooth" ,gnome-bluetooth)
572 ("gtk+" ,gtk+)
573 ("libcanberra" ,libcanberra)
574 ("libnotify" ,libnotify)
575 ("nautilus" ,nautilus))) ; For nautilus extension.
576 (synopsis "File sharing for GNOME desktop")
577 (description "GNOME User Share is a small package that binds together
578various free software projects to bring easy to use user-level file
579sharing to the masses.")
580 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
2aeca24b 581 (license license:gpl2+)))
b5f01392 582
04b201bb
RG
583(define-public sushi
584 (package
585 (name "sushi")
586 (version "3.32.1")
587 (source (origin
588 (method url-fetch)
589 (uri (string-append "mirror://gnome/sources/" name "/"
590 (version-major+minor version) "/"
591 name "-" version ".tar.xz"))
592 (sha256
593 (base32
594 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
595 (build-system meson-build-system)
596 (arguments
597 `(#:glib-or-gtk? #t
598 #:phases
599 (modify-phases %standard-phases
600 (add-after 'glib-or-gtk-wrap 'wrap-typelib
601 (lambda* (#:key outputs #:allow-other-keys)
602 (let ((prog (string-append (assoc-ref outputs "out")
603 "/bin/sushi")))
604 ;; Put existing typelibs before sushi's deps, so as to correctly
605 ;; infer gdk-pixbuf
606 (wrap-program prog
607 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
608 #t))))))
609 (native-inputs
610 `(("glib:bin" ,glib "bin")
611 ("gettext" ,gettext-minimal)
612 ("gobject-introspection" ,gobject-introspection)
613 ("pkg-config" ,pkg-config)))
614 (inputs
615 `(("clutter" ,clutter)
616 ("clutter-gst" ,clutter-gst)
617 ("clutter-gtk" ,clutter-gtk)
618 ("evince" ,evince) ; For file previewing.
619 ("freetype" ,freetype)
620 ("gdk-pixbuf" ,gdk-pixbuf)
621 ("gjs" ,gjs)
622 ("gst-plugins-base" ,gst-plugins-base)
623 ("gstreamer" ,gstreamer)
624 ("gtksourceview" ,gtksourceview-3)
625 ("harfbuzz" ,harfbuzz)
626 ("libepoxy" ,libepoxy)
627 ("libmusicbrainz" ,libmusicbrainz)
628 ("libxml2" ,libxml2)
629 ("neon" ,neon)
630 ("webkitgtk" ,webkitgtk)))
631 (synopsis "File previewer for the GNOME desktop")
632 (description "Sushi is a DBus-activated service that allows applications to
633preview files on the GNOME desktop.")
634 (home-page "https://gitlab.gnome.org/GNOME/sushi")
635 (license license:gpl2+)))
636
89af0902
RG
637(define-public rygel
638 (package
639 (name "rygel")
640 (version "0.38.3")
641 (source (origin
642 (method url-fetch)
643 (uri (string-append "mirror://gnome/sources/" name "/"
644 (version-major+minor version) "/"
645 name "-" version ".tar.xz"))
646 (sha256
647 (base32
648 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
649 (build-system gnu-build-system)
650 (native-inputs
651 `(("gettext" ,gettext-minimal)
652 ("gobject-introspection" ,gobject-introspection)
653 ("gtk-doc" ,gtk-doc)
654 ("pkg-config" ,pkg-config)
655 ("vala" ,vala)))
656 (inputs
657 `(("gdk-pixbuf" ,gdk-pixbuf)
658 ("gssdp" ,gssdp)
659 ("gstreamer" ,gstreamer)
660 ("gst-plugins-base" ,gst-plugins-base)
661 ("gtk+" ,gtk+)
662 ("gupnp" ,gupnp)
663 ("gupnp-av" ,gupnp-av)
664 ("gupnp-dlna" ,gupnp-dlna)
665 ("libgee" ,libgee)
666 ("libmediaart" ,libmediaart)
667 ("libsoup" ,libsoup)
668 ("libxslt" ,libxslt)
669 ("libunistring" ,libunistring)
670 ("tracker" ,tracker)))
671 (synopsis "Share audio, video, and pictures with other devices")
672 (description
673 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
674MediaRenderer}) for GNOME that allows you to easily share audio, video, and
675pictures, and to control a media player on your home network.
676
677Rygel achieves interoperability with other devices by trying to conform to the
678strict requirements of DLNA and by converting media on-the-fly to formats that
679client devices can handle.")
680 (home-page "https://wiki.gnome.org/Projects/Rygel")
681 (license (list
682 ;; For logo (data/icons/*).
683 license:cc-by-sa3.0
684 ;; For all others.
685 license:lgpl2.1+))))
686
47e87093
RG
687(define-public libnma
688 (package
689 (name "libnma")
690 (version "1.8.26")
691 (source (origin
692 (method url-fetch)
693 (uri (string-append "mirror://gnome/sources/" name "/"
694 (version-major+minor version) "/"
695 name "-" version ".tar.xz"))
696 (sha256
697 (base32
698 "1w9lld38risnk1krknfwln24kabdxnj274pyz4jhndphwigrshaf"))))
699 (build-system meson-build-system)
700 (arguments
701 `(#:glib-or-gtk? #t))
702 (native-inputs
703 `(("gettext" ,gettext-minimal)
704 ("glib:bin" ,glib "bin")
705 ("gtk-doc" ,gtk-doc)
706 ("gobject-introspection" ,gobject-introspection)
707 ("pkg-config" ,pkg-config)))
708 (inputs
709 `(("adwaita-icon-theme" ,adwaita-icon-theme)
710 ("gcr" ,gcr)
711 ("gtk+" ,gtk+)
712 ("iso-codes" ,iso-codes)
713 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
714 ("network-manager" ,network-manager)))
715 (synopsis "Network Manager's applet library")
716 (description "Libnma is an applet library for Network Manager. It was
717initially part of network-manager-applet and has now become a separate
718project.")
719 (home-page "https://gitlab.gnome.org/GNOME/libnma")
720
721 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
722 ;; "LGPL-2.1+".
723 (license license:gpl2+)))
724
30416265
RG
725(define-public gnome-menus
726 (package
727 (name "gnome-menus")
728 (version "3.32.0")
729 (source (origin
730 (method url-fetch)
731 (uri (string-append "mirror://gnome/sources/gnome-menus/"
732 (version-major+minor version) "/"
733 name "-" version ".tar.xz"))
734 (sha256
735 (base32
736 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
737 (build-system gnu-build-system)
738 (native-inputs
739 `(("gettext" ,gettext-minimal)
740 ("glib" ,glib)
741 ("pkg-config" ,pkg-config)))
742 (synopsis "Menu support for GNOME desktop")
743 (description "GNOME Menus contains the libgnome-menu library, the layout
744configuration files for the GNOME menu, as well as a simple menu editor.")
745 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
7bd000d1 746 (license license:lgpl2.0+)))
30416265 747
d61a894b
CB
748(define-public deja-dup
749 (package
750 (name "deja-dup")
751 (version "34.3")
752 (source (origin
753 (method url-fetch)
754 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
755 (sha256
756 (base32
757 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
758 (patches
759 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
760 (build-system glib-or-gtk-build-system)
761 (arguments
762 `(#:modules ((guix build gnu-build-system)
763 ((guix build cmake-build-system) #:prefix cmake:)
764 (guix build glib-or-gtk-build-system)
765 (guix build utils))
766 #:imported-modules (,@%glib-or-gtk-build-system-modules
767 (guix build cmake-build-system))
768 #:test-target "test"
769 #:configure-flags (list (string-append
770 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
771 (string-append
772 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
773 #:phases
774 (modify-phases %standard-phases
775 (add-after 'unpack 'patch-lockfile-deletion
776 (lambda rest
777 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
778 (("/bin/rm")
779 (which "rm")))))
780 (replace 'configure
781 (assoc-ref cmake:%standard-phases 'configure))
782 (delete 'check) ;; Fails due to issues with DBus
783 (add-after 'install 'wrap-deja-dup
784 (lambda* (#:key inputs outputs #:allow-other-keys)
785 (let ((python (assoc-ref inputs "python"))
786 (python-path (getenv "PYTHONPATH"))
787 (duplicity (assoc-ref inputs "duplicity"))
788 (out (assoc-ref outputs "out")))
789 (for-each
790 (lambda (program)
791 (wrap-program program
792 `("PATH" ":" prefix (,(string-append python "/bin")
793 ,(string-append duplicity "/bin"))))
794 (wrap-program program
795 `("PYTHONPATH" ":" prefix (,python-path))))
796
797 (find-files (string-append out "/bin")))
798 #t))))))
799 (inputs
800 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
801 ("gobject-introspection" ,gobject-introspection)
802 ("duplicity" ,duplicity)
61506fe5 803 ("python" ,python-2)
d61a894b
CB
804 ("python-pygobject" ,python2-pygobject)
805 ("gtk+" ,gtk+)
806 ("libnotify" ,libnotify)
807 ("libpeas" ,libpeas)
808 ("libsecret" ,libsecret)
809 ("packagekit" ,packagekit)))
810 (native-inputs
811 `(("pkg-config" ,pkg-config)
812 ("vala" ,vala)
813 ("gettext" ,gettext-minimal)
814 ("itstool" ,itstool)
815 ("intltool" ,intltool)
c69959f0 816 ("cmake" ,cmake-minimal)))
d61a894b
CB
817 (home-page "https://launchpad.net/deja-dup")
818 (synopsis "Simple backup tool, for regular encrypted backups")
819 (description
820 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
821uses duplicity as the backend, which supports incremental backups and storage
822either on a local, or remote machine via a number of methods.")
823 (license license:gpl3+)))
824
823b77fb
RG
825(define-public gnome-user-docs
826 (package
827 (name "gnome-user-docs")
828 (version "3.32.3")
829 (source
830 (origin
831 (method url-fetch)
832 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
833 (version-major+minor version)
834 "/gnome-user-docs-" version ".tar.xz"))
835 (sha256
836 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
837 (build-system gnu-build-system)
838 (native-inputs
839 `(("gettext" ,gettext-minimal)
840 ("itstool" ,itstool)
841 ("pkg-config" ,pkg-config)
842 ("xmllint" ,libxml2)))
843 (synopsis "User documentation for the GNOME desktop")
844 (description
845 "The GNOME User Documentation explains how to use the GNOME desktop and its
846components. It covers usage and setup of the core GNOME programs by end-users
847and system administrators.")
848 (home-page "https://live.gnome.org/DocumentationProject")
849 (license license:cc-by3.0)))
850
be93299d
RG
851(define-public gnome-getting-started-docs
852 (package
853 (name "gnome-getting-started-docs")
854 (version "3.32.2")
855 (source
856 (origin
857 (method url-fetch)
858 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
859 (version-major+minor version)
860 "/gnome-getting-started-docs-" version ".tar.xz"))
861 (sha256
862 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
863 (build-system gnu-build-system)
864 (native-inputs
865 `(("gettext" ,gettext-minimal)
866 ("itstool" ,itstool)
867 ("pkg-config" ,pkg-config)
868 ("xmllint" ,libxml2)))
869 (synopsis "Help to get new users started with the GNOME desktop")
870 (description
871 "The GNOME Getting Started Documentation contains GNOME's intuitive
872\"Getting Started\" tour, with video guides, that can be viewed with Yelp.
873
874It is normally used together with @command{gnome-initial-setup}, but is also
875useful as a tutorial and users' guide for new or less experienced users.")
876 (home-page "https://live.gnome.org/DocumentationProject")
877 (license license:cc-by-sa3.0)))
878
a56be436
RJ
879(define-public dia
880 ;; This version from GNOME's repository includes fixes for compiling with
881 ;; recent versions of the build tools. The latest activity on the
882 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
883 ;; fixes in 2016.
884 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
885 (package
886 (name "dia")
914c8cdf 887 (version (git-version "0.97.3" "1" commit))
a56be436
RJ
888 (source (origin
889 (method git-fetch)
890 (uri (git-reference
914c8cdf 891 (url "https://gitlab.gnome.org/GNOME/dia.git/")
a56be436 892 (commit commit)))
914c8cdf 893 (file-name (git-file-name name version))
a56be436
RJ
894 (sha256
895 (base32
896 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
897 (build-system gnu-build-system)
898 (inputs
a315afa3 899 `(("freetype" ,freetype)
a56be436
RJ
900 ("gdk-pixbuf" ,gdk-pixbuf)
901 ("gtk+" ,gtk+-2)
a315afa3 902 ("libart-lgpl" ,libart-lgpl)
a56be436 903 ("libxml2" ,libxml2)
a315afa3 904 ("pango" ,pango)))
a56be436 905 (native-inputs
a315afa3 906 `(("autoconf" ,autoconf)
a56be436 907 ("automake" ,automake)
a315afa3
EF
908 ("intltool" ,intltool)
909 ("glib" ,glib "bin")
a56be436
RJ
910 ("libtool" ,libtool)
911 ("perl" ,perl)
a315afa3 912 ("pkg-config" ,pkg-config)
a56be436
RJ
913 ("python-wrapper" ,python-wrapper)))
914 (arguments
915 `(#:phases
916 (modify-phases %standard-phases
4b3e91de 917 (add-before 'bootstrap 'dont-configure-during-bootstrap
a56be436 918 (lambda _
4b3e91de
EF
919 (setenv "NOCONFIGURE" "true")
920 #t)))))
a56be436
RJ
921 (home-page "https://wiki.gnome.org/Apps/Dia")
922 (synopsis "Diagram creation for GNOME")
923 (description "Dia can be used to draw different types of diagrams, and
924includes support for UML static structure diagrams (class diagrams), entity
925relationship modeling, and network diagrams. The program supports various file
926formats like PNG, SVG, PDF and EPS.")
927 (license license:gpl2+))))
928
d0b19e44
RW
929;; This is the unstable release, but it is required for the current stable
930;; release of gvfs (1.38.1).
adc5cb1b
KK
931(define-public libgdata
932 (package
933 (name "libgdata")
d0b19e44 934 (version "0.17.9")
adc5cb1b
KK
935 (source (origin
936 (method url-fetch)
937 (uri (string-append "mirror://gnome/sources/" name "/"
938 (version-major+minor version) "/"
939 name "-" version ".tar.xz"))
940 (sha256
941 (base32
d0b19e44 942 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
adc5cb1b
KK
943 (build-system gnu-build-system)
944 (arguments
945 '(#:phases
946 (modify-phases %standard-phases
448052b7
TGR
947 (add-before 'check 'disable-failing-tests
948 (lambda _
949 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
950 ;; They have been removed in libgdata 0.17.6, so just do the same.
951 (substitute* "gdata/tests/Makefile"
952 (("picasaweb\\$\\(EXEEXT\\) ") ""))
adc5cb1b
KK
953 #t)))))
954 (native-inputs
955 `(("glib:bin" ,glib "bin")
956 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
957 ("intltool" ,intltool)
958 ("pkg-config" ,pkg-config)
959 ("uhttpmock" ,uhttpmock)))
960 (inputs
961 `(("cyrus-sasl" ,cyrus-sasl)
d0b19e44 962 ("glib-networking" ,glib-networking)))
adc5cb1b
KK
963 (propagated-inputs
964 `(("gcr" ,gcr)
d0b19e44 965 ("glib" ,glib)
14c297fd 966 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
d0b19e44 967 ("json-glib" ,json-glib)
adc5cb1b 968 ("liboauth" ,liboauth)
d0b19e44 969 ("libsoup" ,libsoup)
adc5cb1b
KK
970 ("libxml2" ,libxml2)))
971 (home-page "https://wiki.gnome.org/Projects/libgdata")
972 (synopsis "Library for accessing online service APIs")
973 (description
974 "libgdata is a GLib-based library for accessing online service APIs using
975the GData protocol — most notably, Google's services. It provides APIs to
976access the common Google services, and has full asynchronous support.")
977 (license license:lgpl2.1+)))
978
94e10cf4
KK
979(define-public libgxps
980 (package
981 (name "libgxps")
66470a5a 982 (version "0.3.1")
94e10cf4
KK
983 (source (origin
984 (method url-fetch)
7f10628c 985 (uri (string-append "mirror://gnome/sources/" name "/"
94e10cf4
KK
986 (version-major+minor version) "/"
987 name "-" version ".tar.xz"))
988 (sha256
989 (base32
66470a5a 990 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
b6b3e512 991 (build-system meson-build-system)
94e10cf4
KK
992 (native-inputs
993 `(("gobject-introspection" ,gobject-introspection)
994 ("pkg-config" ,pkg-config)))
995 (inputs
c8d62d93 996 `(("gtk+" ,gtk+)
b6b3e512 997 ("libjpeg" ,libjpeg-turbo)
94e10cf4 998 ("lcms" ,lcms)
0a6e9e13 999 ("libtiff" ,libtiff)))
c8d62d93
MB
1000 (propagated-inputs
1001 ;; In Requires of libgxps.pc.
1002 `(("cairo" ,cairo)
1003 ("glib" ,glib)
1004 ("libarchive" ,libarchive)))
94e10cf4
KK
1005 (home-page "https://wiki.gnome.org/Projects/libgxps")
1006 (synopsis "GObject-based library for handling and rendering XPS documents")
1007 (description
1008 "libgxps is a GObject-based library for handling and rendering XPS
1009documents. This package also contains binaries that can convert XPS documents
1010to other formats.")
1011 (license license:lgpl2.1+)))
1012
4e09f57a
RG
1013(define-public gnome-characters
1014 (package
1015 (name "gnome-characters")
1016 (version "3.30.0")
1017 (source
1018 (origin
1019 (method url-fetch)
1020 (uri (string-append "mirror://gnome/sources/"
1021 "gnome-characters/" (version-major+minor version)
1022 "/gnome-characters-" version ".tar.xz"))
1023 (sha256
1024 (base32
1025 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1026 (build-system meson-build-system)
5757c641 1027 (arguments
1028 `(#:glib-or-gtk? #t
1029 #:phases (modify-phases %standard-phases
1030 (add-after 'install 'wrap
1031 (lambda* (#:key outputs #:allow-other-keys)
1032 ;; GNOME Characters needs Typelib files from GTK and
1033 ;; gnome-desktop.
1034 (wrap-program (string-append (assoc-ref outputs "out")
1035 "/bin/gnome-characters")
1036 `("GI_TYPELIB_PATH" ":" prefix
1037 (,(getenv "GI_TYPELIB_PATH"))))
1038 #t)))))
4e09f57a
RG
1039 (native-inputs
1040 `(("gettext" ,gettext-minimal)
1041 ("glib:bin" ,glib "bin")
1042 ("gtk+:bin" ,gtk+ "bin")
1043 ("pkg-config" ,pkg-config)
1044 ("python" ,python-minimal)))
1045 (inputs
1046 `(("gjs" ,gjs)
1047 ("gtk+" ,gtk+)
5757c641 1048 ("libunistring" ,libunistring)
1049 ("gnome-desktop" ,gnome-desktop)))
4e09f57a
RG
1050 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1051 (synopsis "Find and insert unusual characters")
1052 (description "Characters is a simple utility application to find
1053and insert unusual characters. It allows you to quickly find the
1054character you are looking for by searching for keywords.")
1055 (license license:bsd-3)))
1056
7aab13f1
ML
1057(define-public gnome-common
1058 (package
1059 (name "gnome-common")
af83490d 1060 (version "3.18.0")
7aab13f1
ML
1061 (source
1062 (origin
1063 (method url-fetch)
1064 (uri (string-append "mirror://gnome/sources/" name "/"
1065 (version-major+minor version) "/"
1066 name "-" version ".tar.xz"))
1067 (sha256
1068 (base32
af83490d 1069 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
7aab13f1
ML
1070 (build-system gnu-build-system)
1071 (home-page "https://www.gnome.org/")
1072 (synopsis "Bootstrap GNOME modules built from Git")
1073 (description "gnome-common contains various files needed to bootstrap
1074GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1075can be used to configure a source directory checked out from Git and some
1076commonly used macros.")
1077 (license license:gpl2+)))
1078
4e868d22
RG
1079(define-public gnome-contacts
1080 (package
1081 (name "gnome-contacts")
6a6138b2 1082 (version "3.32.1")
4e868d22
RG
1083 (source (origin
1084 (method url-fetch)
1085 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1086 (version-major+minor version) "/"
1087 name "-" version ".tar.xz"))
1088 (sha256
1089 (base32
6a6138b2 1090 "17g1gh8yj58cfpdx69h2szivlbjgvv982kmhnkkh0i5bwj0zs2yy"))))
4e868d22
RG
1091 (build-system meson-build-system)
1092 (arguments
1093 `(#:phases
1094 (modify-phases %standard-phases
1095 (add-after 'unpack 'generate-vapis
1096 (lambda* (#:key inputs #:allow-other-keys)
1097 ;; To generate goa's missing .vapi file
1098 (define goa
1099 (assoc-ref inputs "gnome-online-accounts:lib"))
1100
1101 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1102 "--library=goa-1.0"
1103 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1104 #t)))))
1105 (native-inputs
1106 `(("glib:bin" ,glib "bin")
1107 ("gtk+:bin" ,gtk+ "bin")
1108 ("pkg-config" ,pkg-config)))
1109 (inputs
1110 `(("cheese" ,cheese)
1111 ("docbook-xml" ,docbook-xml)
1112 ("dockbook-xsl" ,docbook-xsl)
1113 ("evolution-data-server" ,evolution-data-server)
1114 ("gettext" ,gettext-minimal)
1115 ("gnome-desktop" ,gnome-desktop)
1116 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1117 ("gobject-introspection" ,gobject-introspection)
1118 ("gst-plugins-base" ,gst-plugins-base)
1119 ("gtk+" ,gtk+)
1120 ("libgee" ,libgee)
1121 ("libxslt" ,libxslt)
1122 ("telepathy-glib" ,telepathy-glib)
1123 ("vala" ,vala)))
1124 (propagated-inputs
1125 `(("folks", folks)
1126 ("telepathy-mission-control" ,telepathy-mission-control)))
1127 (synopsis "GNOME's integrated address book")
1128 (description
1129 "GNOME Contacts organizes your contact information from online and
1130offline sources, providing a centralized place for managing your contacts.")
1131 (home-page "https://wiki.gnome.org/Apps/Contacts")
1132 (license license:gpl2+)))
1133
9cc98f8a
CR
1134(define-public gnome-desktop
1135 (package
1136 (name "gnome-desktop")
e8a26caa 1137 (version "3.32.2")
9cc98f8a
CR
1138 (source
1139 (origin
1140 (method url-fetch)
b38e45d8
EB
1141 (uri (string-append "mirror://gnome/sources/" name "/"
1142 (version-major+minor version) "/"
9cc98f8a
CR
1143 name "-" version ".tar.xz"))
1144 (sha256
1145 (base32
e8a26caa
KK
1146 "0bidx4626x7k2myv6f64qv4fzmxv8v475wibiz19kj8hjfr737q9"))))
1147 (build-system meson-build-system)
a0fe7c06
CB
1148 (arguments
1149 '(#:phases
1150 (modify-phases %standard-phases
1151 (add-before 'configure 'patch-path
1152 (lambda* (#:key inputs #:allow-other-keys)
1153 (let ((libc (assoc-ref inputs "libc")))
1154 (substitute* "libgnome-desktop/gnome-languages.c"
1155 (("\"locale\"")
1156 (string-append "\"" libc "/bin/locale\"")))
e8a26caa
KK
1157 #t)))
1158 (add-before 'check 'pre-check
1159 (lambda* (#:key inputs #:allow-other-keys)
1160 ;; Tests require a running X server and locales.
1161 (system "Xvfb :1 &")
1162 (setenv "DISPLAY" ":1")
1163 (setenv "GUIX_LOCPATH"
1164 (string-append (assoc-ref inputs "glibc-locales")
1165 "/lib/locale"))
1166 #t)))))
9cc98f8a 1167 (native-inputs
e8a26caa
KK
1168 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1169 ("glibc-locales" ,glibc-locales) ; for tests
1170 ("gobject-introspection" ,gobject-introspection)
a8340482 1171 ("itstool" ,itstool)
bcb354ad
SB
1172 ("intltool" ,intltool)
1173 ("pkg-config" ,pkg-config)
e8a26caa
KK
1174 ("xmllint" ,libxml2)
1175 ("xorg-server" ,xorg-server-for-tests)))
a8340482
SB
1176 (propagated-inputs
1177 ;; Required by gnome-desktop-3.0.pc.
1178 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
e8a26caa 1179 ("gtk+" ,gtk+)
9cc98f8a 1180 ("iso-codes" ,iso-codes)
9863ce20 1181 ("libseccomp" ,libseccomp)
9cc98f8a 1182 ("libx11" ,libx11)
e8a26caa
KK
1183 ("xkeyboard-config" ,xkeyboard-config)))
1184 (inputs
1185 `(("gdk-pixbuf" ,gdk-pixbuf)
1186 ("glib" ,glib)
9cc98f8a
CR
1187 ("libxext" ,libxext)
1188 ("libxkbfile" ,libxkbfile)
e8a26caa 1189 ("libxrandr" ,libxrandr)))
9cc98f8a
CR
1190 (home-page "https://www.gnome.org/")
1191 (synopsis
35b9e423 1192 "Libgnome-desktop, gnome-about, and desktop-wide documents")
9cc98f8a
CR
1193 (description
1194 "The libgnome-desktop library provides API shared by several applications
35b9e423
EB
1195on the desktop, but that cannot live in the platform for various reasons.
1196There is no API or ABI guarantee, although we are doing our best to provide
1197stability. Documentation for the API is available with gtk-doc.
9cc98f8a
CR
1198
1199The gnome-about program helps find which version of GNOME is installed.")
1200 ; Some bits under the LGPL.
1dd26275 1201 (license license:gpl2+)))
9cc98f8a 1202
995b7261
AE
1203(define-public gnome-doc-utils
1204 (package
1205 (name "gnome-doc-utils")
1206 (version "0.20.10")
1207 (source
1208 (origin
1209 (method url-fetch)
b38e45d8
EB
1210 (uri (string-append "mirror://gnome/sources/" name "/"
1211 (version-major+minor version) "/"
995b7261
AE
1212 name "-" version ".tar.xz"))
1213 (sha256
1214 (base32
1215 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1216 (build-system gnu-build-system)
c4c4cc05 1217 (native-inputs
995b7261 1218 `(("intltool" ,intltool)
b4ce6300 1219 ("docbook-xml" ,docbook-xml-4.4)
d80b0d4a 1220 ("python2-libxml2" ,python2-libxml2)
995b7261
AE
1221 ("libxml2" ,libxml2)
1222 ("libxslt" ,libxslt)
1223 ("pkg-config" ,pkg-config)
1224 ("python-2" ,python-2)))
995b7261
AE
1225 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1226 (synopsis
1227 "Documentation utilities for the Gnome project")
1228 (description
1229 "Gnome-doc-utils is a collection of documentation utilities for the
1230Gnome project. It includes xml2po tool which makes it easier to translate
1231and keep up to date translations of documentation.")
1dd26275 1232 (license license:gpl2+))) ; xslt under lgpl
d9c1a22b 1233
6c4f7022
DC
1234(define-public gnome-disk-utility
1235 (package
1236 (name "gnome-disk-utility")
e106d0a6 1237 (version "3.32.1")
6c4f7022
DC
1238 (source (origin
1239 (method url-fetch)
1240 (uri (string-append "mirror://gnome/sources/" name "/"
1241 (version-major+minor version) "/"
1242 name "-" version ".tar.xz"))
1243 (sha256
1244 (base32
e106d0a6 1245 "08vwbji9m1nhjjdiyhhaqi8cncys7i89b4bpy095f8475v8y05bg"))))
4b9a65bf 1246 (build-system meson-build-system)
321c73c3
EF
1247 (arguments
1248 '(#:phases
1249 (modify-phases %standard-phases
1250 (add-after 'unpack 'skip-gtk-update-icon-cache
1251 ;; Don't create 'icon-theme.cache'.
1252 (lambda _
1253 (substitute* "meson_post_install.py"
1254 (("gtk-update-icon-cache") "true"))
1255 #t)))))
6c4f7022
DC
1256 (native-inputs
1257 `(("glib:bin" ,glib "bin")
1258 ("intltool" ,intltool)
1259 ("pkg-config" ,pkg-config)
1260 ("docbook-xml" ,docbook-xml)
1261 ("docbook-xsl" ,docbook-xsl)
1262 ("libxml2" ,libxml2)
1263 ("libxslt" ,libxslt)))
1264 (inputs
1265 `(("glib" ,glib)
1266 ("appstream-glib" ,appstream-glib)
1267 ("gnome-settings-daemon" ,gnome-settings-daemon)
1268 ("gtk+" ,gtk+)
1269 ("libcanberra" ,libcanberra)
1270 ("libdvdread" ,libdvdread)
1271 ("libnotify" ,libnotify)
1272 ("libpwquality" ,libpwquality)
1273 ("libsecret" ,libsecret)
1274 ("udisks" ,udisks)))
1275 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1276 (synopsis "Disk management utility for GNOME")
1277 (description "Disk management utility for GNOME.")
1278 (license license:gpl2+)))
1279
3d217317
RG
1280(define-public gnome-font-viewer
1281 (package
1282 (name "gnome-font-viewer")
1283 (version "3.30.0")
1284 (source (origin
1285 (method url-fetch)
1286 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1287 (version-major+minor version)
1288 "/gnome-font-viewer-" version ".tar.xz"))
1289 (sha256
1290 (base32
1291 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1292 (build-system meson-build-system)
1293 (arguments
1294 '(#:phases
1295 (modify-phases %standard-phases
1296 (add-after 'unpack 'patch-post-install-script
1297 (lambda _
1298 (substitute* "meson-postinstall.sh"
1299 (("update-desktop-database") (which "true")))
1300 #t)))))
1301 (native-inputs
1302 `(("gettext" ,gettext-minimal)
1303 ("glib:bin" ,glib "bin")
1304 ("pkg-config" ,pkg-config)))
1305 (inputs
1306 `(("glib" ,glib)
1307 ("gnome-desktop" ,gnome-desktop)
1308 ("gtk+" ,gtk+)))
1309 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1310 (synopsis "GNOME Fonts")
1311 (description "Application to show you the fonts installed on your computer
1312for your use as thumbnails. Selecting any thumbnails shows the full view of how
1313the font would look under various sizes.")
1314 (license license:gpl2+)))
1315
8ff49011
RW
1316(define-public gcr
1317 (package
1318 (name "gcr")
bea6b829 1319 (version "3.28.1")
8ff49011 1320 (source (origin
0daf0efb
RW
1321 (method url-fetch)
1322 (uri (string-append "mirror://gnome/sources/" name "/"
1323 (version-major+minor version) "/"
1324 name "-" version ".tar.xz"))
1325 (sha256
1326 (base32
bea6b829 1327 "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m"))
03ecf85a
MB
1328 (patches
1329 (list
1330 ;; This patch solves an ordering issue that showed up when
1331 ;; running the test suite against newer Glib 2.60. See
1332 ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
1333 (origin
1334 (method url-fetch)
1335 (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
1336 "45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
1337 (file-name "gcr-hashtable-ordering.patch")
1338 (sha256
1339 (base32
1340 "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
8ff49011
RW
1341 (build-system gnu-build-system)
1342 (arguments
0daf0efb
RW
1343 '(#:phases
1344 (modify-phases %standard-phases
1345 ;; These fail because /var/lib/dbus/machine-id is not present in the
1346 ;; build environment.
1347 (add-after 'unpack 'disable-failing-tests
1348 (lambda _
1349 (substitute* "gcr/test-system-prompt.c"
1350 (("g_test_add") "//")
1351 (("return.*") "return 0;"))
1352 #t))
1353 (add-before 'check 'pre-check
1354 (lambda _
1355 ;; Some tests expect to write to $HOME.
1356 (setenv "HOME" "/tmp")
1357 #t)))))
8ff49011
RW
1358 (inputs
1359 `(("dbus" ,dbus)
0daf0efb 1360 ("gnupg" ,gnupg) ;called as a child process during tests
8ff49011
RW
1361 ("libgcrypt" ,libgcrypt)))
1362 (native-inputs
0daf0efb 1363 `(("python" ,python-2) ;for tests
8ff49011
RW
1364 ("pkg-config" ,pkg-config)
1365 ("glib" ,glib "bin")
2af4f5b0
SB
1366 ("gobject-introspection" ,gobject-introspection)
1367 ("intltool" ,intltool)
0daf0efb 1368 ("libxml2" ,libxml2)
bea6b829 1369 ("vala" ,vala)
2af4f5b0 1370 ("xsltproc" ,libxslt)))
8ff49011
RW
1371 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1372 (propagated-inputs
1373 `(("p11-kit" ,p11-kit)
1374 ("glib" ,glib)
1375 ("gtk+" ,gtk+)))
f032d0be 1376 (home-page "https://www.gnome.org")
8ff49011
RW
1377 (synopsis "Libraries for displaying certificates and accessing key stores")
1378 (description
1379 "The GCR package contains libraries used for displaying certificates and
1380accessing key stores. It also provides the viewer for crypto files on the
1381GNOME Desktop.")
1382 (license license:lgpl2.1+)))
1383
c1354b90
LC
1384(define-public libgnome-keyring
1385 (package
1386 (name "libgnome-keyring")
5e8aec2c 1387 (version "3.12.0")
c1354b90
LC
1388 (source (origin
1389 (method url-fetch)
b38e45d8
EB
1390 (uri (string-append "mirror://gnome/sources/" name "/"
1391 (version-major+minor version) "/"
1392 name "-" version ".tar.xz"))
c1354b90
LC
1393 (sha256
1394 (base32
5e8aec2c 1395 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
c1354b90 1396 (build-system gnu-build-system)
c1354b90 1397 (inputs
c4c4cc05 1398 `(("libgcrypt" ,libgcrypt)
c1354b90 1399 ("dbus" ,dbus)))
c4c4cc05
JD
1400 (native-inputs
1401 `(("pkg-config" ,pkg-config)
426adbe8 1402 ("glib" ,glib "bin")
c4c4cc05 1403 ("intltool" ,intltool)))
c1354b90
LC
1404 (propagated-inputs
1405 ;; Referred to in .h files and .pc.
1406 `(("glib" ,glib)))
f032d0be 1407 (home-page "https://www.gnome.org")
c1354b90
LC
1408 (synopsis "Accessing passwords from the GNOME keyring")
1409 (description
1410 "Client library to access passwords from the GNOME keyring.")
1411
1412 ;; Though a couple of files are LGPLv2.1+.
1dd26275 1413 (license license:lgpl2.0+)))
c1354b90 1414
e99a3d6f
RW
1415(define-public gnome-keyring
1416 (package
1417 (name "gnome-keyring")
ab35cc6e 1418 (version "3.28.2")
e99a3d6f
RW
1419 (source (origin
1420 (method url-fetch)
1421 (uri (string-append "mirror://gnome/sources/" name "/"
1422 (version-major+minor version) "/"
1423 name "-" version ".tar.xz"))
1424 (sha256
1425 (base32
ab35cc6e 1426 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
e99a3d6f
RW
1427 (build-system gnu-build-system)
1428 (arguments
1429 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1430 ;not exist
1431 #:configure-flags
1432 (list
1433 (string-append "--with-pkcs11-config="
1434 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1435 (string-append "--with-pkcs11-modules="
1436 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1437 #:phases
1438 (modify-phases %standard-phases
ab35cc6e
RW
1439 (add-after 'unpack 'fix-/bin/sh-reference
1440 (lambda _
1441 (substitute* "po/Makefile.in.in"
1442 (("/bin/sh") (which "sh")))
1443 #t))
5120f24f
RW
1444 (add-after 'unpack 'fix-docbook
1445 (lambda* (#:key inputs #:allow-other-keys)
1446 (substitute* "docs/Makefile.am"
1447 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1448 (string-append (assoc-ref inputs "docbook-xsl")
1449 "/xml/xsl/docbook-xsl-"
1450 ,(package-version docbook-xsl)
1451 "/manpages/docbook.xsl")))
1452 (setenv "XML_CATALOG_FILES"
1453 (string-append (assoc-ref inputs "docbook-xml")
1454 "/xml/dtd/docbook/catalog.xml"))
1455 ;; Rerun the whole thing to avoid version mismatch ("This is
1456 ;; Automake 1.15.1, but the definition used by this
1457 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1458 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1459 (invoke "autoconf")
1460 (invoke "aclocal")
1461 (invoke "automake" "-ac"))))))
e99a3d6f
RW
1462 (inputs
1463 `(("libgcrypt" ,libgcrypt)
1a0b2d82 1464 ("linux-pam" ,linux-pam)
ab35cc6e 1465 ("openssh" ,openssh)
e99a3d6f
RW
1466 ("dbus" ,dbus)
1467 ("gcr" ,gcr)))
1468 (native-inputs
1469 `(("pkg-config" ,pkg-config)
1470 ("glib" ,glib "bin")
5120f24f 1471 ("glib" ,glib) ; for m4 macros
e99a3d6f
RW
1472 ("python" ,python-2) ;for tests
1473 ("intltool" ,intltool)
1474 ("autoconf" ,autoconf)
1475 ("automake" ,automake)
1476 ("libxslt" ,libxslt) ;for documentation
1477 ("docbook-xml" ,docbook-xml-4.2)
1478 ("docbook-xsl" ,docbook-xsl)))
f032d0be 1479 (home-page "https://www.gnome.org")
e99a3d6f
RW
1480 (synopsis "Daemon to store passwords and encryption keys")
1481 (description
1482 "gnome-keyring is a program that keeps passwords and other secrets for
1483users. It is run as a daemon in the session, similar to ssh-agent, and other
1484applications locate it via an environment variable or D-Bus.
1485
1486The program can manage several keyrings, each with its own master password,
1487and there is also a session keyring which is never stored to disk, but
1488forgotten when the session ends.")
1489 (license license:lgpl2.1+)))
1490
c1354b90
LC
1491(define-public evince
1492 (package
1493 (name "evince")
936d5642 1494 (version "3.34.2")
c1354b90
LC
1495 (source (origin
1496 (method url-fetch)
ac631328 1497 (uri (string-append "mirror://gnome/sources/evince/"
b38e45d8 1498 (version-major+minor version) "/"
ac631328 1499 "evince-" version ".tar.xz"))
c1354b90
LC
1500 (sha256
1501 (base32
936d5642 1502 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
121de2e1 1503 (build-system glib-or-gtk-build-system)
c1354b90 1504 (arguments
169b8f77 1505 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
554b2dac
SB
1506 #:phases
1507 (modify-phases %standard-phases
1508 (add-before 'install 'skip-gtk-update-icon-cache
1509 ;; Don't create 'icon-theme.cache'.
1510 (lambda _
1511 (substitute* "data/Makefile"
1512 (("gtk-update-icon-cache") "true"))
1513 #t)))))
c1354b90 1514 (inputs
9a096881
KK
1515 `(("libarchive" ,libarchive)
1516 ("libgxps" ,libgxps)
1517 ("libspectre" ,libspectre)
c769cf9f 1518 ("djvulibre" ,djvulibre)
c1354b90
LC
1519 ("ghostscript" ,ghostscript)
1520 ("poppler" ,poppler)
c769cf9f
SB
1521 ("libtiff" ,libtiff)
1522 ;; TODO:
c769cf9f
SB
1523 ;; Build libkpathsea as a shared library for DVI support.
1524 ;; ("libkpathsea" ,texlive-bin)
1525 ("gnome-desktop" ,gnome-desktop)
c1354b90 1526 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2dfc16d1 1527 ("gspell" ,gspell)
c1354b90 1528 ("libgnome-keyring" ,libgnome-keyring)
c769cf9f 1529 ("adwaita-icon-theme" ,adwaita-icon-theme)
c1354b90
LC
1530 ("gdk-pixbuf" ,gdk-pixbuf)
1531 ("atk" ,atk)
1532 ("pango" ,pango)
1533 ("gtk+" ,gtk+)
1534 ("glib" ,glib)
1535 ("libxml2" ,libxml2)
c1354b90
LC
1536 ("libsm" ,libsm)
1537 ("libice" ,libice)
96e42467 1538 ("shared-mime-info" ,shared-mime-info)
3d243e9c
FB
1539 ("dconf" ,dconf)
1540 ("libcanberra" ,libcanberra)
c769cf9f 1541 ("libsecret" ,libsecret)
a271096b 1542
c1354b90
LC
1543 ;; For tests.
1544 ("dogtail" ,python2-dogtail)))
96e42467 1545 (native-inputs
bcb354ad
SB
1546 `(("itstool" ,itstool)
1547 ("intltool" ,intltool)
426adbe8 1548 ("glib" ,glib "bin")
169b8f77 1549 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
1550 ("pkg-config" ,pkg-config)
1551 ("xmllint" ,libxml2)))
c1354b90 1552 (home-page
f032d0be 1553 "https://www.gnome.org/projects/evince/")
c1354b90
LC
1554 (synopsis "GNOME's document viewer")
1555 (description
1556 "Evince is a document viewer for multiple document formats. It
1557currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1558of Evince is to replace the multiple document viewers that exist
96e42467 1559on the GNOME Desktop with a single simple application.")
1dd26275 1560 (license license:gpl2+)))
c1354b90 1561
22e32e69
AE
1562(define-public gsettings-desktop-schemas
1563 (package
1564 (name "gsettings-desktop-schemas")
c900dabd 1565 (version "3.32.0")
22e32e69
AE
1566 (source
1567 (origin
1568 (method url-fetch)
1569 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1570 (version-major+minor version) "/"
22e32e69
AE
1571 name "-" version ".tar.xz"))
1572 (sha256
1573 (base32
c900dabd
KK
1574 "0d8a6479vappgplq5crdr3ah0ykqcr3fw533wkx9v1a8lnrv8n9d"))))
1575 (build-system meson-build-system)
65209ffa
LC
1576 (arguments
1577 '(#:phases (modify-phases %standard-phases
1578 (add-after 'unpack 'set-adwaita-theme-file-name
1579 (lambda* (#:key inputs #:allow-other-keys)
1580 ;; Provide the correct file name of the default GNOME
1581 ;; background, 'adwaita-timed.xml'.
1582 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1583 (substitute* (find-files "schemas"
1584 "\\.gschema\\.xml\\.in$")
1585 (("@datadir@/backgrounds/gnome")
1586 (string-append theme "/share/backgrounds/gnome")))
1587 #t))))))
22e32e69 1588 (inputs
65209ffa
LC
1589 `(("glib" ,glib)
1590 ("gnome-backgrounds" ,gnome-backgrounds)))
c4c4cc05
JD
1591 (native-inputs
1592 `(("intltool" ,intltool)
426adbe8 1593 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
7211944a 1594 ("gobject-introspection" ,gobject-introspection)
22e32e69
AE
1595 ("pkg-config" ,pkg-config)))
1596 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1597 (synopsis
1598 "GNOME settings for various desktop components")
1599 (description
1600 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1601for settings shared by various components of the GNOME desktop.")
1dd26275 1602 (license license:lgpl2.1+)))
22e32e69 1603
27477d2d
AE
1604(define-public icon-naming-utils
1605 (package
1606 (name "icon-naming-utils")
1607 (version "0.8.90")
1608 (source
1609 (origin
1610 (method url-fetch)
5cc3096c 1611 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
27477d2d
AE
1612 version ".tar.bz2"))
1613 (sha256
1614 (base32
1615 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1616 (build-system gnu-build-system)
1617 (inputs
1618 `(("perl" ,perl)
1619 ("perl-xml-simple" ,perl-xml-simple)))
f4e97277
SB
1620 (arguments
1621 '(#:phases
dc1d3cde
KK
1622 (modify-phases %standard-phases
1623 (add-after 'install 'set-load-paths
1624 ;; Tell 'icon-name-mapping' where XML::Simple is.
1625 (lambda* (#:key outputs #:allow-other-keys)
1626 (let* ((out (assoc-ref outputs "out"))
1627 (prog (string-append out "/libexec/icon-name-mapping")))
1628 (wrap-program
1629 prog
1630 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1631 #t)))))
27477d2d
AE
1632 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1633 (synopsis
1634 "Utility to implement the Freedesktop Icon Naming Specification")
1635 (description
1636 "To help with the transition to the Freedesktop Icon Naming
1637Specification, the icon naming utility maps the icon names used by the
1638GNOME and KDE desktops to the icon names proposed in the specification.")
1dd26275 1639 (license license:lgpl2.1+)))
27477d2d 1640
7d3f3651
AE
1641(define-public gnome-icon-theme
1642 (package
1643 (name "gnome-icon-theme")
b32f58dd 1644 (version "3.12.0")
7d3f3651
AE
1645 (source
1646 (origin
1647 (method url-fetch)
1648 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1649 (version-major+minor version) "/"
7d3f3651
AE
1650 name "-" version ".tar.xz"))
1651 (sha256
1652 (base32
b32f58dd 1653 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
7d3f3651 1654 (build-system gnu-build-system)
5613c27d
SB
1655 (arguments
1656 '(#:configure-flags
1657 ;; Don't create 'icon-theme.cache'.
1658 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1659 (true (string-append coreutils "/bin/true")))
1660 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
c4c4cc05 1661 (native-inputs
5613c27d 1662 `(("icon-naming-utils" ,icon-naming-utils)
73b6cf42
SB
1663 ("intltool" ,intltool)
1664 ("pkg-config" ,pkg-config)))
5c610d4f
KK
1665 (home-page "https://wiki.gnome.org/Personalization")
1666 (synopsis "GNOME icon theme")
1667 (description "Icons for the GNOME desktop.")
1dd26275 1668 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
7d3f3651 1669
14eeefa2
SB
1670;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1671(define-public adwaita-icon-theme
1672 (package (inherit gnome-icon-theme)
1673 (name "adwaita-icon-theme")
9be59d7f 1674 (version "3.32.0")
14eeefa2
SB
1675 (source (origin
1676 (method url-fetch)
1677 (uri (string-append "mirror://gnome/sources/" name "/"
1678 (version-major+minor version) "/"
1679 name "-" version ".tar.xz"))
1680 (sha256
1681 (base32
9be59d7f 1682 "11ij35na8nisvxx3qh527iz33h6z2q1a7iinqyp7p65v0zjbd3b9"))))
5613c27d
SB
1683 (native-inputs
1684 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
14eeefa2 1685
ae792dba
RW
1686(define-public tango-icon-theme
1687 (package
1688 (name "tango-icon-theme")
1689 (version "0.8.90")
1690 (source (origin
1691 (method url-fetch)
1692 (uri (string-append "http://tango.freedesktop.org/releases/"
1693 "tango-icon-theme-" version ".tar.bz2"))
1694 (sha256
1695 (base32
1696 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1697 (build-system gnu-build-system)
1698 (native-inputs
1699 `(("icon-naming-utils" ,icon-naming-utils)
1700 ("intltool" ,intltool)
1701 ("imagemagick" ,imagemagick)
1702 ("pkg-config" ,pkg-config)))
1703 (home-page "http://tango-project.org/")
1704 (synopsis "Tango icon theme")
1705 (description "This is an icon theme that follows the Tango visual
1706guidelines.")
1707 (license license:public-domain)))
1708
9167f8e6
LC
1709(define-public shared-mime-info
1710 (package
1711 (name "shared-mime-info")
18138ab9 1712 (version "1.10")
9167f8e6
LC
1713 (source (origin
1714 (method url-fetch)
5cc3096c 1715 (uri (string-append "https://freedesktop.org/~hadess/"
b38e45d8 1716 "shared-mime-info-" version ".tar.xz"))
9167f8e6
LC
1717 (sha256
1718 (base32
18138ab9 1719 "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"))))
9167f8e6
LC
1720 (build-system gnu-build-system)
1721 (arguments
1722 ;; The build system appears not to be parallel-safe.
1723 '(#:parallel-build? #f))
1724 (inputs
1725 `(("glib" ,glib)
c4c4cc05 1726 ("libxml2" ,libxml2)))
9167f8e6 1727 (native-inputs
c4c4cc05
JD
1728 `(("intltool" ,intltool)
1729 ("pkg-config" ,pkg-config)))
57e7d748 1730 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
9167f8e6
LC
1731 (synopsis "Database of common MIME types")
1732 (description
1733 "The shared-mime-info package contains the core database of common types
1734and the update-mime-database command used to extend it. It requires glib2 to
1735be installed for building the update command. Additionally, it uses intltool
1736for translations, though this is only a dependency for the maintainers. This
1737database is translated at Transifex.")
1dd26275 1738 (license license:gpl2+)))
9167f8e6 1739
dd1fcddc
CB
1740(define-public system-config-printer
1741 (package
1742 (name "system-config-printer")
fa01e10d 1743 (version "1.5.12")
a5643044
TGR
1744 (source
1745 (origin
1746 (method url-fetch)
1747 (uri (string-append
1748 "https://github.com/OpenPrinting/system-config-printer/releases/"
1749 "download/" version
1750 "/system-config-printer-" version ".tar.xz"))
1751 (sha256
fa01e10d 1752 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
dd1fcddc
CB
1753 (build-system glib-or-gtk-build-system)
1754 (arguments
1755 `(#:imported-modules ((guix build python-build-system)
1756 ,@%glib-or-gtk-build-system-modules)
1757 #:phases
1758 (modify-phases %standard-phases
1759 (add-after 'unpack 'patch-Makefile.am
1760 (lambda _
1761 ;; The Makefile generates some scripts, so set a valid shebang
1762 (substitute* "Makefile.am"
1763 (("/bin/bash") (which "bash")))
1764 (delete-file "configure")
1765 #t))
1766 (add-after 'unpack 'patch-docbook-xml
1767 (lambda* (#:key inputs #:allow-other-keys)
1768 ;; Modify the man XML otherwise xmlto tries to access the network
1769 (substitute* "man/system-config-printer.xml"
1770 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1771 (string-append (assoc-ref inputs "docbook-xml")
1772 "/xml/dtd/docbook/")))
1773 #t))
1774 (add-after 'install 'wrap-for-python
1775 (@@ (guix build python-build-system) wrap))
1776 (add-after 'install 'wrap
1777 (lambda* (#:key outputs #:allow-other-keys)
1778 (let ((out (assoc-ref outputs "out"))
1779 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1780 (for-each
1781 (lambda (program)
1782 (wrap-program program
1783 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1784 (map (lambda (name)
1785 (string-append out "/bin/" name))
1786 '("system-config-printer"
1787 "system-config-printer-applet"
1788 "install-printerdriver"
1789 "scp-dbus-service"))))
1790 #t)))))
1791 (inputs
1792 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1793 ("gobject-introspection" ,gobject-introspection)
1794 ("python" ,python)
1795 ("cups" ,cups)
1796 ("python-dbus" ,python-dbus)
1797 ("python-pygobject" ,python-pygobject)
1798 ("python-pycups" ,python-pycups)
1799 ("python-requests" ,python-requests)
1800 ("python-pycairo" ,python-pycairo)
1801 ("libnotify" ,libnotify)
1802 ("packagekit" ,packagekit)))
1803 (native-inputs
1804 `(("pkg-config" ,pkg-config)
1805 ("desktop-file-utils" ,desktop-file-utils)
1806 ("glib" ,glib)
1807 ("autoconf" ,autoconf)
1808 ("automake" ,automake)
1809 ("intltool" ,intltool)
1810 ("xmlto" ,xmlto)
1811 ("docbook-xml" ,docbook-xml-4.1.2)
1812 ("docbook-xsl" ,docbook-xsl)
1813 ("libxml2" ,libxml2)))
1814 (home-page "https://github.com/zdohnal/system-config-printer")
1815 (synopsis "CUPS administration tool")
1816 (description
1817 "system-config-printer is a CUPS administration tool. It's written in
1818Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1819configuring CUPS.")
1820 (license license:gpl2+)))
1821
bef4dd92
AE
1822(define-public hicolor-icon-theme
1823 (package
1824 (name "hicolor-icon-theme")
851cb6dd 1825 (version "0.17")
bef4dd92
AE
1826 (source
1827 (origin
1828 (method url-fetch)
5cc3096c 1829 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
b62a0070 1830 "hicolor-icon-theme-" version ".tar.xz"))
bef4dd92
AE
1831 (sha256
1832 (base32
851cb6dd 1833 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
bef4dd92
AE
1834 (build-system gnu-build-system)
1835 (arguments
1836 `(#:tests? #f)) ; no check target
57e7d748 1837 (home-page "https://icon-theme.freedesktop.org/releases/")
bef4dd92
AE
1838 (synopsis
1839 "Freedesktop icon theme")
1840 (description
1841 "Freedesktop icon theme.")
1dd26275 1842 (license license:gpl2)))
bef4dd92 1843
d9c1a22b
AE
1844(define-public libnotify
1845 (package
1846 (name "libnotify")
195bfa68 1847 (version "0.7.7")
d9c1a22b
AE
1848 (source
1849 (origin
1850 (method url-fetch)
1851 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1852 (version-major+minor version) "/"
d9c1a22b
AE
1853 name "-" version ".tar.xz"))
1854 (sha256
1855 (base32
195bfa68 1856 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
d9c1a22b 1857 (build-system gnu-build-system)
6acf6cec
MB
1858 (arguments
1859 `(#:configure-flags '("--disable-static")))
7ef08efa
UK
1860 (propagated-inputs
1861 `(;; In Requires of libnotify.pc.
1862 ("gdk-pixbuf" ,gdk-pixbuf)
1863 ("glib" ,glib)))
d9c1a22b 1864 (inputs
7ef08efa 1865 `(("gtk+" ,gtk+)
c4c4cc05
JD
1866 ("libpng" ,libpng)))
1867 (native-inputs
426adbe8 1868 `(("pkg-config" ,pkg-config)
277a7d82
JN
1869 ("glib" ,glib "bin")
1870 ("gobject-introspection" ,gobject-introspection)))
d9c1a22b
AE
1871 (home-page "https://developer-next.gnome.org/libnotify/")
1872 (synopsis
1873 "GNOME desktop notification library")
1874 (description
1875 "Libnotify is a library that sends desktop notifications to a
35b9e423 1876notification daemon, as defined in the Desktop Notifications spec. These
d9c1a22b
AE
1877notifications can be used to inform the user about an event or display
1878some form of information without getting in the user's way.")
1dd26275 1879 (license license:lgpl2.1+)))
7a8605ce
CR
1880
1881(define-public libpeas
1882 (package
1883 (name "libpeas")
f2d56e39 1884 (version "1.24.1")
7a8605ce
CR
1885 (source
1886 (origin
1887 (method url-fetch)
1888 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1889 (version-major+minor version) "/"
7a8605ce
CR
1890 name "-" version ".tar.xz"))
1891 (sha256
1892 (base32
f2d56e39
MB
1893 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
1894 (build-system meson-build-system)
1895 (arguments
1896 '(#:phases
1897 (modify-phases %standard-phases
1898 (add-before 'check 'start-xserver
1899 (lambda* (#:key inputs #:allow-other-keys)
1900 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1901 (disp ":1"))
1902 (setenv "DISPLAY" disp)
1903 ;; Tests require a running X server.
1904 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
1905 #t))))))
7a8605ce 1906 (inputs
2ed6522a
SB
1907 `(("gtk+" ,gtk+)
1908 ("glade" ,glade3)
2ed6522a
SB
1909 ("python" ,python)
1910 ("python-pygobject" ,python-pygobject)))
141aed80
LC
1911 (native-inputs
1912 `(("pkg-config" ,pkg-config)
f2d56e39 1913 ("gettext" ,gettext-minimal)
93622993 1914 ("glib:bin" ,glib "bin")
141aed80 1915 ("gobject-introspection" ,gobject-introspection)
f2d56e39 1916 ("xorg-server" ,xorg-server-for-tests)))
55b7bbd8
LC
1917 (propagated-inputs
1918 ;; The .pc file "Requires" gobject-introspection.
1919 `(("gobject-introspection" ,gobject-introspection)))
7a8605ce
CR
1920 (home-page "https://wiki.gnome.org/Libpeas")
1921 (synopsis "GObject plugin system")
1922 (description
d1e4ad1b
TGR
1923 "Libpeas is a gobject-based plugin engine, targeted at giving every
1924application the chance to assume its own extensibility. It also has a set of
1925features including, but not limited to: multiple extension points; on-demand
1926(lazy) programming language support for C, Python and JS; simplicity of the
1927API.")
1dd26275 1928 (license license:lgpl2.0+)))
ed19903d
JD
1929
1930(define-public gtkglext
1931 (package
1932 (name "gtkglext")
1933 (version "1.2.0")
1934 (source (origin
1935 (method url-fetch)
0f971a04 1936 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
ed19903d
JD
1937 version "/gtkglext-" version ".tar.gz"))
1938 (sha256
1939 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
fc1adab1
AK
1940 (patches (search-patches
1941 "gtkglext-disable-disable-deprecated.patch"))))
ed19903d 1942 (build-system gnu-build-system)
14e2f61a
RW
1943 (arguments
1944 `(#:phases
1945 (modify-phases %standard-phases
1946 ;; Fix a collision between a local variable and a definition from
1947 ;; glibc's string.h.
1948 (add-after 'unpack 'fix-collision
1949 (lambda _
1950 (substitute* "gdk/gdkglshapes.c"
1951 ((" index") " triangle_index"))
1952 #t)))))
ed19903d
JD
1953 (inputs `(("gtk+" ,gtk+-2)
1954 ("mesa" ,mesa)
cc8b02f4 1955 ("glu" ,glu)
ed19903d
JD
1956 ("libx11" ,libx11)
1957 ("libxt" ,libxt)))
426adbe8
LC
1958 (native-inputs `(("pkg-config" ,pkg-config)
1959 ("glib" ,glib "bin")))
a83b6a06 1960 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
ed19903d 1961 (home-page "https://projects.gnome.org/gtkglext")
9e771e3b 1962 (synopsis "OpenGL extension to GTK+")
35b9e423 1963 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
ed19903d
JD
1964additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1965API add-ons to make GTK+ widgets OpenGL-capable.")
1dd26275 1966 (license license:lgpl2.1+)))
3600420e
JD
1967
1968(define-public glade3
1969 (package
1970 (name "glade")
c6571adb 1971 (version "3.22.1")
b38e45d8
EB
1972 (source (origin
1973 (method url-fetch)
1974 (uri (string-append "mirror://gnome/sources/" name "/"
1975 (version-major+minor version) "/"
f5ca44b8 1976 name "-" version ".tar.xz"))
3600420e 1977 (sha256
f714d9fe 1978 (base32
c6571adb 1979 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
6983ba56 1980 (build-system glib-or-gtk-build-system)
f5ca44b8
RW
1981 (arguments
1982 `(#:tests? #f ; needs X, GL, and software rendering
1983 #:phases
1984 (modify-phases %standard-phases
1985 (add-before 'configure 'fix-docbook
1986 (lambda* (#:key inputs #:allow-other-keys)
1987 (substitute* "man/Makefile.in"
1988 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1989 (string-append (assoc-ref inputs "docbook-xsl")
1990 "/xml/xsl/docbook-xsl-"
1991 ,(package-version docbook-xsl)
1992 "/manpages/docbook.xsl")))
1993 #t)))))
3600420e 1994 (inputs
f5ca44b8 1995 `(("gtk+" ,gtk+)
3600420e
JD
1996 ("libxml2" ,libxml2)))
1997 (native-inputs
1998 `(("intltool" ,intltool)
f5ca44b8
RW
1999 ("itstool" ,itstool)
2000 ("libxslt" ,libxslt) ;for xsltproc
2001 ("docbook-xml" ,docbook-xml-4.2)
2002 ("docbook-xsl" ,docbook-xsl)
2003 ("python" ,python-2)
3600420e
JD
2004 ("pkg-config" ,pkg-config)))
2005 (home-page "https://glade.gnome.org")
2006 (synopsis "GTK+ rapid application development tool")
2007 (description "Glade is a rapid application development (RAD) tool to
2008enable quick & easy development of user interfaces for the GTK+ toolkit and
2009the GNOME desktop environment.")
1dd26275
LC
2010 (license license:lgpl2.0+)))
2011
2012(define-public libcroco
2013 (package
2014 (name "libcroco")
8bdacad2 2015 (version "0.6.13")
1dd26275
LC
2016 (source (origin
2017 (method url-fetch)
b38e45d8
EB
2018 (uri (string-append "mirror://gnome/sources/" name "/"
2019 (version-major+minor version) "/"
2020 name "-" version ".tar.xz"))
1dd26275
LC
2021 (sha256
2022 (base32
8bdacad2 2023 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
1dd26275
LC
2024 (build-system gnu-build-system)
2025 (native-inputs
2026 `(("pkg-config" ,pkg-config)))
2027 (inputs
2028 `(("glib" ,glib)
2029 ("libxml2" ,libxml2)
2030 ("zlib" ,zlib)))
2031 (home-page "https://github.com/GNOME/libcroco")
2032 (synopsis "CSS2 parsing and manipulation library")
2033 (description
2034 "Libcroco is a standalone CSS2 parsing and manipulation library.
2035The parser provides a low level event driven SAC-like API and a CSS object
2036model like API. Libcroco provides a CSS2 selection engine and an experimental
2037XML/CSS rendering engine.")
2038
2039 ;; LGPLv2.1-only.
2040 (license license:lgpl2.1)))
25178594
LC
2041
2042(define-public libgsf
2043 (package
2044 (name "libgsf")
8d1644a1 2045 (version "1.14.46")
25178594
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"))
25178594
LC
2051 (sha256
2052 (base32
8d1644a1 2053 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
25178594
LC
2054 (build-system gnu-build-system)
2055 (native-inputs
2056 `(("intltool" ,intltool)
2057 ("pkg-config" ,pkg-config)))
2058 (inputs
2059 `(("python" ,python)
2060 ("zlib" ,zlib)
2061 ("bzip2" ,bzip2)))
2062 (propagated-inputs
2063 `(("gdk-pixbuf" ,gdk-pixbuf)
2064 ("glib" ,glib)
2065 ("libxml2" ,libxml2)))
f032d0be 2066 (home-page "https://www.gnome.org/projects/libgsf")
25178594
LC
2067 (synopsis "GNOME's Structured File Library")
2068 (description
2069 "Libgsf aims to provide an efficient extensible I/O abstraction for
2070dealing with different structured file formats.")
2071
2072 ;; LGPLv2.1-only.
2073 (license license:lgpl2.1)))
63016e7c
LC
2074
2075(define-public librsvg
f67417a1
MB
2076 (package
2077 (name "librsvg")
2078 (version "2.40.20")
2079 (source (origin
2080 (method url-fetch)
2081 (uri (string-append "mirror://gnome/sources/" name "/"
2082 (version-major+minor version) "/"
2083 name "-" version ".tar.xz"))
2084 (sha256
2085 (base32
2086 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
2087 (build-system gnu-build-system)
2088 (arguments
2089 `(#:configure-flags
2090 (list "--disable-static"
2091 "--enable-vala") ; needed for e.g. gnome-mines
2092 #:phases
2093 (modify-phases %standard-phases
2094 (add-before 'configure 'pre-configure
2095 (lambda* (#:key inputs #:allow-other-keys)
2096 (substitute* "gdk-pixbuf-loader/Makefile.in"
2097 ;; By default the gdk-pixbuf loader is installed under
2098 ;; gdk-pixbuf's prefix. Work around that.
2099 (("gdk_pixbuf_moduledir = .*$")
2100 (string-append "gdk_pixbuf_moduledir = "
2101 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2102 "loaders\n"))
2103 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2104 (("gdk_pixbuf_cache_file = .*$")
2105 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2106 #t))
2107 (add-before 'check 'remove-failing-tests
2108 (lambda _
2109 (with-directory-excursion "tests/fixtures/reftests"
2110 (for-each delete-file
2111 '(;; This test fails on i686:
2112 "svg1.1/masking-path-04-b.svg"
2113 ;; This test fails on armhf:
2114 "svg1.1/masking-mask-01-b.svg"
2115 ;; This test fails on aarch64:
2116 "bugs/777834-empty-text-children.svg")))
2117 #t)))))
2118 (native-inputs
2119 `(("pkg-config" ,pkg-config)
2120 ("vala" ,vala)
2121 ("glib" ,glib "bin") ; glib-mkenums, etc.
2122 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2123 (inputs
869b63cb
MB
2124 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
2125 ;; this ancient version of librsvg.
2126 ("pango" ,pango-1.42)
f67417a1
MB
2127 ("libcroco" ,libcroco)
2128 ("bzip2" ,bzip2)
2129 ("libgsf" ,libgsf)
2130 ("libxml2" ,libxml2)))
2131 (propagated-inputs
2132 ;; librsvg-2.0.pc refers to all of that.
2133 `(("cairo" ,cairo)
2134 ("gdk-pixbuf" ,gdk-pixbuf)
2135 ("glib" ,glib)))
2136 (home-page "https://wiki.gnome.org/LibRsvg")
2137 (synopsis "Render SVG files using Cairo")
2138 (description
2139 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2140library.")
2141 (license license:lgpl2.0+)))
2142
8f523eb9
EF
2143(define* (computed-origin-method gexp-promise hash-algo hash
2144 #:optional (name "source")
2145 #:key (system (%current-system))
2146 (guile (default-guile)))
2147 "Return a derivation that executes the G-expression that results
2148from forcing GEXP-PROMISE."
2149 (mlet %store-monad ((guile (package->derivation guile system)))
2150 (gexp->derivation (or name "computed-origin")
2151 (force gexp-promise)
2152 #:graft? #f ;nothing to graft
2153 #:system system
2154 #:guile-for-build guile)))
2155
2156(define librsvg-next-source
2157 (let* ((version "2.46.3")
2158 (upstream-source (origin
2159 (method url-fetch)
2160 (uri (string-append "mirror://gnome/sources/librsvg/"
2161 (version-major+minor version) "/"
2162 "librsvg-" version ".tar.xz"))
2163 (sha256
2164 (base32
2165 "1s3a96i7f4pynjwxxvhysp4b6r7kyi8nasdxfyi62hc7gm34d3kn")))))
2166 (origin
2167 (method computed-origin-method)
2168 (file-name (string-append "librsvg-" version ".tar.xz"))
2169 (sha256 #f)
2170 (uri
2171 (delay
2172 (with-imported-modules '((guix build utils))
2173 #~(begin
2174 (use-modules (guix build utils))
2175 (set-path-environment-variable
2176 "PATH" '("bin")
2177 (list "/tmp"
2178 #+(canonical-package xz)
2179 #+(canonical-package gzip)
2180 #+(canonical-package tar)))
2181 (invoke "tar" "xvf" #+upstream-source)
2182 (with-directory-excursion (string-append "librsvg-" #$version)
2183 (for-each
2184 (lambda (crate)
2185 (delete-file-recursively (string-append "vendor/" (car crate)))
2186 (invoke "tar" "xvf" (cdr crate) "-C" "vendor"))
393d7214 2187 '(("aho-corasick" . #+(package-source rust-aho-corasick-0.7))
8f523eb9 2188;; alga 0.9
e19cb895
EF
2189 ("approx" . #+(package-source rust-approx-0.3))
2190 ("arrayvec" . #+(package-source rust-arrayvec-0.4))
8f523eb9
EF
2191 ("atty" . #+(package-source rust-atty-0.2))
2192 ("autocfg" . #+(package-source rust-autocfg-0.1))
2193 ("bitflags" . #+(package-source rust-bitflags-1))
2194;; block 0.1
e19cb895
EF
2195 ("bstr" . #+(package-source rust-bstr-0.2))
2196 ("byteorder" . #+(package-source rust-byteorder-1.3))
8f523eb9
EF
2197;; cairo-rs 0.7
2198;; cairo-sys-rs 0.9
e19cb895 2199 ("cast" . #+(package-source rust-cast-0.2))
8f523eb9
EF
2200 ("cfg-if" . #+(package-source rust-cfg-if-0.1))
2201 ("clap" . #+(package-source rust-clap-2))
e19cb895
EF
2202 ("cloudabi" . #+(package-source rust-cloudabi-0.0))
2203 ("criterion" . #+(package-source rust-criterion-0.2))
2204 ("criterion-plot" . #+(package-source rust-criterion-plot-0.3))
2205 ("crossbeam-deque" . #+(package-source rust-crossbeam-deque-0.7))
393d7214
JS
2206 ("crossbeam-epoch" . #+(package-source rust-crossbeam-epoch-0.8))
2207 ("crossbeam-queue" . #+(package-source rust-crossbeam-queue-0.2))
2208 ("crossbeam-utils" . #+(package-source rust-crossbeam-utils-0.7))
8f523eb9
EF
2209;; cssparser 0.25
2210;; cssparser-macros 0.3
e19cb895
EF
2211 ("csv" . #+(package-source rust-csv-1.1))
2212 ("csv-core" . #+(package-source rust-csv-core-0.1))
8f523eb9
EF
2213;; data-url 0.1
2214;; downcast-rs 1.0
2215 ("dtoa" . #+(package-source rust-dtoa-0.4))
2216;; dtoa-short 0.3
e19cb895
EF
2217 ("either" . #+(package-source rust-either-1.5))
2218 ("encoding" . #+(package-source rust-encoding-0.2))
2219 ("encoding-index-japanese" . #+(package-source rust-encoding-index-japanese-1.20141219))
2220 ("encoding-index-korean" . #+(package-source rust-encoding-index-korean-1.20141219))
2221 ("encoding-index-simpchinese" . #+(package-source rust-encoding-index-simpchinese-1.20141219))
2222 ("encoding-index-singlebyte" . #+(package-source rust-encoding-index-singlebyte-1.20141219))
2223 ("encoding-index-tradchinese" . #+(package-source rust-encoding-index-tradchinese-1.20141219))
2224 ("encoding_index_tests" . #+(package-source rust-encoding-index-tests-0.1))
8f523eb9
EF
2225;; float-cmp 0.5
2226;; fragile 0.3
e19cb895
EF
2227 ("fuchsia-cprng" . #+(package-source rust-fuchsia-cprng-0.1))
2228 ("futf" . #+(package-source rust-futf-0.1))
8f523eb9
EF
2229;; gdk-pixbuf 0.7
2230;; gdk-pixbuf-sys 0.9
e19cb895 2231 ("generic-array" . #+(package-source rust-generic-array-0.12))
8f523eb9
EF
2232;; gio 0.7
2233;; gio-sys 0.9
2234;; glib 0.8
2235;; glib-sys 0.9
2236;; gobject-sys 0.9
393d7214 2237 ("idna" . #+(package-source rust-idna-0.2))
e19cb895 2238 ("itertools" . #+(package-source rust-itertools-0.8))
8f523eb9 2239 ("itoa" . #+(package-source rust-itoa-0.4))
e19cb895 2240 ("language-tags" . #+(package-source rust-language-tags-0.2))
8f523eb9
EF
2241 ("lazy_static" . #+(package-source rust-lazy-static-1.3))
2242 ("libc" . #+(package-source rust-libc-0.2))
2243;; libm 0.1
2244;; locale_config 0.3
2245 ("log" . #+(package-source rust-log-0.4))
e19cb895 2246 ("mac" . #+(package-source rust-mac-0.1))
8f523eb9
EF
2247;; malloc_buf 0.0
2248;; markup5ever 0.9
e19cb895 2249 ("matches" . #+(package-source rust-matches-0.1))
8f523eb9 2250;; matrixmultiply 0.2
393d7214
JS
2251 ("memchr" . #+(package-source rust-memchr-2.2))
2252 ("memoffset" . #+(package-source rust-memoffset-0.5))
8f523eb9 2253;; nalgebra 0.18
e19cb895 2254 ("new_debug_unreachable" . #+(package-source rust-new-debug-unreachable-1.0))
8f523eb9 2255 ("nodrop" . #+(package-source rust-nodrop-0.1))
e19cb895 2256 ("num-complex" . #+(package-source rust-num-complex-0.2))
8f523eb9
EF
2257 ("num-integer" . #+(package-source rust-num-integer-0.1))
2258;; num-rational 0.2
2259 ("num-traits" . #+(package-source rust-num-traits-0.2))
2260 ("num_cpus" . #+(package-source rust-num-cpus-1.10))
2261;; objc 0.2
2262;; objc-foundation 0.1
2263;; objc_id 0.1
2264;; pango 0.7
2265;; pango-sys 0.9
2266;; pangocairo 0.8
2267;; pangocairo-sys 0.10
2268 ("percent-encoding" . #+(package-source rust-percent-encoding-2.1))
e19cb895
EF
2269 ("phf" . #+(package-source rust-phf-0.7))
2270 ("phf_codegen" . #+(package-source rust-phf-codegen-0.7))
2271 ("phf_generator" . #+(package-source rust-phf-generator-0.7))
2272 ("phf_shared" . #+(package-source rust-phf-shared-0.7))
2273 ("pkg-config" . #+(package-source rust-pkg-config-0.3))
2274 ("precomputed-hash" . #+(package-source rust-precomputed-hash-0.1))
8f523eb9
EF
2275 ("proc-macro2" . #+(package-source rust-proc-macro2-1.0))
2276;; procedural-masquerade 0.1
2277 ("quote" . #+(package-source rust-quote-1.0))
e19cb895 2278 ("rand" . #+(package-source rust-rand-0.6))
8f523eb9
EF
2279 ("rand_chacha" . #+(package-source rust-rand-chacha-0.1))
2280 ("rand_core-0.3.1" . #+(package-source rust-rand-core-0.3))
2281 ("rand_core" . #+(package-source rust-rand-core-0.4))
2282 ("rand_hc" . #+(package-source rust-rand-hc-0.1))
2283 ("rand_isaac" . #+(package-source rust-rand-isaac-0.1))
2284 ("rand_jitter" . #+(package-source rust-rand-jitter-0.1))
2285 ("rand_os" . #+(package-source rust-rand-os-0.1))
2286 ("rand_pcg" . #+(package-source rust-rand-pcg-0.1))
2287 ("rand_xorshift" . #+(package-source rust-rand-xorshift-0.1))
393d7214 2288 ("rand_xoshiro" . #+(package-source rust-rand-xoshiro-0.1))
e19cb895 2289;; rawpointer 0.2
393d7214
JS
2290 ("rayon" . #+(package-source rust-rayon-1.3))
2291 ("rayon-core" . #+(package-source rust-rayon-core-1.7))
8f523eb9
EF
2292;; rctree 0.3
2293 ("rdrand" . #+(package-source rust-rdrand-0.4))
393d7214 2294 ("regex" . #+(package-source rust-regex-1.3))
e19cb895 2295 ("regex-automata" . #+(package-source rust-regex-automata-0.1))
393d7214 2296 ("regex-syntax" . #+(package-source rust-regex-syntax-0.6))
e19cb895 2297 ("rustc_version" . #+(package-source rust-rustc-version-0.2))
8f523eb9
EF
2298 ("ryu" . #+(package-source rust-ryu-1.0))
2299 ("same-file" . #+(package-source rust-same-file-1.0))
2300 ("scopeguard" . #+(package-source rust-scopeguard-1.0))
e19cb895
EF
2301 ("semver" . #+(package-source rust-semver-0.9))
2302 ("semver-parser" . #+(package-source rust-semver-parser-0.7))
8f523eb9
EF
2303 ("serde" . #+(package-source rust-serde-1.0))
2304 ("serde_derive" . #+(package-source rust-serde-derive-1.0))
2305 ("serde_json" . #+(package-source rust-serde-json-1.0))
e19cb895
EF
2306 ("siphasher" . #+(package-source rust-siphasher-0.2))
2307 ("smallvec" . #+(package-source rust-smallvec-0.6))
2308 ("string_cache" . #+(package-source rust-string-cache-0.7))
2309 ;("string_cache_codegen" . #+(package-source rust-string-cache-codegen-0.4))
2310 ("string_cache_shared" . #+(package-source rust-string-cache-shared-0.3))
8f523eb9 2311 ("syn" . #+(package-source rust-syn-1.0))
e19cb895 2312 ("tendril" . #+(package-source rust-tendril-0.4))
8f523eb9 2313 ("textwrap" . #+(package-source rust-textwrap-0.11))
393d7214 2314 ("thread_local" . #+(package-source rust-thread-local-1.0))
e19cb895
EF
2315 ("tinytemplate" . #+(package-source rust-tinytemplate-1.0))
2316 ("typenum" . #+(package-source rust-typenum-1.10))
2317 ("unicode-bidi" . #+(package-source rust-unicode-bidi-0.3))
2318 ("unicode-normalization" . #+(package-source rust-unicode-normalization-0.1))
8f523eb9
EF
2319 ("unicode-width" . #+(package-source rust-unicode-width-0.1))
2320 ("unicode-xid" . #+(package-source rust-unicode-xid-0.2))
393d7214 2321 ("url" . #+(package-source rust-url-2.1))
e19cb895 2322 ("utf-8" . #+(package-source rust-utf-8-0.7))
8f523eb9
EF
2323 ("walkdir" . #+(package-source rust-walkdir-2.2))
2324 ("winapi" . #+(package-source rust-winapi-0.3))
e19cb895 2325 ("winapi-i686-pc-windows-gnu" . #+(package-source rust-winapi-i686-pc-windows-gnu-0.4))
8f523eb9 2326 ("winapi-util" . #+(package-source rust-winapi-util-0.1))
e19cb895 2327 ("winapi-x86_64-pc-windows-gnu" . #+(package-source rust-winapi-x86-64-pc-windows-gnu-0.4))
8f523eb9
EF
2328;; xml-rs 0.8
2329 )))
2330 (format #t "Replacing vendored crates in the tarball and repacking ...~%")
2331 (force-output)
2332 (invoke "tar" "cfa" #$output
2333 ;; Avoid non-determinism in the archive. We set the
2334 ;; mtime of files in the archive to early 1980 because
2335 ;; the build process fails if the mtime of source
2336 ;; files is pre-1980, due to the creation of zip
2337 ;; archives.
2338 "--mtime=@315619200" ; 1980-01-02 UTC
2339 "--owner=root:0"
2340 "--group=root:0"
2341 "--sort=name"
2342 (string-append "librsvg-" #$version))
2343 #t)))))))
2344
f67417a1 2345(define-public librsvg-next
63016e7c
LC
2346 (package
2347 (name "librsvg")
cf9dad6c 2348 (version "2.46.3")
8f523eb9 2349 (source librsvg-next-source)
63016e7c
LC
2350 (build-system gnu-build-system)
2351 (arguments
d953418a
RW
2352 `(#:configure-flags
2353 (list "--disable-static"
2354 "--enable-vala") ; needed for e.g. gnome-mines
7e0f4cb1 2355 #:make-flags '("CC=gcc")
8f523eb9 2356 #:imported-modules ,%cargo-utils-modules ;for `generate-all-checksums'
ec47c07d 2357 #:phases
b6239e45 2358 (modify-phases %standard-phases
8f523eb9 2359 (add-after 'configure 'patch-cargo-checksums
ec47c07d 2360 (lambda _
8f523eb9
EF
2361 (use-modules (guix build cargo-utils))
2362 (substitute* "librsvg/Cargo.toml"
2363 (("bitflags .*") "bitflags = \"1\"\n")) ; 1.2 is vendored
b665a246 2364 (generate-all-checksums "vendor")
8f523eb9
EF
2365 (delete-file "Cargo.lock")
2366 (invoke "cargo" "generate-lockfile")))
b6239e45
EF
2367 (add-before 'configure 'pre-configure
2368 (lambda* (#:key inputs #:allow-other-keys)
2369 (substitute* "gdk-pixbuf-loader/Makefile.in"
2370 ;; By default the gdk-pixbuf loader is installed under
2371 ;; gdk-pixbuf's prefix. Work around that.
2372 (("gdk_pixbuf_moduledir = .*$")
2373 (string-append "gdk_pixbuf_moduledir = "
2374 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2375 "loaders\n"))
2376 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2377 (("gdk_pixbuf_cache_file = .*$")
2378 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2379 #t))
ec47c07d 2380 (add-before 'check 'remove-failing-tests
b6239e45 2381 (lambda _
64a153bd
MW
2382 (with-directory-excursion "tests/fixtures/reftests"
2383 (for-each delete-file
ec47c07d
MB
2384 '(;; The images produced by these tests differ slightly
2385 ;; from their reference counterparts due to differences
2386 ;; in the build environment (missing fonts, etc). See
2387 ;; <tests/README.md> for details.
2388 ;; These fail on x86_64.
2389 "svg1.1/coords-viewattr-02-b.svg"
2390 "svg1.1/filters-composite-04-f.svg"
2391 "svg1.1/filters-image-01-b.svg"
2392 "svg1.1/filters-conv-02-f.svg"
2393 "svg1.1/filters-conv-04-f.svg"
2394 ;; This test fails on i686:
64a153bd 2395 "svg1.1/masking-path-04-b.svg"
64a153bd
MW
2396 ;; This test fails on armhf:
2397 "svg1.1/masking-mask-01-b.svg"
64a153bd 2398 ;; This test fails on aarch64:
ec47c07d 2399 "bugs/777834-empty-text-children.svg")))
b6239e45 2400 #t)))))
63016e7c
LC
2401 (native-inputs
2402 `(("pkg-config" ,pkg-config)
64855281
MB
2403 ;; This is the minimum supported Rust version in Librsvg 2.46.
2404 ("rust" ,rust-1.34)
2405 ("cargo" ,rust-1.34 "cargo")
d953418a 2406 ("vala" ,vala)
44add1ce 2407 ("glib" ,glib "bin") ; glib-mkenums, etc.
63016e7c
LC
2408 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2409 (inputs
2410 `(("pango" ,pango)
2411 ("libcroco" ,libcroco)
2412 ("bzip2" ,bzip2)
2413 ("libgsf" ,libgsf)
2414 ("libxml2" ,libxml2)))
2415 (propagated-inputs
2416 ;; librsvg-2.0.pc refers to all of that.
2417 `(("cairo" ,cairo)
2418 ("gdk-pixbuf" ,gdk-pixbuf)
2419 ("glib" ,glib)))
2420 (home-page "https://wiki.gnome.org/LibRsvg")
2421 (synopsis "Render SVG files using Cairo")
2422 (description
35b9e423 2423 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
63016e7c 2424library.")
cf9dad6c 2425 (license license:lgpl2.1+)))
5698b8b8
JD
2426
2427(define-public libidl
2428 (package
2429 (name "libidl")
2430 (version "0.8.14")
2431 (source (origin
2432 (method url-fetch)
80a06e62
EF
2433 (uri (string-append "mirror://gnome/sources/libIDL/"
2434 (version-major+minor version) "/"
2435 "libIDL-" version ".tar.bz2"))
5698b8b8
JD
2436 (sha256
2437 (base32
2438 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2439 (build-system gnu-build-system)
2440 (inputs `(("glib" ,glib)))
2441 (native-inputs
2442 `(("pkg-config" ,pkg-config)
b3546174 2443 ("flex" ,flex)
5698b8b8
JD
2444 ("bison" ,bison)))
2445 (home-page "http://freecode.com/projects/libidl")
2446 (synopsis "Create trees of CORBA Interface Definition Language files")
35b9e423 2447 (description "Libidl is a library for creating trees of CORBA Interface
5698b8b8
JD
2448Definition Language (idl) files, which is a specification for defining
2449portable interfaces. libidl was initially written for orbit (the orb from the
35b9e423 2450GNOME project, and the primary means of libidl distribution). However, the
2e6ecc5c 2451functionality was designed to be as reusable and portable as possible.")
ef2c55bb 2452 (properties `((upstream-name . "libIDL")))
5698b8b8
JD
2453 (license license:lgpl2.0+)))
2454
2455
2456(define-public orbit2
2457 (package
2458 (name "orbit2")
2459 (version "2.14.19")
2460 (source (origin
2461 (method url-fetch)
2e6ecc5c 2462 (uri (let ((upstream-name "ORBit2"))
a124bbd2 2463 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
2464 (version-major+minor version) "/"
2465 upstream-name "-" version ".tar.bz2")))
5698b8b8 2466 (sha256
a124bbd2
SB
2467 (base32
2468 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
5698b8b8
JD
2469 (build-system gnu-build-system)
2470 (arguments
c2d837b9
MB
2471 `(;; The "timeout-server" test hangs when run in parallel.
2472 #:parallel-tests? #f
2473 #:configure-flags
8aad2e32
LC
2474 '(;; We don't need static libraries, plus they don't build reproducibly
2475 ;; (non-deterministic ordering of .o files in the archive.)
2476 "--disable-static"
2477
2478 ;; The programmer kindly gives us a hook to turn off deprecation
2479 ;; warnings ...
2480 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
a124bbd2
SB
2481 ;; ... which they then completly ignore !!
2482 #:phases
dc1d3cde
KK
2483 (modify-phases %standard-phases
2484 (add-before 'configure 'ignore-deprecations
2485 (lambda _
2486 (substitute* "linc2/src/Makefile.in"
2487 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2488 #t)))))
5698b8b8
JD
2489 (inputs `(("glib" ,glib)
2490 ("libidl" ,libidl)))
2491 (native-inputs
2492 `(("pkg-config" ,pkg-config)))
2493 (home-page "https://projects.gnome.org/orbit2/")
2494 (synopsis "CORBA 2.4-compliant Object Request Broker")
35b9e423 2495 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2e6ecc5c 2496featuring mature C, C++ and Python bindings.")
a124bbd2
SB
2497 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2498 ;; a version. SOME of the code files have licence notices for GPLv2+.
2499 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
892307ae
LC
2500 (license license:gpl2+)
2501 (properties `((upstream-name . "ORBit2")))))
5698b8b8
JD
2502
2503
2504(define-public libbonobo
2505 (package
2506 (name "libbonobo")
2507 (version "2.32.1")
2508 (source (origin
2509 (method url-fetch)
5becd025 2510 (uri (string-append "mirror://gnome/sources/" name "/"
29a7c98a 2511 (version-major+minor version)
5becd025 2512 "/" name "-" version ".tar.bz2"))
5698b8b8 2513 (sha256
f1fc45a9 2514 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
fc1adab1
AK
2515 (patches (search-patches
2516 "libbonobo-activation-test-race.patch"))))
5698b8b8
JD
2517 (build-system gnu-build-system)
2518 (arguments
2519 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
5becd025
EB
2520 `(#:configure-flags
2521 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2522 ;; ... which they then completly ignore !!
2523 #:phases
dc1d3cde
KK
2524 (modify-phases %standard-phases
2525 (add-before 'configure 'ignore-deprecations
2526 (lambda _
2527 (substitute* "activation-server/Makefile.in"
2528 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
994b5b1d
LC
2529 #t)))
2530
2531 ;; There's apparently a race condition between the server stub
2532 ;; generation and linking of the example under 'samples/echo' that can
2533 ;; lead do undefined references when building in parallel, as reported
2534 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2535 ;; Thus, disable parallel builds.
2536 #:parallel-build? #f))
5698b8b8
JD
2537 (inputs `(("popt" ,popt)
2538 ("libxml2" ,libxml2)))
2539 ;; The following are Required by the .pc file
44add1ce 2540 (propagated-inputs
5698b8b8
JD
2541 `(("glib" ,glib)
2542 ("orbit2" ,orbit2)))
2543 (native-inputs
2544 `(("intltool" ,intltool)
2545 ("pkg-config" ,pkg-config)
221ed17a 2546 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2547 ("flex" ,flex)
2548 ("bison" ,bison)))
2549 (home-page "https://developer.gnome.org/libbonobo/")
2550 (synopsis "Framework for creating reusable components for use in GNOME applications")
2551 (description "Bonobo is a framework for creating reusable components for
2e6ecc5c 2552use in GNOME applications, built on top of CORBA.")
5698b8b8
JD
2553 ;; Licence not explicitly stated. Source files contain no licence notices.
2554 ;; Tarball contains text of both GPLv2 and LGPLv2
2555 ;; GPLv2 covers both conditions
2556 (license license:gpl2+)))
2557
2558
2559(define-public gconf
2560 (package
2561 (name "gconf")
2562 (version "3.2.6")
2563 (source (origin
2564 (method url-fetch)
a124bbd2
SB
2565 (uri
2566 (let ((upstream-name "GConf"))
2567 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
2568 (version-major+minor version) "/"
2569 upstream-name "-" version ".tar.xz")))
5698b8b8
JD
2570 (sha256
2571 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2572 (build-system gnu-build-system)
2e88d113 2573 (inputs `(("dbus-glib" ,dbus-glib)
5698b8b8 2574 ("libxml2" ,libxml2)))
2e6ecc5c
AE
2575 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2576 ("orbit2" ,orbit2)))
5698b8b8
JD
2577 (native-inputs
2578 `(("intltool" ,intltool)
221ed17a 2579 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2580 ("pkg-config" ,pkg-config)))
2581 (home-page "https://projects.gnome.org/gconf/")
35b9e423
EB
2582 (synopsis "Store application preferences")
2583 (description "Gconf is a system for storing application preferences. It
2584is intended for user preferences; not arbitrary data storage.")
29d2f451
LC
2585 (license license:lgpl2.0+)
2586 (properties '((upstream-name . "GConf")))))
5698b8b8
JD
2587
2588
2589(define-public gnome-mime-data
2590 (package
2591 (name "gnome-mime-data")
2592 (version "2.18.0")
2593 (source (origin
2594 (method url-fetch)
b38e45d8
EB
2595 (uri (string-append "mirror://gnome/sources/" name "/"
2596 (version-major+minor version) "/"
2597 name "-" version ".tar.bz2"))
5698b8b8
JD
2598 (sha256
2599 (base32
2600 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2601 (build-system gnu-build-system)
2602 (native-inputs
2603 `(("perl" ,perl)
2604 ("intltool" ,intltool)))
3e6add96
LC
2605 (arguments
2606 '(#:phases (modify-phases %standard-phases
2607 (add-after 'configure 'use-our-intltool
2608 (lambda _
2609 ;; Do not use the bundled intltool commands, which lack
2610 ;; the "dotless @INC" fixes of our 'intltool' package.
2611 (substitute* (find-files "." "^Makefile$")
2612 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2613 (string-append "INTLTOOL_" tool " = intltool-"
2614 (string-downcase tool) "\n")))
2615 #t)))))
f032d0be 2616 (home-page "https://www.gnome.org")
35b9e423 2617 (synopsis "Base MIME and Application database for GNOME")
5698b8b8
JD
2618 (description "GNOME Mime Data is a module which contains the base MIME
2619and Application database for GNOME. The data stored by this module is
2620designed to be accessed through the MIME functions in GnomeVFS.")
2621 (license license:gpl2+)))
2622
2623
2624(define-public gnome-vfs
2625 (package
2626 (name "gnome-vfs")
2627 (version "2.24.4")
2628 (source (origin
2629 (method url-fetch)
b38e45d8
EB
2630 (uri (string-append "mirror://gnome/sources/" name "/"
2631 (version-major+minor version) "/"
2632 name "-" version ".tar.bz2"))
5698b8b8 2633 (sha256
9e12bc34
MW
2634 (base32
2635 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
5698b8b8
JD
2636 (build-system gnu-build-system)
2637 (arguments
db5127d8 2638 `(#:phases
dc1d3cde
KK
2639 (modify-phases %standard-phases
2640 (add-before 'configure 'ignore-deprecations
2641 (lambda _
2642 (substitute* '("libgnomevfs/Makefile.in"
2643 "daemon/Makefile.in")
2644 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2645 #t))
2646 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2647 (lambda _
2648 (substitute* "test/test-async-cancel.c"
2649 (("EXIT_FAILURE") "77"))
2650 #t)))))
2e6ecc5c 2651 (inputs `(("libxml2" ,libxml2)
5698b8b8 2652 ("dbus-glib" ,dbus-glib)
5698b8b8
JD
2653 ("gconf" ,gconf)
2654 ("gnome-mime-data" ,gnome-mime-data)
2655 ("zlib" ,zlib)))
2656 (native-inputs
221ed17a
EB
2657 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2658 ("intltool" ,intltool)
5698b8b8
JD
2659 ("pkg-config" ,pkg-config)))
2660 (home-page "https://developer.gnome.org/gnome-vfs/")
35b9e423 2661 (synopsis "Access files and folders in GNOME applications")
9e12bc34
MW
2662 (description
2663 "GnomeVFS is the core library used to access files and folders in GNOME
2664applications. It provides a file system abstraction which allows applications
2665to access local and remote files with a single consistent API.")
5698b8b8
JD
2666 (license license:lgpl2.0+)))
2667
2668
2669
2670(define-public libgnome
2671 (package
2672 (name "libgnome")
2673 (version "2.32.1")
2674 (source (origin
2675 (method url-fetch)
b38e45d8
EB
2676 (uri (string-append "mirror://gnome/sources/" name "/"
2677 (version-major+minor version) "/"
2678 name "-" version ".tar.bz2"))
5698b8b8
JD
2679 (sha256
2680 (base32
17c3eea7
LC
2681 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2682 (patches (search-patches "libgnome-encoding.patch"))))
5698b8b8
JD
2683 (build-system gnu-build-system)
2684 (arguments
2685 `(#:phases
dc1d3cde
KK
2686 (modify-phases %standard-phases
2687 (add-before 'configure 'enable-deprecated
2688 (lambda _
2689 (substitute* "libgnome/Makefile.in"
2690 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2691 #t)))))
25338e9f 2692 (inputs `(("libxml2" ,libxml2)))
5698b8b8 2693 (native-inputs
221ed17a
EB
2694 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2695 ("intltool" ,intltool)
5698b8b8
JD
2696 ("pkg-config" ,pkg-config)))
2697 ;; The following are listed as Required in the .pc file
2698 ;; (except for libcanberra -- which seems to be oversight on the part
2699 ;; of the upstream developers -- anything that links against libgnome,
2700 ;; must also link against libcanberra
2701 (propagated-inputs
2702 `(("libcanberra" ,libcanberra)
2703 ("libbonobo" ,libbonobo)
2704 ("gconf" ,gconf)
a640d3d5
LC
2705 ("gnome-vfs" ,gnome-vfs)
2706 ("popt" ,popt))) ;gnome-program.h includes popt.h
5698b8b8
JD
2707 (home-page "https://developer.gnome.org/libgnome/")
2708 (synopsis "Useful routines for building applications")
2709 (description "The libgnome library provides a number of useful routines
2710for building modern applications, including session management, activation of
2711files and URIs, and displaying help.")
2712 (license license:lgpl2.0+)))
2713
2714
2715(define-public libart-lgpl
2716 (package
2717 (name "libart-lgpl")
76c9b6aa 2718 (version "2.3.21")
5698b8b8
JD
2719 (source (origin
2720 (method url-fetch)
2721 (uri (let ((upstream-name "libart_lgpl"))
b38e45d8
EB
2722 (string-append "mirror://gnome/sources/" upstream-name "/"
2723 (version-major+minor version) "/"
2724 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
2725 (sha256
2726 (base32
76c9b6aa 2727 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
5698b8b8
JD
2728 (build-system gnu-build-system)
2729 (native-inputs
2730 `(("pkg-config" ,pkg-config)))
2731 (home-page "https://people.gnome.org/~mathieu/libart")
2732 (synopsis "2D drawing library")
2e6ecc5c 2733 (description "Libart is a 2D drawing library intended as a
5698b8b8
JD
2734high-quality vector-based 2D library with antialiasing and alpha composition.")
2735 (license license:lgpl2.0+)))
2736
2737
2738
2739(define-public libgnomecanvas
2740 (package
2741 (name "libgnomecanvas")
2742 (version "2.30.3")
2743 (source (origin
2744 (method url-fetch)
b38e45d8
EB
2745 (uri (string-append "mirror://gnome/sources/" name "/"
2746 (version-major+minor version) "/"
2747 name "-" version ".tar.gz"))
5698b8b8
JD
2748 (sha256
2749 (base32
2750 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2751 (build-system gnu-build-system)
2752 ;; Mentioned as Required in the .pc file
2753 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2754 ("gtk+" ,gtk+-2)))
2755 (native-inputs
2756 `(("intltool" ,intltool)
221ed17a 2757 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2758 ("pkg-config" ,pkg-config)))
2759 (home-page "https://developer.gnome.org/libgnomecanvas/")
2760 (synopsis "Flexible widget for creating interactive structured graphics")
2761 (description "The GnomeCanvas widget provides a flexible widget for
2762creating interactive structured graphics.")
2763 (license license:lgpl2.0+)))
2764
eadc734e
RW
2765(define-public libgnomecanvasmm
2766 (package
2767 (name "libgnomecanvasmm")
2768 (version "2.26.0")
2769 (source (origin
2770 (method url-fetch)
2771 (uri (string-append "mirror://gnome/sources/" name "/"
2772 (version-major+minor version) "/"
2773 name "-" version ".tar.bz2"))
2774 (sha256
2775 (base32
2776 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2777 (build-system gnu-build-system)
2778 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2779 (native-inputs
2780 `(("gtkmm-2" ,gtkmm-2)
2781 ("pkg-config" ,pkg-config)))
8e933cb3 2782 (home-page "https://gtkmm.org")
eadc734e
RW
2783 (synopsis "C++ bindings to the GNOME Canvas library")
2784 (description "C++ bindings to the GNOME Canvas library.")
2785 (license license:lgpl2.0+)))
2786
5698b8b8
JD
2787(define-public libgnomeui
2788 (package
2789 (name "libgnomeui")
2790 (version "2.24.5")
2791 (source (origin
2792 (method url-fetch)
b38e45d8
EB
2793 (uri (string-append "mirror://gnome/sources/" name "/"
2794 (version-major+minor version) "/"
2795 name "-" version ".tar.bz2"))
8fa1872a 2796 (patches (search-patches "libgnomeui-utf8.patch"))
5698b8b8
JD
2797 (sha256
2798 (base32
2799 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2800 (build-system gnu-build-system)
2801 ;; Mentioned as Required in the .pc file
0a38a497
AE
2802 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2803 ("libgnome" ,libgnome)
2804 ("libgnomecanvas" ,libgnomecanvas)
5698b8b8 2805 ("libgnome-keyring" ,libgnome-keyring)))
4bd428a7 2806 (inputs `(("libjpeg" ,libjpeg-turbo)
5698b8b8
JD
2807 ("popt" ,popt)
2808 ("libbonobo" ,libbonobo)
2809 ("libxml2" ,libxml2)
2810 ("libglade" ,libglade)))
2811 (native-inputs
221ed17a
EB
2812 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2813 ("intltool" ,intltool)
5698b8b8
JD
2814 ("pkg-config" ,pkg-config)))
2815 (home-page "https://developer.gnome.org/libgnomeui/")
2816 (synopsis "Additional widgets for applications")
35b9e423 2817 (description "The libgnomeui library provides additional widgets for
e881752c
AK
2818applications. Many of the widgets from libgnomeui have already been
2819ported to GTK+.")
5698b8b8
JD
2820 (license license:lgpl2.0+)))
2821
2822(define-public libglade
2823 (package
2824 (name "libglade")
2825 (version "2.6.4")
2826 (source (origin
2827 (method url-fetch)
b38e45d8
EB
2828 (uri (string-append "mirror://gnome/sources/" name "/"
2829 (version-major+minor version) "/"
2830 name "-" version ".tar.bz2"))
5698b8b8
JD
2831 (sha256
2832 (base32
2833 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2834 (build-system gnu-build-system)
2835 (inputs
92dcc23d
AE
2836 `(("python" ,python))) ;; needed for the optional libglade-convert program
2837 (propagated-inputs
5698b8b8 2838 `(("gtk+-2" ,gtk+-2)
92dcc23d 2839 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
5698b8b8
JD
2840 (native-inputs
2841 `(("pkg-config" ,pkg-config)))
2842 (home-page "https://developer.gnome.org/libglade")
35b9e423
EB
2843 (synopsis "Load glade interfaces and access the glade built widgets")
2844 (description "Libglade is a library that provides interfaces for loading
5698b8b8
JD
2845graphical interfaces described in glade files and for accessing the
2846widgets built in the loading process.")
2847 (license license:gpl2+))) ; This is correct. GPL not LGPL
2848
2849(define-public libgnomeprint
eb497b66
LC
2850 ;; This library has been deprecated since 2006; see
2851 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
5698b8b8
JD
2852 (package
2853 (name "libgnomeprint")
d19db454 2854 (version "2.18.8")
5698b8b8
JD
2855 (source (origin
2856 (method url-fetch)
b38e45d8
EB
2857 (uri (string-append "mirror://gnome/sources/" name "/"
2858 (version-major+minor version) "/"
2859 name "-" version ".tar.bz2"))
5698b8b8
JD
2860 (sha256
2861 (base32
d19db454 2862 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
5698b8b8
JD
2863 (build-system gnu-build-system)
2864 (inputs
2865 `(("popt" ,popt)
2866 ("libart-lgpl" ,libart-lgpl)
2867 ("gtk+" ,gtk+-2)
44add1ce 2868 ("libxml2" ,libxml2)))
5698b8b8
JD
2869 (native-inputs
2870 `(("intltool" ,intltool)
221ed17a 2871 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2872 ("pkg-config" ,pkg-config)))
2873 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
35b9e423 2874 (synopsis "Printing framework for GNOME")
eb497b66
LC
2875 (description
2876 "GNOME-print was a printing framework for GNOME. It has been deprecated
2877since ca. 2006, when GTK+ itself incorporated printing support.")
5698b8b8
JD
2878 (license license:lgpl2.0+)))
2879
2880
2881(define-public libgnomeprintui
eb497b66 2882 ;; Deprecated; see libgnomeprint.
5698b8b8
JD
2883 (package
2884 (name "libgnomeprintui")
36053d7f 2885 (version "2.18.6")
5698b8b8
JD
2886 (source (origin
2887 (method url-fetch)
b38e45d8
EB
2888 (uri (string-append "mirror://gnome/sources/" name "/"
2889 (version-major+minor version) "/"
2890 name "-" version ".tar.bz2"))
5698b8b8
JD
2891 (sha256
2892 (base32
36053d7f 2893 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
5698b8b8
JD
2894 (build-system gnu-build-system)
2895 ;; Mentioned as Required in the .pc file
2896 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2897 (inputs `(("gtk+" ,gtk+-2)
2898 ("glib" ,glib)
2899 ("gnome-icon-theme" ,gnome-icon-theme)
2900 ("libgnomecanvas" ,libgnomecanvas)
2e6ecc5c 2901 ("libxml2" ,libxml2)))
5698b8b8
JD
2902 (native-inputs
2903 `(("intltool" ,intltool)
2904 ("pkg-config" ,pkg-config)))
2905 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2906 (synopsis "Printing framework for GNOME")
eb497b66 2907 (description (package-description libgnomeprint))
5698b8b8
JD
2908 (license license:lgpl2.0+)))
2909
5698b8b8
JD
2910(define-public libbonoboui
2911 (package
2912 (name "libbonoboui")
2913 (version "2.24.5")
2914 (source (origin
2915 (method url-fetch)
b38e45d8
EB
2916 (uri (string-append "mirror://gnome/sources/" name "/"
2917 (version-major+minor version) "/"
2918 name "-" version ".tar.bz2"))
5698b8b8
JD
2919 (sha256
2920 (base32
2921 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2922 (build-system gnu-build-system)
2923 (arguments
2924 `(#:phases
dc1d3cde
KK
2925 (modify-phases %standard-phases
2926 (add-before 'check 'start-xserver
2927 (lambda* (#:key inputs #:allow-other-keys)
2928 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2929 (disp ":1"))
2930
2931 (setenv "HOME" (getcwd))
2932 (setenv "DISPLAY" disp)
2933 ;; There must be a running X server and make check doesn't start one.
2934 ;; Therefore we must do it.
2935 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
5698b8b8
JD
2936 ;; Mentioned as Required by the .pc file
2937 (propagated-inputs `(("libxml2" ,libxml2)))
2938 (inputs
2939 `(("popt" ,popt)
2940 ("pangox-compat" ,pangox-compat)
2941 ("libgnome" ,libgnome)
2942 ("libgnomecanvas" ,libgnomecanvas)
2943 ("libglade" ,libglade)))
2944 (native-inputs
221ed17a
EB
2945 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2946 ("intltool" ,intltool)
ff337525 2947 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
5698b8b8
JD
2948 ("pkg-config" ,pkg-config)))
2949 (home-page "https://developer.gnome.org/libbonoboui/")
2950 (synopsis "Some user interface controls using Bonobo")
2951 (description "The Bonobo UI library provides a number of user interface
2952controls using the Bonobo component framework.")
2953 (license license:lgpl2.0+)))
2954
fecbf86e
SB
2955(define-public libwnck
2956 (package
2957 (name "libwnck")
d3b40696 2958 (version "3.32.0")
fecbf86e
SB
2959 (source (origin
2960 (method url-fetch)
2961 (uri (string-append "mirror://gnome/sources/" name "/"
2962 (version-major+minor version) "/"
2963 name "-" version ".tar.xz"))
2964 (sha256
ad9b8987 2965 (base32
d3b40696
KK
2966 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2967 (build-system meson-build-system)
fecbf86e
SB
2968 (native-inputs
2969 `(("pkg-config" ,pkg-config)
d3b40696
KK
2970 ("glib" ,glib "bin") ; for glib-mkenums
2971 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
fecbf86e
SB
2972 ("intltool" ,intltool)))
2973 (propagated-inputs
427476d5
SB
2974 `(("gtk+" ,gtk+)
2975 ("libxres" ,libxres)
2976 ("startup-notification" ,startup-notification)))
fecbf86e
SB
2977 (home-page "https://developer.gnome.org/libwnck/")
2978 (synopsis "Window Navigator Construction Kit")
2979 (description
2980 "Libwnck is the Window Navigator Construction Kit, a library for use in
2981writing pagers, tasklists, and more generally applications that are dealing
2982with window management. It tries hard to respect the Extended Window Manager
2983Hints specification (EWMH).")
2984 (license license:lgpl2.0+)))
2985
2986;; stable version for gtk2, required by xfwm4.
dbb7a081 2987(define-public libwnck-2
fecbf86e
SB
2988 (package (inherit libwnck)
2989 (name "libwnck")
2990 (version "2.30.7")
2991 (source (origin
2992 (method url-fetch)
2993 (uri (string-append "mirror://gnome/sources/" name "/"
2994 (version-major+minor version) "/"
2995 name "-" version ".tar.xz"))
2996 (sha256
2997 (base32
2998 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
ba7fed8e
MÁAV
2999 (build-system gnu-build-system)
3000 (native-inputs
3001 `(("pkg-config" ,pkg-config)
3002 ("intltool" ,intltool)))
fecbf86e 3003 (propagated-inputs
427476d5
SB
3004 `(("gtk+" ,gtk+-2)
3005 ("libxres" ,libxres)
3006 ("startup-notification" ,startup-notification)))))
b804c61e
JD
3007
3008(define-public goffice
3009 (package
3010 (name "goffice")
09abffcc 3011 (version "0.10.46")
b804c61e
JD
3012 (source (origin
3013 (method url-fetch)
16243f0b 3014 (uri (string-append "mirror://gnome/sources/goffice/"
b38e45d8 3015 (version-major+minor version) "/"
16243f0b 3016 "goffice-" version ".tar.xz"))
b804c61e 3017 (sha256
09abffcc 3018 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
b804c61e 3019 (build-system gnu-build-system)
72a06d3e 3020 (outputs '("out"
355420c6 3021 "doc")) ; 4.0 MiB of gtk-doc
72a06d3e
LC
3022 (arguments
3023 '(#:configure-flags (list (string-append "--with-html-dir="
3024 (assoc-ref %outputs "doc")
3025 "/share/gtk-doc/html"))))
b804c61e
JD
3026 (inputs
3027 `(("gtk+" ,gtk+)
3028 ("libgsf" ,libgsf)
3029 ("librsvg" ,librsvg)
3030 ("libxslt" ,libxslt)
3031 ("libxml2" ,libxml2)))
3032 (native-inputs
3033 `(("intltool" ,intltool)
f280cdb1 3034 ("glib" ,glib "bin")
b804c61e
JD
3035 ("pkg-config" ,pkg-config)))
3036 (home-page "https://developer.gnome.org/goffice/")
3037 (synopsis "Document-centric objects and utilities")
3038 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2e6ecc5c 3039 (license
b804c61e
JD
3040 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3041 ;; Note: NOT LGPL
3042 (list license:gpl2 license:gpl3))))
3043
c024ae36
RW
3044(define-public goffice-0.8
3045 (package (inherit goffice)
3046 (version "0.8.17")
3047 (source (origin
3048 (method url-fetch)
3049 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3050 (version-major+minor version) "/"
3051 (package-name goffice) "-" version ".tar.xz"))
3052 (sha256
3053 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3054 (arguments
3055 `(#:phases
dc1d3cde
KK
3056 (modify-phases %standard-phases
3057 (add-after 'unpack 'fix-pcre-check
3058 (lambda _
3059 ;; Only glib.h can be included directly. See
3060 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3061 (substitute* "configure"
3062 (("glib/gregex\\.h") "glib.h")) #t)))
72a06d3e
LC
3063
3064 ,@(package-arguments goffice)))
c024ae36
RW
3065 (propagated-inputs
3066 ;; libgoffice-0.8.pc mentions libgsf-1
3067 `(("libgsf" ,libgsf)))
3068 (inputs
3069 `(("gtk" ,gtk+-2)
3070 ,@(alist-delete "gtk" (package-inputs goffice))))))
3071
b804c61e
JD
3072(define-public gnumeric
3073 (package
3074 (name "gnumeric")
f0517b5d 3075 (version "1.12.46")
b804c61e
JD
3076 (source (origin
3077 (method url-fetch)
b7fd0217 3078 (uri (string-append "mirror://gnome/sources/gnumeric/"
b38e45d8 3079 (version-major+minor version) "/"
b7fd0217 3080 "gnumeric-" version ".tar.xz"))
b804c61e
JD
3081 (sha256
3082 (base32
f0517b5d 3083 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
bd1b1e05 3084 (build-system glib-or-gtk-build-system)
b804c61e
JD
3085 (arguments
3086 `(;; The gnumeric developers don't worry much about failing tests.
3087 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2e6ecc5c 3088 #:tests? #f
b804c61e 3089 #:phases
7bcbd40d
EF
3090 (modify-phases %standard-phases
3091 (add-before
3092 'configure 'pre-conf
3093 (lambda* (#:key outputs #:allow-other-keys)
3094 ;; Make install tries to write into the directory of goffice
3095 ;; I am informed that this only affects the possibility to embed a
3096 ;; spreadsheet inside an Abiword document. So presumably when we
3097 ;; package Abiword we'll have to refer it to this directory.
3098 (substitute* "configure"
3099 (("^GOFFICE_PLUGINS_DIR=.*")
3100 (string-append "GOFFICE_PLUGINS_DIR="
3101 (assoc-ref outputs "out")
3102 "/goffice/plugins"))))))))
b804c61e
JD
3103 (inputs
3104 `(("glib" ,glib)
3105 ("gtk+" ,gtk+)
3106 ("goffice" ,goffice)
3107 ("libgsf" ,libgsf)
7bcbd40d 3108 ("librsvg" ,librsvg)
b804c61e 3109 ("libxml2" ,libxml2)
7bcbd40d 3110 ("libxslt" ,libxslt)
2e4c5457 3111 ("python" ,python-2)
6983ba56 3112 ("python2-pygobject" ,python2-pygobject)
b804c61e
JD
3113 ("zlib" ,zlib)))
3114 (native-inputs
6983ba56 3115 `(("bison" ,bison)
1ed398d1 3116 ("docbook-xml" ,docbook-xml)
6983ba56 3117 ("intltool" ,intltool)
785fcb62 3118 ("itstool" ,itstool)
b9663471 3119 ("glib:bin" ,glib "bin")
b804c61e
JD
3120 ("pkg-config" ,pkg-config)))
3121 (home-page "http://www.gnumeric.org")
66672a45
LC
3122 (synopsis "Spreadsheet application")
3123 (description
3124 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3125interoperable with other spreadsheet applications. It has a vast array of
3126features beyond typical spreadsheet functionality, such as support for linear
3127and non-linear solvers, statistical analysis, and telecommunication
3128engineering.")
3129 (license
b804c61e
JD
3130 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3131 (list license:gpl2 license:gpl3))))
6f885c05
FB
3132
3133(define-public gnome-themes-standard
3134 (package
3135 (name "gnome-themes-standard")
0b7b8fb0 3136 (version "3.22.3")
6f885c05
FB
3137 (source
3138 (origin
3139 (method url-fetch)
2e6ecc5c 3140 (uri (string-append "mirror://gnome/sources/" name "/"
6f885c05
FB
3141 (version-major+minor version) "/" name "-"
3142 version ".tar.xz"))
3143 (sha256
3144 (base32
0b7b8fb0 3145 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
6f885c05 3146 (build-system gnu-build-system)
8ac70c7f
SB
3147 (arguments
3148 '(#:configure-flags
3149 ;; Don't create 'icon-theme.cache'.
3150 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3151 (true (string-append coreutils "/bin/true")))
3152 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
6f885c05
FB
3153 (inputs
3154 `(("gtk+" ,gtk+)
3155 ("gtk+-2" ,gtk+-2)
3156 ("librsvg" ,librsvg)
3157 ("libxml2" ,libxml2)
3158 ("glib" ,glib)))
3159 (native-inputs
3160 `(("intltool" ,intltool)
3161 ("glib:bin" ,glib "bin")
3162 ("pkg-config" ,pkg-config)))
6f885c05
FB
3163 (home-page "https://launchpad.net/gnome-themes-standard")
3164 (synopsis "Default GNOME 3 themes")
3165 (description
3166 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3167 (license license:lgpl2.1+)))
5a659a48 3168
df90c701
RW
3169(define-public seahorse
3170 (package
3171 (name "seahorse")
bcea3c11 3172 (version "3.32.2")
df90c701
RW
3173 (source
3174 (origin
3175 (method url-fetch)
3176 (uri (string-append "mirror://gnome/sources/" name "/"
3177 (version-major+minor version) "/" name "-"
3178 version ".tar.xz"))
3179 (sha256
3180 (base32
bcea3c11 3181 "0d8zdzmlz7fjv9xl20zl4ckidf465mvdjnbpxy3k08y9iw423q4x"))
af561664
MÁAV
3182 (patches (search-patches
3183 "seahorse-gkr-use-0-on-empty-flags.patch"))))
3184 (build-system meson-build-system)
3185 (arguments
bcea3c11
KK
3186 '(#:glib-or-gtk? #t
3187 #:phases
af561664
MÁAV
3188 (modify-phases %standard-phases
3189 (add-after 'unpack 'skip-gtk-update-icon-cache
3190 ;; Don't create 'icon-theme.cache'.
3191 (lambda _
3192 (substitute* "build-aux/meson_post_install.py"
3193 (("gtk-update-icon-cache") "true"))
3194 #t)))))
df90c701
RW
3195 (inputs
3196 `(("gtk+" ,gtk+)
3197 ("gcr" ,gcr)
34b979b9 3198 ("gnupg" ,gnupg)
df90c701 3199 ("gpgme" ,gpgme)
34b979b9 3200 ("openldap" ,openldap)
4a1bf090 3201 ("openssh" ,openssh)
af561664 3202 ("avahi" ,avahi)
bcea3c11 3203 ("libpwquality" ,libpwquality)
34b979b9
EF
3204 ("libsecret" ,libsecret)
3205 ("libsoup" ,libsoup)))
df90c701 3206 (native-inputs
af561664 3207 `(("gettext" ,gettext-minimal)
df90c701
RW
3208 ("glib:bin" ,glib "bin")
3209 ("itstool" ,itstool)
bcb354ad 3210 ("pkg-config" ,pkg-config)
af561664 3211 ("vala" ,vala)
bcb354ad 3212 ("xmllint" ,libxml2)))
bcea3c11 3213 (home-page "https://wiki.gnome.org/Apps/Seahorse")
df90c701
RW
3214 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3215 (description
3216 "Seahorse is a GNOME application for managing encryption keys and
3217passwords in the GNOME keyring.")
3218 (license license:gpl2+)))
3219
5a659a48
SB
3220(define-public vala
3221 (package
3222 (name "vala")
2d6872f6 3223 (version "0.44.5")
5a659a48
SB
3224 (source (origin
3225 (method url-fetch)
3226 (uri (string-append "mirror://gnome/sources/" name "/"
3227 (version-major+minor version) "/"
3228 name "-" version ".tar.xz"))
3229 (sha256
3230 (base32
2d6872f6 3231 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
5a659a48 3232 (build-system gnu-build-system)
1ea90625
SB
3233 (arguments
3234 '(#:phases
3235 (modify-phases %standard-phases
f4925a4f 3236 (add-before 'check 'pre-check
1ea90625
SB
3237 (lambda _
3238 (setenv "CC" "gcc")
8839b6be
RW
3239 (substitute* "valadoc/tests/testrunner.sh"
3240 (("export PKG_CONFIG_PATH=" m)
3241 (string-append m "$PKG_CONFIG_PATH:")))
f4925a4f
SB
3242 ;; For missing '/etc/machine-id'.
3243 (setenv "DBUS_FATAL_WARNINGS" "0")
8839b6be 3244 #t)))))
5a659a48
SB
3245 (native-inputs
3246 `(("pkg-config" ,pkg-config)
3247 ("flex" ,flex)
3248 ("bison" ,bison)
3249 ("xsltproc" ,libxslt)
3250 ("dbus" ,dbus) ; for dbus tests
3251 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
8839b6be
RW
3252 (inputs
3253 `(("graphviz" ,graphviz)))
5a659a48 3254 (propagated-inputs
8839b6be 3255 `(("glib" ,glib))) ; required by libvala-0.40.pc
f032d0be 3256 (home-page "https://live.gnome.org/Vala/")
5a659a48
SB
3257 (synopsis "Compiler for the GObject type system")
3258 (description
3259 "Vala is a programming language that aims to bring modern programming
3260language features to GNOME developers without imposing any additional runtime
3261requirements and without using a different ABI compared to applications and
3262libraries written in C.")
3263 (license license:lgpl2.1+)))
ea57378f
SB
3264
3265(define-public vte
3266 (package
3267 (name "vte")
68c47474 3268 (version "0.58.3")
ea57378f
SB
3269 (source (origin
3270 (method url-fetch)
ac87ffb8 3271 (uri (string-append "mirror://gnome/sources/vte/"
ea57378f 3272 (version-major+minor version) "/"
ac87ffb8 3273 "vte-" version ".tar.xz"))
ea57378f
SB
3274 (sha256
3275 (base32
68c47474
TGR
3276 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
3277 (build-system meson-build-system)
ea57378f
SB
3278 (native-inputs
3279 `(("pkg-config" ,pkg-config)
3280 ("intltool" ,intltool)
3281 ("vala" ,vala)
3282 ("gobject-introspection" ,gobject-introspection)
68c47474 3283 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
73f0e1ab 3284 ("gperf" ,gperf)
ea57378f
SB
3285 ("xmllint" ,libxml2)))
3286 (propagated-inputs
68c47474
TGR
3287 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3288 ("gnutls" ,gnutls) ; ditto
3289 ("pcre2" ,pcre2))) ; ditto
f032d0be 3290 (home-page "https://www.gnome.org/")
ea57378f
SB
3291 (synopsis "Virtual Terminal Emulator")
3292 (description
3293 "VTE is a library (libvte) implementing a terminal emulator widget for
3294GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3295gnome-terminal, but can also be used to embed a console/terminal in games,
3296editors, IDEs, etc.")
3297 (license license:lgpl2.1+)))
3298
c44fb4df
MO
3299(define-public vte-ng
3300 (package
3301 (inherit vte)
3302 (name "vte-ng")
24f4fcbe 3303 (version "0.58.2.a")
afd90f8d 3304 (home-page "https://github.com/thestinger/vte-ng")
6bc00737
MB
3305 (source (origin
3306 (method git-fetch)
3307 (uri (git-reference (url home-page) (commit version)))
3308 (file-name (git-file-name name version))
3309 (sha256
3310 (base32
24f4fcbe
MB
3311 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3312 (build-system meson-build-system)
c44fb4df
MO
3313 (native-inputs
3314 `(("gtk-doc" ,gtk-doc)
c44fb4df 3315 ,@(package-native-inputs vte)))
c44fb4df 3316 (arguments
24f4fcbe 3317 `(#:configure-flags '("-Ddocs=true")))
c44fb4df
MO
3318 (synopsis "Enhanced VTE terminal widget")
3319 (description
3320 "VTE is a library (libvte) implementing a terminal emulator widget for
3321GTK+, this fork provides additional functions exposed for keyboard text
3322selection and URL hints.")))
3323
2776d72c
EF
3324;; provides vte 2.90, required for some terminal emulators
3325;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3326;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3327;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3328;; pantheon-terminal, roxterm are not currently packaged
3329(define-public vte-0.36
3330 (package (inherit vte)
3331 (name "vte")
3332 (version "0.36.5")
3333 (source (origin
3334 (method url-fetch)
3335 (uri (string-append "mirror://gnome/sources/" name "/"
3336 (version-major+minor version) "/"
3337 name "-" version ".tar.xz"))
3338 (sha256
3339 (base32
3340 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3341 (propagated-inputs
3342 `(("gtk" ,gtk+)
3343 ("ncurses" ,ncurses)))))
3344
ea57378f
SB
3345;; stable version for gtk2, required by xfce4-terminal.
3346(define-public vte/gtk+-2
3347 (package (inherit vte)
3348 (name "vte")
3349 (version "0.28.2")
3350 (source (origin
3351 (method url-fetch)
3352 (uri (string-append "mirror://gnome/sources/" name "/"
3353 (version-major+minor version) "/"
3354 name "-" version ".tar.xz"))
3355 (sha256
3356 (base32
7d48938a
EF
3357 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3358 (patches (search-patches
3359 "vte-CVE-2012-2738-pt1.patch"
3360 "vte-CVE-2012-2738-pt2.patch"))))
8eebde74 3361 (build-system gnu-build-system)
ea57378f
SB
3362 (arguments
3363 '(#:configure-flags '("--disable-python")))
3364 (native-inputs
3365 `(("pkg-config" ,pkg-config)
3366 ("intltool" ,intltool)
3367 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3368 (propagated-inputs
3369 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3370 ("ncurses" ,ncurses))))) ; required by libvte.la
b47e1b20 3371
cce0da5e
TD
3372(define-public vinagre
3373 (package
3374 (name "vinagre")
3375 (version "3.22.0")
3376 (source (origin
3377 (method url-fetch)
3378 (uri (string-append "mirror://gnome/sources/" name "/"
3379 (version-major+minor version) "/"
3380 name "-" version ".tar.xz"))
684f97f8
EF
3381 (patches (search-patches "vinagre-newer-freerdp.patch"
3382 "vinagre-newer-rdp-parameters.patch"))
cce0da5e
TD
3383 (sha256
3384 (base32
3385 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3386 (build-system glib-or-gtk-build-system)
684f97f8 3387 (arguments
7f486d25
MC
3388 ;; Disable -Werror and such, to avoid build failures on compilation
3389 ;; warnings.
3390 '(#:configure-flags '("--enable-compile-warnings=minimum")
3391 #:phases
684f97f8 3392 (modify-phases %standard-phases
1839768c
EF
3393 (add-before 'install 'skip-gtk-update-icon-cache
3394 (lambda _
3395 ;; Don't create 'icon-theme.cache'
3396 (substitute* (find-files "." "^Makefile$")
3397 (("gtk-update-icon-cache") (which "true")))
3398 #t))
684f97f8
EF
3399 (add-after 'unpack 'patch-configure
3400 (lambda _
3401 (substitute* "configure"
3402 (("freerdp") "freerdp2"))
3403 #t)))))
cce0da5e
TD
3404 (native-inputs
3405 `(("pkg-config" ,pkg-config)
3406 ("intltool" ,intltool)
3407 ("itstool" ,itstool)
1839768c 3408 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
cce0da5e
TD
3409 (inputs
3410 `(("libxml2" ,libxml2)
3411 ("gtk-vnc" ,gtk-vnc)
3412 ("gnome-keyring" ,gnome-keyring)
3413 ("libsecret" ,libsecret)
3414 ("freerdp" ,freerdp)
3415 ("spice" ,spice)
3416 ("spice-gtk" ,spice-gtk)
3417 ("telepathy-glib" ,telepathy-glib)
3418 ("vte" ,vte)))
cce0da5e
TD
3419 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3420 (synopsis "Remote desktop viewer for GNOME")
3421 (description "Vinagre is a remote display client supporting the VNC, SPICE
3422and RDP protocols.")
3423 (license license:gpl3+)))
3424
b47e1b20
FB
3425(define-public dconf
3426 (package
3427 (name "dconf")
1e33331c 3428 (version "0.32.0")
b47e1b20
FB
3429 (source (origin
3430 (method url-fetch)
3431 (uri (string-append
2e6ecc5c 3432 "mirror://gnome/sources/" name "/"
b47e1b20
FB
3433 (version-major+minor version) "/"
3434 name "-" version ".tar.xz"))
46c3a08b 3435 (patches (search-patches "dconf-meson-0.52.patch"))
b47e1b20 3436 (sha256
f05c809f 3437 (base32
1e33331c 3438 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
35fa923d 3439 (build-system meson-build-system)
bc036f4c
MB
3440 (propagated-inputs
3441 ;; In Requires of dconf.pc.
3442 `(("glib" ,glib)))
b47e1b20
FB
3443 (inputs
3444 `(("gtk+" ,gtk+)
bc036f4c 3445 ("dbus" ,dbus)))
b47e1b20 3446 (native-inputs
1e33331c
MB
3447 `(("bash-completion" ,bash-completion)
3448 ("libxslt" ,libxslt) ;for xsltproc
bc036f4c 3449 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
b47e1b20
FB
3450 ("docbook-xml" ,docbook-xml-4.2)
3451 ("docbook-xsl" ,docbook-xsl)
35fa923d 3452 ("glib:bin" ,glib "bin")
03676d6f 3453 ("gtk-doc" ,gtk-doc)
35fa923d
MB
3454 ("pkg-config" ,pkg-config)
3455 ("vala" ,vala)))
b47e1b20
FB
3456 (arguments
3457 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3458 ; or /etc/machine-id.
35fa923d
MB
3459 #:glib-or-gtk? #t
3460 #:configure-flags '("-Denable-gtk-doc=true")))
b47e1b20
FB
3461 (home-page "https://developer.gnome.org/dconf")
3462 (synopsis "Low-level GNOME configuration system")
3463 (description "Dconf is a low-level configuration system. Its main purpose
3464is to provide a backend to GSettings on platforms that don't already have
3465configuration storage systems.")
e20e6b40 3466 (license license:lgpl2.1+)))
109da1c0
AE
3467
3468(define-public json-glib
3469 (package
3470 (name "json-glib")
4115e8ea 3471 (version "1.4.4")
109da1c0
AE
3472 (source (origin
3473 (method url-fetch)
3474 (uri (string-append "mirror://gnome/sources/" name "/"
3475 (version-major+minor version) "/"
3476 name "-" version ".tar.xz"))
3477 (sha256
3478 (base32
4115e8ea 3479 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
98afa184 3480 (build-system meson-build-system)
109da1c0 3481 (native-inputs
98afa184
MB
3482 `(("gettext" ,gettext-minimal)
3483 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
3484 ("gobject-introspection" ,gobject-introspection)
3485 ("pkg-config" ,pkg-config)))
3486 (propagated-inputs
88c6b580 3487 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
3488 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3489 (synopsis "Compiler for the GObject type system")
7c125ce0
AK
3490 (description
3491 "JSON-GLib is a C library based on GLib providing serialization and
3492deserialization support for the JavaScript Object Notation (JSON) format
3493described by RFC 4627. It provides parser and generator GObject classes and
3494various wrappers for the complex data types employed by JSON, such as arrays
3495and objects.")
109da1c0 3496 (license license:lgpl2.1+)))
6f96a359
SB
3497
3498(define-public libxklavier
3499 (package
3500 (name "libxklavier")
5f39050b 3501 (version "5.4")
6f96a359 3502 (source (origin
5f39050b 3503 ;; Note: There's no tarball at ftp.gnome.org for this version.
3504 (method git-fetch)
3505 (uri (git-reference
3506 (url "https://anongit.freedesktop.org/git/libxklavier")
3507 (commit (string-append "libxklavier-" version))))
6f96a359
SB
3508 (sha256
3509 (base32
5f39050b 3510 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3511 (file-name (git-file-name name version))))
6f96a359
SB
3512 (build-system gnu-build-system)
3513 (arguments
5f39050b 3514 '(#:phases
3515 (modify-phases %standard-phases
3516 (add-after 'unpack 'no-configure
3517 (lambda* _
3518 (setenv "NOCONFIGURE" "1")
3519 #t)))
3520 #:configure-flags
6f96a359
SB
3521 (list (string-append "--with-xkb-base="
3522 (assoc-ref %build-inputs "xkeyboard-config")
5f39050b 3523 "/share/X11/xkb")
3524 "--disable-xmodmap-support")))
6f96a359
SB
3525 (native-inputs
3526 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3527 ("gobject-introspection" ,gobject-introspection)
5f39050b 3528 ("pkg-config" ,pkg-config)
3529 ("gtk-doc" ,gtk-doc)
3530 ("intltool" ,intltool)
3531 ("which" ,which)
3532 ("autoconf" ,autoconf)
3533 ("automake" ,automake)
3534 ("libtool" ,libtool)))
6f96a359
SB
3535 (propagated-inputs
3536 ;; Required by libxklavier.pc.
3537 `(("glib" ,glib)
3538 ("libxml2" ,libxml2)))
3539 (inputs
3540 `(("iso-codes" ,iso-codes)
3541 ("libxi" ,libxi)
3542 ("libxkbfile" ,libxkbfile)
3543 ("xkbcomp" ,xkbcomp)
3544 ("xkeyboard-config" ,xkeyboard-config)))
57e7d748 3545 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
6f96a359
SB
3546 (synopsis "High-level API for X Keyboard Extension")
3547 (description
3548 "LibXklavier is a library providing high-level API for X Keyboard
e881752c
AK
3549Extension known as XKB. This library is intended to support XFree86 and other
3550commercial X servers. It is useful for creating XKB-related software (layout
6f96a359
SB
3551indicators etc).")
3552 (license license:lgpl2.0+)))
619936a4
LC
3553
3554(define-public python2-rsvg
3555 ;; XXX: This is actually a subset of gnome-python-desktop.
3556 (package
3557 (name "python2-rsvg")
3558 (version "2.32.0")
3559 (source
3560 (origin
3561 (method url-fetch)
3562 (uri (string-append
3563 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3564 version ".tar.bz2"))
3565 (sha256
3566 (base32
3567 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3568 (build-system gnu-build-system)
3569 (native-inputs
3570 `(("pkg-config" ,pkg-config)))
3571 (inputs
3572 `(("python" ,python-2)
3573 ("python2-pygtk" ,python2-pygtk)
3574 ("librsvg" ,librsvg)))
f032d0be 3575 (home-page "https://www.gnome.org")
619936a4
LC
3576 (synopsis "Python bindings to librsvg")
3577 (description
3ad75446 3578 "This package provides Python bindings to librsvg, the SVG rendering
619936a4
LC
3579library.")
3580
3581 ;; This is the license of the rsvg bindings. The license of each module
3582 ;; of gnome-python-desktop is given in 'COPYING'.
3583 (license license:lgpl2.1+)))
a31a6d22 3584
f2ca414a
SB
3585(define-public glib-networking
3586 (package
3587 (name "glib-networking")
0d75c64d 3588 (version "2.60.3")
f2ca414a
SB
3589 (source (origin
3590 (method url-fetch)
3591 (uri (string-append "mirror://gnome/sources/glib-networking/"
3592 (version-major+minor version) "/"
fb8fe1e8 3593 "glib-networking-" version ".tar.xz"))
f2ca414a
SB
3594 (sha256
3595 (base32
0d75c64d 3596 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
65211552 3597 (build-system meson-build-system)
f2ca414a 3598 (arguments
0d75c64d 3599 `(#:configure-flags '("-Dlibproxy_support=false")))
f2ca414a
SB
3600 (native-inputs
3601 `(("pkg-config" ,pkg-config)
3602 ("intltool" ,intltool)))
3603 (inputs
3604 `(("glib" ,glib)
3605 ("gnutls" ,gnutls)
4b8f1313 3606 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
f032d0be 3607 (home-page "https://www.gnome.org")
f2ca414a
SB
3608 (synopsis "Network-related GIO modules")
3609 (description
3610 "This package contains various network related extensions for the GIO
3611library.")
3612 (license license:lgpl2.0+)))
3613
ca649680 3614(define-public rest
4510b2da 3615 (package
ca649680 3616 (name "rest")
a4194d16 3617 (version "0.8.1")
4510b2da
SB
3618 (source (origin
3619 (method url-fetch)
3620 (uri (string-append "mirror://gnome/sources/rest/"
ca649680
SB
3621 (version-major+minor version) "/"
3622 name "-" version ".tar.xz"))
4510b2da
SB
3623 (sha256
3624 (base32
a4194d16 3625 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4510b2da
SB
3626 (build-system gnu-build-system)
3627 (arguments
3628 '(#:tests? #f ; tests require internet connection
3629 #:configure-flags
3630 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3631 (native-inputs
3632 `(("glib-mkenums" ,glib "bin")
3633 ("gobject-introspection" ,gobject-introspection)
3634 ("pkg-config" ,pkg-config)))
3635 (propagated-inputs
3636 ;; rest-0.7.pc refers to all these.
3637 `(("glib" ,glib)
3638 ("libsoup" ,libsoup)
3639 ("libxml2" ,libxml2)))
24d6cc1d 3640 (home-page "https://www.gtk.org/")
4510b2da
SB
3641 (synopsis "RESTful web api query library")
3642 (description
3643 "This library was designed to make it easier to access web services that
3644claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3645libxml to ease remote use of the RESTful API.")
3646 (license license:lgpl2.1+)))
3647
6e1bb642
SB
3648(define-public libsoup
3649 (package
3650 (name "libsoup")
9ae87870 3651 (version "2.68.3")
6e1bb642
SB
3652 (source (origin
3653 (method url-fetch)
3654 (uri (string-append "mirror://gnome/sources/libsoup/"
3655 (version-major+minor version) "/"
c1b79b36 3656 "libsoup-" version ".tar.xz"))
6e1bb642
SB
3657 (sha256
3658 (base32
9ae87870 3659 "1yxs0ax4rq3g0lgkbv7mz497rqj16iyyizddyc13gzxh6n7b0jsk"))))
eccaa8bf 3660 (build-system meson-build-system)
6e1bb642
SB
3661 (outputs '("out" "doc"))
3662 (arguments
2deb146f 3663 `(#:modules ((guix build utils)
eccaa8bf 3664 (guix build meson-build-system)
2deb146f
LC
3665 (ice-9 popen))
3666
f8026a79 3667 #:configure-flags '("-Dgtk_doc=true")
6e1bb642
SB
3668 #:phases
3669 (modify-phases %standard-phases
eccaa8bf 3670 (add-after 'unpack 'adjust-tests
26c228f9 3671 (lambda _
eccaa8bf
MB
3672 ;; This test fails due to missing /etc/nsswitch.conf
3673 ;; in the build environment.
26c228f9
LC
3674 (substitute* "tests/socket-test.c"
3675 ((".*/sockets/unconnected.*") ""))
2deb146f 3676
f8026a79
MB
3677 ;; These fail because "subdomain.localhost" does not resolve in
3678 ;; the build environment.
3679 (substitute* "tests/hsts-test.c"
3680 ((".*/hsts/basic.*") "")
3681 ((".*/hsts/subdomains.*") "")
3682 ((".*/hsts/superdomain.*") "")
3683 ((".*/hsts/utf8-address.*") ""))
3684 (substitute* "tests/hsts-db-test.c"
3685 ((".*/hsts-db/subdomains.*") ""))
3686
2deb146f
LC
3687 ;; Generate a self-signed certificate that has "localhost" as its
3688 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3689 ;; 3.5.12, tests such as "ssl-tests" fail:
3690 ;;
3691 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3692 ;;
3693 ;; 'certtool' is interactive so we have to pipe it the answers.
3694 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3695 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3696 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3697 (for-each (lambda (line)
3698 (display line pipe)
3699 (newline pipe))
3700 '("" ;Common name
3701 "" ;UID
3702 "Guix" ;Organizational unit name
3703 "GNU" ;Organization name
3704 "" ;Locality name
3705 "" ;State or province
3706 "" ;Country
3707 "" ;subject's domain component (DC)
3708 "" ;E-mail
3709 "" ;serial number
3710 "-1" ;expiration time
3711 "N" ;belong to authority?
3712 "N" ;web client certificate?
3713 "N" ;IPsec IKE?
3714 "Y" ;web server certificate?
3715 "localhost" ;dnsName of subject
3716 "" ;dnsName of subject (end)
3717 "" ;URI of subject
3718 "127.0.0.1" ;IP address of subject
3719 "" ;signing?
06f5bc4e
MB
3720 "" ;encryption (RSA)?
3721 "" ;data encryption?
2deb146f
LC
3722 "" ;sign OCSP requests?
3723 "" ;sign code?
3724 "" ;time stamping?
3725 "" ;email protection?
3726 "" ;URI of the CRL distribution point
3727 "y" ;above info OK?
3728 ))
3729 (close-pipe pipe))
26c228f9 3730 #t))
eccaa8bf
MB
3731 (add-after 'install 'move-doc
3732 (lambda* (#:key outputs #:allow-other-keys)
3733 (let ((out (assoc-ref outputs "out"))
3734 (doc (assoc-ref outputs "doc")))
3735 (mkdir-p (string-append doc "/share"))
3736 (copy-recursively (string-append out "/share/gtk-doc")
3737 (string-append doc "/share/gtk-doc"))
3738 (delete-file-recursively (string-append out "/share/gtk-doc"))
3739 #t))))))
6e1bb642 3740 (native-inputs
26c228f9 3741 `(("glib:bin" ,glib "bin") ; for glib-mkenums
6e1bb642 3742 ("gobject-introspection" ,gobject-introspection)
eccaa8bf 3743 ("gtk-doc" ,gtk-doc)
6e1bb642
SB
3744 ("intltool" ,intltool)
3745 ("pkg-config" ,pkg-config)
3746 ("python" ,python-wrapper)
fd730590 3747 ("vala" ,vala)
6e1bb642
SB
3748 ;; These are needed for the tests.
3749 ;; FIXME: Add PHP once available.
3750 ("curl" ,curl)
2deb146f 3751 ("gnutls" ,gnutls) ;for 'certtool'
6e1bb642
SB
3752 ("httpd" ,httpd)))
3753 (propagated-inputs
3754 ;; libsoup-2.4.pc refers to all these.
f8026a79
MB
3755 `(("brotli" ,google-brotli)
3756 ("glib" ,glib)
249846bf 3757 ("libpsl" ,libpsl)
eccaa8bf 3758 ("libxml2" ,libxml2)
f8026a79
MB
3759 ("sqlite" ,sqlite)
3760 ("zlib" ,zlib)))
eccaa8bf
MB
3761 (inputs
3762 `(("glib-networking" ,glib-networking)
3763 ("mit-krb5" ,mit-krb5)))
6e1bb642
SB
3764 (home-page "https://live.gnome.org/LibSoup/")
3765 (synopsis "GLib-based HTTP Library")
3766 (description
3767 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3768and the GLib main loop, to integrate well with GNOME applications.")
3769 (license license:lgpl2.0+)))
3770
bba229a3
SB
3771(define-public libsecret
3772 (package
3773 (name "libsecret")
b243d2f7 3774 (version "0.19.1")
bba229a3
SB
3775 (source (origin
3776 (method url-fetch)
3777 (uri (string-append
896dcbc7
EF
3778 "mirror://gnome/sources/libsecret/"
3779 (version-major+minor version) "/"
0ada4e29 3780 "libsecret-" version ".tar.xz"))
bba229a3
SB
3781 (sha256
3782 (base32
b243d2f7 3783 "0fhflcsr70b1pps2pcvqcbdhip2ny5am9nbm634f4sj5g40y30w5"))))
bba229a3
SB
3784 (build-system gnu-build-system)
3785 (outputs '("out" "doc"))
3786 (arguments
3787 `(#:tests? #f ; FIXME: Testing hangs.
bba229a3
SB
3788 #:configure-flags
3789 (list (string-append "--with-html-dir="
3790 (assoc-ref %outputs "doc")
3791 "/share/gtk-doc/html"))))
3792 (native-inputs
c06ef010
MB
3793 `(("gettext" ,gettext-minimal)
3794 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
bba229a3 3795 ("gobject-introspection" ,gobject-introspection)
bba229a3
SB
3796 ("pkg-config" ,pkg-config)
3797 ("vala" ,vala)
3798 ("xsltproc" ,libxslt)))
3799 ;; These are needed for the tests.
3800 ;; FIXME: Add gjs once available.
3801 ;("dbus" ,dbus)
3802 ;("python2" ,python-2)
3803 ;("python2-dbus" ,python2-dbus)
3804 ;("python2-pygobject" ,python2-pygobject)
3805 ;("python2-pygobject-2" ,python2-pygobject-2)))
3806 (propagated-inputs
3807 `(("glib" ,glib))) ; required by libsecret-1.pc
3808 (inputs
3809 `(("docbook-xsl" ,docbook-xsl)
3810 ("libgcrypt" ,libgcrypt)
3811 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3812 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3813 (synopsis "GObject bindings for \"Secret Service\" API")
3814 (description
3815 "Libsecret is a GObject based library for storing and retrieving passwords
3816and other secrets. It communicates with the \"Secret Service\" using DBus.")
3817 (license license:lgpl2.1+)))
3818
b6821ee0 3819(define-public five-or-more
3820 (package
3821 (name "five-or-more")
d9795e93 3822 (version "3.32.0")
b6821ee0 3823 (source
3824 (origin
3825 (method url-fetch)
3826 (uri (string-append "mirror://gnome/sources/" name "/"
3827 (version-major+minor version) "/"
3828 name "-" version ".tar.xz"))
3829 (sha256
3830 (base32
d9795e93
KK
3831 "0v52i22ygv6y4zqs8nyb1qmacmj9whhqrw7qss6vn7by4nsikhrn"))))
3832 (build-system meson-build-system)
3833 (arguments
3834 '(#:glib-or-gtk? #t
3835 #:phases
3836 (modify-phases %standard-phases
3837 (add-after 'unpack 'skip-gtk-update-icon-cache
3838 (lambda _
3839 (substitute* "meson_post_install.py"
3840 (("gtk-update-icon-cache") (which "true")))
3841 #t)))))
b6821ee0 3842 (native-inputs
3843 `(("pkg-config" ,pkg-config)
d9795e93 3844 ("appstream-glib" ,appstream-glib)
b6821ee0 3845 ("desktop-file-utils" ,desktop-file-utils)
d9795e93 3846 ("glib:bin" ,glib "bin") ; for glib-compile-resources
b6821ee0 3847 ("intltool" ,intltool)
3848 ("itstool" ,itstool)
d9795e93 3849 ("vala" ,vala)
b6821ee0 3850 ("xmllint" ,libxml2)))
3851 (inputs
3852 `(("gtk+" ,gtk+)
d9795e93 3853 ("libgnome-games-support" ,libgnome-games-support)
b6821ee0 3854 ("librsvg" ,librsvg)))
3855 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3856 (synopsis "Logic puzzle game")
3857 (description "Five or More is a game where you try to align
3858 five or more objects of the same color and shape causing them to disappear.
3859 On every turn more objects will appear, until the board is full.
3860 Try to last as long as possible.")
3861 (license license:gpl2+)))
3862
a31a6d22
SB
3863(define-public gnome-mines
3864 (package
3865 (name "gnome-mines")
2d817e41 3866 (version "3.32.2")
a31a6d22
SB
3867 (source
3868 (origin
3869 (method url-fetch)
3870 (uri (string-append "mirror://gnome/sources/" name "/"
3871 (version-major+minor version) "/"
3872 name "-" version ".tar.xz"))
3873 (sha256
3874 (base32
2d817e41 3875 "1nv966wkp2rqxzcdb76bwlbzpjqadcaqzrnkxpzwnvjjr167yx8g"))))
8c0fab36 3876 (build-system meson-build-system)
a31a6d22 3877 (arguments
2d817e41
KK
3878 '(#:glib-or-gtk? #t
3879 #:phases
a31a6d22 3880 (modify-phases %standard-phases
2d817e41
KK
3881 (add-after 'unpack 'skip-gtk-update-icon-cache
3882 (lambda _
3883 (substitute* "build-aux/meson_post_install.py"
3884 (("gtk-update-icon-cache") (which "true")))
3885 #t)))))
a31a6d22 3886 (native-inputs
8c0fab36
RW
3887 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3888 ("pkg-config" ,pkg-config)
a31a6d22
SB
3889 ("desktop-file-utils" ,desktop-file-utils)
3890 ("intltool" ,intltool)
bcb354ad 3891 ("itstool" ,itstool)
8c0fab36
RW
3892 ("vala" ,vala)
3893 ("yelp" ,yelp)
3894 ("appstream-glib" ,appstream-glib)))
a31a6d22
SB
3895 (inputs
3896 `(("gtk+" ,gtk+)
73992962 3897 ("libgnome-games-support" ,libgnome-games-support)
a31a6d22
SB
3898 ("librsvg" ,librsvg)))
3899 (home-page "https://wiki.gnome.org/Apps/Mines")
3900 (synopsis "Minesweeper game")
3901 (description
3902 "Mines (previously gnomine) is a puzzle game where you locate mines
3903floating in an ocean using only your brain and a little bit of luck.")
3904 (license license:gpl2+)))
88f70665 3905
dfc407f3
KY
3906(define-public gnome-sudoku
3907 (package
3908 (name "gnome-sudoku")
7dc728c4 3909 (version "3.32.0")
dfc407f3
KY
3910 (source
3911 (origin
3912 (method url-fetch)
3913 (uri (string-append "mirror://gnome/sources/" name "/"
3914 (version-major+minor version) "/"
3915 name "-" version ".tar.xz"))
3916 (sha256
3917 (base32
7dc728c4
KK
3918 "1wwdjflw1lbx3cv6gvqcgp5jnjkrq37ld6mjbjj03g3vr90qaf0l"))))
3919 (build-system meson-build-system)
3920 (arguments
3921 '(#:glib-or-gtk? #t
3922 #:phases
3923 (modify-phases %standard-phases
3924 (add-after 'unpack 'skip-gtk-update-icon-cache
3925 (lambda _
3926 (substitute* "build-aux/post_install.py"
3927 (("gtk-update-icon-cache") (which "true")))
3928 #t)))))
dfc407f3
KY
3929 (native-inputs
3930 `(("pkg-config" ,pkg-config)
3931 ("desktop-file-utils" ,desktop-file-utils)
7dc728c4 3932 ("glib:bin" ,glib "bin") ; for glib-compile-resources
dfc407f3
KY
3933 ("intltool" ,intltool)
3934 ("itstool" ,itstool)
7dc728c4 3935 ("vala" ,vala)
dfc407f3
KY
3936 ("xmllint" ,libxml2)))
3937 (inputs
3938 `(("gtk+" ,gtk+)
3939 ("json-glib" ,json-glib)
3940 ("libgee" ,libgee)
3941 ("librsvg" ,librsvg)
3942 ("qqwing" ,qqwing)))
3943 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3944 (synopsis "Japanese logic game")
3945 (description
3946 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3947GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3948possible while still providing features that make playing difficult Sudoku
3949more fun.")
3950 (license license:gpl2+)))
3951
88f70665
AW
3952(define-public gnome-terminal
3953 (package
3954 (name "gnome-terminal")
7dee3942 3955 (version "3.32.2")
88f70665
AW
3956 (source
3957 (origin
3958 (method url-fetch)
3959 (uri (string-append "mirror://gnome/sources/" name "/"
3960 (version-major+minor version) "/"
3961 name "-" version ".tar.xz"))
3962 (sha256
3963 (base32
7dee3942 3964 "0shhpnagasyp1kxgjczfrivcxbgrrl3y8lzvp1z101m67h4jp6km"))))
88f70665
AW
3965 (build-system glib-or-gtk-build-system)
3966 (arguments
3967 '(#:configure-flags
3968 (list "--disable-migration" "--disable-search-provider"
3969 "--without-nautilus-extension")
3970 #:phases
3971 (modify-phases %standard-phases
3a4de6b2 3972 (add-before 'configure 'patch-/bin/true
88f70665
AW
3973 (lambda _
3974 (substitute* "configure"
3975 (("/bin/true") (which "true"))))))))
3976 (native-inputs
3977 `(("pkg-config" ,pkg-config)
3978 ("desktop-file-utils" ,desktop-file-utils)
3979 ("intltool" ,intltool)
bcb354ad
SB
3980 ("itstool" ,itstool)
3981 ("xmllint" ,libxml2)))
68702167
MW
3982 (propagated-inputs
3983 `(("dconf" ,dconf)))
88f70665
AW
3984 (inputs
3985 `(("gtk+" ,gtk+)
3986 ("vte" ,vte)
3987 ("gnutls" ,gnutls)
88f70665 3988 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
bb93042c 3989 ("util-linux" ,util-linux "lib")
88f70665
AW
3990 ("vala" ,vala)))
3991 (home-page "https://wiki.gnome.org/Apps/Terminal")
3992 (synopsis "Terminal emulator")
3993 (description
3994 "GNOME Terminal is a terminal emulator application for accessing a
3995UNIX shell environment which can be used to run programs available on
3996your system.
3997
3998It supports several profiles, multiple tabs and implements several
3999keyboard shortcuts.")
4000 (license license:gpl3+)))
75016d07
AW
4001
4002(define-public colord
4003 (package
4004 (name "colord")
f98be942 4005 (version "1.4.4")
75016d07
AW
4006 (source
4007 (origin
4008 (method url-fetch)
5cc3096c 4009 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
d21778aa 4010 "colord-" version ".tar.xz"))
75016d07 4011 (sha256
f98be942 4012 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
a68544a8 4013 (build-system meson-build-system)
75016d07 4014 (arguments
a68544a8
RW
4015 '(;; FIXME: One test fails:
4016 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
4017 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
4018 ;; application/x-zerosize
75016d07 4019 #:tests? #f
a68544a8
RW
4020 #:glib-or-gtk? #t
4021 #:configure-flags (list "-Dlocalstatedir=/var"
75016d07 4022 ;; No dep on systemd.
a68544a8 4023 "-Dsystemd=false"
75016d07
AW
4024 ;; Wants to install to global completion dir;
4025 ;; punt.
a68544a8 4026 "-Dbash_completion=false"
a68544a8
RW
4027 "-Ddaemon_user=colord"
4028 "-Dsane=true"
dac26e22 4029 "-Dvapi=true"
6f20e2dc 4030 ;; Requires spotread.
a68544a8 4031 "-Dargyllcms_sensor=false"
6f20e2dc 4032 ;; TODO: Requires docbook2x.
a68544a8 4033 "-Dman=false")
75016d07
AW
4034 #:phases
4035 (modify-phases %standard-phases
a68544a8
RW
4036 (add-before 'configure 'patch-build-system
4037 (lambda* (#:key outputs #:allow-other-keys)
4038 (substitute* "rules/meson.build"
4039 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4040 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
2a1f3e3f
LC
4041 #t))
4042 (add-before 'configure 'set-sqlite3-file-name
4043 (lambda* (#:key inputs #:allow-other-keys)
4044 ;; "colormgr dump" works by invoking the "sqlite3" command.
4045 ;; Record its absolute file name.
4046 (let ((sqlite (assoc-ref inputs "sqlite")))
4047 (substitute* "client/cd-util.c"
4048 (("\"sqlite3\"")
4049 (string-append "\"" sqlite "/bin/sqlite3\"")))
4050 #t))))))
75016d07 4051 (native-inputs
6f20e2dc 4052 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
2536027c 4053 ("gettext" ,gettext-minimal)
75016d07 4054 ("gobject-introspection" ,gobject-introspection)
a68544a8 4055 ("gtk-doc" ,gtk-doc)
dac26e22
TGR
4056 ("pkg-config" ,pkg-config)
4057 ("vala" ,vala)))
65cb2d61
SB
4058 (propagated-inputs
4059 ;; colord.pc refers to all these.
4060 `(("glib" ,glib)
6f20e2dc
TGR
4061 ("lcms" ,lcms)
4062 ("udev" ,eudev)))
75016d07 4063 (inputs
65cb2d61 4064 `(("dbus-glib" ,dbus-glib)
a68544a8 4065 ("gusb" ,gusb)
80c7dd1a 4066 ("libgudev" ,libgudev)
75016d07 4067 ("libusb" ,libusb)
75016d07 4068 ("polkit" ,polkit)
a68544a8 4069 ("python" ,python-wrapper)
6f20e2dc 4070 ("sqlite" ,sqlite)
4c928743 4071 ("sane-backends" ,sane-backends)))
57e7d748 4072 (home-page "https://www.freedesktop.org/software/colord/")
75016d07
AW
4073 (synopsis "Color management service")
4074 (description "Colord is a system service that makes it easy to manage,
4075install and generate color profiles to accurately color manage input and
4076output devices.")
4077 (license license:gpl2+)))
7b2abd00
AW
4078
4079(define-public geoclue
4080 (package
4081 (name "geoclue")
b433c7b3 4082 (version "2.4.8")
7b2abd00
AW
4083 (source
4084 (origin
4085 (method url-fetch)
5cc3096c 4086 (uri (string-append "https://www.freedesktop.org/software/" name
7b2abd00
AW
4087 "/releases/" (version-major+minor version) "/"
4088 name "-" version ".tar.xz"))
4089 (sha256
4090 (base32
b433c7b3 4091 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
fc1adab1 4092 (patches (search-patches "geoclue-config.patch"))))
7b2abd00
AW
4093 (build-system glib-or-gtk-build-system)
4094 (arguments
4095 '(;; The tests want to run the system bus.
4096 #:tests? #f
4097 #:configure-flags (list ;; Disable bits requiring ModemManager.
4098 "--disable-3g-source"
4099 "--disable-cdma-source"
4100 "--disable-modem-gps-source"
4101 "--with-dbus-service-user=geoclue")
4102 #:phases
4103 (modify-phases %standard-phases
3a4de6b2 4104 (add-before 'configure 'patch-/bin/true
7b2abd00
AW
4105 (lambda _
4106 (substitute* "configure"
e3eb53e7
MW
4107 (("/bin/true") (which "true")))
4108 #t)))))
7b2abd00
AW
4109 (native-inputs
4110 `(("pkg-config" ,pkg-config)
758798a9 4111 ("gobject-introspection" ,gobject-introspection)
7b2abd00
AW
4112 ("intltool" ,intltool)))
4113 (inputs
54e911bc
SB
4114 `(("avahi" ,avahi)
4115 ("glib" ,glib)
7b2abd00
AW
4116 ("json-glib" ,json-glib)
4117 ("libsoup" ,libsoup)))
99adfd7d 4118 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
7b2abd00
AW
4119 (synopsis "Geolocation service")
4120 (description "Geoclue is a D-Bus service that provides location
4121information. The primary goal of the Geoclue project is to make creating
4122location-aware applications as simple as possible, while the secondary goal is
4123to ensure that no application can access location information without explicit
e881752c 4124permission from user.")
7b2abd00 4125 (license license:gpl2+)))
2bfe7437
AW
4126
4127(define-public geocode-glib
4128 (package
4129 (name "geocode-glib")
65de725f 4130 (version "3.26.1")
2bfe7437
AW
4131 (source (origin
4132 (method url-fetch)
4133 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4134 (version-major+minor version) "/"
d485cdc0 4135 "geocode-glib-" version ".tar.xz"))
2bfe7437
AW
4136 (sha256
4137 (base32
65de725f 4138 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
a7dd0c02 4139 (build-system meson-build-system)
2bfe7437 4140 (arguments
a7dd0c02
RW
4141 `(#:phases
4142 (modify-phases %standard-phases
4143 ;; The tests require a bunch of locales.
4144 (add-before 'check 'set-locales
4145 (lambda* (#:key inputs #:allow-other-keys)
4146 (setenv "GUIX_LOCPATH"
4147 (string-append (assoc-ref inputs "glibc-locales")
4148 "/lib/locale"))
4149 #t)))))
2bfe7437
AW
4150 (native-inputs
4151 `(("glib:bin" ,glib "bin") ; for glib-mkenums
a7dd0c02
RW
4152 ("glibc-locales" ,glibc-locales) ; for tests
4153 ("gettext" ,gettext-minimal)
2bfe7437 4154 ("gobject-introspection" ,gobject-introspection)
a7dd0c02 4155 ("gtk-doc" ,gtk-doc)
2bfe7437
AW
4156 ("pkg-config" ,pkg-config)
4157 ("json-glib" ,json-glib)))
4158 (propagated-inputs
4159 ;; geocode-glib-1.0.pc refers to GIO.
4160 `(("glib" ,glib)))
4161 (inputs
4162 `(("libsoup" ,libsoup)))
4163 (home-page "https://github.com/GNOME/geocode-glib/")
4164 (synopsis "Geocoding and reverse-geocoding library")
4165 (description
4166 "geocode-glib is a convenience library for geocoding (finding longitude,
4167and latitude from an address) and reverse geocoding (finding an address from
4168coordinates) using the Nominatim service. geocode-glib caches requests for
4169faster results and to avoid unnecessary server load.")
4170 (license license:lgpl2.0+)))
a1d5bb0e
AW
4171
4172(define-public upower
4173 (package
4174 (name "upower")
df45af90 4175 (version "0.99.11")
a1d5bb0e
AW
4176 (source (origin
4177 (method url-fetch)
df45af90 4178 (uri (string-append "https://upower.freedesktop.org/releases/"
9ec54965 4179 "upower-" version ".tar.xz"))
a1d5bb0e
AW
4180 (sha256
4181 (base32
df45af90 4182 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5dc6d5ce
LC
4183 (patches (search-patches "upower-builddir.patch"))
4184 (modules '((guix build utils)))
4185 (snippet
4186 '(begin
4187 ;; Upstream commit
4188 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4189 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4190 ;; 'dbus-configuration-directory' in (gnu services dbus)
4191 ;; expects it in etc/. Thus, move it back to its previous
4192 ;; location.
4193 (substitute* "src/Makefile.in"
4194 (("^dbusconfdir =.*$")
4195 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4196 #t))))
a1d5bb0e
AW
4197 (build-system glib-or-gtk-build-system)
4198 (arguments
4199 '( ;; The tests want to contact the system bus, which can't be done in the
4200 ;; build environment. The integration test can run, but the last of
4201 ;; the up-self-tests doesn't. Disable tests for now.
4202 #:tests? #f
4203 #:configure-flags (list "--localstatedir=/var"
4204 (string-append "--with-udevrulesdir="
4205 (assoc-ref %outputs "out")
9ec54965 4206 "/lib/udev/rules.d"))))
a1d5bb0e 4207 (native-inputs
ebeabe2d
SB
4208 `(("gobject-introspection" ,gobject-introspection)
4209 ("pkg-config" ,pkg-config)
a1d5bb0e 4210 ("intltool" ,intltool)
55409295
LC
4211 ("python" ,python)
4212
4213 ;; For man pages.
4214 ("libxslt" ,libxslt) ;for 'xsltproc'
4215 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4216 ("docbook-xsl" ,docbook-xsl)))
a1d5bb0e 4217 (inputs
ea226291
SB
4218 `(("dbus-glib" ,dbus-glib)
4219 ("libgudev" ,libgudev)
a1d5bb0e 4220 ("libusb" ,libusb)))
d7a503fc
MB
4221 (propagated-inputs
4222 ;; In Requires of upower-glib.pc.
4223 `(("glib" ,glib)))
57e7d748 4224 (home-page "https://upower.freedesktop.org/")
a1d5bb0e
AW
4225 (synopsis "System daemon for managing power devices")
4226 (description
4227 "UPower is an abstraction for enumerating power devices,
4228listening to device events and querying history and statistics. Any
4229application or service on the system can access the org.freedesktop.UPower
4230service via the system message bus.")
4231 (license license:gpl2+)))
6a180f6f
AW
4232
4233(define-public libgweather
4234 (package
4235 (name "libgweather")
794ce8ea 4236 (version "3.28.3")
6a180f6f
AW
4237 (source (origin
4238 (method url-fetch)
4239 (uri (string-append "mirror://gnome/sources/" name "/"
4240 (version-major+minor version) "/"
4241 name "-" version ".tar.xz"))
4242 (sha256
4243 (base32
794ce8ea 4244 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
cf6cbc34 4245 (build-system meson-build-system)
6a180f6f 4246 (arguments
cf6cbc34
RW
4247 `(#:tests? #f ; one of two tests requires network access
4248 #:configure-flags
4249 `(,(string-append "-Dzoneinfo_dir="
b6072e6b 4250 (assoc-ref %build-inputs "tzdata")
cf6cbc34 4251 "/share/zoneinfo"))))
6a180f6f
AW
4252 (native-inputs
4253 `(("glib:bin" ,glib "bin") ; for glib-mkenums
b6072e6b 4254 ("gobject-introspection" ,gobject-introspection)
6a180f6f 4255 ("pkg-config" ,pkg-config)
1d3fcf94 4256 ("vala" ,vala)
6a180f6f
AW
4257 ("intltool" ,intltool)))
4258 (propagated-inputs
4259 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4260 ;; libsoup.
4261 `(("gtk+" ,gtk+)
4262 ("gdk-pixbuf" ,gdk-pixbuf)
4263 ("libxml2" ,libxml2)
cf6cbc34 4264 ("libsoup" ,libsoup)
6a180f6f 4265 ("geocode-glib" ,geocode-glib)))
cf6cbc34
RW
4266 (inputs
4267 `(("tzdata" ,tzdata)))
6a180f6f
AW
4268 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4269 (synopsis "Location, time zone, and weather library for GNOME")
4270 (description
4271 "libgweather is a library to access weather information from online
4272services for numerous locations.")
4273 (license license:gpl2+)))
23a22af6
AW
4274
4275(define-public gnome-settings-daemon
4276 (package
4277 (name "gnome-settings-daemon")
4be0719f 4278 (version "3.32.1")
23a22af6
AW
4279 (source
4280 (origin
4281 (method url-fetch)
4282 (uri (string-append "mirror://gnome/sources/" name "/"
4283 (version-major+minor version) "/"
4284 name "-" version ".tar.xz"))
4285 (sha256
4286 (base32
4be0719f 4287 "02d0s0g2mmqfib44r3sf0499r08p61s8l2ndsjssbam1bi7x2dks"))))
e644f9fa 4288 (build-system meson-build-system)
23a22af6 4289 (arguments
e644f9fa
RW
4290 `(#:glib-or-gtk? #t
4291 #:configure-flags
4292 (list (string-append "-Dudev_dir="
4293 (assoc-ref %outputs "out")
4d0e085b
RW
4294 "/lib/udev/rules.d/")
4295 ;; Otherwise, the RUNPATH will lack the final path component.
4296 (string-append "-Dc_link_args=-Wl,-rpath="
4297 (assoc-ref %outputs "out")
4298 "/lib/gnome-settings-daemon-3.0"))
e644f9fa 4299 ;; Color management test can't reach the colord system service.
23a22af6
AW
4300 #:tests? #f))
4301 (native-inputs
e644f9fa
RW
4302 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4303 ("pkg-config" ,pkg-config)
23a22af6
AW
4304 ("intltool" ,intltool)
4305 ("xsltproc" ,libxslt)
4306 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4307 ("docbook-xml" ,docbook-xml-4.2)
4308 ("docbook-xsl" ,docbook-xsl)))
4309 (inputs
e644f9fa
RW
4310 `(("alsa-lib" ,alsa-lib)
4311 ("colord" ,colord)
ea226291 4312 ("libgudev" ,libgudev)
23a22af6
AW
4313 ("upower" ,upower)
4314 ("polkit" ,polkit)
4315 ("pulseaudio" ,pulseaudio)
4316 ("libcanberra" ,libcanberra)
4317 ("libx11" ,libx11)
4318 ("libxtst" ,libxtst)
4319 ("lcms" ,lcms)
4320 ("libnotify" ,libnotify)
4321 ("geoclue" ,geoclue)
4322 ("geocode-glib" ,geocode-glib)
4323 ("libgweather" ,libgweather)
4324 ("gnome-desktop" ,gnome-desktop)
4325 ("nss" ,nss)
4326 ("cups" ,cups)
ec2b1921
AW
4327 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4328 ("libwacom" ,libwacom)
4329 ("librsvg" ,librsvg)
eee7878f 4330 ("xf86-input-wacom" ,xf86-input-wacom)
e644f9fa 4331 ("wayland" ,wayland)
eee7878f 4332 ("network-manager" ,network-manager)))
f032d0be 4333 (home-page "https://www.gnome.org")
23a22af6
AW
4334 (synopsis "GNOME settings daemon")
4335 (description
4336 "This package contains the daemon responsible for setting the various
4337parameters of a GNOME session and the applications that run under it. It
4338handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4339settings, themes, mouse settings, and startup of other daemons.")
4340 (license license:gpl2+)))
1e7464a9
DH
4341
4342(define-public totem-pl-parser
4343 (package
4344 (name "totem-pl-parser")
77425f04 4345 (version "3.26.3")
1e7464a9
DH
4346 (source (origin
4347 (method url-fetch)
e980cbe9
MW
4348 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4349 (version-major+minor version) "/"
1e7464a9
DH
4350 "totem-pl-parser-" version ".tar.xz"))
4351 (sha256
4352 (base32
77425f04 4353 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
1e9b19dd 4354 (build-system meson-build-system)
1e7464a9
DH
4355 (arguments
4356 ;; FIXME: Tests require gvfs.
4357 `(#:tests? #f))
4358 (native-inputs
4359 `(("intltool" ,intltool)
4360 ("glib" ,glib "bin")
4d6d8281 4361 ("gobject-introspection" ,gobject-introspection)
1e7464a9 4362 ("pkg-config" ,pkg-config)))
22a6ad6a 4363 (propagated-inputs
1e7464a9
DH
4364 `(("glib" ,glib)
4365 ("gmime" ,gmime)
1e9b19dd
RW
4366 ("libarchive" ,libarchive)
4367 ("libgcrypt" ,libgcrypt)
22a6ad6a
MW
4368 ("libxml2" ,libxml2)))
4369 (inputs
0a6e9e13 4370 `(("libsoup" ,libsoup)))
1e7464a9
DH
4371 (home-page "https://projects.gnome.org/totem")
4372 (synopsis "Library to parse and save media playlists for GNOME")
4373 (description "Totem-pl-parser is a GObjects-based library to parse and save
4374playlists in a variety of formats.")
4375 (license license:lgpl2.0+)))
4376
6b888eff
SB
4377(define-public aisleriot
4378 (package
4379 (name "aisleriot")
36ed9b46 4380 (version "3.22.9")
6b888eff
SB
4381 (source (origin
4382 (method url-fetch)
e43f622a 4383 (uri (string-append "mirror://gnome/sources/aisleriot/"
6b888eff 4384 (version-major+minor version) "/"
e43f622a 4385 "aisleriot-" version ".tar.xz"))
6b888eff
SB
4386 (sha256
4387 (base32
36ed9b46 4388 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
6b888eff
SB
4389 (build-system glib-or-gtk-build-system)
4390 (arguments
4391 '(#:configure-flags
4392 '("--with-platform=gtk-only"
4393 "--with-card-theme-formats=svg")))
4394 (native-inputs
4395 `(("desktop-file-utils" ,desktop-file-utils)
4396 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4397 ("intltool" ,intltool)
4398 ("itstool" ,itstool)
4399 ("pkg-config" ,pkg-config)
4400 ("xmllint" ,libxml2)))
4401 (inputs
4402 `(("gtk+" ,gtk+)
226e57d6 4403 ("guile" ,guile-2.2)
6b888eff
SB
4404 ("libcanberra" ,libcanberra)
4405 ("librsvg" ,librsvg)))
4406 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4407 (synopsis "Solitaire card games")
4408 (description
4409 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4410which are easy to play with the aid of a mouse.")
4411 (license license:gpl3+)))
4a79e256 4412
f828d05b
KK
4413(define-public amtk
4414 (package
4415 (name "amtk")
09c4e43f 4416 (version "5.0.1")
f828d05b
KK
4417 (source (origin
4418 (method url-fetch)
bf92ba6b 4419 (uri (string-append "mirror://gnome/sources/amtk/"
f828d05b 4420 (version-major+minor version) "/"
bf92ba6b 4421 "amtk-" version ".tar.xz"))
f828d05b
KK
4422 (sha256
4423 (base32
09c4e43f 4424 "09yy95w1s83c43mh9vha1jbb780yighf5pd2j0ygjmc68sjg871d"))))
f828d05b
KK
4425 (build-system gnu-build-system)
4426 (arguments
4427 '(#:configure-flags '("--enable-gtk-doc")))
4428 (native-inputs
4429 `(("gobject-introspection" ,gobject-introspection)
09c4e43f 4430 ("glib:bin" ,glib "bin") ; for glib-mkenums
f828d05b
KK
4431 ("gtk-doc" ,gtk-doc)
4432 ("pkg-config" ,pkg-config)))
4433 (inputs
4434 `(("glib" ,glib)
4435 ("gtk+" ,gtk+)))
4436 (home-page "https://wiki.gnome.org/Projects/Amtk")
4437 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4438 (description
4439 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4440It is a basic GtkUIManager replacement based on GAction. It is suitable for
4441both a traditional UI or a modern UI with a GtkHeaderBar.")
4442 (license license:lgpl2.1+)))
4443
4a79e256
SB
4444(define-public devhelp
4445 (package
4446 (name "devhelp")
20db7a3d 4447 (version "3.32.0")
4a79e256
SB
4448 (source (origin
4449 (method url-fetch)
4450 (uri (string-append "mirror://gnome/sources/" name "/"
4451 (version-major+minor version) "/"
4452 name "-" version ".tar.xz"))
4453 (sha256
4454 (base32
20db7a3d 4455 "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq"))))
11d28bd9 4456 (build-system meson-build-system)
35407f94 4457 (arguments
20db7a3d
KK
4458 '(#:glib-or-gtk? #t
4459 #:phases
35407f94
EF
4460 (modify-phases %standard-phases
4461 (add-after 'unpack 'skip-gtk-update-icon-cache
4462 ;; Don't create 'icon-theme.cache'.
4463 (lambda _
4464 (substitute* "meson_post_install.py"
4465 (("gtk-update-icon-cache") "true"))
4466 #t)))))
4a79e256
SB
4467 (native-inputs
4468 `(("intltool" ,intltool)
5dd12afc 4469 ("itstool" ,itstool)
11d28bd9
KK
4470 ("gobject-introspection" ,gobject-introspection)
4471 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4a79e256
SB
4472 ("pkg-config" ,pkg-config)))
4473 (inputs
11d28bd9
KK
4474 `(("amtk" ,amtk)
4475 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4a79e256
SB
4476 ("webkitgtk" ,webkitgtk)))
4477 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4478 (synopsis "API documentation browser for GNOME")
4479 (description
4480 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4481natively with GTK-Doc (the API reference system developed for GTK+ and used
4482throughout GNOME for API documentation).")
4483 (license license:gpl2+)))
ba421ab7
MW
4484
4485(define-public cogl
4486 (package
4487 (name "cogl")
54c69ae1 4488 (version "1.22.4")
ba421ab7
MW
4489 (source
4490 (origin
4491 (method url-fetch)
5754f0cf 4492 (uri (string-append "mirror://gnome/sources/cogl/"
ba421ab7 4493 (version-major+minor version) "/"
5754f0cf 4494 "cogl-" version ".tar.xz"))
ba421ab7 4495 (sha256
54c69ae1 4496 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
a88d5a0c
MW
4497 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4498 ;; cogl, corresponding changes may be appropriate in mutter as well.
ba421ab7
MW
4499 (build-system gnu-build-system)
4500 (native-inputs
4501 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4502 ("gobject-introspection" ,gobject-introspection)
4503 ;;("xorg-server" ,xorg-server) ; for the test suite
4504 ("pkg-config" ,pkg-config)))
4505 (propagated-inputs
4506 `(("glib" ,glib)
4507 ("gdk-pixbuf" ,gdk-pixbuf)
4508 ("libx11" ,libx11)
4509 ("libxext" ,libxext)
4510 ("libxfixes" ,libxfixes)
4511 ("libxdamage" ,libxdamage)
4512 ("libxcomposite" ,libxcomposite)
4513 ("libxrandr" ,libxrandr)))
4514 (inputs
4515 `(("mesa" ,mesa)
4516 ("cairo" ,cairo)
4517 ("pango" ,pango)
4518 ("gstreamer" ,gstreamer)
31860852
KK
4519 ("gst-plugins-base" ,gst-plugins-base)
4520 ("wayland" ,wayland)))
ba421ab7
MW
4521 (arguments
4522 `(#:configure-flags (list "--enable-cogl-gst"
31860852
KK
4523 "--enable-wayland-egl-platform"
4524 "--enable-wayland-egl-server"
4525
ba421ab7
MW
4526 ;; Arrange to pass an absolute file name to
4527 ;; dlopen for libGL.so.
4528 (string-append "--with-gl-libname="
4529 (assoc-ref %build-inputs "mesa")
4530 "/lib/libGL.so"))
4531 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4532 ;; _FontTransOpen: Unable to Parse address
4533 ;; ${prefix}/share/fonts/X11/misc/
4534 #:tests? #f
4535 #; #:phases
4536 #;
4537 (modify-phases %standard-phases
4538 (add-before 'check 'start-xorg-server
4539 (lambda* (#:key inputs #:allow-other-keys)
4540 ;; The test suite requires a running X server.
4541 (system (format #f "~a/bin/Xvfb :1 &"
4542 (assoc-ref inputs "xorg-server")))
4543 (setenv "DISPLAY" ":1")
4544 #t)))))
4545 (home-page "http://www.cogl3d.org")
4546 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4547 (description
4548 "Cogl is a small library for using 3D graphics hardware to draw pretty
4549pictures. The API departs from the flat state machine style of OpenGL and is
4550designed to make it easy to write orthogonal components that can render
4551without stepping on each others toes.")
4552 (license (list license:expat ; most of the code
4553 license:bsd-3 ; cogl/cogl-point-in-poly.c
4554 license:sgifreeb2.0 ; cogl-path/tesselator/
4555 license:asl2.0)))) ; examples/android/
fb182b8a
MW
4556
4557(define-public clutter
4558 (package
4559 (name "clutter")
6a88e4ee 4560 (version "1.26.2")
fb182b8a
MW
4561 (source
4562 (origin
4563 (method url-fetch)
4564 (uri (string-append "mirror://gnome/sources/" name "/"
4565 (version-major+minor version) "/"
4566 name "-" version ".tar.xz"))
4567 (sha256
4568 (base32
6a88e4ee 4569 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
a88d5a0c
MW
4570 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4571 ;; to clutter, corresponding changes may be appropriate in mutter as well.
fb182b8a 4572 (build-system gnu-build-system)
600233bd
LC
4573 (outputs '("out"
4574 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
4575 (native-inputs
4576 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4577 ("gobject-introspection" ,gobject-introspection)
4578 ("pkg-config" ,pkg-config)
4579 ("xsltproc" ,libxslt)))
4580 (propagated-inputs
4581 `(("cogl" ,cogl)
4582 ("cairo" ,cairo)
4583 ("atk" ,atk)
4584 ("gtk+" ,gtk+)
4585 ("json-glib" ,json-glib)
4586 ("glib" ,glib)
4587 ("libxcomposite" ,libxcomposite)
4588 ("libxdamage" ,libxdamage)
4589 ("libxext" ,libxext)
4590 ("xinput" ,xinput)))
4591 (inputs
4592 `(("libxkbcommon" ,libxkbcommon)
4593 ("udev" ,eudev)))
4594 (arguments
600233bd
LC
4595 `(#:configure-flags (list "--enable-x11-backend=yes"
4596
4597 ;; This produces share/doc/{clutter,cally}.
4598 (string-append "--with-html-dir="
4599 (assoc-ref %outputs "doc")
4600 "/share/doc"))
fb182b8a
MW
4601 ;; XXX FIXME: Get test suite working. It would probably fail in the
4602 ;; same way the cogl tests fail, since clutter is based on cogl.
4603 #:tests? #f))
4604 (home-page "http://www.clutter-project.org")
476af713 4605 (synopsis "OpenGL-based interactive canvas library")
fb182b8a 4606 (description
476af713 4607 "Clutter is an OpenGL-based interactive canvas library, designed for
fb182b8a
MW
4608creating fast, mainly 2D single window applications such as media box UIs,
4609presentations, kiosk style applications and so on.")
4610 (license license:lgpl2.0+)))
bf7f17ba
MW
4611
4612(define-public clutter-gtk
4613 (package
4614 (name "clutter-gtk")
5d1a3219 4615 (version "1.8.4")
bf7f17ba
MW
4616 (source
4617 (origin
4618 (method url-fetch)
4619 (uri (string-append "mirror://gnome/sources/" name "/"
4620 (version-major+minor version) "/"
4621 name "-" version ".tar.xz"))
4622 (sha256
4623 (base32
5d1a3219 4624 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
bf7f17ba
MW
4625 (build-system gnu-build-system)
4626 (native-inputs
4627 `(("pkg-config" ,pkg-config)
4628 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
4629 (propagated-inputs
4630 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
4631 `(("clutter" ,clutter)
4632 ("gtk+" ,gtk+)))
4633 (home-page "http://www.clutter-project.org")
476af713 4634 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
bf7f17ba 4635 (description
476af713 4636 "Clutter is an OpenGL-based interactive canvas library, designed for
bf7f17ba
MW
4637creating fast, mainly 2D single window applications such as media box UIs,
4638presentations, kiosk style applications and so on.")
4639 (license license:lgpl2.0+)))
86d6a893
MW
4640
4641(define-public clutter-gst
4642 (package
4643 (name "clutter-gst")
ba07ac19 4644 (version "3.0.27")
86d6a893
MW
4645 (source
4646 (origin
4647 (method url-fetch)
f010f89b 4648 (uri (string-append "mirror://gnome/sources/clutter-gst/"
86d6a893 4649 (version-major+minor version) "/"
f010f89b 4650 "clutter-gst-" version ".tar.xz"))
86d6a893 4651 (sha256
ba07ac19 4652 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
86d6a893
MW
4653 (build-system gnu-build-system)
4654 (native-inputs
ba07ac19 4655 `(("glib:bin" ,glib "bin") ; for glib-mkenums
86d6a893
MW
4656 ("pkg-config" ,pkg-config)
4657 ("gobject-introspection" ,gobject-introspection)))
4658 (inputs
4659 `(("clutter" ,clutter)
4660 ("gstreamer" ,gstreamer)
4661 ("gst-plugins-base" ,gst-plugins-base)))
4662 (home-page "http://www.clutter-project.org")
4663 (synopsis "Integration library for using GStreamer with Clutter")
4664 (description
4665 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4666It provides a GStreamer sink to upload frames to GL and an actor that
476af713
TGR
4667implements the ClutterGstPlayer interface using playbin. Clutter is an
4668OpenGL-based interactive canvas library.")
86d6a893 4669 (license license:lgpl2.0+)))
607a04ae 4670
30dc88d9
LC
4671(define-public libchamplain
4672 (package
4673 (name "libchamplain")
5564b2c5 4674 (version "0.12.16")
30dc88d9
LC
4675 (source (origin
4676 (method url-fetch)
4677 (uri (string-append
4678 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4679 version ".tar.xz"))
4680 (sha256
4681 (base32
5564b2c5 4682 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
30dc88d9 4683 (build-system gnu-build-system)
f7c6833f
LF
4684 (arguments '(#:configure-flags '("--enable-vala")))
4685 (native-inputs
4686 `(("gobject-introspection" ,gobject-introspection)
4687 ("pkg-config" ,pkg-config)
4688 ("vala" ,vala)))
30dc88d9
LC
4689 (propagated-inputs
4690 `(("libsoup" ,libsoup)
4691 ("sqlite" ,sqlite)
4692 ("clutter" ,clutter)
4693 ("clutter-gtk" ,clutter-gtk)
4694 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4695 ("cairo" ,cairo)
4696 ("gtk+3" ,gtk+)
4697 ("glib" ,glib)))
f032d0be 4698 (home-page "https://projects.gnome.org/libchamplain/")
30dc88d9
LC
4699 (synopsis "C library providing a ClutterActor to display maps")
4700 (description
4701 "libchamplain is a C library providing a ClutterActor to display maps.
4702It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4703and Perl bindings are also available. It supports numerous free map sources
4704such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4705 (license license:lgpl2.1+)))
4706
607a04ae
MW
4707(define-public gom
4708 (package
4709 (name "gom")
0510440b 4710 (version "0.3.2")
607a04ae
MW
4711 (source
4712 (origin
4713 (method url-fetch)
6c8a0b6f 4714 (uri (string-append "mirror://gnome/sources/gom/"
607a04ae 4715 (version-major+minor version) "/"
6c8a0b6f 4716 "gom-" version ".tar.xz"))
607a04ae
MW
4717 (sha256
4718 (base32
0510440b 4719 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
607a04ae
MW
4720 (build-system gnu-build-system)
4721 (native-inputs
4722 `(("intltool" ,intltool)
4723 ("pkg-config" ,pkg-config)
4724 ("gobject-introspection" ,gobject-introspection)))
4725 (inputs
4726 `(("glib" ,glib)
4727 ("gdk-pixbuf" ,gdk-pixbuf)
4728 ("sqlite" ,sqlite)))
4729 ;; XXX TODO: Figure out how to run the test suite.
4730 (arguments `(#:tests? #f))
4731 (home-page "https://wiki.gnome.org/Projects/Gom")
4732 (synopsis "Object mapper from GObjects to SQLite")
4733 (description
4734 "Gom provides an object mapper from GObjects to SQLite. It helps you
4735write applications that need to store structured data as well as make complex
4736queries upon that data.")
4737 (license license:lgpl2.1+)))
b7a3cf11 4738
865aacc9 4739(define-public libgnome-games-support
f09520db 4740 (package
865aacc9 4741 (name "libgnome-games-support")
4c6d15cf 4742 (version "1.4.4")
f09520db
SB
4743 (source (origin
4744 (method url-fetch)
2d8dca9d 4745 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
f09520db 4746 (version-major+minor version) "/"
2d8dca9d 4747 "libgnome-games-support-" version ".tar.xz"))
f09520db
SB
4748 (sha256
4749 (base32
4c6d15cf 4750 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
f09520db
SB
4751 (build-system gnu-build-system)
4752 (arguments
4753 '(#:phases
4754 (modify-phases %standard-phases
4755 (add-before 'check 'pre-check
4756 (lambda _
865aacc9 4757 ;; Tests require a writable HOME.
f09520db
SB
4758 (setenv "HOME" (getcwd))
4759 #t)))))
4760 (native-inputs
4761 `(("intltool" ,intltool)
4762 ("pkg-config" ,pkg-config)
4763 ("vala" ,vala)))
4764 (propagated-inputs
865aacc9 4765 ;; Required by libgnome-games-support-1.0.pc
f09520db
SB
4766 `(("gtk+" ,gtk+)
4767 ("libgee" ,libgee)))
4768 (home-page "https://www.gnome.org/")
4769 (synopsis "Useful functionality shared among GNOME games")
4770 (description
865aacc9 4771 "libgnome-games-support is a small library intended for internal use by
f09520db
SB
4772GNOME Games, but it may be used by others.")
4773 (license license:lgpl3+)))
4774
b7a3cf11
SB
4775(define-public gnome-klotski
4776 (package
4777 (name "gnome-klotski")
c1e419c4 4778 (version "3.32.0")
b7a3cf11
SB
4779 (source (origin
4780 (method url-fetch)
4781 (uri (string-append "mirror://gnome/sources/" name "/"
4782 (version-major+minor version) "/"
4783 name "-" version ".tar.xz"))
4784 (sha256
4785 (base32
c1e419c4
KK
4786 "1p4s15gxj6gasix22z9vlx2yrx196fvcxr6v6qrl569idfgjbi72"))))
4787 (build-system meson-build-system)
4788 (arguments
4789 '(#:glib-or-gtk? #t
4790 #:phases
4791 (modify-phases %standard-phases
4792 (add-after 'unpack 'skip-gtk-update-icon-cache
4793 ;; Don't create 'icon-theme.cache'.
4794 (lambda _
4795 (substitute* "build-aux/meson_post_install.py"
4796 (("gtk-update-icon-cache") (which "true")))
4797 #t)))))
b7a3cf11
SB
4798 (native-inputs
4799 `(("desktop-file-utils" ,desktop-file-utils)
c1e419c4 4800 ("glib:bin" ,glib "bin") ; for glib-compile-resources
b7a3cf11
SB
4801 ("intltool" ,intltool)
4802 ("itstool" ,itstool)
bcb354ad 4803 ("pkg-config" ,pkg-config)
c1e419c4 4804 ("vala" ,vala)
bcb354ad 4805 ("xmllint" ,libxml2)))
b7a3cf11
SB
4806 (inputs
4807 `(("gtk+" ,gtk+)
f4eae76f 4808 ("libgnome-games-support" ,libgnome-games-support)
b7a3cf11
SB
4809 ("librsvg" ,librsvg)))
4810 (home-page "https://wiki.gnome.org/Apps/Klotski")
4811 (synopsis "Sliding block puzzles")
4812 (description
4813 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4814the patterned block to the area bordered by green markers. To do so, you will
4815need to slide other blocks out of the way. Complete each puzzle in as few moves
4816as possible!")
4817 (license license:gpl2+)))
8d4791bf
MW
4818
4819(define-public grilo
4820 (package
4821 (name "grilo")
a865e938 4822 (version "0.3.10")
8d4791bf
MW
4823 (source
4824 (origin
4825 (method url-fetch)
4826 (uri (string-append "mirror://gnome/sources/" name "/"
4827 (version-major+minor version) "/"
4828 name "-" version ".tar.xz"))
4829 (sha256
4830 (base32
a865e938 4831 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
d48d4c98 4832 (build-system meson-build-system)
8d4791bf
MW
4833 (native-inputs
4834 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4835 ("intltool" ,intltool)
4836 ("pkg-config" ,pkg-config)
d48d4c98
KK
4837 ("gobject-introspection" ,gobject-introspection)
4838 ("gtk-doc" ,gtk-doc)
4839 ("vala" ,vala)))
8d4791bf 4840 (inputs
6d7273a0
KK
4841 `(("cyrus-sasl" ,cyrus-sasl)
4842 ("glib" ,glib)
8d4791bf
MW
4843 ("gtk+" ,gtk+)
4844 ("libxml2" ,libxml2)
6d7273a0 4845 ("liboauth" ,liboauth)
8d4791bf
MW
4846 ("libsoup" ,libsoup)
4847 ("totem-pl-parser" ,totem-pl-parser)))
8d4791bf
MW
4848 (native-search-paths
4849 (list (search-path-specification
4850 (variable "GRL_PLUGIN_PATH")
4851 (files (list (string-append "lib/grilo-"
4852 (version-major+minor version)))))))
d48d4c98 4853 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
8d4791bf
MW
4854 (synopsis "Framework for discovering and browsing media")
4855 (description
4856 "Grilo is a framework focused on making media discovery and browsing easy
4857for application developers.")
4858 (license license:lgpl2.1+)))
7b212526
MW
4859
4860(define-public grilo-plugins
4861 (package
4862 (name "grilo-plugins")
281f6b3a 4863 (version "0.3.10")
7b212526
MW
4864 (source
4865 (origin
4866 (method url-fetch)
4867 (uri (string-append "mirror://gnome/sources/" name "/"
4868 (version-major+minor version) "/"
4869 name "-" version ".tar.xz"))
4870 (sha256
4871 (base32
281f6b3a
RG
4872 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4873 (build-system meson-build-system)
7b212526 4874 (native-inputs
281f6b3a
RG
4875 `(("gettext" ,gettext-minimal)
4876 ("glib:bin" ,glib "bin")
4877 ("gtk+:bin" ,gtk+ "bin")
7b212526
MW
4878 ("itstool" ,itstool)
4879 ("pkg-config" ,pkg-config)))
281f6b3a 4880 ;; TODO: ahavi, gstreamer
7b212526
MW
4881 (inputs
4882 `(("grilo" ,grilo)
281f6b3a
RG
4883 ;("gmime" ,gmime) ; unused
4884 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7b212526 4885 ("gom" ,gom)
281f6b3a
RG
4886 ;("gssdp" ,gssdp) ; unused
4887 ;("gupnp" ,gupnp) ; unused
4888 ;("gupnp-av" ,gupnp-av) ; unused
7b212526
MW
4889 ("json-glib" ,json-glib)
4890 ("avahi" ,avahi)
281f6b3a
RG
4891 ("libgdata" ,libgdata)
4892 ("libmediaart" ,libmediaart)
4893 ;("librest" ,rest) ; unused
7b212526 4894 ("libsoup" ,libsoup)
281f6b3a
RG
4895 ("totam-pl-parser" ,totem-pl-parser)
4896 ("tracker" ,tracker))) ; unused because it's too old
7b212526 4897 (arguments
281f6b3a
RG
4898 `(#:glib-or-gtk? #t
4899 ;;Disable lua-factory as it needs missing dependencies
4900 #:configure-flags '("-Denable-lua-factory=no")))
f032d0be 4901 (home-page "https://live.gnome.org/Grilo")
7b212526
MW
4902 (synopsis "Plugins for the Grilo media discovery library")
4903 (description
4904 "Grilo is a framework focused on making media discovery and browsing easy
281f6b3a
RG
4905for application developers. This package provides plugins for common media
4906discovery protocols.")
7b212526 4907 (license license:lgpl2.1+)))
4e3fc547
MW
4908
4909(define-public totem
4910 (package
4911 (name "totem")
995ef5ea 4912 (version "3.32.1")
4e3fc547
MW
4913 (source
4914 (origin
4915 (method url-fetch)
4916 (uri (string-append "mirror://gnome/sources/" name "/"
4917 (version-major+minor version) "/"
4918 name "-" version ".tar.xz"))
4919 (sha256
4920 (base32
995ef5ea 4921 "0yra8apc7smpwf7d1k8crhrm8d4wix24ds6i9yxbch1v11jnhr3v"))))
7ad81b8b 4922 (build-system meson-build-system)
4e3fc547
MW
4923 (native-inputs
4924 `(("pkg-config" ,pkg-config)
4925 ("desktop-file-utils" ,desktop-file-utils)
4926 ("gobject-introspection" ,gobject-introspection)
7ad81b8b 4927 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4e3fc547 4928 ("intltool" ,intltool)
bcb354ad 4929 ("itstool" ,itstool)
995ef5ea
KK
4930 ("xmllint" ,libxml2)
4931 ("python-pylint" ,python-pylint)
4932 ("xorg-server" ,xorg-server-for-tests)))
4e3fc547
MW
4933 (propagated-inputs
4934 `(("dconf" ,dconf)))
4935 (inputs
4936 `(("gtk+" ,gtk+)
4937 ("gdk-pixbuf" ,gdk-pixbuf)
4938 ("atk" ,atk)
4939 ("cairo" ,cairo)
4940 ("dbus-glib" ,dbus-glib)
4941 ("clutter" ,clutter)
4942 ("clutter-gtk" ,clutter-gtk)
4943 ("clutter-gst" ,clutter-gst)
6a6db57f 4944 ("xorgproto" ,xorgproto)
4e3fc547
MW
4945 ("libxxf86vm" ,libxxf86vm)
4946 ("libxtst" ,libxtst)
4947 ("libxrandr" ,libxrandr)
4948 ("libxml2" ,libxml2)
4949 ("libsoup" ,libsoup)
4950 ("libpeas" ,libpeas)
4951 ("librsvg" ,librsvg)
4952 ("lirc" ,lirc)
4953 ("gnome-desktop" ,gnome-desktop)
4954 ("gstreamer" ,gstreamer)
4955 ("gst-plugins-base" ,gst-plugins-base)
4956 ("gst-plugins-good" ,gst-plugins-good)
4957 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4958 ("adwaita-icon-theme" ,adwaita-icon-theme)
d7b63ba9 4959 ("python" ,python)
995ef5ea 4960 ("python-pygobject" ,python-pygobject)
4e3fc547
MW
4961 ("totem-pl-parser" ,totem-pl-parser)
4962 ("grilo" ,grilo)
4963 ("grilo-plugins" ,grilo-plugins)
4e3fc547
MW
4964 ("vala" ,vala)))
4965 (arguments
7ad81b8b
LC
4966 `(#:glib-or-gtk? #t
4967
4968 ;; Disable automatic GStreamer plugin installation via PackageKit and
ec5c24f9 4969 ;; all that.
7ad81b8b 4970 #:configure-flags '("-D" "enable-easy-codec-installation=no"
a388c951
LC
4971
4972 ;; Do not build .a files for the plugins, it's
4973 ;; completely useless. This saves 2 MiB.
7ad81b8b 4974 "--default-library" "shared")
ec5c24f9 4975 #:phases
4e3fc547 4976 (modify-phases %standard-phases
d51b19ad
EF
4977 (add-after 'unpack 'skip-gtk-update-icon-cache
4978 ;; Don't create 'icon-theme.cache'.
4979 (lambda _
4980 (substitute* "meson_post_install.py"
4981 (("gtk-update-icon-cache") "true"))
4982 #t))
6368eb39
DM
4983 (add-before
4984 'install 'disable-cache-generation
4985 (lambda _
4986 (setenv "DESTDIR" "/")
4987 #t))
995ef5ea
KK
4988 (add-before
4989 'check 'pre-check
4990 (lambda _
4991 ;; Tests require a running X server.
4992 (system "Xvfb :1 &")
4993 (setenv "DISPLAY" ":1")
4994 #t))
4e3fc547
MW
4995 (add-after
4996 'install 'wrap-totem
4997 (lambda* (#:key inputs outputs #:allow-other-keys)
4998 (let ((out (assoc-ref outputs "out"))
4999 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5000 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
5001 (wrap-program (string-append out "/bin/totem")
5002 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
39c853bd
AW
5003 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
5004 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
5005 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4e3fc547
MW
5006 #t)))))
5007 (home-page "https://wiki.gnome.org/Apps/Videos")
5008 (synopsis "Simple media player for GNOME based on GStreamer")
5009 (description "Totem is a simple yet featureful media player for GNOME
5010which can read a large number of file formats.")
5011 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
5012 ;; to be used and distributed together with GStreamer and Totem. See
5013 ;; file://COPYING in the source distribution for details.
5014 (license license:gpl2+)))
f0afb0c8
DH
5015
5016(define-public rhythmbox
5017 (package
5018 (name "rhythmbox")
8190e1ed 5019 (version "3.4.3")
f0afb0c8
DH
5020 (source (origin
5021 (method url-fetch)
5022 (uri (string-append "mirror://gnome/sources/" name "/"
5023 (version-major+minor version) "/"
5024 name "-" version ".tar.xz"))
5025 (sha256
5026 (base32
8190e1ed 5027 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
f0afb0c8
DH
5028 (build-system glib-or-gtk-build-system)
5029 (arguments
5030 `(#:configure-flags
5031 (list "--enable-lirc"
5032 "--enable-python"
5033 "--enable-vala"
5034 "--with-brasero"
5035 "--with-gudev"
5036 "--with-libsecret")
5037 #:phases
5038 (modify-phases %standard-phases
5039 (add-after
5040 'install 'wrap-rhythmbox
5041 (lambda* (#:key inputs outputs #:allow-other-keys)
5042 (let ((out (assoc-ref outputs "out"))
5043 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5044 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
349cef58
TGR
5045 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5046 (python-path (getenv "PYTHONPATH")))
f0afb0c8
DH
5047 (wrap-program (string-append out "/bin/rhythmbox")
5048 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5049 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
349cef58
TGR
5050 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5051 `("PYTHONPATH" ":" prefix (,python-path))))
f0afb0c8
DH
5052 #t)))))
5053 (propagated-inputs
5054 `(("dconf" ,dconf)))
5055 (native-inputs
bcb354ad
SB
5056 `(("itstool" ,itstool)
5057 ("intltool" ,intltool)
f0afb0c8
DH
5058 ("glib" ,glib "bin")
5059 ("gobject-introspection" ,gobject-introspection)
5060 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
5061 ("pkg-config" ,pkg-config)
5062 ("xmllint" ,libxml2)))
f0afb0c8
DH
5063 (inputs
5064 `(("json-glib" ,json-glib)
5065 ("tdb" ,tdb)
5066 ("gnome-desktop" ,gnome-desktop)
5067 ("python" ,python)
5068 ("python-pygobject" ,python2-pygobject)
5069 ("vala" ,vala)
5070 ("gmime" ,gmime)
f0afb0c8
DH
5071 ("adwaita-icon-theme" ,adwaita-icon-theme)
5072 ("grilo" ,grilo)
5073 ("grilo-plugins" ,grilo-plugins)
5074 ("gstreamer" ,gstreamer)
5075 ("gst-plugins-base" ,gst-plugins-base)
5076 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 5077 ("totem-pl-parser" ,totem-pl-parser)
ea226291 5078 ("libgudev" ,libgudev)
f0afb0c8
DH
5079 ;;("libmtp" ,libmtp) FIXME: Not detected
5080 ("libsecret" ,libsecret)
5081 ("libsoup" ,libsoup)
5082 ("libnotify" ,libnotify)
5083 ("libpeas" ,libpeas)
5084 ("lirc" ,lirc)
5085 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5086 ;;("clutter" ,clutter)
5087 ;;("clutter-gtk" ,clutter-gtk)
5088 ;;("clutter-gst" ,clutter-gst)
5089 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5090 ("atk" ,atk)
5091 ("pango" ,pango)
5092 ("gtk+" ,gtk+)
5093 ;; TODO:
5094 ;; * libgpod
5095 ;; * mx
f0afb0c8
DH
5096 ("brasero" ,brasero)))
5097 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5098 (synopsis "Music player for GNOME")
5099 (description "Rhythmbox is a music playing application for GNOME. It
5100supports playlists, song ratings, and any codecs installed through gstreamer.")
5101 (license license:gpl2+)))
f70d8383
DH
5102
5103(define-public eog
5104 (package
5105 (name "eog")
b0f24a82 5106 (version "3.32.2")
f70d8383
DH
5107 (source (origin
5108 (method url-fetch)
5109 (uri (string-append "mirror://gnome/sources/" name "/"
5110 (version-major+minor version) "/"
5111 name "-" version ".tar.xz"))
5112 (sha256
5113 (base32
b0f24a82 5114 "1bcxpqgzlk2cy4wfb3b5h66mhpj2fhrk1rrb5qqcv5xrr62ik5xy"))))
61fb581f 5115 (build-system meson-build-system)
f70d8383 5116 (arguments
34c44a34
RW
5117 `(#:configure-flags
5118 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5119 (list (string-append "-Dc_link_args=-Wl,-rpath="
5120 (assoc-ref %outputs "out") "/lib/eog"))
5121 #:phases
f70d8383 5122 (modify-phases %standard-phases
7a034665
EF
5123 (add-after 'unpack 'skip-gtk-update-icon-cache
5124 ;; Don't create 'icon-theme.cache'.
5125 (lambda _
5126 (substitute* "meson_post_install.py"
5127 (("gtk-update-icon-cache") "true"))
5128 #t))
61fb581f
RW
5129 (add-after 'install 'wrap-eog
5130 (lambda* (#:key outputs #:allow-other-keys)
5131 (let ((out (assoc-ref outputs "out"))
5132 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5133 (wrap-program (string-append out "/bin/eog")
5134 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5135 #t)))))
f70d8383
DH
5136 (propagated-inputs
5137 `(("dconf" ,dconf)))
5138 (native-inputs
5139 `(("intltool" ,intltool)
b3546174 5140 ("itstool" ,itstool)
f70d8383
DH
5141 ("glib" ,glib "bin")
5142 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
5143 ("pkg-config" ,pkg-config)
5144 ("xmllint" ,libxml2)))
f70d8383
DH
5145 (inputs
5146 `(("gnome-desktop" ,gnome-desktop)
5147 ("shared-mime-info" ,shared-mime-info)
5148 ("adwaita-icon-theme" ,adwaita-icon-theme)
5149 ("exempi" ,exempi)
5150 ("lcms" ,lcms)
5151 ("libexif" ,libexif)
5152 ("libpeas" ,libpeas)
4bd428a7 5153 ("libjpeg" ,libjpeg-turbo)
f70d8383
DH
5154 ("librsvg" ,librsvg)
5155 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5156 ("gtk+" ,gtk+)))
5157 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5158 (synopsis "GNOME image viewer")
5159 (description "Eye of GNOME is the GNOME image viewer. It
5160supports image conversion, rotation, and slideshows.")
5161 (license license:gpl2+)))
41af5e7b 5162
0c3f8cb8
LC
5163(define-public eog-plugins
5164 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5165 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5166 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5167 ;; 'XDG_DATA_DIRS' appropriately set.
5168 (package
5169 (name "eog-plugins")
54b74cc6 5170 (version "3.26.4")
0c3f8cb8
LC
5171 (source (origin
5172 (method url-fetch)
f3b88ed2 5173 (uri (string-append "mirror://gnome/sources/eog-plugins/"
0c3f8cb8 5174 (version-major+minor version) "/"
f3b88ed2 5175 "eog-plugins-" version ".tar.xz"))
0c3f8cb8
LC
5176 (sha256
5177 (base32
54b74cc6 5178 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
0c3f8cb8
LC
5179 (build-system gnu-build-system)
5180 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5181 (synopsis "Extensions for the Eye of GNOME image viewer")
5182 (native-inputs
5183 `(("pkg-config" ,pkg-config)
5184 ("gettext" ,gnu-gettext)))
5185 (inputs
5186 `(("eog" ,eog)
5187 ("glib" ,glib)
5188 ("gtk+" ,gtk+)
5189 ("libpeas" ,libpeas)
5190 ("libexif" ,libexif)
5191 ("libchamplain" ,libchamplain)))
5192 (description
5193 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5194notably:
5195
5196@itemize
5197@item @dfn{EXIF Display}, which displays camera (EXIF) information;
5198@item @dfn{Map}, which displays a map of where the picture was taken on the
5199side panel;
5200@item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5201@end itemize\n")
5202
5203 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5204 ;; long suspicious byte stream that goes to a
5205 ;; ".gresource.eog_postasa_plugin" ELF section.
5206 (license license:gpl2+)))
5207
41af5e7b
SB
5208(define-public libgudev
5209 (package
5210 (name "libgudev")
b78f5118 5211 (version "232")
41af5e7b
SB
5212 (source (origin
5213 (method url-fetch)
5214 (uri (string-append "mirror://gnome/sources/" name "/"
5215 version "/" name "-" version ".tar.xz"))
5216 (sha256
5217 (base32
b78f5118 5218 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
41af5e7b 5219 (build-system gnu-build-system)
b78f5118
RW
5220 (arguments
5221 '(#:configure-flags
5222 ;; umockdev depends on libgudev.
5223 (list "--disable-umockdev")))
41af5e7b
SB
5224 (native-inputs
5225 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5226 ("gobject-introspection" ,gobject-introspection)
5227 ("pkg-config" ,pkg-config)))
5228 (propagated-inputs
5229 `(("glib" ,glib))) ; required by gudev-1.0.pc
5230 (inputs
5231 `(("udev" ,eudev)))
5232 (home-page "https://wiki.gnome.org/Projects/libgudev")
5233 (synopsis "GObject bindings for libudev")
5234 (description
5235 "This library provides GObject bindings for libudev. It was originally
5236part of udev-extras, then udev, then systemd. It's now a project on its own.")
5237 (license license:lgpl2.1+)))
3dc8828f
SB
5238
5239(define-public gvfs
5240 (package
5241 (name "gvfs")
12fe4846 5242 (version "1.40.1")
3dc8828f
SB
5243 (source (origin
5244 (method url-fetch)
1d68eb32 5245 (uri (string-append "mirror://gnome/sources/gvfs/"
3dc8828f 5246 (version-major+minor version) "/"
1d68eb32 5247 "gvfs-" version ".tar.xz"))
3dc8828f
SB
5248 (sha256
5249 (base32
12fe4846 5250 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
e762d943 5251 (build-system meson-build-system)
3dc8828f 5252 (arguments
e762d943
RW
5253 '(#:glib-or-gtk? #t
5254 #:configure-flags
5255 (list "-Dsystemduserunitdir=no"
5256 "-Dtmpfilesdir=no"
5257 ;; Otherwise, the RUNPATH will lack the final path component.
5258 (string-append "-Dc_link_args=-Wl,-rpath="
5259 (assoc-ref %outputs "out") "/lib/gvfs"))))
3dc8828f
SB
5260 (native-inputs
5261 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
0ab9f949
RW
5262 ("gettext" ,gettext-minimal)
5263 ("gtk-doc" ,gtk-doc)
3dc8828f
SB
5264 ("pkg-config" ,pkg-config)
5265 ("xsltproc" ,libxslt)))
5266 (inputs
5267 `(("avahi" ,avahi)
5268 ("docbook-xml" ,docbook-xml-4.2)
5269 ("docbook-xsl" ,docbook-xsl)
5270 ("dbus" ,dbus)
e762d943 5271 ("elogind" ,elogind)
3dc8828f 5272 ("fuse" ,fuse)
24a78aa6 5273 ("gcr" ,gcr)
3dc8828f 5274 ("glib" ,glib)
e762d943 5275 ("gnome-online-accounts" ,gnome-online-accounts)
3dc8828f
SB
5276 ("libarchive" ,libarchive)
5277 ("libbluray" ,libbluray)
8852ca24 5278 ("libcap" ,libcap)
3dc8828f
SB
5279 ("libcdio-paranoia" ,libcdio-paranoia)
5280 ("libgcrypt" ,libgcrypt)
e762d943 5281 ("libgdata" ,libgdata)
3dc8828f
SB
5282 ("libgphoto2" ,libgphoto2)
5283 ("libgudev" ,libgudev)
0ab9f949 5284 ("libimobiledevice" ,libimobiledevice)
3dc8828f 5285 ("libmtp" ,libmtp)
e762d943 5286 ("libnfs" ,libnfs)
3dc8828f
SB
5287 ("libsecret" ,libsecret)
5288 ("libsmbclient" ,samba)
5289 ("libsoup" ,libsoup)
5290 ("libxml2" ,libxml2)
e762d943 5291 ("openssh" ,openssh)
8852ca24 5292 ("polkit" ,polkit)
3dc8828f
SB
5293 ("udisks" ,udisks)))
5294 (home-page "https://wiki.gnome.org/gvfs/")
8f65585b 5295 (synopsis "Userspace virtual file system for GIO")
3dc8828f 5296 (description
8f65585b 5297 "GVFS is a userspace virtual file system designed to work with the I/O
3dc8828f
SB
5298abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5299to all applications using the GIO API. It also supports exposing the GVFS
5300mounts to non-GIO applications using FUSE.
5301
5302GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5303DAV, and others.")
5304 (license license:lgpl2.0+)))
7c88b6bd
AW
5305
5306(define-public gusb
5307 (package
5308 (name "gusb")
536b3274 5309 (version "0.3.0")
7c88b6bd 5310 (source (origin
bbfb36f9
EF
5311 (method git-fetch)
5312 (uri (git-reference
5313 (url "https://github.com/hughsie/libgusb.git")
5314 (commit version)))
5315 (file-name (git-file-name name version))
7c88b6bd
AW
5316 (sha256
5317 (base32
bbfb36f9 5318 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
536b3274 5319 (build-system meson-build-system)
7c88b6bd 5320 (native-inputs
536b3274 5321 `(("gobject-introspection" ,gobject-introspection)
7c88b6bd
AW
5322 ("pkg-config" ,pkg-config)
5323 ("vala" ,vala)
7c88b6bd
AW
5324 ("gtk-doc" ,gtk-doc)))
5325 (propagated-inputs
5326 ;; Both of these are required by gusb.pc.
5327 `(("glib" ,glib)
5328 ("libusb" ,libusb)))
5329 (arguments
536b3274 5330 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
8f1640ed 5331 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 5332 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
5333 (description
5334 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5335asynchronous control, bulk and interrupt transfers with proper cancellation
5336and integration into a mainloop. This makes it easy to integrate low level
5337USB transfers with your high-level application or system daemon.")
5338 (license license:lgpl2.1+)))
0abe1d86
AW
5339
5340(define-public simple-scan
5341 (package
5342 (name "simple-scan")
4afb7dd9 5343 (version "3.34.2")
d9f6d587
TGR
5344 (source
5345 (origin
5346 (method url-fetch)
5347 (uri (string-append "mirror://gnome/sources/simple-scan/"
5348 (version-major+minor version) "/"
5349 "simple-scan-" version ".tar.xz"))
5350 (sha256
4afb7dd9 5351 (base32 "1fk3g4f9slckqfwm576jrjq1d1qihw0dlgzdf00ns7qbhzb0kxsp"))))
d9f6d587
TGR
5352 (build-system meson-build-system)
5353 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5354 (arguments
5355 '(#:glib-or-gtk? #t))
0abe1d86
AW
5356 (inputs
5357 `(("gtk" ,gtk+)
5358 ("zlib" ,zlib)
5359 ("cairo" ,cairo)
c501f592 5360 ("colord" ,colord)
0abe1d86
AW
5361 ("gdk-pixbuf" ,gdk-pixbuf)
5362 ("gusb" ,gusb)
4c928743 5363 ("libsane" ,sane-backends)))
0abe1d86 5364 (native-inputs
b94a6ca0 5365 `(("gettext" ,gettext-minimal)
0abe1d86 5366 ("itstool" ,itstool)
c501f592 5367 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
0abe1d86 5368 ("pkg-config" ,pkg-config)
bcb354ad
SB
5369 ("vala" ,vala)
5370 ("xmllint" ,libxml2)))
dff0eedb 5371 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
0abe1d86 5372 (synopsis "Document and image scanner")
d9f6d587
TGR
5373 (description
5374 "Document Scanner is an easy-to-use application that lets you connect your
5375scanner and quickly capture images and documents in an appropriate format. It
5376supports any scanner for which a suitable SANE driver is available, which is
5377almost all of them.")
0abe1d86 5378 (license license:gpl3+)))
7549f984 5379
ab466d79
RW
5380(define-public eolie
5381 (package
5382 (name "eolie")
fa8ef3ed 5383 (version "0.9.63")
ab466d79
RW
5384 (source (origin
5385 (method url-fetch)
00014781 5386 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
fa8ef3ed 5387 "uploads/d42b466752729a0d3fa828a721e25043/"
00014781 5388 "eolie-" version ".tar.xz"))
ab466d79
RW
5389 (sha256
5390 (base32
fa8ef3ed 5391 "11pp8g0w22h1q0bbj9517l5838gcymvvp8fp9kh6h2dmgir2ssih"))))
00014781 5392 (build-system meson-build-system)
ab466d79 5393 (arguments
00014781
RW
5394 `(#:glib-or-gtk? #t
5395 #:phases
ab466d79 5396 (modify-phases %standard-phases
f0c68100
EF
5397 (add-after 'unpack 'skip-gtk-update-icon-cache
5398 ;; Don't create 'icon-theme.cache'.
5399 (lambda _
5400 (substitute* "meson_post_install.py"
5401 (("gtk-update-icon-cache") "true"))
5402 #t))
ab466d79
RW
5403 (add-after 'wrap 'wrap-more
5404 (lambda* (#:key inputs outputs #:allow-other-keys)
5405 (let* ((out (assoc-ref outputs "out"))
5406 ;; These libraries must be on LD_LIBRARY_PATH.
5407 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5408 "atk" "gtk+" "gsettings-desktop-schemas"
5409 "gobject-introspection"))
5410 (path (string-join
5411 (map (lambda (lib)
5412 (string-append (assoc-ref inputs lib) "/lib"))
5413 libs)
5414 ":")))
5415 (wrap-program (string-append out "/bin/eolie")
5416 `("LD_LIBRARY_PATH" ":" prefix (,path))
5417 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5418 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5419 #t)))))
5420 (native-inputs
f85ca6ed 5421 `(("intltool" ,intltool)
ab466d79 5422 ("itstool" ,itstool)
d95f1041 5423 ("pkg-config" ,pkg-config)
d95f1041 5424 ("python" ,python)
f0c68100 5425 ("glib:bin" ,glib "bin")))
ab466d79
RW
5426 (inputs
5427 `(("gobject-introspection" ,gobject-introspection)
5428 ("glib-networking" ,glib-networking)
5429 ("cairo" ,cairo)
5430 ("gtk+" ,gtk+)
5431 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5432 ("python" ,python-wrapper)
d72f76df 5433 ("python-dateutil" ,python-dateutil)
00014781 5434 ("python-pyfxa" ,python-pyfxa)
ab466d79
RW
5435 ("python-pygobject" ,python-pygobject)
5436 ("python-pycairo" ,python-pycairo)
00014781 5437 ("python-pycrypto" ,python-pycrypto)
ab466d79
RW
5438 ("libsecret" ,libsecret)
5439 ("gtkspell3" ,gtkspell3)
5440 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
f85ca6ed 5441 ("webkitgtk" ,webkitgtk)))
166b2c97 5442 (home-page "https://wiki.gnome.org/Apps/Eolie")
ab466d79
RW
5443 (synopsis "Web browser for GNOME")
5444 (description
5445 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5446a secret password store, an adblocker, and a modern UI.")
5447 (license license:gpl3+)))
5448
7549f984
SB
5449(define-public epiphany
5450 (package
5451 (name "epiphany")
60680365 5452 (version "3.32.5")
7549f984
SB
5453 (source (origin
5454 (method url-fetch)
dd3266ec 5455 (uri (string-append "mirror://gnome/sources/epiphany/"
7549f984 5456 (version-major+minor version) "/"
dd3266ec 5457 "epiphany-" version ".tar.xz"))
7549f984
SB
5458 (sha256
5459 (base32
60680365 5460 "1hj4yy53fwh96h17cqiw3gxc070vmc7yqwc7phvhnpyinkp9g5my"))))
fc5c5b92
R
5461
5462 (build-system meson-build-system)
7549f984
SB
5463 (arguments
5464 ;; FIXME: tests run under Xvfb, but fail with:
5465 ;; /src/bookmarks/ephy-bookmarks/create:
5466 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
5467 ;; subsystem
5468 ;; FAIL
6f48d9db 5469 '(#:tests? #f
e19f9c24 5470 #:glib-or-gtk? #t
bb7ff88f
EF
5471 #:phases
5472 (modify-phases %standard-phases
5473 (add-after 'unpack 'skip-gtk-update-icon-cache
5474 ;; Don't create 'icon-theme.cache'.
5475 (lambda _
5476 (substitute* "post_install.py"
5477 (("gtk-update-icon-cache") "true"))
5478 #t)))
e19f9c24
LF
5479 #:configure-flags
5480 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5481 (list (string-append "-Dc_link_args=-Wl,-rpath="
5482 (assoc-ref %outputs "out") "/lib/epiphany"))))
80a747c4
SB
5483 (propagated-inputs
5484 `(("dconf" ,dconf)))
7549f984 5485 (native-inputs
fc5c5b92
R
5486 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5487 ("glib:bin" ,glib "bin") ; for glib-mkenums
fc5c5b92 5488 ("intltool" ,intltool)
7549f984 5489 ("itstool" ,itstool)
bcb354ad
SB
5490 ("pkg-config" ,pkg-config)
5491 ("xmllint" ,libxml2)))
7549f984
SB
5492 (inputs
5493 `(("avahi" ,avahi)
5494 ("gcr" ,gcr)
fc5c5b92 5495 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
7549f984
SB
5496 ("glib-networking" ,glib-networking)
5497 ("gnome-desktop" ,gnome-desktop)
5498 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
eb6f315b 5499 ("json-glib" ,json-glib)
7549f984 5500 ("iso-codes" ,iso-codes)
8748e29c 5501 ("libdazzle" ,libdazzle)
7549f984
SB
5502 ("libnotify" ,libnotify)
5503 ("libsecret" ,libsecret)
7549f984 5504 ("libxslt" ,libxslt)
fc5c5b92 5505 ("nettle" ,nettle) ; for hogweed
7549f984 5506 ("sqlite" ,sqlite)
f85ca6ed 5507 ("webkitgtk" ,webkitgtk)))
7549f984
SB
5508 (home-page "https://wiki.gnome.org/Apps/Web")
5509 (synopsis "GNOME web browser")
5510 (description
5511 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5512principles are simplicity and standards compliance.")
5513 (license license:gpl2+)))
a3856b2c
SB
5514
5515(define-public d-feet
5516 (package
5517 (name "d-feet")
458e9221 5518 (version "0.3.14")
a3856b2c
SB
5519 (source (origin
5520 (method url-fetch)
5521 (uri (string-append "mirror://gnome/sources/" name "/"
5522 (version-major+minor version) "/"
5523 name "-" version ".tar.xz"))
5524 (sha256
5525 (base32
458e9221 5526 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
a3856b2c
SB
5527 (build-system glib-or-gtk-build-system)
5528 (arguments
5529 '(#:out-of-source? #f ; tests need to run in the source directory.
5530 #:phases
5531 (modify-phases %standard-phases
5532 (add-before
5533 'check 'pre-check
86aff791 5534 (lambda _
a3856b2c
SB
5535 ;; The test suite requires a running X server.
5536 (system "Xvfb :1 &")
5537 (setenv "DISPLAY" ":1")
5538 ;; Don't fail on missing '/etc/machine-id'.
5539 (setenv "DBUS_FATAL_WARNINGS" "0")
5540 ;; tests.py and window.py don't meet E402:
5541 ;; E402 module level import not at top of file
5542 (substitute* "src/tests/Makefile"
86aff791
MW
5543 (("--ignore=E123") "--ignore=E123,E402"))
5544 #t))
a3856b2c
SB
5545 (add-after
5546 'install 'wrap-program
5547 (lambda* (#:key outputs #:allow-other-keys)
5548 (let ((prog (string-append (assoc-ref outputs "out")
5549 "/bin/d-feet")))
5550 (wrap-program prog
5551 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
5552 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5553 #t))))))
a3856b2c
SB
5554 (native-inputs
5555 `(("intltool" ,intltool)
5556 ("itstool" ,itstool)
5557 ("pkg-config" ,pkg-config)
5558 ("python-pep8" ,python-pep8)
5559 ("xmllint" ,libxml2)
ff337525 5560 ("xorg-server" ,xorg-server-for-tests)))
a3856b2c
SB
5561 (inputs
5562 `(("gobject-introspection" ,gobject-introspection)
5563 ("gtk+" ,gtk+)
5564 ("python" ,python-wrapper)
458e9221 5565 ("hicolor-icon-theme" ,hicolor-icon-theme)
a3856b2c
SB
5566 ("python-pygobject" ,python-pygobject)))
5567 (home-page "https://wiki.gnome.org/Apps/DFeet")
5568 (synopsis "D-Bus debugger")
5569 (description
5570 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5571of running programs and invoke methods on those interfaces.")
5572 (license license:gpl2+)))
c3b97bd9
SB
5573
5574(define-public yelp-xsl
5575 (package
5576 (name "yelp-xsl")
b3640e79 5577 (version "3.32.1")
c3b97bd9
SB
5578 (source (origin
5579 (method url-fetch)
5580 (uri (string-append "mirror://gnome/sources/" name "/"
5581 (version-major+minor version) "/"
5582 name "-" version ".tar.xz"))
5583 (sha256
5584 (base32
b3640e79 5585 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
c3b97bd9
SB
5586 (build-system gnu-build-system)
5587 (native-inputs
5588 `(("intltool" ,intltool)
5589 ("itstool" ,itstool)
5590 ("xmllint" ,libxml2)))
5591 (home-page "https://wiki.gnome.org/Apps/Yelp")
5592 (synopsis "XSL stylesheets for Yelp")
5593 (description
5594 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5595to format Docbook and Mallard documents.")
5596 (license license:gpl2+)))
de3d612a
SB
5597
5598(define-public yelp
5599 (package
5600 (name "yelp")
1f1b6d60 5601 (version "3.32.2")
de3d612a
SB
5602 (source (origin
5603 (method url-fetch)
5604 (uri (string-append "mirror://gnome/sources/" name "/"
5605 (version-major+minor version) "/"
5606 name "-" version ".tar.xz"))
5607 (sha256
5608 (base32
1f1b6d60 5609 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
de3d612a
SB
5610 (build-system glib-or-gtk-build-system)
5611 (native-inputs
5612 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5613 ("intltool" ,intltool)
5614 ("itstool" ,itstool)
5615 ("pkg-config" ,pkg-config)))
5616 (propagated-inputs
5617 `(("dconf" ,dconf)))
5618 (inputs
ad1b7d8b
SB
5619 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5620 ("libxslt" ,libxslt)
de3d612a 5621 ("sqlite" ,sqlite)
4c28ca1d
SB
5622 ("webkitgtk" ,webkitgtk)
5623 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
5624 (home-page "https://wiki.gnome.org/Apps/Yelp")
5625 (synopsis "GNOME help browser")
5626 (description
5627 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5628man, info, and HTML documents. It can locate documents according to the
5629freedesktop.org help system specification.")
5630 (license license:gpl2+)))
122d0d10
SB
5631
5632(define-public yelp-tools
5633 (package
5634 (name "yelp-tools")
2089bca5 5635 (version "3.28.0")
122d0d10
SB
5636 (source (origin
5637 (method url-fetch)
5638 (uri (string-append "mirror://gnome/sources/" name "/"
5639 (version-major+minor version) "/"
5640 name "-" version ".tar.xz"))
5641 (sha256
5642 (base32
2089bca5 5643 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
122d0d10
SB
5644 (build-system gnu-build-system)
5645 (native-inputs
5646 `(("pkg-config" ,pkg-config)))
5647 (propagated-inputs
5648 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5649 `(("itstool" ,itstool)
5650 ("xmllint" ,libxml2)
5651 ("xsltproc" ,libxslt)))
5652 (inputs
5653 `(("yelp-xsl" ,yelp-xsl)))
5654 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5655 (synopsis "Yelp documentation tools")
5656 (description
5657 "Yelp-tools is a collection of scripts and build utilities to help create,
5658manage, and publish documentation for Yelp and the web. Most of the heavy
5659lifting is done by packages like yelp-xsl and itstool. This package just
5660wraps things up in a developer-friendly way.")
5661 (license license:gpl2+)))
af8f9f23
RW
5662
5663(define-public libgee
5664 (package
5665 (name "libgee")
4c2c5ae6 5666 (version "0.20.2")
af8f9f23
RW
5667 (source (origin
5668 (method url-fetch)
84a1b007 5669 (uri (string-append "mirror://gnome/sources/libgee/"
af8f9f23 5670 (version-major+minor version) "/"
84a1b007 5671 "libgee-" version ".tar.xz"))
af8f9f23
RW
5672 (sha256
5673 (base32
4c2c5ae6 5674 "0g1mhl7nidg82v4cikkk8dakzc18hg7wv0dsf2pbyijzfm5mq0wy"))))
af8f9f23
RW
5675 (build-system gnu-build-system)
5676 (arguments
5677 `(#:phases
5678 (modify-phases %standard-phases
5679 (add-after 'unpack 'fix-introspection-install-dir
5680 (lambda* (#:key outputs #:allow-other-keys)
5681 (let ((out (assoc-ref outputs "out")))
5682 (substitute* "gee/Makefile.in"
5683 (("@INTROSPECTION_GIRDIR@")
5684 (string-append out "/share/gir-1.0/"))
5685 (("@INTROSPECTION_TYPELIBDIR@")
5686 (string-append out "/lib/girepository-1.0/")))))))))
5687 (native-inputs
5688 `(("glib" ,glib "bin")
5689 ("pkg-config" ,pkg-config)))
5690 (inputs
5691 `(("glib" ,glib)
5692 ("gobject-introspection" ,gobject-introspection)))
5693 (home-page "https://wiki.gnome.org/Projects/Libgee")
5694 (synopsis "GObject collection library")
5695 (description
5696 "Libgee is a utility library providing GObject-based interfaces and
5697classes for commonly used data structures.")
5698 (license license:lgpl2.1+)))
b0f9c4b8
RW
5699
5700(define-public gexiv2
5701 (package
5702 (name "gexiv2")
b1a8b408 5703 (version "0.12.0")
b0f9c4b8
RW
5704 (source (origin
5705 (method url-fetch)
5706 (uri (string-append "mirror://gnome/sources/" name "/"
5707 (version-major+minor version) "/"
5708 name "-" version ".tar.xz"))
5709 (sha256
5710 (base32
b1a8b408 5711 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
51c482e4 5712 (build-system meson-build-system)
b0f9c4b8 5713 (native-inputs
b1a8b408
KK
5714 `(("gcr" ,gcr)
5715 ("glib" ,glib "bin")
5716 ("pkg-config" ,pkg-config)
5717 ("vala" ,vala)))
b0f9c4b8
RW
5718 (propagated-inputs
5719 ;; Listed in "Requires" section of gexiv2.pc
5720 `(("exiv2" ,exiv2)))
5721 (inputs
5722 `(("glib" ,glib)
5723 ("gobject-introspection" ,gobject-introspection)))
5724 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5725 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5726 (description
5727 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5728allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5729metadata in photo and video files of various formats.")
5730 (license license:gpl2+)))
fed5a689
RW
5731
5732(define-public shotwell
5733 (package
5734 (name "shotwell")
a1c6fb52 5735 (version "0.30.7")
fed5a689
RW
5736 (source (origin
5737 (method url-fetch)
5497d682 5738 (uri (string-append "mirror://gnome/sources/shotwell/"
fed5a689 5739 (version-major+minor version) "/"
5497d682 5740 "shotwell-" version ".tar.xz"))
fed5a689
RW
5741 (sha256
5742 (base32
a1c6fb52 5743 "1m9i8r4gyd2hzlxjjwfyck4kz7gdg2vz2k6l6d0ga9hdfq2l4p9l"))))
3b79afa6
KK
5744 (build-system meson-build-system)
5745 (arguments
5a0beca3
EF
5746 '(#:glib-or-gtk? #t
5747 #:phases
5748 (modify-phases %standard-phases
5749 (add-after 'unpack 'skip-gtk-update-icon-cache
5750 (lambda _
5751 (substitute* "build-aux/meson/postinstall.py"
5752 (("gtk-update-icon-cache") (which "true"))
5753 (("update-desktop-database") (which "true")))
5754 #t)))))
735b8db6
TGR
5755 (propagated-inputs
5756 `(("dconf" ,dconf)))
fed5a689 5757 (native-inputs
5a0beca3
EF
5758 `(("gettext" ,gettext-minimal)
5759 ("glib:bin" ,glib "bin")
735b8db6 5760 ("itstool" ,itstool)
3b79afa6 5761 ("pkg-config" ,pkg-config)
735b8db6 5762 ("vala" ,vala)))
fed5a689 5763 (inputs
5a0beca3
EF
5764 `(("gcr" ,gcr)
5765 ("gexiv2" ,gexiv2)
fed5a689 5766 ("gst-plugins-base" ,gst-plugins-base)
5a0beca3
EF
5767 ("gstreamer" ,gstreamer)
5768 ("json-glib" ,json-glib)
dfb0323d 5769 ("libgdata" ,libgdata)
fed5a689 5770 ("libgee" ,libgee)
5a0beca3
EF
5771 ("libgphoto2" ,libgphoto2)
5772 ("libgudev" ,libgudev)
fed5a689 5773 ("libraw" ,libraw)
fed5a689
RW
5774 ("libsoup" ,libsoup)
5775 ("libxml2" ,libxml2)
5a0beca3
EF
5776 ("sqlite" ,sqlite)
5777 ("webkitgtk" ,webkitgtk)))
fed5a689
RW
5778 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5779 (synopsis "Photo manager for GNOME 3")
5780 (description
5781 "Shotwell is a digital photo manager designed for the GNOME desktop
5782environment. It allows you to import photos from disk or camera, organize
5783them by keywords and events, view them in full-window or fullscreen mode, and
5784share them with others via social networking and more.")
5785 (license license:lgpl2.1+)))
293ff8b2
DT
5786
5787(define-public file-roller
5788 (package
5789 (name "file-roller")
dcae4270 5790 (version "3.32.3")
293ff8b2
DT
5791 (source (origin
5792 (method url-fetch)
f89a27c6 5793 (uri (string-append "mirror://gnome/sources/file-roller/"
293ff8b2 5794 (version-major+minor version) "/"
f89a27c6 5795 "file-roller-" version ".tar.xz"))
293ff8b2
DT
5796 (sha256
5797 (base32
dcae4270 5798 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
0a500745 5799 (build-system meson-build-system)
293ff8b2 5800 (native-inputs
0a500745
RW
5801 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5802 ("intltool" ,intltool)
4c96e5d1 5803 ("itstool" ,itstool)
0a500745
RW
5804 ("pkg-config" ,pkg-config)
5805 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5806 ("glib:bin" ,glib "bin")))
293ff8b2
DT
5807 ;; TODO: Add libnautilus.
5808 (inputs
5809 `(("gtk+" ,gtk+)
5810 ("gdk-pixbuf" ,gdk-pixbuf)
5811 ("json-glib" ,json-glib)
5812 ("libarchive" ,libarchive)
5813 ("libnotify" ,libnotify)
4c96e5d1 5814 ("nettle" ,nettle)
293ff8b2
DT
5815 ("libxml2" ,libxml2)))
5816 (synopsis "Graphical archive manager for GNOME")
5817 (description "File Roller is an archive manager for the GNOME desktop
5818environment that allows users to view, unpack, and create compressed archives
5819such as gzip tarballs.")
5820 (home-page "http://fileroller.sourceforge.net/")
5821 (license license:gpl2+)))
7ce49365
SB
5822
5823(define-public gnome-session
5824 (package
5825 (name "gnome-session")
1fc2ec79 5826 (version "3.32.0")
7ce49365
SB
5827 (source (origin
5828 (method url-fetch)
5829 (uri (string-append "mirror://gnome/sources/" name "/"
5830 (version-major+minor version) "/"
5831 name "-" version ".tar.xz"))
5832 (sha256
5833 (base32
1fc2ec79 5834 "0zrzkpd406i159mla7bfs5npa32fgqh66aip1rfq02rgsgmc9m5v"))))
2914af3c 5835 (arguments
df278071
RW
5836 '(#:glib-or-gtk? #t
5837 #:phases
2914af3c
AW
5838 (modify-phases %standard-phases
5839 (add-before 'configure 'pre-configure
5840 (lambda* (#:key outputs #:allow-other-keys)
5841 ;; Use elogind instead of systemd.
df278071
RW
5842 (substitute* "meson.build"
5843 (("libsystemd-login") "libelogind")
5844 (("and libsystemd_daemon_dep.found.*") ","))
2914af3c
AW
5845 (substitute* "gnome-session/gsm-systemd.c"
5846 (("#include <systemd/sd-login.h>")
5847 "#include <elogind/sd-login.h>"))
df278071 5848 ;; Remove uses of the systemd daemon.
803ab416
SB
5849 (substitute* "gnome-session/gsm-autostart-app.c"
5850 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
5851 #t))
5852 (add-after 'install 'wrap-gnome-session
5853 (lambda* (#:key inputs outputs #:allow-other-keys)
5854 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5855 (let ((glib (assoc-ref inputs "glib:bin"))
5856 (out (assoc-ref outputs "out")))
5857 (wrap-program (string-append out "/bin/gnome-session")
5858 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5859 #t))))
6cbc8d57 5860
2914af3c 5861 #:configure-flags
df278071
RW
5862 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5863 "-Dman=false" ; FIXME: disabled because of docbook validation error
5864 "-Dsystemd_journal=false")))
5865 (build-system meson-build-system)
7ce49365
SB
5866 (native-inputs
5867 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5868 ("pkg-config" ,pkg-config)
5869 ("intltool" ,intltool)
df278071
RW
5870 ("xsltproc" ,libxslt)
5871 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5872 ("docbook-xsl" ,docbook-xsl)
5873 ("docbook-xml" ,docbook-xml)
5874 ("xmlto" ,xmlto)))
7ce49365 5875 (inputs
2914af3c
AW
5876 `(("elogind" ,elogind)
5877 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 5878 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
5879 ("gtk+" ,gtk+)
5880 ("json-glib" ,json-glib)
5881 ("libsm" ,libsm)
5882 ("libxcomposite" ,libxcomposite)
5883 ("libxtst" ,libxtst)
5884 ("mesa" ,mesa)
5885 ("upower" ,upower)
5886 ("xtrans" ,xtrans)))
5887 (synopsis "Session manager for GNOME")
5888 (description
5889 "This package contains the GNOME session manager, as well as a
5890configuration program to choose applications starting on login.")
5891 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5892 (license license:gpl2+)))
f47ba77e
SB
5893
5894(define-public gjs
5895 (package
5896 (name "gjs")
d054fbf5 5897 (version "1.56.2")
f47ba77e
SB
5898 (source (origin
5899 (method url-fetch)
5900 (uri (string-append "mirror://gnome/sources/" name "/"
5901 (version-major+minor version) "/"
5902 name "-" version ".tar.xz"))
5903 (sha256
5904 (base32
d054fbf5 5905 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
f47ba77e
SB
5906 (build-system gnu-build-system)
5907 (arguments
5908 '(#:phases
5909 (modify-phases %standard-phases
5910 (add-before
5911 'check 'pre-check
5912 (lambda _
fc119619
MW
5913 ;; The test suite requires a running X server.
5914 (system "Xvfb :1 &")
5915 (setenv "DISPLAY" ":1")
5916
f47ba77e
SB
5917 ;; For the missing /etc/machine-id.
5918 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07 5919
144f94d0
KK
5920 ;; Our mozjs-38 package does not compile the required Intl API
5921 ;; support for these failing tests.
5922 (substitute* "installed-tests/js/testLocale.js"
5923 ((".*toBeDefined.*") "")
5924 ((".*expect\\(datestr\\).*") ""))
d054fbf5
KK
5925 (substitute* "installed-tests/scripts/testCommandLine.sh"
5926 (("Valentín") "")
5927 (("☭") ""))
f47ba77e
SB
5928 #t)))))
5929 (native-inputs
8a831c6f 5930 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
f47ba77e
SB
5931 ("pkg-config" ,pkg-config)
5932 ("xmllint" ,libxml2)
5933 ;; For testing
5934 ("dbus-launch" ,dbus)
5935 ("uuidgen" ,util-linux)
ebebee94 5936 ("xvfb" ,xorg-server-for-tests)))
f47ba77e
SB
5937 (propagated-inputs
5938 ;; These are all in the Requires.private field of gjs-1.0.pc.
144f94d0
KK
5939 `(("cairo" ,cairo)
5940 ("gobject-introspection" ,gobject-introspection)
d054fbf5 5941 ("mozjs" ,mozjs-60)))
f47ba77e
SB
5942 (inputs
5943 `(("gtk+" ,gtk+)
5944 ("readline" ,readline)))
5945 (synopsis "Javascript bindings for GNOME")
f032d0be 5946 (home-page "https://live.gnome.org/Gjs")
f47ba77e
SB
5947 (description
5948 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5949javascript engine and the GObject introspection framework.")
5950 (license license:gpl2+)))
329d731b
DH
5951
5952(define-public gedit
5953 (package
5954 (name "gedit")
480c9226 5955 (version "3.32.2")
329d731b
DH
5956 (source (origin
5957 (method url-fetch)
5958 (uri (string-append "mirror://gnome/sources/" name "/"
5959 (version-major+minor version) "/"
5960 name "-" version ".tar.xz"))
5961 (sha256
5962 (base32
480c9226
KK
5963 "1q2rk7fym542c7k3bn2wlnzgy384gxacbifsjny0spbg95gfybvl"))))
5964 (build-system meson-build-system)
329d731b 5965 (arguments
480c9226
KK
5966 `(#:glib-or-gtk? #t
5967 #:configure-flags
5968 ;; Otherwise, the RUNPATH will lack the final path component.
5969 (list (string-append "-Dc_link_args=-Wl,-rpath="
5970 (assoc-ref %outputs "out") "/lib/gedit"))
d9b4022c
LC
5971
5972 ;; XXX: Generated .h files are sometimes used before being built.
5973 #:parallel-build? #f
5974
480c9226 5975 #:phases
329d731b 5976 (modify-phases %standard-phases
480c9226
KK
5977 (add-after 'unpack 'skip-gtk-update-icon-cache
5978 ;; Don't create 'icon-theme.cache'.
5979 (lambda _
5980 (substitute* "build-aux/meson/post_install.py"
5981 (("gtk-update-icon-cache") (which "true")))
5982 #t))
5983 (add-after 'unpack 'patch-libgd-fetch
5984 (lambda* (#:key inputs #:allow-other-keys)
5985 (let ((libgd (assoc-ref inputs "libgd")))
5986 ;; Calling git is unnecessary because libgd is fetched as a
5987 ;; native input to this package.
5988 (substitute* "meson.build"
5989 ((".*git.*") ""))
5990 (copy-recursively libgd "subprojects/libgd")
5991 #t)))
5992 (add-after 'install 'wrap-gedit
5993 (lambda* (#:key inputs outputs #:allow-other-keys)
5994 (let ((out (assoc-ref outputs "out"))
5995 (gtksourceview (assoc-ref inputs "gtksourceview"))
5996 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5997 (python-path (getenv "PYTHONPATH")))
5998 (wrap-program (string-append out "/bin/gedit")
5999 ;; For plugins.
6000 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6001 `("PYTHONPATH" ":" prefix (,python-path))
6002 ;; For language-specs.
6003 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
6004 "/share")))))
6005 #t)))))
329d731b
DH
6006 (propagated-inputs
6007 `(("dconf" ,dconf)))
6008 (native-inputs
480c9226
KK
6009 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6010 ("intltool" ,intltool)
b3546174 6011 ("itstool" ,itstool)
480c9226 6012 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
329d731b 6013 ("gobject-introspection" ,gobject-introspection)
480c9226
KK
6014 ("libgd"
6015 ,(origin
6016 (method git-fetch)
6017 (uri (git-reference
6018 (url "https://gitlab.gnome.org/GNOME/libgd")
6019 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6020 (file-name (git-file-name "libgd" version))
6021 (sha256
6022 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
329d731b
DH
6023 ("pkg-config" ,pkg-config)))
6024 (inputs
6025 `(("glib" ,glib)
0d2df50c 6026 ("gspell" ,gspell)
329d731b 6027 ("gtk+" ,gtk+)
480c9226 6028 ("gtksourceview" ,gtksourceview)
329d731b
DH
6029 ("libpeas" ,libpeas)
6030 ("libxml2" ,libxml2)
329d731b
DH
6031 ("iso-codes" ,iso-codes)
6032 ("python-pygobject" ,python-pygobject)
6033 ("python" ,python)
6034 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6035 ("libx11" ,libx11)
6036 ("vala" ,vala)
6037 ("adwaita-icon-theme" ,adwaita-icon-theme)
6038 ("libsoup" ,libsoup)
6039 ("gnome-desktop" ,gnome-desktop)))
6040 (home-page "https://wiki.gnome.org/Apps/Gedit")
6041 (synopsis "GNOME text editor")
6042 (description "While aiming at simplicity and ease of use, gedit is a
6043powerful general purpose text editor.")
6044 (license license:gpl2+)))
b7179363
SB
6045
6046(define-public zenity
6047 (package
6048 (name "zenity")
4f581bd0 6049 (version "3.32.0")
b7179363
SB
6050 (source (origin
6051 (method url-fetch)
5958df04 6052 (uri (string-append "mirror://gnome/sources/zenity/"
b7179363 6053 (version-major+minor version) "/"
5958df04 6054 "zenity-" version ".tar.xz"))
b7179363
SB
6055 (sha256
6056 (base32
4f581bd0 6057 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
b7179363
SB
6058 (build-system gnu-build-system)
6059 (native-inputs
b94a6ca0 6060 `(("gettext" ,gettext-minimal)
b7179363
SB
6061 ("itstool" ,itstool)
6062 ("pkg-config" ,pkg-config)))
6063 (inputs
6064 `(("libnotify" ,libnotify)
6065 ("webkitgtk" ,webkitgtk)))
6066 (synopsis "Display graphical dialog boxes from shell scripts")
f032d0be 6067 (home-page "https://www.gnome.org")
b7179363
SB
6068 (description
6069 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6070to display dialog boxes from the commandline and shell scripts.")
6071 (license license:lgpl2.0+)))
60c3627c
SB
6072
6073(define-public mutter
6074 (package
6075 (name "mutter")
edf43f68 6076 (version "3.32.2")
60c3627c 6077 (source (origin
86c44e72
KK
6078 (method url-fetch)
6079 (uri (string-append "mirror://gnome/sources/" name "/"
6080 (version-major+minor version) "/"
6081 name "-" version ".tar.xz"))
60c3627c
SB
6082 (sha256
6083 (base32
edf43f68 6084 "1h577i2ap7dpfy1jg101jvc6nzccc0csgvd55ahydlr8f94frcva"))))
86c44e72
KK
6085 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6086 ;; versions of cogl and clutter. As a result, many of the inputs,
6087 ;; propagated-inputs, and configure flags used in cogl and clutter are
6088 ;; needed here as well.
edf43f68 6089 (build-system meson-build-system)
60c3627c 6090 (arguments
edf43f68
KK
6091 '(;; XXX: All mutter tests fail with the following error:
6092 ;; Settings schema 'org.gnome.mutter' is not installed
6093 #:tests? #f
6094 #:glib-or-gtk? #t
6095 #:configure-flags
6096 ;; Otherwise, the RUNPATH will lack the final path component.
6097 (list (string-append "-Dc_link_args=-Wl,-rpath="
6098 (assoc-ref %outputs "out") "/lib:"
6099 (assoc-ref %outputs "out") "/lib/mutter-4")
a88d5a0c
MW
6100
6101 ;; The following flags are needed for the bundled clutter
edf43f68 6102 (string-append "-Dxwayland_path="
d633f2f6
RH
6103 (assoc-ref %build-inputs "xorg-server-xwayland")
6104 "/bin/Xwayland")
6105
a88d5a0c 6106 ;; the remaining flags are needed for the bundled cogl
edf43f68 6107 (string-append "-Dopengl_libname="
a88d5a0c 6108 (assoc-ref %build-inputs "mesa")
f23052a6
DC
6109 "/lib/libGL.so"))
6110 #:phases
6111 (modify-phases %standard-phases
edf43f68
KK
6112 (add-after 'unpack 'disable-werror
6113 (lambda _
6114 ;; XXX: build fails with [-Werror]:
6115 ;; backends/meta-cursor-renderer.c:112:5: error:
6116 ;; implicit declaration of function ?roundf?
6117 (substitute* "meson.build"
6118 (("'-Werror=.*',") ""))
6119 #t))
86c44e72
KK
6120 ;; Replace references to systemd libraries to elogind references.
6121 (add-before 'configure 'use-elogind
6122 (lambda _
edf43f68 6123 (substitute* (list "meson.build"
86c44e72
KK
6124 "src/backends/native/meta-launcher.c"
6125 "src/core/main.c")
6126 (("systemd") "elogind"))
6127 #t)))))
60c3627c
SB
6128 (native-inputs
6129 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6130 ("gobject-introspection" ,gobject-introspection)
6131 ("intltool" ,intltool)
f23052a6 6132 ("pkg-config" ,pkg-config)
edf43f68 6133 ("xorg-server" ,xorg-server-for-tests)
f23052a6
DC
6134 ;; For git build
6135 ("autoconf" ,autoconf)
6136 ("automake" ,automake)
6137 ("libtool" ,libtool)))
60c3627c 6138 (propagated-inputs
a88d5a0c
MW
6139 `(;; libmutter.pc refers to these:
6140 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6141 ("gtk+" ,gtk+)
6142 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6143 ("atk" ,atk)
6144 ("cairo" ,cairo)
6145 ("gdk-pixbuf" ,gdk-pixbuf)
6146 ("glib" ,glib)
a88d5a0c
MW
6147 ("json-glib" ,json-glib)
6148 ("libinput" ,libinput)
6149 ("libx11" ,libx11)
6150 ("libxcomposite" ,libxcomposite)
6151 ("libxdamage" ,libxdamage)
6152 ("libxext" ,libxext)
6153 ("libxfixes" ,libxfixes)
6154 ("libxkbcommon" ,libxkbcommon)
6155 ("libxrandr" ,libxrandr)
6156 ("mesa" ,mesa)
6157 ("pango" ,pango)
6158 ("udev" ,eudev)
a88d5a0c 6159 ("xinput" ,xinput)))
60c3627c 6160 (inputs
86c44e72
KK
6161 `(("elogind" ,elogind)
6162 ("gnome-desktop" ,gnome-desktop)
edf43f68 6163 ("gnome-settings-daemon" ,gnome-settings-daemon)
60c3627c 6164 ("libcanberra-gtk" ,libcanberra)
a88d5a0c 6165 ("libgudev" ,libgudev)
60c3627c
SB
6166 ("libice" ,libice)
6167 ("libsm" ,libsm)
edf43f68 6168 ("libwacom" ,libwacom)
60c3627c 6169 ("libxkbfile" ,libxkbfile)
a88d5a0c 6170 ("libxrandr" ,libxrandr)
86c44e72 6171 ("libxtst" ,libxtst)
edf43f68 6172 ("pipewire" ,pipewire)
60c3627c
SB
6173 ("startup-notification" ,startup-notification)
6174 ("upower-glib" ,upower)
6175 ("xkeyboard-config" ,xkeyboard-config)
d633f2f6 6176 ("xorg-server-xwayland" ,xorg-server-xwayland)
60c3627c
SB
6177 ("zenity" ,zenity)))
6178 (synopsis "Window and compositing manager")
f032d0be 6179 (home-page "https://www.gnome.org")
60c3627c
SB
6180 (description
6181 "Mutter is a window and compositing manager that displays and manages your
6182desktop via OpenGL. Mutter combines a sophisticated display engine using the
6183Clutter toolkit with solid window-management logic inherited from the Metacity
6184window manager.")
86c44e72 6185 (license license:gpl2+)))
685cee87
SB
6186
6187(define-public gnome-online-accounts
6188 (package
6189 (name "gnome-online-accounts")
aa200347 6190 (version "3.32.1")
685cee87
SB
6191 (source (origin
6192 (method url-fetch)
6193 (uri (string-append "mirror://gnome/sources/" name "/"
6194 (version-major+minor version) "/"
6195 name "-" version ".tar.xz"))
6196 (sha256
6197 (base32
aa200347 6198 "08g9kdj8fzcgp76z2zsj9m7wfjks9z6xfrfrbfmcr69k40mapfx8"))))
14c297fd 6199 (outputs '("out" "lib"))
685cee87 6200 (build-system glib-or-gtk-build-system)
14c297fd
TS
6201 (arguments
6202 `(#:configure-flags
6203 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6204 #:phases
6205 (modify-phases %standard-phases
6206 (add-before 'configure 'patch-libgoa-output
6207 (lambda* (#:key outputs #:allow-other-keys)
6208 (let ((lib (assoc-ref outputs "lib")))
6209 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6210 (("@prefix@") lib)
6211 (("@exec_prefix@") lib)
6212 (("@libdir@") (string-append lib "/lib"))
6213 (("@includedir@") (string-append lib "/include"))
6214 (("@datadir@") (string-append lib "/share")))
7555d539
MB
6215 ;; Make sure gobject-introspection knows about the output
6216 ;; too (see <https://bugs.gnu.org/36535>).
6217 (setenv "outputs" "out lib")
14c297fd 6218 #t))))))
685cee87
SB
6219 (native-inputs
6220 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6221 ("gobject-introspection" ,gobject-introspection)
6222 ("intltool" ,intltool)
6223 ("pkg-config" ,pkg-config)
ebb2873d 6224 ("vala" ,vala)
685cee87
SB
6225 ("xsltproc" ,libxslt)))
6226 (propagated-inputs
6227 `(("glib" ,glib) ; required by goa-1.0.pc
6228 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6229 (inputs
6230 `(("docbook-xsl" ,docbook-xsl)
6231 ("json-glib" ,json-glib)
6232 ("libsecret" ,libsecret)
6233 ("rest" ,rest)
685cee87
SB
6234 ("webkitgtk" ,webkitgtk)))
6235 (synopsis "Single sign-on framework for GNOME")
6236 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6237 (description
6238 "GNOME Online Accounts provides interfaces so that applications and
6239libraries in GNOME can access the user's online accounts. It has providers for
6240Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6241Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6242 (license license:lgpl2.0+)))
df217748
SB
6243
6244(define-public evolution-data-server
6245 (package
6246 (name "evolution-data-server")
2196a8d4 6247 (version "3.32.4")
df217748
SB
6248 (source (origin
6249 (method url-fetch)
6250 (uri (string-append "mirror://gnome/sources/" name "/"
6251 (version-major+minor version) "/"
6252 name "-" version ".tar.xz"))
43190ac6
MB
6253 (patches (search-patches "evolution-data-server-locales.patch"
6254 "evolution-data-server-libical-compat.patch"))
df217748
SB
6255 (sha256
6256 (base32
2196a8d4 6257 "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3"))))
743aebd7 6258 (build-system cmake-build-system)
df217748 6259 (arguments
b468eedc
RW
6260 '(#:configure-flags
6261 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6262 (runpaths (map (lambda (s)
6263 (string-append lib "/evolution-data-server/" s))
ac033c7b
MB
6264 '("addressbook-backends" "calendar-backends"
6265 "camel-providers" "credential-modules"
6266 "registry-modules"))))
6267 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6268 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6269 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6270 "-DENABLE_VALA_BINDINGS=ON"
ac033c7b
MB
6271 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6272 (string-append lib "/evolution-data-server;")
6273 (string-join runpaths ";"))
6274 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
df217748
SB
6275 #:phases
6276 (modify-phases %standard-phases
b468eedc
RW
6277 (add-after 'unpack 'disable-failing-tests
6278 (lambda _
6279 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6280 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6281 (delete-file-recursively "tests/book-migration")
6282 (substitute* "tests/CMakeLists.txt"
6283 (("add_subdirectory\\(book-migration\\)") ""))
2196a8d4
KK
6284 ;; tests/libebook/client/test-book-client-view-operations:8077):
6285 ;; e-data-server-WARNING **:
6286 ;; (src/libedataserver/e-source-registry.c:264):thread_closure_free:
6287 ;; runtime check failed:
6288 ;; (!g_main_context_pending (closure->main_context))
6289 (substitute* "tests/libebook/client/CMakeLists.txt"
6290 (("test-book-client-view-operations") ""))
b468eedc 6291 #t))
743aebd7 6292 (add-after 'unpack 'patch-paths
df217748 6293 (lambda _
b468eedc
RW
6294 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6295 "tests/libedata-book/data-test-utils.c"
6296 "tests/libedata-book/test-book-cache-utils.c"
6297 "tests/libedata-cal/test-cal-cache-utils.c")
df217748 6298 (("/bin/rm") (which "rm")))
ac033c7b
MB
6299 #t))
6300 (add-before 'configure 'dont-override-rpath
6301 (lambda _
6302 (substitute* "CMakeLists.txt"
6303 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6304 ;; Remove it so the configure flag is respected.
6305 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
b63c06f1 6306 #t)))))
df217748
SB
6307 (native-inputs
6308 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6309 ("gobject-introspection" ,gobject-introspection)
6310 ("gperf" ,gperf)
6311 ("intltool" ,intltool)
6312 ("pkg-config" ,pkg-config)
a73c1cf8 6313 ("vala" ,vala)
743aebd7 6314 ("python" ,python-wrapper)))
df217748
SB
6315 (propagated-inputs
6316 ;; These are all in the Requires field of .pc files.
6317 `(("gtk+" ,gtk+)
6318 ("libical" ,libical)
6319 ("libsecret" ,libsecret)
6320 ("libsoup" ,libsoup)
6321 ("nss" ,nss)
6322 ("sqlite" ,sqlite)))
6323 (inputs
6324 `(("bdb" ,bdb)
6325 ("gcr" ,gcr)
14c297fd 6326 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
891199c6 6327 ("json-glib" ,json-glib)
b468eedc 6328 ("libcanberra" ,libcanberra)
743aebd7
MB
6329 ("libgweather" ,libgweather)
6330 ("mit-krb5" ,mit-krb5)
891199c6
MW
6331 ("openldap" ,openldap)
6332 ("webkitgtk" ,webkitgtk)))
df217748
SB
6333 (synopsis "Store address books and calendars")
6334 (home-page "https://wiki.gnome.org/Apps/Evolution")
6335 (description
6336 "This package provides a unified backend for programs that work with
6337contacts, tasks, and calendar information. It was originally developed for
6338Evolution (hence the name), but is now used by other packages as well.")
6339 (license license:lgpl2.0)))
bd7dfafa
SB
6340
6341(define-public caribou
6342 (package
6343 (name "caribou")
fe964bb5 6344 (version "0.4.21")
bd7dfafa
SB
6345 (source (origin
6346 (method url-fetch)
6347 (uri (string-append "mirror://gnome/sources/" name "/"
6348 (version-major+minor version) "/"
6349 name "-" version ".tar.xz"))
6350 (sha256
6351 (base32
fe964bb5 6352 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
6353 (build-system glib-or-gtk-build-system)
6354 (arguments
6355 '(#:phases
6356 (modify-phases %standard-phases
6357 (add-before
6358 'build 'pre-build
6359 (lambda* (#:key outputs #:allow-other-keys)
6360 (let ((out (assoc-ref outputs "out")))
6361 ;; Use absolute shared library path in Caribou-1.0.typelib.
6362 (substitute* "libcaribou/Makefile"
6363 (("--shared-library=libcaribou.so")
6364 (string-append "--shared-library="
6365 out "/lib/libcaribou.so")))
6366 #t)))
6367 (add-after 'install 'wrap-programs
6368 (lambda* (#:key outputs #:allow-other-keys)
6369 (let* ((out (assoc-ref outputs "out"))
6370 (python-path (getenv "PYTHONPATH"))
6371 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6372 (for-each
6373 (lambda (prog)
6374 (wrap-program prog
6375 `("PYTHONPATH" ":" prefix (,python-path))
6376 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6377 (list (string-append out "/bin/caribou-preferences")
6378 (string-append out "/libexec/antler-keyboard"))))
6379 #t)))))
6380 (native-inputs
6381 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6382 ("gobject-introspection" ,gobject-introspection)
6383 ("intltool" ,intltool)
6384 ("pkg-config" ,pkg-config)
9f7f5ba2 6385 ("python" ,python)
bd7dfafa
SB
6386 ("vala" ,vala)
6387 ("xsltproc" ,libxslt)))
6388 (propagated-inputs
6389 ;; caribou-1.0.pc refers to all these.
6390 `(("libgee" ,libgee)
6391 ("libxklavier" ,libxklavier)
6392 ("libxtst" ,libxtst)
6393 ("gtk+" ,gtk+)))
6394 (inputs
6395 `(("clutter" ,clutter)
6396 ("dconf" ,dconf)
6397 ("gtk+-2" ,gtk+-2)
9f7f5ba2 6398 ("python-pygobject" ,python-pygobject)))
bd7dfafa
SB
6399 (synopsis "Text entry and UI navigation application")
6400 (home-page "https://wiki.gnome.org/Projects/Caribou")
6401 (description
6402 "Caribou is an input assistive technology intended for switch and pointer
6403users.")
6404 (license license:lgpl2.1)))
ba5dd105 6405
ba5dd105
SB
6406(define-public network-manager
6407 (package
6408 (name "network-manager")
6425d87a 6409 (version "1.18.4")
ba5dd105
SB
6410 (source (origin
6411 (method url-fetch)
6412 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6413 (version-major+minor version) "/"
6414 "NetworkManager-" version ".tar.xz"))
9d3b6a5d 6415 (patches (search-patches "nm-plugin-path.patch"))
ba5dd105
SB
6416 (sha256
6417 (base32
6425d87a 6418 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
02710a9b 6419 (modules '((guix build utils)))
fd070f35 6420 (snippet
02710a9b
RW
6421 '(begin
6422 (substitute* "src/devices/wwan/nm-modem-manager.c"
6423 (("systemd") "elogind"))
6424 #t))))
ba5dd105
SB
6425 (build-system gnu-build-system)
6426 (outputs '("out"
6427 "doc")) ; 8 MiB of gtk-doc HTML
6428 (arguments
6429 '(#:configure-flags
6430 (let ((out (assoc-ref %outputs "out"))
6431 (doc (assoc-ref %outputs "doc"))
6432 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6433 "/sbin/dhclient")))
02710a9b
RW
6434 (list "--with-libnm-glib" ; needed by network-manager-applet
6435 "--with-systemd-journal=no"
6436 "--with-session-tracking=elogind"
6437 "--with-suspend-resume=elogind"
fd070f35
CM
6438 "--with-consolekit=no"
6439 "--with-crypto=gnutls"
ba5dd105
SB
6440 "--disable-config-plugin-ibft"
6441 "--sysconfdir=/etc"
6442 "--localstatedir=/var"
6443 (string-append "--with-udev-dir="
6444 out "/lib/udev")
6445 (string-append "--with-dbus-sys-dir="
6446 out "/etc/dbus-1/system.d")
6447 (string-append "--with-html-dir="
6448 doc "/share/gtk-doc/html")
6449 (string-append "--with-dhclient=" dhclient)))
6450 #:phases
6451 (modify-phases %standard-phases
02710a9b
RW
6452 ;; This bare "ls" invocation breaks some tests.
6453 (add-after 'unpack 'patch-ls-invocation
6454 (lambda _
6455 (substitute* "build-aux/ltmain.sh"
6456 (("`ls -")
6457 (string-append "`" (which "ls") " -")))
6458 #t))
b4f59d87
AW
6459 (add-before 'configure 'pre-configure
6460 (lambda _
6461 ;; These tests try to test aspects of network-manager's
6462 ;; functionality within restricted containers, but they don't
6463 ;; cope with being already in the Guix build jail as that jail
6464 ;; lacks some features that they would like to proxy over (like
6465 ;; a /sys mount).
d04687dc
HG
6466 (substitute* '("Makefile.in")
6467 (("src/platform/tests/test-address-linux") " ")
6468 (("src/platform/tests/test-cleanup-linux") " ")
6469 (("src/platform/tests/test-link-linux") " ")
6470 (("src/platform/tests/test-route-linux") " ")
02710a9b 6471 (("src/devices/tests/test-acd") "")
d04687dc
HG
6472 (("src/devices/tests/test-arping") " ")
6473 (("src/devices/tests/test-lldp") " ")
6474 (("src/tests/test-route-manager-linux") " "))
b4f59d87 6475 #t))
45f80fce
RW
6476 (add-after 'unpack 'delete-failing-tests
6477 (lambda _
02710a9b 6478 ;; FIXME: These three tests fail for unknown reasons.
45f80fce
RW
6479 ;; ERROR:libnm-core/tests/test-general.c:5842:
6480 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6481 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6482 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6483 ;; ERROR:libnm-core/tests/test-setting.c:907:
6484 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
45f80fce
RW
6485 (substitute* "Makefile.in"
6486 (("libnm-core/tests/test-general") " ")
6487 (("libnm-core/tests/test-keyfile") " ")
02710a9b 6488 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
45f80fce 6489 #t))
ba5dd105
SB
6490 (add-before 'check 'pre-check
6491 (lambda _
6492 ;; For the missing /etc/machine-id.
6493 (setenv "DBUS_FATAL_WARNINGS" "0")
6494 #t))
6495 (replace 'install
6496 (lambda _
45f80fce
RW
6497 (invoke "make"
6498 "sysconfdir=/tmp"
6499 "rundir=/tmp"
6500 "statedir=/tmp"
6501 "nmstatedir=/tmp/nm"
6502 "install")
6503 #t)))))
b93502d6
DC
6504 (propagated-inputs
6505 `(("glib" ,glib)))
ba5dd105
SB
6506 (native-inputs
6507 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6508 ("gobject-introspection" ,gobject-introspection)
d04687dc 6509 ("docbook-xsl" ,docbook-xsl)
ba5dd105 6510 ("intltool" ,intltool)
d04687dc
HG
6511 ("libxslt" ,libxslt)
6512 ("libxml2" ,libxml2)
ba5dd105
SB
6513 ("pkg-config" ,pkg-config)
6514 ;; For testing.
6515 ("python" ,python-wrapper)
6516 ("python-dbus" ,python-dbus)
6517 ("python-pygobject" ,python-pygobject)))
6518 (inputs
02710a9b
RW
6519 `(("coreutils" ,coreutils) ; for ls
6520 ("curl" ,curl)
856ca567
KK
6521 ("cyrus-sasl" ,cyrus-sasl)
6522 ("dbus-glib" ,dbus-glib)
ba5dd105 6523 ("dnsmasq" ,dnsmasq)
856ca567 6524 ("eudev" ,eudev)
ba5dd105
SB
6525 ("gnutls" ,gnutls)
6526 ("iptables" ,iptables)
6527 ("isc-dhcp" ,isc-dhcp)
d04687dc 6528 ("jansson" ,jansson)
ba5dd105
SB
6529 ("libgcrypt" ,libgcrypt)
6530 ("libgudev" ,libgudev)
6531 ("libndp" ,libndp)
6532 ("libnl" ,libnl)
6533 ("libsoup" ,libsoup)
142bdcbc 6534 ("modem-manager" ,modem-manager)
c27e02bf 6535 ("newt" ,newt) ;for the 'nmtui' console interface
ba5dd105
SB
6536 ("polkit" ,polkit)
6537 ("ppp" ,ppp)
6538 ("readline" ,readline)
fd070f35
CM
6539 ("util-linux" ,util-linux)
6540 ("elogind" ,elogind)))
ba5dd105 6541 (synopsis "Network connection manager")
f032d0be 6542 (home-page "https://www.gnome.org/projects/NetworkManager/")
ba5dd105
SB
6543 (description
6544 "NetworkManager is a system network service that manages your network
6545devices and connections, attempting to keep active network connectivity when
6546available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6547devices, and provides VPN integration with a variety of different VPN
6548services.")
29d2f451
LC
6549 (license license:gpl2+)
6550 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 6551
f2b96b3a
LC
6552(define-public network-manager-openvpn
6553 (package
6554 (name "network-manager-openvpn")
be1c4b07 6555 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
7d87eede 6556 (version "1.8.10")
f2b96b3a
LC
6557 (source (origin
6558 (method url-fetch)
6559 (uri (string-append
6560 "mirror://gnome/sources/NetworkManager-openvpn/"
6561 (version-major+minor version)
6562 "/NetworkManager-openvpn-" version ".tar.xz"))
6563 (sha256
6564 (base32
7d87eede 6565 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
f2b96b3a
LC
6566 (build-system gnu-build-system)
6567 (arguments
633422b0
JL
6568 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6569 #:phases
6570 (modify-phases %standard-phases
6571 (add-after 'configure 'patch-path
6572 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6573 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6574 "/sbin/openvpn"))
6575 (modprobe (string-append (assoc-ref inputs "kmod")
6576 "/bin/modprobe"))
6577 (pretty-ovpn (string-append "\"" ovpn "\"")))
6578 (for-each
6579 (lambda (file)
6580 (substitute* file
6581 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6582 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6583 (("\"/sbin/openvpn\"") pretty-ovpn)
6584 (("/sbin/modprobe") modprobe)))
6585 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6586 #t)))))
f2b96b3a
LC
6587 (native-inputs
6588 `(("pkg-config" ,pkg-config)
6589 ("intltool" ,intltool)))
6590 (inputs
6591 `(("gtk+" ,gtk+)
633422b0 6592 ("kmod" ,kmod)
f2b96b3a
LC
6593 ("openvpn" ,openvpn)
6594 ("network-manager" ,network-manager)
6595 ("network-manager-applet" ,network-manager-applet) ;for libnma
6596 ("libsecret" ,libsecret)))
6597 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6598 (synopsis "OpenVPN plug-in for NetworkManager")
6599 (description
6600 "This extension of NetworkManager allows it to take care of connections
6601to virtual private networks (VPNs) via OpenVPN.")
6602 (license license:gpl2+)
6603 (properties `((upstream-name . "NetworkManager-openvpn")))))
6604
d376129f
JL
6605(define-public network-manager-vpnc
6606 (package
6607 (name "network-manager-vpnc")
6608 (version "1.2.6")
6609 (source (origin
6610 (method url-fetch)
6611 (uri (string-append
6612 "mirror://gnome/sources/NetworkManager-vpnc/"
6613 (version-major+minor version)
6614 "/NetworkManager-vpnc-" version ".tar.xz"))
6615 (sha256
6616 (base32
6617 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6618 (build-system gnu-build-system)
6619 (arguments
6620 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6621 #:phases
6622 (modify-phases %standard-phases
6623 (add-after 'configure 'patch-path
6624 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6625 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6626 "/sbin/vpnc"))
6627 (modprobe (string-append (assoc-ref inputs "kmod")
6628 "/bin/modprobe"))
6629 (pretty-ovpn (string-append "\"" vpnc "\"")))
6630 (substitute* "src/nm-vpnc-service.c"
6631 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6632 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6633 (("\"/sbin/vpnc\"") pretty-ovpn)
6634 (("/sbin/modprobe") modprobe)))
6635 #t)))))
6636 (native-inputs
6637 `(("pkg-config" ,pkg-config)
6638 ("intltool" ,intltool)))
6639 (inputs
6640 `(("gtk+" ,gtk+)
6641 ("kmod" ,kmod)
6642 ("vpnc" ,vpnc)
6643 ("network-manager" ,network-manager)
6644 ("network-manager-applet" ,network-manager-applet) ;for libnma
6645 ("libsecret" ,libsecret)))
6646 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6647 (synopsis "VPNC plug-in for NetworkManager")
6648 (description
6649 "Support for configuring virtual private networks based on VPNC.
6650Compatible with Cisco VPN concentrators configured to use IPsec.")
6651 (license license:gpl2+)
6652 (properties `((upstream-name . "NetworkManager-vpnc")))))
6653
8378c87a
EF
6654(define-public network-manager-openconnect
6655 (package
6656 (name "network-manager-openconnect")
6657 (version "1.2.6")
6658 (source (origin
6659 (method url-fetch)
6660 (uri (string-append
6661 "mirror://gnome/sources/NetworkManager-openconnect/"
6662 (version-major+minor version)
6663 "/NetworkManager-openconnect-" version ".tar.xz"))
6664 (sha256
6665 (base32
6666 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6667 (build-system gnu-build-system)
6668 (arguments
6669 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6670 #:phases
6671 (modify-phases %standard-phases
6672 (add-after 'configure 'patch-path
6673 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6674 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6675 "/sbin/openconnect"))
6676 (modprobe (string-append (assoc-ref inputs "kmod")
6677 "/bin/modprobe"))
6678 (pretty-ovpn (string-append "\"" openconnect "\"")))
6679 (substitute* "src/nm-openconnect-service.c"
6680 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6681 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6682 (("/sbin/modprobe") modprobe)))
6683 #t)))))
6684 (native-inputs
6685 `(("intltool" ,intltool)
6686 ("network-manager-applet" ,network-manager-applet) ;for libnma
6687 ("pkg-config" ,pkg-config)))
6688 (inputs
6689 `(("gcr" ,gcr)
6690 ("gtk+" ,gtk+)
6691 ("kmod" ,kmod)
6692 ("libsecret" ,libsecret)
6693 ("libxml2" ,libxml2)
6694 ("network-manager" ,network-manager)
6695 ("openconnect" ,openconnect)))
6696 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6697 (synopsis "OpenConnect plug-in for NetworkManager")
6698 (description
6699 "This extension of NetworkManager allows it to take care of connections
6700to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6701Cisco's AnyConnect SSL VPN.")
6702 (license license:gpl2+)
e52b9534
LC
6703 (properties `((upstream-name . "NetworkManager-openconnect")
6704
6705 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6706 ;; file refers to account "nm-openconnect". Specify it here
6707 ;; so that 'network-manager-service-type' creates it.
6708 (user-accounts . ("nm-openconnect"))))))
8378c87a 6709
e5e1df4d
DC
6710(define-public mobile-broadband-provider-info
6711 (package
6712 (name "mobile-broadband-provider-info")
310c89e3 6713 (version "20190116")
e5e1df4d
DC
6714 (source (origin
6715 (method url-fetch)
6716 (uri (string-append
6717 "mirror://gnome/sources/"
6718 "mobile-broadband-provider-info/" version "/"
6719 "mobile-broadband-provider-info-" version ".tar.xz"))
6720 (sha256
6721 (base32
310c89e3 6722 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
e5e1df4d
DC
6723 (build-system gnu-build-system)
6724 (arguments
310c89e3 6725 `(#:tests? #f)) ; no tests
e5e1df4d
DC
6726 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6727 (synopsis "Database of broadband connection configuration")
6728 (description "Database of broadband connection configuration.")
6729 (license license:public-domain)))
6730
4d62a9d3
SB
6731(define-public network-manager-applet
6732 (package
6733 (name "network-manager-applet")
8fc3a337 6734 (version "1.8.24")
4d62a9d3
SB
6735 (source (origin
6736 (method url-fetch)
3df63444 6737 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
4d62a9d3 6738 (version-major+minor version) "/"
3df63444 6739 "network-manager-applet-" version ".tar.xz"))
4d62a9d3
SB
6740 (sha256
6741 (base32
8fc3a337 6742 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
cd7f718e
RW
6743 (build-system meson-build-system)
6744 (arguments
be1c4b07
TGR
6745 '(#:configure-flags
6746 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6747 (list "-Dlibnm_gtk=true")
6748 #:glib-or-gtk? #t))
4d62a9d3
SB
6749 (native-inputs
6750 `(("intltool" ,intltool)
cd7f718e 6751 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4d62a9d3 6752 ("gobject-introspection" ,gobject-introspection)
cd7f718e 6753 ("gtk-doc" ,gtk-doc)
4d62a9d3
SB
6754 ("pkg-config" ,pkg-config)))
6755 (propagated-inputs
6756 ;; libnm-gtk.pc refers to all these.
6757 `(("dbus-glib" ,dbus-glib)
6758 ("gtk+" ,gtk+)
6759 ("network-manager" ,network-manager)))
6760 (inputs
cd7f718e
RW
6761 `(("gcr" ,gcr)
6762 ("iso-codes" ,iso-codes)
4d62a9d3
SB
6763 ("libgudev" ,libgudev)
6764 ("libnotify" ,libnotify)
2116bfb3 6765 ("libsecret" ,libsecret)
240cee8a
KK
6766 ("libselinux" ,libselinux)
6767 ("jansson" ,jansson) ; for team support
3e9c80b2
FP
6768 ("modem-manager" ,modem-manager)
6769 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
4d62a9d3 6770 (synopsis "Applet for managing network connections")
f032d0be 6771 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
6772 (description
6773 "This package contains a systray applet for NetworkManager. It displays
6774the available networks and allows users to easily switch between them.")
6775 (license license:gpl2+)))
56196594
RW
6776
6777(define-public libxml++
6778 (package
6779 (name "libxml++")
8344a85e 6780 (version "3.0.1")
56196594
RW
6781 (source (origin
6782 (method url-fetch)
6783 (uri (string-append "mirror://gnome/sources/" name "/"
6784 (version-major+minor version) "/"
6785 name "-" version ".tar.xz"))
6786 (sha256
6787 (base32
8344a85e 6788 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
6789 (build-system gnu-build-system)
6790 ;; libxml++-3.0.pc refers to all these.
6791 (propagated-inputs
6792 `(("libxml2" ,libxml2)
6793 ("glibmm" ,glibmm)))
6794 (native-inputs
6795 `(("perl" ,perl)
6796 ("pkg-config" ,pkg-config)))
6797 (home-page "http://libxmlplusplus.sourceforge.net/")
6798 (synopsis "C++ wrapper for XML parser library libxml2")
6799 (description
6800 "This package provides a C++ wrapper for the XML parser library
6801libxml2.")
6802 (license license:lgpl2.1+)))
df12f04a 6803
b61d9627
AW
6804(define-public libxml++-2
6805 (package
6806 (inherit libxml++)
6807 (name "libxml++")
6808 (version "2.40.1")
6809 (source (origin
6810 (method url-fetch)
6811 (uri (string-append "mirror://gnome/sources/" name "/"
6812 (version-major+minor version) "/"
6813 name "-" version ".tar.xz"))
6814 (sha256
6815 (base32
6816 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6817
df12f04a
SB
6818(define-public gdm
6819 (package
6820 (name "gdm")
bcca95dc 6821 (version "3.32.0")
df12f04a
SB
6822 (source (origin
6823 (method url-fetch)
6824 (uri (string-append "mirror://gnome/sources/" name "/"
6825 (version-major+minor version) "/"
6826 name "-" version ".tar.xz"))
6827 (sha256
6828 (base32
bcca95dc 6829 "12ypdz9i24hwbl1d1wnnxb8zlvfa4f49n9ac5cl9d6h8qp4b0gb4"))))
957dbc0a 6830 (build-system glib-or-gtk-build-system)
df12f04a
SB
6831 (arguments
6832 '(#:configure-flags
af37e6bb 6833 `("--without-plymouth"
957dbc0a 6834 "--disable-systemd-journal"
51bc8357
TS
6835
6836 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6837 ;; instead of having to replace it (i.e., stopping the mingetty
6838 ;; service for TTY 1 before starting GDM).
6839 "--with-initial-vt=7"
6840
89c86562
TS
6841 ;; Use '/etc/environment' for locale settings instead of the
6842 ;; systemd-specific '/etc/locale.conf'.
6843 "--with-lang-file=/etc/environment"
6844
b74ef0ba
RW
6845 ,(string-append "--with-udevdir="
6846 (assoc-ref %outputs "out") "/lib/udev")
6847
af37e6bb
AW
6848 "--localstatedir=/var"
6849 ,(string-append "--with-default-path="
6850 (string-join '("/run/setuid-programs"
6851 "/run/current-system/profile/bin"
6852 "/run/current-system/profile/sbin")
957dbc0a
AW
6853 ":"))
6854 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6855 ;; XDG_DATA_DIRS so that it finds its schemas.
6856 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
6857 #:phases
6858 (modify-phases %standard-phases
6859 (add-before
6860 'configure 'pre-configure
e8c6e771 6861 (lambda* (#:key inputs outputs #:allow-other-keys)
df12f04a
SB
6862 ;; We don't have <systemd/sd-daemon.h>.
6863 (substitute* '("common/gdm-log.c"
6864 "daemon/gdm-server.c"
6865 "daemon/gdm-session-worker.c"
6866 "daemon/gdm-session-worker-job.c")
6867 (("#include <systemd/sd-daemon\\.h>") ""))
6868 ;; Use elogind for sd-login.
6869 (substitute* '("common/gdm-common.c"
6870 "daemon/gdm-manager.c"
6871 "libgdm/gdm-user-switching.c")
6872 (("#include <systemd/sd-login\\.h>")
6873 "#include <elogind/sd-login.h>"))
957dbc0a
AW
6874 ;; Check for elogind.
6875 (substitute* '("configure")
6876 (("libsystemd")
6877 "libelogind"))
af37e6bb
AW
6878 ;; Look for system-installed sessions in
6879 ;; /run/current-system/profile/share.
6880 (substitute* '("libgdm/gdm-sessions.c"
6881 "daemon/gdm-session.c"
6882 "daemon/gdm-display.c"
6883 "daemon/gdm-launch-environment.c")
6884 (("DATADIR \"/x")
6885 "\"/run/current-system/profile/share/x")
6886 (("DATADIR \"/wayland")
6887 "\"/run/current-system/profile/share/wayland")
6888 (("DATADIR \"/gnome")
6889 "\"/run/current-system/profile/share/gnome"))
c9ff92b5 6890 (let ((propagate '("GDM_CUSTOM_CONF"
1f564c15 6891 "GDM_DBUS_DAEMON"
c9ff92b5 6892 "GDM_X_SERVER"
41fa9f18 6893 "GDM_X_SESSION"
c9ff92b5
TS
6894 ;; XXX: Remove this once GNOME Shell is
6895 ;; a dependency of GDM.
6896 "XDG_DATA_DIRS")))
6897 (substitute* "daemon/gdm-session.c"
6898 (("set_up_session_environment \\(self\\);")
6899 (apply string-append
6900 "set_up_session_environment (self);\n"
6901 (map (lambda (name)
6902 (string-append
6903 "gdm_session_set_environment_variable "
6904 "(self, \"" name "\","
6905 "g_getenv (\"" name "\"));\n"))
6906 propagate)))))
a430a350
TS
6907 ;; Find the configuration file using an environment variable.
6908 (substitute* '("common/gdm-settings.c")
e0e6756f 6909 (("GDM_CUSTOM_CONF")
e57c2adb
TS
6910 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6911 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6912 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
6913 ;; Use service-supplied path to X.
6914 (substitute* '("daemon/gdm-server.c")
6915 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6916 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6917 (substitute* '("daemon/gdm-x-session.c")
1f564c15
TS
6918 (("\"dbus-daemon\"")
6919 "g_getenv (\"GDM_DBUS_DAEMON\")")
e0e6756f 6920 (("X_SERVER")
41fa9f18
TS
6921 "g_getenv (\"GDM_X_SERVER\")")
6922 (("GDMCONFDIR \"/Xsession\"")
6923 "g_getenv (\"GDM_X_SESSION\")"))
def6d6b6
TS
6924 ;; Use an absolute path for GNOME Session.
6925 (substitute* "daemon/gdm-launch-environment.c"
6926 (("\"gnome-session\"")
6927 (string-append "\"" (assoc-ref inputs "gnome-session")
6928 "/bin/gnome-session\"")))
e8c6e771
TS
6929 ;; Do not automatically select the placeholder session.
6930 (substitute* "daemon/gdm-session.c"
6931 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6932 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6933 "(g_strcmp0(search_dirs[i], \""
6934 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6935 "\") == 0 && "
6936 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6937 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
bcca95dc 6938 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
69544798 6939 #t))
8caa4589
TS
6940 ;; GDM requires that there be at least one desktop entry
6941 ;; file. This phase installs a hidden one that simply
6942 ;; fails. This enables users to use GDM with a
6943 ;; '~/.xsession' script with no other desktop entry files.
6944 ;; See <https://bugs.gnu.org/35068>.
6945 (add-after 'install 'install-placeholder-desktop-entry
6946 (lambda* (#:key inputs outputs #:allow-other-keys)
6947 (let* ((out (assoc-ref outputs "out"))
6948 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6949 (fail (string-append sessions "/fail.desktop")))
6950 (mkdir-p sessions)
6951 (with-output-to-file fail
6952 (lambda ()
6953 (for-each
6954 display
6955 '("[Desktop Entry]\n"
6956 "Encoding=UTF-8\n"
6957 "Type=Application\n"
6958 "Name=Fail\n"
6959 "Comment=This session fails immediately.\n"
6960 "NoDisplay=true\n"
6961 "Exec=false\n"))))
6962 #t)))
69544798
TS
6963 ;; GDM needs GNOME Session to run these applications. We link
6964 ;; their autostart files in `share/gdm/greeter/autostart'
6965 ;; because GDM explicitly tells GNOME Session to look there.
6966 ;;
6967 ;; XXX: GNOME Shell should be linked here too, but currently
6968 ;; GNOME Shell depends on GDM.
6969 (add-after 'install 'link-autostart-files
6970 (lambda* (#:key inputs outputs #:allow-other-keys)
6971 (let* ((out (assoc-ref outputs "out"))
6972 (autostart (string-append out "/share/gdm/"
6973 "greeter/autostart"))
6974 (settings (assoc-ref inputs "gnome-settings-daemon")))
6975 (mkdir-p autostart)
6976 (with-directory-excursion autostart
6977 (for-each (lambda (desktop)
6978 (symlink desktop (basename desktop)))
6979 (find-files (string-append settings "/etc/xdg"))))
6980 #t))))))
df12f04a
SB
6981 (native-inputs
6982 `(("dconf" ,dconf)
6983 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6984 ("gobject-introspection" ,gobject-introspection)
6985 ("intltool" ,intltool)
6986 ("itstool" ,itstool)
6987 ("pkg-config" ,pkg-config)
6988 ("xmllint" ,libxml2)))
6989 (inputs
6990 `(("accountsservice" ,accountsservice)
6991 ("check" ,check) ; for testing
6992 ("elogind" ,elogind)
def6d6b6 6993 ("gnome-session" ,gnome-session)
69544798 6994 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
6995 ("gtk+" ,gtk+)
6996 ("iso-codes" ,iso-codes)
6997 ("libcanberra" ,libcanberra)
6998 ("linux-pam" ,linux-pam)))
6999 (synopsis "Display manager for GNOME")
f032d0be 7000 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
7001 (description
7002 "GNOME Display Manager is a system service that is responsible for
7003providing graphical log-ins and managing local and remote displays.")
7004 (license license:gpl2+)))
8e1dd04f
SB
7005
7006(define-public libgtop
7007 (package
7008 (name "libgtop")
015fc036 7009 (version "2.40.0")
8e1dd04f
SB
7010 (source (origin
7011 (method url-fetch)
59487fc2 7012 (uri (string-append "mirror://gnome/sources/libgtop/"
8e1dd04f 7013 (version-major+minor version) "/"
59487fc2 7014 "libgtop-" version ".tar.xz"))
8e1dd04f
SB
7015 (sha256
7016 (base32
015fc036 7017 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8e1dd04f
SB
7018 (build-system gnu-build-system)
7019 (native-inputs
7020 `(("gobject-introspection" ,gobject-introspection)
7021 ("intltool" ,intltool)
7022 ("perl" ,perl)
7023 ("pkg-config" ,pkg-config)))
7024 (propagated-inputs
7025 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7026 (synopsis "Portable system access library")
7027 (home-page "https://www.gnome.org/")
7028 (description
7029 "LibGTop is a library to get system specific data such as CPU and memory
7030usage and information about running processes.")
7031 (license license:gpl2+)))
b96c4260
SB
7032
7033(define-public gnome-bluetooth
7034 (package
7035 (name "gnome-bluetooth")
723afae6 7036 (version "3.32.1")
b96c4260
SB
7037 (source (origin
7038 (method url-fetch)
7039 (uri (string-append "mirror://gnome/sources/" name "/"
7040 (version-major+minor version) "/"
7041 name "-" version ".tar.xz"))
7042 (sha256
7043 (base32
723afae6 7044 "1am1gf0nzwg6x1s8ly13j0xnjzgrfj06j0dp52x4zy9s67ywlhb4"))))
fd3b1171 7045 (build-system meson-build-system)
b96c4260
SB
7046 (native-inputs
7047 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
fd3b1171 7048 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
b96c4260
SB
7049 ("gobject-introspection" ,gobject-introspection)
7050 ("intltool" ,intltool)
7051 ("pkg-config" ,pkg-config)
7052 ("xmllint" ,libxml2)))
7053 (propagated-inputs
7054 ;; gnome-bluetooth-1.0.pc refers to all these.
723afae6
KK
7055 `(("glib" ,glib)
7056 ("gtk+" ,gtk+)))
b96c4260 7057 (inputs
723afae6
KK
7058 `(("eudev" ,eudev)
7059 ("libcanberra" ,libcanberra)
b96c4260
SB
7060 ("libnotify" ,libnotify)))
7061 (synopsis "GNOME Bluetooth subsystem")
7062 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7063 (description
7064 "This package contains tools for managing and manipulating Bluetooth
7065devices using the GNOME desktop.")
7066 (license license:lgpl2.1+)))
b645146f
SB
7067
7068(define-public gnome-control-center
7069 (package
7070 (name "gnome-control-center")
a6938bac 7071 (version "3.32.2")
b645146f
SB
7072 (source (origin
7073 (method url-fetch)
7074 (uri (string-append "mirror://gnome/sources/" name "/"
7075 (version-major+minor version) "/"
7076 name "-" version ".tar.xz"))
7077 (sha256
7078 (base32
a6938bac 7079 "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
59dac026 7080 (build-system meson-build-system)
b645146f 7081 (arguments
59dac026
RW
7082 '(#:glib-or-gtk? #t
7083 #:configure-flags
64c70430
KK
7084 (list "-Dcheese=false"
7085 (string-append "-Dgnome_session_libexecdir="
7086 (assoc-ref %build-inputs "gnome-session")
7087 "/libexec"))
59dac026 7088 #:phases
b645146f
SB
7089 (modify-phases %standard-phases
7090 (add-before 'configure 'patch-paths
7091 (lambda* (#:key inputs #:allow-other-keys)
7092 (let ((libc (assoc-ref inputs "libc"))
1df38cfc 7093 (tzdata (assoc-ref inputs "tzdata"))
341225ac 7094 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
64c70430
KK
7095 (nm-applet (assoc-ref inputs "network-manager-applet"))
7096 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
b645146f
SB
7097 (substitute* "panels/datetime/tz.h"
7098 (("/usr/share/zoneinfo/zone.tab")
7099 (string-append tzdata "/share/zoneinfo/zone.tab")))
982c0b36 7100 (substitute* "tests/datetime/test-endianess.c"
b645146f
SB
7101 (("/usr/share/locale")
7102 (string-append libc "/share/locale")))
1df38cfc
LC
7103 (substitute* "panels/region/cc-region-panel.c"
7104 (("\"gkbd-keyboard-display")
7105 (string-append "\"" libgnomekbd
7106 "/bin/gkbd-keyboard-display")))
341225ac
LC
7107 (substitute* '("panels/network/net-device-wifi.c"
7108 "panels/network/net-device.c"
7109 "panels/network/connection-editor/net-connection-editor.c")
7110 (("\"nm-connection-editor")
7111 (string-append "\"" nm-applet
7112 "/bin/nm-connection-editor")))
1acd107c
FP
7113 (substitute* '("panels/user-accounts/run-passwd.c")
7114 (("/usr/bin/passwd")
7115 "/run/setuid-programs/passwd"))
64c70430
KK
7116 (substitute* "panels/info/cc-info-overview-panel.c"
7117 (("DATADIR \"/gnome/gnome-version.xml\"")
7118 (string-append "\"" gnome-desktop
7119 "/share/gnome/gnome-version.xml\"")))
b645146f
SB
7120 #t))))))
7121 (native-inputs
7122 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
59dac026 7123 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
b645146f
SB
7124 ("intltool" ,intltool)
7125 ("pkg-config" ,pkg-config)
a6938bac
KK
7126 ("xsltproc" ,libxslt)
7127 ;; For tests
7128 ("hicolor-icon-theme" ,hicolor-icon-theme)
7129 ("python-dbusmock" ,python-dbusmock)
7130 ("xorg-server" ,xorg-server-for-tests)))
b645146f
SB
7131 (inputs
7132 `(("accountsservice" ,accountsservice)
7133 ("clutter-gtk" ,clutter-gtk)
7134 ("colord-gtk" ,colord-gtk)
7135 ("cups" ,cups)
7136 ("dconf" ,dconf)
7137 ("docbook-xsl" ,docbook-xsl)
3446ffb5 7138 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
7139 ("gnome-bluetooth" ,gnome-bluetooth)
7140 ("gnome-desktop" ,gnome-desktop)
7141 ("gnome-online-accounts" ,gnome-online-accounts)
14c297fd 7142 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
64c70430 7143 ("gnome-session" ,gnome-session)
b645146f
SB
7144 ("gnome-settings-daemon" ,gnome-settings-daemon)
7145 ("grilo" ,grilo)
a6938bac 7146 ("gsound" ,gsound)
b645146f
SB
7147 ("ibus" ,ibus)
7148 ("libcanberra" ,libcanberra)
1df38cfc 7149 ("libgnomekbd" ,libgnomekbd)
b645146f
SB
7150 ("libgudev" ,libgudev)
7151 ("libgtop" ,libgtop)
7152 ("libpwquality" ,libpwquality)
982c0b36 7153 ("libsecret" ,libsecret)
b645146f
SB
7154 ("libsoup" ,libsoup)
7155 ("libxml2" ,libxml2)
7156 ("libwacom" ,libwacom)
7157 ("mesa" ,mesa)
7158 ("mit-krb5" ,mit-krb5)
7159 ("modem-manager" ,modem-manager)
7160 ("network-manager-applet" ,network-manager-applet)
7161 ("polkit" ,polkit)
7162 ("pulseaudio" ,pulseaudio)
7163 ("smbclient" ,samba)
7164 ("tzdata" ,tzdata)
982c0b36 7165 ("udisks" ,udisks)
b645146f
SB
7166 ("upower" ,upower)))
7167 (synopsis "Utilities to configure the GNOME desktop")
7168 (home-page "https://www.gnome.org/")
7169 (description
7170 "This package contains configuration applets for the GNOME desktop,
7171allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7172properties, sound setup, desktop theme and background, user interface
7173properties, screen resolution, and other GNOME parameters.")
7174 (license license:gpl2+)))
a4df5756
SB
7175
7176(define-public gnome-shell
7177 (package
7178 (name "gnome-shell")
d5e615ca 7179 (version "3.32.2")
a4df5756
SB
7180 (source (origin
7181 (method url-fetch)
7182 (uri (string-append "mirror://gnome/sources/" name "/"
7183 (version-major+minor version) "/"
7184 name "-" version ".tar.xz"))
7185 (sha256
7186 (base32
d5e615ca 7187 "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5"))
a76d0f03
LC
7188 (patches (search-patches "gnome-shell-theme.patch"))
7189 (modules '((guix build utils)))
7190 (snippet
7191 #~(begin
a76d0f03
LC
7192 ;; Copy images for use on the GDM log-in screen.
7193 (copy-file #$(file-append %artwork-repository
7194 "/slim/0.x/background.png")
7195 "data/theme/guix-background.png")
45fef894
LC
7196 (copy-file #$(file-append %artwork-repository
7197 "/logo/Guix-horizontal-white.svg")
7198 "data/theme/guix-logo.svg")
a76d0f03 7199 #t))))
2b0c755d 7200 (build-system meson-build-system)
a4df5756 7201 (arguments
08185081
MB
7202 `(#:glib-or-gtk? #t
7203 #:disallowed-references ((,glib "bin")
11e1df56
LC
7204 ,inkscape ,libxslt
7205 ,ruby-sass)
2b0c755d
RW
7206 #:configure-flags
7207 (list "-Dsystemd=false"
7208 ;; Otherwise, the RUNPATH will lack the final path component.
7209 (string-append "-Dc_link_args=-Wl,-rpath="
7210 (assoc-ref %outputs "out")
7211 "/lib/gnome-shell"))
11e1df56 7212
08185081 7213 #:modules ((guix build meson-build-system)
11e1df56
LC
7214 (guix build utils)
7215 (srfi srfi-1))
7216
2b0c755d 7217 #:phases
a4df5756 7218 (modify-phases %standard-phases
2b0c755d 7219 (add-after 'unpack 'fix-keysdir
a4df5756
SB
7220 (lambda* (#:key outputs #:allow-other-keys)
7221 (let* ((out (assoc-ref outputs "out"))
7222 (keysdir (string-append
7223 out "/share/gnome-control-center/keybindings")))
2b0c755d
RW
7224 (substitute* "meson.build"
7225 (("keysdir =.*")
7226 (string-append "keysdir = '" keysdir "'\n")))
7227 #t)))
ebfe259f
MB
7228 (add-before 'configure 'convert-logo-to-png
7229 (lambda* (#:key inputs #:allow-other-keys)
7230 ;; Convert the logo from SVG to PNG.
7231 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7232 "data/theme/guix-logo.svg")))
ba00235a 7233 (add-before 'configure 'record-absolute-file-names
2472cdec
LC
7234 (lambda* (#:key inputs #:allow-other-keys)
7235 (substitute* "js/misc/ibusManager.js"
7236 (("'ibus-daemon'")
7237 (string-append "'" (assoc-ref inputs "ibus")
7238 "/bin/ibus-daemon'")))
d6fda4d3
LC
7239 (substitute* "js/ui/status/keyboard.js"
7240 (("'gkbd-keyboard-display'")
7241 (string-append "'" (assoc-ref inputs "libgnomekbd")
7242 "/bin/gkbd-keyboard-display'")))
2472cdec 7243 #t))
2b0c755d
RW
7244 (add-before 'check 'pre-check
7245 (lambda* (#:key inputs #:allow-other-keys)
7246 ;; Tests require a running X server.
7247 (system "Xvfb :1 &")
7248 (setenv "DISPLAY" ":1")
7249 #t))
7250 (add-after 'install 'wrap-programs
7251 (lambda* (#:key inputs outputs #:allow-other-keys)
7252 (let ((out (assoc-ref outputs "out"))
7253 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7254 (python-path (getenv "PYTHONPATH")))
7255 (wrap-program (string-append out "/bin/gnome-shell")
7256 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7257 ;; FIXME: gnome-shell loads these libraries with unqualified
7258 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7259 ;; alternative might be to patch gnome-shell.
7260 `("LD_LIBRARY_PATH" ":" prefix
7261 ,(map (lambda (pkg)
7262 (string-append (assoc-ref inputs pkg) "/lib"))
cd8dce8a
RW
7263 '("gdk-pixbuf"
7264 "gnome-bluetooth" "librsvg" "libgweather"))))
2b0c755d
RW
7265 (for-each
7266 (lambda (prog)
7267 (wrap-program (string-append out "/bin/" prog)
7268 `("PYTHONPATH" ":" prefix (,python-path))
7269 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7270 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
08185081 7271 #t)))
11e1df56
LC
7272 (replace 'glib-or-gtk-wrap
7273 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7274 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7275 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7276 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7277 ;; phase. Fix that since we don't need these.
7278 (wrap #:inputs (fold alist-delete inputs
7279 '("inkscape" "intltool" "glib:bin"))
7280 #:outputs outputs)))))))
a4df5756
SB
7281 (native-inputs
7282 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2b0c755d 7283 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
a4df5756 7284 ("gobject-introspection" ,gobject-introspection)
ebfe259f 7285 ("inkscape" ,inkscape)
a4df5756
SB
7286 ("intltool" ,intltool)
7287 ("pkg-config" ,pkg-config)
7288 ("python" ,python)
2b0c755d
RW
7289 ("ruby-sass" ,ruby-sass)
7290 ("sassc" ,sassc)
a76d0f03 7291 ("xsltproc" ,libxslt)
2b0c755d 7292 ;; For tests
0b4504f6 7293 ("xorg-server" ,xorg-server-for-tests)))
a4df5756
SB
7294 (inputs
7295 `(("accountsservice" ,accountsservice)
7296 ("caribou" ,caribou)
7297 ("docbook-xsl" ,docbook-xsl)
7298 ("evolution-data-server" ,evolution-data-server)
7299 ("gcr" ,gcr)
7300 ("gdm" ,gdm)
c5db31d4 7301 ("gdk-pixbuf" ,gdk-pixbuf+svg)
a4df5756
SB
7302 ("gjs" ,gjs)
7303 ("gnome-bluetooth" ,gnome-bluetooth)
a4df5756
SB
7304 ("gnome-desktop" ,gnome-desktop)
7305 ("gnome-settings-daemon" ,gnome-settings-daemon)
7306 ("gst-plugins-base" ,gst-plugins-base)
7307 ("ibus" ,ibus)
7308 ("libcanberra" ,libcanberra)
7309 ("libcroco" ,libcroco)
d6fda4d3 7310 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
a4df5756
SB
7311 ("libgweather" ,libgweather)
7312 ("libsoup" ,libsoup)
7313 ("mesa-headers" ,mesa-headers)
7314 ("mutter" ,mutter)
7315 ("network-manager-applet" ,network-manager-applet)
7316 ("polkit" ,polkit)
7317 ("pulseaudio" ,pulseaudio)
7318 ("python-pygobject" ,python-pygobject)
7319 ("startup-notification" ,startup-notification)
7320 ("telepathy-logger" ,telepathy-logger)
7321 ("upower" ,upower)
30e760f0
MB
7322 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7323 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7324 ("librsvg" ,librsvg)
2b0c755d 7325 ("geoclue" ,geoclue)))
a4df5756
SB
7326 (synopsis "Desktop shell for GNOME")
7327 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7328 (description
7329 "GNOME Shell provides core user interface functions for the GNOME desktop,
7330like switching to windows and launching applications.")
7331 (license license:gpl2+)))
c3f29bc9
RS
7332
7333(define-public gtk-vnc
7334 (package
7335 (name "gtk-vnc")
965ff023 7336 (version "0.9.0")
c3f29bc9
RS
7337 (source
7338 (origin
7339 (method url-fetch)
7340 (uri (string-append "mirror://gnome/sources/" name "/"
7341 (version-major+minor version) "/"
7342 name "-" version ".tar.xz"))
7343 (sha256
7344 (base32
965ff023 7345 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
7346 (build-system gnu-build-system)
7347 (arguments
7348 '(#:configure-flags '("--with-gtk=3.0")))
7349 (propagated-inputs
7350 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7351 (inputs
7352 `(("cyrus-sasl" ,cyrus-sasl)
7353 ("gnutls" ,gnutls)
7354 ("libgcrypt" ,libgcrypt)
7355 ("pulseaudio" ,pulseaudio)))
7356 (native-inputs
7357 `(("glib:bin" ,glib "bin")
7358 ("gobject-introspection" ,gobject-introspection)
7359 ("intltool" ,intltool)
7360 ("pkg-config" ,pkg-config)
2f17e939 7361 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
7362 ("vala" ,vala)))
7363 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7364 (synopsis "VNC viewer widget for GTK+")
7365 (description
7366 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7367applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7368GTK-VNC implements client side RFB protocol and authentication extensions such
7369as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7370 (license license:lgpl2.1+)))
8b877545 7371
dc69fe18
MW
7372(define-public gnome-autoar
7373 (package
7374 (name "gnome-autoar")
c7da8510 7375 (version "0.2.3")
dc69fe18
MW
7376 (source (origin
7377 (method url-fetch)
7378 (uri (string-append "mirror://gnome/sources/" name "/"
7379 (version-major+minor version) "/"
7380 name "-" version ".tar.xz"))
7381 (sha256
7382 (base32
c7da8510 7383 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
7384 (build-system glib-or-gtk-build-system)
7385 (native-inputs
7386 `(("gnome-common" ,gnome-common)
7387 ("gobject-introspection" ,gobject-introspection)
7388 ("pkg-config" ,pkg-config)))
7389 (propagated-inputs
7390 `(("libarchive" ,libarchive))) ; XXX document why
7391 (inputs
0a6e9e13 7392 `(("gtk+" ,gtk+)))
dc69fe18
MW
7393 (synopsis "Archives integration support for GNOME")
7394 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7395 (description
7396 "GNOME Autoar is a library which makes creating and extracting archives
7397easy, safe, and automatic.")
7398 (license license:lgpl2.1+)))
7399
b64e217f
MW
7400(define-public tracker
7401 (package
7402 (name "tracker")
5ada561c 7403 (version "2.2.2")
b64e217f
MW
7404 (source (origin
7405 (method url-fetch)
b5b0fd23 7406 (uri (string-append "mirror://gnome/sources/tracker/"
b64e217f 7407 (version-major+minor version) "/"
b5b0fd23 7408 "tracker-" version ".tar.xz"))
b64e217f
MW
7409 (sha256
7410 (base32
5ada561c
KK
7411 "1rp2c6k7ajcm553p9kpni87zgi9aplm3s01rl7pk575az5i399y6"))))
7412 (build-system meson-build-system)
c8bdf589 7413 (arguments
5ada561c
KK
7414 `(#:glib-or-gtk? #t
7415 #:configure-flags
7416 ;; Otherwise, the RUNPATH will lack the final path component.
7417 (list (string-append "-Dc_link_args=-Wl,-rpath="
7418 (assoc-ref %outputs "out") "/lib:"
7419 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7420 #:phases
c8bdf589
RW
7421 (modify-phases %standard-phases
7422 (add-after 'unpack 'disable-broken-tests
7423 (lambda _
c8bdf589
RW
7424 ;; These fail because the SPARQL backend could not be loaded.
7425 ;; That's because /etc/machine-id is missing, but
7426 ;; DBUS_FATAL_WARNINGS does not help here.
5ada561c
KK
7427 (substitute* "tests/libtracker-sparql/meson.build"
7428 (("'sparql',") ""))
7429 (substitute* "tests/tracker-steroids/meson.build"
7430 (("test\\(.*") ""))
c8bdf589
RW
7431 #t))
7432 ;; Two tests fail if LANG is not set.
7433 (add-before 'check 'pre-check
7434 (lambda _
7435 (setenv "LANG" "en_US.UTF-8")
7436 ;; For the missing /etc/machine-id.
7437 (setenv "DBUS_FATAL_WARNINGS" "0")
7438 #t)))))
b64e217f 7439 (native-inputs
5ada561c
KK
7440 `(("glib:bin" ,glib "bin")
7441 ("gnome-common" ,gnome-common)
b64e217f 7442 ("gobject-introspection" ,gobject-introspection)
5ada561c 7443 ("python-pygobject" ,python-pygobject)
b64e217f
MW
7444 ("intltool" ,intltool)
7445 ("pkg-config" ,pkg-config)
7446 ("vala" ,vala)))
7447 (inputs
7448 `(("gtk+" ,gtk+)
7449 ("dbus" ,dbus)
44ed6284 7450 ("sqlite" ,sqlite)
c8bdf589 7451 ("python" ,python)
b64e217f 7452 ("poppler" ,poppler)
b64e217f
MW
7453 ("libpng" ,libpng)
7454 ("libtiff" ,libtiff)
b64e217f 7455 ("zlib" ,zlib)
b64e217f 7456 ("libxml2" ,libxml2)
b64e217f 7457 ("libunistring" ,libunistring)
0ef48cd9 7458 ("json-glib" ,json-glib)
b64e217f 7459 ("openjpeg" ,openjpeg-1)
b64e217f 7460 ("libseccomp" ,libseccomp)
0ef48cd9 7461 ("libsoup" ,libsoup)
bb93042c 7462 ("libuuid" ,util-linux "lib")
5ada561c 7463 ("network-manager" ,network-manager)))
b64e217f
MW
7464 (synopsis "Metadata database, indexer and search tool")
7465 (home-page "https://wiki.gnome.org/Projects/Tracker")
7466 (description
7467 "Tracker is an advanced framework for first class objects with associated
7468metadata and tags. It provides a one stop solution for all metadata, tags,
7469shared object databases, search tools and indexing.")
7470 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7471 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7472 (license (list license:gpl2+
7473 license:lgpl2.1+
7474 license:lgpl2.0+))))
7475
03be9874
KK
7476(define-public tracker-miners
7477 (package
7478 (name "tracker-miners")
7479 (version "2.2.2")
7480 (source (origin
7481 (method url-fetch)
7482 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7483 (version-major+minor version)
7484 "/tracker-miners-" version ".tar.xz"))
7485 (sha256
7486 (base32
7487 "0kk5xaajamb8jlm6cfdbc2m3axzr6bnph84m7697xmb0pkg8hdiw"))))
7488 (build-system meson-build-system)
7489 (arguments
7490 `(#:glib-or-gtk? #t
7491 #:configure-flags
7492 (list "-Dminer_rss=false" ; libgrss is required.
7493 ;; Ensure the RUNPATH contains all installed library locations.
7494 (string-append "-Dc_link_args=-Wl,-rpath="
7495 (assoc-ref %outputs "out")
7496 "/lib/tracker-miners-2.0")
7497 ;; TODO: Enable functional tests. Currently, the following error
7498 ;; appears:
7499 ;; Exception: The functional tests require DConf to be the default
7500 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7501 "-Dfunctional_tests=false")))
7502 (native-inputs
7503 `(("dbus" ,dbus)
7504 ("intltool" ,intltool)
7505 ("glib:bin" ,glib "bin")
7506 ("gobject-introspection" ,gobject-introspection)
7507 ("pkg-config" ,pkg-config)
7508 ("python-pygobject" ,python-pygobject)))
7509 (inputs
7510 `(("exempi" ,exempi)
7511 ("ffmpeg" ,ffmpeg)
7512 ("flac" ,flac)
7513 ("giflib" ,giflib)
7514 ("glib" ,glib)
7515 ("gstreamer" ,gstreamer)
7516 ("icu4c" ,icu4c)
7517 ("libcue" ,libcue)
7518 ("libexif" ,libexif)
7519 ("libgsf" ,libgsf)
7520 ("libgxps" ,libgxps)
7521 ("libiptcdata" ,libiptcdata)
4bd428a7 7522 ("libjpeg" ,libjpeg-turbo)
03be9874
KK
7523 ("libosinfo" ,libosinfo)
7524 ("libpng" ,libpng)
7525 ("libseccomp" ,libseccomp)
7526 ("libtiff" ,libtiff)
7527 ("libvorbis" ,libvorbis)
7528 ("libxml2" ,libxml2)
7529 ("poppler" ,poppler)
7530 ("taglib" ,taglib)
7531 ("totem-pl-parser" ,totem-pl-parser)
7532 ("tracker" ,tracker)
7533 ("upower" ,upower)
7534 ("zlib" ,zlib)))
b64e217f
MW
7535 (synopsis "Metadata database, indexer and search tool")
7536 (home-page "https://wiki.gnome.org/Projects/Tracker")
7537 (description
7538 "Tracker is an advanced framework for first class objects with associated
7539metadata and tags. It provides a one stop solution for all metadata, tags,
7540shared object databases, search tools and indexing.")
7541 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7542 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7543 (license (list license:gpl2+
7544 license:lgpl2.1+
7545 license:lgpl2.0+))))
7546
8b877545
RS
7547(define-public nautilus
7548 (package
7549 (name "nautilus")
d682c599 7550 (version "3.32.3")
8b877545
RS
7551 (source (origin
7552 (method url-fetch)
7553 (uri (string-append "mirror://gnome/sources/" name "/"
7554 (version-major+minor version) "/"
7555 name "-" version ".tar.xz"))
7556 (sha256
7557 (base32
d682c599 7558 "1x9crzbj6rrrf8w5dkcx0c14j40byr4ijpzkwd5dcrbfvvdy1r01"))))
35e2d0cf 7559 (build-system meson-build-system)
8b877545 7560 (arguments
35e2d0cf 7561 '(#:glib-or-gtk? #t
8b877545
RS
7562 ;; XXX: FAIL: check-nautilus
7563 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7564 #:tests? #f))
7565 (native-inputs
35e2d0cf
R
7566 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7567 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7568 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
7569 ("gobject-introspection" ,gobject-introspection)
7570 ("intltool" ,intltool)
7571 ("pkg-config" ,pkg-config)))
8b877545 7572 (inputs
8b877545 7573 `(("dconf" ,dconf)
caf6c363 7574 ("gexiv2" ,gexiv2)
dd05e731 7575 ("gvfs" ,gvfs)
8b877545
RS
7576 ("exempi" ,exempi)
7577 ("gnome-desktop" ,gnome-desktop)
09d88905 7578 ("gnome-autoar" ,gnome-autoar)
3cafb9d4 7579 ("gst-plugins-base" ,gst-plugins-base)
ec66ebd4 7580 ("libseccomp" ,libseccomp)
35e2d0cf 7581 ("libselinux" ,libselinux)
09d88905 7582 ("tracker" ,tracker)
3cafb9d4 7583 ("tracker-miners" ,tracker-miners)
ce6027bf
SB
7584 ;; XXX: gtk+ is required by libnautilus-extension.pc
7585 ;;
7586 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7587 ;; package. See:
7588 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7589 ("gtk+" ,gtk+)
8b877545
RS
7590 ("libexif" ,libexif)
7591 ("libxml2" ,libxml2)))
7592 (synopsis "File manager for GNOME")
7593 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7594 (description
7595 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7596design and behaviour, giving the user a simple way to navigate and manage its
7597files.")
7598 (license license:gpl2+)))
3c697ffd
JR
7599
7600(define-public baobab
7601 (package
7602 (name "baobab")
e0c5f20c 7603 (version "3.32.0")
3c697ffd
JR
7604 (source (origin
7605 (method url-fetch)
7606 (uri (string-append
7607 "mirror://gnome/sources/" name "/"
7608 (version-major+minor version) "/"
7609 name "-" version ".tar.xz"))
7610 (sha256
7611 (base32
e0c5f20c 7612 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
d233d373
RJ
7613 (build-system meson-build-system)
7614 (arguments
7615 '(#:glib-or-gtk? #t))
3c697ffd
JR
7616 (native-inputs
7617 `(("intltool" ,intltool)
7618 ("pkg-config" ,pkg-config)
d233d373
RJ
7619 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7620 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
7621 ("itstool" ,itstool)
7622 ("xmllint" ,libxml2)
7623 ("glib" ,glib "bin")
7624 ("vala" ,vala)))
7625 (inputs
7626 `(("gtk+" ,gtk+)))
7627 (synopsis "Disk usage analyzer for GNOME")
7628 (description
7629 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7630usage in the GNOME desktop environment. It can easily scan device volumes or
7631a specific user-requested directory branch (local or remote). Once the scan
7632is complete it provides a graphical representation of each selected folder.")
7633 (home-page "https://wiki.gnome.org/Apps/Baobab")
7634 (license license:gpl2+)))
dc050251 7635
fdba447c
RS
7636(define-public gnome-backgrounds
7637 (package
7638 (name "gnome-backgrounds")
e04e8a8c 7639 (version "3.32.0")
fdba447c
RS
7640 (source
7641 (origin
7642 (method url-fetch)
7643 (uri (string-append "mirror://gnome/sources/" name "/"
7644 (version-major+minor version) "/"
7645 name "-" version ".tar.xz"))
7646 (sha256
7647 (base32
e04e8a8c 7648 "1s5krdmd3md44p1fgr2lqm5ifxb8s1vzx6hm11sb4cgzr4dw6lrz"))))
9ca381f0 7649 (build-system meson-build-system)
fdba447c
RS
7650 (native-inputs
7651 `(("intltool" ,intltool)))
e04e8a8c 7652 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
fdba447c
RS
7653 (synopsis "Background images for the GNOME desktop")
7654 (description
7655 "GNOME backgrounds package contains a collection of graphics files which
7656can be used as backgrounds in the GNOME Desktop environment. Additionally,
7657the package creates the proper framework and directory structure so that you
7658can add your own files to the collection.")
7659 (license (list license:gpl2+
7660 license:cc-by2.0
7661 license:cc-by-sa2.0
7662 license:cc-by-sa3.0))))
7663
b784b1a9
RS
7664(define-public gnome-screenshot
7665 (package
7666 (name "gnome-screenshot")
6acf4033 7667 (version "3.32.0")
b784b1a9
RS
7668 (source
7669 (origin
7670 (method url-fetch)
7671 (uri (string-append "mirror://gnome/sources/" name "/"
7672 (version-major+minor version) "/"
7673 name "-" version ".tar.xz"))
7674 (sha256
7675 (base32
6acf4033 7676 "09ha7dizjm5ymqpjyrqd10ijfb3xlqc1mwg9ajkrbfry11q9yq4b"))))
8356aefa 7677 (build-system meson-build-system)
b784b1a9
RS
7678 (native-inputs
7679 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8356aefa
RW
7680 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7681 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b784b1a9 7682 ("intltool" ,intltool)
8356aefa 7683 ("appstream-glib" ,appstream-glib)
b784b1a9
RS
7684 ("pkg-config" ,pkg-config)))
7685 (inputs
7686 `(("gtk+" ,gtk+)
7687 ("libcanberra" ,libcanberra)
7688 ("libx11" ,libx11)
7689 ("libxext" ,libxext)))
676e7cb4 7690 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
b784b1a9
RS
7691 (synopsis "Take pictures of your screen")
7692 (description
7693 "GNOME Screenshot is a utility used for taking screenshots of the entire
7694screen, a window or a user defined area of the screen, with optional
7695beautifying border effects.")
7696 (license license:gpl2+)))
7697
66d59111
RS
7698(define-public dconf-editor
7699 (package
7700 (name "dconf-editor")
66261451 7701 (version "3.32.0")
66d59111
RS
7702 (source
7703 (origin
7704 (method url-fetch)
7705 (uri (string-append "mirror://gnome/sources/" name "/"
7706 (version-major+minor version) "/"
7707 name "-" version ".tar.xz"))
7708 (sha256
7709 (base32
66261451 7710 "1fmsmlh16njjm948grz20mzrsvb4wjj7pl1fvkrkxqi7mhr177gi"))))
294ff39d 7711 (build-system meson-build-system)
86f2124b
LC
7712 (arguments
7713 '(#:phases (modify-phases %standard-phases
7714 (add-before 'configure 'set-glib-minimum-version
7715 (lambda _
7716 ;; Change the minimum required GLib version so that
7717 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
7718 ;; do that, it complains that "55" is not an even
7719 ;; number. See <https://bugs.gnu.org/37503>.
7720 (substitute* "editor/meson.build"
7721 (("2\\.55\\.1") "2.60.0"))
7722 #t)))))
66d59111
RS
7723 (native-inputs
7724 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
294ff39d 7725 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
66d59111 7726 ("intltool" ,intltool)
294ff39d
RW
7727 ("pkg-config" ,pkg-config)
7728 ("vala" ,vala)))
66d59111
RS
7729 (inputs
7730 `(("dconf" ,dconf)
7731 ("gtk+" ,gtk+)
7732 ("libxml2" ,libxml2)))
7733 (home-page "https://git.gnome.org/browse/dconf-editor")
7734 (synopsis "Graphical editor for GNOME's dconf configuration system")
7735 (description
7736 "Dconf-editor is a graphical tool for browsing and editing the dconf
7737configuration system for GNOME. It allows users to configure desktop
7738software that do not provide their own configuration interface.")
7739 (license license:lgpl2.1+)))
7740
96d36f38
AW
7741(define-public gnome-default-applications
7742 (package
7743 (name "gnome-default-applications")
7744 (version "0")
7745 (build-system trivial-build-system)
7746 (source #f)
7747 (propagated-inputs
8ad4f0aa
LC
7748 `(("nautilus" ,nautilus)
7749 ("evince" ,evince)))
96d36f38
AW
7750 (arguments
7751 `(#:modules ((guix build utils))
7752 #:builder
7753 (begin
7754 (use-modules (guix build utils))
7755 (let* ((out (assoc-ref %outputs "out"))
7756 (apps (string-append out "/share/applications")))
7757 (mkdir-p apps)
7758 (call-with-output-file (string-append apps "/defaults.list")
7759 (lambda (port)
7760 (format port "[Default Applications]\n")
8ad4f0aa
LC
7761 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7762 (format port "application/pdf=evince.desktop\n")
7763 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
7764 #t))))
7765 (synopsis "Default MIME type associations for the GNOME desktop")
7766 (description
7767 "Given many installed packages which might handle a given MIME type, a
7768user running the GNOME desktop probably has some preferences: for example,
7769that folders be opened by default by the Nautilus file manager, not the Baobab
7770disk usage analyzer. This package establishes that set of default MIME type
7771associations for GNOME.")
7772 (license license:gpl3+)
7773 (home-page #f)))
7774
3f1ed953
RG
7775(define-public libgovirt
7776 (package
7777 (name "libgovirt")
7778 (version "0.3.6")
7779 (source (origin
7780 (method url-fetch)
7781 (uri (string-append "mirror://gnome/sources/" name "/"
7782 (version-major+minor version) "/"
7783 name "-" version ".tar.xz"))
7784 (sha256
7785 (base32
7786 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7787 (build-system glib-or-gtk-build-system)
7788 (native-inputs
7789 `(("gettext" ,gettext-minimal)
7790 ("glib:bin" ,glib "bin")
7791 ("gobject-introspection" ,gobject-introspection)
7792 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7793 ("gtk+:bin" ,gtk+ "bin")
7794 ("pkg-config" ,pkg-config)))
7795 (inputs
7796 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7797 ("librest" ,rest)))
7798 (synopsis "GoVirt Library")
7799 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7800 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7801 (license license:gpl2+)))
7802
8672e5e9
RG
7803(define-public gnome-weather
7804 (package
7805 (name "gnome-weather")
7806 (version "3.34.0")
7807 (source (origin
7808 (method url-fetch)
7809 (uri (string-append "mirror://gnome/sources/" name "/"
7810 (version-major+minor version) "/"
7811 name "-" version ".tar.xz"))
7812 (sha256
7813 (base32
7814 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7815 (build-system meson-build-system)
7816 (native-inputs
7817 `(("gettext" ,gettext-minimal)
7818 ("glib:bin" ,glib "bin")
7819 ("gobject-introspection" ,gobject-introspection)
7820 ("gtk+:bin" ,gtk+ "bin")
7821 ("pkg-config" ,pkg-config)))
7822 (inputs
7823 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7824 ("appstream-glib" ,appstream-glib)
7825 ("geoclue" ,geoclue)
7826 ("gdk-pixbuf" ,gdk-pixbuf)
7827 ("gjs" ,gjs)
7828 ("gnome-desktop" ,gnome-desktop)
7829 ("libgweather" ,libgweather)))
7830 (synopsis "Weather monitoring for GNOME desktop")
7831 (description "GNOME Weather is a small application that allows you to
7832monitor the current weather conditions for your city, or anywhere in the
7833world.")
7834 (home-page "https://wiki.gnome.org/Apps/Weather")
7835 (license license:gpl2+)))
7836
dc050251
SB
7837(define-public gnome
7838 (package
7839 (name "gnome")
7840 (version (package-version gnome-shell))
7841 (source #f)
7842 (build-system trivial-build-system)
e3cfef22 7843 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251 7844 (propagated-inputs
8d8c6bff 7845 ;; TODO: Add or remove packages according to:
a8cda7f5 7846 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7922b6f7 7847 `(
8d8c6bff 7848 ;; GNOME-Core-OS-Services
7922b6f7 7849 ("accountsservice" ,accountsservice)
8d8c6bff
RG
7850 ("network-manager" ,network-manager)
7851 ("packagekit" ,packagekit)
7852 ("upower" ,upower)
7853 ;; GNOME-Core-Shell
7854 ("adwaita-icon-theme" ,adwaita-icon-theme)
7855 ("gdm" ,gdm)
7856 ("glib-networking" ,glib-networking)
7857 ("gnome-backgrounds" ,gnome-backgrounds)
7858 ("gnome-bluetooth" ,gnome-bluetooth)
d36fa50f 7859 ("gnome-color-manager" ,gnome-color-manager)
8d8c6bff
RG
7860 ("gnome-control-center" ,gnome-control-center)
7861 ("gnome-desktop" ,gnome-desktop)
7922b6f7 7862 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
d36fa50f 7863 ("gnome-initial-setup" ,gnome-initial-setup)
8d8c6bff 7864 ("gnome-keyring" ,gnome-keyring)
7922b6f7 7865 ("gnome-menus" ,gnome-menus)
8d8c6bff
RG
7866 ("gnome-session" ,gnome-session)
7867 ("gnome-settings-daemon" ,gnome-settings-daemon)
7868 ("gnome-shell-extensions" ,gnome-shell-extensions)
7869 ("gnome-shell" ,gnome-shell)
7870 ("gnome-themes-extra" ,gnome-themes-extra)
7922b6f7 7871 ("gnome-user-docs" ,gnome-user-docs)
d36fa50f 7872 ("gnome-user-share" ,gnome-user-share)
a8cda7f5 7873 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8d8c6bff
RG
7874 ("gvfs" ,gvfs)
7875 ("mutter" ,mutter)
7876 ("orca" ,orca)
d36fa50f
RG
7877 ("rygel" ,rygel)
7878 ("sushi" ,sushi)
8d8c6bff
RG
7879 ;; GNOME-Core-Utilities
7880 ("baobab" ,baobab)
7881 ("cheese" ,cheese)
7882 ("eog" ,eog)
7883 ("epiphany" ,epiphany)
7884 ("evince" ,evince)
7885 ("file-roller" ,file-roller)
7886 ("gedit" ,gedit)
d36fa50f 7887 ; TODO: ("gnome-boxes" ,gnome-boxes)
8d8c6bff
RG
7888 ("gnome-calculator" ,gnome-calculator)
7889 ("gnome-calendar" ,gnome-calendar)
7890 ("gnome-characters" ,gnome-characters)
7891 ("gnome-clocks" ,gnome-clocks)
7892 ("gnome-contacts" ,gnome-contacts)
7893 ("gnome-disk-utility" ,gnome-disk-utility)
7894 ("gnome-font-viewer" ,gnome-font-viewer)
7895 ("gnome-maps" ,gnome-maps)
d36fa50f
RG
7896 ; TODO: ("gnome-music" ,gnome-music)
7897 ; TODO: ("gnome-photos" ,gnome-photos)
8d8c6bff
RG
7898 ("gnome-screenshot" ,gnome-screenshot)
7899 ("gnome-system-monitor" ,gnome-system-monitor)
7900 ("gnome-terminal" ,gnome-terminal)
d36fa50f 7901 ("gnome-weather" ,gnome-weather)
8d8c6bff
RG
7902 ("nautilus" ,nautilus)
7903 ("simple-scan" ,simple-scan)
7904 ("totem" ,totem)
7922b6f7
RG
7905 ("yelp" ,yelp)
7906 ;; Others
7907 ("hicolor-icon-theme" ,hicolor-icon-theme)
7908 ("gnome-online-accounts" ,gnome-online-accounts)))
fe4e698d 7909 (synopsis "The GNU desktop environment")
dc050251
SB
7910 (home-page "https://www.gnome.org/")
7911 (description
fe4e698d
LC
7912 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7913applications for browsing the web, editing text and images, creating
7914documents and diagrams, playing media, scanning, and much more.")
dc050251 7915 (license license:gpl2+)))
4a526711
DT
7916
7917(define-public byzanz
7918 ;; The last stable release of Byzanz was in 2011, but there have been many
7919 ;; useful commits made to the Byzanz repository since then that it would be
7920 ;; silly to use such an old release.
7921 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7922 (package
7923 (name "byzanz")
7924 (version (string-append "0.2-1." (string-take commit 7)))
7925 (source (origin
7926 (method git-fetch)
7927 (uri (git-reference
5f13bf09 7928 (url "https://git.gnome.org/browse/byzanz")
4a526711 7929 (commit commit)))
5a6527e4 7930 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
7931 (sha256
7932 (base32
7933 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7934 (build-system glib-or-gtk-build-system)
7935 (arguments
7936 '(#:phases
7937 (modify-phases %standard-phases
189be331 7938 (replace 'bootstrap
4a526711
DT
7939 (lambda _
7940 ;; The build system cleverly detects that we're not building from
7941 ;; a release tarball and turns on -Werror for GCC.
7942 ;; Unsurprisingly, there is a warning during compilation that
7943 ;; causes the build to fail unnecessarily, so we remove the flag.
7944 (substitute* '("configure.ac")
7945 (("-Werror") ""))
7946 ;; The autogen.sh script in gnome-common will run ./configure
7947 ;; by default, which is problematic because source shebangs
7948 ;; have not yet been patched.
7949 (setenv "NOCONFIGURE" "t")
7950 (zero? (system* "sh" "autogen.sh")))))))
7951 (native-inputs
7952 `(("autoconf" ,autoconf)
7953 ("automake" ,automake)
7954 ("gnome-common" ,gnome-common)
7955 ("intltool" ,intltool)
7956 ("libtool" ,libtool)
7957 ("pkg-config" ,pkg-config)
7958 ("which" ,which)))
7959 (inputs
7960 `(("glib" ,glib)
7961 ("gstreamer" ,gstreamer)
7962 ("gst-plugins-base" ,gst-plugins-base)
7963 ("gtk+" ,gtk+)))
7964 (synopsis "Desktop recording program")
7965 (description "Byzanz is a simple desktop recording program with a
7966command-line interface. It can record part or all of an X display for a
7967specified duration and save it as a GIF encoded animated image file.")
7968 (home-page "https://git.gnome.org/browse/byzanz")
7969 (license license:gpl2+))))
3a9a4c51 7970
0ec171ec
MS
7971(define-public gsound
7972 (package
7973 (name "gsound")
7974 (version "1.0.2")
7975 (source (origin
7976 (method url-fetch)
7977 (uri (string-append "mirror://gnome/sources/" name "/"
7978 (version-major+minor version) "/"
7979 name "-" version ".tar.xz"))
7980 (sha256
7981 (base32
7982 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7983 (build-system glib-or-gtk-build-system)
7984 (native-inputs
7985 `(("pkg-config" ,pkg-config)
7986 ("gobject-introspection" ,gobject-introspection)
7987 ("vala" ,vala)))
7988 (inputs
7989 `(("glib" ,glib)
7990 ("libcanberra" ,libcanberra)))
7991 (home-page "https://wiki.gnome.org/Projects/GSound")
7992 (synopsis "GObject wrapper for libcanberra")
7993 (description
7994 "GSound is a small library for playing system sounds. It's designed to be
7995used via GObject Introspection, and is a thin wrapper around the libcanberra C
7996library.")
7997 (license license:lgpl2.1+)))
7998
3a9a4c51
RS
7999(define-public libzapojit
8000 (package
8001 (name "libzapojit")
8002 (version "0.0.3")
8003 (source (origin
8004 (method url-fetch)
8005 (uri (string-append "mirror://gnome/sources/" name "/"
8006 (version-major+minor version) "/"
8007 name "-" version ".tar.xz"))
8008 (sha256
8009 (base32
8010 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8011 (build-system gnu-build-system)
8012 (native-inputs
8013 `(("gobject-introspection" ,gobject-introspection)
8014 ("intltool" ,intltool)
8015 ("pkg-config" ,pkg-config)))
8016 (inputs
14c297fd 8017 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
3a9a4c51
RS
8018 ("json-glib" ,json-glib)
8019 ("rest" ,rest)))
8020 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8021 (synopsis "Library for accessing SkyDrive and Hotmail")
8022 (description
8023 "Libzapojit is a GLib-based library for accessing online service APIs of
8024Microsoft SkyDrive and Hotmail, using their REST protocols.")
8025 (license license:lgpl2.1+)))
9365ee1c 8026
60e2a9ae
MS
8027(define-public gnome-clocks
8028 (package
8029 (name "gnome-clocks")
c76d0dbc 8030 (version "3.32.0")
60e2a9ae
MS
8031 (source (origin
8032 (method url-fetch)
8033 (uri (string-append "mirror://gnome/sources/" name "/"
8034 (version-major+minor version) "/"
8035 name "-" version ".tar.xz"))
8036 (sha256
8037 (base32
c76d0dbc 8038 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
60e2a9ae
MS
8039 (build-system meson-build-system)
8040 (arguments
8041 '(#:glib-or-gtk? #t))
8042 (native-inputs
8043 `(("vala" ,vala)
8044 ("pkg-config" ,pkg-config)
8045 ("glib" ,glib "bin") ; for glib-compile-resources
8046 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8047 ("desktop-file-utils" ,desktop-file-utils)
8048 ("gettext" ,gettext-minimal)
8049 ("itstool" ,itstool)))
8050 (inputs
8051 `(("glib" ,glib)
8052 ("gtk+" ,gtk+)
8053 ("gsound" ,gsound)
8054 ("geoclue" ,geoclue)
8055 ("geocode-glib" ,geocode-glib)
8056 ("libgweather" ,libgweather)
8057 ("gnome-desktop" ,gnome-desktop)))
8058 (home-page "https://wiki.gnome.org/Apps/Clocks")
8059 (synopsis "GNOME's clock application")
8060 (description
8061 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8062desktop. It supports world clock, stop watch, alarms, and count down timer.")
8063 (license license:gpl3+)))
8064
3c474897
KY
8065(define-public gnome-calendar
8066 (package
8067 (name "gnome-calendar")
339b59bf 8068 (version "3.32.2")
3c474897
KY
8069 (source (origin
8070 (method url-fetch)
8071 (uri (string-append "mirror://gnome/sources/" name "/"
8072 (version-major+minor version) "/"
8073 name "-" version ".tar.xz"))
8074 (sha256
8075 (base32
339b59bf 8076 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
a49d3e37
MS
8077 (build-system meson-build-system)
8078 (arguments
8079 '(#:glib-or-gtk? #t
8080 ;; gnome-calendar has to be installed before the tests can be run
8081 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8082 #:tests? #f))
3c474897 8083 (native-inputs
a49d3e37
MS
8084 `(("gettext" ,gettext-minimal)
8085 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8086 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
8087 ("pkg-config" ,pkg-config)))
8088 (inputs
a49d3e37 8089 `(("evolution-data-server" ,evolution-data-server)
14c297fd 8090 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
a286b5eb
RW
8091 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8092 ("libdazzle" ,libdazzle)
b63c06f1 8093 ("libedataserverui" ,evolution-data-server)
a286b5eb
RW
8094 ("libgweather" ,libgweather)
8095 ("geoclue" ,geoclue)))
3c474897
KY
8096 (home-page "https://wiki.gnome.org/Apps/Calendar")
8097 (synopsis "GNOME's calendar application")
8098 (description
8099 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 8100desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
8101 (license license:gpl3+)))
8102
57b14665
MS
8103(define-public gnome-todo
8104 (package
8105 (name "gnome-todo")
9f3c6c88 8106 (version "3.28.1")
57b14665
MS
8107 (source (origin
8108 (method url-fetch)
8109 (uri (string-append "mirror://gnome/sources/" name "/"
8110 (version-major+minor version) "/"
8111 name "-" version ".tar.xz"))
8112 (sha256
8113 (base32
9f3c6c88 8114 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
57b14665
MS
8115 (build-system meson-build-system)
8116 (arguments
8117 '(#:glib-or-gtk? #t
8118 #:phases (modify-phases %standard-phases
8119 (add-after
8120 'install 'wrap-gnome-todo
8121 (lambda* (#:key inputs outputs #:allow-other-keys)
8122 (let ((out (assoc-ref outputs "out"))
8123 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8124 (python-path (getenv "PYTHONPATH")))
8125 (wrap-program (string-append out "/bin/gnome-todo")
8126 ;; XXX: gi plugins are broken.
8127 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8128 ;; For plugins.
8129 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8130 `("PYTHONPATH" ":" prefix (,python-path))))
8131 #t)))))
8132 (native-inputs
8133 `(("gettext" ,gettext-minimal)
8134 ("gobject-introspection" ,gobject-introspection)
8135 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8136 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8137 ("pkg-config" ,pkg-config)))
8138 (inputs
8139 `(("rest" ,rest) ; For Todoist plugin
8140 ("json-glib" ,json-glib) ; For Todoist plugin
b63c06f1 8141 ("libedataserverui" ,evolution-data-server)
57b14665
MS
8142 ("libical" ,libical)
8143 ("libpeas" ,libpeas)
8144 ("python-pygobject" ,python-pygobject)
8145 ("evolution-data-server" ,evolution-data-server)
14c297fd 8146 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
57b14665
MS
8147 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8148 (home-page "https://wiki.gnome.org/Apps/Todo")
8149 (synopsis "GNOME's ToDo Application")
8150 (description
8151 "GNOME To Do is a simplistic personal task manager designed to perfectly
8152fit the GNOME desktop.")
8153 (license license:gpl3+)))
8154
ab179eaf
SB
8155(define-public gnome-dictionary
8156 (package
8157 (name "gnome-dictionary")
cf81ddef 8158 (version "3.26.1")
ab179eaf
SB
8159 (source (origin
8160 (method url-fetch)
8161 (uri (string-append "mirror://gnome/sources/" name "/"
8162 (version-major+minor version) "/"
8163 name "-" version ".tar.xz"))
8164 (sha256
8165 (base32
cf81ddef
LC
8166 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8167 (build-system meson-build-system)
2776b5d5
MB
8168 (arguments '(#:glib-or-gtk? #t
8169 #:phases (modify-phases %standard-phases
8170 (add-after 'unpack 'patch-install-script
8171 (lambda _
8172 ;; This script attempts to compile glib schemas
8173 ;; and create an empty MIME database. We do
8174 ;; that elsewhere, so prevent it from running.
8175 (substitute* "build-aux/post-install.sh"
8176 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8177 #t)))))
ab179eaf
SB
8178 (native-inputs
8179 `(("glib:bin" ,glib "bin")
8180 ("gobject-introspection" ,gobject-introspection)
8181 ("intltool" ,intltool)
8182 ("itstool" ,itstool)
8183 ("pkg-config" ,pkg-config)
8184 ("xmllint" ,libxml2)))
8185 (inputs
8186 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8187 ("gtk+" ,gtk+)))
8188 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8189 (synopsis "Look up words in dictionary sources")
8190 (description
8191 "GNOME Dictionary can look for the definition or translation of a word in
8192existing databases over the internet.")
8193 (license license:gpl3+)))
8194
d13f3a03 8195(define-public gnome-tweaks
9365ee1c 8196 (package
d13f3a03 8197 (name "gnome-tweaks")
652af676 8198 (version "3.32.0")
9365ee1c
JN
8199 (source (origin
8200 (method url-fetch)
d13f3a03 8201 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9365ee1c 8202 (version-major+minor version) "/"
d13f3a03
RW
8203 "gnome-tweaks-" version ".tar.xz"))
8204 (patches
8205 (list (search-patch "gnome-tweaks-search-paths.patch")))
9365ee1c
JN
8206 (sha256
8207 (base32
652af676 8208 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
d13f3a03 8209 (build-system meson-build-system)
9365ee1c 8210 (arguments
d13f3a03
RW
8211 `(#:glib-or-gtk? #t
8212 #:configure-flags '("-Dlocalstatedir=/tmp"
8213 "-Dsysconfdir=/tmp")
9365ee1c 8214 #:imported-modules ((guix build python-build-system)
d13f3a03
RW
8215 ,@%meson-build-system-modules)
8216 #:phases
8217 (modify-phases %standard-phases
8218 (add-after 'install 'wrap
8219 (@@ (guix build python-build-system) wrap))
8220 (add-after 'wrap 'wrap-gi-typelib
8221 (lambda* (#:key inputs outputs #:allow-other-keys)
8222 (let ((out (assoc-ref outputs "out"))
8223 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8224 (wrap-program (string-append out "/bin/gnome-tweaks")
8225 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8226 #t)))))
9365ee1c 8227 (native-inputs
c7fc414e
RH
8228 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8229 ("intltool" ,intltool)
9365ee1c
JN
8230 ("pkg-config" ,pkg-config)))
8231 (inputs
c7fc414e
RH
8232 `(("gnome-desktop" ,gnome-desktop)
8233 ("gtk+" ,gtk+)
9365ee1c
JN
8234 ("gobject-introspection" ,gobject-introspection)
8235 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
8236 ("libnotify" ,libnotify)
8237 ("libsoup" ,libsoup)
8238 ("nautilus" ,nautilus)
8239 ("python" ,python)
8240 ("python-pygobject" ,python-pygobject)))
9365ee1c 8241 (synopsis "Customize advanced GNOME 3 options")
d13f3a03 8242 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9365ee1c 8243 (description
d13f3a03 8244 "GNOME Tweaks allows adjusting advanced configuration settings in
9365ee1c
JN
8245GNOME 3. This includes things like the fonts used in user interface elements,
8246alternative user interface themes, changes in window management behavior,
8247GNOME Shell appearance and extension, etc.")
8248 (license license:gpl3+)))
813f814a 8249
d13f3a03
RW
8250;; This package has been renamed by upstream.
8251(define-public gnome-tweak-tool
8252 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
8253
32ac717c
DT
8254(define-public gnome-shell-extensions
8255 (package
8256 (name "gnome-shell-extensions")
ae4c05e0 8257 (version "3.32.1")
32ac717c
DT
8258 (source (origin
8259 (method url-fetch)
8260 (uri (string-append "mirror://gnome/sources/" name "/"
8261 (version-major+minor version) "/"
8262 name "-" version ".tar.xz"))
8263 (sha256
8264 (base32
ae4c05e0 8265 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
100f625b 8266 (build-system meson-build-system)
32ac717c 8267 (arguments
100f625b 8268 '(#:configure-flags '("-Dextension_set=all")))
32ac717c 8269 (native-inputs
c9ea8873
LP
8270 `(("glib:bin" ,glib "bin")
8271 ("intltool" ,intltool)
32ac717c
DT
8272 ("pkg-config" ,pkg-config)))
8273 (propagated-inputs
c9ea8873 8274 `(("glib" ,glib)))
32ac717c
DT
8275 (synopsis "Extensions for GNOME Shell")
8276 (description "GNOME Shell extensions modify and extend GNOME Shell
8277functionality and behavior.")
8278 (home-page "https://extensions.gnome.org/")
8279 (license license:gpl3+)))
8280
813f814a
DT
8281(define-public arc-theme
8282 (package
8283 (name "arc-theme")
37781323 8284 (version "20190917")
813f814a 8285 (source (origin
a18f8eaf
BH
8286 (method git-fetch)
8287 (uri (git-reference
8288 (url "https://github.com/NicoHood/arc-theme.git")
8289 (commit version)))
8290 (file-name (git-file-name name version))
813f814a
DT
8291 (sha256
8292 (base32
37781323 8293 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
813f814a 8294 (build-system gnu-build-system)
d88884fa
EF
8295 (arguments
8296 '(#:phases
8297 (modify-phases %standard-phases
8298 ;; autogen.sh calls configure at the end of the script.
8299 (replace 'bootstrap
8300 (lambda _ (invoke "autoreconf" "-vfi"))))))
813f814a
DT
8301 (native-inputs
8302 `(("autoconf" ,autoconf)
8303 ("automake" ,automake)
a18f8eaf
BH
8304 ("glib" ,glib "bin") ; for glib-compile-resources
8305 ("gnome-shell" ,gnome-shell)
8306 ("gtk+" ,gtk+)
8307 ("inkscape" ,inkscape)
8308 ("optipng" ,optipng)
8309 ("pkg-config" ,pkg-config)
bed24ecf 8310 ("sassc" ,sassc/libsass-3.5)))
813f814a
DT
8311 (synopsis "A flat GTK+ theme with transparent elements")
8312 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
83132, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8314like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8315 (home-page "https://github.com/horst3180/arc-theme")
8316 ;; No "or later" language found.
a18f8eaf 8317 (license license:gpl3+)))
9987c57c 8318
d935e6a1 8319(define-public faba-icon-theme
9987c57c 8320 (package
d935e6a1 8321 (name "faba-icon-theme")
2eee7ee3 8322 (version "4.3")
d935e6a1
BT
8323 (source
8324 (origin
757e4027
TGR
8325 (method git-fetch)
8326 (uri (git-reference
8327 (url "https://github.com/snwh/faba-icon-theme.git")
8328 (commit (string-append "v" version))))
8329 (file-name (git-file-name name version))
d935e6a1 8330 (sha256
757e4027 8331 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
f6a9b345 8332 (build-system meson-build-system)
9987c57c 8333 (arguments
82da291a 8334 `(#:phases
9987c57c 8335 (modify-phases %standard-phases
82da291a 8336 (add-before 'configure 'disable-post-install
9987c57c 8337 (lambda _
82da291a
JL
8338 (substitute* "meson.build"
8339 (("meson.add_install_script.*") "")))))))
9987c57c
DT
8340 (native-inputs
8341 `(("autoconf" ,autoconf)
8342 ("automake" ,automake)))
d935e6a1
BT
8343 (synopsis "Faba icon theme")
8344 (description
8345 "Faba is a minimal icon set used as a basis for other themes such as
8346Moka")
8347 (home-page "https://snwh.org/moka")
8348 (license (list license:lgpl3+
8349 license:cc-by-sa4.0))))
8350
9987c57c
DT
8351(define-public moka-icon-theme
8352 (package
8b0e4177 8353 (inherit faba-icon-theme)
9987c57c 8354 (name "moka-icon-theme")
105a3625 8355 (version "5.4.0")
8c3f2170
TGR
8356 (source
8357 (origin
8358 (method git-fetch)
8359 (uri (git-reference
8360 (url "https://github.com/snwh/moka-icon-theme.git")
8361 (commit (string-append "v" version))))
8362 (file-name (git-file-name name version))
8363 (sha256
8364 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
550281fb
BT
8365 (propagated-inputs
8366 ;; Moka is based on Faba by using it as a fallback icon set instead of
8367 ;; bundling it, so we need to add it as a propagated input.
8368 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
8369 (synopsis "Moka icon theme")
8370 (description "Moka is a stylized desktop icon set, designed to be clear,
8371simple and consistent.")
fedde43b
BT
8372 (license (list license:gpl3+
8373 license:cc-by-sa4.0))))
6fd8f8d6
DT
8374
8375(define-public arc-icon-theme
8376 (package
8377 (name "arc-icon-theme")
c4180240 8378 (version "20161122")
bbf66cbf
TGR
8379 (source
8380 (origin
8381 (method git-fetch)
8382 (uri (git-reference
8383 (url "https://github.com/horst3180/arc-icon-theme.git")
8384 (commit version)))
8385 (file-name (git-file-name name version))
8386 (sha256
8387 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
6fd8f8d6 8388 (build-system gnu-build-system)
9e1ede95
JL
8389 (arguments
8390 `(#:phases
8391 (modify-phases %standard-phases
8392 (add-after 'unpack 'disable-configure-during-bootstrap
8393 (lambda _
8394 (substitute* "autogen.sh"
8395 (("^\"\\$srcdir/configure\".*") ""))
8396 #t)))))
6fd8f8d6
DT
8397 (native-inputs
8398 `(("autoconf" ,autoconf)
8399 ("automake" ,automake)))
8400 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8401 (propagated-inputs
8402 `(("moka-icon-theme" ,moka-icon-theme)))
8403 (synopsis "Arc icon theme")
8404 (description "The Arc icon theme provides a set of icons matching the
8405style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8406the Moka icon theme.")
8407 (home-page "https://github.com/horst3180/arc-icon-theme")
8408 (license license:gpl3+)))
6064a4e8
LF
8409
8410(define-public folks
8411 (package
8412 (name "folks")
d23495fa 8413 (version "0.11.4")
6064a4e8
LF
8414 (source (origin
8415 (method url-fetch)
8416 (uri (string-append
e5f4796e 8417 "mirror://gnome/sources/folks/"
6064a4e8 8418 (version-major+minor version) "/"
e5f4796e 8419 "folks-" version ".tar.xz"))
6064a4e8
LF
8420 (sha256
8421 (base32
d23495fa 8422 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6064a4e8
LF
8423 (build-system glib-or-gtk-build-system)
8424 (inputs
8425 `(("bdb" ,bdb)
8426 ("dbus-glib" ,dbus-glib)
8427 ("evolution-data-server" ,evolution-data-server)
8428 ("glib" ,glib)
8429 ("libgee" ,libgee)
8430 ("telepathy-glib" ,telepathy-glib)))
8431 (native-inputs
8432 `(("gobject-introspection" ,gobject-introspection)
8433 ("intltool" ,intltool)
8434 ("pkg-config" ,pkg-config)
8435 ("vala" ,vala)))
8436 (synopsis "Library to aggregate data about people")
8437 (description "Libfolks is a library that aggregates information about people
8438from multiple sources (e.g., Telepathy connection managers for IM contacts,
8439Evolution Data Server for local contacts, libsocialweb for web service contacts,
8440etc.) to create metacontacts. It's written in Vala, which generates C code when
8441compiled.")
8442 (home-page "https://wiki.gnome.org/Projects/Folks")
8443 (license license:lgpl2.1+)))
01ea778f
LF
8444
8445(define-public gfbgraph
8446 (package
8447 (name "gfbgraph")
8448 (version "0.2.3")
8449 (source (origin
8450 (method url-fetch)
8451 (uri (string-append
237d4cf7 8452 "mirror://gnome/sources/gfbgraph/"
01ea778f 8453 (version-major+minor version) "/"
237d4cf7 8454 "gfbgraph-" version ".tar.xz"))
01ea778f
LF
8455 (sha256
8456 (base32
8457 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8458 (build-system glib-or-gtk-build-system)
8459 (arguments
8460 `(#:tests? #f ; Tests appear to require the network.
8461 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8462 #:configure-flags '("--disable-gtk-doc"
8463 "--disable-static"
8464 "--enable-introspection")))
8465 (native-inputs
8466 `(("pkg-config" ,pkg-config)
8467 ("gobject-introspection" ,gobject-introspection)))
8468 (inputs
8469 `(("json-glib" ,json-glib)
14c297fd 8470 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
01ea778f
LF
8471 ("rest" ,rest)))
8472 (synopsis "GLib/GObject wrapper for the Facebook API")
8473 (description "This library allows you to use the Facebook API from
8474GLib/GObject code.")
8475 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8476 (license license:lgpl2.1+)))
3920868c 8477
8478(define-public libgnomekbd
8479 (package
8480 (name "libgnomekbd")
70f2b0f9 8481 (version "3.26.1")
3920868c 8482 (source (origin
8483 (method url-fetch)
d47fa82d 8484 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
3920868c 8485 (version-major+minor version) "/"
d47fa82d 8486 "libgnomekbd-" version ".tar.xz"))
3920868c 8487 (sha256
8488 (base32
70f2b0f9 8489 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
3920868c 8490 (build-system gnu-build-system)
8491 (native-inputs
8492 `(("pkg-config" ,pkg-config)
8493 ("glib" ,glib "bin")
8494 ("intltool" ,intltool)))
8495 (propagated-inputs
8496 ;; Referred to in .h files and .pc.
8497 `(("glib" ,glib)
8498 ("gtk+" ,gtk+)
8499 ("libxklavier" ,libxklavier)))
8500 (home-page "https://www.gnome.org")
8501 (synopsis "GNOME keyboard configuration library")
8502 (description
8503 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8504environment, which can notably display keyboard layouts.")
8505 (license license:lgpl2.0+)))
85327d0d 8506
8507;;; This package is no longer maintained:
8508;;; https://wiki.gnome.org/Attic/LibUnique
8509;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8510;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8511(define-public libunique
8512 (package
8513 (name "libunique")
8514 (version "3.0.2")
8515 (source (origin
8516 (method url-fetch)
8517 (uri (string-append "mirror://gnome/sources/" name "/"
8518 (version-major+minor version) "/"
8519 name "-" version ".tar.xz"))
8520 (sha256
8521 (base32
8522 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8523 (build-system glib-or-gtk-build-system)
8524 (arguments
8525 `(#:configure-flags '("--disable-static"
8526 "--disable-dbus" ; use gdbus
8527 "--enable-introspection")))
8528 (native-inputs
8529 `(("pkg-config" ,pkg-config)
8530 ("gobject-introspection" ,gobject-introspection)
8531 ("glib:bin" ,glib "bin")
8532 ("gtk-doc" ,gtk-doc)))
8533 (propagated-inputs
8534 ;; Referred to in .h files and .pc.
8535 `(("gtk+" ,gtk+)))
8536 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8537 (synopsis "Library for writing single instance applications")
8538 (description
8539 "Libunique is a library for writing single instance applications. If you
8540launch a single instance application twice, the second instance will either just
8541quit or will send a message to the running instance. Libunique makes it easy to
8542write this kind of application, by providing a base class, taking care of all
8543the IPC machinery needed to send messages to a running instance, and also
8544handling the startup notification side.")
8545 (license license:lgpl2.1+)))
54021cd8
RS
8546
8547(define-public gnome-calculator
8548 (package
8549 (name "gnome-calculator")
07ace641 8550 (version "3.32.2")
54021cd8
RS
8551 (source
8552 (origin
8553 (method url-fetch)
8554 (uri (string-append "mirror://gnome/sources/" name "/"
8555 (version-major+minor version) "/"
8556 name "-" version ".tar.xz"))
8557 (sha256
8558 (base32
07ace641 8559 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
2d475910
RW
8560 (build-system meson-build-system)
8561 (arguments '(#:glib-or-gtk? #t))
54021cd8
RS
8562 (native-inputs
8563 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
2d475910 8564 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
54021cd8
RS
8565 ("intltool" ,intltool)
8566 ("itstool" ,itstool)
2d475910 8567 ("vala" ,vala)
54021cd8
RS
8568 ("pkg-config" ,pkg-config)))
8569 (inputs
112e9083 8570 `(("glib" ,glib)
07ace641 8571 ("gtksourceview" ,gtksourceview)
54021cd8 8572 ("libsoup" ,libsoup)
112e9083 8573 ("libxml2" ,libxml2)
2c2da7ec 8574 ("mpc" ,mpc)
54021cd8
RS
8575 ("mpfr" ,mpfr)))
8576 (home-page "https://wiki.gnome.org/Apps/Calculator")
8577 (synopsis "Desktop calculator")
8578 (description
8579 "Calculator is an application that solves mathematical equations and
8580is suitable as a default application in a Desktop environment.")
8581 (license license:gpl3)))
0bd69759
RS
8582
8583(define-public xpad
8584 (package
8585 (name "xpad")
c85626bb 8586 (version "5.1.0")
0bd69759
RS
8587 (source
8588 (origin
8589 (method url-fetch)
08fda9c6
R
8590 (uri (string-append "https://launchpad.net/xpad/trunk/"
8591 version "/+download/"
0bd69759
RS
8592 name "-" version ".tar.bz2"))
8593 (sha256
8594 (base32
c85626bb 8595 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
8596 (build-system gnu-build-system)
8597 (native-inputs
08fda9c6
R
8598 `(("autoconf" ,autoconf)
8599 ("automake" ,automake)
8600 ("gtk+:bin" ,gtk+ "bin")
8601 ("intltool" ,intltool)
0bd69759
RS
8602 ("pkg-config" ,pkg-config)))
8603 (inputs
c72647fb 8604 `(("gtksourceview" ,gtksourceview-3)
0bd69759
RS
8605 ("libsm" ,libsm)))
8606 (home-page "https://wiki.gnome.org/Apps/Xpad")
8607 (synopsis "Virtual sticky note")
8608 (description
8609 "Xpad is a sticky note that strives to be simple, fault tolerant,
8610and customizable. Xpad consists of independent pad windows, each is
8611basically a text box in which notes can be written.")
8612 (license license:gpl3+)))
3ad7dce1
RS
8613
8614(define-public gucharmap
c60063ea
RW
8615 (let ((unicode-files
8616 '(("Blocks.txt"
1f8b5515 8617 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
c60063ea 8618 ("DerivedAge.txt"
1f8b5515 8619 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
c60063ea 8620 ("NamesList.txt"
1f8b5515 8621 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
c60063ea 8622 ("Scripts.txt"
1f8b5515 8623 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
c60063ea 8624 ("UnicodeData.txt"
1f8b5515 8625 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
c60063ea 8626 ("Unihan.zip"
1f8b5515 8627 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
c60063ea
RW
8628 (package
8629 (name "gucharmap")
1f8b5515 8630 (version "12.0.1")
c60063ea
RW
8631 (source
8632 (origin
8633 (method url-fetch)
8634 (uri (string-append "mirror://gnome/sources/" name "/"
8635 (version-major+minor version) "/"
8636 name "-" version ".tar.xz"))
8637 (sha256
8638 (base32
1f8b5515 8639 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
c60063ea
RW
8640 (build-system glib-or-gtk-build-system)
8641 (arguments
8642 `(#:modules ((ice-9 match)
8643 (guix build glib-or-gtk-build-system)
8644 (guix build utils))
8645 #:configure-flags
8646 (list "--with-unicode-data=../unicode-data")
8647 #:phases
8648 (modify-phases %standard-phases
8649 (add-after 'unpack 'prepare-unicode-data
8650 (lambda* (#:key inputs #:allow-other-keys)
8651 (mkdir-p "../unicode-data")
8652 (with-directory-excursion "../unicode-data"
8653 (for-each (match-lambda
8654 ((file _)
8655 (install-file (assoc-ref inputs file) ".")))
8656 ',unicode-files))
8657 #t)))))
8658 (native-inputs
8659 `(("desktop-file-utils" ,desktop-file-utils)
8660 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8661 ("gobject-introspection" ,gobject-introspection)
8662 ("intltool" ,intltool)
8663 ("itstool" ,itstool)
8664 ("pkg-config" ,pkg-config)
8665 ,@(map (match-lambda
8666 ((file hash)
8667 `(,file
8668 ,(origin
8669 (method url-fetch)
8670 (uri (string-append
1f8b5515 8671 "http://www.unicode.org/Public/12.0.0/ucd/"
c60063ea
RW
8672 file))
8673 (sha256 (base32 hash))))))
8674 unicode-files)
8675 ("unzip" ,unzip)))
8676 (inputs
8677 `(("gtk+" ,gtk+)
8678 ("xmllint" ,libxml2)))
8679 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8680 (synopsis "Unicode character picker and font browser")
8681 (description
8682 "This program allows you to browse through all the available Unicode
3ad7dce1
RS
8683characters and categories for the installed fonts, and to examine their
8684detailed properties. It is an easy way to find the character you might
8685only know by its Unicode name or code point.")
c60063ea 8686 (license license:gpl3+))))
04ce840a
RS
8687
8688(define-public bluefish
8689 (package
8690 (name "bluefish")
ea8afaf3 8691 (version "2.2.10")
04ce840a
RS
8692 (source
8693 (origin
8694 (method url-fetch)
8695 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8696 name "-" version ".tar.gz"))
8697 (sha256
8698 (base32
ea8afaf3 8699 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
04ce840a
RS
8700 (build-system gnu-build-system)
8701 (native-inputs
8702 `(("desktop-file-utils" ,desktop-file-utils)
8703 ("intltool" ,intltool)
8704 ("pkg-config" ,pkg-config)))
8705 (inputs
8706 `(("enchant" ,enchant)
8707 ("gtk+" ,gtk+)
8708 ("python" ,python-2)
8709 ("xmllint" ,libxml2)
8710 ("gucharmap" ,gucharmap)))
8711 (home-page "http://bluefish.openoffice.nl")
8712 (synopsis "Web development studio")
8713 (description
8714 "Bluefish is an editor targeted towards programmers and web developers,
8715with many options to write web sites, scripts and other code.
8716Bluefish supports many programming and markup languages.")
8717 (license license:gpl3+)))
1f6a73ee
RS
8718
8719(define-public gnome-system-monitor
8720 (package
8721 (name "gnome-system-monitor")
083cffaf 8722 (version "3.32.1")
1f6a73ee
RS
8723 (source
8724 (origin
8725 (method url-fetch)
8726 (uri (string-append "mirror://gnome/sources/" name "/"
8727 (version-major+minor version) "/"
8728 name "-" version ".tar.xz"))
8729 (sha256
8730 (base32
083cffaf 8731 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
85fb3df3
RW
8732 (build-system meson-build-system)
8733 (arguments
8734 '(#:glib-or-gtk? #t
8735 #:configure-flags '("-Dsystemd=false")))
1f6a73ee
RS
8736 (native-inputs
8737 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
85fb3df3 8738 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
1f6a73ee
RS
8739 ("intltool" ,intltool)
8740 ("itstool" ,itstool)
8741 ("libgtop" ,libgtop)
4985d9aa 8742 ("polkit" ,polkit)
1f6a73ee
RS
8743 ("pkg-config" ,pkg-config)))
8744 (inputs
8745 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8746 ("gtk+" ,gtk+)
8747 ("gtkmm" ,gtkmm)
8748 ("librsvg" ,librsvg)
4985d9aa
RW
8749 ("libxml2" ,libxml2)
8750 ("libwnck" ,libwnck)))
1f6a73ee
RS
8751 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8752 (synopsis "Process viewer and system resource monitor for GNOME")
8753 (description
8754 "GNOME System Monitor is a GNOME process viewer and system monitor with
8755an attractive, easy-to-use interface. It has features, such as a tree view
8756for process dependencies, icons for processes, the ability to hide processes,
8757graphical time histories of CPU/memory/swap usage and the ability to
8758kill/reinice processes.")
8759 (license license:gpl2+)))
3e00ac47
SB
8760
8761(define-public python-pyatspi
8762 (package
8763 (name "python-pyatspi")
4f937a32 8764 (version "2.34.0")
3e00ac47
SB
8765 (source (origin
8766 (method url-fetch)
8767 (uri (string-append
8768 "mirror://gnome/sources/pyatspi/"
8769 (version-major+minor version)
8770 "/pyatspi-" version ".tar.xz"))
8771 (sha256
8772 (base32
4f937a32 8773 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
3e00ac47 8774 (build-system gnu-build-system)
b95af3f6
JL
8775 (arguments
8776 `(#:phases
8777 (modify-phases %standard-phases
8778 (add-before 'build 'fix-atk-load
8779 (lambda _
8780 (substitute* "pyatspi/__init__.py"
8781 (("from gi.repository import Atspi")
8782 "gi.require_version('Gtk', '3.0')
8783from gi.repository import Gtk
8784from gi.repository import Atspi"))
8785 #t)))))
3e00ac47
SB
8786 (native-inputs
8787 `(("pkg-config" ,pkg-config)))
8788 (inputs
8789 `(("python" ,python)
8790 ("python-pygobject" ,python-pygobject)))
8791 (synopsis "Python client bindings for D-Bus AT-SPI")
8792 (home-page "https://wiki.linuxfoundation.org/accessibility\
8793/atk/at-spi/at-spi_on_d-bus")
8794 (description
8795 "This package includes a python client library for the AT-SPI D-Bus
8796accessibility infrastructure.")
8797 (license license:lgpl2.0)
8798 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
8799
8800(define-public orca
8801 (package
8802 (name "orca")
089e8585 8803 (version "3.32.0")
53201c0d
SB
8804 (source (origin
8805 (method url-fetch)
8806 (uri (string-append
8807 "mirror://gnome/sources/" name "/"
8808 (version-major+minor version) "/"
8809 name "-" version ".tar.xz"))
8810 (sha256
8811 (base32
089e8585 8812 "05jqzlg0f1x53hyl0l9282ynmw37159g6dsbrid12b7sjs12cc1i"))))
53201c0d
SB
8813 (build-system glib-or-gtk-build-system)
8814 (arguments
8815 '(#:phases
8816 (modify-phases %standard-phases
8817 (add-before 'configure 'qualify-xkbcomp
8818 (lambda* (#:key inputs #:allow-other-keys)
8819 (let ((xkbcomp (string-append
8820 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8821 (substitute* "src/orca/orca.py"
8822 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8823 #t))
8824 (add-after 'install 'wrap-orca
8825 (lambda* (#:key outputs #:allow-other-keys)
8826 (let* ((out (assoc-ref outputs "out"))
8827 (prog (string-append out "/bin/orca")))
8828 (wrap-program prog
8829 `("GI_TYPELIB_PATH" ":" prefix
8830 (,(getenv "GI_TYPELIB_PATH")))
8831 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8832 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8833 `("PYTHONPATH" ":" prefix
8834 (,(getenv "PYTHONPATH")))))
8835 #t)))))
8836 (native-inputs
8837 `(("intltool" ,intltool)
8838 ("itstool" ,itstool)
8839 ("pkg-config" ,pkg-config)
8840 ("xmllint" ,libxml2)))
8841 (inputs
8842 `(("at-spi2-atk" ,at-spi2-atk)
8843 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8844 ("gstreamer" ,gstreamer)
8845 ("gst-plugins-base" ,gst-plugins-base)
8846 ("gst-plugins-good" ,gst-plugins-good)
8847 ("gtk+" ,gtk+)
8848 ("python" ,python)
8849 ("python-pygobject" ,python-pygobject)
8850 ("python-pyatspi" ,python-pyatspi)
8851 ("python-speechd" ,speech-dispatcher)
8852 ("xkbcomp" ,xkbcomp)))
8853 (synopsis
8854 "Screen reader for individuals who are blind or visually impaired")
8855 (home-page "https://wiki.gnome.org/Projects/Orca")
8856 (description
8857 "Orca is a screen reader that provides access to the graphical desktop
8858via speech and refreshable braille. Orca works with applications and toolkits
8859that support the Assistive Technology Service Provider Interface (AT-SPI).")
8860 (license license:lgpl2.1+)))
411ba511
LC
8861
8862(define-public gspell
8863 (package
8864 (name "gspell")
7a6bbe9b 8865 (version "1.8.2")
411ba511
LC
8866 (source (origin
8867 (method url-fetch)
8868 (uri (string-append "mirror://gnome/sources/" name "/"
8869 (version-major+minor version) "/"
8870 name "-" version ".tar.xz"))
8871 (sha256
8872 (base32
7a6bbe9b 8873 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
411ba511
LC
8874 (patches (search-patches "gspell-dash-test.patch"))))
8875 (build-system glib-or-gtk-build-system)
8876 (arguments
8877 '(#:phases
8878 (modify-phases %standard-phases
8879 (add-before 'check 'pre-check
8880 (lambda* (#:key inputs #:allow-other-keys)
8881 ;; Tests require a running X server.
8882 (system "Xvfb :1 &")
8883 (setenv "DISPLAY" ":1")
8884
8885 ;; For the missing /etc/machine-id.
8886 (setenv "DBUS_FATAL_WARNINGS" "0")
8887
8888 ;; Allow Enchant and its Aspell backend to find the en_US
8889 ;; dictionary.
8890 (setenv "ASPELL_DICT_DIR"
8891 (string-append (assoc-ref inputs "aspell-dict-en")
8892 "/lib/aspell"))
8893 #t)))))
8894 (inputs
eccd35be 8895 `(("gtk+" ,gtk+)
a801ae4c
TGR
8896 ("glib" ,glib)
8897 ("iso-codes" ,iso-codes)))
411ba511
LC
8898 (native-inputs
8899 `(("glib" ,glib "bin")
26ba3f07 8900 ("gobject-introspection" ,gobject-introspection)
411ba511
LC
8901 ("pkg-config" ,pkg-config)
8902 ("xmllint" ,libxml2)
8903
8904 ;; For tests.
a801ae4c 8905 ("aspell-dict-en" ,aspell-dict-en)
ff337525 8906 ("xorg-server" ,xorg-server-for-tests)))
eccd35be 8907 (propagated-inputs
9b1bb757 8908 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
8909 (home-page "https://wiki.gnome.org/Projects/gspell")
8910 (synopsis "GNOME's alternative spell checker")
8911 (description
8912 "gspell provides a flexible API to add spell-checking to a GTK+
8913application. It provides a GObject API, spell-checking to text entries and
8914text views, and buttons to choose the language.")
8915 (license license:gpl2+)))
d1d739fa
CM
8916
8917(define-public gnome-planner
8918 (package
8919 (name "gnome-planner")
8920 (version "0.14.6")
8921 (source (origin
8922 (method url-fetch)
8923 (uri (string-append "mirror://gnome/sources/planner/"
8924 (version-major+minor version) "/planner-"
8925 version ".tar.xz"))
8926 (sha256
8927 (base32
8928 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8929 (build-system glib-or-gtk-build-system)
8930 (arguments
8931 ;; Disable the Python bindings because the Planner program functions
8932 ;; without them, and (as of 2017-06-13) we have not packaged all of
8933 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
8934 `(#:configure-flags
8935 (list "--disable-python"
8936 ,@(if (string=? "aarch64-linux" (%current-system))
8937 '("--build=aarch64-unknown-linux-gnu")
8938 '()))))
d1d739fa
CM
8939 (inputs
8940 `(("libgnomecanvas" ,libgnomecanvas)
8941 ("libgnomeui" ,libgnomeui)
8942 ("libglade" ,libglade)
8943 ("gnome-vfs" ,gnome-vfs)
8944 ("gconf" ,gconf)
8945 ("libxml2" ,libxml2)
8946 ("libxslt" ,libxslt)
8947 ("gtk+" ,gtk+)
8948 ("glib" ,glib)))
8949 (native-inputs
8950 `(("intltool" ,intltool)
8951 ("scrollkeeper" ,scrollkeeper)
8952 ("pkg-config" ,pkg-config)))
8953 (home-page "https://wiki.gnome.org/Apps/Planner")
8954 (synopsis "Project management software for the GNOME desktop")
8955 (description
8956 "GNOME Planner is a project management tool based on the Work Breakdown
8957Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8958the resources, tasks, and constraints that you define, Planner generates
8959various views into a project. For example, Planner can show a Gantt chart of
8960the project. It can show a detailed summary of tasks including their
8961duration, cost, and current progress. It can also show a report of resource
8962utilization that highlights under-utilized and over-utilized resources. These
8963views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 8964 (license license:gpl2+)))
64fce637
RS
8965
8966(define-public lollypop
8967 (package
8968 (name "lollypop")
ca32627a 8969 (version "1.2.7")
64fce637
RS
8970 (source
8971 (origin
8972 (method url-fetch)
b98eace8 8973 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
ca32627a 8974 "08f973788c7ca46d9285eec2ac818edb/"
3275d43d 8975 "lollypop-" version ".tar.xz"))
64fce637 8976 (sha256
ca32627a 8977 (base32 "0hvq6m4i62i0m63bg4gzpfb9rv1fk6vq5jl2g3ppcgm4srmfm77j"))))
aa498fc0 8978 (build-system meson-build-system)
64fce637
RS
8979 (arguments
8980 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
8981 ,@%meson-build-system-modules)
8982 #:glib-or-gtk? #t
5fc9b6c1
EF
8983 #:tests? #f ; no test suite
8984 #:phases
8985 (modify-phases %standard-phases
5fc9b6c1
EF
8986 (add-after 'install 'wrap-program
8987 (lambda* (#:key outputs #:allow-other-keys)
8988 (let ((out (assoc-ref outputs "out"))
8989 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8990 (wrap-program (string-append out "/bin/lollypop")
8991 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8992 #t))
8ac8b3b3
TGR
8993 (add-after 'install 'wrap-python
8994 (@@ (guix build python-build-system) wrap))
8995 (add-after 'install 'wrap-glib-or-gtk
8996 (@@ (guix build glib-or-gtk-build-system) wrap-all-programs)))))
64fce637
RS
8997 (native-inputs
8998 `(("intltool" ,intltool)
8999 ("itstool" ,itstool)
aa498fc0
TD
9000 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9001 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
9002 ("pkg-config" ,pkg-config)))
9003 (inputs
9004 `(("gobject-introspection" ,gobject-introspection)
8ac8b3b3 9005 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5fc9b6c1 9006 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
9007 ("libnotify" ,libnotify)
9008 ("libsecret" ,libsecret)
9009 ("libsoup" ,libsoup)
9010 ("python" ,python)
9011 ("python-beautifulsoup4" ,python-beautifulsoup4)
9012 ("python-gst" ,python-gst)
d029afdd 9013 ("python-pil" ,python-pillow)
64fce637 9014 ("python-pycairo" ,python-pycairo)
7460f346 9015 ("python-pygobject" ,python-pygobject-3.34)
64fce637
RS
9016 ("python-pylast" ,python-pylast)
9017 ("totem-pl-parser" ,totem-pl-parser)
9018 ("webkitgtk" ,webkitgtk)))
9019 (propagated-inputs
9020 `(;; gst-plugins-base is required to start Lollypop,
9021 ;; the others are required to play streaming.
64fce637
RS
9022 ("gst-plugins-good" ,gst-plugins-good)
9023 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 9024 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
9025 (synopsis "GNOME music playing application")
9026 (description
9027 "Lollypop is a music player designed to play well with GNOME desktop.
9028Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9029from artists and tracks from the web. It also fetches cover artworks
9030automatically and it can stream songs from online music services and charts.")
9031 (license license:gpl3+)))
d831d49d
AW
9032
9033(define-public gnome-video-effects
9034 (package
9035 (name "gnome-video-effects")
9036 (version "0.4.3")
9037 (source (origin
9038 (method url-fetch)
9039 (uri (string-append "mirror://gnome/sources/" name "/"
9040 (version-major+minor version) "/" name "-"
9041 version ".tar.xz"))
9042 (sha256
9043 (base32
9044 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9045 (build-system glib-or-gtk-build-system)
9046 (arguments
9047 `(#:out-of-source? #f))
9048 (native-inputs
9049 `(("glib:bin" ,glib "bin")
9050 ("intltool" ,intltool)
9051 ("gettext" ,gettext-minimal)
9052 ("pkg-config" ,pkg-config)))
9053 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9054 (synopsis "Video effects for Cheese and other GNOME applications")
9055 (description
9056 "A collection of GStreamer video filters and effects to be used in
9057photo-booth-like software, such as Cheese.")
9058 (license license:gpl2+)))
3511c780
AW
9059
9060(define-public cheese
9061 (package
9062 (name "cheese")
dd33b337 9063 (version "3.32.1")
3511c780
AW
9064 (source (origin
9065 (method url-fetch)
9066 (uri (string-append "mirror://gnome/sources/" name "/"
9067 (version-major+minor version) "/" name "-"
9068 version ".tar.xz"))
9069 (sha256
9070 (base32
dd33b337 9071 "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv"))))
3511c780
AW
9072 (arguments
9073 ;; Tests require GDK.
9074 `(#:tests? #f
9075 #:phases
9076 (modify-phases %standard-phases
9077 (add-before 'install 'skip-gtk-update-icon-cache
9078 (lambda _
9079 ;; Don't create 'icon-theme.cache'
9080 (substitute* "Makefile"
9081 (("gtk-update-icon-cache") (which "true")))
9082 #t))
9083 (add-after 'install 'wrap-cheese
9084 (lambda* (#:key inputs outputs #:allow-other-keys)
9085 (let ((out (assoc-ref outputs "out"))
9086 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9087 (wrap-program (string-append out "/bin/cheese")
9088 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9089 #t)))))
9090 (build-system glib-or-gtk-build-system)
9091 (native-inputs
9092 `(("glib:bin" ,glib "bin")
9093 ("intltool" ,intltool)
9094 ("itstool" ,itstool)
9095 ("libxml2" ,libxml2)
9096 ("pkg-config" ,pkg-config)
9097 ("vala" ,vala)))
9098 (propagated-inputs
6a19f03e
RW
9099 `(("gnome-video-effects" ,gnome-video-effects)
9100 ("clutter" ,clutter)
3511c780
AW
9101 ("clutter-gst" ,clutter-gst)
9102 ("clutter-gtk" ,clutter-gtk)
6a19f03e 9103 ("libcanberra" ,libcanberra)
3511c780
AW
9104 ("gdk-pixbuf" ,gdk-pixbuf)
9105 ("glib" ,glib)
6a19f03e
RW
9106 ("gstreamer" ,gstreamer)))
9107 (inputs
9108 `(("gnome-desktop" ,gnome-desktop)
3511c780 9109 ("gobject-introspection" ,gobject-introspection)
3511c780
AW
9110 ("gst-plugins-base" ,gst-plugins-base)
9111 ("gst-plugins-bad" ,gst-plugins-bad)
9112 ("gtk+" ,gtk+)
3511c780
AW
9113 ("libx11" ,libx11)
9114 ("libxtst" ,libxtst)))
9115 (home-page "https://wiki.gnome.org/Apps/Cheese")
9116 (synopsis "Webcam photo booth software for GNOME")
9117 (description
9118 "Cheese uses your webcam to take photos and videos. Cheese can also
9119apply fancy special effects and lets you share the fun with others.")
9120 (license license:gpl2+)))
3c5dbd2b 9121
9122(define-public sound-juicer
9123 (package
9124 (name "sound-juicer")
9125 (version "3.24.0")
9126 (source
9127 (origin
9128 (method url-fetch)
9129 (uri (string-append "mirror://gnome/sources/" name "/"
9130 (version-major+minor version) "/"
9131 name "-" version ".tar.xz"))
9132 (sha256
9133 (base32
9134 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9135 (build-system glib-or-gtk-build-system)
9136 (native-inputs
9137 `(("desktop-file-utils" ,desktop-file-utils)
9138 ("intltool" ,intltool)
9139 ("itstool" ,itstool)
9140 ("pkg-config" ,pkg-config)
9141 ("xmllint" ,libxml2)))
9142 (inputs
9143 `(("gtk+" ,gtk+)
9144 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9145 ("gstreamer" ,gstreamer)
9146 ("gst-plugins-base" ,gst-plugins-base)
9147 ("gst-plugins-good" ,gst-plugins-good)
9148 ("iso-codes" ,iso-codes)
9149 ("libbrasero-media3" ,brasero)
9150 ("libcanberra" ,libcanberra)
9151 ("libdiscid" ,libdiscid)
9152 ("libmusicbrainz" ,libmusicbrainz)
9153 ("neon" ,neon)))
9154 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9155 (synopsis "Audio music cd ripper")
9156 (description "Sound Juicer extracts audio from compact discs and convert it
9157into audio files that a personal computer or digital audio player can play.
9158It supports ripping to any audio codec supported by a GStreamer plugin, such as
9159mp3, Ogg Vorbis and FLAC")
9160 (license license:gpl2+)))
4e3fdeb7 9161
0d3f1708
CB
9162(define-public soundconverter
9163 (package
9164 (name "soundconverter")
fa75a213 9165 (version "3.0.1")
0d3f1708
CB
9166 (source
9167 (origin
9168 (method url-fetch)
9169 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9170 version "/+download/"
9171 "soundconverter-" version ".tar.xz"))
9172
9173 (sha256
fa75a213 9174 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
0d3f1708
CB
9175 (patches
9176 (search-patches
9177 "soundconverter-remove-gconf-dependency.patch"))))
9178 (build-system glib-or-gtk-build-system)
9179 (arguments
9180 `(#:imported-modules ((guix build python-build-system)
9181 (guix build glib-or-gtk-build-system)
9182 ,@%gnu-build-system-modules)
9183
9184 #:modules ((guix build glib-or-gtk-build-system)
9185 (guix build utils)
9186 ((guix build gnu-build-system) #:prefix gnu:)
9187 ((guix build python-build-system) #:prefix python:))
9188
9189 #:phases
9190 (modify-phases %standard-phases
0d3f1708
CB
9191 (add-after 'install 'wrap-soundconverter-for-python
9192 (assoc-ref python:%standard-phases 'wrap))
9193 (add-after 'install 'wrap-soundconverter
9194 (lambda* (#:key inputs outputs #:allow-other-keys)
9195 (let ((out (assoc-ref outputs "out"))
9196 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9197 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9198 (wrap-program (string-append out "/bin/soundconverter")
9199 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9200 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9201 #t)))))
9202 (native-inputs
9203 `(("intltool" ,intltool)
9204 ("pkg-config" ,pkg-config)
9205 ("glib:bin" ,glib "bin")))
9206 (inputs
9207 `(("gtk+" ,gtk+)
9208 ("python" ,python)
9209 ("python-pygobject" ,python-pygobject)
9210 ("gstreamer" ,gstreamer)
9211 ("gst-plugins-base" ,gst-plugins-base)))
9212 (home-page "http://soundconverter.org/")
9213 (synopsis "Convert between audio formats with a graphical interface")
9214 (description
9215 "SoundConverter supports converting between many audio formats including
9216Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9217configurable file renaming. ")
9218 (license license:gpl3)))
9219
4e3fdeb7 9220(define-public workrave
89f2d736
TGR
9221 (package
9222 (name "workrave")
aa51d92c 9223 (version "1.10.34")
89f2d736
TGR
9224 (source
9225 (origin
9226 (method git-fetch)
9227 (uri (git-reference
9228 (url "https://github.com/rcaelers/workrave.git")
c2e50474
TGR
9229 (commit (string-append "v" (string-map
9230 (match-lambda (#\. #\_) (chr chr))
9231 version)))))
89f2d736
TGR
9232 (file-name (git-file-name name version))
9233 (sha256
aa51d92c 9234 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
89f2d736 9235 (build-system glib-or-gtk-build-system)
d1c96847
MC
9236 (inputs `(("glib" ,glib)
9237 ("gtk+" ,gtk+)
9238 ("gdk-pixbuf" ,gdk-pixbuf)
9239 ("gtkmm" ,gtkmm)
9240 ("glibmm" ,glibmm)
9241 ("libx11" ,libx11)
9242 ("libxtst" ,libxtst)
9243 ("dconf" ,dconf)
9244 ("libice" ,libice)
9245 ("libsm" ,libsm)
9246 ("libxscrnsaver" ,libxscrnsaver)))
aa51d92c 9247 (native-inputs `(("boost" ,boost)
89f2d736
TGR
9248 ("pkg-config" ,pkg-config)
9249 ("gettext" ,gnu-gettext)
9250 ("autoconf" ,autoconf)
9251 ("autoconf-archive" , autoconf-archive)
9252 ("automake" ,automake)
9253 ("libtool" ,libtool)
9254 ("intltool" ,intltool)
89f2d736 9255 ("gobject-introspection" ,gobject-introspection)
aa51d92c
MC
9256 ("python3" ,python-3)
9257 ("python-jinja2" ,python-jinja2)))
89f2d736
TGR
9258 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9259 (description
9260 "Workrave is a program that assists in the recovery and prevention of
cc00249b
TGR
9261repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9262micro-pauses and rest breaks, and restricts you to your daily limit.")
89f2d736
TGR
9263 (home-page "http://www.workrave.org")
9264 (license license:gpl3+)))
312afa7d
LC
9265
9266(define-public ghex
9267 (package
9268 (name "ghex")
3748992a 9269 (version "3.18.4")
312afa7d
LC
9270 (source (origin
9271 (method url-fetch)
2fbab848 9272 (uri (string-append "mirror://gnome/sources/ghex/"
312afa7d 9273 (version-major+minor version) "/"
2fbab848 9274 "ghex-" version ".tar.xz"))
312afa7d
LC
9275 (sha256
9276 (base32
3748992a
KK
9277 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9278 (build-system meson-build-system)
9279 (arguments
9280 '(#:glib-or-gtk? #t
9281 #:phases
9282 (modify-phases %standard-phases
9283 (add-after 'unpack 'skip-gtk-update-icon-cache
9284 ;; Don't create 'icon-theme.cache'.
9285 (lambda _
9286 (substitute* "meson_post_install.py"
9287 (("gtk-update-icon-cache") (which "true")))
9288 #t)))))
312afa7d
LC
9289 (native-inputs
9290 `(("pkg-config" ,pkg-config)
3748992a 9291 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
312afa7d
LC
9292 ("gnome-common" ,gnome-common)
9293 ("which" ,which)
9294 ("intltool" ,intltool)
9295 ("yelp-tools" ,yelp-tools)
2fbab848 9296 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
312afa7d
LC
9297 (inputs
9298 `(("atk" ,atk)
9299 ("gtk" ,gtk+)))
9300 (synopsis "GNOME hexadecimal editor")
9301 (description "The GHex program can view and edit files in two ways:
9302hexadecimal or ASCII. It is useful for editing binary files in general.")
9303 (home-page "https://wiki.gnome.org/Apps/Ghex")
9304 (license license:gpl2)))
4b2ed6c2
RW
9305
9306(define-public libdazzle
9307 (package
9308 (name "libdazzle")
64fa66ba 9309 (version "3.33.90")
4b2ed6c2
RW
9310 (source (origin
9311 (method url-fetch)
687b4909 9312 (uri (string-append "mirror://gnome/sources/libdazzle/"
4b2ed6c2 9313 (version-major+minor version) "/"
687b4909 9314 "libdazzle-" version ".tar.xz"))
4b2ed6c2
RW
9315 (sha256
9316 (base32
64fa66ba 9317 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
4b2ed6c2
RW
9318 (build-system meson-build-system)
9319 (arguments
9320 `(#:phases
9321 (modify-phases %standard-phases
4b2ed6c2
RW
9322 (add-before 'check 'pre-check
9323 (lambda _
9324 ;; Tests require a running X server.
9325 (system "Xvfb :1 &")
9326 (setenv "DISPLAY" ":1")
9327 #t)))))
9328 (native-inputs
687b4909 9329 `(("glib" ,glib "bin") ; glib-compile-resources
4b2ed6c2 9330 ("pkg-config" ,pkg-config)
687b4909 9331 ;; For tests.
ff337525 9332 ("xorg-server" ,xorg-server-for-tests)))
4b2ed6c2
RW
9333 (inputs
9334 `(("glib" ,glib)
9335 ("gobject-introspection" ,gobject-introspection)
9336 ("gtk+" ,gtk+)
9337 ("vala" ,vala)))
9338 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9339 (synopsis "Companion library to GObject and Gtk+")
9340 (description "The libdazzle library is a companion library to GObject and
9341Gtk+. It provides various features that the authors wish were in the
9342underlying library but cannot for various reasons. In most cases, they are
9343wildly out of scope for those libraries. In other cases, they are not quite
9344generic enough to work for everyone.")
9345 (license license:gpl3+)))
7d3bb433
RW
9346
9347(define-public evolution
9348 (package
9349 (name "evolution")
06141f83 9350 (version "3.32.4")
7d3bb433
RW
9351 (source (origin
9352 (method url-fetch)
9353 (uri (string-append "mirror://gnome/sources/evolution/"
9354 (version-major+minor version) "/"
9355 "evolution-" version ".tar.xz"))
9356 (sha256
9357 (base32
06141f83 9358 "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh"))))
7d3bb433
RW
9359 (build-system cmake-build-system)
9360 (arguments
5229bea1
KK
9361 `(#:imported-modules (,@%cmake-build-system-modules
9362 (guix build glib-or-gtk-build-system))
9363 #:modules ((guix build cmake-build-system)
9364 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9365 (guix build utils))
9366 #:configure-flags
7d3bb433 9367 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
5229bea1 9368 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
7d3bb433 9369 ; in four years and cannot be built.
5229bea1
KK
9370 #:phases
9371 (modify-phases %standard-phases
9372 ;; The build system attempts to install user interface modules to the
9373 ;; output directory of the "evolution-data-server" package. This
9374 ;; change redirects that change.
9375 (add-after 'unpack 'patch-ui-module-dir
9376 (lambda* (#:key outputs #:allow-other-keys)
9377 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9378 (("\\$\\{edsuimoduledir\\}")
9379 (string-append (assoc-ref outputs "out")
9380 "/lib/evolution-data-server/ui-modules")))
9381 #t))
9382 (add-after 'install 'glib-or-gtk-compile-schemas
9383 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9384 (add-after 'install 'glib-or-gtk-wrap
9385 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
7d3bb433 9386 (native-inputs
ad6e168b 9387 `(("glib" ,glib "bin") ; glib-mkenums
7d3bb433
RW
9388 ("pkg-config" ,pkg-config)
9389 ("intltool" ,intltool)
9390 ("itstool" ,itstool)))
9391 (inputs
9392 `(("enchant" ,enchant)
9393 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9394 ("gcr" ,gcr)
ad6e168b 9395 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7d3bb433
RW
9396 ("gnome-autoar" ,gnome-autoar)
9397 ("gnome-desktop" ,gnome-desktop)
9398 ("gtkspell3" ,gtkspell3)
9399 ("highlight" ,highlight)
9400 ("libcanberra" ,libcanberra)
b63c06f1 9401 ("libedataserverui" ,evolution-data-server)
7d3bb433
RW
9402 ("libgweather" ,libgweather)
9403 ("libnotify" ,libnotify)
9404 ("libsoup" ,libsoup)
9405 ("nss" ,nss)
9406 ("openldap" ,openldap)
9407 ("webkitgtk" ,webkitgtk)
9408 ("ytnef" ,ytnef)))
9409 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9410 (synopsis "Manage your email, contacts and schedule")
9411 (description "Evolution is a personal information management application
9412that provides integrated mail, calendaring and address book
9413functionality.")
9414 ;; See COPYING for details.
23dbe621 9415 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7d3bb433 9416 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
23dbe621 9417 license:lgpl2.1+)))) ; smime/lib/*
169d63f5
AT
9418
9419(define-public gthumb
9420 (package
9421 (name "gthumb")
8280676b 9422 (version "3.8.2")
169d63f5
AT
9423 (source (origin
9424 (method url-fetch)
9425 (uri (string-append "mirror://gnome/sources/gthumb/"
9426 (version-major+minor version) "/"
9427 "gthumb-" version ".tar.xz"))
9428 (sha256
9429 (base32
8280676b 9430 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
169d63f5
AT
9431 (build-system meson-build-system)
9432 (arguments
9433 `(#:glib-or-gtk? #t
9434 #:configure-flags
9435 ;; Ensure the RUNPATH contains all installed library locations.
9436 (list (string-append "-Dc_link_args=-Wl,-rpath="
9437 (assoc-ref %outputs "out")
9438 "/lib/gthumb/extensions")
9439 (string-append "-Dcpp_link_args=-Wl,-rpath="
9440 (assoc-ref %outputs "out")
9441 "/lib/gthumb/extensions"))))
9442 (native-inputs
9443 `(("pkg-config" ,pkg-config)
9444 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9445 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9446 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9447 ("intltool" ,intltool)
9448 ("itstool" ,itstool)))
9449 (inputs
9450 `(("exiv2" ,exiv2)
9451 ("gtk" ,gtk+)
9452 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9453 ("gstreamer" ,gstreamer)
9454 ("clutter" ,clutter)
9455 ("clutter-gst" ,clutter-gst)
9456 ("clutter-gtk" ,clutter-gtk)
4bd428a7 9457 ("libjpeg" ,libjpeg-turbo)
169d63f5
AT
9458 ("libtiff" ,libtiff)
9459 ("libraw" ,libraw)))
9460 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9461 (synopsis "GNOME image viewer and browser")
9462 (description "GThumb is an image viewer, browser, organizer, editor and
9463advanced image management tool")
9464 (license license:gpl2+)))
08be02be
AT
9465
9466(define-public terminator
9467 (package
9468 (name "terminator")
9469 (version "1.91")
9470 (source (origin
9471 (method url-fetch)
9472 (uri (string-append "https://launchpad.net/" name "/"
9473 "gtk3/" version "/" "+download/"
9474 name "-" version ".tar.gz"))
9475 (sha256
9476 (base32
9477 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9478 (build-system python-build-system)
9479 (native-inputs
9480 `(("intltool" ,intltool)
9481 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9482 ("gettext" ,gettext-minimal)
9483 ("pkg-config" ,pkg-config)))
9484 (inputs
9485 `(("cairo" ,cairo)
9486 ("gobject-introspection" ,gobject-introspection)
96681d4b 9487 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
08be02be
AT
9488 ("python2-pycairo" ,python2-pycairo)
9489 ("python2-pygobject" ,python2-pygobject)
9490 ("python2-psutil" ,python2-psutil)
9491 ("vte" ,vte)))
9492 (arguments
96681d4b
TGR
9493 `(#:python ,python-2 ; Python 3 isn't supported
9494 #:imported-modules ((guix build glib-or-gtk-build-system)
9495 ,@%python-build-system-modules)
9496 #:modules ((guix build python-build-system)
9497 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9498 (guix build utils))
08be02be
AT
9499 #:phases
9500 (modify-phases %standard-phases
9501 (add-after
9502 'install 'wrap-program
9503 (lambda* (#:key outputs #:allow-other-keys)
9504 (let ((prog (string-append (assoc-ref outputs "out")
9505 "/bin/terminator")))
9506 (wrap-program prog
9507 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9508 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
96681d4b
TGR
9509 #t)))
9510 (add-after 'wrap-program 'glib-or-gtk-wrap
9511 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
08be02be
AT
9512 (home-page "https://gnometerminator.blogspot.com/")
9513 (synopsis "Store and run multiple GNOME terminals in one window")
9514 (description
9515 "Terminator allows you to run multiple GNOME terminals in a grid and
9516+tabs, and it supports drag and drop re-ordering of terminals.")
9517 (license license:gpl2)))
213315d4
JF
9518
9519(define-public libhandy
9520 (package
9521 (name "libhandy")
f6501b9f 9522 (version "0.0.12")
213315d4
JF
9523 (source
9524 (origin
9525 (method git-fetch)
9526 (uri (git-reference
9527 (url "https://source.puri.sm/Librem5/libhandy")
9528 (commit (string-append "v" version))))
9529 (file-name (git-file-name name version))
9530 (sha256
f6501b9f 9531 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
213315d4
JF
9532 (build-system meson-build-system)
9533 (arguments
9534 `(#:configure-flags
9535 '("-Dglade_catalog=disabled"
9536 "-Dgtk_doc=true")
9537 #:phases
9538 (modify-phases %standard-phases
213315d4
JF
9539 (add-before 'check 'pre-check
9540 (lambda _
9541 ;; Tests require a running X server.
9542 (system "Xvfb :1 &")
9543 (setenv "DISPLAY" ":1")
9544 #t)))))
9545 (inputs
9546 `(("gtk+" ,gtk+)))
9547 (native-inputs
9548 `(("glib:bin" ,glib "bin")
9549 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9550 ("vala" ,vala)
9551 ("gtk-doc" ,gtk-doc)
9552 ("pkg-config" ,pkg-config)
9553 ("gettext" ,gettext-minimal)
d41ee146
TGR
9554
9555 ;; Test suite dependencies.
ff337525 9556 ("xorg-server" ,xorg-server-for-tests)
d41ee146 9557 ("hicolor-icon-theme" ,hicolor-icon-theme)))
213315d4
JF
9558 (home-page "https://source.puri.sm/Librem5/libhandy")
9559 (synopsis "Library full of GTK+ widgets for mobile phones")
9560 (description "The aim of the handy library is to help with developing user
ae4e1414
JB
9561interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9562for usage on small and big screens.")
213315d4 9563 (license license:lgpl2.1+)))
a830d14d
GL
9564
9565(define-public libgit2-glib
9566 (package
9567 (name "libgit2-glib")
9568 (version "0.28.0.1")
9569 (source (origin
9570 (method url-fetch)
9571 (uri (string-append "mirror://gnome/sources/" name "/"
9572 (version-major+minor version) "/"
9573 name "-" version ".tar.xz"))
9574 (sha256
9575 (base32
9576 "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7"))))
9577 (build-system meson-build-system)
9578 (native-inputs
9579 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9580 ("gobject-introspection" ,gobject-introspection)
9581 ("intltool" ,intltool)
9582 ("libssh2" ,libssh2)
9583 ("pkg-config" ,pkg-config)
9584 ("python-pygobject" ,python-pygobject)
9585 ("python-wrapper" ,python-wrapper)
9586 ("vala" ,vala)))
9587 (inputs
9588 `(("glib" ,glib)
9589 ("libgit2" ,libgit2)))
9590 (synopsis "GLib wrapper around the libgit2 Git access library")
9591 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9592access library. It only implements the core plumbing functions, not really the
9593higher level porcelain stuff.")
9594 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9595 (license license:gpl2+)))
93beace0 9596
08db81c9
LP
9597(define-public gitg
9598 (package
9599 (name "gitg")
9600 (version "3.32.1")
9601 (source (origin
9602 (method url-fetch)
9603 (uri (string-append "mirror://gnome/sources/" name "/"
9604 (version-major+minor version) "/"
9605 name "-" version ".tar.xz"))
9606 (sha256
9607 (base32
9608 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9609 (build-system meson-build-system)
9610 (arguments
9611 `(#:glib-or-gtk? #t
9612 #:phases
9613 (modify-phases %standard-phases
9614 (add-after 'unpack 'disable-post-install-partially
9615 (lambda _
9616 (substitute* "meson_post_install.py"
9617 (("'python'") ; there are no python sources to compile
9618 (string-append "'" (which "true") "'"))
9619 (("gtk-update-icon-cache") (which "true")))
9620 #t))
9621 (add-after 'unpack 'fix-test-sources
9622 (lambda _
9623 (substitute* "tests/libgitg/test-commit.vala"
9624 (("/bin/bash") (which "bash")))
9625 #t))
9626 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9627 (lambda* (#:key outputs #:allow-other-keys)
9628 (let ((prog (string-append (assoc-ref outputs "out")
9629 "/bin/gitg")))
9630 (wrap-program prog
9631 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9632 #t))))))
9633 (inputs
9634 `(("glib" ,glib)
9635 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9636 ("gtk+" ,gtk+)
9637 ("gtkspell3" ,gtkspell3)
9638 ("gtksourceview" ,gtksourceview-3)
9639 ("json-glib" ,json-glib)
9640 ("libdazzle" ,libdazzle)
9641 ("libgee" ,libgee)
9642 ("libgit2" ,libgit2) ; propagated by libgit2-glib
9643 ("libgit2-glib" ,libgit2-glib)
9644 ("libpeas" ,libpeas)
9645 ("libsecret" ,libsecret)
9646 ("libsoup" ,libsoup)
9647 ("libxml2" ,libxml2)))
9648 (native-inputs
9649 `(("glib:bin" ,glib "bin")
9650 ("gtk+:bin" ,gtk+ "bin")
9651 ("gobject-introspection" ,gobject-introspection)
9652 ("intltool" ,intltool)
9653 ("pkg-config" ,pkg-config)
9654 ("vala" ,vala)))
9655 (synopsis "Graphical user interface for git")
9656 (description
9657 "gitg is a graphical user interface for git. It aims at being a small,
9658fast and convenient tool to visualize the history of git repositories.
9659Besides visualization, gitg also provides several utilities to manage your
9660repository and commit your work.")
9661 (home-page "https://wiki.gnome.org/Apps/Gitg")
9662 (license license:gpl2+)))
9663
1e600ed0
RW
9664(define-public gamin
9665 (package
9666 (name "gamin")
9667 (version "0.1.10")
9668 (source (origin
9669 (method url-fetch)
9670 (uri (string-append "mirror://gnome/sources/" name "/"
9671 (version-major+minor version) "/"
9672 name "-" version ".tar.bz2"))
9673 (sha256
9674 (base32
9675 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9676 (build-system gnu-build-system)
9677 (arguments
9678 `(#:phases
9679 (modify-phases %standard-phases
9680 (add-after 'unpack 'remove-deprecated-macro
9681 (lambda _
9682 (substitute* '("server/gam_node.c"
9683 "server/gam_subscription.h"
9684 "server/gam_node.h"
9685 "server/gam_subscription.c")
9686 (("G_CONST_RETURN") "const"))
9687 #t)))))
9688 (inputs
9689 `(("glib" ,glib)))
9690 (native-inputs
9691 `(("intltool" ,intltool)
9692 ("pkg-config" ,pkg-config)))
9693 (home-page "https://people.gnome.org/~veillard/gamin/")
9694 (synopsis "File alteration monitor")
9695 (description
9696 "Gamin is a file and directory monitoring system defined to be a subset
9697of the FAM (File Alteration Monitor) system. This is a service provided by a
9698library which allows to detect when a file or a directory has been modified.")
9699 (license license:gpl2+)))
9700
93beace0
DW
9701(define-public gnome-mahjongg
9702 (package
9703 (name "gnome-mahjongg")
9704 (version "3.35.1")
9705 (source (origin
9706 (method git-fetch)
9707 (uri (git-reference
9708 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9709 (commit version)))
9710 (file-name (git-file-name name version))
9711 (sha256
9712 (base32
9713 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9714 (build-system meson-build-system)
9715 (arguments
9716 `(#:glib-or-gtk? #t))
9717 (native-inputs
9718 `(("appstream-glib" ,appstream-glib)
9719 ("gettext" ,gettext-minimal)
9720 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9721 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9722 ("itstool" ,itstool)
9723 ("pkg-config" ,pkg-config)
9724 ("vala" ,vala)))
9725 (propagated-inputs
9726 `(("dconf" ,dconf)))
9727 (inputs
9728 `(("glib" ,glib)
9729 ("gtk+" ,gtk+)
9730 ("librsvg" ,librsvg)))
9731 (synopsis "Mahjongg tile-matching game")
9732 (description "GNOME Mahjongg is a game based on the classic Chinese
9733tile-matching game Mahjong. It features multiple board layouts, tile themes,
9734and a high score table.")
9735 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9736 (license license:gpl2+)))
f825476c 9737
76ea7632
RG
9738(define-public gnome-themes-extra
9739 (package
9740 (name "gnome-themes-extra")
9741 (version "3.28")
9742 (source
9743 (origin
9744 (method url-fetch)
9745 (uri (string-append "mirror://gnome/sources/" name "/"
9746 (version-major+minor version) "/" name "-"
9747 version ".tar.xz"))
9748 (sha256
9749 (base32
9750 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9751 (build-system gnu-build-system)
885424bf
RG
9752 (arguments
9753 '(#:configure-flags
9754 ;; Don't create 'icon-theme.cache'.
9755 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9756 (true (string-append coreutils "/bin/true")))
9757 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
76ea7632
RG
9758 (native-inputs
9759 `(("glib:bin" ,glib "bin")
9760 ("intltool" ,intltool)
9761 ("pkg-config" ,pkg-config)))
9762 (inputs
9763 `(("glib" ,glib)
9764 ("gtk+" ,gtk+)
9765 ("gtk+-2" ,gtk+-2)
9766 ("librsvg" ,librsvg)
9767 ("libxml2" ,libxml2)))
9768 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9769 (synopsis "GNOME Extra Themes")
9770 (description "This package provides themes and related elements that don't
9771really fit in other upstream packages. It offers legacy support for GTK+ 2
9772versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9773index files needed for Adwaita to be used outside of GNOME.")
9774 (license license:lgpl2.1+)))
9775
f825476c
LP
9776(define-public polari
9777 (package
9778 (name "polari")
9779 (version "3.32.2")
9780 (source (origin
9781 (method url-fetch)
9782 (uri (string-append "mirror://gnome/sources/polari/"
9783 (version-major+minor version)
9784 "/polari-" version ".tar.xz"))
9785 (sha256
9786 (base32
9787 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9788 (build-system meson-build-system)
9789 (arguments
9790 `(#:glib-or-gtk? #t
9791 #:phases
9792 (modify-phases %standard-phases
9793 (add-after 'unpack 'skip-gtk-update-icon-cache
9794 (lambda _
9795 (substitute* "meson/meson-postinstall.sh"
9796 (("gtk-update-icon-cache") (which "true")))
9797 #t))
9798 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9799 (lambda* (#:key outputs #:allow-other-keys)
9800 (let ((prog (string-append (assoc-ref outputs "out")
9801 "/bin/polari")))
9802 (wrap-program prog
9803 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9804 #t))))))
9805 (inputs
9806 `(("glib" ,glib)
9807 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9808 ("gspell" ,gspell)
9809 ("gtk+" ,gtk+)
9810 ("gjs" ,gjs)
9811 ("libsecret" ,libsecret)
9812 ("libsoup" ,libsoup)
9813 ("telepathy-glib" ,telepathy-glib)
9814 ("telepathy-logger" ,telepathy-logger)))
9815 (native-inputs
9816 `(("glib:bin" ,glib "bin")
9817 ("gobject-introspection" ,gobject-introspection)
9818 ("intltool" ,intltool)
9819 ("pkg-config" ,pkg-config)
9820 ("yelp-tools" ,yelp-tools)))
9821 (propagated-inputs
9822 `(("telepathy-idle" ,telepathy-idle)
9823 ("telepathy-mission-control" ,telepathy-mission-control)))
9824 (synopsis "Simple IRC Client")
9825 (description
9826 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9827integrate seamlessly with the GNOME desktop.")
9828 (home-page "https://wiki.gnome.org/Apps/Polari")
9829 (license license:gpl2+)))