gnu: dovecot: Use libsodium.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
CommitLineData
995b7261 1;;; GNU Guix --- Functional package management for GNU
109da1c0 2;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
5dc6d5ce 3;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
29a7c98a 4;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
7108425c 5;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
58d32305 6;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
8b877545 7;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
7aab13f1 8;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
63ad9b80 9;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
1e7464a9 10;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
ed783404 11;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
64a153bd 12;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
293ff8b2 13;;; Copyright © 2015 David Thompson <davet@gnu.org>
e19cb895 14;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
35e2d0cf 15;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
3c697ffd 16;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
03be9874 17;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
277a7d82 18;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
a56be436 19;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
e19f9c24 20;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
71d9b980 21;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
47956fa0 22;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
e5e1df4d 23;;; Copyright © 2016 David Craven <david@craven.ch>
ac631328 24;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
cce0da5e 25;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
d04687dc 26;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
3c5dbd2b 27;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
d1d739fa 28;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
1d3fcf94 29;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
dcfa0acd 30;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot>
0438f1d8 31;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
4e3fdeb7 32;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
2eee7ee3 33;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
a18f8eaf 34;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
e57c2adb 35;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
8caa4589 36;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
f2d56e39 37;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
3e9c80b2 38;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
a7a31827 39;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
633422b0 40;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
213315d4 41;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
4690e3a4 42;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
50e96d25 43;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
93beace0 44;;; Copyright © 2019 David Wilson <david@daviwil.com>
d36fa50f 45;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
f6501b9f 46;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
26ba3f07 47;;; Copyright © 2019 Leo Prikler <leo.prikler@student.tugraz.at>
fa01e10d 48;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
63db190a 49;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
0e26c3cf 50;;; Copyright © 2020 raingloom <raingloom@riseup.net>
995b7261
AE
51;;;
52;;; This file is part of GNU Guix.
53;;;
54;;; GNU Guix is free software; you can redistribute it and/or modify it
55;;; under the terms of the GNU General Public License as published by
56;;; the Free Software Foundation; either version 3 of the License, or (at
57;;; your option) any later version.
58;;;
59;;; GNU Guix is distributed in the hope that it will be useful, but
60;;; WITHOUT ANY WARRANTY; without even the implied warranty of
61;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
62;;; GNU General Public License for more details.
63;;;
64;;; You should have received a copy of the GNU General Public License
65;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
66
67(define-module (gnu packages gnome)
ed19903d 68 #:use-module (gnu packages)
ba5dd105 69 #:use-module (gnu packages admin)
411ba511 70 #:use-module (gnu packages aspell)
75016d07 71 #:use-module (gnu packages autotools)
7b212526 72 #:use-module (gnu packages avahi)
b29909b4 73 #:use-module (gnu packages backup)
6a180f6f 74 #:use-module (gnu packages base)
1e33331c 75 #:use-module (gnu packages bash)
5698b8b8 76 #:use-module (gnu packages bison)
aa51d92c 77 #:use-module (gnu packages boost)
5fc9b6c1 78 #:use-module (gnu packages build-tools)
df217748 79 #:use-module (gnu packages calendar)
b29909b4 80 #:use-module (gnu packages cdrom)
df12f04a 81 #:use-module (gnu packages check)
d61a894b 82 #:use-module (gnu packages cmake)
b29909b4 83 #:use-module (gnu packages compression)
8f523eb9 84 #:use-module (gnu packages crates-io)
23a22af6 85 #:use-module (gnu packages cups)
6e1bb642 86 #:use-module (gnu packages curl)
c3f29bc9 87 #:use-module (gnu packages cyrus-sasl)
6e1bb642 88 #:use-module (gnu packages databases)
255d1bbe 89 #:use-module (gnu packages dbm)
c769cf9f 90 #:use-module (gnu packages djvu)
ba5dd105 91 #:use-module (gnu packages dns)
b4ce6300 92 #:use-module (gnu packages docbook)
b29909b4 93 #:use-module (gnu packages documentation)
329d731b 94 #:use-module (gnu packages enchant)
b29909b4
TGR
95 #:use-module (gnu packages flex)
96 #:use-module (gnu packages fonts)
e762d943 97 #:use-module (gnu packages file-systems)
a56be436 98 #:use-module (gnu packages fontutils)
b29909b4 99 #:use-module (gnu packages freedesktop)
dfc407f3 100 #:use-module (gnu packages game-development)
fed5a689 101 #:use-module (gnu packages gettext)
b29909b4
TGR
102 #:use-module (gnu packages ghostscript)
103 #:use-module (gnu packages gl)
995b7261 104 #:use-module (gnu packages glib)
c1354b90 105 #:use-module (gnu packages gnupg)
23a22af6 106 #:use-module (gnu packages gnuzilla)
8d8c6bff 107 #:use-module (gnu packages geo)
b29909b4
TGR
108 #:use-module (gnu packages gperf)
109 #:use-module (gnu packages graphviz)
85f5dc19 110 #:use-module (gnu packages gstreamer)
d9c1a22b 111 #:use-module (gnu packages gtk)
6b888eff 112 #:use-module (gnu packages guile)
b645146f 113 #:use-module (gnu packages ibus)
03be9874 114 #:use-module (gnu packages icu4c)
b29909b4
TGR
115 #:use-module (gnu packages image)
116 #:use-module (gnu packages imagemagick)
117 #:use-module (gnu packages inkscape)
9cc98f8a 118 #:use-module (gnu packages iso-codes)
b29909b4 119 #:use-module (gnu packages kerberos)
85f5dc19 120 #:use-module (gnu packages libcanberra)
b64e217f 121 #:use-module (gnu packages libunistring)
0e26c3cf 122 #:use-module (gnu packages libunwind)
75016d07 123 #:use-module (gnu packages libusb)
b29909b4 124 #:use-module (gnu packages linux)
4e3fc547 125 #:use-module (gnu packages lirc)
7b212526 126 #:use-module (gnu packages lua)
b29909b4 127 #:use-module (gnu packages mail)
03be9874 128 #:use-module (gnu packages mp3)
b29909b4 129 #:use-module (gnu packages multiprecision)
64fce637 130 #:use-module (gnu packages music)
b29909b4
TGR
131 #:use-module (gnu packages ncurses)
132 #:use-module (gnu packages nettle)
ba5dd105 133 #:use-module (gnu packages networking)
5fc9b6c1 134 #:use-module (gnu packages ninja)
aff0cce9 135 #:use-module (gnu packages nss)
b29909b4 136 #:use-module (gnu packages openldap)
b645146f 137 #:use-module (gnu packages password-utils)
de1215e2 138 #:use-module (gnu packages pcre)
b29909b4 139 #:use-module (gnu packages pdf)
27477d2d 140 #:use-module (gnu packages perl)
f70d8383 141 #:use-module (gnu packages photo)
995b7261 142 #:use-module (gnu packages pkg-config)
b29909b4
TGR
143 #:use-module (gnu packages polkit)
144 #:use-module (gnu packages popt)
7d3bb433 145 #:use-module (gnu packages pretty-print)
23a22af6 146 #:use-module (gnu packages pulseaudio)
995b7261 147 #:use-module (gnu packages python)
00014781
RW
148 #:use-module (gnu packages python-crypto)
149 #:use-module (gnu packages python-web)
44d10b1f 150 #:use-module (gnu packages python-xyz)
cce0da5e 151 #:use-module (gnu packages rdesktop)
b29909b4 152 #:use-module (gnu packages readline)
a76d0f03 153 #:use-module (gnu packages ruby)
ec47c07d 154 #:use-module (gnu packages rust)
b29909b4 155 #:use-module (gnu packages samba)
75016d07 156 #:use-module (gnu packages scanner)
240cee8a 157 #:use-module (gnu packages selinux)
c27e02bf 158 #:use-module (gnu packages slang)
b29909b4
TGR
159 #:use-module (gnu packages speech)
160 #:use-module (gnu packages spice)
cd0322a3 161 #:use-module (gnu packages sqlite)
4a1bf090 162 #:use-module (gnu packages ssh)
8f9ac901 163 #:use-module (gnu packages tex)
33dc54b0 164 #:use-module (gnu packages time)
a7fd7b68 165 #:use-module (gnu packages tls)
3c5dbd2b 166 #:use-module (gnu packages version-control)
b29909b4 167 #:use-module (gnu packages video)
59132b80 168 #:use-module (gnu packages virtualization)
f2b96b3a 169 #:use-module (gnu packages vpn)
a18f8eaf 170 #:use-module (gnu packages web)
b29909b4
TGR
171 #:use-module (gnu packages webkit)
172 #:use-module (gnu packages xdisorg)
173 #:use-module (gnu packages xiph)
174 #:use-module (gnu packages xml)
d633f2f6 175 #:use-module (gnu packages xorg)
a76d0f03 176 #:use-module (gnu artwork)
8f523eb9 177 #:use-module (guix build-system cargo)
b29909b4
TGR
178 #:use-module (guix build-system cmake)
179 #:use-module (guix build-system glib-or-gtk)
180 #:use-module (guix build-system gnu)
181 #:use-module (guix build-system meson)
08be02be 182 #:use-module (guix build-system python)
b29909b4
TGR
183 #:use-module (guix build-system trivial)
184 #:use-module (guix download)
185 #:use-module (guix git-download)
186 #:use-module ((guix licenses) #:prefix license:)
187 #:use-module (guix packages)
188 #:use-module (guix utils)
a76d0f03 189 #:use-module (guix gexp)
8f523eb9
EF
190 #:use-module (guix monads)
191 #:use-module (guix store)
4e3fdeb7 192 #:use-module (ice-9 match)
c024ae36 193 #:use-module (srfi srfi-1))
85f5dc19
AE
194
195(define-public brasero
196 (package
197 (name "brasero")
e2bf423a 198 (version "3.12.2")
85f5dc19
AE
199 (source (origin
200 (method url-fetch)
d1df7554 201 (uri (string-append "mirror://gnome/sources/brasero/"
e8627cd9 202 (version-major+minor version) "/"
d1df7554 203 "brasero-" version ".tar.xz"))
85f5dc19
AE
204 (sha256
205 (base32
e2bf423a 206 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
1c40e3b7 207 (build-system glib-or-gtk-build-system)
e8627cd9
DH
208 (arguments
209 `(#:configure-flags (list
210 (string-append "--with-girdir="
211 (assoc-ref %outputs "out")
212 "/share/gir-1.0")
213 (string-append "--with-typelibdir="
214 (assoc-ref %outputs "out")
ce426deb
TD
215 "/lib/girepository-1.0"))
216 #:phases
217 (modify-phases %standard-phases
218 (add-before 'configure 'embed-growisofs
219 (lambda* (#:key inputs #:allow-other-keys)
220 (substitute* "plugins/growisofs/burn-growisofs.c"
221 (("\"growisofs") (string-append "\"" (which "growisofs"))))
e2bf423a 222 #t)))))
85f5dc19
AE
223 (propagated-inputs
224 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
9cc98f8a
CR
225 (native-inputs
226 `(("intltool" ,intltool)
ba549e17 227 ("itstool" ,itstool)
426adbe8 228 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
e8627cd9 229 ("gobject-introspection" ,gobject-introspection)
9cc98f8a 230 ("pkg-config" ,pkg-config)))
85f5dc19 231 (inputs
ce426deb
TD
232 `(("dvd+rw-tools" ,dvd+rw-tools)
233 ("glib" ,glib)
85f5dc19
AE
234 ("gnome-doc-utils" ,gnome-doc-utils)
235 ("gstreamer" ,gstreamer)
236 ("gst-plugins-base" ,gst-plugins-base)
237 ("gtk+" ,gtk+)
85f5dc19
AE
238 ("libcanberra" ,libcanberra)
239 ("libice" ,libice)
240 ("libnotify" ,libnotify)
241 ("libsm" ,libsm)
e8627cd9 242 ("libxml2" ,libxml2)
e8627cd9 243 ("totem-pl-parser" ,totem-pl-parser)))
fb9399e9 244 (home-page "https://wiki.gnome.org/Apps/Brasero")
85f5dc19
AE
245 (synopsis "CD/DVD burning tool for Gnome")
246 (description "Brasero is an application to burn CD/DVD for the Gnome
247Desktop. It is designed to be as simple as possible and has some unique
248features to enable users to create their discs easily and quickly.")
1dd26275 249 (license license:gpl2+)))
995b7261 250
e05ce17d
RG
251(define-public phodav
252 (package
253 (name "phodav")
254 (version "2.4")
255 (source (origin
256 (method url-fetch)
257 (uri (string-append "mirror://gnome/sources/" name "/"
258 (version-major+minor version) "/"
259 name "-" version ".tar.xz"))
260 (sha256
261 (base32
262 "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx"))))
263 (build-system meson-build-system)
264 (native-inputs
265 `(("gettext" ,gettext-minimal)
266 ("glib:bin" ,glib "bin")
267 ("gtk-doc" ,gtk-doc)
268 ("pkg-config" ,pkg-config)))
269 (inputs
270 `(("avahi" ,avahi)
271 ("libgudev" ,libgudev)
272 ("libsoup" ,libsoup)))
273 (synopsis "WebDav server implementation using libsoup")
274 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
275but it is generic enough to be reused in other projects,
276in particular in the GNOME desktop.")
277 (home-page "https://wiki.gnome.org/phodav")
278 (license license:lgpl2.1+)))
279
29ae18db
RG
280(define-public gnome-color-manager
281 (package
282 (name "gnome-color-manager")
283 (version "3.32.0")
284 (source (origin
285 (method url-fetch)
286 (uri (string-append "mirror://gnome/sources/" name "/"
287 (version-major+minor version) "/"
288 name "-" version ".tar.xz"))
289 (sha256
290 (base32
291 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
292 (build-system meson-build-system)
293 (arguments
294 `(#:glib-or-gtk? #t
295 #:phases
296 (modify-phases %standard-phases
297 (add-before
298 'check 'pre-check
299 (lambda _
300 ;; Tests require a running X server.
301 (system "Xvfb :1 &")
302 (setenv "DISPLAY" ":1")
303 #t)))))
304 (native-inputs
305 `(("desktop-file-utils" ,desktop-file-utils)
306 ("gettext" ,gettext-minimal)
307 ("glib:bin" ,glib "bin")
308 ("gtk+:bin" ,gtk+ "bin")
309 ("itstool" ,itstool)
310 ("pkg-config" ,pkg-config)
311 ("xorg-server" ,xorg-server-for-tests)))
312 (inputs
313 `(("adwaita-icon-theme" ,adwaita-icon-theme)
314 ("appstream-glib" ,appstream-glib)
315 ("colord-gtk" ,colord-gtk)
316 ("exiv2" ,exiv2)
317 ("gnome-desktop" ,gnome-desktop)
318 ("libcanberra" ,libcanberra)
319 ("libexif" ,libexif)
320 ("libtiff" ,libtiff)
321 ("libxrandr" ,libxrandr)
322 ("libxtst" ,libxtst)
323 ("libxxf86vm" ,libxxf86vm)
324 ("vte" ,vte)
325 ("xorgproto" ,xorgproto)))
326 (synopsis "Color profile manager for the GNOME desktop")
327 (description "GNOME Color Manager is a session framework that makes
328it easy to manage, install and generate color profiles
329in the GNOME desktop.")
330 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
7bd000d1 331 (license license:gpl2+)))
29ae18db 332
e05471a1
RG
333(define-public gnome-online-miners
334 (package
335 (name "gnome-online-miners")
336 (version "3.30.0")
337 (source (origin
338 (method url-fetch)
339 (uri (string-append "mirror://gnome/sources/" name "/"
340 (version-major+minor version) "/"
341 name "-" version ".tar.xz"))
342 (sha256
343 (base32
344 "0pjamwwzn5wqgihyss357dyl2q70r0bngnqmwsqawchx5f9aja9c"))))
345 (build-system glib-or-gtk-build-system)
346 (native-inputs
347 `(("gettext" ,gettext-minimal)
348 ("glib:bin" ,glib "bin")
29ae18db 349 ("gobject-introspection" ,gobject-introspection)
e05471a1
RG
350 ("gtk+:bin" ,gtk+ "bin")
351 ("pkg-config" ,pkg-config)))
352 (inputs
353 `(("gnome-online-accounts" ,gnome-online-accounts)
354 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
e05471a1
RG
355 ("grilo" ,grilo)
356 ("libgdata" ,libgdata)
357 ("libgfbgraph" ,gfbgraph)
358 ("libzapojit" ,libzapojit)
359 ("rest" ,rest)
360 ("tracker" ,tracker)))
361 (synopsis "Web Crawlers for GNOME")
362 (description "GNOME Online Miners provides a set of crawlers that
363go through your online content and index them locally in Tracker.
364It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
365 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
7bd000d1 366 (license license:gpl2+)))
e05471a1 367
e2aed29c
RG
368(define-public gssdp
369 (package
370 (name "gssdp")
371 (version "1.2.2")
372 (source (origin
373 (method url-fetch)
374 (uri (string-append "mirror://gnome/sources/" name "/"
375 (version-major+minor version) "/"
376 name "-" version ".tar.xz"))
377 (sha256
378 (base32
379 "195hi10vrsvh6i927mm6rm1ld5sxah3h5sr3bsjm90vb8lxrxfya"))))
380 (build-system meson-build-system)
381 (native-inputs
382 `(("gettext" ,gettext-minimal)
383 ("glib:bin" ,glib "bin")
384 ("gobject-introspection" ,gobject-introspection)
385 ("gtk-doc" ,gtk-doc)
386 ("pkg-config" ,pkg-config)
387 ("vala" ,vala)))
388 (inputs
389 `(("gtk+" ,gtk+)
390 ("libsoup" ,libsoup)))
391 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
392Protocol} for GNOME")
393 (description "This package provides a library to handle resource discovery
394and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
395a debugging tool, @command{gssdp-device-sniffer}.")
396 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
397 (license license:lgpl2.0+)))
398
291a85b2
RG
399(define-public gupnp
400 (package
401 (name "gupnp")
402 (version "1.2.2")
403 (source (origin
404 (method url-fetch)
405 (uri (string-append "mirror://gnome/sources/" name "/"
406 (version-major+minor version) "/"
407 name "-" version ".tar.xz"))
408 (sha256
409 (base32
410 "12cr3isww4zl0d4himpd2fhl2wmy3jh8sbxp4snp51sw7savv04s"))))
411 (build-system meson-build-system)
412 (native-inputs
413 `(("gettext" ,gettext-minimal)
414 ("glib:bin" ,glib "bin")
415 ("gobject-introspection" ,gobject-introspection)
416 ("gtk-doc" ,gtk-doc)
417 ("pkg-config" ,pkg-config)
418 ("vala" ,vala)))
419 (inputs
420 `(("gssdp" ,gssdp)
421 ("gtk+" ,gtk+)
422 ("libsoup" ,libsoup)))
423 (synopsis "PnP API for GNOME")
424 (description "This package provides GUPnP, an object-oriented framework
425for creating UPnP devices and control points, written in C using
426@code{GObject} and @code{libsoup}.")
427 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
428 (license license:lgpl2.0+)))
429
747d7fe4
RG
430(define-public gupnp-dlna
431 (package
432 (name "gupnp-dlna")
433 (version "0.10.5")
434 (source (origin
435 (method url-fetch)
436 (uri (string-append "mirror://gnome/sources/" name "/"
437 (version-major+minor version) "/"
438 name "-" version ".tar.xz"))
439 (sha256
440 (base32
441 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
442 (build-system gnu-build-system)
443 (native-inputs
444 `(("gettext" ,gettext-minimal)
445 ("glib:bin" ,glib "bin")
446 ("gobject-introspection" ,gobject-introspection)
447 ("gtk-doc" ,gtk-doc)
448 ("libxml" ,libxml2)
449 ("pkg-config" ,pkg-config)
450 ("vala" ,vala)))
451 (inputs
452 `(("gstreamer" ,gstreamer)
453 ("gupnp" ,gupnp)))
454 (propagated-inputs
455 `(("gst-plugins-base" ,gst-plugins-base)
456 ("gst-plugins-good" ,gst-plugins-good)))
457 (synopsis "GUPnP DLNA for GNOME")
458 (description "This package provides a small utility library to
459support DLNA-related tasks such as media profile guessing, transcoding to a
460given profile, etc. DLNA is a subset of UPnP A/V.")
461 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
462 (license license:lgpl2.0+)))
463
1b4cb628
RG
464(define-public gupnp-av
465 (package
466 (name "gupnp-av")
467 (version "0.12.11")
468 (source (origin
469 (method url-fetch)
470 (uri (string-append "mirror://gnome/sources/" name "/"
471 (version-major+minor version) "/"
472 name "-" version ".tar.xz"))
473 (sha256
474 (base32
475 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
476 (build-system gnu-build-system)
477 (native-inputs
478 `(("gettext" ,gettext-minimal)
479 ("glib:bin" ,glib "bin")
480 ("gobject-introspection" ,gobject-introspection)
481 ("gtk-doc" ,gtk-doc)
482 ("libxml" ,libxml2)
483 ("pkg-config" ,pkg-config)))
484 (inputs
485 `(("gtk+" ,gtk+)
486 ("gupnp" ,gupnp)))
487 (synopsis "GUPnP A/V for GNOME")
488 (description "This package provides a small library for handling
489and implementation of UPnP A/V profiles.")
490 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
491 (license license:lgpl2.0+)))
492
02ebbca8
RG
493(define-public libmediaart
494 (package
495 (name "libmediaart")
496 (version "1.9.4")
497 (source (origin
498 (method url-fetch)
499 (uri (string-append "mirror://gnome/sources/" name "/"
500 (version-major+minor version) "/"
501 name "-" version ".tar.xz"))
502 (sha256
503 (base32
504 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
505 (build-system gnu-build-system)
506 (native-inputs
507 `(("glib:bin" ,glib "bin")
508 ("pkg-config" ,pkg-config)))
509 (inputs
510 `(("gdk-pixbuf" ,gdk-pixbuf)
511 ("gettext" ,gettext-minimal)
512 ("gobject-introspection" ,gobject-introspection)
513 ("gtk+:doc", gtk+ "doc")
514 ("vala" ,vala)))
515 (synopsis "Media art library for the GNOME desktop")
516 (description
517 "The libmediaart library is the foundation for media art caching,
518extraction, and lookup for applications on the desktop.")
519 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
520 (license license:lgpl2.1+)))
521
a26680eb
RG
522(define-public gnome-initial-setup
523 (package
524 (name "gnome-initial-setup")
525 (version "3.32.1")
526 (source (origin
527 (method url-fetch)
528 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
529 (version-major+minor version)
530 "/gnome-initial-setup-" version ".tar.xz"))
531 (sha256
532 (base32
533 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
534 (build-system meson-build-system)
535 (arguments
a65cc579
DM
536 '(#:configure-flags '(;; Enable camera support for user selfie.
537 "-Dcheese=auto"
538 "-Dsystemd=false")))
a26680eb
RG
539 (native-inputs
540 `(("gettext" ,gettext-minimal)
541 ("glib:bin" ,glib "bin")
542 ("gobject-introspection" ,gobject-introspection)
543 ("gtk+:bin" ,gtk+ "bin")
544 ("pkg-config" ,pkg-config)))
545 (inputs
546 `(("accountsservice" ,accountsservice)
547 ;("adwaita-icon-theme" ,adwaita-icon-theme)
548 ("gdm" ,gdm)
549 ("geoclue" ,geoclue)
550 ("gnome-desktop" ,gnome-desktop)
551 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
552 ("gnome-online-accounts" ,gnome-online-accounts)
553 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
554 ("gstreamer" ,gstreamer)
555 ("ibus" ,ibus)
556 ("json-glib" ,json-glib)
557 ("krb5" ,mit-krb5)
558 ("libgweather" ,libgweather)
559 ("libsecret" ,libsecret)
560 ("network-manager" ,network-manager)
561 ("network-manager-applet" ,network-manager-applet)
562 ("packagekit" ,packagekit)
563 ("polkit" ,polkit)
564 ("pwquality" ,libpwquality)
565 ("rest" ,rest)
566 ("upower" ,upower)
567 ("webkitgtk" ,webkitgtk)))
568 (synopsis "Initial setup wizard for GNOME desktop")
a65cc579
DM
569 (description "This package provides a set-up wizard when a
570user logs into GNOME for the first time. It typically provides a
571tour of all gnome components and allows the user to set them up.")
a26680eb
RG
572 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
573 (license license:gpl2)))
574
b5f01392
RG
575(define-public gnome-user-share
576 (package
577 (name "gnome-user-share")
578 (version "3.33.1")
579 (source (origin
580 (method url-fetch)
581 (uri (string-append "mirror://gnome/sources/" name "/"
582 (version-major+minor version) "/"
583 name "-" version ".tar.xz"))
584 (sha256
585 (base32
586 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
587 (build-system meson-build-system)
588 (arguments
589 `(#:glib-or-gtk? #t
590 #:configure-flags
591 `("-Dsystemd=false"
592 ;; Enable nautilus extension for file sharing.
593 "-Dnautilus_extension=true")))
594 (native-inputs
595 `(("gettext" ,gettext-minimal)
596 ("glib:bin" ,glib "bin")
597 ("gobject-introspection" ,gobject-introspection)
598 ("gtk+:bin" ,gtk+ "bin")
599 ("pkg-config" ,pkg-config)
600 ("yelp-tools" ,yelp-tools)))
601 (inputs
602 `(("glib" ,glib)
603 ("gnome-bluetooth" ,gnome-bluetooth)
604 ("gtk+" ,gtk+)
605 ("libcanberra" ,libcanberra)
606 ("libnotify" ,libnotify)
607 ("nautilus" ,nautilus))) ; For nautilus extension.
608 (synopsis "File sharing for GNOME desktop")
609 (description "GNOME User Share is a small package that binds together
610various free software projects to bring easy to use user-level file
611sharing to the masses.")
612 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
2aeca24b 613 (license license:gpl2+)))
b5f01392 614
04b201bb
RG
615(define-public sushi
616 (package
617 (name "sushi")
618 (version "3.32.1")
619 (source (origin
620 (method url-fetch)
621 (uri (string-append "mirror://gnome/sources/" name "/"
622 (version-major+minor version) "/"
623 name "-" version ".tar.xz"))
624 (sha256
625 (base32
626 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
627 (build-system meson-build-system)
628 (arguments
629 `(#:glib-or-gtk? #t
630 #:phases
631 (modify-phases %standard-phases
632 (add-after 'glib-or-gtk-wrap 'wrap-typelib
633 (lambda* (#:key outputs #:allow-other-keys)
634 (let ((prog (string-append (assoc-ref outputs "out")
635 "/bin/sushi")))
636 ;; Put existing typelibs before sushi's deps, so as to correctly
637 ;; infer gdk-pixbuf
638 (wrap-program prog
639 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
640 #t))))))
641 (native-inputs
642 `(("glib:bin" ,glib "bin")
643 ("gettext" ,gettext-minimal)
644 ("gobject-introspection" ,gobject-introspection)
645 ("pkg-config" ,pkg-config)))
646 (inputs
647 `(("clutter" ,clutter)
648 ("clutter-gst" ,clutter-gst)
649 ("clutter-gtk" ,clutter-gtk)
650 ("evince" ,evince) ; For file previewing.
651 ("freetype" ,freetype)
652 ("gdk-pixbuf" ,gdk-pixbuf)
653 ("gjs" ,gjs)
654 ("gst-plugins-base" ,gst-plugins-base)
655 ("gstreamer" ,gstreamer)
656 ("gtksourceview" ,gtksourceview-3)
657 ("harfbuzz" ,harfbuzz)
658 ("libepoxy" ,libepoxy)
659 ("libmusicbrainz" ,libmusicbrainz)
660 ("libxml2" ,libxml2)
661 ("neon" ,neon)
662 ("webkitgtk" ,webkitgtk)))
663 (synopsis "File previewer for the GNOME desktop")
664 (description "Sushi is a DBus-activated service that allows applications to
665preview files on the GNOME desktop.")
666 (home-page "https://gitlab.gnome.org/GNOME/sushi")
667 (license license:gpl2+)))
668
89af0902
RG
669(define-public rygel
670 (package
671 (name "rygel")
672 (version "0.38.3")
673 (source (origin
674 (method url-fetch)
675 (uri (string-append "mirror://gnome/sources/" name "/"
676 (version-major+minor version) "/"
677 name "-" version ".tar.xz"))
678 (sha256
679 (base32
680 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
681 (build-system gnu-build-system)
682 (native-inputs
683 `(("gettext" ,gettext-minimal)
684 ("gobject-introspection" ,gobject-introspection)
685 ("gtk-doc" ,gtk-doc)
686 ("pkg-config" ,pkg-config)
687 ("vala" ,vala)))
688 (inputs
689 `(("gdk-pixbuf" ,gdk-pixbuf)
690 ("gssdp" ,gssdp)
691 ("gstreamer" ,gstreamer)
692 ("gst-plugins-base" ,gst-plugins-base)
693 ("gtk+" ,gtk+)
694 ("gupnp" ,gupnp)
695 ("gupnp-av" ,gupnp-av)
696 ("gupnp-dlna" ,gupnp-dlna)
697 ("libgee" ,libgee)
698 ("libmediaart" ,libmediaart)
699 ("libsoup" ,libsoup)
700 ("libxslt" ,libxslt)
701 ("libunistring" ,libunistring)
702 ("tracker" ,tracker)))
703 (synopsis "Share audio, video, and pictures with other devices")
704 (description
705 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
706MediaRenderer}) for GNOME that allows you to easily share audio, video, and
707pictures, and to control a media player on your home network.
708
709Rygel achieves interoperability with other devices by trying to conform to the
710strict requirements of DLNA and by converting media on-the-fly to formats that
711client devices can handle.")
712 (home-page "https://wiki.gnome.org/Projects/Rygel")
713 (license (list
714 ;; For logo (data/icons/*).
715 license:cc-by-sa3.0
716 ;; For all others.
717 license:lgpl2.1+))))
718
47e87093
RG
719(define-public libnma
720 (package
721 (name "libnma")
722 (version "1.8.26")
723 (source (origin
724 (method url-fetch)
725 (uri (string-append "mirror://gnome/sources/" name "/"
726 (version-major+minor version) "/"
727 name "-" version ".tar.xz"))
728 (sha256
729 (base32
730 "1w9lld38risnk1krknfwln24kabdxnj274pyz4jhndphwigrshaf"))))
731 (build-system meson-build-system)
732 (arguments
733 `(#:glib-or-gtk? #t))
734 (native-inputs
735 `(("gettext" ,gettext-minimal)
736 ("glib:bin" ,glib "bin")
737 ("gtk-doc" ,gtk-doc)
738 ("gobject-introspection" ,gobject-introspection)
739 ("pkg-config" ,pkg-config)))
740 (inputs
741 `(("adwaita-icon-theme" ,adwaita-icon-theme)
742 ("gcr" ,gcr)
743 ("gtk+" ,gtk+)
744 ("iso-codes" ,iso-codes)
745 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
746 ("network-manager" ,network-manager)))
747 (synopsis "Network Manager's applet library")
748 (description "Libnma is an applet library for Network Manager. It was
749initially part of network-manager-applet and has now become a separate
750project.")
751 (home-page "https://gitlab.gnome.org/GNOME/libnma")
752
753 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
754 ;; "LGPL-2.1+".
755 (license license:gpl2+)))
756
30416265
RG
757(define-public gnome-menus
758 (package
759 (name "gnome-menus")
760 (version "3.32.0")
761 (source (origin
762 (method url-fetch)
763 (uri (string-append "mirror://gnome/sources/gnome-menus/"
764 (version-major+minor version) "/"
765 name "-" version ".tar.xz"))
766 (sha256
767 (base32
768 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
769 (build-system gnu-build-system)
770 (native-inputs
771 `(("gettext" ,gettext-minimal)
772 ("glib" ,glib)
773 ("pkg-config" ,pkg-config)))
774 (synopsis "Menu support for GNOME desktop")
775 (description "GNOME Menus contains the libgnome-menu library, the layout
776configuration files for the GNOME menu, as well as a simple menu editor.")
777 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
7bd000d1 778 (license license:lgpl2.0+)))
30416265 779
d61a894b
CB
780(define-public deja-dup
781 (package
782 (name "deja-dup")
783 (version "34.3")
784 (source (origin
785 (method url-fetch)
786 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
787 (sha256
788 (base32
789 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
790 (patches
791 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
792 (build-system glib-or-gtk-build-system)
793 (arguments
794 `(#:modules ((guix build gnu-build-system)
795 ((guix build cmake-build-system) #:prefix cmake:)
796 (guix build glib-or-gtk-build-system)
797 (guix build utils))
798 #:imported-modules (,@%glib-or-gtk-build-system-modules
799 (guix build cmake-build-system))
800 #:test-target "test"
801 #:configure-flags (list (string-append
802 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
803 (string-append
804 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
805 #:phases
806 (modify-phases %standard-phases
807 (add-after 'unpack 'patch-lockfile-deletion
808 (lambda rest
809 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
810 (("/bin/rm")
811 (which "rm")))))
812 (replace 'configure
813 (assoc-ref cmake:%standard-phases 'configure))
814 (delete 'check) ;; Fails due to issues with DBus
815 (add-after 'install 'wrap-deja-dup
816 (lambda* (#:key inputs outputs #:allow-other-keys)
817 (let ((python (assoc-ref inputs "python"))
818 (python-path (getenv "PYTHONPATH"))
819 (duplicity (assoc-ref inputs "duplicity"))
820 (out (assoc-ref outputs "out")))
821 (for-each
822 (lambda (program)
823 (wrap-program program
824 `("PATH" ":" prefix (,(string-append python "/bin")
825 ,(string-append duplicity "/bin"))))
826 (wrap-program program
827 `("PYTHONPATH" ":" prefix (,python-path))))
828
829 (find-files (string-append out "/bin")))
830 #t))))))
831 (inputs
832 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
833 ("gobject-introspection" ,gobject-introspection)
834 ("duplicity" ,duplicity)
61506fe5 835 ("python" ,python-2)
d61a894b
CB
836 ("python-pygobject" ,python2-pygobject)
837 ("gtk+" ,gtk+)
838 ("libnotify" ,libnotify)
839 ("libpeas" ,libpeas)
840 ("libsecret" ,libsecret)
841 ("packagekit" ,packagekit)))
842 (native-inputs
843 `(("pkg-config" ,pkg-config)
844 ("vala" ,vala)
845 ("gettext" ,gettext-minimal)
846 ("itstool" ,itstool)
847 ("intltool" ,intltool)
c69959f0 848 ("cmake" ,cmake-minimal)))
d61a894b
CB
849 (home-page "https://launchpad.net/deja-dup")
850 (synopsis "Simple backup tool, for regular encrypted backups")
851 (description
852 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
853uses duplicity as the backend, which supports incremental backups and storage
854either on a local, or remote machine via a number of methods.")
855 (license license:gpl3+)))
856
823b77fb
RG
857(define-public gnome-user-docs
858 (package
859 (name "gnome-user-docs")
860 (version "3.32.3")
861 (source
862 (origin
863 (method url-fetch)
864 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
865 (version-major+minor version)
866 "/gnome-user-docs-" version ".tar.xz"))
867 (sha256
868 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
869 (build-system gnu-build-system)
870 (native-inputs
871 `(("gettext" ,gettext-minimal)
872 ("itstool" ,itstool)
873 ("pkg-config" ,pkg-config)
874 ("xmllint" ,libxml2)))
875 (synopsis "User documentation for the GNOME desktop")
876 (description
877 "The GNOME User Documentation explains how to use the GNOME desktop and its
878components. It covers usage and setup of the core GNOME programs by end-users
879and system administrators.")
880 (home-page "https://live.gnome.org/DocumentationProject")
881 (license license:cc-by3.0)))
882
be93299d
RG
883(define-public gnome-getting-started-docs
884 (package
885 (name "gnome-getting-started-docs")
886 (version "3.32.2")
887 (source
888 (origin
889 (method url-fetch)
890 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
891 (version-major+minor version)
892 "/gnome-getting-started-docs-" version ".tar.xz"))
893 (sha256
894 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
895 (build-system gnu-build-system)
896 (native-inputs
897 `(("gettext" ,gettext-minimal)
898 ("itstool" ,itstool)
899 ("pkg-config" ,pkg-config)
900 ("xmllint" ,libxml2)))
901 (synopsis "Help to get new users started with the GNOME desktop")
902 (description
903 "The GNOME Getting Started Documentation contains GNOME's intuitive
904\"Getting Started\" tour, with video guides, that can be viewed with Yelp.
905
906It is normally used together with @command{gnome-initial-setup}, but is also
907useful as a tutorial and users' guide for new or less experienced users.")
908 (home-page "https://live.gnome.org/DocumentationProject")
909 (license license:cc-by-sa3.0)))
910
a56be436
RJ
911(define-public dia
912 ;; This version from GNOME's repository includes fixes for compiling with
913 ;; recent versions of the build tools. The latest activity on the
914 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
915 ;; fixes in 2016.
916 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
917 (package
918 (name "dia")
914c8cdf 919 (version (git-version "0.97.3" "1" commit))
a56be436
RJ
920 (source (origin
921 (method git-fetch)
922 (uri (git-reference
914c8cdf 923 (url "https://gitlab.gnome.org/GNOME/dia.git/")
a56be436 924 (commit commit)))
914c8cdf 925 (file-name (git-file-name name version))
a56be436
RJ
926 (sha256
927 (base32
928 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
929 (build-system gnu-build-system)
930 (inputs
a315afa3 931 `(("freetype" ,freetype)
a56be436
RJ
932 ("gdk-pixbuf" ,gdk-pixbuf)
933 ("gtk+" ,gtk+-2)
a315afa3 934 ("libart-lgpl" ,libart-lgpl)
a56be436 935 ("libxml2" ,libxml2)
a315afa3 936 ("pango" ,pango)))
a56be436 937 (native-inputs
a315afa3 938 `(("autoconf" ,autoconf)
a56be436 939 ("automake" ,automake)
a315afa3
EF
940 ("intltool" ,intltool)
941 ("glib" ,glib "bin")
a56be436
RJ
942 ("libtool" ,libtool)
943 ("perl" ,perl)
a315afa3 944 ("pkg-config" ,pkg-config)
a56be436
RJ
945 ("python-wrapper" ,python-wrapper)))
946 (arguments
947 `(#:phases
948 (modify-phases %standard-phases
4b3e91de 949 (add-before 'bootstrap 'dont-configure-during-bootstrap
a56be436 950 (lambda _
4b3e91de
EF
951 (setenv "NOCONFIGURE" "true")
952 #t)))))
a56be436
RJ
953 (home-page "https://wiki.gnome.org/Apps/Dia")
954 (synopsis "Diagram creation for GNOME")
955 (description "Dia can be used to draw different types of diagrams, and
956includes support for UML static structure diagrams (class diagrams), entity
957relationship modeling, and network diagrams. The program supports various file
958formats like PNG, SVG, PDF and EPS.")
959 (license license:gpl2+))))
960
d0b19e44
RW
961;; This is the unstable release, but it is required for the current stable
962;; release of gvfs (1.38.1).
adc5cb1b
KK
963(define-public libgdata
964 (package
965 (name "libgdata")
d0b19e44 966 (version "0.17.9")
adc5cb1b
KK
967 (source (origin
968 (method url-fetch)
969 (uri (string-append "mirror://gnome/sources/" name "/"
970 (version-major+minor version) "/"
971 name "-" version ".tar.xz"))
972 (sha256
973 (base32
d0b19e44 974 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
adc5cb1b
KK
975 (build-system gnu-build-system)
976 (arguments
977 '(#:phases
978 (modify-phases %standard-phases
448052b7
TGR
979 (add-before 'check 'disable-failing-tests
980 (lambda _
981 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
982 ;; They have been removed in libgdata 0.17.6, so just do the same.
983 (substitute* "gdata/tests/Makefile"
984 (("picasaweb\\$\\(EXEEXT\\) ") ""))
adc5cb1b
KK
985 #t)))))
986 (native-inputs
987 `(("glib:bin" ,glib "bin")
988 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
989 ("intltool" ,intltool)
990 ("pkg-config" ,pkg-config)
991 ("uhttpmock" ,uhttpmock)))
992 (inputs
993 `(("cyrus-sasl" ,cyrus-sasl)
d0b19e44 994 ("glib-networking" ,glib-networking)))
adc5cb1b
KK
995 (propagated-inputs
996 `(("gcr" ,gcr)
d0b19e44 997 ("glib" ,glib)
14c297fd 998 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
d0b19e44 999 ("json-glib" ,json-glib)
adc5cb1b 1000 ("liboauth" ,liboauth)
d0b19e44 1001 ("libsoup" ,libsoup)
adc5cb1b
KK
1002 ("libxml2" ,libxml2)))
1003 (home-page "https://wiki.gnome.org/Projects/libgdata")
1004 (synopsis "Library for accessing online service APIs")
1005 (description
1006 "libgdata is a GLib-based library for accessing online service APIs using
1007the GData protocol — most notably, Google's services. It provides APIs to
1008access the common Google services, and has full asynchronous support.")
1009 (license license:lgpl2.1+)))
1010
94e10cf4
KK
1011(define-public libgxps
1012 (package
1013 (name "libgxps")
66470a5a 1014 (version "0.3.1")
94e10cf4
KK
1015 (source (origin
1016 (method url-fetch)
7f10628c 1017 (uri (string-append "mirror://gnome/sources/" name "/"
94e10cf4
KK
1018 (version-major+minor version) "/"
1019 name "-" version ".tar.xz"))
1020 (sha256
1021 (base32
66470a5a 1022 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
b6b3e512 1023 (build-system meson-build-system)
94e10cf4
KK
1024 (native-inputs
1025 `(("gobject-introspection" ,gobject-introspection)
1026 ("pkg-config" ,pkg-config)))
1027 (inputs
c8d62d93 1028 `(("gtk+" ,gtk+)
b6b3e512 1029 ("libjpeg" ,libjpeg-turbo)
94e10cf4 1030 ("lcms" ,lcms)
0a6e9e13 1031 ("libtiff" ,libtiff)))
c8d62d93
MB
1032 (propagated-inputs
1033 ;; In Requires of libgxps.pc.
1034 `(("cairo" ,cairo)
1035 ("glib" ,glib)
1036 ("libarchive" ,libarchive)))
94e10cf4
KK
1037 (home-page "https://wiki.gnome.org/Projects/libgxps")
1038 (synopsis "GObject-based library for handling and rendering XPS documents")
1039 (description
1040 "libgxps is a GObject-based library for handling and rendering XPS
1041documents. This package also contains binaries that can convert XPS documents
1042to other formats.")
1043 (license license:lgpl2.1+)))
1044
4e09f57a
RG
1045(define-public gnome-characters
1046 (package
1047 (name "gnome-characters")
1048 (version "3.30.0")
1049 (source
1050 (origin
1051 (method url-fetch)
1052 (uri (string-append "mirror://gnome/sources/"
1053 "gnome-characters/" (version-major+minor version)
1054 "/gnome-characters-" version ".tar.xz"))
1055 (sha256
1056 (base32
1057 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1058 (build-system meson-build-system)
5757c641 1059 (arguments
1060 `(#:glib-or-gtk? #t
1061 #:phases (modify-phases %standard-phases
1062 (add-after 'install 'wrap
1063 (lambda* (#:key outputs #:allow-other-keys)
1064 ;; GNOME Characters needs Typelib files from GTK and
1065 ;; gnome-desktop.
1066 (wrap-program (string-append (assoc-ref outputs "out")
1067 "/bin/gnome-characters")
1068 `("GI_TYPELIB_PATH" ":" prefix
1069 (,(getenv "GI_TYPELIB_PATH"))))
1070 #t)))))
4e09f57a
RG
1071 (native-inputs
1072 `(("gettext" ,gettext-minimal)
1073 ("glib:bin" ,glib "bin")
1074 ("gtk+:bin" ,gtk+ "bin")
1075 ("pkg-config" ,pkg-config)
1076 ("python" ,python-minimal)))
1077 (inputs
1078 `(("gjs" ,gjs)
1079 ("gtk+" ,gtk+)
5757c641 1080 ("libunistring" ,libunistring)
1081 ("gnome-desktop" ,gnome-desktop)))
4e09f57a
RG
1082 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1083 (synopsis "Find and insert unusual characters")
1084 (description "Characters is a simple utility application to find
1085and insert unusual characters. It allows you to quickly find the
1086character you are looking for by searching for keywords.")
1087 (license license:bsd-3)))
1088
7aab13f1
ML
1089(define-public gnome-common
1090 (package
1091 (name "gnome-common")
af83490d 1092 (version "3.18.0")
7aab13f1
ML
1093 (source
1094 (origin
1095 (method url-fetch)
1096 (uri (string-append "mirror://gnome/sources/" name "/"
1097 (version-major+minor version) "/"
1098 name "-" version ".tar.xz"))
1099 (sha256
1100 (base32
af83490d 1101 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
7aab13f1
ML
1102 (build-system gnu-build-system)
1103 (home-page "https://www.gnome.org/")
1104 (synopsis "Bootstrap GNOME modules built from Git")
1105 (description "gnome-common contains various files needed to bootstrap
1106GNOME modules built from Git. It contains a common \"autogen.sh\" script that
1107can be used to configure a source directory checked out from Git and some
1108commonly used macros.")
1109 (license license:gpl2+)))
1110
4e868d22
RG
1111(define-public gnome-contacts
1112 (package
1113 (name "gnome-contacts")
6a6138b2 1114 (version "3.32.1")
4e868d22
RG
1115 (source (origin
1116 (method url-fetch)
1117 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
1118 (version-major+minor version) "/"
1119 name "-" version ".tar.xz"))
1120 (sha256
1121 (base32
6a6138b2 1122 "17g1gh8yj58cfpdx69h2szivlbjgvv982kmhnkkh0i5bwj0zs2yy"))))
4e868d22
RG
1123 (build-system meson-build-system)
1124 (arguments
1125 `(#:phases
1126 (modify-phases %standard-phases
1127 (add-after 'unpack 'generate-vapis
1128 (lambda* (#:key inputs #:allow-other-keys)
1129 ;; To generate goa's missing .vapi file
1130 (define goa
1131 (assoc-ref inputs "gnome-online-accounts:lib"))
1132
1133 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
1134 "--library=goa-1.0"
1135 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
1136 #t)))))
1137 (native-inputs
1138 `(("glib:bin" ,glib "bin")
1139 ("gtk+:bin" ,gtk+ "bin")
1140 ("pkg-config" ,pkg-config)))
1141 (inputs
1142 `(("cheese" ,cheese)
1143 ("docbook-xml" ,docbook-xml)
1144 ("dockbook-xsl" ,docbook-xsl)
1145 ("evolution-data-server" ,evolution-data-server)
1146 ("gettext" ,gettext-minimal)
1147 ("gnome-desktop" ,gnome-desktop)
1148 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1149 ("gobject-introspection" ,gobject-introspection)
1150 ("gst-plugins-base" ,gst-plugins-base)
1151 ("gtk+" ,gtk+)
1152 ("libgee" ,libgee)
1153 ("libxslt" ,libxslt)
1154 ("telepathy-glib" ,telepathy-glib)
1155 ("vala" ,vala)))
1156 (propagated-inputs
1157 `(("folks", folks)
1158 ("telepathy-mission-control" ,telepathy-mission-control)))
1159 (synopsis "GNOME's integrated address book")
1160 (description
1161 "GNOME Contacts organizes your contact information from online and
1162offline sources, providing a centralized place for managing your contacts.")
1163 (home-page "https://wiki.gnome.org/Apps/Contacts")
1164 (license license:gpl2+)))
1165
9cc98f8a
CR
1166(define-public gnome-desktop
1167 (package
1168 (name "gnome-desktop")
e8a26caa 1169 (version "3.32.2")
9cc98f8a
CR
1170 (source
1171 (origin
1172 (method url-fetch)
b38e45d8
EB
1173 (uri (string-append "mirror://gnome/sources/" name "/"
1174 (version-major+minor version) "/"
9cc98f8a
CR
1175 name "-" version ".tar.xz"))
1176 (sha256
1177 (base32
e8a26caa
KK
1178 "0bidx4626x7k2myv6f64qv4fzmxv8v475wibiz19kj8hjfr737q9"))))
1179 (build-system meson-build-system)
a0fe7c06
CB
1180 (arguments
1181 '(#:phases
1182 (modify-phases %standard-phases
1183 (add-before 'configure 'patch-path
1184 (lambda* (#:key inputs #:allow-other-keys)
1185 (let ((libc (assoc-ref inputs "libc")))
1186 (substitute* "libgnome-desktop/gnome-languages.c"
1187 (("\"locale\"")
1188 (string-append "\"" libc "/bin/locale\"")))
e8a26caa
KK
1189 #t)))
1190 (add-before 'check 'pre-check
1191 (lambda* (#:key inputs #:allow-other-keys)
1192 ;; Tests require a running X server and locales.
1193 (system "Xvfb :1 &")
1194 (setenv "DISPLAY" ":1")
1195 (setenv "GUIX_LOCPATH"
1196 (string-append (assoc-ref inputs "glibc-locales")
1197 "/lib/locale"))
1198 #t)))))
9cc98f8a 1199 (native-inputs
e8a26caa
KK
1200 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
1201 ("glibc-locales" ,glibc-locales) ; for tests
1202 ("gobject-introspection" ,gobject-introspection)
a8340482 1203 ("itstool" ,itstool)
bcb354ad
SB
1204 ("intltool" ,intltool)
1205 ("pkg-config" ,pkg-config)
e8a26caa
KK
1206 ("xmllint" ,libxml2)
1207 ("xorg-server" ,xorg-server-for-tests)))
a8340482
SB
1208 (propagated-inputs
1209 ;; Required by gnome-desktop-3.0.pc.
1210 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
e8a26caa 1211 ("gtk+" ,gtk+)
9cc98f8a 1212 ("iso-codes" ,iso-codes)
9863ce20 1213 ("libseccomp" ,libseccomp)
9cc98f8a 1214 ("libx11" ,libx11)
e8a26caa
KK
1215 ("xkeyboard-config" ,xkeyboard-config)))
1216 (inputs
1217 `(("gdk-pixbuf" ,gdk-pixbuf)
1218 ("glib" ,glib)
9cc98f8a
CR
1219 ("libxext" ,libxext)
1220 ("libxkbfile" ,libxkbfile)
e8a26caa 1221 ("libxrandr" ,libxrandr)))
9cc98f8a
CR
1222 (home-page "https://www.gnome.org/")
1223 (synopsis
35b9e423 1224 "Libgnome-desktop, gnome-about, and desktop-wide documents")
9cc98f8a
CR
1225 (description
1226 "The libgnome-desktop library provides API shared by several applications
35b9e423
EB
1227on the desktop, but that cannot live in the platform for various reasons.
1228There is no API or ABI guarantee, although we are doing our best to provide
1229stability. Documentation for the API is available with gtk-doc.
9cc98f8a
CR
1230
1231The gnome-about program helps find which version of GNOME is installed.")
1232 ; Some bits under the LGPL.
1dd26275 1233 (license license:gpl2+)))
9cc98f8a 1234
995b7261
AE
1235(define-public gnome-doc-utils
1236 (package
1237 (name "gnome-doc-utils")
1238 (version "0.20.10")
1239 (source
1240 (origin
1241 (method url-fetch)
b38e45d8
EB
1242 (uri (string-append "mirror://gnome/sources/" name "/"
1243 (version-major+minor version) "/"
995b7261
AE
1244 name "-" version ".tar.xz"))
1245 (sha256
1246 (base32
1247 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
1248 (build-system gnu-build-system)
c4c4cc05 1249 (native-inputs
995b7261 1250 `(("intltool" ,intltool)
b4ce6300 1251 ("docbook-xml" ,docbook-xml-4.4)
d80b0d4a 1252 ("python2-libxml2" ,python2-libxml2)
995b7261
AE
1253 ("libxml2" ,libxml2)
1254 ("libxslt" ,libxslt)
1255 ("pkg-config" ,pkg-config)
1256 ("python-2" ,python-2)))
995b7261
AE
1257 (home-page "https://wiki.gnome.org/GnomeDocUtils")
1258 (synopsis
1259 "Documentation utilities for the Gnome project")
1260 (description
1261 "Gnome-doc-utils is a collection of documentation utilities for the
1262Gnome project. It includes xml2po tool which makes it easier to translate
1263and keep up to date translations of documentation.")
1dd26275 1264 (license license:gpl2+))) ; xslt under lgpl
d9c1a22b 1265
6c4f7022
DC
1266(define-public gnome-disk-utility
1267 (package
1268 (name "gnome-disk-utility")
e106d0a6 1269 (version "3.32.1")
6c4f7022
DC
1270 (source (origin
1271 (method url-fetch)
1272 (uri (string-append "mirror://gnome/sources/" name "/"
1273 (version-major+minor version) "/"
1274 name "-" version ".tar.xz"))
1275 (sha256
1276 (base32
e106d0a6 1277 "08vwbji9m1nhjjdiyhhaqi8cncys7i89b4bpy095f8475v8y05bg"))))
4b9a65bf 1278 (build-system meson-build-system)
321c73c3
EF
1279 (arguments
1280 '(#:phases
1281 (modify-phases %standard-phases
1282 (add-after 'unpack 'skip-gtk-update-icon-cache
1283 ;; Don't create 'icon-theme.cache'.
1284 (lambda _
1285 (substitute* "meson_post_install.py"
1286 (("gtk-update-icon-cache") "true"))
1287 #t)))))
6c4f7022
DC
1288 (native-inputs
1289 `(("glib:bin" ,glib "bin")
1290 ("intltool" ,intltool)
1291 ("pkg-config" ,pkg-config)
1292 ("docbook-xml" ,docbook-xml)
1293 ("docbook-xsl" ,docbook-xsl)
1294 ("libxml2" ,libxml2)
1295 ("libxslt" ,libxslt)))
1296 (inputs
1297 `(("glib" ,glib)
1298 ("appstream-glib" ,appstream-glib)
1299 ("gnome-settings-daemon" ,gnome-settings-daemon)
1300 ("gtk+" ,gtk+)
1301 ("libcanberra" ,libcanberra)
1302 ("libdvdread" ,libdvdread)
1303 ("libnotify" ,libnotify)
1304 ("libpwquality" ,libpwquality)
1305 ("libsecret" ,libsecret)
1306 ("udisks" ,udisks)))
1307 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
1308 (synopsis "Disk management utility for GNOME")
1309 (description "Disk management utility for GNOME.")
1310 (license license:gpl2+)))
1311
3d217317
RG
1312(define-public gnome-font-viewer
1313 (package
1314 (name "gnome-font-viewer")
1315 (version "3.30.0")
1316 (source (origin
1317 (method url-fetch)
1318 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
1319 (version-major+minor version)
1320 "/gnome-font-viewer-" version ".tar.xz"))
1321 (sha256
1322 (base32
1323 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
1324 (build-system meson-build-system)
1325 (arguments
1326 '(#:phases
1327 (modify-phases %standard-phases
1328 (add-after 'unpack 'patch-post-install-script
1329 (lambda _
1330 (substitute* "meson-postinstall.sh"
1331 (("update-desktop-database") (which "true")))
1332 #t)))))
1333 (native-inputs
1334 `(("gettext" ,gettext-minimal)
1335 ("glib:bin" ,glib "bin")
1336 ("pkg-config" ,pkg-config)))
1337 (inputs
1338 `(("glib" ,glib)
1339 ("gnome-desktop" ,gnome-desktop)
1340 ("gtk+" ,gtk+)))
1341 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
1342 (synopsis "GNOME Fonts")
1343 (description "Application to show you the fonts installed on your computer
1344for your use as thumbnails. Selecting any thumbnails shows the full view of how
1345the font would look under various sizes.")
1346 (license license:gpl2+)))
1347
8ff49011
RW
1348(define-public gcr
1349 (package
1350 (name "gcr")
bea6b829 1351 (version "3.28.1")
8ff49011 1352 (source (origin
0daf0efb
RW
1353 (method url-fetch)
1354 (uri (string-append "mirror://gnome/sources/" name "/"
1355 (version-major+minor version) "/"
1356 name "-" version ".tar.xz"))
1357 (sha256
1358 (base32
bea6b829 1359 "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m"))
03ecf85a
MB
1360 (patches
1361 (list
1362 ;; This patch solves an ordering issue that showed up when
1363 ;; running the test suite against newer Glib 2.60. See
1364 ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
1365 (origin
1366 (method url-fetch)
1367 (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
1368 "45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
1369 (file-name "gcr-hashtable-ordering.patch")
1370 (sha256
1371 (base32
1372 "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
8ff49011
RW
1373 (build-system gnu-build-system)
1374 (arguments
0daf0efb
RW
1375 '(#:phases
1376 (modify-phases %standard-phases
1377 ;; These fail because /var/lib/dbus/machine-id is not present in the
1378 ;; build environment.
1379 (add-after 'unpack 'disable-failing-tests
1380 (lambda _
1381 (substitute* "gcr/test-system-prompt.c"
1382 (("g_test_add") "//")
1383 (("return.*") "return 0;"))
1384 #t))
1385 (add-before 'check 'pre-check
1386 (lambda _
1387 ;; Some tests expect to write to $HOME.
1388 (setenv "HOME" "/tmp")
1389 #t)))))
8ff49011
RW
1390 (inputs
1391 `(("dbus" ,dbus)
0daf0efb 1392 ("gnupg" ,gnupg) ;called as a child process during tests
8ff49011
RW
1393 ("libgcrypt" ,libgcrypt)))
1394 (native-inputs
0daf0efb 1395 `(("python" ,python-2) ;for tests
8ff49011
RW
1396 ("pkg-config" ,pkg-config)
1397 ("glib" ,glib "bin")
2af4f5b0
SB
1398 ("gobject-introspection" ,gobject-introspection)
1399 ("intltool" ,intltool)
0daf0efb 1400 ("libxml2" ,libxml2)
bea6b829 1401 ("vala" ,vala)
2af4f5b0 1402 ("xsltproc" ,libxslt)))
8ff49011
RW
1403 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1404 (propagated-inputs
1405 `(("p11-kit" ,p11-kit)
1406 ("glib" ,glib)
1407 ("gtk+" ,gtk+)))
f032d0be 1408 (home-page "https://www.gnome.org")
8ff49011
RW
1409 (synopsis "Libraries for displaying certificates and accessing key stores")
1410 (description
1411 "The GCR package contains libraries used for displaying certificates and
1412accessing key stores. It also provides the viewer for crypto files on the
1413GNOME Desktop.")
1414 (license license:lgpl2.1+)))
1415
c1354b90
LC
1416(define-public libgnome-keyring
1417 (package
1418 (name "libgnome-keyring")
5e8aec2c 1419 (version "3.12.0")
c1354b90
LC
1420 (source (origin
1421 (method url-fetch)
b38e45d8
EB
1422 (uri (string-append "mirror://gnome/sources/" name "/"
1423 (version-major+minor version) "/"
1424 name "-" version ".tar.xz"))
c1354b90
LC
1425 (sha256
1426 (base32
5e8aec2c 1427 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
c1354b90 1428 (build-system gnu-build-system)
c1354b90 1429 (inputs
c4c4cc05 1430 `(("libgcrypt" ,libgcrypt)
c1354b90 1431 ("dbus" ,dbus)))
c4c4cc05
JD
1432 (native-inputs
1433 `(("pkg-config" ,pkg-config)
426adbe8 1434 ("glib" ,glib "bin")
c4c4cc05 1435 ("intltool" ,intltool)))
c1354b90
LC
1436 (propagated-inputs
1437 ;; Referred to in .h files and .pc.
1438 `(("glib" ,glib)))
f032d0be 1439 (home-page "https://www.gnome.org")
c1354b90
LC
1440 (synopsis "Accessing passwords from the GNOME keyring")
1441 (description
1442 "Client library to access passwords from the GNOME keyring.")
1443
1444 ;; Though a couple of files are LGPLv2.1+.
1dd26275 1445 (license license:lgpl2.0+)))
c1354b90 1446
e99a3d6f
RW
1447(define-public gnome-keyring
1448 (package
1449 (name "gnome-keyring")
ab35cc6e 1450 (version "3.28.2")
e99a3d6f
RW
1451 (source (origin
1452 (method url-fetch)
1453 (uri (string-append "mirror://gnome/sources/" name "/"
1454 (version-major+minor version) "/"
1455 name "-" version ".tar.xz"))
1456 (sha256
1457 (base32
ab35cc6e 1458 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
e99a3d6f
RW
1459 (build-system gnu-build-system)
1460 (arguments
1461 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1462 ;not exist
1463 #:configure-flags
1464 (list
1465 (string-append "--with-pkcs11-config="
1466 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1467 (string-append "--with-pkcs11-modules="
1468 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1469 #:phases
1470 (modify-phases %standard-phases
ab35cc6e
RW
1471 (add-after 'unpack 'fix-/bin/sh-reference
1472 (lambda _
1473 (substitute* "po/Makefile.in.in"
1474 (("/bin/sh") (which "sh")))
1475 #t))
5120f24f
RW
1476 (add-after 'unpack 'fix-docbook
1477 (lambda* (#:key inputs #:allow-other-keys)
1478 (substitute* "docs/Makefile.am"
1479 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1480 (string-append (assoc-ref inputs "docbook-xsl")
1481 "/xml/xsl/docbook-xsl-"
1482 ,(package-version docbook-xsl)
1483 "/manpages/docbook.xsl")))
1484 (setenv "XML_CATALOG_FILES"
1485 (string-append (assoc-ref inputs "docbook-xml")
1486 "/xml/dtd/docbook/catalog.xml"))
1487 ;; Rerun the whole thing to avoid version mismatch ("This is
1488 ;; Automake 1.15.1, but the definition used by this
1489 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1490 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1491 (invoke "autoconf")
1492 (invoke "aclocal")
1493 (invoke "automake" "-ac"))))))
e99a3d6f
RW
1494 (inputs
1495 `(("libgcrypt" ,libgcrypt)
1a0b2d82 1496 ("linux-pam" ,linux-pam)
ab35cc6e 1497 ("openssh" ,openssh)
e99a3d6f
RW
1498 ("dbus" ,dbus)
1499 ("gcr" ,gcr)))
1500 (native-inputs
1501 `(("pkg-config" ,pkg-config)
1502 ("glib" ,glib "bin")
5120f24f 1503 ("glib" ,glib) ; for m4 macros
e99a3d6f
RW
1504 ("python" ,python-2) ;for tests
1505 ("intltool" ,intltool)
1506 ("autoconf" ,autoconf)
1507 ("automake" ,automake)
1508 ("libxslt" ,libxslt) ;for documentation
1509 ("docbook-xml" ,docbook-xml-4.2)
1510 ("docbook-xsl" ,docbook-xsl)))
f032d0be 1511 (home-page "https://www.gnome.org")
e99a3d6f
RW
1512 (synopsis "Daemon to store passwords and encryption keys")
1513 (description
1514 "gnome-keyring is a program that keeps passwords and other secrets for
1515users. It is run as a daemon in the session, similar to ssh-agent, and other
1516applications locate it via an environment variable or D-Bus.
1517
1518The program can manage several keyrings, each with its own master password,
1519and there is also a session keyring which is never stored to disk, but
1520forgotten when the session ends.")
1521 (license license:lgpl2.1+)))
1522
c1354b90
LC
1523(define-public evince
1524 (package
1525 (name "evince")
936d5642 1526 (version "3.34.2")
c1354b90
LC
1527 (source (origin
1528 (method url-fetch)
ac631328 1529 (uri (string-append "mirror://gnome/sources/evince/"
b38e45d8 1530 (version-major+minor version) "/"
ac631328 1531 "evince-" version ".tar.xz"))
c1354b90
LC
1532 (sha256
1533 (base32
936d5642 1534 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
121de2e1 1535 (build-system glib-or-gtk-build-system)
c1354b90 1536 (arguments
169b8f77 1537 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
554b2dac
SB
1538 #:phases
1539 (modify-phases %standard-phases
1540 (add-before 'install 'skip-gtk-update-icon-cache
1541 ;; Don't create 'icon-theme.cache'.
1542 (lambda _
1543 (substitute* "data/Makefile"
1544 (("gtk-update-icon-cache") "true"))
1545 #t)))))
c1354b90 1546 (inputs
9a096881
KK
1547 `(("libarchive" ,libarchive)
1548 ("libgxps" ,libgxps)
1549 ("libspectre" ,libspectre)
c769cf9f 1550 ("djvulibre" ,djvulibre)
c1354b90
LC
1551 ("ghostscript" ,ghostscript)
1552 ("poppler" ,poppler)
c769cf9f
SB
1553 ("libtiff" ,libtiff)
1554 ;; TODO:
c769cf9f
SB
1555 ;; Build libkpathsea as a shared library for DVI support.
1556 ;; ("libkpathsea" ,texlive-bin)
1557 ("gnome-desktop" ,gnome-desktop)
c1354b90 1558 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2dfc16d1 1559 ("gspell" ,gspell)
c1354b90 1560 ("libgnome-keyring" ,libgnome-keyring)
c769cf9f 1561 ("adwaita-icon-theme" ,adwaita-icon-theme)
c1354b90
LC
1562 ("gdk-pixbuf" ,gdk-pixbuf)
1563 ("atk" ,atk)
1564 ("pango" ,pango)
1565 ("gtk+" ,gtk+)
1566 ("glib" ,glib)
1567 ("libxml2" ,libxml2)
c1354b90
LC
1568 ("libsm" ,libsm)
1569 ("libice" ,libice)
96e42467 1570 ("shared-mime-info" ,shared-mime-info)
3d243e9c
FB
1571 ("dconf" ,dconf)
1572 ("libcanberra" ,libcanberra)
c769cf9f 1573 ("libsecret" ,libsecret)
a271096b 1574
c1354b90
LC
1575 ;; For tests.
1576 ("dogtail" ,python2-dogtail)))
96e42467 1577 (native-inputs
bcb354ad
SB
1578 `(("itstool" ,itstool)
1579 ("intltool" ,intltool)
426adbe8 1580 ("glib" ,glib "bin")
169b8f77 1581 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
1582 ("pkg-config" ,pkg-config)
1583 ("xmllint" ,libxml2)))
c1354b90 1584 (home-page
f032d0be 1585 "https://www.gnome.org/projects/evince/")
c1354b90
LC
1586 (synopsis "GNOME's document viewer")
1587 (description
1588 "Evince is a document viewer for multiple document formats. It
1589currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1590of Evince is to replace the multiple document viewers that exist
96e42467 1591on the GNOME Desktop with a single simple application.")
1dd26275 1592 (license license:gpl2+)))
c1354b90 1593
22e32e69
AE
1594(define-public gsettings-desktop-schemas
1595 (package
1596 (name "gsettings-desktop-schemas")
c900dabd 1597 (version "3.32.0")
22e32e69
AE
1598 (source
1599 (origin
1600 (method url-fetch)
1601 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1602 (version-major+minor version) "/"
22e32e69
AE
1603 name "-" version ".tar.xz"))
1604 (sha256
1605 (base32
c900dabd
KK
1606 "0d8a6479vappgplq5crdr3ah0ykqcr3fw533wkx9v1a8lnrv8n9d"))))
1607 (build-system meson-build-system)
65209ffa
LC
1608 (arguments
1609 '(#:phases (modify-phases %standard-phases
1610 (add-after 'unpack 'set-adwaita-theme-file-name
1611 (lambda* (#:key inputs #:allow-other-keys)
1612 ;; Provide the correct file name of the default GNOME
1613 ;; background, 'adwaita-timed.xml'.
1614 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1615 (substitute* (find-files "schemas"
1616 "\\.gschema\\.xml\\.in$")
1617 (("@datadir@/backgrounds/gnome")
1618 (string-append theme "/share/backgrounds/gnome")))
1619 #t))))))
22e32e69 1620 (inputs
65209ffa
LC
1621 `(("glib" ,glib)
1622 ("gnome-backgrounds" ,gnome-backgrounds)))
c4c4cc05
JD
1623 (native-inputs
1624 `(("intltool" ,intltool)
426adbe8 1625 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
7211944a 1626 ("gobject-introspection" ,gobject-introspection)
22e32e69
AE
1627 ("pkg-config" ,pkg-config)))
1628 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1629 (synopsis
1630 "GNOME settings for various desktop components")
1631 (description
1632 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1633for settings shared by various components of the GNOME desktop.")
1dd26275 1634 (license license:lgpl2.1+)))
22e32e69 1635
27477d2d
AE
1636(define-public icon-naming-utils
1637 (package
1638 (name "icon-naming-utils")
1639 (version "0.8.90")
1640 (source
1641 (origin
1642 (method url-fetch)
5cc3096c 1643 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
27477d2d
AE
1644 version ".tar.bz2"))
1645 (sha256
1646 (base32
1647 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1648 (build-system gnu-build-system)
1649 (inputs
1650 `(("perl" ,perl)
1651 ("perl-xml-simple" ,perl-xml-simple)))
f4e97277
SB
1652 (arguments
1653 '(#:phases
dc1d3cde
KK
1654 (modify-phases %standard-phases
1655 (add-after 'install 'set-load-paths
1656 ;; Tell 'icon-name-mapping' where XML::Simple is.
1657 (lambda* (#:key outputs #:allow-other-keys)
1658 (let* ((out (assoc-ref outputs "out"))
1659 (prog (string-append out "/libexec/icon-name-mapping")))
1660 (wrap-program
1661 prog
1662 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1663 #t)))))
27477d2d
AE
1664 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1665 (synopsis
1666 "Utility to implement the Freedesktop Icon Naming Specification")
1667 (description
1668 "To help with the transition to the Freedesktop Icon Naming
1669Specification, the icon naming utility maps the icon names used by the
1670GNOME and KDE desktops to the icon names proposed in the specification.")
1dd26275 1671 (license license:lgpl2.1+)))
27477d2d 1672
7d3f3651
AE
1673(define-public gnome-icon-theme
1674 (package
1675 (name "gnome-icon-theme")
b32f58dd 1676 (version "3.12.0")
7d3f3651
AE
1677 (source
1678 (origin
1679 (method url-fetch)
1680 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1681 (version-major+minor version) "/"
7d3f3651
AE
1682 name "-" version ".tar.xz"))
1683 (sha256
1684 (base32
b32f58dd 1685 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
7d3f3651 1686 (build-system gnu-build-system)
5613c27d
SB
1687 (arguments
1688 '(#:configure-flags
1689 ;; Don't create 'icon-theme.cache'.
1690 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1691 (true (string-append coreutils "/bin/true")))
1692 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
c4c4cc05 1693 (native-inputs
5613c27d 1694 `(("icon-naming-utils" ,icon-naming-utils)
73b6cf42
SB
1695 ("intltool" ,intltool)
1696 ("pkg-config" ,pkg-config)))
5c610d4f
KK
1697 (home-page "https://wiki.gnome.org/Personalization")
1698 (synopsis "GNOME icon theme")
1699 (description "Icons for the GNOME desktop.")
1dd26275 1700 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
7d3f3651 1701
14eeefa2
SB
1702;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1703(define-public adwaita-icon-theme
1704 (package (inherit gnome-icon-theme)
1705 (name "adwaita-icon-theme")
9be59d7f 1706 (version "3.32.0")
14eeefa2
SB
1707 (source (origin
1708 (method url-fetch)
1709 (uri (string-append "mirror://gnome/sources/" name "/"
1710 (version-major+minor version) "/"
1711 name "-" version ".tar.xz"))
1712 (sha256
1713 (base32
9be59d7f 1714 "11ij35na8nisvxx3qh527iz33h6z2q1a7iinqyp7p65v0zjbd3b9"))))
5613c27d
SB
1715 (native-inputs
1716 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
14eeefa2 1717
ae792dba
RW
1718(define-public tango-icon-theme
1719 (package
1720 (name "tango-icon-theme")
1721 (version "0.8.90")
1722 (source (origin
1723 (method url-fetch)
1724 (uri (string-append "http://tango.freedesktop.org/releases/"
1725 "tango-icon-theme-" version ".tar.bz2"))
1726 (sha256
1727 (base32
1728 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1729 (build-system gnu-build-system)
1730 (native-inputs
1731 `(("icon-naming-utils" ,icon-naming-utils)
1732 ("intltool" ,intltool)
1733 ("imagemagick" ,imagemagick)
1734 ("pkg-config" ,pkg-config)))
1735 (home-page "http://tango-project.org/")
1736 (synopsis "Tango icon theme")
1737 (description "This is an icon theme that follows the Tango visual
1738guidelines.")
1739 (license license:public-domain)))
1740
9167f8e6
LC
1741(define-public shared-mime-info
1742 (package
1743 (name "shared-mime-info")
18138ab9 1744 (version "1.10")
9167f8e6
LC
1745 (source (origin
1746 (method url-fetch)
5cc3096c 1747 (uri (string-append "https://freedesktop.org/~hadess/"
b38e45d8 1748 "shared-mime-info-" version ".tar.xz"))
9167f8e6
LC
1749 (sha256
1750 (base32
18138ab9 1751 "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"))))
9167f8e6
LC
1752 (build-system gnu-build-system)
1753 (arguments
1754 ;; The build system appears not to be parallel-safe.
1755 '(#:parallel-build? #f))
1756 (inputs
1757 `(("glib" ,glib)
c4c4cc05 1758 ("libxml2" ,libxml2)))
9167f8e6 1759 (native-inputs
c4c4cc05
JD
1760 `(("intltool" ,intltool)
1761 ("pkg-config" ,pkg-config)))
57e7d748 1762 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
9167f8e6
LC
1763 (synopsis "Database of common MIME types")
1764 (description
1765 "The shared-mime-info package contains the core database of common types
1766and the update-mime-database command used to extend it. It requires glib2 to
1767be installed for building the update command. Additionally, it uses intltool
1768for translations, though this is only a dependency for the maintainers. This
1769database is translated at Transifex.")
1dd26275 1770 (license license:gpl2+)))
9167f8e6 1771
dd1fcddc
CB
1772(define-public system-config-printer
1773 (package
1774 (name "system-config-printer")
fa01e10d 1775 (version "1.5.12")
a5643044
TGR
1776 (source
1777 (origin
1778 (method url-fetch)
1779 (uri (string-append
1780 "https://github.com/OpenPrinting/system-config-printer/releases/"
1781 "download/" version
1782 "/system-config-printer-" version ".tar.xz"))
1783 (sha256
fa01e10d 1784 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
dd1fcddc
CB
1785 (build-system glib-or-gtk-build-system)
1786 (arguments
1787 `(#:imported-modules ((guix build python-build-system)
1788 ,@%glib-or-gtk-build-system-modules)
1789 #:phases
1790 (modify-phases %standard-phases
1791 (add-after 'unpack 'patch-Makefile.am
1792 (lambda _
1793 ;; The Makefile generates some scripts, so set a valid shebang
1794 (substitute* "Makefile.am"
1795 (("/bin/bash") (which "bash")))
1796 (delete-file "configure")
1797 #t))
1798 (add-after 'unpack 'patch-docbook-xml
1799 (lambda* (#:key inputs #:allow-other-keys)
1800 ;; Modify the man XML otherwise xmlto tries to access the network
1801 (substitute* "man/system-config-printer.xml"
1802 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1803 (string-append (assoc-ref inputs "docbook-xml")
1804 "/xml/dtd/docbook/")))
1805 #t))
1806 (add-after 'install 'wrap-for-python
1807 (@@ (guix build python-build-system) wrap))
1808 (add-after 'install 'wrap
1809 (lambda* (#:key outputs #:allow-other-keys)
1810 (let ((out (assoc-ref outputs "out"))
1811 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1812 (for-each
1813 (lambda (program)
1814 (wrap-program program
1815 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1816 (map (lambda (name)
1817 (string-append out "/bin/" name))
1818 '("system-config-printer"
1819 "system-config-printer-applet"
1820 "install-printerdriver"
1821 "scp-dbus-service"))))
1822 #t)))))
1823 (inputs
1824 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1825 ("gobject-introspection" ,gobject-introspection)
1826 ("python" ,python)
1827 ("cups" ,cups)
1828 ("python-dbus" ,python-dbus)
1829 ("python-pygobject" ,python-pygobject)
1830 ("python-pycups" ,python-pycups)
1831 ("python-requests" ,python-requests)
1832 ("python-pycairo" ,python-pycairo)
1833 ("libnotify" ,libnotify)
1834 ("packagekit" ,packagekit)))
1835 (native-inputs
1836 `(("pkg-config" ,pkg-config)
1837 ("desktop-file-utils" ,desktop-file-utils)
1838 ("glib" ,glib)
1839 ("autoconf" ,autoconf)
1840 ("automake" ,automake)
1841 ("intltool" ,intltool)
1842 ("xmlto" ,xmlto)
1843 ("docbook-xml" ,docbook-xml-4.1.2)
1844 ("docbook-xsl" ,docbook-xsl)
1845 ("libxml2" ,libxml2)))
1846 (home-page "https://github.com/zdohnal/system-config-printer")
1847 (synopsis "CUPS administration tool")
1848 (description
1849 "system-config-printer is a CUPS administration tool. It's written in
1850Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1851configuring CUPS.")
1852 (license license:gpl2+)))
1853
bef4dd92
AE
1854(define-public hicolor-icon-theme
1855 (package
1856 (name "hicolor-icon-theme")
851cb6dd 1857 (version "0.17")
bef4dd92
AE
1858 (source
1859 (origin
1860 (method url-fetch)
5cc3096c 1861 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
b62a0070 1862 "hicolor-icon-theme-" version ".tar.xz"))
bef4dd92
AE
1863 (sha256
1864 (base32
851cb6dd 1865 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
bef4dd92
AE
1866 (build-system gnu-build-system)
1867 (arguments
1868 `(#:tests? #f)) ; no check target
57e7d748 1869 (home-page "https://icon-theme.freedesktop.org/releases/")
bef4dd92
AE
1870 (synopsis
1871 "Freedesktop icon theme")
1872 (description
1873 "Freedesktop icon theme.")
1dd26275 1874 (license license:gpl2)))
bef4dd92 1875
d9c1a22b
AE
1876(define-public libnotify
1877 (package
1878 (name "libnotify")
195bfa68 1879 (version "0.7.7")
d9c1a22b
AE
1880 (source
1881 (origin
1882 (method url-fetch)
1883 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1884 (version-major+minor version) "/"
d9c1a22b
AE
1885 name "-" version ".tar.xz"))
1886 (sha256
1887 (base32
195bfa68 1888 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
d9c1a22b 1889 (build-system gnu-build-system)
6acf6cec
MB
1890 (arguments
1891 `(#:configure-flags '("--disable-static")))
7ef08efa
UK
1892 (propagated-inputs
1893 `(;; In Requires of libnotify.pc.
1894 ("gdk-pixbuf" ,gdk-pixbuf)
1895 ("glib" ,glib)))
d9c1a22b 1896 (inputs
7ef08efa 1897 `(("gtk+" ,gtk+)
c4c4cc05
JD
1898 ("libpng" ,libpng)))
1899 (native-inputs
426adbe8 1900 `(("pkg-config" ,pkg-config)
277a7d82
JN
1901 ("glib" ,glib "bin")
1902 ("gobject-introspection" ,gobject-introspection)))
d9c1a22b
AE
1903 (home-page "https://developer-next.gnome.org/libnotify/")
1904 (synopsis
1905 "GNOME desktop notification library")
1906 (description
1907 "Libnotify is a library that sends desktop notifications to a
35b9e423 1908notification daemon, as defined in the Desktop Notifications spec. These
d9c1a22b
AE
1909notifications can be used to inform the user about an event or display
1910some form of information without getting in the user's way.")
1dd26275 1911 (license license:lgpl2.1+)))
7a8605ce
CR
1912
1913(define-public libpeas
1914 (package
1915 (name "libpeas")
f2d56e39 1916 (version "1.24.1")
7a8605ce
CR
1917 (source
1918 (origin
1919 (method url-fetch)
1920 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1921 (version-major+minor version) "/"
7a8605ce
CR
1922 name "-" version ".tar.xz"))
1923 (sha256
1924 (base32
f2d56e39
MB
1925 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
1926 (build-system meson-build-system)
1927 (arguments
1928 '(#:phases
1929 (modify-phases %standard-phases
1930 (add-before 'check 'start-xserver
1931 (lambda* (#:key inputs #:allow-other-keys)
1932 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1933 (disp ":1"))
1934 (setenv "DISPLAY" disp)
1935 ;; Tests require a running X server.
1936 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
1937 #t))))))
7a8605ce 1938 (inputs
2ed6522a
SB
1939 `(("gtk+" ,gtk+)
1940 ("glade" ,glade3)
2ed6522a
SB
1941 ("python" ,python)
1942 ("python-pygobject" ,python-pygobject)))
141aed80
LC
1943 (native-inputs
1944 `(("pkg-config" ,pkg-config)
f2d56e39 1945 ("gettext" ,gettext-minimal)
93622993 1946 ("glib:bin" ,glib "bin")
141aed80 1947 ("gobject-introspection" ,gobject-introspection)
f2d56e39 1948 ("xorg-server" ,xorg-server-for-tests)))
55b7bbd8
LC
1949 (propagated-inputs
1950 ;; The .pc file "Requires" gobject-introspection.
1951 `(("gobject-introspection" ,gobject-introspection)))
7a8605ce
CR
1952 (home-page "https://wiki.gnome.org/Libpeas")
1953 (synopsis "GObject plugin system")
1954 (description
d1e4ad1b
TGR
1955 "Libpeas is a gobject-based plugin engine, targeted at giving every
1956application the chance to assume its own extensibility. It also has a set of
1957features including, but not limited to: multiple extension points; on-demand
1958(lazy) programming language support for C, Python and JS; simplicity of the
1959API.")
1dd26275 1960 (license license:lgpl2.0+)))
ed19903d
JD
1961
1962(define-public gtkglext
1963 (package
1964 (name "gtkglext")
1965 (version "1.2.0")
1966 (source (origin
1967 (method url-fetch)
0f971a04 1968 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
ed19903d
JD
1969 version "/gtkglext-" version ".tar.gz"))
1970 (sha256
1971 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
fc1adab1
AK
1972 (patches (search-patches
1973 "gtkglext-disable-disable-deprecated.patch"))))
ed19903d 1974 (build-system gnu-build-system)
14e2f61a
RW
1975 (arguments
1976 `(#:phases
1977 (modify-phases %standard-phases
1978 ;; Fix a collision between a local variable and a definition from
1979 ;; glibc's string.h.
1980 (add-after 'unpack 'fix-collision
1981 (lambda _
1982 (substitute* "gdk/gdkglshapes.c"
1983 ((" index") " triangle_index"))
1984 #t)))))
ed19903d
JD
1985 (inputs `(("gtk+" ,gtk+-2)
1986 ("mesa" ,mesa)
cc8b02f4 1987 ("glu" ,glu)
ed19903d
JD
1988 ("libx11" ,libx11)
1989 ("libxt" ,libxt)))
426adbe8
LC
1990 (native-inputs `(("pkg-config" ,pkg-config)
1991 ("glib" ,glib "bin")))
a83b6a06 1992 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
ed19903d 1993 (home-page "https://projects.gnome.org/gtkglext")
9e771e3b 1994 (synopsis "OpenGL extension to GTK+")
35b9e423 1995 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
ed19903d
JD
1996additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1997API add-ons to make GTK+ widgets OpenGL-capable.")
1dd26275 1998 (license license:lgpl2.1+)))
3600420e
JD
1999
2000(define-public glade3
2001 (package
2002 (name "glade")
c6571adb 2003 (version "3.22.1")
b38e45d8
EB
2004 (source (origin
2005 (method url-fetch)
2006 (uri (string-append "mirror://gnome/sources/" name "/"
2007 (version-major+minor version) "/"
f5ca44b8 2008 name "-" version ".tar.xz"))
3600420e 2009 (sha256
f714d9fe 2010 (base32
c6571adb 2011 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
6983ba56 2012 (build-system glib-or-gtk-build-system)
f5ca44b8
RW
2013 (arguments
2014 `(#:tests? #f ; needs X, GL, and software rendering
2015 #:phases
2016 (modify-phases %standard-phases
2017 (add-before 'configure 'fix-docbook
2018 (lambda* (#:key inputs #:allow-other-keys)
2019 (substitute* "man/Makefile.in"
2020 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2021 (string-append (assoc-ref inputs "docbook-xsl")
2022 "/xml/xsl/docbook-xsl-"
2023 ,(package-version docbook-xsl)
2024 "/manpages/docbook.xsl")))
2025 #t)))))
3600420e 2026 (inputs
f5ca44b8 2027 `(("gtk+" ,gtk+)
3600420e
JD
2028 ("libxml2" ,libxml2)))
2029 (native-inputs
2030 `(("intltool" ,intltool)
f5ca44b8
RW
2031 ("itstool" ,itstool)
2032 ("libxslt" ,libxslt) ;for xsltproc
2033 ("docbook-xml" ,docbook-xml-4.2)
2034 ("docbook-xsl" ,docbook-xsl)
2035 ("python" ,python-2)
3600420e
JD
2036 ("pkg-config" ,pkg-config)))
2037 (home-page "https://glade.gnome.org")
2038 (synopsis "GTK+ rapid application development tool")
2039 (description "Glade is a rapid application development (RAD) tool to
2040enable quick & easy development of user interfaces for the GTK+ toolkit and
2041the GNOME desktop environment.")
1dd26275
LC
2042 (license license:lgpl2.0+)))
2043
2044(define-public libcroco
2045 (package
2046 (name "libcroco")
8bdacad2 2047 (version "0.6.13")
1dd26275
LC
2048 (source (origin
2049 (method url-fetch)
b38e45d8
EB
2050 (uri (string-append "mirror://gnome/sources/" name "/"
2051 (version-major+minor version) "/"
2052 name "-" version ".tar.xz"))
1dd26275
LC
2053 (sha256
2054 (base32
8bdacad2 2055 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
1dd26275
LC
2056 (build-system gnu-build-system)
2057 (native-inputs
2058 `(("pkg-config" ,pkg-config)))
2059 (inputs
2060 `(("glib" ,glib)
2061 ("libxml2" ,libxml2)
2062 ("zlib" ,zlib)))
2063 (home-page "https://github.com/GNOME/libcroco")
2064 (synopsis "CSS2 parsing and manipulation library")
2065 (description
2066 "Libcroco is a standalone CSS2 parsing and manipulation library.
2067The parser provides a low level event driven SAC-like API and a CSS object
2068model like API. Libcroco provides a CSS2 selection engine and an experimental
2069XML/CSS rendering engine.")
2070
2071 ;; LGPLv2.1-only.
2072 (license license:lgpl2.1)))
25178594
LC
2073
2074(define-public libgsf
2075 (package
2076 (name "libgsf")
8d1644a1 2077 (version "1.14.46")
25178594
LC
2078 (source (origin
2079 (method url-fetch)
b38e45d8
EB
2080 (uri (string-append "mirror://gnome/sources/" name "/"
2081 (version-major+minor version) "/"
2082 name "-" version ".tar.xz"))
25178594
LC
2083 (sha256
2084 (base32
8d1644a1 2085 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
25178594
LC
2086 (build-system gnu-build-system)
2087 (native-inputs
2088 `(("intltool" ,intltool)
2089 ("pkg-config" ,pkg-config)))
2090 (inputs
2091 `(("python" ,python)
2092 ("zlib" ,zlib)
2093 ("bzip2" ,bzip2)))
2094 (propagated-inputs
2095 `(("gdk-pixbuf" ,gdk-pixbuf)
2096 ("glib" ,glib)
2097 ("libxml2" ,libxml2)))
f032d0be 2098 (home-page "https://www.gnome.org/projects/libgsf")
25178594
LC
2099 (synopsis "GNOME's Structured File Library")
2100 (description
2101 "Libgsf aims to provide an efficient extensible I/O abstraction for
2102dealing with different structured file formats.")
2103
2104 ;; LGPLv2.1-only.
2105 (license license:lgpl2.1)))
63016e7c
LC
2106
2107(define-public librsvg
f67417a1 2108 (package
35b256f5 2109 (replacement librsvg/fixed)
f67417a1
MB
2110 (name "librsvg")
2111 (version "2.40.20")
2112 (source (origin
2113 (method url-fetch)
2114 (uri (string-append "mirror://gnome/sources/" name "/"
2115 (version-major+minor version) "/"
2116 name "-" version ".tar.xz"))
2117 (sha256
2118 (base32
2119 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
2120 (build-system gnu-build-system)
2121 (arguments
2122 `(#:configure-flags
2123 (list "--disable-static"
2124 "--enable-vala") ; needed for e.g. gnome-mines
2125 #:phases
2126 (modify-phases %standard-phases
2127 (add-before 'configure 'pre-configure
2128 (lambda* (#:key inputs #:allow-other-keys)
2129 (substitute* "gdk-pixbuf-loader/Makefile.in"
2130 ;; By default the gdk-pixbuf loader is installed under
2131 ;; gdk-pixbuf's prefix. Work around that.
2132 (("gdk_pixbuf_moduledir = .*$")
2133 (string-append "gdk_pixbuf_moduledir = "
2134 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2135 "loaders\n"))
2136 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2137 (("gdk_pixbuf_cache_file = .*$")
2138 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2139 #t))
2140 (add-before 'check 'remove-failing-tests
2141 (lambda _
2142 (with-directory-excursion "tests/fixtures/reftests"
2143 (for-each delete-file
2144 '(;; This test fails on i686:
2145 "svg1.1/masking-path-04-b.svg"
2146 ;; This test fails on armhf:
2147 "svg1.1/masking-mask-01-b.svg"
2148 ;; This test fails on aarch64:
2149 "bugs/777834-empty-text-children.svg")))
2150 #t)))))
2151 (native-inputs
2152 `(("pkg-config" ,pkg-config)
2153 ("vala" ,vala)
2154 ("glib" ,glib "bin") ; glib-mkenums, etc.
2155 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2156 (inputs
2157 `(("pango" ,pango)
2158 ("libcroco" ,libcroco)
2159 ("bzip2" ,bzip2)
2160 ("libgsf" ,libgsf)
2161 ("libxml2" ,libxml2)))
2162 (propagated-inputs
2163 ;; librsvg-2.0.pc refers to all of that.
2164 `(("cairo" ,cairo)
2165 ("gdk-pixbuf" ,gdk-pixbuf)
2166 ("glib" ,glib)))
2167 (home-page "https://wiki.gnome.org/LibRsvg")
2168 (synopsis "Render SVG files using Cairo")
2169 (description
2170 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
2171library.")
2172 (license license:lgpl2.0+)))
2173
23f33de1
EF
2174(define librsvg/fixed
2175 (package
2176 (inherit librsvg)
2177 (name "librsvg")
2178 (version "2.40.21")
2179 (source (origin
2180 (method url-fetch)
2181 (uri (string-append "mirror://gnome/sources/" name "/"
2182 (version-major+minor version) "/"
2183 name "-" version ".tar.xz"))
2184 (sha256
2185 (base32
2186 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))))
2187
8f523eb9
EF
2188(define* (computed-origin-method gexp-promise hash-algo hash
2189 #:optional (name "source")
2190 #:key (system (%current-system))
2191 (guile (default-guile)))
2192 "Return a derivation that executes the G-expression that results
2193from forcing GEXP-PROMISE."
2194 (mlet %store-monad ((guile (package->derivation guile system)))
2195 (gexp->derivation (or name "computed-origin")
2196 (force gexp-promise)
2197 #:graft? #f ;nothing to graft
2198 #:system system
2199 #:guile-for-build guile)))
2200
2201(define librsvg-next-source
8d6f9168 2202 (let* ((version "2.46.4")
8f523eb9
EF
2203 (upstream-source (origin
2204 (method url-fetch)
2205 (uri (string-append "mirror://gnome/sources/librsvg/"
2206 (version-major+minor version) "/"
2207 "librsvg-" version ".tar.xz"))
2208 (sha256
2209 (base32
8d6f9168 2210 "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl")))))
8f523eb9
EF
2211 (origin
2212 (method computed-origin-method)
2213 (file-name (string-append "librsvg-" version ".tar.xz"))
2214 (sha256 #f)
2215 (uri
2216 (delay
2217 (with-imported-modules '((guix build utils))
2218 #~(begin
2219 (use-modules (guix build utils))
2220 (set-path-environment-variable
2221 "PATH" '("bin")
2222 (list "/tmp"
2223 #+(canonical-package xz)
2224 #+(canonical-package gzip)
2225 #+(canonical-package tar)))
2226 (invoke "tar" "xvf" #+upstream-source)
2227 (with-directory-excursion (string-append "librsvg-" #$version)
91f0c790
JS
2228 ;; The following crate(s) are needed in addition to the ones replaced:
2229 (begin
2230 (invoke
5213b697
EF
2231 "tar" "xvf" #+(package-source rust-autocfg-0.1) "-C" "vendor")
2232 (invoke
2233 "tar" "xvf" #+(package-source rust-proc-macro2-0.4) "-C" "vendor")
2234 (invoke
2235 "tar" "xvf" #+(package-source rust-quote-0.6) "-C" "vendor")
2236 (invoke
2237 "tar" "xvf" #+(package-source rust-unicode-xid-0.1) "-C" "vendor")
2238 (invoke
2239 "tar" "xvf" #+(package-source rust-maybe-uninit-2.0) "-C" "vendor"))
8f523eb9
EF
2240 (for-each
2241 (lambda (crate)
2242 (delete-file-recursively (string-append "vendor/" (car crate)))
2243 (invoke "tar" "xvf" (cdr crate) "-C" "vendor"))
393d7214 2244 '(("aho-corasick" . #+(package-source rust-aho-corasick-0.7))
8f523eb9 2245;; alga 0.9
e19cb895
EF
2246 ("approx" . #+(package-source rust-approx-0.3))
2247 ("arrayvec" . #+(package-source rust-arrayvec-0.4))
8f523eb9 2248 ("atty" . #+(package-source rust-atty-0.2))
91f0c790 2249 ("autocfg" . #+(package-source rust-autocfg-1.0))
8f523eb9
EF
2250 ("bitflags" . #+(package-source rust-bitflags-1))
2251;; block 0.1
e19cb895
EF
2252 ("bstr" . #+(package-source rust-bstr-0.2))
2253 ("byteorder" . #+(package-source rust-byteorder-1.3))
8f523eb9
EF
2254;; cairo-rs 0.7
2255;; cairo-sys-rs 0.9
e19cb895 2256 ("cast" . #+(package-source rust-cast-0.2))
8f523eb9
EF
2257 ("cfg-if" . #+(package-source rust-cfg-if-0.1))
2258 ("clap" . #+(package-source rust-clap-2))
e19cb895
EF
2259 ("cloudabi" . #+(package-source rust-cloudabi-0.0))
2260 ("criterion" . #+(package-source rust-criterion-0.2))
2261 ("criterion-plot" . #+(package-source rust-criterion-plot-0.3))
393d7214
JS
2262 ("crossbeam-deque" . #+(package-source rust-crossbeam-deque-0.7))
2263 ("crossbeam-epoch" . #+(package-source rust-crossbeam-epoch-0.8))
2264 ("crossbeam-queue" . #+(package-source rust-crossbeam-queue-0.2))
2265 ("crossbeam-utils" . #+(package-source rust-crossbeam-utils-0.7))
8f523eb9
EF
2266;; cssparser 0.25
2267;; cssparser-macros 0.3
e19cb895
EF
2268 ("csv" . #+(package-source rust-csv-1.1))
2269 ("csv-core" . #+(package-source rust-csv-core-0.1))
8f523eb9
EF
2270;; data-url 0.1
2271;; downcast-rs 1.0
2272 ("dtoa" . #+(package-source rust-dtoa-0.4))
2273;; dtoa-short 0.3
e19cb895
EF
2274 ("either" . #+(package-source rust-either-1.5))
2275 ("encoding" . #+(package-source rust-encoding-0.2))
2276 ("encoding-index-japanese" . #+(package-source rust-encoding-index-japanese-1.20141219))
2277 ("encoding-index-korean" . #+(package-source rust-encoding-index-korean-1.20141219))
2278 ("encoding-index-simpchinese" . #+(package-source rust-encoding-index-simpchinese-1.20141219))
2279 ("encoding-index-singlebyte" . #+(package-source rust-encoding-index-singlebyte-1.20141219))
2280 ("encoding-index-tradchinese" . #+(package-source rust-encoding-index-tradchinese-1.20141219))
2281 ("encoding_index_tests" . #+(package-source rust-encoding-index-tests-0.1))
8f523eb9
EF
2282;; float-cmp 0.5
2283;; fragile 0.3
e19cb895
EF
2284 ("fuchsia-cprng" . #+(package-source rust-fuchsia-cprng-0.1))
2285 ("futf" . #+(package-source rust-futf-0.1))
8f523eb9
EF
2286;; gdk-pixbuf 0.7
2287;; gdk-pixbuf-sys 0.9
e19cb895 2288 ("generic-array" . #+(package-source rust-generic-array-0.12))
8f523eb9 2289;; gio 0.7
8d6f9168 2290 ("gio-sys" . #+(package-source rust-gio-sys-0.9))
8f523eb9 2291;; glib 0.8
8d6f9168
EF
2292 ("glib-sys" . #+(package-source rust-glib-sys-0.9))
2293 ("gobject-sys" . #+(package-source rust-gobject-sys-0.9))
393d7214 2294 ("idna" . #+(package-source rust-idna-0.2))
e19cb895 2295 ("itertools" . #+(package-source rust-itertools-0.8))
8f523eb9 2296 ("itoa" . #+(package-source rust-itoa-0.4))
e19cb895 2297 ("language-tags" . #+(package-source rust-language-tags-0.2))
21c8ec75 2298 ("lazy_static" . #+(package-source rust-lazy-static-1))
8f523eb9 2299 ("libc" . #+(package-source rust-libc-0.2))
91f0c790 2300 ("libm" . #+(package-source rust-libm-0.1))
8d6f9168 2301 ("locale_config" . #+(package-source rust-locale-config-0.3))
8f523eb9 2302 ("log" . #+(package-source rust-log-0.4))
e19cb895 2303 ("mac" . #+(package-source rust-mac-0.1))
5213b697 2304 ("malloc_buf" . #+(package-source rust-malloc-buf-0.0))
8f523eb9 2305;; markup5ever 0.9
e19cb895 2306 ("matches" . #+(package-source rust-matches-0.1))
8f523eb9 2307;; matrixmultiply 0.2
393d7214
JS
2308 ("memchr" . #+(package-source rust-memchr-2.2))
2309 ("memoffset" . #+(package-source rust-memoffset-0.5))
8f523eb9 2310;; nalgebra 0.18
e19cb895 2311 ("new_debug_unreachable" . #+(package-source rust-new-debug-unreachable-1.0))
8f523eb9 2312 ("nodrop" . #+(package-source rust-nodrop-0.1))
e19cb895 2313 ("num-complex" . #+(package-source rust-num-complex-0.2))
8f523eb9 2314 ("num-integer" . #+(package-source rust-num-integer-0.1))
5213b697 2315 ("num-rational" . #+(package-source rust-num-rational-0.2))
8f523eb9
EF
2316 ("num-traits" . #+(package-source rust-num-traits-0.2))
2317 ("num_cpus" . #+(package-source rust-num-cpus-1.10))
5213b697
EF
2318 ("objc" . #+(package-source rust-objc-0.2))
2319 ("objc-foundation" . #+(package-source rust-objc-foundation-0.1))
2320 ("objc_id" . #+(package-source rust-objc-id-0.1))
8f523eb9
EF
2321;; pango 0.7
2322;; pango-sys 0.9
2323;; pangocairo 0.8
2324;; pangocairo-sys 0.10
2325 ("percent-encoding" . #+(package-source rust-percent-encoding-2.1))
e19cb895
EF
2326 ("phf" . #+(package-source rust-phf-0.7))
2327 ("phf_codegen" . #+(package-source rust-phf-codegen-0.7))
2328 ("phf_generator" . #+(package-source rust-phf-generator-0.7))
2329 ("phf_shared" . #+(package-source rust-phf-shared-0.7))
2330 ("pkg-config" . #+(package-source rust-pkg-config-0.3))
2331 ("precomputed-hash" . #+(package-source rust-precomputed-hash-0.1))
8f523eb9
EF
2332 ("proc-macro2" . #+(package-source rust-proc-macro2-1.0))
2333;; procedural-masquerade 0.1
2334 ("quote" . #+(package-source rust-quote-1.0))
e19cb895 2335 ("rand" . #+(package-source rust-rand-0.6))
8f523eb9
EF
2336 ("rand_chacha" . #+(package-source rust-rand-chacha-0.1))
2337 ("rand_core-0.3.1" . #+(package-source rust-rand-core-0.3))
2338 ("rand_core" . #+(package-source rust-rand-core-0.4))
2339 ("rand_hc" . #+(package-source rust-rand-hc-0.1))
2340 ("rand_isaac" . #+(package-source rust-rand-isaac-0.1))
2341 ("rand_jitter" . #+(package-source rust-rand-jitter-0.1))
2342 ("rand_os" . #+(package-source rust-rand-os-0.1))
2343 ("rand_pcg" . #+(package-source rust-rand-pcg-0.1))
2344 ("rand_xorshift" . #+(package-source rust-rand-xorshift-0.1))
393d7214 2345 ("rand_xoshiro" . #+(package-source rust-rand-xoshiro-0.1))
e19cb895 2346;; rawpointer 0.2
393d7214
JS
2347 ("rayon" . #+(package-source rust-rayon-1.3))
2348 ("rayon-core" . #+(package-source rust-rayon-core-1.7))
8f523eb9
EF
2349;; rctree 0.3
2350 ("rdrand" . #+(package-source rust-rdrand-0.4))
393d7214 2351 ("regex" . #+(package-source rust-regex-1.3))
e19cb895 2352 ("regex-automata" . #+(package-source rust-regex-automata-0.1))
393d7214 2353 ("regex-syntax" . #+(package-source rust-regex-syntax-0.6))
e19cb895 2354 ("rustc_version" . #+(package-source rust-rustc-version-0.2))
8f523eb9
EF
2355 ("ryu" . #+(package-source rust-ryu-1.0))
2356 ("same-file" . #+(package-source rust-same-file-1.0))
2357 ("scopeguard" . #+(package-source rust-scopeguard-1.0))
e19cb895
EF
2358 ("semver" . #+(package-source rust-semver-0.9))
2359 ("semver-parser" . #+(package-source rust-semver-parser-0.7))
8f523eb9
EF
2360 ("serde" . #+(package-source rust-serde-1.0))
2361 ("serde_derive" . #+(package-source rust-serde-derive-1.0))
2362 ("serde_json" . #+(package-source rust-serde-json-1.0))
e19cb895
EF
2363 ("siphasher" . #+(package-source rust-siphasher-0.2))
2364 ("smallvec" . #+(package-source rust-smallvec-0.6))
2365 ("string_cache" . #+(package-source rust-string-cache-0.7))
5213b697 2366 ("string_cache_codegen" . #+(package-source rust-string-cache-codegen-0.4))
e19cb895 2367 ("string_cache_shared" . #+(package-source rust-string-cache-shared-0.3))
8f523eb9 2368 ("syn" . #+(package-source rust-syn-1.0))
e19cb895 2369 ("tendril" . #+(package-source rust-tendril-0.4))
8f523eb9 2370 ("textwrap" . #+(package-source rust-textwrap-0.11))
393d7214 2371 ("thread_local" . #+(package-source rust-thread-local-1.0))
e19cb895
EF
2372 ("tinytemplate" . #+(package-source rust-tinytemplate-1.0))
2373 ("typenum" . #+(package-source rust-typenum-1.10))
2374 ("unicode-bidi" . #+(package-source rust-unicode-bidi-0.3))
2375 ("unicode-normalization" . #+(package-source rust-unicode-normalization-0.1))
8f523eb9
EF
2376 ("unicode-width" . #+(package-source rust-unicode-width-0.1))
2377 ("unicode-xid" . #+(package-source rust-unicode-xid-0.2))
393d7214 2378 ("url" . #+(package-source rust-url-2.1))
e19cb895 2379 ("utf-8" . #+(package-source rust-utf-8-0.7))
8f523eb9
EF
2380 ("walkdir" . #+(package-source rust-walkdir-2.2))
2381 ("winapi" . #+(package-source rust-winapi-0.3))
e19cb895 2382 ("winapi-i686-pc-windows-gnu" . #+(package-source rust-winapi-i686-pc-windows-gnu-0.4))
8f523eb9 2383 ("winapi-util" . #+(package-source rust-winapi-util-0.1))
e19cb895 2384 ("winapi-x86_64-pc-windows-gnu" . #+(package-source rust-winapi-x86-64-pc-windows-gnu-0.4))
5213b697 2385 ("xml-rs" . #+(package-source rust-xml-rs-0.8)))))
8f523eb9
EF
2386 (format #t "Replacing vendored crates in the tarball and repacking ...~%")
2387 (force-output)
2388 (invoke "tar" "cfa" #$output
2389 ;; Avoid non-determinism in the archive. We set the
2390 ;; mtime of files in the archive to early 1980 because
2391 ;; the build process fails if the mtime of source
2392 ;; files is pre-1980, due to the creation of zip
2393 ;; archives.
2394 "--mtime=@315619200" ; 1980-01-02 UTC
2395 "--owner=root:0"
2396 "--group=root:0"
2397 "--sort=name"
2398 (string-append "librsvg-" #$version))
2399 #t)))))))
2400
f67417a1 2401(define-public librsvg-next
63016e7c
LC
2402 (package
2403 (name "librsvg")
3276e123 2404 (version "2.46.4")
8f523eb9 2405 (source librsvg-next-source)
63016e7c
LC
2406 (build-system gnu-build-system)
2407 (arguments
d953418a
RW
2408 `(#:configure-flags
2409 (list "--disable-static"
2410 "--enable-vala") ; needed for e.g. gnome-mines
7e0f4cb1 2411 #:make-flags '("CC=gcc")
8f523eb9 2412 #:imported-modules ,%cargo-utils-modules ;for `generate-all-checksums'
ec47c07d 2413 #:phases
b6239e45 2414 (modify-phases %standard-phases
8f523eb9 2415 (add-after 'configure 'patch-cargo-checksums
ec47c07d 2416 (lambda _
8f523eb9
EF
2417 (use-modules (guix build cargo-utils))
2418 (substitute* "librsvg/Cargo.toml"
2419 (("bitflags .*") "bitflags = \"1\"\n")) ; 1.2 is vendored
8d6f9168
EF
2420 (substitute* "rsvg_internals/Cargo.toml"
2421 (("\"=") "\""))
b665a246 2422 (generate-all-checksums "vendor")
8f523eb9
EF
2423 (delete-file "Cargo.lock")
2424 (invoke "cargo" "generate-lockfile")))
b6239e45
EF
2425 (add-before 'configure 'pre-configure
2426 (lambda* (#:key inputs #:allow-other-keys)
2427 (substitute* "gdk-pixbuf-loader/Makefile.in"
2428 ;; By default the gdk-pixbuf loader is installed under
2429 ;; gdk-pixbuf's prefix. Work around that.
2430 (("gdk_pixbuf_moduledir = .*$")
2431 (string-append "gdk_pixbuf_moduledir = "
2432 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2433 "loaders\n"))
2434 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2435 (("gdk_pixbuf_cache_file = .*$")
2436 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2437 #t))
ec47c07d 2438 (add-before 'check 'remove-failing-tests
b6239e45 2439 (lambda _
64a153bd
MW
2440 (with-directory-excursion "tests/fixtures/reftests"
2441 (for-each delete-file
ec47c07d
MB
2442 '(;; The images produced by these tests differ slightly
2443 ;; from their reference counterparts due to differences
2444 ;; in the build environment (missing fonts, etc). See
2445 ;; <tests/README.md> for details.
2446 ;; These fail on x86_64.
2447 "svg1.1/coords-viewattr-02-b.svg"
2448 "svg1.1/filters-composite-04-f.svg"
2449 "svg1.1/filters-image-01-b.svg"
2450 "svg1.1/filters-conv-02-f.svg"
2451 "svg1.1/filters-conv-04-f.svg"
2452 ;; This test fails on i686:
64a153bd 2453 "svg1.1/masking-path-04-b.svg"
64a153bd
MW
2454 ;; This test fails on armhf:
2455 "svg1.1/masking-mask-01-b.svg"
64a153bd 2456 ;; This test fails on aarch64:
ec47c07d 2457 "bugs/777834-empty-text-children.svg")))
b6239e45 2458 #t)))))
63016e7c
LC
2459 (native-inputs
2460 `(("pkg-config" ,pkg-config)
64855281
MB
2461 ;; This is the minimum supported Rust version in Librsvg 2.46.
2462 ("rust" ,rust-1.34)
2463 ("cargo" ,rust-1.34 "cargo")
d953418a 2464 ("vala" ,vala)
44add1ce 2465 ("glib" ,glib "bin") ; glib-mkenums, etc.
63016e7c
LC
2466 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2467 (inputs
2468 `(("pango" ,pango)
2469 ("libcroco" ,libcroco)
2470 ("bzip2" ,bzip2)
2471 ("libgsf" ,libgsf)
2472 ("libxml2" ,libxml2)))
2473 (propagated-inputs
2474 ;; librsvg-2.0.pc refers to all of that.
2475 `(("cairo" ,cairo)
2476 ("gdk-pixbuf" ,gdk-pixbuf)
2477 ("glib" ,glib)))
2478 (home-page "https://wiki.gnome.org/LibRsvg")
2479 (synopsis "Render SVG files using Cairo")
2480 (description
35b9e423 2481 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
63016e7c 2482library.")
cf9dad6c 2483 (license license:lgpl2.1+)))
5698b8b8
JD
2484
2485(define-public libidl
2486 (package
2487 (name "libidl")
2488 (version "0.8.14")
2489 (source (origin
2490 (method url-fetch)
80a06e62
EF
2491 (uri (string-append "mirror://gnome/sources/libIDL/"
2492 (version-major+minor version) "/"
2493 "libIDL-" version ".tar.bz2"))
5698b8b8
JD
2494 (sha256
2495 (base32
2496 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2497 (build-system gnu-build-system)
2498 (inputs `(("glib" ,glib)))
2499 (native-inputs
2500 `(("pkg-config" ,pkg-config)
b3546174 2501 ("flex" ,flex)
5698b8b8
JD
2502 ("bison" ,bison)))
2503 (home-page "http://freecode.com/projects/libidl")
2504 (synopsis "Create trees of CORBA Interface Definition Language files")
35b9e423 2505 (description "Libidl is a library for creating trees of CORBA Interface
5698b8b8
JD
2506Definition Language (idl) files, which is a specification for defining
2507portable interfaces. libidl was initially written for orbit (the orb from the
35b9e423 2508GNOME project, and the primary means of libidl distribution). However, the
2e6ecc5c 2509functionality was designed to be as reusable and portable as possible.")
ef2c55bb 2510 (properties `((upstream-name . "libIDL")))
5698b8b8
JD
2511 (license license:lgpl2.0+)))
2512
2513
2514(define-public orbit2
2515 (package
2516 (name "orbit2")
2517 (version "2.14.19")
2518 (source (origin
2519 (method url-fetch)
2e6ecc5c 2520 (uri (let ((upstream-name "ORBit2"))
a124bbd2 2521 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
2522 (version-major+minor version) "/"
2523 upstream-name "-" version ".tar.bz2")))
5698b8b8 2524 (sha256
a124bbd2
SB
2525 (base32
2526 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
5698b8b8
JD
2527 (build-system gnu-build-system)
2528 (arguments
a124bbd2 2529 `(#:configure-flags
8aad2e32
LC
2530 '(;; We don't need static libraries, plus they don't build reproducibly
2531 ;; (non-deterministic ordering of .o files in the archive.)
2532 "--disable-static"
2533
2534 ;; The programmer kindly gives us a hook to turn off deprecation
2535 ;; warnings ...
2536 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
a124bbd2
SB
2537 ;; ... which they then completly ignore !!
2538 #:phases
dc1d3cde
KK
2539 (modify-phases %standard-phases
2540 (add-before 'configure 'ignore-deprecations
2541 (lambda _
2542 (substitute* "linc2/src/Makefile.in"
2543 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2544 #t)))))
5698b8b8
JD
2545 (inputs `(("glib" ,glib)
2546 ("libidl" ,libidl)))
2547 (native-inputs
2548 `(("pkg-config" ,pkg-config)))
2549 (home-page "https://projects.gnome.org/orbit2/")
2550 (synopsis "CORBA 2.4-compliant Object Request Broker")
35b9e423 2551 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2e6ecc5c 2552featuring mature C, C++ and Python bindings.")
a124bbd2
SB
2553 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2554 ;; a version. SOME of the code files have licence notices for GPLv2+.
2555 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
892307ae
LC
2556 (license license:gpl2+)
2557 (properties `((upstream-name . "ORBit2")))))
5698b8b8
JD
2558
2559
2560(define-public libbonobo
2561 (package
2562 (name "libbonobo")
2563 (version "2.32.1")
2564 (source (origin
2565 (method url-fetch)
5becd025 2566 (uri (string-append "mirror://gnome/sources/" name "/"
29a7c98a 2567 (version-major+minor version)
5becd025 2568 "/" name "-" version ".tar.bz2"))
5698b8b8 2569 (sha256
f1fc45a9 2570 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
fc1adab1
AK
2571 (patches (search-patches
2572 "libbonobo-activation-test-race.patch"))))
5698b8b8
JD
2573 (build-system gnu-build-system)
2574 (arguments
2575 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
5becd025
EB
2576 `(#:configure-flags
2577 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2578 ;; ... which they then completly ignore !!
2579 #:phases
dc1d3cde
KK
2580 (modify-phases %standard-phases
2581 (add-before 'configure 'ignore-deprecations
2582 (lambda _
2583 (substitute* "activation-server/Makefile.in"
2584 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
994b5b1d
LC
2585 #t)))
2586
2587 ;; There's apparently a race condition between the server stub
2588 ;; generation and linking of the example under 'samples/echo' that can
2589 ;; lead do undefined references when building in parallel, as reported
2590 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2591 ;; Thus, disable parallel builds.
2592 #:parallel-build? #f))
5698b8b8
JD
2593 (inputs `(("popt" ,popt)
2594 ("libxml2" ,libxml2)))
2595 ;; The following are Required by the .pc file
44add1ce 2596 (propagated-inputs
5698b8b8
JD
2597 `(("glib" ,glib)
2598 ("orbit2" ,orbit2)))
2599 (native-inputs
2600 `(("intltool" ,intltool)
2601 ("pkg-config" ,pkg-config)
221ed17a 2602 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2603 ("flex" ,flex)
2604 ("bison" ,bison)))
2605 (home-page "https://developer.gnome.org/libbonobo/")
2606 (synopsis "Framework for creating reusable components for use in GNOME applications")
2607 (description "Bonobo is a framework for creating reusable components for
2e6ecc5c 2608use in GNOME applications, built on top of CORBA.")
5698b8b8
JD
2609 ;; Licence not explicitly stated. Source files contain no licence notices.
2610 ;; Tarball contains text of both GPLv2 and LGPLv2
2611 ;; GPLv2 covers both conditions
2612 (license license:gpl2+)))
2613
2614
2615(define-public gconf
2616 (package
2617 (name "gconf")
2618 (version "3.2.6")
2619 (source (origin
2620 (method url-fetch)
a124bbd2
SB
2621 (uri
2622 (let ((upstream-name "GConf"))
2623 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
2624 (version-major+minor version) "/"
2625 upstream-name "-" version ".tar.xz")))
5698b8b8
JD
2626 (sha256
2627 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2628 (build-system gnu-build-system)
2e88d113 2629 (inputs `(("dbus-glib" ,dbus-glib)
5698b8b8 2630 ("libxml2" ,libxml2)))
2e6ecc5c
AE
2631 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2632 ("orbit2" ,orbit2)))
5698b8b8
JD
2633 (native-inputs
2634 `(("intltool" ,intltool)
221ed17a 2635 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2636 ("pkg-config" ,pkg-config)))
2637 (home-page "https://projects.gnome.org/gconf/")
35b9e423
EB
2638 (synopsis "Store application preferences")
2639 (description "Gconf is a system for storing application preferences. It
2640is intended for user preferences; not arbitrary data storage.")
29d2f451
LC
2641 (license license:lgpl2.0+)
2642 (properties '((upstream-name . "GConf")))))
5698b8b8
JD
2643
2644
2645(define-public gnome-mime-data
2646 (package
2647 (name "gnome-mime-data")
2648 (version "2.18.0")
2649 (source (origin
2650 (method url-fetch)
b38e45d8
EB
2651 (uri (string-append "mirror://gnome/sources/" name "/"
2652 (version-major+minor version) "/"
2653 name "-" version ".tar.bz2"))
5698b8b8
JD
2654 (sha256
2655 (base32
2656 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2657 (build-system gnu-build-system)
2658 (native-inputs
2659 `(("perl" ,perl)
2660 ("intltool" ,intltool)))
3e6add96
LC
2661 (arguments
2662 '(#:phases (modify-phases %standard-phases
2663 (add-after 'configure 'use-our-intltool
2664 (lambda _
2665 ;; Do not use the bundled intltool commands, which lack
2666 ;; the "dotless @INC" fixes of our 'intltool' package.
2667 (substitute* (find-files "." "^Makefile$")
2668 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2669 (string-append "INTLTOOL_" tool " = intltool-"
2670 (string-downcase tool) "\n")))
2671 #t)))))
f032d0be 2672 (home-page "https://www.gnome.org")
35b9e423 2673 (synopsis "Base MIME and Application database for GNOME")
5698b8b8
JD
2674 (description "GNOME Mime Data is a module which contains the base MIME
2675and Application database for GNOME. The data stored by this module is
2676designed to be accessed through the MIME functions in GnomeVFS.")
2677 (license license:gpl2+)))
2678
2679
2680(define-public gnome-vfs
2681 (package
2682 (name "gnome-vfs")
2683 (version "2.24.4")
2684 (source (origin
2685 (method url-fetch)
b38e45d8
EB
2686 (uri (string-append "mirror://gnome/sources/" name "/"
2687 (version-major+minor version) "/"
2688 name "-" version ".tar.bz2"))
5698b8b8 2689 (sha256
9e12bc34
MW
2690 (base32
2691 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
5698b8b8
JD
2692 (build-system gnu-build-system)
2693 (arguments
db5127d8 2694 `(#:phases
dc1d3cde
KK
2695 (modify-phases %standard-phases
2696 (add-before 'configure 'ignore-deprecations
2697 (lambda _
2698 (substitute* '("libgnomevfs/Makefile.in"
2699 "daemon/Makefile.in")
2700 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2701 #t))
2702 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2703 (lambda _
2704 (substitute* "test/test-async-cancel.c"
2705 (("EXIT_FAILURE") "77"))
2706 #t)))))
2e6ecc5c 2707 (inputs `(("libxml2" ,libxml2)
5698b8b8 2708 ("dbus-glib" ,dbus-glib)
5698b8b8
JD
2709 ("gconf" ,gconf)
2710 ("gnome-mime-data" ,gnome-mime-data)
2711 ("zlib" ,zlib)))
2712 (native-inputs
221ed17a
EB
2713 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2714 ("intltool" ,intltool)
5698b8b8
JD
2715 ("pkg-config" ,pkg-config)))
2716 (home-page "https://developer.gnome.org/gnome-vfs/")
35b9e423 2717 (synopsis "Access files and folders in GNOME applications")
9e12bc34
MW
2718 (description
2719 "GnomeVFS is the core library used to access files and folders in GNOME
2720applications. It provides a file system abstraction which allows applications
2721to access local and remote files with a single consistent API.")
5698b8b8
JD
2722 (license license:lgpl2.0+)))
2723
2724
2725
2726(define-public libgnome
2727 (package
2728 (name "libgnome")
2729 (version "2.32.1")
2730 (source (origin
2731 (method url-fetch)
b38e45d8
EB
2732 (uri (string-append "mirror://gnome/sources/" name "/"
2733 (version-major+minor version) "/"
2734 name "-" version ".tar.bz2"))
5698b8b8
JD
2735 (sha256
2736 (base32
17c3eea7
LC
2737 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2738 (patches (search-patches "libgnome-encoding.patch"))))
5698b8b8
JD
2739 (build-system gnu-build-system)
2740 (arguments
2741 `(#:phases
dc1d3cde
KK
2742 (modify-phases %standard-phases
2743 (add-before 'configure 'enable-deprecated
2744 (lambda _
2745 (substitute* "libgnome/Makefile.in"
2746 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2747 #t)))))
25338e9f 2748 (inputs `(("libxml2" ,libxml2)))
5698b8b8 2749 (native-inputs
221ed17a
EB
2750 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2751 ("intltool" ,intltool)
5698b8b8
JD
2752 ("pkg-config" ,pkg-config)))
2753 ;; The following are listed as Required in the .pc file
2754 ;; (except for libcanberra -- which seems to be oversight on the part
2755 ;; of the upstream developers -- anything that links against libgnome,
2756 ;; must also link against libcanberra
2757 (propagated-inputs
2758 `(("libcanberra" ,libcanberra)
2759 ("libbonobo" ,libbonobo)
2760 ("gconf" ,gconf)
a640d3d5
LC
2761 ("gnome-vfs" ,gnome-vfs)
2762 ("popt" ,popt))) ;gnome-program.h includes popt.h
5698b8b8
JD
2763 (home-page "https://developer.gnome.org/libgnome/")
2764 (synopsis "Useful routines for building applications")
2765 (description "The libgnome library provides a number of useful routines
2766for building modern applications, including session management, activation of
2767files and URIs, and displaying help.")
2768 (license license:lgpl2.0+)))
2769
2770
2771(define-public libart-lgpl
2772 (package
2773 (name "libart-lgpl")
76c9b6aa 2774 (version "2.3.21")
5698b8b8
JD
2775 (source (origin
2776 (method url-fetch)
2777 (uri (let ((upstream-name "libart_lgpl"))
b38e45d8
EB
2778 (string-append "mirror://gnome/sources/" upstream-name "/"
2779 (version-major+minor version) "/"
2780 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
2781 (sha256
2782 (base32
76c9b6aa 2783 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
5698b8b8
JD
2784 (build-system gnu-build-system)
2785 (native-inputs
2786 `(("pkg-config" ,pkg-config)))
2787 (home-page "https://people.gnome.org/~mathieu/libart")
2788 (synopsis "2D drawing library")
2e6ecc5c 2789 (description "Libart is a 2D drawing library intended as a
5698b8b8
JD
2790high-quality vector-based 2D library with antialiasing and alpha composition.")
2791 (license license:lgpl2.0+)))
2792
2793
2794
2795(define-public libgnomecanvas
2796 (package
2797 (name "libgnomecanvas")
2798 (version "2.30.3")
2799 (source (origin
2800 (method url-fetch)
b38e45d8
EB
2801 (uri (string-append "mirror://gnome/sources/" name "/"
2802 (version-major+minor version) "/"
2803 name "-" version ".tar.gz"))
5698b8b8
JD
2804 (sha256
2805 (base32
2806 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2807 (build-system gnu-build-system)
2808 ;; Mentioned as Required in the .pc file
2809 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2810 ("gtk+" ,gtk+-2)))
2811 (native-inputs
2812 `(("intltool" ,intltool)
221ed17a 2813 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2814 ("pkg-config" ,pkg-config)))
2815 (home-page "https://developer.gnome.org/libgnomecanvas/")
2816 (synopsis "Flexible widget for creating interactive structured graphics")
2817 (description "The GnomeCanvas widget provides a flexible widget for
2818creating interactive structured graphics.")
2819 (license license:lgpl2.0+)))
2820
eadc734e
RW
2821(define-public libgnomecanvasmm
2822 (package
2823 (name "libgnomecanvasmm")
2824 (version "2.26.0")
2825 (source (origin
2826 (method url-fetch)
2827 (uri (string-append "mirror://gnome/sources/" name "/"
2828 (version-major+minor version) "/"
2829 name "-" version ".tar.bz2"))
2830 (sha256
2831 (base32
2832 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2833 (build-system gnu-build-system)
2834 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2835 (native-inputs
2836 `(("gtkmm-2" ,gtkmm-2)
2837 ("pkg-config" ,pkg-config)))
8e933cb3 2838 (home-page "https://gtkmm.org")
eadc734e
RW
2839 (synopsis "C++ bindings to the GNOME Canvas library")
2840 (description "C++ bindings to the GNOME Canvas library.")
2841 (license license:lgpl2.0+)))
2842
5698b8b8
JD
2843(define-public libgnomeui
2844 (package
2845 (name "libgnomeui")
2846 (version "2.24.5")
2847 (source (origin
2848 (method url-fetch)
b38e45d8
EB
2849 (uri (string-append "mirror://gnome/sources/" name "/"
2850 (version-major+minor version) "/"
2851 name "-" version ".tar.bz2"))
8fa1872a 2852 (patches (search-patches "libgnomeui-utf8.patch"))
5698b8b8
JD
2853 (sha256
2854 (base32
2855 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2856 (build-system gnu-build-system)
2857 ;; Mentioned as Required in the .pc file
0a38a497
AE
2858 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2859 ("libgnome" ,libgnome)
2860 ("libgnomecanvas" ,libgnomecanvas)
5698b8b8 2861 ("libgnome-keyring" ,libgnome-keyring)))
0a38a497 2862 (inputs `(("libjpeg" ,libjpeg)
5698b8b8
JD
2863 ("popt" ,popt)
2864 ("libbonobo" ,libbonobo)
2865 ("libxml2" ,libxml2)
2866 ("libglade" ,libglade)))
2867 (native-inputs
221ed17a
EB
2868 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2869 ("intltool" ,intltool)
5698b8b8
JD
2870 ("pkg-config" ,pkg-config)))
2871 (home-page "https://developer.gnome.org/libgnomeui/")
2872 (synopsis "Additional widgets for applications")
35b9e423 2873 (description "The libgnomeui library provides additional widgets for
e881752c
AK
2874applications. Many of the widgets from libgnomeui have already been
2875ported to GTK+.")
5698b8b8
JD
2876 (license license:lgpl2.0+)))
2877
2878(define-public libglade
2879 (package
2880 (name "libglade")
2881 (version "2.6.4")
2882 (source (origin
2883 (method url-fetch)
b38e45d8
EB
2884 (uri (string-append "mirror://gnome/sources/" name "/"
2885 (version-major+minor version) "/"
2886 name "-" version ".tar.bz2"))
5698b8b8
JD
2887 (sha256
2888 (base32
2889 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2890 (build-system gnu-build-system)
2891 (inputs
92dcc23d
AE
2892 `(("python" ,python))) ;; needed for the optional libglade-convert program
2893 (propagated-inputs
5698b8b8 2894 `(("gtk+-2" ,gtk+-2)
92dcc23d 2895 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
5698b8b8
JD
2896 (native-inputs
2897 `(("pkg-config" ,pkg-config)))
2898 (home-page "https://developer.gnome.org/libglade")
35b9e423
EB
2899 (synopsis "Load glade interfaces and access the glade built widgets")
2900 (description "Libglade is a library that provides interfaces for loading
5698b8b8
JD
2901graphical interfaces described in glade files and for accessing the
2902widgets built in the loading process.")
2903 (license license:gpl2+))) ; This is correct. GPL not LGPL
2904
2905(define-public libgnomeprint
eb497b66
LC
2906 ;; This library has been deprecated since 2006; see
2907 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
5698b8b8
JD
2908 (package
2909 (name "libgnomeprint")
d19db454 2910 (version "2.18.8")
5698b8b8
JD
2911 (source (origin
2912 (method url-fetch)
b38e45d8
EB
2913 (uri (string-append "mirror://gnome/sources/" name "/"
2914 (version-major+minor version) "/"
2915 name "-" version ".tar.bz2"))
5698b8b8
JD
2916 (sha256
2917 (base32
d19db454 2918 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
5698b8b8
JD
2919 (build-system gnu-build-system)
2920 (inputs
2921 `(("popt" ,popt)
2922 ("libart-lgpl" ,libart-lgpl)
2923 ("gtk+" ,gtk+-2)
44add1ce 2924 ("libxml2" ,libxml2)))
5698b8b8
JD
2925 (native-inputs
2926 `(("intltool" ,intltool)
221ed17a 2927 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2928 ("pkg-config" ,pkg-config)))
2929 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
35b9e423 2930 (synopsis "Printing framework for GNOME")
eb497b66
LC
2931 (description
2932 "GNOME-print was a printing framework for GNOME. It has been deprecated
2933since ca. 2006, when GTK+ itself incorporated printing support.")
5698b8b8
JD
2934 (license license:lgpl2.0+)))
2935
2936
2937(define-public libgnomeprintui
eb497b66 2938 ;; Deprecated; see libgnomeprint.
5698b8b8
JD
2939 (package
2940 (name "libgnomeprintui")
36053d7f 2941 (version "2.18.6")
5698b8b8
JD
2942 (source (origin
2943 (method url-fetch)
b38e45d8
EB
2944 (uri (string-append "mirror://gnome/sources/" name "/"
2945 (version-major+minor version) "/"
2946 name "-" version ".tar.bz2"))
5698b8b8
JD
2947 (sha256
2948 (base32
36053d7f 2949 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
5698b8b8
JD
2950 (build-system gnu-build-system)
2951 ;; Mentioned as Required in the .pc file
2952 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2953 (inputs `(("gtk+" ,gtk+-2)
2954 ("glib" ,glib)
2955 ("gnome-icon-theme" ,gnome-icon-theme)
2956 ("libgnomecanvas" ,libgnomecanvas)
2e6ecc5c 2957 ("libxml2" ,libxml2)))
5698b8b8
JD
2958 (native-inputs
2959 `(("intltool" ,intltool)
2960 ("pkg-config" ,pkg-config)))
2961 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2962 (synopsis "Printing framework for GNOME")
eb497b66 2963 (description (package-description libgnomeprint))
5698b8b8
JD
2964 (license license:lgpl2.0+)))
2965
5698b8b8
JD
2966(define-public libbonoboui
2967 (package
2968 (name "libbonoboui")
2969 (version "2.24.5")
2970 (source (origin
2971 (method url-fetch)
b38e45d8
EB
2972 (uri (string-append "mirror://gnome/sources/" name "/"
2973 (version-major+minor version) "/"
2974 name "-" version ".tar.bz2"))
5698b8b8
JD
2975 (sha256
2976 (base32
2977 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2978 (build-system gnu-build-system)
2979 (arguments
2980 `(#:phases
dc1d3cde
KK
2981 (modify-phases %standard-phases
2982 (add-before 'check 'start-xserver
2983 (lambda* (#:key inputs #:allow-other-keys)
2984 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2985 (disp ":1"))
2986
2987 (setenv "HOME" (getcwd))
2988 (setenv "DISPLAY" disp)
2989 ;; There must be a running X server and make check doesn't start one.
2990 ;; Therefore we must do it.
2991 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
5698b8b8
JD
2992 ;; Mentioned as Required by the .pc file
2993 (propagated-inputs `(("libxml2" ,libxml2)))
2994 (inputs
2995 `(("popt" ,popt)
2996 ("pangox-compat" ,pangox-compat)
2997 ("libgnome" ,libgnome)
2998 ("libgnomecanvas" ,libgnomecanvas)
2999 ("libglade" ,libglade)))
3000 (native-inputs
221ed17a
EB
3001 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
3002 ("intltool" ,intltool)
ff337525 3003 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
5698b8b8
JD
3004 ("pkg-config" ,pkg-config)))
3005 (home-page "https://developer.gnome.org/libbonoboui/")
3006 (synopsis "Some user interface controls using Bonobo")
3007 (description "The Bonobo UI library provides a number of user interface
3008controls using the Bonobo component framework.")
3009 (license license:lgpl2.0+)))
3010
fecbf86e
SB
3011(define-public libwnck
3012 (package
3013 (name "libwnck")
d3b40696 3014 (version "3.32.0")
fecbf86e
SB
3015 (source (origin
3016 (method url-fetch)
3017 (uri (string-append "mirror://gnome/sources/" name "/"
3018 (version-major+minor version) "/"
3019 name "-" version ".tar.xz"))
3020 (sha256
ad9b8987 3021 (base32
d3b40696
KK
3022 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
3023 (build-system meson-build-system)
fecbf86e
SB
3024 (native-inputs
3025 `(("pkg-config" ,pkg-config)
d3b40696
KK
3026 ("glib" ,glib "bin") ; for glib-mkenums
3027 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
fecbf86e
SB
3028 ("intltool" ,intltool)))
3029 (propagated-inputs
427476d5
SB
3030 `(("gtk+" ,gtk+)
3031 ("libxres" ,libxres)
3032 ("startup-notification" ,startup-notification)))
fecbf86e
SB
3033 (home-page "https://developer.gnome.org/libwnck/")
3034 (synopsis "Window Navigator Construction Kit")
3035 (description
3036 "Libwnck is the Window Navigator Construction Kit, a library for use in
3037writing pagers, tasklists, and more generally applications that are dealing
3038with window management. It tries hard to respect the Extended Window Manager
3039Hints specification (EWMH).")
3040 (license license:lgpl2.0+)))
3041
3042;; stable version for gtk2, required by xfwm4.
dbb7a081 3043(define-public libwnck-2
fecbf86e
SB
3044 (package (inherit libwnck)
3045 (name "libwnck")
3046 (version "2.30.7")
3047 (source (origin
3048 (method url-fetch)
3049 (uri (string-append "mirror://gnome/sources/" name "/"
3050 (version-major+minor version) "/"
3051 name "-" version ".tar.xz"))
3052 (sha256
3053 (base32
3054 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
ba7fed8e
MÁAV
3055 (build-system gnu-build-system)
3056 (native-inputs
3057 `(("pkg-config" ,pkg-config)
3058 ("intltool" ,intltool)))
fecbf86e 3059 (propagated-inputs
427476d5
SB
3060 `(("gtk+" ,gtk+-2)
3061 ("libxres" ,libxres)
3062 ("startup-notification" ,startup-notification)))))
b804c61e
JD
3063
3064(define-public goffice
3065 (package
3066 (name "goffice")
09abffcc 3067 (version "0.10.46")
b804c61e
JD
3068 (source (origin
3069 (method url-fetch)
16243f0b 3070 (uri (string-append "mirror://gnome/sources/goffice/"
b38e45d8 3071 (version-major+minor version) "/"
16243f0b 3072 "goffice-" version ".tar.xz"))
b804c61e 3073 (sha256
09abffcc 3074 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
b804c61e 3075 (build-system gnu-build-system)
72a06d3e 3076 (outputs '("out"
355420c6 3077 "doc")) ; 4.0 MiB of gtk-doc
72a06d3e
LC
3078 (arguments
3079 '(#:configure-flags (list (string-append "--with-html-dir="
3080 (assoc-ref %outputs "doc")
3081 "/share/gtk-doc/html"))))
b804c61e
JD
3082 (inputs
3083 `(("gtk+" ,gtk+)
3084 ("libgsf" ,libgsf)
3085 ("librsvg" ,librsvg)
3086 ("libxslt" ,libxslt)
3087 ("libxml2" ,libxml2)))
3088 (native-inputs
3089 `(("intltool" ,intltool)
f280cdb1 3090 ("glib" ,glib "bin")
b804c61e
JD
3091 ("pkg-config" ,pkg-config)))
3092 (home-page "https://developer.gnome.org/goffice/")
3093 (synopsis "Document-centric objects and utilities")
3094 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2e6ecc5c 3095 (license
b804c61e
JD
3096 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3097 ;; Note: NOT LGPL
3098 (list license:gpl2 license:gpl3))))
3099
c024ae36
RW
3100(define-public goffice-0.8
3101 (package (inherit goffice)
3102 (version "0.8.17")
3103 (source (origin
3104 (method url-fetch)
3105 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
3106 (version-major+minor version) "/"
3107 (package-name goffice) "-" version ".tar.xz"))
3108 (sha256
3109 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
3110 (arguments
3111 `(#:phases
dc1d3cde
KK
3112 (modify-phases %standard-phases
3113 (add-after 'unpack 'fix-pcre-check
3114 (lambda _
3115 ;; Only glib.h can be included directly. See
3116 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
3117 (substitute* "configure"
3118 (("glib/gregex\\.h") "glib.h")) #t)))
72a06d3e
LC
3119
3120 ,@(package-arguments goffice)))
c024ae36
RW
3121 (propagated-inputs
3122 ;; libgoffice-0.8.pc mentions libgsf-1
3123 `(("libgsf" ,libgsf)))
3124 (inputs
3125 `(("gtk" ,gtk+-2)
3126 ,@(alist-delete "gtk" (package-inputs goffice))))))
3127
b804c61e
JD
3128(define-public gnumeric
3129 (package
3130 (name "gnumeric")
f0517b5d 3131 (version "1.12.46")
b804c61e
JD
3132 (source (origin
3133 (method url-fetch)
b7fd0217 3134 (uri (string-append "mirror://gnome/sources/gnumeric/"
b38e45d8 3135 (version-major+minor version) "/"
b7fd0217 3136 "gnumeric-" version ".tar.xz"))
b804c61e
JD
3137 (sha256
3138 (base32
f0517b5d 3139 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
bd1b1e05 3140 (build-system glib-or-gtk-build-system)
b804c61e
JD
3141 (arguments
3142 `(;; The gnumeric developers don't worry much about failing tests.
3143 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2e6ecc5c 3144 #:tests? #f
b804c61e 3145 #:phases
7bcbd40d
EF
3146 (modify-phases %standard-phases
3147 (add-before
3148 'configure 'pre-conf
3149 (lambda* (#:key outputs #:allow-other-keys)
3150 ;; Make install tries to write into the directory of goffice
3151 ;; I am informed that this only affects the possibility to embed a
3152 ;; spreadsheet inside an Abiword document. So presumably when we
3153 ;; package Abiword we'll have to refer it to this directory.
3154 (substitute* "configure"
3155 (("^GOFFICE_PLUGINS_DIR=.*")
3156 (string-append "GOFFICE_PLUGINS_DIR="
3157 (assoc-ref outputs "out")
3158 "/goffice/plugins"))))))))
b804c61e
JD
3159 (inputs
3160 `(("glib" ,glib)
3161 ("gtk+" ,gtk+)
3162 ("goffice" ,goffice)
3163 ("libgsf" ,libgsf)
7bcbd40d 3164 ("librsvg" ,librsvg)
b804c61e 3165 ("libxml2" ,libxml2)
7bcbd40d 3166 ("libxslt" ,libxslt)
2e4c5457 3167 ("python" ,python-2)
6983ba56 3168 ("python2-pygobject" ,python2-pygobject)
b804c61e
JD
3169 ("zlib" ,zlib)))
3170 (native-inputs
6983ba56 3171 `(("bison" ,bison)
1ed398d1 3172 ("docbook-xml" ,docbook-xml)
6983ba56 3173 ("intltool" ,intltool)
3a2efbc8 3174 ("itstool" ,itstool/fixed) ;see <https://bugs.gnu.org/37468>
b9663471 3175 ("glib:bin" ,glib "bin")
b804c61e
JD
3176 ("pkg-config" ,pkg-config)))
3177 (home-page "http://www.gnumeric.org")
66672a45
LC
3178 (synopsis "Spreadsheet application")
3179 (description
3180 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
3181interoperable with other spreadsheet applications. It has a vast array of
3182features beyond typical spreadsheet functionality, such as support for linear
3183and non-linear solvers, statistical analysis, and telecommunication
3184engineering.")
3185 (license
b804c61e
JD
3186 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
3187 (list license:gpl2 license:gpl3))))
6f885c05
FB
3188
3189(define-public gnome-themes-standard
3190 (package
3191 (name "gnome-themes-standard")
0b7b8fb0 3192 (version "3.22.3")
6f885c05
FB
3193 (source
3194 (origin
3195 (method url-fetch)
2e6ecc5c 3196 (uri (string-append "mirror://gnome/sources/" name "/"
6f885c05
FB
3197 (version-major+minor version) "/" name "-"
3198 version ".tar.xz"))
3199 (sha256
3200 (base32
0b7b8fb0 3201 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
6f885c05 3202 (build-system gnu-build-system)
8ac70c7f
SB
3203 (arguments
3204 '(#:configure-flags
3205 ;; Don't create 'icon-theme.cache'.
3206 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
3207 (true (string-append coreutils "/bin/true")))
3208 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
6f885c05
FB
3209 (inputs
3210 `(("gtk+" ,gtk+)
3211 ("gtk+-2" ,gtk+-2)
3212 ("librsvg" ,librsvg)
3213 ("libxml2" ,libxml2)
3214 ("glib" ,glib)))
3215 (native-inputs
3216 `(("intltool" ,intltool)
3217 ("glib:bin" ,glib "bin")
3218 ("pkg-config" ,pkg-config)))
6f885c05
FB
3219 (home-page "https://launchpad.net/gnome-themes-standard")
3220 (synopsis "Default GNOME 3 themes")
3221 (description
3222 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
3223 (license license:lgpl2.1+)))
5a659a48 3224
df90c701
RW
3225(define-public seahorse
3226 (package
3227 (name "seahorse")
bcea3c11 3228 (version "3.32.2")
df90c701
RW
3229 (source
3230 (origin
3231 (method url-fetch)
3232 (uri (string-append "mirror://gnome/sources/" name "/"
3233 (version-major+minor version) "/" name "-"
3234 version ".tar.xz"))
3235 (sha256
3236 (base32
bcea3c11 3237 "0d8zdzmlz7fjv9xl20zl4ckidf465mvdjnbpxy3k08y9iw423q4x"))
af561664
MÁAV
3238 (patches (search-patches
3239 "seahorse-gkr-use-0-on-empty-flags.patch"))))
3240 (build-system meson-build-system)
3241 (arguments
bcea3c11
KK
3242 '(#:glib-or-gtk? #t
3243 #:phases
af561664
MÁAV
3244 (modify-phases %standard-phases
3245 (add-after 'unpack 'skip-gtk-update-icon-cache
3246 ;; Don't create 'icon-theme.cache'.
3247 (lambda _
3248 (substitute* "build-aux/meson_post_install.py"
3249 (("gtk-update-icon-cache") "true"))
3250 #t)))))
df90c701
RW
3251 (inputs
3252 `(("gtk+" ,gtk+)
3253 ("gcr" ,gcr)
34b979b9 3254 ("gnupg" ,gnupg)
df90c701 3255 ("gpgme" ,gpgme)
34b979b9 3256 ("openldap" ,openldap)
4a1bf090 3257 ("openssh" ,openssh)
af561664 3258 ("avahi" ,avahi)
bcea3c11 3259 ("libpwquality" ,libpwquality)
34b979b9
EF
3260 ("libsecret" ,libsecret)
3261 ("libsoup" ,libsoup)))
df90c701 3262 (native-inputs
af561664 3263 `(("gettext" ,gettext-minimal)
df90c701
RW
3264 ("glib:bin" ,glib "bin")
3265 ("itstool" ,itstool)
bcb354ad 3266 ("pkg-config" ,pkg-config)
af561664 3267 ("vala" ,vala)
bcb354ad 3268 ("xmllint" ,libxml2)))
bcea3c11 3269 (home-page "https://wiki.gnome.org/Apps/Seahorse")
df90c701
RW
3270 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
3271 (description
3272 "Seahorse is a GNOME application for managing encryption keys and
3273passwords in the GNOME keyring.")
3274 (license license:gpl2+)))
3275
5a659a48
SB
3276(define-public vala
3277 (package
3278 (name "vala")
2d6872f6 3279 (version "0.44.5")
5a659a48
SB
3280 (source (origin
3281 (method url-fetch)
3282 (uri (string-append "mirror://gnome/sources/" name "/"
3283 (version-major+minor version) "/"
3284 name "-" version ".tar.xz"))
3285 (sha256
3286 (base32
2d6872f6 3287 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
5a659a48 3288 (build-system gnu-build-system)
1ea90625
SB
3289 (arguments
3290 '(#:phases
3291 (modify-phases %standard-phases
f4925a4f 3292 (add-before 'check 'pre-check
1ea90625
SB
3293 (lambda _
3294 (setenv "CC" "gcc")
8839b6be
RW
3295 (substitute* "valadoc/tests/testrunner.sh"
3296 (("export PKG_CONFIG_PATH=" m)
3297 (string-append m "$PKG_CONFIG_PATH:")))
f4925a4f
SB
3298 ;; For missing '/etc/machine-id'.
3299 (setenv "DBUS_FATAL_WARNINGS" "0")
8839b6be 3300 #t)))))
5a659a48
SB
3301 (native-inputs
3302 `(("pkg-config" ,pkg-config)
3303 ("flex" ,flex)
3304 ("bison" ,bison)
3305 ("xsltproc" ,libxslt)
3306 ("dbus" ,dbus) ; for dbus tests
3307 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
8839b6be
RW
3308 (inputs
3309 `(("graphviz" ,graphviz)))
5a659a48 3310 (propagated-inputs
8839b6be 3311 `(("glib" ,glib))) ; required by libvala-0.40.pc
f032d0be 3312 (home-page "https://live.gnome.org/Vala/")
5a659a48
SB
3313 (synopsis "Compiler for the GObject type system")
3314 (description
3315 "Vala is a programming language that aims to bring modern programming
3316language features to GNOME developers without imposing any additional runtime
3317requirements and without using a different ABI compared to applications and
3318libraries written in C.")
3319 (license license:lgpl2.1+)))
ea57378f
SB
3320
3321(define-public vte
3322 (package
3323 (name "vte")
68c47474 3324 (version "0.58.3")
ea57378f
SB
3325 (source (origin
3326 (method url-fetch)
ac87ffb8 3327 (uri (string-append "mirror://gnome/sources/vte/"
ea57378f 3328 (version-major+minor version) "/"
ac87ffb8 3329 "vte-" version ".tar.xz"))
ea57378f
SB
3330 (sha256
3331 (base32
68c47474
TGR
3332 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
3333 (build-system meson-build-system)
ea57378f
SB
3334 (native-inputs
3335 `(("pkg-config" ,pkg-config)
3336 ("intltool" ,intltool)
3337 ("vala" ,vala)
3338 ("gobject-introspection" ,gobject-introspection)
68c47474 3339 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
73f0e1ab 3340 ("gperf" ,gperf)
ea57378f
SB
3341 ("xmllint" ,libxml2)))
3342 (propagated-inputs
68c47474
TGR
3343 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
3344 ("gnutls" ,gnutls) ; ditto
3345 ("pcre2" ,pcre2))) ; ditto
f032d0be 3346 (home-page "https://www.gnome.org/")
ea57378f
SB
3347 (synopsis "Virtual Terminal Emulator")
3348 (description
3349 "VTE is a library (libvte) implementing a terminal emulator widget for
3350GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
3351gnome-terminal, but can also be used to embed a console/terminal in games,
3352editors, IDEs, etc.")
3353 (license license:lgpl2.1+)))
3354
c44fb4df
MO
3355(define-public vte-ng
3356 (package
3357 (inherit vte)
3358 (name "vte-ng")
24f4fcbe 3359 (version "0.58.2.a")
afd90f8d 3360 (home-page "https://github.com/thestinger/vte-ng")
6bc00737
MB
3361 (source (origin
3362 (method git-fetch)
3363 (uri (git-reference (url home-page) (commit version)))
3364 (file-name (git-file-name name version))
3365 (sha256
3366 (base32
24f4fcbe
MB
3367 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
3368 (build-system meson-build-system)
c44fb4df
MO
3369 (native-inputs
3370 `(("gtk-doc" ,gtk-doc)
c44fb4df 3371 ,@(package-native-inputs vte)))
c44fb4df 3372 (arguments
24f4fcbe 3373 `(#:configure-flags '("-Ddocs=true")))
c44fb4df
MO
3374 (synopsis "Enhanced VTE terminal widget")
3375 (description
3376 "VTE is a library (libvte) implementing a terminal emulator widget for
3377GTK+, this fork provides additional functions exposed for keyboard text
3378selection and URL hints.")))
3379
2776d72c
EF
3380;; provides vte 2.90, required for some terminal emulators
3381;; tilda bug: https://github.com/lanoxx/tilda/issues/94
3382;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
3383;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
3384;; pantheon-terminal, roxterm are not currently packaged
3385(define-public vte-0.36
3386 (package (inherit vte)
3387 (name "vte")
3388 (version "0.36.5")
3389 (source (origin
3390 (method url-fetch)
3391 (uri (string-append "mirror://gnome/sources/" name "/"
3392 (version-major+minor version) "/"
3393 name "-" version ".tar.xz"))
3394 (sha256
3395 (base32
3396 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
3397 (propagated-inputs
3398 `(("gtk" ,gtk+)
3399 ("ncurses" ,ncurses)))))
3400
ea57378f
SB
3401;; stable version for gtk2, required by xfce4-terminal.
3402(define-public vte/gtk+-2
3403 (package (inherit vte)
3404 (name "vte")
3405 (version "0.28.2")
3406 (source (origin
3407 (method url-fetch)
3408 (uri (string-append "mirror://gnome/sources/" name "/"
3409 (version-major+minor version) "/"
3410 name "-" version ".tar.xz"))
3411 (sha256
3412 (base32
7d48938a
EF
3413 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
3414 (patches (search-patches
3415 "vte-CVE-2012-2738-pt1.patch"
3416 "vte-CVE-2012-2738-pt2.patch"))))
8eebde74 3417 (build-system gnu-build-system)
ea57378f
SB
3418 (arguments
3419 '(#:configure-flags '("--disable-python")))
3420 (native-inputs
3421 `(("pkg-config" ,pkg-config)
3422 ("intltool" ,intltool)
3423 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
3424 (propagated-inputs
3425 `(("gtk+" ,gtk+-2) ; required by libvte.pc
3426 ("ncurses" ,ncurses))))) ; required by libvte.la
b47e1b20 3427
cce0da5e
TD
3428(define-public vinagre
3429 (package
3430 (name "vinagre")
3431 (version "3.22.0")
3432 (source (origin
3433 (method url-fetch)
3434 (uri (string-append "mirror://gnome/sources/" name "/"
3435 (version-major+minor version) "/"
3436 name "-" version ".tar.xz"))
684f97f8
EF
3437 (patches (search-patches "vinagre-newer-freerdp.patch"
3438 "vinagre-newer-rdp-parameters.patch"))
cce0da5e
TD
3439 (sha256
3440 (base32
3441 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3442 (build-system glib-or-gtk-build-system)
684f97f8 3443 (arguments
7f486d25
MC
3444 ;; Disable -Werror and such, to avoid build failures on compilation
3445 ;; warnings.
3446 '(#:configure-flags '("--enable-compile-warnings=minimum")
3447 #:phases
684f97f8 3448 (modify-phases %standard-phases
1839768c
EF
3449 (add-before 'install 'skip-gtk-update-icon-cache
3450 (lambda _
3451 ;; Don't create 'icon-theme.cache'
3452 (substitute* (find-files "." "^Makefile$")
3453 (("gtk-update-icon-cache") (which "true")))
3454 #t))
684f97f8
EF
3455 (add-after 'unpack 'patch-configure
3456 (lambda _
3457 (substitute* "configure"
3458 (("freerdp") "freerdp2"))
3459 #t)))))
cce0da5e
TD
3460 (native-inputs
3461 `(("pkg-config" ,pkg-config)
3462 ("intltool" ,intltool)
3463 ("itstool" ,itstool)
1839768c 3464 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
cce0da5e
TD
3465 (inputs
3466 `(("libxml2" ,libxml2)
3467 ("gtk-vnc" ,gtk-vnc)
3468 ("gnome-keyring" ,gnome-keyring)
3469 ("libsecret" ,libsecret)
3470 ("freerdp" ,freerdp)
3471 ("spice" ,spice)
3472 ("spice-gtk" ,spice-gtk)
3473 ("telepathy-glib" ,telepathy-glib)
3474 ("vte" ,vte)))
cce0da5e
TD
3475 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3476 (synopsis "Remote desktop viewer for GNOME")
3477 (description "Vinagre is a remote display client supporting the VNC, SPICE
3478and RDP protocols.")
3479 (license license:gpl3+)))
3480
b47e1b20
FB
3481(define-public dconf
3482 (package
3483 (name "dconf")
1e33331c 3484 (version "0.32.0")
b47e1b20
FB
3485 (source (origin
3486 (method url-fetch)
3487 (uri (string-append
2e6ecc5c 3488 "mirror://gnome/sources/" name "/"
b47e1b20
FB
3489 (version-major+minor version) "/"
3490 name "-" version ".tar.xz"))
3491 (sha256
f05c809f 3492 (base32
1e33331c 3493 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
35fa923d 3494 (build-system meson-build-system)
bc036f4c
MB
3495 (propagated-inputs
3496 ;; In Requires of dconf.pc.
3497 `(("glib" ,glib)))
b47e1b20
FB
3498 (inputs
3499 `(("gtk+" ,gtk+)
bc036f4c 3500 ("dbus" ,dbus)))
b47e1b20 3501 (native-inputs
1e33331c
MB
3502 `(("bash-completion" ,bash-completion)
3503 ("libxslt" ,libxslt) ;for xsltproc
bc036f4c 3504 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
b47e1b20
FB
3505 ("docbook-xml" ,docbook-xml-4.2)
3506 ("docbook-xsl" ,docbook-xsl)
35fa923d 3507 ("glib:bin" ,glib "bin")
03676d6f 3508 ("gtk-doc" ,gtk-doc)
35fa923d
MB
3509 ("pkg-config" ,pkg-config)
3510 ("vala" ,vala)))
b47e1b20
FB
3511 (arguments
3512 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3513 ; or /etc/machine-id.
35fa923d
MB
3514 #:glib-or-gtk? #t
3515 #:configure-flags '("-Denable-gtk-doc=true")))
b47e1b20
FB
3516 (home-page "https://developer.gnome.org/dconf")
3517 (synopsis "Low-level GNOME configuration system")
3518 (description "Dconf is a low-level configuration system. Its main purpose
3519is to provide a backend to GSettings on platforms that don't already have
3520configuration storage systems.")
e20e6b40 3521 (license license:lgpl2.1+)))
109da1c0
AE
3522
3523(define-public json-glib
3524 (package
3525 (name "json-glib")
4115e8ea 3526 (version "1.4.4")
109da1c0
AE
3527 (source (origin
3528 (method url-fetch)
3529 (uri (string-append "mirror://gnome/sources/" name "/"
3530 (version-major+minor version) "/"
3531 name "-" version ".tar.xz"))
3532 (sha256
3533 (base32
4115e8ea 3534 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
98afa184 3535 (build-system meson-build-system)
109da1c0 3536 (native-inputs
98afa184
MB
3537 `(("gettext" ,gettext-minimal)
3538 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
3539 ("gobject-introspection" ,gobject-introspection)
3540 ("pkg-config" ,pkg-config)))
3541 (propagated-inputs
88c6b580 3542 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
3543 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3544 (synopsis "Compiler for the GObject type system")
7c125ce0
AK
3545 (description
3546 "JSON-GLib is a C library based on GLib providing serialization and
3547deserialization support for the JavaScript Object Notation (JSON) format
3548described by RFC 4627. It provides parser and generator GObject classes and
3549various wrappers for the complex data types employed by JSON, such as arrays
3550and objects.")
109da1c0 3551 (license license:lgpl2.1+)))
6f96a359
SB
3552
3553(define-public libxklavier
3554 (package
3555 (name "libxklavier")
5f39050b 3556 (version "5.4")
6f96a359 3557 (source (origin
5f39050b 3558 ;; Note: There's no tarball at ftp.gnome.org for this version.
3559 (method git-fetch)
3560 (uri (git-reference
3561 (url "https://anongit.freedesktop.org/git/libxklavier")
3562 (commit (string-append "libxklavier-" version))))
6f96a359
SB
3563 (sha256
3564 (base32
5f39050b 3565 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3566 (file-name (git-file-name name version))))
6f96a359
SB
3567 (build-system gnu-build-system)
3568 (arguments
5f39050b 3569 '(#:phases
3570 (modify-phases %standard-phases
3571 (add-after 'unpack 'no-configure
3572 (lambda* _
3573 (setenv "NOCONFIGURE" "1")
3574 #t)))
3575 #:configure-flags
6f96a359
SB
3576 (list (string-append "--with-xkb-base="
3577 (assoc-ref %build-inputs "xkeyboard-config")
5f39050b 3578 "/share/X11/xkb")
3579 "--disable-xmodmap-support")))
6f96a359
SB
3580 (native-inputs
3581 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3582 ("gobject-introspection" ,gobject-introspection)
5f39050b 3583 ("pkg-config" ,pkg-config)
3584 ("gtk-doc" ,gtk-doc)
3585 ("intltool" ,intltool)
3586 ("which" ,which)
3587 ("autoconf" ,autoconf)
3588 ("automake" ,automake)
3589 ("libtool" ,libtool)))
6f96a359
SB
3590 (propagated-inputs
3591 ;; Required by libxklavier.pc.
3592 `(("glib" ,glib)
3593 ("libxml2" ,libxml2)))
3594 (inputs
3595 `(("iso-codes" ,iso-codes)
3596 ("libxi" ,libxi)
3597 ("libxkbfile" ,libxkbfile)
3598 ("xkbcomp" ,xkbcomp)
3599 ("xkeyboard-config" ,xkeyboard-config)))
57e7d748 3600 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
6f96a359
SB
3601 (synopsis "High-level API for X Keyboard Extension")
3602 (description
3603 "LibXklavier is a library providing high-level API for X Keyboard
e881752c
AK
3604Extension known as XKB. This library is intended to support XFree86 and other
3605commercial X servers. It is useful for creating XKB-related software (layout
6f96a359
SB
3606indicators etc).")
3607 (license license:lgpl2.0+)))
619936a4
LC
3608
3609(define-public python2-rsvg
3610 ;; XXX: This is actually a subset of gnome-python-desktop.
3611 (package
3612 (name "python2-rsvg")
3613 (version "2.32.0")
3614 (source
3615 (origin
3616 (method url-fetch)
3617 (uri (string-append
3618 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3619 version ".tar.bz2"))
3620 (sha256
3621 (base32
3622 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3623 (build-system gnu-build-system)
3624 (native-inputs
3625 `(("pkg-config" ,pkg-config)))
3626 (inputs
3627 `(("python" ,python-2)
3628 ("python2-pygtk" ,python2-pygtk)
3629 ("librsvg" ,librsvg)))
f032d0be 3630 (home-page "https://www.gnome.org")
619936a4
LC
3631 (synopsis "Python bindings to librsvg")
3632 (description
3ad75446 3633 "This package provides Python bindings to librsvg, the SVG rendering
619936a4
LC
3634library.")
3635
3636 ;; This is the license of the rsvg bindings. The license of each module
3637 ;; of gnome-python-desktop is given in 'COPYING'.
3638 (license license:lgpl2.1+)))
a31a6d22 3639
f2ca414a
SB
3640(define-public glib-networking
3641 (package
3642 (name "glib-networking")
0d75c64d 3643 (version "2.60.3")
f2ca414a
SB
3644 (source (origin
3645 (method url-fetch)
3646 (uri (string-append "mirror://gnome/sources/glib-networking/"
3647 (version-major+minor version) "/"
fb8fe1e8 3648 "glib-networking-" version ".tar.xz"))
f2ca414a
SB
3649 (sha256
3650 (base32
0d75c64d 3651 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
65211552 3652 (build-system meson-build-system)
f2ca414a 3653 (arguments
0d75c64d 3654 `(#:configure-flags '("-Dlibproxy_support=false")))
f2ca414a
SB
3655 (native-inputs
3656 `(("pkg-config" ,pkg-config)
3657 ("intltool" ,intltool)))
3658 (inputs
3659 `(("glib" ,glib)
3660 ("gnutls" ,gnutls)
4b8f1313 3661 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
f032d0be 3662 (home-page "https://www.gnome.org")
f2ca414a
SB
3663 (synopsis "Network-related GIO modules")
3664 (description
3665 "This package contains various network related extensions for the GIO
3666library.")
3667 (license license:lgpl2.0+)))
3668
ca649680 3669(define-public rest
4510b2da 3670 (package
ca649680 3671 (name "rest")
a4194d16 3672 (version "0.8.1")
4510b2da
SB
3673 (source (origin
3674 (method url-fetch)
3675 (uri (string-append "mirror://gnome/sources/rest/"
ca649680
SB
3676 (version-major+minor version) "/"
3677 name "-" version ".tar.xz"))
4510b2da
SB
3678 (sha256
3679 (base32
a4194d16 3680 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4510b2da
SB
3681 (build-system gnu-build-system)
3682 (arguments
3683 '(#:tests? #f ; tests require internet connection
3684 #:configure-flags
3685 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3686 (native-inputs
3687 `(("glib-mkenums" ,glib "bin")
3688 ("gobject-introspection" ,gobject-introspection)
3689 ("pkg-config" ,pkg-config)))
3690 (propagated-inputs
3691 ;; rest-0.7.pc refers to all these.
3692 `(("glib" ,glib)
3693 ("libsoup" ,libsoup)
3694 ("libxml2" ,libxml2)))
24d6cc1d 3695 (home-page "https://www.gtk.org/")
4510b2da
SB
3696 (synopsis "RESTful web api query library")
3697 (description
3698 "This library was designed to make it easier to access web services that
3699claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3700libxml to ease remote use of the RESTful API.")
3701 (license license:lgpl2.1+)))
3702
6e1bb642
SB
3703(define-public libsoup
3704 (package
3705 (name "libsoup")
16af0dd9 3706 (version "2.68.4")
6e1bb642
SB
3707 (source (origin
3708 (method url-fetch)
3709 (uri (string-append "mirror://gnome/sources/libsoup/"
3710 (version-major+minor version) "/"
c1b79b36 3711 "libsoup-" version ".tar.xz"))
6e1bb642
SB
3712 (sha256
3713 (base32
16af0dd9 3714 "151j5dc84gbl6a917pxvd0b372lw5za48n63lyv6llfc48lv2l1d"))))
eccaa8bf 3715 (build-system meson-build-system)
6e1bb642
SB
3716 (outputs '("out" "doc"))
3717 (arguments
2deb146f 3718 `(#:modules ((guix build utils)
eccaa8bf 3719 (guix build meson-build-system)
2deb146f
LC
3720 (ice-9 popen))
3721
f8026a79 3722 #:configure-flags '("-Dgtk_doc=true")
6e1bb642
SB
3723 #:phases
3724 (modify-phases %standard-phases
eccaa8bf 3725 (add-after 'unpack 'adjust-tests
26c228f9 3726 (lambda _
eccaa8bf
MB
3727 ;; This test fails due to missing /etc/nsswitch.conf
3728 ;; in the build environment.
26c228f9
LC
3729 (substitute* "tests/socket-test.c"
3730 ((".*/sockets/unconnected.*") ""))
2deb146f 3731
f8026a79
MB
3732 ;; These fail because "subdomain.localhost" does not resolve in
3733 ;; the build environment.
3734 (substitute* "tests/hsts-test.c"
3735 ((".*/hsts/basic.*") "")
3736 ((".*/hsts/subdomains.*") "")
3737 ((".*/hsts/superdomain.*") "")
3738 ((".*/hsts/utf8-address.*") ""))
3739 (substitute* "tests/hsts-db-test.c"
3740 ((".*/hsts-db/subdomains.*") ""))
3741
2deb146f
LC
3742 ;; Generate a self-signed certificate that has "localhost" as its
3743 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3744 ;; 3.5.12, tests such as "ssl-tests" fail:
3745 ;;
3746 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3747 ;;
3748 ;; 'certtool' is interactive so we have to pipe it the answers.
3749 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3750 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3751 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3752 (for-each (lambda (line)
3753 (display line pipe)
3754 (newline pipe))
3755 '("" ;Common name
3756 "" ;UID
3757 "Guix" ;Organizational unit name
3758 "GNU" ;Organization name
3759 "" ;Locality name
3760 "" ;State or province
3761 "" ;Country
3762 "" ;subject's domain component (DC)
3763 "" ;E-mail
3764 "" ;serial number
3765 "-1" ;expiration time
3766 "N" ;belong to authority?
3767 "N" ;web client certificate?
3768 "N" ;IPsec IKE?
3769 "Y" ;web server certificate?
3770 "localhost" ;dnsName of subject
3771 "" ;dnsName of subject (end)
3772 "" ;URI of subject
3773 "127.0.0.1" ;IP address of subject
3774 "" ;signing?
06f5bc4e
MB
3775 "" ;encryption (RSA)?
3776 "" ;data encryption?
2deb146f
LC
3777 "" ;sign OCSP requests?
3778 "" ;sign code?
3779 "" ;time stamping?
3780 "" ;email protection?
3781 "" ;URI of the CRL distribution point
3782 "y" ;above info OK?
3783 ))
3784 (close-pipe pipe))
26c228f9 3785 #t))
eccaa8bf
MB
3786 (add-after 'install 'move-doc
3787 (lambda* (#:key outputs #:allow-other-keys)
3788 (let ((out (assoc-ref outputs "out"))
3789 (doc (assoc-ref outputs "doc")))
3790 (mkdir-p (string-append doc "/share"))
3791 (copy-recursively (string-append out "/share/gtk-doc")
3792 (string-append doc "/share/gtk-doc"))
3793 (delete-file-recursively (string-append out "/share/gtk-doc"))
3794 #t))))))
6e1bb642 3795 (native-inputs
26c228f9 3796 `(("glib:bin" ,glib "bin") ; for glib-mkenums
6e1bb642 3797 ("gobject-introspection" ,gobject-introspection)
eccaa8bf 3798 ("gtk-doc" ,gtk-doc)
6e1bb642
SB
3799 ("intltool" ,intltool)
3800 ("pkg-config" ,pkg-config)
3801 ("python" ,python-wrapper)
fd730590 3802 ("vala" ,vala)
6e1bb642
SB
3803 ;; These are needed for the tests.
3804 ;; FIXME: Add PHP once available.
3805 ("curl" ,curl)
2deb146f 3806 ("gnutls" ,gnutls) ;for 'certtool'
6e1bb642
SB
3807 ("httpd" ,httpd)))
3808 (propagated-inputs
3809 ;; libsoup-2.4.pc refers to all these.
f8026a79
MB
3810 `(("brotli" ,google-brotli)
3811 ("glib" ,glib)
249846bf 3812 ("libpsl" ,libpsl)
eccaa8bf 3813 ("libxml2" ,libxml2)
f8026a79
MB
3814 ("sqlite" ,sqlite)
3815 ("zlib" ,zlib)))
eccaa8bf
MB
3816 (inputs
3817 `(("glib-networking" ,glib-networking)
3818 ("mit-krb5" ,mit-krb5)))
6e1bb642
SB
3819 (home-page "https://live.gnome.org/LibSoup/")
3820 (synopsis "GLib-based HTTP Library")
3821 (description
3822 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3823and the GLib main loop, to integrate well with GNOME applications.")
3824 (license license:lgpl2.0+)))
3825
bba229a3
SB
3826(define-public libsecret
3827 (package
3828 (name "libsecret")
a866dd18 3829 (version "0.20.1")
bba229a3
SB
3830 (source (origin
3831 (method url-fetch)
3832 (uri (string-append
896dcbc7
EF
3833 "mirror://gnome/sources/libsecret/"
3834 (version-major+minor version) "/"
0ada4e29 3835 "libsecret-" version ".tar.xz"))
bba229a3
SB
3836 (sha256
3837 (base32
a866dd18 3838 "0ir4ynpf8b64xss1azvsi5x6697lik7hkf3z0xxa2qv2xja3xxsp"))))
bba229a3
SB
3839 (build-system gnu-build-system)
3840 (outputs '("out" "doc"))
3841 (arguments
3842 `(#:tests? #f ; FIXME: Testing hangs.
bba229a3
SB
3843 #:configure-flags
3844 (list (string-append "--with-html-dir="
3845 (assoc-ref %outputs "doc")
3846 "/share/gtk-doc/html"))))
3847 (native-inputs
c06ef010
MB
3848 `(("gettext" ,gettext-minimal)
3849 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
bba229a3 3850 ("gobject-introspection" ,gobject-introspection)
bba229a3
SB
3851 ("pkg-config" ,pkg-config)
3852 ("vala" ,vala)
3853 ("xsltproc" ,libxslt)))
3854 ;; These are needed for the tests.
3855 ;; FIXME: Add gjs once available.
3856 ;("dbus" ,dbus)
3857 ;("python2" ,python-2)
3858 ;("python2-dbus" ,python2-dbus)
3859 ;("python2-pygobject" ,python2-pygobject)
3860 ;("python2-pygobject-2" ,python2-pygobject-2)))
3861 (propagated-inputs
3862 `(("glib" ,glib))) ; required by libsecret-1.pc
3863 (inputs
3864 `(("docbook-xsl" ,docbook-xsl)
3865 ("libgcrypt" ,libgcrypt)
3866 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3867 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3868 (synopsis "GObject bindings for \"Secret Service\" API")
3869 (description
3870 "Libsecret is a GObject based library for storing and retrieving passwords
3871and other secrets. It communicates with the \"Secret Service\" using DBus.")
3872 (license license:lgpl2.1+)))
3873
b6821ee0 3874(define-public five-or-more
3875 (package
3876 (name "five-or-more")
bf782bfc 3877 (version "3.32.1")
b6821ee0 3878 (source
3879 (origin
3880 (method url-fetch)
bf782bfc 3881 (uri (string-append "mirror://gnome/sources/five-or-more/"
b6821ee0 3882 (version-major+minor version) "/"
bf782bfc 3883 "five-or-more-" version ".tar.xz"))
b6821ee0 3884 (sha256
bf782bfc 3885 (base32 "0xw05dd2dwi9vsph9h158b4n89s5k07xrh6bjz1icm0pdmjwhpgk"))))
d9795e93
KK
3886 (build-system meson-build-system)
3887 (arguments
3888 '(#:glib-or-gtk? #t
3889 #:phases
3890 (modify-phases %standard-phases
3891 (add-after 'unpack 'skip-gtk-update-icon-cache
3892 (lambda _
3893 (substitute* "meson_post_install.py"
3894 (("gtk-update-icon-cache") (which "true")))
3895 #t)))))
b6821ee0 3896 (native-inputs
3897 `(("pkg-config" ,pkg-config)
d9795e93 3898 ("appstream-glib" ,appstream-glib)
b6821ee0 3899 ("desktop-file-utils" ,desktop-file-utils)
d9795e93 3900 ("glib:bin" ,glib "bin") ; for glib-compile-resources
b6821ee0 3901 ("intltool" ,intltool)
3902 ("itstool" ,itstool)
d9795e93 3903 ("vala" ,vala)
b6821ee0 3904 ("xmllint" ,libxml2)))
3905 (inputs
3906 `(("gtk+" ,gtk+)
d9795e93 3907 ("libgnome-games-support" ,libgnome-games-support)
b6821ee0 3908 ("librsvg" ,librsvg)))
3909 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3910 (synopsis "Logic puzzle game")
3911 (description "Five or More is a game where you try to align
3912 five or more objects of the same color and shape causing them to disappear.
3913 On every turn more objects will appear, until the board is full.
3914 Try to last as long as possible.")
3915 (license license:gpl2+)))
3916
a31a6d22
SB
3917(define-public gnome-mines
3918 (package
3919 (name "gnome-mines")
2d817e41 3920 (version "3.32.2")
a31a6d22
SB
3921 (source
3922 (origin
3923 (method url-fetch)
3924 (uri (string-append "mirror://gnome/sources/" name "/"
3925 (version-major+minor version) "/"
3926 name "-" version ".tar.xz"))
3927 (sha256
3928 (base32
2d817e41 3929 "1nv966wkp2rqxzcdb76bwlbzpjqadcaqzrnkxpzwnvjjr167yx8g"))))
8c0fab36 3930 (build-system meson-build-system)
a31a6d22 3931 (arguments
2d817e41
KK
3932 '(#:glib-or-gtk? #t
3933 #:phases
a31a6d22 3934 (modify-phases %standard-phases
2d817e41
KK
3935 (add-after 'unpack 'skip-gtk-update-icon-cache
3936 (lambda _
3937 (substitute* "build-aux/meson_post_install.py"
3938 (("gtk-update-icon-cache") (which "true")))
3939 #t)))))
a31a6d22 3940 (native-inputs
8c0fab36
RW
3941 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3942 ("pkg-config" ,pkg-config)
a31a6d22
SB
3943 ("desktop-file-utils" ,desktop-file-utils)
3944 ("intltool" ,intltool)
bcb354ad 3945 ("itstool" ,itstool)
8c0fab36
RW
3946 ("vala" ,vala)
3947 ("yelp" ,yelp)
3948 ("appstream-glib" ,appstream-glib)))
a31a6d22
SB
3949 (inputs
3950 `(("gtk+" ,gtk+)
73992962 3951 ("libgnome-games-support" ,libgnome-games-support)
a31a6d22
SB
3952 ("librsvg" ,librsvg)))
3953 (home-page "https://wiki.gnome.org/Apps/Mines")
3954 (synopsis "Minesweeper game")
3955 (description
3956 "Mines (previously gnomine) is a puzzle game where you locate mines
3957floating in an ocean using only your brain and a little bit of luck.")
3958 (license license:gpl2+)))
88f70665 3959
dfc407f3
KY
3960(define-public gnome-sudoku
3961 (package
3962 (name "gnome-sudoku")
7dc728c4 3963 (version "3.32.0")
dfc407f3
KY
3964 (source
3965 (origin
3966 (method url-fetch)
3967 (uri (string-append "mirror://gnome/sources/" name "/"
3968 (version-major+minor version) "/"
3969 name "-" version ".tar.xz"))
3970 (sha256
3971 (base32
7dc728c4
KK
3972 "1wwdjflw1lbx3cv6gvqcgp5jnjkrq37ld6mjbjj03g3vr90qaf0l"))))
3973 (build-system meson-build-system)
3974 (arguments
3975 '(#:glib-or-gtk? #t
3976 #:phases
3977 (modify-phases %standard-phases
3978 (add-after 'unpack 'skip-gtk-update-icon-cache
3979 (lambda _
3980 (substitute* "build-aux/post_install.py"
3981 (("gtk-update-icon-cache") (which "true")))
3982 #t)))))
dfc407f3
KY
3983 (native-inputs
3984 `(("pkg-config" ,pkg-config)
3985 ("desktop-file-utils" ,desktop-file-utils)
7dc728c4 3986 ("glib:bin" ,glib "bin") ; for glib-compile-resources
dfc407f3
KY
3987 ("intltool" ,intltool)
3988 ("itstool" ,itstool)
7dc728c4 3989 ("vala" ,vala)
dfc407f3
KY
3990 ("xmllint" ,libxml2)))
3991 (inputs
3992 `(("gtk+" ,gtk+)
3993 ("json-glib" ,json-glib)
3994 ("libgee" ,libgee)
3995 ("librsvg" ,librsvg)
3996 ("qqwing" ,qqwing)))
3997 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3998 (synopsis "Japanese logic game")
3999 (description
4000 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
4001GNOME Sudoku is meant to have an interface as simple and unobstrusive as
4002possible while still providing features that make playing difficult Sudoku
4003more fun.")
4004 (license license:gpl2+)))
4005
88f70665
AW
4006(define-public gnome-terminal
4007 (package
4008 (name "gnome-terminal")
7dee3942 4009 (version "3.32.2")
88f70665
AW
4010 (source
4011 (origin
4012 (method url-fetch)
4013 (uri (string-append "mirror://gnome/sources/" name "/"
4014 (version-major+minor version) "/"
4015 name "-" version ".tar.xz"))
4016 (sha256
4017 (base32
7dee3942 4018 "0shhpnagasyp1kxgjczfrivcxbgrrl3y8lzvp1z101m67h4jp6km"))))
88f70665
AW
4019 (build-system glib-or-gtk-build-system)
4020 (arguments
4021 '(#:configure-flags
4022 (list "--disable-migration" "--disable-search-provider"
4023 "--without-nautilus-extension")
4024 #:phases
4025 (modify-phases %standard-phases
3a4de6b2 4026 (add-before 'configure 'patch-/bin/true
88f70665
AW
4027 (lambda _
4028 (substitute* "configure"
4029 (("/bin/true") (which "true"))))))))
4030 (native-inputs
4031 `(("pkg-config" ,pkg-config)
4032 ("desktop-file-utils" ,desktop-file-utils)
4033 ("intltool" ,intltool)
bcb354ad
SB
4034 ("itstool" ,itstool)
4035 ("xmllint" ,libxml2)))
68702167
MW
4036 (propagated-inputs
4037 `(("dconf" ,dconf)))
88f70665
AW
4038 (inputs
4039 `(("gtk+" ,gtk+)
4040 ("vte" ,vte)
4041 ("gnutls" ,gnutls)
88f70665
AW
4042 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4043 ("util-linux" ,util-linux)
4044 ("vala" ,vala)))
4045 (home-page "https://wiki.gnome.org/Apps/Terminal")
4046 (synopsis "Terminal emulator")
4047 (description
4048 "GNOME Terminal is a terminal emulator application for accessing a
4049UNIX shell environment which can be used to run programs available on
4050your system.
4051
4052It supports several profiles, multiple tabs and implements several
4053keyboard shortcuts.")
4054 (license license:gpl3+)))
75016d07
AW
4055
4056(define-public colord
4057 (package
4058 (name "colord")
f98be942 4059 (version "1.4.4")
75016d07
AW
4060 (source
4061 (origin
4062 (method url-fetch)
5cc3096c 4063 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
d21778aa 4064 "colord-" version ".tar.xz"))
75016d07 4065 (sha256
f98be942 4066 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
a68544a8 4067 (build-system meson-build-system)
75016d07 4068 (arguments
a68544a8
RW
4069 '(;; FIXME: One test fails:
4070 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
4071 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
4072 ;; application/x-zerosize
75016d07 4073 #:tests? #f
a68544a8
RW
4074 #:glib-or-gtk? #t
4075 #:configure-flags (list "-Dlocalstatedir=/var"
75016d07 4076 ;; No dep on systemd.
a68544a8 4077 "-Dsystemd=false"
75016d07
AW
4078 ;; Wants to install to global completion dir;
4079 ;; punt.
a68544a8 4080 "-Dbash_completion=false"
a68544a8
RW
4081 "-Ddaemon_user=colord"
4082 "-Dsane=true"
dac26e22 4083 "-Dvapi=true"
6f20e2dc 4084 ;; Requires spotread.
a68544a8 4085 "-Dargyllcms_sensor=false"
6f20e2dc 4086 ;; TODO: Requires docbook2x.
a68544a8 4087 "-Dman=false")
75016d07
AW
4088 #:phases
4089 (modify-phases %standard-phases
a68544a8
RW
4090 (add-before 'configure 'patch-build-system
4091 (lambda* (#:key outputs #:allow-other-keys)
4092 (substitute* "rules/meson.build"
4093 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
4094 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
2a1f3e3f
LC
4095 #t))
4096 (add-before 'configure 'set-sqlite3-file-name
4097 (lambda* (#:key inputs #:allow-other-keys)
4098 ;; "colormgr dump" works by invoking the "sqlite3" command.
4099 ;; Record its absolute file name.
4100 (let ((sqlite (assoc-ref inputs "sqlite")))
4101 (substitute* "client/cd-util.c"
4102 (("\"sqlite3\"")
4103 (string-append "\"" sqlite "/bin/sqlite3\"")))
4104 #t))))))
75016d07 4105 (native-inputs
6f20e2dc 4106 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
2536027c 4107 ("gettext" ,gettext-minimal)
75016d07 4108 ("gobject-introspection" ,gobject-introspection)
a68544a8 4109 ("gtk-doc" ,gtk-doc)
dac26e22
TGR
4110 ("pkg-config" ,pkg-config)
4111 ("vala" ,vala)))
65cb2d61
SB
4112 (propagated-inputs
4113 ;; colord.pc refers to all these.
4114 `(("glib" ,glib)
6f20e2dc
TGR
4115 ("lcms" ,lcms)
4116 ("udev" ,eudev)))
75016d07 4117 (inputs
65cb2d61 4118 `(("dbus-glib" ,dbus-glib)
a68544a8 4119 ("gusb" ,gusb)
80c7dd1a 4120 ("libgudev" ,libgudev)
75016d07 4121 ("libusb" ,libusb)
75016d07 4122 ("polkit" ,polkit)
a68544a8 4123 ("python" ,python-wrapper)
6f20e2dc 4124 ("sqlite" ,sqlite)
4c928743 4125 ("sane-backends" ,sane-backends)))
57e7d748 4126 (home-page "https://www.freedesktop.org/software/colord/")
75016d07
AW
4127 (synopsis "Color management service")
4128 (description "Colord is a system service that makes it easy to manage,
4129install and generate color profiles to accurately color manage input and
4130output devices.")
4131 (license license:gpl2+)))
7b2abd00
AW
4132
4133(define-public geoclue
4134 (package
4135 (name "geoclue")
50e96d25 4136 (version "2.5.5")
7b2abd00
AW
4137 (source
4138 (origin
4139 (method url-fetch)
50e96d25
MB
4140 (uri
4141 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
4142 version "/geoclue-" version ".tar.bz2"))
7b2abd00
AW
4143 (sha256
4144 (base32
50e96d25 4145 "1b7jqrsn4x7mxjxj8hvb2dl2cmhrpb9vibs4rvkkanky5nsx3sai"))
fc1adab1 4146 (patches (search-patches "geoclue-config.patch"))))
50e96d25 4147 (build-system meson-build-system)
7b2abd00 4148 (arguments
50e96d25 4149 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
7b2abd00
AW
4150 (native-inputs
4151 `(("pkg-config" ,pkg-config)
758798a9 4152 ("gobject-introspection" ,gobject-introspection)
50e96d25
MB
4153 ("modem-manager" ,modem-manager)
4154 ("libnotify" ,libnotify)
4155 ("gtk-doc", gtk-doc)
7b2abd00
AW
4156 ("intltool" ,intltool)))
4157 (inputs
54e911bc 4158 `(("avahi" ,avahi)
50e96d25
MB
4159 ("glib:bin" ,glib "bin")
4160 ("glib-networking" ,glib-networking)
7b2abd00
AW
4161 ("json-glib" ,json-glib)
4162 ("libsoup" ,libsoup)))
50e96d25 4163 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
7b2abd00
AW
4164 (synopsis "Geolocation service")
4165 (description "Geoclue is a D-Bus service that provides location
4166information. The primary goal of the Geoclue project is to make creating
4167location-aware applications as simple as possible, while the secondary goal is
4168to ensure that no application can access location information without explicit
e881752c 4169permission from user.")
7b2abd00 4170 (license license:gpl2+)))
2bfe7437
AW
4171
4172(define-public geocode-glib
4173 (package
4174 (name "geocode-glib")
65de725f 4175 (version "3.26.1")
2bfe7437
AW
4176 (source (origin
4177 (method url-fetch)
4178 (uri (string-append "mirror://gnome/sources/geocode-glib/"
4179 (version-major+minor version) "/"
d485cdc0 4180 "geocode-glib-" version ".tar.xz"))
2bfe7437
AW
4181 (sha256
4182 (base32
65de725f 4183 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
a7dd0c02 4184 (build-system meson-build-system)
2bfe7437 4185 (arguments
a7dd0c02
RW
4186 `(#:phases
4187 (modify-phases %standard-phases
4188 ;; The tests require a bunch of locales.
4189 (add-before 'check 'set-locales
4190 (lambda* (#:key inputs #:allow-other-keys)
4191 (setenv "GUIX_LOCPATH"
4192 (string-append (assoc-ref inputs "glibc-locales")
4193 "/lib/locale"))
4194 #t)))))
2bfe7437
AW
4195 (native-inputs
4196 `(("glib:bin" ,glib "bin") ; for glib-mkenums
a7dd0c02
RW
4197 ("glibc-locales" ,glibc-locales) ; for tests
4198 ("gettext" ,gettext-minimal)
2bfe7437 4199 ("gobject-introspection" ,gobject-introspection)
a7dd0c02 4200 ("gtk-doc" ,gtk-doc)
2bfe7437
AW
4201 ("pkg-config" ,pkg-config)
4202 ("json-glib" ,json-glib)))
4203 (propagated-inputs
4204 ;; geocode-glib-1.0.pc refers to GIO.
4205 `(("glib" ,glib)))
4206 (inputs
4207 `(("libsoup" ,libsoup)))
4208 (home-page "https://github.com/GNOME/geocode-glib/")
4209 (synopsis "Geocoding and reverse-geocoding library")
4210 (description
4211 "geocode-glib is a convenience library for geocoding (finding longitude,
4212and latitude from an address) and reverse geocoding (finding an address from
4213coordinates) using the Nominatim service. geocode-glib caches requests for
4214faster results and to avoid unnecessary server load.")
4215 (license license:lgpl2.0+)))
a1d5bb0e
AW
4216
4217(define-public upower
4218 (package
4219 (name "upower")
df45af90 4220 (version "0.99.11")
a1d5bb0e
AW
4221 (source (origin
4222 (method url-fetch)
df45af90 4223 (uri (string-append "https://upower.freedesktop.org/releases/"
9ec54965 4224 "upower-" version ".tar.xz"))
a1d5bb0e
AW
4225 (sha256
4226 (base32
df45af90 4227 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5dc6d5ce
LC
4228 (patches (search-patches "upower-builddir.patch"))
4229 (modules '((guix build utils)))
4230 (snippet
4231 '(begin
4232 ;; Upstream commit
4233 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
4234 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
4235 ;; 'dbus-configuration-directory' in (gnu services dbus)
4236 ;; expects it in etc/. Thus, move it back to its previous
4237 ;; location.
4238 (substitute* "src/Makefile.in"
4239 (("^dbusconfdir =.*$")
4240 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
4241 #t))))
a1d5bb0e
AW
4242 (build-system glib-or-gtk-build-system)
4243 (arguments
4244 '( ;; The tests want to contact the system bus, which can't be done in the
4245 ;; build environment. The integration test can run, but the last of
4246 ;; the up-self-tests doesn't. Disable tests for now.
4247 #:tests? #f
4248 #:configure-flags (list "--localstatedir=/var"
4249 (string-append "--with-udevrulesdir="
4250 (assoc-ref %outputs "out")
9ec54965 4251 "/lib/udev/rules.d"))))
a1d5bb0e 4252 (native-inputs
ebeabe2d
SB
4253 `(("gobject-introspection" ,gobject-introspection)
4254 ("pkg-config" ,pkg-config)
a1d5bb0e 4255 ("intltool" ,intltool)
55409295
LC
4256 ("python" ,python)
4257
4258 ;; For man pages.
4259 ("libxslt" ,libxslt) ;for 'xsltproc'
4260 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
4261 ("docbook-xsl" ,docbook-xsl)))
a1d5bb0e 4262 (inputs
ea226291
SB
4263 `(("dbus-glib" ,dbus-glib)
4264 ("libgudev" ,libgudev)
a1d5bb0e 4265 ("libusb" ,libusb)))
d7a503fc
MB
4266 (propagated-inputs
4267 ;; In Requires of upower-glib.pc.
4268 `(("glib" ,glib)))
57e7d748 4269 (home-page "https://upower.freedesktop.org/")
a1d5bb0e
AW
4270 (synopsis "System daemon for managing power devices")
4271 (description
4272 "UPower is an abstraction for enumerating power devices,
4273listening to device events and querying history and statistics. Any
4274application or service on the system can access the org.freedesktop.UPower
4275service via the system message bus.")
4276 (license license:gpl2+)))
6a180f6f
AW
4277
4278(define-public libgweather
4279 (package
4280 (name "libgweather")
794ce8ea 4281 (version "3.28.3")
6a180f6f
AW
4282 (source (origin
4283 (method url-fetch)
4284 (uri (string-append "mirror://gnome/sources/" name "/"
4285 (version-major+minor version) "/"
4286 name "-" version ".tar.xz"))
4287 (sha256
4288 (base32
794ce8ea 4289 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
cf6cbc34 4290 (build-system meson-build-system)
6a180f6f 4291 (arguments
cf6cbc34
RW
4292 `(#:tests? #f ; one of two tests requires network access
4293 #:configure-flags
4294 `(,(string-append "-Dzoneinfo_dir="
b6072e6b 4295 (assoc-ref %build-inputs "tzdata")
cf6cbc34 4296 "/share/zoneinfo"))))
6a180f6f
AW
4297 (native-inputs
4298 `(("glib:bin" ,glib "bin") ; for glib-mkenums
b6072e6b 4299 ("gobject-introspection" ,gobject-introspection)
6a180f6f 4300 ("pkg-config" ,pkg-config)
1d3fcf94 4301 ("vala" ,vala)
6a180f6f
AW
4302 ("intltool" ,intltool)))
4303 (propagated-inputs
4304 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
4305 ;; libsoup.
4306 `(("gtk+" ,gtk+)
4307 ("gdk-pixbuf" ,gdk-pixbuf)
4308 ("libxml2" ,libxml2)
cf6cbc34 4309 ("libsoup" ,libsoup)
6a180f6f 4310 ("geocode-glib" ,geocode-glib)))
cf6cbc34
RW
4311 (inputs
4312 `(("tzdata" ,tzdata)))
6a180f6f
AW
4313 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
4314 (synopsis "Location, time zone, and weather library for GNOME")
4315 (description
4316 "libgweather is a library to access weather information from online
4317services for numerous locations.")
4318 (license license:gpl2+)))
23a22af6
AW
4319
4320(define-public gnome-settings-daemon
4321 (package
4322 (name "gnome-settings-daemon")
4be0719f 4323 (version "3.32.1")
23a22af6
AW
4324 (source
4325 (origin
4326 (method url-fetch)
4327 (uri (string-append "mirror://gnome/sources/" name "/"
4328 (version-major+minor version) "/"
4329 name "-" version ".tar.xz"))
4330 (sha256
4331 (base32
4be0719f 4332 "02d0s0g2mmqfib44r3sf0499r08p61s8l2ndsjssbam1bi7x2dks"))))
e644f9fa 4333 (build-system meson-build-system)
23a22af6 4334 (arguments
e644f9fa
RW
4335 `(#:glib-or-gtk? #t
4336 #:configure-flags
4337 (list (string-append "-Dudev_dir="
4338 (assoc-ref %outputs "out")
4d0e085b
RW
4339 "/lib/udev/rules.d/")
4340 ;; Otherwise, the RUNPATH will lack the final path component.
4341 (string-append "-Dc_link_args=-Wl,-rpath="
4342 (assoc-ref %outputs "out")
4343 "/lib/gnome-settings-daemon-3.0"))
e644f9fa 4344 ;; Color management test can't reach the colord system service.
23a22af6
AW
4345 #:tests? #f))
4346 (native-inputs
e644f9fa
RW
4347 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4348 ("pkg-config" ,pkg-config)
23a22af6
AW
4349 ("intltool" ,intltool)
4350 ("xsltproc" ,libxslt)
4351 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4352 ("docbook-xml" ,docbook-xml-4.2)
4353 ("docbook-xsl" ,docbook-xsl)))
4354 (inputs
e644f9fa
RW
4355 `(("alsa-lib" ,alsa-lib)
4356 ("colord" ,colord)
ea226291 4357 ("libgudev" ,libgudev)
23a22af6
AW
4358 ("upower" ,upower)
4359 ("polkit" ,polkit)
4360 ("pulseaudio" ,pulseaudio)
4361 ("libcanberra" ,libcanberra)
4362 ("libx11" ,libx11)
4363 ("libxtst" ,libxtst)
4364 ("lcms" ,lcms)
4365 ("libnotify" ,libnotify)
4366 ("geoclue" ,geoclue)
4367 ("geocode-glib" ,geocode-glib)
4368 ("libgweather" ,libgweather)
4369 ("gnome-desktop" ,gnome-desktop)
4370 ("nss" ,nss)
4371 ("cups" ,cups)
ec2b1921
AW
4372 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4373 ("libwacom" ,libwacom)
4374 ("librsvg" ,librsvg)
eee7878f 4375 ("xf86-input-wacom" ,xf86-input-wacom)
e644f9fa 4376 ("wayland" ,wayland)
eee7878f 4377 ("network-manager" ,network-manager)))
f032d0be 4378 (home-page "https://www.gnome.org")
23a22af6
AW
4379 (synopsis "GNOME settings daemon")
4380 (description
4381 "This package contains the daemon responsible for setting the various
4382parameters of a GNOME session and the applications that run under it. It
4383handles settings such keyboard layout, shortcuts, and accessibility, clipboard
4384settings, themes, mouse settings, and startup of other daemons.")
4385 (license license:gpl2+)))
1e7464a9
DH
4386
4387(define-public totem-pl-parser
4388 (package
4389 (name "totem-pl-parser")
77425f04 4390 (version "3.26.3")
1e7464a9
DH
4391 (source (origin
4392 (method url-fetch)
e980cbe9
MW
4393 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
4394 (version-major+minor version) "/"
1e7464a9
DH
4395 "totem-pl-parser-" version ".tar.xz"))
4396 (sha256
4397 (base32
77425f04 4398 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
1e9b19dd 4399 (build-system meson-build-system)
1e7464a9
DH
4400 (arguments
4401 ;; FIXME: Tests require gvfs.
4402 `(#:tests? #f))
4403 (native-inputs
4404 `(("intltool" ,intltool)
4405 ("glib" ,glib "bin")
4d6d8281 4406 ("gobject-introspection" ,gobject-introspection)
1e7464a9 4407 ("pkg-config" ,pkg-config)))
22a6ad6a 4408 (propagated-inputs
1e7464a9
DH
4409 `(("glib" ,glib)
4410 ("gmime" ,gmime)
1e9b19dd
RW
4411 ("libarchive" ,libarchive)
4412 ("libgcrypt" ,libgcrypt)
22a6ad6a
MW
4413 ("libxml2" ,libxml2)))
4414 (inputs
0a6e9e13 4415 `(("libsoup" ,libsoup)))
1e7464a9
DH
4416 (home-page "https://projects.gnome.org/totem")
4417 (synopsis "Library to parse and save media playlists for GNOME")
4418 (description "Totem-pl-parser is a GObjects-based library to parse and save
4419playlists in a variety of formats.")
4420 (license license:lgpl2.0+)))
4421
6b888eff
SB
4422(define-public aisleriot
4423 (package
4424 (name "aisleriot")
36ed9b46 4425 (version "3.22.9")
6b888eff
SB
4426 (source (origin
4427 (method url-fetch)
e43f622a 4428 (uri (string-append "mirror://gnome/sources/aisleriot/"
6b888eff 4429 (version-major+minor version) "/"
e43f622a 4430 "aisleriot-" version ".tar.xz"))
6b888eff
SB
4431 (sha256
4432 (base32
36ed9b46 4433 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
6b888eff
SB
4434 (build-system glib-or-gtk-build-system)
4435 (arguments
4436 '(#:configure-flags
4437 '("--with-platform=gtk-only"
4438 "--with-card-theme-formats=svg")))
4439 (native-inputs
4440 `(("desktop-file-utils" ,desktop-file-utils)
4441 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4442 ("intltool" ,intltool)
4443 ("itstool" ,itstool)
4444 ("pkg-config" ,pkg-config)
4445 ("xmllint" ,libxml2)))
4446 (inputs
4447 `(("gtk+" ,gtk+)
226e57d6 4448 ("guile" ,guile-2.2)
6b888eff
SB
4449 ("libcanberra" ,libcanberra)
4450 ("librsvg" ,librsvg)))
4451 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4452 (synopsis "Solitaire card games")
4453 (description
4454 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4455which are easy to play with the aid of a mouse.")
4456 (license license:gpl3+)))
4a79e256 4457
f828d05b
KK
4458(define-public amtk
4459 (package
4460 (name "amtk")
0e08ca14 4461 (version "5.0.2")
f828d05b
KK
4462 (source (origin
4463 (method url-fetch)
bf92ba6b 4464 (uri (string-append "mirror://gnome/sources/amtk/"
f828d05b 4465 (version-major+minor version) "/"
bf92ba6b 4466 "amtk-" version ".tar.xz"))
f828d05b
KK
4467 (sha256
4468 (base32
0e08ca14 4469 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
f828d05b
KK
4470 (build-system gnu-build-system)
4471 (arguments
4472 '(#:configure-flags '("--enable-gtk-doc")))
4473 (native-inputs
4474 `(("gobject-introspection" ,gobject-introspection)
09c4e43f 4475 ("glib:bin" ,glib "bin") ; for glib-mkenums
f828d05b
KK
4476 ("gtk-doc" ,gtk-doc)
4477 ("pkg-config" ,pkg-config)))
4478 (inputs
4479 `(("glib" ,glib)
4480 ("gtk+" ,gtk+)))
4481 (home-page "https://wiki.gnome.org/Projects/Amtk")
4482 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4483 (description
4484 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4485It is a basic GtkUIManager replacement based on GAction. It is suitable for
4486both a traditional UI or a modern UI with a GtkHeaderBar.")
4487 (license license:lgpl2.1+)))
4488
4a79e256
SB
4489(define-public devhelp
4490 (package
4491 (name "devhelp")
20db7a3d 4492 (version "3.32.0")
4a79e256
SB
4493 (source (origin
4494 (method url-fetch)
4495 (uri (string-append "mirror://gnome/sources/" name "/"
4496 (version-major+minor version) "/"
4497 name "-" version ".tar.xz"))
4498 (sha256
4499 (base32
20db7a3d 4500 "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq"))))
11d28bd9 4501 (build-system meson-build-system)
35407f94 4502 (arguments
20db7a3d
KK
4503 '(#:glib-or-gtk? #t
4504 #:phases
35407f94
EF
4505 (modify-phases %standard-phases
4506 (add-after 'unpack 'skip-gtk-update-icon-cache
4507 ;; Don't create 'icon-theme.cache'.
4508 (lambda _
4509 (substitute* "meson_post_install.py"
4510 (("gtk-update-icon-cache") "true"))
4511 #t)))))
4a79e256
SB
4512 (native-inputs
4513 `(("intltool" ,intltool)
5dd12afc 4514 ("itstool" ,itstool)
11d28bd9
KK
4515 ("gobject-introspection" ,gobject-introspection)
4516 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4a79e256
SB
4517 ("pkg-config" ,pkg-config)))
4518 (inputs
11d28bd9
KK
4519 `(("amtk" ,amtk)
4520 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4a79e256
SB
4521 ("webkitgtk" ,webkitgtk)))
4522 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4523 (synopsis "API documentation browser for GNOME")
4524 (description
4525 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4526natively with GTK-Doc (the API reference system developed for GTK+ and used
4527throughout GNOME for API documentation).")
4528 (license license:gpl2+)))
ba421ab7
MW
4529
4530(define-public cogl
4531 (package
4532 (name "cogl")
54c69ae1 4533 (version "1.22.4")
ba421ab7
MW
4534 (source
4535 (origin
4536 (method url-fetch)
5754f0cf 4537 (uri (string-append "mirror://gnome/sources/cogl/"
ba421ab7 4538 (version-major+minor version) "/"
5754f0cf 4539 "cogl-" version ".tar.xz"))
ba421ab7 4540 (sha256
54c69ae1 4541 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
a88d5a0c
MW
4542 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4543 ;; cogl, corresponding changes may be appropriate in mutter as well.
ba421ab7
MW
4544 (build-system gnu-build-system)
4545 (native-inputs
4546 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4547 ("gobject-introspection" ,gobject-introspection)
4548 ;;("xorg-server" ,xorg-server) ; for the test suite
4549 ("pkg-config" ,pkg-config)))
4550 (propagated-inputs
4551 `(("glib" ,glib)
4552 ("gdk-pixbuf" ,gdk-pixbuf)
4553 ("libx11" ,libx11)
4554 ("libxext" ,libxext)
4555 ("libxfixes" ,libxfixes)
4556 ("libxdamage" ,libxdamage)
4557 ("libxcomposite" ,libxcomposite)
4558 ("libxrandr" ,libxrandr)))
4559 (inputs
4560 `(("mesa" ,mesa)
4561 ("cairo" ,cairo)
4562 ("pango" ,pango)
4563 ("gstreamer" ,gstreamer)
31860852
KK
4564 ("gst-plugins-base" ,gst-plugins-base)
4565 ("wayland" ,wayland)))
ba421ab7
MW
4566 (arguments
4567 `(#:configure-flags (list "--enable-cogl-gst"
31860852
KK
4568 "--enable-wayland-egl-platform"
4569 "--enable-wayland-egl-server"
4570
ba421ab7
MW
4571 ;; Arrange to pass an absolute file name to
4572 ;; dlopen for libGL.so.
4573 (string-append "--with-gl-libname="
4574 (assoc-ref %build-inputs "mesa")
4575 "/lib/libGL.so"))
4576 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4577 ;; _FontTransOpen: Unable to Parse address
4578 ;; ${prefix}/share/fonts/X11/misc/
4579 #:tests? #f
4580 #; #:phases
4581 #;
4582 (modify-phases %standard-phases
4583 (add-before 'check 'start-xorg-server
4584 (lambda* (#:key inputs #:allow-other-keys)
4585 ;; The test suite requires a running X server.
4586 (system (format #f "~a/bin/Xvfb :1 &"
4587 (assoc-ref inputs "xorg-server")))
4588 (setenv "DISPLAY" ":1")
4589 #t)))))
89b49245 4590 (home-page "https://www.cogl3d.org")
ba421ab7
MW
4591 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4592 (description
4593 "Cogl is a small library for using 3D graphics hardware to draw pretty
4594pictures. The API departs from the flat state machine style of OpenGL and is
4595designed to make it easy to write orthogonal components that can render
4596without stepping on each others toes.")
4597 (license (list license:expat ; most of the code
4598 license:bsd-3 ; cogl/cogl-point-in-poly.c
4599 license:sgifreeb2.0 ; cogl-path/tesselator/
4600 license:asl2.0)))) ; examples/android/
fb182b8a
MW
4601
4602(define-public clutter
4603 (package
4604 (name "clutter")
6a88e4ee 4605 (version "1.26.2")
fb182b8a
MW
4606 (source
4607 (origin
4608 (method url-fetch)
4609 (uri (string-append "mirror://gnome/sources/" name "/"
4610 (version-major+minor version) "/"
4611 name "-" version ".tar.xz"))
4612 (sha256
4613 (base32
6a88e4ee 4614 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
a88d5a0c
MW
4615 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4616 ;; to clutter, corresponding changes may be appropriate in mutter as well.
fb182b8a 4617 (build-system gnu-build-system)
600233bd
LC
4618 (outputs '("out"
4619 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
4620 (native-inputs
4621 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4622 ("gobject-introspection" ,gobject-introspection)
4623 ("pkg-config" ,pkg-config)
4624 ("xsltproc" ,libxslt)))
4625 (propagated-inputs
4626 `(("cogl" ,cogl)
4627 ("cairo" ,cairo)
4628 ("atk" ,atk)
4629 ("gtk+" ,gtk+)
4630 ("json-glib" ,json-glib)
4631 ("glib" ,glib)
4632 ("libxcomposite" ,libxcomposite)
4633 ("libxdamage" ,libxdamage)
4634 ("libxext" ,libxext)
4635 ("xinput" ,xinput)))
4636 (inputs
4637 `(("libxkbcommon" ,libxkbcommon)
4638 ("udev" ,eudev)))
4639 (arguments
600233bd
LC
4640 `(#:configure-flags (list "--enable-x11-backend=yes"
4641
4642 ;; This produces share/doc/{clutter,cally}.
4643 (string-append "--with-html-dir="
4644 (assoc-ref %outputs "doc")
4645 "/share/doc"))
fb182b8a
MW
4646 ;; XXX FIXME: Get test suite working. It would probably fail in the
4647 ;; same way the cogl tests fail, since clutter is based on cogl.
4648 #:tests? #f))
4649 (home-page "http://www.clutter-project.org")
476af713 4650 (synopsis "OpenGL-based interactive canvas library")
fb182b8a 4651 (description
476af713 4652 "Clutter is an OpenGL-based interactive canvas library, designed for
fb182b8a
MW
4653creating fast, mainly 2D single window applications such as media box UIs,
4654presentations, kiosk style applications and so on.")
4655 (license license:lgpl2.0+)))
bf7f17ba
MW
4656
4657(define-public clutter-gtk
4658 (package
4659 (name "clutter-gtk")
5d1a3219 4660 (version "1.8.4")
bf7f17ba
MW
4661 (source
4662 (origin
4663 (method url-fetch)
4664 (uri (string-append "mirror://gnome/sources/" name "/"
4665 (version-major+minor version) "/"
4666 name "-" version ".tar.xz"))
4667 (sha256
4668 (base32
5d1a3219 4669 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
bf7f17ba
MW
4670 (build-system gnu-build-system)
4671 (native-inputs
4672 `(("pkg-config" ,pkg-config)
4673 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
4674 (propagated-inputs
4675 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
4676 `(("clutter" ,clutter)
4677 ("gtk+" ,gtk+)))
4678 (home-page "http://www.clutter-project.org")
476af713 4679 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
bf7f17ba 4680 (description
476af713 4681 "Clutter is an OpenGL-based interactive canvas library, designed for
bf7f17ba
MW
4682creating fast, mainly 2D single window applications such as media box UIs,
4683presentations, kiosk style applications and so on.")
4684 (license license:lgpl2.0+)))
86d6a893
MW
4685
4686(define-public clutter-gst
4687 (package
4688 (name "clutter-gst")
ba07ac19 4689 (version "3.0.27")
86d6a893
MW
4690 (source
4691 (origin
4692 (method url-fetch)
f010f89b 4693 (uri (string-append "mirror://gnome/sources/clutter-gst/"
86d6a893 4694 (version-major+minor version) "/"
f010f89b 4695 "clutter-gst-" version ".tar.xz"))
86d6a893 4696 (sha256
ba07ac19 4697 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
86d6a893
MW
4698 (build-system gnu-build-system)
4699 (native-inputs
ba07ac19 4700 `(("glib:bin" ,glib "bin") ; for glib-mkenums
86d6a893
MW
4701 ("pkg-config" ,pkg-config)
4702 ("gobject-introspection" ,gobject-introspection)))
4703 (inputs
4704 `(("clutter" ,clutter)
4705 ("gstreamer" ,gstreamer)
4706 ("gst-plugins-base" ,gst-plugins-base)))
4707 (home-page "http://www.clutter-project.org")
4708 (synopsis "Integration library for using GStreamer with Clutter")
4709 (description
4710 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4711It provides a GStreamer sink to upload frames to GL and an actor that
476af713
TGR
4712implements the ClutterGstPlayer interface using playbin. Clutter is an
4713OpenGL-based interactive canvas library.")
86d6a893 4714 (license license:lgpl2.0+)))
607a04ae 4715
30dc88d9
LC
4716(define-public libchamplain
4717 (package
4718 (name "libchamplain")
5564b2c5 4719 (version "0.12.16")
30dc88d9
LC
4720 (source (origin
4721 (method url-fetch)
4722 (uri (string-append
4723 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4724 version ".tar.xz"))
4725 (sha256
4726 (base32
5564b2c5 4727 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
30dc88d9 4728 (build-system gnu-build-system)
f7c6833f
LF
4729 (arguments '(#:configure-flags '("--enable-vala")))
4730 (native-inputs
4731 `(("gobject-introspection" ,gobject-introspection)
4732 ("pkg-config" ,pkg-config)
4733 ("vala" ,vala)))
30dc88d9
LC
4734 (propagated-inputs
4735 `(("libsoup" ,libsoup)
4736 ("sqlite" ,sqlite)
4737 ("clutter" ,clutter)
4738 ("clutter-gtk" ,clutter-gtk)
4739 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4740 ("cairo" ,cairo)
4741 ("gtk+3" ,gtk+)
4742 ("glib" ,glib)))
f032d0be 4743 (home-page "https://projects.gnome.org/libchamplain/")
30dc88d9
LC
4744 (synopsis "C library providing a ClutterActor to display maps")
4745 (description
4746 "libchamplain is a C library providing a ClutterActor to display maps.
4747It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4748and Perl bindings are also available. It supports numerous free map sources
4749such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4750 (license license:lgpl2.1+)))
4751
607a04ae
MW
4752(define-public gom
4753 (package
4754 (name "gom")
0510440b 4755 (version "0.3.2")
607a04ae
MW
4756 (source
4757 (origin
4758 (method url-fetch)
6c8a0b6f 4759 (uri (string-append "mirror://gnome/sources/gom/"
607a04ae 4760 (version-major+minor version) "/"
6c8a0b6f 4761 "gom-" version ".tar.xz"))
607a04ae
MW
4762 (sha256
4763 (base32
0510440b 4764 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
607a04ae
MW
4765 (build-system gnu-build-system)
4766 (native-inputs
4767 `(("intltool" ,intltool)
4768 ("pkg-config" ,pkg-config)
4769 ("gobject-introspection" ,gobject-introspection)))
4770 (inputs
4771 `(("glib" ,glib)
4772 ("gdk-pixbuf" ,gdk-pixbuf)
4773 ("sqlite" ,sqlite)))
4774 ;; XXX TODO: Figure out how to run the test suite.
4775 (arguments `(#:tests? #f))
4776 (home-page "https://wiki.gnome.org/Projects/Gom")
4777 (synopsis "Object mapper from GObjects to SQLite")
4778 (description
4779 "Gom provides an object mapper from GObjects to SQLite. It helps you
4780write applications that need to store structured data as well as make complex
4781queries upon that data.")
4782 (license license:lgpl2.1+)))
b7a3cf11 4783
865aacc9 4784(define-public libgnome-games-support
f09520db 4785 (package
865aacc9 4786 (name "libgnome-games-support")
4c6d15cf 4787 (version "1.4.4")
f09520db
SB
4788 (source (origin
4789 (method url-fetch)
2d8dca9d 4790 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
f09520db 4791 (version-major+minor version) "/"
2d8dca9d 4792 "libgnome-games-support-" version ".tar.xz"))
f09520db
SB
4793 (sha256
4794 (base32
4c6d15cf 4795 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
f09520db
SB
4796 (build-system gnu-build-system)
4797 (arguments
4798 '(#:phases
4799 (modify-phases %standard-phases
4800 (add-before 'check 'pre-check
4801 (lambda _
865aacc9 4802 ;; Tests require a writable HOME.
f09520db
SB
4803 (setenv "HOME" (getcwd))
4804 #t)))))
4805 (native-inputs
4806 `(("intltool" ,intltool)
4807 ("pkg-config" ,pkg-config)
4808 ("vala" ,vala)))
4809 (propagated-inputs
865aacc9 4810 ;; Required by libgnome-games-support-1.0.pc
f09520db
SB
4811 `(("gtk+" ,gtk+)
4812 ("libgee" ,libgee)))
4813 (home-page "https://www.gnome.org/")
4814 (synopsis "Useful functionality shared among GNOME games")
4815 (description
865aacc9 4816 "libgnome-games-support is a small library intended for internal use by
f09520db
SB
4817GNOME Games, but it may be used by others.")
4818 (license license:lgpl3+)))
4819
b7a3cf11
SB
4820(define-public gnome-klotski
4821 (package
4822 (name "gnome-klotski")
c1e419c4 4823 (version "3.32.0")
b7a3cf11
SB
4824 (source (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
c1e419c4
KK
4831 "1p4s15gxj6gasix22z9vlx2yrx196fvcxr6v6qrl569idfgjbi72"))))
4832 (build-system meson-build-system)
4833 (arguments
4834 '(#:glib-or-gtk? #t
4835 #:phases
4836 (modify-phases %standard-phases
4837 (add-after 'unpack 'skip-gtk-update-icon-cache
4838 ;; Don't create 'icon-theme.cache'.
4839 (lambda _
4840 (substitute* "build-aux/meson_post_install.py"
4841 (("gtk-update-icon-cache") (which "true")))
4842 #t)))))
b7a3cf11
SB
4843 (native-inputs
4844 `(("desktop-file-utils" ,desktop-file-utils)
c1e419c4 4845 ("glib:bin" ,glib "bin") ; for glib-compile-resources
b7a3cf11
SB
4846 ("intltool" ,intltool)
4847 ("itstool" ,itstool)
bcb354ad 4848 ("pkg-config" ,pkg-config)
c1e419c4 4849 ("vala" ,vala)
bcb354ad 4850 ("xmllint" ,libxml2)))
b7a3cf11
SB
4851 (inputs
4852 `(("gtk+" ,gtk+)
f4eae76f 4853 ("libgnome-games-support" ,libgnome-games-support)
b7a3cf11
SB
4854 ("librsvg" ,librsvg)))
4855 (home-page "https://wiki.gnome.org/Apps/Klotski")
4856 (synopsis "Sliding block puzzles")
4857 (description
4858 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4859the patterned block to the area bordered by green markers. To do so, you will
4860need to slide other blocks out of the way. Complete each puzzle in as few moves
4861as possible!")
4862 (license license:gpl2+)))
8d4791bf
MW
4863
4864(define-public grilo
4865 (package
4866 (name "grilo")
a865e938 4867 (version "0.3.10")
8d4791bf
MW
4868 (source
4869 (origin
4870 (method url-fetch)
4871 (uri (string-append "mirror://gnome/sources/" name "/"
4872 (version-major+minor version) "/"
4873 name "-" version ".tar.xz"))
4874 (sha256
4875 (base32
a865e938 4876 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
d48d4c98 4877 (build-system meson-build-system)
8d4791bf
MW
4878 (native-inputs
4879 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4880 ("intltool" ,intltool)
4881 ("pkg-config" ,pkg-config)
d48d4c98
KK
4882 ("gobject-introspection" ,gobject-introspection)
4883 ("gtk-doc" ,gtk-doc)
4884 ("vala" ,vala)))
8d4791bf 4885 (inputs
6d7273a0
KK
4886 `(("cyrus-sasl" ,cyrus-sasl)
4887 ("glib" ,glib)
8d4791bf
MW
4888 ("gtk+" ,gtk+)
4889 ("libxml2" ,libxml2)
6d7273a0 4890 ("liboauth" ,liboauth)
8d4791bf
MW
4891 ("libsoup" ,libsoup)
4892 ("totem-pl-parser" ,totem-pl-parser)))
8d4791bf
MW
4893 (native-search-paths
4894 (list (search-path-specification
4895 (variable "GRL_PLUGIN_PATH")
4896 (files (list (string-append "lib/grilo-"
4897 (version-major+minor version)))))))
d48d4c98 4898 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
8d4791bf
MW
4899 (synopsis "Framework for discovering and browsing media")
4900 (description
4901 "Grilo is a framework focused on making media discovery and browsing easy
4902for application developers.")
4903 (license license:lgpl2.1+)))
7b212526
MW
4904
4905(define-public grilo-plugins
4906 (package
4907 (name "grilo-plugins")
281f6b3a 4908 (version "0.3.10")
7b212526
MW
4909 (source
4910 (origin
4911 (method url-fetch)
4912 (uri (string-append "mirror://gnome/sources/" name "/"
4913 (version-major+minor version) "/"
4914 name "-" version ".tar.xz"))
4915 (sha256
4916 (base32
281f6b3a
RG
4917 "0jldaixc4kzycn5v8ixkjld1n0z3dp0l1p3vchgdwpvdvc7kcfw0"))))
4918 (build-system meson-build-system)
7b212526 4919 (native-inputs
281f6b3a
RG
4920 `(("gettext" ,gettext-minimal)
4921 ("glib:bin" ,glib "bin")
4922 ("gtk+:bin" ,gtk+ "bin")
7b212526
MW
4923 ("itstool" ,itstool)
4924 ("pkg-config" ,pkg-config)))
281f6b3a 4925 ;; TODO: ahavi, gstreamer
7b212526
MW
4926 (inputs
4927 `(("grilo" ,grilo)
281f6b3a
RG
4928 ;("gmime" ,gmime) ; unused
4929 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7b212526 4930 ("gom" ,gom)
281f6b3a
RG
4931 ;("gssdp" ,gssdp) ; unused
4932 ;("gupnp" ,gupnp) ; unused
4933 ;("gupnp-av" ,gupnp-av) ; unused
7b212526
MW
4934 ("json-glib" ,json-glib)
4935 ("avahi" ,avahi)
281f6b3a
RG
4936 ("libgdata" ,libgdata)
4937 ("libmediaart" ,libmediaart)
4938 ;("librest" ,rest) ; unused
7b212526 4939 ("libsoup" ,libsoup)
281f6b3a
RG
4940 ("totam-pl-parser" ,totem-pl-parser)
4941 ("tracker" ,tracker))) ; unused because it's too old
7b212526 4942 (arguments
281f6b3a
RG
4943 `(#:glib-or-gtk? #t
4944 ;;Disable lua-factory as it needs missing dependencies
4945 #:configure-flags '("-Denable-lua-factory=no")))
f032d0be 4946 (home-page "https://live.gnome.org/Grilo")
7b212526
MW
4947 (synopsis "Plugins for the Grilo media discovery library")
4948 (description
4949 "Grilo is a framework focused on making media discovery and browsing easy
281f6b3a
RG
4950for application developers. This package provides plugins for common media
4951discovery protocols.")
7b212526 4952 (license license:lgpl2.1+)))
4e3fc547
MW
4953
4954(define-public totem
4955 (package
4956 (name "totem")
995ef5ea 4957 (version "3.32.1")
4e3fc547
MW
4958 (source
4959 (origin
4960 (method url-fetch)
4961 (uri (string-append "mirror://gnome/sources/" name "/"
4962 (version-major+minor version) "/"
4963 name "-" version ".tar.xz"))
4964 (sha256
4965 (base32
995ef5ea 4966 "0yra8apc7smpwf7d1k8crhrm8d4wix24ds6i9yxbch1v11jnhr3v"))))
7ad81b8b 4967 (build-system meson-build-system)
4e3fc547
MW
4968 (native-inputs
4969 `(("pkg-config" ,pkg-config)
4970 ("desktop-file-utils" ,desktop-file-utils)
4971 ("gobject-introspection" ,gobject-introspection)
7ad81b8b 4972 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4e3fc547 4973 ("intltool" ,intltool)
bcb354ad 4974 ("itstool" ,itstool)
995ef5ea
KK
4975 ("xmllint" ,libxml2)
4976 ("python-pylint" ,python-pylint)
4977 ("xorg-server" ,xorg-server-for-tests)))
4e3fc547
MW
4978 (propagated-inputs
4979 `(("dconf" ,dconf)))
4980 (inputs
4981 `(("gtk+" ,gtk+)
4982 ("gdk-pixbuf" ,gdk-pixbuf)
4983 ("atk" ,atk)
4984 ("cairo" ,cairo)
4985 ("dbus-glib" ,dbus-glib)
4986 ("clutter" ,clutter)
4987 ("clutter-gtk" ,clutter-gtk)
4988 ("clutter-gst" ,clutter-gst)
6a6db57f 4989 ("xorgproto" ,xorgproto)
4e3fc547
MW
4990 ("libxxf86vm" ,libxxf86vm)
4991 ("libxtst" ,libxtst)
4992 ("libxrandr" ,libxrandr)
4993 ("libxml2" ,libxml2)
4994 ("libsoup" ,libsoup)
4995 ("libpeas" ,libpeas)
4996 ("librsvg" ,librsvg)
4997 ("lirc" ,lirc)
4998 ("gnome-desktop" ,gnome-desktop)
4999 ("gstreamer" ,gstreamer)
5000 ("gst-plugins-base" ,gst-plugins-base)
5001 ("gst-plugins-good" ,gst-plugins-good)
5002 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5003 ("adwaita-icon-theme" ,adwaita-icon-theme)
d7b63ba9 5004 ("python" ,python)
995ef5ea 5005 ("python-pygobject" ,python-pygobject)
4e3fc547
MW
5006 ("totem-pl-parser" ,totem-pl-parser)
5007 ("grilo" ,grilo)
5008 ("grilo-plugins" ,grilo-plugins)
4e3fc547
MW
5009 ("vala" ,vala)))
5010 (arguments
7ad81b8b
LC
5011 `(#:glib-or-gtk? #t
5012
5013 ;; Disable automatic GStreamer plugin installation via PackageKit and
ec5c24f9 5014 ;; all that.
7ad81b8b 5015 #:configure-flags '("-D" "enable-easy-codec-installation=no"
a388c951
LC
5016
5017 ;; Do not build .a files for the plugins, it's
5018 ;; completely useless. This saves 2 MiB.
7ad81b8b 5019 "--default-library" "shared")
ec5c24f9 5020 #:phases
4e3fc547 5021 (modify-phases %standard-phases
d51b19ad
EF
5022 (add-after 'unpack 'skip-gtk-update-icon-cache
5023 ;; Don't create 'icon-theme.cache'.
5024 (lambda _
5025 (substitute* "meson_post_install.py"
5026 (("gtk-update-icon-cache") "true"))
5027 #t))
6368eb39
DM
5028 (add-before
5029 'install 'disable-cache-generation
5030 (lambda _
5031 (setenv "DESTDIR" "/")
5032 #t))
995ef5ea
KK
5033 (add-before
5034 'check 'pre-check
5035 (lambda _
5036 ;; Tests require a running X server.
5037 (system "Xvfb :1 &")
5038 (setenv "DISPLAY" ":1")
5039 #t))
4e3fc547
MW
5040 (add-after
5041 'install 'wrap-totem
5042 (lambda* (#:key inputs outputs #:allow-other-keys)
5043 (let ((out (assoc-ref outputs "out"))
5044 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
5045 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
5046 (wrap-program (string-append out "/bin/totem")
5047 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
39c853bd
AW
5048 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
5049 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
5050 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4e3fc547
MW
5051 #t)))))
5052 (home-page "https://wiki.gnome.org/Apps/Videos")
5053 (synopsis "Simple media player for GNOME based on GStreamer")
5054 (description "Totem is a simple yet featureful media player for GNOME
5055which can read a large number of file formats.")
5056 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
5057 ;; to be used and distributed together with GStreamer and Totem. See
5058 ;; file://COPYING in the source distribution for details.
5059 (license license:gpl2+)))
f0afb0c8
DH
5060
5061(define-public rhythmbox
5062 (package
5063 (name "rhythmbox")
eda580c0 5064 (version "3.4.4")
f0afb0c8
DH
5065 (source (origin
5066 (method url-fetch)
2588693d 5067 (uri (string-append "mirror://gnome/sources/rhythmbox/"
f0afb0c8 5068 (version-major+minor version) "/"
2588693d 5069 "rhythmbox-" version ".tar.xz"))
f0afb0c8
DH
5070 (sha256
5071 (base32
eda580c0 5072 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
f0afb0c8
DH
5073 (build-system glib-or-gtk-build-system)
5074 (arguments
5075 `(#:configure-flags
5076 (list "--enable-lirc"
5077 "--enable-python"
5078 "--enable-vala"
5079 "--with-brasero"
5080 "--with-gudev"
5081 "--with-libsecret")
5082 #:phases
5083 (modify-phases %standard-phases
5084 (add-after
5085 'install 'wrap-rhythmbox
5086 (lambda* (#:key inputs outputs #:allow-other-keys)
5087 (let ((out (assoc-ref outputs "out"))
5088 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5089 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
349cef58
TGR
5090 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
5091 (python-path (getenv "PYTHONPATH")))
f0afb0c8
DH
5092 (wrap-program (string-append out "/bin/rhythmbox")
5093 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5094 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
349cef58
TGR
5095 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
5096 `("PYTHONPATH" ":" prefix (,python-path))))
f0afb0c8
DH
5097 #t)))))
5098 (propagated-inputs
5099 `(("dconf" ,dconf)))
5100 (native-inputs
bcb354ad
SB
5101 `(("itstool" ,itstool)
5102 ("intltool" ,intltool)
f0afb0c8
DH
5103 ("glib" ,glib "bin")
5104 ("gobject-introspection" ,gobject-introspection)
5105 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
5106 ("pkg-config" ,pkg-config)
5107 ("xmllint" ,libxml2)))
f0afb0c8
DH
5108 (inputs
5109 `(("json-glib" ,json-glib)
5110 ("tdb" ,tdb)
5111 ("gnome-desktop" ,gnome-desktop)
5112 ("python" ,python)
5113 ("python-pygobject" ,python2-pygobject)
5114 ("vala" ,vala)
5115 ("gmime" ,gmime)
f0afb0c8
DH
5116 ("adwaita-icon-theme" ,adwaita-icon-theme)
5117 ("grilo" ,grilo)
5118 ("grilo-plugins" ,grilo-plugins)
5119 ("gstreamer" ,gstreamer)
5120 ("gst-plugins-base" ,gst-plugins-base)
5121 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 5122 ("totem-pl-parser" ,totem-pl-parser)
ea226291 5123 ("libgudev" ,libgudev)
f0afb0c8
DH
5124 ;;("libmtp" ,libmtp) FIXME: Not detected
5125 ("libsecret" ,libsecret)
5126 ("libsoup" ,libsoup)
5127 ("libnotify" ,libnotify)
5128 ("libpeas" ,libpeas)
5129 ("lirc" ,lirc)
5130 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
5131 ;;("clutter" ,clutter)
5132 ;;("clutter-gtk" ,clutter-gtk)
5133 ;;("clutter-gst" ,clutter-gst)
5134 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5135 ("atk" ,atk)
5136 ("pango" ,pango)
5137 ("gtk+" ,gtk+)
5138 ;; TODO:
5139 ;; * libgpod
5140 ;; * mx
f0afb0c8
DH
5141 ("brasero" ,brasero)))
5142 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
5143 (synopsis "Music player for GNOME")
5144 (description "Rhythmbox is a music playing application for GNOME. It
5145supports playlists, song ratings, and any codecs installed through gstreamer.")
5146 (license license:gpl2+)))
f70d8383
DH
5147
5148(define-public eog
5149 (package
5150 (name "eog")
b0f24a82 5151 (version "3.32.2")
f70d8383
DH
5152 (source (origin
5153 (method url-fetch)
5154 (uri (string-append "mirror://gnome/sources/" name "/"
5155 (version-major+minor version) "/"
5156 name "-" version ".tar.xz"))
5157 (sha256
5158 (base32
b0f24a82 5159 "1bcxpqgzlk2cy4wfb3b5h66mhpj2fhrk1rrb5qqcv5xrr62ik5xy"))))
61fb581f 5160 (build-system meson-build-system)
f70d8383 5161 (arguments
34c44a34
RW
5162 `(#:configure-flags
5163 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
5164 (list (string-append "-Dc_link_args=-Wl,-rpath="
5165 (assoc-ref %outputs "out") "/lib/eog"))
5166 #:phases
f70d8383 5167 (modify-phases %standard-phases
7a034665
EF
5168 (add-after 'unpack 'skip-gtk-update-icon-cache
5169 ;; Don't create 'icon-theme.cache'.
5170 (lambda _
5171 (substitute* "meson_post_install.py"
5172 (("gtk-update-icon-cache") "true"))
5173 #t))
61fb581f
RW
5174 (add-after 'install 'wrap-eog
5175 (lambda* (#:key outputs #:allow-other-keys)
5176 (let ((out (assoc-ref outputs "out"))
5177 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5178 (wrap-program (string-append out "/bin/eog")
5179 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5180 #t)))))
f70d8383
DH
5181 (propagated-inputs
5182 `(("dconf" ,dconf)))
5183 (native-inputs
5184 `(("intltool" ,intltool)
b3546174 5185 ("itstool" ,itstool)
f70d8383
DH
5186 ("glib" ,glib "bin")
5187 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
5188 ("pkg-config" ,pkg-config)
5189 ("xmllint" ,libxml2)))
f70d8383
DH
5190 (inputs
5191 `(("gnome-desktop" ,gnome-desktop)
5192 ("shared-mime-info" ,shared-mime-info)
5193 ("adwaita-icon-theme" ,adwaita-icon-theme)
5194 ("exempi" ,exempi)
5195 ("lcms" ,lcms)
5196 ("libexif" ,libexif)
5197 ("libpeas" ,libpeas)
5198 ("libjpeg" ,libjpeg)
5199 ("librsvg" ,librsvg)
5200 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5201 ("gtk+" ,gtk+)))
5202 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
5203 (synopsis "GNOME image viewer")
5204 (description "Eye of GNOME is the GNOME image viewer. It
5205supports image conversion, rotation, and slideshows.")
5206 (license license:gpl2+)))
41af5e7b 5207
0c3f8cb8
LC
5208(define-public eog-plugins
5209 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
5210 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
5211 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
5212 ;; 'XDG_DATA_DIRS' appropriately set.
5213 (package
5214 (name "eog-plugins")
54b74cc6 5215 (version "3.26.4")
0c3f8cb8
LC
5216 (source (origin
5217 (method url-fetch)
f3b88ed2 5218 (uri (string-append "mirror://gnome/sources/eog-plugins/"
0c3f8cb8 5219 (version-major+minor version) "/"
f3b88ed2 5220 "eog-plugins-" version ".tar.xz"))
0c3f8cb8
LC
5221 (sha256
5222 (base32
54b74cc6 5223 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
0c3f8cb8
LC
5224 (build-system gnu-build-system)
5225 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
5226 (synopsis "Extensions for the Eye of GNOME image viewer")
5227 (native-inputs
5228 `(("pkg-config" ,pkg-config)
5229 ("gettext" ,gnu-gettext)))
5230 (inputs
5231 `(("eog" ,eog)
5232 ("glib" ,glib)
5233 ("gtk+" ,gtk+)
5234 ("libpeas" ,libpeas)
5235 ("libexif" ,libexif)
5236 ("libchamplain" ,libchamplain)))
5237 (description
5238 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
5239notably:
5240
5241@itemize
5242@item @dfn{EXIF Display}, which displays camera (EXIF) information;
5243@item @dfn{Map}, which displays a map of where the picture was taken on the
5244side panel;
5245@item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
5246@end itemize\n")
5247
5248 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
5249 ;; long suspicious byte stream that goes to a
5250 ;; ".gresource.eog_postasa_plugin" ELF section.
5251 (license license:gpl2+)))
5252
41af5e7b
SB
5253(define-public libgudev
5254 (package
5255 (name "libgudev")
b78f5118 5256 (version "232")
41af5e7b
SB
5257 (source (origin
5258 (method url-fetch)
5259 (uri (string-append "mirror://gnome/sources/" name "/"
5260 version "/" name "-" version ".tar.xz"))
5261 (sha256
5262 (base32
b78f5118 5263 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
41af5e7b 5264 (build-system gnu-build-system)
b78f5118
RW
5265 (arguments
5266 '(#:configure-flags
5267 ;; umockdev depends on libgudev.
5268 (list "--disable-umockdev")))
41af5e7b
SB
5269 (native-inputs
5270 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5271 ("gobject-introspection" ,gobject-introspection)
5272 ("pkg-config" ,pkg-config)))
5273 (propagated-inputs
5274 `(("glib" ,glib))) ; required by gudev-1.0.pc
5275 (inputs
5276 `(("udev" ,eudev)))
5277 (home-page "https://wiki.gnome.org/Projects/libgudev")
5278 (synopsis "GObject bindings for libudev")
5279 (description
5280 "This library provides GObject bindings for libudev. It was originally
5281part of udev-extras, then udev, then systemd. It's now a project on its own.")
5282 (license license:lgpl2.1+)))
3dc8828f
SB
5283
5284(define-public gvfs
5285 (package
5286 (name "gvfs")
12fe4846 5287 (version "1.40.1")
3dc8828f
SB
5288 (source (origin
5289 (method url-fetch)
1d68eb32 5290 (uri (string-append "mirror://gnome/sources/gvfs/"
3dc8828f 5291 (version-major+minor version) "/"
1d68eb32 5292 "gvfs-" version ".tar.xz"))
3dc8828f
SB
5293 (sha256
5294 (base32
12fe4846 5295 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
e762d943 5296 (build-system meson-build-system)
3dc8828f 5297 (arguments
e762d943
RW
5298 '(#:glib-or-gtk? #t
5299 #:configure-flags
5300 (list "-Dsystemduserunitdir=no"
5301 "-Dtmpfilesdir=no"
5302 ;; Otherwise, the RUNPATH will lack the final path component.
5303 (string-append "-Dc_link_args=-Wl,-rpath="
5304 (assoc-ref %outputs "out") "/lib/gvfs"))))
3dc8828f
SB
5305 (native-inputs
5306 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
0ab9f949
RW
5307 ("gettext" ,gettext-minimal)
5308 ("gtk-doc" ,gtk-doc)
3dc8828f
SB
5309 ("pkg-config" ,pkg-config)
5310 ("xsltproc" ,libxslt)))
5311 (inputs
5312 `(("avahi" ,avahi)
5313 ("docbook-xml" ,docbook-xml-4.2)
5314 ("docbook-xsl" ,docbook-xsl)
5315 ("dbus" ,dbus)
e762d943 5316 ("elogind" ,elogind)
3dc8828f 5317 ("fuse" ,fuse)
24a78aa6 5318 ("gcr" ,gcr)
3dc8828f 5319 ("glib" ,glib)
e762d943 5320 ("gnome-online-accounts" ,gnome-online-accounts)
3dc8828f
SB
5321 ("libarchive" ,libarchive)
5322 ("libbluray" ,libbluray)
8852ca24 5323 ("libcap" ,libcap)
3dc8828f
SB
5324 ("libcdio-paranoia" ,libcdio-paranoia)
5325 ("libgcrypt" ,libgcrypt)
e762d943 5326 ("libgdata" ,libgdata)
3dc8828f
SB
5327 ("libgphoto2" ,libgphoto2)
5328 ("libgudev" ,libgudev)
0ab9f949 5329 ("libimobiledevice" ,libimobiledevice)
3dc8828f 5330 ("libmtp" ,libmtp)
e762d943 5331 ("libnfs" ,libnfs)
3dc8828f
SB
5332 ("libsecret" ,libsecret)
5333 ("libsmbclient" ,samba)
5334 ("libsoup" ,libsoup)
5335 ("libxml2" ,libxml2)
e762d943 5336 ("openssh" ,openssh)
8852ca24 5337 ("polkit" ,polkit)
3dc8828f
SB
5338 ("udisks" ,udisks)))
5339 (home-page "https://wiki.gnome.org/gvfs/")
8f65585b 5340 (synopsis "Userspace virtual file system for GIO")
3dc8828f 5341 (description
8f65585b 5342 "GVFS is a userspace virtual file system designed to work with the I/O
3dc8828f
SB
5343abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
5344to all applications using the GIO API. It also supports exposing the GVFS
5345mounts to non-GIO applications using FUSE.
5346
5347GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
5348DAV, and others.")
5349 (license license:lgpl2.0+)))
7c88b6bd
AW
5350
5351(define-public gusb
5352 (package
5353 (name "gusb")
536b3274 5354 (version "0.3.0")
7c88b6bd 5355 (source (origin
bbfb36f9
EF
5356 (method git-fetch)
5357 (uri (git-reference
5358 (url "https://github.com/hughsie/libgusb.git")
5359 (commit version)))
5360 (file-name (git-file-name name version))
7c88b6bd
AW
5361 (sha256
5362 (base32
bbfb36f9 5363 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
536b3274 5364 (build-system meson-build-system)
7c88b6bd 5365 (native-inputs
536b3274 5366 `(("gobject-introspection" ,gobject-introspection)
7c88b6bd
AW
5367 ("pkg-config" ,pkg-config)
5368 ("vala" ,vala)
7c88b6bd
AW
5369 ("gtk-doc" ,gtk-doc)))
5370 (propagated-inputs
5371 ;; Both of these are required by gusb.pc.
5372 `(("glib" ,glib)
5373 ("libusb" ,libusb)))
5374 (arguments
536b3274 5375 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
8f1640ed 5376 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 5377 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
5378 (description
5379 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
5380asynchronous control, bulk and interrupt transfers with proper cancellation
5381and integration into a mainloop. This makes it easy to integrate low level
5382USB transfers with your high-level application or system daemon.")
5383 (license license:lgpl2.1+)))
0abe1d86
AW
5384
5385(define-public simple-scan
5386 (package
5387 (name "simple-scan")
fe6cfa99 5388 (version "3.36.0")
d9f6d587
TGR
5389 (source
5390 (origin
5391 (method url-fetch)
5392 (uri (string-append "mirror://gnome/sources/simple-scan/"
5393 (version-major+minor version) "/"
5394 "simple-scan-" version ".tar.xz"))
5395 (sha256
fe6cfa99 5396 (base32 "198l3yhqhb2wzfdcgi8fzbwycr0njn44583dazz6wy1gqbiqnzgm"))))
d9f6d587
TGR
5397 (build-system meson-build-system)
5398 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
5399 (arguments
5400 '(#:glib-or-gtk? #t))
0abe1d86
AW
5401 (inputs
5402 `(("gtk" ,gtk+)
5403 ("zlib" ,zlib)
5404 ("cairo" ,cairo)
c501f592 5405 ("colord" ,colord)
0abe1d86
AW
5406 ("gdk-pixbuf" ,gdk-pixbuf)
5407 ("gusb" ,gusb)
4c928743 5408 ("libsane" ,sane-backends)))
0abe1d86 5409 (native-inputs
b94a6ca0 5410 `(("gettext" ,gettext-minimal)
0abe1d86 5411 ("itstool" ,itstool)
c501f592 5412 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
0abe1d86 5413 ("pkg-config" ,pkg-config)
bcb354ad
SB
5414 ("vala" ,vala)
5415 ("xmllint" ,libxml2)))
dff0eedb 5416 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
0abe1d86 5417 (synopsis "Document and image scanner")
d9f6d587
TGR
5418 (description
5419 "Document Scanner is an easy-to-use application that lets you connect your
5420scanner and quickly capture images and documents in an appropriate format. It
5421supports any scanner for which a suitable SANE driver is available, which is
5422almost all of them.")
0abe1d86 5423 (license license:gpl3+)))
7549f984 5424
ab466d79
RW
5425(define-public eolie
5426 (package
5427 (name "eolie")
ed783404 5428 (version "0.9.98.1")
ab466d79
RW
5429 (source (origin
5430 (method url-fetch)
ed783404
RW
5431 (uri (string-append "https://adishatz.org/eolie/eolie-"
5432 version ".tar.xz"))
ab466d79
RW
5433 (sha256
5434 (base32
ed783404 5435 "1d844zva5w4p9pnp9c2g7zyb4vayr2g2drf78spxsdlc5lbd7lqr"))))
00014781 5436 (build-system meson-build-system)
ab466d79 5437 (arguments
00014781
RW
5438 `(#:glib-or-gtk? #t
5439 #:phases
ab466d79 5440 (modify-phases %standard-phases
f0c68100
EF
5441 (add-after 'unpack 'skip-gtk-update-icon-cache
5442 ;; Don't create 'icon-theme.cache'.
5443 (lambda _
5444 (substitute* "meson_post_install.py"
5445 (("gtk-update-icon-cache") "true"))
5446 #t))
ab466d79
RW
5447 (add-after 'wrap 'wrap-more
5448 (lambda* (#:key inputs outputs #:allow-other-keys)
5449 (let* ((out (assoc-ref outputs "out"))
5450 ;; These libraries must be on LD_LIBRARY_PATH.
5451 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5452 "atk" "gtk+" "gsettings-desktop-schemas"
5453 "gobject-introspection"))
5454 (path (string-join
5455 (map (lambda (lib)
5456 (string-append (assoc-ref inputs lib) "/lib"))
5457 libs)
5458 ":")))
5459 (wrap-program (string-append out "/bin/eolie")
5460 `("LD_LIBRARY_PATH" ":" prefix (,path))
5461 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5462 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5463 #t)))))
5464 (native-inputs
f85ca6ed 5465 `(("intltool" ,intltool)
ab466d79 5466 ("itstool" ,itstool)
d95f1041 5467 ("pkg-config" ,pkg-config)
d95f1041 5468 ("python" ,python)
f0c68100 5469 ("glib:bin" ,glib "bin")))
ab466d79
RW
5470 (inputs
5471 `(("gobject-introspection" ,gobject-introspection)
5472 ("glib-networking" ,glib-networking)
5473 ("cairo" ,cairo)
5474 ("gtk+" ,gtk+)
5475 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5476 ("python" ,python-wrapper)
d72f76df 5477 ("python-dateutil" ,python-dateutil)
00014781 5478 ("python-pyfxa" ,python-pyfxa)
ab466d79
RW
5479 ("python-pygobject" ,python-pygobject)
5480 ("python-pycairo" ,python-pycairo)
00014781 5481 ("python-pycrypto" ,python-pycrypto)
ab466d79
RW
5482 ("libsecret" ,libsecret)
5483 ("gtkspell3" ,gtkspell3)
5484 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
f85ca6ed 5485 ("webkitgtk" ,webkitgtk)))
166b2c97 5486 (home-page "https://wiki.gnome.org/Apps/Eolie")
ab466d79
RW
5487 (synopsis "Web browser for GNOME")
5488 (description
5489 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5490a secret password store, an adblocker, and a modern UI.")
5491 (license license:gpl3+)))
5492
7549f984
SB
5493(define-public epiphany
5494 (package
5495 (name "epiphany")
60680365 5496 (version "3.32.5")
7549f984
SB
5497 (source (origin
5498 (method url-fetch)
dd3266ec 5499 (uri (string-append "mirror://gnome/sources/epiphany/"
7549f984 5500 (version-major+minor version) "/"
dd3266ec 5501 "epiphany-" version ".tar.xz"))
7549f984
SB
5502 (sha256
5503 (base32
60680365 5504 "1hj4yy53fwh96h17cqiw3gxc070vmc7yqwc7phvhnpyinkp9g5my"))))
fc5c5b92
R
5505
5506 (build-system meson-build-system)
7549f984
SB
5507 (arguments
5508 ;; FIXME: tests run under Xvfb, but fail with:
5509 ;; /src/bookmarks/ephy-bookmarks/create:
5510 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
5511 ;; subsystem
5512 ;; FAIL
6f48d9db 5513 '(#:tests? #f
e19f9c24 5514 #:glib-or-gtk? #t
bb7ff88f
EF
5515 #:phases
5516 (modify-phases %standard-phases
5517 (add-after 'unpack 'skip-gtk-update-icon-cache
5518 ;; Don't create 'icon-theme.cache'.
5519 (lambda _
5520 (substitute* "post_install.py"
5521 (("gtk-update-icon-cache") "true"))
5522 #t)))
e19f9c24
LF
5523 #:configure-flags
5524 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5525 (list (string-append "-Dc_link_args=-Wl,-rpath="
5526 (assoc-ref %outputs "out") "/lib/epiphany"))))
80a747c4
SB
5527 (propagated-inputs
5528 `(("dconf" ,dconf)))
7549f984 5529 (native-inputs
fc5c5b92
R
5530 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5531 ("glib:bin" ,glib "bin") ; for glib-mkenums
fc5c5b92 5532 ("intltool" ,intltool)
7549f984 5533 ("itstool" ,itstool)
bcb354ad
SB
5534 ("pkg-config" ,pkg-config)
5535 ("xmllint" ,libxml2)))
7549f984
SB
5536 (inputs
5537 `(("avahi" ,avahi)
5538 ("gcr" ,gcr)
fc5c5b92 5539 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
7549f984
SB
5540 ("glib-networking" ,glib-networking)
5541 ("gnome-desktop" ,gnome-desktop)
5542 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
eb6f315b 5543 ("json-glib" ,json-glib)
7549f984 5544 ("iso-codes" ,iso-codes)
8748e29c 5545 ("libdazzle" ,libdazzle)
7549f984
SB
5546 ("libnotify" ,libnotify)
5547 ("libsecret" ,libsecret)
7549f984 5548 ("libxslt" ,libxslt)
fc5c5b92 5549 ("nettle" ,nettle) ; for hogweed
7549f984 5550 ("sqlite" ,sqlite)
f85ca6ed 5551 ("webkitgtk" ,webkitgtk)))
7549f984
SB
5552 (home-page "https://wiki.gnome.org/Apps/Web")
5553 (synopsis "GNOME web browser")
5554 (description
5555 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5556principles are simplicity and standards compliance.")
5557 (license license:gpl2+)))
a3856b2c
SB
5558
5559(define-public d-feet
5560 (package
5561 (name "d-feet")
458e9221 5562 (version "0.3.14")
a3856b2c
SB
5563 (source (origin
5564 (method url-fetch)
5565 (uri (string-append "mirror://gnome/sources/" name "/"
5566 (version-major+minor version) "/"
5567 name "-" version ".tar.xz"))
5568 (sha256
5569 (base32
458e9221 5570 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
a3856b2c
SB
5571 (build-system glib-or-gtk-build-system)
5572 (arguments
5573 '(#:out-of-source? #f ; tests need to run in the source directory.
5574 #:phases
5575 (modify-phases %standard-phases
5576 (add-before
5577 'check 'pre-check
86aff791 5578 (lambda _
a3856b2c
SB
5579 ;; The test suite requires a running X server.
5580 (system "Xvfb :1 &")
5581 (setenv "DISPLAY" ":1")
5582 ;; Don't fail on missing '/etc/machine-id'.
5583 (setenv "DBUS_FATAL_WARNINGS" "0")
5584 ;; tests.py and window.py don't meet E402:
5585 ;; E402 module level import not at top of file
5586 (substitute* "src/tests/Makefile"
86aff791
MW
5587 (("--ignore=E123") "--ignore=E123,E402"))
5588 #t))
a3856b2c
SB
5589 (add-after
5590 'install 'wrap-program
5591 (lambda* (#:key outputs #:allow-other-keys)
5592 (let ((prog (string-append (assoc-ref outputs "out")
5593 "/bin/d-feet")))
5594 (wrap-program prog
5595 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
5596 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5597 #t))))))
a3856b2c
SB
5598 (native-inputs
5599 `(("intltool" ,intltool)
5600 ("itstool" ,itstool)
5601 ("pkg-config" ,pkg-config)
5602 ("python-pep8" ,python-pep8)
5603 ("xmllint" ,libxml2)
ff337525 5604 ("xorg-server" ,xorg-server-for-tests)))
a3856b2c
SB
5605 (inputs
5606 `(("gobject-introspection" ,gobject-introspection)
5607 ("gtk+" ,gtk+)
5608 ("python" ,python-wrapper)
458e9221 5609 ("hicolor-icon-theme" ,hicolor-icon-theme)
a3856b2c
SB
5610 ("python-pygobject" ,python-pygobject)))
5611 (home-page "https://wiki.gnome.org/Apps/DFeet")
5612 (synopsis "D-Bus debugger")
5613 (description
5614 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5615of running programs and invoke methods on those interfaces.")
5616 (license license:gpl2+)))
c3b97bd9
SB
5617
5618(define-public yelp-xsl
5619 (package
5620 (name "yelp-xsl")
b3640e79 5621 (version "3.32.1")
c3b97bd9
SB
5622 (source (origin
5623 (method url-fetch)
5624 (uri (string-append "mirror://gnome/sources/" name "/"
5625 (version-major+minor version) "/"
5626 name "-" version ".tar.xz"))
5627 (sha256
5628 (base32
b3640e79 5629 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
c3b97bd9
SB
5630 (build-system gnu-build-system)
5631 (native-inputs
5632 `(("intltool" ,intltool)
5633 ("itstool" ,itstool)
5634 ("xmllint" ,libxml2)))
5635 (home-page "https://wiki.gnome.org/Apps/Yelp")
5636 (synopsis "XSL stylesheets for Yelp")
5637 (description
5638 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5639to format Docbook and Mallard documents.")
5640 (license license:gpl2+)))
de3d612a
SB
5641
5642(define-public yelp
5643 (package
5644 (name "yelp")
1f1b6d60 5645 (version "3.32.2")
de3d612a
SB
5646 (source (origin
5647 (method url-fetch)
5648 (uri (string-append "mirror://gnome/sources/" name "/"
5649 (version-major+minor version) "/"
5650 name "-" version ".tar.xz"))
5651 (sha256
5652 (base32
1f1b6d60 5653 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
de3d612a
SB
5654 (build-system glib-or-gtk-build-system)
5655 (native-inputs
5656 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5657 ("intltool" ,intltool)
5658 ("itstool" ,itstool)
5659 ("pkg-config" ,pkg-config)))
5660 (propagated-inputs
5661 `(("dconf" ,dconf)))
5662 (inputs
ad1b7d8b
SB
5663 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5664 ("libxslt" ,libxslt)
de3d612a 5665 ("sqlite" ,sqlite)
4c28ca1d
SB
5666 ("webkitgtk" ,webkitgtk)
5667 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
5668 (home-page "https://wiki.gnome.org/Apps/Yelp")
5669 (synopsis "GNOME help browser")
5670 (description
5671 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5672man, info, and HTML documents. It can locate documents according to the
5673freedesktop.org help system specification.")
5674 (license license:gpl2+)))
122d0d10
SB
5675
5676(define-public yelp-tools
5677 (package
5678 (name "yelp-tools")
2089bca5 5679 (version "3.28.0")
122d0d10
SB
5680 (source (origin
5681 (method url-fetch)
5682 (uri (string-append "mirror://gnome/sources/" name "/"
5683 (version-major+minor version) "/"
5684 name "-" version ".tar.xz"))
5685 (sha256
5686 (base32
2089bca5 5687 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
122d0d10
SB
5688 (build-system gnu-build-system)
5689 (native-inputs
5690 `(("pkg-config" ,pkg-config)))
5691 (propagated-inputs
5692 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5693 `(("itstool" ,itstool)
5694 ("xmllint" ,libxml2)
5695 ("xsltproc" ,libxslt)))
5696 (inputs
5697 `(("yelp-xsl" ,yelp-xsl)))
5698 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5699 (synopsis "Yelp documentation tools")
5700 (description
5701 "Yelp-tools is a collection of scripts and build utilities to help create,
5702manage, and publish documentation for Yelp and the web. Most of the heavy
5703lifting is done by packages like yelp-xsl and itstool. This package just
5704wraps things up in a developer-friendly way.")
5705 (license license:gpl2+)))
af8f9f23 5706
4ed041d9
MB
5707(define-public yelp-tools/fixed
5708 ;; This variant fixes a python-libxml2 crash when processing UTF-8
5709 ;; sequences: <https://bugs.gnu.org/37468>. TODO: Remove this in
5710 ;; the next rebuild cycle.
5711 (hidden-package
5712 (package/inherit
5713 yelp-tools
5714 (propagated-inputs
5715 `(("itstool" ,itstool/fixed)
5716 ,@(alist-delete "itstool" (package-propagated-inputs yelp-tools)))))))
5717
af8f9f23
RW
5718(define-public libgee
5719 (package
5720 (name "libgee")
9cedae2a 5721 (version "0.20.3")
af8f9f23
RW
5722 (source (origin
5723 (method url-fetch)
84a1b007 5724 (uri (string-append "mirror://gnome/sources/libgee/"
af8f9f23 5725 (version-major+minor version) "/"
84a1b007 5726 "libgee-" version ".tar.xz"))
af8f9f23
RW
5727 (sha256
5728 (base32
9cedae2a 5729 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
af8f9f23
RW
5730 (build-system gnu-build-system)
5731 (arguments
5732 `(#:phases
5733 (modify-phases %standard-phases
5734 (add-after 'unpack 'fix-introspection-install-dir
5735 (lambda* (#:key outputs #:allow-other-keys)
5736 (let ((out (assoc-ref outputs "out")))
5737 (substitute* "gee/Makefile.in"
5738 (("@INTROSPECTION_GIRDIR@")
5739 (string-append out "/share/gir-1.0/"))
5740 (("@INTROSPECTION_TYPELIBDIR@")
5741 (string-append out "/lib/girepository-1.0/")))))))))
5742 (native-inputs
5743 `(("glib" ,glib "bin")
5744 ("pkg-config" ,pkg-config)))
5745 (inputs
5746 `(("glib" ,glib)
5747 ("gobject-introspection" ,gobject-introspection)))
5748 (home-page "https://wiki.gnome.org/Projects/Libgee")
5749 (synopsis "GObject collection library")
5750 (description
5751 "Libgee is a utility library providing GObject-based interfaces and
5752classes for commonly used data structures.")
5753 (license license:lgpl2.1+)))
b0f9c4b8
RW
5754
5755(define-public gexiv2
5756 (package
5757 (name "gexiv2")
b1a8b408 5758 (version "0.12.0")
b0f9c4b8
RW
5759 (source (origin
5760 (method url-fetch)
5761 (uri (string-append "mirror://gnome/sources/" name "/"
5762 (version-major+minor version) "/"
5763 name "-" version ".tar.xz"))
5764 (sha256
5765 (base32
b1a8b408 5766 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
51c482e4 5767 (build-system meson-build-system)
b0f9c4b8 5768 (native-inputs
b1a8b408
KK
5769 `(("gcr" ,gcr)
5770 ("glib" ,glib "bin")
5771 ("pkg-config" ,pkg-config)
5772 ("vala" ,vala)))
b0f9c4b8
RW
5773 (propagated-inputs
5774 ;; Listed in "Requires" section of gexiv2.pc
5775 `(("exiv2" ,exiv2)))
5776 (inputs
5777 `(("glib" ,glib)
5778 ("gobject-introspection" ,gobject-introspection)))
5779 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5780 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5781 (description
5782 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5783allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5784metadata in photo and video files of various formats.")
5785 (license license:gpl2+)))
fed5a689
RW
5786
5787(define-public shotwell
5788 (package
5789 (name "shotwell")
bcea20cc 5790 (version "0.30.8")
fed5a689
RW
5791 (source (origin
5792 (method url-fetch)
5497d682 5793 (uri (string-append "mirror://gnome/sources/shotwell/"
fed5a689 5794 (version-major+minor version) "/"
5497d682 5795 "shotwell-" version ".tar.xz"))
fed5a689
RW
5796 (sha256
5797 (base32
bcea20cc 5798 "1f7m007g6w1sz8s60w6x81ghp2rrjmik8phd958b2hy8zz92wbbj"))))
3b79afa6
KK
5799 (build-system meson-build-system)
5800 (arguments
5a0beca3
EF
5801 '(#:glib-or-gtk? #t
5802 #:phases
5803 (modify-phases %standard-phases
5804 (add-after 'unpack 'skip-gtk-update-icon-cache
5805 (lambda _
5806 (substitute* "build-aux/meson/postinstall.py"
5807 (("gtk-update-icon-cache") (which "true"))
5808 (("update-desktop-database") (which "true")))
5809 #t)))))
735b8db6
TGR
5810 (propagated-inputs
5811 `(("dconf" ,dconf)))
fed5a689 5812 (native-inputs
5a0beca3
EF
5813 `(("gettext" ,gettext-minimal)
5814 ("glib:bin" ,glib "bin")
735b8db6 5815 ("itstool" ,itstool)
3b79afa6 5816 ("pkg-config" ,pkg-config)
735b8db6 5817 ("vala" ,vala)))
fed5a689 5818 (inputs
5a0beca3
EF
5819 `(("gcr" ,gcr)
5820 ("gexiv2" ,gexiv2)
fed5a689 5821 ("gst-plugins-base" ,gst-plugins-base)
5a0beca3
EF
5822 ("gstreamer" ,gstreamer)
5823 ("json-glib" ,json-glib)
dfb0323d 5824 ("libgdata" ,libgdata)
fed5a689 5825 ("libgee" ,libgee)
5a0beca3
EF
5826 ("libgphoto2" ,libgphoto2)
5827 ("libgudev" ,libgudev)
fed5a689 5828 ("libraw" ,libraw)
fed5a689
RW
5829 ("libsoup" ,libsoup)
5830 ("libxml2" ,libxml2)
5a0beca3
EF
5831 ("sqlite" ,sqlite)
5832 ("webkitgtk" ,webkitgtk)))
fed5a689
RW
5833 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5834 (synopsis "Photo manager for GNOME 3")
5835 (description
5836 "Shotwell is a digital photo manager designed for the GNOME desktop
5837environment. It allows you to import photos from disk or camera, organize
5838them by keywords and events, view them in full-window or fullscreen mode, and
5839share them with others via social networking and more.")
5840 (license license:lgpl2.1+)))
293ff8b2
DT
5841
5842(define-public file-roller
5843 (package
5844 (name "file-roller")
dcae4270 5845 (version "3.32.3")
293ff8b2
DT
5846 (source (origin
5847 (method url-fetch)
f89a27c6 5848 (uri (string-append "mirror://gnome/sources/file-roller/"
293ff8b2 5849 (version-major+minor version) "/"
f89a27c6 5850 "file-roller-" version ".tar.xz"))
293ff8b2
DT
5851 (sha256
5852 (base32
dcae4270 5853 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
0a500745 5854 (build-system meson-build-system)
293ff8b2 5855 (native-inputs
0a500745
RW
5856 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5857 ("intltool" ,intltool)
4c96e5d1 5858 ("itstool" ,itstool)
0a500745
RW
5859 ("pkg-config" ,pkg-config)
5860 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5861 ("glib:bin" ,glib "bin")))
293ff8b2
DT
5862 ;; TODO: Add libnautilus.
5863 (inputs
5864 `(("gtk+" ,gtk+)
5865 ("gdk-pixbuf" ,gdk-pixbuf)
5866 ("json-glib" ,json-glib)
5867 ("libarchive" ,libarchive)
5868 ("libnotify" ,libnotify)
4c96e5d1 5869 ("nettle" ,nettle)
293ff8b2
DT
5870 ("libxml2" ,libxml2)))
5871 (synopsis "Graphical archive manager for GNOME")
5872 (description "File Roller is an archive manager for the GNOME desktop
5873environment that allows users to view, unpack, and create compressed archives
5874such as gzip tarballs.")
5875 (home-page "http://fileroller.sourceforge.net/")
5876 (license license:gpl2+)))
7ce49365
SB
5877
5878(define-public gnome-session
5879 (package
5880 (name "gnome-session")
1fc2ec79 5881 (version "3.32.0")
7ce49365
SB
5882 (source (origin
5883 (method url-fetch)
5884 (uri (string-append "mirror://gnome/sources/" name "/"
5885 (version-major+minor version) "/"
5886 name "-" version ".tar.xz"))
5887 (sha256
5888 (base32
1fc2ec79 5889 "0zrzkpd406i159mla7bfs5npa32fgqh66aip1rfq02rgsgmc9m5v"))))
2914af3c 5890 (arguments
df278071
RW
5891 '(#:glib-or-gtk? #t
5892 #:phases
2914af3c
AW
5893 (modify-phases %standard-phases
5894 (add-before 'configure 'pre-configure
5895 (lambda* (#:key outputs #:allow-other-keys)
5896 ;; Use elogind instead of systemd.
df278071
RW
5897 (substitute* "meson.build"
5898 (("libsystemd-login") "libelogind")
5899 (("and libsystemd_daemon_dep.found.*") ","))
2914af3c
AW
5900 (substitute* "gnome-session/gsm-systemd.c"
5901 (("#include <systemd/sd-login.h>")
5902 "#include <elogind/sd-login.h>"))
df278071 5903 ;; Remove uses of the systemd daemon.
803ab416
SB
5904 (substitute* "gnome-session/gsm-autostart-app.c"
5905 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
5906 #t))
5907 (add-after 'install 'wrap-gnome-session
5908 (lambda* (#:key inputs outputs #:allow-other-keys)
5909 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5910 (let ((glib (assoc-ref inputs "glib:bin"))
5911 (out (assoc-ref outputs "out")))
5912 (wrap-program (string-append out "/bin/gnome-session")
5913 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5914 #t))))
6cbc8d57 5915
2914af3c 5916 #:configure-flags
df278071
RW
5917 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5918 "-Dman=false" ; FIXME: disabled because of docbook validation error
5919 "-Dsystemd_journal=false")))
5920 (build-system meson-build-system)
7ce49365
SB
5921 (native-inputs
5922 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5923 ("pkg-config" ,pkg-config)
5924 ("intltool" ,intltool)
df278071
RW
5925 ("xsltproc" ,libxslt)
5926 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5927 ("docbook-xsl" ,docbook-xsl)
5928 ("docbook-xml" ,docbook-xml)
5929 ("xmlto" ,xmlto)))
7ce49365 5930 (inputs
2914af3c
AW
5931 `(("elogind" ,elogind)
5932 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 5933 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
5934 ("gtk+" ,gtk+)
5935 ("json-glib" ,json-glib)
5936 ("libsm" ,libsm)
5937 ("libxcomposite" ,libxcomposite)
5938 ("libxtst" ,libxtst)
5939 ("mesa" ,mesa)
5940 ("upower" ,upower)
5941 ("xtrans" ,xtrans)))
5942 (synopsis "Session manager for GNOME")
5943 (description
5944 "This package contains the GNOME session manager, as well as a
5945configuration program to choose applications starting on login.")
5946 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5947 (license license:gpl2+)))
f47ba77e
SB
5948
5949(define-public gjs
5950 (package
5951 (name "gjs")
d054fbf5 5952 (version "1.56.2")
f47ba77e
SB
5953 (source (origin
5954 (method url-fetch)
5955 (uri (string-append "mirror://gnome/sources/" name "/"
5956 (version-major+minor version) "/"
5957 name "-" version ".tar.xz"))
5958 (sha256
5959 (base32
d054fbf5 5960 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
f47ba77e
SB
5961 (build-system gnu-build-system)
5962 (arguments
5963 '(#:phases
5964 (modify-phases %standard-phases
5965 (add-before
5966 'check 'pre-check
5967 (lambda _
fc119619
MW
5968 ;; The test suite requires a running X server.
5969 (system "Xvfb :1 &")
5970 (setenv "DISPLAY" ":1")
5971
f47ba77e
SB
5972 ;; For the missing /etc/machine-id.
5973 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07 5974
144f94d0
KK
5975 ;; Our mozjs-38 package does not compile the required Intl API
5976 ;; support for these failing tests.
5977 (substitute* "installed-tests/js/testLocale.js"
5978 ((".*toBeDefined.*") "")
5979 ((".*expect\\(datestr\\).*") ""))
d054fbf5
KK
5980 (substitute* "installed-tests/scripts/testCommandLine.sh"
5981 (("Valentín") "")
5982 (("☭") ""))
f47ba77e
SB
5983 #t)))))
5984 (native-inputs
8a831c6f 5985 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
f47ba77e
SB
5986 ("pkg-config" ,pkg-config)
5987 ("xmllint" ,libxml2)
5988 ;; For testing
5989 ("dbus-launch" ,dbus)
5990 ("uuidgen" ,util-linux)
ebebee94 5991 ("xvfb" ,xorg-server-for-tests)))
f47ba77e
SB
5992 (propagated-inputs
5993 ;; These are all in the Requires.private field of gjs-1.0.pc.
144f94d0
KK
5994 `(("cairo" ,cairo)
5995 ("gobject-introspection" ,gobject-introspection)
d054fbf5 5996 ("mozjs" ,mozjs-60)))
f47ba77e
SB
5997 (inputs
5998 `(("gtk+" ,gtk+)
5999 ("readline" ,readline)))
6000 (synopsis "Javascript bindings for GNOME")
f032d0be 6001 (home-page "https://live.gnome.org/Gjs")
f47ba77e
SB
6002 (description
6003 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
6004javascript engine and the GObject introspection framework.")
6005 (license license:gpl2+)))
329d731b
DH
6006
6007(define-public gedit
6008 (package
6009 (name "gedit")
480c9226 6010 (version "3.32.2")
329d731b
DH
6011 (source (origin
6012 (method url-fetch)
6013 (uri (string-append "mirror://gnome/sources/" name "/"
6014 (version-major+minor version) "/"
6015 name "-" version ".tar.xz"))
6016 (sha256
6017 (base32
480c9226
KK
6018 "1q2rk7fym542c7k3bn2wlnzgy384gxacbifsjny0spbg95gfybvl"))))
6019 (build-system meson-build-system)
329d731b 6020 (arguments
480c9226
KK
6021 `(#:glib-or-gtk? #t
6022 #:configure-flags
6023 ;; Otherwise, the RUNPATH will lack the final path component.
6024 (list (string-append "-Dc_link_args=-Wl,-rpath="
6025 (assoc-ref %outputs "out") "/lib/gedit"))
d9b4022c
LC
6026
6027 ;; XXX: Generated .h files are sometimes used before being built.
6028 #:parallel-build? #f
6029
480c9226 6030 #:phases
329d731b 6031 (modify-phases %standard-phases
480c9226
KK
6032 (add-after 'unpack 'skip-gtk-update-icon-cache
6033 ;; Don't create 'icon-theme.cache'.
6034 (lambda _
6035 (substitute* "build-aux/meson/post_install.py"
6036 (("gtk-update-icon-cache") (which "true")))
6037 #t))
6038 (add-after 'unpack 'patch-libgd-fetch
6039 (lambda* (#:key inputs #:allow-other-keys)
6040 (let ((libgd (assoc-ref inputs "libgd")))
6041 ;; Calling git is unnecessary because libgd is fetched as a
6042 ;; native input to this package.
6043 (substitute* "meson.build"
6044 ((".*git.*") ""))
6045 (copy-recursively libgd "subprojects/libgd")
6046 #t)))
6047 (add-after 'install 'wrap-gedit
6048 (lambda* (#:key inputs outputs #:allow-other-keys)
6049 (let ((out (assoc-ref outputs "out"))
6050 (gtksourceview (assoc-ref inputs "gtksourceview"))
6051 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6052 (python-path (getenv "PYTHONPATH")))
6053 (wrap-program (string-append out "/bin/gedit")
6054 ;; For plugins.
6055 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6056 `("PYTHONPATH" ":" prefix (,python-path))
6057 ;; For language-specs.
6058 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
6059 "/share")))))
6060 #t)))))
329d731b
DH
6061 (propagated-inputs
6062 `(("dconf" ,dconf)))
6063 (native-inputs
480c9226
KK
6064 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6065 ("intltool" ,intltool)
b3546174 6066 ("itstool" ,itstool)
480c9226 6067 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
329d731b 6068 ("gobject-introspection" ,gobject-introspection)
480c9226
KK
6069 ("libgd"
6070 ,(origin
6071 (method git-fetch)
6072 (uri (git-reference
6073 (url "https://gitlab.gnome.org/GNOME/libgd")
6074 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
6075 (file-name (git-file-name "libgd" version))
6076 (sha256
6077 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
329d731b
DH
6078 ("pkg-config" ,pkg-config)))
6079 (inputs
6080 `(("glib" ,glib)
0d2df50c 6081 ("gspell" ,gspell)
329d731b 6082 ("gtk+" ,gtk+)
480c9226 6083 ("gtksourceview" ,gtksourceview)
329d731b
DH
6084 ("libpeas" ,libpeas)
6085 ("libxml2" ,libxml2)
329d731b
DH
6086 ("iso-codes" ,iso-codes)
6087 ("python-pygobject" ,python-pygobject)
6088 ("python" ,python)
6089 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6090 ("libx11" ,libx11)
6091 ("vala" ,vala)
6092 ("adwaita-icon-theme" ,adwaita-icon-theme)
6093 ("libsoup" ,libsoup)
6094 ("gnome-desktop" ,gnome-desktop)))
6095 (home-page "https://wiki.gnome.org/Apps/Gedit")
6096 (synopsis "GNOME text editor")
6097 (description "While aiming at simplicity and ease of use, gedit is a
6098powerful general purpose text editor.")
6099 (license license:gpl2+)))
b7179363
SB
6100
6101(define-public zenity
6102 (package
6103 (name "zenity")
4f581bd0 6104 (version "3.32.0")
b7179363
SB
6105 (source (origin
6106 (method url-fetch)
5958df04 6107 (uri (string-append "mirror://gnome/sources/zenity/"
b7179363 6108 (version-major+minor version) "/"
5958df04 6109 "zenity-" version ".tar.xz"))
b7179363
SB
6110 (sha256
6111 (base32
4f581bd0 6112 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
b7179363
SB
6113 (build-system gnu-build-system)
6114 (native-inputs
b94a6ca0 6115 `(("gettext" ,gettext-minimal)
b7179363
SB
6116 ("itstool" ,itstool)
6117 ("pkg-config" ,pkg-config)))
6118 (inputs
6119 `(("libnotify" ,libnotify)
6120 ("webkitgtk" ,webkitgtk)))
6121 (synopsis "Display graphical dialog boxes from shell scripts")
f032d0be 6122 (home-page "https://www.gnome.org")
b7179363
SB
6123 (description
6124 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
6125to display dialog boxes from the commandline and shell scripts.")
6126 (license license:lgpl2.0+)))
60c3627c
SB
6127
6128(define-public mutter
6129 (package
6130 (name "mutter")
edf43f68 6131 (version "3.32.2")
60c3627c 6132 (source (origin
86c44e72
KK
6133 (method url-fetch)
6134 (uri (string-append "mirror://gnome/sources/" name "/"
6135 (version-major+minor version) "/"
6136 name "-" version ".tar.xz"))
60c3627c
SB
6137 (sha256
6138 (base32
edf43f68 6139 "1h577i2ap7dpfy1jg101jvc6nzccc0csgvd55ahydlr8f94frcva"))))
86c44e72
KK
6140 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
6141 ;; versions of cogl and clutter. As a result, many of the inputs,
6142 ;; propagated-inputs, and configure flags used in cogl and clutter are
6143 ;; needed here as well.
edf43f68 6144 (build-system meson-build-system)
60c3627c 6145 (arguments
edf43f68
KK
6146 '(;; XXX: All mutter tests fail with the following error:
6147 ;; Settings schema 'org.gnome.mutter' is not installed
6148 #:tests? #f
6149 #:glib-or-gtk? #t
6150 #:configure-flags
6151 ;; Otherwise, the RUNPATH will lack the final path component.
6152 (list (string-append "-Dc_link_args=-Wl,-rpath="
6153 (assoc-ref %outputs "out") "/lib:"
6154 (assoc-ref %outputs "out") "/lib/mutter-4")
a88d5a0c
MW
6155
6156 ;; The following flags are needed for the bundled clutter
edf43f68 6157 (string-append "-Dxwayland_path="
d633f2f6
RH
6158 (assoc-ref %build-inputs "xorg-server-xwayland")
6159 "/bin/Xwayland")
6160
a88d5a0c 6161 ;; the remaining flags are needed for the bundled cogl
edf43f68 6162 (string-append "-Dopengl_libname="
a88d5a0c 6163 (assoc-ref %build-inputs "mesa")
f23052a6
DC
6164 "/lib/libGL.so"))
6165 #:phases
6166 (modify-phases %standard-phases
edf43f68
KK
6167 (add-after 'unpack 'disable-werror
6168 (lambda _
6169 ;; XXX: build fails with [-Werror]:
6170 ;; backends/meta-cursor-renderer.c:112:5: error:
6171 ;; implicit declaration of function ?roundf?
6172 (substitute* "meson.build"
6173 (("'-Werror=.*',") ""))
6174 #t))
86c44e72
KK
6175 ;; Replace references to systemd libraries to elogind references.
6176 (add-before 'configure 'use-elogind
6177 (lambda _
edf43f68 6178 (substitute* (list "meson.build"
86c44e72
KK
6179 "src/backends/native/meta-launcher.c"
6180 "src/core/main.c")
6181 (("systemd") "elogind"))
6182 #t)))))
60c3627c
SB
6183 (native-inputs
6184 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6185 ("gobject-introspection" ,gobject-introspection)
6186 ("intltool" ,intltool)
f23052a6 6187 ("pkg-config" ,pkg-config)
edf43f68 6188 ("xorg-server" ,xorg-server-for-tests)
f23052a6
DC
6189 ;; For git build
6190 ("autoconf" ,autoconf)
6191 ("automake" ,automake)
6192 ("libtool" ,libtool)))
60c3627c 6193 (propagated-inputs
a88d5a0c
MW
6194 `(;; libmutter.pc refers to these:
6195 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6196 ("gtk+" ,gtk+)
6197 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
6198 ("atk" ,atk)
6199 ("cairo" ,cairo)
6200 ("gdk-pixbuf" ,gdk-pixbuf)
6201 ("glib" ,glib)
a88d5a0c
MW
6202 ("json-glib" ,json-glib)
6203 ("libinput" ,libinput)
6204 ("libx11" ,libx11)
6205 ("libxcomposite" ,libxcomposite)
6206 ("libxdamage" ,libxdamage)
6207 ("libxext" ,libxext)
6208 ("libxfixes" ,libxfixes)
6209 ("libxkbcommon" ,libxkbcommon)
6210 ("libxrandr" ,libxrandr)
6211 ("mesa" ,mesa)
6212 ("pango" ,pango)
6213 ("udev" ,eudev)
a88d5a0c 6214 ("xinput" ,xinput)))
60c3627c 6215 (inputs
86c44e72
KK
6216 `(("elogind" ,elogind)
6217 ("gnome-desktop" ,gnome-desktop)
edf43f68 6218 ("gnome-settings-daemon" ,gnome-settings-daemon)
60c3627c 6219 ("libcanberra-gtk" ,libcanberra)
a88d5a0c 6220 ("libgudev" ,libgudev)
60c3627c
SB
6221 ("libice" ,libice)
6222 ("libsm" ,libsm)
edf43f68 6223 ("libwacom" ,libwacom)
60c3627c 6224 ("libxkbfile" ,libxkbfile)
a88d5a0c 6225 ("libxrandr" ,libxrandr)
86c44e72 6226 ("libxtst" ,libxtst)
edf43f68 6227 ("pipewire" ,pipewire)
60c3627c
SB
6228 ("startup-notification" ,startup-notification)
6229 ("upower-glib" ,upower)
6230 ("xkeyboard-config" ,xkeyboard-config)
d633f2f6 6231 ("xorg-server-xwayland" ,xorg-server-xwayland)
60c3627c
SB
6232 ("zenity" ,zenity)))
6233 (synopsis "Window and compositing manager")
f032d0be 6234 (home-page "https://www.gnome.org")
60c3627c
SB
6235 (description
6236 "Mutter is a window and compositing manager that displays and manages your
6237desktop via OpenGL. Mutter combines a sophisticated display engine using the
6238Clutter toolkit with solid window-management logic inherited from the Metacity
6239window manager.")
86c44e72 6240 (license license:gpl2+)))
685cee87
SB
6241
6242(define-public gnome-online-accounts
6243 (package
6244 (name "gnome-online-accounts")
aa200347 6245 (version "3.32.1")
685cee87
SB
6246 (source (origin
6247 (method url-fetch)
6248 (uri (string-append "mirror://gnome/sources/" name "/"
6249 (version-major+minor version) "/"
6250 name "-" version ".tar.xz"))
6251 (sha256
6252 (base32
aa200347 6253 "08g9kdj8fzcgp76z2zsj9m7wfjks9z6xfrfrbfmcr69k40mapfx8"))))
14c297fd 6254 (outputs '("out" "lib"))
685cee87 6255 (build-system glib-or-gtk-build-system)
14c297fd
TS
6256 (arguments
6257 `(#:configure-flags
6258 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
6259 #:phases
6260 (modify-phases %standard-phases
6261 (add-before 'configure 'patch-libgoa-output
6262 (lambda* (#:key outputs #:allow-other-keys)
6263 (let ((lib (assoc-ref outputs "lib")))
6264 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
6265 (("@prefix@") lib)
6266 (("@exec_prefix@") lib)
6267 (("@libdir@") (string-append lib "/lib"))
6268 (("@includedir@") (string-append lib "/include"))
6269 (("@datadir@") (string-append lib "/share")))
7555d539
MB
6270 ;; Make sure gobject-introspection knows about the output
6271 ;; too (see <https://bugs.gnu.org/36535>).
6272 (setenv "outputs" "out lib")
14c297fd 6273 #t))))))
685cee87
SB
6274 (native-inputs
6275 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6276 ("gobject-introspection" ,gobject-introspection)
6277 ("intltool" ,intltool)
6278 ("pkg-config" ,pkg-config)
ebb2873d 6279 ("vala" ,vala)
685cee87
SB
6280 ("xsltproc" ,libxslt)))
6281 (propagated-inputs
6282 `(("glib" ,glib) ; required by goa-1.0.pc
6283 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
6284 (inputs
6285 `(("docbook-xsl" ,docbook-xsl)
6286 ("json-glib" ,json-glib)
6287 ("libsecret" ,libsecret)
6288 ("rest" ,rest)
685cee87
SB
6289 ("webkitgtk" ,webkitgtk)))
6290 (synopsis "Single sign-on framework for GNOME")
6291 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
6292 (description
6293 "GNOME Online Accounts provides interfaces so that applications and
6294libraries in GNOME can access the user's online accounts. It has providers for
6295Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
6296Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
6297 (license license:lgpl2.0+)))
df217748
SB
6298
6299(define-public evolution-data-server
6300 (package
6301 (name "evolution-data-server")
2196a8d4 6302 (version "3.32.4")
df217748
SB
6303 (source (origin
6304 (method url-fetch)
6305 (uri (string-append "mirror://gnome/sources/" name "/"
6306 (version-major+minor version) "/"
6307 name "-" version ".tar.xz"))
43190ac6
MB
6308 (patches (search-patches "evolution-data-server-locales.patch"
6309 "evolution-data-server-libical-compat.patch"))
df217748
SB
6310 (sha256
6311 (base32
2196a8d4 6312 "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3"))))
743aebd7 6313 (build-system cmake-build-system)
df217748 6314 (arguments
b468eedc
RW
6315 '(#:configure-flags
6316 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
6317 (runpaths (map (lambda (s)
6318 (string-append lib "/evolution-data-server/" s))
ac033c7b
MB
6319 '("addressbook-backends" "calendar-backends"
6320 "camel-providers" "credential-modules"
6321 "registry-modules"))))
6322 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
6323 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
6324 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
6325 "-DENABLE_VALA_BINDINGS=ON"
ac033c7b
MB
6326 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
6327 (string-append lib "/evolution-data-server;")
6328 (string-join runpaths ";"))
6329 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
df217748
SB
6330 #:phases
6331 (modify-phases %standard-phases
b468eedc
RW
6332 (add-after 'unpack 'disable-failing-tests
6333 (lambda _
6334 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
6335 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
6336 (delete-file-recursively "tests/book-migration")
6337 (substitute* "tests/CMakeLists.txt"
6338 (("add_subdirectory\\(book-migration\\)") ""))
2196a8d4
KK
6339 ;; tests/libebook/client/test-book-client-view-operations:8077):
6340 ;; e-data-server-WARNING **:
6341 ;; (src/libedataserver/e-source-registry.c:264):thread_closure_free:
6342 ;; runtime check failed:
6343 ;; (!g_main_context_pending (closure->main_context))
6344 (substitute* "tests/libebook/client/CMakeLists.txt"
6345 (("test-book-client-view-operations") ""))
b468eedc 6346 #t))
743aebd7 6347 (add-after 'unpack 'patch-paths
df217748 6348 (lambda _
b468eedc
RW
6349 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
6350 "tests/libedata-book/data-test-utils.c"
6351 "tests/libedata-book/test-book-cache-utils.c"
6352 "tests/libedata-cal/test-cal-cache-utils.c")
df217748 6353 (("/bin/rm") (which "rm")))
ac033c7b
MB
6354 #t))
6355 (add-before 'configure 'dont-override-rpath
6356 (lambda _
6357 (substitute* "CMakeLists.txt"
6358 ;; CMakeLists.txt hard-codes runpath to just the libdir.
6359 ;; Remove it so the configure flag is respected.
6360 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
b63c06f1 6361 #t)))))
df217748
SB
6362 (native-inputs
6363 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
6364 ("gobject-introspection" ,gobject-introspection)
6365 ("gperf" ,gperf)
6366 ("intltool" ,intltool)
6367 ("pkg-config" ,pkg-config)
a73c1cf8 6368 ("vala" ,vala)
743aebd7 6369 ("python" ,python-wrapper)))
df217748
SB
6370 (propagated-inputs
6371 ;; These are all in the Requires field of .pc files.
6372 `(("gtk+" ,gtk+)
6373 ("libical" ,libical)
6374 ("libsecret" ,libsecret)
6375 ("libsoup" ,libsoup)
6376 ("nss" ,nss)
6377 ("sqlite" ,sqlite)))
6378 (inputs
6379 `(("bdb" ,bdb)
6380 ("gcr" ,gcr)
14c297fd 6381 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
891199c6 6382 ("json-glib" ,json-glib)
b468eedc 6383 ("libcanberra" ,libcanberra)
743aebd7
MB
6384 ("libgweather" ,libgweather)
6385 ("mit-krb5" ,mit-krb5)
891199c6
MW
6386 ("openldap" ,openldap)
6387 ("webkitgtk" ,webkitgtk)))
df217748
SB
6388 (synopsis "Store address books and calendars")
6389 (home-page "https://wiki.gnome.org/Apps/Evolution")
6390 (description
6391 "This package provides a unified backend for programs that work with
6392contacts, tasks, and calendar information. It was originally developed for
6393Evolution (hence the name), but is now used by other packages as well.")
6394 (license license:lgpl2.0)))
bd7dfafa
SB
6395
6396(define-public caribou
6397 (package
6398 (name "caribou")
fe964bb5 6399 (version "0.4.21")
bd7dfafa
SB
6400 (source (origin
6401 (method url-fetch)
6402 (uri (string-append "mirror://gnome/sources/" name "/"
6403 (version-major+minor version) "/"
6404 name "-" version ".tar.xz"))
6405 (sha256
6406 (base32
fe964bb5 6407 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
6408 (build-system glib-or-gtk-build-system)
6409 (arguments
6410 '(#:phases
6411 (modify-phases %standard-phases
6412 (add-before
6413 'build 'pre-build
6414 (lambda* (#:key outputs #:allow-other-keys)
6415 (let ((out (assoc-ref outputs "out")))
6416 ;; Use absolute shared library path in Caribou-1.0.typelib.
6417 (substitute* "libcaribou/Makefile"
6418 (("--shared-library=libcaribou.so")
6419 (string-append "--shared-library="
6420 out "/lib/libcaribou.so")))
6421 #t)))
6422 (add-after 'install 'wrap-programs
6423 (lambda* (#:key outputs #:allow-other-keys)
6424 (let* ((out (assoc-ref outputs "out"))
6425 (python-path (getenv "PYTHONPATH"))
6426 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6427 (for-each
6428 (lambda (prog)
6429 (wrap-program prog
6430 `("PYTHONPATH" ":" prefix (,python-path))
6431 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6432 (list (string-append out "/bin/caribou-preferences")
6433 (string-append out "/libexec/antler-keyboard"))))
6434 #t)))))
6435 (native-inputs
6436 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6437 ("gobject-introspection" ,gobject-introspection)
6438 ("intltool" ,intltool)
6439 ("pkg-config" ,pkg-config)
9f7f5ba2 6440 ("python" ,python)
bd7dfafa
SB
6441 ("vala" ,vala)
6442 ("xsltproc" ,libxslt)))
6443 (propagated-inputs
6444 ;; caribou-1.0.pc refers to all these.
6445 `(("libgee" ,libgee)
6446 ("libxklavier" ,libxklavier)
6447 ("libxtst" ,libxtst)
6448 ("gtk+" ,gtk+)))
6449 (inputs
6450 `(("clutter" ,clutter)
6451 ("dconf" ,dconf)
6452 ("gtk+-2" ,gtk+-2)
9f7f5ba2 6453 ("python-pygobject" ,python-pygobject)))
bd7dfafa
SB
6454 (synopsis "Text entry and UI navigation application")
6455 (home-page "https://wiki.gnome.org/Projects/Caribou")
6456 (description
6457 "Caribou is an input assistive technology intended for switch and pointer
6458users.")
6459 (license license:lgpl2.1)))
ba5dd105 6460
ba5dd105
SB
6461(define-public network-manager
6462 (package
6463 (name "network-manager")
6425d87a 6464 (version "1.18.4")
ba5dd105
SB
6465 (source (origin
6466 (method url-fetch)
6467 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6468 (version-major+minor version) "/"
6469 "NetworkManager-" version ".tar.xz"))
7d1861e2 6470 (patches (search-patches "nm-plugin-path.patch"))
ba5dd105
SB
6471 (sha256
6472 (base32
6425d87a 6473 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
02710a9b 6474 (modules '((guix build utils)))
fd070f35 6475 (snippet
02710a9b
RW
6476 '(begin
6477 (substitute* "src/devices/wwan/nm-modem-manager.c"
6478 (("systemd") "elogind"))
6479 #t))))
ba5dd105
SB
6480 (build-system gnu-build-system)
6481 (outputs '("out"
6482 "doc")) ; 8 MiB of gtk-doc HTML
6483 (arguments
6484 '(#:configure-flags
6485 (let ((out (assoc-ref %outputs "out"))
6486 (doc (assoc-ref %outputs "doc"))
6487 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6488 "/sbin/dhclient")))
02710a9b
RW
6489 (list "--with-libnm-glib" ; needed by network-manager-applet
6490 "--with-systemd-journal=no"
6491 "--with-session-tracking=elogind"
6492 "--with-suspend-resume=elogind"
fd070f35
CM
6493 "--with-consolekit=no"
6494 "--with-crypto=gnutls"
ba5dd105
SB
6495 "--disable-config-plugin-ibft"
6496 "--sysconfdir=/etc"
6497 "--localstatedir=/var"
6498 (string-append "--with-udev-dir="
6499 out "/lib/udev")
6500 (string-append "--with-dbus-sys-dir="
6501 out "/etc/dbus-1/system.d")
6502 (string-append "--with-html-dir="
6503 doc "/share/gtk-doc/html")
6504 (string-append "--with-dhclient=" dhclient)))
6505 #:phases
6506 (modify-phases %standard-phases
02710a9b
RW
6507 ;; This bare "ls" invocation breaks some tests.
6508 (add-after 'unpack 'patch-ls-invocation
6509 (lambda _
6510 (substitute* "build-aux/ltmain.sh"
6511 (("`ls -")
6512 (string-append "`" (which "ls") " -")))
6513 #t))
b4f59d87
AW
6514 (add-before 'configure 'pre-configure
6515 (lambda _
6516 ;; These tests try to test aspects of network-manager's
6517 ;; functionality within restricted containers, but they don't
6518 ;; cope with being already in the Guix build jail as that jail
6519 ;; lacks some features that they would like to proxy over (like
6520 ;; a /sys mount).
d04687dc
HG
6521 (substitute* '("Makefile.in")
6522 (("src/platform/tests/test-address-linux") " ")
6523 (("src/platform/tests/test-cleanup-linux") " ")
6524 (("src/platform/tests/test-link-linux") " ")
6525 (("src/platform/tests/test-route-linux") " ")
02710a9b 6526 (("src/devices/tests/test-acd") "")
d04687dc
HG
6527 (("src/devices/tests/test-arping") " ")
6528 (("src/devices/tests/test-lldp") " ")
6529 (("src/tests/test-route-manager-linux") " "))
b4f59d87 6530 #t))
45f80fce
RW
6531 (add-after 'unpack 'delete-failing-tests
6532 (lambda _
02710a9b 6533 ;; FIXME: These three tests fail for unknown reasons.
45f80fce
RW
6534 ;; ERROR:libnm-core/tests/test-general.c:5842:
6535 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6536 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6537 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6538 ;; ERROR:libnm-core/tests/test-setting.c:907:
6539 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
45f80fce
RW
6540 (substitute* "Makefile.in"
6541 (("libnm-core/tests/test-general") " ")
6542 (("libnm-core/tests/test-keyfile") " ")
02710a9b 6543 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
45f80fce 6544 #t))
ba5dd105
SB
6545 (add-before 'check 'pre-check
6546 (lambda _
6547 ;; For the missing /etc/machine-id.
6548 (setenv "DBUS_FATAL_WARNINGS" "0")
6549 #t))
6550 (replace 'install
6551 (lambda _
45f80fce
RW
6552 (invoke "make"
6553 "sysconfdir=/tmp"
6554 "rundir=/tmp"
6555 "statedir=/tmp"
6556 "nmstatedir=/tmp/nm"
6557 "install")
6558 #t)))))
b93502d6
DC
6559 (propagated-inputs
6560 `(("glib" ,glib)))
ba5dd105
SB
6561 (native-inputs
6562 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6563 ("gobject-introspection" ,gobject-introspection)
d04687dc 6564 ("docbook-xsl" ,docbook-xsl)
ba5dd105 6565 ("intltool" ,intltool)
d04687dc
HG
6566 ("libxslt" ,libxslt)
6567 ("libxml2" ,libxml2)
ba5dd105
SB
6568 ("pkg-config" ,pkg-config)
6569 ;; For testing.
6570 ("python" ,python-wrapper)
6571 ("python-dbus" ,python-dbus)
6572 ("python-pygobject" ,python-pygobject)))
6573 (inputs
02710a9b
RW
6574 `(("coreutils" ,coreutils) ; for ls
6575 ("curl" ,curl)
856ca567
KK
6576 ("cyrus-sasl" ,cyrus-sasl)
6577 ("dbus-glib" ,dbus-glib)
ba5dd105 6578 ("dnsmasq" ,dnsmasq)
856ca567 6579 ("eudev" ,eudev)
ba5dd105
SB
6580 ("gnutls" ,gnutls)
6581 ("iptables" ,iptables)
6582 ("isc-dhcp" ,isc-dhcp)
d04687dc 6583 ("jansson" ,jansson)
ba5dd105
SB
6584 ("libgcrypt" ,libgcrypt)
6585 ("libgudev" ,libgudev)
6586 ("libndp" ,libndp)
6587 ("libnl" ,libnl)
6588 ("libsoup" ,libsoup)
142bdcbc 6589 ("modem-manager" ,modem-manager)
c27e02bf 6590 ("newt" ,newt) ;for the 'nmtui' console interface
ba5dd105
SB
6591 ("polkit" ,polkit)
6592 ("ppp" ,ppp)
6593 ("readline" ,readline)
fd070f35
CM
6594 ("util-linux" ,util-linux)
6595 ("elogind" ,elogind)))
ba5dd105 6596 (synopsis "Network connection manager")
f032d0be 6597 (home-page "https://www.gnome.org/projects/NetworkManager/")
ba5dd105
SB
6598 (description
6599 "NetworkManager is a system network service that manages your network
6600devices and connections, attempting to keep active network connectivity when
6601available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6602devices, and provides VPN integration with a variety of different VPN
6603services.")
29d2f451
LC
6604 (license license:gpl2+)
6605 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 6606
f2b96b3a
LC
6607(define-public network-manager-openvpn
6608 (package
6609 (name "network-manager-openvpn")
be1c4b07 6610 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
7d87eede 6611 (version "1.8.10")
f2b96b3a
LC
6612 (source (origin
6613 (method url-fetch)
6614 (uri (string-append
6615 "mirror://gnome/sources/NetworkManager-openvpn/"
6616 (version-major+minor version)
6617 "/NetworkManager-openvpn-" version ".tar.xz"))
6618 (sha256
6619 (base32
7d87eede 6620 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
f2b96b3a
LC
6621 (build-system gnu-build-system)
6622 (arguments
633422b0
JL
6623 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6624 #:phases
6625 (modify-phases %standard-phases
6626 (add-after 'configure 'patch-path
6627 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6628 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6629 "/sbin/openvpn"))
6630 (modprobe (string-append (assoc-ref inputs "kmod")
6631 "/bin/modprobe"))
6632 (pretty-ovpn (string-append "\"" ovpn "\"")))
6633 (for-each
6634 (lambda (file)
6635 (substitute* file
6636 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6637 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6638 (("\"/sbin/openvpn\"") pretty-ovpn)
6639 (("/sbin/modprobe") modprobe)))
6640 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6641 #t)))))
f2b96b3a
LC
6642 (native-inputs
6643 `(("pkg-config" ,pkg-config)
6644 ("intltool" ,intltool)))
6645 (inputs
6646 `(("gtk+" ,gtk+)
633422b0 6647 ("kmod" ,kmod)
f2b96b3a
LC
6648 ("openvpn" ,openvpn)
6649 ("network-manager" ,network-manager)
6650 ("network-manager-applet" ,network-manager-applet) ;for libnma
6651 ("libsecret" ,libsecret)))
6652 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6653 (synopsis "OpenVPN plug-in for NetworkManager")
6654 (description
6655 "This extension of NetworkManager allows it to take care of connections
6656to virtual private networks (VPNs) via OpenVPN.")
6657 (license license:gpl2+)
6658 (properties `((upstream-name . "NetworkManager-openvpn")))))
6659
d376129f
JL
6660(define-public network-manager-vpnc
6661 (package
6662 (name "network-manager-vpnc")
6663 (version "1.2.6")
6664 (source (origin
6665 (method url-fetch)
6666 (uri (string-append
6667 "mirror://gnome/sources/NetworkManager-vpnc/"
6668 (version-major+minor version)
6669 "/NetworkManager-vpnc-" version ".tar.xz"))
6670 (sha256
6671 (base32
6672 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6673 (build-system gnu-build-system)
6674 (arguments
6675 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6676 #:phases
6677 (modify-phases %standard-phases
6678 (add-after 'configure 'patch-path
6679 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6680 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6681 "/sbin/vpnc"))
6682 (modprobe (string-append (assoc-ref inputs "kmod")
6683 "/bin/modprobe"))
6684 (pretty-ovpn (string-append "\"" vpnc "\"")))
6685 (substitute* "src/nm-vpnc-service.c"
6686 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6687 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6688 (("\"/sbin/vpnc\"") pretty-ovpn)
6689 (("/sbin/modprobe") modprobe)))
6690 #t)))))
6691 (native-inputs
6692 `(("pkg-config" ,pkg-config)
6693 ("intltool" ,intltool)))
6694 (inputs
6695 `(("gtk+" ,gtk+)
6696 ("kmod" ,kmod)
6697 ("vpnc" ,vpnc)
6698 ("network-manager" ,network-manager)
6699 ("network-manager-applet" ,network-manager-applet) ;for libnma
6700 ("libsecret" ,libsecret)))
6701 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6702 (synopsis "VPNC plug-in for NetworkManager")
6703 (description
6704 "Support for configuring virtual private networks based on VPNC.
6705Compatible with Cisco VPN concentrators configured to use IPsec.")
6706 (license license:gpl2+)
6707 (properties `((upstream-name . "NetworkManager-vpnc")))))
6708
8378c87a
EF
6709(define-public network-manager-openconnect
6710 (package
6711 (name "network-manager-openconnect")
6712 (version "1.2.6")
6713 (source (origin
6714 (method url-fetch)
6715 (uri (string-append
6716 "mirror://gnome/sources/NetworkManager-openconnect/"
6717 (version-major+minor version)
6718 "/NetworkManager-openconnect-" version ".tar.xz"))
6719 (sha256
6720 (base32
6721 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6722 (build-system gnu-build-system)
6723 (arguments
6724 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6725 #:phases
6726 (modify-phases %standard-phases
6727 (add-after 'configure 'patch-path
6728 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6729 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6730 "/sbin/openconnect"))
6731 (modprobe (string-append (assoc-ref inputs "kmod")
6732 "/bin/modprobe"))
6733 (pretty-ovpn (string-append "\"" openconnect "\"")))
6734 (substitute* "src/nm-openconnect-service.c"
6735 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6736 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6737 (("/sbin/modprobe") modprobe)))
6738 #t)))))
6739 (native-inputs
6740 `(("intltool" ,intltool)
6741 ("network-manager-applet" ,network-manager-applet) ;for libnma
6742 ("pkg-config" ,pkg-config)))
6743 (inputs
6744 `(("gcr" ,gcr)
6745 ("gtk+" ,gtk+)
6746 ("kmod" ,kmod)
6747 ("libsecret" ,libsecret)
6748 ("libxml2" ,libxml2)
6749 ("network-manager" ,network-manager)
6750 ("openconnect" ,openconnect)))
6751 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6752 (synopsis "OpenConnect plug-in for NetworkManager")
6753 (description
6754 "This extension of NetworkManager allows it to take care of connections
6755to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6756Cisco's AnyConnect SSL VPN.")
6757 (license license:gpl2+)
e52b9534
LC
6758 (properties `((upstream-name . "NetworkManager-openconnect")
6759
6760 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6761 ;; file refers to account "nm-openconnect". Specify it here
6762 ;; so that 'network-manager-service-type' creates it.
6763 (user-accounts . ("nm-openconnect"))))))
8378c87a 6764
e5e1df4d
DC
6765(define-public mobile-broadband-provider-info
6766 (package
6767 (name "mobile-broadband-provider-info")
310c89e3 6768 (version "20190116")
e5e1df4d
DC
6769 (source (origin
6770 (method url-fetch)
6771 (uri (string-append
6772 "mirror://gnome/sources/"
6773 "mobile-broadband-provider-info/" version "/"
6774 "mobile-broadband-provider-info-" version ".tar.xz"))
6775 (sha256
6776 (base32
310c89e3 6777 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
e5e1df4d
DC
6778 (build-system gnu-build-system)
6779 (arguments
310c89e3 6780 `(#:tests? #f)) ; no tests
e5e1df4d
DC
6781 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6782 (synopsis "Database of broadband connection configuration")
6783 (description "Database of broadband connection configuration.")
6784 (license license:public-domain)))
6785
4d62a9d3
SB
6786(define-public network-manager-applet
6787 (package
6788 (name "network-manager-applet")
8fc3a337 6789 (version "1.8.24")
4d62a9d3
SB
6790 (source (origin
6791 (method url-fetch)
3df63444 6792 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
4d62a9d3 6793 (version-major+minor version) "/"
3df63444 6794 "network-manager-applet-" version ".tar.xz"))
4d62a9d3
SB
6795 (sha256
6796 (base32
8fc3a337 6797 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
cd7f718e
RW
6798 (build-system meson-build-system)
6799 (arguments
be1c4b07
TGR
6800 '(#:configure-flags
6801 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6802 (list "-Dlibnm_gtk=true")
6803 #:glib-or-gtk? #t))
4d62a9d3
SB
6804 (native-inputs
6805 `(("intltool" ,intltool)
cd7f718e 6806 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4d62a9d3 6807 ("gobject-introspection" ,gobject-introspection)
cd7f718e 6808 ("gtk-doc" ,gtk-doc)
4d62a9d3
SB
6809 ("pkg-config" ,pkg-config)))
6810 (propagated-inputs
6811 ;; libnm-gtk.pc refers to all these.
6812 `(("dbus-glib" ,dbus-glib)
6813 ("gtk+" ,gtk+)
6814 ("network-manager" ,network-manager)))
6815 (inputs
cd7f718e
RW
6816 `(("gcr" ,gcr)
6817 ("iso-codes" ,iso-codes)
4d62a9d3
SB
6818 ("libgudev" ,libgudev)
6819 ("libnotify" ,libnotify)
2116bfb3 6820 ("libsecret" ,libsecret)
240cee8a
KK
6821 ("libselinux" ,libselinux)
6822 ("jansson" ,jansson) ; for team support
3e9c80b2
FP
6823 ("modem-manager" ,modem-manager)
6824 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
4d62a9d3 6825 (synopsis "Applet for managing network connections")
f032d0be 6826 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
6827 (description
6828 "This package contains a systray applet for NetworkManager. It displays
6829the available networks and allows users to easily switch between them.")
6830 (license license:gpl2+)))
56196594
RW
6831
6832(define-public libxml++
6833 (package
6834 (name "libxml++")
8344a85e 6835 (version "3.0.1")
56196594
RW
6836 (source (origin
6837 (method url-fetch)
6838 (uri (string-append "mirror://gnome/sources/" name "/"
6839 (version-major+minor version) "/"
6840 name "-" version ".tar.xz"))
6841 (sha256
6842 (base32
8344a85e 6843 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
6844 (build-system gnu-build-system)
6845 ;; libxml++-3.0.pc refers to all these.
6846 (propagated-inputs
6847 `(("libxml2" ,libxml2)
6848 ("glibmm" ,glibmm)))
6849 (native-inputs
6850 `(("perl" ,perl)
6851 ("pkg-config" ,pkg-config)))
6852 (home-page "http://libxmlplusplus.sourceforge.net/")
6853 (synopsis "C++ wrapper for XML parser library libxml2")
6854 (description
6855 "This package provides a C++ wrapper for the XML parser library
6856libxml2.")
6857 (license license:lgpl2.1+)))
df12f04a 6858
b61d9627
AW
6859(define-public libxml++-2
6860 (package
6861 (inherit libxml++)
6862 (name "libxml++")
6863 (version "2.40.1")
6864 (source (origin
6865 (method url-fetch)
6866 (uri (string-append "mirror://gnome/sources/" name "/"
6867 (version-major+minor version) "/"
6868 name "-" version ".tar.xz"))
6869 (sha256
6870 (base32
6871 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6872
df12f04a
SB
6873(define-public gdm
6874 (package
6875 (name "gdm")
bcca95dc 6876 (version "3.32.0")
df12f04a
SB
6877 (source (origin
6878 (method url-fetch)
6879 (uri (string-append "mirror://gnome/sources/" name "/"
6880 (version-major+minor version) "/"
6881 name "-" version ".tar.xz"))
6882 (sha256
6883 (base32
bcca95dc 6884 "12ypdz9i24hwbl1d1wnnxb8zlvfa4f49n9ac5cl9d6h8qp4b0gb4"))))
957dbc0a 6885 (build-system glib-or-gtk-build-system)
df12f04a
SB
6886 (arguments
6887 '(#:configure-flags
af37e6bb 6888 `("--without-plymouth"
957dbc0a 6889 "--disable-systemd-journal"
51bc8357
TS
6890
6891 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6892 ;; instead of having to replace it (i.e., stopping the mingetty
6893 ;; service for TTY 1 before starting GDM).
6894 "--with-initial-vt=7"
6895
89c86562
TS
6896 ;; Use '/etc/environment' for locale settings instead of the
6897 ;; systemd-specific '/etc/locale.conf'.
6898 "--with-lang-file=/etc/environment"
6899
b74ef0ba
RW
6900 ,(string-append "--with-udevdir="
6901 (assoc-ref %outputs "out") "/lib/udev")
6902
af37e6bb
AW
6903 "--localstatedir=/var"
6904 ,(string-append "--with-default-path="
6905 (string-join '("/run/setuid-programs"
6906 "/run/current-system/profile/bin"
6907 "/run/current-system/profile/sbin")
957dbc0a
AW
6908 ":"))
6909 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6910 ;; XDG_DATA_DIRS so that it finds its schemas.
6911 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
6912 #:phases
6913 (modify-phases %standard-phases
6914 (add-before
6915 'configure 'pre-configure
e8c6e771 6916 (lambda* (#:key inputs outputs #:allow-other-keys)
df12f04a
SB
6917 ;; We don't have <systemd/sd-daemon.h>.
6918 (substitute* '("common/gdm-log.c"
6919 "daemon/gdm-server.c"
6920 "daemon/gdm-session-worker.c"
6921 "daemon/gdm-session-worker-job.c")
6922 (("#include <systemd/sd-daemon\\.h>") ""))
6923 ;; Use elogind for sd-login.
6924 (substitute* '("common/gdm-common.c"
6925 "daemon/gdm-manager.c"
6926 "libgdm/gdm-user-switching.c")
6927 (("#include <systemd/sd-login\\.h>")
6928 "#include <elogind/sd-login.h>"))
957dbc0a
AW
6929 ;; Check for elogind.
6930 (substitute* '("configure")
6931 (("libsystemd")
6932 "libelogind"))
af37e6bb
AW
6933 ;; Look for system-installed sessions in
6934 ;; /run/current-system/profile/share.
6935 (substitute* '("libgdm/gdm-sessions.c"
6936 "daemon/gdm-session.c"
6937 "daemon/gdm-display.c"
6938 "daemon/gdm-launch-environment.c")
6939 (("DATADIR \"/x")
6940 "\"/run/current-system/profile/share/x")
6941 (("DATADIR \"/wayland")
6942 "\"/run/current-system/profile/share/wayland")
6943 (("DATADIR \"/gnome")
6944 "\"/run/current-system/profile/share/gnome"))
c9ff92b5 6945 (let ((propagate '("GDM_CUSTOM_CONF"
1f564c15 6946 "GDM_DBUS_DAEMON"
c9ff92b5 6947 "GDM_X_SERVER"
41fa9f18 6948 "GDM_X_SESSION"
c9ff92b5
TS
6949 ;; XXX: Remove this once GNOME Shell is
6950 ;; a dependency of GDM.
6951 "XDG_DATA_DIRS")))
6952 (substitute* "daemon/gdm-session.c"
6953 (("set_up_session_environment \\(self\\);")
6954 (apply string-append
6955 "set_up_session_environment (self);\n"
6956 (map (lambda (name)
6957 (string-append
6958 "gdm_session_set_environment_variable "
6959 "(self, \"" name "\","
6960 "g_getenv (\"" name "\"));\n"))
6961 propagate)))))
a430a350
TS
6962 ;; Find the configuration file using an environment variable.
6963 (substitute* '("common/gdm-settings.c")
e0e6756f 6964 (("GDM_CUSTOM_CONF")
e57c2adb
TS
6965 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6966 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6967 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
6968 ;; Use service-supplied path to X.
6969 (substitute* '("daemon/gdm-server.c")
6970 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6971 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6972 (substitute* '("daemon/gdm-x-session.c")
1f564c15
TS
6973 (("\"dbus-daemon\"")
6974 "g_getenv (\"GDM_DBUS_DAEMON\")")
e0e6756f 6975 (("X_SERVER")
41fa9f18
TS
6976 "g_getenv (\"GDM_X_SERVER\")")
6977 (("GDMCONFDIR \"/Xsession\"")
6978 "g_getenv (\"GDM_X_SESSION\")"))
def6d6b6
TS
6979 ;; Use an absolute path for GNOME Session.
6980 (substitute* "daemon/gdm-launch-environment.c"
6981 (("\"gnome-session\"")
6982 (string-append "\"" (assoc-ref inputs "gnome-session")
6983 "/bin/gnome-session\"")))
e8c6e771
TS
6984 ;; Do not automatically select the placeholder session.
6985 (substitute* "daemon/gdm-session.c"
6986 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6987 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6988 "(g_strcmp0(search_dirs[i], \""
6989 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6990 "\") == 0 && "
6991 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6992 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
bcca95dc 6993 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
69544798 6994 #t))
8caa4589
TS
6995 ;; GDM requires that there be at least one desktop entry
6996 ;; file. This phase installs a hidden one that simply
6997 ;; fails. This enables users to use GDM with a
6998 ;; '~/.xsession' script with no other desktop entry files.
6999 ;; See <https://bugs.gnu.org/35068>.
7000 (add-after 'install 'install-placeholder-desktop-entry
7001 (lambda* (#:key inputs outputs #:allow-other-keys)
7002 (let* ((out (assoc-ref outputs "out"))
7003 (sessions (string-append out "/share/gdm/BuiltInSessions"))
7004 (fail (string-append sessions "/fail.desktop")))
7005 (mkdir-p sessions)
7006 (with-output-to-file fail
7007 (lambda ()
7008 (for-each
7009 display
7010 '("[Desktop Entry]\n"
7011 "Encoding=UTF-8\n"
7012 "Type=Application\n"
7013 "Name=Fail\n"
7014 "Comment=This session fails immediately.\n"
7015 "NoDisplay=true\n"
7016 "Exec=false\n"))))
7017 #t)))
69544798
TS
7018 ;; GDM needs GNOME Session to run these applications. We link
7019 ;; their autostart files in `share/gdm/greeter/autostart'
7020 ;; because GDM explicitly tells GNOME Session to look there.
7021 ;;
7022 ;; XXX: GNOME Shell should be linked here too, but currently
7023 ;; GNOME Shell depends on GDM.
7024 (add-after 'install 'link-autostart-files
7025 (lambda* (#:key inputs outputs #:allow-other-keys)
7026 (let* ((out (assoc-ref outputs "out"))
7027 (autostart (string-append out "/share/gdm/"
7028 "greeter/autostart"))
7029 (settings (assoc-ref inputs "gnome-settings-daemon")))
7030 (mkdir-p autostart)
7031 (with-directory-excursion autostart
7032 (for-each (lambda (desktop)
7033 (symlink desktop (basename desktop)))
7034 (find-files (string-append settings "/etc/xdg"))))
7035 #t))))))
df12f04a
SB
7036 (native-inputs
7037 `(("dconf" ,dconf)
7038 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7039 ("gobject-introspection" ,gobject-introspection)
7040 ("intltool" ,intltool)
7041 ("itstool" ,itstool)
7042 ("pkg-config" ,pkg-config)
7043 ("xmllint" ,libxml2)))
7044 (inputs
7045 `(("accountsservice" ,accountsservice)
7046 ("check" ,check) ; for testing
7047 ("elogind" ,elogind)
def6d6b6 7048 ("gnome-session" ,gnome-session)
69544798 7049 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
7050 ("gtk+" ,gtk+)
7051 ("iso-codes" ,iso-codes)
7052 ("libcanberra" ,libcanberra)
7053 ("linux-pam" ,linux-pam)))
7054 (synopsis "Display manager for GNOME")
f032d0be 7055 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
7056 (description
7057 "GNOME Display Manager is a system service that is responsible for
7058providing graphical log-ins and managing local and remote displays.")
7059 (license license:gpl2+)))
8e1dd04f
SB
7060
7061(define-public libgtop
7062 (package
7063 (name "libgtop")
015fc036 7064 (version "2.40.0")
8e1dd04f
SB
7065 (source (origin
7066 (method url-fetch)
59487fc2 7067 (uri (string-append "mirror://gnome/sources/libgtop/"
8e1dd04f 7068 (version-major+minor version) "/"
59487fc2 7069 "libgtop-" version ".tar.xz"))
8e1dd04f
SB
7070 (sha256
7071 (base32
015fc036 7072 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8e1dd04f
SB
7073 (build-system gnu-build-system)
7074 (native-inputs
7075 `(("gobject-introspection" ,gobject-introspection)
7076 ("intltool" ,intltool)
7077 ("perl" ,perl)
7078 ("pkg-config" ,pkg-config)))
7079 (propagated-inputs
7080 `(("glib" ,glib))) ; required by libgtop-2.0.pc
7081 (synopsis "Portable system access library")
7082 (home-page "https://www.gnome.org/")
7083 (description
7084 "LibGTop is a library to get system specific data such as CPU and memory
7085usage and information about running processes.")
7086 (license license:gpl2+)))
b96c4260
SB
7087
7088(define-public gnome-bluetooth
7089 (package
7090 (name "gnome-bluetooth")
723afae6 7091 (version "3.32.1")
b96c4260
SB
7092 (source (origin
7093 (method url-fetch)
7094 (uri (string-append "mirror://gnome/sources/" name "/"
7095 (version-major+minor version) "/"
7096 name "-" version ".tar.xz"))
7097 (sha256
7098 (base32
723afae6 7099 "1am1gf0nzwg6x1s8ly13j0xnjzgrfj06j0dp52x4zy9s67ywlhb4"))))
fd3b1171 7100 (build-system meson-build-system)
b96c4260
SB
7101 (native-inputs
7102 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
fd3b1171 7103 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
b96c4260
SB
7104 ("gobject-introspection" ,gobject-introspection)
7105 ("intltool" ,intltool)
7106 ("pkg-config" ,pkg-config)
7107 ("xmllint" ,libxml2)))
7108 (propagated-inputs
7109 ;; gnome-bluetooth-1.0.pc refers to all these.
723afae6
KK
7110 `(("glib" ,glib)
7111 ("gtk+" ,gtk+)))
b96c4260 7112 (inputs
723afae6
KK
7113 `(("eudev" ,eudev)
7114 ("libcanberra" ,libcanberra)
b96c4260
SB
7115 ("libnotify" ,libnotify)))
7116 (synopsis "GNOME Bluetooth subsystem")
7117 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
7118 (description
7119 "This package contains tools for managing and manipulating Bluetooth
7120devices using the GNOME desktop.")
7121 (license license:lgpl2.1+)))
b645146f
SB
7122
7123(define-public gnome-control-center
7124 (package
7125 (name "gnome-control-center")
a6938bac 7126 (version "3.32.2")
b645146f
SB
7127 (source (origin
7128 (method url-fetch)
7129 (uri (string-append "mirror://gnome/sources/" name "/"
7130 (version-major+minor version) "/"
7131 name "-" version ".tar.xz"))
7132 (sha256
7133 (base32
a6938bac 7134 "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
59dac026 7135 (build-system meson-build-system)
b645146f 7136 (arguments
59dac026
RW
7137 '(#:glib-or-gtk? #t
7138 #:configure-flags
64c70430
KK
7139 (list "-Dcheese=false"
7140 (string-append "-Dgnome_session_libexecdir="
7141 (assoc-ref %build-inputs "gnome-session")
7142 "/libexec"))
59dac026 7143 #:phases
b645146f
SB
7144 (modify-phases %standard-phases
7145 (add-before 'configure 'patch-paths
7146 (lambda* (#:key inputs #:allow-other-keys)
7147 (let ((libc (assoc-ref inputs "libc"))
1df38cfc 7148 (tzdata (assoc-ref inputs "tzdata"))
341225ac 7149 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
64c70430
KK
7150 (nm-applet (assoc-ref inputs "network-manager-applet"))
7151 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
b645146f
SB
7152 (substitute* "panels/datetime/tz.h"
7153 (("/usr/share/zoneinfo/zone.tab")
7154 (string-append tzdata "/share/zoneinfo/zone.tab")))
982c0b36 7155 (substitute* "tests/datetime/test-endianess.c"
b645146f
SB
7156 (("/usr/share/locale")
7157 (string-append libc "/share/locale")))
1df38cfc
LC
7158 (substitute* "panels/region/cc-region-panel.c"
7159 (("\"gkbd-keyboard-display")
7160 (string-append "\"" libgnomekbd
7161 "/bin/gkbd-keyboard-display")))
341225ac
LC
7162 (substitute* '("panels/network/net-device-wifi.c"
7163 "panels/network/net-device.c"
7164 "panels/network/connection-editor/net-connection-editor.c")
7165 (("\"nm-connection-editor")
7166 (string-append "\"" nm-applet
7167 "/bin/nm-connection-editor")))
1acd107c
FP
7168 (substitute* '("panels/user-accounts/run-passwd.c")
7169 (("/usr/bin/passwd")
7170 "/run/setuid-programs/passwd"))
64c70430
KK
7171 (substitute* "panels/info/cc-info-overview-panel.c"
7172 (("DATADIR \"/gnome/gnome-version.xml\"")
7173 (string-append "\"" gnome-desktop
7174 "/share/gnome/gnome-version.xml\"")))
b645146f
SB
7175 #t))))))
7176 (native-inputs
7177 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
59dac026 7178 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
b645146f
SB
7179 ("intltool" ,intltool)
7180 ("pkg-config" ,pkg-config)
a6938bac
KK
7181 ("xsltproc" ,libxslt)
7182 ;; For tests
7183 ("hicolor-icon-theme" ,hicolor-icon-theme)
7184 ("python-dbusmock" ,python-dbusmock)
7185 ("xorg-server" ,xorg-server-for-tests)))
b645146f
SB
7186 (inputs
7187 `(("accountsservice" ,accountsservice)
7188 ("clutter-gtk" ,clutter-gtk)
7189 ("colord-gtk" ,colord-gtk)
7190 ("cups" ,cups)
7191 ("dconf" ,dconf)
7192 ("docbook-xsl" ,docbook-xsl)
3446ffb5 7193 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
7194 ("gnome-bluetooth" ,gnome-bluetooth)
7195 ("gnome-desktop" ,gnome-desktop)
7196 ("gnome-online-accounts" ,gnome-online-accounts)
14c297fd 7197 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
64c70430 7198 ("gnome-session" ,gnome-session)
b645146f
SB
7199 ("gnome-settings-daemon" ,gnome-settings-daemon)
7200 ("grilo" ,grilo)
a6938bac 7201 ("gsound" ,gsound)
b645146f
SB
7202 ("ibus" ,ibus)
7203 ("libcanberra" ,libcanberra)
1df38cfc 7204 ("libgnomekbd" ,libgnomekbd)
b645146f
SB
7205 ("libgudev" ,libgudev)
7206 ("libgtop" ,libgtop)
7207 ("libpwquality" ,libpwquality)
982c0b36 7208 ("libsecret" ,libsecret)
b645146f
SB
7209 ("libsoup" ,libsoup)
7210 ("libxml2" ,libxml2)
7211 ("libwacom" ,libwacom)
7212 ("mesa" ,mesa)
7213 ("mit-krb5" ,mit-krb5)
7214 ("modem-manager" ,modem-manager)
7215 ("network-manager-applet" ,network-manager-applet)
7216 ("polkit" ,polkit)
7217 ("pulseaudio" ,pulseaudio)
7218 ("smbclient" ,samba)
7219 ("tzdata" ,tzdata)
982c0b36 7220 ("udisks" ,udisks)
b645146f
SB
7221 ("upower" ,upower)))
7222 (synopsis "Utilities to configure the GNOME desktop")
7223 (home-page "https://www.gnome.org/")
7224 (description
7225 "This package contains configuration applets for the GNOME desktop,
7226allowing to set accessibility configuration, desktop fonts, keyboard and mouse
7227properties, sound setup, desktop theme and background, user interface
7228properties, screen resolution, and other GNOME parameters.")
7229 (license license:gpl2+)))
a4df5756
SB
7230
7231(define-public gnome-shell
7232 (package
7233 (name "gnome-shell")
d5e615ca 7234 (version "3.32.2")
a4df5756
SB
7235 (source (origin
7236 (method url-fetch)
7237 (uri (string-append "mirror://gnome/sources/" name "/"
7238 (version-major+minor version) "/"
7239 name "-" version ".tar.xz"))
7240 (sha256
7241 (base32
d5e615ca 7242 "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5"))
a76d0f03
LC
7243 (patches (search-patches "gnome-shell-theme.patch"))
7244 (modules '((guix build utils)))
7245 (snippet
7246 #~(begin
a76d0f03
LC
7247 ;; Copy images for use on the GDM log-in screen.
7248 (copy-file #$(file-append %artwork-repository
7249 "/slim/0.x/background.png")
7250 "data/theme/guix-background.png")
45fef894
LC
7251 (copy-file #$(file-append %artwork-repository
7252 "/logo/Guix-horizontal-white.svg")
7253 "data/theme/guix-logo.svg")
a76d0f03 7254 #t))))
2b0c755d 7255 (build-system meson-build-system)
a4df5756 7256 (arguments
08185081
MB
7257 `(#:glib-or-gtk? #t
7258 #:disallowed-references ((,glib "bin")
11e1df56
LC
7259 ,inkscape ,libxslt
7260 ,ruby-sass)
2b0c755d
RW
7261 #:configure-flags
7262 (list "-Dsystemd=false"
7263 ;; Otherwise, the RUNPATH will lack the final path component.
7264 (string-append "-Dc_link_args=-Wl,-rpath="
7265 (assoc-ref %outputs "out")
7266 "/lib/gnome-shell"))
11e1df56 7267
08185081 7268 #:modules ((guix build meson-build-system)
11e1df56
LC
7269 (guix build utils)
7270 (srfi srfi-1))
7271
2b0c755d 7272 #:phases
a4df5756 7273 (modify-phases %standard-phases
2b0c755d 7274 (add-after 'unpack 'fix-keysdir
a4df5756
SB
7275 (lambda* (#:key outputs #:allow-other-keys)
7276 (let* ((out (assoc-ref outputs "out"))
7277 (keysdir (string-append
7278 out "/share/gnome-control-center/keybindings")))
2b0c755d
RW
7279 (substitute* "meson.build"
7280 (("keysdir =.*")
7281 (string-append "keysdir = '" keysdir "'\n")))
7282 #t)))
ebfe259f
MB
7283 (add-before 'configure 'convert-logo-to-png
7284 (lambda* (#:key inputs #:allow-other-keys)
7285 ;; Convert the logo from SVG to PNG.
7286 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
7287 "data/theme/guix-logo.svg")))
ba00235a 7288 (add-before 'configure 'record-absolute-file-names
2472cdec
LC
7289 (lambda* (#:key inputs #:allow-other-keys)
7290 (substitute* "js/misc/ibusManager.js"
7291 (("'ibus-daemon'")
7292 (string-append "'" (assoc-ref inputs "ibus")
7293 "/bin/ibus-daemon'")))
d6fda4d3
LC
7294 (substitute* "js/ui/status/keyboard.js"
7295 (("'gkbd-keyboard-display'")
7296 (string-append "'" (assoc-ref inputs "libgnomekbd")
7297 "/bin/gkbd-keyboard-display'")))
2472cdec 7298 #t))
2b0c755d
RW
7299 (add-before 'check 'pre-check
7300 (lambda* (#:key inputs #:allow-other-keys)
7301 ;; Tests require a running X server.
7302 (system "Xvfb :1 &")
7303 (setenv "DISPLAY" ":1")
7304 #t))
7305 (add-after 'install 'wrap-programs
7306 (lambda* (#:key inputs outputs #:allow-other-keys)
7307 (let ((out (assoc-ref outputs "out"))
7308 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7309 (python-path (getenv "PYTHONPATH")))
7310 (wrap-program (string-append out "/bin/gnome-shell")
7311 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7312 ;; FIXME: gnome-shell loads these libraries with unqualified
7313 ;; names only, so they need to be on LD_LIBRARY_PATH. The
7314 ;; alternative might be to patch gnome-shell.
7315 `("LD_LIBRARY_PATH" ":" prefix
7316 ,(map (lambda (pkg)
7317 (string-append (assoc-ref inputs pkg) "/lib"))
cd8dce8a
RW
7318 '("gdk-pixbuf"
7319 "gnome-bluetooth" "librsvg" "libgweather"))))
2b0c755d
RW
7320 (for-each
7321 (lambda (prog)
7322 (wrap-program (string-append out "/bin/" prog)
7323 `("PYTHONPATH" ":" prefix (,python-path))
7324 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7325 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
08185081 7326 #t)))
11e1df56
LC
7327 (replace 'glib-or-gtk-wrap
7328 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
7329 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
7330 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
7331 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
7332 ;; phase. Fix that since we don't need these.
7333 (wrap #:inputs (fold alist-delete inputs
7334 '("inkscape" "intltool" "glib:bin"))
7335 #:outputs outputs)))))))
a4df5756
SB
7336 (native-inputs
7337 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2b0c755d 7338 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
a4df5756 7339 ("gobject-introspection" ,gobject-introspection)
ebfe259f 7340 ("inkscape" ,inkscape)
a4df5756
SB
7341 ("intltool" ,intltool)
7342 ("pkg-config" ,pkg-config)
7343 ("python" ,python)
2b0c755d
RW
7344 ("ruby-sass" ,ruby-sass)
7345 ("sassc" ,sassc)
a76d0f03 7346 ("xsltproc" ,libxslt)
2b0c755d 7347 ;; For tests
0b4504f6 7348 ("xorg-server" ,xorg-server-for-tests)))
a4df5756
SB
7349 (inputs
7350 `(("accountsservice" ,accountsservice)
7351 ("caribou" ,caribou)
7352 ("docbook-xsl" ,docbook-xsl)
7353 ("evolution-data-server" ,evolution-data-server)
7354 ("gcr" ,gcr)
7355 ("gdm" ,gdm)
c5db31d4 7356 ("gdk-pixbuf" ,gdk-pixbuf+svg)
a4df5756
SB
7357 ("gjs" ,gjs)
7358 ("gnome-bluetooth" ,gnome-bluetooth)
a4df5756
SB
7359 ("gnome-desktop" ,gnome-desktop)
7360 ("gnome-settings-daemon" ,gnome-settings-daemon)
7361 ("gst-plugins-base" ,gst-plugins-base)
7362 ("ibus" ,ibus)
7363 ("libcanberra" ,libcanberra)
7364 ("libcroco" ,libcroco)
d6fda4d3 7365 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
a4df5756
SB
7366 ("libgweather" ,libgweather)
7367 ("libsoup" ,libsoup)
7368 ("mesa-headers" ,mesa-headers)
7369 ("mutter" ,mutter)
7370 ("network-manager-applet" ,network-manager-applet)
7371 ("polkit" ,polkit)
7372 ("pulseaudio" ,pulseaudio)
7373 ("python-pygobject" ,python-pygobject)
7374 ("startup-notification" ,startup-notification)
7375 ("telepathy-logger" ,telepathy-logger)
7376 ("upower" ,upower)
30e760f0
MB
7377 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
7378 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
7379 ("librsvg" ,librsvg)
2b0c755d 7380 ("geoclue" ,geoclue)))
a4df5756
SB
7381 (synopsis "Desktop shell for GNOME")
7382 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
7383 (description
7384 "GNOME Shell provides core user interface functions for the GNOME desktop,
7385like switching to windows and launching applications.")
7386 (license license:gpl2+)))
c3f29bc9
RS
7387
7388(define-public gtk-vnc
7389 (package
7390 (name "gtk-vnc")
965ff023 7391 (version "0.9.0")
c3f29bc9
RS
7392 (source
7393 (origin
7394 (method url-fetch)
7395 (uri (string-append "mirror://gnome/sources/" name "/"
7396 (version-major+minor version) "/"
7397 name "-" version ".tar.xz"))
7398 (sha256
7399 (base32
965ff023 7400 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
7401 (build-system gnu-build-system)
7402 (arguments
7403 '(#:configure-flags '("--with-gtk=3.0")))
7404 (propagated-inputs
7405 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
7406 (inputs
7407 `(("cyrus-sasl" ,cyrus-sasl)
7408 ("gnutls" ,gnutls)
7409 ("libgcrypt" ,libgcrypt)
7410 ("pulseaudio" ,pulseaudio)))
7411 (native-inputs
7412 `(("glib:bin" ,glib "bin")
7413 ("gobject-introspection" ,gobject-introspection)
7414 ("intltool" ,intltool)
7415 ("pkg-config" ,pkg-config)
2f17e939 7416 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
7417 ("vala" ,vala)))
7418 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
7419 (synopsis "VNC viewer widget for GTK+")
7420 (description
7421 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
7422applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
7423GTK-VNC implements client side RFB protocol and authentication extensions such
7424as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
7425 (license license:lgpl2.1+)))
8b877545 7426
dc69fe18
MW
7427(define-public gnome-autoar
7428 (package
7429 (name "gnome-autoar")
c7da8510 7430 (version "0.2.3")
dc69fe18
MW
7431 (source (origin
7432 (method url-fetch)
7433 (uri (string-append "mirror://gnome/sources/" name "/"
7434 (version-major+minor version) "/"
7435 name "-" version ".tar.xz"))
7436 (sha256
7437 (base32
c7da8510 7438 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
7439 (build-system glib-or-gtk-build-system)
7440 (native-inputs
7441 `(("gnome-common" ,gnome-common)
7442 ("gobject-introspection" ,gobject-introspection)
7443 ("pkg-config" ,pkg-config)))
7444 (propagated-inputs
7445 `(("libarchive" ,libarchive))) ; XXX document why
7446 (inputs
0a6e9e13 7447 `(("gtk+" ,gtk+)))
dc69fe18
MW
7448 (synopsis "Archives integration support for GNOME")
7449 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7450 (description
7451 "GNOME Autoar is a library which makes creating and extracting archives
7452easy, safe, and automatic.")
7453 (license license:lgpl2.1+)))
7454
b64e217f
MW
7455(define-public tracker
7456 (package
7457 (name "tracker")
caaefa40 7458 (version "2.3.4")
b64e217f
MW
7459 (source (origin
7460 (method url-fetch)
b5b0fd23 7461 (uri (string-append "mirror://gnome/sources/tracker/"
b64e217f 7462 (version-major+minor version) "/"
b5b0fd23 7463 "tracker-" version ".tar.xz"))
b64e217f
MW
7464 (sha256
7465 (base32
caaefa40 7466 "0vai0qz9jn3z5dlzysynwhbbmslp84ygdql81f5wfxxr98j54yap"))))
5ada561c 7467 (build-system meson-build-system)
c8bdf589 7468 (arguments
5ada561c
KK
7469 `(#:glib-or-gtk? #t
7470 #:configure-flags
7471 ;; Otherwise, the RUNPATH will lack the final path component.
7472 (list (string-append "-Dc_link_args=-Wl,-rpath="
7473 (assoc-ref %outputs "out") "/lib:"
7474 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7475 #:phases
c8bdf589 7476 (modify-phases %standard-phases
c8bdf589
RW
7477 (add-before 'check 'pre-check
7478 (lambda _
63db190a
PN
7479 ;; Some tests expect to write to $HOME.
7480 (setenv "HOME" "/tmp")
c8bdf589 7481 #t)))))
b64e217f 7482 (native-inputs
5ada561c 7483 `(("glib:bin" ,glib "bin")
b64e217f 7484 ("gobject-introspection" ,gobject-introspection)
5ada561c 7485 ("python-pygobject" ,python-pygobject)
b64e217f
MW
7486 ("intltool" ,intltool)
7487 ("pkg-config" ,pkg-config)
7488 ("vala" ,vala)))
7489 (inputs
63db190a 7490 `(("dbus" ,dbus)
44ed6284 7491 ("sqlite" ,sqlite)
b64e217f 7492 ("libxml2" ,libxml2)
63db190a 7493 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
0ef48cd9 7494 ("json-glib" ,json-glib)
63db190a 7495 ("libsoup" ,libsoup)))
b64e217f
MW
7496 (synopsis "Metadata database, indexer and search tool")
7497 (home-page "https://wiki.gnome.org/Projects/Tracker")
7498 (description
63db190a
PN
7499 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
7500
7501It is a middleware component aimed at desktop application developers who want
7502their apps to browse and search user content. It's not designed to be used
7503directly by desktop users, but it provides a commandline tool named
7504@command{tracker} for the adventurous.
7505
7506Tracker allows your application to instantly perform full-text searches across
7507all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
7508example. This is achieved by indexing the user's home directory in the
7509background.
7510
7511Tracker also allows your application to query and list content that the user
7512has stored. For example, GNOME Music displays all the music files that are
7513found by Tracker. This means that GNOME Music doesn't need to maintain a
7514database of its own.
7515
7516If you need to go beyond simple searches, Tracker is also a linked data
7517endpoint and it understands SPARQL. ")
7518 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
b64e217f 7519 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
63db190a 7520 ;; libstemmer is bsd-3 and the rest is gpl2+.
b64e217f 7521 (license (list license:gpl2+
63db190a
PN
7522 license:bsd-3
7523 license:lgpl2.1+))))
b64e217f 7524
03be9874
KK
7525(define-public tracker-miners
7526 (package
7527 (name "tracker-miners")
de60ac2f 7528 (version "2.3.3")
03be9874
KK
7529 (source (origin
7530 (method url-fetch)
7531 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7532 (version-major+minor version)
7533 "/tracker-miners-" version ".tar.xz"))
7534 (sha256
7535 (base32
de60ac2f 7536 "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl"))))
03be9874
KK
7537 (build-system meson-build-system)
7538 (arguments
7539 `(#:glib-or-gtk? #t
7540 #:configure-flags
7541 (list "-Dminer_rss=false" ; libgrss is required.
7542 ;; Ensure the RUNPATH contains all installed library locations.
7543 (string-append "-Dc_link_args=-Wl,-rpath="
7544 (assoc-ref %outputs "out")
7545 "/lib/tracker-miners-2.0")
7546 ;; TODO: Enable functional tests. Currently, the following error
7547 ;; appears:
7548 ;; Exception: The functional tests require DConf to be the default
7549 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7550 "-Dfunctional_tests=false")))
7551 (native-inputs
7552 `(("dbus" ,dbus)
7553 ("intltool" ,intltool)
7554 ("glib:bin" ,glib "bin")
7555 ("gobject-introspection" ,gobject-introspection)
7556 ("pkg-config" ,pkg-config)
7557 ("python-pygobject" ,python-pygobject)))
7558 (inputs
7559 `(("exempi" ,exempi)
7560 ("ffmpeg" ,ffmpeg)
7561 ("flac" ,flac)
7562 ("giflib" ,giflib)
7563 ("glib" ,glib)
7564 ("gstreamer" ,gstreamer)
7565 ("icu4c" ,icu4c)
7566 ("libcue" ,libcue)
7567 ("libexif" ,libexif)
7568 ("libgsf" ,libgsf)
7569 ("libgxps" ,libgxps)
7570 ("libiptcdata" ,libiptcdata)
7571 ("libjpeg" ,libjpeg)
7572 ("libosinfo" ,libosinfo)
7573 ("libpng" ,libpng)
7574 ("libseccomp" ,libseccomp)
7575 ("libtiff" ,libtiff)
7576 ("libvorbis" ,libvorbis)
7577 ("libxml2" ,libxml2)
7578 ("poppler" ,poppler)
7579 ("taglib" ,taglib)
7580 ("totem-pl-parser" ,totem-pl-parser)
7581 ("tracker" ,tracker)
7582 ("upower" ,upower)
7583 ("zlib" ,zlib)))
7584 (synopsis "Metadata database, indexer and search tool")
7585 (home-page "https://wiki.gnome.org/Projects/Tracker")
7586 (description
7587 "Tracker is an advanced framework for first class objects with associated
7588metadata and tags. It provides a one stop solution for all metadata, tags,
7589shared object databases, search tools and indexing.")
7590 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7591 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7592 (license (list license:gpl2+
7593 license:lgpl2.1+
7594 license:lgpl2.0+))))
7595
8b877545
RS
7596(define-public nautilus
7597 (package
7598 (name "nautilus")
d682c599 7599 (version "3.32.3")
8b877545
RS
7600 (source (origin
7601 (method url-fetch)
7602 (uri (string-append "mirror://gnome/sources/" name "/"
7603 (version-major+minor version) "/"
7604 name "-" version ".tar.xz"))
7605 (sha256
7606 (base32
d682c599 7607 "1x9crzbj6rrrf8w5dkcx0c14j40byr4ijpzkwd5dcrbfvvdy1r01"))))
35e2d0cf 7608 (build-system meson-build-system)
8b877545 7609 (arguments
35e2d0cf 7610 '(#:glib-or-gtk? #t
8b877545
RS
7611 ;; XXX: FAIL: check-nautilus
7612 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7613 #:tests? #f))
7614 (native-inputs
35e2d0cf
R
7615 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7616 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7617 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
7618 ("gobject-introspection" ,gobject-introspection)
7619 ("intltool" ,intltool)
7620 ("pkg-config" ,pkg-config)))
8b877545 7621 (inputs
8b877545 7622 `(("dconf" ,dconf)
caf6c363 7623 ("gexiv2" ,gexiv2)
dd05e731 7624 ("gvfs" ,gvfs)
8b877545
RS
7625 ("exempi" ,exempi)
7626 ("gnome-desktop" ,gnome-desktop)
09d88905 7627 ("gnome-autoar" ,gnome-autoar)
3cafb9d4 7628 ("gst-plugins-base" ,gst-plugins-base)
ec66ebd4 7629 ("libseccomp" ,libseccomp)
35e2d0cf 7630 ("libselinux" ,libselinux)
09d88905 7631 ("tracker" ,tracker)
3cafb9d4 7632 ("tracker-miners" ,tracker-miners)
ce6027bf
SB
7633 ;; XXX: gtk+ is required by libnautilus-extension.pc
7634 ;;
7635 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7636 ;; package. See:
7637 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7638 ("gtk+" ,gtk+)
8b877545
RS
7639 ("libexif" ,libexif)
7640 ("libxml2" ,libxml2)))
7641 (synopsis "File manager for GNOME")
7642 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7643 (description
7644 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7645design and behaviour, giving the user a simple way to navigate and manage its
7646files.")
7647 (license license:gpl2+)))
3c697ffd
JR
7648
7649(define-public baobab
7650 (package
7651 (name "baobab")
e0c5f20c 7652 (version "3.32.0")
3c697ffd
JR
7653 (source (origin
7654 (method url-fetch)
7655 (uri (string-append
7656 "mirror://gnome/sources/" name "/"
7657 (version-major+minor version) "/"
7658 name "-" version ".tar.xz"))
7659 (sha256
7660 (base32
e0c5f20c 7661 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
d233d373
RJ
7662 (build-system meson-build-system)
7663 (arguments
7664 '(#:glib-or-gtk? #t))
3c697ffd
JR
7665 (native-inputs
7666 `(("intltool" ,intltool)
7667 ("pkg-config" ,pkg-config)
d233d373
RJ
7668 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7669 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
7670 ("itstool" ,itstool)
7671 ("xmllint" ,libxml2)
7672 ("glib" ,glib "bin")
7673 ("vala" ,vala)))
7674 (inputs
7675 `(("gtk+" ,gtk+)))
7676 (synopsis "Disk usage analyzer for GNOME")
7677 (description
7678 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7679usage in the GNOME desktop environment. It can easily scan device volumes or
7680a specific user-requested directory branch (local or remote). Once the scan
7681is complete it provides a graphical representation of each selected folder.")
7682 (home-page "https://wiki.gnome.org/Apps/Baobab")
7683 (license license:gpl2+)))
dc050251 7684
fdba447c
RS
7685(define-public gnome-backgrounds
7686 (package
7687 (name "gnome-backgrounds")
e04e8a8c 7688 (version "3.32.0")
fdba447c
RS
7689 (source
7690 (origin
7691 (method url-fetch)
7692 (uri (string-append "mirror://gnome/sources/" name "/"
7693 (version-major+minor version) "/"
7694 name "-" version ".tar.xz"))
7695 (sha256
7696 (base32
e04e8a8c 7697 "1s5krdmd3md44p1fgr2lqm5ifxb8s1vzx6hm11sb4cgzr4dw6lrz"))))
9ca381f0 7698 (build-system meson-build-system)
fdba447c
RS
7699 (native-inputs
7700 `(("intltool" ,intltool)))
e04e8a8c 7701 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
fdba447c
RS
7702 (synopsis "Background images for the GNOME desktop")
7703 (description
7704 "GNOME backgrounds package contains a collection of graphics files which
7705can be used as backgrounds in the GNOME Desktop environment. Additionally,
7706the package creates the proper framework and directory structure so that you
7707can add your own files to the collection.")
7708 (license (list license:gpl2+
7709 license:cc-by2.0
7710 license:cc-by-sa2.0
7711 license:cc-by-sa3.0))))
7712
b784b1a9
RS
7713(define-public gnome-screenshot
7714 (package
7715 (name "gnome-screenshot")
6acf4033 7716 (version "3.32.0")
b784b1a9
RS
7717 (source
7718 (origin
7719 (method url-fetch)
7720 (uri (string-append "mirror://gnome/sources/" name "/"
7721 (version-major+minor version) "/"
7722 name "-" version ".tar.xz"))
7723 (sha256
7724 (base32
6acf4033 7725 "09ha7dizjm5ymqpjyrqd10ijfb3xlqc1mwg9ajkrbfry11q9yq4b"))))
8356aefa 7726 (build-system meson-build-system)
b784b1a9
RS
7727 (native-inputs
7728 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8356aefa
RW
7729 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7730 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b784b1a9 7731 ("intltool" ,intltool)
8356aefa 7732 ("appstream-glib" ,appstream-glib)
b784b1a9
RS
7733 ("pkg-config" ,pkg-config)))
7734 (inputs
7735 `(("gtk+" ,gtk+)
7736 ("libcanberra" ,libcanberra)
7737 ("libx11" ,libx11)
7738 ("libxext" ,libxext)))
676e7cb4 7739 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
b784b1a9
RS
7740 (synopsis "Take pictures of your screen")
7741 (description
7742 "GNOME Screenshot is a utility used for taking screenshots of the entire
7743screen, a window or a user defined area of the screen, with optional
7744beautifying border effects.")
7745 (license license:gpl2+)))
7746
66d59111
RS
7747(define-public dconf-editor
7748 (package
7749 (name "dconf-editor")
66261451 7750 (version "3.32.0")
66d59111
RS
7751 (source
7752 (origin
7753 (method url-fetch)
7754 (uri (string-append "mirror://gnome/sources/" name "/"
7755 (version-major+minor version) "/"
7756 name "-" version ".tar.xz"))
7757 (sha256
7758 (base32
66261451 7759 "1fmsmlh16njjm948grz20mzrsvb4wjj7pl1fvkrkxqi7mhr177gi"))))
294ff39d 7760 (build-system meson-build-system)
86f2124b
LC
7761 (arguments
7762 '(#:phases (modify-phases %standard-phases
7763 (add-before 'configure 'set-glib-minimum-version
7764 (lambda _
7765 ;; Change the minimum required GLib version so that
7766 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
7767 ;; do that, it complains that "55" is not an even
7768 ;; number. See <https://bugs.gnu.org/37503>.
7769 (substitute* "editor/meson.build"
7770 (("2\\.55\\.1") "2.60.0"))
7771 #t)))))
66d59111
RS
7772 (native-inputs
7773 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
294ff39d 7774 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
66d59111 7775 ("intltool" ,intltool)
294ff39d
RW
7776 ("pkg-config" ,pkg-config)
7777 ("vala" ,vala)))
66d59111
RS
7778 (inputs
7779 `(("dconf" ,dconf)
7780 ("gtk+" ,gtk+)
7781 ("libxml2" ,libxml2)))
7782 (home-page "https://git.gnome.org/browse/dconf-editor")
7783 (synopsis "Graphical editor for GNOME's dconf configuration system")
7784 (description
7785 "Dconf-editor is a graphical tool for browsing and editing the dconf
7786configuration system for GNOME. It allows users to configure desktop
7787software that do not provide their own configuration interface.")
7788 (license license:lgpl2.1+)))
7789
96d36f38
AW
7790(define-public gnome-default-applications
7791 (package
7792 (name "gnome-default-applications")
7793 (version "0")
7794 (build-system trivial-build-system)
7795 (source #f)
7796 (propagated-inputs
8ad4f0aa
LC
7797 `(("nautilus" ,nautilus)
7798 ("evince" ,evince)))
96d36f38
AW
7799 (arguments
7800 `(#:modules ((guix build utils))
7801 #:builder
7802 (begin
7803 (use-modules (guix build utils))
7804 (let* ((out (assoc-ref %outputs "out"))
7805 (apps (string-append out "/share/applications")))
7806 (mkdir-p apps)
7807 (call-with-output-file (string-append apps "/defaults.list")
7808 (lambda (port)
7809 (format port "[Default Applications]\n")
8ad4f0aa
LC
7810 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7811 (format port "application/pdf=evince.desktop\n")
7812 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
7813 #t))))
7814 (synopsis "Default MIME type associations for the GNOME desktop")
7815 (description
7816 "Given many installed packages which might handle a given MIME type, a
7817user running the GNOME desktop probably has some preferences: for example,
7818that folders be opened by default by the Nautilus file manager, not the Baobab
7819disk usage analyzer. This package establishes that set of default MIME type
7820associations for GNOME.")
7821 (license license:gpl3+)
7822 (home-page #f)))
7823
3f1ed953
RG
7824(define-public libgovirt
7825 (package
7826 (name "libgovirt")
7827 (version "0.3.6")
7828 (source (origin
7829 (method url-fetch)
7830 (uri (string-append "mirror://gnome/sources/" name "/"
7831 (version-major+minor version) "/"
7832 name "-" version ".tar.xz"))
7833 (sha256
7834 (base32
7835 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
7836 (build-system glib-or-gtk-build-system)
7837 (native-inputs
7838 `(("gettext" ,gettext-minimal)
7839 ("glib:bin" ,glib "bin")
7840 ("gobject-introspection" ,gobject-introspection)
7841 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7842 ("gtk+:bin" ,gtk+ "bin")
7843 ("pkg-config" ,pkg-config)))
7844 (inputs
7845 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
7846 ("librest" ,rest)))
7847 (synopsis "GoVirt Library")
7848 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
7849 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
7850 (license license:gpl2+)))
7851
8672e5e9
RG
7852(define-public gnome-weather
7853 (package
7854 (name "gnome-weather")
7855 (version "3.34.0")
7856 (source (origin
7857 (method url-fetch)
7858 (uri (string-append "mirror://gnome/sources/" name "/"
7859 (version-major+minor version) "/"
7860 name "-" version ".tar.xz"))
7861 (sha256
7862 (base32
7863 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
7864 (build-system meson-build-system)
7865 (native-inputs
7866 `(("gettext" ,gettext-minimal)
7867 ("glib:bin" ,glib "bin")
7868 ("gobject-introspection" ,gobject-introspection)
7869 ("gtk+:bin" ,gtk+ "bin")
7870 ("pkg-config" ,pkg-config)))
7871 (inputs
7872 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
7873 ("appstream-glib" ,appstream-glib)
7874 ("geoclue" ,geoclue)
7875 ("gdk-pixbuf" ,gdk-pixbuf)
7876 ("gjs" ,gjs)
7877 ("gnome-desktop" ,gnome-desktop)
7878 ("libgweather" ,libgweather)))
7879 (synopsis "Weather monitoring for GNOME desktop")
7880 (description "GNOME Weather is a small application that allows you to
7881monitor the current weather conditions for your city, or anywhere in the
7882world.")
7883 (home-page "https://wiki.gnome.org/Apps/Weather")
7884 (license license:gpl2+)))
7885
dc050251
SB
7886(define-public gnome
7887 (package
7888 (name "gnome")
7889 (version (package-version gnome-shell))
7890 (source #f)
7891 (build-system trivial-build-system)
e3cfef22 7892 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251 7893 (propagated-inputs
8d8c6bff 7894 ;; TODO: Add or remove packages according to:
a8cda7f5 7895 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7922b6f7 7896 `(
8d8c6bff 7897 ;; GNOME-Core-OS-Services
7922b6f7 7898 ("accountsservice" ,accountsservice)
8d8c6bff
RG
7899 ("network-manager" ,network-manager)
7900 ("packagekit" ,packagekit)
7901 ("upower" ,upower)
7902 ;; GNOME-Core-Shell
7903 ("adwaita-icon-theme" ,adwaita-icon-theme)
7904 ("gdm" ,gdm)
7905 ("glib-networking" ,glib-networking)
7906 ("gnome-backgrounds" ,gnome-backgrounds)
7907 ("gnome-bluetooth" ,gnome-bluetooth)
d36fa50f 7908 ("gnome-color-manager" ,gnome-color-manager)
8d8c6bff
RG
7909 ("gnome-control-center" ,gnome-control-center)
7910 ("gnome-desktop" ,gnome-desktop)
7922b6f7 7911 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
24882d3d 7912 ("gnome-initial-setup" ,gnome-initial-setup)
8d8c6bff 7913 ("gnome-keyring" ,gnome-keyring)
7922b6f7 7914 ("gnome-menus" ,gnome-menus)
8d8c6bff
RG
7915 ("gnome-session" ,gnome-session)
7916 ("gnome-settings-daemon" ,gnome-settings-daemon)
7917 ("gnome-shell-extensions" ,gnome-shell-extensions)
7918 ("gnome-shell" ,gnome-shell)
7919 ("gnome-themes-extra" ,gnome-themes-extra)
7922b6f7 7920 ("gnome-user-docs" ,gnome-user-docs)
d36fa50f 7921 ("gnome-user-share" ,gnome-user-share)
a8cda7f5 7922 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8d8c6bff
RG
7923 ("gvfs" ,gvfs)
7924 ("mutter" ,mutter)
7925 ("orca" ,orca)
d36fa50f
RG
7926 ("rygel" ,rygel)
7927 ("sushi" ,sushi)
8d8c6bff
RG
7928 ;; GNOME-Core-Utilities
7929 ("baobab" ,baobab)
7930 ("cheese" ,cheese)
7931 ("eog" ,eog)
7932 ("epiphany" ,epiphany)
7933 ("evince" ,evince)
7934 ("file-roller" ,file-roller)
7935 ("gedit" ,gedit)
d36fa50f 7936 ; TODO: ("gnome-boxes" ,gnome-boxes)
8d8c6bff
RG
7937 ("gnome-calculator" ,gnome-calculator)
7938 ("gnome-calendar" ,gnome-calendar)
7939 ("gnome-characters" ,gnome-characters)
7940 ("gnome-clocks" ,gnome-clocks)
7941 ("gnome-contacts" ,gnome-contacts)
7942 ("gnome-disk-utility" ,gnome-disk-utility)
7943 ("gnome-font-viewer" ,gnome-font-viewer)
7944 ("gnome-maps" ,gnome-maps)
d36fa50f
RG
7945 ; TODO: ("gnome-music" ,gnome-music)
7946 ; TODO: ("gnome-photos" ,gnome-photos)
8d8c6bff
RG
7947 ("gnome-screenshot" ,gnome-screenshot)
7948 ("gnome-system-monitor" ,gnome-system-monitor)
7949 ("gnome-terminal" ,gnome-terminal)
d36fa50f 7950 ("gnome-weather" ,gnome-weather)
8d8c6bff
RG
7951 ("nautilus" ,nautilus)
7952 ("simple-scan" ,simple-scan)
7953 ("totem" ,totem)
7922b6f7
RG
7954 ("yelp" ,yelp)
7955 ;; Others
7956 ("hicolor-icon-theme" ,hicolor-icon-theme)
9f2fef4f
LC
7957 ("gnome-online-accounts" ,gnome-online-accounts)
7958
7959 ;; Packages not part of GNOME proper but that are needed for a good
7960 ;; experience. See <https://bugs.gnu.org/39646>.
7961 ;; XXX: Find out exactly which ones are needed and why.
7962 ("font-cantarell" ,font-cantarell)
7963 ("font-dejavu" ,font-dejavu)
7964 ("at-spi2-core" ,at-spi2-core)
7965 ("dbus" ,dbus)
7966 ("dconf" ,dconf)
7967 ("desktop-file-utils" ,desktop-file-utils)
7968 ("gnome-default-applications" ,gnome-default-applications)
7969 ("gnome-themes-standard" ,gnome-themes-standard)
7970 ("gst-plugins-base" ,gst-plugins-base)
7971 ("gst-plugins-good" ,gst-plugins-good)
7972 ("gucharmap" ,gucharmap)
7973 ("pinentry-gnome3" ,pinentry-gnome3)
7974 ("pulseaudio" ,pulseaudio)
7975 ("shared-mime-info" ,shared-mime-info)
7976 ("system-config-printer" ,system-config-printer)
7977 ("xdg-user-dirs" ,xdg-user-dirs)
7978 ("yelp" ,yelp)
7979 ("zenity" ,zenity)))
fe4e698d 7980 (synopsis "The GNU desktop environment")
dc050251
SB
7981 (home-page "https://www.gnome.org/")
7982 (description
fe4e698d
LC
7983 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7984applications for browsing the web, editing text and images, creating
7985documents and diagrams, playing media, scanning, and much more.")
dc050251 7986 (license license:gpl2+)))
4a526711
DT
7987
7988(define-public byzanz
7989 ;; The last stable release of Byzanz was in 2011, but there have been many
7990 ;; useful commits made to the Byzanz repository since then that it would be
7991 ;; silly to use such an old release.
7992 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7993 (package
7994 (name "byzanz")
7995 (version (string-append "0.2-1." (string-take commit 7)))
7996 (source (origin
7997 (method git-fetch)
7998 (uri (git-reference
5f13bf09 7999 (url "https://git.gnome.org/browse/byzanz")
4a526711 8000 (commit commit)))
5a6527e4 8001 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
8002 (sha256
8003 (base32
8004 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
8005 (build-system glib-or-gtk-build-system)
8006 (arguments
8007 '(#:phases
8008 (modify-phases %standard-phases
189be331 8009 (replace 'bootstrap
4a526711
DT
8010 (lambda _
8011 ;; The build system cleverly detects that we're not building from
8012 ;; a release tarball and turns on -Werror for GCC.
8013 ;; Unsurprisingly, there is a warning during compilation that
8014 ;; causes the build to fail unnecessarily, so we remove the flag.
8015 (substitute* '("configure.ac")
8016 (("-Werror") ""))
8017 ;; The autogen.sh script in gnome-common will run ./configure
8018 ;; by default, which is problematic because source shebangs
8019 ;; have not yet been patched.
8020 (setenv "NOCONFIGURE" "t")
8021 (zero? (system* "sh" "autogen.sh")))))))
8022 (native-inputs
8023 `(("autoconf" ,autoconf)
8024 ("automake" ,automake)
8025 ("gnome-common" ,gnome-common)
8026 ("intltool" ,intltool)
8027 ("libtool" ,libtool)
8028 ("pkg-config" ,pkg-config)
8029 ("which" ,which)))
8030 (inputs
8031 `(("glib" ,glib)
8032 ("gstreamer" ,gstreamer)
8033 ("gst-plugins-base" ,gst-plugins-base)
8034 ("gtk+" ,gtk+)))
8035 (synopsis "Desktop recording program")
8036 (description "Byzanz is a simple desktop recording program with a
8037command-line interface. It can record part or all of an X display for a
8038specified duration and save it as a GIF encoded animated image file.")
8039 (home-page "https://git.gnome.org/browse/byzanz")
8040 (license license:gpl2+))))
3a9a4c51 8041
0ec171ec
MS
8042(define-public gsound
8043 (package
8044 (name "gsound")
8045 (version "1.0.2")
8046 (source (origin
8047 (method url-fetch)
8048 (uri (string-append "mirror://gnome/sources/" name "/"
8049 (version-major+minor version) "/"
8050 name "-" version ".tar.xz"))
8051 (sha256
8052 (base32
8053 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
8054 (build-system glib-or-gtk-build-system)
8055 (native-inputs
8056 `(("pkg-config" ,pkg-config)
8057 ("gobject-introspection" ,gobject-introspection)
8058 ("vala" ,vala)))
8059 (inputs
8060 `(("glib" ,glib)
8061 ("libcanberra" ,libcanberra)))
8062 (home-page "https://wiki.gnome.org/Projects/GSound")
8063 (synopsis "GObject wrapper for libcanberra")
8064 (description
8065 "GSound is a small library for playing system sounds. It's designed to be
8066used via GObject Introspection, and is a thin wrapper around the libcanberra C
8067library.")
8068 (license license:lgpl2.1+)))
8069
3a9a4c51
RS
8070(define-public libzapojit
8071 (package
8072 (name "libzapojit")
8073 (version "0.0.3")
8074 (source (origin
8075 (method url-fetch)
8076 (uri (string-append "mirror://gnome/sources/" name "/"
8077 (version-major+minor version) "/"
8078 name "-" version ".tar.xz"))
8079 (sha256
8080 (base32
8081 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
8082 (build-system gnu-build-system)
8083 (native-inputs
8084 `(("gobject-introspection" ,gobject-introspection)
8085 ("intltool" ,intltool)
8086 ("pkg-config" ,pkg-config)))
8087 (inputs
14c297fd 8088 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
3a9a4c51
RS
8089 ("json-glib" ,json-glib)
8090 ("rest" ,rest)))
8091 (home-page "https://wiki.gnome.org/Projects/Zapojit")
8092 (synopsis "Library for accessing SkyDrive and Hotmail")
8093 (description
8094 "Libzapojit is a GLib-based library for accessing online service APIs of
8095Microsoft SkyDrive and Hotmail, using their REST protocols.")
8096 (license license:lgpl2.1+)))
9365ee1c 8097
60e2a9ae
MS
8098(define-public gnome-clocks
8099 (package
8100 (name "gnome-clocks")
c76d0dbc 8101 (version "3.32.0")
60e2a9ae
MS
8102 (source (origin
8103 (method url-fetch)
8104 (uri (string-append "mirror://gnome/sources/" name "/"
8105 (version-major+minor version) "/"
8106 name "-" version ".tar.xz"))
8107 (sha256
8108 (base32
c76d0dbc 8109 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
60e2a9ae
MS
8110 (build-system meson-build-system)
8111 (arguments
8112 '(#:glib-or-gtk? #t))
8113 (native-inputs
8114 `(("vala" ,vala)
8115 ("pkg-config" ,pkg-config)
8116 ("glib" ,glib "bin") ; for glib-compile-resources
8117 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8118 ("desktop-file-utils" ,desktop-file-utils)
8119 ("gettext" ,gettext-minimal)
8120 ("itstool" ,itstool)))
8121 (inputs
8122 `(("glib" ,glib)
8123 ("gtk+" ,gtk+)
8124 ("gsound" ,gsound)
8125 ("geoclue" ,geoclue)
8126 ("geocode-glib" ,geocode-glib)
8127 ("libgweather" ,libgweather)
8128 ("gnome-desktop" ,gnome-desktop)))
8129 (home-page "https://wiki.gnome.org/Apps/Clocks")
8130 (synopsis "GNOME's clock application")
8131 (description
8132 "GNOME Clocks is a simple clocks application designed to fit the GNOME
8133desktop. It supports world clock, stop watch, alarms, and count down timer.")
8134 (license license:gpl3+)))
8135
3c474897
KY
8136(define-public gnome-calendar
8137 (package
8138 (name "gnome-calendar")
339b59bf 8139 (version "3.32.2")
3c474897
KY
8140 (source (origin
8141 (method url-fetch)
8142 (uri (string-append "mirror://gnome/sources/" name "/"
8143 (version-major+minor version) "/"
8144 name "-" version ".tar.xz"))
8145 (sha256
8146 (base32
339b59bf 8147 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
a49d3e37
MS
8148 (build-system meson-build-system)
8149 (arguments
8150 '(#:glib-or-gtk? #t
8151 ;; gnome-calendar has to be installed before the tests can be run
8152 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
8153 #:tests? #f))
3c474897 8154 (native-inputs
a49d3e37
MS
8155 `(("gettext" ,gettext-minimal)
8156 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
8157 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
8158 ("pkg-config" ,pkg-config)))
8159 (inputs
a49d3e37 8160 `(("evolution-data-server" ,evolution-data-server)
14c297fd 8161 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
a286b5eb
RW
8162 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8163 ("libdazzle" ,libdazzle)
b63c06f1 8164 ("libedataserverui" ,evolution-data-server)
a286b5eb
RW
8165 ("libgweather" ,libgweather)
8166 ("geoclue" ,geoclue)))
3c474897
KY
8167 (home-page "https://wiki.gnome.org/Apps/Calendar")
8168 (synopsis "GNOME's calendar application")
8169 (description
8170 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 8171desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
8172 (license license:gpl3+)))
8173
57b14665
MS
8174(define-public gnome-todo
8175 (package
8176 (name "gnome-todo")
9f3c6c88 8177 (version "3.28.1")
57b14665
MS
8178 (source (origin
8179 (method url-fetch)
8180 (uri (string-append "mirror://gnome/sources/" name "/"
8181 (version-major+minor version) "/"
8182 name "-" version ".tar.xz"))
8183 (sha256
8184 (base32
9f3c6c88 8185 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
57b14665
MS
8186 (build-system meson-build-system)
8187 (arguments
8188 '(#:glib-or-gtk? #t
8189 #:phases (modify-phases %standard-phases
8190 (add-after
8191 'install 'wrap-gnome-todo
8192 (lambda* (#:key inputs outputs #:allow-other-keys)
8193 (let ((out (assoc-ref outputs "out"))
8194 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8195 (python-path (getenv "PYTHONPATH")))
8196 (wrap-program (string-append out "/bin/gnome-todo")
8197 ;; XXX: gi plugins are broken.
8198 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
8199 ;; For plugins.
8200 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8201 `("PYTHONPATH" ":" prefix (,python-path))))
8202 #t)))))
8203 (native-inputs
8204 `(("gettext" ,gettext-minimal)
8205 ("gobject-introspection" ,gobject-introspection)
8206 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8207 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8208 ("pkg-config" ,pkg-config)))
8209 (inputs
8210 `(("rest" ,rest) ; For Todoist plugin
8211 ("json-glib" ,json-glib) ; For Todoist plugin
b63c06f1 8212 ("libedataserverui" ,evolution-data-server)
57b14665
MS
8213 ("libical" ,libical)
8214 ("libpeas" ,libpeas)
8215 ("python-pygobject" ,python-pygobject)
8216 ("evolution-data-server" ,evolution-data-server)
14c297fd 8217 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
57b14665
MS
8218 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
8219 (home-page "https://wiki.gnome.org/Apps/Todo")
8220 (synopsis "GNOME's ToDo Application")
8221 (description
8222 "GNOME To Do is a simplistic personal task manager designed to perfectly
8223fit the GNOME desktop.")
8224 (license license:gpl3+)))
8225
ab179eaf
SB
8226(define-public gnome-dictionary
8227 (package
8228 (name "gnome-dictionary")
cf81ddef 8229 (version "3.26.1")
ab179eaf
SB
8230 (source (origin
8231 (method url-fetch)
8232 (uri (string-append "mirror://gnome/sources/" name "/"
8233 (version-major+minor version) "/"
8234 name "-" version ".tar.xz"))
8235 (sha256
8236 (base32
cf81ddef
LC
8237 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
8238 (build-system meson-build-system)
2776b5d5
MB
8239 (arguments '(#:glib-or-gtk? #t
8240 #:phases (modify-phases %standard-phases
8241 (add-after 'unpack 'patch-install-script
8242 (lambda _
8243 ;; This script attempts to compile glib schemas
8244 ;; and create an empty MIME database. We do
8245 ;; that elsewhere, so prevent it from running.
8246 (substitute* "build-aux/post-install.sh"
8247 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
8248 #t)))))
ab179eaf
SB
8249 (native-inputs
8250 `(("glib:bin" ,glib "bin")
8251 ("gobject-introspection" ,gobject-introspection)
8252 ("intltool" ,intltool)
8253 ("itstool" ,itstool)
8254 ("pkg-config" ,pkg-config)
8255 ("xmllint" ,libxml2)))
8256 (inputs
8257 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8258 ("gtk+" ,gtk+)))
8259 (home-page "https://wiki.gnome.org/Apps/Dictionary")
8260 (synopsis "Look up words in dictionary sources")
8261 (description
8262 "GNOME Dictionary can look for the definition or translation of a word in
8263existing databases over the internet.")
8264 (license license:gpl3+)))
8265
d13f3a03 8266(define-public gnome-tweaks
9365ee1c 8267 (package
d13f3a03 8268 (name "gnome-tweaks")
652af676 8269 (version "3.32.0")
9365ee1c
JN
8270 (source (origin
8271 (method url-fetch)
d13f3a03 8272 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9365ee1c 8273 (version-major+minor version) "/"
d13f3a03
RW
8274 "gnome-tweaks-" version ".tar.xz"))
8275 (patches
8276 (list (search-patch "gnome-tweaks-search-paths.patch")))
9365ee1c
JN
8277 (sha256
8278 (base32
652af676 8279 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
d13f3a03 8280 (build-system meson-build-system)
9365ee1c 8281 (arguments
d13f3a03
RW
8282 `(#:glib-or-gtk? #t
8283 #:configure-flags '("-Dlocalstatedir=/tmp"
8284 "-Dsysconfdir=/tmp")
9365ee1c 8285 #:imported-modules ((guix build python-build-system)
d13f3a03
RW
8286 ,@%meson-build-system-modules)
8287 #:phases
8288 (modify-phases %standard-phases
8289 (add-after 'install 'wrap
8290 (@@ (guix build python-build-system) wrap))
8291 (add-after 'wrap 'wrap-gi-typelib
8292 (lambda* (#:key inputs outputs #:allow-other-keys)
8293 (let ((out (assoc-ref outputs "out"))
8294 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8295 (wrap-program (string-append out "/bin/gnome-tweaks")
8296 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8297 #t)))))
9365ee1c 8298 (native-inputs
c7fc414e
RH
8299 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
8300 ("intltool" ,intltool)
9365ee1c
JN
8301 ("pkg-config" ,pkg-config)))
8302 (inputs
c7fc414e
RH
8303 `(("gnome-desktop" ,gnome-desktop)
8304 ("gtk+" ,gtk+)
9365ee1c
JN
8305 ("gobject-introspection" ,gobject-introspection)
8306 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
8307 ("libnotify" ,libnotify)
8308 ("libsoup" ,libsoup)
8309 ("nautilus" ,nautilus)
8310 ("python" ,python)
8311 ("python-pygobject" ,python-pygobject)))
9365ee1c 8312 (synopsis "Customize advanced GNOME 3 options")
d13f3a03 8313 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9365ee1c 8314 (description
d13f3a03 8315 "GNOME Tweaks allows adjusting advanced configuration settings in
9365ee1c
JN
8316GNOME 3. This includes things like the fonts used in user interface elements,
8317alternative user interface themes, changes in window management behavior,
8318GNOME Shell appearance and extension, etc.")
8319 (license license:gpl3+)))
813f814a 8320
d13f3a03
RW
8321;; This package has been renamed by upstream.
8322(define-public gnome-tweak-tool
8323 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
8324
32ac717c
DT
8325(define-public gnome-shell-extensions
8326 (package
8327 (name "gnome-shell-extensions")
ae4c05e0 8328 (version "3.32.1")
32ac717c
DT
8329 (source (origin
8330 (method url-fetch)
8331 (uri (string-append "mirror://gnome/sources/" name "/"
8332 (version-major+minor version) "/"
8333 name "-" version ".tar.xz"))
8334 (sha256
8335 (base32
ae4c05e0 8336 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
100f625b 8337 (build-system meson-build-system)
32ac717c 8338 (arguments
100f625b 8339 '(#:configure-flags '("-Dextension_set=all")))
32ac717c 8340 (native-inputs
c9ea8873
LP
8341 `(("glib:bin" ,glib "bin")
8342 ("intltool" ,intltool)
32ac717c
DT
8343 ("pkg-config" ,pkg-config)))
8344 (propagated-inputs
c9ea8873 8345 `(("glib" ,glib)))
32ac717c
DT
8346 (synopsis "Extensions for GNOME Shell")
8347 (description "GNOME Shell extensions modify and extend GNOME Shell
8348functionality and behavior.")
8349 (home-page "https://extensions.gnome.org/")
8350 (license license:gpl3+)))
8351
813f814a
DT
8352(define-public arc-theme
8353 (package
8354 (name "arc-theme")
37781323 8355 (version "20190917")
813f814a 8356 (source (origin
a18f8eaf
BH
8357 (method git-fetch)
8358 (uri (git-reference
8359 (url "https://github.com/NicoHood/arc-theme.git")
8360 (commit version)))
8361 (file-name (git-file-name name version))
813f814a
DT
8362 (sha256
8363 (base32
37781323 8364 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
813f814a 8365 (build-system gnu-build-system)
d88884fa
EF
8366 (arguments
8367 '(#:phases
8368 (modify-phases %standard-phases
8369 ;; autogen.sh calls configure at the end of the script.
8370 (replace 'bootstrap
4690e3a4
MC
8371 (lambda _ (invoke "autoreconf" "-vfi")))
8372 (add-before 'build 'set-home ;placate Inkscape
8373 (lambda _
8374 (setenv "HOME" (getcwd))
8375 #t)))))
813f814a
DT
8376 (native-inputs
8377 `(("autoconf" ,autoconf)
8378 ("automake" ,automake)
a18f8eaf
BH
8379 ("glib" ,glib "bin") ; for glib-compile-resources
8380 ("gnome-shell" ,gnome-shell)
8381 ("gtk+" ,gtk+)
8382 ("inkscape" ,inkscape)
8383 ("optipng" ,optipng)
8384 ("pkg-config" ,pkg-config)
bed24ecf 8385 ("sassc" ,sassc/libsass-3.5)))
813f814a
DT
8386 (synopsis "A flat GTK+ theme with transparent elements")
8387 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
83882, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
8389like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
8390 (home-page "https://github.com/horst3180/arc-theme")
8391 ;; No "or later" language found.
a18f8eaf 8392 (license license:gpl3+)))
9987c57c 8393
d935e6a1 8394(define-public faba-icon-theme
9987c57c 8395 (package
d935e6a1 8396 (name "faba-icon-theme")
2eee7ee3 8397 (version "4.3")
d935e6a1
BT
8398 (source
8399 (origin
757e4027
TGR
8400 (method git-fetch)
8401 (uri (git-reference
8402 (url "https://github.com/snwh/faba-icon-theme.git")
8403 (commit (string-append "v" version))))
8404 (file-name (git-file-name name version))
d935e6a1 8405 (sha256
757e4027 8406 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
f6a9b345 8407 (build-system meson-build-system)
9987c57c 8408 (arguments
82da291a 8409 `(#:phases
9987c57c 8410 (modify-phases %standard-phases
82da291a 8411 (add-before 'configure 'disable-post-install
9987c57c 8412 (lambda _
82da291a
JL
8413 (substitute* "meson.build"
8414 (("meson.add_install_script.*") "")))))))
9987c57c
DT
8415 (native-inputs
8416 `(("autoconf" ,autoconf)
8417 ("automake" ,automake)))
d935e6a1
BT
8418 (synopsis "Faba icon theme")
8419 (description
8420 "Faba is a minimal icon set used as a basis for other themes such as
8421Moka")
8422 (home-page "https://snwh.org/moka")
8423 (license (list license:lgpl3+
8424 license:cc-by-sa4.0))))
8425
9987c57c
DT
8426(define-public moka-icon-theme
8427 (package
8b0e4177 8428 (inherit faba-icon-theme)
9987c57c 8429 (name "moka-icon-theme")
105a3625 8430 (version "5.4.0")
8c3f2170
TGR
8431 (source
8432 (origin
8433 (method git-fetch)
8434 (uri (git-reference
8435 (url "https://github.com/snwh/moka-icon-theme.git")
8436 (commit (string-append "v" version))))
8437 (file-name (git-file-name name version))
8438 (sha256
8439 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
550281fb
BT
8440 (propagated-inputs
8441 ;; Moka is based on Faba by using it as a fallback icon set instead of
8442 ;; bundling it, so we need to add it as a propagated input.
8443 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
8444 (synopsis "Moka icon theme")
8445 (description "Moka is a stylized desktop icon set, designed to be clear,
8446simple and consistent.")
fedde43b
BT
8447 (license (list license:gpl3+
8448 license:cc-by-sa4.0))))
6fd8f8d6
DT
8449
8450(define-public arc-icon-theme
8451 (package
8452 (name "arc-icon-theme")
c4180240 8453 (version "20161122")
bbf66cbf
TGR
8454 (source
8455 (origin
8456 (method git-fetch)
8457 (uri (git-reference
8458 (url "https://github.com/horst3180/arc-icon-theme.git")
8459 (commit version)))
8460 (file-name (git-file-name name version))
8461 (sha256
8462 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
6fd8f8d6 8463 (build-system gnu-build-system)
9e1ede95
JL
8464 (arguments
8465 `(#:phases
8466 (modify-phases %standard-phases
8467 (add-after 'unpack 'disable-configure-during-bootstrap
8468 (lambda _
8469 (substitute* "autogen.sh"
8470 (("^\"\\$srcdir/configure\".*") ""))
8471 #t)))))
6fd8f8d6
DT
8472 (native-inputs
8473 `(("autoconf" ,autoconf)
8474 ("automake" ,automake)))
8475 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
8476 (propagated-inputs
8477 `(("moka-icon-theme" ,moka-icon-theme)))
8478 (synopsis "Arc icon theme")
8479 (description "The Arc icon theme provides a set of icons matching the
8480style of the Arc GTK theme. Icons missing from the Arc theme are provided by
8481the Moka icon theme.")
8482 (home-page "https://github.com/horst3180/arc-icon-theme")
8483 (license license:gpl3+)))
6064a4e8
LF
8484
8485(define-public folks
8486 (package
8487 (name "folks")
d23495fa 8488 (version "0.11.4")
6064a4e8
LF
8489 (source (origin
8490 (method url-fetch)
8491 (uri (string-append
e5f4796e 8492 "mirror://gnome/sources/folks/"
6064a4e8 8493 (version-major+minor version) "/"
e5f4796e 8494 "folks-" version ".tar.xz"))
6064a4e8
LF
8495 (sha256
8496 (base32
d23495fa 8497 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6064a4e8
LF
8498 (build-system glib-or-gtk-build-system)
8499 (inputs
8500 `(("bdb" ,bdb)
8501 ("dbus-glib" ,dbus-glib)
8502 ("evolution-data-server" ,evolution-data-server)
8503 ("glib" ,glib)
8504 ("libgee" ,libgee)
8505 ("telepathy-glib" ,telepathy-glib)))
8506 (native-inputs
8507 `(("gobject-introspection" ,gobject-introspection)
8508 ("intltool" ,intltool)
8509 ("pkg-config" ,pkg-config)
8510 ("vala" ,vala)))
8511 (synopsis "Library to aggregate data about people")
8512 (description "Libfolks is a library that aggregates information about people
8513from multiple sources (e.g., Telepathy connection managers for IM contacts,
8514Evolution Data Server for local contacts, libsocialweb for web service contacts,
8515etc.) to create metacontacts. It's written in Vala, which generates C code when
8516compiled.")
8517 (home-page "https://wiki.gnome.org/Projects/Folks")
8518 (license license:lgpl2.1+)))
01ea778f
LF
8519
8520(define-public gfbgraph
8521 (package
8522 (name "gfbgraph")
8523 (version "0.2.3")
8524 (source (origin
8525 (method url-fetch)
8526 (uri (string-append
237d4cf7 8527 "mirror://gnome/sources/gfbgraph/"
01ea778f 8528 (version-major+minor version) "/"
237d4cf7 8529 "gfbgraph-" version ".tar.xz"))
01ea778f
LF
8530 (sha256
8531 (base32
8532 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8533 (build-system glib-or-gtk-build-system)
8534 (arguments
8535 `(#:tests? #f ; Tests appear to require the network.
8536 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8537 #:configure-flags '("--disable-gtk-doc"
8538 "--disable-static"
8539 "--enable-introspection")))
8540 (native-inputs
8541 `(("pkg-config" ,pkg-config)
8542 ("gobject-introspection" ,gobject-introspection)))
8543 (inputs
8544 `(("json-glib" ,json-glib)
14c297fd 8545 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
01ea778f
LF
8546 ("rest" ,rest)))
8547 (synopsis "GLib/GObject wrapper for the Facebook API")
8548 (description "This library allows you to use the Facebook API from
8549GLib/GObject code.")
8550 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8551 (license license:lgpl2.1+)))
3920868c 8552
8553(define-public libgnomekbd
8554 (package
8555 (name "libgnomekbd")
70f2b0f9 8556 (version "3.26.1")
3920868c 8557 (source (origin
8558 (method url-fetch)
d47fa82d 8559 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
3920868c 8560 (version-major+minor version) "/"
d47fa82d 8561 "libgnomekbd-" version ".tar.xz"))
3920868c 8562 (sha256
8563 (base32
70f2b0f9 8564 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
3920868c 8565 (build-system gnu-build-system)
8566 (native-inputs
8567 `(("pkg-config" ,pkg-config)
8568 ("glib" ,glib "bin")
8569 ("intltool" ,intltool)))
8570 (propagated-inputs
8571 ;; Referred to in .h files and .pc.
8572 `(("glib" ,glib)
8573 ("gtk+" ,gtk+)
8574 ("libxklavier" ,libxklavier)))
8575 (home-page "https://www.gnome.org")
8576 (synopsis "GNOME keyboard configuration library")
8577 (description
8578 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8579environment, which can notably display keyboard layouts.")
8580 (license license:lgpl2.0+)))
85327d0d 8581
8582;;; This package is no longer maintained:
8583;;; https://wiki.gnome.org/Attic/LibUnique
8584;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8585;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8586(define-public libunique
8587 (package
8588 (name "libunique")
8589 (version "3.0.2")
8590 (source (origin
8591 (method url-fetch)
8592 (uri (string-append "mirror://gnome/sources/" name "/"
8593 (version-major+minor version) "/"
8594 name "-" version ".tar.xz"))
8595 (sha256
8596 (base32
8597 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8598 (build-system glib-or-gtk-build-system)
8599 (arguments
8600 `(#:configure-flags '("--disable-static"
8601 "--disable-dbus" ; use gdbus
8602 "--enable-introspection")))
8603 (native-inputs
8604 `(("pkg-config" ,pkg-config)
8605 ("gobject-introspection" ,gobject-introspection)
8606 ("glib:bin" ,glib "bin")
8607 ("gtk-doc" ,gtk-doc)))
8608 (propagated-inputs
8609 ;; Referred to in .h files and .pc.
8610 `(("gtk+" ,gtk+)))
8611 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8612 (synopsis "Library for writing single instance applications")
8613 (description
8614 "Libunique is a library for writing single instance applications. If you
8615launch a single instance application twice, the second instance will either just
8616quit or will send a message to the running instance. Libunique makes it easy to
8617write this kind of application, by providing a base class, taking care of all
8618the IPC machinery needed to send messages to a running instance, and also
8619handling the startup notification side.")
8620 (license license:lgpl2.1+)))
54021cd8
RS
8621
8622(define-public gnome-calculator
8623 (package
8624 (name "gnome-calculator")
07ace641 8625 (version "3.32.2")
54021cd8
RS
8626 (source
8627 (origin
8628 (method url-fetch)
8629 (uri (string-append "mirror://gnome/sources/" name "/"
8630 (version-major+minor version) "/"
8631 name "-" version ".tar.xz"))
8632 (sha256
8633 (base32
07ace641 8634 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
2d475910
RW
8635 (build-system meson-build-system)
8636 (arguments '(#:glib-or-gtk? #t))
54021cd8
RS
8637 (native-inputs
8638 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
2d475910 8639 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
54021cd8
RS
8640 ("intltool" ,intltool)
8641 ("itstool" ,itstool)
2d475910 8642 ("vala" ,vala)
54021cd8
RS
8643 ("pkg-config" ,pkg-config)))
8644 (inputs
112e9083 8645 `(("glib" ,glib)
07ace641 8646 ("gtksourceview" ,gtksourceview)
54021cd8 8647 ("libsoup" ,libsoup)
112e9083 8648 ("libxml2" ,libxml2)
2c2da7ec 8649 ("mpc" ,mpc)
54021cd8
RS
8650 ("mpfr" ,mpfr)))
8651 (home-page "https://wiki.gnome.org/Apps/Calculator")
8652 (synopsis "Desktop calculator")
8653 (description
8654 "Calculator is an application that solves mathematical equations and
8655is suitable as a default application in a Desktop environment.")
8656 (license license:gpl3)))
0bd69759
RS
8657
8658(define-public xpad
8659 (package
8660 (name "xpad")
c85626bb 8661 (version "5.1.0")
0bd69759
RS
8662 (source
8663 (origin
8664 (method url-fetch)
08fda9c6
R
8665 (uri (string-append "https://launchpad.net/xpad/trunk/"
8666 version "/+download/"
0bd69759
RS
8667 name "-" version ".tar.bz2"))
8668 (sha256
8669 (base32
c85626bb 8670 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
8671 (build-system gnu-build-system)
8672 (native-inputs
08fda9c6
R
8673 `(("autoconf" ,autoconf)
8674 ("automake" ,automake)
8675 ("gtk+:bin" ,gtk+ "bin")
8676 ("intltool" ,intltool)
0bd69759
RS
8677 ("pkg-config" ,pkg-config)))
8678 (inputs
c72647fb 8679 `(("gtksourceview" ,gtksourceview-3)
0bd69759
RS
8680 ("libsm" ,libsm)))
8681 (home-page "https://wiki.gnome.org/Apps/Xpad")
8682 (synopsis "Virtual sticky note")
8683 (description
8684 "Xpad is a sticky note that strives to be simple, fault tolerant,
8685and customizable. Xpad consists of independent pad windows, each is
8686basically a text box in which notes can be written.")
8687 (license license:gpl3+)))
3ad7dce1
RS
8688
8689(define-public gucharmap
c60063ea
RW
8690 (let ((unicode-files
8691 '(("Blocks.txt"
1f8b5515 8692 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
c60063ea 8693 ("DerivedAge.txt"
1f8b5515 8694 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
c60063ea 8695 ("NamesList.txt"
1f8b5515 8696 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
c60063ea 8697 ("Scripts.txt"
1f8b5515 8698 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
c60063ea 8699 ("UnicodeData.txt"
1f8b5515 8700 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
c60063ea 8701 ("Unihan.zip"
1f8b5515 8702 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
c60063ea
RW
8703 (package
8704 (name "gucharmap")
1f8b5515 8705 (version "12.0.1")
c60063ea
RW
8706 (source
8707 (origin
8708 (method url-fetch)
8709 (uri (string-append "mirror://gnome/sources/" name "/"
8710 (version-major+minor version) "/"
8711 name "-" version ".tar.xz"))
8712 (sha256
8713 (base32
1f8b5515 8714 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
c60063ea
RW
8715 (build-system glib-or-gtk-build-system)
8716 (arguments
8717 `(#:modules ((ice-9 match)
8718 (guix build glib-or-gtk-build-system)
8719 (guix build utils))
8720 #:configure-flags
8721 (list "--with-unicode-data=../unicode-data")
8722 #:phases
8723 (modify-phases %standard-phases
8724 (add-after 'unpack 'prepare-unicode-data
8725 (lambda* (#:key inputs #:allow-other-keys)
8726 (mkdir-p "../unicode-data")
8727 (with-directory-excursion "../unicode-data"
8728 (for-each (match-lambda
8729 ((file _)
8730 (install-file (assoc-ref inputs file) ".")))
8731 ',unicode-files))
8732 #t)))))
8733 (native-inputs
8734 `(("desktop-file-utils" ,desktop-file-utils)
8735 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8736 ("gobject-introspection" ,gobject-introspection)
8737 ("intltool" ,intltool)
8738 ("itstool" ,itstool)
8739 ("pkg-config" ,pkg-config)
8740 ,@(map (match-lambda
8741 ((file hash)
8742 `(,file
8743 ,(origin
8744 (method url-fetch)
8745 (uri (string-append
1f8b5515 8746 "http://www.unicode.org/Public/12.0.0/ucd/"
c60063ea
RW
8747 file))
8748 (sha256 (base32 hash))))))
8749 unicode-files)
8750 ("unzip" ,unzip)))
8751 (inputs
8752 `(("gtk+" ,gtk+)
8753 ("xmllint" ,libxml2)))
8754 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8755 (synopsis "Unicode character picker and font browser")
8756 (description
8757 "This program allows you to browse through all the available Unicode
3ad7dce1
RS
8758characters and categories for the installed fonts, and to examine their
8759detailed properties. It is an easy way to find the character you might
8760only know by its Unicode name or code point.")
c60063ea 8761 (license license:gpl3+))))
04ce840a
RS
8762
8763(define-public bluefish
8764 (package
8765 (name "bluefish")
290fe81d 8766 (version "2.2.11")
04ce840a
RS
8767 (source
8768 (origin
8769 (method url-fetch)
8770 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
99aa7a2d 8771 "bluefish-" version ".tar.gz"))
04ce840a 8772 (sha256
290fe81d 8773 (base32 "0a7kf78q4cj2ap4igjks9kbmmr74brsrl4y2f9wbxpl0b0v2ck2x"))))
04ce840a
RS
8774 (build-system gnu-build-system)
8775 (native-inputs
8776 `(("desktop-file-utils" ,desktop-file-utils)
8777 ("intltool" ,intltool)
8778 ("pkg-config" ,pkg-config)))
8779 (inputs
8780 `(("enchant" ,enchant)
8781 ("gtk+" ,gtk+)
290fe81d 8782 ("python" ,python-wrapper)
04ce840a
RS
8783 ("xmllint" ,libxml2)
8784 ("gucharmap" ,gucharmap)))
8785 (home-page "http://bluefish.openoffice.nl")
8786 (synopsis "Web development studio")
8787 (description
8788 "Bluefish is an editor targeted towards programmers and web developers,
8789with many options to write web sites, scripts and other code.
8790Bluefish supports many programming and markup languages.")
8791 (license license:gpl3+)))
1f6a73ee
RS
8792
8793(define-public gnome-system-monitor
8794 (package
8795 (name "gnome-system-monitor")
083cffaf 8796 (version "3.32.1")
1f6a73ee
RS
8797 (source
8798 (origin
8799 (method url-fetch)
8800 (uri (string-append "mirror://gnome/sources/" name "/"
8801 (version-major+minor version) "/"
8802 name "-" version ".tar.xz"))
8803 (sha256
8804 (base32
083cffaf 8805 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
85fb3df3
RW
8806 (build-system meson-build-system)
8807 (arguments
8808 '(#:glib-or-gtk? #t
8809 #:configure-flags '("-Dsystemd=false")))
1f6a73ee
RS
8810 (native-inputs
8811 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
85fb3df3 8812 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
1f6a73ee
RS
8813 ("intltool" ,intltool)
8814 ("itstool" ,itstool)
8815 ("libgtop" ,libgtop)
4985d9aa 8816 ("polkit" ,polkit)
1f6a73ee
RS
8817 ("pkg-config" ,pkg-config)))
8818 (inputs
8819 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8820 ("gtk+" ,gtk+)
8821 ("gtkmm" ,gtkmm)
8822 ("librsvg" ,librsvg)
4985d9aa
RW
8823 ("libxml2" ,libxml2)
8824 ("libwnck" ,libwnck)))
1f6a73ee
RS
8825 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8826 (synopsis "Process viewer and system resource monitor for GNOME")
8827 (description
8828 "GNOME System Monitor is a GNOME process viewer and system monitor with
8829an attractive, easy-to-use interface. It has features, such as a tree view
8830for process dependencies, icons for processes, the ability to hide processes,
8831graphical time histories of CPU/memory/swap usage and the ability to
8832kill/reinice processes.")
8833 (license license:gpl2+)))
3e00ac47
SB
8834
8835(define-public python-pyatspi
8836 (package
8837 (name "python-pyatspi")
4f937a32 8838 (version "2.34.0")
3e00ac47
SB
8839 (source (origin
8840 (method url-fetch)
8841 (uri (string-append
8842 "mirror://gnome/sources/pyatspi/"
8843 (version-major+minor version)
8844 "/pyatspi-" version ".tar.xz"))
8845 (sha256
8846 (base32
4f937a32 8847 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
3e00ac47 8848 (build-system gnu-build-system)
b95af3f6
JL
8849 (arguments
8850 `(#:phases
8851 (modify-phases %standard-phases
8852 (add-before 'build 'fix-atk-load
8853 (lambda _
8854 (substitute* "pyatspi/__init__.py"
8855 (("from gi.repository import Atspi")
8856 "gi.require_version('Gtk', '3.0')
8857from gi.repository import Gtk
8858from gi.repository import Atspi"))
8859 #t)))))
3e00ac47
SB
8860 (native-inputs
8861 `(("pkg-config" ,pkg-config)))
8862 (inputs
8863 `(("python" ,python)
8864 ("python-pygobject" ,python-pygobject)))
8865 (synopsis "Python client bindings for D-Bus AT-SPI")
8866 (home-page "https://wiki.linuxfoundation.org/accessibility\
8867/atk/at-spi/at-spi_on_d-bus")
8868 (description
8869 "This package includes a python client library for the AT-SPI D-Bus
8870accessibility infrastructure.")
8871 (license license:lgpl2.0)
8872 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
8873
8874(define-public orca
8875 (package
8876 (name "orca")
089e8585 8877 (version "3.32.0")
53201c0d
SB
8878 (source (origin
8879 (method url-fetch)
8880 (uri (string-append
8881 "mirror://gnome/sources/" name "/"
8882 (version-major+minor version) "/"
8883 name "-" version ".tar.xz"))
8884 (sha256
8885 (base32
089e8585 8886 "05jqzlg0f1x53hyl0l9282ynmw37159g6dsbrid12b7sjs12cc1i"))))
53201c0d
SB
8887 (build-system glib-or-gtk-build-system)
8888 (arguments
8889 '(#:phases
8890 (modify-phases %standard-phases
8891 (add-before 'configure 'qualify-xkbcomp
8892 (lambda* (#:key inputs #:allow-other-keys)
8893 (let ((xkbcomp (string-append
8894 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8895 (substitute* "src/orca/orca.py"
8896 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8897 #t))
8898 (add-after 'install 'wrap-orca
8899 (lambda* (#:key outputs #:allow-other-keys)
8900 (let* ((out (assoc-ref outputs "out"))
8901 (prog (string-append out "/bin/orca")))
8902 (wrap-program prog
8903 `("GI_TYPELIB_PATH" ":" prefix
8904 (,(getenv "GI_TYPELIB_PATH")))
8905 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8906 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8907 `("PYTHONPATH" ":" prefix
8908 (,(getenv "PYTHONPATH")))))
8909 #t)))))
8910 (native-inputs
8911 `(("intltool" ,intltool)
8912 ("itstool" ,itstool)
8913 ("pkg-config" ,pkg-config)
8914 ("xmllint" ,libxml2)))
8915 (inputs
8916 `(("at-spi2-atk" ,at-spi2-atk)
8917 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8918 ("gstreamer" ,gstreamer)
8919 ("gst-plugins-base" ,gst-plugins-base)
8920 ("gst-plugins-good" ,gst-plugins-good)
8921 ("gtk+" ,gtk+)
8922 ("python" ,python)
8923 ("python-pygobject" ,python-pygobject)
8924 ("python-pyatspi" ,python-pyatspi)
8925 ("python-speechd" ,speech-dispatcher)
8926 ("xkbcomp" ,xkbcomp)))
8927 (synopsis
8928 "Screen reader for individuals who are blind or visually impaired")
8929 (home-page "https://wiki.gnome.org/Projects/Orca")
8930 (description
8931 "Orca is a screen reader that provides access to the graphical desktop
8932via speech and refreshable braille. Orca works with applications and toolkits
8933that support the Assistive Technology Service Provider Interface (AT-SPI).")
8934 (license license:lgpl2.1+)))
411ba511
LC
8935
8936(define-public gspell
8937 (package
8938 (name "gspell")
7a6bbe9b 8939 (version "1.8.2")
411ba511
LC
8940 (source (origin
8941 (method url-fetch)
8942 (uri (string-append "mirror://gnome/sources/" name "/"
8943 (version-major+minor version) "/"
8944 name "-" version ".tar.xz"))
8945 (sha256
8946 (base32
7a6bbe9b 8947 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
411ba511
LC
8948 (patches (search-patches "gspell-dash-test.patch"))))
8949 (build-system glib-or-gtk-build-system)
8950 (arguments
d0f50164 8951 '(#:configure-flags (list "--enable-vala")
8952 #:phases
411ba511
LC
8953 (modify-phases %standard-phases
8954 (add-before 'check 'pre-check
8955 (lambda* (#:key inputs #:allow-other-keys)
8956 ;; Tests require a running X server.
8957 (system "Xvfb :1 &")
8958 (setenv "DISPLAY" ":1")
8959
8960 ;; For the missing /etc/machine-id.
8961 (setenv "DBUS_FATAL_WARNINGS" "0")
8962
8963 ;; Allow Enchant and its Aspell backend to find the en_US
8964 ;; dictionary.
8965 (setenv "ASPELL_DICT_DIR"
8966 (string-append (assoc-ref inputs "aspell-dict-en")
8967 "/lib/aspell"))
8968 #t)))))
8969 (inputs
eccd35be 8970 `(("gtk+" ,gtk+)
a801ae4c
TGR
8971 ("glib" ,glib)
8972 ("iso-codes" ,iso-codes)))
411ba511
LC
8973 (native-inputs
8974 `(("glib" ,glib "bin")
26ba3f07 8975 ("gobject-introspection" ,gobject-introspection)
411ba511 8976 ("pkg-config" ,pkg-config)
d0f50164 8977 ("vala" ,vala) ;for VAPI, needed by Geary
411ba511
LC
8978 ("xmllint" ,libxml2)
8979
8980 ;; For tests.
a801ae4c 8981 ("aspell-dict-en" ,aspell-dict-en)
ff337525 8982 ("xorg-server" ,xorg-server-for-tests)))
eccd35be 8983 (propagated-inputs
9b1bb757 8984 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
8985 (home-page "https://wiki.gnome.org/Projects/gspell")
8986 (synopsis "GNOME's alternative spell checker")
8987 (description
8988 "gspell provides a flexible API to add spell-checking to a GTK+
8989application. It provides a GObject API, spell-checking to text entries and
8990text views, and buttons to choose the language.")
8991 (license license:gpl2+)))
d1d739fa
CM
8992
8993(define-public gnome-planner
8994 (package
8995 (name "gnome-planner")
8996 (version "0.14.6")
8997 (source (origin
8998 (method url-fetch)
8999 (uri (string-append "mirror://gnome/sources/planner/"
9000 (version-major+minor version) "/planner-"
9001 version ".tar.xz"))
9002 (sha256
9003 (base32
9004 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
9005 (build-system glib-or-gtk-build-system)
9006 (arguments
9007 ;; Disable the Python bindings because the Planner program functions
9008 ;; without them, and (as of 2017-06-13) we have not packaged all of
9009 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
9010 `(#:configure-flags
9011 (list "--disable-python"
9012 ,@(if (string=? "aarch64-linux" (%current-system))
9013 '("--build=aarch64-unknown-linux-gnu")
9014 '()))))
d1d739fa
CM
9015 (inputs
9016 `(("libgnomecanvas" ,libgnomecanvas)
9017 ("libgnomeui" ,libgnomeui)
9018 ("libglade" ,libglade)
9019 ("gnome-vfs" ,gnome-vfs)
9020 ("gconf" ,gconf)
9021 ("libxml2" ,libxml2)
9022 ("libxslt" ,libxslt)
9023 ("gtk+" ,gtk+)
9024 ("glib" ,glib)))
9025 (native-inputs
9026 `(("intltool" ,intltool)
9027 ("scrollkeeper" ,scrollkeeper)
9028 ("pkg-config" ,pkg-config)))
9029 (home-page "https://wiki.gnome.org/Apps/Planner")
9030 (synopsis "Project management software for the GNOME desktop")
9031 (description
9032 "GNOME Planner is a project management tool based on the Work Breakdown
9033Structure (WBS). Its goal is to enable you to easily plan projects. Based on
9034the resources, tasks, and constraints that you define, Planner generates
9035various views into a project. For example, Planner can show a Gantt chart of
9036the project. It can show a detailed summary of tasks including their
9037duration, cost, and current progress. It can also show a report of resource
9038utilization that highlights under-utilized and over-utilized resources. These
9039views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 9040 (license license:gpl2+)))
64fce637
RS
9041
9042(define-public lollypop
9043 (package
9044 (name "lollypop")
ca32627a 9045 (version "1.2.7")
64fce637
RS
9046 (source
9047 (origin
9048 (method url-fetch)
b98eace8 9049 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
ca32627a 9050 "08f973788c7ca46d9285eec2ac818edb/"
3275d43d 9051 "lollypop-" version ".tar.xz"))
64fce637 9052 (sha256
ca32627a 9053 (base32 "0hvq6m4i62i0m63bg4gzpfb9rv1fk6vq5jl2g3ppcgm4srmfm77j"))))
aa498fc0 9054 (build-system meson-build-system)
64fce637
RS
9055 (arguments
9056 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
9057 ,@%meson-build-system-modules)
9058 #:glib-or-gtk? #t
5fc9b6c1
EF
9059 #:tests? #f ; no test suite
9060 #:phases
9061 (modify-phases %standard-phases
5fc9b6c1
EF
9062 (add-after 'install 'wrap-program
9063 (lambda* (#:key outputs #:allow-other-keys)
9064 (let ((out (assoc-ref outputs "out"))
9065 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9066 (wrap-program (string-append out "/bin/lollypop")
9067 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9068 #t))
8ac8b3b3
TGR
9069 (add-after 'install 'wrap-python
9070 (@@ (guix build python-build-system) wrap))
9071 (add-after 'install 'wrap-glib-or-gtk
9072 (@@ (guix build glib-or-gtk-build-system) wrap-all-programs)))))
64fce637
RS
9073 (native-inputs
9074 `(("intltool" ,intltool)
9075 ("itstool" ,itstool)
aa498fc0
TD
9076 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9077 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
9078 ("pkg-config" ,pkg-config)))
9079 (inputs
9080 `(("gobject-introspection" ,gobject-introspection)
8ac8b3b3 9081 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5fc9b6c1 9082 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
9083 ("libnotify" ,libnotify)
9084 ("libsecret" ,libsecret)
9085 ("libsoup" ,libsoup)
9086 ("python" ,python)
9087 ("python-beautifulsoup4" ,python-beautifulsoup4)
9088 ("python-gst" ,python-gst)
d029afdd 9089 ("python-pil" ,python-pillow)
64fce637 9090 ("python-pycairo" ,python-pycairo)
7460f346 9091 ("python-pygobject" ,python-pygobject-3.34)
64fce637
RS
9092 ("python-pylast" ,python-pylast)
9093 ("totem-pl-parser" ,totem-pl-parser)
9094 ("webkitgtk" ,webkitgtk)))
9095 (propagated-inputs
9096 `(;; gst-plugins-base is required to start Lollypop,
9097 ;; the others are required to play streaming.
64fce637
RS
9098 ("gst-plugins-good" ,gst-plugins-good)
9099 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 9100 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
9101 (synopsis "GNOME music playing application")
9102 (description
9103 "Lollypop is a music player designed to play well with GNOME desktop.
9104Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
9105from artists and tracks from the web. It also fetches cover artworks
9106automatically and it can stream songs from online music services and charts.")
9107 (license license:gpl3+)))
d831d49d
AW
9108
9109(define-public gnome-video-effects
9110 (package
9111 (name "gnome-video-effects")
9112 (version "0.4.3")
9113 (source (origin
9114 (method url-fetch)
9115 (uri (string-append "mirror://gnome/sources/" name "/"
9116 (version-major+minor version) "/" name "-"
9117 version ".tar.xz"))
9118 (sha256
9119 (base32
9120 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
9121 (build-system glib-or-gtk-build-system)
9122 (arguments
9123 `(#:out-of-source? #f))
9124 (native-inputs
9125 `(("glib:bin" ,glib "bin")
9126 ("intltool" ,intltool)
9127 ("gettext" ,gettext-minimal)
9128 ("pkg-config" ,pkg-config)))
9129 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
9130 (synopsis "Video effects for Cheese and other GNOME applications")
9131 (description
9132 "A collection of GStreamer video filters and effects to be used in
9133photo-booth-like software, such as Cheese.")
9134 (license license:gpl2+)))
3511c780
AW
9135
9136(define-public cheese
9137 (package
9138 (name "cheese")
dd33b337 9139 (version "3.32.1")
3511c780
AW
9140 (source (origin
9141 (method url-fetch)
9142 (uri (string-append "mirror://gnome/sources/" name "/"
9143 (version-major+minor version) "/" name "-"
9144 version ".tar.xz"))
9145 (sha256
9146 (base32
dd33b337 9147 "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv"))))
3511c780
AW
9148 (arguments
9149 ;; Tests require GDK.
9150 `(#:tests? #f
9151 #:phases
9152 (modify-phases %standard-phases
9153 (add-before 'install 'skip-gtk-update-icon-cache
9154 (lambda _
9155 ;; Don't create 'icon-theme.cache'
9156 (substitute* "Makefile"
9157 (("gtk-update-icon-cache") (which "true")))
9158 #t))
9159 (add-after 'install 'wrap-cheese
9160 (lambda* (#:key inputs outputs #:allow-other-keys)
9161 (let ((out (assoc-ref outputs "out"))
9162 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9163 (wrap-program (string-append out "/bin/cheese")
9164 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9165 #t)))))
9166 (build-system glib-or-gtk-build-system)
9167 (native-inputs
9168 `(("glib:bin" ,glib "bin")
9169 ("intltool" ,intltool)
9170 ("itstool" ,itstool)
9171 ("libxml2" ,libxml2)
9172 ("pkg-config" ,pkg-config)
9173 ("vala" ,vala)))
9174 (propagated-inputs
6a19f03e
RW
9175 `(("gnome-video-effects" ,gnome-video-effects)
9176 ("clutter" ,clutter)
3511c780
AW
9177 ("clutter-gst" ,clutter-gst)
9178 ("clutter-gtk" ,clutter-gtk)
6a19f03e 9179 ("libcanberra" ,libcanberra)
3511c780
AW
9180 ("gdk-pixbuf" ,gdk-pixbuf)
9181 ("glib" ,glib)
6a19f03e
RW
9182 ("gstreamer" ,gstreamer)))
9183 (inputs
9184 `(("gnome-desktop" ,gnome-desktop)
3511c780 9185 ("gobject-introspection" ,gobject-introspection)
3511c780
AW
9186 ("gst-plugins-base" ,gst-plugins-base)
9187 ("gst-plugins-bad" ,gst-plugins-bad)
9188 ("gtk+" ,gtk+)
3511c780
AW
9189 ("libx11" ,libx11)
9190 ("libxtst" ,libxtst)))
9191 (home-page "https://wiki.gnome.org/Apps/Cheese")
9192 (synopsis "Webcam photo booth software for GNOME")
9193 (description
9194 "Cheese uses your webcam to take photos and videos. Cheese can also
9195apply fancy special effects and lets you share the fun with others.")
9196 (license license:gpl2+)))
3c5dbd2b 9197
9198(define-public sound-juicer
9199 (package
9200 (name "sound-juicer")
9201 (version "3.24.0")
9202 (source
9203 (origin
9204 (method url-fetch)
9205 (uri (string-append "mirror://gnome/sources/" name "/"
9206 (version-major+minor version) "/"
9207 name "-" version ".tar.xz"))
9208 (sha256
9209 (base32
9210 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
9211 (build-system glib-or-gtk-build-system)
9212 (native-inputs
9213 `(("desktop-file-utils" ,desktop-file-utils)
9214 ("intltool" ,intltool)
9215 ("itstool" ,itstool)
9216 ("pkg-config" ,pkg-config)
9217 ("xmllint" ,libxml2)))
9218 (inputs
9219 `(("gtk+" ,gtk+)
9220 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9221 ("gstreamer" ,gstreamer)
9222 ("gst-plugins-base" ,gst-plugins-base)
9223 ("gst-plugins-good" ,gst-plugins-good)
9224 ("iso-codes" ,iso-codes)
9225 ("libbrasero-media3" ,brasero)
9226 ("libcanberra" ,libcanberra)
9227 ("libdiscid" ,libdiscid)
9228 ("libmusicbrainz" ,libmusicbrainz)
9229 ("neon" ,neon)))
9230 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
9231 (synopsis "Audio music cd ripper")
9232 (description "Sound Juicer extracts audio from compact discs and convert it
9233into audio files that a personal computer or digital audio player can play.
9234It supports ripping to any audio codec supported by a GStreamer plugin, such as
9235mp3, Ogg Vorbis and FLAC")
9236 (license license:gpl2+)))
4e3fdeb7 9237
0d3f1708
CB
9238(define-public soundconverter
9239 (package
9240 (name "soundconverter")
fa75a213 9241 (version "3.0.1")
0d3f1708
CB
9242 (source
9243 (origin
9244 (method url-fetch)
9245 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
9246 version "/+download/"
9247 "soundconverter-" version ".tar.xz"))
9248
9249 (sha256
fa75a213 9250 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
0d3f1708
CB
9251 (patches
9252 (search-patches
9253 "soundconverter-remove-gconf-dependency.patch"))))
9254 (build-system glib-or-gtk-build-system)
9255 (arguments
9256 `(#:imported-modules ((guix build python-build-system)
9257 (guix build glib-or-gtk-build-system)
9258 ,@%gnu-build-system-modules)
9259
9260 #:modules ((guix build glib-or-gtk-build-system)
9261 (guix build utils)
9262 ((guix build gnu-build-system) #:prefix gnu:)
9263 ((guix build python-build-system) #:prefix python:))
9264
9265 #:phases
9266 (modify-phases %standard-phases
0d3f1708
CB
9267 (add-after 'install 'wrap-soundconverter-for-python
9268 (assoc-ref python:%standard-phases 'wrap))
9269 (add-after 'install 'wrap-soundconverter
9270 (lambda* (#:key inputs outputs #:allow-other-keys)
9271 (let ((out (assoc-ref outputs "out"))
9272 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9273 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
9274 (wrap-program (string-append out "/bin/soundconverter")
9275 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9276 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
9277 #t)))))
9278 (native-inputs
9279 `(("intltool" ,intltool)
9280 ("pkg-config" ,pkg-config)
9281 ("glib:bin" ,glib "bin")))
9282 (inputs
9283 `(("gtk+" ,gtk+)
9284 ("python" ,python)
9285 ("python-pygobject" ,python-pygobject)
9286 ("gstreamer" ,gstreamer)
9287 ("gst-plugins-base" ,gst-plugins-base)))
e42399e8 9288 (home-page "https://soundconverter.org/")
0d3f1708
CB
9289 (synopsis "Convert between audio formats with a graphical interface")
9290 (description
9291 "SoundConverter supports converting between many audio formats including
9292Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
9293configurable file renaming. ")
9294 (license license:gpl3)))
9295
4e3fdeb7 9296(define-public workrave
89f2d736
TGR
9297 (package
9298 (name "workrave")
aa51d92c 9299 (version "1.10.34")
89f2d736
TGR
9300 (source
9301 (origin
9302 (method git-fetch)
9303 (uri (git-reference
9304 (url "https://github.com/rcaelers/workrave.git")
c2e50474
TGR
9305 (commit (string-append "v" (string-map
9306 (match-lambda (#\. #\_) (chr chr))
9307 version)))))
89f2d736
TGR
9308 (file-name (git-file-name name version))
9309 (sha256
aa51d92c 9310 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
89f2d736 9311 (build-system glib-or-gtk-build-system)
d1c96847
MC
9312 (inputs `(("glib" ,glib)
9313 ("gtk+" ,gtk+)
9314 ("gdk-pixbuf" ,gdk-pixbuf)
9315 ("gtkmm" ,gtkmm)
9316 ("glibmm" ,glibmm)
9317 ("libx11" ,libx11)
9318 ("libxtst" ,libxtst)
9319 ("dconf" ,dconf)
9320 ("libice" ,libice)
9321 ("libsm" ,libsm)
9322 ("libxscrnsaver" ,libxscrnsaver)))
aa51d92c 9323 (native-inputs `(("boost" ,boost)
89f2d736
TGR
9324 ("pkg-config" ,pkg-config)
9325 ("gettext" ,gnu-gettext)
9326 ("autoconf" ,autoconf)
9327 ("autoconf-archive" , autoconf-archive)
9328 ("automake" ,automake)
9329 ("libtool" ,libtool)
9330 ("intltool" ,intltool)
89f2d736 9331 ("gobject-introspection" ,gobject-introspection)
aa51d92c
MC
9332 ("python3" ,python-3)
9333 ("python-jinja2" ,python-jinja2)))
89f2d736
TGR
9334 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
9335 (description
9336 "Workrave is a program that assists in the recovery and prevention of
cc00249b
TGR
9337repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
9338micro-pauses and rest breaks, and restricts you to your daily limit.")
89f2d736
TGR
9339 (home-page "http://www.workrave.org")
9340 (license license:gpl3+)))
312afa7d
LC
9341
9342(define-public ghex
9343 (package
9344 (name "ghex")
3748992a 9345 (version "3.18.4")
312afa7d
LC
9346 (source (origin
9347 (method url-fetch)
2fbab848 9348 (uri (string-append "mirror://gnome/sources/ghex/"
312afa7d 9349 (version-major+minor version) "/"
2fbab848 9350 "ghex-" version ".tar.xz"))
312afa7d
LC
9351 (sha256
9352 (base32
3748992a
KK
9353 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
9354 (build-system meson-build-system)
9355 (arguments
9356 '(#:glib-or-gtk? #t
9357 #:phases
9358 (modify-phases %standard-phases
9359 (add-after 'unpack 'skip-gtk-update-icon-cache
9360 ;; Don't create 'icon-theme.cache'.
9361 (lambda _
9362 (substitute* "meson_post_install.py"
9363 (("gtk-update-icon-cache") (which "true")))
9364 #t)))))
312afa7d
LC
9365 (native-inputs
9366 `(("pkg-config" ,pkg-config)
3748992a 9367 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
312afa7d
LC
9368 ("gnome-common" ,gnome-common)
9369 ("which" ,which)
9370 ("intltool" ,intltool)
9371 ("yelp-tools" ,yelp-tools)
2fbab848 9372 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
312afa7d
LC
9373 (inputs
9374 `(("atk" ,atk)
9375 ("gtk" ,gtk+)))
9376 (synopsis "GNOME hexadecimal editor")
9377 (description "The GHex program can view and edit files in two ways:
9378hexadecimal or ASCII. It is useful for editing binary files in general.")
9379 (home-page "https://wiki.gnome.org/Apps/Ghex")
9380 (license license:gpl2)))
4b2ed6c2
RW
9381
9382(define-public libdazzle
9383 (package
9384 (name "libdazzle")
64fa66ba 9385 (version "3.33.90")
4b2ed6c2
RW
9386 (source (origin
9387 (method url-fetch)
687b4909 9388 (uri (string-append "mirror://gnome/sources/libdazzle/"
4b2ed6c2 9389 (version-major+minor version) "/"
687b4909 9390 "libdazzle-" version ".tar.xz"))
4b2ed6c2
RW
9391 (sha256
9392 (base32
64fa66ba 9393 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
4b2ed6c2
RW
9394 (build-system meson-build-system)
9395 (arguments
9396 `(#:phases
9397 (modify-phases %standard-phases
4b2ed6c2
RW
9398 (add-before 'check 'pre-check
9399 (lambda _
9400 ;; Tests require a running X server.
9401 (system "Xvfb :1 &")
9402 (setenv "DISPLAY" ":1")
9403 #t)))))
9404 (native-inputs
687b4909 9405 `(("glib" ,glib "bin") ; glib-compile-resources
4b2ed6c2 9406 ("pkg-config" ,pkg-config)
687b4909 9407 ;; For tests.
ff337525 9408 ("xorg-server" ,xorg-server-for-tests)))
4b2ed6c2
RW
9409 (inputs
9410 `(("glib" ,glib)
9411 ("gobject-introspection" ,gobject-introspection)
9412 ("gtk+" ,gtk+)
9413 ("vala" ,vala)))
9414 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
9415 (synopsis "Companion library to GObject and Gtk+")
9416 (description "The libdazzle library is a companion library to GObject and
9417Gtk+. It provides various features that the authors wish were in the
9418underlying library but cannot for various reasons. In most cases, they are
9419wildly out of scope for those libraries. In other cases, they are not quite
9420generic enough to work for everyone.")
9421 (license license:gpl3+)))
7d3bb433
RW
9422
9423(define-public evolution
9424 (package
9425 (name "evolution")
06141f83 9426 (version "3.32.4")
7d3bb433
RW
9427 (source (origin
9428 (method url-fetch)
9429 (uri (string-append "mirror://gnome/sources/evolution/"
9430 (version-major+minor version) "/"
9431 "evolution-" version ".tar.xz"))
9432 (sha256
9433 (base32
06141f83 9434 "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh"))))
7d3bb433
RW
9435 (build-system cmake-build-system)
9436 (arguments
5229bea1
KK
9437 `(#:imported-modules (,@%cmake-build-system-modules
9438 (guix build glib-or-gtk-build-system))
9439 #:modules ((guix build cmake-build-system)
9440 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9441 (guix build utils))
9442 #:configure-flags
7d3bb433 9443 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
5229bea1 9444 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
7d3bb433 9445 ; in four years and cannot be built.
5229bea1
KK
9446 #:phases
9447 (modify-phases %standard-phases
9448 ;; The build system attempts to install user interface modules to the
9449 ;; output directory of the "evolution-data-server" package. This
9450 ;; change redirects that change.
9451 (add-after 'unpack 'patch-ui-module-dir
9452 (lambda* (#:key outputs #:allow-other-keys)
9453 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
9454 (("\\$\\{edsuimoduledir\\}")
9455 (string-append (assoc-ref outputs "out")
9456 "/lib/evolution-data-server/ui-modules")))
9457 #t))
9458 (add-after 'install 'glib-or-gtk-compile-schemas
9459 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
9460 (add-after 'install 'glib-or-gtk-wrap
9461 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
7d3bb433 9462 (native-inputs
ad6e168b 9463 `(("glib" ,glib "bin") ; glib-mkenums
7d3bb433
RW
9464 ("pkg-config" ,pkg-config)
9465 ("intltool" ,intltool)
9466 ("itstool" ,itstool)))
9467 (inputs
9468 `(("enchant" ,enchant)
9469 ("evolution-data-server" ,evolution-data-server) ; must be the same version
9470 ("gcr" ,gcr)
ad6e168b 9471 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7d3bb433
RW
9472 ("gnome-autoar" ,gnome-autoar)
9473 ("gnome-desktop" ,gnome-desktop)
9474 ("gtkspell3" ,gtkspell3)
9475 ("highlight" ,highlight)
9476 ("libcanberra" ,libcanberra)
b63c06f1 9477 ("libedataserverui" ,evolution-data-server)
7d3bb433
RW
9478 ("libgweather" ,libgweather)
9479 ("libnotify" ,libnotify)
9480 ("libsoup" ,libsoup)
9481 ("nss" ,nss)
9482 ("openldap" ,openldap)
9483 ("webkitgtk" ,webkitgtk)
9484 ("ytnef" ,ytnef)))
9485 (home-page "https://gitlab.gnome.org/GNOME/evolution")
9486 (synopsis "Manage your email, contacts and schedule")
9487 (description "Evolution is a personal information management application
9488that provides integrated mail, calendaring and address book
9489functionality.")
9490 ;; See COPYING for details.
23dbe621 9491 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7d3bb433 9492 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
23dbe621 9493 license:lgpl2.1+)))) ; smime/lib/*
169d63f5
AT
9494
9495(define-public gthumb
9496 (package
9497 (name "gthumb")
8280676b 9498 (version "3.8.2")
169d63f5
AT
9499 (source (origin
9500 (method url-fetch)
9501 (uri (string-append "mirror://gnome/sources/gthumb/"
9502 (version-major+minor version) "/"
9503 "gthumb-" version ".tar.xz"))
9504 (sha256
9505 (base32
8280676b 9506 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
169d63f5
AT
9507 (build-system meson-build-system)
9508 (arguments
9509 `(#:glib-or-gtk? #t
9510 #:configure-flags
9511 ;; Ensure the RUNPATH contains all installed library locations.
9512 (list (string-append "-Dc_link_args=-Wl,-rpath="
9513 (assoc-ref %outputs "out")
9514 "/lib/gthumb/extensions")
9515 (string-append "-Dcpp_link_args=-Wl,-rpath="
9516 (assoc-ref %outputs "out")
9517 "/lib/gthumb/extensions"))))
9518 (native-inputs
9519 `(("pkg-config" ,pkg-config)
9520 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9521 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9522 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9523 ("intltool" ,intltool)
9524 ("itstool" ,itstool)))
9525 (inputs
9526 `(("exiv2" ,exiv2)
9527 ("gtk" ,gtk+)
9528 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9529 ("gstreamer" ,gstreamer)
9530 ("clutter" ,clutter)
9531 ("clutter-gst" ,clutter-gst)
9532 ("clutter-gtk" ,clutter-gtk)
9533 ("libjpeg" ,libjpeg)
9534 ("libtiff" ,libtiff)
9535 ("libraw" ,libraw)))
9536 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9537 (synopsis "GNOME image viewer and browser")
9538 (description "GThumb is an image viewer, browser, organizer, editor and
9539advanced image management tool")
9540 (license license:gpl2+)))
08be02be
AT
9541
9542(define-public terminator
9543 (package
9544 (name "terminator")
9545 (version "1.91")
9546 (source (origin
9547 (method url-fetch)
9548 (uri (string-append "https://launchpad.net/" name "/"
9549 "gtk3/" version "/" "+download/"
9550 name "-" version ".tar.gz"))
9551 (sha256
9552 (base32
9553 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9554 (build-system python-build-system)
9555 (native-inputs
9556 `(("intltool" ,intltool)
9557 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9558 ("gettext" ,gettext-minimal)
9559 ("pkg-config" ,pkg-config)))
9560 (inputs
9561 `(("cairo" ,cairo)
9562 ("gobject-introspection" ,gobject-introspection)
96681d4b 9563 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
08be02be
AT
9564 ("python2-pycairo" ,python2-pycairo)
9565 ("python2-pygobject" ,python2-pygobject)
9566 ("python2-psutil" ,python2-psutil)
9567 ("vte" ,vte)))
9568 (arguments
96681d4b
TGR
9569 `(#:python ,python-2 ; Python 3 isn't supported
9570 #:imported-modules ((guix build glib-or-gtk-build-system)
9571 ,@%python-build-system-modules)
9572 #:modules ((guix build python-build-system)
9573 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9574 (guix build utils))
08be02be
AT
9575 #:phases
9576 (modify-phases %standard-phases
9577 (add-after
9578 'install 'wrap-program
9579 (lambda* (#:key outputs #:allow-other-keys)
9580 (let ((prog (string-append (assoc-ref outputs "out")
9581 "/bin/terminator")))
9582 (wrap-program prog
9583 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9584 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
96681d4b
TGR
9585 #t)))
9586 (add-after 'wrap-program 'glib-or-gtk-wrap
9587 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
08be02be
AT
9588 (home-page "https://gnometerminator.blogspot.com/")
9589 (synopsis "Store and run multiple GNOME terminals in one window")
9590 (description
9591 "Terminator allows you to run multiple GNOME terminals in a grid and
9592+tabs, and it supports drag and drop re-ordering of terminals.")
9593 (license license:gpl2)))
213315d4
JF
9594
9595(define-public libhandy
9596 (package
9597 (name "libhandy")
f6501b9f 9598 (version "0.0.12")
213315d4
JF
9599 (source
9600 (origin
9601 (method git-fetch)
9602 (uri (git-reference
9603 (url "https://source.puri.sm/Librem5/libhandy")
9604 (commit (string-append "v" version))))
9605 (file-name (git-file-name name version))
9606 (sha256
f6501b9f 9607 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
213315d4
JF
9608 (build-system meson-build-system)
9609 (arguments
9610 `(#:configure-flags
9611 '("-Dglade_catalog=disabled"
9612 "-Dgtk_doc=true")
9613 #:phases
9614 (modify-phases %standard-phases
213315d4
JF
9615 (add-before 'check 'pre-check
9616 (lambda _
9617 ;; Tests require a running X server.
9618 (system "Xvfb :1 &")
9619 (setenv "DISPLAY" ":1")
9620 #t)))))
9621 (inputs
9622 `(("gtk+" ,gtk+)))
9623 (native-inputs
9624 `(("glib:bin" ,glib "bin")
9625 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9626 ("vala" ,vala)
9627 ("gtk-doc" ,gtk-doc)
9628 ("pkg-config" ,pkg-config)
9629 ("gettext" ,gettext-minimal)
d41ee146
TGR
9630
9631 ;; Test suite dependencies.
ff337525 9632 ("xorg-server" ,xorg-server-for-tests)
d41ee146 9633 ("hicolor-icon-theme" ,hicolor-icon-theme)))
213315d4
JF
9634 (home-page "https://source.puri.sm/Librem5/libhandy")
9635 (synopsis "Library full of GTK+ widgets for mobile phones")
9636 (description "The aim of the handy library is to help with developing user
ae4e1414
JB
9637interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9638for usage on small and big screens.")
213315d4 9639 (license license:lgpl2.1+)))
a830d14d
GL
9640
9641(define-public libgit2-glib
9642 (package
9643 (name "libgit2-glib")
6448c2e1 9644 (version "0.99.0.1")
a830d14d
GL
9645 (source (origin
9646 (method url-fetch)
9647 (uri (string-append "mirror://gnome/sources/" name "/"
9648 (version-major+minor version) "/"
9649 name "-" version ".tar.xz"))
9650 (sha256
9651 (base32
6448c2e1 9652 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
a830d14d
GL
9653 (build-system meson-build-system)
9654 (native-inputs
9655 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9656 ("gobject-introspection" ,gobject-introspection)
a830d14d
GL
9657 ("pkg-config" ,pkg-config)
9658 ("python-pygobject" ,python-pygobject)
9659 ("python-wrapper" ,python-wrapper)
9660 ("vala" ,vala)))
9661 (inputs
9662 `(("glib" ,glib)
8c6aae46
MB
9663 ("libssh2" ,libssh2)))
9664 (propagated-inputs
9665 `(;; In Requires of libgit2-glib.pc.
a830d14d
GL
9666 ("libgit2" ,libgit2)))
9667 (synopsis "GLib wrapper around the libgit2 Git access library")
9668 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9669access library. It only implements the core plumbing functions, not really the
9670higher level porcelain stuff.")
9671 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9672 (license license:gpl2+)))
93beace0 9673
08db81c9
LP
9674(define-public gitg
9675 (package
9676 (name "gitg")
9677 (version "3.32.1")
9678 (source (origin
9679 (method url-fetch)
9680 (uri (string-append "mirror://gnome/sources/" name "/"
9681 (version-major+minor version) "/"
9682 name "-" version ".tar.xz"))
9683 (sha256
9684 (base32
9685 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9686 (build-system meson-build-system)
9687 (arguments
9688 `(#:glib-or-gtk? #t
9689 #:phases
9690 (modify-phases %standard-phases
9691 (add-after 'unpack 'disable-post-install-partially
9692 (lambda _
9693 (substitute* "meson_post_install.py"
9694 (("'python'") ; there are no python sources to compile
9695 (string-append "'" (which "true") "'"))
9696 (("gtk-update-icon-cache") (which "true")))
9697 #t))
9698 (add-after 'unpack 'fix-test-sources
9699 (lambda _
9700 (substitute* "tests/libgitg/test-commit.vala"
9701 (("/bin/bash") (which "bash")))
9702 #t))
9703 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9704 (lambda* (#:key outputs #:allow-other-keys)
9705 (let ((prog (string-append (assoc-ref outputs "out")
9706 "/bin/gitg")))
9707 (wrap-program prog
9708 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9709 #t))))))
9710 (inputs
9711 `(("glib" ,glib)
9712 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9713 ("gtk+" ,gtk+)
9714 ("gtkspell3" ,gtkspell3)
9715 ("gtksourceview" ,gtksourceview-3)
9716 ("json-glib" ,json-glib)
9717 ("libdazzle" ,libdazzle)
9718 ("libgee" ,libgee)
08db81c9
LP
9719 ("libgit2-glib" ,libgit2-glib)
9720 ("libpeas" ,libpeas)
9721 ("libsecret" ,libsecret)
9722 ("libsoup" ,libsoup)
9723 ("libxml2" ,libxml2)))
9724 (native-inputs
9725 `(("glib:bin" ,glib "bin")
9726 ("gtk+:bin" ,gtk+ "bin")
9727 ("gobject-introspection" ,gobject-introspection)
9728 ("intltool" ,intltool)
9729 ("pkg-config" ,pkg-config)
9730 ("vala" ,vala)))
9731 (synopsis "Graphical user interface for git")
9732 (description
9733 "gitg is a graphical user interface for git. It aims at being a small,
9734fast and convenient tool to visualize the history of git repositories.
9735Besides visualization, gitg also provides several utilities to manage your
9736repository and commit your work.")
9737 (home-page "https://wiki.gnome.org/Apps/Gitg")
9738 (license license:gpl2+)))
9739
1e600ed0
RW
9740(define-public gamin
9741 (package
9742 (name "gamin")
9743 (version "0.1.10")
9744 (source (origin
9745 (method url-fetch)
9746 (uri (string-append "mirror://gnome/sources/" name "/"
9747 (version-major+minor version) "/"
9748 name "-" version ".tar.bz2"))
9749 (sha256
9750 (base32
9751 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9752 (build-system gnu-build-system)
9753 (arguments
9754 `(#:phases
9755 (modify-phases %standard-phases
9756 (add-after 'unpack 'remove-deprecated-macro
9757 (lambda _
9758 (substitute* '("server/gam_node.c"
9759 "server/gam_subscription.h"
9760 "server/gam_node.h"
9761 "server/gam_subscription.c")
9762 (("G_CONST_RETURN") "const"))
9763 #t)))))
9764 (inputs
9765 `(("glib" ,glib)))
9766 (native-inputs
9767 `(("intltool" ,intltool)
9768 ("pkg-config" ,pkg-config)))
9769 (home-page "https://people.gnome.org/~veillard/gamin/")
9770 (synopsis "File alteration monitor")
9771 (description
9772 "Gamin is a file and directory monitoring system defined to be a subset
9773of the FAM (File Alteration Monitor) system. This is a service provided by a
9774library which allows to detect when a file or a directory has been modified.")
9775 (license license:gpl2+)))
9776
93beace0
DW
9777(define-public gnome-mahjongg
9778 (package
9779 (name "gnome-mahjongg")
9780 (version "3.35.1")
9781 (source (origin
9782 (method git-fetch)
9783 (uri (git-reference
9784 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9785 (commit version)))
9786 (file-name (git-file-name name version))
9787 (sha256
9788 (base32
9789 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9790 (build-system meson-build-system)
9791 (arguments
9792 `(#:glib-or-gtk? #t))
9793 (native-inputs
9794 `(("appstream-glib" ,appstream-glib)
9795 ("gettext" ,gettext-minimal)
9796 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9797 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9798 ("itstool" ,itstool)
9799 ("pkg-config" ,pkg-config)
9800 ("vala" ,vala)))
9801 (propagated-inputs
9802 `(("dconf" ,dconf)))
9803 (inputs
9804 `(("glib" ,glib)
9805 ("gtk+" ,gtk+)
9806 ("librsvg" ,librsvg)))
9807 (synopsis "Mahjongg tile-matching game")
9808 (description "GNOME Mahjongg is a game based on the classic Chinese
9809tile-matching game Mahjong. It features multiple board layouts, tile themes,
9810and a high score table.")
9811 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9812 (license license:gpl2+)))
f825476c 9813
76ea7632
RG
9814(define-public gnome-themes-extra
9815 (package
9816 (name "gnome-themes-extra")
9817 (version "3.28")
9818 (source
9819 (origin
9820 (method url-fetch)
9821 (uri (string-append "mirror://gnome/sources/" name "/"
9822 (version-major+minor version) "/" name "-"
9823 version ".tar.xz"))
9824 (sha256
9825 (base32
9826 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9827 (build-system gnu-build-system)
885424bf
RG
9828 (arguments
9829 '(#:configure-flags
9830 ;; Don't create 'icon-theme.cache'.
9831 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9832 (true (string-append coreutils "/bin/true")))
9833 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
76ea7632
RG
9834 (native-inputs
9835 `(("glib:bin" ,glib "bin")
9836 ("intltool" ,intltool)
9837 ("pkg-config" ,pkg-config)))
9838 (inputs
9839 `(("glib" ,glib)
9840 ("gtk+" ,gtk+)
9841 ("gtk+-2" ,gtk+-2)
9842 ("librsvg" ,librsvg)
9843 ("libxml2" ,libxml2)))
9844 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9845 (synopsis "GNOME Extra Themes")
9846 (description "This package provides themes and related elements that don't
9847really fit in other upstream packages. It offers legacy support for GTK+ 2
9848versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9849index files needed for Adwaita to be used outside of GNOME.")
9850 (license license:lgpl2.1+)))
9851
f825476c
LP
9852(define-public polari
9853 (package
9854 (name "polari")
9855 (version "3.32.2")
9856 (source (origin
9857 (method url-fetch)
9858 (uri (string-append "mirror://gnome/sources/polari/"
9859 (version-major+minor version)
9860 "/polari-" version ".tar.xz"))
9861 (sha256
9862 (base32
9863 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9864 (build-system meson-build-system)
9865 (arguments
9866 `(#:glib-or-gtk? #t
9867 #:phases
9868 (modify-phases %standard-phases
9869 (add-after 'unpack 'skip-gtk-update-icon-cache
9870 (lambda _
9871 (substitute* "meson/meson-postinstall.sh"
9872 (("gtk-update-icon-cache") (which "true")))
9873 #t))
9874 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9875 (lambda* (#:key outputs #:allow-other-keys)
9876 (let ((prog (string-append (assoc-ref outputs "out")
9877 "/bin/polari")))
9878 (wrap-program prog
9879 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9880 #t))))))
9881 (inputs
9882 `(("glib" ,glib)
9883 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9884 ("gspell" ,gspell)
9885 ("gtk+" ,gtk+)
9886 ("gjs" ,gjs)
9887 ("libsecret" ,libsecret)
9888 ("libsoup" ,libsoup)
9889 ("telepathy-glib" ,telepathy-glib)
9890 ("telepathy-logger" ,telepathy-logger)))
9891 (native-inputs
9892 `(("glib:bin" ,glib "bin")
9893 ("gobject-introspection" ,gobject-introspection)
9894 ("intltool" ,intltool)
9895 ("pkg-config" ,pkg-config)
9896 ("yelp-tools" ,yelp-tools)))
9897 (propagated-inputs
9898 `(("telepathy-idle" ,telepathy-idle)
9899 ("telepathy-mission-control" ,telepathy-mission-control)))
9900 (synopsis "Simple IRC Client")
9901 (description
9902 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9903integrate seamlessly with the GNOME desktop.")
9904 (home-page "https://wiki.gnome.org/Apps/Polari")
9905 (license license:gpl2+)))
59d4c8c2
PN
9906
9907(define-public gnome-boxes
9908 (package
9909 (name "gnome-boxes")
9910 (version "3.35.91")
9911 (source
9912 (origin
9913 (method url-fetch)
9914 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
9915 (version-major+minor version) "/"
9916 "gnome-boxes-" version ".tar.xz"))
9917 (sha256
9918 (base32
9919 "0l96spz6pc8q4l5p9a58cc0kgvdr7pbc89hy6ixn72k5pl3s7fxj"))))
9920 (build-system meson-build-system)
9921 (arguments
9922 '(#:glib-or-gtk? #t
9923 #:configure-flags (list "-Drdp=false"
9924 (string-append "-Dc_link_args=-Wl,-rpath="
9925 (assoc-ref %outputs "out")
9926 "/lib/gnome-boxes"))))
9927 (native-inputs
9928 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
9929 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9930 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9931 ("itstool" ,itstool)
9932 ("intltool" ,intltool)
9933 ("vala" ,vala)
9934 ("pkg-config" ,pkg-config)))
9935 (inputs
9936 `(("libarchive" ,libarchive)
9937 ("gtk" ,gtk+)
9938 ("gtk-vnc" ,gtk-vnc)
9939 ("libosinfo" ,libosinfo)
9940 ("libsecret" ,libsecret)
9941 ("libsoup" ,libsoup)
9942 ("libusb" ,libusb)
9943 ("libvirt" ,libvirt)
9944 ("libvirt-glib" ,libvirt-glib)
9945 ("libxml" ,libxml2)
9946 ("spice-gtk" ,spice-gtk)
9947 ("sparql-query" ,sparql-query)
9948 ("vte" ,vte)
9949 ("webkitgtk" ,webkitgtk)
9950 ("tracker" ,tracker)
9951 ("libgudev" ,libgudev)))
9952 (home-page "https://wiki.gnome.org/Apps/Boxes")
9953 (synopsis "View, access, and manage remote and virtual systems")
9954 (description "GNOME Boxes is a simple application to view, access, and
9955manage remote and virtual systems.")
9956 (license (list
9957 ;; For data/icons/empty-boxes.png.
9958 license:cc-by2.0
9959 ;; For all others.
9960 license:lgpl2.0+))))
0e26c3cf 9961
9962(define-public geary
9963 (package
9964 (name "geary")
9965 (version "3.34.1")
9966 (source (origin
9967 (method git-fetch)
9968 (uri (git-reference
9969 (url "https://gitlab.gnome.org/GNOME/geary")
9970 (commit version)))
9971 (file-name (git-file-name name version))
9972 (sha256
9973 (base32
9974 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
9975 (build-system meson-build-system)
9976 (arguments
9977 `(#:glib-or-gtk? #t
9978 #:phases (modify-phases %standard-phases
9979 (add-after 'unpack 'disable-failing-tests
9980 (lambda _
9981 (substitute* "test/meson.build"
9982 (("test\\('client-tests', geary_test_client_bin\\)")
9983 ""))
9984 #t))
9985 (add-after 'unpack 'disable-postinstall-script
9986 (lambda _
9987 (substitute* "meson.build"
9988 (("meson.add_install_script\\(\
9989join_paths\\('build-aux', 'post_install.py'\\)\\)")
9990 ""))
9991 #t))
9992 (add-before 'check 'setup-xvfb
9993 (lambda _
9994 (system "Xvfb :1 &")
9995 (setenv "DISPLAY" ":1")
9996 #t)))))
9997 (inputs
9998 `(("enchant" ,enchant)
9999 ("folks" ,folks)
10000 ("gcr" ,gcr)
10001 ("glib" ,glib)
10002 ("gmime" ,gmime-2.6)
10003 ("gnome-online-accounts:lib"
10004 ,gnome-online-accounts "lib")
10005 ("gspell" ,gspell)
10006 ("gtk+" ,gtk+)
10007 ("iso-codes" ,iso-codes)
10008 ("json-glib" ,json-glib)
10009 ("libcanberra" ,libcanberra)
10010 ("libgee" ,libgee)
10011 ("libhandy" ,libhandy)
10012 ("libpeas" ,libpeas)
10013 ("libsecret" ,libsecret)
10014 ("libunwind" ,libunwind)
10015 ("sqlite" ,sqlite)
10016 ("webkitgtk" ,webkitgtk)
10017 ("ytnef" ,ytnef)))
10018 (native-inputs
10019 `(("appstream-glib" ,appstream-glib)
10020 ("cmake-minimal" ,cmake-minimal)
10021 ("desktop-file-utils" ,desktop-file-utils)
10022 ("gettext" ,gnu-gettext)
10023 ("glib:bin" ,glib "bin")
10024 ("gobject-introspection" ,gobject-introspection)
10025 ("itstool" ,itstool)
10026 ("libarchive" ,libarchive)
10027 ("libxml2" ,libxml2)
10028 ("pkg-config" ,pkg-config)
10029 ("vala" ,vala)
10030 ("xvfb" ,xorg-server-for-tests)))
10031 (synopsis "GNOME email application built around conversations")
10032 (description
10033 "Geary collects related messages together into conversations,
10034making it easy to find and follow your discussions. Full-text and keyword
10035search makes it easy to find the email you are looking for. Geary's
10036full-featured composer lets you send rich, styled text with images, links, and
10037lists, but also send lightweight, easy to read text messages. Geary
10038automatically picks up your existing GNOME Online Accounts, and adding more is
10039easy. Geary has a clean, fast, modern interface that works like you want it
10040to.")
10041 (home-page "https://wiki.gnome.org/Apps/Geary")
10042 (license (list
10043 ;; geary
10044 license:lgpl2.1+
10045 ;; icons
10046 license:cc-by3.0
10047 license:cc-by-sa3.0
10048 license:public-domain
10049 ;; snowball
10050 license:bsd-2))))