gnu: libjpeg-turbo: Build with a minimal variant of CMake.
[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>
4e868d22 45;;; Copyright © 2019 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)))
0a38a497 2806 (inputs `(("libjpeg" ,libjpeg)
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)
5153 ("libjpeg" ,libjpeg)
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"))
e1f174ae 6253 (patches (search-patches "evolution-data-server-locales.patch"))
df217748
SB
6254 (sha256
6255 (base32
2196a8d4 6256 "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3"))))
743aebd7 6257 (build-system cmake-build-system)
df217748 6258 (arguments
b468eedc
RW
6259 '(#:configure-flags
6260 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6261 (runpaths (map (lambda (s)
6262 (string-append lib "/evolution-data-server/" s))
ac033c7b
MB
6263 '("addressbook-backends" "calendar-backends"
6264 "camel-providers" "credential-modules"
6265 "registry-modules"))))
6266 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6267 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6268 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6269 "-DENABLE_VALA_BINDINGS=ON"
ac033c7b
MB
6270 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6271 (string-append lib "/evolution-data-server;")
6272 (string-join runpaths ";"))
6273 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
df217748
SB
6274 #:phases
6275 (modify-phases %standard-phases
b468eedc
RW
6276 (add-after 'unpack 'disable-failing-tests
6277 (lambda _
6278 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6279 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6280 (delete-file-recursively "tests/book-migration")
6281 (substitute* "tests/CMakeLists.txt"
6282 (("add_subdirectory\\(book-migration\\)") ""))
2196a8d4
KK
6283 ;; tests/libebook/client/test-book-client-view-operations:8077):
6284 ;; e-data-server-WARNING **:
6285 ;; (src/libedataserver/e-source-registry.c:264):thread_closure_free:
6286 ;; runtime check failed:
6287 ;; (!g_main_context_pending (closure->main_context))
6288 (substitute* "tests/libebook/client/CMakeLists.txt"
6289 (("test-book-client-view-operations") ""))
b468eedc 6290 #t))
743aebd7 6291 (add-after 'unpack 'patch-paths
df217748 6292 (lambda _
b468eedc
RW
6293 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6294 "tests/libedata-book/data-test-utils.c"
6295 "tests/libedata-book/test-book-cache-utils.c"
6296 "tests/libedata-cal/test-cal-cache-utils.c")
df217748 6297 (("/bin/rm") (which "rm")))
ac033c7b
MB
6298 #t))
6299 (add-before 'configure 'dont-override-rpath
6300 (lambda _
6301 (substitute* "CMakeLists.txt"
6302 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6303 ;; Remove it so the configure flag is respected.
6304 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
b63c06f1 6305 #t)))))
df217748
SB
6306 (native-inputs
6307 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6308 ("gobject-introspection" ,gobject-introspection)
6309 ("gperf" ,gperf)
6310 ("intltool" ,intltool)
6311 ("pkg-config" ,pkg-config)
a73c1cf8 6312 ("vala" ,vala)
743aebd7 6313 ("python" ,python-wrapper)))
df217748
SB
6314 (propagated-inputs
6315 ;; These are all in the Requires field of .pc files.
6316 `(("gtk+" ,gtk+)
6317 ("libical" ,libical)
6318 ("libsecret" ,libsecret)
6319 ("libsoup" ,libsoup)
6320 ("nss" ,nss)
6321 ("sqlite" ,sqlite)))
6322 (inputs
6323 `(("bdb" ,bdb)
6324 ("gcr" ,gcr)
14c297fd 6325 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
891199c6 6326 ("json-glib" ,json-glib)
b468eedc 6327 ("libcanberra" ,libcanberra)
743aebd7
MB
6328 ("libgweather" ,libgweather)
6329 ("mit-krb5" ,mit-krb5)
891199c6
MW
6330 ("openldap" ,openldap)
6331 ("webkitgtk" ,webkitgtk)))
df217748
SB
6332 (synopsis "Store address books and calendars")
6333 (home-page "https://wiki.gnome.org/Apps/Evolution")
6334 (description
6335 "This package provides a unified backend for programs that work with
6336contacts, tasks, and calendar information. It was originally developed for
6337Evolution (hence the name), but is now used by other packages as well.")
6338 (license license:lgpl2.0)))
bd7dfafa
SB
6339
6340(define-public caribou
6341 (package
6342 (name "caribou")
fe964bb5 6343 (version "0.4.21")
bd7dfafa
SB
6344 (source (origin
6345 (method url-fetch)
6346 (uri (string-append "mirror://gnome/sources/" name "/"
6347 (version-major+minor version) "/"
6348 name "-" version ".tar.xz"))
6349 (sha256
6350 (base32
fe964bb5 6351 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
6352 (build-system glib-or-gtk-build-system)
6353 (arguments
6354 '(#:phases
6355 (modify-phases %standard-phases
6356 (add-before
6357 'build 'pre-build
6358 (lambda* (#:key outputs #:allow-other-keys)
6359 (let ((out (assoc-ref outputs "out")))
6360 ;; Use absolute shared library path in Caribou-1.0.typelib.
6361 (substitute* "libcaribou/Makefile"
6362 (("--shared-library=libcaribou.so")
6363 (string-append "--shared-library="
6364 out "/lib/libcaribou.so")))
6365 #t)))
6366 (add-after 'install 'wrap-programs
6367 (lambda* (#:key outputs #:allow-other-keys)
6368 (let* ((out (assoc-ref outputs "out"))
6369 (python-path (getenv "PYTHONPATH"))
6370 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6371 (for-each
6372 (lambda (prog)
6373 (wrap-program prog
6374 `("PYTHONPATH" ":" prefix (,python-path))
6375 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6376 (list (string-append out "/bin/caribou-preferences")
6377 (string-append out "/libexec/antler-keyboard"))))
6378 #t)))))
6379 (native-inputs
6380 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6381 ("gobject-introspection" ,gobject-introspection)
6382 ("intltool" ,intltool)
6383 ("pkg-config" ,pkg-config)
9f7f5ba2 6384 ("python" ,python)
bd7dfafa
SB
6385 ("vala" ,vala)
6386 ("xsltproc" ,libxslt)))
6387 (propagated-inputs
6388 ;; caribou-1.0.pc refers to all these.
6389 `(("libgee" ,libgee)
6390 ("libxklavier" ,libxklavier)
6391 ("libxtst" ,libxtst)
6392 ("gtk+" ,gtk+)))
6393 (inputs
6394 `(("clutter" ,clutter)
6395 ("dconf" ,dconf)
6396 ("gtk+-2" ,gtk+-2)
9f7f5ba2 6397 ("python-pygobject" ,python-pygobject)))
bd7dfafa
SB
6398 (synopsis "Text entry and UI navigation application")
6399 (home-page "https://wiki.gnome.org/Projects/Caribou")
6400 (description
6401 "Caribou is an input assistive technology intended for switch and pointer
6402users.")
6403 (license license:lgpl2.1)))
ba5dd105 6404
ba5dd105
SB
6405(define-public network-manager
6406 (package
6407 (name "network-manager")
6425d87a 6408 (version "1.18.4")
ba5dd105
SB
6409 (source (origin
6410 (method url-fetch)
6411 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6412 (version-major+minor version) "/"
6413 "NetworkManager-" version ".tar.xz"))
9d3b6a5d 6414 (patches (search-patches "nm-plugin-path.patch"))
ba5dd105
SB
6415 (sha256
6416 (base32
6425d87a 6417 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
02710a9b 6418 (modules '((guix build utils)))
fd070f35 6419 (snippet
02710a9b
RW
6420 '(begin
6421 (substitute* "src/devices/wwan/nm-modem-manager.c"
6422 (("systemd") "elogind"))
6423 #t))))
ba5dd105
SB
6424 (build-system gnu-build-system)
6425 (outputs '("out"
6426 "doc")) ; 8 MiB of gtk-doc HTML
6427 (arguments
6428 '(#:configure-flags
6429 (let ((out (assoc-ref %outputs "out"))
6430 (doc (assoc-ref %outputs "doc"))
6431 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6432 "/sbin/dhclient")))
02710a9b
RW
6433 (list "--with-libnm-glib" ; needed by network-manager-applet
6434 "--with-systemd-journal=no"
6435 "--with-session-tracking=elogind"
6436 "--with-suspend-resume=elogind"
fd070f35
CM
6437 "--with-consolekit=no"
6438 "--with-crypto=gnutls"
ba5dd105
SB
6439 "--disable-config-plugin-ibft"
6440 "--sysconfdir=/etc"
6441 "--localstatedir=/var"
6442 (string-append "--with-udev-dir="
6443 out "/lib/udev")
6444 (string-append "--with-dbus-sys-dir="
6445 out "/etc/dbus-1/system.d")
6446 (string-append "--with-html-dir="
6447 doc "/share/gtk-doc/html")
6448 (string-append "--with-dhclient=" dhclient)))
6449 #:phases
6450 (modify-phases %standard-phases
02710a9b
RW
6451 ;; This bare "ls" invocation breaks some tests.
6452 (add-after 'unpack 'patch-ls-invocation
6453 (lambda _
6454 (substitute* "build-aux/ltmain.sh"
6455 (("`ls -")
6456 (string-append "`" (which "ls") " -")))
6457 #t))
b4f59d87
AW
6458 (add-before 'configure 'pre-configure
6459 (lambda _
6460 ;; These tests try to test aspects of network-manager's
6461 ;; functionality within restricted containers, but they don't
6462 ;; cope with being already in the Guix build jail as that jail
6463 ;; lacks some features that they would like to proxy over (like
6464 ;; a /sys mount).
d04687dc
HG
6465 (substitute* '("Makefile.in")
6466 (("src/platform/tests/test-address-linux") " ")
6467 (("src/platform/tests/test-cleanup-linux") " ")
6468 (("src/platform/tests/test-link-linux") " ")
6469 (("src/platform/tests/test-route-linux") " ")
02710a9b 6470 (("src/devices/tests/test-acd") "")
d04687dc
HG
6471 (("src/devices/tests/test-arping") " ")
6472 (("src/devices/tests/test-lldp") " ")
6473 (("src/tests/test-route-manager-linux") " "))
b4f59d87 6474 #t))
45f80fce
RW
6475 (add-after 'unpack 'delete-failing-tests
6476 (lambda _
02710a9b 6477 ;; FIXME: These three tests fail for unknown reasons.
45f80fce
RW
6478 ;; ERROR:libnm-core/tests/test-general.c:5842:
6479 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6480 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6481 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6482 ;; ERROR:libnm-core/tests/test-setting.c:907:
6483 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
45f80fce
RW
6484 (substitute* "Makefile.in"
6485 (("libnm-core/tests/test-general") " ")
6486 (("libnm-core/tests/test-keyfile") " ")
02710a9b 6487 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
45f80fce 6488 #t))
ba5dd105
SB
6489 (add-before 'check 'pre-check
6490 (lambda _
6491 ;; For the missing /etc/machine-id.
6492 (setenv "DBUS_FATAL_WARNINGS" "0")
6493 #t))
6494 (replace 'install
6495 (lambda _
45f80fce
RW
6496 (invoke "make"
6497 "sysconfdir=/tmp"
6498 "rundir=/tmp"
6499 "statedir=/tmp"
6500 "nmstatedir=/tmp/nm"
6501 "install")
6502 #t)))))
b93502d6
DC
6503 (propagated-inputs
6504 `(("glib" ,glib)))
ba5dd105
SB
6505 (native-inputs
6506 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6507 ("gobject-introspection" ,gobject-introspection)
d04687dc 6508 ("docbook-xsl" ,docbook-xsl)
ba5dd105 6509 ("intltool" ,intltool)
d04687dc
HG
6510 ("libxslt" ,libxslt)
6511 ("libxml2" ,libxml2)
ba5dd105
SB
6512 ("pkg-config" ,pkg-config)
6513 ;; For testing.
6514 ("python" ,python-wrapper)
6515 ("python-dbus" ,python-dbus)
6516 ("python-pygobject" ,python-pygobject)))
6517 (inputs
02710a9b
RW
6518 `(("coreutils" ,coreutils) ; for ls
6519 ("curl" ,curl)
856ca567
KK
6520 ("cyrus-sasl" ,cyrus-sasl)
6521 ("dbus-glib" ,dbus-glib)
ba5dd105 6522 ("dnsmasq" ,dnsmasq)
856ca567 6523 ("eudev" ,eudev)
ba5dd105
SB
6524 ("gnutls" ,gnutls)
6525 ("iptables" ,iptables)
6526 ("isc-dhcp" ,isc-dhcp)
d04687dc 6527 ("jansson" ,jansson)
ba5dd105
SB
6528 ("libgcrypt" ,libgcrypt)
6529 ("libgudev" ,libgudev)
6530 ("libndp" ,libndp)
6531 ("libnl" ,libnl)
6532 ("libsoup" ,libsoup)
142bdcbc 6533 ("modem-manager" ,modem-manager)
c27e02bf 6534 ("newt" ,newt) ;for the 'nmtui' console interface
ba5dd105
SB
6535 ("polkit" ,polkit)
6536 ("ppp" ,ppp)
6537 ("readline" ,readline)
fd070f35
CM
6538 ("util-linux" ,util-linux)
6539 ("elogind" ,elogind)))
ba5dd105 6540 (synopsis "Network connection manager")
f032d0be 6541 (home-page "https://www.gnome.org/projects/NetworkManager/")
ba5dd105
SB
6542 (description
6543 "NetworkManager is a system network service that manages your network
6544devices and connections, attempting to keep active network connectivity when
6545available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6546devices, and provides VPN integration with a variety of different VPN
6547services.")
29d2f451
LC
6548 (license license:gpl2+)
6549 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 6550
f2b96b3a
LC
6551(define-public network-manager-openvpn
6552 (package
6553 (name "network-manager-openvpn")
be1c4b07 6554 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
7d87eede 6555 (version "1.8.10")
f2b96b3a
LC
6556 (source (origin
6557 (method url-fetch)
6558 (uri (string-append
6559 "mirror://gnome/sources/NetworkManager-openvpn/"
6560 (version-major+minor version)
6561 "/NetworkManager-openvpn-" version ".tar.xz"))
6562 (sha256
6563 (base32
7d87eede 6564 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
f2b96b3a
LC
6565 (build-system gnu-build-system)
6566 (arguments
633422b0
JL
6567 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6568 #:phases
6569 (modify-phases %standard-phases
6570 (add-after 'configure 'patch-path
6571 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6572 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6573 "/sbin/openvpn"))
6574 (modprobe (string-append (assoc-ref inputs "kmod")
6575 "/bin/modprobe"))
6576 (pretty-ovpn (string-append "\"" ovpn "\"")))
6577 (for-each
6578 (lambda (file)
6579 (substitute* file
6580 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6581 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6582 (("\"/sbin/openvpn\"") pretty-ovpn)
6583 (("/sbin/modprobe") modprobe)))
6584 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6585 #t)))))
f2b96b3a
LC
6586 (native-inputs
6587 `(("pkg-config" ,pkg-config)
6588 ("intltool" ,intltool)))
6589 (inputs
6590 `(("gtk+" ,gtk+)
633422b0 6591 ("kmod" ,kmod)
f2b96b3a
LC
6592 ("openvpn" ,openvpn)
6593 ("network-manager" ,network-manager)
6594 ("network-manager-applet" ,network-manager-applet) ;for libnma
6595 ("libsecret" ,libsecret)))
6596 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6597 (synopsis "OpenVPN plug-in for NetworkManager")
6598 (description
6599 "This extension of NetworkManager allows it to take care of connections
6600to virtual private networks (VPNs) via OpenVPN.")
6601 (license license:gpl2+)
6602 (properties `((upstream-name . "NetworkManager-openvpn")))))
6603
d376129f
JL
6604(define-public network-manager-vpnc
6605 (package
6606 (name "network-manager-vpnc")
6607 (version "1.2.6")
6608 (source (origin
6609 (method url-fetch)
6610 (uri (string-append
6611 "mirror://gnome/sources/NetworkManager-vpnc/"
6612 (version-major+minor version)
6613 "/NetworkManager-vpnc-" version ".tar.xz"))
6614 (sha256
6615 (base32
6616 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6617 (build-system gnu-build-system)
6618 (arguments
6619 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6620 #:phases
6621 (modify-phases %standard-phases
6622 (add-after 'configure 'patch-path
6623 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6624 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6625 "/sbin/vpnc"))
6626 (modprobe (string-append (assoc-ref inputs "kmod")
6627 "/bin/modprobe"))
6628 (pretty-ovpn (string-append "\"" vpnc "\"")))
6629 (substitute* "src/nm-vpnc-service.c"
6630 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6631 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6632 (("\"/sbin/vpnc\"") pretty-ovpn)
6633 (("/sbin/modprobe") modprobe)))
6634 #t)))))
6635 (native-inputs
6636 `(("pkg-config" ,pkg-config)
6637 ("intltool" ,intltool)))
6638 (inputs
6639 `(("gtk+" ,gtk+)
6640 ("kmod" ,kmod)
6641 ("vpnc" ,vpnc)
6642 ("network-manager" ,network-manager)
6643 ("network-manager-applet" ,network-manager-applet) ;for libnma
6644 ("libsecret" ,libsecret)))
6645 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6646 (synopsis "VPNC plug-in for NetworkManager")
6647 (description
6648 "Support for configuring virtual private networks based on VPNC.
6649Compatible with Cisco VPN concentrators configured to use IPsec.")
6650 (license license:gpl2+)
6651 (properties `((upstream-name . "NetworkManager-vpnc")))))
6652
8378c87a
EF
6653(define-public network-manager-openconnect
6654 (package
6655 (name "network-manager-openconnect")
6656 (version "1.2.6")
6657 (source (origin
6658 (method url-fetch)
6659 (uri (string-append
6660 "mirror://gnome/sources/NetworkManager-openconnect/"
6661 (version-major+minor version)
6662 "/NetworkManager-openconnect-" version ".tar.xz"))
6663 (sha256
6664 (base32
6665 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6666 (build-system gnu-build-system)
6667 (arguments
6668 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6669 #:phases
6670 (modify-phases %standard-phases
6671 (add-after 'configure 'patch-path
6672 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6673 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6674 "/sbin/openconnect"))
6675 (modprobe (string-append (assoc-ref inputs "kmod")
6676 "/bin/modprobe"))
6677 (pretty-ovpn (string-append "\"" openconnect "\"")))
6678 (substitute* "src/nm-openconnect-service.c"
6679 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6680 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6681 (("/sbin/modprobe") modprobe)))
6682 #t)))))
6683 (native-inputs
6684 `(("intltool" ,intltool)
6685 ("network-manager-applet" ,network-manager-applet) ;for libnma
6686 ("pkg-config" ,pkg-config)))
6687 (inputs
6688 `(("gcr" ,gcr)
6689 ("gtk+" ,gtk+)
6690 ("kmod" ,kmod)
6691 ("libsecret" ,libsecret)
6692 ("libxml2" ,libxml2)
6693 ("network-manager" ,network-manager)
6694 ("openconnect" ,openconnect)))
6695 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6696 (synopsis "OpenConnect plug-in for NetworkManager")
6697 (description
6698 "This extension of NetworkManager allows it to take care of connections
6699to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6700Cisco's AnyConnect SSL VPN.")
6701 (license license:gpl2+)
e52b9534
LC
6702 (properties `((upstream-name . "NetworkManager-openconnect")
6703
6704 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6705 ;; file refers to account "nm-openconnect". Specify it here
6706 ;; so that 'network-manager-service-type' creates it.
6707 (user-accounts . ("nm-openconnect"))))))
8378c87a 6708
e5e1df4d
DC
6709(define-public mobile-broadband-provider-info
6710 (package
6711 (name "mobile-broadband-provider-info")
310c89e3 6712 (version "20190116")
e5e1df4d
DC
6713 (source (origin
6714 (method url-fetch)
6715 (uri (string-append
6716 "mirror://gnome/sources/"
6717 "mobile-broadband-provider-info/" version "/"
6718 "mobile-broadband-provider-info-" version ".tar.xz"))
6719 (sha256
6720 (base32
310c89e3 6721 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
e5e1df4d
DC
6722 (build-system gnu-build-system)
6723 (arguments
310c89e3 6724 `(#:tests? #f)) ; no tests
e5e1df4d
DC
6725 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6726 (synopsis "Database of broadband connection configuration")
6727 (description "Database of broadband connection configuration.")
6728 (license license:public-domain)))
6729
4d62a9d3
SB
6730(define-public network-manager-applet
6731 (package
6732 (name "network-manager-applet")
8fc3a337 6733 (version "1.8.24")
4d62a9d3
SB
6734 (source (origin
6735 (method url-fetch)
3df63444 6736 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
4d62a9d3 6737 (version-major+minor version) "/"
3df63444 6738 "network-manager-applet-" version ".tar.xz"))
4d62a9d3
SB
6739 (sha256
6740 (base32
8fc3a337 6741 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
cd7f718e
RW
6742 (build-system meson-build-system)
6743 (arguments
be1c4b07
TGR
6744 '(#:configure-flags
6745 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6746 (list "-Dlibnm_gtk=true")
6747 #:glib-or-gtk? #t))
4d62a9d3
SB
6748 (native-inputs
6749 `(("intltool" ,intltool)
cd7f718e 6750 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4d62a9d3 6751 ("gobject-introspection" ,gobject-introspection)
cd7f718e 6752 ("gtk-doc" ,gtk-doc)
4d62a9d3
SB
6753 ("pkg-config" ,pkg-config)))
6754 (propagated-inputs
6755 ;; libnm-gtk.pc refers to all these.
6756 `(("dbus-glib" ,dbus-glib)
6757 ("gtk+" ,gtk+)
6758 ("network-manager" ,network-manager)))
6759 (inputs
cd7f718e
RW
6760 `(("gcr" ,gcr)
6761 ("iso-codes" ,iso-codes)
4d62a9d3
SB
6762 ("libgudev" ,libgudev)
6763 ("libnotify" ,libnotify)
2116bfb3 6764 ("libsecret" ,libsecret)
240cee8a
KK
6765 ("libselinux" ,libselinux)
6766 ("jansson" ,jansson) ; for team support
3e9c80b2
FP
6767 ("modem-manager" ,modem-manager)
6768 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
4d62a9d3 6769 (synopsis "Applet for managing network connections")
f032d0be 6770 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
6771 (description
6772 "This package contains a systray applet for NetworkManager. It displays
6773the available networks and allows users to easily switch between them.")
6774 (license license:gpl2+)))
56196594
RW
6775
6776(define-public libxml++
6777 (package
6778 (name "libxml++")
8344a85e 6779 (version "3.0.1")
56196594
RW
6780 (source (origin
6781 (method url-fetch)
6782 (uri (string-append "mirror://gnome/sources/" name "/"
6783 (version-major+minor version) "/"
6784 name "-" version ".tar.xz"))
6785 (sha256
6786 (base32
8344a85e 6787 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
6788 (build-system gnu-build-system)
6789 ;; libxml++-3.0.pc refers to all these.
6790 (propagated-inputs
6791 `(("libxml2" ,libxml2)
6792 ("glibmm" ,glibmm)))
6793 (native-inputs
6794 `(("perl" ,perl)
6795 ("pkg-config" ,pkg-config)))
6796 (home-page "http://libxmlplusplus.sourceforge.net/")
6797 (synopsis "C++ wrapper for XML parser library libxml2")
6798 (description
6799 "This package provides a C++ wrapper for the XML parser library
6800libxml2.")
6801 (license license:lgpl2.1+)))
df12f04a 6802
b61d9627
AW
6803(define-public libxml++-2
6804 (package
6805 (inherit libxml++)
6806 (name "libxml++")
6807 (version "2.40.1")
6808 (source (origin
6809 (method url-fetch)
6810 (uri (string-append "mirror://gnome/sources/" name "/"
6811 (version-major+minor version) "/"
6812 name "-" version ".tar.xz"))
6813 (sha256
6814 (base32
6815 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6816
df12f04a
SB
6817(define-public gdm
6818 (package
6819 (name "gdm")
bcca95dc 6820 (version "3.32.0")
df12f04a
SB
6821 (source (origin
6822 (method url-fetch)
6823 (uri (string-append "mirror://gnome/sources/" name "/"
6824 (version-major+minor version) "/"
6825 name "-" version ".tar.xz"))
6826 (sha256
6827 (base32
bcca95dc 6828 "12ypdz9i24hwbl1d1wnnxb8zlvfa4f49n9ac5cl9d6h8qp4b0gb4"))))
957dbc0a 6829 (build-system glib-or-gtk-build-system)
df12f04a
SB
6830 (arguments
6831 '(#:configure-flags
af37e6bb 6832 `("--without-plymouth"
957dbc0a 6833 "--disable-systemd-journal"
51bc8357
TS
6834
6835 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6836 ;; instead of having to replace it (i.e., stopping the mingetty
6837 ;; service for TTY 1 before starting GDM).
6838 "--with-initial-vt=7"
6839
89c86562
TS
6840 ;; Use '/etc/environment' for locale settings instead of the
6841 ;; systemd-specific '/etc/locale.conf'.
6842 "--with-lang-file=/etc/environment"
6843
b74ef0ba
RW
6844 ,(string-append "--with-udevdir="
6845 (assoc-ref %outputs "out") "/lib/udev")
6846
af37e6bb
AW
6847 "--localstatedir=/var"
6848 ,(string-append "--with-default-path="
6849 (string-join '("/run/setuid-programs"
6850 "/run/current-system/profile/bin"
6851 "/run/current-system/profile/sbin")
957dbc0a
AW
6852 ":"))
6853 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6854 ;; XDG_DATA_DIRS so that it finds its schemas.
6855 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
6856 #:phases
6857 (modify-phases %standard-phases
6858 (add-before
6859 'configure 'pre-configure
e8c6e771 6860 (lambda* (#:key inputs outputs #:allow-other-keys)
df12f04a
SB
6861 ;; We don't have <systemd/sd-daemon.h>.
6862 (substitute* '("common/gdm-log.c"
6863 "daemon/gdm-server.c"
6864 "daemon/gdm-session-worker.c"
6865 "daemon/gdm-session-worker-job.c")
6866 (("#include <systemd/sd-daemon\\.h>") ""))
6867 ;; Use elogind for sd-login.
6868 (substitute* '("common/gdm-common.c"
6869 "daemon/gdm-manager.c"
6870 "libgdm/gdm-user-switching.c")
6871 (("#include <systemd/sd-login\\.h>")
6872 "#include <elogind/sd-login.h>"))
957dbc0a
AW
6873 ;; Check for elogind.
6874 (substitute* '("configure")
6875 (("libsystemd")
6876 "libelogind"))
af37e6bb
AW
6877 ;; Look for system-installed sessions in
6878 ;; /run/current-system/profile/share.
6879 (substitute* '("libgdm/gdm-sessions.c"
6880 "daemon/gdm-session.c"
6881 "daemon/gdm-display.c"
6882 "daemon/gdm-launch-environment.c")
6883 (("DATADIR \"/x")
6884 "\"/run/current-system/profile/share/x")
6885 (("DATADIR \"/wayland")
6886 "\"/run/current-system/profile/share/wayland")
6887 (("DATADIR \"/gnome")
6888 "\"/run/current-system/profile/share/gnome"))
c9ff92b5 6889 (let ((propagate '("GDM_CUSTOM_CONF"
1f564c15 6890 "GDM_DBUS_DAEMON"
c9ff92b5 6891 "GDM_X_SERVER"
41fa9f18 6892 "GDM_X_SESSION"
c9ff92b5
TS
6893 ;; XXX: Remove this once GNOME Shell is
6894 ;; a dependency of GDM.
6895 "XDG_DATA_DIRS")))
6896 (substitute* "daemon/gdm-session.c"
6897 (("set_up_session_environment \\(self\\);")
6898 (apply string-append
6899 "set_up_session_environment (self);\n"
6900 (map (lambda (name)
6901 (string-append
6902 "gdm_session_set_environment_variable "
6903 "(self, \"" name "\","
6904 "g_getenv (\"" name "\"));\n"))
6905 propagate)))))
a430a350
TS
6906 ;; Find the configuration file using an environment variable.
6907 (substitute* '("common/gdm-settings.c")
e0e6756f 6908 (("GDM_CUSTOM_CONF")
e57c2adb
TS
6909 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6910 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6911 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
6912 ;; Use service-supplied path to X.
6913 (substitute* '("daemon/gdm-server.c")
6914 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6915 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6916 (substitute* '("daemon/gdm-x-session.c")
1f564c15
TS
6917 (("\"dbus-daemon\"")
6918 "g_getenv (\"GDM_DBUS_DAEMON\")")
e0e6756f 6919 (("X_SERVER")
41fa9f18
TS
6920 "g_getenv (\"GDM_X_SERVER\")")
6921 (("GDMCONFDIR \"/Xsession\"")
6922 "g_getenv (\"GDM_X_SESSION\")"))
def6d6b6
TS
6923 ;; Use an absolute path for GNOME Session.
6924 (substitute* "daemon/gdm-launch-environment.c"
6925 (("\"gnome-session\"")
6926 (string-append "\"" (assoc-ref inputs "gnome-session")
6927 "/bin/gnome-session\"")))
e8c6e771
TS
6928 ;; Do not automatically select the placeholder session.
6929 (substitute* "daemon/gdm-session.c"
6930 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6931 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6932 "(g_strcmp0(search_dirs[i], \""
6933 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6934 "\") == 0 && "
6935 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6936 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
bcca95dc 6937 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
69544798 6938 #t))
8caa4589
TS
6939 ;; GDM requires that there be at least one desktop entry
6940 ;; file. This phase installs a hidden one that simply
6941 ;; fails. This enables users to use GDM with a
6942 ;; '~/.xsession' script with no other desktop entry files.
6943 ;; See <https://bugs.gnu.org/35068>.
6944 (add-after 'install 'install-placeholder-desktop-entry
6945 (lambda* (#:key inputs outputs #:allow-other-keys)
6946 (let* ((out (assoc-ref outputs "out"))
6947 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6948 (fail (string-append sessions "/fail.desktop")))
6949 (mkdir-p sessions)
6950 (with-output-to-file fail
6951 (lambda ()
6952 (for-each
6953 display
6954 '("[Desktop Entry]\n"
6955 "Encoding=UTF-8\n"
6956 "Type=Application\n"
6957 "Name=Fail\n"
6958 "Comment=This session fails immediately.\n"
6959 "NoDisplay=true\n"
6960 "Exec=false\n"))))
6961 #t)))
69544798
TS
6962 ;; GDM needs GNOME Session to run these applications. We link
6963 ;; their autostart files in `share/gdm/greeter/autostart'
6964 ;; because GDM explicitly tells GNOME Session to look there.
6965 ;;
6966 ;; XXX: GNOME Shell should be linked here too, but currently
6967 ;; GNOME Shell depends on GDM.
6968 (add-after 'install 'link-autostart-files
6969 (lambda* (#:key inputs outputs #:allow-other-keys)
6970 (let* ((out (assoc-ref outputs "out"))
6971 (autostart (string-append out "/share/gdm/"
6972 "greeter/autostart"))
6973 (settings (assoc-ref inputs "gnome-settings-daemon")))
6974 (mkdir-p autostart)
6975 (with-directory-excursion autostart
6976 (for-each (lambda (desktop)
6977 (symlink desktop (basename desktop)))
6978 (find-files (string-append settings "/etc/xdg"))))
6979 #t))))))
df12f04a
SB
6980 (native-inputs
6981 `(("dconf" ,dconf)
6982 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6983 ("gobject-introspection" ,gobject-introspection)
6984 ("intltool" ,intltool)
6985 ("itstool" ,itstool)
6986 ("pkg-config" ,pkg-config)
6987 ("xmllint" ,libxml2)))
6988 (inputs
6989 `(("accountsservice" ,accountsservice)
6990 ("check" ,check) ; for testing
6991 ("elogind" ,elogind)
def6d6b6 6992 ("gnome-session" ,gnome-session)
69544798 6993 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
6994 ("gtk+" ,gtk+)
6995 ("iso-codes" ,iso-codes)
6996 ("libcanberra" ,libcanberra)
6997 ("linux-pam" ,linux-pam)))
6998 (synopsis "Display manager for GNOME")
f032d0be 6999 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
7000 (description
7001 "GNOME Display Manager is a system service that is responsible for
7002providing graphical log-ins and managing local and remote displays.")
7003 (license license:gpl2+)))
8e1dd04f
SB
7004
7005(define-public libgtop
7006 (package
7007 (name "libgtop")
015fc036 7008 (version "2.40.0")
8e1dd04f
SB
7009 (source (origin
7010 (method url-fetch)
59487fc2 7011 (uri (string-append "mirror://gnome/sources/libgtop/"
8e1dd04f 7012 (version-major+minor version) "/"
59487fc2 7013 "libgtop-" version ".tar.xz"))
8e1dd04f
SB
7014 (sha256
7015 (base32
015fc036 7016 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8e1dd04f
SB
7017 (build-system gnu-build-system)
7018 (native-inputs
7019 `(("gobject-introspection" ,gobject-introspection)
7020 ("intltool" ,intltool)
7021 ("perl" ,perl)
7022 ("pkg-config" ,pkg-config)))
7023 (propagated-inputs
7024 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7025 (synopsis "Portable system access library")
7026 (home-page "https://www.gnome.org/")
7027 (description
7028 "LibGTop is a library to get system specific data such as CPU and memory
7029usage and information about running processes.")
7030 (license license:gpl2+)))
b96c4260
SB
7031
7032(define-public gnome-bluetooth
7033 (package
7034 (name "gnome-bluetooth")
723afae6 7035 (version "3.32.1")
b96c4260
SB
7036 (source (origin
7037 (method url-fetch)
7038 (uri (string-append "mirror://gnome/sources/" name "/"
7039 (version-major+minor version) "/"
7040 name "-" version ".tar.xz"))
7041 (sha256
7042 (base32
723afae6 7043 "1am1gf0nzwg6x1s8ly13j0xnjzgrfj06j0dp52x4zy9s67ywlhb4"))))
fd3b1171 7044 (build-system meson-build-system)
b96c4260
SB
7045 (native-inputs
7046 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
fd3b1171 7047 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
b96c4260
SB
7048 ("gobject-introspection" ,gobject-introspection)
7049 ("intltool" ,intltool)
7050 ("pkg-config" ,pkg-config)
7051 ("xmllint" ,libxml2)))
7052 (propagated-inputs
7053 ;; gnome-bluetooth-1.0.pc refers to all these.
723afae6
KK
7054 `(("glib" ,glib)
7055 ("gtk+" ,gtk+)))
b96c4260 7056 (inputs
723afae6
KK
7057 `(("eudev" ,eudev)
7058 ("libcanberra" ,libcanberra)
b96c4260
SB
7059 ("libnotify" ,libnotify)))
7060 (synopsis "GNOME Bluetooth subsystem")
7061 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7062 (description
7063 "This package contains tools for managing and manipulating Bluetooth
7064devices using the GNOME desktop.")
7065 (license license:lgpl2.1+)))
b645146f
SB
7066
7067(define-public gnome-control-center
7068 (package
7069 (name "gnome-control-center")
a6938bac 7070 (version "3.32.2")
b645146f
SB
7071 (source (origin
7072 (method url-fetch)
7073 (uri (string-append "mirror://gnome/sources/" name "/"
7074 (version-major+minor version) "/"
7075 name "-" version ".tar.xz"))
7076 (sha256
7077 (base32
a6938bac 7078 "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
59dac026 7079 (build-system meson-build-system)
b645146f 7080 (arguments
59dac026
RW
7081 '(#:glib-or-gtk? #t
7082 #:configure-flags
64c70430
KK
7083 (list "-Dcheese=false"
7084 (string-append "-Dgnome_session_libexecdir="
7085 (assoc-ref %build-inputs "gnome-session")
7086 "/libexec"))
59dac026 7087 #:phases
b645146f
SB
7088 (modify-phases %standard-phases
7089 (add-before 'configure 'patch-paths
7090 (lambda* (#:key inputs #:allow-other-keys)
7091 (let ((libc (assoc-ref inputs "libc"))
1df38cfc 7092 (tzdata (assoc-ref inputs "tzdata"))
341225ac 7093 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
64c70430
KK
7094 (nm-applet (assoc-ref inputs "network-manager-applet"))
7095 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
b645146f
SB
7096 (substitute* "panels/datetime/tz.h"
7097 (("/usr/share/zoneinfo/zone.tab")
7098 (string-append tzdata "/share/zoneinfo/zone.tab")))
982c0b36 7099 (substitute* "tests/datetime/test-endianess.c"
b645146f
SB
7100 (("/usr/share/locale")
7101 (string-append libc "/share/locale")))
1df38cfc
LC
7102 (substitute* "panels/region/cc-region-panel.c"
7103 (("\"gkbd-keyboard-display")
7104 (string-append "\"" libgnomekbd
7105 "/bin/gkbd-keyboard-display")))
341225ac
LC
7106 (substitute* '("panels/network/net-device-wifi.c"
7107 "panels/network/net-device.c"
7108 "panels/network/connection-editor/net-connection-editor.c")
7109 (("\"nm-connection-editor")
7110 (string-append "\"" nm-applet
7111 "/bin/nm-connection-editor")))
1acd107c
FP
7112 (substitute* '("panels/user-accounts/run-passwd.c")
7113 (("/usr/bin/passwd")
7114 "/run/setuid-programs/passwd"))
64c70430
KK
7115 (substitute* "panels/info/cc-info-overview-panel.c"
7116 (("DATADIR \"/gnome/gnome-version.xml\"")
7117 (string-append "\"" gnome-desktop
7118 "/share/gnome/gnome-version.xml\"")))
b645146f
SB
7119 #t))))))
7120 (native-inputs
7121 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
59dac026 7122 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
b645146f
SB
7123 ("intltool" ,intltool)
7124 ("pkg-config" ,pkg-config)
a6938bac
KK
7125 ("xsltproc" ,libxslt)
7126 ;; For tests
7127 ("hicolor-icon-theme" ,hicolor-icon-theme)
7128 ("python-dbusmock" ,python-dbusmock)
7129 ("xorg-server" ,xorg-server-for-tests)))
b645146f
SB
7130 (inputs
7131 `(("accountsservice" ,accountsservice)
7132 ("clutter-gtk" ,clutter-gtk)
7133 ("colord-gtk" ,colord-gtk)
7134 ("cups" ,cups)
7135 ("dconf" ,dconf)
7136 ("docbook-xsl" ,docbook-xsl)
3446ffb5 7137 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
7138 ("gnome-bluetooth" ,gnome-bluetooth)
7139 ("gnome-desktop" ,gnome-desktop)
7140 ("gnome-online-accounts" ,gnome-online-accounts)
14c297fd 7141 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
64c70430 7142 ("gnome-session" ,gnome-session)
b645146f
SB
7143 ("gnome-settings-daemon" ,gnome-settings-daemon)
7144 ("grilo" ,grilo)
a6938bac 7145 ("gsound" ,gsound)
b645146f
SB
7146 ("ibus" ,ibus)
7147 ("libcanberra" ,libcanberra)
1df38cfc 7148 ("libgnomekbd" ,libgnomekbd)
b645146f
SB
7149 ("libgudev" ,libgudev)
7150 ("libgtop" ,libgtop)
7151 ("libpwquality" ,libpwquality)
982c0b36 7152 ("libsecret" ,libsecret)
b645146f
SB
7153 ("libsoup" ,libsoup)
7154 ("libxml2" ,libxml2)
7155 ("libwacom" ,libwacom)
7156 ("mesa" ,mesa)
7157 ("mit-krb5" ,mit-krb5)
7158 ("modem-manager" ,modem-manager)
7159 ("network-manager-applet" ,network-manager-applet)
7160 ("polkit" ,polkit)
7161 ("pulseaudio" ,pulseaudio)
7162 ("smbclient" ,samba)
7163 ("tzdata" ,tzdata)
982c0b36 7164 ("udisks" ,udisks)
b645146f
SB
7165 ("upower" ,upower)))
7166 (synopsis "Utilities to configure the GNOME desktop")
7167 (home-page "https://www.gnome.org/")
7168 (description
7169 "This package contains configuration applets for the GNOME desktop,
7170allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7171properties, sound setup, desktop theme and background, user interface
7172properties, screen resolution, and other GNOME parameters.")
7173 (license license:gpl2+)))
a4df5756
SB
7174
7175(define-public gnome-shell
7176 (package
7177 (name "gnome-shell")
d5e615ca 7178 (version "3.32.2")
a4df5756
SB
7179 (source (origin
7180 (method url-fetch)
7181 (uri (string-append "mirror://gnome/sources/" name "/"
7182 (version-major+minor version) "/"
7183 name "-" version ".tar.xz"))
7184 (sha256
7185 (base32
d5e615ca 7186 "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5"))
a76d0f03
LC
7187 (patches (search-patches "gnome-shell-theme.patch"))
7188 (modules '((guix build utils)))
7189 (snippet
7190 #~(begin
a76d0f03
LC
7191 ;; Copy images for use on the GDM log-in screen.
7192 (copy-file #$(file-append %artwork-repository
7193 "/slim/0.x/background.png")
7194 "data/theme/guix-background.png")
45fef894
LC
7195 (copy-file #$(file-append %artwork-repository
7196 "/logo/Guix-horizontal-white.svg")
7197 "data/theme/guix-logo.svg")
a76d0f03 7198 #t))))
2b0c755d 7199 (build-system meson-build-system)
a4df5756 7200 (arguments
08185081
MB
7201 `(#:glib-or-gtk? #t
7202 #:disallowed-references ((,glib "bin")
11e1df56
LC
7203 ,inkscape ,libxslt
7204 ,ruby-sass)
2b0c755d
RW
7205 #:configure-flags
7206 (list "-Dsystemd=false"
7207 ;; Otherwise, the RUNPATH will lack the final path component.
7208 (string-append "-Dc_link_args=-Wl,-rpath="
7209 (assoc-ref %outputs "out")
7210 "/lib/gnome-shell"))
11e1df56 7211
08185081 7212 #:modules ((guix build meson-build-system)
11e1df56
LC
7213 (guix build utils)
7214 (srfi srfi-1))
7215
2b0c755d 7216 #:phases
a4df5756 7217 (modify-phases %standard-phases
2b0c755d 7218 (add-after 'unpack 'fix-keysdir
a4df5756
SB
7219 (lambda* (#:key outputs #:allow-other-keys)
7220 (let* ((out (assoc-ref outputs "out"))
7221 (keysdir (string-append
7222 out "/share/gnome-control-center/keybindings")))
2b0c755d
RW
7223 (substitute* "meson.build"
7224 (("keysdir =.*")
7225 (string-append "keysdir = '" keysdir "'\n")))
7226 #t)))
ebfe259f
MB
7227 (add-before 'configure 'convert-logo-to-png
7228 (lambda* (#:key inputs #:allow-other-keys)
7229 ;; Convert the logo from SVG to PNG.
7230 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7231 "data/theme/guix-logo.svg")))
ba00235a 7232 (add-before 'configure 'record-absolute-file-names
2472cdec
LC
7233 (lambda* (#:key inputs #:allow-other-keys)
7234 (substitute* "js/misc/ibusManager.js"
7235 (("'ibus-daemon'")
7236 (string-append "'" (assoc-ref inputs "ibus")
7237 "/bin/ibus-daemon'")))
d6fda4d3
LC
7238 (substitute* "js/ui/status/keyboard.js"
7239 (("'gkbd-keyboard-display'")
7240 (string-append "'" (assoc-ref inputs "libgnomekbd")
7241 "/bin/gkbd-keyboard-display'")))
2472cdec 7242 #t))
2b0c755d
RW
7243 (add-before 'check 'pre-check
7244 (lambda* (#:key inputs #:allow-other-keys)
7245 ;; Tests require a running X server.
7246 (system "Xvfb :1 &")
7247 (setenv "DISPLAY" ":1")
7248 #t))
7249 (add-after 'install 'wrap-programs
7250 (lambda* (#:key inputs outputs #:allow-other-keys)
7251 (let ((out (assoc-ref outputs "out"))
7252 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7253 (python-path (getenv "PYTHONPATH")))
7254 (wrap-program (string-append out "/bin/gnome-shell")
7255 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7256 ;; FIXME: gnome-shell loads these libraries with unqualified
7257 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7258 ;; alternative might be to patch gnome-shell.
7259 `("LD_LIBRARY_PATH" ":" prefix
7260 ,(map (lambda (pkg)
7261 (string-append (assoc-ref inputs pkg) "/lib"))
cd8dce8a
RW
7262 '("gdk-pixbuf"
7263 "gnome-bluetooth" "librsvg" "libgweather"))))
2b0c755d
RW
7264 (for-each
7265 (lambda (prog)
7266 (wrap-program (string-append out "/bin/" prog)
7267 `("PYTHONPATH" ":" prefix (,python-path))
7268 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7269 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
08185081 7270 #t)))
11e1df56
LC
7271 (replace 'glib-or-gtk-wrap
7272 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7273 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7274 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7275 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7276 ;; phase. Fix that since we don't need these.
7277 (wrap #:inputs (fold alist-delete inputs
7278 '("inkscape" "intltool" "glib:bin"))
7279 #:outputs outputs)))))))
a4df5756
SB
7280 (native-inputs
7281 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2b0c755d 7282 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
a4df5756 7283 ("gobject-introspection" ,gobject-introspection)
ebfe259f 7284 ("inkscape" ,inkscape)
a4df5756
SB
7285 ("intltool" ,intltool)
7286 ("pkg-config" ,pkg-config)
7287 ("python" ,python)
2b0c755d
RW
7288 ("ruby-sass" ,ruby-sass)
7289 ("sassc" ,sassc)
a76d0f03 7290 ("xsltproc" ,libxslt)
2b0c755d 7291 ;; For tests
0b4504f6 7292 ("xorg-server" ,xorg-server-for-tests)))
a4df5756
SB
7293 (inputs
7294 `(("accountsservice" ,accountsservice)
7295 ("caribou" ,caribou)
7296 ("docbook-xsl" ,docbook-xsl)
7297 ("evolution-data-server" ,evolution-data-server)
7298 ("gcr" ,gcr)
7299 ("gdm" ,gdm)
c5db31d4 7300 ("gdk-pixbuf" ,gdk-pixbuf+svg)
a4df5756
SB
7301 ("gjs" ,gjs)
7302 ("gnome-bluetooth" ,gnome-bluetooth)
a4df5756
SB
7303 ("gnome-desktop" ,gnome-desktop)
7304 ("gnome-settings-daemon" ,gnome-settings-daemon)
7305 ("gst-plugins-base" ,gst-plugins-base)
7306 ("ibus" ,ibus)
7307 ("libcanberra" ,libcanberra)
7308 ("libcroco" ,libcroco)
d6fda4d3 7309 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
a4df5756
SB
7310 ("libgweather" ,libgweather)
7311 ("libsoup" ,libsoup)
7312 ("mesa-headers" ,mesa-headers)
7313 ("mutter" ,mutter)
7314 ("network-manager-applet" ,network-manager-applet)
7315 ("polkit" ,polkit)
7316 ("pulseaudio" ,pulseaudio)
7317 ("python-pygobject" ,python-pygobject)
7318 ("startup-notification" ,startup-notification)
7319 ("telepathy-logger" ,telepathy-logger)
7320 ("upower" ,upower)
30e760f0
MB
7321 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7322 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7323 ("librsvg" ,librsvg)
2b0c755d 7324 ("geoclue" ,geoclue)))
a4df5756
SB
7325 (synopsis "Desktop shell for GNOME")
7326 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7327 (description
7328 "GNOME Shell provides core user interface functions for the GNOME desktop,
7329like switching to windows and launching applications.")
7330 (license license:gpl2+)))
c3f29bc9
RS
7331
7332(define-public gtk-vnc
7333 (package
7334 (name "gtk-vnc")
965ff023 7335 (version "0.9.0")
c3f29bc9
RS
7336 (source
7337 (origin
7338 (method url-fetch)
7339 (uri (string-append "mirror://gnome/sources/" name "/"
7340 (version-major+minor version) "/"
7341 name "-" version ".tar.xz"))
7342 (sha256
7343 (base32
965ff023 7344 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
7345 (build-system gnu-build-system)
7346 (arguments
7347 '(#:configure-flags '("--with-gtk=3.0")))
7348 (propagated-inputs
7349 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7350 (inputs
7351 `(("cyrus-sasl" ,cyrus-sasl)
7352 ("gnutls" ,gnutls)
7353 ("libgcrypt" ,libgcrypt)
7354 ("pulseaudio" ,pulseaudio)))
7355 (native-inputs
7356 `(("glib:bin" ,glib "bin")
7357 ("gobject-introspection" ,gobject-introspection)
7358 ("intltool" ,intltool)
7359 ("pkg-config" ,pkg-config)
2f17e939 7360 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
7361 ("vala" ,vala)))
7362 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7363 (synopsis "VNC viewer widget for GTK+")
7364 (description
7365 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7366applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7367GTK-VNC implements client side RFB protocol and authentication extensions such
7368as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7369 (license license:lgpl2.1+)))
8b877545 7370
dc69fe18
MW
7371(define-public gnome-autoar
7372 (package
7373 (name "gnome-autoar")
c7da8510 7374 (version "0.2.3")
dc69fe18
MW
7375 (source (origin
7376 (method url-fetch)
7377 (uri (string-append "mirror://gnome/sources/" name "/"
7378 (version-major+minor version) "/"
7379 name "-" version ".tar.xz"))
7380 (sha256
7381 (base32
c7da8510 7382 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
7383 (build-system glib-or-gtk-build-system)
7384 (native-inputs
7385 `(("gnome-common" ,gnome-common)
7386 ("gobject-introspection" ,gobject-introspection)
7387 ("pkg-config" ,pkg-config)))
7388 (propagated-inputs
7389 `(("libarchive" ,libarchive))) ; XXX document why
7390 (inputs
0a6e9e13 7391 `(("gtk+" ,gtk+)))
dc69fe18
MW
7392 (synopsis "Archives integration support for GNOME")
7393 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7394 (description
7395 "GNOME Autoar is a library which makes creating and extracting archives
7396easy, safe, and automatic.")
7397 (license license:lgpl2.1+)))
7398
b64e217f
MW
7399(define-public tracker
7400 (package
7401 (name "tracker")
5ada561c 7402 (version "2.2.2")
b64e217f
MW
7403 (source (origin
7404 (method url-fetch)
b5b0fd23 7405 (uri (string-append "mirror://gnome/sources/tracker/"
b64e217f 7406 (version-major+minor version) "/"
b5b0fd23 7407 "tracker-" version ".tar.xz"))
b64e217f
MW
7408 (sha256
7409 (base32
5ada561c
KK
7410 "1rp2c6k7ajcm553p9kpni87zgi9aplm3s01rl7pk575az5i399y6"))))
7411 (build-system meson-build-system)
c8bdf589 7412 (arguments
5ada561c
KK
7413 `(#:glib-or-gtk? #t
7414 #:configure-flags
7415 ;; Otherwise, the RUNPATH will lack the final path component.
7416 (list (string-append "-Dc_link_args=-Wl,-rpath="
7417 (assoc-ref %outputs "out") "/lib:"
7418 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7419 #:phases
c8bdf589
RW
7420 (modify-phases %standard-phases
7421 (add-after 'unpack 'disable-broken-tests
7422 (lambda _
c8bdf589
RW
7423 ;; These fail because the SPARQL backend could not be loaded.
7424 ;; That's because /etc/machine-id is missing, but
7425 ;; DBUS_FATAL_WARNINGS does not help here.
5ada561c
KK
7426 (substitute* "tests/libtracker-sparql/meson.build"
7427 (("'sparql',") ""))
7428 (substitute* "tests/tracker-steroids/meson.build"
7429 (("test\\(.*") ""))
c8bdf589
RW
7430 #t))
7431 ;; Two tests fail if LANG is not set.
7432 (add-before 'check 'pre-check
7433 (lambda _
7434 (setenv "LANG" "en_US.UTF-8")
7435 ;; For the missing /etc/machine-id.
7436 (setenv "DBUS_FATAL_WARNINGS" "0")
7437 #t)))))
b64e217f 7438 (native-inputs
5ada561c
KK
7439 `(("glib:bin" ,glib "bin")
7440 ("gnome-common" ,gnome-common)
b64e217f 7441 ("gobject-introspection" ,gobject-introspection)
5ada561c 7442 ("python-pygobject" ,python-pygobject)
b64e217f
MW
7443 ("intltool" ,intltool)
7444 ("pkg-config" ,pkg-config)
7445 ("vala" ,vala)))
7446 (inputs
7447 `(("gtk+" ,gtk+)
7448 ("dbus" ,dbus)
44ed6284 7449 ("sqlite" ,sqlite)
c8bdf589 7450 ("python" ,python)
b64e217f 7451 ("poppler" ,poppler)
b64e217f
MW
7452 ("libpng" ,libpng)
7453 ("libtiff" ,libtiff)
b64e217f 7454 ("zlib" ,zlib)
b64e217f 7455 ("libxml2" ,libxml2)
b64e217f 7456 ("libunistring" ,libunistring)
0ef48cd9 7457 ("json-glib" ,json-glib)
b64e217f 7458 ("openjpeg" ,openjpeg-1)
b64e217f 7459 ("libseccomp" ,libseccomp)
0ef48cd9 7460 ("libsoup" ,libsoup)
bb93042c 7461 ("libuuid" ,util-linux "lib")
5ada561c 7462 ("network-manager" ,network-manager)))
b64e217f
MW
7463 (synopsis "Metadata database, indexer and search tool")
7464 (home-page "https://wiki.gnome.org/Projects/Tracker")
7465 (description
7466 "Tracker is an advanced framework for first class objects with associated
7467metadata and tags. It provides a one stop solution for all metadata, tags,
7468shared object databases, search tools and indexing.")
7469 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7470 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7471 (license (list license:gpl2+
7472 license:lgpl2.1+
7473 license:lgpl2.0+))))
7474
03be9874
KK
7475(define-public tracker-miners
7476 (package
7477 (name "tracker-miners")
7478 (version "2.2.2")
7479 (source (origin
7480 (method url-fetch)
7481 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7482 (version-major+minor version)
7483 "/tracker-miners-" version ".tar.xz"))
7484 (sha256
7485 (base32
7486 "0kk5xaajamb8jlm6cfdbc2m3axzr6bnph84m7697xmb0pkg8hdiw"))))
7487 (build-system meson-build-system)
7488 (arguments
7489 `(#:glib-or-gtk? #t
7490 #:configure-flags
7491 (list "-Dminer_rss=false" ; libgrss is required.
7492 ;; Ensure the RUNPATH contains all installed library locations.
7493 (string-append "-Dc_link_args=-Wl,-rpath="
7494 (assoc-ref %outputs "out")
7495 "/lib/tracker-miners-2.0")
7496 ;; TODO: Enable functional tests. Currently, the following error
7497 ;; appears:
7498 ;; Exception: The functional tests require DConf to be the default
7499 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7500 "-Dfunctional_tests=false")))
7501 (native-inputs
7502 `(("dbus" ,dbus)
7503 ("intltool" ,intltool)
7504 ("glib:bin" ,glib "bin")
7505 ("gobject-introspection" ,gobject-introspection)
7506 ("pkg-config" ,pkg-config)
7507 ("python-pygobject" ,python-pygobject)))
7508 (inputs
7509 `(("exempi" ,exempi)
7510 ("ffmpeg" ,ffmpeg)
7511 ("flac" ,flac)
7512 ("giflib" ,giflib)
7513 ("glib" ,glib)
7514 ("gstreamer" ,gstreamer)
7515 ("icu4c" ,icu4c)
7516 ("libcue" ,libcue)
7517 ("libexif" ,libexif)
7518 ("libgsf" ,libgsf)
7519 ("libgxps" ,libgxps)
7520 ("libiptcdata" ,libiptcdata)
7521 ("libjpeg" ,libjpeg)
7522 ("libosinfo" ,libosinfo)
7523 ("libpng" ,libpng)
7524 ("libseccomp" ,libseccomp)
7525 ("libtiff" ,libtiff)
7526 ("libvorbis" ,libvorbis)
7527 ("libxml2" ,libxml2)
7528 ("poppler" ,poppler)
7529 ("taglib" ,taglib)
7530 ("totem-pl-parser" ,totem-pl-parser)
7531 ("tracker" ,tracker)
7532 ("upower" ,upower)
7533 ("zlib" ,zlib)))
b64e217f
MW
7534 (synopsis "Metadata database, indexer and search tool")
7535 (home-page "https://wiki.gnome.org/Projects/Tracker")
7536 (description
7537 "Tracker is an advanced framework for first class objects with associated
7538metadata and tags. It provides a one stop solution for all metadata, tags,
7539shared object databases, search tools and indexing.")
7540 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7541 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7542 (license (list license:gpl2+
7543 license:lgpl2.1+
7544 license:lgpl2.0+))))
7545
8b877545
RS
7546(define-public nautilus
7547 (package
7548 (name "nautilus")
d682c599 7549 (version "3.32.3")
8b877545
RS
7550 (source (origin
7551 (method url-fetch)
7552 (uri (string-append "mirror://gnome/sources/" name "/"
7553 (version-major+minor version) "/"
7554 name "-" version ".tar.xz"))
7555 (sha256
7556 (base32
d682c599 7557 "1x9crzbj6rrrf8w5dkcx0c14j40byr4ijpzkwd5dcrbfvvdy1r01"))))
35e2d0cf 7558 (build-system meson-build-system)
8b877545 7559 (arguments
35e2d0cf 7560 '(#:glib-or-gtk? #t
8b877545
RS
7561 ;; XXX: FAIL: check-nautilus
7562 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7563 #:tests? #f))
7564 (native-inputs
35e2d0cf
R
7565 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7566 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7567 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
7568 ("gobject-introspection" ,gobject-introspection)
7569 ("intltool" ,intltool)
7570 ("pkg-config" ,pkg-config)))
8b877545 7571 (inputs
8b877545 7572 `(("dconf" ,dconf)
caf6c363 7573 ("gexiv2" ,gexiv2)
dd05e731 7574 ("gvfs" ,gvfs)
8b877545
RS
7575 ("exempi" ,exempi)
7576 ("gnome-desktop" ,gnome-desktop)
09d88905 7577 ("gnome-autoar" ,gnome-autoar)
3cafb9d4 7578 ("gst-plugins-base" ,gst-plugins-base)
ec66ebd4 7579 ("libseccomp" ,libseccomp)
35e2d0cf 7580 ("libselinux" ,libselinux)
09d88905 7581 ("tracker" ,tracker)
3cafb9d4 7582 ("tracker-miners" ,tracker-miners)
ce6027bf
SB
7583 ;; XXX: gtk+ is required by libnautilus-extension.pc
7584 ;;
7585 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7586 ;; package. See:
7587 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7588 ("gtk+" ,gtk+)
8b877545
RS
7589 ("libexif" ,libexif)
7590 ("libxml2" ,libxml2)))
7591 (synopsis "File manager for GNOME")
7592 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7593 (description
7594 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7595design and behaviour, giving the user a simple way to navigate and manage its
7596files.")
7597 (license license:gpl2+)))
3c697ffd
JR
7598
7599(define-public baobab
7600 (package
7601 (name "baobab")
e0c5f20c 7602 (version "3.32.0")
3c697ffd
JR
7603 (source (origin
7604 (method url-fetch)
7605 (uri (string-append
7606 "mirror://gnome/sources/" name "/"
7607 (version-major+minor version) "/"
7608 name "-" version ".tar.xz"))
7609 (sha256
7610 (base32
e0c5f20c 7611 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
d233d373
RJ
7612 (build-system meson-build-system)
7613 (arguments
7614 '(#:glib-or-gtk? #t))
3c697ffd
JR
7615 (native-inputs
7616 `(("intltool" ,intltool)
7617 ("pkg-config" ,pkg-config)
d233d373
RJ
7618 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7619 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
7620 ("itstool" ,itstool)
7621 ("xmllint" ,libxml2)
7622 ("glib" ,glib "bin")
7623 ("vala" ,vala)))
7624 (inputs
7625 `(("gtk+" ,gtk+)))
7626 (synopsis "Disk usage analyzer for GNOME")
7627 (description
7628 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7629usage in the GNOME desktop environment. It can easily scan device volumes or
7630a specific user-requested directory branch (local or remote). Once the scan
7631is complete it provides a graphical representation of each selected folder.")
7632 (home-page "https://wiki.gnome.org/Apps/Baobab")
7633 (license license:gpl2+)))
dc050251 7634
fdba447c
RS
7635(define-public gnome-backgrounds
7636 (package
7637 (name "gnome-backgrounds")
e04e8a8c 7638 (version "3.32.0")
fdba447c
RS
7639 (source
7640 (origin
7641 (method url-fetch)
7642 (uri (string-append "mirror://gnome/sources/" name "/"
7643 (version-major+minor version) "/"
7644 name "-" version ".tar.xz"))
7645 (sha256
7646 (base32
e04e8a8c 7647 "1s5krdmd3md44p1fgr2lqm5ifxb8s1vzx6hm11sb4cgzr4dw6lrz"))))
9ca381f0 7648 (build-system meson-build-system)
fdba447c
RS
7649 (native-inputs
7650 `(("intltool" ,intltool)))
e04e8a8c 7651 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
fdba447c
RS
7652 (synopsis "Background images for the GNOME desktop")
7653 (description
7654 "GNOME backgrounds package contains a collection of graphics files which
7655can be used as backgrounds in the GNOME Desktop environment. Additionally,
7656the package creates the proper framework and directory structure so that you
7657can add your own files to the collection.")
7658 (license (list license:gpl2+
7659 license:cc-by2.0
7660 license:cc-by-sa2.0
7661 license:cc-by-sa3.0))))
7662
b784b1a9
RS
7663(define-public gnome-screenshot
7664 (package
7665 (name "gnome-screenshot")
6acf4033 7666 (version "3.32.0")
b784b1a9
RS
7667 (source
7668 (origin
7669 (method url-fetch)
7670 (uri (string-append "mirror://gnome/sources/" name "/"
7671 (version-major+minor version) "/"
7672 name "-" version ".tar.xz"))
7673 (sha256
7674 (base32
6acf4033 7675 "09ha7dizjm5ymqpjyrqd10ijfb3xlqc1mwg9ajkrbfry11q9yq4b"))))
8356aefa 7676 (build-system meson-build-system)
b784b1a9
RS
7677 (native-inputs
7678 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8356aefa
RW
7679 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7680 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b784b1a9 7681 ("intltool" ,intltool)
8356aefa 7682 ("appstream-glib" ,appstream-glib)
b784b1a9
RS
7683 ("pkg-config" ,pkg-config)))
7684 (inputs
7685 `(("gtk+" ,gtk+)
7686 ("libcanberra" ,libcanberra)
7687 ("libx11" ,libx11)
7688 ("libxext" ,libxext)))
676e7cb4 7689 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
b784b1a9
RS
7690 (synopsis "Take pictures of your screen")
7691 (description
7692 "GNOME Screenshot is a utility used for taking screenshots of the entire
7693screen, a window or a user defined area of the screen, with optional
7694beautifying border effects.")
7695 (license license:gpl2+)))
7696
66d59111
RS
7697(define-public dconf-editor
7698 (package
7699 (name "dconf-editor")
66261451 7700 (version "3.32.0")
66d59111
RS
7701 (source
7702 (origin
7703 (method url-fetch)
7704 (uri (string-append "mirror://gnome/sources/" name "/"
7705 (version-major+minor version) "/"
7706 name "-" version ".tar.xz"))
7707 (sha256
7708 (base32
66261451 7709 "1fmsmlh16njjm948grz20mzrsvb4wjj7pl1fvkrkxqi7mhr177gi"))))
294ff39d 7710 (build-system meson-build-system)
86f2124b
LC
7711 (arguments
7712 '(#:phases (modify-phases %standard-phases
7713 (add-before 'configure 'set-glib-minimum-version
7714 (lambda _
7715 ;; Change the minimum required GLib version so that
7716 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
7717 ;; do that, it complains that "55" is not an even
7718 ;; number. See <https://bugs.gnu.org/37503>.
7719 (substitute* "editor/meson.build"
7720 (("2\\.55\\.1") "2.60.0"))
7721 #t)))))
66d59111
RS
7722 (native-inputs
7723 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
294ff39d 7724 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
66d59111 7725 ("intltool" ,intltool)
294ff39d
RW
7726 ("pkg-config" ,pkg-config)
7727 ("vala" ,vala)))
66d59111
RS
7728 (inputs
7729 `(("dconf" ,dconf)
7730 ("gtk+" ,gtk+)
7731 ("libxml2" ,libxml2)))
7732 (home-page "https://git.gnome.org/browse/dconf-editor")
7733 (synopsis "Graphical editor for GNOME's dconf configuration system")
7734 (description
7735 "Dconf-editor is a graphical tool for browsing and editing the dconf
7736configuration system for GNOME. It allows users to configure desktop
7737software that do not provide their own configuration interface.")
7738 (license license:lgpl2.1+)))
7739
96d36f38
AW
7740(define-public gnome-default-applications
7741 (package
7742 (name "gnome-default-applications")
7743 (version "0")
7744 (build-system trivial-build-system)
7745 (source #f)
7746 (propagated-inputs
8ad4f0aa
LC
7747 `(("nautilus" ,nautilus)
7748 ("evince" ,evince)))
96d36f38
AW
7749 (arguments
7750 `(#:modules ((guix build utils))
7751 #:builder
7752 (begin
7753 (use-modules (guix build utils))
7754 (let* ((out (assoc-ref %outputs "out"))
7755 (apps (string-append out "/share/applications")))
7756 (mkdir-p apps)
7757 (call-with-output-file (string-append apps "/defaults.list")
7758 (lambda (port)
7759 (format port "[Default Applications]\n")
8ad4f0aa
LC
7760 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7761 (format port "application/pdf=evince.desktop\n")
7762 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
7763 #t))))
7764 (synopsis "Default MIME type associations for the GNOME desktop")
7765 (description
7766 "Given many installed packages which might handle a given MIME type, a
7767user running the GNOME desktop probably has some preferences: for example,
7768that folders be opened by default by the Nautilus file manager, not the Baobab
7769disk usage analyzer. This package establishes that set of default MIME type
7770associations for GNOME.")
7771 (license license:gpl3+)
7772 (home-page #f)))
7773
3f1ed953
RG
7774(define-public libgovirt
7775 (package
7776 (name "libgovirt")
7777 (version "0.3.6")
7778 (source (origin
7779 (method url-fetch)
7780 (uri (string-append "mirror://gnome/sources/" name "/"
7781 (version-major+minor version) "/"
7782 name "-" version ".tar.xz"))
7783 (sha256
7784 (base32
7785 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7786 (build-system glib-or-gtk-build-system)
7787 (native-inputs
7788 `(("gettext" ,gettext-minimal)
7789 ("glib:bin" ,glib "bin")
7790 ("gobject-introspection" ,gobject-introspection)
7791 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7792 ("gtk+:bin" ,gtk+ "bin")
7793 ("pkg-config" ,pkg-config)))
7794 (inputs
7795 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7796 ("librest" ,rest)))
7797 (synopsis "GoVirt Library")
7798 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7799 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7800 (license license:gpl2+)))
7801
8672e5e9
RG
7802(define-public gnome-weather
7803 (package
7804 (name "gnome-weather")
7805 (version "3.34.0")
7806 (source (origin
7807 (method url-fetch)
7808 (uri (string-append "mirror://gnome/sources/" name "/"
7809 (version-major+minor version) "/"
7810 name "-" version ".tar.xz"))
7811 (sha256
7812 (base32
7813 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7814 (build-system meson-build-system)
7815 (native-inputs
7816 `(("gettext" ,gettext-minimal)
7817 ("glib:bin" ,glib "bin")
7818 ("gobject-introspection" ,gobject-introspection)
7819 ("gtk+:bin" ,gtk+ "bin")
7820 ("pkg-config" ,pkg-config)))
7821 (inputs
7822 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7823 ("appstream-glib" ,appstream-glib)
7824 ("geoclue" ,geoclue)
7825 ("gdk-pixbuf" ,gdk-pixbuf)
7826 ("gjs" ,gjs)
7827 ("gnome-desktop" ,gnome-desktop)
7828 ("libgweather" ,libgweather)))
7829 (synopsis "Weather monitoring for GNOME desktop")
7830 (description "GNOME Weather is a small application that allows you to
7831monitor the current weather conditions for your city, or anywhere in the
7832world.")
7833 (home-page "https://wiki.gnome.org/Apps/Weather")
7834 (license license:gpl2+)))
7835
dc050251
SB
7836(define-public gnome
7837 (package
7838 (name "gnome")
7839 (version (package-version gnome-shell))
7840 (source #f)
7841 (build-system trivial-build-system)
e3cfef22 7842 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251 7843 (propagated-inputs
8d8c6bff 7844 ;; TODO: Add or remove packages according to:
a8cda7f5 7845 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7922b6f7 7846 `(
8d8c6bff 7847 ;; GNOME-Core-OS-Services
7922b6f7 7848 ("accountsservice" ,accountsservice)
8d8c6bff
RG
7849 ("network-manager" ,network-manager)
7850 ("packagekit" ,packagekit)
7851 ("upower" ,upower)
7852 ;; GNOME-Core-Shell
7853 ("adwaita-icon-theme" ,adwaita-icon-theme)
7854 ("gdm" ,gdm)
7855 ("glib-networking" ,glib-networking)
7856 ("gnome-backgrounds" ,gnome-backgrounds)
7857 ("gnome-bluetooth" ,gnome-bluetooth)
7858 ("gnome-control-center" ,gnome-control-center)
7859 ("gnome-desktop" ,gnome-desktop)
7922b6f7 7860 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
8d8c6bff 7861 ("gnome-keyring" ,gnome-keyring)
7922b6f7 7862 ("gnome-menus" ,gnome-menus)
8d8c6bff
RG
7863 ("gnome-session" ,gnome-session)
7864 ("gnome-settings-daemon" ,gnome-settings-daemon)
7865 ("gnome-shell-extensions" ,gnome-shell-extensions)
7866 ("gnome-shell" ,gnome-shell)
7867 ("gnome-themes-extra" ,gnome-themes-extra)
7922b6f7 7868 ("gnome-user-docs" ,gnome-user-docs)
a8cda7f5 7869 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8d8c6bff
RG
7870 ("gvfs" ,gvfs)
7871 ("mutter" ,mutter)
7872 ("orca" ,orca)
7873 ;; GNOME-Core-Utilities
7874 ("baobab" ,baobab)
7875 ("cheese" ,cheese)
7876 ("eog" ,eog)
7877 ("epiphany" ,epiphany)
7878 ("evince" ,evince)
7879 ("file-roller" ,file-roller)
7880 ("gedit" ,gedit)
7881 ("gnome-calculator" ,gnome-calculator)
7882 ("gnome-calendar" ,gnome-calendar)
7883 ("gnome-characters" ,gnome-characters)
7884 ("gnome-clocks" ,gnome-clocks)
7885 ("gnome-contacts" ,gnome-contacts)
7886 ("gnome-disk-utility" ,gnome-disk-utility)
7887 ("gnome-font-viewer" ,gnome-font-viewer)
7888 ("gnome-maps" ,gnome-maps)
7889 ("gnome-screenshot" ,gnome-screenshot)
7890 ("gnome-system-monitor" ,gnome-system-monitor)
7891 ("gnome-terminal" ,gnome-terminal)
7892 ("nautilus" ,nautilus)
7893 ("simple-scan" ,simple-scan)
7894 ("totem" ,totem)
7922b6f7
RG
7895 ("yelp" ,yelp)
7896 ;; Others
7897 ("hicolor-icon-theme" ,hicolor-icon-theme)
7898 ("gnome-online-accounts" ,gnome-online-accounts)))
fe4e698d 7899 (synopsis "The GNU desktop environment")
dc050251
SB
7900 (home-page "https://www.gnome.org/")
7901 (description
fe4e698d
LC
7902 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7903applications for browsing the web, editing text and images, creating
7904documents and diagrams, playing media, scanning, and much more.")
dc050251 7905 (license license:gpl2+)))
4a526711
DT
7906
7907(define-public byzanz
7908 ;; The last stable release of Byzanz was in 2011, but there have been many
7909 ;; useful commits made to the Byzanz repository since then that it would be
7910 ;; silly to use such an old release.
7911 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7912 (package
7913 (name "byzanz")
7914 (version (string-append "0.2-1." (string-take commit 7)))
7915 (source (origin
7916 (method git-fetch)
7917 (uri (git-reference
5f13bf09 7918 (url "https://git.gnome.org/browse/byzanz")
4a526711 7919 (commit commit)))
5a6527e4 7920 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
7921 (sha256
7922 (base32
7923 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7924 (build-system glib-or-gtk-build-system)
7925 (arguments
7926 '(#:phases
7927 (modify-phases %standard-phases
189be331 7928 (replace 'bootstrap
4a526711
DT
7929 (lambda _
7930 ;; The build system cleverly detects that we're not building from
7931 ;; a release tarball and turns on -Werror for GCC.
7932 ;; Unsurprisingly, there is a warning during compilation that
7933 ;; causes the build to fail unnecessarily, so we remove the flag.
7934 (substitute* '("configure.ac")
7935 (("-Werror") ""))
7936 ;; The autogen.sh script in gnome-common will run ./configure
7937 ;; by default, which is problematic because source shebangs
7938 ;; have not yet been patched.
7939 (setenv "NOCONFIGURE" "t")
7940 (zero? (system* "sh" "autogen.sh")))))))
7941 (native-inputs
7942 `(("autoconf" ,autoconf)
7943 ("automake" ,automake)
7944 ("gnome-common" ,gnome-common)
7945 ("intltool" ,intltool)
7946 ("libtool" ,libtool)
7947 ("pkg-config" ,pkg-config)
7948 ("which" ,which)))
7949 (inputs
7950 `(("glib" ,glib)
7951 ("gstreamer" ,gstreamer)
7952 ("gst-plugins-base" ,gst-plugins-base)
7953 ("gtk+" ,gtk+)))
7954 (synopsis "Desktop recording program")
7955 (description "Byzanz is a simple desktop recording program with a
7956command-line interface. It can record part or all of an X display for a
7957specified duration and save it as a GIF encoded animated image file.")
7958 (home-page "https://git.gnome.org/browse/byzanz")
7959 (license license:gpl2+))))
3a9a4c51 7960
0ec171ec
MS
7961(define-public gsound
7962 (package
7963 (name "gsound")
7964 (version "1.0.2")
7965 (source (origin
7966 (method url-fetch)
7967 (uri (string-append "mirror://gnome/sources/" name "/"
7968 (version-major+minor version) "/"
7969 name "-" version ".tar.xz"))
7970 (sha256
7971 (base32
7972 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7973 (build-system glib-or-gtk-build-system)
7974 (native-inputs
7975 `(("pkg-config" ,pkg-config)
7976 ("gobject-introspection" ,gobject-introspection)
7977 ("vala" ,vala)))
7978 (inputs
7979 `(("glib" ,glib)
7980 ("libcanberra" ,libcanberra)))
7981 (home-page "https://wiki.gnome.org/Projects/GSound")
7982 (synopsis "GObject wrapper for libcanberra")
7983 (description
7984 "GSound is a small library for playing system sounds. It's designed to be
7985used via GObject Introspection, and is a thin wrapper around the libcanberra C
7986library.")
7987 (license license:lgpl2.1+)))
7988
3a9a4c51
RS
7989(define-public libzapojit
7990 (package
7991 (name "libzapojit")
7992 (version "0.0.3")
7993 (source (origin
7994 (method url-fetch)
7995 (uri (string-append "mirror://gnome/sources/" name "/"
7996 (version-major+minor version) "/"
7997 name "-" version ".tar.xz"))
7998 (sha256
7999 (base32
8000 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8001 (build-system gnu-build-system)
8002 (native-inputs
8003 `(("gobject-introspection" ,gobject-introspection)
8004 ("intltool" ,intltool)
8005 ("pkg-config" ,pkg-config)))
8006 (inputs
14c297fd 8007 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
3a9a4c51
RS
8008 ("json-glib" ,json-glib)
8009 ("rest" ,rest)))
8010 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8011 (synopsis "Library for accessing SkyDrive and Hotmail")
8012 (description
8013 "Libzapojit is a GLib-based library for accessing online service APIs of
8014Microsoft SkyDrive and Hotmail, using their REST protocols.")
8015 (license license:lgpl2.1+)))
9365ee1c 8016
60e2a9ae
MS
8017(define-public gnome-clocks
8018 (package
8019 (name "gnome-clocks")
c76d0dbc 8020 (version "3.32.0")
60e2a9ae
MS
8021 (source (origin
8022 (method url-fetch)
8023 (uri (string-append "mirror://gnome/sources/" name "/"
8024 (version-major+minor version) "/"
8025 name "-" version ".tar.xz"))
8026 (sha256
8027 (base32
c76d0dbc 8028 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
60e2a9ae
MS
8029 (build-system meson-build-system)
8030 (arguments
8031 '(#:glib-or-gtk? #t))
8032 (native-inputs
8033 `(("vala" ,vala)
8034 ("pkg-config" ,pkg-config)
8035 ("glib" ,glib "bin") ; for glib-compile-resources
8036 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8037 ("desktop-file-utils" ,desktop-file-utils)
8038 ("gettext" ,gettext-minimal)
8039 ("itstool" ,itstool)))
8040 (inputs
8041 `(("glib" ,glib)
8042 ("gtk+" ,gtk+)
8043 ("gsound" ,gsound)
8044 ("geoclue" ,geoclue)
8045 ("geocode-glib" ,geocode-glib)
8046 ("libgweather" ,libgweather)
8047 ("gnome-desktop" ,gnome-desktop)))
8048 (home-page "https://wiki.gnome.org/Apps/Clocks")
8049 (synopsis "GNOME's clock application")
8050 (description
8051 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8052desktop. It supports world clock, stop watch, alarms, and count down timer.")
8053 (license license:gpl3+)))
8054
3c474897
KY
8055(define-public gnome-calendar
8056 (package
8057 (name "gnome-calendar")
339b59bf 8058 (version "3.32.2")
3c474897
KY
8059 (source (origin
8060 (method url-fetch)
8061 (uri (string-append "mirror://gnome/sources/" name "/"
8062 (version-major+minor version) "/"
8063 name "-" version ".tar.xz"))
8064 (sha256
8065 (base32
339b59bf 8066 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
a49d3e37
MS
8067 (build-system meson-build-system)
8068 (arguments
8069 '(#:glib-or-gtk? #t
8070 ;; gnome-calendar has to be installed before the tests can be run
8071 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8072 #:tests? #f))
3c474897 8073 (native-inputs
a49d3e37
MS
8074 `(("gettext" ,gettext-minimal)
8075 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8076 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
8077 ("pkg-config" ,pkg-config)))
8078 (inputs
a49d3e37 8079 `(("evolution-data-server" ,evolution-data-server)
14c297fd 8080 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
a286b5eb
RW
8081 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8082 ("libdazzle" ,libdazzle)
b63c06f1 8083 ("libedataserverui" ,evolution-data-server)
a286b5eb
RW
8084 ("libgweather" ,libgweather)
8085 ("geoclue" ,geoclue)))
3c474897
KY
8086 (home-page "https://wiki.gnome.org/Apps/Calendar")
8087 (synopsis "GNOME's calendar application")
8088 (description
8089 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 8090desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
8091 (license license:gpl3+)))
8092
57b14665
MS
8093(define-public gnome-todo
8094 (package
8095 (name "gnome-todo")
9f3c6c88 8096 (version "3.28.1")
57b14665
MS
8097 (source (origin
8098 (method url-fetch)
8099 (uri (string-append "mirror://gnome/sources/" name "/"
8100 (version-major+minor version) "/"
8101 name "-" version ".tar.xz"))
8102 (sha256
8103 (base32
9f3c6c88 8104 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
57b14665
MS
8105 (build-system meson-build-system)
8106 (arguments
8107 '(#:glib-or-gtk? #t
8108 #:phases (modify-phases %standard-phases
8109 (add-after
8110 'install 'wrap-gnome-todo
8111 (lambda* (#:key inputs outputs #:allow-other-keys)
8112 (let ((out (assoc-ref outputs "out"))
8113 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8114 (python-path (getenv "PYTHONPATH")))
8115 (wrap-program (string-append out "/bin/gnome-todo")
8116 ;; XXX: gi plugins are broken.
8117 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8118 ;; For plugins.
8119 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8120 `("PYTHONPATH" ":" prefix (,python-path))))
8121 #t)))))
8122 (native-inputs
8123 `(("gettext" ,gettext-minimal)
8124 ("gobject-introspection" ,gobject-introspection)
8125 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8126 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8127 ("pkg-config" ,pkg-config)))
8128 (inputs
8129 `(("rest" ,rest) ; For Todoist plugin
8130 ("json-glib" ,json-glib) ; For Todoist plugin
b63c06f1 8131 ("libedataserverui" ,evolution-data-server)
57b14665
MS
8132 ("libical" ,libical)
8133 ("libpeas" ,libpeas)
8134 ("python-pygobject" ,python-pygobject)
8135 ("evolution-data-server" ,evolution-data-server)
14c297fd 8136 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
57b14665
MS
8137 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8138 (home-page "https://wiki.gnome.org/Apps/Todo")
8139 (synopsis "GNOME's ToDo Application")
8140 (description
8141 "GNOME To Do is a simplistic personal task manager designed to perfectly
8142fit the GNOME desktop.")
8143 (license license:gpl3+)))
8144
ab179eaf
SB
8145(define-public gnome-dictionary
8146 (package
8147 (name "gnome-dictionary")
cf81ddef 8148 (version "3.26.1")
ab179eaf
SB
8149 (source (origin
8150 (method url-fetch)
8151 (uri (string-append "mirror://gnome/sources/" name "/"
8152 (version-major+minor version) "/"
8153 name "-" version ".tar.xz"))
8154 (sha256
8155 (base32
cf81ddef
LC
8156 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8157 (build-system meson-build-system)
2776b5d5
MB
8158 (arguments '(#:glib-or-gtk? #t
8159 #:phases (modify-phases %standard-phases
8160 (add-after 'unpack 'patch-install-script
8161 (lambda _
8162 ;; This script attempts to compile glib schemas
8163 ;; and create an empty MIME database. We do
8164 ;; that elsewhere, so prevent it from running.
8165 (substitute* "build-aux/post-install.sh"
8166 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8167 #t)))))
ab179eaf
SB
8168 (native-inputs
8169 `(("glib:bin" ,glib "bin")
8170 ("gobject-introspection" ,gobject-introspection)
8171 ("intltool" ,intltool)
8172 ("itstool" ,itstool)
8173 ("pkg-config" ,pkg-config)
8174 ("xmllint" ,libxml2)))
8175 (inputs
8176 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8177 ("gtk+" ,gtk+)))
8178 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8179 (synopsis "Look up words in dictionary sources")
8180 (description
8181 "GNOME Dictionary can look for the definition or translation of a word in
8182existing databases over the internet.")
8183 (license license:gpl3+)))
8184
d13f3a03 8185(define-public gnome-tweaks
9365ee1c 8186 (package
d13f3a03 8187 (name "gnome-tweaks")
652af676 8188 (version "3.32.0")
9365ee1c
JN
8189 (source (origin
8190 (method url-fetch)
d13f3a03 8191 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9365ee1c 8192 (version-major+minor version) "/"
d13f3a03
RW
8193 "gnome-tweaks-" version ".tar.xz"))
8194 (patches
8195 (list (search-patch "gnome-tweaks-search-paths.patch")))
9365ee1c
JN
8196 (sha256
8197 (base32
652af676 8198 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
d13f3a03 8199 (build-system meson-build-system)
9365ee1c 8200 (arguments
d13f3a03
RW
8201 `(#:glib-or-gtk? #t
8202 #:configure-flags '("-Dlocalstatedir=/tmp"
8203 "-Dsysconfdir=/tmp")
9365ee1c 8204 #:imported-modules ((guix build python-build-system)
d13f3a03
RW
8205 ,@%meson-build-system-modules)
8206 #:phases
8207 (modify-phases %standard-phases
8208 (add-after 'install 'wrap
8209 (@@ (guix build python-build-system) wrap))
8210 (add-after 'wrap 'wrap-gi-typelib
8211 (lambda* (#:key inputs outputs #:allow-other-keys)
8212 (let ((out (assoc-ref outputs "out"))
8213 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8214 (wrap-program (string-append out "/bin/gnome-tweaks")
8215 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8216 #t)))))
9365ee1c 8217 (native-inputs
c7fc414e
RH
8218 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8219 ("intltool" ,intltool)
9365ee1c
JN
8220 ("pkg-config" ,pkg-config)))
8221 (inputs
c7fc414e
RH
8222 `(("gnome-desktop" ,gnome-desktop)
8223 ("gtk+" ,gtk+)
9365ee1c
JN
8224 ("gobject-introspection" ,gobject-introspection)
8225 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
8226 ("libnotify" ,libnotify)
8227 ("libsoup" ,libsoup)
8228 ("nautilus" ,nautilus)
8229 ("python" ,python)
8230 ("python-pygobject" ,python-pygobject)))
9365ee1c 8231 (synopsis "Customize advanced GNOME 3 options")
d13f3a03 8232 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9365ee1c 8233 (description
d13f3a03 8234 "GNOME Tweaks allows adjusting advanced configuration settings in
9365ee1c
JN
8235GNOME 3. This includes things like the fonts used in user interface elements,
8236alternative user interface themes, changes in window management behavior,
8237GNOME Shell appearance and extension, etc.")
8238 (license license:gpl3+)))
813f814a 8239
d13f3a03
RW
8240;; This package has been renamed by upstream.
8241(define-public gnome-tweak-tool
8242 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
8243
32ac717c
DT
8244(define-public gnome-shell-extensions
8245 (package
8246 (name "gnome-shell-extensions")
ae4c05e0 8247 (version "3.32.1")
32ac717c
DT
8248 (source (origin
8249 (method url-fetch)
8250 (uri (string-append "mirror://gnome/sources/" name "/"
8251 (version-major+minor version) "/"
8252 name "-" version ".tar.xz"))
8253 (sha256
8254 (base32
ae4c05e0 8255 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
100f625b 8256 (build-system meson-build-system)
32ac717c 8257 (arguments
100f625b 8258 '(#:configure-flags '("-Dextension_set=all")))
32ac717c 8259 (native-inputs
c9ea8873
LP
8260 `(("glib:bin" ,glib "bin")
8261 ("intltool" ,intltool)
32ac717c
DT
8262 ("pkg-config" ,pkg-config)))
8263 (propagated-inputs
c9ea8873 8264 `(("glib" ,glib)))
32ac717c
DT
8265 (synopsis "Extensions for GNOME Shell")
8266 (description "GNOME Shell extensions modify and extend GNOME Shell
8267functionality and behavior.")
8268 (home-page "https://extensions.gnome.org/")
8269 (license license:gpl3+)))
8270
813f814a
DT
8271(define-public arc-theme
8272 (package
8273 (name "arc-theme")
37781323 8274 (version "20190917")
813f814a 8275 (source (origin
a18f8eaf
BH
8276 (method git-fetch)
8277 (uri (git-reference
8278 (url "https://github.com/NicoHood/arc-theme.git")
8279 (commit version)))
8280 (file-name (git-file-name name version))
813f814a
DT
8281 (sha256
8282 (base32
37781323 8283 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
813f814a 8284 (build-system gnu-build-system)
d88884fa
EF
8285 (arguments
8286 '(#:phases
8287 (modify-phases %standard-phases
8288 ;; autogen.sh calls configure at the end of the script.
8289 (replace 'bootstrap
8290 (lambda _ (invoke "autoreconf" "-vfi"))))))
813f814a
DT
8291 (native-inputs
8292 `(("autoconf" ,autoconf)
8293 ("automake" ,automake)
a18f8eaf
BH
8294 ("glib" ,glib "bin") ; for glib-compile-resources
8295 ("gnome-shell" ,gnome-shell)
8296 ("gtk+" ,gtk+)
8297 ("inkscape" ,inkscape)
8298 ("optipng" ,optipng)
8299 ("pkg-config" ,pkg-config)
bed24ecf 8300 ("sassc" ,sassc/libsass-3.5)))
813f814a
DT
8301 (synopsis "A flat GTK+ theme with transparent elements")
8302 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
83032, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8304like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8305 (home-page "https://github.com/horst3180/arc-theme")
8306 ;; No "or later" language found.
a18f8eaf 8307 (license license:gpl3+)))
9987c57c 8308
d935e6a1 8309(define-public faba-icon-theme
9987c57c 8310 (package
d935e6a1 8311 (name "faba-icon-theme")
2eee7ee3 8312 (version "4.3")
d935e6a1
BT
8313 (source
8314 (origin
757e4027
TGR
8315 (method git-fetch)
8316 (uri (git-reference
8317 (url "https://github.com/snwh/faba-icon-theme.git")
8318 (commit (string-append "v" version))))
8319 (file-name (git-file-name name version))
d935e6a1 8320 (sha256
757e4027 8321 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
f6a9b345 8322 (build-system meson-build-system)
9987c57c 8323 (arguments
82da291a 8324 `(#:phases
9987c57c 8325 (modify-phases %standard-phases
82da291a 8326 (add-before 'configure 'disable-post-install
9987c57c 8327 (lambda _
82da291a
JL
8328 (substitute* "meson.build"
8329 (("meson.add_install_script.*") "")))))))
9987c57c
DT
8330 (native-inputs
8331 `(("autoconf" ,autoconf)
8332 ("automake" ,automake)))
d935e6a1
BT
8333 (synopsis "Faba icon theme")
8334 (description
8335 "Faba is a minimal icon set used as a basis for other themes such as
8336Moka")
8337 (home-page "https://snwh.org/moka")
8338 (license (list license:lgpl3+
8339 license:cc-by-sa4.0))))
8340
9987c57c
DT
8341(define-public moka-icon-theme
8342 (package
8b0e4177 8343 (inherit faba-icon-theme)
9987c57c 8344 (name "moka-icon-theme")
105a3625 8345 (version "5.4.0")
8c3f2170
TGR
8346 (source
8347 (origin
8348 (method git-fetch)
8349 (uri (git-reference
8350 (url "https://github.com/snwh/moka-icon-theme.git")
8351 (commit (string-append "v" version))))
8352 (file-name (git-file-name name version))
8353 (sha256
8354 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
550281fb
BT
8355 (propagated-inputs
8356 ;; Moka is based on Faba by using it as a fallback icon set instead of
8357 ;; bundling it, so we need to add it as a propagated input.
8358 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
8359 (synopsis "Moka icon theme")
8360 (description "Moka is a stylized desktop icon set, designed to be clear,
8361simple and consistent.")
fedde43b
BT
8362 (license (list license:gpl3+
8363 license:cc-by-sa4.0))))
6fd8f8d6
DT
8364
8365(define-public arc-icon-theme
8366 (package
8367 (name "arc-icon-theme")
c4180240 8368 (version "20161122")
bbf66cbf
TGR
8369 (source
8370 (origin
8371 (method git-fetch)
8372 (uri (git-reference
8373 (url "https://github.com/horst3180/arc-icon-theme.git")
8374 (commit version)))
8375 (file-name (git-file-name name version))
8376 (sha256
8377 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
6fd8f8d6 8378 (build-system gnu-build-system)
9e1ede95
JL
8379 (arguments
8380 `(#:phases
8381 (modify-phases %standard-phases
8382 (add-after 'unpack 'disable-configure-during-bootstrap
8383 (lambda _
8384 (substitute* "autogen.sh"
8385 (("^\"\\$srcdir/configure\".*") ""))
8386 #t)))))
6fd8f8d6
DT
8387 (native-inputs
8388 `(("autoconf" ,autoconf)
8389 ("automake" ,automake)))
8390 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8391 (propagated-inputs
8392 `(("moka-icon-theme" ,moka-icon-theme)))
8393 (synopsis "Arc icon theme")
8394 (description "The Arc icon theme provides a set of icons matching the
8395style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8396the Moka icon theme.")
8397 (home-page "https://github.com/horst3180/arc-icon-theme")
8398 (license license:gpl3+)))
6064a4e8
LF
8399
8400(define-public folks
8401 (package
8402 (name "folks")
d23495fa 8403 (version "0.11.4")
6064a4e8
LF
8404 (source (origin
8405 (method url-fetch)
8406 (uri (string-append
e5f4796e 8407 "mirror://gnome/sources/folks/"
6064a4e8 8408 (version-major+minor version) "/"
e5f4796e 8409 "folks-" version ".tar.xz"))
6064a4e8
LF
8410 (sha256
8411 (base32
d23495fa 8412 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6064a4e8
LF
8413 (build-system glib-or-gtk-build-system)
8414 (inputs
8415 `(("bdb" ,bdb)
8416 ("dbus-glib" ,dbus-glib)
8417 ("evolution-data-server" ,evolution-data-server)
8418 ("glib" ,glib)
8419 ("libgee" ,libgee)
8420 ("telepathy-glib" ,telepathy-glib)))
8421 (native-inputs
8422 `(("gobject-introspection" ,gobject-introspection)
8423 ("intltool" ,intltool)
8424 ("pkg-config" ,pkg-config)
8425 ("vala" ,vala)))
8426 (synopsis "Library to aggregate data about people")
8427 (description "Libfolks is a library that aggregates information about people
8428from multiple sources (e.g., Telepathy connection managers for IM contacts,
8429Evolution Data Server for local contacts, libsocialweb for web service contacts,
8430etc.) to create metacontacts. It's written in Vala, which generates C code when
8431compiled.")
8432 (home-page "https://wiki.gnome.org/Projects/Folks")
8433 (license license:lgpl2.1+)))
01ea778f
LF
8434
8435(define-public gfbgraph
8436 (package
8437 (name "gfbgraph")
8438 (version "0.2.3")
8439 (source (origin
8440 (method url-fetch)
8441 (uri (string-append
237d4cf7 8442 "mirror://gnome/sources/gfbgraph/"
01ea778f 8443 (version-major+minor version) "/"
237d4cf7 8444 "gfbgraph-" version ".tar.xz"))
01ea778f
LF
8445 (sha256
8446 (base32
8447 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8448 (build-system glib-or-gtk-build-system)
8449 (arguments
8450 `(#:tests? #f ; Tests appear to require the network.
8451 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8452 #:configure-flags '("--disable-gtk-doc"
8453 "--disable-static"
8454 "--enable-introspection")))
8455 (native-inputs
8456 `(("pkg-config" ,pkg-config)
8457 ("gobject-introspection" ,gobject-introspection)))
8458 (inputs
8459 `(("json-glib" ,json-glib)
14c297fd 8460 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
01ea778f
LF
8461 ("rest" ,rest)))
8462 (synopsis "GLib/GObject wrapper for the Facebook API")
8463 (description "This library allows you to use the Facebook API from
8464GLib/GObject code.")
8465 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8466 (license license:lgpl2.1+)))
3920868c 8467
8468(define-public libgnomekbd
8469 (package
8470 (name "libgnomekbd")
70f2b0f9 8471 (version "3.26.1")
3920868c 8472 (source (origin
8473 (method url-fetch)
d47fa82d 8474 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
3920868c 8475 (version-major+minor version) "/"
d47fa82d 8476 "libgnomekbd-" version ".tar.xz"))
3920868c 8477 (sha256
8478 (base32
70f2b0f9 8479 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
3920868c 8480 (build-system gnu-build-system)
8481 (native-inputs
8482 `(("pkg-config" ,pkg-config)
8483 ("glib" ,glib "bin")
8484 ("intltool" ,intltool)))
8485 (propagated-inputs
8486 ;; Referred to in .h files and .pc.
8487 `(("glib" ,glib)
8488 ("gtk+" ,gtk+)
8489 ("libxklavier" ,libxklavier)))
8490 (home-page "https://www.gnome.org")
8491 (synopsis "GNOME keyboard configuration library")
8492 (description
8493 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8494environment, which can notably display keyboard layouts.")
8495 (license license:lgpl2.0+)))
85327d0d 8496
8497;;; This package is no longer maintained:
8498;;; https://wiki.gnome.org/Attic/LibUnique
8499;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8500;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8501(define-public libunique
8502 (package
8503 (name "libunique")
8504 (version "3.0.2")
8505 (source (origin
8506 (method url-fetch)
8507 (uri (string-append "mirror://gnome/sources/" name "/"
8508 (version-major+minor version) "/"
8509 name "-" version ".tar.xz"))
8510 (sha256
8511 (base32
8512 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8513 (build-system glib-or-gtk-build-system)
8514 (arguments
8515 `(#:configure-flags '("--disable-static"
8516 "--disable-dbus" ; use gdbus
8517 "--enable-introspection")))
8518 (native-inputs
8519 `(("pkg-config" ,pkg-config)
8520 ("gobject-introspection" ,gobject-introspection)
8521 ("glib:bin" ,glib "bin")
8522 ("gtk-doc" ,gtk-doc)))
8523 (propagated-inputs
8524 ;; Referred to in .h files and .pc.
8525 `(("gtk+" ,gtk+)))
8526 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8527 (synopsis "Library for writing single instance applications")
8528 (description
8529 "Libunique is a library for writing single instance applications. If you
8530launch a single instance application twice, the second instance will either just
8531quit or will send a message to the running instance. Libunique makes it easy to
8532write this kind of application, by providing a base class, taking care of all
8533the IPC machinery needed to send messages to a running instance, and also
8534handling the startup notification side.")
8535 (license license:lgpl2.1+)))
54021cd8
RS
8536
8537(define-public gnome-calculator
8538 (package
8539 (name "gnome-calculator")
07ace641 8540 (version "3.32.2")
54021cd8
RS
8541 (source
8542 (origin
8543 (method url-fetch)
8544 (uri (string-append "mirror://gnome/sources/" name "/"
8545 (version-major+minor version) "/"
8546 name "-" version ".tar.xz"))
8547 (sha256
8548 (base32
07ace641 8549 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
2d475910
RW
8550 (build-system meson-build-system)
8551 (arguments '(#:glib-or-gtk? #t))
54021cd8
RS
8552 (native-inputs
8553 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
2d475910 8554 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
54021cd8
RS
8555 ("intltool" ,intltool)
8556 ("itstool" ,itstool)
2d475910 8557 ("vala" ,vala)
54021cd8
RS
8558 ("pkg-config" ,pkg-config)))
8559 (inputs
112e9083 8560 `(("glib" ,glib)
07ace641 8561 ("gtksourceview" ,gtksourceview)
54021cd8 8562 ("libsoup" ,libsoup)
112e9083 8563 ("libxml2" ,libxml2)
2c2da7ec 8564 ("mpc" ,mpc)
54021cd8
RS
8565 ("mpfr" ,mpfr)))
8566 (home-page "https://wiki.gnome.org/Apps/Calculator")
8567 (synopsis "Desktop calculator")
8568 (description
8569 "Calculator is an application that solves mathematical equations and
8570is suitable as a default application in a Desktop environment.")
8571 (license license:gpl3)))
0bd69759
RS
8572
8573(define-public xpad
8574 (package
8575 (name "xpad")
c85626bb 8576 (version "5.1.0")
0bd69759
RS
8577 (source
8578 (origin
8579 (method url-fetch)
08fda9c6
R
8580 (uri (string-append "https://launchpad.net/xpad/trunk/"
8581 version "/+download/"
0bd69759
RS
8582 name "-" version ".tar.bz2"))
8583 (sha256
8584 (base32
c85626bb 8585 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
8586 (build-system gnu-build-system)
8587 (native-inputs
08fda9c6
R
8588 `(("autoconf" ,autoconf)
8589 ("automake" ,automake)
8590 ("gtk+:bin" ,gtk+ "bin")
8591 ("intltool" ,intltool)
0bd69759
RS
8592 ("pkg-config" ,pkg-config)))
8593 (inputs
c72647fb 8594 `(("gtksourceview" ,gtksourceview-3)
0bd69759
RS
8595 ("libsm" ,libsm)))
8596 (home-page "https://wiki.gnome.org/Apps/Xpad")
8597 (synopsis "Virtual sticky note")
8598 (description
8599 "Xpad is a sticky note that strives to be simple, fault tolerant,
8600and customizable. Xpad consists of independent pad windows, each is
8601basically a text box in which notes can be written.")
8602 (license license:gpl3+)))
3ad7dce1
RS
8603
8604(define-public gucharmap
c60063ea
RW
8605 (let ((unicode-files
8606 '(("Blocks.txt"
1f8b5515 8607 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
c60063ea 8608 ("DerivedAge.txt"
1f8b5515 8609 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
c60063ea 8610 ("NamesList.txt"
1f8b5515 8611 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
c60063ea 8612 ("Scripts.txt"
1f8b5515 8613 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
c60063ea 8614 ("UnicodeData.txt"
1f8b5515 8615 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
c60063ea 8616 ("Unihan.zip"
1f8b5515 8617 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
c60063ea
RW
8618 (package
8619 (name "gucharmap")
1f8b5515 8620 (version "12.0.1")
c60063ea
RW
8621 (source
8622 (origin
8623 (method url-fetch)
8624 (uri (string-append "mirror://gnome/sources/" name "/"
8625 (version-major+minor version) "/"
8626 name "-" version ".tar.xz"))
8627 (sha256
8628 (base32
1f8b5515 8629 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
c60063ea
RW
8630 (build-system glib-or-gtk-build-system)
8631 (arguments
8632 `(#:modules ((ice-9 match)
8633 (guix build glib-or-gtk-build-system)
8634 (guix build utils))
8635 #:configure-flags
8636 (list "--with-unicode-data=../unicode-data")
8637 #:phases
8638 (modify-phases %standard-phases
8639 (add-after 'unpack 'prepare-unicode-data
8640 (lambda* (#:key inputs #:allow-other-keys)
8641 (mkdir-p "../unicode-data")
8642 (with-directory-excursion "../unicode-data"
8643 (for-each (match-lambda
8644 ((file _)
8645 (install-file (assoc-ref inputs file) ".")))
8646 ',unicode-files))
8647 #t)))))
8648 (native-inputs
8649 `(("desktop-file-utils" ,desktop-file-utils)
8650 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8651 ("gobject-introspection" ,gobject-introspection)
8652 ("intltool" ,intltool)
8653 ("itstool" ,itstool)
8654 ("pkg-config" ,pkg-config)
8655 ,@(map (match-lambda
8656 ((file hash)
8657 `(,file
8658 ,(origin
8659 (method url-fetch)
8660 (uri (string-append
1f8b5515 8661 "http://www.unicode.org/Public/12.0.0/ucd/"
c60063ea
RW
8662 file))
8663 (sha256 (base32 hash))))))
8664 unicode-files)
8665 ("unzip" ,unzip)))
8666 (inputs
8667 `(("gtk+" ,gtk+)
8668 ("xmllint" ,libxml2)))
8669 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8670 (synopsis "Unicode character picker and font browser")
8671 (description
8672 "This program allows you to browse through all the available Unicode
3ad7dce1
RS
8673characters and categories for the installed fonts, and to examine their
8674detailed properties. It is an easy way to find the character you might
8675only know by its Unicode name or code point.")
c60063ea 8676 (license license:gpl3+))))
04ce840a
RS
8677
8678(define-public bluefish
8679 (package
8680 (name "bluefish")
ea8afaf3 8681 (version "2.2.10")
04ce840a
RS
8682 (source
8683 (origin
8684 (method url-fetch)
8685 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8686 name "-" version ".tar.gz"))
8687 (sha256
8688 (base32
ea8afaf3 8689 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
04ce840a
RS
8690 (build-system gnu-build-system)
8691 (native-inputs
8692 `(("desktop-file-utils" ,desktop-file-utils)
8693 ("intltool" ,intltool)
8694 ("pkg-config" ,pkg-config)))
8695 (inputs
8696 `(("enchant" ,enchant)
8697 ("gtk+" ,gtk+)
8698 ("python" ,python-2)
8699 ("xmllint" ,libxml2)
8700 ("gucharmap" ,gucharmap)))
8701 (home-page "http://bluefish.openoffice.nl")
8702 (synopsis "Web development studio")
8703 (description
8704 "Bluefish is an editor targeted towards programmers and web developers,
8705with many options to write web sites, scripts and other code.
8706Bluefish supports many programming and markup languages.")
8707 (license license:gpl3+)))
1f6a73ee
RS
8708
8709(define-public gnome-system-monitor
8710 (package
8711 (name "gnome-system-monitor")
083cffaf 8712 (version "3.32.1")
1f6a73ee
RS
8713 (source
8714 (origin
8715 (method url-fetch)
8716 (uri (string-append "mirror://gnome/sources/" name "/"
8717 (version-major+minor version) "/"
8718 name "-" version ".tar.xz"))
8719 (sha256
8720 (base32
083cffaf 8721 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
85fb3df3
RW
8722 (build-system meson-build-system)
8723 (arguments
8724 '(#:glib-or-gtk? #t
8725 #:configure-flags '("-Dsystemd=false")))
1f6a73ee
RS
8726 (native-inputs
8727 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
85fb3df3 8728 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
1f6a73ee
RS
8729 ("intltool" ,intltool)
8730 ("itstool" ,itstool)
8731 ("libgtop" ,libgtop)
4985d9aa 8732 ("polkit" ,polkit)
1f6a73ee
RS
8733 ("pkg-config" ,pkg-config)))
8734 (inputs
8735 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8736 ("gtk+" ,gtk+)
8737 ("gtkmm" ,gtkmm)
8738 ("librsvg" ,librsvg)
4985d9aa
RW
8739 ("libxml2" ,libxml2)
8740 ("libwnck" ,libwnck)))
1f6a73ee
RS
8741 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8742 (synopsis "Process viewer and system resource monitor for GNOME")
8743 (description
8744 "GNOME System Monitor is a GNOME process viewer and system monitor with
8745an attractive, easy-to-use interface. It has features, such as a tree view
8746for process dependencies, icons for processes, the ability to hide processes,
8747graphical time histories of CPU/memory/swap usage and the ability to
8748kill/reinice processes.")
8749 (license license:gpl2+)))
3e00ac47
SB
8750
8751(define-public python-pyatspi
8752 (package
8753 (name "python-pyatspi")
4f937a32 8754 (version "2.34.0")
3e00ac47
SB
8755 (source (origin
8756 (method url-fetch)
8757 (uri (string-append
8758 "mirror://gnome/sources/pyatspi/"
8759 (version-major+minor version)
8760 "/pyatspi-" version ".tar.xz"))
8761 (sha256
8762 (base32
4f937a32 8763 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
3e00ac47 8764 (build-system gnu-build-system)
b95af3f6
JL
8765 (arguments
8766 `(#:phases
8767 (modify-phases %standard-phases
8768 (add-before 'build 'fix-atk-load
8769 (lambda _
8770 (substitute* "pyatspi/__init__.py"
8771 (("from gi.repository import Atspi")
8772 "gi.require_version('Gtk', '3.0')
8773from gi.repository import Gtk
8774from gi.repository import Atspi"))
8775 #t)))))
3e00ac47
SB
8776 (native-inputs
8777 `(("pkg-config" ,pkg-config)))
8778 (inputs
8779 `(("python" ,python)
8780 ("python-pygobject" ,python-pygobject)))
8781 (synopsis "Python client bindings for D-Bus AT-SPI")
8782 (home-page "https://wiki.linuxfoundation.org/accessibility\
8783/atk/at-spi/at-spi_on_d-bus")
8784 (description
8785 "This package includes a python client library for the AT-SPI D-Bus
8786accessibility infrastructure.")
8787 (license license:lgpl2.0)
8788 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
8789
8790(define-public orca
8791 (package
8792 (name "orca")
089e8585 8793 (version "3.32.0")
53201c0d
SB
8794 (source (origin
8795 (method url-fetch)
8796 (uri (string-append
8797 "mirror://gnome/sources/" name "/"
8798 (version-major+minor version) "/"
8799 name "-" version ".tar.xz"))
8800 (sha256
8801 (base32
089e8585 8802 "05jqzlg0f1x53hyl0l9282ynmw37159g6dsbrid12b7sjs12cc1i"))))
53201c0d
SB
8803 (build-system glib-or-gtk-build-system)
8804 (arguments
8805 '(#:phases
8806 (modify-phases %standard-phases
8807 (add-before 'configure 'qualify-xkbcomp
8808 (lambda* (#:key inputs #:allow-other-keys)
8809 (let ((xkbcomp (string-append
8810 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8811 (substitute* "src/orca/orca.py"
8812 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8813 #t))
8814 (add-after 'install 'wrap-orca
8815 (lambda* (#:key outputs #:allow-other-keys)
8816 (let* ((out (assoc-ref outputs "out"))
8817 (prog (string-append out "/bin/orca")))
8818 (wrap-program prog
8819 `("GI_TYPELIB_PATH" ":" prefix
8820 (,(getenv "GI_TYPELIB_PATH")))
8821 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8822 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8823 `("PYTHONPATH" ":" prefix
8824 (,(getenv "PYTHONPATH")))))
8825 #t)))))
8826 (native-inputs
8827 `(("intltool" ,intltool)
8828 ("itstool" ,itstool)
8829 ("pkg-config" ,pkg-config)
8830 ("xmllint" ,libxml2)))
8831 (inputs
8832 `(("at-spi2-atk" ,at-spi2-atk)
8833 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8834 ("gstreamer" ,gstreamer)
8835 ("gst-plugins-base" ,gst-plugins-base)
8836 ("gst-plugins-good" ,gst-plugins-good)
8837 ("gtk+" ,gtk+)
8838 ("python" ,python)
8839 ("python-pygobject" ,python-pygobject)
8840 ("python-pyatspi" ,python-pyatspi)
8841 ("python-speechd" ,speech-dispatcher)
8842 ("xkbcomp" ,xkbcomp)))
8843 (synopsis
8844 "Screen reader for individuals who are blind or visually impaired")
8845 (home-page "https://wiki.gnome.org/Projects/Orca")
8846 (description
8847 "Orca is a screen reader that provides access to the graphical desktop
8848via speech and refreshable braille. Orca works with applications and toolkits
8849that support the Assistive Technology Service Provider Interface (AT-SPI).")
8850 (license license:lgpl2.1+)))
411ba511
LC
8851
8852(define-public gspell
8853 (package
8854 (name "gspell")
7a6bbe9b 8855 (version "1.8.2")
411ba511
LC
8856 (source (origin
8857 (method url-fetch)
8858 (uri (string-append "mirror://gnome/sources/" name "/"
8859 (version-major+minor version) "/"
8860 name "-" version ".tar.xz"))
8861 (sha256
8862 (base32
7a6bbe9b 8863 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
411ba511
LC
8864 (patches (search-patches "gspell-dash-test.patch"))))
8865 (build-system glib-or-gtk-build-system)
8866 (arguments
8867 '(#:phases
8868 (modify-phases %standard-phases
8869 (add-before 'check 'pre-check
8870 (lambda* (#:key inputs #:allow-other-keys)
8871 ;; Tests require a running X server.
8872 (system "Xvfb :1 &")
8873 (setenv "DISPLAY" ":1")
8874
8875 ;; For the missing /etc/machine-id.
8876 (setenv "DBUS_FATAL_WARNINGS" "0")
8877
8878 ;; Allow Enchant and its Aspell backend to find the en_US
8879 ;; dictionary.
8880 (setenv "ASPELL_DICT_DIR"
8881 (string-append (assoc-ref inputs "aspell-dict-en")
8882 "/lib/aspell"))
8883 #t)))))
8884 (inputs
eccd35be 8885 `(("gtk+" ,gtk+)
a801ae4c
TGR
8886 ("glib" ,glib)
8887 ("iso-codes" ,iso-codes)))
411ba511
LC
8888 (native-inputs
8889 `(("glib" ,glib "bin")
26ba3f07 8890 ("gobject-introspection" ,gobject-introspection)
411ba511
LC
8891 ("pkg-config" ,pkg-config)
8892 ("xmllint" ,libxml2)
8893
8894 ;; For tests.
a801ae4c 8895 ("aspell-dict-en" ,aspell-dict-en)
ff337525 8896 ("xorg-server" ,xorg-server-for-tests)))
eccd35be 8897 (propagated-inputs
9b1bb757 8898 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
8899 (home-page "https://wiki.gnome.org/Projects/gspell")
8900 (synopsis "GNOME's alternative spell checker")
8901 (description
8902 "gspell provides a flexible API to add spell-checking to a GTK+
8903application. It provides a GObject API, spell-checking to text entries and
8904text views, and buttons to choose the language.")
8905 (license license:gpl2+)))
d1d739fa
CM
8906
8907(define-public gnome-planner
8908 (package
8909 (name "gnome-planner")
8910 (version "0.14.6")
8911 (source (origin
8912 (method url-fetch)
8913 (uri (string-append "mirror://gnome/sources/planner/"
8914 (version-major+minor version) "/planner-"
8915 version ".tar.xz"))
8916 (sha256
8917 (base32
8918 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8919 (build-system glib-or-gtk-build-system)
8920 (arguments
8921 ;; Disable the Python bindings because the Planner program functions
8922 ;; without them, and (as of 2017-06-13) we have not packaged all of
8923 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
8924 `(#:configure-flags
8925 (list "--disable-python"
8926 ,@(if (string=? "aarch64-linux" (%current-system))
8927 '("--build=aarch64-unknown-linux-gnu")
8928 '()))))
d1d739fa
CM
8929 (inputs
8930 `(("libgnomecanvas" ,libgnomecanvas)
8931 ("libgnomeui" ,libgnomeui)
8932 ("libglade" ,libglade)
8933 ("gnome-vfs" ,gnome-vfs)
8934 ("gconf" ,gconf)
8935 ("libxml2" ,libxml2)
8936 ("libxslt" ,libxslt)
8937 ("gtk+" ,gtk+)
8938 ("glib" ,glib)))
8939 (native-inputs
8940 `(("intltool" ,intltool)
8941 ("scrollkeeper" ,scrollkeeper)
8942 ("pkg-config" ,pkg-config)))
8943 (home-page "https://wiki.gnome.org/Apps/Planner")
8944 (synopsis "Project management software for the GNOME desktop")
8945 (description
8946 "GNOME Planner is a project management tool based on the Work Breakdown
8947Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8948the resources, tasks, and constraints that you define, Planner generates
8949various views into a project. For example, Planner can show a Gantt chart of
8950the project. It can show a detailed summary of tasks including their
8951duration, cost, and current progress. It can also show a report of resource
8952utilization that highlights under-utilized and over-utilized resources. These
8953views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 8954 (license license:gpl2+)))
64fce637
RS
8955
8956(define-public lollypop
8957 (package
8958 (name "lollypop")
ca32627a 8959 (version "1.2.7")
64fce637
RS
8960 (source
8961 (origin
8962 (method url-fetch)
b98eace8 8963 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
ca32627a 8964 "08f973788c7ca46d9285eec2ac818edb/"
3275d43d 8965 "lollypop-" version ".tar.xz"))
64fce637 8966 (sha256
ca32627a 8967 (base32 "0hvq6m4i62i0m63bg4gzpfb9rv1fk6vq5jl2g3ppcgm4srmfm77j"))))
aa498fc0 8968 (build-system meson-build-system)
64fce637
RS
8969 (arguments
8970 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
8971 ,@%meson-build-system-modules)
8972 #:glib-or-gtk? #t
5fc9b6c1
EF
8973 #:tests? #f ; no test suite
8974 #:phases
8975 (modify-phases %standard-phases
5fc9b6c1
EF
8976 (add-after 'install 'wrap-program
8977 (lambda* (#:key outputs #:allow-other-keys)
8978 (let ((out (assoc-ref outputs "out"))
8979 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8980 (wrap-program (string-append out "/bin/lollypop")
8981 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8982 #t))
8ac8b3b3
TGR
8983 (add-after 'install 'wrap-python
8984 (@@ (guix build python-build-system) wrap))
8985 (add-after 'install 'wrap-glib-or-gtk
8986 (@@ (guix build glib-or-gtk-build-system) wrap-all-programs)))))
64fce637
RS
8987 (native-inputs
8988 `(("intltool" ,intltool)
8989 ("itstool" ,itstool)
aa498fc0
TD
8990 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8991 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
8992 ("pkg-config" ,pkg-config)))
8993 (inputs
8994 `(("gobject-introspection" ,gobject-introspection)
8ac8b3b3 8995 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5fc9b6c1 8996 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
8997 ("libnotify" ,libnotify)
8998 ("libsecret" ,libsecret)
8999 ("libsoup" ,libsoup)
9000 ("python" ,python)
9001 ("python-beautifulsoup4" ,python-beautifulsoup4)
9002 ("python-gst" ,python-gst)
d029afdd 9003 ("python-pil" ,python-pillow)
64fce637 9004 ("python-pycairo" ,python-pycairo)
7460f346 9005 ("python-pygobject" ,python-pygobject-3.34)
64fce637
RS
9006 ("python-pylast" ,python-pylast)
9007 ("totem-pl-parser" ,totem-pl-parser)
9008 ("webkitgtk" ,webkitgtk)))
9009 (propagated-inputs
9010 `(;; gst-plugins-base is required to start Lollypop,
9011 ;; the others are required to play streaming.
64fce637
RS
9012 ("gst-plugins-good" ,gst-plugins-good)
9013 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 9014 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
9015 (synopsis "GNOME music playing application")
9016 (description
9017 "Lollypop is a music player designed to play well with GNOME desktop.
9018Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9019from artists and tracks from the web. It also fetches cover artworks
9020automatically and it can stream songs from online music services and charts.")
9021 (license license:gpl3+)))
d831d49d
AW
9022
9023(define-public gnome-video-effects
9024 (package
9025 (name "gnome-video-effects")
9026 (version "0.4.3")
9027 (source (origin
9028 (method url-fetch)
9029 (uri (string-append "mirror://gnome/sources/" name "/"
9030 (version-major+minor version) "/" name "-"
9031 version ".tar.xz"))
9032 (sha256
9033 (base32
9034 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9035 (build-system glib-or-gtk-build-system)
9036 (arguments
9037 `(#:out-of-source? #f))
9038 (native-inputs
9039 `(("glib:bin" ,glib "bin")
9040 ("intltool" ,intltool)
9041 ("gettext" ,gettext-minimal)
9042 ("pkg-config" ,pkg-config)))
9043 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9044 (synopsis "Video effects for Cheese and other GNOME applications")
9045 (description
9046 "A collection of GStreamer video filters and effects to be used in
9047photo-booth-like software, such as Cheese.")
9048 (license license:gpl2+)))
3511c780
AW
9049
9050(define-public cheese
9051 (package
9052 (name "cheese")
dd33b337 9053 (version "3.32.1")
3511c780
AW
9054 (source (origin
9055 (method url-fetch)
9056 (uri (string-append "mirror://gnome/sources/" name "/"
9057 (version-major+minor version) "/" name "-"
9058 version ".tar.xz"))
9059 (sha256
9060 (base32
dd33b337 9061 "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv"))))
3511c780
AW
9062 (arguments
9063 ;; Tests require GDK.
9064 `(#:tests? #f
9065 #:phases
9066 (modify-phases %standard-phases
9067 (add-before 'install 'skip-gtk-update-icon-cache
9068 (lambda _
9069 ;; Don't create 'icon-theme.cache'
9070 (substitute* "Makefile"
9071 (("gtk-update-icon-cache") (which "true")))
9072 #t))
9073 (add-after 'install 'wrap-cheese
9074 (lambda* (#:key inputs outputs #:allow-other-keys)
9075 (let ((out (assoc-ref outputs "out"))
9076 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9077 (wrap-program (string-append out "/bin/cheese")
9078 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9079 #t)))))
9080 (build-system glib-or-gtk-build-system)
9081 (native-inputs
9082 `(("glib:bin" ,glib "bin")
9083 ("intltool" ,intltool)
9084 ("itstool" ,itstool)
9085 ("libxml2" ,libxml2)
9086 ("pkg-config" ,pkg-config)
9087 ("vala" ,vala)))
9088 (propagated-inputs
6a19f03e
RW
9089 `(("gnome-video-effects" ,gnome-video-effects)
9090 ("clutter" ,clutter)
3511c780
AW
9091 ("clutter-gst" ,clutter-gst)
9092 ("clutter-gtk" ,clutter-gtk)
6a19f03e 9093 ("libcanberra" ,libcanberra)
3511c780
AW
9094 ("gdk-pixbuf" ,gdk-pixbuf)
9095 ("glib" ,glib)
6a19f03e
RW
9096 ("gstreamer" ,gstreamer)))
9097 (inputs
9098 `(("gnome-desktop" ,gnome-desktop)
3511c780 9099 ("gobject-introspection" ,gobject-introspection)
3511c780
AW
9100 ("gst-plugins-base" ,gst-plugins-base)
9101 ("gst-plugins-bad" ,gst-plugins-bad)
9102 ("gtk+" ,gtk+)
3511c780
AW
9103 ("libx11" ,libx11)
9104 ("libxtst" ,libxtst)))
9105 (home-page "https://wiki.gnome.org/Apps/Cheese")
9106 (synopsis "Webcam photo booth software for GNOME")
9107 (description
9108 "Cheese uses your webcam to take photos and videos. Cheese can also
9109apply fancy special effects and lets you share the fun with others.")
9110 (license license:gpl2+)))
3c5dbd2b 9111
9112(define-public sound-juicer
9113 (package
9114 (name "sound-juicer")
9115 (version "3.24.0")
9116 (source
9117 (origin
9118 (method url-fetch)
9119 (uri (string-append "mirror://gnome/sources/" name "/"
9120 (version-major+minor version) "/"
9121 name "-" version ".tar.xz"))
9122 (sha256
9123 (base32
9124 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9125 (build-system glib-or-gtk-build-system)
9126 (native-inputs
9127 `(("desktop-file-utils" ,desktop-file-utils)
9128 ("intltool" ,intltool)
9129 ("itstool" ,itstool)
9130 ("pkg-config" ,pkg-config)
9131 ("xmllint" ,libxml2)))
9132 (inputs
9133 `(("gtk+" ,gtk+)
9134 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9135 ("gstreamer" ,gstreamer)
9136 ("gst-plugins-base" ,gst-plugins-base)
9137 ("gst-plugins-good" ,gst-plugins-good)
9138 ("iso-codes" ,iso-codes)
9139 ("libbrasero-media3" ,brasero)
9140 ("libcanberra" ,libcanberra)
9141 ("libdiscid" ,libdiscid)
9142 ("libmusicbrainz" ,libmusicbrainz)
9143 ("neon" ,neon)))
9144 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9145 (synopsis "Audio music cd ripper")
9146 (description "Sound Juicer extracts audio from compact discs and convert it
9147into audio files that a personal computer or digital audio player can play.
9148It supports ripping to any audio codec supported by a GStreamer plugin, such as
9149mp3, Ogg Vorbis and FLAC")
9150 (license license:gpl2+)))
4e3fdeb7 9151
0d3f1708
CB
9152(define-public soundconverter
9153 (package
9154 (name "soundconverter")
fa75a213 9155 (version "3.0.1")
0d3f1708
CB
9156 (source
9157 (origin
9158 (method url-fetch)
9159 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9160 version "/+download/"
9161 "soundconverter-" version ".tar.xz"))
9162
9163 (sha256
fa75a213 9164 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
0d3f1708
CB
9165 (patches
9166 (search-patches
9167 "soundconverter-remove-gconf-dependency.patch"))))
9168 (build-system glib-or-gtk-build-system)
9169 (arguments
9170 `(#:imported-modules ((guix build python-build-system)
9171 (guix build glib-or-gtk-build-system)
9172 ,@%gnu-build-system-modules)
9173
9174 #:modules ((guix build glib-or-gtk-build-system)
9175 (guix build utils)
9176 ((guix build gnu-build-system) #:prefix gnu:)
9177 ((guix build python-build-system) #:prefix python:))
9178
9179 #:phases
9180 (modify-phases %standard-phases
0d3f1708
CB
9181 (add-after 'install 'wrap-soundconverter-for-python
9182 (assoc-ref python:%standard-phases 'wrap))
9183 (add-after 'install 'wrap-soundconverter
9184 (lambda* (#:key inputs outputs #:allow-other-keys)
9185 (let ((out (assoc-ref outputs "out"))
9186 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9187 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9188 (wrap-program (string-append out "/bin/soundconverter")
9189 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9190 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9191 #t)))))
9192 (native-inputs
9193 `(("intltool" ,intltool)
9194 ("pkg-config" ,pkg-config)
9195 ("glib:bin" ,glib "bin")))
9196 (inputs
9197 `(("gtk+" ,gtk+)
9198 ("python" ,python)
9199 ("python-pygobject" ,python-pygobject)
9200 ("gstreamer" ,gstreamer)
9201 ("gst-plugins-base" ,gst-plugins-base)))
9202 (home-page "http://soundconverter.org/")
9203 (synopsis "Convert between audio formats with a graphical interface")
9204 (description
9205 "SoundConverter supports converting between many audio formats including
9206Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9207configurable file renaming. ")
9208 (license license:gpl3)))
9209
4e3fdeb7 9210(define-public workrave
89f2d736
TGR
9211 (package
9212 (name "workrave")
aa51d92c 9213 (version "1.10.34")
89f2d736
TGR
9214 (source
9215 (origin
9216 (method git-fetch)
9217 (uri (git-reference
9218 (url "https://github.com/rcaelers/workrave.git")
c2e50474
TGR
9219 (commit (string-append "v" (string-map
9220 (match-lambda (#\. #\_) (chr chr))
9221 version)))))
89f2d736
TGR
9222 (file-name (git-file-name name version))
9223 (sha256
aa51d92c 9224 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
89f2d736 9225 (build-system glib-or-gtk-build-system)
d1c96847
MC
9226 (inputs `(("glib" ,glib)
9227 ("gtk+" ,gtk+)
9228 ("gdk-pixbuf" ,gdk-pixbuf)
9229 ("gtkmm" ,gtkmm)
9230 ("glibmm" ,glibmm)
9231 ("libx11" ,libx11)
9232 ("libxtst" ,libxtst)
9233 ("dconf" ,dconf)
9234 ("libice" ,libice)
9235 ("libsm" ,libsm)
9236 ("libxscrnsaver" ,libxscrnsaver)))
aa51d92c 9237 (native-inputs `(("boost" ,boost)
89f2d736
TGR
9238 ("pkg-config" ,pkg-config)
9239 ("gettext" ,gnu-gettext)
9240 ("autoconf" ,autoconf)
9241 ("autoconf-archive" , autoconf-archive)
9242 ("automake" ,automake)
9243 ("libtool" ,libtool)
9244 ("intltool" ,intltool)
89f2d736 9245 ("gobject-introspection" ,gobject-introspection)
aa51d92c
MC
9246 ("python3" ,python-3)
9247 ("python-jinja2" ,python-jinja2)))
89f2d736
TGR
9248 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9249 (description
9250 "Workrave is a program that assists in the recovery and prevention of
cc00249b
TGR
9251repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9252micro-pauses and rest breaks, and restricts you to your daily limit.")
89f2d736
TGR
9253 (home-page "http://www.workrave.org")
9254 (license license:gpl3+)))
312afa7d
LC
9255
9256(define-public ghex
9257 (package
9258 (name "ghex")
3748992a 9259 (version "3.18.4")
312afa7d
LC
9260 (source (origin
9261 (method url-fetch)
2fbab848 9262 (uri (string-append "mirror://gnome/sources/ghex/"
312afa7d 9263 (version-major+minor version) "/"
2fbab848 9264 "ghex-" version ".tar.xz"))
312afa7d
LC
9265 (sha256
9266 (base32
3748992a
KK
9267 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9268 (build-system meson-build-system)
9269 (arguments
9270 '(#:glib-or-gtk? #t
9271 #:phases
9272 (modify-phases %standard-phases
9273 (add-after 'unpack 'skip-gtk-update-icon-cache
9274 ;; Don't create 'icon-theme.cache'.
9275 (lambda _
9276 (substitute* "meson_post_install.py"
9277 (("gtk-update-icon-cache") (which "true")))
9278 #t)))))
312afa7d
LC
9279 (native-inputs
9280 `(("pkg-config" ,pkg-config)
3748992a 9281 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
312afa7d
LC
9282 ("gnome-common" ,gnome-common)
9283 ("which" ,which)
9284 ("intltool" ,intltool)
9285 ("yelp-tools" ,yelp-tools)
2fbab848 9286 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
312afa7d
LC
9287 (inputs
9288 `(("atk" ,atk)
9289 ("gtk" ,gtk+)))
9290 (synopsis "GNOME hexadecimal editor")
9291 (description "The GHex program can view and edit files in two ways:
9292hexadecimal or ASCII. It is useful for editing binary files in general.")
9293 (home-page "https://wiki.gnome.org/Apps/Ghex")
9294 (license license:gpl2)))
4b2ed6c2
RW
9295
9296(define-public libdazzle
9297 (package
9298 (name "libdazzle")
64fa66ba 9299 (version "3.33.90")
4b2ed6c2
RW
9300 (source (origin
9301 (method url-fetch)
687b4909 9302 (uri (string-append "mirror://gnome/sources/libdazzle/"
4b2ed6c2 9303 (version-major+minor version) "/"
687b4909 9304 "libdazzle-" version ".tar.xz"))
4b2ed6c2
RW
9305 (sha256
9306 (base32
64fa66ba 9307 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
4b2ed6c2
RW
9308 (build-system meson-build-system)
9309 (arguments
9310 `(#:phases
9311 (modify-phases %standard-phases
4b2ed6c2
RW
9312 (add-before 'check 'pre-check
9313 (lambda _
9314 ;; Tests require a running X server.
9315 (system "Xvfb :1 &")
9316 (setenv "DISPLAY" ":1")
9317 #t)))))
9318 (native-inputs
687b4909 9319 `(("glib" ,glib "bin") ; glib-compile-resources
4b2ed6c2 9320 ("pkg-config" ,pkg-config)
687b4909 9321 ;; For tests.
ff337525 9322 ("xorg-server" ,xorg-server-for-tests)))
4b2ed6c2
RW
9323 (inputs
9324 `(("glib" ,glib)
9325 ("gobject-introspection" ,gobject-introspection)
9326 ("gtk+" ,gtk+)
9327 ("vala" ,vala)))
9328 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9329 (synopsis "Companion library to GObject and Gtk+")
9330 (description "The libdazzle library is a companion library to GObject and
9331Gtk+. It provides various features that the authors wish were in the
9332underlying library but cannot for various reasons. In most cases, they are
9333wildly out of scope for those libraries. In other cases, they are not quite
9334generic enough to work for everyone.")
9335 (license license:gpl3+)))
7d3bb433
RW
9336
9337(define-public evolution
9338 (package
9339 (name "evolution")
06141f83 9340 (version "3.32.4")
7d3bb433
RW
9341 (source (origin
9342 (method url-fetch)
9343 (uri (string-append "mirror://gnome/sources/evolution/"
9344 (version-major+minor version) "/"
9345 "evolution-" version ".tar.xz"))
9346 (sha256
9347 (base32
06141f83 9348 "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh"))))
7d3bb433
RW
9349 (build-system cmake-build-system)
9350 (arguments
5229bea1
KK
9351 `(#:imported-modules (,@%cmake-build-system-modules
9352 (guix build glib-or-gtk-build-system))
9353 #:modules ((guix build cmake-build-system)
9354 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9355 (guix build utils))
9356 #:configure-flags
7d3bb433 9357 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
5229bea1 9358 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
7d3bb433 9359 ; in four years and cannot be built.
5229bea1
KK
9360 #:phases
9361 (modify-phases %standard-phases
9362 ;; The build system attempts to install user interface modules to the
9363 ;; output directory of the "evolution-data-server" package. This
9364 ;; change redirects that change.
9365 (add-after 'unpack 'patch-ui-module-dir
9366 (lambda* (#:key outputs #:allow-other-keys)
9367 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9368 (("\\$\\{edsuimoduledir\\}")
9369 (string-append (assoc-ref outputs "out")
9370 "/lib/evolution-data-server/ui-modules")))
9371 #t))
9372 (add-after 'install 'glib-or-gtk-compile-schemas
9373 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9374 (add-after 'install 'glib-or-gtk-wrap
9375 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
7d3bb433 9376 (native-inputs
ad6e168b 9377 `(("glib" ,glib "bin") ; glib-mkenums
7d3bb433
RW
9378 ("pkg-config" ,pkg-config)
9379 ("intltool" ,intltool)
9380 ("itstool" ,itstool)))
9381 (inputs
9382 `(("enchant" ,enchant)
9383 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9384 ("gcr" ,gcr)
ad6e168b 9385 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7d3bb433
RW
9386 ("gnome-autoar" ,gnome-autoar)
9387 ("gnome-desktop" ,gnome-desktop)
9388 ("gtkspell3" ,gtkspell3)
9389 ("highlight" ,highlight)
9390 ("libcanberra" ,libcanberra)
b63c06f1 9391 ("libedataserverui" ,evolution-data-server)
7d3bb433
RW
9392 ("libgweather" ,libgweather)
9393 ("libnotify" ,libnotify)
9394 ("libsoup" ,libsoup)
9395 ("nss" ,nss)
9396 ("openldap" ,openldap)
9397 ("webkitgtk" ,webkitgtk)
9398 ("ytnef" ,ytnef)))
9399 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9400 (synopsis "Manage your email, contacts and schedule")
9401 (description "Evolution is a personal information management application
9402that provides integrated mail, calendaring and address book
9403functionality.")
9404 ;; See COPYING for details.
23dbe621 9405 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7d3bb433 9406 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
23dbe621 9407 license:lgpl2.1+)))) ; smime/lib/*
169d63f5
AT
9408
9409(define-public gthumb
9410 (package
9411 (name "gthumb")
8280676b 9412 (version "3.8.2")
169d63f5
AT
9413 (source (origin
9414 (method url-fetch)
9415 (uri (string-append "mirror://gnome/sources/gthumb/"
9416 (version-major+minor version) "/"
9417 "gthumb-" version ".tar.xz"))
9418 (sha256
9419 (base32
8280676b 9420 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
169d63f5
AT
9421 (build-system meson-build-system)
9422 (arguments
9423 `(#:glib-or-gtk? #t
9424 #:configure-flags
9425 ;; Ensure the RUNPATH contains all installed library locations.
9426 (list (string-append "-Dc_link_args=-Wl,-rpath="
9427 (assoc-ref %outputs "out")
9428 "/lib/gthumb/extensions")
9429 (string-append "-Dcpp_link_args=-Wl,-rpath="
9430 (assoc-ref %outputs "out")
9431 "/lib/gthumb/extensions"))))
9432 (native-inputs
9433 `(("pkg-config" ,pkg-config)
9434 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9435 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9436 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9437 ("intltool" ,intltool)
9438 ("itstool" ,itstool)))
9439 (inputs
9440 `(("exiv2" ,exiv2)
9441 ("gtk" ,gtk+)
9442 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9443 ("gstreamer" ,gstreamer)
9444 ("clutter" ,clutter)
9445 ("clutter-gst" ,clutter-gst)
9446 ("clutter-gtk" ,clutter-gtk)
9447 ("libjpeg" ,libjpeg)
9448 ("libtiff" ,libtiff)
9449 ("libraw" ,libraw)))
9450 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9451 (synopsis "GNOME image viewer and browser")
9452 (description "GThumb is an image viewer, browser, organizer, editor and
9453advanced image management tool")
9454 (license license:gpl2+)))
08be02be
AT
9455
9456(define-public terminator
9457 (package
9458 (name "terminator")
9459 (version "1.91")
9460 (source (origin
9461 (method url-fetch)
9462 (uri (string-append "https://launchpad.net/" name "/"
9463 "gtk3/" version "/" "+download/"
9464 name "-" version ".tar.gz"))
9465 (sha256
9466 (base32
9467 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9468 (build-system python-build-system)
9469 (native-inputs
9470 `(("intltool" ,intltool)
9471 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9472 ("gettext" ,gettext-minimal)
9473 ("pkg-config" ,pkg-config)))
9474 (inputs
9475 `(("cairo" ,cairo)
9476 ("gobject-introspection" ,gobject-introspection)
96681d4b 9477 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
08be02be
AT
9478 ("python2-pycairo" ,python2-pycairo)
9479 ("python2-pygobject" ,python2-pygobject)
9480 ("python2-psutil" ,python2-psutil)
9481 ("vte" ,vte)))
9482 (arguments
96681d4b
TGR
9483 `(#:python ,python-2 ; Python 3 isn't supported
9484 #:imported-modules ((guix build glib-or-gtk-build-system)
9485 ,@%python-build-system-modules)
9486 #:modules ((guix build python-build-system)
9487 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9488 (guix build utils))
08be02be
AT
9489 #:phases
9490 (modify-phases %standard-phases
9491 (add-after
9492 'install 'wrap-program
9493 (lambda* (#:key outputs #:allow-other-keys)
9494 (let ((prog (string-append (assoc-ref outputs "out")
9495 "/bin/terminator")))
9496 (wrap-program prog
9497 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9498 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
96681d4b
TGR
9499 #t)))
9500 (add-after 'wrap-program 'glib-or-gtk-wrap
9501 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
08be02be
AT
9502 (home-page "https://gnometerminator.blogspot.com/")
9503 (synopsis "Store and run multiple GNOME terminals in one window")
9504 (description
9505 "Terminator allows you to run multiple GNOME terminals in a grid and
9506+tabs, and it supports drag and drop re-ordering of terminals.")
9507 (license license:gpl2)))
213315d4
JF
9508
9509(define-public libhandy
9510 (package
9511 (name "libhandy")
f6501b9f 9512 (version "0.0.12")
213315d4
JF
9513 (source
9514 (origin
9515 (method git-fetch)
9516 (uri (git-reference
9517 (url "https://source.puri.sm/Librem5/libhandy")
9518 (commit (string-append "v" version))))
9519 (file-name (git-file-name name version))
9520 (sha256
f6501b9f 9521 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
213315d4
JF
9522 (build-system meson-build-system)
9523 (arguments
9524 `(#:configure-flags
9525 '("-Dglade_catalog=disabled"
9526 "-Dgtk_doc=true")
9527 #:phases
9528 (modify-phases %standard-phases
213315d4
JF
9529 (add-before 'check 'pre-check
9530 (lambda _
9531 ;; Tests require a running X server.
9532 (system "Xvfb :1 &")
9533 (setenv "DISPLAY" ":1")
9534 #t)))))
9535 (inputs
9536 `(("gtk+" ,gtk+)))
9537 (native-inputs
9538 `(("glib:bin" ,glib "bin")
9539 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9540 ("vala" ,vala)
9541 ("gtk-doc" ,gtk-doc)
9542 ("pkg-config" ,pkg-config)
9543 ("gettext" ,gettext-minimal)
d41ee146
TGR
9544
9545 ;; Test suite dependencies.
ff337525 9546 ("xorg-server" ,xorg-server-for-tests)
d41ee146 9547 ("hicolor-icon-theme" ,hicolor-icon-theme)))
213315d4
JF
9548 (home-page "https://source.puri.sm/Librem5/libhandy")
9549 (synopsis "Library full of GTK+ widgets for mobile phones")
9550 (description "The aim of the handy library is to help with developing user
ae4e1414
JB
9551interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9552for usage on small and big screens.")
213315d4 9553 (license license:lgpl2.1+)))
a830d14d
GL
9554
9555(define-public libgit2-glib
9556 (package
9557 (name "libgit2-glib")
9558 (version "0.28.0.1")
9559 (source (origin
9560 (method url-fetch)
9561 (uri (string-append "mirror://gnome/sources/" name "/"
9562 (version-major+minor version) "/"
9563 name "-" version ".tar.xz"))
9564 (sha256
9565 (base32
9566 "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7"))))
9567 (build-system meson-build-system)
9568 (native-inputs
9569 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9570 ("gobject-introspection" ,gobject-introspection)
9571 ("intltool" ,intltool)
9572 ("libssh2" ,libssh2)
9573 ("pkg-config" ,pkg-config)
9574 ("python-pygobject" ,python-pygobject)
9575 ("python-wrapper" ,python-wrapper)
9576 ("vala" ,vala)))
9577 (inputs
9578 `(("glib" ,glib)
9579 ("libgit2" ,libgit2)))
9580 (synopsis "GLib wrapper around the libgit2 Git access library")
9581 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9582access library. It only implements the core plumbing functions, not really the
9583higher level porcelain stuff.")
9584 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9585 (license license:gpl2+)))
93beace0 9586
08db81c9
LP
9587(define-public gitg
9588 (package
9589 (name "gitg")
9590 (version "3.32.1")
9591 (source (origin
9592 (method url-fetch)
9593 (uri (string-append "mirror://gnome/sources/" name "/"
9594 (version-major+minor version) "/"
9595 name "-" version ".tar.xz"))
9596 (sha256
9597 (base32
9598 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9599 (build-system meson-build-system)
9600 (arguments
9601 `(#:glib-or-gtk? #t
9602 #:phases
9603 (modify-phases %standard-phases
9604 (add-after 'unpack 'disable-post-install-partially
9605 (lambda _
9606 (substitute* "meson_post_install.py"
9607 (("'python'") ; there are no python sources to compile
9608 (string-append "'" (which "true") "'"))
9609 (("gtk-update-icon-cache") (which "true")))
9610 #t))
9611 (add-after 'unpack 'fix-test-sources
9612 (lambda _
9613 (substitute* "tests/libgitg/test-commit.vala"
9614 (("/bin/bash") (which "bash")))
9615 #t))
9616 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9617 (lambda* (#:key outputs #:allow-other-keys)
9618 (let ((prog (string-append (assoc-ref outputs "out")
9619 "/bin/gitg")))
9620 (wrap-program prog
9621 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9622 #t))))))
9623 (inputs
9624 `(("glib" ,glib)
9625 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9626 ("gtk+" ,gtk+)
9627 ("gtkspell3" ,gtkspell3)
9628 ("gtksourceview" ,gtksourceview-3)
9629 ("json-glib" ,json-glib)
9630 ("libdazzle" ,libdazzle)
9631 ("libgee" ,libgee)
9632 ("libgit2" ,libgit2) ; propagated by libgit2-glib
9633 ("libgit2-glib" ,libgit2-glib)
9634 ("libpeas" ,libpeas)
9635 ("libsecret" ,libsecret)
9636 ("libsoup" ,libsoup)
9637 ("libxml2" ,libxml2)))
9638 (native-inputs
9639 `(("glib:bin" ,glib "bin")
9640 ("gtk+:bin" ,gtk+ "bin")
9641 ("gobject-introspection" ,gobject-introspection)
9642 ("intltool" ,intltool)
9643 ("pkg-config" ,pkg-config)
9644 ("vala" ,vala)))
9645 (synopsis "Graphical user interface for git")
9646 (description
9647 "gitg is a graphical user interface for git. It aims at being a small,
9648fast and convenient tool to visualize the history of git repositories.
9649Besides visualization, gitg also provides several utilities to manage your
9650repository and commit your work.")
9651 (home-page "https://wiki.gnome.org/Apps/Gitg")
9652 (license license:gpl2+)))
9653
1e600ed0
RW
9654(define-public gamin
9655 (package
9656 (name "gamin")
9657 (version "0.1.10")
9658 (source (origin
9659 (method url-fetch)
9660 (uri (string-append "mirror://gnome/sources/" name "/"
9661 (version-major+minor version) "/"
9662 name "-" version ".tar.bz2"))
9663 (sha256
9664 (base32
9665 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9666 (build-system gnu-build-system)
9667 (arguments
9668 `(#:phases
9669 (modify-phases %standard-phases
9670 (add-after 'unpack 'remove-deprecated-macro
9671 (lambda _
9672 (substitute* '("server/gam_node.c"
9673 "server/gam_subscription.h"
9674 "server/gam_node.h"
9675 "server/gam_subscription.c")
9676 (("G_CONST_RETURN") "const"))
9677 #t)))))
9678 (inputs
9679 `(("glib" ,glib)))
9680 (native-inputs
9681 `(("intltool" ,intltool)
9682 ("pkg-config" ,pkg-config)))
9683 (home-page "https://people.gnome.org/~veillard/gamin/")
9684 (synopsis "File alteration monitor")
9685 (description
9686 "Gamin is a file and directory monitoring system defined to be a subset
9687of the FAM (File Alteration Monitor) system. This is a service provided by a
9688library which allows to detect when a file or a directory has been modified.")
9689 (license license:gpl2+)))
9690
93beace0
DW
9691(define-public gnome-mahjongg
9692 (package
9693 (name "gnome-mahjongg")
9694 (version "3.35.1")
9695 (source (origin
9696 (method git-fetch)
9697 (uri (git-reference
9698 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9699 (commit version)))
9700 (file-name (git-file-name name version))
9701 (sha256
9702 (base32
9703 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9704 (build-system meson-build-system)
9705 (arguments
9706 `(#:glib-or-gtk? #t))
9707 (native-inputs
9708 `(("appstream-glib" ,appstream-glib)
9709 ("gettext" ,gettext-minimal)
9710 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9711 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9712 ("itstool" ,itstool)
9713 ("pkg-config" ,pkg-config)
9714 ("vala" ,vala)))
9715 (propagated-inputs
9716 `(("dconf" ,dconf)))
9717 (inputs
9718 `(("glib" ,glib)
9719 ("gtk+" ,gtk+)
9720 ("librsvg" ,librsvg)))
9721 (synopsis "Mahjongg tile-matching game")
9722 (description "GNOME Mahjongg is a game based on the classic Chinese
9723tile-matching game Mahjong. It features multiple board layouts, tile themes,
9724and a high score table.")
9725 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9726 (license license:gpl2+)))
f825476c 9727
76ea7632
RG
9728(define-public gnome-themes-extra
9729 (package
9730 (name "gnome-themes-extra")
9731 (version "3.28")
9732 (source
9733 (origin
9734 (method url-fetch)
9735 (uri (string-append "mirror://gnome/sources/" name "/"
9736 (version-major+minor version) "/" name "-"
9737 version ".tar.xz"))
9738 (sha256
9739 (base32
9740 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9741 (build-system gnu-build-system)
885424bf
RG
9742 (arguments
9743 '(#:configure-flags
9744 ;; Don't create 'icon-theme.cache'.
9745 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9746 (true (string-append coreutils "/bin/true")))
9747 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
76ea7632
RG
9748 (native-inputs
9749 `(("glib:bin" ,glib "bin")
9750 ("intltool" ,intltool)
9751 ("pkg-config" ,pkg-config)))
9752 (inputs
9753 `(("glib" ,glib)
9754 ("gtk+" ,gtk+)
9755 ("gtk+-2" ,gtk+-2)
9756 ("librsvg" ,librsvg)
9757 ("libxml2" ,libxml2)))
9758 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9759 (synopsis "GNOME Extra Themes")
9760 (description "This package provides themes and related elements that don't
9761really fit in other upstream packages. It offers legacy support for GTK+ 2
9762versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9763index files needed for Adwaita to be used outside of GNOME.")
9764 (license license:lgpl2.1+)))
9765
f825476c
LP
9766(define-public polari
9767 (package
9768 (name "polari")
9769 (version "3.32.2")
9770 (source (origin
9771 (method url-fetch)
9772 (uri (string-append "mirror://gnome/sources/polari/"
9773 (version-major+minor version)
9774 "/polari-" version ".tar.xz"))
9775 (sha256
9776 (base32
9777 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9778 (build-system meson-build-system)
9779 (arguments
9780 `(#:glib-or-gtk? #t
9781 #:phases
9782 (modify-phases %standard-phases
9783 (add-after 'unpack 'skip-gtk-update-icon-cache
9784 (lambda _
9785 (substitute* "meson/meson-postinstall.sh"
9786 (("gtk-update-icon-cache") (which "true")))
9787 #t))
9788 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9789 (lambda* (#:key outputs #:allow-other-keys)
9790 (let ((prog (string-append (assoc-ref outputs "out")
9791 "/bin/polari")))
9792 (wrap-program prog
9793 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9794 #t))))))
9795 (inputs
9796 `(("glib" ,glib)
9797 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9798 ("gspell" ,gspell)
9799 ("gtk+" ,gtk+)
9800 ("gjs" ,gjs)
9801 ("libsecret" ,libsecret)
9802 ("libsoup" ,libsoup)
9803 ("telepathy-glib" ,telepathy-glib)
9804 ("telepathy-logger" ,telepathy-logger)))
9805 (native-inputs
9806 `(("glib:bin" ,glib "bin")
9807 ("gobject-introspection" ,gobject-introspection)
9808 ("intltool" ,intltool)
9809 ("pkg-config" ,pkg-config)
9810 ("yelp-tools" ,yelp-tools)))
9811 (propagated-inputs
9812 `(("telepathy-idle" ,telepathy-idle)
9813 ("telepathy-mission-control" ,telepathy-mission-control)))
9814 (synopsis "Simple IRC Client")
9815 (description
9816 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9817integrate seamlessly with the GNOME desktop.")
9818 (home-page "https://wiki.gnome.org/Apps/Polari")
9819 (license license:gpl2+)))