gnu: Add emacs-monky.
[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
30416265
RG
338(define-public gnome-menus
339 (package
340 (name "gnome-menus")
341 (version "3.32.0")
342 (source (origin
343 (method url-fetch)
344 (uri (string-append "mirror://gnome/sources/gnome-menus/"
345 (version-major+minor version) "/"
346 name "-" version ".tar.xz"))
347 (sha256
348 (base32
349 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
350 (build-system gnu-build-system)
351 (native-inputs
352 `(("gettext" ,gettext-minimal)
353 ("glib" ,glib)
354 ("pkg-config" ,pkg-config)))
355 (synopsis "Menu support for GNOME desktop")
356 (description "GNOME Menus contains the libgnome-menu library, the layout
357configuration files for the GNOME menu, as well as a simple menu editor.")
358 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
359 (license license:gpl2)))
360
d61a894b
CB
361(define-public deja-dup
362 (package
363 (name "deja-dup")
364 (version "34.3")
365 (source (origin
366 (method url-fetch)
367 (uri "https://launchpadlibrarian.net/295170991/deja-dup-34.3.tar.xz")
368 (sha256
369 (base32
370 "1xqcr61hpbahbla7gdjn4ngjfz7w6f57y7f5pkb77yk05f60j2n9"))
371 (patches
372 (search-patches "deja-dup-use-ref-keyword-for-iter.patch"))))
373 (build-system glib-or-gtk-build-system)
374 (arguments
375 `(#:modules ((guix build gnu-build-system)
376 ((guix build cmake-build-system) #:prefix cmake:)
377 (guix build glib-or-gtk-build-system)
378 (guix build utils))
379 #:imported-modules (,@%glib-or-gtk-build-system-modules
380 (guix build cmake-build-system))
381 #:test-target "test"
382 #:configure-flags (list (string-append
383 "-DCMAKE_INSTALL_FULL_DATADIR=" %output)
384 (string-append
385 "-DCMAKE_INSTALL_LIBEXECDIR=" %output))
386 #:phases
387 (modify-phases %standard-phases
388 (add-after 'unpack 'patch-lockfile-deletion
389 (lambda rest
390 (substitute* "libdeja/tools/duplicity/DuplicityInstance.vala"
391 (("/bin/rm")
392 (which "rm")))))
393 (replace 'configure
394 (assoc-ref cmake:%standard-phases 'configure))
395 (delete 'check) ;; Fails due to issues with DBus
396 (add-after 'install 'wrap-deja-dup
397 (lambda* (#:key inputs outputs #:allow-other-keys)
398 (let ((python (assoc-ref inputs "python"))
399 (python-path (getenv "PYTHONPATH"))
400 (duplicity (assoc-ref inputs "duplicity"))
401 (out (assoc-ref outputs "out")))
402 (for-each
403 (lambda (program)
404 (wrap-program program
405 `("PATH" ":" prefix (,(string-append python "/bin")
406 ,(string-append duplicity "/bin"))))
407 (wrap-program program
408 `("PYTHONPATH" ":" prefix (,python-path))))
409
410 (find-files (string-append out "/bin")))
411 #t))))))
412 (inputs
413 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
414 ("gobject-introspection" ,gobject-introspection)
415 ("duplicity" ,duplicity)
61506fe5 416 ("python" ,python-2)
d61a894b
CB
417 ("python-pygobject" ,python2-pygobject)
418 ("gtk+" ,gtk+)
419 ("libnotify" ,libnotify)
420 ("libpeas" ,libpeas)
421 ("libsecret" ,libsecret)
422 ("packagekit" ,packagekit)))
423 (native-inputs
424 `(("pkg-config" ,pkg-config)
425 ("vala" ,vala)
426 ("gettext" ,gettext-minimal)
427 ("itstool" ,itstool)
428 ("intltool" ,intltool)
c69959f0 429 ("cmake" ,cmake-minimal)))
d61a894b
CB
430 (home-page "https://launchpad.net/deja-dup")
431 (synopsis "Simple backup tool, for regular encrypted backups")
432 (description
433 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
434uses duplicity as the backend, which supports incremental backups and storage
435either on a local, or remote machine via a number of methods.")
436 (license license:gpl3+)))
437
823b77fb
RG
438(define-public gnome-user-docs
439 (package
440 (name "gnome-user-docs")
441 (version "3.32.3")
442 (source
443 (origin
444 (method url-fetch)
445 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
446 (version-major+minor version)
447 "/gnome-user-docs-" version ".tar.xz"))
448 (sha256
449 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
450 (build-system gnu-build-system)
451 (native-inputs
452 `(("gettext" ,gettext-minimal)
453 ("itstool" ,itstool)
454 ("pkg-config" ,pkg-config)
455 ("xmllint" ,libxml2)))
456 (synopsis "User documentation for the GNOME desktop")
457 (description
458 "The GNOME User Documentation explains how to use the GNOME desktop and its
459components. It covers usage and setup of the core GNOME programs by end-users
460and system administrators.")
461 (home-page "https://live.gnome.org/DocumentationProject")
462 (license license:cc-by3.0)))
463
be93299d
RG
464(define-public gnome-getting-started-docs
465 (package
466 (name "gnome-getting-started-docs")
467 (version "3.32.2")
468 (source
469 (origin
470 (method url-fetch)
471 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
472 (version-major+minor version)
473 "/gnome-getting-started-docs-" version ".tar.xz"))
474 (sha256
475 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
476 (build-system gnu-build-system)
477 (native-inputs
478 `(("gettext" ,gettext-minimal)
479 ("itstool" ,itstool)
480 ("pkg-config" ,pkg-config)
481 ("xmllint" ,libxml2)))
482 (synopsis "Help to get new users started with the GNOME desktop")
483 (description
484 "The GNOME Getting Started Documentation contains GNOME's intuitive
485\"Getting Started\" tour, with video guides, that can be viewed with Yelp.
486
487It is normally used together with @command{gnome-initial-setup}, but is also
488useful as a tutorial and users' guide for new or less experienced users.")
489 (home-page "https://live.gnome.org/DocumentationProject")
490 (license license:cc-by-sa3.0)))
491
a56be436
RJ
492(define-public dia
493 ;; This version from GNOME's repository includes fixes for compiling with
494 ;; recent versions of the build tools. The latest activity on the
495 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
496 ;; fixes in 2016.
497 (let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
498 (package
499 (name "dia")
914c8cdf 500 (version (git-version "0.97.3" "1" commit))
a56be436
RJ
501 (source (origin
502 (method git-fetch)
503 (uri (git-reference
914c8cdf 504 (url "https://gitlab.gnome.org/GNOME/dia.git/")
a56be436 505 (commit commit)))
914c8cdf 506 (file-name (git-file-name name version))
a56be436
RJ
507 (sha256
508 (base32
509 "1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))
510 (build-system gnu-build-system)
511 (inputs
a315afa3 512 `(("freetype" ,freetype)
a56be436
RJ
513 ("gdk-pixbuf" ,gdk-pixbuf)
514 ("gtk+" ,gtk+-2)
a315afa3 515 ("libart-lgpl" ,libart-lgpl)
a56be436 516 ("libxml2" ,libxml2)
a315afa3 517 ("pango" ,pango)))
a56be436 518 (native-inputs
a315afa3 519 `(("autoconf" ,autoconf)
a56be436 520 ("automake" ,automake)
a315afa3
EF
521 ("intltool" ,intltool)
522 ("glib" ,glib "bin")
a56be436
RJ
523 ("libtool" ,libtool)
524 ("perl" ,perl)
a315afa3 525 ("pkg-config" ,pkg-config)
a56be436
RJ
526 ("python-wrapper" ,python-wrapper)))
527 (arguments
528 `(#:phases
529 (modify-phases %standard-phases
4b3e91de 530 (add-before 'bootstrap 'dont-configure-during-bootstrap
a56be436 531 (lambda _
4b3e91de
EF
532 (setenv "NOCONFIGURE" "true")
533 #t)))))
a56be436
RJ
534 (home-page "https://wiki.gnome.org/Apps/Dia")
535 (synopsis "Diagram creation for GNOME")
536 (description "Dia can be used to draw different types of diagrams, and
537includes support for UML static structure diagrams (class diagrams), entity
538relationship modeling, and network diagrams. The program supports various file
539formats like PNG, SVG, PDF and EPS.")
540 (license license:gpl2+))))
541
d0b19e44
RW
542;; This is the unstable release, but it is required for the current stable
543;; release of gvfs (1.38.1).
adc5cb1b
KK
544(define-public libgdata
545 (package
546 (name "libgdata")
d0b19e44 547 (version "0.17.9")
adc5cb1b
KK
548 (source (origin
549 (method url-fetch)
550 (uri (string-append "mirror://gnome/sources/" name "/"
551 (version-major+minor version) "/"
552 name "-" version ".tar.xz"))
553 (sha256
554 (base32
d0b19e44 555 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
adc5cb1b
KK
556 (build-system gnu-build-system)
557 (arguments
558 '(#:phases
559 (modify-phases %standard-phases
448052b7
TGR
560 (add-before 'check 'disable-failing-tests
561 (lambda _
562 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
563 ;; They have been removed in libgdata 0.17.6, so just do the same.
564 (substitute* "gdata/tests/Makefile"
565 (("picasaweb\\$\\(EXEEXT\\) ") ""))
adc5cb1b
KK
566 #t)))))
567 (native-inputs
568 `(("glib:bin" ,glib "bin")
569 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
570 ("intltool" ,intltool)
571 ("pkg-config" ,pkg-config)
572 ("uhttpmock" ,uhttpmock)))
573 (inputs
574 `(("cyrus-sasl" ,cyrus-sasl)
d0b19e44 575 ("glib-networking" ,glib-networking)))
adc5cb1b
KK
576 (propagated-inputs
577 `(("gcr" ,gcr)
d0b19e44 578 ("glib" ,glib)
14c297fd 579 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
d0b19e44 580 ("json-glib" ,json-glib)
adc5cb1b 581 ("liboauth" ,liboauth)
d0b19e44 582 ("libsoup" ,libsoup)
adc5cb1b
KK
583 ("libxml2" ,libxml2)))
584 (home-page "https://wiki.gnome.org/Projects/libgdata")
585 (synopsis "Library for accessing online service APIs")
586 (description
587 "libgdata is a GLib-based library for accessing online service APIs using
588the GData protocol — most notably, Google's services. It provides APIs to
589access the common Google services, and has full asynchronous support.")
590 (license license:lgpl2.1+)))
591
94e10cf4
KK
592(define-public libgxps
593 (package
594 (name "libgxps")
66470a5a 595 (version "0.3.1")
94e10cf4
KK
596 (source (origin
597 (method url-fetch)
7f10628c 598 (uri (string-append "mirror://gnome/sources/" name "/"
94e10cf4
KK
599 (version-major+minor version) "/"
600 name "-" version ".tar.xz"))
601 (sha256
602 (base32
66470a5a 603 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
b6b3e512 604 (build-system meson-build-system)
94e10cf4
KK
605 (native-inputs
606 `(("gobject-introspection" ,gobject-introspection)
607 ("pkg-config" ,pkg-config)))
608 (inputs
c8d62d93 609 `(("gtk+" ,gtk+)
b6b3e512 610 ("libjpeg" ,libjpeg-turbo)
94e10cf4 611 ("lcms" ,lcms)
0a6e9e13 612 ("libtiff" ,libtiff)))
c8d62d93
MB
613 (propagated-inputs
614 ;; In Requires of libgxps.pc.
615 `(("cairo" ,cairo)
616 ("glib" ,glib)
617 ("libarchive" ,libarchive)))
94e10cf4
KK
618 (home-page "https://wiki.gnome.org/Projects/libgxps")
619 (synopsis "GObject-based library for handling and rendering XPS documents")
620 (description
621 "libgxps is a GObject-based library for handling and rendering XPS
622documents. This package also contains binaries that can convert XPS documents
623to other formats.")
624 (license license:lgpl2.1+)))
625
4e09f57a
RG
626(define-public gnome-characters
627 (package
628 (name "gnome-characters")
629 (version "3.30.0")
630 (source
631 (origin
632 (method url-fetch)
633 (uri (string-append "mirror://gnome/sources/"
634 "gnome-characters/" (version-major+minor version)
635 "/gnome-characters-" version ".tar.xz"))
636 (sha256
637 (base32
638 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
639 (build-system meson-build-system)
5757c641 640 (arguments
641 `(#:glib-or-gtk? #t
642 #:phases (modify-phases %standard-phases
643 (add-after 'install 'wrap
644 (lambda* (#:key outputs #:allow-other-keys)
645 ;; GNOME Characters needs Typelib files from GTK and
646 ;; gnome-desktop.
647 (wrap-program (string-append (assoc-ref outputs "out")
648 "/bin/gnome-characters")
649 `("GI_TYPELIB_PATH" ":" prefix
650 (,(getenv "GI_TYPELIB_PATH"))))
651 #t)))))
4e09f57a
RG
652 (native-inputs
653 `(("gettext" ,gettext-minimal)
654 ("glib:bin" ,glib "bin")
655 ("gtk+:bin" ,gtk+ "bin")
656 ("pkg-config" ,pkg-config)
657 ("python" ,python-minimal)))
658 (inputs
659 `(("gjs" ,gjs)
660 ("gtk+" ,gtk+)
5757c641 661 ("libunistring" ,libunistring)
662 ("gnome-desktop" ,gnome-desktop)))
4e09f57a
RG
663 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
664 (synopsis "Find and insert unusual characters")
665 (description "Characters is a simple utility application to find
666and insert unusual characters. It allows you to quickly find the
667character you are looking for by searching for keywords.")
668 (license license:bsd-3)))
669
7aab13f1
ML
670(define-public gnome-common
671 (package
672 (name "gnome-common")
af83490d 673 (version "3.18.0")
7aab13f1
ML
674 (source
675 (origin
676 (method url-fetch)
677 (uri (string-append "mirror://gnome/sources/" name "/"
678 (version-major+minor version) "/"
679 name "-" version ".tar.xz"))
680 (sha256
681 (base32
af83490d 682 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
7aab13f1
ML
683 (build-system gnu-build-system)
684 (home-page "https://www.gnome.org/")
685 (synopsis "Bootstrap GNOME modules built from Git")
686 (description "gnome-common contains various files needed to bootstrap
687GNOME modules built from Git. It contains a common \"autogen.sh\" script that
688can be used to configure a source directory checked out from Git and some
689commonly used macros.")
690 (license license:gpl2+)))
691
4e868d22
RG
692(define-public gnome-contacts
693 (package
694 (name "gnome-contacts")
6a6138b2 695 (version "3.32.1")
4e868d22
RG
696 (source (origin
697 (method url-fetch)
698 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
699 (version-major+minor version) "/"
700 name "-" version ".tar.xz"))
701 (sha256
702 (base32
6a6138b2 703 "17g1gh8yj58cfpdx69h2szivlbjgvv982kmhnkkh0i5bwj0zs2yy"))))
4e868d22
RG
704 (build-system meson-build-system)
705 (arguments
706 `(#:phases
707 (modify-phases %standard-phases
708 (add-after 'unpack 'generate-vapis
709 (lambda* (#:key inputs #:allow-other-keys)
710 ;; To generate goa's missing .vapi file
711 (define goa
712 (assoc-ref inputs "gnome-online-accounts:lib"))
713
714 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
715 "--library=goa-1.0"
716 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
717 #t)))))
718 (native-inputs
719 `(("glib:bin" ,glib "bin")
720 ("gtk+:bin" ,gtk+ "bin")
721 ("pkg-config" ,pkg-config)))
722 (inputs
723 `(("cheese" ,cheese)
724 ("docbook-xml" ,docbook-xml)
725 ("dockbook-xsl" ,docbook-xsl)
726 ("evolution-data-server" ,evolution-data-server)
727 ("gettext" ,gettext-minimal)
728 ("gnome-desktop" ,gnome-desktop)
729 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
730 ("gobject-introspection" ,gobject-introspection)
731 ("gst-plugins-base" ,gst-plugins-base)
732 ("gtk+" ,gtk+)
733 ("libgee" ,libgee)
734 ("libxslt" ,libxslt)
735 ("telepathy-glib" ,telepathy-glib)
736 ("vala" ,vala)))
737 (propagated-inputs
738 `(("folks", folks)
739 ("telepathy-mission-control" ,telepathy-mission-control)))
740 (synopsis "GNOME's integrated address book")
741 (description
742 "GNOME Contacts organizes your contact information from online and
743offline sources, providing a centralized place for managing your contacts.")
744 (home-page "https://wiki.gnome.org/Apps/Contacts")
745 (license license:gpl2+)))
746
9cc98f8a
CR
747(define-public gnome-desktop
748 (package
749 (name "gnome-desktop")
e8a26caa 750 (version "3.32.2")
9cc98f8a
CR
751 (source
752 (origin
753 (method url-fetch)
b38e45d8
EB
754 (uri (string-append "mirror://gnome/sources/" name "/"
755 (version-major+minor version) "/"
9cc98f8a
CR
756 name "-" version ".tar.xz"))
757 (sha256
758 (base32
e8a26caa
KK
759 "0bidx4626x7k2myv6f64qv4fzmxv8v475wibiz19kj8hjfr737q9"))))
760 (build-system meson-build-system)
a0fe7c06
CB
761 (arguments
762 '(#:phases
763 (modify-phases %standard-phases
764 (add-before 'configure 'patch-path
765 (lambda* (#:key inputs #:allow-other-keys)
766 (let ((libc (assoc-ref inputs "libc")))
767 (substitute* "libgnome-desktop/gnome-languages.c"
768 (("\"locale\"")
769 (string-append "\"" libc "/bin/locale\"")))
e8a26caa
KK
770 #t)))
771 (add-before 'check 'pre-check
772 (lambda* (#:key inputs #:allow-other-keys)
773 ;; Tests require a running X server and locales.
774 (system "Xvfb :1 &")
775 (setenv "DISPLAY" ":1")
776 (setenv "GUIX_LOCPATH"
777 (string-append (assoc-ref inputs "glibc-locales")
778 "/lib/locale"))
779 #t)))))
9cc98f8a 780 (native-inputs
e8a26caa
KK
781 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
782 ("glibc-locales" ,glibc-locales) ; for tests
783 ("gobject-introspection" ,gobject-introspection)
a8340482 784 ("itstool" ,itstool)
bcb354ad
SB
785 ("intltool" ,intltool)
786 ("pkg-config" ,pkg-config)
e8a26caa
KK
787 ("xmllint" ,libxml2)
788 ("xorg-server" ,xorg-server-for-tests)))
a8340482
SB
789 (propagated-inputs
790 ;; Required by gnome-desktop-3.0.pc.
791 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
e8a26caa 792 ("gtk+" ,gtk+)
9cc98f8a 793 ("iso-codes" ,iso-codes)
9863ce20 794 ("libseccomp" ,libseccomp)
9cc98f8a 795 ("libx11" ,libx11)
e8a26caa
KK
796 ("xkeyboard-config" ,xkeyboard-config)))
797 (inputs
798 `(("gdk-pixbuf" ,gdk-pixbuf)
799 ("glib" ,glib)
9cc98f8a
CR
800 ("libxext" ,libxext)
801 ("libxkbfile" ,libxkbfile)
e8a26caa 802 ("libxrandr" ,libxrandr)))
9cc98f8a
CR
803 (home-page "https://www.gnome.org/")
804 (synopsis
35b9e423 805 "Libgnome-desktop, gnome-about, and desktop-wide documents")
9cc98f8a
CR
806 (description
807 "The libgnome-desktop library provides API shared by several applications
35b9e423
EB
808on the desktop, but that cannot live in the platform for various reasons.
809There is no API or ABI guarantee, although we are doing our best to provide
810stability. Documentation for the API is available with gtk-doc.
9cc98f8a
CR
811
812The gnome-about program helps find which version of GNOME is installed.")
813 ; Some bits under the LGPL.
1dd26275 814 (license license:gpl2+)))
9cc98f8a 815
995b7261
AE
816(define-public gnome-doc-utils
817 (package
818 (name "gnome-doc-utils")
819 (version "0.20.10")
820 (source
821 (origin
822 (method url-fetch)
b38e45d8
EB
823 (uri (string-append "mirror://gnome/sources/" name "/"
824 (version-major+minor version) "/"
995b7261
AE
825 name "-" version ".tar.xz"))
826 (sha256
827 (base32
828 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
829 (build-system gnu-build-system)
c4c4cc05 830 (native-inputs
995b7261 831 `(("intltool" ,intltool)
b4ce6300 832 ("docbook-xml" ,docbook-xml-4.4)
d80b0d4a 833 ("python2-libxml2" ,python2-libxml2)
995b7261
AE
834 ("libxml2" ,libxml2)
835 ("libxslt" ,libxslt)
836 ("pkg-config" ,pkg-config)
837 ("python-2" ,python-2)))
995b7261
AE
838 (home-page "https://wiki.gnome.org/GnomeDocUtils")
839 (synopsis
840 "Documentation utilities for the Gnome project")
841 (description
842 "Gnome-doc-utils is a collection of documentation utilities for the
843Gnome project. It includes xml2po tool which makes it easier to translate
844and keep up to date translations of documentation.")
1dd26275 845 (license license:gpl2+))) ; xslt under lgpl
d9c1a22b 846
6c4f7022
DC
847(define-public gnome-disk-utility
848 (package
849 (name "gnome-disk-utility")
e106d0a6 850 (version "3.32.1")
6c4f7022
DC
851 (source (origin
852 (method url-fetch)
853 (uri (string-append "mirror://gnome/sources/" name "/"
854 (version-major+minor version) "/"
855 name "-" version ".tar.xz"))
856 (sha256
857 (base32
e106d0a6 858 "08vwbji9m1nhjjdiyhhaqi8cncys7i89b4bpy095f8475v8y05bg"))))
4b9a65bf 859 (build-system meson-build-system)
321c73c3
EF
860 (arguments
861 '(#:phases
862 (modify-phases %standard-phases
863 (add-after 'unpack 'skip-gtk-update-icon-cache
864 ;; Don't create 'icon-theme.cache'.
865 (lambda _
866 (substitute* "meson_post_install.py"
867 (("gtk-update-icon-cache") "true"))
868 #t)))))
6c4f7022
DC
869 (native-inputs
870 `(("glib:bin" ,glib "bin")
871 ("intltool" ,intltool)
872 ("pkg-config" ,pkg-config)
873 ("docbook-xml" ,docbook-xml)
874 ("docbook-xsl" ,docbook-xsl)
875 ("libxml2" ,libxml2)
876 ("libxslt" ,libxslt)))
877 (inputs
878 `(("glib" ,glib)
879 ("appstream-glib" ,appstream-glib)
880 ("gnome-settings-daemon" ,gnome-settings-daemon)
881 ("gtk+" ,gtk+)
882 ("libcanberra" ,libcanberra)
883 ("libdvdread" ,libdvdread)
884 ("libnotify" ,libnotify)
885 ("libpwquality" ,libpwquality)
886 ("libsecret" ,libsecret)
887 ("udisks" ,udisks)))
888 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
889 (synopsis "Disk management utility for GNOME")
890 (description "Disk management utility for GNOME.")
891 (license license:gpl2+)))
892
3d217317
RG
893(define-public gnome-font-viewer
894 (package
895 (name "gnome-font-viewer")
896 (version "3.30.0")
897 (source (origin
898 (method url-fetch)
899 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
900 (version-major+minor version)
901 "/gnome-font-viewer-" version ".tar.xz"))
902 (sha256
903 (base32
904 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
905 (build-system meson-build-system)
906 (arguments
907 '(#:phases
908 (modify-phases %standard-phases
909 (add-after 'unpack 'patch-post-install-script
910 (lambda _
911 (substitute* "meson-postinstall.sh"
912 (("update-desktop-database") (which "true")))
913 #t)))))
914 (native-inputs
915 `(("gettext" ,gettext-minimal)
916 ("glib:bin" ,glib "bin")
917 ("pkg-config" ,pkg-config)))
918 (inputs
919 `(("glib" ,glib)
920 ("gnome-desktop" ,gnome-desktop)
921 ("gtk+" ,gtk+)))
922 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
923 (synopsis "GNOME Fonts")
924 (description "Application to show you the fonts installed on your computer
925for your use as thumbnails. Selecting any thumbnails shows the full view of how
926the font would look under various sizes.")
927 (license license:gpl2+)))
928
8ff49011
RW
929(define-public gcr
930 (package
931 (name "gcr")
bea6b829 932 (version "3.28.1")
8ff49011 933 (source (origin
0daf0efb
RW
934 (method url-fetch)
935 (uri (string-append "mirror://gnome/sources/" name "/"
936 (version-major+minor version) "/"
937 name "-" version ".tar.xz"))
938 (sha256
939 (base32
bea6b829 940 "12qn7mcmxb45lz1gq3s3b34rimiyrrshkrpvxdw1fc0w26i4l84m"))
03ecf85a
MB
941 (patches
942 (list
943 ;; This patch solves an ordering issue that showed up when
944 ;; running the test suite against newer Glib 2.60. See
945 ;; <https://gitlab.gnome.org/GNOME/gcr/merge_requests/9>.
946 (origin
947 (method url-fetch)
948 (uri (string-append "https://gitlab.gnome.org/GNOME/gcr/commit/"
949 "45d637578d7643ff96c0183ac267497a0b4c6344.diff"))
950 (file-name "gcr-hashtable-ordering.patch")
951 (sha256
952 (base32
953 "1vsqiys8fsm1f1vvds783wwf7zwi5v282rhsai8jrsm6x7h79gbi")))))))
8ff49011
RW
954 (build-system gnu-build-system)
955 (arguments
0daf0efb
RW
956 '(#:phases
957 (modify-phases %standard-phases
958 ;; These fail because /var/lib/dbus/machine-id is not present in the
959 ;; build environment.
960 (add-after 'unpack 'disable-failing-tests
961 (lambda _
962 (substitute* "gcr/test-system-prompt.c"
963 (("g_test_add") "//")
964 (("return.*") "return 0;"))
965 #t))
966 (add-before 'check 'pre-check
967 (lambda _
968 ;; Some tests expect to write to $HOME.
969 (setenv "HOME" "/tmp")
970 #t)))))
8ff49011
RW
971 (inputs
972 `(("dbus" ,dbus)
0daf0efb 973 ("gnupg" ,gnupg) ;called as a child process during tests
8ff49011
RW
974 ("libgcrypt" ,libgcrypt)))
975 (native-inputs
0daf0efb 976 `(("python" ,python-2) ;for tests
8ff49011
RW
977 ("pkg-config" ,pkg-config)
978 ("glib" ,glib "bin")
2af4f5b0
SB
979 ("gobject-introspection" ,gobject-introspection)
980 ("intltool" ,intltool)
0daf0efb 981 ("libxml2" ,libxml2)
bea6b829 982 ("vala" ,vala)
2af4f5b0 983 ("xsltproc" ,libxslt)))
8ff49011
RW
984 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
985 (propagated-inputs
986 `(("p11-kit" ,p11-kit)
987 ("glib" ,glib)
988 ("gtk+" ,gtk+)))
f032d0be 989 (home-page "https://www.gnome.org")
8ff49011
RW
990 (synopsis "Libraries for displaying certificates and accessing key stores")
991 (description
992 "The GCR package contains libraries used for displaying certificates and
993accessing key stores. It also provides the viewer for crypto files on the
994GNOME Desktop.")
995 (license license:lgpl2.1+)))
996
c1354b90
LC
997(define-public libgnome-keyring
998 (package
999 (name "libgnome-keyring")
5e8aec2c 1000 (version "3.12.0")
c1354b90
LC
1001 (source (origin
1002 (method url-fetch)
b38e45d8
EB
1003 (uri (string-append "mirror://gnome/sources/" name "/"
1004 (version-major+minor version) "/"
1005 name "-" version ".tar.xz"))
c1354b90
LC
1006 (sha256
1007 (base32
5e8aec2c 1008 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
c1354b90 1009 (build-system gnu-build-system)
c1354b90 1010 (inputs
c4c4cc05 1011 `(("libgcrypt" ,libgcrypt)
c1354b90 1012 ("dbus" ,dbus)))
c4c4cc05
JD
1013 (native-inputs
1014 `(("pkg-config" ,pkg-config)
426adbe8 1015 ("glib" ,glib "bin")
c4c4cc05 1016 ("intltool" ,intltool)))
c1354b90
LC
1017 (propagated-inputs
1018 ;; Referred to in .h files and .pc.
1019 `(("glib" ,glib)))
f032d0be 1020 (home-page "https://www.gnome.org")
c1354b90
LC
1021 (synopsis "Accessing passwords from the GNOME keyring")
1022 (description
1023 "Client library to access passwords from the GNOME keyring.")
1024
1025 ;; Though a couple of files are LGPLv2.1+.
1dd26275 1026 (license license:lgpl2.0+)))
c1354b90 1027
e99a3d6f
RW
1028(define-public gnome-keyring
1029 (package
1030 (name "gnome-keyring")
ab35cc6e 1031 (version "3.28.2")
e99a3d6f
RW
1032 (source (origin
1033 (method url-fetch)
1034 (uri (string-append "mirror://gnome/sources/" name "/"
1035 (version-major+minor version) "/"
1036 name "-" version ".tar.xz"))
1037 (sha256
1038 (base32
ab35cc6e 1039 "0sk4las4ji8wv9nx8mldzqccmpmkvvr9pdwv9imj26r10xyin5w1"))))
e99a3d6f
RW
1040 (build-system gnu-build-system)
1041 (arguments
1042 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
1043 ;not exist
1044 #:configure-flags
1045 (list
1046 (string-append "--with-pkcs11-config="
1047 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
1048 (string-append "--with-pkcs11-modules="
1049 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
1050 #:phases
1051 (modify-phases %standard-phases
ab35cc6e
RW
1052 (add-after 'unpack 'fix-/bin/sh-reference
1053 (lambda _
1054 (substitute* "po/Makefile.in.in"
1055 (("/bin/sh") (which "sh")))
1056 #t))
5120f24f
RW
1057 (add-after 'unpack 'fix-docbook
1058 (lambda* (#:key inputs #:allow-other-keys)
1059 (substitute* "docs/Makefile.am"
1060 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1061 (string-append (assoc-ref inputs "docbook-xsl")
1062 "/xml/xsl/docbook-xsl-"
1063 ,(package-version docbook-xsl)
1064 "/manpages/docbook.xsl")))
1065 (setenv "XML_CATALOG_FILES"
1066 (string-append (assoc-ref inputs "docbook-xml")
1067 "/xml/dtd/docbook/catalog.xml"))
1068 ;; Rerun the whole thing to avoid version mismatch ("This is
1069 ;; Automake 1.15.1, but the definition used by this
1070 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
1071 ;; use 'autoreconf' because it insists on running 'libtoolize'.
1072 (invoke "autoconf")
1073 (invoke "aclocal")
1074 (invoke "automake" "-ac"))))))
e99a3d6f
RW
1075 (inputs
1076 `(("libgcrypt" ,libgcrypt)
1a0b2d82 1077 ("linux-pam" ,linux-pam)
ab35cc6e 1078 ("openssh" ,openssh)
e99a3d6f
RW
1079 ("dbus" ,dbus)
1080 ("gcr" ,gcr)))
1081 (native-inputs
1082 `(("pkg-config" ,pkg-config)
1083 ("glib" ,glib "bin")
5120f24f 1084 ("glib" ,glib) ; for m4 macros
e99a3d6f
RW
1085 ("python" ,python-2) ;for tests
1086 ("intltool" ,intltool)
1087 ("autoconf" ,autoconf)
1088 ("automake" ,automake)
1089 ("libxslt" ,libxslt) ;for documentation
1090 ("docbook-xml" ,docbook-xml-4.2)
1091 ("docbook-xsl" ,docbook-xsl)))
f032d0be 1092 (home-page "https://www.gnome.org")
e99a3d6f
RW
1093 (synopsis "Daemon to store passwords and encryption keys")
1094 (description
1095 "gnome-keyring is a program that keeps passwords and other secrets for
1096users. It is run as a daemon in the session, similar to ssh-agent, and other
1097applications locate it via an environment variable or D-Bus.
1098
1099The program can manage several keyrings, each with its own master password,
1100and there is also a session keyring which is never stored to disk, but
1101forgotten when the session ends.")
1102 (license license:lgpl2.1+)))
1103
c1354b90
LC
1104(define-public evince
1105 (package
1106 (name "evince")
936d5642 1107 (version "3.34.2")
c1354b90
LC
1108 (source (origin
1109 (method url-fetch)
ac631328 1110 (uri (string-append "mirror://gnome/sources/evince/"
b38e45d8 1111 (version-major+minor version) "/"
ac631328 1112 "evince-" version ".tar.xz"))
c1354b90
LC
1113 (sha256
1114 (base32
936d5642 1115 "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"))))
121de2e1 1116 (build-system glib-or-gtk-build-system)
c1354b90
LC
1117 (arguments
1118 `(#:configure-flags '("--disable-nautilus")
554b2dac
SB
1119 #:phases
1120 (modify-phases %standard-phases
1121 (add-before 'install 'skip-gtk-update-icon-cache
1122 ;; Don't create 'icon-theme.cache'.
1123 (lambda _
1124 (substitute* "data/Makefile"
1125 (("gtk-update-icon-cache") "true"))
1126 #t)))))
c1354b90 1127 (inputs
9a096881
KK
1128 `(("libarchive" ,libarchive)
1129 ("libgxps" ,libgxps)
1130 ("libspectre" ,libspectre)
c769cf9f 1131 ("djvulibre" ,djvulibre)
c1354b90
LC
1132 ("ghostscript" ,ghostscript)
1133 ("poppler" ,poppler)
c769cf9f
SB
1134 ("libtiff" ,libtiff)
1135 ;; TODO:
c769cf9f
SB
1136 ;; Build libkpathsea as a shared library for DVI support.
1137 ;; ("libkpathsea" ,texlive-bin)
1138 ("gnome-desktop" ,gnome-desktop)
c1354b90 1139 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2dfc16d1 1140 ("gspell" ,gspell)
c1354b90 1141 ("libgnome-keyring" ,libgnome-keyring)
c769cf9f 1142 ("adwaita-icon-theme" ,adwaita-icon-theme)
c1354b90
LC
1143 ("gdk-pixbuf" ,gdk-pixbuf)
1144 ("atk" ,atk)
1145 ("pango" ,pango)
1146 ("gtk+" ,gtk+)
1147 ("glib" ,glib)
1148 ("libxml2" ,libxml2)
c1354b90
LC
1149 ("libsm" ,libsm)
1150 ("libice" ,libice)
96e42467 1151 ("shared-mime-info" ,shared-mime-info)
3d243e9c
FB
1152 ("dconf" ,dconf)
1153 ("libcanberra" ,libcanberra)
c769cf9f 1154 ("libsecret" ,libsecret)
a271096b 1155
c1354b90
LC
1156 ;; For tests.
1157 ("dogtail" ,python2-dogtail)))
96e42467 1158 (native-inputs
bcb354ad
SB
1159 `(("itstool" ,itstool)
1160 ("intltool" ,intltool)
426adbe8 1161 ("glib" ,glib "bin")
bcb354ad
SB
1162 ("pkg-config" ,pkg-config)
1163 ("xmllint" ,libxml2)))
c1354b90 1164 (home-page
f032d0be 1165 "https://www.gnome.org/projects/evince/")
c1354b90
LC
1166 (synopsis "GNOME's document viewer")
1167 (description
1168 "Evince is a document viewer for multiple document formats. It
1169currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
1170of Evince is to replace the multiple document viewers that exist
96e42467 1171on the GNOME Desktop with a single simple application.")
1dd26275 1172 (license license:gpl2+)))
c1354b90 1173
22e32e69
AE
1174(define-public gsettings-desktop-schemas
1175 (package
1176 (name "gsettings-desktop-schemas")
c900dabd 1177 (version "3.32.0")
22e32e69
AE
1178 (source
1179 (origin
1180 (method url-fetch)
1181 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1182 (version-major+minor version) "/"
22e32e69
AE
1183 name "-" version ".tar.xz"))
1184 (sha256
1185 (base32
c900dabd
KK
1186 "0d8a6479vappgplq5crdr3ah0ykqcr3fw533wkx9v1a8lnrv8n9d"))))
1187 (build-system meson-build-system)
65209ffa
LC
1188 (arguments
1189 '(#:phases (modify-phases %standard-phases
1190 (add-after 'unpack 'set-adwaita-theme-file-name
1191 (lambda* (#:key inputs #:allow-other-keys)
1192 ;; Provide the correct file name of the default GNOME
1193 ;; background, 'adwaita-timed.xml'.
1194 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
1195 (substitute* (find-files "schemas"
1196 "\\.gschema\\.xml\\.in$")
1197 (("@datadir@/backgrounds/gnome")
1198 (string-append theme "/share/backgrounds/gnome")))
1199 #t))))))
22e32e69 1200 (inputs
65209ffa
LC
1201 `(("glib" ,glib)
1202 ("gnome-backgrounds" ,gnome-backgrounds)))
c4c4cc05
JD
1203 (native-inputs
1204 `(("intltool" ,intltool)
426adbe8 1205 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
7211944a 1206 ("gobject-introspection" ,gobject-introspection)
22e32e69
AE
1207 ("pkg-config" ,pkg-config)))
1208 (home-page "https://launchpad.net/gsettings-desktop-schemas")
1209 (synopsis
1210 "GNOME settings for various desktop components")
1211 (description
1212 "Gsettings-desktop-schemas contains a collection of GSettings schemas
1213for settings shared by various components of the GNOME desktop.")
1dd26275 1214 (license license:lgpl2.1+)))
22e32e69 1215
27477d2d
AE
1216(define-public icon-naming-utils
1217 (package
1218 (name "icon-naming-utils")
1219 (version "0.8.90")
1220 (source
1221 (origin
1222 (method url-fetch)
5cc3096c 1223 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
27477d2d
AE
1224 version ".tar.bz2"))
1225 (sha256
1226 (base32
1227 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
1228 (build-system gnu-build-system)
1229 (inputs
1230 `(("perl" ,perl)
1231 ("perl-xml-simple" ,perl-xml-simple)))
f4e97277
SB
1232 (arguments
1233 '(#:phases
dc1d3cde
KK
1234 (modify-phases %standard-phases
1235 (add-after 'install 'set-load-paths
1236 ;; Tell 'icon-name-mapping' where XML::Simple is.
1237 (lambda* (#:key outputs #:allow-other-keys)
1238 (let* ((out (assoc-ref outputs "out"))
1239 (prog (string-append out "/libexec/icon-name-mapping")))
1240 (wrap-program
1241 prog
1242 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
1243 #t)))))
27477d2d
AE
1244 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
1245 (synopsis
1246 "Utility to implement the Freedesktop Icon Naming Specification")
1247 (description
1248 "To help with the transition to the Freedesktop Icon Naming
1249Specification, the icon naming utility maps the icon names used by the
1250GNOME and KDE desktops to the icon names proposed in the specification.")
1dd26275 1251 (license license:lgpl2.1+)))
27477d2d 1252
7d3f3651
AE
1253(define-public gnome-icon-theme
1254 (package
1255 (name "gnome-icon-theme")
b32f58dd 1256 (version "3.12.0")
7d3f3651
AE
1257 (source
1258 (origin
1259 (method url-fetch)
1260 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1261 (version-major+minor version) "/"
7d3f3651
AE
1262 name "-" version ".tar.xz"))
1263 (sha256
1264 (base32
b32f58dd 1265 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
7d3f3651 1266 (build-system gnu-build-system)
5613c27d
SB
1267 (arguments
1268 '(#:configure-flags
1269 ;; Don't create 'icon-theme.cache'.
1270 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
1271 (true (string-append coreutils "/bin/true")))
1272 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
c4c4cc05 1273 (native-inputs
5613c27d 1274 `(("icon-naming-utils" ,icon-naming-utils)
73b6cf42
SB
1275 ("intltool" ,intltool)
1276 ("pkg-config" ,pkg-config)))
5c610d4f
KK
1277 (home-page "https://wiki.gnome.org/Personalization")
1278 (synopsis "GNOME icon theme")
1279 (description "Icons for the GNOME desktop.")
1dd26275 1280 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
7d3f3651 1281
14eeefa2
SB
1282;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
1283(define-public adwaita-icon-theme
1284 (package (inherit gnome-icon-theme)
1285 (name "adwaita-icon-theme")
9be59d7f 1286 (version "3.32.0")
14eeefa2
SB
1287 (source (origin
1288 (method url-fetch)
1289 (uri (string-append "mirror://gnome/sources/" name "/"
1290 (version-major+minor version) "/"
1291 name "-" version ".tar.xz"))
1292 (sha256
1293 (base32
9be59d7f 1294 "11ij35na8nisvxx3qh527iz33h6z2q1a7iinqyp7p65v0zjbd3b9"))))
5613c27d
SB
1295 (native-inputs
1296 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
14eeefa2 1297
ae792dba
RW
1298(define-public tango-icon-theme
1299 (package
1300 (name "tango-icon-theme")
1301 (version "0.8.90")
1302 (source (origin
1303 (method url-fetch)
1304 (uri (string-append "http://tango.freedesktop.org/releases/"
1305 "tango-icon-theme-" version ".tar.bz2"))
1306 (sha256
1307 (base32
1308 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
1309 (build-system gnu-build-system)
1310 (native-inputs
1311 `(("icon-naming-utils" ,icon-naming-utils)
1312 ("intltool" ,intltool)
1313 ("imagemagick" ,imagemagick)
1314 ("pkg-config" ,pkg-config)))
1315 (home-page "http://tango-project.org/")
1316 (synopsis "Tango icon theme")
1317 (description "This is an icon theme that follows the Tango visual
1318guidelines.")
1319 (license license:public-domain)))
1320
9167f8e6
LC
1321(define-public shared-mime-info
1322 (package
1323 (name "shared-mime-info")
18138ab9 1324 (version "1.10")
9167f8e6
LC
1325 (source (origin
1326 (method url-fetch)
5cc3096c 1327 (uri (string-append "https://freedesktop.org/~hadess/"
b38e45d8 1328 "shared-mime-info-" version ".tar.xz"))
9167f8e6
LC
1329 (sha256
1330 (base32
18138ab9 1331 "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"))))
9167f8e6
LC
1332 (build-system gnu-build-system)
1333 (arguments
1334 ;; The build system appears not to be parallel-safe.
1335 '(#:parallel-build? #f))
1336 (inputs
1337 `(("glib" ,glib)
c4c4cc05 1338 ("libxml2" ,libxml2)))
9167f8e6 1339 (native-inputs
c4c4cc05
JD
1340 `(("intltool" ,intltool)
1341 ("pkg-config" ,pkg-config)))
57e7d748 1342 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
9167f8e6
LC
1343 (synopsis "Database of common MIME types")
1344 (description
1345 "The shared-mime-info package contains the core database of common types
1346and the update-mime-database command used to extend it. It requires glib2 to
1347be installed for building the update command. Additionally, it uses intltool
1348for translations, though this is only a dependency for the maintainers. This
1349database is translated at Transifex.")
1dd26275 1350 (license license:gpl2+)))
9167f8e6 1351
dd1fcddc
CB
1352(define-public system-config-printer
1353 (package
1354 (name "system-config-printer")
fa01e10d 1355 (version "1.5.12")
a5643044
TGR
1356 (source
1357 (origin
1358 (method url-fetch)
1359 (uri (string-append
1360 "https://github.com/OpenPrinting/system-config-printer/releases/"
1361 "download/" version
1362 "/system-config-printer-" version ".tar.xz"))
1363 (sha256
fa01e10d 1364 (base32 "050yrx1vfh9f001qsn06y1jcidxq0ymxr64kxykasr0zzryp25kb"))))
dd1fcddc
CB
1365 (build-system glib-or-gtk-build-system)
1366 (arguments
1367 `(#:imported-modules ((guix build python-build-system)
1368 ,@%glib-or-gtk-build-system-modules)
1369 #:phases
1370 (modify-phases %standard-phases
1371 (add-after 'unpack 'patch-Makefile.am
1372 (lambda _
1373 ;; The Makefile generates some scripts, so set a valid shebang
1374 (substitute* "Makefile.am"
1375 (("/bin/bash") (which "bash")))
1376 (delete-file "configure")
1377 #t))
1378 (add-after 'unpack 'patch-docbook-xml
1379 (lambda* (#:key inputs #:allow-other-keys)
1380 ;; Modify the man XML otherwise xmlto tries to access the network
1381 (substitute* "man/system-config-printer.xml"
1382 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
1383 (string-append (assoc-ref inputs "docbook-xml")
1384 "/xml/dtd/docbook/")))
1385 #t))
1386 (add-after 'install 'wrap-for-python
1387 (@@ (guix build python-build-system) wrap))
1388 (add-after 'install 'wrap
1389 (lambda* (#:key outputs #:allow-other-keys)
1390 (let ((out (assoc-ref outputs "out"))
1391 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
1392 (for-each
1393 (lambda (program)
1394 (wrap-program program
1395 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
1396 (map (lambda (name)
1397 (string-append out "/bin/" name))
1398 '("system-config-printer"
1399 "system-config-printer-applet"
1400 "install-printerdriver"
1401 "scp-dbus-service"))))
1402 #t)))))
1403 (inputs
1404 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1405 ("gobject-introspection" ,gobject-introspection)
1406 ("python" ,python)
1407 ("cups" ,cups)
1408 ("python-dbus" ,python-dbus)
1409 ("python-pygobject" ,python-pygobject)
1410 ("python-pycups" ,python-pycups)
1411 ("python-requests" ,python-requests)
1412 ("python-pycairo" ,python-pycairo)
1413 ("libnotify" ,libnotify)
1414 ("packagekit" ,packagekit)))
1415 (native-inputs
1416 `(("pkg-config" ,pkg-config)
1417 ("desktop-file-utils" ,desktop-file-utils)
1418 ("glib" ,glib)
1419 ("autoconf" ,autoconf)
1420 ("automake" ,automake)
1421 ("intltool" ,intltool)
1422 ("xmlto" ,xmlto)
1423 ("docbook-xml" ,docbook-xml-4.1.2)
1424 ("docbook-xsl" ,docbook-xsl)
1425 ("libxml2" ,libxml2)))
1426 (home-page "https://github.com/zdohnal/system-config-printer")
1427 (synopsis "CUPS administration tool")
1428 (description
1429 "system-config-printer is a CUPS administration tool. It's written in
1430Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
1431configuring CUPS.")
1432 (license license:gpl2+)))
1433
bef4dd92
AE
1434(define-public hicolor-icon-theme
1435 (package
1436 (name "hicolor-icon-theme")
851cb6dd 1437 (version "0.17")
bef4dd92
AE
1438 (source
1439 (origin
1440 (method url-fetch)
5cc3096c 1441 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
b62a0070 1442 "hicolor-icon-theme-" version ".tar.xz"))
bef4dd92
AE
1443 (sha256
1444 (base32
851cb6dd 1445 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
bef4dd92
AE
1446 (build-system gnu-build-system)
1447 (arguments
1448 `(#:tests? #f)) ; no check target
57e7d748 1449 (home-page "https://icon-theme.freedesktop.org/releases/")
bef4dd92
AE
1450 (synopsis
1451 "Freedesktop icon theme")
1452 (description
1453 "Freedesktop icon theme.")
1dd26275 1454 (license license:gpl2)))
bef4dd92 1455
d9c1a22b
AE
1456(define-public libnotify
1457 (package
1458 (name "libnotify")
195bfa68 1459 (version "0.7.7")
d9c1a22b
AE
1460 (source
1461 (origin
1462 (method url-fetch)
1463 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1464 (version-major+minor version) "/"
d9c1a22b
AE
1465 name "-" version ".tar.xz"))
1466 (sha256
1467 (base32
195bfa68 1468 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
d9c1a22b 1469 (build-system gnu-build-system)
6acf6cec
MB
1470 (arguments
1471 `(#:configure-flags '("--disable-static")))
7ef08efa
UK
1472 (propagated-inputs
1473 `(;; In Requires of libnotify.pc.
1474 ("gdk-pixbuf" ,gdk-pixbuf)
1475 ("glib" ,glib)))
d9c1a22b 1476 (inputs
7ef08efa 1477 `(("gtk+" ,gtk+)
c4c4cc05
JD
1478 ("libpng" ,libpng)))
1479 (native-inputs
426adbe8 1480 `(("pkg-config" ,pkg-config)
277a7d82
JN
1481 ("glib" ,glib "bin")
1482 ("gobject-introspection" ,gobject-introspection)))
d9c1a22b
AE
1483 (home-page "https://developer-next.gnome.org/libnotify/")
1484 (synopsis
1485 "GNOME desktop notification library")
1486 (description
1487 "Libnotify is a library that sends desktop notifications to a
35b9e423 1488notification daemon, as defined in the Desktop Notifications spec. These
d9c1a22b
AE
1489notifications can be used to inform the user about an event or display
1490some form of information without getting in the user's way.")
1dd26275 1491 (license license:lgpl2.1+)))
7a8605ce
CR
1492
1493(define-public libpeas
1494 (package
1495 (name "libpeas")
db122a9b 1496 (version "1.22.0")
7a8605ce
CR
1497 (source
1498 (origin
1499 (method url-fetch)
1500 (uri (string-append "mirror://gnome/sources/" name "/"
b38e45d8 1501 (version-major+minor version) "/"
7a8605ce
CR
1502 name "-" version ".tar.xz"))
1503 (sha256
1504 (base32
db122a9b 1505 "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv"))))
7a8605ce 1506 (build-system gnu-build-system)
7a8605ce 1507 (inputs
2ed6522a
SB
1508 `(("gtk+" ,gtk+)
1509 ("glade" ,glade3)
2ed6522a
SB
1510 ("python" ,python)
1511 ("python-pygobject" ,python-pygobject)))
141aed80
LC
1512 (native-inputs
1513 `(("pkg-config" ,pkg-config)
93622993 1514 ("glib:bin" ,glib "bin")
141aed80
LC
1515 ("gobject-introspection" ,gobject-introspection)
1516 ("intltool" ,intltool)))
55b7bbd8
LC
1517 (propagated-inputs
1518 ;; The .pc file "Requires" gobject-introspection.
1519 `(("gobject-introspection" ,gobject-introspection)))
7a8605ce
CR
1520 (home-page "https://wiki.gnome.org/Libpeas")
1521 (synopsis "GObject plugin system")
1522 (description
d1e4ad1b
TGR
1523 "Libpeas is a gobject-based plugin engine, targeted at giving every
1524application the chance to assume its own extensibility. It also has a set of
1525features including, but not limited to: multiple extension points; on-demand
1526(lazy) programming language support for C, Python and JS; simplicity of the
1527API.")
1dd26275 1528 (license license:lgpl2.0+)))
ed19903d
JD
1529
1530(define-public gtkglext
1531 (package
1532 (name "gtkglext")
1533 (version "1.2.0")
1534 (source (origin
1535 (method url-fetch)
0f971a04 1536 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
ed19903d
JD
1537 version "/gtkglext-" version ".tar.gz"))
1538 (sha256
1539 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
fc1adab1
AK
1540 (patches (search-patches
1541 "gtkglext-disable-disable-deprecated.patch"))))
ed19903d 1542 (build-system gnu-build-system)
14e2f61a
RW
1543 (arguments
1544 `(#:phases
1545 (modify-phases %standard-phases
1546 ;; Fix a collision between a local variable and a definition from
1547 ;; glibc's string.h.
1548 (add-after 'unpack 'fix-collision
1549 (lambda _
1550 (substitute* "gdk/gdkglshapes.c"
1551 ((" index") " triangle_index"))
1552 #t)))))
ed19903d
JD
1553 (inputs `(("gtk+" ,gtk+-2)
1554 ("mesa" ,mesa)
cc8b02f4 1555 ("glu" ,glu)
ed19903d
JD
1556 ("libx11" ,libx11)
1557 ("libxt" ,libxt)))
426adbe8
LC
1558 (native-inputs `(("pkg-config" ,pkg-config)
1559 ("glib" ,glib "bin")))
a83b6a06 1560 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
ed19903d 1561 (home-page "https://projects.gnome.org/gtkglext")
9e771e3b 1562 (synopsis "OpenGL extension to GTK+")
35b9e423 1563 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
ed19903d
JD
1564additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
1565API add-ons to make GTK+ widgets OpenGL-capable.")
1dd26275 1566 (license license:lgpl2.1+)))
3600420e
JD
1567
1568(define-public glade3
1569 (package
1570 (name "glade")
c6571adb 1571 (version "3.22.1")
b38e45d8
EB
1572 (source (origin
1573 (method url-fetch)
1574 (uri (string-append "mirror://gnome/sources/" name "/"
1575 (version-major+minor version) "/"
f5ca44b8 1576 name "-" version ".tar.xz"))
3600420e 1577 (sha256
f714d9fe 1578 (base32
c6571adb 1579 "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"))))
6983ba56 1580 (build-system glib-or-gtk-build-system)
f5ca44b8
RW
1581 (arguments
1582 `(#:tests? #f ; needs X, GL, and software rendering
1583 #:phases
1584 (modify-phases %standard-phases
1585 (add-before 'configure 'fix-docbook
1586 (lambda* (#:key inputs #:allow-other-keys)
1587 (substitute* "man/Makefile.in"
1588 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1589 (string-append (assoc-ref inputs "docbook-xsl")
1590 "/xml/xsl/docbook-xsl-"
1591 ,(package-version docbook-xsl)
1592 "/manpages/docbook.xsl")))
1593 #t)))))
3600420e 1594 (inputs
f5ca44b8 1595 `(("gtk+" ,gtk+)
3600420e
JD
1596 ("libxml2" ,libxml2)))
1597 (native-inputs
1598 `(("intltool" ,intltool)
f5ca44b8
RW
1599 ("itstool" ,itstool)
1600 ("libxslt" ,libxslt) ;for xsltproc
1601 ("docbook-xml" ,docbook-xml-4.2)
1602 ("docbook-xsl" ,docbook-xsl)
1603 ("python" ,python-2)
3600420e
JD
1604 ("pkg-config" ,pkg-config)))
1605 (home-page "https://glade.gnome.org")
1606 (synopsis "GTK+ rapid application development tool")
1607 (description "Glade is a rapid application development (RAD) tool to
1608enable quick & easy development of user interfaces for the GTK+ toolkit and
1609the GNOME desktop environment.")
1dd26275
LC
1610 (license license:lgpl2.0+)))
1611
1612(define-public libcroco
1613 (package
1614 (name "libcroco")
8bdacad2 1615 (version "0.6.13")
1dd26275
LC
1616 (source (origin
1617 (method url-fetch)
b38e45d8
EB
1618 (uri (string-append "mirror://gnome/sources/" name "/"
1619 (version-major+minor version) "/"
1620 name "-" version ".tar.xz"))
1dd26275
LC
1621 (sha256
1622 (base32
8bdacad2 1623 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
1dd26275
LC
1624 (build-system gnu-build-system)
1625 (native-inputs
1626 `(("pkg-config" ,pkg-config)))
1627 (inputs
1628 `(("glib" ,glib)
1629 ("libxml2" ,libxml2)
1630 ("zlib" ,zlib)))
1631 (home-page "https://github.com/GNOME/libcroco")
1632 (synopsis "CSS2 parsing and manipulation library")
1633 (description
1634 "Libcroco is a standalone CSS2 parsing and manipulation library.
1635The parser provides a low level event driven SAC-like API and a CSS object
1636model like API. Libcroco provides a CSS2 selection engine and an experimental
1637XML/CSS rendering engine.")
1638
1639 ;; LGPLv2.1-only.
1640 (license license:lgpl2.1)))
25178594
LC
1641
1642(define-public libgsf
1643 (package
1644 (name "libgsf")
8d1644a1 1645 (version "1.14.46")
25178594
LC
1646 (source (origin
1647 (method url-fetch)
b38e45d8
EB
1648 (uri (string-append "mirror://gnome/sources/" name "/"
1649 (version-major+minor version) "/"
1650 name "-" version ".tar.xz"))
25178594
LC
1651 (sha256
1652 (base32
8d1644a1 1653 "0bddmlzg719sjhlbzqlhb7chwk93qc7g68m2r9r8xz112jdradpa"))))
25178594
LC
1654 (build-system gnu-build-system)
1655 (native-inputs
1656 `(("intltool" ,intltool)
1657 ("pkg-config" ,pkg-config)))
1658 (inputs
1659 `(("python" ,python)
1660 ("zlib" ,zlib)
1661 ("bzip2" ,bzip2)))
1662 (propagated-inputs
1663 `(("gdk-pixbuf" ,gdk-pixbuf)
1664 ("glib" ,glib)
1665 ("libxml2" ,libxml2)))
f032d0be 1666 (home-page "https://www.gnome.org/projects/libgsf")
25178594
LC
1667 (synopsis "GNOME's Structured File Library")
1668 (description
1669 "Libgsf aims to provide an efficient extensible I/O abstraction for
1670dealing with different structured file formats.")
1671
1672 ;; LGPLv2.1-only.
1673 (license license:lgpl2.1)))
63016e7c
LC
1674
1675(define-public librsvg
f67417a1
MB
1676 (package
1677 (name "librsvg")
1678 (version "2.40.20")
1679 (source (origin
1680 (method url-fetch)
1681 (uri (string-append "mirror://gnome/sources/" name "/"
1682 (version-major+minor version) "/"
1683 name "-" version ".tar.xz"))
1684 (sha256
1685 (base32
1686 "0ay9himvw1l1swcf3h1312d2iqzfl65kpbfgiyfykgvq7cydvx6g"))))
1687 (build-system gnu-build-system)
1688 (arguments
1689 `(#:configure-flags
1690 (list "--disable-static"
1691 "--enable-vala") ; needed for e.g. gnome-mines
1692 #:phases
1693 (modify-phases %standard-phases
1694 (add-before 'configure 'pre-configure
1695 (lambda* (#:key inputs #:allow-other-keys)
1696 (substitute* "gdk-pixbuf-loader/Makefile.in"
1697 ;; By default the gdk-pixbuf loader is installed under
1698 ;; gdk-pixbuf's prefix. Work around that.
1699 (("gdk_pixbuf_moduledir = .*$")
1700 (string-append "gdk_pixbuf_moduledir = "
1701 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1702 "loaders\n"))
1703 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1704 (("gdk_pixbuf_cache_file = .*$")
1705 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1706 #t))
1707 (add-before 'check 'remove-failing-tests
1708 (lambda _
1709 (with-directory-excursion "tests/fixtures/reftests"
1710 (for-each delete-file
1711 '(;; This test fails on i686:
1712 "svg1.1/masking-path-04-b.svg"
1713 ;; This test fails on armhf:
1714 "svg1.1/masking-mask-01-b.svg"
1715 ;; This test fails on aarch64:
1716 "bugs/777834-empty-text-children.svg")))
1717 #t)))))
1718 (native-inputs
1719 `(("pkg-config" ,pkg-config)
1720 ("vala" ,vala)
1721 ("glib" ,glib "bin") ; glib-mkenums, etc.
1722 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
1723 (inputs
1724 `(("pango" ,pango)
1725 ("libcroco" ,libcroco)
1726 ("bzip2" ,bzip2)
1727 ("libgsf" ,libgsf)
1728 ("libxml2" ,libxml2)))
1729 (propagated-inputs
1730 ;; librsvg-2.0.pc refers to all of that.
1731 `(("cairo" ,cairo)
1732 ("gdk-pixbuf" ,gdk-pixbuf)
1733 ("glib" ,glib)))
1734 (home-page "https://wiki.gnome.org/LibRsvg")
1735 (synopsis "Render SVG files using Cairo")
1736 (description
1737 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
1738library.")
1739 (license license:lgpl2.0+)))
1740
8f523eb9
EF
1741(define* (computed-origin-method gexp-promise hash-algo hash
1742 #:optional (name "source")
1743 #:key (system (%current-system))
1744 (guile (default-guile)))
1745 "Return a derivation that executes the G-expression that results
1746from forcing GEXP-PROMISE."
1747 (mlet %store-monad ((guile (package->derivation guile system)))
1748 (gexp->derivation (or name "computed-origin")
1749 (force gexp-promise)
1750 #:graft? #f ;nothing to graft
1751 #:system system
1752 #:guile-for-build guile)))
1753
1754(define librsvg-next-source
1755 (let* ((version "2.46.3")
1756 (upstream-source (origin
1757 (method url-fetch)
1758 (uri (string-append "mirror://gnome/sources/librsvg/"
1759 (version-major+minor version) "/"
1760 "librsvg-" version ".tar.xz"))
1761 (sha256
1762 (base32
1763 "1s3a96i7f4pynjwxxvhysp4b6r7kyi8nasdxfyi62hc7gm34d3kn")))))
1764 (origin
1765 (method computed-origin-method)
1766 (file-name (string-append "librsvg-" version ".tar.xz"))
1767 (sha256 #f)
1768 (uri
1769 (delay
1770 (with-imported-modules '((guix build utils))
1771 #~(begin
1772 (use-modules (guix build utils))
1773 (set-path-environment-variable
1774 "PATH" '("bin")
1775 (list "/tmp"
1776 #+(canonical-package xz)
1777 #+(canonical-package gzip)
1778 #+(canonical-package tar)))
1779 (invoke "tar" "xvf" #+upstream-source)
1780 (with-directory-excursion (string-append "librsvg-" #$version)
1781 (for-each
1782 (lambda (crate)
1783 (delete-file-recursively (string-append "vendor/" (car crate)))
1784 (invoke "tar" "xvf" (cdr crate) "-C" "vendor"))
1785 '(
1786;; aho-corasick 0.7
1787;; alga 0.9
1788;; approx 0.3
1789;; arrayvec 0.4
1790 ("atty" . #+(package-source rust-atty-0.2))
1791 ("autocfg" . #+(package-source rust-autocfg-0.1))
1792 ("bitflags" . #+(package-source rust-bitflags-1))
1793;; block 0.1
1794;; bstr 0.2
1795;; byteorder 1.3
1796;; cairo-rs 0.7
1797;; cairo-sys-rs 0.9
1798;; cast 0.2
1799 ("cfg-if" . #+(package-source rust-cfg-if-0.1))
1800 ("clap" . #+(package-source rust-clap-2))
1801 ;("cloudabi" . #+(package-source rust-cloudabi-0.0))
1802;; criterion 0.2
1803;; criterion-plot 0.3
1804;; crossbeam-deque 0.7
1805;; crossbeam-epoch 0.7
1806;; crossbeam-queue 0.1
1807;; crossbeam-utils 0.6
1808;; cssparser 0.25
1809;; cssparser-macros 0.3
1810;; csv 1.1
1811;; csv-core 0.1
1812;; data-url 0.1
1813;; downcast-rs 1.0
1814 ("dtoa" . #+(package-source rust-dtoa-0.4))
1815;; dtoa-short 0.3
1816;; either 1.5
1817;; encoding 0.2
1818;; encoding-index-japanese 1.20141219.5
1819;; encoding-index-korean 1.20141219.5
1820;; encoding-index-simpchinese 1.20141219.5
1821;; encoding-index-singlebyte 1.20141219.5
1822;; encoding-index-tradchinese 1.20141219.5
1823;; encoding_index_tests 0.1
1824;; float-cmp 0.5
1825;; fragile 0.3
1826 ;("fuchsia-cprng" . #+(package-source rust-fuchsia-cprng-0.1))
1827;; futf 0.1
1828;; gdk-pixbuf 0.7
1829;; gdk-pixbuf-sys 0.9
1830;; generic-array 0.12
1831;; gio 0.7
1832;; gio-sys 0.9
1833;; glib 0.8
1834;; glib-sys 0.9
1835;; gobject-sys 0.9
1836;; idna 0.2
1837;; itertools 0.8
1838 ("itoa" . #+(package-source rust-itoa-0.4))
1839 ;("language-tags" . #+(package-source rust-language-tags-0.2))
1840 ("lazy_static" . #+(package-source rust-lazy-static-1.3))
1841 ("libc" . #+(package-source rust-libc-0.2))
1842;; libm 0.1
1843;; locale_config 0.3
1844 ("log" . #+(package-source rust-log-0.4))
1845;; mac 0.1
1846;; malloc_buf 0.0
1847;; markup5ever 0.9
1848 ;("matches" . #+(package-source rust-matches-0.1))
1849;; matrixmultiply 0.2
1850;; memchr 2.2
1851;; memoffset 0.5
1852;; nalgebra 0.18
1853;; new_debug_unreachable 1.0
1854 ("nodrop" . #+(package-source rust-nodrop-0.1))
1855;; num-complex 0.2
1856 ("num-integer" . #+(package-source rust-num-integer-0.1))
1857;; num-rational 0.2
1858 ("num-traits" . #+(package-source rust-num-traits-0.2))
1859 ("num_cpus" . #+(package-source rust-num-cpus-1.10))
1860;; objc 0.2
1861;; objc-foundation 0.1
1862;; objc_id 0.1
1863;; pango 0.7
1864;; pango-sys 0.9
1865;; pangocairo 0.8
1866;; pangocairo-sys 0.10
1867 ("percent-encoding" . #+(package-source rust-percent-encoding-2.1))
1868;; phf 0.7.24
1869;; phf_codegen 0.7.24
1870;; phf_generator 0.7.24
1871;; phf_shared 0.7.24
1872 ;("pkg-config" . #+(package-source rust-pkg-config-0.3))
1873;; precomputed-hash 0.1
1874 ("proc-macro2" . #+(package-source rust-proc-macro2-1.0))
1875;; procedural-masquerade 0.1
1876 ("quote" . #+(package-source rust-quote-1.0))
1877 ;("rand" . #+(package-source rust-rand-0.6))
1878 ("rand_chacha" . #+(package-source rust-rand-chacha-0.1))
1879 ("rand_core-0.3.1" . #+(package-source rust-rand-core-0.3))
1880 ("rand_core" . #+(package-source rust-rand-core-0.4))
1881 ("rand_hc" . #+(package-source rust-rand-hc-0.1))
1882 ("rand_isaac" . #+(package-source rust-rand-isaac-0.1))
1883 ("rand_jitter" . #+(package-source rust-rand-jitter-0.1))
1884 ("rand_os" . #+(package-source rust-rand-os-0.1))
1885 ("rand_pcg" . #+(package-source rust-rand-pcg-0.1))
1886 ("rand_xorshift" . #+(package-source rust-rand-xorshift-0.1))
1887;; rand_xoshiro 0.1
1888 ;("rawpointer" . #+(package-source rust-rawpointer-0.1))
1889;; rayon 1.2
1890;; rayon-core 1.6
1891;; rctree 0.3
1892 ("rdrand" . #+(package-source rust-rdrand-0.4))
1893;; regex 1.3
1894;; regex-automata 0.1
1895 ;("regex-syntax" . #+(package-source rust-regex-syntax-0.6))
1896;; rustc_version 0.2
1897 ("ryu" . #+(package-source rust-ryu-1.0))
1898 ("same-file" . #+(package-source rust-same-file-1.0))
1899 ("scopeguard" . #+(package-source rust-scopeguard-1.0))
1900;; semver 0.9
1901 ;("semver-parser" . #+(package-source rust-semver-parser-0.7))
1902 ("serde" . #+(package-source rust-serde-1.0))
1903 ("serde_derive" . #+(package-source rust-serde-derive-1.0))
1904 ("serde_json" . #+(package-source rust-serde-json-1.0))
1905;; siphasher 0.2
1906;; smallvec 0.6
1907;; string_cache 0.7
1908;; string_cache_codegen 0.4
1909;; string_cache_shared 0.3
1910 ("syn" . #+(package-source rust-syn-1.0))
1911;; tendril 0.4
1912 ("textwrap" . #+(package-source rust-textwrap-0.11))
1913 ;("thread_local" . #+(package-source rust-thread-local-0.3))
1914;; tinytemplate 1.0
1915 ;("typenum" . #+(package-source rust-typenum-1.10))
1916;; unicode-bidi 0.3
1917;; unicode-normalization 0.1
1918 ("unicode-width" . #+(package-source rust-unicode-width-0.1))
1919 ("unicode-xid" . #+(package-source rust-unicode-xid-0.2))
1920;; url 2.1
1921;; utf-8 0.7
1922 ("walkdir" . #+(package-source rust-walkdir-2.2))
1923 ("winapi" . #+(package-source rust-winapi-0.3))
1924 ;("winapi-i686-pc-windows-gnu" . #+(package-source rust-winapi-i686-pc-windows-gnu-0.4))
1925 ("winapi-util" . #+(package-source rust-winapi-util-0.1))
1926 ;("winapi-x86_64-pc-windows-gnu" . #+(package-source rust-winapi-x86-64-pc-windows-gnu-0.4))
1927;; xml-rs 0.8
1928 )))
1929 (format #t "Replacing vendored crates in the tarball and repacking ...~%")
1930 (force-output)
1931 (invoke "tar" "cfa" #$output
1932 ;; Avoid non-determinism in the archive. We set the
1933 ;; mtime of files in the archive to early 1980 because
1934 ;; the build process fails if the mtime of source
1935 ;; files is pre-1980, due to the creation of zip
1936 ;; archives.
1937 "--mtime=@315619200" ; 1980-01-02 UTC
1938 "--owner=root:0"
1939 "--group=root:0"
1940 "--sort=name"
1941 (string-append "librsvg-" #$version))
1942 #t)))))))
1943
f67417a1 1944(define-public librsvg-next
63016e7c
LC
1945 (package
1946 (name "librsvg")
cf9dad6c 1947 (version "2.46.3")
8f523eb9 1948 (source librsvg-next-source)
63016e7c
LC
1949 (build-system gnu-build-system)
1950 (arguments
d953418a
RW
1951 `(#:configure-flags
1952 (list "--disable-static"
1953 "--enable-vala") ; needed for e.g. gnome-mines
7e0f4cb1 1954 #:make-flags '("CC=gcc")
8f523eb9 1955 #:imported-modules ,%cargo-utils-modules ;for `generate-all-checksums'
ec47c07d 1956 #:phases
b6239e45 1957 (modify-phases %standard-phases
8f523eb9 1958 (add-after 'configure 'patch-cargo-checksums
ec47c07d 1959 (lambda _
8f523eb9
EF
1960 (use-modules (guix build cargo-utils))
1961 (substitute* "librsvg/Cargo.toml"
1962 (("bitflags .*") "bitflags = \"1\"\n")) ; 1.2 is vendored
b665a246 1963 (generate-all-checksums "vendor")
8f523eb9
EF
1964 (delete-file "Cargo.lock")
1965 (invoke "cargo" "generate-lockfile")))
b6239e45
EF
1966 (add-before 'configure 'pre-configure
1967 (lambda* (#:key inputs #:allow-other-keys)
1968 (substitute* "gdk-pixbuf-loader/Makefile.in"
1969 ;; By default the gdk-pixbuf loader is installed under
1970 ;; gdk-pixbuf's prefix. Work around that.
1971 (("gdk_pixbuf_moduledir = .*$")
1972 (string-append "gdk_pixbuf_moduledir = "
1973 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
1974 "loaders\n"))
1975 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
1976 (("gdk_pixbuf_cache_file = .*$")
1977 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
1978 #t))
ec47c07d 1979 (add-before 'check 'remove-failing-tests
b6239e45 1980 (lambda _
64a153bd
MW
1981 (with-directory-excursion "tests/fixtures/reftests"
1982 (for-each delete-file
ec47c07d
MB
1983 '(;; The images produced by these tests differ slightly
1984 ;; from their reference counterparts due to differences
1985 ;; in the build environment (missing fonts, etc). See
1986 ;; <tests/README.md> for details.
1987 ;; These fail on x86_64.
1988 "svg1.1/coords-viewattr-02-b.svg"
1989 "svg1.1/filters-composite-04-f.svg"
1990 "svg1.1/filters-image-01-b.svg"
1991 "svg1.1/filters-conv-02-f.svg"
1992 "svg1.1/filters-conv-04-f.svg"
1993 ;; This test fails on i686:
64a153bd 1994 "svg1.1/masking-path-04-b.svg"
64a153bd
MW
1995 ;; This test fails on armhf:
1996 "svg1.1/masking-mask-01-b.svg"
64a153bd 1997 ;; This test fails on aarch64:
ec47c07d 1998 "bugs/777834-empty-text-children.svg")))
b6239e45 1999 #t)))))
63016e7c
LC
2000 (native-inputs
2001 `(("pkg-config" ,pkg-config)
64855281
MB
2002 ;; This is the minimum supported Rust version in Librsvg 2.46.
2003 ("rust" ,rust-1.34)
2004 ("cargo" ,rust-1.34 "cargo")
d953418a 2005 ("vala" ,vala)
44add1ce 2006 ("glib" ,glib "bin") ; glib-mkenums, etc.
63016e7c
LC
2007 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
2008 (inputs
2009 `(("pango" ,pango)
2010 ("libcroco" ,libcroco)
2011 ("bzip2" ,bzip2)
2012 ("libgsf" ,libgsf)
2013 ("libxml2" ,libxml2)))
2014 (propagated-inputs
2015 ;; librsvg-2.0.pc refers to all of that.
2016 `(("cairo" ,cairo)
2017 ("gdk-pixbuf" ,gdk-pixbuf)
2018 ("glib" ,glib)))
2019 (home-page "https://wiki.gnome.org/LibRsvg")
2020 (synopsis "Render SVG files using Cairo")
2021 (description
35b9e423 2022 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
63016e7c 2023library.")
cf9dad6c 2024 (license license:lgpl2.1+)))
5698b8b8
JD
2025
2026(define-public libidl
2027 (package
2028 (name "libidl")
2029 (version "0.8.14")
2030 (source (origin
2031 (method url-fetch)
80a06e62
EF
2032 (uri (string-append "mirror://gnome/sources/libIDL/"
2033 (version-major+minor version) "/"
2034 "libIDL-" version ".tar.bz2"))
5698b8b8
JD
2035 (sha256
2036 (base32
2037 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
2038 (build-system gnu-build-system)
2039 (inputs `(("glib" ,glib)))
2040 (native-inputs
2041 `(("pkg-config" ,pkg-config)
b3546174 2042 ("flex" ,flex)
5698b8b8
JD
2043 ("bison" ,bison)))
2044 (home-page "http://freecode.com/projects/libidl")
2045 (synopsis "Create trees of CORBA Interface Definition Language files")
35b9e423 2046 (description "Libidl is a library for creating trees of CORBA Interface
5698b8b8
JD
2047Definition Language (idl) files, which is a specification for defining
2048portable interfaces. libidl was initially written for orbit (the orb from the
35b9e423 2049GNOME project, and the primary means of libidl distribution). However, the
2e6ecc5c 2050functionality was designed to be as reusable and portable as possible.")
ef2c55bb 2051 (properties `((upstream-name . "libIDL")))
5698b8b8
JD
2052 (license license:lgpl2.0+)))
2053
2054
2055(define-public orbit2
2056 (package
2057 (name "orbit2")
2058 (version "2.14.19")
2059 (source (origin
2060 (method url-fetch)
2e6ecc5c 2061 (uri (let ((upstream-name "ORBit2"))
a124bbd2 2062 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
2063 (version-major+minor version) "/"
2064 upstream-name "-" version ".tar.bz2")))
5698b8b8 2065 (sha256
a124bbd2
SB
2066 (base32
2067 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
5698b8b8
JD
2068 (build-system gnu-build-system)
2069 (arguments
a124bbd2 2070 `(#:configure-flags
8aad2e32
LC
2071 '(;; We don't need static libraries, plus they don't build reproducibly
2072 ;; (non-deterministic ordering of .o files in the archive.)
2073 "--disable-static"
2074
2075 ;; The programmer kindly gives us a hook to turn off deprecation
2076 ;; warnings ...
2077 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
a124bbd2
SB
2078 ;; ... which they then completly ignore !!
2079 #:phases
dc1d3cde
KK
2080 (modify-phases %standard-phases
2081 (add-before 'configure 'ignore-deprecations
2082 (lambda _
2083 (substitute* "linc2/src/Makefile.in"
2084 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2085 #t)))))
5698b8b8
JD
2086 (inputs `(("glib" ,glib)
2087 ("libidl" ,libidl)))
2088 (native-inputs
2089 `(("pkg-config" ,pkg-config)))
2090 (home-page "https://projects.gnome.org/orbit2/")
2091 (synopsis "CORBA 2.4-compliant Object Request Broker")
35b9e423 2092 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
2e6ecc5c 2093featuring mature C, C++ and Python bindings.")
a124bbd2
SB
2094 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
2095 ;; a version. SOME of the code files have licence notices for GPLv2+.
2096 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
892307ae
LC
2097 (license license:gpl2+)
2098 (properties `((upstream-name . "ORBit2")))))
5698b8b8
JD
2099
2100
2101(define-public libbonobo
2102 (package
2103 (name "libbonobo")
2104 (version "2.32.1")
2105 (source (origin
2106 (method url-fetch)
5becd025 2107 (uri (string-append "mirror://gnome/sources/" name "/"
29a7c98a 2108 (version-major+minor version)
5becd025 2109 "/" name "-" version ".tar.bz2"))
5698b8b8 2110 (sha256
f1fc45a9 2111 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
fc1adab1
AK
2112 (patches (search-patches
2113 "libbonobo-activation-test-race.patch"))))
5698b8b8
JD
2114 (build-system gnu-build-system)
2115 (arguments
2116 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
5becd025
EB
2117 `(#:configure-flags
2118 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
2119 ;; ... which they then completly ignore !!
2120 #:phases
dc1d3cde
KK
2121 (modify-phases %standard-phases
2122 (add-before 'configure 'ignore-deprecations
2123 (lambda _
2124 (substitute* "activation-server/Makefile.in"
2125 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
994b5b1d
LC
2126 #t)))
2127
2128 ;; There's apparently a race condition between the server stub
2129 ;; generation and linking of the example under 'samples/echo' that can
2130 ;; lead do undefined references when building in parallel, as reported
2131 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
2132 ;; Thus, disable parallel builds.
2133 #:parallel-build? #f))
5698b8b8
JD
2134 (inputs `(("popt" ,popt)
2135 ("libxml2" ,libxml2)))
2136 ;; The following are Required by the .pc file
44add1ce 2137 (propagated-inputs
5698b8b8
JD
2138 `(("glib" ,glib)
2139 ("orbit2" ,orbit2)))
2140 (native-inputs
2141 `(("intltool" ,intltool)
2142 ("pkg-config" ,pkg-config)
221ed17a 2143 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2144 ("flex" ,flex)
2145 ("bison" ,bison)))
2146 (home-page "https://developer.gnome.org/libbonobo/")
2147 (synopsis "Framework for creating reusable components for use in GNOME applications")
2148 (description "Bonobo is a framework for creating reusable components for
2e6ecc5c 2149use in GNOME applications, built on top of CORBA.")
5698b8b8
JD
2150 ;; Licence not explicitly stated. Source files contain no licence notices.
2151 ;; Tarball contains text of both GPLv2 and LGPLv2
2152 ;; GPLv2 covers both conditions
2153 (license license:gpl2+)))
2154
2155
2156(define-public gconf
2157 (package
2158 (name "gconf")
2159 (version "3.2.6")
2160 (source (origin
2161 (method url-fetch)
a124bbd2
SB
2162 (uri
2163 (let ((upstream-name "GConf"))
2164 (string-append "mirror://gnome/sources/" upstream-name "/"
b38e45d8
EB
2165 (version-major+minor version) "/"
2166 upstream-name "-" version ".tar.xz")))
5698b8b8
JD
2167 (sha256
2168 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
2169 (build-system gnu-build-system)
2e88d113 2170 (inputs `(("dbus-glib" ,dbus-glib)
5698b8b8 2171 ("libxml2" ,libxml2)))
2e6ecc5c
AE
2172 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
2173 ("orbit2" ,orbit2)))
5698b8b8
JD
2174 (native-inputs
2175 `(("intltool" ,intltool)
221ed17a 2176 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2177 ("pkg-config" ,pkg-config)))
2178 (home-page "https://projects.gnome.org/gconf/")
35b9e423
EB
2179 (synopsis "Store application preferences")
2180 (description "Gconf is a system for storing application preferences. It
2181is intended for user preferences; not arbitrary data storage.")
29d2f451
LC
2182 (license license:lgpl2.0+)
2183 (properties '((upstream-name . "GConf")))))
5698b8b8
JD
2184
2185
2186(define-public gnome-mime-data
2187 (package
2188 (name "gnome-mime-data")
2189 (version "2.18.0")
2190 (source (origin
2191 (method url-fetch)
b38e45d8
EB
2192 (uri (string-append "mirror://gnome/sources/" name "/"
2193 (version-major+minor version) "/"
2194 name "-" version ".tar.bz2"))
5698b8b8
JD
2195 (sha256
2196 (base32
2197 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
2198 (build-system gnu-build-system)
2199 (native-inputs
2200 `(("perl" ,perl)
2201 ("intltool" ,intltool)))
3e6add96
LC
2202 (arguments
2203 '(#:phases (modify-phases %standard-phases
2204 (add-after 'configure 'use-our-intltool
2205 (lambda _
2206 ;; Do not use the bundled intltool commands, which lack
2207 ;; the "dotless @INC" fixes of our 'intltool' package.
2208 (substitute* (find-files "." "^Makefile$")
2209 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
2210 (string-append "INTLTOOL_" tool " = intltool-"
2211 (string-downcase tool) "\n")))
2212 #t)))))
f032d0be 2213 (home-page "https://www.gnome.org")
35b9e423 2214 (synopsis "Base MIME and Application database for GNOME")
5698b8b8
JD
2215 (description "GNOME Mime Data is a module which contains the base MIME
2216and Application database for GNOME. The data stored by this module is
2217designed to be accessed through the MIME functions in GnomeVFS.")
2218 (license license:gpl2+)))
2219
2220
2221(define-public gnome-vfs
2222 (package
2223 (name "gnome-vfs")
2224 (version "2.24.4")
2225 (source (origin
2226 (method url-fetch)
b38e45d8
EB
2227 (uri (string-append "mirror://gnome/sources/" name "/"
2228 (version-major+minor version) "/"
2229 name "-" version ".tar.bz2"))
5698b8b8 2230 (sha256
9e12bc34
MW
2231 (base32
2232 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
5698b8b8
JD
2233 (build-system gnu-build-system)
2234 (arguments
db5127d8 2235 `(#:phases
dc1d3cde
KK
2236 (modify-phases %standard-phases
2237 (add-before 'configure 'ignore-deprecations
2238 (lambda _
2239 (substitute* '("libgnomevfs/Makefile.in"
2240 "daemon/Makefile.in")
2241 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2242 #t))
2243 (add-before 'configure 'patch-test-async-cancel-to-never-fail
2244 (lambda _
2245 (substitute* "test/test-async-cancel.c"
2246 (("EXIT_FAILURE") "77"))
2247 #t)))))
2e6ecc5c 2248 (inputs `(("libxml2" ,libxml2)
5698b8b8 2249 ("dbus-glib" ,dbus-glib)
5698b8b8
JD
2250 ("gconf" ,gconf)
2251 ("gnome-mime-data" ,gnome-mime-data)
2252 ("zlib" ,zlib)))
2253 (native-inputs
221ed17a
EB
2254 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2255 ("intltool" ,intltool)
5698b8b8
JD
2256 ("pkg-config" ,pkg-config)))
2257 (home-page "https://developer.gnome.org/gnome-vfs/")
35b9e423 2258 (synopsis "Access files and folders in GNOME applications")
9e12bc34
MW
2259 (description
2260 "GnomeVFS is the core library used to access files and folders in GNOME
2261applications. It provides a file system abstraction which allows applications
2262to access local and remote files with a single consistent API.")
5698b8b8
JD
2263 (license license:lgpl2.0+)))
2264
2265
2266
2267(define-public libgnome
2268 (package
2269 (name "libgnome")
2270 (version "2.32.1")
2271 (source (origin
2272 (method url-fetch)
b38e45d8
EB
2273 (uri (string-append "mirror://gnome/sources/" name "/"
2274 (version-major+minor version) "/"
2275 name "-" version ".tar.bz2"))
5698b8b8
JD
2276 (sha256
2277 (base32
17c3eea7
LC
2278 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
2279 (patches (search-patches "libgnome-encoding.patch"))))
5698b8b8
JD
2280 (build-system gnu-build-system)
2281 (arguments
2282 `(#:phases
dc1d3cde
KK
2283 (modify-phases %standard-phases
2284 (add-before 'configure 'enable-deprecated
2285 (lambda _
2286 (substitute* "libgnome/Makefile.in"
2287 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
2288 #t)))))
25338e9f 2289 (inputs `(("libxml2" ,libxml2)))
5698b8b8 2290 (native-inputs
221ed17a
EB
2291 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2292 ("intltool" ,intltool)
5698b8b8
JD
2293 ("pkg-config" ,pkg-config)))
2294 ;; The following are listed as Required in the .pc file
2295 ;; (except for libcanberra -- which seems to be oversight on the part
2296 ;; of the upstream developers -- anything that links against libgnome,
2297 ;; must also link against libcanberra
2298 (propagated-inputs
2299 `(("libcanberra" ,libcanberra)
2300 ("libbonobo" ,libbonobo)
2301 ("gconf" ,gconf)
a640d3d5
LC
2302 ("gnome-vfs" ,gnome-vfs)
2303 ("popt" ,popt))) ;gnome-program.h includes popt.h
5698b8b8
JD
2304 (home-page "https://developer.gnome.org/libgnome/")
2305 (synopsis "Useful routines for building applications")
2306 (description "The libgnome library provides a number of useful routines
2307for building modern applications, including session management, activation of
2308files and URIs, and displaying help.")
2309 (license license:lgpl2.0+)))
2310
2311
2312(define-public libart-lgpl
2313 (package
2314 (name "libart-lgpl")
76c9b6aa 2315 (version "2.3.21")
5698b8b8
JD
2316 (source (origin
2317 (method url-fetch)
2318 (uri (let ((upstream-name "libart_lgpl"))
b38e45d8
EB
2319 (string-append "mirror://gnome/sources/" upstream-name "/"
2320 (version-major+minor version) "/"
2321 upstream-name "-" version ".tar.bz2")))
5698b8b8
JD
2322 (sha256
2323 (base32
76c9b6aa 2324 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
5698b8b8
JD
2325 (build-system gnu-build-system)
2326 (native-inputs
2327 `(("pkg-config" ,pkg-config)))
2328 (home-page "https://people.gnome.org/~mathieu/libart")
2329 (synopsis "2D drawing library")
2e6ecc5c 2330 (description "Libart is a 2D drawing library intended as a
5698b8b8
JD
2331high-quality vector-based 2D library with antialiasing and alpha composition.")
2332 (license license:lgpl2.0+)))
2333
2334
2335
2336(define-public libgnomecanvas
2337 (package
2338 (name "libgnomecanvas")
2339 (version "2.30.3")
2340 (source (origin
2341 (method url-fetch)
b38e45d8
EB
2342 (uri (string-append "mirror://gnome/sources/" name "/"
2343 (version-major+minor version) "/"
2344 name "-" version ".tar.gz"))
5698b8b8
JD
2345 (sha256
2346 (base32
2347 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
2348 (build-system gnu-build-system)
2349 ;; Mentioned as Required in the .pc file
2350 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
2351 ("gtk+" ,gtk+-2)))
2352 (native-inputs
2353 `(("intltool" ,intltool)
221ed17a 2354 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2355 ("pkg-config" ,pkg-config)))
2356 (home-page "https://developer.gnome.org/libgnomecanvas/")
2357 (synopsis "Flexible widget for creating interactive structured graphics")
2358 (description "The GnomeCanvas widget provides a flexible widget for
2359creating interactive structured graphics.")
2360 (license license:lgpl2.0+)))
2361
eadc734e
RW
2362(define-public libgnomecanvasmm
2363 (package
2364 (name "libgnomecanvasmm")
2365 (version "2.26.0")
2366 (source (origin
2367 (method url-fetch)
2368 (uri (string-append "mirror://gnome/sources/" name "/"
2369 (version-major+minor version) "/"
2370 name "-" version ".tar.bz2"))
2371 (sha256
2372 (base32
2373 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
2374 (build-system gnu-build-system)
2375 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
2376 (native-inputs
2377 `(("gtkmm-2" ,gtkmm-2)
2378 ("pkg-config" ,pkg-config)))
8e933cb3 2379 (home-page "https://gtkmm.org")
eadc734e
RW
2380 (synopsis "C++ bindings to the GNOME Canvas library")
2381 (description "C++ bindings to the GNOME Canvas library.")
2382 (license license:lgpl2.0+)))
2383
5698b8b8
JD
2384(define-public libgnomeui
2385 (package
2386 (name "libgnomeui")
2387 (version "2.24.5")
2388 (source (origin
2389 (method url-fetch)
b38e45d8
EB
2390 (uri (string-append "mirror://gnome/sources/" name "/"
2391 (version-major+minor version) "/"
2392 name "-" version ".tar.bz2"))
8fa1872a 2393 (patches (search-patches "libgnomeui-utf8.patch"))
5698b8b8
JD
2394 (sha256
2395 (base32
2396 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
2397 (build-system gnu-build-system)
2398 ;; Mentioned as Required in the .pc file
0a38a497
AE
2399 (propagated-inputs `(("libbonoboui" ,libbonoboui)
2400 ("libgnome" ,libgnome)
2401 ("libgnomecanvas" ,libgnomecanvas)
5698b8b8 2402 ("libgnome-keyring" ,libgnome-keyring)))
0a38a497 2403 (inputs `(("libjpeg" ,libjpeg)
5698b8b8
JD
2404 ("popt" ,popt)
2405 ("libbonobo" ,libbonobo)
2406 ("libxml2" ,libxml2)
2407 ("libglade" ,libglade)))
2408 (native-inputs
221ed17a
EB
2409 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
2410 ("intltool" ,intltool)
5698b8b8
JD
2411 ("pkg-config" ,pkg-config)))
2412 (home-page "https://developer.gnome.org/libgnomeui/")
2413 (synopsis "Additional widgets for applications")
35b9e423 2414 (description "The libgnomeui library provides additional widgets for
e881752c
AK
2415applications. Many of the widgets from libgnomeui have already been
2416ported to GTK+.")
5698b8b8
JD
2417 (license license:lgpl2.0+)))
2418
2419(define-public libglade
2420 (package
2421 (name "libglade")
2422 (version "2.6.4")
2423 (source (origin
2424 (method url-fetch)
b38e45d8
EB
2425 (uri (string-append "mirror://gnome/sources/" name "/"
2426 (version-major+minor version) "/"
2427 name "-" version ".tar.bz2"))
5698b8b8
JD
2428 (sha256
2429 (base32
2430 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
2431 (build-system gnu-build-system)
2432 (inputs
92dcc23d
AE
2433 `(("python" ,python))) ;; needed for the optional libglade-convert program
2434 (propagated-inputs
5698b8b8 2435 `(("gtk+-2" ,gtk+-2)
92dcc23d 2436 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
5698b8b8
JD
2437 (native-inputs
2438 `(("pkg-config" ,pkg-config)))
2439 (home-page "https://developer.gnome.org/libglade")
35b9e423
EB
2440 (synopsis "Load glade interfaces and access the glade built widgets")
2441 (description "Libglade is a library that provides interfaces for loading
5698b8b8
JD
2442graphical interfaces described in glade files and for accessing the
2443widgets built in the loading process.")
2444 (license license:gpl2+))) ; This is correct. GPL not LGPL
2445
2446(define-public libgnomeprint
eb497b66
LC
2447 ;; This library has been deprecated since 2006; see
2448 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
5698b8b8
JD
2449 (package
2450 (name "libgnomeprint")
d19db454 2451 (version "2.18.8")
5698b8b8
JD
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
d19db454 2459 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
5698b8b8
JD
2460 (build-system gnu-build-system)
2461 (inputs
2462 `(("popt" ,popt)
2463 ("libart-lgpl" ,libart-lgpl)
2464 ("gtk+" ,gtk+-2)
44add1ce 2465 ("libxml2" ,libxml2)))
5698b8b8
JD
2466 (native-inputs
2467 `(("intltool" ,intltool)
221ed17a 2468 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
5698b8b8
JD
2469 ("pkg-config" ,pkg-config)))
2470 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
35b9e423 2471 (synopsis "Printing framework for GNOME")
eb497b66
LC
2472 (description
2473 "GNOME-print was a printing framework for GNOME. It has been deprecated
2474since ca. 2006, when GTK+ itself incorporated printing support.")
5698b8b8
JD
2475 (license license:lgpl2.0+)))
2476
2477
2478(define-public libgnomeprintui
eb497b66 2479 ;; Deprecated; see libgnomeprint.
5698b8b8
JD
2480 (package
2481 (name "libgnomeprintui")
36053d7f 2482 (version "2.18.6")
5698b8b8
JD
2483 (source (origin
2484 (method url-fetch)
b38e45d8
EB
2485 (uri (string-append "mirror://gnome/sources/" name "/"
2486 (version-major+minor version) "/"
2487 name "-" version ".tar.bz2"))
5698b8b8
JD
2488 (sha256
2489 (base32
36053d7f 2490 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
5698b8b8
JD
2491 (build-system gnu-build-system)
2492 ;; Mentioned as Required in the .pc file
2493 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
2494 (inputs `(("gtk+" ,gtk+-2)
2495 ("glib" ,glib)
2496 ("gnome-icon-theme" ,gnome-icon-theme)
2497 ("libgnomecanvas" ,libgnomecanvas)
2e6ecc5c 2498 ("libxml2" ,libxml2)))
5698b8b8
JD
2499 (native-inputs
2500 `(("intltool" ,intltool)
2501 ("pkg-config" ,pkg-config)))
2502 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
2503 (synopsis "Printing framework for GNOME")
eb497b66 2504 (description (package-description libgnomeprint))
5698b8b8
JD
2505 (license license:lgpl2.0+)))
2506
5698b8b8
JD
2507(define-public libbonoboui
2508 (package
2509 (name "libbonoboui")
2510 (version "2.24.5")
2511 (source (origin
2512 (method url-fetch)
b38e45d8
EB
2513 (uri (string-append "mirror://gnome/sources/" name "/"
2514 (version-major+minor version) "/"
2515 name "-" version ".tar.bz2"))
5698b8b8
JD
2516 (sha256
2517 (base32
2518 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
2519 (build-system gnu-build-system)
2520 (arguments
2521 `(#:phases
dc1d3cde
KK
2522 (modify-phases %standard-phases
2523 (add-before 'check 'start-xserver
2524 (lambda* (#:key inputs #:allow-other-keys)
2525 (let ((xorg-server (assoc-ref inputs "xorg-server"))
2526 (disp ":1"))
2527
2528 (setenv "HOME" (getcwd))
2529 (setenv "DISPLAY" disp)
2530 ;; There must be a running X server and make check doesn't start one.
2531 ;; Therefore we must do it.
2532 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
5698b8b8
JD
2533 ;; Mentioned as Required by the .pc file
2534 (propagated-inputs `(("libxml2" ,libxml2)))
2535 (inputs
2536 `(("popt" ,popt)
2537 ("pangox-compat" ,pangox-compat)
2538 ("libgnome" ,libgnome)
2539 ("libgnomecanvas" ,libgnomecanvas)
2540 ("libglade" ,libglade)))
2541 (native-inputs
221ed17a
EB
2542 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
2543 ("intltool" ,intltool)
ff337525 2544 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
5698b8b8
JD
2545 ("pkg-config" ,pkg-config)))
2546 (home-page "https://developer.gnome.org/libbonoboui/")
2547 (synopsis "Some user interface controls using Bonobo")
2548 (description "The Bonobo UI library provides a number of user interface
2549controls using the Bonobo component framework.")
2550 (license license:lgpl2.0+)))
2551
fecbf86e
SB
2552(define-public libwnck
2553 (package
2554 (name "libwnck")
d3b40696 2555 (version "3.32.0")
fecbf86e
SB
2556 (source (origin
2557 (method url-fetch)
2558 (uri (string-append "mirror://gnome/sources/" name "/"
2559 (version-major+minor version) "/"
2560 name "-" version ".tar.xz"))
2561 (sha256
ad9b8987 2562 (base32
d3b40696
KK
2563 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
2564 (build-system meson-build-system)
fecbf86e
SB
2565 (native-inputs
2566 `(("pkg-config" ,pkg-config)
d3b40696
KK
2567 ("glib" ,glib "bin") ; for glib-mkenums
2568 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
fecbf86e
SB
2569 ("intltool" ,intltool)))
2570 (propagated-inputs
427476d5
SB
2571 `(("gtk+" ,gtk+)
2572 ("libxres" ,libxres)
2573 ("startup-notification" ,startup-notification)))
fecbf86e
SB
2574 (home-page "https://developer.gnome.org/libwnck/")
2575 (synopsis "Window Navigator Construction Kit")
2576 (description
2577 "Libwnck is the Window Navigator Construction Kit, a library for use in
2578writing pagers, tasklists, and more generally applications that are dealing
2579with window management. It tries hard to respect the Extended Window Manager
2580Hints specification (EWMH).")
2581 (license license:lgpl2.0+)))
2582
2583;; stable version for gtk2, required by xfwm4.
dbb7a081 2584(define-public libwnck-2
fecbf86e
SB
2585 (package (inherit libwnck)
2586 (name "libwnck")
2587 (version "2.30.7")
2588 (source (origin
2589 (method url-fetch)
2590 (uri (string-append "mirror://gnome/sources/" name "/"
2591 (version-major+minor version) "/"
2592 name "-" version ".tar.xz"))
2593 (sha256
2594 (base32
2595 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
ba7fed8e
MÁAV
2596 (build-system gnu-build-system)
2597 (native-inputs
2598 `(("pkg-config" ,pkg-config)
2599 ("intltool" ,intltool)))
fecbf86e 2600 (propagated-inputs
427476d5
SB
2601 `(("gtk+" ,gtk+-2)
2602 ("libxres" ,libxres)
2603 ("startup-notification" ,startup-notification)))))
b804c61e
JD
2604
2605(define-public goffice
2606 (package
2607 (name "goffice")
09abffcc 2608 (version "0.10.46")
b804c61e
JD
2609 (source (origin
2610 (method url-fetch)
16243f0b 2611 (uri (string-append "mirror://gnome/sources/goffice/"
b38e45d8 2612 (version-major+minor version) "/"
16243f0b 2613 "goffice-" version ".tar.xz"))
b804c61e 2614 (sha256
09abffcc 2615 (base32 "1a8kba36zwzr0ilafc0d1nsxxma1qibviiifd0jhbxp180x6v385"))))
b804c61e 2616 (build-system gnu-build-system)
72a06d3e 2617 (outputs '("out"
355420c6 2618 "doc")) ; 4.0 MiB of gtk-doc
72a06d3e
LC
2619 (arguments
2620 '(#:configure-flags (list (string-append "--with-html-dir="
2621 (assoc-ref %outputs "doc")
2622 "/share/gtk-doc/html"))))
b804c61e
JD
2623 (inputs
2624 `(("gtk+" ,gtk+)
2625 ("libgsf" ,libgsf)
2626 ("librsvg" ,librsvg)
2627 ("libxslt" ,libxslt)
2628 ("libxml2" ,libxml2)))
2629 (native-inputs
2630 `(("intltool" ,intltool)
f280cdb1 2631 ("glib" ,glib "bin")
b804c61e
JD
2632 ("pkg-config" ,pkg-config)))
2633 (home-page "https://developer.gnome.org/goffice/")
2634 (synopsis "Document-centric objects and utilities")
2635 (description "A GLib/GTK+ set of document-centric objects and utilities.")
2e6ecc5c 2636 (license
b804c61e
JD
2637 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2638 ;; Note: NOT LGPL
2639 (list license:gpl2 license:gpl3))))
2640
c024ae36
RW
2641(define-public goffice-0.8
2642 (package (inherit goffice)
2643 (version "0.8.17")
2644 (source (origin
2645 (method url-fetch)
2646 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
2647 (version-major+minor version) "/"
2648 (package-name goffice) "-" version ".tar.xz"))
2649 (sha256
2650 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
2651 (arguments
2652 `(#:phases
dc1d3cde
KK
2653 (modify-phases %standard-phases
2654 (add-after 'unpack 'fix-pcre-check
2655 (lambda _
2656 ;; Only glib.h can be included directly. See
2657 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
2658 (substitute* "configure"
2659 (("glib/gregex\\.h") "glib.h")) #t)))
72a06d3e
LC
2660
2661 ,@(package-arguments goffice)))
c024ae36
RW
2662 (propagated-inputs
2663 ;; libgoffice-0.8.pc mentions libgsf-1
2664 `(("libgsf" ,libgsf)))
2665 (inputs
2666 `(("gtk" ,gtk+-2)
2667 ,@(alist-delete "gtk" (package-inputs goffice))))))
2668
b804c61e
JD
2669(define-public gnumeric
2670 (package
2671 (name "gnumeric")
f0517b5d 2672 (version "1.12.46")
b804c61e
JD
2673 (source (origin
2674 (method url-fetch)
b7fd0217 2675 (uri (string-append "mirror://gnome/sources/gnumeric/"
b38e45d8 2676 (version-major+minor version) "/"
b7fd0217 2677 "gnumeric-" version ".tar.xz"))
b804c61e
JD
2678 (sha256
2679 (base32
f0517b5d 2680 "1qdmw2dp7rmq8fmjapgwaks7ajh270wm6kyvlxlzwbgmg8vngp4z"))))
bd1b1e05 2681 (build-system glib-or-gtk-build-system)
b804c61e
JD
2682 (arguments
2683 `(;; The gnumeric developers don't worry much about failing tests.
2684 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
2e6ecc5c 2685 #:tests? #f
b804c61e 2686 #:phases
7bcbd40d
EF
2687 (modify-phases %standard-phases
2688 (add-before
2689 'configure 'pre-conf
2690 (lambda* (#:key outputs #:allow-other-keys)
2691 ;; Make install tries to write into the directory of goffice
2692 ;; I am informed that this only affects the possibility to embed a
2693 ;; spreadsheet inside an Abiword document. So presumably when we
2694 ;; package Abiword we'll have to refer it to this directory.
2695 (substitute* "configure"
2696 (("^GOFFICE_PLUGINS_DIR=.*")
2697 (string-append "GOFFICE_PLUGINS_DIR="
2698 (assoc-ref outputs "out")
2699 "/goffice/plugins"))))))))
b804c61e
JD
2700 (inputs
2701 `(("glib" ,glib)
2702 ("gtk+" ,gtk+)
2703 ("goffice" ,goffice)
2704 ("libgsf" ,libgsf)
7bcbd40d 2705 ("librsvg" ,librsvg)
b804c61e 2706 ("libxml2" ,libxml2)
7bcbd40d 2707 ("libxslt" ,libxslt)
2e4c5457 2708 ("python" ,python-2)
6983ba56 2709 ("python2-pygobject" ,python2-pygobject)
b804c61e
JD
2710 ("zlib" ,zlib)))
2711 (native-inputs
6983ba56 2712 `(("bison" ,bison)
1ed398d1 2713 ("docbook-xml" ,docbook-xml)
6983ba56 2714 ("intltool" ,intltool)
3a2efbc8 2715 ("itstool" ,itstool/fixed) ;see <https://bugs.gnu.org/37468>
b9663471 2716 ("glib:bin" ,glib "bin")
b804c61e
JD
2717 ("pkg-config" ,pkg-config)))
2718 (home-page "http://www.gnumeric.org")
66672a45
LC
2719 (synopsis "Spreadsheet application")
2720 (description
2721 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
2722interoperable with other spreadsheet applications. It has a vast array of
2723features beyond typical spreadsheet functionality, such as support for linear
2724and non-linear solvers, statistical analysis, and telecommunication
2725engineering.")
2726 (license
b804c61e
JD
2727 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
2728 (list license:gpl2 license:gpl3))))
6f885c05
FB
2729
2730(define-public gnome-themes-standard
2731 (package
2732 (name "gnome-themes-standard")
0b7b8fb0 2733 (version "3.22.3")
6f885c05
FB
2734 (source
2735 (origin
2736 (method url-fetch)
2e6ecc5c 2737 (uri (string-append "mirror://gnome/sources/" name "/"
6f885c05
FB
2738 (version-major+minor version) "/" name "-"
2739 version ".tar.xz"))
2740 (sha256
2741 (base32
0b7b8fb0 2742 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
6f885c05 2743 (build-system gnu-build-system)
8ac70c7f
SB
2744 (arguments
2745 '(#:configure-flags
2746 ;; Don't create 'icon-theme.cache'.
2747 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2748 (true (string-append coreutils "/bin/true")))
2749 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
6f885c05
FB
2750 (inputs
2751 `(("gtk+" ,gtk+)
2752 ("gtk+-2" ,gtk+-2)
2753 ("librsvg" ,librsvg)
2754 ("libxml2" ,libxml2)
2755 ("glib" ,glib)))
2756 (native-inputs
2757 `(("intltool" ,intltool)
2758 ("glib:bin" ,glib "bin")
2759 ("pkg-config" ,pkg-config)))
6f885c05
FB
2760 (home-page "https://launchpad.net/gnome-themes-standard")
2761 (synopsis "Default GNOME 3 themes")
2762 (description
2763 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
2764 (license license:lgpl2.1+)))
5a659a48 2765
df90c701
RW
2766(define-public seahorse
2767 (package
2768 (name "seahorse")
bcea3c11 2769 (version "3.32.2")
df90c701
RW
2770 (source
2771 (origin
2772 (method url-fetch)
2773 (uri (string-append "mirror://gnome/sources/" name "/"
2774 (version-major+minor version) "/" name "-"
2775 version ".tar.xz"))
2776 (sha256
2777 (base32
bcea3c11 2778 "0d8zdzmlz7fjv9xl20zl4ckidf465mvdjnbpxy3k08y9iw423q4x"))
af561664
MÁAV
2779 (patches (search-patches
2780 "seahorse-gkr-use-0-on-empty-flags.patch"))))
2781 (build-system meson-build-system)
2782 (arguments
bcea3c11
KK
2783 '(#:glib-or-gtk? #t
2784 #:phases
af561664
MÁAV
2785 (modify-phases %standard-phases
2786 (add-after 'unpack 'skip-gtk-update-icon-cache
2787 ;; Don't create 'icon-theme.cache'.
2788 (lambda _
2789 (substitute* "build-aux/meson_post_install.py"
2790 (("gtk-update-icon-cache") "true"))
2791 #t)))))
df90c701
RW
2792 (inputs
2793 `(("gtk+" ,gtk+)
2794 ("gcr" ,gcr)
34b979b9 2795 ("gnupg" ,gnupg)
df90c701 2796 ("gpgme" ,gpgme)
34b979b9 2797 ("openldap" ,openldap)
4a1bf090 2798 ("openssh" ,openssh)
af561664 2799 ("avahi" ,avahi)
bcea3c11 2800 ("libpwquality" ,libpwquality)
34b979b9
EF
2801 ("libsecret" ,libsecret)
2802 ("libsoup" ,libsoup)))
df90c701 2803 (native-inputs
af561664 2804 `(("gettext" ,gettext-minimal)
df90c701
RW
2805 ("glib:bin" ,glib "bin")
2806 ("itstool" ,itstool)
bcb354ad 2807 ("pkg-config" ,pkg-config)
af561664 2808 ("vala" ,vala)
bcb354ad 2809 ("xmllint" ,libxml2)))
bcea3c11 2810 (home-page "https://wiki.gnome.org/Apps/Seahorse")
df90c701
RW
2811 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
2812 (description
2813 "Seahorse is a GNOME application for managing encryption keys and
2814passwords in the GNOME keyring.")
2815 (license license:gpl2+)))
2816
5a659a48
SB
2817(define-public vala
2818 (package
2819 (name "vala")
2d6872f6 2820 (version "0.44.5")
5a659a48
SB
2821 (source (origin
2822 (method url-fetch)
2823 (uri (string-append "mirror://gnome/sources/" name "/"
2824 (version-major+minor version) "/"
2825 name "-" version ".tar.xz"))
2826 (sha256
2827 (base32
2d6872f6 2828 "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv"))))
5a659a48 2829 (build-system gnu-build-system)
1ea90625
SB
2830 (arguments
2831 '(#:phases
2832 (modify-phases %standard-phases
f4925a4f 2833 (add-before 'check 'pre-check
1ea90625
SB
2834 (lambda _
2835 (setenv "CC" "gcc")
8839b6be
RW
2836 (substitute* "valadoc/tests/testrunner.sh"
2837 (("export PKG_CONFIG_PATH=" m)
2838 (string-append m "$PKG_CONFIG_PATH:")))
f4925a4f
SB
2839 ;; For missing '/etc/machine-id'.
2840 (setenv "DBUS_FATAL_WARNINGS" "0")
8839b6be 2841 #t)))))
5a659a48
SB
2842 (native-inputs
2843 `(("pkg-config" ,pkg-config)
2844 ("flex" ,flex)
2845 ("bison" ,bison)
2846 ("xsltproc" ,libxslt)
2847 ("dbus" ,dbus) ; for dbus tests
2848 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
8839b6be
RW
2849 (inputs
2850 `(("graphviz" ,graphviz)))
5a659a48 2851 (propagated-inputs
8839b6be 2852 `(("glib" ,glib))) ; required by libvala-0.40.pc
f032d0be 2853 (home-page "https://live.gnome.org/Vala/")
5a659a48
SB
2854 (synopsis "Compiler for the GObject type system")
2855 (description
2856 "Vala is a programming language that aims to bring modern programming
2857language features to GNOME developers without imposing any additional runtime
2858requirements and without using a different ABI compared to applications and
2859libraries written in C.")
2860 (license license:lgpl2.1+)))
ea57378f
SB
2861
2862(define-public vte
2863 (package
2864 (name "vte")
68c47474 2865 (version "0.58.3")
ea57378f
SB
2866 (source (origin
2867 (method url-fetch)
ac87ffb8 2868 (uri (string-append "mirror://gnome/sources/vte/"
ea57378f 2869 (version-major+minor version) "/"
ac87ffb8 2870 "vte-" version ".tar.xz"))
ea57378f
SB
2871 (sha256
2872 (base32
68c47474
TGR
2873 "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"))))
2874 (build-system meson-build-system)
ea57378f
SB
2875 (native-inputs
2876 `(("pkg-config" ,pkg-config)
2877 ("intltool" ,intltool)
2878 ("vala" ,vala)
2879 ("gobject-introspection" ,gobject-introspection)
68c47474 2880 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
73f0e1ab 2881 ("gperf" ,gperf)
ea57378f
SB
2882 ("xmllint" ,libxml2)))
2883 (propagated-inputs
68c47474
TGR
2884 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
2885 ("gnutls" ,gnutls) ; ditto
2886 ("pcre2" ,pcre2))) ; ditto
f032d0be 2887 (home-page "https://www.gnome.org/")
ea57378f
SB
2888 (synopsis "Virtual Terminal Emulator")
2889 (description
2890 "VTE is a library (libvte) implementing a terminal emulator widget for
2891GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
2892gnome-terminal, but can also be used to embed a console/terminal in games,
2893editors, IDEs, etc.")
2894 (license license:lgpl2.1+)))
2895
c44fb4df
MO
2896(define-public vte-ng
2897 (package
2898 (inherit vte)
2899 (name "vte-ng")
24f4fcbe 2900 (version "0.58.2.a")
afd90f8d 2901 (home-page "https://github.com/thestinger/vte-ng")
6bc00737
MB
2902 (source (origin
2903 (method git-fetch)
2904 (uri (git-reference (url home-page) (commit version)))
2905 (file-name (git-file-name name version))
2906 (sha256
2907 (base32
24f4fcbe
MB
2908 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
2909 (build-system meson-build-system)
c44fb4df
MO
2910 (native-inputs
2911 `(("gtk-doc" ,gtk-doc)
c44fb4df 2912 ,@(package-native-inputs vte)))
c44fb4df 2913 (arguments
24f4fcbe 2914 `(#:configure-flags '("-Ddocs=true")))
c44fb4df
MO
2915 (synopsis "Enhanced VTE terminal widget")
2916 (description
2917 "VTE is a library (libvte) implementing a terminal emulator widget for
2918GTK+, this fork provides additional functions exposed for keyboard text
2919selection and URL hints.")))
2920
2776d72c
EF
2921;; provides vte 2.90, required for some terminal emulators
2922;; tilda bug: https://github.com/lanoxx/tilda/issues/94
2923;; pantheon-terminal bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788021
2924;; roxterm bug: http://sourceforge.net/p/roxterm/bugs/107/
2925;; pantheon-terminal, roxterm are not currently packaged
2926(define-public vte-0.36
2927 (package (inherit vte)
2928 (name "vte")
2929 (version "0.36.5")
2930 (source (origin
2931 (method url-fetch)
2932 (uri (string-append "mirror://gnome/sources/" name "/"
2933 (version-major+minor version) "/"
2934 name "-" version ".tar.xz"))
2935 (sha256
2936 (base32
2937 "1psfnqsmxx4qzc55qwvb8jai824ix4pqcdqhgxk0g2zh82bcxhn2"))))
2938 (propagated-inputs
2939 `(("gtk" ,gtk+)
2940 ("ncurses" ,ncurses)))))
2941
ea57378f
SB
2942;; stable version for gtk2, required by xfce4-terminal.
2943(define-public vte/gtk+-2
2944 (package (inherit vte)
2945 (name "vte")
2946 (version "0.28.2")
2947 (source (origin
2948 (method url-fetch)
2949 (uri (string-append "mirror://gnome/sources/" name "/"
2950 (version-major+minor version) "/"
2951 name "-" version ".tar.xz"))
2952 (sha256
2953 (base32
7d48938a
EF
2954 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
2955 (patches (search-patches
2956 "vte-CVE-2012-2738-pt1.patch"
2957 "vte-CVE-2012-2738-pt2.patch"))))
8eebde74 2958 (build-system gnu-build-system)
ea57378f
SB
2959 (arguments
2960 '(#:configure-flags '("--disable-python")))
2961 (native-inputs
2962 `(("pkg-config" ,pkg-config)
2963 ("intltool" ,intltool)
2964 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
2965 (propagated-inputs
2966 `(("gtk+" ,gtk+-2) ; required by libvte.pc
2967 ("ncurses" ,ncurses))))) ; required by libvte.la
b47e1b20 2968
cce0da5e
TD
2969(define-public vinagre
2970 (package
2971 (name "vinagre")
2972 (version "3.22.0")
2973 (source (origin
2974 (method url-fetch)
2975 (uri (string-append "mirror://gnome/sources/" name "/"
2976 (version-major+minor version) "/"
2977 name "-" version ".tar.xz"))
684f97f8
EF
2978 (patches (search-patches "vinagre-newer-freerdp.patch"
2979 "vinagre-newer-rdp-parameters.patch"))
cce0da5e
TD
2980 (sha256
2981 (base32
2982 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
2983 (build-system glib-or-gtk-build-system)
684f97f8 2984 (arguments
7f486d25
MC
2985 ;; Disable -Werror and such, to avoid build failures on compilation
2986 ;; warnings.
2987 '(#:configure-flags '("--enable-compile-warnings=minimum")
2988 #:phases
684f97f8 2989 (modify-phases %standard-phases
1839768c
EF
2990 (add-before 'install 'skip-gtk-update-icon-cache
2991 (lambda _
2992 ;; Don't create 'icon-theme.cache'
2993 (substitute* (find-files "." "^Makefile$")
2994 (("gtk-update-icon-cache") (which "true")))
2995 #t))
684f97f8
EF
2996 (add-after 'unpack 'patch-configure
2997 (lambda _
2998 (substitute* "configure"
2999 (("freerdp") "freerdp2"))
3000 #t)))))
cce0da5e
TD
3001 (native-inputs
3002 `(("pkg-config" ,pkg-config)
3003 ("intltool" ,intltool)
3004 ("itstool" ,itstool)
1839768c 3005 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
cce0da5e
TD
3006 (inputs
3007 `(("libxml2" ,libxml2)
3008 ("gtk-vnc" ,gtk-vnc)
3009 ("gnome-keyring" ,gnome-keyring)
3010 ("libsecret" ,libsecret)
3011 ("freerdp" ,freerdp)
3012 ("spice" ,spice)
3013 ("spice-gtk" ,spice-gtk)
3014 ("telepathy-glib" ,telepathy-glib)
3015 ("vte" ,vte)))
cce0da5e
TD
3016 (home-page "https://wiki.gnome.org/Apps/Vinagre")
3017 (synopsis "Remote desktop viewer for GNOME")
3018 (description "Vinagre is a remote display client supporting the VNC, SPICE
3019and RDP protocols.")
3020 (license license:gpl3+)))
3021
b47e1b20
FB
3022(define-public dconf
3023 (package
3024 (name "dconf")
1e33331c 3025 (version "0.32.0")
b47e1b20
FB
3026 (source (origin
3027 (method url-fetch)
3028 (uri (string-append
2e6ecc5c 3029 "mirror://gnome/sources/" name "/"
b47e1b20
FB
3030 (version-major+minor version) "/"
3031 name "-" version ".tar.xz"))
3032 (sha256
f05c809f 3033 (base32
1e33331c 3034 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
35fa923d 3035 (build-system meson-build-system)
bc036f4c
MB
3036 (propagated-inputs
3037 ;; In Requires of dconf.pc.
3038 `(("glib" ,glib)))
b47e1b20
FB
3039 (inputs
3040 `(("gtk+" ,gtk+)
bc036f4c 3041 ("dbus" ,dbus)))
b47e1b20 3042 (native-inputs
1e33331c
MB
3043 `(("bash-completion" ,bash-completion)
3044 ("libxslt" ,libxslt) ;for xsltproc
bc036f4c 3045 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
b47e1b20
FB
3046 ("docbook-xml" ,docbook-xml-4.2)
3047 ("docbook-xsl" ,docbook-xsl)
35fa923d 3048 ("glib:bin" ,glib "bin")
03676d6f 3049 ("gtk-doc" ,gtk-doc)
35fa923d
MB
3050 ("pkg-config" ,pkg-config)
3051 ("vala" ,vala)))
b47e1b20
FB
3052 (arguments
3053 `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id
3054 ; or /etc/machine-id.
35fa923d
MB
3055 #:glib-or-gtk? #t
3056 #:configure-flags '("-Denable-gtk-doc=true")))
b47e1b20
FB
3057 (home-page "https://developer.gnome.org/dconf")
3058 (synopsis "Low-level GNOME configuration system")
3059 (description "Dconf is a low-level configuration system. Its main purpose
3060is to provide a backend to GSettings on platforms that don't already have
3061configuration storage systems.")
e20e6b40 3062 (license license:lgpl2.1+)))
109da1c0
AE
3063
3064(define-public json-glib
3065 (package
3066 (name "json-glib")
4115e8ea 3067 (version "1.4.4")
109da1c0
AE
3068 (source (origin
3069 (method url-fetch)
3070 (uri (string-append "mirror://gnome/sources/" name "/"
3071 (version-major+minor version) "/"
3072 name "-" version ".tar.xz"))
3073 (sha256
3074 (base32
4115e8ea 3075 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
98afa184 3076 (build-system meson-build-system)
109da1c0 3077 (native-inputs
98afa184
MB
3078 `(("gettext" ,gettext-minimal)
3079 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
109da1c0
AE
3080 ("gobject-introspection" ,gobject-introspection)
3081 ("pkg-config" ,pkg-config)))
3082 (propagated-inputs
88c6b580 3083 `(("glib" ,glib))) ;according to json-glib-1.0.pc
109da1c0
AE
3084 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
3085 (synopsis "Compiler for the GObject type system")
7c125ce0
AK
3086 (description
3087 "JSON-GLib is a C library based on GLib providing serialization and
3088deserialization support for the JavaScript Object Notation (JSON) format
3089described by RFC 4627. It provides parser and generator GObject classes and
3090various wrappers for the complex data types employed by JSON, such as arrays
3091and objects.")
109da1c0 3092 (license license:lgpl2.1+)))
6f96a359
SB
3093
3094(define-public libxklavier
3095 (package
3096 (name "libxklavier")
5f39050b 3097 (version "5.4")
6f96a359 3098 (source (origin
5f39050b 3099 ;; Note: There's no tarball at ftp.gnome.org for this version.
3100 (method git-fetch)
3101 (uri (git-reference
3102 (url "https://anongit.freedesktop.org/git/libxklavier")
3103 (commit (string-append "libxklavier-" version))))
6f96a359
SB
3104 (sha256
3105 (base32
5f39050b 3106 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
3107 (file-name (git-file-name name version))))
6f96a359
SB
3108 (build-system gnu-build-system)
3109 (arguments
5f39050b 3110 '(#:phases
3111 (modify-phases %standard-phases
3112 (add-after 'unpack 'no-configure
3113 (lambda* _
3114 (setenv "NOCONFIGURE" "1")
3115 #t)))
3116 #:configure-flags
6f96a359
SB
3117 (list (string-append "--with-xkb-base="
3118 (assoc-ref %build-inputs "xkeyboard-config")
5f39050b 3119 "/share/X11/xkb")
3120 "--disable-xmodmap-support")))
6f96a359
SB
3121 (native-inputs
3122 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
3123 ("gobject-introspection" ,gobject-introspection)
5f39050b 3124 ("pkg-config" ,pkg-config)
3125 ("gtk-doc" ,gtk-doc)
3126 ("intltool" ,intltool)
3127 ("which" ,which)
3128 ("autoconf" ,autoconf)
3129 ("automake" ,automake)
3130 ("libtool" ,libtool)))
6f96a359
SB
3131 (propagated-inputs
3132 ;; Required by libxklavier.pc.
3133 `(("glib" ,glib)
3134 ("libxml2" ,libxml2)))
3135 (inputs
3136 `(("iso-codes" ,iso-codes)
3137 ("libxi" ,libxi)
3138 ("libxkbfile" ,libxkbfile)
3139 ("xkbcomp" ,xkbcomp)
3140 ("xkeyboard-config" ,xkeyboard-config)))
57e7d748 3141 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
6f96a359
SB
3142 (synopsis "High-level API for X Keyboard Extension")
3143 (description
3144 "LibXklavier is a library providing high-level API for X Keyboard
e881752c
AK
3145Extension known as XKB. This library is intended to support XFree86 and other
3146commercial X servers. It is useful for creating XKB-related software (layout
6f96a359
SB
3147indicators etc).")
3148 (license license:lgpl2.0+)))
619936a4
LC
3149
3150(define-public python2-rsvg
3151 ;; XXX: This is actually a subset of gnome-python-desktop.
3152 (package
3153 (name "python2-rsvg")
3154 (version "2.32.0")
3155 (source
3156 (origin
3157 (method url-fetch)
3158 (uri (string-append
3159 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
3160 version ".tar.bz2"))
3161 (sha256
3162 (base32
3163 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
3164 (build-system gnu-build-system)
3165 (native-inputs
3166 `(("pkg-config" ,pkg-config)))
3167 (inputs
3168 `(("python" ,python-2)
3169 ("python2-pygtk" ,python2-pygtk)
3170 ("librsvg" ,librsvg)))
f032d0be 3171 (home-page "https://www.gnome.org")
619936a4
LC
3172 (synopsis "Python bindings to librsvg")
3173 (description
3ad75446 3174 "This package provides Python bindings to librsvg, the SVG rendering
619936a4
LC
3175library.")
3176
3177 ;; This is the license of the rsvg bindings. The license of each module
3178 ;; of gnome-python-desktop is given in 'COPYING'.
3179 (license license:lgpl2.1+)))
a31a6d22 3180
f2ca414a
SB
3181(define-public glib-networking
3182 (package
3183 (name "glib-networking")
0d75c64d 3184 (version "2.60.3")
f2ca414a
SB
3185 (source (origin
3186 (method url-fetch)
3187 (uri (string-append "mirror://gnome/sources/glib-networking/"
3188 (version-major+minor version) "/"
fb8fe1e8 3189 "glib-networking-" version ".tar.xz"))
f2ca414a
SB
3190 (sha256
3191 (base32
0d75c64d 3192 "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm"))))
65211552 3193 (build-system meson-build-system)
f2ca414a 3194 (arguments
0d75c64d 3195 `(#:configure-flags '("-Dlibproxy_support=false")))
f2ca414a
SB
3196 (native-inputs
3197 `(("pkg-config" ,pkg-config)
3198 ("intltool" ,intltool)))
3199 (inputs
3200 `(("glib" ,glib)
3201 ("gnutls" ,gnutls)
4b8f1313 3202 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
f032d0be 3203 (home-page "https://www.gnome.org")
f2ca414a
SB
3204 (synopsis "Network-related GIO modules")
3205 (description
3206 "This package contains various network related extensions for the GIO
3207library.")
3208 (license license:lgpl2.0+)))
3209
ca649680 3210(define-public rest
4510b2da 3211 (package
ca649680 3212 (name "rest")
a4194d16 3213 (version "0.8.1")
4510b2da
SB
3214 (source (origin
3215 (method url-fetch)
3216 (uri (string-append "mirror://gnome/sources/rest/"
ca649680
SB
3217 (version-major+minor version) "/"
3218 name "-" version ".tar.xz"))
4510b2da
SB
3219 (sha256
3220 (base32
a4194d16 3221 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4510b2da
SB
3222 (build-system gnu-build-system)
3223 (arguments
3224 '(#:tests? #f ; tests require internet connection
3225 #:configure-flags
3226 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
3227 (native-inputs
3228 `(("glib-mkenums" ,glib "bin")
3229 ("gobject-introspection" ,gobject-introspection)
3230 ("pkg-config" ,pkg-config)))
3231 (propagated-inputs
3232 ;; rest-0.7.pc refers to all these.
3233 `(("glib" ,glib)
3234 ("libsoup" ,libsoup)
3235 ("libxml2" ,libxml2)))
24d6cc1d 3236 (home-page "https://www.gtk.org/")
4510b2da
SB
3237 (synopsis "RESTful web api query library")
3238 (description
3239 "This library was designed to make it easier to access web services that
3240claim to be \"RESTful\". It includes convenience wrappers for libsoup and
3241libxml to ease remote use of the RESTful API.")
3242 (license license:lgpl2.1+)))
3243
6e1bb642
SB
3244(define-public libsoup
3245 (package
3246 (name "libsoup")
9ae87870 3247 (version "2.68.3")
6e1bb642
SB
3248 (source (origin
3249 (method url-fetch)
3250 (uri (string-append "mirror://gnome/sources/libsoup/"
3251 (version-major+minor version) "/"
c1b79b36 3252 "libsoup-" version ".tar.xz"))
6e1bb642
SB
3253 (sha256
3254 (base32
9ae87870 3255 "1yxs0ax4rq3g0lgkbv7mz497rqj16iyyizddyc13gzxh6n7b0jsk"))))
eccaa8bf 3256 (build-system meson-build-system)
6e1bb642
SB
3257 (outputs '("out" "doc"))
3258 (arguments
2deb146f 3259 `(#:modules ((guix build utils)
eccaa8bf 3260 (guix build meson-build-system)
2deb146f
LC
3261 (ice-9 popen))
3262
f8026a79 3263 #:configure-flags '("-Dgtk_doc=true")
6e1bb642
SB
3264 #:phases
3265 (modify-phases %standard-phases
eccaa8bf 3266 (add-after 'unpack 'adjust-tests
26c228f9 3267 (lambda _
eccaa8bf
MB
3268 ;; This test fails due to missing /etc/nsswitch.conf
3269 ;; in the build environment.
26c228f9
LC
3270 (substitute* "tests/socket-test.c"
3271 ((".*/sockets/unconnected.*") ""))
2deb146f 3272
f8026a79
MB
3273 ;; These fail because "subdomain.localhost" does not resolve in
3274 ;; the build environment.
3275 (substitute* "tests/hsts-test.c"
3276 ((".*/hsts/basic.*") "")
3277 ((".*/hsts/subdomains.*") "")
3278 ((".*/hsts/superdomain.*") "")
3279 ((".*/hsts/utf8-address.*") ""))
3280 (substitute* "tests/hsts-db-test.c"
3281 ((".*/hsts-db/subdomains.*") ""))
3282
2deb146f
LC
3283 ;; Generate a self-signed certificate that has "localhost" as its
3284 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
3285 ;; 3.5.12, tests such as "ssl-tests" fail:
3286 ;;
3287 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
3288 ;;
3289 ;; 'certtool' is interactive so we have to pipe it the answers.
3290 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
3291 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
3292 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
3293 (for-each (lambda (line)
3294 (display line pipe)
3295 (newline pipe))
3296 '("" ;Common name
3297 "" ;UID
3298 "Guix" ;Organizational unit name
3299 "GNU" ;Organization name
3300 "" ;Locality name
3301 "" ;State or province
3302 "" ;Country
3303 "" ;subject's domain component (DC)
3304 "" ;E-mail
3305 "" ;serial number
3306 "-1" ;expiration time
3307 "N" ;belong to authority?
3308 "N" ;web client certificate?
3309 "N" ;IPsec IKE?
3310 "Y" ;web server certificate?
3311 "localhost" ;dnsName of subject
3312 "" ;dnsName of subject (end)
3313 "" ;URI of subject
3314 "127.0.0.1" ;IP address of subject
3315 "" ;signing?
06f5bc4e
MB
3316 "" ;encryption (RSA)?
3317 "" ;data encryption?
2deb146f
LC
3318 "" ;sign OCSP requests?
3319 "" ;sign code?
3320 "" ;time stamping?
3321 "" ;email protection?
3322 "" ;URI of the CRL distribution point
3323 "y" ;above info OK?
3324 ))
3325 (close-pipe pipe))
26c228f9 3326 #t))
eccaa8bf
MB
3327 (add-after 'install 'move-doc
3328 (lambda* (#:key outputs #:allow-other-keys)
3329 (let ((out (assoc-ref outputs "out"))
3330 (doc (assoc-ref outputs "doc")))
3331 (mkdir-p (string-append doc "/share"))
3332 (copy-recursively (string-append out "/share/gtk-doc")
3333 (string-append doc "/share/gtk-doc"))
3334 (delete-file-recursively (string-append out "/share/gtk-doc"))
3335 #t))))))
6e1bb642 3336 (native-inputs
26c228f9 3337 `(("glib:bin" ,glib "bin") ; for glib-mkenums
6e1bb642 3338 ("gobject-introspection" ,gobject-introspection)
eccaa8bf 3339 ("gtk-doc" ,gtk-doc)
6e1bb642
SB
3340 ("intltool" ,intltool)
3341 ("pkg-config" ,pkg-config)
3342 ("python" ,python-wrapper)
fd730590 3343 ("vala" ,vala)
6e1bb642
SB
3344 ;; These are needed for the tests.
3345 ;; FIXME: Add PHP once available.
3346 ("curl" ,curl)
2deb146f 3347 ("gnutls" ,gnutls) ;for 'certtool'
6e1bb642
SB
3348 ("httpd" ,httpd)))
3349 (propagated-inputs
3350 ;; libsoup-2.4.pc refers to all these.
f8026a79
MB
3351 `(("brotli" ,google-brotli)
3352 ("glib" ,glib)
249846bf 3353 ("libpsl" ,libpsl)
eccaa8bf 3354 ("libxml2" ,libxml2)
f8026a79
MB
3355 ("sqlite" ,sqlite)
3356 ("zlib" ,zlib)))
eccaa8bf
MB
3357 (inputs
3358 `(("glib-networking" ,glib-networking)
3359 ("mit-krb5" ,mit-krb5)))
6e1bb642
SB
3360 (home-page "https://live.gnome.org/LibSoup/")
3361 (synopsis "GLib-based HTTP Library")
3362 (description
3363 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
3364and the GLib main loop, to integrate well with GNOME applications.")
3365 (license license:lgpl2.0+)))
3366
bba229a3
SB
3367(define-public libsecret
3368 (package
3369 (name "libsecret")
b243d2f7 3370 (version "0.19.1")
bba229a3
SB
3371 (source (origin
3372 (method url-fetch)
3373 (uri (string-append
896dcbc7
EF
3374 "mirror://gnome/sources/libsecret/"
3375 (version-major+minor version) "/"
0ada4e29 3376 "libsecret-" version ".tar.xz"))
bba229a3
SB
3377 (sha256
3378 (base32
b243d2f7 3379 "0fhflcsr70b1pps2pcvqcbdhip2ny5am9nbm634f4sj5g40y30w5"))))
bba229a3
SB
3380 (build-system gnu-build-system)
3381 (outputs '("out" "doc"))
3382 (arguments
3383 `(#:tests? #f ; FIXME: Testing hangs.
bba229a3
SB
3384 #:configure-flags
3385 (list (string-append "--with-html-dir="
3386 (assoc-ref %outputs "doc")
3387 "/share/gtk-doc/html"))))
3388 (native-inputs
c06ef010
MB
3389 `(("gettext" ,gettext-minimal)
3390 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
bba229a3 3391 ("gobject-introspection" ,gobject-introspection)
bba229a3
SB
3392 ("pkg-config" ,pkg-config)
3393 ("vala" ,vala)
3394 ("xsltproc" ,libxslt)))
3395 ;; These are needed for the tests.
3396 ;; FIXME: Add gjs once available.
3397 ;("dbus" ,dbus)
3398 ;("python2" ,python-2)
3399 ;("python2-dbus" ,python2-dbus)
3400 ;("python2-pygobject" ,python2-pygobject)
3401 ;("python2-pygobject-2" ,python2-pygobject-2)))
3402 (propagated-inputs
3403 `(("glib" ,glib))) ; required by libsecret-1.pc
3404 (inputs
3405 `(("docbook-xsl" ,docbook-xsl)
3406 ("libgcrypt" ,libgcrypt)
3407 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
3408 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
3409 (synopsis "GObject bindings for \"Secret Service\" API")
3410 (description
3411 "Libsecret is a GObject based library for storing and retrieving passwords
3412and other secrets. It communicates with the \"Secret Service\" using DBus.")
3413 (license license:lgpl2.1+)))
3414
b6821ee0 3415(define-public five-or-more
3416 (package
3417 (name "five-or-more")
d9795e93 3418 (version "3.32.0")
b6821ee0 3419 (source
3420 (origin
3421 (method url-fetch)
3422 (uri (string-append "mirror://gnome/sources/" name "/"
3423 (version-major+minor version) "/"
3424 name "-" version ".tar.xz"))
3425 (sha256
3426 (base32
d9795e93
KK
3427 "0v52i22ygv6y4zqs8nyb1qmacmj9whhqrw7qss6vn7by4nsikhrn"))))
3428 (build-system meson-build-system)
3429 (arguments
3430 '(#:glib-or-gtk? #t
3431 #:phases
3432 (modify-phases %standard-phases
3433 (add-after 'unpack 'skip-gtk-update-icon-cache
3434 (lambda _
3435 (substitute* "meson_post_install.py"
3436 (("gtk-update-icon-cache") (which "true")))
3437 #t)))))
b6821ee0 3438 (native-inputs
3439 `(("pkg-config" ,pkg-config)
d9795e93 3440 ("appstream-glib" ,appstream-glib)
b6821ee0 3441 ("desktop-file-utils" ,desktop-file-utils)
d9795e93 3442 ("glib:bin" ,glib "bin") ; for glib-compile-resources
b6821ee0 3443 ("intltool" ,intltool)
3444 ("itstool" ,itstool)
d9795e93 3445 ("vala" ,vala)
b6821ee0 3446 ("xmllint" ,libxml2)))
3447 (inputs
3448 `(("gtk+" ,gtk+)
d9795e93 3449 ("libgnome-games-support" ,libgnome-games-support)
b6821ee0 3450 ("librsvg" ,librsvg)))
3451 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
3452 (synopsis "Logic puzzle game")
3453 (description "Five or More is a game where you try to align
3454 five or more objects of the same color and shape causing them to disappear.
3455 On every turn more objects will appear, until the board is full.
3456 Try to last as long as possible.")
3457 (license license:gpl2+)))
3458
a31a6d22
SB
3459(define-public gnome-mines
3460 (package
3461 (name "gnome-mines")
2d817e41 3462 (version "3.32.2")
a31a6d22
SB
3463 (source
3464 (origin
3465 (method url-fetch)
3466 (uri (string-append "mirror://gnome/sources/" name "/"
3467 (version-major+minor version) "/"
3468 name "-" version ".tar.xz"))
3469 (sha256
3470 (base32
2d817e41 3471 "1nv966wkp2rqxzcdb76bwlbzpjqadcaqzrnkxpzwnvjjr167yx8g"))))
8c0fab36 3472 (build-system meson-build-system)
a31a6d22 3473 (arguments
2d817e41
KK
3474 '(#:glib-or-gtk? #t
3475 #:phases
a31a6d22 3476 (modify-phases %standard-phases
2d817e41
KK
3477 (add-after 'unpack 'skip-gtk-update-icon-cache
3478 (lambda _
3479 (substitute* "build-aux/meson_post_install.py"
3480 (("gtk-update-icon-cache") (which "true")))
3481 #t)))))
a31a6d22 3482 (native-inputs
8c0fab36
RW
3483 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
3484 ("pkg-config" ,pkg-config)
a31a6d22
SB
3485 ("desktop-file-utils" ,desktop-file-utils)
3486 ("intltool" ,intltool)
bcb354ad 3487 ("itstool" ,itstool)
8c0fab36
RW
3488 ("vala" ,vala)
3489 ("yelp" ,yelp)
3490 ("appstream-glib" ,appstream-glib)))
a31a6d22
SB
3491 (inputs
3492 `(("gtk+" ,gtk+)
73992962 3493 ("libgnome-games-support" ,libgnome-games-support)
a31a6d22
SB
3494 ("librsvg" ,librsvg)))
3495 (home-page "https://wiki.gnome.org/Apps/Mines")
3496 (synopsis "Minesweeper game")
3497 (description
3498 "Mines (previously gnomine) is a puzzle game where you locate mines
3499floating in an ocean using only your brain and a little bit of luck.")
3500 (license license:gpl2+)))
88f70665 3501
dfc407f3
KY
3502(define-public gnome-sudoku
3503 (package
3504 (name "gnome-sudoku")
7dc728c4 3505 (version "3.32.0")
dfc407f3
KY
3506 (source
3507 (origin
3508 (method url-fetch)
3509 (uri (string-append "mirror://gnome/sources/" name "/"
3510 (version-major+minor version) "/"
3511 name "-" version ".tar.xz"))
3512 (sha256
3513 (base32
7dc728c4
KK
3514 "1wwdjflw1lbx3cv6gvqcgp5jnjkrq37ld6mjbjj03g3vr90qaf0l"))))
3515 (build-system meson-build-system)
3516 (arguments
3517 '(#:glib-or-gtk? #t
3518 #:phases
3519 (modify-phases %standard-phases
3520 (add-after 'unpack 'skip-gtk-update-icon-cache
3521 (lambda _
3522 (substitute* "build-aux/post_install.py"
3523 (("gtk-update-icon-cache") (which "true")))
3524 #t)))))
dfc407f3
KY
3525 (native-inputs
3526 `(("pkg-config" ,pkg-config)
3527 ("desktop-file-utils" ,desktop-file-utils)
7dc728c4 3528 ("glib:bin" ,glib "bin") ; for glib-compile-resources
dfc407f3
KY
3529 ("intltool" ,intltool)
3530 ("itstool" ,itstool)
7dc728c4 3531 ("vala" ,vala)
dfc407f3
KY
3532 ("xmllint" ,libxml2)))
3533 (inputs
3534 `(("gtk+" ,gtk+)
3535 ("json-glib" ,json-glib)
3536 ("libgee" ,libgee)
3537 ("librsvg" ,librsvg)
3538 ("qqwing" ,qqwing)))
3539 (home-page "https://wiki.gnome.org/Apps/Sudoku")
3540 (synopsis "Japanese logic game")
3541 (description
3542 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
3543GNOME Sudoku is meant to have an interface as simple and unobstrusive as
3544possible while still providing features that make playing difficult Sudoku
3545more fun.")
3546 (license license:gpl2+)))
3547
88f70665
AW
3548(define-public gnome-terminal
3549 (package
3550 (name "gnome-terminal")
7dee3942 3551 (version "3.32.2")
88f70665
AW
3552 (source
3553 (origin
3554 (method url-fetch)
3555 (uri (string-append "mirror://gnome/sources/" name "/"
3556 (version-major+minor version) "/"
3557 name "-" version ".tar.xz"))
3558 (sha256
3559 (base32
7dee3942 3560 "0shhpnagasyp1kxgjczfrivcxbgrrl3y8lzvp1z101m67h4jp6km"))))
88f70665
AW
3561 (build-system glib-or-gtk-build-system)
3562 (arguments
3563 '(#:configure-flags
3564 (list "--disable-migration" "--disable-search-provider"
3565 "--without-nautilus-extension")
3566 #:phases
3567 (modify-phases %standard-phases
3a4de6b2 3568 (add-before 'configure 'patch-/bin/true
88f70665
AW
3569 (lambda _
3570 (substitute* "configure"
3571 (("/bin/true") (which "true"))))))))
3572 (native-inputs
3573 `(("pkg-config" ,pkg-config)
3574 ("desktop-file-utils" ,desktop-file-utils)
3575 ("intltool" ,intltool)
bcb354ad
SB
3576 ("itstool" ,itstool)
3577 ("xmllint" ,libxml2)))
68702167
MW
3578 (propagated-inputs
3579 `(("dconf" ,dconf)))
88f70665
AW
3580 (inputs
3581 `(("gtk+" ,gtk+)
3582 ("vte" ,vte)
3583 ("gnutls" ,gnutls)
88f70665
AW
3584 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3585 ("util-linux" ,util-linux)
3586 ("vala" ,vala)))
3587 (home-page "https://wiki.gnome.org/Apps/Terminal")
3588 (synopsis "Terminal emulator")
3589 (description
3590 "GNOME Terminal is a terminal emulator application for accessing a
3591UNIX shell environment which can be used to run programs available on
3592your system.
3593
3594It supports several profiles, multiple tabs and implements several
3595keyboard shortcuts.")
3596 (license license:gpl3+)))
75016d07
AW
3597
3598(define-public colord
3599 (package
3600 (name "colord")
f98be942 3601 (version "1.4.4")
75016d07
AW
3602 (source
3603 (origin
3604 (method url-fetch)
5cc3096c 3605 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
d21778aa 3606 "colord-" version ".tar.xz"))
75016d07 3607 (sha256
f98be942 3608 (base32 "19f0938fr7nvvm3jr263dlknaq7md40zrac2npfyz25zc00yh3ws"))))
a68544a8 3609 (build-system meson-build-system)
75016d07 3610 (arguments
a68544a8
RW
3611 '(;; FIXME: One test fails:
3612 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
3613 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
3614 ;; application/x-zerosize
75016d07 3615 #:tests? #f
a68544a8
RW
3616 #:glib-or-gtk? #t
3617 #:configure-flags (list "-Dlocalstatedir=/var"
75016d07 3618 ;; No dep on systemd.
a68544a8 3619 "-Dsystemd=false"
75016d07
AW
3620 ;; Wants to install to global completion dir;
3621 ;; punt.
a68544a8 3622 "-Dbash_completion=false"
a68544a8
RW
3623 "-Ddaemon_user=colord"
3624 "-Dsane=true"
dac26e22 3625 "-Dvapi=true"
6f20e2dc 3626 ;; Requires spotread.
a68544a8 3627 "-Dargyllcms_sensor=false"
6f20e2dc 3628 ;; TODO: Requires docbook2x.
a68544a8 3629 "-Dman=false")
75016d07
AW
3630 #:phases
3631 (modify-phases %standard-phases
a68544a8
RW
3632 (add-before 'configure 'patch-build-system
3633 (lambda* (#:key outputs #:allow-other-keys)
3634 (substitute* "rules/meson.build"
3635 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
3636 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
2a1f3e3f
LC
3637 #t))
3638 (add-before 'configure 'set-sqlite3-file-name
3639 (lambda* (#:key inputs #:allow-other-keys)
3640 ;; "colormgr dump" works by invoking the "sqlite3" command.
3641 ;; Record its absolute file name.
3642 (let ((sqlite (assoc-ref inputs "sqlite")))
3643 (substitute* "client/cd-util.c"
3644 (("\"sqlite3\"")
3645 (string-append "\"" sqlite "/bin/sqlite3\"")))
3646 #t))))))
75016d07 3647 (native-inputs
6f20e2dc 3648 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
2536027c 3649 ("gettext" ,gettext-minimal)
75016d07 3650 ("gobject-introspection" ,gobject-introspection)
a68544a8 3651 ("gtk-doc" ,gtk-doc)
dac26e22
TGR
3652 ("pkg-config" ,pkg-config)
3653 ("vala" ,vala)))
65cb2d61
SB
3654 (propagated-inputs
3655 ;; colord.pc refers to all these.
3656 `(("glib" ,glib)
6f20e2dc
TGR
3657 ("lcms" ,lcms)
3658 ("udev" ,eudev)))
75016d07 3659 (inputs
65cb2d61 3660 `(("dbus-glib" ,dbus-glib)
a68544a8 3661 ("gusb" ,gusb)
80c7dd1a 3662 ("libgudev" ,libgudev)
75016d07 3663 ("libusb" ,libusb)
75016d07 3664 ("polkit" ,polkit)
a68544a8 3665 ("python" ,python-wrapper)
6f20e2dc 3666 ("sqlite" ,sqlite)
4c928743 3667 ("sane-backends" ,sane-backends)))
57e7d748 3668 (home-page "https://www.freedesktop.org/software/colord/")
75016d07
AW
3669 (synopsis "Color management service")
3670 (description "Colord is a system service that makes it easy to manage,
3671install and generate color profiles to accurately color manage input and
3672output devices.")
3673 (license license:gpl2+)))
7b2abd00
AW
3674
3675(define-public geoclue
3676 (package
3677 (name "geoclue")
b433c7b3 3678 (version "2.4.8")
7b2abd00
AW
3679 (source
3680 (origin
3681 (method url-fetch)
5cc3096c 3682 (uri (string-append "https://www.freedesktop.org/software/" name
7b2abd00
AW
3683 "/releases/" (version-major+minor version) "/"
3684 name "-" version ".tar.xz"))
3685 (sha256
3686 (base32
b433c7b3 3687 "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj"))
fc1adab1 3688 (patches (search-patches "geoclue-config.patch"))))
7b2abd00
AW
3689 (build-system glib-or-gtk-build-system)
3690 (arguments
3691 '(;; The tests want to run the system bus.
3692 #:tests? #f
3693 #:configure-flags (list ;; Disable bits requiring ModemManager.
3694 "--disable-3g-source"
3695 "--disable-cdma-source"
3696 "--disable-modem-gps-source"
3697 "--with-dbus-service-user=geoclue")
3698 #:phases
3699 (modify-phases %standard-phases
3a4de6b2 3700 (add-before 'configure 'patch-/bin/true
7b2abd00
AW
3701 (lambda _
3702 (substitute* "configure"
e3eb53e7
MW
3703 (("/bin/true") (which "true")))
3704 #t)))))
7b2abd00
AW
3705 (native-inputs
3706 `(("pkg-config" ,pkg-config)
758798a9 3707 ("gobject-introspection" ,gobject-introspection)
7b2abd00
AW
3708 ("intltool" ,intltool)))
3709 (inputs
54e911bc
SB
3710 `(("avahi" ,avahi)
3711 ("glib" ,glib)
7b2abd00
AW
3712 ("json-glib" ,json-glib)
3713 ("libsoup" ,libsoup)))
99adfd7d 3714 (home-page "https://www.freedesktop.org/wiki/Software/GeoClue/")
7b2abd00
AW
3715 (synopsis "Geolocation service")
3716 (description "Geoclue is a D-Bus service that provides location
3717information. The primary goal of the Geoclue project is to make creating
3718location-aware applications as simple as possible, while the secondary goal is
3719to ensure that no application can access location information without explicit
e881752c 3720permission from user.")
7b2abd00 3721 (license license:gpl2+)))
2bfe7437
AW
3722
3723(define-public geocode-glib
3724 (package
3725 (name "geocode-glib")
65de725f 3726 (version "3.26.1")
2bfe7437
AW
3727 (source (origin
3728 (method url-fetch)
3729 (uri (string-append "mirror://gnome/sources/geocode-glib/"
3730 (version-major+minor version) "/"
d485cdc0 3731 "geocode-glib-" version ".tar.xz"))
2bfe7437
AW
3732 (sha256
3733 (base32
65de725f 3734 "076ydfpyc4n5c9dbqmf26i4pilfi5jpw6cjcgrbgrjbndavnmajv"))))
a7dd0c02 3735 (build-system meson-build-system)
2bfe7437 3736 (arguments
a7dd0c02
RW
3737 `(#:phases
3738 (modify-phases %standard-phases
3739 ;; The tests require a bunch of locales.
3740 (add-before 'check 'set-locales
3741 (lambda* (#:key inputs #:allow-other-keys)
3742 (setenv "GUIX_LOCPATH"
3743 (string-append (assoc-ref inputs "glibc-locales")
3744 "/lib/locale"))
3745 #t)))))
2bfe7437
AW
3746 (native-inputs
3747 `(("glib:bin" ,glib "bin") ; for glib-mkenums
a7dd0c02
RW
3748 ("glibc-locales" ,glibc-locales) ; for tests
3749 ("gettext" ,gettext-minimal)
2bfe7437 3750 ("gobject-introspection" ,gobject-introspection)
a7dd0c02 3751 ("gtk-doc" ,gtk-doc)
2bfe7437
AW
3752 ("pkg-config" ,pkg-config)
3753 ("json-glib" ,json-glib)))
3754 (propagated-inputs
3755 ;; geocode-glib-1.0.pc refers to GIO.
3756 `(("glib" ,glib)))
3757 (inputs
3758 `(("libsoup" ,libsoup)))
3759 (home-page "https://github.com/GNOME/geocode-glib/")
3760 (synopsis "Geocoding and reverse-geocoding library")
3761 (description
3762 "geocode-glib is a convenience library for geocoding (finding longitude,
3763and latitude from an address) and reverse geocoding (finding an address from
3764coordinates) using the Nominatim service. geocode-glib caches requests for
3765faster results and to avoid unnecessary server load.")
3766 (license license:lgpl2.0+)))
a1d5bb0e
AW
3767
3768(define-public upower
3769 (package
3770 (name "upower")
4088d809 3771 (version "0.99.10")
a1d5bb0e
AW
3772 (source (origin
3773 (method url-fetch)
9ec54965 3774 (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
4088d809 3775 "uploads/c438511024b9bc5a904f8775cfc8e4c4/"
9ec54965 3776 "upower-" version ".tar.xz"))
a1d5bb0e
AW
3777 (sha256
3778 (base32
4088d809 3779 "17d2bclv5fgma2y3g8bsn9pdvspn1zrzismzdnzfivc0f2wm28k4"))
fc1adab1 3780 (patches (search-patches "upower-builddir.patch"))))
a1d5bb0e
AW
3781 (build-system glib-or-gtk-build-system)
3782 (arguments
3783 '( ;; The tests want to contact the system bus, which can't be done in the
3784 ;; build environment. The integration test can run, but the last of
3785 ;; the up-self-tests doesn't. Disable tests for now.
3786 #:tests? #f
3787 #:configure-flags (list "--localstatedir=/var"
3788 (string-append "--with-udevrulesdir="
3789 (assoc-ref %outputs "out")
9ec54965 3790 "/lib/udev/rules.d"))))
a1d5bb0e 3791 (native-inputs
ebeabe2d
SB
3792 `(("gobject-introspection" ,gobject-introspection)
3793 ("pkg-config" ,pkg-config)
a1d5bb0e 3794 ("intltool" ,intltool)
55409295
LC
3795 ("python" ,python)
3796
3797 ;; For man pages.
3798 ("libxslt" ,libxslt) ;for 'xsltproc'
3799 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
3800 ("docbook-xsl" ,docbook-xsl)))
a1d5bb0e 3801 (inputs
ea226291
SB
3802 `(("dbus-glib" ,dbus-glib)
3803 ("libgudev" ,libgudev)
a1d5bb0e 3804 ("libusb" ,libusb)))
d7a503fc
MB
3805 (propagated-inputs
3806 ;; In Requires of upower-glib.pc.
3807 `(("glib" ,glib)))
57e7d748 3808 (home-page "https://upower.freedesktop.org/")
a1d5bb0e
AW
3809 (synopsis "System daemon for managing power devices")
3810 (description
3811 "UPower is an abstraction for enumerating power devices,
3812listening to device events and querying history and statistics. Any
3813application or service on the system can access the org.freedesktop.UPower
3814service via the system message bus.")
3815 (license license:gpl2+)))
6a180f6f
AW
3816
3817(define-public libgweather
3818 (package
3819 (name "libgweather")
794ce8ea 3820 (version "3.28.3")
6a180f6f
AW
3821 (source (origin
3822 (method url-fetch)
3823 (uri (string-append "mirror://gnome/sources/" name "/"
3824 (version-major+minor version) "/"
3825 name "-" version ".tar.xz"))
3826 (sha256
3827 (base32
794ce8ea 3828 "1xz60h59zgyk61y2wwzm0xlqav72i668g7v0x7rh9idz240hxls5"))))
cf6cbc34 3829 (build-system meson-build-system)
6a180f6f 3830 (arguments
cf6cbc34
RW
3831 `(#:tests? #f ; one of two tests requires network access
3832 #:configure-flags
3833 `(,(string-append "-Dzoneinfo_dir="
b6072e6b 3834 (assoc-ref %build-inputs "tzdata")
cf6cbc34 3835 "/share/zoneinfo"))))
6a180f6f
AW
3836 (native-inputs
3837 `(("glib:bin" ,glib "bin") ; for glib-mkenums
b6072e6b 3838 ("gobject-introspection" ,gobject-introspection)
6a180f6f 3839 ("pkg-config" ,pkg-config)
1d3fcf94 3840 ("vala" ,vala)
6a180f6f
AW
3841 ("intltool" ,intltool)))
3842 (propagated-inputs
3843 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
3844 ;; libsoup.
3845 `(("gtk+" ,gtk+)
3846 ("gdk-pixbuf" ,gdk-pixbuf)
3847 ("libxml2" ,libxml2)
cf6cbc34 3848 ("libsoup" ,libsoup)
6a180f6f 3849 ("geocode-glib" ,geocode-glib)))
cf6cbc34
RW
3850 (inputs
3851 `(("tzdata" ,tzdata)))
6a180f6f
AW
3852 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
3853 (synopsis "Location, time zone, and weather library for GNOME")
3854 (description
3855 "libgweather is a library to access weather information from online
3856services for numerous locations.")
3857 (license license:gpl2+)))
23a22af6
AW
3858
3859(define-public gnome-settings-daemon
3860 (package
3861 (name "gnome-settings-daemon")
4be0719f 3862 (version "3.32.1")
23a22af6
AW
3863 (source
3864 (origin
3865 (method url-fetch)
3866 (uri (string-append "mirror://gnome/sources/" name "/"
3867 (version-major+minor version) "/"
3868 name "-" version ".tar.xz"))
3869 (sha256
3870 (base32
4be0719f 3871 "02d0s0g2mmqfib44r3sf0499r08p61s8l2ndsjssbam1bi7x2dks"))))
e644f9fa 3872 (build-system meson-build-system)
23a22af6 3873 (arguments
e644f9fa
RW
3874 `(#:glib-or-gtk? #t
3875 #:configure-flags
3876 (list (string-append "-Dudev_dir="
3877 (assoc-ref %outputs "out")
4d0e085b
RW
3878 "/lib/udev/rules.d/")
3879 ;; Otherwise, the RUNPATH will lack the final path component.
3880 (string-append "-Dc_link_args=-Wl,-rpath="
3881 (assoc-ref %outputs "out")
3882 "/lib/gnome-settings-daemon-3.0"))
e644f9fa 3883 ;; Color management test can't reach the colord system service.
23a22af6
AW
3884 #:tests? #f))
3885 (native-inputs
e644f9fa
RW
3886 `(("glib:bin" ,glib "bin") ; for glib-mkenums
3887 ("pkg-config" ,pkg-config)
23a22af6
AW
3888 ("intltool" ,intltool)
3889 ("xsltproc" ,libxslt)
3890 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
3891 ("docbook-xml" ,docbook-xml-4.2)
3892 ("docbook-xsl" ,docbook-xsl)))
3893 (inputs
e644f9fa
RW
3894 `(("alsa-lib" ,alsa-lib)
3895 ("colord" ,colord)
ea226291 3896 ("libgudev" ,libgudev)
23a22af6
AW
3897 ("upower" ,upower)
3898 ("polkit" ,polkit)
3899 ("pulseaudio" ,pulseaudio)
3900 ("libcanberra" ,libcanberra)
3901 ("libx11" ,libx11)
3902 ("libxtst" ,libxtst)
3903 ("lcms" ,lcms)
3904 ("libnotify" ,libnotify)
3905 ("geoclue" ,geoclue)
3906 ("geocode-glib" ,geocode-glib)
3907 ("libgweather" ,libgweather)
3908 ("gnome-desktop" ,gnome-desktop)
3909 ("nss" ,nss)
3910 ("cups" ,cups)
ec2b1921
AW
3911 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3912 ("libwacom" ,libwacom)
3913 ("librsvg" ,librsvg)
eee7878f 3914 ("xf86-input-wacom" ,xf86-input-wacom)
e644f9fa 3915 ("wayland" ,wayland)
eee7878f 3916 ("network-manager" ,network-manager)))
f032d0be 3917 (home-page "https://www.gnome.org")
23a22af6
AW
3918 (synopsis "GNOME settings daemon")
3919 (description
3920 "This package contains the daemon responsible for setting the various
3921parameters of a GNOME session and the applications that run under it. It
3922handles settings such keyboard layout, shortcuts, and accessibility, clipboard
3923settings, themes, mouse settings, and startup of other daemons.")
3924 (license license:gpl2+)))
1e7464a9
DH
3925
3926(define-public totem-pl-parser
3927 (package
3928 (name "totem-pl-parser")
77425f04 3929 (version "3.26.3")
1e7464a9
DH
3930 (source (origin
3931 (method url-fetch)
e980cbe9
MW
3932 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
3933 (version-major+minor version) "/"
1e7464a9
DH
3934 "totem-pl-parser-" version ".tar.xz"))
3935 (sha256
3936 (base32
77425f04 3937 "13a45py2j1r9967zgww8kd24bn2fhycd4m3kzr90sxx9l2w03z8f"))))
1e9b19dd 3938 (build-system meson-build-system)
1e7464a9
DH
3939 (arguments
3940 ;; FIXME: Tests require gvfs.
3941 `(#:tests? #f))
3942 (native-inputs
3943 `(("intltool" ,intltool)
3944 ("glib" ,glib "bin")
4d6d8281 3945 ("gobject-introspection" ,gobject-introspection)
1e7464a9 3946 ("pkg-config" ,pkg-config)))
22a6ad6a 3947 (propagated-inputs
1e7464a9
DH
3948 `(("glib" ,glib)
3949 ("gmime" ,gmime)
1e9b19dd
RW
3950 ("libarchive" ,libarchive)
3951 ("libgcrypt" ,libgcrypt)
22a6ad6a
MW
3952 ("libxml2" ,libxml2)))
3953 (inputs
0a6e9e13 3954 `(("libsoup" ,libsoup)))
1e7464a9
DH
3955 (home-page "https://projects.gnome.org/totem")
3956 (synopsis "Library to parse and save media playlists for GNOME")
3957 (description "Totem-pl-parser is a GObjects-based library to parse and save
3958playlists in a variety of formats.")
3959 (license license:lgpl2.0+)))
3960
6b888eff
SB
3961(define-public aisleriot
3962 (package
3963 (name "aisleriot")
36ed9b46 3964 (version "3.22.9")
6b888eff
SB
3965 (source (origin
3966 (method url-fetch)
e43f622a 3967 (uri (string-append "mirror://gnome/sources/aisleriot/"
6b888eff 3968 (version-major+minor version) "/"
e43f622a 3969 "aisleriot-" version ".tar.xz"))
6b888eff
SB
3970 (sha256
3971 (base32
36ed9b46 3972 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
6b888eff
SB
3973 (build-system glib-or-gtk-build-system)
3974 (arguments
3975 '(#:configure-flags
3976 '("--with-platform=gtk-only"
3977 "--with-card-theme-formats=svg")))
3978 (native-inputs
3979 `(("desktop-file-utils" ,desktop-file-utils)
3980 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
3981 ("intltool" ,intltool)
3982 ("itstool" ,itstool)
3983 ("pkg-config" ,pkg-config)
3984 ("xmllint" ,libxml2)))
3985 (inputs
3986 `(("gtk+" ,gtk+)
226e57d6 3987 ("guile" ,guile-2.2)
6b888eff
SB
3988 ("libcanberra" ,libcanberra)
3989 ("librsvg" ,librsvg)))
3990 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
3991 (synopsis "Solitaire card games")
3992 (description
3993 "Aisleriot (also known as Solitaire or sol) is a collection of card games
3994which are easy to play with the aid of a mouse.")
3995 (license license:gpl3+)))
4a79e256 3996
f828d05b
KK
3997(define-public amtk
3998 (package
3999 (name "amtk")
09c4e43f 4000 (version "5.0.1")
f828d05b
KK
4001 (source (origin
4002 (method url-fetch)
bf92ba6b 4003 (uri (string-append "mirror://gnome/sources/amtk/"
f828d05b 4004 (version-major+minor version) "/"
bf92ba6b 4005 "amtk-" version ".tar.xz"))
f828d05b
KK
4006 (sha256
4007 (base32
09c4e43f 4008 "09yy95w1s83c43mh9vha1jbb780yighf5pd2j0ygjmc68sjg871d"))))
f828d05b
KK
4009 (build-system gnu-build-system)
4010 (arguments
4011 '(#:configure-flags '("--enable-gtk-doc")))
4012 (native-inputs
4013 `(("gobject-introspection" ,gobject-introspection)
09c4e43f 4014 ("glib:bin" ,glib "bin") ; for glib-mkenums
f828d05b
KK
4015 ("gtk-doc" ,gtk-doc)
4016 ("pkg-config" ,pkg-config)))
4017 (inputs
4018 `(("glib" ,glib)
4019 ("gtk+" ,gtk+)))
4020 (home-page "https://wiki.gnome.org/Projects/Amtk")
4021 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
4022 (description
4023 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
4024It is a basic GtkUIManager replacement based on GAction. It is suitable for
4025both a traditional UI or a modern UI with a GtkHeaderBar.")
4026 (license license:lgpl2.1+)))
4027
4a79e256
SB
4028(define-public devhelp
4029 (package
4030 (name "devhelp")
20db7a3d 4031 (version "3.32.0")
4a79e256
SB
4032 (source (origin
4033 (method url-fetch)
4034 (uri (string-append "mirror://gnome/sources/" name "/"
4035 (version-major+minor version) "/"
4036 name "-" version ".tar.xz"))
4037 (sha256
4038 (base32
20db7a3d 4039 "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq"))))
11d28bd9 4040 (build-system meson-build-system)
35407f94 4041 (arguments
20db7a3d
KK
4042 '(#:glib-or-gtk? #t
4043 #:phases
35407f94
EF
4044 (modify-phases %standard-phases
4045 (add-after 'unpack 'skip-gtk-update-icon-cache
4046 ;; Don't create 'icon-theme.cache'.
4047 (lambda _
4048 (substitute* "meson_post_install.py"
4049 (("gtk-update-icon-cache") "true"))
4050 #t)))))
4a79e256
SB
4051 (native-inputs
4052 `(("intltool" ,intltool)
5dd12afc 4053 ("itstool" ,itstool)
11d28bd9
KK
4054 ("gobject-introspection" ,gobject-introspection)
4055 ("glib:bin" ,glib "bin") ; for glib-mkmenus
4a79e256
SB
4056 ("pkg-config" ,pkg-config)))
4057 (inputs
11d28bd9
KK
4058 `(("amtk" ,amtk)
4059 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4a79e256
SB
4060 ("webkitgtk" ,webkitgtk)))
4061 (home-page "https://wiki.gnome.org/Apps/Devhelp")
4062 (synopsis "API documentation browser for GNOME")
4063 (description
4064 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
4065natively with GTK-Doc (the API reference system developed for GTK+ and used
4066throughout GNOME for API documentation).")
4067 (license license:gpl2+)))
ba421ab7
MW
4068
4069(define-public cogl
4070 (package
4071 (name "cogl")
54c69ae1 4072 (version "1.22.4")
ba421ab7
MW
4073 (source
4074 (origin
4075 (method url-fetch)
5754f0cf 4076 (uri (string-append "mirror://gnome/sources/cogl/"
ba421ab7 4077 (version-major+minor version) "/"
5754f0cf 4078 "cogl-" version ".tar.xz"))
ba421ab7 4079 (sha256
54c69ae1 4080 (base32 "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"))))
a88d5a0c
MW
4081 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
4082 ;; cogl, corresponding changes may be appropriate in mutter as well.
ba421ab7
MW
4083 (build-system gnu-build-system)
4084 (native-inputs
4085 `(("glib:bin" ,glib "bin") ; for glib-mkenums
4086 ("gobject-introspection" ,gobject-introspection)
4087 ;;("xorg-server" ,xorg-server) ; for the test suite
4088 ("pkg-config" ,pkg-config)))
4089 (propagated-inputs
4090 `(("glib" ,glib)
4091 ("gdk-pixbuf" ,gdk-pixbuf)
4092 ("libx11" ,libx11)
4093 ("libxext" ,libxext)
4094 ("libxfixes" ,libxfixes)
4095 ("libxdamage" ,libxdamage)
4096 ("libxcomposite" ,libxcomposite)
4097 ("libxrandr" ,libxrandr)))
4098 (inputs
4099 `(("mesa" ,mesa)
4100 ("cairo" ,cairo)
4101 ("pango" ,pango)
4102 ("gstreamer" ,gstreamer)
31860852
KK
4103 ("gst-plugins-base" ,gst-plugins-base)
4104 ("wayland" ,wayland)))
ba421ab7
MW
4105 (arguments
4106 `(#:configure-flags (list "--enable-cogl-gst"
31860852
KK
4107 "--enable-wayland-egl-platform"
4108 "--enable-wayland-egl-server"
4109
ba421ab7
MW
4110 ;; Arrange to pass an absolute file name to
4111 ;; dlopen for libGL.so.
4112 (string-append "--with-gl-libname="
4113 (assoc-ref %build-inputs "mesa")
4114 "/lib/libGL.so"))
4115 ;; XXX FIXME: All tests fail, with many warnings printed like this:
4116 ;; _FontTransOpen: Unable to Parse address
4117 ;; ${prefix}/share/fonts/X11/misc/
4118 #:tests? #f
4119 #; #:phases
4120 #;
4121 (modify-phases %standard-phases
4122 (add-before 'check 'start-xorg-server
4123 (lambda* (#:key inputs #:allow-other-keys)
4124 ;; The test suite requires a running X server.
4125 (system (format #f "~a/bin/Xvfb :1 &"
4126 (assoc-ref inputs "xorg-server")))
4127 (setenv "DISPLAY" ":1")
4128 #t)))))
4129 (home-page "http://www.cogl3d.org")
4130 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
4131 (description
4132 "Cogl is a small library for using 3D graphics hardware to draw pretty
4133pictures. The API departs from the flat state machine style of OpenGL and is
4134designed to make it easy to write orthogonal components that can render
4135without stepping on each others toes.")
4136 (license (list license:expat ; most of the code
4137 license:bsd-3 ; cogl/cogl-point-in-poly.c
4138 license:sgifreeb2.0 ; cogl-path/tesselator/
4139 license:asl2.0)))) ; examples/android/
fb182b8a
MW
4140
4141(define-public clutter
4142 (package
4143 (name "clutter")
6a88e4ee 4144 (version "1.26.2")
fb182b8a
MW
4145 (source
4146 (origin
4147 (method url-fetch)
4148 (uri (string-append "mirror://gnome/sources/" name "/"
4149 (version-major+minor version) "/"
4150 name "-" version ".tar.xz"))
4151 (sha256
4152 (base32
6a88e4ee 4153 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
a88d5a0c
MW
4154 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
4155 ;; to clutter, corresponding changes may be appropriate in mutter as well.
fb182b8a 4156 (build-system gnu-build-system)
600233bd
LC
4157 (outputs '("out"
4158 "doc")) ;9 MiB of gtk-doc HTML pages
fb182b8a
MW
4159 (native-inputs
4160 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
4161 ("gobject-introspection" ,gobject-introspection)
4162 ("pkg-config" ,pkg-config)
4163 ("xsltproc" ,libxslt)))
4164 (propagated-inputs
4165 `(("cogl" ,cogl)
4166 ("cairo" ,cairo)
4167 ("atk" ,atk)
4168 ("gtk+" ,gtk+)
4169 ("json-glib" ,json-glib)
4170 ("glib" ,glib)
4171 ("libxcomposite" ,libxcomposite)
4172 ("libxdamage" ,libxdamage)
4173 ("libxext" ,libxext)
4174 ("xinput" ,xinput)))
4175 (inputs
4176 `(("libxkbcommon" ,libxkbcommon)
4177 ("udev" ,eudev)))
4178 (arguments
600233bd
LC
4179 `(#:configure-flags (list "--enable-x11-backend=yes"
4180
4181 ;; This produces share/doc/{clutter,cally}.
4182 (string-append "--with-html-dir="
4183 (assoc-ref %outputs "doc")
4184 "/share/doc"))
fb182b8a
MW
4185 ;; XXX FIXME: Get test suite working. It would probably fail in the
4186 ;; same way the cogl tests fail, since clutter is based on cogl.
4187 #:tests? #f))
4188 (home-page "http://www.clutter-project.org")
476af713 4189 (synopsis "OpenGL-based interactive canvas library")
fb182b8a 4190 (description
476af713 4191 "Clutter is an OpenGL-based interactive canvas library, designed for
fb182b8a
MW
4192creating fast, mainly 2D single window applications such as media box UIs,
4193presentations, kiosk style applications and so on.")
4194 (license license:lgpl2.0+)))
bf7f17ba
MW
4195
4196(define-public clutter-gtk
4197 (package
4198 (name "clutter-gtk")
5d1a3219 4199 (version "1.8.4")
bf7f17ba
MW
4200 (source
4201 (origin
4202 (method url-fetch)
4203 (uri (string-append "mirror://gnome/sources/" name "/"
4204 (version-major+minor version) "/"
4205 name "-" version ".tar.xz"))
4206 (sha256
4207 (base32
5d1a3219 4208 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
bf7f17ba
MW
4209 (build-system gnu-build-system)
4210 (native-inputs
4211 `(("pkg-config" ,pkg-config)
4212 ("gobject-introspection" ,gobject-introspection)))
9a3a8b8e
SB
4213 (propagated-inputs
4214 ;; clutter-gtk.pc refers to all these.
bf7f17ba
MW
4215 `(("clutter" ,clutter)
4216 ("gtk+" ,gtk+)))
4217 (home-page "http://www.clutter-project.org")
476af713 4218 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
bf7f17ba 4219 (description
476af713 4220 "Clutter is an OpenGL-based interactive canvas library, designed for
bf7f17ba
MW
4221creating fast, mainly 2D single window applications such as media box UIs,
4222presentations, kiosk style applications and so on.")
4223 (license license:lgpl2.0+)))
86d6a893
MW
4224
4225(define-public clutter-gst
4226 (package
4227 (name "clutter-gst")
ba07ac19 4228 (version "3.0.27")
86d6a893
MW
4229 (source
4230 (origin
4231 (method url-fetch)
f010f89b 4232 (uri (string-append "mirror://gnome/sources/clutter-gst/"
86d6a893 4233 (version-major+minor version) "/"
f010f89b 4234 "clutter-gst-" version ".tar.xz"))
86d6a893 4235 (sha256
ba07ac19 4236 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
86d6a893
MW
4237 (build-system gnu-build-system)
4238 (native-inputs
ba07ac19 4239 `(("glib:bin" ,glib "bin") ; for glib-mkenums
86d6a893
MW
4240 ("pkg-config" ,pkg-config)
4241 ("gobject-introspection" ,gobject-introspection)))
4242 (inputs
4243 `(("clutter" ,clutter)
4244 ("gstreamer" ,gstreamer)
4245 ("gst-plugins-base" ,gst-plugins-base)))
4246 (home-page "http://www.clutter-project.org")
4247 (synopsis "Integration library for using GStreamer with Clutter")
4248 (description
4249 "Clutter-Gst is an integration library for using GStreamer with Clutter.
4250It provides a GStreamer sink to upload frames to GL and an actor that
476af713
TGR
4251implements the ClutterGstPlayer interface using playbin. Clutter is an
4252OpenGL-based interactive canvas library.")
86d6a893 4253 (license license:lgpl2.0+)))
607a04ae 4254
30dc88d9
LC
4255(define-public libchamplain
4256 (package
4257 (name "libchamplain")
5564b2c5 4258 (version "0.12.16")
30dc88d9
LC
4259 (source (origin
4260 (method url-fetch)
4261 (uri (string-append
4262 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
4263 version ".tar.xz"))
4264 (sha256
4265 (base32
5564b2c5 4266 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
30dc88d9 4267 (build-system gnu-build-system)
f7c6833f
LF
4268 (arguments '(#:configure-flags '("--enable-vala")))
4269 (native-inputs
4270 `(("gobject-introspection" ,gobject-introspection)
4271 ("pkg-config" ,pkg-config)
4272 ("vala" ,vala)))
30dc88d9
LC
4273 (propagated-inputs
4274 `(("libsoup" ,libsoup)
4275 ("sqlite" ,sqlite)
4276 ("clutter" ,clutter)
4277 ("clutter-gtk" ,clutter-gtk)
4278 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
4279 ("cairo" ,cairo)
4280 ("gtk+3" ,gtk+)
4281 ("glib" ,glib)))
f032d0be 4282 (home-page "https://projects.gnome.org/libchamplain/")
30dc88d9
LC
4283 (synopsis "C library providing a ClutterActor to display maps")
4284 (description
4285 "libchamplain is a C library providing a ClutterActor to display maps.
4286It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
4287and Perl bindings are also available. It supports numerous free map sources
4288such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
4289 (license license:lgpl2.1+)))
4290
607a04ae
MW
4291(define-public gom
4292 (package
4293 (name "gom")
0510440b 4294 (version "0.3.2")
607a04ae
MW
4295 (source
4296 (origin
4297 (method url-fetch)
6c8a0b6f 4298 (uri (string-append "mirror://gnome/sources/gom/"
607a04ae 4299 (version-major+minor version) "/"
6c8a0b6f 4300 "gom-" version ".tar.xz"))
607a04ae
MW
4301 (sha256
4302 (base32
0510440b 4303 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
607a04ae
MW
4304 (build-system gnu-build-system)
4305 (native-inputs
4306 `(("intltool" ,intltool)
4307 ("pkg-config" ,pkg-config)
4308 ("gobject-introspection" ,gobject-introspection)))
4309 (inputs
4310 `(("glib" ,glib)
4311 ("gdk-pixbuf" ,gdk-pixbuf)
4312 ("sqlite" ,sqlite)))
4313 ;; XXX TODO: Figure out how to run the test suite.
4314 (arguments `(#:tests? #f))
4315 (home-page "https://wiki.gnome.org/Projects/Gom")
4316 (synopsis "Object mapper from GObjects to SQLite")
4317 (description
4318 "Gom provides an object mapper from GObjects to SQLite. It helps you
4319write applications that need to store structured data as well as make complex
4320queries upon that data.")
4321 (license license:lgpl2.1+)))
b7a3cf11 4322
865aacc9 4323(define-public libgnome-games-support
f09520db 4324 (package
865aacc9 4325 (name "libgnome-games-support")
4c6d15cf 4326 (version "1.4.4")
f09520db
SB
4327 (source (origin
4328 (method url-fetch)
2d8dca9d 4329 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
f09520db 4330 (version-major+minor version) "/"
2d8dca9d 4331 "libgnome-games-support-" version ".tar.xz"))
f09520db
SB
4332 (sha256
4333 (base32
4c6d15cf 4334 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
f09520db
SB
4335 (build-system gnu-build-system)
4336 (arguments
4337 '(#:phases
4338 (modify-phases %standard-phases
4339 (add-before 'check 'pre-check
4340 (lambda _
865aacc9 4341 ;; Tests require a writable HOME.
f09520db
SB
4342 (setenv "HOME" (getcwd))
4343 #t)))))
4344 (native-inputs
4345 `(("intltool" ,intltool)
4346 ("pkg-config" ,pkg-config)
4347 ("vala" ,vala)))
4348 (propagated-inputs
865aacc9 4349 ;; Required by libgnome-games-support-1.0.pc
f09520db
SB
4350 `(("gtk+" ,gtk+)
4351 ("libgee" ,libgee)))
4352 (home-page "https://www.gnome.org/")
4353 (synopsis "Useful functionality shared among GNOME games")
4354 (description
865aacc9 4355 "libgnome-games-support is a small library intended for internal use by
f09520db
SB
4356GNOME Games, but it may be used by others.")
4357 (license license:lgpl3+)))
4358
b7a3cf11
SB
4359(define-public gnome-klotski
4360 (package
4361 (name "gnome-klotski")
c1e419c4 4362 (version "3.32.0")
b7a3cf11
SB
4363 (source (origin
4364 (method url-fetch)
4365 (uri (string-append "mirror://gnome/sources/" name "/"
4366 (version-major+minor version) "/"
4367 name "-" version ".tar.xz"))
4368 (sha256
4369 (base32
c1e419c4
KK
4370 "1p4s15gxj6gasix22z9vlx2yrx196fvcxr6v6qrl569idfgjbi72"))))
4371 (build-system meson-build-system)
4372 (arguments
4373 '(#:glib-or-gtk? #t
4374 #:phases
4375 (modify-phases %standard-phases
4376 (add-after 'unpack 'skip-gtk-update-icon-cache
4377 ;; Don't create 'icon-theme.cache'.
4378 (lambda _
4379 (substitute* "build-aux/meson_post_install.py"
4380 (("gtk-update-icon-cache") (which "true")))
4381 #t)))))
b7a3cf11
SB
4382 (native-inputs
4383 `(("desktop-file-utils" ,desktop-file-utils)
c1e419c4 4384 ("glib:bin" ,glib "bin") ; for glib-compile-resources
b7a3cf11
SB
4385 ("intltool" ,intltool)
4386 ("itstool" ,itstool)
bcb354ad 4387 ("pkg-config" ,pkg-config)
c1e419c4 4388 ("vala" ,vala)
bcb354ad 4389 ("xmllint" ,libxml2)))
b7a3cf11
SB
4390 (inputs
4391 `(("gtk+" ,gtk+)
f4eae76f 4392 ("libgnome-games-support" ,libgnome-games-support)
b7a3cf11
SB
4393 ("librsvg" ,librsvg)))
4394 (home-page "https://wiki.gnome.org/Apps/Klotski")
4395 (synopsis "Sliding block puzzles")
4396 (description
4397 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
4398the patterned block to the area bordered by green markers. To do so, you will
4399need to slide other blocks out of the way. Complete each puzzle in as few moves
4400as possible!")
4401 (license license:gpl2+)))
8d4791bf
MW
4402
4403(define-public grilo
4404 (package
4405 (name "grilo")
a865e938 4406 (version "0.3.10")
8d4791bf
MW
4407 (source
4408 (origin
4409 (method url-fetch)
4410 (uri (string-append "mirror://gnome/sources/" name "/"
4411 (version-major+minor version) "/"
4412 name "-" version ".tar.xz"))
4413 (sha256
4414 (base32
a865e938 4415 "1s7ilyywf18q26aj5c4709kfizqywjlnacp4jzmj9v9i9kkv4i3y"))))
d48d4c98 4416 (build-system meson-build-system)
8d4791bf
MW
4417 (native-inputs
4418 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4419 ("intltool" ,intltool)
4420 ("pkg-config" ,pkg-config)
d48d4c98
KK
4421 ("gobject-introspection" ,gobject-introspection)
4422 ("gtk-doc" ,gtk-doc)
4423 ("vala" ,vala)))
8d4791bf 4424 (inputs
6d7273a0
KK
4425 `(("cyrus-sasl" ,cyrus-sasl)
4426 ("glib" ,glib)
8d4791bf
MW
4427 ("gtk+" ,gtk+)
4428 ("libxml2" ,libxml2)
6d7273a0 4429 ("liboauth" ,liboauth)
8d4791bf
MW
4430 ("libsoup" ,libsoup)
4431 ("totem-pl-parser" ,totem-pl-parser)))
8d4791bf
MW
4432 (native-search-paths
4433 (list (search-path-specification
4434 (variable "GRL_PLUGIN_PATH")
4435 (files (list (string-append "lib/grilo-"
4436 (version-major+minor version)))))))
d48d4c98 4437 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
8d4791bf
MW
4438 (synopsis "Framework for discovering and browsing media")
4439 (description
4440 "Grilo is a framework focused on making media discovery and browsing easy
4441for application developers.")
4442 (license license:lgpl2.1+)))
7b212526
MW
4443
4444(define-public grilo-plugins
4445 (package
4446 (name "grilo-plugins")
22753632 4447 (version "0.3.3")
7b212526
MW
4448 (source
4449 (origin
4450 (method url-fetch)
4451 (uri (string-append "mirror://gnome/sources/" name "/"
4452 (version-major+minor version) "/"
4453 name "-" version ".tar.xz"))
4454 (sha256
4455 (base32
22753632 4456 "172vr1y98d2mzlmg5akjn4ibrcj3gh22cwnb3cv9rvvzhj3yhrpy"))))
7b212526
MW
4457 (build-system gnu-build-system)
4458 (native-inputs
4459 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
4460 ("intltool" ,intltool)
4461 ("itstool" ,itstool)
4462 ("pkg-config" ,pkg-config)))
4463 (inputs
4464 `(("grilo" ,grilo)
4465 ("glib" ,glib)
4466 ("libxml2" ,libxml2)
4467 ("sqlite" ,sqlite)
4468 ("gom" ,gom)
4469 ;; XXX TODO: Add oauth
4470 ;; XXX TODO: Add goa
4471 ;; XXX TODO: Add gdata (e.g. needed for youtube plugin)
4472 ;; XXX TODO: Add lua (needs help finding it)
4473 ("json-glib" ,json-glib)
4474 ("avahi" ,avahi)
4475 ("gmime" ,gmime)
4476 ("libsoup" ,libsoup)
4477 ("libarchive" ,libarchive)
4478 ("totem-pl-parser" ,totem-pl-parser)))
4479 (arguments
4480 `(#:make-flags (list (string-append "GRL_PLUGINS_DIR="
4481 %output
4482 "/lib/grilo-"
4483 ,(version-major+minor version)))
4484 ;; XXX FIXME: Try to get the test suite working. It appears to require
4485 ;; a working system dbus. Inside the build container, all tests fail
4486 ;; with: "assertion failed: (source)". Outside of the build container,
4487 ;; most tests succeed.
4488 #:tests? #f))
f032d0be 4489 (home-page "https://live.gnome.org/Grilo")
7b212526
MW
4490 (synopsis "Plugins for the Grilo media discovery library")
4491 (description
4492 "Grilo is a framework focused on making media discovery and browsing easy
4493for application developers.")
4494 (license license:lgpl2.1+)))
4e3fc547
MW
4495
4496(define-public totem
4497 (package
4498 (name "totem")
995ef5ea 4499 (version "3.32.1")
4e3fc547
MW
4500 (source
4501 (origin
4502 (method url-fetch)
4503 (uri (string-append "mirror://gnome/sources/" name "/"
4504 (version-major+minor version) "/"
4505 name "-" version ".tar.xz"))
4506 (sha256
4507 (base32
995ef5ea 4508 "0yra8apc7smpwf7d1k8crhrm8d4wix24ds6i9yxbch1v11jnhr3v"))))
7ad81b8b 4509 (build-system meson-build-system)
4e3fc547
MW
4510 (native-inputs
4511 `(("pkg-config" ,pkg-config)
4512 ("desktop-file-utils" ,desktop-file-utils)
4513 ("gobject-introspection" ,gobject-introspection)
7ad81b8b 4514 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
4e3fc547 4515 ("intltool" ,intltool)
bcb354ad 4516 ("itstool" ,itstool)
995ef5ea
KK
4517 ("xmllint" ,libxml2)
4518 ("python-pylint" ,python-pylint)
4519 ("xorg-server" ,xorg-server-for-tests)))
4e3fc547
MW
4520 (propagated-inputs
4521 `(("dconf" ,dconf)))
4522 (inputs
4523 `(("gtk+" ,gtk+)
4524 ("gdk-pixbuf" ,gdk-pixbuf)
4525 ("atk" ,atk)
4526 ("cairo" ,cairo)
4527 ("dbus-glib" ,dbus-glib)
4528 ("clutter" ,clutter)
4529 ("clutter-gtk" ,clutter-gtk)
4530 ("clutter-gst" ,clutter-gst)
6a6db57f 4531 ("xorgproto" ,xorgproto)
4e3fc547
MW
4532 ("libxxf86vm" ,libxxf86vm)
4533 ("libxtst" ,libxtst)
4534 ("libxrandr" ,libxrandr)
4535 ("libxml2" ,libxml2)
4536 ("libsoup" ,libsoup)
4537 ("libpeas" ,libpeas)
4538 ("librsvg" ,librsvg)
4539 ("lirc" ,lirc)
4540 ("gnome-desktop" ,gnome-desktop)
4541 ("gstreamer" ,gstreamer)
4542 ("gst-plugins-base" ,gst-plugins-base)
4543 ("gst-plugins-good" ,gst-plugins-good)
4544 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4545 ("adwaita-icon-theme" ,adwaita-icon-theme)
d7b63ba9 4546 ("python" ,python)
995ef5ea 4547 ("python-pygobject" ,python-pygobject)
4e3fc547
MW
4548 ("totem-pl-parser" ,totem-pl-parser)
4549 ("grilo" ,grilo)
4550 ("grilo-plugins" ,grilo-plugins)
4e3fc547
MW
4551 ("vala" ,vala)))
4552 (arguments
7ad81b8b
LC
4553 `(#:glib-or-gtk? #t
4554
4555 ;; Disable automatic GStreamer plugin installation via PackageKit and
ec5c24f9 4556 ;; all that.
7ad81b8b 4557 #:configure-flags '("-D" "enable-easy-codec-installation=no"
a388c951
LC
4558
4559 ;; Do not build .a files for the plugins, it's
4560 ;; completely useless. This saves 2 MiB.
7ad81b8b 4561 "--default-library" "shared")
ec5c24f9 4562 #:phases
4e3fc547 4563 (modify-phases %standard-phases
d51b19ad
EF
4564 (add-after 'unpack 'skip-gtk-update-icon-cache
4565 ;; Don't create 'icon-theme.cache'.
4566 (lambda _
4567 (substitute* "meson_post_install.py"
4568 (("gtk-update-icon-cache") "true"))
4569 #t))
6368eb39
DM
4570 (add-before
4571 'install 'disable-cache-generation
4572 (lambda _
4573 (setenv "DESTDIR" "/")
4574 #t))
995ef5ea
KK
4575 (add-before
4576 'check 'pre-check
4577 (lambda _
4578 ;; Tests require a running X server.
4579 (system "Xvfb :1 &")
4580 (setenv "DISPLAY" ":1")
4581 #t))
4e3fc547
MW
4582 (add-after
4583 'install 'wrap-totem
4584 (lambda* (#:key inputs outputs #:allow-other-keys)
4585 (let ((out (assoc-ref outputs "out"))
4586 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
4587 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
4588 (wrap-program (string-append out "/bin/totem")
4589 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
39c853bd
AW
4590 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
4591 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
4592 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
4e3fc547
MW
4593 #t)))))
4594 (home-page "https://wiki.gnome.org/Apps/Videos")
4595 (synopsis "Simple media player for GNOME based on GStreamer")
4596 (description "Totem is a simple yet featureful media player for GNOME
4597which can read a large number of file formats.")
4598 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
4599 ;; to be used and distributed together with GStreamer and Totem. See
4600 ;; file://COPYING in the source distribution for details.
4601 (license license:gpl2+)))
f0afb0c8
DH
4602
4603(define-public rhythmbox
4604 (package
4605 (name "rhythmbox")
8190e1ed 4606 (version "3.4.3")
f0afb0c8
DH
4607 (source (origin
4608 (method url-fetch)
4609 (uri (string-append "mirror://gnome/sources/" name "/"
4610 (version-major+minor version) "/"
4611 name "-" version ".tar.xz"))
4612 (sha256
4613 (base32
8190e1ed 4614 "1yx3n7p9vmv23jsv98fxwq95n78awdxqm8idhyhxx2d6vk4w1hgx"))))
f0afb0c8
DH
4615 (build-system glib-or-gtk-build-system)
4616 (arguments
4617 `(#:configure-flags
4618 (list "--enable-lirc"
4619 "--enable-python"
4620 "--enable-vala"
4621 "--with-brasero"
4622 "--with-gudev"
4623 "--with-libsecret")
4624 #:phases
4625 (modify-phases %standard-phases
4626 (add-after
4627 'install 'wrap-rhythmbox
4628 (lambda* (#:key inputs outputs #:allow-other-keys)
4629 (let ((out (assoc-ref outputs "out"))
4630 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
4631 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
349cef58
TGR
4632 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
4633 (python-path (getenv "PYTHONPATH")))
f0afb0c8
DH
4634 (wrap-program (string-append out "/bin/rhythmbox")
4635 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
4636 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
349cef58
TGR
4637 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
4638 `("PYTHONPATH" ":" prefix (,python-path))))
f0afb0c8
DH
4639 #t)))))
4640 (propagated-inputs
4641 `(("dconf" ,dconf)))
4642 (native-inputs
bcb354ad
SB
4643 `(("itstool" ,itstool)
4644 ("intltool" ,intltool)
f0afb0c8
DH
4645 ("glib" ,glib "bin")
4646 ("gobject-introspection" ,gobject-introspection)
4647 ("desktop-file-utils" ,desktop-file-utils)
bcb354ad
SB
4648 ("pkg-config" ,pkg-config)
4649 ("xmllint" ,libxml2)))
f0afb0c8
DH
4650 (inputs
4651 `(("json-glib" ,json-glib)
4652 ("tdb" ,tdb)
4653 ("gnome-desktop" ,gnome-desktop)
4654 ("python" ,python)
4655 ("python-pygobject" ,python2-pygobject)
4656 ("vala" ,vala)
4657 ("gmime" ,gmime)
f0afb0c8
DH
4658 ("adwaita-icon-theme" ,adwaita-icon-theme)
4659 ("grilo" ,grilo)
4660 ("grilo-plugins" ,grilo-plugins)
4661 ("gstreamer" ,gstreamer)
4662 ("gst-plugins-base" ,gst-plugins-base)
4663 ("gst-plugins-good" ,gst-plugins-good)
f0afb0c8 4664 ("totem-pl-parser" ,totem-pl-parser)
ea226291 4665 ("libgudev" ,libgudev)
f0afb0c8
DH
4666 ;;("libmtp" ,libmtp) FIXME: Not detected
4667 ("libsecret" ,libsecret)
4668 ("libsoup" ,libsoup)
4669 ("libnotify" ,libnotify)
4670 ("libpeas" ,libpeas)
4671 ("lirc" ,lirc)
4672 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
4673 ;;("clutter" ,clutter)
4674 ;;("clutter-gtk" ,clutter-gtk)
4675 ;;("clutter-gst" ,clutter-gst)
4676 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4677 ("atk" ,atk)
4678 ("pango" ,pango)
4679 ("gtk+" ,gtk+)
4680 ;; TODO:
4681 ;; * libgpod
4682 ;; * mx
f0afb0c8
DH
4683 ("brasero" ,brasero)))
4684 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
4685 (synopsis "Music player for GNOME")
4686 (description "Rhythmbox is a music playing application for GNOME. It
4687supports playlists, song ratings, and any codecs installed through gstreamer.")
4688 (license license:gpl2+)))
f70d8383
DH
4689
4690(define-public eog
4691 (package
4692 (name "eog")
b0f24a82 4693 (version "3.32.2")
f70d8383
DH
4694 (source (origin
4695 (method url-fetch)
4696 (uri (string-append "mirror://gnome/sources/" name "/"
4697 (version-major+minor version) "/"
4698 name "-" version ".tar.xz"))
4699 (sha256
4700 (base32
b0f24a82 4701 "1bcxpqgzlk2cy4wfb3b5h66mhpj2fhrk1rrb5qqcv5xrr62ik5xy"))))
61fb581f 4702 (build-system meson-build-system)
f70d8383 4703 (arguments
34c44a34
RW
4704 `(#:configure-flags
4705 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
4706 (list (string-append "-Dc_link_args=-Wl,-rpath="
4707 (assoc-ref %outputs "out") "/lib/eog"))
4708 #:phases
f70d8383 4709 (modify-phases %standard-phases
7a034665
EF
4710 (add-after 'unpack 'skip-gtk-update-icon-cache
4711 ;; Don't create 'icon-theme.cache'.
4712 (lambda _
4713 (substitute* "meson_post_install.py"
4714 (("gtk-update-icon-cache") "true"))
4715 #t))
61fb581f
RW
4716 (add-after 'install 'wrap-eog
4717 (lambda* (#:key outputs #:allow-other-keys)
4718 (let ((out (assoc-ref outputs "out"))
4719 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
4720 (wrap-program (string-append out "/bin/eog")
4721 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
4722 #t)))))
f70d8383
DH
4723 (propagated-inputs
4724 `(("dconf" ,dconf)))
4725 (native-inputs
4726 `(("intltool" ,intltool)
b3546174 4727 ("itstool" ,itstool)
f70d8383
DH
4728 ("glib" ,glib "bin")
4729 ("gobject-introspection" ,gobject-introspection)
bcb354ad
SB
4730 ("pkg-config" ,pkg-config)
4731 ("xmllint" ,libxml2)))
f70d8383
DH
4732 (inputs
4733 `(("gnome-desktop" ,gnome-desktop)
4734 ("shared-mime-info" ,shared-mime-info)
4735 ("adwaita-icon-theme" ,adwaita-icon-theme)
4736 ("exempi" ,exempi)
4737 ("lcms" ,lcms)
4738 ("libexif" ,libexif)
4739 ("libpeas" ,libpeas)
4740 ("libjpeg" ,libjpeg)
4741 ("librsvg" ,librsvg)
4742 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4743 ("gtk+" ,gtk+)))
4744 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
4745 (synopsis "GNOME image viewer")
4746 (description "Eye of GNOME is the GNOME image viewer. It
4747supports image conversion, rotation, and slideshows.")
4748 (license license:gpl2+)))
41af5e7b 4749
0c3f8cb8
LC
4750(define-public eog-plugins
4751 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
4752 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
4753 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
4754 ;; 'XDG_DATA_DIRS' appropriately set.
4755 (package
4756 (name "eog-plugins")
54b74cc6 4757 (version "3.26.4")
0c3f8cb8
LC
4758 (source (origin
4759 (method url-fetch)
f3b88ed2 4760 (uri (string-append "mirror://gnome/sources/eog-plugins/"
0c3f8cb8 4761 (version-major+minor version) "/"
f3b88ed2 4762 "eog-plugins-" version ".tar.xz"))
0c3f8cb8
LC
4763 (sha256
4764 (base32
54b74cc6 4765 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
0c3f8cb8
LC
4766 (build-system gnu-build-system)
4767 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
4768 (synopsis "Extensions for the Eye of GNOME image viewer")
4769 (native-inputs
4770 `(("pkg-config" ,pkg-config)
4771 ("gettext" ,gnu-gettext)))
4772 (inputs
4773 `(("eog" ,eog)
4774 ("glib" ,glib)
4775 ("gtk+" ,gtk+)
4776 ("libpeas" ,libpeas)
4777 ("libexif" ,libexif)
4778 ("libchamplain" ,libchamplain)))
4779 (description
4780 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
4781notably:
4782
4783@itemize
4784@item @dfn{EXIF Display}, which displays camera (EXIF) information;
4785@item @dfn{Map}, which displays a map of where the picture was taken on the
4786side panel;
4787@item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
4788@end itemize\n")
4789
4790 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
4791 ;; long suspicious byte stream that goes to a
4792 ;; ".gresource.eog_postasa_plugin" ELF section.
4793 (license license:gpl2+)))
4794
41af5e7b
SB
4795(define-public libgudev
4796 (package
4797 (name "libgudev")
b78f5118 4798 (version "232")
41af5e7b
SB
4799 (source (origin
4800 (method url-fetch)
4801 (uri (string-append "mirror://gnome/sources/" name "/"
4802 version "/" name "-" version ".tar.xz"))
4803 (sha256
4804 (base32
b78f5118 4805 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
41af5e7b 4806 (build-system gnu-build-system)
b78f5118
RW
4807 (arguments
4808 '(#:configure-flags
4809 ;; umockdev depends on libgudev.
4810 (list "--disable-umockdev")))
41af5e7b
SB
4811 (native-inputs
4812 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
4813 ("gobject-introspection" ,gobject-introspection)
4814 ("pkg-config" ,pkg-config)))
4815 (propagated-inputs
4816 `(("glib" ,glib))) ; required by gudev-1.0.pc
4817 (inputs
4818 `(("udev" ,eudev)))
4819 (home-page "https://wiki.gnome.org/Projects/libgudev")
4820 (synopsis "GObject bindings for libudev")
4821 (description
4822 "This library provides GObject bindings for libudev. It was originally
4823part of udev-extras, then udev, then systemd. It's now a project on its own.")
4824 (license license:lgpl2.1+)))
3dc8828f
SB
4825
4826(define-public gvfs
4827 (package
4828 (name "gvfs")
12fe4846 4829 (version "1.40.1")
3dc8828f
SB
4830 (source (origin
4831 (method url-fetch)
1d68eb32 4832 (uri (string-append "mirror://gnome/sources/gvfs/"
3dc8828f 4833 (version-major+minor version) "/"
1d68eb32 4834 "gvfs-" version ".tar.xz"))
3dc8828f
SB
4835 (sha256
4836 (base32
12fe4846 4837 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))))
e762d943 4838 (build-system meson-build-system)
3dc8828f 4839 (arguments
e762d943
RW
4840 '(#:glib-or-gtk? #t
4841 #:configure-flags
4842 (list "-Dsystemduserunitdir=no"
4843 "-Dtmpfilesdir=no"
4844 ;; Otherwise, the RUNPATH will lack the final path component.
4845 (string-append "-Dc_link_args=-Wl,-rpath="
4846 (assoc-ref %outputs "out") "/lib/gvfs"))))
3dc8828f
SB
4847 (native-inputs
4848 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
0ab9f949
RW
4849 ("gettext" ,gettext-minimal)
4850 ("gtk-doc" ,gtk-doc)
3dc8828f
SB
4851 ("pkg-config" ,pkg-config)
4852 ("xsltproc" ,libxslt)))
4853 (inputs
4854 `(("avahi" ,avahi)
4855 ("docbook-xml" ,docbook-xml-4.2)
4856 ("docbook-xsl" ,docbook-xsl)
4857 ("dbus" ,dbus)
e762d943 4858 ("elogind" ,elogind)
3dc8828f 4859 ("fuse" ,fuse)
24a78aa6 4860 ("gcr" ,gcr)
3dc8828f 4861 ("glib" ,glib)
e762d943 4862 ("gnome-online-accounts" ,gnome-online-accounts)
3dc8828f
SB
4863 ("libarchive" ,libarchive)
4864 ("libbluray" ,libbluray)
8852ca24 4865 ("libcap" ,libcap)
3dc8828f
SB
4866 ("libcdio-paranoia" ,libcdio-paranoia)
4867 ("libgcrypt" ,libgcrypt)
e762d943 4868 ("libgdata" ,libgdata)
3dc8828f
SB
4869 ("libgphoto2" ,libgphoto2)
4870 ("libgudev" ,libgudev)
0ab9f949 4871 ("libimobiledevice" ,libimobiledevice)
3dc8828f 4872 ("libmtp" ,libmtp)
e762d943 4873 ("libnfs" ,libnfs)
3dc8828f
SB
4874 ("libsecret" ,libsecret)
4875 ("libsmbclient" ,samba)
4876 ("libsoup" ,libsoup)
4877 ("libxml2" ,libxml2)
e762d943 4878 ("openssh" ,openssh)
8852ca24 4879 ("polkit" ,polkit)
3dc8828f
SB
4880 ("udisks" ,udisks)))
4881 (home-page "https://wiki.gnome.org/gvfs/")
8f65585b 4882 (synopsis "Userspace virtual file system for GIO")
3dc8828f 4883 (description
8f65585b 4884 "GVFS is a userspace virtual file system designed to work with the I/O
3dc8828f
SB
4885abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
4886to all applications using the GIO API. It also supports exposing the GVFS
4887mounts to non-GIO applications using FUSE.
4888
4889GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
4890DAV, and others.")
4891 (license license:lgpl2.0+)))
7c88b6bd
AW
4892
4893(define-public gusb
4894 (package
4895 (name "gusb")
536b3274 4896 (version "0.3.0")
7c88b6bd 4897 (source (origin
bbfb36f9
EF
4898 (method git-fetch)
4899 (uri (git-reference
4900 (url "https://github.com/hughsie/libgusb.git")
4901 (commit version)))
4902 (file-name (git-file-name name version))
7c88b6bd
AW
4903 (sha256
4904 (base32
bbfb36f9 4905 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
536b3274 4906 (build-system meson-build-system)
7c88b6bd 4907 (native-inputs
536b3274 4908 `(("gobject-introspection" ,gobject-introspection)
7c88b6bd
AW
4909 ("pkg-config" ,pkg-config)
4910 ("vala" ,vala)
7c88b6bd
AW
4911 ("gtk-doc" ,gtk-doc)))
4912 (propagated-inputs
4913 ;; Both of these are required by gusb.pc.
4914 `(("glib" ,glib)
4915 ("libusb" ,libusb)))
4916 (arguments
536b3274 4917 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
8f1640ed 4918 (home-page "https://github.com/hughsie/libgusb")
a124bbd2 4919 (synopsis "GLib binding for libusb1")
7c88b6bd
AW
4920 (description
4921 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
4922asynchronous control, bulk and interrupt transfers with proper cancellation
4923and integration into a mainloop. This makes it easy to integrate low level
4924USB transfers with your high-level application or system daemon.")
4925 (license license:lgpl2.1+)))
0abe1d86
AW
4926
4927(define-public simple-scan
4928 (package
4929 (name "simple-scan")
4afb7dd9 4930 (version "3.34.2")
d9f6d587
TGR
4931 (source
4932 (origin
4933 (method url-fetch)
4934 (uri (string-append "mirror://gnome/sources/simple-scan/"
4935 (version-major+minor version) "/"
4936 "simple-scan-" version ".tar.xz"))
4937 (sha256
4afb7dd9 4938 (base32 "1fk3g4f9slckqfwm576jrjq1d1qihw0dlgzdf00ns7qbhzb0kxsp"))))
d9f6d587
TGR
4939 (build-system meson-build-system)
4940 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
4941 (arguments
4942 '(#:glib-or-gtk? #t))
0abe1d86
AW
4943 (inputs
4944 `(("gtk" ,gtk+)
4945 ("zlib" ,zlib)
4946 ("cairo" ,cairo)
c501f592 4947 ("colord" ,colord)
0abe1d86
AW
4948 ("gdk-pixbuf" ,gdk-pixbuf)
4949 ("gusb" ,gusb)
4c928743 4950 ("libsane" ,sane-backends)))
0abe1d86 4951 (native-inputs
b94a6ca0 4952 `(("gettext" ,gettext-minimal)
0abe1d86 4953 ("itstool" ,itstool)
c501f592 4954 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
0abe1d86 4955 ("pkg-config" ,pkg-config)
bcb354ad
SB
4956 ("vala" ,vala)
4957 ("xmllint" ,libxml2)))
dff0eedb 4958 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
0abe1d86 4959 (synopsis "Document and image scanner")
d9f6d587
TGR
4960 (description
4961 "Document Scanner is an easy-to-use application that lets you connect your
4962scanner and quickly capture images and documents in an appropriate format. It
4963supports any scanner for which a suitable SANE driver is available, which is
4964almost all of them.")
0abe1d86 4965 (license license:gpl3+)))
7549f984 4966
ab466d79
RW
4967(define-public eolie
4968 (package
4969 (name "eolie")
fa8ef3ed 4970 (version "0.9.63")
ab466d79
RW
4971 (source (origin
4972 (method url-fetch)
00014781 4973 (uri (string-append "https://gitlab.gnome.org/World/eolie/"
fa8ef3ed 4974 "uploads/d42b466752729a0d3fa828a721e25043/"
00014781 4975 "eolie-" version ".tar.xz"))
ab466d79
RW
4976 (sha256
4977 (base32
fa8ef3ed 4978 "11pp8g0w22h1q0bbj9517l5838gcymvvp8fp9kh6h2dmgir2ssih"))))
00014781 4979 (build-system meson-build-system)
ab466d79 4980 (arguments
00014781
RW
4981 `(#:glib-or-gtk? #t
4982 #:phases
ab466d79 4983 (modify-phases %standard-phases
f0c68100
EF
4984 (add-after 'unpack 'skip-gtk-update-icon-cache
4985 ;; Don't create 'icon-theme.cache'.
4986 (lambda _
4987 (substitute* "meson_post_install.py"
4988 (("gtk-update-icon-cache") "true"))
4989 #t))
ab466d79
RW
4990 (add-after 'wrap 'wrap-more
4991 (lambda* (#:key inputs outputs #:allow-other-keys)
4992 (let* ((out (assoc-ref outputs "out"))
4993 ;; These libraries must be on LD_LIBRARY_PATH.
4994 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
4995 "atk" "gtk+" "gsettings-desktop-schemas"
4996 "gobject-introspection"))
4997 (path (string-join
4998 (map (lambda (lib)
4999 (string-append (assoc-ref inputs lib) "/lib"))
5000 libs)
5001 ":")))
5002 (wrap-program (string-append out "/bin/eolie")
5003 `("LD_LIBRARY_PATH" ":" prefix (,path))
5004 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
5005 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
5006 #t)))))
5007 (native-inputs
f85ca6ed 5008 `(("intltool" ,intltool)
ab466d79 5009 ("itstool" ,itstool)
d95f1041 5010 ("pkg-config" ,pkg-config)
d95f1041 5011 ("python" ,python)
f0c68100 5012 ("glib:bin" ,glib "bin")))
ab466d79
RW
5013 (inputs
5014 `(("gobject-introspection" ,gobject-introspection)
5015 ("glib-networking" ,glib-networking)
5016 ("cairo" ,cairo)
5017 ("gtk+" ,gtk+)
5018 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
5019 ("python" ,python-wrapper)
d72f76df 5020 ("python-dateutil" ,python-dateutil)
00014781 5021 ("python-pyfxa" ,python-pyfxa)
ab466d79
RW
5022 ("python-pygobject" ,python-pygobject)
5023 ("python-pycairo" ,python-pycairo)
00014781 5024 ("python-pycrypto" ,python-pycrypto)
ab466d79
RW
5025 ("libsecret" ,libsecret)
5026 ("gtkspell3" ,gtkspell3)
5027 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
f85ca6ed 5028 ("webkitgtk" ,webkitgtk)))
166b2c97 5029 (home-page "https://wiki.gnome.org/Apps/Eolie")
ab466d79
RW
5030 (synopsis "Web browser for GNOME")
5031 (description
5032 "Eolie is a new web browser for GNOME. It features Firefox sync support,
5033a secret password store, an adblocker, and a modern UI.")
5034 (license license:gpl3+)))
5035
7549f984
SB
5036(define-public epiphany
5037 (package
5038 (name "epiphany")
60680365 5039 (version "3.32.5")
7549f984
SB
5040 (source (origin
5041 (method url-fetch)
dd3266ec 5042 (uri (string-append "mirror://gnome/sources/epiphany/"
7549f984 5043 (version-major+minor version) "/"
dd3266ec 5044 "epiphany-" version ".tar.xz"))
7549f984
SB
5045 (sha256
5046 (base32
60680365 5047 "1hj4yy53fwh96h17cqiw3gxc070vmc7yqwc7phvhnpyinkp9g5my"))))
fc5c5b92
R
5048
5049 (build-system meson-build-system)
7549f984
SB
5050 (arguments
5051 ;; FIXME: tests run under Xvfb, but fail with:
5052 ;; /src/bookmarks/ephy-bookmarks/create:
5053 ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf
5054 ;; subsystem
5055 ;; FAIL
6f48d9db 5056 '(#:tests? #f
e19f9c24 5057 #:glib-or-gtk? #t
bb7ff88f
EF
5058 #:phases
5059 (modify-phases %standard-phases
5060 (add-after 'unpack 'skip-gtk-update-icon-cache
5061 ;; Don't create 'icon-theme.cache'.
5062 (lambda _
5063 (substitute* "post_install.py"
5064 (("gtk-update-icon-cache") "true"))
5065 #t)))
e19f9c24
LF
5066 #:configure-flags
5067 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
5068 (list (string-append "-Dc_link_args=-Wl,-rpath="
5069 (assoc-ref %outputs "out") "/lib/epiphany"))))
80a747c4
SB
5070 (propagated-inputs
5071 `(("dconf" ,dconf)))
7549f984 5072 (native-inputs
fc5c5b92
R
5073 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5074 ("glib:bin" ,glib "bin") ; for glib-mkenums
fc5c5b92 5075 ("intltool" ,intltool)
7549f984 5076 ("itstool" ,itstool)
bcb354ad
SB
5077 ("pkg-config" ,pkg-config)
5078 ("xmllint" ,libxml2)))
7549f984
SB
5079 (inputs
5080 `(("avahi" ,avahi)
5081 ("gcr" ,gcr)
fc5c5b92 5082 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
7549f984
SB
5083 ("glib-networking" ,glib-networking)
5084 ("gnome-desktop" ,gnome-desktop)
5085 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
eb6f315b 5086 ("json-glib" ,json-glib)
7549f984 5087 ("iso-codes" ,iso-codes)
8748e29c 5088 ("libdazzle" ,libdazzle)
7549f984
SB
5089 ("libnotify" ,libnotify)
5090 ("libsecret" ,libsecret)
7549f984 5091 ("libxslt" ,libxslt)
fc5c5b92 5092 ("nettle" ,nettle) ; for hogweed
7549f984 5093 ("sqlite" ,sqlite)
f85ca6ed 5094 ("webkitgtk" ,webkitgtk)))
7549f984
SB
5095 (home-page "https://wiki.gnome.org/Apps/Web")
5096 (synopsis "GNOME web browser")
5097 (description
5098 "Epiphany is a GNOME web browser targeted at non-technical users. Its
5099principles are simplicity and standards compliance.")
5100 (license license:gpl2+)))
a3856b2c
SB
5101
5102(define-public d-feet
5103 (package
5104 (name "d-feet")
458e9221 5105 (version "0.3.14")
a3856b2c
SB
5106 (source (origin
5107 (method url-fetch)
5108 (uri (string-append "mirror://gnome/sources/" name "/"
5109 (version-major+minor version) "/"
5110 name "-" version ".tar.xz"))
5111 (sha256
5112 (base32
458e9221 5113 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
a3856b2c
SB
5114 (build-system glib-or-gtk-build-system)
5115 (arguments
5116 '(#:out-of-source? #f ; tests need to run in the source directory.
5117 #:phases
5118 (modify-phases %standard-phases
5119 (add-before
5120 'check 'pre-check
86aff791 5121 (lambda _
a3856b2c
SB
5122 ;; The test suite requires a running X server.
5123 (system "Xvfb :1 &")
5124 (setenv "DISPLAY" ":1")
5125 ;; Don't fail on missing '/etc/machine-id'.
5126 (setenv "DBUS_FATAL_WARNINGS" "0")
5127 ;; tests.py and window.py don't meet E402:
5128 ;; E402 module level import not at top of file
5129 (substitute* "src/tests/Makefile"
86aff791
MW
5130 (("--ignore=E123") "--ignore=E123,E402"))
5131 #t))
a3856b2c
SB
5132 (add-after
5133 'install 'wrap-program
5134 (lambda* (#:key outputs #:allow-other-keys)
5135 (let ((prog (string-append (assoc-ref outputs "out")
5136 "/bin/d-feet")))
5137 (wrap-program prog
5138 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
86aff791
MW
5139 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
5140 #t))))))
a3856b2c
SB
5141 (native-inputs
5142 `(("intltool" ,intltool)
5143 ("itstool" ,itstool)
5144 ("pkg-config" ,pkg-config)
5145 ("python-pep8" ,python-pep8)
5146 ("xmllint" ,libxml2)
ff337525 5147 ("xorg-server" ,xorg-server-for-tests)))
a3856b2c
SB
5148 (inputs
5149 `(("gobject-introspection" ,gobject-introspection)
5150 ("gtk+" ,gtk+)
5151 ("python" ,python-wrapper)
458e9221 5152 ("hicolor-icon-theme" ,hicolor-icon-theme)
a3856b2c
SB
5153 ("python-pygobject" ,python-pygobject)))
5154 (home-page "https://wiki.gnome.org/Apps/DFeet")
5155 (synopsis "D-Bus debugger")
5156 (description
5157 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
5158of running programs and invoke methods on those interfaces.")
5159 (license license:gpl2+)))
c3b97bd9
SB
5160
5161(define-public yelp-xsl
5162 (package
5163 (name "yelp-xsl")
b3640e79 5164 (version "3.32.1")
c3b97bd9
SB
5165 (source (origin
5166 (method url-fetch)
5167 (uri (string-append "mirror://gnome/sources/" name "/"
5168 (version-major+minor version) "/"
5169 name "-" version ".tar.xz"))
5170 (sha256
5171 (base32
b3640e79 5172 "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya"))))
c3b97bd9
SB
5173 (build-system gnu-build-system)
5174 (native-inputs
5175 `(("intltool" ,intltool)
5176 ("itstool" ,itstool)
5177 ("xmllint" ,libxml2)))
5178 (home-page "https://wiki.gnome.org/Apps/Yelp")
5179 (synopsis "XSL stylesheets for Yelp")
5180 (description
5181 "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser
5182to format Docbook and Mallard documents.")
5183 (license license:gpl2+)))
de3d612a
SB
5184
5185(define-public yelp
5186 (package
5187 (name "yelp")
1f1b6d60 5188 (version "3.32.2")
de3d612a
SB
5189 (source (origin
5190 (method url-fetch)
5191 (uri (string-append "mirror://gnome/sources/" name "/"
5192 (version-major+minor version) "/"
5193 name "-" version ".tar.xz"))
5194 (sha256
5195 (base32
1f1b6d60 5196 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
de3d612a
SB
5197 (build-system glib-or-gtk-build-system)
5198 (native-inputs
5199 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
5200 ("intltool" ,intltool)
5201 ("itstool" ,itstool)
5202 ("pkg-config" ,pkg-config)))
5203 (propagated-inputs
5204 `(("dconf" ,dconf)))
5205 (inputs
ad1b7d8b
SB
5206 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5207 ("libxslt" ,libxslt)
de3d612a 5208 ("sqlite" ,sqlite)
4c28ca1d
SB
5209 ("webkitgtk" ,webkitgtk)
5210 ("yelp-xsl" ,yelp-xsl)))
de3d612a
SB
5211 (home-page "https://wiki.gnome.org/Apps/Yelp")
5212 (synopsis "GNOME help browser")
5213 (description
5214 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
5215man, info, and HTML documents. It can locate documents according to the
5216freedesktop.org help system specification.")
5217 (license license:gpl2+)))
122d0d10
SB
5218
5219(define-public yelp-tools
5220 (package
5221 (name "yelp-tools")
2089bca5 5222 (version "3.28.0")
122d0d10
SB
5223 (source (origin
5224 (method url-fetch)
5225 (uri (string-append "mirror://gnome/sources/" name "/"
5226 (version-major+minor version) "/"
5227 name "-" version ".tar.xz"))
5228 (sha256
5229 (base32
2089bca5 5230 "1b61dmlb1sd50fgq6zgnkcpx2s1py33q0x9cx67fzpsr4gmgxnw2"))))
122d0d10
SB
5231 (build-system gnu-build-system)
5232 (native-inputs
5233 `(("pkg-config" ,pkg-config)))
5234 (propagated-inputs
5235 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
5236 `(("itstool" ,itstool)
5237 ("xmllint" ,libxml2)
5238 ("xsltproc" ,libxslt)))
5239 (inputs
5240 `(("yelp-xsl" ,yelp-xsl)))
5241 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
5242 (synopsis "Yelp documentation tools")
5243 (description
5244 "Yelp-tools is a collection of scripts and build utilities to help create,
5245manage, and publish documentation for Yelp and the web. Most of the heavy
5246lifting is done by packages like yelp-xsl and itstool. This package just
5247wraps things up in a developer-friendly way.")
5248 (license license:gpl2+)))
af8f9f23 5249
4ed041d9
MB
5250(define-public yelp-tools/fixed
5251 ;; This variant fixes a python-libxml2 crash when processing UTF-8
5252 ;; sequences: <https://bugs.gnu.org/37468>. TODO: Remove this in
5253 ;; the next rebuild cycle.
5254 (hidden-package
5255 (package/inherit
5256 yelp-tools
5257 (propagated-inputs
5258 `(("itstool" ,itstool/fixed)
5259 ,@(alist-delete "itstool" (package-propagated-inputs yelp-tools)))))))
5260
af8f9f23
RW
5261(define-public libgee
5262 (package
5263 (name "libgee")
4c2c5ae6 5264 (version "0.20.2")
af8f9f23
RW
5265 (source (origin
5266 (method url-fetch)
84a1b007 5267 (uri (string-append "mirror://gnome/sources/libgee/"
af8f9f23 5268 (version-major+minor version) "/"
84a1b007 5269 "libgee-" version ".tar.xz"))
af8f9f23
RW
5270 (sha256
5271 (base32
4c2c5ae6 5272 "0g1mhl7nidg82v4cikkk8dakzc18hg7wv0dsf2pbyijzfm5mq0wy"))))
af8f9f23
RW
5273 (build-system gnu-build-system)
5274 (arguments
5275 `(#:phases
5276 (modify-phases %standard-phases
5277 (add-after 'unpack 'fix-introspection-install-dir
5278 (lambda* (#:key outputs #:allow-other-keys)
5279 (let ((out (assoc-ref outputs "out")))
5280 (substitute* "gee/Makefile.in"
5281 (("@INTROSPECTION_GIRDIR@")
5282 (string-append out "/share/gir-1.0/"))
5283 (("@INTROSPECTION_TYPELIBDIR@")
5284 (string-append out "/lib/girepository-1.0/")))))))))
5285 (native-inputs
5286 `(("glib" ,glib "bin")
5287 ("pkg-config" ,pkg-config)))
5288 (inputs
5289 `(("glib" ,glib)
5290 ("gobject-introspection" ,gobject-introspection)))
5291 (home-page "https://wiki.gnome.org/Projects/Libgee")
5292 (synopsis "GObject collection library")
5293 (description
5294 "Libgee is a utility library providing GObject-based interfaces and
5295classes for commonly used data structures.")
5296 (license license:lgpl2.1+)))
b0f9c4b8
RW
5297
5298(define-public gexiv2
5299 (package
5300 (name "gexiv2")
b1a8b408 5301 (version "0.12.0")
b0f9c4b8
RW
5302 (source (origin
5303 (method url-fetch)
5304 (uri (string-append "mirror://gnome/sources/" name "/"
5305 (version-major+minor version) "/"
5306 name "-" version ".tar.xz"))
5307 (sha256
5308 (base32
b1a8b408 5309 "0slj5yj8c90l9pp5i3z74x5r3r4da0xfmbzkfq5k0dkg72q3kxaq"))))
51c482e4 5310 (build-system meson-build-system)
b0f9c4b8 5311 (native-inputs
b1a8b408
KK
5312 `(("gcr" ,gcr)
5313 ("glib" ,glib "bin")
5314 ("pkg-config" ,pkg-config)
5315 ("vala" ,vala)))
b0f9c4b8
RW
5316 (propagated-inputs
5317 ;; Listed in "Requires" section of gexiv2.pc
5318 `(("exiv2" ,exiv2)))
5319 (inputs
5320 `(("glib" ,glib)
5321 ("gobject-introspection" ,gobject-introspection)))
5322 (home-page "https://wiki.gnome.org/Projects/gexiv2")
5323 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
5324 (description
5325 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
5326allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
5327metadata in photo and video files of various formats.")
5328 (license license:gpl2+)))
fed5a689
RW
5329
5330(define-public shotwell
5331 (package
5332 (name "shotwell")
a1c6fb52 5333 (version "0.30.7")
fed5a689
RW
5334 (source (origin
5335 (method url-fetch)
5497d682 5336 (uri (string-append "mirror://gnome/sources/shotwell/"
fed5a689 5337 (version-major+minor version) "/"
5497d682 5338 "shotwell-" version ".tar.xz"))
fed5a689
RW
5339 (sha256
5340 (base32
a1c6fb52 5341 "1m9i8r4gyd2hzlxjjwfyck4kz7gdg2vz2k6l6d0ga9hdfq2l4p9l"))))
3b79afa6
KK
5342 (build-system meson-build-system)
5343 (arguments
5a0beca3
EF
5344 '(#:glib-or-gtk? #t
5345 #:phases
5346 (modify-phases %standard-phases
5347 (add-after 'unpack 'skip-gtk-update-icon-cache
5348 (lambda _
5349 (substitute* "build-aux/meson/postinstall.py"
5350 (("gtk-update-icon-cache") (which "true"))
5351 (("update-desktop-database") (which "true")))
5352 #t)))))
735b8db6
TGR
5353 (propagated-inputs
5354 `(("dconf" ,dconf)))
fed5a689 5355 (native-inputs
5a0beca3
EF
5356 `(("gettext" ,gettext-minimal)
5357 ("glib:bin" ,glib "bin")
735b8db6 5358 ("itstool" ,itstool)
3b79afa6 5359 ("pkg-config" ,pkg-config)
735b8db6 5360 ("vala" ,vala)))
fed5a689 5361 (inputs
5a0beca3
EF
5362 `(("gcr" ,gcr)
5363 ("gexiv2" ,gexiv2)
fed5a689 5364 ("gst-plugins-base" ,gst-plugins-base)
5a0beca3
EF
5365 ("gstreamer" ,gstreamer)
5366 ("json-glib" ,json-glib)
dfb0323d 5367 ("libgdata" ,libgdata)
fed5a689 5368 ("libgee" ,libgee)
5a0beca3
EF
5369 ("libgphoto2" ,libgphoto2)
5370 ("libgudev" ,libgudev)
fed5a689 5371 ("libraw" ,libraw)
fed5a689
RW
5372 ("libsoup" ,libsoup)
5373 ("libxml2" ,libxml2)
5a0beca3
EF
5374 ("sqlite" ,sqlite)
5375 ("webkitgtk" ,webkitgtk)))
fed5a689
RW
5376 (home-page "https://wiki.gnome.org/Apps/Shotwell")
5377 (synopsis "Photo manager for GNOME 3")
5378 (description
5379 "Shotwell is a digital photo manager designed for the GNOME desktop
5380environment. It allows you to import photos from disk or camera, organize
5381them by keywords and events, view them in full-window or fullscreen mode, and
5382share them with others via social networking and more.")
5383 (license license:lgpl2.1+)))
293ff8b2
DT
5384
5385(define-public file-roller
5386 (package
5387 (name "file-roller")
dcae4270 5388 (version "3.32.3")
293ff8b2
DT
5389 (source (origin
5390 (method url-fetch)
f89a27c6 5391 (uri (string-append "mirror://gnome/sources/file-roller/"
293ff8b2 5392 (version-major+minor version) "/"
f89a27c6 5393 "file-roller-" version ".tar.xz"))
293ff8b2
DT
5394 (sha256
5395 (base32
dcae4270 5396 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
0a500745 5397 (build-system meson-build-system)
293ff8b2 5398 (native-inputs
0a500745
RW
5399 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5400 ("intltool" ,intltool)
4c96e5d1 5401 ("itstool" ,itstool)
0a500745
RW
5402 ("pkg-config" ,pkg-config)
5403 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
5404 ("glib:bin" ,glib "bin")))
293ff8b2
DT
5405 ;; TODO: Add libnautilus.
5406 (inputs
5407 `(("gtk+" ,gtk+)
5408 ("gdk-pixbuf" ,gdk-pixbuf)
5409 ("json-glib" ,json-glib)
5410 ("libarchive" ,libarchive)
5411 ("libnotify" ,libnotify)
4c96e5d1 5412 ("nettle" ,nettle)
293ff8b2
DT
5413 ("libxml2" ,libxml2)))
5414 (synopsis "Graphical archive manager for GNOME")
5415 (description "File Roller is an archive manager for the GNOME desktop
5416environment that allows users to view, unpack, and create compressed archives
5417such as gzip tarballs.")
5418 (home-page "http://fileroller.sourceforge.net/")
5419 (license license:gpl2+)))
7ce49365
SB
5420
5421(define-public gnome-session
5422 (package
5423 (name "gnome-session")
1fc2ec79 5424 (version "3.32.0")
7ce49365
SB
5425 (source (origin
5426 (method url-fetch)
5427 (uri (string-append "mirror://gnome/sources/" name "/"
5428 (version-major+minor version) "/"
5429 name "-" version ".tar.xz"))
5430 (sha256
5431 (base32
1fc2ec79 5432 "0zrzkpd406i159mla7bfs5npa32fgqh66aip1rfq02rgsgmc9m5v"))))
2914af3c 5433 (arguments
df278071
RW
5434 '(#:glib-or-gtk? #t
5435 #:phases
2914af3c
AW
5436 (modify-phases %standard-phases
5437 (add-before 'configure 'pre-configure
5438 (lambda* (#:key outputs #:allow-other-keys)
5439 ;; Use elogind instead of systemd.
df278071
RW
5440 (substitute* "meson.build"
5441 (("libsystemd-login") "libelogind")
5442 (("and libsystemd_daemon_dep.found.*") ","))
2914af3c
AW
5443 (substitute* "gnome-session/gsm-systemd.c"
5444 (("#include <systemd/sd-login.h>")
5445 "#include <elogind/sd-login.h>"))
df278071 5446 ;; Remove uses of the systemd daemon.
803ab416
SB
5447 (substitute* "gnome-session/gsm-autostart-app.c"
5448 (("#ifdef HAVE_SYSTEMD") "#if 0"))
a0d7baaf
LC
5449 #t))
5450 (add-after 'install 'wrap-gnome-session
5451 (lambda* (#:key inputs outputs #:allow-other-keys)
5452 ;; Make sure 'gnome-session' finds the 'gsettings' program.
5453 (let ((glib (assoc-ref inputs "glib:bin"))
5454 (out (assoc-ref outputs "out")))
5455 (wrap-program (string-append out "/bin/gnome-session")
5456 `("PATH" ":" prefix (,(string-append glib "/bin"))))
5457 #t))))
6cbc8d57 5458
2914af3c 5459 #:configure-flags
df278071
RW
5460 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
5461 "-Dman=false" ; FIXME: disabled because of docbook validation error
5462 "-Dsystemd_journal=false")))
5463 (build-system meson-build-system)
7ce49365
SB
5464 (native-inputs
5465 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5466 ("pkg-config" ,pkg-config)
5467 ("intltool" ,intltool)
df278071
RW
5468 ("xsltproc" ,libxslt)
5469 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5470 ("docbook-xsl" ,docbook-xsl)
5471 ("docbook-xml" ,docbook-xml)
5472 ("xmlto" ,xmlto)))
7ce49365 5473 (inputs
2914af3c
AW
5474 `(("elogind" ,elogind)
5475 ("gnome-desktop" ,gnome-desktop)
ba3cb5ab 5476 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7ce49365
SB
5477 ("gtk+" ,gtk+)
5478 ("json-glib" ,json-glib)
5479 ("libsm" ,libsm)
5480 ("libxcomposite" ,libxcomposite)
5481 ("libxtst" ,libxtst)
5482 ("mesa" ,mesa)
5483 ("upower" ,upower)
5484 ("xtrans" ,xtrans)))
5485 (synopsis "Session manager for GNOME")
5486 (description
5487 "This package contains the GNOME session manager, as well as a
5488configuration program to choose applications starting on login.")
5489 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
5490 (license license:gpl2+)))
f47ba77e
SB
5491
5492(define-public gjs
5493 (package
5494 (name "gjs")
d054fbf5 5495 (version "1.56.2")
f47ba77e
SB
5496 (source (origin
5497 (method url-fetch)
5498 (uri (string-append "mirror://gnome/sources/" name "/"
5499 (version-major+minor version) "/"
5500 name "-" version ".tar.xz"))
5501 (sha256
5502 (base32
d054fbf5 5503 "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
f47ba77e
SB
5504 (build-system gnu-build-system)
5505 (arguments
5506 '(#:phases
5507 (modify-phases %standard-phases
5508 (add-before
5509 'check 'pre-check
5510 (lambda _
fc119619
MW
5511 ;; The test suite requires a running X server.
5512 (system "Xvfb :1 &")
5513 (setenv "DISPLAY" ":1")
5514
f47ba77e
SB
5515 ;; For the missing /etc/machine-id.
5516 (setenv "DBUS_FATAL_WARNINGS" "0")
ba666b07 5517
144f94d0
KK
5518 ;; Our mozjs-38 package does not compile the required Intl API
5519 ;; support for these failing tests.
5520 (substitute* "installed-tests/js/testLocale.js"
5521 ((".*toBeDefined.*") "")
5522 ((".*expect\\(datestr\\).*") ""))
d054fbf5
KK
5523 (substitute* "installed-tests/scripts/testCommandLine.sh"
5524 (("Valentín") "")
5525 (("☭") ""))
f47ba77e
SB
5526 #t)))))
5527 (native-inputs
8a831c6f 5528 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
f47ba77e
SB
5529 ("pkg-config" ,pkg-config)
5530 ("xmllint" ,libxml2)
5531 ;; For testing
5532 ("dbus-launch" ,dbus)
5533 ("uuidgen" ,util-linux)
ebebee94 5534 ("xvfb" ,xorg-server-for-tests)))
f47ba77e
SB
5535 (propagated-inputs
5536 ;; These are all in the Requires.private field of gjs-1.0.pc.
144f94d0
KK
5537 `(("cairo" ,cairo)
5538 ("gobject-introspection" ,gobject-introspection)
d054fbf5 5539 ("mozjs" ,mozjs-60)))
f47ba77e
SB
5540 (inputs
5541 `(("gtk+" ,gtk+)
5542 ("readline" ,readline)))
5543 (synopsis "Javascript bindings for GNOME")
f032d0be 5544 (home-page "https://live.gnome.org/Gjs")
f47ba77e
SB
5545 (description
5546 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
5547javascript engine and the GObject introspection framework.")
5548 (license license:gpl2+)))
329d731b
DH
5549
5550(define-public gedit
5551 (package
5552 (name "gedit")
480c9226 5553 (version "3.32.2")
329d731b
DH
5554 (source (origin
5555 (method url-fetch)
5556 (uri (string-append "mirror://gnome/sources/" name "/"
5557 (version-major+minor version) "/"
5558 name "-" version ".tar.xz"))
5559 (sha256
5560 (base32
480c9226
KK
5561 "1q2rk7fym542c7k3bn2wlnzgy384gxacbifsjny0spbg95gfybvl"))))
5562 (build-system meson-build-system)
329d731b 5563 (arguments
480c9226
KK
5564 `(#:glib-or-gtk? #t
5565 #:configure-flags
5566 ;; Otherwise, the RUNPATH will lack the final path component.
5567 (list (string-append "-Dc_link_args=-Wl,-rpath="
5568 (assoc-ref %outputs "out") "/lib/gedit"))
d9b4022c
LC
5569
5570 ;; XXX: Generated .h files are sometimes used before being built.
5571 #:parallel-build? #f
5572
480c9226 5573 #:phases
329d731b 5574 (modify-phases %standard-phases
480c9226
KK
5575 (add-after 'unpack 'skip-gtk-update-icon-cache
5576 ;; Don't create 'icon-theme.cache'.
5577 (lambda _
5578 (substitute* "build-aux/meson/post_install.py"
5579 (("gtk-update-icon-cache") (which "true")))
5580 #t))
5581 (add-after 'unpack 'patch-libgd-fetch
5582 (lambda* (#:key inputs #:allow-other-keys)
5583 (let ((libgd (assoc-ref inputs "libgd")))
5584 ;; Calling git is unnecessary because libgd is fetched as a
5585 ;; native input to this package.
5586 (substitute* "meson.build"
5587 ((".*git.*") ""))
5588 (copy-recursively libgd "subprojects/libgd")
5589 #t)))
5590 (add-after 'install 'wrap-gedit
5591 (lambda* (#:key inputs outputs #:allow-other-keys)
5592 (let ((out (assoc-ref outputs "out"))
5593 (gtksourceview (assoc-ref inputs "gtksourceview"))
5594 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
5595 (python-path (getenv "PYTHONPATH")))
5596 (wrap-program (string-append out "/bin/gedit")
5597 ;; For plugins.
5598 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
5599 `("PYTHONPATH" ":" prefix (,python-path))
5600 ;; For language-specs.
5601 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
5602 "/share")))))
5603 #t)))))
329d731b
DH
5604 (propagated-inputs
5605 `(("dconf" ,dconf)))
5606 (native-inputs
480c9226
KK
5607 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
5608 ("intltool" ,intltool)
b3546174 5609 ("itstool" ,itstool)
480c9226 5610 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
329d731b 5611 ("gobject-introspection" ,gobject-introspection)
480c9226
KK
5612 ("libgd"
5613 ,(origin
5614 (method git-fetch)
5615 (uri (git-reference
5616 (url "https://gitlab.gnome.org/GNOME/libgd")
5617 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
5618 (file-name (git-file-name "libgd" version))
5619 (sha256
5620 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
329d731b
DH
5621 ("pkg-config" ,pkg-config)))
5622 (inputs
5623 `(("glib" ,glib)
0d2df50c 5624 ("gspell" ,gspell)
329d731b 5625 ("gtk+" ,gtk+)
480c9226 5626 ("gtksourceview" ,gtksourceview)
329d731b
DH
5627 ("libpeas" ,libpeas)
5628 ("libxml2" ,libxml2)
329d731b
DH
5629 ("iso-codes" ,iso-codes)
5630 ("python-pygobject" ,python-pygobject)
5631 ("python" ,python)
5632 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5633 ("libx11" ,libx11)
5634 ("vala" ,vala)
5635 ("adwaita-icon-theme" ,adwaita-icon-theme)
5636 ("libsoup" ,libsoup)
5637 ("gnome-desktop" ,gnome-desktop)))
5638 (home-page "https://wiki.gnome.org/Apps/Gedit")
5639 (synopsis "GNOME text editor")
5640 (description "While aiming at simplicity and ease of use, gedit is a
5641powerful general purpose text editor.")
5642 (license license:gpl2+)))
b7179363
SB
5643
5644(define-public zenity
5645 (package
5646 (name "zenity")
4f581bd0 5647 (version "3.32.0")
b7179363
SB
5648 (source (origin
5649 (method url-fetch)
5958df04 5650 (uri (string-append "mirror://gnome/sources/zenity/"
b7179363 5651 (version-major+minor version) "/"
5958df04 5652 "zenity-" version ".tar.xz"))
b7179363
SB
5653 (sha256
5654 (base32
4f581bd0 5655 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
b7179363
SB
5656 (build-system gnu-build-system)
5657 (native-inputs
b94a6ca0 5658 `(("gettext" ,gettext-minimal)
b7179363
SB
5659 ("itstool" ,itstool)
5660 ("pkg-config" ,pkg-config)))
5661 (inputs
5662 `(("libnotify" ,libnotify)
5663 ("webkitgtk" ,webkitgtk)))
5664 (synopsis "Display graphical dialog boxes from shell scripts")
f032d0be 5665 (home-page "https://www.gnome.org")
b7179363
SB
5666 (description
5667 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
5668to display dialog boxes from the commandline and shell scripts.")
5669 (license license:lgpl2.0+)))
60c3627c
SB
5670
5671(define-public mutter
5672 (package
5673 (name "mutter")
edf43f68 5674 (version "3.32.2")
60c3627c 5675 (source (origin
86c44e72
KK
5676 (method url-fetch)
5677 (uri (string-append "mirror://gnome/sources/" name "/"
5678 (version-major+minor version) "/"
5679 name "-" version ".tar.xz"))
60c3627c
SB
5680 (sha256
5681 (base32
edf43f68 5682 "1h577i2ap7dpfy1jg101jvc6nzccc0csgvd55ahydlr8f94frcva"))))
86c44e72
KK
5683 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
5684 ;; versions of cogl and clutter. As a result, many of the inputs,
5685 ;; propagated-inputs, and configure flags used in cogl and clutter are
5686 ;; needed here as well.
edf43f68 5687 (build-system meson-build-system)
60c3627c 5688 (arguments
edf43f68
KK
5689 '(;; XXX: All mutter tests fail with the following error:
5690 ;; Settings schema 'org.gnome.mutter' is not installed
5691 #:tests? #f
5692 #:glib-or-gtk? #t
5693 #:configure-flags
5694 ;; Otherwise, the RUNPATH will lack the final path component.
5695 (list (string-append "-Dc_link_args=-Wl,-rpath="
5696 (assoc-ref %outputs "out") "/lib:"
5697 (assoc-ref %outputs "out") "/lib/mutter-4")
a88d5a0c
MW
5698
5699 ;; The following flags are needed for the bundled clutter
edf43f68 5700 (string-append "-Dxwayland_path="
d633f2f6
RH
5701 (assoc-ref %build-inputs "xorg-server-xwayland")
5702 "/bin/Xwayland")
5703
a88d5a0c 5704 ;; the remaining flags are needed for the bundled cogl
edf43f68 5705 (string-append "-Dopengl_libname="
a88d5a0c 5706 (assoc-ref %build-inputs "mesa")
f23052a6
DC
5707 "/lib/libGL.so"))
5708 #:phases
5709 (modify-phases %standard-phases
edf43f68
KK
5710 (add-after 'unpack 'disable-werror
5711 (lambda _
5712 ;; XXX: build fails with [-Werror]:
5713 ;; backends/meta-cursor-renderer.c:112:5: error:
5714 ;; implicit declaration of function ?roundf?
5715 (substitute* "meson.build"
5716 (("'-Werror=.*',") ""))
5717 #t))
86c44e72
KK
5718 ;; Replace references to systemd libraries to elogind references.
5719 (add-before 'configure 'use-elogind
5720 (lambda _
edf43f68 5721 (substitute* (list "meson.build"
86c44e72
KK
5722 "src/backends/native/meta-launcher.c"
5723 "src/core/main.c")
5724 (("systemd") "elogind"))
5725 #t)))))
60c3627c
SB
5726 (native-inputs
5727 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5728 ("gobject-introspection" ,gobject-introspection)
5729 ("intltool" ,intltool)
f23052a6 5730 ("pkg-config" ,pkg-config)
edf43f68 5731 ("xorg-server" ,xorg-server-for-tests)
f23052a6
DC
5732 ;; For git build
5733 ("autoconf" ,autoconf)
5734 ("automake" ,automake)
5735 ("libtool" ,libtool)))
60c3627c 5736 (propagated-inputs
a88d5a0c
MW
5737 `(;; libmutter.pc refers to these:
5738 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5739 ("gtk+" ,gtk+)
5740 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
5741 ("atk" ,atk)
5742 ("cairo" ,cairo)
5743 ("gdk-pixbuf" ,gdk-pixbuf)
5744 ("glib" ,glib)
a88d5a0c
MW
5745 ("json-glib" ,json-glib)
5746 ("libinput" ,libinput)
5747 ("libx11" ,libx11)
5748 ("libxcomposite" ,libxcomposite)
5749 ("libxdamage" ,libxdamage)
5750 ("libxext" ,libxext)
5751 ("libxfixes" ,libxfixes)
5752 ("libxkbcommon" ,libxkbcommon)
5753 ("libxrandr" ,libxrandr)
5754 ("mesa" ,mesa)
5755 ("pango" ,pango)
5756 ("udev" ,eudev)
a88d5a0c 5757 ("xinput" ,xinput)))
60c3627c 5758 (inputs
86c44e72
KK
5759 `(("elogind" ,elogind)
5760 ("gnome-desktop" ,gnome-desktop)
edf43f68 5761 ("gnome-settings-daemon" ,gnome-settings-daemon)
60c3627c 5762 ("libcanberra-gtk" ,libcanberra)
a88d5a0c 5763 ("libgudev" ,libgudev)
60c3627c
SB
5764 ("libice" ,libice)
5765 ("libsm" ,libsm)
edf43f68 5766 ("libwacom" ,libwacom)
60c3627c 5767 ("libxkbfile" ,libxkbfile)
a88d5a0c 5768 ("libxrandr" ,libxrandr)
86c44e72 5769 ("libxtst" ,libxtst)
edf43f68 5770 ("pipewire" ,pipewire)
60c3627c
SB
5771 ("startup-notification" ,startup-notification)
5772 ("upower-glib" ,upower)
5773 ("xkeyboard-config" ,xkeyboard-config)
d633f2f6 5774 ("xorg-server-xwayland" ,xorg-server-xwayland)
60c3627c
SB
5775 ("zenity" ,zenity)))
5776 (synopsis "Window and compositing manager")
f032d0be 5777 (home-page "https://www.gnome.org")
60c3627c
SB
5778 (description
5779 "Mutter is a window and compositing manager that displays and manages your
5780desktop via OpenGL. Mutter combines a sophisticated display engine using the
5781Clutter toolkit with solid window-management logic inherited from the Metacity
5782window manager.")
86c44e72 5783 (license license:gpl2+)))
685cee87
SB
5784
5785(define-public gnome-online-accounts
5786 (package
5787 (name "gnome-online-accounts")
aa200347 5788 (version "3.32.1")
685cee87
SB
5789 (source (origin
5790 (method url-fetch)
5791 (uri (string-append "mirror://gnome/sources/" name "/"
5792 (version-major+minor version) "/"
5793 name "-" version ".tar.xz"))
5794 (sha256
5795 (base32
aa200347 5796 "08g9kdj8fzcgp76z2zsj9m7wfjks9z6xfrfrbfmcr69k40mapfx8"))))
14c297fd 5797 (outputs '("out" "lib"))
685cee87 5798 (build-system glib-or-gtk-build-system)
14c297fd
TS
5799 (arguments
5800 `(#:configure-flags
5801 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
5802 #:phases
5803 (modify-phases %standard-phases
5804 (add-before 'configure 'patch-libgoa-output
5805 (lambda* (#:key outputs #:allow-other-keys)
5806 (let ((lib (assoc-ref outputs "lib")))
5807 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
5808 (("@prefix@") lib)
5809 (("@exec_prefix@") lib)
5810 (("@libdir@") (string-append lib "/lib"))
5811 (("@includedir@") (string-append lib "/include"))
5812 (("@datadir@") (string-append lib "/share")))
7555d539
MB
5813 ;; Make sure gobject-introspection knows about the output
5814 ;; too (see <https://bugs.gnu.org/36535>).
5815 (setenv "outputs" "out lib")
14c297fd 5816 #t))))))
685cee87
SB
5817 (native-inputs
5818 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5819 ("gobject-introspection" ,gobject-introspection)
5820 ("intltool" ,intltool)
5821 ("pkg-config" ,pkg-config)
ebb2873d 5822 ("vala" ,vala)
685cee87
SB
5823 ("xsltproc" ,libxslt)))
5824 (propagated-inputs
5825 `(("glib" ,glib) ; required by goa-1.0.pc
5826 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
5827 (inputs
5828 `(("docbook-xsl" ,docbook-xsl)
5829 ("json-glib" ,json-glib)
5830 ("libsecret" ,libsecret)
5831 ("rest" ,rest)
685cee87
SB
5832 ("webkitgtk" ,webkitgtk)))
5833 (synopsis "Single sign-on framework for GNOME")
5834 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
5835 (description
5836 "GNOME Online Accounts provides interfaces so that applications and
5837libraries in GNOME can access the user's online accounts. It has providers for
5838Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
5839Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
5840 (license license:lgpl2.0+)))
df217748
SB
5841
5842(define-public evolution-data-server
5843 (package
5844 (name "evolution-data-server")
2196a8d4 5845 (version "3.32.4")
df217748
SB
5846 (source (origin
5847 (method url-fetch)
5848 (uri (string-append "mirror://gnome/sources/" name "/"
5849 (version-major+minor version) "/"
5850 name "-" version ".tar.xz"))
e1f174ae 5851 (patches (search-patches "evolution-data-server-locales.patch"))
df217748
SB
5852 (sha256
5853 (base32
2196a8d4 5854 "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3"))))
743aebd7 5855 (build-system cmake-build-system)
df217748 5856 (arguments
b468eedc
RW
5857 '(#:configure-flags
5858 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
5859 (runpaths (map (lambda (s)
5860 (string-append lib "/evolution-data-server/" s))
ac033c7b
MB
5861 '("addressbook-backends" "calendar-backends"
5862 "camel-providers" "credential-modules"
5863 "registry-modules"))))
5864 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
5865 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
5866 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
5867 "-DENABLE_VALA_BINDINGS=ON"
ac033c7b
MB
5868 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
5869 (string-append lib "/evolution-data-server;")
5870 (string-join runpaths ";"))
5871 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
df217748
SB
5872 #:phases
5873 (modify-phases %standard-phases
b468eedc
RW
5874 (add-after 'unpack 'disable-failing-tests
5875 (lambda _
5876 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
5877 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
5878 (delete-file-recursively "tests/book-migration")
5879 (substitute* "tests/CMakeLists.txt"
5880 (("add_subdirectory\\(book-migration\\)") ""))
2196a8d4
KK
5881 ;; tests/libebook/client/test-book-client-view-operations:8077):
5882 ;; e-data-server-WARNING **:
5883 ;; (src/libedataserver/e-source-registry.c:264):thread_closure_free:
5884 ;; runtime check failed:
5885 ;; (!g_main_context_pending (closure->main_context))
5886 (substitute* "tests/libebook/client/CMakeLists.txt"
5887 (("test-book-client-view-operations") ""))
b468eedc 5888 #t))
743aebd7 5889 (add-after 'unpack 'patch-paths
df217748 5890 (lambda _
b468eedc
RW
5891 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
5892 "tests/libedata-book/data-test-utils.c"
5893 "tests/libedata-book/test-book-cache-utils.c"
5894 "tests/libedata-cal/test-cal-cache-utils.c")
df217748 5895 (("/bin/rm") (which "rm")))
ac033c7b
MB
5896 #t))
5897 (add-before 'configure 'dont-override-rpath
5898 (lambda _
5899 (substitute* "CMakeLists.txt"
5900 ;; CMakeLists.txt hard-codes runpath to just the libdir.
5901 ;; Remove it so the configure flag is respected.
5902 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
b63c06f1 5903 #t)))))
df217748
SB
5904 (native-inputs
5905 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
5906 ("gobject-introspection" ,gobject-introspection)
5907 ("gperf" ,gperf)
5908 ("intltool" ,intltool)
5909 ("pkg-config" ,pkg-config)
a73c1cf8 5910 ("vala" ,vala)
743aebd7 5911 ("python" ,python-wrapper)))
df217748
SB
5912 (propagated-inputs
5913 ;; These are all in the Requires field of .pc files.
5914 `(("gtk+" ,gtk+)
5915 ("libical" ,libical)
5916 ("libsecret" ,libsecret)
5917 ("libsoup" ,libsoup)
5918 ("nss" ,nss)
5919 ("sqlite" ,sqlite)))
5920 (inputs
5921 `(("bdb" ,bdb)
5922 ("gcr" ,gcr)
14c297fd 5923 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
891199c6 5924 ("json-glib" ,json-glib)
b468eedc 5925 ("libcanberra" ,libcanberra)
743aebd7
MB
5926 ("libgweather" ,libgweather)
5927 ("mit-krb5" ,mit-krb5)
891199c6
MW
5928 ("openldap" ,openldap)
5929 ("webkitgtk" ,webkitgtk)))
df217748
SB
5930 (synopsis "Store address books and calendars")
5931 (home-page "https://wiki.gnome.org/Apps/Evolution")
5932 (description
5933 "This package provides a unified backend for programs that work with
5934contacts, tasks, and calendar information. It was originally developed for
5935Evolution (hence the name), but is now used by other packages as well.")
5936 (license license:lgpl2.0)))
bd7dfafa
SB
5937
5938(define-public caribou
5939 (package
5940 (name "caribou")
fe964bb5 5941 (version "0.4.21")
bd7dfafa
SB
5942 (source (origin
5943 (method url-fetch)
5944 (uri (string-append "mirror://gnome/sources/" name "/"
5945 (version-major+minor version) "/"
5946 name "-" version ".tar.xz"))
5947 (sha256
5948 (base32
fe964bb5 5949 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
bd7dfafa
SB
5950 (build-system glib-or-gtk-build-system)
5951 (arguments
5952 '(#:phases
5953 (modify-phases %standard-phases
5954 (add-before
5955 'build 'pre-build
5956 (lambda* (#:key outputs #:allow-other-keys)
5957 (let ((out (assoc-ref outputs "out")))
5958 ;; Use absolute shared library path in Caribou-1.0.typelib.
5959 (substitute* "libcaribou/Makefile"
5960 (("--shared-library=libcaribou.so")
5961 (string-append "--shared-library="
5962 out "/lib/libcaribou.so")))
5963 #t)))
5964 (add-after 'install 'wrap-programs
5965 (lambda* (#:key outputs #:allow-other-keys)
5966 (let* ((out (assoc-ref outputs "out"))
5967 (python-path (getenv "PYTHONPATH"))
5968 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
5969 (for-each
5970 (lambda (prog)
5971 (wrap-program prog
5972 `("PYTHONPATH" ":" prefix (,python-path))
5973 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
5974 (list (string-append out "/bin/caribou-preferences")
5975 (string-append out "/libexec/antler-keyboard"))))
5976 #t)))))
5977 (native-inputs
5978 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5979 ("gobject-introspection" ,gobject-introspection)
5980 ("intltool" ,intltool)
5981 ("pkg-config" ,pkg-config)
5982 ("python" ,python-2) ; incompatible with Python 3 (print syntax)
5983 ("vala" ,vala)
5984 ("xsltproc" ,libxslt)))
5985 (propagated-inputs
5986 ;; caribou-1.0.pc refers to all these.
5987 `(("libgee" ,libgee)
5988 ("libxklavier" ,libxklavier)
5989 ("libxtst" ,libxtst)
5990 ("gtk+" ,gtk+)))
5991 (inputs
5992 `(("clutter" ,clutter)
5993 ("dconf" ,dconf)
5994 ("gtk+-2" ,gtk+-2)
5995 ("python-pygobject" ,python2-pygobject)))
5996 (synopsis "Text entry and UI navigation application")
5997 (home-page "https://wiki.gnome.org/Projects/Caribou")
5998 (description
5999 "Caribou is an input assistive technology intended for switch and pointer
6000users.")
6001 (license license:lgpl2.1)))
ba5dd105 6002
ba5dd105
SB
6003(define-public network-manager
6004 (package
6005 (name "network-manager")
6425d87a 6006 (version "1.18.4")
ba5dd105
SB
6007 (source (origin
6008 (method url-fetch)
6009 (uri (string-append "mirror://gnome/sources/NetworkManager/"
6010 (version-major+minor version) "/"
6011 "NetworkManager-" version ".tar.xz"))
7d1861e2 6012 (patches (search-patches "nm-plugin-path.patch"))
ba5dd105
SB
6013 (sha256
6014 (base32
6425d87a 6015 "0pnh1wr2p1fqa5pr945fr3lngfc5ccfrmgddqsg55lxnjpv0ggd3"))
02710a9b 6016 (modules '((guix build utils)))
fd070f35 6017 (snippet
02710a9b
RW
6018 '(begin
6019 (substitute* "src/devices/wwan/nm-modem-manager.c"
6020 (("systemd") "elogind"))
6021 #t))))
ba5dd105
SB
6022 (build-system gnu-build-system)
6023 (outputs '("out"
6024 "doc")) ; 8 MiB of gtk-doc HTML
6025 (arguments
6026 '(#:configure-flags
6027 (let ((out (assoc-ref %outputs "out"))
6028 (doc (assoc-ref %outputs "doc"))
6029 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
6030 "/sbin/dhclient")))
02710a9b
RW
6031 (list "--with-libnm-glib" ; needed by network-manager-applet
6032 "--with-systemd-journal=no"
6033 "--with-session-tracking=elogind"
6034 "--with-suspend-resume=elogind"
fd070f35
CM
6035 "--with-consolekit=no"
6036 "--with-crypto=gnutls"
ba5dd105
SB
6037 "--disable-config-plugin-ibft"
6038 "--sysconfdir=/etc"
6039 "--localstatedir=/var"
6040 (string-append "--with-udev-dir="
6041 out "/lib/udev")
6042 (string-append "--with-dbus-sys-dir="
6043 out "/etc/dbus-1/system.d")
6044 (string-append "--with-html-dir="
6045 doc "/share/gtk-doc/html")
6046 (string-append "--with-dhclient=" dhclient)))
6047 #:phases
6048 (modify-phases %standard-phases
02710a9b
RW
6049 ;; This bare "ls" invocation breaks some tests.
6050 (add-after 'unpack 'patch-ls-invocation
6051 (lambda _
6052 (substitute* "build-aux/ltmain.sh"
6053 (("`ls -")
6054 (string-append "`" (which "ls") " -")))
6055 #t))
b4f59d87
AW
6056 (add-before 'configure 'pre-configure
6057 (lambda _
6058 ;; These tests try to test aspects of network-manager's
6059 ;; functionality within restricted containers, but they don't
6060 ;; cope with being already in the Guix build jail as that jail
6061 ;; lacks some features that they would like to proxy over (like
6062 ;; a /sys mount).
d04687dc
HG
6063 (substitute* '("Makefile.in")
6064 (("src/platform/tests/test-address-linux") " ")
6065 (("src/platform/tests/test-cleanup-linux") " ")
6066 (("src/platform/tests/test-link-linux") " ")
6067 (("src/platform/tests/test-route-linux") " ")
02710a9b 6068 (("src/devices/tests/test-acd") "")
d04687dc
HG
6069 (("src/devices/tests/test-arping") " ")
6070 (("src/devices/tests/test-lldp") " ")
6071 (("src/tests/test-route-manager-linux") " "))
b4f59d87 6072 #t))
45f80fce
RW
6073 (add-after 'unpack 'delete-failing-tests
6074 (lambda _
02710a9b 6075 ;; FIXME: These three tests fail for unknown reasons.
45f80fce
RW
6076 ;; ERROR:libnm-core/tests/test-general.c:5842:
6077 ;; _json_config_check_valid: assertion failed (res == expected): (1 == 0)
6078 ;; ERROR:libnm-core/tests/test-keyfile.c:647:
6079 ;; test_team_conf_read_invalid: assertion failed: (nm_setting_team_get_config (s_team) == NULL)
6080 ;; ERROR:libnm-core/tests/test-setting.c:907:
6081 ;; _test_team_config_sync: assertion failed: (nm_streq0 (nm_setting_team_get_runner (s_team), runner))
45f80fce
RW
6082 (substitute* "Makefile.in"
6083 (("libnm-core/tests/test-general") " ")
6084 (("libnm-core/tests/test-keyfile") " ")
02710a9b 6085 (("libnm-core/tests/test-setting\\$\\(EXEEXT\\)") " "))
45f80fce 6086 #t))
ba5dd105
SB
6087 (add-before 'check 'pre-check
6088 (lambda _
6089 ;; For the missing /etc/machine-id.
6090 (setenv "DBUS_FATAL_WARNINGS" "0")
6091 #t))
6092 (replace 'install
6093 (lambda _
45f80fce
RW
6094 (invoke "make"
6095 "sysconfdir=/tmp"
6096 "rundir=/tmp"
6097 "statedir=/tmp"
6098 "nmstatedir=/tmp/nm"
6099 "install")
6100 #t)))))
b93502d6
DC
6101 (propagated-inputs
6102 `(("glib" ,glib)))
ba5dd105
SB
6103 (native-inputs
6104 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
6105 ("gobject-introspection" ,gobject-introspection)
d04687dc 6106 ("docbook-xsl" ,docbook-xsl)
ba5dd105 6107 ("intltool" ,intltool)
d04687dc
HG
6108 ("libxslt" ,libxslt)
6109 ("libxml2" ,libxml2)
ba5dd105
SB
6110 ("pkg-config" ,pkg-config)
6111 ;; For testing.
6112 ("python" ,python-wrapper)
6113 ("python-dbus" ,python-dbus)
6114 ("python-pygobject" ,python-pygobject)))
6115 (inputs
02710a9b
RW
6116 `(("coreutils" ,coreutils) ; for ls
6117 ("curl" ,curl)
856ca567
KK
6118 ("cyrus-sasl" ,cyrus-sasl)
6119 ("dbus-glib" ,dbus-glib)
ba5dd105 6120 ("dnsmasq" ,dnsmasq)
856ca567 6121 ("eudev" ,eudev)
ba5dd105
SB
6122 ("gnutls" ,gnutls)
6123 ("iptables" ,iptables)
6124 ("isc-dhcp" ,isc-dhcp)
d04687dc 6125 ("jansson" ,jansson)
ba5dd105
SB
6126 ("libgcrypt" ,libgcrypt)
6127 ("libgudev" ,libgudev)
6128 ("libndp" ,libndp)
6129 ("libnl" ,libnl)
6130 ("libsoup" ,libsoup)
142bdcbc 6131 ("modem-manager" ,modem-manager)
c27e02bf 6132 ("newt" ,newt) ;for the 'nmtui' console interface
ba5dd105
SB
6133 ("polkit" ,polkit)
6134 ("ppp" ,ppp)
6135 ("readline" ,readline)
fd070f35
CM
6136 ("util-linux" ,util-linux)
6137 ("elogind" ,elogind)))
ba5dd105 6138 (synopsis "Network connection manager")
f032d0be 6139 (home-page "https://www.gnome.org/projects/NetworkManager/")
ba5dd105
SB
6140 (description
6141 "NetworkManager is a system network service that manages your network
6142devices and connections, attempting to keep active network connectivity when
6143available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
6144devices, and provides VPN integration with a variety of different VPN
6145services.")
29d2f451
LC
6146 (license license:gpl2+)
6147 (properties '((upstream-name . "NetworkManager")))))
4d62a9d3 6148
f2b96b3a
LC
6149(define-public network-manager-openvpn
6150 (package
6151 (name "network-manager-openvpn")
be1c4b07 6152 ;; Updating? Check whether network-manager-applet still needs libnm_gtk.
7d87eede 6153 (version "1.8.10")
f2b96b3a
LC
6154 (source (origin
6155 (method url-fetch)
6156 (uri (string-append
6157 "mirror://gnome/sources/NetworkManager-openvpn/"
6158 (version-major+minor version)
6159 "/NetworkManager-openvpn-" version ".tar.xz"))
6160 (sha256
6161 (base32
7d87eede 6162 "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g"))))
f2b96b3a
LC
6163 (build-system gnu-build-system)
6164 (arguments
633422b0
JL
6165 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6166 #:phases
6167 (modify-phases %standard-phases
6168 (add-after 'configure 'patch-path
6169 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6170 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
6171 "/sbin/openvpn"))
6172 (modprobe (string-append (assoc-ref inputs "kmod")
6173 "/bin/modprobe"))
6174 (pretty-ovpn (string-append "\"" ovpn "\"")))
6175 (for-each
6176 (lambda (file)
6177 (substitute* file
6178 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
6179 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
6180 (("\"/sbin/openvpn\"") pretty-ovpn)
6181 (("/sbin/modprobe") modprobe)))
6182 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
6183 #t)))))
f2b96b3a
LC
6184 (native-inputs
6185 `(("pkg-config" ,pkg-config)
6186 ("intltool" ,intltool)))
6187 (inputs
6188 `(("gtk+" ,gtk+)
633422b0 6189 ("kmod" ,kmod)
f2b96b3a
LC
6190 ("openvpn" ,openvpn)
6191 ("network-manager" ,network-manager)
6192 ("network-manager-applet" ,network-manager-applet) ;for libnma
6193 ("libsecret" ,libsecret)))
6194 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6195 (synopsis "OpenVPN plug-in for NetworkManager")
6196 (description
6197 "This extension of NetworkManager allows it to take care of connections
6198to virtual private networks (VPNs) via OpenVPN.")
6199 (license license:gpl2+)
6200 (properties `((upstream-name . "NetworkManager-openvpn")))))
6201
d376129f
JL
6202(define-public network-manager-vpnc
6203 (package
6204 (name "network-manager-vpnc")
6205 (version "1.2.6")
6206 (source (origin
6207 (method url-fetch)
6208 (uri (string-append
6209 "mirror://gnome/sources/NetworkManager-vpnc/"
6210 (version-major+minor version)
6211 "/NetworkManager-vpnc-" version ".tar.xz"))
6212 (sha256
6213 (base32
6214 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
6215 (build-system gnu-build-system)
6216 (arguments
6217 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6218 #:phases
6219 (modify-phases %standard-phases
6220 (add-after 'configure 'patch-path
6221 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6222 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
6223 "/sbin/vpnc"))
6224 (modprobe (string-append (assoc-ref inputs "kmod")
6225 "/bin/modprobe"))
6226 (pretty-ovpn (string-append "\"" vpnc "\"")))
6227 (substitute* "src/nm-vpnc-service.c"
6228 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
6229 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
6230 (("\"/sbin/vpnc\"") pretty-ovpn)
6231 (("/sbin/modprobe") modprobe)))
6232 #t)))))
6233 (native-inputs
6234 `(("pkg-config" ,pkg-config)
6235 ("intltool" ,intltool)))
6236 (inputs
6237 `(("gtk+" ,gtk+)
6238 ("kmod" ,kmod)
6239 ("vpnc" ,vpnc)
6240 ("network-manager" ,network-manager)
6241 ("network-manager-applet" ,network-manager-applet) ;for libnma
6242 ("libsecret" ,libsecret)))
6243 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6244 (synopsis "VPNC plug-in for NetworkManager")
6245 (description
6246 "Support for configuring virtual private networks based on VPNC.
6247Compatible with Cisco VPN concentrators configured to use IPsec.")
6248 (license license:gpl2+)
6249 (properties `((upstream-name . "NetworkManager-vpnc")))))
6250
8378c87a
EF
6251(define-public network-manager-openconnect
6252 (package
6253 (name "network-manager-openconnect")
6254 (version "1.2.6")
6255 (source (origin
6256 (method url-fetch)
6257 (uri (string-append
6258 "mirror://gnome/sources/NetworkManager-openconnect/"
6259 (version-major+minor version)
6260 "/NetworkManager-openconnect-" version ".tar.xz"))
6261 (sha256
6262 (base32
6263 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
6264 (build-system gnu-build-system)
6265 (arguments
6266 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
6267 #:phases
6268 (modify-phases %standard-phases
6269 (add-after 'configure 'patch-path
6270 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
6271 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
6272 "/sbin/openconnect"))
6273 (modprobe (string-append (assoc-ref inputs "kmod")
6274 "/bin/modprobe"))
6275 (pretty-ovpn (string-append "\"" openconnect "\"")))
6276 (substitute* "src/nm-openconnect-service.c"
6277 (("\"/usr/local/sbin/openconnect\"") pretty-ovpn)
6278 (("\"/usr/sbin/openconnect\"") pretty-ovpn)
6279 (("/sbin/modprobe") modprobe)))
6280 #t)))))
6281 (native-inputs
6282 `(("intltool" ,intltool)
6283 ("network-manager-applet" ,network-manager-applet) ;for libnma
6284 ("pkg-config" ,pkg-config)))
6285 (inputs
6286 `(("gcr" ,gcr)
6287 ("gtk+" ,gtk+)
6288 ("kmod" ,kmod)
6289 ("libsecret" ,libsecret)
6290 ("libxml2" ,libxml2)
6291 ("network-manager" ,network-manager)
6292 ("openconnect" ,openconnect)))
6293 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
6294 (synopsis "OpenConnect plug-in for NetworkManager")
6295 (description
6296 "This extension of NetworkManager allows it to take care of connections
6297to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
6298Cisco's AnyConnect SSL VPN.")
6299 (license license:gpl2+)
e52b9534
LC
6300 (properties `((upstream-name . "NetworkManager-openconnect")
6301
6302 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
6303 ;; file refers to account "nm-openconnect". Specify it here
6304 ;; so that 'network-manager-service-type' creates it.
6305 (user-accounts . ("nm-openconnect"))))))
8378c87a 6306
e5e1df4d
DC
6307(define-public mobile-broadband-provider-info
6308 (package
6309 (name "mobile-broadband-provider-info")
310c89e3 6310 (version "20190116")
e5e1df4d
DC
6311 (source (origin
6312 (method url-fetch)
6313 (uri (string-append
6314 "mirror://gnome/sources/"
6315 "mobile-broadband-provider-info/" version "/"
6316 "mobile-broadband-provider-info-" version ".tar.xz"))
6317 (sha256
6318 (base32
310c89e3 6319 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
e5e1df4d
DC
6320 (build-system gnu-build-system)
6321 (arguments
310c89e3 6322 `(#:tests? #f)) ; no tests
e5e1df4d
DC
6323 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
6324 (synopsis "Database of broadband connection configuration")
6325 (description "Database of broadband connection configuration.")
6326 (license license:public-domain)))
6327
4d62a9d3
SB
6328(define-public network-manager-applet
6329 (package
6330 (name "network-manager-applet")
8fc3a337 6331 (version "1.8.24")
4d62a9d3
SB
6332 (source (origin
6333 (method url-fetch)
3df63444 6334 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
4d62a9d3 6335 (version-major+minor version) "/"
3df63444 6336 "network-manager-applet-" version ".tar.xz"))
4d62a9d3
SB
6337 (sha256
6338 (base32
8fc3a337 6339 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
cd7f718e
RW
6340 (build-system meson-build-system)
6341 (arguments
be1c4b07
TGR
6342 '(#:configure-flags
6343 ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
6344 (list "-Dlibnm_gtk=true")
6345 #:glib-or-gtk? #t))
4d62a9d3
SB
6346 (native-inputs
6347 `(("intltool" ,intltool)
cd7f718e 6348 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
4d62a9d3 6349 ("gobject-introspection" ,gobject-introspection)
cd7f718e 6350 ("gtk-doc" ,gtk-doc)
4d62a9d3
SB
6351 ("pkg-config" ,pkg-config)))
6352 (propagated-inputs
6353 ;; libnm-gtk.pc refers to all these.
6354 `(("dbus-glib" ,dbus-glib)
6355 ("gtk+" ,gtk+)
6356 ("network-manager" ,network-manager)))
6357 (inputs
cd7f718e
RW
6358 `(("gcr" ,gcr)
6359 ("iso-codes" ,iso-codes)
4d62a9d3
SB
6360 ("libgudev" ,libgudev)
6361 ("libnotify" ,libnotify)
2116bfb3 6362 ("libsecret" ,libsecret)
240cee8a
KK
6363 ("libselinux" ,libselinux)
6364 ("jansson" ,jansson) ; for team support
3e9c80b2
FP
6365 ("modem-manager" ,modem-manager)
6366 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)))
4d62a9d3 6367 (synopsis "Applet for managing network connections")
f032d0be 6368 (home-page "https://www.gnome.org/projects/NetworkManager/")
4d62a9d3
SB
6369 (description
6370 "This package contains a systray applet for NetworkManager. It displays
6371the available networks and allows users to easily switch between them.")
6372 (license license:gpl2+)))
56196594
RW
6373
6374(define-public libxml++
6375 (package
6376 (name "libxml++")
8344a85e 6377 (version "3.0.1")
56196594
RW
6378 (source (origin
6379 (method url-fetch)
6380 (uri (string-append "mirror://gnome/sources/" name "/"
6381 (version-major+minor version) "/"
6382 name "-" version ".tar.xz"))
6383 (sha256
6384 (base32
8344a85e 6385 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
56196594
RW
6386 (build-system gnu-build-system)
6387 ;; libxml++-3.0.pc refers to all these.
6388 (propagated-inputs
6389 `(("libxml2" ,libxml2)
6390 ("glibmm" ,glibmm)))
6391 (native-inputs
6392 `(("perl" ,perl)
6393 ("pkg-config" ,pkg-config)))
6394 (home-page "http://libxmlplusplus.sourceforge.net/")
6395 (synopsis "C++ wrapper for XML parser library libxml2")
6396 (description
6397 "This package provides a C++ wrapper for the XML parser library
6398libxml2.")
6399 (license license:lgpl2.1+)))
df12f04a 6400
b61d9627
AW
6401(define-public libxml++-2
6402 (package
6403 (inherit libxml++)
6404 (name "libxml++")
6405 (version "2.40.1")
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
6413 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
6414
df12f04a
SB
6415(define-public gdm
6416 (package
6417 (name "gdm")
bcca95dc 6418 (version "3.32.0")
df12f04a
SB
6419 (source (origin
6420 (method url-fetch)
6421 (uri (string-append "mirror://gnome/sources/" name "/"
6422 (version-major+minor version) "/"
6423 name "-" version ".tar.xz"))
6424 (sha256
6425 (base32
bcca95dc 6426 "12ypdz9i24hwbl1d1wnnxb8zlvfa4f49n9ac5cl9d6h8qp4b0gb4"))))
957dbc0a 6427 (build-system glib-or-gtk-build-system)
df12f04a
SB
6428 (arguments
6429 '(#:configure-flags
af37e6bb 6430 `("--without-plymouth"
957dbc0a 6431 "--disable-systemd-journal"
51bc8357
TS
6432
6433 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
6434 ;; instead of having to replace it (i.e., stopping the mingetty
6435 ;; service for TTY 1 before starting GDM).
6436 "--with-initial-vt=7"
6437
89c86562
TS
6438 ;; Use '/etc/environment' for locale settings instead of the
6439 ;; systemd-specific '/etc/locale.conf'.
6440 "--with-lang-file=/etc/environment"
6441
b74ef0ba
RW
6442 ,(string-append "--with-udevdir="
6443 (assoc-ref %outputs "out") "/lib/udev")
6444
af37e6bb
AW
6445 "--localstatedir=/var"
6446 ,(string-append "--with-default-path="
6447 (string-join '("/run/setuid-programs"
6448 "/run/current-system/profile/bin"
6449 "/run/current-system/profile/sbin")
957dbc0a
AW
6450 ":"))
6451 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
6452 ;; XDG_DATA_DIRS so that it finds its schemas.
6453 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
df12f04a
SB
6454 #:phases
6455 (modify-phases %standard-phases
6456 (add-before
6457 'configure 'pre-configure
e8c6e771 6458 (lambda* (#:key inputs outputs #:allow-other-keys)
df12f04a
SB
6459 ;; We don't have <systemd/sd-daemon.h>.
6460 (substitute* '("common/gdm-log.c"
6461 "daemon/gdm-server.c"
6462 "daemon/gdm-session-worker.c"
6463 "daemon/gdm-session-worker-job.c")
6464 (("#include <systemd/sd-daemon\\.h>") ""))
6465 ;; Use elogind for sd-login.
6466 (substitute* '("common/gdm-common.c"
6467 "daemon/gdm-manager.c"
6468 "libgdm/gdm-user-switching.c")
6469 (("#include <systemd/sd-login\\.h>")
6470 "#include <elogind/sd-login.h>"))
957dbc0a
AW
6471 ;; Check for elogind.
6472 (substitute* '("configure")
6473 (("libsystemd")
6474 "libelogind"))
af37e6bb
AW
6475 ;; Look for system-installed sessions in
6476 ;; /run/current-system/profile/share.
6477 (substitute* '("libgdm/gdm-sessions.c"
6478 "daemon/gdm-session.c"
6479 "daemon/gdm-display.c"
6480 "daemon/gdm-launch-environment.c")
6481 (("DATADIR \"/x")
6482 "\"/run/current-system/profile/share/x")
6483 (("DATADIR \"/wayland")
6484 "\"/run/current-system/profile/share/wayland")
6485 (("DATADIR \"/gnome")
6486 "\"/run/current-system/profile/share/gnome"))
c9ff92b5 6487 (let ((propagate '("GDM_CUSTOM_CONF"
1f564c15 6488 "GDM_DBUS_DAEMON"
c9ff92b5 6489 "GDM_X_SERVER"
41fa9f18 6490 "GDM_X_SESSION"
c9ff92b5
TS
6491 ;; XXX: Remove this once GNOME Shell is
6492 ;; a dependency of GDM.
6493 "XDG_DATA_DIRS")))
6494 (substitute* "daemon/gdm-session.c"
6495 (("set_up_session_environment \\(self\\);")
6496 (apply string-append
6497 "set_up_session_environment (self);\n"
6498 (map (lambda (name)
6499 (string-append
6500 "gdm_session_set_environment_variable "
6501 "(self, \"" name "\","
6502 "g_getenv (\"" name "\"));\n"))
6503 propagate)))))
a430a350
TS
6504 ;; Find the configuration file using an environment variable.
6505 (substitute* '("common/gdm-settings.c")
e0e6756f 6506 (("GDM_CUSTOM_CONF")
e57c2adb
TS
6507 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
6508 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
6509 " : GDM_CUSTOM_CONF)")))
e0e6756f
AW
6510 ;; Use service-supplied path to X.
6511 (substitute* '("daemon/gdm-server.c")
6512 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
6513 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
6514 (substitute* '("daemon/gdm-x-session.c")
1f564c15
TS
6515 (("\"dbus-daemon\"")
6516 "g_getenv (\"GDM_DBUS_DAEMON\")")
e0e6756f 6517 (("X_SERVER")
41fa9f18
TS
6518 "g_getenv (\"GDM_X_SERVER\")")
6519 (("GDMCONFDIR \"/Xsession\"")
6520 "g_getenv (\"GDM_X_SESSION\")"))
def6d6b6
TS
6521 ;; Use an absolute path for GNOME Session.
6522 (substitute* "daemon/gdm-launch-environment.c"
6523 (("\"gnome-session\"")
6524 (string-append "\"" (assoc-ref inputs "gnome-session")
6525 "/bin/gnome-session\"")))
e8c6e771
TS
6526 ;; Do not automatically select the placeholder session.
6527 (substitute* "daemon/gdm-session.c"
6528 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
6529 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
6530 "(g_strcmp0(search_dirs[i], \""
6531 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
6532 "\") == 0 && "
6533 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
6534 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
bcca95dc 6535 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
69544798 6536 #t))
8caa4589
TS
6537 ;; GDM requires that there be at least one desktop entry
6538 ;; file. This phase installs a hidden one that simply
6539 ;; fails. This enables users to use GDM with a
6540 ;; '~/.xsession' script with no other desktop entry files.
6541 ;; See <https://bugs.gnu.org/35068>.
6542 (add-after 'install 'install-placeholder-desktop-entry
6543 (lambda* (#:key inputs outputs #:allow-other-keys)
6544 (let* ((out (assoc-ref outputs "out"))
6545 (sessions (string-append out "/share/gdm/BuiltInSessions"))
6546 (fail (string-append sessions "/fail.desktop")))
6547 (mkdir-p sessions)
6548 (with-output-to-file fail
6549 (lambda ()
6550 (for-each
6551 display
6552 '("[Desktop Entry]\n"
6553 "Encoding=UTF-8\n"
6554 "Type=Application\n"
6555 "Name=Fail\n"
6556 "Comment=This session fails immediately.\n"
6557 "NoDisplay=true\n"
6558 "Exec=false\n"))))
6559 #t)))
69544798
TS
6560 ;; GDM needs GNOME Session to run these applications. We link
6561 ;; their autostart files in `share/gdm/greeter/autostart'
6562 ;; because GDM explicitly tells GNOME Session to look there.
6563 ;;
6564 ;; XXX: GNOME Shell should be linked here too, but currently
6565 ;; GNOME Shell depends on GDM.
6566 (add-after 'install 'link-autostart-files
6567 (lambda* (#:key inputs outputs #:allow-other-keys)
6568 (let* ((out (assoc-ref outputs "out"))
6569 (autostart (string-append out "/share/gdm/"
6570 "greeter/autostart"))
6571 (settings (assoc-ref inputs "gnome-settings-daemon")))
6572 (mkdir-p autostart)
6573 (with-directory-excursion autostart
6574 (for-each (lambda (desktop)
6575 (symlink desktop (basename desktop)))
6576 (find-files (string-append settings "/etc/xdg"))))
6577 #t))))))
df12f04a
SB
6578 (native-inputs
6579 `(("dconf" ,dconf)
6580 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
6581 ("gobject-introspection" ,gobject-introspection)
6582 ("intltool" ,intltool)
6583 ("itstool" ,itstool)
6584 ("pkg-config" ,pkg-config)
6585 ("xmllint" ,libxml2)))
6586 (inputs
6587 `(("accountsservice" ,accountsservice)
6588 ("check" ,check) ; for testing
6589 ("elogind" ,elogind)
def6d6b6 6590 ("gnome-session" ,gnome-session)
69544798 6591 ("gnome-settings-daemon" ,gnome-settings-daemon)
df12f04a
SB
6592 ("gtk+" ,gtk+)
6593 ("iso-codes" ,iso-codes)
6594 ("libcanberra" ,libcanberra)
6595 ("linux-pam" ,linux-pam)))
6596 (synopsis "Display manager for GNOME")
f032d0be 6597 (home-page "https://wiki.gnome.org/Projects/GDM/")
df12f04a
SB
6598 (description
6599 "GNOME Display Manager is a system service that is responsible for
6600providing graphical log-ins and managing local and remote displays.")
6601 (license license:gpl2+)))
8e1dd04f
SB
6602
6603(define-public libgtop
6604 (package
6605 (name "libgtop")
015fc036 6606 (version "2.40.0")
8e1dd04f
SB
6607 (source (origin
6608 (method url-fetch)
59487fc2 6609 (uri (string-append "mirror://gnome/sources/libgtop/"
8e1dd04f 6610 (version-major+minor version) "/"
59487fc2 6611 "libgtop-" version ".tar.xz"))
8e1dd04f
SB
6612 (sha256
6613 (base32
015fc036 6614 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8e1dd04f
SB
6615 (build-system gnu-build-system)
6616 (native-inputs
6617 `(("gobject-introspection" ,gobject-introspection)
6618 ("intltool" ,intltool)
6619 ("perl" ,perl)
6620 ("pkg-config" ,pkg-config)))
6621 (propagated-inputs
6622 `(("glib" ,glib))) ; required by libgtop-2.0.pc
6623 (synopsis "Portable system access library")
6624 (home-page "https://www.gnome.org/")
6625 (description
6626 "LibGTop is a library to get system specific data such as CPU and memory
6627usage and information about running processes.")
6628 (license license:gpl2+)))
b96c4260
SB
6629
6630(define-public gnome-bluetooth
6631 (package
6632 (name "gnome-bluetooth")
723afae6 6633 (version "3.32.1")
b96c4260
SB
6634 (source (origin
6635 (method url-fetch)
6636 (uri (string-append "mirror://gnome/sources/" name "/"
6637 (version-major+minor version) "/"
6638 name "-" version ".tar.xz"))
6639 (sha256
6640 (base32
723afae6 6641 "1am1gf0nzwg6x1s8ly13j0xnjzgrfj06j0dp52x4zy9s67ywlhb4"))))
fd3b1171 6642 (build-system meson-build-system)
b96c4260
SB
6643 (native-inputs
6644 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
fd3b1171 6645 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
b96c4260
SB
6646 ("gobject-introspection" ,gobject-introspection)
6647 ("intltool" ,intltool)
6648 ("pkg-config" ,pkg-config)
6649 ("xmllint" ,libxml2)))
6650 (propagated-inputs
6651 ;; gnome-bluetooth-1.0.pc refers to all these.
723afae6
KK
6652 `(("glib" ,glib)
6653 ("gtk+" ,gtk+)))
b96c4260 6654 (inputs
723afae6
KK
6655 `(("eudev" ,eudev)
6656 ("libcanberra" ,libcanberra)
b96c4260
SB
6657 ("libnotify" ,libnotify)))
6658 (synopsis "GNOME Bluetooth subsystem")
6659 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
6660 (description
6661 "This package contains tools for managing and manipulating Bluetooth
6662devices using the GNOME desktop.")
6663 (license license:lgpl2.1+)))
b645146f
SB
6664
6665(define-public gnome-control-center
6666 (package
6667 (name "gnome-control-center")
a6938bac 6668 (version "3.32.2")
b645146f
SB
6669 (source (origin
6670 (method url-fetch)
6671 (uri (string-append "mirror://gnome/sources/" name "/"
6672 (version-major+minor version) "/"
6673 name "-" version ".tar.xz"))
6674 (sha256
6675 (base32
a6938bac 6676 "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs"))))
59dac026 6677 (build-system meson-build-system)
b645146f 6678 (arguments
59dac026
RW
6679 '(#:glib-or-gtk? #t
6680 #:configure-flags
64c70430
KK
6681 (list "-Dcheese=false"
6682 (string-append "-Dgnome_session_libexecdir="
6683 (assoc-ref %build-inputs "gnome-session")
6684 "/libexec"))
59dac026 6685 #:phases
b645146f
SB
6686 (modify-phases %standard-phases
6687 (add-before 'configure 'patch-paths
6688 (lambda* (#:key inputs #:allow-other-keys)
6689 (let ((libc (assoc-ref inputs "libc"))
1df38cfc 6690 (tzdata (assoc-ref inputs "tzdata"))
341225ac 6691 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
64c70430
KK
6692 (nm-applet (assoc-ref inputs "network-manager-applet"))
6693 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
b645146f
SB
6694 (substitute* "panels/datetime/tz.h"
6695 (("/usr/share/zoneinfo/zone.tab")
6696 (string-append tzdata "/share/zoneinfo/zone.tab")))
982c0b36 6697 (substitute* "tests/datetime/test-endianess.c"
b645146f
SB
6698 (("/usr/share/locale")
6699 (string-append libc "/share/locale")))
1df38cfc
LC
6700 (substitute* "panels/region/cc-region-panel.c"
6701 (("\"gkbd-keyboard-display")
6702 (string-append "\"" libgnomekbd
6703 "/bin/gkbd-keyboard-display")))
341225ac
LC
6704 (substitute* '("panels/network/net-device-wifi.c"
6705 "panels/network/net-device.c"
6706 "panels/network/connection-editor/net-connection-editor.c")
6707 (("\"nm-connection-editor")
6708 (string-append "\"" nm-applet
6709 "/bin/nm-connection-editor")))
1acd107c
FP
6710 (substitute* '("panels/user-accounts/run-passwd.c")
6711 (("/usr/bin/passwd")
6712 "/run/setuid-programs/passwd"))
64c70430
KK
6713 (substitute* "panels/info/cc-info-overview-panel.c"
6714 (("DATADIR \"/gnome/gnome-version.xml\"")
6715 (string-append "\"" gnome-desktop
6716 "/share/gnome/gnome-version.xml\"")))
b645146f
SB
6717 #t))))))
6718 (native-inputs
6719 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
59dac026 6720 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
b645146f
SB
6721 ("intltool" ,intltool)
6722 ("pkg-config" ,pkg-config)
a6938bac
KK
6723 ("xsltproc" ,libxslt)
6724 ;; For tests
6725 ("hicolor-icon-theme" ,hicolor-icon-theme)
6726 ("python-dbusmock" ,python-dbusmock)
6727 ("xorg-server" ,xorg-server-for-tests)))
b645146f
SB
6728 (inputs
6729 `(("accountsservice" ,accountsservice)
6730 ("clutter-gtk" ,clutter-gtk)
6731 ("colord-gtk" ,colord-gtk)
6732 ("cups" ,cups)
6733 ("dconf" ,dconf)
6734 ("docbook-xsl" ,docbook-xsl)
3446ffb5 6735 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
b645146f
SB
6736 ("gnome-bluetooth" ,gnome-bluetooth)
6737 ("gnome-desktop" ,gnome-desktop)
6738 ("gnome-online-accounts" ,gnome-online-accounts)
14c297fd 6739 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
64c70430 6740 ("gnome-session" ,gnome-session)
b645146f
SB
6741 ("gnome-settings-daemon" ,gnome-settings-daemon)
6742 ("grilo" ,grilo)
a6938bac 6743 ("gsound" ,gsound)
b645146f
SB
6744 ("ibus" ,ibus)
6745 ("libcanberra" ,libcanberra)
1df38cfc 6746 ("libgnomekbd" ,libgnomekbd)
b645146f
SB
6747 ("libgudev" ,libgudev)
6748 ("libgtop" ,libgtop)
6749 ("libpwquality" ,libpwquality)
982c0b36 6750 ("libsecret" ,libsecret)
b645146f
SB
6751 ("libsoup" ,libsoup)
6752 ("libxml2" ,libxml2)
6753 ("libwacom" ,libwacom)
6754 ("mesa" ,mesa)
6755 ("mit-krb5" ,mit-krb5)
6756 ("modem-manager" ,modem-manager)
6757 ("network-manager-applet" ,network-manager-applet)
6758 ("polkit" ,polkit)
6759 ("pulseaudio" ,pulseaudio)
6760 ("smbclient" ,samba)
6761 ("tzdata" ,tzdata)
982c0b36 6762 ("udisks" ,udisks)
b645146f
SB
6763 ("upower" ,upower)))
6764 (synopsis "Utilities to configure the GNOME desktop")
6765 (home-page "https://www.gnome.org/")
6766 (description
6767 "This package contains configuration applets for the GNOME desktop,
6768allowing to set accessibility configuration, desktop fonts, keyboard and mouse
6769properties, sound setup, desktop theme and background, user interface
6770properties, screen resolution, and other GNOME parameters.")
6771 (license license:gpl2+)))
a4df5756
SB
6772
6773(define-public gnome-shell
6774 (package
6775 (name "gnome-shell")
d5e615ca 6776 (version "3.32.2")
a4df5756
SB
6777 (source (origin
6778 (method url-fetch)
6779 (uri (string-append "mirror://gnome/sources/" name "/"
6780 (version-major+minor version) "/"
6781 name "-" version ".tar.xz"))
6782 (sha256
6783 (base32
d5e615ca 6784 "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5"))
a76d0f03
LC
6785 (patches (search-patches "gnome-shell-theme.patch"))
6786 (modules '((guix build utils)))
6787 (snippet
6788 #~(begin
a76d0f03
LC
6789 ;; Copy images for use on the GDM log-in screen.
6790 (copy-file #$(file-append %artwork-repository
6791 "/slim/0.x/background.png")
6792 "data/theme/guix-background.png")
45fef894
LC
6793 (copy-file #$(file-append %artwork-repository
6794 "/logo/Guix-horizontal-white.svg")
6795 "data/theme/guix-logo.svg")
a76d0f03 6796 #t))))
2b0c755d 6797 (build-system meson-build-system)
a4df5756 6798 (arguments
08185081
MB
6799 `(#:glib-or-gtk? #t
6800 #:disallowed-references ((,glib "bin")
11e1df56
LC
6801 ,inkscape ,libxslt
6802 ,ruby-sass)
2b0c755d
RW
6803 #:configure-flags
6804 (list "-Dsystemd=false"
6805 ;; Otherwise, the RUNPATH will lack the final path component.
6806 (string-append "-Dc_link_args=-Wl,-rpath="
6807 (assoc-ref %outputs "out")
6808 "/lib/gnome-shell"))
11e1df56 6809
08185081 6810 #:modules ((guix build meson-build-system)
11e1df56
LC
6811 (guix build utils)
6812 (srfi srfi-1))
6813
2b0c755d 6814 #:phases
a4df5756 6815 (modify-phases %standard-phases
2b0c755d 6816 (add-after 'unpack 'fix-keysdir
a4df5756
SB
6817 (lambda* (#:key outputs #:allow-other-keys)
6818 (let* ((out (assoc-ref outputs "out"))
6819 (keysdir (string-append
6820 out "/share/gnome-control-center/keybindings")))
2b0c755d
RW
6821 (substitute* "meson.build"
6822 (("keysdir =.*")
6823 (string-append "keysdir = '" keysdir "'\n")))
6824 #t)))
ebfe259f
MB
6825 (add-before 'configure 'convert-logo-to-png
6826 (lambda* (#:key inputs #:allow-other-keys)
6827 ;; Convert the logo from SVG to PNG.
6828 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
6829 "data/theme/guix-logo.svg")))
ba00235a 6830 (add-before 'configure 'record-absolute-file-names
2472cdec
LC
6831 (lambda* (#:key inputs #:allow-other-keys)
6832 (substitute* "js/misc/ibusManager.js"
6833 (("'ibus-daemon'")
6834 (string-append "'" (assoc-ref inputs "ibus")
6835 "/bin/ibus-daemon'")))
d6fda4d3
LC
6836 (substitute* "js/ui/status/keyboard.js"
6837 (("'gkbd-keyboard-display'")
6838 (string-append "'" (assoc-ref inputs "libgnomekbd")
6839 "/bin/gkbd-keyboard-display'")))
2472cdec 6840 #t))
2b0c755d
RW
6841 (add-before 'check 'pre-check
6842 (lambda* (#:key inputs #:allow-other-keys)
6843 ;; Tests require a running X server.
6844 (system "Xvfb :1 &")
6845 (setenv "DISPLAY" ":1")
6846 #t))
6847 (add-after 'install 'wrap-programs
6848 (lambda* (#:key inputs outputs #:allow-other-keys)
6849 (let ((out (assoc-ref outputs "out"))
6850 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6851 (python-path (getenv "PYTHONPATH")))
6852 (wrap-program (string-append out "/bin/gnome-shell")
6853 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6854 ;; FIXME: gnome-shell loads these libraries with unqualified
6855 ;; names only, so they need to be on LD_LIBRARY_PATH. The
6856 ;; alternative might be to patch gnome-shell.
6857 `("LD_LIBRARY_PATH" ":" prefix
6858 ,(map (lambda (pkg)
6859 (string-append (assoc-ref inputs pkg) "/lib"))
cd8dce8a
RW
6860 '("gdk-pixbuf"
6861 "gnome-bluetooth" "librsvg" "libgweather"))))
2b0c755d
RW
6862 (for-each
6863 (lambda (prog)
6864 (wrap-program (string-append out "/bin/" prog)
6865 `("PYTHONPATH" ":" prefix (,python-path))
6866 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6867 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
08185081 6868 #t)))
11e1df56
LC
6869 (replace 'glib-or-gtk-wrap
6870 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
6871 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
6872 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
6873 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
6874 ;; phase. Fix that since we don't need these.
6875 (wrap #:inputs (fold alist-delete inputs
6876 '("inkscape" "intltool" "glib:bin"))
6877 #:outputs outputs)))))))
a4df5756
SB
6878 (native-inputs
6879 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
2b0c755d 6880 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
a4df5756 6881 ("gobject-introspection" ,gobject-introspection)
ebfe259f 6882 ("inkscape" ,inkscape)
a4df5756
SB
6883 ("intltool" ,intltool)
6884 ("pkg-config" ,pkg-config)
6885 ("python" ,python)
2b0c755d
RW
6886 ("ruby-sass" ,ruby-sass)
6887 ("sassc" ,sassc)
a76d0f03 6888 ("xsltproc" ,libxslt)
2b0c755d 6889 ;; For tests
0b4504f6 6890 ("xorg-server" ,xorg-server-for-tests)))
a4df5756
SB
6891 (inputs
6892 `(("accountsservice" ,accountsservice)
6893 ("caribou" ,caribou)
6894 ("docbook-xsl" ,docbook-xsl)
6895 ("evolution-data-server" ,evolution-data-server)
6896 ("gcr" ,gcr)
6897 ("gdm" ,gdm)
c5db31d4 6898 ("gdk-pixbuf" ,gdk-pixbuf+svg)
a4df5756
SB
6899 ("gjs" ,gjs)
6900 ("gnome-bluetooth" ,gnome-bluetooth)
a4df5756
SB
6901 ("gnome-desktop" ,gnome-desktop)
6902 ("gnome-settings-daemon" ,gnome-settings-daemon)
6903 ("gst-plugins-base" ,gst-plugins-base)
6904 ("ibus" ,ibus)
6905 ("libcanberra" ,libcanberra)
6906 ("libcroco" ,libcroco)
d6fda4d3 6907 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
a4df5756
SB
6908 ("libgweather" ,libgweather)
6909 ("libsoup" ,libsoup)
6910 ("mesa-headers" ,mesa-headers)
6911 ("mutter" ,mutter)
6912 ("network-manager-applet" ,network-manager-applet)
6913 ("polkit" ,polkit)
6914 ("pulseaudio" ,pulseaudio)
6915 ("python-pygobject" ,python-pygobject)
6916 ("startup-notification" ,startup-notification)
6917 ("telepathy-logger" ,telepathy-logger)
6918 ("upower" ,upower)
30e760f0
MB
6919 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
6920 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
6921 ("librsvg" ,librsvg)
2b0c755d 6922 ("geoclue" ,geoclue)))
a4df5756
SB
6923 (synopsis "Desktop shell for GNOME")
6924 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
6925 (description
6926 "GNOME Shell provides core user interface functions for the GNOME desktop,
6927like switching to windows and launching applications.")
6928 (license license:gpl2+)))
c3f29bc9
RS
6929
6930(define-public gtk-vnc
6931 (package
6932 (name "gtk-vnc")
965ff023 6933 (version "0.9.0")
c3f29bc9
RS
6934 (source
6935 (origin
6936 (method url-fetch)
6937 (uri (string-append "mirror://gnome/sources/" name "/"
6938 (version-major+minor version) "/"
6939 name "-" version ".tar.xz"))
6940 (sha256
6941 (base32
965ff023 6942 "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is"))))
c3f29bc9
RS
6943 (build-system gnu-build-system)
6944 (arguments
6945 '(#:configure-flags '("--with-gtk=3.0")))
6946 (propagated-inputs
6947 `(("gtk+" ,gtk+))) ; required by gtk-vnc-2.0.pc.
6948 (inputs
6949 `(("cyrus-sasl" ,cyrus-sasl)
6950 ("gnutls" ,gnutls)
6951 ("libgcrypt" ,libgcrypt)
6952 ("pulseaudio" ,pulseaudio)))
6953 (native-inputs
6954 `(("glib:bin" ,glib "bin")
6955 ("gobject-introspection" ,gobject-introspection)
6956 ("intltool" ,intltool)
6957 ("pkg-config" ,pkg-config)
2f17e939 6958 ("python-wrapper" ,python-wrapper)
c3f29bc9
RS
6959 ("vala" ,vala)))
6960 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
6961 (synopsis "VNC viewer widget for GTK+")
6962 (description
6963 "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing
6964applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.
6965GTK-VNC implements client side RFB protocol and authentication extensions such
6966as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
6967 (license license:lgpl2.1+)))
8b877545 6968
dc69fe18
MW
6969(define-public gnome-autoar
6970 (package
6971 (name "gnome-autoar")
c7da8510 6972 (version "0.2.3")
dc69fe18
MW
6973 (source (origin
6974 (method url-fetch)
6975 (uri (string-append "mirror://gnome/sources/" name "/"
6976 (version-major+minor version) "/"
6977 name "-" version ".tar.xz"))
6978 (sha256
6979 (base32
c7da8510 6980 "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax"))))
dc69fe18
MW
6981 (build-system glib-or-gtk-build-system)
6982 (native-inputs
6983 `(("gnome-common" ,gnome-common)
6984 ("gobject-introspection" ,gobject-introspection)
6985 ("pkg-config" ,pkg-config)))
6986 (propagated-inputs
6987 `(("libarchive" ,libarchive))) ; XXX document why
6988 (inputs
0a6e9e13 6989 `(("gtk+" ,gtk+)))
dc69fe18
MW
6990 (synopsis "Archives integration support for GNOME")
6991 (home-page "https://git.gnome.org/browse/gnome-autoar/")
6992 (description
6993 "GNOME Autoar is a library which makes creating and extracting archives
6994easy, safe, and automatic.")
6995 (license license:lgpl2.1+)))
6996
b64e217f
MW
6997(define-public tracker
6998 (package
6999 (name "tracker")
5ada561c 7000 (version "2.2.2")
b64e217f
MW
7001 (source (origin
7002 (method url-fetch)
b5b0fd23 7003 (uri (string-append "mirror://gnome/sources/tracker/"
b64e217f 7004 (version-major+minor version) "/"
b5b0fd23 7005 "tracker-" version ".tar.xz"))
b64e217f
MW
7006 (sha256
7007 (base32
5ada561c
KK
7008 "1rp2c6k7ajcm553p9kpni87zgi9aplm3s01rl7pk575az5i399y6"))))
7009 (build-system meson-build-system)
c8bdf589 7010 (arguments
5ada561c
KK
7011 `(#:glib-or-gtk? #t
7012 #:configure-flags
7013 ;; Otherwise, the RUNPATH will lack the final path component.
7014 (list (string-append "-Dc_link_args=-Wl,-rpath="
7015 (assoc-ref %outputs "out") "/lib:"
7016 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
7017 #:phases
c8bdf589
RW
7018 (modify-phases %standard-phases
7019 (add-after 'unpack 'disable-broken-tests
7020 (lambda _
c8bdf589
RW
7021 ;; These fail because the SPARQL backend could not be loaded.
7022 ;; That's because /etc/machine-id is missing, but
7023 ;; DBUS_FATAL_WARNINGS does not help here.
5ada561c
KK
7024 (substitute* "tests/libtracker-sparql/meson.build"
7025 (("'sparql',") ""))
7026 (substitute* "tests/tracker-steroids/meson.build"
7027 (("test\\(.*") ""))
c8bdf589
RW
7028 #t))
7029 ;; Two tests fail if LANG is not set.
7030 (add-before 'check 'pre-check
7031 (lambda _
7032 (setenv "LANG" "en_US.UTF-8")
7033 ;; For the missing /etc/machine-id.
7034 (setenv "DBUS_FATAL_WARNINGS" "0")
7035 #t)))))
b64e217f 7036 (native-inputs
5ada561c
KK
7037 `(("glib:bin" ,glib "bin")
7038 ("gnome-common" ,gnome-common)
b64e217f 7039 ("gobject-introspection" ,gobject-introspection)
5ada561c 7040 ("python-pygobject" ,python-pygobject)
b64e217f
MW
7041 ("intltool" ,intltool)
7042 ("pkg-config" ,pkg-config)
7043 ("vala" ,vala)))
7044 (inputs
7045 `(("gtk+" ,gtk+)
7046 ("dbus" ,dbus)
44ed6284 7047 ("sqlite" ,sqlite)
c8bdf589 7048 ("python" ,python)
b64e217f 7049 ("poppler" ,poppler)
b64e217f
MW
7050 ("libpng" ,libpng)
7051 ("libtiff" ,libtiff)
b64e217f 7052 ("zlib" ,zlib)
b64e217f 7053 ("libxml2" ,libxml2)
b64e217f 7054 ("libunistring" ,libunistring)
0ef48cd9 7055 ("json-glib" ,json-glib)
b64e217f 7056 ("openjpeg" ,openjpeg-1)
b64e217f 7057 ("libseccomp" ,libseccomp)
0ef48cd9 7058 ("libsoup" ,libsoup)
5ada561c
KK
7059 ("libuuid" ,util-linux)
7060 ("network-manager" ,network-manager)))
b64e217f
MW
7061 (synopsis "Metadata database, indexer and search tool")
7062 (home-page "https://wiki.gnome.org/Projects/Tracker")
7063 (description
7064 "Tracker is an advanced framework for first class objects with associated
7065metadata and tags. It provides a one stop solution for all metadata, tags,
7066shared object databases, search tools and indexing.")
7067 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7068 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7069 (license (list license:gpl2+
7070 license:lgpl2.1+
7071 license:lgpl2.0+))))
7072
03be9874
KK
7073(define-public tracker-miners
7074 (package
7075 (name "tracker-miners")
7076 (version "2.2.2")
7077 (source (origin
7078 (method url-fetch)
7079 (uri (string-append "mirror://gnome/sources/tracker-miners/"
7080 (version-major+minor version)
7081 "/tracker-miners-" version ".tar.xz"))
7082 (sha256
7083 (base32
7084 "0kk5xaajamb8jlm6cfdbc2m3axzr6bnph84m7697xmb0pkg8hdiw"))))
7085 (build-system meson-build-system)
7086 (arguments
7087 `(#:glib-or-gtk? #t
7088 #:configure-flags
7089 (list "-Dminer_rss=false" ; libgrss is required.
7090 ;; Ensure the RUNPATH contains all installed library locations.
7091 (string-append "-Dc_link_args=-Wl,-rpath="
7092 (assoc-ref %outputs "out")
7093 "/lib/tracker-miners-2.0")
7094 ;; TODO: Enable functional tests. Currently, the following error
7095 ;; appears:
7096 ;; Exception: The functional tests require DConf to be the default
7097 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
7098 "-Dfunctional_tests=false")))
7099 (native-inputs
7100 `(("dbus" ,dbus)
7101 ("intltool" ,intltool)
7102 ("glib:bin" ,glib "bin")
7103 ("gobject-introspection" ,gobject-introspection)
7104 ("pkg-config" ,pkg-config)
7105 ("python-pygobject" ,python-pygobject)))
7106 (inputs
7107 `(("exempi" ,exempi)
7108 ("ffmpeg" ,ffmpeg)
7109 ("flac" ,flac)
7110 ("giflib" ,giflib)
7111 ("glib" ,glib)
7112 ("gstreamer" ,gstreamer)
7113 ("icu4c" ,icu4c)
7114 ("libcue" ,libcue)
7115 ("libexif" ,libexif)
7116 ("libgsf" ,libgsf)
7117 ("libgxps" ,libgxps)
7118 ("libiptcdata" ,libiptcdata)
7119 ("libjpeg" ,libjpeg)
7120 ("libosinfo" ,libosinfo)
7121 ("libpng" ,libpng)
7122 ("libseccomp" ,libseccomp)
7123 ("libtiff" ,libtiff)
7124 ("libvorbis" ,libvorbis)
7125 ("libxml2" ,libxml2)
7126 ("poppler" ,poppler)
7127 ("taglib" ,taglib)
7128 ("totem-pl-parser" ,totem-pl-parser)
7129 ("tracker" ,tracker)
7130 ("upower" ,upower)
7131 ("zlib" ,zlib)))
7132 (synopsis "Metadata database, indexer and search tool")
7133 (home-page "https://wiki.gnome.org/Projects/Tracker")
7134 (description
7135 "Tracker is an advanced framework for first class objects with associated
7136metadata and tags. It provides a one stop solution for all metadata, tags,
7137shared object databases, search tools and indexing.")
7138 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
7139 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
7140 (license (list license:gpl2+
7141 license:lgpl2.1+
7142 license:lgpl2.0+))))
7143
8b877545
RS
7144(define-public nautilus
7145 (package
7146 (name "nautilus")
d682c599 7147 (version "3.32.3")
8b877545
RS
7148 (source (origin
7149 (method url-fetch)
7150 (uri (string-append "mirror://gnome/sources/" name "/"
7151 (version-major+minor version) "/"
7152 name "-" version ".tar.xz"))
7153 (sha256
7154 (base32
d682c599 7155 "1x9crzbj6rrrf8w5dkcx0c14j40byr4ijpzkwd5dcrbfvvdy1r01"))))
35e2d0cf 7156 (build-system meson-build-system)
8b877545 7157 (arguments
35e2d0cf 7158 '(#:glib-or-gtk? #t
8b877545
RS
7159 ;; XXX: FAIL: check-nautilus
7160 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
7161 #:tests? #f))
7162 (native-inputs
35e2d0cf
R
7163 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7164 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7165 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8b877545
RS
7166 ("gobject-introspection" ,gobject-introspection)
7167 ("intltool" ,intltool)
7168 ("pkg-config" ,pkg-config)))
8b877545 7169 (inputs
8b877545 7170 `(("dconf" ,dconf)
caf6c363 7171 ("gexiv2" ,gexiv2)
dd05e731 7172 ("gvfs" ,gvfs)
8b877545
RS
7173 ("exempi" ,exempi)
7174 ("gnome-desktop" ,gnome-desktop)
09d88905 7175 ("gnome-autoar" ,gnome-autoar)
3cafb9d4 7176 ("gst-plugins-base" ,gst-plugins-base)
ec66ebd4 7177 ("libseccomp" ,libseccomp)
35e2d0cf 7178 ("libselinux" ,libselinux)
09d88905 7179 ("tracker" ,tracker)
3cafb9d4 7180 ("tracker-miners" ,tracker-miners)
ce6027bf
SB
7181 ;; XXX: gtk+ is required by libnautilus-extension.pc
7182 ;;
7183 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
7184 ;; package. See:
7185 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
7186 ("gtk+" ,gtk+)
8b877545
RS
7187 ("libexif" ,libexif)
7188 ("libxml2" ,libxml2)))
7189 (synopsis "File manager for GNOME")
7190 (home-page "https://wiki.gnome.org/Apps/Nautilus")
7191 (description
7192 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
7193design and behaviour, giving the user a simple way to navigate and manage its
7194files.")
7195 (license license:gpl2+)))
3c697ffd
JR
7196
7197(define-public baobab
7198 (package
7199 (name "baobab")
e0c5f20c 7200 (version "3.32.0")
3c697ffd
JR
7201 (source (origin
7202 (method url-fetch)
7203 (uri (string-append
7204 "mirror://gnome/sources/" name "/"
7205 (version-major+minor version) "/"
7206 name "-" version ".tar.xz"))
7207 (sha256
7208 (base32
e0c5f20c 7209 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
d233d373
RJ
7210 (build-system meson-build-system)
7211 (arguments
7212 '(#:glib-or-gtk? #t))
3c697ffd
JR
7213 (native-inputs
7214 `(("intltool" ,intltool)
7215 ("pkg-config" ,pkg-config)
d233d373
RJ
7216 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7217 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
3c697ffd
JR
7218 ("itstool" ,itstool)
7219 ("xmllint" ,libxml2)
7220 ("glib" ,glib "bin")
7221 ("vala" ,vala)))
7222 (inputs
7223 `(("gtk+" ,gtk+)))
7224 (synopsis "Disk usage analyzer for GNOME")
7225 (description
7226 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
7227usage in the GNOME desktop environment. It can easily scan device volumes or
7228a specific user-requested directory branch (local or remote). Once the scan
7229is complete it provides a graphical representation of each selected folder.")
7230 (home-page "https://wiki.gnome.org/Apps/Baobab")
7231 (license license:gpl2+)))
dc050251 7232
fdba447c
RS
7233(define-public gnome-backgrounds
7234 (package
7235 (name "gnome-backgrounds")
e04e8a8c 7236 (version "3.32.0")
fdba447c
RS
7237 (source
7238 (origin
7239 (method url-fetch)
7240 (uri (string-append "mirror://gnome/sources/" name "/"
7241 (version-major+minor version) "/"
7242 name "-" version ".tar.xz"))
7243 (sha256
7244 (base32
e04e8a8c 7245 "1s5krdmd3md44p1fgr2lqm5ifxb8s1vzx6hm11sb4cgzr4dw6lrz"))))
9ca381f0 7246 (build-system meson-build-system)
fdba447c
RS
7247 (native-inputs
7248 `(("intltool" ,intltool)))
e04e8a8c 7249 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
fdba447c
RS
7250 (synopsis "Background images for the GNOME desktop")
7251 (description
7252 "GNOME backgrounds package contains a collection of graphics files which
7253can be used as backgrounds in the GNOME Desktop environment. Additionally,
7254the package creates the proper framework and directory structure so that you
7255can add your own files to the collection.")
7256 (license (list license:gpl2+
7257 license:cc-by2.0
7258 license:cc-by-sa2.0
7259 license:cc-by-sa3.0))))
7260
b784b1a9
RS
7261(define-public gnome-screenshot
7262 (package
7263 (name "gnome-screenshot")
6acf4033 7264 (version "3.32.0")
b784b1a9
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
6acf4033 7273 "09ha7dizjm5ymqpjyrqd10ijfb3xlqc1mwg9ajkrbfry11q9yq4b"))))
8356aefa 7274 (build-system meson-build-system)
b784b1a9
RS
7275 (native-inputs
7276 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8356aefa
RW
7277 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7278 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
b784b1a9 7279 ("intltool" ,intltool)
8356aefa 7280 ("appstream-glib" ,appstream-glib)
b784b1a9
RS
7281 ("pkg-config" ,pkg-config)))
7282 (inputs
7283 `(("gtk+" ,gtk+)
7284 ("libcanberra" ,libcanberra)
7285 ("libx11" ,libx11)
7286 ("libxext" ,libxext)))
676e7cb4 7287 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
b784b1a9
RS
7288 (synopsis "Take pictures of your screen")
7289 (description
7290 "GNOME Screenshot is a utility used for taking screenshots of the entire
7291screen, a window or a user defined area of the screen, with optional
7292beautifying border effects.")
7293 (license license:gpl2+)))
7294
66d59111
RS
7295(define-public dconf-editor
7296 (package
7297 (name "dconf-editor")
66261451 7298 (version "3.32.0")
66d59111
RS
7299 (source
7300 (origin
7301 (method url-fetch)
7302 (uri (string-append "mirror://gnome/sources/" name "/"
7303 (version-major+minor version) "/"
7304 name "-" version ".tar.xz"))
7305 (sha256
7306 (base32
66261451 7307 "1fmsmlh16njjm948grz20mzrsvb4wjj7pl1fvkrkxqi7mhr177gi"))))
294ff39d 7308 (build-system meson-build-system)
86f2124b
LC
7309 (arguments
7310 '(#:phases (modify-phases %standard-phases
7311 (add-before 'configure 'set-glib-minimum-version
7312 (lambda _
7313 ;; Change the minimum required GLib version so that
7314 ;; 'valac' is passed '--target-glib 2.60.0'; failing to
7315 ;; do that, it complains that "55" is not an even
7316 ;; number. See <https://bugs.gnu.org/37503>.
7317 (substitute* "editor/meson.build"
7318 (("2\\.55\\.1") "2.60.0"))
7319 #t)))))
66d59111
RS
7320 (native-inputs
7321 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
294ff39d 7322 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
66d59111 7323 ("intltool" ,intltool)
294ff39d
RW
7324 ("pkg-config" ,pkg-config)
7325 ("vala" ,vala)))
66d59111
RS
7326 (inputs
7327 `(("dconf" ,dconf)
7328 ("gtk+" ,gtk+)
7329 ("libxml2" ,libxml2)))
7330 (home-page "https://git.gnome.org/browse/dconf-editor")
7331 (synopsis "Graphical editor for GNOME's dconf configuration system")
7332 (description
7333 "Dconf-editor is a graphical tool for browsing and editing the dconf
7334configuration system for GNOME. It allows users to configure desktop
7335software that do not provide their own configuration interface.")
7336 (license license:lgpl2.1+)))
7337
96d36f38
AW
7338(define-public gnome-default-applications
7339 (package
7340 (name "gnome-default-applications")
7341 (version "0")
7342 (build-system trivial-build-system)
7343 (source #f)
7344 (propagated-inputs
8ad4f0aa
LC
7345 `(("nautilus" ,nautilus)
7346 ("evince" ,evince)))
96d36f38
AW
7347 (arguments
7348 `(#:modules ((guix build utils))
7349 #:builder
7350 (begin
7351 (use-modules (guix build utils))
7352 (let* ((out (assoc-ref %outputs "out"))
7353 (apps (string-append out "/share/applications")))
7354 (mkdir-p apps)
7355 (call-with-output-file (string-append apps "/defaults.list")
7356 (lambda (port)
7357 (format port "[Default Applications]\n")
8ad4f0aa
LC
7358 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
7359 (format port "application/pdf=evince.desktop\n")
7360 (format port "application/postscript=evince.desktop\n")))
96d36f38
AW
7361 #t))))
7362 (synopsis "Default MIME type associations for the GNOME desktop")
7363 (description
7364 "Given many installed packages which might handle a given MIME type, a
7365user running the GNOME desktop probably has some preferences: for example,
7366that folders be opened by default by the Nautilus file manager, not the Baobab
7367disk usage analyzer. This package establishes that set of default MIME type
7368associations for GNOME.")
7369 (license license:gpl3+)
7370 (home-page #f)))
7371
dc050251
SB
7372(define-public gnome
7373 (package
7374 (name "gnome")
7375 (version (package-version gnome-shell))
7376 (source #f)
7377 (build-system trivial-build-system)
e3cfef22 7378 (arguments '(#:builder (begin (mkdir %output) #t)))
dc050251 7379 (propagated-inputs
8d8c6bff 7380 ;; TODO: Add or remove packages according to:
a8cda7f5 7381 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
7922b6f7 7382 `(
8d8c6bff 7383 ;; GNOME-Core-OS-Services
7922b6f7 7384 ("accountsservice" ,accountsservice)
8d8c6bff
RG
7385 ("network-manager" ,network-manager)
7386 ("packagekit" ,packagekit)
7387 ("upower" ,upower)
7388 ;; GNOME-Core-Shell
7389 ("adwaita-icon-theme" ,adwaita-icon-theme)
7390 ("gdm" ,gdm)
7391 ("glib-networking" ,glib-networking)
7392 ("gnome-backgrounds" ,gnome-backgrounds)
7393 ("gnome-bluetooth" ,gnome-bluetooth)
7394 ("gnome-control-center" ,gnome-control-center)
7395 ("gnome-desktop" ,gnome-desktop)
7922b6f7 7396 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
8d8c6bff 7397 ("gnome-keyring" ,gnome-keyring)
7922b6f7 7398 ("gnome-menus" ,gnome-menus)
8d8c6bff
RG
7399 ("gnome-session" ,gnome-session)
7400 ("gnome-settings-daemon" ,gnome-settings-daemon)
7401 ("gnome-shell-extensions" ,gnome-shell-extensions)
7402 ("gnome-shell" ,gnome-shell)
7403 ("gnome-themes-extra" ,gnome-themes-extra)
7922b6f7 7404 ("gnome-user-docs" ,gnome-user-docs)
a8cda7f5 7405 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8d8c6bff
RG
7406 ("gvfs" ,gvfs)
7407 ("mutter" ,mutter)
7408 ("orca" ,orca)
7409 ;; GNOME-Core-Utilities
7410 ("baobab" ,baobab)
7411 ("cheese" ,cheese)
7412 ("eog" ,eog)
7413 ("epiphany" ,epiphany)
7414 ("evince" ,evince)
7415 ("file-roller" ,file-roller)
7416 ("gedit" ,gedit)
7417 ("gnome-calculator" ,gnome-calculator)
7418 ("gnome-calendar" ,gnome-calendar)
7419 ("gnome-characters" ,gnome-characters)
7420 ("gnome-clocks" ,gnome-clocks)
7421 ("gnome-contacts" ,gnome-contacts)
7422 ("gnome-disk-utility" ,gnome-disk-utility)
7423 ("gnome-font-viewer" ,gnome-font-viewer)
7424 ("gnome-maps" ,gnome-maps)
7425 ("gnome-screenshot" ,gnome-screenshot)
7426 ("gnome-system-monitor" ,gnome-system-monitor)
7427 ("gnome-terminal" ,gnome-terminal)
7428 ("nautilus" ,nautilus)
7429 ("simple-scan" ,simple-scan)
7430 ("totem" ,totem)
7922b6f7
RG
7431 ("yelp" ,yelp)
7432 ;; Others
7433 ("hicolor-icon-theme" ,hicolor-icon-theme)
7434 ("gnome-online-accounts" ,gnome-online-accounts)))
fe4e698d 7435 (synopsis "The GNU desktop environment")
dc050251
SB
7436 (home-page "https://www.gnome.org/")
7437 (description
fe4e698d
LC
7438 "GNOME is the graphical desktop for GNU. It includes a wide variety of
7439applications for browsing the web, editing text and images, creating
7440documents and diagrams, playing media, scanning, and much more.")
dc050251 7441 (license license:gpl2+)))
4a526711
DT
7442
7443(define-public byzanz
7444 ;; The last stable release of Byzanz was in 2011, but there have been many
7445 ;; useful commits made to the Byzanz repository since then that it would be
7446 ;; silly to use such an old release.
7447 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
7448 (package
7449 (name "byzanz")
7450 (version (string-append "0.2-1." (string-take commit 7)))
7451 (source (origin
7452 (method git-fetch)
7453 (uri (git-reference
5f13bf09 7454 (url "https://git.gnome.org/browse/byzanz")
4a526711 7455 (commit commit)))
5a6527e4 7456 (file-name (string-append name "-" version "-checkout"))
4a526711
DT
7457 (sha256
7458 (base32
7459 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
7460 (build-system glib-or-gtk-build-system)
7461 (arguments
7462 '(#:phases
7463 (modify-phases %standard-phases
189be331 7464 (replace 'bootstrap
4a526711
DT
7465 (lambda _
7466 ;; The build system cleverly detects that we're not building from
7467 ;; a release tarball and turns on -Werror for GCC.
7468 ;; Unsurprisingly, there is a warning during compilation that
7469 ;; causes the build to fail unnecessarily, so we remove the flag.
7470 (substitute* '("configure.ac")
7471 (("-Werror") ""))
7472 ;; The autogen.sh script in gnome-common will run ./configure
7473 ;; by default, which is problematic because source shebangs
7474 ;; have not yet been patched.
7475 (setenv "NOCONFIGURE" "t")
7476 (zero? (system* "sh" "autogen.sh")))))))
7477 (native-inputs
7478 `(("autoconf" ,autoconf)
7479 ("automake" ,automake)
7480 ("gnome-common" ,gnome-common)
7481 ("intltool" ,intltool)
7482 ("libtool" ,libtool)
7483 ("pkg-config" ,pkg-config)
7484 ("which" ,which)))
7485 (inputs
7486 `(("glib" ,glib)
7487 ("gstreamer" ,gstreamer)
7488 ("gst-plugins-base" ,gst-plugins-base)
7489 ("gtk+" ,gtk+)))
7490 (synopsis "Desktop recording program")
7491 (description "Byzanz is a simple desktop recording program with a
7492command-line interface. It can record part or all of an X display for a
7493specified duration and save it as a GIF encoded animated image file.")
7494 (home-page "https://git.gnome.org/browse/byzanz")
7495 (license license:gpl2+))))
3a9a4c51 7496
0ec171ec
MS
7497(define-public gsound
7498 (package
7499 (name "gsound")
7500 (version "1.0.2")
7501 (source (origin
7502 (method url-fetch)
7503 (uri (string-append "mirror://gnome/sources/" name "/"
7504 (version-major+minor version) "/"
7505 name "-" version ".tar.xz"))
7506 (sha256
7507 (base32
7508 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
7509 (build-system glib-or-gtk-build-system)
7510 (native-inputs
7511 `(("pkg-config" ,pkg-config)
7512 ("gobject-introspection" ,gobject-introspection)
7513 ("vala" ,vala)))
7514 (inputs
7515 `(("glib" ,glib)
7516 ("libcanberra" ,libcanberra)))
7517 (home-page "https://wiki.gnome.org/Projects/GSound")
7518 (synopsis "GObject wrapper for libcanberra")
7519 (description
7520 "GSound is a small library for playing system sounds. It's designed to be
7521used via GObject Introspection, and is a thin wrapper around the libcanberra C
7522library.")
7523 (license license:lgpl2.1+)))
7524
3a9a4c51
RS
7525(define-public libzapojit
7526 (package
7527 (name "libzapojit")
7528 (version "0.0.3")
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 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
7537 (build-system gnu-build-system)
7538 (native-inputs
7539 `(("gobject-introspection" ,gobject-introspection)
7540 ("intltool" ,intltool)
7541 ("pkg-config" ,pkg-config)))
7542 (inputs
14c297fd 7543 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
3a9a4c51
RS
7544 ("json-glib" ,json-glib)
7545 ("rest" ,rest)))
7546 (home-page "https://wiki.gnome.org/Projects/Zapojit")
7547 (synopsis "Library for accessing SkyDrive and Hotmail")
7548 (description
7549 "Libzapojit is a GLib-based library for accessing online service APIs of
7550Microsoft SkyDrive and Hotmail, using their REST protocols.")
7551 (license license:lgpl2.1+)))
9365ee1c 7552
60e2a9ae
MS
7553(define-public gnome-clocks
7554 (package
7555 (name "gnome-clocks")
c76d0dbc 7556 (version "3.32.0")
60e2a9ae
MS
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
c76d0dbc 7564 "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc"))))
60e2a9ae
MS
7565 (build-system meson-build-system)
7566 (arguments
7567 '(#:glib-or-gtk? #t))
7568 (native-inputs
7569 `(("vala" ,vala)
7570 ("pkg-config" ,pkg-config)
7571 ("glib" ,glib "bin") ; for glib-compile-resources
7572 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
7573 ("desktop-file-utils" ,desktop-file-utils)
7574 ("gettext" ,gettext-minimal)
7575 ("itstool" ,itstool)))
7576 (inputs
7577 `(("glib" ,glib)
7578 ("gtk+" ,gtk+)
7579 ("gsound" ,gsound)
7580 ("geoclue" ,geoclue)
7581 ("geocode-glib" ,geocode-glib)
7582 ("libgweather" ,libgweather)
7583 ("gnome-desktop" ,gnome-desktop)))
7584 (home-page "https://wiki.gnome.org/Apps/Clocks")
7585 (synopsis "GNOME's clock application")
7586 (description
7587 "GNOME Clocks is a simple clocks application designed to fit the GNOME
7588desktop. It supports world clock, stop watch, alarms, and count down timer.")
7589 (license license:gpl3+)))
7590
3c474897
KY
7591(define-public gnome-calendar
7592 (package
7593 (name "gnome-calendar")
339b59bf 7594 (version "3.32.2")
3c474897
KY
7595 (source (origin
7596 (method url-fetch)
7597 (uri (string-append "mirror://gnome/sources/" name "/"
7598 (version-major+minor version) "/"
7599 name "-" version ".tar.xz"))
7600 (sha256
7601 (base32
339b59bf 7602 "07p73cvzj8idr80npja5yiv9pjfyi6qqfhaz5jwcgqspqbnhnl7k"))))
a49d3e37
MS
7603 (build-system meson-build-system)
7604 (arguments
7605 '(#:glib-or-gtk? #t
7606 ;; gnome-calendar has to be installed before the tests can be run
7607 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
7608 #:tests? #f))
3c474897 7609 (native-inputs
a49d3e37
MS
7610 `(("gettext" ,gettext-minimal)
7611 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
7612 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
3c474897
KY
7613 ("pkg-config" ,pkg-config)))
7614 (inputs
a49d3e37 7615 `(("evolution-data-server" ,evolution-data-server)
14c297fd 7616 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
a286b5eb
RW
7617 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7618 ("libdazzle" ,libdazzle)
b63c06f1 7619 ("libedataserverui" ,evolution-data-server)
a286b5eb
RW
7620 ("libgweather" ,libgweather)
7621 ("geoclue" ,geoclue)))
3c474897
KY
7622 (home-page "https://wiki.gnome.org/Apps/Calendar")
7623 (synopsis "GNOME's calendar application")
7624 (description
7625 "GNOME Calendar is a simple calendar application designed to fit the GNOME
a49d3e37 7626desktop. It supports multiple calendars, month, week and year view.")
3c474897
KY
7627 (license license:gpl3+)))
7628
57b14665
MS
7629(define-public gnome-todo
7630 (package
7631 (name "gnome-todo")
9f3c6c88 7632 (version "3.28.1")
57b14665
MS
7633 (source (origin
7634 (method url-fetch)
7635 (uri (string-append "mirror://gnome/sources/" name "/"
7636 (version-major+minor version) "/"
7637 name "-" version ".tar.xz"))
7638 (sha256
7639 (base32
9f3c6c88 7640 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
57b14665
MS
7641 (build-system meson-build-system)
7642 (arguments
7643 '(#:glib-or-gtk? #t
7644 #:phases (modify-phases %standard-phases
7645 (add-after
7646 'install 'wrap-gnome-todo
7647 (lambda* (#:key inputs outputs #:allow-other-keys)
7648 (let ((out (assoc-ref outputs "out"))
7649 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7650 (python-path (getenv "PYTHONPATH")))
7651 (wrap-program (string-append out "/bin/gnome-todo")
7652 ;; XXX: gi plugins are broken.
7653 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
7654 ;; For plugins.
7655 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7656 `("PYTHONPATH" ":" prefix (,python-path))))
7657 #t)))))
7658 (native-inputs
7659 `(("gettext" ,gettext-minimal)
7660 ("gobject-introspection" ,gobject-introspection)
7661 ("glib:bin" ,glib "bin") ; For glib-compile-resources
7662 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7663 ("pkg-config" ,pkg-config)))
7664 (inputs
7665 `(("rest" ,rest) ; For Todoist plugin
7666 ("json-glib" ,json-glib) ; For Todoist plugin
b63c06f1 7667 ("libedataserverui" ,evolution-data-server)
57b14665
MS
7668 ("libical" ,libical)
7669 ("libpeas" ,libpeas)
7670 ("python-pygobject" ,python-pygobject)
7671 ("evolution-data-server" ,evolution-data-server)
14c297fd 7672 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
57b14665
MS
7673 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
7674 (home-page "https://wiki.gnome.org/Apps/Todo")
7675 (synopsis "GNOME's ToDo Application")
7676 (description
7677 "GNOME To Do is a simplistic personal task manager designed to perfectly
7678fit the GNOME desktop.")
7679 (license license:gpl3+)))
7680
ab179eaf
SB
7681(define-public gnome-dictionary
7682 (package
7683 (name "gnome-dictionary")
cf81ddef 7684 (version "3.26.1")
ab179eaf
SB
7685 (source (origin
7686 (method url-fetch)
7687 (uri (string-append "mirror://gnome/sources/" name "/"
7688 (version-major+minor version) "/"
7689 name "-" version ".tar.xz"))
7690 (sha256
7691 (base32
cf81ddef
LC
7692 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
7693 (build-system meson-build-system)
2776b5d5
MB
7694 (arguments '(#:glib-or-gtk? #t
7695 #:phases (modify-phases %standard-phases
7696 (add-after 'unpack 'patch-install-script
7697 (lambda _
7698 ;; This script attempts to compile glib schemas
7699 ;; and create an empty MIME database. We do
7700 ;; that elsewhere, so prevent it from running.
7701 (substitute* "build-aux/post-install.sh"
7702 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
7703 #t)))))
ab179eaf
SB
7704 (native-inputs
7705 `(("glib:bin" ,glib "bin")
7706 ("gobject-introspection" ,gobject-introspection)
7707 ("intltool" ,intltool)
7708 ("itstool" ,itstool)
7709 ("pkg-config" ,pkg-config)
7710 ("xmllint" ,libxml2)))
7711 (inputs
7712 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7713 ("gtk+" ,gtk+)))
7714 (home-page "https://wiki.gnome.org/Apps/Dictionary")
7715 (synopsis "Look up words in dictionary sources")
7716 (description
7717 "GNOME Dictionary can look for the definition or translation of a word in
7718existing databases over the internet.")
7719 (license license:gpl3+)))
7720
d13f3a03 7721(define-public gnome-tweaks
9365ee1c 7722 (package
d13f3a03 7723 (name "gnome-tweaks")
652af676 7724 (version "3.32.0")
9365ee1c
JN
7725 (source (origin
7726 (method url-fetch)
d13f3a03 7727 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9365ee1c 7728 (version-major+minor version) "/"
d13f3a03
RW
7729 "gnome-tweaks-" version ".tar.xz"))
7730 (patches
7731 (list (search-patch "gnome-tweaks-search-paths.patch")))
9365ee1c
JN
7732 (sha256
7733 (base32
652af676 7734 "037r35cw34ifcs676fq9n2v4mh1nkqx0qk474bznf18mr6r62h55"))))
d13f3a03 7735 (build-system meson-build-system)
9365ee1c 7736 (arguments
d13f3a03
RW
7737 `(#:glib-or-gtk? #t
7738 #:configure-flags '("-Dlocalstatedir=/tmp"
7739 "-Dsysconfdir=/tmp")
9365ee1c 7740 #:imported-modules ((guix build python-build-system)
d13f3a03
RW
7741 ,@%meson-build-system-modules)
7742 #:phases
7743 (modify-phases %standard-phases
7744 (add-after 'install 'wrap
7745 (@@ (guix build python-build-system) wrap))
7746 (add-after 'wrap 'wrap-gi-typelib
7747 (lambda* (#:key inputs outputs #:allow-other-keys)
7748 (let ((out (assoc-ref outputs "out"))
7749 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7750 (wrap-program (string-append out "/bin/gnome-tweaks")
7751 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7752 #t)))))
9365ee1c 7753 (native-inputs
c7fc414e
RH
7754 `(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
7755 ("intltool" ,intltool)
9365ee1c
JN
7756 ("pkg-config" ,pkg-config)))
7757 (inputs
c7fc414e
RH
7758 `(("gnome-desktop" ,gnome-desktop)
7759 ("gtk+" ,gtk+)
9365ee1c
JN
7760 ("gobject-introspection" ,gobject-introspection)
7761 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
c7fc414e
RH
7762 ("libnotify" ,libnotify)
7763 ("libsoup" ,libsoup)
7764 ("nautilus" ,nautilus)
7765 ("python" ,python)
7766 ("python-pygobject" ,python-pygobject)))
9365ee1c 7767 (synopsis "Customize advanced GNOME 3 options")
d13f3a03 7768 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9365ee1c 7769 (description
d13f3a03 7770 "GNOME Tweaks allows adjusting advanced configuration settings in
9365ee1c
JN
7771GNOME 3. This includes things like the fonts used in user interface elements,
7772alternative user interface themes, changes in window management behavior,
7773GNOME Shell appearance and extension, etc.")
7774 (license license:gpl3+)))
813f814a 7775
d13f3a03
RW
7776;; This package has been renamed by upstream.
7777(define-public gnome-tweak-tool
7778 (deprecated-package "gnome-tweak-tool" gnome-tweaks))
7779
32ac717c
DT
7780(define-public gnome-shell-extensions
7781 (package
7782 (name "gnome-shell-extensions")
ae4c05e0 7783 (version "3.32.1")
32ac717c
DT
7784 (source (origin
7785 (method url-fetch)
7786 (uri (string-append "mirror://gnome/sources/" name "/"
7787 (version-major+minor version) "/"
7788 name "-" version ".tar.xz"))
7789 (sha256
7790 (base32
ae4c05e0 7791 "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2"))))
100f625b 7792 (build-system meson-build-system)
32ac717c 7793 (arguments
100f625b 7794 '(#:configure-flags '("-Dextension_set=all")))
32ac717c 7795 (native-inputs
c9ea8873
LP
7796 `(("glib:bin" ,glib "bin")
7797 ("intltool" ,intltool)
32ac717c
DT
7798 ("pkg-config" ,pkg-config)))
7799 (propagated-inputs
c9ea8873 7800 `(("glib" ,glib)))
32ac717c
DT
7801 (synopsis "Extensions for GNOME Shell")
7802 (description "GNOME Shell extensions modify and extend GNOME Shell
7803functionality and behavior.")
7804 (home-page "https://extensions.gnome.org/")
7805 (license license:gpl3+)))
7806
813f814a
DT
7807(define-public arc-theme
7808 (package
7809 (name "arc-theme")
37781323 7810 (version "20190917")
813f814a 7811 (source (origin
a18f8eaf
BH
7812 (method git-fetch)
7813 (uri (git-reference
7814 (url "https://github.com/NicoHood/arc-theme.git")
7815 (commit version)))
7816 (file-name (git-file-name name version))
813f814a
DT
7817 (sha256
7818 (base32
37781323 7819 "1qgpk4p2hi5hd4yy0hj93kq1vs0b32wb8qkaj1wi90c8gwddq5wa"))))
813f814a 7820 (build-system gnu-build-system)
d88884fa
EF
7821 (arguments
7822 '(#:phases
7823 (modify-phases %standard-phases
7824 ;; autogen.sh calls configure at the end of the script.
7825 (replace 'bootstrap
7826 (lambda _ (invoke "autoreconf" "-vfi"))))))
813f814a
DT
7827 (native-inputs
7828 `(("autoconf" ,autoconf)
7829 ("automake" ,automake)
a18f8eaf
BH
7830 ("glib" ,glib "bin") ; for glib-compile-resources
7831 ("gnome-shell" ,gnome-shell)
7832 ("gtk+" ,gtk+)
7833 ("inkscape" ,inkscape)
7834 ("optipng" ,optipng)
7835 ("pkg-config" ,pkg-config)
7836 ("sassc" ,sassc)))
813f814a
DT
7837 (synopsis "A flat GTK+ theme with transparent elements")
7838 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
78392, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
7840like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
7841 (home-page "https://github.com/horst3180/arc-theme")
7842 ;; No "or later" language found.
a18f8eaf 7843 (license license:gpl3+)))
9987c57c 7844
d935e6a1 7845(define-public faba-icon-theme
9987c57c 7846 (package
d935e6a1 7847 (name "faba-icon-theme")
2eee7ee3 7848 (version "4.3")
d935e6a1
BT
7849 (source
7850 (origin
757e4027
TGR
7851 (method git-fetch)
7852 (uri (git-reference
7853 (url "https://github.com/snwh/faba-icon-theme.git")
7854 (commit (string-append "v" version))))
7855 (file-name (git-file-name name version))
d935e6a1 7856 (sha256
757e4027 7857 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
f6a9b345 7858 (build-system meson-build-system)
9987c57c 7859 (arguments
82da291a 7860 `(#:phases
9987c57c 7861 (modify-phases %standard-phases
82da291a 7862 (add-before 'configure 'disable-post-install
9987c57c 7863 (lambda _
82da291a
JL
7864 (substitute* "meson.build"
7865 (("meson.add_install_script.*") "")))))))
9987c57c
DT
7866 (native-inputs
7867 `(("autoconf" ,autoconf)
7868 ("automake" ,automake)))
d935e6a1
BT
7869 (synopsis "Faba icon theme")
7870 (description
7871 "Faba is a minimal icon set used as a basis for other themes such as
7872Moka")
7873 (home-page "https://snwh.org/moka")
7874 (license (list license:lgpl3+
7875 license:cc-by-sa4.0))))
7876
9987c57c
DT
7877(define-public moka-icon-theme
7878 (package
8b0e4177 7879 (inherit faba-icon-theme)
9987c57c 7880 (name "moka-icon-theme")
105a3625 7881 (version "5.4.0")
8c3f2170
TGR
7882 (source
7883 (origin
7884 (method git-fetch)
7885 (uri (git-reference
7886 (url "https://github.com/snwh/moka-icon-theme.git")
7887 (commit (string-append "v" version))))
7888 (file-name (git-file-name name version))
7889 (sha256
7890 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
550281fb
BT
7891 (propagated-inputs
7892 ;; Moka is based on Faba by using it as a fallback icon set instead of
7893 ;; bundling it, so we need to add it as a propagated input.
7894 `(("faba-icon-theme" ,faba-icon-theme)))
9987c57c
DT
7895 (synopsis "Moka icon theme")
7896 (description "Moka is a stylized desktop icon set, designed to be clear,
7897simple and consistent.")
fedde43b
BT
7898 (license (list license:gpl3+
7899 license:cc-by-sa4.0))))
6fd8f8d6
DT
7900
7901(define-public arc-icon-theme
7902 (package
7903 (name "arc-icon-theme")
c4180240 7904 (version "20161122")
bbf66cbf
TGR
7905 (source
7906 (origin
7907 (method git-fetch)
7908 (uri (git-reference
7909 (url "https://github.com/horst3180/arc-icon-theme.git")
7910 (commit version)))
7911 (file-name (git-file-name name version))
7912 (sha256
7913 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
6fd8f8d6 7914 (build-system gnu-build-system)
9e1ede95
JL
7915 (arguments
7916 `(#:phases
7917 (modify-phases %standard-phases
7918 (add-after 'unpack 'disable-configure-during-bootstrap
7919 (lambda _
7920 (substitute* "autogen.sh"
7921 (("^\"\\$srcdir/configure\".*") ""))
7922 #t)))))
6fd8f8d6
DT
7923 (native-inputs
7924 `(("autoconf" ,autoconf)
7925 ("automake" ,automake)))
7926 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
7927 (propagated-inputs
7928 `(("moka-icon-theme" ,moka-icon-theme)))
7929 (synopsis "Arc icon theme")
7930 (description "The Arc icon theme provides a set of icons matching the
7931style of the Arc GTK theme. Icons missing from the Arc theme are provided by
7932the Moka icon theme.")
7933 (home-page "https://github.com/horst3180/arc-icon-theme")
7934 (license license:gpl3+)))
6064a4e8
LF
7935
7936(define-public folks
7937 (package
7938 (name "folks")
d23495fa 7939 (version "0.11.4")
6064a4e8
LF
7940 (source (origin
7941 (method url-fetch)
7942 (uri (string-append
e5f4796e 7943 "mirror://gnome/sources/folks/"
6064a4e8 7944 (version-major+minor version) "/"
e5f4796e 7945 "folks-" version ".tar.xz"))
6064a4e8
LF
7946 (sha256
7947 (base32
d23495fa 7948 "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"))))
6064a4e8
LF
7949 (build-system glib-or-gtk-build-system)
7950 (inputs
7951 `(("bdb" ,bdb)
7952 ("dbus-glib" ,dbus-glib)
7953 ("evolution-data-server" ,evolution-data-server)
7954 ("glib" ,glib)
7955 ("libgee" ,libgee)
7956 ("telepathy-glib" ,telepathy-glib)))
7957 (native-inputs
7958 `(("gobject-introspection" ,gobject-introspection)
7959 ("intltool" ,intltool)
7960 ("pkg-config" ,pkg-config)
7961 ("vala" ,vala)))
7962 (synopsis "Library to aggregate data about people")
7963 (description "Libfolks is a library that aggregates information about people
7964from multiple sources (e.g., Telepathy connection managers for IM contacts,
7965Evolution Data Server for local contacts, libsocialweb for web service contacts,
7966etc.) to create metacontacts. It's written in Vala, which generates C code when
7967compiled.")
7968 (home-page "https://wiki.gnome.org/Projects/Folks")
7969 (license license:lgpl2.1+)))
01ea778f
LF
7970
7971(define-public gfbgraph
7972 (package
7973 (name "gfbgraph")
7974 (version "0.2.3")
7975 (source (origin
7976 (method url-fetch)
7977 (uri (string-append
237d4cf7 7978 "mirror://gnome/sources/gfbgraph/"
01ea778f 7979 (version-major+minor version) "/"
237d4cf7 7980 "gfbgraph-" version ".tar.xz"))
01ea778f
LF
7981 (sha256
7982 (base32
7983 "1dp0v8ia35fxs9yhnqpxj3ir5lh018jlbiwifjfn8ayy7h47j4fs"))))
7984 (build-system glib-or-gtk-build-system)
7985 (arguments
7986 `(#:tests? #f ; Tests appear to require the network.
7987 ;; FIXME --enable-gtk-doc fails even with gtk-doc as a native-input.
7988 #:configure-flags '("--disable-gtk-doc"
7989 "--disable-static"
7990 "--enable-introspection")))
7991 (native-inputs
7992 `(("pkg-config" ,pkg-config)
7993 ("gobject-introspection" ,gobject-introspection)))
7994 (inputs
7995 `(("json-glib" ,json-glib)
14c297fd 7996 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
01ea778f
LF
7997 ("rest" ,rest)))
7998 (synopsis "GLib/GObject wrapper for the Facebook API")
7999 (description "This library allows you to use the Facebook API from
8000GLib/GObject code.")
8001 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
8002 (license license:lgpl2.1+)))
3920868c 8003
8004(define-public libgnomekbd
8005 (package
8006 (name "libgnomekbd")
70f2b0f9 8007 (version "3.26.1")
3920868c 8008 (source (origin
8009 (method url-fetch)
d47fa82d 8010 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
3920868c 8011 (version-major+minor version) "/"
d47fa82d 8012 "libgnomekbd-" version ".tar.xz"))
3920868c 8013 (sha256
8014 (base32
70f2b0f9 8015 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
3920868c 8016 (build-system gnu-build-system)
8017 (native-inputs
8018 `(("pkg-config" ,pkg-config)
8019 ("glib" ,glib "bin")
8020 ("intltool" ,intltool)))
8021 (propagated-inputs
8022 ;; Referred to in .h files and .pc.
8023 `(("glib" ,glib)
8024 ("gtk+" ,gtk+)
8025 ("libxklavier" ,libxklavier)))
8026 (home-page "https://www.gnome.org")
8027 (synopsis "GNOME keyboard configuration library")
8028 (description
8029 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
8030environment, which can notably display keyboard layouts.")
8031 (license license:lgpl2.0+)))
85327d0d 8032
8033;;; This package is no longer maintained:
8034;;; https://wiki.gnome.org/Attic/LibUnique
8035;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
8036;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
8037(define-public libunique
8038 (package
8039 (name "libunique")
8040 (version "3.0.2")
8041 (source (origin
8042 (method url-fetch)
8043 (uri (string-append "mirror://gnome/sources/" name "/"
8044 (version-major+minor version) "/"
8045 name "-" version ".tar.xz"))
8046 (sha256
8047 (base32
8048 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
8049 (build-system glib-or-gtk-build-system)
8050 (arguments
8051 `(#:configure-flags '("--disable-static"
8052 "--disable-dbus" ; use gdbus
8053 "--enable-introspection")))
8054 (native-inputs
8055 `(("pkg-config" ,pkg-config)
8056 ("gobject-introspection" ,gobject-introspection)
8057 ("glib:bin" ,glib "bin")
8058 ("gtk-doc" ,gtk-doc)))
8059 (propagated-inputs
8060 ;; Referred to in .h files and .pc.
8061 `(("gtk+" ,gtk+)))
8062 (home-page "https://wiki.gnome.org/Attic/LibUnique")
8063 (synopsis "Library for writing single instance applications")
8064 (description
8065 "Libunique is a library for writing single instance applications. If you
8066launch a single instance application twice, the second instance will either just
8067quit or will send a message to the running instance. Libunique makes it easy to
8068write this kind of application, by providing a base class, taking care of all
8069the IPC machinery needed to send messages to a running instance, and also
8070handling the startup notification side.")
8071 (license license:lgpl2.1+)))
54021cd8
RS
8072
8073(define-public gnome-calculator
8074 (package
8075 (name "gnome-calculator")
07ace641 8076 (version "3.32.2")
54021cd8
RS
8077 (source
8078 (origin
8079 (method url-fetch)
8080 (uri (string-append "mirror://gnome/sources/" name "/"
8081 (version-major+minor version) "/"
8082 name "-" version ".tar.xz"))
8083 (sha256
8084 (base32
07ace641 8085 "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41"))))
2d475910
RW
8086 (build-system meson-build-system)
8087 (arguments '(#:glib-or-gtk? #t))
54021cd8
RS
8088 (native-inputs
8089 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
2d475910 8090 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
54021cd8
RS
8091 ("intltool" ,intltool)
8092 ("itstool" ,itstool)
2d475910 8093 ("vala" ,vala)
54021cd8
RS
8094 ("pkg-config" ,pkg-config)))
8095 (inputs
112e9083 8096 `(("glib" ,glib)
07ace641 8097 ("gtksourceview" ,gtksourceview)
54021cd8 8098 ("libsoup" ,libsoup)
112e9083 8099 ("libxml2" ,libxml2)
2c2da7ec 8100 ("mpc" ,mpc)
54021cd8
RS
8101 ("mpfr" ,mpfr)))
8102 (home-page "https://wiki.gnome.org/Apps/Calculator")
8103 (synopsis "Desktop calculator")
8104 (description
8105 "Calculator is an application that solves mathematical equations and
8106is suitable as a default application in a Desktop environment.")
8107 (license license:gpl3)))
0bd69759
RS
8108
8109(define-public xpad
8110 (package
8111 (name "xpad")
c85626bb 8112 (version "5.1.0")
0bd69759
RS
8113 (source
8114 (origin
8115 (method url-fetch)
08fda9c6
R
8116 (uri (string-append "https://launchpad.net/xpad/trunk/"
8117 version "/+download/"
0bd69759
RS
8118 name "-" version ".tar.bz2"))
8119 (sha256
8120 (base32
c85626bb 8121 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
0bd69759
RS
8122 (build-system gnu-build-system)
8123 (native-inputs
08fda9c6
R
8124 `(("autoconf" ,autoconf)
8125 ("automake" ,automake)
8126 ("gtk+:bin" ,gtk+ "bin")
8127 ("intltool" ,intltool)
0bd69759
RS
8128 ("pkg-config" ,pkg-config)))
8129 (inputs
c72647fb 8130 `(("gtksourceview" ,gtksourceview-3)
0bd69759
RS
8131 ("libsm" ,libsm)))
8132 (home-page "https://wiki.gnome.org/Apps/Xpad")
8133 (synopsis "Virtual sticky note")
8134 (description
8135 "Xpad is a sticky note that strives to be simple, fault tolerant,
8136and customizable. Xpad consists of independent pad windows, each is
8137basically a text box in which notes can be written.")
8138 (license license:gpl3+)))
3ad7dce1
RS
8139
8140(define-public gucharmap
c60063ea
RW
8141 (let ((unicode-files
8142 '(("Blocks.txt"
1f8b5515 8143 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
c60063ea 8144 ("DerivedAge.txt"
1f8b5515 8145 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
c60063ea 8146 ("NamesList.txt"
1f8b5515 8147 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
c60063ea 8148 ("Scripts.txt"
1f8b5515 8149 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
c60063ea 8150 ("UnicodeData.txt"
1f8b5515 8151 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
c60063ea 8152 ("Unihan.zip"
1f8b5515 8153 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
c60063ea
RW
8154 (package
8155 (name "gucharmap")
1f8b5515 8156 (version "12.0.1")
c60063ea
RW
8157 (source
8158 (origin
8159 (method url-fetch)
8160 (uri (string-append "mirror://gnome/sources/" name "/"
8161 (version-major+minor version) "/"
8162 name "-" version ".tar.xz"))
8163 (sha256
8164 (base32
1f8b5515 8165 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
c60063ea
RW
8166 (build-system glib-or-gtk-build-system)
8167 (arguments
8168 `(#:modules ((ice-9 match)
8169 (guix build glib-or-gtk-build-system)
8170 (guix build utils))
8171 #:configure-flags
8172 (list "--with-unicode-data=../unicode-data")
8173 #:phases
8174 (modify-phases %standard-phases
8175 (add-after 'unpack 'prepare-unicode-data
8176 (lambda* (#:key inputs #:allow-other-keys)
8177 (mkdir-p "../unicode-data")
8178 (with-directory-excursion "../unicode-data"
8179 (for-each (match-lambda
8180 ((file _)
8181 (install-file (assoc-ref inputs file) ".")))
8182 ',unicode-files))
8183 #t)))))
8184 (native-inputs
8185 `(("desktop-file-utils" ,desktop-file-utils)
8186 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
8187 ("gobject-introspection" ,gobject-introspection)
8188 ("intltool" ,intltool)
8189 ("itstool" ,itstool)
8190 ("pkg-config" ,pkg-config)
8191 ,@(map (match-lambda
8192 ((file hash)
8193 `(,file
8194 ,(origin
8195 (method url-fetch)
8196 (uri (string-append
1f8b5515 8197 "http://www.unicode.org/Public/12.0.0/ucd/"
c60063ea
RW
8198 file))
8199 (sha256 (base32 hash))))))
8200 unicode-files)
8201 ("unzip" ,unzip)))
8202 (inputs
8203 `(("gtk+" ,gtk+)
8204 ("xmllint" ,libxml2)))
8205 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
8206 (synopsis "Unicode character picker and font browser")
8207 (description
8208 "This program allows you to browse through all the available Unicode
3ad7dce1
RS
8209characters and categories for the installed fonts, and to examine their
8210detailed properties. It is an easy way to find the character you might
8211only know by its Unicode name or code point.")
c60063ea 8212 (license license:gpl3+))))
04ce840a
RS
8213
8214(define-public bluefish
8215 (package
8216 (name "bluefish")
ea8afaf3 8217 (version "2.2.10")
04ce840a
RS
8218 (source
8219 (origin
8220 (method url-fetch)
8221 (uri (string-append "http://www.bennewitz.com/bluefish/stable/source/"
8222 name "-" version ".tar.gz"))
8223 (sha256
8224 (base32
ea8afaf3 8225 "1jw4has7lbp77lqmzvnnjmqcf0lacjfnka873lkkwdyrpzc4c1q4"))))
04ce840a
RS
8226 (build-system gnu-build-system)
8227 (native-inputs
8228 `(("desktop-file-utils" ,desktop-file-utils)
8229 ("intltool" ,intltool)
8230 ("pkg-config" ,pkg-config)))
8231 (inputs
8232 `(("enchant" ,enchant)
8233 ("gtk+" ,gtk+)
8234 ("python" ,python-2)
8235 ("xmllint" ,libxml2)
8236 ("gucharmap" ,gucharmap)))
8237 (home-page "http://bluefish.openoffice.nl")
8238 (synopsis "Web development studio")
8239 (description
8240 "Bluefish is an editor targeted towards programmers and web developers,
8241with many options to write web sites, scripts and other code.
8242Bluefish supports many programming and markup languages.")
8243 (license license:gpl3+)))
1f6a73ee
RS
8244
8245(define-public gnome-system-monitor
8246 (package
8247 (name "gnome-system-monitor")
083cffaf 8248 (version "3.32.1")
1f6a73ee
RS
8249 (source
8250 (origin
8251 (method url-fetch)
8252 (uri (string-append "mirror://gnome/sources/" name "/"
8253 (version-major+minor version) "/"
8254 name "-" version ".tar.xz"))
8255 (sha256
8256 (base32
083cffaf 8257 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
85fb3df3
RW
8258 (build-system meson-build-system)
8259 (arguments
8260 '(#:glib-or-gtk? #t
8261 #:configure-flags '("-Dsystemd=false")))
1f6a73ee
RS
8262 (native-inputs
8263 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
85fb3df3 8264 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
1f6a73ee
RS
8265 ("intltool" ,intltool)
8266 ("itstool" ,itstool)
8267 ("libgtop" ,libgtop)
4985d9aa 8268 ("polkit" ,polkit)
1f6a73ee
RS
8269 ("pkg-config" ,pkg-config)))
8270 (inputs
8271 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
8272 ("gtk+" ,gtk+)
8273 ("gtkmm" ,gtkmm)
8274 ("librsvg" ,librsvg)
4985d9aa
RW
8275 ("libxml2" ,libxml2)
8276 ("libwnck" ,libwnck)))
1f6a73ee
RS
8277 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
8278 (synopsis "Process viewer and system resource monitor for GNOME")
8279 (description
8280 "GNOME System Monitor is a GNOME process viewer and system monitor with
8281an attractive, easy-to-use interface. It has features, such as a tree view
8282for process dependencies, icons for processes, the ability to hide processes,
8283graphical time histories of CPU/memory/swap usage and the ability to
8284kill/reinice processes.")
8285 (license license:gpl2+)))
3e00ac47
SB
8286
8287(define-public python-pyatspi
8288 (package
8289 (name "python-pyatspi")
4f937a32 8290 (version "2.34.0")
3e00ac47
SB
8291 (source (origin
8292 (method url-fetch)
8293 (uri (string-append
8294 "mirror://gnome/sources/pyatspi/"
8295 (version-major+minor version)
8296 "/pyatspi-" version ".tar.xz"))
8297 (sha256
8298 (base32
4f937a32 8299 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
3e00ac47 8300 (build-system gnu-build-system)
b95af3f6
JL
8301 (arguments
8302 `(#:phases
8303 (modify-phases %standard-phases
8304 (add-before 'build 'fix-atk-load
8305 (lambda _
8306 (substitute* "pyatspi/__init__.py"
8307 (("from gi.repository import Atspi")
8308 "gi.require_version('Gtk', '3.0')
8309from gi.repository import Gtk
8310from gi.repository import Atspi"))
8311 #t)))))
3e00ac47
SB
8312 (native-inputs
8313 `(("pkg-config" ,pkg-config)))
8314 (inputs
8315 `(("python" ,python)
8316 ("python-pygobject" ,python-pygobject)))
8317 (synopsis "Python client bindings for D-Bus AT-SPI")
8318 (home-page "https://wiki.linuxfoundation.org/accessibility\
8319/atk/at-spi/at-spi_on_d-bus")
8320 (description
8321 "This package includes a python client library for the AT-SPI D-Bus
8322accessibility infrastructure.")
8323 (license license:lgpl2.0)
8324 (properties '((upstream-name . "pyatspi")))))
53201c0d
SB
8325
8326(define-public orca
8327 (package
8328 (name "orca")
089e8585 8329 (version "3.32.0")
53201c0d
SB
8330 (source (origin
8331 (method url-fetch)
8332 (uri (string-append
8333 "mirror://gnome/sources/" name "/"
8334 (version-major+minor version) "/"
8335 name "-" version ".tar.xz"))
8336 (sha256
8337 (base32
089e8585 8338 "05jqzlg0f1x53hyl0l9282ynmw37159g6dsbrid12b7sjs12cc1i"))))
53201c0d
SB
8339 (build-system glib-or-gtk-build-system)
8340 (arguments
8341 '(#:phases
8342 (modify-phases %standard-phases
8343 (add-before 'configure 'qualify-xkbcomp
8344 (lambda* (#:key inputs #:allow-other-keys)
8345 (let ((xkbcomp (string-append
8346 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
8347 (substitute* "src/orca/orca.py"
8348 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
8349 #t))
8350 (add-after 'install 'wrap-orca
8351 (lambda* (#:key outputs #:allow-other-keys)
8352 (let* ((out (assoc-ref outputs "out"))
8353 (prog (string-append out "/bin/orca")))
8354 (wrap-program prog
8355 `("GI_TYPELIB_PATH" ":" prefix
8356 (,(getenv "GI_TYPELIB_PATH")))
8357 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
8358 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
8359 `("PYTHONPATH" ":" prefix
8360 (,(getenv "PYTHONPATH")))))
8361 #t)))))
8362 (native-inputs
8363 `(("intltool" ,intltool)
8364 ("itstool" ,itstool)
8365 ("pkg-config" ,pkg-config)
8366 ("xmllint" ,libxml2)))
8367 (inputs
8368 `(("at-spi2-atk" ,at-spi2-atk)
8369 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8370 ("gstreamer" ,gstreamer)
8371 ("gst-plugins-base" ,gst-plugins-base)
8372 ("gst-plugins-good" ,gst-plugins-good)
8373 ("gtk+" ,gtk+)
8374 ("python" ,python)
8375 ("python-pygobject" ,python-pygobject)
8376 ("python-pyatspi" ,python-pyatspi)
8377 ("python-speechd" ,speech-dispatcher)
8378 ("xkbcomp" ,xkbcomp)))
8379 (synopsis
8380 "Screen reader for individuals who are blind or visually impaired")
8381 (home-page "https://wiki.gnome.org/Projects/Orca")
8382 (description
8383 "Orca is a screen reader that provides access to the graphical desktop
8384via speech and refreshable braille. Orca works with applications and toolkits
8385that support the Assistive Technology Service Provider Interface (AT-SPI).")
8386 (license license:lgpl2.1+)))
411ba511
LC
8387
8388(define-public gspell
8389 (package
8390 (name "gspell")
7a6bbe9b 8391 (version "1.8.2")
411ba511
LC
8392 (source (origin
8393 (method url-fetch)
8394 (uri (string-append "mirror://gnome/sources/" name "/"
8395 (version-major+minor version) "/"
8396 name "-" version ".tar.xz"))
8397 (sha256
8398 (base32
7a6bbe9b 8399 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
411ba511
LC
8400 (patches (search-patches "gspell-dash-test.patch"))))
8401 (build-system glib-or-gtk-build-system)
8402 (arguments
8403 '(#:phases
8404 (modify-phases %standard-phases
8405 (add-before 'check 'pre-check
8406 (lambda* (#:key inputs #:allow-other-keys)
8407 ;; Tests require a running X server.
8408 (system "Xvfb :1 &")
8409 (setenv "DISPLAY" ":1")
8410
8411 ;; For the missing /etc/machine-id.
8412 (setenv "DBUS_FATAL_WARNINGS" "0")
8413
8414 ;; Allow Enchant and its Aspell backend to find the en_US
8415 ;; dictionary.
8416 (setenv "ASPELL_DICT_DIR"
8417 (string-append (assoc-ref inputs "aspell-dict-en")
8418 "/lib/aspell"))
8419 #t)))))
8420 (inputs
eccd35be 8421 `(("gtk+" ,gtk+)
a801ae4c
TGR
8422 ("glib" ,glib)
8423 ("iso-codes" ,iso-codes)))
411ba511
LC
8424 (native-inputs
8425 `(("glib" ,glib "bin")
26ba3f07 8426 ("gobject-introspection" ,gobject-introspection)
411ba511
LC
8427 ("pkg-config" ,pkg-config)
8428 ("xmllint" ,libxml2)
8429
8430 ;; For tests.
a801ae4c 8431 ("aspell-dict-en" ,aspell-dict-en)
ff337525 8432 ("xorg-server" ,xorg-server-for-tests)))
eccd35be 8433 (propagated-inputs
9b1bb757 8434 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
411ba511
LC
8435 (home-page "https://wiki.gnome.org/Projects/gspell")
8436 (synopsis "GNOME's alternative spell checker")
8437 (description
8438 "gspell provides a flexible API to add spell-checking to a GTK+
8439application. It provides a GObject API, spell-checking to text entries and
8440text views, and buttons to choose the language.")
8441 (license license:gpl2+)))
d1d739fa
CM
8442
8443(define-public gnome-planner
8444 (package
8445 (name "gnome-planner")
8446 (version "0.14.6")
8447 (source (origin
8448 (method url-fetch)
8449 (uri (string-append "mirror://gnome/sources/planner/"
8450 (version-major+minor version) "/planner-"
8451 version ".tar.xz"))
8452 (sha256
8453 (base32
8454 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
8455 (build-system glib-or-gtk-build-system)
8456 (arguments
8457 ;; Disable the Python bindings because the Planner program functions
8458 ;; without them, and (as of 2017-06-13) we have not packaged all of
8459 ;; packages that are necessary for building the Python bindings.
20b7b75c
EF
8460 `(#:configure-flags
8461 (list "--disable-python"
8462 ,@(if (string=? "aarch64-linux" (%current-system))
8463 '("--build=aarch64-unknown-linux-gnu")
8464 '()))))
d1d739fa
CM
8465 (inputs
8466 `(("libgnomecanvas" ,libgnomecanvas)
8467 ("libgnomeui" ,libgnomeui)
8468 ("libglade" ,libglade)
8469 ("gnome-vfs" ,gnome-vfs)
8470 ("gconf" ,gconf)
8471 ("libxml2" ,libxml2)
8472 ("libxslt" ,libxslt)
8473 ("gtk+" ,gtk+)
8474 ("glib" ,glib)))
8475 (native-inputs
8476 `(("intltool" ,intltool)
8477 ("scrollkeeper" ,scrollkeeper)
8478 ("pkg-config" ,pkg-config)))
8479 (home-page "https://wiki.gnome.org/Apps/Planner")
8480 (synopsis "Project management software for the GNOME desktop")
8481 (description
8482 "GNOME Planner is a project management tool based on the Work Breakdown
8483Structure (WBS). Its goal is to enable you to easily plan projects. Based on
8484the resources, tasks, and constraints that you define, Planner generates
8485various views into a project. For example, Planner can show a Gantt chart of
8486the project. It can show a detailed summary of tasks including their
8487duration, cost, and current progress. It can also show a report of resource
8488utilization that highlights under-utilized and over-utilized resources. These
8489views can be printed as PDF or PostScript files, or exported to HTML.")
4b926cb6 8490 (license license:gpl2+)))
64fce637
RS
8491
8492(define-public lollypop
8493 (package
8494 (name "lollypop")
ca32627a 8495 (version "1.2.7")
64fce637
RS
8496 (source
8497 (origin
8498 (method url-fetch)
b98eace8 8499 (uri (string-append "https://gitlab.gnome.org/World/lollypop/uploads/"
ca32627a 8500 "08f973788c7ca46d9285eec2ac818edb/"
3275d43d 8501 "lollypop-" version ".tar.xz"))
64fce637 8502 (sha256
ca32627a 8503 (base32 "0hvq6m4i62i0m63bg4gzpfb9rv1fk6vq5jl2g3ppcgm4srmfm77j"))))
aa498fc0 8504 (build-system meson-build-system)
64fce637
RS
8505 (arguments
8506 `(#:imported-modules ((guix build python-build-system)
aa498fc0
TD
8507 ,@%meson-build-system-modules)
8508 #:glib-or-gtk? #t
5fc9b6c1
EF
8509 #:tests? #f ; no test suite
8510 #:phases
8511 (modify-phases %standard-phases
5fc9b6c1
EF
8512 (add-after 'install 'wrap-program
8513 (lambda* (#:key outputs #:allow-other-keys)
8514 (let ((out (assoc-ref outputs "out"))
8515 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
8516 (wrap-program (string-append out "/bin/lollypop")
8517 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8518 #t))
8ac8b3b3
TGR
8519 (add-after 'install 'wrap-python
8520 (@@ (guix build python-build-system) wrap))
8521 (add-after 'install 'wrap-glib-or-gtk
8522 (@@ (guix build glib-or-gtk-build-system) wrap-all-programs)))))
64fce637
RS
8523 (native-inputs
8524 `(("intltool" ,intltool)
8525 ("itstool" ,itstool)
aa498fc0
TD
8526 ("glib:bin" ,glib "bin") ; For glib-compile-resources
8527 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
64fce637
RS
8528 ("pkg-config" ,pkg-config)))
8529 (inputs
8530 `(("gobject-introspection" ,gobject-introspection)
8ac8b3b3 8531 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5fc9b6c1 8532 ("gst-plugins-base" ,gst-plugins-base)
64fce637
RS
8533 ("libnotify" ,libnotify)
8534 ("libsecret" ,libsecret)
8535 ("libsoup" ,libsoup)
8536 ("python" ,python)
8537 ("python-beautifulsoup4" ,python-beautifulsoup4)
8538 ("python-gst" ,python-gst)
d029afdd 8539 ("python-pil" ,python-pillow)
64fce637 8540 ("python-pycairo" ,python-pycairo)
7460f346 8541 ("python-pygobject" ,python-pygobject-3.34)
64fce637
RS
8542 ("python-pylast" ,python-pylast)
8543 ("totem-pl-parser" ,totem-pl-parser)
8544 ("webkitgtk" ,webkitgtk)))
8545 (propagated-inputs
8546 `(;; gst-plugins-base is required to start Lollypop,
8547 ;; the others are required to play streaming.
64fce637
RS
8548 ("gst-plugins-good" ,gst-plugins-good)
8549 ("gst-plugins-ugly" ,gst-plugins-ugly)))
b98eace8 8550 (home-page "https://wiki.gnome.org/Apps/Lollypop")
64fce637
RS
8551 (synopsis "GNOME music playing application")
8552 (description
8553 "Lollypop is a music player designed to play well with GNOME desktop.
8554Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
8555from artists and tracks from the web. It also fetches cover artworks
8556automatically and it can stream songs from online music services and charts.")
8557 (license license:gpl3+)))
d831d49d
AW
8558
8559(define-public gnome-video-effects
8560 (package
8561 (name "gnome-video-effects")
8562 (version "0.4.3")
8563 (source (origin
8564 (method url-fetch)
8565 (uri (string-append "mirror://gnome/sources/" name "/"
8566 (version-major+minor version) "/" name "-"
8567 version ".tar.xz"))
8568 (sha256
8569 (base32
8570 "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs"))))
8571 (build-system glib-or-gtk-build-system)
8572 (arguments
8573 `(#:out-of-source? #f))
8574 (native-inputs
8575 `(("glib:bin" ,glib "bin")
8576 ("intltool" ,intltool)
8577 ("gettext" ,gettext-minimal)
8578 ("pkg-config" ,pkg-config)))
8579 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
8580 (synopsis "Video effects for Cheese and other GNOME applications")
8581 (description
8582 "A collection of GStreamer video filters and effects to be used in
8583photo-booth-like software, such as Cheese.")
8584 (license license:gpl2+)))
3511c780
AW
8585
8586(define-public cheese
8587 (package
8588 (name "cheese")
dd33b337 8589 (version "3.32.1")
3511c780
AW
8590 (source (origin
8591 (method url-fetch)
8592 (uri (string-append "mirror://gnome/sources/" name "/"
8593 (version-major+minor version) "/" name "-"
8594 version ".tar.xz"))
8595 (sha256
8596 (base32
dd33b337 8597 "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv"))))
3511c780
AW
8598 (arguments
8599 ;; Tests require GDK.
8600 `(#:tests? #f
8601 #:phases
8602 (modify-phases %standard-phases
8603 (add-before 'install 'skip-gtk-update-icon-cache
8604 (lambda _
8605 ;; Don't create 'icon-theme.cache'
8606 (substitute* "Makefile"
8607 (("gtk-update-icon-cache") (which "true")))
8608 #t))
8609 (add-after 'install 'wrap-cheese
8610 (lambda* (#:key inputs outputs #:allow-other-keys)
8611 (let ((out (assoc-ref outputs "out"))
8612 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
8613 (wrap-program (string-append out "/bin/cheese")
8614 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
8615 #t)))))
8616 (build-system glib-or-gtk-build-system)
8617 (native-inputs
8618 `(("glib:bin" ,glib "bin")
8619 ("intltool" ,intltool)
8620 ("itstool" ,itstool)
8621 ("libxml2" ,libxml2)
8622 ("pkg-config" ,pkg-config)
8623 ("vala" ,vala)))
8624 (propagated-inputs
6a19f03e
RW
8625 `(("gnome-video-effects" ,gnome-video-effects)
8626 ("clutter" ,clutter)
3511c780
AW
8627 ("clutter-gst" ,clutter-gst)
8628 ("clutter-gtk" ,clutter-gtk)
6a19f03e 8629 ("libcanberra" ,libcanberra)
3511c780
AW
8630 ("gdk-pixbuf" ,gdk-pixbuf)
8631 ("glib" ,glib)
6a19f03e
RW
8632 ("gstreamer" ,gstreamer)))
8633 (inputs
8634 `(("gnome-desktop" ,gnome-desktop)
3511c780 8635 ("gobject-introspection" ,gobject-introspection)
3511c780
AW
8636 ("gst-plugins-base" ,gst-plugins-base)
8637 ("gst-plugins-bad" ,gst-plugins-bad)
8638 ("gtk+" ,gtk+)
3511c780
AW
8639 ("libx11" ,libx11)
8640 ("libxtst" ,libxtst)))
8641 (home-page "https://wiki.gnome.org/Apps/Cheese")
8642 (synopsis "Webcam photo booth software for GNOME")
8643 (description
8644 "Cheese uses your webcam to take photos and videos. Cheese can also
8645apply fancy special effects and lets you share the fun with others.")
8646 (license license:gpl2+)))
3c5dbd2b 8647
8648(define-public sound-juicer
8649 (package
8650 (name "sound-juicer")
8651 (version "3.24.0")
8652 (source
8653 (origin
8654 (method url-fetch)
8655 (uri (string-append "mirror://gnome/sources/" name "/"
8656 (version-major+minor version) "/"
8657 name "-" version ".tar.xz"))
8658 (sha256
8659 (base32
8660 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
8661 (build-system glib-or-gtk-build-system)
8662 (native-inputs
8663 `(("desktop-file-utils" ,desktop-file-utils)
8664 ("intltool" ,intltool)
8665 ("itstool" ,itstool)
8666 ("pkg-config" ,pkg-config)
8667 ("xmllint" ,libxml2)))
8668 (inputs
8669 `(("gtk+" ,gtk+)
8670 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8671 ("gstreamer" ,gstreamer)
8672 ("gst-plugins-base" ,gst-plugins-base)
8673 ("gst-plugins-good" ,gst-plugins-good)
8674 ("iso-codes" ,iso-codes)
8675 ("libbrasero-media3" ,brasero)
8676 ("libcanberra" ,libcanberra)
8677 ("libdiscid" ,libdiscid)
8678 ("libmusicbrainz" ,libmusicbrainz)
8679 ("neon" ,neon)))
8680 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
8681 (synopsis "Audio music cd ripper")
8682 (description "Sound Juicer extracts audio from compact discs and convert it
8683into audio files that a personal computer or digital audio player can play.
8684It supports ripping to any audio codec supported by a GStreamer plugin, such as
8685mp3, Ogg Vorbis and FLAC")
8686 (license license:gpl2+)))
4e3fdeb7 8687
0d3f1708
CB
8688(define-public soundconverter
8689 (package
8690 (name "soundconverter")
fa75a213 8691 (version "3.0.1")
0d3f1708
CB
8692 (source
8693 (origin
8694 (method url-fetch)
8695 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
8696 version "/+download/"
8697 "soundconverter-" version ".tar.xz"))
8698
8699 (sha256
fa75a213 8700 (base32 "1d6x1yf8psqbd9zbybxivfqg55khcnngp2mn92l161dfdk9512c5"))
0d3f1708
CB
8701 (patches
8702 (search-patches
8703 "soundconverter-remove-gconf-dependency.patch"))))
8704 (build-system glib-or-gtk-build-system)
8705 (arguments
8706 `(#:imported-modules ((guix build python-build-system)
8707 (guix build glib-or-gtk-build-system)
8708 ,@%gnu-build-system-modules)
8709
8710 #:modules ((guix build glib-or-gtk-build-system)
8711 (guix build utils)
8712 ((guix build gnu-build-system) #:prefix gnu:)
8713 ((guix build python-build-system) #:prefix python:))
8714
8715 #:phases
8716 (modify-phases %standard-phases
0d3f1708
CB
8717 (add-after 'install 'wrap-soundconverter-for-python
8718 (assoc-ref python:%standard-phases 'wrap))
8719 (add-after 'install 'wrap-soundconverter
8720 (lambda* (#:key inputs outputs #:allow-other-keys)
8721 (let ((out (assoc-ref outputs "out"))
8722 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8723 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
8724 (wrap-program (string-append out "/bin/soundconverter")
8725 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8726 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
8727 #t)))))
8728 (native-inputs
8729 `(("intltool" ,intltool)
8730 ("pkg-config" ,pkg-config)
8731 ("glib:bin" ,glib "bin")))
8732 (inputs
8733 `(("gtk+" ,gtk+)
8734 ("python" ,python)
8735 ("python-pygobject" ,python-pygobject)
8736 ("gstreamer" ,gstreamer)
8737 ("gst-plugins-base" ,gst-plugins-base)))
8738 (home-page "http://soundconverter.org/")
8739 (synopsis "Convert between audio formats with a graphical interface")
8740 (description
8741 "SoundConverter supports converting between many audio formats including
8742Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
8743configurable file renaming. ")
8744 (license license:gpl3)))
8745
4e3fdeb7 8746(define-public workrave
89f2d736
TGR
8747 (package
8748 (name "workrave")
aa51d92c 8749 (version "1.10.34")
89f2d736
TGR
8750 (source
8751 (origin
8752 (method git-fetch)
8753 (uri (git-reference
8754 (url "https://github.com/rcaelers/workrave.git")
c2e50474
TGR
8755 (commit (string-append "v" (string-map
8756 (match-lambda (#\. #\_) (chr chr))
8757 version)))))
89f2d736
TGR
8758 (file-name (git-file-name name version))
8759 (sha256
aa51d92c 8760 (base32 "0czwhr7nw523753ajcjjfwrf91mq8pmzr19gp0srqsvb1dsn1zcf"))))
89f2d736 8761 (build-system glib-or-gtk-build-system)
d1c96847
MC
8762 (inputs `(("glib" ,glib)
8763 ("gtk+" ,gtk+)
8764 ("gdk-pixbuf" ,gdk-pixbuf)
8765 ("gtkmm" ,gtkmm)
8766 ("glibmm" ,glibmm)
8767 ("libx11" ,libx11)
8768 ("libxtst" ,libxtst)
8769 ("dconf" ,dconf)
8770 ("libice" ,libice)
8771 ("libsm" ,libsm)
8772 ("libxscrnsaver" ,libxscrnsaver)))
aa51d92c 8773 (native-inputs `(("boost" ,boost)
89f2d736
TGR
8774 ("pkg-config" ,pkg-config)
8775 ("gettext" ,gnu-gettext)
8776 ("autoconf" ,autoconf)
8777 ("autoconf-archive" , autoconf-archive)
8778 ("automake" ,automake)
8779 ("libtool" ,libtool)
8780 ("intltool" ,intltool)
89f2d736 8781 ("gobject-introspection" ,gobject-introspection)
aa51d92c
MC
8782 ("python3" ,python-3)
8783 ("python-jinja2" ,python-jinja2)))
89f2d736
TGR
8784 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
8785 (description
8786 "Workrave is a program that assists in the recovery and prevention of
cc00249b
TGR
8787repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
8788micro-pauses and rest breaks, and restricts you to your daily limit.")
89f2d736
TGR
8789 (home-page "http://www.workrave.org")
8790 (license license:gpl3+)))
312afa7d
LC
8791
8792(define-public ghex
8793 (package
8794 (name "ghex")
3748992a 8795 (version "3.18.4")
312afa7d
LC
8796 (source (origin
8797 (method url-fetch)
2fbab848 8798 (uri (string-append "mirror://gnome/sources/ghex/"
312afa7d 8799 (version-major+minor version) "/"
2fbab848 8800 "ghex-" version ".tar.xz"))
312afa7d
LC
8801 (sha256
8802 (base32
3748992a
KK
8803 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
8804 (build-system meson-build-system)
8805 (arguments
8806 '(#:glib-or-gtk? #t
8807 #:phases
8808 (modify-phases %standard-phases
8809 (add-after 'unpack 'skip-gtk-update-icon-cache
8810 ;; Don't create 'icon-theme.cache'.
8811 (lambda _
8812 (substitute* "meson_post_install.py"
8813 (("gtk-update-icon-cache") (which "true")))
8814 #t)))))
312afa7d
LC
8815 (native-inputs
8816 `(("pkg-config" ,pkg-config)
3748992a 8817 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
312afa7d
LC
8818 ("gnome-common" ,gnome-common)
8819 ("which" ,which)
8820 ("intltool" ,intltool)
8821 ("yelp-tools" ,yelp-tools)
2fbab848 8822 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
312afa7d
LC
8823 (inputs
8824 `(("atk" ,atk)
8825 ("gtk" ,gtk+)))
8826 (synopsis "GNOME hexadecimal editor")
8827 (description "The GHex program can view and edit files in two ways:
8828hexadecimal or ASCII. It is useful for editing binary files in general.")
8829 (home-page "https://wiki.gnome.org/Apps/Ghex")
8830 (license license:gpl2)))
4b2ed6c2
RW
8831
8832(define-public libdazzle
8833 (package
8834 (name "libdazzle")
64fa66ba 8835 (version "3.33.90")
4b2ed6c2
RW
8836 (source (origin
8837 (method url-fetch)
687b4909 8838 (uri (string-append "mirror://gnome/sources/libdazzle/"
4b2ed6c2 8839 (version-major+minor version) "/"
687b4909 8840 "libdazzle-" version ".tar.xz"))
4b2ed6c2
RW
8841 (sha256
8842 (base32
64fa66ba 8843 "189m7q88d1a7bq0yyal9f3yhm9kz46lb61379nn4wsnnhpa1d0qs"))))
4b2ed6c2
RW
8844 (build-system meson-build-system)
8845 (arguments
8846 `(#:phases
8847 (modify-phases %standard-phases
4b2ed6c2
RW
8848 (add-before 'check 'pre-check
8849 (lambda _
8850 ;; Tests require a running X server.
8851 (system "Xvfb :1 &")
8852 (setenv "DISPLAY" ":1")
8853 #t)))))
8854 (native-inputs
687b4909 8855 `(("glib" ,glib "bin") ; glib-compile-resources
4b2ed6c2 8856 ("pkg-config" ,pkg-config)
687b4909 8857 ;; For tests.
ff337525 8858 ("xorg-server" ,xorg-server-for-tests)))
4b2ed6c2
RW
8859 (inputs
8860 `(("glib" ,glib)
8861 ("gobject-introspection" ,gobject-introspection)
8862 ("gtk+" ,gtk+)
8863 ("vala" ,vala)))
8864 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
8865 (synopsis "Companion library to GObject and Gtk+")
8866 (description "The libdazzle library is a companion library to GObject and
8867Gtk+. It provides various features that the authors wish were in the
8868underlying library but cannot for various reasons. In most cases, they are
8869wildly out of scope for those libraries. In other cases, they are not quite
8870generic enough to work for everyone.")
8871 (license license:gpl3+)))
7d3bb433
RW
8872
8873(define-public evolution
8874 (package
8875 (name "evolution")
06141f83 8876 (version "3.32.4")
7d3bb433
RW
8877 (source (origin
8878 (method url-fetch)
8879 (uri (string-append "mirror://gnome/sources/evolution/"
8880 (version-major+minor version) "/"
8881 "evolution-" version ".tar.xz"))
8882 (sha256
8883 (base32
06141f83 8884 "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh"))))
7d3bb433
RW
8885 (build-system cmake-build-system)
8886 (arguments
5229bea1
KK
8887 `(#:imported-modules (,@%cmake-build-system-modules
8888 (guix build glib-or-gtk-build-system))
8889 #:modules ((guix build cmake-build-system)
8890 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
8891 (guix build utils))
8892 #:configure-flags
7d3bb433 8893 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
5229bea1 8894 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
7d3bb433 8895 ; in four years and cannot be built.
5229bea1
KK
8896 #:phases
8897 (modify-phases %standard-phases
8898 ;; The build system attempts to install user interface modules to the
8899 ;; output directory of the "evolution-data-server" package. This
8900 ;; change redirects that change.
8901 (add-after 'unpack 'patch-ui-module-dir
8902 (lambda* (#:key outputs #:allow-other-keys)
8903 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
8904 (("\\$\\{edsuimoduledir\\}")
8905 (string-append (assoc-ref outputs "out")
8906 "/lib/evolution-data-server/ui-modules")))
8907 #t))
8908 (add-after 'install 'glib-or-gtk-compile-schemas
8909 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
8910 (add-after 'install 'glib-or-gtk-wrap
8911 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
7d3bb433 8912 (native-inputs
ad6e168b 8913 `(("glib" ,glib "bin") ; glib-mkenums
7d3bb433
RW
8914 ("pkg-config" ,pkg-config)
8915 ("intltool" ,intltool)
8916 ("itstool" ,itstool)))
8917 (inputs
8918 `(("enchant" ,enchant)
8919 ("evolution-data-server" ,evolution-data-server) ; must be the same version
8920 ("gcr" ,gcr)
ad6e168b 8921 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7d3bb433
RW
8922 ("gnome-autoar" ,gnome-autoar)
8923 ("gnome-desktop" ,gnome-desktop)
8924 ("gtkspell3" ,gtkspell3)
8925 ("highlight" ,highlight)
8926 ("libcanberra" ,libcanberra)
b63c06f1 8927 ("libedataserverui" ,evolution-data-server)
7d3bb433
RW
8928 ("libgweather" ,libgweather)
8929 ("libnotify" ,libnotify)
8930 ("libsoup" ,libsoup)
8931 ("nss" ,nss)
8932 ("openldap" ,openldap)
8933 ("webkitgtk" ,webkitgtk)
8934 ("ytnef" ,ytnef)))
8935 (home-page "https://gitlab.gnome.org/GNOME/evolution")
8936 (synopsis "Manage your email, contacts and schedule")
8937 (description "Evolution is a personal information management application
8938that provides integrated mail, calendaring and address book
8939functionality.")
8940 ;; See COPYING for details.
23dbe621 8941 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
7d3bb433 8942 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
23dbe621 8943 license:lgpl2.1+)))) ; smime/lib/*
169d63f5
AT
8944
8945(define-public gthumb
8946 (package
8947 (name "gthumb")
8280676b 8948 (version "3.8.2")
169d63f5
AT
8949 (source (origin
8950 (method url-fetch)
8951 (uri (string-append "mirror://gnome/sources/gthumb/"
8952 (version-major+minor version) "/"
8953 "gthumb-" version ".tar.xz"))
8954 (sha256
8955 (base32
8280676b 8956 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
169d63f5
AT
8957 (build-system meson-build-system)
8958 (arguments
8959 `(#:glib-or-gtk? #t
8960 #:configure-flags
8961 ;; Ensure the RUNPATH contains all installed library locations.
8962 (list (string-append "-Dc_link_args=-Wl,-rpath="
8963 (assoc-ref %outputs "out")
8964 "/lib/gthumb/extensions")
8965 (string-append "-Dcpp_link_args=-Wl,-rpath="
8966 (assoc-ref %outputs "out")
8967 "/lib/gthumb/extensions"))))
8968 (native-inputs
8969 `(("pkg-config" ,pkg-config)
8970 ("glib:bin" ,glib "bin") ; for glib-compile-resources
8971 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8972 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8973 ("intltool" ,intltool)
8974 ("itstool" ,itstool)))
8975 (inputs
8976 `(("exiv2" ,exiv2)
8977 ("gtk" ,gtk+)
8978 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8979 ("gstreamer" ,gstreamer)
8980 ("clutter" ,clutter)
8981 ("clutter-gst" ,clutter-gst)
8982 ("clutter-gtk" ,clutter-gtk)
8983 ("libjpeg" ,libjpeg)
8984 ("libtiff" ,libtiff)
8985 ("libraw" ,libraw)))
8986 (home-page "https://wiki.gnome.org/Apps/Gthumb")
8987 (synopsis "GNOME image viewer and browser")
8988 (description "GThumb is an image viewer, browser, organizer, editor and
8989advanced image management tool")
8990 (license license:gpl2+)))
08be02be
AT
8991
8992(define-public terminator
8993 (package
8994 (name "terminator")
8995 (version "1.91")
8996 (source (origin
8997 (method url-fetch)
8998 (uri (string-append "https://launchpad.net/" name "/"
8999 "gtk3/" version "/" "+download/"
9000 name "-" version ".tar.gz"))
9001 (sha256
9002 (base32
9003 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
9004 (build-system python-build-system)
9005 (native-inputs
9006 `(("intltool" ,intltool)
9007 ("glib:bin" ,glib "bin") ; for glib-compile-resources
9008 ("gettext" ,gettext-minimal)
9009 ("pkg-config" ,pkg-config)))
9010 (inputs
9011 `(("cairo" ,cairo)
9012 ("gobject-introspection" ,gobject-introspection)
96681d4b 9013 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
08be02be
AT
9014 ("python2-pycairo" ,python2-pycairo)
9015 ("python2-pygobject" ,python2-pygobject)
9016 ("python2-psutil" ,python2-psutil)
9017 ("vte" ,vte)))
9018 (arguments
96681d4b
TGR
9019 `(#:python ,python-2 ; Python 3 isn't supported
9020 #:imported-modules ((guix build glib-or-gtk-build-system)
9021 ,@%python-build-system-modules)
9022 #:modules ((guix build python-build-system)
9023 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
9024 (guix build utils))
08be02be
AT
9025 #:phases
9026 (modify-phases %standard-phases
9027 (add-after
9028 'install 'wrap-program
9029 (lambda* (#:key outputs #:allow-other-keys)
9030 (let ((prog (string-append (assoc-ref outputs "out")
9031 "/bin/terminator")))
9032 (wrap-program prog
9033 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
9034 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
96681d4b
TGR
9035 #t)))
9036 (add-after 'wrap-program 'glib-or-gtk-wrap
9037 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
08be02be
AT
9038 (home-page "https://gnometerminator.blogspot.com/")
9039 (synopsis "Store and run multiple GNOME terminals in one window")
9040 (description
9041 "Terminator allows you to run multiple GNOME terminals in a grid and
9042+tabs, and it supports drag and drop re-ordering of terminals.")
9043 (license license:gpl2)))
213315d4
JF
9044
9045(define-public libhandy
9046 (package
9047 (name "libhandy")
f6501b9f 9048 (version "0.0.12")
213315d4
JF
9049 (source
9050 (origin
9051 (method git-fetch)
9052 (uri (git-reference
9053 (url "https://source.puri.sm/Librem5/libhandy")
9054 (commit (string-append "v" version))))
9055 (file-name (git-file-name name version))
9056 (sha256
f6501b9f 9057 (base32 "09wlknarzsbk9hr5ws6s7x5kibkhx9ayrbhshfqib4zkhq2f76hw"))))
213315d4
JF
9058 (build-system meson-build-system)
9059 (arguments
9060 `(#:configure-flags
9061 '("-Dglade_catalog=disabled"
9062 "-Dgtk_doc=true")
9063 #:phases
9064 (modify-phases %standard-phases
213315d4
JF
9065 (add-before 'check 'pre-check
9066 (lambda _
9067 ;; Tests require a running X server.
9068 (system "Xvfb :1 &")
9069 (setenv "DISPLAY" ":1")
9070 #t)))))
9071 (inputs
9072 `(("gtk+" ,gtk+)))
9073 (native-inputs
9074 `(("glib:bin" ,glib "bin")
9075 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
9076 ("vala" ,vala)
9077 ("gtk-doc" ,gtk-doc)
9078 ("pkg-config" ,pkg-config)
9079 ("gettext" ,gettext-minimal)
d41ee146
TGR
9080
9081 ;; Test suite dependencies.
ff337525 9082 ("xorg-server" ,xorg-server-for-tests)
d41ee146 9083 ("hicolor-icon-theme" ,hicolor-icon-theme)))
213315d4
JF
9084 (home-page "https://source.puri.sm/Librem5/libhandy")
9085 (synopsis "Library full of GTK+ widgets for mobile phones")
9086 (description "The aim of the handy library is to help with developing user
ae4e1414
JB
9087interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
9088for usage on small and big screens.")
213315d4 9089 (license license:lgpl2.1+)))
a830d14d
GL
9090
9091(define-public libgit2-glib
9092 (package
9093 (name "libgit2-glib")
9094 (version "0.28.0.1")
9095 (source (origin
9096 (method url-fetch)
9097 (uri (string-append "mirror://gnome/sources/" name "/"
9098 (version-major+minor version) "/"
9099 name "-" version ".tar.xz"))
9100 (sha256
9101 (base32
9102 "0a0g7aw66rfgnqr4z7fgbk5zzcjq66m4rp8v4val3a212941h0g7"))))
9103 (build-system meson-build-system)
9104 (native-inputs
9105 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
9106 ("gobject-introspection" ,gobject-introspection)
9107 ("intltool" ,intltool)
9108 ("libssh2" ,libssh2)
9109 ("pkg-config" ,pkg-config)
9110 ("python-pygobject" ,python-pygobject)
9111 ("python-wrapper" ,python-wrapper)
9112 ("vala" ,vala)))
9113 (inputs
9114 `(("glib" ,glib)
9115 ("libgit2" ,libgit2)))
9116 (synopsis "GLib wrapper around the libgit2 Git access library")
9117 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
9118access library. It only implements the core plumbing functions, not really the
9119higher level porcelain stuff.")
9120 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
9121 (license license:gpl2+)))
93beace0 9122
08db81c9
LP
9123(define-public gitg
9124 (package
9125 (name "gitg")
9126 (version "3.32.1")
9127 (source (origin
9128 (method url-fetch)
9129 (uri (string-append "mirror://gnome/sources/" name "/"
9130 (version-major+minor version) "/"
9131 name "-" version ".tar.xz"))
9132 (sha256
9133 (base32
9134 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
9135 (build-system meson-build-system)
9136 (arguments
9137 `(#:glib-or-gtk? #t
9138 #:phases
9139 (modify-phases %standard-phases
9140 (add-after 'unpack 'disable-post-install-partially
9141 (lambda _
9142 (substitute* "meson_post_install.py"
9143 (("'python'") ; there are no python sources to compile
9144 (string-append "'" (which "true") "'"))
9145 (("gtk-update-icon-cache") (which "true")))
9146 #t))
9147 (add-after 'unpack 'fix-test-sources
9148 (lambda _
9149 (substitute* "tests/libgitg/test-commit.vala"
9150 (("/bin/bash") (which "bash")))
9151 #t))
9152 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9153 (lambda* (#:key outputs #:allow-other-keys)
9154 (let ((prog (string-append (assoc-ref outputs "out")
9155 "/bin/gitg")))
9156 (wrap-program prog
9157 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9158 #t))))))
9159 (inputs
9160 `(("glib" ,glib)
9161 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9162 ("gtk+" ,gtk+)
9163 ("gtkspell3" ,gtkspell3)
9164 ("gtksourceview" ,gtksourceview-3)
9165 ("json-glib" ,json-glib)
9166 ("libdazzle" ,libdazzle)
9167 ("libgee" ,libgee)
9168 ("libgit2" ,libgit2) ; propagated by libgit2-glib
9169 ("libgit2-glib" ,libgit2-glib)
9170 ("libpeas" ,libpeas)
9171 ("libsecret" ,libsecret)
9172 ("libsoup" ,libsoup)
9173 ("libxml2" ,libxml2)))
9174 (native-inputs
9175 `(("glib:bin" ,glib "bin")
9176 ("gtk+:bin" ,gtk+ "bin")
9177 ("gobject-introspection" ,gobject-introspection)
9178 ("intltool" ,intltool)
9179 ("pkg-config" ,pkg-config)
9180 ("vala" ,vala)))
9181 (synopsis "Graphical user interface for git")
9182 (description
9183 "gitg is a graphical user interface for git. It aims at being a small,
9184fast and convenient tool to visualize the history of git repositories.
9185Besides visualization, gitg also provides several utilities to manage your
9186repository and commit your work.")
9187 (home-page "https://wiki.gnome.org/Apps/Gitg")
9188 (license license:gpl2+)))
9189
1e600ed0
RW
9190(define-public gamin
9191 (package
9192 (name "gamin")
9193 (version "0.1.10")
9194 (source (origin
9195 (method url-fetch)
9196 (uri (string-append "mirror://gnome/sources/" name "/"
9197 (version-major+minor version) "/"
9198 name "-" version ".tar.bz2"))
9199 (sha256
9200 (base32
9201 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
9202 (build-system gnu-build-system)
9203 (arguments
9204 `(#:phases
9205 (modify-phases %standard-phases
9206 (add-after 'unpack 'remove-deprecated-macro
9207 (lambda _
9208 (substitute* '("server/gam_node.c"
9209 "server/gam_subscription.h"
9210 "server/gam_node.h"
9211 "server/gam_subscription.c")
9212 (("G_CONST_RETURN") "const"))
9213 #t)))))
9214 (inputs
9215 `(("glib" ,glib)))
9216 (native-inputs
9217 `(("intltool" ,intltool)
9218 ("pkg-config" ,pkg-config)))
9219 (home-page "https://people.gnome.org/~veillard/gamin/")
9220 (synopsis "File alteration monitor")
9221 (description
9222 "Gamin is a file and directory monitoring system defined to be a subset
9223of the FAM (File Alteration Monitor) system. This is a service provided by a
9224library which allows to detect when a file or a directory has been modified.")
9225 (license license:gpl2+)))
9226
93beace0
DW
9227(define-public gnome-mahjongg
9228 (package
9229 (name "gnome-mahjongg")
9230 (version "3.35.1")
9231 (source (origin
9232 (method git-fetch)
9233 (uri (git-reference
9234 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
9235 (commit version)))
9236 (file-name (git-file-name name version))
9237 (sha256
9238 (base32
9239 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
9240 (build-system meson-build-system)
9241 (arguments
9242 `(#:glib-or-gtk? #t))
9243 (native-inputs
9244 `(("appstream-glib" ,appstream-glib)
9245 ("gettext" ,gettext-minimal)
9246 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
9247 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
9248 ("itstool" ,itstool)
9249 ("pkg-config" ,pkg-config)
9250 ("vala" ,vala)))
9251 (propagated-inputs
9252 `(("dconf" ,dconf)))
9253 (inputs
9254 `(("glib" ,glib)
9255 ("gtk+" ,gtk+)
9256 ("librsvg" ,librsvg)))
9257 (synopsis "Mahjongg tile-matching game")
9258 (description "GNOME Mahjongg is a game based on the classic Chinese
9259tile-matching game Mahjong. It features multiple board layouts, tile themes,
9260and a high score table.")
9261 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
9262 (license license:gpl2+)))
f825476c 9263
76ea7632
RG
9264(define-public gnome-themes-extra
9265 (package
9266 (name "gnome-themes-extra")
9267 (version "3.28")
9268 (source
9269 (origin
9270 (method url-fetch)
9271 (uri (string-append "mirror://gnome/sources/" name "/"
9272 (version-major+minor version) "/" name "-"
9273 version ".tar.xz"))
9274 (sha256
9275 (base32
9276 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
9277 (build-system gnu-build-system)
885424bf
RG
9278 (arguments
9279 '(#:configure-flags
9280 ;; Don't create 'icon-theme.cache'.
9281 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
9282 (true (string-append coreutils "/bin/true")))
9283 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
76ea7632
RG
9284 (native-inputs
9285 `(("glib:bin" ,glib "bin")
9286 ("intltool" ,intltool)
9287 ("pkg-config" ,pkg-config)))
9288 (inputs
9289 `(("glib" ,glib)
9290 ("gtk+" ,gtk+)
9291 ("gtk+-2" ,gtk+-2)
9292 ("librsvg" ,librsvg)
9293 ("libxml2" ,libxml2)))
9294 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
9295 (synopsis "GNOME Extra Themes")
9296 (description "This package provides themes and related elements that don't
9297really fit in other upstream packages. It offers legacy support for GTK+ 2
9298versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
9299index files needed for Adwaita to be used outside of GNOME.")
9300 (license license:lgpl2.1+)))
9301
f825476c
LP
9302(define-public polari
9303 (package
9304 (name "polari")
9305 (version "3.32.2")
9306 (source (origin
9307 (method url-fetch)
9308 (uri (string-append "mirror://gnome/sources/polari/"
9309 (version-major+minor version)
9310 "/polari-" version ".tar.xz"))
9311 (sha256
9312 (base32
9313 "0h0w9j3y067l911gpj446b3a2w1i2vzr1w2a7cz7i5rhn6qkf2sp"))))
9314 (build-system meson-build-system)
9315 (arguments
9316 `(#:glib-or-gtk? #t
9317 #:phases
9318 (modify-phases %standard-phases
9319 (add-after 'unpack 'skip-gtk-update-icon-cache
9320 (lambda _
9321 (substitute* "meson/meson-postinstall.sh"
9322 (("gtk-update-icon-cache") (which "true")))
9323 #t))
9324 (add-after 'glib-or-gtk-wrap 'wrap-typelib
9325 (lambda* (#:key outputs #:allow-other-keys)
9326 (let ((prog (string-append (assoc-ref outputs "out")
9327 "/bin/polari")))
9328 (wrap-program prog
9329 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9330 #t))))))
9331 (inputs
9332 `(("glib" ,glib)
9333 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9334 ("gspell" ,gspell)
9335 ("gtk+" ,gtk+)
9336 ("gjs" ,gjs)
9337 ("libsecret" ,libsecret)
9338 ("libsoup" ,libsoup)
9339 ("telepathy-glib" ,telepathy-glib)
9340 ("telepathy-logger" ,telepathy-logger)))
9341 (native-inputs
9342 `(("glib:bin" ,glib "bin")
9343 ("gobject-introspection" ,gobject-introspection)
9344 ("intltool" ,intltool)
9345 ("pkg-config" ,pkg-config)
9346 ("yelp-tools" ,yelp-tools)))
9347 (propagated-inputs
9348 `(("telepathy-idle" ,telepathy-idle)
9349 ("telepathy-mission-control" ,telepathy-mission-control)))
9350 (synopsis "Simple IRC Client")
9351 (description
9352 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
9353integrate seamlessly with the GNOME desktop.")
9354 (home-page "https://wiki.gnome.org/Apps/Polari")
9355 (license license:gpl2+)))