doc: Make sure 'htmlxref.cnf' is honored.
[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>
44a06c94 3;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
29a7c98a 4;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
7108425c 5;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
58d32305 6;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
8b877545 7;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
7aab13f1 8;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
63ad9b80 9;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
1e7464a9 10;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
7d3bb433 11;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
64a153bd 12;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
293ff8b2 13;;; Copyright © 2015 David Thompson <davet@gnu.org>
0528f70d 14;;; Copyright © 2015, 2016, 2017, 2018, 2019 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>
ec47c07d 37;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
3e9c80b2 38;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
a7a31827 39;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
633422b0 40;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
213315d4 41;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
aa51d92c 42;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
ad6e168b 43;;; Copyright © 2019 Martin Becze <mjbecze@riseup.net>
93beace0 44;;; Copyright © 2019 David Wilson <david@daviwil.com>
4e868d22 45;;; Copyright © 2019 Raghav Gururajan <raghavgururajan@disroot.org>
f6501b9f 46;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
26ba3f07 47;;; Copyright © 2019 Leo Prikler <leo.prikler@student.tugraz.at>
fa01e10d 48;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
995b7261
AE
49;;;
50;;; This file is part of GNU Guix.
51;;;
52;;; GNU Guix is free software; you can redistribute it and/or modify it
53;;; under the terms of the GNU General Public License as published by
54;;; the Free Software Foundation; either version 3 of the License, or (at
55;;; your option) any later version.
56;;;
57;;; GNU Guix is distributed in the hope that it will be useful, but
58;;; WITHOUT ANY WARRANTY; without even the implied warranty of
59;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
60;;; GNU General Public License for more details.
61;;;
62;;; You should have received a copy of the GNU General Public License
63;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
64
65(define-module (gnu packages gnome)
ed19903d 66 #:use-module (gnu packages)
ba5dd105 67 #:use-module (gnu packages admin)
411ba511 68 #:use-module (gnu packages aspell)
75016d07 69 #:use-module (gnu packages autotools)
7b212526 70 #:use-module (gnu packages avahi)
b29909b4 71 #:use-module (gnu packages backup)
6a180f6f 72 #:use-module (gnu packages base)
1e33331c 73 #:use-module (gnu packages bash)
5698b8b8 74 #:use-module (gnu packages bison)
aa51d92c 75 #:use-module (gnu packages boost)
5fc9b6c1 76 #:use-module (gnu packages build-tools)
df217748 77 #:use-module (gnu packages calendar)
b29909b4 78 #:use-module (gnu packages cdrom)
df12f04a 79 #:use-module (gnu packages check)
d61a894b 80 #:use-module (gnu packages cmake)
b29909b4 81 #:use-module (gnu packages compression)
8f523eb9 82 #:use-module (gnu packages crates-io)
23a22af6 83 #:use-module (gnu packages cups)
6e1bb642 84 #:use-module (gnu packages curl)
c3f29bc9 85 #:use-module (gnu packages cyrus-sasl)
6e1bb642 86 #:use-module (gnu packages databases)
255d1bbe 87 #:use-module (gnu packages dbm)
c769cf9f 88 #:use-module (gnu packages djvu)
ba5dd105 89 #:use-module (gnu packages dns)
b4ce6300 90 #:use-module (gnu packages docbook)
b29909b4 91 #:use-module (gnu packages documentation)
329d731b 92 #:use-module (gnu packages enchant)
b29909b4
TGR
93 #:use-module (gnu packages flex)
94 #:use-module (gnu packages fonts)
e762d943 95 #:use-module (gnu packages file-systems)
a56be436 96 #:use-module (gnu packages fontutils)
b29909b4 97 #:use-module (gnu packages freedesktop)
dfc407f3 98 #:use-module (gnu packages game-development)
fed5a689 99 #:use-module (gnu packages gettext)
b29909b4
TGR
100 #:use-module (gnu packages ghostscript)
101 #:use-module (gnu packages gl)
995b7261 102 #:use-module (gnu packages glib)
c1354b90 103 #:use-module (gnu packages gnupg)
23a22af6 104 #:use-module (gnu packages gnuzilla)
8d8c6bff 105 #:use-module (gnu packages geo)
b29909b4
TGR
106 #:use-module (gnu packages gperf)
107 #:use-module (gnu packages graphviz)
85f5dc19 108 #:use-module (gnu packages gstreamer)
d9c1a22b 109 #:use-module (gnu packages gtk)
6b888eff 110 #:use-module (gnu packages guile)
b645146f 111 #:use-module (gnu packages ibus)
03be9874 112 #:use-module (gnu packages icu4c)
b29909b4
TGR
113 #:use-module (gnu packages image)
114 #:use-module (gnu packages imagemagick)
115 #:use-module (gnu packages inkscape)
9cc98f8a 116 #:use-module (gnu packages iso-codes)
b29909b4 117 #:use-module (gnu packages kerberos)
85f5dc19 118 #:use-module (gnu packages libcanberra)
b64e217f 119 #:use-module (gnu packages libunistring)
75016d07 120 #:use-module (gnu packages libusb)
b29909b4 121 #:use-module (gnu packages linux)
4e3fc547 122 #:use-module (gnu packages lirc)
7b212526 123 #:use-module (gnu packages lua)
b29909b4 124 #:use-module (gnu packages mail)
03be9874 125 #:use-module (gnu packages mp3)
b29909b4 126 #:use-module (gnu packages multiprecision)
64fce637 127 #:use-module (gnu packages music)
b29909b4
TGR
128 #:use-module (gnu packages ncurses)
129 #:use-module (gnu packages nettle)
ba5dd105 130 #:use-module (gnu packages networking)
5fc9b6c1 131 #:use-module (gnu packages ninja)
aff0cce9 132 #:use-module (gnu packages nss)
b29909b4 133 #:use-module (gnu packages openldap)
b645146f 134 #:use-module (gnu packages password-utils)
de1215e2 135 #:use-module (gnu packages pcre)
b29909b4 136 #:use-module (gnu packages pdf)
27477d2d 137 #:use-module (gnu packages perl)
f70d8383 138 #:use-module (gnu packages photo)
995b7261 139 #:use-module (gnu packages pkg-config)
b29909b4
TGR
140 #:use-module (gnu packages polkit)
141 #:use-module (gnu packages popt)
7d3bb433 142 #:use-module (gnu packages pretty-print)
23a22af6 143 #:use-module (gnu packages pulseaudio)
995b7261 144 #:use-module (gnu packages python)
00014781
RW
145 #:use-module (gnu packages python-crypto)
146 #:use-module (gnu packages python-web)
44d10b1f 147 #:use-module (gnu packages python-xyz)
cce0da5e 148 #:use-module (gnu packages rdesktop)
b29909b4 149 #:use-module (gnu packages readline)
a76d0f03 150 #:use-module (gnu packages ruby)
ec47c07d 151 #:use-module (gnu packages rust)
b29909b4 152 #:use-module (gnu packages samba)
75016d07 153 #:use-module (gnu packages scanner)
240cee8a 154 #:use-module (gnu packages selinux)
c27e02bf 155 #:use-module (gnu packages slang)
b29909b4
TGR
156 #:use-module (gnu packages speech)
157 #:use-module (gnu packages spice)
cd0322a3 158 #:use-module (gnu packages sqlite)
4a1bf090 159 #:use-module (gnu packages ssh)
8f9ac901 160 #:use-module (gnu packages tex)
33dc54b0 161 #:use-module (gnu packages time)
a7fd7b68 162 #:use-module (gnu packages tls)
3c5dbd2b 163 #:use-module (gnu packages version-control)
b29909b4 164 #:use-module (gnu packages video)
59132b80 165 #:use-module (gnu packages virtualization)
f2b96b3a 166 #:use-module (gnu packages vpn)
a18f8eaf 167 #:use-module (gnu packages web)
b29909b4
TGR
168 #:use-module (gnu packages web)
169 #:use-module (gnu packages webkit)
170 #:use-module (gnu packages xdisorg)
171 #:use-module (gnu packages xiph)
172 #:use-module (gnu packages xml)
d633f2f6 173 #:use-module (gnu packages xorg)
b29909b4 174 #:use-module (gnu packages xorg)
a76d0f03 175 #:use-module (gnu artwork)
8f523eb9 176 #:use-module (guix build-system cargo)
b29909b4
TGR
177 #:use-module (guix build-system cmake)
178 #:use-module (guix build-system glib-or-gtk)
179 #:use-module (guix build-system gnu)
180 #:use-module (guix build-system meson)
08be02be 181 #:use-module (guix build-system python)
b29909b4
TGR
182 #:use-module (guix build-system trivial)
183 #:use-module (guix download)
184 #:use-module (guix git-download)
185 #:use-module ((guix licenses) #:prefix license:)
186 #:use-module (guix packages)
187 #:use-module (guix utils)
a76d0f03 188 #:use-module (guix gexp)
8f523eb9
EF
189 #:use-module (guix monads)
190 #:use-module (guix store)
4e3fdeb7 191 #:use-module (ice-9 match)
c024ae36 192 #:use-module (srfi srfi-1))
85f5dc19
AE
193
194(define-public brasero
195 (package
196 (name "brasero")
e2bf423a 197 (version "3.12.2")
85f5dc19
AE
198 (source (origin
199 (method url-fetch)
d1df7554 200 (uri (string-append "mirror://gnome/sources/brasero/"
e8627cd9 201 (version-major+minor version) "/"
d1df7554 202 "brasero-" version ".tar.xz"))
85f5dc19
AE
203 (sha256
204 (base32
e2bf423a 205 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
1c40e3b7 206 (build-system glib-or-gtk-build-system)
e8627cd9
DH
207 (arguments
208 `(#:configure-flags (list
209 (string-append "--with-girdir="
210 (assoc-ref %outputs "out")
211 "/share/gir-1.0")
212 (string-append "--with-typelibdir="
213 (assoc-ref %outputs "out")
ce426deb
TD
214 "/lib/girepository-1.0"))
215 #:phases
216 (modify-phases %standard-phases
217 (add-before 'configure 'embed-growisofs
218 (lambda* (#:key inputs #:allow-other-keys)
219 (substitute* "plugins/growisofs/burn-growisofs.c"
220 (("\"growisofs") (string-append "\"" (which "growisofs"))))
e2bf423a 221 #t)))))
85f5dc19
AE
222 (propagated-inputs
223 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
9cc98f8a
CR
224 (native-inputs
225 `(("intltool" ,intltool)
ba549e17 226 ("itstool" ,itstool)
426adbe8 227 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
e8627cd9 228 ("gobject-introspection" ,gobject-introspection)
9cc98f8a 229 ("pkg-config" ,pkg-config)))
85f5dc19 230 (inputs
ce426deb
TD
231 `(("dvd+rw-tools" ,dvd+rw-tools)
232 ("glib" ,glib)
85f5dc19
AE
233 ("gnome-doc-utils" ,gnome-doc-utils)
234 ("gstreamer" ,gstreamer)
235 ("gst-plugins-base" ,gst-plugins-base)
236 ("gtk+" ,gtk+)
85f5dc19
AE
237 ("libcanberra" ,libcanberra)
238 ("libice" ,libice)
239 ("libnotify" ,libnotify)
240 ("libsm" ,libsm)
e8627cd9 241 ("libxml2" ,libxml2)
e8627cd9 242 ("totem-pl-parser" ,totem-pl-parser)))
fb9399e9 243 (home-page "https://wiki.gnome.org/Apps/Brasero")
85f5dc19
AE
244 (synopsis "CD/DVD burning tool for Gnome")
245 (description "Brasero is an application to burn CD/DVD for the Gnome
246Desktop. It is designed to be as simple as possible and has some unique
247features to enable users to create their discs easily and quickly.")
1dd26275 248 (license license:gpl2+)))
995b7261 249
29ae18db
RG
250(define-public gnome-color-manager
251 (package
252 (name "gnome-color-manager")
253 (version "3.32.0")
254 (source (origin
255 (method url-fetch)
256 (uri (string-append "mirror://gnome/sources/" name "/"
257 (version-major+minor version) "/"
258 name "-" version ".tar.xz"))
259 (sha256
260 (base32
261 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
262 (build-system meson-build-system)
263 (arguments
264 `(#:glib-or-gtk? #t
265 #:phases
266 (modify-phases %standard-phases
267 (add-before
268 'check 'pre-check
269 (lambda _
270 ;; Tests require a running X server.
271 (system "Xvfb :1 &")
272 (setenv "DISPLAY" ":1")
273 #t)))))
274 (native-inputs
275 `(("desktop-file-utils" ,desktop-file-utils)
276 ("gettext" ,gettext-minimal)
277 ("glib:bin" ,glib "bin")
278 ("gtk+:bin" ,gtk+ "bin")
279 ("itstool" ,itstool)
280 ("pkg-config" ,pkg-config)
281 ("xorg-server" ,xorg-server-for-tests)))
282 (inputs
283 `(("adwaita-icon-theme" ,adwaita-icon-theme)
284 ("appstream-glib" ,appstream-glib)
285 ("colord-gtk" ,colord-gtk)
286 ("exiv2" ,exiv2)
287 ("gnome-desktop" ,gnome-desktop)
288 ("libcanberra" ,libcanberra)
289 ("libexif" ,libexif)
290 ("libtiff" ,libtiff)
291 ("libxrandr" ,libxrandr)
292 ("libxtst" ,libxtst)
293 ("libxxf86vm" ,libxxf86vm)
294 ("vte" ,vte)
295 ("xorgproto" ,xorgproto)))
296 (synopsis "Color profile manager for the GNOME desktop")
297 (description "GNOME Color Manager is a session framework that makes
298it easy to manage, install and generate color profiles
299in the GNOME desktop.")
300 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
301 (license license:gpl2)))
302
e05471a1
RG
303(define-public gnome-online-miners
304 (package
305 (name "gnome-online-miners")
306 (version "3.30.0")
307 (source (origin
308 (method url-fetch)
309 (uri (string-append "mirror://gnome/sources/" name "/"
310 (version-major+minor version) "/"
311 name "-" version ".tar.xz"))
312 (sha256
313 (base32
314 "0pjamwwzn5wqgihyss357dyl2q70r0bngnqmwsqawchx5f9aja9c"))))
315 (build-system glib-or-gtk-build-system)
316 (native-inputs
317 `(("gettext" ,gettext-minimal)
318 ("glib:bin" ,glib "bin")
29ae18db 319 ("gobject-introspection" ,gobject-introspection)
e05471a1
RG
320 ("gtk+:bin" ,gtk+ "bin")
321 ("pkg-config" ,pkg-config)))
322 (inputs
323 `(("gnome-online-accounts" ,gnome-online-accounts)
324 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
e05471a1
RG
325 ("grilo" ,grilo)
326 ("libgdata" ,libgdata)
327 ("libgfbgraph" ,gfbgraph)
328 ("libzapojit" ,libzapojit)
329 ("rest" ,rest)
330 ("tracker" ,tracker)))
331 (synopsis "Web Crawlers for GNOME")
332 (description "GNOME Online Miners provides a set of crawlers that
333go through your online content and index them locally in Tracker.
334It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
335 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
336 (license license:gpl2)))
337
02ebbca8
RG
338(define-public libmediaart
339 (package
340 (name "libmediaart")
341 (version "1.9.4")
342 (source (origin
343 (method url-fetch)
344 (uri (string-append "mirror://gnome/sources/" name "/"
345 (version-major+minor version) "/"
346 name "-" version ".tar.xz"))
347 (sha256
348 (base32
349 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
350 (build-system gnu-build-system)
351 (native-inputs
352 `(("glib:bin" ,glib "bin")
353 ("pkg-config" ,pkg-config)))
354 (inputs
355 `(("gdk-pixbuf" ,gdk-pixbuf)
356 ("gettext" ,gettext-minimal)
357 ("gobject-introspection" ,gobject-introspection)
358 ("gtk+:doc", gtk+ "doc")
359 ("vala" ,vala)))
360 (synopsis "Media art library for the GNOME desktop")
361 (description
362 "The libmediaart library is the foundation for media art caching,
363extraction, and lookup for applications on the desktop.")
364 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
365 (license license:lgpl2.1+)))
366
30416265
RG
367(define-public gnome-menus
368 (package
369 (name "gnome-menus")
370 (version "3.32.0")
371 (source (origin
372 (method url-fetch)
373 (uri (string-append "mirror://gnome/sources/gnome-menus/"
374 (version-major+minor version) "/"
375 name "-" version ".tar.xz"))
376 (sha256
377 (base32
378 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
379 (build-system gnu-build-system)
380 (native-inputs
381 `(("gettext" ,gettext-minimal)
382 ("glib" ,glib)
383 ("pkg-config" ,pkg-config)))
384 (synopsis "Menu support for GNOME desktop")
385 (description "GNOME Menus contains the libgnome-menu library, the layout
386configuration files for the GNOME menu, as well as a simple menu editor.")
387 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
388 (license license:gpl2)))
389
d61a894b
CB
390(define-public deja-dup
391 (package
392 (name "deja-dup")
393 (version "34.3")
394 (source (origin
395 (method url-fetch)
396 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
397 (sha256
398 (base32
399 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
400 (patches
401 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
402 (build-system glib-or-gtk-build-system)
403 (arguments
404 `(#:modules ((guix build gnu-build-system)
405 ((guix build cmake-build-system) #:prefix cmake:)
406 (guix build glib-or-gtk-build-system)
407 (guix build utils))
408 #:imported-modules (,@%glib-or-gtk-build-system-modules
409 (guix build cmake-build-system))
410 #:test-target "test"
411 #:configure-flags (list (string-append
412 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
413 (string-append
414 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
415 #:phases
416 (modify-phases %standard-phases
417 (add-after 'unpack 'patch-lockfile-deletion
418 (lambda rest
419 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
420 (("/bin/rm")
421 (which "rm")))))
422 (replace 'configure
423 (assoc-ref cmake:%standard-phases 'configure))
424 (delete 'check) ;; Fails due to issues with DBus
425 (add-after 'install 'wrap-deja-dup
426 (lambda* (#:key inputs outputs #:allow-other-keys)
427 (let ((python (assoc-ref inputs "python"))
428 (python-path (getenv "PYTHONPATH"))
429 (duplicity (assoc-ref inputs "duplicity"))
430 (out (assoc-ref outputs "out")))
431 (for-each
432 (lambda (program)
433 (wrap-program program
434 `("PATH" ":" prefix (,(string-append python "/bin")
435 ,(string-append duplicity "/bin"))))
436 (wrap-program program
437 `("PYTHONPATH" ":" prefix (,python-path))))
438
439 (find-files (string-append out "/bin")))
440 #t))))))
441 (inputs
442 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
443 ("gobject-introspection" ,gobject-introspection)
444 ("duplicity" ,duplicity)
61506fe5 445 ("python" ,python-2)
d61a894b
CB
446 ("python-pygobject" ,python2-pygobject)
447 ("gtk+" ,gtk+)
448 ("libnotify" ,libnotify)
449 ("libpeas" ,libpeas)
450 ("libsecret" ,libsecret)
451 ("packagekit" ,packagekit)))
452 (native-inputs
453 `(("pkg-config" ,pkg-config)
454 ("vala" ,vala)
455 ("gettext" ,gettext-minimal)
456 ("itstool" ,itstool)
457 ("intltool" ,intltool)
c69959f0 458 ("cmake" ,cmake-minimal)))
d61a894b
CB
459 (home-page "https://launchpad.net/deja-dup")
460 (synopsis "Simple backup tool, for regular encrypted backups")
461 (description
462 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
463uses duplicity as the backend, which supports incremental backups and storage
464either on a local, or remote machine via a number of methods.")
465 (license license:gpl3+)))
466
823b77fb
RG
467(define-public gnome-user-docs
468 (package
469 (name "gnome-user-docs")
470 (version "3.32.3")
471 (source
472 (origin
473 (method url-fetch)
474 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
475 (version-major+minor version)
476 "/gnome-user-docs-" version ".tar.xz"))
477 (sha256
478 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
479 (build-system gnu-build-system)
480 (native-inputs
481 `(("gettext" ,gettext-minimal)
482 ("itstool" ,itstool)
483 ("pkg-config" ,pkg-config)
484 ("xmllint" ,libxml2)))
485 (synopsis "User documentation for the GNOME desktop")
486 (description
487 "The GNOME User Documentation explains how to use the GNOME desktop and its
488components. It covers usage and setup of the core GNOME programs by end-users
489and system administrators.")
490 (home-page "https://live.gnome.org/DocumentationProject")
491 (license license:cc-by3.0)))
492
be93299d
RG
493(define-public gnome-getting-started-docs
494 (package
495 (name "gnome-getting-started-docs")
496 (version "3.32.2")
497 (source
498 (origin
499 (method url-fetch)
500 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
501 (version-major+minor version)
502 "/gnome-getting-started-docs-" version ".tar.xz"))
503 (sha256
504 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
505 (build-system gnu-build-system)
506 (native-inputs
507 `(("gettext" ,gettext-minimal)
508 ("itstool" ,itstool)
509 ("pkg-config" ,pkg-config)
510 ("xmllint" ,libxml2)))
511 (synopsis "Help to get new users started with the GNOME desktop")
512 (description
513 "The GNOME Getting Started Documentation contains GNOME's intuitive
514\"Getting Started\" tour, with video guides, that can be viewed with Yelp.
515
516It is normally used together with @command{gnome-initial-setup}, but is also
517useful as a tutorial and users' guide for new or less experienced users.")
518 (home-page "https://live.gnome.org/DocumentationProject")
519 (license license:cc-by-sa3.0)))
520
a56be436
RJ
521(define-public dia
522 ;; This version from GNOME's repository includes fixes for compiling with
523 ;; recent versions of the build tools. The latest activity on the
524 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
525 ;; fixes in 2016.
526 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
527 (package
528 (name "dia")
914c8cdf 529 (version (git-version "0.97.3" "1" commit))
a56be436
RJ
530 (source (origin
531 (method git-fetch)
532 (uri (git-reference
914c8cdf 533 (url "https://gitlab.gnome.org/GNOME/dia.git/")
a56be436 534 (commit commit)))
914c8cdf 535 (file-name (git-file-name name version))
a56be436
RJ
536 (sha256
537 (base32
538 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
539 (build-system gnu-build-system)
540 (inputs
a315afa3 541 `(("freetype" ,freetype)
a56be436
RJ
542 ("gdk-pixbuf" ,gdk-pixbuf)
543 ("gtk+" ,gtk+-2)
a315afa3 544 ("libart-lgpl" ,libart-lgpl)
a56be436 545 ("libxml2" ,libxml2)
a315afa3 546 ("pango" ,pango)))
a56be436 547 (native-inputs
a315afa3 548 `(("autoconf" ,autoconf)
a56be436 549 ("automake" ,automake)
a315afa3
EF
550 ("intltool" ,intltool)
551 ("glib" ,glib "bin")
a56be436
RJ
552 ("libtool" ,libtool)
553 ("perl" ,perl)
a315afa3 554 ("pkg-config" ,pkg-config)
a56be436
RJ
555 ("python-wrapper" ,python-wrapper)))
556 (arguments
557 `(#:phases
558 (modify-phases %standard-phases
4b3e91de 559 (add-before 'bootstrap 'dont-configure-during-bootstrap
a56be436 560 (lambda _
4b3e91de
EF
561 (setenv "NOCONFIGURE" "true")
562 #t)))))
a56be436
RJ
563 (home-page "https://wiki.gnome.org/Apps/Dia")
564 (synopsis "Diagram creation for GNOME")
565 (description "Dia can be used to draw different types of diagrams, and
566includes support for UML static structure diagrams (class diagrams), entity
567relationship modeling, and network diagrams. The program supports various file
568formats like PNG, SVG, PDF and EPS.")
569 (license license:gpl2+))))
570
d0b19e44
RW
571;; This is the unstable release, but it is required for the current stable
572;; release of gvfs (1.38.1).
adc5cb1b
KK
573(define-public libgdata
574 (package
575 (name "libgdata")
d0b19e44 576 (version "0.17.9")
adc5cb1b
KK
577 (source (origin
578 (method url-fetch)
579 (uri (string-append "mirror://gnome/sources/" name "/"
580 (version-major+minor version) "/"
581 name "-" version ".tar.xz"))
582 (sha256
583 (base32
d0b19e44 584 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
adc5cb1b
KK
585 (build-system gnu-build-system)
586 (arguments
587 '(#:phases
588 (modify-phases %standard-phases
448052b7
TGR
589 (add-before 'check 'disable-failing-tests
590 (lambda _
591 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
592 ;; They have been removed in libgdata 0.17.6, so just do the same.
593 (substitute* "gdata/tests/Makefile"
594 (("picasaweb\\$\\(EXEEXT\\) ") ""))
adc5cb1b
KK
595 #t)))))
596 (native-inputs
597 `(("glib:bin" ,glib "bin")
598 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
599 ("intltool" ,intltool)
600 ("pkg-config" ,pkg-config)
601 ("uhttpmock" ,uhttpmock)))
602 (inputs
603 `(("cyrus-sasl" ,cyrus-sasl)
d0b19e44 604 ("glib-networking" ,glib-networking)))
adc5cb1b
KK
605 (propagated-inputs
606 `(("gcr" ,gcr)
d0b19e44 607 ("glib" ,glib)
14c297fd 608 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
d0b19e44 609 ("json-glib" ,json-glib)
adc5cb1b 610 ("liboauth" ,liboauth)
d0b19e44 611 ("libsoup" ,libsoup)
adc5cb1b
KK
612 ("libxml2" ,libxml2)))
613 (home-page "https://wiki.gnome.org/Projects/libgdata")
614 (synopsis "Library for accessing online service APIs")
615 (description
616 "libgdata is a GLib-based library for accessing online service APIs using
617the GData protocol — most notably, Google's services. It provides APIs to
618access the common Google services, and has full asynchronous support.")
619 (license license:lgpl2.1+)))
620
94e10cf4
KK
621(define-public libgxps
622 (package
623 (name "libgxps")
66470a5a 624 (version "0.3.1")
94e10cf4
KK
625 (source (origin
626 (method url-fetch)
7f10628c 627 (uri (string-append "mirror://gnome/sources/" name "/"
94e10cf4
KK
628 (version-major+minor version) "/"
629 name "-" version ".tar.xz"))
630 (sha256
631 (base32
66470a5a 632 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
b6b3e512 633 (build-system meson-build-system)
94e10cf4
KK
634 (native-inputs
635 `(("gobject-introspection" ,gobject-introspection)
636 ("pkg-config" ,pkg-config)))
637 (inputs
c8d62d93 638 `(("gtk+" ,gtk+)
b6b3e512 639 ("libjpeg" ,libjpeg-turbo)
94e10cf4 640 ("lcms" ,lcms)
0a6e9e13 641 ("libtiff" ,libtiff)))
c8d62d93
MB
642 (propagated-inputs
643 ;; In Requires of libgxps.pc.
644 `(("cairo" ,cairo)
645 ("glib" ,glib)
646 ("libarchive" ,libarchive)))
94e10cf4
KK
647 (home-page "https://wiki.gnome.org/Projects/libgxps")
648 (synopsis "GObject-based library for handling and rendering XPS documents")
649 (description
650 "libgxps is a GObject-based library for handling and rendering XPS
651documents. This package also contains binaries that can convert XPS documents
652to other formats.")
653 (license license:lgpl2.1+)))
654
4e09f57a
RG
655(define-public gnome-characters
656 (package
657 (name "gnome-characters")
658 (version "3.30.0")
659 (source
660 (origin
661 (method url-fetch)
662 (uri (string-append "mirror://gnome/sources/"
663 "gnome-characters/" (version-major+minor version)
664 "/gnome-characters-" version ".tar.xz"))
665 (sha256
666 (base32
667 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
668 (build-system meson-build-system)
5757c641 669 (arguments
670 `(#:glib-or-gtk? #t
671 #:phases (modify-phases %standard-phases
672 (add-after 'install 'wrap
673 (lambda* (#:key outputs #:allow-other-keys)
674 ;; GNOME Characters needs Typelib files from GTK and
675 ;; gnome-desktop.
676 (wrap-program (string-append (assoc-ref outputs "out")
677 "/bin/gnome-characters")
678 `("GI_TYPELIB_PATH" ":" prefix
679 (,(getenv "GI_TYPELIB_PATH"))))
680 #t)))))
4e09f57a
RG
681 (native-inputs
682 `(("gettext" ,gettext-minimal)
683 ("glib:bin" ,glib "bin")
684 ("gtk+:bin" ,gtk+ "bin")
685 ("pkg-config" ,pkg-config)
686 ("python" ,python-minimal)))
687 (inputs
688 `(("gjs" ,gjs)
689 ("gtk+" ,gtk+)
5757c641 690 ("libunistring" ,libunistring)
691 ("gnome-desktop" ,gnome-desktop)))
4e09f57a
RG
692 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
693 (synopsis "Find and insert unusual characters")
694 (description "Characters is a simple utility application to find
695and insert unusual characters. It allows you to quickly find the
696character you are looking for by searching for keywords.")
697 (license license:bsd-3)))
698
7aab13f1
ML
699(define-public gnome-common
700 (package
701 (name "gnome-common")
af83490d 702 (version "3.18.0")
7aab13f1
ML
703 (source
704 (origin
705 (method url-fetch)
706 (uri (string-append "mirror://gnome/sources/" name "/"
707 (version-major+minor version) "/"
708 name "-" version ".tar.xz"))
709 (sha256
710 (base32
af83490d 711 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
7aab13f1
ML
712 (build-system gnu-build-system)
713 (home-page "https://www.gnome.org/")
714 (synopsis "Bootstrap GNOME modules built from Git")
715 (description "gnome-common contains various files needed to bootstrap
716GNOME modules built from Git. It contains a common \"autogen.sh\" script that
717can be used to configure a source directory checked out from Git and some
718commonly used macros.")
719 (license license:gpl2+)))
720
4e868d22
RG
721(define-public gnome-contacts
722 (package
723 (name "gnome-contacts")
6a6138b2 724 (version "3.32.1")
4e868d22
RG
725 (source (origin
726 (method url-fetch)
727 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
728 (version-major+minor version) "/"
729 name "-" version ".tar.xz"))
730 (sha256
731 (base32
6a6138b2 732 "17g1gh8yj58cfpdx69h2szivlbjgvv982kmhnkkh0i5bwj0zs2yy"))))
4e868d22
RG
733 (build-system meson-build-system)
734 (arguments
735 `(#:phases
736 (modify-phases %standard-phases
737 (add-after 'unpack 'generate-vapis
738 (lambda* (#:key inputs #:allow-other-keys)
739 ;; To generate goa's missing .vapi file
740 (define goa
741 (assoc-ref inputs "gnome-online-accounts:lib"))
742
743 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
744 "--library=goa-1.0"
745 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
746 #t)))))
747 (native-inputs
748 `(("glib:bin" ,glib "bin")
749 ("gtk+:bin" ,gtk+ "bin")
750 ("pkg-config" ,pkg-config)))
751 (inputs
752 `(("cheese" ,cheese)
753 ("docbook-xml" ,docbook-xml)
754 ("dockbook-xsl" ,docbook-xsl)
755 ("evolution-data-server" ,evolution-data-server)
756 ("gettext" ,gettext-minimal)
757 ("gnome-desktop" ,gnome-desktop)
758 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
759 ("gobject-introspection" ,gobject-introspection)
760 ("gst-plugins-base" ,gst-plugins-base)
761 ("gtk+" ,gtk+)
762 ("libgee" ,libgee)
763 ("libxslt" ,libxslt)
764 ("telepathy-glib" ,telepathy-glib)
765 ("vala" ,vala)))
766 (propagated-inputs
767 `(("folks", folks)
768 ("telepathy-mission-control" ,telepathy-mission-control)))
769 (synopsis "GNOME's integrated address book")
770 (description
771 "GNOME Contacts organizes your contact information from online and
772offline sources, providing a centralized place for managing your contacts.")
773 (home-page "https://wiki.gnome.org/Apps/Contacts")
774 (license license:gpl2+)))
775
9cc98f8a
CR
776(define-public gnome-desktop
777 (package
778 (name "gnome-desktop")
e8a26caa 779 (version "3.32.2")
9cc98f8a
CR
780 (source
781 (origin
782 (method url-fetch)
b38e45d8
EB
783 (uri (string-append "mirror://gnome/sources/" name "/"
784 (version-major+minor version) "/"
9cc98f8a
CR
785 name "-" version ".tar.xz"))
786 (sha256
787 (base32
e8a26caa
KK
788 "0bidx4626x7k2myv6f64qv4fzmxv8v475wibiz19kj8hjfr737q9"))))
789 (build-system meson-build-system)
a0fe7c06
CB
790 (arguments
791 '(#:phases
792 (modify-phases %standard-phases
793 (add-before 'configure 'patch-path
794 (lambda* (#:key inputs #:allow-other-keys)
795 (let ((libc (assoc-ref inputs "libc")))
796 (substitute* "libgnome-desktop/gnome-languages.c"
797 (("\"locale\"")
798 (string-append "\"" libc "/bin/locale\"")))
e8a26caa
KK
799 #t)))
800 (add-before 'check 'pre-check
801 (lambda* (#:key inputs #:allow-other-keys)
802 ;; Tests require a running X server and locales.
803 (system "Xvfb :1 &")
804 (setenv "DISPLAY" ":1")
805 (setenv "GUIX_LOCPATH"
806 (string-append (assoc-ref inputs "glibc-locales")
807 "/lib/locale"))
808 #t)))))
9cc98f8a 809 (native-inputs
e8a26caa
KK
810 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
811 ("glibc-locales" ,glibc-locales) ; for tests
812 ("gobject-introspection" ,gobject-introspection)
a8340482 813 ("itstool" ,itstool)
bcb354ad
SB
814 ("intltool" ,intltool)
815 ("pkg-config" ,pkg-config)
e8a26caa
KK
816 ("xmllint" ,libxml2)
817 ("xorg-server" ,xorg-server-for-tests)))
a8340482
SB
818 (propagated-inputs
819 ;; Required by gnome-desktop-3.0.pc.
820 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
e8a26caa 821 ("gtk+" ,gtk+)
9cc98f8a 822 ("iso-codes" ,iso-codes)
9863ce20 823 ("libseccomp" ,libseccomp)
9cc98f8a 824 ("libx11" ,libx11)
e8a26caa
KK
825 ("xkeyboard-config" ,xkeyboard-config)))
826 (inputs
827 `(("gdk-pixbuf" ,gdk-pixbuf)
828 ("glib" ,glib)
9cc98f8a
CR
829 ("libxext" ,libxext)
830 ("libxkbfile" ,libxkbfile)
e8a26caa 831 ("libxrandr" ,libxrandr)))
9cc98f8a
CR
832 (home-page "https://www.gnome.org/")
833 (synopsis
35b9e423 834 "Libgnome-desktop, gnome-about, and desktop-wide documents")
9cc98f8a
CR
835 (description
836 "The libgnome-desktop library provides API shared by several applications
35b9e423
EB
837on the desktop, but that cannot live in the platform for various reasons.
838There is no API or ABI guarantee, although we are doing our best to provide
839stability. Documentation for the API is available with gtk-doc.
9cc98f8a
CR
840
841The gnome-about program helps find which version of GNOME is installed.")
842 ; Some bits under the LGPL.
1dd26275 843 (license license:gpl2+)))
9cc98f8a 844
995b7261
AE
845(define-public gnome-doc-utils
846 (package
847 (name "gnome-doc-utils")
848 (version "0.20.10")
849 (source
850 (origin
851 (method url-fetch)
b38e45d8
EB
852 (uri (string-append "mirror://gnome/sources/" name "/"
853 (version-major+minor version) "/"
995b7261
AE
854 name "-" version ".tar.xz"))
855 (sha256
856 (base32
857 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
858 (build-system gnu-build-system)
c4c4cc05 859 (native-inputs
995b7261 860 `(("intltool" ,intltool)
b4ce6300 861 ("docbook-xml" ,docbook-xml-4.4)
d80b0d4a 862 ("python2-libxml2" ,python2-libxml2)
995b7261
AE
863 ("libxml2" ,libxml2)
864 ("libxslt" ,libxslt)
865 ("pkg-config" ,pkg-config)
866 ("python-2" ,python-2)))
995b7261
AE
867 (home-page "https://wiki.gnome.org/GnomeDocUtils")
868 (synopsis
869 "Documentation utilities for the Gnome project")
870 (description
871 "Gnome-doc-utils is a collection of documentation utilities for the
872Gnome project. It includes xml2po tool which makes it easier to translate
873and keep up to date translations of documentation.")
1dd26275 874 (license license:gpl2+))) ; xslt under lgpl
d9c1a22b 875
6c4f7022
DC
876(define-public gnome-disk-utility
877 (package
878 (name "gnome-disk-utility")
e106d0a6 879 (version "3.32.1")
6c4f7022
DC
880 (source (origin
881 (method url-fetch)
882 (uri (string-append "mirror://gnome/sources/" name "/"
883 (version-major+minor version) "/"
884 name "-" version ".tar.xz"))
885 (sha256
886 (base32
e106d0a6 887 "08vwbji9m1nhjjdiyhhaqi8cncys7i89b4bpy095f8475v8y05bg"))))
4b9a65bf 888 (build-system meson-build-system)
321c73c3
EF
889 (arguments
890 '(#:phases
891 (modify-phases %standard-phases
892 (add-after 'unpack 'skip-gtk-update-icon-cache
893 ;; Don't create 'icon-theme.cache'.
894 (lambda _
895 (substitute* "meson_post_install.py"
896 (("gtk-update-icon-cache") "true"))
897 #t)))))
6c4f7022
DC
898 (native-inputs
899 `(("glib:bin" ,glib "bin")
900 ("intltool" ,intltool)
901 ("pkg-config" ,pkg-config)
902 ("docbook-xml" ,docbook-xml)
903 ("docbook-xsl" ,docbook-xsl)
904 ("libxml2" ,libxml2)
905 ("libxslt" ,libxslt)))
906 (inputs
907 `(("glib" ,glib)
908 ("appstream-glib" ,appstream-glib)
909 ("gnome-settings-daemon" ,gnome-settings-daemon)
910 ("gtk+" ,gtk+)
911 ("libcanberra" ,libcanberra)
912 ("libdvdread" ,libdvdread)
913 ("libnotify" ,libnotify)
914 ("libpwquality" ,libpwquality)
915 ("libsecret" ,libsecret)
916 ("udisks" ,udisks)))
917 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
918 (synopsis "Disk management utility for GNOME")
919 (description "Disk management utility for GNOME.")
920 (license license:gpl2+)))
921
3d217317
RG
922(define-public gnome-font-viewer
923 (package
924 (name "gnome-font-viewer")
925 (version "3.30.0")
926 (source (origin
927 (method url-fetch)
928 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
929 (version-major+minor version)
930 "/gnome-font-viewer-" version ".tar.xz"))
931 (sha256
932 (base32
933 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
934 (build-system meson-build-system)
935 (arguments
936 '(#:phases
937 (modify-phases %standard-phases
938 (add-after 'unpack 'patch-post-install-script
939 (lambda _
940 (substitute* "meson-postinstall.sh"
941 (("update-desktop-database") (which "true")))
942 #t)))))
943 (native-inputs
944 `(("gettext" ,gettext-minimal)
945 ("glib:bin" ,glib "bin")
946 ("pkg-config" ,pkg-config)))
947 (inputs
948 `(("glib" ,glib)
949 ("gnome-desktop" ,gnome-desktop)
950 ("gtk+" ,gtk+)))
951 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
952 (synopsis "GNOME Fonts")
953 (description "Application to show you the fonts installed on your computer
954for your use as thumbnails. Selecting any thumbnails shows the full view of how
955the font would look under various sizes.")
956 (license license:gpl2+)))
957
8ff49011
RW
958(define-public gcr
959 (package
960 (name "gcr")
bea6b829 961 (version "3.28.1")
8ff49011 962 (source (origin
0daf0efb
RW
963 (method url-fetch)
964 (uri (string-append "mirror://gnome/sources/" name "/"
965 (version-major+minor version) "/"
966 name "-" version ".tar.xz"))
967 (sha256
968 (base32
bea6b829 969 "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m"))
03ecf85a
MB
970 (patches
971 (list
972 ;; This patch solves an ordering issue that showed up when
973 ;; running the test suite against newer Glib 2.60. See
974 ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
975 (origin
976 (method url-fetch)
977 (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
978 "45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
979 (file-name "gcr-hashtable-ordering.patch")
980 (sha256
981 (base32
982 "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
8ff49011
RW
983 (build-system gnu-build-system)
984 (arguments
0daf0efb
RW
985 '(#:phases
986 (modify-phases %standard-phases
987 ;; These fail because /var/lib/dbus/machine-id is not present in the
988 ;; build environment.
989 (add-after 'unpack 'disable-failing-tests
990 (lambda _
991 (substitute* "gcr/test-system-prompt.c"
992 (("g_test_add") "//")
993 (("return.*") "return 0;"))
994 #t))
995 (add-before 'check 'pre-check
996 (lambda _
997 ;; Some tests expect to write to $HOME.
998 (setenv "HOME" "/tmp")
999 #t)))))
8ff49011
RW
1000 (inputs
1001 `(("dbus" ,dbus)
0daf0efb 1002 ("gnupg" ,gnupg) ;called as a child process during tests
8ff49011
RW
1003 ("libgcrypt" ,libgcrypt)))
1004 (native-inputs
0daf0efb 1005 `(("python" ,python-2) ;for tests
8ff49011
RW
1006 ("pkg-config" ,pkg-config)
1007 ("glib" ,glib "bin")
2af4f5b0
SB
1008 ("gobject-introspection" ,gobject-introspection)
1009 ("intltool" ,intltool)
0daf0efb 1010 ("libxml2" ,libxml2)
bea6b829 1011 ("vala" ,vala)
2af4f5b0 1012 ("xsltproc" ,libxslt)))
8ff49011
RW
1013 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
1014 (propagated-inputs
1015 `(("p11-kit" ,p11-kit)
1016 ("glib" ,glib)
1017 ("gtk+" ,gtk+)))
f032d0be 1018 (home-page "https://www.gnome.org")
8ff49011
RW
1019 (synopsis "Libraries for displaying certificates and accessing key stores")
1020 (description
1021 "The GCR package contains libraries used for displaying certificates and
1022accessing key stores. It also provides the viewer for crypto files on the
1023GNOME Desktop.")
1024 (license license:lgpl2.1+)))
1025
c1354b90
LC
1026(define-public libgnome-keyring
1027 (package
1028 (name "libgnome-keyring")
5e8aec2c 1029 (version "3.12.0")
c1354b90
LC
1030 (source (origin
1031 (method url-fetch)
b38e45d8
EB
1032 (uri (string-append "mirror://gnome/sources/" name "/"
1033 (version-major+minor version) "/"
1034 name "-" version ".tar.xz"))
c1354b90
LC
1035 (sha256
1036 (base32
5e8aec2c 1037 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
c1354b90 1038 (build-system gnu-build-system)
c1354b90 1039 (inputs
c4c4cc05 1040 `(("libgcrypt" ,libgcrypt)
c1354b90 1041 ("dbus" ,dbus)))
c4c4cc05
JD
1042 (native-inputs
1043 `(("pkg-config" ,pkg-config)
426adbe8 1044 ("glib" ,glib "bin")
c4c4cc05 1045 ("intltool" ,intltool)))
c1354b90
LC
1046 (propagated-inputs
1047 ;; Referred to in .h files and .pc.
1048 `(("glib" ,glib)))
f032d0be 1049 (home-page "https://www.gnome.org")
c1354b90
LC
1050 (synopsis "Accessing passwords from the GNOME keyring")
1051 (description
1052 "Client library to access passwords from the GNOME keyring.")
1053
1054 ;; Though a couple of files are LGPLv2.1+.
1dd26275 1055 (license license:lgpl2.0+)))
c1354b90 1056
e99a3d6f
RW
1057(define-public gnome-keyring
1058 (package
1059 (name "gnome-keyring")
ab35cc6e 1060 (version "3.28.2")
e99a3d6f
RW
1061 (source (origin
1062 (method url-fetch)
1063 (uri (string-append "mirror://gnome/sources/" name "/"
1064 (version-major+minor version) "/"
1065 name "-" version ".tar.xz"))
1066 (sha256
1067 (base32
ab35cc6e 1068 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
e99a3d6f
RW
1069 (build-system gnu-build-system)
1070 (arguments
1071 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1072 ;not exist
1073 #:configure-flags
1074 (list
1075 (string-append "--with-pkcs11-config="
1076 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1077 (string-append "--with-pkcs11-modules="
1078 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1079 #:phases
1080 (modify-phases %standard-phases
ab35cc6e
RW
1081 (add-after 'unpack 'fix-/bin/sh-reference
1082 (lambda _
1083 (substitute* "po/Makefile.in.in"
1084 (("/bin/sh") (which "sh")))
1085 #t))
5120f24f
RW
1086 (add-after 'unpack 'fix-docbook
1087 (lambda* (#:key inputs #:allow-other-keys)
1088 (substitute* "docs/Makefile.am"
1089 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1090 (string-append (assoc-ref inputs "docbook-xsl")
1091 "/xml/xsl/docbook-xsl-"
1092 ,(package-version docbook-xsl)
1093 "/manpages/docbook.xsl")))
1094 (setenv "XML_CATALOG_FILES"
1095 (string-append (assoc-ref inputs "docbook-xml")
1096 "/xml/dtd/docbook/catalog.xml"))
1097 ;; Rerun the whole thing to avoid version mismatch ("This is
1098 ;; Automake 1.15.1, but the definition used by this
1099 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1100 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1101 (invoke "autoconf")
1102 (invoke "aclocal")
1103 (invoke "automake" "-ac"))))))
e99a3d6f
RW
1104 (inputs
1105 `(("libgcrypt" ,libgcrypt)
1a0b2d82 1106 ("linux-pam" ,linux-pam)
ab35cc6e 1107 ("openssh" ,openssh)
e99a3d6f
RW
1108 ("dbus" ,dbus)
1109 ("gcr" ,gcr)))
1110 (native-inputs
1111 `(("pkg-config" ,pkg-config)
1112 ("glib" ,glib "bin")
5120f24f 1113 ("glib" ,glib) ; for m4 macros
e99a3d6f
RW
1114 ("python" ,python-2) ;for tests
1115 ("intltool" ,intltool)
1116 ("autoconf" ,autoconf)
1117 ("automake" ,automake)
1118 ("libxslt" ,libxslt) ;for documentation
1119 ("docbook-xml" ,docbook-xml-4.2)
1120 ("docbook-xsl" ,docbook-xsl)))
f032d0be 1121 (home-page "https://www.gnome.org")
e99a3d6f
RW
1122 (synopsis "Daemon to store passwords and encryption keys")
1123 (description
1124 "gnome-keyring is a program that keeps passwords and other secrets for
1125users. It is run as a daemon in the session, similar to ssh-agent, and other
1126applications locate it via an environment variable or D-Bus.
1127
1128The program can manage several keyrings, each with its own master password,
1129and there is also a session keyring which is never stored to disk, but
1130forgotten when the session ends.")
1131 (license license:lgpl2.1+)))
1132
c1354b90
LC
1133(define-public evince
1134 (package
1135 (name "evince")
936d5642 1136 (version "3.34.2")
c1354b90
LC
1137 (source (origin
1138 (method url-fetch)
ac631328 1139 (uri (string-append "mirror://gnome/sources/evince/"
b38e45d8 1140 (version-major+minor version) "/"
ac631328 1141 "evince-" version ".tar.xz"))
c1354b90
LC
1142 (sha256
1143 (base32
936d5642 1144 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
121de2e1 1145 (build-system glib-or-gtk-build-system)
c1354b90
LC
1146 (arguments
1147 `(#:configure-flags '("--disable-nautilus")
554b2dac
SB
1148 #:phases
1149 (modify-phases %standard-phases
1150 (add-before 'install 'skip-gtk-update-icon-cache
1151 ;; Don't create 'icon-theme.cache'.
1152 (lambda _
1153 (substitute* "data/Makefile"
1154 (("gtk-update-icon-cache") "true"))
1155 #t)))))
c1354b90 1156 (inputs
9a096881
KK
1157 `(("libarchive" ,libarchive)
1158 ("libgxps" ,libgxps)
1159 ("libspectre" ,libspectre)
c769cf9f 1160 ("djvulibre" ,djvulibre)
c1354b90
LC
1161 ("ghostscript" ,ghostscript)
1162 ("poppler" ,poppler)
c769cf9f
SB
1163 ("libtiff" ,libtiff)
1164 ;; TODO:
c769cf9f
SB
1165 ;; Build libkpathsea as a shared library for DVI support.
1166 ;; ("libkpathsea" ,texlive-bin)
1167 ("gnome-desktop" ,gnome-desktop)
c1354b90 1168 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2dfc16d1 1169 ("gspell" ,gspell)
c1354b90 1170 ("libgnome-keyring" ,libgnome-keyring)
c769cf9f 1171 ("adwaita-icon-theme" ,adwaita-icon-theme)
c1354b90
LC
1172 ("gdk-pixbuf" ,gdk-pixbuf)
1173 ("atk" ,atk)
1174 ("pango" ,pango)
1175 ("gtk+" ,gtk+)
1176 ("glib" ,glib)
1177 ("libxml2" ,libxml2)
c1354b90
LC
1178 ("libsm" ,libsm)
1179 ("libice" ,libice)
96e42467 1180 ("shared-mime-info" ,shared-mime-info)
3d243e9c
FB
1181 ("dconf" ,dconf)
1182 ("libcanberra" ,libcanberra)
c769cf9f 1183 ("libsecret" ,libsecret)
a271096b 1184
c1354b90
LC
1185 ;; For tests.
1186 ("dogtail" ,python2-dogtail)))
96e42467 1187 (native-inputs
bcb354ad
SB
1188 `(("itstool" ,itstool)
1189 ("intltool" ,intltool)
426adbe8 1190 ("glib" ,glib "bin")
bcb354ad
SB
1191 ("pkg-config" ,pkg-config)
1192 ("xmllint" ,libxml2)))
c1354b90 1193 (home-page
f032d0be 1194 "https://www.gnome.org/projects/evince/")
c1354b90
LC
1195 (synopsis "GNOME's document viewer")
1196 (description
1197 "Evince is a document viewer for multiple document formats. It
1198currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1199of Evince is to replace the multiple document viewers that exist
96e42467 1200on the GNOME Desktop with a single simple application.")
1dd26275 1201 (license license:gpl2+)))
c1354b90 1202
22e32e69
AE
1203(define-public gsettings-desktop-schemas
1204 (package
1205 (name "gsettings-desktop-schemas")
c900dabd 1206 (version "3.32.0")
22e32e69
AE
1207 (source
1208 (origin
1209 (method url-fetch)
1210 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1211 (version-major+minor version) "/"
22e32e69
AE
1212 name "-" version ".tar.xz"))
1213 (sha256
1214 (base32
c900dabd
KK
1215 "0d8a6479vappgplq5crdr3ah0ykqcr3fw533wkx9v1a8lnrv8n9d"))))
1216 (build-system meson-build-system)
65209ffa
LC
1217 (arguments
1218 '(#:phases (modify-phases %standard-phases
1219 (add-after 'unpack 'set-adwaita-theme-file-name
1220 (lambda* (#:key inputs #:allow-other-keys)
1221 ;; Provide the correct file name of the default GNOME
1222 ;; background, 'adwaita-timed.xml'.
1223 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1224 (substitute* (find-files "schemas"
1225 "\\.gschema\\.xml\\.in$")
1226 (("@datadir@/backgrounds/gnome")
1227 (string-append theme "/share/backgrounds/gnome")))
1228 #t))))))
22e32e69 1229 (inputs
65209ffa
LC
1230 `(("glib" ,glib)
1231 ("gnome-backgrounds" ,gnome-backgrounds)))
c4c4cc05
JD
1232 (native-inputs
1233 `(("intltool" ,intltool)
426adbe8 1234 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
7211944a 1235 ("gobject-introspection" ,gobject-introspection)
22e32e69
AE
1236 ("pkg-config" ,pkg-config)))
1237 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1238 (synopsis
1239 "GNOME settings for various desktop components")
1240 (description
1241 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1242for settings shared by various components of the GNOME desktop.")
1dd26275 1243 (license license:lgpl2.1+)))
22e32e69 1244
27477d2d
AE
1245(define-public icon-naming-utils
1246 (package
1247 (name "icon-naming-utils")
1248 (version "0.8.90")
1249 (source
1250 (origin
1251 (method url-fetch)
5cc3096c 1252 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
27477d2d
AE
1253 version ".tar.bz2"))
1254 (sha256
1255 (base32
1256 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1257 (build-system gnu-build-system)
1258 (inputs
1259 `(("perl" ,perl)
1260 ("perl-xml-simple" ,perl-xml-simple)))
f4e97277
SB
1261 (arguments
1262 '(#:phases
dc1d3cde
KK
1263 (modify-phases %standard-phases
1264 (add-after 'install 'set-load-paths
1265 ;; Tell 'icon-name-mapping' where XML::Simple is.
1266 (lambda* (#:key outputs #:allow-other-keys)
1267 (let* ((out (assoc-ref outputs "out"))
1268 (prog (string-append out "/libexec/icon-name-mapping")))
1269 (wrap-program
1270 prog
1271 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1272 #t)))))
27477d2d
AE
1273 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1274 (synopsis
1275 "Utility to implement the Freedesktop Icon Naming Specification")
1276 (description
1277 "To help with the transition to the Freedesktop Icon Naming
1278Specification, the icon naming utility maps the icon names used by the
1279GNOME and KDE desktops to the icon names proposed in the specification.")
1dd26275 1280 (license license:lgpl2.1+)))
27477d2d 1281
7d3f3651
AE
1282(define-public gnome-icon-theme
1283 (package
1284 (name "gnome-icon-theme")
b32f58dd 1285 (version "3.12.0")
7d3f3651
AE
1286 (source
1287 (origin
1288 (method url-fetch)
1289 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1290 (version-major+minor version) "/"
7d3f3651
AE
1291 name "-" version ".tar.xz"))
1292 (sha256
1293 (base32
b32f58dd 1294 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
7d3f3651 1295 (build-system gnu-build-system)
5613c27d
SB
1296 (arguments
1297 '(#:configure-flags
1298 ;; Don't create 'icon-theme.cache'.
1299 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1300 (true (string-append coreutils "/bin/true")))
1301 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
c4c4cc05 1302 (native-inputs
5613c27d 1303 `(("icon-naming-utils" ,icon-naming-utils)
73b6cf42
SB
1304 ("intltool" ,intltool)
1305 ("pkg-config" ,pkg-config)))
5c610d4f
KK
1306 (home-page "https://wiki.gnome.org/Personalization")
1307 (synopsis "GNOME icon theme")
1308 (description "Icons for the GNOME desktop.")
1dd26275 1309 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
7d3f3651 1310
14eeefa2
SB
1311;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1312(define-public adwaita-icon-theme
1313 (package (inherit gnome-icon-theme)
1314 (name "adwaita-icon-theme")
9be59d7f 1315 (version "3.32.0")
14eeefa2
SB
1316 (source (origin
1317 (method url-fetch)
1318 (uri (string-append "mirror://gnome/sources/" name "/"
1319 (version-major+minor version) "/"
1320 name "-" version ".tar.xz"))
1321 (sha256
1322 (base32
9be59d7f 1323 "11ij35na8nisvxx3qh527iz33h6z2q1a7iinqyp7p65v0zjbd3b9"))))
5613c27d
SB
1324 (native-inputs
1325 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
14eeefa2 1326
ae792dba
RW
1327(define-public tango-icon-theme
1328 (package
1329 (name "tango-icon-theme")
1330 (version "0.8.90")
1331 (source (origin
1332 (method url-fetch)
1333 (uri (string-append "http://tango.freedesktop.org/releases/"
1334 "tango-icon-theme-" version ".tar.bz2"))
1335 (sha256
1336 (base32
1337 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1338 (build-system gnu-build-system)
1339 (native-inputs
1340 `(("icon-naming-utils" ,icon-naming-utils)
1341 ("intltool" ,intltool)
1342 ("imagemagick" ,imagemagick)
1343 ("pkg-config" ,pkg-config)))
1344 (home-page "http://tango-project.org/")
1345 (synopsis "Tango icon theme")
1346 (description "This is an icon theme that follows the Tango visual
1347guidelines.")
1348 (license license:public-domain)))
1349
9167f8e6
LC
1350(define-public shared-mime-info
1351 (package
1352 (name "shared-mime-info")
18138ab9 1353 (version "1.10")
9167f8e6
LC
1354 (source (origin
1355 (method url-fetch)
5cc3096c 1356 (uri (string-append "https://freedesktop.org/~hadess/"
b38e45d8 1357 "shared-mime-info-" version ".tar.xz"))
9167f8e6
LC
1358 (sha256
1359 (base32
18138ab9 1360 "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"))))
9167f8e6
LC
1361 (build-system gnu-build-system)
1362 (arguments
1363 ;; The build system appears not to be parallel-safe.
1364 '(#:parallel-build? #f))
1365 (inputs
1366 `(("glib" ,glib)
c4c4cc05 1367 ("libxml2" ,libxml2)))
9167f8e6 1368 (native-inputs
c4c4cc05
JD
1369 `(("intltool" ,intltool)
1370 ("pkg-config" ,pkg-config)))
57e7d748 1371 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
9167f8e6
LC
1372 (synopsis "Database of common MIME types")
1373 (description
1374 "The shared-mime-info package contains the core database of common types
1375and the update-mime-database command used to extend it. It requires glib2 to
1376be installed for building the update command. Additionally, it uses intltool
1377for translations, though this is only a dependency for the maintainers. This
1378database is translated at Transifex.")
1dd26275 1379 (license license:gpl2+)))
9167f8e6 1380
dd1fcddc
CB
1381(define-public system-config-printer
1382 (package
1383 (name "system-config-printer")
fa01e10d 1384 (version "1.5.12")
a5643044
TGR
1385 (source
1386 (origin
1387 (method url-fetch)
1388 (uri (string-append
1389 "https://github.com/OpenPrinting/system-config-printer/releases/"
1390 "download/" version
1391 "/system-config-printer-" version ".tar.xz"))
1392 (sha256
fa01e10d 1393 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
dd1fcddc
CB
1394 (build-system glib-or-gtk-build-system)
1395 (arguments
1396 `(#:imported-modules ((guix build python-build-system)
1397 ,@%glib-or-gtk-build-system-modules)
1398 #:phases
1399 (modify-phases %standard-phases
1400 (add-after 'unpack 'patch-Makefile.am
1401 (lambda _
1402 ;; The Makefile generates some scripts, so set a valid shebang
1403 (substitute* "Makefile.am"
1404 (("/bin/bash") (which "bash")))
1405 (delete-file "configure")
1406 #t))
1407 (add-after 'unpack 'patch-docbook-xml
1408 (lambda* (#:key inputs #:allow-other-keys)
1409 ;; Modify the man XML otherwise xmlto tries to access the network
1410 (substitute* "man/system-config-printer.xml"
1411 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1412 (string-append (assoc-ref inputs "docbook-xml")
1413 "/xml/dtd/docbook/")))
1414 #t))
1415 (add-after 'install 'wrap-for-python
1416 (@@ (guix build python-build-system) wrap))
1417 (add-after 'install 'wrap
1418 (lambda* (#:key outputs #:allow-other-keys)
1419 (let ((out (assoc-ref outputs "out"))
1420 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1421 (for-each
1422 (lambda (program)
1423 (wrap-program program
1424 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1425 (map (lambda (name)
1426 (string-append out "/bin/" name))
1427 '("system-config-printer"
1428 "system-config-printer-applet"
1429 "install-printerdriver"
1430 "scp-dbus-service"))))
1431 #t)))))
1432 (inputs
1433 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1434 ("gobject-introspection" ,gobject-introspection)
1435 ("python" ,python)
1436 ("cups" ,cups)
1437 ("python-dbus" ,python-dbus)
1438 ("python-pygobject" ,python-pygobject)
1439 ("python-pycups" ,python-pycups)
1440 ("python-requests" ,python-requests)
1441 ("python-pycairo" ,python-pycairo)
1442 ("libnotify" ,libnotify)
1443 ("packagekit" ,packagekit)))
1444 (native-inputs
1445 `(("pkg-config" ,pkg-config)
1446 ("desktop-file-utils" ,desktop-file-utils)
1447 ("glib" ,glib)
1448 ("autoconf" ,autoconf)
1449 ("automake" ,automake)
1450 ("intltool" ,intltool)
1451 ("xmlto" ,xmlto)
1452 ("docbook-xml" ,docbook-xml-4.1.2)
1453 ("docbook-xsl" ,docbook-xsl)
1454 ("libxml2" ,libxml2)))
1455 (home-page "https://github.com/zdohnal/system-config-printer")
1456 (synopsis "CUPS administration tool")
1457 (description
1458 "system-config-printer is a CUPS administration tool. It's written in
1459Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1460configuring CUPS.")
1461 (license license:gpl2+)))
1462
bef4dd92
AE
1463(define-public hicolor-icon-theme
1464 (package
1465 (name "hicolor-icon-theme")
851cb6dd 1466 (version "0.17")
bef4dd92
AE
1467 (source
1468 (origin
1469 (method url-fetch)
5cc3096c 1470 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
b62a0070 1471 "hicolor-icon-theme-" version ".tar.xz"))
bef4dd92
AE
1472 (sha256
1473 (base32
851cb6dd 1474 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
bef4dd92
AE
1475 (build-system gnu-build-system)
1476 (arguments
1477 `(#:tests? #f)) ; no check target
57e7d748 1478 (home-page "https://icon-theme.freedesktop.org/releases/")
bef4dd92
AE
1479 (synopsis
1480 "Freedesktop icon theme")
1481 (description
1482 "Freedesktop icon theme.")
1dd26275 1483 (license license:gpl2)))
bef4dd92 1484
d9c1a22b
AE
1485(define-public libnotify
1486 (package
1487 (name "libnotify")
195bfa68 1488 (version "0.7.7")
d9c1a22b
AE
1489 (source
1490 (origin
1491 (method url-fetch)
1492 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1493 (version-major+minor version) "/"
d9c1a22b
AE
1494 name "-" version ".tar.xz"))
1495 (sha256
1496 (base32
195bfa68 1497 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
d9c1a22b 1498 (build-system gnu-build-system)
6acf6cec
MB
1499 (arguments
1500 `(#:configure-flags '("--disable-static")))
7ef08efa
UK
1501 (propagated-inputs
1502 `(;; In Requires of libnotify.pc.
1503 ("gdk-pixbuf" ,gdk-pixbuf)
1504 ("glib" ,glib)))
d9c1a22b 1505 (inputs
7ef08efa 1506 `(("gtk+" ,gtk+)
c4c4cc05
JD
1507 ("libpng" ,libpng)))
1508 (native-inputs
426adbe8 1509 `(("pkg-config" ,pkg-config)
277a7d82
JN
1510 ("glib" ,glib "bin")
1511 ("gobject-introspection" ,gobject-introspection)))
d9c1a22b
AE
1512 (home-page "https://developer-next.gnome.org/libnotify/")
1513 (synopsis
1514 "GNOME desktop notification library")
1515 (description
1516 "Libnotify is a library that sends desktop notifications to a
35b9e423 1517notification daemon, as defined in the Desktop Notifications spec. These
d9c1a22b
AE
1518notifications can be used to inform the user about an event or display
1519some form of information without getting in the user's way.")
1dd26275 1520 (license license:lgpl2.1+)))
7a8605ce
CR
1521
1522(define-public libpeas
1523 (package
1524 (name "libpeas")
db122a9b 1525 (version "1.22.0")
7a8605ce
CR
1526 (source
1527 (origin
1528 (method url-fetch)
1529 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1530 (version-major+minor version) "/"
7a8605ce
CR
1531 name "-" version ".tar.xz"))
1532 (sha256
1533 (base32
db122a9b 1534 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
7a8605ce 1535 (build-system gnu-build-system)
7a8605ce 1536 (inputs
2ed6522a
SB
1537 `(("gtk+" ,gtk+)
1538 ("glade" ,glade3)
2ed6522a
SB
1539 ("python" ,python)
1540 ("python-pygobject" ,python-pygobject)))
141aed80
LC
1541 (native-inputs
1542 `(("pkg-config" ,pkg-config)
93622993 1543 ("glib:bin" ,glib "bin")
141aed80
LC
1544 ("gobject-introspection" ,gobject-introspection)
1545 ("intltool" ,intltool)))
55b7bbd8
LC
1546 (propagated-inputs
1547 ;; The .pc file "Requires" gobject-introspection.
1548 `(("gobject-introspection" ,gobject-introspection)))
7a8605ce
CR
1549 (home-page "https://wiki.gnome.org/Libpeas")
1550 (synopsis "GObject plugin system")
1551 (description
d1e4ad1b
TGR
1552 "Libpeas is a gobject-based plugin engine, targeted at giving every
1553application the chance to assume its own extensibility. It also has a set of
1554features including, but not limited to: multiple extension points; on-demand
1555(lazy) programming language support for C, Python and JS; simplicity of the
1556API.")
1dd26275 1557 (license license:lgpl2.0+)))
ed19903d
JD
1558
1559(define-public gtkglext
1560 (package
1561 (name "gtkglext")
1562 (version "1.2.0")
1563 (source (origin
1564 (method url-fetch)
0f971a04 1565 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
ed19903d
JD
1566 version "/gtkglext-" version ".tar.gz"))
1567 (sha256
1568 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
fc1adab1
AK
1569 (patches (search-patches
1570 "gtkglext-disable-disable-deprecated.patch"))))
ed19903d 1571 (build-system gnu-build-system)
14e2f61a
RW
1572 (arguments
1573 `(#:phases
1574 (modify-phases %standard-phases
1575 ;; Fix a collision between a local variable and a definition from
1576 ;; glibc's string.h.
1577 (add-after 'unpack 'fix-collision
1578 (lambda _
1579 (substitute* "gdk/gdkglshapes.c"
1580 ((" index") " triangle_index"))
1581 #t)))))
ed19903d
JD
1582 (inputs `(("gtk+" ,gtk+-2)
1583 ("mesa" ,mesa)
cc8b02f4 1584 ("glu" ,glu)
ed19903d
JD
1585 ("libx11" ,libx11)
1586 ("libxt" ,libxt)))
426adbe8
LC
1587 (native-inputs `(("pkg-config" ,pkg-config)
1588 ("glib" ,glib "bin")))
a83b6a06 1589 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
ed19903d 1590 (home-page "https://projects.gnome.org/gtkglext")
9e771e3b 1591 (synopsis "OpenGL extension to GTK+")
35b9e423 1592 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
ed19903d
JD
1593additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1594API add-ons to make GTK+ widgets OpenGL-capable.")
1dd26275 1595 (license license:lgpl2.1+)))
3600420e
JD
1596
1597(define-public glade3
1598 (package
1599 (name "glade")
c6571adb 1600 (version "3.22.1")
b38e45d8
EB
1601 (source (origin
1602 (method url-fetch)
1603 (uri (string-append "mirror://gnome/sources/" name "/"
1604 (version-major+minor version) "/"
f5ca44b8 1605 name "-" version ".tar.xz"))
3600420e 1606 (sha256
f714d9fe 1607 (base32
c6571adb 1608 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
6983ba56 1609 (build-system glib-or-gtk-build-system)
f5ca44b8
RW
1610 (arguments
1611 `(#:tests? #f ; needs X, GL, and software rendering
1612 #:phases
1613 (modify-phases %standard-phases
1614 (add-before 'configure 'fix-docbook
1615 (lambda* (#:key inputs #:allow-other-keys)
1616 (substitute* "man/Makefile.in"
1617 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1618 (string-append (assoc-ref inputs "docbook-xsl")
1619 "/xml/xsl/docbook-xsl-"
1620 ,(package-version docbook-xsl)
1621 "/manpages/docbook.xsl")))
1622 #t)))))
3600420e 1623 (inputs
f5ca44b8 1624 `(("gtk+" ,gtk+)
3600420e
JD
1625 ("libxml2" ,libxml2)))
1626 (native-inputs
1627 `(("intltool" ,intltool)
f5ca44b8
RW
1628 ("itstool" ,itstool)
1629 ("libxslt" ,libxslt) ;for xsltproc
1630 ("docbook-xml" ,docbook-xml-4.2)
1631 ("docbook-xsl" ,docbook-xsl)
1632 ("python" ,python-2)
3600420e
JD
1633 ("pkg-config" ,pkg-config)))
1634 (home-page "https://glade.gnome.org")
1635 (synopsis "GTK+ rapid application development tool")
1636 (description "Glade is a rapid application development (RAD) tool to
1637enable quick & easy development of user interfaces for the GTK+ toolkit and
1638the GNOME desktop environment.")
1dd26275
LC
1639 (license license:lgpl2.0+)))
1640
1641(define-public libcroco
1642 (package
1643 (name "libcroco")
8bdacad2 1644 (version "0.6.13")
1dd26275
LC
1645 (source (origin
1646 (method url-fetch)
b38e45d8
EB
1647 (uri (string-append "mirror://gnome/sources/" name "/"
1648 (version-major+minor version) "/"
1649 name "-" version ".tar.xz"))
1dd26275
LC
1650 (sha256
1651 (base32
8bdacad2 1652 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
1dd26275
LC
1653 (build-system gnu-build-system)
1654 (native-inputs
1655 `(("pkg-config" ,pkg-config)))
1656 (inputs
1657 `(("glib" ,glib)
1658 ("libxml2" ,libxml2)
1659 ("zlib" ,zlib)))
1660 (home-page "https://github.com/GNOME/libcroco")
1661 (synopsis "CSS2 parsing and manipulation library")
1662 (description
1663 "Libcroco is a standalone CSS2 parsing and manipulation library.
1664The parser provides a low level event driven SAC-like API and a CSS object
1665model like API. Libcroco provides a CSS2 selection engine and an experimental
1666XML/CSS rendering engine.")
1667
1668 ;; LGPLv2.1-only.
1669 (license license:lgpl2.1)))
25178594
LC
1670
1671(define-public libgsf
1672 (package
1673 (name "libgsf")
8d1644a1 1674 (version "1.14.46")
25178594
LC
1675 (source (origin
1676 (method url-fetch)
b38e45d8
EB
1677 (uri (string-append "mirror://gnome/sources/" name "/"
1678 (version-major+minor version) "/"
1679 name "-" version ".tar.xz"))
25178594
LC
1680 (sha256
1681 (base32
8d1644a1 1682 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
25178594
LC
1683 (build-system gnu-build-system)
1684 (native-inputs
1685 `(("intltool" ,intltool)
1686 ("pkg-config" ,pkg-config)))
1687 (inputs
1688 `(("python" ,python)
1689 ("zlib" ,zlib)
1690 ("bzip2" ,bzip2)))
1691 (propagated-inputs
1692 `(("gdk-pixbuf" ,gdk-pixbuf)
1693 ("glib" ,glib)
1694 ("libxml2" ,libxml2)))
f032d0be 1695 (home-page "https://www.gnome.org/projects/libgsf")
25178594
LC
1696 (synopsis "GNOME's Structured File Library")
1697 (description
1698 "Libgsf aims to provide an efficient extensible I/O abstraction for
1699dealing with different structured file formats.")
1700
1701 ;; LGPLv2.1-only.
1702 (license license:lgpl2.1)))
63016e7c
LC
1703
1704(define-public librsvg
f67417a1
MB
1705 (package
1706 (name "librsvg")
1707 (version "2.40.20")
1708 (source (origin
1709 (method url-fetch)
1710 (uri (string-append "mirror://gnome/sources/" name "/"
1711 (version-major+minor version) "/"
1712 name "-" version ".tar.xz"))
1713 (sha256
1714 (base32
1715 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1716 (build-system gnu-build-system)
1717 (arguments
1718 `(#:configure-flags
1719 (list "--disable-static"
1720 "--enable-vala") ; needed for e.g. gnome-mines
1721 #:phases
1722 (modify-phases %standard-phases
1723 (add-before 'configure 'pre-configure
1724 (lambda* (#:key inputs #:allow-other-keys)
1725 (substitute* "gdk-pixbuf-loader/Makefile.in"
1726 ;; By default the gdk-pixbuf loader is installed under
1727 ;; gdk-pixbuf's prefix. Work around that.
1728 (("gdk_pixbuf_moduledir = .*$")
1729 (string-append "gdk_pixbuf_moduledir = "
1730 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1731 "loaders\n"))
1732 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1733 (("gdk_pixbuf_cache_file = .*$")
1734 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1735 #t))
1736 (add-before 'check 'remove-failing-tests
1737 (lambda _
1738 (with-directory-excursion "tests/fixtures/reftests"
1739 (for-each delete-file
1740 '(;; This test fails on i686:
1741 "svg1.1/masking-path-04-b.svg"
1742 ;; This test fails on armhf:
1743 "svg1.1/masking-mask-01-b.svg"
1744 ;; This test fails on aarch64:
1745 "bugs/777834-empty-text-children.svg")))
1746 #t)))))
1747 (native-inputs
1748 `(("pkg-config" ,pkg-config)
1749 ("vala" ,vala)
1750 ("glib" ,glib "bin") ; glib-mkenums, etc.
1751 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1752 (inputs
1753 `(("pango" ,pango)
1754 ("libcroco" ,libcroco)
1755 ("bzip2" ,bzip2)
1756 ("libgsf" ,libgsf)
1757 ("libxml2" ,libxml2)))
1758 (propagated-inputs
1759 ;; librsvg-2.0.pc refers to all of that.
1760 `(("cairo" ,cairo)
1761 ("gdk-pixbuf" ,gdk-pixbuf)
1762 ("glib" ,glib)))
1763 (home-page "https://wiki.gnome.org/LibRsvg")
1764 (synopsis "Render SVG files using Cairo")
1765 (description
1766 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1767library.")
1768 (license license:lgpl2.0+)))
1769
8f523eb9
EF
1770(define* (computed-origin-method gexp-promise hash-algo hash
1771 #:optional (name "source")
1772 #:key (system (%current-system))
1773 (guile (default-guile)))
1774 "Return a derivation that executes the G-expression that results
1775from forcing GEXP-PROMISE."
1776 (mlet %store-monad ((guile (package->derivation guile system)))
1777 (gexp->derivation (or name "computed-origin")
1778 (force gexp-promise)
1779 #:graft? #f ;nothing to graft
1780 #:system system
1781 #:guile-for-build guile)))
1782
1783(define librsvg-next-source
1784 (let* ((version "2.46.3")
1785 (upstream-source (origin
1786 (method url-fetch)
1787 (uri (string-append "mirror://gnome/sources/librsvg/"
1788 (version-major+minor version) "/"
1789 "librsvg-" version ".tar.xz"))
1790 (sha256
1791 (base32
1792 "1s3a96i7f4pynjwxxvhysp4b6r7kyi8nasdxfyi62hc7gm34d3kn")))))
1793 (origin
1794 (method computed-origin-method)
1795 (file-name (string-append "librsvg-" version ".tar.xz"))
1796 (sha256 #f)
1797 (uri
1798 (delay
1799 (with-imported-modules '((guix build utils))
1800 #~(begin
1801 (use-modules (guix build utils))
1802 (set-path-environment-variable
1803 "PATH" '("bin")
1804 (list "/tmp"
1805 #+(canonical-package xz)
1806 #+(canonical-package gzip)
1807 #+(canonical-package tar)))
1808 (invoke "tar" "xvf" #+upstream-source)
1809 (with-directory-excursion (string-append "librsvg-" #$version)
1810 (for-each
1811 (lambda (crate)
1812 (delete-file-recursively (string-append "vendor/" (car crate)))
1813 (invoke "tar" "xvf" (cdr crate) "-C" "vendor"))
1814 '(
1815;; aho-corasick 0.7
1816;; alga 0.9
1817;; approx 0.3
1818;; arrayvec 0.4
1819 ("atty" . #+(package-source rust-atty-0.2))
1820 ("autocfg" . #+(package-source rust-autocfg-0.1))
1821 ("bitflags" . #+(package-source rust-bitflags-1))
1822;; block 0.1
1823;; bstr 0.2
1824;; byteorder 1.3
1825;; cairo-rs 0.7
1826;; cairo-sys-rs 0.9
1827;; cast 0.2
1828 ("cfg-if" . #+(package-source rust-cfg-if-0.1))
1829 ("clap" . #+(package-source rust-clap-2))
1830 ;("cloudabi" . #+(package-source rust-cloudabi-0.0))
1831;; criterion 0.2
1832;; criterion-plot 0.3
1833;; crossbeam-deque 0.7
1834;; crossbeam-epoch 0.7
1835;; crossbeam-queue 0.1
1836;; crossbeam-utils 0.6
1837;; cssparser 0.25
1838;; cssparser-macros 0.3
1839;; csv 1.1
1840;; csv-core 0.1
1841;; data-url 0.1
1842;; downcast-rs 1.0
1843 ("dtoa" . #+(package-source rust-dtoa-0.4))
1844;; dtoa-short 0.3
1845;; either 1.5
1846;; encoding 0.2
1847;; encoding-index-japanese 1.20141219.5
1848;; encoding-index-korean 1.20141219.5
1849;; encoding-index-simpchinese 1.20141219.5
1850;; encoding-index-singlebyte 1.20141219.5
1851;; encoding-index-tradchinese 1.20141219.5
1852;; encoding_index_tests 0.1
1853;; float-cmp 0.5
1854;; fragile 0.3
1855 ;("fuchsia-cprng" . #+(package-source rust-fuchsia-cprng-0.1))
1856;; futf 0.1
1857;; gdk-pixbuf 0.7
1858;; gdk-pixbuf-sys 0.9
1859;; generic-array 0.12
1860;; gio 0.7
1861;; gio-sys 0.9
1862;; glib 0.8
1863;; glib-sys 0.9
1864;; gobject-sys 0.9
1865;; idna 0.2
1866;; itertools 0.8
1867 ("itoa" . #+(package-source rust-itoa-0.4))
1868 ;("language-tags" . #+(package-source rust-language-tags-0.2))
1869 ("lazy_static" . #+(package-source rust-lazy-static-1.3))
1870 ("libc" . #+(package-source rust-libc-0.2))
1871;; libm 0.1
1872;; locale_config 0.3
1873 ("log" . #+(package-source rust-log-0.4))
1874;; mac 0.1
1875;; malloc_buf 0.0
1876;; markup5ever 0.9
1877 ;("matches" . #+(package-source rust-matches-0.1))
1878;; matrixmultiply 0.2
1879;; memchr 2.2
1880;; memoffset 0.5
1881;; nalgebra 0.18
1882;; new_debug_unreachable 1.0
1883 ("nodrop" . #+(package-source rust-nodrop-0.1))
1884;; num-complex 0.2
1885 ("num-integer" . #+(package-source rust-num-integer-0.1))
1886;; num-rational 0.2
1887 ("num-traits" . #+(package-source rust-num-traits-0.2))
1888 ("num_cpus" . #+(package-source rust-num-cpus-1.10))
1889;; objc 0.2
1890;; objc-foundation 0.1
1891;; objc_id 0.1
1892;; pango 0.7
1893;; pango-sys 0.9
1894;; pangocairo 0.8
1895;; pangocairo-sys 0.10
1896 ("percent-encoding" . #+(package-source rust-percent-encoding-2.1))
1897;; phf 0.7.24
1898;; phf_codegen 0.7.24
1899;; phf_generator 0.7.24
1900;; phf_shared 0.7.24
1901 ;("pkg-config" . #+(package-source rust-pkg-config-0.3))
1902;; precomputed-hash 0.1
1903 ("proc-macro2" . #+(package-source rust-proc-macro2-1.0))
1904;; procedural-masquerade 0.1
1905 ("quote" . #+(package-source rust-quote-1.0))
1906 ;("rand" . #+(package-source rust-rand-0.6))
1907 ("rand_chacha" . #+(package-source rust-rand-chacha-0.1))
1908 ("rand_core-0.3.1" . #+(package-source rust-rand-core-0.3))
1909 ("rand_core" . #+(package-source rust-rand-core-0.4))
1910 ("rand_hc" . #+(package-source rust-rand-hc-0.1))
1911 ("rand_isaac" . #+(package-source rust-rand-isaac-0.1))
1912 ("rand_jitter" . #+(package-source rust-rand-jitter-0.1))
1913 ("rand_os" . #+(package-source rust-rand-os-0.1))
1914 ("rand_pcg" . #+(package-source rust-rand-pcg-0.1))
1915 ("rand_xorshift" . #+(package-source rust-rand-xorshift-0.1))
1916;; rand_xoshiro 0.1
1917 ;("rawpointer" . #+(package-source rust-rawpointer-0.1))
1918;; rayon 1.2
1919;; rayon-core 1.6
1920;; rctree 0.3
1921 ("rdrand" . #+(package-source rust-rdrand-0.4))
1922;; regex 1.3
1923;; regex-automata 0.1
1924 ;("regex-syntax" . #+(package-source rust-regex-syntax-0.6))
1925;; rustc_version 0.2
1926 ("ryu" . #+(package-source rust-ryu-1.0))
1927 ("same-file" . #+(package-source rust-same-file-1.0))
1928 ("scopeguard" . #+(package-source rust-scopeguard-1.0))
1929;; semver 0.9
1930 ;("semver-parser" . #+(package-source rust-semver-parser-0.7))
1931 ("serde" . #+(package-source rust-serde-1.0))
1932 ("serde_derive" . #+(package-source rust-serde-derive-1.0))
1933 ("serde_json" . #+(package-source rust-serde-json-1.0))
1934;; siphasher 0.2
1935;; smallvec 0.6
1936;; string_cache 0.7
1937;; string_cache_codegen 0.4
1938;; string_cache_shared 0.3
1939 ("syn" . #+(package-source rust-syn-1.0))
1940;; tendril 0.4
1941 ("textwrap" . #+(package-source rust-textwrap-0.11))
1942 ;("thread_local" . #+(package-source rust-thread-local-0.3))
1943;; tinytemplate 1.0
1944 ;("typenum" . #+(package-source rust-typenum-1.10))
1945;; unicode-bidi 0.3
1946;; unicode-normalization 0.1
1947 ("unicode-width" . #+(package-source rust-unicode-width-0.1))
1948 ("unicode-xid" . #+(package-source rust-unicode-xid-0.2))
1949;; url 2.1
1950;; utf-8 0.7
1951 ("walkdir" . #+(package-source rust-walkdir-2.2))
1952 ("winapi" . #+(package-source rust-winapi-0.3))
1953 ;("winapi-i686-pc-windows-gnu" . #+(package-source rust-winapi-i686-pc-windows-gnu-0.4))
1954 ("winapi-util" . #+(package-source rust-winapi-util-0.1))
1955 ;("winapi-x86_64-pc-windows-gnu" . #+(package-source rust-winapi-x86-64-pc-windows-gnu-0.4))
1956;; xml-rs 0.8
1957 )))
1958 (format #t "Replacing vendored crates in the tarball and repacking ...~%")
1959 (force-output)
1960 (invoke "tar" "cfa" #$output
1961 ;; Avoid non-determinism in the archive. We set the
1962 ;; mtime of files in the archive to early 1980 because
1963 ;; the build process fails if the mtime of source
1964 ;; files is pre-1980, due to the creation of zip
1965 ;; archives.
1966 "--mtime=@315619200" ; 1980-01-02 UTC
1967 "--owner=root:0"
1968 "--group=root:0"
1969 "--sort=name"
1970 (string-append "librsvg-" #$version))
1971 #t)))))))
1972
f67417a1 1973(define-public librsvg-next
63016e7c
LC
1974 (package
1975 (name "librsvg")
cf9dad6c 1976 (version "2.46.3")
8f523eb9 1977 (source librsvg-next-source)
63016e7c
LC
1978 (build-system gnu-build-system)
1979 (arguments
d953418a
RW
1980 `(#:configure-flags
1981 (list "--disable-static"
1982 "--enable-vala") ; needed for e.g. gnome-mines
7e0f4cb1 1983 #:make-flags '("CC=gcc")
8f523eb9 1984 #:imported-modules ,%cargo-utils-modules ;for `generate-all-checksums'
ec47c07d 1985 #:phases
b6239e45 1986 (modify-phases %standard-phases
8f523eb9 1987 (add-after 'configure 'patch-cargo-checksums
ec47c07d 1988 (lambda _
8f523eb9
EF
1989 (use-modules (guix build cargo-utils))
1990 (substitute* "librsvg/Cargo.toml"
1991 (("bitflags .*") "bitflags = \"1\"\n")) ; 1.2 is vendored
b665a246 1992 (generate-all-checksums "vendor")
8f523eb9
EF
1993 (delete-file "Cargo.lock")
1994 (invoke "cargo" "generate-lockfile")))
b6239e45
EF
1995 (add-before 'configure 'pre-configure
1996 (lambda* (#:key inputs #:allow-other-keys)
1997 (substitute* "gdk-pixbuf-loader/Makefile.in"
1998 ;; By default the gdk-pixbuf loader is installed under
1999 ;; gdk-pixbuf's prefix. Work around that.
2000 (("gdk_pixbuf_moduledir = .*$")
2001 (string-append "gdk_pixbuf_moduledir = "
2002 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
2003 "loaders\n"))
2004 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
2005 (("gdk_pixbuf_cache_file = .*$")
2006 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
2007 #t))
ec47c07d 2008 (add-before 'check 'remove-failing-tests
b6239e45 2009 (lambda _
64a153bd
MW
2010 (with-directory-excursion "tests/fixtures/reftests"
2011 (for-each delete-file
ec47c07d
MB
2012 '(;; The images produced by these tests differ slightly
2013 ;; from their reference counterparts due to differences
2014 ;; in the build environment (missing fonts, etc). See
2015 ;; <tests/README.md> for details.
2016 ;; These fail on x86_64.
2017 "svg1.1/coords-viewattr-02-b.svg"
2018 "svg1.1/filters-composite-04-f.svg"
2019 "svg1.1/filters-image-01-b.svg"
2020 "svg1.1/filters-conv-02-f.svg"
2021 "svg1.1/filters-conv-04-f.svg"
2022 ;; This test fails on i686:
64a153bd 2023 "svg1.1/masking-path-04-b.svg"
64a153bd
MW
2024 ;; This test fails on armhf:
2025 "svg1.1/masking-mask-01-b.svg"
64a153bd 2026 ;; This test fails on aarch64:
ec47c07d 2027 "bugs/777834-empty-text-children.svg")))
b6239e45 2028 #t)))))
63016e7c
LC
2029 (native-inputs
2030 `(("pkg-config" ,pkg-config)
64855281
MB
2031 ;; This is the minimum supported Rust version in Librsvg 2.46.
2032 ("rust" ,rust-1.34)
2033 ("cargo" ,rust-1.34 "cargo")
d953418a 2034 ("vala" ,vala)
44add1ce 2035 ("glib" ,glib "bin") ; glib-mkenums, etc.
63016e7c
LC
2036 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2037 (inputs
2038 `(("pango" ,pango)
2039 ("libcroco" ,libcroco)
2040 ("bzip2" ,bzip2)
2041 ("libgsf" ,libgsf)
2042 ("libxml2" ,libxml2)))
2043 (propagated-inputs
2044 ;; librsvg-2.0.pc refers to all of that.
2045 `(("cairo" ,cairo)
2046 ("gdk-pixbuf" ,gdk-pixbuf)
2047 ("glib" ,glib)))
2048 (home-page "https://wiki.gnome.org/LibRsvg")
2049 (synopsis "Render SVG files using Cairo")
2050 (description
35b9e423 2051 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
63016e7c 2052library.")
cf9dad6c 2053 (license license:lgpl2.1+)))
5698b8b8
JD
2054
2055(define-public libidl
2056 (package
2057 (name "libidl")
2058 (version "0.8.14")
2059 (source (origin
2060 (method url-fetch)
80a06e62
EF
2061 (uri (string-append "mirror://gnome/sources/libIDL/"
2062 (version-major+minor version) "/"
2063 "libIDL-" version ".tar.bz2"))
5698b8b8
JD
2064 (sha256
2065 (base32
2066 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2067 (build-system gnu-build-system)
2068 (inputs `(("glib" ,glib)))
2069 (native-inputs
2070 `(("pkg-config" ,pkg-config)
b3546174 2071 ("flex" ,flex)
5698b8b8
JD
2072 ("bison" ,bison)))
2073 (home-page "http://freecode.com/projects/libidl")
2074 (synopsis "Create trees of CORBA Interface Definition Language files")
35b9e423 2075 (description "Libidl is a library for creating trees of CORBA Interface
5698b8b8
JD
2076Definition Language (idl) files, which is a specification for defining
2077portable interfaces. libidl was initially written for orbit (the orb from the
35b9e423 2078GNOME project, and the primary means of libidl distribution). However, the
2e6ecc5c 2079functionality was designed to be as reusable and portable as possible.")
ef2c55bb 2080 (properties `((upstream-name . "libIDL")))
5698b8b8
JD
2081 (license license:lgpl2.0+)))
2082
2083
2084(define-public orbit2
2085 (package
2086 (name "orbit2")
2087 (version "2.14.19")
2088 (source (origin
2089 (method url-fetch)
2e6ecc5c 2090 (uri (let ((upstream-name "ORBit2"))
a124bbd2 2091 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
2092 (version-major+minor version) "/"
2093 upstream-name "-" version ".tar.bz2")))
5698b8b8 2094 (sha256
a124bbd2
SB
2095 (base32
2096 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
5698b8b8
JD
2097 (build-system gnu-build-system)
2098 (arguments
a124bbd2 2099 `(#:configure-flags
8aad2e32
LC
2100 '(;; We don't need static libraries, plus they don't build reproducibly
2101 ;; (non-deterministic ordering of .o files in the archive.)
2102 "--disable-static"
2103
2104 ;; The programmer kindly gives us a hook to turn off deprecation
2105 ;; warnings ...
2106 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
a124bbd2
SB
2107 ;; ... which they then completly ignore !!
2108 #:phases
dc1d3cde
KK
2109 (modify-phases %standard-phases
2110 (add-before 'configure 'ignore-deprecations
2111 (lambda _
2112 (substitute* "linc2/src/Makefile.in"
2113 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2114 #t)))))
5698b8b8
JD
2115 (inputs `(("glib" ,glib)
2116 ("libidl" ,libidl)))
2117 (native-inputs
2118 `(("pkg-config" ,pkg-config)))
2119 (home-page "https://projects.gnome.org/orbit2/")
2120 (synopsis "CORBA 2.4-compliant Object Request Broker")
35b9e423 2121 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2e6ecc5c 2122featuring mature C, C++ and Python bindings.")
a124bbd2
SB
2123 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2124 ;; a version. SOME of the code files have licence notices for GPLv2+.
2125 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
892307ae
LC
2126 (license license:gpl2+)
2127 (properties `((upstream-name . "ORBit2")))))
5698b8b8
JD
2128
2129
2130(define-public libbonobo
2131 (package
2132 (name "libbonobo")
2133 (version "2.32.1")
2134 (source (origin
2135 (method url-fetch)
5becd025 2136 (uri (string-append "mirror://gnome/sources/" name "/"
29a7c98a 2137 (version-major+minor version)
5becd025 2138 "/" name "-" version ".tar.bz2"))
5698b8b8 2139 (sha256
f1fc45a9 2140 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
fc1adab1
AK
2141 (patches (search-patches
2142 "libbonobo-activation-test-race.patch"))))
5698b8b8
JD
2143 (build-system gnu-build-system)
2144 (arguments
2145 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
5becd025
EB
2146 `(#:configure-flags
2147 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2148 ;; ... which they then completly ignore !!
2149 #:phases
dc1d3cde
KK
2150 (modify-phases %standard-phases
2151 (add-before 'configure 'ignore-deprecations
2152 (lambda _
2153 (substitute* "activation-server/Makefile.in"
2154 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
994b5b1d
LC
2155 #t)))
2156
2157 ;; There's apparently a race condition between the server stub
2158 ;; generation and linking of the example under 'samples/echo' that can
2159 ;; lead do undefined references when building in parallel, as reported
2160 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2161 ;; Thus, disable parallel builds.
2162 #:parallel-build? #f))
5698b8b8
JD
2163 (inputs `(("popt" ,popt)
2164 ("libxml2" ,libxml2)))
2165 ;; The following are Required by the .pc file
44add1ce 2166 (propagated-inputs
5698b8b8
JD
2167 `(("glib" ,glib)
2168 ("orbit2" ,orbit2)))
2169 (native-inputs
2170 `(("intltool" ,intltool)
2171 ("pkg-config" ,pkg-config)
221ed17a 2172 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2173 ("flex" ,flex)
2174 ("bison" ,bison)))
2175 (home-page "https://developer.gnome.org/libbonobo/")
2176 (synopsis "Framework for creating reusable components for use in GNOME applications")
2177 (description "Bonobo is a framework for creating reusable components for
2e6ecc5c 2178use in GNOME applications, built on top of CORBA.")
5698b8b8
JD
2179 ;; Licence not explicitly stated. Source files contain no licence notices.
2180 ;; Tarball contains text of both GPLv2 and LGPLv2
2181 ;; GPLv2 covers both conditions
2182 (license license:gpl2+)))
2183
2184
2185(define-public gconf
2186 (package
2187 (name "gconf")
2188 (version "3.2.6")
2189 (source (origin
2190 (method url-fetch)
a124bbd2
SB
2191 (uri
2192 (let ((upstream-name "GConf"))
2193 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
2194 (version-major+minor version) "/"
2195 upstream-name "-" version ".tar.xz")))
5698b8b8
JD
2196 (sha256
2197 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2198 (build-system gnu-build-system)
2e88d113 2199 (inputs `(("dbus-glib" ,dbus-glib)
5698b8b8 2200 ("libxml2" ,libxml2)))
2e6ecc5c
AE
2201 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2202 ("orbit2" ,orbit2)))
5698b8b8
JD
2203 (native-inputs
2204 `(("intltool" ,intltool)
221ed17a 2205 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2206 ("pkg-config" ,pkg-config)))
2207 (home-page "https://projects.gnome.org/gconf/")
35b9e423
EB
2208 (synopsis "Store application preferences")
2209 (description "Gconf is a system for storing application preferences. It
2210is intended for user preferences; not arbitrary data storage.")
29d2f451
LC
2211 (license license:lgpl2.0+)
2212 (properties '((upstream-name . "GConf")))))
5698b8b8
JD
2213
2214
2215(define-public gnome-mime-data
2216 (package
2217 (name "gnome-mime-data")
2218 (version "2.18.0")
2219 (source (origin
2220 (method url-fetch)
b38e45d8
EB
2221 (uri (string-append "mirror://gnome/sources/" name "/"
2222 (version-major+minor version) "/"
2223 name "-" version ".tar.bz2"))
5698b8b8
JD
2224 (sha256
2225 (base32
2226 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2227 (build-system gnu-build-system)
2228 (native-inputs
2229 `(("perl" ,perl)
2230 ("intltool" ,intltool)))
3e6add96
LC
2231 (arguments
2232 '(#:phases (modify-phases %standard-phases
2233 (add-after 'configure 'use-our-intltool
2234 (lambda _
2235 ;; Do not use the bundled intltool commands, which lack
2236 ;; the "dotless @INC" fixes of our 'intltool' package.
2237 (substitute* (find-files "." "^Makefile$")
2238 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2239 (string-append "INTLTOOL_" tool " = intltool-"
2240 (string-downcase tool) "\n")))
2241 #t)))))
f032d0be 2242 (home-page "https://www.gnome.org")
35b9e423 2243 (synopsis "Base MIME and Application database for GNOME")
5698b8b8
JD
2244 (description "GNOME Mime Data is a module which contains the base MIME
2245and Application database for GNOME. The data stored by this module is
2246designed to be accessed through the MIME functions in GnomeVFS.")
2247 (license license:gpl2+)))
2248
2249
2250(define-public gnome-vfs
2251 (package
2252 (name "gnome-vfs")
2253 (version "2.24.4")
2254 (source (origin
2255 (method url-fetch)
b38e45d8
EB
2256 (uri (string-append "mirror://gnome/sources/" name "/"
2257 (version-major+minor version) "/"
2258 name "-" version ".tar.bz2"))
5698b8b8 2259 (sha256
9e12bc34
MW
2260 (base32
2261 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
5698b8b8
JD
2262 (build-system gnu-build-system)
2263 (arguments
db5127d8 2264 `(#:phases
dc1d3cde
KK
2265 (modify-phases %standard-phases
2266 (add-before 'configure 'ignore-deprecations
2267 (lambda _
2268 (substitute* '("libgnomevfs/Makefile.in"
2269 "daemon/Makefile.in")
2270 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2271 #t))
2272 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2273 (lambda _
2274 (substitute* "test/test-async-cancel.c"
2275 (("EXIT_FAILURE") "77"))
2276 #t)))))
2e6ecc5c 2277 (inputs `(("libxml2" ,libxml2)
5698b8b8 2278 ("dbus-glib" ,dbus-glib)
5698b8b8
JD
2279 ("gconf" ,gconf)
2280 ("gnome-mime-data" ,gnome-mime-data)
2281 ("zlib" ,zlib)))
2282 (native-inputs
221ed17a
EB
2283 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2284 ("intltool" ,intltool)
5698b8b8
JD
2285 ("pkg-config" ,pkg-config)))
2286 (home-page "https://developer.gnome.org/gnome-vfs/")
35b9e423 2287 (synopsis "Access files and folders in GNOME applications")
9e12bc34
MW
2288 (description
2289 "GnomeVFS is the core library used to access files and folders in GNOME
2290applications. It provides a file system abstraction which allows applications
2291to access local and remote files with a single consistent API.")
5698b8b8
JD
2292 (license license:lgpl2.0+)))
2293
2294
2295
2296(define-public libgnome
2297 (package
2298 (name "libgnome")
2299 (version "2.32.1")
2300 (source (origin
2301 (method url-fetch)
b38e45d8
EB
2302 (uri (string-append "mirror://gnome/sources/" name "/"
2303 (version-major+minor version) "/"
2304 name "-" version ".tar.bz2"))
5698b8b8
JD
2305 (sha256
2306 (base32
17c3eea7
LC
2307 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2308 (patches (search-patches "libgnome-encoding.patch"))))
5698b8b8
JD
2309 (build-system gnu-build-system)
2310 (arguments
2311 `(#:phases
dc1d3cde
KK
2312 (modify-phases %standard-phases
2313 (add-before 'configure 'enable-deprecated
2314 (lambda _
2315 (substitute* "libgnome/Makefile.in"
2316 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2317 #t)))))
25338e9f 2318 (inputs `(("libxml2" ,libxml2)))
5698b8b8 2319 (native-inputs
221ed17a
EB
2320 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2321 ("intltool" ,intltool)
5698b8b8
JD
2322 ("pkg-config" ,pkg-config)))
2323 ;; The following are listed as Required in the .pc file
2324 ;; (except for libcanberra -- which seems to be oversight on the part
2325 ;; of the upstream developers -- anything that links against libgnome,
2326 ;; must also link against libcanberra
2327 (propagated-inputs
2328 `(("libcanberra" ,libcanberra)
2329 ("libbonobo" ,libbonobo)
2330 ("gconf" ,gconf)
a640d3d5
LC
2331 ("gnome-vfs" ,gnome-vfs)
2332 ("popt" ,popt))) ;gnome-program.h includes popt.h
5698b8b8
JD
2333 (home-page "https://developer.gnome.org/libgnome/")
2334 (synopsis "Useful routines for building applications")
2335 (description "The libgnome library provides a number of useful routines
2336for building modern applications, including session management, activation of
2337files and URIs, and displaying help.")
2338 (license license:lgpl2.0+)))
2339
2340
2341(define-public libart-lgpl
2342 (package
2343 (name "libart-lgpl")
76c9b6aa 2344 (version "2.3.21")
5698b8b8
JD
2345 (source (origin
2346 (method url-fetch)
2347 (uri (let ((upstream-name "libart_lgpl"))
b38e45d8
EB
2348 (string-append "mirror://gnome/sources/" upstream-name "/"
2349 (version-major+minor version) "/"
2350 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
2351 (sha256
2352 (base32
76c9b6aa 2353 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
5698b8b8
JD
2354 (build-system gnu-build-system)
2355 (native-inputs
2356 `(("pkg-config" ,pkg-config)))
2357 (home-page "https://people.gnome.org/~mathieu/libart")
2358 (synopsis "2D drawing library")
2e6ecc5c 2359 (description "Libart is a 2D drawing library intended as a
5698b8b8
JD
2360high-quality vector-based 2D library with antialiasing and alpha composition.")
2361 (license license:lgpl2.0+)))
2362
2363
2364
2365(define-public libgnomecanvas
2366 (package
2367 (name "libgnomecanvas")
2368 (version "2.30.3")
2369 (source (origin
2370 (method url-fetch)
b38e45d8
EB
2371 (uri (string-append "mirror://gnome/sources/" name "/"
2372 (version-major+minor version) "/"
2373 name "-" version ".tar.gz"))
5698b8b8
JD
2374 (sha256
2375 (base32
2376 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2377 (build-system gnu-build-system)
2378 ;; Mentioned as Required in the .pc file
2379 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2380 ("gtk+" ,gtk+-2)))
2381 (native-inputs
2382 `(("intltool" ,intltool)
221ed17a 2383 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2384 ("pkg-config" ,pkg-config)))
2385 (home-page "https://developer.gnome.org/libgnomecanvas/")
2386 (synopsis "Flexible widget for creating interactive structured graphics")
2387 (description "The GnomeCanvas widget provides a flexible widget for
2388creating interactive structured graphics.")
2389 (license license:lgpl2.0+)))
2390
eadc734e
RW
2391(define-public libgnomecanvasmm
2392 (package
2393 (name "libgnomecanvasmm")
2394 (version "2.26.0")
2395 (source (origin
2396 (method url-fetch)
2397 (uri (string-append "mirror://gnome/sources/" name "/"
2398 (version-major+minor version) "/"
2399 name "-" version ".tar.bz2"))
2400 (sha256
2401 (base32
2402 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2403 (build-system gnu-build-system)
2404 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2405 (native-inputs
2406 `(("gtkmm-2" ,gtkmm-2)
2407 ("pkg-config" ,pkg-config)))
8e933cb3 2408 (home-page "https://gtkmm.org")
eadc734e
RW
2409 (synopsis "C++ bindings to the GNOME Canvas library")
2410 (description "C++ bindings to the GNOME Canvas library.")
2411 (license license:lgpl2.0+)))
2412
5698b8b8
JD
2413(define-public libgnomeui
2414 (package
2415 (name "libgnomeui")
2416 (version "2.24.5")
2417 (source (origin
2418 (method url-fetch)
b38e45d8
EB
2419 (uri (string-append "mirror://gnome/sources/" name "/"
2420 (version-major+minor version) "/"
2421 name "-" version ".tar.bz2"))
8fa1872a 2422 (patches (search-patches "libgnomeui-utf8.patch"))
5698b8b8
JD
2423 (sha256
2424 (base32
2425 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2426 (build-system gnu-build-system)
2427 ;; Mentioned as Required in the .pc file
0a38a497
AE
2428 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2429 ("libgnome" ,libgnome)
2430 ("libgnomecanvas" ,libgnomecanvas)
5698b8b8 2431 ("libgnome-keyring" ,libgnome-keyring)))
0a38a497 2432 (inputs `(("libjpeg" ,libjpeg)
5698b8b8
JD
2433 ("popt" ,popt)
2434 ("libbonobo" ,libbonobo)
2435 ("libxml2" ,libxml2)
2436 ("libglade" ,libglade)))
2437 (native-inputs
221ed17a
EB
2438 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2439 ("intltool" ,intltool)
5698b8b8
JD
2440 ("pkg-config" ,pkg-config)))
2441 (home-page "https://developer.gnome.org/libgnomeui/")
2442 (synopsis "Additional widgets for applications")
35b9e423 2443 (description "The libgnomeui library provides additional widgets for
e881752c
AK
2444applications. Many of the widgets from libgnomeui have already been
2445ported to GTK+.")
5698b8b8
JD
2446 (license license:lgpl2.0+)))
2447
2448(define-public libglade
2449 (package
2450 (name "libglade")
2451 (version "2.6.4")
2452 (source (origin
2453 (method url-fetch)
b38e45d8
EB
2454 (uri (string-append "mirror://gnome/sources/" name "/"
2455 (version-major+minor version) "/"
2456 name "-" version ".tar.bz2"))
5698b8b8
JD
2457 (sha256
2458 (base32
2459 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2460 (build-system gnu-build-system)
2461 (inputs
92dcc23d
AE
2462 `(("python" ,python))) ;; needed for the optional libglade-convert program
2463 (propagated-inputs
5698b8b8 2464 `(("gtk+-2" ,gtk+-2)
92dcc23d 2465 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
5698b8b8
JD
2466 (native-inputs
2467 `(("pkg-config" ,pkg-config)))
2468 (home-page "https://developer.gnome.org/libglade")
35b9e423
EB
2469 (synopsis "Load glade interfaces and access the glade built widgets")
2470 (description "Libglade is a library that provides interfaces for loading
5698b8b8
JD
2471graphical interfaces described in glade files and for accessing the
2472widgets built in the loading process.")
2473 (license license:gpl2+))) ; This is correct. GPL not LGPL
2474
2475(define-public libgnomeprint
eb497b66
LC
2476 ;; This library has been deprecated since 2006; see
2477 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
5698b8b8
JD
2478 (package
2479 (name "libgnomeprint")
d19db454 2480 (version "2.18.8")
5698b8b8
JD
2481 (source (origin
2482 (method url-fetch)
b38e45d8
EB
2483 (uri (string-append "mirror://gnome/sources/" name "/"
2484 (version-major+minor version) "/"
2485 name "-" version ".tar.bz2"))
5698b8b8
JD
2486 (sha256
2487 (base32
d19db454 2488 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
5698b8b8
JD
2489 (build-system gnu-build-system)
2490 (inputs
2491 `(("popt" ,popt)
2492 ("libart-lgpl" ,libart-lgpl)
2493 ("gtk+" ,gtk+-2)
44add1ce 2494 ("libxml2" ,libxml2)))
5698b8b8
JD
2495 (native-inputs
2496 `(("intltool" ,intltool)
221ed17a 2497 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2498 ("pkg-config" ,pkg-config)))
2499 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
35b9e423 2500 (synopsis "Printing framework for GNOME")
eb497b66
LC
2501 (description
2502 "GNOME-print was a printing framework for GNOME. It has been deprecated
2503since ca. 2006, when GTK+ itself incorporated printing support.")
5698b8b8
JD
2504 (license license:lgpl2.0+)))
2505
2506
2507(define-public libgnomeprintui
eb497b66 2508 ;; Deprecated; see libgnomeprint.
5698b8b8
JD
2509 (package
2510 (name "libgnomeprintui")
36053d7f 2511 (version "2.18.6")
5698b8b8
JD
2512 (source (origin
2513 (method url-fetch)
b38e45d8
EB
2514 (uri (string-append "mirror://gnome/sources/" name "/"
2515 (version-major+minor version) "/"
2516 name "-" version ".tar.bz2"))
5698b8b8
JD
2517 (sha256
2518 (base32
36053d7f 2519 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
5698b8b8
JD
2520 (build-system gnu-build-system)
2521 ;; Mentioned as Required in the .pc file
2522 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2523 (inputs `(("gtk+" ,gtk+-2)
2524 ("glib" ,glib)
2525 ("gnome-icon-theme" ,gnome-icon-theme)
2526 ("libgnomecanvas" ,libgnomecanvas)
2e6ecc5c 2527 ("libxml2" ,libxml2)))
5698b8b8
JD
2528 (native-inputs
2529 `(("intltool" ,intltool)
2530 ("pkg-config" ,pkg-config)))
2531 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2532 (synopsis "Printing framework for GNOME")
eb497b66 2533 (description (package-description libgnomeprint))
5698b8b8
JD
2534 (license license:lgpl2.0+)))
2535
5698b8b8
JD
2536(define-public libbonoboui
2537 (package
2538 (name "libbonoboui")
2539 (version "2.24.5")
2540 (source (origin
2541 (method url-fetch)
b38e45d8
EB
2542 (uri (string-append "mirror://gnome/sources/" name "/"
2543 (version-major+minor version) "/"
2544 name "-" version ".tar.bz2"))
5698b8b8
JD
2545 (sha256
2546 (base32
2547 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2548 (build-system gnu-build-system)
2549 (arguments
2550 `(#:phases
dc1d3cde
KK
2551 (modify-phases %standard-phases
2552 (add-before 'check 'start-xserver
2553 (lambda* (#:key inputs #:allow-other-keys)
2554 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2555 (disp ":1"))
2556
2557 (setenv "HOME" (getcwd))
2558 (setenv "DISPLAY" disp)
2559 ;; There must be a running X server and make check doesn't start one.
2560 ;; Therefore we must do it.
2561 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
5698b8b8
JD
2562 ;; Mentioned as Required by the .pc file
2563 (propagated-inputs `(("libxml2" ,libxml2)))
2564 (inputs
2565 `(("popt" ,popt)
2566 ("pangox-compat" ,pangox-compat)
2567 ("libgnome" ,libgnome)
2568 ("libgnomecanvas" ,libgnomecanvas)
2569 ("libglade" ,libglade)))
2570 (native-inputs
221ed17a
EB
2571 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2572 ("intltool" ,intltool)
ff337525 2573 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
5698b8b8
JD
2574 ("pkg-config" ,pkg-config)))
2575 (home-page "https://developer.gnome.org/libbonoboui/")
2576 (synopsis "Some user interface controls using Bonobo")
2577 (description "The Bonobo UI library provides a number of user interface
2578controls using the Bonobo component framework.")
2579 (license license:lgpl2.0+)))
2580
fecbf86e
SB
2581(define-public libwnck
2582 (package
2583 (name "libwnck")
d3b40696 2584 (version "3.32.0")
fecbf86e
SB
2585 (source (origin
2586 (method url-fetch)
2587 (uri (string-append "mirror://gnome/sources/" name "/"
2588 (version-major+minor version) "/"
2589 name "-" version ".tar.xz"))
2590 (sha256
ad9b8987 2591 (base32
d3b40696
KK
2592 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2593 (build-system meson-build-system)
fecbf86e
SB
2594 (native-inputs
2595 `(("pkg-config" ,pkg-config)
d3b40696
KK
2596 ("glib" ,glib "bin") ; for glib-mkenums
2597 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
fecbf86e
SB
2598 ("intltool" ,intltool)))
2599 (propagated-inputs
427476d5
SB
2600 `(("gtk+" ,gtk+)
2601 ("libxres" ,libxres)
2602 ("startup-notification" ,startup-notification)))
fecbf86e
SB
2603 (home-page "https://developer.gnome.org/libwnck/")
2604 (synopsis "Window Navigator Construction Kit")
2605 (description
2606 "Libwnck is the Window Navigator Construction Kit, a library for use in
2607writing pagers, tasklists, and more generally applications that are dealing
2608with window management. It tries hard to respect the Extended Window Manager
2609Hints specification (EWMH).")
2610 (license license:lgpl2.0+)))
2611
2612;; stable version for gtk2, required by xfwm4.
dbb7a081 2613(define-public libwnck-2
fecbf86e
SB
2614 (package (inherit libwnck)
2615 (name "libwnck")
2616 (version "2.30.7")
2617 (source (origin
2618 (method url-fetch)
2619 (uri (string-append "mirror://gnome/sources/" name "/"
2620 (version-major+minor version) "/"
2621 name "-" version ".tar.xz"))
2622 (sha256
2623 (base32
2624 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
ba7fed8e
MÁAV
2625 (build-system gnu-build-system)
2626 (native-inputs
2627 `(("pkg-config" ,pkg-config)
2628 ("intltool" ,intltool)))
fecbf86e 2629 (propagated-inputs
427476d5
SB
2630 `(("gtk+" ,gtk+-2)
2631 ("libxres" ,libxres)
2632 ("startup-notification" ,startup-notification)))))
b804c61e
JD
2633
2634(define-public goffice
2635 (package
2636 (name "goffice")
09abffcc 2637 (version "0.10.46")
b804c61e
JD
2638 (source (origin
2639 (method url-fetch)
16243f0b 2640 (uri (string-append "mirror://gnome/sources/goffice/"
b38e45d8 2641 (version-major+minor version) "/"
16243f0b 2642 "goffice-" version ".tar.xz"))
b804c61e 2643 (sha256
09abffcc 2644 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
b804c61e 2645 (build-system gnu-build-system)
72a06d3e 2646 (outputs '("out"
355420c6 2647 "doc")) ; 4.0 MiB of gtk-doc
72a06d3e
LC
2648 (arguments
2649 '(#:configure-flags (list (string-append "--with-html-dir="
2650 (assoc-ref %outputs "doc")
2651 "/share/gtk-doc/html"))))
b804c61e
JD
2652 (inputs
2653 `(("gtk+" ,gtk+)
2654 ("libgsf" ,libgsf)
2655 ("librsvg" ,librsvg)
2656 ("libxslt" ,libxslt)
2657 ("libxml2" ,libxml2)))
2658 (native-inputs
2659 `(("intltool" ,intltool)
f280cdb1 2660 ("glib" ,glib "bin")
b804c61e
JD
2661 ("pkg-config" ,pkg-config)))
2662 (home-page "https://developer.gnome.org/goffice/")
2663 (synopsis "Document-centric objects and utilities")
2664 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2e6ecc5c 2665 (license
b804c61e
JD
2666 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2667 ;; Note: NOT LGPL
2668 (list license:gpl2 license:gpl3))))
2669
c024ae36
RW
2670(define-public goffice-0.8
2671 (package (inherit goffice)
2672 (version "0.8.17")
2673 (source (origin
2674 (method url-fetch)
2675 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2676 (version-major+minor version) "/"
2677 (package-name goffice) "-" version ".tar.xz"))
2678 (sha256
2679 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2680 (arguments
2681 `(#:phases
dc1d3cde
KK
2682 (modify-phases %standard-phases
2683 (add-after 'unpack 'fix-pcre-check
2684 (lambda _
2685 ;; Only glib.h can be included directly. See
2686 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2687 (substitute* "configure"
2688 (("glib/gregex\\.h") "glib.h")) #t)))
72a06d3e
LC
2689
2690 ,@(package-arguments goffice)))
c024ae36
RW
2691 (propagated-inputs
2692 ;; libgoffice-0.8.pc mentions libgsf-1
2693 `(("libgsf" ,libgsf)))
2694 (inputs
2695 `(("gtk" ,gtk+-2)
2696 ,@(alist-delete "gtk" (package-inputs goffice))))))
2697
b804c61e
JD
2698(define-public gnumeric
2699 (package
2700 (name "gnumeric")
f0517b5d 2701 (version "1.12.46")
b804c61e
JD
2702 (source (origin
2703 (method url-fetch)
b7fd0217 2704 (uri (string-append "mirror://gnome/sources/gnumeric/"
b38e45d8 2705 (version-major+minor version) "/"
b7fd0217 2706 "gnumeric-" version ".tar.xz"))
b804c61e
JD
2707 (sha256
2708 (base32
f0517b5d 2709 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
bd1b1e05 2710 (build-system glib-or-gtk-build-system)
b804c61e
JD
2711 (arguments
2712 `(;; The gnumeric developers don't worry much about failing tests.
2713 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2e6ecc5c 2714 #:tests? #f
b804c61e 2715 #:phases
7bcbd40d
EF
2716 (modify-phases %standard-phases
2717 (add-before
2718 'configure 'pre-conf
2719 (lambda* (#:key outputs #:allow-other-keys)
2720 ;; Make install tries to write into the directory of goffice
2721 ;; I am informed that this only affects the possibility to embed a
2722 ;; spreadsheet inside an Abiword document. So presumably when we
2723 ;; package Abiword we'll have to refer it to this directory.
2724 (substitute* "configure"
2725 (("^GOFFICE_PLUGINS_DIR=.*")
2726 (string-append "GOFFICE_PLUGINS_DIR="
2727 (assoc-ref outputs "out")
2728 "/goffice/plugins"))))))))
b804c61e
JD
2729 (inputs
2730 `(("glib" ,glib)
2731 ("gtk+" ,gtk+)
2732 ("goffice" ,goffice)
2733 ("libgsf" ,libgsf)
7bcbd40d 2734 ("librsvg" ,librsvg)
b804c61e 2735 ("libxml2" ,libxml2)
7bcbd40d 2736 ("libxslt" ,libxslt)
2e4c5457 2737 ("python" ,python-2)
6983ba56 2738 ("python2-pygobject" ,python2-pygobject)
b804c61e
JD
2739 ("zlib" ,zlib)))
2740 (native-inputs
6983ba56 2741 `(("bison" ,bison)
1ed398d1 2742 ("docbook-xml" ,docbook-xml)
6983ba56 2743 ("intltool" ,intltool)
3a2efbc8 2744 ("itstool" ,itstool/fixed) ;see <https://bugs.gnu.org/37468>
b9663471 2745 ("glib:bin" ,glib "bin")
b804c61e
JD
2746 ("pkg-config" ,pkg-config)))
2747 (home-page "http://www.gnumeric.org")
66672a45
LC
2748 (synopsis "Spreadsheet application")
2749 (description
2750 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
2751interoperable with other spreadsheet applications. It has a vast array of
2752features beyond typical spreadsheet functionality, such as support for linear
2753and non-linear solvers, statistical analysis, and telecommunication
2754engineering.")
2755 (license
b804c61e
JD
2756 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2757 (list license:gpl2 license:gpl3))))
6f885c05
FB
2758
2759(define-public gnome-themes-standard
2760 (package
2761 (name "gnome-themes-standard")
0b7b8fb0 2762 (version "3.22.3")
6f885c05
FB
2763 (source
2764 (origin
2765 (method url-fetch)
2e6ecc5c 2766 (uri (string-append "mirror://gnome/sources/" name "/"
6f885c05
FB
2767 (version-major+minor version) "/" name "-"
2768 version ".tar.xz"))
2769 (sha256
2770 (base32
0b7b8fb0 2771 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
6f885c05 2772 (build-system gnu-build-system)
8ac70c7f
SB
2773 (arguments
2774 '(#:configure-flags
2775 ;; Don't create 'icon-theme.cache'.
2776 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2777 (true (string-append coreutils "/bin/true")))
2778 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
6f885c05
FB
2779 (inputs
2780 `(("gtk+" ,gtk+)
2781 ("gtk+-2" ,gtk+-2)
2782 ("librsvg" ,librsvg)
2783 ("libxml2" ,libxml2)
2784 ("glib" ,glib)))
2785 (native-inputs
2786 `(("intltool" ,intltool)
2787 ("glib:bin" ,glib "bin")
2788 ("pkg-config" ,pkg-config)))
6f885c05
FB
2789 (home-page "https://launchpad.net/gnome-themes-standard")
2790 (synopsis "Default GNOME 3 themes")
2791 (description
2792 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2793 (license license:lgpl2.1+)))
5a659a48 2794
df90c701
RW
2795(define-public seahorse
2796 (package
2797 (name "seahorse")
bcea3c11 2798 (version "3.32.2")
df90c701
RW
2799 (source
2800 (origin
2801 (method url-fetch)
2802 (uri (string-append "mirror://gnome/sources/" name "/"
2803 (version-major+minor version) "/" name "-"
2804 version ".tar.xz"))
2805 (sha256
2806 (base32
bcea3c11 2807 "0d8zdzmlz7fjv9xl20zl4ckidf465mvdjnbpxy3k08y9iw423q4x"))
af561664
MÁAV
2808 (patches (search-patches
2809 "seahorse-gkr-use-0-on-empty-flags.patch"))))
2810 (build-system meson-build-system)
2811 (arguments
bcea3c11
KK
2812 '(#:glib-or-gtk? #t
2813 #:phases
af561664
MÁAV
2814 (modify-phases %standard-phases
2815 (add-after 'unpack 'skip-gtk-update-icon-cache
2816 ;; Don't create 'icon-theme.cache'.
2817 (lambda _
2818 (substitute* "build-aux/meson_post_install.py"
2819 (("gtk-update-icon-cache") "true"))
2820 #t)))))
df90c701
RW
2821 (inputs
2822 `(("gtk+" ,gtk+)
2823 ("gcr" ,gcr)
34b979b9 2824 ("gnupg" ,gnupg)
df90c701 2825 ("gpgme" ,gpgme)
34b979b9 2826 ("openldap" ,openldap)
4a1bf090 2827 ("openssh" ,openssh)
af561664 2828 ("avahi" ,avahi)
bcea3c11 2829 ("libpwquality" ,libpwquality)
34b979b9
EF
2830 ("libsecret" ,libsecret)
2831 ("libsoup" ,libsoup)))
df90c701 2832 (native-inputs
af561664 2833 `(("gettext" ,gettext-minimal)
df90c701
RW
2834 ("glib:bin" ,glib "bin")
2835 ("itstool" ,itstool)
bcb354ad 2836 ("pkg-config" ,pkg-config)
af561664 2837 ("vala" ,vala)
bcb354ad 2838 ("xmllint" ,libxml2)))
bcea3c11 2839 (home-page "https://wiki.gnome.org/Apps/Seahorse")
df90c701
RW
2840 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2841 (description
2842 "Seahorse is a GNOME application for managing encryption keys and
2843passwords in the GNOME keyring.")
2844 (license license:gpl2+)))
2845
5a659a48
SB
2846(define-public vala
2847 (package
2848 (name "vala")
2d6872f6 2849 (version "0.44.5")
5a659a48
SB
2850 (source (origin
2851 (method url-fetch)
2852 (uri (string-append "mirror://gnome/sources/" name "/"
2853 (version-major+minor version) "/"
2854 name "-" version ".tar.xz"))
2855 (sha256
2856 (base32
2d6872f6 2857 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
5a659a48 2858 (build-system gnu-build-system)
1ea90625
SB
2859 (arguments
2860 '(#:phases
2861 (modify-phases %standard-phases
f4925a4f 2862 (add-before 'check 'pre-check
1ea90625
SB
2863 (lambda _
2864 (setenv "CC" "gcc")
8839b6be
RW
2865 (substitute* "valadoc/tests/testrunner.sh"
2866 (("export PKG_CONFIG_PATH=" m)
2867 (string-append m "$PKG_CONFIG_PATH:")))
f4925a4f
SB
2868 ;; For missing '/etc/machine-id'.
2869 (setenv "DBUS_FATAL_WARNINGS" "0")
8839b6be 2870 #t)))))
5a659a48
SB
2871 (native-inputs
2872 `(("pkg-config" ,pkg-config)
2873 ("flex" ,flex)
2874 ("bison" ,bison)
2875 ("xsltproc" ,libxslt)
2876 ("dbus" ,dbus) ; for dbus tests
2877 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
8839b6be
RW
2878 (inputs
2879 `(("graphviz" ,graphviz)))
5a659a48 2880 (propagated-inputs
8839b6be 2881 `(("glib" ,glib))) ; required by libvala-0.40.pc
f032d0be 2882 (home-page "https://live.gnome.org/Vala/")
5a659a48
SB
2883 (synopsis "Compiler for the GObject type system")
2884 (description
2885 "Vala is a programming language that aims to bring modern programming
2886language features to GNOME developers without imposing any additional runtime
2887requirements and without using a different ABI compared to applications and
2888libraries written in C.")
2889 (license license:lgpl2.1+)))
ea57378f
SB
2890
2891(define-public vte
2892 (package
2893 (name "vte")
68c47474 2894 (version "0.58.3")
ea57378f
SB
2895 (source (origin
2896 (method url-fetch)
ac87ffb8 2897 (uri (string-append "mirror://gnome/sources/vte/"
ea57378f 2898 (version-major+minor version) "/"
ac87ffb8 2899 "vte-" version ".tar.xz"))
ea57378f
SB
2900 (sha256
2901 (base32
68c47474
TGR
2902 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
2903 (build-system meson-build-system)
ea57378f
SB
2904 (native-inputs
2905 `(("pkg-config" ,pkg-config)
2906 ("intltool" ,intltool)
2907 ("vala" ,vala)
2908 ("gobject-introspection" ,gobject-introspection)
68c47474 2909 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
73f0e1ab 2910 ("gperf" ,gperf)
ea57378f
SB
2911 ("xmllint" ,libxml2)))
2912 (propagated-inputs
68c47474
TGR
2913 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
2914 ("gnutls" ,gnutls) ; ditto
2915 ("pcre2" ,pcre2))) ; ditto
f032d0be 2916 (home-page "https://www.gnome.org/")
ea57378f
SB
2917 (synopsis "Virtual Terminal Emulator")
2918 (description
2919 "VTE is a library (libvte) implementing a terminal emulator widget for
2920GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2921gnome-terminal, but can also be used to embed a console/terminal in games,
2922editors, IDEs, etc.")
2923 (license license:lgpl2.1+)))
2924
c44fb4df
MO
2925(define-public vte-ng
2926 (package
2927 (inherit vte)
2928 (name "vte-ng")
24f4fcbe 2929 (version "0.58.2.a")
afd90f8d 2930 (home-page "https://github.com/thestinger/vte-ng")
6bc00737
MB
2931 (source (origin
2932 (method git-fetch)
2933 (uri (git-reference (url home-page) (commit version)))
2934 (file-name (git-file-name name version))
2935 (sha256
2936 (base32
24f4fcbe
MB
2937 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
2938 (build-system meson-build-system)
c44fb4df
MO
2939 (native-inputs
2940 `(("gtk-doc" ,gtk-doc)
c44fb4df 2941 ,@(package-native-inputs vte)))
c44fb4df 2942 (arguments
24f4fcbe 2943 `(#:configure-flags '("-Ddocs=true")))
c44fb4df
MO
2944 (synopsis "Enhanced VTE terminal widget")
2945 (description
2946 "VTE is a library (libvte) implementing a terminal emulator widget for
2947GTK+, this fork provides additional functions exposed for keyboard text
2948selection and URL hints.")))
2949
2776d72c
EF
2950;; provides vte 2.90, required for some terminal emulators
2951;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2952;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2953;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2954;; pantheon-terminal, roxterm are not currently packaged
2955(define-public vte-0.36
2956 (package (inherit vte)
2957 (name "vte")
2958 (version "0.36.5")
2959 (source (origin
2960 (method url-fetch)
2961 (uri (string-append "mirror://gnome/sources/" name "/"
2962 (version-major+minor version) "/"
2963 name "-" version ".tar.xz"))
2964 (sha256
2965 (base32
2966 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2967 (propagated-inputs
2968 `(("gtk" ,gtk+)
2969 ("ncurses" ,ncurses)))))
2970
ea57378f
SB
2971;; stable version for gtk2, required by xfce4-terminal.
2972(define-public vte/gtk+-2
2973 (package (inherit vte)
2974 (name "vte")
2975 (version "0.28.2")
2976 (source (origin
2977 (method url-fetch)
2978 (uri (string-append "mirror://gnome/sources/" name "/"
2979 (version-major+minor version) "/"
2980 name "-" version ".tar.xz"))
2981 (sha256
2982 (base32
7d48938a
EF
2983 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2984 (patches (search-patches
2985 "vte-CVE-2012-2738-pt1.patch"
2986 "vte-CVE-2012-2738-pt2.patch"))))
8eebde74 2987 (build-system gnu-build-system)
ea57378f
SB
2988 (arguments
2989 '(#:configure-flags '("--disable-python")))
2990 (native-inputs
2991 `(("pkg-config" ,pkg-config)
2992 ("intltool" ,intltool)
2993 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2994 (propagated-inputs
2995 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2996 ("ncurses" ,ncurses))))) ; required by libvte.la
b47e1b20 2997
cce0da5e
TD
2998(define-public vinagre
2999 (package
3000 (name "vinagre")
3001 (version "3.22.0")
3002 (source (origin
3003 (method url-fetch)
3004 (uri (string-append "mirror://gnome/sources/" name "/"
3005 (version-major+minor version) "/"
3006 name "-" version ".tar.xz"))
684f97f8
EF
3007 (patches (search-patches "vinagre-newer-freerdp.patch"
3008 "vinagre-newer-rdp-parameters.patch"))
cce0da5e
TD
3009 (sha256
3010 (base32
3011 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
3012 (build-system glib-or-gtk-build-system)
684f97f8 3013 (arguments
7f486d25
MC
3014 ;; Disable -Werror and such, to avoid build failures on compilation
3015 ;; warnings.
3016 '(#:configure-flags '("--enable-compile-warnings=minimum")
3017 #:phases
684f97f8 3018 (modify-phases %standard-phases
1839768c
EF
3019 (add-before 'install 'skip-gtk-update-icon-cache
3020 (lambda _
3021 ;; Don't create 'icon-theme.cache'
3022 (substitute* (find-files "." "^Makefile$")
3023 (("gtk-update-icon-cache") (which "true")))
3024 #t))
684f97f8
EF
3025 (add-after 'unpack 'patch-configure
3026 (lambda _
3027 (substitute* "configure"
3028 (("freerdp") "freerdp2"))
3029 #t)))))
cce0da5e
TD
3030 (native-inputs
3031 `(("pkg-config" ,pkg-config)
3032 ("intltool" ,intltool)
3033 ("itstool" ,itstool)
1839768c 3034 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
cce0da5e
TD
3035 (inputs
3036 `(("libxml2" ,libxml2)
3037 ("gtk-vnc" ,gtk-vnc)
3038 ("gnome-keyring" ,gnome-keyring)
3039 ("libsecret" ,libsecret)
3040 ("freerdp" ,freerdp)
3041 ("spice" ,spice)
3042 ("spice-gtk" ,spice-gtk)
3043 ("telepathy-glib" ,telepathy-glib)
3044 ("vte" ,vte)))
cce0da5e
TD
3045 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3046 (synopsis "Remote desktop viewer for GNOME")
3047 (description "Vinagre is a remote display client supporting the VNC, SPICE
3048and RDP protocols.")
3049 (license license:gpl3+)))
3050
b47e1b20
FB
3051(define-public dconf
3052 (package
3053 (name "dconf")
1e33331c 3054 (version "0.32.0")
b47e1b20
FB
3055 (source (origin
3056 (method url-fetch)
3057 (uri (string-append
2e6ecc5c 3058 "mirror://gnome/sources/" name "/"
b47e1b20
FB
3059 (version-major+minor version) "/"
3060 name "-" version ".tar.xz"))
3061 (sha256
f05c809f 3062 (base32
1e33331c 3063 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
35fa923d 3064 (build-system meson-build-system)
bc036f4c
MB
3065 (propagated-inputs
3066 ;; In Requires of dconf.pc.
3067 `(("glib" ,glib)))
b47e1b20
FB
3068 (inputs
3069 `(("gtk+" ,gtk+)
bc036f4c 3070 ("dbus" ,dbus)))
b47e1b20 3071 (native-inputs
1e33331c
MB
3072 `(("bash-completion" ,bash-completion)
3073 ("libxslt" ,libxslt) ;for xsltproc
bc036f4c 3074 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
b47e1b20
FB
3075 ("docbook-xml" ,docbook-xml-4.2)
3076 ("docbook-xsl" ,docbook-xsl)
35fa923d 3077 ("glib:bin" ,glib "bin")
03676d6f 3078 ("gtk-doc" ,gtk-doc)
35fa923d
MB
3079 ("pkg-config" ,pkg-config)
3080 ("vala" ,vala)))
b47e1b20
FB
3081 (arguments
3082 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3083 ; or /etc/machine-id.
35fa923d
MB
3084 #:glib-or-gtk? #t
3085 #:configure-flags '("-Denable-gtk-doc=true")))
b47e1b20
FB
3086 (home-page "https://developer.gnome.org/dconf")
3087 (synopsis "Low-level GNOME configuration system")
3088 (description "Dconf is a low-level configuration system. Its main purpose
3089is to provide a backend to GSettings on platforms that don't already have
3090configuration storage systems.")
e20e6b40 3091 (license license:lgpl2.1+)))
109da1c0
AE
3092
3093(define-public json-glib
3094 (package
3095 (name "json-glib")
4115e8ea 3096 (version "1.4.4")
109da1c0
AE
3097 (source (origin
3098 (method url-fetch)
3099 (uri (string-append "mirror://gnome/sources/" name "/"
3100 (version-major+minor version) "/"
3101 name "-" version ".tar.xz"))
3102 (sha256
3103 (base32
4115e8ea 3104 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
98afa184 3105 (build-system meson-build-system)
109da1c0 3106 (native-inputs
98afa184
MB
3107 `(("gettext" ,gettext-minimal)
3108 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
3109 ("gobject-introspection" ,gobject-introspection)
3110 ("pkg-config" ,pkg-config)))
3111 (propagated-inputs
88c6b580 3112 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
3113 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3114 (synopsis "Compiler for the GObject type system")
7c125ce0
AK
3115 (description
3116 "JSON-GLib is a C library based on GLib providing serialization and
3117deserialization support for the JavaScript Object Notation (JSON) format
3118described by RFC 4627. It provides parser and generator GObject classes and
3119various wrappers for the complex data types employed by JSON, such as arrays
3120and objects.")
109da1c0 3121 (license license:lgpl2.1+)))
6f96a359
SB
3122
3123(define-public libxklavier
3124 (package
3125 (name "libxklavier")
5f39050b 3126 (version "5.4")
6f96a359 3127 (source (origin
5f39050b 3128 ;; Note: There's no tarball at ftp.gnome.org for this version.
3129 (method git-fetch)
3130 (uri (git-reference
3131 (url "https://anongit.freedesktop.org/git/libxklavier")
3132 (commit (string-append "libxklavier-" version))))
6f96a359
SB
3133 (sha256
3134 (base32
5f39050b 3135 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3136 (file-name (git-file-name name version))))
6f96a359
SB
3137 (build-system gnu-build-system)
3138 (arguments
5f39050b 3139 '(#:phases
3140 (modify-phases %standard-phases
3141 (add-after 'unpack 'no-configure
3142 (lambda* _
3143 (setenv "NOCONFIGURE" "1")
3144 #t)))
3145 #:configure-flags
6f96a359
SB
3146 (list (string-append "--with-xkb-base="
3147 (assoc-ref %build-inputs "xkeyboard-config")
5f39050b 3148 "/share/X11/xkb")
3149 "--disable-xmodmap-support")))
6f96a359
SB
3150 (native-inputs
3151 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3152 ("gobject-introspection" ,gobject-introspection)
5f39050b 3153 ("pkg-config" ,pkg-config)
3154 ("gtk-doc" ,gtk-doc)
3155 ("intltool" ,intltool)
3156 ("which" ,which)
3157 ("autoconf" ,autoconf)
3158 ("automake" ,automake)
3159 ("libtool" ,libtool)))
6f96a359
SB
3160 (propagated-inputs
3161 ;; Required by libxklavier.pc.
3162 `(("glib" ,glib)
3163 ("libxml2" ,libxml2)))
3164 (inputs
3165 `(("iso-codes" ,iso-codes)
3166 ("libxi" ,libxi)
3167 ("libxkbfile" ,libxkbfile)
3168 ("xkbcomp" ,xkbcomp)
3169 ("xkeyboard-config" ,xkeyboard-config)))
57e7d748 3170 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
6f96a359
SB
3171 (synopsis "High-level API for X Keyboard Extension")
3172 (description
3173 "LibXklavier is a library providing high-level API for X Keyboard
e881752c
AK
3174Extension known as XKB. This library is intended to support XFree86 and other
3175commercial X servers. It is useful for creating XKB-related software (layout
6f96a359
SB
3176indicators etc).")
3177 (license license:lgpl2.0+)))
619936a4
LC
3178
3179(define-public python2-rsvg
3180 ;; XXX: This is actually a subset of gnome-python-desktop.
3181 (package
3182 (name "python2-rsvg")
3183 (version "2.32.0")
3184 (source
3185 (origin
3186 (method url-fetch)
3187 (uri (string-append
3188 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3189 version ".tar.bz2"))
3190 (sha256
3191 (base32
3192 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3193 (build-system gnu-build-system)
3194 (native-inputs
3195 `(("pkg-config" ,pkg-config)))
3196 (inputs
3197 `(("python" ,python-2)
3198 ("python2-pygtk" ,python2-pygtk)
3199 ("librsvg" ,librsvg)))
f032d0be 3200 (home-page "https://www.gnome.org")
619936a4
LC
3201 (synopsis "Python bindings to librsvg")
3202 (description
3ad75446 3203 "This package provides Python bindings to librsvg, the SVG rendering
619936a4
LC
3204library.")
3205
3206 ;; This is the license of the rsvg bindings. The license of each module
3207 ;; of gnome-python-desktop is given in 'COPYING'.
3208 (license license:lgpl2.1+)))
a31a6d22 3209
f2ca414a
SB
3210(define-public glib-networking
3211 (package
3212 (name "glib-networking")
0d75c64d 3213 (version "2.60.3")
f2ca414a
SB
3214 (source (origin
3215 (method url-fetch)
3216 (uri (string-append "mirror://gnome/sources/glib-networking/"
3217 (version-major+minor version) "/"
fb8fe1e8 3218 "glib-networking-" version ".tar.xz"))
f2ca414a
SB
3219 (sha256
3220 (base32
0d75c64d 3221 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
65211552 3222 (build-system meson-build-system)
f2ca414a 3223 (arguments
0d75c64d 3224 `(#:configure-flags '("-Dlibproxy_support=false")))
f2ca414a
SB
3225 (native-inputs
3226 `(("pkg-config" ,pkg-config)
3227 ("intltool" ,intltool)))
3228 (inputs
3229 `(("glib" ,glib)
3230 ("gnutls" ,gnutls)
4b8f1313 3231 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
f032d0be 3232 (home-page "https://www.gnome.org")
f2ca414a
SB
3233 (synopsis "Network-related GIO modules")
3234 (description
3235 "This package contains various network related extensions for the GIO
3236library.")
3237 (license license:lgpl2.0+)))
3238
ca649680 3239(define-public rest
4510b2da 3240 (package
ca649680 3241 (name "rest")
a4194d16 3242 (version "0.8.1")
4510b2da
SB
3243 (source (origin
3244 (method url-fetch)
3245 (uri (string-append "mirror://gnome/sources/rest/"
ca649680
SB
3246 (version-major+minor version) "/"
3247 name "-" version ".tar.xz"))
4510b2da
SB
3248 (sha256
3249 (base32
a4194d16 3250 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4510b2da
SB
3251 (build-system gnu-build-system)
3252 (arguments
3253 '(#:tests? #f ; tests require internet connection
3254 #:configure-flags
3255 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3256 (native-inputs
3257 `(("glib-mkenums" ,glib "bin")
3258 ("gobject-introspection" ,gobject-introspection)
3259 ("pkg-config" ,pkg-config)))
3260 (propagated-inputs
3261 ;; rest-0.7.pc refers to all these.
3262 `(("glib" ,glib)
3263 ("libsoup" ,libsoup)
3264 ("libxml2" ,libxml2)))
24d6cc1d 3265 (home-page "https://www.gtk.org/")
4510b2da
SB
3266 (synopsis "RESTful web api query library")
3267 (description
3268 "This library was designed to make it easier to access web services that
3269claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3270libxml to ease remote use of the RESTful API.")
3271 (license license:lgpl2.1+)))
3272
6e1bb642
SB
3273(define-public libsoup
3274 (package
3275 (name "libsoup")
9ae87870 3276 (version "2.68.3")
6e1bb642
SB
3277 (source (origin
3278 (method url-fetch)
3279 (uri (string-append "mirror://gnome/sources/libsoup/"
3280 (version-major+minor version) "/"
c1b79b36 3281 "libsoup-" version ".tar.xz"))
6e1bb642
SB
3282 (sha256
3283 (base32
9ae87870 3284 "1yxs0ax4rq3g0lgkbv7mz497rqj16iyyizddyc13gzxh6n7b0jsk"))))
eccaa8bf 3285 (build-system meson-build-system)
6e1bb642
SB
3286 (outputs '("out" "doc"))
3287 (arguments
2deb146f 3288 `(#:modules ((guix build utils)
eccaa8bf 3289 (guix build meson-build-system)
2deb146f
LC
3290 (ice-9 popen))
3291
f8026a79 3292 #:configure-flags '("-Dgtk_doc=true")
6e1bb642
SB
3293 #:phases
3294 (modify-phases %standard-phases
eccaa8bf 3295 (add-after 'unpack 'adjust-tests
26c228f9 3296 (lambda _
eccaa8bf
MB
3297 ;; This test fails due to missing /etc/nsswitch.conf
3298 ;; in the build environment.
26c228f9
LC
3299 (substitute* "tests/socket-test.c"
3300 ((".*/sockets/unconnected.*") ""))
2deb146f 3301
f8026a79
MB
3302 ;; These fail because "subdomain.localhost" does not resolve in
3303 ;; the build environment.
3304 (substitute* "tests/hsts-test.c"
3305 ((".*/hsts/basic.*") "")
3306 ((".*/hsts/subdomains.*") "")
3307 ((".*/hsts/superdomain.*") "")
3308 ((".*/hsts/utf8-address.*") ""))
3309 (substitute* "tests/hsts-db-test.c"
3310 ((".*/hsts-db/subdomains.*") ""))
3311
2deb146f
LC
3312 ;; Generate a self-signed certificate that has "localhost" as its
3313 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3314 ;; 3.5.12, tests such as "ssl-tests" fail:
3315 ;;
3316 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3317 ;;
3318 ;; 'certtool' is interactive so we have to pipe it the answers.
3319 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3320 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3321 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3322 (for-each (lambda (line)
3323 (display line pipe)
3324 (newline pipe))
3325 '("" ;Common name
3326 "" ;UID
3327 "Guix" ;Organizational unit name
3328 "GNU" ;Organization name
3329 "" ;Locality name
3330 "" ;State or province
3331 "" ;Country
3332 "" ;subject's domain component (DC)
3333 "" ;E-mail
3334 "" ;serial number
3335 "-1" ;expiration time
3336 "N" ;belong to authority?
3337 "N" ;web client certificate?
3338 "N" ;IPsec IKE?
3339 "Y" ;web server certificate?
3340 "localhost" ;dnsName of subject
3341 "" ;dnsName of subject (end)
3342 "" ;URI of subject
3343 "127.0.0.1" ;IP address of subject
3344 "" ;signing?
06f5bc4e
MB
3345 "" ;encryption (RSA)?
3346 "" ;data encryption?
2deb146f
LC
3347 "" ;sign OCSP requests?
3348 "" ;sign code?
3349 "" ;time stamping?
3350 "" ;email protection?
3351 "" ;URI of the CRL distribution point
3352 "y" ;above info OK?
3353 ))
3354 (close-pipe pipe))
26c228f9 3355 #t))
eccaa8bf
MB
3356 (add-after 'install 'move-doc
3357 (lambda* (#:key outputs #:allow-other-keys)
3358 (let ((out (assoc-ref outputs "out"))
3359 (doc (assoc-ref outputs "doc")))
3360 (mkdir-p (string-append doc "/share"))
3361 (copy-recursively (string-append out "/share/gtk-doc")
3362 (string-append doc "/share/gtk-doc"))
3363 (delete-file-recursively (string-append out "/share/gtk-doc"))
3364 #t))))))
6e1bb642 3365 (native-inputs
26c228f9 3366 `(("glib:bin" ,glib "bin") ; for glib-mkenums
6e1bb642 3367 ("gobject-introspection" ,gobject-introspection)
eccaa8bf 3368 ("gtk-doc" ,gtk-doc)
6e1bb642
SB
3369 ("intltool" ,intltool)
3370 ("pkg-config" ,pkg-config)
3371 ("python" ,python-wrapper)
fd730590 3372 ("vala" ,vala)
6e1bb642
SB
3373 ;; These are needed for the tests.
3374 ;; FIXME: Add PHP once available.
3375 ("curl" ,curl)
2deb146f 3376 ("gnutls" ,gnutls) ;for 'certtool'
6e1bb642
SB
3377 ("httpd" ,httpd)))
3378 (propagated-inputs
3379 ;; libsoup-2.4.pc refers to all these.
f8026a79
MB
3380 `(("brotli" ,google-brotli)
3381 ("glib" ,glib)
249846bf 3382 ("libpsl" ,libpsl)
eccaa8bf 3383 ("libxml2" ,libxml2)
f8026a79
MB
3384 ("sqlite" ,sqlite)
3385 ("zlib" ,zlib)))
eccaa8bf
MB
3386 (inputs
3387 `(("glib-networking" ,glib-networking)
3388 ("mit-krb5" ,mit-krb5)))
6e1bb642
SB
3389 (home-page "https://live.gnome.org/LibSoup/")
3390 (synopsis "GLib-based HTTP Library")
3391 (description
3392 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3393and the GLib main loop, to integrate well with GNOME applications.")
3394 (license license:lgpl2.0+)))
3395
bba229a3
SB
3396(define-public libsecret
3397 (package
3398 (name "libsecret")
b243d2f7 3399 (version "0.19.1")
bba229a3
SB
3400 (source (origin
3401 (method url-fetch)
3402 (uri (string-append
896dcbc7
EF
3403 "mirror://gnome/sources/libsecret/"
3404 (version-major+minor version) "/"
0ada4e29 3405 "libsecret-" version ".tar.xz"))
bba229a3
SB
3406 (sha256
3407 (base32
b243d2f7 3408 "0fhflcsr70b1pps2pcvqcbdhip2ny5am9nbm634f4sj5g40y30w5"))))
bba229a3
SB
3409 (build-system gnu-build-system)
3410 (outputs '("out" "doc"))
3411 (arguments
3412 `(#:tests? #f ; FIXME: Testing hangs.
bba229a3
SB
3413 #:configure-flags
3414 (list (string-append "--with-html-dir="
3415 (assoc-ref %outputs "doc")
3416 "/share/gtk-doc/html"))))
3417 (native-inputs
c06ef010
MB
3418 `(("gettext" ,gettext-minimal)
3419 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
bba229a3 3420 ("gobject-introspection" ,gobject-introspection)
bba229a3
SB
3421 ("pkg-config" ,pkg-config)
3422 ("vala" ,vala)
3423 ("xsltproc" ,libxslt)))
3424 ;; These are needed for the tests.
3425 ;; FIXME: Add gjs once available.
3426 ;("dbus" ,dbus)
3427 ;("python2" ,python-2)
3428 ;("python2-dbus" ,python2-dbus)
3429 ;("python2-pygobject" ,python2-pygobject)
3430 ;("python2-pygobject-2" ,python2-pygobject-2)))
3431 (propagated-inputs
3432 `(("glib" ,glib))) ; required by libsecret-1.pc
3433 (inputs
3434 `(("docbook-xsl" ,docbook-xsl)
3435 ("libgcrypt" ,libgcrypt)
3436 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3437 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3438 (synopsis "GObject bindings for \"Secret Service\" API")
3439 (description
3440 "Libsecret is a GObject based library for storing and retrieving passwords
3441and other secrets. It communicates with the \"Secret Service\" using DBus.")
3442 (license license:lgpl2.1+)))
3443
b6821ee0 3444(define-public five-or-more
3445 (package
3446 (name "five-or-more")
d9795e93 3447 (version "3.32.0")
b6821ee0 3448 (source
3449 (origin
3450 (method url-fetch)
3451 (uri (string-append "mirror://gnome/sources/" name "/"
3452 (version-major+minor version) "/"
3453 name "-" version ".tar.xz"))
3454 (sha256
3455 (base32
d9795e93
KK
3456 "0v52i22ygv6y4zqs8nyb1qmacmj9whhqrw7qss6vn7by4nsikhrn"))))
3457 (build-system meson-build-system)
3458 (arguments
3459 '(#:glib-or-gtk? #t
3460 #:phases
3461 (modify-phases %standard-phases
3462 (add-after 'unpack 'skip-gtk-update-icon-cache
3463 (lambda _
3464 (substitute* "meson_post_install.py"
3465 (("gtk-update-icon-cache") (which "true")))
3466 #t)))))
b6821ee0 3467 (native-inputs
3468 `(("pkg-config" ,pkg-config)
d9795e93 3469 ("appstream-glib" ,appstream-glib)
b6821ee0 3470 ("desktop-file-utils" ,desktop-file-utils)
d9795e93 3471 ("glib:bin" ,glib "bin") ; for glib-compile-resources
b6821ee0 3472 ("intltool" ,intltool)
3473 ("itstool" ,itstool)
d9795e93 3474 ("vala" ,vala)
b6821ee0 3475 ("xmllint" ,libxml2)))
3476 (inputs
3477 `(("gtk+" ,gtk+)
d9795e93 3478 ("libgnome-games-support" ,libgnome-games-support)
b6821ee0 3479 ("librsvg" ,librsvg)))
3480 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3481 (synopsis "Logic puzzle game")
3482 (description "Five or More is a game where you try to align
3483 five or more objects of the same color and shape causing them to disappear.
3484 On every turn more objects will appear, until the board is full.
3485 Try to last as long as possible.")
3486 (license license:gpl2+)))
3487
a31a6d22
SB
3488(define-public gnome-mines
3489 (package
3490 (name "gnome-mines")
2d817e41 3491 (version "3.32.2")
a31a6d22
SB
3492 (source
3493 (origin
3494 (method url-fetch)
3495 (uri (string-append "mirror://gnome/sources/" name "/"
3496 (version-major+minor version) "/"
3497 name "-" version ".tar.xz"))
3498 (sha256
3499 (base32
2d817e41 3500 "1nv966wkp2rqxzcdb76bwlbzpjqadcaqzrnkxpzwnvjjr167yx8g"))))
8c0fab36 3501 (build-system meson-build-system)
a31a6d22 3502 (arguments
2d817e41
KK
3503 '(#:glib-or-gtk? #t
3504 #:phases
a31a6d22 3505 (modify-phases %standard-phases
2d817e41
KK
3506 (add-after 'unpack 'skip-gtk-update-icon-cache
3507 (lambda _
3508 (substitute* "build-aux/meson_post_install.py"
3509 (("gtk-update-icon-cache") (which "true")))
3510 #t)))))
a31a6d22 3511 (native-inputs
8c0fab36
RW
3512 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3513 ("pkg-config" ,pkg-config)
a31a6d22
SB
3514 ("desktop-file-utils" ,desktop-file-utils)
3515 ("intltool" ,intltool)
bcb354ad 3516 ("itstool" ,itstool)
8c0fab36
RW
3517 ("vala" ,vala)
3518 ("yelp" ,yelp)
3519 ("appstream-glib" ,appstream-glib)))
a31a6d22
SB
3520 (inputs
3521 `(("gtk+" ,gtk+)
73992962 3522 ("libgnome-games-support" ,libgnome-games-support)
a31a6d22
SB
3523 ("librsvg" ,librsvg)))
3524 (home-page "https://wiki.gnome.org/Apps/Mines")
3525 (synopsis "Minesweeper game")
3526 (description
3527 "Mines (previously gnomine) is a puzzle game where you locate mines
3528floating in an ocean using only your brain and a little bit of luck.")
3529 (license license:gpl2+)))
88f70665 3530
dfc407f3
KY
3531(define-public gnome-sudoku
3532 (package
3533 (name "gnome-sudoku")
7dc728c4 3534 (version "3.32.0")
dfc407f3
KY
3535 (source
3536 (origin
3537 (method url-fetch)
3538 (uri (string-append "mirror://gnome/sources/" name "/"
3539 (version-major+minor version) "/"
3540 name "-" version ".tar.xz"))
3541 (sha256
3542 (base32
7dc728c4
KK
3543 "1wwdjflw1lbx3cv6gvqcgp5jnjkrq37ld6mjbjj03g3vr90qaf0l"))))
3544 (build-system meson-build-system)
3545 (arguments
3546 '(#:glib-or-gtk? #t
3547 #:phases
3548 (modify-phases %standard-phases
3549 (add-after 'unpack 'skip-gtk-update-icon-cache
3550 (lambda _
3551 (substitute* "build-aux/post_install.py"
3552 (("gtk-update-icon-cache") (which "true")))
3553 #t)))))
dfc407f3
KY
3554 (native-inputs
3555 `(("pkg-config" ,pkg-config)
3556 ("desktop-file-utils" ,desktop-file-utils)
7dc728c4 3557 ("glib:bin" ,glib "bin") ; for glib-compile-resources
dfc407f3
KY
3558 ("intltool" ,intltool)
3559 ("itstool" ,itstool)
7dc728c4 3560 ("vala" ,vala)
dfc407f3
KY
3561 ("xmllint" ,libxml2)))
3562 (inputs
3563 `(("gtk+" ,gtk+)
3564 ("json-glib" ,json-glib)
3565 ("libgee" ,libgee)
3566 ("librsvg" ,librsvg)
3567 ("qqwing" ,qqwing)))
3568 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3569 (synopsis "Japanese logic game")
3570 (description
3571 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3572GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3573possible while still providing features that make playing difficult Sudoku
3574more fun.")
3575 (license license:gpl2+)))
3576
88f70665
AW
3577(define-public gnome-terminal
3578 (package
3579 (name "gnome-terminal")
7dee3942 3580 (version "3.32.2")
88f70665
AW
3581 (source
3582 (origin
3583 (method url-fetch)
3584 (uri (string-append "mirror://gnome/sources/" name "/"
3585 (version-major+minor version) "/"
3586 name "-" version ".tar.xz"))
3587 (sha256
3588 (base32
7dee3942 3589 "0shhpnagasyp1kxgjczfrivcxbgrrl3y8lzvp1z101m67h4jp6km"))))
88f70665
AW
3590 (build-system glib-or-gtk-build-system)
3591 (arguments
3592 '(#:configure-flags
3593 (list "--disable-migration" "--disable-search-provider"
3594 "--without-nautilus-extension")
3595 #:phases
3596 (modify-phases %standard-phases
3a4de6b2 3597 (add-before 'configure 'patch-/bin/true
88f70665
AW
3598 (lambda _
3599 (substitute* "configure"
3600 (("/bin/true") (which "true"))))))))
3601 (native-inputs
3602 `(("pkg-config" ,pkg-config)
3603 ("desktop-file-utils" ,desktop-file-utils)
3604 ("intltool" ,intltool)
bcb354ad
SB
3605 ("itstool" ,itstool)
3606 ("xmllint" ,libxml2)))
68702167
MW
3607 (propagated-inputs
3608 `(("dconf" ,dconf)))
88f70665
AW
3609 (inputs
3610 `(("gtk+" ,gtk+)
3611 ("vte" ,vte)
3612 ("gnutls" ,gnutls)
88f70665
AW
3613 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3614 ("util-linux" ,util-linux)
3615 ("vala" ,vala)))
3616 (home-page "https://wiki.gnome.org/Apps/Terminal")
3617 (synopsis "Terminal emulator")
3618 (description
3619 "GNOME Terminal is a terminal emulator application for accessing a
3620UNIX shell environment which can be used to run programs available on
3621your system.
3622
3623It supports several profiles, multiple tabs and implements several
3624keyboard shortcuts.")
3625 (license license:gpl3+)))
75016d07
AW
3626
3627(define-public colord
3628 (package
3629 (name "colord")
f98be942 3630 (version "1.4.4")
75016d07
AW
3631 (source
3632 (origin
3633 (method url-fetch)
5cc3096c 3634 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
d21778aa 3635 "colord-" version ".tar.xz"))
75016d07 3636 (sha256
f98be942 3637 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
a68544a8 3638 (build-system meson-build-system)
75016d07 3639 (arguments
a68544a8
RW
3640 '(;; FIXME: One test fails:
3641 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3642 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3643 ;; application/x-zerosize
75016d07 3644 #:tests? #f
a68544a8
RW
3645 #:glib-or-gtk? #t
3646 #:configure-flags (list "-Dlocalstatedir=/var"
75016d07 3647 ;; No dep on systemd.
a68544a8 3648 "-Dsystemd=false"
75016d07
AW
3649 ;; Wants to install to global completion dir;
3650 ;; punt.
a68544a8 3651 "-Dbash_completion=false"
a68544a8
RW
3652 "-Ddaemon_user=colord"
3653 "-Dsane=true"
dac26e22 3654 "-Dvapi=true"
6f20e2dc 3655 ;; Requires spotread.
a68544a8 3656 "-Dargyllcms_sensor=false"
6f20e2dc 3657 ;; TODO: Requires docbook2x.
a68544a8 3658 "-Dman=false")
75016d07
AW
3659 #:phases
3660 (modify-phases %standard-phases
a68544a8
RW
3661 (add-before 'configure 'patch-build-system
3662 (lambda* (#:key outputs #:allow-other-keys)
3663 (substitute* "rules/meson.build"
3664 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3665 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
2a1f3e3f
LC
3666 #t))
3667 (add-before 'configure 'set-sqlite3-file-name
3668 (lambda* (#:key inputs #:allow-other-keys)
3669 ;; "colormgr dump" works by invoking the "sqlite3" command.
3670 ;; Record its absolute file name.
3671 (let ((sqlite (assoc-ref inputs "sqlite")))
3672 (substitute* "client/cd-util.c"
3673 (("\"sqlite3\"")
3674 (string-append "\"" sqlite "/bin/sqlite3\"")))
3675 #t))))))
75016d07 3676 (native-inputs
6f20e2dc 3677 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
2536027c 3678 ("gettext" ,gettext-minimal)
75016d07 3679 ("gobject-introspection" ,gobject-introspection)
a68544a8 3680 ("gtk-doc" ,gtk-doc)
dac26e22
TGR
3681 ("pkg-config" ,pkg-config)
3682 ("vala" ,vala)))
65cb2d61
SB
3683 (propagated-inputs
3684 ;; colord.pc refers to all these.
3685 `(("glib" ,glib)
6f20e2dc
TGR
3686 ("lcms" ,lcms)
3687 ("udev" ,eudev)))
75016d07 3688 (inputs
65cb2d61 3689 `(("dbus-glib" ,dbus-glib)
a68544a8 3690 ("gusb" ,gusb)
80c7dd1a 3691 ("libgudev" ,libgudev)
75016d07 3692 ("libusb" ,libusb)
75016d07 3693 ("polkit" ,polkit)
a68544a8 3694 ("python" ,python-wrapper)
6f20e2dc 3695 ("sqlite" ,sqlite)
4c928743 3696 ("sane-backends" ,sane-backends)))
57e7d748 3697 (home-page "https://www.freedesktop.org/software/colord/")
75016d07
AW
3698 (synopsis "Color management service")
3699 (description "Colord is a system service that makes it easy to manage,
3700install and generate color profiles to accurately color manage input and
3701output devices.")
3702 (license license:gpl2+)))
7b2abd00
AW
3703
3704(define-public geoclue
3705 (package
3706 (name "geoclue")
b433c7b3 3707 (version "2.4.8")
7b2abd00
AW
3708 (source
3709 (origin
3710 (method url-fetch)
5cc3096c 3711 (uri (string-append "https://www.freedesktop.org/software/" name
7b2abd00
AW
3712 "/releases/" (version-major+minor version) "/"
3713 name "-" version ".tar.xz"))
3714 (sha256
3715 (base32
b433c7b3 3716 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
fc1adab1 3717 (patches (search-patches "geoclue-config.patch"))))
7b2abd00
AW
3718 (build-system glib-or-gtk-build-system)
3719 (arguments
3720 '(;; The tests want to run the system bus.
3721 #:tests? #f
3722 #:configure-flags (list ;; Disable bits requiring ModemManager.
3723 "--disable-3g-source"
3724 "--disable-cdma-source"
3725 "--disable-modem-gps-source"
3726 "--with-dbus-service-user=geoclue")
3727 #:phases
3728 (modify-phases %standard-phases
3a4de6b2 3729 (add-before 'configure 'patch-/bin/true
7b2abd00
AW
3730 (lambda _
3731 (substitute* "configure"
e3eb53e7
MW
3732 (("/bin/true") (which "true")))
3733 #t)))))
7b2abd00
AW
3734 (native-inputs
3735 `(("pkg-config" ,pkg-config)
758798a9 3736 ("gobject-introspection" ,gobject-introspection)
7b2abd00
AW
3737 ("intltool" ,intltool)))
3738 (inputs
54e911bc
SB
3739 `(("avahi" ,avahi)
3740 ("glib" ,glib)
7b2abd00
AW
3741 ("json-glib" ,json-glib)
3742 ("libsoup" ,libsoup)))
99adfd7d 3743 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
7b2abd00
AW
3744 (synopsis "Geolocation service")
3745 (description "Geoclue is a D-Bus service that provides location
3746information. The primary goal of the Geoclue project is to make creating
3747location-aware applications as simple as possible, while the secondary goal is
3748to ensure that no application can access location information without explicit
e881752c 3749permission from user.")
7b2abd00 3750 (license license:gpl2+)))
2bfe7437
AW
3751
3752(define-public geocode-glib
3753 (package
3754 (name "geocode-glib")
65de725f 3755 (version "3.26.1")
2bfe7437
AW
3756 (source (origin
3757 (method url-fetch)
3758 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3759 (version-major+minor version) "/"
d485cdc0 3760 "geocode-glib-" version ".tar.xz"))
2bfe7437
AW
3761 (sha256
3762 (base32
65de725f 3763 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
a7dd0c02 3764 (build-system meson-build-system)
2bfe7437 3765 (arguments
a7dd0c02
RW
3766 `(#:phases
3767 (modify-phases %standard-phases
3768 ;; The tests require a bunch of locales.
3769 (add-before 'check 'set-locales
3770 (lambda* (#:key inputs #:allow-other-keys)
3771 (setenv "GUIX_LOCPATH"
3772 (string-append (assoc-ref inputs "glibc-locales")
3773 "/lib/locale"))
3774 #t)))))
2bfe7437
AW
3775 (native-inputs
3776 `(("glib:bin" ,glib "bin") ; for glib-mkenums
a7dd0c02
RW
3777 ("glibc-locales" ,glibc-locales) ; for tests
3778 ("gettext" ,gettext-minimal)
2bfe7437 3779 ("gobject-introspection" ,gobject-introspection)
a7dd0c02 3780 ("gtk-doc" ,gtk-doc)
2bfe7437
AW
3781 ("pkg-config" ,pkg-config)
3782 ("json-glib" ,json-glib)))
3783 (propagated-inputs
3784 ;; geocode-glib-1.0.pc refers to GIO.
3785 `(("glib" ,glib)))
3786 (inputs
3787 `(("libsoup" ,libsoup)))
3788 (home-page "https://github.com/GNOME/geocode-glib/")
3789 (synopsis "Geocoding and reverse-geocoding library")
3790 (description
3791 "geocode-glib is a convenience library for geocoding (finding longitude,
3792and latitude from an address) and reverse geocoding (finding an address from
3793coordinates) using the Nominatim service. geocode-glib caches requests for
3794faster results and to avoid unnecessary server load.")
3795 (license license:lgpl2.0+)))
a1d5bb0e
AW
3796
3797(define-public upower
3798 (package
3799 (name "upower")
df45af90 3800 (version "0.99.11")
a1d5bb0e
AW
3801 (source (origin
3802 (method url-fetch)
df45af90 3803 (uri (string-append "https://upower.freedesktop.org/releases/"
9ec54965 3804 "upower-" version ".tar.xz"))
a1d5bb0e
AW
3805 (sha256
3806 (base32
df45af90 3807 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
fc1adab1 3808 (patches (search-patches "upower-builddir.patch"))))
a1d5bb0e
AW
3809 (build-system glib-or-gtk-build-system)
3810 (arguments
3811 '( ;; The tests want to contact the system bus, which can't be done in the
3812 ;; build environment. The integration test can run, but the last of
3813 ;; the up-self-tests doesn't. Disable tests for now.
3814 #:tests? #f
3815 #:configure-flags (list "--localstatedir=/var"
3816 (string-append "--with-udevrulesdir="
3817 (assoc-ref %outputs "out")
9ec54965 3818 "/lib/udev/rules.d"))))
a1d5bb0e 3819 (native-inputs
ebeabe2d
SB
3820 `(("gobject-introspection" ,gobject-introspection)
3821 ("pkg-config" ,pkg-config)
a1d5bb0e 3822 ("intltool" ,intltool)
55409295
LC
3823 ("python" ,python)
3824
3825 ;; For man pages.
3826 ("libxslt" ,libxslt) ;for 'xsltproc'
3827 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3828 ("docbook-xsl" ,docbook-xsl)))
a1d5bb0e 3829 (inputs
ea226291
SB
3830 `(("dbus-glib" ,dbus-glib)
3831 ("libgudev" ,libgudev)
a1d5bb0e 3832 ("libusb" ,libusb)))
d7a503fc
MB
3833 (propagated-inputs
3834 ;; In Requires of upower-glib.pc.
3835 `(("glib" ,glib)))
57e7d748 3836 (home-page "https://upower.freedesktop.org/")
a1d5bb0e
AW
3837 (synopsis "System daemon for managing power devices")
3838 (description
3839 "UPower is an abstraction for enumerating power devices,
3840listening to device events and querying history and statistics. Any
3841application or service on the system can access the org.freedesktop.UPower
3842service via the system message bus.")
3843 (license license:gpl2+)))
6a180f6f
AW
3844
3845(define-public libgweather
3846 (package
3847 (name "libgweather")
794ce8ea 3848 (version "3.28.3")
6a180f6f
AW
3849 (source (origin
3850 (method url-fetch)
3851 (uri (string-append "mirror://gnome/sources/" name "/"
3852 (version-major+minor version) "/"
3853 name "-" version ".tar.xz"))
3854 (sha256
3855 (base32
794ce8ea 3856 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
cf6cbc34 3857 (build-system meson-build-system)
6a180f6f 3858 (arguments
cf6cbc34
RW
3859 `(#:tests? #f ; one of two tests requires network access
3860 #:configure-flags
3861 `(,(string-append "-Dzoneinfo_dir="
b6072e6b 3862 (assoc-ref %build-inputs "tzdata")
cf6cbc34 3863 "/share/zoneinfo"))))
6a180f6f
AW
3864 (native-inputs
3865 `(("glib:bin" ,glib "bin") ; for glib-mkenums
b6072e6b 3866 ("gobject-introspection" ,gobject-introspection)
6a180f6f 3867 ("pkg-config" ,pkg-config)
1d3fcf94 3868 ("vala" ,vala)
6a180f6f
AW
3869 ("intltool" ,intltool)))
3870 (propagated-inputs
3871 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3872 ;; libsoup.
3873 `(("gtk+" ,gtk+)
3874 ("gdk-pixbuf" ,gdk-pixbuf)
3875 ("libxml2" ,libxml2)
cf6cbc34 3876 ("libsoup" ,libsoup)
6a180f6f 3877 ("geocode-glib" ,geocode-glib)))
cf6cbc34
RW
3878 (inputs
3879 `(("tzdata" ,tzdata)))
6a180f6f
AW
3880 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3881 (synopsis "Location, time zone, and weather library for GNOME")
3882 (description
3883 "libgweather is a library to access weather information from online
3884services for numerous locations.")
3885 (license license:gpl2+)))
23a22af6
AW
3886
3887(define-public gnome-settings-daemon
3888 (package
3889 (name "gnome-settings-daemon")
4be0719f 3890 (version "3.32.1")
23a22af6
AW
3891 (source
3892 (origin
3893 (method url-fetch)
3894 (uri (string-append "mirror://gnome/sources/" name "/"
3895 (version-major+minor version) "/"
3896 name "-" version ".tar.xz"))
3897 (sha256
3898 (base32
4be0719f 3899 "02d0s0g2mmqfib44r3sf0499r08p61s8l2ndsjssbam1bi7x2dks"))))
e644f9fa 3900 (build-system meson-build-system)
23a22af6 3901 (arguments
e644f9fa
RW
3902 `(#:glib-or-gtk? #t
3903 #:configure-flags
3904 (list (string-append "-Dudev_dir="
3905 (assoc-ref %outputs "out")
4d0e085b
RW
3906 "/lib/udev/rules.d/")
3907 ;; Otherwise, the RUNPATH will lack the final path component.
3908 (string-append "-Dc_link_args=-Wl,-rpath="
3909 (assoc-ref %outputs "out")
3910 "/lib/gnome-settings-daemon-3.0"))
e644f9fa 3911 ;; Color management test can't reach the colord system service.
23a22af6
AW
3912 #:tests? #f))
3913 (native-inputs
e644f9fa
RW
3914 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3915 ("pkg-config" ,pkg-config)
23a22af6
AW
3916 ("intltool" ,intltool)
3917 ("xsltproc" ,libxslt)
3918 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3919 ("docbook-xml" ,docbook-xml-4.2)
3920 ("docbook-xsl" ,docbook-xsl)))
3921 (inputs
e644f9fa
RW
3922 `(("alsa-lib" ,alsa-lib)
3923 ("colord" ,colord)
ea226291 3924 ("libgudev" ,libgudev)
23a22af6
AW
3925 ("upower" ,upower)
3926 ("polkit" ,polkit)
3927 ("pulseaudio" ,pulseaudio)
3928 ("libcanberra" ,libcanberra)
3929 ("libx11" ,libx11)
3930 ("libxtst" ,libxtst)
3931 ("lcms" ,lcms)
3932 ("libnotify" ,libnotify)
3933 ("geoclue" ,geoclue)
3934 ("geocode-glib" ,geocode-glib)
3935 ("libgweather" ,libgweather)
3936 ("gnome-desktop" ,gnome-desktop)
3937 ("nss" ,nss)
3938 ("cups" ,cups)
ec2b1921
AW
3939 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3940 ("libwacom" ,libwacom)
3941 ("librsvg" ,librsvg)
eee7878f 3942 ("xf86-input-wacom" ,xf86-input-wacom)
e644f9fa 3943 ("wayland" ,wayland)
eee7878f 3944 ("network-manager" ,network-manager)))
f032d0be 3945 (home-page "https://www.gnome.org")
23a22af6
AW
3946 (synopsis "GNOME settings daemon")
3947 (description
3948 "This package contains the daemon responsible for setting the various
3949parameters of a GNOME session and the applications that run under it. It
3950handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3951settings, themes, mouse settings, and startup of other daemons.")
3952 (license license:gpl2+)))
1e7464a9
DH
3953
3954(define-public totem-pl-parser
3955 (package
3956 (name "totem-pl-parser")
77425f04 3957 (version "3.26.3")
1e7464a9
DH
3958 (source (origin
3959 (method url-fetch)
e980cbe9
MW
3960 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3961 (version-major+minor version) "/"
1e7464a9
DH
3962 "totem-pl-parser-" version ".tar.xz"))
3963 (sha256
3964 (base32
77425f04 3965 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
1e9b19dd 3966 (build-system meson-build-system)
1e7464a9
DH
3967 (arguments
3968 ;; FIXME: Tests require gvfs.
3969 `(#:tests? #f))
3970 (native-inputs
3971 `(("intltool" ,intltool)
3972 ("glib" ,glib "bin")
4d6d8281 3973 ("gobject-introspection" ,gobject-introspection)
1e7464a9 3974 ("pkg-config" ,pkg-config)))
22a6ad6a 3975 (propagated-inputs
1e7464a9
DH
3976 `(("glib" ,glib)
3977 ("gmime" ,gmime)
1e9b19dd
RW
3978 ("libarchive" ,libarchive)
3979 ("libgcrypt" ,libgcrypt)
22a6ad6a
MW
3980 ("libxml2" ,libxml2)))
3981 (inputs
0a6e9e13 3982 `(("libsoup" ,libsoup)))
1e7464a9
DH
3983 (home-page "https://projects.gnome.org/totem")
3984 (synopsis "Library to parse and save media playlists for GNOME")
3985 (description "Totem-pl-parser is a GObjects-based library to parse and save
3986playlists in a variety of formats.")
3987 (license license:lgpl2.0+)))
3988
6b888eff
SB
3989(define-public aisleriot
3990 (package
3991 (name "aisleriot")
36ed9b46 3992 (version "3.22.9")
6b888eff
SB
3993 (source (origin
3994 (method url-fetch)
e43f622a 3995 (uri (string-append "mirror://gnome/sources/aisleriot/"
6b888eff 3996 (version-major+minor version) "/"
e43f622a 3997 "aisleriot-" version ".tar.xz"))
6b888eff
SB
3998 (sha256
3999 (base32
36ed9b46 4000 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
6b888eff
SB
4001 (build-system glib-or-gtk-build-system)
4002 (arguments
4003 '(#:configure-flags
4004 '("--with-platform=gtk-only"
4005 "--with-card-theme-formats=svg")))
4006 (native-inputs
4007 `(("desktop-file-utils" ,desktop-file-utils)
4008 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
4009 ("intltool" ,intltool)
4010 ("itstool" ,itstool)
4011 ("pkg-config" ,pkg-config)
4012 ("xmllint" ,libxml2)))
4013 (inputs
4014 `(("gtk+" ,gtk+)
226e57d6 4015 ("guile" ,guile-2.2)
6b888eff
SB
4016 ("libcanberra" ,libcanberra)
4017 ("librsvg" ,librsvg)))
4018 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
4019 (synopsis "Solitaire card games")
4020 (description
4021 "Aisleriot (also known as Solitaire or sol) is a collection of card games
4022which are easy to play with the aid of a mouse.")
4023 (license license:gpl3+)))
4a79e256 4024
f828d05b
KK
4025(define-public amtk
4026 (package
4027 (name "amtk")
09c4e43f 4028 (version "5.0.1")
f828d05b
KK
4029 (source (origin
4030 (method url-fetch)
bf92ba6b 4031 (uri (string-append "mirror://gnome/sources/amtk/"
f828d05b 4032 (version-major+minor version) "/"
bf92ba6b 4033 "amtk-" version ".tar.xz"))
f828d05b
KK
4034 (sha256
4035 (base32
09c4e43f 4036 "09yy95w1s83c43mh9vha1jbb780yighf5pd2j0ygjmc68sjg871d"))))
f828d05b
KK
4037 (build-system gnu-build-system)
4038 (arguments
4039 '(#:configure-flags '("--enable-gtk-doc")))
4040 (native-inputs
4041 `(("gobject-introspection" ,gobject-introspection)
09c4e43f 4042 ("glib:bin" ,glib "bin") ; for glib-mkenums
f828d05b
KK
4043 ("gtk-doc" ,gtk-doc)
4044 ("pkg-config" ,pkg-config)))
4045 (inputs
4046 `(("glib" ,glib)
4047 ("gtk+" ,gtk+)))
4048 (home-page "https://wiki.gnome.org/Projects/Amtk")
4049 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4050 (description
4051 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4052It is a basic GtkUIManager replacement based on GAction. It is suitable for
4053both a traditional UI or a modern UI with a GtkHeaderBar.")
4054 (license license:lgpl2.1+)))
4055
4a79e256
SB
4056(define-public devhelp
4057 (package
4058 (name "devhelp")
20db7a3d 4059 (version "3.32.0")
4a79e256
SB
4060 (source (origin
4061 (method url-fetch)
4062 (uri (string-append "mirror://gnome/sources/" name "/"
4063 (version-major+minor version) "/"
4064 name "-" version ".tar.xz"))
4065 (sha256
4066 (base32
20db7a3d 4067 "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq"))))
11d28bd9 4068 (build-system meson-build-system)
35407f94 4069 (arguments
20db7a3d
KK
4070 '(#:glib-or-gtk? #t
4071 #:phases
35407f94
EF
4072 (modify-phases %standard-phases
4073 (add-after 'unpack 'skip-gtk-update-icon-cache
4074 ;; Don't create 'icon-theme.cache'.
4075 (lambda _
4076 (substitute* "meson_post_install.py"
4077 (("gtk-update-icon-cache") "true"))
4078 #t)))))
4a79e256
SB
4079 (native-inputs
4080 `(("intltool" ,intltool)
5dd12afc 4081 ("itstool" ,itstool)
11d28bd9
KK
4082 ("gobject-introspection" ,gobject-introspection)
4083 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4a79e256
SB
4084 ("pkg-config" ,pkg-config)))
4085 (inputs
11d28bd9
KK
4086 `(("amtk" ,amtk)
4087 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4a79e256
SB
4088 ("webkitgtk" ,webkitgtk)))
4089 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4090 (synopsis "API documentation browser for GNOME")
4091 (description
4092 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4093natively with GTK-Doc (the API reference system developed for GTK+ and used
4094throughout GNOME for API documentation).")
4095 (license license:gpl2+)))
ba421ab7
MW
4096
4097(define-public cogl
4098 (package
4099 (name "cogl")
54c69ae1 4100 (version "1.22.4")
ba421ab7
MW
4101 (source
4102 (origin
4103 (method url-fetch)
5754f0cf 4104 (uri (string-append "mirror://gnome/sources/cogl/"
ba421ab7 4105 (version-major+minor version) "/"
5754f0cf 4106 "cogl-" version ".tar.xz"))
ba421ab7 4107 (sha256
54c69ae1 4108 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
a88d5a0c
MW
4109 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4110 ;; cogl, corresponding changes may be appropriate in mutter as well.
ba421ab7
MW
4111 (build-system gnu-build-system)
4112 (native-inputs
4113 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4114 ("gobject-introspection" ,gobject-introspection)
4115 ;;("xorg-server" ,xorg-server) ; for the test suite
4116 ("pkg-config" ,pkg-config)))
4117 (propagated-inputs
4118 `(("glib" ,glib)
4119 ("gdk-pixbuf" ,gdk-pixbuf)
4120 ("libx11" ,libx11)
4121 ("libxext" ,libxext)
4122 ("libxfixes" ,libxfixes)
4123 ("libxdamage" ,libxdamage)
4124 ("libxcomposite" ,libxcomposite)
4125 ("libxrandr" ,libxrandr)))
4126 (inputs
4127 `(("mesa" ,mesa)
4128 ("cairo" ,cairo)
4129 ("pango" ,pango)
4130 ("gstreamer" ,gstreamer)
31860852
KK
4131 ("gst-plugins-base" ,gst-plugins-base)
4132 ("wayland" ,wayland)))
ba421ab7
MW
4133 (arguments
4134 `(#:configure-flags (list "--enable-cogl-gst"
31860852
KK
4135 "--enable-wayland-egl-platform"
4136 "--enable-wayland-egl-server"
4137
ba421ab7
MW
4138 ;; Arrange to pass an absolute file name to
4139 ;; dlopen for libGL.so.
4140 (string-append "--with-gl-libname="
4141 (assoc-ref %build-inputs "mesa")
4142 "/lib/libGL.so"))
4143 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4144 ;; _FontTransOpen: Unable to Parse address
4145 ;; ${prefix}/share/fonts/X11/misc/
4146 #:tests? #f
4147 #; #:phases
4148 #;
4149 (modify-phases %standard-phases
4150 (add-before 'check 'start-xorg-server
4151 (lambda* (#:key inputs #:allow-other-keys)
4152 ;; The test suite requires a running X server.
4153 (system (format #f "~a/bin/Xvfb :1 &"
4154 (assoc-ref inputs "xorg-server")))
4155 (setenv "DISPLAY" ":1")
4156 #t)))))
4157 (home-page "http://www.cogl3d.org")
4158 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4159 (description
4160 "Cogl is a small library for using 3D graphics hardware to draw pretty
4161pictures. The API departs from the flat state machine style of OpenGL and is
4162designed to make it easy to write orthogonal components that can render
4163without stepping on each others toes.")
4164 (license (list license:expat ; most of the code
4165 license:bsd-3 ; cogl/cogl-point-in-poly.c
4166 license:sgifreeb2.0 ; cogl-path/tesselator/
4167 license:asl2.0)))) ; examples/android/
fb182b8a
MW
4168
4169(define-public clutter
4170 (package
4171 (name "clutter")
6a88e4ee 4172 (version "1.26.2")
fb182b8a
MW
4173 (source
4174 (origin
4175 (method url-fetch)
4176 (uri (string-append "mirror://gnome/sources/" name "/"
4177 (version-major+minor version) "/"
4178 name "-" version ".tar.xz"))
4179 (sha256
4180 (base32
6a88e4ee 4181 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
a88d5a0c
MW
4182 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4183 ;; to clutter, corresponding changes may be appropriate in mutter as well.
fb182b8a 4184 (build-system gnu-build-system)
600233bd
LC
4185 (outputs '("out"
4186 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
4187 (native-inputs
4188 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4189 ("gobject-introspection" ,gobject-introspection)
4190 ("pkg-config" ,pkg-config)
4191 ("xsltproc" ,libxslt)))
4192 (propagated-inputs
4193 `(("cogl" ,cogl)
4194 ("cairo" ,cairo)
4195 ("atk" ,atk)
4196 ("gtk+" ,gtk+)
4197 ("json-glib" ,json-glib)
4198 ("glib" ,glib)
4199 ("libxcomposite" ,libxcomposite)
4200 ("libxdamage" ,libxdamage)
4201 ("libxext" ,libxext)
4202 ("xinput" ,xinput)))
4203 (inputs
4204 `(("libxkbcommon" ,libxkbcommon)
4205 ("udev" ,eudev)))
4206 (arguments
600233bd
LC
4207 `(#:configure-flags (list "--enable-x11-backend=yes"
4208
4209 ;; This produces share/doc/{clutter,cally}.
4210 (string-append "--with-html-dir="
4211 (assoc-ref %outputs "doc")
4212 "/share/doc"))
fb182b8a
MW
4213 ;; XXX FIXME: Get test suite working. It would probably fail in the
4214 ;; same way the cogl tests fail, since clutter is based on cogl.
4215 #:tests? #f))
4216 (home-page "http://www.clutter-project.org")
476af713 4217 (synopsis "OpenGL-based interactive canvas library")
fb182b8a 4218 (description
476af713 4219 "Clutter is an OpenGL-based interactive canvas library, designed for
fb182b8a
MW
4220creating fast, mainly 2D single window applications such as media box UIs,
4221presentations, kiosk style applications and so on.")
4222 (license license:lgpl2.0+)))
bf7f17ba
MW
4223
4224(define-public clutter-gtk
4225 (package
4226 (name "clutter-gtk")
5d1a3219 4227 (version "1.8.4")
bf7f17ba
MW
4228 (source
4229 (origin
4230 (method url-fetch)
4231 (uri (string-append "mirror://gnome/sources/" name "/"
4232 (version-major+minor version) "/"
4233 name "-" version ".tar.xz"))
4234 (sha256
4235 (base32
5d1a3219 4236 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
bf7f17ba
MW
4237 (build-system gnu-build-system)
4238 (native-inputs
4239 `(("pkg-config" ,pkg-config)
4240 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
4241 (propagated-inputs
4242 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
4243 `(("clutter" ,clutter)
4244 ("gtk+" ,gtk+)))
4245 (home-page "http://www.clutter-project.org")
476af713 4246 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
bf7f17ba 4247 (description
476af713 4248 "Clutter is an OpenGL-based interactive canvas library, designed for
bf7f17ba
MW
4249creating fast, mainly 2D single window applications such as media box UIs,
4250presentations, kiosk style applications and so on.")
4251 (license license:lgpl2.0+)))
86d6a893
MW
4252
4253(define-public clutter-gst
4254 (package
4255 (name "clutter-gst")
ba07ac19 4256 (version "3.0.27")
86d6a893
MW
4257 (source
4258 (origin
4259 (method url-fetch)
f010f89b 4260 (uri (string-append "mirror://gnome/sources/clutter-gst/"
86d6a893 4261 (version-major+minor version) "/"
f010f89b 4262 "clutter-gst-" version ".tar.xz"))
86d6a893 4263 (sha256
ba07ac19 4264 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
86d6a893
MW
4265 (build-system gnu-build-system)
4266 (native-inputs
ba07ac19 4267 `(("glib:bin" ,glib "bin") ; for glib-mkenums
86d6a893
MW
4268 ("pkg-config" ,pkg-config)
4269 ("gobject-introspection" ,gobject-introspection)))
4270 (inputs
4271 `(("clutter" ,clutter)
4272 ("gstreamer" ,gstreamer)
4273 ("gst-plugins-base" ,gst-plugins-base)))
4274 (home-page "http://www.clutter-project.org")
4275 (synopsis "Integration library for using GStreamer with Clutter")
4276 (description
4277 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4278It provides a GStreamer sink to upload frames to GL and an actor that
476af713
TGR
4279implements the ClutterGstPlayer interface using playbin. Clutter is an
4280OpenGL-based interactive canvas library.")
86d6a893 4281 (license license:lgpl2.0+)))
607a04ae 4282
30dc88d9
LC
4283(define-public libchamplain
4284 (package
4285 (name "libchamplain")
5564b2c5 4286 (version "0.12.16")
30dc88d9
LC
4287 (source (origin
4288 (method url-fetch)
4289 (uri (string-append
4290 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4291 version ".tar.xz"))
4292 (sha256
4293 (base32
5564b2c5 4294 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
30dc88d9 4295 (build-system gnu-build-system)
f7c6833f
LF
4296 (arguments '(#:configure-flags '("--enable-vala")))
4297 (native-inputs
4298 `(("gobject-introspection" ,gobject-introspection)
4299 ("pkg-config" ,pkg-config)
4300 ("vala" ,vala)))
30dc88d9
LC
4301 (propagated-inputs
4302 `(("libsoup" ,libsoup)
4303 ("sqlite" ,sqlite)
4304 ("clutter" ,clutter)
4305 ("clutter-gtk" ,clutter-gtk)
4306 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4307 ("cairo" ,cairo)
4308 ("gtk+3" ,gtk+)
4309 ("glib" ,glib)))
f032d0be 4310 (home-page "https://projects.gnome.org/libchamplain/")
30dc88d9
LC
4311 (synopsis "C library providing a ClutterActor to display maps")
4312 (description
4313 "libchamplain is a C library providing a ClutterActor to display maps.
4314It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4315and Perl bindings are also available. It supports numerous free map sources
4316such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4317 (license license:lgpl2.1+)))
4318
607a04ae
MW
4319(define-public gom
4320 (package
4321 (name "gom")
0510440b 4322 (version "0.3.2")
607a04ae
MW
4323 (source
4324 (origin
4325 (method url-fetch)
6c8a0b6f 4326 (uri (string-append "mirror://gnome/sources/gom/"
607a04ae 4327 (version-major+minor version) "/"
6c8a0b6f 4328 "gom-" version ".tar.xz"))
607a04ae
MW
4329 (sha256
4330 (base32
0510440b 4331 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
607a04ae
MW
4332 (build-system gnu-build-system)
4333 (native-inputs
4334 `(("intltool" ,intltool)
4335 ("pkg-config" ,pkg-config)
4336 ("gobject-introspection" ,gobject-introspection)))
4337 (inputs
4338 `(("glib" ,glib)
4339 ("gdk-pixbuf" ,gdk-pixbuf)
4340 ("sqlite" ,sqlite)))
4341 ;; XXX TODO: Figure out how to run the test suite.
4342 (arguments `(#:tests? #f))
4343 (home-page "https://wiki.gnome.org/Projects/Gom")
4344 (synopsis "Object mapper from GObjects to SQLite")
4345 (description
4346 "Gom provides an object mapper from GObjects to SQLite. It helps you
4347write applications that need to store structured data as well as make complex
4348queries upon that data.")
4349 (license license:lgpl2.1+)))
b7a3cf11 4350
865aacc9 4351(define-public libgnome-games-support
f09520db 4352 (package
865aacc9 4353 (name "libgnome-games-support")
4c6d15cf 4354 (version "1.4.4")
f09520db
SB
4355 (source (origin
4356 (method url-fetch)
2d8dca9d 4357 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
f09520db 4358 (version-major+minor version) "/"
2d8dca9d 4359 "libgnome-games-support-" version ".tar.xz"))
f09520db
SB
4360 (sha256
4361 (base32
4c6d15cf 4362 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
f09520db
SB
4363 (build-system gnu-build-system)
4364 (arguments
4365 '(#:phases
4366 (modify-phases %standard-phases
4367 (add-before 'check 'pre-check
4368 (lambda _
865aacc9 4369 ;; Tests require a writable HOME.
f09520db
SB
4370 (setenv "HOME" (getcwd))
4371 #t)))))
4372 (native-inputs
4373 `(("intltool" ,intltool)
4374 ("pkg-config" ,pkg-config)
4375 ("vala" ,vala)))
4376 (propagated-inputs
865aacc9 4377 ;; Required by libgnome-games-support-1.0.pc
f09520db
SB
4378 `(("gtk+" ,gtk+)
4379 ("libgee" ,libgee)))
4380 (home-page "https://www.gnome.org/")
4381 (synopsis "Useful functionality shared among GNOME games")
4382 (description
865aacc9 4383 "libgnome-games-support is a small library intended for internal use by
f09520db
SB
4384GNOME Games, but it may be used by others.")
4385 (license license:lgpl3+)))
4386
b7a3cf11
SB
4387(define-public gnome-klotski
4388 (package
4389 (name "gnome-klotski")
c1e419c4 4390 (version "3.32.0")
b7a3cf11
SB
4391 (source (origin
4392 (method url-fetch)
4393 (uri (string-append "mirror://gnome/sources/" name "/"
4394 (version-major+minor version) "/"
4395 name "-" version ".tar.xz"))
4396 (sha256
4397 (base32
c1e419c4
KK
4398 "1p4s15gxj6gasix22z9vlx2yrx196fvcxr6v6qrl569idfgjbi72"))))
4399 (build-system meson-build-system)
4400 (arguments
4401 '(#:glib-or-gtk? #t
4402 #:phases
4403 (modify-phases %standard-phases
4404 (add-after 'unpack 'skip-gtk-update-icon-cache
4405 ;; Don't create 'icon-theme.cache'.
4406 (lambda _
4407 (substitute* "build-aux/meson_post_install.py"
4408 (("gtk-update-icon-cache") (which "true")))
4409 #t)))))
b7a3cf11
SB
4410 (native-inputs
4411 `(("desktop-file-utils" ,desktop-file-utils)
c1e419c4 4412 ("glib:bin" ,glib "bin") ; for glib-compile-resources
b7a3cf11
SB
4413 ("intltool" ,intltool)
4414 ("itstool" ,itstool)
bcb354ad 4415 ("pkg-config" ,pkg-config)
c1e419c4 4416 ("vala" ,vala)
bcb354ad 4417 ("xmllint" ,libxml2)))
b7a3cf11
SB
4418 (inputs
4419 `(("gtk+" ,gtk+)
f4eae76f 4420 ("libgnome-games-support" ,libgnome-games-support)
b7a3cf11
SB
4421 ("librsvg" ,librsvg)))
4422 (home-page "https://wiki.gnome.org/Apps/Klotski")
4423 (synopsis "Sliding block puzzles")
4424 (description
4425 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4426the patterned block to the area bordered by green markers. To do so, you will
4427need to slide other blocks out of the way. Complete each puzzle in as few moves
4428as possible!")
4429 (license license:gpl2+)))
8d4791bf
MW
4430
4431(define-public grilo
4432 (package
4433 (name "grilo")
a865e938 4434 (version "0.3.10")
8d4791bf
MW
4435 (source
4436 (origin
4437 (method url-fetch)
4438 (uri (string-append "mirror://gnome/sources/" name "/"
4439 (version-major+minor version) "/"
4440 name "-" version ".tar.xz"))
4441 (sha256
4442 (base32
a865e938 4443 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
d48d4c98 4444 (build-system meson-build-system)
8d4791bf
MW
4445 (native-inputs
4446 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4447 ("intltool" ,intltool)
4448 ("pkg-config" ,pkg-config)
d48d4c98
KK
4449 ("gobject-introspection" ,gobject-introspection)
4450 ("gtk-doc" ,gtk-doc)
4451 ("vala" ,vala)))
8d4791bf 4452 (inputs
6d7273a0
KK
4453 `(("cyrus-sasl" ,cyrus-sasl)
4454 ("glib" ,glib)
8d4791bf
MW
4455 ("gtk+" ,gtk+)
4456 ("libxml2" ,libxml2)
6d7273a0 4457 ("liboauth" ,liboauth)
8d4791bf
MW
4458 ("libsoup" ,libsoup)
4459 ("totem-pl-parser" ,totem-pl-parser)))
8d4791bf
MW
4460 (native-search-paths
4461 (list (search-path-specification
4462 (variable "GRL_PLUGIN_PATH")
4463 (files (list (string-append "lib/grilo-"
4464 (version-major+minor version)))))))
d48d4c98 4465 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
8d4791bf
MW
4466 (synopsis "Framework for discovering and browsing media")
4467 (description
4468 "Grilo is a framework focused on making media discovery and browsing easy
4469for application developers.")
4470 (license license:lgpl2.1+)))
7b212526
MW
4471
4472(define-public grilo-plugins
4473 (package
4474 (name "grilo-plugins")
22753632 4475 (version "0.3.3")
7b212526
MW
4476 (source
4477 (origin
4478 (method url-fetch)
4479 (uri (string-append "mirror://gnome/sources/" name "/"
4480 (version-major+minor version) "/"
4481 name "-" version ".tar.xz"))
4482 (sha256
4483 (base32
22753632 4484 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
7b212526
MW
4485 (build-system gnu-build-system)
4486 (native-inputs
4487 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4488 ("intltool" ,intltool)
4489 ("itstool" ,itstool)
4490 ("pkg-config" ,pkg-config)))
4491 (inputs
4492 `(("grilo" ,grilo)
4493 ("glib" ,glib)
4494 ("libxml2" ,libxml2)
4495 ("sqlite" ,sqlite)
4496 ("gom" ,gom)
4497 ;; XXX TODO: Add oauth
4498 ;; XXX TODO: Add goa
4499 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
4500 ;; XXX TODO: Add lua (needs help finding it)
4501 ("json-glib" ,json-glib)
4502 ("avahi" ,avahi)
4503 ("gmime" ,gmime)
4504 ("libsoup" ,libsoup)
4505 ("libarchive" ,libarchive)
4506 ("totem-pl-parser" ,totem-pl-parser)))
4507 (arguments
4508 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
4509 %output
4510 "/lib/grilo-"
4511 ,(version-major+minor version)))
4512 ;; XXX FIXME: Try to get the test suite working. It appears to require
4513 ;; a working system dbus. Inside the build container, all tests fail
4514 ;; with: "assertion failed: (source)". Outside of the build container,
4515 ;; most tests succeed.
4516 #:tests? #f))
f032d0be 4517 (home-page "https://live.gnome.org/Grilo")
7b212526
MW
4518 (synopsis "Plugins for the Grilo media discovery library")
4519 (description
4520 "Grilo is a framework focused on making media discovery and browsing easy
4521for application developers.")
4522 (license license:lgpl2.1+)))
4e3fc547
MW
4523
4524(define-public totem
4525 (package
4526 (name "totem")
995ef5ea 4527 (version "3.32.1")
4e3fc547
MW
4528 (source
4529 (origin
4530 (method url-fetch)
4531 (uri (string-append "mirror://gnome/sources/" name "/"
4532 (version-major+minor version) "/"
4533 name "-" version ".tar.xz"))
4534 (sha256
4535 (base32
995ef5ea 4536 "0yra8apc7smpwf7d1k8crhrm8d4wix24ds6i9yxbch1v11jnhr3v"))))
7ad81b8b 4537 (build-system meson-build-system)
4e3fc547
MW
4538 (native-inputs
4539 `(("pkg-config" ,pkg-config)
4540 ("desktop-file-utils" ,desktop-file-utils)
4541 ("gobject-introspection" ,gobject-introspection)
7ad81b8b 4542 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4e3fc547 4543 ("intltool" ,intltool)
bcb354ad 4544 ("itstool" ,itstool)
995ef5ea
KK
4545 ("xmllint" ,libxml2)
4546 ("python-pylint" ,python-pylint)
4547 ("xorg-server" ,xorg-server-for-tests)))
4e3fc547
MW
4548 (propagated-inputs
4549 `(("dconf" ,dconf)))
4550 (inputs
4551 `(("gtk+" ,gtk+)
4552 ("gdk-pixbuf" ,gdk-pixbuf)
4553 ("atk" ,atk)
4554 ("cairo" ,cairo)
4555 ("dbus-glib" ,dbus-glib)
4556 ("clutter" ,clutter)
4557 ("clutter-gtk" ,clutter-gtk)
4558 ("clutter-gst" ,clutter-gst)
6a6db57f 4559 ("xorgproto" ,xorgproto)
4e3fc547
MW
4560 ("libxxf86vm" ,libxxf86vm)
4561 ("libxtst" ,libxtst)
4562 ("libxrandr" ,libxrandr)
4563 ("libxml2" ,libxml2)
4564 ("libsoup" ,libsoup)
4565 ("libpeas" ,libpeas)
4566 ("librsvg" ,librsvg)
4567 ("lirc" ,lirc)
4568 ("gnome-desktop" ,gnome-desktop)
4569 ("gstreamer" ,gstreamer)
4570 ("gst-plugins-base" ,gst-plugins-base)
4571 ("gst-plugins-good" ,gst-plugins-good)
4572 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4573 ("adwaita-icon-theme" ,adwaita-icon-theme)
d7b63ba9 4574 ("python" ,python)
995ef5ea 4575 ("python-pygobject" ,python-pygobject)
4e3fc547
MW
4576 ("totem-pl-parser" ,totem-pl-parser)
4577 ("grilo" ,grilo)
4578 ("grilo-plugins" ,grilo-plugins)
4e3fc547
MW
4579 ("vala" ,vala)))
4580 (arguments
7ad81b8b
LC
4581 `(#:glib-or-gtk? #t
4582
4583 ;; Disable automatic GStreamer plugin installation via PackageKit and
ec5c24f9 4584 ;; all that.
7ad81b8b 4585 #:configure-flags '("-D" "enable-easy-codec-installation=no"
a388c951
LC
4586
4587 ;; Do not build .a files for the plugins, it's
4588 ;; completely useless. This saves 2 MiB.
7ad81b8b 4589 "--default-library" "shared")
ec5c24f9 4590 #:phases
4e3fc547 4591 (modify-phases %standard-phases
d51b19ad
EF
4592 (add-after 'unpack 'skip-gtk-update-icon-cache
4593 ;; Don't create 'icon-theme.cache'.
4594 (lambda _
4595 (substitute* "meson_post_install.py"
4596 (("gtk-update-icon-cache") "true"))
4597 #t))
6368eb39
DM
4598 (add-before
4599 'install 'disable-cache-generation
4600 (lambda _
4601 (setenv "DESTDIR" "/")
4602 #t))
995ef5ea
KK
4603 (add-before
4604 'check 'pre-check
4605 (lambda _
4606 ;; Tests require a running X server.
4607 (system "Xvfb :1 &")
4608 (setenv "DISPLAY" ":1")
4609 #t))
4e3fc547
MW
4610 (add-after
4611 'install 'wrap-totem
4612 (lambda* (#:key inputs outputs #:allow-other-keys)
4613 (let ((out (assoc-ref outputs "out"))
4614 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4615 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4616 (wrap-program (string-append out "/bin/totem")
4617 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
39c853bd
AW
4618 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4619 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4620 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4e3fc547
MW
4621 #t)))))
4622 (home-page "https://wiki.gnome.org/Apps/Videos")
4623 (synopsis "Simple media player for GNOME based on GStreamer")
4624 (description "Totem is a simple yet featureful media player for GNOME
4625which can read a large number of file formats.")
4626 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4627 ;; to be used and distributed together with GStreamer and Totem. See
4628 ;; file://COPYING in the source distribution for details.
4629 (license license:gpl2+)))
f0afb0c8
DH
4630
4631(define-public rhythmbox
4632 (package
4633 (name "rhythmbox")
8190e1ed 4634 (version "3.4.3")
f0afb0c8
DH
4635 (source (origin
4636 (method url-fetch)
4637 (uri (string-append "mirror://gnome/sources/" name "/"
4638 (version-major+minor version) "/"
4639 name "-" version ".tar.xz"))
4640 (sha256
4641 (base32
8190e1ed 4642 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
f0afb0c8
DH
4643 (build-system glib-or-gtk-build-system)
4644 (arguments
4645 `(#:configure-flags
4646 (list "--enable-lirc"
4647 "--enable-python"
4648 "--enable-vala"
4649 "--with-brasero"
4650 "--with-gudev"
4651 "--with-libsecret")
4652 #:phases
4653 (modify-phases %standard-phases
4654 (add-after
4655 'install 'wrap-rhythmbox
4656 (lambda* (#:key inputs outputs #:allow-other-keys)
4657 (let ((out (assoc-ref outputs "out"))
4658 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4659 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
349cef58
TGR
4660 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4661 (python-path (getenv "PYTHONPATH")))
f0afb0c8
DH
4662 (wrap-program (string-append out "/bin/rhythmbox")
4663 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4664 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
349cef58
TGR
4665 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
4666 `("PYTHONPATH" ":" prefix (,python-path))))
f0afb0c8
DH
4667 #t)))))
4668 (propagated-inputs
4669 `(("dconf" ,dconf)))
4670 (native-inputs
bcb354ad
SB
4671 `(("itstool" ,itstool)
4672 ("intltool" ,intltool)
f0afb0c8
DH
4673 ("glib" ,glib "bin")
4674 ("gobject-introspection" ,gobject-introspection)
4675 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
4676 ("pkg-config" ,pkg-config)
4677 ("xmllint" ,libxml2)))
f0afb0c8
DH
4678 (inputs
4679 `(("json-glib" ,json-glib)
4680 ("tdb" ,tdb)
4681 ("gnome-desktop" ,gnome-desktop)
4682 ("python" ,python)
4683 ("python-pygobject" ,python2-pygobject)
4684 ("vala" ,vala)
4685 ("gmime" ,gmime)
f0afb0c8
DH
4686 ("adwaita-icon-theme" ,adwaita-icon-theme)
4687 ("grilo" ,grilo)
4688 ("grilo-plugins" ,grilo-plugins)
4689 ("gstreamer" ,gstreamer)
4690 ("gst-plugins-base" ,gst-plugins-base)
4691 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 4692 ("totem-pl-parser" ,totem-pl-parser)
ea226291 4693 ("libgudev" ,libgudev)
f0afb0c8
DH
4694 ;;("libmtp" ,libmtp) FIXME: Not detected
4695 ("libsecret" ,libsecret)
4696 ("libsoup" ,libsoup)
4697 ("libnotify" ,libnotify)
4698 ("libpeas" ,libpeas)
4699 ("lirc" ,lirc)
4700 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4701 ;;("clutter" ,clutter)
4702 ;;("clutter-gtk" ,clutter-gtk)
4703 ;;("clutter-gst" ,clutter-gst)
4704 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4705 ("atk" ,atk)
4706 ("pango" ,pango)
4707 ("gtk+" ,gtk+)
4708 ;; TODO:
4709 ;; * libgpod
4710 ;; * mx
f0afb0c8
DH
4711 ("brasero" ,brasero)))
4712 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4713 (synopsis "Music player for GNOME")
4714 (description "Rhythmbox is a music playing application for GNOME. It
4715supports playlists, song ratings, and any codecs installed through gstreamer.")
4716 (license license:gpl2+)))
f70d8383
DH
4717
4718(define-public eog
4719 (package
4720 (name "eog")
b0f24a82 4721 (version "3.32.2")
f70d8383
DH
4722 (source (origin
4723 (method url-fetch)
4724 (uri (string-append "mirror://gnome/sources/" name "/"
4725 (version-major+minor version) "/"
4726 name "-" version ".tar.xz"))
4727 (sha256
4728 (base32
b0f24a82 4729 "1bcxpqgzlk2cy4wfb3b5h66mhpj2fhrk1rrb5qqcv5xrr62ik5xy"))))
61fb581f 4730 (build-system meson-build-system)
f70d8383 4731 (arguments
34c44a34
RW
4732 `(#:configure-flags
4733 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4734 (list (string-append "-Dc_link_args=-Wl,-rpath="
4735 (assoc-ref %outputs "out") "/lib/eog"))
4736 #:phases
f70d8383 4737 (modify-phases %standard-phases
7a034665
EF
4738 (add-after 'unpack 'skip-gtk-update-icon-cache
4739 ;; Don't create 'icon-theme.cache'.
4740 (lambda _
4741 (substitute* "meson_post_install.py"
4742 (("gtk-update-icon-cache") "true"))
4743 #t))
61fb581f
RW
4744 (add-after 'install 'wrap-eog
4745 (lambda* (#:key outputs #:allow-other-keys)
4746 (let ((out (assoc-ref outputs "out"))
4747 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4748 (wrap-program (string-append out "/bin/eog")
4749 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4750 #t)))))
f70d8383
DH
4751 (propagated-inputs
4752 `(("dconf" ,dconf)))
4753 (native-inputs
4754 `(("intltool" ,intltool)
b3546174 4755 ("itstool" ,itstool)
f70d8383
DH
4756 ("glib" ,glib "bin")
4757 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
4758 ("pkg-config" ,pkg-config)
4759 ("xmllint" ,libxml2)))
f70d8383
DH
4760 (inputs
4761 `(("gnome-desktop" ,gnome-desktop)
4762 ("shared-mime-info" ,shared-mime-info)
4763 ("adwaita-icon-theme" ,adwaita-icon-theme)
4764 ("exempi" ,exempi)
4765 ("lcms" ,lcms)
4766 ("libexif" ,libexif)
4767 ("libpeas" ,libpeas)
4768 ("libjpeg" ,libjpeg)
4769 ("librsvg" ,librsvg)
4770 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4771 ("gtk+" ,gtk+)))
4772 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4773 (synopsis "GNOME image viewer")
4774 (description "Eye of GNOME is the GNOME image viewer. It
4775supports image conversion, rotation, and slideshows.")
4776 (license license:gpl2+)))
41af5e7b 4777
0c3f8cb8
LC
4778(define-public eog-plugins
4779 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4780 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4781 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4782 ;; 'XDG_DATA_DIRS' appropriately set.
4783 (package
4784 (name "eog-plugins")
54b74cc6 4785 (version "3.26.4")
0c3f8cb8
LC
4786 (source (origin
4787 (method url-fetch)
f3b88ed2 4788 (uri (string-append "mirror://gnome/sources/eog-plugins/"
0c3f8cb8 4789 (version-major+minor version) "/"
f3b88ed2 4790 "eog-plugins-" version ".tar.xz"))
0c3f8cb8
LC
4791 (sha256
4792 (base32
54b74cc6 4793 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
0c3f8cb8
LC
4794 (build-system gnu-build-system)
4795 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4796 (synopsis "Extensions for the Eye of GNOME image viewer")
4797 (native-inputs
4798 `(("pkg-config" ,pkg-config)
4799 ("gettext" ,gnu-gettext)))
4800 (inputs
4801 `(("eog" ,eog)
4802 ("glib" ,glib)
4803 ("gtk+" ,gtk+)
4804 ("libpeas" ,libpeas)
4805 ("libexif" ,libexif)
4806 ("libchamplain" ,libchamplain)))
4807 (description
4808 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4809notably:
4810
4811@itemize
4812@item @dfn{EXIF Display}, which displays camera (EXIF) information;
4813@item @dfn{Map}, which displays a map of where the picture was taken on the
4814side panel;
4815@item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4816@end itemize\n")
4817
4818 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4819 ;; long suspicious byte stream that goes to a
4820 ;; ".gresource.eog_postasa_plugin" ELF section.
4821 (license license:gpl2+)))
4822
41af5e7b
SB
4823(define-public libgudev
4824 (package
4825 (name "libgudev")
b78f5118 4826 (version "232")
41af5e7b
SB
4827 (source (origin
4828 (method url-fetch)
4829 (uri (string-append "mirror://gnome/sources/" name "/"
4830 version "/" name "-" version ".tar.xz"))
4831 (sha256
4832 (base32
b78f5118 4833 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
41af5e7b 4834 (build-system gnu-build-system)
b78f5118
RW
4835 (arguments
4836 '(#:configure-flags
4837 ;; umockdev depends on libgudev.
4838 (list "--disable-umockdev")))
41af5e7b
SB
4839 (native-inputs
4840 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4841 ("gobject-introspection" ,gobject-introspection)
4842 ("pkg-config" ,pkg-config)))
4843 (propagated-inputs
4844 `(("glib" ,glib))) ; required by gudev-1.0.pc
4845 (inputs
4846 `(("udev" ,eudev)))
4847 (home-page "https://wiki.gnome.org/Projects/libgudev")
4848 (synopsis "GObject bindings for libudev")
4849 (description
4850 "This library provides GObject bindings for libudev. It was originally
4851part of udev-extras, then udev, then systemd. It's now a project on its own.")
4852 (license license:lgpl2.1+)))
3dc8828f
SB
4853
4854(define-public gvfs
4855 (package
4856 (name "gvfs")
12fe4846 4857 (version "1.40.1")
3dc8828f
SB
4858 (source (origin
4859 (method url-fetch)
1d68eb32 4860 (uri (string-append "mirror://gnome/sources/gvfs/"
3dc8828f 4861 (version-major+minor version) "/"
1d68eb32 4862 "gvfs-" version ".tar.xz"))
3dc8828f
SB
4863 (sha256
4864 (base32
12fe4846 4865 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
e762d943 4866 (build-system meson-build-system)
3dc8828f 4867 (arguments
e762d943
RW
4868 '(#:glib-or-gtk? #t
4869 #:configure-flags
4870 (list "-Dsystemduserunitdir=no"
4871 "-Dtmpfilesdir=no"
4872 ;; Otherwise, the RUNPATH will lack the final path component.
4873 (string-append "-Dc_link_args=-Wl,-rpath="
4874 (assoc-ref %outputs "out") "/lib/gvfs"))))
3dc8828f
SB
4875 (native-inputs
4876 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
0ab9f949
RW
4877 ("gettext" ,gettext-minimal)
4878 ("gtk-doc" ,gtk-doc)
3dc8828f
SB
4879 ("pkg-config" ,pkg-config)
4880 ("xsltproc" ,libxslt)))
4881 (inputs
4882 `(("avahi" ,avahi)
4883 ("docbook-xml" ,docbook-xml-4.2)
4884 ("docbook-xsl" ,docbook-xsl)
4885 ("dbus" ,dbus)
e762d943 4886 ("elogind" ,elogind)
3dc8828f 4887 ("fuse" ,fuse)
24a78aa6 4888 ("gcr" ,gcr)
3dc8828f 4889 ("glib" ,glib)
e762d943 4890 ("gnome-online-accounts" ,gnome-online-accounts)
3dc8828f
SB
4891 ("libarchive" ,libarchive)
4892 ("libbluray" ,libbluray)
8852ca24 4893 ("libcap" ,libcap)
3dc8828f
SB
4894 ("libcdio-paranoia" ,libcdio-paranoia)
4895 ("libgcrypt" ,libgcrypt)
e762d943 4896 ("libgdata" ,libgdata)
3dc8828f
SB
4897 ("libgphoto2" ,libgphoto2)
4898 ("libgudev" ,libgudev)
0ab9f949 4899 ("libimobiledevice" ,libimobiledevice)
3dc8828f 4900 ("libmtp" ,libmtp)
e762d943 4901 ("libnfs" ,libnfs)
3dc8828f
SB
4902 ("libsecret" ,libsecret)
4903 ("libsmbclient" ,samba)
4904 ("libsoup" ,libsoup)
4905 ("libxml2" ,libxml2)
e762d943 4906 ("openssh" ,openssh)
8852ca24 4907 ("polkit" ,polkit)
3dc8828f
SB
4908 ("udisks" ,udisks)))
4909 (home-page "https://wiki.gnome.org/gvfs/")
8f65585b 4910 (synopsis "Userspace virtual file system for GIO")
3dc8828f 4911 (description
8f65585b 4912 "GVFS is a userspace virtual file system designed to work with the I/O
3dc8828f
SB
4913abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4914to all applications using the GIO API. It also supports exposing the GVFS
4915mounts to non-GIO applications using FUSE.
4916
4917GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4918DAV, and others.")
4919 (license license:lgpl2.0+)))
7c88b6bd
AW
4920
4921(define-public gusb
4922 (package
4923 (name "gusb")
536b3274 4924 (version "0.3.0")
7c88b6bd 4925 (source (origin
bbfb36f9
EF
4926 (method git-fetch)
4927 (uri (git-reference
4928 (url "https://github.com/hughsie/libgusb.git")
4929 (commit version)))
4930 (file-name (git-file-name name version))
7c88b6bd
AW
4931 (sha256
4932 (base32
bbfb36f9 4933 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
536b3274 4934 (build-system meson-build-system)
7c88b6bd 4935 (native-inputs
536b3274 4936 `(("gobject-introspection" ,gobject-introspection)
7c88b6bd
AW
4937 ("pkg-config" ,pkg-config)
4938 ("vala" ,vala)
7c88b6bd
AW
4939 ("gtk-doc" ,gtk-doc)))
4940 (propagated-inputs
4941 ;; Both of these are required by gusb.pc.
4942 `(("glib" ,glib)
4943 ("libusb" ,libusb)))
4944 (arguments
536b3274 4945 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
8f1640ed 4946 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 4947 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
4948 (description
4949 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4950asynchronous control, bulk and interrupt transfers with proper cancellation
4951and integration into a mainloop. This makes it easy to integrate low level
4952USB transfers with your high-level application or system daemon.")
4953 (license license:lgpl2.1+)))
0abe1d86
AW
4954
4955(define-public simple-scan
4956 (package
4957 (name "simple-scan")
4afb7dd9 4958 (version "3.34.2")
d9f6d587
TGR
4959 (source
4960 (origin
4961 (method url-fetch)
4962 (uri (string-append "mirror://gnome/sources/simple-scan/"
4963 (version-major+minor version) "/"
4964 "simple-scan-" version ".tar.xz"))
4965 (sha256
4afb7dd9 4966 (base32 "1fk3g4f9slckqfwm576jrjq1d1qihw0dlgzdf00ns7qbhzb0kxsp"))))
d9f6d587
TGR
4967 (build-system meson-build-system)
4968 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
4969 (arguments
4970 '(#:glib-or-gtk? #t))
0abe1d86
AW
4971 (inputs
4972 `(("gtk" ,gtk+)
4973 ("zlib" ,zlib)
4974 ("cairo" ,cairo)
c501f592 4975 ("colord" ,colord)
0abe1d86
AW
4976 ("gdk-pixbuf" ,gdk-pixbuf)
4977 ("gusb" ,gusb)
4c928743 4978 ("libsane" ,sane-backends)))
0abe1d86 4979 (native-inputs
b94a6ca0 4980 `(("gettext" ,gettext-minimal)
0abe1d86 4981 ("itstool" ,itstool)
c501f592 4982 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
0abe1d86 4983 ("pkg-config" ,pkg-config)
bcb354ad
SB
4984 ("vala" ,vala)
4985 ("xmllint" ,libxml2)))
dff0eedb 4986 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
0abe1d86 4987 (synopsis "Document and image scanner")
d9f6d587
TGR
4988 (description
4989 "Document Scanner is an easy-to-use application that lets you connect your
4990scanner and quickly capture images and documents in an appropriate format. It
4991supports any scanner for which a suitable SANE driver is available, which is
4992almost all of them.")
0abe1d86 4993 (license license:gpl3+)))
7549f984 4994
ab466d79
RW
4995(define-public eolie
4996 (package
4997 (name "eolie")
fa8ef3ed 4998 (version "0.9.63")
ab466d79
RW
4999 (source (origin
5000 (method url-fetch)
00014781 5001 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
fa8ef3ed 5002 "uploads/d42b466752729a0d3fa828a721e25043/"
00014781 5003 "eolie-" version ".tar.xz"))
ab466d79
RW
5004 (sha256
5005 (base32
fa8ef3ed 5006 "11pp8g0w22h1q0bbj9517l5838gcymvvp8fp9kh6h2dmgir2ssih"))))
00014781 5007 (build-system meson-build-system)
ab466d79 5008 (arguments
00014781
RW
5009 `(#:glib-or-gtk? #t
5010 #:phases
ab466d79 5011 (modify-phases %standard-phases
f0c68100
EF
5012 (add-after 'unpack 'skip-gtk-update-icon-cache
5013 ;; Don't create 'icon-theme.cache'.
5014 (lambda _
5015 (substitute* "meson_post_install.py"
5016 (("gtk-update-icon-cache") "true"))
5017 #t))
ab466d79
RW
5018 (add-after 'wrap 'wrap-more
5019 (lambda* (#:key inputs outputs #:allow-other-keys)
5020 (let* ((out (assoc-ref outputs "out"))
5021 ;; These libraries must be on LD_LIBRARY_PATH.
5022 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
5023 "atk" "gtk+" "gsettings-desktop-schemas"
5024 "gobject-introspection"))
5025 (path (string-join
5026 (map (lambda (lib)
5027 (string-append (assoc-ref inputs lib) "/lib"))
5028 libs)
5029 ":")))
5030 (wrap-program (string-append out "/bin/eolie")
5031 `("LD_LIBRARY_PATH" ":" prefix (,path))
5032 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5033 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5034 #t)))))
5035 (native-inputs
f85ca6ed 5036 `(("intltool" ,intltool)
ab466d79 5037 ("itstool" ,itstool)
d95f1041 5038 ("pkg-config" ,pkg-config)
d95f1041 5039 ("python" ,python)
f0c68100 5040 ("glib:bin" ,glib "bin")))
ab466d79
RW
5041 (inputs
5042 `(("gobject-introspection" ,gobject-introspection)
5043 ("glib-networking" ,glib-networking)
5044 ("cairo" ,cairo)
5045 ("gtk+" ,gtk+)
5046 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5047 ("python" ,python-wrapper)
d72f76df 5048 ("python-dateutil" ,python-dateutil)
00014781 5049 ("python-pyfxa" ,python-pyfxa)
ab466d79
RW
5050 ("python-pygobject" ,python-pygobject)
5051 ("python-pycairo" ,python-pycairo)
00014781 5052 ("python-pycrypto" ,python-pycrypto)
ab466d79
RW
5053 ("libsecret" ,libsecret)
5054 ("gtkspell3" ,gtkspell3)
5055 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
f85ca6ed 5056 ("webkitgtk" ,webkitgtk)))
166b2c97 5057 (home-page "https://wiki.gnome.org/Apps/Eolie")
ab466d79
RW
5058 (synopsis "Web browser for GNOME")
5059 (description
5060 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5061a secret password store, an adblocker, and a modern UI.")
5062 (license license:gpl3+)))
5063
7549f984
SB
5064(define-public epiphany
5065 (package
5066 (name "epiphany")
60680365 5067 (version "3.32.5")
7549f984
SB
5068 (source (origin
5069 (method url-fetch)
dd3266ec 5070 (uri (string-append "mirror://gnome/sources/epiphany/"
7549f984 5071 (version-major+minor version) "/"
dd3266ec 5072 "epiphany-" version ".tar.xz"))
7549f984
SB
5073 (sha256
5074 (base32
60680365 5075 "1hj4yy53fwh96h17cqiw3gxc070vmc7yqwc7phvhnpyinkp9g5my"))))
fc5c5b92
R
5076
5077 (build-system meson-build-system)
7549f984
SB
5078 (arguments
5079 ;; FIXME: tests run under Xvfb, but fail with:
5080 ;; /src/bookmarks/ephy-bookmarks/create:
5081 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
5082 ;; subsystem
5083 ;; FAIL
6f48d9db 5084 '(#:tests? #f
e19f9c24 5085 #:glib-or-gtk? #t
bb7ff88f
EF
5086 #:phases
5087 (modify-phases %standard-phases
5088 (add-after 'unpack 'skip-gtk-update-icon-cache
5089 ;; Don't create 'icon-theme.cache'.
5090 (lambda _
5091 (substitute* "post_install.py"
5092 (("gtk-update-icon-cache") "true"))
5093 #t)))
e19f9c24
LF
5094 #:configure-flags
5095 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5096 (list (string-append "-Dc_link_args=-Wl,-rpath="
5097 (assoc-ref %outputs "out") "/lib/epiphany"))))
80a747c4
SB
5098 (propagated-inputs
5099 `(("dconf" ,dconf)))
7549f984 5100 (native-inputs
fc5c5b92
R
5101 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5102 ("glib:bin" ,glib "bin") ; for glib-mkenums
fc5c5b92 5103 ("intltool" ,intltool)
7549f984 5104 ("itstool" ,itstool)
bcb354ad
SB
5105 ("pkg-config" ,pkg-config)
5106 ("xmllint" ,libxml2)))
7549f984
SB
5107 (inputs
5108 `(("avahi" ,avahi)
5109 ("gcr" ,gcr)
fc5c5b92 5110 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
7549f984
SB
5111 ("glib-networking" ,glib-networking)
5112 ("gnome-desktop" ,gnome-desktop)
5113 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
eb6f315b 5114 ("json-glib" ,json-glib)
7549f984 5115 ("iso-codes" ,iso-codes)
8748e29c 5116 ("libdazzle" ,libdazzle)
7549f984
SB
5117 ("libnotify" ,libnotify)
5118 ("libsecret" ,libsecret)
7549f984 5119 ("libxslt" ,libxslt)
fc5c5b92 5120 ("nettle" ,nettle) ; for hogweed
7549f984 5121 ("sqlite" ,sqlite)
f85ca6ed 5122 ("webkitgtk" ,webkitgtk)))
7549f984
SB
5123 (home-page "https://wiki.gnome.org/Apps/Web")
5124 (synopsis "GNOME web browser")
5125 (description
5126 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5127principles are simplicity and standards compliance.")
5128 (license license:gpl2+)))
a3856b2c
SB
5129
5130(define-public d-feet
5131 (package
5132 (name "d-feet")
458e9221 5133 (version "0.3.14")
a3856b2c
SB
5134 (source (origin
5135 (method url-fetch)
5136 (uri (string-append "mirror://gnome/sources/" name "/"
5137 (version-major+minor version) "/"
5138 name "-" version ".tar.xz"))
5139 (sha256
5140 (base32
458e9221 5141 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
a3856b2c
SB
5142 (build-system glib-or-gtk-build-system)
5143 (arguments
5144 '(#:out-of-source? #f ; tests need to run in the source directory.
5145 #:phases
5146 (modify-phases %standard-phases
5147 (add-before
5148 'check 'pre-check
86aff791 5149 (lambda _
a3856b2c
SB
5150 ;; The test suite requires a running X server.
5151 (system "Xvfb :1 &")
5152 (setenv "DISPLAY" ":1")
5153 ;; Don't fail on missing '/etc/machine-id'.
5154 (setenv "DBUS_FATAL_WARNINGS" "0")
5155 ;; tests.py and window.py don't meet E402:
5156 ;; E402 module level import not at top of file
5157 (substitute* "src/tests/Makefile"
86aff791
MW
5158 (("--ignore=E123") "--ignore=E123,E402"))
5159 #t))
a3856b2c
SB
5160 (add-after
5161 'install 'wrap-program
5162 (lambda* (#:key outputs #:allow-other-keys)
5163 (let ((prog (string-append (assoc-ref outputs "out")
5164 "/bin/d-feet")))
5165 (wrap-program prog
5166 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
5167 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5168 #t))))))
a3856b2c
SB
5169 (native-inputs
5170 `(("intltool" ,intltool)
5171 ("itstool" ,itstool)
5172 ("pkg-config" ,pkg-config)
5173 ("python-pep8" ,python-pep8)
5174 ("xmllint" ,libxml2)
ff337525 5175 ("xorg-server" ,xorg-server-for-tests)))
a3856b2c
SB
5176 (inputs
5177 `(("gobject-introspection" ,gobject-introspection)
5178 ("gtk+" ,gtk+)
5179 ("python" ,python-wrapper)
458e9221 5180 ("hicolor-icon-theme" ,hicolor-icon-theme)
a3856b2c
SB
5181 ("python-pygobject" ,python-pygobject)))
5182 (home-page "https://wiki.gnome.org/Apps/DFeet")
5183 (synopsis "D-Bus debugger")
5184 (description
5185 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5186of running programs and invoke methods on those interfaces.")
5187 (license license:gpl2+)))
c3b97bd9
SB
5188
5189(define-public yelp-xsl
5190 (package
5191 (name "yelp-xsl")
b3640e79 5192 (version "3.32.1")
c3b97bd9
SB
5193 (source (origin
5194 (method url-fetch)
5195 (uri (string-append "mirror://gnome/sources/" name "/"
5196 (version-major+minor version) "/"
5197 name "-" version ".tar.xz"))
5198 (sha256
5199 (base32
b3640e79 5200 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
c3b97bd9
SB
5201 (build-system gnu-build-system)
5202 (native-inputs
5203 `(("intltool" ,intltool)
5204 ("itstool" ,itstool)
5205 ("xmllint" ,libxml2)))
5206 (home-page "https://wiki.gnome.org/Apps/Yelp")
5207 (synopsis "XSL stylesheets for Yelp")
5208 (description
5209 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5210to format Docbook and Mallard documents.")
5211 (license license:gpl2+)))
de3d612a
SB
5212
5213(define-public yelp
5214 (package
5215 (name "yelp")
1f1b6d60 5216 (version "3.32.2")
de3d612a
SB
5217 (source (origin
5218 (method url-fetch)
5219 (uri (string-append "mirror://gnome/sources/" name "/"
5220 (version-major+minor version) "/"
5221 name "-" version ".tar.xz"))
5222 (sha256
5223 (base32
1f1b6d60 5224 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
de3d612a
SB
5225 (build-system glib-or-gtk-build-system)
5226 (native-inputs
5227 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5228 ("intltool" ,intltool)
5229 ("itstool" ,itstool)
5230 ("pkg-config" ,pkg-config)))
5231 (propagated-inputs
5232 `(("dconf" ,dconf)))
5233 (inputs
ad1b7d8b
SB
5234 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5235 ("libxslt" ,libxslt)
de3d612a 5236 ("sqlite" ,sqlite)
4c28ca1d
SB
5237 ("webkitgtk" ,webkitgtk)
5238 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
5239 (home-page "https://wiki.gnome.org/Apps/Yelp")
5240 (synopsis "GNOME help browser")
5241 (description
5242 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5243man, info, and HTML documents. It can locate documents according to the
5244freedesktop.org help system specification.")
5245 (license license:gpl2+)))
122d0d10
SB
5246
5247(define-public yelp-tools
5248 (package
5249 (name "yelp-tools")
2089bca5 5250 (version "3.28.0")
122d0d10
SB
5251 (source (origin
5252 (method url-fetch)
5253 (uri (string-append "mirror://gnome/sources/" name "/"
5254 (version-major+minor version) "/"
5255 name "-" version ".tar.xz"))
5256 (sha256
5257 (base32
2089bca5 5258 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
122d0d10
SB
5259 (build-system gnu-build-system)
5260 (native-inputs
5261 `(("pkg-config" ,pkg-config)))
5262 (propagated-inputs
5263 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5264 `(("itstool" ,itstool)
5265 ("xmllint" ,libxml2)
5266 ("xsltproc" ,libxslt)))
5267 (inputs
5268 `(("yelp-xsl" ,yelp-xsl)))
5269 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5270 (synopsis "Yelp documentation tools")
5271 (description
5272 "Yelp-tools is a collection of scripts and build utilities to help create,
5273manage, and publish documentation for Yelp and the web. Most of the heavy
5274lifting is done by packages like yelp-xsl and itstool. This package just
5275wraps things up in a developer-friendly way.")
5276 (license license:gpl2+)))
af8f9f23 5277
4ed041d9
MB
5278(define-public yelp-tools/fixed
5279 ;; This variant fixes a python-libxml2 crash when processing UTF-8
5280 ;; sequences: <https://bugs.gnu.org/37468>. TODO: Remove this in
5281 ;; the next rebuild cycle.
5282 (hidden-package
5283 (package/inherit
5284 yelp-tools
5285 (propagated-inputs
5286 `(("itstool" ,itstool/fixed)
5287 ,@(alist-delete "itstool" (package-propagated-inputs yelp-tools)))))))
5288
af8f9f23
RW
5289(define-public libgee
5290 (package
5291 (name "libgee")
4c2c5ae6 5292 (version "0.20.2")
af8f9f23
RW
5293 (source (origin
5294 (method url-fetch)
84a1b007 5295 (uri (string-append "mirror://gnome/sources/libgee/"
af8f9f23 5296 (version-major+minor version) "/"
84a1b007 5297 "libgee-" version ".tar.xz"))
af8f9f23
RW
5298 (sha256
5299 (base32
4c2c5ae6 5300 "0g1mhl7nidg82v4cikkk8dakzc18hg7wv0dsf2pbyijzfm5mq0wy"))))
af8f9f23
RW
5301 (build-system gnu-build-system)
5302 (arguments
5303 `(#:phases
5304 (modify-phases %standard-phases
5305 (add-after 'unpack 'fix-introspection-install-dir
5306 (lambda* (#:key outputs #:allow-other-keys)
5307 (let ((out (assoc-ref outputs "out")))
5308 (substitute* "gee/Makefile.in"
5309 (("@INTROSPECTION_GIRDIR@")
5310 (string-append out "/share/gir-1.0/"))
5311 (("@INTROSPECTION_TYPELIBDIR@")
5312 (string-append out "/lib/girepository-1.0/")))))))))
5313 (native-inputs
5314 `(("glib" ,glib "bin")
5315 ("pkg-config" ,pkg-config)))
5316 (inputs
5317 `(("glib" ,glib)
5318 ("gobject-introspection" ,gobject-introspection)))
5319 (home-page "https://wiki.gnome.org/Projects/Libgee")
5320 (synopsis "GObject collection library")
5321 (description
5322 "Libgee is a utility library providing GObject-based interfaces and
5323classes for commonly used data structures.")
5324 (license license:lgpl2.1+)))
b0f9c4b8
RW
5325
5326(define-public gexiv2
5327 (package
5328 (name "gexiv2")
b1a8b408 5329 (version "0.12.0")
b0f9c4b8
RW
5330 (source (origin
5331 (method url-fetch)
5332 (uri (string-append "mirror://gnome/sources/" name "/"
5333 (version-major+minor version) "/"
5334 name "-" version ".tar.xz"))
5335 (sha256
5336 (base32
b1a8b408 5337 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
51c482e4 5338 (build-system meson-build-system)
b0f9c4b8 5339 (native-inputs
b1a8b408
KK
5340 `(("gcr" ,gcr)
5341 ("glib" ,glib "bin")
5342 ("pkg-config" ,pkg-config)
5343 ("vala" ,vala)))
b0f9c4b8
RW
5344 (propagated-inputs
5345 ;; Listed in "Requires" section of gexiv2.pc
5346 `(("exiv2" ,exiv2)))
5347 (inputs
5348 `(("glib" ,glib)
5349 ("gobject-introspection" ,gobject-introspection)))
5350 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5351 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5352 (description
5353 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5354allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5355metadata in photo and video files of various formats.")
5356 (license license:gpl2+)))
fed5a689
RW
5357
5358(define-public shotwell
5359 (package
5360 (name "shotwell")
a1c6fb52 5361 (version "0.30.7")
fed5a689
RW
5362 (source (origin
5363 (method url-fetch)
5497d682 5364 (uri (string-append "mirror://gnome/sources/shotwell/"
fed5a689 5365 (version-major+minor version) "/"
5497d682 5366 "shotwell-" version ".tar.xz"))
fed5a689
RW
5367 (sha256
5368 (base32
a1c6fb52 5369 "1m9i8r4gyd2hzlxjjwfyck4kz7gdg2vz2k6l6d0ga9hdfq2l4p9l"))))
3b79afa6
KK
5370 (build-system meson-build-system)
5371 (arguments
5a0beca3
EF
5372 '(#:glib-or-gtk? #t
5373 #:phases
5374 (modify-phases %standard-phases
5375 (add-after 'unpack 'skip-gtk-update-icon-cache
5376 (lambda _
5377 (substitute* "build-aux/meson/postinstall.py"
5378 (("gtk-update-icon-cache") (which "true"))
5379 (("update-desktop-database") (which "true")))
5380 #t)))))
735b8db6
TGR
5381 (propagated-inputs
5382 `(("dconf" ,dconf)))
fed5a689 5383 (native-inputs
5a0beca3
EF
5384 `(("gettext" ,gettext-minimal)
5385 ("glib:bin" ,glib "bin")
735b8db6 5386 ("itstool" ,itstool)
3b79afa6 5387 ("pkg-config" ,pkg-config)
735b8db6 5388 ("vala" ,vala)))
fed5a689 5389 (inputs
5a0beca3
EF
5390 `(("gcr" ,gcr)
5391 ("gexiv2" ,gexiv2)
fed5a689 5392 ("gst-plugins-base" ,gst-plugins-base)
5a0beca3
EF
5393 ("gstreamer" ,gstreamer)
5394 ("json-glib" ,json-glib)
dfb0323d 5395 ("libgdata" ,libgdata)
fed5a689 5396 ("libgee" ,libgee)
5a0beca3
EF
5397 ("libgphoto2" ,libgphoto2)
5398 ("libgudev" ,libgudev)
fed5a689 5399 ("libraw" ,libraw)
fed5a689
RW
5400 ("libsoup" ,libsoup)
5401 ("libxml2" ,libxml2)
5a0beca3
EF
5402 ("sqlite" ,sqlite)
5403 ("webkitgtk" ,webkitgtk)))
fed5a689
RW
5404 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5405 (synopsis "Photo manager for GNOME 3")
5406 (description
5407 "Shotwell is a digital photo manager designed for the GNOME desktop
5408environment. It allows you to import photos from disk or camera, organize
5409them by keywords and events, view them in full-window or fullscreen mode, and
5410share them with others via social networking and more.")
5411 (license license:lgpl2.1+)))
293ff8b2
DT
5412
5413(define-public file-roller
5414 (package
5415 (name "file-roller")
dcae4270 5416 (version "3.32.3")
293ff8b2
DT
5417 (source (origin
5418 (method url-fetch)
f89a27c6 5419 (uri (string-append "mirror://gnome/sources/file-roller/"
293ff8b2 5420 (version-major+minor version) "/"
f89a27c6 5421 "file-roller-" version ".tar.xz"))
293ff8b2
DT
5422 (sha256
5423 (base32
dcae4270 5424 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
0a500745 5425 (build-system meson-build-system)
293ff8b2 5426 (native-inputs
0a500745
RW
5427 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5428 ("intltool" ,intltool)
4c96e5d1 5429 ("itstool" ,itstool)
0a500745
RW
5430 ("pkg-config" ,pkg-config)
5431 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5432 ("glib:bin" ,glib "bin")))
293ff8b2
DT
5433 ;; TODO: Add libnautilus.
5434 (inputs
5435 `(("gtk+" ,gtk+)
5436 ("gdk-pixbuf" ,gdk-pixbuf)
5437 ("json-glib" ,json-glib)
5438 ("libarchive" ,libarchive)
5439 ("libnotify" ,libnotify)
4c96e5d1 5440 ("nettle" ,nettle)
293ff8b2
DT
5441 ("libxml2" ,libxml2)))
5442 (synopsis "Graphical archive manager for GNOME")
5443 (description "File Roller is an archive manager for the GNOME desktop
5444environment that allows users to view, unpack, and create compressed archives
5445such as gzip tarballs.")
5446 (home-page "http://fileroller.sourceforge.net/")
5447 (license license:gpl2+)))
7ce49365
SB
5448
5449(define-public gnome-session
5450 (package
5451 (name "gnome-session")
1fc2ec79 5452 (version "3.32.0")
7ce49365
SB
5453 (source (origin
5454 (method url-fetch)
5455 (uri (string-append "mirror://gnome/sources/" name "/"
5456 (version-major+minor version) "/"
5457 name "-" version ".tar.xz"))
5458 (sha256
5459 (base32
1fc2ec79 5460 "0zrzkpd406i159mla7bfs5npa32fgqh66aip1rfq02rgsgmc9m5v"))))
2914af3c 5461 (arguments
df278071
RW
5462 '(#:glib-or-gtk? #t
5463 #:phases
2914af3c
AW
5464 (modify-phases %standard-phases
5465 (add-before 'configure 'pre-configure
5466 (lambda* (#:key outputs #:allow-other-keys)
5467 ;; Use elogind instead of systemd.
df278071
RW
5468 (substitute* "meson.build"
5469 (("libsystemd-login") "libelogind")
5470 (("and libsystemd_daemon_dep.found.*") ","))
2914af3c
AW
5471 (substitute* "gnome-session/gsm-systemd.c"
5472 (("#include <systemd/sd-login.h>")
5473 "#include <elogind/sd-login.h>"))
df278071 5474 ;; Remove uses of the systemd daemon.
803ab416
SB
5475 (substitute* "gnome-session/gsm-autostart-app.c"
5476 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
5477 #t))
5478 (add-after 'install 'wrap-gnome-session
5479 (lambda* (#:key inputs outputs #:allow-other-keys)
5480 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5481 (let ((glib (assoc-ref inputs "glib:bin"))
5482 (out (assoc-ref outputs "out")))
5483 (wrap-program (string-append out "/bin/gnome-session")
5484 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5485 #t))))
6cbc8d57 5486
2914af3c 5487 #:configure-flags
df278071
RW
5488 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5489 "-Dman=false" ; FIXME: disabled because of docbook validation error
5490 "-Dsystemd_journal=false")))
5491 (build-system meson-build-system)
7ce49365
SB
5492 (native-inputs
5493 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5494 ("pkg-config" ,pkg-config)
5495 ("intltool" ,intltool)
df278071
RW
5496 ("xsltproc" ,libxslt)
5497 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5498 ("docbook-xsl" ,docbook-xsl)
5499 ("docbook-xml" ,docbook-xml)
5500 ("xmlto" ,xmlto)))
7ce49365 5501 (inputs
2914af3c
AW
5502 `(("elogind" ,elogind)
5503 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 5504 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
5505 ("gtk+" ,gtk+)
5506 ("json-glib" ,json-glib)
5507 ("libsm" ,libsm)
5508 ("libxcomposite" ,libxcomposite)
5509 ("libxtst" ,libxtst)
5510 ("mesa" ,mesa)
5511 ("upower" ,upower)
5512 ("xtrans" ,xtrans)))
5513 (synopsis "Session manager for GNOME")
5514 (description
5515 "This package contains the GNOME session manager, as well as a
5516configuration program to choose applications starting on login.")
5517 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5518 (license license:gpl2+)))
f47ba77e
SB
5519
5520(define-public gjs
5521 (package
5522 (name "gjs")
d054fbf5 5523 (version "1.56.2")
f47ba77e
SB
5524 (source (origin
5525 (method url-fetch)
5526 (uri (string-append "mirror://gnome/sources/" name "/"
5527 (version-major+minor version) "/"
5528 name "-" version ".tar.xz"))
5529 (sha256
5530 (base32
d054fbf5 5531 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
f47ba77e
SB
5532 (build-system gnu-build-system)
5533 (arguments
5534 '(#:phases
5535 (modify-phases %standard-phases
5536 (add-before
5537 'check 'pre-check
5538 (lambda _
fc119619
MW
5539 ;; The test suite requires a running X server.
5540 (system "Xvfb :1 &")
5541 (setenv "DISPLAY" ":1")
5542
f47ba77e
SB
5543 ;; For the missing /etc/machine-id.
5544 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07 5545
144f94d0
KK
5546 ;; Our mozjs-38 package does not compile the required Intl API
5547 ;; support for these failing tests.
5548 (substitute* "installed-tests/js/testLocale.js"
5549 ((".*toBeDefined.*") "")
5550 ((".*expect\\(datestr\\).*") ""))
d054fbf5
KK
5551 (substitute* "installed-tests/scripts/testCommandLine.sh"
5552 (("Valentín") "")
5553 (("☭") ""))
f47ba77e
SB
5554 #t)))))
5555 (native-inputs
8a831c6f 5556 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
f47ba77e
SB
5557 ("pkg-config" ,pkg-config)
5558 ("xmllint" ,libxml2)
5559 ;; For testing
5560 ("dbus-launch" ,dbus)
5561 ("uuidgen" ,util-linux)
ebebee94 5562 ("xvfb" ,xorg-server-for-tests)))
f47ba77e
SB
5563 (propagated-inputs
5564 ;; These are all in the Requires.private field of gjs-1.0.pc.
144f94d0
KK
5565 `(("cairo" ,cairo)
5566 ("gobject-introspection" ,gobject-introspection)
d054fbf5 5567 ("mozjs" ,mozjs-60)))
f47ba77e
SB
5568 (inputs
5569 `(("gtk+" ,gtk+)
5570 ("readline" ,readline)))
5571 (synopsis "Javascript bindings for GNOME")
f032d0be 5572 (home-page "https://live.gnome.org/Gjs")
f47ba77e
SB
5573 (description
5574 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5575javascript engine and the GObject introspection framework.")
5576 (license license:gpl2+)))
329d731b
DH
5577
5578(define-public gedit
5579 (package
5580 (name "gedit")
480c9226 5581 (version "3.32.2")
329d731b
DH
5582 (source (origin
5583 (method url-fetch)
5584 (uri (string-append "mirror://gnome/sources/" name "/"
5585 (version-major+minor version) "/"
5586 name "-" version ".tar.xz"))
5587 (sha256
5588 (base32
480c9226
KK
5589 "1q2rk7fym542c7k3bn2wlnzgy384gxacbifsjny0spbg95gfybvl"))))
5590 (build-system meson-build-system)
329d731b 5591 (arguments
480c9226
KK
5592 `(#:glib-or-gtk? #t
5593 #:configure-flags
5594 ;; Otherwise, the RUNPATH will lack the final path component.
5595 (list (string-append "-Dc_link_args=-Wl,-rpath="
5596 (assoc-ref %outputs "out") "/lib/gedit"))
d9b4022c
LC
5597
5598 ;; XXX: Generated .h files are sometimes used before being built.
5599 #:parallel-build? #f
5600
480c9226 5601 #:phases
329d731b 5602 (modify-phases %standard-phases
480c9226
KK
5603 (add-after 'unpack 'skip-gtk-update-icon-cache
5604 ;; Don't create 'icon-theme.cache'.
5605 (lambda _
5606 (substitute* "build-aux/meson/post_install.py"
5607 (("gtk-update-icon-cache") (which "true")))
5608 #t))
5609 (add-after 'unpack 'patch-libgd-fetch
5610 (lambda* (#:key inputs #:allow-other-keys)
5611 (let ((libgd (assoc-ref inputs "libgd")))
5612 ;; Calling git is unnecessary because libgd is fetched as a
5613 ;; native input to this package.
5614 (substitute* "meson.build"
5615 ((".*git.*") ""))
5616 (copy-recursively libgd "subprojects/libgd")
5617 #t)))
5618 (add-after 'install 'wrap-gedit
5619 (lambda* (#:key inputs outputs #:allow-other-keys)
5620 (let ((out (assoc-ref outputs "out"))
5621 (gtksourceview (assoc-ref inputs "gtksourceview"))
5622 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5623 (python-path (getenv "PYTHONPATH")))
5624 (wrap-program (string-append out "/bin/gedit")
5625 ;; For plugins.
5626 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5627 `("PYTHONPATH" ":" prefix (,python-path))
5628 ;; For language-specs.
5629 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5630 "/share")))))
5631 #t)))))
329d731b
DH
5632 (propagated-inputs
5633 `(("dconf" ,dconf)))
5634 (native-inputs
480c9226
KK
5635 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5636 ("intltool" ,intltool)
b3546174 5637 ("itstool" ,itstool)
480c9226 5638 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
329d731b 5639 ("gobject-introspection" ,gobject-introspection)
480c9226
KK
5640 ("libgd"
5641 ,(origin
5642 (method git-fetch)
5643 (uri (git-reference
5644 (url "https://gitlab.gnome.org/GNOME/libgd")
5645 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
5646 (file-name (git-file-name "libgd" version))
5647 (sha256
5648 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
329d731b
DH
5649 ("pkg-config" ,pkg-config)))
5650 (inputs
5651 `(("glib" ,glib)
0d2df50c 5652 ("gspell" ,gspell)
329d731b 5653 ("gtk+" ,gtk+)
480c9226 5654 ("gtksourceview" ,gtksourceview)
329d731b
DH
5655 ("libpeas" ,libpeas)
5656 ("libxml2" ,libxml2)
329d731b
DH
5657 ("iso-codes" ,iso-codes)
5658 ("python-pygobject" ,python-pygobject)
5659 ("python" ,python)
5660 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5661 ("libx11" ,libx11)
5662 ("vala" ,vala)
5663 ("adwaita-icon-theme" ,adwaita-icon-theme)
5664 ("libsoup" ,libsoup)
5665 ("gnome-desktop" ,gnome-desktop)))
5666 (home-page "https://wiki.gnome.org/Apps/Gedit")
5667 (synopsis "GNOME text editor")
5668 (description "While aiming at simplicity and ease of use, gedit is a
5669powerful general purpose text editor.")
5670 (license license:gpl2+)))
b7179363
SB
5671
5672(define-public zenity
5673 (package
5674 (name "zenity")
4f581bd0 5675 (version "3.32.0")
b7179363
SB
5676 (source (origin
5677 (method url-fetch)
5958df04 5678 (uri (string-append "mirror://gnome/sources/zenity/"
b7179363 5679 (version-major+minor version) "/"
5958df04 5680 "zenity-" version ".tar.xz"))
b7179363
SB
5681 (sha256
5682 (base32
4f581bd0 5683 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
b7179363
SB
5684 (build-system gnu-build-system)
5685 (native-inputs
b94a6ca0 5686 `(("gettext" ,gettext-minimal)
b7179363
SB
5687 ("itstool" ,itstool)
5688 ("pkg-config" ,pkg-config)))
5689 (inputs
5690 `(("libnotify" ,libnotify)
5691 ("webkitgtk" ,webkitgtk)))
5692 (synopsis "Display graphical dialog boxes from shell scripts")
f032d0be 5693 (home-page "https://www.gnome.org")
b7179363
SB
5694 (description
5695 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
5696to display dialog boxes from the commandline and shell scripts.")
5697 (license license:lgpl2.0+)))
60c3627c
SB
5698
5699(define-public mutter
5700 (package
5701 (name "mutter")
edf43f68 5702 (version "3.32.2")
60c3627c 5703 (source (origin
86c44e72
KK
5704 (method url-fetch)
5705 (uri (string-append "mirror://gnome/sources/" name "/"
5706 (version-major+minor version) "/"
5707 name "-" version ".tar.xz"))
60c3627c
SB
5708 (sha256
5709 (base32
edf43f68 5710 "1h577i2ap7dpfy1jg101jvc6nzccc0csgvd55ahydlr8f94frcva"))))
86c44e72
KK
5711 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
5712 ;; versions of cogl and clutter. As a result, many of the inputs,
5713 ;; propagated-inputs, and configure flags used in cogl and clutter are
5714 ;; needed here as well.
edf43f68 5715 (build-system meson-build-system)
60c3627c 5716 (arguments
edf43f68
KK
5717 '(;; XXX: All mutter tests fail with the following error:
5718 ;; Settings schema 'org.gnome.mutter' is not installed
5719 #:tests? #f
5720 #:glib-or-gtk? #t
5721 #:configure-flags
5722 ;; Otherwise, the RUNPATH will lack the final path component.
5723 (list (string-append "-Dc_link_args=-Wl,-rpath="
5724 (assoc-ref %outputs "out") "/lib:"
5725 (assoc-ref %outputs "out") "/lib/mutter-4")
a88d5a0c
MW
5726
5727 ;; The following flags are needed for the bundled clutter
edf43f68 5728 (string-append "-Dxwayland_path="
d633f2f6
RH
5729 (assoc-ref %build-inputs "xorg-server-xwayland")
5730 "/bin/Xwayland")
5731
a88d5a0c 5732 ;; the remaining flags are needed for the bundled cogl
edf43f68 5733 (string-append "-Dopengl_libname="
a88d5a0c 5734 (assoc-ref %build-inputs "mesa")
f23052a6
DC
5735 "/lib/libGL.so"))
5736 #:phases
5737 (modify-phases %standard-phases
edf43f68
KK
5738 (add-after 'unpack 'disable-werror
5739 (lambda _
5740 ;; XXX: build fails with [-Werror]:
5741 ;; backends/meta-cursor-renderer.c:112:5: error:
5742 ;; implicit declaration of function ?roundf?
5743 (substitute* "meson.build"
5744 (("'-Werror=.*',") ""))
5745 #t))
86c44e72
KK
5746 ;; Replace references to systemd libraries to elogind references.
5747 (add-before 'configure 'use-elogind
5748 (lambda _
edf43f68 5749 (substitute* (list "meson.build"
86c44e72
KK
5750 "src/backends/native/meta-launcher.c"
5751 "src/core/main.c")
5752 (("systemd") "elogind"))
5753 #t)))))
60c3627c
SB
5754 (native-inputs
5755 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5756 ("gobject-introspection" ,gobject-introspection)
5757 ("intltool" ,intltool)
f23052a6 5758 ("pkg-config" ,pkg-config)
edf43f68 5759 ("xorg-server" ,xorg-server-for-tests)
f23052a6
DC
5760 ;; For git build
5761 ("autoconf" ,autoconf)
5762 ("automake" ,automake)
5763 ("libtool" ,libtool)))
60c3627c 5764 (propagated-inputs
a88d5a0c
MW
5765 `(;; libmutter.pc refers to these:
5766 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5767 ("gtk+" ,gtk+)
5768 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5769 ("atk" ,atk)
5770 ("cairo" ,cairo)
5771 ("gdk-pixbuf" ,gdk-pixbuf)
5772 ("glib" ,glib)
a88d5a0c
MW
5773 ("json-glib" ,json-glib)
5774 ("libinput" ,libinput)
5775 ("libx11" ,libx11)
5776 ("libxcomposite" ,libxcomposite)
5777 ("libxdamage" ,libxdamage)
5778 ("libxext" ,libxext)
5779 ("libxfixes" ,libxfixes)
5780 ("libxkbcommon" ,libxkbcommon)
5781 ("libxrandr" ,libxrandr)
5782 ("mesa" ,mesa)
5783 ("pango" ,pango)
5784 ("udev" ,eudev)
a88d5a0c 5785 ("xinput" ,xinput)))
60c3627c 5786 (inputs
86c44e72
KK
5787 `(("elogind" ,elogind)
5788 ("gnome-desktop" ,gnome-desktop)
edf43f68 5789 ("gnome-settings-daemon" ,gnome-settings-daemon)
60c3627c 5790 ("libcanberra-gtk" ,libcanberra)
a88d5a0c 5791 ("libgudev" ,libgudev)
60c3627c
SB
5792 ("libice" ,libice)
5793 ("libsm" ,libsm)
edf43f68 5794 ("libwacom" ,libwacom)
60c3627c 5795 ("libxkbfile" ,libxkbfile)
a88d5a0c 5796 ("libxrandr" ,libxrandr)
86c44e72 5797 ("libxtst" ,libxtst)
edf43f68 5798 ("pipewire" ,pipewire)
60c3627c
SB
5799 ("startup-notification" ,startup-notification)
5800 ("upower-glib" ,upower)
5801 ("xkeyboard-config" ,xkeyboard-config)
d633f2f6 5802 ("xorg-server-xwayland" ,xorg-server-xwayland)
60c3627c
SB
5803 ("zenity" ,zenity)))
5804 (synopsis "Window and compositing manager")
f032d0be 5805 (home-page "https://www.gnome.org")
60c3627c
SB
5806 (description
5807 "Mutter is a window and compositing manager that displays and manages your
5808desktop via OpenGL. Mutter combines a sophisticated display engine using the
5809Clutter toolkit with solid window-management logic inherited from the Metacity
5810window manager.")
86c44e72 5811 (license license:gpl2+)))
685cee87
SB
5812
5813(define-public gnome-online-accounts
5814 (package
5815 (name "gnome-online-accounts")
aa200347 5816 (version "3.32.1")
685cee87
SB
5817 (source (origin
5818 (method url-fetch)
5819 (uri (string-append "mirror://gnome/sources/" name "/"
5820 (version-major+minor version) "/"
5821 name "-" version ".tar.xz"))
5822 (sha256
5823 (base32
aa200347 5824 "08g9kdj8fzcgp76z2zsj9m7wfjks9z6xfrfrbfmcr69k40mapfx8"))))
14c297fd 5825 (outputs '("out" "lib"))
685cee87 5826 (build-system glib-or-gtk-build-system)
14c297fd
TS
5827 (arguments
5828 `(#:configure-flags
5829 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5830 #:phases
5831 (modify-phases %standard-phases
5832 (add-before 'configure 'patch-libgoa-output
5833 (lambda* (#:key outputs #:allow-other-keys)
5834 (let ((lib (assoc-ref outputs "lib")))
5835 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5836 (("@prefix@") lib)
5837 (("@exec_prefix@") lib)
5838 (("@libdir@") (string-append lib "/lib"))
5839 (("@includedir@") (string-append lib "/include"))
5840 (("@datadir@") (string-append lib "/share")))
7555d539
MB
5841 ;; Make sure gobject-introspection knows about the output
5842 ;; too (see <https://bugs.gnu.org/36535>).
5843 (setenv "outputs" "out lib")
14c297fd 5844 #t))))))
685cee87
SB
5845 (native-inputs
5846 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5847 ("gobject-introspection" ,gobject-introspection)
5848 ("intltool" ,intltool)
5849 ("pkg-config" ,pkg-config)
ebb2873d 5850 ("vala" ,vala)
685cee87
SB
5851 ("xsltproc" ,libxslt)))
5852 (propagated-inputs
5853 `(("glib" ,glib) ; required by goa-1.0.pc
5854 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5855 (inputs
5856 `(("docbook-xsl" ,docbook-xsl)
5857 ("json-glib" ,json-glib)
5858 ("libsecret" ,libsecret)
5859 ("rest" ,rest)
685cee87
SB
5860 ("webkitgtk" ,webkitgtk)))
5861 (synopsis "Single sign-on framework for GNOME")
5862 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5863 (description
5864 "GNOME Online Accounts provides interfaces so that applications and
5865libraries in GNOME can access the user's online accounts. It has providers for
5866Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5867Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5868 (license license:lgpl2.0+)))
df217748
SB
5869
5870(define-public evolution-data-server
5871 (package
5872 (name "evolution-data-server")
2196a8d4 5873 (version "3.32.4")
df217748
SB
5874 (source (origin
5875 (method url-fetch)
5876 (uri (string-append "mirror://gnome/sources/" name "/"
5877 (version-major+minor version) "/"
5878 name "-" version ".tar.xz"))
e1f174ae 5879 (patches (search-patches "evolution-data-server-locales.patch"))
df217748
SB
5880 (sha256
5881 (base32
2196a8d4 5882 "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3"))))
743aebd7 5883 (build-system cmake-build-system)
df217748 5884 (arguments
b468eedc
RW
5885 '(#:configure-flags
5886 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
5887 (runpaths (map (lambda (s)
5888 (string-append lib "/evolution-data-server/" s))
ac033c7b
MB
5889 '("addressbook-backends" "calendar-backends"
5890 "camel-providers" "credential-modules"
5891 "registry-modules"))))
5892 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5893 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5894 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5895 "-DENABLE_VALA_BINDINGS=ON"
ac033c7b
MB
5896 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5897 (string-append lib "/evolution-data-server;")
5898 (string-join runpaths ";"))
5899 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
df217748
SB
5900 #:phases
5901 (modify-phases %standard-phases
b468eedc
RW
5902 (add-after 'unpack 'disable-failing-tests
5903 (lambda _
5904 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
5905 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
5906 (delete-file-recursively "tests/book-migration")
5907 (substitute* "tests/CMakeLists.txt"
5908 (("add_subdirectory\\(book-migration\\)") ""))
2196a8d4
KK
5909 ;; tests/libebook/client/test-book-client-view-operations:8077):
5910 ;; e-data-server-WARNING **:
5911 ;; (src/libedataserver/e-source-registry.c:264):thread_closure_free:
5912 ;; runtime check failed:
5913 ;; (!g_main_context_pending (closure->main_context))
5914 (substitute* "tests/libebook/client/CMakeLists.txt"
5915 (("test-book-client-view-operations") ""))
b468eedc 5916 #t))
743aebd7 5917 (add-after 'unpack 'patch-paths
df217748 5918 (lambda _
b468eedc
RW
5919 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
5920 "tests/libedata-book/data-test-utils.c"
5921 "tests/libedata-book/test-book-cache-utils.c"
5922 "tests/libedata-cal/test-cal-cache-utils.c")
df217748 5923 (("/bin/rm") (which "rm")))
ac033c7b
MB
5924 #t))
5925 (add-before 'configure 'dont-override-rpath
5926 (lambda _
5927 (substitute* "CMakeLists.txt"
5928 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5929 ;; Remove it so the configure flag is respected.
5930 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
b63c06f1 5931 #t)))))
df217748
SB
5932 (native-inputs
5933 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5934 ("gobject-introspection" ,gobject-introspection)
5935 ("gperf" ,gperf)
5936 ("intltool" ,intltool)
5937 ("pkg-config" ,pkg-config)
a73c1cf8 5938 ("vala" ,vala)
743aebd7 5939 ("python" ,python-wrapper)))
df217748
SB
5940 (propagated-inputs
5941 ;; These are all in the Requires field of .pc files.
5942 `(("gtk+" ,gtk+)
5943 ("libical" ,libical)
5944 ("libsecret" ,libsecret)
5945 ("libsoup" ,libsoup)
5946 ("nss" ,nss)
5947 ("sqlite" ,sqlite)))
5948 (inputs
5949 `(("bdb" ,bdb)
5950 ("gcr" ,gcr)
14c297fd 5951 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
891199c6 5952 ("json-glib" ,json-glib)
b468eedc 5953 ("libcanberra" ,libcanberra)
743aebd7
MB
5954 ("libgweather" ,libgweather)
5955 ("mit-krb5" ,mit-krb5)
891199c6
MW
5956 ("openldap" ,openldap)
5957 ("webkitgtk" ,webkitgtk)))
df217748
SB
5958 (synopsis "Store address books and calendars")
5959 (home-page "https://wiki.gnome.org/Apps/Evolution")
5960 (description
5961 "This package provides a unified backend for programs that work with
5962contacts, tasks, and calendar information. It was originally developed for
5963Evolution (hence the name), but is now used by other packages as well.")
5964 (license license:lgpl2.0)))
bd7dfafa
SB
5965
5966(define-public caribou
5967 (package
5968 (name "caribou")
fe964bb5 5969 (version "0.4.21")
bd7dfafa
SB
5970 (source (origin
5971 (method url-fetch)
5972 (uri (string-append "mirror://gnome/sources/" name "/"
5973 (version-major+minor version) "/"
5974 name "-" version ".tar.xz"))
5975 (sha256
5976 (base32
fe964bb5 5977 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
5978 (build-system glib-or-gtk-build-system)
5979 (arguments
5980 '(#:phases
5981 (modify-phases %standard-phases
5982 (add-before
5983 'build 'pre-build
5984 (lambda* (#:key outputs #:allow-other-keys)
5985 (let ((out (assoc-ref outputs "out")))
5986 ;; Use absolute shared library path in Caribou-1.0.typelib.
5987 (substitute* "libcaribou/Makefile"
5988 (("--shared-library=libcaribou.so")
5989 (string-append "--shared-library="
5990 out "/lib/libcaribou.so")))
5991 #t)))
5992 (add-after 'install 'wrap-programs
5993 (lambda* (#:key outputs #:allow-other-keys)
5994 (let* ((out (assoc-ref outputs "out"))
5995 (python-path (getenv "PYTHONPATH"))
5996 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5997 (for-each
5998 (lambda (prog)
5999 (wrap-program prog
6000 `("PYTHONPATH" ":" prefix (,python-path))
6001 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6002 (list (string-append out "/bin/caribou-preferences")
6003 (string-append out "/libexec/antler-keyboard"))))
6004 #t)))))
6005 (native-inputs
6006 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6007 ("gobject-introspection" ,gobject-introspection)
6008 ("intltool" ,intltool)
6009 ("pkg-config" ,pkg-config)
6010 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
6011 ("vala" ,vala)
6012 ("xsltproc" ,libxslt)))
6013 (propagated-inputs
6014 ;; caribou-1.0.pc refers to all these.
6015 `(("libgee" ,libgee)
6016 ("libxklavier" ,libxklavier)
6017 ("libxtst" ,libxtst)
6018 ("gtk+" ,gtk+)))
6019 (inputs
6020 `(("clutter" ,clutter)
6021 ("dconf" ,dconf)
6022 ("gtk+-2" ,gtk+-2)
6023 ("python-pygobject" ,python2-pygobject)))
6024 (synopsis "Text entry and UI navigation application")
6025 (home-page "https://wiki.gnome.org/Projects/Caribou")
6026 (description
6027 "Caribou is an input assistive technology intended for switch and pointer
6028users.")
6029 (license license:lgpl2.1)))
ba5dd105 6030
ba5dd105
SB
6031(define-public network-manager
6032 (package
6033 (name "network-manager")
6425d87a 6034 (version "1.18.4")
ba5dd105
SB
6035 (source (origin
6036 (method url-fetch)
6037 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6038 (version-major+minor version) "/"
6039 "NetworkManager-" version ".tar.xz"))
7d1861e2 6040 (patches (search-patches "nm-plugin-path.patch"))
ba5dd105
SB
6041 (sha256
6042 (base32
6425d87a 6043 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
02710a9b 6044 (modules '((guix build utils)))
fd070f35 6045 (snippet
02710a9b
RW
6046 '(begin
6047 (substitute* "src/devices/wwan/nm-modem-manager.c"
6048 (("systemd") "elogind"))
6049 #t))))
ba5dd105
SB
6050 (build-system gnu-build-system)
6051 (outputs '("out"
6052 "doc")) ; 8 MiB of gtk-doc HTML
6053 (arguments
6054 '(#:configure-flags
6055 (let ((out (assoc-ref %outputs "out"))
6056 (doc (assoc-ref %outputs "doc"))
6057 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6058 "/sbin/dhclient")))
02710a9b
RW
6059 (list "--with-libnm-glib" ; needed by network-manager-applet
6060 "--with-systemd-journal=no"
6061 "--with-session-tracking=elogind"
6062 "--with-suspend-resume=elogind"
fd070f35
CM
6063 "--with-consolekit=no"
6064 "--with-crypto=gnutls"
ba5dd105
SB
6065 "--disable-config-plugin-ibft"
6066 "--sysconfdir=/etc"
6067 "--localstatedir=/var"
6068 (string-append "--with-udev-dir="
6069 out "/lib/udev")
6070 (string-append "--with-dbus-sys-dir="
6071 out "/etc/dbus-1/system.d")
6072 (string-append "--with-html-dir="
6073 doc "/share/gtk-doc/html")
6074 (string-append "--with-dhclient=" dhclient)))
6075 #:phases
6076 (modify-phases %standard-phases
02710a9b
RW
6077 ;; This bare "ls" invocation breaks some tests.
6078 (add-after 'unpack 'patch-ls-invocation
6079 (lambda _
6080 (substitute* "build-aux/ltmain.sh"
6081 (("`ls -")
6082 (string-append "`" (which "ls") " -")))
6083 #t))
b4f59d87
AW
6084 (add-before 'configure 'pre-configure
6085 (lambda _
6086 ;; These tests try to test aspects of network-manager's
6087 ;; functionality within restricted containers, but they don't
6088 ;; cope with being already in the Guix build jail as that jail
6089 ;; lacks some features that they would like to proxy over (like
6090 ;; a /sys mount).
d04687dc
HG
6091 (substitute* '("Makefile.in")
6092 (("src/platform/tests/test-address-linux") " ")
6093 (("src/platform/tests/test-cleanup-linux") " ")
6094 (("src/platform/tests/test-link-linux") " ")
6095 (("src/platform/tests/test-route-linux") " ")
02710a9b 6096 (("src/devices/tests/test-acd") "")
d04687dc
HG
6097 (("src/devices/tests/test-arping") " ")
6098 (("src/devices/tests/test-lldp") " ")
6099 (("src/tests/test-route-manager-linux") " "))
b4f59d87 6100 #t))
45f80fce
RW
6101 (add-after 'unpack 'delete-failing-tests
6102 (lambda _
02710a9b 6103 ;; FIXME: These three tests fail for unknown reasons.
45f80fce
RW
6104 ;; ERROR:libnm-core/tests/test-general.c:5842:
6105 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6106 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6107 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6108 ;; ERROR:libnm-core/tests/test-setting.c:907:
6109 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
45f80fce
RW
6110 (substitute* "Makefile.in"
6111 (("libnm-core/tests/test-general") " ")
6112 (("libnm-core/tests/test-keyfile") " ")
02710a9b 6113 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
45f80fce 6114 #t))
ba5dd105
SB
6115 (add-before 'check 'pre-check
6116 (lambda _
6117 ;; For the missing /etc/machine-id.
6118 (setenv "DBUS_FATAL_WARNINGS" "0")
6119 #t))
6120 (replace 'install
6121 (lambda _
45f80fce
RW
6122 (invoke "make"
6123 "sysconfdir=/tmp"
6124 "rundir=/tmp"
6125 "statedir=/tmp"
6126 "nmstatedir=/tmp/nm"
6127 "install")
6128 #t)))))
b93502d6
DC
6129 (propagated-inputs
6130 `(("glib" ,glib)))
ba5dd105
SB
6131 (native-inputs
6132 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6133 ("gobject-introspection" ,gobject-introspection)
d04687dc 6134 ("docbook-xsl" ,docbook-xsl)
ba5dd105 6135 ("intltool" ,intltool)
d04687dc
HG
6136 ("libxslt" ,libxslt)
6137 ("libxml2" ,libxml2)
ba5dd105
SB
6138 ("pkg-config" ,pkg-config)
6139 ;; For testing.
6140 ("python" ,python-wrapper)
6141 ("python-dbus" ,python-dbus)
6142 ("python-pygobject" ,python-pygobject)))
6143 (inputs
02710a9b
RW
6144 `(("coreutils" ,coreutils) ; for ls
6145 ("curl" ,curl)
856ca567
KK
6146 ("cyrus-sasl" ,cyrus-sasl)
6147 ("dbus-glib" ,dbus-glib)
ba5dd105 6148 ("dnsmasq" ,dnsmasq)
856ca567 6149 ("eudev" ,eudev)
ba5dd105
SB
6150 ("gnutls" ,gnutls)
6151 ("iptables" ,iptables)
6152 ("isc-dhcp" ,isc-dhcp)
d04687dc 6153 ("jansson" ,jansson)
ba5dd105
SB
6154 ("libgcrypt" ,libgcrypt)
6155 ("libgudev" ,libgudev)
6156 ("libndp" ,libndp)
6157 ("libnl" ,libnl)
6158 ("libsoup" ,libsoup)
142bdcbc 6159 ("modem-manager" ,modem-manager)
c27e02bf 6160 ("newt" ,newt) ;for the 'nmtui' console interface
ba5dd105
SB
6161 ("polkit" ,polkit)
6162 ("ppp" ,ppp)
6163 ("readline" ,readline)
fd070f35
CM
6164 ("util-linux" ,util-linux)
6165 ("elogind" ,elogind)))
ba5dd105 6166 (synopsis "Network connection manager")
f032d0be 6167 (home-page "https://www.gnome.org/projects/NetworkManager/")
ba5dd105
SB
6168 (description
6169 "NetworkManager is a system network service that manages your network
6170devices and connections, attempting to keep active network connectivity when
6171available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6172devices, and provides VPN integration with a variety of different VPN
6173services.")
29d2f451
LC
6174 (license license:gpl2+)
6175 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 6176
f2b96b3a
LC
6177(define-public network-manager-openvpn
6178 (package
6179 (name "network-manager-openvpn")
be1c4b07 6180 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
7d87eede 6181 (version "1.8.10")
f2b96b3a
LC
6182 (source (origin
6183 (method url-fetch)
6184 (uri (string-append
6185 "mirror://gnome/sources/NetworkManager-openvpn/"
6186 (version-major+minor version)
6187 "/NetworkManager-openvpn-" version ".tar.xz"))
6188 (sha256
6189 (base32
7d87eede 6190 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
f2b96b3a
LC
6191 (build-system gnu-build-system)
6192 (arguments
633422b0
JL
6193 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6194 #:phases
6195 (modify-phases %standard-phases
6196 (add-after 'configure 'patch-path
6197 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6198 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6199 "/sbin/openvpn"))
6200 (modprobe (string-append (assoc-ref inputs "kmod")
6201 "/bin/modprobe"))
6202 (pretty-ovpn (string-append "\"" ovpn "\"")))
6203 (for-each
6204 (lambda (file)
6205 (substitute* file
6206 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6207 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6208 (("\"/sbin/openvpn\"") pretty-ovpn)
6209 (("/sbin/modprobe") modprobe)))
6210 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6211 #t)))))
f2b96b3a
LC
6212 (native-inputs
6213 `(("pkg-config" ,pkg-config)
6214 ("intltool" ,intltool)))
6215 (inputs
6216 `(("gtk+" ,gtk+)
633422b0 6217 ("kmod" ,kmod)
f2b96b3a
LC
6218 ("openvpn" ,openvpn)
6219 ("network-manager" ,network-manager)
6220 ("network-manager-applet" ,network-manager-applet) ;for libnma
6221 ("libsecret" ,libsecret)))
6222 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6223 (synopsis "OpenVPN plug-in for NetworkManager")
6224 (description
6225 "This extension of NetworkManager allows it to take care of connections
6226to virtual private networks (VPNs) via OpenVPN.")
6227 (license license:gpl2+)
6228 (properties `((upstream-name . "NetworkManager-openvpn")))))
6229
d376129f
JL
6230(define-public network-manager-vpnc
6231 (package
6232 (name "network-manager-vpnc")
6233 (version "1.2.6")
6234 (source (origin
6235 (method url-fetch)
6236 (uri (string-append
6237 "mirror://gnome/sources/NetworkManager-vpnc/"
6238 (version-major+minor version)
6239 "/NetworkManager-vpnc-" version ".tar.xz"))
6240 (sha256
6241 (base32
6242 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6243 (build-system gnu-build-system)
6244 (arguments
6245 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6246 #:phases
6247 (modify-phases %standard-phases
6248 (add-after 'configure 'patch-path
6249 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6250 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6251 "/sbin/vpnc"))
6252 (modprobe (string-append (assoc-ref inputs "kmod")
6253 "/bin/modprobe"))
6254 (pretty-ovpn (string-append "\"" vpnc "\"")))
6255 (substitute* "src/nm-vpnc-service.c"
6256 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6257 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6258 (("\"/sbin/vpnc\"") pretty-ovpn)
6259 (("/sbin/modprobe") modprobe)))
6260 #t)))))
6261 (native-inputs
6262 `(("pkg-config" ,pkg-config)
6263 ("intltool" ,intltool)))
6264 (inputs
6265 `(("gtk+" ,gtk+)
6266 ("kmod" ,kmod)
6267 ("vpnc" ,vpnc)
6268 ("network-manager" ,network-manager)
6269 ("network-manager-applet" ,network-manager-applet) ;for libnma
6270 ("libsecret" ,libsecret)))
6271 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6272 (synopsis "VPNC plug-in for NetworkManager")
6273 (description
6274 "Support for configuring virtual private networks based on VPNC.
6275Compatible with Cisco VPN concentrators configured to use IPsec.")
6276 (license license:gpl2+)
6277 (properties `((upstream-name . "NetworkManager-vpnc")))))
6278
8378c87a
EF
6279(define-public network-manager-openconnect
6280 (package
6281 (name "network-manager-openconnect")
6282 (version "1.2.6")
6283 (source (origin
6284 (method url-fetch)
6285 (uri (string-append
6286 "mirror://gnome/sources/NetworkManager-openconnect/"
6287 (version-major+minor version)
6288 "/NetworkManager-openconnect-" version ".tar.xz"))
6289 (sha256
6290 (base32
6291 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6292 (build-system gnu-build-system)
6293 (arguments
6294 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6295 #:phases
6296 (modify-phases %standard-phases
6297 (add-after 'configure 'patch-path
6298 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6299 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6300 "/sbin/openconnect"))
6301 (modprobe (string-append (assoc-ref inputs "kmod")
6302 "/bin/modprobe"))
6303 (pretty-ovpn (string-append "\"" openconnect "\"")))
6304 (substitute* "src/nm-openconnect-service.c"
6305 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6306 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6307 (("/sbin/modprobe") modprobe)))
6308 #t)))))
6309 (native-inputs
6310 `(("intltool" ,intltool)
6311 ("network-manager-applet" ,network-manager-applet) ;for libnma
6312 ("pkg-config" ,pkg-config)))
6313 (inputs
6314 `(("gcr" ,gcr)
6315 ("gtk+" ,gtk+)
6316 ("kmod" ,kmod)
6317 ("libsecret" ,libsecret)
6318 ("libxml2" ,libxml2)
6319 ("network-manager" ,network-manager)
6320 ("openconnect" ,openconnect)))
6321 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6322 (synopsis "OpenConnect plug-in for NetworkManager")
6323 (description
6324 "This extension of NetworkManager allows it to take care of connections
6325to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6326Cisco's AnyConnect SSL VPN.")
6327 (license license:gpl2+)
e52b9534
LC
6328 (properties `((upstream-name . "NetworkManager-openconnect")
6329
6330 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6331 ;; file refers to account "nm-openconnect". Specify it here
6332 ;; so that 'network-manager-service-type' creates it.
6333 (user-accounts . ("nm-openconnect"))))))
8378c87a 6334
e5e1df4d
DC
6335(define-public mobile-broadband-provider-info
6336 (package
6337 (name "mobile-broadband-provider-info")
310c89e3 6338 (version "20190116")
e5e1df4d
DC
6339 (source (origin
6340 (method url-fetch)
6341 (uri (string-append
6342 "mirror://gnome/sources/"
6343 "mobile-broadband-provider-info/" version "/"
6344 "mobile-broadband-provider-info-" version ".tar.xz"))
6345 (sha256
6346 (base32
310c89e3 6347 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
e5e1df4d
DC
6348 (build-system gnu-build-system)
6349 (arguments
310c89e3 6350 `(#:tests? #f)) ; no tests
e5e1df4d
DC
6351 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6352 (synopsis "Database of broadband connection configuration")
6353 (description "Database of broadband connection configuration.")
6354 (license license:public-domain)))
6355
4d62a9d3
SB
6356(define-public network-manager-applet
6357 (package
6358 (name "network-manager-applet")
8fc3a337 6359 (version "1.8.24")
4d62a9d3
SB
6360 (source (origin
6361 (method url-fetch)
3df63444 6362 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
4d62a9d3 6363 (version-major+minor version) "/"
3df63444 6364 "network-manager-applet-" version ".tar.xz"))
4d62a9d3
SB
6365 (sha256
6366 (base32
8fc3a337 6367 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
cd7f718e
RW
6368 (build-system meson-build-system)
6369 (arguments
be1c4b07
TGR
6370 '(#:configure-flags
6371 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6372 (list "-Dlibnm_gtk=true")
6373 #:glib-or-gtk? #t))
4d62a9d3
SB
6374 (native-inputs
6375 `(("intltool" ,intltool)
cd7f718e 6376 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4d62a9d3 6377 ("gobject-introspection" ,gobject-introspection)
cd7f718e 6378 ("gtk-doc" ,gtk-doc)
4d62a9d3
SB
6379 ("pkg-config" ,pkg-config)))
6380 (propagated-inputs
6381 ;; libnm-gtk.pc refers to all these.
6382 `(("dbus-glib" ,dbus-glib)
6383 ("gtk+" ,gtk+)
6384 ("network-manager" ,network-manager)))
6385 (inputs
cd7f718e
RW
6386 `(("gcr" ,gcr)
6387 ("iso-codes" ,iso-codes)
4d62a9d3
SB
6388 ("libgudev" ,libgudev)
6389 ("libnotify" ,libnotify)
2116bfb3 6390 ("libsecret" ,libsecret)
240cee8a
KK
6391 ("libselinux" ,libselinux)
6392 ("jansson" ,jansson) ; for team support
3e9c80b2
FP
6393 ("modem-manager" ,modem-manager)
6394 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
4d62a9d3 6395 (synopsis "Applet for managing network connections")
f032d0be 6396 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
6397 (description
6398 "This package contains a systray applet for NetworkManager. It displays
6399the available networks and allows users to easily switch between them.")
6400 (license license:gpl2+)))
56196594
RW
6401
6402(define-public libxml++
6403 (package
6404 (name "libxml++")
8344a85e 6405 (version "3.0.1")
56196594
RW
6406 (source (origin
6407 (method url-fetch)
6408 (uri (string-append "mirror://gnome/sources/" name "/"
6409 (version-major+minor version) "/"
6410 name "-" version ".tar.xz"))
6411 (sha256
6412 (base32
8344a85e 6413 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
6414 (build-system gnu-build-system)
6415 ;; libxml++-3.0.pc refers to all these.
6416 (propagated-inputs
6417 `(("libxml2" ,libxml2)
6418 ("glibmm" ,glibmm)))
6419 (native-inputs
6420 `(("perl" ,perl)
6421 ("pkg-config" ,pkg-config)))
6422 (home-page "http://libxmlplusplus.sourceforge.net/")
6423 (synopsis "C++ wrapper for XML parser library libxml2")
6424 (description
6425 "This package provides a C++ wrapper for the XML parser library
6426libxml2.")
6427 (license license:lgpl2.1+)))
df12f04a 6428
b61d9627
AW
6429(define-public libxml++-2
6430 (package
6431 (inherit libxml++)
6432 (name "libxml++")
6433 (version "2.40.1")
6434 (source (origin
6435 (method url-fetch)
6436 (uri (string-append "mirror://gnome/sources/" name "/"
6437 (version-major+minor version) "/"
6438 name "-" version ".tar.xz"))
6439 (sha256
6440 (base32
6441 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6442
df12f04a
SB
6443(define-public gdm
6444 (package
6445 (name "gdm")
bcca95dc 6446 (version "3.32.0")
df12f04a
SB
6447 (source (origin
6448 (method url-fetch)
6449 (uri (string-append "mirror://gnome/sources/" name "/"
6450 (version-major+minor version) "/"
6451 name "-" version ".tar.xz"))
6452 (sha256
6453 (base32
bcca95dc 6454 "12ypdz9i24hwbl1d1wnnxb8zlvfa4f49n9ac5cl9d6h8qp4b0gb4"))))
957dbc0a 6455 (build-system glib-or-gtk-build-system)
df12f04a
SB
6456 (arguments
6457 '(#:configure-flags
af37e6bb 6458 `("--without-plymouth"
957dbc0a 6459 "--disable-systemd-journal"
51bc8357
TS
6460
6461 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6462 ;; instead of having to replace it (i.e., stopping the mingetty
6463 ;; service for TTY 1 before starting GDM).
6464 "--with-initial-vt=7"
6465
89c86562
TS
6466 ;; Use '/etc/environment' for locale settings instead of the
6467 ;; systemd-specific '/etc/locale.conf'.
6468 "--with-lang-file=/etc/environment"
6469
b74ef0ba
RW
6470 ,(string-append "--with-udevdir="
6471 (assoc-ref %outputs "out") "/lib/udev")
6472
af37e6bb
AW
6473 "--localstatedir=/var"
6474 ,(string-append "--with-default-path="
6475 (string-join '("/run/setuid-programs"
6476 "/run/current-system/profile/bin"
6477 "/run/current-system/profile/sbin")
957dbc0a
AW
6478 ":"))
6479 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6480 ;; XDG_DATA_DIRS so that it finds its schemas.
6481 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
6482 #:phases
6483 (modify-phases %standard-phases
6484 (add-before
6485 'configure 'pre-configure
e8c6e771 6486 (lambda* (#:key inputs outputs #:allow-other-keys)
df12f04a
SB
6487 ;; We don't have <systemd/sd-daemon.h>.
6488 (substitute* '("common/gdm-log.c"
6489 "daemon/gdm-server.c"
6490 "daemon/gdm-session-worker.c"
6491 "daemon/gdm-session-worker-job.c")
6492 (("#include <systemd/sd-daemon\\.h>") ""))
6493 ;; Use elogind for sd-login.
6494 (substitute* '("common/gdm-common.c"
6495 "daemon/gdm-manager.c"
6496 "libgdm/gdm-user-switching.c")
6497 (("#include <systemd/sd-login\\.h>")
6498 "#include <elogind/sd-login.h>"))
957dbc0a
AW
6499 ;; Check for elogind.
6500 (substitute* '("configure")
6501 (("libsystemd")
6502 "libelogind"))
af37e6bb
AW
6503 ;; Look for system-installed sessions in
6504 ;; /run/current-system/profile/share.
6505 (substitute* '("libgdm/gdm-sessions.c"
6506 "daemon/gdm-session.c"
6507 "daemon/gdm-display.c"
6508 "daemon/gdm-launch-environment.c")
6509 (("DATADIR \"/x")
6510 "\"/run/current-system/profile/share/x")
6511 (("DATADIR \"/wayland")
6512 "\"/run/current-system/profile/share/wayland")
6513 (("DATADIR \"/gnome")
6514 "\"/run/current-system/profile/share/gnome"))
c9ff92b5 6515 (let ((propagate '("GDM_CUSTOM_CONF"
1f564c15 6516 "GDM_DBUS_DAEMON"
c9ff92b5 6517 "GDM_X_SERVER"
41fa9f18 6518 "GDM_X_SESSION"
c9ff92b5
TS
6519 ;; XXX: Remove this once GNOME Shell is
6520 ;; a dependency of GDM.
6521 "XDG_DATA_DIRS")))
6522 (substitute* "daemon/gdm-session.c"
6523 (("set_up_session_environment \\(self\\);")
6524 (apply string-append
6525 "set_up_session_environment (self);\n"
6526 (map (lambda (name)
6527 (string-append
6528 "gdm_session_set_environment_variable "
6529 "(self, \"" name "\","
6530 "g_getenv (\"" name "\"));\n"))
6531 propagate)))))
a430a350
TS
6532 ;; Find the configuration file using an environment variable.
6533 (substitute* '("common/gdm-settings.c")
e0e6756f 6534 (("GDM_CUSTOM_CONF")
e57c2adb
TS
6535 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6536 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6537 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
6538 ;; Use service-supplied path to X.
6539 (substitute* '("daemon/gdm-server.c")
6540 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6541 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6542 (substitute* '("daemon/gdm-x-session.c")
1f564c15
TS
6543 (("\"dbus-daemon\"")
6544 "g_getenv (\"GDM_DBUS_DAEMON\")")
e0e6756f 6545 (("X_SERVER")
41fa9f18
TS
6546 "g_getenv (\"GDM_X_SERVER\")")
6547 (("GDMCONFDIR \"/Xsession\"")
6548 "g_getenv (\"GDM_X_SESSION\")"))
def6d6b6
TS
6549 ;; Use an absolute path for GNOME Session.
6550 (substitute* "daemon/gdm-launch-environment.c"
6551 (("\"gnome-session\"")
6552 (string-append "\"" (assoc-ref inputs "gnome-session")
6553 "/bin/gnome-session\"")))
e8c6e771
TS
6554 ;; Do not automatically select the placeholder session.
6555 (substitute* "daemon/gdm-session.c"
6556 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6557 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6558 "(g_strcmp0(search_dirs[i], \""
6559 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6560 "\") == 0 && "
6561 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6562 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
bcca95dc 6563 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
69544798 6564 #t))
8caa4589
TS
6565 ;; GDM requires that there be at least one desktop entry
6566 ;; file. This phase installs a hidden one that simply
6567 ;; fails. This enables users to use GDM with a
6568 ;; '~/.xsession' script with no other desktop entry files.
6569 ;; See <https://bugs.gnu.org/35068>.
6570 (add-after 'install 'install-placeholder-desktop-entry
6571 (lambda* (#:key inputs outputs #:allow-other-keys)
6572 (let* ((out (assoc-ref outputs "out"))
6573 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6574 (fail (string-append sessions "/fail.desktop")))
6575 (mkdir-p sessions)
6576 (with-output-to-file fail
6577 (lambda ()
6578 (for-each
6579 display
6580 '("[Desktop Entry]\n"
6581 "Encoding=UTF-8\n"
6582 "Type=Application\n"
6583 "Name=Fail\n"
6584 "Comment=This session fails immediately.\n"
6585 "NoDisplay=true\n"
6586 "Exec=false\n"))))
6587 #t)))
69544798
TS
6588 ;; GDM needs GNOME Session to run these applications. We link
6589 ;; their autostart files in `share/gdm/greeter/autostart'
6590 ;; because GDM explicitly tells GNOME Session to look there.
6591 ;;
6592 ;; XXX: GNOME Shell should be linked here too, but currently
6593 ;; GNOME Shell depends on GDM.
6594 (add-after 'install 'link-autostart-files
6595 (lambda* (#:key inputs outputs #:allow-other-keys)
6596 (let* ((out (assoc-ref outputs "out"))
6597 (autostart (string-append out "/share/gdm/"
6598 "greeter/autostart"))
6599 (settings (assoc-ref inputs "gnome-settings-daemon")))
6600 (mkdir-p autostart)
6601 (with-directory-excursion autostart
6602 (for-each (lambda (desktop)
6603 (symlink desktop (basename desktop)))
6604 (find-files (string-append settings "/etc/xdg"))))
6605 #t))))))
df12f04a
SB
6606 (native-inputs
6607 `(("dconf" ,dconf)
6608 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6609 ("gobject-introspection" ,gobject-introspection)
6610 ("intltool" ,intltool)
6611 ("itstool" ,itstool)
6612 ("pkg-config" ,pkg-config)
6613 ("xmllint" ,libxml2)))
6614 (inputs
6615 `(("accountsservice" ,accountsservice)
6616 ("check" ,check) ; for testing
6617 ("elogind" ,elogind)
def6d6b6 6618 ("gnome-session" ,gnome-session)
69544798 6619 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
6620 ("gtk+" ,gtk+)
6621 ("iso-codes" ,iso-codes)
6622 ("libcanberra" ,libcanberra)
6623 ("linux-pam" ,linux-pam)))
6624 (synopsis "Display manager for GNOME")
f032d0be 6625 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
6626 (description
6627 "GNOME Display Manager is a system service that is responsible for
6628providing graphical log-ins and managing local and remote displays.")
6629 (license license:gpl2+)))
8e1dd04f
SB
6630
6631(define-public libgtop
6632 (package
6633 (name "libgtop")
015fc036 6634 (version "2.40.0")
8e1dd04f
SB
6635 (source (origin
6636 (method url-fetch)
59487fc2 6637 (uri (string-append "mirror://gnome/sources/libgtop/"
8e1dd04f 6638 (version-major+minor version) "/"
59487fc2 6639 "libgtop-" version ".tar.xz"))
8e1dd04f
SB
6640 (sha256
6641 (base32
015fc036 6642 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8e1dd04f
SB
6643 (build-system gnu-build-system)
6644 (native-inputs
6645 `(("gobject-introspection" ,gobject-introspection)
6646 ("intltool" ,intltool)
6647 ("perl" ,perl)
6648 ("pkg-config" ,pkg-config)))
6649 (propagated-inputs
6650 `(("glib" ,glib))) ; required by libgtop-2.0.pc
6651 (synopsis "Portable system access library")
6652 (home-page "https://www.gnome.org/")
6653 (description
6654 "LibGTop is a library to get system specific data such as CPU and memory
6655usage and information about running processes.")
6656 (license license:gpl2+)))
b96c4260
SB
6657
6658(define-public gnome-bluetooth
6659 (package
6660 (name "gnome-bluetooth")
723afae6 6661 (version "3.32.1")
b96c4260
SB
6662 (source (origin
6663 (method url-fetch)
6664 (uri (string-append "mirror://gnome/sources/" name "/"
6665 (version-major+minor version) "/"
6666 name "-" version ".tar.xz"))
6667 (sha256
6668 (base32
723afae6 6669 "1am1gf0nzwg6x1s8ly13j0xnjzgrfj06j0dp52x4zy9s67ywlhb4"))))
fd3b1171 6670 (build-system meson-build-system)
b96c4260
SB
6671 (native-inputs
6672 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
fd3b1171 6673 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
b96c4260
SB
6674 ("gobject-introspection" ,gobject-introspection)
6675 ("intltool" ,intltool)
6676 ("pkg-config" ,pkg-config)
6677 ("xmllint" ,libxml2)))
6678 (propagated-inputs
6679 ;; gnome-bluetooth-1.0.pc refers to all these.
723afae6
KK
6680 `(("glib" ,glib)
6681 ("gtk+" ,gtk+)))
b96c4260 6682 (inputs
723afae6
KK
6683 `(("eudev" ,eudev)
6684 ("libcanberra" ,libcanberra)
b96c4260
SB
6685 ("libnotify" ,libnotify)))
6686 (synopsis "GNOME Bluetooth subsystem")
6687 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
6688 (description
6689 "This package contains tools for managing and manipulating Bluetooth
6690devices using the GNOME desktop.")
6691 (license license:lgpl2.1+)))
b645146f
SB
6692
6693(define-public gnome-control-center
6694 (package
6695 (name "gnome-control-center")
a6938bac 6696 (version "3.32.2")
b645146f
SB
6697 (source (origin
6698 (method url-fetch)
6699 (uri (string-append "mirror://gnome/sources/" name "/"
6700 (version-major+minor version) "/"
6701 name "-" version ".tar.xz"))
6702 (sha256
6703 (base32
a6938bac 6704 "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
59dac026 6705 (build-system meson-build-system)
b645146f 6706 (arguments
59dac026
RW
6707 '(#:glib-or-gtk? #t
6708 #:configure-flags
64c70430
KK
6709 (list "-Dcheese=false"
6710 (string-append "-Dgnome_session_libexecdir="
6711 (assoc-ref %build-inputs "gnome-session")
6712 "/libexec"))
59dac026 6713 #:phases
b645146f
SB
6714 (modify-phases %standard-phases
6715 (add-before 'configure 'patch-paths
6716 (lambda* (#:key inputs #:allow-other-keys)
6717 (let ((libc (assoc-ref inputs "libc"))
1df38cfc 6718 (tzdata (assoc-ref inputs "tzdata"))
341225ac 6719 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
64c70430
KK
6720 (nm-applet (assoc-ref inputs "network-manager-applet"))
6721 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
b645146f
SB
6722 (substitute* "panels/datetime/tz.h"
6723 (("/usr/share/zoneinfo/zone.tab")
6724 (string-append tzdata "/share/zoneinfo/zone.tab")))
982c0b36 6725 (substitute* "tests/datetime/test-endianess.c"
b645146f
SB
6726 (("/usr/share/locale")
6727 (string-append libc "/share/locale")))
1df38cfc
LC
6728 (substitute* "panels/region/cc-region-panel.c"
6729 (("\"gkbd-keyboard-display")
6730 (string-append "\"" libgnomekbd
6731 "/bin/gkbd-keyboard-display")))
341225ac
LC
6732 (substitute* '("panels/network/net-device-wifi.c"
6733 "panels/network/net-device.c"
6734 "panels/network/connection-editor/net-connection-editor.c")
6735 (("\"nm-connection-editor")
6736 (string-append "\"" nm-applet
6737 "/bin/nm-connection-editor")))
1acd107c
FP
6738 (substitute* '("panels/user-accounts/run-passwd.c")
6739 (("/usr/bin/passwd")
6740 "/run/setuid-programs/passwd"))
64c70430
KK
6741 (substitute* "panels/info/cc-info-overview-panel.c"
6742 (("DATADIR \"/gnome/gnome-version.xml\"")
6743 (string-append "\"" gnome-desktop
6744 "/share/gnome/gnome-version.xml\"")))
b645146f
SB
6745 #t))))))
6746 (native-inputs
6747 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
59dac026 6748 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
b645146f
SB
6749 ("intltool" ,intltool)
6750 ("pkg-config" ,pkg-config)
a6938bac
KK
6751 ("xsltproc" ,libxslt)
6752 ;; For tests
6753 ("hicolor-icon-theme" ,hicolor-icon-theme)
6754 ("python-dbusmock" ,python-dbusmock)
6755 ("xorg-server" ,xorg-server-for-tests)))
b645146f
SB
6756 (inputs
6757 `(("accountsservice" ,accountsservice)
6758 ("clutter-gtk" ,clutter-gtk)
6759 ("colord-gtk" ,colord-gtk)
6760 ("cups" ,cups)
6761 ("dconf" ,dconf)
6762 ("docbook-xsl" ,docbook-xsl)
3446ffb5 6763 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
6764 ("gnome-bluetooth" ,gnome-bluetooth)
6765 ("gnome-desktop" ,gnome-desktop)
6766 ("gnome-online-accounts" ,gnome-online-accounts)
14c297fd 6767 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
64c70430 6768 ("gnome-session" ,gnome-session)
b645146f
SB
6769 ("gnome-settings-daemon" ,gnome-settings-daemon)
6770 ("grilo" ,grilo)
a6938bac 6771 ("gsound" ,gsound)
b645146f
SB
6772 ("ibus" ,ibus)
6773 ("libcanberra" ,libcanberra)
1df38cfc 6774 ("libgnomekbd" ,libgnomekbd)
b645146f
SB
6775 ("libgudev" ,libgudev)
6776 ("libgtop" ,libgtop)
6777 ("libpwquality" ,libpwquality)
982c0b36 6778 ("libsecret" ,libsecret)
b645146f
SB
6779 ("libsoup" ,libsoup)
6780 ("libxml2" ,libxml2)
6781 ("libwacom" ,libwacom)
6782 ("mesa" ,mesa)
6783 ("mit-krb5" ,mit-krb5)
6784 ("modem-manager" ,modem-manager)
6785 ("network-manager-applet" ,network-manager-applet)
6786 ("polkit" ,polkit)
6787 ("pulseaudio" ,pulseaudio)
6788 ("smbclient" ,samba)
6789 ("tzdata" ,tzdata)
982c0b36 6790 ("udisks" ,udisks)
b645146f
SB
6791 ("upower" ,upower)))
6792 (synopsis "Utilities to configure the GNOME desktop")
6793 (home-page "https://www.gnome.org/")
6794 (description
6795 "This package contains configuration applets for the GNOME desktop,
6796allowing to set accessibility configuration, desktop fonts, keyboard and mouse
6797properties, sound setup, desktop theme and background, user interface
6798properties, screen resolution, and other GNOME parameters.")
6799 (license license:gpl2+)))
a4df5756
SB
6800
6801(define-public gnome-shell
6802 (package
6803 (name "gnome-shell")
d5e615ca 6804 (version "3.32.2")
a4df5756
SB
6805 (source (origin
6806 (method url-fetch)
6807 (uri (string-append "mirror://gnome/sources/" name "/"
6808 (version-major+minor version) "/"
6809 name "-" version ".tar.xz"))
6810 (sha256
6811 (base32
d5e615ca 6812 "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5"))
a76d0f03
LC
6813 (patches (search-patches "gnome-shell-theme.patch"))
6814 (modules '((guix build utils)))
6815 (snippet
6816 #~(begin
a76d0f03
LC
6817 ;; Copy images for use on the GDM log-in screen.
6818 (copy-file #$(file-append %artwork-repository
6819 "/slim/0.x/background.png")
6820 "data/theme/guix-background.png")
45fef894
LC
6821 (copy-file #$(file-append %artwork-repository
6822 "/logo/Guix-horizontal-white.svg")
6823 "data/theme/guix-logo.svg")
a76d0f03 6824 #t))))
2b0c755d 6825 (build-system meson-build-system)
a4df5756 6826 (arguments
08185081
MB
6827 `(#:glib-or-gtk? #t
6828 #:disallowed-references ((,glib "bin")
11e1df56
LC
6829 ,inkscape ,libxslt
6830 ,ruby-sass)
2b0c755d
RW
6831 #:configure-flags
6832 (list "-Dsystemd=false"
6833 ;; Otherwise, the RUNPATH will lack the final path component.
6834 (string-append "-Dc_link_args=-Wl,-rpath="
6835 (assoc-ref %outputs "out")
6836 "/lib/gnome-shell"))
11e1df56 6837
08185081 6838 #:modules ((guix build meson-build-system)
11e1df56
LC
6839 (guix build utils)
6840 (srfi srfi-1))
6841
2b0c755d 6842 #:phases
a4df5756 6843 (modify-phases %standard-phases
2b0c755d 6844 (add-after 'unpack 'fix-keysdir
a4df5756
SB
6845 (lambda* (#:key outputs #:allow-other-keys)
6846 (let* ((out (assoc-ref outputs "out"))
6847 (keysdir (string-append
6848 out "/share/gnome-control-center/keybindings")))
2b0c755d
RW
6849 (substitute* "meson.build"
6850 (("keysdir =.*")
6851 (string-append "keysdir = '" keysdir "'\n")))
6852 #t)))
ebfe259f
MB
6853 (add-before 'configure 'convert-logo-to-png
6854 (lambda* (#:key inputs #:allow-other-keys)
6855 ;; Convert the logo from SVG to PNG.
6856 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
6857 "data/theme/guix-logo.svg")))
ba00235a 6858 (add-before 'configure 'record-absolute-file-names
2472cdec
LC
6859 (lambda* (#:key inputs #:allow-other-keys)
6860 (substitute* "js/misc/ibusManager.js"
6861 (("'ibus-daemon'")
6862 (string-append "'" (assoc-ref inputs "ibus")
6863 "/bin/ibus-daemon'")))
d6fda4d3
LC
6864 (substitute* "js/ui/status/keyboard.js"
6865 (("'gkbd-keyboard-display'")
6866 (string-append "'" (assoc-ref inputs "libgnomekbd")
6867 "/bin/gkbd-keyboard-display'")))
2472cdec 6868 #t))
2b0c755d
RW
6869 (add-before 'check 'pre-check
6870 (lambda* (#:key inputs #:allow-other-keys)
6871 ;; Tests require a running X server.
6872 (system "Xvfb :1 &")
6873 (setenv "DISPLAY" ":1")
6874 #t))
6875 (add-after 'install 'wrap-programs
6876 (lambda* (#:key inputs outputs #:allow-other-keys)
6877 (let ((out (assoc-ref outputs "out"))
6878 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6879 (python-path (getenv "PYTHONPATH")))
6880 (wrap-program (string-append out "/bin/gnome-shell")
6881 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6882 ;; FIXME: gnome-shell loads these libraries with unqualified
6883 ;; names only, so they need to be on LD_LIBRARY_PATH. The
6884 ;; alternative might be to patch gnome-shell.
6885 `("LD_LIBRARY_PATH" ":" prefix
6886 ,(map (lambda (pkg)
6887 (string-append (assoc-ref inputs pkg) "/lib"))
cd8dce8a
RW
6888 '("gdk-pixbuf"
6889 "gnome-bluetooth" "librsvg" "libgweather"))))
2b0c755d
RW
6890 (for-each
6891 (lambda (prog)
6892 (wrap-program (string-append out "/bin/" prog)
6893 `("PYTHONPATH" ":" prefix (,python-path))
6894 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6895 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
08185081 6896 #t)))
11e1df56
LC
6897 (replace 'glib-or-gtk-wrap
6898 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6899 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6900 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6901 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6902 ;; phase. Fix that since we don't need these.
6903 (wrap #:inputs (fold alist-delete inputs
6904 '("inkscape" "intltool" "glib:bin"))
6905 #:outputs outputs)))))))
a4df5756
SB
6906 (native-inputs
6907 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2b0c755d 6908 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
a4df5756 6909 ("gobject-introspection" ,gobject-introspection)
ebfe259f 6910 ("inkscape" ,inkscape)
a4df5756
SB
6911 ("intltool" ,intltool)
6912 ("pkg-config" ,pkg-config)
6913 ("python" ,python)
2b0c755d
RW
6914 ("ruby-sass" ,ruby-sass)
6915 ("sassc" ,sassc)
a76d0f03 6916 ("xsltproc" ,libxslt)
2b0c755d 6917 ;; For tests
0b4504f6 6918 ("xorg-server" ,xorg-server-for-tests)))
a4df5756
SB
6919 (inputs
6920 `(("accountsservice" ,accountsservice)
6921 ("caribou" ,caribou)
6922 ("docbook-xsl" ,docbook-xsl)
6923 ("evolution-data-server" ,evolution-data-server)
6924 ("gcr" ,gcr)
6925 ("gdm" ,gdm)
c5db31d4 6926 ("gdk-pixbuf" ,gdk-pixbuf+svg)
a4df5756
SB
6927 ("gjs" ,gjs)
6928 ("gnome-bluetooth" ,gnome-bluetooth)
a4df5756
SB
6929 ("gnome-desktop" ,gnome-desktop)
6930 ("gnome-settings-daemon" ,gnome-settings-daemon)
6931 ("gst-plugins-base" ,gst-plugins-base)
6932 ("ibus" ,ibus)
6933 ("libcanberra" ,libcanberra)
6934 ("libcroco" ,libcroco)
d6fda4d3 6935 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
a4df5756
SB
6936 ("libgweather" ,libgweather)
6937 ("libsoup" ,libsoup)
6938 ("mesa-headers" ,mesa-headers)
6939 ("mutter" ,mutter)
6940 ("network-manager-applet" ,network-manager-applet)
6941 ("polkit" ,polkit)
6942 ("pulseaudio" ,pulseaudio)
6943 ("python-pygobject" ,python-pygobject)
6944 ("startup-notification" ,startup-notification)
6945 ("telepathy-logger" ,telepathy-logger)
6946 ("upower" ,upower)
30e760f0
MB
6947 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6948 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6949 ("librsvg" ,librsvg)
2b0c755d 6950 ("geoclue" ,geoclue)))
a4df5756
SB
6951 (synopsis "Desktop shell for GNOME")
6952 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6953 (description
6954 "GNOME Shell provides core user interface functions for the GNOME desktop,
6955like switching to windows and launching applications.")
6956 (license license:gpl2+)))
c3f29bc9
RS
6957
6958(define-public gtk-vnc
6959 (package
6960 (name "gtk-vnc")
965ff023 6961 (version "0.9.0")
c3f29bc9
RS
6962 (source
6963 (origin
6964 (method url-fetch)
6965 (uri (string-append "mirror://gnome/sources/" name "/"
6966 (version-major+minor version) "/"
6967 name "-" version ".tar.xz"))
6968 (sha256
6969 (base32
965ff023 6970 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
6971 (build-system gnu-build-system)
6972 (arguments
6973 '(#:configure-flags '("--with-gtk=3.0")))
6974 (propagated-inputs
6975 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6976 (inputs
6977 `(("cyrus-sasl" ,cyrus-sasl)
6978 ("gnutls" ,gnutls)
6979 ("libgcrypt" ,libgcrypt)
6980 ("pulseaudio" ,pulseaudio)))
6981 (native-inputs
6982 `(("glib:bin" ,glib "bin")
6983 ("gobject-introspection" ,gobject-introspection)
6984 ("intltool" ,intltool)
6985 ("pkg-config" ,pkg-config)
2f17e939 6986 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
6987 ("vala" ,vala)))
6988 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6989 (synopsis "VNC viewer widget for GTK+")
6990 (description
6991 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6992applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6993GTK-VNC implements client side RFB protocol and authentication extensions such
6994as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6995 (license license:lgpl2.1+)))
8b877545 6996
dc69fe18
MW
6997(define-public gnome-autoar
6998 (package
6999 (name "gnome-autoar")
c7da8510 7000 (version "0.2.3")
dc69fe18
MW
7001 (source (origin
7002 (method url-fetch)
7003 (uri (string-append "mirror://gnome/sources/" name "/"
7004 (version-major+minor version) "/"
7005 name "-" version ".tar.xz"))
7006 (sha256
7007 (base32
c7da8510 7008 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
7009 (build-system glib-or-gtk-build-system)
7010 (native-inputs
7011 `(("gnome-common" ,gnome-common)
7012 ("gobject-introspection" ,gobject-introspection)
7013 ("pkg-config" ,pkg-config)))
7014 (propagated-inputs
7015 `(("libarchive" ,libarchive))) ; XXX document why
7016 (inputs
0a6e9e13 7017 `(("gtk+" ,gtk+)))
dc69fe18
MW
7018 (synopsis "Archives integration support for GNOME")
7019 (home-page "https://git.gnome.org/browse/gnome-autoar/")
7020 (description
7021 "GNOME Autoar is a library which makes creating and extracting archives
7022easy, safe, and automatic.")
7023 (license license:lgpl2.1+)))
7024
b64e217f
MW
7025(define-public tracker
7026 (package
7027 (name "tracker")
5ada561c 7028 (version "2.2.2")
b64e217f
MW
7029 (source (origin
7030 (method url-fetch)
b5b0fd23 7031 (uri (string-append "mirror://gnome/sources/tracker/"
b64e217f 7032 (version-major+minor version) "/"
b5b0fd23 7033 "tracker-" version ".tar.xz"))
b64e217f
MW
7034 (sha256
7035 (base32
5ada561c
KK
7036 "1rp2c6k7ajcm553p9kpni87zgi9aplm3s01rl7pk575az5i399y6"))))
7037 (build-system meson-build-system)
c8bdf589 7038 (arguments
5ada561c
KK
7039 `(#:glib-or-gtk? #t
7040 #:configure-flags
7041 ;; Otherwise, the RUNPATH will lack the final path component.
7042 (list (string-append "-Dc_link_args=-Wl,-rpath="
7043 (assoc-ref %outputs "out") "/lib:"
7044 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7045 #:phases
c8bdf589
RW
7046 (modify-phases %standard-phases
7047 (add-after 'unpack 'disable-broken-tests
7048 (lambda _
c8bdf589
RW
7049 ;; These fail because the SPARQL backend could not be loaded.
7050 ;; That's because /etc/machine-id is missing, but
7051 ;; DBUS_FATAL_WARNINGS does not help here.
5ada561c
KK
7052 (substitute* "tests/libtracker-sparql/meson.build"
7053 (("'sparql',") ""))
7054 (substitute* "tests/tracker-steroids/meson.build"
7055 (("test\\(.*") ""))
c8bdf589
RW
7056 #t))
7057 ;; Two tests fail if LANG is not set.
7058 (add-before 'check 'pre-check
7059 (lambda _
7060 (setenv "LANG" "en_US.UTF-8")
7061 ;; For the missing /etc/machine-id.
7062 (setenv "DBUS_FATAL_WARNINGS" "0")
7063 #t)))))
b64e217f 7064 (native-inputs
5ada561c
KK
7065 `(("glib:bin" ,glib "bin")
7066 ("gnome-common" ,gnome-common)
b64e217f 7067 ("gobject-introspection" ,gobject-introspection)
5ada561c 7068 ("python-pygobject" ,python-pygobject)
b64e217f
MW
7069 ("intltool" ,intltool)
7070 ("pkg-config" ,pkg-config)
7071 ("vala" ,vala)))
7072 (inputs
7073 `(("gtk+" ,gtk+)
7074 ("dbus" ,dbus)
44ed6284 7075 ("sqlite" ,sqlite)
c8bdf589 7076 ("python" ,python)
b64e217f 7077 ("poppler" ,poppler)
b64e217f
MW
7078 ("libpng" ,libpng)
7079 ("libtiff" ,libtiff)
b64e217f 7080 ("zlib" ,zlib)
b64e217f 7081 ("libxml2" ,libxml2)
b64e217f 7082 ("libunistring" ,libunistring)
0ef48cd9 7083 ("json-glib" ,json-glib)
b64e217f 7084 ("openjpeg" ,openjpeg-1)
b64e217f 7085 ("libseccomp" ,libseccomp)
0ef48cd9 7086 ("libsoup" ,libsoup)
5ada561c
KK
7087 ("libuuid" ,util-linux)
7088 ("network-manager" ,network-manager)))
b64e217f
MW
7089 (synopsis "Metadata database, indexer and search tool")
7090 (home-page "https://wiki.gnome.org/Projects/Tracker")
7091 (description
7092 "Tracker is an advanced framework for first class objects with associated
7093metadata and tags. It provides a one stop solution for all metadata, tags,
7094shared object databases, search tools and indexing.")
7095 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7096 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7097 (license (list license:gpl2+
7098 license:lgpl2.1+
7099 license:lgpl2.0+))))
7100
03be9874
KK
7101(define-public tracker-miners
7102 (package
7103 (name "tracker-miners")
7104 (version "2.2.2")
7105 (source (origin
7106 (method url-fetch)
7107 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7108 (version-major+minor version)
7109 "/tracker-miners-" version ".tar.xz"))
7110 (sha256
7111 (base32
7112 "0kk5xaajamb8jlm6cfdbc2m3axzr6bnph84m7697xmb0pkg8hdiw"))))
7113 (build-system meson-build-system)
7114 (arguments
7115 `(#:glib-or-gtk? #t
7116 #:configure-flags
7117 (list "-Dminer_rss=false" ; libgrss is required.
7118 ;; Ensure the RUNPATH contains all installed library locations.
7119 (string-append "-Dc_link_args=-Wl,-rpath="
7120 (assoc-ref %outputs "out")
7121 "/lib/tracker-miners-2.0")
7122 ;; TODO: Enable functional tests. Currently, the following error
7123 ;; appears:
7124 ;; Exception: The functional tests require DConf to be the default
7125 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7126 "-Dfunctional_tests=false")))
7127 (native-inputs
7128 `(("dbus" ,dbus)
7129 ("intltool" ,intltool)
7130 ("glib:bin" ,glib "bin")
7131 ("gobject-introspection" ,gobject-introspection)
7132 ("pkg-config" ,pkg-config)
7133 ("python-pygobject" ,python-pygobject)))
7134 (inputs
7135 `(("exempi" ,exempi)
7136 ("ffmpeg" ,ffmpeg)
7137 ("flac" ,flac)
7138 ("giflib" ,giflib)
7139 ("glib" ,glib)
7140 ("gstreamer" ,gstreamer)
7141 ("icu4c" ,icu4c)
7142 ("libcue" ,libcue)
7143 ("libexif" ,libexif)
7144 ("libgsf" ,libgsf)
7145 ("libgxps" ,libgxps)
7146 ("libiptcdata" ,libiptcdata)
7147 ("libjpeg" ,libjpeg)
7148 ("libosinfo" ,libosinfo)
7149 ("libpng" ,libpng)
7150 ("libseccomp" ,libseccomp)
7151 ("libtiff" ,libtiff)
7152 ("libvorbis" ,libvorbis)
7153 ("libxml2" ,libxml2)
7154 ("poppler" ,poppler)
7155 ("taglib" ,taglib)
7156 ("totem-pl-parser" ,totem-pl-parser)
7157 ("tracker" ,tracker)
7158 ("upower" ,upower)
7159 ("zlib" ,zlib)))
7160 (synopsis "Metadata database, indexer and search tool")
7161 (home-page "https://wiki.gnome.org/Projects/Tracker")
7162 (description
7163 "Tracker is an advanced framework for first class objects with associated
7164metadata and tags. It provides a one stop solution for all metadata, tags,
7165shared object databases, search tools and indexing.")
7166 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7167 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7168 (license (list license:gpl2+
7169 license:lgpl2.1+
7170 license:lgpl2.0+))))
7171
8b877545
RS
7172(define-public nautilus
7173 (package
7174 (name "nautilus")
d682c599 7175 (version "3.32.3")
8b877545
RS
7176 (source (origin
7177 (method url-fetch)
7178 (uri (string-append "mirror://gnome/sources/" name "/"
7179 (version-major+minor version) "/"
7180 name "-" version ".tar.xz"))
7181 (sha256
7182 (base32
d682c599 7183 "1x9crzbj6rrrf8w5dkcx0c14j40byr4ijpzkwd5dcrbfvvdy1r01"))))
35e2d0cf 7184 (build-system meson-build-system)
8b877545 7185 (arguments
35e2d0cf 7186 '(#:glib-or-gtk? #t
8b877545
RS
7187 ;; XXX: FAIL: check-nautilus
7188 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7189 #:tests? #f))
7190 (native-inputs
35e2d0cf
R
7191 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7192 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7193 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
7194 ("gobject-introspection" ,gobject-introspection)
7195 ("intltool" ,intltool)
7196 ("pkg-config" ,pkg-config)))
8b877545 7197 (inputs
8b877545 7198 `(("dconf" ,dconf)
caf6c363 7199 ("gexiv2" ,gexiv2)
dd05e731 7200 ("gvfs" ,gvfs)
8b877545
RS
7201 ("exempi" ,exempi)
7202 ("gnome-desktop" ,gnome-desktop)
09d88905 7203 ("gnome-autoar" ,gnome-autoar)
3cafb9d4 7204 ("gst-plugins-base" ,gst-plugins-base)
ec66ebd4 7205 ("libseccomp" ,libseccomp)
35e2d0cf 7206 ("libselinux" ,libselinux)
09d88905 7207 ("tracker" ,tracker)
3cafb9d4 7208 ("tracker-miners" ,tracker-miners)
ce6027bf
SB
7209 ;; XXX: gtk+ is required by libnautilus-extension.pc
7210 ;;
7211 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7212 ;; package. See:
7213 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7214 ("gtk+" ,gtk+)
8b877545
RS
7215 ("libexif" ,libexif)
7216 ("libxml2" ,libxml2)))
7217 (synopsis "File manager for GNOME")
7218 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7219 (description
7220 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7221design and behaviour, giving the user a simple way to navigate and manage its
7222files.")
7223 (license license:gpl2+)))
3c697ffd
JR
7224
7225(define-public baobab
7226 (package
7227 (name "baobab")
e0c5f20c 7228 (version "3.32.0")
3c697ffd
JR
7229 (source (origin
7230 (method url-fetch)
7231 (uri (string-append
7232 "mirror://gnome/sources/" name "/"
7233 (version-major+minor version) "/"
7234 name "-" version ".tar.xz"))
7235 (sha256
7236 (base32
e0c5f20c 7237 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
d233d373
RJ
7238 (build-system meson-build-system)
7239 (arguments
7240 '(#:glib-or-gtk? #t))
3c697ffd
JR
7241 (native-inputs
7242 `(("intltool" ,intltool)
7243 ("pkg-config" ,pkg-config)
d233d373
RJ
7244 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7245 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
7246 ("itstool" ,itstool)
7247 ("xmllint" ,libxml2)
7248 ("glib" ,glib "bin")
7249 ("vala" ,vala)))
7250 (inputs
7251 `(("gtk+" ,gtk+)))
7252 (synopsis "Disk usage analyzer for GNOME")
7253 (description
7254 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7255usage in the GNOME desktop environment. It can easily scan device volumes or
7256a specific user-requested directory branch (local or remote). Once the scan
7257is complete it provides a graphical representation of each selected folder.")
7258 (home-page "https://wiki.gnome.org/Apps/Baobab")
7259 (license license:gpl2+)))
dc050251 7260
fdba447c
RS
7261(define-public gnome-backgrounds
7262 (package
7263 (name "gnome-backgrounds")
e04e8a8c 7264 (version "3.32.0")
fdba447c
RS
7265 (source
7266 (origin
7267 (method url-fetch)
7268 (uri (string-append "mirror://gnome/sources/" name "/"
7269 (version-major+minor version) "/"
7270 name "-" version ".tar.xz"))
7271 (sha256
7272 (base32
e04e8a8c 7273 "1s5krdmd3md44p1fgr2lqm5ifxb8s1vzx6hm11sb4cgzr4dw6lrz"))))
9ca381f0 7274 (build-system meson-build-system)
fdba447c
RS
7275 (native-inputs
7276 `(("intltool" ,intltool)))
e04e8a8c 7277 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
fdba447c
RS
7278 (synopsis "Background images for the GNOME desktop")
7279 (description
7280 "GNOME backgrounds package contains a collection of graphics files which
7281can be used as backgrounds in the GNOME Desktop environment. Additionally,
7282the package creates the proper framework and directory structure so that you
7283can add your own files to the collection.")
7284 (license (list license:gpl2+
7285 license:cc-by2.0
7286 license:cc-by-sa2.0
7287 license:cc-by-sa3.0))))
7288
b784b1a9
RS
7289(define-public gnome-screenshot
7290 (package
7291 (name "gnome-screenshot")
6acf4033 7292 (version "3.32.0")
b784b1a9
RS
7293 (source
7294 (origin
7295 (method url-fetch)
7296 (uri (string-append "mirror://gnome/sources/" name "/"
7297 (version-major+minor version) "/"
7298 name "-" version ".tar.xz"))
7299 (sha256
7300 (base32
6acf4033 7301 "09ha7dizjm5ymqpjyrqd10ijfb3xlqc1mwg9ajkrbfry11q9yq4b"))))
8356aefa 7302 (build-system meson-build-system)
b784b1a9
RS
7303 (native-inputs
7304 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8356aefa
RW
7305 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7306 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b784b1a9 7307 ("intltool" ,intltool)
8356aefa 7308 ("appstream-glib" ,appstream-glib)
b784b1a9
RS
7309 ("pkg-config" ,pkg-config)))
7310 (inputs
7311 `(("gtk+" ,gtk+)
7312 ("libcanberra" ,libcanberra)
7313 ("libx11" ,libx11)
7314 ("libxext" ,libxext)))
676e7cb4 7315 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
b784b1a9
RS
7316 (synopsis "Take pictures of your screen")
7317 (description
7318 "GNOME Screenshot is a utility used for taking screenshots of the entire
7319screen, a window or a user defined area of the screen, with optional
7320beautifying border effects.")
7321 (license license:gpl2+)))
7322
66d59111
RS
7323(define-public dconf-editor
7324 (package
7325 (name "dconf-editor")
66261451 7326 (version "3.32.0")
66d59111
RS
7327 (source
7328 (origin
7329 (method url-fetch)
7330 (uri (string-append "mirror://gnome/sources/" name "/"
7331 (version-major+minor version) "/"
7332 name "-" version ".tar.xz"))
7333 (sha256
7334 (base32
66261451 7335 "1fmsmlh16njjm948grz20mzrsvb4wjj7pl1fvkrkxqi7mhr177gi"))))
294ff39d 7336 (build-system meson-build-system)
86f2124b
LC
7337 (arguments
7338 '(#:phases (modify-phases %standard-phases
7339 (add-before 'configure 'set-glib-minimum-version
7340 (lambda _
7341 ;; Change the minimum required GLib version so that
7342 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
7343 ;; do that, it complains that "55" is not an even
7344 ;; number. See <https://bugs.gnu.org/37503>.
7345 (substitute* "editor/meson.build"
7346 (("2\\.55\\.1") "2.60.0"))
7347 #t)))))
66d59111
RS
7348 (native-inputs
7349 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
294ff39d 7350 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
66d59111 7351 ("intltool" ,intltool)
294ff39d
RW
7352 ("pkg-config" ,pkg-config)
7353 ("vala" ,vala)))
66d59111
RS
7354 (inputs
7355 `(("dconf" ,dconf)
7356 ("gtk+" ,gtk+)
7357 ("libxml2" ,libxml2)))
7358 (home-page "https://git.gnome.org/browse/dconf-editor")
7359 (synopsis "Graphical editor for GNOME's dconf configuration system")
7360 (description
7361 "Dconf-editor is a graphical tool for browsing and editing the dconf
7362configuration system for GNOME. It allows users to configure desktop
7363software that do not provide their own configuration interface.")
7364 (license license:lgpl2.1+)))
7365
96d36f38
AW
7366(define-public gnome-default-applications
7367 (package
7368 (name "gnome-default-applications")
7369 (version "0")
7370 (build-system trivial-build-system)
7371 (source #f)
7372 (propagated-inputs
8ad4f0aa
LC
7373 `(("nautilus" ,nautilus)
7374 ("evince" ,evince)))
96d36f38
AW
7375 (arguments
7376 `(#:modules ((guix build utils))
7377 #:builder
7378 (begin
7379 (use-modules (guix build utils))
7380 (let* ((out (assoc-ref %outputs "out"))
7381 (apps (string-append out "/share/applications")))
7382 (mkdir-p apps)
7383 (call-with-output-file (string-append apps "/defaults.list")
7384 (lambda (port)
7385 (format port "[Default Applications]\n")
8ad4f0aa
LC
7386 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7387 (format port "application/pdf=evince.desktop\n")
7388 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
7389 #t))))
7390 (synopsis "Default MIME type associations for the GNOME desktop")
7391 (description
7392 "Given many installed packages which might handle a given MIME type, a
7393user running the GNOME desktop probably has some preferences: for example,
7394that folders be opened by default by the Nautilus file manager, not the Baobab
7395disk usage analyzer. This package establishes that set of default MIME type
7396associations for GNOME.")
7397 (license license:gpl3+)
7398 (home-page #f)))
7399
dc050251
SB
7400(define-public gnome
7401 (package
7402 (name "gnome")
7403 (version (package-version gnome-shell))
7404 (source #f)
7405 (build-system trivial-build-system)
e3cfef22 7406 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251 7407 (propagated-inputs
8d8c6bff 7408 ;; TODO: Add or remove packages according to:
a8cda7f5 7409 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7922b6f7 7410 `(
8d8c6bff 7411 ;; GNOME-Core-OS-Services
7922b6f7 7412 ("accountsservice" ,accountsservice)
8d8c6bff
RG
7413 ("network-manager" ,network-manager)
7414 ("packagekit" ,packagekit)
7415 ("upower" ,upower)
7416 ;; GNOME-Core-Shell
7417 ("adwaita-icon-theme" ,adwaita-icon-theme)
7418 ("gdm" ,gdm)
7419 ("glib-networking" ,glib-networking)
7420 ("gnome-backgrounds" ,gnome-backgrounds)
7421 ("gnome-bluetooth" ,gnome-bluetooth)
7422 ("gnome-control-center" ,gnome-control-center)
7423 ("gnome-desktop" ,gnome-desktop)
7922b6f7 7424 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
8d8c6bff 7425 ("gnome-keyring" ,gnome-keyring)
7922b6f7 7426 ("gnome-menus" ,gnome-menus)
8d8c6bff
RG
7427 ("gnome-session" ,gnome-session)
7428 ("gnome-settings-daemon" ,gnome-settings-daemon)
7429 ("gnome-shell-extensions" ,gnome-shell-extensions)
7430 ("gnome-shell" ,gnome-shell)
7431 ("gnome-themes-extra" ,gnome-themes-extra)
7922b6f7 7432 ("gnome-user-docs" ,gnome-user-docs)
a8cda7f5 7433 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8d8c6bff
RG
7434 ("gvfs" ,gvfs)
7435 ("mutter" ,mutter)
7436 ("orca" ,orca)
7437 ;; GNOME-Core-Utilities
7438 ("baobab" ,baobab)
7439 ("cheese" ,cheese)
7440 ("eog" ,eog)
7441 ("epiphany" ,epiphany)
7442 ("evince" ,evince)
7443 ("file-roller" ,file-roller)
7444 ("gedit" ,gedit)
7445 ("gnome-calculator" ,gnome-calculator)
7446 ("gnome-calendar" ,gnome-calendar)
7447 ("gnome-characters" ,gnome-characters)
7448 ("gnome-clocks" ,gnome-clocks)
7449 ("gnome-contacts" ,gnome-contacts)
7450 ("gnome-disk-utility" ,gnome-disk-utility)
7451 ("gnome-font-viewer" ,gnome-font-viewer)
7452 ("gnome-maps" ,gnome-maps)
7453 ("gnome-screenshot" ,gnome-screenshot)
7454 ("gnome-system-monitor" ,gnome-system-monitor)
7455 ("gnome-terminal" ,gnome-terminal)
7456 ("nautilus" ,nautilus)
7457 ("simple-scan" ,simple-scan)
7458 ("totem" ,totem)
7922b6f7
RG
7459 ("yelp" ,yelp)
7460 ;; Others
7461 ("hicolor-icon-theme" ,hicolor-icon-theme)
7462 ("gnome-online-accounts" ,gnome-online-accounts)))
fe4e698d 7463 (synopsis "The GNU desktop environment")
dc050251
SB
7464 (home-page "https://www.gnome.org/")
7465 (description
fe4e698d
LC
7466 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7467applications for browsing the web, editing text and images, creating
7468documents and diagrams, playing media, scanning, and much more.")
dc050251 7469 (license license:gpl2+)))
4a526711
DT
7470
7471(define-public byzanz
7472 ;; The last stable release of Byzanz was in 2011, but there have been many
7473 ;; useful commits made to the Byzanz repository since then that it would be
7474 ;; silly to use such an old release.
7475 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7476 (package
7477 (name "byzanz")
7478 (version (string-append "0.2-1." (string-take commit 7)))
7479 (source (origin
7480 (method git-fetch)
7481 (uri (git-reference
5f13bf09 7482 (url "https://git.gnome.org/browse/byzanz")
4a526711 7483 (commit commit)))
5a6527e4 7484 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
7485 (sha256
7486 (base32
7487 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7488 (build-system glib-or-gtk-build-system)
7489 (arguments
7490 '(#:phases
7491 (modify-phases %standard-phases
189be331 7492 (replace 'bootstrap
4a526711
DT
7493 (lambda _
7494 ;; The build system cleverly detects that we're not building from
7495 ;; a release tarball and turns on -Werror for GCC.
7496 ;; Unsurprisingly, there is a warning during compilation that
7497 ;; causes the build to fail unnecessarily, so we remove the flag.
7498 (substitute* '("configure.ac")
7499 (("-Werror") ""))
7500 ;; The autogen.sh script in gnome-common will run ./configure
7501 ;; by default, which is problematic because source shebangs
7502 ;; have not yet been patched.
7503 (setenv "NOCONFIGURE" "t")
7504 (zero? (system* "sh" "autogen.sh")))))))
7505 (native-inputs
7506 `(("autoconf" ,autoconf)
7507 ("automake" ,automake)
7508 ("gnome-common" ,gnome-common)
7509 ("intltool" ,intltool)
7510 ("libtool" ,libtool)
7511 ("pkg-config" ,pkg-config)
7512 ("which" ,which)))
7513 (inputs
7514 `(("glib" ,glib)
7515 ("gstreamer" ,gstreamer)
7516 ("gst-plugins-base" ,gst-plugins-base)
7517 ("gtk+" ,gtk+)))
7518 (synopsis "Desktop recording program")
7519 (description "Byzanz is a simple desktop recording program with a
7520command-line interface. It can record part or all of an X display for a
7521specified duration and save it as a GIF encoded animated image file.")
7522 (home-page "https://git.gnome.org/browse/byzanz")
7523 (license license:gpl2+))))
3a9a4c51 7524
0ec171ec
MS
7525(define-public gsound
7526 (package
7527 (name "gsound")
7528 (version "1.0.2")
7529 (source (origin
7530 (method url-fetch)
7531 (uri (string-append "mirror://gnome/sources/" name "/"
7532 (version-major+minor version) "/"
7533 name "-" version ".tar.xz"))
7534 (sha256
7535 (base32
7536 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7537 (build-system glib-or-gtk-build-system)
7538 (native-inputs
7539 `(("pkg-config" ,pkg-config)
7540 ("gobject-introspection" ,gobject-introspection)
7541 ("vala" ,vala)))
7542 (inputs
7543 `(("glib" ,glib)
7544 ("libcanberra" ,libcanberra)))
7545 (home-page "https://wiki.gnome.org/Projects/GSound")
7546 (synopsis "GObject wrapper for libcanberra")
7547 (description
7548 "GSound is a small library for playing system sounds. It's designed to be
7549used via GObject Introspection, and is a thin wrapper around the libcanberra C
7550library.")
7551 (license license:lgpl2.1+)))
7552
3a9a4c51
RS
7553(define-public libzapojit
7554 (package
7555 (name "libzapojit")
7556 (version "0.0.3")
7557 (source (origin
7558 (method url-fetch)
7559 (uri (string-append "mirror://gnome/sources/" name "/"
7560 (version-major+minor version) "/"
7561 name "-" version ".tar.xz"))
7562 (sha256
7563 (base32
7564 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
7565 (build-system gnu-build-system)
7566 (native-inputs
7567 `(("gobject-introspection" ,gobject-introspection)
7568 ("intltool" ,intltool)
7569 ("pkg-config" ,pkg-config)))
7570 (inputs
14c297fd 7571 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
3a9a4c51
RS
7572 ("json-glib" ,json-glib)
7573 ("rest" ,rest)))
7574 (home-page "https://wiki.gnome.org/Projects/Zapojit")
7575 (synopsis "Library for accessing SkyDrive and Hotmail")
7576 (description
7577 "Libzapojit is a GLib-based library for accessing online service APIs of
7578Microsoft SkyDrive and Hotmail, using their REST protocols.")
7579 (license license:lgpl2.1+)))
9365ee1c 7580
60e2a9ae
MS
7581(define-public gnome-clocks
7582 (package
7583 (name "gnome-clocks")
c76d0dbc 7584 (version "3.32.0")
60e2a9ae
MS
7585 (source (origin
7586 (method url-fetch)
7587 (uri (string-append "mirror://gnome/sources/" name "/"
7588 (version-major+minor version) "/"
7589 name "-" version ".tar.xz"))
7590 (sha256
7591 (base32
c76d0dbc 7592 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
60e2a9ae
MS
7593 (build-system meson-build-system)
7594 (arguments
7595 '(#:glib-or-gtk? #t))
7596 (native-inputs
7597 `(("vala" ,vala)
7598 ("pkg-config" ,pkg-config)
7599 ("glib" ,glib "bin") ; for glib-compile-resources
7600 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7601 ("desktop-file-utils" ,desktop-file-utils)
7602 ("gettext" ,gettext-minimal)
7603 ("itstool" ,itstool)))
7604 (inputs
7605 `(("glib" ,glib)
7606 ("gtk+" ,gtk+)
7607 ("gsound" ,gsound)
7608 ("geoclue" ,geoclue)
7609 ("geocode-glib" ,geocode-glib)
7610 ("libgweather" ,libgweather)
7611 ("gnome-desktop" ,gnome-desktop)))
7612 (home-page "https://wiki.gnome.org/Apps/Clocks")
7613 (synopsis "GNOME's clock application")
7614 (description
7615 "GNOME Clocks is a simple clocks application designed to fit the GNOME
7616desktop. It supports world clock, stop watch, alarms, and count down timer.")
7617 (license license:gpl3+)))
7618
3c474897
KY
7619(define-public gnome-calendar
7620 (package
7621 (name "gnome-calendar")
339b59bf 7622 (version "3.32.2")
3c474897
KY
7623 (source (origin
7624 (method url-fetch)
7625 (uri (string-append "mirror://gnome/sources/" name "/"
7626 (version-major+minor version) "/"
7627 name "-" version ".tar.xz"))
7628 (sha256
7629 (base32
339b59bf 7630 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
a49d3e37
MS
7631 (build-system meson-build-system)
7632 (arguments
7633 '(#:glib-or-gtk? #t
7634 ;; gnome-calendar has to be installed before the tests can be run
7635 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
7636 #:tests? #f))
3c474897 7637 (native-inputs
a49d3e37
MS
7638 `(("gettext" ,gettext-minimal)
7639 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
7640 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
7641 ("pkg-config" ,pkg-config)))
7642 (inputs
a49d3e37 7643 `(("evolution-data-server" ,evolution-data-server)
14c297fd 7644 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
a286b5eb
RW
7645 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7646 ("libdazzle" ,libdazzle)
b63c06f1 7647 ("libedataserverui" ,evolution-data-server)
a286b5eb
RW
7648 ("libgweather" ,libgweather)
7649 ("geoclue" ,geoclue)))
3c474897
KY
7650 (home-page "https://wiki.gnome.org/Apps/Calendar")
7651 (synopsis "GNOME's calendar application")
7652 (description
7653 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 7654desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
7655 (license license:gpl3+)))
7656
57b14665
MS
7657(define-public gnome-todo
7658 (package
7659 (name "gnome-todo")
9f3c6c88 7660 (version "3.28.1")
57b14665
MS
7661 (source (origin
7662 (method url-fetch)
7663 (uri (string-append "mirror://gnome/sources/" name "/"
7664 (version-major+minor version) "/"
7665 name "-" version ".tar.xz"))
7666 (sha256
7667 (base32
9f3c6c88 7668 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
57b14665
MS
7669 (build-system meson-build-system)
7670 (arguments
7671 '(#:glib-or-gtk? #t
7672 #:phases (modify-phases %standard-phases
7673 (add-after
7674 'install 'wrap-gnome-todo
7675 (lambda* (#:key inputs outputs #:allow-other-keys)
7676 (let ((out (assoc-ref outputs "out"))
7677 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7678 (python-path (getenv "PYTHONPATH")))
7679 (wrap-program (string-append out "/bin/gnome-todo")
7680 ;; XXX: gi plugins are broken.
7681 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
7682 ;; For plugins.
7683 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7684 `("PYTHONPATH" ":" prefix (,python-path))))
7685 #t)))))
7686 (native-inputs
7687 `(("gettext" ,gettext-minimal)
7688 ("gobject-introspection" ,gobject-introspection)
7689 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7690 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7691 ("pkg-config" ,pkg-config)))
7692 (inputs
7693 `(("rest" ,rest) ; For Todoist plugin
7694 ("json-glib" ,json-glib) ; For Todoist plugin
b63c06f1 7695 ("libedataserverui" ,evolution-data-server)
57b14665
MS
7696 ("libical" ,libical)
7697 ("libpeas" ,libpeas)
7698 ("python-pygobject" ,python-pygobject)
7699 ("evolution-data-server" ,evolution-data-server)
14c297fd 7700 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
57b14665
MS
7701 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
7702 (home-page "https://wiki.gnome.org/Apps/Todo")
7703 (synopsis "GNOME's ToDo Application")
7704 (description
7705 "GNOME To Do is a simplistic personal task manager designed to perfectly
7706fit the GNOME desktop.")
7707 (license license:gpl3+)))
7708
ab179eaf
SB
7709(define-public gnome-dictionary
7710 (package
7711 (name "gnome-dictionary")
cf81ddef 7712 (version "3.26.1")
ab179eaf
SB
7713 (source (origin
7714 (method url-fetch)
7715 (uri (string-append "mirror://gnome/sources/" name "/"
7716 (version-major+minor version) "/"
7717 name "-" version ".tar.xz"))
7718 (sha256
7719 (base32
cf81ddef
LC
7720 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
7721 (build-system meson-build-system)
2776b5d5
MB
7722 (arguments '(#:glib-or-gtk? #t
7723 #:phases (modify-phases %standard-phases
7724 (add-after 'unpack 'patch-install-script
7725 (lambda _
7726 ;; This script attempts to compile glib schemas
7727 ;; and create an empty MIME database. We do
7728 ;; that elsewhere, so prevent it from running.
7729 (substitute* "build-aux/post-install.sh"
7730 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
7731 #t)))))
ab179eaf
SB
7732 (native-inputs
7733 `(("glib:bin" ,glib "bin")
7734 ("gobject-introspection" ,gobject-introspection)
7735 ("intltool" ,intltool)
7736 ("itstool" ,itstool)
7737 ("pkg-config" ,pkg-config)
7738 ("xmllint" ,libxml2)))
7739 (inputs
7740 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7741 ("gtk+" ,gtk+)))
7742 (home-page "https://wiki.gnome.org/Apps/Dictionary")
7743 (synopsis "Look up words in dictionary sources")
7744 (description
7745 "GNOME Dictionary can look for the definition or translation of a word in
7746existing databases over the internet.")
7747 (license license:gpl3+)))
7748
d13f3a03 7749(define-public gnome-tweaks
9365ee1c 7750 (package
d13f3a03 7751 (name "gnome-tweaks")
652af676 7752 (version "3.32.0")
9365ee1c
JN
7753 (source (origin
7754 (method url-fetch)
d13f3a03 7755 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9365ee1c 7756 (version-major+minor version) "/"
d13f3a03
RW
7757 "gnome-tweaks-" version ".tar.xz"))
7758 (patches
7759 (list (search-patch "gnome-tweaks-search-paths.patch")))
9365ee1c
JN
7760 (sha256
7761 (base32
652af676 7762 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
d13f3a03 7763 (build-system meson-build-system)
9365ee1c 7764 (arguments
d13f3a03
RW
7765 `(#:glib-or-gtk? #t
7766 #:configure-flags '("-Dlocalstatedir=/tmp"
7767 "-Dsysconfdir=/tmp")
9365ee1c 7768 #:imported-modules ((guix build python-build-system)
d13f3a03
RW
7769 ,@%meson-build-system-modules)
7770 #:phases
7771 (modify-phases %standard-phases
7772 (add-after 'install 'wrap
7773 (@@ (guix build python-build-system) wrap))
7774 (add-after 'wrap 'wrap-gi-typelib
7775 (lambda* (#:key inputs outputs #:allow-other-keys)
7776 (let ((out (assoc-ref outputs "out"))
7777 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7778 (wrap-program (string-append out "/bin/gnome-tweaks")
7779 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7780 #t)))))
9365ee1c 7781 (native-inputs
c7fc414e
RH
7782 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7783 ("intltool" ,intltool)
9365ee1c
JN
7784 ("pkg-config" ,pkg-config)))
7785 (inputs
c7fc414e
RH
7786 `(("gnome-desktop" ,gnome-desktop)
7787 ("gtk+" ,gtk+)
9365ee1c
JN
7788 ("gobject-introspection" ,gobject-introspection)
7789 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
7790 ("libnotify" ,libnotify)
7791 ("libsoup" ,libsoup)
7792 ("nautilus" ,nautilus)
7793 ("python" ,python)
7794 ("python-pygobject" ,python-pygobject)))
9365ee1c 7795 (synopsis "Customize advanced GNOME 3 options")
d13f3a03 7796 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9365ee1c 7797 (description
d13f3a03 7798 "GNOME Tweaks allows adjusting advanced configuration settings in
9365ee1c
JN
7799GNOME 3. This includes things like the fonts used in user interface elements,
7800alternative user interface themes, changes in window management behavior,
7801GNOME Shell appearance and extension, etc.")
7802 (license license:gpl3+)))
813f814a 7803
d13f3a03
RW
7804;; This package has been renamed by upstream.
7805(define-public gnome-tweak-tool
7806 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
7807
32ac717c
DT
7808(define-public gnome-shell-extensions
7809 (package
7810 (name "gnome-shell-extensions")
ae4c05e0 7811 (version "3.32.1")
32ac717c
DT
7812 (source (origin
7813 (method url-fetch)
7814 (uri (string-append "mirror://gnome/sources/" name "/"
7815 (version-major+minor version) "/"
7816 name "-" version ".tar.xz"))
7817 (sha256
7818 (base32
ae4c05e0 7819 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
100f625b 7820 (build-system meson-build-system)
32ac717c 7821 (arguments
100f625b 7822 '(#:configure-flags '("-Dextension_set=all")))
32ac717c 7823 (native-inputs
c9ea8873
LP
7824 `(("glib:bin" ,glib "bin")
7825 ("intltool" ,intltool)
32ac717c
DT
7826 ("pkg-config" ,pkg-config)))
7827 (propagated-inputs
c9ea8873 7828 `(("glib" ,glib)))
32ac717c
DT
7829 (synopsis "Extensions for GNOME Shell")
7830 (description "GNOME Shell extensions modify and extend GNOME Shell
7831functionality and behavior.")
7832 (home-page "https://extensions.gnome.org/")
7833 (license license:gpl3+)))
7834
813f814a
DT
7835(define-public arc-theme
7836 (package
7837 (name "arc-theme")
37781323 7838 (version "20190917")
813f814a 7839 (source (origin
a18f8eaf
BH
7840 (method git-fetch)
7841 (uri (git-reference
7842 (url "https://github.com/NicoHood/arc-theme.git")
7843 (commit version)))
7844 (file-name (git-file-name name version))
813f814a
DT
7845 (sha256
7846 (base32
37781323 7847 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
813f814a 7848 (build-system gnu-build-system)
d88884fa
EF
7849 (arguments
7850 '(#:phases
7851 (modify-phases %standard-phases
7852 ;; autogen.sh calls configure at the end of the script.
7853 (replace 'bootstrap
7854 (lambda _ (invoke "autoreconf" "-vfi"))))))
813f814a
DT
7855 (native-inputs
7856 `(("autoconf" ,autoconf)
7857 ("automake" ,automake)
a18f8eaf
BH
7858 ("glib" ,glib "bin") ; for glib-compile-resources
7859 ("gnome-shell" ,gnome-shell)
7860 ("gtk+" ,gtk+)
7861 ("inkscape" ,inkscape)
7862 ("optipng" ,optipng)
7863 ("pkg-config" ,pkg-config)
7864 ("sassc" ,sassc)))
813f814a
DT
7865 (synopsis "A flat GTK+ theme with transparent elements")
7866 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
78672, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
7868like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
7869 (home-page "https://github.com/horst3180/arc-theme")
7870 ;; No "or later" language found.
a18f8eaf 7871 (license license:gpl3+)))
9987c57c 7872
d935e6a1 7873(define-public faba-icon-theme
9987c57c 7874 (package
d935e6a1 7875 (name "faba-icon-theme")
2eee7ee3 7876 (version "4.3")
d935e6a1
BT
7877 (source
7878 (origin
757e4027
TGR
7879 (method git-fetch)
7880 (uri (git-reference
7881 (url "https://github.com/snwh/faba-icon-theme.git")
7882 (commit (string-append "v" version))))
7883 (file-name (git-file-name name version))
d935e6a1 7884 (sha256
757e4027 7885 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
f6a9b345 7886 (build-system meson-build-system)
9987c57c 7887 (arguments
82da291a 7888 `(#:phases
9987c57c 7889 (modify-phases %standard-phases
82da291a 7890 (add-before 'configure 'disable-post-install
9987c57c 7891 (lambda _
82da291a
JL
7892 (substitute* "meson.build"
7893 (("meson.add_install_script.*") "")))))))
9987c57c
DT
7894 (native-inputs
7895 `(("autoconf" ,autoconf)
7896 ("automake" ,automake)))
d935e6a1
BT
7897 (synopsis "Faba icon theme")
7898 (description
7899 "Faba is a minimal icon set used as a basis for other themes such as
7900Moka")
7901 (home-page "https://snwh.org/moka")
7902 (license (list license:lgpl3+
7903 license:cc-by-sa4.0))))
7904
9987c57c
DT
7905(define-public moka-icon-theme
7906 (package
8b0e4177 7907 (inherit faba-icon-theme)
9987c57c 7908 (name "moka-icon-theme")
105a3625 7909 (version "5.4.0")
8c3f2170
TGR
7910 (source
7911 (origin
7912 (method git-fetch)
7913 (uri (git-reference
7914 (url "https://github.com/snwh/moka-icon-theme.git")
7915 (commit (string-append "v" version))))
7916 (file-name (git-file-name name version))
7917 (sha256
7918 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
550281fb
BT
7919 (propagated-inputs
7920 ;; Moka is based on Faba by using it as a fallback icon set instead of
7921 ;; bundling it, so we need to add it as a propagated input.
7922 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
7923 (synopsis "Moka icon theme")
7924 (description "Moka is a stylized desktop icon set, designed to be clear,
7925simple and consistent.")
fedde43b
BT
7926 (license (list license:gpl3+
7927 license:cc-by-sa4.0))))
6fd8f8d6
DT
7928
7929(define-public arc-icon-theme
7930 (package
7931 (name "arc-icon-theme")
c4180240 7932 (version "20161122")
bbf66cbf
TGR
7933 (source
7934 (origin
7935 (method git-fetch)
7936 (uri (git-reference
7937 (url "https://github.com/horst3180/arc-icon-theme.git")
7938 (commit version)))
7939 (file-name (git-file-name name version))
7940 (sha256
7941 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
6fd8f8d6 7942 (build-system gnu-build-system)
9e1ede95
JL
7943 (arguments
7944 `(#:phases
7945 (modify-phases %standard-phases
7946 (add-after 'unpack 'disable-configure-during-bootstrap
7947 (lambda _
7948 (substitute* "autogen.sh"
7949 (("^\"\\$srcdir/configure\".*") ""))
7950 #t)))))
6fd8f8d6
DT
7951 (native-inputs
7952 `(("autoconf" ,autoconf)
7953 ("automake" ,automake)))
7954 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7955 (propagated-inputs
7956 `(("moka-icon-theme" ,moka-icon-theme)))
7957 (synopsis "Arc icon theme")
7958 (description "The Arc icon theme provides a set of icons matching the
7959style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7960the Moka icon theme.")
7961 (home-page "https://github.com/horst3180/arc-icon-theme")
7962 (license license:gpl3+)))
6064a4e8
LF
7963
7964(define-public folks
7965 (package
7966 (name "folks")
d23495fa 7967 (version "0.11.4")
6064a4e8
LF
7968 (source (origin
7969 (method url-fetch)
7970 (uri (string-append
e5f4796e 7971 "mirror://gnome/sources/folks/"
6064a4e8 7972 (version-major+minor version) "/"
e5f4796e 7973 "folks-" version ".tar.xz"))
6064a4e8
LF
7974 (sha256
7975 (base32
d23495fa 7976 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6064a4e8
LF
7977 (build-system glib-or-gtk-build-system)
7978 (inputs
7979 `(("bdb" ,bdb)
7980 ("dbus-glib" ,dbus-glib)
7981 ("evolution-data-server" ,evolution-data-server)
7982 ("glib" ,glib)
7983 ("libgee" ,libgee)
7984 ("telepathy-glib" ,telepathy-glib)))
7985 (native-inputs
7986 `(("gobject-introspection" ,gobject-introspection)
7987 ("intltool" ,intltool)
7988 ("pkg-config" ,pkg-config)
7989 ("vala" ,vala)))
7990 (synopsis "Library to aggregate data about people")
7991 (description "Libfolks is a library that aggregates information about people
7992from multiple sources (e.g., Telepathy connection managers for IM contacts,
7993Evolution Data Server for local contacts, libsocialweb for web service contacts,
7994etc.) to create metacontacts. It's written in Vala, which generates C code when
7995compiled.")
7996 (home-page "https://wiki.gnome.org/Projects/Folks")
7997 (license license:lgpl2.1+)))
01ea778f
LF
7998
7999(define-public gfbgraph
8000 (package
8001 (name "gfbgraph")
8002 (version "0.2.3")
8003 (source (origin
8004 (method url-fetch)
8005 (uri (string-append
237d4cf7 8006 "mirror://gnome/sources/gfbgraph/"
01ea778f 8007 (version-major+minor version) "/"
237d4cf7 8008 "gfbgraph-" version ".tar.xz"))
01ea778f
LF
8009 (sha256
8010 (base32
8011 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
8012 (build-system glib-or-gtk-build-system)
8013 (arguments
8014 `(#:tests? #f ; Tests appear to require the network.
8015 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
8016 #:configure-flags '("--disable-gtk-doc"
8017 "--disable-static"
8018 "--enable-introspection")))
8019 (native-inputs
8020 `(("pkg-config" ,pkg-config)
8021 ("gobject-introspection" ,gobject-introspection)))
8022 (inputs
8023 `(("json-glib" ,json-glib)
14c297fd 8024 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
01ea778f
LF
8025 ("rest" ,rest)))
8026 (synopsis "GLib/GObject wrapper for the Facebook API")
8027 (description "This library allows you to use the Facebook API from
8028GLib/GObject code.")
8029 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8030 (license license:lgpl2.1+)))
3920868c 8031
8032(define-public libgnomekbd
8033 (package
8034 (name "libgnomekbd")
70f2b0f9 8035 (version "3.26.1")
3920868c 8036 (source (origin
8037 (method url-fetch)
d47fa82d 8038 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
3920868c 8039 (version-major+minor version) "/"
d47fa82d 8040 "libgnomekbd-" version ".tar.xz"))
3920868c 8041 (sha256
8042 (base32
70f2b0f9 8043 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
3920868c 8044 (build-system gnu-build-system)
8045 (native-inputs
8046 `(("pkg-config" ,pkg-config)
8047 ("glib" ,glib "bin")
8048 ("intltool" ,intltool)))
8049 (propagated-inputs
8050 ;; Referred to in .h files and .pc.
8051 `(("glib" ,glib)
8052 ("gtk+" ,gtk+)
8053 ("libxklavier" ,libxklavier)))
8054 (home-page "https://www.gnome.org")
8055 (synopsis "GNOME keyboard configuration library")
8056 (description
8057 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8058environment, which can notably display keyboard layouts.")
8059 (license license:lgpl2.0+)))
85327d0d 8060
8061;;; This package is no longer maintained:
8062;;; https://wiki.gnome.org/Attic/LibUnique
8063;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8064;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8065(define-public libunique
8066 (package
8067 (name "libunique")
8068 (version "3.0.2")
8069 (source (origin
8070 (method url-fetch)
8071 (uri (string-append "mirror://gnome/sources/" name "/"
8072 (version-major+minor version) "/"
8073 name "-" version ".tar.xz"))
8074 (sha256
8075 (base32
8076 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8077 (build-system glib-or-gtk-build-system)
8078 (arguments
8079 `(#:configure-flags '("--disable-static"
8080 "--disable-dbus" ; use gdbus
8081 "--enable-introspection")))
8082 (native-inputs
8083 `(("pkg-config" ,pkg-config)
8084 ("gobject-introspection" ,gobject-introspection)
8085 ("glib:bin" ,glib "bin")
8086 ("gtk-doc" ,gtk-doc)))
8087 (propagated-inputs
8088 ;; Referred to in .h files and .pc.
8089 `(("gtk+" ,gtk+)))
8090 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8091 (synopsis "Library for writing single instance applications")
8092 (description
8093 "Libunique is a library for writing single instance applications. If you
8094launch a single instance application twice, the second instance will either just
8095quit or will send a message to the running instance. Libunique makes it easy to
8096write this kind of application, by providing a base class, taking care of all
8097the IPC machinery needed to send messages to a running instance, and also
8098handling the startup notification side.")
8099 (license license:lgpl2.1+)))
54021cd8
RS
8100
8101(define-public gnome-calculator
8102 (package
8103 (name "gnome-calculator")
07ace641 8104 (version "3.32.2")
54021cd8
RS
8105 (source
8106 (origin
8107 (method url-fetch)
8108 (uri (string-append "mirror://gnome/sources/" name "/"
8109 (version-major+minor version) "/"
8110 name "-" version ".tar.xz"))
8111 (sha256
8112 (base32
07ace641 8113 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
2d475910
RW
8114 (build-system meson-build-system)
8115 (arguments '(#:glib-or-gtk? #t))
54021cd8
RS
8116 (native-inputs
8117 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
2d475910 8118 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
54021cd8
RS
8119 ("intltool" ,intltool)
8120 ("itstool" ,itstool)
2d475910 8121 ("vala" ,vala)
54021cd8
RS
8122 ("pkg-config" ,pkg-config)))
8123 (inputs
112e9083 8124 `(("glib" ,glib)
07ace641 8125 ("gtksourceview" ,gtksourceview)
54021cd8 8126 ("libsoup" ,libsoup)
112e9083 8127 ("libxml2" ,libxml2)
2c2da7ec 8128 ("mpc" ,mpc)
54021cd8
RS
8129 ("mpfr" ,mpfr)))
8130 (home-page "https://wiki.gnome.org/Apps/Calculator")
8131 (synopsis "Desktop calculator")
8132 (description
8133 "Calculator is an application that solves mathematical equations and
8134is suitable as a default application in a Desktop environment.")
8135 (license license:gpl3)))
0bd69759
RS
8136
8137(define-public xpad
8138 (package
8139 (name "xpad")
c85626bb 8140 (version "5.1.0")
0bd69759
RS
8141 (source
8142 (origin
8143 (method url-fetch)
08fda9c6
R
8144 (uri (string-append "https://launchpad.net/xpad/trunk/"
8145 version "/+download/"
0bd69759
RS
8146 name "-" version ".tar.bz2"))
8147 (sha256
8148 (base32
c85626bb 8149 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
8150 (build-system gnu-build-system)
8151 (native-inputs
08fda9c6
R
8152 `(("autoconf" ,autoconf)
8153 ("automake" ,automake)
8154 ("gtk+:bin" ,gtk+ "bin")
8155 ("intltool" ,intltool)
0bd69759
RS
8156 ("pkg-config" ,pkg-config)))
8157 (inputs
c72647fb 8158 `(("gtksourceview" ,gtksourceview-3)
0bd69759
RS
8159 ("libsm" ,libsm)))
8160 (home-page "https://wiki.gnome.org/Apps/Xpad")
8161 (synopsis "Virtual sticky note")
8162 (description
8163 "Xpad is a sticky note that strives to be simple, fault tolerant,
8164and customizable. Xpad consists of independent pad windows, each is
8165basically a text box in which notes can be written.")
8166 (license license:gpl3+)))
3ad7dce1
RS
8167
8168(define-public gucharmap
c60063ea
RW
8169 (let ((unicode-files
8170 '(("Blocks.txt"
1f8b5515 8171 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
c60063ea 8172 ("DerivedAge.txt"
1f8b5515 8173 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
c60063ea 8174 ("NamesList.txt"
1f8b5515 8175 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
c60063ea 8176 ("Scripts.txt"
1f8b5515 8177 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
c60063ea 8178 ("UnicodeData.txt"
1f8b5515 8179 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
c60063ea 8180 ("Unihan.zip"
1f8b5515 8181 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
c60063ea
RW
8182 (package
8183 (name "gucharmap")
1f8b5515 8184 (version "12.0.1")
c60063ea
RW
8185 (source
8186 (origin
8187 (method url-fetch)
8188 (uri (string-append "mirror://gnome/sources/" name "/"
8189 (version-major+minor version) "/"
8190 name "-" version ".tar.xz"))
8191 (sha256
8192 (base32
1f8b5515 8193 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
c60063ea
RW
8194 (build-system glib-or-gtk-build-system)
8195 (arguments
8196 `(#:modules ((ice-9 match)
8197 (guix build glib-or-gtk-build-system)
8198 (guix build utils))
8199 #:configure-flags
8200 (list "--with-unicode-data=../unicode-data")
8201 #:phases
8202 (modify-phases %standard-phases
8203 (add-after 'unpack 'prepare-unicode-data
8204 (lambda* (#:key inputs #:allow-other-keys)
8205 (mkdir-p "../unicode-data")
8206 (with-directory-excursion "../unicode-data"
8207 (for-each (match-lambda
8208 ((file _)
8209 (install-file (assoc-ref inputs file) ".")))
8210 ',unicode-files))
8211 #t)))))
8212 (native-inputs
8213 `(("desktop-file-utils" ,desktop-file-utils)
8214 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8215 ("gobject-introspection" ,gobject-introspection)
8216 ("intltool" ,intltool)
8217 ("itstool" ,itstool)
8218 ("pkg-config" ,pkg-config)
8219 ,@(map (match-lambda
8220 ((file hash)
8221 `(,file
8222 ,(origin
8223 (method url-fetch)
8224 (uri (string-append
1f8b5515 8225 "http://www.unicode.org/Public/12.0.0/ucd/"
c60063ea
RW
8226 file))
8227 (sha256 (base32 hash))))))
8228 unicode-files)
8229 ("unzip" ,unzip)))
8230 (inputs
8231 `(("gtk+" ,gtk+)
8232 ("xmllint" ,libxml2)))
8233 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8234 (synopsis "Unicode character picker and font browser")
8235 (description
8236 "This program allows you to browse through all the available Unicode
3ad7dce1
RS
8237characters and categories for the installed fonts, and to examine their
8238detailed properties. It is an easy way to find the character you might
8239only know by its Unicode name or code point.")
c60063ea 8240 (license license:gpl3+))))
04ce840a
RS
8241
8242(define-public bluefish
8243 (package
8244 (name "bluefish")
ea8afaf3 8245 (version "2.2.10")
04ce840a
RS
8246 (source
8247 (origin
8248 (method url-fetch)
8249 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8250 name "-" version ".tar.gz"))
8251 (sha256
8252 (base32
ea8afaf3 8253 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
04ce840a
RS
8254 (build-system gnu-build-system)
8255 (native-inputs
8256 `(("desktop-file-utils" ,desktop-file-utils)
8257 ("intltool" ,intltool)
8258 ("pkg-config" ,pkg-config)))
8259 (inputs
8260 `(("enchant" ,enchant)
8261 ("gtk+" ,gtk+)
8262 ("python" ,python-2)
8263 ("xmllint" ,libxml2)
8264 ("gucharmap" ,gucharmap)))
8265 (home-page "http://bluefish.openoffice.nl")
8266 (synopsis "Web development studio")
8267 (description
8268 "Bluefish is an editor targeted towards programmers and web developers,
8269with many options to write web sites, scripts and other code.
8270Bluefish supports many programming and markup languages.")
8271 (license license:gpl3+)))
1f6a73ee
RS
8272
8273(define-public gnome-system-monitor
8274 (package
8275 (name "gnome-system-monitor")
083cffaf 8276 (version "3.32.1")
1f6a73ee
RS
8277 (source
8278 (origin
8279 (method url-fetch)
8280 (uri (string-append "mirror://gnome/sources/" name "/"
8281 (version-major+minor version) "/"
8282 name "-" version ".tar.xz"))
8283 (sha256
8284 (base32
083cffaf 8285 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
85fb3df3
RW
8286 (build-system meson-build-system)
8287 (arguments
8288 '(#:glib-or-gtk? #t
8289 #:configure-flags '("-Dsystemd=false")))
1f6a73ee
RS
8290 (native-inputs
8291 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
85fb3df3 8292 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
1f6a73ee
RS
8293 ("intltool" ,intltool)
8294 ("itstool" ,itstool)
8295 ("libgtop" ,libgtop)
4985d9aa 8296 ("polkit" ,polkit)
1f6a73ee
RS
8297 ("pkg-config" ,pkg-config)))
8298 (inputs
8299 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8300 ("gtk+" ,gtk+)
8301 ("gtkmm" ,gtkmm)
8302 ("librsvg" ,librsvg)
4985d9aa
RW
8303 ("libxml2" ,libxml2)
8304 ("libwnck" ,libwnck)))
1f6a73ee
RS
8305 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8306 (synopsis "Process viewer and system resource monitor for GNOME")
8307 (description
8308 "GNOME System Monitor is a GNOME process viewer and system monitor with
8309an attractive, easy-to-use interface. It has features, such as a tree view
8310for process dependencies, icons for processes, the ability to hide processes,
8311graphical time histories of CPU/memory/swap usage and the ability to
8312kill/reinice processes.")
8313 (license license:gpl2+)))
3e00ac47
SB
8314
8315(define-public python-pyatspi
8316 (package
8317 (name "python-pyatspi")
4f937a32 8318 (version "2.34.0")
3e00ac47
SB
8319 (source (origin
8320 (method url-fetch)
8321 (uri (string-append
8322 "mirror://gnome/sources/pyatspi/"
8323 (version-major+minor version)
8324 "/pyatspi-" version ".tar.xz"))
8325 (sha256
8326 (base32
4f937a32 8327 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
3e00ac47 8328 (build-system gnu-build-system)
b95af3f6
JL
8329 (arguments
8330 `(#:phases
8331 (modify-phases %standard-phases
8332 (add-before 'build 'fix-atk-load
8333 (lambda _
8334 (substitute* "pyatspi/__init__.py"
8335 (("from gi.repository import Atspi")
8336 "gi.require_version('Gtk', '3.0')
8337from gi.repository import Gtk
8338from gi.repository import Atspi"))
8339 #t)))))
3e00ac47
SB
8340 (native-inputs
8341 `(("pkg-config" ,pkg-config)))
8342 (inputs
8343 `(("python" ,python)
8344 ("python-pygobject" ,python-pygobject)))
8345 (synopsis "Python client bindings for D-Bus AT-SPI")
8346 (home-page "https://wiki.linuxfoundation.org/accessibility\
8347/atk/at-spi/at-spi_on_d-bus")
8348 (description
8349 "This package includes a python client library for the AT-SPI D-Bus
8350accessibility infrastructure.")
8351 (license license:lgpl2.0)
8352 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
8353
8354(define-public orca
8355 (package
8356 (name "orca")
089e8585 8357 (version "3.32.0")
53201c0d
SB
8358 (source (origin
8359 (method url-fetch)
8360 (uri (string-append
8361 "mirror://gnome/sources/" name "/"
8362 (version-major+minor version) "/"
8363 name "-" version ".tar.xz"))
8364 (sha256
8365 (base32
089e8585 8366 "05jqzlg0f1x53hyl0l9282ynmw37159g6dsbrid12b7sjs12cc1i"))))
53201c0d
SB
8367 (build-system glib-or-gtk-build-system)
8368 (arguments
8369 '(#:phases
8370 (modify-phases %standard-phases
8371 (add-before 'configure 'qualify-xkbcomp
8372 (lambda* (#:key inputs #:allow-other-keys)
8373 (let ((xkbcomp (string-append
8374 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8375 (substitute* "src/orca/orca.py"
8376 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8377 #t))
8378 (add-after 'install 'wrap-orca
8379 (lambda* (#:key outputs #:allow-other-keys)
8380 (let* ((out (assoc-ref outputs "out"))
8381 (prog (string-append out "/bin/orca")))
8382 (wrap-program prog
8383 `("GI_TYPELIB_PATH" ":" prefix
8384 (,(getenv "GI_TYPELIB_PATH")))
8385 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8386 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8387 `("PYTHONPATH" ":" prefix
8388 (,(getenv "PYTHONPATH")))))
8389 #t)))))
8390 (native-inputs
8391 `(("intltool" ,intltool)
8392 ("itstool" ,itstool)
8393 ("pkg-config" ,pkg-config)
8394 ("xmllint" ,libxml2)))
8395 (inputs
8396 `(("at-spi2-atk" ,at-spi2-atk)
8397 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8398 ("gstreamer" ,gstreamer)
8399 ("gst-plugins-base" ,gst-plugins-base)
8400 ("gst-plugins-good" ,gst-plugins-good)
8401 ("gtk+" ,gtk+)
8402 ("python" ,python)
8403 ("python-pygobject" ,python-pygobject)
8404 ("python-pyatspi" ,python-pyatspi)
8405 ("python-speechd" ,speech-dispatcher)
8406 ("xkbcomp" ,xkbcomp)))
8407 (synopsis
8408 "Screen reader for individuals who are blind or visually impaired")
8409 (home-page "https://wiki.gnome.org/Projects/Orca")
8410 (description
8411 "Orca is a screen reader that provides access to the graphical desktop
8412via speech and refreshable braille. Orca works with applications and toolkits
8413that support the Assistive Technology Service Provider Interface (AT-SPI).")
8414 (license license:lgpl2.1+)))
411ba511
LC
8415
8416(define-public gspell
8417 (package
8418 (name "gspell")
7a6bbe9b 8419 (version "1.8.2")
411ba511
LC
8420 (source (origin
8421 (method url-fetch)
8422 (uri (string-append "mirror://gnome/sources/" name "/"
8423 (version-major+minor version) "/"
8424 name "-" version ".tar.xz"))
8425 (sha256
8426 (base32
7a6bbe9b 8427 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
411ba511
LC
8428 (patches (search-patches "gspell-dash-test.patch"))))
8429 (build-system glib-or-gtk-build-system)
8430 (arguments
8431 '(#:phases
8432 (modify-phases %standard-phases
8433 (add-before 'check 'pre-check
8434 (lambda* (#:key inputs #:allow-other-keys)
8435 ;; Tests require a running X server.
8436 (system "Xvfb :1 &")
8437 (setenv "DISPLAY" ":1")
8438
8439 ;; For the missing /etc/machine-id.
8440 (setenv "DBUS_FATAL_WARNINGS" "0")
8441
8442 ;; Allow Enchant and its Aspell backend to find the en_US
8443 ;; dictionary.
8444 (setenv "ASPELL_DICT_DIR"
8445 (string-append (assoc-ref inputs "aspell-dict-en")
8446 "/lib/aspell"))
8447 #t)))))
8448 (inputs
eccd35be 8449 `(("gtk+" ,gtk+)
a801ae4c
TGR
8450 ("glib" ,glib)
8451 ("iso-codes" ,iso-codes)))
411ba511
LC
8452 (native-inputs
8453 `(("glib" ,glib "bin")
26ba3f07 8454 ("gobject-introspection" ,gobject-introspection)
411ba511
LC
8455 ("pkg-config" ,pkg-config)
8456 ("xmllint" ,libxml2)
8457
8458 ;; For tests.
a801ae4c 8459 ("aspell-dict-en" ,aspell-dict-en)
ff337525 8460 ("xorg-server" ,xorg-server-for-tests)))
eccd35be 8461 (propagated-inputs
9b1bb757 8462 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
8463 (home-page "https://wiki.gnome.org/Projects/gspell")
8464 (synopsis "GNOME's alternative spell checker")
8465 (description
8466 "gspell provides a flexible API to add spell-checking to a GTK+
8467application. It provides a GObject API, spell-checking to text entries and
8468text views, and buttons to choose the language.")
8469 (license license:gpl2+)))
d1d739fa
CM
8470
8471(define-public gnome-planner
8472 (package
8473 (name "gnome-planner")
8474 (version "0.14.6")
8475 (source (origin
8476 (method url-fetch)
8477 (uri (string-append "mirror://gnome/sources/planner/"
8478 (version-major+minor version) "/planner-"
8479 version ".tar.xz"))
8480 (sha256
8481 (base32
8482 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8483 (build-system glib-or-gtk-build-system)
8484 (arguments
8485 ;; Disable the Python bindings because the Planner program functions
8486 ;; without them, and (as of 2017-06-13) we have not packaged all of
8487 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
8488 `(#:configure-flags
8489 (list "--disable-python"
8490 ,@(if (string=? "aarch64-linux" (%current-system))
8491 '("--build=aarch64-unknown-linux-gnu")
8492 '()))))
d1d739fa
CM
8493 (inputs
8494 `(("libgnomecanvas" ,libgnomecanvas)
8495 ("libgnomeui" ,libgnomeui)
8496 ("libglade" ,libglade)
8497 ("gnome-vfs" ,gnome-vfs)
8498 ("gconf" ,gconf)
8499 ("libxml2" ,libxml2)
8500 ("libxslt" ,libxslt)
8501 ("gtk+" ,gtk+)
8502 ("glib" ,glib)))
8503 (native-inputs
8504 `(("intltool" ,intltool)
8505 ("scrollkeeper" ,scrollkeeper)
8506 ("pkg-config" ,pkg-config)))
8507 (home-page "https://wiki.gnome.org/Apps/Planner")
8508 (synopsis "Project management software for the GNOME desktop")
8509 (description
8510 "GNOME Planner is a project management tool based on the Work Breakdown
8511Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8512the resources, tasks, and constraints that you define, Planner generates
8513various views into a project. For example, Planner can show a Gantt chart of
8514the project. It can show a detailed summary of tasks including their
8515duration, cost, and current progress. It can also show a report of resource
8516utilization that highlights under-utilized and over-utilized resources. These
8517views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 8518 (license license:gpl2+)))
64fce637
RS
8519
8520(define-public lollypop
8521 (package
8522 (name "lollypop")
ca32627a 8523 (version "1.2.7")
64fce637
RS
8524 (source
8525 (origin
8526 (method url-fetch)
b98eace8 8527 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
ca32627a 8528 "08f973788c7ca46d9285eec2ac818edb/"
3275d43d 8529 "lollypop-" version ".tar.xz"))
64fce637 8530 (sha256
ca32627a 8531 (base32 "0hvq6m4i62i0m63bg4gzpfb9rv1fk6vq5jl2g3ppcgm4srmfm77j"))))
aa498fc0 8532 (build-system meson-build-system)
64fce637
RS
8533 (arguments
8534 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
8535 ,@%meson-build-system-modules)
8536 #:glib-or-gtk? #t
5fc9b6c1
EF
8537 #:tests? #f ; no test suite
8538 #:phases
8539 (modify-phases %standard-phases
5fc9b6c1
EF
8540 (add-after 'install 'wrap-program
8541 (lambda* (#:key outputs #:allow-other-keys)
8542 (let ((out (assoc-ref outputs "out"))
8543 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8544 (wrap-program (string-append out "/bin/lollypop")
8545 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8546 #t))
8ac8b3b3
TGR
8547 (add-after 'install 'wrap-python
8548 (@@ (guix build python-build-system) wrap))
8549 (add-after 'install 'wrap-glib-or-gtk
8550 (@@ (guix build glib-or-gtk-build-system) wrap-all-programs)))))
64fce637
RS
8551 (native-inputs
8552 `(("intltool" ,intltool)
8553 ("itstool" ,itstool)
aa498fc0
TD
8554 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8555 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
8556 ("pkg-config" ,pkg-config)))
8557 (inputs
8558 `(("gobject-introspection" ,gobject-introspection)
8ac8b3b3 8559 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5fc9b6c1 8560 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
8561 ("libnotify" ,libnotify)
8562 ("libsecret" ,libsecret)
8563 ("libsoup" ,libsoup)
8564 ("python" ,python)
8565 ("python-beautifulsoup4" ,python-beautifulsoup4)
8566 ("python-gst" ,python-gst)
d029afdd 8567 ("python-pil" ,python-pillow)
64fce637 8568 ("python-pycairo" ,python-pycairo)
7460f346 8569 ("python-pygobject" ,python-pygobject-3.34)
64fce637
RS
8570 ("python-pylast" ,python-pylast)
8571 ("totem-pl-parser" ,totem-pl-parser)
8572 ("webkitgtk" ,webkitgtk)))
8573 (propagated-inputs
8574 `(;; gst-plugins-base is required to start Lollypop,
8575 ;; the others are required to play streaming.
64fce637
RS
8576 ("gst-plugins-good" ,gst-plugins-good)
8577 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 8578 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
8579 (synopsis "GNOME music playing application")
8580 (description
8581 "Lollypop is a music player designed to play well with GNOME desktop.
8582Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
8583from artists and tracks from the web. It also fetches cover artworks
8584automatically and it can stream songs from online music services and charts.")
8585 (license license:gpl3+)))
d831d49d
AW
8586
8587(define-public gnome-video-effects
8588 (package
8589 (name "gnome-video-effects")
8590 (version "0.4.3")
8591 (source (origin
8592 (method url-fetch)
8593 (uri (string-append "mirror://gnome/sources/" name "/"
8594 (version-major+minor version) "/" name "-"
8595 version ".tar.xz"))
8596 (sha256
8597 (base32
8598 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
8599 (build-system glib-or-gtk-build-system)
8600 (arguments
8601 `(#:out-of-source? #f))
8602 (native-inputs
8603 `(("glib:bin" ,glib "bin")
8604 ("intltool" ,intltool)
8605 ("gettext" ,gettext-minimal)
8606 ("pkg-config" ,pkg-config)))
8607 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
8608 (synopsis "Video effects for Cheese and other GNOME applications")
8609 (description
8610 "A collection of GStreamer video filters and effects to be used in
8611photo-booth-like software, such as Cheese.")
8612 (license license:gpl2+)))
3511c780
AW
8613
8614(define-public cheese
8615 (package
8616 (name "cheese")
dd33b337 8617 (version "3.32.1")
3511c780
AW
8618 (source (origin
8619 (method url-fetch)
8620 (uri (string-append "mirror://gnome/sources/" name "/"
8621 (version-major+minor version) "/" name "-"
8622 version ".tar.xz"))
8623 (sha256
8624 (base32
dd33b337 8625 "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv"))))
3511c780
AW
8626 (arguments
8627 ;; Tests require GDK.
8628 `(#:tests? #f
8629 #:phases
8630 (modify-phases %standard-phases
8631 (add-before 'install 'skip-gtk-update-icon-cache
8632 (lambda _
8633 ;; Don't create 'icon-theme.cache'
8634 (substitute* "Makefile"
8635 (("gtk-update-icon-cache") (which "true")))
8636 #t))
8637 (add-after 'install 'wrap-cheese
8638 (lambda* (#:key inputs outputs #:allow-other-keys)
8639 (let ((out (assoc-ref outputs "out"))
8640 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
8641 (wrap-program (string-append out "/bin/cheese")
8642 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
8643 #t)))))
8644 (build-system glib-or-gtk-build-system)
8645 (native-inputs
8646 `(("glib:bin" ,glib "bin")
8647 ("intltool" ,intltool)
8648 ("itstool" ,itstool)
8649 ("libxml2" ,libxml2)
8650 ("pkg-config" ,pkg-config)
8651 ("vala" ,vala)))
8652 (propagated-inputs
6a19f03e
RW
8653 `(("gnome-video-effects" ,gnome-video-effects)
8654 ("clutter" ,clutter)
3511c780
AW
8655 ("clutter-gst" ,clutter-gst)
8656 ("clutter-gtk" ,clutter-gtk)
6a19f03e 8657 ("libcanberra" ,libcanberra)
3511c780
AW
8658 ("gdk-pixbuf" ,gdk-pixbuf)
8659 ("glib" ,glib)
6a19f03e
RW
8660 ("gstreamer" ,gstreamer)))
8661 (inputs
8662 `(("gnome-desktop" ,gnome-desktop)
3511c780 8663 ("gobject-introspection" ,gobject-introspection)
3511c780
AW
8664 ("gst-plugins-base" ,gst-plugins-base)
8665 ("gst-plugins-bad" ,gst-plugins-bad)
8666 ("gtk+" ,gtk+)
3511c780
AW
8667 ("libx11" ,libx11)
8668 ("libxtst" ,libxtst)))
8669 (home-page "https://wiki.gnome.org/Apps/Cheese")
8670 (synopsis "Webcam photo booth software for GNOME")
8671 (description
8672 "Cheese uses your webcam to take photos and videos. Cheese can also
8673apply fancy special effects and lets you share the fun with others.")
8674 (license license:gpl2+)))
3c5dbd2b 8675
8676(define-public sound-juicer
8677 (package
8678 (name "sound-juicer")
8679 (version "3.24.0")
8680 (source
8681 (origin
8682 (method url-fetch)
8683 (uri (string-append "mirror://gnome/sources/" name "/"
8684 (version-major+minor version) "/"
8685 name "-" version ".tar.xz"))
8686 (sha256
8687 (base32
8688 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
8689 (build-system glib-or-gtk-build-system)
8690 (native-inputs
8691 `(("desktop-file-utils" ,desktop-file-utils)
8692 ("intltool" ,intltool)
8693 ("itstool" ,itstool)
8694 ("pkg-config" ,pkg-config)
8695 ("xmllint" ,libxml2)))
8696 (inputs
8697 `(("gtk+" ,gtk+)
8698 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8699 ("gstreamer" ,gstreamer)
8700 ("gst-plugins-base" ,gst-plugins-base)
8701 ("gst-plugins-good" ,gst-plugins-good)
8702 ("iso-codes" ,iso-codes)
8703 ("libbrasero-media3" ,brasero)
8704 ("libcanberra" ,libcanberra)
8705 ("libdiscid" ,libdiscid)
8706 ("libmusicbrainz" ,libmusicbrainz)
8707 ("neon" ,neon)))
8708 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
8709 (synopsis "Audio music cd ripper")
8710 (description "Sound Juicer extracts audio from compact discs and convert it
8711into audio files that a personal computer or digital audio player can play.
8712It supports ripping to any audio codec supported by a GStreamer plugin, such as
8713mp3, Ogg Vorbis and FLAC")
8714 (license license:gpl2+)))
4e3fdeb7 8715
0d3f1708
CB
8716(define-public soundconverter
8717 (package
8718 (name "soundconverter")
fa75a213 8719 (version "3.0.1")
0d3f1708
CB
8720 (source
8721 (origin
8722 (method url-fetch)
8723 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
8724 version "/+download/"
8725 "soundconverter-" version ".tar.xz"))
8726
8727 (sha256
fa75a213 8728 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
0d3f1708
CB
8729 (patches
8730 (search-patches
8731 "soundconverter-remove-gconf-dependency.patch"))))
8732 (build-system glib-or-gtk-build-system)
8733 (arguments
8734 `(#:imported-modules ((guix build python-build-system)
8735 (guix build glib-or-gtk-build-system)
8736 ,@%gnu-build-system-modules)
8737
8738 #:modules ((guix build glib-or-gtk-build-system)
8739 (guix build utils)
8740 ((guix build gnu-build-system) #:prefix gnu:)
8741 ((guix build python-build-system) #:prefix python:))
8742
8743 #:phases
8744 (modify-phases %standard-phases
0d3f1708
CB
8745 (add-after 'install 'wrap-soundconverter-for-python
8746 (assoc-ref python:%standard-phases 'wrap))
8747 (add-after 'install 'wrap-soundconverter
8748 (lambda* (#:key inputs outputs #:allow-other-keys)
8749 (let ((out (assoc-ref outputs "out"))
8750 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8751 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
8752 (wrap-program (string-append out "/bin/soundconverter")
8753 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8754 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
8755 #t)))))
8756 (native-inputs
8757 `(("intltool" ,intltool)
8758 ("pkg-config" ,pkg-config)
8759 ("glib:bin" ,glib "bin")))
8760 (inputs
8761 `(("gtk+" ,gtk+)
8762 ("python" ,python)
8763 ("python-pygobject" ,python-pygobject)
8764 ("gstreamer" ,gstreamer)
8765 ("gst-plugins-base" ,gst-plugins-base)))
8766 (home-page "http://soundconverter.org/")
8767 (synopsis "Convert between audio formats with a graphical interface")
8768 (description
8769 "SoundConverter supports converting between many audio formats including
8770Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
8771configurable file renaming. ")
8772 (license license:gpl3)))
8773
4e3fdeb7 8774(define-public workrave
89f2d736
TGR
8775 (package
8776 (name "workrave")
aa51d92c 8777 (version "1.10.34")
89f2d736
TGR
8778 (source
8779 (origin
8780 (method git-fetch)
8781 (uri (git-reference
8782 (url "https://github.com/rcaelers/workrave.git")
c2e50474
TGR
8783 (commit (string-append "v" (string-map
8784 (match-lambda (#\. #\_) (chr chr))
8785 version)))))
89f2d736
TGR
8786 (file-name (git-file-name name version))
8787 (sha256
aa51d92c 8788 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
89f2d736 8789 (build-system glib-or-gtk-build-system)
d1c96847
MC
8790 (inputs `(("glib" ,glib)
8791 ("gtk+" ,gtk+)
8792 ("gdk-pixbuf" ,gdk-pixbuf)
8793 ("gtkmm" ,gtkmm)
8794 ("glibmm" ,glibmm)
8795 ("libx11" ,libx11)
8796 ("libxtst" ,libxtst)
8797 ("dconf" ,dconf)
8798 ("libice" ,libice)
8799 ("libsm" ,libsm)
8800 ("libxscrnsaver" ,libxscrnsaver)))
aa51d92c 8801 (native-inputs `(("boost" ,boost)
89f2d736
TGR
8802 ("pkg-config" ,pkg-config)
8803 ("gettext" ,gnu-gettext)
8804 ("autoconf" ,autoconf)
8805 ("autoconf-archive" , autoconf-archive)
8806 ("automake" ,automake)
8807 ("libtool" ,libtool)
8808 ("intltool" ,intltool)
89f2d736 8809 ("gobject-introspection" ,gobject-introspection)
aa51d92c
MC
8810 ("python3" ,python-3)
8811 ("python-jinja2" ,python-jinja2)))
89f2d736
TGR
8812 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
8813 (description
8814 "Workrave is a program that assists in the recovery and prevention of
cc00249b
TGR
8815repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
8816micro-pauses and rest breaks, and restricts you to your daily limit.")
89f2d736
TGR
8817 (home-page "http://www.workrave.org")
8818 (license license:gpl3+)))
312afa7d
LC
8819
8820(define-public ghex
8821 (package
8822 (name "ghex")
3748992a 8823 (version "3.18.4")
312afa7d
LC
8824 (source (origin
8825 (method url-fetch)
2fbab848 8826 (uri (string-append "mirror://gnome/sources/ghex/"
312afa7d 8827 (version-major+minor version) "/"
2fbab848 8828 "ghex-" version ".tar.xz"))
312afa7d
LC
8829 (sha256
8830 (base32
3748992a
KK
8831 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
8832 (build-system meson-build-system)
8833 (arguments
8834 '(#:glib-or-gtk? #t
8835 #:phases
8836 (modify-phases %standard-phases
8837 (add-after 'unpack 'skip-gtk-update-icon-cache
8838 ;; Don't create 'icon-theme.cache'.
8839 (lambda _
8840 (substitute* "meson_post_install.py"
8841 (("gtk-update-icon-cache") (which "true")))
8842 #t)))))
312afa7d
LC
8843 (native-inputs
8844 `(("pkg-config" ,pkg-config)
3748992a 8845 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
312afa7d
LC
8846 ("gnome-common" ,gnome-common)
8847 ("which" ,which)
8848 ("intltool" ,intltool)
8849 ("yelp-tools" ,yelp-tools)
2fbab848 8850 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
312afa7d
LC
8851 (inputs
8852 `(("atk" ,atk)
8853 ("gtk" ,gtk+)))
8854 (synopsis "GNOME hexadecimal editor")
8855 (description "The GHex program can view and edit files in two ways:
8856hexadecimal or ASCII. It is useful for editing binary files in general.")
8857 (home-page "https://wiki.gnome.org/Apps/Ghex")
8858 (license license:gpl2)))
4b2ed6c2
RW
8859
8860(define-public libdazzle
8861 (package
8862 (name "libdazzle")
64fa66ba 8863 (version "3.33.90")
4b2ed6c2
RW
8864 (source (origin
8865 (method url-fetch)
687b4909 8866 (uri (string-append "mirror://gnome/sources/libdazzle/"
4b2ed6c2 8867 (version-major+minor version) "/"
687b4909 8868 "libdazzle-" version ".tar.xz"))
4b2ed6c2
RW
8869 (sha256
8870 (base32
64fa66ba 8871 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
4b2ed6c2
RW
8872 (build-system meson-build-system)
8873 (arguments
8874 `(#:phases
8875 (modify-phases %standard-phases
4b2ed6c2
RW
8876 (add-before 'check 'pre-check
8877 (lambda _
8878 ;; Tests require a running X server.
8879 (system "Xvfb :1 &")
8880 (setenv "DISPLAY" ":1")
8881 #t)))))
8882 (native-inputs
687b4909 8883 `(("glib" ,glib "bin") ; glib-compile-resources
4b2ed6c2 8884 ("pkg-config" ,pkg-config)
687b4909 8885 ;; For tests.
ff337525 8886 ("xorg-server" ,xorg-server-for-tests)))
4b2ed6c2
RW
8887 (inputs
8888 `(("glib" ,glib)
8889 ("gobject-introspection" ,gobject-introspection)
8890 ("gtk+" ,gtk+)
8891 ("vala" ,vala)))
8892 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
8893 (synopsis "Companion library to GObject and Gtk+")
8894 (description "The libdazzle library is a companion library to GObject and
8895Gtk+. It provides various features that the authors wish were in the
8896underlying library but cannot for various reasons. In most cases, they are
8897wildly out of scope for those libraries. In other cases, they are not quite
8898generic enough to work for everyone.")
8899 (license license:gpl3+)))
7d3bb433
RW
8900
8901(define-public evolution
8902 (package
8903 (name "evolution")
06141f83 8904 (version "3.32.4")
7d3bb433
RW
8905 (source (origin
8906 (method url-fetch)
8907 (uri (string-append "mirror://gnome/sources/evolution/"
8908 (version-major+minor version) "/"
8909 "evolution-" version ".tar.xz"))
8910 (sha256
8911 (base32
06141f83 8912 "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh"))))
7d3bb433
RW
8913 (build-system cmake-build-system)
8914 (arguments
5229bea1
KK
8915 `(#:imported-modules (,@%cmake-build-system-modules
8916 (guix build glib-or-gtk-build-system))
8917 #:modules ((guix build cmake-build-system)
8918 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8919 (guix build utils))
8920 #:configure-flags
7d3bb433 8921 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
5229bea1 8922 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
7d3bb433 8923 ; in four years and cannot be built.
5229bea1
KK
8924 #:phases
8925 (modify-phases %standard-phases
8926 ;; The build system attempts to install user interface modules to the
8927 ;; output directory of the "evolution-data-server" package. This
8928 ;; change redirects that change.
8929 (add-after 'unpack 'patch-ui-module-dir
8930 (lambda* (#:key outputs #:allow-other-keys)
8931 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
8932 (("\\$\\{edsuimoduledir\\}")
8933 (string-append (assoc-ref outputs "out")
8934 "/lib/evolution-data-server/ui-modules")))
8935 #t))
8936 (add-after 'install 'glib-or-gtk-compile-schemas
8937 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
8938 (add-after 'install 'glib-or-gtk-wrap
8939 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
7d3bb433 8940 (native-inputs
ad6e168b 8941 `(("glib" ,glib "bin") ; glib-mkenums
7d3bb433
RW
8942 ("pkg-config" ,pkg-config)
8943 ("intltool" ,intltool)
8944 ("itstool" ,itstool)))
8945 (inputs
8946 `(("enchant" ,enchant)
8947 ("evolution-data-server" ,evolution-data-server) ; must be the same version
8948 ("gcr" ,gcr)
ad6e168b 8949 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7d3bb433
RW
8950 ("gnome-autoar" ,gnome-autoar)
8951 ("gnome-desktop" ,gnome-desktop)
8952 ("gtkspell3" ,gtkspell3)
8953 ("highlight" ,highlight)
8954 ("libcanberra" ,libcanberra)
b63c06f1 8955 ("libedataserverui" ,evolution-data-server)
7d3bb433
RW
8956 ("libgweather" ,libgweather)
8957 ("libnotify" ,libnotify)
8958 ("libsoup" ,libsoup)
8959 ("nss" ,nss)
8960 ("openldap" ,openldap)
8961 ("webkitgtk" ,webkitgtk)
8962 ("ytnef" ,ytnef)))
8963 (home-page "https://gitlab.gnome.org/GNOME/evolution")
8964 (synopsis "Manage your email, contacts and schedule")
8965 (description "Evolution is a personal information management application
8966that provides integrated mail, calendaring and address book
8967functionality.")
8968 ;; See COPYING for details.
23dbe621 8969 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7d3bb433 8970 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
23dbe621 8971 license:lgpl2.1+)))) ; smime/lib/*
169d63f5
AT
8972
8973(define-public gthumb
8974 (package
8975 (name "gthumb")
8280676b 8976 (version "3.8.2")
169d63f5
AT
8977 (source (origin
8978 (method url-fetch)
8979 (uri (string-append "mirror://gnome/sources/gthumb/"
8980 (version-major+minor version) "/"
8981 "gthumb-" version ".tar.xz"))
8982 (sha256
8983 (base32
8280676b 8984 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
169d63f5
AT
8985 (build-system meson-build-system)
8986 (arguments
8987 `(#:glib-or-gtk? #t
8988 #:configure-flags
8989 ;; Ensure the RUNPATH contains all installed library locations.
8990 (list (string-append "-Dc_link_args=-Wl,-rpath="
8991 (assoc-ref %outputs "out")
8992 "/lib/gthumb/extensions")
8993 (string-append "-Dcpp_link_args=-Wl,-rpath="
8994 (assoc-ref %outputs "out")
8995 "/lib/gthumb/extensions"))))
8996 (native-inputs
8997 `(("pkg-config" ,pkg-config)
8998 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8999 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9000 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
9001 ("intltool" ,intltool)
9002 ("itstool" ,itstool)))
9003 (inputs
9004 `(("exiv2" ,exiv2)
9005 ("gtk" ,gtk+)
9006 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9007 ("gstreamer" ,gstreamer)
9008 ("clutter" ,clutter)
9009 ("clutter-gst" ,clutter-gst)
9010 ("clutter-gtk" ,clutter-gtk)
9011 ("libjpeg" ,libjpeg)
9012 ("libtiff" ,libtiff)
9013 ("libraw" ,libraw)))
9014 (home-page "https://wiki.gnome.org/Apps/Gthumb")
9015 (synopsis "GNOME image viewer and browser")
9016 (description "GThumb is an image viewer, browser, organizer, editor and
9017advanced image management tool")
9018 (license license:gpl2+)))
08be02be
AT
9019
9020(define-public terminator
9021 (package
9022 (name "terminator")
9023 (version "1.91")
9024 (source (origin
9025 (method url-fetch)
9026 (uri (string-append "https://launchpad.net/" name "/"
9027 "gtk3/" version "/" "+download/"
9028 name "-" version ".tar.gz"))
9029 (sha256
9030 (base32
9031 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9032 (build-system python-build-system)
9033 (native-inputs
9034 `(("intltool" ,intltool)
9035 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9036 ("gettext" ,gettext-minimal)
9037 ("pkg-config" ,pkg-config)))
9038 (inputs
9039 `(("cairo" ,cairo)
9040 ("gobject-introspection" ,gobject-introspection)
96681d4b 9041 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
08be02be
AT
9042 ("python2-pycairo" ,python2-pycairo)
9043 ("python2-pygobject" ,python2-pygobject)
9044 ("python2-psutil" ,python2-psutil)
9045 ("vte" ,vte)))
9046 (arguments
96681d4b
TGR
9047 `(#:python ,python-2 ; Python 3 isn't supported
9048 #:imported-modules ((guix build glib-or-gtk-build-system)
9049 ,@%python-build-system-modules)
9050 #:modules ((guix build python-build-system)
9051 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9052 (guix build utils))
08be02be
AT
9053 #:phases
9054 (modify-phases %standard-phases
9055 (add-after
9056 'install 'wrap-program
9057 (lambda* (#:key outputs #:allow-other-keys)
9058 (let ((prog (string-append (assoc-ref outputs "out")
9059 "/bin/terminator")))
9060 (wrap-program prog
9061 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9062 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
96681d4b
TGR
9063 #t)))
9064 (add-after 'wrap-program 'glib-or-gtk-wrap
9065 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
08be02be
AT
9066 (home-page "https://gnometerminator.blogspot.com/")
9067 (synopsis "Store and run multiple GNOME terminals in one window")
9068 (description
9069 "Terminator allows you to run multiple GNOME terminals in a grid and
9070+tabs, and it supports drag and drop re-ordering of terminals.")
9071 (license license:gpl2)))
213315d4
JF
9072
9073(define-public libhandy
9074 (package
9075 (name "libhandy")
f6501b9f 9076 (version "0.0.12")
213315d4
JF
9077 (source
9078 (origin
9079 (method git-fetch)
9080 (uri (git-reference
9081 (url "https://source.puri.sm/Librem5/libhandy")
9082 (commit (string-append "v" version))))
9083 (file-name (git-file-name name version))
9084 (sha256
f6501b9f 9085 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
213315d4
JF
9086 (build-system meson-build-system)
9087 (arguments
9088 `(#:configure-flags
9089 '("-Dglade_catalog=disabled"
9090 "-Dgtk_doc=true")
9091 #:phases
9092 (modify-phases %standard-phases
213315d4
JF
9093 (add-before 'check 'pre-check
9094 (lambda _
9095 ;; Tests require a running X server.
9096 (system "Xvfb :1 &")
9097 (setenv "DISPLAY" ":1")
9098 #t)))))
9099 (inputs
9100 `(("gtk+" ,gtk+)))
9101 (native-inputs
9102 `(("glib:bin" ,glib "bin")
9103 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9104 ("vala" ,vala)
9105 ("gtk-doc" ,gtk-doc)
9106 ("pkg-config" ,pkg-config)
9107 ("gettext" ,gettext-minimal)
d41ee146
TGR
9108
9109 ;; Test suite dependencies.
ff337525 9110 ("xorg-server" ,xorg-server-for-tests)
d41ee146 9111 ("hicolor-icon-theme" ,hicolor-icon-theme)))
213315d4
JF
9112 (home-page "https://source.puri.sm/Librem5/libhandy")
9113 (synopsis "Library full of GTK+ widgets for mobile phones")
9114 (description "The aim of the handy library is to help with developing user
ae4e1414
JB
9115interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9116for usage on small and big screens.")
213315d4 9117 (license license:lgpl2.1+)))
a830d14d
GL
9118
9119(define-public libgit2-glib
9120 (package
9121 (name "libgit2-glib")
9122 (version "0.28.0.1")
9123 (source (origin
9124 (method url-fetch)
9125 (uri (string-append "mirror://gnome/sources/" name "/"
9126 (version-major+minor version) "/"
9127 name "-" version ".tar.xz"))
9128 (sha256
9129 (base32
9130 "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7"))))
9131 (build-system meson-build-system)
9132 (native-inputs
9133 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9134 ("gobject-introspection" ,gobject-introspection)
9135 ("intltool" ,intltool)
9136 ("libssh2" ,libssh2)
9137 ("pkg-config" ,pkg-config)
9138 ("python-pygobject" ,python-pygobject)
9139 ("python-wrapper" ,python-wrapper)
9140 ("vala" ,vala)))
9141 (inputs
9142 `(("glib" ,glib)
9143 ("libgit2" ,libgit2)))
9144 (synopsis "GLib wrapper around the libgit2 Git access library")
9145 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9146access library. It only implements the core plumbing functions, not really the
9147higher level porcelain stuff.")
9148 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9149 (license license:gpl2+)))
93beace0 9150
08db81c9
LP
9151(define-public gitg
9152 (package
9153 (name "gitg")
9154 (version "3.32.1")
9155 (source (origin
9156 (method url-fetch)
9157 (uri (string-append "mirror://gnome/sources/" name "/"
9158 (version-major+minor version) "/"
9159 name "-" version ".tar.xz"))
9160 (sha256
9161 (base32
9162 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9163 (build-system meson-build-system)
9164 (arguments
9165 `(#:glib-or-gtk? #t
9166 #:phases
9167 (modify-phases %standard-phases
9168 (add-after 'unpack 'disable-post-install-partially
9169 (lambda _
9170 (substitute* "meson_post_install.py"
9171 (("'python'") ; there are no python sources to compile
9172 (string-append "'" (which "true") "'"))
9173 (("gtk-update-icon-cache") (which "true")))
9174 #t))
9175 (add-after 'unpack 'fix-test-sources
9176 (lambda _
9177 (substitute* "tests/libgitg/test-commit.vala"
9178 (("/bin/bash") (which "bash")))
9179 #t))
9180 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9181 (lambda* (#:key outputs #:allow-other-keys)
9182 (let ((prog (string-append (assoc-ref outputs "out")
9183 "/bin/gitg")))
9184 (wrap-program prog
9185 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9186 #t))))))
9187 (inputs
9188 `(("glib" ,glib)
9189 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9190 ("gtk+" ,gtk+)
9191 ("gtkspell3" ,gtkspell3)
9192 ("gtksourceview" ,gtksourceview-3)
9193 ("json-glib" ,json-glib)
9194 ("libdazzle" ,libdazzle)
9195 ("libgee" ,libgee)
9196 ("libgit2" ,libgit2) ; propagated by libgit2-glib
9197 ("libgit2-glib" ,libgit2-glib)
9198 ("libpeas" ,libpeas)
9199 ("libsecret" ,libsecret)
9200 ("libsoup" ,libsoup)
9201 ("libxml2" ,libxml2)))
9202 (native-inputs
9203 `(("glib:bin" ,glib "bin")
9204 ("gtk+:bin" ,gtk+ "bin")
9205 ("gobject-introspection" ,gobject-introspection)
9206 ("intltool" ,intltool)
9207 ("pkg-config" ,pkg-config)
9208 ("vala" ,vala)))
9209 (synopsis "Graphical user interface for git")
9210 (description
9211 "gitg is a graphical user interface for git. It aims at being a small,
9212fast and convenient tool to visualize the history of git repositories.
9213Besides visualization, gitg also provides several utilities to manage your
9214repository and commit your work.")
9215 (home-page "https://wiki.gnome.org/Apps/Gitg")
9216 (license license:gpl2+)))
9217
1e600ed0
RW
9218(define-public gamin
9219 (package
9220 (name "gamin")
9221 (version "0.1.10")
9222 (source (origin
9223 (method url-fetch)
9224 (uri (string-append "mirror://gnome/sources/" name "/"
9225 (version-major+minor version) "/"
9226 name "-" version ".tar.bz2"))
9227 (sha256
9228 (base32
9229 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9230 (build-system gnu-build-system)
9231 (arguments
9232 `(#:phases
9233 (modify-phases %standard-phases
9234 (add-after 'unpack 'remove-deprecated-macro
9235 (lambda _
9236 (substitute* '("server/gam_node.c"
9237 "server/gam_subscription.h"
9238 "server/gam_node.h"
9239 "server/gam_subscription.c")
9240 (("G_CONST_RETURN") "const"))
9241 #t)))))
9242 (inputs
9243 `(("glib" ,glib)))
9244 (native-inputs
9245 `(("intltool" ,intltool)
9246 ("pkg-config" ,pkg-config)))
9247 (home-page "https://people.gnome.org/~veillard/gamin/")
9248 (synopsis "File alteration monitor")
9249 (description
9250 "Gamin is a file and directory monitoring system defined to be a subset
9251of the FAM (File Alteration Monitor) system. This is a service provided by a
9252library which allows to detect when a file or a directory has been modified.")
9253 (license license:gpl2+)))
9254
93beace0
DW
9255(define-public gnome-mahjongg
9256 (package
9257 (name "gnome-mahjongg")
9258 (version "3.35.1")
9259 (source (origin
9260 (method git-fetch)
9261 (uri (git-reference
9262 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9263 (commit version)))
9264 (file-name (git-file-name name version))
9265 (sha256
9266 (base32
9267 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9268 (build-system meson-build-system)
9269 (arguments
9270 `(#:glib-or-gtk? #t))
9271 (native-inputs
9272 `(("appstream-glib" ,appstream-glib)
9273 ("gettext" ,gettext-minimal)
9274 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9275 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9276 ("itstool" ,itstool)
9277 ("pkg-config" ,pkg-config)
9278 ("vala" ,vala)))
9279 (propagated-inputs
9280 `(("dconf" ,dconf)))
9281 (inputs
9282 `(("glib" ,glib)
9283 ("gtk+" ,gtk+)
9284 ("librsvg" ,librsvg)))
9285 (synopsis "Mahjongg tile-matching game")
9286 (description "GNOME Mahjongg is a game based on the classic Chinese
9287tile-matching game Mahjong. It features multiple board layouts, tile themes,
9288and a high score table.")
9289 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9290 (license license:gpl2+)))
f825476c 9291
76ea7632
RG
9292(define-public gnome-themes-extra
9293 (package
9294 (name "gnome-themes-extra")
9295 (version "3.28")
9296 (source
9297 (origin
9298 (method url-fetch)
9299 (uri (string-append "mirror://gnome/sources/" name "/"
9300 (version-major+minor version) "/" name "-"
9301 version ".tar.xz"))
9302 (sha256
9303 (base32
9304 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9305 (build-system gnu-build-system)
885424bf
RG
9306 (arguments
9307 '(#:configure-flags
9308 ;; Don't create 'icon-theme.cache'.
9309 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9310 (true (string-append coreutils "/bin/true")))
9311 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
76ea7632
RG
9312 (native-inputs
9313 `(("glib:bin" ,glib "bin")
9314 ("intltool" ,intltool)
9315 ("pkg-config" ,pkg-config)))
9316 (inputs
9317 `(("glib" ,glib)
9318 ("gtk+" ,gtk+)
9319 ("gtk+-2" ,gtk+-2)
9320 ("librsvg" ,librsvg)
9321 ("libxml2" ,libxml2)))
9322 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9323 (synopsis "GNOME Extra Themes")
9324 (description "This package provides themes and related elements that don't
9325really fit in other upstream packages. It offers legacy support for GTK+ 2
9326versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9327index files needed for Adwaita to be used outside of GNOME.")
9328 (license license:lgpl2.1+)))
9329
f825476c
LP
9330(define-public polari
9331 (package
9332 (name "polari")
9333 (version "3.32.2")
9334 (source (origin
9335 (method url-fetch)
9336 (uri (string-append "mirror://gnome/sources/polari/"
9337 (version-major+minor version)
9338 "/polari-" version ".tar.xz"))
9339 (sha256
9340 (base32
9341 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9342 (build-system meson-build-system)
9343 (arguments
9344 `(#:glib-or-gtk? #t
9345 #:phases
9346 (modify-phases %standard-phases
9347 (add-after 'unpack 'skip-gtk-update-icon-cache
9348 (lambda _
9349 (substitute* "meson/meson-postinstall.sh"
9350 (("gtk-update-icon-cache") (which "true")))
9351 #t))
9352 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9353 (lambda* (#:key outputs #:allow-other-keys)
9354 (let ((prog (string-append (assoc-ref outputs "out")
9355 "/bin/polari")))
9356 (wrap-program prog
9357 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9358 #t))))))
9359 (inputs
9360 `(("glib" ,glib)
9361 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9362 ("gspell" ,gspell)
9363 ("gtk+" ,gtk+)
9364 ("gjs" ,gjs)
9365 ("libsecret" ,libsecret)
9366 ("libsoup" ,libsoup)
9367 ("telepathy-glib" ,telepathy-glib)
9368 ("telepathy-logger" ,telepathy-logger)))
9369 (native-inputs
9370 `(("glib:bin" ,glib "bin")
9371 ("gobject-introspection" ,gobject-introspection)
9372 ("intltool" ,intltool)
9373 ("pkg-config" ,pkg-config)
9374 ("yelp-tools" ,yelp-tools)))
9375 (propagated-inputs
9376 `(("telepathy-idle" ,telepathy-idle)
9377 ("telepathy-mission-control" ,telepathy-mission-control)))
9378 (synopsis "Simple IRC Client")
9379 (description
9380 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9381integrate seamlessly with the GNOME desktop.")
9382 (home-page "https://wiki.gnome.org/Apps/Polari")
9383 (license license:gpl2+)))