gnu: lollypop: Update to 1.4.6.
[jackhill/guix/guix.git] / gnu / packages / gnome.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5 ;;; Copyright © 2014, 2016, 2020 Eric Bavier <bavier@posteo.net>
6 ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
8 ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
9 ;;; Copyright © 2015, 2017 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
13 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
14 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
16 ;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
17 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
18 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
19 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
20 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
21 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
22 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
23 ;;; Copyright © 2016 David Craven <david@craven.ch>
24 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
25 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
26 ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
27 ;;; Copyright © 2017, 2018 nee <nee-git@hidamari.blue>
28 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
29 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
30 ;;; Copyright © 2017, 2020 Brendan Tildesley <mail@brendan.scot>
31 ;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
32 ;;; Copyright © 2018 Jovany Leandro G.C <bit4bit@riseup.net>
33 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
34 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
35 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
36 ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
37 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
38 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
40 ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
41 ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
42 ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
43 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
44 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
45 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
46 ;;; Copyright © 2019, 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
47 ;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler@student.tugraz.at>
48 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
49 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
50 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
51 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
52 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
53 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
54 ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
55 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
56 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
57 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
58 ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
59 ;;;
60 ;;; This file is part of GNU Guix.
61 ;;;
62 ;;; GNU Guix is free software; you can redistribute it and/or modify it
63 ;;; under the terms of the GNU General Public License as published by
64 ;;; the Free Software Foundation; either version 3 of the License, or (at
65 ;;; your option) any later version.
66 ;;;
67 ;;; GNU Guix is distributed in the hope that it will be useful, but
68 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
69 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
70 ;;; GNU General Public License for more details.
71 ;;;
72 ;;; You should have received a copy of the GNU General Public License
73 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
74
75 (define-module (gnu packages gnome)
76 #:use-module (gnu packages)
77 #:use-module (gnu packages admin)
78 #:use-module (gnu packages aidc)
79 #:use-module (gnu packages aspell)
80 #:use-module (gnu packages autotools)
81 #:use-module (gnu packages avahi)
82 #:use-module (gnu packages backup)
83 #:use-module (gnu packages base)
84 #:use-module (gnu packages bash)
85 #:use-module (gnu packages bison)
86 #:use-module (gnu packages boost)
87 #:use-module (gnu packages build-tools)
88 #:use-module (gnu packages calendar)
89 #:use-module (gnu packages cdrom)
90 #:use-module (gnu packages check)
91 #:use-module (gnu packages cmake)
92 #:use-module (gnu packages compression)
93 #:use-module (gnu packages crates-io)
94 #:use-module (gnu packages crates-graphics)
95 #:use-module (gnu packages crates-gtk)
96 #:use-module (gnu packages cups)
97 #:use-module (gnu packages curl)
98 #:use-module (gnu packages cyrus-sasl)
99 #:use-module (gnu packages databases)
100 #:use-module (gnu packages dbm)
101 #:use-module (gnu packages djvu)
102 #:use-module (gnu packages dns)
103 #:use-module (gnu packages docbook)
104 #:use-module (gnu packages documentation)
105 #:use-module (gnu packages enchant)
106 #:use-module (gnu packages flex)
107 #:use-module (gnu packages fonts)
108 #:use-module (gnu packages file-systems)
109 #:use-module (gnu packages fontutils)
110 #:use-module (gnu packages freedesktop)
111 #:use-module (gnu packages game-development)
112 #:use-module (gnu packages gcc)
113 #:use-module (gnu packages gettext)
114 #:use-module (gnu packages ghostscript)
115 #:use-module (gnu packages gimp)
116 #:use-module (gnu packages gl)
117 #:use-module (gnu packages glib)
118 #:use-module (gnu packages gnupg)
119 #:use-module (gnu packages gnuzilla)
120 #:use-module (gnu packages geo)
121 #:use-module (gnu packages gperf)
122 #:use-module (gnu packages graphviz)
123 #:use-module (gnu packages gstreamer)
124 #:use-module (gnu packages gtk)
125 #:use-module (gnu packages guile)
126 #:use-module (gnu packages ibus)
127 #:use-module (gnu packages icu4c)
128 #:use-module (gnu packages image)
129 #:use-module (gnu packages imagemagick)
130 #:use-module (gnu packages inkscape)
131 #:use-module (gnu packages iso-codes)
132 #:use-module (gnu packages kerberos)
133 #:use-module (gnu packages libcanberra)
134 #:use-module (gnu packages libffi)
135 #:use-module (gnu packages libunistring)
136 #:use-module (gnu packages libunwind)
137 #:use-module (gnu packages libusb)
138 #:use-module (gnu packages linux)
139 #:use-module (gnu packages lirc)
140 #:use-module (gnu packages lua)
141 #:use-module (gnu packages mail)
142 #:use-module (gnu packages mp3)
143 #:use-module (gnu packages multiprecision)
144 #:use-module (gnu packages music)
145 #:use-module (gnu packages ncurses)
146 #:use-module (gnu packages nettle)
147 #:use-module (gnu packages networking)
148 #:use-module (gnu packages ninja)
149 #:use-module (gnu packages node)
150 #:use-module (gnu packages nss)
151 #:use-module (gnu packages openldap)
152 #:use-module (gnu packages package-management)
153 #:use-module (gnu packages password-utils)
154 #:use-module (gnu packages pcre)
155 #:use-module (gnu packages pdf)
156 #:use-module (gnu packages perl)
157 #:use-module (gnu packages photo)
158 #:use-module (gnu packages php)
159 #:use-module (gnu packages pkg-config)
160 #:use-module (gnu packages polkit)
161 #:use-module (gnu packages popt)
162 #:use-module (gnu packages pretty-print)
163 #:use-module (gnu packages protobuf)
164 #:use-module (gnu packages pulseaudio)
165 #:use-module (gnu packages python)
166 #:use-module (gnu packages python-crypto)
167 #:use-module (gnu packages python-web)
168 #:use-module (gnu packages python-xyz)
169 #:use-module (gnu packages rdesktop)
170 #:use-module (gnu packages rdf)
171 #:use-module (gnu packages readline)
172 #:use-module (gnu packages ruby)
173 #:use-module (gnu packages rust)
174 #:use-module (gnu packages samba)
175 #:use-module (gnu packages scanner)
176 #:use-module (gnu packages sdl)
177 #:use-module (gnu packages search)
178 #:use-module (gnu packages selinux)
179 #:use-module (gnu packages slang)
180 #:use-module (gnu packages speech)
181 #:use-module (gnu packages spice)
182 #:use-module (gnu packages sqlite)
183 #:use-module (gnu packages ssh)
184 #:use-module (gnu packages swig)
185 #:use-module (gnu packages tex)
186 #:use-module (gnu packages time)
187 #:use-module (gnu packages tls)
188 #:use-module (gnu packages valgrind)
189 #:use-module (gnu packages version-control)
190 #:use-module (gnu packages video)
191 #:use-module (gnu packages virtualization)
192 #:use-module (gnu packages vpn)
193 #:use-module (gnu packages web)
194 #:use-module (gnu packages webkit)
195 #:use-module (gnu packages xdisorg)
196 #:use-module (gnu packages xiph)
197 #:use-module (gnu packages xml)
198 #:use-module (gnu packages xorg)
199 #:use-module (gnu artwork)
200 #:use-module ((guix build utils) #:select (modify-phases))
201 #:use-module (guix build-system cargo)
202 #:use-module (guix build-system cmake)
203 #:use-module (guix build-system glib-or-gtk)
204 #:use-module (guix build-system gnu)
205 #:use-module (guix build-system meson)
206 #:use-module (guix build-system python)
207 #:use-module (guix build-system trivial)
208 #:use-module (guix download)
209 #:use-module (guix git-download)
210 #:use-module ((guix licenses) #:prefix license:)
211 #:use-module (guix packages)
212 #:use-module (guix utils)
213 #:use-module (guix gexp)
214 #:use-module (guix monads)
215 #:use-module (guix store)
216 #:use-module (ice-9 match)
217 #:use-module (srfi srfi-1))
218
219 (define-public gupnp-igd
220 (package
221 (name "gupnp-igd")
222 (version "1.2.0")
223 (source
224 (origin
225 (method url-fetch)
226 (uri
227 (string-append "mirror://gnome/sources/" name "/"
228 (version-major+minor version) "/"
229 name "-" version ".tar.xz"))
230 (sha256
231 (base32 "1q9bw12ibih3yxpha3gm1dabyqg9gx6yxacbh4kxsgm1i84j0lab"))))
232 (build-system meson-build-system)
233 (outputs '("out" "doc"))
234 (arguments
235 `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
236 #:configure-flags (list "-Dgtk_doc=true")
237 #:phases
238 (modify-phases %standard-phases
239 (add-after 'unpack 'patch-docbook-xml
240 (lambda* (#:key inputs #:allow-other-keys)
241 (with-directory-excursion "doc"
242 (substitute* "gupnp-igd-docs.xml"
243 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
244 (string-append (assoc-ref inputs "docbook-xml-4.1.2")
245 "/xml/dtd/docbook/"))))
246 #t))
247 (add-after 'install 'move-doc
248 (lambda* (#:key outputs #:allow-other-keys)
249 (let* ((out (assoc-ref outputs "out"))
250 (doc (assoc-ref outputs "doc")))
251 (mkdir-p (string-append doc "/share"))
252 (rename-file
253 (string-append out "/share/gtk-doc")
254 (string-append doc "/share/gtk-doc"))
255 #t))))))
256 (native-inputs
257 `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
258 ("docbook-xsl" ,docbook-xsl)
259 ("glib:bin" ,glib "bin")
260 ("gobject-introspection" ,gobject-introspection)
261 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
262 ("gtk-doc" ,gtk-doc)
263 ("pkg-config" ,pkg-config)))
264 (propagated-inputs
265 `(("glib" ,glib)
266 ("glib-networking" ,glib-networking)
267 ("gssdp" ,gssdp)
268 ("gupnp" ,gupnp)
269 ("libsoup" ,libsoup)))
270 (synopsis "UPnP IGD for GNOME")
271 (description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
272 (home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
273 (license license:lgpl2.1+)))
274
275 (define-public brasero
276 (package
277 (name "brasero")
278 (version "3.12.2")
279 (source (origin
280 (method url-fetch)
281 (uri (string-append "mirror://gnome/sources/brasero/"
282 (version-major+minor version) "/"
283 "brasero-" version ".tar.xz"))
284 (sha256
285 (base32
286 "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8"))))
287 (build-system glib-or-gtk-build-system)
288 (arguments
289 `(#:configure-flags (list
290 (string-append "--with-girdir="
291 (assoc-ref %outputs "out")
292 "/share/gir-1.0")
293 (string-append "--with-typelibdir="
294 (assoc-ref %outputs "out")
295 "/lib/girepository-1.0"))
296 #:phases
297 (modify-phases %standard-phases
298 (add-before 'configure 'embed-growisofs
299 (lambda* (#:key inputs #:allow-other-keys)
300 (substitute* "plugins/growisofs/burn-growisofs.c"
301 (("\"growisofs") (string-append "\"" (which "growisofs"))))
302 #t)))))
303 (propagated-inputs
304 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
305 (native-inputs
306 `(("intltool" ,intltool)
307 ("itstool" ,itstool)
308 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
309 ("gobject-introspection" ,gobject-introspection)
310 ("pkg-config" ,pkg-config)))
311 (inputs
312 `(("dvd+rw-tools" ,dvd+rw-tools)
313 ("glib" ,glib)
314 ("gnome-doc-utils" ,gnome-doc-utils)
315 ("gstreamer" ,gstreamer)
316 ("gst-plugins-base" ,gst-plugins-base)
317 ("gtk+" ,gtk+)
318 ("libcanberra" ,libcanberra)
319 ("libice" ,libice)
320 ("libnotify" ,libnotify)
321 ("libsm" ,libsm)
322 ("libxml2" ,libxml2)
323 ("totem-pl-parser" ,totem-pl-parser)))
324 (home-page "https://wiki.gnome.org/Apps/Brasero")
325 (synopsis "CD/DVD burning tool for Gnome")
326 (description "Brasero is an application to burn CD/DVD for the Gnome
327 Desktop. It is designed to be as simple as possible and has some unique
328 features to enable users to create their discs easily and quickly.")
329 (license license:gpl2+)))
330
331 (define-public libcloudproviders
332 (package
333 (name "libcloudproviders")
334 (version "0.3.1")
335 (source
336 (origin
337 (method url-fetch)
338 (uri
339 (string-append "mirror://gnome/sources/" name "/"
340 (version-major+minor version) "/"
341 name "-" version ".tar.xz"))
342 (sha256
343 (base32 "0aars24myf6n8b8hm1n12hsgcm54097kpbpm4ba31zp1l4y22qs7"))))
344 (build-system meson-build-system)
345 (outputs '("out" "doc"))
346 (arguments
347 `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
348 #:configure-flags
349 (list
350 "-Denable-gtk-doc=true")
351 #:phases
352 (modify-phases %standard-phases
353 (add-after 'install 'move-doc
354 (lambda* (#:key outputs #:allow-other-keys)
355 (let* ((out (assoc-ref outputs "out"))
356 (doc (assoc-ref outputs "doc")))
357 (mkdir-p (string-append doc "/share"))
358 (rename-file
359 (string-append out "/share/gtk-doc")
360 (string-append doc "/share/gtk-doc"))
361 #t))))))
362 (native-inputs
363 `(("glib:bin" ,glib "bin")
364 ("gobject-introspection" ,gobject-introspection)
365 ("gtk-doc" ,gtk-doc)
366 ("pkg-config" ,pkg-config)
367 ("vala" ,vala)))
368 (inputs
369 `(("glib" ,glib)
370 ("glib-networking" ,glib-networking)))
371 (synopsis "Cloudproviders Integration API")
372 (description "Libcloudproviders is a DBus API that allows cloud storage sync
373 clients to expose their services. Clients such as file managers and desktop
374 environments can then provide integrated access to the cloud providers
375 services.")
376 (home-page "https://csorianognome.wordpress.com/2015/07/07/cloud-providers/")
377 (license license:lgpl3+)))
378
379 (define-public libgrss
380 (package
381 (name "libgrss")
382 (version "0.7.0")
383 (source
384 (origin
385 (method url-fetch)
386 (uri
387 (string-append "mirror://gnome/sources/" name "/"
388 (version-major+minor version) "/"
389 name "-" version ".tar.xz"))
390 (sha256
391 (base32 "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7"))))
392 (build-system glib-or-gtk-build-system)
393 (outputs '("out" "doc"))
394 (arguments
395 `(#:configure-flags
396 (list
397 "--enable-gtk-doc"
398 (string-append "--with-html-dir="
399 (assoc-ref %outputs "doc")
400 "/share/gtk-doc/html"))
401 #:phases
402 (modify-phases %standard-phases
403 (add-after 'unpack 'patch-docbook-xml
404 (lambda* (#:key inputs #:allow-other-keys)
405 (with-directory-excursion "doc/reference"
406 (substitute* "libgrss-docs.sgml"
407 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
408 (string-append (assoc-ref inputs "docbook-xml")
409 "/xml/dtd/docbook/"))))
410 #t)))))
411 (native-inputs
412 `(("docbook-xml" ,docbook-xml-4.1.2)
413 ("gobject-introspection" ,gobject-introspection)
414 ("gtk-doc" ,gtk-doc)
415 ("pkg-config" ,pkg-config)))
416 (propagated-inputs
417 `(("glib" ,glib)
418 ("libsoup" ,libsoup)
419 ("libxml2" ,libxml2)))
420 (synopsis "Glib library for feeds")
421 (description "LibGRSS is a Glib abstraction to handle feeds in RSS, Atom,
422 and other formats.")
423 (home-page "https://wiki.gnome.org/Projects/Libgrss")
424 (license license:lgpl3+)))
425
426 (define-public gnome-js-common
427 (package
428 (name "gnome-js-common")
429 (version "0.1.2")
430 (source
431 (origin
432 (method url-fetch)
433 (uri
434 (string-append "mirror://gnome/sources/" name "/"
435 (version-major+minor version) "/"
436 name "-" version ".tar.gz"))
437 (sha256
438 (base32 "1zv5b9bcbclzj64xd9kgql4ndmbwvvi6cl937ykw8fp21xgh8z7y"))))
439 (build-system glib-or-gtk-build-system)
440 (arguments
441 `(#:configure-flags
442 (list
443 "--disable-static")))
444 (native-inputs
445 `(("gettext" ,gettext-minimal)
446 ("intltool" ,intltool)
447 ("pkg-config" ,pkg-config)))
448 (synopsis "Common JS Modules")
449 (description "GNOME-JS-Common provides common modules for GNOME JavaScript
450 bindings.")
451 (home-page "https://wiki.gnome.org/Projects/Seed")
452 (license license:gpl3+)))
453
454 (define-public seed
455 (package
456 (name "seed")
457 (version "3.8.1")
458 (source
459 (origin
460 (method url-fetch)
461 (uri
462 (string-append "mirror://gnome/sources/" name "/"
463 (version-major+minor version) "/"
464 name "-" version ".tar.xz"))
465 (sha256
466 (base32 "0cmcxaggcdcy13j27gy8id2qsf2p2sl4bz2mwb9zhv3gzavlvjw0"))
467 (patches
468 (search-patches "seed-webkit.patch"))))
469 (build-system glib-or-gtk-build-system)
470 (outputs '("out" "doc"))
471 (arguments
472 `(#:configure-flags
473 (list
474 "--disable-static"
475 "--enable-xorg-module"
476 (string-append "--with-html-dir="
477 (assoc-ref %outputs "doc")
478 "/share/gtk-doc/html")
479 "--with-webkit=4.0")
480 #:phases
481 (modify-phases %standard-phases
482 ;; The seed-webkit.patch patches configure.ac.
483 ;; So the source files need to be re-bootstrapped.
484 (add-after 'unpack 'trigger-bootstrap
485 (lambda _
486 (for-each delete-file
487 (list
488 "configure"
489 "Makefile.in"))
490 #t))
491 (add-after 'unpack 'patch-tests
492 (lambda* (#:key outputs #:allow-other-keys)
493 (substitute* (find-files "." "\\.js$")
494 (("#!/usr/bin/env seed")
495 (string-append "#!" (getcwd) "/src/seed")))
496 #t))
497 (add-before 'build 'patch-docbook-xml
498 (lambda* (#:key inputs #:allow-other-keys)
499 (with-directory-excursion "doc"
500 (substitute* '("reference/seed-docs.sgml" "modules/book.xml")
501 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
502 (string-append (assoc-ref inputs "docbook-xml")
503 "/xml/dtd/docbook/"))))
504 #t)))))
505 (native-inputs
506 `(("autoconf" ,autoconf)
507 ("automake" ,automake)
508 ("docbook-xml" ,docbook-xml-4.1.2)
509 ("gettext" ,gettext-minimal)
510 ("gobject-introspection" ,gobject-introspection)
511 ("gtk-doc" ,gtk-doc)
512 ("intltool" ,intltool)
513 ("libtool" ,libtool)
514 ("pkg-config" ,pkg-config)))
515 (inputs
516 `(("cairo" ,cairo)
517 ("dbus" ,dbus)
518 ("dbus-glib" ,dbus-glib)
519 ("gnome-js-common" ,gnome-js-common)
520 ("gtk+" ,gtk+)
521 ("gtk+-2" ,gtk+-2)
522 ("libffi" ,libffi)
523 ("libxml2" ,libxml2)
524 ("mpfr" ,mpfr)
525 ("readline" ,readline)
526 ("sqlite" ,sqlite)
527 ("xscrnsaver" ,libxscrnsaver)))
528 (propagated-inputs
529 `(("glib" ,glib)
530 ("webkit" ,webkitgtk)))
531 (synopsis "GObject JavaScriptCore bridge")
532 (description "Seed is a library and interpreter, dynamically bridging
533 (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the
534 GNOME platform. It serves as something which enables you to write standalone
535 applications in JavaScript, or easily enable your application to be extensible
536 in JavaScript.")
537 (home-page "https://wiki.gnome.org/Projects/Seed")
538 (license license:lgpl2.0+)))
539
540 (define-public libdmapsharing
541 (package
542 (name "libdmapsharing")
543 (version "3.9.10")
544 (source
545 (origin
546 (method url-fetch)
547 (uri
548 (string-append "https://www.flyn.org/projects/"
549 name "/" name "-" version ".tar.gz"))
550 (sha256
551 (base32 "152hnddwxv590cn802awv3mn27ixc3s6ac691a7z02d1c5fl45p2"))))
552 (build-system glib-or-gtk-build-system)
553 (outputs '("out" "doc"))
554 (arguments
555 `(#:tests? #f ; Tests require networking.
556 #:configure-flags
557 (list
558 "--disable-static"
559 (string-append "--with-html-dir="
560 (assoc-ref %outputs "doc")
561 "/share/gtk-doc/html"))
562 #:phases
563 (modify-phases %standard-phases
564 (add-after 'unpack 'patch-docbook-xml
565 (lambda* (#:key inputs #:allow-other-keys)
566 (with-directory-excursion "doc"
567 (substitute* "libdmapsharing-4.0-docs.xml"
568 (("http://www.oasis-open.org/docbook/xml/4.3/")
569 (string-append (assoc-ref inputs "docbook-xml")
570 "/xml/dtd/docbook/"))))
571 #t)))))
572 (native-inputs
573 `(("check" ,check)
574 ("docbook-xml" ,docbook-xml-4.3)
575 ("gobject-introspection" ,gobject-introspection)
576 ("pedansee" ,pedansee)
577 ("pkg-config" ,pkg-config)
578 ("vala" ,vala)))
579 (inputs
580 `(("avahi" ,avahi)
581 ("gdk-pixbuf" ,gdk-pixbuf+svg)
582 ("gee" ,libgee)
583 ("gst-plugins-base" ,gst-plugins-base)
584 ("gtk+" ,gtk+)))
585 (propagated-inputs
586 `(("glib" ,glib)
587 ("glib-networking" ,glib-networking)
588 ("gstreamer" ,gstreamer)
589 ("libsoup" ,libsoup)))
590 (synopsis "Media management library")
591 (description "Libdmapsharing is a library which allows programs to access,
592 share and control the playback of media content using DMAP (DAAP, DPAP & DACP).
593 It is written in C using GObject and libsoup.")
594 (home-page "https://launchpad.net/gtx")
595 (license license:lgpl2.1+)))
596
597 (define-public gtx
598 (package
599 (name "gtx")
600 (version "0.2.2")
601 (source
602 (origin
603 (method url-fetch)
604 (uri
605 (string-append "https://launchpad.net/gtx/trunk/"
606 version "/+download/gtx-" version ".tar.gz"))
607 (sha256
608 (base32 "0i4zvn5v4rf0cw3fxylk6j2pyy5lkrswdiw8jdxkys0ph0nan33n"))))
609 (build-system glib-or-gtk-build-system)
610 (outputs '("out" "doc"))
611 (arguments
612 `(#:configure-flags
613 (list
614 "--disable-static"
615 "--enable-gtk-doc"
616 (string-append "--with-html-dir="
617 (assoc-ref %outputs "doc")
618 "/share/gtk-doc/html"))))
619 (native-inputs
620 `(("gobject-introspection" ,gobject-introspection)
621 ("gtk-doc" ,gtk-doc)
622 ("pkg-config" ,pkg-config)))
623 (propagated-inputs
624 `(("glib" ,glib)))
625 (synopsis "GLib Testing Framework")
626 (description "GTX is a small collection of convenience functions intended to
627 enhance the GLib testing framework. With specific emphasis on easing the pain
628 of writing test cases for asynchronous interactions.")
629 (home-page "https://launchpad.net/gtx")
630 (license license:lgpl2.1+)))
631
632 (define-public dee
633 (package
634 (name "dee")
635 (version "1.2.7")
636 (source
637 (origin
638 (method url-fetch)
639 (uri
640 (string-append "https://launchpad.net/dee/1.0/"
641 version "/+download/dee-" version ".tar.gz"))
642 (sha256
643 (base32 "12mzffk0lyd566y46x57jlvb9af152b4dqpasr40zal4wrn37w0v"))
644 (patches
645 (search-patches "dee-vapi.patch"))))
646 (build-system glib-or-gtk-build-system)
647 (outputs '("out" "doc"))
648 (arguments
649 `(#:configure-flags
650 (list
651 "--disable-maintainer-flags"
652 (string-append "--with-pygi-overrides-dir="
653 (assoc-ref %outputs "out")
654 "/lib/python"
655 ,(version-major+minor
656 (package-version python))
657 "/site-packages/gi/overrides")
658 (string-append "--with-html-dir="
659 (assoc-ref %outputs "doc")
660 "/share/gtk-doc/html"))
661 #:phases
662 (modify-phases %standard-phases
663 (add-after 'unpack 'patch-docbook-xml
664 (lambda* (#:key inputs #:allow-other-keys)
665 (with-directory-excursion "doc/reference/dee-1.0"
666 (substitute* "dee-1.0-docs.sgml"
667 (("http://www.oasis-open.org/docbook/xml/4.3/")
668 (string-append (assoc-ref inputs "docbook-xml")
669 "/xml/dtd/docbook/"))))
670 #t))
671 (add-after 'patch-docbook-xml 'disable-failing-tests
672 (lambda _
673 (substitute* "tests/test-icu.c"
674 (("g_test_add \\(DOMAIN\"/Default/AsciiFolder\", Fixture, 0,")
675 "")
676 (("setup, test_ascii_folder, teardown\\);")
677 ""))
678 #t))
679 (add-before 'check 'pre-check
680 (lambda _
681 ;; Tests require a running dbus-daemon.
682 (system "dbus-daemon &")
683 ;; For missing '/etc/machine-id'.
684 (setenv "DBUS_FATAL_WARNINGS" "0")
685 #t)))))
686 (native-inputs
687 `(("dbus" ,dbus)
688 ("dbus-test-runner" ,dbus-test-runner)
689 ("docbook-xml" ,docbook-xml-4.3)
690 ("gobject-introspection" ,gobject-introspection)
691 ("gtk-doc" ,gtk-doc)
692 ;; Would only be required by configure flag "--enable-extended-tests".
693 ;("gtx" ,gtx)
694 ("pkg-config" ,pkg-config)
695 ("pygobject" ,python-pygobject)
696 ("python" ,python-wrapper)
697 ("vala" ,vala)))
698 (inputs
699 `(("icu" ,icu4c)))
700 (propagated-inputs
701 `(("glib" ,glib)))
702 (synopsis "Model to synchronize multiple instances over DBus")
703 (description "Dee is a library that uses DBus to provide objects allowing
704 you to create Model-View-Controller type programs across DBus. It also consists
705 of utility objects which extend DBus allowing for peer-to-peer discoverability
706 of known objects without needing a central registrar.")
707 (home-page "https://launchpad.net/dee")
708 (license
709 ;; Dual-licensed
710 (list
711 license:lgpl3+
712 license:gpl3+))))
713
714 (define-public zeitgeist
715 (package
716 (name "zeitgeist")
717 (version "1.0.3")
718 (source
719 (origin
720 (method git-fetch)
721 (uri
722 (git-reference
723 (url "https://gitlab.freedesktop.org/zeitgeist/zeitgeist.git")
724 (commit
725 (string-append "v" version))))
726 (file-name
727 (git-file-name name version))
728 (sha256
729 (base32 "0y6fyzxl5np4yskcxibd0p03h619w9ir907nhf40h02y0pk1kgkp"))))
730 (build-system glib-or-gtk-build-system)
731 (arguments
732 `(#:configure-flags
733 (list
734 "--enable-explain-queries"
735 "--enable-fts"
736 "--enable-docs")
737 #:phases
738 (modify-phases %standard-phases
739 (add-after 'unpack 'patch-docbook-xml
740 (lambda* (#:key inputs #:allow-other-keys)
741 (with-directory-excursion "doc/libzeitgeist"
742 (substitute* "zeitgeist-gtkdoc-index.sgml"
743 (("http://www.oasis-open.org/docbook/xml/4.3/")
744 (string-append (assoc-ref inputs "docbook-xml")
745 "/xml/dtd/docbook/"))))
746 #t))
747 (add-after 'patch-docbook-xml 'disable-failing-tests
748 (lambda _
749 (substitute* "test/direct/Makefile.am"
750 ((" log-test ")
751 ""))
752 (substitute* "test/c/Makefile.am"
753 ((" test-log ")
754 ""))
755 #t))
756 (add-before 'bootstrap 'remove-autogen-script
757 (lambda _
758 ;; To honor `autoreconf -vif` by build-system.
759 (delete-file "autogen.sh")
760 #t)))))
761 (native-inputs
762 `(("autoconf" ,autoconf)
763 ("automake" ,automake)
764 ("docbook-xml" ,docbook-xml-4.3)
765 ("gettext" ,gettext-minimal)
766 ("gobject-introspection" ,gobject-introspection)
767 ("gtk-doc" ,gtk-doc)
768 ("libtool" ,libtool)
769 ("pkg-config" ,pkg-config)
770 ("vala" ,vala)
771 ("xorg-server-for-tests" ,xorg-server-for-tests)))
772 (inputs
773 `(("dee-icu" ,dee)
774 ("gtk+" ,gtk+)
775 ("json-glib" ,json-glib)
776 ("sqlite" ,sqlite)
777 ("telepathy-glib" ,telepathy-glib)
778 ("python" ,python-wrapper)
779 ("python-rdflib" ,python-rdflib)
780 ("xapian-config" ,xapian)))
781 (propagated-inputs
782 `(("glib" ,glib)))
783 (synopsis "Desktop Activity Logging")
784 (description "Zeitgeist is a service which logs the users’s activities and
785 events, anywhere from files opened to websites visited and conversations. It
786 makes this information readily available for other applications to use. It is
787 able to establish relationships between items based on similarity and usage
788 patterns.")
789 (home-page "https://zeitgeist.freedesktop.org/")
790 (license
791 ;; Dual-licensed
792 (list
793 license:lgpl2.1+
794 license:gpl2+))))
795
796 (define-public gnome-photos
797 (package
798 (name "gnome-photos")
799 (version "3.34.2")
800 (source
801 (origin
802 (method url-fetch)
803 (uri
804 (string-append "mirror://gnome/sources/" name "/"
805 (version-major+minor version) "/"
806 name "-" version ".tar.xz"))
807 (sha256
808 (base32
809 "06ml5sf8xhpan410msqz085hmfc7082d368pb82yq646y9pcfn9w"))))
810 (build-system meson-build-system)
811 (arguments
812 `(#:glib-or-gtk? #t
813 #:configure-flags
814 (list "-Ddogtail=false" ; Not available
815 ;; Required for RUNPATH validation.
816 (string-append "-Dc_link_args=-Wl,-rpath="
817 (assoc-ref %outputs "out") "/lib/gnome-photos"))
818 #:phases
819 (modify-phases %standard-phases
820 (add-after 'install 'wrap-gnome-photos
821 (lambda* (#:key inputs outputs #:allow-other-keys)
822 (let*
823 ((out (assoc-ref outputs "out")))
824 (wrap-program (string-append out "/bin/gnome-photos")
825 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
826 #t)))))
827 (native-inputs
828 `(("dbus" ,dbus)
829 ("desktop-file-utils" ,desktop-file-utils)
830 ("gettext" ,gettext-minimal)
831 ("git" ,git-minimal)
832 ("glib:bin" ,glib "bin")
833 ("gobject-introspection" ,gobject-introspection)
834 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
835 ("gtk+:bin" ,gtk+ "bin")
836 ("itstool" ,itstool)
837 ("pkg-config" ,pkg-config)))
838 (inputs
839 `(("babl" ,babl)
840 ("cairo" ,cairo)
841 ("gdk-pixbuf" ,gdk-pixbuf+svg)
842 ("gegl" ,gegl)
843 ("geocode-glib" ,geocode-glib)
844 ("gexiv2" ,gexiv2)
845 ("gnome-online-accounts" ,gnome-online-accounts)
846 ("gnome-online-miners" ,gnome-online-miners)
847 ("grilo" ,grilo)
848 ("grilo-plugins" ,grilo-plugins)
849 ("gtk+" ,gtk+)
850 ("libdazzle" ,libdazzle)
851 ("libgdata" ,libgdata)
852 ("libgfbgraph" ,gfbgraph)
853 ("libjpeg" ,libjpeg-turbo)
854 ("libpng" ,libpng)
855 ("librest" ,rest)
856 ("pygobject" ,python-pygobject)
857 ("tracker" ,tracker)
858 ("tracker-miners" ,tracker-miners)))
859 (synopsis "Access, organize and share your photos on GNOME desktop")
860 (description "GNOME Photos is a simple and elegant replacement for using a
861 file manager to deal with photos. Enhance, crop and edit in a snap. Seamless
862 cloud integration is offered through GNOME Online Accounts.")
863 (home-page "https://wiki.gnome.org/Apps/Photos")
864 (license license:gpl3+)))
865
866 (define-public gnome-music
867 (package
868 (name "gnome-music")
869 (version "3.34.5")
870 (source
871 (origin
872 (method url-fetch)
873 (uri
874 (string-append "mirror://gnome/sources/" name "/"
875 (version-major+minor version) "/"
876 name "-" version ".tar.xz"))
877 (sha256
878 (base32
879 "1r5sfw5cbd6qqh27lzhblazir0bfi3k7nqppw66qw990isqm5psy"))))
880 (build-system meson-build-system)
881 (arguments
882 `(#:glib-or-gtk? #t
883 #:phases
884 (modify-phases %standard-phases
885 (add-after 'install 'wrap-gnome-music
886 (lambda* (#:key inputs outputs #:allow-other-keys)
887 (let*
888 ((out (assoc-ref outputs "out"))
889 (pylib (string-append out "/lib/python"
890 ,(version-major+minor
891 (package-version python))
892 "/site-packages")))
893 (wrap-program (string-append out "/bin/gnome-music")
894 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
895 `("GST_PLUGIN_SYSTEM_PATH" = (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
896 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
897 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
898 #t)))))
899 (native-inputs
900 `(("desktop-file-utils" ,desktop-file-utils)
901 ("gettext" ,gettext-minimal)
902 ("glib:bin" ,glib "bin")
903 ("gobject-introspection" ,gobject-introspection)
904 ("gtk+:bin" ,gtk+ "bin")
905 ("itstools" ,itstool)
906 ("pkg-config" ,pkg-config)))
907 (inputs
908 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
909 ("grilo" ,grilo)
910 ("grilo-plugins" ,grilo-plugins)
911 ("gst-plugins-base" ,gst-plugins-base)
912 ("gstreamer" ,gstreamer)
913 ("gvfs" ,gvfs)
914 ("libdazzle" ,libdazzle)
915 ("libmediaart" ,libmediaart)
916 ("libsoup" ,libsoup)
917 ("pycairo" ,python-pycairo)
918 ("pygobject" ,python-pygobject)
919 ("tracker" ,tracker)
920 ("tracker-miners" ,tracker-miners)))
921 (synopsis "Simple music player for GNOME desktop")
922 (description "GNOME Music is the new GNOME music playing application that
923 aims to combine an elegant and immersive browsing experience with simple
924 and straightforward controls.")
925 (home-page "https://wiki.gnome.org/Apps/Music")
926 (license license:gpl2+)))
927
928 (define-public portablexdr
929 (package
930 (name "portablexdr")
931 (version "4.9.1")
932 (source
933 (origin
934 (method url-fetch)
935 (uri
936 (string-append "https://people.redhat.com/~rjones/" name "/files/"
937 name "-" version ".tar.gz"))
938 (sha256
939 (base32
940 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w"))))
941 (build-system gnu-build-system)
942 (synopsis "External Data Representation Library")
943 (description "PortableXDR is an implementation of External Data
944 Representation (XDR) Library. It is a standard data serialization format, for
945 uses such as computer network protocols. It allows data to be transferred
946 between different kinds of computer systems.")
947 (home-page "https://people.redhat.com/~rjones/portablexdr/")
948 (license
949 (list
950 license:gpl2+
951 license:lgpl2.1+))))
952
953 (define-public tepl
954 (package
955 (name "tepl")
956 (version "4.4.0")
957 (source
958 (origin
959 (method url-fetch)
960 (uri
961 (string-append "mirror://gnome/sources/" name "/"
962 (version-major+minor version) "/"
963 name "-" version ".tar.xz"))
964 (sha256
965 (base32
966 "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"))))
967 (build-system glib-or-gtk-build-system)
968 (arguments
969 `(#:tests? #f)) ; FIX-ME: Requires gvfs
970 (native-inputs
971 `(("gobject-introspection" ,gobject-introspection)
972 ("pkg-config" ,pkg-config)))
973 (inputs
974 `(("amtk" ,amtk)
975 ("glib" ,glib)
976 ("gtk+" ,gtk+)
977 ("gtksourceview" ,gtksourceview)
978 ("libxml2" ,libxml2)
979 ("uchardet" ,uchardet)))
980 (synopsis "Text editor product line")
981 (description "Tepl is a library that eases the development of
982 GtkSourceView-based text editors and IDEs.")
983 (home-page "https://wiki.gnome.org/Projects/Tepl")
984 (license license:lgpl2.1+)))
985
986 (define-public krb5-auth-dialog
987 (package
988 (name "krb5-auth-dialog")
989 (version "3.26.1")
990 (source
991 (origin
992 (method url-fetch)
993 (uri
994 (string-append "mirror://gnome/sources/" name "/"
995 (version-major+minor version) "/"
996 name "-" version ".tar.xz"))
997 (sha256
998 (base32
999 "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"))))
1000 (build-system glib-or-gtk-build-system)
1001 (native-inputs
1002 `(("intltool" ,intltool)
1003 ("itstool" ,itstool)
1004 ("libxml2" ,libxml2)
1005 ("pkg-config" ,pkg-config)
1006 ("python-wrapper" ,python-wrapper)))
1007 (inputs
1008 `(("glib" ,glib)
1009 ("gtk+" ,gtk+)
1010 ("libnotify" ,libnotify)
1011 ("mit-krb5" ,mit-krb5)
1012 ("network-manager" ,network-manager)))
1013 (synopsis "Popup dialogs for Kerberos 5")
1014 (description "krb5-auth-dialog is a simple dialog that monitors Kerberos
1015 tickets, and pops up a dialog when they are about to expire.")
1016 (home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog")
1017 (license license:gpl2+)))
1018
1019 (define-public notification-daemon
1020 (package
1021 (name "notification-daemon")
1022 (version "3.20.0")
1023 (source
1024 (origin
1025 (method url-fetch)
1026 (uri
1027 (string-append "mirror://gnome/sources/" name "/"
1028 (version-major+minor version) "/"
1029 name "-" version ".tar.xz"))
1030 (sha256
1031 (base32
1032 "1rgchqi4j2ll7d6a7lgy7id0w9rrkwkgic1096fbm2zx6n7pc4yx"))))
1033 (build-system glib-or-gtk-build-system)
1034 (native-inputs
1035 `(("intltool" ,intltool)
1036 ("pkg-config" ,pkg-config)))
1037 (inputs
1038 `(("glib" ,glib)
1039 ("gtk+" ,gtk+)
1040 ("x11" ,libx11)))
1041 (synopsis "Notification Daemon for GNOME Desktop")
1042 (description "Notification-Daemon is the server implementation of the
1043 freedesktop.org desktop notification specification.")
1044 (home-page "https://wiki.gnome.org/Projects/NotificationDaemon")
1045 (license license:gpl2+)))
1046
1047 (define-public mm-common
1048 (package
1049 (name "mm-common")
1050 (version "1.0.2")
1051 (source (origin
1052 (method url-fetch)
1053 (uri (string-append "mirror://gnome/sources/mm-common/"
1054 (version-major+minor version) "/"
1055 "mm-common-" version ".tar.xz"))
1056 (sha256
1057 (base32
1058 "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2"))))
1059 (build-system meson-build-system)
1060 (arguments
1061 `(#:phases
1062 (modify-phases %standard-phases
1063 (add-after 'unpack 'patch
1064 (lambda* (#:key inputs #:allow-other-keys)
1065 (substitute* "util/mm-common-prepare.in"
1066 (("ln") (string-append (assoc-ref inputs "coreutils")
1067 "/bin/ln"))
1068 (("cp") (string-append (assoc-ref inputs "coreutils")
1069 "/bin/cp"))
1070 (("sed") (string-append (assoc-ref inputs "sed")
1071 "/bin/sed"))
1072 (("cat") (string-append (assoc-ref inputs "coreutils")
1073 "/bin/cat")))
1074 #t)))))
1075 (native-inputs
1076 `(("coreutils" ,coreutils)
1077 ("gettext" ,gettext-minimal)
1078 ("pkg-config" ,pkg-config)
1079 ("sed" ,sed)))
1080 (inputs
1081 `(("python" ,python)))
1082 (synopsis "Module of GNOME C++ bindings")
1083 (description "The mm-common module provides the build infrastructure
1084 and utilities shared among the GNOME C++ binding libraries. Release
1085 archives of mm-common include the Doxygen tag file for the GNU C++
1086 Library reference documentation.")
1087 (home-page "https://gitlab.gnome.org/GNOME/mm-common")
1088 (license license:gpl2+)))
1089
1090 (define-public phodav
1091 (package
1092 (name "phodav")
1093 (version "2.5")
1094 (source (origin
1095 (method url-fetch)
1096 (uri (string-append "mirror://gnome/sources/" name "/"
1097 (version-major+minor version) "/"
1098 name "-" version ".tar.xz"))
1099 (sha256
1100 (base32
1101 "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"))))
1102 (build-system meson-build-system)
1103 (arguments
1104 `(#:phases
1105 (modify-phases %standard-phases
1106 (add-before 'check 'start-virtual-dir-server
1107 ;; The same server when started by tests/virtual-dir returns an
1108 ;; unexpected status (4 instead of 200) and fails a test. It is
1109 ;; unclear why starting it manually here makes it pass.
1110 (lambda _
1111 (system "tests/virtual-dir-server &")
1112 #t)))))
1113 (native-inputs
1114 `(("docbook-xml" ,docbook-xml-4.3)
1115 ("gettext" ,gettext-minimal)
1116 ("glib:bin" ,glib "bin")
1117 ("gtk-doc" ,gtk-doc)
1118 ("pkg-config" ,pkg-config)))
1119 (inputs
1120 `(("avahi" ,avahi)
1121 ("libgudev" ,libgudev)
1122 ("libsoup" ,libsoup)))
1123 (synopsis "WebDav server implementation using libsoup")
1124 (description "PhoDav was initially developed as a file-sharing mechanism for Spice,
1125 but it is generic enough to be reused in other projects,
1126 in particular in the GNOME desktop.")
1127 (home-page "https://wiki.gnome.org/phodav")
1128 (license license:lgpl2.1+)))
1129
1130 (define-public gnome-color-manager
1131 (package
1132 (name "gnome-color-manager")
1133 (version "3.32.0")
1134 (source (origin
1135 (method url-fetch)
1136 (uri (string-append "mirror://gnome/sources/" name "/"
1137 (version-major+minor version) "/"
1138 name "-" version ".tar.xz"))
1139 (sha256
1140 (base32
1141 "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w"))))
1142 (build-system meson-build-system)
1143 (arguments
1144 `(#:glib-or-gtk? #t
1145 #:phases
1146 (modify-phases %standard-phases
1147 (add-before
1148 'check 'pre-check
1149 (lambda _
1150 ;; Tests require a running X server.
1151 (system "Xvfb :1 &")
1152 (setenv "DISPLAY" ":1")
1153 #t)))))
1154 (native-inputs
1155 `(("desktop-file-utils" ,desktop-file-utils)
1156 ("gettext" ,gettext-minimal)
1157 ("glib:bin" ,glib "bin")
1158 ("gtk+:bin" ,gtk+ "bin")
1159 ("itstool" ,itstool)
1160 ("pkg-config" ,pkg-config)
1161 ("xorg-server" ,xorg-server-for-tests)))
1162 (inputs
1163 `(("adwaita-icon-theme" ,adwaita-icon-theme)
1164 ("appstream-glib" ,appstream-glib)
1165 ("colord-gtk" ,colord-gtk)
1166 ("exiv2" ,exiv2)
1167 ("gnome-desktop" ,gnome-desktop)
1168 ("libcanberra" ,libcanberra)
1169 ("libexif" ,libexif)
1170 ("libtiff" ,libtiff)
1171 ("libxrandr" ,libxrandr)
1172 ("libxtst" ,libxtst)
1173 ("libxxf86vm" ,libxxf86vm)
1174 ("vte" ,vte)
1175 ("xorgproto" ,xorgproto)))
1176 (synopsis "Color profile manager for the GNOME desktop")
1177 (description "GNOME Color Manager is a session framework that makes
1178 it easy to manage, install and generate color profiles
1179 in the GNOME desktop.")
1180 (home-page "https://gitlab.gnome.org/GNOME/gnome-color-manager")
1181 (license license:gpl2+)))
1182
1183 (define-public gnome-online-miners
1184 (package
1185 (name "gnome-online-miners")
1186 (version "3.34.0")
1187 (source (origin
1188 (method url-fetch)
1189 (uri (string-append "mirror://gnome/sources/" name "/"
1190 (version-major+minor version) "/"
1191 name "-" version ".tar.xz"))
1192 (sha256
1193 (base32
1194 "1n2jz9i8a42zwxx5h8j2gdy6q1vyydh4vl00r0al7w8jzdh24p44"))))
1195 (build-system glib-or-gtk-build-system)
1196 (native-inputs
1197 `(("gettext" ,gettext-minimal)
1198 ("glib:bin" ,glib "bin")
1199 ("gobject-introspection" ,gobject-introspection)
1200 ("gtk+:bin" ,gtk+ "bin")
1201 ("pkg-config" ,pkg-config)))
1202 (inputs
1203 `(("gnome-online-accounts" ,gnome-online-accounts)
1204 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1205 ("grilo" ,grilo)
1206 ("libgdata" ,libgdata)
1207 ("libgfbgraph" ,gfbgraph)
1208 ("libzapojit" ,libzapojit)
1209 ("rest" ,rest)
1210 ("tracker" ,tracker)))
1211 (synopsis "Web Crawlers for GNOME")
1212 (description "GNOME Online Miners provides a set of crawlers that
1213 go through your online content and index them locally in Tracker.
1214 It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.")
1215 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineMiners")
1216 (license license:gpl2+)))
1217
1218 (define-public gssdp
1219 (package
1220 (name "gssdp")
1221 (version "1.2.3")
1222 (source (origin
1223 (method url-fetch)
1224 (uri (string-append "mirror://gnome/sources/" name "/"
1225 (version-major+minor version) "/"
1226 name "-" version ".tar.xz"))
1227 (sha256
1228 (base32
1229 "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2"))))
1230 (build-system meson-build-system)
1231 (native-inputs
1232 `(("gettext" ,gettext-minimal)
1233 ("glib:bin" ,glib "bin")
1234 ("gobject-introspection" ,gobject-introspection)
1235 ("gtk-doc" ,gtk-doc)
1236 ("pkg-config" ,pkg-config)
1237 ("vala" ,vala)))
1238 (inputs
1239 `(("gtk+" ,gtk+)
1240 ("libsoup" ,libsoup)))
1241 (synopsis "GObject-based API over @acronym{SSDP, Simple Service Discovery
1242 Protocol} for GNOME")
1243 (description "This package provides a library to handle resource discovery
1244 and announcement over @acronym{SSDP, Simple Service Discovery Protocol} and
1245 a debugging tool, @command{gssdp-device-sniffer}.")
1246 (home-page "https://gitlab.gnome.org/GNOME/gssdp")
1247 (license license:lgpl2.0+)))
1248
1249 (define-public gupnp
1250 (package
1251 (name "gupnp")
1252 (version "1.2.4")
1253 (source (origin
1254 (method url-fetch)
1255 (uri (string-append "mirror://gnome/sources/" name "/"
1256 (version-major+minor version) "/"
1257 name "-" version ".tar.xz"))
1258 (sha256
1259 (base32
1260 "1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
1261 (build-system meson-build-system)
1262 (native-inputs
1263 `(("gettext" ,gettext-minimal)
1264 ("glib:bin" ,glib "bin")
1265 ("gobject-introspection" ,gobject-introspection)
1266 ("gtk-doc" ,gtk-doc)
1267 ("pkg-config" ,pkg-config)
1268 ("vala" ,vala)))
1269 (inputs
1270 `(("gssdp" ,gssdp)
1271 ("gtk+" ,gtk+)
1272 ("libsoup" ,libsoup)))
1273 (synopsis "PnP API for GNOME")
1274 (description "This package provides GUPnP, an object-oriented framework
1275 for creating UPnP devices and control points, written in C using
1276 @code{GObject} and @code{libsoup}.")
1277 (home-page "https://gitlab.gnome.org/GNOME/gupnp")
1278 (license license:lgpl2.0+)))
1279
1280 (define-public gupnp-dlna
1281 (package
1282 (name "gupnp-dlna")
1283 (version "0.10.5")
1284 (source (origin
1285 (method url-fetch)
1286 (uri (string-append "mirror://gnome/sources/" name "/"
1287 (version-major+minor version) "/"
1288 name "-" version ".tar.xz"))
1289 (sha256
1290 (base32
1291 "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
1292 (build-system gnu-build-system)
1293 (native-inputs
1294 `(("gettext" ,gettext-minimal)
1295 ("glib:bin" ,glib "bin")
1296 ("gobject-introspection" ,gobject-introspection)
1297 ("gtk-doc" ,gtk-doc)
1298 ("libxml" ,libxml2)
1299 ("pkg-config" ,pkg-config)
1300 ("vala" ,vala)))
1301 (inputs
1302 `(("gstreamer" ,gstreamer)
1303 ("gupnp" ,gupnp)))
1304 (propagated-inputs
1305 `(("gst-plugins-base" ,gst-plugins-base)
1306 ("gst-plugins-good" ,gst-plugins-good)))
1307 (synopsis "GUPnP DLNA for GNOME")
1308 (description "This package provides a small utility library to
1309 support DLNA-related tasks such as media profile guessing, transcoding to a
1310 given profile, etc. DLNA is a subset of UPnP A/V.")
1311 (home-page "https://gitlab.gnome.org/GNOME/gupnp-dlna")
1312 (license license:lgpl2.0+)))
1313
1314 (define-public gupnp-av
1315 (package
1316 (name "gupnp-av")
1317 (version "0.12.11")
1318 (source (origin
1319 (method url-fetch)
1320 (uri (string-append "mirror://gnome/sources/" name "/"
1321 (version-major+minor version) "/"
1322 name "-" version ".tar.xz"))
1323 (sha256
1324 (base32
1325 "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8"))))
1326 (build-system gnu-build-system)
1327 (native-inputs
1328 `(("gettext" ,gettext-minimal)
1329 ("glib:bin" ,glib "bin")
1330 ("gobject-introspection" ,gobject-introspection)
1331 ("gtk-doc" ,gtk-doc)
1332 ("libxml" ,libxml2)
1333 ("pkg-config" ,pkg-config)))
1334 (inputs
1335 `(("gtk+" ,gtk+)
1336 ("gupnp" ,gupnp)))
1337 (synopsis "GUPnP A/V for GNOME")
1338 (description "This package provides a small library for handling
1339 and implementation of UPnP A/V profiles.")
1340 (home-page "https://gitlab.gnome.org/GNOME/gupnp-av")
1341 (license license:lgpl2.0+)))
1342
1343 (define-public libmediaart
1344 (package
1345 (name "libmediaart")
1346 (version "1.9.4")
1347 (source (origin
1348 (method url-fetch)
1349 (uri (string-append "mirror://gnome/sources/" name "/"
1350 (version-major+minor version) "/"
1351 name "-" version ".tar.xz"))
1352 (sha256
1353 (base32
1354 "0gc10imyabk57ar54m0qzms0x9dnmkymhkzyk8w1aj3y4lby0yx5"))))
1355 (build-system gnu-build-system)
1356 (native-inputs
1357 `(("glib:bin" ,glib "bin")
1358 ("pkg-config" ,pkg-config)))
1359 (inputs
1360 `(("gdk-pixbuf" ,gdk-pixbuf)
1361 ("gettext" ,gettext-minimal)
1362 ("gobject-introspection" ,gobject-introspection)
1363 ("gtk+:doc" ,gtk+ "doc")
1364 ("vala" ,vala)))
1365 (synopsis "Media art library for the GNOME desktop")
1366 (description
1367 "The libmediaart library is the foundation for media art caching,
1368 extraction, and lookup for applications on the desktop.")
1369 (home-page "https://gitlab.gnome.org/GNOME/libmediaart")
1370 (license license:lgpl2.1+)))
1371
1372 (define-public gnome-initial-setup
1373 (package
1374 (name "gnome-initial-setup")
1375 (version "3.32.1")
1376 (source (origin
1377 (method url-fetch)
1378 (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
1379 (version-major+minor version)
1380 "/gnome-initial-setup-" version ".tar.xz"))
1381 (sha256
1382 (base32
1383 "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
1384 (build-system meson-build-system)
1385 (arguments
1386 '(#:configure-flags '(;; Enable camera support for user selfie.
1387 "-Dcheese=auto"
1388 "-Dsystemd=false")
1389 #:phases (modify-phases %standard-phases
1390 (add-after 'unpack 'set-gkbd-file-name
1391 (lambda* (#:key inputs #:allow-other-keys)
1392 ;; Allow the "Preview" button in the keyboard layout
1393 ;; selection dialog to display the layout.
1394 (let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
1395 (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
1396 (("\"gkbd-keyboard-display")
1397 (string-append "\"" libgnomekbd
1398 "/bin/gkbd-keyboard-display")))
1399 #t))))))
1400 (native-inputs
1401 `(("gettext" ,gettext-minimal)
1402 ("glib:bin" ,glib "bin")
1403 ("gobject-introspection" ,gobject-introspection)
1404 ("gtk+:bin" ,gtk+ "bin")
1405 ("pkg-config" ,pkg-config)))
1406 (inputs
1407 `(("accountsservice" ,accountsservice)
1408 ;("adwaita-icon-theme" ,adwaita-icon-theme)
1409 ("gdm" ,gdm)
1410 ("geoclue" ,geoclue)
1411 ("gnome-desktop" ,gnome-desktop)
1412 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
1413 ("gnome-online-accounts" ,gnome-online-accounts)
1414 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1415 ("gstreamer" ,gstreamer)
1416 ("ibus" ,ibus)
1417 ("json-glib" ,json-glib)
1418 ("krb5" ,mit-krb5)
1419 ("libgweather" ,libgweather)
1420 ("libnma" ,libnma)
1421 ("libsecret" ,libsecret)
1422 ("network-manager" ,network-manager)
1423 ("packagekit" ,packagekit)
1424 ("polkit" ,polkit)
1425 ("pwquality" ,libpwquality)
1426 ("rest" ,rest)
1427 ("upower" ,upower)
1428 ("webkitgtk" ,webkitgtk)
1429 ("libgnomekbd" ,libgnomekbd)))
1430 (synopsis "Initial setup wizard for GNOME desktop")
1431 (description "This package provides a set-up wizard when a
1432 user logs into GNOME for the first time. It typically provides a
1433 tour of all gnome components and allows the user to set them up.")
1434 (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
1435 (license license:gpl2)))
1436
1437 (define-public gnome-user-share
1438 (package
1439 (name "gnome-user-share")
1440 (version "3.33.1")
1441 (source (origin
1442 (method url-fetch)
1443 (uri (string-append "mirror://gnome/sources/" name "/"
1444 (version-major+minor version) "/"
1445 name "-" version ".tar.xz"))
1446 (sha256
1447 (base32
1448 "0lf790pyamdyj7180ils8vizjl8brxcg7jsm1iavfp9ay4wa8mz7"))))
1449 (build-system meson-build-system)
1450 (arguments
1451 `(#:glib-or-gtk? #t
1452 #:configure-flags
1453 `("-Dsystemd=false"
1454 ;; Enable nautilus extension for file sharing.
1455 "-Dnautilus_extension=true")))
1456 (native-inputs
1457 `(("gettext" ,gettext-minimal)
1458 ("glib:bin" ,glib "bin")
1459 ("gobject-introspection" ,gobject-introspection)
1460 ("gtk+:bin" ,gtk+ "bin")
1461 ("pkg-config" ,pkg-config)
1462 ("yelp-tools" ,yelp-tools)))
1463 (inputs
1464 `(("glib" ,glib)
1465 ("gnome-bluetooth" ,gnome-bluetooth)
1466 ("gtk+" ,gtk+)
1467 ("libcanberra" ,libcanberra)
1468 ("libnotify" ,libnotify)
1469 ("nautilus" ,nautilus))) ; For nautilus extension.
1470 (synopsis "File sharing for GNOME desktop")
1471 (description "GNOME User Share is a small package that binds together
1472 various free software projects to bring easy to use user-level file
1473 sharing to the masses.")
1474 (home-page "https://gitlab.gnome.org/GNOME/gnome-user-share")
1475 (license license:gpl2+)))
1476
1477 (define-public sushi
1478 (package
1479 (name "sushi")
1480 (version "3.32.1")
1481 (source (origin
1482 (method url-fetch)
1483 (uri (string-append "mirror://gnome/sources/" name "/"
1484 (version-major+minor version) "/"
1485 name "-" version ".tar.xz"))
1486 (sha256
1487 (base32
1488 "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj"))))
1489 (build-system meson-build-system)
1490 (arguments
1491 `(#:glib-or-gtk? #t
1492 #:phases
1493 (modify-phases %standard-phases
1494 (add-after 'glib-or-gtk-wrap 'wrap-typelib
1495 (lambda* (#:key outputs #:allow-other-keys)
1496 (let ((prog (string-append (assoc-ref outputs "out")
1497 "/bin/sushi")))
1498 ;; Put existing typelibs before sushi's deps, so as to correctly
1499 ;; infer gdk-pixbuf
1500 (wrap-program prog
1501 `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH"))))
1502 #t))))))
1503 (native-inputs
1504 `(("glib:bin" ,glib "bin")
1505 ("gettext" ,gettext-minimal)
1506 ("gobject-introspection" ,gobject-introspection)
1507 ("pkg-config" ,pkg-config)))
1508 (inputs
1509 `(("clutter" ,clutter)
1510 ("clutter-gst" ,clutter-gst)
1511 ("clutter-gtk" ,clutter-gtk)
1512 ("evince" ,evince) ; For file previewing.
1513 ("freetype" ,freetype)
1514 ("gdk-pixbuf" ,gdk-pixbuf)
1515 ("gjs" ,gjs)
1516 ("gst-plugins-base" ,gst-plugins-base)
1517 ("gstreamer" ,gstreamer)
1518 ("gtksourceview" ,gtksourceview-3)
1519 ("harfbuzz" ,harfbuzz)
1520 ("libepoxy" ,libepoxy)
1521 ("libmusicbrainz" ,libmusicbrainz)
1522 ("libxml2" ,libxml2)
1523 ("neon" ,neon)
1524 ("webkitgtk" ,webkitgtk)))
1525 (synopsis "File previewer for the GNOME desktop")
1526 (description "Sushi is a DBus-activated service that allows applications to
1527 preview files on the GNOME desktop.")
1528 (home-page "https://gitlab.gnome.org/GNOME/sushi")
1529 (license license:gpl2+)))
1530
1531 (define-public rygel
1532 (package
1533 (name "rygel")
1534 (version "0.38.3")
1535 (source (origin
1536 (method url-fetch)
1537 (uri (string-append "mirror://gnome/sources/" name "/"
1538 (version-major+minor version) "/"
1539 name "-" version ".tar.xz"))
1540 (sha256
1541 (base32
1542 "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8"))))
1543 (build-system gnu-build-system)
1544 (native-inputs
1545 `(("gettext" ,gettext-minimal)
1546 ("gobject-introspection" ,gobject-introspection)
1547 ("gtk-doc" ,gtk-doc)
1548 ("pkg-config" ,pkg-config)
1549 ("vala" ,vala)))
1550 (inputs
1551 `(("gdk-pixbuf" ,gdk-pixbuf)
1552 ("gssdp" ,gssdp)
1553 ("gstreamer" ,gstreamer)
1554 ("gst-plugins-base" ,gst-plugins-base)
1555 ("gtk+" ,gtk+)
1556 ("gupnp" ,gupnp)
1557 ("gupnp-av" ,gupnp-av)
1558 ("gupnp-dlna" ,gupnp-dlna)
1559 ("libgee" ,libgee)
1560 ("libmediaart" ,libmediaart)
1561 ("libsoup" ,libsoup)
1562 ("libxslt" ,libxslt)
1563 ("libunistring" ,libunistring)
1564 ("tracker" ,tracker)))
1565 (synopsis "Share audio, video, and pictures with other devices")
1566 (description
1567 "Rygel is a home media solution (@dfn{UPnP AV MediaServer and
1568 MediaRenderer}) for GNOME that allows you to easily share audio, video, and
1569 pictures, and to control a media player on your home network.
1570
1571 Rygel achieves interoperability with other devices by trying to conform to the
1572 strict requirements of DLNA and by converting media on-the-fly to formats that
1573 client devices can handle.")
1574 (home-page "https://wiki.gnome.org/Projects/Rygel")
1575 (license (list
1576 ;; For logo (data/icons/*).
1577 license:cc-by-sa3.0
1578 ;; For all others.
1579 license:lgpl2.1+))))
1580
1581 (define-public libnma
1582 (package
1583 (name "libnma")
1584 (version "1.8.28")
1585 (source (origin
1586 (method url-fetch)
1587 (uri (string-append "mirror://gnome/sources/" name "/"
1588 (version-major+minor version) "/"
1589 name "-" version ".tar.xz"))
1590 (sha256
1591 (base32
1592 "09mp6k0hfam1vyyv9kcd8j4gb2r58i05ipx2nswb58ris599bxja"))))
1593 (build-system meson-build-system)
1594 (arguments
1595 `(#:phases
1596 (modify-phases %standard-phases
1597 (add-after 'unpack 'patch-docbook-xml
1598 (lambda* (#:key inputs #:allow-other-keys)
1599 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
1600 "/xml/dtd/docbook")))
1601 (substitute* "libnma-docs.xml"
1602 (("http://.*/docbookx\\.dtd")
1603 (string-append xmldoc "/docbookx.dtd")))
1604 #t))))))
1605 (native-inputs
1606 `(("docbook-xml" ,docbook-xml-4.3)
1607 ("gettext" ,gettext-minimal)
1608 ("glib:bin" ,glib "bin")
1609 ("gtk-doc" ,gtk-doc)
1610 ("gobject-introspection" ,gobject-introspection)
1611 ("pkg-config" ,pkg-config)
1612 ("vala" ,vala)))
1613 (inputs
1614 `(("gcr" ,gcr)
1615 ("gtk+" ,gtk+)
1616 ("iso-codes" ,iso-codes)
1617 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
1618 ("network-manager" ,network-manager)))
1619 (synopsis "Network Manager's applet library")
1620 (description "Libnma is an applet library for Network Manager. It was
1621 initially part of network-manager-applet and has now become a separate
1622 project.")
1623 (home-page "https://gitlab.gnome.org/GNOME/libnma")
1624 ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
1625 ;; "LGPL-2.1+".
1626 (license license:gpl2+)))
1627
1628 (define-public gnome-menus
1629 (package
1630 (name "gnome-menus")
1631 (version "3.32.0")
1632 (source (origin
1633 (method url-fetch)
1634 (uri (string-append "mirror://gnome/sources/gnome-menus/"
1635 (version-major+minor version) "/"
1636 name "-" version ".tar.xz"))
1637 (sha256
1638 (base32
1639 "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"))))
1640 (build-system gnu-build-system)
1641 (native-inputs
1642 `(("gettext" ,gettext-minimal)
1643 ("glib" ,glib)
1644 ("pkg-config" ,pkg-config)))
1645 (synopsis "Menu support for GNOME desktop")
1646 (description "GNOME Menus contains the libgnome-menu library, the layout
1647 configuration files for the GNOME menu, as well as a simple menu editor.")
1648 (home-page "https://gitlab.gnome.org/GNOME/gnome-menus")
1649 (license license:lgpl2.0+)))
1650
1651 (define-public deja-dup
1652 (package
1653 (name "deja-dup")
1654 (version "40.6")
1655 (source (origin
1656 (method url-fetch)
1657 (uri (string-append "https://gitlab.gnome.org/World/deja-dup/-/archive/"
1658 version "/deja-dup-" version ".tar.bz2"))
1659 (sha256
1660 (base32
1661 "0lwazh6crby5wpy9fg6zvwy4plqbhs2f98bm5lbizjdlbh88n5q0"))))
1662 (build-system meson-build-system)
1663 (arguments
1664 `(#:glib-or-gtk? #t
1665 #:configure-flags
1666 (list
1667 ;; Otherwise, the RUNPATH will lack the final path component.
1668 (string-append "-Dc_link_args=-Wl,-rpath="
1669 (assoc-ref %outputs "out") "/lib/deja-dup"))
1670 #:phases
1671 (modify-phases %standard-phases
1672 (add-after 'unpack 'patch-paths
1673 (lambda* (#:key inputs #:allow-other-keys)
1674 (let ((python (assoc-ref inputs "python")))
1675 (substitute* '("libdeja/tools/duplicity/DuplicityInstance.vala"
1676 "libdeja/tests/scripts/instance-error.test")
1677 (("/bin/rm")
1678 (which "rm")))
1679 (substitute* "libdeja/tests/runner.vala"
1680 (("/bin/sh")
1681 (which "sh")))
1682 (substitute* "libdeja/tests/scripts/instance-error.test"
1683 (("`which python3`")
1684 (string-append python "/bin/python3"))))))
1685 (add-after 'unpack 'patch-libgpg-error
1686 (lambda* (#:key inputs #:allow-other-keys)
1687 (let ((libgpg-error (assoc-ref inputs "libgpg-error")))
1688 (substitute* "meson.build"
1689 (("(gpgerror_libs = ).*" _ var)
1690 (format #f "~a '-L~a/lib -lgpg-error'\n" var libgpg-error))))
1691 #t))
1692 (add-after 'unpack 'skip-gtk-update-icon-cache
1693 ;; Don't create 'icon-theme.cache'.
1694 (lambda _
1695 (substitute* "data/post-install.sh"
1696 (("gtk-update-icon-cache") "true"))
1697 #t)))))
1698 (inputs
1699 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1700 ("duplicity" ,duplicity)
1701 ("python" ,python)
1702 ("python-pygobject" ,python-pygobject)
1703 ("gtk+" ,gtk+)
1704 ("json-glib" ,json-glib)
1705 ("libnotify" ,libnotify)
1706 ("libgpg-error" ,libgpg-error)
1707 ("libsecret" ,libsecret)
1708 ("libsoup" ,libsoup)
1709 ("packagekit" ,packagekit)))
1710 (native-inputs
1711 `(("appstream-glib" ,appstream-glib)
1712 ("desktop-file-utils" ,desktop-file-utils)
1713 ("gettext" ,gettext-minimal)
1714 ("glib" ,glib "bin") ; for glib-compile-schemas.
1715 ("gobject-introspection" ,gobject-introspection)
1716 ("itstool" ,itstool)
1717 ("pkg-config" ,pkg-config)
1718 ("vala" ,vala)))
1719 (home-page "https://wiki.gnome.org/Apps/DejaDup")
1720 (synopsis "Simple backup tool, for regular encrypted backups")
1721 (description
1722 "Déjà Dup is a simple backup tool, for regular encrypted backups. It
1723 uses duplicity as the backend, which supports incremental backups and storage
1724 either on a local, or remote machine via a number of methods.")
1725 (license license:gpl3+)))
1726
1727 (define-public gnome-commander
1728 (package
1729 (name "gnome-commander")
1730 (version "1.10.3")
1731 (source
1732 (origin
1733 (method url-fetch)
1734 (uri (string-append "mirror://gnome/sources/" name "/"
1735 (version-major+minor version) "/"
1736 "gnome-commander-" version ".tar.xz"))
1737 (sha256
1738 (base32 "0bis36awb73vhkncq8yr0qlnyaxynqkvmyqbg57ijqwd0m8hh4zg"))))
1739 (build-system glib-or-gtk-build-system)
1740 (native-inputs
1741 `(("desktop-file-utils" ,desktop-file-utils)
1742 ("gcc" ,gcc-8) ;required for -Wcast-function-type
1743 ("gettext" ,gettext-minimal)
1744 ("glib:bin" ,glib "bin")
1745 ("gobject-introspection" ,gobject-introspection)
1746 ("googletest" ,googletest)
1747 ("intltool" ,intltool)
1748 ("itstool" ,itstool)
1749 ("libtool" ,libtool)
1750 ("pkg-config" ,pkg-config)))
1751 (inputs
1752 `(("gconf" ,gconf)
1753 ("gnome-vfs" ,gnome-vfs)
1754 ("gtk+" ,gtk+-2)
1755 ("libxml2" ,libxml2)))
1756 (home-page "https://gcmd.github.io/")
1757 (synopsis "Two-pane graphical file manager for the GNOME desktop")
1758 (description
1759 "GNOME Commander is a two-pane graphical file manager using GNOME
1760 libraries. It aims to fulfill the demands of more advanced users who
1761 like to focus on file management, their work through special applications
1762 and running smart commands.")
1763 (license license:gpl2+)))
1764
1765 (define-public gnome-user-docs
1766 (package
1767 (name "gnome-user-docs")
1768 (version "3.32.3")
1769 (source
1770 (origin
1771 (method url-fetch)
1772 (uri (string-append "mirror://gnome/sources/gnome-user-docs/"
1773 (version-major+minor version)
1774 "/gnome-user-docs-" version ".tar.xz"))
1775 (sha256
1776 (base32 "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig"))))
1777 (build-system gnu-build-system)
1778 (native-inputs
1779 `(("gettext" ,gettext-minimal)
1780 ("itstool" ,itstool)
1781 ("pkg-config" ,pkg-config)
1782 ("xmllint" ,libxml2)))
1783 (synopsis "User documentation for the GNOME desktop")
1784 (description
1785 "The GNOME User Documentation explains how to use the GNOME desktop and its
1786 components. It covers usage and setup of the core GNOME programs by end-users
1787 and system administrators.")
1788 (home-page "https://live.gnome.org/DocumentationProject")
1789 (license license:cc-by3.0)))
1790
1791 (define-public gnome-getting-started-docs
1792 (package
1793 (name "gnome-getting-started-docs")
1794 (version "3.32.2")
1795 (source
1796 (origin
1797 (method url-fetch)
1798 (uri (string-append "mirror://gnome/sources/gnome-getting-started-docs/"
1799 (version-major+minor version)
1800 "/gnome-getting-started-docs-" version ".tar.xz"))
1801 (sha256
1802 (base32 "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq"))))
1803 (build-system gnu-build-system)
1804 (native-inputs
1805 `(("gettext" ,gettext-minimal)
1806 ("itstool" ,itstool)
1807 ("pkg-config" ,pkg-config)
1808 ("xmllint" ,libxml2)))
1809 (synopsis "Help to get new users started with the GNOME desktop")
1810 (description
1811 "The GNOME Getting Started Documentation contains GNOME's intuitive
1812 \"Getting Started\" tour, with video guides, that can be viewed with Yelp.
1813
1814 It is normally used together with @command{gnome-initial-setup}, but is also
1815 useful as a tutorial and users' guide for new or less experienced users.")
1816 (home-page "https://live.gnome.org/DocumentationProject")
1817 (license license:cc-by-sa3.0)))
1818
1819 (define-public dia
1820 ;; This version from GNOME's repository includes fixes for compiling with
1821 ;; recent versions of the build tools. The latest activity on the
1822 ;; pre-GNOME version has been in 2014, while GNOME has continued applying
1823 ;; fixes since.
1824 (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
1825 (revision "2"))
1826 (package
1827 (name "dia")
1828 (version (git-version "0.97.3" revision commit))
1829 (source (origin
1830 (method git-fetch)
1831 (uri (git-reference
1832 (url "https://gitlab.gnome.org/GNOME/dia.git/")
1833 (commit commit)))
1834 (file-name (git-file-name name version))
1835 (sha256
1836 (base32
1837 "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
1838 (build-system meson-build-system)
1839 (inputs
1840 `(("graphene" ,graphene)
1841 ("gtk+" ,gtk+-2)
1842 ("libxml2" ,libxml2)
1843 ("libxslt" ,libxslt)
1844 ("poppler" ,poppler)
1845 ;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
1846 ;; ERROR: Unknown method "dependency" in object.
1847 ("python-2" ,python-2)))
1848 (native-inputs
1849 `(("appstream-glib" ,appstream-glib)
1850 ("docbook-xsl" ,docbook-xsl)
1851 ("glib" ,glib "bin")
1852 ("intltool" ,intltool)
1853 ("pkg-config" ,pkg-config)))
1854 (home-page "https://wiki.gnome.org/Apps/Dia")
1855 (synopsis "Diagram creation for GNOME")
1856 (description "Dia can be used to draw different types of diagrams, and
1857 includes support for UML static structure diagrams (class diagrams), entity
1858 relationship modeling, and network diagrams. The program supports various file
1859 formats like PNG, SVG, PDF and EPS.")
1860 (license license:gpl2+))))
1861
1862 ;; This is the unstable release, but it is required for the current stable
1863 ;; release of gvfs (1.38.1).
1864 (define-public libgdata
1865 (package
1866 (name "libgdata")
1867 (version "0.17.9")
1868 (source (origin
1869 (method url-fetch)
1870 (uri (string-append "mirror://gnome/sources/" name "/"
1871 (version-major+minor version) "/"
1872 name "-" version ".tar.xz"))
1873 (sha256
1874 (base32
1875 "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"))))
1876 (build-system gnu-build-system)
1877 (arguments
1878 '(#:phases
1879 (modify-phases %standard-phases
1880 (add-before 'check 'disable-failing-tests
1881 (lambda _
1882 ;; The PicasaWeb API tests fail with gnome-online-accounts@3.24.2.
1883 ;; They have been removed in libgdata 0.17.6, so just do the same.
1884 (substitute* "gdata/tests/Makefile"
1885 (("picasaweb\\$\\(EXEEXT\\) ") ""))
1886 #t)))))
1887 (native-inputs
1888 `(("glib:bin" ,glib "bin")
1889 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
1890 ("intltool" ,intltool)
1891 ("pkg-config" ,pkg-config)
1892 ("uhttpmock" ,uhttpmock)))
1893 (inputs
1894 `(("cyrus-sasl" ,cyrus-sasl)
1895 ("glib-networking" ,glib-networking)))
1896 (propagated-inputs
1897 `(("gcr" ,gcr)
1898 ("glib" ,glib)
1899 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
1900 ("json-glib" ,json-glib)
1901 ("liboauth" ,liboauth)
1902 ("libsoup" ,libsoup)
1903 ("libxml2" ,libxml2)))
1904 (home-page "https://wiki.gnome.org/Projects/libgdata")
1905 (synopsis "Library for accessing online service APIs")
1906 (description
1907 "libgdata is a GLib-based library for accessing online service APIs using
1908 the GData protocol — most notably, Google's services. It provides APIs to
1909 access the common Google services, and has full asynchronous support.")
1910 (license license:lgpl2.1+)))
1911
1912 (define-public libgxps
1913 (package
1914 (name "libgxps")
1915 (version "0.3.1")
1916 (source (origin
1917 (method url-fetch)
1918 (uri (string-append "mirror://gnome/sources/" name "/"
1919 (version-major+minor version) "/"
1920 name "-" version ".tar.xz"))
1921 (sha256
1922 (base32
1923 "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs"))))
1924 (build-system meson-build-system)
1925 (native-inputs
1926 `(("gobject-introspection" ,gobject-introspection)
1927 ("pkg-config" ,pkg-config)))
1928 (inputs
1929 `(("gtk+" ,gtk+)
1930 ("libjpeg" ,libjpeg-turbo)
1931 ("lcms" ,lcms)
1932 ("libtiff" ,libtiff)))
1933 (propagated-inputs
1934 ;; In Requires of libgxps.pc.
1935 `(("cairo" ,cairo)
1936 ("glib" ,glib)
1937 ("libarchive" ,libarchive)))
1938 (home-page "https://wiki.gnome.org/Projects/libgxps")
1939 (synopsis "GObject-based library for handling and rendering XPS documents")
1940 (description
1941 "libgxps is a GObject-based library for handling and rendering XPS
1942 documents. This package also contains binaries that can convert XPS documents
1943 to other formats.")
1944 (license license:lgpl2.1+)))
1945
1946 (define-public gnome-characters
1947 (package
1948 (name "gnome-characters")
1949 (version "3.30.0")
1950 (source
1951 (origin
1952 (method url-fetch)
1953 (uri (string-append "mirror://gnome/sources/"
1954 "gnome-characters/" (version-major+minor version)
1955 "/gnome-characters-" version ".tar.xz"))
1956 (sha256
1957 (base32
1958 "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
1959 (build-system meson-build-system)
1960 (arguments
1961 `(#:glib-or-gtk? #t
1962 #:phases (modify-phases %standard-phases
1963 (add-after 'install 'wrap
1964 (lambda* (#:key outputs #:allow-other-keys)
1965 ;; GNOME Characters needs Typelib files from GTK and
1966 ;; gnome-desktop.
1967 (wrap-program (string-append (assoc-ref outputs "out")
1968 "/bin/gnome-characters")
1969 `("GI_TYPELIB_PATH" ":" prefix
1970 (,(getenv "GI_TYPELIB_PATH"))))
1971 #t)))))
1972 (native-inputs
1973 `(("gettext" ,gettext-minimal)
1974 ("glib:bin" ,glib "bin")
1975 ("gtk+:bin" ,gtk+ "bin")
1976 ("pkg-config" ,pkg-config)
1977 ("python" ,python-minimal)))
1978 (inputs
1979 `(("gjs" ,gjs)
1980 ("gtk+" ,gtk+)
1981 ("libunistring" ,libunistring)
1982 ("gnome-desktop" ,gnome-desktop)))
1983 (home-page "https://wiki.gnome.org/Apps/CharacterMap")
1984 (synopsis "Find and insert unusual characters")
1985 (description "Characters is a simple utility application to find
1986 and insert unusual characters. It allows you to quickly find the
1987 character you are looking for by searching for keywords.")
1988 (license license:bsd-3)))
1989
1990 (define-public gnome-common
1991 (package
1992 (name "gnome-common")
1993 (version "3.18.0")
1994 (source
1995 (origin
1996 (method url-fetch)
1997 (uri (string-append "mirror://gnome/sources/" name "/"
1998 (version-major+minor version) "/"
1999 name "-" version ".tar.xz"))
2000 (sha256
2001 (base32
2002 "1kzqi8qvh5p1zncj8msazlmvcwsczjz2hqxp4x2y0mg718vrwmi2"))))
2003 (build-system gnu-build-system)
2004 (home-page "https://www.gnome.org/")
2005 (synopsis "Bootstrap GNOME modules built from Git")
2006 (description "gnome-common contains various files needed to bootstrap
2007 GNOME modules built from Git. It contains a common \"autogen.sh\" script that
2008 can be used to configure a source directory checked out from Git and some
2009 commonly used macros.")
2010 (license license:gpl2+)))
2011
2012 (define-public gnome-contacts
2013 (package
2014 (name "gnome-contacts")
2015 (version "3.34")
2016 (source (origin
2017 (method url-fetch)
2018 (uri (string-append "mirror://gnome/sources/gnome-contacts/"
2019 (version-major+minor version) "/"
2020 name "-" version ".tar.xz"))
2021 (sha256
2022 (base32
2023 "04igc9xvyc4kb5xf5g2missnvyvj9zv5cqxf5k4z7hb0sv42wq4r"))))
2024 (build-system meson-build-system)
2025 (arguments
2026 `(#:configure-flags '("-Dcheese=false")
2027 #:phases
2028 (modify-phases %standard-phases
2029 (add-after 'unpack 'generate-vapis
2030 (lambda* (#:key inputs #:allow-other-keys)
2031 ;; To generate goa's missing .vapi file
2032 (define goa
2033 (assoc-ref inputs "gnome-online-accounts:lib"))
2034
2035 (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
2036 "--library=goa-1.0"
2037 (string-append goa "/share/gir-1.0/Goa-1.0.gir"))
2038 #t))
2039 (add-after 'unpack 'skip-gtk-update-icon-cache
2040 ;; Don't create 'icon-theme.cache'.
2041 (lambda _
2042 (substitute* "build-aux/meson_post_install.py"
2043 (("gtk-update-icon-cache") "true"))
2044 #t)))))
2045 (native-inputs
2046 `(("glib:bin" ,glib "bin")
2047 ("pkg-config" ,pkg-config)))
2048 (inputs
2049 `(("docbook-xml" ,docbook-xml)
2050 ("dockbook-xsl" ,docbook-xsl)
2051 ("evolution-data-server" ,evolution-data-server)
2052 ("gettext" ,gettext-minimal)
2053 ("gnome-desktop" ,gnome-desktop)
2054 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
2055 ("gobject-introspection" ,gobject-introspection)
2056 ("gst-plugins-base" ,gst-plugins-base)
2057 ("gtk+" ,gtk+)
2058 ("libgee" ,libgee)
2059 ("libxslt" ,libxslt)
2060 ("telepathy-glib" ,telepathy-glib)
2061 ("vala" ,vala)))
2062 (propagated-inputs
2063 `(("folks" ,folks)
2064 ("telepathy-mission-control" ,telepathy-mission-control)))
2065 (synopsis "GNOME's integrated address book")
2066 (description
2067 "GNOME Contacts organizes your contact information from online and
2068 offline sources, providing a centralized place for managing your contacts.")
2069 (home-page "https://wiki.gnome.org/Apps/Contacts")
2070 (license license:gpl2+)))
2071
2072 (define-public gnome-desktop
2073 (package
2074 (name "gnome-desktop")
2075 (version "3.34.2")
2076 (source
2077 (origin
2078 (method url-fetch)
2079 (uri (string-append "mirror://gnome/sources/" name "/"
2080 (version-major+minor version) "/"
2081 name "-" version ".tar.xz"))
2082 (sha256
2083 (base32
2084 "1v983xirwp1y6ggz97bh742ak6gff0hxb359dgn37nikjxhvm0a0"))))
2085 (build-system meson-build-system)
2086 (arguments
2087 '(#:phases
2088 (modify-phases %standard-phases
2089 (add-before 'configure 'patch-path
2090 (lambda* (#:key inputs #:allow-other-keys)
2091 (let ((libc (assoc-ref inputs "libc")))
2092 (substitute* "libgnome-desktop/gnome-languages.c"
2093 (("\"locale\"")
2094 (string-append "\"" libc "/bin/locale\"")))
2095 #t)))
2096 (add-before 'configure 'patch-bubblewrap
2097 (lambda* (#:key inputs #:allow-other-keys)
2098 (substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
2099 (("\"bwrap\",")
2100 (string-append "\"" (which "bwrap") "\","))
2101 (("\"--ro-bind\", \"/usr\", \"/usr\",")
2102 (string-append "\"--ro-bind\", \""
2103 (%store-directory)
2104 "\", \""
2105 (%store-directory)
2106 "\","))
2107 (("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
2108 #t))
2109 (add-before 'check 'pre-check
2110 (lambda* (#:key inputs #:allow-other-keys)
2111 ;; Tests require a running X server and locales.
2112 (system "Xvfb :1 &")
2113 (setenv "DISPLAY" ":1")
2114 (setenv "GUIX_LOCPATH"
2115 (string-append (assoc-ref inputs "glibc-locales")
2116 "/lib/locale"))
2117 #t)))))
2118 (native-inputs
2119 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
2120 ("glibc-locales" ,glibc-locales) ; for tests
2121 ("gobject-introspection" ,gobject-introspection)
2122 ("itstool" ,itstool)
2123 ("intltool" ,intltool)
2124 ("pkg-config" ,pkg-config)
2125 ("xmllint" ,libxml2)
2126 ("xorg-server" ,xorg-server-for-tests)))
2127 (propagated-inputs
2128 ;; Required by gnome-desktop-3.0.pc.
2129 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2130 ("gtk+" ,gtk+)
2131 ("iso-codes" ,iso-codes)
2132 ("libseccomp" ,libseccomp)
2133 ("libx11" ,libx11)
2134 ("xkeyboard-config" ,xkeyboard-config)))
2135 (inputs
2136 `(("gdk-pixbuf" ,gdk-pixbuf)
2137 ("glib" ,glib)
2138 ("bubblewrap" ,bubblewrap)
2139 ("libxext" ,libxext)
2140 ("libxkbfile" ,libxkbfile)
2141 ("libxrandr" ,libxrandr)))
2142 (home-page "https://www.gnome.org/")
2143 (synopsis
2144 "Libgnome-desktop, gnome-about, and desktop-wide documents")
2145 (description
2146 "The libgnome-desktop library provides API shared by several applications
2147 on the desktop, but that cannot live in the platform for various reasons.
2148 There is no API or ABI guarantee, although we are doing our best to provide
2149 stability. Documentation for the API is available with gtk-doc.
2150
2151 The gnome-about program helps find which version of GNOME is installed.")
2152 ; Some bits under the LGPL.
2153 (license license:gpl2+)))
2154
2155 (define-public gnome-doc-utils
2156 (package
2157 (name "gnome-doc-utils")
2158 (version "0.20.10")
2159 (source
2160 (origin
2161 (method url-fetch)
2162 (uri (string-append "mirror://gnome/sources/" name "/"
2163 (version-major+minor version) "/"
2164 name "-" version ".tar.xz"))
2165 (sha256
2166 (base32
2167 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
2168 (build-system gnu-build-system)
2169 (native-inputs
2170 `(("intltool" ,intltool)
2171 ("docbook-xml" ,docbook-xml-4.4)
2172 ("python2-libxml2" ,python2-libxml2)
2173 ("libxml2" ,libxml2)
2174 ("libxslt" ,libxslt)
2175 ("pkg-config" ,pkg-config)
2176 ("python-2" ,python-2)))
2177 (home-page "https://wiki.gnome.org/GnomeDocUtils")
2178 (synopsis
2179 "Documentation utilities for the Gnome project")
2180 (description
2181 "Gnome-doc-utils is a collection of documentation utilities for the
2182 Gnome project. It includes xml2po tool which makes it easier to translate
2183 and keep up to date translations of documentation.")
2184 (license license:gpl2+))) ; xslt under lgpl
2185
2186 (define-public gnome-disk-utility
2187 (package
2188 (name "gnome-disk-utility")
2189 (version "3.34.0")
2190 (source (origin
2191 (method url-fetch)
2192 (uri (string-append "mirror://gnome/sources/" name "/"
2193 (version-major+minor version) "/"
2194 name "-" version ".tar.xz"))
2195 (sha256
2196 (base32
2197 "1mb7q90lnlp97dhxhnadhjagcfd12dfqzp0vj9h6b1r61pzhy97y"))))
2198 (build-system meson-build-system)
2199 (arguments
2200 '(#:configure-flags '("-Dlogind=libelogind")
2201 #:phases
2202 (modify-phases %standard-phases
2203 (add-after 'unpack 'skip-gtk-update-icon-cache
2204 ;; Don't create 'icon-theme.cache'.
2205 (lambda _
2206 (substitute* "meson_post_install.py"
2207 (("gtk-update-icon-cache") "true"))
2208 #t)))))
2209 (native-inputs
2210 `(("glib:bin" ,glib "bin")
2211 ("intltool" ,intltool)
2212 ("pkg-config" ,pkg-config)
2213 ("docbook-xml" ,docbook-xml)
2214 ("docbook-xsl" ,docbook-xsl)
2215 ("libxml2" ,libxml2)
2216 ("libxslt" ,libxslt)))
2217 (inputs
2218 `(("elogind" ,elogind)
2219 ("glib" ,glib)
2220 ("appstream-glib" ,appstream-glib)
2221 ("gnome-settings-daemon" ,gnome-settings-daemon)
2222 ("gtk+" ,gtk+)
2223 ("libcanberra" ,libcanberra)
2224 ("libdvdread" ,libdvdread)
2225 ("libnotify" ,libnotify)
2226 ("libpwquality" ,libpwquality)
2227 ("libsecret" ,libsecret)
2228 ("udisks" ,udisks)))
2229 (home-page "https://git.gnome.org/browse/gnome-disk-utility")
2230 (synopsis "Disk management utility for GNOME")
2231 (description "Disk management utility for GNOME.")
2232 (license license:gpl2+)))
2233
2234 (define-public gnome-font-viewer
2235 (package
2236 (name "gnome-font-viewer")
2237 (version "3.30.0")
2238 (source (origin
2239 (method url-fetch)
2240 (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
2241 (version-major+minor version)
2242 "/gnome-font-viewer-" version ".tar.xz"))
2243 (sha256
2244 (base32
2245 "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
2246 (build-system meson-build-system)
2247 (arguments
2248 '(#:phases
2249 (modify-phases %standard-phases
2250 (add-after 'unpack 'patch-post-install-script
2251 (lambda _
2252 (substitute* "meson-postinstall.sh"
2253 (("update-desktop-database") (which "true")))
2254 #t)))))
2255 (native-inputs
2256 `(("gettext" ,gettext-minimal)
2257 ("glib:bin" ,glib "bin")
2258 ("pkg-config" ,pkg-config)))
2259 (inputs
2260 `(("glib" ,glib)
2261 ("gnome-desktop" ,gnome-desktop)
2262 ("gtk+" ,gtk+)))
2263 (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
2264 (synopsis "GNOME Fonts")
2265 (description "Application to show you the fonts installed on your computer
2266 for your use as thumbnails. Selecting any thumbnails shows the full view of how
2267 the font would look under various sizes.")
2268 (license license:gpl2+)))
2269
2270 (define-public gcr
2271 (package
2272 (name "gcr")
2273 (version "3.34.0")
2274 (source (origin
2275 (method url-fetch)
2276 (uri (string-append "mirror://gnome/sources/" name "/"
2277 (version-major+minor version) "/"
2278 name "-" version ".tar.xz"))
2279 (sha256
2280 (base32
2281 "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"))))
2282 (build-system gnu-build-system)
2283 (arguments
2284 '(#:phases
2285 (modify-phases %standard-phases
2286 ;; These fail because /var/lib/dbus/machine-id is not present in the
2287 ;; build environment.
2288 (add-after 'unpack 'disable-failing-tests
2289 (lambda _
2290 (substitute* "Makefile.in"
2291 (("[[:blank:]]+test-system-prompt\\$\\(EXEEXT\\)")
2292 ""))
2293 #t))
2294 (add-before 'check 'pre-check
2295 (lambda _
2296 ;; Some tests expect to write to $HOME.
2297 (setenv "HOME" "/tmp")
2298 #t)))))
2299 (inputs
2300 `(("dbus" ,dbus)
2301 ("gnupg" ,gnupg) ;called as a child process during tests
2302 ("libgcrypt" ,libgcrypt)))
2303 (native-inputs
2304 `(("python" ,python-wrapper) ;for tests
2305 ("pkg-config" ,pkg-config)
2306 ("gettext" ,gettext-minimal)
2307 ("glib" ,glib "bin")
2308 ("gobject-introspection" ,gobject-introspection)
2309 ("libxml2" ,libxml2)
2310 ("vala" ,vala)
2311 ("xsltproc" ,libxslt)))
2312 ;; mentioned in gck.pc, gcr.pc and gcr-ui.pc
2313 (propagated-inputs
2314 `(("p11-kit" ,p11-kit)
2315 ("glib" ,glib)
2316 ("gtk+" ,gtk+)))
2317 (home-page "https://www.gnome.org")
2318 (synopsis "Libraries for displaying certificates and accessing key stores")
2319 (description
2320 "The GCR package contains libraries used for displaying certificates and
2321 accessing key stores. It also provides the viewer for crypto files on the
2322 GNOME Desktop.")
2323 (license license:lgpl2.1+)))
2324
2325 (define-public gdl
2326 (package
2327 (name "gdl")
2328 (version "3.34.0")
2329 (source (origin
2330 (method git-fetch)
2331 (uri (git-reference
2332 (url "https://gitlab.gnome.org/GNOME/gdl.git")
2333 (commit (string-append "GDL_" (string-map (match-lambda
2334 (#\. #\_)
2335 (c c))
2336 version)))))
2337 (file-name (git-file-name name version))
2338 (sha256
2339 (base32
2340 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
2341 (build-system gnu-build-system)
2342 (native-inputs
2343 `(("autoconf" ,autoconf)
2344 ("automake" ,automake)
2345 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
2346 ("gnome-common" ,gnome-common)
2347 ("gtk-doc" ,gtk-doc)
2348 ("intltool" ,intltool)
2349 ("pkg-config" ,pkg-config)
2350 ("libtool" ,libtool)
2351 ("which" ,which)))
2352 (inputs
2353 `(("libxml2" ,libxml2)))
2354 (propagated-inputs
2355 ;; The gdl-3.0.pc file 'Requires' GTK+.
2356 `(("gtk+" ,gtk+)))
2357 (home-page "https://gitlab.gnome.org/GNOME/gdl/")
2358 (synopsis "GNOME docking library")
2359 (description "This library provides docking features for gtk+.")
2360 (license license:lgpl2.1+)))
2361
2362 ;;; A minimal variant used to break a cycle with Inkscape.
2363 (define-public gdl-minimal
2364 (package
2365 (inherit gdl)
2366 (name "gdl-minimal")
2367 (arguments
2368 '(#:phases
2369 (modify-phases %standard-phases
2370 (add-after 'unpack 'disable-doc-generation
2371 ;; XXX: There is no easy way to disable generating the
2372 ;; documentation.
2373 (lambda _
2374 (substitute* "configure.in"
2375 (("GTK_DOC_CHECK.*") "")
2376 (("docs/.*") ""))
2377 (substitute* "Makefile.am"
2378 (("gdl docs po") "gdl po"))
2379 #t)))))
2380 (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
2381
2382 (define-public libgnome-keyring
2383 (package
2384 (name "libgnome-keyring")
2385 (version "3.12.0")
2386 (source (origin
2387 (method url-fetch)
2388 (uri (string-append "mirror://gnome/sources/" name "/"
2389 (version-major+minor version) "/"
2390 name "-" version ".tar.xz"))
2391 (sha256
2392 (base32
2393 "10vpjhgbjm7z2djy04qakd02qlzpd02xnbfjhk2aqwjzn3xpihf4"))))
2394 (build-system gnu-build-system)
2395 (inputs
2396 `(("libgcrypt" ,libgcrypt)
2397 ("dbus" ,dbus)))
2398 (native-inputs
2399 `(("pkg-config" ,pkg-config)
2400 ("glib" ,glib "bin")
2401 ("intltool" ,intltool)))
2402 (propagated-inputs
2403 ;; Referred to in .h files and .pc.
2404 `(("glib" ,glib)))
2405 (home-page "https://www.gnome.org")
2406 (synopsis "Accessing passwords from the GNOME keyring")
2407 (description
2408 "Client library to access passwords from the GNOME keyring.")
2409
2410 ;; Though a couple of files are LGPLv2.1+.
2411 (license license:lgpl2.0+)))
2412
2413 (define-public gnome-keyring
2414 (package
2415 (name "gnome-keyring")
2416 (version "3.34.0")
2417 (source (origin
2418 (method url-fetch)
2419 (uri (string-append "mirror://gnome/sources/" name "/"
2420 (version-major+minor version) "/"
2421 name "-" version ".tar.xz"))
2422 (sha256
2423 (base32
2424 "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"))))
2425 (build-system gnu-build-system)
2426 (arguments
2427 `(#:tests? #f ;48 of 603 tests fail because /var/lib/dbus/machine-id does
2428 ;not exist
2429 #:configure-flags
2430 (list
2431 (string-append "--with-pkcs11-config="
2432 (assoc-ref %outputs "out") "/share/p11-kit/modules/")
2433 (string-append "--with-pkcs11-modules="
2434 (assoc-ref %outputs "out") "/share/p11-kit/modules/"))
2435 #:phases
2436 (modify-phases %standard-phases
2437 (add-after 'unpack 'fix-/bin/sh-reference
2438 (lambda _
2439 (substitute* "po/Makefile.in.in"
2440 (("/bin/sh") (which "sh")))
2441 #t))
2442 (add-after 'unpack 'fix-docbook
2443 (lambda* (#:key inputs #:allow-other-keys)
2444 (substitute* "docs/Makefile.am"
2445 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2446 (string-append (assoc-ref inputs "docbook-xsl")
2447 "/xml/xsl/docbook-xsl-"
2448 ,(package-version docbook-xsl)
2449 "/manpages/docbook.xsl")))
2450 (setenv "XML_CATALOG_FILES"
2451 (string-append (assoc-ref inputs "docbook-xml")
2452 "/xml/dtd/docbook/catalog.xml"))
2453 ;; Rerun the whole thing to avoid version mismatch ("This is
2454 ;; Automake 1.15.1, but the definition used by this
2455 ;; AM_INIT_AUTOMAKE comes from Automake 1.15."). Note: we don't
2456 ;; use 'autoreconf' because it insists on running 'libtoolize'.
2457 (invoke "autoconf")
2458 (invoke "aclocal")
2459 (invoke "automake" "-ac"))))))
2460 (inputs
2461 `(("libgcrypt" ,libgcrypt)
2462 ("linux-pam" ,linux-pam)
2463 ("openssh" ,openssh)
2464 ("dbus" ,dbus)
2465 ("gcr" ,gcr)))
2466 (native-inputs
2467 `(("pkg-config" ,pkg-config)
2468 ("glib" ,glib "bin")
2469 ("glib" ,glib) ; for m4 macros
2470 ("python" ,python-2) ;for tests
2471 ("intltool" ,intltool)
2472 ("autoconf" ,autoconf)
2473 ("automake" ,automake)
2474 ("libxslt" ,libxslt) ;for documentation
2475 ("docbook-xml" ,docbook-xml-4.2)
2476 ("docbook-xsl" ,docbook-xsl)))
2477 (home-page "https://www.gnome.org")
2478 (synopsis "Daemon to store passwords and encryption keys")
2479 (description
2480 "gnome-keyring is a program that keeps passwords and other secrets for
2481 users. It is run as a daemon in the session, similar to ssh-agent, and other
2482 applications locate it via an environment variable or D-Bus.
2483
2484 The program can manage several keyrings, each with its own master password,
2485 and there is also a session keyring which is never stored to disk, but
2486 forgotten when the session ends.")
2487 (license license:lgpl2.1+)))
2488
2489 (define-public evince
2490 (package
2491 (name "evince")
2492 (version "3.36.5")
2493 (source (origin
2494 (method url-fetch)
2495 (uri (string-append "mirror://gnome/sources/evince/"
2496 (version-major+minor version) "/"
2497 "evince-" version ".tar.xz"))
2498 (sha256
2499 (base32
2500 "0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
2501 (build-system glib-or-gtk-build-system)
2502 (arguments
2503 `(#:configure-flags '("--disable-nautilus" "--enable-introspection")
2504 #:phases
2505 (modify-phases %standard-phases
2506 (add-before 'install 'skip-gtk-update-icon-cache
2507 ;; Don't create 'icon-theme.cache'.
2508 (lambda _
2509 (substitute* "data/Makefile"
2510 (("gtk-update-icon-cache") "true"))
2511 #t)))))
2512 (inputs
2513 `(("libarchive" ,libarchive)
2514 ("libgxps" ,libgxps)
2515 ("libspectre" ,libspectre)
2516 ("djvulibre" ,djvulibre)
2517 ("ghostscript" ,ghostscript)
2518 ("poppler" ,poppler)
2519 ("libtiff" ,libtiff)
2520 ;; TODO:
2521 ;; Build libkpathsea as a shared library for DVI support.
2522 ;; ("libkpathsea" ,texlive-bin)
2523 ("gnome-desktop" ,gnome-desktop)
2524 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2525 ("gspell" ,gspell)
2526 ("libgnome-keyring" ,libgnome-keyring)
2527 ("adwaita-icon-theme" ,adwaita-icon-theme)
2528 ("gdk-pixbuf" ,gdk-pixbuf)
2529 ("atk" ,atk)
2530 ("pango" ,pango)
2531 ("gtk+" ,gtk+)
2532 ("glib" ,glib)
2533 ("libxml2" ,libxml2)
2534 ("libsm" ,libsm)
2535 ("libice" ,libice)
2536 ("shared-mime-info" ,shared-mime-info)
2537 ("dconf" ,dconf)
2538 ("libcanberra" ,libcanberra)
2539 ("libsecret" ,libsecret)
2540
2541 ;; For tests.
2542 ("dogtail" ,python2-dogtail)))
2543 (native-inputs
2544 `(("itstool" ,itstool)
2545 ("intltool" ,intltool)
2546 ("glib" ,glib "bin")
2547 ("gobject-introspection" ,gobject-introspection)
2548 ("pkg-config" ,pkg-config)
2549 ("xmllint" ,libxml2)))
2550 (home-page "https://www.gnome.org/projects/evince/")
2551 (synopsis "GNOME's document viewer")
2552 (description
2553 "Evince is a document viewer for multiple document formats. It
2554 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
2555 of Evince is to replace the multiple document viewers that exist
2556 on the GNOME Desktop with a single simple application.")
2557 (license license:gpl2+)))
2558
2559 (define-public gsettings-desktop-schemas
2560 (package
2561 (name "gsettings-desktop-schemas")
2562 (version "3.34.0")
2563 (source
2564 (origin
2565 (method url-fetch)
2566 (uri (string-append "mirror://gnome/sources/" name "/"
2567 (version-major+minor version) "/"
2568 name "-" version ".tar.xz"))
2569 (sha256
2570 (base32
2571 "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"))))
2572 (build-system meson-build-system)
2573 (arguments
2574 '(#:phases (modify-phases %standard-phases
2575 (add-after 'unpack 'patch-schemas
2576 (lambda* (#:key inputs #:allow-other-keys)
2577 (let ((theme (assoc-ref inputs "gnome-backgrounds")))
2578 (substitute* (find-files "schemas"
2579 "\\.gschema\\.xml\\.in$")
2580 ;; Provide the correct file name of the default GNOME
2581 ;; background, 'adwaita-timed.xml'.
2582 (("@datadir@/backgrounds/gnome")
2583 (string-append theme "/share/backgrounds/gnome"))
2584 ;; Do not reference fonts, that may not exist.
2585 (("'Source Code Pro 10'") "'Monospace 11'"))
2586 #t))))))
2587 (inputs
2588 `(("glib" ,glib)
2589 ("gnome-backgrounds" ,gnome-backgrounds)))
2590 (native-inputs
2591 `(("intltool" ,intltool)
2592 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
2593 ("gobject-introspection" ,gobject-introspection)
2594 ("pkg-config" ,pkg-config)))
2595 (home-page "https://launchpad.net/gsettings-desktop-schemas")
2596 (synopsis
2597 "GNOME settings for various desktop components")
2598 (description
2599 "Gsettings-desktop-schemas contains a collection of GSettings schemas
2600 for settings shared by various components of the GNOME desktop.")
2601 (license license:lgpl2.1+)))
2602
2603 (define-public python-liblarch
2604 (package
2605 (name "python-liblarch")
2606 (version "3.0.1")
2607 (source
2608 (origin
2609 (method git-fetch)
2610 (uri (git-reference
2611 (url "https://github.com/getting-things-gnome/liblarch")
2612 (commit (string-append "v" version))))
2613 (file-name (git-file-name name version))
2614 (sha256
2615 (base32 "0xv2mfvyzipbny3iz8vll77wsqxfwh28xj6bj1ff0l452waph45m"))))
2616 (build-system python-build-system)
2617 (arguments
2618 `(#:phases
2619 (modify-phases %standard-phases
2620 (add-before 'check 'start-xserver
2621 (lambda* (#:key inputs #:allow-other-keys)
2622 (system (format #f "~a/bin/Xvfb :1 &"
2623 (assoc-ref inputs "xorg-server")))
2624 (setenv "DISPLAY" ":1")
2625 #t)))))
2626 (native-inputs
2627 `(("xorg-server" ,xorg-server-for-tests)))
2628 (inputs
2629 `(("gtk+" ,gtk+)))
2630 (propagated-inputs
2631 `(("python-pygobject" ,python-pygobject)))
2632 (home-page "https://wiki.gnome.org/Projects/liblarch")
2633 (synopsis "Library to easily handle complex data structures")
2634 (description
2635 "Liblarch is a Python library built to easily handle data structures such
2636 as lists, trees and acyclic graphs. There's also a GTK binding that will
2637 allow you to use your data structure in a @code{Gtk.Treeview}.
2638
2639 Liblarch support multiple views of one data structure and complex filtering.
2640 That way, you have a clear separation between your data themselves (Model)
2641 and how they are displayed (View).")
2642 (license license:lgpl3+)))
2643
2644 (define-public gtg
2645 (package
2646 (name "gtg")
2647 (version "0.4")
2648 (source
2649 (origin
2650 (method git-fetch)
2651 (uri (git-reference
2652 (url "https://github.com/getting-things-gnome/gtg")
2653 (commit (string-append "v" version))))
2654 (file-name (git-file-name name version))
2655 (sha256
2656 (base32 "0r28vyr88rj3kd3cg4gj7sd29wadjchi92wzmbx67d4hlg25h8kk"))))
2657 (build-system meson-build-system)
2658 (arguments
2659 `(#:glib-or-gtk? #t
2660 #:phases
2661 (modify-phases %standard-phases
2662 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
2663 (lambda* (#:key outputs #:allow-other-keys)
2664 (let ((prog (string-append (assoc-ref outputs "out")
2665 "/bin/gtg"))
2666 (pylib (string-append (assoc-ref outputs "out")
2667 "/lib/python"
2668 ,(version-major+minor
2669 (package-version python))
2670 "/site-packages")))
2671 (wrap-program prog
2672 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
2673 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
2674 #t))))))
2675 (native-inputs
2676 `(("desktop-file-utils" ,desktop-file-utils)
2677 ("gettext" ,gettext-minimal)
2678 ("glib:bin" ,glib "bin")
2679 ("gobject-introspection" ,gobject-introspection)
2680 ("gtk+:bin" ,gtk+ "bin")
2681 ("pkg-config" ,pkg-config)))
2682 (inputs
2683 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2684 ("gtk+" ,gtk+)
2685 ("python-dbus" ,python-dbus)
2686 ("python-liblarch" ,python-liblarch)
2687 ("python-pycairo" ,python-pycairo)
2688 ("python-pygobject" ,python-pygobject)
2689 ("python-pyxdg" ,python-pyxdg)))
2690 (home-page "https://wiki.gnome.org/Apps/GTG")
2691 (synopsis "Personal organizer for the GNOME desktop")
2692 (description
2693 "Getting Things GNOME! (GTG) is a personal tasks and TODO list items
2694 organizer for the GNOME desktop environment inspired by the Getting Things
2695 Done (GTD) methodology. GTG is designed with flexibility, adaptability,
2696 and ease of use in mind so it can be used as more than just GTD software.
2697 GTG is intended to help you track everything you need to do and need to
2698 know, from small tasks to large projects.")
2699 (license license:gpl3+)))
2700
2701 (define-public icon-naming-utils
2702 (package
2703 (name "icon-naming-utils")
2704 (version "0.8.90")
2705 (source
2706 (origin
2707 (method url-fetch)
2708 (uri (string-append "https://tango.freedesktop.org/releases/icon-naming-utils-"
2709 version ".tar.bz2"))
2710 (sha256
2711 (base32
2712 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
2713 (build-system gnu-build-system)
2714 (inputs
2715 `(("perl" ,perl)
2716 ("perl-xml-simple" ,perl-xml-simple)))
2717 (arguments
2718 '(#:phases
2719 (modify-phases %standard-phases
2720 (add-after 'install 'set-load-paths
2721 ;; Tell 'icon-name-mapping' where XML::Simple is.
2722 (lambda* (#:key outputs #:allow-other-keys)
2723 (let* ((out (assoc-ref outputs "out"))
2724 (prog (string-append out "/libexec/icon-name-mapping")))
2725 (wrap-program
2726 prog
2727 `("PERL5LIB" = ,(list (getenv "PERL5LIB")))))
2728 #t)))))
2729 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
2730 (synopsis
2731 "Utility to implement the Freedesktop Icon Naming Specification")
2732 (description
2733 "To help with the transition to the Freedesktop Icon Naming
2734 Specification, the icon naming utility maps the icon names used by the
2735 GNOME and KDE desktops to the icon names proposed in the specification.")
2736 (license license:lgpl2.1+)))
2737
2738 (define-public gnome-icon-theme
2739 (package
2740 (name "gnome-icon-theme")
2741 (version "3.12.0")
2742 (source
2743 (origin
2744 (method url-fetch)
2745 (uri (string-append "mirror://gnome/sources/" name "/"
2746 (version-major+minor version) "/"
2747 name "-" version ".tar.xz"))
2748 (sha256
2749 (base32
2750 "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"))))
2751 (build-system gnu-build-system)
2752 (arguments
2753 '(#:configure-flags
2754 ;; Don't create 'icon-theme.cache'.
2755 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
2756 (true (string-append coreutils "/bin/true")))
2757 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
2758 (native-inputs
2759 `(("icon-naming-utils" ,icon-naming-utils)
2760 ("intltool" ,intltool)
2761 ("pkg-config" ,pkg-config)))
2762 (home-page "https://wiki.gnome.org/Personalization")
2763 (synopsis "GNOME icon theme")
2764 (description "Icons for the GNOME desktop.")
2765 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
2766
2767 ;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
2768 (define-public adwaita-icon-theme
2769 (package (inherit gnome-icon-theme)
2770 (name "adwaita-icon-theme")
2771 (version "3.34.3")
2772 (source (origin
2773 (method url-fetch)
2774 (uri (string-append "mirror://gnome/sources/" name "/"
2775 (version-major+minor version) "/"
2776 name "-" version ".tar.xz"))
2777 (sha256
2778 (base32
2779 "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"))))
2780 (native-inputs
2781 `(("gtk-encode-symbolic-svg" ,gtk+ "bin")))))
2782
2783 (define-public tango-icon-theme
2784 (package
2785 (name "tango-icon-theme")
2786 (version "0.8.90")
2787 (source (origin
2788 (method url-fetch)
2789 (uri (string-append "http://tango.freedesktop.org/releases/"
2790 "tango-icon-theme-" version ".tar.bz2"))
2791 (sha256
2792 (base32
2793 "034r9s944b4yikyfgn602yv7s54wdzlq0qfvqh52b9x6kbx08h79"))))
2794 (build-system gnu-build-system)
2795 (native-inputs
2796 `(("icon-naming-utils" ,icon-naming-utils)
2797 ("intltool" ,intltool)
2798 ("imagemagick" ,imagemagick)
2799 ("pkg-config" ,pkg-config)))
2800 (home-page "http://tango-project.org/")
2801 (synopsis "Tango icon theme")
2802 (description "This is an icon theme that follows the Tango visual
2803 guidelines.")
2804 (license license:public-domain)))
2805
2806 (define-public shared-mime-info
2807 (package
2808 (name "shared-mime-info")
2809 (version "1.15")
2810 (source (origin
2811 (method url-fetch)
2812 (uri (string-append
2813 "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/"
2814 "b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-" version
2815 ".tar.xz"))
2816 (sha256
2817 (base32
2818 "146vynj78wcwdq0ms52jzm1r4m6dzi1rhyh3h4xyb6bw8ckv10pl"))))
2819 (build-system gnu-build-system)
2820 (arguments
2821 ;; The build system appears not to be parallel-safe.
2822 '(#:parallel-build? #f))
2823 (inputs
2824 `(("glib" ,glib)
2825 ("libxml2" ,libxml2)))
2826 (native-inputs
2827 `(("gettext" ,gettext-minimal)
2828 ("itstool" ,itstool)
2829 ("pkg-config" ,pkg-config)))
2830 (home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
2831 (synopsis "Database of common MIME types")
2832 (description
2833 "The shared-mime-info package contains the core database of common types
2834 and the update-mime-database command used to extend it. It requires glib2 to
2835 be installed for building the update command. Additionally, it uses intltool
2836 for translations, though this is only a dependency for the maintainers. This
2837 database is translated at Transifex.")
2838 (license license:gpl2+)))
2839
2840 (define-public system-config-printer
2841 (package
2842 (name "system-config-printer")
2843 (version "1.5.13")
2844 (source
2845 (origin
2846 (method url-fetch)
2847 (uri (string-append
2848 "https://github.com/OpenPrinting/system-config-printer/releases/"
2849 "download/v" version
2850 "/system-config-printer-" version ".tar.xz"))
2851 (sha256
2852 (base32 "18dqvi1s971lggkw6pv1sqxixlpg5a8rppzc1pxbanxa91jg18zf"))))
2853 (build-system glib-or-gtk-build-system)
2854 (arguments
2855 `(#:imported-modules ((guix build python-build-system)
2856 ,@%glib-or-gtk-build-system-modules)
2857 #:phases
2858 (modify-phases %standard-phases
2859 (add-after 'unpack 'patch-Makefile.am
2860 (lambda _
2861 ;; The Makefile generates some scripts, so set a valid shebang
2862 (substitute* "Makefile.am"
2863 (("/bin/bash") (which "bash")))
2864 (delete-file "configure")
2865 #t))
2866 (add-after 'unpack 'patch-docbook-xml
2867 (lambda* (#:key inputs #:allow-other-keys)
2868 ;; Modify the man XML otherwise xmlto tries to access the network
2869 (substitute* "man/system-config-printer.xml"
2870 (("http://www.oasis-open.org/docbook/xml/4.1.2/")
2871 (string-append (assoc-ref inputs "docbook-xml")
2872 "/xml/dtd/docbook/")))
2873 #t))
2874 (add-after 'install 'wrap-for-python
2875 (@@ (guix build python-build-system) wrap))
2876 (add-after 'install 'wrap
2877 (lambda* (#:key outputs #:allow-other-keys)
2878 (let ((out (assoc-ref outputs "out"))
2879 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
2880 (for-each
2881 (lambda (program)
2882 (wrap-program program
2883 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
2884 (map (lambda (name)
2885 (string-append out "/bin/" name))
2886 '("system-config-printer"
2887 "system-config-printer-applet"
2888 "install-printerdriver"
2889 "scp-dbus-service"))))
2890 #t)))))
2891 (inputs
2892 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
2893 ("gobject-introspection" ,gobject-introspection)
2894 ("python" ,python)
2895 ("cups" ,cups)
2896 ("gtk+" ,gtk+)
2897 ("python-dbus" ,python-dbus)
2898 ("python-pygobject" ,python-pygobject)
2899 ("python-pycups" ,python-pycups)
2900 ("python-requests" ,python-requests)
2901 ("python-pycairo" ,python-pycairo)
2902 ("libnotify" ,libnotify)
2903 ("packagekit" ,packagekit)))
2904 (native-inputs
2905 `(("pkg-config" ,pkg-config)
2906 ("desktop-file-utils" ,desktop-file-utils)
2907 ("glib" ,glib)
2908 ("autoconf" ,autoconf)
2909 ("automake" ,automake)
2910 ("intltool" ,intltool)
2911 ("xmlto" ,xmlto)
2912 ("docbook-xml" ,docbook-xml-4.1.2)
2913 ("docbook-xsl" ,docbook-xsl)
2914 ("libxml2" ,libxml2)))
2915 (home-page "https://github.com/zdohnal/system-config-printer")
2916 (synopsis "CUPS administration tool")
2917 (description
2918 "system-config-printer is a CUPS administration tool. It's written in
2919 Python using GTK+, and uses the @acronym{IPP, Internet Printing Protocol} when
2920 configuring CUPS.")
2921 (license license:gpl2+)))
2922
2923 (define-public hicolor-icon-theme
2924 (package
2925 (name "hicolor-icon-theme")
2926 (version "0.17")
2927 (source
2928 (origin
2929 (method url-fetch)
2930 (uri (string-append "https://icon-theme.freedesktop.org/releases/"
2931 "hicolor-icon-theme-" version ".tar.xz"))
2932 (sha256
2933 (base32
2934 "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i"))))
2935 (build-system gnu-build-system)
2936 (arguments
2937 `(#:tests? #f)) ; no check target
2938 (home-page "https://icon-theme.freedesktop.org/releases/")
2939 (synopsis
2940 "Freedesktop icon theme")
2941 (description
2942 "Freedesktop icon theme.")
2943 (license license:gpl2)))
2944
2945 (define-public libnotify
2946 (package
2947 (name "libnotify")
2948 (version "0.7.7")
2949 (source
2950 (origin
2951 (method url-fetch)
2952 (uri (string-append "mirror://gnome/sources/" name "/"
2953 (version-major+minor version) "/"
2954 name "-" version ".tar.xz"))
2955 (sha256
2956 (base32
2957 "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w"))))
2958 (build-system gnu-build-system)
2959 (arguments
2960 `(#:configure-flags '("--disable-static")))
2961 (propagated-inputs
2962 `(;; In Requires of libnotify.pc.
2963 ("gdk-pixbuf" ,gdk-pixbuf)
2964 ("glib" ,glib)))
2965 (inputs
2966 `(("gtk+" ,gtk+)
2967 ("libpng" ,libpng)))
2968 (native-inputs
2969 `(("pkg-config" ,pkg-config)
2970 ("glib" ,glib "bin")
2971 ("gobject-introspection" ,gobject-introspection)))
2972 (home-page "https://developer-next.gnome.org/libnotify/")
2973 (synopsis
2974 "GNOME desktop notification library")
2975 (description
2976 "Libnotify is a library that sends desktop notifications to a
2977 notification daemon, as defined in the Desktop Notifications spec. These
2978 notifications can be used to inform the user about an event or display
2979 some form of information without getting in the user's way.")
2980 (license license:lgpl2.1+)))
2981
2982 (define-public libpeas
2983 (package
2984 (name "libpeas")
2985 (version "1.24.1")
2986 (source
2987 (origin
2988 (method url-fetch)
2989 (uri (string-append "mirror://gnome/sources/" name "/"
2990 (version-major+minor version) "/"
2991 name "-" version ".tar.xz"))
2992 (sha256
2993 (base32
2994 "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"))))
2995 (build-system meson-build-system)
2996 (arguments
2997 '(#:phases
2998 (modify-phases %standard-phases
2999 (add-before 'check 'start-xserver
3000 (lambda* (#:key inputs #:allow-other-keys)
3001 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3002 (disp ":1"))
3003 (setenv "DISPLAY" disp)
3004 ;; Tests require a running X server.
3005 (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))
3006 #t))))))
3007 (inputs
3008 `(("gtk+" ,gtk+)
3009 ("glade" ,glade3)
3010 ("python" ,python)
3011 ("python-pygobject" ,python-pygobject)))
3012 (native-inputs
3013 `(("pkg-config" ,pkg-config)
3014 ("gettext" ,gettext-minimal)
3015 ("glib:bin" ,glib "bin")
3016 ("gobject-introspection" ,gobject-introspection)
3017 ("xorg-server" ,xorg-server-for-tests)))
3018 (propagated-inputs
3019 ;; The .pc file "Requires" gobject-introspection.
3020 `(("gobject-introspection" ,gobject-introspection)))
3021 (home-page "https://wiki.gnome.org/Libpeas")
3022 (synopsis "GObject plugin system")
3023 (description
3024 "Libpeas is a gobject-based plugin engine, targeted at giving every
3025 application the chance to assume its own extensibility. It also has a set of
3026 features including, but not limited to: multiple extension points; on-demand
3027 (lazy) programming language support for C, Python and JS; simplicity of the
3028 API.")
3029 (license license:lgpl2.0+)))
3030
3031 (define-public gtkglext
3032 (package
3033 (name "gtkglext")
3034 (version "1.2.0")
3035 (source (origin
3036 (method url-fetch)
3037 (uri (string-append "mirror://sourceforge/gtkglext/gtkglext/"
3038 version "/gtkglext-" version ".tar.gz"))
3039 (sha256
3040 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
3041 (patches (search-patches
3042 "gtkglext-disable-disable-deprecated.patch"))))
3043 (build-system gnu-build-system)
3044 (arguments
3045 `(#:phases
3046 (modify-phases %standard-phases
3047 ;; Fix a collision between a local variable and a definition from
3048 ;; glibc's string.h.
3049 (add-after 'unpack 'fix-collision
3050 (lambda _
3051 (substitute* "gdk/gdkglshapes.c"
3052 ((" index") " triangle_index"))
3053 #t)))))
3054 (inputs `(("gtk+" ,gtk+-2)
3055 ("mesa" ,mesa)
3056 ("glu" ,glu)
3057 ("libx11" ,libx11)
3058 ("libxt" ,libxt)))
3059 (native-inputs `(("pkg-config" ,pkg-config)
3060 ("glib" ,glib "bin")))
3061 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
3062 (home-page "https://projects.gnome.org/gtkglext")
3063 (synopsis "OpenGL extension to GTK+")
3064 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
3065 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
3066 API add-ons to make GTK+ widgets OpenGL-capable.")
3067 (license license:lgpl2.1+)))
3068
3069 (define-public glade3
3070 (package
3071 (name "glade")
3072 (version "3.36.0")
3073 (source (origin
3074 (method url-fetch)
3075 (uri (string-append "mirror://gnome/sources/" name "/"
3076 (version-major+minor version) "/"
3077 name "-" version ".tar.xz"))
3078 (sha256
3079 (base32
3080 "023gx8rj51njn8fsb6ma5kz1irjpxi4js0n8rwy22inc4ysldd8r"))))
3081 (build-system glib-or-gtk-build-system)
3082 (arguments
3083 `(#:phases
3084 (modify-phases %standard-phases
3085 (add-before 'configure 'fix-docbook
3086 (lambda* (#:key inputs #:allow-other-keys)
3087 (substitute* "man/Makefile.in"
3088 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
3089 (string-append (assoc-ref inputs "docbook-xsl")
3090 "/xml/xsl/docbook-xsl-"
3091 ,(package-version docbook-xsl)
3092 "/manpages/docbook.xsl")))
3093 #t))
3094 (add-before 'check 'pre-check
3095 (lambda _
3096 (setenv "HOME" "/tmp")
3097 ;; Tests require a running X server.
3098 (system "Xvfb :1 &")
3099 (setenv "DISPLAY" ":1")
3100 #t)))))
3101 (inputs
3102 `(("gtk+" ,gtk+)
3103 ("libxml2" ,libxml2)))
3104 (native-inputs
3105 `(("hicolor-icon-theme" ,hicolor-icon-theme)
3106 ("intltool" ,intltool)
3107 ("itstool" ,itstool)
3108 ("libxslt" ,libxslt) ;for xsltproc
3109 ("docbook-xml" ,docbook-xml-4.2)
3110 ("docbook-xsl" ,docbook-xsl)
3111 ("python" ,python-2)
3112 ("pkg-config" ,pkg-config)
3113 ("xorg-server" ,xorg-server-for-tests)))
3114 (home-page "https://glade.gnome.org")
3115 (synopsis "GTK+ rapid application development tool")
3116 (description "Glade is a rapid application development (RAD) tool to
3117 enable quick & easy development of user interfaces for the GTK+ toolkit and
3118 the GNOME desktop environment.")
3119 (license license:lgpl2.0+)
3120 (native-search-paths (list (search-path-specification
3121 (variable "GLADE_CATALOG_SEARCH_PATH")
3122 (files '("share/glade/catalogs")))
3123 (search-path-specification
3124 (variable "GLADE_MODULE_SEARCH_PATH")
3125 (files '("lib/glade/modules")))))))
3126
3127 (define-public libcroco
3128 (package
3129 (name "libcroco")
3130 (version "0.6.13")
3131 (source (origin
3132 (method url-fetch)
3133 (uri (string-append "mirror://gnome/sources/" name "/"
3134 (version-major+minor version) "/"
3135 name "-" version ".tar.xz"))
3136 (sha256
3137 (base32
3138 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3139 (build-system gnu-build-system)
3140 (native-inputs
3141 `(("pkg-config" ,pkg-config)))
3142 (inputs
3143 `(("glib" ,glib)
3144 ("libxml2" ,libxml2)
3145 ("zlib" ,zlib)))
3146 (home-page "https://github.com/GNOME/libcroco")
3147 (synopsis "CSS2 parsing and manipulation library")
3148 (description
3149 "Libcroco is a standalone CSS2 parsing and manipulation library.
3150 The parser provides a low level event driven SAC-like API and a CSS object
3151 model like API. Libcroco provides a CSS2 selection engine and an experimental
3152 XML/CSS rendering engine.")
3153
3154 ;; LGPLv2.1-only.
3155 (license license:lgpl2.1)))
3156
3157 (define-public libgsf
3158 (package
3159 (name "libgsf")
3160 (version "1.14.47")
3161 (source (origin
3162 (method url-fetch)
3163 (uri (string-append "mirror://gnome/sources/" name "/"
3164 (version-major+minor version) "/"
3165 name "-" version ".tar.xz"))
3166 (sha256
3167 (base32
3168 "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
3169 (build-system gnu-build-system)
3170 (arguments
3171 '(#:configure-flags '("--disable-static")))
3172 (native-inputs
3173 `(("pkg-config" ,pkg-config)
3174 ("gettext" ,gettext-minimal)
3175
3176 ;; For tests.
3177 ("perl" ,perl)
3178 ("perl-xml-parser" ,perl-xml-parser)))
3179 (inputs
3180 `(("zlib" ,zlib)
3181 ("bzip2" ,bzip2)))
3182 (propagated-inputs
3183 `(("gdk-pixbuf" ,gdk-pixbuf)
3184 ("glib" ,glib)
3185 ("libxml2" ,libxml2)))
3186 (home-page "https://www.gnome.org/projects/libgsf")
3187 (synopsis "GNOME's Structured File Library")
3188 (description
3189 "Libgsf aims to provide an efficient extensible I/O abstraction for
3190 dealing with different structured file formats.")
3191
3192 ;; LGPLv2.1-only.
3193 (license license:lgpl2.1)))
3194
3195 (define-public librsvg
3196 (package
3197 (name "librsvg")
3198 (version "2.40.21")
3199 (source (origin
3200 (method url-fetch)
3201 (uri (string-append "mirror://gnome/sources/" name "/"
3202 (version-major+minor version) "/"
3203 name "-" version ".tar.xz"))
3204 (sha256
3205 (base32
3206 "1fljkag2gr7c4k5mn798lgf9903xslz8h51bgvl89nnay42qjqpp"))))
3207 (build-system gnu-build-system)
3208 (arguments
3209 `(#:configure-flags
3210 (list "--disable-static"
3211 "--enable-vala") ; needed for e.g. gnome-mines
3212 #:phases
3213 (modify-phases %standard-phases
3214 (add-before 'configure 'pre-configure
3215 (lambda* (#:key inputs #:allow-other-keys)
3216 (substitute* "gdk-pixbuf-loader/Makefile.in"
3217 ;; By default the gdk-pixbuf loader is installed under
3218 ;; gdk-pixbuf's prefix. Work around that.
3219 (("gdk_pixbuf_moduledir = .*$")
3220 (string-append "gdk_pixbuf_moduledir = "
3221 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3222 "loaders\n"))
3223 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3224 (("gdk_pixbuf_cache_file = .*$")
3225 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3226 #t))
3227 (add-before 'check 'remove-failing-tests
3228 (lambda _
3229 (with-directory-excursion "tests/fixtures/reftests"
3230 (for-each delete-file
3231 '(;; This test fails on i686:
3232 "svg1.1/masking-path-04-b.svg"
3233 ;; This test fails on armhf:
3234 "svg1.1/masking-mask-01-b.svg"
3235 ;; This test fails on aarch64:
3236 "bugs/777834-empty-text-children.svg")))
3237 #t)))))
3238 (native-inputs
3239 `(("pkg-config" ,pkg-config)
3240 ("vala" ,vala)
3241 ("glib" ,glib "bin") ; glib-mkenums, etc.
3242 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
3243 (inputs
3244 `(;; XXX: 1.44 causes some test failures, so we stick with 1.42 for
3245 ;; this ancient version of librsvg.
3246 ("pango" ,pango-1.42)
3247 ("libcroco" ,libcroco)
3248 ("bzip2" ,bzip2)
3249 ("libgsf" ,libgsf)
3250 ("libxml2" ,libxml2)))
3251 (propagated-inputs
3252 ;; librsvg-2.0.pc refers to all of that.
3253 `(("cairo" ,cairo)
3254 ("gdk-pixbuf" ,gdk-pixbuf)
3255 ("glib" ,glib)))
3256 (home-page "https://wiki.gnome.org/LibRsvg")
3257 (synopsis "Render SVG files using Cairo")
3258 (description
3259 "Librsvg is a C library to render SVG files using the Cairo 2D graphics
3260 library.")
3261 (license license:lgpl2.0+)))
3262
3263 (define-public librsvg-next
3264 (package
3265 (name "librsvg")
3266 (version "2.50.1")
3267 (source (origin
3268 (method url-fetch)
3269 (uri (string-append "mirror://gnome/sources/librsvg/"
3270 (version-major+minor version) "/"
3271 "librsvg-" version ".tar.xz"))
3272 (sha256
3273 (base32
3274 "02csvx2nzygh8kyal2qiy3y6xb7d52vszxxr37dzav704a9pkncv"))
3275 (modules '((guix build utils)))
3276 (snippet
3277 '(begin (delete-file-recursively "vendor")
3278 #t))))
3279 (build-system cargo-build-system)
3280 (outputs '("out" "doc"))
3281 (arguments
3282 `(#:modules
3283 ((guix build cargo-build-system)
3284 (guix build utils)
3285 ((guix build gnu-build-system) #:prefix gnu:))
3286 #:rust ,rust-1.40
3287 #:cargo-inputs
3288 (("rust-bitflags" ,rust-bitflags-1)
3289 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3290 ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
3291 ("rust-cast" ,rust-cast-0.2)
3292 ("rust-cssparser" ,rust-cssparser-0.27)
3293 ("rust-data-url" ,rust-data-url-0.1)
3294 ("rust-encoding" ,rust-encoding-0.2)
3295 ("rust-float-cmp" ,rust-float-cmp-0.8)
3296 ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8)
3297 ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
3298 ("rust-gio" ,rust-gio-0.8)
3299 ("rust-gio-sys" ,rust-gio-sys-0.9)
3300 ("rust-glib" ,rust-glib-0.9)
3301 ("rust-glib-sys" ,rust-glib-sys-0.9)
3302 ("rust-gobject-sys" ,rust-gobject-sys-0.9)
3303 ("rust-itertools" ,rust-itertools-0.9)
3304 ("rust-language-tags" ,rust-language-tags-0.2)
3305 ("rust-libc" ,rust-libc-0.2)
3306 ("rust-locale-config" ,rust-locale-config-0.3)
3307 ("rust-markup5ever" ,rust-markup5ever-0.10)
3308 ("rust-nalgebra" ,rust-nalgebra-0.21)
3309 ("rust-num-traits" ,rust-num-traits-0.2)
3310 ("rust-once-cell" ,rust-once-cell-1)
3311 ("rust-pkg-config" ,rust-pkg-config-0.3)
3312 ("rust-pango" ,rust-pango-0.8)
3313 ("rust-pango-sys" ,rust-pango-sys-0.9)
3314 ("rust-pangocairo" ,rust-pangocairo-0.9)
3315 ("rust-rayon" ,rust-rayon-1)
3316 ("rust-rctree" ,rust-rctree-0.3)
3317 ("rust-rgb" ,rust-rgb-0.8)
3318 ("rust-regex" ,rust-regex-1)
3319 ("rust-selectors" ,rust-selectors-0.22)
3320 ("rust-string-cache" ,rust-string-cache-0.8)
3321 ("rust-tinyvec" ,rust-tinyvec-0.3)
3322 ("rust-url" ,rust-url-2)
3323 ("rust-xml5ever" ,rust-xml5ever-0.16))
3324 #:cargo-development-inputs
3325 (("rust-assert-cmd" ,rust-assert-cmd-1)
3326 ("rust-cairo-rs" ,rust-cairo-rs-0.8)
3327 ("rust-chrono" ,rust-chrono-0.4)
3328 ("rust-criterion" ,rust-criterion-0.3)
3329 ("rust-float-cmp" ,rust-float-cmp-0.8)
3330 ("rust-lopdf" ,rust-lopdf-0.25)
3331 ("rust-png" ,rust-png-0.16)
3332 ("rust-predicates" ,rust-predicates-1)
3333 ("rust-tempfile" ,rust-tempfile-3))
3334 #:phases
3335 (modify-phases %standard-phases
3336 (add-after 'unpack 'patch-docbook-xml
3337 (lambda* (#:key inputs #:allow-other-keys)
3338 (with-directory-excursion "doc"
3339 (substitute* "rsvg-docs.xml"
3340 (("http://www.oasis-open.org/docbook/xml/4.3/")
3341 (string-append (assoc-ref inputs "docbook-xml")
3342 "/xml/dtd/docbook/"))))
3343 #t))
3344 (add-after 'unpack 'prepare-for-build
3345 (lambda _
3346 ;; In lieu of #:make-flags
3347 (setenv "CC" ,(cc-for-target))
3348 ;; Something about the build environment resists building
3349 ;; successfully with the '--locked' flag.
3350 (substitute* '("Makefile.am" "Makefile.in")
3351 (("--locked") ""))
3352 #t))
3353 (add-before 'configure 'pre-configure
3354 (lambda _
3355 (substitute* "gdk-pixbuf-loader/Makefile.in"
3356 ;; By default the gdk-pixbuf loader is installed under
3357 ;; gdk-pixbuf's prefix. Work around that.
3358 (("gdk_pixbuf_moduledir = .*$")
3359 (string-append "gdk_pixbuf_moduledir = "
3360 "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
3361 "loaders\n"))
3362 ;; Drop the 'loaders.cache' file, it's in gdk-pixbuf+svg.
3363 (("gdk_pixbuf_cache_file = .*$")
3364 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))
3365 #t))
3366 (add-after 'configure 'gnu-configure
3367 (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
3368 ((assoc-ref gnu:%standard-phases 'configure)
3369 #:native-inputs native-inputs
3370 #:inputs inputs
3371 #:outputs outputs
3372 #:configure-flags
3373 (list "--disable-static"
3374 "--enable-vala"
3375 (string-append "--with-html-dir="
3376 (assoc-ref %outputs "doc")
3377 "/share/gtk-doc/html")))))
3378 (add-after 'configure 'dont-vendor-self
3379 (lambda* (#:key vendor-dir #:allow-other-keys)
3380 ;; Don't keep the whole tarball in the vendor directory
3381 (delete-file-recursively
3382 (string-append vendor-dir "/" ,name "-" ,version ".tar.xz"))
3383 #t))
3384 (replace 'build
3385 (assoc-ref gnu:%standard-phases 'build))
3386 (add-before 'check 'ignore-failing-tests
3387 ;; stderr=```/tmp/guix-build-.../librsvg-2.50.1/rsvg-convert: line 150: ls: command not found
3388 (lambda _
3389 (substitute* "tests/src/cmdline/rsvg_convert.rs"
3390 (("fn background_color_option_invalid_color_yields_error" all)
3391 (string-append "#[ignore] " all))
3392 (("fn empty_input_yields_error" all)
3393 (string-append "#[ignore] " all))
3394 (("fn empty_svg_yields_error" all)
3395 (string-append "#[ignore] " all))
3396 (("fn env_source_data_epoch_empty" all)
3397 (string-append "#[ignore] " all))
3398 (("fn env_source_data_epoch_no_digits" all)
3399 (string-append "#[ignore] " all))
3400 (("fn env_source_data_epoch_trailing_garbage" all)
3401 (string-append "#[ignore] " all))
3402 (("fn export_id_option_error" all)
3403 (string-append "#[ignore] " all))
3404 (("fn huge_zoom_factor_yields_error" all)
3405 (string-append "#[ignore] " all))
3406 (("fn multiple_input_files_not_allowed_for_png_output" all)
3407 (string-append "#[ignore] " all))
3408 (("fn stylesheet_option_error" all)
3409 (string-append "#[ignore] " all)))
3410 #t))
3411 (replace 'check
3412 (lambda* args
3413 ((assoc-ref gnu:%standard-phases 'check)
3414 #:test-target "check")))
3415 (replace 'install
3416 (assoc-ref gnu:%standard-phases 'install)))))
3417 (native-inputs
3418 `(("docbook-xml" ,docbook-xml-4.3)
3419 ("glib" ,glib "bin")
3420 ("gobject-introspection" ,gobject-introspection)
3421 ("pkg-config" ,pkg-config)
3422 ("python" ,python-wrapper)
3423 ("ruby" ,ruby)
3424 ("vala" ,vala)))
3425 (inputs
3426 `(("bzip2" ,bzip2)
3427 ("fontconfig" ,fontconfig)
3428 ("freetype" ,freetype)
3429 ("harfbuzz" ,harfbuzz)
3430 ("libcroco" ,libcroco)
3431 ("libgsf" ,libgsf)
3432 ("libxml2" ,libxml2)
3433 ("pango" ,pango)))
3434 (propagated-inputs
3435 `(("cairo" ,cairo)
3436 ("gdk-pixbuf" ,gdk-pixbuf)
3437 ("glib" ,glib)))
3438 (synopsis "SVG rendering library")
3439 (description "Librsvg is a library to render SVG images to Cairo surfaces.
3440 GNOME uses this to render SVG icons. Outside of GNOME, other desktop
3441 environments use it for similar purposes. Wikimedia uses it for Wikipedia's SVG
3442 diagrams.")
3443 (home-page "https://wiki.gnome.org/LibRsvg")
3444 (license license:lgpl2.1+)))
3445
3446 (define-public libidl
3447 (package
3448 (name "libidl")
3449 (version "0.8.14")
3450 (source (origin
3451 (method url-fetch)
3452 (uri (string-append "mirror://gnome/sources/libIDL/"
3453 (version-major+minor version) "/"
3454 "libIDL-" version ".tar.bz2"))
3455 (sha256
3456 (base32
3457 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
3458 (build-system gnu-build-system)
3459 (inputs `(("glib" ,glib)))
3460 (native-inputs
3461 `(("pkg-config" ,pkg-config)
3462 ("flex" ,flex)
3463 ("bison" ,bison)))
3464 (home-page "http://freecode.com/projects/libidl")
3465 (synopsis "Create trees of CORBA Interface Definition Language files")
3466 (description "Libidl is a library for creating trees of CORBA Interface
3467 Definition Language (idl) files, which is a specification for defining
3468 portable interfaces. libidl was initially written for orbit (the orb from the
3469 GNOME project, and the primary means of libidl distribution). However, the
3470 functionality was designed to be as reusable and portable as possible.")
3471 (properties `((upstream-name . "libIDL")))
3472 (license license:lgpl2.0+)))
3473
3474
3475 (define-public orbit2
3476 (package
3477 (name "orbit2")
3478 (version "2.14.19")
3479 (source (origin
3480 (method url-fetch)
3481 (uri (let ((upstream-name "ORBit2"))
3482 (string-append "mirror://gnome/sources/" upstream-name "/"
3483 (version-major+minor version) "/"
3484 upstream-name "-" version ".tar.bz2")))
3485 (sha256
3486 (base32
3487 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
3488 (build-system gnu-build-system)
3489 (arguments
3490 `(;; The "timeout-server" test hangs when run in parallel.
3491 #:parallel-tests? #f
3492 #:configure-flags
3493 '(;; We don't need static libraries, plus they don't build reproducibly
3494 ;; (non-deterministic ordering of .o files in the archive.)
3495 "--disable-static"
3496
3497 ;; The programmer kindly gives us a hook to turn off deprecation
3498 ;; warnings ...
3499 "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3500 ;; ... which they then completly ignore !!
3501 #:phases
3502 (modify-phases %standard-phases
3503 (add-before 'configure 'ignore-deprecations
3504 (lambda _
3505 (substitute* "linc2/src/Makefile.in"
3506 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3507 #t)))))
3508 (inputs `(("glib" ,glib)
3509 ("libidl" ,libidl)))
3510 (native-inputs
3511 `(("pkg-config" ,pkg-config)))
3512 (home-page "https://projects.gnome.org/orbit2/")
3513 (synopsis "CORBA 2.4-compliant Object Request Broker")
3514 (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
3515 featuring mature C, C++ and Python bindings.")
3516 ;; Licence notice is unclear. The Web page simply say "GPL" without giving
3517 ;; a version. SOME of the code files have licence notices for GPLv2+.
3518 ;; The tarball contains files of the text of GPLv2 and LGPLv2.
3519 (license license:gpl2+)
3520 (properties `((upstream-name . "ORBit2")))))
3521
3522
3523 (define-public libbonobo
3524 (package
3525 (name "libbonobo")
3526 (version "2.32.1")
3527 (source (origin
3528 (method url-fetch)
3529 (uri (string-append "mirror://gnome/sources/" name "/"
3530 (version-major+minor version)
3531 "/" name "-" version ".tar.bz2"))
3532 (sha256
3533 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))
3534 (patches (search-patches
3535 "libbonobo-activation-test-race.patch"))))
3536 (build-system gnu-build-system)
3537 (arguments
3538 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
3539 `(#:configure-flags
3540 '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
3541 ;; ... which they then completly ignore !!
3542 #:phases
3543 (modify-phases %standard-phases
3544 (add-before 'configure 'ignore-deprecations
3545 (lambda _
3546 (substitute* "activation-server/Makefile.in"
3547 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3548 #t)))
3549
3550 ;; There's apparently a race condition between the server stub
3551 ;; generation and linking of the example under 'samples/echo' that can
3552 ;; lead do undefined references when building in parallel, as reported
3553 ;; at <https://forums.gentoo.org/viewtopic-t-223376-start-550.html>.
3554 ;; Thus, disable parallel builds.
3555 #:parallel-build? #f))
3556 (inputs `(("popt" ,popt)
3557 ("libxml2" ,libxml2)))
3558 ;; The following are Required by the .pc file
3559 (propagated-inputs
3560 `(("glib" ,glib)
3561 ("orbit2" ,orbit2)))
3562 (native-inputs
3563 `(("intltool" ,intltool)
3564 ("pkg-config" ,pkg-config)
3565 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3566 ("flex" ,flex)
3567 ("bison" ,bison)))
3568 (home-page "https://developer.gnome.org/libbonobo/")
3569 (synopsis "Framework for creating reusable components for use in GNOME applications")
3570 (description "Bonobo is a framework for creating reusable components for
3571 use in GNOME applications, built on top of CORBA.")
3572 ;; Licence not explicitly stated. Source files contain no licence notices.
3573 ;; Tarball contains text of both GPLv2 and LGPLv2
3574 ;; GPLv2 covers both conditions
3575 (license license:gpl2+)))
3576
3577
3578 (define-public gconf
3579 (package
3580 (name "gconf")
3581 (version "3.2.6")
3582 (source (origin
3583 (method url-fetch)
3584 (uri
3585 (let ((upstream-name "GConf"))
3586 (string-append "mirror://gnome/sources/" upstream-name "/"
3587 (version-major+minor version) "/"
3588 upstream-name "-" version ".tar.xz")))
3589 (sha256
3590 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
3591 (build-system gnu-build-system)
3592 (inputs `(("dbus-glib" ,dbus-glib)
3593 ("libxml2" ,libxml2)))
3594 (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
3595 ("orbit2" ,orbit2)))
3596 (native-inputs
3597 `(("intltool" ,intltool)
3598 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3599 ("pkg-config" ,pkg-config)))
3600 (home-page "https://projects.gnome.org/gconf/")
3601 (synopsis "Store application preferences")
3602 (description "Gconf is a system for storing application preferences. It
3603 is intended for user preferences; not arbitrary data storage.")
3604 (license license:lgpl2.0+)
3605 (properties '((upstream-name . "GConf")))))
3606
3607
3608 (define-public gnome-mime-data
3609 (package
3610 (name "gnome-mime-data")
3611 (version "2.18.0")
3612 (source (origin
3613 (method url-fetch)
3614 (uri (string-append "mirror://gnome/sources/" name "/"
3615 (version-major+minor version) "/"
3616 name "-" version ".tar.bz2"))
3617 (sha256
3618 (base32
3619 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
3620 (build-system gnu-build-system)
3621 (native-inputs
3622 `(("perl" ,perl)
3623 ("intltool" ,intltool)))
3624 (arguments
3625 '(#:phases (modify-phases %standard-phases
3626 (add-after 'configure 'use-our-intltool
3627 (lambda _
3628 ;; Do not use the bundled intltool commands, which lack
3629 ;; the "dotless @INC" fixes of our 'intltool' package.
3630 (substitute* (find-files "." "^Makefile$")
3631 (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
3632 (string-append "INTLTOOL_" tool " = intltool-"
3633 (string-downcase tool) "\n")))
3634 #t)))))
3635 (home-page "https://www.gnome.org")
3636 (synopsis "Base MIME and Application database for GNOME")
3637 (description "GNOME Mime Data is a module which contains the base MIME
3638 and Application database for GNOME. The data stored by this module is
3639 designed to be accessed through the MIME functions in GnomeVFS.")
3640 (license license:gpl2+)))
3641
3642
3643 (define-public gnome-vfs
3644 (package
3645 (name "gnome-vfs")
3646 (version "2.24.4")
3647 (source (origin
3648 (method url-fetch)
3649 (uri (string-append "mirror://gnome/sources/" name "/"
3650 (version-major+minor version) "/"
3651 name "-" version ".tar.bz2"))
3652 (sha256
3653 (base32
3654 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
3655 (build-system gnu-build-system)
3656 (arguments
3657 `(#:phases
3658 (modify-phases %standard-phases
3659 (add-before 'configure 'ignore-deprecations
3660 (lambda _
3661 (substitute* '("libgnomevfs/Makefile.in"
3662 "daemon/Makefile.in")
3663 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3664 #t))
3665 (add-before 'configure 'patch-test-async-cancel-to-never-fail
3666 (lambda _
3667 (substitute* "test/test-async-cancel.c"
3668 (("EXIT_FAILURE") "77"))
3669 #t)))))
3670 (inputs `(("libxml2" ,libxml2)
3671 ("dbus-glib" ,dbus-glib)
3672 ("gconf" ,gconf)
3673 ("gnome-mime-data" ,gnome-mime-data)
3674 ("zlib" ,zlib)))
3675 (native-inputs
3676 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3677 ("intltool" ,intltool)
3678 ("pkg-config" ,pkg-config)))
3679 (home-page "https://developer.gnome.org/gnome-vfs/")
3680 (synopsis "Access files and folders in GNOME applications")
3681 (description
3682 "GnomeVFS is the core library used to access files and folders in GNOME
3683 applications. It provides a file system abstraction which allows applications
3684 to access local and remote files with a single consistent API.")
3685 (license license:lgpl2.0+)))
3686
3687
3688
3689 (define-public libgnome
3690 (package
3691 (name "libgnome")
3692 (version "2.32.1")
3693 (source (origin
3694 (method url-fetch)
3695 (uri (string-append "mirror://gnome/sources/" name "/"
3696 (version-major+minor version) "/"
3697 name "-" version ".tar.bz2"))
3698 (sha256
3699 (base32
3700 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))
3701 (patches (search-patches "libgnome-encoding.patch"))))
3702 (build-system gnu-build-system)
3703 (arguments
3704 `(#:phases
3705 (modify-phases %standard-phases
3706 (add-before 'configure 'enable-deprecated
3707 (lambda _
3708 (substitute* "libgnome/Makefile.in"
3709 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
3710 #t)))))
3711 (inputs `(("libxml2" ,libxml2)))
3712 (native-inputs
3713 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3714 ("intltool" ,intltool)
3715 ("pkg-config" ,pkg-config)))
3716 ;; The following are listed as Required in the .pc file
3717 ;; (except for libcanberra -- which seems to be oversight on the part
3718 ;; of the upstream developers -- anything that links against libgnome,
3719 ;; must also link against libcanberra
3720 (propagated-inputs
3721 `(("libcanberra" ,libcanberra)
3722 ("libbonobo" ,libbonobo)
3723 ("gconf" ,gconf)
3724 ("gnome-vfs" ,gnome-vfs)
3725 ("popt" ,popt))) ;gnome-program.h includes popt.h
3726 (home-page "https://developer.gnome.org/libgnome/")
3727 (synopsis "Useful routines for building applications")
3728 (description "The libgnome library provides a number of useful routines
3729 for building modern applications, including session management, activation of
3730 files and URIs, and displaying help.")
3731 (license license:lgpl2.0+)))
3732
3733
3734 (define-public libart-lgpl
3735 (package
3736 (name "libart-lgpl")
3737 (version "2.3.21")
3738 (source (origin
3739 (method url-fetch)
3740 (uri (let ((upstream-name "libart_lgpl"))
3741 (string-append "mirror://gnome/sources/" upstream-name "/"
3742 (version-major+minor version) "/"
3743 upstream-name "-" version ".tar.bz2")))
3744 (sha256
3745 (base32
3746 "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"))))
3747 (build-system gnu-build-system)
3748 (native-inputs
3749 `(("pkg-config" ,pkg-config)))
3750 (home-page "https://people.gnome.org/~mathieu/libart")
3751 (synopsis "2D drawing library")
3752 (description "Libart is a 2D drawing library intended as a
3753 high-quality vector-based 2D library with antialiasing and alpha composition.")
3754 (license license:lgpl2.0+)))
3755
3756
3757
3758 (define-public libgnomecanvas
3759 (package
3760 (name "libgnomecanvas")
3761 (version "2.30.3")
3762 (source (origin
3763 (method url-fetch)
3764 (uri (string-append "mirror://gnome/sources/" name "/"
3765 (version-major+minor version) "/"
3766 name "-" version ".tar.gz"))
3767 (sha256
3768 (base32
3769 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
3770 (build-system gnu-build-system)
3771 ;; Mentioned as Required in the .pc file
3772 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
3773 ("gtk+" ,gtk+-2)))
3774 (native-inputs
3775 `(("intltool" ,intltool)
3776 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3777 ("pkg-config" ,pkg-config)))
3778 (home-page "https://developer.gnome.org/libgnomecanvas/")
3779 (synopsis "Flexible widget for creating interactive structured graphics")
3780 (description "The GnomeCanvas widget provides a flexible widget for
3781 creating interactive structured graphics.")
3782 (license license:lgpl2.0+)))
3783
3784 (define-public libgnomecanvasmm
3785 (package
3786 (name "libgnomecanvasmm")
3787 (version "2.26.0")
3788 (source (origin
3789 (method url-fetch)
3790 (uri (string-append "mirror://gnome/sources/" name "/"
3791 (version-major+minor version) "/"
3792 name "-" version ".tar.bz2"))
3793 (sha256
3794 (base32
3795 "0679hcnpam2gkag2i63sm0wdm35gwvzafnz1354mg6j5gzwpfrcr"))))
3796 (build-system gnu-build-system)
3797 (propagated-inputs `(("libgnomecanvas" ,libgnomecanvas)))
3798 (native-inputs
3799 `(("gtkmm-2" ,gtkmm-2)
3800 ("pkg-config" ,pkg-config)))
3801 (home-page "https://gtkmm.org")
3802 (synopsis "C++ bindings to the GNOME Canvas library")
3803 (description "C++ bindings to the GNOME Canvas library.")
3804 (license license:lgpl2.0+)))
3805
3806 (define-public libgnomeui
3807 (package
3808 (name "libgnomeui")
3809 (version "2.24.5")
3810 (source (origin
3811 (method url-fetch)
3812 (uri (string-append "mirror://gnome/sources/" name "/"
3813 (version-major+minor version) "/"
3814 name "-" version ".tar.bz2"))
3815 (patches (search-patches "libgnomeui-utf8.patch"))
3816 (sha256
3817 (base32
3818 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
3819 (build-system gnu-build-system)
3820 ;; Mentioned as Required in the .pc file
3821 (propagated-inputs `(("libbonoboui" ,libbonoboui)
3822 ("libgnome" ,libgnome)
3823 ("libgnomecanvas" ,libgnomecanvas)
3824 ("libgnome-keyring" ,libgnome-keyring)))
3825 (inputs `(("libjpeg" ,libjpeg-turbo)
3826 ("popt" ,popt)
3827 ("libbonobo" ,libbonobo)
3828 ("libxml2" ,libxml2)
3829 ("libglade" ,libglade)))
3830 (native-inputs
3831 `(("glib" ,glib "bin") ; for glib-mkenums, etc.
3832 ("intltool" ,intltool)
3833 ("pkg-config" ,pkg-config)))
3834 (home-page "https://developer.gnome.org/libgnomeui/")
3835 (synopsis "Additional widgets for applications")
3836 (description "The libgnomeui library provides additional widgets for
3837 applications. Many of the widgets from libgnomeui have already been
3838 ported to GTK+.")
3839 (license license:lgpl2.0+)))
3840
3841 (define-public libglade
3842 (package
3843 (name "libglade")
3844 (version "2.6.4")
3845 (source (origin
3846 (method url-fetch)
3847 (uri (string-append "mirror://gnome/sources/" name "/"
3848 (version-major+minor version) "/"
3849 name "-" version ".tar.bz2"))
3850 (sha256
3851 (base32
3852 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
3853 (build-system gnu-build-system)
3854 (inputs
3855 `(("python" ,python))) ;; needed for the optional libglade-convert program
3856 (propagated-inputs
3857 `(("gtk+-2" ,gtk+-2)
3858 ("libxml2" ,libxml2))) ; required by libglade-2.0.pc
3859 (native-inputs
3860 `(("pkg-config" ,pkg-config)))
3861 (home-page "https://developer.gnome.org/libglade")
3862 (synopsis "Load glade interfaces and access the glade built widgets")
3863 (description "Libglade is a library that provides interfaces for loading
3864 graphical interfaces described in glade files and for accessing the
3865 widgets built in the loading process.")
3866 (license license:gpl2+))) ; This is correct. GPL not LGPL
3867
3868 (define-public libgnomeprint
3869 ;; This library has been deprecated since 2006; see
3870 ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
3871 (package
3872 (name "libgnomeprint")
3873 (version "2.18.8")
3874 (source (origin
3875 (method url-fetch)
3876 (uri (string-append "mirror://gnome/sources/" name "/"
3877 (version-major+minor version) "/"
3878 name "-" version ".tar.bz2"))
3879 (sha256
3880 (base32
3881 "14cnimvlc7ky22g2snyf4362412k3jk1syjf8b9887q5a63fqd0h"))))
3882 (build-system gnu-build-system)
3883 (inputs
3884 `(("popt" ,popt)
3885 ("libart-lgpl" ,libart-lgpl)
3886 ("gtk+" ,gtk+-2)
3887 ("libxml2" ,libxml2)))
3888 (native-inputs
3889 `(("intltool" ,intltool)
3890 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
3891 ("pkg-config" ,pkg-config)))
3892 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3893 (synopsis "Printing framework for GNOME")
3894 (description
3895 "GNOME-print was a printing framework for GNOME. It has been deprecated
3896 since ca. 2006, when GTK+ itself incorporated printing support.")
3897 (license license:lgpl2.0+)))
3898
3899
3900 (define-public libgnomeprintui
3901 ;; Deprecated; see libgnomeprint.
3902 (package
3903 (name "libgnomeprintui")
3904 (version "2.18.6")
3905 (source (origin
3906 (method url-fetch)
3907 (uri (string-append "mirror://gnome/sources/" name "/"
3908 (version-major+minor version) "/"
3909 name "-" version ".tar.bz2"))
3910 (sha256
3911 (base32
3912 "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"))))
3913 (build-system gnu-build-system)
3914 ;; Mentioned as Required in the .pc file
3915 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
3916 (inputs `(("gtk+" ,gtk+-2)
3917 ("glib" ,glib)
3918 ("gnome-icon-theme" ,gnome-icon-theme)
3919 ("libgnomecanvas" ,libgnomecanvas)
3920 ("libxml2" ,libxml2)))
3921 (native-inputs
3922 `(("intltool" ,intltool)
3923 ("pkg-config" ,pkg-config)))
3924 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
3925 (synopsis "Printing framework for GNOME")
3926 (description (package-description libgnomeprint))
3927 (license license:lgpl2.0+)))
3928
3929 (define-public libbonoboui
3930 (package
3931 (name "libbonoboui")
3932 (version "2.24.5")
3933 (source (origin
3934 (method url-fetch)
3935 (uri (string-append "mirror://gnome/sources/" name "/"
3936 (version-major+minor version) "/"
3937 name "-" version ".tar.bz2"))
3938 (sha256
3939 (base32
3940 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
3941 (build-system gnu-build-system)
3942 (arguments
3943 `(#:phases
3944 (modify-phases %standard-phases
3945 (add-before 'check 'start-xserver
3946 (lambda* (#:key inputs #:allow-other-keys)
3947 (let ((xorg-server (assoc-ref inputs "xorg-server"))
3948 (disp ":1"))
3949
3950 (setenv "HOME" (getcwd))
3951 (setenv "DISPLAY" disp)
3952 ;; There must be a running X server and make check doesn't start one.
3953 ;; Therefore we must do it.
3954 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
3955 ;; Mentioned as Required by the .pc file
3956 (propagated-inputs `(("libxml2" ,libxml2)))
3957 (inputs
3958 `(("popt" ,popt)
3959 ("pangox-compat" ,pangox-compat)
3960 ("libgnome" ,libgnome)
3961 ("libgnomecanvas" ,libgnomecanvas)
3962 ("libglade" ,libglade)))
3963 (native-inputs
3964 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
3965 ("intltool" ,intltool)
3966 ("xorg-server" ,xorg-server-for-tests) ; For running the tests
3967 ("pkg-config" ,pkg-config)))
3968 (home-page "https://developer.gnome.org/libbonoboui/")
3969 (synopsis "Some user interface controls using Bonobo")
3970 (description "The Bonobo UI library provides a number of user interface
3971 controls using the Bonobo component framework.")
3972 (license license:lgpl2.0+)))
3973
3974 (define-public libwnck
3975 (package
3976 (name "libwnck")
3977 (version "3.32.0")
3978 (source (origin
3979 (method url-fetch)
3980 (uri (string-append "mirror://gnome/sources/" name "/"
3981 (version-major+minor version) "/"
3982 name "-" version ".tar.xz"))
3983 (sha256
3984 (base32
3985 "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"))))
3986 (build-system meson-build-system)
3987 (native-inputs
3988 `(("pkg-config" ,pkg-config)
3989 ("glib" ,glib "bin") ; for glib-mkenums
3990 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
3991 ("intltool" ,intltool)))
3992 (propagated-inputs
3993 `(("gtk+" ,gtk+)
3994 ("libxres" ,libxres)
3995 ("startup-notification" ,startup-notification)))
3996 (home-page "https://developer.gnome.org/libwnck/")
3997 (synopsis "Window Navigator Construction Kit")
3998 (description
3999 "Libwnck is the Window Navigator Construction Kit, a library for use in
4000 writing pagers, tasklists, and more generally applications that are dealing
4001 with window management. It tries hard to respect the Extended Window Manager
4002 Hints specification (EWMH).")
4003 (license license:lgpl2.0+)))
4004
4005 ;; stable version for gtk2, required by xfwm4.
4006 (define-public libwnck-2
4007 (package (inherit libwnck)
4008 (name "libwnck")
4009 (version "2.30.7")
4010 (source (origin
4011 (method url-fetch)
4012 (uri (string-append "mirror://gnome/sources/" name "/"
4013 (version-major+minor version) "/"
4014 name "-" version ".tar.xz"))
4015 (sha256
4016 (base32
4017 "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b"))))
4018 (build-system gnu-build-system)
4019 (native-inputs
4020 `(("pkg-config" ,pkg-config)
4021 ("intltool" ,intltool)))
4022 (propagated-inputs
4023 `(("gtk+" ,gtk+-2)
4024 ("libxres" ,libxres)
4025 ("startup-notification" ,startup-notification)))))
4026
4027 (define-public goffice
4028 (package
4029 (name "goffice")
4030 (version "0.10.48")
4031 (source (origin
4032 (method url-fetch)
4033 (uri (string-append "mirror://gnome/sources/goffice/"
4034 (version-major+minor version) "/"
4035 "goffice-" version ".tar.xz"))
4036 (sha256
4037 (base32 "1z6f3q8fxkd1ysqrwdxdi0844zqa00vjpf07gq8mh3kal8picfd4"))))
4038 (build-system gnu-build-system)
4039 (outputs '("out"
4040 "doc")) ; 4.0 MiB of gtk-doc
4041 (arguments
4042 '(#:configure-flags (list (string-append "--with-html-dir="
4043 (assoc-ref %outputs "doc")
4044 "/share/gtk-doc/html"))))
4045 (inputs
4046 `(("gtk+" ,gtk+)
4047 ("libgsf" ,libgsf)
4048 ("librsvg" ,librsvg)
4049 ("libxslt" ,libxslt)
4050 ("libxml2" ,libxml2)))
4051 (native-inputs
4052 `(("intltool" ,intltool)
4053 ("glib" ,glib "bin")
4054 ("pkg-config" ,pkg-config)))
4055 (home-page "https://developer.gnome.org/goffice/")
4056 (synopsis "Document-centric objects and utilities")
4057 (description "A GLib/GTK+ set of document-centric objects and utilities.")
4058 (license
4059 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4060 ;; Note: NOT LGPL
4061 (list license:gpl2 license:gpl3))))
4062
4063 (define-public goffice-0.8
4064 (package (inherit goffice)
4065 (version "0.8.17")
4066 (source (origin
4067 (method url-fetch)
4068 (uri (string-append "mirror://gnome/sources/" (package-name goffice) "/"
4069 (version-major+minor version) "/"
4070 (package-name goffice) "-" version ".tar.xz"))
4071 (sha256
4072 (base32 "05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
4073 (arguments
4074 `(#:phases
4075 (modify-phases %standard-phases
4076 (add-after 'unpack 'fix-pcre-check
4077 (lambda _
4078 ;; Only glib.h can be included directly. See
4079 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
4080 (substitute* "configure"
4081 (("glib/gregex\\.h") "glib.h")) #t)))
4082
4083 ,@(package-arguments goffice)))
4084 (propagated-inputs
4085 ;; libgoffice-0.8.pc mentions libgsf-1
4086 `(("libgsf" ,libgsf)))
4087 (inputs
4088 `(("gtk" ,gtk+-2)
4089 ,@(alist-delete "gtk" (package-inputs goffice))))))
4090
4091 (define-public gnumeric
4092 (package
4093 (name "gnumeric")
4094 (version "1.12.48")
4095 (source (origin
4096 (method url-fetch)
4097 (uri (string-append "mirror://gnome/sources/gnumeric/"
4098 (version-major+minor version) "/"
4099 "gnumeric-" version ".tar.xz"))
4100 (sha256
4101 (base32
4102 "14556b0vyxdvdwjlin0rv7jk0vq4nplbmvp9j89bhkfk84xf7k2p"))))
4103 (build-system glib-or-gtk-build-system)
4104 (arguments
4105 `(;; The gnumeric developers don't worry much about failing tests.
4106 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
4107 #:tests? #f
4108 #:phases
4109 (modify-phases %standard-phases
4110 (add-before
4111 'configure 'pre-conf
4112 (lambda* (#:key outputs #:allow-other-keys)
4113 ;; Make install tries to write into the directory of goffice
4114 ;; I am informed that this only affects the possibility to embed a
4115 ;; spreadsheet inside an Abiword document. So presumably when we
4116 ;; package Abiword we'll have to refer it to this directory.
4117 (substitute* "configure"
4118 (("^GOFFICE_PLUGINS_DIR=.*")
4119 (string-append "GOFFICE_PLUGINS_DIR="
4120 (assoc-ref outputs "out")
4121 "/goffice/plugins"))))))))
4122 (inputs
4123 `(("glib" ,glib)
4124 ("gtk+" ,gtk+)
4125 ("goffice" ,goffice)
4126 ("libgsf" ,libgsf)
4127 ("librsvg" ,librsvg)
4128 ("libxml2" ,libxml2)
4129 ("libxslt" ,libxslt)
4130 ("python" ,python)
4131 ("python-pygobject" ,python-pygobject)
4132 ("zlib" ,zlib)))
4133 (native-inputs
4134 `(("bison" ,bison)
4135 ("docbook-xml" ,docbook-xml)
4136 ("intltool" ,intltool)
4137 ("itstool" ,itstool)
4138 ("glib:bin" ,glib "bin")
4139 ("pkg-config" ,pkg-config)))
4140 (home-page "http://www.gnumeric.org")
4141 (synopsis "Spreadsheet application")
4142 (description
4143 "GNUmeric is a GNU spreadsheet application, running under GNOME. It is
4144 interoperable with other spreadsheet applications. It has a vast array of
4145 features beyond typical spreadsheet functionality, such as support for linear
4146 and non-linear solvers, statistical analysis, and telecommunication
4147 engineering.")
4148 (license
4149 ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
4150 (list license:gpl2 license:gpl3))))
4151
4152 (define-public gnome-themes-standard
4153 (package
4154 (name "gnome-themes-standard")
4155 (version "3.22.3")
4156 (source
4157 (origin
4158 (method url-fetch)
4159 (uri (string-append "mirror://gnome/sources/" name "/"
4160 (version-major+minor version) "/" name "-"
4161 version ".tar.xz"))
4162 (sha256
4163 (base32
4164 "0smmiamrgcgf5sa88bsn8hwmvsyx4gczzs359nwxbkv14b2qgp31"))))
4165 (build-system gnu-build-system)
4166 (arguments
4167 '(#:configure-flags
4168 ;; Don't create 'icon-theme.cache'.
4169 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
4170 (true (string-append coreutils "/bin/true")))
4171 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
4172 (inputs
4173 `(("gtk+" ,gtk+)
4174 ("gtk+-2" ,gtk+-2)
4175 ("librsvg" ,librsvg)
4176 ("libxml2" ,libxml2)
4177 ("glib" ,glib)))
4178 (native-inputs
4179 `(("intltool" ,intltool)
4180 ("glib:bin" ,glib "bin")
4181 ("pkg-config" ,pkg-config)))
4182 (home-page "https://launchpad.net/gnome-themes-standard")
4183 (synopsis "Default GNOME 3 themes")
4184 (description
4185 "The default GNOME 3 themes (Adwaita and some accessibility themes).")
4186 (license license:lgpl2.1+)))
4187
4188 (define-public seahorse
4189 (package
4190 (name "seahorse")
4191 (version "3.36.2")
4192 (source
4193 (origin
4194 (method url-fetch)
4195 (uri (string-append "mirror://gnome/sources/" name "/"
4196 (version-major+minor version) "/" name "-"
4197 version ".tar.xz"))
4198 (sha256
4199 (base32 "16wmxxppgcgfj8zkagcny5af1c81x32ysm9d6j9f2k7bmik21ss5"))))
4200 (build-system meson-build-system)
4201 (arguments
4202 '(#:glib-or-gtk? #t
4203 #:phases
4204 (modify-phases %standard-phases
4205 (add-after 'unpack 'skip-gtk-update-icon-cache
4206 ;; Don't create 'icon-theme.cache'.
4207 (lambda _
4208 (substitute* "build-aux/meson_post_install.py"
4209 (("gtk-update-icon-cache") "true"))
4210 #t)))))
4211 (inputs
4212 `(("gtk+" ,gtk+)
4213 ("gcr" ,gcr)
4214 ("gnupg" ,gnupg)
4215 ("gpgme" ,gpgme)
4216 ("openldap" ,openldap)
4217 ("openssh" ,openssh)
4218 ("avahi" ,avahi)
4219 ("libhandy" ,libhandy-0.0)
4220 ("libpwquality" ,libpwquality)
4221 ("libsecret" ,libsecret)
4222 ("libsoup" ,libsoup)))
4223 (native-inputs
4224 `(("gettext" ,gettext-minimal)
4225 ("glib:bin" ,glib "bin")
4226 ("itstool" ,itstool)
4227 ("pkg-config" ,pkg-config)
4228 ("vala" ,vala)
4229 ("xmllint" ,libxml2)))
4230 (home-page "https://wiki.gnome.org/Apps/Seahorse")
4231 (synopsis "Manage encryption keys and passwords in the GNOME keyring")
4232 (description
4233 "Seahorse is a GNOME application for managing encryption keys and
4234 passwords in the GNOME keyring.")
4235 (license license:gpl2+)))
4236
4237 (define-public vala
4238 (package
4239 (name "vala")
4240 (version "0.46.5")
4241 (source (origin
4242 (method url-fetch)
4243 (uri (string-append "mirror://gnome/sources/" name "/"
4244 (version-major+minor version) "/"
4245 name "-" version ".tar.xz"))
4246 (sha256
4247 (base32
4248 "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
4249 (build-system gnu-build-system)
4250 (arguments
4251 '(#:phases
4252 (modify-phases %standard-phases
4253 (add-before 'check 'pre-check
4254 (lambda _
4255 (setenv "CC" "gcc")
4256 (substitute* "valadoc/tests/testrunner.sh"
4257 (("export PKG_CONFIG_PATH=" m)
4258 (string-append m "$PKG_CONFIG_PATH:")))
4259 ;; For missing '/etc/machine-id'.
4260 (setenv "DBUS_FATAL_WARNINGS" "0")
4261 #t)))))
4262 (native-inputs
4263 `(("pkg-config" ,pkg-config)
4264 ("flex" ,flex)
4265 ("bison" ,bison)
4266 ("xsltproc" ,libxslt)
4267 ("dbus" ,dbus) ; for dbus tests
4268 ("gobject-introspection" ,gobject-introspection))) ; for gir tests
4269 (inputs
4270 `(("graphviz" ,graphviz)))
4271 (propagated-inputs
4272 `(("glib" ,glib))) ; required by libvala-0.40.pc
4273 (home-page "https://wiki.gnome.org/Projects/Vala/")
4274 (synopsis "Compiler for the GObject type system")
4275 (description
4276 "Vala is a programming language that aims to bring modern programming
4277 language features to GNOME developers without imposing any additional runtime
4278 requirements and without using a different ABI compared to applications and
4279 libraries written in C.")
4280 (license license:lgpl2.1+)))
4281
4282 (define-public vala-0.50
4283 (package
4284 (inherit vala)
4285 (version "0.50.2")
4286 (source (origin
4287 (method url-fetch)
4288 (uri (string-append "mirror://gnome/sources/vala/"
4289 (version-major+minor version) "/"
4290 "vala-" version ".tar.xz"))
4291 (sha256
4292 (base32
4293 "1nnf0x6vk0a9p2y6z7jwjfvmlxh3qhj581v381r0y1sxsv35s39c"))))))
4294
4295 (define-public vte
4296 (package
4297 (name "vte")
4298 (version "0.60.3")
4299 (source (origin
4300 (method url-fetch)
4301 (uri (string-append "mirror://gnome/sources/vte/"
4302 (version-major+minor version) "/"
4303 "vte-" version ".tar.xz"))
4304 (sha256
4305 (base32
4306 "0al2v6fn061v4j1wwvppim1q283y2a6s0iyl29hxhmx3h48nxdzy"))))
4307 (build-system meson-build-system)
4308 (arguments
4309 `(#:configure-flags
4310 '("-Dvapi=true"
4311 "-D_systemd=false")))
4312 (native-inputs
4313 `(("pkg-config" ,pkg-config)
4314 ("gettext" ,gettext-minimal)
4315 ("vala" ,vala)
4316 ("gobject-introspection" ,gobject-introspection)
4317 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
4318 ("gperf" ,gperf)
4319 ("xmllint" ,libxml2)))
4320 (propagated-inputs
4321 `(("gtk+" ,gtk+) ; required by vte-2.91.pc
4322 ("gnutls" ,gnutls) ; ditto
4323 ("pcre2" ,pcre2))) ; ditto
4324 (home-page "https://www.gnome.org/")
4325 (synopsis "Virtual Terminal Emulator")
4326 (description
4327 "VTE is a library (libvte) implementing a terminal emulator widget for
4328 GTK+, and a minimal sample application (vte) using that. Vte is mainly used in
4329 gnome-terminal, but can also be used to embed a console/terminal in games,
4330 editors, IDEs, etc.")
4331 (license license:lgpl2.1+)))
4332
4333 (define-public vte-ng
4334 (package
4335 (inherit vte)
4336 (name "vte-ng")
4337 (version "0.58.2.a")
4338 (home-page "https://github.com/thestinger/vte-ng")
4339 (source (origin
4340 (method git-fetch)
4341 (uri (git-reference (url home-page) (commit version)))
4342 (file-name (git-file-name name version))
4343 (sha256
4344 (base32
4345 "0rnm5c6m3abbm81jsfdas0y80z299ny54gr4syn4bfrms3s4g19l"))))
4346 (build-system meson-build-system)
4347 (native-inputs
4348 `(("gtk-doc" ,gtk-doc)
4349 ,@(package-native-inputs vte)))
4350 (arguments
4351 `(#:configure-flags '("-Ddocs=true")))
4352 (synopsis "Enhanced VTE terminal widget")
4353 (description
4354 "VTE is a library (libvte) implementing a terminal emulator widget for
4355 GTK+, this fork provides additional functions exposed for keyboard text
4356 selection and URL hints.")))
4357
4358 ;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
4359 (define-public vte/gtk+-2
4360 (package (inherit vte)
4361 (name "vte")
4362 (version "0.28.2")
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
4370 "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))
4371 (patches (search-patches
4372 "vte-CVE-2012-2738-pt1.patch"
4373 "vte-CVE-2012-2738-pt2.patch"))))
4374 (build-system gnu-build-system)
4375 (arguments
4376 '(#:configure-flags '("--disable-python")))
4377 (native-inputs
4378 `(("pkg-config" ,pkg-config)
4379 ("intltool" ,intltool)
4380 ("glib" ,glib "bin"))) ; for glib-genmarshal, etc.
4381 (propagated-inputs
4382 `(("gtk+" ,gtk+-2) ; required by libvte.pc
4383 ("ncurses" ,ncurses))))) ; required by libvte.la
4384
4385 (define-public vinagre
4386 (package
4387 (name "vinagre")
4388 (version "3.22.0")
4389 (source (origin
4390 (method url-fetch)
4391 (uri (string-append "mirror://gnome/sources/" name "/"
4392 (version-major+minor version) "/"
4393 name "-" version ".tar.xz"))
4394 (patches (search-patches "vinagre-newer-freerdp.patch"
4395 "vinagre-newer-rdp-parameters.patch"))
4396 (sha256
4397 (base32
4398 "10jya3jyrm18nbw3v410gbkc7677bqamax44pzgd3j15randn76d"))))
4399 (build-system glib-or-gtk-build-system)
4400 (arguments
4401 ;; Disable -Werror and such, to avoid build failures on compilation
4402 ;; warnings.
4403 '(#:configure-flags '("--enable-compile-warnings=minimum")
4404 #:phases
4405 (modify-phases %standard-phases
4406 (add-before 'install 'skip-gtk-update-icon-cache
4407 (lambda _
4408 ;; Don't create 'icon-theme.cache'
4409 (substitute* (find-files "." "^Makefile$")
4410 (("gtk-update-icon-cache") (which "true")))
4411 #t))
4412 (add-after 'unpack 'patch-configure
4413 (lambda _
4414 (substitute* "configure"
4415 (("freerdp") "freerdp2"))
4416 #t)))))
4417 (native-inputs
4418 `(("pkg-config" ,pkg-config)
4419 ("intltool" ,intltool)
4420 ("itstool" ,itstool)
4421 ("glib-bin" ,glib "bin"))) ;for glib-compile-schemas
4422 (inputs
4423 `(("libxml2" ,libxml2)
4424 ("gtk-vnc" ,gtk-vnc)
4425 ("gnome-keyring" ,gnome-keyring)
4426 ("libsecret" ,libsecret)
4427 ("freerdp" ,freerdp)
4428 ("spice" ,spice)
4429 ("spice-gtk" ,spice-gtk)
4430 ("telepathy-glib" ,telepathy-glib)
4431 ("vte" ,vte)))
4432 (home-page "https://wiki.gnome.org/Apps/Vinagre")
4433 (synopsis "Remote desktop viewer for GNOME")
4434 (description "Vinagre is a remote display client supporting the VNC, SPICE
4435 and RDP protocols.")
4436 (license license:gpl3+)))
4437
4438 (define-public dconf
4439 (package
4440 (name "dconf")
4441 (version "0.36.0")
4442 (source (origin
4443 (method url-fetch)
4444 (uri (string-append
4445 "mirror://gnome/sources/" name "/"
4446 (version-major+minor version) "/"
4447 name "-" version ".tar.xz"))
4448 (sha256
4449 (base32
4450 "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"))))
4451 (build-system meson-build-system)
4452 (propagated-inputs
4453 ;; In Requires of dconf.pc.
4454 `(("glib" ,glib)))
4455 (inputs
4456 `(("gtk+" ,gtk+)
4457 ("dbus" ,dbus)))
4458 (native-inputs
4459 `(("bash-completion" ,bash-completion)
4460 ("libxslt" ,libxslt) ;for xsltproc
4461 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
4462 ("docbook-xml" ,docbook-xml-4.2)
4463 ("docbook-xsl" ,docbook-xsl)
4464 ("glib:bin" ,glib "bin")
4465 ("gtk-doc" ,gtk-doc)
4466 ("pkg-config" ,pkg-config)
4467 ("vala" ,vala)))
4468 (arguments
4469 `(#:glib-or-gtk? #t
4470 #:configure-flags '("-Denable-gtk-doc=true")
4471 #:phases (modify-phases %standard-phases
4472 (add-after 'unpack 'increase-test-timeout
4473 (lambda _
4474 ;; On big-memory systems, the engine test may take
4475 ;; much longer than the default of 30 seconds.
4476 (substitute* "tests/meson.build"
4477 (("test\\(unit_test\\[0\\], exe" all)
4478 (string-append all ", timeout : 90")))
4479 #t)))))
4480 (home-page "https://developer.gnome.org/dconf/")
4481 (synopsis "Low-level GNOME configuration system")
4482 (description "Dconf is a low-level configuration system. Its main purpose
4483 is to provide a backend to GSettings on platforms that don't already have
4484 configuration storage systems.")
4485 (license license:lgpl2.1+)))
4486
4487 (define-public json-glib
4488 (package
4489 (name "json-glib")
4490 (version "1.4.4")
4491 (source (origin
4492 (method url-fetch)
4493 (uri (string-append "mirror://gnome/sources/" name "/"
4494 (version-major+minor version) "/"
4495 name "-" version ".tar.xz"))
4496 (sha256
4497 (base32
4498 "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j"))))
4499 (build-system meson-build-system)
4500 (native-inputs
4501 `(("gettext" ,gettext-minimal)
4502 ("glib" ,glib "bin") ;for glib-mkenums and glib-genmarshal
4503 ("gobject-introspection" ,gobject-introspection)
4504 ("pkg-config" ,pkg-config)))
4505 (propagated-inputs
4506 `(("glib" ,glib))) ;according to json-glib-1.0.pc
4507 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
4508 (synopsis "Compiler for the GObject type system")
4509 (description
4510 "JSON-GLib is a C library based on GLib providing serialization and
4511 deserialization support for the JavaScript Object Notation (JSON) format
4512 described by RFC 4627. It provides parser and generator GObject classes and
4513 various wrappers for the complex data types employed by JSON, such as arrays
4514 and objects.")
4515 (license license:lgpl2.1+)))
4516
4517 (define-public libxklavier
4518 (package
4519 (name "libxklavier")
4520 (version "5.4")
4521 (source (origin
4522 ;; Note: There's no tarball at ftp.gnome.org for this version.
4523 (method git-fetch)
4524 (uri (git-reference
4525 (url "https://anongit.freedesktop.org/git/libxklavier")
4526 (commit (string-append "libxklavier-" version))))
4527 (sha256
4528 (base32
4529 "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a"))
4530 (file-name (git-file-name name version))))
4531 (build-system gnu-build-system)
4532 (arguments
4533 '(#:configure-flags
4534 (list (string-append "--with-xkb-base="
4535 (assoc-ref %build-inputs "xkeyboard-config")
4536 "/share/X11/xkb")
4537 "--disable-xmodmap-support")))
4538 (native-inputs
4539 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
4540 ("gobject-introspection" ,gobject-introspection)
4541 ("pkg-config" ,pkg-config)
4542 ("gtk-doc" ,gtk-doc)
4543 ("intltool" ,intltool)
4544 ("which" ,which)
4545 ("autoconf" ,autoconf)
4546 ("automake" ,automake)
4547 ("libtool" ,libtool)))
4548 (propagated-inputs
4549 ;; Required by libxklavier.pc.
4550 `(("glib" ,glib)
4551 ("libxml2" ,libxml2)))
4552 (inputs
4553 `(("iso-codes" ,iso-codes)
4554 ("libxi" ,libxi)
4555 ("libxkbfile" ,libxkbfile)
4556 ("xkbcomp" ,xkbcomp)
4557 ("xkeyboard-config" ,xkeyboard-config)))
4558 (home-page "https://www.freedesktop.org/wiki/Software/LibXklavier/")
4559 (synopsis "High-level API for X Keyboard Extension")
4560 (description
4561 "LibXklavier is a library providing high-level API for X Keyboard
4562 Extension known as XKB. This library is intended to support XFree86 and other
4563 commercial X servers. It is useful for creating XKB-related software (layout
4564 indicators etc).")
4565 (license license:lgpl2.0+)))
4566
4567 (define-public python2-rsvg
4568 ;; XXX: This is actually a subset of gnome-python-desktop.
4569 (package
4570 (name "python2-rsvg")
4571 (version "2.32.0")
4572 (source
4573 (origin
4574 (method url-fetch)
4575 (uri (string-append
4576 "mirror://gnome/sources/gnome-python-desktop/2.32/gnome-python-desktop-"
4577 version ".tar.bz2"))
4578 (sha256
4579 (base32
4580 "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"))))
4581 (build-system gnu-build-system)
4582 (native-inputs
4583 `(("pkg-config" ,pkg-config)))
4584 (inputs
4585 `(("python" ,python-2)
4586 ("python2-pygtk" ,python2-pygtk)
4587 ("librsvg" ,librsvg)))
4588 (home-page "https://www.gnome.org")
4589 (synopsis "Python bindings to librsvg")
4590 (description
4591 "This package provides Python bindings to librsvg, the SVG rendering
4592 library.")
4593
4594 ;; This is the license of the rsvg bindings. The license of each module
4595 ;; of gnome-python-desktop is given in 'COPYING'.
4596 (license license:lgpl2.1+)))
4597
4598 (define-public glib-networking
4599 (package
4600 (name "glib-networking")
4601 (version "2.62.2")
4602 (source (origin
4603 (method url-fetch)
4604 (uri (string-append "mirror://gnome/sources/glib-networking/"
4605 (version-major+minor version) "/"
4606 "glib-networking-" version ".tar.xz"))
4607 (sha256
4608 (base32
4609 "0i2mw75297ql72h47vyvff3hqa0kcmqybblj52fqrarb0kfbhi06"))))
4610 (build-system meson-build-system)
4611 (arguments
4612 `(#:configure-flags '("-Dlibproxy_support=false")))
4613 (native-inputs
4614 `(("pkg-config" ,pkg-config)
4615 ("intltool" ,intltool)))
4616 (inputs
4617 `(("glib" ,glib)
4618 ("gnutls" ,gnutls)
4619 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
4620 (home-page "https://www.gnome.org")
4621 (synopsis "Network-related GIO modules")
4622 (description
4623 "This package contains various network related extensions for the GIO
4624 library.")
4625 (license license:lgpl2.0+)))
4626
4627 (define-public rest
4628 (package
4629 (name "rest")
4630 (version "0.8.1")
4631 (source (origin
4632 (method url-fetch)
4633 (uri (string-append "mirror://gnome/sources/rest/"
4634 (version-major+minor version) "/"
4635 name "-" version ".tar.xz"))
4636 (sha256
4637 (base32
4638 "1j81bgqmd55s5lxyaxcplym9n6xywcs1cm9wmvafsg2xiv9sl4q5"))))
4639 (build-system gnu-build-system)
4640 (arguments
4641 '(#:tests? #f ; tests require internet connection
4642 #:configure-flags
4643 '("--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt")))
4644 (native-inputs
4645 `(("glib-mkenums" ,glib "bin")
4646 ("gobject-introspection" ,gobject-introspection)
4647 ("pkg-config" ,pkg-config)))
4648 (propagated-inputs
4649 ;; rest-0.7.pc refers to all these.
4650 `(("glib" ,glib)
4651 ("libsoup" ,libsoup)
4652 ("libxml2" ,libxml2)))
4653 (home-page "https://www.gtk.org/")
4654 (synopsis "RESTful web api query library")
4655 (description
4656 "This library was designed to make it easier to access web services that
4657 claim to be \"RESTful\". It includes convenience wrappers for libsoup and
4658 libxml to ease remote use of the RESTful API.")
4659 (license license:lgpl2.1+)))
4660
4661 (define-public libsoup
4662 (package
4663 (name "libsoup")
4664 (version "2.70.0")
4665 (source (origin
4666 (method url-fetch)
4667 (uri (string-append "mirror://gnome/sources/libsoup/"
4668 (version-major+minor version) "/"
4669 "libsoup-" version ".tar.xz"))
4670 (sha256
4671 (base32
4672 "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"))))
4673 (build-system meson-build-system)
4674 (outputs '("out" "doc"))
4675 (arguments
4676 `(#:modules ((guix build utils)
4677 (guix build meson-build-system)
4678 (ice-9 popen))
4679
4680 #:configure-flags '("-Dgtk_doc=true")
4681 #:phases
4682 (modify-phases %standard-phases
4683 (add-after 'unpack 'patch-docbook-xml
4684 (lambda* (#:key inputs #:allow-other-keys)
4685 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
4686 "/xml/dtd/docbook")))
4687 (substitute* (find-files "docs/reference")
4688 (("http://.*/docbookx\\.dtd")
4689 (string-append xmldoc "/docbookx.dtd")))
4690 #t)))
4691 (add-after 'unpack 'adjust-tests
4692 (lambda _
4693 ;; This test fails due to missing /etc/nsswitch.conf
4694 ;; in the build environment.
4695 (substitute* "tests/socket-test.c"
4696 ((".*/sockets/unconnected.*") ""))
4697
4698 ;; These fail because "subdomain.localhost" does not resolve in
4699 ;; the build environment.
4700 (substitute* "tests/hsts-test.c"
4701 ((".*/hsts/basic.*") "")
4702 ((".*/hsts/subdomains.*") "")
4703 ((".*/hsts/superdomain.*") "")
4704 ((".*/hsts/utf8-address.*") ""))
4705 (substitute* "tests/hsts-db-test.c"
4706 ((".*/hsts-db/subdomains.*") ""))
4707
4708 ;; Generate a self-signed certificate that has "localhost" as its
4709 ;; 'dnsName'. Failing to do that, and starting with GnuTLS
4710 ;; 3.5.12, tests such as "ssl-tests" fail:
4711 ;;
4712 ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected status 6 Unacceptable TLS certificate (expected 200 OK)
4713 ;;
4714 ;; 'certtool' is interactive so we have to pipe it the answers.
4715 ;; Reported at <https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
4716 (let ((pipe (open-output-pipe "certtool --generate-self-signed \
4717 --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
4718 (for-each (lambda (line)
4719 (display line pipe)
4720 (newline pipe))
4721 '("" ;Common name
4722 "" ;UID
4723 "Guix" ;Organizational unit name
4724 "GNU" ;Organization name
4725 "" ;Locality name
4726 "" ;State or province
4727 "" ;Country
4728 "" ;subject's domain component (DC)
4729 "" ;E-mail
4730 "" ;serial number
4731 "-1" ;expiration time
4732 "N" ;belong to authority?
4733 "N" ;web client certificate?
4734 "N" ;IPsec IKE?
4735 "Y" ;web server certificate?
4736 "localhost" ;dnsName of subject
4737 "" ;dnsName of subject (end)
4738 "" ;URI of subject
4739 "127.0.0.1" ;IP address of subject
4740 "" ;signing?
4741 "" ;encryption (RSA)?
4742 "" ;data encryption?
4743 "" ;sign OCSP requests?
4744 "" ;sign code?
4745 "" ;time stamping?
4746 "" ;email protection?
4747 "" ;URI of the CRL distribution point
4748 "y" ;above info OK?
4749 ))
4750 (close-pipe pipe))
4751 #t))
4752 (add-after 'install 'move-doc
4753 (lambda* (#:key outputs #:allow-other-keys)
4754 (let ((out (assoc-ref outputs "out"))
4755 (doc (assoc-ref outputs "doc")))
4756 (mkdir-p (string-append doc "/share"))
4757 (copy-recursively (string-append out "/share/gtk-doc")
4758 (string-append doc "/share/gtk-doc"))
4759 (delete-file-recursively (string-append out "/share/gtk-doc"))
4760 #t))))))
4761 (native-inputs
4762 `(("docbook-xml" ,docbook-xml-4.1.2)
4763 ("glib:bin" ,glib "bin") ; for glib-mkenums
4764 ("gobject-introspection" ,gobject-introspection)
4765 ("gtk-doc" ,gtk-doc)
4766 ("intltool" ,intltool)
4767 ("pkg-config" ,pkg-config)
4768 ("python" ,python-wrapper)
4769 ("vala" ,vala)
4770 ("php" ,php)
4771 ("curl" ,curl)
4772 ("gnutls" ,gnutls) ;for 'certtool'
4773 ("httpd" ,httpd)))
4774 (propagated-inputs
4775 ;; libsoup-2.4.pc refers to all these.
4776 `(("brotli" ,google-brotli)
4777 ("glib" ,glib)
4778 ("libpsl" ,libpsl)
4779 ("libxml2" ,libxml2)
4780 ("sqlite" ,sqlite)
4781 ("zlib" ,zlib)))
4782 (inputs
4783 `(("glib-networking" ,glib-networking)
4784 ("mit-krb5" ,mit-krb5)))
4785 (home-page "https://live.gnome.org/LibSoup/")
4786 (synopsis "GLib-based HTTP Library")
4787 (description
4788 "LibSoup is an HTTP client/server library for GNOME. It uses GObjects
4789 and the GLib main loop, to integrate well with GNOME applications.")
4790 (license license:lgpl2.0+)))
4791
4792
4793 ;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
4794 (define-public libsoup-minimal
4795 (package
4796 (inherit libsoup)
4797 (name "libsoup-minimal")
4798 (outputs (delete "doc" (package-outputs libsoup)))
4799 (arguments
4800 (substitute-keyword-arguments (package-arguments libsoup)
4801 ((#:configure-flags configure-flags)
4802 `(delete "-Dgtk_doc=true" ,configure-flags))
4803 ((#:phases phases)
4804 `(modify-phases ,phases
4805 (delete 'move-doc)))))
4806 (native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
4807
4808 (define-public libsecret
4809 (package
4810 (name "libsecret")
4811 (version "0.20.4")
4812 (source (origin
4813 (method url-fetch)
4814 (uri (string-append
4815 "mirror://gnome/sources/libsecret/"
4816 (version-major+minor version) "/"
4817 "libsecret-" version ".tar.xz"))
4818 (sha256
4819 (base32
4820 "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij"))))
4821 (build-system gnu-build-system)
4822 (outputs '("out" "doc"))
4823 (arguments
4824 `(#:tests? #f ; FIXME: Testing hangs.
4825 #:configure-flags
4826 (list (string-append "--with-html-dir="
4827 (assoc-ref %outputs "doc")
4828 "/share/gtk-doc/html"))))
4829 (native-inputs
4830 `(("gettext" ,gettext-minimal)
4831 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
4832 ("gobject-introspection" ,gobject-introspection)
4833 ("pkg-config" ,pkg-config)
4834 ("vala" ,vala)
4835 ("xsltproc" ,libxslt)))
4836 ;; These are needed for the tests.
4837 ;; FIXME: Add gjs once available.
4838 ;("dbus" ,dbus)
4839 ;("python2" ,python-2)
4840 ;("python2-dbus" ,python2-dbus)
4841 ;("python2-pygobject" ,python2-pygobject)
4842 ;("python2-pygobject-2" ,python2-pygobject-2)))
4843 (propagated-inputs
4844 `(("glib" ,glib))) ; required by libsecret-1.pc
4845 (inputs
4846 ;; The ‘build’ phase complains about missing docbook-xml-4.2 but adding it
4847 ;; doesn't seem to affect the build result.
4848 `(("docbook-xsl" ,docbook-xsl)
4849 ("libgcrypt" ,libgcrypt)
4850 ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
4851 (home-page "https://wiki.gnome.org/Projects/Libsecret/")
4852 (synopsis "GObject bindings for \"Secret Service\" API")
4853 (description
4854 "Libsecret is a GObject based library for storing and retrieving passwords
4855 and other secrets. It communicates with the \"Secret Service\" using DBus.")
4856 (license license:lgpl2.1+)))
4857
4858 (define-public five-or-more
4859 (package
4860 (name "five-or-more")
4861 (version "3.32.2")
4862 (source
4863 (origin
4864 (method url-fetch)
4865 (uri (string-append "mirror://gnome/sources/five-or-more/"
4866 (version-major+minor version) "/"
4867 "five-or-more-" version ".tar.xz"))
4868 (sha256
4869 (base32 "19pf8wzbf3ciqf2k4bj9sddvyhckfd62x86pnqr6s8h4vn9jc6ii"))))
4870 (build-system meson-build-system)
4871 (arguments
4872 '(#:glib-or-gtk? #t
4873 #:phases
4874 (modify-phases %standard-phases
4875 (add-after 'unpack 'skip-gtk-update-icon-cache
4876 (lambda _
4877 (substitute* "meson_post_install.py"
4878 (("gtk-update-icon-cache") (which "true")))
4879 #t)))))
4880 (native-inputs
4881 `(("pkg-config" ,pkg-config)
4882 ("appstream-glib" ,appstream-glib)
4883 ("desktop-file-utils" ,desktop-file-utils)
4884 ("glib:bin" ,glib "bin") ; for glib-compile-resources
4885 ("intltool" ,intltool)
4886 ("itstool" ,itstool)
4887 ("vala" ,vala)
4888 ("xmllint" ,libxml2)))
4889 (inputs
4890 `(("gtk+" ,gtk+)
4891 ("libgnome-games-support" ,libgnome-games-support)
4892 ("librsvg" ,librsvg)))
4893 (home-page "https://wiki.gnome.org/Apps/Five%20or%20more")
4894 (synopsis "Logic puzzle game")
4895 (description "Five or More is a game where you try to align
4896 five or more objects of the same color and shape causing them to disappear.
4897 On every turn more objects will appear, until the board is full.
4898 Try to last as long as possible.")
4899 (license license:gpl2+)))
4900
4901 (define-public gnome-mines
4902 (package
4903 (name "gnome-mines")
4904 (version "3.36.1")
4905 (source
4906 (origin
4907 (method url-fetch)
4908 (uri (string-append "mirror://gnome/sources/" name "/"
4909 (version-major+minor version) "/"
4910 name "-" version ".tar.xz"))
4911 (sha256
4912 (base32 "0m2680r94nk61imym4x73j03jwfjd8cxm592m5ybiqdfdw6i723i"))))
4913 (build-system meson-build-system)
4914 (arguments
4915 '(#:glib-or-gtk? #t
4916 #:phases
4917 (modify-phases %standard-phases
4918 (add-after 'unpack 'skip-gtk-update-icon-cache
4919 (lambda _
4920 (substitute* "build-aux/meson_post_install.py"
4921 (("gtk-update-icon-cache") (which "true")))
4922 #t)))))
4923 (native-inputs
4924 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
4925 ("pkg-config" ,pkg-config)
4926 ("desktop-file-utils" ,desktop-file-utils)
4927 ("intltool" ,intltool)
4928 ("itstool" ,itstool)
4929 ("vala" ,vala)
4930 ("yelp" ,yelp)
4931 ("appstream-glib" ,appstream-glib)))
4932 (inputs
4933 `(("gtk+" ,gtk+)
4934 ("libgnome-games-support" ,libgnome-games-support)
4935 ("librsvg" ,librsvg)))
4936 (home-page "https://wiki.gnome.org/Apps/Mines")
4937 (synopsis "Minesweeper game")
4938 (description
4939 "Mines (previously gnomine) is a puzzle game where you locate mines
4940 floating in an ocean using only your brain and a little bit of luck.")
4941 (license license:gpl2+)))
4942
4943 (define-public gnome-multi-writer
4944 (package
4945 (name "gnome-multi-writer")
4946 (version "3.35.90")
4947 (source
4948 (origin
4949 (method url-fetch)
4950 (uri (string-append "mirror://gnome/sources/gnome-multi-writer/"
4951 (version-major+minor version) "/"
4952 "gnome-multi-writer-" version ".tar.xz"))
4953 (sha256
4954 (base32
4955 "07vgzjjdrxcp7h73z13h9agafxb4vmqx5i81bcfyw0ilw9kkdzmp"))))
4956 (build-system meson-build-system)
4957 (arguments
4958 '(#:glib-or-gtk? #t
4959 #:phases
4960 (modify-phases %standard-phases
4961 (add-after 'unpack 'skip-post-install
4962 (lambda _
4963 (substitute* "meson.build"
4964 (("meson.add_install_script" &) (string-append "# " &)))
4965 #t)))))
4966 (native-inputs
4967 `(("glib:bin" ,glib "bin")
4968 ("pkg-config" ,pkg-config)))
4969 (inputs
4970 `(("gtk+" ,gtk+)
4971 ("glib" ,glib) ; for gio
4972 ("gusb" ,gusb)
4973 ("udisks" ,udisks)
4974 ("libgudev" ,libgudev)
4975 ("libcanberra" ,libcanberra)
4976 ("polkit" ,polkit)))
4977 (home-page "https://wiki.gnome.org/Apps/MultiWriter")
4978 (synopsis "Write to multiple USB devices at once")
4979 (description
4980 "MultiWriter can be used to write an ISO file to multiple USB devices at
4981 once.")
4982 (license license:gpl2+)))
4983
4984 (define-public gnome-sudoku
4985 (package
4986 (name "gnome-sudoku")
4987 (version "3.34.1")
4988 (source
4989 (origin
4990 (method url-fetch)
4991 (uri (string-append "mirror://gnome/sources/" name "/"
4992 (version-major+minor version) "/"
4993 name "-" version ".tar.xz"))
4994 (sha256
4995 (base32
4996 "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"))))
4997 (build-system meson-build-system)
4998 (arguments
4999 '(#:glib-or-gtk? #t
5000 #:phases
5001 (modify-phases %standard-phases
5002 (add-after 'unpack 'skip-gtk-update-icon-cache
5003 (lambda _
5004 (substitute* "build-aux/post_install.py"
5005 (("gtk-update-icon-cache") (which "true")))
5006 #t)))))
5007 (native-inputs
5008 `(("pkg-config" ,pkg-config)
5009 ("desktop-file-utils" ,desktop-file-utils)
5010 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5011 ("intltool" ,intltool)
5012 ("itstool" ,itstool)
5013 ("vala" ,vala)
5014 ("xmllint" ,libxml2)))
5015 (inputs
5016 `(("gtk+" ,gtk+)
5017 ("json-glib" ,json-glib)
5018 ("libgee" ,libgee)
5019 ("librsvg" ,librsvg)
5020 ("qqwing" ,qqwing)))
5021 (home-page "https://wiki.gnome.org/Apps/Sudoku")
5022 (synopsis "Japanese logic game")
5023 (description
5024 "Sudoku is a Japanese logic game that exploded in popularity in 2005.
5025 GNOME Sudoku is meant to have an interface as simple and unobstrusive as
5026 possible while still providing features that make playing difficult Sudoku
5027 more fun.")
5028 (license license:gpl2+)))
5029
5030 (define-public gnome-terminal
5031 (package
5032 (name "gnome-terminal")
5033 (version "3.34.2")
5034 (source
5035 (origin
5036 (method url-fetch)
5037 (uri (string-append "mirror://gnome/sources/" name "/"
5038 (version-major+minor version) "/"
5039 name "-" version ".tar.xz"))
5040 (sha256
5041 (base32
5042 "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"))))
5043 (build-system glib-or-gtk-build-system)
5044 (arguments
5045 '(#:configure-flags
5046 (list "--disable-migration" "--disable-search-provider"
5047 "--without-nautilus-extension")
5048 #:phases
5049 (modify-phases %standard-phases
5050 (add-before 'configure 'patch-/bin/true
5051 (lambda _
5052 (substitute* "configure"
5053 (("/bin/true") (which "true"))))))))
5054 (native-inputs
5055 `(("pkg-config" ,pkg-config)
5056 ("desktop-file-utils" ,desktop-file-utils)
5057 ("intltool" ,intltool)
5058 ("itstool" ,itstool)
5059 ("xmllint" ,libxml2)))
5060 (propagated-inputs
5061 `(("dconf" ,dconf)))
5062 (inputs
5063 `(("gtk+" ,gtk+)
5064 ("vte" ,vte)
5065 ("gnutls" ,gnutls)
5066 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5067 ("util-linux" ,util-linux "lib")
5068 ("vala" ,vala)))
5069 (home-page "https://wiki.gnome.org/Apps/Terminal")
5070 (synopsis "Terminal emulator")
5071 (description
5072 "GNOME Terminal is a terminal emulator application for accessing a
5073 UNIX shell environment which can be used to run programs available on
5074 your system.
5075
5076 It supports several profiles, multiple tabs and implements several
5077 keyboard shortcuts.")
5078 (license license:gpl3+)))
5079
5080 (define-public colord
5081 (package
5082 (name "colord")
5083 (version "1.4.5")
5084 (source
5085 (origin
5086 (method url-fetch)
5087 (uri (string-append "https://www.freedesktop.org/software/colord/releases/"
5088 "colord-" version ".tar.xz"))
5089 (sha256
5090 (base32 "05sydi6qqqx1rrqwnga1vbg9srkf89wdcfw5w4p4m7r37m2flx5p"))))
5091 (build-system meson-build-system)
5092 (arguments
5093 '(;; FIXME: One test fails:
5094 ;; /colord/icc-store (in lib/colord/colord-self-test-private):
5095 ;; Incorrect content type for /tmp/colord-vkve/already-exists.icc, got
5096 ;; application/x-zerosize
5097 #:tests? #f
5098 #:glib-or-gtk? #t
5099 #:configure-flags (list "-Dlocalstatedir=/var"
5100 ;; No dep on systemd.
5101 "-Dsystemd=false"
5102 ;; Wants to install to global completion dir;
5103 ;; punt.
5104 "-Dbash_completion=false"
5105 "-Ddaemon_user=colord"
5106 "-Dsane=true"
5107 "-Dvapi=true"
5108 ;; Requires spotread.
5109 "-Dargyllcms_sensor=false"
5110 ;; TODO: Requires docbook2x.
5111 "-Dman=false")
5112 #:phases
5113 (modify-phases %standard-phases
5114 (add-before 'configure 'patch-build-system
5115 (lambda* (#:key outputs #:allow-other-keys)
5116 (substitute* "rules/meson.build"
5117 (("udev.get_pkgconfig_variable\\('udevdir'\\)")
5118 (string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
5119 #t))
5120 (add-before 'configure 'set-sqlite3-file-name
5121 (lambda* (#:key inputs #:allow-other-keys)
5122 ;; "colormgr dump" works by invoking the "sqlite3" command.
5123 ;; Record its absolute file name.
5124 (let ((sqlite (assoc-ref inputs "sqlite")))
5125 (substitute* "client/cd-util.c"
5126 (("\"sqlite3\"")
5127 (string-append "\"" sqlite "/bin/sqlite3\"")))
5128 #t))))))
5129 (native-inputs
5130 `(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
5131 ("gettext" ,gettext-minimal)
5132 ("gobject-introspection" ,gobject-introspection)
5133 ("gtk-doc" ,gtk-doc)
5134 ("pkg-config" ,pkg-config)
5135 ("vala" ,vala)))
5136 (propagated-inputs
5137 ;; colord.pc refers to all these.
5138 `(("glib" ,glib)
5139 ("lcms" ,lcms)
5140 ("udev" ,eudev)))
5141 (inputs
5142 `(("dbus-glib" ,dbus-glib)
5143 ("gusb" ,gusb)
5144 ("libgudev" ,libgudev)
5145 ("libusb" ,libusb)
5146 ("polkit" ,polkit)
5147 ("python" ,python-wrapper)
5148 ("sqlite" ,sqlite)
5149 ("sane-backends" ,sane-backends)))
5150 (home-page "https://www.freedesktop.org/software/colord/")
5151 (synopsis "Color management service")
5152 (description "Colord is a system service that makes it easy to manage,
5153 install and generate color profiles to accurately color manage input and
5154 output devices.")
5155 (license license:gpl2+)))
5156
5157 (define-public geoclue
5158 (package
5159 (name "geoclue")
5160 (version "2.5.6")
5161 (source
5162 (origin
5163 (method url-fetch)
5164 (uri
5165 (string-append "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/"
5166 version "/geoclue-" version ".tar.bz2"))
5167 (sha256
5168 (base32 "0a833x5apzabxj80ywvsh8crd635vni2i9v9c1p095f6hvmfc45k"))
5169 (patches (search-patches "geoclue-config.patch"))))
5170 (build-system meson-build-system)
5171 (arguments
5172 '(#:configure-flags (list "-Dbus-srv-user=geoclue")))
5173 (native-inputs
5174 `(("pkg-config" ,pkg-config)
5175 ("gobject-introspection" ,gobject-introspection)
5176 ("modem-manager" ,modem-manager)
5177 ("libnotify" ,libnotify)
5178 ("gtk-doc" ,gtk-doc)
5179 ("intltool" ,intltool)))
5180 (inputs
5181 `(("avahi" ,avahi)
5182 ("glib:bin" ,glib "bin")
5183 ("glib-networking" ,glib-networking)
5184 ("json-glib" ,json-glib)
5185 ("libsoup" ,libsoup)))
5186 (home-page "https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home")
5187 (synopsis "Geolocation service")
5188 (description "Geoclue is a D-Bus service that provides location
5189 information. The primary goal of the Geoclue project is to make creating
5190 location-aware applications as simple as possible, while the secondary goal is
5191 to ensure that no application can access location information without explicit
5192 permission from user.")
5193 (license license:gpl2+)))
5194
5195 (define-public geocode-glib
5196 (package
5197 (name "geocode-glib")
5198 (version "3.26.2")
5199 (source (origin
5200 (method url-fetch)
5201 (uri (string-append "mirror://gnome/sources/geocode-glib/"
5202 (version-major+minor version) "/"
5203 "geocode-glib-" version ".tar.xz"))
5204 (sha256
5205 (base32
5206 "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"))))
5207 (build-system meson-build-system)
5208 (arguments
5209 `(#:phases
5210 (modify-phases %standard-phases
5211 ;; The tests require a bunch of locales.
5212 (add-before 'check 'set-locales
5213 (lambda* (#:key inputs #:allow-other-keys)
5214 (setenv "GUIX_LOCPATH"
5215 (string-append (assoc-ref inputs "glibc-locales")
5216 "/lib/locale"))
5217 #t)))))
5218 (native-inputs
5219 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5220 ("glibc-locales" ,glibc-locales) ; for tests
5221 ("gettext" ,gettext-minimal)
5222 ("gobject-introspection" ,gobject-introspection)
5223 ("gtk-doc" ,gtk-doc)
5224 ("pkg-config" ,pkg-config)
5225 ("json-glib" ,json-glib)))
5226 (propagated-inputs
5227 ;; geocode-glib-1.0.pc refers to GIO.
5228 `(("glib" ,glib)))
5229 (inputs
5230 `(("libsoup" ,libsoup)))
5231 (home-page "https://github.com/GNOME/geocode-glib/")
5232 (synopsis "Geocoding and reverse-geocoding library")
5233 (description
5234 "geocode-glib is a convenience library for geocoding (finding longitude,
5235 and latitude from an address) and reverse geocoding (finding an address from
5236 coordinates) using the Nominatim service. geocode-glib caches requests for
5237 faster results and to avoid unnecessary server load.")
5238 (license license:lgpl2.0+)))
5239
5240 (define-public upower
5241 (package
5242 (name "upower")
5243 (version "0.99.11")
5244 (source (origin
5245 (method url-fetch)
5246 (uri (string-append "https://upower.freedesktop.org/releases/"
5247 "upower-" version ".tar.xz"))
5248 (sha256
5249 (base32
5250 "1vxxvmz2cxb1qy6ibszaz5bskqdy9nd9fxspj9fv3gfmrjzzzdb4"))
5251 (patches (search-patches "upower-builddir.patch"))
5252 (modules '((guix build utils)))
5253 (snippet
5254 '(begin
5255 ;; Upstream commit
5256 ;; <https://cgit.freedesktop.org/upower/commit/?id=18457c99b68786cd729b315723d680e6860d9cfa>
5257 ;; moved 'dbus-1/system.d' from etc/ to share/. However,
5258 ;; 'dbus-configuration-directory' in (gnu services dbus)
5259 ;; expects it in etc/. Thus, move it back to its previous
5260 ;; location.
5261 (substitute* "src/Makefile.in"
5262 (("^dbusconfdir =.*$")
5263 "dbusconfdir = $(sysconfdir)/dbus-1/system.d\n"))
5264 #t))))
5265 (build-system glib-or-gtk-build-system)
5266 (arguments
5267 '(#:phases
5268 (modify-phases %standard-phases
5269 (add-before 'check 'pre-check
5270 (lambda* (#:key inputs #:allow-other-keys)
5271 (let ((umockdev (string-append (assoc-ref inputs "umockdev")
5272 "/lib")))
5273 (setenv "LD_LIBRARY_PATH" umockdev))
5274 #t)))
5275 #:configure-flags (list "--localstatedir=/var"
5276 (string-append "--with-udevrulesdir="
5277 (assoc-ref %outputs "out")
5278 "/lib/udev/rules.d"))))
5279 (native-inputs
5280 `(("gobject-introspection" ,gobject-introspection)
5281 ("pkg-config" ,pkg-config)
5282 ("intltool" ,intltool)
5283 ("python" ,python)
5284
5285 ;; For tests.
5286 ("python-dbus" ,python-dbus)
5287 ("python-dbusmock" ,python-dbusmock)
5288 ("python-pygobject" ,python-pygobject)
5289 ("umockdev" ,umockdev)
5290
5291 ;; For man pages.
5292 ("libxslt" ,libxslt) ;for 'xsltproc'
5293 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
5294 ("docbook-xsl" ,docbook-xsl)))
5295 (inputs
5296 `(("dbus-glib" ,dbus-glib)
5297 ("libgudev" ,libgudev)
5298 ("libusb" ,libusb)))
5299 (propagated-inputs
5300 ;; In Requires of upower-glib.pc.
5301 `(("glib" ,glib)))
5302 (home-page "https://upower.freedesktop.org/")
5303 (synopsis "System daemon for managing power devices")
5304 (description
5305 "UPower is an abstraction for enumerating power devices,
5306 listening to device events and querying history and statistics. Any
5307 application or service on the system can access the org.freedesktop.UPower
5308 service via the system message bus.")
5309 (license license:gpl2+)))
5310
5311 (define-public libgweather
5312 (package
5313 (name "libgweather")
5314 (version "3.34.0")
5315 (source (origin
5316 (method url-fetch)
5317 (uri (string-append "mirror://gnome/sources/" name "/"
5318 (version-major+minor version) "/"
5319 name "-" version ".tar.xz"))
5320 (sha256
5321 (base32
5322 "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"))))
5323 (build-system meson-build-system)
5324 (arguments
5325 `(#:tests? #f ; one of two tests requires network access
5326 #:configure-flags
5327 `(,(string-append "-Dzoneinfo_dir="
5328 (assoc-ref %build-inputs "tzdata")
5329 "/share/zoneinfo"))))
5330 (native-inputs
5331 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5332 ("gobject-introspection" ,gobject-introspection)
5333 ("pkg-config" ,pkg-config)
5334 ("vala" ,vala)
5335 ("intltool" ,intltool)))
5336 (propagated-inputs
5337 ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
5338 ;; libsoup.
5339 `(("gtk+" ,gtk+)
5340 ("gdk-pixbuf" ,gdk-pixbuf)
5341 ("libxml2" ,libxml2)
5342 ("libsoup" ,libsoup)
5343 ("geocode-glib" ,geocode-glib)))
5344 (inputs
5345 `(("tzdata" ,tzdata)))
5346 (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
5347 (synopsis "Location, time zone, and weather library for GNOME")
5348 (description
5349 "libgweather is a library to access weather information from online
5350 services for numerous locations.")
5351 (license license:gpl2+)))
5352
5353 (define-public gnome-settings-daemon
5354 (package
5355 (name "gnome-settings-daemon")
5356 (version "3.34.1")
5357 (source
5358 (origin
5359 (method url-fetch)
5360 (uri (string-append "mirror://gnome/sources/" name "/"
5361 (version-major+minor version) "/"
5362 name "-" version ".tar.xz"))
5363 (sha256
5364 (base32
5365 "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr"))
5366 (patches (search-patches "gnome-settings-daemon-gc.patch"))))
5367 (build-system meson-build-system)
5368 (arguments
5369 `(#:glib-or-gtk? #t
5370 #:configure-flags
5371 (list (string-append "-Dudev_dir="
5372 (assoc-ref %outputs "out")
5373 "/lib/udev/rules.d/")
5374 "-Dsystemd=false"
5375 ;; Otherwise, the RUNPATH will lack the final path component.
5376 (string-append "-Dc_link_args=-Wl,-rpath="
5377 (assoc-ref %outputs "out")
5378 "/lib/gnome-settings-daemon-3.0"))
5379
5380 #:phases (modify-phases %standard-phases
5381 (add-before 'configure 'set-baobab-file-name
5382 (lambda* (#:key inputs #:allow-other-keys)
5383 ;; Hard-code the file name of Baobab instead of looking
5384 ;; it up in $PATH. This ensures users get the "Examine"
5385 ;; button in the low disk space notification of GDM even
5386 ;; if they don't have GNOME in their main profile.
5387 (let ((baobab (assoc-ref inputs "baobab")))
5388 (substitute* "plugins/housekeeping/gsd-disk-space.c"
5389 (("g_find_program_in_path \\(DISK_SPACE_ANALYZER\\)")
5390 (string-append "g_strdup (\"" baobab
5391 "/bin/baobab\")")))
5392 #t))))
5393
5394 ;; Color management test can't reach the colord system service.
5395 #:tests? #f))
5396 (native-inputs
5397 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5398 ("pkg-config" ,pkg-config)
5399 ("intltool" ,intltool)
5400 ("xsltproc" ,libxslt)
5401 ("libxml2" ,libxml2) ;for XML_CATALOG_FILES
5402 ("docbook-xml" ,docbook-xml-4.2)
5403 ("docbook-xsl" ,docbook-xsl)))
5404 (inputs
5405 `(("alsa-lib" ,alsa-lib)
5406 ("baobab" ,baobab)
5407 ("colord" ,colord)
5408 ("libgudev" ,libgudev)
5409 ("upower" ,upower)
5410 ("polkit" ,polkit)
5411 ("pulseaudio" ,pulseaudio)
5412 ("libcanberra" ,libcanberra)
5413 ("libx11" ,libx11)
5414 ("libxtst" ,libxtst)
5415 ("lcms" ,lcms)
5416 ("libnotify" ,libnotify)
5417 ("geoclue" ,geoclue)
5418 ("geocode-glib" ,geocode-glib)
5419 ("libgweather" ,libgweather)
5420 ("gnome-desktop" ,gnome-desktop)
5421 ("nss" ,nss)
5422 ("cups" ,cups)
5423 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5424 ("libwacom" ,libwacom)
5425 ("librsvg" ,librsvg)
5426 ("xf86-input-wacom" ,xf86-input-wacom)
5427 ("wayland" ,wayland)
5428 ("network-manager" ,network-manager)
5429 ("gcr" ,gcr)
5430 ("modem-manager" ,modem-manager)))
5431 (home-page "https://www.gnome.org")
5432 (synopsis "GNOME settings daemon")
5433 (description
5434 "This package contains the daemon responsible for setting the various
5435 parameters of a GNOME session and the applications that run under it. It
5436 handles settings such keyboard layout, shortcuts, and accessibility, clipboard
5437 settings, themes, mouse settings, and startup of other daemons.")
5438 (license license:gpl2+)))
5439
5440 (define-public totem-pl-parser
5441 (package
5442 (name "totem-pl-parser")
5443 (version "3.26.5")
5444 (source (origin
5445 (method url-fetch)
5446 (uri (string-append "mirror://gnome/sources/totem-pl-parser/"
5447 (version-major+minor version) "/"
5448 "totem-pl-parser-" version ".tar.xz"))
5449 (sha256
5450 (base32
5451 "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k"))))
5452 (build-system meson-build-system)
5453 (arguments
5454 ;; FIXME: Tests require gvfs.
5455 `(#:tests? #f))
5456 (native-inputs
5457 `(("intltool" ,intltool)
5458 ("glib" ,glib "bin")
5459 ("gobject-introspection" ,gobject-introspection)
5460 ("pkg-config" ,pkg-config)))
5461 (propagated-inputs
5462 `(("glib" ,glib)
5463 ("gmime" ,gmime)
5464 ("libarchive" ,libarchive)
5465 ("libgcrypt" ,libgcrypt)
5466 ("libxml2" ,libxml2)))
5467 (inputs
5468 `(("libsoup" ,libsoup)))
5469 (home-page "https://projects.gnome.org/totem")
5470 (synopsis "Library to parse and save media playlists for GNOME")
5471 (description "Totem-pl-parser is a GObjects-based library to parse and save
5472 playlists in a variety of formats.")
5473 (license license:lgpl2.0+)))
5474
5475 (define-public aisleriot
5476 (package
5477 (name "aisleriot")
5478 (version "3.22.9")
5479 (source (origin
5480 (method url-fetch)
5481 (uri (string-append "mirror://gnome/sources/aisleriot/"
5482 (version-major+minor version) "/"
5483 "aisleriot-" version ".tar.xz"))
5484 (sha256
5485 (base32
5486 "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji"))))
5487 (build-system glib-or-gtk-build-system)
5488 (arguments
5489 '(#:configure-flags
5490 '("--with-platform=gtk-only"
5491 "--with-card-theme-formats=svg")))
5492 (native-inputs
5493 `(("desktop-file-utils" ,desktop-file-utils)
5494 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
5495 ("intltool" ,intltool)
5496 ("itstool" ,itstool)
5497 ("pkg-config" ,pkg-config)
5498 ("xmllint" ,libxml2)))
5499 (inputs
5500 `(("gtk+" ,gtk+)
5501 ("guile" ,guile-2.2)
5502 ("libcanberra" ,libcanberra)
5503 ("librsvg" ,librsvg)))
5504 (home-page "https://wiki.gnome.org/Apps/Aisleriot")
5505 (synopsis "Solitaire card games")
5506 (description
5507 "Aisleriot (also known as Solitaire or sol) is a collection of card games
5508 which are easy to play with the aid of a mouse.")
5509 (license license:gpl3+)))
5510
5511 (define-public amtk
5512 (package
5513 (name "amtk")
5514 (version "5.0.2")
5515 (source (origin
5516 (method url-fetch)
5517 (uri (string-append "mirror://gnome/sources/amtk/"
5518 (version-major+minor version) "/"
5519 "amtk-" version ".tar.xz"))
5520 (sha256
5521 (base32
5522 "11jgz2i9wjzv4alrxl1qyxiapb52w7vs5ygfgsw0qgdap8gqkk3i"))))
5523 (build-system gnu-build-system)
5524 (arguments
5525 '(#:configure-flags '("--enable-gtk-doc")))
5526 (native-inputs
5527 `(("gobject-introspection" ,gobject-introspection)
5528 ("glib:bin" ,glib "bin") ; for glib-mkenums
5529 ("gtk-doc" ,gtk-doc)
5530 ("pkg-config" ,pkg-config)))
5531 (inputs
5532 `(("glib" ,glib)
5533 ("gtk+" ,gtk+)))
5534 (home-page "https://wiki.gnome.org/Projects/Amtk")
5535 (synopsis "Actions, Menus and Toolbars Kit for GTK+ applications")
5536 (description
5537 "Amtk is the acronym for @acronym{Amtk, Actions Menus and Toolbars Kit}.
5538 It is a basic GtkUIManager replacement based on GAction. It is suitable for
5539 both a traditional UI or a modern UI with a GtkHeaderBar.")
5540 (license license:lgpl2.1+)))
5541
5542 (define-public devhelp
5543 (package
5544 (name "devhelp")
5545 (version "3.34.0")
5546 (source (origin
5547 (method url-fetch)
5548 (uri (string-append "mirror://gnome/sources/" name "/"
5549 (version-major+minor version) "/"
5550 name "-" version ".tar.xz"))
5551 (sha256
5552 (base32
5553 "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"))))
5554 (build-system meson-build-system)
5555 (arguments
5556 '(#:glib-or-gtk? #t
5557 #:phases
5558 (modify-phases %standard-phases
5559 (add-after 'unpack 'skip-gtk-update-icon-cache
5560 ;; Don't create 'icon-theme.cache'.
5561 (lambda _
5562 (substitute* "meson_post_install.py"
5563 (("gtk-update-icon-cache") "true"))
5564 #t)))))
5565 (native-inputs
5566 `(("intltool" ,intltool)
5567 ("itstool" ,itstool)
5568 ("gobject-introspection" ,gobject-introspection)
5569 ("glib:bin" ,glib "bin") ; for glib-mkmenus
5570 ("pkg-config" ,pkg-config)))
5571 (inputs
5572 `(("amtk" ,amtk)
5573 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5574 ("webkitgtk" ,webkitgtk)))
5575 (home-page "https://wiki.gnome.org/Apps/Devhelp")
5576 (synopsis "API documentation browser for GNOME")
5577 (description
5578 "Devhelp is an API documentation browser for GTK+ and GNOME. It works
5579 natively with GTK-Doc (the API reference system developed for GTK+ and used
5580 throughout GNOME for API documentation).")
5581 (license license:gpl2+)))
5582
5583 (define-public cogl
5584 (package
5585 (name "cogl")
5586 (version "1.22.8")
5587 (source
5588 (origin
5589 (method url-fetch)
5590 (uri (string-append "mirror://gnome/sources/cogl/"
5591 (version-major+minor version) "/"
5592 "cogl-" version ".tar.xz"))
5593 (sha256
5594 (base32 "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8"))))
5595 ;; NOTE: mutter exports a bundled fork of cogl, so when making changes to
5596 ;; cogl, corresponding changes may be appropriate in mutter as well.
5597 (build-system gnu-build-system)
5598 (native-inputs
5599 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5600 ("gobject-introspection" ,gobject-introspection)
5601 ("xorg-server" ,xorg-server-for-tests)
5602 ("pkg-config" ,pkg-config)))
5603 (propagated-inputs
5604 `(("glib" ,glib)
5605 ("gdk-pixbuf" ,gdk-pixbuf)
5606 ("libx11" ,libx11)
5607 ("libxext" ,libxext)
5608 ("libxfixes" ,libxfixes)
5609 ("libxdamage" ,libxdamage)
5610 ("libxcomposite" ,libxcomposite)
5611 ("libxrandr" ,libxrandr)))
5612 (inputs
5613 `(("mesa" ,mesa)
5614 ("cairo" ,cairo)
5615 ("pango" ,pango)
5616 ("gstreamer" ,gstreamer)
5617 ("gst-plugins-base" ,gst-plugins-base)
5618 ("wayland" ,wayland)))
5619 (arguments
5620 `(#:disallowed-references (,xorg-server-for-tests)
5621 #:configure-flags (list "--enable-cogl-gst"
5622 "--enable-wayland-egl-platform"
5623 "--enable-wayland-egl-server"
5624
5625 ;; Arrange to pass an absolute file name to
5626 ;; dlopen for libGL.so.
5627 (string-append "--with-gl-libname="
5628 (assoc-ref %build-inputs "mesa")
5629 "/lib/libGL.so"))
5630 #:phases
5631 (modify-phases %standard-phases
5632 (add-after 'unpack 'fix-build-with-mesa-20
5633 (lambda _
5634 ;; Work around a problem with Mesa 20 where some macros used by
5635 ;; Cogl went missing from eglext.h. This can likely be removed
5636 ;; for newer versions of Cogl or Mesa.
5637 ;; https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/19
5638 (substitute* '("configure"
5639 "cogl/winsys/cogl-winsys-egl-kms.c")
5640 (("#include <EGL/eglext.h>" all)
5641 (string-append all "\n#include <EGL/eglmesaext.h>\n")))
5642 #t))
5643 (add-before 'check 'start-xorg-server
5644 (lambda* (#:key tests? inputs #:allow-other-keys)
5645 (if tests?
5646 (begin
5647 ;; The test suite requires a running X server.
5648 (system (format #f "~a/bin/Xvfb :1 +extension GLX &"
5649 (assoc-ref inputs "xorg-server")))
5650 (setenv "DISPLAY" ":1")
5651 #t)
5652 (format #t "test suite not run~%"))
5653 #t)))))
5654 (home-page "https://www.cogl3d.org")
5655 (synopsis "Object oriented GL/GLES Abstraction/Utility Layer")
5656 (description
5657 "Cogl is a small library for using 3D graphics hardware to draw pretty
5658 pictures. The API departs from the flat state machine style of OpenGL and is
5659 designed to make it easy to write orthogonal components that can render
5660 without stepping on each others toes.")
5661 (license (list license:expat ; most of the code
5662 license:bsd-3 ; cogl/cogl-point-in-poly.c
5663 license:sgifreeb2.0 ; cogl-path/tesselator/
5664 license:asl2.0)))) ; examples/android/
5665
5666 (define-public clutter
5667 (package
5668 (name "clutter")
5669 (version "1.26.2")
5670 (source
5671 (origin
5672 (method url-fetch)
5673 (uri (string-append "mirror://gnome/sources/" name "/"
5674 (version-major+minor version) "/"
5675 name "-" version ".tar.xz"))
5676 (sha256
5677 (base32
5678 "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7"))))
5679 ;; NOTE: mutter exports a bundled fork of clutter, so when making changes
5680 ;; to clutter, corresponding changes may be appropriate in mutter as well.
5681 (build-system gnu-build-system)
5682 (outputs '("out"
5683 "doc")) ;9 MiB of gtk-doc HTML pages
5684 (native-inputs
5685 `(("glib:bin" ,glib "bin") ; for glib-genmarshal
5686 ("gobject-introspection" ,gobject-introspection)
5687 ("pkg-config" ,pkg-config)
5688 ("xsltproc" ,libxslt)))
5689 (propagated-inputs
5690 `(("cogl" ,cogl)
5691 ("cairo" ,cairo)
5692 ("atk" ,atk)
5693 ("gtk+" ,gtk+)
5694 ("json-glib" ,json-glib)
5695 ("glib" ,glib)
5696 ("libxcomposite" ,libxcomposite)
5697 ("libxdamage" ,libxdamage)
5698 ("libxext" ,libxext)
5699 ("xinput" ,xinput)))
5700 (inputs
5701 `(("libxkbcommon" ,libxkbcommon)
5702 ("udev" ,eudev)))
5703 (arguments
5704 `(#:configure-flags (list "--enable-x11-backend=yes"
5705
5706 ;; This produces share/doc/{clutter,cally}.
5707 (string-append "--with-html-dir="
5708 (assoc-ref %outputs "doc")
5709 "/share/doc"))
5710 ;; XXX FIXME: Get test suite working. It would probably fail in the
5711 ;; same way the cogl tests fail, since clutter is based on cogl.
5712 #:tests? #f))
5713 (home-page "http://www.clutter-project.org")
5714 (synopsis "OpenGL-based interactive canvas library")
5715 (description
5716 "Clutter is an OpenGL-based interactive canvas library, designed for
5717 creating fast, mainly 2D single window applications such as media box UIs,
5718 presentations, kiosk style applications and so on.")
5719 (license license:lgpl2.0+)))
5720
5721 (define-public clutter-gtk
5722 (package
5723 (name "clutter-gtk")
5724 (version "1.8.4")
5725 (source
5726 (origin
5727 (method url-fetch)
5728 (uri (string-append "mirror://gnome/sources/" name "/"
5729 (version-major+minor version) "/"
5730 name "-" version ".tar.xz"))
5731 (sha256
5732 (base32
5733 "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j"))))
5734 (build-system gnu-build-system)
5735 (native-inputs
5736 `(("pkg-config" ,pkg-config)
5737 ("gobject-introspection" ,gobject-introspection)))
5738 (propagated-inputs
5739 ;; clutter-gtk.pc refers to all these.
5740 `(("clutter" ,clutter)
5741 ("gtk+" ,gtk+)))
5742 (home-page "http://www.clutter-project.org")
5743 (synopsis "OpenGL-based interactive canvas library GTK+ widget")
5744 (description
5745 "Clutter is an OpenGL-based interactive canvas library, designed for
5746 creating fast, mainly 2D single window applications such as media box UIs,
5747 presentations, kiosk style applications and so on.")
5748 (license license:lgpl2.0+)))
5749
5750 (define-public clutter-gst
5751 (package
5752 (name "clutter-gst")
5753 (version "3.0.27")
5754 (source
5755 (origin
5756 (method url-fetch)
5757 (uri (string-append "mirror://gnome/sources/clutter-gst/"
5758 (version-major+minor version) "/"
5759 "clutter-gst-" version ".tar.xz"))
5760 (sha256
5761 (base32 "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy"))))
5762 (build-system gnu-build-system)
5763 (native-inputs
5764 `(("glib:bin" ,glib "bin") ; for glib-mkenums
5765 ("pkg-config" ,pkg-config)
5766 ("gobject-introspection" ,gobject-introspection)))
5767 (inputs
5768 `(("clutter" ,clutter)
5769 ("gstreamer" ,gstreamer)
5770 ("gst-plugins-base" ,gst-plugins-base)))
5771 (home-page "http://www.clutter-project.org")
5772 (synopsis "Integration library for using GStreamer with Clutter")
5773 (description
5774 "Clutter-Gst is an integration library for using GStreamer with Clutter.
5775 It provides a GStreamer sink to upload frames to GL and an actor that
5776 implements the ClutterGstPlayer interface using playbin. Clutter is an
5777 OpenGL-based interactive canvas library.")
5778 (license license:lgpl2.0+)))
5779
5780 (define-public libchamplain
5781 (package
5782 (name "libchamplain")
5783 (version "0.12.16")
5784 (source (origin
5785 (method url-fetch)
5786 (uri (string-append
5787 "mirror://gnome/sources/libchamplain/0.12/libchamplain-"
5788 version ".tar.xz"))
5789 (sha256
5790 (base32
5791 "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"))))
5792 (build-system gnu-build-system)
5793 (arguments '(#:configure-flags '("--enable-vala")))
5794 (native-inputs
5795 `(("gobject-introspection" ,gobject-introspection)
5796 ("pkg-config" ,pkg-config)
5797 ("vala" ,vala)))
5798 (propagated-inputs
5799 `(("libsoup" ,libsoup)
5800 ("sqlite" ,sqlite)
5801 ("clutter" ,clutter)
5802 ("clutter-gtk" ,clutter-gtk)
5803 ("glib:bin" ,glib "bin") ;glib-mkenums, etc.
5804 ("cairo" ,cairo)
5805 ("gtk+3" ,gtk+)
5806 ("glib" ,glib)))
5807 (home-page "https://projects.gnome.org/libchamplain/")
5808 (synopsis "C library providing a ClutterActor to display maps")
5809 (description
5810 "libchamplain is a C library providing a ClutterActor to display maps.
5811 It also provides a Gtk+ widget to display maps in Gtk+ applications. Python
5812 and Perl bindings are also available. It supports numerous free map sources
5813 such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free.")
5814 (license license:lgpl2.1+)))
5815
5816 (define-public gom
5817 (package
5818 (name "gom")
5819 (version "0.3.2")
5820 (source
5821 (origin
5822 (method url-fetch)
5823 (uri (string-append "mirror://gnome/sources/gom/"
5824 (version-major+minor version) "/"
5825 "gom-" version ".tar.xz"))
5826 (sha256
5827 (base32
5828 "1zaqqwwkyiswib3v1v8wafpbifpbpak0nn2kp13pizzn9bwz1s5w"))))
5829 (build-system gnu-build-system)
5830 (native-inputs
5831 `(("intltool" ,intltool)
5832 ("pkg-config" ,pkg-config)
5833 ("gobject-introspection" ,gobject-introspection)))
5834 (inputs
5835 `(("glib" ,glib)
5836 ("gdk-pixbuf" ,gdk-pixbuf)
5837 ("sqlite" ,sqlite)))
5838 ;; XXX TODO: Figure out how to run the test suite.
5839 (arguments `(#:tests? #f))
5840 (home-page "https://wiki.gnome.org/Projects/Gom")
5841 (synopsis "Object mapper from GObjects to SQLite")
5842 (description
5843 "Gom provides an object mapper from GObjects to SQLite. It helps you
5844 write applications that need to store structured data as well as make complex
5845 queries upon that data.")
5846 (license license:lgpl2.1+)))
5847
5848 (define-public libgnome-games-support
5849 (package
5850 (name "libgnome-games-support")
5851 (version "1.4.4")
5852 (source (origin
5853 (method url-fetch)
5854 (uri (string-append "mirror://gnome/sources/libgnome-games-support/"
5855 (version-major+minor version) "/"
5856 "libgnome-games-support-" version ".tar.xz"))
5857 (sha256
5858 (base32
5859 "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"))))
5860 (build-system gnu-build-system)
5861 (arguments
5862 '(#:phases
5863 (modify-phases %standard-phases
5864 (add-before 'check 'pre-check
5865 (lambda _
5866 ;; Tests require a writable HOME.
5867 (setenv "HOME" (getcwd))
5868 #t)))))
5869 (native-inputs
5870 `(("intltool" ,intltool)
5871 ("pkg-config" ,pkg-config)
5872 ("vala" ,vala)))
5873 (propagated-inputs
5874 ;; Required by libgnome-games-support-1.0.pc
5875 `(("gtk+" ,gtk+)
5876 ("libgee" ,libgee)))
5877 (home-page "https://www.gnome.org/")
5878 (synopsis "Useful functionality shared among GNOME games")
5879 (description
5880 "libgnome-games-support is a small library intended for internal use by
5881 GNOME Games, but it may be used by others.")
5882 (license license:lgpl3+)))
5883
5884 (define-public gnome-klotski
5885 (package
5886 (name "gnome-klotski")
5887 (version "3.34.0")
5888 (source (origin
5889 (method url-fetch)
5890 (uri (string-append "mirror://gnome/sources/" name "/"
5891 (version-major+minor version) "/"
5892 name "-" version ".tar.xz"))
5893 (sha256
5894 (base32
5895 "0sbx0bzy32lh2c9jp8v7gz788wn9y1la8mr5a7gf7370szsl4d4f"))))
5896 (build-system meson-build-system)
5897 (arguments
5898 '(#:glib-or-gtk? #t
5899 #:phases
5900 (modify-phases %standard-phases
5901 (add-after 'unpack 'skip-gtk-update-icon-cache
5902 ;; Don't create 'icon-theme.cache'.
5903 (lambda _
5904 (substitute* "build-aux/meson_post_install.py"
5905 (("gtk-update-icon-cache") (which "true")))
5906 #t)))))
5907 (native-inputs
5908 `(("desktop-file-utils" ,desktop-file-utils)
5909 ("glib:bin" ,glib "bin") ; for glib-compile-resources
5910 ("intltool" ,intltool)
5911 ("itstool" ,itstool)
5912 ("pkg-config" ,pkg-config)
5913 ("vala" ,vala)
5914 ("xmllint" ,libxml2)))
5915 (inputs
5916 `(("gtk+" ,gtk+)
5917 ("libgnome-games-support" ,libgnome-games-support)
5918 ("librsvg" ,librsvg)))
5919 (home-page "https://wiki.gnome.org/Apps/Klotski")
5920 (synopsis "Sliding block puzzles")
5921 (description
5922 "GNOME Klotski is a set of block sliding puzzles. The objective is to move
5923 the patterned block to the area bordered by green markers. To do so, you will
5924 need to slide other blocks out of the way. Complete each puzzle in as few moves
5925 as possible!")
5926 (license license:gpl2+)))
5927
5928 (define-public grilo
5929 (package
5930 (name "grilo")
5931 (version "0.3.12")
5932 (source
5933 (origin
5934 (method url-fetch)
5935 (uri (string-append "mirror://gnome/sources/grilo/"
5936 (version-major+minor version) "/"
5937 "grilo-" version ".tar.xz"))
5938 (sha256
5939 (base32 "0w8sq5g6g1rg85h53vbll8va70fcp6082mlpmy98aa03444ddyyv"))))
5940 (build-system meson-build-system)
5941 (native-inputs
5942 `(("glib:bin" ,glib "bin") ; for glib-mkenums and glib-genmarshal
5943 ("intltool" ,intltool)
5944 ("pkg-config" ,pkg-config)
5945 ("gobject-introspection" ,gobject-introspection)
5946 ("gtk-doc" ,gtk-doc)
5947 ("vala" ,vala)))
5948 (inputs
5949 `(("cyrus-sasl" ,cyrus-sasl)
5950 ("glib" ,glib)
5951 ("gtk+" ,gtk+)
5952 ("libxml2" ,libxml2)
5953 ("liboauth" ,liboauth)
5954 ("libsoup" ,libsoup)
5955 ("totem-pl-parser" ,totem-pl-parser)))
5956 (native-search-paths
5957 (list (search-path-specification
5958 (variable "GRL_PLUGIN_PATH")
5959 (files (list (string-append "lib/grilo-"
5960 (version-major+minor version)))))))
5961 (home-page "https://wiki.gnome.org/action/show/Projects/Grilo")
5962 (synopsis "Framework for discovering and browsing media")
5963 (description
5964 "Grilo is a framework focused on making media discovery and browsing easy
5965 for application developers.")
5966 (license license:lgpl2.1+)))
5967
5968 (define-public grilo-plugins
5969 (package
5970 (name "grilo-plugins")
5971 (version "0.3.11")
5972 (source
5973 (origin
5974 (method url-fetch)
5975 (uri (string-append "mirror://gnome/sources/" name "/"
5976 (version-major+minor version) "/"
5977 name "-" version ".tar.xz"))
5978 (sha256
5979 (base32 "0wyd3n5mn7b77hxylkc3f62v01mlavh96901pz342hwrn42ydqnx"))))
5980 (build-system meson-build-system)
5981 (native-inputs
5982 `(("gettext" ,gettext-minimal)
5983 ("glib:bin" ,glib "bin")
5984 ("gtk+:bin" ,gtk+ "bin")
5985 ("itstool" ,itstool)
5986 ("pkg-config" ,pkg-config)))
5987 ;; TODO: ahavi, gstreamer
5988 (inputs
5989 `(("grilo" ,grilo)
5990 ;("gmime" ,gmime) ; unused
5991 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
5992 ("gom" ,gom)
5993 ;("gssdp" ,gssdp) ; unused
5994 ;("gupnp" ,gupnp) ; unused
5995 ;("gupnp-av" ,gupnp-av) ; unused
5996 ("json-glib" ,json-glib)
5997 ("avahi" ,avahi)
5998 ("libgdata" ,libgdata)
5999 ("libmediaart" ,libmediaart)
6000 ;("librest" ,rest) ; unused
6001 ("libsoup" ,libsoup)
6002 ("totam-pl-parser" ,totem-pl-parser)
6003 ("tracker" ,tracker))) ; unused because it's too old
6004 (arguments
6005 `(#:glib-or-gtk? #t
6006 ;;Disable lua-factory as it needs missing dependencies
6007 #:configure-flags '("-Denable-lua-factory=no")))
6008 (home-page "https://live.gnome.org/Grilo")
6009 (synopsis "Plugins for the Grilo media discovery library")
6010 (description
6011 "Grilo is a framework focused on making media discovery and browsing easy
6012 for application developers. This package provides plugins for common media
6013 discovery protocols.")
6014 (license license:lgpl2.1+)))
6015
6016 (define-public totem
6017 (package
6018 (name "totem")
6019 (version "3.38.0")
6020 (source
6021 (origin
6022 (method url-fetch)
6023 (uri (string-append "mirror://gnome/sources/totem/"
6024 (version-major+minor version) "/"
6025 "totem-" version ".tar.xz"))
6026 (sha256
6027 (base32
6028 "0bs33ijvxbr2prb9yj4dxglsszslsn9k258n311sld84masz4ad8"))))
6029 (build-system meson-build-system)
6030 (native-inputs
6031 `(("pkg-config" ,pkg-config)
6032 ("desktop-file-utils" ,desktop-file-utils)
6033 ("gettext" ,gettext-minimal)
6034 ("gobject-introspection" ,gobject-introspection)
6035 ("glib:bin" ,glib "bin") ;for 'glib-mkenums'
6036 ("itstool" ,itstool)
6037 ("xmllint" ,libxml2)
6038 ("xorg-server" ,xorg-server-for-tests)))
6039 (propagated-inputs
6040 `(("dconf" ,dconf)))
6041 (inputs
6042 `(("gtk+" ,gtk+)
6043 ("gdk-pixbuf" ,gdk-pixbuf)
6044 ("atk" ,atk)
6045 ("cairo" ,cairo)
6046 ("dbus-glib" ,dbus-glib)
6047 ("clutter" ,clutter)
6048 ("clutter-gtk" ,clutter-gtk)
6049 ("clutter-gst" ,clutter-gst)
6050 ("xorgproto" ,xorgproto)
6051 ("libxxf86vm" ,libxxf86vm)
6052 ("libxtst" ,libxtst)
6053 ("libxrandr" ,libxrandr)
6054 ("libxml2" ,libxml2)
6055 ("libsoup" ,libsoup)
6056 ("libpeas" ,libpeas)
6057 ("librsvg" ,librsvg)
6058 ("lirc" ,lirc)
6059 ("gnome-desktop" ,gnome-desktop)
6060 ("gstreamer" ,gstreamer)
6061 ("gst-plugins-base" ,gst-plugins-base)
6062 ("gst-plugins-good" ,gst-plugins-good)
6063 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6064 ("adwaita-icon-theme" ,adwaita-icon-theme)
6065 ("python" ,python)
6066 ("python-pygobject" ,python-pygobject)
6067 ("totem-pl-parser" ,totem-pl-parser)
6068 ("grilo" ,grilo)
6069 ("grilo-plugins" ,grilo-plugins)
6070 ("vala" ,vala)))
6071 (arguments
6072 `(#:glib-or-gtk? #t
6073
6074 ;; Disable automatic GStreamer plugin installation via PackageKit and
6075 ;; all that.
6076 #:configure-flags '("-D" "enable-easy-codec-installation=no"
6077
6078 ;; Do not build .a files for the plugins, it's
6079 ;; completely useless. This saves 2 MiB.
6080 "--default-library" "shared")
6081 #:phases
6082 (modify-phases %standard-phases
6083 (add-after 'unpack 'skip-gtk-update-icon-cache
6084 ;; Don't create 'icon-theme.cache'.
6085 (lambda _
6086 (substitute* "meson_post_install.py"
6087 (("gtk-update-icon-cache") "true"))
6088 #t))
6089 (add-after 'unpack 'patch-failing-test
6090 (lambda _
6091 ;; Work around test failure with GStreamer 1.18, because the test
6092 ;; relies on "und" not being mapped to a particular language:
6093 ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
6094 (substitute* "src/test-totem.c"
6095 (("und") "nosuchlang"))
6096 #t))
6097 (add-before
6098 'install 'disable-cache-generation
6099 (lambda _
6100 (setenv "DESTDIR" "/")
6101 #t))
6102 (add-before
6103 'check 'pre-check
6104 (lambda _
6105 ;; Tests require a running X server.
6106 (system "Xvfb :1 &")
6107 (setenv "DISPLAY" ":1")
6108 #t))
6109 (add-after
6110 'install 'wrap-totem
6111 (lambda* (#:key inputs outputs #:allow-other-keys)
6112 (let ((out (assoc-ref outputs "out"))
6113 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6114 (grl-plugin-path (getenv "GRL_PLUGIN_PATH")))
6115 (wrap-program (string-append out "/bin/totem")
6116 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6117 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path)))
6118 (wrap-program (string-append out "/bin/totem-video-thumbnailer")
6119 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
6120 #t)))))
6121 (home-page "https://wiki.gnome.org/Apps/Videos")
6122 (synopsis "Simple media player for GNOME based on GStreamer")
6123 (description "Totem is a simple yet featureful media player for GNOME
6124 which can read a large number of file formats.")
6125 ;; GPL2+ with an exception clause for non-GPL compatible GStreamer plugins
6126 ;; to be used and distributed together with GStreamer and Totem. See
6127 ;; file://COPYING in the source distribution for details.
6128 (license license:gpl2+)))
6129
6130 (define-public rhythmbox
6131 (package
6132 (name "rhythmbox")
6133 (version "3.4.4")
6134 (source (origin
6135 (method url-fetch)
6136 (uri (string-append "mirror://gnome/sources/rhythmbox/"
6137 (version-major+minor version) "/"
6138 "rhythmbox-" version ".tar.xz"))
6139 (sha256
6140 (base32
6141 "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"))))
6142 (build-system glib-or-gtk-build-system)
6143 (arguments
6144 `(#:configure-flags
6145 (list "--enable-lirc"
6146 "--enable-python"
6147 "--enable-vala"
6148 "--with-brasero"
6149 "--with-gudev"
6150 "--with-libsecret")
6151 #:phases
6152 (modify-phases %standard-phases
6153 (add-after
6154 'install 'wrap-rhythmbox
6155 (lambda* (#:key inputs outputs #:allow-other-keys)
6156 (let ((out (assoc-ref outputs "out"))
6157 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
6158 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
6159 (grl-plugin-path (getenv "GRL_PLUGIN_PATH"))
6160 (python-path (getenv "PYTHONPATH")))
6161 (wrap-program (string-append out "/bin/rhythmbox")
6162 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
6163 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
6164 `("GRL_PLUGIN_PATH" ":" prefix (,grl-plugin-path))
6165 `("PYTHONPATH" ":" prefix (,python-path))))
6166 #t)))))
6167 (propagated-inputs
6168 `(("dconf" ,dconf)))
6169 (native-inputs
6170 `(("itstool" ,itstool)
6171 ("intltool" ,intltool)
6172 ("glib" ,glib "bin")
6173 ("gobject-introspection" ,gobject-introspection)
6174 ("desktop-file-utils" ,desktop-file-utils)
6175 ("pkg-config" ,pkg-config)
6176 ("xmllint" ,libxml2)))
6177 (inputs
6178 `(("json-glib" ,json-glib)
6179 ("tdb" ,tdb)
6180 ("gnome-desktop" ,gnome-desktop)
6181 ("python" ,python)
6182 ("python-pygobject" ,python2-pygobject)
6183 ("vala" ,vala)
6184 ("gmime" ,gmime)
6185 ("adwaita-icon-theme" ,adwaita-icon-theme)
6186 ("grilo" ,grilo)
6187 ("grilo-plugins" ,grilo-plugins)
6188 ("gstreamer" ,gstreamer)
6189 ("gst-plugins-base" ,gst-plugins-base)
6190 ("gst-plugins-good" ,gst-plugins-good)
6191 ("totem-pl-parser" ,totem-pl-parser)
6192 ("libgudev" ,libgudev)
6193 ;;("libmtp" ,libmtp) FIXME: Not detected
6194 ("libsecret" ,libsecret)
6195 ("libsoup" ,libsoup)
6196 ("libnotify" ,libnotify)
6197 ("libpeas" ,libpeas)
6198 ("lirc" ,lirc)
6199 ;; TODO: clutter* only used by visualizer plugin, which also requires mx
6200 ;;("clutter" ,clutter)
6201 ;;("clutter-gtk" ,clutter-gtk)
6202 ;;("clutter-gst" ,clutter-gst)
6203 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6204 ("atk" ,atk)
6205 ("pango" ,pango)
6206 ("gtk+" ,gtk+)
6207 ;; TODO:
6208 ;; * libgpod
6209 ;; * mx
6210 ("brasero" ,brasero)))
6211 (home-page "https://wiki.gnome.org/Apps/Rhythmbox")
6212 (synopsis "Music player for GNOME")
6213 (description "Rhythmbox is a music playing application for GNOME. It
6214 supports playlists, song ratings, and any codecs installed through gstreamer.")
6215 (license license:gpl2+)))
6216
6217 (define-public eog
6218 (package
6219 (name "eog")
6220 (version "3.34.1")
6221 (source (origin
6222 (method url-fetch)
6223 (uri (string-append "mirror://gnome/sources/" name "/"
6224 (version-major+minor version) "/"
6225 name "-" version ".tar.xz"))
6226 (sha256
6227 (base32
6228 "0b7ld4azs9xbdjsk9b91ywhdzvxgajhndiwiivxjzbr0hjgp7c7x"))))
6229 (build-system meson-build-system)
6230 (arguments
6231 `(#:configure-flags
6232 ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
6233 (list (string-append "-Dc_link_args=-Wl,-rpath="
6234 (assoc-ref %outputs "out") "/lib/eog"))
6235 #:phases
6236 (modify-phases %standard-phases
6237 (add-after 'unpack 'skip-gtk-update-icon-cache
6238 ;; Don't create 'icon-theme.cache'.
6239 (lambda _
6240 (substitute* "meson_post_install.py"
6241 (("gtk-update-icon-cache") "true"))
6242 #t))
6243 (add-after 'install 'wrap-eog
6244 (lambda* (#:key outputs #:allow-other-keys)
6245 (let ((out (assoc-ref outputs "out"))
6246 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
6247 (wrap-program (string-append out "/bin/eog")
6248 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
6249 #t)))))
6250 (propagated-inputs
6251 `(("dconf" ,dconf)))
6252 (native-inputs
6253 `(("intltool" ,intltool)
6254 ("itstool" ,itstool)
6255 ("glib" ,glib "bin")
6256 ("gobject-introspection" ,gobject-introspection)
6257 ("pkg-config" ,pkg-config)
6258 ("xmllint" ,libxml2)))
6259 (inputs
6260 `(("gnome-desktop" ,gnome-desktop)
6261 ("shared-mime-info" ,shared-mime-info)
6262 ("adwaita-icon-theme" ,adwaita-icon-theme)
6263 ("exempi" ,exempi)
6264 ("lcms" ,lcms)
6265 ("libexif" ,libexif)
6266 ("libpeas" ,libpeas)
6267 ("libjpeg" ,libjpeg-turbo)
6268 ("librsvg" ,librsvg-next)
6269 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6270 ("gtk+" ,gtk+)))
6271 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome")
6272 (synopsis "GNOME image viewer")
6273 (description "Eye of GNOME is the GNOME image viewer. It
6274 supports image conversion, rotation, and slideshows.")
6275 (license license:gpl2+)))
6276
6277 (define-public eog-plugins
6278 ;; Note: EOG looks for its plugins (via libpeas) in ~/.local as well as
6279 ;; $DATA/lib/eog/plugins, where DATA is one of the entries in
6280 ;; $XDG_DATA_DIRS. Thus, for EOG to find these, you have to have
6281 ;; 'XDG_DATA_DIRS' appropriately set.
6282 (package
6283 (name "eog-plugins")
6284 (version "3.26.4")
6285 (source (origin
6286 (method url-fetch)
6287 (uri (string-append "mirror://gnome/sources/eog-plugins/"
6288 (version-major+minor version) "/"
6289 "eog-plugins-" version ".tar.xz"))
6290 (sha256
6291 (base32
6292 "0pd7fqa4ciy5844k5s1c6rlsqkk8pxd8cchxjcjhxlsngm9lynnx"))))
6293 (build-system gnu-build-system)
6294 (home-page "https://wiki.gnome.org/Apps/EyeOfGnome/Plugins")
6295 (synopsis "Extensions for the Eye of GNOME image viewer")
6296 (native-inputs
6297 `(("pkg-config" ,pkg-config)
6298 ("gettext" ,gettext-minimal)))
6299 (inputs
6300 `(("eog" ,eog)
6301 ("glib" ,glib)
6302 ("gtk+" ,gtk+)
6303 ("libpeas" ,libpeas)
6304 ("libexif" ,libexif)
6305 ("libchamplain" ,libchamplain)))
6306 (description
6307 "This package provides plugins for the Eye of GNOME (EOG) image viewer,
6308 notably:
6309
6310 @itemize
6311 @item @dfn{EXIF Display}, which displays camera (EXIF) information;
6312 @item @dfn{Map}, which displays a map of where the picture was taken on the
6313 side panel;
6314 @item @dfn{Slideshow Shuffle}, to shuffle images in slideshow mode.
6315 @end itemize\n")
6316
6317 ;; XXX: eog-postasa-plugin-resources.c (which we don't build) contains a
6318 ;; long suspicious byte stream that goes to a
6319 ;; ".gresource.eog_postasa_plugin" ELF section.
6320 (license license:gpl2+)))
6321
6322 (define-public libgudev
6323 (package
6324 (name "libgudev")
6325 (version "232")
6326 (source (origin
6327 (method url-fetch)
6328 (uri (string-append "mirror://gnome/sources/" name "/"
6329 version "/" name "-" version ".tar.xz"))
6330 (sha256
6331 (base32
6332 "0q3qki451zzgdjazlgshsfzbbm0in40lyx7dyrag7kbkqnwv4k7f"))))
6333 (build-system gnu-build-system)
6334 (arguments
6335 '(#:configure-flags
6336 ;; umockdev depends on libgudev.
6337 (list "--disable-umockdev")))
6338 (native-inputs
6339 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6340 ("gobject-introspection" ,gobject-introspection)
6341 ("pkg-config" ,pkg-config)))
6342 (propagated-inputs
6343 `(("glib" ,glib))) ; required by gudev-1.0.pc
6344 (inputs
6345 `(("udev" ,eudev)))
6346 (home-page "https://wiki.gnome.org/Projects/libgudev")
6347 (synopsis "GObject bindings for libudev")
6348 (description
6349 "This library provides GObject bindings for libudev. It was originally
6350 part of udev-extras, then udev, then systemd. It's now a project on its own.")
6351 (license license:lgpl2.1+)))
6352
6353 (define-public gvfs
6354 (package
6355 (name "gvfs")
6356 (version "1.40.1")
6357 (source (origin
6358 (method url-fetch)
6359 (uri (string-append "mirror://gnome/sources/gvfs/"
6360 (version-major+minor version) "/"
6361 "gvfs-" version ".tar.xz"))
6362 (sha256
6363 (base32
6364 "1cfnzamr4mvgpf6yhm28lh9cafy9z6842s8jpbqnfizfxybg8ylj"))
6365 ;; This patch may be removed when upgrading to version 1.46.x.
6366 (patches
6367 (search-patches "gvfs-add-support-for-libplist-2.2.patch"))))
6368 (build-system meson-build-system)
6369 (arguments
6370 '(#:glib-or-gtk? #t
6371 #:configure-flags
6372 (list "-Dsystemduserunitdir=no"
6373 "-Dtmpfilesdir=no"
6374 ;; Otherwise, the RUNPATH will lack the final path component.
6375 (string-append "-Dc_link_args=-Wl,-rpath="
6376 (assoc-ref %outputs "out") "/lib/gvfs"))))
6377 (native-inputs
6378 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6379 ("gettext" ,gettext-minimal)
6380 ("gtk-doc" ,gtk-doc)
6381 ("pkg-config" ,pkg-config)
6382 ("xsltproc" ,libxslt)))
6383 (inputs
6384 `(("avahi" ,avahi)
6385 ("docbook-xml" ,docbook-xml-4.2)
6386 ("docbook-xsl" ,docbook-xsl)
6387 ("dbus" ,dbus)
6388 ("elogind" ,elogind)
6389 ("fuse" ,fuse)
6390 ("gcr" ,gcr)
6391 ("glib" ,glib)
6392 ("gnome-online-accounts" ,gnome-online-accounts)
6393 ("libarchive" ,libarchive)
6394 ("libbluray" ,libbluray)
6395 ("libcap" ,libcap)
6396 ("libcdio-paranoia" ,libcdio-paranoia)
6397 ("libgcrypt" ,libgcrypt)
6398 ("libgdata" ,libgdata)
6399 ("libgphoto2" ,libgphoto2)
6400 ("libgudev" ,libgudev)
6401 ("libimobiledevice" ,libimobiledevice)
6402 ("libmtp" ,libmtp)
6403 ("libnfs" ,libnfs)
6404 ("libsecret" ,libsecret)
6405 ("libsmbclient" ,samba)
6406 ("libsoup" ,libsoup)
6407 ("libxml2" ,libxml2)
6408 ("openssh" ,openssh)
6409 ("polkit" ,polkit)
6410 ("udisks" ,udisks)))
6411 (home-page "https://wiki.gnome.org/gvfs/")
6412 (synopsis "Userspace virtual file system for GIO")
6413 (description
6414 "GVFS is a userspace virtual file system designed to work with the I/O
6415 abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support
6416 to all applications using the GIO API. It also supports exposing the GVFS
6417 mounts to non-GIO applications using FUSE.
6418
6419 GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
6420 DAV, and others.")
6421 (license license:lgpl2.0+)))
6422
6423 (define-public gusb
6424 (package
6425 (name "gusb")
6426 (version "0.3.0")
6427 (source (origin
6428 (method git-fetch)
6429 (uri (git-reference
6430 (url "https://github.com/hughsie/libgusb")
6431 (commit version)))
6432 (file-name (git-file-name name version))
6433 (sha256
6434 (base32
6435 "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7"))))
6436 (build-system meson-build-system)
6437 (native-inputs
6438 `(("gobject-introspection" ,gobject-introspection)
6439 ("pkg-config" ,pkg-config)
6440 ("vala" ,vala)
6441 ("gtk-doc" ,gtk-doc)))
6442 (propagated-inputs
6443 ;; Both of these are required by gusb.pc.
6444 `(("glib" ,glib)
6445 ("libusb" ,libusb)))
6446 (arguments
6447 `(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
6448 (home-page "https://github.com/hughsie/libgusb")
6449 (synopsis "GLib binding for libusb1")
6450 (description
6451 "GUsb is a GObject wrapper for libusb1 that makes it easy to do
6452 asynchronous control, bulk and interrupt transfers with proper cancellation
6453 and integration into a mainloop. This makes it easy to integrate low level
6454 USB transfers with your high-level application or system daemon.")
6455 (license license:lgpl2.1+)))
6456
6457 (define-public simple-scan
6458 (package
6459 (name "simple-scan")
6460 (version "3.38.2")
6461 (source
6462 (origin
6463 (method url-fetch)
6464 (uri (string-append "mirror://gnome/sources/simple-scan/"
6465 (version-major+minor version) "/"
6466 "simple-scan-" version ".tar.xz"))
6467 (sha256
6468 (base32 "02sdkhxgr6i7iy481h4xavgaqd0a5dlsipzwrm4qd242jrr813d8"))))
6469 (build-system meson-build-system)
6470 ;; TODO: Fix icons in home screen, About dialogue, and scan menu.
6471 (arguments
6472 '(#:glib-or-gtk? #t))
6473 (inputs
6474 `(("gtk" ,gtk+)
6475 ("zlib" ,zlib)
6476 ("cairo" ,cairo)
6477 ("colord" ,colord)
6478 ("gdk-pixbuf" ,gdk-pixbuf)
6479 ("gusb" ,gusb)
6480 ("libsane" ,sane-backends)))
6481 (native-inputs
6482 `(("gettext" ,gettext-minimal)
6483 ("itstool" ,itstool)
6484 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
6485 ("pkg-config" ,pkg-config)
6486 ("vala" ,vala)
6487 ("xmllint" ,libxml2)))
6488 (home-page "https://gitlab.gnome.org/GNOME/simple-scan")
6489 (synopsis "Document and image scanner")
6490 (description
6491 "Document Scanner is an easy-to-use application that lets you connect your
6492 scanner and quickly capture images and documents in an appropriate format. It
6493 supports any scanner for which a suitable SANE driver is available, which is
6494 almost all of them.")
6495 (license license:gpl3+)))
6496
6497 (define-public eolie
6498 (package
6499 (name "eolie")
6500 (version "0.9.100")
6501 (source (origin
6502 (method url-fetch)
6503 (uri (string-append "https://adishatz.org/eolie/eolie-"
6504 version ".tar.xz"))
6505 (sha256
6506 (base32
6507 "1vzhfp8j1z3jvd5ndqfyn7nqrx3zdvx9mv1byjl36nnd9g63ji62"))))
6508 (build-system meson-build-system)
6509 (arguments
6510 `(#:glib-or-gtk? #t
6511 #:phases
6512 (modify-phases %standard-phases
6513 (add-after 'unpack 'skip-gtk-update-icon-cache
6514 ;; Don't create 'icon-theme.cache'.
6515 (lambda _
6516 (substitute* "meson_post_install.py"
6517 (("gtk-update-icon-cache") "true"))
6518 #t))
6519 (add-after 'wrap 'wrap-more
6520 (lambda* (#:key inputs outputs #:allow-other-keys)
6521 (let* ((out (assoc-ref outputs "out"))
6522 ;; These libraries must be on LD_LIBRARY_PATH.
6523 (libs '("gtkspell3" "webkitgtk" "libsoup" "libsecret"
6524 "atk" "gtk+" "gsettings-desktop-schemas"
6525 "gobject-introspection"))
6526 (path (string-join
6527 (map (lambda (lib)
6528 (string-append (assoc-ref inputs lib) "/lib"))
6529 libs)
6530 ":")))
6531 (wrap-program (string-append out "/bin/eolie")
6532 `("LD_LIBRARY_PATH" ":" prefix (,path))
6533 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
6534 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
6535 #t)))))
6536 (native-inputs
6537 `(("intltool" ,intltool)
6538 ("itstool" ,itstool)
6539 ("pkg-config" ,pkg-config)
6540 ("python" ,python)
6541 ("glib:bin" ,glib "bin")))
6542 (inputs
6543 `(("gobject-introspection" ,gobject-introspection)
6544 ("glib-networking" ,glib-networking)
6545 ("cairo" ,cairo)
6546 ("gtk+" ,gtk+)
6547 ("atk" ,atk) ; propagated by gtk+, but we need it in LD_LIBRARY_PATH
6548 ("python" ,python-wrapper)
6549 ("python-dateutil" ,python-dateutil)
6550 ("python-pyfxa" ,python-pyfxa)
6551 ("python-pygobject" ,python-pygobject)
6552 ("python-pycairo" ,python-pycairo)
6553 ("python-pycrypto" ,python-pycrypto)
6554 ("libsecret" ,libsecret)
6555 ("gtkspell3" ,gtkspell3)
6556 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6557 ("webkitgtk" ,webkitgtk)))
6558 (home-page "https://wiki.gnome.org/Apps/Eolie")
6559 (synopsis "Web browser for GNOME")
6560 (description
6561 "Eolie is a new web browser for GNOME. It features Firefox sync support,
6562 a secret password store, an adblocker, and a modern UI.")
6563 (license license:gpl3+)))
6564
6565 (define-public epiphany
6566 (package
6567 (name "epiphany")
6568 (version "3.34.4")
6569 (source (origin
6570 (method url-fetch)
6571 (uri (string-append "mirror://gnome/sources/epiphany/"
6572 (version-major+minor version) "/"
6573 "epiphany-" version ".tar.xz"))
6574 (sha256
6575 (base32
6576 "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
6577
6578 (build-system meson-build-system)
6579 (arguments
6580 '(#:glib-or-gtk? #t
6581 #:phases
6582 (modify-phases %standard-phases
6583 (add-after 'unpack 'skip-gtk-update-icon-cache
6584 ;; Don't create 'icon-theme.cache'.
6585 (lambda _
6586 (substitute* "post_install.py"
6587 (("gtk-update-icon-cache") "true"))
6588 #t))
6589 (add-after 'unpack 'disable-failing-tests
6590 (lambda _
6591 (substitute* "tests/meson.build"
6592 ;; embed_shell fails, because webkitgtk apparently no longer supports
6593 ;; overriding the ftp schema
6594 ;; web_app_utils fails due to missing network access
6595 (("(embed_shell|web_app_utils)_test,")
6596 "find_program('sh'), args: ['-c', 'exit 77'],"))
6597 #t))
6598 (add-before 'check 'pre-check
6599 (lambda _
6600 ;; Tests require a running X server.
6601 (system "Xvfb :1 &")
6602 (setenv "DISPLAY" ":1")
6603 #t)))
6604 #:configure-flags
6605 ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
6606 (list (string-append "-Dc_link_args=-Wl,-rpath="
6607 (assoc-ref %outputs "out") "/lib/epiphany"))))
6608 (propagated-inputs
6609 `(("dconf" ,dconf)))
6610 (native-inputs
6611 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6612 ("glib:bin" ,glib "bin") ; for glib-mkenums
6613 ("intltool" ,intltool)
6614 ("itstool" ,itstool)
6615 ("pkg-config" ,pkg-config)
6616 ("xmllint" ,libxml2)
6617 ("xorg-server" ,xorg-server-for-tests)))
6618 (inputs
6619 `(("avahi" ,avahi)
6620 ("gcr" ,gcr)
6621 ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
6622 ("glib-networking" ,glib-networking)
6623 ("gnome-desktop" ,gnome-desktop)
6624 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6625 ("json-glib" ,json-glib)
6626 ("iso-codes" ,iso-codes)
6627 ("libdazzle" ,libdazzle)
6628 ("libnotify" ,libnotify)
6629 ("libsecret" ,libsecret)
6630 ("libxslt" ,libxslt)
6631 ("nettle" ,nettle) ; for hogweed
6632 ("sqlite" ,sqlite)
6633 ("webkitgtk" ,webkitgtk)))
6634 (home-page "https://wiki.gnome.org/Apps/Web")
6635 (synopsis "GNOME web browser")
6636 (description
6637 "Epiphany is a GNOME web browser targeted at non-technical users. Its
6638 principles are simplicity and standards compliance.")
6639 (license license:gpl2+)))
6640
6641 (define-public d-feet
6642 (package
6643 (name "d-feet")
6644 (version "0.3.14")
6645 (source (origin
6646 (method url-fetch)
6647 (uri (string-append "mirror://gnome/sources/" name "/"
6648 (version-major+minor version) "/"
6649 name "-" version ".tar.xz"))
6650 (sha256
6651 (base32
6652 "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f"))))
6653 (build-system glib-or-gtk-build-system)
6654 (arguments
6655 '(#:out-of-source? #f ; tests need to run in the source directory.
6656 #:phases
6657 (modify-phases %standard-phases
6658 (add-before
6659 'check 'pre-check
6660 (lambda _
6661 ;; The test suite requires a running X server.
6662 (system "Xvfb :1 &")
6663 (setenv "DISPLAY" ":1")
6664 ;; Don't fail on missing '/etc/machine-id'.
6665 (setenv "DBUS_FATAL_WARNINGS" "0")
6666 ;; tests.py and window.py don't meet E402:
6667 ;; E402 module level import not at top of file
6668 (substitute* "src/tests/Makefile"
6669 (("--ignore=E123") "--ignore=E123,E402"))
6670 #t))
6671 (add-after
6672 'install 'wrap-program
6673 (lambda* (#:key outputs #:allow-other-keys)
6674 (let ((prog (string-append (assoc-ref outputs "out")
6675 "/bin/d-feet")))
6676 (wrap-program prog
6677 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
6678 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
6679 #t))))))
6680 (native-inputs
6681 `(("intltool" ,intltool)
6682 ("itstool" ,itstool)
6683 ("pkg-config" ,pkg-config)
6684 ("python-pep8" ,python-pep8)
6685 ("xmllint" ,libxml2)
6686 ("xorg-server" ,xorg-server-for-tests)))
6687 (inputs
6688 `(("gobject-introspection" ,gobject-introspection)
6689 ("gtk+" ,gtk+)
6690 ("python" ,python-wrapper)
6691 ("hicolor-icon-theme" ,hicolor-icon-theme)
6692 ("python-pygobject" ,python-pygobject)))
6693 (home-page "https://wiki.gnome.org/Apps/DFeet")
6694 (synopsis "D-Bus debugger")
6695 (description
6696 "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
6697 of running programs and invoke methods on those interfaces.")
6698 (license license:gpl2+)))
6699
6700 (define-public yelp-xsl
6701 (package
6702 (name "yelp-xsl")
6703 (version "3.34.2")
6704 (source
6705 (origin
6706 (method url-fetch)
6707 (uri
6708 (string-append "mirror://gnome/sources/" name "/"
6709 (version-major+minor version) "/"
6710 name "-" version ".tar.xz"))
6711 (sha256
6712 (base32 "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"))))
6713 (build-system gnu-build-system)
6714 (native-inputs
6715 `(("gettext-minimal" ,gettext-minimal)
6716 ("itstool" ,itstool)
6717 ("xmllint" ,libxml2)))
6718 (synopsis "XSL stylesheets for Yelp")
6719 (description "Yelp-XSL is a collection of programs and data files to help
6720 you build, maintain, and distribute documentation. It provides XSLT stylesheets
6721 that can be built upon for help viewers and publishing systems. These
6722 stylesheets output JavaScript and CSS content, and reference images
6723 provided by yelp-xsl. It also redistributes copies of the jQuery and
6724 jQuery.Syntax JavaScript libraries.")
6725 (home-page "https://wiki.gnome.org/Apps/Yelp")
6726 (license
6727 (list
6728 ;; XSLT
6729 license:gpl2+
6730 ;; Images
6731 license:lgpl2.1+
6732 ;; JavaScript
6733 license:expat))))
6734
6735 (define-public yelp
6736 (package
6737 (name "yelp")
6738 (version "3.32.2")
6739 (source (origin
6740 (method url-fetch)
6741 (uri (string-append "mirror://gnome/sources/" name "/"
6742 (version-major+minor version) "/"
6743 name "-" version ".tar.xz"))
6744 (sha256
6745 (base32
6746 "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
6747 (build-system glib-or-gtk-build-system)
6748 (native-inputs
6749 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
6750 ("intltool" ,intltool)
6751 ("itstool" ,itstool)
6752 ("pkg-config" ,pkg-config)))
6753 (propagated-inputs
6754 `(("dconf" ,dconf)))
6755 (inputs
6756 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
6757 ("libxslt" ,libxslt)
6758 ("sqlite" ,sqlite)
6759 ("webkitgtk" ,webkitgtk)
6760 ("yelp-xsl" ,yelp-xsl)))
6761 (home-page "https://wiki.gnome.org/Apps/Yelp")
6762 (synopsis "GNOME help browser")
6763 (description
6764 "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
6765 man, info, and HTML documents. It can locate documents according to the
6766 freedesktop.org help system specification.")
6767 (license license:gpl2+)))
6768
6769 (define-public yelp-tools
6770 (package
6771 (name "yelp-tools")
6772 (version "3.32.2")
6773 (source
6774 (origin
6775 (method url-fetch)
6776 (uri
6777 (string-append "mirror://gnome/sources/" name "/"
6778 (version-major+minor version) "/"
6779 name "-" version ".tar.xz"))
6780 (sha256
6781 (base32 "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q"))))
6782 (build-system gnu-build-system)
6783 (native-inputs
6784 `(("pkg-config" ,pkg-config)))
6785 (inputs
6786 `(("yelp-xsl" ,yelp-xsl)))
6787 (propagated-inputs
6788 ;; Needed by `yelp-build', `yelp-check' or 'yelp.m4'.
6789 `(("itstool" ,itstool)
6790 ("xmllint" ,libxml2)
6791 ("xsltproc" ,libxslt)))
6792 (synopsis "Yelp documentation tools")
6793 (description
6794 "Yelp-tools is a collection of scripts and build utilities to help create,
6795 manage, and publish documentation for Yelp and the web. Most of the heavy
6796 lifting is done by packages like yelp-xsl and itstool. This package just
6797 wraps things up in a developer-friendly way.")
6798 (home-page "https://wiki.gnome.org/Apps/Yelp/Tools")
6799 (license license:gpl2+)))
6800
6801 (define-public libgee
6802 (package
6803 (name "libgee")
6804 (version "0.20.3")
6805 (source (origin
6806 (method url-fetch)
6807 (uri (string-append "mirror://gnome/sources/libgee/"
6808 (version-major+minor version) "/"
6809 "libgee-" version ".tar.xz"))
6810 (sha256
6811 (base32
6812 "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
6813 (build-system gnu-build-system)
6814 (arguments
6815 `(#:phases
6816 (modify-phases %standard-phases
6817 (add-after 'unpack 'fix-introspection-install-dir
6818 (lambda* (#:key outputs #:allow-other-keys)
6819 (let ((out (assoc-ref outputs "out")))
6820 (substitute* "gee/Makefile.in"
6821 (("@INTROSPECTION_GIRDIR@")
6822 (string-append out "/share/gir-1.0/"))
6823 (("@INTROSPECTION_TYPELIBDIR@")
6824 (string-append out "/lib/girepository-1.0/")))))))))
6825 (native-inputs
6826 `(("glib" ,glib "bin")
6827 ("pkg-config" ,pkg-config)))
6828 (inputs
6829 `(("glib" ,glib)
6830 ("gobject-introspection" ,gobject-introspection)))
6831 (home-page "https://wiki.gnome.org/Projects/Libgee")
6832 (synopsis "GObject collection library")
6833 (description
6834 "Libgee is a utility library providing GObject-based interfaces and
6835 classes for commonly used data structures.")
6836 (license license:lgpl2.1+)))
6837
6838 (define-public gexiv2
6839 (package
6840 (name "gexiv2")
6841 (version "0.12.1")
6842 (source (origin
6843 (method url-fetch)
6844 (uri (string-append "mirror://gnome/sources/" name "/"
6845 (version-major+minor version) "/"
6846 name "-" version ".tar.xz"))
6847 (sha256
6848 (base32
6849 "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla"))))
6850 (build-system meson-build-system)
6851 (native-inputs
6852 `(("gcr" ,gcr)
6853 ("glib" ,glib "bin")
6854 ("pkg-config" ,pkg-config)
6855 ("vala" ,vala)))
6856 (propagated-inputs
6857 ;; Listed in "Requires" section of gexiv2.pc
6858 `(("exiv2" ,exiv2)))
6859 (inputs
6860 `(("glib" ,glib)
6861 ("gobject-introspection" ,gobject-introspection)))
6862 (home-page "https://wiki.gnome.org/Projects/gexiv2")
6863 (synopsis "GObject wrapper around the Exiv2 photo metadata library")
6864 (description
6865 "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It
6866 allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP
6867 metadata in photo and video files of various formats.")
6868 (license license:gpl2+)))
6869
6870 (define-public shotwell
6871 (package
6872 (name "shotwell")
6873 (version "0.30.11")
6874 (source (origin
6875 (method url-fetch)
6876 (uri (string-append "mirror://gnome/sources/shotwell/"
6877 (version-major+minor version) "/"
6878 "shotwell-" version ".tar.xz"))
6879 (sha256
6880 (base32
6881 "12d26y40kjlv5x8f5g04wff33vh7mdjb8c41ydqbrwdip0jwy2n2"))))
6882 (build-system meson-build-system)
6883 (arguments
6884 '(#:glib-or-gtk? #t
6885 #:phases
6886 (modify-phases %standard-phases
6887 (add-after 'unpack 'skip-gtk-update-icon-cache
6888 (lambda _
6889 (substitute* "build-aux/meson/postinstall.py"
6890 (("gtk-update-icon-cache") (which "true"))
6891 (("update-desktop-database") (which "true")))
6892 #t)))))
6893 (propagated-inputs
6894 `(("dconf" ,dconf)))
6895 (native-inputs
6896 `(("gettext" ,gettext-minimal)
6897 ("glib:bin" ,glib "bin")
6898 ("itstool" ,itstool)
6899 ("pkg-config" ,pkg-config)
6900 ("vala" ,vala)))
6901 (inputs
6902 `(("gcr" ,gcr)
6903 ("gexiv2" ,gexiv2)
6904 ("gst-plugins-base" ,gst-plugins-base)
6905 ("gstreamer" ,gstreamer)
6906 ("json-glib" ,json-glib)
6907 ("libgdata" ,libgdata)
6908 ("libgee" ,libgee)
6909 ("libgphoto2" ,libgphoto2)
6910 ("libgudev" ,libgudev)
6911 ("libraw" ,libraw)
6912 ("libsoup" ,libsoup)
6913 ("libxml2" ,libxml2)
6914 ("sqlite" ,sqlite)
6915 ("webkitgtk" ,webkitgtk)))
6916 (home-page "https://wiki.gnome.org/Apps/Shotwell")
6917 (synopsis "Photo manager for GNOME 3")
6918 (description
6919 "Shotwell is a digital photo manager designed for the GNOME desktop
6920 environment. It allows you to import photos from disk or camera, organize
6921 them by keywords and events, view them in full-window or fullscreen mode, and
6922 share them with others via social networking and more.")
6923 (license license:lgpl2.1+)))
6924
6925 (define-public file-roller
6926 (package
6927 (name "file-roller")
6928 (version "3.32.3")
6929 (source (origin
6930 (method url-fetch)
6931 (uri (string-append "mirror://gnome/sources/file-roller/"
6932 (version-major+minor version) "/"
6933 "file-roller-" version ".tar.xz"))
6934 (sha256
6935 (base32
6936 "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
6937 (build-system meson-build-system)
6938 (native-inputs
6939 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
6940 ("intltool" ,intltool)
6941 ("itstool" ,itstool)
6942 ("pkg-config" ,pkg-config)
6943 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
6944 ("glib:bin" ,glib "bin")))
6945 ;; TODO: Add libnautilus.
6946 (inputs
6947 `(("gtk+" ,gtk+)
6948 ("gdk-pixbuf" ,gdk-pixbuf)
6949 ("json-glib" ,json-glib)
6950 ("libarchive" ,libarchive)
6951 ("libnotify" ,libnotify)
6952 ("nettle" ,nettle)
6953 ("libxml2" ,libxml2)))
6954 (synopsis "Graphical archive manager for GNOME")
6955 (description "File Roller is an archive manager for the GNOME desktop
6956 environment that allows users to view, unpack, and create compressed archives
6957 such as gzip tarballs.")
6958 (home-page "http://fileroller.sourceforge.net/")
6959 (license license:gpl2+)))
6960
6961 (define-public gnome-session
6962 (package
6963 (name "gnome-session")
6964 (version "3.34.2")
6965 (source (origin
6966 (method url-fetch)
6967 (uri (string-append "mirror://gnome/sources/" name "/"
6968 (version-major+minor version) "/"
6969 name "-" version ".tar.xz"))
6970 (sha256
6971 (base32
6972 "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"))))
6973 (arguments
6974 '(#:glib-or-gtk? #t
6975 #:phases
6976 (modify-phases %standard-phases
6977 (add-before 'configure 'pre-configure
6978 (lambda* (#:key outputs #:allow-other-keys)
6979 ;; Use elogind instead of systemd.
6980 (substitute* "meson.build"
6981 (("libsystemd-login") "libelogind")
6982 (("and libsystemd_daemon_dep.found.*") ","))
6983 (substitute* "gnome-session/gsm-systemd.c"
6984 (("#include <systemd/sd-login.h>")
6985 "#include <elogind/sd-login.h>"))
6986 ;; Remove uses of the systemd daemon.
6987 (substitute* "gnome-session/gsm-autostart-app.c"
6988 (("#ifdef HAVE_SYSTEMD") "#if 0"))
6989 #t))
6990 (add-after 'install 'wrap-gnome-session
6991 (lambda* (#:key inputs outputs #:allow-other-keys)
6992 ;; Make sure 'gnome-session' finds the 'gsettings' program.
6993 (let ((glib (assoc-ref inputs "glib:bin"))
6994 (out (assoc-ref outputs "out")))
6995 (wrap-program (string-append out "/bin/gnome-session")
6996 `("PATH" ":" prefix (,(string-append glib "/bin"))))
6997 #t))))
6998
6999 #:configure-flags
7000 '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
7001 "-Dman=false" ; FIXME: disabled because of docbook validation error
7002 "-Dsystemd_journal=false")))
7003 (build-system meson-build-system)
7004 (native-inputs
7005 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7006 ("pkg-config" ,pkg-config)
7007 ("intltool" ,intltool)
7008 ("xsltproc" ,libxslt)
7009 ("libxml2" ,libxml2) ;for 'XML_CATALOG_FILES'
7010 ("docbook-xsl" ,docbook-xsl)
7011 ("docbook-xml" ,docbook-xml)
7012 ("xmlto" ,xmlto)))
7013 (inputs
7014 `(("elogind" ,elogind)
7015 ("gnome-desktop" ,gnome-desktop)
7016 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7017 ("gtk+" ,gtk+)
7018 ("json-glib" ,json-glib)
7019 ("libsm" ,libsm)
7020 ("libxcomposite" ,libxcomposite)
7021 ("libxtst" ,libxtst)
7022 ("mesa" ,mesa)
7023 ("upower" ,upower)
7024 ("xtrans" ,xtrans)))
7025 (synopsis "Session manager for GNOME")
7026 (description
7027 "This package contains the GNOME session manager, as well as a
7028 configuration program to choose applications starting on login.")
7029 (home-page "https://wiki.gnome.org/Projects/SessionManagement")
7030 (license license:gpl2+)))
7031
7032 (define-public gjs
7033 (package
7034 (name "gjs")
7035 (version "1.58.3")
7036 (source (origin
7037 (method url-fetch)
7038 (uri (string-append "mirror://gnome/sources/" name "/"
7039 (version-major+minor version) "/"
7040 name "-" version ".tar.xz"))
7041 (sha256
7042 (base32
7043 "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya"))))
7044 (build-system gnu-build-system)
7045 (arguments
7046 '(#:phases
7047 (modify-phases %standard-phases
7048 (add-before
7049 'check 'pre-check
7050 (lambda _
7051 ;; The test suite requires a running X server.
7052 (system "Xvfb :1 &")
7053 (setenv "DISPLAY" ":1")
7054
7055 ;; For the missing /etc/machine-id.
7056 (setenv "DBUS_FATAL_WARNINGS" "0")
7057
7058 ;; Our mozjs-38 package does not compile the required Intl API
7059 ;; support for these failing tests.
7060 (substitute* "installed-tests/js/testLocale.js"
7061 ((".*toBeDefined.*") "")
7062 ((".*expect\\(datestr\\).*") ""))
7063 (substitute* "installed-tests/scripts/testCommandLine.sh"
7064 (("Valentín") "")
7065 (("☭") ""))
7066 #t)))))
7067 (native-inputs
7068 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
7069 ("pkg-config" ,pkg-config)
7070 ("xmllint" ,libxml2)
7071 ;; For testing
7072 ("dbus-launch" ,dbus)
7073 ("dconf" ,dconf) ; required to properly store settings
7074 ("uuidgen" ,util-linux)
7075 ("xvfb" ,xorg-server-for-tests)))
7076 (propagated-inputs
7077 ;; These are all in the Requires.private field of gjs-1.0.pc.
7078 `(("cairo" ,cairo)
7079 ("gobject-introspection" ,gobject-introspection)
7080 ("mozjs" ,mozjs-60)))
7081 (inputs
7082 `(("gtk+" ,gtk+)
7083 ("readline" ,readline)))
7084 (synopsis "Javascript bindings for GNOME")
7085 (home-page "https://live.gnome.org/Gjs")
7086 (description
7087 "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
7088 javascript engine and the GObject introspection framework.")
7089 (license license:gpl2+)))
7090
7091 (define-public gedit
7092 (package
7093 (name "gedit")
7094 (version "3.34.1")
7095 (source (origin
7096 (method url-fetch)
7097 (uri (string-append "mirror://gnome/sources/" name "/"
7098 (version-major+minor version) "/"
7099 name "-" version ".tar.xz"))
7100 (sha256
7101 (base32
7102 "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"))))
7103 (build-system meson-build-system)
7104 (arguments
7105 `(#:glib-or-gtk? #t
7106 #:configure-flags
7107 ;; Otherwise, the RUNPATH will lack the final path component.
7108 (list (string-append "-Dc_link_args=-Wl,-rpath="
7109 (assoc-ref %outputs "out") "/lib/gedit"))
7110
7111 ;; XXX: Generated .h files are sometimes used before being built.
7112 #:parallel-build? #f
7113
7114 #:phases
7115 (modify-phases %standard-phases
7116 (add-after 'unpack 'skip-gtk-update-icon-cache
7117 ;; Don't create 'icon-theme.cache'.
7118 (lambda _
7119 (substitute* "build-aux/meson/post_install.py"
7120 (("gtk-update-icon-cache") (which "true")))
7121 #t))
7122 (add-after 'unpack 'patch-libgd-fetch
7123 (lambda* (#:key inputs #:allow-other-keys)
7124 (let ((libgd (assoc-ref inputs "libgd")))
7125 ;; Calling git is unnecessary because libgd is fetched as a
7126 ;; native input to this package.
7127 (substitute* "meson.build"
7128 ((".*git.*") ""))
7129 (copy-recursively libgd "subprojects/libgd")
7130 #t)))
7131 (add-after 'install 'wrap-gedit
7132 (lambda* (#:key inputs outputs #:allow-other-keys)
7133 (let ((out (assoc-ref outputs "out"))
7134 (gtksourceview (assoc-ref inputs "gtksourceview"))
7135 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
7136 (python-path (getenv "PYTHONPATH")))
7137 (wrap-program (string-append out "/bin/gedit")
7138 ;; For plugins.
7139 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
7140 `("PYTHONPATH" ":" prefix (,python-path))
7141 ;; For language-specs.
7142 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
7143 "/share")))))
7144 #t)))))
7145 (propagated-inputs
7146 `(("dconf" ,dconf)))
7147 (native-inputs
7148 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7149 ("intltool" ,intltool)
7150 ("itstool" ,itstool)
7151 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7152 ("gobject-introspection" ,gobject-introspection)
7153 ("libgd"
7154 ,(origin
7155 (method git-fetch)
7156 (uri (git-reference
7157 (url "https://gitlab.gnome.org/GNOME/libgd")
7158 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
7159 (file-name (git-file-name "libgd" version))
7160 (sha256
7161 (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
7162 ("pkg-config" ,pkg-config)))
7163 (inputs
7164 `(("glib" ,glib)
7165 ("gspell" ,gspell)
7166 ("gtk+" ,gtk+)
7167 ("gtksourceview" ,gtksourceview)
7168 ("libpeas" ,libpeas)
7169 ("libxml2" ,libxml2)
7170 ("iso-codes" ,iso-codes)
7171 ("python-pygobject" ,python-pygobject)
7172 ("python" ,python)
7173 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7174 ("libx11" ,libx11)
7175 ("vala" ,vala)
7176 ("adwaita-icon-theme" ,adwaita-icon-theme)
7177 ("libsoup" ,libsoup)
7178 ("gnome-desktop" ,gnome-desktop)))
7179 (home-page "https://wiki.gnome.org/Apps/Gedit")
7180 (synopsis "GNOME text editor")
7181 (description "While aiming at simplicity and ease of use, gedit is a
7182 powerful general purpose text editor.")
7183 (license license:gpl2+)))
7184
7185 (define-public zenity
7186 (package
7187 (name "zenity")
7188 (version "3.32.0")
7189 (source (origin
7190 (method url-fetch)
7191 (uri (string-append "mirror://gnome/sources/zenity/"
7192 (version-major+minor version) "/"
7193 "zenity-" version ".tar.xz"))
7194 (sha256
7195 (base32
7196 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7"))))
7197 (build-system gnu-build-system)
7198 (native-inputs
7199 `(("gettext" ,gettext-minimal)
7200 ("itstool" ,itstool)
7201 ("pkg-config" ,pkg-config)))
7202 (inputs
7203 `(("libnotify" ,libnotify)
7204 ("webkitgtk" ,webkitgtk)))
7205 (synopsis "Display graphical dialog boxes from shell scripts")
7206 (home-page "https://www.gnome.org")
7207 (description
7208 "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
7209 to display dialog boxes from the commandline and shell scripts.")
7210 (license license:lgpl2.0+)))
7211
7212 (define-public mutter
7213 (package
7214 (name "mutter")
7215 (version "3.34.2")
7216 (source (origin
7217 (method url-fetch)
7218 (uri (string-append "mirror://gnome/sources/" name "/"
7219 (version-major+minor version) "/"
7220 name "-" version ".tar.xz"))
7221 (sha256
7222 (base32
7223 "0b8bz5kvs7rlwvqsg87cf6jhrrj95vgd1l235mjx8rip35ipfvrd"))))
7224 ;; NOTE: Since version 3.21.x, mutter now bundles and exports forked
7225 ;; versions of cogl and clutter. As a result, many of the inputs,
7226 ;; propagated-inputs, and configure flags used in cogl and clutter are
7227 ;; needed here as well.
7228 (build-system meson-build-system)
7229 (arguments
7230 '(;; XXX: All mutter tests fail with the following error:
7231 ;; Settings schema 'org.gnome.mutter' is not installed
7232 #:tests? #f
7233 #:glib-or-gtk? #t
7234 #:configure-flags
7235 ;; TODO: Enable profiler when Sysprof is packaged.
7236 (list "-Dprofiler=false"
7237 ;; Otherwise, the RUNPATH will lack the final path component.
7238 (string-append "-Dc_link_args=-Wl,-rpath="
7239 (assoc-ref %outputs "out") "/lib:"
7240 (assoc-ref %outputs "out") "/lib/mutter-5")
7241
7242 ;; The following flags are needed for the bundled clutter
7243 (string-append "-Dxwayland_path="
7244 (assoc-ref %build-inputs "xorg-server-xwayland")
7245 "/bin/Xwayland")
7246
7247 ;; the remaining flags are needed for the bundled cogl
7248 (string-append "-Dopengl_libname="
7249 (assoc-ref %build-inputs "mesa")
7250 "/lib/libGL.so"))
7251 #:phases (modify-phases %standard-phases
7252 (add-after 'unpack 'fix-build-with-mesa-20
7253 (lambda _
7254 ;; Mimic upstream commit a444a4c5f58ea516ad for
7255 ;; compatibility with Mesa 20. Remove for 3.36.
7256 (substitute* '("src/backends/meta-egl-ext.h"
7257 "src/backends/meta-egl.c"
7258 "src/backends/meta-egl.h")
7259 (("#include <EGL/eglext\\.h>" all)
7260 (string-append all "\n#include <EGL/eglmesaext.h>")))
7261 (substitute* "cogl/cogl/meson.build"
7262 (("#include <EGL/eglext\\.h>" all)
7263 (string-append all "\\n#include <EGL/eglmesaext.h>")))
7264 #t)))))
7265 (native-inputs
7266 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
7267 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7268 ("gobject-introspection" ,gobject-introspection)
7269 ("intltool" ,intltool)
7270 ("pkg-config" ,pkg-config)
7271 ("xorg-server" ,xorg-server-for-tests)
7272 ;; For git build
7273 ("autoconf" ,autoconf)
7274 ("automake" ,automake)
7275 ("libtool" ,libtool)))
7276 (propagated-inputs
7277 `(;; libmutter.pc refers to these:
7278 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
7279 ("gtk+" ,gtk+)
7280 ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
7281 ("atk" ,atk)
7282 ("cairo" ,cairo)
7283 ("gdk-pixbuf" ,gdk-pixbuf)
7284 ("glib" ,glib)
7285 ("json-glib" ,json-glib)
7286 ("libinput" ,libinput)
7287 ("libx11" ,libx11)
7288 ("libxcomposite" ,libxcomposite)
7289 ("libxdamage" ,libxdamage)
7290 ("libxext" ,libxext)
7291 ("libxfixes" ,libxfixes)
7292 ("libxkbcommon" ,libxkbcommon)
7293 ("libxrandr" ,libxrandr)
7294 ("mesa" ,mesa)
7295 ("pango" ,pango)
7296 ("udev" ,eudev)
7297 ("xinput" ,xinput)))
7298 (inputs
7299 `(("elogind" ,elogind)
7300 ("gnome-desktop" ,gnome-desktop)
7301 ("gnome-settings-daemon" ,gnome-settings-daemon)
7302 ("libcanberra-gtk" ,libcanberra)
7303 ("libgudev" ,libgudev)
7304 ("libice" ,libice)
7305 ("libsm" ,libsm)
7306 ("libwacom" ,libwacom)
7307 ("libxkbfile" ,libxkbfile)
7308 ("libxrandr" ,libxrandr)
7309 ("libxtst" ,libxtst)
7310 ("pipewire" ,pipewire)
7311 ("startup-notification" ,startup-notification)
7312 ("upower-glib" ,upower)
7313 ("xkeyboard-config" ,xkeyboard-config)
7314 ("xorg-server-xwayland" ,xorg-server-xwayland)
7315 ("zenity" ,zenity)))
7316 (synopsis "Window and compositing manager")
7317 (home-page "https://www.gnome.org")
7318 (description
7319 "Mutter is a window and compositing manager that displays and manages your
7320 desktop via OpenGL. Mutter combines a sophisticated display engine using the
7321 Clutter toolkit with solid window-management logic inherited from the Metacity
7322 window manager.")
7323 (license license:gpl2+)))
7324
7325 (define-public gnome-online-accounts
7326 (package
7327 (name "gnome-online-accounts")
7328 (version "3.36.0")
7329 (source (origin
7330 (method url-fetch)
7331 (uri (string-append "mirror://gnome/sources/" name "/"
7332 (version-major+minor version) "/"
7333 name "-" version ".tar.xz"))
7334 (sha256
7335 (base32
7336 "0bigfi225g1prnxpb9lcc1i7mdcrkplwb05vilc43jik12cn53qw"))))
7337 (outputs '("out" "lib"))
7338 (build-system glib-or-gtk-build-system)
7339 (arguments
7340 `(#:configure-flags
7341 (list (string-append "--libdir=" (assoc-ref %outputs "out") "/lib"))
7342 #:phases
7343 (modify-phases %standard-phases
7344 (add-before 'configure 'patch-libgoa-output
7345 (lambda* (#:key outputs #:allow-other-keys)
7346 (let ((lib (assoc-ref outputs "lib")))
7347 (substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in")
7348 (("@prefix@") lib)
7349 (("@exec_prefix@") lib)
7350 (("@libdir@") (string-append lib "/lib"))
7351 (("@includedir@") (string-append lib "/include"))
7352 (("@datadir@") (string-append lib "/share")))
7353 ;; Make sure gobject-introspection knows about the output
7354 ;; too (see <https://bugs.gnu.org/36535>).
7355 (setenv "outputs" "out lib")
7356 #t))))))
7357 (native-inputs
7358 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7359 ("gobject-introspection" ,gobject-introspection)
7360 ("intltool" ,intltool)
7361 ("pkg-config" ,pkg-config)
7362 ("vala" ,vala)
7363 ("xsltproc" ,libxslt)))
7364 (propagated-inputs
7365 `(("glib" ,glib) ; required by goa-1.0.pc
7366 ("gtk+" ,gtk+))) ; required by goa-backend-1.0.pc
7367 (inputs
7368 `(("docbook-xsl" ,docbook-xsl)
7369 ("json-glib" ,json-glib)
7370 ("libsecret" ,libsecret)
7371 ("rest" ,rest)
7372 ("webkitgtk" ,webkitgtk)))
7373 (synopsis "Single sign-on framework for GNOME")
7374 (home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
7375 (description
7376 "GNOME Online Accounts provides interfaces so that applications and
7377 libraries in GNOME can access the user's online accounts. It has providers for
7378 Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare, Microsoft
7379 Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
7380 (license license:lgpl2.0+)))
7381
7382 (define-public evolution-data-server
7383 (package
7384 (name "evolution-data-server")
7385 (version "3.34.2")
7386 (source (origin
7387 (method url-fetch)
7388 (uri (string-append "mirror://gnome/sources/" name "/"
7389 (version-major+minor version) "/"
7390 name "-" version ".tar.xz"))
7391 (patches (search-patches "evolution-data-server-locales.patch"
7392 "evolution-data-server-libical-compat.patch"))
7393 (sha256
7394 (base32
7395 "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y"))))
7396 (build-system cmake-build-system)
7397 (arguments
7398 '(#:configure-flags
7399 (let* ((lib (string-append (assoc-ref %outputs "out") "/lib"))
7400 (runpaths (map (lambda (s)
7401 (string-append lib "/evolution-data-server/" s))
7402 '("addressbook-backends" "calendar-backends"
7403 "camel-providers" "credential-modules"
7404 "registry-modules"))))
7405 (list "-DENABLE_UOA=OFF" ;disable Ubuntu Online Accounts support
7406 "-DENABLE_GOOGLE=OFF" ;disable Google Contacts support
7407 "-DENABLE_GOOGLE_AUTH=OFF" ;disable Google authentication
7408 "-DENABLE_VALA_BINDINGS=ON"
7409 (string-append "-DCMAKE_INSTALL_RPATH=" lib ";"
7410 (string-append lib "/evolution-data-server;")
7411 (string-join runpaths ";"))
7412 "-DENABLE_INTROSPECTION=ON")) ;required for Vala bindings
7413 #:phases
7414 (modify-phases %standard-phases
7415 (add-after 'unpack 'disable-failing-tests
7416 (lambda _
7417 ;; tests/book-migration/test-migration.c:160:test_fetch_contacts:
7418 ;; assertion failed (g_slist_length (contacts) == 20): (0 == 20)
7419 (delete-file-recursively "tests/book-migration")
7420 (substitute* "tests/CMakeLists.txt"
7421 (("add_subdirectory\\(book-migration\\)") ""))
7422 #t))
7423 (add-after 'unpack 'patch-paths
7424 (lambda _
7425 (substitute* '("tests/test-server-utils/e-test-server-utils.c"
7426 "tests/libedata-book/data-test-utils.c"
7427 "tests/libedata-book/test-book-cache-utils.c"
7428 "tests/libedata-cal/test-cal-cache-utils.c")
7429 (("/bin/rm") (which "rm")))
7430 #t))
7431 (add-before 'configure 'dont-override-rpath
7432 (lambda _
7433 (substitute* "CMakeLists.txt"
7434 ;; CMakeLists.txt hard-codes runpath to just the libdir.
7435 ;; Remove it so the configure flag is respected.
7436 (("SET\\(CMAKE_INSTALL_RPATH .*") ""))
7437 #t)))))
7438 (native-inputs
7439 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
7440 ("gobject-introspection" ,gobject-introspection)
7441 ("gperf" ,gperf)
7442 ("intltool" ,intltool)
7443 ("pkg-config" ,pkg-config)
7444 ("vala" ,vala)
7445 ("python" ,python-wrapper)))
7446 (propagated-inputs
7447 ;; These are all in the Requires field of .pc files.
7448 `(("gtk+" ,gtk+)
7449 ("libical" ,libical)
7450 ("libsecret" ,libsecret)
7451 ("libsoup" ,libsoup)
7452 ("nss" ,nss)
7453 ("sqlite" ,sqlite)))
7454 (inputs
7455 `(("bdb" ,bdb)
7456 ("gcr" ,gcr)
7457 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
7458 ("json-glib" ,json-glib)
7459 ("libcanberra" ,libcanberra)
7460 ("libgweather" ,libgweather)
7461 ("mit-krb5" ,mit-krb5)
7462 ("openldap" ,openldap)
7463 ("webkitgtk" ,webkitgtk)))
7464 (synopsis "Store address books and calendars")
7465 (home-page "https://wiki.gnome.org/Apps/Evolution")
7466 (description
7467 "This package provides a unified backend for programs that work with
7468 contacts, tasks, and calendar information. It was originally developed for
7469 Evolution (hence the name), but is now used by other packages as well.")
7470 (license license:lgpl2.0)))
7471
7472 (define-public caribou
7473 (package
7474 (name "caribou")
7475 (version "0.4.21")
7476 (source (origin
7477 (method url-fetch)
7478 (uri (string-append "mirror://gnome/sources/" name "/"
7479 (version-major+minor version) "/"
7480 name "-" version ".tar.xz"))
7481 (sha256
7482 (base32
7483 "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww"))))
7484 (build-system glib-or-gtk-build-system)
7485 (arguments
7486 '(#:phases
7487 (modify-phases %standard-phases
7488 (add-before
7489 'build 'pre-build
7490 (lambda* (#:key outputs #:allow-other-keys)
7491 (let ((out (assoc-ref outputs "out")))
7492 ;; Use absolute shared library path in Caribou-1.0.typelib.
7493 (substitute* "libcaribou/Makefile"
7494 (("--shared-library=libcaribou.so")
7495 (string-append "--shared-library="
7496 out "/lib/libcaribou.so")))
7497 #t)))
7498 (add-after 'install 'wrap-programs
7499 (lambda* (#:key outputs #:allow-other-keys)
7500 (let* ((out (assoc-ref outputs "out"))
7501 (python-path (getenv "PYTHONPATH"))
7502 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
7503 (for-each
7504 (lambda (prog)
7505 (wrap-program prog
7506 `("PYTHONPATH" ":" prefix (,python-path))
7507 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
7508 (list (string-append out "/bin/caribou-preferences")
7509 (string-append out "/libexec/antler-keyboard"))))
7510 #t)))))
7511 (native-inputs
7512 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
7513 ("gobject-introspection" ,gobject-introspection)
7514 ("intltool" ,intltool)
7515 ("pkg-config" ,pkg-config)
7516 ("python" ,python)
7517 ("vala" ,vala)
7518 ("xsltproc" ,libxslt)))
7519 (propagated-inputs
7520 ;; caribou-1.0.pc refers to all these.
7521 `(("libgee" ,libgee)
7522 ("libxklavier" ,libxklavier)
7523 ("libxtst" ,libxtst)
7524 ("gtk+" ,gtk+)))
7525 (inputs
7526 `(("clutter" ,clutter)
7527 ("dconf" ,dconf)
7528 ("gtk+-2" ,gtk+-2)
7529 ("python-pygobject" ,python-pygobject)))
7530 (synopsis "Text entry and UI navigation application")
7531 (home-page "https://wiki.gnome.org/Projects/Caribou")
7532 (description
7533 "Caribou is an input assistive technology intended for switch and pointer
7534 users.")
7535 (license license:lgpl2.1)))
7536
7537 (define-public network-manager
7538 (package
7539 (name "network-manager")
7540 (version "1.24.0")
7541 (source (origin
7542 (method url-fetch)
7543 (uri (string-append "mirror://gnome/sources/NetworkManager/"
7544 (version-major+minor version) "/"
7545 "NetworkManager-" version ".tar.xz"))
7546 (patches (search-patches "network-manager-plugin-path.patch"))
7547 (sha256
7548 (base32
7549 "06044fl60bjlj7c6rqqfbm5795h61h6yzp7ch392hzcnm46wwhn3"))
7550 (modules '((guix build utils)))
7551 (snippet
7552 '(begin
7553 (substitute* "src/devices/wwan/nm-modem-manager.c"
7554 (("systemd") "elogind"))
7555 #t))))
7556 (build-system meson-build-system)
7557 (outputs '("out"
7558 "doc")) ; 8 MiB of gtk-doc HTML
7559 (arguments
7560 `(#:configure-flags
7561 (let ((out (assoc-ref %outputs "out"))
7562 (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp")
7563 "/sbin/dhclient")))
7564 (list
7565 ;; Otherwise, the RUNPATH will lack the final 'NetworkManager' path
7566 ;; component.
7567 (string-append "-Dc_link_args=-Wl,-rpath="
7568 out "/lib:"
7569 out "/lib/NetworkManager/" ,version)
7570 "-Dsystemd_journal=false"
7571 "-Dsession_tracking=elogind"
7572 "-Dsuspend_resume=elogind"
7573 "-Dsystemdsystemunitdir=no"
7574 "-Dsession_tracking_consolekit=false"
7575 "-Ddhcpcd=no"
7576 "-Ddhcpcanon=no"
7577 "-Dcrypto=gnutls"
7578 "-Diwd=true"
7579 "-Dlibaudit=yes"
7580 "-Dqt=false"
7581 "-Ddocs=true"
7582 "--sysconfdir=/etc"
7583 "--localstatedir=/var"
7584 (string-append "-Dudev_dir="
7585 out "/lib/udev")
7586 (string-append "-Ddbus_conf_dir="
7587 out "/etc/dbus-1/system.d")
7588
7589 (string-append "-Ddhclient=" dhclient)))
7590 #:phases
7591 (modify-phases %standard-phases
7592 (add-before 'configure 'pre-configure
7593 (lambda _
7594 ;; These tests try to test aspects of network-manager's
7595 ;; functionality within restricted containers, but they don't
7596 ;; cope with being already in the Guix build jail as that jail
7597 ;; lacks some features that they would like to proxy over (like
7598 ;; a /sys mount).
7599 (substitute* "src/platform/tests/meson.build"
7600 ((".*test-address-linux.*") "")
7601 ((".*test-cleanup-linux.*") "")
7602 ((".*test-link-linux.*") "")
7603 ((".*test-route-linux.*") ""))
7604 (substitute* "src/devices/tests/meson.build"
7605 ((".*test-acd.*") "")
7606 ((".*test-lldp.*") ""))
7607 #t))
7608 (add-after 'unpack 'patch-docbook-xml
7609 (lambda* (#:key inputs #:allow-other-keys)
7610 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
7611 "/xml/dtd/docbook")))
7612 (substitute* (find-files "." ".*\\.(xsl|xml)")
7613 (("http://.*/docbookx\\.dtd")
7614 (string-append xmldoc "/docbookx.dtd")))
7615 #t)))
7616 (add-before 'check 'pre-check
7617 (lambda _
7618 ;; For the missing /etc/machine-id.
7619 (setenv "DBUS_FATAL_WARNINGS" "0")
7620 #t))
7621 (add-before 'install 'no-polkit-magic
7622 ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
7623 (lambda _
7624 (setenv "PKEXEC_UID" "something")
7625 #t))
7626 (add-after 'install 'move-doc
7627 (lambda* (#:key outputs #:allow-other-keys)
7628 (let ((out (assoc-ref outputs "out"))
7629 (doc (assoc-ref outputs "doc")))
7630 (mkdir-p (string-append doc "/share"))
7631 (for-each (lambda (directory)
7632 (copy-recursively (string-append out directory)
7633 (string-append doc directory))
7634 (delete-file-recursively
7635 (string-append out directory)))
7636 '("/share/doc" "/share/gtk-doc"))
7637 #t))))))
7638 (propagated-inputs
7639 `(("glib" ,glib)))
7640 (native-inputs
7641 `(("glib:bin" ,glib "bin") ; for gdbus-codegen
7642 ("gtk-doc" ,gtk-doc)
7643 ("gobject-introspection" ,gobject-introspection)
7644 ("docbook-xml" ,docbook-xml)
7645 ("docbook-xsl" ,docbook-xsl)
7646 ("intltool" ,intltool)
7647 ("libxslt" ,libxslt)
7648 ("libxml2" ,libxml2)
7649 ("pkg-config" ,pkg-config)
7650 ("vala" ,vala)
7651 ;; For testing.
7652 ("python" ,python-wrapper)
7653 ("python-dbus" ,python-dbus)
7654 ("python-pygobject" ,python-pygobject)))
7655 (inputs
7656 `(("curl" ,curl)
7657 ("cyrus-sasl" ,cyrus-sasl)
7658 ("dbus-glib" ,dbus-glib)
7659 ("dnsmasq" ,dnsmasq)
7660 ("eudev" ,eudev)
7661 ("gnutls" ,gnutls)
7662 ("iptables" ,iptables)
7663 ("isc-dhcp" ,isc-dhcp)
7664 ("iwd" ,iwd) ; wpa_supplicant alternative
7665 ("jansson" ,jansson)
7666 ("libaudit" ,audit)
7667 ("libgcrypt" ,libgcrypt)
7668 ("libgudev" ,libgudev)
7669 ("libndp" ,libndp)
7670 ("libnl" ,libnl)
7671 ("libsoup" ,libsoup)
7672 ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
7673 ("modem-manager" ,modem-manager)
7674 ("newt" ,newt) ;for the 'nmtui' console interface
7675 ("openresolv" ,openresolv) ; alternative resolv.conf manager
7676 ("polkit" ,polkit)
7677 ("ppp" ,ppp)
7678 ("readline" ,readline)
7679 ("util-linux" ,util-linux)
7680 ("elogind" ,elogind)))
7681 (synopsis "Network connection manager")
7682 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7683 (description
7684 "NetworkManager is a system network service that manages your network
7685 devices and connections, attempting to keep active network connectivity when
7686 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
7687 devices, and provides VPN integration with a variety of different VPN
7688 services.")
7689 ;; “This NetworkManager project consists of the daemon, client tools, and
7690 ;; libnm. libnm is licensed LGPL-2.1+, while the rest is licensed under
7691 ;; GPL-2.0+.”
7692 (license (list license:gpl2+
7693 license:lgpl2.1+))
7694 (properties '((upstream-name . "NetworkManager")))))
7695
7696 (define-public network-manager-openvpn
7697 (package
7698 (name "network-manager-openvpn")
7699 (version "1.8.12")
7700 (source (origin
7701 (method url-fetch)
7702 (uri (string-append
7703 "mirror://gnome/sources/NetworkManager-openvpn/"
7704 (version-major+minor version)
7705 "/NetworkManager-openvpn-" version ".tar.xz"))
7706 (sha256
7707 (base32
7708 "062kh4zj7jfbwy4zzcwpq2m457bzbpm3l18s0ysnw3mgia3siz8f"))))
7709 (build-system gnu-build-system)
7710 (arguments
7711 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7712 #:phases
7713 (modify-phases %standard-phases
7714 (add-after 'configure 'patch-path
7715 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7716 (let* ((ovpn (string-append (assoc-ref inputs "openvpn")
7717 "/sbin/openvpn"))
7718 (modprobe (string-append (assoc-ref inputs "kmod")
7719 "/bin/modprobe"))
7720 (pretty-ovpn (string-append "\"" ovpn "\"")))
7721 (for-each
7722 (lambda (file)
7723 (substitute* file
7724 (("\"/usr/local/sbin/openvpn\"") pretty-ovpn)
7725 (("\"/usr/sbin/openvpn\"") pretty-ovpn)
7726 (("\"/sbin/openvpn\"") pretty-ovpn)
7727 (("/sbin/modprobe") modprobe)))
7728 '("src/nm-openvpn-service.c" "properties/nm-openvpn-editor.c")))
7729 #t)))))
7730 (native-inputs
7731 `(("pkg-config" ,pkg-config)
7732 ("intltool" ,intltool)))
7733 (inputs
7734 `(("gtk+" ,gtk+)
7735 ("kmod" ,kmod)
7736 ("openvpn" ,openvpn)
7737 ("network-manager" ,network-manager)
7738 ("libnma" ,libnma)
7739 ("libsecret" ,libsecret)))
7740 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7741 (synopsis "OpenVPN plug-in for NetworkManager")
7742 (description
7743 "This extension of NetworkManager allows it to take care of connections
7744 to virtual private networks (VPNs) via OpenVPN.")
7745 (license license:gpl2+)
7746 (properties `((upstream-name . "NetworkManager-openvpn")))))
7747
7748 (define-public network-manager-vpnc
7749 (package
7750 (name "network-manager-vpnc")
7751 (version "1.2.6")
7752 (source (origin
7753 (method url-fetch)
7754 (uri (string-append
7755 "mirror://gnome/sources/NetworkManager-vpnc/"
7756 (version-major+minor version)
7757 "/NetworkManager-vpnc-" version ".tar.xz"))
7758 (sha256
7759 (base32
7760 "1js5lwcsqws4klgypfxl4ikmakv7v7xgddij1fj6b0y0qicx0kyy"))))
7761 (build-system gnu-build-system)
7762 (arguments
7763 `(#:configure-flags '("--enable-absolute-paths"
7764 "--localstatedir=/var"
7765 ;; libnm-glib has been removed from network-manager
7766 ;; 1de8383ad9fdfc8f552117e5d109bdfa7005634b
7767 "--with-libnm-glib=no")
7768 #:phases
7769 (modify-phases %standard-phases
7770 (add-after 'configure 'patch-path
7771 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7772 (let* ((vpnc (string-append (assoc-ref inputs "vpnc")
7773 "/sbin/vpnc"))
7774 (modprobe (string-append (assoc-ref inputs "kmod")
7775 "/bin/modprobe"))
7776 (pretty-ovpn (string-append "\"" vpnc "\"")))
7777 (substitute* "src/nm-vpnc-service.c"
7778 (("\"/usr/local/sbin/vpnc\"") pretty-ovpn)
7779 (("\"/usr/sbin/vpnc\"") pretty-ovpn)
7780 (("\"/sbin/vpnc\"") pretty-ovpn)
7781 (("/sbin/modprobe") modprobe)))
7782 #t)))))
7783 (native-inputs
7784 `(("pkg-config" ,pkg-config)
7785 ("intltool" ,intltool)))
7786 (inputs
7787 `(("gtk+" ,gtk+)
7788 ("kmod" ,kmod)
7789 ("vpnc" ,vpnc)
7790 ("network-manager" ,network-manager)
7791 ("libnma" ,libnma)
7792 ("libsecret" ,libsecret)))
7793 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7794 (synopsis "VPNC plug-in for NetworkManager")
7795 (description
7796 "Support for configuring virtual private networks based on VPNC.
7797 Compatible with Cisco VPN concentrators configured to use IPsec.")
7798 (license license:gpl2+)
7799 (properties `((upstream-name . "NetworkManager-vpnc")))))
7800
7801 (define-public network-manager-openconnect
7802 (package
7803 (name "network-manager-openconnect")
7804 (version "1.2.6")
7805 (source (origin
7806 (method url-fetch)
7807 (uri (string-append
7808 "mirror://gnome/sources/NetworkManager-openconnect/"
7809 (version-major+minor version)
7810 "/NetworkManager-openconnect-" version ".tar.xz"))
7811 (sha256
7812 (base32
7813 "0nlp290nkawc4wqm978n4vhzg3xdqi8kpjjx19l855vab41rh44m"))))
7814 (build-system gnu-build-system)
7815 (arguments
7816 `(#:configure-flags '("--enable-absolute-paths" "--localstatedir=/var")
7817 #:phases
7818 (modify-phases %standard-phases
7819 (add-after 'configure 'patch-path
7820 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
7821 (let* ((openconnect (string-append (assoc-ref inputs "openconnect")
7822 "/sbin/openconnect"))
7823 (modprobe (string-append (assoc-ref inputs "kmod")
7824 "/bin/modprobe"))
7825 (pretty-ovpn (string-append "\"" openconnect "\"")))
7826 (substitute* "src/nm-openconnect-service.c"
7827 (("\"/usr(/local)?/s?bin/openconnect\"") pretty-ovpn)
7828 (("/sbin/modprobe") modprobe)))
7829 #t)))))
7830 (native-inputs
7831 `(("intltool" ,intltool)
7832 ("libnma" ,libnma)
7833 ("pkg-config" ,pkg-config)))
7834 (inputs
7835 `(("gcr" ,gcr)
7836 ("gtk+" ,gtk+)
7837 ("kmod" ,kmod)
7838 ("libsecret" ,libsecret)
7839 ("libxml2" ,libxml2)
7840 ("lz4" ,lz4)
7841 ("network-manager" ,network-manager)
7842 ("openconnect" ,openconnect)))
7843 (home-page "https://wiki.gnome.org/Projects/NetworkManager/VPN")
7844 (synopsis "OpenConnect plug-in for NetworkManager")
7845 (description
7846 "This extension of NetworkManager allows it to take care of connections
7847 to @acronym{VPNs, virtual private networks} via OpenConnect, an open client for
7848 Cisco's AnyConnect SSL VPN.")
7849 (license license:gpl2+)
7850 (properties `((upstream-name . "NetworkManager-openconnect")
7851
7852 ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf'
7853 ;; file refers to account "nm-openconnect". Specify it here
7854 ;; so that 'network-manager-service-type' creates it.
7855 (user-accounts . ("nm-openconnect"))))))
7856
7857 (define-public mobile-broadband-provider-info
7858 (package
7859 (name "mobile-broadband-provider-info")
7860 (version "20190116")
7861 (source (origin
7862 (method url-fetch)
7863 (uri (string-append
7864 "mirror://gnome/sources/"
7865 "mobile-broadband-provider-info/" version "/"
7866 "mobile-broadband-provider-info-" version ".tar.xz"))
7867 (sha256
7868 (base32
7869 "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic"))))
7870 (build-system gnu-build-system)
7871 (arguments
7872 `(#:tests? #f)) ; no tests
7873 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7874 (synopsis "Database of broadband connection configuration")
7875 (description "Database of broadband connection configuration.")
7876 (license license:public-domain)))
7877
7878 (define-public network-manager-applet
7879 (package
7880 (name "network-manager-applet")
7881 (version "1.16.0")
7882 (source (origin
7883 (method url-fetch)
7884 (uri (string-append "mirror://gnome/sources/network-manager-applet/"
7885 (version-major+minor version) "/"
7886 "network-manager-applet-" version ".tar.xz"))
7887 (sha256
7888 (base32
7889 "1rf3nm0hjcy9f8ajb4vmvwy503w8yj8d4daxkcb7w7i7b92qmyfn"))))
7890 (build-system meson-build-system)
7891 (arguments
7892 '(#:glib-or-gtk? #t))
7893 (native-inputs
7894 `(("intltool" ,intltool)
7895 ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
7896 ("gobject-introspection" ,gobject-introspection)
7897 ("gtk-doc" ,gtk-doc)
7898 ("pkg-config" ,pkg-config)))
7899 (propagated-inputs
7900 ;; libnm-gtk.pc refers to all these.
7901 `(("dbus-glib" ,dbus-glib)
7902 ("gtk+" ,gtk+)
7903 ("network-manager" ,network-manager)
7904 ;; nm-applet need by org.gnome.nm-applet.gschema.xml
7905 ("libnma" ,libnma)))
7906 (inputs
7907 `(("gcr" ,gcr)
7908 ("libgudev" ,libgudev)
7909 ("libnotify" ,libnotify)
7910 ("libsecret" ,libsecret)
7911 ("libselinux" ,libselinux)
7912 ("jansson" ,jansson) ; for team support
7913 ("modem-manager" ,modem-manager)))
7914 (synopsis "Applet for managing network connections")
7915 (home-page "https://wiki.gnome.org/Projects/NetworkManager")
7916 (description
7917 "This package contains a systray applet for NetworkManager. It displays
7918 the available networks and allows users to easily switch between them.")
7919 (license license:gpl2+)))
7920
7921 (define-public libxml++
7922 (package
7923 (name "libxml++")
7924 (version "3.0.1")
7925 (source (origin
7926 (method url-fetch)
7927 (uri (string-append "mirror://gnome/sources/" name "/"
7928 (version-major+minor version) "/"
7929 name "-" version ".tar.xz"))
7930 (sha256
7931 (base32
7932 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
7933 (build-system gnu-build-system)
7934 ;; libxml++-3.0.pc refers to all these.
7935 (propagated-inputs
7936 `(("libxml2" ,libxml2)
7937 ("glibmm" ,glibmm)))
7938 (native-inputs
7939 `(("perl" ,perl)
7940 ("pkg-config" ,pkg-config)))
7941 (home-page "http://libxmlplusplus.sourceforge.net/")
7942 (synopsis "C++ wrapper for XML parser library libxml2")
7943 (description
7944 "This package provides a C++ wrapper for the XML parser library
7945 libxml2.")
7946 (license license:lgpl2.1+)))
7947
7948 (define-public libxml++-2
7949 (package
7950 (inherit libxml++)
7951 (name "libxml++")
7952 (version "2.40.1")
7953 (source (origin
7954 (method url-fetch)
7955 (uri (string-append "mirror://gnome/sources/" name "/"
7956 (version-major+minor version) "/"
7957 name "-" version ".tar.xz"))
7958 (sha256
7959 (base32
7960 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
7961
7962 (define-public gdm
7963 (package
7964 (name "gdm")
7965 (version "3.34.1")
7966 (source (origin
7967 (method url-fetch)
7968 (uri (string-append "mirror://gnome/sources/" name "/"
7969 (version-major+minor version) "/"
7970 name "-" version ".tar.xz"))
7971 (sha256
7972 (base32
7973 "1lyqvcwxhwxklbxn4xjswjzr6fhjix6h28mi9ypn34wdm9bzcpg8"))
7974 (patches (search-patches "gdm-default-session.patch"))))
7975 (build-system glib-or-gtk-build-system)
7976 (arguments
7977 '(#:configure-flags
7978 `("--without-plymouth"
7979 "--disable-systemd-journal"
7980
7981 ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
7982 ;; instead of having to replace it (i.e., stopping the mingetty
7983 ;; service for TTY 1 before starting GDM).
7984 "--with-initial-vt=7"
7985
7986 ;; Use '/etc/environment' for locale settings instead of the
7987 ;; systemd-specific '/etc/locale.conf'.
7988 "--with-lang-file=/etc/environment"
7989
7990 ,(string-append "--with-udevdir="
7991 (assoc-ref %outputs "out") "/lib/udev")
7992
7993 "--localstatedir=/var"
7994 ,(string-append "--with-default-path="
7995 (string-join '("/run/setuid-programs"
7996 "/run/current-system/profile/bin"
7997 "/run/current-system/profile/sbin")
7998 ":"))
7999 ;; Put GDM in bindir so that glib-or-gtk-build-system wraps the
8000 ;; XDG_DATA_DIRS so that it finds its schemas.
8001 "--sbindir" ,(string-append (assoc-ref %outputs "out") "/bin"))
8002 #:phases
8003 (modify-phases %standard-phases
8004 (add-before
8005 'configure 'pre-configure
8006 (lambda* (#:key inputs outputs #:allow-other-keys)
8007 ;; We don't have <systemd/sd-daemon.h>.
8008 (substitute* '("common/gdm-log.c"
8009 "daemon/gdm-server.c"
8010 "daemon/gdm-session-worker.c"
8011 "daemon/gdm-session-worker-job.c")
8012 (("#include <systemd/sd-daemon\\.h>") ""))
8013 ;; Use elogind for sd-login.
8014 (substitute* '("common/gdm-common.c"
8015 "daemon/gdm-local-display-factory.c"
8016 "daemon/gdm-manager.c"
8017 "libgdm/gdm-user-switching.c")
8018 (("#include <systemd/sd-login\\.h>")
8019 "#include <elogind/sd-login.h>"))
8020 ;; Check for elogind.
8021 (substitute* '("configure")
8022 (("libsystemd")
8023 "libelogind"))
8024 ;; Look for system-installed sessions in
8025 ;; /run/current-system/profile/share.
8026 (substitute* '("libgdm/gdm-sessions.c"
8027 "daemon/gdm-session.c"
8028 "daemon/gdm-display.c"
8029 "daemon/gdm-launch-environment.c")
8030 (("DATADIR \"/x")
8031 "\"/run/current-system/profile/share/x")
8032 (("DATADIR \"/wayland")
8033 "\"/run/current-system/profile/share/wayland")
8034 (("DATADIR \"/gnome")
8035 "\"/run/current-system/profile/share/gnome"))
8036 (let ((propagate '("GDM_CUSTOM_CONF"
8037 "GDM_DBUS_DAEMON"
8038 "GDM_X_SERVER"
8039 "GDM_X_SESSION"
8040 ;; XXX: Remove this once GNOME Shell is
8041 ;; a dependency of GDM.
8042 "XDG_DATA_DIRS")))
8043 (substitute* "daemon/gdm-session.c"
8044 (("set_up_session_environment \\(self\\);")
8045 (apply string-append
8046 "set_up_session_environment (self);\n"
8047 (map (lambda (name)
8048 (string-append
8049 "gdm_session_set_environment_variable "
8050 "(self, \"" name "\","
8051 "g_getenv (\"" name "\"));\n"))
8052 propagate)))))
8053 ;; Find the configuration file using an environment variable.
8054 (substitute* '("common/gdm-settings.c")
8055 (("GDM_CUSTOM_CONF")
8056 (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
8057 " ? g_getenv(\"GDM_CUSTOM_CONF\")"
8058 " : GDM_CUSTOM_CONF)")))
8059 ;; Use service-supplied path to X.
8060 (substitute* '("daemon/gdm-server.c")
8061 (("\\(X_SERVER X_SERVER_ARG_FORMAT")
8062 "(\"%s\" X_SERVER_ARG_FORMAT, g_getenv (\"GDM_X_SERVER\")"))
8063 (substitute* '("daemon/gdm-wayland-session.c"
8064 "daemon/gdm-x-session.c")
8065 (("\"dbus-daemon\"")
8066 "g_getenv (\"GDM_DBUS_DAEMON\")")
8067 (("X_SERVER")
8068 "g_getenv (\"GDM_X_SERVER\")")
8069 (("GDMCONFDIR \"/Xsession\"")
8070 "g_getenv (\"GDM_X_SESSION\")"))
8071 ;; Use an absolute path for GNOME Session.
8072 (substitute* "daemon/gdm-launch-environment.c"
8073 (("\"gnome-session\"")
8074 (string-append "\"" (assoc-ref inputs "gnome-session")
8075 "/bin/gnome-session\"")))
8076 ;; Do not automatically select the placeholder session.
8077 (substitute* "daemon/gdm-session.c"
8078 (("!g_str_has_suffix [(]base_name, \"\\.desktop\"[)]")
8079 (string-append "!g_str_has_suffix (base_name, \".desktop\") || "
8080 "(g_strcmp0(search_dirs[i], \""
8081 (assoc-ref outputs "out") "/share/gdm/BuiltInSessions/"
8082 "\") == 0 && "
8083 "g_strcmp0(base_name, \"fail.desktop\") == 0)"))
8084 (("g_error [(]\"GdmSession: no session desktop files installed, aborting\\.\\.\\.\"[)];")
8085 "{ self->fallback_session_name = g_strdup(\"fail\"); goto out; }"))
8086 #t))
8087 ;; GDM requires that there be at least one desktop entry
8088 ;; file. This phase installs a hidden one that simply
8089 ;; fails. This enables users to use GDM with a
8090 ;; '~/.xsession' script with no other desktop entry files.
8091 ;; See <https://bugs.gnu.org/35068>.
8092 (add-after 'install 'install-placeholder-desktop-entry
8093 (lambda* (#:key inputs outputs #:allow-other-keys)
8094 (let* ((out (assoc-ref outputs "out"))
8095 (sessions (string-append out "/share/gdm/BuiltInSessions"))
8096 (fail (string-append sessions "/fail.desktop")))
8097 (mkdir-p sessions)
8098 (with-output-to-file fail
8099 (lambda ()
8100 (for-each
8101 display
8102 '("[Desktop Entry]\n"
8103 "Encoding=UTF-8\n"
8104 "Type=Application\n"
8105 "Name=Fail\n"
8106 "Comment=This session fails immediately.\n"
8107 "NoDisplay=true\n"
8108 "Exec=false\n"))))
8109 #t)))
8110 ;; GDM needs GNOME Session to run these applications. We link
8111 ;; their autostart files in `share/gdm/greeter/autostart'
8112 ;; because GDM explicitly tells GNOME Session to look there.
8113 ;;
8114 ;; XXX: GNOME Shell should be linked here too, but currently
8115 ;; GNOME Shell depends on GDM.
8116 (add-after 'install 'link-autostart-files
8117 (lambda* (#:key inputs outputs #:allow-other-keys)
8118 (let* ((out (assoc-ref outputs "out"))
8119 (autostart (string-append out "/share/gdm/"
8120 "greeter/autostart"))
8121 (settings (assoc-ref inputs "gnome-settings-daemon")))
8122 (mkdir-p autostart)
8123 (with-directory-excursion autostart
8124 (for-each (lambda (desktop)
8125 (symlink desktop (basename desktop)))
8126 (find-files (string-append settings "/etc/xdg"))))
8127 #t))))))
8128 (native-inputs
8129 `(("dconf" ,dconf)
8130 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8131 ("gobject-introspection" ,gobject-introspection)
8132 ("intltool" ,intltool)
8133 ("itstool" ,itstool)
8134 ("pkg-config" ,pkg-config)
8135 ("xmllint" ,libxml2)))
8136 (inputs
8137 `(("accountsservice" ,accountsservice)
8138 ("check" ,check-0.14) ;for testing
8139 ("elogind" ,elogind)
8140 ("gnome-session" ,gnome-session)
8141 ("gnome-settings-daemon" ,gnome-settings-daemon)
8142 ("gtk+" ,gtk+)
8143 ("iso-codes" ,iso-codes)
8144 ("libcanberra" ,libcanberra)
8145 ("linux-pam" ,linux-pam)))
8146 (synopsis "Display manager for GNOME")
8147 (home-page "https://wiki.gnome.org/Projects/GDM/")
8148 (description
8149 "GNOME Display Manager is a system service that is responsible for
8150 providing graphical log-ins and managing local and remote displays.")
8151 (license license:gpl2+)))
8152
8153 (define-public libgtop
8154 (package
8155 (name "libgtop")
8156 (version "2.40.0")
8157 (source (origin
8158 (method url-fetch)
8159 (uri (string-append "mirror://gnome/sources/libgtop/"
8160 (version-major+minor version) "/"
8161 "libgtop-" version ".tar.xz"))
8162 (sha256
8163 (base32
8164 "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq"))))
8165 (build-system gnu-build-system)
8166 (native-inputs
8167 `(("gobject-introspection" ,gobject-introspection)
8168 ("intltool" ,intltool)
8169 ("perl" ,perl)
8170 ("pkg-config" ,pkg-config)))
8171 (propagated-inputs
8172 `(("glib" ,glib))) ; required by libgtop-2.0.pc
8173 (synopsis "Portable system access library")
8174 (home-page "https://www.gnome.org/")
8175 (description
8176 "LibGTop is a library to get system specific data such as CPU and memory
8177 usage and information about running processes.")
8178 (license license:gpl2+)))
8179
8180 (define-public gnome-bluetooth
8181 (package
8182 (name "gnome-bluetooth")
8183 (version "3.34.2")
8184 (source (origin
8185 (method url-fetch)
8186 (uri (string-append "mirror://gnome/sources/" name "/"
8187 (version-major+minor version) "/"
8188 name "-" version ".tar.xz"))
8189 (sha256
8190 (base32
8191 "0lmjvb49vgr4jjplrisv6pi29jsn1q42715i6c5a0p9ad3gawyyv"))))
8192 (build-system meson-build-system)
8193 (native-inputs
8194 `(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
8195 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
8196 ("gobject-introspection" ,gobject-introspection)
8197 ("intltool" ,intltool)
8198 ("pkg-config" ,pkg-config)
8199 ("xmllint" ,libxml2)))
8200 (propagated-inputs
8201 ;; gnome-bluetooth-1.0.pc refers to all these.
8202 `(("glib" ,glib)
8203 ("gtk+" ,gtk+)))
8204 (inputs
8205 `(("eudev" ,eudev)
8206 ("libcanberra" ,libcanberra)
8207 ("libnotify" ,libnotify)))
8208 (synopsis "GNOME Bluetooth subsystem")
8209 (home-page "https://wiki.gnome.org/Projects/GnomeBluetooth")
8210 (description
8211 "This package contains tools for managing and manipulating Bluetooth
8212 devices using the GNOME desktop.")
8213 (license license:lgpl2.1+)))
8214
8215 (define-public gnome-control-center
8216 (package
8217 (name "gnome-control-center")
8218 (version "3.34.2")
8219 (source (origin
8220 (method url-fetch)
8221 (uri (string-append "mirror://gnome/sources/" name "/"
8222 (version-major+minor version) "/"
8223 name "-" version ".tar.xz"))
8224 (sha256
8225 (base32
8226 "054igagvmyzpaa5nwzz98gv7bk7l5dwp6g813707132si3szlpx8"))))
8227 (build-system meson-build-system)
8228 (arguments
8229 '(#:glib-or-gtk? #t
8230 #:configure-flags
8231 (list "-Dcheese=false"
8232 (string-append "-Dgnome_session_libexecdir="
8233 (assoc-ref %build-inputs "gnome-session")
8234 "/libexec"))
8235 #:phases
8236 (modify-phases %standard-phases
8237 (add-before 'configure 'patch-paths
8238 (lambda* (#:key inputs #:allow-other-keys)
8239 (let ((libc (assoc-ref inputs "libc"))
8240 (tzdata (assoc-ref inputs "tzdata"))
8241 (libgnomekbd (assoc-ref inputs "libgnomekbd"))
8242 (nm-applet (assoc-ref inputs "network-manager-applet"))
8243 (gnome-desktop (assoc-ref inputs "gnome-desktop")))
8244 (substitute* "panels/datetime/tz.h"
8245 (("/usr/share/zoneinfo/zone.tab")
8246 (string-append tzdata "/share/zoneinfo/zone.tab")))
8247 (substitute* "tests/datetime/test-endianess.c"
8248 (("/usr/share/locale")
8249 (string-append libc "/share/locale")))
8250 (substitute* "panels/region/cc-region-panel.c"
8251 (("\"gkbd-keyboard-display")
8252 (string-append "\"" libgnomekbd
8253 "/bin/gkbd-keyboard-display")))
8254 (substitute* '("panels/network/net-device-wifi.c"
8255 "panels/network/net-device.c"
8256 "panels/network/connection-editor/net-connection-editor.c")
8257 (("\"nm-connection-editor")
8258 (string-append "\"" nm-applet
8259 "/bin/nm-connection-editor")))
8260 (substitute* '("panels/user-accounts/run-passwd.c")
8261 (("/usr/bin/passwd")
8262 "/run/setuid-programs/passwd"))
8263 (substitute* "panels/info/cc-info-overview-panel.c"
8264 (("DATADIR \"/gnome/gnome-version.xml\"")
8265 (string-append "\"" gnome-desktop
8266 "/share/gnome/gnome-version.xml\"")))
8267 #t)))
8268 (add-after 'unpack 'skip-gtk-update-icon-cache
8269 ;; Don't create 'icon-theme.cache'.
8270 (lambda _
8271 (substitute* "build-aux/meson/meson_post_install.py"
8272 (("gtk-update-icon-cache") (which "true")))
8273 #t)))))
8274 (native-inputs
8275 `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8276 ("intltool" ,intltool)
8277 ("pkg-config" ,pkg-config)
8278 ("xsltproc" ,libxslt)
8279 ;; For tests
8280 ("hicolor-icon-theme" ,hicolor-icon-theme)
8281 ("python-dbusmock" ,python-dbusmock)
8282 ("xorg-server" ,xorg-server-for-tests)))
8283 (inputs
8284 `(("accountsservice" ,accountsservice)
8285 ("clutter-gtk" ,clutter-gtk)
8286 ("colord-gtk" ,colord-gtk)
8287 ("cups" ,cups)
8288 ("dconf" ,dconf)
8289 ("docbook-xsl" ,docbook-xsl)
8290 ("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files
8291 ("gnome-bluetooth" ,gnome-bluetooth)
8292 ("gnome-desktop" ,gnome-desktop)
8293 ("gnome-online-accounts" ,gnome-online-accounts)
8294 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
8295 ("gnome-session" ,gnome-session)
8296 ("gnome-settings-daemon" ,gnome-settings-daemon)
8297 ("grilo" ,grilo)
8298 ("gsound" ,gsound)
8299 ("ibus" ,ibus)
8300 ("libcanberra" ,libcanberra)
8301 ("libgnomekbd" ,libgnomekbd)
8302 ("libgudev" ,libgudev)
8303 ("libgtop" ,libgtop)
8304 ("libnma" ,libnma)
8305 ("libpwquality" ,libpwquality)
8306 ("libsecret" ,libsecret)
8307 ("libsoup" ,libsoup)
8308 ("libxml2" ,libxml2)
8309 ("libwacom" ,libwacom)
8310 ("mesa" ,mesa)
8311 ("mit-krb5" ,mit-krb5)
8312 ("modem-manager" ,modem-manager)
8313 ("network-manager-applet" ,network-manager-applet)
8314 ("polkit" ,polkit)
8315 ("pulseaudio" ,pulseaudio)
8316 ("smbclient" ,samba)
8317 ("tzdata" ,tzdata)
8318 ("udisks" ,udisks)
8319 ("upower" ,upower)))
8320 (synopsis "Utilities to configure the GNOME desktop")
8321 (home-page "https://www.gnome.org/")
8322 (description
8323 "This package contains configuration applets for the GNOME desktop,
8324 allowing to set accessibility configuration, desktop fonts, keyboard and mouse
8325 properties, sound setup, desktop theme and background, user interface
8326 properties, screen resolution, and other GNOME parameters.")
8327 (license license:gpl2+)))
8328
8329 (define-public gnome-shell
8330 (package
8331 (name "gnome-shell")
8332 (version "3.34.2")
8333 (source (origin
8334 (method url-fetch)
8335 (uri (string-append "mirror://gnome/sources/" name "/"
8336 (version-major+minor version) "/"
8337 name "-" version ".tar.xz"))
8338 (sha256
8339 (base32
8340 "0k9vq2gh1nhdd6fpp7jnwx37qxaakawiqw1xnlfjvq5g5zdn8ckh"))
8341 (patches (search-patches "gnome-shell-theme.patch"
8342 "gnome-shell-disable-test.patch"))
8343 (modules '((guix build utils)))
8344 (snippet
8345 #~(begin
8346 ;; Copy images for use on the GDM log-in screen.
8347 (copy-file #$(file-append %artwork-repository
8348 "/slim/0.x/background.png")
8349 "data/theme/guix-background.png")
8350 (copy-file #$(file-append %artwork-repository
8351 "/logo/Guix-horizontal-white.svg")
8352 "data/theme/guix-logo.svg")
8353 #t))))
8354 (build-system meson-build-system)
8355 (arguments
8356 `(#:glib-or-gtk? #t
8357 #:disallowed-references ((,glib "bin")
8358 ,inkscape ,libxslt
8359 ,ruby-sass)
8360 #:configure-flags
8361 (list "-Dsystemd=false"
8362 ;; Otherwise, the RUNPATH will lack the final path component.
8363 (string-append "-Dc_link_args=-Wl,-rpath="
8364 (assoc-ref %outputs "out")
8365 "/lib/gnome-shell"))
8366
8367 #:modules ((guix build meson-build-system)
8368 (guix build utils)
8369 (srfi srfi-1))
8370
8371 #:phases
8372 (modify-phases %standard-phases
8373 (add-after 'unpack 'fix-keysdir
8374 (lambda* (#:key outputs #:allow-other-keys)
8375 (let* ((out (assoc-ref outputs "out"))
8376 (keysdir (string-append
8377 out "/share/gnome-control-center/keybindings")))
8378 (substitute* "meson.build"
8379 (("keysdir =.*")
8380 (string-append "keysdir = '" keysdir "'\n")))
8381 #t)))
8382 (add-before 'configure 'convert-logo-to-png
8383 (lambda* (#:key inputs #:allow-other-keys)
8384 ;; Convert the logo from SVG to PNG.
8385 (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
8386 "data/theme/guix-logo.svg")))
8387 (add-before 'configure 'record-absolute-file-names
8388 (lambda* (#:key inputs #:allow-other-keys)
8389 (substitute* "js/misc/ibusManager.js"
8390 (("'ibus-daemon'")
8391 (string-append "'" (assoc-ref inputs "ibus")
8392 "/bin/ibus-daemon'")))
8393 (substitute* "js/ui/status/keyboard.js"
8394 (("'gkbd-keyboard-display'")
8395 (string-append "'" (assoc-ref inputs "libgnomekbd")
8396 "/bin/gkbd-keyboard-display'")))
8397 #t))
8398 (add-before 'check 'pre-check
8399 (lambda* (#:key inputs #:allow-other-keys)
8400 ;; Tests require a running X server.
8401 (system "Xvfb :1 &")
8402 (setenv "DISPLAY" ":1")
8403 #t))
8404 (add-after 'install 'wrap-programs
8405 (lambda* (#:key inputs outputs #:allow-other-keys)
8406 (let ((out (assoc-ref outputs "out"))
8407 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
8408 (python-path (getenv "PYTHONPATH")))
8409 (wrap-program (string-append out "/bin/gnome-shell")
8410 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
8411 ;; FIXME: gnome-shell loads these libraries with unqualified
8412 ;; names only, so they need to be on LD_LIBRARY_PATH. The
8413 ;; alternative might be to patch gnome-shell.
8414 `("LD_LIBRARY_PATH" ":" prefix
8415 ,(map (lambda (pkg)
8416 (string-append (assoc-ref inputs pkg) "/lib"))
8417 '("gdk-pixbuf"
8418 "gnome-bluetooth" "librsvg" "libgweather"))))
8419 (for-each
8420 (lambda (prog)
8421 (wrap-program (string-append out "/bin/" prog)
8422 `("PYTHONPATH" ":" prefix (,python-path))
8423 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
8424 '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
8425 #t)))
8426 (replace 'glib-or-gtk-wrap
8427 (let ((wrap (assoc-ref %standard-phases 'glib-or-gtk-wrap)))
8428 (lambda* (#:key inputs outputs #:allow-other-keys #:rest rest)
8429 ;; By default Inkscape et al. would end up in the XDG_DATA_DIRS
8430 ;; settings of the wrappers created by the 'glib-or-gtk-wrap'
8431 ;; phase. Fix that since we don't need these.
8432 (wrap #:inputs (fold alist-delete inputs
8433 '("inkscape" "intltool" "glib:bin"))
8434 #:outputs outputs)))))))
8435 (native-inputs
8436 `(("asciidoc" ,asciidoc)
8437 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8438 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8439 ("gobject-introspection" ,gobject-introspection)
8440 ("inkscape" ,inkscape)
8441 ("intltool" ,intltool)
8442 ("pkg-config" ,pkg-config)
8443 ("python" ,python)
8444 ("ruby-sass" ,ruby-sass)
8445 ("sassc" ,sassc)
8446 ("xsltproc" ,libxslt)
8447 ;; For tests
8448 ("xorg-server" ,xorg-server-for-tests)))
8449 (inputs
8450 `(("accountsservice" ,accountsservice)
8451 ("caribou" ,caribou)
8452 ("docbook-xsl" ,docbook-xsl)
8453 ("evolution-data-server" ,evolution-data-server)
8454 ("gcr" ,gcr)
8455 ("gdm" ,gdm)
8456 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8457 ("gjs" ,gjs)
8458 ("gnome-autoar" ,gnome-autoar)
8459 ("gnome-bluetooth" ,gnome-bluetooth)
8460 ("gnome-desktop" ,gnome-desktop)
8461 ("gnome-settings-daemon" ,gnome-settings-daemon)
8462 ("gst-plugins-base" ,gst-plugins-base)
8463 ("ibus" ,ibus)
8464 ("libcanberra" ,libcanberra)
8465 ("libcroco" ,libcroco)
8466 ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display
8467 ("libgweather" ,libgweather)
8468 ("libnma" ,libnma)
8469 ("libsoup" ,libsoup)
8470 ("mesa-headers" ,mesa-headers)
8471 ("mutter" ,mutter)
8472 ("network-manager-applet" ,network-manager-applet)
8473 ("polkit" ,polkit)
8474 ("pulseaudio" ,pulseaudio)
8475 ("python-pygobject" ,python-pygobject)
8476 ("startup-notification" ,startup-notification)
8477 ("telepathy-logger" ,telepathy-logger)
8478 ("upower" ,upower)
8479 ;; XXX: These requirements were added in 3.24, but no mention in NEWS.
8480 ;; Missing propagation? See also: <https://bugs.gnu.org/27264>
8481 ("librsvg" ,librsvg)
8482 ("geoclue" ,geoclue)))
8483 (synopsis "Desktop shell for GNOME")
8484 (home-page "https://wiki.gnome.org/Projects/GnomeShell")
8485 (description
8486 "GNOME Shell provides core user interface functions for the GNOME desktop,
8487 like switching to windows and launching applications.")
8488 (license license:gpl2+)))
8489
8490 (define-public gtk-vnc
8491 (package
8492 (name "gtk-vnc")
8493 (version "1.0.0")
8494 (source
8495 (origin
8496 (method url-fetch)
8497 (uri
8498 (string-append "mirror://gnome/sources/" name "/"
8499 (version-major+minor version) "/"
8500 name "-" version ".tar.xz"))
8501 (sha256
8502 (base32 "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8"))))
8503 (build-system meson-build-system)
8504 (arguments
8505 `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
8506 (native-inputs
8507 `(("gjs" ,gjs)
8508 ("glib:bin" ,glib "bin")
8509 ("gobject-introspection" ,gobject-introspection)
8510 ("intltool" ,intltool)
8511 ("node" ,node)
8512 ("perl" ,perl)
8513 ("pkg-config" ,pkg-config)
8514 ("python" ,python-wrapper)
8515 ("vala" ,vala)))
8516 (inputs
8517 `(("cairo" ,cairo)
8518 ("gdk-pixbuf" ,gdk-pixbuf+svg)
8519 ("glib" ,glib)
8520 ("gnutls" ,gnutls)
8521 ("libgcrypt" ,libgcrypt)
8522 ("libsasl" ,cyrus-sasl)
8523 ("pulseaudio" ,pulseaudio)
8524 ("x11" ,libx11)
8525 ("zlib" ,zlib)))
8526 (propagated-inputs
8527 `(("gtk+" ,gtk+)))
8528 (synopsis "VNC client viewer widget for GTK+")
8529 (description "GTK-VNC is a project providing client side APIs for the RFB
8530 protocol / VNC remote desktop technology. It is built using coroutines allowing
8531 it to be completely asynchronous while remaining single threaded. It provides a
8532 core C library, and bindings for Python (PyGTK).")
8533 (home-page "https://wiki.gnome.org/Projects/gtk-vnc")
8534 (license license:lgpl2.1+)))
8535
8536 (define-public gnome-autoar
8537 (package
8538 (name "gnome-autoar")
8539 (version "0.2.4")
8540 (source (origin
8541 (method url-fetch)
8542 (uri (string-append "mirror://gnome/sources/" name "/"
8543 (version-major+minor version) "/"
8544 name "-" version ".tar.xz"))
8545 (sha256
8546 (base32
8547 "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a"))))
8548 (build-system glib-or-gtk-build-system)
8549 (native-inputs
8550 `(("gobject-introspection" ,gobject-introspection)
8551 ("pkg-config" ,pkg-config)))
8552 (propagated-inputs
8553 `(("libarchive" ,libarchive))) ; Required by gnome-autoar-0.pc
8554 (inputs
8555 `(("gtk+" ,gtk+)))
8556 (synopsis "Archives integration support for GNOME")
8557 (home-page "https://git.gnome.org/browse/gnome-autoar/")
8558 (description
8559 "GNOME Autoar is a library which makes creating and extracting archives
8560 easy, safe, and automatic.")
8561 (license license:lgpl2.1+)))
8562
8563 (define-public tracker
8564 (package
8565 (name "tracker")
8566 (version "2.3.5")
8567 (source (origin
8568 (method url-fetch)
8569 (uri (string-append "mirror://gnome/sources/tracker/"
8570 (version-major+minor version) "/"
8571 "tracker-" version ".tar.xz"))
8572 (sha256
8573 (base32
8574 "1ixxyqjlv7pnl4j8g6b72fkbjvzfspza8y71ppkncry8i6xkr223"))))
8575 (build-system meson-build-system)
8576 (arguments
8577 `(#:glib-or-gtk? #t
8578 #:configure-flags
8579 ;; Otherwise, the RUNPATH will lack the final path component.
8580 (list (string-append "-Dc_link_args=-Wl,-rpath="
8581 (assoc-ref %outputs "out") "/lib:"
8582 (assoc-ref %outputs "out") "/lib/tracker-2.0"))
8583 #:phases
8584 (modify-phases %standard-phases
8585 (add-before 'check 'pre-check
8586 (lambda _
8587 ;; Some tests expect to write to $HOME.
8588 (setenv "HOME" "/tmp")
8589 #t)))))
8590 (native-inputs
8591 `(("glib:bin" ,glib "bin")
8592 ("gobject-introspection" ,gobject-introspection)
8593 ("python-pygobject" ,python-pygobject)
8594 ("intltool" ,intltool)
8595 ("pkg-config" ,pkg-config)
8596 ("vala" ,vala)))
8597 (inputs
8598 `(("dbus" ,dbus)
8599 ("sqlite" ,sqlite)
8600 ("libxml2" ,libxml2)
8601 ("icu4c" ,icu4c) ; libunistring gets miner-miner-fs test to fail.
8602 ("json-glib" ,json-glib)
8603 ("libsoup" ,libsoup)))
8604 (synopsis "Metadata database, indexer and search tool")
8605 (home-page "https://wiki.gnome.org/Projects/Tracker")
8606 (description
8607 "Tracker is a search engine and triplestore for desktop, embedded and mobile.
8608
8609 It is a middleware component aimed at desktop application developers who want
8610 their apps to browse and search user content. It's not designed to be used
8611 directly by desktop users, but it provides a commandline tool named
8612 @command{tracker} for the adventurous.
8613
8614 Tracker allows your application to instantly perform full-text searches across
8615 all documents. This feature is used by the @{emph{search} bar in GNOME Files, for
8616 example. This is achieved by indexing the user's home directory in the
8617 background.
8618
8619 Tracker also allows your application to query and list content that the user
8620 has stored. For example, GNOME Music displays all the music files that are
8621 found by Tracker. This means that GNOME Music doesn't need to maintain a
8622 database of its own.
8623
8624 If you need to go beyond simple searches, Tracker is also a linked data
8625 endpoint and it understands SPARQL. ")
8626 ;; https://gitlab.gnome.org/GNOME/tracker/-/blob/master/COPYING:
8627 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8628 ;; libstemmer is bsd-3 and the rest is gpl2+.
8629 (license (list license:gpl2+
8630 license:bsd-3
8631 license:lgpl2.1+))))
8632
8633 (define-public tracker-miners
8634 (package
8635 (name "tracker-miners")
8636 (version "2.3.4")
8637 (source (origin
8638 (method url-fetch)
8639 (uri (string-append "mirror://gnome/sources/tracker-miners/"
8640 (version-major+minor version)
8641 "/tracker-miners-" version ".tar.xz"))
8642 (sha256
8643 (base32
8644 "10wy8d8ski52k809p7s6lbw72qmg05bbmhnl00vx4qrbzqyxvc0b"))))
8645 (build-system meson-build-system)
8646 (arguments
8647 `(#:glib-or-gtk? #t
8648 #:configure-flags
8649 (list "-Dminer_rss=false" ; libgrss is required.
8650 ;; Ensure the RUNPATH contains all installed library locations.
8651 (string-append "-Dc_link_args=-Wl,-rpath="
8652 (assoc-ref %outputs "out")
8653 "/lib/tracker-miners-2.0")
8654 ;; TODO: Enable functional tests. Currently, the following error
8655 ;; appears:
8656 ;; Exception: The functional tests require DConf to be the default
8657 ;; GSettings backend. Got GKeyfileSettingsBackend instead.
8658 "-Dfunctional_tests=false")))
8659 (native-inputs
8660 `(("dbus" ,dbus)
8661 ("intltool" ,intltool)
8662 ("glib:bin" ,glib "bin")
8663 ("gobject-introspection" ,gobject-introspection)
8664 ("pkg-config" ,pkg-config)
8665 ("python-pygobject" ,python-pygobject)))
8666 (inputs
8667 `(("exempi" ,exempi)
8668 ("ffmpeg" ,ffmpeg)
8669 ("flac" ,flac)
8670 ("giflib" ,giflib)
8671 ("glib" ,glib)
8672 ("gstreamer" ,gstreamer)
8673 ("icu4c" ,icu4c)
8674 ("libcue" ,libcue)
8675 ("libexif" ,libexif)
8676 ("libgsf" ,libgsf)
8677 ("libgxps" ,libgxps)
8678 ("libiptcdata" ,libiptcdata)
8679 ("libjpeg" ,libjpeg-turbo)
8680 ("libosinfo" ,libosinfo)
8681 ("libpng" ,libpng)
8682 ("libseccomp" ,libseccomp)
8683 ("libtiff" ,libtiff)
8684 ("libvorbis" ,libvorbis)
8685 ("libxml2" ,libxml2)
8686 ("poppler" ,poppler)
8687 ("taglib" ,taglib)
8688 ("totem-pl-parser" ,totem-pl-parser)
8689 ("tracker" ,tracker)
8690 ("upower" ,upower)
8691 ("zlib" ,zlib)))
8692 (synopsis "Metadata database, indexer and search tool")
8693 (home-page "https://wiki.gnome.org/Projects/Tracker")
8694 (description
8695 "Tracker is an advanced framework for first class objects with associated
8696 metadata and tags. It provides a one stop solution for all metadata, tags,
8697 shared object databases, search tools and indexing.")
8698 ;; src/libtracker-*/* and src/tracker-extract/* are covered by lgpl2.1+,
8699 ;; src/gvdb/* are covered by lgpl2.0+, and the rest is gpl2+.
8700 (license (list license:gpl2+
8701 license:lgpl2.1+
8702 license:lgpl2.0+))))
8703
8704 (define-public nautilus
8705 (package
8706 (name "nautilus")
8707 (version "3.34.2")
8708 (source (origin
8709 (method url-fetch)
8710 (uri (string-append "mirror://gnome/sources/" name "/"
8711 (version-major+minor version) "/"
8712 name "-" version ".tar.xz"))
8713 (sha256
8714 (base32
8715 "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"))))
8716 (build-system meson-build-system)
8717 (arguments
8718 '(#:glib-or-gtk? #t
8719 #:phases
8720 (modify-phases %standard-phases
8721 (add-after 'unpack 'skip-gtk-update-icon-cache
8722 ;; Don't create 'icon-theme.cache'.
8723 (lambda _
8724 (substitute* "build-aux/meson/postinstall.py"
8725 (("gtk-update-icon-cache") "true"))
8726 #t)))
8727 ;; XXX: FAIL: check-nautilus
8728 ;; Settings schema 'org.gnome.nautilus.preferences' is not installed
8729 #:tests? #f))
8730 (native-inputs
8731 `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8732 ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
8733 ("gobject-introspection" ,gobject-introspection)
8734 ("intltool" ,intltool)
8735 ("pkg-config" ,pkg-config)))
8736 (inputs
8737 `(("dconf" ,dconf)
8738 ("gexiv2" ,gexiv2)
8739 ("gvfs" ,gvfs)
8740 ("exempi" ,exempi)
8741 ("gnome-desktop" ,gnome-desktop)
8742 ("gnome-autoar" ,gnome-autoar)
8743 ("gst-plugins-base" ,gst-plugins-base)
8744 ("libseccomp" ,libseccomp)
8745 ("libselinux" ,libselinux)
8746 ("tracker" ,tracker)
8747 ("tracker-miners" ,tracker-miners)
8748 ;; XXX: gtk+ is required by libnautilus-extension.pc
8749 ;;
8750 ;; Don't propagate it to reduces "profile pollution" of the 'gnome' meta
8751 ;; package. See:
8752 ;; <http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00283.html>.
8753 ("gtk+" ,gtk+)
8754 ("libexif" ,libexif)
8755 ("libxml2" ,libxml2)))
8756 (synopsis "File manager for GNOME")
8757 (home-page "https://wiki.gnome.org/Apps/Nautilus")
8758 (description
8759 "Nautilus (Files) is a file manager designed to fit the GNOME desktop
8760 design and behaviour, giving the user a simple way to navigate and manage its
8761 files.")
8762 (license license:gpl2+)))
8763
8764 (define-public baobab
8765 (package
8766 (name "baobab")
8767 (version "3.32.0")
8768 (source (origin
8769 (method url-fetch)
8770 (uri (string-append
8771 "mirror://gnome/sources/" name "/"
8772 (version-major+minor version) "/"
8773 name "-" version ".tar.xz"))
8774 (sha256
8775 (base32
8776 "0b33s9bhpiffv5wl76cq2bbnqhvx3qs2vxyxmil5gcs583llqh9r"))))
8777 (build-system meson-build-system)
8778 (arguments
8779 '(#:glib-or-gtk? #t))
8780 (native-inputs
8781 `(("intltool" ,intltool)
8782 ("pkg-config" ,pkg-config)
8783 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8784 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8785 ("itstool" ,itstool)
8786 ("xmllint" ,libxml2)
8787 ("glib" ,glib "bin")
8788 ("vala" ,vala)))
8789 (inputs
8790 `(("gtk+" ,gtk+)))
8791 (synopsis "Disk usage analyzer for GNOME")
8792 (description
8793 "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk
8794 usage in the GNOME desktop environment. It can easily scan device volumes or
8795 a specific user-requested directory branch (local or remote). Once the scan
8796 is complete it provides a graphical representation of each selected folder.")
8797 (home-page "https://wiki.gnome.org/Apps/Baobab")
8798 (license license:gpl2+)))
8799
8800 (define-public gnome-backgrounds
8801 (package
8802 (name "gnome-backgrounds")
8803 (version "3.34.0")
8804 (source
8805 (origin
8806 (method url-fetch)
8807 (uri (string-append "mirror://gnome/sources/" name "/"
8808 (version-major+minor version) "/"
8809 name "-" version ".tar.xz"))
8810 (sha256
8811 (base32
8812 "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"))))
8813 (build-system meson-build-system)
8814 (native-inputs
8815 `(("intltool" ,intltool)))
8816 (home-page "https://gitlab.gnome.org/GNOME/gnome-backgrounds")
8817 (synopsis "Background images for the GNOME desktop")
8818 (description
8819 "GNOME backgrounds package contains a collection of graphics files which
8820 can be used as backgrounds in the GNOME Desktop environment. Additionally,
8821 the package creates the proper framework and directory structure so that you
8822 can add your own files to the collection.")
8823 (license (list license:gpl2+
8824 license:cc-by2.0
8825 license:cc-by-sa2.0
8826 license:cc-by-sa3.0))))
8827
8828 (define-public gnome-screenshot
8829 (package
8830 (name "gnome-screenshot")
8831 (version "3.34.0")
8832 (source
8833 (origin
8834 (method url-fetch)
8835 (uri (string-append "mirror://gnome/sources/" name "/"
8836 (version-major+minor version) "/"
8837 name "-" version ".tar.xz"))
8838 (sha256
8839 (base32
8840 "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
8841 (build-system meson-build-system)
8842 (arguments
8843 '(#:phases
8844 (modify-phases %standard-phases
8845 (add-after 'unpack 'skip-gtk-update-icon-cache
8846 ;; Don't create 'icon-theme.cache'.
8847 (lambda _
8848 (substitute* "build-aux/postinstall.py"
8849 (("gtk-update-icon-cache") "true"))
8850 #t)))))
8851 (native-inputs
8852 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
8853 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
8854 ("intltool" ,intltool)
8855 ("appstream-glib" ,appstream-glib)
8856 ("pkg-config" ,pkg-config)))
8857 (inputs
8858 `(("gtk+" ,gtk+)
8859 ("libcanberra" ,libcanberra)
8860 ("libx11" ,libx11)
8861 ("libxext" ,libxext)))
8862 (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
8863 (synopsis "Take pictures of your screen")
8864 (description
8865 "GNOME Screenshot is a utility used for taking screenshots of the entire
8866 screen, a window or a user defined area of the screen, with optional
8867 beautifying border effects.")
8868 (license license:gpl2+)))
8869
8870 (define-public dconf-editor
8871 (package
8872 (name "dconf-editor")
8873 (version "3.34.2")
8874 (source
8875 (origin
8876 (method url-fetch)
8877 (uri (string-append "mirror://gnome/sources/" name "/"
8878 (version-major+minor version) "/"
8879 name "-" version ".tar.xz"))
8880 (sha256
8881 (base32
8882 "0pwxjada2vaf69ihpjgp9nky54iykvxq63lp1vl8pxjanif2mk6f"))))
8883 (build-system meson-build-system)
8884 (native-inputs
8885 `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
8886 ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
8887 ("intltool" ,intltool)
8888 ("pkg-config" ,pkg-config)
8889 ("vala" ,vala)))
8890 (inputs
8891 `(("dconf" ,dconf)
8892 ("gtk+" ,gtk+)
8893 ("libxml2" ,libxml2)))
8894 (home-page "https://gitlab.gnome.org/GNOME/dconf-editor")
8895 (synopsis "Graphical editor for GNOME's dconf configuration system")
8896 (description
8897 "Dconf-editor is a graphical tool for browsing and editing the dconf
8898 configuration system for GNOME. It allows users to configure desktop
8899 software that do not provide their own configuration interface.")
8900 (license license:lgpl2.1+)))
8901
8902 (define-public gnome-default-applications
8903 (package
8904 (name "gnome-default-applications")
8905 (version "0")
8906 (build-system trivial-build-system)
8907 (source #f)
8908 (propagated-inputs
8909 `(("nautilus" ,nautilus)
8910 ("evince" ,evince)))
8911 (arguments
8912 `(#:modules ((guix build utils))
8913 #:builder
8914 (begin
8915 (use-modules (guix build utils))
8916 (let* ((out (assoc-ref %outputs "out"))
8917 (apps (string-append out "/share/applications")))
8918 (mkdir-p apps)
8919 (call-with-output-file (string-append apps "/gnome-mimeapps.list")
8920 (lambda (port)
8921 (format port "[Default Applications]\n")
8922 (format port "inode/directory=org.gnome.Nautilus.desktop\n")
8923 (format port "application/pdf=evince.desktop\n")
8924 (format port "application/postscript=evince.desktop\n")))
8925 #t))))
8926 (synopsis "Default MIME type associations for the GNOME desktop")
8927 (description
8928 "Given many installed packages which might handle a given MIME type, a
8929 user running the GNOME desktop probably has some preferences: for example,
8930 that folders be opened by default by the Nautilus file manager, not the Baobab
8931 disk usage analyzer. This package establishes that set of default MIME type
8932 associations for GNOME.")
8933 (license license:gpl3+)
8934 (home-page #f)))
8935
8936 (define-public libgovirt
8937 (package
8938 (name "libgovirt")
8939 (version "0.3.6")
8940 (source (origin
8941 (method url-fetch)
8942 (uri (string-append "mirror://gnome/sources/" name "/"
8943 (version-major+minor version) "/"
8944 name "-" version ".tar.xz"))
8945 (sha256
8946 (base32
8947 "19pb71pag3vsi83kbv8h08kimwym4hpw36kjl6a5ik5nk50mc8sg"))))
8948 (build-system glib-or-gtk-build-system)
8949 (native-inputs
8950 `(("gettext" ,gettext-minimal)
8951 ("glib:bin" ,glib "bin")
8952 ("gobject-introspection" ,gobject-introspection)
8953 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
8954 ("gtk+:bin" ,gtk+ "bin")
8955 ("pkg-config" ,pkg-config)))
8956 (inputs
8957 `(("glib-networking" ,glib-networking) ; GIO plugin--for the tests
8958 ("librest" ,rest)))
8959 (synopsis "GoVirt Library")
8960 (description "GoVirt is a GObject wrapper for the oVirt REST API.")
8961 (home-page "https://gitlab.gnome.org/GNOME/libgovirt")
8962 (license license:gpl2+)))
8963
8964 (define-public gnome-weather
8965 (package
8966 (name "gnome-weather")
8967 (version "3.34.0")
8968 (source (origin
8969 (method url-fetch)
8970 (uri (string-append "mirror://gnome/sources/" name "/"
8971 (version-major+minor version) "/"
8972 name "-" version ".tar.xz"))
8973 (sha256
8974 (base32
8975 "1g63xzs17i36if923b36k9fwbk0nqa5vz6zh1k6q2axrzhhpx1i4"))))
8976 (build-system meson-build-system)
8977 (native-inputs
8978 `(("gettext" ,gettext-minimal)
8979 ("glib:bin" ,glib "bin")
8980 ("gobject-introspection" ,gobject-introspection)
8981 ("gtk+:bin" ,gtk+ "bin")
8982 ("pkg-config" ,pkg-config)))
8983 (inputs
8984 `( ;("adwaita-icon-theme" ,adwaita-icon-theme)
8985 ("appstream-glib" ,appstream-glib)
8986 ("geoclue" ,geoclue)
8987 ("gdk-pixbuf" ,gdk-pixbuf)
8988 ("gjs" ,gjs)
8989 ("gnome-desktop" ,gnome-desktop)
8990 ("libgweather" ,libgweather)))
8991 (arguments
8992 `(#:glib-or-gtk? #t
8993 #:phases
8994 (modify-phases %standard-phases
8995 (add-after 'install 'fix-desktop-file
8996 ;; FIXME: "gapplication launch org.gnome.Weather" fails for some reason.
8997 ;; See https://issues.guix.gnu.org/issue/39324.
8998 (lambda* (#:key outputs #:allow-other-keys)
8999 (let* ((out (assoc-ref outputs "out"))
9000 (applications (string-append out "/share/applications")))
9001 (substitute* (string-append applications "/org.gnome.Weather.desktop")
9002 (("Exec=.*") "Exec=gnome-weather\n"))
9003 #t)))
9004 (add-after 'install 'wrap
9005 (lambda* (#:key inputs outputs #:allow-other-keys)
9006 (let ((out (assoc-ref outputs "out"))
9007 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9008 ;; GNOME Weather needs the typelib files of GTK+, Pango etc at runtime.
9009 (wrap-program (string-append out "/bin/gnome-weather")
9010 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
9011 #t))))))
9012 (synopsis "Weather monitoring for GNOME desktop")
9013 (description "GNOME Weather is a small application that allows you to
9014 monitor the current weather conditions for your city, or anywhere in the
9015 world.")
9016 (home-page "https://wiki.gnome.org/Apps/Weather")
9017 (license license:gpl2+)))
9018
9019 (define-public gnome
9020 (package
9021 (name "gnome")
9022 (version (package-version gnome-shell))
9023 (source #f)
9024 (build-system trivial-build-system)
9025 (arguments '(#:builder (begin (mkdir %output) #t)))
9026 (propagated-inputs
9027 ;; TODO: Add or remove packages according to:
9028 ;; <https://calc.disroot.org/2nu6mpf88ynq.html>.
9029 `(
9030 ;; GNOME-Core-OS-Services
9031 ("accountsservice" ,accountsservice)
9032 ("network-manager" ,network-manager)
9033 ("packagekit" ,packagekit)
9034 ("upower" ,upower)
9035 ;; GNOME-Core-Shell
9036 ("adwaita-icon-theme" ,adwaita-icon-theme)
9037 ("gdm" ,gdm)
9038 ("glib-networking" ,glib-networking)
9039 ("gnome-backgrounds" ,gnome-backgrounds)
9040 ("gnome-bluetooth" ,gnome-bluetooth)
9041 ("gnome-color-manager" ,gnome-color-manager)
9042 ("gnome-control-center" ,gnome-control-center)
9043 ("gnome-desktop" ,gnome-desktop)
9044 ("gnome-getting-started-docs" ,gnome-getting-started-docs)
9045 ("gnome-initial-setup" ,gnome-initial-setup)
9046 ("gnome-keyring" ,gnome-keyring)
9047 ("gnome-menus" ,gnome-menus)
9048 ("gnome-session" ,gnome-session)
9049 ("gnome-settings-daemon" ,gnome-settings-daemon)
9050 ("gnome-shell-extensions" ,gnome-shell-extensions)
9051 ("gnome-shell" ,gnome-shell)
9052 ("gnome-themes-extra" ,gnome-themes-extra)
9053 ("gnome-user-docs" ,gnome-user-docs)
9054 ("gnome-user-share" ,gnome-user-share)
9055 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9056 ("gvfs" ,gvfs)
9057 ("mutter" ,mutter)
9058 ("orca" ,orca)
9059 ("rygel" ,rygel)
9060 ("sushi" ,sushi)
9061 ;; GNOME-Core-Utilities
9062 ("baobab" ,baobab)
9063 ("cheese" ,cheese)
9064 ;; XXX: EoG requires librsvg-next, which depends on Rust, which currently
9065 ;; only works on x86_64, so exclude it on other architectures.
9066 ,@(if (string-prefix? "x86_64" (%current-system))
9067 `(("eog" ,eog))
9068 '())
9069 ("epiphany" ,epiphany)
9070 ("evince" ,evince)
9071 ("file-roller" ,file-roller)
9072 ("gedit" ,gedit)
9073 ("gnome-boxes" ,gnome-boxes)
9074 ("gnome-calculator" ,gnome-calculator)
9075 ("gnome-calendar" ,gnome-calendar)
9076 ("gnome-characters" ,gnome-characters)
9077 ("gnome-clocks" ,gnome-clocks)
9078 ("gnome-contacts" ,gnome-contacts)
9079 ("gnome-disk-utility" ,gnome-disk-utility)
9080 ("gnome-font-viewer" ,gnome-font-viewer)
9081 ("gnome-maps" ,gnome-maps)
9082 ; TODO: ("gnome-music" ,gnome-music)
9083 ; TODO: ("gnome-photos" ,gnome-photos)
9084 ("gnome-screenshot" ,gnome-screenshot)
9085 ("gnome-system-monitor" ,gnome-system-monitor)
9086 ("gnome-terminal" ,gnome-terminal)
9087 ("gnome-weather" ,gnome-weather)
9088 ("nautilus" ,nautilus)
9089 ("simple-scan" ,simple-scan)
9090 ("totem" ,totem)
9091 ("yelp" ,yelp)
9092 ;; Others
9093 ("hicolor-icon-theme" ,hicolor-icon-theme)
9094 ("gnome-online-accounts" ,gnome-online-accounts)
9095
9096 ;; Packages not part of GNOME proper but that are needed for a good
9097 ;; experience. See <https://bugs.gnu.org/39646>.
9098 ;; XXX: Find out exactly which ones are needed and why.
9099 ("font-cantarell" ,font-cantarell)
9100 ("font-dejavu" ,font-dejavu)
9101 ("at-spi2-core" ,at-spi2-core)
9102 ("dbus" ,dbus)
9103 ("dconf" ,dconf)
9104 ("desktop-file-utils" ,desktop-file-utils)
9105 ("gnome-default-applications" ,gnome-default-applications)
9106 ("gnome-themes-standard" ,gnome-themes-standard)
9107 ("gst-plugins-base" ,gst-plugins-base)
9108 ("gst-plugins-good" ,gst-plugins-good)
9109 ("gucharmap" ,gucharmap)
9110 ("pinentry-gnome3" ,pinentry-gnome3)
9111 ("pulseaudio" ,pulseaudio)
9112 ("shared-mime-info" ,shared-mime-info)
9113 ("system-config-printer" ,system-config-printer)
9114 ("xdg-user-dirs" ,xdg-user-dirs)
9115 ("yelp" ,yelp)
9116 ("zenity" ,zenity)))
9117 (synopsis "The GNU desktop environment")
9118 (home-page "https://www.gnome.org/")
9119 (description
9120 "GNOME is the graphical desktop for GNU. It includes a wide variety of
9121 applications for browsing the web, editing text and images, creating
9122 documents and diagrams, playing media, scanning, and much more.")
9123 (license license:gpl2+)))
9124
9125 (define-public byzanz
9126 ;; The last stable release of Byzanz was in 2011, but there have been many
9127 ;; useful commits made to the Byzanz repository since then that it would be
9128 ;; silly to use such an old release.
9129 (let ((commit "f7af3a5bd252db84af8365bd059c117a7aa5c4af"))
9130 (package
9131 (name "byzanz")
9132 (version (string-append "0.2-1." (string-take commit 7)))
9133 (source (origin
9134 (method git-fetch)
9135 (uri (git-reference
9136 (url "https://git.gnome.org/browse/byzanz")
9137 (commit commit)))
9138 (file-name (string-append name "-" version "-checkout"))
9139 (sha256
9140 (base32
9141 "1l60myzxf9cav27v5v3nsijlslz9r7ip6d5kiirfpkf9k0w26hz3"))))
9142 (build-system glib-or-gtk-build-system)
9143 (arguments
9144 '(#:phases
9145 (modify-phases %standard-phases
9146 (add-before 'bootstrap 'build-without-Werror
9147 (lambda _
9148 ;; The build system cleverly detects that we're not building from
9149 ;; a release tarball and turns on -Werror for GCC.
9150 ;; Unsurprisingly, there is a warning during compilation that
9151 ;; causes the build to fail unnecessarily, so we remove the flag.
9152 (substitute* '("configure.ac")
9153 (("-Werror") ""))
9154 #t)))))
9155 (native-inputs
9156 `(("autoconf" ,autoconf)
9157 ("automake" ,automake)
9158 ("gnome-common" ,gnome-common)
9159 ("intltool" ,intltool)
9160 ("libtool" ,libtool)
9161 ("pkg-config" ,pkg-config)
9162 ("which" ,which)))
9163 (inputs
9164 `(("glib" ,glib)
9165 ("gstreamer" ,gstreamer)
9166 ("gst-plugins-base" ,gst-plugins-base)
9167 ("gtk+" ,gtk+)))
9168 (synopsis "Desktop recording program")
9169 (description "Byzanz is a simple desktop recording program with a
9170 command-line interface. It can record part or all of an X display for a
9171 specified duration and save it as a GIF encoded animated image file.")
9172 (home-page "https://git.gnome.org/browse/byzanz")
9173 (license license:gpl2+))))
9174
9175 (define-public authenticator
9176 (package
9177 (name "authenticator")
9178 (version "3.32.2")
9179 (source
9180 (origin
9181 (method git-fetch)
9182 (uri (git-reference
9183 (url "https://gitlab.gnome.org/World/Authenticator")
9184 (commit version)))
9185 (file-name (git-file-name name version))
9186 (sha256
9187 (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr"))))
9188 (build-system meson-build-system)
9189 (arguments
9190 `(#:glib-or-gtk? #t
9191 #:phases
9192 (modify-phases %standard-phases
9193 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
9194 (lambda* (#:key inputs outputs #:allow-other-keys)
9195 (let ((prog (string-append (assoc-ref outputs "out")
9196 "/bin/authenticator"))
9197 (pylib (string-append (assoc-ref outputs "out")
9198 "/lib/python"
9199 ,(version-major+minor
9200 (package-version python))
9201 "/site-packages")))
9202 (wrap-program prog
9203 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
9204 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
9205 #t))))))
9206 (native-inputs
9207 `(("desktop-file-utils" ,desktop-file-utils)
9208 ("gettext" ,gettext-minimal)
9209 ("glib:bin" ,glib "bin")
9210 ("gobject-introspection" ,gobject-introspection)
9211 ("gtk+:bin" ,gtk+ "bin")
9212 ("pkg-config" ,pkg-config)))
9213 (inputs
9214 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9215 ("gtk+" ,gtk+)
9216 ("libhandy" ,libhandy-0.0)
9217 ("libsecret" ,libsecret)
9218 ("python-beautifulsoup4" ,python-beautifulsoup4)
9219 ("python-pillow" ,python-pillow)
9220 ("python-pyfavicon" ,python-pyfavicon)
9221 ("python-pygobject" ,python-pygobject)
9222 ("python-pyotp" ,python-pyotp)
9223 ("python-pyzbar" ,python-pyzbar)
9224 ("yoyo-migrations" ,yoyo-migrations)
9225 ("zbar" ,zbar)))
9226 (home-page "https://gitlab.gnome.org/World/Authenticator/")
9227 (synopsis "Two-factor authentication application built for GNOME")
9228 (description
9229 "Authenticator is a two-factor authentication (2FA) application built for
9230 the GNOME desktop environment.
9231
9232 Features:
9233
9234 @itemize
9235 @item QR code scanner
9236 @item Beautiful UI
9237 @item Huge database of more than 560 supported services
9238 @item Keep your PIN tokens secure by locking the application with a password
9239 @item Automatically fetch an image for services using their favicon
9240 @item The possibility to add new services
9241 @end itemize")
9242 (license license:gpl3+)))
9243
9244 (define-public gsound
9245 (package
9246 (name "gsound")
9247 (version "1.0.2")
9248 (source (origin
9249 (method url-fetch)
9250 (uri (string-append "mirror://gnome/sources/" name "/"
9251 (version-major+minor version) "/"
9252 name "-" version ".tar.xz"))
9253 (sha256
9254 (base32
9255 "0lwfwx2c99qrp08pfaj59pks5dphsnxjgrxyadz065d8xqqgza5v"))))
9256 (build-system glib-or-gtk-build-system)
9257 (native-inputs
9258 `(("pkg-config" ,pkg-config)
9259 ("gobject-introspection" ,gobject-introspection)
9260 ("vala" ,vala)))
9261 (inputs
9262 `(("glib" ,glib)
9263 ("libcanberra" ,libcanberra)))
9264 (home-page "https://wiki.gnome.org/Projects/GSound")
9265 (synopsis "GObject wrapper for libcanberra")
9266 (description
9267 "GSound is a small library for playing system sounds. It's designed to be
9268 used via GObject Introspection, and is a thin wrapper around the libcanberra C
9269 library.")
9270 (license license:lgpl2.1+)))
9271
9272 (define-public libzapojit
9273 (package
9274 (name "libzapojit")
9275 (version "0.0.3")
9276 (source (origin
9277 (method url-fetch)
9278 (uri (string-append "mirror://gnome/sources/" name "/"
9279 (version-major+minor version) "/"
9280 name "-" version ".tar.xz"))
9281 (sha256
9282 (base32
9283 "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x"))))
9284 (build-system gnu-build-system)
9285 (native-inputs
9286 `(("gobject-introspection" ,gobject-introspection)
9287 ("intltool" ,intltool)
9288 ("pkg-config" ,pkg-config)))
9289 (inputs
9290 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9291 ("json-glib" ,json-glib)
9292 ("rest" ,rest)))
9293 (home-page "https://wiki.gnome.org/Projects/Zapojit")
9294 (synopsis "Library for accessing SkyDrive and Hotmail")
9295 (description
9296 "Libzapojit is a GLib-based library for accessing online service APIs of
9297 Microsoft SkyDrive and Hotmail, using their REST protocols.")
9298 (license license:lgpl2.1+)))
9299
9300 (define-public gnome-clocks
9301 (package
9302 (name "gnome-clocks")
9303 (version "3.34.0")
9304 (source (origin
9305 (method url-fetch)
9306 (uri (string-append "mirror://gnome/sources/" name "/"
9307 (version-major+minor version) "/"
9308 name "-" version ".tar.xz"))
9309 (sha256
9310 (base32
9311 "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
9312 (build-system meson-build-system)
9313 (arguments
9314 '(#:glib-or-gtk? #t
9315 #:phases
9316 (modify-phases %standard-phases
9317 (add-after 'unpack 'skip-gtk-update-icon-cache
9318 ;; Don't create 'icon-theme.cache'.
9319 (lambda _
9320 (substitute* "build-aux/post-install.py"
9321 (("gtk-update-icon-cache") "true"))
9322 #t)))))
9323 (native-inputs
9324 `(("vala" ,vala)
9325 ("pkg-config" ,pkg-config)
9326 ("glib" ,glib "bin") ; for glib-compile-resources
9327 ("desktop-file-utils" ,desktop-file-utils)
9328 ("gettext" ,gettext-minimal)
9329 ("itstool" ,itstool)))
9330 (inputs
9331 `(("glib" ,glib)
9332 ("gtk+" ,gtk+)
9333 ("gsound" ,gsound)
9334 ("geoclue" ,geoclue)
9335 ("geocode-glib" ,geocode-glib)
9336 ("libgweather" ,libgweather)
9337 ("gnome-desktop" ,gnome-desktop)))
9338 (home-page "https://wiki.gnome.org/Apps/Clocks")
9339 (synopsis "GNOME's clock application")
9340 (description
9341 "GNOME Clocks is a simple clocks application designed to fit the GNOME
9342 desktop. It supports world clock, stop watch, alarms, and count down timer.")
9343 (license license:gpl3+)))
9344
9345 (define-public gnome-calendar
9346 (package
9347 (name "gnome-calendar")
9348 (version "3.34.2")
9349 (source (origin
9350 (method url-fetch)
9351 (uri (string-append "mirror://gnome/sources/" name "/"
9352 (version-major+minor version) "/"
9353 name "-" version ".tar.xz"))
9354 (sha256
9355 (base32
9356 "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"))))
9357 (build-system meson-build-system)
9358 (arguments
9359 '(#:glib-or-gtk? #t
9360 ;; gnome-calendar has to be installed before the tests can be run
9361 ;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
9362 #:tests? #f
9363 #:phases
9364 (modify-phases %standard-phases
9365 (add-after 'unpack 'skip-gtk-update-icon-cache
9366 ;; Don't create 'icon-theme.cache'.
9367 (lambda _
9368 (substitute* "build-aux/meson/meson_post_install.py"
9369 (("gtk-update-icon-cache") "true"))
9370 #t)))))
9371 (native-inputs
9372 `(("gettext" ,gettext-minimal)
9373 ("glib-bin" ,glib "bin") ; For glib-compile-schemas
9374 ("pkg-config" ,pkg-config)))
9375 (inputs
9376 `(("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9377 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9378 ("libdazzle" ,libdazzle)
9379 ("libedataserverui" ,evolution-data-server)
9380 ("libgweather" ,libgweather)
9381 ("geoclue" ,geoclue)))
9382 (propagated-inputs
9383 `(("evolution-data-server" ,evolution-data-server)))
9384 (home-page "https://wiki.gnome.org/Apps/Calendar")
9385 (synopsis "GNOME's calendar application")
9386 (description
9387 "GNOME Calendar is a simple calendar application designed to fit the GNOME
9388 desktop. It supports multiple calendars, month, week and year view.")
9389 (license license:gpl3+)))
9390
9391 (define-public gnome-todo
9392 (package
9393 (name "gnome-todo")
9394 (version "3.28.1")
9395 (source (origin
9396 (method url-fetch)
9397 (uri (string-append "mirror://gnome/sources/" name "/"
9398 (version-major+minor version) "/"
9399 name "-" version ".tar.xz"))
9400 (sha256
9401 (base32
9402 "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
9403 (patches
9404 (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
9405 (build-system meson-build-system)
9406 (arguments
9407 '(#:glib-or-gtk? #t
9408 #:phases (modify-phases %standard-phases
9409 (add-after
9410 'install 'wrap-gnome-todo
9411 (lambda* (#:key inputs outputs #:allow-other-keys)
9412 (let ((out (assoc-ref outputs "out"))
9413 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
9414 (python-path (getenv "PYTHONPATH")))
9415 (wrap-program (string-append out "/bin/gnome-todo")
9416 ;; XXX: gi plugins are broken.
9417 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=787212
9418 ;; For plugins.
9419 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
9420 `("PYTHONPATH" ":" prefix (,python-path))))
9421 #t)))))
9422 (native-inputs
9423 `(("gettext" ,gettext-minimal)
9424 ("gobject-introspection" ,gobject-introspection)
9425 ("glib:bin" ,glib "bin") ; For glib-compile-resources
9426 ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
9427 ("pkg-config" ,pkg-config)))
9428 (inputs
9429 `(("rest" ,rest) ; For Todoist plugin
9430 ("json-glib" ,json-glib) ; For Todoist plugin
9431 ("libedataserverui" ,evolution-data-server)
9432 ("libical" ,libical)
9433 ("libpeas" ,libpeas)
9434 ("python-pygobject" ,python-pygobject)
9435 ("evolution-data-server" ,evolution-data-server)
9436 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9437 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
9438 (home-page "https://wiki.gnome.org/Apps/Todo")
9439 (synopsis "GNOME's ToDo Application")
9440 (description
9441 "GNOME To Do is a simplistic personal task manager designed to perfectly
9442 fit the GNOME desktop.")
9443 (license license:gpl3+)))
9444
9445 (define-public gnome-dictionary
9446 (package
9447 (name "gnome-dictionary")
9448 (version "3.26.1")
9449 (source (origin
9450 (method url-fetch)
9451 (uri (string-append "mirror://gnome/sources/" name "/"
9452 (version-major+minor version) "/"
9453 name "-" version ".tar.xz"))
9454 (sha256
9455 (base32
9456 "007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
9457 (build-system meson-build-system)
9458 (arguments '(#:glib-or-gtk? #t
9459 #:phases (modify-phases %standard-phases
9460 (add-after 'unpack 'patch-install-script
9461 (lambda _
9462 ;; This script attempts to compile glib schemas
9463 ;; and create an empty MIME database. We do
9464 ;; that elsewhere, so prevent it from running.
9465 (substitute* "build-aux/post-install.sh"
9466 (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
9467 #t)))))
9468 (native-inputs
9469 `(("glib:bin" ,glib "bin")
9470 ("gobject-introspection" ,gobject-introspection)
9471 ("intltool" ,intltool)
9472 ("itstool" ,itstool)
9473 ("pkg-config" ,pkg-config)
9474 ("xmllint" ,libxml2)))
9475 (inputs
9476 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9477 ("gtk+" ,gtk+)))
9478 (home-page "https://wiki.gnome.org/Apps/Dictionary")
9479 (synopsis "Look up words in dictionary sources")
9480 (description
9481 "GNOME Dictionary can look for the definition or translation of a word in
9482 existing databases over the internet.")
9483 (license license:gpl3+)))
9484
9485 (define-public gnome-tweaks
9486 (package
9487 (name "gnome-tweaks")
9488 (version "3.34.0")
9489 (source (origin
9490 (method url-fetch)
9491 (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
9492 (version-major+minor version) "/"
9493 "gnome-tweaks-" version ".tar.xz"))
9494 (patches
9495 (list (search-patch "gnome-tweaks-search-paths.patch")))
9496 (sha256
9497 (base32
9498 "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0"))))
9499 (build-system meson-build-system)
9500 (arguments
9501 `(#:glib-or-gtk? #t
9502 #:configure-flags '("-Dlocalstatedir=/tmp"
9503 "-Dsysconfdir=/tmp")
9504 #:imported-modules ((guix build python-build-system)
9505 ,@%meson-build-system-modules)
9506 #:phases
9507 (modify-phases %standard-phases
9508 (add-after 'unpack 'skip-gtk-update-icon-cache
9509 ;; Don't create 'icon-theme.cache'.
9510 (lambda _
9511 (substitute* "meson-postinstall.py"
9512 (("gtk-update-icon-cache") "true"))
9513 #t))
9514 (add-after 'install 'wrap
9515 (@@ (guix build python-build-system) wrap))
9516 (add-after 'wrap 'wrap-gi-typelib
9517 (lambda* (#:key inputs outputs #:allow-other-keys)
9518 (let ((out (assoc-ref outputs "out"))
9519 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
9520 (wrap-program (string-append out "/bin/gnome-tweaks")
9521 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
9522 #t)))))
9523 (native-inputs
9524 `(("intltool" ,intltool)
9525 ("pkg-config" ,pkg-config)))
9526 (inputs
9527 `(("gnome-desktop" ,gnome-desktop)
9528 ("gtk+" ,gtk+)
9529 ("gobject-introspection" ,gobject-introspection)
9530 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
9531 ("libhandy" ,libhandy-0.0)
9532 ("libnotify" ,libnotify)
9533 ("libsoup" ,libsoup)
9534 ("nautilus" ,nautilus)
9535 ("python" ,python)
9536 ("python-pygobject" ,python-pygobject)))
9537 (synopsis "Customize advanced GNOME 3 options")
9538 (home-page "https://wiki.gnome.org/Apps/Tweaks")
9539 (description
9540 "GNOME Tweaks allows adjusting advanced configuration settings in
9541 GNOME 3. This includes things like the fonts used in user interface elements,
9542 alternative user interface themes, changes in window management behavior,
9543 GNOME Shell appearance and extension, etc.")
9544 (license license:gpl3+)))
9545
9546 (define-public gnome-shell-extensions
9547 (package
9548 (name "gnome-shell-extensions")
9549 (version "3.34.2")
9550 (source (origin
9551 (method url-fetch)
9552 (uri (string-append "mirror://gnome/sources/" name "/"
9553 (version-major+minor version) "/"
9554 name "-" version ".tar.xz"))
9555 (sha256
9556 (base32
9557 "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"))))
9558 (build-system meson-build-system)
9559 (arguments
9560 '(#:configure-flags '("-Dextension_set=all")))
9561 (native-inputs
9562 `(("glib:bin" ,glib "bin")
9563 ("intltool" ,intltool)
9564 ("pkg-config" ,pkg-config)))
9565 (propagated-inputs
9566 `(("glib" ,glib)))
9567 (synopsis "Extensions for GNOME Shell")
9568 (description "GNOME Shell extensions modify and extend GNOME Shell
9569 functionality and behavior.")
9570 (home-page "https://extensions.gnome.org/")
9571 (license license:gpl3+)))
9572
9573 (define-public arc-theme
9574 (package
9575 (name "arc-theme")
9576 (version "20201013")
9577 (source (origin
9578 (method git-fetch)
9579 (uri (git-reference
9580 (url "https://github.com/jnsh/arc-theme")
9581 (commit version)))
9582 (file-name (git-file-name name version))
9583 (sha256
9584 (base32
9585 "1x2l1mwjx68dwf3jb1i90c1q8nqsl1wf2zggcn8im6590k5yv39s"))))
9586 (build-system gnu-build-system)
9587 (arguments
9588 '(#:configure-flags
9589 (list "--disable-cinnamon")
9590 #:phases
9591 (modify-phases %standard-phases
9592 ;; autogen.sh calls configure at the end of the script.
9593 (replace 'bootstrap
9594 (lambda _ (invoke "autoreconf" "-vfi")))
9595 (add-before 'build 'set-home ;placate Inkscape
9596 (lambda _
9597 (setenv "HOME" (getcwd))
9598 #t)))))
9599 (native-inputs
9600 `(("autoconf" ,autoconf)
9601 ("automake" ,automake)
9602 ("glib" ,glib "bin") ; for glib-compile-resources
9603 ("gnome-shell" ,gnome-shell)
9604 ("gtk+" ,gtk+)
9605 ("inkscape" ,inkscape)
9606 ("optipng" ,optipng)
9607 ("pkg-config" ,pkg-config)
9608 ("sassc" ,sassc/libsass-3.5)))
9609 (synopsis "A flat GTK+ theme with transparent elements")
9610 (description "Arc is a flat theme with transparent elements for GTK 3, GTK
9611 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments
9612 like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
9613 (home-page "https://github.com/horst3180/arc-theme")
9614 ;; No "or later" language found.
9615 (license license:gpl3+)))
9616
9617 (define-public faba-icon-theme
9618 (package
9619 (name "faba-icon-theme")
9620 (version "4.3")
9621 (source
9622 (origin
9623 (method git-fetch)
9624 (uri (git-reference
9625 (url "https://github.com/snwh/faba-icon-theme")
9626 (commit (string-append "v" version))))
9627 (file-name (git-file-name name version))
9628 (sha256
9629 (base32 "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"))))
9630 (build-system meson-build-system)
9631 (arguments
9632 `(#:phases
9633 (modify-phases %standard-phases
9634 (add-before 'configure 'disable-post-install
9635 (lambda _
9636 (substitute* "meson.build"
9637 (("meson.add_install_script.*") "")))))))
9638 (native-inputs
9639 `(("autoconf" ,autoconf)
9640 ("automake" ,automake)))
9641 (synopsis "Faba icon theme")
9642 (description
9643 "Faba is a minimal icon set used as a basis for other themes such as
9644 Moka")
9645 (home-page "https://snwh.org/moka")
9646 (license (list license:lgpl3+
9647 license:cc-by-sa4.0))))
9648
9649 (define-public moka-icon-theme
9650 (package
9651 (inherit faba-icon-theme)
9652 (name "moka-icon-theme")
9653 (version "5.4.0")
9654 (source
9655 (origin
9656 (method git-fetch)
9657 (uri (git-reference
9658 (url "https://github.com/snwh/moka-icon-theme")
9659 (commit (string-append "v" version))))
9660 (file-name (git-file-name name version))
9661 (sha256
9662 (base32 "015l02im4mha5z91dbchxf6xkp66d346bg3xskwg0rh3lglhjsrd"))))
9663 (propagated-inputs
9664 ;; Moka is based on Faba by using it as a fallback icon set instead of
9665 ;; bundling it, so we need to add it as a propagated input.
9666 `(("faba-icon-theme" ,faba-icon-theme)))
9667 (synopsis "Moka icon theme")
9668 (description "Moka is a stylized desktop icon set, designed to be clear,
9669 simple and consistent.")
9670 (license (list license:gpl3+
9671 license:cc-by-sa4.0))))
9672
9673 (define-public arc-icon-theme
9674 (package
9675 (name "arc-icon-theme")
9676 (version "20161122")
9677 (source
9678 (origin
9679 (method git-fetch)
9680 (uri (git-reference
9681 (url "https://github.com/horst3180/arc-icon-theme")
9682 (commit version)))
9683 (file-name (git-file-name name version))
9684 (sha256
9685 (base32 "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd"))))
9686 (build-system gnu-build-system)
9687 (arguments
9688 `(#:phases
9689 (modify-phases %standard-phases
9690 (add-after 'unpack 'disable-configure-during-bootstrap
9691 (lambda _
9692 (substitute* "autogen.sh"
9693 (("^\"\\$srcdir/configure\".*") ""))
9694 #t)))))
9695 (native-inputs
9696 `(("autoconf" ,autoconf)
9697 ("automake" ,automake)))
9698 ;; When Arc is missing an icon, it looks in the Moka icon theme for it.
9699 (propagated-inputs
9700 `(("moka-icon-theme" ,moka-icon-theme)))
9701 (synopsis "Arc icon theme")
9702 (description "The Arc icon theme provides a set of icons matching the
9703 style of the Arc GTK theme. Icons missing from the Arc theme are provided by
9704 the Moka icon theme.")
9705 (home-page "https://github.com/horst3180/arc-icon-theme")
9706 (license license:gpl3+)))
9707
9708 (define-public folks
9709 (package
9710 (name "folks")
9711 (version "0.13.1")
9712 (source (origin
9713 (method url-fetch)
9714 (uri (string-append
9715 "mirror://gnome/sources/folks/"
9716 (version-major+minor version) "/"
9717 "folks-" version ".tar.xz"))
9718 (sha256
9719 (base32
9720 "0pda8sx4ap3lyri5fdrnakl29la1zkhwlc9bmnp13qigp1iwdw9x"))))
9721 (build-system meson-build-system)
9722 (arguments
9723 '(#:phases
9724 (modify-phases %standard-phases
9725 (add-after 'unpack 'skip-gtk-update-icon-cache
9726 ;; Don't create 'icon-theme.cache'.
9727 (lambda _
9728 (substitute* "meson_post_install.py"
9729 (("gtk-update-icon-cache") "true"))
9730 #t)))))
9731 (inputs
9732 `(("bdb" ,bdb)
9733 ("dbus-glib" ,dbus-glib)
9734 ("evolution-data-server" ,evolution-data-server)
9735 ("glib" ,glib)
9736 ("libgee" ,libgee)
9737 ("readline" ,readline)
9738 ("telepathy-glib" ,telepathy-glib)))
9739 (native-inputs
9740 `(("glib:bin" ,glib "bin")
9741 ("gobject-introspection" ,gobject-introspection)
9742 ("intltool" ,intltool)
9743 ("pkg-config" ,pkg-config)
9744 ("vala" ,vala)))
9745 (synopsis "Library to aggregate data about people")
9746 (description "Libfolks is a library that aggregates information about people
9747 from multiple sources (e.g., Telepathy connection managers for IM contacts,
9748 Evolution Data Server for local contacts, libsocialweb for web service contacts,
9749 etc.) to create metacontacts. It's written in Vala, which generates C code when
9750 compiled.")
9751 (home-page "https://wiki.gnome.org/Projects/Folks")
9752 (license license:lgpl2.1+)))
9753
9754 (define-public gfbgraph
9755 (package
9756 (name "gfbgraph")
9757 (version "0.2.4")
9758 (source (origin
9759 (method url-fetch)
9760 (uri (string-append
9761 "mirror://gnome/sources/gfbgraph/"
9762 (version-major+minor version) "/"
9763 "gfbgraph-" version ".tar.xz"))
9764 (sha256
9765 (base32
9766 "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0"))))
9767 (build-system glib-or-gtk-build-system)
9768 (arguments
9769 `(#:tests? #f ; tests appear to require the network
9770 #:configure-flags '("--disable-static"
9771 "--enable-gtk-doc"
9772 "--enable-introspection")))
9773 (native-inputs
9774 `(("gobject-introspection" ,gobject-introspection)
9775 ("gtk-doc" ,gtk-doc)
9776 ("pkg-config" ,pkg-config)
9777
9778 ;; The 0.2.4 ‘release’ tarball isn't bootstrapped.
9779 ("autoconf" ,autoconf)
9780 ("automake" ,automake)
9781 ("libtool" ,libtool)
9782 ("which" ,which)))
9783 (inputs
9784 `(("json-glib" ,json-glib)
9785 ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
9786 ("rest" ,rest)))
9787 (synopsis "GLib/GObject wrapper for the Facebook API")
9788 (description "This library allows you to use the Facebook API from
9789 GLib/GObject code.")
9790 (home-page "https://wiki.gnome.org/Projects/GFBGraph")
9791 (license license:lgpl2.1+)))
9792
9793 (define-public libgnomekbd
9794 (package
9795 (name "libgnomekbd")
9796 (version "3.26.1")
9797 (source (origin
9798 (method url-fetch)
9799 (uri (string-append "mirror://gnome/sources/libgnomekbd/"
9800 (version-major+minor version) "/"
9801 "libgnomekbd-" version ".tar.xz"))
9802 (sha256
9803 (base32
9804 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"))))
9805 (build-system gnu-build-system)
9806 (native-inputs
9807 `(("pkg-config" ,pkg-config)
9808 ("glib" ,glib "bin")
9809 ("intltool" ,intltool)))
9810 (propagated-inputs
9811 ;; Referred to in .h files and .pc.
9812 `(("glib" ,glib)
9813 ("gtk+" ,gtk+)
9814 ("libxklavier" ,libxklavier)))
9815 (home-page "https://www.gnome.org")
9816 (synopsis "GNOME keyboard configuration library")
9817 (description
9818 "Libgnomekbd is a keyboard configuration library for the GNOME desktop
9819 environment, which can notably display keyboard layouts.")
9820 (license license:lgpl2.0+)))
9821
9822 ;;; This package is no longer maintained:
9823 ;;; https://wiki.gnome.org/Attic/LibUnique
9824 ;;; "Unique is now in maintenance mode, and its usage is strongly discouraged.
9825 ;;; Applications should use the GtkApplication class provided by GTK+ 3.0."
9826 (define-public libunique
9827 (package
9828 (name "libunique")
9829 (version "3.0.2")
9830 (source (origin
9831 (method url-fetch)
9832 (uri (string-append "mirror://gnome/sources/" name "/"
9833 (version-major+minor version) "/"
9834 name "-" version ".tar.xz"))
9835 (sha256
9836 (base32
9837 "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"))))
9838 (build-system glib-or-gtk-build-system)
9839 (arguments
9840 `(#:configure-flags '("--disable-static"
9841 "--disable-dbus" ; use gdbus
9842 "--enable-introspection")))
9843 (native-inputs
9844 `(("pkg-config" ,pkg-config)
9845 ("gobject-introspection" ,gobject-introspection)
9846 ("glib:bin" ,glib "bin")
9847 ("gtk-doc" ,gtk-doc)))
9848 (propagated-inputs
9849 ;; Referred to in .h files and .pc.
9850 `(("gtk+" ,gtk+)))
9851 (home-page "https://wiki.gnome.org/Attic/LibUnique")
9852 (synopsis "Library for writing single instance applications")
9853 (description
9854 "Libunique is a library for writing single instance applications. If you
9855 launch a single instance application twice, the second instance will either just
9856 quit or will send a message to the running instance. Libunique makes it easy to
9857 write this kind of application, by providing a base class, taking care of all
9858 the IPC machinery needed to send messages to a running instance, and also
9859 handling the startup notification side.")
9860 (license license:lgpl2.1+)))
9861
9862 (define-public gnome-calculator
9863 (package
9864 (name "gnome-calculator")
9865 (version "3.34.1")
9866 (source
9867 (origin
9868 (method url-fetch)
9869 (uri (string-append "mirror://gnome/sources/" name "/"
9870 (version-major+minor version) "/"
9871 name "-" version ".tar.xz"))
9872 (sha256
9873 (base32
9874 "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
9875 (build-system meson-build-system)
9876 (arguments '(#:glib-or-gtk? #t))
9877 (native-inputs
9878 `(("gettext" ,gettext-minimal)
9879 ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
9880 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
9881 ("itstool" ,itstool)
9882 ("vala" ,vala)
9883 ("pkg-config" ,pkg-config)))
9884 (inputs
9885 `(("glib" ,glib)
9886 ("gtksourceview" ,gtksourceview)
9887 ("libgee" ,libgee)
9888 ("libsoup" ,libsoup)
9889 ("libxml2" ,libxml2)
9890 ("mpc" ,mpc)
9891 ("mpfr" ,mpfr)))
9892 (home-page "https://wiki.gnome.org/Apps/Calculator")
9893 (synopsis "Desktop calculator")
9894 (description
9895 "Calculator is an application that solves mathematical equations and
9896 is suitable as a default application in a Desktop environment.")
9897 (license license:gpl3)))
9898
9899 (define-public xpad
9900 (package
9901 (name "xpad")
9902 (version "5.1.0")
9903 (source
9904 (origin
9905 (method url-fetch)
9906 (uri (string-append "https://launchpad.net/xpad/trunk/"
9907 version "/+download/"
9908 name "-" version ".tar.bz2"))
9909 (sha256
9910 (base32
9911 "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3"))))
9912 (build-system gnu-build-system)
9913 (native-inputs
9914 `(("autoconf" ,autoconf)
9915 ("automake" ,automake)
9916 ("gtk+:bin" ,gtk+ "bin")
9917 ("intltool" ,intltool)
9918 ("pkg-config" ,pkg-config)))
9919 (inputs
9920 `(("gtksourceview" ,gtksourceview-3)
9921 ("libsm" ,libsm)))
9922 (home-page "https://wiki.gnome.org/Apps/Xpad")
9923 (synopsis "Virtual sticky note")
9924 (description
9925 "Xpad is a sticky note that strives to be simple, fault tolerant,
9926 and customizable. Xpad consists of independent pad windows, each is
9927 basically a text box in which notes can be written.")
9928 (license license:gpl3+)))
9929
9930 (define-public gucharmap
9931 (let ((unicode-files
9932 '(("Blocks.txt"
9933 "041sk54v6rjzb23b9x7yjdwzdp2wc7gvfz7ybavgg4gbh51wm8x1")
9934 ("DerivedAge.txt"
9935 "04j92xp07v273z3pxkbfmi1svmw9kmnjl9nvz9fv0g5ybk9zk7r6")
9936 ("NamesList.txt"
9937 "0vsq8gx7hws8mvxy3nlglpwxw7ky57q0fs09d7w9xgb2ylk7fz61")
9938 ("Scripts.txt"
9939 "18c63hx4y5yg408a8d0wx72d2hfnlz4l560y1fsf9lpzifxpqcmx")
9940 ("UnicodeData.txt"
9941 "07d1kq190kgl92ispfx6zmdkvwvhjga0ishxsngzlw8j3kdkz4ap")
9942 ("Unihan.zip"
9943 "1kfdhgg2gm52x3s07bijb5cxjy0jxwhd097k5lqhvzpznprm6ibf"))))
9944 (package
9945 (name "gucharmap")
9946 (version "12.0.1")
9947 (source
9948 (origin
9949 (method url-fetch)
9950 (uri (string-append "mirror://gnome/sources/" name "/"
9951 (version-major+minor version) "/"
9952 name "-" version ".tar.xz"))
9953 (sha256
9954 (base32
9955 "0m915hm2b2d6r3vs1l80rqpssvg78pv8j6nv54yg62kzknnqmpir"))))
9956 (build-system glib-or-gtk-build-system)
9957 (arguments
9958 `(#:modules ((ice-9 match)
9959 (guix build glib-or-gtk-build-system)
9960 (guix build utils))
9961 #:configure-flags
9962 (list "--with-unicode-data=../unicode-data")
9963 #:phases
9964 (modify-phases %standard-phases
9965 (add-after 'unpack 'prepare-unicode-data
9966 (lambda* (#:key inputs #:allow-other-keys)
9967 (mkdir-p "../unicode-data")
9968 (with-directory-excursion "../unicode-data"
9969 (for-each (match-lambda
9970 ((file _)
9971 (install-file (assoc-ref inputs file) ".")))
9972 ',unicode-files))
9973 #t)))))
9974 (native-inputs
9975 `(("desktop-file-utils" ,desktop-file-utils)
9976 ("glib:bin" ,glib "bin") ; for glib-compile-resources.
9977 ("gobject-introspection" ,gobject-introspection)
9978 ("intltool" ,intltool)
9979 ("itstool" ,itstool)
9980 ("pkg-config" ,pkg-config)
9981 ,@(map (match-lambda
9982 ((file hash)
9983 `(,file
9984 ,(origin
9985 (method url-fetch)
9986 (uri (string-append
9987 "http://www.unicode.org/Public/12.0.0/ucd/"
9988 file))
9989 (sha256 (base32 hash))))))
9990 unicode-files)
9991 ("unzip" ,unzip)))
9992 (inputs
9993 `(("gtk+" ,gtk+)
9994 ("xmllint" ,libxml2)))
9995 (home-page "https://wiki.gnome.org/Apps/Gucharmap")
9996 (synopsis "Unicode character picker and font browser")
9997 (description
9998 "This program allows you to browse through all the available Unicode
9999 characters and categories for the installed fonts, and to examine their
10000 detailed properties. It is an easy way to find the character you might
10001 only know by its Unicode name or code point.")
10002 (license license:gpl3+))))
10003
10004 (define-public bluefish
10005 (package
10006 (name "bluefish")
10007 (version "2.2.12")
10008 (source
10009 (origin
10010 (method url-fetch)
10011 (uri (string-append "https://www.bennewitz.com/bluefish/stable/source/"
10012 "bluefish-" version ".tar.gz"))
10013 (sha256
10014 (base32 "09hgxq139kbkjda5y073lqhq1z1x7cx0j80jh77afrqa3y9c53wl"))))
10015 (build-system gnu-build-system)
10016 (native-inputs
10017 `(("desktop-file-utils" ,desktop-file-utils)
10018 ("intltool" ,intltool)
10019 ("pkg-config" ,pkg-config)))
10020 (inputs
10021 `(("enchant" ,enchant)
10022 ("gtk+" ,gtk+)
10023 ("python" ,python-wrapper)
10024 ("xmllint" ,libxml2)
10025 ("gucharmap" ,gucharmap)))
10026 (home-page "http://bluefish.openoffice.nl")
10027 (synopsis "Web development studio")
10028 (description
10029 "Bluefish is an editor aimed at programmers and web developers,
10030 with many options to write web sites, scripts and other code.
10031 Bluefish supports many programming and markup languages.")
10032 (license license:gpl3+)))
10033
10034 (define-public gnome-system-monitor
10035 (package
10036 (name "gnome-system-monitor")
10037 (version "3.32.1")
10038 (source
10039 (origin
10040 (method url-fetch)
10041 (uri (string-append "mirror://gnome/sources/" name "/"
10042 (version-major+minor version) "/"
10043 name "-" version ".tar.xz"))
10044 (sha256
10045 (base32
10046 "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"))))
10047 (build-system meson-build-system)
10048 (arguments
10049 '(#:glib-or-gtk? #t
10050 #:configure-flags '("-Dsystemd=false")))
10051 (native-inputs
10052 `(("glib:bin" ,glib "bin") ; for glib-mkenums.
10053 ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
10054 ("intltool" ,intltool)
10055 ("itstool" ,itstool)
10056 ("libgtop" ,libgtop)
10057 ("polkit" ,polkit)
10058 ("pkg-config" ,pkg-config)))
10059 (inputs
10060 `(("gdk-pixbuf" ,gdk-pixbuf) ; for loading SVG files.
10061 ("gtk+" ,gtk+)
10062 ("gtkmm" ,gtkmm)
10063 ("librsvg" ,librsvg)
10064 ("libxml2" ,libxml2)
10065 ("libwnck" ,libwnck)))
10066 (home-page "https://wiki.gnome.org/Apps/SystemMonitor")
10067 (synopsis "Process viewer and system resource monitor for GNOME")
10068 (description
10069 "GNOME System Monitor is a GNOME process viewer and system monitor with
10070 an attractive, easy-to-use interface. It has features, such as a tree view
10071 for process dependencies, icons for processes, the ability to hide processes,
10072 graphical time histories of CPU/memory/swap usage and the ability to
10073 kill/reinice processes.")
10074 (license license:gpl2+)))
10075
10076 (define-public python-pyatspi
10077 (package
10078 (name "python-pyatspi")
10079 (version "2.34.0")
10080 (source (origin
10081 (method url-fetch)
10082 (uri (string-append
10083 "mirror://gnome/sources/pyatspi/"
10084 (version-major+minor version)
10085 "/pyatspi-" version ".tar.xz"))
10086 (sha256
10087 (base32
10088 "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p"))))
10089 (build-system gnu-build-system)
10090 (arguments
10091 `(#:phases
10092 (modify-phases %standard-phases
10093 (add-before 'build 'fix-atk-load
10094 (lambda _
10095 (substitute* "pyatspi/__init__.py"
10096 (("from gi.repository import Atspi")
10097 "gi.require_version('Gtk', '3.0')
10098 from gi.repository import Gtk
10099 from gi.repository import Atspi"))
10100 #t)))))
10101 (native-inputs
10102 `(("pkg-config" ,pkg-config)))
10103 (inputs
10104 `(("python" ,python)))
10105 (propagated-inputs
10106 `(("python-pygobject" ,python-pygobject)))
10107 (synopsis "Python client bindings for D-Bus AT-SPI")
10108 (home-page "https://wiki.linuxfoundation.org/accessibility\
10109 /atk/at-spi/at-spi_on_d-bus")
10110 (description
10111 "This package includes a python client library for the AT-SPI D-Bus
10112 accessibility infrastructure.")
10113 (license license:lgpl2.0)
10114 (properties '((upstream-name . "pyatspi")))))
10115
10116 (define-public python2-pyatspi
10117 (package
10118 (inherit python-pyatspi)
10119 (name "python2-pyatspi")
10120 (inputs
10121 `(("python" ,python-2)))
10122 (propagated-inputs
10123 `(("python-pygobject" ,python2-pygobject)))))
10124
10125 (define-public orca
10126 (package
10127 (name "orca")
10128 (version "3.34.1")
10129 (source (origin
10130 (method url-fetch)
10131 (uri (string-append
10132 "mirror://gnome/sources/" name "/"
10133 (version-major+minor version) "/"
10134 name "-" version ".tar.xz"))
10135 (sha256
10136 (base32
10137 "1q38n7hyshkiszmn361skxjynxr31lcms7a1iny6d0zlpmh1vnk4"))))
10138 (build-system glib-or-gtk-build-system)
10139 (arguments
10140 '(#:phases
10141 (modify-phases %standard-phases
10142 (add-before 'configure 'qualify-xkbcomp
10143 (lambda* (#:key inputs #:allow-other-keys)
10144 (let ((xkbcomp (string-append
10145 (assoc-ref inputs "xkbcomp") "/bin/xkbcomp")))
10146 (substitute* "src/orca/orca.py"
10147 (("'xkbcomp'") (format #f "'~a'" xkbcomp))))
10148 #t))
10149 (add-after 'install 'wrap-orca
10150 (lambda* (#:key outputs #:allow-other-keys)
10151 (let* ((out (assoc-ref outputs "out"))
10152 (prog (string-append out "/bin/orca")))
10153 (wrap-program prog
10154 `("GI_TYPELIB_PATH" ":" prefix
10155 (,(getenv "GI_TYPELIB_PATH")))
10156 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix
10157 (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
10158 `("PYTHONPATH" ":" prefix
10159 (,(getenv "PYTHONPATH")))))
10160 #t)))))
10161 (native-inputs
10162 `(("intltool" ,intltool)
10163 ("itstool" ,itstool)
10164 ("pkg-config" ,pkg-config)
10165 ("xmllint" ,libxml2)))
10166 (inputs
10167 `(("at-spi2-atk" ,at-spi2-atk)
10168 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10169 ("gstreamer" ,gstreamer)
10170 ("gst-plugins-base" ,gst-plugins-base)
10171 ("gst-plugins-good" ,gst-plugins-good)
10172 ("gtk+" ,gtk+)
10173 ("python" ,python)
10174 ("python-pygobject" ,python-pygobject)
10175 ("python-pyatspi" ,python-pyatspi)
10176 ("python-speechd" ,speech-dispatcher)
10177 ("xkbcomp" ,xkbcomp)))
10178 (synopsis
10179 "Screen reader for individuals who are blind or visually impaired")
10180 (home-page "https://wiki.gnome.org/Projects/Orca")
10181 (description
10182 "Orca is a screen reader that provides access to the graphical desktop
10183 via speech and refreshable braille. Orca works with applications and toolkits
10184 that support the Assistive Technology Service Provider Interface (AT-SPI).")
10185 (license license:lgpl2.1+)))
10186
10187 (define-public gspell
10188 (package
10189 (name "gspell")
10190 (version "1.8.2")
10191 (source (origin
10192 (method url-fetch)
10193 (uri (string-append "mirror://gnome/sources/" name "/"
10194 (version-major+minor version) "/"
10195 name "-" version ".tar.xz"))
10196 (sha256
10197 (base32
10198 "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv"))
10199 (patches (search-patches "gspell-dash-test.patch"))))
10200 (build-system glib-or-gtk-build-system)
10201 (arguments
10202 '(#:configure-flags (list "--enable-vala")
10203 #:phases
10204 (modify-phases %standard-phases
10205 (add-before 'check 'pre-check
10206 (lambda* (#:key inputs #:allow-other-keys)
10207 ;; Tests require a running X server.
10208 (system "Xvfb :1 &")
10209 (setenv "DISPLAY" ":1")
10210
10211 ;; For the missing /etc/machine-id.
10212 (setenv "DBUS_FATAL_WARNINGS" "0")
10213
10214 ;; Allow Enchant and its Aspell backend to find the en_US
10215 ;; dictionary.
10216 (setenv "ASPELL_DICT_DIR"
10217 (string-append (assoc-ref inputs "aspell-dict-en")
10218 "/lib/aspell"))
10219 #t)))))
10220 (inputs
10221 `(("gtk+" ,gtk+)
10222 ("glib" ,glib)
10223 ("iso-codes" ,iso-codes)))
10224 (native-inputs
10225 `(("glib" ,glib "bin")
10226 ("gobject-introspection" ,gobject-introspection)
10227 ("pkg-config" ,pkg-config)
10228 ("vala" ,vala) ;for VAPI, needed by Geary
10229 ("xmllint" ,libxml2)
10230
10231 ;; For tests.
10232 ("aspell-dict-en" ,aspell-dict-en)
10233 ("xorg-server" ,xorg-server-for-tests)))
10234 (propagated-inputs
10235 `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
10236 (home-page "https://wiki.gnome.org/Projects/gspell")
10237 (synopsis "GNOME's alternative spell checker")
10238 (description
10239 "gspell provides a flexible API to add spell-checking to a GTK+
10240 application. It provides a GObject API, spell-checking to text entries and
10241 text views, and buttons to choose the language.")
10242 (license license:gpl2+)))
10243
10244 (define-public gnome-planner
10245 (package
10246 (name "gnome-planner")
10247 (version "0.14.6")
10248 (source (origin
10249 (method url-fetch)
10250 (uri (string-append "mirror://gnome/sources/planner/"
10251 (version-major+minor version) "/planner-"
10252 version ".tar.xz"))
10253 (sha256
10254 (base32
10255 "15h6ps58giy5r1g66sg1l4xzhjssl362mfny2x09khdqsvk2j38k"))))
10256 (build-system glib-or-gtk-build-system)
10257 (arguments
10258 ;; Disable the Python bindings because the Planner program functions
10259 ;; without them, and (as of 2017-06-13) we have not packaged all of
10260 ;; packages that are necessary for building the Python bindings.
10261 `(#:configure-flags
10262 (list "--disable-python"
10263 ,@(if (string=? "aarch64-linux" (%current-system))
10264 '("--build=aarch64-unknown-linux-gnu")
10265 '()))))
10266 (inputs
10267 `(("libgnomecanvas" ,libgnomecanvas)
10268 ("libgnomeui" ,libgnomeui)
10269 ("libglade" ,libglade)
10270 ("gnome-vfs" ,gnome-vfs)
10271 ("gconf" ,gconf)
10272 ("libxml2" ,libxml2)
10273 ("libxslt" ,libxslt)
10274 ("gtk+" ,gtk+)
10275 ("glib" ,glib)))
10276 (native-inputs
10277 `(("intltool" ,intltool)
10278 ("scrollkeeper" ,scrollkeeper)
10279 ("pkg-config" ,pkg-config)))
10280 (home-page "https://wiki.gnome.org/Apps/Planner")
10281 (synopsis "Project management software for the GNOME desktop")
10282 (description
10283 "GNOME Planner is a project management tool based on the Work Breakdown
10284 Structure (WBS). Its goal is to enable you to easily plan projects. Based on
10285 the resources, tasks, and constraints that you define, Planner generates
10286 various views into a project. For example, Planner can show a Gantt chart of
10287 the project. It can show a detailed summary of tasks including their
10288 duration, cost, and current progress. It can also show a report of resource
10289 utilization that highlights under-utilized and over-utilized resources. These
10290 views can be printed as PDF or PostScript files, or exported to HTML.")
10291 (license license:gpl2+)))
10292
10293 (define-public lollypop
10294 (package
10295 (name "lollypop")
10296 (version "1.4.6")
10297 (source
10298 (origin
10299 (method url-fetch)
10300 (uri (string-append "https://adishatz.org/lollypop/"
10301 "lollypop-" version ".tar.xz"))
10302 (sha256
10303 (base32 "1hlahr50gsagx1ifcdk4yn43xps6w0vqn0gnd6xckfc7qmg1pgq7"))))
10304 (build-system meson-build-system)
10305 (arguments
10306 `(#:imported-modules
10307 (,@%meson-build-system-modules
10308 (guix build python-build-system))
10309 #:modules
10310 ((guix build meson-build-system)
10311 ((guix build python-build-system) #:prefix python:)
10312 (guix build utils))
10313 #:glib-or-gtk? #t
10314 #:tests? #f ; no test suite
10315 #:phases
10316 (modify-phases %standard-phases
10317 (add-after 'install 'wrap-program
10318 (lambda* (#:key outputs #:allow-other-keys)
10319 (let ((out (assoc-ref outputs "out"))
10320 (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
10321 (wrap-program (string-append out "/bin/lollypop")
10322 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
10323 #t))
10324 (add-after 'install 'wrap-python
10325 (assoc-ref python:%standard-phases 'wrap)))))
10326 (native-inputs
10327 `(("intltool" ,intltool)
10328 ("itstool" ,itstool)
10329 ("glib:bin" ,glib "bin") ; For glib-compile-resources
10330 ("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
10331 ("pkg-config" ,pkg-config)))
10332 (inputs
10333 `(("glib-networking" ,glib-networking)
10334 ("gobject-introspection" ,gobject-introspection)
10335 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10336 ("gst-plugins-base" ,gst-plugins-base)
10337 ("libnotify" ,libnotify)
10338 ("libsecret" ,libsecret)
10339 ("libhandy" ,libhandy)
10340 ("libsoup" ,libsoup)
10341 ("python" ,python)
10342 ("python-beautifulsoup4" ,python-beautifulsoup4)
10343 ("python-gst" ,python-gst)
10344 ("python-pil" ,python-pillow)
10345 ("python-pycairo" ,python-pycairo)
10346 ("python-pygobject" ,python-pygobject)
10347 ("python-pylast" ,python-pylast)
10348 ("totem-pl-parser" ,totem-pl-parser)
10349 ("webkitgtk" ,webkitgtk)))
10350 (propagated-inputs
10351 `(;; gst-plugins-base is required to start Lollypop,
10352 ;; the others are required to play streaming.
10353 ("gst-plugins-good" ,gst-plugins-good)
10354 ("gst-plugins-ugly" ,gst-plugins-ugly)))
10355 (home-page "https://wiki.gnome.org/Apps/Lollypop")
10356 (synopsis "GNOME music playing application")
10357 (description
10358 "Lollypop is a music player designed to play well with GNOME desktop.
10359 Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information
10360 from artists and tracks from the web. It also fetches cover artworks
10361 automatically and it can stream songs from online music services and charts.")
10362 (license license:gpl3+)))
10363
10364 (define-public gnome-video-effects
10365 (package
10366 (name "gnome-video-effects")
10367 (version "0.5.0")
10368 (source (origin
10369 (method url-fetch)
10370 (uri (string-append "mirror://gnome/sources/" name "/"
10371 (version-major+minor version) "/" name "-"
10372 version ".tar.xz"))
10373 (sha256
10374 (base32
10375 "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"))))
10376 (build-system meson-build-system)
10377 (native-inputs
10378 `(("gettext" ,gettext-minimal)
10379 ("pkg-config" ,pkg-config)))
10380 (home-page "https://wiki.gnome.org/Projects/GnomeVideoEffects")
10381 (synopsis "Video effects for Cheese and other GNOME applications")
10382 (description
10383 "A collection of GStreamer video filters and effects to be used in
10384 photo-booth-like software, such as Cheese.")
10385 (license license:gpl2+)))
10386
10387 (define-public cheese
10388 (package
10389 (name "cheese")
10390 (version "3.38.0")
10391 (source (origin
10392 (method url-fetch)
10393 (uri (string-append "mirror://gnome/sources/" name "/"
10394 (version-major+minor version) "/" name "-"
10395 version ".tar.xz"))
10396 (sha256
10397 (base32
10398 "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"))))
10399 (arguments
10400 `(#:glib-or-gtk? #t
10401 ;; Tests require GDK.
10402 #:tests? #f
10403 #:phases
10404 (modify-phases %standard-phases
10405 (add-after 'unpack 'skip-gtk-update-icon-cache
10406 (lambda _
10407 ;; Don't create 'icon-theme.cache'
10408 (substitute* "meson_post_install.py"
10409 (("gtk-update-icon-cache") (which "true")))
10410 #t))
10411 (add-after 'unpack 'patch-docbook-xml
10412 (lambda* (#:key inputs #:allow-other-keys)
10413 ;; Avoid a network connection attempt during the build.
10414 (substitute* '("docs/reference/cheese.xml"
10415 "docs/reference/cheese-docs.xml")
10416 (("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
10417 (string-append (assoc-ref inputs "docbook-xml")
10418 "/xml/dtd/docbook/docbookx.dtd")))
10419 #t))
10420 (add-after 'install 'wrap-cheese
10421 (lambda* (#:key inputs outputs #:allow-other-keys)
10422 (let ((out (assoc-ref outputs "out"))
10423 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10424 (wrap-program (string-append out "/bin/cheese")
10425 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10426 #t)))))
10427 (build-system meson-build-system)
10428 (native-inputs
10429 `(("docbook-xsl" ,docbook-xsl)
10430 ("docbook-xml" ,docbook-xml-4.3)
10431 ("gettext" ,gettext-minimal)
10432 ("glib:bin" ,glib "bin")
10433 ("gtk-doc" ,gtk-doc)
10434 ("itstool" ,itstool)
10435 ("libxml2" ,libxml2)
10436 ("libxslt" ,libxslt)
10437 ("pkg-config" ,pkg-config)
10438 ("vala" ,vala)))
10439 (propagated-inputs
10440 `(("gnome-video-effects" ,gnome-video-effects)
10441 ("clutter" ,clutter)
10442 ("clutter-gst" ,clutter-gst)
10443 ("clutter-gtk" ,clutter-gtk)
10444 ("libcanberra" ,libcanberra)
10445 ("gdk-pixbuf" ,gdk-pixbuf)
10446 ("glib" ,glib)
10447 ("gstreamer" ,gstreamer)))
10448 (inputs
10449 `(("gnome-desktop" ,gnome-desktop)
10450 ("gobject-introspection" ,gobject-introspection)
10451 ("gst-plugins-base" ,gst-plugins-base)
10452 ("gst-plugins-bad" ,gst-plugins-bad)
10453 ("gtk+" ,gtk+)
10454 ("libx11" ,libx11)
10455 ("libxtst" ,libxtst)))
10456 (home-page "https://wiki.gnome.org/Apps/Cheese")
10457 (synopsis "Webcam photo booth software for GNOME")
10458 (description
10459 "Cheese uses your webcam to take photos and videos. Cheese can also
10460 apply fancy special effects and lets you share the fun with others.")
10461 (license license:gpl2+)))
10462
10463 (define-public passwordsafe
10464 (package
10465 (name "passwordsafe")
10466 (version "3.99.2")
10467 (source
10468 (origin
10469 (method git-fetch)
10470 (uri (git-reference
10471 (url "https://gitlab.gnome.org/World/PasswordSafe")
10472 (commit version)))
10473 (file-name (git-file-name name version))
10474 (sha256
10475 (base32 "0pi2l4gwf8paxm858mxrcsk5nr0c0zw5ycax40mghndb6b1qmmhf"))))
10476 (build-system meson-build-system)
10477 (arguments
10478 `(#:glib-or-gtk? #t
10479 #:phases
10480 (modify-phases %standard-phases
10481 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
10482 (lambda* (#:key outputs #:allow-other-keys)
10483 (let ((prog (string-append (assoc-ref outputs "out")
10484 "/bin/gnome-passwordsafe"))
10485 (pylib (string-append (assoc-ref outputs "out")
10486 "/lib/python"
10487 ,(version-major+minor
10488 (package-version python))
10489 "/site-packages")))
10490 (wrap-program prog
10491 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
10492 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10493 #t))))))
10494 (native-inputs
10495 `(("desktop-file-utils" ,desktop-file-utils)
10496 ("gettext" ,gettext-minimal)
10497 ("glib:bin" ,glib "bin")
10498 ("gobject-introspection" ,gobject-introspection)
10499 ("gtk+:bin" ,gtk+ "bin")
10500 ("pkg-config" ,pkg-config)))
10501 (inputs
10502 `(("glib" ,glib)
10503 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10504 ("gtk+" ,gtk+)
10505 ("libhandy" ,libhandy-0.0)
10506 ("libpwquality" ,libpwquality)
10507 ("python-pygobject" ,python-pygobject)
10508 ("python-pykeepass" ,python-pykeepass)))
10509 (home-page "https://gitlab.gnome.org/World/PasswordSafe")
10510 (synopsis "Password manager for the GNOME desktop")
10511 (description
10512 "Password Safe is a password manager which makes use of the KeePass v4
10513 format. It integrates perfectly with the GNOME desktop and provides an easy
10514 and uncluttered interface for the management of password databases.")
10515 (license license:gpl3+)))
10516
10517 (define-public sound-juicer
10518 (package
10519 (name "sound-juicer")
10520 (version "3.24.0")
10521 (source
10522 (origin
10523 (method url-fetch)
10524 (uri (string-append "mirror://gnome/sources/" name "/"
10525 (version-major+minor version) "/"
10526 name "-" version ".tar.xz"))
10527 (sha256
10528 (base32
10529 "19qg4xv0f9rkq34lragkmhii1llxsa87llbl28i759b0ks4f6sny"))))
10530 (build-system glib-or-gtk-build-system)
10531 (native-inputs
10532 `(("desktop-file-utils" ,desktop-file-utils)
10533 ("intltool" ,intltool)
10534 ("itstool" ,itstool)
10535 ("pkg-config" ,pkg-config)
10536 ("xmllint" ,libxml2)))
10537 (inputs
10538 `(("gtk+" ,gtk+)
10539 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10540 ("gstreamer" ,gstreamer)
10541 ("gst-plugins-base" ,gst-plugins-base)
10542 ("gst-plugins-good" ,gst-plugins-good)
10543 ("iso-codes" ,iso-codes)
10544 ("libbrasero-media3" ,brasero)
10545 ("libcanberra" ,libcanberra)
10546 ("libdiscid" ,libdiscid)
10547 ("libmusicbrainz" ,libmusicbrainz)
10548 ("neon" ,neon)))
10549 (home-page "https://wiki.gnome.org/Apps/SoundJuicer")
10550 (synopsis "Audio music cd ripper")
10551 (description "Sound Juicer extracts audio from compact discs and convert it
10552 into audio files that a personal computer or digital audio player can play.
10553 It supports ripping to any audio codec supported by a GStreamer plugin, such as
10554 mp3, Ogg Vorbis and FLAC")
10555 (license license:gpl2+)))
10556
10557 (define-public soundconverter
10558 (package
10559 (name "soundconverter")
10560 (version "3.0.2")
10561 (source
10562 (origin
10563 (method url-fetch)
10564 (uri (string-append "https://launchpad.net/soundconverter/trunk/"
10565 version "/+download/"
10566 "soundconverter-" version ".tar.xz"))
10567
10568 (sha256
10569 (base32 "1jv8m82hi23ilrgdznlc1jhp2jm8bw1yrw0chh3qw2l0sixvkl11"))))
10570 (build-system glib-or-gtk-build-system)
10571 (arguments
10572 `(#:imported-modules ((guix build python-build-system)
10573 (guix build glib-or-gtk-build-system)
10574 ,@%gnu-build-system-modules)
10575
10576 #:modules ((guix build glib-or-gtk-build-system)
10577 (guix build utils)
10578 ((guix build gnu-build-system) #:prefix gnu:)
10579 ((guix build python-build-system) #:prefix python:))
10580
10581 #:phases
10582 (modify-phases %standard-phases
10583 (add-after 'install 'wrap-soundconverter-for-python
10584 (assoc-ref python:%standard-phases 'wrap))
10585 (add-after 'install 'wrap-soundconverter
10586 (lambda* (#:key inputs outputs #:allow-other-keys)
10587 (let ((out (assoc-ref outputs "out"))
10588 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
10589 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
10590 (wrap-program (string-append out "/bin/soundconverter")
10591 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
10592 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
10593 #t)))))
10594 (native-inputs
10595 `(("intltool" ,intltool)
10596 ("pkg-config" ,pkg-config)
10597 ("glib:bin" ,glib "bin")))
10598 (inputs
10599 `(("gtk+" ,gtk+)
10600 ("python" ,python)
10601 ("python-pygobject" ,python-pygobject)
10602 ("gstreamer" ,gstreamer)
10603 ("gst-plugins-base" ,gst-plugins-base)))
10604 (home-page "https://soundconverter.org/")
10605 (synopsis "Convert between audio formats with a graphical interface")
10606 (description
10607 "SoundConverter supports converting between many audio formats including
10608 Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
10609 configurable file renaming. ")
10610 (license license:gpl3)))
10611
10612 (define-public workrave
10613 (package
10614 (name "workrave")
10615 (version "1.10.42")
10616 (source
10617 (origin
10618 (method git-fetch)
10619 (uri (git-reference
10620 (url "https://github.com/rcaelers/workrave")
10621 (commit (string-append "v" (string-map
10622 (match-lambda (#\. #\_) (chr chr))
10623 version)))))
10624 (file-name (git-file-name name version))
10625 (sha256
10626 (base32 "03i9kk8r1wgrfkkbwikx8wxaw4r4kn62vismr2zdq5g34fkkjh95"))))
10627 (build-system glib-or-gtk-build-system)
10628 (arguments
10629 ;; The only tests are maintainer tests (in po/), which fail.
10630 `(#:tests? #f))
10631 (inputs `(("glib" ,glib)
10632 ("gtk+" ,gtk+)
10633 ("gdk-pixbuf" ,gdk-pixbuf)
10634 ("gtkmm" ,gtkmm)
10635 ("glibmm" ,glibmm)
10636 ("libx11" ,libx11)
10637 ("libxtst" ,libxtst)
10638 ("dconf" ,dconf)
10639 ("libice" ,libice)
10640 ("libsm" ,libsm)
10641 ("libxscrnsaver" ,libxscrnsaver)))
10642 (native-inputs `(("boost" ,boost)
10643 ("pkg-config" ,pkg-config)
10644 ("gettext" ,gettext-minimal)
10645 ("autoconf" ,autoconf)
10646 ("autoconf-archive" , autoconf-archive)
10647 ("automake" ,automake)
10648 ("libtool" ,libtool)
10649 ("intltool" ,intltool)
10650 ("gobject-introspection" ,gobject-introspection)
10651 ("python3" ,python-3)
10652 ("python-jinja2" ,python-jinja2)))
10653 (synopsis "Tool to help prevent repetitive strain injury (RSI)")
10654 (description
10655 "Workrave is a program that assists in the recovery and prevention of
10656 repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take
10657 micro-pauses and rest breaks, and restricts you to your daily limit.")
10658 (home-page "http://www.workrave.org")
10659 (license license:gpl3+)))
10660
10661 (define-public ghex
10662 (package
10663 (name "ghex")
10664 (version "3.18.4")
10665 (source (origin
10666 (method url-fetch)
10667 (uri (string-append "mirror://gnome/sources/ghex/"
10668 (version-major+minor version) "/"
10669 "ghex-" version ".tar.xz"))
10670 (sha256
10671 (base32
10672 "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
10673 (build-system meson-build-system)
10674 (arguments
10675 '(#:glib-or-gtk? #t
10676 #:phases
10677 (modify-phases %standard-phases
10678 (add-after 'unpack 'skip-gtk-update-icon-cache
10679 ;; Don't create 'icon-theme.cache'.
10680 (lambda _
10681 (substitute* "meson_post_install.py"
10682 (("gtk-update-icon-cache") (which "true")))
10683 #t)))))
10684 (native-inputs
10685 `(("pkg-config" ,pkg-config)
10686 ("glib:bin" ,glib "bin") ; for glib-compile-schemas
10687 ("gnome-common" ,gnome-common)
10688 ("which" ,which)
10689 ("intltool" ,intltool)
10690 ("yelp-tools" ,yelp-tools)
10691 ("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
10692 (inputs
10693 `(("atk" ,atk)
10694 ("gtk" ,gtk+)))
10695 (synopsis "GNOME hexadecimal editor")
10696 (description "The GHex program can view and edit files in two ways:
10697 hexadecimal or ASCII. It is useful for editing binary files in general.")
10698 (home-page "https://wiki.gnome.org/Apps/Ghex")
10699 (license license:gpl2)))
10700
10701 (define-public libdazzle
10702 (package
10703 (name "libdazzle")
10704 (version "3.37.1")
10705 (source (origin
10706 (method url-fetch)
10707 (uri (string-append "mirror://gnome/sources/libdazzle/"
10708 (version-major+minor version) "/"
10709 "libdazzle-" version ".tar.xz"))
10710 (sha256
10711 (base32
10712 "03r5cr11dc031qa3694bpgm3lajrhiiln67kvl7vjj4q0scf7w7x"))))
10713 (build-system meson-build-system)
10714 (arguments
10715 `(#:phases
10716 (modify-phases %standard-phases
10717 (add-before 'check 'pre-check
10718 (lambda _
10719 ;; Tests require a running X server.
10720 (system "Xvfb :1 &")
10721 (setenv "DISPLAY" ":1")
10722 #t)))))
10723 (native-inputs
10724 `(("glib" ,glib "bin") ; glib-compile-resources
10725 ("pkg-config" ,pkg-config)
10726 ;; For tests.
10727 ("xorg-server" ,xorg-server-for-tests)))
10728 (inputs
10729 `(("glib" ,glib)
10730 ("gobject-introspection" ,gobject-introspection)
10731 ("gtk+" ,gtk+)
10732 ("vala" ,vala)))
10733 (home-page "https://gitlab.gnome.org/GNOME/libdazzle")
10734 (synopsis "Companion library to GObject and Gtk+")
10735 (description "The libdazzle library is a companion library to GObject and
10736 Gtk+. It provides various features that the authors wish were in the
10737 underlying library but cannot for various reasons. In most cases, they are
10738 wildly out of scope for those libraries. In other cases, they are not quite
10739 generic enough to work for everyone.")
10740 (license license:gpl3+)))
10741
10742 (define-public evolution
10743 (package
10744 (name "evolution")
10745 (version "3.34.2")
10746 (source (origin
10747 (method url-fetch)
10748 (uri (string-append "mirror://gnome/sources/evolution/"
10749 (version-major+minor version) "/"
10750 "evolution-" version ".tar.xz"))
10751 (sha256
10752 (base32
10753 "164vy8h432pjglafn8y2ms4gsvk3kbgc63h5qp0mk5dv4smsp29c"))))
10754 (build-system cmake-build-system)
10755 (arguments
10756 `(#:imported-modules (,@%cmake-build-system-modules
10757 (guix build glib-or-gtk-build-system))
10758 #:modules ((guix build cmake-build-system)
10759 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10760 (guix build utils))
10761 #:configure-flags
10762 (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
10763 "-DENABLE_LIBCRYPTUI=OFF") ; libcryptui hasn't seen a release
10764 ; in four years and cannot be built.
10765 #:phases
10766 (modify-phases %standard-phases
10767 ;; The build system attempts to install user interface modules to the
10768 ;; output directory of the "evolution-data-server" package. This
10769 ;; change redirects that change.
10770 (add-after 'unpack 'patch-ui-module-dir
10771 (lambda* (#:key outputs #:allow-other-keys)
10772 (substitute* "src/modules/alarm-notify/CMakeLists.txt"
10773 (("\\$\\{edsuimoduledir\\}")
10774 (string-append (assoc-ref outputs "out")
10775 "/lib/evolution-data-server/ui-modules")))
10776 #t))
10777 (add-after 'install 'glib-or-gtk-compile-schemas
10778 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
10779 (add-after 'install 'glib-or-gtk-wrap
10780 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10781 (native-inputs
10782 `(("glib" ,glib "bin") ; glib-mkenums
10783 ("pkg-config" ,pkg-config)
10784 ("intltool" ,intltool)
10785 ("itstool" ,itstool)))
10786 (inputs
10787 `(("enchant" ,enchant)
10788 ("evolution-data-server" ,evolution-data-server) ; must be the same version
10789 ("gcr" ,gcr)
10790 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10791 ("gnome-autoar" ,gnome-autoar)
10792 ("gnome-desktop" ,gnome-desktop)
10793 ("gspell" ,gspell)
10794 ("highlight" ,highlight)
10795 ("libcanberra" ,libcanberra)
10796 ("libgweather" ,libgweather)
10797 ("libnotify" ,libnotify)
10798 ("libsoup" ,libsoup)
10799 ("nss" ,nss)
10800 ("openldap" ,openldap)
10801 ("webkitgtk" ,webkitgtk)
10802 ("ytnef" ,ytnef)))
10803 (home-page "https://gitlab.gnome.org/GNOME/evolution")
10804 (synopsis "Manage your email, contacts and schedule")
10805 (description "Evolution is a personal information management application
10806 that provides integrated mail, calendaring and address book
10807 functionality.")
10808 ;; See COPYING for details.
10809 (license (list license:lgpl2.1 license:lgpl3 ; either one of these
10810 license:openldap2.8 ; addressbook/gui/component/openldap-extract.h
10811 license:lgpl2.1+)))) ; smime/lib/*
10812
10813 (define-public gthumb
10814 (package
10815 (name "gthumb")
10816 (version "3.8.2")
10817 (source (origin
10818 (method url-fetch)
10819 (uri (string-append "mirror://gnome/sources/gthumb/"
10820 (version-major+minor version) "/"
10821 "gthumb-" version ".tar.xz"))
10822 (sha256
10823 (base32
10824 "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q"))))
10825 (build-system meson-build-system)
10826 (arguments
10827 `(#:glib-or-gtk? #t
10828 #:configure-flags
10829 ;; Ensure the RUNPATH contains all installed library locations.
10830 (list (string-append "-Dc_link_args=-Wl,-rpath="
10831 (assoc-ref %outputs "out")
10832 "/lib/gthumb/extensions")
10833 (string-append "-Dcpp_link_args=-Wl,-rpath="
10834 (assoc-ref %outputs "out")
10835 "/lib/gthumb/extensions"))))
10836 (native-inputs
10837 `(("pkg-config" ,pkg-config)
10838 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10839 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
10840 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
10841 ("intltool" ,intltool)
10842 ("itstool" ,itstool)))
10843 (inputs
10844 `(("exiv2" ,exiv2)
10845 ("gtk" ,gtk+)
10846 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10847 ("gstreamer" ,gstreamer)
10848 ("clutter" ,clutter)
10849 ("clutter-gst" ,clutter-gst)
10850 ("clutter-gtk" ,clutter-gtk)
10851 ("libjpeg" ,libjpeg-turbo)
10852 ("libtiff" ,libtiff)
10853 ("libraw" ,libraw)))
10854 (home-page "https://wiki.gnome.org/Apps/Gthumb")
10855 (synopsis "GNOME image viewer and browser")
10856 (description "GThumb is an image viewer, browser, organizer, editor and
10857 advanced image management tool")
10858 (license license:gpl2+)))
10859
10860 (define-public terminator
10861 (package
10862 (name "terminator")
10863 (version "1.91")
10864 (source (origin
10865 (method url-fetch)
10866 (uri (string-append "https://launchpad.net/" name "/"
10867 "gtk3/" version "/" "+download/"
10868 name "-" version ".tar.gz"))
10869 (sha256
10870 (base32
10871 "0sdyqwydmdnh7j6mn74vrywz35m416kqsbxbrqcnv5ak08y6xxwm"))))
10872 (build-system python-build-system)
10873 (native-inputs
10874 `(("intltool" ,intltool)
10875 ("glib:bin" ,glib "bin") ; for glib-compile-resources
10876 ("gettext" ,gettext-minimal)
10877 ("pkg-config" ,pkg-config)))
10878 (inputs
10879 `(("cairo" ,cairo)
10880 ("gobject-introspection" ,gobject-introspection)
10881 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
10882 ("python2-pycairo" ,python2-pycairo)
10883 ("python2-pygobject" ,python2-pygobject)
10884 ("python2-psutil" ,python2-psutil)
10885 ("vte" ,vte)))
10886 (arguments
10887 `(#:python ,python-2 ; Python 3 isn't supported
10888 #:imported-modules ((guix build glib-or-gtk-build-system)
10889 ,@%python-build-system-modules)
10890 #:modules ((guix build python-build-system)
10891 ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
10892 (guix build utils))
10893 #:phases
10894 (modify-phases %standard-phases
10895 (add-after
10896 'install 'wrap-program
10897 (lambda* (#:key outputs #:allow-other-keys)
10898 (let ((prog (string-append (assoc-ref outputs "out")
10899 "/bin/terminator")))
10900 (wrap-program prog
10901 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
10902 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
10903 #t)))
10904 (add-after 'wrap-program 'glib-or-gtk-wrap
10905 (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
10906 (home-page "https://gnometerminator.blogspot.com/")
10907 (synopsis "Store and run multiple GNOME terminals in one window")
10908 (description
10909 "Terminator allows you to run multiple GNOME terminals in a grid and
10910 +tabs, and it supports drag and drop re-ordering of terminals.")
10911 (license license:gpl2)))
10912
10913 (define-public libhandy
10914 (package
10915 (name "libhandy")
10916 (version "1.0.2")
10917 (source
10918 (origin
10919 (method git-fetch)
10920 (uri (git-reference
10921 (url "https://gitlab.gnome.org/GNOME/libhandy")
10922 (commit version)))
10923 (file-name (git-file-name name version))
10924 (sha256
10925 (base32 "1bmmkahshvlvpsnb7zp8bddv7i1h5k4p967n6kxh71g1vnj8x20m"))))
10926 (build-system meson-build-system)
10927 (arguments
10928 `(#:configure-flags
10929 '("-Dglade_catalog=enabled"
10930 "-Dgtk_doc=true")
10931 #:phases
10932 (modify-phases %standard-phases
10933 (add-before 'check 'pre-check
10934 (lambda _
10935 ;; Tests require a running X server.
10936 (system "Xvfb :1 &")
10937 (setenv "DISPLAY" ":1")
10938 #t)))))
10939 (inputs
10940 `(("gtk+" ,gtk+)
10941 ("glade" ,glade3)
10942 ("libxml2" ,libxml2)))
10943 (native-inputs
10944 `(("glib:bin" ,glib "bin")
10945 ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
10946 ("vala" ,vala)
10947 ("gtk-doc" ,gtk-doc)
10948 ("pkg-config" ,pkg-config)
10949 ("gettext" ,gettext-minimal)
10950
10951 ;; Test suite dependencies.
10952 ("xorg-server" ,xorg-server-for-tests)
10953 ("hicolor-icon-theme" ,hicolor-icon-theme)))
10954 (home-page "https://gitlab.gnome.org/GNOME/libhandy/")
10955 (synopsis "Library full of GTK+ widgets for mobile phones")
10956 (description "The aim of the handy library is to help with developing user
10957 interfaces for mobile devices using GTK+. It provides responsive GTK+ widgets
10958 for usage on small and big screens.")
10959 (license license:lgpl2.1+)))
10960
10961 (define-public libhandy-0.0
10962 (package
10963 (inherit libhandy)
10964 (version "0.0.13")
10965 (source
10966 (origin
10967 (method git-fetch)
10968 (uri (git-reference
10969 (url "https://gitlab.gnome.org/GNOME/libhandy")
10970 (commit (string-append "v" version))))
10971 (file-name (git-file-name "libhandy" version))
10972 (sha256
10973 (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))
10974 (arguments
10975 (substitute-keyword-arguments (package-arguments libhandy)
10976 ((#:configure-flags flags)
10977 '(list "-Dglade_catalog=disabled" "-Dgtk_doc=true"))))))
10978
10979 (define-public libgit2-glib
10980 (package
10981 (name "libgit2-glib")
10982 (version "0.99.0.1")
10983 (source (origin
10984 (method url-fetch)
10985 (uri (string-append "mirror://gnome/sources/" name "/"
10986 (version-major+minor version) "/"
10987 name "-" version ".tar.xz"))
10988 (sha256
10989 (base32
10990 "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0"))))
10991 (build-system meson-build-system)
10992 (native-inputs
10993 `(("glib:bin" ,glib "bin") ;; For glib-mkenums
10994 ("gobject-introspection" ,gobject-introspection)
10995 ("pkg-config" ,pkg-config)
10996 ("python-pygobject" ,python-pygobject)
10997 ("python-wrapper" ,python-wrapper)
10998 ("vala" ,vala)))
10999 (inputs
11000 `(("glib" ,glib)
11001 ("libssh2" ,libssh2)))
11002 (propagated-inputs
11003 `(;; In Requires of libgit2-glib.pc.
11004 ("libgit2" ,libgit2)))
11005 (synopsis "GLib wrapper around the libgit2 Git access library")
11006 (description "libgit2-glib is a GLib wrapper library around the libgit2 Git
11007 access library. It only implements the core plumbing functions, not really the
11008 higher level porcelain stuff.")
11009 (home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
11010 (license license:gpl2+)))
11011
11012 (define-public gitg
11013 (package
11014 (name "gitg")
11015 (version "3.32.1")
11016 (source (origin
11017 (method url-fetch)
11018 (uri (string-append "mirror://gnome/sources/" name "/"
11019 (version-major+minor version) "/"
11020 name "-" version ".tar.xz"))
11021 (sha256
11022 (base32
11023 "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
11024 (build-system meson-build-system)
11025 (arguments
11026 `(#:glib-or-gtk? #t
11027 #:phases
11028 (modify-phases %standard-phases
11029 (add-after 'unpack 'disable-post-install-partially
11030 (lambda _
11031 (substitute* "meson_post_install.py"
11032 (("'python'") ; there are no python sources to compile
11033 (string-append "'" (which "true") "'"))
11034 (("gtk-update-icon-cache") (which "true")))
11035 #t))
11036 (add-after 'unpack 'fix-test-sources
11037 (lambda _
11038 (substitute* "tests/libgitg/test-commit.vala"
11039 (("/bin/bash") (which "bash")))
11040 #t))
11041 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11042 (lambda* (#:key outputs #:allow-other-keys)
11043 (let ((prog (string-append (assoc-ref outputs "out")
11044 "/bin/gitg")))
11045 (wrap-program prog
11046 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11047 #t))))))
11048 (inputs
11049 `(("glib" ,glib)
11050 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11051 ("gtk+" ,gtk+)
11052 ("gtkspell3" ,gtkspell3)
11053 ("gtksourceview" ,gtksourceview-3)
11054 ("json-glib" ,json-glib)
11055 ("libdazzle" ,libdazzle)
11056 ("libgee" ,libgee)
11057 ("libgit2-glib" ,libgit2-glib)
11058 ("libpeas" ,libpeas)
11059 ("libsecret" ,libsecret)
11060 ("libsoup" ,libsoup)
11061 ("libxml2" ,libxml2)))
11062 (native-inputs
11063 `(("glib:bin" ,glib "bin")
11064 ("gtk+:bin" ,gtk+ "bin")
11065 ("gobject-introspection" ,gobject-introspection)
11066 ("intltool" ,intltool)
11067 ("pkg-config" ,pkg-config)
11068 ("vala" ,vala)))
11069 (synopsis "Graphical user interface for git")
11070 (description
11071 "gitg is a graphical user interface for git. It aims at being a small,
11072 fast and convenient tool to visualize the history of git repositories.
11073 Besides visualization, gitg also provides several utilities to manage your
11074 repository and commit your work.")
11075 (home-page "https://wiki.gnome.org/Apps/Gitg")
11076 (license license:gpl2+)))
11077
11078 (define-public gamin
11079 (package
11080 (name "gamin")
11081 (version "0.1.10")
11082 (source (origin
11083 (method url-fetch)
11084 (uri (string-append "mirror://gnome/sources/" name "/"
11085 (version-major+minor version) "/"
11086 name "-" version ".tar.bz2"))
11087 (sha256
11088 (base32
11089 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
11090 (build-system gnu-build-system)
11091 (arguments
11092 `(#:phases
11093 (modify-phases %standard-phases
11094 (add-after 'unpack 'remove-deprecated-macro
11095 (lambda _
11096 (substitute* '("server/gam_node.c"
11097 "server/gam_subscription.h"
11098 "server/gam_node.h"
11099 "server/gam_subscription.c")
11100 (("G_CONST_RETURN") "const"))
11101 #t)))))
11102 (inputs
11103 `(("glib" ,glib)))
11104 (native-inputs
11105 `(("intltool" ,intltool)
11106 ("pkg-config" ,pkg-config)))
11107 (home-page "https://people.gnome.org/~veillard/gamin/")
11108 (synopsis "File alteration monitor")
11109 (description
11110 "Gamin is a file and directory monitoring system defined to be a subset
11111 of the FAM (File Alteration Monitor) system. This is a service provided by a
11112 library which detects when a file or a directory has been modified.")
11113 (license license:gpl2+)))
11114
11115 (define-public gnome-mahjongg
11116 (package
11117 (name "gnome-mahjongg")
11118 (version "3.35.1")
11119 (source (origin
11120 (method git-fetch)
11121 (uri (git-reference
11122 (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git")
11123 (commit version)))
11124 (file-name (git-file-name name version))
11125 (sha256
11126 (base32
11127 "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l"))))
11128 (build-system meson-build-system)
11129 (arguments
11130 `(#:glib-or-gtk? #t))
11131 (native-inputs
11132 `(("appstream-glib" ,appstream-glib)
11133 ("gettext" ,gettext-minimal)
11134 ("glib:bin" ,glib "bin") ;; For glib-compile-resources
11135 ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache
11136 ("itstool" ,itstool)
11137 ("pkg-config" ,pkg-config)
11138 ("vala" ,vala)))
11139 (propagated-inputs
11140 `(("dconf" ,dconf)))
11141 (inputs
11142 `(("glib" ,glib)
11143 ("gtk+" ,gtk+)
11144 ("librsvg" ,librsvg)))
11145 (synopsis "Mahjongg tile-matching game")
11146 (description "GNOME Mahjongg is a game based on the classic Chinese
11147 tile-matching game Mahjong. It features multiple board layouts, tile themes,
11148 and a high score table.")
11149 (home-page "https://wiki.gnome.org/Apps/Mahjongg")
11150 (license license:gpl2+)))
11151
11152 (define-public gnome-themes-extra
11153 (package
11154 (name "gnome-themes-extra")
11155 (version "3.28")
11156 (source
11157 (origin
11158 (method url-fetch)
11159 (uri (string-append "mirror://gnome/sources/" name "/"
11160 (version-major+minor version) "/" name "-"
11161 version ".tar.xz"))
11162 (sha256
11163 (base32
11164 "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw"))))
11165 (build-system gnu-build-system)
11166 (arguments
11167 '(#:configure-flags
11168 ;; Don't create 'icon-theme.cache'.
11169 (let* ((coreutils (assoc-ref %build-inputs "coreutils"))
11170 (true (string-append coreutils "/bin/true")))
11171 (list (string-append "GTK_UPDATE_ICON_CACHE=" true)))))
11172 (native-inputs
11173 `(("glib:bin" ,glib "bin")
11174 ("intltool" ,intltool)
11175 ("pkg-config" ,pkg-config)))
11176 (inputs
11177 `(("glib" ,glib)
11178 ("gtk+" ,gtk+)
11179 ("gtk+-2" ,gtk+-2)
11180 ("librsvg" ,librsvg)
11181 ("libxml2" ,libxml2)))
11182 (home-page "https://gitlab.gnome.org/GNOME/gnome-themes-extra")
11183 (synopsis "GNOME Extra Themes")
11184 (description "This package provides themes and related elements that don't
11185 really fit in other upstream packages. It offers legacy support for GTK+ 2
11186 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides
11187 index files needed for Adwaita to be used outside of GNOME.")
11188 (license license:lgpl2.1+)))
11189
11190 (define-public gnote
11191 (package
11192 (name "gnote")
11193 (version "3.38.0")
11194 (source
11195 (origin
11196 (method url-fetch)
11197 (uri (string-append "mirror://gnome/sources/" name "/"
11198 (version-major+minor version) "/"
11199 "gnote-" version ".tar.xz"))
11200 (sha256
11201 (base32 "1ingbaw4d8vpjn083xvzqw7kz8z0k2bx7msk78pbzd68bwgkadpx"))))
11202 (build-system glib-or-gtk-build-system)
11203 (native-inputs
11204 `(("desktop-file-utils" ,desktop-file-utils)
11205 ("glib:bin" ,glib "bin")
11206 ("gobject-introspection" ,gobject-introspection)
11207 ("intltool" ,intltool)
11208 ("itstool" ,itstool)
11209 ("pkg-config" ,pkg-config)
11210 ("unittest-cpp" ,unittest-cpp))) ;FIXME: not found by pkg-config
11211 (inputs
11212 `(("glibmm" ,glibmm)
11213 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11214 ("gspell" ,gspell)
11215 ("gtk+" ,gtk+)
11216 ("gtkmm" ,gtkmm)
11217 ("libsecret" ,libsecret)
11218 ("libuuid" ,util-linux "lib")
11219 ("libxml2" ,libxml2)
11220 ("libxslt" ,libxslt)))
11221 (synopsis "Note-taking application for the GNOME desktop")
11222 (description
11223 "Gnote is a note-taking application written for the GNOME desktop
11224 environment.")
11225 (home-page "https://wiki.gnome.org/Apps/Gnote")
11226 (license license:gpl3+)))
11227
11228 (define-public polari
11229 (package
11230 (name "polari")
11231 (version "3.36.3")
11232 (source (origin
11233 (method url-fetch)
11234 (uri (string-append "mirror://gnome/sources/polari/"
11235 (version-major+minor version)
11236 "/polari-" version ".tar.xz"))
11237 (sha256
11238 (base32
11239 "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg"))))
11240 (build-system meson-build-system)
11241 (arguments
11242 `(#:glib-or-gtk? #t
11243 #:phases
11244 (modify-phases %standard-phases
11245 (add-after 'unpack 'skip-gtk-update-icon-cache
11246 (lambda _
11247 (substitute* "meson/meson-postinstall.sh"
11248 (("gtk-update-icon-cache") (which "true")))
11249 #t))
11250 (add-after 'glib-or-gtk-wrap 'wrap-typelib
11251 (lambda* (#:key outputs #:allow-other-keys)
11252 (let ((prog (string-append (assoc-ref outputs "out")
11253 "/bin/polari")))
11254 (wrap-program prog
11255 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11256 #t))))))
11257 (inputs
11258 `(("glib" ,glib)
11259 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11260 ("gspell" ,gspell)
11261 ("gtk+" ,gtk+)
11262 ("gjs" ,gjs)
11263 ("libsecret" ,libsecret)
11264 ("libsoup" ,libsoup)
11265 ("telepathy-glib" ,telepathy-glib)
11266 ("telepathy-logger" ,telepathy-logger)))
11267 (native-inputs
11268 `(("glib:bin" ,glib "bin")
11269 ("gobject-introspection" ,gobject-introspection)
11270 ("intltool" ,intltool)
11271 ("pkg-config" ,pkg-config)
11272 ("yelp-tools" ,yelp-tools)))
11273 (propagated-inputs
11274 `(("telepathy-idle" ,telepathy-idle)
11275 ("telepathy-mission-control" ,telepathy-mission-control)))
11276 (synopsis "Simple IRC Client")
11277 (description
11278 "Polari is a simple Internet Relay Chat (IRC) client that is designed to
11279 integrate seamlessly with the GNOME desktop.")
11280 (home-page "https://wiki.gnome.org/Apps/Polari")
11281 (license license:gpl2+)))
11282
11283 (define-public gnome-boxes
11284 (package
11285 (name "gnome-boxes")
11286 (version "3.36.6")
11287 (source
11288 (origin
11289 (method url-fetch)
11290 (uri (string-append "mirror://gnome/sources/gnome-boxes/"
11291 (version-major+minor version) "/"
11292 "gnome-boxes-" version ".tar.xz"))
11293 (sha256
11294 (base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
11295 (build-system meson-build-system)
11296 (arguments
11297 '(#:glib-or-gtk? #t
11298 #:configure-flags (list "-Drdp=false"
11299 (string-append "-Dc_link_args=-Wl,-rpath="
11300 (assoc-ref %outputs "out")
11301 "/lib/gnome-boxes"))))
11302 (native-inputs
11303 `(("glib:bin" ,glib "bin") ; for glib-compile-resources
11304 ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
11305 ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
11306 ("itstool" ,itstool)
11307 ("intltool" ,intltool)
11308 ("vala" ,vala)
11309 ("pkg-config" ,pkg-config)))
11310 (inputs
11311 `(("libarchive" ,libarchive)
11312 ("glib-networking" ,glib-networking) ;for TLS support
11313 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11314 ("gtk" ,gtk+)
11315 ("gtk-vnc" ,gtk-vnc)
11316 ("libosinfo" ,libosinfo)
11317 ("libsecret" ,libsecret)
11318 ("libsoup" ,libsoup)
11319 ("libusb" ,libusb)
11320 ("libvirt" ,libvirt)
11321 ("libvirt-glib" ,libvirt-glib)
11322 ("libxml" ,libxml2)
11323 ("spice-gtk" ,spice-gtk)
11324 ("sparql-query" ,sparql-query)
11325 ("vte" ,vte)
11326 ("webkitgtk" ,webkitgtk)
11327 ("tracker" ,tracker)
11328 ("libgudev" ,libgudev)))
11329 (home-page "https://wiki.gnome.org/Apps/Boxes")
11330 (synopsis "View, access, and manage remote and virtual systems")
11331 (description "GNOME Boxes is a simple application to view, access, and
11332 manage remote and virtual systems. Note that this application requires the
11333 @code{libvirt} and @code{virtlog} daemons to run. Use the command
11334 @command{info '(guix) Virtualization Services'} to learn how to configure
11335 these services on the Guix System.")
11336 (license (list
11337 ;; For data/icons/empty-boxes.png.
11338 license:cc-by2.0
11339 ;; For all others.
11340 license:lgpl2.0+))))
11341
11342 (define-public geary
11343 (package
11344 (name "geary")
11345 (version "3.34.1")
11346 (source (origin
11347 (method git-fetch)
11348 (uri (git-reference
11349 (url "https://gitlab.gnome.org/GNOME/geary")
11350 (commit version)))
11351 (file-name (git-file-name name version))
11352 (sha256
11353 (base32
11354 "01cc921kyh3zxz07biqbdzkjgmdcc36kwjyajm4y382a75cl5zg7"))))
11355 (build-system meson-build-system)
11356 (arguments
11357 `(#:glib-or-gtk? #t
11358 #:phases (modify-phases %standard-phases
11359 (add-after 'unpack 'disable-failing-tests
11360 (lambda _
11361 (substitute* "test/meson.build"
11362 (("test\\('client-tests', geary_test_client_bin\\)")
11363 ""))
11364 #t))
11365 (add-after 'unpack 'disable-postinstall-script
11366 (lambda _
11367 (substitute* "meson.build"
11368 (("meson.add_install_script\\(\
11369 join_paths\\('build-aux', 'post_install.py'\\)\\)")
11370 ""))
11371 #t))
11372 (add-before 'check 'setup-xvfb
11373 (lambda _
11374 (system "Xvfb :1 &")
11375 (setenv "DISPLAY" ":1")
11376 #t)))))
11377 (inputs
11378 `(("enchant" ,enchant)
11379 ("folks" ,folks)
11380 ("gcr" ,gcr)
11381 ("glib" ,glib)
11382 ("gmime" ,gmime-2.6)
11383 ("gnome-online-accounts:lib"
11384 ,gnome-online-accounts "lib")
11385 ("gspell" ,gspell)
11386 ("gtk+" ,gtk+)
11387 ("iso-codes" ,iso-codes)
11388 ("json-glib" ,json-glib)
11389 ("libcanberra" ,libcanberra)
11390 ("libgee" ,libgee)
11391 ("libhandy" ,libhandy-0.0)
11392 ("libpeas" ,libpeas)
11393 ("libsecret" ,libsecret)
11394 ("libunwind" ,libunwind)
11395 ("sqlite" ,sqlite)
11396 ("webkitgtk" ,webkitgtk)
11397 ("ytnef" ,ytnef)))
11398 (native-inputs
11399 `(("appstream-glib" ,appstream-glib)
11400 ("cmake-minimal" ,cmake-minimal)
11401 ("desktop-file-utils" ,desktop-file-utils)
11402 ("gettext" ,gettext-minimal)
11403 ("glib:bin" ,glib "bin")
11404 ("gobject-introspection" ,gobject-introspection)
11405 ("itstool" ,itstool)
11406 ("libarchive" ,libarchive)
11407 ("libxml2" ,libxml2)
11408 ("pkg-config" ,pkg-config)
11409 ("vala" ,vala)
11410 ("xvfb" ,xorg-server-for-tests)))
11411 (synopsis "GNOME email application built around conversations")
11412 (description
11413 "Geary collects related messages together into conversations,
11414 making it easy to find and follow your discussions. Full-text and keyword
11415 search makes it easy to find the email you are looking for. Geary's
11416 full-featured composer lets you send rich, styled text with images, links, and
11417 lists, but also send lightweight, easy to read text messages. Geary
11418 automatically picks up your existing GNOME Online Accounts, and adding more is
11419 easy. Geary has a clean, fast, modern interface that works like you want it
11420 to.")
11421 (home-page "https://wiki.gnome.org/Apps/Geary")
11422 (license (list
11423 ;; geary
11424 license:lgpl2.1+
11425 ;; icons
11426 license:cc-by3.0
11427 license:cc-by-sa3.0
11428 license:public-domain
11429 ;; snowball
11430 license:bsd-2))))
11431
11432 (define-public glabels
11433 (package
11434 (name "glabels")
11435 (version "3.4.1")
11436 (source
11437 (origin
11438 (method url-fetch)
11439 (uri (string-append "mirror://gnome/sources/" name "/"
11440 (version-major+minor version) "/"
11441 "glabels-" version ".tar.xz"))
11442 (sha256
11443 (base32 "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
11444 (build-system glib-or-gtk-build-system)
11445 (native-inputs
11446 `(("gettext" ,gettext-minimal)
11447 ("glib:bin" ,glib "bin")
11448 ("intltool" ,intltool)
11449 ("itstool" ,itstool)
11450 ("pkg-config" ,pkg-config)))
11451 (inputs
11452 `(("gtk+" ,gtk+)
11453 ("librsvg" ,librsvg)
11454 ("libxml2" ,libxml2)))
11455 (home-page "https://glabels.org/")
11456 (synopsis "Program for creating labels and business cards")
11457 (description
11458 "gLabels is a program for creating labels and business cards. It is
11459 designed to work with various laser/ink-jet peel-off label and business
11460 card sheets that you’ll find at most office supply stores.")
11461 (license license:gpl3+)))
11462
11463 ;; Version 3.38.0 is out but requires tepl>=5 which requires glib>=2.64.
11464 (define-public gnome-latex
11465 (package
11466 (name "gnome-latex")
11467 (version "3.36.0")
11468 (source
11469 (origin
11470 (method url-fetch)
11471 (uri (string-append "mirror://gnome/sources/" name "/"
11472 (version-major+minor version) "/"
11473 "gnome-latex-" version ".tar.xz"))
11474 (sha256
11475 (base32 "1869kr1zhcp04mzbi67lwgk497w840dbbc7427i9yh9b9s7j6mqn"))))
11476 (build-system glib-or-gtk-build-system)
11477 (native-inputs
11478 `(("gettext" ,gettext-minimal)
11479 ("glib:bin" ,glib "bin")
11480 ("gobject-introspection" ,gobject-introspection)
11481 ("gtk-doc" ,gtk-doc)
11482 ("intltool" ,intltool)
11483 ("itstool" ,itstool)
11484 ("pkg-config" ,pkg-config)
11485 ("vala" ,vala)))
11486 (inputs
11487 `(("amtk" ,amtk)
11488 ("dconf" ,dconf)
11489 ("glib" ,glib)
11490 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11491 ("gspell" ,gspell)
11492 ("gtk+" ,gtk+)
11493 ("gtksourceview" ,gtksourceview)
11494 ("libgee" ,libgee)
11495 ("tepl" ,tepl)
11496 ("uchardet" ,uchardet)))
11497 (home-page "https://wiki.gnome.org/Apps/GNOME-LaTeX")
11498 (synopsis "LaTeX editor for the GNOME desktop")
11499 (description
11500 "GNOME LaTeX is a LaTeX editor for the GNOME desktop. It has features
11501 such as build tools, completion of LaTeX commands, structure navigation,
11502 symbol tables, document templates, project management, spell-checking, menus
11503 and toolbars.")
11504 (license license:gpl3+)))
11505
11506 (define-public setzer
11507 (package
11508 (name "setzer")
11509 (version "0.3.8")
11510 (source
11511 (origin
11512 (method git-fetch)
11513 (uri (git-reference
11514 (url "https://github.com/cvfosammmm/Setzer")
11515 (commit (string-append "v" version))))
11516 (file-name (git-file-name name version))
11517 (sha256
11518 (base32 "1f5qmkz4hzn54sh56z3hw8zrvg93xlz62ggzlzyg7vgsr83kpns9"))))
11519 (build-system meson-build-system)
11520 (arguments
11521 `(#:glib-or-gtk? #t
11522 #:phases
11523 (modify-phases %standard-phases
11524 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11525 (lambda* (#:key outputs #:allow-other-keys)
11526 (let ((prog (string-append (assoc-ref outputs "out")
11527 "/bin/setzer"))
11528 (pylib (string-append (assoc-ref outputs "out")
11529 "/lib/python"
11530 ,(version-major+minor
11531 (package-version python))
11532 "/site-packages")))
11533 (wrap-program prog
11534 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))
11535 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11536 #t))))))
11537 (native-inputs
11538 `(("desktop-file-utils" ,desktop-file-utils)
11539 ("gettext" ,gettext-minimal)
11540 ("glib:bin" ,glib "bin")
11541 ("gobject-introspection" ,gobject-introspection)
11542 ("gtk+:bin" ,gtk+ "bin")))
11543 (inputs
11544 `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
11545 ("gspell" ,gspell)
11546 ("gtk+" ,gtk+)
11547 ("gtksourceview" ,gtksourceview)
11548 ("pango" ,pango)
11549 ("poppler" ,poppler)
11550 ("python-pycairo" ,python-pycairo)
11551 ("python-pygobject" ,python-pygobject)
11552 ("python-pyxdg" ,python-pyxdg)
11553 ("webkitgtk" ,webkitgtk)
11554 ("xdg-utils" ,xdg-utils)))
11555 (home-page "https://www.cvfosammmm.org/setzer/")
11556 (synopsis "LaTeX editor written in Python with GTK+")
11557 (description
11558 "Setzer is a simple yet full-featured LaTeX editor written in Python with
11559 GTK+. It integrates well with the GNOME desktop environment.")
11560 (license license:gpl3+)))
11561
11562 (define-public libratbag
11563 (package
11564 (name "libratbag")
11565 (version "0.14")
11566 (source
11567 (origin
11568 (method git-fetch)
11569 (uri (git-reference
11570 (url "https://github.com/libratbag/libratbag")
11571 (commit (string-append "v" version))))
11572 (file-name (git-file-name name version))
11573 (sha256
11574 (base32 "1fpwp2sj8mf98bqasq2h8qwgprxi7k3iw33gcfid3d1lbyiacw0x"))))
11575 (build-system meson-build-system)
11576 (arguments
11577 `(#:configure-flags
11578 (list "-Dsystemd=false"
11579 "-Dlogind-provider=elogind")
11580 #:phases
11581 (modify-phases %standard-phases
11582 (add-after 'install 'wrap
11583 (lambda* (#:key inputs outputs #:allow-other-keys)
11584 (let* ((out (assoc-ref outputs "out"))
11585 (site (string-append
11586 "/lib/python"
11587 ,(version-major+minor (package-version python))
11588 "/site-packages"))
11589 (evdev (string-append
11590 (assoc-ref inputs "python-evdev") site))
11591 (pygo (string-append
11592 (assoc-ref inputs "python-pygobject") site))
11593 (python-wrap
11594 `("PYTHONPATH" = (,evdev ,pygo))))
11595 (wrap-program (string-append out "/bin/" "ratbagctl")
11596 python-wrap)
11597 #t))))))
11598 (native-inputs
11599 `(("check" ,check)
11600 ("pkg-config" ,pkg-config)
11601 ("swig" ,swig)
11602 ("valgrind" ,valgrind)))
11603 (inputs
11604 `(("glib" ,glib)
11605 ("json-glib" ,json-glib)
11606 ("libevdev" ,libevdev)
11607 ("libsystemd" ,elogind)
11608 ("libunistring" ,libunistring)
11609 ("python-evdev" ,python-evdev)
11610 ("python-pygobject" ,python-pygobject)
11611 ("udev" ,eudev)))
11612 (home-page "https://github.com/libratbag/libratbag")
11613 (synopsis "DBus daemon and utility for configuring gaming mice")
11614 (description "libratbag provides @command{ratbagd}, a DBus daemon to
11615 configure input devices, mainly gaming mice. The daemon provides a generic
11616 way to access the various features exposed by these mice and abstracts away
11617 hardware-specific and kernel-specific quirks. There is also the
11618 @command{ratbagctl} command line interface for configuring devices.
11619
11620 libratbag currently supports devices from Logitech, Etekcity, GSkill, Roccat,
11621 Steelseries.
11622
11623 The ratbagd DBus service can be enabled by adding the following service to
11624 your operating-system definition:
11625
11626 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11627 (license license:expat)))
11628
11629 (define-public piper
11630 (package
11631 (name "piper")
11632 (version "0.5.1")
11633 (source
11634 (origin
11635 (method git-fetch)
11636 (uri (git-reference
11637 (url "https://github.com/libratbag/piper")
11638 (commit version)))
11639 (sha256
11640 (base32 "1nfjnsiwg2rs6gkjsxzhr2708i6di149dgwq3cf6l12rxqpb8arj"))
11641 (file-name (git-file-name name version))))
11642 (build-system meson-build-system)
11643 (native-inputs
11644 `(("gettext" ,gettext-minimal)
11645 ("glib:bin" ,glib "bin")
11646 ("gobject-introspection" ,gobject-introspection)
11647 ("pkg-config" ,pkg-config)
11648 ("python-flake8" ,python-flake8)))
11649 (inputs
11650 `(("adwaita-icon-theme" ,adwaita-icon-theme)
11651 ("gtk" ,gtk+)
11652 ("gtk:bin" ,gtk+ "bin")
11653 ("librsvg" ,librsvg)
11654 ("python-evdev" ,python-evdev)
11655 ("python-lxml" ,python-lxml)
11656 ("python-pycairo" ,python-pycairo)
11657 ("python-pygobject" ,python-pygobject)))
11658 (arguments
11659 `(#:imported-modules ((guix build python-build-system)
11660 ,@%meson-build-system-modules)
11661 #:modules (((guix build python-build-system) #:prefix python:)
11662 (guix build meson-build-system)
11663 (guix build utils))
11664 #:tests? #f ;; The flake8 test fails trying to validate piper.in as code.
11665 #:phases
11666 (modify-phases %standard-phases
11667 (add-after 'unpack 'dont-update-gtk-icon-cache
11668 (lambda _
11669 (substitute* "meson.build"
11670 (("meson.add_install_script('meson_install.sh')") ""))
11671 #t))
11672 ;; TODO: Switch to wrap-script when it is fixed.
11673 (add-after 'install 'wrap-python
11674 (assoc-ref python:%standard-phases 'wrap))
11675 (add-after 'wrap-python 'wrap
11676 (lambda* (#:key outputs #:allow-other-keys)
11677 (wrap-program
11678 (string-append (assoc-ref outputs "out" )"/bin/piper")
11679 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11680 #t)))))
11681 (home-page "https://github.com/libratbag/piper/")
11682 (synopsis "Configure bindings and LEDs on gaming mice")
11683 (description "Piper is a GTK+ application for configuring gaming mice with
11684 onboard configuration for key bindings via libratbag. Piper requires
11685 a @command{ratbagd} daemon running with root privileges. It can be run
11686 manually as root, but is preferably configured as a DBus service that can
11687 launch on demand. This can be configured by enabling the following service,
11688 provided there is a DBus service present:
11689
11690 (simple-service 'ratbagd dbus-root-service-type (list libratbag))")
11691 (license license:gpl2)))
11692
11693 (define-public parlatype
11694 (package
11695 (name "parlatype")
11696 (version "2.1")
11697 (source
11698 (origin
11699 (method git-fetch)
11700 (uri (git-reference
11701 (url "https://github.com/gkarsay/parlatype")
11702 (commit (string-append "v" version))))
11703 (file-name (git-file-name name version))
11704 (sha256
11705 (base32 "1c15ja0rwz3jj8bnqdq0nmqka39iwrhy8krdv2a2x8nl4shfpmv0"))))
11706 (build-system meson-build-system)
11707 (arguments
11708 `(#:glib-or-gtk? #t
11709 #:tests? #f ;require internet access
11710 #:phases
11711 (modify-phases %standard-phases
11712 (add-after 'install 'wrap-parlatype
11713 ;; Add gstreamer plugin provided in this package to system's
11714 ;; plugins.
11715 (lambda* (#:key outputs #:allow-other-keys)
11716 (let* ((out (assoc-ref outputs "out"))
11717 (gst-plugin-path (string-append
11718 out "/lib/gstreamer-1.0/"
11719 ":"
11720 (getenv "GST_PLUGIN_SYSTEM_PATH"))))
11721 (wrap-program (string-append out "/bin/parlatype")
11722 `("GST_PLUGIN_SYSTEM_PATH" ":" = (,gst-plugin-path))))
11723 #t)))))
11724 (native-inputs
11725 `(("appstream-glib" ,appstream-glib)
11726 ("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11727 ("gettext" ,gettext-minimal)
11728 ("glib" ,glib "bin") ;for glib-compile-resources
11729 ("pkg-config" ,pkg-config)
11730 ("yelp-tools" ,yelp-tools)))
11731 (inputs
11732 `(("gst-plugins-base" ,gst-plugins-base)
11733 ("gst-plugins-good" ,gst-plugins-good)
11734 ("gstreamer" ,gstreamer)
11735 ("gtk+" ,gtk+)
11736 ("pocketsphinx" ,pocketsphinx)
11737 ("pulseaudio" ,pulseaudio)
11738 ("sphinxbase" ,sphinxbase)))
11739 (home-page "http://gkarsay.github.io/parlatype/")
11740 (synopsis "GNOME audio player for transcription")
11741 (description "Parlatype is an audio player for the GNOME desktop
11742 environment. Its main purpose is the manual transcription of spoken
11743 audio files.")
11744 (license license:gpl3+)))
11745
11746 (define-public jsonrpc-glib
11747 (package
11748 (name "jsonrpc-glib")
11749 (version "3.34.0")
11750 (source (origin
11751 (method url-fetch)
11752 (uri (string-append "mirror://gnome/sources/" name "/"
11753 (version-major+minor version) "/"
11754 name "-" version ".tar.xz"))
11755 (sha256
11756 (base32
11757 "0j05x4xv2cp3cbmp30m68z8g4rdw7b030ip4wszyfj9ya15v5kni"))))
11758 (build-system meson-build-system)
11759 (inputs
11760 `(("json-glib" ,json-glib)
11761 ("glib" ,glib)))
11762 (native-inputs
11763 `(("pkg-config" ,pkg-config)
11764 ("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
11765 ("gobject-introspection" ,gobject-introspection)
11766 ("vala" ,vala)))
11767 (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
11768 (synopsis "JSON-RPC library for GLib")
11769 (description "Jsonrpc-GLib is a library to communicate with JSON-RPC based
11770 peers in either a synchronous or asynchronous fashion. It also allows
11771 communicating using the GVariant serialization format instead of JSON when
11772 both peers support it. You might want that when communicating on a single
11773 host to avoid parser overhead and memory-allocator fragmentation.")
11774 (license license:lgpl2.1+)))
11775
11776 (define-public feedbackd
11777 (package
11778 (name "feedbackd")
11779 (version "0.0.0+git20200527")
11780 (source (origin
11781 (method git-fetch)
11782 (uri (git-reference
11783 (url "https://source.puri.sm/Librem5/feedbackd.git")
11784 (commit (string-append "v" version))))
11785 (file-name (git-file-name name version))
11786 (sha256
11787 (base32
11788 "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y"))))
11789 (build-system meson-build-system)
11790 (native-inputs
11791 `(("glib:bin" ,glib "bin")
11792 ("gobject-introspection" ,gobject-introspection)
11793 ("pkg-config" ,pkg-config)
11794 ("vala" ,vala)))
11795 (inputs
11796 `(("dbus" ,dbus)
11797 ("gsound" ,gsound)
11798 ("json-glib" ,json-glib)
11799 ("libgudev" ,libgudev)))
11800 (propagated-inputs
11801 `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
11802 (synopsis "Haptic/visual/audio feedback via DBus")
11803 (description "Feedbackd provides a DBus daemon to act on events to provide
11804 haptic, visual and audio feedback. It offers the libfeedbackd library and
11805 GObject introspection bindings.")
11806 (home-page "https://source.puri.sm/Librem5/feedbackd")
11807 (license (list license:lgpl2.1+ ; libfeedbackd
11808 license:lgpl3+)))) ; the rest
11809
11810 (define-public sysprof
11811 (package
11812 (name "sysprof")
11813 (version "3.36.0")
11814 (source
11815 (origin
11816 (method url-fetch)
11817 (uri (string-append "mirror://gnome/sources/sysprof/"
11818 (version-major+minor version) "/"
11819 "sysprof-" version ".tar.xz"))
11820 (sha256
11821 (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46"))))
11822 (build-system meson-build-system)
11823 (arguments
11824 `(#:configure-flags
11825 (list (string-append "-Dsystemdunitdir="
11826 %output
11827 "/share/systemd"))
11828 #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
11829 #:phases
11830 (modify-phases %standard-phases
11831 (add-after 'unpack 'patch-install-script
11832 (lambda _
11833 (substitute* "build-aux/meson/post_install.sh"
11834 (("gtk-update-icon-cache") "true")
11835 (("update-desktop-database") "true"))
11836 #t)))))
11837 (inputs
11838 `(("glib" ,glib)
11839 ("gtk+" ,gtk+)
11840 ("libdazzle" ,libdazzle)
11841 ("polkit" ,polkit)))
11842 (native-inputs
11843 `(("gettext" ,gettext-minimal)
11844 ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
11845 ("itstool" ,itstool)
11846 ("pkg-config" ,pkg-config)
11847 ("xmllint" ,libxml2)))
11848 ;; This home page is so woefully out of date as to be essentially useless.
11849 ;; (home-page "http://www.sysprof.com")
11850 (home-page "https://wiki.gnome.org/Apps/Sysprof")
11851 (synopsis "System-wide performance profiler for GNU/Linux")
11852 (description
11853 "Sysprof performs detailed, accurate, and fast CPU profiling of an entire
11854 GNU/Linux system including the kernel and all user-space applications. This
11855 helps find the function(s) in which a program spends most of its time.
11856
11857 It uses the kernel's built-in @code{ptrace} feature and handles shared
11858 libraries. Applications do not need to be recompiled--or even restarted.")
11859 (license license:gpl3+)))
11860
11861 (define-public gnome-builder
11862 (package
11863 (name "gnome-builder")
11864 (version "3.36.1")
11865 (source (origin
11866 (method url-fetch)
11867 (uri (string-append "mirror://gnome/sources/" name "/"
11868 (version-major+minor version) "/"
11869 name "-" version ".tar.xz"))
11870 (sha256
11871 (base32
11872 "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
11873 (build-system meson-build-system)
11874 (arguments
11875 `(#:configure-flags (list "-Dnetwork_tests=false"
11876 ;; TODO: Enable all plugins...
11877 "-Dplugin_clang=false"
11878 "-Dplugin_flatpak=false"
11879 "-Dplugin_glade=false"
11880 ;; XXX: This one has been shown not to work in
11881 ;; <https://issues.guix.gnu.org/45272>
11882 "-Dplugin_jedi=false"
11883 ;; ... except this one.
11884 "-Dplugin_update_manager=false")
11885 #:phases
11886 (modify-phases %standard-phases
11887 (add-after 'unpack 'patch-meson
11888 (lambda* (#:key inputs #:allow-other-keys)
11889 (substitute* "build-aux/meson/post_install.py"
11890 (("gtk-update-icon-cache") "true")
11891 (("update-desktop-database") "true"))
11892 (substitute* "src/libide/meson.build"
11893 (("/usr/lib")
11894 (string-append (assoc-ref inputs "python-pygobject")
11895 "/lib")))
11896 #t))
11897 (add-after 'configure 'fix-ninja
11898 (lambda _
11899 ;; #43296: meson(?) incorrectly assumes we want to link
11900 ;; this PIE against a static libselinux.
11901 (substitute* "build.ninja"
11902 (("libselinux\\.a") "libselinux.so"))
11903 #t))
11904 (add-before 'check 'pre-check
11905 (lambda _
11906 (system "Xvfb :1 &")
11907 (setenv "DISPLAY" ":1")
11908 #t)))))
11909 (inputs
11910 `(("devhelp" ,devhelp)
11911 ("gspell" ,gspell)
11912 ("gtk+" ,gtk+)
11913 ("json-glib" ,json-glib)
11914 ("jsonrpc-glib" ,jsonrpc-glib)
11915 ("libdazzle" ,libdazzle)
11916 ("libgit2-glib" ,libgit2-glib)
11917 ("libpeas" ,libpeas)
11918 ("python-pygobject" ,python-pygobject)
11919 ("sysprof" ,sysprof)
11920 ("template-glib" ,template-glib)
11921 ("vte" ,vte)
11922 ("webkitgtk" ,webkitgtk)))
11923 (propagated-inputs
11924 `(("gtksourceview" ,gtksourceview))) ;needed for settings
11925 (native-inputs
11926 `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
11927 ("glib:bin" ,glib "bin")
11928 ("gettext" ,gettext-minimal)
11929 ("pkg-config" ,pkg-config)
11930 ("vala" ,vala)
11931 ("xorg-server" ,xorg-server-for-tests)))
11932 (home-page "https://wiki.gnome.org/Apps/Builder")
11933 (synopsis "Toolsmith for GNOME-based applications")
11934 (description "Builder aims to be an integrated development
11935 environment (IDE) for writing GNOME-based software. It features fuzzy search,
11936 auto-completion, a mini code map, documentation browsing, Git integration, an
11937 integrated profiler via Sysprof, debugging support, and more.")
11938 (license license:gpl3+)))
11939
11940 (define-public komikku
11941 (package
11942 (name "komikku")
11943 (version "0.24.0")
11944 (source
11945 (origin
11946 (method git-fetch)
11947 (uri (git-reference
11948 (url "https://gitlab.com/valos/Komikku/")
11949 (commit (string-append "v" version))))
11950 (file-name (git-file-name name version))
11951 (sha256
11952 (base32
11953 "010p32zrim245y0l784yp0rasqcqlyr3lrxwl3r1876x83qhs6q3"))))
11954 (build-system meson-build-system)
11955 (arguments
11956 `(#:glib-or-gtk? #t
11957 #:phases
11958 (modify-phases %standard-phases
11959 (add-after 'unpack 'patch-sources
11960 (lambda _
11961 (substitute* "komikku/utils.py"
11962 (("from komikku\\.servers import get_servers_list")
11963 ;; code following that line should migrate old databases
11964 ;; but the line itself results in an import error
11965 "return data_dir_path"))))
11966 (add-after 'unpack 'skip-gtk-update-icon-cache
11967 (lambda _
11968 (substitute* "meson_post_install.py"
11969 (("gtk-update-icon-cache") (which "true")))
11970 #t))
11971 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
11972 (lambda* (#:key outputs #:allow-other-keys)
11973 (let ((prog (string-append (assoc-ref outputs "out")
11974 "/bin/komikku")))
11975 (wrap-program prog
11976 `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
11977 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
11978 #t))))))
11979 (inputs
11980 `(("gtk+" ,gtk+)
11981 ("libhandy" ,libhandy)
11982 ("libnotify" ,libnotify)
11983 ("libsecret" ,libsecret)
11984 ("python-beautifulsoup4" ,python-beautifulsoup4)
11985 ("python-dateparser" ,python-dateparser)
11986 ("python-keyring" ,python-keyring)
11987 ("python-lxml" ,python-lxml)
11988 ("python-magic" ,python-magic)
11989 ("python-pillow" ,python-pillow)
11990 ("python-pure-protobuf" ,python-pure-protobuf)
11991 ("python-pycairo" ,python-pycairo)
11992 ("python-pygobject" ,python-pygobject)
11993 ("python-requests" ,python-requests)
11994 ("python-unidecode" ,python-unidecode)))
11995 (native-inputs
11996 `(("desktop-file-utils" ,desktop-file-utils)
11997 ("gettext" ,gettext-minimal)
11998 ("glib:bin" ,glib "bin")
11999 ("gobject-introspection" ,gobject-introspection)
12000 ("pkg-config" ,pkg-config)))
12001 (home-page "https://gitlab.com/valos/Komikku")
12002 (synopsis "Manga reader for GNOME")
12003 (description "Komikku is an online/offline manga reader for GNOME,
12004 developed with the aim of being used with the Librem 5 phone.")
12005 (license license:gpl3+)))
12006
12007 (define-public libgda
12008 (package
12009 (name "libgda")
12010 (version "5.2.10")
12011 (source
12012 (origin
12013 (method git-fetch)
12014 (uri (git-reference
12015 (url "https://gitlab.gnome.org/GNOME/libgda.git/")
12016 (commit (string-append "LIBGDA_" (string-replace-substring
12017 version "." "_")))))
12018 (file-name (git-file-name name version))
12019 (sha256
12020 (base32 "18rg773gq9v3cdywpmrp12c5xyp97ir9yqjinccpi22sksb1kl8a"))))
12021 (build-system gnu-build-system)
12022 (arguments
12023 `(#:configure-flags '("--enable-vala")
12024 ;; There's a race between check_cnc_lock and check_threaded_cnc
12025 ;; in tests/multi-threading.
12026 #:parallel-tests? #f
12027 #:phases
12028 (modify-phases %standard-phases
12029 (add-after 'unpack 'fix-glade-install
12030 (lambda _
12031 (substitute* "configure.ac"
12032 (("`\\$PKG_CONFIG --variable=catalogdir gladeui-2\\.0`")
12033 "${datadir}/glade/catalogs")
12034 (("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2\\.0`")
12035 "${datadir}/glade/pixmaps"))
12036 #t))
12037 (add-before 'check 'pre-check
12038 (lambda* (#:key inputs #:allow-other-keys)
12039 ;; Tests require a running X server.
12040 (system "Xvfb :1 &")
12041 (setenv "DISPLAY" ":1")
12042 #t))
12043 (add-after 'install 'symlink-glade-module
12044 (lambda* (#:key outputs #:allow-other-keys)
12045 (let* ((shlib "libgda-ui-5.0.so")
12046 (out (assoc-ref outputs "out"))
12047 (out/lib (string-append out "/lib"))
12048 (moduledir (string-append out/lib "/glade/modules")))
12049 (mkdir-p moduledir)
12050 (symlink (string-append out/lib "/" shlib)
12051 (string-append moduledir "/" shlib))
12052 #t))))))
12053 (propagated-inputs
12054 `(("libxml2" ,libxml2))) ; required by libgda-5.0.pc
12055 (inputs
12056 `(("glib" ,glib)
12057 ("glade" ,glade3)
12058 ("gtk+" ,gtk+)
12059 ("libsecret" ,libsecret)
12060 ("libxslt" ,libxslt)
12061 ("openssl" ,openssl)
12062 ("vala" ,vala)))
12063 (native-inputs
12064 `(("autoconf" ,autoconf)
12065 ("autoconf-archive" ,autoconf-archive)
12066 ("automake" ,automake)
12067 ("glib:bin" ,glib "bin")
12068 ("gnome-common" ,gnome-common)
12069 ("gobject-introspection" ,gobject-introspection)
12070 ("gtk-doc" ,gtk-doc)
12071 ("intltool" ,intltool)
12072 ("libtool" ,libtool)
12073 ("pkg-config" ,pkg-config)
12074 ("vala" ,vala)
12075 ("which" ,which)
12076 ("xorg-server" ,xorg-server-for-tests)
12077 ("yelp-tools" ,yelp-tools)))
12078 (home-page "https://gitlab.gnome.org/GNOME/libgda")
12079 (synopsis "Uniform data access")
12080 (description
12081 "GNU Data Access (GDA) is an attempt to provide uniform access to
12082 different kinds of data sources (databases, information servers, mail spools,
12083 etc). It is a complete architecture that provides all you need to access
12084 your data.")
12085 (license license:lgpl2.1+)))
12086
12087 (define-public gtranslator
12088 (package
12089 (name "gtranslator")
12090 (version "3.36.0")
12091 (source (origin
12092 (method url-fetch)
12093 (uri (string-append "mirror://gnome/sources/" name "/"
12094 (version-major+minor version) "/"
12095 name "-" version ".tar.xz"))
12096 (sha256
12097 (base32
12098 "1lxd2nkji4jk8g2xmyc1a1r3ww710ddk91zh9psmx8xlb4xivaid"))))
12099 (build-system meson-build-system)
12100 (inputs
12101 `(("json-glib" ,json-glib)
12102 ("jsonrpc-glib" ,jsonrpc-glib)
12103 ("gettext" ,gettext-minimal)
12104 ("glib" ,glib)
12105 ("gtk+" ,gtk+)
12106 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
12107 ("gspell" ,gspell)
12108 ("libdazzle" ,libdazzle)
12109 ("libgda" ,libgda)
12110 ("libsoup" ,libsoup)))
12111 (native-inputs
12112 `(("glib:bin" ,glib "bin")
12113 ("itstool" ,itstool)
12114 ("pkg-config" ,pkg-config)))
12115 (propagated-inputs
12116 `(("gtksourceview" ,gtksourceview))) ; required for source view
12117 (arguments
12118 `(#:build-type "release"
12119 #:glib-or-gtk? #t
12120 #:phases
12121 (modify-phases %standard-phases
12122 (add-after 'unpack 'skip-gtk-update-icon-cache
12123 (lambda _
12124 (substitute* "build-aux/meson/meson_post_install.py"
12125 (("gtk-update-icon-cache") (which "true")))
12126 #t)))))
12127 (home-page "https://wiki.gnome.org/Apps/Gtranslator")
12128 (synopsis "Translation making program")
12129 (description
12130 "gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
12131 for the GNOME 3.x platform with many features. It aims to be a very complete
12132 editing environment for translation issues within the GNU gettext/GNOME desktop
12133 world.")
12134 (license license:gpl3+)))